modelId
stringlengths
4
81
tags
list
pipeline_tag
stringclasses
17 values
config
dict
downloads
int64
0
59.7M
first_commit
timestamp[ns, tz=UTC]
card
stringlengths
51
438k
embedding
list
AnonymousSub/SR_rule_based_roberta_twostagetriplet_hier_epochs_1_shard_1
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
null
--- language: "ru" tags: - dialogue - russian license: mit --- This is a version of the [cointegrated/rut5-small](https://huggingface.co/cointegrated/rut5-small) model fine-tuned on some Russian dialogue data. It is not very smart and creative, but it is small and fast, and can serve as a fallback response generator for some chatbot or can be fine-tuned to imitate the style of someone. The input of the model is the previous dialogue utterances separated by `'\n\n'`, and the output is the next utterance. The model can be used as follows: ``` # !pip install transformers sentencepiece import torch from transformers import T5ForConditionalGeneration, T5Tokenizer tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small-chitchat") model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small-chitchat") text = 'Привет! Расскажи, как твои дела?' inputs = tokenizer(text, return_tensors='pt') with torch.no_grad(): hypotheses = model.generate( **inputs, do_sample=True, top_p=0.5, num_return_sequences=3, repetition_penalty=2.5, max_length=32, ) for h in hypotheses: print(tokenizer.decode(h, skip_special_tokens=True)) # Как обычно. # Сейчас - в порядке. # Хорошо. # Wall time: 363 ms ```
[ -0.018205875530838966, -0.027842668816447258, -0.0005466572474688292, 0.05547919124364853, 0.050311341881752014, 0.024161847308278084, -0.02252909541130066, 0.0000136684166136547, -0.04863318055868149, 0.07107996195554733, 0.029868854209780693, -0.018615782260894775, 0.00594622828066349, 0.041249267756938934, -0.012965356931090355, -0.025440992787480354, -0.03707045316696167, -0.012595221400260925, -0.03213616833090782, -0.023385735228657722, -0.022913046181201935, 0.0016355151310563087, 0.008071699179708958, 0.0016773719107732177, -0.009713343344628811, 0.03781205788254738, -0.01624264195561409, -0.0010230181505903602, 0.02756458893418312, -0.0643446147441864, 0.014502542093396187, -0.038190264254808426, -0.018752193078398705, -0.03291187807917595, -0.006864673458039761, -0.02717472054064274, -0.004582150373607874, 0.011652625165879726, -0.0042703235521912575, 0.04442732036113739, -0.0015875226818025112, -0.02496608905494213, -0.024342112243175507, -0.028697751462459564, 0.06153133139014244, 0.01079333946108818, -0.0571075864136219, 0.020233143121004105, 0.04652121290564537, -0.010467960499227047, -0.02471938356757164, -0.07630036771297455, -0.025465933606028557, 0.004576835315674543, -0.016049060970544815, -0.03094765543937683, -0.06222974509000778, -0.019542178139090538, 0.07432901859283447, -0.050000350922346115, -0.04325372353196144, 0.010970032773911953, -0.05516015738248825, 0.03882315754890442, 0.02942236140370369, -0.04928828775882721, 0.0025261209812015295, -0.05583391338586807, 0.0020402302034199238, -0.00627382006496191, 0.039970338344573975, -0.020139893516898155, 0.026558980345726013, -0.0902228131890297, 0.013511895202100277, -0.01156759075820446, 0.030178388580679893, 0.028866680338978767, -0.03705834224820137, 0.051329776644706726, 0.03883981704711914, -0.022335536777973175, 0.021444154903292656, -0.015693945810198784, -0.023635517805814743, 0.03781593590974808, -0.020449981093406677, -0.009519855491816998, 0.002944130916148424, 0.04751119390130043, -0.04587172716856003, -0.02410181425511837, -0.03469191491603851, -0.03762337565422058, -0.002636322285979986, 0.025474878028035164, 0.04192658141255379, -0.029090499505400658, 0.040973324328660965, 0.016442012041807175, 0.012982207350432873, 0.045639295130968094, -0.011498347856104374, 0.044176798313856125, -0.010003768838942051, 0.010796667076647282, 0.02467595413327217, -0.035438381135463715, -0.038376517593860626, 0.02955382876098156, 0.03429830074310303, -0.03277583047747612, -0.04746042937040329, 0.044340427964925766, 0.015369134023785591, -0.012091655284166336, 0.03050115332007408, -0.03176841884851456, -0.030145497992634773, -0.06077504903078079, 0.03827420994639397, -0.012086242437362671, -0.0019059486221522093, 0.004641838371753693, -0.04664803668856621, 0.03287993744015694, -0.048252008855342865, -0.03428032249212265, -0.004285682458430529, 0.037579044699668884, -0.010301879607141018, 0.03505102917551994, 0.015690872445702553, -0.04284830391407013, -0.018978413194417953, 0.017927702516317368, -0.06682071089744568, 0.04812874272465706, 0.014421925880014896, 0.12212658673524857, -0.05618896335363388, -0.06291377544403076, 0.005240252707153559, 0.02265818603336811, -0.02345631830394268, 0.0006427413318306208, 0.01394784264266491, -0.019936179742217064, -0.0181902963668108, 0.0006308471201919019, 0.07007604837417603, -0.05271625146269798, -0.007995476014912128, 0.035568833351135254, 0.009765028022229671, 0.01622280292212963, -0.03898225724697113, -0.013922513462603092, 0.0022103236988186836, -0.023615732789039612, -0.0474659763276577, 0.03071727603673935, -0.0011350990971550345, -0.03196689113974571, -0.05636792629957199, -0.0455610454082489, 0.03858610987663269, 0.06748337298631668, 0.0025064076762646437, -0.00872802548110485, -0.017416272312402725, 0.023613780736923218, 0.051058460026979446, 0.044729817658662796, -0.02279612049460411, 0.04452528804540634, 0.030366163700819016, 0.021936053410172462, -0.012251454405486584, 0.07237531244754791, 0.017846740782260895, -0.05215294659137726, -0.012182620353996754, 0.006841091904789209, 0.007706650532782078, -0.02929489128291607, 0.03512416407465935, 0.04471221938729286, -0.030414940789341927, -0.029853934422135353, -0.0015159029280766845, 0.04426828771829605, -0.0056575145572423935, -0.009991773404181004, -0.02324679307639599, -0.01393946073949337, -0.02527923695743084, 0.07208068668842316, 0.002574126236140728, -0.01649538055062294, -0.02799302525818348, -0.03790080547332764, -0.002221159404143691, 0.027694515883922577, 0.03408992290496826, 0.06543565541505814, -0.02232683263719082, 0.08199211955070496, -0.031125031411647797, -0.003563044359907508, -0.05370089039206505, -0.055567920207977295, 0.00990193709731102, 0.05032825469970703, 0.03438211604952812, 0.0618622750043869, 0.0051725865341722965, -0.025751158595085144, 0.005656239576637745, 0.059650398790836334, 0.059464555233716965, -0.0027740346267819405, -0.02193916030228138, 0.007737366482615471, -0.01177862100303173, 0.05826989561319351, -0.05296062305569649, -0.016925668343901634, 0.015022890642285347, 0.04203649237751961, -0.024426564574241638, 0.002312233904376626, -0.008562596514821053, 0.004566223826259375, -0.04395269602537155, -0.0653427466750145, 0.06060058996081352, 0.012133223004639149, 0.042589422315359116, 0.018540658056735992, -0.008958594873547554, 0.009921221062541008, 0.032944805920124054, -0.0038075449410825968, -0.01101361308246851, -0.0511338971555233, -0.010032936930656433, 0.018266713246703148, 0.046711668372154236, -0.0336090587079525, 0.028106480836868286, 0.010331938974559307, -0.0041745067574083805, 0.03688574209809303, -0.03815335035324097, 0.020903930068016052, 0.049432557076215744, 0.04122878238558769, -0.016070514917373657, 0.01425143238157034, -0.002363123930990696, 0.0470774881541729, 0.05291153863072395, -0.04259636625647545, 0.03622201085090637, 0.004636162426322699, 0.028833476826548576, 0.11558114737272263, 0.02542146109044552, -0.014839228242635727, 0.009380503557622433, 0.07724198698997498, 0.01713613234460354, 0.012681066989898682, 0.07442141324281693, -0.05552560091018677, 0.023708967491984367, -0.03420121222734451, 0.02134900726377964, -0.007158385124057531, -0.01656583696603775, 0.03711662068963051, 0.028105538338422775, -0.014230496250092983, 0.010227175429463387, -0.007514146622270346, -0.012323922477662563, 0.027176769450306892, 0.008394753560423851, -0.01603507250547409, -0.005116494372487068, -0.047975942492485046, 0.019483376294374466, -0.07721202075481415, -0.050039906054735184, -0.004505441524088383, -0.037201158702373505, 0.020448120310902596, -0.07440142333507538, -0.042868584394454956, -0.06070515513420105, -0.019612368196249008, 0.022753005847334862, 0.021218741312623024, 0.005791360978037119, -0.018399396911263466, 0.0196693018078804, -0.03694862872362137, -0.027139071375131607, -0.04667844995856285, -0.037188801914453506, 0.00033163922489620745, -0.05858917534351349, 0.03046032041311264, 0.012742728926241398, 0.04369618371129036, 0.01424995344132185, -0.0005925549194216728, -0.02907211147248745, -0.012935923412442207, 0.038843948394060135, 0.04018649458885193, -0.03036775253713131, -0.04576965421438217, 0.02898716926574707, -0.011826408095657825, 0.01092491578310728, -0.017920421436429024, -0.029594777151942253, 0.0853022038936615, 0.07808010280132294, 0.011299535632133484, 0.017517128959298134, 0.01005399227142334, -0.06299659609794617, -0.039180099964141846, -0.026943612843751907, -0.054682374000549316, -0.02893028035759926, -0.023523099720478058, -0.05049273744225502, -0.027523865923285484, -0.015007651410996914, -0.011052802205085754, 0.006429594475775957, 0.002705082530155778, 0.0546124093234539, 0.05290181189775467, 0.02628476731479168, 0.016345109790563583, -0.03418036922812462, 0.0049527655355632305, 0.07332568615674973, 0.015205619856715202, 0.015692077577114105, -0.0729471892118454, -0.04217616841197014, 0.028556382283568382, 0.027762150391936302, -0.012166217900812626, -0.025045014917850494, 0.06548841297626495, 0.03011232241988182, -0.0005136785330250859, 0.01817704364657402, -0.013441551476716995, -0.008150133304297924, -0.0001892285654321313, -0.014556655660271645, -0.032974857836961746, -0.05732575058937073, -0.04055989906191826, -0.01449744775891304, 0.04220905527472496, -0.061955809593200684, -0.06458857655525208, -0.011462622322142124, 0.028439145535230637, 0.012290704995393753, 0.0008047253941185772, -0.04847480729222298, -0.01693640649318695, -0.03920811787247658, -0.03100973553955555, -0.0005856665084138513, -0.0026389723643660545, 0.020671019330620766, 0.04570133984088898, 0.036916013807058334, -0.02671019919216633, 0.04705542325973511, 0.042517900466918945, 0.04558694362640381, 0.006432666443288326, -0.04417902231216431, 0.018835287541151047, -0.020209526643157005, 0.024867096915841103, 0.0033435244113206863, -0.0343257337808609, -0.05015897750854492, -0.08467507362365723, -0.01821073517203331, -0.018490944057703018, -0.019651368260383606, -0.022392945364117622, 0.03370492905378342, -0.024449456483125687, 0.0037065399810671806, -0.003461285727098584, 0.03978579491376877, 0.060399748384952545, -0.06901457160711288, 0.048669520765542984, 0.006419387646019459, 0.0473688542842865, -0.0362977460026741, 0.02144993282854557, -0.022135525941848755, -0.007561874575912952, -0.008402150124311447, 0.06565574556589127, 0.031173724681138992, 0.06811092048883438, 0.07137767970561981, 0.010735069401562214, -0.058071382343769073, 0.04980183765292168, 0.04306670278310776, -0.008180622942745686, -0.04104618355631828, 0.003292500739917159, 0.008467517793178558, -0.04185573384165764, 0.0030685467645525932, -0.03108382038772106, 0.026507221162319183, 0.055070918053388596, 0.01882174052298069, -0.011033868417143822, -0.005578681826591492, -0.04168696701526642, -0.03326510265469551, -0.05880476161837578, -0.04073396325111389, 0.02369058132171631, -0.0065777599811553955, 0.042174432426691055, 0.048441462218761444, 0.020239591598510742, 0.054879531264305115, 0.05103585124015808, -0.005891574081033468, -0.03272869810461998, 0.029948865994811058, 0.03783353045582771, -0.034574929624795914, -0.08155813068151474, -0.03763094171881676, 0.032263219356536865, 0.03838389739394188, -0.028338979929685593, -0.08938945084810257, 0.014159203507006168, 0.04562665522098541, -0.02157467044889927, 0.04915481433272362, -0.012189215049147606, 0.047458335757255554, 0.04350917041301727, -0.006936933379620314, 0.017216335982084274, -0.022624270990490913, 0.038387496024370193, 0.024098824709653854, 0.04792100936174393, -0.022445449605584145, -0.03205491229891777, -0.07959136366844177, 0.033370234072208405, 0.029089024290442467, 0.0324740968644619, 0.027759816497564316, -0.01583692990243435, -0.05859322100877762, -0.012570642866194248, 0.039729975163936615, -0.06317763775587082, 0.031210795044898987, 0.032746948301792145, 0.03914680704474449, -0.039143238216638565, -0.023634498938918114, -0.011037580668926239, 0.011876203119754791, 0.03186669945716858, 0.002928663045167923, -0.04190932214260101, -0.04139048233628273, 0.027354855090379715, -0.034715186804533005, -0.0362551212310791, -0.08567923307418823, 0.016712741926312447, -0.030440067872405052, -0.024969231337308884, 0.037167757749557495, 0.03067609667778015, 0.018409488722682, 0.043247904628515244, 0.013282614760100842, 0.01710636354982853, -0.02912418358027935, 0.02676599845290184, -0.03315175697207451, -0.010801238939166069, -0.016045110300183296, -0.057001739740371704, -0.010402325540781021, -0.03133854269981384, -0.04529091343283653, -0.05543385073542595, -0.03329521417617798, 0.01787610724568367, -0.012343104928731918, -0.002259384375065565, -0.015439954586327076, 0.03088214434683323, -0.03674503415822983, -0.011793890036642551, -0.0069392165169119835, -0.0189158096909523, -0.05480111762881279, -0.06427568197250366, 0.015856385231018066, -0.011254890821874142, 0.051059093326330185, -0.0024327971041202545, -0.010010710917413235, 0.041931502521038055, 0.015888480469584465, -0.0042809778824448586, 0.03501370549201965, -0.008355231955647469, -0.04376928135752678, -0.03927779942750931, 0.02043374814093113, 0.010084767825901508, 0.044659145176410675, -0.018066171556711197, 0.03207040950655937, 0.017276709899306297, -0.026853667572140694, -0.017622336745262146, 0.0234909038990736, 0.012993336655199528, -0.07761383801698685, -0.04862998053431511, -0.01591404341161251, -0.053868368268013, 0.04897535219788551, -0.00787899550050497, -0.035135913640260696, 0.031026961281895638, 0.04054563120007515, 0.04246063902974129, 0.014871414750814438, -0.007156356703490019, 0.03209051489830017, -0.0013987490674480796, 0.011075625196099281, -0.06846596300601959, 0.026278894394636154, -0.019073504954576492, 0.0009253146126866341, -0.01197159755975008, -0.0009408617042936385, -0.047428254038095474, 0.04049164801836014, -0.012799398973584175, -0.028373144567012787, -0.009205672889947891, -0.00009554729331284761, -0.02375938557088375, 0.04810181260108948, 0.005564642138779163, 0.04540236294269562, -0.047007057815790176, 0.059641264379024506, -0.056258704513311386, 0.0065757292322814465, -0.030282236635684967, 0.00672163674607873, -0.04056859016418457, -0.03287533298134804, -0.013819368556141853, -0.05946633592247963, 0.027843350544571877, 0.015737412497401237, 0.04747743532061577, 0.03604550287127495, -0.01877579465508461, 0.0171140655875206, -0.0006595713784918189, -0.07370635122060776, -0.03424244001507759, -0.02281961590051651, -0.006529721897095442, -0.0014306920347735286, 0.04511140286922455, 0.042267076671123505, -0.05017958581447601, -0.056273382157087326, 0.04913907125592232, 0.022624189034104347, 0.009995760396122932, 0.006280315574258566, 0.034431230276823044, 0.03297257050871849, 0.044335585087537766, -0.019175715744495392, 0.0035701890010386705, 0.015443606302142143, -0.02912450022995472, 0.013751224614679813, -0.013637489639222622, 0.002892380114644766, -0.012602762319147587, -0.030436871573328972, -0.04084586724638939, 0.057500481605529785, 0.021904196590185165, 0.033023666590452194, 0.012132653966546059, -0.03648272529244423, 0.026379315182566643, -0.0066520534455776215, -0.037941332906484604, -0.0053039425984025, 0.0032027517445385456, -0.02499735727906227, 0.08035184442996979, -0.017326049506664276, 0.005200276151299477, 0.06086825579404831, 0.03141207993030548, -0.023740263655781746, 0.02472696080803871, -0.03021520934998989, 0.023079808801412582, 0.03270019590854645, -0.06331824511289597, 0.009560171514749527, -0.04459097981452942, 0.07844249904155731, -0.06255349516868591, 0.0549219511449337, 0.03558608517050743, 0.02999117225408554, 0.0025586802512407303, -0.015630265697836876, -0.05358901619911194, 0.012582552619278431, -0.041983701288700104, 0.05195266008377075, -0.00045158894499763846, -0.07417891174554825, 0.09052325040102005, -0.003460024716332555, -0.07326274365186691, 0.06133095920085907, 0.054882168769836426, 0.010912986472249031, 0.02598728984594345, 0.030299805104732513, -0.06382414698600769, 0.026288503780961037, -0.009055141359567642, 0.03575006127357483, -0.06052539870142937, 0.003045896301046014, 0.002637299709022045, -0.03498997539281845, -0.02134048566222191, 0.01744629442691803, -0.014332536607980728, 0.014012720435857773, 0.02260841429233551, -0.05820057541131973, -0.05271223559975624, 0.018877344205975533, 0.0049929930828511715, -0.040922269225120544, -0.00235672271810472, -0.03479962795972824, 0.03800415247678757, 0.028298992663621902, -0.004594550468027592, -0.052323974668979645, -0.010579418390989304, 0.013794313184916973, -0.05930537357926369, -0.04146064072847366, 0.06006379798054695, -0.011335362680256367, -0.0067540118470788, 0.02925952896475792, 0.022310683503746986, -0.0011009498266503215, 0.011490962468087673, 0.005618940107524395, 0.02658040076494217, -0.037704773247241974, -0.014681566506624222, 0.018517518416047096, 0.024288423359394073, 0.021708931773900986, -0.010283705778419971, 0.03508767485618591, 0.05544818565249443, 0.0011657432187348604, 0.002470799023285508, -0.03851628676056862, -0.02313152886927128, -0.008132400922477245, -0.0481441356241703, 0.02162148617208004, 0.020917637273669243, -0.05083174258470535, -0.02767128124833107, -0.02631041780114174, 0.013913850300014019, 0.020055754110217094, -0.062075722962617874, -0.006720203440636396, 0.05009617656469345, -0.031024521216750145, -0.014840546995401382, -0.07948186993598938, -0.054365675896406174, -0.03815654665231705, 0.06111648678779602, 0.03739634156227112, -0.05782201141119003, -0.009713562205433846, -0.04075491428375244, -0.04695650562644005, 0.03790982812643051, 0.03904184326529503, -0.03782622516155243, 0.07142505794763565, 0.03848304972052574, -0.03688427805900574, 0.01630544662475586, 0.02191755920648575, -0.04503519460558891, 0.058359675109386444, 0.014283462427556515, 0.022957446053624153, 0.03198154643177986, 0.03558848053216934, -0.03297923505306244, -0.015286913141608238, -0.05800779163837433, -0.018935343250632286, -0.02402118779718876, -0.007058363873511553, 0.04987490177154541 ]
AnonymousSub/SR_rule_based_roberta_twostagetriplet_hier_epochs_1_shard_10
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
7
null
A version of https://huggingface.co/cointegrated/rut5-small-chitchat which is more dull but less toxic.
[ -0.017137376591563225, -0.0032279526349157095, 0.020991237834095955, 0.006147125735878944, 0.019823290407657623, 0.002496188972145319, -0.033089373260736465, 0.020870346575975418, -0.01983668841421604, 0.03834255784749985, 0.035635706037282944, -0.026207687333226204, 0.06004931777715683, 0.030352968722581863, -0.039374638348817825, -0.0071404194459319115, -0.0393415205180645, -0.005977216642349958, -0.04584578797221184, -0.02051156386733055, 0.04999817535281181, 0.00838853046298027, -0.012971650809049606, 0.015213433653116226, -0.00518458429723978, 0.0381823293864727, -0.02259298600256443, 0.007963684387505054, 0.037422627210617065, -0.03108932450413704, 0.03846946731209755, -0.04214058443903923, -0.0342346653342247, -0.022825460880994797, -0.022627491503953934, -0.023530546575784683, 0.03421849012374878, 0.0038710932713001966, -0.0015999529277905822, 0.04413735121488571, 0.02614068239927292, -0.027376053854823112, -0.03525598719716072, -0.03596935421228409, 0.056373149156570435, 0.02429889515042305, -0.05162309482693672, -0.009328514337539673, 0.031222403049468994, -0.07277338951826096, -0.057012833654880524, -0.0899609625339508, -0.0385986752808094, -0.028146136552095413, 0.021373974159359932, -0.05445043742656708, -0.06251587718725204, 0.0016364920884370804, 0.07890747487545013, -0.03864910453557968, -0.03992345929145813, -0.0334927998483181, -0.04229350760579109, 0.020653028041124344, 0.003578463802114129, -0.046338796615600586, 0.0379851795732975, -0.07105471193790436, 0.02501889504492283, -0.009015590883791447, 0.017821097746491432, -0.03728315234184265, 0.03150996193289757, -0.07223190367221832, -0.01084093563258648, -0.03954777121543884, 0.03731079772114754, 0.06452520191669464, -0.062180858105421066, 0.08275006711483002, 0.051875799894332886, -0.010879348032176495, 0.03765511512756348, -0.02239764668047428, -0.015310532413423061, -0.002528945216909051, -0.03269241377711296, 0.0016608842415735126, -0.049573443830013275, 0.01371186226606369, -0.02920405939221382, -0.06191498786211014, -0.01733207330107689, -0.02405361644923687, -0.019467739388346672, 0.02498646266758442, 0.038398392498493195, -0.021278679370880127, 0.00410120515152812, 0.02707720175385475, 0.0152907595038414, 0.06313888728618622, -0.004944905173033476, 0.050442248582839966, -0.0021964949555695057, 0.020805731415748596, 0.0030808697920292616, -0.011172138154506683, -0.04515568166971207, 0.03261314705014229, 0.019920021295547485, -0.029795590788125992, -0.04315182566642761, 0.02752312272787094, -0.006727190222591162, -0.023505879566073418, 0.03417070955038071, -0.038204725831747055, -0.030146311968564987, -0.03505793958902359, 0.04107603803277016, -0.014865849167108536, 0.00044699633144773543, -0.00424765981733799, -0.030656123533844948, 0.01317810919135809, -0.030722100287675858, -0.048518210649490356, -0.027676045894622803, 0.0333295501768589, 0.021399572491645813, 0.06299016624689102, 0.04886610805988312, -0.05569710209965706, -0.028713293373584747, 0.03215509653091431, -0.05534351244568825, 0.041361045092344284, 0.034791212528944016, 0.0757664144039154, -0.04421840235590935, -0.050000693649053574, -0.02000780589878559, 0.00953542347997427, -0.053860314190387726, 0.002447817474603653, 0.031749386340379715, -0.0316002331674099, -0.04308221861720085, 0.005107679404318333, 0.03531821817159653, -0.04219319298863411, 0.017308784648776054, 0.026849670335650444, -0.007132984697818756, 0.0002373125171288848, -0.04980931431055069, 0.007295290939509869, 0.0017650709487497807, -0.028789052739739418, -0.0378878116607666, 0.03520256653428078, -0.01609678938984871, -0.051140863448381424, -0.05003355070948601, -0.049911290407180786, 0.052324481308460236, 0.06549108028411865, 0.00029252207605168223, -0.04754412919282913, -0.05230247229337692, 0.04122693091630936, 0.05642902851104736, 0.04116155952215195, 0.011399720795452595, 0.021241797134280205, 0.024338094517588615, 0.030232135206460953, -0.027474304661154747, 0.05275578051805496, 0.0073326281271874905, -0.057149067521095276, -0.040468908846378326, 0.017090804874897003, 0.038710251450538635, -0.05069087818264961, 0.025975074619054794, 0.025751911103725433, 0.005733695812523365, -0.0444948710501194, -0.00009640306961955503, 0.032606564462184906, -0.043526072055101395, -0.024021616205573082, 0.008368785493075848, -0.027474643662571907, -0.028073647990822792, 0.0633028969168663, -0.0021911326330155134, -0.007152396719902754, -0.04656441509723663, -0.009706806391477585, 0.013174791820347309, 0.006166525185108185, 0.022598998621106148, 0.04321249574422836, -0.04738176614046097, 0.08254119753837585, -0.03147806599736214, -0.013323849067091942, -0.056933753192424774, -0.034785423427820206, 0.024913761764764786, 0.04779159650206566, 0.05063924938440323, 0.03397771716117859, -0.01464630477130413, -0.04086410626769066, 0.018001826480031013, 0.07083931565284729, 0.04795151203870773, 0.0059338645078241825, -0.018045516684651375, 0.019558647647500038, 0.01449957862496376, 0.04760501906275749, -0.010102975182235241, -0.018871018663048744, -0.007824147120118141, 0.0359274260699749, -0.04436250776052475, -0.007288903463631868, -0.037441737949848175, -0.013711624778807163, -0.07468215376138687, -0.06270740926265717, 0.039962220937013626, 0.011528021655976772, -0.01976793073117733, -0.008331934921443462, -0.016293639317154884, 0.020852474495768547, 0.04588746652007103, -0.0026631925720721483, -0.0030768634751439095, -0.058144114911556244, 0.027390310540795326, 0.0009219328640028834, 0.07559935003519058, -0.03041974827647209, 0.05075879395008087, 0.002832382218912244, -0.009118231944739819, 0.02836727350950241, -0.008069022558629513, 0.006884100381284952, 0.07162375003099442, 0.02671997807919979, -0.00289702950976789, 0.041692234575748444, 0.03379019722342491, 0.04882092401385307, 0.05056385323405266, -0.009417557157576084, 0.061032358556985855, -0.008965743705630302, 0.022041043266654015, 0.0662999078631401, -0.002015548525378108, 0.02679596282541752, 0.01885809935629368, 0.06808210164308548, -0.01012000348418951, -0.007572363130748272, 0.06198882311582565, -0.04841751605272293, 0.008173408918082714, -0.00623221043497324, -0.00014691280375700444, 0.009923120029270649, -0.02863643690943718, 0.046362586319446564, 0.00032051620655693114, -0.030219005420804024, 0.021400701254606247, 0.020779263228178024, 0.00207738415338099, 0.0435013547539711, -0.008386136963963509, 0.006679853890091181, -0.0035143650602549314, -0.06515788286924362, 0.013465166091918945, -0.04976639896631241, -0.01176695991307497, -0.02459362894296646, -0.05294676870107651, 0.006591024808585644, -0.0649760439991951, -0.03290700167417526, -0.06716123968362808, -0.029136333614587784, 0.0753592699766159, 0.010075319558382034, 0.002451051725074649, 0.0005894120549783111, 0.021873224526643753, -0.026534847915172577, -0.06842184066772461, -0.07089339196681976, -0.03871895372867584, 0.0026388338301330805, -0.06436240673065186, -0.002301196800544858, 0.04006591811776161, 0.059544116258621216, -0.016909994184970856, -0.011140591464936733, -0.06057697534561157, -0.006766354199498892, 0.03846185281872749, 0.02701576054096222, -0.03073200397193432, -0.0627073347568512, 0.007845421321690083, 0.0051079620607197285, -0.0033698962070047855, -0.02197813242673874, -0.02938358671963215, 0.07948228716850281, 0.04852281138300896, 0.014628375880420208, 0.020407674834132195, 0.03355655446648598, -0.051851142197847366, -0.04745212942361832, -0.013370541855692863, -0.0118560204282403, -0.01983717456459999, -0.049898333847522736, -0.04891000688076019, -0.0571005754172802, -0.032155975699424744, 0.003332057734951377, -0.023973993957042694, -0.006560038309544325, 0.04673638939857483, 0.032227590680122375, 0.041480451822280884, 0.024481646716594696, -0.005143575370311737, -0.013992302119731903, 0.043715137988328934, 0.00974385254085064, -0.006334394682198763, -0.06497853249311447, -0.07124005258083344, 0.03660387173295021, 0.02417122572660446, 0.004586620256304741, -0.026446666568517685, 0.02870907261967659, 0.03958752751350403, -0.009638888761401176, -0.004362015053629875, -0.04333923012018204, 0.007005341351032257, 0.01690368726849556, -0.025886280462145805, -0.03233210742473602, -0.038855720311403275, -0.010439509525895119, -0.020877068862318993, 0.04208046570420265, -0.05720175430178642, -0.03950120881199837, -0.030977429822087288, 0.0009777460945770144, 0.039902132004499435, -0.008553184568881989, -0.030073856934905052, -0.019622759893536568, -0.0735834538936615, -0.005228168796747923, -0.01620364747941494, -0.036237191408872604, 0.010384514927864075, 0.03374077007174492, 0.0259645227342844, -0.019827408716082573, 0.05710247531533241, 0.023373400792479515, 0.060368578881025314, 0.04324589669704437, -0.042759545147418976, 0.035585980862379074, -0.04548389092087746, 0.023314205929636955, -0.0031999407801777124, -0.054392773658037186, -0.05018884688615799, -0.08392772078514099, -0.05091024190187454, -0.009195717051625252, -0.003039766801521182, -0.010242404416203499, 0.054638076573610306, -0.04167287424206734, -0.02674921415746212, 0.00229234853759408, 0.02562619373202324, 0.052654847502708435, -0.04535861685872078, 0.045248884707689285, -0.01454657781869173, 0.03574109077453613, -0.027805784717202187, -0.0030133004765957594, -0.03245752677321434, -0.01784088835120201, 0.005762966349720955, 0.04486849904060364, 0.020940009504556656, 0.07146881520748138, 0.05207608640193939, 0.024852512404322624, -0.06595560163259506, 0.023185113444924355, 0.06418553739786148, -0.0006868538912385702, -0.0179520845413208, 0.007256230339407921, 0.031316127628088, -0.0216996967792511, 0.0000345080261467956, -0.015978947281837463, 0.03818666934967041, 0.043991971760988235, -0.008448869921267033, 0.012806887738406658, 0.03225480392575264, -0.03229770436882973, -0.023514607921242714, -0.0743621438741684, -0.015372790396213531, 0.008028116077184677, -0.018266119062900543, 0.00816090777516365, 0.05813106521964073, 0.030550476163625717, 0.03655654191970825, 0.04514819383621216, -0.044968970119953156, -0.05074822157621384, 0.014390459284186363, 0.016740843653678894, -0.027204886078834534, -0.06456771492958069, -0.028588900342583656, 0.001607811194844544, 0.026822976768016815, -0.00151372654363513, -0.07231784611940384, 0.02530757151544094, 0.034304358065128326, -0.06102617830038071, 0.0320507176220417, 0.012171467766165733, 0.04371120035648346, 0.031639330089092255, 0.021650630980730057, 0.037221379578113556, -0.02968289703130722, 0.018240969628095627, -0.008322201669216156, 0.017932232469320297, -0.03139813616871834, 0.009807148016989231, -0.05530853942036629, 0.021298598498106003, 0.0047919065691530704, 0.02131856046617031, 0.051248643547296524, -0.0011304160580039024, -0.02246961183845997, 0.005517762154340744, 0.0320926234126091, -0.04646283760666847, 0.05968377739191055, 0.06126749515533447, 0.027927469462156296, -0.020159387961030006, -0.042277660220861435, 0.018495962023735046, -0.012109966948628426, 0.02975660003721714, -0.0469941645860672, -0.0363537035882473, -0.03824787586927414, 0.05330544710159302, 0.0027805068530142307, -0.047468315809965134, -0.0806540846824646, 0.01743246801197529, -0.022952871397137642, -0.02665575221180916, 0.052095115184783936, 0.019549105316400528, 0.01464261393994093, 0.08621478825807571, -0.02295328676700592, 0.03379688784480095, -0.05327475443482399, 0.034160979092121124, -0.036186583340168, -0.020230360329151154, 0.005686288233846426, -0.046774234622716904, -0.03846314176917076, -0.014988630078732967, -0.0515737421810627, -0.043739404529333115, -0.02797221764922142, 0.02027241140604019, 0.007840570993721485, 0.02370286174118519, -0.00828070193529129, 0.019788412377238274, -0.0008057072409428656, -0.012395616620779037, -0.00881163775920868, -0.017505591735243797, -0.03842310979962349, -0.020439624786376953, 0.00736128119751811, -0.002409662352874875, 0.05339211970567703, -0.015019630081951618, 0.006371801719069481, 0.02639695629477501, 0.015985870733857155, -0.006533896084874868, 0.028033504262566566, 0.01100101601332426, -0.028347650542855263, -0.037674542516469955, 0.002957102842628956, 0.006746327504515648, 0.04628665745258331, -0.005927376914769411, 0.05538586899638176, 0.010389508679509163, -0.028909722343087196, -0.03512531518936157, 0.03213159367442131, 0.018532557412981987, -0.07260128110647202, -0.059628840535879135, -0.016866670921444893, -0.014595061540603638, 0.03373830392956734, -0.046347711235284805, -0.02594691701233387, 0.04178367927670479, 0.026793692260980606, 0.04095037281513214, 0.020451879128813744, -0.01609058864414692, 0.05275103077292442, -0.013388787396252155, 0.01234515756368637, -0.04524972289800644, 0.0038249962963163853, -0.022005708888173103, 0.01073367614299059, -0.04288744926452637, 0.017846088856458664, -0.038450077176094055, 0.03375775367021561, -0.02368050627410412, -0.013529058545827866, -0.009943564422428608, -0.009973454289138317, -0.0051221223548054695, 0.02275463007390499, 0.0015952056273818016, -0.01111600548028946, -0.06058111414313316, 0.0667218491435051, -0.041007500141859055, 0.018721729516983032, -0.027089634910225868, -0.0057286485098302364, -0.06806310266256332, -0.012717731297016144, -0.01860709674656391, -0.07718946039676666, 0.023639515042304993, 0.044359005987644196, 0.013277660124003887, 0.016819976270198822, -0.003884426783770323, -0.02231970801949501, 0.006082328502088785, -0.06721305847167969, -0.02767840027809143, 0.010966279543936253, -0.051858339458703995, 0.023848580196499825, 0.031344879418611526, 0.05418073758482933, -0.06959006190299988, -0.04991526901721954, 0.011339978314936161, 0.014464974403381348, 0.01806405745446682, 0.029831701889634132, 0.050224024802446365, 0.03313438966870308, 0.0291398074477911, -0.012829621322453022, 0.018663495779037476, 0.0003604840312618762, -0.025273792445659637, 0.009235027246177197, -0.011586754582822323, 0.010059346444904804, 0.014448877424001694, -0.018747374415397644, -0.03232165053486824, 0.10960971564054489, -0.015224718488752842, 0.020958155393600464, 0.010667991824448109, -0.0559057742357254, 0.05034937337040901, -0.009959620423614979, -0.039812833070755005, 0.02782605215907097, 0.01635691337287426, -0.021361801773309708, 0.038055215030908585, -0.009836776182055473, 0.014451025985181332, 0.030754433944821358, 0.01713537983596325, -0.026975803077220917, 0.04200522229075432, -0.04559413343667984, 0.016337592154741287, 0.025048140436410904, -0.03151146322488785, -0.015385916456580162, -0.03252485394477844, 0.07746211439371109, -0.07113837450742722, 0.06803660839796066, 0.03848864510655403, 0.006965308915823698, 0.008497797884047031, -0.016302477568387985, -0.06554621458053589, -0.028591908514499664, -0.029744068160653114, 0.0433230884373188, 0.012179461307823658, -0.06416556239128113, 0.06974631547927856, 0.03405921161174774, -0.04158155247569084, 0.02942695841193199, 0.015454912558197975, -0.006307981442660093, 0.005225039087235928, 0.028434010222554207, -0.07177748531103134, -0.005032413173466921, 0.0016923845978453755, 0.04617321863770485, -0.03500848636031151, -0.04176226258277893, 0.005490409210324287, -0.044028304517269135, -0.03181593492627144, 0.022668832913041115, -0.03393641486763954, 0.03369743376970291, 0.025484753772616386, -0.026967501267790794, -0.0608888640999794, 0.021904900670051575, 0.023786362260580063, -0.011949703097343445, -0.040887217968702316, -0.03685520216822624, 0.03914181888103485, 0.036806847900152206, -0.009045762941241264, -0.062340859323740005, 0.005917455535382032, -0.005725742317736149, -0.06735245138406754, -0.029158858582377434, 0.06326818466186523, -0.0122856255620718, 0.011482971720397472, 0.023197880014777184, 0.0063605764880776405, 0.013204292394220829, 0.0299682579934597, 0.003628534497693181, 0.033250920474529266, -0.04626740887761116, -0.0355503186583519, 0.03824641928076744, 0.00857964251190424, 0.018201885744929314, -0.02100253291428089, 0.025499442592263222, 0.0500115267932415, 0.02151239477097988, 0.010552086867392063, -0.008698197081685066, -0.02288183569908142, 0.010546116158366203, -0.05742594599723816, 0.020156310871243477, 0.017334965988993645, -0.06371651589870453, -0.05592045933008194, -0.03051372803747654, -0.0248319823294878, 0.019869599491357803, -0.03495754674077034, 0.020126987248659134, 0.08607903867959976, 0.019113563001155853, -0.027830513194203377, -0.09678694605827332, -0.04513385891914368, -0.038968391716480255, 0.0378866046667099, 0.04510052874684334, -0.03706471621990204, 0.033853400498628616, -0.044442810118198395, -0.03548865765333176, 0.03660302981734276, -0.01707088015973568, -0.058824680745601654, 0.0684509128332138, 0.04982879385352135, -0.014648597687482834, -0.009279364719986916, 0.025701522827148438, -0.019011246040463448, 0.03530169278383255, 0.015082347206771374, 0.022093726322054863, 0.023257112130522728, 0.015086483210325241, -0.038732659071683884, -0.007533215451985598, 0.005375294014811516, -0.03308675438165665, -0.010388699360191822, 0.011576050892472267, 0.043540071696043015 ]
AnonymousSub/SR_rule_based_twostage_quadruplet_epochs_1_shard_1
[ "pytorch", "bert", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "BertModel" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
3
null
--- language: "ru" tags: - normalization - denoising autoencoder - russian widget: - text: "меня тобой не понимать" license: mit --- This is a small Russian denoising autoencoder. It can be used for restoring corrupted sentences. This model was produced by fine-tuning the [rut5-small](https://huggingface.co/cointegrated/rut5-small) model on the task of reconstructing a sentence: * restoring word positions (after slightly shuffling them) * restoring dropped words and punctuation marks (after dropping some of them randomly) * restoring inflection of words (after changing their inflection randomly using [natasha](https://github.com/natasha/natasha) and [pymorphy2](https://github.com/kmike/pymorphy2) packages) The fine-tuning was performed on a [Leipzig web corpus](https://wortschatz.uni-leipzig.de/en/download/Russian) of Russian sentences. The model can be applied as follows: ``` # !pip install transformers sentencepiece import torch from transformers import T5ForConditionalGeneration, T5Tokenizer tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small-normalizer") model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small-normalizer") text = 'меня тобой не понимать' inputs = tokenizer(text, return_tensors='pt') with torch.no_grad(): hypotheses = model.generate( **inputs, do_sample=True, top_p=0.95, num_return_sequences=5, repetition_penalty=2.5, max_length=32, ) for h in hypotheses: print(tokenizer.decode(h, skip_special_tokens=True)) ``` A possible output is: ``` # Мне тебя не понимать. # Если бы ты понимаешь меня? # Я с тобой не понимаю. # Я тебя не понимаю. # Я не понимаю о чем ты. ```
[ 0.0035185380838811398, -0.03553937003016472, 0.013310627080500126, 0.050364501774311066, 0.020751919597387314, 0.017050303518772125, -0.003999969456344843, 0.005497771315276623, -0.061024248600006104, 0.07835834473371506, 0.01234144251793623, -0.012607338838279247, -0.0026415232568979263, 0.043508585542440414, -0.03388815373182297, -0.037046000361442566, -0.030210791155695915, -0.007165662944316864, -0.03636913374066353, -0.02886904962360859, -0.004325463902205229, 0.007436704821884632, 0.002038644626736641, 0.004795249085873365, -0.002438298426568508, 0.037320006638765335, -0.00896953884512186, -0.006296597421169281, 0.04256709665060043, -0.0677042230963707, 0.006795631721615791, -0.028810221701860428, -0.037679340690374374, -0.009617778472602367, -0.004367081448435783, -0.012650933116674423, -0.01428934559226036, 0.0101395258679986, 0.015750501304864883, 0.06724756956100464, -0.014761306345462799, -0.0018026628531515598, -0.023191172629594803, -0.033716972917318344, 0.038357023149728775, 0.006303757894784212, -0.04336480423808098, -0.00410899193957448, 0.044692832976579666, -0.019802730530500412, -0.03772528097033501, -0.07847860455513, -0.011204496957361698, 0.015363647602498531, -0.016240375116467476, -0.023639751598238945, -0.07040046155452728, -0.010763431899249554, 0.06856317818164825, -0.05174577981233597, -0.03972512483596802, 0.023591332137584686, -0.07142112404108047, 0.032386936247348785, 0.031279969960451126, -0.04039474204182625, 0.010079795494675636, -0.0539126954972744, 0.02203180640935898, -0.029370643198490143, 0.03297272324562073, -0.022158311679959297, 0.02346259355545044, -0.08587057888507843, -0.0007641927222721279, -0.0043722232803702354, 0.03468039259314537, 0.03358820080757141, -0.03674288094043732, 0.061513256281614304, 0.022424235939979553, -0.019679369404911995, 0.0176905058324337, -0.008597968146204948, -0.0224860031157732, 0.03739042580127716, -0.02826078049838543, -0.006525376811623573, 0.0009976009605452418, 0.04156019911170006, -0.045390792191028595, -0.005841374862939119, -0.022508403286337852, -0.019930128008127213, -0.012991761788725853, 0.03808514028787613, 0.049120280891656876, -0.017238833010196686, 0.0523095428943634, 0.03023523837327957, 0.01456254068762064, 0.05373098701238632, -0.019453786313533783, 0.03953894227743149, -0.0008588045602664351, -0.003143517766147852, -0.002927867928519845, -0.02736646868288517, -0.06305046379566193, 0.0200886782258749, 0.04261395335197449, -0.045300550758838654, -0.06210789829492569, 0.030347619205713272, 0.013579264283180237, -0.016654720529913902, 0.03575408458709717, -0.02493296191096306, -0.026003343984484673, -0.0571620799601078, 0.0417543388903141, -0.009621751494705677, 0.010032805614173412, -0.018504071980714798, -0.024810723960399628, 0.018648499622941017, -0.06306160986423492, -0.04384052753448486, -0.0107883270829916, 0.0427253320813179, -0.002828638767823577, 0.01957586221396923, 0.03715922310948372, -0.06272882968187332, -0.006546559277921915, 0.0053258840925991535, -0.08267273008823395, 0.0645400807261467, 0.026562420651316643, 0.1138448715209961, -0.04875706136226654, -0.07403869181871414, 0.004849035292863846, 0.02348621003329754, -0.012953444384038448, 0.011238821782171726, 0.005540627054870129, -0.039961617439985275, -0.015072041191160679, -0.011215517297387123, 0.06443578004837036, -0.055633481591939926, -0.014875302091240883, 0.0341523252427578, -0.006933480966836214, 0.033985741436481476, -0.03191116079688072, 0.013145048171281815, 0.0024571449030190706, -0.013609766960144043, -0.038069598376750946, 0.0305090993642807, -0.0018357562366873026, -0.01218500081449747, -0.04068721830844879, -0.04061208665370941, 0.031411100178956985, 0.060674022883176804, 0.013495282270014286, -0.008191260509192944, -0.029375530779361725, 0.010293180122971535, 0.04822377860546112, 0.04459572583436966, -0.012679198756814003, 0.03162483125925064, 0.04442232474684715, 0.02811291068792343, -0.0009101366740651429, 0.06999808549880981, 0.011703661642968655, -0.0391114242374897, -0.013592340052127838, 0.009352050721645355, -0.01534600555896759, -0.042481377720832825, 0.02602737583220005, 0.056881602853536606, -0.022859647870063782, -0.032648712396621704, -0.028678113594651222, 0.05975399911403656, -0.0072457375936210155, -0.010817080736160278, -0.0031626722775399685, -0.007002579048275948, -0.024984177201986313, 0.05627605691552162, -0.008949216455221176, 0.0004638723621610552, -0.03122347593307495, -0.044578101485967636, -0.010519439354538918, 0.025799857452511787, 0.025330988690257072, 0.04021867737174034, -0.01834939792752266, 0.0954764261841774, -0.030912889167666435, 0.012335080653429031, -0.045996133238077164, -0.0573006272315979, 0.00042351009324193, 0.04970455914735794, 0.02002415433526039, 0.05987180396914482, 0.003431266639381647, -0.02379901148378849, 0.006359519436955452, 0.04558407887816429, 0.06564986705780029, 0.029539033770561218, -0.016062801703810692, -0.01659352332353592, 0.006245505064725876, 0.059047967195510864, -0.04759690538048744, -0.017588777467608452, 0.015714939683675766, 0.042902301996946335, -0.015478841960430145, 0.011176864616572857, -0.017084360122680664, 0.026719702407717705, -0.043979134410619736, -0.04773983359336853, 0.048698022961616516, 0.022378169000148773, 0.005681843962520361, 0.03297761082649231, -0.006281856447458267, 0.00693570077419281, 0.03650346398353577, -0.005348841659724712, -0.0033081597648561, -0.054475512355566025, -0.011426443234086037, 0.030113480985164642, 0.04086807370185852, -0.039675407111644745, 0.02921217493712902, -0.0010458577889949083, -0.014788285829126835, 0.04523010551929474, -0.04725545644760132, 0.027930207550525665, 0.03460251912474632, 0.03634044900536537, -0.009812249802052975, 0.016113553196191788, 0.007348640356212854, 0.055487774312496185, 0.05630159378051758, -0.021388741210103035, 0.05199426785111427, 0.010407409630715847, 0.04560136795043945, 0.10559593886137009, 0.02165580913424492, -0.00009189034608425573, 0.02296946756541729, 0.06359069049358368, 0.010855232365429401, -0.009567681699991226, 0.09699543565511703, -0.0506046824157238, 0.02571345865726471, -0.03023947775363922, 0.0312579907476902, -0.01976022683084011, -0.009988810867071152, 0.041875459253787994, 0.0190205629914999, -0.019162582233548164, 0.026279812678694725, -0.02167835272848606, -0.023812130093574524, 0.019633159041404724, 0.016446635127067566, -0.009244180284440517, 0.006757462862879038, -0.04230963811278343, 0.015153679065406322, -0.07607629895210266, -0.055887918919324875, 0.009270775131881237, -0.026969365775585175, 0.005210194271057844, -0.087467722594738, -0.053691599518060684, -0.059533581137657166, -0.046485308557748795, 0.024692729115486145, 0.01787644252181053, 0.01567302830517292, -0.01682334952056408, 0.02843940444290638, -0.038566961884498596, -0.01228377502411604, -0.061405278742313385, -0.034267351031303406, -0.02779928781092167, -0.050018321722745895, 0.04887109622359276, -0.0035896925255656242, 0.03707956522703171, 0.011585164815187454, 0.011834672652184963, -0.045593369752168655, -0.02591957524418831, 0.05916411802172661, 0.037137970328330994, -0.02712184563279152, -0.0366886742413044, 0.015968263149261475, -0.006363589782267809, -0.006682169158011675, -0.02842879295349121, -0.023045003414154053, 0.07876583933830261, 0.08077552169561386, 0.028148086741566658, 0.03925330191850662, -0.0027176241856068373, -0.05208006873726845, -0.04421728476881981, -0.016604267060756683, -0.047072622925043106, -0.014174003154039383, -0.020635373890399933, -0.05678701773285866, -0.02188333496451378, -0.017202839255332947, -0.0041791158728301525, -0.0019128285348415375, 0.006678927689790726, 0.038649216294288635, 0.05885455757379532, 0.03206956014037132, 0.00997006706893444, -0.04587104916572571, -0.027635343372821808, 0.07886949926614761, 0.0073619927279651165, 0.014379365369677544, -0.07944507896900177, -0.039525069296360016, 0.045110736042261124, 0.024219507351517677, -0.0012658268678933382, -0.033166684210300446, 0.07464369386434555, 0.019740059971809387, 0.008843869902193546, 0.00801395159214735, -0.01260187104344368, -0.019583728164434433, 0.023639610037207603, -0.015451907180249691, -0.022599326446652412, -0.0628274530172348, -0.03739682212471962, -0.004975619725883007, 0.0443103201687336, -0.08110301941633224, -0.061738383024930954, -0.00832371786236763, 0.030904320999979973, 0.017165591940283775, -0.013770378194749355, -0.04207204654812813, -0.00889400951564312, -0.04313623160123825, -0.034638646990060806, 0.023954706266522408, 0.01891903392970562, 0.013628166168928146, 0.0630783662199974, 0.03345217555761337, -0.039060283452272415, 0.04425180330872536, 0.03762483224272728, 0.04215283691883087, 0.01739886961877346, -0.04318845272064209, 0.042182888835668564, -0.020022181794047356, 0.005585136823356152, 0.023091185837984085, -0.029588693752884865, -0.06062908098101616, -0.0682448223233223, -0.015034079551696777, -0.0158283319324255, -0.0011973328655585647, -0.03504958003759384, 0.022596267983317375, -0.01678241603076458, -0.022414397448301315, 0.003054429544135928, 0.023195914924144745, 0.05663498491048813, -0.0673278346657753, 0.04280264675617218, 0.010076768696308136, 0.03167389705777168, -0.05413000285625458, 0.005089933518320322, -0.01686570793390274, -0.017627524212002754, 0.013476819731295109, 0.06333514302968979, 0.025282761082053185, 0.046839989721775055, 0.06279384344816208, 0.023652419447898865, -0.05278638005256653, 0.05338210240006447, 0.057374853640794754, -0.008818328380584717, -0.03192314878106117, 0.008637581951916218, -0.013191243633627892, -0.04062098264694214, -0.023098241537809372, -0.0547160804271698, 0.029916686937212944, 0.050615664571523666, 0.012494885362684727, -0.0204545296728611, 0.0015794370556250215, -0.029688091948628426, -0.04070970416069031, -0.07661478966474533, -0.02358408086001873, 0.012848443351686, -0.012617737986147404, 0.04339897632598877, 0.04266835004091263, 0.015339557081460953, 0.054806340485811234, 0.04187867417931557, -0.00855429656803608, -0.03586268797516823, 0.01948794350028038, 0.035808756947517395, -0.04110068082809448, -0.07307439297437668, -0.04479489475488663, 0.02483064867556095, 0.047236911952495575, -0.042221661657094955, -0.09901879727840424, -0.008325600065290928, 0.05431138351559639, -0.01839015632867813, 0.06362095475196838, -0.005109489429742098, 0.05293877050280571, 0.06827249377965927, -0.013397783041000366, 0.013467732816934586, -0.021056856960058212, 0.029453815892338753, 0.014012360945343971, 0.05724632740020752, -0.010498009622097015, -0.02810830809175968, -0.0633375495672226, 0.03779734671115875, 0.014619735069572926, 0.033776991069316864, 0.04342282935976982, -0.017787670716643333, -0.05272825434803963, 0.0039372225292027, 0.030090954154729843, -0.06070821359753609, 0.04159393906593323, 0.022325599566102028, 0.03319011628627777, -0.054300401359796524, -0.035033274441957474, -0.021736569702625275, 0.0034827382769435644, 0.03209305182099342, -0.006758678704500198, -0.034939397126436234, -0.055593494325876236, 0.015608466230332851, -0.008063746616244316, -0.015275837853550911, -0.08161043375730515, 0.03134717419743538, -0.00008334977610502392, -0.0008009622106328607, 0.0434517078101635, 0.03627550229430199, 0.049549609422683716, 0.02637581340968609, 0.012427381239831448, 0.03096732497215271, -0.03361354395747185, 0.021018242463469505, -0.02228374220430851, -0.02751893550157547, 0.004059066064655781, -0.04050753638148308, -0.014701706357300282, -0.025621244683861732, -0.055424101650714874, -0.06835301965475082, -0.023065388202667236, 0.01584085077047348, -0.01858774572610855, 0.003005259670317173, -0.02343876287341118, 0.02067073993384838, -0.021064583212137222, -0.0056379311718046665, 0.003258154261857271, -0.030598992481827736, -0.07621687650680542, -0.0761188194155693, 0.017116699367761612, 0.006968977861106396, 0.04299883171916008, 0.006426312495023012, -0.013659280724823475, 0.027650916948914528, 0.007111395709216595, -0.012417305260896683, 0.03841770812869072, 0.004294911399483681, -0.05211256071925163, -0.018323171883821487, -0.000862073851749301, 0.01971842534840107, 0.03264434635639191, -0.022167406976222992, 0.03762636333703995, 0.015487324446439743, -0.021781204268336296, -0.03351617231965065, 0.015965042635798454, -0.006590310484170914, -0.0815463587641716, -0.04914643615484238, -0.02683286927640438, -0.04805218428373337, 0.024133358150720596, -0.0003913470427505672, -0.01489172037690878, 0.0007282575243152678, 0.031520742923021317, 0.03068854846060276, 0.01446824986487627, -0.020550142973661423, 0.011155841872096062, -0.02345120720565319, 0.021854182705283165, -0.05705120414495468, 0.018430164083838463, -0.017826834693551064, 0.011414109729230404, -0.013481245376169682, -0.0016325488686561584, -0.05659842863678932, 0.04084738343954086, -0.016474524512887, -0.004673706833273172, -0.03009749948978424, 0.024635514244437218, -0.05150441825389862, 0.056676916778087616, -0.008619165048003197, 0.030543992295861244, -0.02039605937898159, 0.05310189351439476, -0.06340284645557404, 0.0030470346100628376, -0.036111537367105484, 0.011523507535457611, -0.040322814136743546, -0.05175312981009483, -0.018975073471665382, -0.051831282675266266, 0.030843818560242653, 0.03003033809363842, 0.04081856459379196, 0.0414627343416214, -0.02035360410809517, 0.017822209745645523, 0.010719702579081059, -0.06498842686414719, -0.014562194235622883, 0.005980673246085644, 0.0017560006817802787, 0.000156836787937209, 0.045019276440143585, 0.03605460375547409, -0.04619992896914482, -0.053336866199970245, 0.0458645336329937, 0.017573431134223938, 0.012156251817941666, -0.0020533022470772266, 0.04060199111700058, 0.04803747311234474, 0.03284532576799393, -0.02384980022907257, -0.012234226800501347, 0.004757529124617577, -0.027697347104549408, 0.02329799346625805, 0.005105155520141125, 0.022100847214460373, -0.014249991625547409, -0.038820356130599976, -0.03193065524101257, 0.043610505759716034, 0.02899276278913021, 0.04741964489221573, 0.012012780643999577, -0.03390541300177574, 0.00998191349208355, -0.0013344382168725133, -0.03708896413445473, -0.0013908325927332044, 0.02979612722992897, -0.023262564092874527, 0.07019832730293274, -0.012336313724517822, 0.016868023201823235, 0.04597094655036926, 0.024503488093614578, -0.018632197752594948, 0.03836908936500549, -0.03315487131476402, 0.011546130292117596, 0.02700548619031906, -0.05456993728876114, 0.005964828655123711, -0.04935844615101814, 0.07624508440494537, -0.06714942306280136, 0.02966964803636074, 0.04542473703622818, 0.01419526431709528, 0.030594022944569588, -0.016967622563242912, -0.04269496724009514, 0.01898154988884926, -0.03991119936108589, 0.05679086968302727, 0.006437439937144518, -0.048192474991083145, 0.08735207468271255, -0.009008330292999744, -0.07996033877134323, 0.05818779394030571, 0.03730609640479088, 0.02650996297597885, 0.018094420433044434, 0.036888111382722855, -0.058517370373010635, 0.0235857255756855, -0.024405209347605705, 0.020328441634774208, -0.059974271804094315, 0.008938253857195377, 0.01514614187180996, -0.031143654137849808, -0.028530782088637352, 0.02860630489885807, -0.0284443236887455, 0.013529269956052303, 0.031665004789829254, -0.05216708034276962, -0.05185123533010483, 0.010866770520806313, 0.009808073751628399, -0.03279466927051544, -0.002193756401538849, -0.03602251783013344, 0.026397963985800743, 0.02271631918847561, -0.011349967680871487, -0.04349340498447418, -0.012043740600347519, 0.020557595416903496, -0.041641730815172195, -0.031309545040130615, 0.03843677416443825, -0.012059709057211876, -0.024469736963510513, 0.05457129701972008, 0.0007449594559147954, 0.02555963397026062, 0.021492835134267807, 0.008606558665633202, 0.048201918601989746, -0.037963759154081345, -0.011090690270066261, 0.016507655382156372, 0.015313071198761463, 0.02532113343477249, -0.013025296851992607, 0.027889447286725044, 0.05220291018486023, 0.005877532530575991, -0.0008272583945654333, -0.05212812125682831, -0.03636079654097557, 0.004166620783507824, -0.04430414363741875, 0.023034444078803062, 0.012246696278452873, -0.0445614829659462, -0.025036361068487167, -0.030905019491910934, 0.003007343038916588, 0.028995541855692863, -0.08754247426986694, -0.0051008122973144054, 0.05768850818276405, -0.034751422703266144, -0.03188031539320946, -0.059856485575437546, -0.036571308970451355, -0.02726905606687069, 0.04666248708963394, 0.03180733323097229, -0.03717745468020439, -0.002117748372256756, -0.042022064328193665, -0.057252686470746994, 0.03246019035577774, 0.045740943402051926, -0.028908515349030495, 0.05334148555994034, 0.02271765097975731, -0.03419772908091545, 0.009012976661324501, 0.037077177315950394, -0.05031970888376236, 0.05309296399354935, 0.007289568893611431, 0.01202472485601902, 0.023986592888832092, 0.0419328548014164, -0.027163377031683922, -0.013415638357400894, -0.0637114942073822, -0.018499894067645073, -0.025563696399331093, -0.00499224616214633, 0.03982013091444969 ]
AnonymousSub/SR_rule_based_twostagequadruplet_hier_epochs_1_shard_1
[ "pytorch", "bert", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "BertModel" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- language: "ru" tags: - paraphrasing - russian license: mit --- This is a small Russian paraphraser based on the [google/mt5-small](https://huggingface.co/google/mt5-small) model. It has rather poor paraphrasing performance, but can be fine tuned for this or other tasks. This model was created by taking the [alenusch/mt5small-ruparaphraser](https://huggingface.co/alenusch/mt5small-ruparaphraser) model and stripping 96% of its vocabulary which is unrelated to the Russian language or infrequent. * The original model has 300M parameters, with 256M of them being input and output embeddings. * After shrinking the `sentencepiece` vocabulary from 250K to 20K the number of model parameters reduced to 65M parameters, and model size reduced from 1.1GB to 246MB. * The first 5K tokens in the new vocabulary are taken from the original `mt5-small`. * The next 15K tokens are the most frequent tokens obtained by tokenizing a Russian web corpus from the [Leipzig corpora collection](https://wortschatz.uni-leipzig.de/en/download/Russian). The model can be used as follows: ``` # !pip install transformers sentencepiece import torch from transformers import T5ForConditionalGeneration, T5Tokenizer tokenizer = T5Tokenizer.from_pretrained("cointegrated/rut5-small") model = T5ForConditionalGeneration.from_pretrained("cointegrated/rut5-small") text = 'Ехал Грека через реку, видит Грека в реке рак. ' inputs = tokenizer(text, return_tensors='pt') with torch.no_grad(): hypotheses = model.generate( **inputs, do_sample=True, top_p=0.95, num_return_sequences=10, repetition_penalty=2.5, max_length=32, ) for h in hypotheses: print(tokenizer.decode(h, skip_special_tokens=True)) ```
[ -0.0110683124512434, -0.033709075301885605, -0.010599364526569843, 0.050405628979206085, 0.03412185236811638, 0.028662938624620438, -0.015612365677952766, -0.003168535651639104, -0.06450649350881577, 0.07725918292999268, 0.025937411934137344, -0.014798588119447231, -0.0008922034176066518, 0.041684381663799286, -0.0007555548218078911, -0.04044561833143234, -0.03487388789653778, 0.007557066157460213, -0.04428573697805405, -0.01761234551668167, -0.015569227747619152, -0.006313735153526068, -0.0009867820190265775, 0.015370097942650318, 0.003955533262342215, 0.026889503002166748, -0.018920917063951492, 0.013001356273889542, 0.019936157390475273, -0.06266945600509644, 0.007922187447547913, -0.031992729753255844, -0.025974946096539497, -0.025421269237995148, 0.002538954373449087, -0.011439483612775803, -0.003206780878826976, -0.0024454775266349316, 0.01605367846786976, 0.05043654143810272, -0.001644690870307386, -0.00538795767351985, -0.009517899714410305, -0.03331102430820465, 0.034543439745903015, 0.01034756749868393, -0.04817279800772667, -0.001915714587084949, 0.06297534704208374, -0.028051957488059998, -0.030967002734541893, -0.0847916379570961, -0.017615174874663353, 0.0019072431605309248, -0.023822994902729988, -0.029963333159685135, -0.05929049476981163, -0.014260649681091309, 0.06156637892127037, -0.0507192499935627, -0.04934805631637573, 0.007795657496899366, -0.06333015859127045, 0.029798664152622223, 0.027190493419766426, -0.037838418036699295, 0.01067705824971199, -0.04680178314447403, 0.014135308563709259, -0.025172166526317596, 0.04228435456752777, -0.023886071518063545, 0.03170201927423477, -0.09438441693782806, -0.003227595705538988, -0.011490704491734505, 0.017684364691376686, 0.032131779938936234, -0.04002021998167038, 0.056363895535469055, 0.03574240952730179, -0.026805628091096878, 0.026818841695785522, -0.028660979121923447, -0.030343951657414436, 0.05244053155183792, -0.01908751018345356, -0.019207971170544624, -0.010159836150705814, 0.05579264089465141, -0.043176375329494476, -0.015290472656488419, -0.02298857271671295, -0.030642108991742134, -0.014772503636777401, 0.030301537364721298, 0.06146499887108803, -0.02654704637825489, 0.030234387144446373, 0.0028621999081224203, 0.01945088990032673, 0.04820161312818527, -0.007184039335697889, 0.0477294959127903, -0.010966215282678604, -0.007351889740675688, 0.007839865982532501, -0.03658702224493027, -0.03749892860651016, 0.03965624421834946, 0.02821226790547371, -0.034994661808013916, -0.06418169289827347, 0.043615881353616714, 0.009924468584358692, -0.007816115394234657, 0.04651044309139252, -0.03687281534075737, -0.021378498524427414, -0.06328661739826202, 0.033008985221385956, -0.0066762869246304035, 0.01063565630465746, 0.006070389412343502, -0.03464265540242195, 0.036020901054143906, -0.05527486652135849, -0.028149902820587158, -0.006513744127005339, 0.040377672761678696, -0.01158241555094719, 0.03161359205842018, 0.04699277877807617, -0.04719872400164604, -0.008337108418345451, 0.002461143070831895, -0.06902444362640381, 0.06552308797836304, 0.01850024424493313, 0.12491314858198166, -0.047152385115623474, -0.059316281229257584, 0.01834302954375744, 0.02459597960114479, -0.021910307928919792, 0.0042768907733261585, 0.012452983297407627, -0.02667251043021679, -0.030491847544908524, 0.0014735248405486345, 0.06850913912057877, -0.04236371070146561, -0.006727888714522123, 0.0287700816988945, 0.0003070165985263884, 0.020375922322273254, -0.041012708097696304, 0.001692378893494606, 0.003009440377354622, -0.009946787729859352, -0.046946991235017776, 0.030041242018342018, 0.002037337515503168, -0.01799822971224785, -0.03359920158982277, -0.03180589899420738, 0.018804069608449936, 0.06546641141176224, 0.0015010656788945198, -0.023023325949907303, -0.0471513494849205, 0.023288069292902946, 0.060792602598667145, 0.04128299281001091, -0.019567925482988358, 0.03267042338848114, 0.04344156011939049, 0.03104930743575096, 0.009564579464495182, 0.061711251735687256, 0.001160886138677597, -0.03952733054757118, -0.009109068661928177, 0.022222615778446198, -0.00713935075327754, -0.030198046937584877, 0.038381196558475494, 0.05458497256040573, -0.022893430665135384, -0.05198122560977936, 0.0002851561293937266, 0.0573350191116333, -0.007814828306436539, 0.0007209907635115087, -0.0021400016266852617, -0.02755093015730381, -0.024717457592487335, 0.06930705904960632, -0.0010985026601701975, -0.01996292546391487, -0.01671365462243557, -0.03924362733960152, -0.004941848106682301, 0.036210522055625916, 0.029775768518447876, 0.05190912261605263, -0.02273828350007534, 0.08960239589214325, -0.0235455222427845, -0.00519119156524539, -0.047426607459783554, -0.048002809286117554, 0.0029480105731636286, 0.0410144105553627, 0.020464742556214333, 0.06081537529826164, 0.009598656557500362, -0.036076635122299194, 0.007507196627557278, 0.05954064056277275, 0.053184110671281815, 0.0063542090356349945, -0.024171961471438408, -0.0021807739976793528, 0.008640234358608723, 0.06467653810977936, -0.041270311921834946, -0.024427568539977074, 0.019740574061870575, 0.045197777450084686, -0.02466949075460434, 0.012086349539458752, -0.00872334185987711, 0.008188953623175621, -0.04167020693421364, -0.04759816452860832, 0.04298804700374603, 0.01705053262412548, 0.013332514092326164, 0.027814652770757675, -0.019577791914343834, 0.008394607342779636, 0.027455884963274002, 0.006224280223250389, -0.0028250820469111204, -0.04970343038439751, -0.014011291787028313, 0.02720378339290619, 0.04800641909241676, -0.02828444167971611, 0.029782524332404137, 0.009757348336279392, 0.004565167240798473, 0.034809477627277374, -0.05096249282360077, 0.006218116730451584, 0.0333213247358799, 0.03326420485973358, -0.01679888181388378, 0.016903679817914963, 0.0024563854094594717, 0.038015056401491165, 0.05953400954604149, -0.027625929564237595, 0.03806709125638008, 0.010396325029432774, 0.026097675785422325, 0.12247350811958313, 0.02324828878045082, 0.0018431245116516948, 0.016040103510022163, 0.06852344423532486, 0.014529204927384853, 0.006524002645164728, 0.08887863904237747, -0.04374067857861519, 0.02571825124323368, -0.04559580981731415, 0.032408300787210464, -0.020527197048068047, -0.02239435538649559, 0.04411214962601662, 0.009926891885697842, -0.02523099072277546, 0.017859531566500664, -0.020290827378630638, -0.025827962905168533, 0.021028434857726097, 0.010976763442158699, -0.007781275548040867, 0.002914323238655925, -0.03769811987876892, 0.02343038283288479, -0.08086692541837692, -0.05400506779551506, 0.022588582709431648, -0.0199175663292408, 0.018408097326755524, -0.07789626717567444, -0.05590040981769562, -0.04823636636137962, -0.03621627017855644, 0.029745183885097504, 0.028133777901530266, 0.01403419952839613, -0.014681336469948292, 0.028392789885401726, -0.018564317375421524, -0.01499149203300476, -0.06113657355308533, -0.03084246814250946, -0.014421475119888783, -0.06546179205179214, 0.03812338039278984, -0.014629467390477657, 0.04131927341222763, 0.008305559866130352, 0.00594951119273901, -0.021704452112317085, -0.014307151548564434, 0.0414719320833683, 0.041021209210157394, -0.023533068597316742, -0.047628648579120636, 0.022940270602703094, 0.0017146662576124072, 0.0012567078229039907, -0.02980837970972061, -0.02953643910586834, 0.08189813792705536, 0.07937715202569962, 0.01661546528339386, 0.0198505911976099, 0.008961052633821964, -0.04911625012755394, -0.03532436490058899, -0.016957862302660942, -0.047308146953582764, -0.026822982355952263, -0.03458212688565254, -0.05188829451799393, -0.023509543389081955, -0.01877029426395893, -0.012137675657868385, 0.010522281751036644, -0.0038014082238078117, 0.05143507570028305, 0.05812373012304306, 0.034978725016117096, 0.01361332181841135, -0.030254047363996506, 0.0003951316757593304, 0.08846741914749146, 0.026400761678814888, 0.0021887370385229588, -0.058724768459796906, -0.041784774512052536, 0.038591086864471436, 0.022119490429759026, 0.011007493361830711, -0.030502591282129288, 0.06749428808689117, 0.02036900259554386, 0.004939597565680742, 0.009315726347267628, -0.017465485259890556, -0.019706133753061295, 0.006696941796690226, -0.014579814858734608, -0.01918618008494377, -0.037167925387620926, -0.04265874624252319, -0.019364461302757263, 0.036892376840114594, -0.06922098994255066, -0.05661488324403763, -0.016036899760365486, 0.029934607446193695, 0.01855754293501377, -0.009600374847650528, -0.04611761495471001, -0.000025052415367099456, -0.045409854501485825, -0.03180038183927536, 0.01424072589725256, -0.0048212590627372265, 0.03205149620771408, 0.06599315255880356, 0.034016214311122894, -0.03637836128473282, 0.055349577218294144, 0.028601491823792458, 0.037891872227191925, 0.02103283815085888, -0.03499870374798775, 0.032104965299367905, -0.019322801381349564, 0.03585831820964813, 0.010309410281479359, -0.015633733943104744, -0.04849383607506752, -0.08153461664915085, -0.003645601449534297, -0.009433379396796227, -0.013524213805794716, -0.017060546204447746, 0.043008916079998016, -0.029720906168222427, -0.009547123685479164, -0.008482204750180244, 0.03360874205827713, 0.0566089041531086, -0.06852906197309494, 0.0526333712041378, -0.00043741107219830155, 0.04137152433395386, -0.040354348719120026, 0.025135934352874756, -0.02037755213677883, -0.023511439561843872, 0.009679816663265228, 0.06707204133272171, 0.03780479356646538, 0.05750521272420883, 0.08046464622020721, 0.015394889749586582, -0.05818247050046921, 0.049315713346004486, 0.051658060401678085, -0.0007226109155453742, -0.03871630132198334, -0.007671825587749481, -0.00843921396881342, -0.041077688336372375, -0.010058284737169743, -0.03580766171216965, 0.030143359676003456, 0.047228824347257614, 0.018159454688429832, -0.013568528927862644, -0.004606408067047596, -0.05276889353990555, -0.05045842006802559, -0.05569438636302948, -0.031662676483392715, 0.018138548359274864, -0.010087340138852596, 0.03206394612789154, 0.056204117834568024, 0.020168403163552284, 0.050513897091150284, 0.03745753690600395, -0.020336618646979332, -0.041424043476581573, 0.016193406656384468, 0.03746756538748741, -0.03704965487122536, -0.07623270153999329, -0.04028070718050003, 0.04708898812532425, 0.046630412340164185, -0.023386185988783836, -0.08333651721477509, -0.000687481660861522, 0.04690658673644066, -0.02548341266810894, 0.05426830053329468, -0.011889781802892685, 0.04575859010219574, 0.05520620569586754, -0.015651455149054527, 0.0015782556729391217, -0.031017232686281204, 0.036884550005197525, 0.0134986387565732, 0.06127021461725235, -0.02108159475028515, -0.042345479130744934, -0.07217781245708466, 0.03297225758433342, 0.014504936523735523, 0.043212275952100754, 0.027563510462641716, -0.016477404162287712, -0.0636567696928978, 0.014821325428783894, 0.03202482685446739, -0.07042824476957321, 0.029481681063771248, 0.025867825374007225, 0.040644705295562744, -0.04775521904230118, -0.02974759414792061, -0.03353572264313698, 0.01074664480984211, 0.028976833447813988, -0.0050801485776901245, -0.03134923800826073, -0.058138880878686905, 0.02263253927230835, -0.014752722345292568, -0.026857638731598854, -0.09101025760173798, 0.021287711337208748, -0.016444599255919456, -0.013725219294428825, 0.0374210961163044, 0.017968736588954926, 0.031304214149713516, 0.026068126782774925, 0.010047487914562225, 0.019827619194984436, -0.02801097184419632, 0.01841673254966736, -0.026966629549860954, -0.00758425472304225, -0.00853885430842638, -0.048638615757226944, -0.012463904917240143, -0.021827593445777893, -0.03871297463774681, -0.066185362637043, -0.03395386412739754, 0.012514017522335052, -0.013231299817562103, 0.00831453688442707, -0.009115468710660934, 0.031581878662109375, -0.03272995352745056, -0.00023240932205226272, 0.0063219196163117886, -0.028736596927046776, -0.05879838019609451, -0.06373590975999832, 0.007646569050848484, -0.00042210897663608193, 0.057766977697610855, 0.015862759202718735, -0.012541639618575573, 0.032992761582136154, 0.01951269805431366, -0.007761555258184671, 0.049299854785203934, -0.0037219610530883074, -0.04861374571919441, -0.03538377955555916, 0.007047576364129782, 0.005179050378501415, 0.034684181213378906, -0.024867694824934006, 0.03571459650993347, 0.027223292738199234, -0.020631469786167145, -0.037045858800411224, 0.01601107232272625, -0.00004668279143515974, -0.07812227308750153, -0.03946930915117264, -0.017759697511792183, -0.049258723855018616, 0.032178979367017746, -0.0069924527779221535, -0.029663357883691788, 0.01152481697499752, 0.0463915690779686, 0.03151248022913933, 0.016275307163596153, -0.02022932842373848, 0.018594905734062195, -0.013539651408791542, 0.016254089772701263, -0.07027435302734375, 0.027477454394102097, -0.01655346341431141, 0.004290559329092503, -0.017984984442591667, -0.017068641260266304, -0.05647904425859451, 0.0289178304374218, -0.008826128207147121, -0.027943169698119164, -0.01921781152486801, 0.018790055066347122, -0.036230478435754776, 0.0562334880232811, -0.015063686296343803, 0.026491990312933922, -0.0256393663585186, 0.0691831111907959, -0.05792022496461868, -0.012697440572082996, -0.039248812943696976, 0.005176150240004063, -0.03386104106903076, -0.02818148024380207, -0.022679120302200317, -0.05066408962011337, 0.0301575418561697, 0.0232367105782032, 0.0401667058467865, 0.04348381608724594, -0.015911893919110298, 0.01963280886411667, 0.00382304098457098, -0.05927238613367081, -0.046894561499357224, -0.023239491507411003, -0.0021391205955296755, -0.0029604670125991106, 0.05677209421992302, 0.04776843264698982, -0.051362622529268265, -0.05704992264509201, 0.04449242353439331, 0.004308092407882214, -0.0009762714616954327, 0.0066242581233382225, 0.038700446486473083, 0.03012346848845482, 0.038413211703300476, -0.031936317682266235, -0.0038773221895098686, 0.0073191942647099495, -0.02614331617951393, 0.018948812037706375, -0.002929601352661848, 0.022431790828704834, -0.025492509827017784, -0.038264647126197815, -0.035384684801101685, 0.06991982460021973, 0.0348319448530674, 0.039381660521030426, 0.017560524865984917, -0.042964741587638855, 0.03144259378314018, -0.003065398195758462, -0.038570959120988846, -0.004468865226954222, 0.024178098887205124, -0.017710356041789055, 0.06886967271566391, -0.02291143871843815, 0.01160480361431837, 0.07714543491601944, 0.0296401996165514, -0.027021650224924088, 0.02058168686926365, -0.01623358204960823, 0.008455106988549232, 0.03738432750105858, -0.052513208240270615, -0.003691784106194973, -0.04653853178024292, 0.07972661405801773, -0.07230734825134277, 0.04288417473435402, 0.04758584499359131, 0.017560984939336777, 0.003257171018049121, -0.020785072818398476, -0.05768337845802307, 0.010977420024573803, -0.04098266735672951, 0.07036510854959488, 0.01025628112256527, -0.06346465647220612, 0.0842544436454773, -0.0033859945833683014, -0.07428422570228577, 0.05587597191333771, 0.052028901875019073, 0.01767733134329319, 0.02680463157594204, 0.03563905879855156, -0.06889943778514862, 0.033207967877388, -0.017947332933545113, 0.03234992176294327, -0.07472632080316544, 0.0007316360715776682, -0.004861472640186548, -0.0349980853497982, -0.022821025922894478, 0.026771636679768562, -0.022859511896967888, 0.016972558572888374, 0.027497904375195503, -0.05656062066555023, -0.05662956088781357, 0.02328386902809143, 0.011553604155778885, -0.014623685739934444, 0.005527955014258623, -0.027130238711833954, 0.028460174798965454, 0.02419893443584442, -0.011496285907924175, -0.028408896178007126, -0.0037531612906605005, 0.010526640340685844, -0.04846683889627457, -0.03892674669623375, 0.020068155601620674, -0.01159473042935133, -0.019879398867487907, 0.04213327914476395, 0.010952628217637539, 0.00473793176934123, 0.011390551924705505, 0.010038112290203571, 0.03000033274292946, -0.051082201302051544, -0.014986108057200909, 0.030138596892356873, 0.016381841152906418, 0.031035413965582848, 0.0003153069701511413, 0.03675910830497742, 0.04725770652294159, 0.017044369131326675, -0.017370836809277534, -0.026166027411818504, -0.02498302236199379, -0.002200076589360833, -0.04684499278664589, 0.018625633791089058, 0.010043992660939693, -0.050260476768016815, -0.030655058100819588, -0.016960114240646362, 0.010315114632248878, 0.029788721352815628, -0.054308295249938965, -0.004660286474972963, 0.0461614653468132, -0.037792086601257324, -0.03571496903896332, -0.07230649888515472, -0.04185275733470917, -0.03459060937166214, 0.05409008637070656, 0.03444745019078255, -0.04105866327881813, -0.011835407465696335, -0.030442606657743454, -0.06732691824436188, 0.028337012976408005, 0.02904353477060795, -0.048699188977479935, 0.07471484690904617, 0.018485674634575844, -0.035405196249485016, 0.0043558222241699696, 0.0327102392911911, -0.04993053525686264, 0.047281648963689804, 0.021303284913301468, 0.021025091409683228, 0.03017626889050007, 0.030068103224039078, -0.028988510370254517, -0.023126570507884026, -0.04569033533334732, -0.011100869625806808, -0.021498335525393486, -0.011843407526612282, 0.05103212594985962 ]
AnonymousSub/SR_rule_based_twostagetriplet_hier_epochs_1_shard_1
[ "pytorch", "bert", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "BertModel" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- license: apache-2.0 tags: - generated_from_trainer metrics: - precision - recall - f1 - accuracy model_index: - name: chinese-address-ner results: - task: name: Token Classification type: token-classification metric: name: Accuracy type: accuracy value: 0.975825946817083 --- <!-- 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. --> # chinese-address-ner This model is a fine-tuned version of [hfl/chinese-roberta-wwm-ext](https://huggingface.co/hfl/chinese-roberta-wwm-ext) on an unkown dataset. It achieves the following results on the evaluation set: - Loss: 0.1080 - Precision: 0.9664 - Recall: 0.9774 - F1: 0.9719 - Accuracy: 0.9758 ## Model description 输入一串地址中文信息,比如快递单:`北京市海淀区西北旺东路10号院(马连洼街道西北旺社区东北方向)`,按照行政级别(总有 7 级)抽取地址信息,返回每个 token 的类别。具体类别含义表示如下: | 返回类别 | BIO 体系 | 解释 | | ----------- | -------- | ---------------------- | | **LABEL_0** | O | 忽略信息 | | **LABEL_1** | B-A1 | 第一级地址(头) | | **LABEL_2** | I-A1 | 第一级地址(其余部分) | | ... | ... | ... | 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: 2e-05 - train_batch_size: 50 - eval_batch_size: 50 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 50 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | 2.5055 | 1.0 | 7 | 1.6719 | 0.1977 | 0.2604 | 0.2248 | 0.5649 | | 1.837 | 2.0 | 14 | 1.0719 | 0.4676 | 0.6 | 0.5256 | 0.7421 | | 1.0661 | 3.0 | 21 | 0.7306 | 0.6266 | 0.7472 | 0.6816 | 0.8106 | | 0.8373 | 4.0 | 28 | 0.5197 | 0.6456 | 0.8113 | 0.7191 | 0.8614 | | 0.522 | 5.0 | 35 | 0.3830 | 0.7667 | 0.8679 | 0.8142 | 0.9001 | | 0.4295 | 6.0 | 42 | 0.3104 | 0.8138 | 0.8906 | 0.8505 | 0.9178 | | 0.3483 | 7.0 | 49 | 0.2453 | 0.8462 | 0.9132 | 0.8784 | 0.9404 | | 0.2471 | 8.0 | 56 | 0.2081 | 0.8403 | 0.9132 | 0.8752 | 0.9428 | | 0.2299 | 9.0 | 63 | 0.1979 | 0.8419 | 0.9245 | 0.8813 | 0.9420 | | 0.1761 | 10.0 | 70 | 0.1823 | 0.8830 | 0.9396 | 0.9104 | 0.9500 | | 0.1434 | 11.0 | 77 | 0.1480 | 0.9036 | 0.9547 | 0.9284 | 0.9629 | | 0.134 | 12.0 | 84 | 0.1341 | 0.9173 | 0.9623 | 0.9392 | 0.9678 | | 0.128 | 13.0 | 91 | 0.1365 | 0.9375 | 0.9623 | 0.9497 | 0.9694 | | 0.0824 | 14.0 | 98 | 0.1159 | 0.9557 | 0.9774 | 0.9664 | 0.9734 | | 0.0744 | 15.0 | 105 | 0.1092 | 0.9591 | 0.9736 | 0.9663 | 0.9766 | | 0.0569 | 16.0 | 112 | 0.1117 | 0.9556 | 0.9736 | 0.9645 | 0.9742 | | 0.0559 | 17.0 | 119 | 0.1040 | 0.9628 | 0.9774 | 0.9700 | 0.9790 | | 0.0456 | 18.0 | 126 | 0.1052 | 0.9593 | 0.9774 | 0.9682 | 0.9782 | | 0.0405 | 19.0 | 133 | 0.1133 | 0.9590 | 0.9698 | 0.9644 | 0.9718 | | 0.0315 | 20.0 | 140 | 0.1060 | 0.9591 | 0.9736 | 0.9663 | 0.9750 | | 0.0262 | 21.0 | 147 | 0.1087 | 0.9554 | 0.9698 | 0.9625 | 0.9718 | | 0.0338 | 22.0 | 154 | 0.1183 | 0.9625 | 0.9698 | 0.9662 | 0.9726 | | 0.0225 | 23.0 | 161 | 0.1080 | 0.9664 | 0.9774 | 0.9719 | 0.9758 | | 0.028 | 24.0 | 168 | 0.1057 | 0.9591 | 0.9736 | 0.9663 | 0.9742 | | 0.0202 | 25.0 | 175 | 0.1062 | 0.9628 | 0.9774 | 0.9700 | 0.9766 | | 0.0168 | 26.0 | 182 | 0.1097 | 0.9664 | 0.9774 | 0.9719 | 0.9758 | | 0.0173 | 27.0 | 189 | 0.1093 | 0.9628 | 0.9774 | 0.9700 | 0.9774 | | 0.0151 | 28.0 | 196 | 0.1162 | 0.9628 | 0.9774 | 0.9700 | 0.9766 | | 0.0135 | 29.0 | 203 | 0.1126 | 0.9483 | 0.9698 | 0.9590 | 0.9758 | | 0.0179 | 30.0 | 210 | 0.1100 | 0.9449 | 0.9698 | 0.9572 | 0.9774 | | 0.0161 | 31.0 | 217 | 0.1098 | 0.9449 | 0.9698 | 0.9572 | 0.9766 | | 0.0158 | 32.0 | 224 | 0.1191 | 0.9483 | 0.9698 | 0.9590 | 0.9734 | | 0.0151 | 33.0 | 231 | 0.1058 | 0.9483 | 0.9698 | 0.9590 | 0.9750 | | 0.0121 | 34.0 | 238 | 0.0990 | 0.9593 | 0.9774 | 0.9682 | 0.9790 | | 0.0092 | 35.0 | 245 | 0.1128 | 0.9519 | 0.9698 | 0.9607 | 0.9774 | | 0.0097 | 36.0 | 252 | 0.1181 | 0.9627 | 0.9736 | 0.9681 | 0.9766 | | 0.0118 | 37.0 | 259 | 0.1185 | 0.9591 | 0.9736 | 0.9663 | 0.9782 | | 0.0118 | 38.0 | 266 | 0.1021 | 0.9557 | 0.9774 | 0.9664 | 0.9823 | | 0.0099 | 39.0 | 273 | 0.1000 | 0.9559 | 0.9811 | 0.9683 | 0.9815 | | 0.0102 | 40.0 | 280 | 0.1025 | 0.9559 | 0.9811 | 0.9683 | 0.9815 | | 0.0068 | 41.0 | 287 | 0.1080 | 0.9522 | 0.9774 | 0.9646 | 0.9807 | | 0.0105 | 42.0 | 294 | 0.1157 | 0.9449 | 0.9698 | 0.9572 | 0.9766 | | 0.0083 | 43.0 | 301 | 0.1207 | 0.9380 | 0.9698 | 0.9536 | 0.9766 | | 0.0077 | 44.0 | 308 | 0.1208 | 0.9483 | 0.9698 | 0.9590 | 0.9766 | | 0.0077 | 45.0 | 315 | 0.1176 | 0.9483 | 0.9698 | 0.9590 | 0.9774 | | 0.0071 | 46.0 | 322 | 0.1137 | 0.9483 | 0.9698 | 0.9590 | 0.9790 | | 0.0075 | 47.0 | 329 | 0.1144 | 0.9483 | 0.9698 | 0.9590 | 0.9782 | | 0.0084 | 48.0 | 336 | 0.1198 | 0.9483 | 0.9698 | 0.9590 | 0.9766 | | 0.0103 | 49.0 | 343 | 0.1217 | 0.9519 | 0.9698 | 0.9607 | 0.9766 | | 0.0087 | 50.0 | 350 | 0.1230 | 0.9519 | 0.9698 | 0.9607 | 0.9766 | ### Framework versions - Transformers 4.8.2 - Pytorch 1.8.0 - Datasets 1.9.0 - Tokenizers 0.10.3
[ -0.028182394802570343, -0.01578894630074501, 0.012206560000777245, 0.040273185819387436, 0.029658466577529907, 0.012644405476748943, -0.015199110843241215, -0.021211698651313782, -0.02774178236722946, 0.041191283613443375, 0.0324007086455822, -0.008661373518407345, 0.010557908564805984, 0.022535083815455437, -0.044475190341472626, -0.025029834359884262, -0.009563022293150425, -0.011190562509000301, -0.026768013834953308, 0.007458070758730173, 0.015020540915429592, -0.0017614588141441345, -0.015465582720935345, 0.010325226932764053, -0.0022707737516611814, -0.022509045898914337, 0.008252331055700779, 0.022283369675278664, 0.050908733159303665, -0.06841357052326202, 0.004553020000457764, -0.05496525019407272, -0.060330167412757874, -0.02226676233112812, -0.017320476472377777, 0.004332069773226976, 0.009005395695567131, 0.0029701918829232454, 0.04699471592903137, 0.07424698770046234, -0.004990567918866873, 0.0037621906958520412, -0.021588347852230072, -0.030482342466711998, 0.04258612170815468, -0.010081988759338856, -0.03376901149749756, 0.011590487323701382, 0.04865708574652672, -0.042361389845609665, -0.05460424721240997, -0.04714088886976242, -0.006699246820062399, 0.023628391325473785, -0.04485118389129639, -0.037805113941431046, -0.04547746479511261, -0.007179319392889738, 0.06206328794360161, -0.043508321046829224, -0.055241815745830536, -0.014188328757882118, -0.07333850860595703, 0.031051021069288254, 0.035525038838386536, -0.02072700671851635, 0.02543131820857525, -0.03993339464068413, 0.054745834320783615, 0.0003158280742354691, 0.05216280743479729, -0.017240654677152634, -0.013593150302767754, -0.0889589861035347, -0.0059984116815030575, -0.016385173425078392, 0.05121884122490883, 0.03983381390571594, -0.03555690497159958, 0.03699110448360443, 0.033222746104002, 0.004785307217389345, 0.058647457510232925, -0.012557637877762318, 0.011232792399823666, 0.035285383462905884, -0.04340777173638344, 0.007842944003641605, 0.02597038261592388, 0.04748572036623955, -0.017732886597514153, -0.03194562345743179, -0.009445230476558208, -0.020956210792064667, -0.03640249744057655, 0.016355978325009346, 0.041584715247154236, 0.007400867063552141, 0.049377333372831345, 0.016953887417912483, 0.04548273980617523, 0.03770355507731438, -0.007642277050763369, 0.053658001124858856, -0.004555772989988327, -0.022737611085176468, -0.025220774114131927, -0.02287503145635128, -0.03714009001851082, 0.03675245866179466, 0.013072379864752293, -0.04023240879178047, -0.037799060344696045, 0.029481632634997368, 0.013634856790304184, -0.029313692823052406, 0.06679587811231613, -0.025510860607028008, -0.03726668283343315, -0.046028636395931244, 0.049670130014419556, 0.030739879235625267, 0.018987564370036125, 0.006789339240640402, -0.05889764055609703, -0.015383201651275158, -0.016662947833538055, -0.03387594223022461, 0.017123574391007423, 0.002702090423554182, -0.011864886619150639, 0.0465129017829895, 0.019505931064486504, -0.08430348336696625, -0.02153106778860092, 0.0024121254682540894, -0.033550385385751724, 0.04770325869321823, 0.009942946955561638, 0.08781959861516953, -0.03883444517850876, -0.08047700673341751, 0.02070639468729496, 0.011264165863394737, -0.016255244612693787, 0.026676038280129433, 0.030873173847794533, -0.06774016469717026, -0.01823432743549347, -0.007685011252760887, 0.04450690373778343, -0.06246430054306984, 0.006968697998672724, 0.07815313339233398, 0.0041047013364732265, 0.042372871190309525, -0.05751242861151695, -0.023062169551849365, 0.008229811675846577, -0.01640319637954235, -0.008390037342905998, 0.049191415309906006, -0.017268823459744453, 0.012693211436271667, -0.0438816100358963, -0.05150026082992554, 0.0031026483047753572, 0.08434414863586426, -0.0075044105760753155, -0.022723747417330742, -0.02853361889719963, 0.04871413856744766, 0.06306921690702438, 0.04230421036481857, -0.02783370018005371, 0.04846128448843956, 0.04800156503915787, 0.042342789471149445, -0.03169899806380272, 0.05165562406182289, 0.006302663125097752, -0.03452862799167633, -0.015354055911302567, 0.003567009698599577, 0.018949521705508232, -0.050897642970085144, 0.013488780707120895, 0.031224023550748825, 0.02684696950018406, -0.04822862893342972, -0.038804616779088974, 0.06303180009126663, 0.016935044899582863, 0.01032114215195179, -0.0059044682420790195, 0.0009196126484312117, -0.023576874285936356, 0.04674920812249184, -0.005745805334299803, -0.0005974920932203531, -0.028760390356183052, -0.040440429002046585, 0.017543504014611244, 0.02161150984466076, 0.0424373522400856, 0.0598592534661293, -0.021846281364560127, 0.059640105813741684, -0.025259455665946007, 0.024953586980700493, -0.04108850657939911, -0.04698788747191429, 0.007997184991836548, 0.0525466687977314, 0.01853729411959648, 0.060254573822021484, 0.012920594774186611, -0.025903061032295227, 0.048192910850048065, 0.07599024474620819, 0.06974281370639801, 0.010118854232132435, -0.05106670409440994, -0.011735493317246437, 0.038965389132499695, 0.04805969074368477, -0.08353711664676666, -0.0161534883081913, 0.028697792440652847, 0.040176767855882645, -0.019367214292287827, 0.018127286806702614, -0.013281152583658695, 0.0407886765897274, -0.06896056979894638, -0.07782547175884247, 0.03276790305972099, 0.0016932364087551832, 0.02108827978372574, 0.03231947496533394, -0.015101534314453602, 0.014089342206716537, 0.031459178775548935, 0.017399504780769348, -0.0007769695948809385, -0.029179254546761513, 0.03931531682610512, 0.01770043559372425, 0.032387491315603256, -0.05735978111624718, 0.02505696564912796, -0.01935717836022377, 0.0038056245539337397, 0.04576621949672699, -0.07296373695135117, 0.011549349874258041, 0.04746801778674126, 0.019914701581001282, -0.04054794833064079, 0.017320536077022552, 0.019835278391838074, 0.02914513647556305, 0.04457275569438934, 0.022310888394713402, 0.06759911775588989, 0.004394009243696928, 0.04652927443385124, 0.07431841641664505, 0.027177436277270317, 0.027972742915153503, 0.02975321374833584, 0.07539770007133484, 0.01244316902011633, -0.016017703339457512, 0.0763372853398323, -0.03825013339519501, 0.012142466381192207, -0.06712953001260757, 0.020867787301540375, -0.011800117790699005, 0.007393727544695139, 0.033431023359298706, 0.01781371608376503, -0.03186721354722977, -0.014086219482123852, -0.008363817818462849, -0.016584910452365875, 0.04049547016620636, -0.007748832926154137, -0.019726019352674484, -0.01592567004263401, 0.009873788803815842, -0.018611878156661987, -0.07466588169336319, -0.02789517119526863, -0.012500106357038021, -0.027679357677698135, -0.0346728153526783, -0.10167039185762405, 0.007202887441962957, -0.06119205057621002, -0.041320715099573135, 0.04323149845004082, 0.017171939834952354, -0.005317306146025658, -0.05719922482967377, 0.0290755033493042, -0.04377279430627823, -0.036474596709012985, -0.03974934667348862, -0.05434238538146019, -0.03595186769962311, -0.0715763196349144, 0.03691791370511055, 0.03604738414287567, 0.029520882293581963, 0.017764495685696602, 0.005655065178871155, 0.00943033304065466, -0.020495906472206116, 0.04164896532893181, 0.07058031111955643, -0.0331650972366333, -0.03477827459573746, 0.030627375468611717, -0.021927544847130775, 0.018839119002223015, -0.003254888579249382, -0.019250163808465004, 0.07384272664785385, 0.0696101114153862, 0.0180998332798481, 0.013384202495217323, -0.022617438808083534, -0.06049685925245285, -0.04309062287211418, -0.014101650565862656, -0.03336057811975479, -0.027574598789215088, -0.04999418556690216, -0.03823297098278999, -0.0038999777752906084, -0.020025335252285004, 0.0016262531280517578, -0.015626898035407066, 0.01723533682525158, 0.03308333829045296, 0.028138311579823494, 0.035569291561841965, 0.03550765663385391, -0.006812566425651312, -0.05076749995350838, 0.06002916395664215, -0.00740701612085104, 0.009523669257760048, -0.07717011123895645, -0.02602211944758892, 0.034672774374485016, 0.006208010949194431, 0.010794553905725479, -0.015560290776193142, 0.0671488344669342, -0.01977081038057804, -0.016050932928919792, 0.006494087167084217, -0.023549120873212814, -0.010515265166759491, -0.004153575282543898, -0.004817381966859102, -0.01328524760901928, -0.05317218229174614, -0.02164548449218273, -0.004337936174124479, 0.05254735052585602, -0.05986927077174187, -0.05266872048377991, -0.01570308394730091, 0.02518128603696823, 0.0426318421959877, 0.00012018073175568134, -0.03688015788793564, -0.008031542412936687, -0.04893430322408676, -0.03224741294980049, 0.016759075224399567, 0.017789920791983604, 0.014058585278689861, 0.05791034176945686, 0.02521572634577751, -0.028703976422548294, 0.032955460250377655, 0.03872864320874214, 0.0741989016532898, 0.016994928941130638, -0.06383803486824036, -0.016807913780212402, -0.025758469477295876, 0.04114879295229912, -0.005135891959071159, -0.015151026658713818, -0.02837384305894375, -0.0913364440202713, -0.0072868987917900085, 0.00021700405341107398, -0.007563446182757616, -0.006947096902877092, 0.031451266258955, -0.009171567857265472, 0.006158653646707535, -0.0006780987605452538, 0.028606655076146126, 0.04955815523862839, -0.07036768645048141, 0.05073282867670059, 0.024306705221533775, 0.030199062079191208, -0.06467237323522568, 0.015521054156124592, -0.023531097918748856, -0.007568009197711945, 0.009028218686580658, 0.06948249787092209, 0.00018261895456817, 0.045235104858875275, 0.07893820852041245, 0.020535575225949287, -0.043298445641994476, 0.056212544441223145, 0.06763440370559692, -0.031420379877090454, -0.050286777317523956, -0.008727658540010452, -0.011987928301095963, -0.01883348636329174, -0.005671453662216663, -0.016389353200793266, 0.04646763205528259, 0.05717213451862335, -0.015073545277118683, 0.004390872083604336, 0.017006440088152885, 0.003716404316946864, -0.016411418095231056, -0.0569688081741333, -0.02781583182513714, 0.00734325498342514, -0.03885534405708313, 0.00872254092246294, 0.02591640129685402, -0.0005140777793712914, 0.0688680037856102, 0.05178152024745941, -0.029358593747019768, -0.040800780057907104, 0.04053125157952309, 0.015802642330527306, -0.023434722796082497, -0.05615828558802605, -0.026818033307790756, 0.05093533545732498, 0.021605495363473892, -0.011858433485031128, -0.06747269630432129, 0.012596935965120792, 0.06006353721022606, -0.05014180392026901, 0.04706349968910217, -0.022196440026164055, 0.03025844693183899, 0.0558202788233757, -0.017072467133402824, 0.04310174286365509, -0.003968039061874151, 0.0023249550722539425, 0.004968640860170126, 0.024741459637880325, -0.021573618054389954, -0.030014004558324814, -0.04381416738033295, 0.013690006919205189, 0.025119876489043236, 0.04689818620681763, 0.033076245337724686, -0.020259229466319084, -0.03841738775372505, 0.004824954085052013, 0.043710555881261826, -0.04095057398080826, 0.010821156203746796, 0.030068837106227875, 0.0557408407330513, -0.028652051463723183, -0.03069452755153179, -0.03838620334863663, -0.01828298717737198, 0.021924350410699844, -0.00524927256628871, -0.03509490191936493, -0.03636009618639946, 0.033246736973524094, -0.000027534179025678895, -0.0232014711946249, -0.0663536861538887, 0.06624726951122284, -0.00644941721111536, -0.0021832266356796026, 0.04256318509578705, 0.027137549594044685, 0.022528940811753273, 0.05606410279870033, 0.031567975878715515, 0.016679953783750534, -0.04075326398015022, 0.04451519250869751, -0.043118253350257874, 0.0009059794247150421, -0.0057679726742208, -0.04219839349389076, -0.001777990022674203, -0.017043685540556908, -0.06137048453092575, -0.04152192547917366, -0.007538111414760351, 0.021024785935878754, 0.008302958682179451, -0.008104350417852402, -0.015948185697197914, 0.03226170316338539, -0.02442258596420288, -0.03975684568285942, -0.03652451932430267, -0.03356494754552841, -0.08081351220607758, -0.06128226965665817, 0.04419027641415596, 0.016955792903900146, 0.018948115408420563, 0.022066732868552208, 0.030648240819573402, 0.024009577929973602, 0.0005780038773082197, -0.03311937674880028, 0.025032995268702507, -0.01892869547009468, -0.022682372480630875, -0.04320085048675537, 0.021222518756985664, -0.00007160459063015878, 0.00842521246522665, -0.03252536803483963, 0.044372718781232834, 0.03222094103693962, -0.007256614044308662, -0.010307994671165943, 0.0342925526201725, 0.020824512466788292, -0.06514953821897507, -0.028888670727610588, -0.007978777401149273, -0.025868849828839302, 0.022115720435976982, -0.029901789501309395, -0.014916280284523964, -0.01443792786449194, -0.01526295393705368, 0.03134027123451233, -0.027472514659166336, -0.014897851273417473, 0.027291739359498024, -0.014893876388669014, 0.00668486999347806, -0.040668949484825134, 0.0543818324804306, -0.02818494290113449, -0.0006709822919219732, -0.035534415394067764, 0.0036413937341421843, -0.04624847322702408, 0.028702324256300926, -0.011888614855706692, -0.03374267369508743, -0.002828588942065835, 0.042297471314668655, -0.0435231514275074, 0.026431329548358917, -0.03299254924058914, 0.028620388358831406, -0.04261056333780289, 0.07847415655851364, -0.03207995370030403, 0.007596214767545462, -0.015512105077505112, 0.033886127173900604, -0.050879135727882385, 0.0038108178414404392, -0.01592094637453556, -0.018711231648921967, 0.03281387314200401, 0.061576277017593384, 0.02159431204199791, 0.03755904734134674, -0.010942923836410046, -0.0028174486942589283, 0.022748196497559547, -0.05530029162764549, -0.0002888715825974941, -0.026388272643089294, 0.0011808465933427215, 0.0011555678211152554, 0.0428619459271431, 0.05703745037317276, -0.05188251659274101, -0.05838199332356453, 0.04743317514657974, 0.014352279715240002, 0.00020398244669195265, 0.007549039088189602, 0.03527249023318291, 0.020946992561221123, 0.042024221271276474, -0.044117268174886703, -0.0035727787762880325, -0.01223976444453001, -0.04230153188109398, 0.05342358350753784, -0.005995731335133314, 0.00710079912096262, -0.004489331506192684, -0.04134955257177353, -0.020407794043421745, 0.05106542259454727, 0.03785718232393265, 0.02912386879324913, -0.021112913265824318, -0.0432608425617218, 0.016885433346033096, -0.022694334387779236, -0.04796239733695984, 0.011235112324357033, 0.008331404067575932, -0.02546728029847145, 0.07583706825971603, -0.007353689521551132, -0.001089561847038567, 0.05405672267079353, 0.0399005152285099, -0.014725780114531517, 0.05576111376285553, -0.018389714881777763, 0.008599897846579552, 0.041126422584056854, -0.0847005844116211, -0.014699666760861874, -0.03058662638068199, 0.07134571671485901, -0.05775384232401848, 0.04526308551430702, 0.04798508062958717, -0.017516925930976868, 0.0171345267444849, -0.024941308423876762, -0.048109378665685654, 0.018653901293873787, -0.03395118564367294, 0.08635234832763672, -0.012790469452738762, -0.06237410753965378, 0.055368732661008835, 0.024533044546842575, -0.06337802112102509, 0.04179707542061806, 0.021090729162096977, 0.042147357016801834, 0.03714451566338539, 0.042052675038576126, -0.014739586971700191, 0.014764472842216492, -0.05254748463630676, 0.025728991255164146, -0.044131964445114136, -0.0102827288210392, 0.06388988345861435, -0.021794749423861504, -0.042538683861494064, 0.04059652239084244, -0.011367490515112877, -0.03391997888684273, 0.04968543350696564, -0.047147367149591446, -0.03632129728794098, 0.0020581770222634077, 0.00936333741992712, -0.02919970639050007, 0.011448672041296959, -0.04226698353886604, 0.021414196118712425, 0.013237785547971725, 0.003742017550393939, -0.032089997082948685, 0.007875981740653515, 0.04211244732141495, -0.058328572660684586, -0.041832126677036285, 0.040618397295475006, 0.003206466557458043, -0.012783168815076351, 0.03835742175579071, 0.007471023593097925, 0.0062081478536129, 0.01571510173380375, 0.014053444378077984, 0.01717345416545868, -0.0483752004802227, -0.022528935223817825, 0.020913487300276756, 0.00647950591519475, 0.029877813532948494, 0.0021886357571929693, 0.039133694022893906, 0.0340750627219677, 0.01843642257153988, -0.0028234657365828753, -0.029195962473750114, -0.01801959238946438, 0.05248713120818138, -0.03488323092460632, 0.009966702200472355, -0.008268705569207668, -0.056577909737825394, -0.05118834227323532, -0.020407158881425858, -0.030487127602100372, 0.023345280438661575, -0.0478639081120491, -0.011626779101788998, 0.041306640952825546, 0.0042641968466341496, -0.05057976022362709, -0.0870795026421547, -0.03042452409863472, -0.03264400362968445, 0.014696295373141766, 0.019190192222595215, -0.030841387808322906, 0.041436295956373215, -0.035827938467264175, -0.05959668383002281, 0.021851323544979095, 0.020003018900752068, -0.0156836099922657, 0.02979724109172821, 0.03212878480553627, -0.035121988505125046, 0.02050059847533703, 0.04120803251862526, -0.044214073568582535, 0.02841813489794731, 0.0111575061455369, 0.008432356640696526, 0.04461510479450226, 0.014819368720054626, -0.017823223024606705, -0.0010165036655962467, -0.06980644911527634, -0.01982373744249344, -0.04156779497861862, 0.005834868177771568, 0.057395778596401215 ]
AnonymousSub/cline-emanuals-s10-AR
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
27
null
--- language: ja datasets: wikipedia pipeline_tag: fill-mask widget: - text: 得意な科目は[MASK]です。 license: cc-by-sa-4.0 --- # BERT base Japanese model This repository contains a BERT base model trained on Japanese Wikipedia dataset. ## Training data [Japanese Wikipedia](https://ja.wikipedia.org/wiki/Wikipedia:データベースダウンロード) dataset as of June 20, 2021 which is released under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) is used for training. The dataset is splitted into three subsets - train, valid and test. Both tokenizer and model are trained with the train split. ## Model description The model architecture is the same as BERT base model (hidden_size: 768, num_hidden_layers: 12, num_attention_heads: 12, max_position_embeddings: 512) except for a vocabulary size. The vocabulary size is set to 32,000 instead of an original size of 30,522. For the model, `transformers.BertForPreTraining` is used. ## Tokenizer description [SentencePiece](https://github.com/google/sentencepiece) tokenizer is used as a tokenizer for this model. While training, the tokenizer model was trained with 1,000,000 samples which were extracted from the train split. The vocabulary size is set to 32,000. A `add_dummy_prefix` option is set to `True` because words are not separated by whitespaces in Japanese. After training, the model is imported to `transformers.DebertaV2Tokenizer` because it supports SentencePiece models and its behavior is consistent when `use_fast` option is set to `True` or `False`. **Note:** The meaning of "consistent" here is as follows. For example, AlbertTokenizer provides AlbertTokenizer and AlbertTokenizerFast. Fast model is used as default. However, the tokenization behavior between them is different and a behavior this mdoel expects is the verions of not fast. Although `use_fast=False` option passing to AutoTokenier or pipeline solves this problem to force to use not fast version of the tokenizer, this option cannot be passed to config.json or model card. Therefore unexpected behavior happens when using Inference API. To avoid this kind of problems, `transformers.DebertaV2Tokenizer` is used in this model. ## Training Training details are as follows. * gradient update is every 256 samples (batch size: 8, accumulate_grad_batches: 32) * gradient clip norm is 1.0 * Learning rate starts from 0 and linearly increased to 0.0001 in the first 10,000 steps * The training set contains around 20M samples. Because 80k * 256 ~ 20M, 1 epochs has around 80k steps. Trainind was conducted on Ubuntu 18.04.5 LTS with one RTX 2080 Ti. The training continued until validation loss got worse. Totally the number of training steps were around 214k. The test set loss was 2.80 . Training code is available in [a GitHub repository](https://github.com/colorfulscoop/bert-ja). ## Usage First, install dependecies. ```sh $ pip install torch==1.8.0 transformers==4.8.2 sentencepiece==0.1.95 ``` Then use `transformers.pipeline` to try mask fill task. ```sh >>> import transformers >>> pipeline = transformers.pipeline("fill-mask", "colorfulscoop/bert-base-ja", revision="v1.0") >>> pipeline("専門として[MASK]を専攻しています") [{'sequence': '専門として工学を専攻しています', 'score': 0.03630176931619644, 'token': 3988, 'token_str': '工学'}, {'sequence': '専門として政治学を専攻しています', 'score': 0.03547220677137375, 'token': 22307, 'token_str': '政治学'}, {'sequence': '専門として教育を専攻しています', 'score': 0.03162326663732529, 'token': 414, 'token_str': '教育'}, {'sequence': '専門として経済学を専攻しています', 'score': 0.026036914438009262, 'token': 6814, 'token_str': '経済学'}, {'sequence': '専門として法学を専攻しています', 'score': 0.02561848610639572, 'token': 10810, 'token_str': '法学'}] ``` Note: specifying a `revision` option is recommended to keep reproducibility when downloading a model via `transformers.pipeline` or `transformers.AutoModel.from_pretrained` . ## License Copyright (c) 2021 Colorful Scoop All the models included in this repository are licensed under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/). **Disclaimer:** The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output. --- This model utilizes the following data as training data * **Name:** ウィキペディア (Wikipedia): フリー百科事典 * **Credit:** https://ja.wikipedia.org/ * **License:** [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) * **Link:** https://ja.wikipedia.org/
[ 0.017538022249937057, -0.03163734823465347, -0.01421730499714613, 0.051099732518196106, 0.025809062644839287, 0.027949517592787743, 0.015170061029493809, -0.008326544426381588, -0.05396910384297371, 0.0768917053937912, 0.0032801316119730473, -0.01654188334941864, 0.025804003700613976, 0.032378848642110825, -0.04457485303282738, -0.02123715914785862, -0.012508543208241463, -0.011012268252670765, -0.04390236362814903, -0.0211980938911438, 0.009228299371898174, 0.0020927281584590673, 0.006559650879353285, 0.023090394213795662, 0.006659287493675947, 0.009975803084671497, -0.019355161115527153, 0.01588072068989277, 0.013930010609328747, -0.06142358109354973, -0.0067874975502491, -0.027547359466552734, -0.04636131972074509, -0.028796738013625145, -0.02234284020960331, -0.021562127396464348, -0.0165559109300375, 0.005584463477134705, 0.02274363860487938, 0.05515362694859505, -0.01078490074723959, 0.008335212245583534, -0.0023933181073516607, -0.02161773107945919, 0.04159615561366081, 0.0025109683629125357, -0.046095624566078186, -0.0006142626516520977, 0.04914125055074692, -0.006755786947906017, -0.052495088428258896, -0.06491240113973618, -0.04154028743505478, 0.021770797669887543, -0.024813201278448105, -0.013328826054930687, -0.06554321944713593, -0.012768036685883999, 0.0644826889038086, -0.04208764806389809, -0.03776337206363678, 0.02082815207540989, -0.03873216733336449, 0.03386157378554344, 0.016020212322473526, -0.03562532737851143, 0.011081898584961891, -0.058154765516519547, 0.04299572855234146, -0.019387105479836464, 0.05042010918259621, -0.031237898394465446, 0.01135541032999754, -0.09843748062849045, -0.015712620690464973, 0.003410206874832511, 0.0220903642475605, 0.03430308774113655, -0.023545974865555763, 0.05921902880072594, -0.0003667026467155665, 0.004860620014369488, 0.03963533788919449, 0.010058366693556309, -0.011890522204339504, 0.04695522412657738, -0.04765162989497185, 0.0008328097756020725, 0.001780141144990921, 0.05116084963083267, -0.0388534851372242, -0.00856337882578373, -0.0250067338347435, -0.022197237238287926, -0.032099705189466476, 0.025177625939249992, 0.03936349228024483, -0.010034303180873394, 0.03418387845158577, 0.008434849791228771, 0.010838933289051056, 0.04911676421761513, -0.005639027338474989, 0.06405390799045563, -0.00567874638363719, 0.007788074668496847, -0.009428871795535088, -0.019971825182437897, -0.04702932387590408, 0.0378170982003212, 0.0013506182003766298, -0.03125329688191414, -0.05259735509753227, 0.03594484552741051, 0.046444013714790344, -0.04958039149641991, 0.03848642483353615, -0.008924923837184906, -0.038968902081251144, -0.03359007462859154, 0.052794259041547775, 0.004375992808490992, -0.0010705584427341819, -0.00014847000420559198, -0.037152618169784546, 0.023441342636942863, -0.0249515138566494, -0.01227386761456728, 0.010497999377548695, 0.015446903184056282, -0.005228511057794094, 0.034521911293268204, 0.028004443272948265, -0.048882171511650085, -0.005243163555860519, 0.002127694198861718, -0.08288679271936417, 0.052409783005714417, 0.03464961796998978, 0.11196690797805786, -0.058736179023981094, -0.0354410782456398, 0.0029518338851630688, 0.031908560544252396, 0.0005576583207584918, -0.002406812272965908, 0.016191251575946808, -0.025114526972174644, -0.011017567478120327, 0.0025394009426236153, 0.06081598252058029, -0.03474908694624901, -0.009155797772109509, 0.05382407829165459, -0.022588860243558884, 0.05043553188443184, -0.058608584105968475, -0.01214226707816124, 0.03539501503109932, -0.020876381546258926, -0.04052726551890373, 0.01883661560714245, -0.012353750877082348, -0.022733228281140327, -0.017877861857414246, -0.02459258958697319, -0.025060312822461128, 0.07775212824344635, -0.013679148629307747, -0.022755814716219902, -0.04679279774427414, 0.02242462709546089, 0.051635753363370895, 0.024598753079771996, -0.03379569202661514, 0.036373768001794815, 0.04980740323662758, 0.05196419358253479, -0.02020980231463909, 0.047945231199264526, 0.01581677794456482, -0.005984073504805565, -0.03204391151666641, 0.029590805992484093, 0.006795298773795366, -0.033017661422491074, 0.0324251763522625, 0.01898137852549553, -0.004506258759647608, -0.037190571427345276, -0.02211429737508297, 0.07040508836507797, 0.010758630000054836, -0.0004272416699677706, 0.0106898108497262, 0.012352559715509415, -0.02688211016356945, 0.027466142550110817, -0.04065929725766182, 0.006756777875125408, -0.031161349266767502, -0.0324706956744194, 0.021174047142267227, 0.028897913172841072, 0.05491896718740463, 0.03946225717663765, 0.008650213479995728, 0.08013568818569183, -0.02523704245686531, 0.025951549410820007, -0.056515514850616455, -0.03882797062397003, 0.00392996147274971, 0.04048600047826767, 0.015290106646716595, 0.0452917143702507, -0.0032495716586709023, -0.01567663997411728, -0.0006689754663966596, 0.08332329243421555, 0.05146223306655884, 0.033996641635894775, -0.04697146639227867, 0.003873269772157073, 0.021661236882209778, 0.0676117092370987, -0.047147851437330246, -0.042495038360357285, 0.01423573400825262, 0.03493010252714157, -0.014660004526376724, 0.006483167409896851, 0.005717330612242222, 0.01904485747218132, -0.03245854005217552, -0.07390318810939789, 0.03871455416083336, 0.029673242941498756, 0.009759344160556793, 0.03774255886673927, -0.009046409279108047, 0.007906847633421421, 0.03176334500312805, 0.025337262079119682, 0.004293188452720642, -0.058253563940525055, 0.0021332150790840387, 0.026996875181794167, 0.05464275926351547, -0.04023206979036331, 0.0360310859978199, -0.0018311478197574615, 0.011800550855696201, 0.03680877387523651, -0.014713757671415806, 0.0229618102312088, 0.03587695211172104, 0.013686224818229675, -0.04570439085364342, 0.010757682844996452, 0.03257175534963608, 0.03946956992149353, 0.07568704336881638, 0.028703052550554276, 0.06547481566667557, 0.0206921249628067, 0.06497333198785782, 0.09126546233892441, 0.02820410206913948, 0.021234288811683655, 0.030839892104268074, 0.07538201659917831, -0.0071355546824634075, -0.006677074823528528, 0.07720164209604263, -0.022300999611616135, 0.015848344191908836, -0.03275047987699509, 0.019409282132983208, 0.005350927356630564, -0.013047664426267147, 0.008303551934659481, 0.025157613679766655, -0.014656909741461277, 0.0022331865038722754, -0.007437789812684059, -0.005085891578346491, 0.05097828432917595, 0.0006130434921942651, 0.01065494492650032, 0.007723331451416016, -0.02546105533838272, -0.008362848311662674, -0.07489834725856781, -0.05891317501664162, 0.002366364235058427, -0.02157381922006607, -0.010854742489755154, -0.08678259700536728, -0.029637238010764122, -0.07041537016630173, -0.03752917796373367, 0.02377452328801155, 0.027406634762883186, -0.03452455624938011, -0.008326416835188866, 0.0072690993547439575, -0.04674594849348068, -0.032540276646614075, -0.05655158683657646, -0.043563153594732285, -0.06140068173408508, -0.0862177163362503, 0.030937377363443375, 0.0259818397462368, 0.010011543519794941, 0.0037972615100443363, 0.0004645052831619978, -0.013703216798603535, -0.0367160364985466, 0.040489766746759415, 0.019188445061445236, -0.026224467903375626, -0.024760030210018158, 0.04299052804708481, -0.034034617245197296, 0.022653954103589058, -0.0037357353139668703, -0.007420758251100779, 0.053786490112543106, 0.0657966360449791, 0.017674723640084267, 0.0016638784436509013, -0.023673199117183685, -0.03695552796125412, -0.06850310415029526, -0.05406837537884712, -0.0495341457426548, -0.021917017176747322, -0.04672481119632721, -0.05963900312781334, -0.006539222784340382, -0.031304147094488144, 0.005390899255871773, -0.0026504292618483305, 0.020583318546414375, 0.04474830999970436, 0.04729821905493736, 0.04434606060385704, 0.039001401513814926, -0.038880910724401474, -0.013575420714914799, 0.08221767842769623, 0.0005048344028182328, 0.03033514693379402, -0.06842316687107086, -0.02483987994492054, 0.04134439304471016, 0.019062364473938942, -0.01132727600634098, -0.020297624170780182, 0.07378857582807541, 0.01711084507405758, -0.01465084683150053, 0.010986139066517353, -0.023063000291585922, -0.019060129299759865, 0.0012497612042352557, -0.007963058538734913, -0.02059362642467022, -0.05266226828098297, -0.02401031367480755, -0.014157561585307121, 0.02789757214486599, -0.06798021495342255, -0.058687929064035416, -0.010221724398434162, 0.02804255299270153, 0.03092172183096409, 0.006799745839089155, -0.03926157206296921, 0.00012634240556508303, -0.043479155749082565, -0.028016673400998116, 0.02792160026729107, -0.006416746415197849, 0.02038067951798439, 0.04423529654741287, 0.00850976724177599, -0.021975362673401833, 0.03538289666175842, 0.03530795872211456, 0.04507845640182495, 0.009105031378567219, -0.055290933698415756, 0.024097897112369537, -0.026362910866737366, 0.017122451215982437, 0.0012040833244100213, -0.007040797267109156, -0.053836889564991, -0.06420248001813889, -0.0010863590287044644, 0.007040327414870262, -0.020998476073145866, -0.010897070169448853, 0.0445183701813221, -0.028833288699388504, 0.000788994540926069, -0.010331107303500175, 0.029671959578990936, 0.0351727232336998, -0.04819779098033905, 0.06468091905117035, 0.011469658464193344, 0.03599271923303604, -0.08531099557876587, -0.013376191258430481, -0.02536126784980297, -0.016843700781464577, 0.009506836533546448, 0.06723049283027649, 0.014813116751611233, 0.05402257665991783, 0.0747397318482399, 0.046484217047691345, -0.03120768815279007, 0.04010269418358803, 0.04277230426669121, 0.008933935314416885, -0.0438409186899662, 0.006387664005160332, -0.01995949260890484, -0.0437893271446228, -0.002646085573360324, -0.04336865618824959, 0.03987496718764305, 0.025039616972208023, -0.020296435803174973, -0.010978522710502148, 0.004116715397685766, -0.009865173138678074, -0.03320350870490074, -0.07312609255313873, -0.0037759968545287848, 0.006656969431787729, -0.02449571155011654, 0.035615768283605576, 0.02852078154683113, 0.025540878996253014, 0.05349916219711304, 0.03639786317944527, -0.0370820127427578, -0.015331028029322624, 0.053545258939266205, 0.029459180310368538, -0.04496172070503235, -0.06587622314691544, -0.03964455425739288, 0.04631681367754936, 0.049101319164037704, -0.031888462603092194, -0.09179440140724182, -0.011315451934933662, 0.03558697924017906, -0.03905292972922325, 0.0660378634929657, 0.010077530518174171, 0.060151856392621994, 0.07291810214519501, -0.02938942238688469, 0.03639823943376541, -0.010908782482147217, 0.004319195635616779, -0.011351230554282665, 0.03265104815363884, -0.03278888389468193, -0.04845939576625824, -0.04421183839440346, 0.024410882964730263, 0.017768429592251778, 0.039705850183963776, 0.03640439361333847, -0.02194090001285076, -0.06949132680892944, 0.0011128921760246158, 0.023216785863041878, -0.04419982060790062, 0.0003201811050530523, 0.026289811357855797, 0.05041880905628204, -0.05585939809679985, -0.03723480924963951, -0.037341486662626266, 0.013353126123547554, 0.02288566157221794, 0.0040254490450024605, -0.023515762761235237, -0.055734213441610336, 0.016045428812503815, -0.009598354808986187, -0.020367903634905815, -0.08731886744499207, 0.03059786558151245, 0.005701697431504726, 0.0038772602565586567, 0.04456503316760063, 0.022224675863981247, 0.05075712129473686, 0.04734611138701439, -0.004636535421013832, 0.003578013274818659, -0.05297268554568291, 0.023775944486260414, -0.031622640788555145, 0.0008032055920921266, 0.006105428095906973, -0.04271962121129036, -0.007664532866328955, -0.03251597657799721, -0.050984933972358704, -0.048011258244514465, -0.016042685136198997, 0.02753429301083088, -0.006483262870460749, -0.0018348245648667216, -0.01094522699713707, 0.030514100566506386, -0.05169437825679779, -0.029126746580004692, -0.012849834747612476, -0.03605521470308304, -0.07293832302093506, -0.037745401263237, 0.024509698152542114, 0.033207666128873825, 0.01662261225283146, 0.02500004507601261, -0.0032753106206655502, 0.018135465681552887, 0.0012868659105151892, -0.04319499433040619, 0.008332831785082817, 0.011787362396717072, -0.051569435745477676, -0.029547613114118576, 0.013680367730557919, 0.03230509161949158, 0.006191560532897711, -0.04237433150410652, 0.0026763228233903646, 0.021856198087334633, -0.017441371455788612, -0.024966156110167503, 0.014018218964338303, 0.02934115007519722, -0.08152954280376434, -0.03996243327856064, 0.02472389116883278, -0.053644463419914246, 0.04505031183362007, -0.019851358607411385, -0.03849009796977043, 0.02557927556335926, 0.02076548896729946, 0.03283502534031868, -0.014516816474497318, -0.031227266415953636, 0.05003775656223297, -0.018336782231926918, 0.019012071192264557, -0.06375204771757126, 0.027941403910517693, -0.03682035580277443, -0.008519792929291725, -0.011722653172910213, -0.000041477753256913275, -0.042120300233364105, 0.02811148576438427, 0.009367594495415688, -0.020626628771424294, -0.01967230997979641, 0.010981758125126362, -0.04433053731918335, 0.039694804698228836, -0.0006693874020129442, 0.02328435890376568, -0.007404001895338297, 0.05420409515500069, -0.06458678841590881, 0.006581937428563833, -0.018923861905932426, -0.0008034536149352789, -0.04106820374727249, -0.009102321229875088, -0.021588344126939774, -0.04217242822051048, 0.004612107761204243, 0.03420749679207802, 0.035183437168598175, 0.0443645603954792, -0.017203286290168762, 0.02675497531890869, 0.030007094144821167, -0.06298569589853287, -0.0286572203040123, -0.020968090742826462, 0.000007938379894767422, -0.01090520340949297, 0.0793091356754303, 0.060796331614255905, -0.057007331401109695, -0.04492209851741791, 0.042418964207172394, 0.012509750202298164, 0.004247644450515509, -0.013109726831316948, 0.04288288950920105, 0.043222200125455856, 0.04724981635808945, -0.05089622363448143, -0.018359996378421783, -0.014402506873011589, -0.03452375903725624, 0.02534165047109127, 0.003815046511590481, 0.02575702965259552, -0.011392451822757721, -0.03414091840386391, -0.03855668753385544, 0.048695147037506104, 0.024954644963145256, 0.03542919456958771, -0.008783284574747086, -0.055226948112249374, 0.016007715836167336, -0.0013252191711217165, -0.0634785145521164, 0.0063239810988307, 0.02553669922053814, -0.03286147490143776, 0.06039101630449295, -0.0039138998836278915, 0.01678537204861641, 0.052780669182538986, 0.018626324832439423, -0.018653761595487595, 0.03224978223443031, -0.027096392586827278, 0.0037359234411269426, 0.051766157150268555, -0.04770893603563309, -0.01505381427705288, -0.030207527801394463, 0.053290992975234985, -0.06265675276517868, 0.031884197145700455, 0.028371969237923622, 0.01695866510272026, 0.02060774713754654, -0.015401137992739677, -0.04645879566669464, 0.0324287936091423, -0.02445199526846409, 0.09382330626249313, 0.025199998170137405, -0.057660091668367386, 0.056103676557540894, 0.0010186814470216632, -0.08059314638376236, 0.03971771523356438, 0.035340745002031326, 0.052195001393556595, 0.020402584224939346, 0.0526377409696579, -0.05377402529120445, -0.0011316502932459116, -0.04433194175362587, 0.022713877260684967, -0.04623137041926384, -0.019947458058595657, 0.030937504023313522, -0.05805911868810654, -0.01566886715590954, 0.01663193479180336, -0.029198622331023216, 0.008127717301249504, 0.02596181444823742, -0.0610741563141346, -0.06023765355348587, -0.003251406829804182, 0.021828873082995415, -0.03966555371880531, -0.020229926332831383, -0.029422812163829803, 0.018127379938960075, 0.025625405833125114, -0.0010491354623809457, -0.06263034790754318, 0.007247402798384428, 0.031919315457344055, -0.0723828598856926, -0.045386046171188354, 0.031118694692850113, 0.02123829908668995, -0.03358859196305275, 0.053554873913526535, -0.008571352809667587, 0.015992602333426476, 0.022986136376857758, 0.009892401285469532, 0.027784259989857674, -0.0527619905769825, 0.01137606706470251, 0.020274994894862175, 0.018430747091770172, 0.04003678634762764, -0.013041266240179539, 0.017254671081900597, 0.017353374511003494, 0.03351815044879913, -0.0027445037849247456, -0.059534791857004166, -0.027500469237565994, 0.028457175940275192, -0.05124640464782715, 0.004091490525752306, 0.005524204578250647, -0.05313189700245857, -0.05422651767730713, -0.02201034501194954, -0.018270716071128845, 0.03666548430919647, -0.054582379758358, 0.02052239328622818, 0.03132844716310501, -0.026686159893870354, -0.04475909471511841, -0.08876276761293411, -0.03202339634299278, -0.03421727940440178, 0.01373667549341917, 0.01946401037275791, -0.032637644559144974, 0.01555005181580782, -0.0465046763420105, -0.047716252505779266, 0.037336282432079315, 0.021312246099114418, -0.03809604048728943, 0.03208936005830765, 0.05697403848171234, -0.028067536652088165, 0.02291189134120941, 0.057412371039390564, -0.03357555717229843, 0.025857677683234215, 0.008667409420013428, 0.008620570413768291, 0.02637295238673687, 0.04086039960384369, -0.027484426274895668, -0.0290896724909544, -0.0690249353647232, -0.04986511915922165, -0.027459342032670975, 0.0033015150111168623, 0.06795641779899597 ]
AnonymousSub/cline-emanuals-s10-SR
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- language: ja datasets: wikipedia widget: - text: 統計的機械学習でのニューラルネットワーク license: cc --- # GPT-2 small Japanese model This repository contains a GPT2-small model trained on Japanese Wikipedia dataset. ## Training data [Japanese Wikipedia](https://ja.wikipedia.org/wiki/Wikipedia:データベースダウンロード) dataset as of Aug20, 2021 released under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) is used for both tokenizer and GPT-2 model. We splitted the dataset into three subsets - train, valid and test sets. Both tokenizer and model were trained on the train set. Train set contains around 540M tokens. ## Model description The model architecture is the same as GPT-2 small model (n_ctx: 1024, n_embd 768, n_head: 12, n_layer: 12) except for a vocabulary size. The vocabulary size is set to 32,000 instead of an original size of 50,257. `transformers.GPT2LMHeadModel` is used for training. ## Tokenizer description [SentencePiece](https://github.com/google/sentencepiece) is used as a tokenizer for this model. We utilized 1,000,000 sentences from train set. The vocabulary size was 32,000. A `add_dummy_prefix` option was set to `True` because Japanese words are not separated by whitespaces. After training, the tokenizer model was imported as `transformers.BERTGenerationTokenizer` because it supports SentencePiece models and it does not add any special tokens as default, which is useful expecially for a text generation task. ## Training The model was trained on the train set for 30 epochs with batch size 32. Each sample contained 1024 tokens. We utilized Adam optimizer. Learning rate was linearly increased from `0` to `1e-4` during the first 10,000 steps. A clip norm was set to `1.0`. Test set perplexity of the trained model was 29.13. Please refer to [GitHub](https://github.com/colorfulscoop/gpt-ja) for more training details. ## Usage First, install dependecies. ```sh $ pip install transformers==4.10.0 torch==1.8.1 sentencepiece==0.1.96 ``` Then use pipeline to generate sentences. ```sh >>> import transformers >>> pipeline = transformers.pipeline("text-generation", "colorfulscoop/gpt2-small-ja") >>> pipeline("統計的機械学習でのニューラルネットワーク", do_sample=True, top_p=0.95, top_k=50, num_return_sequences=3) ``` **Note:** The default model configuration `config.json` sets parameters for text generation with `do_sample=True`, `top_k=50`, `top_p=0.95`. Please set these parameters when you need to use different parameters. ## Versions We recommend to specify `revision` to load the model for reproducibility. | Revision | Date of Wikipedia dump | | --- | --- | | 20210820.1.0 | Aug 20, 2021 | | 20210301.1.0 | March 1, 2021 | You can specify `revision` as follows. ```py # Example of pipeline >>> transformers.pipeline("text-generation", "colorfulscoop/gpt2-small-ja", revision="20210820.1.0") # Example of AutoModel >>> transformers.AutoModel.from_pretrained("colorfulscoop/gpt2-small-ja", revision="20210820.1.0") ``` ## License All the models included in this repository are licensed under [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/). **Disclaimer:** The model potentially has possibility that it generates similar texts in the training data, texts not to be true, or biased texts. Use of the model is at your sole risk. Colorful Scoop makes no warranty or guarantee of any outputs from the model. Colorful Scoop is not liable for any trouble, loss, or damage arising from the model output. **Author:** Colorful Scoop
[ 0.014580569230020046, -0.04439176619052887, -0.012151066213846207, 0.062186647206544876, 0.03026086650788784, 0.018704332411289215, 0.017609022557735443, -0.0007705881725996733, -0.03870585933327675, 0.06501654535531998, 0.015074673108756542, -0.0075542316772043705, 0.007860342971980572, 0.04035532474517822, -0.04325653612613678, -0.03183821216225624, -0.023615507408976555, -0.014761561527848244, -0.04388535022735596, -0.01838163286447525, -0.0034541666973382235, 0.007541240658611059, -0.003242168575525284, 0.008734960108995438, -0.009422813542187214, 0.014711667783558369, -0.007069407496601343, 0.0037707663141191006, 0.0160561203956604, -0.06827846169471741, -0.007624642923474312, -0.02391641214489937, -0.044870391488075256, -0.02084405906498432, -0.01615283079445362, -0.03105277195572853, -0.01329890638589859, -0.003433236153796315, 0.02147485874593258, 0.06583690643310547, -0.018343210220336914, 0.010594549588859081, 0.004187565762549639, -0.029923629015684128, 0.03592558205127716, -0.001066694501787424, -0.034652307629585266, -0.007092687766999006, 0.04107600450515747, -0.002791136968880892, -0.044945571571588516, -0.07384619116783142, -0.04215623810887337, 0.017156366258859634, -0.02352164126932621, -0.024760205298662186, -0.08409279584884644, -0.01955483667552471, 0.06707798689603806, -0.03826972469687462, -0.039435431361198425, 0.019019415602087975, -0.040082719177007675, 0.038295432925224304, 0.026214778423309326, -0.03205884248018265, 0.009680581279098988, -0.05680869519710541, 0.03328479081392288, -0.024286741390824318, 0.04239807650446892, -0.02473849058151245, 0.022832663729786873, -0.11662190407514572, -0.02552521787583828, 0.0015714038163423538, 0.023869242519140244, 0.04534243419766426, -0.029117221012711525, 0.05888824537396431, 0.004916121251881123, 0.011942630633711815, 0.0373481921851635, 0.018797043710947037, -0.02798224799335003, 0.04353402927517891, -0.046171125024557114, 0.0066380612552165985, -0.006169086787849665, 0.053022753447294235, -0.04949835315346718, -0.017864180728793144, -0.032442450523376465, -0.020092260092496872, -0.034691277891397476, 0.021834902465343475, 0.030857928097248077, -0.00543184345588088, 0.04118975251913071, 0.020928625017404556, 0.021632200106978416, 0.04445410147309303, -0.013515878468751907, 0.03973498195409775, 0.0030948531348258257, 0.021901927888393402, -0.012921521440148354, -0.03881480544805527, -0.04127197340130806, 0.03953414410352707, 0.005608513019979, -0.027589188888669014, -0.06463241577148438, 0.024824392050504684, 0.031181158497929573, -0.05769471451640129, 0.04141061753034592, -0.013055405579507351, -0.02670762687921524, -0.04553670808672905, 0.044751547276973724, 0.00876852311193943, 0.002066907240077853, -0.001462648157030344, -0.047568563371896744, 0.02938341163098812, -0.032369256019592285, -0.019209064543247223, 0.005149151664227247, 0.01620221883058548, -0.02062240056693554, 0.03524956852197647, 0.02097141742706299, -0.03942549228668213, -0.004088796209543943, 0.003931351006031036, -0.06802120059728622, 0.048389121890068054, 0.03204670175909996, 0.10207151621580124, -0.06218523159623146, -0.03694551810622215, 0.0169377364218235, 0.01976974681019783, 0.007980125024914742, -0.005216226913034916, 0.007144339848309755, -0.04374217614531517, -0.011870596557855606, 0.01004217192530632, 0.05533874034881592, -0.031022630631923676, -0.014514516107738018, 0.05781111866235733, -0.019051795825362206, 0.04400014877319336, -0.05940010026097298, -0.012353402562439442, 0.029689971357584, -0.023064587265253067, -0.03666822984814644, 0.030294355005025864, -0.011458877474069595, -0.007964429445564747, -0.04116903617978096, -0.029444437474012375, -0.02296220138669014, 0.0770789161324501, -0.008815879933536053, -0.02892320603132248, -0.03914578631520271, 0.025401266291737556, 0.06149962916970253, 0.02650267817080021, -0.029349355027079582, 0.029938209801912308, 0.04829249903559685, 0.05316219478845596, -0.02186298370361328, 0.055046260356903076, 0.002629900583997369, -0.01868094876408577, -0.028894485905766487, 0.023804711177945137, 0.017159216105937958, -0.04355888441205025, 0.01723221316933632, 0.014977531507611275, 0.0005569364293478429, -0.04095424711704254, -0.01052031572908163, 0.0775994062423706, -0.000038699199649272487, 0.001850171247497201, 0.01893988624215126, 0.01286371611058712, -0.03473276644945145, 0.04640723019838333, -0.029117401689291, 0.0024991296231746674, -0.02878456935286522, -0.033945631235837936, 0.007834581658244133, 0.03189528360962868, 0.056168247014284134, 0.029227441176772118, 0.002232768340036273, 0.08768667280673981, -0.0135576156899333, 0.009814124554395676, -0.04093308374285698, -0.04525276646018028, 0.0034784218296408653, 0.03472796827554703, 0.00335104251280427, 0.04999477043747902, 0.008264373056590557, -0.02028656005859375, 0.017607808113098145, 0.0852414146065712, 0.05373730883002281, 0.04409237578511238, -0.04098321497440338, 0.007263316307216883, 0.026876775547862053, 0.06995987147092819, -0.03657516837120056, -0.040558937937021255, 0.0326320081949234, 0.03433762118220329, -0.016492418944835663, 0.014858772046864033, 0.012561465613543987, 0.012051393277943134, -0.028945446014404297, -0.07926509529352188, 0.024545414373278618, 0.024670623242855072, 0.01874699257314205, 0.040129490196704865, -0.016388313844799995, 0.017600400373339653, 0.03079180046916008, -0.004389374982565641, 0.0010480209020897746, -0.06857287883758545, 0.0003548857639543712, 0.03564440459012985, 0.03497898206114769, -0.04362500086426735, 0.029824523255228996, -0.0024450551718473434, 0.005688498727977276, 0.03690008446574211, -0.03199772164225578, 0.020257452502846718, 0.024934008717536926, 0.002169425133615732, -0.037184394896030426, 0.017450176179409027, 0.020904166623950005, 0.03785046562552452, 0.0688401535153389, 0.022564906626939774, 0.06603971868753433, 0.019370639696717262, 0.06844771653413773, 0.09290404617786407, 0.031185846775770187, 0.02067422866821289, 0.03313679248094559, 0.0722259059548378, -0.01369783841073513, -0.0007553871837444603, 0.06584203988313675, -0.03512587770819664, 0.011345441453158855, -0.0167092252522707, 0.024371150881052017, 0.009282760322093964, -0.009481222368776798, 0.02308076061308384, 0.027382098138332367, -0.015131295658648014, 0.026675326749682426, -0.03009599819779396, -0.013081643730401993, 0.02437336929142475, -0.010390901938080788, 0.006892911158502102, 0.0008467776351608336, -0.02676711603999138, -0.0005038127419538796, -0.07895461469888687, -0.05577562004327774, -0.000002952475824713474, -0.012273091822862625, -0.015354761853814125, -0.09227152913808823, -0.020183300599455833, -0.07403380423784256, -0.020277114585042, 0.026429373770952225, 0.01799795590341091, -0.01652642711997032, -0.016914688050746918, 0.016650814563035965, -0.04158281162381172, -0.026794588193297386, -0.05808711051940918, -0.045672256499528885, -0.058187007904052734, -0.0831557884812355, 0.03424438461661339, 0.01969018578529358, 0.0075561790727078915, 0.019466165453195572, 0.0025753916706889868, -0.013907292857766151, -0.033154137432575226, 0.03158137947320938, 0.03338317573070526, -0.03578118234872818, -0.03420292213559151, 0.05508405715227127, -0.0308871790766716, 0.02605603262782097, -0.010730708949267864, -0.003718955209478736, 0.05904373154044151, 0.06332603096961975, 0.01401463057845831, 0.022098276764154434, -0.01998741924762726, -0.03902725130319595, -0.06862924993038177, -0.0445035956799984, -0.04376114159822464, -0.022405236959457397, -0.0419359914958477, -0.06129458174109459, -0.0021717732306569815, -0.03331393748521805, 0.004151808563619852, -0.005405070260167122, 0.02381349727511406, 0.05174339935183525, 0.039492469280958176, 0.04078972339630127, 0.029928505420684814, -0.044530730694532394, -0.017654461786150932, 0.06646756827831268, 0.00412379764020443, 0.019510336220264435, -0.052331067621707916, -0.030098680406808853, 0.042269833385944366, 0.030645685270428658, -0.009159541688859463, -0.008064213208854198, 0.06840149313211441, 0.011133664287626743, -0.011229902505874634, 0.015016625635325909, -0.03597920387983322, -0.031239809468388557, 0.005752319935709238, -0.000795694999396801, -0.02273498848080635, -0.039633773267269135, -0.025282515212893486, -0.02162880450487137, 0.04232322424650192, -0.06381702423095703, -0.04285986348986626, 0.0023237434215843678, 0.0242654737085104, 0.021017147228121758, 0.01691427454352379, -0.026087140664458275, -0.006856868974864483, -0.040651410818099976, -0.021223047748208046, 0.020078904926776886, -0.0037012225948274136, 0.018850190564990044, 0.048404186964035034, 0.018760129809379578, -0.008883539587259293, 0.037271883338689804, 0.0303728636354208, 0.053374581038951874, 0.01385318860411644, -0.0437074713408947, 0.032391276210546494, -0.02245250530540943, 0.024288440123200417, 0.0018592701526358724, -0.004375932272523642, -0.04542665183544159, -0.0789412185549736, 0.0051406933926045895, 0.010567168705165386, -0.015529724769294262, 0.002168607898056507, 0.03717732056975365, -0.013354945927858353, -0.004436141345649958, -0.01734570413827896, 0.026262421160936356, 0.038466569036245346, -0.06631013005971909, 0.045248668640851974, 0.021048659458756447, 0.03656749427318573, -0.0953296646475792, -0.01784326881170273, -0.017923155799508095, -0.015397895127534866, 0.0074319131672382355, 0.07820272445678711, 0.010834102518856525, 0.04426896572113037, 0.07774247974157333, 0.03185337409377098, -0.02418891154229641, 0.041136402636766434, 0.04612097144126892, 0.004974339623004198, -0.029286501929163933, 0.0046327002346515656, -0.018584588542580605, -0.04504198953509331, -0.00631641736254096, -0.04769903048872948, 0.044901441782712936, 0.03688054531812668, -0.015828566625714302, -0.01316931564360857, 0.0020778740290552378, -0.010696272365748882, -0.023240210488438606, -0.0688311979174614, -0.026575028896331787, -0.005192119162529707, -0.03848637267947197, 0.022855285555124283, 0.020337961614131927, 0.02251463010907173, 0.05740771070122719, 0.04467888921499252, -0.03955487906932831, -0.028319459408521652, 0.04089639335870743, 0.03972465172410011, -0.05354045331478119, -0.0525909848511219, -0.051998987793922424, 0.04741644859313965, 0.05174689739942551, -0.031176278367638588, -0.09935663640499115, -0.012896574102342129, 0.025022057816386223, -0.03703199699521065, 0.06633082032203674, 0.006120349746197462, 0.05407004430890083, 0.06276783347129822, -0.013392571359872818, 0.029288163408637047, -0.011083279736340046, 0.008242967538535595, -0.008678851649165154, 0.04588373377919197, -0.02990058809518814, -0.04618312790989876, -0.04090311750769615, 0.03345685452222824, 0.020807920023798943, 0.039737530052661896, 0.027489937841892242, -0.011938294395804405, -0.0662584975361824, 0.0175019558519125, 0.011931207031011581, -0.040355976670980453, 0.0010349104413762689, 0.026737185195088387, 0.036700766533613205, -0.05372479185461998, -0.03565863519906998, -0.0443868450820446, 0.013571101240813732, 0.03228345885872841, -0.0024274857714772224, -0.015016735531389713, -0.048943471163511276, 0.004447040613740683, -0.005420325323939323, -0.010106369853019714, -0.0909930169582367, 0.02998838759958744, 0.0010595518397167325, -0.006733005866408348, 0.046083416789770126, 0.033680081367492676, 0.045336510986089706, 0.04675021767616272, -0.0013883380452170968, 0.022847741842269897, -0.05773226171731949, 0.02671598084270954, -0.01895613595843315, -0.005246184766292572, 0.004953175783157349, -0.03857054188847542, -0.0021267125848680735, -0.034715522080659866, -0.050143733620643616, -0.04512371867895126, -0.01791534014046192, 0.03605980426073074, -0.022506212815642357, 0.0064917923882603645, -0.009693644940853119, 0.038929637521505356, -0.053726326674222946, -0.035468459129333496, -0.023805949836969376, -0.036461617797613144, -0.07182220369577408, -0.03596207872033119, 0.03190841153264046, 0.030150413513183594, 0.031543198972940445, 0.01550318393856287, 0.0020939765963703394, 0.02169148437678814, -0.0013314918614923954, -0.03439454734325409, 0.028010627254843712, 0.01656350865960121, -0.024640437215566635, -0.03713398054242134, 0.009690143167972565, 0.03316265717148781, 0.0037176315672695637, -0.03631162643432617, 0.020050324499607086, 0.024102799594402313, -0.006855197250843048, -0.01904873177409172, -0.0038396043237298727, 0.02130792662501335, -0.07321779429912567, -0.047670140862464905, 0.017314616590738297, -0.054692525416612625, 0.02966756746172905, -0.020334042608737946, -0.020556706935167313, -0.0006096247234381735, 0.025269702076911926, 0.025350024923682213, -0.003499851329252124, -0.033813219517469406, 0.0416656993329525, -0.027825171127915382, 0.01121047418564558, -0.05712783709168434, 0.027678880840539932, -0.03405097499489784, -0.006225216202437878, -0.010880043730139732, 0.0037265566643327475, -0.03922620043158531, 0.017577918246388435, 0.005520540755242109, 0.0000915564814931713, -0.012267296202480793, 0.021676024422049522, -0.040813595056533813, 0.05743180215358734, -0.010538206435739994, 0.03221649304032326, -0.027433086186647415, 0.04579891264438629, -0.052467137575149536, -0.0025204254779964685, -0.025244252756237984, 0.001216400065459311, -0.04257830232381821, -0.02719692699611187, -0.02136567048728466, -0.03704153373837471, 0.00649546692147851, 0.052816495299339294, 0.03548159822821617, 0.03957165405154228, -0.010834460146725178, 0.016537003219127655, 0.03342936187982559, -0.06204193830490112, -0.01615208573639393, -0.021710190922021866, -0.0040619284845888615, -0.01341191679239273, 0.07211533933877945, 0.05023403465747833, -0.04778369143605232, -0.054274167865514755, 0.03577519580721855, 0.009062578901648521, 0.0026295098941773176, -0.008193068206310272, 0.03789052739739418, 0.03660627081990242, 0.041224464774131775, -0.05019816383719444, -0.025633221492171288, -0.024823516607284546, -0.04071655496954918, 0.036936044692993164, 0.00911913812160492, 0.020347656682133675, 0.005207671783864498, -0.04474235326051712, -0.029414616525173187, 0.03525232523679733, 0.03468155115842819, 0.03046056441962719, 0.0025595789775252342, -0.0599299818277359, 0.01159620564430952, -0.003510684473440051, -0.05742937698960304, 0.003445218550041318, 0.0126929497346282, -0.0372651033103466, 0.06715594977140427, -0.022080352529883385, 0.0193107258528471, 0.04791618511080742, 0.017966700717806816, -0.01899264007806778, 0.036439452320337296, -0.030601810663938522, -0.01556941494345665, 0.049412038177251816, -0.049497269093990326, -0.01430048979818821, -0.02860274352133274, 0.08189722150564194, -0.051107969135046005, 0.03576083853840828, 0.03371637687087059, 0.020722627639770508, 0.006575327832251787, -0.018778791651129723, -0.03858089819550514, 0.011850032024085522, -0.026950957253575325, 0.10049589723348618, 0.025410404428839684, -0.05652254447340965, 0.05872095376253128, 0.0064951893873512745, -0.07563215494155884, 0.037924230098724365, 0.05196574702858925, 0.05296526476740837, 0.03149585425853729, 0.0725337341427803, -0.05450812354683876, -0.013059034943580627, -0.048795003443956375, 0.018851064145565033, -0.03875055909156799, -0.014619406312704086, 0.026349855586886406, -0.06579326093196869, -0.020866861566901207, 0.022524485364556313, -0.02572247013449669, 0.0020700402092188597, 0.020708449184894562, -0.06413912773132324, -0.05520593374967575, -0.005825261119753122, 0.025453152135014534, -0.03784259408712387, -0.005680462345480919, -0.04096580669283867, 0.013254222460091114, 0.01271358598023653, -0.00960220955312252, -0.042510513216257095, 0.012134091928601265, 0.036812059581279755, -0.07100881636142731, -0.040550705045461655, 0.040254589170217514, 0.02834700047969818, -0.023735595867037773, 0.06497877091169357, -0.020438898354768753, 0.020296642556786537, 0.03809212148189545, 0.008412543684244156, 0.03060803934931755, -0.060098785907030106, 0.014115887694060802, 0.008814058266580105, 0.010674554854631424, 0.053827472031116486, -0.01004904042929411, 0.013990658335387707, 0.014447467401623726, 0.030267653986811638, -0.002790224738419056, -0.05628129467368126, -0.01570945233106613, 0.02773505449295044, -0.05163818970322609, 0.01243787445127964, 0.0013093157904222608, -0.06586462259292603, -0.040801383554935455, -0.0298230592161417, -0.01616552285850048, 0.03123968467116356, -0.05945619195699692, 0.010342196561396122, 0.0300244502723217, -0.012719353660941124, -0.032520268112421036, -0.07567420601844788, -0.03150402754545212, -0.028422843664884567, 0.012853801250457764, 0.013432390056550503, -0.03710264340043068, 0.03615058958530426, -0.057814739644527435, -0.058621592819690704, 0.03279546648263931, 0.03247038275003433, -0.04196559265255928, 0.04473467916250229, 0.05846215784549713, -0.03641803562641144, 0.020233262330293655, 0.0530969463288784, -0.03133663162589073, 0.04008197784423828, 0.015524506568908691, 0.012922068126499653, 0.03356553986668587, 0.03892820328474045, -0.022960279136896133, -0.0320872962474823, -0.081407330930233, -0.04880189150571823, -0.031182650476694107, 0.00029713427647948265, 0.058714039623737335 ]
AnonymousSub/cline
[ "pytorch", "roberta", "transformers" ]
null
{ "architectures": [ "LecbertForPreTraining" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- language: - cs license: apache-2.0 tags: - automatic-speech-recognition - generated_from_trainer - hf-asr-leaderboard - mozilla-foundation/common_voice_8_0 - robust-speech-event - xlsr-fine-tuning-week datasets: - mozilla-foundation/common_voice_8_0 - ovm - pscr - vystadial2016 model-index: - name: Czech comodoro Wav2Vec2 XLSR 300M 250h data results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 8 type: mozilla-foundation/common_voice_8_0 args: cs metrics: - name: Test WER type: wer value: 7.3 - name: Test CER type: cer value: 2.1 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Dev Data type: speech-recognition-community-v2/dev_data args: cs metrics: - name: Test WER type: wer value: 43.44 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Test Data type: speech-recognition-community-v2/eval_data args: cs metrics: - name: Test WER type: wer value: 38.5 --- # Czech wav2vec2-xls-r-300m-cs-250 This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice 8.0 dataset as well as other datasets listed below. It achieves the following results on the evaluation set: - Loss: 0.1271 - Wer: 0.1475 - Cer: 0.0329 The `eval.py` script results using a LM are: - WER: 0.07274312090176113 - CER: 0.021207369275558875 ## Model description Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Czech using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset. When using this model, make sure that your speech input is sampled at 16kHz. The model can be used directly (without a language model) as follows: ```python import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor test_dataset = load_dataset("mozilla-foundation/common_voice_8_0", "cs", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-250") model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-250") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits predicted_ids = torch.argmax(logits, dim=-1) print("Prediction:", processor.batch_decode(predicted_ids)) print("Reference:", test_dataset[:2]["sentence"]) ``` ## Evaluation The model can be evaluated using the attached `eval.py` script: ``` python eval.py --model_id comodoro/wav2vec2-xls-r-300m-cs-250 --dataset mozilla-foundation/common-voice_8_0 --split test --config cs ``` ## Training and evaluation data The Common Voice 8.0 `train` and `validation` datasets were used for training, as well as the following datasets: - Šmídl, Luboš and Pražák, Aleš, 2013, OVM – Otázky Václava Moravce, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, http://hdl.handle.net/11858/00-097C-0000-000D-EC98-3. - Pražák, Aleš and Šmídl, Luboš, 2012, Czech Parliament Meetings, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, http://hdl.handle.net/11858/00-097C-0000-0005-CF9C-4. - Plátek, Ondřej; Dušek, Ondřej and Jurčíček, Filip, 2016, Vystadial 2016 – Czech data, LINDAT/CLARIAH-CZ digital library at the Institute of Formal and Applied Linguistics (ÚFAL), Faculty of Mathematics and Physics, Charles University, http://hdl.handle.net/11234/1-1740. ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 0.0001 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 800 - num_epochs: 5 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | Cer | |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:| | 3.4203 | 0.16 | 800 | 3.3148 | 1.0 | 1.0 | | 2.8151 | 0.32 | 1600 | 0.8508 | 0.8938 | 0.2345 | | 0.9411 | 0.48 | 2400 | 0.3335 | 0.3723 | 0.0847 | | 0.7408 | 0.64 | 3200 | 0.2573 | 0.2840 | 0.0642 | | 0.6516 | 0.8 | 4000 | 0.2365 | 0.2581 | 0.0595 | | 0.6242 | 0.96 | 4800 | 0.2039 | 0.2433 | 0.0541 | | 0.5754 | 1.12 | 5600 | 0.1832 | 0.2156 | 0.0482 | | 0.5626 | 1.28 | 6400 | 0.1827 | 0.2091 | 0.0463 | | 0.5342 | 1.44 | 7200 | 0.1744 | 0.2033 | 0.0468 | | 0.4965 | 1.6 | 8000 | 0.1705 | 0.1963 | 0.0444 | | 0.5047 | 1.76 | 8800 | 0.1604 | 0.1889 | 0.0422 | | 0.4814 | 1.92 | 9600 | 0.1604 | 0.1827 | 0.0411 | | 0.4471 | 2.09 | 10400 | 0.1566 | 0.1822 | 0.0406 | | 0.4509 | 2.25 | 11200 | 0.1619 | 0.1853 | 0.0432 | | 0.4415 | 2.41 | 12000 | 0.1513 | 0.1764 | 0.0397 | | 0.4313 | 2.57 | 12800 | 0.1515 | 0.1739 | 0.0392 | | 0.4163 | 2.73 | 13600 | 0.1445 | 0.1695 | 0.0377 | | 0.4142 | 2.89 | 14400 | 0.1478 | 0.1699 | 0.0385 | | 0.4184 | 3.05 | 15200 | 0.1430 | 0.1669 | 0.0376 | | 0.3886 | 3.21 | 16000 | 0.1433 | 0.1644 | 0.0374 | | 0.3795 | 3.37 | 16800 | 0.1426 | 0.1648 | 0.0373 | | 0.3859 | 3.53 | 17600 | 0.1357 | 0.1604 | 0.0361 | | 0.3762 | 3.69 | 18400 | 0.1344 | 0.1558 | 0.0349 | | 0.384 | 3.85 | 19200 | 0.1379 | 0.1576 | 0.0359 | | 0.3762 | 4.01 | 20000 | 0.1344 | 0.1539 | 0.0346 | | 0.3559 | 4.17 | 20800 | 0.1339 | 0.1525 | 0.0351 | | 0.3683 | 4.33 | 21600 | 0.1315 | 0.1518 | 0.0342 | | 0.3572 | 4.49 | 22400 | 0.1307 | 0.1507 | 0.0342 | | 0.3494 | 4.65 | 23200 | 0.1294 | 0.1491 | 0.0335 | | 0.3476 | 4.81 | 24000 | 0.1287 | 0.1491 | 0.0336 | | 0.3475 | 4.97 | 24800 | 0.1271 | 0.1475 | 0.0329 | ### Framework versions - Transformers 4.16.2 - Pytorch 1.10.1+cu102 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.01916912943124771, -0.014627610333263874, -0.01912679895758629, 0.032860517501831055, 0.0562172457575798, 0.011393224820494652, -0.016551529988646507, -0.008980120532214642, -0.044095832854509354, 0.07098684459924698, 0.03873224928975105, -0.027008874341845512, 0.00521607743576169, 0.011777825653553009, -0.02137429639697075, -0.06380919367074966, -0.029219599440693855, -0.006563527509570122, -0.05958357825875282, -0.029102912172675133, -0.012388358823955059, 0.04143577814102173, -0.03514696657657623, 0.008949551731348038, 0.0029412636067718267, 0.015497364103794098, -0.02172069624066353, 0.019929060712456703, -0.01146857999265194, -0.058531198650598526, -0.02459830604493618, -0.03502199053764343, -0.042386092245578766, -0.0503506064414978, -0.017199544236063957, -0.010269722901284695, -0.001070071361027658, 0.042663462460041046, 0.026172535493969917, 0.05828656628727913, -0.007850517518818378, 0.02081654779613018, -0.011602843180298805, -0.016623269766569138, 0.034227609634399414, 0.001167684094980359, -0.04197514057159424, -0.02679244987666607, 0.03769722208380699, -0.03004300780594349, -0.041248634457588196, -0.06685055792331696, -0.0032164494041353464, 0.017769265919923782, -0.030843334272503853, -0.03447054699063301, -0.06788725405931473, -0.0011367769911885262, 0.07699764519929886, -0.04382899031043053, -0.017925795167684555, 0.02127448469400406, -0.06243951618671417, 0.012737189419567585, 0.024861665442585945, -0.05727958306670189, 0.004078460391610861, -0.04505699872970581, 0.04303916543722153, -0.014619584195315838, 0.05673752352595329, -0.04719715937972069, 0.02462289109826088, -0.07864886522293091, 0.018993359059095383, -0.010659637860953808, 0.03371359035372734, 0.04031335562467575, -0.023504499346017838, 0.057949405163526535, 0.016724757850170135, 0.01653439924120903, 0.028162017464637756, -0.0211630966514349, 0.0054272995330393314, 0.03555852547287941, -0.031035855412483215, 0.01653037965297699, 0.02020249143242836, 0.03420025482773781, -0.014954883605241776, -0.04505958780646324, -0.03003065660595894, -0.05127454176545143, 0.006809121463447809, 0.042959436774253845, 0.057927798479795456, -0.03428598493337631, 0.012707307003438473, 0.02503189630806446, 0.003962785936892033, 0.03987474367022514, -0.02556583657860756, 0.06072036549448967, -0.032631486654281616, -0.0019296150421723723, 0.0003906951751559973, -0.017580339685082436, -0.040463466197252274, 0.007081027142703533, 0.037754904478788376, -0.033754389733076096, -0.04492247477173805, 0.0340598002076149, 0.007360093295574188, -0.03170580416917801, 0.05214425176382065, -0.04678608104586601, -0.030863050371408463, -0.07360456138849258, 0.04074564576148987, 0.035611510276794434, 0.01109908428043127, 0.037479352205991745, -0.05223892629146576, 0.033870045095682144, -0.03526890277862549, -0.03846094012260437, 0.017143122851848602, 0.003389829769730568, 0.009926029480993748, 0.0432017482817173, 0.013189498335123062, -0.06313583999872208, -0.012348259799182415, -0.008801359683275223, -0.05711426958441734, 0.016359694302082062, 0.015216530300676823, 0.08147936314344406, -0.04602249339222908, -0.04415526241064072, 0.013089883141219616, 0.017928659915924072, -0.003429262200370431, 0.026711858808994293, 0.022708676755428314, -0.00403618672862649, -0.018446413800120354, 0.007677463814616203, 0.04680154472589493, -0.074698306620121, 0.01296388078480959, 0.061376698315143585, -0.02207290194928646, 0.0391862615942955, -0.027379896491765976, -0.03001580387353897, 0.014787347055971622, -0.019159505143761635, -0.011326153762638569, 0.03293432295322418, 0.01868012361228466, -0.029252881184220314, -0.029373304918408394, -0.04827958345413208, 0.010223259218037128, 0.0722869336605072, 0.008016970008611679, -0.014527824707329273, -0.04935356229543686, 0.01420397125184536, 0.052683573216199875, 0.017330022528767586, -0.03629932925105095, 0.036229830235242844, 0.0662357285618782, 0.05621841177344322, -0.019126178696751595, 0.07132410258054733, 0.019482135772705078, -0.019259106367826462, -0.04164627939462662, 0.013563178479671478, 0.009156410582363605, -0.03786104917526245, -0.010215946473181248, 0.05854859575629234, -0.012353014200925827, -0.04427330195903778, -0.036163318902254105, 0.06404662132263184, -0.046100664883852005, -0.01025003008544445, 0.00237600808031857, -0.018867287784814835, -0.02876020409166813, 0.04302027449011803, -0.01142978761345148, 0.000759502116125077, -0.022821856662631035, -0.04284201189875603, -0.003126960713416338, 0.026952849701046944, 0.011007986031472683, 0.043041717261075974, -0.011143014766275883, 0.09171303361654282, -0.03412066400051117, 0.008600632660090923, -0.03929855301976204, -0.06357482820749283, -0.024250628426671028, 0.05922018736600876, 0.026505708694458008, 0.08429023623466492, -0.0173423383384943, -0.04390214383602142, 0.02010568603873253, 0.06008723005652428, 0.06695300340652466, 0.006296130828559399, -0.02273104526102543, -0.012510854750871658, 0.033487718552351, 0.06044754013419151, -0.06163548678159714, -0.04145123064517975, -0.00315070990473032, 0.02414051443338394, -0.026368234306573868, -0.0006404735613614321, -0.010413438081741333, 0.03445420786738396, -0.05766651779413223, -0.07932177186012268, 0.07202470302581787, 0.013453715480864048, 0.018180001527071, 0.01842835545539856, -0.03879133611917496, 0.011790193617343903, 0.016385119408369064, 0.00906504224985838, -0.007208305411040783, -0.03169556334614754, 0.0165953878313303, 0.018224386498332024, 0.05040470138192177, -0.0701635479927063, 0.023991813883185387, -0.03290360048413277, 0.0077640158124268055, 0.037528492510318756, -0.048274554312229156, 0.04306909814476967, 0.022578317672014236, 0.02451809123158455, -0.043615587055683136, 0.011217535473406315, 0.008898742496967316, 0.03917175158858299, 0.04984497278928757, 0.002639778656885028, 0.058416739106178284, 0.012546003796160221, 0.05194193869829178, 0.07990622520446777, 0.03971279039978981, -0.003495661076158285, 0.012843913398683071, 0.06931154429912567, -0.0020686371717602015, -0.024489575996994972, 0.0822870284318924, -0.04925417900085449, 0.02847306989133358, -0.035194072872400284, -0.004542010836303234, 0.009138479828834534, -0.0020066366996616125, -0.0046195355243980885, -0.0013470310950651765, -0.010921681299805641, -0.0077941580675542355, -0.02698175422847271, -0.02529115229845047, 0.059811804443597794, -0.027529971674084663, -0.016759458929300308, 0.0038143880665302277, -0.015882158651947975, 0.001311280531808734, -0.06589731574058533, -0.04445089399814606, -0.005526892840862274, -0.03956644982099533, 0.03177361190319061, -0.0587812215089798, -0.02439924143254757, -0.06955299526453018, 0.005087291356176138, 0.030301028862595558, 0.033715516328811646, 0.002794416854158044, -0.027558619156479836, 0.002151950029656291, -0.051992904394865036, -0.052314382046461105, -0.053237613290548325, -0.013876550830900669, -0.024665342643857002, -0.06080907583236694, 0.03927362337708473, 0.02064959518611431, 0.056466955691576004, 0.0020753866992890835, 0.0068293120712041855, -0.030413035303354263, -0.029074233025312424, 0.0481126494705677, 0.04638463631272316, -0.044635917991399765, -0.05025511980056763, 0.022224605083465576, -0.028245912864804268, 0.016289955005049706, -0.003200261387974024, -0.028731349855661392, 0.0635017678141594, 0.0704093798995018, 0.023080144077539444, 0.035911675542593, -0.012314596213400364, -0.04133986309170723, -0.059403035789728165, -0.02830573543906212, -0.029963649809360504, -0.007664772681891918, -0.04453257471323013, -0.03491571918129921, 0.0055926782079041, -0.006788685452193022, -0.0010622661793604493, -0.0381915420293808, -0.008661115542054176, 0.04752340540289879, 0.030686451122164726, 0.031537096947431564, 0.030970145016908646, -0.025420090183615685, -0.04293026030063629, 0.08278565853834152, 0.027281953021883965, 0.004767742473632097, -0.07161612063646317, -0.030380161479115486, 0.012733621522784233, 0.02436559461057186, -0.012243757955729961, -0.008619400672614574, 0.07914949953556061, -0.0016173652838915586, -0.013553809374570847, 0.00023337030143011361, -0.0405799001455307, -0.01718202419579029, -0.017805032432079315, -0.019154895097017288, 0.0034798760898411274, -0.05241082236170769, 0.004760644398629665, 0.021587735041975975, 0.041710976511240005, -0.08107974380254745, -0.05044617876410484, -0.0033488203771412373, 0.03439753130078316, 0.0297202467918396, 0.000162176598678343, -0.040661487728357315, -0.002660909667611122, -0.0389382429420948, -0.036511097103357315, 0.005318459123373032, 0.036938950419425964, 0.005543549545109272, 0.04054732993245125, 0.015392141416668892, -0.039702728390693665, 0.032525479793548584, 0.03559742122888565, 0.06164597347378731, 0.029599536210298538, -0.050704002380371094, 0.016078954562544823, -0.024748552590608597, 0.011496620252728462, -0.005038405768573284, -0.017262669280171394, -0.04714387655258179, -0.07709281146526337, -0.023984599858522415, 0.028503846377134323, 0.0015763739356771111, -0.02788824774324894, 0.03481290861964226, -0.016375720500946045, 0.02023174799978733, 0.006700847297906876, 0.033204637467861176, 0.034197427332401276, -0.06477756798267365, 0.05544619634747505, -0.015700994059443474, 0.04038846865296364, -0.07675708085298538, 0.0031508535612374544, -0.02438570372760296, -0.019054068252444267, 0.021793611347675323, 0.0641227662563324, 0.024569641798734665, 0.04609636962413788, 0.07519149780273438, -0.00010408589150756598, -0.029814524576067924, 0.046554554253816605, 0.047918129712343216, -0.03489237278699875, -0.05555522069334984, 0.0013119048671796918, -0.018148254603147507, -0.037419214844703674, -0.0009857864351943135, -0.046202197670936584, 0.0369950495660305, 0.019687658175826073, 0.0024960648734122515, -0.019352292641997337, 0.03641127422451973, -0.03142206743359566, -0.02522497996687889, -0.04901599884033203, -0.06390556693077087, 0.027298137545585632, -0.01863684505224228, 0.04000766947865486, 0.05064554885029793, 0.003722642082720995, 0.053817637264728546, 0.03621712699532509, -0.04340017959475517, -0.03291218355298042, 0.04050741717219353, 0.025922805070877075, -0.03874066472053528, -0.05934585630893707, -0.01491943746805191, 0.056210506707429886, 0.025353562086820602, 0.005179090891033411, -0.07058238238096237, -0.0032241998706012964, 0.05908402055501938, -0.03495623916387558, 0.05207018926739693, -0.0191974900662899, 0.04271887242794037, 0.0562223456799984, -0.010690444149076939, 0.02151608094573021, -0.030862124636769295, 0.021797433495521545, 0.0189456045627594, 0.016297025606036186, -0.00858929380774498, -0.02313138172030449, -0.06036943942308426, 0.024151623249053955, 0.03288910537958145, 0.027458516880869865, 0.042406924068927765, -0.03066279925405979, -0.0350019745528698, -0.015551257878541946, 0.027476247400045395, -0.07072915881872177, 0.02452941983938217, 0.01920621283352375, 0.04241614788770676, -0.022069469094276428, -0.03335206210613251, 0.008142081089317799, 0.004183370154350996, 0.031177343800663948, -0.009500672109425068, -0.04120888188481331, -0.03222208470106125, 0.03419174998998642, -0.02260955236852169, -0.04079962149262428, -0.08627215027809143, 0.019448043778538704, -0.022717613726854324, -0.0008569389465264976, 0.047951847314834595, 0.038790587335824966, 0.03744840621948242, 0.040631458163261414, 0.010231890715658665, -0.0010459860786795616, -0.03933922201395035, 0.039790358394384384, -0.03576734662055969, -0.02239065431058407, -0.010171211324632168, -0.025927282869815826, -0.01813548058271408, -0.025893885642290115, -0.04377935826778412, -0.033075571060180664, -0.006127368658781052, 0.04349213093519211, -0.024551328271627426, -0.01677500642836094, -0.03482234850525856, 0.03993537276983261, -0.022669894620776176, -0.026801779866218567, -0.031316760927438736, -0.03238031268119812, -0.035745684057474136, -0.05417538061738014, 0.026734422892332077, -0.02127009630203247, 0.03658497333526611, 0.018014682456851006, 0.015665920451283455, 0.015226582996547222, 0.005283734295517206, -0.016527004539966583, 0.028053365647792816, -0.00013385483180172741, -0.04816724732518196, -0.034002672880887985, 0.01400319579988718, 0.011972702108323574, 0.08093810081481934, -0.018905919045209885, 0.026106974110007286, 0.01993648149073124, -0.06045026332139969, -0.019479671493172646, 0.01822015643119812, 0.03819618001580238, -0.04928762838244438, -0.05029214546084404, 0.0008857773500494659, -0.05483140051364899, 0.022255051881074905, -0.018012477084994316, -0.00950978510081768, 0.025507619604468346, 0.008438559249043465, 0.03810301050543785, -0.011285331100225449, -0.026410674676299095, 0.018890803679823875, -0.018454335629940033, 0.0055551910772919655, -0.05258132889866829, 0.05914795398712158, -0.02281016670167446, 0.021700752899050713, -0.009336164221167564, -0.007824891246855259, -0.05109580233693123, 0.022199807688593864, 0.0005934480577707291, -0.006661307532340288, 0.007760842330753803, 0.024599241092801094, -0.015467477031052113, 0.03073720633983612, -0.02883242629468441, 0.02518683299422264, -0.030821695923805237, 0.0675865039229393, -0.025119950994849205, 0.0027760425582528114, -0.02559548430144787, -0.009965714067220688, -0.035532306879758835, 0.0053847916424274445, -0.026210803538560867, -0.053730808198451996, 0.027654113247990608, 0.04977334290742874, 0.029018722474575043, 0.03647420555353165, -0.04103441163897514, -0.007473147939890623, 0.0031663996633142233, -0.03480551764369011, 0.009061547927558422, 0.0004269923083484173, 0.0349629670381546, 0.007972940802574158, 0.04472075775265694, 0.025271043181419373, -0.06429289281368256, -0.06504423916339874, 0.026903068646788597, 0.0015303262043744326, -0.001896006055176258, 0.02714500017464161, 0.01923457719385624, 0.045588016510009766, 0.04139243811368942, -0.018792981281876564, -0.0018161865882575512, -0.024157460778951645, -0.027048399671912193, 0.02250819094479084, -0.001353907398879528, 0.01633690483868122, 0.003358924761414528, -0.035729020833969116, -0.018260596320033073, 0.04642302542924881, 0.0039182561449706554, 0.01382082886993885, -0.027560677379369736, -0.03167284280061722, 0.01003673579543829, -0.02132631279528141, -0.05524938553571701, 0.01698175258934498, 0.002111932495608926, -0.02788378670811653, 0.07441650331020355, -0.01337498426437378, 0.008309212513267994, 0.04211845248937607, 0.014936433173716068, -0.029198329895734787, 0.055544644594192505, -0.00324871763586998, 0.00522909639403224, 0.04049529880285263, -0.06398910284042358, -0.01183620560914278, -0.04107731580734253, 0.06911513209342957, -0.0895196720957756, 0.030681045725941658, 0.06374148279428482, 0.0214777160435915, 0.037190306931734085, -0.01565164513885975, -0.03517503663897514, 0.03836042433977127, -0.03834002837538719, 0.07972666621208191, 0.024911027401685715, -0.04999389871954918, 0.06849975138902664, 0.01534564234316349, -0.09583139419555664, 0.026647968217730522, 0.03981896489858627, 0.003008804749697447, 0.024102697148919106, 0.04421059787273407, -0.04456174373626709, 0.0045144823379814625, -0.031256623566150665, 0.045684780925512314, -0.04256466403603554, 0.002634346252307296, 0.014340100809931755, -0.05057261139154434, -0.014469332061707973, 0.017067603766918182, -0.014073928818106651, -0.025307131931185722, 0.01917322166264057, -0.052642665803432465, -0.03248636797070503, 0.02071778103709221, 0.04079771041870117, -0.039282459765672684, -0.01193342637270689, -0.04028027877211571, 0.02149452082812786, 0.025645721703767776, 0.004143432714045048, -0.020924082025885582, -0.04584294557571411, 0.016628626734018326, -0.07225903123617172, -0.039882317185401917, 0.04469744861125946, -0.004354449920356274, -0.029843749478459358, 0.04404784366488457, 0.005799477454274893, 0.021855751052498817, 0.04272305592894554, 0.010304421186447144, 0.01969807967543602, -0.0620386078953743, -0.02506556734442711, -0.006376974284648895, 0.021839838474988937, 0.010074564255774021, -0.001683986047282815, 0.04485093802213669, 0.044287119060754776, 0.0009974390268325806, 0.014613454230129719, -0.029835166409611702, -0.02265605702996254, 0.03682349994778633, -0.053262144327163696, 0.015784503892064095, 0.023234114050865173, -0.06319361180067062, -0.03936462849378586, -0.016041133552789688, 0.01768403872847557, 0.026437807828187943, -0.05694957077503204, -0.002767624333500862, 0.03239911049604416, -0.034017812460660934, -0.047970812767744064, -0.06898535043001175, -0.04973694682121277, -0.04315178096294403, 0.037939105182886124, 0.026172783225774765, -0.04050147533416748, 0.00007582447869936004, -0.05258885398507118, -0.05590839311480522, 0.0094204843044281, 0.021036019548773766, -0.026415027678012848, 0.043585821986198425, 0.03920086473226547, -0.06957782059907913, 0.013913176953792572, 0.04868661239743233, -0.014610121957957745, 0.04881487041711807, 0.003295962465927005, 0.009470394812524319, 0.045946188271045685, 0.044844772666692734, -0.028268195688724518, -0.028084194287657738, -0.059100329875946045, -0.05023898929357529, -0.015808800235390663, -0.006545729003846645, 0.04207923635840416 ]
AnonymousSub/cline_emanuals
[ "pytorch", "roberta", "transformers" ]
null
{ "architectures": [ "LecbertForPreTraining" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
3
null
--- language: - cs license: apache-2.0 tags: - automatic-speech-recognition - mozilla-foundation/common_voice_8_0 - generated_from_trainer - robust-speech-event - xlsr-fine-tuning-week - hf-asr-leaderboard datasets: - mozilla-foundation/common_voice_8_0 model-index: - name: Czech comodoro Wav2Vec2 XLSR 300M CV8 results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 8 type: mozilla-foundation/common_voice_8_0 args: cs metrics: - name: Test WER type: wer value: 10.3 - name: Test CER type: cer value: 2.6 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Dev Data type: speech-recognition-community-v2/dev_data args: cs metrics: - name: Test WER type: wer value: 54.29 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Test Data type: speech-recognition-community-v2/eval_data args: cs metrics: - name: Test WER type: wer value: 44.55 --- <!-- 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. --> # wav2vec2-xls-r-300m-cs-cv8 This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice 8.0 dataset. It achieves the following results on the evaluation set while training: - Loss: 0.2327 - Wer: 0.1608 - Cer: 0.0376 The `eval.py` script results using a LM are: WER: 0.10281503199350225 CER: 0.02622802241689026 ## Model description Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Czech using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset. When using this model, make sure that your speech input is sampled at 16kHz. The model can be used directly (without a language model) as follows: ```python import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor test_dataset = load_dataset("mozilla-foundation/common_voice_8_0", "cs", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-cv8") model = Wav2Vec2ForCTC.from_pretrained("comodoro/wav2vec2-xls-r-300m-cs-cv8") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits predicted_ids = torch.argmax(logits, dim=-1) print("Prediction:", processor.batch_decode(predicted_ids)) print("Reference:", test_dataset[:2]["sentence"]) ``` ## Evaluation The model can be evaluated using the attached `eval.py` script: ``` python eval.py --model_id comodoro/wav2vec2-xls-r-300m-cs-cv8 --dataset mozilla-foundation/common-voice_8_0 --split test --config cs ``` ## Training and evaluation data The Common Voice 8.0 `train` and `validation` datasets were used for training ## Training procedure ### Training hyperparameters The following hyperparameters were used during first stage of training: - learning_rate: 7e-05 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 20 - total_train_batch_size: 640 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 500 - num_epochs: 150 - mixed_precision_training: Native AMP The following hyperparameters were used during second stage of training: - learning_rate: 0.001 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 20 - total_train_batch_size: 640 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 500 - num_epochs: 50 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | Cer | |:-------------:|:------:|:----:|:---------------:|:------:|:------:| | 7.2926 | 8.06 | 250 | 3.8497 | 1.0 | 1.0 | | 3.417 | 16.13 | 500 | 3.2852 | 1.0 | 0.9857 | | 2.0264 | 24.19 | 750 | 0.7099 | 0.7342 | 0.1768 | | 0.4018 | 32.25 | 1000 | 0.6188 | 0.6415 | 0.1551 | | 0.2444 | 40.32 | 1250 | 0.6632 | 0.6362 | 0.1600 | | 0.1882 | 48.38 | 1500 | 0.6070 | 0.5783 | 0.1388 | | 0.153 | 56.44 | 1750 | 0.6425 | 0.5720 | 0.1377 | | 0.1214 | 64.51 | 2000 | 0.6363 | 0.5546 | 0.1337 | | 0.1011 | 72.57 | 2250 | 0.6310 | 0.5222 | 0.1224 | | 0.0879 | 80.63 | 2500 | 0.6353 | 0.5258 | 0.1253 | | 0.0782 | 88.7 | 2750 | 0.6078 | 0.4904 | 0.1127 | | 0.0709 | 96.76 | 3000 | 0.6465 | 0.4960 | 0.1154 | | 0.0661 | 104.82 | 3250 | 0.6622 | 0.4945 | 0.1166 | | 0.0616 | 112.89 | 3500 | 0.6440 | 0.4786 | 0.1104 | | 0.0579 | 120.95 | 3750 | 0.6815 | 0.4887 | 0.1144 | | 0.0549 | 129.03 | 4000 | 0.6603 | 0.4780 | 0.1105 | | 0.0527 | 137.09 | 4250 | 0.6652 | 0.4749 | 0.1090 | | 0.0506 | 145.16 | 4500 | 0.6958 | 0.4846 | 0.1133 | Further fine-tuning with slightly different architecture and higher learning rate: | Training Loss | Epoch | Step | Validation Loss | Wer | Cer | |:-------------:|:-----:|:----:|:---------------:|:------:|:------:| | 0.576 | 8.06 | 250 | 0.2411 | 0.2340 | 0.0502 | | 0.2564 | 16.13 | 500 | 0.2305 | 0.2097 | 0.0492 | | 0.2018 | 24.19 | 750 | 0.2371 | 0.2059 | 0.0494 | | 0.1549 | 32.25 | 1000 | 0.2298 | 0.1844 | 0.0435 | | 0.1224 | 40.32 | 1250 | 0.2288 | 0.1725 | 0.0407 | | 0.1004 | 48.38 | 1500 | 0.2327 | 0.1608 | 0.0376 | ### Framework versions - Transformers 4.16.0.dev0 - Pytorch 1.10.1+cu102 - Datasets 1.17.1.dev0 - Tokenizers 0.11.0
[ -0.022746842354536057, -0.0058072092942893505, -0.021956145763397217, 0.031790878623723984, 0.05995248258113861, 0.015659304335713387, -0.010995419695973396, -0.0055388594046235085, -0.04496708884835243, 0.06195959821343422, 0.028497545048594475, -0.02970053069293499, 0.004811531398445368, 0.010069185867905617, -0.03637444227933884, -0.06376253813505173, -0.03605047985911369, 0.0051429844461381435, -0.056262459605932236, -0.03126952424645424, 0.005031767766922712, 0.03116762638092041, -0.030764874070882797, 0.012142854742705822, -0.005091487430036068, 0.007603098172694445, -0.01075757946819067, 0.018307004123926163, -0.01103100273758173, -0.06080951541662216, -0.016868799924850464, -0.04787134379148483, -0.04946187883615494, -0.0435435026884079, -0.008536377921700478, 0.00805243942886591, 0.0010112617164850235, 0.04104887321591377, 0.037777114659547806, 0.062328871339559555, -0.007548941764980555, 0.029940230771899223, -0.02224087528884411, -0.014591492712497711, 0.022496435791254044, 0.006229804363101721, -0.041762955486774445, -0.023258809000253677, 0.03752132132649422, -0.039195019751787186, -0.05087381973862648, -0.06103891879320145, 0.011003030464053154, 0.01853189244866371, -0.030332406982779503, -0.026728613302111626, -0.07397537678480148, -0.006851074751466513, 0.07677476853132248, -0.04319727048277855, -0.023930681869387627, 0.02132425270974636, -0.06787503510713577, 0.0076271179132163525, 0.02791702188551426, -0.0584736205637455, 0.007283314131200314, -0.04406758397817612, 0.0460524782538414, -0.006320098415017128, 0.05481616407632828, -0.033193111419677734, 0.015589557588100433, -0.08494921028614044, 0.003692548954859376, -0.010119423270225525, 0.027301710098981857, 0.053040798753499985, -0.028737181797623634, 0.04065258428454399, 0.01140392292290926, 0.02241269126534462, 0.035155873745679855, -0.03157645836472511, 0.02087842859327793, 0.042525362223386765, -0.033359210938215256, 0.017334260046482086, 0.025249473750591278, 0.011922900564968586, -0.004338828846812248, -0.03887632489204407, -0.03738480433821678, -0.05686689168214798, 0.007240856532007456, 0.03715639188885689, 0.05990493297576904, -0.026785990223288536, 0.03248340263962746, 0.01859225332736969, 0.024677466601133347, 0.02281782403588295, -0.024398071691393852, 0.06359443813562393, -0.04668080061674118, 0.00016427885566372424, -0.012185810133814812, -0.015680884942412376, -0.0246636550873518, 0.01132959220558405, 0.02819739654660225, -0.03475286811590195, -0.05164306238293648, 0.03129773959517479, 0.004325327929109335, -0.02737816423177719, 0.06117122247815132, -0.04766499251127243, -0.024556180462241173, -0.06487233936786652, 0.03542371466755867, 0.034605756402015686, 0.024616265669465065, 0.047853659838438034, -0.04950852319598198, 0.02809315361082554, -0.032534316182136536, -0.044844597578048706, 0.02344934642314911, -0.009325913153588772, -0.006078713573515415, 0.052805572748184204, 0.0034745188895612955, -0.07166682183742523, -0.01919521950185299, -0.004625183064490557, -0.047478172928094864, 0.01929788663983345, -0.000011416880624892656, 0.07821027934551239, -0.052677519619464874, -0.0521000400185585, 0.0193752683699131, 0.02207009121775627, -0.005737996194511652, 0.032718725502491, 0.030017763376235962, -0.009158880449831486, -0.010048631578683853, 0.011517106555402279, 0.0553680956363678, -0.07641378790140152, 0.007404153235256672, 0.06976523995399475, -0.02151917852461338, 0.03201846033334732, -0.02449367567896843, -0.02983025088906288, 0.01132203172892332, -0.019596245139837265, 0.005437244661152363, 0.031411778181791306, -0.0023906391579657793, -0.02258690632879734, -0.03187958523631096, -0.054880961775779724, 0.00218842551112175, 0.07099620997905731, -0.0012144980719313025, -0.01578664965927601, -0.04778774455189705, 0.025646692141890526, 0.04372110217809677, 0.01979578100144863, -0.050341155380010605, 0.04708653315901756, 0.06830118596553802, 0.05560573562979698, -0.025167865678668022, 0.06867571175098419, 0.011338421143591404, -0.024531962350010872, -0.0528973788022995, 0.029181115329265594, 0.015459719114005566, -0.047319844365119934, -0.0028546296525746584, 0.04408302903175354, -0.006781885866075754, -0.04945312440395355, -0.043965306133031845, 0.06700624525547028, -0.024310987442731857, -0.008265568874776363, 0.014745674096047878, -0.02472924441099167, -0.03633592650294304, 0.032787032425403595, -0.013161788694560528, -0.00016161207167897373, -0.029163381084799767, -0.04247381538152695, -0.00358299701474607, 0.020405590534210205, 0.013502338901162148, 0.06300298869609833, -0.005246823653578758, 0.08445166796445847, -0.028179945424199104, 0.014405537396669388, -0.026460934430360794, -0.06619556248188019, -0.02192704938352108, 0.07193166017532349, 0.025885267183184624, 0.07795173674821854, -0.0027941896114498377, -0.048890527337789536, 0.019220788031816483, 0.06709486991167068, 0.05762091279029846, -0.00578718539327383, -0.029675932601094246, -0.02050543576478958, 0.029487475752830505, 0.05344947800040245, -0.06560388952493668, -0.039114177227020264, 0.005039608106017113, 0.025592951104044914, -0.02275605872273445, 0.003308382350951433, -0.006140324752777815, 0.055884167551994324, -0.05760731175541878, -0.072967529296875, 0.06170445308089256, 0.017997149378061295, 0.021430835127830505, 0.02182595245540142, -0.023609695956110954, 0.00009593396680429578, 0.018119078129529953, 0.018398543819785118, -0.008061605505645275, -0.030163582414388657, 0.02472151257097721, 0.01534730289131403, 0.04820314049720764, -0.06477221101522446, 0.03480348736047745, -0.036801017820835114, 0.01224338449537754, 0.038949910551309586, -0.049906034022569656, 0.05132779851555824, 0.016287630423903465, 0.03705213963985443, -0.05153149366378784, -0.0006404094747267663, 0.01098341029137373, 0.04670404642820358, 0.041199781000614166, 0.005838324781507254, 0.05196182057261467, 0.01595095545053482, 0.054312605410814285, 0.07473187893629074, 0.04044617712497711, -0.0024070211220532656, 0.01477552205324173, 0.06559349596500397, -0.009364360943436623, -0.025501377880573273, 0.07720759510993958, -0.04785323515534401, 0.02929181605577469, -0.04778436943888664, -0.008968573994934559, -0.00034773166407831013, 0.002339129103347659, 0.005119030363857746, 0.0012376999948173761, -0.004421183839440346, -0.010918575339019299, -0.03854730725288391, -0.031469158828258514, 0.05445622280240059, -0.02860945463180542, -0.013050642795860767, -0.0037002398166805506, -0.004104810766875744, -0.009226507507264614, -0.0666004866361618, -0.03541336953639984, 0.0001392312115058303, -0.04302605241537094, 0.027391275390982628, -0.06963274627923965, -0.01615981012582779, -0.06993389874696732, -0.001369294011965394, 0.019986974075436592, 0.025873159989714622, -0.0017618599813431501, -0.04412767291069031, 0.005452001933008432, -0.05623655393719673, -0.05921822041273117, -0.04707726836204529, -0.020192371681332588, -0.03565046936273575, -0.05337413400411606, 0.03469870612025261, 0.023152684792876244, 0.04640189930796623, -0.005021842662245035, 0.002165665617212653, -0.019594019278883934, -0.015151139348745346, 0.054889317601919174, 0.056163907051086426, -0.04772065579891205, -0.0443464033305645, 0.01827257126569748, -0.03992414474487305, 0.01488060038536787, -0.014768513850867748, -0.025639336556196213, 0.0668359100818634, 0.06690074503421783, 0.02085966058075428, 0.02532101981341839, -0.02000272274017334, -0.05250990018248558, -0.05379726365208626, -0.011827783659100533, -0.037860941141843796, -0.010634870268404484, -0.044092148542404175, -0.024273239076137543, -0.0027759980875998735, -0.028313476592302322, 0.0036903778091073036, -0.029469290748238564, -0.01124506164342165, 0.05011017620563507, 0.023617859929800034, 0.011499215848743916, 0.022017143666744232, -0.029083099216222763, -0.04649828001856804, 0.07854954153299332, 0.022080445662140846, 0.011650613509118557, -0.07910795509815216, -0.03124799206852913, 0.019375396892428398, 0.02061360888183117, -0.013376578688621521, -0.005198217928409576, 0.08215683698654175, -0.010562927462160587, -0.014569167979061604, 0.003900437382981181, -0.03610896319150925, -0.02087986283004284, -0.027334347367286682, -0.005629936698824167, -0.0017421459779143333, -0.048941947519779205, 0.008003411814570427, 0.023729979991912842, 0.04655645787715912, -0.07470785826444626, -0.04270985350012779, -0.01019260473549366, 0.03892626240849495, 0.020649204030632973, 0.005229182541370392, -0.04219144210219383, -0.0015278493519872427, -0.04402969032526016, -0.028169794008135796, 0.010751954279839993, 0.03193754330277443, 0.012002556584775448, 0.04305169731378555, 0.01124650426208973, -0.03973456099629402, 0.03902704641222954, 0.043337684124708176, 0.06011594086885452, 0.028850097209215164, -0.049751393496990204, 0.017509127035737038, -0.024411406368017197, 0.027969427406787872, -0.003662233939394355, -0.022511105984449387, -0.04122615605592728, -0.08716142177581787, -0.024231823161244392, 0.02158343605697155, -0.010749095119535923, -0.020800689235329628, 0.029796162620186806, -0.013911215588450432, 0.01459582895040512, 0.004800969734787941, 0.039006270468235016, 0.03479817137122154, -0.06210995465517044, 0.05433874577283859, -0.0016897619934752584, 0.04975837469100952, -0.0786985233426094, 0.012251580134034157, -0.024365253746509552, -0.031042838469147682, 0.01785503514111042, 0.07003169506788254, 0.014569003134965897, 0.05935967341065407, 0.0725708156824112, 0.0031991912983357906, -0.035470932722091675, 0.04262830689549446, 0.05603593587875366, -0.04427902400493622, -0.056130170822143555, 0.010068049654364586, -0.012737211771309376, -0.032714445143938065, -0.011573711410164833, -0.0367031991481781, 0.03430061414837837, 0.020572319626808167, -0.005397734697908163, 0.001308520557358861, 0.02761247381567955, -0.02694513648748398, -0.03048543818295002, -0.0502498559653759, -0.059483226388692856, 0.01665724813938141, -0.019349737092852592, 0.046720240265131, 0.03945440798997879, -0.008746868930757046, 0.0453602634370327, 0.0345456637442112, -0.052823834121227264, -0.027899334207177162, 0.033278778195381165, 0.024197814986109734, -0.028912384063005447, -0.05751645565032959, 0.003032380249351263, 0.04987437650561333, 0.024320218712091446, 0.0035739033482968807, -0.06962023675441742, -0.0037230094894766808, 0.05057480186223984, -0.025117969140410423, 0.04386488348245621, -0.018114734441041946, 0.049996476620435715, 0.0620594322681427, -0.013720323331654072, 0.034338608384132385, -0.033258382230997086, 0.02134791575372219, 0.019021842628717422, -0.006595440208911896, -0.011431832797825336, -0.0293732862919569, -0.0671968162059784, 0.026524625718593597, 0.03724950924515724, 0.028653007000684738, 0.052230726927518845, -0.029319122433662415, -0.037865594029426575, -0.012636630795896053, 0.02310996875166893, -0.06185642257332802, 0.01651250384747982, 0.01910737156867981, 0.04464927688241005, -0.028210023418068886, -0.024212846532464027, -0.015457718633115292, -0.0008006165735423565, 0.027451815083622932, -0.0011750232661142945, -0.046236440539360046, -0.023807210847735405, 0.04453380033373833, -0.010456482879817486, -0.04058051481842995, -0.08217114955186844, 0.03138772398233414, -0.011765755712985992, 0.0018500268924981356, 0.036251410841941833, 0.03516053408384323, 0.04056306555867195, 0.05256516858935356, 0.0180219616740942, 0.003853286849334836, -0.03455720841884613, 0.03298753499984741, -0.038889866322278976, -0.020173609256744385, -0.016052113845944405, -0.01945679634809494, -0.012606635689735413, -0.026012800633907318, -0.0396750308573246, -0.035231731832027435, -0.005728596355766058, 0.040607843548059464, -0.020989960059523582, -0.021211516112089157, -0.0333394892513752, 0.036966048181056976, -0.018899086862802505, -0.031023479998111725, -0.040945280343294144, -0.022806821390986443, -0.03804994001984596, -0.05254219099879265, 0.033606428653001785, -0.01595434546470642, 0.028057068586349487, 0.026140481233596802, 0.01857720874249935, 0.02790776826441288, -0.0066876099444925785, -0.01892961747944355, 0.02461315505206585, -0.0053421189077198505, -0.04226912930607796, -0.02720831334590912, 0.02622649073600769, 0.0032736833672970533, 0.057935066521167755, -0.026339080184698105, 0.015326484106481075, 0.025882909074425697, -0.04585599899291992, -0.011821895837783813, 0.02581678330898285, 0.04122241586446762, -0.06149795651435852, -0.038289036601781845, -0.003021991578862071, -0.05354369059205055, 0.02006729692220688, -0.015626687556505203, -0.020346593111753464, 0.0034925842192023993, -0.001735773985274136, 0.041744962334632874, -0.01422211341559887, -0.023091856390237808, 0.018704833462834358, -0.02385246567428112, 0.026063457131385803, -0.04373222589492798, 0.05932379141449928, -0.03088383376598358, 0.016085084527730942, -0.01550996396690607, 0.016288043931126595, -0.053710322827100754, 0.02544454298913479, -0.00878203846514225, -0.009442605078220367, 0.016132963821291924, 0.03945905715227127, -0.009901152923703194, 0.027556873857975006, -0.02247614786028862, 0.03599816933274269, -0.04079849645495415, 0.07556470483541489, -0.02057795599102974, 0.0020728560630232096, -0.034121301025152206, 0.005087282508611679, -0.03305485099554062, 0.020404016599059105, -0.018664825707674026, -0.053590647876262665, 0.03764401376247406, 0.059186939150094986, 0.02822399139404297, 0.034237347543239594, -0.029816390946507454, -0.015196073800325394, 0.008941045962274075, -0.0293903611600399, -0.006255500949919224, 0.006232357583940029, 0.027068544179201126, 0.009673291817307472, 0.03182205930352211, 0.03867916390299797, -0.056771647185087204, -0.07246953994035721, 0.025449182838201523, -0.00274389935657382, 0.0018802457489073277, 0.028607137501239777, 0.01960093341767788, 0.031302470713853836, 0.045617248862981796, -0.03135230764746666, 0.004017796367406845, -0.027175648137927055, -0.031886275857686996, 0.024942314252257347, -0.00894496776163578, 0.01796111650764942, -0.0015953407855704427, -0.023494338616728783, -0.02850678376853466, 0.046374157071113586, -0.0024599938187748194, 0.0168467927724123, -0.027501465752720833, -0.0423174686729908, 0.0032726372592151165, -0.031126417219638824, -0.05509663000702858, 0.019642304629087448, -0.00901184231042862, -0.02316996641457081, 0.0712127834558487, -0.0126483254134655, 0.007696656044572592, 0.0370183028280735, 0.0309772789478302, -0.022501885890960693, 0.0480642132461071, -0.00980519037693739, -0.004138430580496788, 0.04667940363287926, -0.06609511375427246, -0.01687391847372055, -0.04433690011501312, 0.07104529440402985, -0.08131208270788193, 0.025422388687729836, 0.06516177952289581, 0.022563796490430832, 0.038115307688713074, -0.028631912544369698, -0.04741451516747475, 0.030323943123221397, -0.046963632106781006, 0.08649962395429611, 0.02160039357841015, -0.0367070809006691, 0.05573970451951027, 0.006221122574061155, -0.08921333402395248, 0.02804071456193924, 0.03681857883930206, 0.022916611284017563, 0.02219509333372116, 0.045330874621868134, -0.045944757759571075, 0.008331985212862492, -0.035158559679985046, 0.04524973779916763, -0.04943554103374481, -0.0029958977829664946, 0.025626277551054955, -0.03136584535241127, -0.016115792095661163, 0.02927478961646557, -0.01922420598566532, -0.03794608265161514, 0.03293733298778534, -0.05190623924136162, -0.042112093418836594, 0.02101176045835018, 0.02620038017630577, -0.04388117417693138, 0.0008224601042456925, -0.028102096170186996, 0.013135195709764957, 0.02806260623037815, -0.0037542192731052637, -0.023852095007896423, -0.038416024297475815, 0.01810590922832489, -0.058946769684553146, -0.05751196667551994, 0.03867748752236366, -0.009956025518476963, -0.029311705380678177, 0.040446843951940536, 0.017473960295319557, 0.011656885966658592, 0.035068269819021225, 0.0012207833351567388, 0.019423935562372208, -0.05954625457525253, -0.024703167378902435, -0.0062016150914132595, 0.0179397314786911, 0.01770804077386856, 0.0019410557579249144, 0.048101842403411865, 0.04208012670278549, 0.004879257176071405, 0.010376831516623497, -0.019077107310295105, -0.025043651461601257, 0.028583310544490814, -0.04357694461941719, 0.013479640707373619, 0.012857316993176937, -0.06504817306995392, -0.03392163664102554, -0.015453331172466278, 0.0009778386447578669, 0.021524053066968918, -0.07198680937290192, -0.008170709945261478, 0.02677774988114834, -0.02715037576854229, -0.051202576607465744, -0.07067933678627014, -0.04479167237877846, -0.043857306241989136, 0.030536508187651634, 0.028985200449824333, -0.03807561472058296, 0.00795831624418497, -0.05105956271290779, -0.0537944994866848, 0.02194570191204548, -0.0011439919471740723, -0.029124334454536438, 0.0333346426486969, 0.03680725023150444, -0.0673973485827446, 0.015464678406715393, 0.04455525428056717, -0.014984510838985443, 0.025067340582609177, 0.02218429557979107, 0.011550061404705048, 0.04581355303525925, 0.022984430193901062, -0.04218023642897606, -0.016756363213062286, -0.06531431525945663, -0.04673882946372032, -0.023123105987906456, -0.008414166048169136, 0.037518057972192764 ]
AnonymousSub/declutr-model_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
26
null
--- tags: - conversational --- # Snape DialoGPT Model
[ -0.03177912160754204, 0.0048049939796328545, 0.013628684915602207, 0.024747036397457123, 0.007572603411972523, 0.015277005732059479, 0.006768480874598026, 0.03478185832500458, -0.030373062938451767, 0.02092191018164158, 0.024144141003489494, -0.04394219443202019, 0.01341869868338108, 0.03514648228883743, -0.03684775531291962, -0.024208426475524902, -0.03532960265874863, -0.0050436463207006454, -0.016628051176667213, -0.03140605613589287, 0.0240463986992836, 0.015246188268065453, -0.02855670638382435, 0.03312159702181816, -0.008188648149371147, 0.023224325850605965, -0.015784254297614098, -0.00531055498868227, 0.023340443149209023, -0.0478658564388752, 0.003440567059442401, -0.0549088753759861, -0.03830651938915253, -0.022679271176457405, -0.028766049072146416, -0.04041948914527893, 0.007915428839623928, -0.010631469078361988, -0.0035167343448847532, 0.028653744608163834, -0.026826661080121994, -0.00022460776381194592, -0.0017521779518574476, -0.04439713433384895, 0.08264033496379852, -0.008821909315884113, -0.038762167096138, -0.01920624077320099, 0.00994601845741272, -0.035816699266433716, -0.03341628983616829, -0.0682041198015213, -0.06462499499320984, -0.032005149871110916, 0.016323357820510864, -0.05442256107926369, -0.06316722929477692, -0.021238192915916443, 0.09792626649141312, -0.01403840258717537, -0.0041548763401806355, -0.0003468322101980448, -0.06520438194274902, 0.00024597207084298134, 0.021804023534059525, -0.08247216790914536, 0.01873193494975567, -0.03205948323011398, 0.005191051866859198, -0.041732147336006165, 0.057206057012081146, -0.039743661880493164, 0.01592201739549637, -0.08304312825202942, -0.013313747942447662, 0.014814596623182297, 0.05148399993777275, 0.07009998708963394, -0.04010922089219093, 0.05452248081564903, 0.03700164705514908, 0.016793888062238693, 0.03947882354259491, -0.006939982995390892, -0.024052703753113747, 0.06007348373532295, -0.06243909150362015, -0.00729939853772521, 0.0031449159141629934, 0.04954799637198448, -0.020693903788924217, -0.06085530295968056, -0.026243029162287712, -0.01874653249979019, -0.004321064334362745, 0.06160774081945419, 0.0285971499979496, -0.03797981142997742, 0.005107354838401079, 0.05114157870411873, 0.014751004055142403, 0.04218386858701706, -0.028911413624882698, 0.03205817937850952, -0.013844799250364304, 0.03368246182799339, 0.03349612280726433, -0.022875769063830376, -0.030814481899142265, 0.025208236649632454, -0.002711260225623846, -0.044976089149713516, -0.029109232127666473, 0.04379680007696152, 0.019668281078338623, 0.0045022908598184586, 0.03641793504357338, -0.04206916317343712, -0.032358523458242416, -0.06577178835868835, 0.05018310993909836, -0.010598961263895035, 0.00253307051025331, -0.012479165568947792, -0.061365436762571335, -0.0001380167668685317, -0.04139994829893112, -0.02324506640434265, -0.021050771698355675, 0.0037241021636873484, 0.030060546472668648, 0.03243860974907875, -0.025547591969370842, -0.06725109368562698, 0.009490525349974632, 0.04953356087207794, -0.06619750708341599, -0.008071021176874638, 0.03511069715023041, 0.09674137830734253, -0.0746423527598381, -0.01944381184875965, 0.007861430756747723, 0.008182967081665993, -0.025494521483778954, 0.004406757187098265, -0.007897825911641121, -0.015081393532454967, -0.05959247797727585, -0.022840002551674843, 0.01861993595957756, -0.06142295151948929, -0.007998506538569927, 0.05568258836865425, -0.006168220657855272, 0.013166605494916439, -0.032315660268068314, 0.007129872217774391, -0.011942470446228981, -0.027214884757995605, -0.04823668673634529, 0.02789214812219143, -0.017868973314762115, -0.040059223771095276, -0.04755302891135216, -0.028974082320928574, 0.008020646870136261, 0.0710698664188385, 0.029094327241182327, -0.011142668314278126, -0.023299722000956535, 0.04483757168054581, 0.07006743550300598, 0.032081663608551025, -0.025094663724303246, 0.019107116386294365, 0.03904241323471069, 0.01733219437301159, -0.0291625764220953, 0.07457850128412247, 0.0033556546550244093, -0.03151389956474304, -0.04240063950419426, -0.031845543533563614, 0.02079383283853531, -0.015147739090025425, 0.01712314411997795, 0.039238493889570236, -0.03729122877120972, -0.0420113168656826, 0.018813500180840492, 0.05625185742974281, -0.025001194328069687, -0.007043848279863596, -0.010053549893200397, -0.02406162954866886, -0.03477107733488083, 0.025389015674591064, -0.036000531166791916, -0.004654033575206995, -0.026389706879854202, -0.021675849333405495, 0.029381409287452698, -0.006021535489708185, -0.01555851474404335, 0.0350947380065918, -0.008416004478931427, 0.07710675895214081, -0.032383568584918976, 0.019336214289069176, -0.02008890174329281, -0.000055887794587761164, -0.02340615540742874, 0.029388705268502235, 0.026463082060217857, 0.05392013117671013, -0.04635133221745491, -0.06337953358888626, 0.035015255212783813, 0.06599175184965134, 0.026650255545973778, 0.027780283242464066, -0.023802807554602623, -0.00953660812228918, 0.023482637479901314, 0.03750774636864662, -0.040833134204149246, 0.0035938380751758814, 0.0051273321732878685, 0.029854418709874153, -0.00561151746660471, -0.025008846074342728, -0.04528108611702919, 0.0034813813399523497, -0.03983914852142334, -0.07232770323753357, 0.04653167352080345, 0.034820739179849625, -0.006198805756866932, 0.030306050553917885, -0.013166850432753563, 0.01153209526091814, 0.040248747915029526, 0.005905744154006243, -0.007709711790084839, -0.07235005497932434, -0.0024150968529284, 0.009594074450433254, 0.08692105859518051, -0.04124236851930618, 0.009273888543248177, 0.02013528347015381, 0.03108062595129013, 0.029324043542146683, -0.011131621897220612, 0.03631526231765747, 0.05615504831075668, 0.03706534579396248, -0.019110718742012978, 0.04371517524123192, -0.0013311664806678891, 0.050074175000190735, 0.05336432904005051, 0.0001087044583982788, 0.06830208748579025, -0.012550373561680317, 0.033531736582517624, 0.03298291936516762, 0.013739192858338356, -0.02929333969950676, 0.03964066132903099, 0.07332690805196762, -0.0033870988991111517, 0.030939068645238876, 0.035086024552583694, 0.010749654844403267, -0.0031684802379459143, -0.031183939427137375, -0.014250832609832287, 0.0052872514352202415, -0.010033395141363144, 0.0646340399980545, 0.006996652111411095, -0.019352829083800316, -0.004476830828934908, -0.012983741238713264, -0.010735902935266495, 0.03960015997290611, -0.009872366674244404, -0.007287448737770319, -0.008437990210950375, 0.0017769882688298821, 0.01861879788339138, -0.06107741594314575, -0.0621994212269783, -0.010693036019802094, -0.048009712249040604, 0.006384701933711767, -0.09398651123046875, -0.04017788544297218, -0.04939878731966019, -0.020417142659425735, 0.03684423491358757, 0.012423006817698479, 0.04034742712974548, -0.0044446345418691635, 0.0023604475427418947, -0.020062478259205818, -0.052140433341264725, -0.055031195282936096, -0.021477362141013145, -0.013941713608801365, -0.04997764527797699, 0.04137984663248062, 0.023798048496246338, 0.05782713368535042, -0.0009389132028445601, -0.03406640887260437, -0.04407598078250885, -0.011882741004228592, 0.05169963836669922, 0.023384176194667816, -0.04201444238424301, -0.03193967044353485, 0.0041868132539093494, 0.0088080745190382, -0.0007419821922667325, -0.028520336374640465, -0.04686921834945679, 0.07116609066724777, 0.03322293236851692, 0.016124265268445015, 0.001638841349631548, -0.010092776268720627, -0.03295985981822014, -0.016149921342730522, -0.031770359724760056, -0.044093526899814606, -0.012016930617392063, -0.029219375923275948, -0.0540507510304451, -0.024606024846434593, -0.058858808130025864, -0.004964662715792656, -0.011771908961236477, 0.0008266472723335028, 0.025621937587857246, 0.026862824335694313, 0.024708501994609833, 0.013214162550866604, -0.024477165192365646, -0.01796170324087143, 0.03218303620815277, -0.0003805382002610713, -0.014748296700417995, -0.08067436516284943, -0.051621321588754654, 0.011310516856610775, 0.007926451042294502, -0.010904072783887386, -0.012158907018601894, 0.04211448132991791, 0.035568106919527054, -0.009488599374890327, 0.02867925725877285, -0.05548141896724701, 0.005893632769584656, -0.036157477647066116, -0.04284052550792694, -0.018067525699734688, -0.024074165150523186, -0.011893589980900288, -0.008053986355662346, 0.031309809535741806, -0.080288827419281, -0.02705150656402111, -0.004211227875202894, 0.012323370203375816, 0.03429466858506203, -0.004977756645530462, -0.04909498244524002, -0.004025388043373823, -0.03498884290456772, -0.0227168258279562, -0.016012132167816162, -0.017649147659540176, 0.01298211794346571, 0.03555744141340256, 0.0359918586909771, -0.04524628072977066, 0.04385720193386078, -0.001302642049267888, 0.05063565820455551, 0.06416536867618561, -0.022962983697652817, 0.027529526501893997, -0.04646187648177147, 0.05114024877548218, 0.006423261947929859, -0.03585163876414299, -0.054391950368881226, -0.08742403984069824, -0.046868257224559784, 0.031459398567676544, -0.012121912091970444, 0.01762738637626171, 0.03043036349117756, -0.0508512482047081, -0.03270621970295906, 0.007992384023964405, 0.032645083963871, 0.04981397092342377, -0.039417412132024765, 0.05586028844118118, 0.011475504375994205, 0.00777693185955286, -0.04715989902615547, 0.012721112929284573, -0.06839919090270996, -0.02782418392598629, -0.0020076625514775515, 0.0444227010011673, 0.019845569506287575, 0.06797825545072556, 0.06505165249109268, 0.04532209783792496, -0.05448463559150696, 0.06497317552566528, 0.07491830736398697, -0.01368879247456789, -0.030456583946943283, 0.005041214171797037, 0.0022730687633156776, -0.005291844718158245, -0.004572353325784206, -0.017082003876566887, 0.02930821105837822, 0.043006572872400284, -0.0026346896775066853, -0.00098505022469908, 0.024836301803588867, -0.021248120814561844, -0.008676829747855663, -0.0769101157784462, 0.002612634329125285, -0.02494826540350914, -0.0232047401368618, 0.055709097534418106, 0.0408317930996418, 0.002260315464809537, 0.052231863141059875, 0.029752647504210472, -0.008976014330983162, -0.053392745554447174, 0.0367145873606205, 0.020712263882160187, -0.048331428319215775, -0.053330376744270325, -0.05679883807897568, 0.03755316883325577, 0.051205381751060486, -0.02463948354125023, -0.0815313383936882, 0.01862788386642933, 0.0529136061668396, -0.06463969498872757, 0.044027991592884064, 0.006097401026636362, 0.05910380929708481, 0.013225660659372807, 0.012010174803435802, 0.03517831116914749, -0.06297512352466583, 0.014049670659005642, -0.011407019570469856, 0.03649377450346947, -0.05397995933890343, -0.055099502205848694, -0.06231598183512688, 0.033341433852910995, 0.022979915142059326, 0.02778739482164383, 0.021615995094180107, -0.05106547847390175, -0.03490900993347168, -0.012392356060445309, 0.020890895277261734, -0.014028080739080906, 0.029217179864645004, 0.013135833665728569, 0.05193544179201126, -0.061838019639253616, 0.008300688117742538, 0.01655265875160694, 0.02036602981388569, 0.01974782533943653, -0.020569197833538055, -0.05833270028233528, -0.008884068578481674, 0.02884824201464653, -0.03647683188319206, -0.0017245400231331587, -0.09146192669868469, 0.025277117267251015, -0.02168150804936886, -0.024688074365258217, 0.07166893780231476, 0.06285906583070755, 0.06306019425392151, 0.07066509872674942, -0.009777534753084183, 0.045540034770965576, -0.016781533136963844, 0.03991178423166275, -0.03582007437944412, -0.01799383945763111, -0.009893734939396381, -0.08705807477235794, -0.028534598648548126, -0.020887523889541626, -0.035808492451906204, -0.04468710720539093, 0.0037540970370173454, -0.00002040236722677946, -0.029294412583112717, -0.002451694570481777, -0.0006617041071876884, 0.02393021620810032, -0.02565791830420494, -0.02655204012989998, -0.011885291896760464, -0.020106365904211998, -0.09314202517271042, -0.054847389459609985, 0.028582919389009476, -0.031766291707754135, 0.008071459829807281, 0.004108381923288107, 0.003838959150016308, 0.05736326798796654, 0.011641285382211208, -0.020821528509259224, 0.004955511074513197, 0.0392022542655468, -0.04931608587503433, -0.010938957333564758, 0.0015631461283192039, 0.008798523806035519, 0.01535066869109869, -0.030683046206831932, 0.043199408799409866, 0.004436882212758064, -0.0686507299542427, -0.036594208329916, 0.03716549277305603, 0.014281979762017727, -0.07503389567136765, -0.0034982848446816206, -0.023572878912091255, -0.045558493584394455, 0.005781624000519514, -0.04168614000082016, -0.017152225598692894, -0.0025507344398647547, 0.037230201065540314, 0.020991014316678047, -0.012097133323550224, -0.023785820230841637, -0.0070514800027012825, -0.017191993072628975, 0.034433480352163315, -0.058297887444496155, 0.02596529759466648, -0.02529628947377205, 0.030932582914829254, -0.027067679911851883, 0.012858877889811993, -0.03166477009654045, 0.05646778270602226, -0.036688100546598434, -0.0009521139436401427, -0.0030027832835912704, -0.02329551801085472, -0.00033418263774365187, 0.045848410576581955, 0.019727852195501328, -0.005847802851349115, -0.050521381199359894, 0.07904157787561417, -0.0642312690615654, 0.020743567496538162, -0.014018630608916283, -0.03464783728122711, -0.028981158509850502, 0.003353063715621829, -0.001156160607933998, -0.054819151759147644, 0.025222042575478554, 0.022766022011637688, 0.013689873740077019, 0.04531515762209892, 0.00010447329259477556, 0.009634524583816528, 0.051700834184885025, -0.052437227219343185, -0.04424123838543892, 0.010739954188466072, 0.00378777994774282, 0.013531304895877838, 0.06301645934581757, 0.019958386197686195, -0.05970572680234909, -0.02461358904838562, 0.039533570408821106, 0.03382178768515587, 0.01589057967066765, 0.022154545411467552, 0.04332081973552704, 0.05357673764228821, 0.05874709412455559, -0.012430944480001926, 0.0004204111755825579, 0.038613855838775635, -0.010458968579769135, -0.0020854936446994543, 0.0028896545991301537, 0.015479018911719322, 0.011451341211795807, -0.021501915529370308, -0.011148818768560886, 0.07386032491922379, 0.008484032936394215, -0.005660463124513626, -0.006731065921485424, -0.03273744881153107, 0.06450093537569046, -0.0002476222871337086, -0.05367591977119446, -0.006155754905194044, 0.031416505575180054, -0.030155520886182785, 0.022374043241143227, -0.021122191101312637, 0.010518960654735565, 0.046285420656204224, 0.021800940856337547, 0.012498739175498486, 0.01981988549232483, -0.009101716801524162, 0.0006259111105464399, 0.023610573261976242, -0.04341944307088852, -0.02382284216582775, -0.04686347022652626, 0.03680429607629776, -0.053208716213703156, 0.0526740700006485, 0.026838652789592743, 0.04478096589446068, 0.0010680538835003972, -0.049033865332603455, -0.0326891727745533, -0.013390637002885342, -0.042592473328113556, 0.07595174759626389, -0.01802428439259529, -0.039103005081415176, 0.06358852237462997, 0.03116771951317787, -0.07253136485815048, 0.02783256582915783, 0.026980657130479813, 0.03601320460438728, 0.022070342674851418, 0.059910234063863754, -0.05080914869904518, 0.014174067415297031, -0.028384052217006683, 0.003563306061550975, -0.029765387997031212, -0.02670952118933201, -0.009031962603330612, -0.0410885289311409, 0.0003135395236313343, 0.031209483742713928, -0.020373333245515823, 0.02029060572385788, 0.012097228318452835, -0.03537784144282341, -0.048423390835523605, -0.014967304654419422, 0.038592882454395294, -0.007321059703826904, -0.004855820443481207, -0.0009857183322310448, 0.025191251188516617, 0.026701970025897026, -0.00967369694262743, -0.06435322016477585, 0.01872476190328598, -0.015422778204083443, -0.05260106176137924, -0.05953921750187874, 0.04674675688147545, 0.029034387320280075, -0.02188115008175373, -0.003811231115832925, 0.04169688746333122, 0.012053611688315868, 0.035113513469696045, -0.016715677455067635, 0.017208246514201164, -0.07579297572374344, -0.002463865326717496, 0.025241060182452202, 0.022029895335435867, -0.003604881465435028, -0.005494602955877781, 0.027123169973492622, 0.0703149139881134, 0.060470860451459885, 0.012558786198496819, -0.04781784862279892, -0.030657220631837845, -0.019158532842993736, -0.02222772128880024, 0.04719368740916252, 0.02103981375694275, -0.06243941932916641, -0.030053026974201202, -0.008614636026322842, 0.00932053942233324, 0.024992089718580246, -0.030615922063589096, 0.012436173856258392, 0.01825573667883873, -0.01187222357839346, -0.03155067563056946, -0.0929364562034607, -0.029652293771505356, -0.01527486927807331, 0.04312128573656082, 0.04388527572154999, -0.0644967332482338, 0.015559429302811623, -0.030559971928596497, -0.008189301937818527, 0.04611239209771156, 0.003544117324054241, -0.01564064621925354, 0.08120337128639221, 0.04480106011033058, -0.043225519359111786, 0.058617495000362396, 0.03051026724278927, -0.042997028678655624, 0.0424850694835186, 0.007469872012734413, 0.024771643802523613, 0.0018221433274447918, 0.011770541779696941, -0.00634050415828824, -0.0009261773084290326, -0.026113299652934074, -0.03879312425851822, -0.0010771839879453182, -0.006948976311832666, 0.04054935649037361 ]
AnonymousSub/roberta-base_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
25
null
This is the SciBERT pretrained language model further fine-tuned on masked language modeling and cite-worthiness detection on the [CiteWorth](https://github.com/copenlu/cite-worth) dataset. Note that this model should be used for further fine-tuning on downstream scientific document understanding tasks.
[ -0.02092697285115719, -0.03152914717793465, -0.020528120920062065, 0.04300554841756821, 0.018392669036984444, 0.011940136551856995, -0.012851147912442684, -0.008425634354352951, -0.01970427855849266, 0.047381944954395294, 0.054778676480054855, 0.01229674369096756, 0.025144783779978752, 0.03155705705285072, -0.03306731581687927, -0.04447885975241661, 0.004863519687205553, -0.009729025885462761, -0.04522642120718956, -0.015767225995659828, -0.003020812291651964, 0.006041714921593666, -0.011620190925896168, 0.04136863723397255, 0.02155577577650547, 0.024433933198451996, -0.016139600425958633, 0.031291376799345016, 0.01908067800104618, -0.05655624717473984, -0.009702271781861782, -0.03478395193815231, -0.050585076212882996, -0.018565144389867783, -0.012481466867029667, -0.0011423390824347734, -0.008451294153928757, -0.0018710094736889005, 0.03513515740633011, 0.056610334664583206, -0.03692765161395073, 0.030587559565901756, 0.00475749047473073, -0.03422214835882187, 0.0570334866642952, 0.014809086918830872, -0.03347323089838028, -0.07594528794288635, 0.01396510936319828, -0.07027122378349304, -0.05562726780772209, -0.07660851627588272, -0.03394065797328949, 0.025033503770828247, -0.015228609554469585, -0.025287529453635216, -0.06418728828430176, -0.02376726269721985, 0.07893560826778412, -0.0345914363861084, -0.04184187948703766, 0.011141682974994183, -0.056070175021886826, 0.0059580374509096146, 0.032057952135801315, -0.054321903735399246, 0.02065325528383255, -0.04992767050862312, 0.024615047499537468, 0.010710138827562332, 0.07405037432909012, -0.04551640897989273, 0.02445383183658123, -0.07106312364339828, -0.029067933559417725, -0.010254083201289177, 0.046548694372177124, 0.03412048518657684, -0.026515692472457886, 0.07349885255098343, 0.02400703728199005, 0.011968370527029037, 0.03457433357834816, -0.02874041721224785, 0.0028101785574108362, 0.039114635437726974, -0.03947129845619202, -0.008653891272842884, 0.003067448502406478, 0.058602578938007355, -0.042761169373989105, -0.03497404232621193, -0.017131324857473373, -0.024286070838570595, -0.027014708146452904, 0.021174708381295204, 0.03532535582780838, -0.02591632679104805, 0.019799716770648956, -0.0056653073988854885, 0.01917228475213051, 0.05567048117518425, -0.005227886606007814, 0.048981957137584686, -0.0026217286940664053, 0.009098873473703861, -0.024283619597554207, -0.03971714526414871, -0.06723618507385254, 0.057794518768787384, 0.037801343947649, -0.03775416687130928, -0.04450787231326103, 0.03841628506779671, 0.02414655312895775, -0.048558179289102554, 0.06783975660800934, -0.03363683074712753, -0.03378285467624664, -0.03643721714615822, 0.01645713858306408, -0.009498298168182373, 0.006277275737375021, 0.006609778385609388, -0.07005645334720612, 0.03282671049237251, -0.038051992654800415, -0.023183129727840424, 0.0051115998066961765, 0.034805864095687866, -0.0004841008922085166, 0.046931661665439606, 0.057823605835437775, -0.07081572711467743, -0.003187968861311674, 0.027600400149822235, -0.066488116979599, 0.03415625914931297, 0.027140894904732704, 0.0999942347407341, -0.07613681256771088, -0.0386703796684742, 0.016964921727776527, 0.023593710735440254, -0.023840665817260742, -0.011279484257102013, 0.016551131382584572, -0.026115192100405693, -0.041711971163749695, -0.008579467423260212, 0.05444781482219696, -0.06971751153469086, 0.017640942707657814, 0.060790106654167175, -0.02290143258869648, 0.03884338214993477, -0.045489564538002014, 0.01157152559608221, -0.023597951978445053, -0.0052559091709554195, -0.04705192893743515, 0.029220428317785263, -0.026148922741413116, 0.003919456619769335, -0.030900584533810616, -0.06912697851657867, -0.019960416480898857, 0.08524258434772491, -0.01753942109644413, -0.022288348525762558, -0.04762593284249306, 0.0016611428000032902, 0.06413932144641876, 0.04163022339344025, -0.027927860617637634, 0.02455449290573597, 0.03484771028161049, 0.0661948025226593, -0.0016907237004488707, 0.07990581542253494, 0.012438319623470306, -0.047143422067165375, -0.011123009957373142, 0.041394688189029694, 0.024419128894805908, -0.012295530177652836, 0.037240177392959595, 0.04443737864494324, -0.005067241378128529, -0.03623565286397934, -0.016391009092330933, 0.05123548209667206, -0.023821135982871056, -0.011901959776878357, 0.018200572580099106, 0.012245355173945427, -0.03231237083673477, 0.03768852725625038, -0.0265832357108593, 0.016965817660093307, -0.020892111584544182, -0.02489960566163063, 0.018590407446026802, 0.038722313940525055, 0.022850289940834045, 0.03696466237306595, -0.030048998072743416, 0.07370024174451828, -0.04051777720451355, 0.006474506109952927, -0.029463892802596092, -0.03614810109138489, -0.01783427596092224, 0.03693217411637306, 0.029440516605973244, 0.04191002622246742, -0.005387419834733009, -0.05058300495147705, 0.037320826202631, 0.06372977048158646, 0.07504390180110931, 0.035521700978279114, -0.015472416765987873, -0.002187935868278146, 0.02433997578918934, 0.042512085288763046, -0.02615862898528576, -0.039046354591846466, 0.031416021287441254, 0.020959118381142616, -0.0253151822835207, -0.0010395706631243229, -0.01363719068467617, 0.03310167044401169, -0.04198405519127846, -0.05741017684340477, 0.034261755645275116, 0.04764235019683838, -0.00855258572846651, 0.0410616397857666, -0.03274887800216675, 0.023636341094970703, 0.0151443462818861, 0.010766442865133286, -0.009599964134395123, -0.06376075744628906, 0.01274570357054472, 0.023133719339966774, 0.06468737125396729, -0.0543515607714653, 0.04196466878056526, -0.0011637199204415083, 0.0027082827873528004, 0.019445305690169334, -0.004780083429068327, 0.03615450859069824, 0.02693037874996662, -0.015550958923995495, -0.019545262679457664, 0.031840238720178604, 0.02317630872130394, 0.035999950021505356, 0.08749297261238098, 0.02322958968579769, 0.06445275247097015, -0.019019467756152153, 0.062100157141685486, 0.06559127569198608, 0.028796523809432983, 0.0005669317324645817, 0.010552051477134228, 0.04419565945863724, -0.004973006434738636, -0.006315556820482016, 0.05935376137495041, -0.05151749402284622, 0.010655640624463558, -0.07055085152387619, 0.006138131953775883, -0.038938526064157486, -0.01518163736909628, 0.04610127955675125, 0.007004603743553162, -0.028330205008387566, 0.03299793601036072, -0.03202525153756142, 0.002181633608415723, 0.03427556902170181, 0.001046780846081674, 0.010188641957938671, -0.021309485659003258, -0.004937474150210619, -0.011149159632623196, -0.06240300089120865, -0.03556932136416435, -0.007355335168540478, -0.05028294771909714, -0.00404026173055172, -0.08654887229204178, -0.013701501302421093, -0.07742832601070404, -0.03133775293827057, 0.030903901904821396, 0.03786192834377289, 0.0003729981544893235, -0.005226133856922388, 0.005253919865936041, -0.018592042848467827, -0.033752840012311935, -0.030314631760120392, -0.02505229040980339, -0.0337887741625309, -0.07882493734359741, 0.02932211384177208, -0.008957845158874989, 0.015179730020463467, 0.00919435080140829, -0.013517657294869423, -0.011003250256180763, -0.02956829033792019, 0.047167908400297165, 0.05079755559563637, -0.014327527955174446, -0.04694124683737755, 0.023858770728111267, -0.017986515536904335, 0.01754183880984783, -0.002158636460080743, -0.047445155680179596, 0.08298967033624649, 0.0690535306930542, 0.04621191322803497, 0.020763814449310303, -0.008446188643574715, -0.045448798686265945, -0.06920921802520752, -0.008891827426850796, -0.036471039056777954, -0.03049326501786709, -0.05299142003059387, -0.03453044593334198, -0.016405317932367325, -0.0408802255988121, -0.018672224134206772, -0.01557542197406292, 0.01354497391730547, 0.04874109476804733, 0.026864103972911835, 0.039986878633499146, 0.030852073803544044, -0.040020231157541275, -0.015425021760165691, 0.05894526466727257, 0.011644248850643635, -0.01160074770450592, -0.06357162445783615, -0.03549083322286606, 0.05757474526762962, 0.03582632169127464, 0.0304504856467247, -0.0009599502664059401, 0.06898374110460281, 0.0033731264993548393, 0.018084213137626648, -0.0011766849784180522, -0.0038283353205770254, -0.01816418766975403, -0.01463709119707346, -0.013436180539429188, -0.04984932392835617, -0.053941935300827026, -0.0421154759824276, 0.0015726655256003141, 0.05462051182985306, -0.05919332057237625, -0.04995632916688919, 0.0017314049182459712, 0.013657057657837868, 0.033697664737701416, -0.011695792898535728, -0.02822432853281498, -0.010193205438554287, -0.07507608830928802, -0.022938350215554237, 0.022179514169692993, -0.001910465769469738, 0.02244040183722973, 0.03765494376420975, 0.02690744772553444, -0.06581132858991623, 0.04393905773758888, 0.02209865115582943, 0.054571960121393204, 0.023779314011335373, -0.056066952645778656, 0.007943389937281609, -0.008966602385044098, 0.0023804937954992056, -0.015347510576248169, -0.014580409042537212, -0.037047963589429855, -0.06509983539581299, -0.0075715393759310246, 0.001751110889017582, -0.0022187645081430674, 0.0004425916413310915, 0.03635583072900772, -0.027127116918563843, -0.018071625381708145, -0.004895294550806284, 0.018445951864123344, 0.036263298243284225, -0.014199861325323582, 0.06506043672561646, -0.022742273285984993, 0.037711530923843384, -0.051921945065259933, 0.0027642669156193733, -0.038380980491638184, -0.004406583495438099, -0.016323955729603767, 0.06915819644927979, 0.025743452832102776, 0.02871396206319332, 0.07868582010269165, 0.007175184320658445, -0.021463636308908463, 0.04913868382573128, 0.033220335841178894, -0.031010422855615616, -0.03572555631399155, -0.00013836819562129676, 0.004385560285300016, -0.023122811689972878, -0.010270674712955952, -0.026397425681352615, 0.04249023646116257, 0.01938219927251339, -0.014885189011693, -0.012922706082463264, -0.025890737771987915, -0.008204273879528046, -0.011753247119486332, -0.06773030757904053, -0.0005766598624177277, 0.0017497530207037926, -0.00778671819716692, 0.03761949762701988, 0.052013617008924484, -0.00708435382694006, 0.04982138052582741, 0.04019242525100708, -0.03564947843551636, -0.02221110835671425, 0.028335770592093468, 0.03983606770634651, -0.04130110517144203, -0.047353051602840424, -0.07731451094150543, 0.027140408754348755, 0.05229279026389122, -0.016140395775437355, -0.07913604378700256, 0.010433116927742958, 0.027818309143185616, -0.04247860610485077, 0.06831897795200348, -0.002905837958678603, 0.056404486298561096, 0.05189967527985573, -0.008163257502019405, 0.03287389501929283, -0.003455243306234479, -0.00458246236667037, 0.001653665560297668, 0.037152472883462906, -0.027290215715765953, -0.03861109912395477, -0.009504922665655613, 0.03131263330578804, 0.022346584126353264, 0.06652349978685379, 0.034896012395620346, -0.024632420390844345, -0.04006552696228027, 0.01923174224793911, 0.026953333988785744, -0.03191792964935303, 0.0189930722117424, 0.03768446668982506, 0.04539742320775986, -0.03973204270005226, -0.022269677370786667, -0.013034054078161716, 0.011454181745648384, 0.019218357279896736, -0.01673438958823681, -0.039451878517866135, -0.05619284138083458, 0.008968820795416832, -0.01959085837006569, -0.023771557956933975, -0.10010255128145218, 0.0037534304428845644, -0.004651129245758057, 0.000678817683365196, 0.03788524493575096, 0.02019651047885418, 0.0389116071164608, 0.044947683811187744, -0.01344324741512537, 0.00356079894118011, -0.04808546602725983, 0.04070216789841652, -0.008911767043173313, -0.03479008749127388, 0.002612489042803645, -0.02412710152566433, -0.012459433637559414, -0.03991266340017319, -0.05368490517139435, -0.058906570076942444, -0.013341947458684444, 0.0007556312484666705, 0.0010080600623041391, 0.011652682907879353, -0.0262962244451046, 0.05396442860364914, -0.021978551521897316, 0.0031688937451690435, -0.02243036963045597, -0.034233059734106064, -0.0894884243607521, -0.01741308532655239, 0.001339194132015109, -0.0010824238415807486, 0.026208098977804184, 0.01055070012807846, 0.02133779786527157, 0.0013202725676819682, 0.01436228584498167, -0.03478099778294563, 0.0234527550637722, -0.0077623785473406315, -0.03167759254574776, -0.025209974497556686, 0.008346570655703545, 0.02245008386671543, 0.023337554186582565, -0.02005363255739212, -0.0005282448837533593, 0.012049189768731594, -0.00940366368740797, -0.025254128500819206, 0.005667946767061949, 0.005769111681729555, -0.06520895659923553, -0.04702459275722504, -0.013486539013683796, -0.029365796595811844, 0.047583550214767456, -0.015076124109327793, -0.03521609306335449, 0.01809442788362503, 0.02047811448574066, 0.037233419716358185, -0.01071636937558651, -0.031911030411720276, 0.011571569368243217, -0.03630611300468445, 0.012528839521110058, -0.050298843532800674, 0.04016542434692383, -0.04618094116449356, 0.02615317702293396, -0.007598687428981066, 0.039360519498586655, -0.07397725433111191, 0.034405604004859924, -0.0037811328656971455, -0.017041189596056938, -0.03506164625287056, -0.0016419305466115475, -0.04887299984693527, 0.018460897728800774, -0.022403206676244736, 0.017973721027374268, -0.04223916679620743, 0.03594347462058067, -0.03963515907526016, 0.0029856653418391943, -0.05341693386435509, -0.023707393556833267, -0.03980133682489395, -0.022365709766745567, -0.023213893175125122, -0.04738324135541916, 0.02443947084248066, 0.043947748839855194, 0.03903570398688316, 0.021274928003549576, -0.013121003285050392, -0.0052560847252607346, 0.016346946358680725, -0.06893230229616165, -0.02870354801416397, -0.0024430742487311363, 0.03546759858727455, 0.0069024283438920975, 0.08597227931022644, 0.027424326166510582, -0.05894625559449196, -0.05169069394469261, 0.03161158040165901, 0.0358031801879406, 0.008981368504464626, 0.003005671314895153, 0.024010896682739258, 0.01778905838727951, 0.04148358106613159, -0.029678301885724068, -0.005196284968405962, -0.030318552628159523, -0.0369606651365757, -0.007284530438482761, 0.0021637636236846447, 0.017460981383919716, 0.023050198331475258, -0.04280396178364754, -0.047255903482437134, 0.057511698454618454, 0.032101575285196304, 0.016049396246671677, -0.030205246061086655, -0.04039739817380905, 0.0364619642496109, 0.015683842822909355, -0.047173403203487396, 0.02076561376452446, -0.012281245552003384, -0.055033110082149506, 0.07433466613292694, -0.0012476262636482716, 0.019749818369746208, 0.018110034987330437, 0.026239855214953423, -0.0386323407292366, 0.0313430093228817, -0.037773337215185165, 0.005762004293501377, 0.03921285271644592, -0.04084859415888786, -0.017590254545211792, -0.01915539987385273, 0.06286803632974625, -0.060997627675533295, 0.05024607479572296, 0.07259845733642578, 0.011482499539852142, 0.02441716007888317, -0.04879250004887581, -0.016391046345233917, 0.028017330914735794, -0.03191504254937172, 0.07244901359081268, 0.006978792138397694, -0.08173519372940063, 0.07272805273532867, 0.02289421111345291, -0.10122297704219818, 0.019917890429496765, 0.020847462117671967, 0.0424397811293602, 0.017938246950507164, 0.021661747246980667, -0.05533544346690178, 0.02055334486067295, -0.05226500704884529, -0.0037545578088611364, -0.041907310485839844, -0.0027143172919750214, 0.03219838812947273, -0.028803572058677673, -0.00641571544110775, 0.018720388412475586, -0.025336580350995064, -0.012335993349552155, 0.018345961347222328, -0.045071303844451904, -0.03738781437277794, -0.0029897214844822884, -0.011280101723968983, 0.007052149157971144, 0.00746689410880208, -0.027494313195347786, 0.016520794481039047, 0.028074147179722786, -0.03374768793582916, -0.0493793822824955, -0.00662970868870616, 0.042784545570611954, -0.052263692021369934, -0.031584665179252625, 0.05010735243558884, 0.01422389317303896, -0.02321847900748253, 0.04905357584357262, 0.010639548301696777, 0.00007469140837201849, 0.023789621889591217, -0.0010592403123155236, 0.023347459733486176, -0.028601737692952156, -0.011267422698438168, 0.04106362164020538, -0.016110334545373917, 0.049331095069646835, -0.026156779378652573, 0.03896113112568855, 0.030467525124549866, 0.02452044002711773, -0.024914829060435295, -0.02145155519247055, -0.021189330145716667, -0.004156149458140135, -0.012657471932470798, 0.0038904515095055103, -0.03459976240992546, -0.05834966525435448, -0.04742918163537979, -0.015318264253437519, -0.03430866077542305, 0.04689793661236763, -0.048863574862480164, 0.005755281075835228, 0.034130681306123734, 0.002130292123183608, -0.05249768868088722, -0.08203282952308655, -0.04374110326170921, -0.02111661620438099, 0.01989908702671528, -0.001636150642298162, -0.03307183086872101, 0.024060405790805817, -0.035632334649562836, -0.05855027958750725, 0.04138434678316116, 0.0020794838201254606, -0.054065901786088943, 0.03939683362841606, 0.04504287615418434, -0.02081509679555893, 0.01629975251853466, 0.054816681891679764, -0.0287972092628479, 0.0518982820212841, 0.006342759355902672, 0.026261499151587486, -0.004176362417638302, 0.02175554633140564, -0.023480888456106186, -0.016030581668019295, -0.04772814363241196, -0.044030748307704926, -0.039431117475032806, 0.009059294126927853, 0.06047620251774788 ]
AnonymousSub/rule_based_hier_quadruplet_0.1_epochs_1_shard_1_squad2.0
[ "pytorch", "bert", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "BertForQuestionAnswering" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
2021-08-27T16:13:56Z
--- language: ko --- # Pretrained BART in Korean This is pretrained BART model with multiple Korean Datasets. I used multiple datasets for generalizing the model for both colloquial and written texts. The training is supported by [TPU Research Cloud](https://sites.research.google/trc/) program. The script which is used to pre-train model is [here](https://github.com/cosmoquester/transformers-bart-pretrain). When you use the reference API, you must wrap the sentence with `[BOS]` and `[EOS]` like below example. ``` [BOS] 안녕하세요? 반가워요~~ [EOS] ``` You can also test mask filling performance using `[MASK]` token like this. ``` [BOS] [MASK] 먹었어? [EOS] ``` ## Benchmark <style> table { border-collapse: collapse; border-style: hidden; width: 100%; } td, th { border: 1px solid #4d5562; padding: 8px; } </style> <table> <tr> <th>Dataset</th> <td>KLUE NLI dev</th> <td>NSMC test</td> <td>QuestionPair test</td> <td colspan="2">KLUE TC dev</td> <td colspan="3">KLUE STS dev</td> <td colspan="3">KorSTS dev</td> <td colspan="2">HateSpeech dev</td> </tr> <tr> <th>Metric</th> <!-- KLUE NLI --> <td>Acc</th> <!-- NSMC --> <td>Acc</td> <!-- QuestionPair --> <td>Acc</td> <!-- KLUE TC --> <td>Acc</td> <td>F1</td> <!-- KLUE STS --> <td>F1</td> <td>Pearson</td> <td>Spearman</td> <!-- KorSTS --> <td>F1</td> <td>Pearson</td> <td>Spearman</td> <!-- HateSpeech --> <td>Bias Acc</td> <td>Hate Acc</td> </tr> <tr> <th>Score</th> <!-- KLUE NLI --> <td>0.7390</th> <!-- NSMC --> <td>0.8877</td> <!-- QuestionPair --> <td>0.9208</td> <!-- KLUE TC --> <td>0.8667</td> <td>0.8637</td> <!-- KLUE STS --> <td>0.7654</td> <td>0.8090</td> <td>0.8040</td> <!-- KorSTS --> <td>0.8067</td> <td>0.7909</td> <td>0.7784</td> <!-- HateSpeech --> <td>0.8280</td> <td>0.5669</td> </tr> </table> - The performance was measured using [the notebooks here](https://github.com/cosmoquester/transformers-bart-finetune) with colab. ## Used Datasets ### [모두의 말뭉치](https://corpus.korean.go.kr/) - 일상 대화 말뭉치 2020 - 구어 말뭉치 - 문어 말뭉치 - 신문 말뭉치 ### AIhub - [개방데이터 전문분야말뭉치](https://aihub.or.kr/aidata/30717) - [개방데이터 한국어대화요약](https://aihub.or.kr/aidata/30714) - [개방데이터 감성 대화 말뭉치](https://aihub.or.kr/aidata/7978) - [개방데이터 한국어 음성](https://aihub.or.kr/aidata/105) - [개방데이터 한국어 SNS](https://aihub.or.kr/aidata/30718) ### [세종 말뭉치](https://ithub.korean.go.kr/)
[ 0.0015301379607990384, -0.021312683820724487, -0.0015511332312598825, 0.06554616242647171, 0.022791434079408646, 0.037806350737810135, -0.006379492115229368, 0.015192465856671333, -0.048446398228406906, 0.0525350496172905, -0.005687798839062452, -0.013049331493675709, 0.010725635103881359, 0.024373512715101242, -0.04055946320295334, -0.02498002164065838, -0.01198986079543829, 0.0007225790759548545, -0.054729484021663666, -0.015242630615830421, 0.00045896711526438594, 0.015566585585474968, 0.007991385646164417, 0.03304384648799896, -0.0012531232787296176, 0.0035535821225494146, -0.02389846183359623, 0.028998635709285736, 0.030625730752944946, -0.05438752844929695, 0.0016647992888465524, -0.03650256246328354, -0.05054652690887451, -0.015030653215944767, -0.029675355181097984, -0.01022028923034668, -0.005683913826942444, 0.0050932313315570354, 0.041765742003917694, 0.06451095640659332, 0.007527022156864405, 0.007461247965693474, -0.015991397202014923, -0.028963491320610046, 0.034489620476961136, -0.010624158196151257, -0.048138201236724854, -0.0032334658317267895, 0.0441993810236454, -0.012409708462655544, -0.028003493323922157, -0.05987570062279701, -0.02569853886961937, 0.01876060850918293, -0.007331430912017822, -0.020618686452507973, -0.05432228744029999, -0.00006181505159474909, 0.07256361842155457, -0.04316367208957672, -0.0440012589097023, 0.013186220079660416, -0.053119633346796036, 0.026891447603702545, 0.035025645047426224, -0.013072793371975422, 0.007952994666993618, -0.04330301657319069, 0.022723961621522903, -0.018654795363545418, 0.05011161044239998, -0.03569946810603142, 0.004830310121178627, -0.1086510568857193, -0.008204118348658085, -0.0218967255204916, 0.04565136134624481, 0.029023628681898117, -0.04751667380332947, 0.07665593922138214, 0.01657574437558651, -0.009463583119213581, 0.01491352915763855, -0.023227650672197342, -0.016598494723439217, 0.05723986029624939, -0.04493361711502075, 0.0009640491334721446, 0.013789091259241104, 0.04015873745083809, -0.026264093816280365, -0.03732433542609215, -0.03868642821907997, -0.04867536202073097, -0.03633590787649155, 0.013480223715305328, 0.04302046820521355, 0.020786799490451813, 0.04263315722346306, 0.01570216193795204, 0.04145001247525215, 0.046224020421504974, -0.0006283259717747569, 0.06156844273209572, -0.028213871642947197, 0.0014278874732553959, -0.006968925707042217, -0.023288672789931297, -0.03271172568202019, 0.024449678137898445, 0.03281649202108383, -0.058291248977184296, -0.03682955354452133, 0.05754426494240761, 0.03935384005308151, -0.02792038954794407, 0.023855060338974, -0.03410656750202179, -0.060875069350004196, -0.01917996257543564, 0.05270006135106087, -0.007106542121618986, 0.011282214894890785, -0.008718081749975681, -0.07392231374979019, 0.01842253841459751, -0.032827239483594894, -0.012529581785202026, -0.002104528248310089, 0.027606381103396416, -0.01846688985824585, 0.02707846648991108, -0.008118306286633015, -0.04294859990477562, 0.00008202454773709178, -0.0002302046777913347, -0.08435192704200745, 0.0657794252038002, 0.02819073386490345, 0.08767590671777725, -0.06503187119960785, -0.046275001019239426, 0.005115964915603399, 0.040435872972011566, -0.013092761859297752, -0.005209863185882568, 0.010541396215558052, -0.011301861144602299, -0.018998676910996437, 0.001408154028467834, 0.0666024461388588, -0.061590079218149185, 0.0017210239311680198, 0.04818542301654816, -0.012735221534967422, 0.0485733225941658, -0.04352399706840515, 0.025222675874829292, -0.0018826315645128489, -0.02036534808576107, -0.01810731552541256, 0.008818120695650578, -0.014938612468540668, -0.008914527483284473, -0.054867494851350784, -0.057268910109996796, 0.01707095466554165, 0.09056489914655685, -0.016043154522776604, -0.0072783054783940315, -0.02670835517346859, 0.00041225875611416996, 0.03109271451830864, 0.015958942472934723, -0.026943812146782875, 0.025831464678049088, 0.051453132182359695, 0.03334316983819008, -0.03767283260822296, 0.05903138220310211, 0.0272425077855587, -0.03584572300314903, -0.019774822518229485, 0.05057353898882866, -0.006422475911676884, -0.005113132297992706, 0.0246913842856884, 0.026518967002630234, -0.01190355233848095, -0.005619504489004612, -0.016091501340270042, 0.05059610307216644, -0.0031474989373236895, 0.00251841451972723, -0.011826712638139725, -0.016996661201119423, -0.030321180820465088, 0.06427177786827087, -0.0265280082821846, 0.010949334129691124, -0.02699965611100197, -0.032199326902627945, 0.021107463166117668, 0.025621263310313225, 0.028042644262313843, 0.06059814989566803, -0.0013482023496180773, 0.062045447528362274, -0.031767699867486954, 0.03614901006221771, -0.05525604635477066, -0.04988623037934303, -0.008292565122246742, 0.04194324463605881, 0.028416674584150314, 0.03931637108325958, 0.03271172568202019, -0.051689840853214264, -0.004818267654627562, 0.06888766586780548, 0.058940306305885315, 0.008757769130170345, -0.05016479268670082, 0.011717325076460838, 0.02388911135494709, 0.05600307136774063, -0.06454070657491684, -0.035092584788799286, 0.028838880360126495, 0.05608764663338661, -0.009968823753297329, 0.0276147723197937, 0.01024544145911932, 0.03077165223658085, -0.04775478318333626, -0.0670086070895195, 0.041671253740787506, 0.01679662987589836, 0.02943519316613674, 0.0413573794066906, -0.006767780985683203, 0.02509099245071411, 0.042784687131643295, 0.009891034103929996, -0.013108782470226288, -0.039489392191171646, 0.009890635497868061, 0.024708032608032227, 0.044533152133226395, -0.02838425524532795, 0.03514343872666359, -0.0016845439095050097, 0.0012232738081365824, 0.054412052035331726, -0.029011979699134827, 0.014987250789999962, 0.0405285507440567, 0.005094053223729134, -0.020683156326413155, 0.010789445601403713, 0.02034824714064598, 0.0467715784907341, 0.07899299263954163, -0.018343567848205566, 0.026435380801558495, 0.003559695091098547, 0.0523659847676754, 0.09329146891832352, 0.005540239624679089, 0.037188880145549774, 0.03434261307120323, 0.08429143577814102, 0.011520144529640675, -0.006464423146098852, 0.05964353680610657, -0.06242207810282707, -0.005197295919060707, -0.027240045368671417, 0.041487377136945724, 0.015757296234369278, 0.0006912340177223086, 0.01833510398864746, 0.021686088293790817, -0.004056135658174753, 0.0010597879299893975, -0.006008417345583439, -0.005808296613395214, 0.05702028423547745, -0.02096077986061573, 0.0030175610445439816, 0.006520532071590424, -0.02789165824651718, 0.017114533111453056, -0.062172818928956985, -0.053596608340740204, 0.00012113207048969343, -0.02307792939245701, 0.023598799481987953, -0.0553472526371479, -0.03693224862217903, -0.06287529319524765, -0.029014751315116882, 0.04422851651906967, 0.013921815901994705, -0.014128089882433414, -0.03515969216823578, 0.021290894597768784, -0.0629095509648323, -0.02219570241868496, -0.028491199016571045, -0.04935024678707123, -0.03234250843524933, -0.09096371382474899, 0.042742401361465454, 0.02856370434165001, -0.007924659177660942, 0.017288142815232277, 0.004687065724283457, -0.0019024239154532552, -0.03173049911856651, 0.04066887125372887, 0.050625450909137726, -0.03603837639093399, -0.03702689707279205, 0.022545890882611275, -0.03350486233830452, 0.027546631172299385, 0.002489908132702112, -0.02167566865682602, 0.08395721018314362, 0.0692942887544632, 0.01602611318230629, 0.019243184477090836, -0.03411732241511345, -0.07582101225852966, -0.04951824992895126, -0.04887731745839119, -0.04553424194455147, -0.004152510780841112, -0.04108813405036926, -0.06105571612715721, -0.011038647964596748, -0.03585148975253105, -0.017653055489063263, 0.0011753069702535868, 0.015831518918275833, 0.041379667818546295, 0.05225905030965805, 0.03362967073917389, 0.039926182478666306, -0.03994983434677124, -0.017673103138804436, 0.07112198323011398, -0.003415660234168172, 0.010580897331237793, -0.08142070472240448, -0.014404899440705776, 0.06386805325746536, 0.011041018180549145, -0.010127491317689419, -0.016196459531784058, 0.09866277873516083, 0.01108016911894083, 0.006492141634225845, 0.006994894705712795, 0.0011665640631690621, -0.019942406564950943, 0.00017317412130068988, -0.013875310309231281, -0.030423671007156372, -0.05199073255062103, -0.027682116255164146, -0.015935271978378296, 0.048448674380779266, -0.07199905067682266, -0.08415167033672333, -0.013313286937773228, 0.03453265503048897, 0.010299468412995338, 0.0001750010997056961, -0.031723570078611374, -0.007597938179969788, -0.045664798468351364, -0.014284850098192692, 0.009340131655335426, 0.011344155296683311, 0.004737312905490398, 0.03501654416322708, 0.018917277455329895, -0.006151530425995588, 0.02721625193953514, 0.03832003101706505, 0.04561358317732811, -0.00501827709376812, -0.05673493072390556, 0.020086554810404778, -0.0046290066093206406, 0.037987466901540756, -0.0017029638402163982, -0.03700863569974899, -0.03785089775919914, -0.0816577598452568, -0.0017037340439856052, -0.007087456062436104, -0.04209836199879646, -0.002881511114537716, 0.034029386937618256, -0.03920938819646835, -0.01410287618637085, -0.013555364683270454, 0.033407773822546005, 0.039394866675138474, -0.039768099784851074, 0.06279567629098892, -0.02947106771171093, 0.024208933115005493, -0.03923926129937172, 0.0013163703260943294, -0.03654363006353378, -0.022051483392715454, 0.02520761638879776, 0.053163424134254456, 0.02950955554842949, 0.07023047655820847, 0.07786399871110916, 0.025072526186704636, -0.042431995272636414, 0.04291251301765442, 0.048608358949422836, -0.009978453628718853, -0.05577820539474487, -0.007260099984705448, -0.021178731694817543, -0.04690109193325043, 0.0030884449370205402, -0.027498923242092133, 0.022820742800831795, 0.026782574132084846, 0.001068134792149067, -0.02069488726556301, -0.01573420874774456, -0.022563954815268517, -0.0542781837284565, -0.057057082653045654, -0.013883862644433975, -0.001830700901336968, -0.02596544474363327, 0.044311266392469406, 0.024617906659841537, 0.035858117043972015, 0.062081195414066315, 0.0539669543504715, -0.02217142842710018, -0.010148641653358936, 0.021105585619807243, 0.018032170832157135, -0.03852955624461174, -0.06510849297046661, -0.05719006434082985, 0.05346401035785675, 0.034444667398929596, -0.009890425950288773, -0.05800178274512291, 0.020935265347361565, 0.045093681663274765, -0.015006208792328835, 0.06333280354738235, 0.011474302969872952, 0.04763814061880112, 0.05395384505391121, -0.003420437453314662, 0.026104111224412918, -0.027870111167430878, 0.007308674976229668, -0.012879135087132454, 0.04339849203824997, -0.03258144482970238, -0.04119151830673218, -0.0679405927658081, 0.0010108849965035915, 0.022443797439336777, 0.05984222888946533, 0.04032647982239723, -0.013602071441709995, -0.05519828945398331, 0.01597864367067814, 0.02029627189040184, -0.04371229186654091, 0.008719897828996181, 0.03182913735508919, 0.04559394717216492, -0.034640196710824966, -0.043944716453552246, -0.033934321254491806, 0.00217858562245965, 0.026926634833216667, 0.004027972929179668, -0.045359622687101364, -0.0583365373313427, 0.019780069589614868, -0.03371133655309677, -0.01583288237452507, -0.07289803773164749, 0.018268654122948647, -0.019018132239580154, -0.00899064727127552, 0.040935371071100235, 0.015414690598845482, 0.04405291751027107, 0.034680623561143875, 0.012936515733599663, 0.014435366727411747, -0.04428456351161003, 0.03206207603216171, -0.038475941866636276, -0.01016662921756506, -0.0163924228399992, -0.044664088636636734, 0.0019780131988227367, -0.05099145695567131, -0.04437805712223053, -0.05352514982223511, -0.03604469075798988, -0.005716623738408089, -0.0005369384889490902, 0.010126384906470776, -0.013863302767276764, 0.004619280342012644, -0.02715269848704338, -0.044680267572402954, -0.018430132418870926, -0.04268232733011246, -0.05030207708477974, -0.04379498213529587, 0.020398909226059914, 0.012026160024106503, 0.027724064886569977, 0.023594187572598457, 0.010990642011165619, 0.019006667658686638, 0.003496534423902631, -0.01580403558909893, 0.05773318186402321, -0.004857046529650688, -0.024655485525727272, -0.03245414420962334, 0.027203988283872604, 0.006855582352727652, 0.022734105587005615, -0.03888000547885895, 0.02039431966841221, 0.026857132092118263, -0.03278709948062897, 0.0033472352661192417, 0.019003473222255707, 0.032895855605602264, -0.06458733230829239, -0.07236417382955551, 0.00633661076426506, -0.03580153360962868, 0.041131388396024704, -0.024927351623773575, -0.033636424690485, 0.033514123409986496, 0.0299412552267313, 0.04296859726309776, 0.0031777252443134785, -0.028963563963770866, 0.011957335285842419, 0.001120852422900498, 0.025454478338360786, -0.07116948813199997, 0.00026960475952364504, -0.04336991161108017, 0.012230956926941872, -0.006131233647465706, 0.014433147385716438, -0.046982623636722565, 0.03468284010887146, -0.020416907966136932, -0.013879414647817612, -0.04123770445585251, 0.017830735072493553, -0.04272472858428955, 0.04237401485443115, 0.0014055321225896478, 0.011059722863137722, -0.035238731652498245, 0.02484629675745964, -0.059492770582437515, 0.010840392671525478, -0.021871022880077362, 0.013043481856584549, -0.035032834857702255, -0.01262835506349802, -0.0033729090355336666, -0.029910312965512276, 0.01441544946283102, 0.023770468309521675, 0.03558376058936119, 0.030251454561948776, -0.022539358586072922, 0.01865818165242672, 0.024504637345671654, -0.03852568939328194, -0.01952662132680416, -0.01860709860920906, 0.008002106100320816, -0.007165126968175173, 0.05228842422366142, 0.03724546730518341, -0.0571870356798172, -0.04392959550023079, 0.04017160087823868, 0.03441375866532326, 0.00047640776028856635, 0.007368468679487705, 0.03269997239112854, 0.01671738177537918, 0.05627698078751564, -0.016859397292137146, -0.00048721744678914547, -0.04152102768421173, -0.027516694739460945, 0.009574612602591515, -0.009555961936712265, -0.008782248012721539, -0.009144514799118042, -0.03551040589809418, -0.03812751919031143, 0.05906980484724045, 0.006839429028332233, 0.0331600122153759, 0.03639337792992592, -0.03915940597653389, 0.0017557477112859488, -0.0008097669924609363, -0.046930860728025436, 0.012815459631383419, -0.0023560458794236183, -0.033133067190647125, 0.08039731532335281, -0.007198619656264782, -0.001945733092725277, 0.04605785012245178, 0.02677932195365429, -0.01513825636357069, 0.04923612251877785, -0.054924312978982925, 0.034924861043691635, 0.03374221920967102, -0.051005538552999496, -0.01438413467258215, -0.015727940946817398, 0.05707765743136406, -0.07646345347166061, 0.0474017858505249, 0.05944064259529114, 0.008115899749100208, 0.027811935171484947, -0.026736943051218987, -0.04616083949804306, 0.03003227524459362, -0.029550399631261826, 0.06806212663650513, 0.01896493136882782, -0.0784137174487114, 0.06472249329090118, 0.029497073963284492, -0.0944603830575943, 0.03305124118924141, 0.03684409707784653, 0.025993186980485916, 0.037727419286966324, 0.04758070781826973, -0.04355883225798607, 0.011070627719163895, -0.02447246015071869, 0.027256201952695847, -0.030867036432027817, -0.030774161219596863, 0.022903140634298325, -0.034825436770915985, -0.013919949531555176, 0.02350778691470623, -0.011659359559416771, -0.010243164375424385, 0.02823096327483654, -0.052674178034067154, -0.051325030624866486, -0.012545756064355373, 0.012369968928396702, -0.03594251722097397, 0.0030673714354634285, -0.015281490050256252, 0.018724411725997925, 0.01423158124089241, 0.00817182194441557, -0.03757069259881973, -0.009932056069374084, 0.04050571843981743, -0.07281354814767838, -0.058208663016557693, 0.04344654455780983, 0.014625275507569313, -0.03584569692611694, 0.027614763006567955, -0.005721093621104956, 0.013451525010168552, 0.023869235068559647, -0.010083558037877083, 0.0381045863032341, -0.06865683197975159, 0.001632841071113944, 0.01621091738343239, 0.02711947076022625, 0.038565609604120255, -0.03491022810339928, 0.011837874539196491, 0.03131644055247307, 0.02198771759867668, 0.007251449394971132, -0.0352938175201416, -0.02886904403567314, 0.021485798060894012, -0.044845420867204666, 0.012908229604363441, 0.004799096379429102, -0.038246653974056244, -0.028377464041113853, -0.024227121844887733, -0.012250376865267754, 0.03856440261006355, -0.03417878597974777, 0.005499008111655712, 0.0374077707529068, -0.0322270467877388, -0.03704937919974327, -0.07809136062860489, -0.04611662030220032, -0.03334764391183853, 0.018241235986351967, 0.019105568528175354, -0.05273617058992386, 0.003529151203110814, -0.05711521953344345, -0.0594518817961216, 0.04298916831612587, 0.031010570004582405, -0.035915810614824295, 0.03991538658738136, 0.05780995264649391, -0.06666795164346695, 0.021879343315958977, 0.04615139588713646, -0.05264994129538536, 0.016481498256325722, 0.012667672708630562, 0.01171733159571886, 0.03689029440283775, 0.05831686779856682, -0.007623957470059395, -0.03156664967536926, -0.06369796395301819, -0.02305949106812477, -0.05125340819358826, 0.01968492567539215, 0.06751682609319687 ]
AnonymousSub/rule_based_roberta_bert_quadruplet_epochs_1_shard_1
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- tags: - generated_from_trainer datasets: - wikiann metrics: - precision - recall - f1 - accuracy inference: false language: - sk model-index: - name: bertoslav-limited-ner results: - task: name: Token Classification type: token-classification dataset: name: wikiann sk type: wikiann args: sk metrics: - name: Precision type: precision value: 0.8985571260306242 - name: Recall type: recall value: 0.9173994738819993 - name: F1 type: f1 value: 0.9078805459481573 - name: Accuracy type: accuracy value: 0.9700235061239639 --- # Named Entity Recognition based on bertoslav-limited This model is a fine-tuned version of [crabz/bertoslav-limited](https://huggingface.co/crabz/bertoslav-limited) on the Slovak wikiann dataset. It achieves the following results on the evaluation set: - Loss: 0.2119 - Precision: 0.8986 - Recall: 0.9174 - F1: 0.9079 - Accuracy: 0.9700 ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 5e-05 - train_batch_size: 24 - eval_batch_size: 24 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 10.0 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | 0.2953 | 1.0 | 834 | 0.1516 | 0.8413 | 0.8647 | 0.8529 | 0.9549 | | 0.0975 | 2.0 | 1668 | 0.1304 | 0.8787 | 0.9056 | 0.8920 | 0.9658 | | 0.0487 | 3.0 | 2502 | 0.1405 | 0.8916 | 0.8958 | 0.8937 | 0.9660 | | 0.025 | 4.0 | 3336 | 0.1658 | 0.8850 | 0.9116 | 0.8981 | 0.9669 | | 0.0161 | 5.0 | 4170 | 0.1739 | 0.8974 | 0.9127 | 0.9050 | 0.9693 | | 0.0074 | 6.0 | 5004 | 0.1888 | 0.8900 | 0.9144 | 0.9020 | 0.9687 | | 0.0051 | 7.0 | 5838 | 0.1996 | 0.8946 | 0.9145 | 0.9044 | 0.9693 | | 0.0039 | 8.0 | 6672 | 0.2052 | 0.8993 | 0.9158 | 0.9075 | 0.9697 | | 0.0024 | 9.0 | 7506 | 0.2112 | 0.8946 | 0.9171 | 0.9057 | 0.9696 | | 0.0018 | 10.0 | 8340 | 0.2119 | 0.8986 | 0.9174 | 0.9079 | 0.9700 | ### Framework versions - Transformers 4.14.0.dev0 - Pytorch 1.10.0 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.004042723216116428, -0.018109213560819626, -0.029244661331176758, 0.035506535321474075, 0.046469371765851974, 0.019456161186099052, -0.02175767719745636, -0.008902497589588165, -0.040324270725250244, 0.06991690397262573, 0.028030911460518837, -0.007052890490740538, 0.008231015875935555, 0.05283758044242859, -0.017094548791646957, -0.02877861075103283, -0.00033753758179955184, 0.0032643452286720276, -0.03805984556674957, -0.01952684111893177, -0.02336316742002964, 0.01459939032793045, 0.0069623724557459354, 0.0011910576140508056, 0.028065068647265434, 0.015810610726475716, -0.013291854411363602, 0.0232028029859066, 0.03276142105460167, -0.0609077513217926, 0.01422539260238409, -0.0017477180808782578, -0.055300503969192505, -0.011367817409336567, -0.004122634883970022, -0.03991406410932541, -0.008785474114120007, 0.02109345607459545, 0.028007827699184418, 0.07276879251003265, -0.014754418283700943, 0.014233294874429703, -0.01205194741487503, -0.04822789877653122, 0.032654449343681335, -0.013701900839805603, -0.04225728660821915, 0.00285172276198864, 0.03146738186478615, -0.010818819515407085, -0.06842796504497528, -0.059946805238723755, -0.027815688401460648, 0.02701926976442337, -0.03569431230425835, -0.03224558383226395, -0.04025471955537796, 0.005736424122005701, 0.07457812130451202, -0.05537719652056694, -0.04160601273179054, 0.010642405599355698, -0.06872563064098358, 0.04834582656621933, 0.016575153917074203, -0.005243335384875536, 0.0221537034958601, -0.07541555911302567, 0.040926262736320496, -0.015811996534466743, 0.0637734979391098, -0.014739032834768295, -0.006637883372604847, -0.08469855785369873, -0.025890681892633438, -0.006776297930628061, 0.02829079143702984, 0.046799443662166595, -0.003668558783829212, 0.03417277708649635, 0.03161177784204483, 0.008242173120379448, 0.03776852414011955, -0.030041228979825974, 0.0006429279455915093, 0.040247488766908646, -0.04681505635380745, -0.01782936416566372, -0.0038366885855793953, 0.04450523108243942, -0.035125479102134705, -0.0020214756950736046, -0.019196441397070885, -0.0041817654855549335, -0.01527819037437439, 0.021307066082954407, 0.027591360732913017, 0.00532478466629982, 0.025051694363355637, 0.006432934198528528, 0.012187687680125237, 0.03445252403616905, -0.013018732890486717, 0.06252788007259369, 0.0018243644153699279, -0.016257524490356445, 0.013770723715424538, -0.00904055405408144, -0.01976911537349224, 0.007627482991665602, 0.026392998173832893, -0.04035401716828346, -0.05228126794099808, 0.03568671643733978, 0.022810326889157295, -0.026869000867009163, 0.05959656834602356, -0.021113494411110878, -0.024852044880390167, -0.05241716280579567, 0.040239717811346054, 0.017484068870544434, 0.002663732971996069, -0.00933921430259943, -0.031068094074726105, -0.0052254414185881615, -0.03563465178012848, -0.02177073061466217, 0.017496859654784203, 0.01041425671428442, -0.00002296649654454086, 0.06729695200920105, 0.012987633235752583, -0.07483712583780289, -0.0020942087285220623, 0.01342763938009739, -0.06846948713064194, 0.05312878638505936, 0.02014867216348648, 0.1077694296836853, -0.046872660517692566, -0.0678030326962471, -0.0011537004029378295, 0.014278054237365723, -0.003570172470062971, -0.006925591267645359, 0.029960598796606064, -0.043572571128606796, -0.012299014255404472, 0.01506876852363348, 0.04904279485344887, -0.05319419503211975, -0.0033499901182949543, 0.07031704485416412, -0.017684312537312508, 0.028153331950306892, -0.06422066688537598, -0.01828855089843273, 0.023678628727793694, -0.003559619188308716, -0.012261985801160336, 0.022519607096910477, -0.006620808504521847, -0.0022978654596954584, -0.024641476571559906, -0.03092791512608528, 0.012965436093509197, 0.09122954308986664, 0.0051054502837359905, -0.024679481983184814, -0.045970939099788666, 0.016978902742266655, 0.07732361555099487, 0.039818525314331055, -0.028032435104250908, 0.02268240973353386, 0.052947353571653366, 0.0438043586909771, -0.03130005672574043, 0.037713780999183655, 0.023337094113230705, -0.045660216361284256, -0.01620318368077278, 0.025326009839773178, 0.0007218412356451154, -0.028075294569134712, 0.02173290215432644, 0.034998856484889984, 0.011924688704311848, -0.04754982516169548, -0.03116612322628498, 0.06655897200107574, 0.0017524590948596597, -0.004368470516055822, -0.0056463005021214485, 0.023459136486053467, -0.022819526493549347, 0.032285843044519424, -0.02565552107989788, -0.007001243066042662, -0.010208545252680779, -0.04322787746787071, 0.02719683013856411, 0.01619032956659794, 0.010866865515708923, 0.039322517812252045, -0.013559200800955296, 0.07752370089292526, -0.03440370038151741, 0.01635054312646389, -0.04334484785795212, -0.03034665808081627, 0.01415799930691719, 0.04963080585002899, 0.020030571147799492, 0.0592399463057518, 0.004816647619009018, -0.025864847004413605, 0.0251916516572237, 0.049813851714134216, 0.0531061515212059, 0.01656278781592846, -0.04764839634299278, -0.012226845137774944, 0.012543430551886559, 0.058910440653562546, -0.04399245232343674, -0.030754053965210915, 0.007624092046171427, 0.05689159408211708, -0.007875964045524597, 0.00882225763052702, -0.012168618850409985, 0.01492468174546957, -0.03625340387225151, -0.057508569210767746, 0.04755334183573723, 0.028327209874987602, 0.006716265343129635, 0.03573250770568848, -0.012523612938821316, 0.006601348053663969, 0.020872127264738083, 0.014210949651896954, -0.02785402722656727, -0.042965322732925415, 0.016159186139702797, 0.010915267281234264, 0.05141396448016167, -0.04866898059844971, 0.017749695107340813, 0.006589073222130537, 0.0037770511116832495, 0.045347992330789566, -0.0701584666967392, 0.04377793148159981, 0.0393064022064209, 0.023246433585882187, -0.02271605283021927, 0.014956366270780563, 0.008130586706101894, 0.0161517895758152, 0.06394203007221222, 0.007138371467590332, 0.07005220651626587, -0.00608195411041379, 0.04559554159641266, 0.082620769739151, 0.010835463181138039, 0.011331813409924507, 0.040354445576667786, 0.07109690457582474, -0.004843967966735363, -0.004804242867976427, 0.07943704724311829, -0.01565587893128395, 0.0044922782108187675, -0.04057208448648453, 0.006751824636012316, -0.015229003503918648, -0.010853378102183342, 0.009031237103044987, 0.010010844096541405, -0.02117336355149746, -0.0061517134308815, -0.0020096770022064447, -0.03154293820261955, 0.04716385900974274, 0.013391251675784588, 0.0009766565635800362, -0.008911903947591782, 0.012046465650200844, 0.014984042383730412, -0.0753708928823471, -0.0610395185649395, -0.006484493613243103, -0.025631915777921677, -0.0226710494607687, -0.07786764949560165, -0.010162468999624252, -0.06318540126085281, -0.029676025733351707, 0.027296483516693115, 0.04313724860548973, -0.011576700955629349, -0.025479502975940704, 0.004194175824522972, -0.049448538571596146, -0.04282665625214577, -0.03793136775493622, -0.024426527321338654, -0.052009016275405884, -0.07938656210899353, 0.03656462952494621, 0.03689797222614288, 0.049072276800870895, 0.020689506083726883, -0.00909330416470766, -0.027120128273963928, -0.01958497241139412, 0.04290102794766426, 0.06411591172218323, -0.033272020518779755, -0.03298482671380043, 0.03501077741384506, -0.02329464815557003, 0.015825988724827766, 0.0002886486181523651, -0.02137136273086071, 0.0721261128783226, 0.07220332324504852, 0.024961108341813087, 0.008101366460323334, 0.009032286703586578, -0.059363558888435364, -0.0493110790848732, -0.024668263271450996, -0.03140311315655708, -0.02259119041264057, -0.06172431632876396, -0.05064940080046654, 0.008892697282135487, -0.03875363618135452, -0.01031571626663208, -0.01581219770014286, -0.008942697197198868, 0.02704918198287487, 0.04684140533208847, 0.041200798004865646, 0.04538919776678085, -0.021663861349225044, -0.028051236644387245, 0.07220994681119919, -0.005647846031934023, 0.0030347404535859823, -0.08241379261016846, -0.010658124461770058, 0.024294916540384293, 0.02038150653243065, 0.0199101772159338, -0.009464283473789692, 0.07018931955099106, 0.0009376222733408213, -0.023156331852078438, -0.002537892898544669, -0.02648206613957882, -0.060549039393663406, -0.00770754786208272, 0.0042496356181800365, -0.0053834449499845505, -0.040934570133686066, -0.003979123197495937, 0.0002034520439337939, 0.026699651032686234, -0.06667349487543106, -0.028107836842536926, 0.0057072448544204235, 0.02648271434009075, 0.04135378077626228, 0.020230932161211967, -0.04980998858809471, -0.000581882894039154, -0.0365154966711998, -0.03799718990921974, 0.03537951782345772, 0.030430369079113007, 0.02593756467103958, 0.048414554446935654, 0.03050830587744713, -0.03425045311450958, 0.04865029826760292, 0.021210815757513046, 0.019280197098851204, 0.022315537557005882, -0.045870788395404816, -0.0023789263796061277, -0.0367128811776638, 0.0266896840184927, -0.008946101181209087, -0.02199392020702362, -0.04888009652495384, -0.1106671541929245, 0.0003545132640283555, 0.009454695507884026, 0.00758631806820631, -0.031949326395988464, 0.02726791985332966, -0.024527452886104584, -0.007962945848703384, -0.0007234566728584468, 0.019118845462799072, 0.03281605988740921, -0.07762634754180908, 0.047097139060497284, 0.01332547701895237, 0.02915174700319767, -0.05822326987981796, 0.002672274364158511, -0.03607023507356644, -0.011821189895272255, 0.01572609134018421, 0.06565210968255997, 0.023002879694104195, 0.0309147872030735, 0.06481833010911942, 0.0038989484310150146, -0.04744197800755501, 0.04160577431321144, 0.04827740043401718, -0.02448602020740509, -0.04659893736243248, 0.010500062257051468, 0.006486089900135994, -0.030157247558236122, -0.02315358631312847, -0.03173757717013359, 0.035457443445920944, 0.050737347453832626, 0.010939721949398518, -0.000456793699413538, 0.014249521307647228, -0.011362692341208458, -0.03679165244102478, -0.07654272019863129, -0.02076314017176628, 0.01880732923746109, -0.03815001621842384, 0.02583419717848301, 0.05522313341498375, 0.023018673062324524, 0.058024439960718155, 0.0549648217856884, -0.03433779627084732, -0.03389677777886391, 0.04202437400817871, 0.03431386500597, -0.02236485853791237, -0.06728743016719818, -0.03664444014430046, 0.059565216302871704, 0.03736565262079239, -0.030650248751044273, -0.08624283224344254, 0.016540829092264175, 0.05551043152809143, -0.05427985638380051, 0.06882340461015701, -0.003350528422743082, 0.055511802434921265, 0.04382859170436859, -0.02438950538635254, 0.036990609019994736, -0.023959018290042877, 0.002007021103054285, 0.0018045823089778423, 0.0590665377676487, -0.004589763469994068, -0.030460989102721214, -0.016794176772236824, 0.046372346580028534, 0.027374066412448883, 0.04107742756605148, 0.028932303190231323, -0.018998142331838608, -0.06168302148580551, -0.015205216594040394, 0.0378652885556221, -0.06930389255285263, 0.009479216299951077, 0.01431187242269516, 0.04222060367465019, -0.052934762090444565, -0.03474024310708046, -0.023285824805498123, -0.019304098561406136, 0.03878052905201912, -0.011953430250287056, -0.050782639533281326, -0.05544112250208855, 0.011671846732497215, -0.027960002422332764, -0.011932626366615295, -0.07422814518213272, 0.039234280586242676, -0.007999160327017307, 0.005663969088345766, 0.03335760161280632, 0.032847948372364044, 0.024189434945583344, 0.042370278388261795, -0.0005610539228655398, -0.022108320146799088, -0.04088079556822777, 0.04770563542842865, -0.0509469211101532, -0.02049310691654682, 0.007403022143989801, -0.044821597635746, 0.01541468221694231, -0.005596315022557974, -0.04200903698801994, -0.04362896457314491, -0.006643132772296667, 0.032461971044540405, 0.013389532454311848, -0.024976154789328575, -0.010733438655734062, 0.029940910637378693, -0.05919184535741806, -0.042269542813301086, -0.026643887162208557, -0.036548588424921036, -0.040205925703048706, -0.057492733001708984, 0.022187087684869766, 0.0008314362494274974, 0.051209695637226105, 0.03602220118045807, 0.01575602777302265, 0.01023379247635603, -0.005940585862845182, -0.04034782946109772, 0.020284250378608704, 0.004337463993579149, -0.023677419871091843, -0.023663969710469246, 0.02408473752439022, 0.02025049924850464, 0.0557962991297245, -0.023464078083634377, 0.031167294830083847, 0.03526109829545021, -0.024749210104346275, -0.053024206310510635, -0.0025131043512374163, 0.014684970490634441, -0.048466622829437256, -0.02740662731230259, 0.0029624076560139656, -0.0371834971010685, 0.03214670345187187, -0.017320964485406876, -0.026433974504470825, 0.004447720479220152, -0.022927258163690567, 0.021732155233621597, -0.008705762214958668, -0.03582209348678589, 0.02813374251127243, -0.024840334430336952, 0.0161089226603508, -0.05275575444102287, 0.04318246245384216, -0.0271769892424345, 0.001634853077121079, -0.017772868275642395, -0.008232415653765202, -0.040059641003608704, 0.02866184711456299, -0.0033087432384490967, -0.027814596891403198, -0.010760359466075897, 0.02769950032234192, -0.03586089611053467, 0.021930813789367676, -0.006563019007444382, 0.04117976874113083, -0.019534962251782417, 0.04097367823123932, -0.08131544291973114, 0.005538507830351591, -0.023489804938435555, 0.001203913358040154, -0.034725990146398544, -0.004849710501730442, -0.01714005134999752, -0.021386077627539635, 0.018101461231708527, 0.03692106530070305, 0.03920356556773186, 0.05127570778131485, -0.030944135040044785, -0.010036254301667213, 0.043080415576696396, -0.06014265865087509, -0.01629679836332798, -0.02734479494392872, 0.011405175551772118, -0.029057713225483894, 0.097674161195755, 0.056141722947359085, -0.06790933758020401, -0.06589857488870621, 0.036509785801172256, 0.01469092071056366, 0.0003310052561573684, 0.00787350907921791, 0.042149804532527924, 0.0486890971660614, 0.04144784435629845, -0.022011898458003998, 0.0006567428354173899, 0.0025289684999734163, -0.029900269582867622, 0.02099904790520668, 0.001547640305943787, 0.034340981394052505, 0.004247860983014107, -0.038570791482925415, -0.033651139587163925, 0.0443793386220932, 0.031068872660398483, 0.023946305736899376, -0.03608231619000435, -0.006827091332525015, 0.024108363315463066, -0.034893497824668884, -0.05092369019985199, 0.008235706947743893, 0.00500611774623394, -0.06058896705508232, 0.0854044258594513, -0.029201719909906387, 0.012401148676872253, 0.047592662274837494, 0.04158438369631767, -0.026359153911471367, 0.048853084444999695, -0.013948420062661171, 0.015223957598209381, 0.0460967943072319, -0.07007602602243423, -0.0018408517353236675, -0.030911242589354515, 0.07093551009893417, -0.05813346803188324, 0.03148069977760315, 0.06540627777576447, 0.0015958723379299045, 0.03967790678143501, -0.006610054522752762, -0.015674812719225883, 0.013914762996137142, -0.042552102357149124, 0.07887338101863861, 0.013867014087736607, -0.06136495992541313, 0.06153000518679619, 0.006088521797209978, -0.06563326716423035, 0.035838332027196884, 0.01986873708665371, 0.018539883196353912, 0.03626386821269989, 0.05189385637640953, -0.031605202704668045, 0.013683141209185123, -0.04498923942446709, 0.0328759141266346, -0.024009035900235176, -0.0024942755699157715, 0.01219442393630743, -0.057869236916303635, 0.001369275851175189, 0.020006584003567696, -0.02505648508667946, -0.007753720507025719, 0.0319032222032547, -0.06580427289009094, -0.03746911510825157, 0.011413639411330223, 0.02057824097573757, -0.0214943028986454, 0.0027391938492655754, -0.04104239493608475, 0.023514874279499054, 0.026690654456615448, -0.008794605731964111, -0.056769706308841705, -0.023300785571336746, 0.028281576931476593, -0.06915255635976791, -0.028533075004816055, 0.04041041433811188, 0.0019801671151071787, -0.03570307046175003, 0.026135466992855072, -0.006278840824961662, 0.0456678569316864, 0.027642691507935524, 0.003392062848433852, -0.0036360113881528378, -0.05654570087790489, -0.01639563776552677, 0.021892545744776726, 0.013457522727549076, 0.03348406404256821, -0.007913206703960896, 0.0338151790201664, 0.05902831256389618, 0.030746113508939743, -0.005113866645842791, -0.026454979553818703, -0.01075730100274086, 0.028398504480719566, -0.051017288118600845, 0.006158186122775078, 0.005154818296432495, -0.054212652146816254, -0.058370474725961685, -0.01716131716966629, -0.011383121833205223, 0.048475489020347595, -0.052748359739780426, 0.008495369926095009, 0.04662764072418213, -0.020168880000710487, -0.0443805493414402, -0.09798344224691391, -0.020544447004795074, -0.04012366384267807, 0.012927085161209106, 0.02868233621120453, -0.01798849366605282, 0.006540332455188036, -0.04201158508658409, -0.06335408985614777, 0.03158615529537201, 0.020808717235922813, -0.03902065008878708, 0.04637301340699196, 0.060572605580091476, -0.05808478221297264, 0.026700612157583237, 0.03864175081253052, -0.025856371968984604, 0.03377716243267059, 0.015281524509191513, 0.006780924741178751, 0.03732927888631821, 0.040235038846731186, -0.0279630646109581, -0.011020696721971035, -0.06418244540691376, -0.046248115599155426, -0.035410504788160324, -0.0027068709023296833, 0.04827546328306198 ]
AnonymousSub/rule_based_roberta_bert_quadruplet_epochs_1_shard_1_squad2.0
[ "pytorch", "roberta", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- license: mit language: - sk tags: - generated_from_trainer datasets: - wikiann metrics: - precision - recall - f1 - accuracy inference: false widget: - text: "Zuzana Čaputová sa narodila 21. júna 1973 v Bratislave." example_title: "Named Entity Recognition" model-index: - name: slovakbert-ner results: - task: name: Token Classification type: token-classification dataset: name: wikiann type: wikiann args: sk metrics: - name: Precision type: precision value: 0.9327115256495669 - name: Recall type: recall value: 0.9470124013528749 - name: F1 type: f1 value: 0.9398075632132469 - name: Accuracy type: accuracy value: 0.9785228256835333 --- # Named Entity Recognition based on SlovakBERT This model is a fine-tuned version of [gerulata/slovakbert](https://huggingface.co/gerulata/slovakbert) on the Slovak wikiann dataset. It achieves the following results on the evaluation set: - Loss: 0.1600 - Precision: 0.9327 - Recall: 0.9470 - F1: 0.9398 - Accuracy: 0.9785 ## Intended uses & limitations Supported classes: LOCATION, PERSON, ORGANIZATION ``` from transformers import pipeline ner_pipeline = pipeline(task='ner', model='crabz/slovakbert-ner') input_sentence = "Minister financií a líder mandátovo najsilnejšieho hnutia OĽaNO Igor Matovič upozorňuje, že následky tretej vlny budú na Slovensku veľmi veľké." classifications = ner_pipeline(input_sentence) ``` with `displaCy`: ``` import spacy from spacy import displacy ner_map = {0: '0', 1: 'B-OSOBA', 2: 'I-OSOBA', 3: 'B-ORGANIZÁCIA', 4: 'I-ORGANIZÁCIA', 5: 'B-LOKALITA', 6: 'I-LOKALITA'} entities = [] for i in range(len(classifications)): if classifications[i]['entity'] != 0: if ner_map[classifications[i]['entity']][0] == 'B': j = i + 1 while j < len(classifications) and ner_map[classifications[j]['entity']][0] == 'I': j += 1 entities.append((ner_map[classifications[i]['entity']].split('-')[1], classifications[i]['start'], classifications[j - 1]['end'])) nlp = spacy.blank("en") # it should work with any language doc = nlp(input_sentence) ents = [] for ee in entities: ents.append(doc.char_span(ee[1], ee[2], ee[0])) doc.ents = ents options = {"ents": ["OSOBA", "ORGANIZÁCIA", "LOKALITA"], "colors": {"OSOBA": "lightblue", "ORGANIZÁCIA": "lightcoral", "LOKALITA": "lightgreen"}} displacy_html = displacy.render(doc, style="ent", options=options) ``` <div class="entities" style="line-height: 2.5; direction: ltr">Minister financií a líder mandátovo najsilnejšieho hnutia <mark class="entity" style="background: lightcoral; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;"> OĽaNO <span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">ORGANIZÁCIA</span> </mark> <mark class="entity" style="background: lightblue; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;"> Igor Matovič <span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">OSOBA</span> </mark> upozorňuje, že následky tretej vlny budú na <mark class="entity" style="background: lightgreen; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;"> Slovensku <span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">LOKALITA</span> </mark> veľmi veľké.</div> ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 5e-05 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 15.0 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | 0.2342 | 1.0 | 625 | 0.1233 | 0.8891 | 0.9076 | 0.8982 | 0.9667 | | 0.1114 | 2.0 | 1250 | 0.1079 | 0.9118 | 0.9269 | 0.9193 | 0.9725 | | 0.0817 | 3.0 | 1875 | 0.1093 | 0.9173 | 0.9315 | 0.9243 | 0.9747 | | 0.0438 | 4.0 | 2500 | 0.1076 | 0.9188 | 0.9353 | 0.9270 | 0.9743 | | 0.028 | 5.0 | 3125 | 0.1230 | 0.9143 | 0.9387 | 0.9264 | 0.9744 | | 0.0256 | 6.0 | 3750 | 0.1204 | 0.9246 | 0.9423 | 0.9334 | 0.9765 | | 0.018 | 7.0 | 4375 | 0.1332 | 0.9292 | 0.9416 | 0.9353 | 0.9770 | | 0.0107 | 8.0 | 5000 | 0.1339 | 0.9280 | 0.9427 | 0.9353 | 0.9769 | | 0.0079 | 9.0 | 5625 | 0.1368 | 0.9326 | 0.9442 | 0.9383 | 0.9785 | | 0.0065 | 10.0 | 6250 | 0.1490 | 0.9284 | 0.9445 | 0.9364 | 0.9772 | | 0.0061 | 11.0 | 6875 | 0.1566 | 0.9328 | 0.9433 | 0.9380 | 0.9778 | | 0.0031 | 12.0 | 7500 | 0.1555 | 0.9339 | 0.9473 | 0.9406 | 0.9787 | | 0.0024 | 13.0 | 8125 | 0.1548 | 0.9349 | 0.9462 | 0.9405 | 0.9787 | | 0.0015 | 14.0 | 8750 | 0.1562 | 0.9330 | 0.9469 | 0.9399 | 0.9788 | | 0.0013 | 15.0 | 9375 | 0.1600 | 0.9327 | 0.9470 | 0.9398 | 0.9785 | ### Framework versions - Transformers 4.13.0.dev0 - Pytorch 1.10.0+cu113 - Datasets 1.15.1 - Tokenizers 0.10.3
[ 0.0015674653695896268, -0.01785978488624096, -0.027349621057510376, 0.04052451252937317, 0.06034214794635773, 0.025983337312936783, -0.006819190923124552, -0.0026478427462279797, -0.073320671916008, 0.07286547124385834, 0.04328944906592369, -0.007544565945863724, 0.008102868683636189, 0.046020135283470154, -0.020270947366952896, -0.028917845338582993, 0.0018399060936644673, -0.013074946589767933, -0.047683991491794586, -0.02489064447581768, -0.022480329498648643, 0.021664345636963844, 0.0015545017085969448, -0.007570719346404076, 0.0028953496366739273, 0.014784636907279491, 0.002058572368696332, 0.033785704523324966, 0.021588580682873726, -0.06802883744239807, -0.001150441588833928, -0.004746387712657452, -0.03930610045790672, -0.013574370183050632, -0.031617943197488785, -0.012592997401952744, -0.018050815910100937, 0.02450377494096756, 0.020583435893058777, 0.07452575117349625, -0.02231835387647152, 0.02464725635945797, -0.012034285813570023, -0.04604443162679672, 0.028399953618645668, 0.002141691045835614, -0.041313137859106064, -0.00986515637487173, 0.03314036875963211, -0.02141876332461834, -0.05515434220433235, -0.06987451016902924, -0.026284385472536087, 0.04491587355732918, -0.03480447828769684, -0.022398611530661583, -0.056260183453559875, 0.008013448677957058, 0.07508580386638641, -0.05377287045121193, -0.04499354958534241, 0.02162940241396427, -0.06408489495515823, 0.02162897028028965, 0.01854168251156807, -0.009064811281859875, -0.0015521097229793668, -0.05987041816115379, 0.05165933072566986, -0.01205812394618988, 0.06283113360404968, -0.0241748858243227, 0.004018401261419058, -0.07459322363138199, -0.023591162636876106, -0.009588899090886116, 0.023866506293416023, 0.04239937663078308, -0.009285257197916508, 0.0303198229521513, 0.020672660320997238, 0.007664996664971113, 0.02100037969648838, -0.028527656570076942, 0.009274238720536232, 0.029495079070329666, -0.0286636371165514, -0.01283692941069603, 0.00834438856691122, 0.048396382480859756, -0.03273618966341019, -0.0032957773655653, -0.01211864035576582, -0.02574065513908863, -0.022278349846601486, 0.02019137144088745, 0.0488404855132103, 0.022946063429117203, 0.03005814738571644, 0.027216073125600815, 0.021544761955738068, 0.03658922389149666, -0.004995895083993673, 0.05852706730365753, -0.010529512539505959, -0.012936289422214031, 0.0035989643074572086, -0.022633612155914307, -0.04288460686802864, 0.03110858052968979, 0.019199073314666748, -0.03902149200439453, -0.04415760561823845, 0.04034418240189552, 0.026555100455880165, -0.02659345045685768, 0.06536855548620224, -0.033546265214681625, -0.036209747195243835, -0.0605437234044075, 0.04848034679889679, 0.011080276221036911, 0.010144241154193878, 0.009891757741570473, -0.0248236246407032, -0.0014262876939028502, -0.04412943124771118, -0.034928496927022934, 0.013488633558154106, 0.007633270230144262, 0.0014660705346614122, 0.0616631843149662, 0.02862153761088848, -0.07847288995981216, 0.012432585470378399, 0.01969381980597973, -0.06762901693582535, 0.06373751908540726, 0.032601576298475266, 0.1144677996635437, -0.042060691863298416, -0.05985571816563606, 0.00030009268084540963, 0.02744654379785061, -0.0046161324717104435, -0.015188957564532757, 0.027165181934833527, -0.03560497239232063, -0.01822950690984726, 0.014940928667783737, 0.06431008875370026, -0.055452946573495865, -0.0015588802052661777, 0.05380438268184662, -0.021379929035902023, 0.03163059428334236, -0.05001457408070564, -0.021249476820230484, 0.005620394833385944, 0.009701350703835487, -0.01079821027815342, 0.031138941645622253, -0.008539732545614243, 0.008877015672624111, -0.02266557328402996, -0.0337422713637352, 0.005867660976946354, 0.08692889660596848, 0.009630437009036541, -0.03626251965761185, -0.045075125992298126, 0.002040209248661995, 0.06412201374769211, 0.029812688007950783, -0.026150528341531754, 0.027829091995954514, 0.04771294817328453, 0.039734091609716415, -0.026759397238492966, 0.0372600294649601, 0.013139192014932632, -0.044896844774484634, -0.019660532474517822, 0.02205893024802208, -0.0132099948823452, -0.01365920901298523, 0.02423948422074318, 0.04095664992928505, 0.00019796277047134936, -0.04019686207175255, -0.03478142246603966, 0.043347038328647614, 0.004139020573347807, 0.012652164325118065, 0.012929941527545452, 0.032672420144081116, -0.014021485112607479, 0.03280342370271683, -0.014356020838022232, -0.0012781136902049184, -0.026041898876428604, -0.04675490781664848, 0.01928527094423771, 0.02362211048603058, 0.012267176993191242, 0.034364089369773865, -0.01999458484351635, 0.07261309027671814, -0.027988437563180923, 0.01888359896838665, -0.053023796528577805, -0.0393189899623394, 0.018021725118160248, 0.048934366554021835, 0.017175331711769104, 0.051981642842292786, 0.014136052690446377, -0.022172125056385994, 0.014967585913836956, 0.03664715215563774, 0.04774773493409157, 0.014504767023026943, -0.027833716943860054, 0.00024818358360789716, 0.010608349926769733, 0.06588467955589294, -0.04669208824634552, -0.050479162484407425, 0.0037606044206768274, 0.04220511019229889, -0.0003284006961621344, 0.008092629723250866, -0.013125118799507618, 0.029218221083283424, -0.03787867724895477, -0.07258815318346024, 0.05113070830702782, 0.024398712441325188, 0.013195758685469627, 0.02799115888774395, -0.021035807207226753, 0.0012474096147343516, 0.011866750195622444, 0.010360145941376686, -0.010004892013967037, -0.0485268272459507, 0.003486886853352189, -0.000879478408023715, 0.04276566207408905, -0.03908909857273102, 0.03878416866064072, 0.01058140303939581, 0.009657683782279491, 0.05048138648271561, -0.05863339453935623, 0.028000088408589363, 0.035919953137636185, 0.03510477766394615, -0.030414482578635216, 0.013514733873307705, 0.020777437835931778, 0.026674361899495125, 0.06096601486206055, 0.00792013667523861, 0.08176623284816742, -0.0017537075327709317, 0.04741897061467171, 0.08817106485366821, 0.027971435338258743, 0.012624066323041916, 0.030903056263923645, 0.06717406958341599, -0.010619516484439373, -0.0196477510035038, 0.06549398601055145, -0.03659604489803314, 0.014731280505657196, -0.05030839890241623, 0.009824034757912159, -0.01433804351836443, 0.0000418631243519485, 0.023331787437200546, 0.009308448992669582, -0.011202977038919926, 0.003025079844519496, -0.0044067781418561935, -0.013873627409338951, 0.03735589608550072, -0.0002188428770750761, 0.025730015709996223, -0.00933406874537468, -0.018918920308351517, 0.01630295254290104, -0.07191130518913269, -0.06770423799753189, -0.003950481303036213, -0.03078524023294449, -0.003869349602609873, -0.08305598795413971, -0.01773151382803917, -0.05491671711206436, -0.00990559533238411, 0.023008789867162704, 0.053239159286022186, -0.0036095306277275085, -0.03436693921685219, -0.000513796170707792, -0.0553288459777832, -0.035675231367349625, -0.05968310683965683, -0.015535234473645687, -0.05005744472146034, -0.09260697662830353, 0.03705243766307831, 0.019672881811857224, 0.05501696467399597, 0.002026730915531516, -0.00404175603762269, -0.021333245560526848, -0.01347647700458765, 0.051900237798690796, 0.04186805337667465, -0.037531014531850815, -0.02460538037121296, 0.026323974132537842, -0.01309150829911232, 0.044707290828228, -0.0056366873905062675, -0.02757032960653305, 0.06619913130998611, 0.08201803267002106, 0.02240963652729988, 0.009135785512626171, 0.021479401737451553, -0.055873721837997437, -0.06291995197534561, -0.030469529330730438, -0.03295961022377014, -0.024953333660960197, -0.0564739815890789, -0.057769499719142914, -0.00013870342809241265, -0.04276193678379059, -0.012309623882174492, -0.021403685212135315, 0.007457512430846691, 0.02416391298174858, 0.061053771525621414, 0.03686891868710518, 0.0399446114897728, -0.026105809956789017, -0.03166456148028374, 0.06277639418840408, 0.00404006615281105, 0.024495506659150124, -0.10074125230312347, -0.03053305484354496, 0.030279796570539474, 0.023172371089458466, 0.01563304476439953, -0.019779689610004425, 0.07158051431179047, -0.004845537710934877, -0.02071799524128437, -0.012879408895969391, -0.016891250386834145, -0.054886188358068466, 0.007051568478345871, -0.018649356439709663, -0.015659945085644722, -0.03551571071147919, -0.016803734004497528, -0.008387351408600807, 0.015008143149316311, -0.060263004153966904, -0.04930563643574715, 0.015156345441937447, 0.03684548661112785, 0.03827902302145958, 0.012421813793480396, -0.045833852142095566, -0.008715341798961163, -0.033042870461940765, -0.04461520537734032, 0.02341417968273163, 0.022179892286658287, 0.027296436950564384, 0.03827059641480446, 0.037859417498111725, -0.05693216994404793, 0.032327551394701004, 0.03729669377207756, 0.02565303072333336, 0.0018094370607286692, -0.058918774127960205, 0.025766685605049133, -0.034893698990345, 0.014318034052848816, -0.004327408503741026, -0.037418801337480545, -0.046557918190956116, -0.08783707022666931, 0.0005175232072360814, -0.004277127329260111, 0.017742905765771866, -0.01476620975881815, 0.006204638630151749, -0.004488841164857149, -0.0038905967958271503, 0.004532847553491592, 0.019486475735902786, 0.04584576189517975, -0.07692871242761612, 0.046266306191682816, -0.009515791200101376, 0.035345785319805145, -0.03660360351204872, -0.01022156048566103, -0.03710949420928955, -0.010514553636312485, -0.004605450667440891, 0.06936120241880417, 0.0324699841439724, 0.03637620806694031, 0.06453344970941544, 0.008270545862615108, -0.0446932427585125, 0.03891824930906296, 0.04532415792346001, -0.015963060781359673, -0.05065524950623512, -0.01998075656592846, -0.008917110972106457, -0.04413361847400665, -0.01834598369896412, -0.04347149655222893, 0.011578822508454323, 0.023528967052698135, 0.017520874738693237, -0.014216032810509205, 0.007150363642722368, -0.026315515860915184, -0.026725508272647858, -0.08590962737798691, -0.03246428072452545, 0.01876560039818287, -0.00949031114578247, 0.02202606201171875, 0.05154837295413017, 0.005910136271268129, 0.05692432448267937, 0.05685131996870041, -0.022001056000590324, -0.03954600915312767, 0.03846370428800583, 0.031668923795223236, -0.04652147367596626, -0.07009344547986984, -0.03965423256158829, 0.043171320110559464, 0.05439870059490204, -0.029013628140091896, -0.0898323729634285, 0.0047225202433764935, 0.051988858729600906, -0.030676916241645813, 0.08727114647626877, -0.023980790749192238, 0.05867333337664604, 0.04756060242652893, -0.02638714201748371, 0.03187523037195206, -0.02585415355861187, 0.017414165660738945, 0.019436463713645935, 0.07127940654754639, -0.02747964672744274, -0.0427151620388031, -0.00301913358271122, 0.05824872851371765, 0.01906491070985794, 0.055797137320041656, 0.043066129088401794, -0.015157840214669704, -0.04845231771469116, -0.02279151789844036, 0.037542976438999176, -0.07588474452495575, 0.02328796498477459, 0.012655766680836678, 0.045893147587776184, -0.054862573742866516, -0.035481542348861694, -0.0025787779595702887, -0.014072449877858162, 0.04080335795879364, -0.003707637544721365, -0.0453854501247406, -0.062416329979896545, 0.0065154568292200565, -0.01570739783346653, -0.02513212338089943, -0.06842528283596039, 0.02353742904961109, -0.015897177159786224, -0.013689775951206684, 0.0509292371571064, 0.02949679270386696, 0.014180386438965797, 0.024592189118266106, -0.011628479696810246, -0.031136907637119293, -0.04884948581457138, 0.03247050568461418, -0.03348628804087639, -0.0034582288935780525, -0.025509444996714592, -0.044884707778692245, 0.009610696695744991, -0.010890232399106026, -0.04671516641974449, -0.057250749319791794, -0.016030121594667435, 0.019597813487052917, 0.013999023474752903, -0.024673905223608017, -0.023128803819417953, 0.04567771777510643, -0.05328663811087608, -0.04229332134127617, -0.04425424709916115, -0.026325633749365807, -0.04197532683610916, -0.027414148673415184, 0.012934782542288303, 0.00889465119689703, 0.047619398683309555, 0.03251095861196518, -0.006021647248417139, 0.01647312566637993, -0.008488558232784271, -0.05563830956816673, 0.02397232875227928, -0.00685577979311347, -0.03506004065275192, -0.02185146138072014, 0.008537962101399899, 0.016199225559830666, 0.036845333874225616, -0.014168716967105865, 0.016989096999168396, 0.020069601014256477, -0.040925342589616776, -0.02904554456472397, -0.004068578593432903, 0.01892916113138199, -0.051235049962997437, -0.028722308576107025, 0.007088951300829649, -0.027613500133156776, 0.03126809746026993, -0.0006548723322339356, -0.029641043394804, -0.007554375566542149, -0.005978758446872234, 0.006218100432306528, -0.011472371406853199, -0.03532049432396889, 0.029870525002479553, -0.026824885979294777, 0.02113943174481392, -0.05059247091412544, 0.05902630463242531, -0.026007458567619324, 0.010030888952314854, -0.032423343509435654, -0.015711594372987747, -0.04773226007819176, 0.04385608807206154, 0.005518598947674036, -0.006701248232275248, -0.005880661774426699, 0.005112814716994762, -0.027513233944773674, 0.03475908562541008, -0.006027081049978733, 0.03993751481175423, -0.004740134347230196, 0.04055049642920494, -0.061493854969739914, 0.004210039973258972, -0.023440971970558167, 0.009988116100430489, -0.03513850271701813, -0.013424210250377655, -0.006752618122845888, -0.030629243701696396, 0.028543010354042053, 0.017951205372810364, 0.019378280267119408, 0.037295710295438766, -0.02682877704501152, 0.008206075988709927, 0.01744174212217331, -0.0799642950296402, -0.011248510330915451, -0.01924930512905121, 0.012686651200056076, -0.02563122659921646, 0.08597929030656815, 0.05319604650139809, -0.05635058879852295, -0.060713671147823334, 0.03429614380002022, 0.028032399713993073, 0.0012445877073332667, -0.006563714239746332, 0.024583635851740837, 0.0583544485270977, 0.03534816950559616, -0.025821927934885025, -0.00920780934393406, 0.004592386074364185, -0.02940898947417736, 0.008453899063169956, 0.0095627186819911, 0.033514827489852905, -0.005994413048028946, -0.03987157344818115, -0.04007691144943237, 0.060831468552351, 0.036345820873975754, 0.018282918259501457, -0.01086367852985859, -0.017538636922836304, 0.025046994909644127, -0.028973203152418137, -0.0559566468000412, -0.005777711048722267, 0.023167457431554794, -0.06424717605113983, 0.08726103603839874, -0.014174425974488258, -0.0035232261288911104, 0.036129046231508255, 0.026991162449121475, -0.03138135001063347, 0.06143658608198166, 0.0003427363990340382, 0.008371607400476933, 0.03639966994524002, -0.07879025489091873, 0.004823869094252586, -0.04253173619508743, 0.07061587274074554, -0.06289174407720566, 0.02793111279606819, 0.05811634287238121, 0.012920367531478405, 0.04491861164569855, -0.023512138053774834, -0.03263220563530922, 0.017980970442295074, -0.04782695695757866, 0.07927826046943665, 0.0029127169400453568, -0.05536173656582832, 0.06160972639918327, 0.018023639917373657, -0.07373539358377457, 0.025837307795882225, 0.025034205988049507, 0.012408815324306488, 0.03136013075709343, 0.05054699257016182, -0.036137904971838, -0.01428843755275011, -0.023146821185946465, 0.025378428399562836, -0.05232718959450722, -0.006434460170567036, 0.01573176681995392, -0.045963872224092484, -0.00914450641721487, 0.036291610449552536, -0.03149120882153511, -0.01845061033964157, 0.016763940453529358, -0.07339812070131302, -0.044639453291893005, 0.007571032270789146, 0.026466315612196922, -0.022633753716945648, 0.008162555284798145, -0.05619141086935997, 0.02828146331012249, 0.014883825555443764, 0.005582192447036505, -0.03353416919708252, -0.024233484640717506, 0.02045498974621296, -0.0608200766146183, -0.030672913417220116, 0.04975026845932007, 0.005436049774289131, -0.03730132430791855, 0.03775607421994209, -0.0029833843000233173, 0.03937278687953949, 0.031384728848934174, 0.012574409134685993, -0.003606737358495593, -0.05764284357428551, 0.010217766277492046, 0.014422371983528137, 0.024580661207437515, 0.04283890500664711, 0.001963404007256031, 0.027847588062286377, 0.046853821724653244, 0.025792395696043968, -0.012039302848279476, -0.0355343259871006, -0.01624596305191517, 0.018232664093375206, -0.031217901036143303, -0.004357161466032267, 0.01729150488972664, -0.04800839722156525, -0.041066039353609085, -0.020568683743476868, -0.0015566741349175572, 0.04425010830163956, -0.03574781119823456, 0.004083880223333836, 0.05010654404759407, -0.03139756992459297, -0.055580347776412964, -0.07869084179401398, -0.022943755611777306, -0.02029106207191944, 0.01786954328417778, 0.020608628168702126, -0.008011672645807266, 0.01739402674138546, -0.03698718175292015, -0.054177962243556976, 0.0328834168612957, 0.0368204191327095, -0.03898126259446144, 0.06570564210414886, 0.05123073607683182, -0.028338223695755005, 0.019304834306240082, 0.03406761214137077, -0.021790016442537308, 0.03571629151701927, 0.010062421672046185, 0.01281080860644579, 0.038472242653369904, 0.035469841212034225, -0.026720911264419556, -0.023266850039362907, -0.0750666931271553, -0.04597470909357071, -0.03417371213436127, 0.003978141583502293, 0.04300057515501976 ]
AnonymousSub/rule_based_roberta_bert_triplet_epochs_1_shard_1
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- language: tt datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: Tatar XLSR Wav2Vec2 Large 53 results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice tt type: common_voice args: tt metrics: - name: Test WER type: wer value: 30.93 --- # Wav2Vec2-Large-XLSR-53-Tatar Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Tatar using the [Common Voice](https://huggingface.co/datasets/common_voice) dataset. When using this model, make sure that your speech input is sampled at 16kHz. ## Usage The model can be used directly (without a language model) as follows: ```python import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor test_dataset = load_dataset("common_voice", "tt", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar") model = Wav2Vec2ForCTC.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits predicted_ids = torch.argmax(logits, dim=-1) print("Prediction:", processor.batch_decode(predicted_ids)) print("Reference:", test_dataset["sentence"][:2]) ``` ## Evaluation The model can be evaluated as follows on the Tatar test data of Common Voice. ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "tt", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar") model = Wav2Vec2ForCTC.from_pretrained("crang/wav2vec2-large-xlsr-53-tatar") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\u2013\u2014\;\:\"\\%\\\]' resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) # Preprocessing the datasets. # We need to read the aduio files as arrays def evaluate(batch): inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits pred_ids = torch.argmax(logits, dim=-1) batch["pred_strings"] = processor.batch_decode(pred_ids) return batch result = test_dataset.map(evaluate, batched=True, batch_size=8) print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"]))) ``` **Test Result**: 30.93 % ## Training The Common Voice `train` and `validation` datasets were used for training.
[ -0.027132930234074593, -0.023905379697680473, -0.015214508399367332, 0.05032755807042122, 0.05936610326170921, 0.03446727246046066, -0.022009393200278282, -0.00960773415863514, -0.04100349545478821, 0.05923629552125931, 0.033909812569618225, -0.029813483357429504, -0.008024311624467373, 0.02774081379175186, -0.023862376809120178, -0.048642709851264954, -0.02640334889292717, 0.0046846275217831135, -0.06316835433244705, -0.014556175097823143, 0.001935523934662342, 0.024394063279032707, -0.011090531945228577, 0.02733231708407402, -0.007487270515412092, 0.008904424495995045, -0.014233381487429142, 0.023635322228074074, 0.005964053329080343, -0.07798324525356293, -0.013886070810258389, -0.03469262644648552, -0.026686618104577065, -0.03700001910328865, -0.01760728843510151, -0.011391308158636093, -0.016117753461003304, 0.012680361978709698, 0.02228155918419361, 0.02709760144352913, -0.022079115733504295, 0.010789959691464901, -0.02127031981945038, -0.016081154346466064, 0.03729648143053055, 0.00340362754650414, -0.04498240351676941, -0.013531257398426533, 0.02698250114917755, -0.027518004179000854, -0.02075180597603321, -0.062477465718984604, -0.010876455344259739, 0.018488802015781403, -0.014303001575171947, -0.022496167570352554, -0.0366123765707016, -0.028849918395280838, 0.07101593911647797, -0.048706162720918655, -0.018193507567048073, 0.02055242285132408, -0.059593360871076584, 0.011932074092328548, 0.02241923287510872, -0.03688456490635872, -0.00019136280752718449, -0.0451594740152359, 0.029538946226239204, -0.022316502407193184, 0.052622102200984955, -0.04547777399420738, 0.01343433279544115, -0.10078269243240356, 0.018104312941432, -0.020808296278119087, 0.03441017493605614, 0.04379122331738472, -0.03820414841175079, 0.06078111752867699, 0.029109293594956398, -0.010699220933020115, 0.020140107721090317, -0.035137977451086044, -0.009075501002371311, 0.05497648939490318, -0.026998840272426605, 0.024313947185873985, 0.011904548853635788, 0.04892105981707573, -0.03558563441038132, -0.047322195023298264, -0.0377170704305172, -0.05003482848405838, 0.007390117738395929, 0.04476700350642204, 0.04227758198976517, -0.020278126001358032, 0.04142489284276962, 0.026637492701411247, 0.023644953966140747, 0.018926648423075676, -0.011395870707929134, 0.05997969210147858, -0.01645062305033207, 0.0026910356245934963, 0.002279276493936777, -0.033177003264427185, -0.029657350853085518, 0.022333625704050064, 0.05109386891126633, -0.048928022384643555, -0.03933420032262802, 0.04892699047923088, 0.009467190131545067, -0.009329925291240215, 0.03654025122523308, -0.04562319070100784, -0.04353845492005348, -0.038680460304021835, 0.0350734107196331, 0.01911422796547413, -0.006283514201641083, -0.005495760124176741, -0.03958670422434807, 0.030648354440927505, -0.03404819592833519, -0.042327675968408585, 0.002861924236640334, 0.008652939461171627, -0.009904284961521626, 0.031230058521032333, 0.012601763010025024, -0.052069857716560364, 0.012698252685368061, 0.011738605797290802, -0.058782052248716354, 0.033788539469242096, 0.017799682915210724, 0.10112187266349792, -0.05303246155381203, -0.054200176149606705, 0.02310645766556263, 0.008670116774737835, -0.008007792755961418, 0.012945424765348434, 0.015344091691076756, -0.015043840743601322, -0.04047515243291855, -0.004845728166401386, 0.04925863444805145, -0.07157374918460846, -0.0007986084092408419, 0.058018144220113754, -0.013283018954098225, 0.03977194055914879, -0.03324884921312332, -0.0026412431616336107, 0.021704453974962234, -0.009632051922380924, -0.01705297827720642, 0.03808607533574104, 0.010332759469747543, -0.024397514760494232, -0.028555909171700478, -0.05148710310459137, 0.0013342152815312147, 0.0722341313958168, -0.0022836755961179733, 0.010382752865552902, -0.02073020674288273, 0.020540626719594002, 0.04269549250602722, 0.01967860572040081, -0.04746748507022858, 0.03352075070142746, 0.06333212554454803, 0.029157249256968498, -0.011089354753494263, 0.07947930693626404, 0.018703388050198555, -0.034134816378355026, -0.029643040150403976, 0.001551122055388987, 0.005514107644557953, -0.0219038724899292, 0.009396999143064022, 0.034549396485090256, -0.011225980706512928, -0.019734932109713554, -0.03209890052676201, 0.05313599854707718, -0.00286936666816473, -0.010257633402943611, -0.006996460724622011, -0.00939137302339077, -0.04012381657958031, 0.03451886028051376, -0.02878717891871929, 0.005986532662063837, -0.02133474312722683, -0.022300338372588158, -0.01506607886403799, 0.01726509816944599, 0.012894349172711372, 0.06108011305332184, -0.005402869079262018, 0.08755430579185486, -0.03235432505607605, -0.0016505004605278373, -0.04373123496770859, -0.04307473823428154, -0.022328944876790047, 0.060386061668395996, 0.0295095294713974, 0.0735284835100174, 0.001677698572166264, -0.055317264050245285, 0.011473665945231915, 0.059567295014858246, 0.07631204277276993, 0.014639328233897686, -0.020122254267334938, 0.0003155918384436518, 0.02376684918999672, 0.07266972959041595, -0.0717841237783432, -0.027598969638347626, 0.014953632839024067, 0.022771639749407768, -0.016097985208034515, 0.02080814726650715, -0.02440783940255642, 0.045835983008146286, -0.05746125802397728, -0.09413786232471466, 0.060503412038087845, 0.02464435063302517, 0.03147084265947342, 0.020586036145687103, -0.029158761724829674, 0.010564596392214298, 0.03134377673268318, -0.0014128598850220442, 0.0036243507638573647, -0.03227256238460541, 0.000901497493032366, 0.008903359062969685, 0.047229234129190445, -0.07325787842273712, 0.029731305316090584, -0.020437616854906082, -0.0020635693799704313, 0.04363980516791344, -0.06285043060779572, 0.03266925364732742, 0.011192292906343937, 0.01611270383000374, -0.018233878538012505, 0.018346043303608894, -0.0018713902682065964, 0.051981136202812195, 0.05252376198768616, -0.004175411071628332, 0.043728459626436234, 0.005789513234049082, 0.039474088698625565, 0.10205911844968796, 0.0298017431050539, 0.002170213032513857, 0.006166233215481043, 0.05992710217833519, 0.009670164436101913, -0.02726823464035988, 0.07628374546766281, -0.05141977220773697, 0.030857419595122337, -0.031275659799575806, -0.0030898579861968756, -0.0034015134442597628, 0.0028390963561832905, 0.02691854164004326, 0.01155112124979496, -0.007821405306458473, 0.0063329823315143585, -0.02608579769730568, -0.020435534417629242, 0.04898357018828392, -0.02542760595679283, -0.016583509743213654, -0.004601241555064917, -0.012857569381594658, -0.0008289084653370082, -0.08423072844743729, -0.026991913095116615, -0.014308885671198368, -0.035444632172584534, 0.008109040558338165, -0.07335378229618073, -0.03381756320595741, -0.053224433213472366, -0.018716569989919662, 0.016780180856585503, 0.02216329053044319, 0.015779612585902214, -0.03286510333418846, 0.014496888965368271, -0.06202269718050957, -0.028181394562125206, -0.04792706295847893, -0.03457573801279068, -0.02666781097650528, -0.06274744868278503, 0.02745033986866474, 0.031178073957562447, 0.03532197326421738, 0.008209125138819218, 0.000652436981908977, -0.037556108087301254, -0.03340258449316025, 0.04503656551241875, 0.044356510043144226, -0.039163220673799515, -0.06536230444908142, 0.02960018441081047, -0.023269204422831535, 0.015144530683755875, 0.00036984754842706025, -0.048486389219760895, 0.06801809370517731, 0.07643159478902817, 0.030225958675146103, 0.03376302495598793, -0.03102385252714157, -0.05237214267253876, -0.061774011701345444, -0.032080940902233124, -0.05564918369054794, -0.01475355215370655, -0.02793603576719761, -0.03575865179300308, -0.016607603058218956, -0.0022930623963475227, -0.012427348643541336, -0.010784118436276913, -0.004213862121105194, 0.06600765883922577, 0.05550967901945114, 0.02517528086900711, 0.03558497130870819, -0.03778425231575966, -0.04295799881219864, 0.07159353792667389, 0.023230304941534996, -0.0007945135585032403, -0.07673712819814682, -0.035915978252887726, 0.014081683941185474, 0.029688870534300804, -0.010907884687185287, 0.0063452147878706455, 0.08187694847583771, -0.013397837989032269, -0.007666022051125765, 0.0172868724912405, -0.019338075071573257, -0.01523328572511673, -0.012990737333893776, -0.013552644290030003, 0.002499969443306327, -0.05216255411505699, -0.013356983661651611, 0.015302306972444057, 0.03740812838077545, -0.07398461550474167, -0.06500433385372162, -0.02292400225996971, 0.04919586330652237, 0.020337466150522232, -0.017805054783821106, -0.03966742753982544, 0.0003170525305904448, -0.04591745883226395, -0.02662261389195919, 0.014917023479938507, 0.01852065697312355, 0.02158420719206333, 0.037791330367326736, 0.0095817344263196, -0.03057551197707653, 0.05856112763285637, 0.04328320547938347, 0.07644141465425491, 0.018356967717409134, -0.04677386209368706, 0.004102798644453287, -0.024203594774007797, 0.018351629376411438, -0.01895754411816597, -0.034585628658533096, -0.02851315215229988, -0.07903570681810379, -0.032081425189971924, 0.010534292086958885, -0.02085149846971035, -0.03139694407582283, 0.033254723995923996, 0.00505239050835371, 0.0019489831756800413, 0.003744129091501236, 0.03501207008957863, 0.040517788380384445, -0.047507576644420624, 0.037915125489234924, -0.0008391045848838985, 0.043476663529872894, -0.07603892683982849, 0.014167414978146553, -0.012218240648508072, -0.024059219285845757, -0.0052590686827898026, 0.06739553064107895, 0.029534250497817993, 0.033266909420490265, 0.07133538275957108, 0.014208698645234108, -0.03828971087932587, 0.060795657336711884, 0.037505507469177246, -0.03659150004386902, -0.058837369084358215, -0.01133750844746828, -0.01798572577536106, -0.04945418983697891, -0.0069116330705583096, -0.0325537733733654, 0.03723003342747688, 0.03462991118431091, -0.011900504119694233, -0.0238124281167984, 0.002177027054131031, -0.04006669297814369, -0.02110126242041588, -0.037363454699516296, -0.05787729471921921, 0.042956795543432236, -0.022015899419784546, 0.03270002827048302, 0.03581560030579567, 0.004443486221134663, 0.08626960963010788, 0.042993977665901184, -0.03684077039361, -0.031135622411966324, 0.028653979301452637, 0.0335526205599308, -0.03530074283480644, -0.06856273114681244, -0.04391900822520256, 0.04919534549117088, 0.036482375115156174, -0.007465154863893986, -0.07191035896539688, -0.008640794083476067, 0.04717234522104263, -0.023327596485614777, 0.06527338922023773, -0.03270885720849037, 0.049135975539684296, 0.06005110591650009, -0.004618342965841293, 0.01191046740859747, -0.042124614119529724, 0.01988920569419861, 0.012427300214767456, 0.012806105427443981, -0.004929686896502972, -0.030180683359503746, -0.07484521716833115, 0.023514563217759132, 0.03385448455810547, 0.020662758499383926, 0.03864632919430733, -0.02892700769007206, -0.061429496854543686, 0.01578793115913868, 0.03233557194471359, -0.050238993018865585, 0.027022024616599083, 0.015303196385502815, 0.018235579133033752, -0.034528668969869614, -0.009805100038647652, -0.01447100006043911, 0.017983010038733482, 0.021739738062024117, 0.011763505637645721, -0.05508866906166077, -0.036970604211091995, 0.016060126945376396, -0.023600080981850624, -0.03198888152837753, -0.07467270642518997, 0.04192566126585007, -0.01500497106462717, -0.007806857582181692, 0.04363030195236206, 0.03374467045068741, 0.0528271459043026, 0.02805781178176403, 0.016206815838813782, 0.016880271956324577, -0.02366754598915577, 0.0441255159676075, -0.028140012174844742, -0.02672675997018814, -0.029785430058836937, -0.0378510057926178, -0.01989682950079441, -0.028063606470823288, -0.04674156382679939, -0.04833682253956795, -0.015148063190281391, 0.03202643617987633, -0.01621306501328945, -0.01188569888472557, -0.022701267153024673, 0.05615011975169182, -0.024484897032380104, -0.03127453848719597, -0.024555791169404984, -0.02040942572057247, -0.04692821949720383, -0.045783646404743195, 0.03082337975502014, -0.02248147316277027, 0.028763318434357643, 0.019159821793437004, 0.026356948539614677, 0.036921411752700806, -0.005949789192527533, 0.0014631097437813878, 0.0372733399271965, -0.01471739262342453, -0.04389793053269386, -0.044172756373882294, 0.03483191132545471, 0.010281759314239025, 0.05520785227417946, -0.013176553882658482, 0.03567501902580261, 0.015887336805462837, -0.0416531004011631, -0.012239565141499043, 0.014346050098538399, 0.05038974806666374, -0.05880110338330269, -0.04681260883808136, 0.003548199776560068, -0.05178837478160858, 0.004663877654820681, -0.0023660820443183184, -0.0038727473001927137, 0.02090177685022354, 0.0285007506608963, 0.045073941349983215, 0.0034948575776070356, -0.024296792224049568, 0.01574966311454773, -0.015045780688524246, 0.002502760384231806, -0.05743294954299927, 0.046518247574567795, -0.02927231416106224, 0.01777341216802597, -0.013711300678551197, -0.0037611343432217836, -0.031214512884616852, 0.02913007140159607, -0.012698394246399403, -0.01734708622097969, 0.0005045051220804453, 0.009443601593375206, -0.010602938942611217, 0.0330001600086689, -0.0025420545134693384, 0.02396569214761257, -0.032500218600034714, 0.05874986946582794, -0.020150022581219673, 0.018591929227113724, -0.026336319744586945, -0.0141299432143569, -0.02566007897257805, -0.02398989535868168, 0.005441328510642052, -0.05309111997485161, 0.06125901639461517, 0.052217114716768265, 0.03829631954431534, 0.042036812752485275, -0.021504847332835197, -0.0045115407556295395, -0.008506166748702526, -0.04498724266886711, -0.004267274402081966, -0.0045280177146196365, 0.04168162867426872, 0.01983257196843624, 0.05173293873667717, 0.0231015644967556, -0.06370028108358383, -0.04942408576607704, 0.03910267353057861, 0.013384711928665638, -0.0029227302875369787, 0.006359823513776064, 0.03877520561218262, 0.03447536379098892, 0.0534345768392086, -0.01896156184375286, 0.0047936527989804745, -0.016694391146302223, -0.035183217376470566, 0.01952253468334675, -0.014028141275048256, 0.007714269682765007, -0.007760855369269848, -0.04343969374895096, -0.027417819947004318, 0.06167687848210335, 0.025012727826833725, 0.020664719864726067, -0.02310754917562008, -0.03914106637239456, 0.010957367718219757, -0.012563762255012989, -0.03980419039726257, 0.012128293514251709, 0.0075652520172297955, -0.01881088688969612, 0.09475448727607727, -0.012558655813336372, -0.00383369205519557, 0.025298938155174255, 0.02574271336197853, -0.024175148457288742, 0.04374970868229866, -0.020281456410884857, 0.026398492977023125, 0.045387376099824905, -0.05743817612528801, -0.01580408215522766, -0.03158771991729736, 0.06985635310411453, -0.08104638010263443, 0.03970961272716522, 0.04538111761212349, 0.010924149304628372, 0.025615379214286804, -0.032952066510915756, -0.035784944891929626, 0.04582033306360245, -0.03723672404885292, 0.06246532127261162, 0.026733776554465294, -0.06522104144096375, 0.07222912460565567, 0.006897682789713144, -0.1094762533903122, 0.052992578595876694, 0.037289977073669434, 0.025248229503631592, 0.03199547156691551, 0.05178059637546539, -0.061287861317396164, 0.005639495328068733, -0.03607890382409096, 0.027070634067058563, -0.0636005625128746, 0.015639666467905045, 0.018521735444664955, -0.04968702793121338, -0.020312830805778503, 0.016550108790397644, -0.012640862725675106, -0.020420173183083534, -0.0006815881351940334, -0.05578780174255371, -0.02010655403137207, 0.0009369770414195955, 0.036458052694797516, -0.04278498888015747, 0.007772486191242933, -0.03762998804450035, 0.012253307737410069, 0.024989085271954536, 0.0008343200315721333, -0.021959982812404633, -0.027777718380093575, 0.007015758194029331, -0.04966935142874718, -0.05258006229996681, 0.03677888959646225, 0.014609957113862038, -0.0356350913643837, 0.06867284327745438, 0.008521191775798798, 0.019623219966888428, 0.02531505934894085, 0.012311676517128944, 0.04067940264940262, -0.05484680086374283, -0.01490230392664671, -0.010054350830614567, 0.031195294111967087, 0.021394383162260056, -0.00806393288075924, 0.05895773693919182, 0.05186213180422783, 0.004617331549525261, 0.014146273955702782, -0.026431946083903313, -0.016714245080947876, 0.019099542871117592, -0.04900491610169411, 0.013606905937194824, 0.018694723024964333, -0.04495156183838844, -0.020115748047828674, -0.007663528434932232, -0.022661475464701653, 0.03483029827475548, -0.06542404741048813, 0.0060792644508183, 0.021405180916190147, -0.04420752078294754, -0.045106664299964905, -0.06320472806692123, -0.033175963908433914, -0.03303205594420433, 0.03712494298815727, 0.026737123727798462, -0.05492279306054115, 0.005052568390965462, -0.045409269630908966, -0.05866212025284767, 0.012480096891522408, 0.018757281824946404, -0.03370273858308792, 0.06138506531715393, 0.04137655347585678, -0.06575819849967957, 0.01534407027065754, 0.044471800327301025, -0.028953613713383675, 0.027382634580135345, 0.00601319270208478, 0.014406518079340458, 0.038567494601011276, 0.03100384771823883, -0.038703422993421555, -0.028599349781870842, -0.05054629221558571, -0.032169703394174576, -0.03236252814531326, -0.004506360273808241, 0.05171763524413109 ]
AnonymousSub/rule_based_roberta_only_classfn_epochs_1_shard_1_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
27
null
--- language: - en <!-- thumbnail: https://raw.githubusercontent.com/JetRunner/BERT-of-Theseus/master/bert-of-theseus.png --> tags: - topic labeling license: apache-2.0 metrics: - ndcg --- # MyModel ## Model description This is the `BART-TL-all` model from the paper [BART-TL: Weakly-Supervised Topic Label Generation](https://www.aclweb.org/anthology/2021.eacl-main.121.pdf). We aim to solve the topic labeling task using generative methods, rather than selection from a pool of labels as was done in previous State of the Art works. For more details not covered here, you can read the paper or look at the open-source implementation: https://github.com/CristianViorelPopa/BART-TL-topic-label-generation. There are two models made available from the paper: * [BART-TL-all](https://huggingface.co/cristian-popa/bart-tl-all) * [BART-TL-ng](https://huggingface.co/cristian-popa/bart-tl-ng) ## Intended uses & limitations #### How to use The model takes in a topic, represented as a space-separated series of words. Such topics can be generated using LDA, as was done for gathering the fine-tuning dataset for the model. ```python from transformers import AutoTokenizer, AutoModelForSeq2SeqLM mname = "cristian-popa/bart-tl-all" tokenizer = AutoTokenizer.from_pretrained(mname) model = AutoModelForSeq2SeqLM.from_pretrained(mname) input = "site web google search website online internet social content user" enc = tokenizer(input, return_tensors="pt", truncation=True, padding="max_length", max_length=128) outputs = model.generate( input_ids=enc.input_ids, attention_mask=enc.attention_mask, max_length=15, min_length=1, do_sample=False, num_beams=25, length_penalty=1.0, repetition_penalty=1.5 ) decoded = tokenizer.decode(outputs[0], skip_special_tokens=True) print(decoded) # application programming interface ``` #### Limitations and bias The model may not generate accurate labels for topics from domains unrelated to the ones it was fine-tuned on, such as gastronomy. ## Training data The model was fine-tuned on 5 different StackExchange corpora (see https://archive.org/download/stackexchange for a full list of existing such corpora): English, biology, economics, law, and photography. 100 topics are extracted using LDA for each of these corpora, filtered for coherence and then used for obtaining the final model here. ## Training procedure The large Facebook BART model is fine-tuned in a weakly-supervised manner, making use of the unsupervised candidate selection of the [NETL](https://www.aclweb.org/anthology/C16-1091.pdf) method, along with other heuristic labels, such as n-grams from the topics, relevant sentences in the corpora and noun phrases. The dataset is a one-to-many mapping from topics to labels. More details on training and parameters can be found in the [paper](https://www.aclweb.org/anthology/2021.eacl-main.121.pdf) or by following [this notebook](https://github.com/CristianViorelPopa/BART-TL-topic-label-generation/blob/main/notebooks/end_to_end_workflow.ipynb). ## Eval results model | Top-1 Avg. | Top-3 Avg. | Top-5 Avg. | nDCG-1 | nDCG-3 | nDCG-5 ------------|------------|------------|------------|--------|--------|------- NETL (U) | 2.66 | 2.59 | 2.50 | 0.83 | 0.85 | 0.87 NETL (S) | 2.74 | 2.57 | 2.49 | 0.88 | 0.85 | 0.88 BART-TL-all | 2.64 | 2.52 | 2.43 | 0.83 | 0.84 | 0.87 BART-TL-ng | 2.62 | 2.50 | 2.33 | 0.82 | 0.84 | 0.85 ### BibTeX entry and citation info ```bibtex @inproceedings{popa-rebedea-2021-bart, title = "{BART}-{TL}: Weakly-Supervised Topic Label Generation", author = "Popa, Cristian and Rebedea, Traian", booktitle = "Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume", month = apr, year = "2021", address = "Online", publisher = "Association for Computational Linguistics", url = "https://www.aclweb.org/anthology/2021.eacl-main.121", pages = "1418--1425", abstract = "We propose a novel solution for assigning labels to topic models by using multiple weak labelers. The method leverages generative transformers to learn accurate representations of the most important topic terms and candidate labels. This is achieved by fine-tuning pre-trained BART models on a large number of potential labels generated by state of the art non-neural models for topic labeling, enriched with different techniques. The proposed BART-TL model is able to generate valuable and novel labels in a weakly-supervised manner and can be improved by adding other weak labelers or distant supervision on similar tasks.", } ```
[ 0.02199806459248066, 0.0023750702384859324, -0.0350671112537384, 0.048762768507003784, 0.04241363704204559, 0.04505934566259384, -0.014652068726718426, -0.006042444612830877, -0.004846781492233276, 0.046115148812532425, 0.03394415229558945, 0.004146839026361704, 0.0068846894428133965, 0.03823316842317581, -0.018840139731764793, -0.05987876281142235, 0.002022058703005314, -0.0033192553091794252, -0.052183136343955994, -0.00819105003029108, 0.0019915099255740643, 0.001381665118969977, -0.0026566332671791315, 0.023577049374580383, 0.017423085868358612, 0.006886609829962254, -0.02136259712278843, 0.043312784284353256, 0.03757793828845024, -0.06057409569621086, 0.021579306572675705, -0.008264248259365559, -0.022406484931707382, -0.010614854283630848, -0.004122085403650999, -0.02887909859418869, 0.010697681456804276, -0.014661886729300022, 0.035085294395685196, 0.03490787744522095, 0.003629335667937994, -0.020336562767624855, -0.00821539107710123, -0.041096802800893784, 0.04117967560887337, -0.005218298640102148, -0.0575222410261631, -0.020131230354309082, 0.0584939680993557, -0.05994287133216858, -0.05969700589776039, -0.06863818317651749, -0.054809171706438065, 0.026448631659150124, -0.02020273543894291, -0.03812309727072716, -0.03269389271736145, -0.015244385227560997, 0.042924098670482635, -0.020465152338147163, -0.048923559486866, 0.005040755495429039, -0.06327468901872635, 0.03162122517824173, 0.03832060471177101, -0.03558507189154625, 0.013791416771709919, -0.03514302894473076, 0.011700280010700226, -0.04381951689720154, 0.06373970955610275, -0.02677333913743496, -0.019089218229055405, -0.0685933455824852, -0.013170117512345314, -0.009590061381459236, 0.03123130090534687, 0.027606960386037827, -0.03752114996314049, 0.038222406059503555, 0.020164987072348595, 0.006852585822343826, 0.05120111629366875, -0.03745643049478531, -0.005397189408540726, 0.050075143575668335, -0.06008653715252876, -0.010517751798033714, 0.005930276587605476, 0.04024885967373848, -0.025947457179427147, -0.04104539379477501, -0.02846801094710827, -0.0004005996452178806, -0.0061383722350001335, 0.04045791178941727, 0.022567661479115486, -0.018973588943481445, 0.012064152397215366, -0.00023841341317165643, 0.021737994626164436, 0.06763467937707901, 0.009459122084081173, 0.05806192010641098, 0.007110933307558298, -0.0037707805167883635, 0.001930567086674273, -0.011674617417156696, -0.05149982124567032, 0.05578518286347389, 0.026708023622632027, -0.04139378294348717, -0.03354870527982712, 0.035672806203365326, 0.05046135559678078, 0.01941951923072338, 0.04861515015363693, 0.009395940229296684, -0.03859476000070572, -0.057771842926740646, 0.022607682272791862, -0.02573203109204769, 0.008745829574763775, 0.0081576993688941, -0.04610886424779892, -0.021884266287088394, -0.027332188561558723, -0.03246881067752838, -0.009437166154384613, 0.03152068704366684, -0.011311143636703491, 0.03076382540166378, 0.04270899295806885, -0.056288644671440125, 0.014641404151916504, 0.027732660993933678, -0.06914182007312775, 0.08124791830778122, 0.04859194532036781, 0.12544354796409607, -0.05430584028363228, -0.07176539301872253, 0.017669975757598877, 0.012926128692924976, -0.05379984527826309, 0.006247472949326038, -0.0033291911240667105, -0.01431626919656992, -0.015466484241187572, 0.005082515999674797, 0.029921796172857285, -0.06411604583263397, 0.01022071111947298, 0.03329351544380188, 0.01132922526448965, 0.04159417003393173, -0.0437668040394783, 0.014342627488076687, 0.0019255825318396091, 0.009155244566500187, -0.03900967910885811, 0.058604124933481216, -0.012377262115478516, -0.017272954806685448, -0.039435166865587234, -0.0372004471719265, -0.01158286165446043, 0.08311109244823456, -0.016859089955687523, 0.0052451216615736485, -0.023431746289134026, 0.007337382063269615, 0.06061505898833275, 0.023358412086963654, -0.03554406762123108, 0.018198242411017418, 0.07700696587562561, 0.020776912569999695, -0.03780613839626312, 0.06513651460409164, 0.004554175306111574, -0.015693334862589836, -0.03147690370678902, 0.02427085116505623, 0.012732230126857758, -0.02144489251077175, 0.03293851763010025, 0.03234453126788139, 0.002927036490291357, -0.029639551416039467, -0.012662144377827644, 0.05201726034283638, 0.024504177272319794, -0.010713442228734493, -0.013559471815824509, 0.00010343863687012345, -0.007708479184657335, 0.040916476398706436, -0.024662509560585022, 0.011842169798910618, -0.01441926322877407, -0.04330599308013916, 0.01274757832288742, 0.009794696234166622, 0.04336952045559883, 0.038468137383461, 0.0010727208573371172, 0.06279701739549637, -0.04365913197398186, 0.01358101423829794, -0.039520006626844406, -0.010218239389359951, -0.018665313720703125, 0.02603711560368538, 0.003199797123670578, 0.04879302531480789, 0.00283645186573267, -0.012176384218037128, 0.020606493577361107, 0.07135883718729019, 0.05263180285692215, 0.034732650965452194, -0.04259076714515686, -0.003042341908439994, 0.03933389112353325, 0.06227545440196991, -0.04709567129611969, -0.024551015347242355, 0.0033749921713024378, 0.07086693495512009, -0.027403680607676506, -0.0041283490136265755, -0.04079922288656235, -0.007155927829444408, -0.03604143485426903, -0.03766651824116707, 0.01781129278242588, 0.024215256795287132, 0.00582860317081213, 0.02577996253967285, -0.028913546353578568, 0.012751375325024128, 0.041715580970048904, 0.03127019479870796, -0.006332592573016882, -0.053740572184324265, 0.015246596187353134, 0.028467413038015366, 0.04501426964998245, -0.038433875888586044, 0.050208624452352524, -0.021050984039902687, 0.012696369551122189, 0.04683983325958252, -0.021649697795510292, 0.028857894241809845, 0.021754903718829155, 0.041762515902519226, -0.014428381808102131, 0.03565556928515434, -0.00703453691676259, 0.01944464072585106, 0.06953960657119751, 0.011057010851800442, 0.044953543692827225, -0.009126197546720505, 0.04461035504937172, 0.07041297107934952, 0.03714141994714737, 0.00404363451525569, 0.03514014184474945, 0.06558739393949509, -0.005566369742155075, -0.022288743406534195, 0.06722766906023026, -0.04500429332256317, 0.027878057211637497, -0.046773411333560944, 0.023979641497135162, 0.0072873616591095924, -0.016424352303147316, 0.03489352762699127, 0.01780044473707676, -0.004359400365501642, 0.018400928005576134, 0.023918475955724716, -0.01029750145971775, 0.04640708118677139, 0.0019118856871500611, 0.012960429303348064, 0.0016666724113747478, -0.021794335916638374, 0.025617409497499466, -0.059371717274188995, -0.03776949644088745, 0.00373660190962255, -0.03585890308022499, -0.004779957700520754, -0.0954967811703682, -0.035759005695581436, -0.09039926528930664, -0.011659842915832996, 0.05407176539301872, 0.026425043120980263, 0.014349639415740967, -0.03710309788584709, 0.0064097982831299305, -0.03678872063755989, -0.03735264390707016, -0.07719334214925766, -0.06330949068069458, -0.033868759870529175, -0.05275391787290573, 0.0257903803139925, 0.002513805404305458, 0.022240156307816505, -0.0001496290642535314, 0.004597540479153395, -0.041615139693021774, -0.01137858908623457, 0.03734021633863449, 0.033344805240631104, -0.05470578745007515, -0.034133460372686386, 0.009266402572393417, -0.022792909294366837, 0.011223221197724342, -0.003922104369848967, -0.04516633599996567, 0.07718130201101303, 0.07128091156482697, 0.015318342484533787, 0.014413091354072094, -0.029081067070364952, -0.06499810516834259, -0.030237386003136635, -0.05089521408081055, -0.01517211738973856, -0.0249369814991951, -0.036920949816703796, -0.05494999513030052, 0.00824044644832611, -0.03326530009508133, -0.011088596656918526, 0.0058314502239227295, 0.0015938387950882316, 0.05176413059234619, 0.03943733498454094, 0.02194928005337715, 0.048043325543403625, -0.021526392549276352, -0.03728345409035683, 0.06767260283231735, -0.0008140535792335868, -0.0036336956545710564, -0.06618104130029678, -0.010923112742602825, 0.0286795012652874, 0.01177160907536745, 0.011067650280892849, 0.016441229730844498, 0.07952439039945602, -0.0011848676949739456, -0.010530561208724976, 0.0015562509652227163, -0.01052243821322918, -0.014375000260770321, -0.02113431692123413, 0.009874489158391953, -0.012768358923494816, -0.040560126304626465, -0.034777481108903885, -0.006616184022277594, 0.00455032754689455, -0.06634464114904404, -0.05237877368927002, -0.011228042654693127, 0.023259349167346954, 0.02582327462732792, -0.004948135931044817, -0.047929875552654266, 0.002439358737319708, -0.06018112227320671, -0.048672258853912354, -0.004657625220716, 0.02442357875406742, -0.02002473548054695, 0.01914484240114689, 0.022006968036293983, -0.019682126119732857, 0.04613969102501869, 0.04538751021027565, 0.08941853046417236, 0.007414991967380047, -0.06900529563426971, 0.010459347628057003, -0.010660226456820965, 0.02072777785360813, -0.015382656827569008, -0.011430341750383377, -0.030381789430975914, -0.09076189249753952, -0.015049634501338005, 0.014815904200077057, -0.008938919752836227, 0.0010157439392060041, 0.03903094679117203, -0.027570268139243126, -0.022147100418806076, -0.0001233055372722447, 0.022114915773272514, 0.04274318367242813, -0.03500249981880188, 0.06877343356609344, -0.012338473461568356, 0.020865047350525856, -0.04882228374481201, -0.001780449296347797, -0.04818124324083328, -0.004803646821528673, -0.004072601906955242, 0.0743556022644043, 0.03176622837781906, 0.07221557199954987, 0.06330770254135132, 0.028807643800973892, -0.054553814232349396, 0.059935081750154495, 0.026307031512260437, -0.019677281379699707, -0.07284204661846161, -0.008914127945899963, -0.024290286004543304, -0.030913036316633224, 0.009247800335288048, -0.03792398050427437, 0.021541016176342964, 0.04022321477532387, -0.009587730281054974, -0.004785535391420126, -0.005097884684801102, -0.029813574627041817, -0.03940299525856972, -0.05662927031517029, -0.02033507078886032, -0.005777214653789997, -0.05398225411772728, 0.05174313485622406, 0.056150395423173904, 0.010892973281443119, 0.06991054862737656, 0.05148106440901756, -0.02894427999854088, -0.03270730376243591, 0.03785332292318344, 0.032310716807842255, -0.031020164489746094, -0.08801678568124771, -0.0490376353263855, 0.052238546311855316, 0.050765134394168854, 0.0013138415524736047, -0.10848575085401535, 0.018485024571418762, 0.03890254348516464, -0.0522918663918972, 0.06970200687646866, -0.026418982073664665, 0.04732240363955498, 0.04433835670351982, 0.010095352306962013, 0.03737638145685196, -0.05677375942468643, 0.001893570995889604, 0.010626266710460186, 0.042631857097148895, -0.050475336611270905, -0.04783249646425247, -0.0264753308147192, 0.038179636001586914, 0.012677572667598724, 0.05442916974425316, 0.03015950135886669, -0.030374668538570404, -0.07608162611722946, 0.010840230621397495, 0.03188624233007431, -0.035279806703329086, -0.00492455717176199, 0.0033505328465253115, 0.07917070388793945, -0.06500338017940521, -0.035157568752765656, -0.02876969240605831, -0.021586837247014046, 0.018290773034095764, -0.024921689182519913, -0.03397349268198013, -0.061513978987932205, -0.007060558535158634, -0.046174369752407074, -0.024890471249818802, -0.06484398990869522, 0.03841744735836983, -0.009932768531143665, -0.03984624147415161, 0.06028061732649803, 0.05341223254799843, 0.022133292630314827, 0.03844058886170387, 0.007982798852026463, 0.01295591052621603, -0.031193092465400696, 0.022275373339653015, -0.027439897879958153, -0.024496061727404594, 0.008818145841360092, -0.05054674670100212, -0.012400421313941479, -0.024346178397536278, -0.06028629094362259, -0.040409933775663376, -0.031049925833940506, -0.010658469051122665, 0.013095494359731674, 0.007004886865615845, -0.0143925491720438, 0.0312669612467289, -0.044260259717702866, -0.0372372642159462, -0.02065202035009861, -0.03355458751320839, -0.0632752850651741, -0.03696883097290993, 0.0018763506086543202, 0.008161372505128384, 0.04313163086771965, 0.019538886845111847, 0.020560482516884804, 0.02438584715127945, -0.014244092628359795, -0.01890157349407673, 0.023239370435476303, 0.011707010678946972, -0.03676098212599754, -0.007389894686639309, 0.020775852724909782, 0.0236987192183733, 0.031125780194997787, -0.02483227662742138, 0.02496431954205036, 0.01586829498410225, -0.01653720811009407, -0.03534911945462227, 0.0288900975137949, 0.010714821517467499, -0.06171009689569473, -0.02125340886414051, -0.0412401482462883, -0.05046401545405388, 0.0389055497944355, -0.03271056339144707, -0.04524410888552666, -0.012733194045722485, 0.010938186198472977, 0.0334567129611969, -0.01309024915099144, -0.042243607342243195, 0.015474873594939709, -0.03883071616292, 0.007970049045979977, -0.05910623446106911, 0.04231830686330795, -0.04185042530298233, 0.006036172620952129, -0.006746710278093815, -0.008951287716627121, -0.04496503993868828, 0.030991369858384132, 0.005250801332294941, -0.0046653710305690765, -0.006920481100678444, -0.00391838513314724, -0.034732282161712646, 0.010098335333168507, 0.01398190576583147, 0.013119347393512726, -0.02862553484737873, 0.04085724055767059, -0.06378412246704102, 0.006241814233362675, -0.049648478627204895, 0.017658287659287453, -0.021274348720908165, -0.018375979736447334, -0.013575148768723011, -0.01294274814426899, 0.02399899810552597, 0.03248545527458191, 0.018919937312602997, 0.026275306940078735, 0.0028224033303558826, 0.008796673268079758, 0.05222633108496666, -0.08908627927303314, -0.011831100098788738, -0.006188457831740379, 0.005658774636685848, -0.015865596011281013, 0.07069871574640274, 0.031504321843385696, -0.04307490587234497, -0.04223772510886192, 0.03856649249792099, 0.00866960734128952, 0.004970982205122709, -0.002111015608534217, 0.030908703804016113, 0.014048634096980095, 0.031877435743808746, -0.04212634637951851, -0.01784604974091053, 0.013319668360054493, -0.05238214135169983, 0.006108111701905727, -0.008674552664160728, 0.021416479721665382, 0.002855515806004405, -0.04516220837831497, -0.018401382490992546, 0.07608550786972046, 0.005693657323718071, 0.0004999511293135583, -0.006567252334207296, -0.031813379377126694, 0.04383345693349838, 0.024963948875665665, -0.05049896985292435, 0.0007003674400039017, 0.041168782860040665, -0.018270062282681465, 0.08318040519952774, -0.024548228830099106, -0.009292946197092533, 0.032687220722436905, 0.030690021812915802, 0.012955563142895699, 0.015649445354938507, -0.03685256466269493, 0.007859104312956333, 0.047592829912900925, -0.022582033649086952, -0.016750618815422058, -0.013309281319379807, 0.056612592190504074, -0.06510455161333084, 0.04690619185566902, 0.06280747056007385, 0.023384956642985344, 0.027361776679754257, -0.04634912684559822, -0.013819941319525242, -0.00762464152649045, -0.041115641593933105, 0.0831403061747551, 0.011303197592496872, -0.06220810487866402, 0.05086265876889229, 0.019236696884036064, -0.07392770051956177, 0.04283921793103218, 0.044414956122636795, 0.03924953565001488, 0.0190125685185194, 0.063533715903759, -0.05542374774813652, 0.0009282861137762666, -0.050713688135147095, 0.023429377004504204, -0.030901150777935982, -0.011122490279376507, -0.006808269303292036, -0.03516621142625809, -0.010482164099812508, 0.03883672133088112, -0.05219579488039017, 0.00009534483979223296, 0.029461722820997238, -0.0446590818464756, -0.0445195809006691, 0.0032608488108962774, 0.018980897963047028, -0.00728058535605669, 0.02761632762849331, -0.02916194498538971, 0.019268693402409554, 0.01435824017971754, -0.005613286979496479, -0.05838380381464958, 0.01794315129518509, -0.008815609849989414, -0.08482164144515991, -0.06020801514387131, 0.0224583949893713, 0.02097582444548607, -0.035959068685770035, 0.008218365721404552, 0.013344819657504559, 0.0123543506488204, 0.019942326471209526, -0.01573120802640915, 0.001103815739043057, -0.052051842212677, -0.009180526249110699, 0.00812408234924078, 0.015543281100690365, 0.02588663436472416, -0.00794371496886015, 0.030279485508799553, 0.028689879924058914, 0.05705414339900017, -0.03669397905468941, -0.05052679032087326, 0.004986020736396313, 0.007190687581896782, -0.03752594441175461, 0.00412971805781126, 0.023498589172959328, -0.04913084954023361, -0.036438677459955215, -0.00705748749896884, -0.034422967582941055, 0.03223848342895508, -0.04640926793217659, 0.021137282252311707, 0.0228074099868536, -0.02118631638586521, -0.056022610515356064, -0.08433950692415237, -0.036880701780319214, -0.03903830051422119, -0.005771738942712545, 0.012743018567562103, -0.04007873311638832, -0.0002395337214693427, -0.040654584765434265, -0.0606992244720459, 0.02285240963101387, 0.014500089921057224, -0.026218514889478683, 0.04856770113110542, 0.048611920326948166, -0.027922676876187325, 0.028116222470998764, 0.023864183574914932, -0.03331512585282326, 0.00985021609812975, 0.02514997124671936, 0.01557890884578228, 0.0058011747896671295, 0.040614668279886246, -0.03337022662162781, -0.009769722819328308, -0.040103960782289505, -0.033414892852306366, -0.02094135992228985, -0.025479687377810478, 0.050910331308841705 ]
AnonymousSub/rule_based_roberta_only_classfn_twostage_epochs_1_shard_10
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- language: - ca - es - en tags: - translation --- ### Preprocessing 1. Normalisation and tokenisation with moses scripts 2. truecased with model docgWP.tcmodel.[LAN] and moses scripts 3. bped with model model.caesen40k.bpe and subword-nmt - Note: no prepended tag for multilinguality ### Training Data 1. Bilingual es-ca: DOGC, Wikimatrix, OpenSubtitles, JW300, GlobalVoices * Bilingual es-ca: Translations using systems trained with 1. of Oscar and Wikipedia 2. Bilingual es-en, ca-en: United Nations, Europarl, Wikimatrix, OpenSubtitles, JW300 * Bilingual es-en, ca-en: Translations using systems trained with 1. of the missing pairs - Final training data size for the ca/es-en: 44M parallel sentences - Finetuned with 1.5M real parallel data (without backtranslations) ### Model Transformer big with guided alignments. Relevant parameters: --beam-size 6 --normalize 0.6 --enc-depth 6 --dec-depth 6 --transformer-heads 8 --transformer-preprocess n --transformer-postprocess da --transformer-dropout 0.1 --label-smoothing 0.1 --dim-emb 1024 --transformer-dim-ffn 4096 --transformer-dropout-attention 0.1 --transformer-dropout-ffn 0.1 --learn-rate 0.00015 --lr-warmup 8000 --lr-decay-inv-sqrt 8000 --optimizer-params 0.9 0.998 1e-09 --clip-norm 5 --tied-embeddings --exponential-smoothing --transformer-guided-alignment-layer 1 --guided-alignment-cost mse --guided-alignment-weight 0.1 ## Evaluation ### Test set https://github.com/PLXIV/Gebiotoolkit/tree/master/gebiocorpus_v2 ### ca2en BLEU|#:1|bs:1000|rs:12345|c:mixed|e:no|tok:13a|s:exp|v:2.0.0 = 47.8 (μ = 47.8 ± 0.9) chrF|#:1|bs:1000|rs:12345|c:mixed|e:yes|nc:6|nw:0|s:no|v:2.0.0 = 69.9 (μ = 69.9 ± 0.7) ### es2en BLEU|#:1|bs:1000|rs:12345|c:mixed|e:no|tok:13a|s:exp|v:2.0.0 = 48.9 (μ = 48.9 ± 0.9) chrF2|#:1|bs:1000|rs:12345|c:mixed|e:yes|nc:6|nw:0|s:no|v:2.0.0 = 70.5 (μ = 70.5 ± 0.7)
[ 0.005690949037671089, -0.016936169937253, -0.0019317347323521972, 0.05833723023533821, 0.06054341793060303, 0.027716247364878654, -0.013665237464010715, -0.007098070811480284, -0.04708273708820343, 0.05219285562634468, -0.015269671566784382, -0.022860420867800713, -0.0006831759819760919, 0.04782287776470184, -0.03563842549920082, -0.036948610097169876, -0.04149842634797096, -0.01655850000679493, -0.043786123394966125, -0.02298039384186268, 0.013043533079326153, -0.006298562046140432, -0.006168183404952288, 0.0025768510531634092, -0.0017008510185405612, 0.016393054276704788, 0.01730988547205925, 0.03655829653143883, 0.01722388155758381, -0.04492173716425896, -0.010769308544695377, -0.022717585787177086, -0.04501115530729294, -0.013632390648126602, -0.0354866199195385, -0.006187262013554573, -0.0235589686781168, 0.0025414875708520412, 0.05459160730242729, 0.055959708988666534, -0.017742861062288284, 0.016644824296236038, -0.015869636088609695, -0.027617579326033592, 0.03457508608698845, 0.0151074742898345, -0.036932189017534256, -0.02733694575726986, 0.01720714569091797, -0.03768669813871384, -0.05024532973766327, -0.05698665976524353, -0.01925641857087612, 0.020340265706181526, -0.008108234032988548, -0.011520064435899258, -0.07351408898830414, 0.0034749596379697323, 0.050542280077934265, -0.04152347892522812, -0.036184780299663544, 0.01766260527074337, -0.06723462045192719, -0.006789875216782093, 0.03673714026808739, -0.033444393426179886, -0.007154966704547405, -0.0323345772922039, 0.029225975275039673, -0.0209050253033638, 0.053976237773895264, -0.03300468623638153, 0.03128914535045624, -0.10863562673330307, -0.013628480955958366, -0.0056898086331784725, 0.024036725983023643, 0.03311042860150337, -0.03876149281859398, 0.04268069565296173, 0.02792612463235855, -0.0042765079997479916, 0.021022556349635124, -0.008691076189279556, -0.02687147818505764, 0.07190456986427307, -0.03441598638892174, -0.024600597098469734, 0.003766532288864255, 0.060879360884428024, -0.0426844097673893, -0.014505920000374317, 0.0037588446866720915, -0.022636575624346733, -0.015862097963690758, 0.04735300689935684, 0.04889839515089989, -0.02678409218788147, 0.01991521194577217, 0.05303420498967171, 0.013817926868796349, 0.053135212510824203, 0.0064131650142371655, 0.07023389637470245, -0.004482749383896589, -0.003833670634776354, -0.024829769507050514, -0.037423256784677505, -0.0647280365228653, 0.03748466819524765, 0.03520035743713379, -0.024960273876786232, -0.04895459860563278, 0.05972675606608391, 0.021439149975776672, -0.04550378769636154, 0.0571763850748539, -0.03315543383359909, -0.04654908552765846, -0.05931517109274864, 0.04695074260234833, 0.02255949191749096, -0.003626868361607194, 0.022975988686084747, -0.04538583382964134, 0.011876561678946018, -0.06382924318313599, -0.03821266442537308, -0.014884390868246555, 0.008602643385529518, -0.01610228233039379, 0.04239374026656151, 0.019157297909259796, -0.06602828204631805, 0.020494328811764717, -0.0037822863087058067, -0.09125850349664688, 0.048656925559043884, 0.05960160866379738, 0.0655372366309166, -0.04496104642748833, -0.02652672678232193, 0.018375298008322716, 0.022159283980727196, 0.005911289714276791, 0.015278138220310211, 0.013308033347129822, -0.00935724563896656, -0.01554354839026928, 0.0021347973961383104, 0.07572200894355774, -0.04487653076648712, 0.004594726487994194, 0.041251230984926224, -0.014203010126948357, 0.051745958626270294, -0.04029695689678192, 0.009306451305747032, 0.010895902290940285, 0.0004299209685996175, -0.033435847610235214, 0.02849852293729782, 0.007390280719846487, -0.011857563629746437, -0.049440473318099976, -0.047199003398418427, -0.011517159640789032, 0.06362485885620117, 0.006852051708847284, -0.019906360656023026, -0.03536978363990784, 0.024960502982139587, 0.0601826086640358, 0.01983751729130745, -0.011218825355172157, 0.03332747519016266, 0.05543065443634987, 0.041815631091594696, -0.008560649119317532, 0.06529611349105835, 0.024140946567058563, -0.03195473179221153, -0.011769571341574192, 0.018652282655239105, 0.0033268018160015345, -0.013525241054594517, -0.008398731239140034, 0.04407452419400215, 0.0011208998039364815, -0.017747117206454277, 0.005027707666158676, 0.05183672904968262, -0.026450265198946, 0.002438562922179699, -0.008435526862740517, -0.02101338468492031, -0.022091306746006012, 0.06240173429250717, -0.029706278815865517, -0.004548045340925455, -0.007545057684183121, -0.03083932399749756, 0.01925455965101719, 0.047942399978637695, 0.018518418073654175, 0.015302927233278751, 0.007543318439275026, 0.08915925770998001, -0.0332653671503067, 0.01751040481030941, -0.03979286551475525, -0.043112486600875854, -0.011029967106878757, 0.040768299251794815, 0.01294066570699215, 0.040526263415813446, 0.013398882932960987, -0.04915721341967583, 0.019494300708174706, 0.06767505407333374, 0.046776626259088516, 0.045354556292295456, -0.035577066242694855, -0.0018674081657081842, 0.04804772511124611, 0.05458122491836548, -0.04480043798685074, -0.03802652284502983, 0.03317572548985481, 0.04349599406123161, -0.02639235369861126, 0.0003026197664439678, -0.011140098795294762, 0.020038120448589325, -0.03424058482050896, -0.061850469559431076, 0.03252215310931206, 0.039594314992427826, -0.01968420296907425, 0.016189146786928177, 0.010556360706686974, 0.03256016597151756, 0.025921974331140518, 0.0043282839469611645, 0.010298149660229683, -0.043277591466903687, 0.00554128410294652, 0.01861257664859295, 0.03421177342534065, -0.04062001779675484, 0.020994456484913826, -0.009290427900850773, 0.04132865369319916, 0.05927185341715813, -0.0340527705848217, 0.0407685860991478, 0.028871366754174232, 0.0010093603050336242, -0.042624879628419876, 0.015059726312756538, 0.02073977328836918, 0.02251345105469227, 0.06609414517879486, 0.011083248071372509, 0.056868795305490494, -0.013964436016976833, 0.04548434913158417, 0.07845476269721985, 0.010805351659655571, 0.021751606836915016, 0.04146948829293251, 0.06831098347902298, -0.01059254165738821, -0.015290657058358192, 0.07695236802101135, -0.03975764662027359, 0.009743764065206051, -0.041846878826618195, 0.02775590494275093, 0.023744678124785423, -0.006686531938612461, 0.03577291965484619, -0.0007857774035073817, -0.027697598561644554, 0.005232013296335936, -0.028990082442760468, -0.04886570945382118, 0.03160136938095093, -0.003351791063323617, -0.0140469279140234, 0.007353662513196468, -0.024727385491132736, 0.03110116720199585, -0.05899812653660774, -0.05239315330982208, 0.0020080425310879946, -0.029904434457421303, -0.006346432957798243, -0.04898922145366669, -0.03326805680990219, -0.05602092295885086, -0.017787951976060867, 0.05336013808846474, 0.004764152225106955, 0.005776294972747564, -0.016314581036567688, 0.022285709157586098, -0.028590388596057892, -0.031807754188776016, -0.05478879436850548, -0.057623572647571564, -0.03580065444111824, -0.06471580266952515, 0.03204778954386711, 0.023297321051359177, 0.015786848962306976, 0.010492580942809582, 0.0040466622449457645, -0.014539827592670918, -0.021366428583860397, 0.05429910495877266, 0.04302206262946129, -0.014506962150335312, -0.042485568672418594, 0.03564595803618431, -0.017424872145056725, 0.0064437841065227985, -0.02404654771089554, -0.03936575725674629, 0.07655271887779236, 0.071895070374012, 0.024132603779435158, 0.0346241220831871, -0.018321307376027107, -0.039820607751607895, -0.06302312016487122, -0.04324045404791832, -0.046449922025203705, -0.011352364905178547, -0.028606830164790154, -0.0532551072537899, -0.027337949723005295, -0.04068566858768463, -0.0025160950608551502, 0.007459188811480999, 0.016503160819411278, 0.05681481212377548, 0.032079607248306274, 0.05104568228125572, 0.029363781213760376, -0.05445152148604393, -0.029225509613752365, 0.10036619007587433, -0.0007852559792809188, 0.02551128901541233, -0.06884299963712692, -0.025035755708813667, 0.05875825881958008, 0.01804524101316929, -0.01124006137251854, -0.017951490357518196, 0.07988592982292175, 0.021063657477498055, 0.007081101182848215, 0.006836577784270048, -0.023373454809188843, -0.024992341175675392, 0.008187707513570786, -0.012585064396262169, -0.04020549729466438, -0.04598504677414894, -0.02239164337515831, -0.009999058209359646, 0.061904218047857285, -0.056825343519449234, -0.06359662115573883, -0.03151250630617142, 0.011911490932106972, 0.0019272358622401953, 0.009786462411284447, -0.0315747931599617, 0.019816284999251366, -0.04053470864892006, -0.03079257346689701, 0.018605373799800873, 0.0021741415839642286, -0.004595881327986717, 0.036138080060482025, 0.022739969193935394, -0.0287855826318264, 0.020971795544028282, 0.022210223600268364, 0.04947555810213089, 0.02915254421532154, -0.029214825481176376, 0.02294735424220562, -0.0014144785236567259, 0.016713600605726242, 0.007244960404932499, -0.0029184301383793354, -0.04076652601361275, -0.0936562791466713, -0.015456218272447586, 0.01817469857633114, -0.027345484122633934, -0.0052283769473433495, 0.024504316970705986, -0.019603222608566284, -0.006268986500799656, -0.011790743097662926, 0.02246658317744732, 0.04711860418319702, -0.06896724551916122, 0.05155657231807709, -0.00832383893430233, 0.012645038776099682, -0.08683454990386963, 0.01626218669116497, -0.019519181922078133, -0.005654633976519108, 0.010152979753911495, 0.08325060456991196, -0.0063608246855437756, 0.036141373217105865, 0.06771025061607361, 0.04045122116804123, -0.028144240379333496, 0.05426763370633125, 0.03397534787654877, -0.023954929783940315, -0.04778050258755684, 0.013422476127743721, -0.01900343783199787, -0.053908124566078186, 0.00955244805663824, -0.04921460896730423, 0.02175215259194374, 0.024087553843855858, 0.0067927781492471695, -0.018540186807513237, -0.0014647304778918624, -0.020870057865977287, -0.04158337041735649, -0.03640669956803322, -0.012656955048441887, -0.0290633887052536, -0.025616729632019997, 0.018561139702796936, 0.03194575011730194, 0.006638744845986366, 0.04307074472308159, 0.04317856580018997, -0.036980874836444855, -0.032459091395139694, 0.04191460832953453, 0.023618604987859726, -0.04390665516257286, -0.05496547371149063, -0.025513464584946632, 0.06837759912014008, 0.03518642485141754, -0.0018303696997463703, -0.11115802824497223, -0.014136378653347492, 0.05953003093600273, -0.0241058561950922, 0.059375349432229996, -0.010988394729793072, 0.06330734491348267, 0.040333837270736694, -0.025767220184206963, 0.015522974543273449, -0.039669107645750046, 0.022587290033698082, -0.013216673396527767, 0.02569754607975483, -0.01249159686267376, -0.04517538473010063, -0.05754947289824486, 0.020780380815267563, 0.015610756352543831, 0.06682421267032623, 0.046075738966464996, -0.02237005904316902, -0.06502006947994232, 0.011473813094198704, 0.03178071230649948, -0.0583588071167469, -0.004373564850538969, 0.03268814459443092, 0.053638800978660583, -0.04660947993397713, -0.04280479624867439, -0.031138524413108826, 0.017632247880101204, 0.0357801578938961, -0.022065676748752594, -0.027331845834851265, -0.05817971006035805, 0.03631928190588951, -0.03511514887213707, -0.026621893048286438, -0.10129716992378235, 0.0355965755879879, -0.02935892902314663, -0.0031451864633709192, 0.05309335142374039, 0.04276333749294281, 0.04022956266999245, 0.02537192776799202, 0.005906702019274235, 0.04113144427537918, -0.04080097749829292, 0.04837576299905777, -0.025965260341763496, -0.004963933955878019, 0.004946926608681679, -0.049695178866386414, -0.008570034056901932, -0.026951655745506287, -0.02873373031616211, -0.03277929127216339, -0.009653124026954174, 0.06152630224823952, -0.027051130309700966, 0.0018081868765875697, -0.023156264796853065, 0.03555231913924217, -0.009589644148945808, -0.03056229092180729, -0.02299085073173046, -0.02922630123794079, -0.06908582895994186, -0.049430977553129196, 0.025995783507823944, -0.0024138197768479586, 0.014684624038636684, 0.005636999383568764, 0.004825925920158625, 0.009219118393957615, 0.0014125424204394221, -0.0342719629406929, 0.030930515378713608, 0.004715742543339729, -0.049825914204120636, -0.042952604591846466, 0.008496913127601147, 0.022427866235375404, 0.03566591441631317, -0.03723480552434921, 0.017493996769189835, 0.01925826445221901, -0.0336325466632843, -0.019150324165821075, 0.021382641047239304, 0.0314880795776844, -0.08056175708770752, -0.06224652752280235, -0.014082342386245728, -0.0675571858882904, 0.031864844262599945, 0.016967596486210823, -0.030236227437853813, 0.00021632641437463462, 0.03172173723578453, 0.04078652709722519, 0.005967770703136921, -0.03632934018969536, 0.0005228801746852696, -0.013317343778908253, 0.01158822700381279, -0.06336915493011475, 0.032761555165052414, -0.0319661945104599, 0.01686721295118332, 0.002793513936921954, -0.013711396604776382, -0.050656791776418686, 0.035716645419597626, -0.0048227459192276, -0.042750053107738495, -0.0029590062331408262, 0.015450101345777512, -0.03287108242511749, 0.03758256509900093, -0.024744709953665733, 0.006455188617110252, -0.01468836423009634, 0.062275178730487823, -0.05425192415714264, 0.0032922946847975254, -0.01583711802959442, -0.0015237015904858708, -0.013730017468333244, -0.016330087557435036, -0.02768334560096264, -0.06596021354198456, 0.029160767793655396, 0.0511767640709877, 0.018504351377487183, 0.012934825383126736, -0.026832139119505882, 0.022335125133395195, 0.02389235980808735, -0.042995091527700424, -0.01709941029548645, -0.006962300278246403, -0.017112670466303825, -0.0018307273276150227, 0.06416165083646774, 0.03699678182601929, -0.05326497182250023, -0.051107216626405716, 0.03242230787873268, 0.020107975229620934, 0.018095506355166435, -0.018942316994071007, 0.026853647083044052, 0.04151364788413048, 0.07021374255418777, -0.041504353284835815, -0.004983183927834034, 0.004183073993772268, -0.03568768873810768, 0.017899133265018463, 0.012425457127392292, 0.0019022016786038876, 0.01719103753566742, -0.029178941622376442, -0.016474280506372452, 0.06928945332765579, 0.01800290308892727, 0.017840659245848656, -0.026736699044704437, -0.025881750509142876, -0.002018425613641739, 0.02038220316171646, -0.050316616892814636, -0.0013132027816027403, 0.024927781894803047, -0.03385677933692932, 0.0638054832816124, -0.02288677543401718, 0.012263406068086624, 0.060250598937273026, 0.017117815092206, -0.0188757311552763, 0.04385993257164955, -0.048937924206256866, -0.014692774042487144, 0.04680418223142624, -0.059052761644124985, -0.013164602220058441, -0.02242087759077549, 0.06363193690776825, -0.06356175243854523, 0.040000446140766144, 0.032813165336847305, 0.016584355384111404, 0.03494710102677345, -0.013707258738577366, -0.022055044770240784, 0.02920231595635414, -0.02148931287229061, 0.07461012899875641, 0.011980812065303326, -0.08840220421552658, 0.07912683486938477, 0.029539979994297028, -0.07827295362949371, 0.048342037945985794, 0.024697117507457733, 0.03308193013072014, 0.04350936412811279, 0.037101615220308304, -0.0494304820895195, 0.03424881771206856, -0.036386746913194656, 0.020673684775829315, -0.04351317137479782, -0.012956499122083187, -0.0021443187724798918, -0.02722744829952717, -0.004007045179605484, 0.021644772961735725, -0.019007911905646324, -0.013850330375134945, 0.0009733346523717046, -0.07171227037906647, -0.04373939335346222, -0.007367456331849098, 0.031036335974931717, -0.03520968183875084, -0.0015886906767264009, -0.010175923816859722, 0.03674985468387604, 0.03438305854797363, 0.01444530114531517, -0.04721562936902046, 0.007126034703105688, 0.026061052456498146, -0.062335021793842316, -0.027706749737262726, 0.009077914990484715, 0.011662634089589119, -0.028222179040312767, 0.02667640522122383, -0.014489761553704739, 0.025750355795025826, 0.013073557056486607, -0.02090776152908802, 0.030371787026524544, -0.03542565554380417, 0.028394315391778946, 0.030613474547863007, 0.006381274200975895, 0.02490977570414543, -0.004982366226613522, 0.036501459777355194, 0.03120812028646469, 0.04865520820021629, 0.0030457915272563696, -0.049717243760824203, -0.01644640974700451, 0.027480894699692726, -0.02430802397429943, 0.022122399881482124, 0.007349630817770958, -0.046157967299222946, -0.03174985945224762, -0.021102840080857277, 0.028743375092744827, 0.034797973930835724, -0.04517998546361923, -0.014921431429684162, 0.02604752592742443, -0.03368717432022095, -0.04001106321811676, -0.07422264665365219, -0.04500384256243706, -0.027595829218626022, 0.00925296451896429, 0.03171320632100105, -0.059327106922864914, 0.00144397490657866, -0.05012217536568642, -0.071988545358181, 0.03668345883488655, 0.02173791453242302, -0.03027426451444626, 0.03723592311143875, 0.04235542193055153, -0.05545555055141449, 0.031328875571489334, 0.05593163147568703, -0.04318784549832344, 0.052207253873348236, 0.017953738570213318, 0.03901495039463043, 0.03211626410484314, 0.03138754889369011, 0.00504547543823719, -0.014704427681863308, -0.040194299072027206, -0.036780986934900284, -0.009248320944607258, -0.0006176328170113266, 0.035998571664094925 ]
AnonymousSub/rule_based_roberta_only_classfn_twostage_epochs_1_shard_1_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
24
null
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: wav2vec-timit results: [] --- <!-- 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. --> # wav2vec-timit This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the None dataset. ## 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: 0.0001 - train_batch_size: 16 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 1000 - num_epochs: 30 - mixed_precision_training: Native AMP ### Framework versions - Transformers 4.11.3 - Pytorch 1.10.0+cu111 - Datasets 1.13.3 - Tokenizers 0.10.3
[ -0.026030514389276505, -0.014999771490693092, -0.03001353144645691, 0.018683897331357002, 0.034624796360731125, 0.03313823416829109, 0.013958342373371124, -0.00014403328532353044, -0.033079154789447784, 0.048670124262571335, 0.04254283010959625, -0.0075546749867498875, 0.012175744399428368, 0.03669946268200874, -0.04250239208340645, -0.05623854324221611, -0.03806544840335846, 0.015336723066866398, -0.022080006077885628, 0.0020304659847170115, 0.0017197695560753345, -0.01004544086754322, -0.01129149366170168, 0.025856105610728264, 0.005756255704909563, 0.016778642311692238, -0.004997237119823694, -0.002235640538856387, -0.004504849668592215, -0.08033349364995956, -0.013989188708364964, -0.04991397634148598, -0.04365353658795357, -0.03900069370865822, -0.014084449037909508, -0.005227332469075918, -0.01772988773882389, 0.024644430726766586, 0.03811348229646683, 0.046267781406641006, 0.012420633807778358, 0.018397731706500053, -0.03019765205681324, -0.021507782861590385, 0.055704791098833084, 0.013976763933897018, -0.039100587368011475, -0.00698877265676856, 0.03632237762212753, -0.04993818327784538, -0.07104431092739105, -0.0676218718290329, -0.03707926720380783, 0.026519248262047768, -0.02400464564561844, -0.02526519075036049, -0.06488900631666183, -0.023683343082666397, 0.06363456696271896, -0.04436448588967323, -0.006034987047314644, 0.006979366298764944, -0.06435255706310272, 0.02045939676463604, 0.025545375421643257, -0.024142825976014137, 0.013712827116250992, -0.03413311392068863, 0.04781623184680939, -0.013753581792116165, 0.04745695739984512, -0.016641035676002502, 0.0077365911565721035, -0.09837876260280609, -0.01864773966372013, -0.002128642750903964, 0.02254301682114601, 0.05980434641242027, -0.03043476864695549, 0.045823562890291214, 0.02777935564517975, 0.010128545574843884, 0.03442895784974098, -0.030739620327949524, 0.007501431740820408, 0.04941767454147339, -0.05368437618017197, 0.035036128014326096, -0.007589060813188553, 0.04061748459935188, -0.028796952217817307, -0.015481160953640938, -0.03442489355802536, -0.04953594505786896, -0.011719733476638794, 0.026443257927894592, 0.031763166189193726, 0.016534773632884026, 0.02630489692091942, 0.018042191863059998, 0.04969485104084015, 0.03050392121076584, -0.019707519561052322, 0.06286367774009705, -0.00524906488135457, -0.01588357239961624, -0.00835343450307846, -0.012302513234317303, -0.042208701372146606, 0.031640466302633286, 0.036172885447740555, -0.029028158634901047, -0.028011173009872437, 0.027274014428257942, -0.002971469657495618, -0.0033419595565646887, 0.04272182285785675, -0.03226893022656441, -0.031689394265413284, -0.013510089367628098, 0.05329667776823044, 0.03002804145216942, -0.010542438365519047, -0.006846637465059757, -0.05457010492682457, 0.017562054097652435, -0.02384023554623127, -0.041880641132593155, -0.012123100459575653, 0.00663596298545599, -0.008085380308330059, 0.04109487682580948, 0.03984040394425392, -0.053653474897146225, -0.006097154226154089, 0.019660692662000656, -0.04392624273896217, 0.018615609034895897, 0.016314376145601273, 0.0756743997335434, -0.07559812813997269, -0.06829498708248138, 0.011218582279980183, -0.00950562208890915, -0.012685741297900677, 0.026671692728996277, 0.014765928499400616, -0.02832256630063057, -0.014203761704266071, -0.01901942305266857, 0.02633829601109028, -0.06938439607620239, -0.01204696949571371, 0.053228314965963364, -0.014426887035369873, 0.04261384904384613, -0.044104237109422684, -0.018583133816719055, 0.007663024589419365, 0.0033926169853657484, -0.022492993623018265, 0.04139183461666107, 0.004157119430601597, -0.01433479692786932, -0.014848691411316395, -0.04810076206922531, -0.019517987966537476, 0.09505777806043625, -0.0027819762472063303, -0.018934236839413643, -0.02575516141951084, 0.03202548623085022, 0.04879220947623253, 0.0553804449737072, -0.03291637450456619, 0.04755847156047821, 0.053782857954502106, 0.031475216150283813, -0.03079196996986866, 0.05783131346106529, 0.0345689058303833, -0.044697169214487076, -0.05419166013598442, 0.009234786964952946, 0.02137855626642704, -0.075111523270607, 0.018232431262731552, 0.04308732971549034, 0.01997995376586914, -0.037215184420347214, -0.023570923134684563, 0.04443024471402168, 0.002555697225034237, -0.006641958374530077, 0.031308844685554504, -0.008098110556602478, -0.027435515075922012, 0.028449004516005516, -0.042962655425071716, -0.007398440036922693, -0.013742855750024319, -0.013176120817661285, -0.014002477750182152, -0.0032432733569294214, 0.02980906516313553, 0.047055695205926895, -0.018346650525927544, 0.09775892645120621, -0.027551908046007156, -0.004605691414326429, 0.001563842175528407, -0.04728933051228523, 0.009544920176267624, 0.0698189064860344, 0.031173016875982285, 0.06606480479240417, -0.0028938399627804756, -0.043811846524477005, 0.03444712981581688, 0.08350072801113129, 0.051763683557510376, -0.007322578225284815, -0.03505190834403038, -0.013142558746039867, 0.009886468760669231, 0.04897254705429077, -0.06160934269428253, -0.015283342450857162, 0.020942511036992073, 0.02152487449347973, -0.0223359614610672, 0.03208552300930023, -0.019726097583770752, 0.042333487421274185, -0.054326970130205154, -0.07265593111515045, 0.04789533093571663, 0.028487268835306168, -0.0013467411044985056, 0.027250362560153008, -0.005120443645864725, 0.008133946917951107, 0.004553188569843769, 0.013727339915931225, -0.0037297846283763647, -0.013452762737870216, 0.01931246556341648, 0.023100541904568672, 0.059266477823257446, -0.06780712306499481, 0.021532904356718063, -0.034456126391887665, 0.015478221699595451, 0.05168022960424423, -0.03858998790383339, 0.04045169800519943, 0.038458049297332764, 0.0264569241553545, -0.02869180589914322, 0.008127064444124699, 0.0030146590434014797, 0.06209561228752136, 0.035447269678115845, 0.026942800730466843, 0.06484626233577728, 0.020218152552843094, 0.03229640796780586, 0.07794281095266342, 0.02979462593793869, 0.017683038488030434, 0.04279618710279465, 0.08524216711521149, 0.011190848425030708, -0.012118479236960411, 0.06126777455210686, -0.05634621903300285, 0.029686346650123596, -0.04219946265220642, -0.014569900929927826, -0.02314157597720623, -0.010146535001695156, 0.033032700419425964, -0.009879074059426785, -0.003929697908461094, -0.025607606396079063, -0.026989566162228584, -0.04001632705330849, 0.03655456751585007, -0.0020986374001950026, -0.011804168112576008, -0.004565978888422251, -0.006890163756906986, -0.013654112815856934, -0.07200948148965836, -0.014631664380431175, -0.02174033410847187, -0.022647907957434654, 0.0022958198096603155, -0.09463491290807724, -0.0158487930893898, -0.07392911612987518, -0.026279542595148087, 0.03719537332653999, 0.008892002515494823, 0.013812394812703133, -0.05056791007518768, 0.010135764256119728, -0.04763469099998474, -0.0557030625641346, -0.05138377472758293, -0.05190557986497879, -0.019681710749864578, -0.07593011856079102, 0.03620680794119835, 0.044185273349285126, 0.022256651893258095, 0.006285492330789566, 0.012715058401226997, -0.0035247330088168383, -0.0011893664486706257, 0.03227914869785309, 0.05613125115633011, -0.040992915630340576, -0.0675903931260109, 0.029102768748998642, -0.01675656996667385, 0.0039983587339520454, -0.010307151824235916, -0.024996912106871605, 0.10362128913402557, 0.07149425148963928, 0.034736428409814835, 0.02576548047363758, -0.028555842116475105, -0.06131959334015846, -0.07258531451225281, -0.023362375795841217, -0.05230763927102089, -0.02213873527944088, -0.04970599710941315, -0.021094858646392822, -0.03042844496667385, -0.02357296086847782, 0.012848732993006706, -0.024406924843788147, 0.0023800432682037354, 0.03408696502447128, 0.0433984100818634, 0.014738396741449833, 0.03059348091483116, -0.028598058968782425, -0.05976506322622299, 0.03936464339494705, -0.00047608077875338495, -0.03111519291996956, -0.08316858857870102, -0.0064566354267299175, 0.027182171121239662, 0.01757235825061798, 0.02303219959139824, 0.019235532730817795, 0.08550463616847992, -0.0030346219427883625, -0.0318652018904686, 0.022184988483786583, -0.02177867293357849, 0.011416947469115257, -0.035247720777988434, 0.0032914020121097565, -0.0225949939340353, -0.04937373474240303, 0.011363553814589977, -0.02080761082470417, 0.04775372892618179, -0.06839071214199066, -0.04973248019814491, -0.011250522918999195, 0.026364224031567574, 0.036055129021406174, 0.017381733283400536, -0.015815718099474907, -0.01964583434164524, -0.04774798825383186, -0.014160395599901676, 0.03317613527178764, 0.008733393624424934, 0.016357559710741043, 0.042169637978076935, 0.022646356374025345, -0.019191499799489975, 0.05018092319369316, 0.04170868918299675, 0.08202676475048065, 0.030127868056297302, -0.040994904935359955, 0.019329003989696503, -0.018261728808283806, 0.01893402449786663, -0.027257010340690613, -0.03126053884625435, -0.046263422816991806, -0.11370700597763062, -0.02892211638391018, 0.008990979753434658, -0.010521847754716873, -0.01586991176009178, 0.04596199840307236, 0.005453695543110371, -0.018396055325865746, 0.006783315911889076, 0.030462738126516342, 0.054014284163713455, -0.041466277092695236, 0.05018014460802078, -0.008105367422103882, 0.025669947266578674, -0.06703265011310577, 0.014439576305449009, -0.03388601168990135, -0.014351741410791874, -0.0014342197682708502, 0.04649566486477852, -0.00767099391669035, 0.05413860082626343, 0.08696388453245163, 0.0000685585182509385, -0.04029635339975357, 0.04660310596227646, 0.05854012817144394, -0.03134669363498688, -0.056296706199645996, 0.011741066351532936, -0.011858668178319931, -0.0383339524269104, -0.012636263854801655, 0.005042693577706814, 0.0348786786198616, 0.03989649564027786, -0.013030560687184334, 0.012832706794142723, 0.007623462937772274, -0.015801699832081795, -0.023380126804113388, -0.05064280331134796, -0.03549748659133911, 0.002592732897028327, -0.03201039135456085, 0.030086804181337357, 0.027311351150274277, 0.008771879598498344, 0.0539265051484108, 0.039003897458314896, -0.04700058698654175, -0.03576190024614334, -0.0015756019856780767, 0.032185349613428116, -0.03102571703493595, -0.08790833503007889, -0.033086176961660385, 0.03718637675046921, 0.03942542150616646, -0.011490678414702415, -0.06651667505502701, 0.004895881749689579, 0.038094259798526764, -0.04302576929330826, 0.05423932522535324, 0.009967131540179253, 0.05450589582324028, 0.05789054185152054, 0.005736726336181164, 0.03645699843764305, -0.02106347866356373, 0.005467119161039591, -0.004446262028068304, -0.00254353997297585, -0.022618316113948822, -0.019999632611870766, -0.0630888119339943, -0.0011982310097664595, 0.05544177442789078, 0.055434759706258774, 0.028332997113466263, -0.034502822905778885, -0.04374760016798973, 0.019045744091272354, 0.033401571214199066, -0.04373910278081894, 0.013059011660516262, 0.008001035079360008, 0.022867541760206223, -0.037747666239738464, -0.02038259245455265, -0.02194822207093239, -0.007007824257016182, 0.024439845234155655, 0.0029054642654955387, -0.041345126926898956, -0.03236628323793411, 0.03942844644188881, 0.02154405601322651, -0.02346227504312992, -0.08193130791187286, 0.017569055780768394, -0.010024805553257465, -0.0032459988724440336, 0.03641073405742645, 0.040142934769392014, 0.03496696054935455, 0.034381281584501266, 0.027148300781846046, 0.03716844692826271, -0.02577684074640274, 0.02541031502187252, -0.03699257969856262, -0.019049417227506638, 0.0003800913109444082, -0.020182166248559952, -0.029740959405899048, -0.015187399461865425, -0.061737000942230225, -0.031168166548013687, -0.004353230353444815, 0.0010608608135953546, -0.005690458230674267, -0.005041220225393772, -0.018325870856642723, 0.0722452774643898, -0.029402712360024452, -0.012199608609080315, -0.03854798525571823, -0.009616580791771412, -0.050273168832063675, -0.04421249404549599, 0.026524340733885765, 0.010664984583854675, 0.057982731610536575, 0.026546502485871315, 0.014965198934078217, 0.0195225328207016, 0.00822815764695406, -0.019375013187527657, 0.005477892700582743, 0.005245649721473455, -0.015024415217339993, -0.006563006900250912, 0.0210027564316988, 0.008212185464799404, 0.001904619624838233, -0.03738914057612419, 0.025223681703209877, 0.02278137020766735, -0.0022816122509539127, -0.01835872419178486, 0.00988110899925232, 0.003918531816452742, -0.07401121407747269, -0.012466097250580788, 0.007297839969396591, -0.05053803324699402, 0.01145440898835659, -0.03587176650762558, -0.028115766122937202, 0.004249258898198605, 0.02520693838596344, 0.05776270106434822, -0.024371299892663956, -0.01741788536310196, 0.028238732367753983, -0.03577924892306328, 0.007388269528746605, -0.06433027237653732, 0.05093406140804291, -0.03690575063228607, 0.008081323467195034, -0.025381676852703094, 0.031825751066207886, -0.04292910173535347, 0.03598366677761078, -0.02402004785835743, 0.006367736030369997, -0.022521663457155228, 0.03605002537369728, -0.024985510855913162, 0.030236419290304184, 0.0070633236318826675, 0.022627463564276695, -0.05681968480348587, 0.05213845521211624, -0.021841904148459435, 0.03516606613993645, -0.04696403816342354, -0.0036205556243658066, -0.04459245875477791, -0.011617346666753292, -0.014749357476830482, -0.022499684244394302, 0.05028817802667618, 0.051289692521095276, 0.0494178906083107, 0.02642781101167202, -0.02447635866701603, -0.03239484503865242, 0.028959747403860092, -0.040036942809820175, -0.013538959436118603, -0.00900255423039198, -0.006291702389717102, 0.0017862037057057023, 0.0331103578209877, 0.041561059653759, -0.05384629964828491, -0.056849438697099686, 0.03172812610864639, -0.007849295623600483, 0.01950427144765854, 0.022762635722756386, 0.024732228368520737, 0.028920819982886314, 0.0630529522895813, -0.007150005549192429, 0.007588128559291363, -0.011616976000368595, -0.04033198952674866, 0.03214723616838455, -0.026184702292084694, 0.028467725962400436, 0.007895019836723804, -0.0383680984377861, -0.012968902476131916, 0.052220698446035385, 0.04606611281633377, 0.038815055042505264, 0.004574991296976805, -0.03201044723391533, 0.028093595057725906, -0.010499492287635803, -0.05594630911946297, 0.028519034385681152, -0.00569429574534297, -0.028452273458242416, 0.08557739108800888, -0.02220127359032631, 0.011977896094322205, 0.027513951063156128, 0.03546195104718208, -0.02401881292462349, 0.04565327242016792, -0.03598492592573166, 0.00714955385774374, 0.07450596988201141, -0.06226145103573799, 0.002851329278200865, -0.00308146676979959, 0.0680689737200737, -0.069085493683815, 0.023465244099497795, 0.06509681046009064, 0.0061746928840875626, 0.01179750356823206, -0.045135609805583954, -0.029865680262446404, 0.012430965900421143, -0.04554613679647446, 0.0927668958902359, -0.003921301569789648, -0.05413429066538811, 0.05255289375782013, 0.01313677430152893, -0.07106868922710419, 0.0505506694316864, 0.02305654250085354, 0.03605153411626816, 0.033190540969371796, 0.04323408380150795, -0.03904302790760994, 0.013019006699323654, -0.05176330357789993, 0.0371856689453125, -0.05406823754310608, 0.008030209690332413, 0.03450623154640198, -0.03849577531218529, -0.042671628296375275, 0.043556760996580124, -0.021987492218613625, -0.021533161401748657, 0.03926413133740425, -0.0585927776992321, -0.028649725019931793, 0.007260087877511978, 0.033536072820425034, -0.036154668778181076, 0.01786773093044758, -0.03312636539340019, -0.005465024150907993, 0.008384178392589092, -0.0017235181294381618, -0.018801292404532433, -0.0009161509806290269, -0.002660383004695177, -0.03796788677573204, -0.054455824196338654, 0.029200227931141853, -0.01664440520107746, -0.008396306075155735, 0.05041082948446274, 0.021351657807826996, 0.014311563223600388, 0.020541619509458542, 0.01206163503229618, 0.03537364304065704, -0.0360993929207325, -0.026473842561244965, -0.0001131863464252092, 0.005556212738156319, 0.03625582903623581, 0.014999227598309517, 0.0516393668949604, 0.011303264647722244, 0.007581655867397785, -0.005334245041012764, -0.03340836614370346, -0.031044363975524902, 0.0046165804378688335, -0.03095308691263199, 0.014463973231613636, 0.014124644920229912, -0.05867151916027069, -0.06209816411137581, -0.010515516623854637, -0.024534983560442924, 0.015366134233772755, -0.06912979483604431, 0.0029098857194185257, 0.04238548502326012, -0.007089253980666399, -0.06930584460496902, -0.0657426193356514, -0.04065888375043869, -0.049803219735622406, 0.022361239418387413, 0.032104797661304474, -0.050450872629880905, 0.03881901502609253, -0.0592217892408371, -0.041045185178518295, 0.03819504380226135, -0.00039916037349030375, -0.025048013776540756, 0.02536986768245697, 0.047894418239593506, -0.04637979343533516, 0.002111246343702078, 0.03971843793988228, -0.03962165117263794, 0.011845020577311516, 0.01606982946395874, 0.009151623584330082, 0.028565820306539536, 0.008134199306368828, -0.05346456915140152, -0.03085387498140335, -0.05301179736852646, -0.02596380189061165, -0.04516635835170746, -0.00665799155831337, 0.04342154785990715 ]
AnonymousSub/rule_based_roberta_twostage_quadruplet_epochs_1_shard_10
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
3
null
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: wav2vec2-latino40 results: [] --- <!-- 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. --> # wav2vec2-latino40 This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 2.8795 - Wer: 1.0 ## 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: 0.0001 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 100 - num_epochs: 10 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:---:| | 5.6846 | 0.83 | 100 | 2.9086 | 1.0 | | 2.8686 | 1.67 | 200 | 2.8922 | 1.0 | | 2.8805 | 2.5 | 300 | 2.9326 | 1.0 | | 2.8613 | 3.33 | 400 | 2.8698 | 1.0 | | 2.8643 | 4.17 | 500 | 2.9027 | 1.0 | | 2.8688 | 5.0 | 600 | 2.9544 | 1.0 | | 2.8689 | 5.83 | 700 | 2.8914 | 1.0 | | 2.8558 | 6.67 | 800 | 2.8762 | 1.0 | | 2.8537 | 7.5 | 900 | 2.8982 | 1.0 | | 2.8522 | 8.33 | 1000 | 2.8820 | 1.0 | | 2.8468 | 9.17 | 1100 | 2.8760 | 1.0 | | 2.8454 | 10.0 | 1200 | 2.8795 | 1.0 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.9.1 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.027985308319330215, -0.012806111946702003, -0.013416149653494358, 0.035680629312992096, 0.0339069627225399, 0.013303236104547977, -0.01391057949513197, 0.0011141850845888257, -0.02431829832494259, 0.04155292361974716, 0.01311409380286932, -0.03651069104671478, 0.001750000985339284, 0.0363006554543972, -0.04932120069861412, -0.058270566165447235, -0.03515584394335747, 0.0025878052692860365, -0.034753765910863876, -0.0034544747322797775, -0.002998312236741185, -0.010151971131563187, -0.017059607431292534, 0.019848018884658813, 0.008633285760879517, 0.01791449636220932, -0.01408674381673336, 0.0002553187368903309, 0.01797645539045334, -0.042778681963682175, -0.018632901832461357, -0.049309972673654556, -0.04728216677904129, -0.03832582011818886, -0.0097299013286829, 0.005802737083286047, 0.0013819537125527859, 0.033846307545900345, 0.03114190883934498, 0.05122740939259529, 0.018469125032424927, 0.023457322269678116, -0.02694082073867321, -0.0050546955317258835, 0.04172424599528313, 0.018765216693282127, -0.03792239725589752, -0.024150289595127106, 0.026013679802417755, -0.04465648904442787, -0.06498733907938004, -0.05914359539747238, -0.012167943641543388, 0.037908557802438736, -0.038251083344221115, -0.028858106583356857, -0.06456813216209412, -0.0029612646903842688, 0.07071239501237869, -0.050048038363456726, -0.02486710622906685, 0.014181766659021378, -0.07787537574768066, 0.016360322013497353, 0.02568133920431137, -0.03977614641189575, 0.01383969746530056, -0.023779625073075294, 0.04250580444931984, -0.009725866839289665, 0.05482953414320946, -0.021252326667308807, 0.006007722113281488, -0.08352542668581009, -0.010060652159154415, -0.004193731117993593, 0.03623976185917854, 0.07129456102848053, -0.04454654082655907, 0.05693454295396805, 0.04290629178285599, 0.013209410011768341, 0.0421576052904129, -0.0307841207832098, 0.03790372982621193, 0.05046791583299637, -0.05522826686501503, 0.023366611450910568, 0.014556404203176498, 0.01745118387043476, -0.002750657731667161, -0.013878331519663334, -0.01374344527721405, -0.027889732271432877, -0.009125599637627602, 0.031071234494447708, 0.03915918990969658, -0.007483983412384987, 0.023870768025517464, 0.024388954043388367, 0.01976754143834114, 0.02994210459291935, -0.02175907790660858, 0.0772872045636177, -0.033690840005874634, -0.021945716813206673, -0.017752710729837418, -0.013880765065550804, -0.031041594222187996, 0.009825634770095348, 0.023062974214553833, -0.031934916973114014, -0.03926059231162071, 0.04186899960041046, 0.008372420445084572, 0.003054411616176367, 0.06350941956043243, -0.032496895641088486, -0.05650583654642105, -0.025461817160248756, 0.045980338007211685, 0.03235940262675285, -0.020820986479520798, 0.004181550350040197, -0.07050993293523788, 0.007339850068092346, -0.0169067345559597, -0.04340391233563423, 0.010109084658324718, 0.003122154390439391, -0.011607500724494457, 0.05028203874826431, 0.03547157719731331, -0.0761096253991127, -0.013734947890043259, 0.0034996287431567907, -0.048068635165691376, 0.008997774682939053, 0.01700654625892639, 0.07931746542453766, -0.05472820624709129, -0.07065871357917786, 0.007955430075526237, 0.002957042772322893, -0.011198299005627632, 0.035409118980169296, -0.008057142607867718, -0.019358262419700623, -0.008620981127023697, -0.018466442823410034, 0.047878481447696686, -0.06802688539028168, -0.009955420158803463, 0.0722179114818573, -0.02872641012072563, 0.060789380222558975, -0.02838737517595291, -0.029667450115084648, 0.00587949063628912, -0.027323631569743156, -0.005292244255542755, 0.024496717378497124, -0.017421400174498558, -0.030064959079027176, -0.023198416456580162, -0.041119158267974854, -0.014192519709467888, 0.09230836480855942, 0.0032269780058413744, -0.024949632585048676, -0.02657664567232132, 0.02410987950861454, 0.04429776966571808, 0.03680369257926941, -0.031084628775715828, 0.03711538761854172, 0.0459957979619503, 0.03227054700255394, -0.032149698585271835, 0.061694081872701645, 0.04451591148972511, -0.020461926236748695, -0.0429239347577095, 0.01202345360070467, 0.020038653165102005, -0.07373814284801483, -0.005053036846220493, 0.04858209192752838, 0.030417099595069885, -0.03784798085689545, -0.024393144994974136, 0.05515673756599426, -0.013220524415373802, -0.009285938926041126, 0.018790600821375847, 0.005007612053304911, -0.037635449320077896, 0.047760266810655594, -0.031731978058815, -0.01268650684505701, -0.030839458107948303, -0.03164738044142723, -0.0006740055978298187, 0.006710197776556015, 0.01035655103623867, 0.04995794594287872, -0.013670855201780796, 0.10295119136571884, -0.034377649426460266, 0.018168140202760696, -0.02497704327106476, -0.04956881329417229, -0.008025743067264557, 0.0748618096113205, 0.032788533717393875, 0.06750577688217163, -0.004813890904188156, -0.05215935781598091, 0.03172463923692703, 0.09009756147861481, 0.05495860427618027, -0.009449532255530357, -0.05393074080348015, -0.0163643229752779, 0.03700311481952667, 0.04215652495622635, -0.0594007633626461, -0.028910089284181595, 0.024008210748434067, 0.038048624992370605, -0.03634941577911377, 0.029485011473298073, -0.025473563000559807, 0.045257728546857834, -0.048742927610874176, -0.06648483127355576, 0.04584013670682907, 0.014739371836185455, -0.0150395967066288, 0.028838053345680237, -0.002236376516520977, 0.004328133538365364, 0.0059962025843560696, 0.015019562095403671, 0.000618230493273586, -0.022905834019184113, 0.020302413031458855, 0.02120765671133995, 0.05908168479800224, -0.06141573190689087, 0.037181224673986435, -0.026942595839500427, 0.017760176211595535, 0.043433185666799545, -0.03522108122706413, 0.0359211228787899, 0.06734281778335571, 0.01219164952635765, -0.02907397970557213, 0.0009942632168531418, 0.013731763698160648, 0.04455591365695, 0.017483782023191452, 0.017027927562594414, 0.077384352684021, 0.02790410816669464, 0.028716502711176872, 0.07728138566017151, 0.04311368614435196, 0.014406372793018818, 0.04393622279167175, 0.08660328388214111, -0.010307508520781994, -0.0197101179510355, 0.06794974952936172, -0.05617767944931984, 0.01911330409348011, -0.030278827995061874, 0.003000939032062888, -0.013613482005894184, -0.014398939907550812, 0.019426418468356133, -0.01218232698738575, -0.01897057332098484, -0.03377993032336235, -0.016550393775105476, -0.02873603068292141, 0.030870895832777023, -0.01650509610772133, -0.006721714977174997, -0.005774896591901779, 0.006990591995418072, -0.0056343404576182365, -0.06437413394451141, -0.03238186612725258, -0.006654791533946991, -0.02554035745561123, -0.013078812509775162, -0.07756482064723969, -0.017387032508850098, -0.0637684315443039, -0.012749901972711086, 0.03417598456144333, -0.0043615298345685005, 0.014113766141235828, -0.03608449548482895, 0.0055163344368338585, -0.0352247916162014, -0.055905092507600784, -0.05155598744750023, -0.058268576860427856, -0.03827179595828056, -0.069795623421669, 0.035696446895599365, 0.03508581966161728, 0.04337429255247116, 0.018171146512031555, 0.012078204192221165, 0.011455145664513111, -0.03348512947559357, 0.04046328365802765, 0.06362024694681168, -0.026120273396372795, -0.06100089102983475, 0.025473998859524727, -0.010677401907742023, 0.015100283548235893, -0.004271772690117359, -0.024415602907538414, 0.0811481922864914, 0.04814367741346359, 0.03516167774796486, 0.013088335283100605, -0.02681739628314972, -0.046579211950302124, -0.06926499307155609, -0.026060249656438828, -0.034189049154520035, -0.02080405503511429, -0.04181823879480362, -0.02758837305009365, -0.028364595025777817, -0.025452909991145134, 0.01866007223725319, -0.021627824753522873, -0.015013481490314007, 0.03903473541140556, 0.027904724702239037, 0.022570855915546417, 0.018165452405810356, -0.02627347595989704, -0.04721025750041008, 0.053132057189941406, 0.01639067940413952, -0.014653871767222881, -0.07841841876506805, -0.0076545123010873795, 0.008955743163824081, 0.011291944421827793, 0.005898162256926298, 0.0033577431458979845, 0.08968984335660934, -0.008000806905329227, -0.014633691869676113, 0.03308115154504776, -0.022024720907211304, -0.027826344594359398, -0.017924293875694275, -0.008071104995906353, -0.018074633553624153, -0.055398523807525635, 0.026870520785450935, -0.004082200117409229, 0.05188687518239021, -0.06625198572874069, -0.041679371148347855, -0.004699441604316235, 0.017167318612337112, 0.05419391766190529, -0.004648399539291859, -0.028342297300696373, -0.027415670454502106, -0.054900653660297394, -0.029683316126465797, 0.035316355526447296, 0.013594081625342369, 0.006848118267953396, 0.05718933045864105, 0.02084725722670555, -0.018583983182907104, 0.045543309301137924, 0.0362243689596653, 0.07235094159841537, 0.030135421082377434, -0.05347619950771332, 0.026890024542808533, -0.03203027322888374, 0.019231881946325302, -0.01547836884856224, -0.013165227137506008, -0.03182779252529144, -0.10550328344106674, -0.021264536306262016, 0.007889592088758945, 0.004052412696182728, -0.005423254799097776, 0.03938779979944229, -0.016849298030138016, -0.0064980220049619675, -0.002405802020803094, 0.02388307824730873, 0.04775182530283928, -0.05813001096248627, 0.04779687151312828, 0.0007000081823207438, 0.02054092101752758, -0.057672809809446335, 0.00925026461482048, -0.013225440867245197, -0.02140854485332966, 0.00884806364774704, 0.042683836072683334, -0.003033274784684181, 0.05021129548549652, 0.08202503621578217, 0.013172701932489872, -0.028775470331311226, 0.04708058759570122, 0.05050039291381836, -0.03426266461610794, -0.048304542899131775, 0.009368964470922947, -0.006457171868532896, -0.043693751096725464, -0.0016226075822487473, -0.013996738940477371, 0.04837127774953842, 0.039860621094703674, -0.01568474806845188, 0.007120351307094097, 0.013952882029116154, -0.007996584288775921, -0.0070056128315627575, -0.04261651635169983, -0.024975894019007683, -0.0006056097918190062, -0.037211477756500244, 0.02977095916867256, 0.02118855156004429, 0.004238506313413382, 0.05398547276854515, 0.04010208323597908, -0.0408787876367569, -0.021678326651453972, 0.016797930002212524, 0.018564535304903984, -0.026344947516918182, -0.06693138927221298, -0.021709129214286804, 0.06050324812531471, 0.03466809540987015, -0.003966363146901131, -0.08123999089002609, -0.016450006514787674, 0.06742366403341293, -0.0689288079738617, 0.04240734875202179, 0.011207341216504574, 0.04901599884033203, 0.050072018057107925, -0.0045083872973918915, 0.04997032508254051, -0.0056389193050563335, 0.007487024646252394, -0.005420243833214045, 0.014693339355289936, -0.004808714613318443, -0.033082425594329834, -0.07428515702486038, 0.011247353628277779, 0.04408029839396477, 0.045746445655822754, 0.04347744211554527, -0.027398571372032166, -0.035464998334646225, 0.0001179994796984829, 0.04441274330019951, -0.05105849355459213, -0.0077362060546875, 0.022510051727294922, 0.03934737667441368, -0.029324684292078018, -0.011225074529647827, -0.011860666796565056, -0.00623384490609169, 0.0172492116689682, 0.0047564320266246796, -0.0339307077229023, -0.03541729226708412, 0.05464601144194603, 0.01612040586769581, -0.019233448430895805, -0.08688385784626007, 0.039812780916690826, -0.03186831250786781, -0.004501401912420988, 0.024595705792307854, 0.018772367388010025, 0.02593817748129368, 0.05253973603248596, 0.03071143850684166, 0.014337664470076561, -0.030620446428656578, 0.03674560785293579, -0.03911009058356285, -0.02437613531947136, 0.009521923027932644, -0.009488311596214771, -0.02942598983645439, -0.02678479254245758, -0.05612729862332344, -0.0233668964356184, -0.0029861368238925934, 0.0317038856446743, 0.0004448134277481586, 0.003849573200568557, -0.016673533245921135, 0.05725689232349396, -0.011469187214970589, -0.030960850417613983, -0.02707470953464508, -0.01844959333539009, -0.06545187532901764, -0.05165983363986015, 0.041572101414203644, -0.0007412399281747639, 0.04200063273310661, 0.030389394611120224, 0.022834887728095055, 0.012681782245635986, -0.0027227159589529037, -0.02518293261528015, 0.01568419113755226, 0.0036485735327005386, -0.02298002690076828, -0.023259006440639496, 0.027659853920340538, 0.01106981560587883, 0.02337314747273922, -0.03626352176070213, 0.025911759585142136, 0.012097529135644436, -0.015610317699611187, -0.006748564541339874, 0.0041374750435352325, 0.016062427312135696, -0.06905651837587357, -0.02772812359035015, -0.00661537004634738, -0.04928784817457199, 0.018291441723704338, -0.030298391357064247, 0.0034109477419406176, 0.0015479815192520618, 0.0026314975693821907, 0.046537112444639206, -0.024116482585668564, -0.020845556631684303, 0.0030159091111272573, -0.02093038335442543, 0.007943954318761826, -0.06097210571169853, 0.05777650326490402, -0.02948215790092945, 0.0037448136135935783, -0.011129071936011314, 0.008612026460468769, -0.05047222599387169, 0.03120458498597145, -0.013565138913691044, -0.015330659225583076, -0.005273509304970503, 0.04966563358902931, -0.008356782607734203, 0.026123158633708954, -0.016011593863368034, 0.02364465594291687, -0.06434556096792221, 0.0737895742058754, -0.035712212324142456, 0.021280687302350998, -0.025955399498343468, 0.0005366922123357654, -0.027149606496095657, 0.0027893390506505966, -0.030361725017428398, -0.036722633987665176, 0.031162703409790993, 0.06783285737037659, 0.05679289251565933, 0.03034287504851818, -0.037994034588336945, -0.018926257267594337, 0.017910117283463478, -0.03817052021622658, -0.013825786300003529, 0.00020295883587095886, -0.001210481976158917, 0.00533155957236886, 0.039876826107501984, 0.04361710324883461, -0.0669219046831131, -0.07288771867752075, 0.05090581625699997, -0.009260276332497597, 0.0035296017304062843, 0.02252154052257538, 0.0031590829603374004, 0.03186439722776413, 0.06428839266300201, -0.020883480086922646, 0.005475563928484917, -0.013410135172307491, -0.02391097880899906, 0.04332663491368294, -0.01893492415547371, 0.02376425638794899, 0.026373524218797684, -0.032705310732126236, -0.013354865834116936, 0.04793880507349968, 0.049386221915483475, 0.03197445720434189, -0.015588587149977684, -0.03368318825960159, 0.009335544891655445, -0.01934833452105522, -0.06511981040239334, 0.02763909287750721, -0.009438944980502129, -0.0208548903465271, 0.06090918928384781, -0.027894634753465652, 0.017192471772432327, 0.05423509702086449, 0.046218257397413254, -0.03199360892176628, 0.06445614993572235, -0.0021040013525635004, -0.014796815812587738, 0.05954170227050781, -0.07261231541633606, -0.004726090002804995, -0.01690000668168068, 0.07708289474248886, -0.07715693861246109, 0.017228219658136368, 0.05680138245224953, 0.0014679168816655874, 0.025375906378030777, -0.03768008202314377, -0.02622171863913536, 0.01673414185643196, -0.04333193600177765, 0.09723888337612152, 0.005613038316369057, -0.060430459678173065, 0.04658959060907364, 0.01763707585632801, -0.06767687201499939, 0.04335213825106621, 0.02151014283299446, 0.021363388746976852, 0.029312852770090103, 0.03602726757526398, -0.045871537178754807, 0.018098635599017143, -0.0414392352104187, 0.037083446979522705, -0.062148794531822205, -0.008959167636930943, 0.04211951419711113, -0.028622152283787727, -0.026563063263893127, 0.03598031401634216, -0.022803422063589096, -0.024796899408102036, 0.04120323807001114, -0.04761863127350807, -0.04165123775601387, 0.0114386435598135, 0.02792292647063732, -0.04336204379796982, 0.011054984293878078, -0.029818380251526833, 0.003521336941048503, 0.01586673967540264, 0.010316572152078152, -0.026342598721385002, -0.002051583956927061, 0.006322599481791258, -0.0726194754242897, -0.03325709328055382, 0.02622581645846367, -0.026547463610768318, -0.022991405799984932, 0.03153669834136963, 0.020272739231586456, -0.0088068637996912, 0.026186257600784302, 0.0009211859432980418, 0.02938787452876568, -0.051119692623615265, -0.028164854273200035, 0.004417610354721546, 0.0031689489260315895, 0.023845473304390907, 0.014128496870398521, 0.0321468822658062, 0.005850077141076326, -0.0022915902081876993, 0.0036960490979254246, -0.01595422253012657, -0.03130663186311722, 0.036462217569351196, -0.032539039850234985, 0.012510699220001698, -0.0021740796510130167, -0.04788115248084068, -0.061587415635585785, -0.0070182206109166145, -0.015593771822750568, 0.008838104084134102, -0.06111939996480942, -0.015290663577616215, 0.030615616589784622, -0.031763333827257156, -0.05237803980708122, -0.08201704919338226, -0.05055592209100723, -0.03787367418408394, 0.02539505623281002, 0.039468809962272644, -0.036739248782396317, 0.04325626790523529, -0.0516449436545372, -0.05034666880965233, 0.03479168191552162, 0.007398996036499739, -0.025362128391861916, 0.02188052237033844, 0.0569666288793087, -0.06741303205490112, 0.007870107889175415, 0.05538767948746681, -0.032247934490442276, 0.009849236346781254, 0.01008894294500351, 0.027512315660715103, 0.037470411509275436, 0.00028843694599345326, -0.03838180750608444, -0.02803126350045204, -0.06566471606492996, -0.03643319755792618, -0.02490081824362278, 0.0013735962565988302, 0.049312397837638855 ]
AnonymousSub/rule_based_roberta_twostage_quadruplet_epochs_1_shard_1_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
24
null
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagequadruplet_hier_epochs_1_shard_1
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
7
null
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagequadruplet_hier_epochs_1_shard_10
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagequadruplet_hier_epochs_1_shard_1_squad2.0
[ "pytorch", "roberta", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagequadruplet_hier_epochs_1_shard_1_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
25
2021-04-15T18:42:38Z
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagetriplet_epochs_1_shard_10
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
1
2021-01-02T20:54:36Z
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagetriplet_epochs_1_shard_1_squad2.0
[ "pytorch", "roberta", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
2021-01-02T20:58:41Z
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagetriplet_epochs_1_shard_1_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
24
2021-01-02T20:09:38Z
--- license: apache-2.0 --- # Cross-Encoder for MS Marco This model was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages (e.g. retrieved with ElasticSearch). Then sort the passages in a decreasing order. See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html) for more details. The training code is available here: [SBERT.net Training MS Marco](https://github.com/UKPLab/sentence-transformers/tree/master/examples/training/ms_marco) ## Usage with Transformers ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Usage with SentenceTransformers The usage becomes easier when you have [SentenceTransformers](https://www.sbert.net/) installed. Then, you can use the pre-trained models like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2') , ('Query', 'Paragraph3')]) ``` ## Performance In the following table, we provide various pre-trained Cross-Encoders together with their performance on the [TREC Deep Learning 2019](https://microsoft.github.io/TREC-2019-Deep-Learning/) and the [MS Marco Passage Reranking](https://github.com/microsoft/MSMARCO-Passage-Ranking/) dataset. | Model-Name | NDCG@10 (TREC DL 19) | MRR@10 (MS Marco Dev) | Docs / Sec | | ------------- |:-------------| -----| --- | | **Version 2 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2-v2 | 69.84 | 32.56 | 9000 | cross-encoder/ms-marco-MiniLM-L-2-v2 | 71.01 | 34.85 | 4100 | cross-encoder/ms-marco-MiniLM-L-4-v2 | 73.04 | 37.70 | 2500 | cross-encoder/ms-marco-MiniLM-L-6-v2 | 74.30 | 39.01 | 1800 | cross-encoder/ms-marco-MiniLM-L-12-v2 | 74.31 | 39.02 | 960 | **Version 1 models** | | | | cross-encoder/ms-marco-TinyBERT-L-2 | 67.43 | 30.15 | 9000 | cross-encoder/ms-marco-TinyBERT-L-4 | 68.09 | 34.50 | 2900 | cross-encoder/ms-marco-TinyBERT-L-6 | 69.57 | 36.13 | 680 | cross-encoder/ms-marco-electra-base | 71.99 | 36.41 | 340 | **Other models** | | | | nboost/pt-tinybert-msmarco | 63.63 | 28.80 | 2900 | nboost/pt-bert-base-uncased-msmarco | 70.94 | 34.75 | 340 | nboost/pt-bert-large-msmarco | 73.36 | 36.48 | 100 | Capreolus/electra-base-msmarco | 71.23 | 36.89 | 340 | amberoad/bert-multilingual-passage-reranking-msmarco | 68.40 | 35.54 | 330 | sebastian-hofstaetter/distilbert-cat-margin_mse-T2-msmarco | 72.82 | 37.88 | 720 Note: Runtime was computed on a V100 GPU.
[ 0.002350238850340247, -0.02575134113430977, -0.025510437786579132, 0.05030900239944458, 0.029714666306972504, 0.02582591585814953, -0.011884937062859535, 0.02359890379011631, -0.05750054493546486, 0.07176458090543747, 0.04284389689564705, -0.006808459293097258, -0.004165073856711388, 0.04238647595047951, -0.044172510504722595, -0.03401312232017517, 0.003050205996260047, -0.0193745419383049, -0.04465074464678764, -0.0026893806643784046, 0.002565787872299552, 0.007206065580248833, -0.003932402469217777, 0.013384133577346802, -0.016871992498636246, 0.0049306838773190975, -0.005241628736257553, 0.02320105768740177, 0.021552931517362595, -0.08388802409172058, 0.00781967118382454, -0.020603524520993233, -0.050124190747737885, -0.00961593259125948, -0.013635567389428616, 0.011820456013083458, 0.024096384644508362, -0.012887023389339447, 0.033459942787885666, 0.042550742626190186, -0.020267633721232414, 0.01116198766976595, -0.016838816925883293, -0.010989638045430183, 0.02595788799226284, -0.0035180924460291862, -0.035147473216056824, -0.0298488549888134, 0.0558246448636055, -0.03440020605921745, -0.03787609934806824, -0.08757434785366058, -0.0177288968116045, 0.03009648248553276, -0.02983326092362404, -0.024619922041893005, -0.062296342104673386, -0.021574178710579872, 0.05698537081480026, -0.06039565056562424, -0.036538366228342056, 0.014798369258642197, -0.05904227867722511, 0.03940770402550697, 0.016427544876933098, -0.012849682942032814, 0.002792510436847806, -0.052067726850509644, 0.00423683226108551, -0.0035172400530427694, 0.06282056868076324, -0.035697635263204575, 0.018116746097803116, -0.11039768904447556, -0.0023047944996505976, -0.018622316420078278, 0.026407189667224884, 0.03737364709377289, -0.02204553224146366, 0.05993061140179634, 0.011513330042362213, -0.0046684942208230495, 0.007448877673596144, -0.004835986532270908, -0.002436836017295718, 0.0500996969640255, -0.05387955904006958, 0.00026327703380957246, -0.026383953168988228, 0.01885170117020607, -0.0426674522459507, -0.006637650541961193, -0.007504099514335394, -0.018547851592302322, -0.045544277876615524, 0.023646721616387367, 0.04790518060326576, -0.0017817432526499033, 0.018917104229331017, 0.007123006507754326, 0.031757902354002, 0.038046445697546005, 0.004361453931778669, 0.06110445410013199, -0.0075916023924946785, -0.005474138539284468, -0.037123020738363266, -0.027336614206433296, -0.03868275135755539, 0.014763256534934044, 0.03296390548348427, -0.036045219749212265, -0.04335630312561989, 0.0524364672601223, 0.05176245793700218, -0.01634186878800392, 0.061720117926597595, -0.02449728175997734, -0.03191381320357323, -0.039192963391542435, 0.07479503750801086, 0.003223919542506337, 0.021998664364218712, -0.019073663279414177, -0.05734247341752052, 0.023709170520305634, -0.0533410906791687, -0.02759493701159954, 0.0028689636383205652, 0.027823014184832573, 0.009659812785685062, 0.02387470006942749, 0.021333666518330574, -0.038326527923345566, 0.012887267395853996, 0.013893533498048782, -0.0806172788143158, 0.036736149340867996, 0.025805430486798286, 0.1198573037981987, -0.04447704553604126, -0.046454448252916336, 0.01810532808303833, 0.02117314003407955, -0.019496474415063858, 0.007750142831355333, 0.01148369163274765, -0.03299691155552864, -0.018900172784924507, 0.01689123921096325, 0.06918410211801529, -0.04250000789761543, -0.007478941231966019, 0.036222755908966064, -0.013108400627970695, 0.030913110822439194, -0.04293555021286011, -0.018195508047938347, 0.0003619905037339777, -0.004593578167259693, -0.03361198678612709, 0.030569234862923622, -0.02466553822159767, 0.009168386459350586, -0.011220945976674557, -0.01993124559521675, -0.0007487525581382215, 0.10660617798566818, -0.024978062137961388, -0.02837798371911049, -0.015933020040392876, 0.0027647309470921755, 0.035373106598854065, 0.06142056733369827, -0.038247641175985336, 0.021933406591415405, 0.07377567142248154, 0.031852513551712036, -0.01042215246707201, 0.0358852781355381, 0.0229590255767107, -0.034605953842401505, -0.031440313905477524, 0.002011143136769533, -0.003285979852080345, -0.036282118409872055, 0.021343832835555077, 0.041377026587724686, -0.03692471235990524, 0.0032098242081701756, -0.0031082110945135355, 0.06509842723608017, -0.01646401546895504, -0.006518709007650614, -0.0050581395626068115, 0.011003915220499039, -0.03406110033392906, 0.049927130341529846, -0.030219774693250656, -0.012000682763755322, 0.0032334362622350454, -0.0478782057762146, 0.012349058873951435, 0.02592189610004425, 0.04016009345650673, 0.04784579202532768, -0.011392557993531227, 0.08726782351732254, -0.0401238389313221, 0.024715499952435493, -0.04387564957141876, -0.046344928443431854, -0.0010616338113322854, 0.04186036065220833, 0.007072041276842356, 0.033654045313596725, 0.012711459770798683, -0.02600991167128086, 0.03757539391517639, 0.04669482633471489, 0.03583591803908348, 0.04867882281541824, -0.034734711050987244, -0.02030271477997303, 0.02416921965777874, 0.06554143130779266, -0.032231494784355164, -0.028222493827342987, 0.028804058209061623, 0.04151313751935959, -0.012010290287435055, 0.031766023486852646, -0.013281797990202904, 0.012910423800349236, -0.039804913103580475, -0.07691516727209091, 0.036493320018053055, 0.023490481078624725, -0.0033421439584344625, 0.051826998591423035, -0.02467520162463188, 0.00907893292605877, 0.027854664251208305, 0.014165936969220638, -0.027800077572464943, -0.042803045362234116, 0.006621663458645344, 0.01814284175634384, 0.02440006099641323, -0.05224749445915222, 0.026609165593981743, -0.005510044749826193, -0.0007584658451378345, 0.040441639721393585, -0.014602819457650185, 0.009498916566371918, 0.04387323558330536, 0.017669688910245895, -0.01096574030816555, 0.014390076510608196, 0.011391247622668743, 0.01560015045106411, 0.05181185528635979, -0.011033734306693077, 0.05132920295000076, 0.005374567117542028, 0.04284173622727394, 0.08476719260215759, 0.02744576707482338, 0.016724683344364166, 0.0545213557779789, 0.0602385513484478, 0.007346137426793575, -0.016369443386793137, 0.044319894164800644, -0.06911599636077881, 0.020108100026845932, -0.03549398481845856, 0.04068230465054512, -0.00751248374581337, -0.017295410856604576, 0.02772318758070469, 0.014507327228784561, -0.01818450726568699, 0.02410377934575081, -0.009626219980418682, -0.019483262673020363, 0.03324875608086586, -0.006846574135124683, -0.006557393353432417, 0.012816108763217926, -0.008606093935668468, -0.0028449909295886755, -0.07200906425714493, -0.0626848116517067, -0.009936489164829254, -0.025110546499490738, -0.009011326357722282, -0.07580281794071198, -0.04397505894303322, -0.10265696048736572, -0.03190288692712784, 0.04361415654420853, 0.011472527869045734, 0.010562197305262089, -0.020036350935697556, 0.013455274514853954, -0.01697569340467453, -0.029254615306854248, -0.05453558638691902, -0.04064060002565384, -0.04196936637163162, -0.07162351906299591, 0.04833826422691345, 0.004057353362441063, -0.005737551022320986, 0.00358902127481997, -0.03350846469402313, -0.02874135598540306, -0.00826274324208498, 0.0586545504629612, 0.012364977970719337, -0.02369878999888897, -0.055002711713314056, 0.02620326355099678, -0.0286724790930748, 0.016402091830968857, -0.015035556629300117, -0.02524654194712639, 0.10180539637804031, 0.06160365045070648, 0.040129441767930984, 0.0017407296691089869, -0.005885739345103502, -0.039996542036533356, -0.043150655925273895, -0.017963185906410217, -0.050306286662817, -0.0022207414731383324, -0.031945712864398956, -0.01767527312040329, -0.004680084064602852, -0.011014828458428383, -0.019785191863775253, -0.0018594528082758188, 0.018871121108531952, 0.08131614327430725, 0.04856749251484871, 0.04689200595021248, 0.02085587941110134, -0.028807492926716805, -0.04281534627079964, 0.061534635722637177, 0.03665022552013397, -0.005346301477402449, -0.06946206092834473, -0.031671732664108276, 0.04332417994737625, 0.014233331196010113, -0.00047275901306420565, -0.022374523803591728, 0.08516795188188553, 0.012137249112129211, -0.009540810249745846, 0.011217133142054081, 0.01639617048203945, -0.02260798215866089, 0.0360669307410717, -0.03255065903067589, -0.05411364510655403, -0.05211927369236946, -0.05176350474357605, 0.0013100570067763329, 0.0463162362575531, -0.06783413887023926, -0.05551574006676674, -0.013248889707028866, 0.03348193317651749, 0.01997053623199463, 0.017476733773946762, -0.03991866111755371, 0.0012020329013466835, -0.03190745785832405, -0.02725145034492016, 0.0357307605445385, 0.00532230269163847, 0.0291911568492651, 0.044772837311029434, 0.005562606267631054, -0.019273925572633743, 0.037256740033626556, -0.0009515839628875256, 0.052481960505247116, 0.014270192943513393, -0.04867193475365639, 0.013383125886321068, -0.027811992913484573, 0.01754842698574066, 0.0004911760333925486, -0.028903428465127945, -0.05181293934583664, -0.08312287926673889, 0.00914014596492052, 0.005924585275352001, -0.02729315496981144, 0.004398985765874386, 0.01923464983701706, -0.015676306560635567, -0.030955180525779724, -0.0034587387926876545, 0.007245245389640331, 0.056380461901426315, -0.06873955577611923, 0.06912927329540253, -0.00009936947753885761, 0.030776463449001312, -0.03038843162357807, 0.01087105181068182, -0.03146911412477493, -0.024855995550751686, 0.02605319581925869, 0.06008155643939972, 0.0160989873111248, 0.05423419922590256, 0.07759171724319458, 0.048088084906339645, -0.03639623895287514, 0.05253094062209129, 0.044517699629068375, -0.02308262139558792, -0.05086861923336983, -0.016778182238340378, -0.022679360583424568, -0.010187981650233269, 0.020494239404797554, -0.026010554283857346, 0.03628480061888695, 0.02857126295566559, 0.0018372079357504845, -0.012410254217684269, -0.008914572186768055, -0.022424116730690002, -0.016406400129199028, -0.0557313933968544, -0.02722669579088688, -0.026930000633001328, -0.008523073978722095, 0.045372217893600464, 0.0378359891474247, 0.010333026759326458, 0.07978062331676483, 0.041525524109601974, -0.018092434853315353, -0.028395209461450577, 0.038695912808179855, 0.009434584528207779, -0.07209070026874542, -0.0735858902335167, -0.04570215567946434, 0.03548799455165863, 0.03677183762192726, -0.003045631106942892, -0.0766831785440445, 0.03894716501235962, 0.040345318615436554, -0.01881251111626625, 0.06226758286356926, 0.004497490357607603, 0.04657555744051933, 0.06309094280004501, -0.019459858536720276, 0.015384980477392673, -0.022042248398065567, -0.0028477769810706377, -0.0002641590835992247, 0.07605209201574326, -0.040093109011650085, -0.03431035578250885, -0.05106986314058304, 0.03558587282896042, 0.024429799988865852, 0.061264533549547195, 0.06205441802740097, -0.028253911063075066, -0.06360486894845963, -0.01772388070821762, 0.02838245779275894, -0.04546572268009186, 0.02249535359442234, 0.04455414041876793, 0.04306171461939812, -0.06682324409484863, -0.05963047966361046, 0.009812631644308567, 0.008560691960155964, 0.02267041802406311, 0.003574698232114315, -0.03771515190601349, -0.04358892887830734, 0.02196311391890049, -0.004762859083712101, -0.03893696889281273, -0.0833427682518959, 0.01986960507929325, -0.0010319718858227134, -0.01002509519457817, 0.065721295773983, 0.06681500375270844, 0.04164516553282738, 0.037481050938367844, -0.01656256802380085, 0.022915618494153023, -0.039876788854599, 0.03206416964530945, -0.02361646108329296, -0.008331311866641045, -0.014290319755673409, -0.043273091316223145, -0.014428436756134033, -0.04912608861923218, -0.04408235102891922, -0.054066989570856094, -0.029266130179166794, 0.014976408332586288, -0.02074967324733734, 0.016140731051564217, 0.004318905528634787, 0.0354272723197937, -0.04664913937449455, -0.031233588233590126, -0.034822914749383926, -0.024729909375309944, -0.08076292276382446, -0.046972114592790604, 0.023062720894813538, 0.026277074590325356, 0.04417682811617851, 0.016946598887443542, 0.00622557383030653, 0.0058012548834085464, 0.014298655092716217, -0.01601399853825569, 0.03369300067424774, 0.012782382778823376, -0.03826718404889107, -0.031507816165685654, 0.01232158299535513, 0.002409315435215831, 0.008515042252838612, -0.04247548058629036, 0.01837184466421604, 0.028021665289998055, -0.010251155123114586, -0.028850125148892403, 0.022342367097735405, 0.0011905995197594166, -0.07622508704662323, -0.032290730625391006, -0.022221378982067108, -0.04208182543516159, 0.0457727424800396, 0.0011692289263010025, -0.025999771431088448, -0.023558741435408592, 0.02999023161828518, 0.033668484538793564, 0.000663051032461226, -0.04693254083395004, -0.010927173309028149, -0.025656286627054214, 0.02213039994239807, -0.050693873316049576, 0.043378181755542755, -0.016609929502010345, 0.014133092947304249, -0.012108870781958103, -0.014787017367780209, -0.05740579217672348, 0.07625485211610794, -0.02807137370109558, -0.016265666112303734, -0.01635974645614624, 0.032252680510282516, -0.043568093329668045, 0.039149120450019836, -0.02817074954509735, 0.03291260823607445, -0.01864914409816265, 0.07487668842077255, -0.05527838319540024, -0.0070959641598165035, -0.031005600467324257, 0.015795160084962845, -0.03506211191415787, -0.009149070829153061, -0.028337866067886353, 0.004639576189219952, 0.013265778310596943, 0.04126008227467537, 0.028587112203240395, 0.022325916215777397, -0.026610473170876503, 0.003634493099525571, 0.013601350598037243, -0.0811912938952446, -0.025219447910785675, -0.020152753219008446, 0.019487733021378517, 0.021803706884384155, 0.05103272944688797, 0.04191866144537926, -0.03829915076494217, -0.03565908223390579, 0.0520867258310318, 0.010980826802551746, -0.00759365689009428, 0.020616667345166206, 0.02917124330997467, 0.04909425228834152, 0.01389538124203682, -0.04760857671499252, -0.002042739652097225, -0.013142349198460579, -0.021935515105724335, 0.01175158191472292, 0.015205435454845428, 0.0157279334962368, 0.0022812439128756523, -0.03618858754634857, -0.026291608810424805, 0.07088217884302139, 0.02690979465842247, 0.012992531061172485, 0.008163504302501678, -0.03070567548274994, 0.009767520241439342, 0.015349535271525383, -0.041554033756256104, -0.002363858511671424, 0.0007314853719435632, -0.02889820747077465, 0.07240799069404602, -0.013503970578312874, -0.00832405500113964, 0.028616568073630333, 0.02538939379155636, -0.026982132345438004, 0.0542067214846611, -0.03441765159368515, 0.02666868269443512, 0.051255859434604645, -0.06433385610580444, -0.025572501122951508, -0.012623676098883152, 0.06244426593184471, -0.05324676260352135, 0.03183108940720558, 0.04076867550611496, 0.02529868297278881, 0.005885122809559107, -0.019644349813461304, -0.06136966124176979, 0.02602730505168438, -0.06131453439593315, 0.07650349289178848, 0.019801337271928787, -0.05966460704803467, 0.07772810757160187, 0.04420490190386772, -0.08293294161558151, 0.031143145635724068, 0.03918001428246498, 0.03186367452144623, 0.03604603558778763, 0.049718551337718964, -0.06263009458780289, 0.0016197225777432323, -0.036370933055877686, 0.026702525094151497, -0.04595872014760971, -0.022958382964134216, 0.00854398775845766, -0.02385176531970501, -0.007674238178879023, 0.02876538224518299, -0.01841798424720764, -0.00907324068248272, 0.03073064610362053, -0.06816741824150085, -0.011691792868077755, -0.028368864208459854, 0.0017750482074916363, -0.01622162014245987, 0.002479824237525463, -0.03361441567540169, 0.02113439328968525, -0.000403973157517612, -0.001238267170265317, -0.029198430478572845, 0.0014680346939712763, 0.01218604389578104, -0.06300704926252365, -0.061644259840250015, 0.041102148592472076, 0.013935050927102566, -0.03435935080051422, 0.04912135750055313, -0.013619258999824524, 0.020069465041160583, 0.03346898779273033, 0.0029709830414503813, 0.01594420149922371, -0.03713336959481239, -0.010458470322191715, 0.024209393188357353, 0.009707254357635975, 0.02598465047776699, -0.004941086284816265, 0.03443210572004318, 0.0034716555383056402, 0.030241012573242188, -0.01838434673845768, -0.031246216967701912, -0.03841853886842728, 0.024109894409775734, -0.023912737146019936, 0.0162153709679842, -0.0066679674200713634, -0.050230804830789566, -0.014515537768602371, -0.028736494481563568, -0.03121851198375225, 0.035024601966142654, -0.04453913867473602, -0.011241969652473927, 0.04602063447237015, -0.021450236439704895, -0.05606459453701973, -0.06391148269176483, -0.005791381932795048, -0.004422135651111603, -0.006450527813285589, 0.019846733659505844, -0.018022626638412476, -0.01654774323105812, -0.040750909596681595, -0.04284486174583435, 0.05340917780995369, 0.009468721225857735, -0.03896690905094147, 0.05008630082011223, 0.044328682124614716, -0.042409203946590424, 0.010120803490281105, 0.020721789449453354, -0.04579252004623413, -0.0038622606080025434, -0.012863476760685444, 0.015910783782601357, 0.04365471377968788, 0.04046666994690895, -0.03806348890066147, -0.028249403461813927, -0.044275883585214615, -0.029273519292473793, -0.026663219556212425, -0.015174787491559982, 0.061685193330049515 ]
AnonymousSub/rule_based_roberta_twostagetriplet_hier_epochs_1_shard_10
[ "pytorch", "roberta", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "RobertaModel" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- license: apache-2.0 --- # Cross-Encoder for MS MARCO - EN-DE This is a cross-lingual Cross-Encoder model for EN-DE that can be used for passage re-ranking. It was trained on the [MS Marco Passage Ranking](https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: See [SBERT.net Retrieve & Re-rank](https://www.sbert.net/examples/applications/retrieve_rerank/README.html). The training code is available in this repository, see `train_script.py`. ## Usage with SentenceTransformers When you have [SentenceTransformers](https://www.sbert.net/) installed, you can use the model like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name', max_length=512) query = 'How many people live in Berlin?' docs = ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'] pairs = [(query, doc) for doc in docs] scores = model.predict(pairs) ``` ## Usage with Transformers With the transformers library, you can use the model like this: ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'How many people live in Berlin?'], ['Berlin has a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits print(scores) ``` ## Performance The performance was evaluated on three datasets: - **TREC-DL19 EN-EN**: The original [TREC 2019 Deep Learning Track](https://microsoft.github.io/msmarco/TREC-Deep-Learning-2019.html): Given an English query and 1000 documents (retrieved by BM25 lexical search), rank documents with according to their relevance. We compute NDCG@10. BM25 achieves a score of 45.46, a perfect re-ranker can achieve a score of 95.47. - **TREC-DL19 DE-EN**: The English queries of TREC-DL19 have been translated by a German native speaker to German. We rank the German queries versus the English passages from the original TREC-DL19 setup. We compute NDCG@10. - **GermanDPR DE-DE**: The [GermanDPR](https://www.deepset.ai/germanquad) dataset provides German queries and German passages from Wikipedia. We indexed the 2.8 Million paragraphs from German Wikipedia and retrieved for each query the top 100 most relevant passages using BM25 lexical search with Elasticsearch. We compute MRR@10. BM25 achieves a score of 35.85, a perfect re-ranker can achieve a score of 76.27. We also check the performance of bi-encoders using the same evaluation: The retrieved documents from BM25 lexical search are re-ranked using query & passage embeddings with cosine-similarity. Bi-Encoders can also be used for end-to-end semantic search. | Model-Name | TREC-DL19 EN-EN | TREC-DL19 DE-EN | GermanDPR DE-DE | Docs / Sec | | ------------- |:-------------:| :-----: | :---: | :----: | | BM25 | 45.46 | - | 35.85 | -| | **Cross-Encoder Re-Rankers** | | | | | [cross-encoder/msmarco-MiniLM-L6-en-de-v1](https://huggingface.co/cross-encoder/msmarco-MiniLM-L6-en-de-v1) | 72.43 | 65.53 | 46.77 | 1600 | | [cross-encoder/msmarco-MiniLM-L12-en-de-v1](https://huggingface.co/cross-encoder/msmarco-MiniLM-L12-en-de-v1) | 72.94 | 66.07 | 49.91 | 900 | | [svalabs/cross-electra-ms-marco-german-uncased](https://huggingface.co/svalabs/cross-electra-ms-marco-german-uncased) (DE only) | - | - | 53.67 | 260 | | [deepset/gbert-base-germandpr-reranking](https://huggingface.co/deepset/gbert-base-germandpr-reranking) (DE only) | - | - | 53.59 | 260 | | **Bi-Encoders (re-ranking)** | | | | | [sentence-transformers/msmarco-distilbert-multilingual-en-de-v2-tmp-lng-aligned](https://huggingface.co/sentence-transformers/msmarco-distilbert-multilingual-en-de-v2-tmp-lng-aligned) | 63.38 | 58.28 | 37.88 | 940 | | [sentence-transformers/msmarco-distilbert-multilingual-en-de-v2-tmp-trained-scratch](https://huggingface.co/sentence-transformers/msmarco-distilbert-multilingual-en-de-v2-tmp-trained-scratch) | 65.51 | 58.69 | 38.32 | 940 | | [svalabs/bi-electra-ms-marco-german-uncased](https://huggingface.co/svalabs/bi-electra-ms-marco-german-uncased) (DE only) | - | - | 34.31 | 450 | | [deepset/gbert-base-germandpr-question_encoder](https://huggingface.co/deepset/gbert-base-germandpr-question_encoder) (DE only) | - | - | 42.55 | 450 | Note: Docs / Sec gives the number of (query, document) pairs we can re-rank within a second on a V100 GPU.
[ 0.00748017430305481, -0.03080534189939499, -0.01869319938123226, 0.05628274381160736, 0.023155219852924347, 0.024748491123318672, -0.020370131358504295, 0.017809778451919556, -0.05726097896695137, 0.07011493295431137, 0.02910754270851612, -0.01164944563060999, -0.0076281242072582245, 0.04263243451714516, -0.0456899031996727, -0.03685939311981201, 0.0005998284905217588, -0.02790677174925804, -0.04954393953084946, -0.009211381897330284, -0.01376722939312458, 0.009674644097685814, -0.005422545596957207, 0.014488420449197292, -0.008825702592730522, 0.005235792603343725, -0.005057817324995995, 0.032259102910757065, 0.03279341757297516, -0.08151726424694061, -0.012713487260043621, -0.01993156410753727, -0.04290219396352768, -0.010825514793395996, -0.02118833363056183, 0.00868519488722086, 0.02568451501429081, -0.0020423370879143476, 0.04885311797261238, 0.04304349049925804, -0.02931373566389084, 0.017278658226132393, -0.012120023369789124, -0.010616503655910492, 0.02830604463815689, 0.003971017897129059, -0.03850791975855827, -0.033744387328624725, 0.043356623500585556, -0.03828447684645653, -0.044967591762542725, -0.07721536606550217, -0.02347690239548683, 0.024620192125439644, -0.011626011691987514, -0.024554016068577766, -0.05147334188222885, -0.008213267661631107, 0.04888622462749481, -0.05680060759186745, -0.03714371845126152, 0.013077846728265285, -0.06390920281410217, 0.03742365539073944, 0.03841548040509224, -0.024542635306715965, 0.005402537994086742, -0.05024075135588646, 0.015862779691815376, -0.0144184036180377, 0.06304734200239182, -0.041618287563323975, 0.020938141271471977, -0.10247131437063217, 0.0005265644867904484, -0.01234224159270525, 0.017264872789382935, 0.03692416474223137, -0.028789978474378586, 0.053226497024297714, 0.01082556787878275, 0.0019345737528055906, 0.010551347397267818, -0.010193996131420135, -0.00991519633680582, 0.05560101568698883, -0.046615127474069595, -0.012420225888490677, -0.01684553176164627, 0.03182804211974144, -0.045981209725141525, -0.008865032345056534, 0.009855943731963634, -0.02214578166604042, -0.0334361270070076, 0.02108069136738777, 0.053761109709739685, -0.023273203521966934, 0.011439193040132523, 0.01202957984060049, 0.030955936759710312, 0.04687424376606941, 0.01487149577587843, 0.05238049477338791, -0.006560239475220442, -0.008499146439135075, -0.0339236855506897, -0.036438941955566406, -0.03467738628387451, 0.02099369652569294, 0.028007948771119118, -0.03737376257777214, -0.04842188209295273, 0.07209433615207672, 0.047130052000284195, -0.0271658506244421, 0.06415609270334244, -0.025967605412006378, -0.0424216091632843, -0.0483359657227993, 0.06963548809289932, 0.007348853163421154, 0.017505303025245667, 0.000023792777938069776, -0.06714805960655212, 0.02278202958405018, -0.061185937374830246, -0.028481779620051384, 0.0018089947989210486, 0.020972855389118195, -0.00029086071299389005, 0.034033749252557755, 0.016786210238933563, -0.039184242486953735, 0.012661462649703026, 0.013964231126010418, -0.07631365954875946, 0.047922007739543915, 0.03087642230093479, 0.1079927384853363, -0.040020234882831573, -0.030454806983470917, 0.023812616243958473, 0.02503632940351963, -0.013958617113530636, 0.011137084104120731, 0.0140788359567523, -0.030556807294487953, -0.029425449669361115, 0.02041560411453247, 0.06938153505325317, -0.04529935494065285, -0.006892387289553881, 0.043961599469184875, -0.01832703873515129, 0.04068782180547714, -0.040641456842422485, -0.013065721839666367, 0.0045120008289813995, -0.009739727713167667, -0.037421517074108124, 0.023539232090115547, -0.009339259937405586, 0.008640269748866558, -0.02115904726088047, -0.03734946250915527, -0.006278387736529112, 0.10206617414951324, -0.014199369587004185, -0.02027091383934021, -0.0326688215136528, 0.013459291309118271, 0.04742186889052391, 0.05027270317077637, -0.039183687418699265, 0.022279296070337296, 0.06551557779312134, 0.03743012249469757, -0.010658789426088333, 0.05209733918309212, 0.022027725353837013, -0.03990494832396507, -0.03469415754079819, 0.01106892991811037, -0.010934390127658844, -0.03769944980740547, 0.0017173222731798887, 0.054625529795885086, -0.030249182134866714, 0.003289487911388278, -0.0031591420993208885, 0.05991992726922035, -0.028432289138436317, -0.0011689870152622461, 0.001484838081523776, 0.002195353154093027, -0.0365544892847538, 0.05042361840605736, -0.032369669526815414, -0.004980209283530712, 0.0055386065505445, -0.0394606776535511, 0.013623635284602642, 0.028268661350011826, 0.03050685115158558, 0.04280339926481247, -0.01352795958518982, 0.09131234884262085, -0.036621980369091034, 0.02527870424091816, -0.04382801055908203, -0.05010442063212395, 0.002253120532259345, 0.04214738309383392, 0.024332312867045403, 0.03052261844277382, -0.008955083787441254, -0.04275519773364067, 0.029526423662900925, 0.055571287870407104, 0.04727860167622566, 0.04100767895579338, -0.028682276606559753, -0.022223161533474922, 0.02681688219308853, 0.0523010715842247, -0.03648276999592781, -0.036100342869758606, 0.027964280918240547, 0.0505266971886158, -0.021092519164085388, 0.028787918388843536, -0.01814006082713604, 0.01535078976303339, -0.04736433923244476, -0.07494763284921646, 0.038184184581041336, 0.02880716137588024, 0.0034304214641451836, 0.05397062748670578, -0.004052006173878908, 0.01405214611440897, 0.02465677261352539, 0.019441500306129456, -0.02427155338227749, -0.04785718396306038, 0.014902512542903423, 0.015275231562554836, 0.02357534132897854, -0.053169503808021545, 0.02958495169878006, -0.016439197584986687, -0.00084334408165887, 0.04332305118441582, -0.02254566177725792, 0.01843881793320179, 0.04660427197813988, 0.009875566698610783, -0.029198240488767624, 0.008445951156318188, 0.02618115395307541, 0.004213818348944187, 0.06695053726434708, -0.011691706255078316, 0.03613976389169693, 0.007102159317582846, 0.04510927200317383, 0.08541795611381531, 0.031438618898391724, 0.015152454376220703, 0.03711667284369469, 0.05802440643310547, 0.0008473474881611764, -0.028265265747904778, 0.042921483516693115, -0.0582587830722332, 0.015185927972197533, -0.034310102462768555, 0.03542591631412506, 0.002780618378892541, -0.02420361526310444, 0.02422349341213703, 0.008263864554464817, -0.02080155722796917, 0.02838164009153843, -0.005247806664556265, -0.010554500855505466, 0.035683754831552505, -0.003151819808408618, -0.00872002262622118, 0.016804177314043045, -0.021453415974974632, -0.0016959841595962644, -0.063039630651474, -0.06114724278450012, -0.0006940417224541306, -0.03101595677435398, -0.0022808241192251444, -0.06559978425502777, -0.04055909067392349, -0.09709955751895905, -0.029272878542542458, 0.04902820661664009, -0.002123193582519889, 0.007328744977712631, -0.021952666342258453, 0.022401249036192894, -0.015221165493130684, -0.02503928355872631, -0.047262802720069885, -0.042541731148958206, -0.04203285649418831, -0.06716324388980865, 0.052675336599349976, 0.02100285328924656, 0.002850106917321682, 0.00012712704483419657, -0.018362704664468765, -0.01826517842710018, -0.021434525027871132, 0.05513644218444824, 0.017984794452786446, -0.017624204978346825, -0.04527052864432335, 0.026483844965696335, -0.026244645938277245, 0.018403150141239166, -0.00970787275582552, -0.03580191358923912, 0.1129290834069252, 0.062257684767246246, 0.0328434519469738, 0.0010644589783623815, 0.0038836889434605837, -0.03493182361125946, -0.054216548800468445, -0.017754727974534035, -0.048236504197120667, 0.0033877799287438393, -0.04309544339776039, -0.0288340225815773, -0.014657648280262947, -0.02130885422229767, -0.0007938258349895477, 0.0007335442933253944, 0.012614604085683823, 0.0734463632106781, 0.054566264152526855, 0.041485656052827835, 0.02672445960342884, -0.025896387174725533, -0.044204361736774445, 0.07962103933095932, 0.031034549698233604, 0.0035911735612899065, -0.06229545176029205, -0.028756368905305862, 0.05169028416275978, 0.018031053245067596, 0.0008658472797833383, -0.021021617576479912, 0.07830017060041428, 0.009345240890979767, -0.007423562929034233, 0.010222390294075012, -0.0029829724226146936, -0.035513538867235184, 0.03267362713813782, -0.028886714950203896, -0.05017460137605667, -0.05939396470785141, -0.05737612769007683, 0.01870470866560936, 0.04238051548600197, -0.06179112195968628, -0.05765146762132645, -0.024243192747235298, 0.025892116129398346, 0.016796885058283806, 0.00749492272734642, -0.039505671709775925, 0.018892761319875717, -0.03262726962566376, -0.028972983360290527, 0.030444227159023285, 0.004535699263215065, 0.02367904782295227, 0.0427534356713295, 0.00530423317104578, -0.013189691118896008, 0.030473049730062485, -0.005914761684834957, 0.05354287475347519, 0.02770593762397766, -0.03828940913081169, 0.01387230958789587, -0.02493324503302574, 0.005131706595420837, -0.0015657503390684724, -0.022843720391392708, -0.05303794890642166, -0.08793724328279495, 0.006826483644545078, 0.01149537693709135, -0.01951911300420761, -0.0011396469781175256, 0.03075898252427578, -0.002588677918538451, -0.018469491973519325, 0.004346125293523073, 0.018113642930984497, 0.04322586581110954, -0.06648445874452591, 0.05907735601067543, 0.003960465546697378, 0.022164493799209595, -0.049701180309057236, 0.016596795991063118, -0.039324045181274414, -0.023908784613013268, 0.02452157810330391, 0.06550469249486923, 0.019395815208554268, 0.05552360787987709, 0.08039133995771408, 0.03686114028096199, -0.034362293779850006, 0.047279320657253265, 0.04004226624965668, -0.017520597204566002, -0.04541537165641785, -0.01769230328500271, -0.026081928983330727, -0.01434972696006298, 0.019178664311766624, -0.03863183781504631, 0.034156300127506256, 0.02720700204372406, -0.0001987871655728668, -0.01817505806684494, -0.011247946880757809, -0.014032971113920212, -0.024641379714012146, -0.04728635028004646, -0.014860380440950394, -0.034057777374982834, -0.008284118957817554, 0.044107936322689056, 0.03676210343837738, 0.008124347776174545, 0.07521555572748184, 0.039174437522888184, -0.02249089814722538, -0.03418821841478348, 0.04157344251871109, 0.015372540801763535, -0.06102687120437622, -0.05864541232585907, -0.04051727429032326, 0.040315985679626465, 0.027902960777282715, -0.009003829210996628, -0.07803285866975784, 0.03651805594563484, 0.03707027807831764, -0.017320023849606514, 0.06626366078853607, 0.0018298302311450243, 0.043086569756269455, 0.06703444570302963, -0.02389616332948208, 0.020798392593860626, -0.02794535644352436, 0.0101202093064785, -0.0021651792339980602, 0.07174874097108841, -0.03978736698627472, -0.03734412044286728, -0.060455068945884705, 0.03361700847744942, 0.024086708202958107, 0.06580892205238342, 0.05703919008374214, -0.027022071182727814, -0.06024668738245964, -0.0165964737534523, 0.028728114441037178, -0.05766402184963226, 0.0249634999781847, 0.044533222913742065, 0.043369341641664505, -0.05527625232934952, -0.06151483207941055, 0.005605749785900116, 0.008395313285291195, 0.02755856141448021, 0.0022701830603182316, -0.02650376781821251, -0.05345914512872696, 0.030262121930718422, -0.026125449687242508, -0.0351739227771759, -0.09585832059383392, 0.018924463540315628, -0.00899248756468296, -0.0008086381130851805, 0.06766899675130844, 0.04898376017808914, 0.04286544397473335, 0.04107717052102089, -0.017002461478114128, 0.01711852103471756, -0.0515536330640316, 0.02846487984061241, -0.03859592229127884, -0.005557986441999674, -0.01726681925356388, -0.04029608517885208, -0.02081887796521187, -0.049484558403491974, -0.036665178835392, -0.05429525673389435, -0.02641124092042446, 0.03550827503204346, -0.022120989859104156, 0.01533240545541048, -0.0070657688193023205, 0.03183494135737419, -0.047325197607278824, -0.03941027447581291, -0.02625795640051365, -0.01762753538787365, -0.07286398857831955, -0.038210272789001465, 0.03137005493044853, 0.013143274933099747, 0.03604809567332268, 0.009439576417207718, -0.004146627150475979, 0.013763806782662868, 0.01595783233642578, -0.01852010004222393, 0.03130299597978592, 0.012775502167642117, -0.03508063778281212, -0.03292547166347504, 0.019871873781085014, -0.004275572020560503, 0.007951504550874233, -0.05103497952222824, 0.015841839835047722, 0.028273995965719223, -0.013853519223630428, -0.022108029574155807, 0.018538331612944603, 0.017431626096367836, -0.08045656979084015, -0.04572125896811485, -0.036543991416692734, -0.06032427400350571, 0.045962657779455185, -0.0020372027065604925, -0.028680481016635895, -0.0010276652174070477, 0.02641928568482399, 0.04175659269094467, 0.003627185011282563, -0.04271388798952103, -0.006497076712548733, -0.016640525311231613, 0.024491768330335617, -0.054684318602085114, 0.03799142688512802, -0.009580333717167377, 0.014270573854446411, -0.014393794350326061, -0.015953874215483665, -0.05391088128089905, 0.0810687467455864, -0.026519324630498886, -0.03253520652651787, -0.01710933819413185, 0.017418334260582924, -0.04197234660387039, 0.03662648797035217, -0.029988041147589684, 0.02613781951367855, -0.011143012903630733, 0.07344092428684235, -0.05757397040724754, -0.009889363311231136, -0.03551939129829407, 0.013929313980042934, -0.033771075308322906, 0.0007014130824245512, -0.021364932879805565, 0.0004918482736684382, 0.012220306321978569, 0.03698250278830528, 0.02460198663175106, 0.011955184862017632, -0.03497542813420296, 0.005354257766157389, 0.024984249845147133, -0.07396402955055237, -0.02042979933321476, -0.01678795926272869, -0.0011755941668525338, 0.028559468686580658, 0.053913045674562454, 0.03962176665663719, -0.05195041373372078, -0.04367857053875923, 0.04452270269393921, 0.016337962821125984, -0.004549837205559015, 0.022553307935595512, 0.03222977742552757, 0.04614934325218201, 0.026337210088968277, -0.04809168726205826, -0.015896551311016083, -0.01189250685274601, -0.017320731654763222, 0.0165721382945776, 0.027574989944696426, 0.007798533886671066, -0.002807508921250701, -0.03203047811985016, -0.020164014771580696, 0.07096130400896072, 0.021760832518339157, 0.017772385850548744, 0.0023862028028815985, -0.02903156168758869, 0.009056123904883862, 0.026224462315440178, -0.03934860602021217, -0.00922671053558588, -0.001244358834810555, -0.031083742156624794, 0.0640203133225441, -0.00784861110150814, -0.00406275549903512, 0.04206280782818794, 0.03637738153338432, -0.028981326147913933, 0.051300592720508575, -0.02719699591398239, 0.015014929696917534, 0.048164382576942444, -0.051974229514598846, -0.028128230944275856, -0.012490112334489822, 0.05713837221264839, -0.0521528422832489, 0.04213854297995567, 0.032203011214733124, 0.020160874351859093, 0.0057872263714671135, -0.01489859726279974, -0.048948973417282104, 0.01927862875163555, -0.06141434609889984, 0.08572991192340851, 0.02413140796124935, -0.06301303952932358, 0.08585621416568756, 0.03714272007346153, -0.08577010780572891, 0.028527889400720596, 0.031882889568805695, 0.04070200026035309, 0.027538582682609558, 0.03314582630991936, -0.05394291132688522, 0.011385055258870125, -0.040578074753284454, 0.02853742241859436, -0.05158774554729462, -0.0351964607834816, 0.009336081333458424, -0.03365001082420349, -0.006465485319495201, 0.0211347583681345, -0.015265797264873981, -0.006336634978652, 0.025979604572057724, -0.06280408054590225, -0.02567131258547306, -0.01525052823126316, 0.015611950308084488, -0.01960919052362442, 0.00015990203246474266, -0.03631485626101494, 0.0339275486767292, 0.011905930005013943, -0.0005442393594421446, -0.024572143331170082, -0.010008983314037323, 0.02388790436089039, -0.07427272945642471, -0.0571124441921711, 0.04602253437042236, 0.01964668557047844, -0.028464920818805695, 0.03792192414402962, -0.010855809785425663, 0.010790340602397919, 0.044611431658267975, 0.006731155328452587, 0.014943842776119709, -0.02736433409154415, -0.010361386463046074, 0.010085685178637505, 0.008481543511152267, 0.018242212012410164, -0.0060902489349246025, 0.02880076691508293, 0.00903196632862091, 0.03340991213917732, -0.01510991808027029, -0.037044573575258255, -0.03735566884279251, 0.022733064368367195, -0.020602194592356682, 0.01444150134921074, 0.0012837555259466171, -0.05621042475104332, -0.02814769372344017, -0.03969799727201462, -0.0149265481159091, 0.04623403772711754, -0.050191912800073624, -0.012699723243713379, 0.04147530347108841, -0.013369052670896053, -0.048930421471595764, -0.05822683870792389, -0.011993251740932465, -0.006762991193681955, 0.004256231710314751, 0.02853940799832344, -0.03407398611307144, -0.01100394781678915, -0.03473439812660217, -0.042270611971616745, 0.036503128707408905, 0.009777105413377285, -0.04133569076657295, 0.05341677367687225, 0.03747658059000969, -0.051229942589998245, 0.021967453882098198, 0.023052293807268143, -0.03972385451197624, 0.012876324355602264, -0.004943334963172674, 0.01810608059167862, 0.046012524515390396, 0.03434844687581062, -0.02788981795310974, -0.029442420229315758, -0.044179510325193405, -0.030136121436953545, -0.026593297719955444, -0.014579256065189838, 0.06276849657297134 ]
AnonymousSub/rule_based_roberta_twostagetriplet_hier_epochs_1_shard_1_squad2.0
[ "pytorch", "roberta", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
null
--- language: en pipeline_tag: zero-shot-classification license: apache-2.0 tags: - MiniLMv2 datasets: - multi_nli - snli metrics: - accuracy --- # Cross-Encoder for Natural Language Inference This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data The model was trained on the [SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) datasets. For a given sentence pair, it will output three scores corresponding to the labels: contradiction, entailment, neutral. ## Performance For evaluation results, see [SBERT.net - Pretrained Cross-Encoder](https://www.sbert.net/docs/pretrained_cross-encoders.html#nli). ## Usage Pre-trained models can be used like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('cross-encoder/nli-MiniLM2-L6-H768') scores = model.predict([('A man is eating pizza', 'A man eats something'), ('A black race car starts up in front of a crowd of people.', 'A man is driving down a lonely road.')]) #Convert scores to labels label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(axis=1)] ``` ## Usage with Transformers AutoModel You can use the model also directly with Transformers library (without SentenceTransformers library): ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/nli-MiniLM2-L6-H768') tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-MiniLM2-L6-H768') features = tokenizer(['A man is eating pizza', 'A black race car starts up in front of a crowd of people.'], ['A man eats something', 'A man is driving down a lonely road.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)] print(labels) ``` ## Zero-Shot Classification This model can also be used for zero-shot-classification: ```python from transformers import pipeline classifier = pipeline("zero-shot-classification", model='cross-encoder/nli-MiniLM2-L6-H768') sent = "Apple just announced the newest iPhone X" candidate_labels = ["technology", "sports", "politics"] res = classifier(sent, candidate_labels) print(res) ```
[ 0.000581268803216517, -0.011540061794221401, -0.02664065547287464, 0.05228379741311073, 0.05077831819653511, 0.028260504826903343, -0.02215571515262127, -0.0076642087660729885, -0.04407288879156113, 0.06627585738897324, 0.02788536623120308, -0.010585892014205456, 0.01051068864762783, 0.04196375235915184, -0.041233815252780914, -0.03323723003268242, -0.018560942262411118, -0.021635282784700394, -0.029118765145540237, -0.03303401172161102, 0.0017802638467401266, 0.0020132334902882576, 0.0012461119331419468, 0.017403891310095787, -0.011454333551228046, 0.016189521178603172, -0.025223230943083763, 0.03986102342605591, 0.026340609416365623, -0.06924151629209518, 0.009533043019473553, -0.035319313406944275, -0.035290785133838654, -0.010521937161684036, -0.012859310023486614, 0.003682980313897133, 0.000029142935090931132, 0.002029965166002512, 0.022491881623864174, 0.03394748643040657, 0.013864673674106598, 0.028554247692227364, -0.029971893876791, -0.005012975074350834, 0.049539562314748764, 0.01190194208174944, -0.027784254401922226, -0.030005021020770073, 0.03676878288388252, -0.025939470157027245, -0.0612286701798439, -0.07843857258558273, -0.03643857315182686, 0.04201385751366615, -0.023592006415128708, -0.018581589683890343, -0.06321988999843597, 0.0034519368782639503, 0.03979973495006561, -0.04696721211075783, -0.04737035557627678, 0.015004639513790607, -0.05445050075650215, 0.011894992552697659, 0.015634741634130478, -0.04506978392601013, -0.006405111402273178, -0.04950038343667984, 0.010756205767393112, -0.009802309796214104, 0.0727633535861969, -0.0037099034525454044, 0.02564409375190735, -0.08501361310482025, -0.00016182978288270533, -0.01012351457029581, 0.0365346223115921, 0.034021101891994476, -0.024748533964157104, 0.04871106520295143, 0.029248695820569992, 0.0015422081341966987, 0.020575791597366333, -0.0036565796472132206, 0.007092973683029413, 0.05522316321730614, -0.03339967504143715, 0.00032398366602137685, -0.005220787134021521, 0.038164809346199036, -0.04292957857251167, -0.027123622596263885, 0.01987924985587597, -0.03349313884973526, -0.03873785212635994, 0.026352576911449432, 0.05823772773146629, -0.014753475785255432, 0.03796140104532242, 0.0248179342597723, 0.03894495591521263, 0.06495669484138489, -0.0075666699558496475, 0.0530482716858387, -0.017722535878419876, -0.004014966543763876, -0.00401691347360611, -0.04074977710843086, -0.047686632722616196, 0.041889894753694534, 0.019349314272403717, -0.007575764320790768, -0.050574857741594315, 0.05100270360708237, 0.03157572075724602, -0.010279204696416855, 0.08326850086450577, -0.0245028305798769, -0.03477797657251358, -0.04148070514202118, 0.06401178240776062, -0.021792160347104073, -0.006746834143996239, 0.02382444590330124, -0.04805239662528038, -0.00940847396850586, -0.04720112681388855, -0.05558224394917488, -0.011768932454288006, 0.004962573293596506, 0.019029807299375534, 0.031550463289022446, 0.004495359491556883, -0.025395913049578667, 0.011675404384732246, 0.017986027523875237, -0.08365163207054138, 0.06802773475646973, 0.04249605908989906, 0.11790372431278229, -0.06195378303527832, -0.055261243134737015, 0.020017355680465698, 0.01777985878288746, -0.022398630157113075, 0.014944702386856079, 0.006354701239615679, -0.04584091156721115, -0.029917988926172256, -0.014084742404520512, 0.06961245089769363, -0.058340974152088165, 0.0036110079381614923, 0.024653727188706398, -0.001663639210164547, 0.04152671620249748, -0.05432920530438423, -0.002178918570280075, -0.00964864157140255, -0.0201504398137331, -0.030665814876556396, 0.04486812278628349, -0.014504973776638508, 0.0014634766848757863, -0.020512746647000313, -0.030089132487773895, -0.015848973765969276, 0.06660883128643036, -0.026197558268904686, 0.0054898010566830635, -0.030150042846798897, 0.014696386642754078, 0.02453368715941906, 0.02769140526652336, -0.030379006639122963, 0.010982029139995575, 0.08232986927032471, 0.0356985405087471, -0.0355733186006546, 0.06107769533991814, 0.038446035236120224, -0.030738946050405502, -0.008481570519506931, -0.010853069834411144, 0.003421019995585084, -0.00663915928453207, 0.016455931589007378, 0.04032871872186661, -0.009808055125176907, -0.015173069201409817, -0.011558416299521923, 0.05451984703540802, -0.008246471174061298, -0.0025367329362779856, -0.0029812410939484835, -0.020775562152266502, -0.022922886535525322, 0.0437033586204052, -0.011979686096310616, 0.0008741497877053916, -0.014721383340656757, -0.024020211771130562, 0.018336912617087364, 0.014565951190888882, 0.02086755819618702, 0.029185399413108826, 0.0030411947518587112, 0.04826875030994415, -0.035523492842912674, 0.02540152333676815, -0.04376520216464996, -0.04286740720272064, -0.0004460053169168532, 0.04177500307559967, 0.029180334880948067, 0.033247508108615875, 0.00129446922801435, -0.0410737618803978, 0.013760549947619438, 0.05780399963259697, 0.03865965083241463, 0.04730945825576782, -0.02281651459634304, -0.010354304686188698, 0.0004976372001692653, 0.05092782899737358, -0.06132059916853905, -0.030920706689357758, 0.04857201501727104, 0.05574002116918564, -0.0023176276590675116, 0.005962973460555077, -0.013292387127876282, 0.010021393187344074, -0.0392073355615139, -0.05541916564106941, 0.0111915348097682, 0.031293150037527084, -0.006691316608339548, 0.034441087394952774, 0.00418934877961874, -0.003072069026529789, 0.03880872204899788, 0.016014641150832176, -0.002670082962140441, -0.0614454448223114, 0.014595621265470982, 0.025554299354553223, 0.0460689403116703, -0.02389075793325901, 0.030850837007164955, -0.00662054680287838, 0.004092083312571049, 0.046307459473609924, -0.009264987893402576, 0.05650992691516876, 0.04136858507990837, 0.03513244539499283, -0.03266674652695656, 0.03394550085067749, 0.0008224959019571543, 0.03588741272687912, 0.06327231228351593, -0.02007080428302288, 0.06841064989566803, -0.02142116241157055, 0.049593422561883926, 0.0775689035654068, 0.027531418949365616, 0.013872332870960236, 0.05634711682796478, 0.060711879283189774, -0.0023422916419804096, -0.01951596513390541, 0.05800929293036461, -0.044917669147253036, 0.03914617747068405, -0.03912907838821411, 0.03196965157985687, -0.012999294325709343, -0.006182783283293247, 0.03873207047581673, -0.003943820483982563, -0.0146601228043437, 0.001916696084663272, -0.01897987350821495, -0.011459087952971458, 0.040694281458854675, -0.007827412337064743, 0.00489465706050396, 0.0273674875497818, -0.025004396215081215, 0.010968206450343132, -0.06370530277490616, -0.07406661659479141, 0.008956036530435085, -0.02172723412513733, -0.018123194575309753, -0.06455347687005997, -0.055070772767066956, -0.07770191133022308, -0.011468807235360146, 0.05245007574558258, 0.003765794448554516, 0.02393738552927971, -0.023730261251330376, 0.03320769965648651, -0.03833247348666191, -0.03197205811738968, -0.04449315369129181, -0.06799811124801636, -0.045797184109687805, -0.037654049694538116, 0.04743009805679321, -0.005590772721916437, -0.0005400144727900624, 0.009807264432311058, -0.017706505954265594, -0.020761115476489067, -0.029378360137343407, 0.0502265989780426, 0.04210532084107399, -0.022174082696437836, -0.05242432653903961, 0.012101964093744755, -0.026398109272122383, 0.0034269161988049746, -0.01978646218776703, -0.038745634257793427, 0.08099643141031265, 0.052286673337221146, 0.03144048899412155, 0.002139524556696415, -0.022279229015111923, -0.0708765834569931, -0.07045280188322067, -0.020788028836250305, -0.0420164130628109, -0.012647350318729877, -0.02259465865790844, -0.02037438191473484, -0.019752787426114082, -0.035548847168684006, -0.02109445072710514, -0.0059160273522138596, 0.02465064264833927, 0.05457634851336479, 0.041037846356630325, 0.03535105660557747, 0.033281970769166946, -0.04531573876738548, -0.021865425631403923, 0.07430410385131836, 0.007663578260689974, -0.0006096832221373916, -0.0875491201877594, -0.015749454498291016, 0.03113521821796894, 0.027802111580967903, 0.010295986197888851, -0.018992861732840538, 0.11029010266065598, 0.004882600624114275, -0.004680314566940069, 0.025519661605358124, 0.010319408029317856, -0.01778515987098217, -0.0038043970707803965, -0.010461671277880669, -0.013341661542654037, -0.050592709332704544, -0.027322551235556602, -0.03489165008068085, 0.03855296969413757, -0.05384548380970955, -0.05353924259543419, -0.012264096178114414, 0.034958768635988235, 0.015325131826102734, 0.005607495084404945, -0.037308357656002045, 0.0052799261175096035, -0.040043383836746216, -0.013216473162174225, 0.01745910383760929, -0.0034902815241366625, -0.0008445244748145342, 0.04294862970709801, 0.0326654314994812, -0.019183309748768806, 0.04145782068371773, 0.03213891759514809, 0.05629073828458786, 0.02574641816318035, -0.03757595643401146, 0.04055241867899895, -0.017034750431776047, 0.04054035618901253, 0.0034918219316750765, -0.03298284485936165, -0.052694495767354965, -0.09047309309244156, -0.005987813696265221, -0.004074017982929945, -0.03323914483189583, 0.01782749406993389, 0.03737861290574074, -0.03213609382510185, -0.008619946427643299, 0.0017946698935702443, 0.014724093489348888, 0.02098415419459343, -0.03810837119817734, 0.06540099531412125, -0.03351709246635437, 0.02559666521847248, -0.033745404332876205, 0.018960628658533096, -0.04570546746253967, -0.028136437758803368, 0.01589232310652733, 0.04445792734622955, 0.007886607199907303, 0.04807141795754433, 0.05689208582043648, 0.052196960896253586, -0.04592735692858696, 0.057025279849767685, 0.038133855909109116, -0.029417065903544426, -0.06621347367763519, 0.008636387065052986, -0.013491702266037464, -0.004990256857126951, 0.009353801608085632, -0.02932833507657051, 0.014330048114061356, 0.03407120332121849, 0.006930592004209757, -0.02272656187415123, -0.004062533378601074, -0.018402406945824623, -0.02821342647075653, -0.06661202013492584, 0.0008587471675127745, -0.019749777391552925, -0.026933154091238976, 0.042696934193372726, 0.041629232466220856, 0.00651988061144948, 0.059538211673498154, 0.037256136536598206, -0.015672966837882996, -0.03489250689744949, 0.04659341648221016, 0.03757688030600548, -0.04902581125497818, -0.07428321987390518, -0.04338635876774788, 0.02565811201930046, 0.0364224798977375, -0.03638634458184242, -0.0786752849817276, -0.0015666624531149864, 0.06906433403491974, -0.042395710945129395, 0.07407507300376892, 0.0019205231219530106, 0.0498545877635479, 0.08501553535461426, -0.024864690378308296, 0.02064550295472145, -0.044294845312833786, -0.013432309962809086, 0.0010112907039001584, 0.0426572747528553, -0.04561492055654526, -0.04310091212391853, -0.06323855370283127, 0.04151477664709091, 0.010261067189276218, 0.0601603202521801, 0.06496383994817734, -0.04488174989819527, -0.07164297252893448, -0.005569742992520332, 0.03833283111453056, -0.027136513963341713, -0.0029536730144172907, 0.038352277129888535, 0.05652666836977005, -0.05645214766263962, -0.035191722214221954, -0.00212456239387393, 0.01755804568529129, 0.028915826231241226, 0.016397647559642792, -0.0219255443662405, -0.034648701548576355, 0.016521546989679337, -0.01155992690473795, -0.029124096035957336, -0.08276540786027908, 0.031824104487895966, -0.025336723774671555, -0.023393768817186356, 0.055060796439647675, 0.042873457074165344, 0.033182598650455475, 0.041188664734363556, -0.00736274803057313, 0.005163726396858692, -0.032062940299510956, 0.04383828863501549, -0.02784888446331024, -0.010256078094244003, -0.002039741026237607, -0.05962019041180611, -0.018661322072148323, -0.022344399243593216, -0.02951856516301632, -0.04285962134599686, -0.0385756753385067, 0.004059826023876667, -0.019868014380335808, -0.008738338015973568, -0.0059821209870278835, 0.03058406338095665, -0.02584809437394142, -0.02622874267399311, -0.01792769692838192, -0.033090438693761826, -0.0796516090631485, -0.050428710877895355, 0.01719007082283497, 0.02860720455646515, 0.030523063614964485, 0.02345903217792511, -0.0027989137452095747, 0.04316645860671997, -0.003148814430460334, -0.017524002119898796, 0.0277791079133749, 0.010754330083727837, -0.03436029702425003, -0.02330305613577366, 0.020907124504446983, -0.01908666267991066, 0.012699410319328308, -0.0489267036318779, 0.02602304145693779, 0.030365942046046257, -0.037430718541145325, -0.02740621007978916, 0.018707668408751488, 0.020379476249217987, -0.08339331299066544, -0.024822568520903587, -0.018500879406929016, -0.052399881184101105, 0.05088919401168823, 0.0062224785797297955, -0.036310963332653046, -0.005616798531264067, 0.040630634874105453, 0.0022344135213643312, -0.031143266707658768, -0.033747654408216476, 0.002367455279454589, -0.027445418760180473, 0.04416760802268982, -0.07244496792554855, 0.018274590373039246, -0.03220833092927933, 0.010407454334199429, -0.007132840342819691, 0.001289225765503943, -0.04701441898941994, 0.05026961863040924, -0.006362586282193661, -0.018026571720838547, -0.006255870219320059, 0.0033044887240976095, -0.043091561645269394, 0.028039108961820602, 0.003397383028641343, 0.01139264926314354, -0.017945852130651474, 0.027816593647003174, -0.07042441517114639, 0.004706122912466526, -0.021298428997397423, 0.016817616298794746, -0.020447995513677597, -0.017438041046261787, -0.010817126370966434, -0.0364653579890728, 0.027781547978520393, 0.03129921481013298, 0.04002713784575462, 0.025328604504466057, -0.003191652474924922, 0.0242032241076231, 0.017502436414361, -0.08180715888738632, -0.042845964431762695, 0.000016401994798798114, 0.019237548112869263, -0.0027943584136664867, 0.05079241469502449, 0.03234477713704109, -0.06373880803585052, -0.0625494122505188, 0.056416310369968414, 0.016969652846455574, -0.011832433752715588, 0.004310453310608864, 0.03755412623286247, 0.05208732560276985, 0.024371176958084106, -0.01779545471072197, -0.03220197185873985, 0.01231394149363041, -0.01682671159505844, 0.007235242985188961, -0.007938407361507416, 0.010687070898711681, 0.005969041492789984, -0.036934707313776016, -0.014657730236649513, 0.08925270289182663, 0.02252335287630558, 0.01561757456511259, -0.0010607581352815032, -0.032890401780605316, 0.010886560194194317, 0.01110581774264574, -0.049799736589193344, -0.0002351464208913967, 0.004944216459989548, -0.029691314324736595, 0.0654103085398674, -0.011174053885042667, 0.023037593811750412, 0.051310945302248, 0.019692450761795044, -0.024014946073293686, 0.030445460230112076, -0.01301325112581253, 0.01228270959109068, 0.044062793254852295, -0.046672336757183075, -0.010913728736341, -0.008441067300736904, 0.0713096335530281, -0.03935260325670242, 0.053764909505844116, 0.038713693618774414, 0.057561393827199936, 0.03553221747279167, -0.00895520206540823, -0.05305944383144379, 0.03470196574926376, -0.05648835375905037, 0.08154481649398804, 0.018963523209095, -0.07154005765914917, 0.07137631624937057, 0.012777106836438179, -0.07066280394792557, 0.020393360406160355, 0.016855355352163315, 0.03189932182431221, 0.03474579378962517, 0.02867489494383335, -0.06128932535648346, -0.0030216588638722897, -0.03900844603776932, 0.021690791472792625, -0.055318497121334076, -0.015660502016544342, -0.008592510595917702, -0.041348233819007874, -0.010751098394393921, 0.04371769353747368, -0.01282578893005848, -0.014841767959296703, 0.012401120737195015, -0.06180308014154434, -0.053402114659547806, -0.0037031234242022038, 0.010962124913930893, -0.001348676742054522, 0.04198881983757019, -0.02457868494093418, 0.0117813590914011, 0.026801738888025284, 0.011380473151803017, -0.04565603658556938, -0.029033126309514046, 0.020852617919445038, -0.05769166722893715, -0.018241364508867264, 0.03561155125498772, 0.011521811597049236, -0.01733044907450676, 0.021735284477472305, -0.01102648675441742, 0.026903117075562477, 0.03599138185381889, -0.03396472707390785, 0.032496728003025055, -0.054878413677215576, -0.008316834457218647, 0.025609247386455536, 0.02358238771557808, 0.016126960515975952, 0.003533925162628293, 0.037999123334884644, 0.012984056025743484, 0.03988533094525337, 0.0009072498651221395, -0.0300290547311306, -0.030087150633335114, -0.00048419632366858423, -0.01833210326731205, 0.009701560251414776, 0.0032504750415682793, -0.043629471212625504, -0.03493960201740265, -0.01707262359559536, -0.006289725657552481, 0.037898000329732895, -0.052791327238082886, 0.005679073743522167, 0.04041771963238716, -0.03353697806596756, -0.06014590337872505, -0.06336754560470581, -0.03619823604822159, -0.023667968809604645, 0.02724437415599823, 0.03648465871810913, -0.015612738206982613, 0.014816408976912498, -0.03260571509599686, -0.04026269540190697, 0.05817325413227081, 0.02220812626183033, -0.015927866101264954, 0.06417746841907501, 0.05803148075938225, -0.03875640034675598, 0.05028805136680603, 0.049324166029691696, -0.06855596601963043, 0.03816915675997734, 0.014371204189956188, 0.024371732026338577, 0.02732050232589245, 0.03182225674390793, -0.02672569267451763, -0.018858950585126877, -0.07361193001270294, -0.028182895854115486, -0.04743722453713417, -0.02218017354607582, 0.04129086807370186 ]
AnonymousSub/rule_based_roberta_twostagetriplet_hier_epochs_1_shard_1_wikiqa
[ "pytorch", "roberta", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "RobertaForSequenceClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
23
null
--- language: en pipeline_tag: zero-shot-classification tags: - deberta-base-base datasets: - multi_nli - snli metrics: - accuracy license: apache-2.0 --- # Cross-Encoder for Natural Language Inference This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data The model was trained on the [SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) datasets. For a given sentence pair, it will output three scores corresponding to the labels: contradiction, entailment, neutral. ## Performance For evaluation results, see [SBERT.net - Pretrained Cross-Encoder](https://www.sbert.net/docs/pretrained_cross-encoders.html#nli). ## Usage Pre-trained models can be used like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('cross-encoder/nli-deberta-base') scores = model.predict([('A man is eating pizza', 'A man eats something'), ('A black race car starts up in front of a crowd of people.', 'A man is driving down a lonely road.')]) #Convert scores to labels label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(axis=1)] ``` ## Usage with Transformers AutoModel You can use the model also directly with Transformers library (without SentenceTransformers library): ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/nli-deberta-base') tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-deberta-base') features = tokenizer(['A man is eating pizza', 'A black race car starts up in front of a crowd of people.'], ['A man eats something', 'A man is driving down a lonely road.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)] print(labels) ``` ## Zero-Shot Classification This model can also be used for zero-shot-classification: ```python from transformers import pipeline classifier = pipeline("zero-shot-classification", model='cross-encoder/nli-deberta-base') sent = "Apple just announced the newest iPhone X" candidate_labels = ["technology", "sports", "politics"] res = classifier(sent, candidate_labels) print(res) ```
[ -0.003883206285536289, -0.014452451840043068, -0.024519922211766243, 0.04997016489505768, 0.04710843786597252, 0.03651190176606178, -0.023237107321619987, -0.011447226628661156, -0.05244596302509308, 0.06542785465717316, 0.02728063240647316, -0.01256359089165926, 0.010358346626162529, 0.04449693113565445, -0.041415099054574966, -0.03407803922891617, -0.018887534737586975, -0.02523982711136341, -0.03200559690594673, -0.03765488788485527, 0.0013525064568966627, -0.002674869727343321, 0.004220865201205015, 0.018367212265729904, -0.008243565447628498, 0.019608039408922195, -0.027362344786524773, 0.041835471987724304, 0.027690939605236053, -0.06502731144428253, 0.010473542846739292, -0.03610529750585556, -0.04075034335255623, -0.002955523319542408, -0.009528600610792637, 0.0032988563179969788, 0.003272129688411951, 0.0018473303643986583, 0.02088850364089012, 0.03786179795861244, 0.015969108790159225, 0.02636302262544632, -0.025312958285212517, -0.011862799525260925, 0.04650792479515076, 0.0050229779444634914, -0.03517325967550278, -0.028995435684919357, 0.03542469069361687, -0.025217575952410698, -0.061042871326208115, -0.07475832104682922, -0.03661099076271057, 0.041510168462991714, -0.0229658056050539, -0.017754534259438515, -0.061947841197252274, 0.010278978385031223, 0.04068006947636604, -0.04538482800126076, -0.04157506301999092, 0.02188197337090969, -0.053379423916339874, 0.010538339614868164, 0.01796628348529339, -0.04437725245952606, -0.004998186603188515, -0.05217044800519943, 0.012263115495443344, -0.010216454975306988, 0.07069950550794601, -0.008418784476816654, 0.027010951191186905, -0.07767122238874435, 0.0011920758988708258, -0.007915516383945942, 0.0363936647772789, 0.03498189151287079, -0.019533341750502586, 0.05227167159318924, 0.02627222053706646, 0.0013186415890231729, 0.014566087163984776, -0.0027367412112653255, -0.0016164318658411503, 0.06122294440865517, -0.03981119766831398, 0.00032249907962977886, 0.0013281310675665736, 0.03445187211036682, -0.04434825852513313, -0.024762434884905815, 0.015505911782383919, -0.02958907000720501, -0.03050258569419384, 0.027917886152863503, 0.05797695368528366, -0.011089240200817585, 0.03974217548966408, 0.024557560682296753, 0.037401922047138214, 0.07029331475496292, -0.009977231733500957, 0.05593070760369301, -0.015787653625011444, -0.0018031229265034199, 0.0009537138976156712, -0.038982097059488297, -0.043079689145088196, 0.03790295124053955, 0.023569917306303978, -0.0034076510928571224, -0.05011025443673134, 0.05026266723871231, 0.030443893745541573, -0.016837716102600098, 0.07677912712097168, -0.02068941667675972, -0.03791683912277222, -0.03939459100365639, 0.05755619704723358, -0.020795481279492378, -0.011257597245275974, 0.02333049662411213, -0.048443783074617386, -0.014424463734030724, -0.04308656230568886, -0.055780693888664246, -0.015207910910248756, 0.007245613262057304, 0.023732565343379974, 0.030901271849870682, 0.009236637502908707, -0.027556126937270164, 0.01708715409040451, 0.012523026205599308, -0.08101226389408112, 0.06928056478500366, 0.04033654183149338, 0.12289541959762573, -0.06697749346494675, -0.052184078842401505, 0.020257553085684776, 0.018694022670388222, -0.02205756865441799, 0.016719920560717583, 0.012691117823123932, -0.044513020664453506, -0.033702775835990906, -0.008480042219161987, 0.06849503517150879, -0.053086359053850174, -0.005034534260630608, 0.022061696276068687, -0.009544451721012592, 0.0412566252052784, -0.05491928383708, -0.006276652682572603, -0.013995686545968056, -0.025362495332956314, -0.031263504177331924, 0.047464288771152496, -0.012121058069169521, 0.0021866324823349714, -0.022226260975003242, -0.03312445431947708, -0.014509816654026508, 0.06768474727869034, -0.022162681445479393, 0.004022031091153622, -0.030253609642386436, 0.015339833684265614, 0.023582614958286285, 0.025102797895669937, -0.029927454888820648, 0.011711101047694683, 0.08106102794408798, 0.038698725402355194, -0.029362397268414497, 0.06163347139954567, 0.0382835827767849, -0.03543035313487053, -0.011511089280247688, -0.005137174390256405, 0.0031390911899507046, -0.007507667876780033, 0.020105915144085884, 0.045257020741701126, -0.011986402794718742, -0.011184105649590492, -0.015881964936852455, 0.05321314558386803, -0.009977743960916996, -0.0023206763435155153, -0.0030106697231531143, -0.019439654424786568, -0.02132841758430004, 0.04314890131354332, -0.012387344613671303, 0.0006919800653122365, -0.012168186716735363, -0.020960677415132523, 0.023649318143725395, 0.008173310197889805, 0.01860765367746353, 0.02281295135617256, 0.00690327025949955, 0.0545852966606617, -0.036829836666584015, 0.021785130724310875, -0.0517389141023159, -0.04422920569777489, -0.006049890071153641, 0.041709642857313156, 0.03052406758069992, 0.033916134387254715, -0.004598334431648254, -0.04194088280200958, 0.014352901838719845, 0.05175888538360596, 0.03997858613729477, 0.04622356966137886, -0.014145526103675365, -0.005401371046900749, 0.0035214037634432316, 0.050323717296123505, -0.05276229977607727, -0.021869098767638206, 0.04994173347949982, 0.052155934274196625, 0.0024771157186478376, 0.0016185123240575194, -0.013301614671945572, 0.013932234607636929, -0.03699246793985367, -0.05212938413023949, 0.019107775762677193, 0.028516491875052452, -0.005809997674077749, 0.038538917899131775, 0.00609489856287837, -0.00731458468362689, 0.034970972687006, 0.012541305273771286, -0.008568269200623035, -0.0662752315402031, 0.014923534356057644, 0.022297674790024757, 0.04993961751461029, -0.026771415024995804, 0.0318954698741436, -0.0029964689165353775, 0.009049459360539913, 0.055095866322517395, -0.007987845689058304, 0.05516739562153816, 0.04231933131814003, 0.036356836557388306, -0.034144677221775055, 0.030060933902859688, 0.0009838843252509832, 0.036416199058294296, 0.06808897107839584, -0.021749740466475487, 0.062365517020225525, -0.01767350174486637, 0.041327279061079025, 0.07743377983570099, 0.03017088957130909, 0.016970619559288025, 0.059619542211294174, 0.05552199110388756, -0.003592230612412095, -0.02044515870511532, 0.05499756336212158, -0.04440420866012573, 0.04667864367365837, -0.03899064287543297, 0.029717350378632545, -0.014380576089024544, -0.007158906664699316, 0.038497693836688995, -0.006184212397783995, -0.014004098251461983, 0.0006394265801645815, -0.01815880462527275, -0.013015471398830414, 0.043178558349609375, -0.0032520752865821123, 0.006841594353318214, 0.029187142848968506, -0.02665853686630726, 0.007948013022542, -0.06459826231002808, -0.07220309227705002, 0.008387124165892601, -0.02241680398583412, -0.02181112766265869, -0.06667006760835648, -0.05640175938606262, -0.07254902273416519, -0.008324832655489445, 0.04699154198169708, 0.005052029620856047, 0.02710278145968914, -0.021648867055773735, 0.03293369337916374, -0.03777677193284035, -0.03277924284338951, -0.047322455793619156, -0.06902522593736649, -0.0502728596329689, -0.03989826887845993, 0.047886528074741364, 0.002022430533543229, 0.0026046019047498703, 0.005842403508722782, -0.016792647540569305, -0.019718769937753677, -0.027379415929317474, 0.050414957106113434, 0.03947767987847328, -0.019419286400079727, -0.051667965948581696, 0.00600914191454649, -0.022916138172149658, 0.007098734844475985, -0.016284115612506866, -0.039529770612716675, 0.07952380925416946, 0.05380437523126602, 0.029959077015519142, 0.0026455100160092115, -0.01959797367453575, -0.06534190475940704, -0.0695822685956955, -0.023178787901997566, -0.04410506784915924, -0.0034310282208025455, -0.021905090659856796, -0.02096695266664028, -0.01922232285141945, -0.036790136247873306, -0.014355366118252277, 0.002444933168590069, 0.02593933790922165, 0.05451071634888649, 0.04191350191831589, 0.03330870345234871, 0.03115377016365528, -0.04662087559700012, -0.018254103139042854, 0.0732496902346611, 0.006459999829530716, 0.007191507611423731, -0.09125838428735733, -0.010620797984302044, 0.033572711050510406, 0.028856130316853523, 0.014862964861094952, -0.020676253363490105, 0.10955219715833664, 0.006618942134082317, 0.0011372700100764632, 0.02406292036175728, 0.00964157935231924, -0.027387332171201706, 0.0011626192135736346, -0.01137171033769846, -0.014365424402058125, -0.052211370319128036, -0.03643205389380455, -0.02706875093281269, 0.03699905052781105, -0.05634487047791481, -0.053114987909793854, -0.01823834888637066, 0.030975816771388054, 0.015966154634952545, 0.004452647175639868, -0.04008868709206581, 0.007157321088016033, -0.03559919446706772, -0.017075099050998688, 0.025815550237894058, -0.008833229541778564, -0.0033143963664770126, 0.0401657372713089, 0.03143291547894478, -0.02648971602320671, 0.03867676854133606, 0.03224184364080429, 0.06014599651098251, 0.022728830575942993, -0.037460386753082275, 0.04145485907793045, -0.019193420186638832, 0.03659820556640625, 0.004089636262506247, -0.03712930157780647, -0.04859886318445206, -0.08663228899240494, -0.007608497049659491, -0.0035008208360522985, -0.032075364142656326, 0.01476891990751028, 0.03370970860123634, -0.021453525871038437, -0.010467451997101307, -0.002491799183189869, 0.013092630542814732, 0.021444465965032578, -0.03581696003675461, 0.06650860607624054, -0.032759543508291245, 0.01878974214196205, -0.035761069506406784, 0.02624717727303505, -0.04603031277656555, -0.02974051795899868, 0.0054119424894452095, 0.042450156062841415, 0.007358873263001442, 0.04820817708969116, 0.06561142951250076, 0.053670041263103485, -0.04632982611656189, 0.06038002297282219, 0.03873355686664581, -0.031203879043459892, -0.06219710409641266, 0.00471973791718483, -0.013418393209576607, -0.005743737332522869, 0.010846574790775776, -0.03055720403790474, 0.009508469142019749, 0.0356135293841362, 0.009445920586585999, -0.025548378005623817, -0.005675720516592264, -0.020875627174973488, -0.026741551235318184, -0.06916408240795135, -0.0026338016614317894, -0.014838636852800846, -0.02638072706758976, 0.04254264011979103, 0.04613763839006424, -0.0003795793454628438, 0.05943784862756729, 0.03221776708960533, -0.015175657346844673, -0.033329788595438004, 0.04954911023378372, 0.03275815397500992, -0.04963063821196556, -0.0781940147280693, -0.05019683018326759, 0.023606667295098305, 0.04114510491490364, -0.03676740452647209, -0.07264329493045807, -0.005080303642898798, 0.07125488668680191, -0.04699573293328285, 0.07565353810787201, -0.0011534325312823057, 0.05556066334247589, 0.08399048447608948, -0.026320330798625946, 0.019414346665143967, -0.045571599155664444, -0.008137001655995846, -0.0018284869147464633, 0.045013122260570526, -0.04485698416829109, -0.04533948749303818, -0.05862904712557793, 0.046149928122758865, 0.012569807469844818, 0.05612826719880104, 0.06571424007415771, -0.042686060070991516, -0.07079502195119858, -0.0046615684404969215, 0.03870606794953346, -0.034835878759622574, -0.001678698929026723, 0.040688253939151764, 0.059624504297971725, -0.06435826420783997, -0.03726126253604889, -0.0025568201672285795, 0.021578021347522736, 0.030078265815973282, 0.018296942114830017, -0.020232487469911575, -0.03573828190565109, 0.013589230366051197, -0.01988791674375534, -0.03489822894334793, -0.08364084362983704, 0.03015368990600109, -0.025004519149661064, -0.021636370569467545, 0.058756206184625626, 0.04498244822025299, 0.03953114151954651, 0.0408172570168972, -0.007483616471290588, -0.00554819218814373, -0.03900816664099693, 0.04018557444214821, -0.028980715200304985, -0.01768367737531662, -0.009525693953037262, -0.06361039727926254, -0.02027967944741249, -0.020862657576799393, -0.027221109718084335, -0.04590398818254471, -0.031851209700107574, 0.003398082684725523, -0.015845132991671562, -0.006891793105751276, -0.00918236467987299, 0.030359772965312004, -0.023565085604786873, -0.027721190825104713, -0.02265983447432518, -0.0377478301525116, -0.07623874396085739, -0.04955856502056122, 0.011879686266183853, 0.03480028361082077, 0.02559586428105831, 0.02710086479783058, -0.0030988946091383696, 0.04233448952436447, -0.0011413251049816608, -0.021775206550955772, 0.01934266835451126, 0.01099801529198885, -0.03608379513025284, -0.02596929483115673, 0.02344476617872715, -0.013687536120414734, 0.01487107016146183, -0.057477161288261414, 0.0268122348934412, 0.02946174331009388, -0.038731031119823456, -0.0322948582470417, 0.01442231610417366, 0.023212064057588577, -0.08267291635274887, -0.029377972707152367, -0.018295733258128166, -0.051877979189157486, 0.04906053468585014, 0.005137940868735313, -0.045339349657297134, -0.004566901829093695, 0.04048556089401245, 0.002360207960009575, -0.02805197983980179, -0.02990919165313244, 0.005695169325917959, -0.023617038503289223, 0.04775526747107506, -0.071997731924057, 0.020240087062120438, -0.03386067971587181, 0.005719377193599939, -0.008129473775625229, 0.0000725288555258885, -0.046205975115299225, 0.049306683242321014, -0.008616087958216667, -0.02016746811568737, -0.0065483213402330875, 0.0038317134603857994, -0.039368849247694016, 0.028946256265044212, -0.0009748482261784375, 0.009585240855813026, -0.015815984457731247, 0.02699405513703823, -0.07220239192247391, 0.003677314380183816, -0.019263286143541336, 0.013462220318615437, -0.022455373778939247, -0.01450497005134821, -0.007838628254830837, -0.032437559217214584, 0.027429109439253807, 0.026401586830615997, 0.03944600746035576, 0.02789429761469364, 0.0021259302739053965, 0.01921810582280159, 0.016538677737116814, -0.07949437946081161, -0.04672025516629219, -0.0034958762116730213, 0.017145900055766106, -0.005646180361509323, 0.05308603495359421, 0.025259315967559814, -0.06405118107795715, -0.056349482387304306, 0.05943172052502632, 0.017783038318157196, -0.009157388471066952, 0.0011598584242165089, 0.03463253751397133, 0.04707464203238487, 0.029834073036909103, -0.011045439168810844, -0.03641378879547119, 0.012803124263882637, -0.02499760501086712, 0.0020411135628819466, -0.007833884097635746, 0.009840715676546097, 0.0030460935086011887, -0.03345753997564316, -0.020991330966353416, 0.0842307060956955, 0.014353751204907894, 0.013793162070214748, -0.0031144756358116865, -0.0325065515935421, 0.0040290565229952335, 0.02055450901389122, -0.049544453620910645, -0.008180391043424606, 0.00865819863975048, -0.030339157208800316, 0.06753768026828766, -0.011764010414481163, 0.026994742453098297, 0.05329360440373421, 0.014809967018663883, -0.02296728454530239, 0.035565197467803955, -0.014474726282060146, 0.009766757488250732, 0.04157162457704544, -0.04998049512505531, -0.014180783182382584, -0.009678828530013561, 0.06863746792078018, -0.043222419917583466, 0.052116699516773224, 0.03586394712328911, 0.05666432902216911, 0.031097175553441048, -0.010025540366768837, -0.04608359932899475, 0.0326988510787487, -0.05780446529388428, 0.07693886011838913, 0.016164632514119148, -0.07607235014438629, 0.07540930062532425, 0.014828143641352654, -0.06668207049369812, 0.01853887364268303, 0.01648900844156742, 0.030528007075190544, 0.03682747110724449, 0.02705964632332325, -0.06507477164268494, -0.00384530215524137, -0.039519187062978745, 0.023321591317653656, -0.054774921387434006, -0.014849342405796051, -0.006577495485544205, -0.03841104730963707, -0.010134433396160603, 0.037842318415641785, -0.006222500931471586, -0.008214805275201797, 0.015905629843473434, -0.06324785202741623, -0.05382772907614708, -0.008720118552446365, 0.009145621210336685, -0.003120697569102049, 0.04175262525677681, -0.02467253804206848, 0.011635242961347103, 0.030369428917765617, 0.006481820251792669, -0.044785115867853165, -0.03263735771179199, 0.02066463977098465, -0.04731116443872452, -0.02175445295870304, 0.03343329206109047, 0.013133400119841099, -0.02430015802383423, 0.02376183122396469, -0.01269614789634943, 0.02154313027858734, 0.03690579906105995, -0.03195878863334656, 0.03327745199203491, -0.05009715259075165, -0.006031571887433529, 0.024148261174559593, 0.025463968515396118, 0.01170780323445797, 0.00021783850388601422, 0.03800516203045845, 0.018464358523488045, 0.040698349475860596, -0.0040621706284582615, -0.027298590168356895, -0.03599296510219574, 0.001528899883851409, -0.015503506176173687, 0.008038295432925224, 0.0029022591188549995, -0.038929540663957596, -0.03592563793063164, -0.013987096026539803, -0.008684019558131695, 0.04123663902282715, -0.05389013886451721, 0.01135787833482027, 0.04083437845110893, -0.033280618488788605, -0.05640142038464546, -0.05968634784221649, -0.03540210798382759, -0.022460004314780235, 0.02033896930515766, 0.034845851361751556, -0.016857730224728584, 0.011438889428973198, -0.026376940310001373, -0.03901590779423714, 0.05937965586781502, 0.027521470561623573, -0.019518887624144554, 0.06567248702049255, 0.05423087254166603, -0.043190691620111465, 0.04973259195685387, 0.05079440400004387, -0.07179037481546402, 0.03229013457894325, 0.016276799142360687, 0.022662023082375526, 0.024913372471928596, 0.03712330758571625, -0.032322268933057785, -0.0215813796967268, -0.06643329560756683, -0.027376901358366013, -0.04851164296269417, -0.01857694238424301, 0.048346277326345444 ]
AnonymousSub/rule_based_twostage_quadruplet_epochs_1_shard_1_wikiqa
[ "pytorch", "bert", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "BertForSequenceClassification" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
30
null
--- language: en pipeline_tag: zero-shot-classification tags: - microsoft/deberta-v3-large datasets: - multi_nli - snli metrics: - accuracy license: apache-2.0 --- # Cross-Encoder for Natural Language Inference This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. This model is based on [microsoft/deberta-v3-large](https://huggingface.co/microsoft/deberta-v3-large) ## Training Data The model was trained on the [SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) datasets. For a given sentence pair, it will output three scores corresponding to the labels: contradiction, entailment, neutral. ## Performance - Accuracy on SNLI-test dataset: 92.20 - Accuracy on MNLI mismatched set: 90.49 For futher evaluation results, see [SBERT.net - Pretrained Cross-Encoder](https://www.sbert.net/docs/pretrained_cross-encoders.html#nli). ## Usage Pre-trained models can be used like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('cross-encoder/nli-deberta-v3-large') scores = model.predict([('A man is eating pizza', 'A man eats something'), ('A black race car starts up in front of a crowd of people.', 'A man is driving down a lonely road.')]) #Convert scores to labels label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(axis=1)] ``` ## Usage with Transformers AutoModel You can use the model also directly with Transformers library (without SentenceTransformers library): ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/nli-deberta-v3-large') tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-deberta-v3-large') features = tokenizer(['A man is eating pizza', 'A black race car starts up in front of a crowd of people.'], ['A man eats something', 'A man is driving down a lonely road.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)] print(labels) ``` ## Zero-Shot Classification This model can also be used for zero-shot-classification: ```python from transformers import pipeline classifier = pipeline("zero-shot-classification", model='cross-encoder/nli-deberta-v3-large') sent = "Apple just announced the newest iPhone X" candidate_labels = ["technology", "sports", "politics"] res = classifier(sent, candidate_labels) print(res) ```
[ 0.002361580263823271, -0.01160991471260786, -0.020093515515327454, 0.05559220910072327, 0.04917796328663826, 0.02339290641248226, -0.02320217341184616, -0.008245418779551983, -0.04070634767413139, 0.06545951217412949, 0.026061348617076874, -0.010198005475103855, 0.016039269044995308, 0.04095292463898659, -0.036088790744543076, -0.029671525582671165, -0.01870720088481903, -0.03205518797039986, -0.03500326722860336, -0.02301778644323349, 0.005131707992404699, -0.001754453405737877, -0.014708216302096844, 0.017434149980545044, -0.007400518748909235, 0.027012202888727188, -0.021265439689159393, 0.04265039041638374, 0.026285694912075996, -0.058096595108509064, 0.005714830476790667, -0.034305639564991, -0.042748332023620605, -0.001330847037024796, -0.010403594933450222, -0.006771375425159931, -0.0015495498664677143, 0.005183052737265825, 0.014782341197133064, 0.0395999439060688, 0.014880080707371235, 0.02599061094224453, -0.014251185581088066, -0.007513992488384247, 0.04258446767926216, 0.0007542789098806679, -0.03369244560599327, -0.02775290422141552, 0.0332515724003315, -0.01710192672908306, -0.06386228650808334, -0.07092757523059845, -0.03106146678328514, 0.03344922885298729, -0.027382787317037582, -0.026570620015263557, -0.05486113950610161, 0.014054625295102596, 0.03973741456866264, -0.04923476651310921, -0.04450365900993347, 0.015321428887546062, -0.05141163989901543, 0.003893358865752816, 0.01316603273153305, -0.04759647324681282, -0.009081698022782803, -0.06069038435816765, 0.010156488977372646, -0.008984713815152645, 0.06706885993480682, -0.012919580563902855, 0.024766763672232628, -0.07437891513109207, 0.000017215457774000242, -0.004237748682498932, 0.039691198617219925, 0.029517177492380142, -0.024725312367081642, 0.05044614151120186, 0.036111827939748764, 0.0009249725844711065, 0.024851514026522636, 0.002045332919806242, -0.00107203156221658, 0.05149673670530319, -0.028380781412124634, -0.0071409111842513084, 0.008181181736290455, 0.030483918264508247, -0.03722399100661278, -0.020275406539440155, 0.01781534031033516, -0.03144042193889618, -0.033379778265953064, 0.024453196674585342, 0.05727018415927887, -0.01246717106550932, 0.030226504430174828, 0.02837386727333069, 0.027414914220571518, 0.07051454484462738, -0.007578120566904545, 0.05403268337249756, -0.018790483474731445, 0.0007044827798381448, -0.001827482832595706, -0.040944259613752365, -0.0471176914870739, 0.03237000107765198, 0.01944880373775959, -0.008629076182842255, -0.04907580465078354, 0.05590085685253143, 0.021495461463928223, -0.009418046101927757, 0.07738903909921646, -0.03135409951210022, -0.03312033787369728, -0.04595005512237549, 0.04876451939344406, -0.028145598247647285, -0.014582788571715355, 0.030542753636837006, -0.05239412561058998, -0.014740332029759884, -0.04088865965604782, -0.056240081787109375, -0.015881814062595367, 0.009156430140137672, 0.014378177002072334, 0.034957706928253174, 0.008784141391515732, -0.03995706886053085, 0.015263375826179981, 0.008373088203370571, -0.07714838534593582, 0.057219717651605606, 0.03330129012465477, 0.12617237865924835, -0.05170878767967224, -0.06181107833981514, 0.018652260303497314, 0.02455918677151203, -0.022211886942386627, 0.01910611242055893, 0.010306382551789284, -0.03439759463071823, -0.03950785845518112, -0.008326870389282703, 0.059826113283634186, -0.06198565661907196, 0.005534742493182421, 0.026483504101634026, -0.003735335310921073, 0.0483093336224556, -0.05992354080080986, -0.0014213533140718937, -0.008931738324463367, -0.02508530206978321, -0.023357467725872993, 0.04388968646526337, -0.010893781669437885, 0.009033240377902985, -0.023279836401343346, -0.044627100229263306, -0.013670532032847404, 0.055316489189863205, -0.023742439225316048, -0.0005808393470942974, -0.044092047959566116, 0.016618402674794197, 0.03233828768134117, 0.02920725755393505, -0.02255927585065365, 0.011031593196094036, 0.0778813511133194, 0.035279858857393265, -0.035842165350914, 0.06355301290750504, 0.03823448717594147, -0.035293061286211014, -0.02226470410823822, -0.006353309843689203, 0.00596658093854785, -0.006542726885527372, 0.019280409440398216, 0.044233184307813644, -0.00028293224750086665, -0.01976906508207321, -0.016249820590019226, 0.05415927991271019, -0.011460414156317711, -0.007195528596639633, -0.004016328137367964, -0.017534315586090088, -0.014484510757029057, 0.03644204139709473, -0.013211552985012531, 0.002727529499679804, -0.013354440219700336, -0.020067136734724045, 0.03207249194383621, 0.0124590415507555, 0.016185637563467026, 0.022390935570001602, 0.006947274319827557, 0.056043464690446854, -0.03757008910179138, 0.017301617190241814, -0.048226453363895416, -0.046795736998319626, -0.0005524029256775975, 0.04613005369901657, 0.03373369202017784, 0.037426725029945374, -0.009436619468033314, -0.044647395610809326, 0.019225390627980232, 0.05486062914133072, 0.04186204448342323, 0.04360946640372276, -0.019420810043811798, -0.0025624572299420834, 0.010636926628649235, 0.054068341851234436, -0.05616074055433273, -0.02218843623995781, 0.04731901362538338, 0.05656098201870918, -0.005920980125665665, -0.009170477278530598, -0.010082310996949673, 0.014628947712481022, -0.03854922577738762, -0.057285457849502563, 0.015708334743976593, 0.02999347262084484, -0.006786784157156944, 0.04263821244239807, -0.005583505146205425, 0.0021723732352256775, 0.04519946500658989, 0.012189177796244621, 0.0026416934560984373, -0.06145073473453522, 0.02246478758752346, 0.023624271154403687, 0.05499636009335518, -0.030632654204964638, 0.03172691911458969, -0.00983032863587141, -0.00006489772204076871, 0.052925705909729004, -0.017400454729795456, 0.061299096792936325, 0.045455724000930786, 0.03728290647268295, -0.03353296220302582, 0.03142291307449341, 0.006172492168843746, 0.02547656185925007, 0.0664648786187172, -0.018599744886159897, 0.06875604391098022, -0.023797722533345222, 0.0466550774872303, 0.07758303731679916, 0.027300655841827393, 0.009183657355606556, 0.04229278862476349, 0.05635450407862663, -0.002987532876431942, -0.027286753058433533, 0.05808994174003601, -0.04336673393845558, 0.03898201510310173, -0.03916223347187042, 0.027170291170477867, -0.01838715560734272, 0.0018790203612297773, 0.03859763592481613, 0.003187021939083934, -0.017388388514518738, 0.012668607756495476, -0.015647508203983307, -0.014619074761867523, 0.04329981654882431, -0.013179488480091095, -0.00017761379422154278, 0.021259326487779617, -0.02711300365626812, 0.009843351319432259, -0.060839761048555374, -0.07338444143533707, 0.006722451653331518, -0.022144682705402374, -0.02316517010331154, -0.07361003756523132, -0.0519152395427227, -0.06665149331092834, -0.010569648817181587, 0.04939563572406769, 0.0026302363257855177, 0.023062383756041527, -0.0232792217284441, 0.02691633626818657, -0.038967251777648926, -0.031109564006328583, -0.053688906133174896, -0.06368264555931091, -0.05245719850063324, -0.03677861765027046, 0.050881993025541306, 0.01023536454886198, 0.00732026994228363, 0.009417949244379997, -0.02475392445921898, -0.01600622572004795, -0.022010967135429382, 0.04466116800904274, 0.037041954696178436, -0.022549079731106758, -0.05758053809404373, 0.011447236873209476, -0.02062849886715412, 0.005497486796230078, -0.025400662794709206, -0.03869184851646423, 0.07642262428998947, 0.05031009763479233, 0.027386784553527832, -0.003611539024859667, -0.019242599606513977, -0.06879407167434692, -0.05972005054354668, -0.023740103468298912, -0.0377865768969059, -0.009699970483779907, -0.026010235771536827, -0.026465849950909615, -0.019916698336601257, -0.033042456954717636, -0.012282244861125946, 0.0010715740500018, 0.018247734755277634, 0.05136151611804962, 0.037594377994537354, 0.02763761207461357, 0.028937378898262978, -0.05001365393400192, -0.020640050992369652, 0.0795460119843483, -0.0011278745951130986, 0.012563197873532772, -0.08973848074674606, -0.013544672168791294, 0.022306006401777267, 0.020325656980276108, 0.015730880200862885, -0.027968311682343483, 0.11200552433729172, 0.008027171716094017, -0.0037981511559337378, 0.022097181528806686, 0.005503397900611162, -0.017672885209321976, -0.004520753864198923, -0.008180150762200356, -0.015296601690351963, -0.05414131283760071, -0.02375270612537861, -0.024809937924146652, 0.039002589881420135, -0.052197013050317764, -0.05672195181250572, -0.01857437938451767, 0.026827372610569, 0.021286532282829285, -0.0036117651034146547, -0.04498276486992836, 0.0014555196976289153, -0.04182731732726097, -0.008082309737801552, 0.019371381029486656, -0.0059072766453027725, 0.0004565137205645442, 0.042805444449186325, 0.026428760960698128, -0.03023390844464302, 0.052421946078538895, 0.034321051090955734, 0.060188066214323044, 0.02737833932042122, -0.04375145956873894, 0.039432551711797714, -0.005780813284218311, 0.03547760844230652, -0.002286704024299979, -0.02960275672376156, -0.06220104545354843, -0.09044069796800613, -0.0034154385793954134, 0.0013038719771429896, -0.028207415714859962, 0.01622641645371914, 0.035238709300756454, -0.03065340220928192, -0.0043600513599812984, -0.0072090052999556065, 0.012313123792409897, 0.02129184640944004, -0.04787391796708107, 0.062225572764873505, -0.02583472803235054, 0.01176199596375227, -0.03561372682452202, 0.03173426166176796, -0.043748658150434494, -0.024541234597563744, 0.017961906269192696, 0.045786190778017044, 0.009033526293933392, 0.04745733365416527, 0.0668853223323822, 0.04947023466229439, -0.04344896599650383, 0.07078058272600174, 0.0398271307349205, -0.03427324444055557, -0.06793320178985596, 0.002804225543513894, -0.005960226524621248, 0.002930586226284504, 0.011404228396713734, -0.034413959830999374, 0.013607745990157127, 0.03941633924841881, 0.003039871109649539, -0.032007548958063126, -0.0005546883912757039, -0.026527218520641327, -0.018562467768788338, -0.06890688836574554, -0.01171836256980896, -0.020978542044758797, -0.03299538418650627, 0.04237392544746399, 0.04107450321316719, -0.002332457806915045, 0.05292340740561485, 0.03598605468869209, -0.02373349294066429, -0.04005884379148483, 0.04872512444853783, 0.03237093240022659, -0.057091597467660904, -0.07083847373723984, -0.042818766087293625, 0.03153450787067413, 0.028680963441729546, -0.03400351107120514, -0.0736064612865448, -0.009831211529672146, 0.0687592402100563, -0.049237288534641266, 0.07042597234249115, -0.00022718097898177803, 0.0564243458211422, 0.07824720442295074, -0.017463326454162598, 0.023779066279530525, -0.04057330638170242, -0.002555493963882327, -0.0031416350975632668, 0.0486108660697937, -0.04964670166373253, -0.039342962205410004, -0.05782550200819969, 0.050222575664520264, 0.0038112078327685595, 0.05406617000699043, 0.06906311959028244, -0.04520690441131592, -0.06549861282110214, -0.010110425762832165, 0.04448913782835007, -0.039049215614795685, -0.0008775843307375908, 0.03495422378182411, 0.06410438567399979, -0.06541851907968521, -0.03496548905968666, -0.007067239377647638, 0.017872195690870285, 0.02380196563899517, 0.016074690967798233, -0.023861292749643326, -0.0379367433488369, 0.005969288293272257, -0.015901237726211548, -0.03410467877984047, -0.07776579260826111, 0.03407740592956543, -0.022617314010858536, -0.020180657505989075, 0.048886384814977646, 0.042406115680933, 0.042638860642910004, 0.045291464775800705, -0.009984242729842663, -0.005957675166428089, -0.03630856052041054, 0.04806417226791382, -0.026895999908447266, -0.012556012719869614, -0.006940923631191254, -0.06692484766244888, -0.016371743753552437, -0.016921723261475563, -0.024561377242207527, -0.05210518091917038, -0.03179847449064255, 0.01681560091674328, -0.010868687182664871, -0.010598711669445038, -0.006183267571032047, 0.03259944170713425, -0.019324328750371933, -0.018477510660886765, -0.019195837900042534, -0.03570730239152908, -0.0719689130783081, -0.049644436687231064, 0.018835866823792458, 0.02370191179215908, 0.029949624091386795, 0.02193353697657585, -0.0008308356627821922, 0.03075340762734413, 0.00258327997289598, -0.017504356801509857, 0.02426653727889061, 0.002999856835231185, -0.03364701196551323, -0.02278382144868374, 0.021786978468298912, -0.012744293548166752, 0.01467015128582716, -0.056886520236730576, 0.021918799728155136, 0.02579811029136181, -0.04768495634198189, -0.02932080067694187, 0.016056766733527184, 0.023459795862436295, -0.08060313016176224, -0.02670358121395111, -0.016105003654956818, -0.0472848080098629, 0.04497426375746727, 0.004403655417263508, -0.04730307310819626, -0.010333241894841194, 0.032617054879665375, 0.0007411182741634548, -0.037690065801143646, -0.027567369863390923, -0.00006666655826848, -0.023372136056423187, 0.03510790318250656, -0.07285431027412415, 0.027848729863762856, -0.03890593722462654, 0.0063605341129004955, -0.013272189535200596, -0.002012100303545594, -0.04967520385980606, 0.05335923284292221, -0.008372337557375431, -0.017083896324038506, -0.000405253580538556, 0.0018366181757301092, -0.032171182334423065, 0.026237821206450462, -0.006475362461060286, 0.01742330938577652, -0.020069032907485962, 0.03371578827500343, -0.07786516845226288, -0.001244181301444769, -0.018478602170944214, 0.00029411958530545235, -0.026122504845261574, -0.008331093937158585, -0.01193289179354906, -0.0377301350235939, 0.02413862943649292, 0.03291197121143341, 0.04707751050591469, 0.03325378894805908, -0.003740338608622551, 0.028935348615050316, 0.02237512916326523, -0.07654470205307007, -0.047179825603961945, -0.0020118465181440115, 0.02095908485352993, -0.008460653945803642, 0.055427853018045425, 0.02911304123699665, -0.06817709654569626, -0.05848682299256325, 0.05935099348425865, 0.01990639604628086, -0.00958537682890892, 0.0016389121301472187, 0.03201771527528763, 0.05323247238993645, 0.022745775058865547, -0.010501173324882984, -0.04639752209186554, 0.01647976040840149, -0.022425154224038124, 0.005736769177019596, -0.0021032255608588457, 0.0151161914691329, 0.011497232131659985, -0.03555171936750412, -0.017148111015558243, 0.08403419703245163, 0.019312938675284386, 0.006559932604432106, -0.009581813588738441, -0.034795213490724564, 0.010658441111445427, 0.023367062211036682, -0.05472426861524582, -0.001232076552696526, 0.014632640406489372, -0.025428323075175285, 0.059282559901475906, -0.01706898957490921, 0.030335860326886177, 0.07025258988142014, 0.01993251033127308, -0.03143522888422012, 0.02395114116370678, -0.006929059978574514, 0.012628047727048397, 0.04224636033177376, -0.0578608438372612, -0.015129215084016323, -0.011620661243796349, 0.06659706681966782, -0.05797269940376282, 0.05637306347489357, 0.0349593423306942, 0.04599446803331375, 0.02976583130657673, -0.0009663528762757778, -0.05004817247390747, 0.02624620869755745, -0.052790235728025436, 0.08275765180587769, 0.023130955174565315, -0.06421304494142532, 0.0757337361574173, 0.013549568131566048, -0.06336711347103119, 0.023634005337953568, 0.02034774422645569, 0.026368238031864166, 0.03031298518180847, 0.020452063530683517, -0.057342056185007095, -0.0035839721094816923, -0.04249083623290062, 0.024513831362128258, -0.05325910449028015, -0.025178205221891403, -0.007961994037032127, -0.04156554117798805, -0.01221607718616724, 0.03659071773290634, -0.00704260915517807, -0.01709066517651081, 0.02452419325709343, -0.06100071594119072, -0.05285846069455147, -0.0049631898291409016, 0.015547733753919601, -0.008427095599472523, 0.03643450886011124, -0.024077678099274635, 0.010158184915781021, 0.03451237082481384, 0.0039323680102825165, -0.04406386986374855, -0.0418519489467144, 0.018131820484995842, -0.05631747841835022, -0.01817375235259533, 0.04208914935588837, 0.01883864216506481, -0.022551506757736206, 0.005506629589945078, -0.005044674966484308, 0.017015324905514717, 0.033675048500299454, -0.03317683935165405, 0.03116622008383274, -0.05720297992229462, -0.014015325345098972, 0.03011549450457096, 0.02575540542602539, 0.0063747018575668335, -0.007116495165973902, 0.03735046833753586, 0.014676646329462528, 0.041345108300447464, 0.003335246117785573, -0.02501808851957321, -0.032123200595378876, 0.003277421463280916, -0.019932212308049202, 0.012739474885165691, -0.004747180733829737, -0.04397428408265114, -0.033075377345085144, -0.008419380523264408, -0.003812445094808936, 0.04578952118754387, -0.057605281472206116, 0.0062036155723035336, 0.03734689950942993, -0.03769567981362343, -0.05884386599063873, -0.068935826420784, -0.038292981684207916, -0.01874174363911152, 0.021140683442354202, 0.024358676746487617, -0.014932148158550262, 0.012495108880102634, -0.02715403586626053, -0.032378364354372025, 0.059424251317977905, 0.02354154922068119, -0.015467348508536816, 0.05696677416563034, 0.05519774928689003, -0.040856193751096725, 0.06195663660764694, 0.05936192348599434, -0.06727343052625656, 0.04399460181593895, 0.0068923551589250565, 0.022171128541231155, 0.02757958136498928, 0.03417770937085152, -0.02339324727654457, -0.01278435904532671, -0.06700311601161957, -0.028700828552246094, -0.04695115238428116, -0.02041790261864662, 0.037012308835983276 ]
AnonymousSub/rule_based_twostagequadruplet_hier_epochs_1_shard_1_wikiqa
[ "pytorch", "bert", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "BertForSequenceClassification" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
28
null
--- language: en pipeline_tag: zero-shot-classification tags: - microsoft/deberta-v3-xsmall datasets: - multi_nli - snli metrics: - accuracy license: apache-2.0 --- # Cross-Encoder for Natural Language Inference This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. This model is based on [microsoft/deberta-v3-xsmall](https://huggingface.co/microsoft/deberta-v3-xsmall) ## Training Data The model was trained on the [SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) datasets. For a given sentence pair, it will output three scores corresponding to the labels: contradiction, entailment, neutral. ## Performance - Accuracy on SNLI-test dataset: 91.64 - Accuracy on MNLI mismatched set: 87.77 For futher evaluation results, see [SBERT.net - Pretrained Cross-Encoder](https://www.sbert.net/docs/pretrained_cross-encoders.html#nli). ## Usage Pre-trained models can be used like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('cross-encoder/nli-deberta-v3-xsmall') scores = model.predict([('A man is eating pizza', 'A man eats something'), ('A black race car starts up in front of a crowd of people.', 'A man is driving down a lonely road.')]) #Convert scores to labels label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(axis=1)] ``` ## Usage with Transformers AutoModel You can use the model also directly with Transformers library (without SentenceTransformers library): ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/nli-deberta-v3-xsmall') tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-deberta-v3-xsmall') features = tokenizer(['A man is eating pizza', 'A black race car starts up in front of a crowd of people.'], ['A man eats something', 'A man is driving down a lonely road.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)] print(labels) ``` ## Zero-Shot Classification This model can also be used for zero-shot-classification: ```python from transformers import pipeline classifier = pipeline("zero-shot-classification", model='cross-encoder/nli-deberta-v3-xsmall') sent = "Apple just announced the newest iPhone X" candidate_labels = ["technology", "sports", "politics"] res = classifier(sent, candidate_labels) print(res) ```
[ 0.0034745633602142334, -0.011332313530147076, -0.021723313257098198, 0.054384298622608185, 0.04827847331762314, 0.02326902747154236, -0.023609168827533722, -0.007439117878675461, -0.0417250394821167, 0.06686203181743622, 0.022916646674275398, -0.012511116452515125, 0.013713305816054344, 0.04000699147582054, -0.03461455553770065, -0.03217592090368271, -0.016676902770996094, -0.033274345099925995, -0.0346623994410038, -0.02259657345712185, 0.003861566074192524, -0.0011382438242435455, -0.013099633157253265, 0.015544096007943153, -0.009069371037185192, 0.02816930040717125, -0.02252695895731449, 0.043062061071395874, 0.028189558535814285, -0.057763759046792984, 0.0077627175487577915, -0.03202144429087639, -0.04254599288105965, -0.003672276856377721, -0.011715320870280266, -0.007030523382127285, -0.0002404872648185119, 0.004353740718215704, 0.015867801383137703, 0.04272916540503502, 0.014890111982822418, 0.025630224496126175, -0.014127970673143864, -0.00579695263877511, 0.04282596334815025, 0.0011034964118152857, -0.03327803686261177, -0.025655236095190048, 0.0362137034535408, -0.019578205421566963, -0.06475231796503067, -0.07128971070051193, -0.0317104198038578, 0.03438446670770645, -0.027632931247353554, -0.030400363728404045, -0.0548696294426918, 0.013424950651824474, 0.04056941717863083, -0.047574982047080994, -0.04477366805076599, 0.01359707023948431, -0.05048426613211632, 0.0033400561660528183, 0.01418264675885439, -0.045671120285987854, -0.009646184742450714, -0.061024539172649384, 0.01018147449940443, -0.008555878885090351, 0.0653138980269432, -0.0125087546184659, 0.024365566670894623, -0.07421346753835678, -0.003043591743335128, -0.005177514627575874, 0.03973931446671486, 0.03042345494031906, -0.026505108922719955, 0.048832062631845474, 0.034413114190101624, -0.0009141569025814533, 0.02677236497402191, -0.0004599194508045912, -0.0010428421664983034, 0.052841171622276306, -0.02748887613415718, -0.008810280822217464, 0.005139813292771578, 0.02804737538099289, -0.037247318774461746, -0.01885572448372841, 0.01744058169424534, -0.032549865543842316, -0.03239203244447708, 0.023827511817216873, 0.057744987308979034, -0.011651906184852123, 0.031122149899601936, 0.02860705554485321, 0.02730015106499195, 0.07180001586675644, -0.008576810359954834, 0.05262193828821182, -0.019717317074537277, 0.0012905537150800228, 0.001821270096115768, -0.04254615679383278, -0.04724469035863876, 0.03197181224822998, 0.01553922239691019, -0.006748660001903772, -0.04770062863826752, 0.05817886069417, 0.02215128019452095, -0.009872944094240665, 0.07726994156837463, -0.029468931257724762, -0.030796658247709274, -0.04827254265546799, 0.04640842229127884, -0.02701522968709469, -0.01330915279686451, 0.028334515169262886, -0.05191235616803169, -0.01590551622211933, -0.037958819419145584, -0.05472582206130028, -0.017745215445756912, 0.00958738848567009, 0.015933223068714142, 0.037195440381765366, 0.009318379685282707, -0.03824586421251297, 0.015414057299494743, 0.00773618184030056, -0.07757192105054855, 0.057775791734457016, 0.03445972874760628, 0.1254405975341797, -0.05017014220356941, -0.06142132729291916, 0.01851593144237995, 0.023716168478131294, -0.02255094423890114, 0.01698729768395424, 0.011196127161383629, -0.034386083483695984, -0.039822857826948166, -0.0053807091899216175, 0.05831171199679375, -0.05951543152332306, 0.005538554862141609, 0.0261092446744442, -0.003054486820474267, 0.04804067313671112, -0.06002993509173393, -0.00024855753872543573, -0.009610517881810665, -0.024901164695620537, -0.025201721116900444, 0.044318120926618576, -0.013457797467708588, 0.007935089990496635, -0.024072958156466484, -0.04474154859781265, -0.01372522208839655, 0.05539075285196304, -0.023891691118478775, -0.002237412380054593, -0.04069121554493904, 0.017118321731686592, 0.033931929618120193, 0.028613809496164322, -0.02208108827471733, 0.010095041245222092, 0.07902447879314423, 0.035451073199510574, -0.036842767149209976, 0.0652509480714798, 0.03782375901937485, -0.03566461801528931, -0.02254045382142067, -0.006265715230256319, 0.007116248365491629, -0.004347843583673239, 0.020725375041365623, 0.044893763959407806, -0.000991417677141726, -0.020574156194925308, -0.018799323588609695, 0.053095508366823196, -0.01664602756500244, -0.006241208408027887, -0.0036011291667819023, -0.0164138562977314, -0.015015754848718643, 0.03848516196012497, -0.011583023704588413, 0.0023893569596111774, -0.015351621434092522, -0.020792171359062195, 0.03171239048242569, 0.014282283373177052, 0.017871659249067307, 0.023270417004823685, 0.006639095954596996, 0.055338963866233826, -0.035941846668720245, 0.016928616911172867, -0.04986700415611267, -0.04759170487523079, 0.00016932361177168787, 0.047762881964445114, 0.03125055879354477, 0.039773136377334595, -0.010059713385999203, -0.04522193968296051, 0.019493073225021362, 0.05489902198314667, 0.04342823475599289, 0.039641451090574265, -0.020703723654150963, -0.001451995107345283, 0.013504371047019958, 0.05179425701498985, -0.05540667474269867, -0.02234477736055851, 0.04646293818950653, 0.05700944364070892, -0.00545168062672019, -0.009068619459867477, -0.010805574245750904, 0.013022580184042454, -0.03899874538183212, -0.05593212693929672, 0.015147073194384575, 0.027616430073976517, -0.005661526694893837, 0.04317546263337135, -0.004804797936230898, 0.0035231534857302904, 0.04579474404454231, 0.012402746826410294, 0.001694048405624926, -0.06122950091958046, 0.022000513970851898, 0.0229183416813612, 0.05551217868924141, -0.028564052656292915, 0.032004665583372116, -0.008311177603900433, -0.0004494625609368086, 0.053710468113422394, -0.019379807636141777, 0.06012343242764473, 0.04475189745426178, 0.04067763313651085, -0.03386567160487175, 0.0316307470202446, 0.005902648437768221, 0.029779085889458656, 0.06522587686777115, -0.01965235359966755, 0.07005897909402847, -0.02477867528796196, 0.04584987089037895, 0.07903438061475754, 0.026206566020846367, 0.010098093189299107, 0.04255913570523262, 0.05462731793522835, -0.0037076149601489305, -0.02643907256424427, 0.06068381667137146, -0.04427227005362511, 0.0387907512485981, -0.03984120488166809, 0.027075087651610374, -0.018825484439730644, 0.003742225468158722, 0.03873320668935776, 0.0008813751628622413, -0.018730435520410538, 0.012496449053287506, -0.013127070851624012, -0.014818868599832058, 0.04391462728381157, -0.01244619395583868, 0.00027303636306896806, 0.02290399745106697, -0.028641171753406525, 0.01203441247344017, -0.059495843946933746, -0.07536595314741135, 0.005610238295048475, -0.02199036441743374, -0.02377132885158062, -0.07299895584583282, -0.048907261341810226, -0.06596865504980087, -0.010053177364170551, 0.04632420092821121, 0.0024065545294433832, 0.02479042299091816, -0.022777466103434563, 0.028533507138490677, -0.037988606840372086, -0.03064696304500103, -0.049899544566869736, -0.06449464708566666, -0.05119416490197182, -0.03580867871642113, 0.0499517060816288, 0.012029989622533321, 0.007625046651810408, 0.011469201184809208, -0.01984376646578312, -0.012613982893526554, -0.02308974228799343, 0.043529581278562546, 0.038461484014987946, -0.02244332991540432, -0.05821607634425163, 0.011673510074615479, -0.021751388907432556, 0.006821139715611935, -0.022957751527428627, -0.039246734231710434, 0.0753425732254982, 0.04725010320544243, 0.026700183749198914, -0.0030931667424738407, -0.018862886354327202, -0.06976937502622604, -0.06317678838968277, -0.022796038538217545, -0.03649802505970001, -0.011726368218660355, -0.02602311223745346, -0.025444308295845985, -0.021829459816217422, -0.03250744193792343, -0.013159757480025291, -0.00017487215518485755, 0.019391288980841637, 0.051586590707302094, 0.038933005183935165, 0.028078483417630196, 0.030214253813028336, -0.04891210421919823, -0.02156447060406208, 0.07749421894550323, -0.0018405711743980646, 0.010140934959053993, -0.09070602804422379, -0.013412519358098507, 0.022827288135886192, 0.020374001935124397, 0.01731778122484684, -0.027758585289120674, 0.11344370245933533, 0.006579193752259016, -0.0028632800094783306, 0.020504843443632126, 0.0074337744154036045, -0.017639193683862686, -0.0015566353686153889, -0.009911694563925266, -0.0142765361815691, -0.05338357388973236, -0.027137000113725662, -0.023837707936763763, 0.039762530475854874, -0.05253991484642029, -0.05383289232850075, -0.016739577054977417, 0.027736550197005272, 0.01992679573595524, -0.00396536011248827, -0.04631977155804634, 0.0030306875705718994, -0.04480643570423126, -0.007388480938971043, 0.021313577890396118, -0.005589306354522705, -0.00028687974554486573, 0.04075413942337036, 0.02565404772758484, -0.03241347894072533, 0.05116889253258705, 0.034300751984119415, 0.06042415276169777, 0.02638188563287258, -0.04301859810948372, 0.040009137243032455, -0.006965461652725935, 0.03473224863409996, -0.001384916016831994, -0.03127739205956459, -0.06122494861483574, -0.08984731137752533, -0.003671248909085989, 0.000040076443838188425, -0.026278942823410034, 0.01788957417011261, 0.034811556339263916, -0.030984077602624893, -0.0020292450208216906, -0.007486637681722641, 0.012993959710001945, 0.02194366790354252, -0.04653586447238922, 0.06345222890377045, -0.028490819036960602, 0.011732775717973709, -0.036478906869888306, 0.033438462764024734, -0.04445245862007141, -0.024575980380177498, 0.017814837396144867, 0.04471299797296524, 0.006215511821210384, 0.045976873487234116, 0.06510476022958755, 0.04925189167261124, -0.043641068041324615, 0.06782437860965729, 0.041386887431144714, -0.0342404767870903, -0.0678168386220932, 0.0007531493320129812, -0.004651140887290239, 0.001935540814884007, 0.011268033646047115, -0.03400683030486107, 0.01245215255767107, 0.0386027991771698, 0.0022004423663020134, -0.03267575800418854, -0.0014141944702714682, -0.02626028098165989, -0.01870729587972164, -0.06850173324346542, -0.013223478570580482, -0.018233371898531914, -0.031022369861602783, 0.041597045958042145, 0.039755433797836304, -0.0032776580192148685, 0.05333036184310913, 0.03690476343035698, -0.023771246895194054, -0.0384039543569088, 0.046377696096897125, 0.03081563673913479, -0.055662620812654495, -0.07382472604513168, -0.04461831599473953, 0.02991027571260929, 0.030843650922179222, -0.03318498283624649, -0.07338129729032516, -0.009137501940131187, 0.06454317271709442, -0.04873058944940567, 0.07321876287460327, -0.0016986319096758962, 0.05410443991422653, 0.0770907923579216, -0.017616083845496178, 0.02395791746675968, -0.03957901522517204, -0.004911874420940876, -0.0025569850113242865, 0.04890327900648117, -0.052904415875673294, -0.040421415120363235, -0.0599261075258255, 0.04797495901584625, 0.002879885258153081, 0.051880594342947006, 0.0703473836183548, -0.04530872777104378, -0.06728103011846542, -0.009107795543968678, 0.04255848377943039, -0.03915912285447121, -0.001875482965260744, 0.038837164640426636, 0.06505107879638672, -0.06497202068567276, -0.03594864532351494, -0.0056835743598639965, 0.016606636345386505, 0.02355290576815605, 0.01618295907974243, -0.025227148085832596, -0.03385657072067261, 0.006574575789272785, -0.015333389863371849, -0.03362128138542175, -0.07996778190135956, 0.032829318195581436, -0.024066543206572533, -0.020568236708641052, 0.04933401569724083, 0.04576529935002327, 0.03917832672595978, 0.04558373987674713, -0.00867508351802826, -0.0046618301421403885, -0.035887181758880615, 0.04807744547724724, -0.024801792576909065, -0.016105443239212036, -0.006491458043456078, -0.06624413281679153, -0.015178775414824486, -0.015731874853372574, -0.02346652001142502, -0.053725749254226685, -0.03262048214673996, 0.014604892581701279, -0.008785382844507694, -0.01049802079796791, -0.007095710840076208, 0.031866349279880524, -0.018403394147753716, -0.020677588880062103, -0.01916392520070076, -0.03403797000646591, -0.07236898690462112, -0.04924407973885536, 0.018628912046551704, 0.023409349843859673, 0.029588714241981506, 0.021710623055696487, -0.001430646749213338, 0.030831316486001015, 0.002275983802974224, -0.017658576369285583, 0.02322225458920002, 0.002867190632969141, -0.03377058729529381, -0.021079804748296738, 0.019105561077594757, -0.013510995544493198, 0.014316627755761147, -0.05767620727419853, 0.022535711526870728, 0.027982115745544434, -0.04549121856689453, -0.029532646760344505, 0.015947412699460983, 0.02399718388915062, -0.07924854755401611, -0.02876507304608822, -0.01813095435500145, -0.047774627804756165, 0.045719780027866364, 0.0037526339292526245, -0.04854211211204529, -0.010117359459400177, 0.031830038875341415, -0.00039227926754392684, -0.036653537303209305, -0.030343275517225266, 0.0006314120255410671, -0.024515030905604362, 0.03339270502328873, -0.07224259525537491, 0.02734432928264141, -0.039508920162916183, 0.00770059647038579, -0.012374507263302803, -0.0016918977489694953, -0.04885946586728096, 0.053073152899742126, -0.011459195986390114, -0.0193838719278574, -0.0012911580270156264, 0.0020606687758117914, -0.034266307950019836, 0.02747858501970768, -0.004664275795221329, 0.014517026022076607, -0.019815554842352867, 0.035520609468221664, -0.07767339050769806, -0.0007519442006014287, -0.019182171672582626, -0.00037801972939632833, -0.024375030770897865, -0.009761526249349117, -0.012660286389291286, -0.03876582533121109, 0.02453567087650299, 0.03163806349039078, 0.04809894040226936, 0.03219396248459816, -0.0033605401404201984, 0.027033235877752304, 0.022229718044400215, -0.07514305412769318, -0.04657604172825813, -0.0025453416164964437, 0.022773753851652145, -0.0075195953249931335, 0.055275242775678635, 0.03067483752965927, -0.06693876534700394, -0.0600886233150959, 0.0604141503572464, 0.021092195063829422, -0.007791626267135143, 0.0029282018076628447, 0.03393710404634476, 0.05248114466667175, 0.022753307595849037, -0.010205842554569244, -0.04740818962454796, 0.016341662034392357, -0.024718841537833214, 0.003092858474701643, -0.0009072787943296134, 0.014733292162418365, 0.010968048125505447, -0.03715495020151138, -0.01755266636610031, 0.0853617787361145, 0.019325440749526024, 0.007518433965742588, -0.00821453332901001, -0.03542604297399521, 0.012242871336638927, 0.02288726158440113, -0.05246381089091301, 0.0004639699182007462, 0.013969697058200836, -0.026533953845500946, 0.05953153595328331, -0.019809143617749214, 0.028713284060359, 0.06976906955242157, 0.018507778644561768, -0.02923826314508915, 0.02482624538242817, -0.0055968742817640305, 0.014027760364115238, 0.0433574840426445, -0.05702870339155197, -0.01726021245121956, -0.008478039875626564, 0.06667134165763855, -0.055852651596069336, 0.055230192840099335, 0.035803597420454025, 0.04480327293276787, 0.030099432915449142, -0.0023794579319655895, -0.0486162044107914, 0.027429858222603798, -0.051727838814258575, 0.08401899039745331, 0.025240754708647728, -0.06667356938123703, 0.07486829161643982, 0.01259875949472189, -0.06353356689214706, 0.02202814258635044, 0.01912836730480194, 0.025745127350091934, 0.030431104823946953, 0.022122550755739212, -0.058763034641742706, -0.004696864169090986, -0.0399278923869133, 0.0242384672164917, -0.054241351783275604, -0.025580167770385742, -0.008259148336946964, -0.042692653834819794, -0.012597144581377506, 0.037796780467033386, -0.006704868283122778, -0.01631058380007744, 0.02429170534014702, -0.06044868379831314, -0.0553080178797245, -0.003464024281129241, 0.012792021967470646, -0.005021791439503431, 0.03675804287195206, -0.02499178610742092, 0.011034050956368446, 0.035318031907081604, 0.0021468368358910084, -0.044222600758075714, -0.0438690185546875, 0.01811382919549942, -0.05720803141593933, -0.019254522398114204, 0.04299755021929741, 0.017270801588892937, -0.0235237255692482, 0.006891338620334864, -0.002480127615854144, 0.020034486427903175, 0.03518124669790268, -0.03336567431688309, 0.03169875964522362, -0.05812859535217285, -0.014289447106420994, 0.031320054084062576, 0.026011569425463676, 0.009225181303918362, -0.007544176187366247, 0.03893452510237694, 0.01651044189929962, 0.04081206023693085, 0.0037851030938327312, -0.02315293624997139, -0.031130438670516014, 0.0014284291537478566, -0.019995518028736115, 0.012083557434380054, -0.005951621104031801, -0.045052871108055115, -0.0322682186961174, -0.008798674680292606, -0.006142694503068924, 0.04513343796133995, -0.05847856029868126, 0.004560652654618025, 0.04184269905090332, -0.03803581744432449, -0.055980850011110306, -0.06814239919185638, -0.03943176195025444, -0.019273245707154274, 0.020499492064118385, 0.023618092760443687, -0.014988978393375874, 0.014541509561240673, -0.026157092303037643, -0.03381408378481865, 0.05912138521671295, 0.02677546627819538, -0.018336951732635498, 0.058535341173410416, 0.057083431631326675, -0.04281670227646828, 0.059929247945547104, 0.05810224264860153, -0.06591737270355225, 0.04392040893435478, 0.00709357438609004, 0.02390933595597744, 0.026396017521619797, 0.03495559096336365, -0.026115894317626953, -0.013079367578029633, -0.06453492492437363, -0.028140127658843994, -0.046159833669662476, -0.020916802808642387, 0.03857651352882385 ]
AnonymousSub/rule_based_twostagetriplet_epochs_1_shard_1_wikiqa
[ "pytorch", "bert", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "BertForSequenceClassification" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
27
2021-01-03T20:09:24Z
--- language: en pipeline_tag: zero-shot-classification tags: - roberta-base datasets: - multi_nli - snli metrics: - accuracy license: apache-2.0 --- # Cross-Encoder for Natural Language Inference This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data The model was trained on the [SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) datasets. For a given sentence pair, it will output three scores corresponding to the labels: contradiction, entailment, neutral. ## Performance For evaluation results, see [SBERT.net - Pretrained Cross-Encoder](https://www.sbert.net/docs/pretrained_cross-encoders.html#nli). ## Usage Pre-trained models can be used like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('cross-encoder/nli-roberta-base') scores = model.predict([('A man is eating pizza', 'A man eats something'), ('A black race car starts up in front of a crowd of people.', 'A man is driving down a lonely road.')]) #Convert scores to labels label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(axis=1)] ``` ## Usage with Transformers AutoModel You can use the model also directly with Transformers library (without SentenceTransformers library): ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('cross-encoder/nli-roberta-base') tokenizer = AutoTokenizer.from_pretrained('cross-encoder/nli-roberta-base') features = tokenizer(['A man is eating pizza', 'A black race car starts up in front of a crowd of people.'], ['A man eats something', 'A man is driving down a lonely road.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = model(**features).logits label_mapping = ['contradiction', 'entailment', 'neutral'] labels = [label_mapping[score_max] for score_max in scores.argmax(dim=1)] print(labels) ``` ## Zero-Shot Classification This model can also be used for zero-shot-classification: ```python from transformers import pipeline classifier = pipeline("zero-shot-classification", model='cross-encoder/nli-roberta-base') sent = "Apple just announced the newest iPhone X" candidate_labels = ["technology", "sports", "politics"] res = classifier(sent, candidate_labels) print(res) ```
[ -0.002356111304834485, -0.009795621037483215, -0.025542056187987328, 0.05166947841644287, 0.05005417764186859, 0.03626834973692894, -0.024454934522509575, -0.010556870140135288, -0.04915012791752815, 0.06479078531265259, 0.029282867908477783, -0.010124913416802883, 0.006736331153661013, 0.04562237858772278, -0.0428091324865818, -0.035090964287519455, -0.01937028579413891, -0.02184339240193367, -0.03252033516764641, -0.04116452485322952, 0.002669824752956629, -0.00041677209082990885, 0.008423070423305035, 0.018717942759394646, -0.009467006660997868, 0.01801398955285549, -0.0244741328060627, 0.03892151266336441, 0.030222736299037933, -0.06364093720912933, 0.008699918165802956, -0.03621703386306763, -0.03705909103155136, -0.0036082370206713676, -0.007957679219543934, 0.0020576606038957834, 0.0029706964269280434, 0.0007941853837110102, 0.02169712632894516, 0.03794639930129051, 0.013960670679807663, 0.027201922610402107, -0.029723508283495903, -0.011805441230535507, 0.04876551404595375, 0.003709647571668029, -0.03289007395505905, -0.029187355190515518, 0.03743104264140129, -0.027604468166828156, -0.061999641358852386, -0.07543744146823883, -0.035449687391519547, 0.041767194867134094, -0.024747569113969803, -0.019158663228154182, -0.05985736474394798, 0.005814412608742714, 0.043072570115327835, -0.04673127830028534, -0.048230476677417755, 0.01605222374200821, -0.05354110524058342, 0.012158618308603764, 0.01709175482392311, -0.04454473778605461, -0.005601408425718546, -0.05174264311790466, 0.010706910863518715, -0.008017177693545818, 0.07208092510700226, -0.007324631325900555, 0.025314202532172203, -0.07889461517333984, -0.0011916965013369918, -0.008156824856996536, 0.0362994559109211, 0.03249698132276535, -0.021135136485099792, 0.04936733469367027, 0.026578908786177635, 0.0011489323806017637, 0.01774180307984352, -0.0033591720275580883, 0.00214024493470788, 0.06314323097467422, -0.03799549117684364, -0.004202979151159525, 0.0016500341007485986, 0.03910591080784798, -0.042743634432554245, -0.027346620336174965, 0.01926775649189949, -0.027723275125026703, -0.03544999286532402, 0.0280609130859375, 0.060021817684173584, -0.011662960052490234, 0.042026277631521225, 0.020546097308397293, 0.03654209524393082, 0.06673784554004669, -0.008878396824002266, 0.05460244417190552, -0.0170701015740633, -0.0036271705757826567, 0.0017050266033038497, -0.03603736311197281, -0.04425380378961563, 0.042824648320674896, 0.020387033000588417, -0.006770395673811436, -0.052064649760723114, 0.048792313784360886, 0.03246654197573662, -0.014155509881675243, 0.07603972405195236, -0.02621707133948803, -0.03978748247027397, -0.03896542638540268, 0.06669533997774124, -0.019323287531733513, -0.0061671072617173195, 0.024702325463294983, -0.04791812598705292, -0.013488627970218658, -0.044668715447187424, -0.05426604300737381, -0.011551542207598686, 0.005820204503834248, 0.020336303859949112, 0.029303791001439095, 0.003775820368900895, -0.027132119983434677, 0.01212423387914896, 0.017621921375393867, -0.08168250322341919, 0.06878899037837982, 0.038877978920936584, 0.12352047115564346, -0.06619551032781601, -0.05480875447392464, 0.021788448095321655, 0.020551325753331184, -0.02141379378736019, 0.01543424278497696, 0.009980469942092896, -0.045845482498407364, -0.03634989261627197, -0.008684379048645496, 0.06959149241447449, -0.054550446569919586, -0.0018392909551039338, 0.02354307658970356, -0.005612470209598541, 0.04016383737325668, -0.05420735850930214, -0.0069585805758833885, -0.013109501451253891, -0.024557117372751236, -0.030570531263947487, 0.04620318487286568, -0.014124155044555664, 0.002514887833967805, -0.020547756925225258, -0.03136458247900009, -0.012931515462696552, 0.07082284241914749, -0.027028635144233704, 0.004115543328225613, -0.028413718566298485, 0.01101729366928339, 0.020972363650798798, 0.023332543671131134, -0.0316297821700573, 0.01213959138840437, 0.07931624352931976, 0.03852282091975212, -0.03139720857143402, 0.059496551752090454, 0.03985440358519554, -0.03375914692878723, -0.009243695996701717, -0.0029071893077343702, 0.0058187381364405155, -0.005675033200532198, 0.017230689525604248, 0.045206218957901, -0.014039183035492897, -0.011070430278778076, -0.01656067743897438, 0.05437931790947914, -0.01099474262446165, -0.002406627871096134, -0.00543577317148447, -0.021938499063253403, -0.02211645059287548, 0.04538137838244438, -0.008034021593630314, 0.00014189160719979554, -0.008827143348753452, -0.02421988919377327, 0.020670060068368912, 0.012086480855941772, 0.015405066311359406, 0.027680987492203712, 0.0019822497852146626, 0.054019514471292496, -0.03546825051307678, 0.027059292420744896, -0.05126204341650009, -0.04390595480799675, -0.0033791866153478622, 0.04233742505311966, 0.026932040229439735, 0.03325153514742851, -0.002131453948095441, -0.04418429359793663, 0.0103883882984519, 0.05207710340619087, 0.04068326577544212, 0.048563402146101, -0.01645340956747532, -0.008064676076173782, -0.0032325570937246084, 0.04816815257072449, -0.05210448056459427, -0.029466966167092323, 0.050172001123428345, 0.05577553063631058, 0.003570522414520383, 0.004913751035928726, -0.014937329106032848, 0.014971792697906494, -0.03878546133637428, -0.052466150373220444, 0.017645500600337982, 0.03003630042076111, -0.009192481637001038, 0.041093554347753525, 0.000006770562322344631, -0.011472351849079132, 0.03426041081547737, 0.012306046672165394, -0.005688797682523727, -0.06221633031964302, 0.0157766155898571, 0.023882215842604637, 0.049924615770578384, -0.02551143616437912, 0.03140953183174133, -0.0006713379989378154, 0.00800303928554058, 0.04992415010929108, -0.006730259861797094, 0.05505673214793205, 0.04510015994310379, 0.03585400432348251, -0.03236827254295349, 0.03197868540883064, 0.003205083077773452, 0.03721987456083298, 0.062262117862701416, -0.021959448233246803, 0.06323999911546707, -0.020482517778873444, 0.043172042816877365, 0.08037296682596207, 0.0242711640894413, 0.013138988055288792, 0.06147313490509987, 0.060848481953144073, -0.0015632640570402145, -0.02245532162487507, 0.05668177828192711, -0.041203271597623825, 0.04170263186097145, -0.03908246010541916, 0.027997612953186035, -0.016790779307484627, -0.006466607563197613, 0.04190070182085037, -0.004001480061560869, -0.014417700469493866, -0.000611916824709624, -0.017332913354039192, -0.014072283171117306, 0.045002903789281845, -0.004440999589860439, 0.005117306485772133, 0.0251365527510643, -0.021197736263275146, 0.005828146357089281, -0.06394697725772858, -0.0712224692106247, 0.010656856931746006, -0.01999114267528057, -0.02327842265367508, -0.06682092696428299, -0.05827493220567703, -0.07400639355182648, -0.011562182568013668, 0.04856760427355766, 0.0024127124343067408, 0.025417689234018326, -0.021556945517659187, 0.03273683786392212, -0.03807208314538002, -0.034230537712574005, -0.04321928322315216, -0.06814879179000854, -0.048129890114068985, -0.0385325662791729, 0.04666321724653244, -0.0028203879483044147, 0.0034505054354667664, 0.00745154544711113, -0.021830638870596886, -0.019837014377117157, -0.029868824407458305, 0.04787140339612961, 0.041193973273038864, -0.017456410452723503, -0.052834805101156235, 0.007470571901649237, -0.023575449362397194, 0.006488898303359747, -0.01355514395982027, -0.04034822806715965, 0.0777265727519989, 0.05552971735596657, 0.034817490726709366, 0.0028665687423199415, -0.020857933908700943, -0.06752629578113556, -0.0691443532705307, -0.02437102235853672, -0.04503647983074188, -0.006339309737086296, -0.02467092126607895, -0.021416138857603073, -0.016748270019888878, -0.034096859395504, -0.019000867381691933, -0.0020216009579598904, 0.023333368822932243, 0.0578131228685379, 0.03907553106546402, 0.03487265855073929, 0.03157222270965576, -0.04647740721702576, -0.020856445655226707, 0.07139824330806732, 0.005334107670933008, 0.003129208693280816, -0.09153632819652557, -0.010802273638546467, 0.03389629349112511, 0.02832878567278385, 0.013233879581093788, -0.017179450020194054, 0.11024244874715805, 0.005586861167103052, -0.0007112780003808439, 0.023045752197504044, 0.009028024040162563, -0.026142416521906853, 0.00033232796704396605, -0.012575957924127579, -0.01638251170516014, -0.0518791601061821, -0.036324936896562576, -0.03107043169438839, 0.041326239705085754, -0.05346381664276123, -0.05555005371570587, -0.013741908594965935, 0.03146226331591606, 0.016883378848433495, 0.0070735495537519455, -0.03562387824058533, 0.005769246257841587, -0.034868936985731125, -0.016514938324689865, 0.025939645245671272, -0.006796340458095074, -0.005086845252662897, 0.043300751596689224, 0.03467836230993271, -0.023216871544718742, 0.04175477847456932, 0.029436882585287094, 0.05715106055140495, 0.02532600425183773, -0.03787033632397652, 0.042083773761987686, -0.020187346264719963, 0.03927513584494591, 0.004443260375410318, -0.03744269534945488, -0.05455714464187622, -0.08615501970052719, -0.004302706569433212, -0.005222273990511894, -0.028653891757130623, 0.015949027612805367, 0.03503827005624771, -0.02599349245429039, -0.007898987270891666, -0.004532674327492714, 0.012136305682361126, 0.02074355259537697, -0.0405859611928463, 0.07088346034288406, -0.02954239211976528, 0.022622445598244667, -0.03158010169863701, 0.025095239281654358, -0.04961732402443886, -0.029031656682491302, 0.011291448958218098, 0.043989330530166626, 0.00856807641685009, 0.04549388587474823, 0.06136935576796532, 0.05136321857571602, -0.04670128971338272, 0.058725304901599884, 0.03435659036040306, -0.02775729075074196, -0.0645165964961052, 0.00440468592569232, -0.012805144302546978, -0.0051967003382742405, 0.008375577628612518, -0.029285581782460213, 0.012432068586349487, 0.0343453586101532, 0.010814822278916836, -0.02170894481241703, -0.0031527583487331867, -0.020945999771356583, -0.027531640604138374, -0.07095619291067123, -0.0028311843052506447, -0.020616356283426285, -0.024071503430604935, 0.03954112529754639, 0.04182632267475128, -0.0005375280743464828, 0.05551135912537575, 0.035276398062705994, -0.012364194728434086, -0.033268753439188004, 0.04910602793097496, 0.03417450934648514, -0.04729717969894409, -0.07572504132986069, -0.048615314066410065, 0.023592645302414894, 0.03788409382104874, -0.0357954278588295, -0.07489356398582458, -0.002635027514770627, 0.0705452412366867, -0.04691953957080841, 0.0754806324839592, 0.0021821646951138973, 0.057147316634655, 0.0853191688656807, -0.027741441503167152, 0.019953880459070206, -0.0443003885447979, -0.010032680816948414, -0.0014231461100280285, 0.04115237668156624, -0.04078010097146034, -0.043442267924547195, -0.06298663467168808, 0.04459032043814659, 0.010502257384359837, 0.058593135327100754, 0.06654204428195953, -0.04310769960284233, -0.07176030427217484, -0.0044400510378181934, 0.03952972590923309, -0.034174513071775436, 0.0037781421560794115, 0.04135913774371147, 0.05587869882583618, -0.059891168028116226, -0.03934929892420769, 0.002099639270454645, 0.018402082845568657, 0.026400398463010788, 0.017834221944212914, -0.021015780046582222, -0.036422207951545715, 0.012552247382700443, -0.01884176954627037, -0.03201387822628021, -0.08210451900959015, 0.026200059801340103, -0.025639377534389496, -0.02064543589949608, 0.05626257508993149, 0.03970984369516373, 0.03626498952507973, 0.039012689143419266, -0.005841169506311417, -0.00037960687768645585, -0.03767754137516022, 0.03837600350379944, -0.028577612712979317, -0.013772600330412388, -0.010935288853943348, -0.060735881328582764, -0.0198051854968071, -0.02205549366772175, -0.025839567184448242, -0.046326667070388794, -0.03214816004037857, 0.0026482311077415943, -0.01591983623802662, -0.007095091510564089, -0.00950345117598772, 0.031875189393758774, -0.022325966507196426, -0.0277563389390707, -0.017810026183724403, -0.03753753751516342, -0.07233871519565582, -0.04924270510673523, 0.013299401849508286, 0.03438178077340126, 0.028596889227628708, 0.02828548662364483, -0.0026790043339133263, 0.040631603449583054, -0.0034969928674399853, -0.020163942128419876, 0.01922524720430374, 0.010289119556546211, -0.0313432477414608, -0.028080981224775314, 0.022459646686911583, -0.015600327402353287, 0.012501749210059643, -0.05571894347667694, 0.028372526168823242, 0.030465949326753616, -0.0394461490213871, -0.029721876606345177, 0.015349267050623894, 0.019216621294617653, -0.08296819776296616, -0.027909018099308014, -0.01521956454962492, -0.0539729930460453, 0.051517099142074585, 0.0029086244758218527, -0.03738613426685333, -0.006685643922537565, 0.03997587040066719, 0.003950709011405706, -0.026646682992577553, -0.027455804869532585, -0.0035274839028716087, -0.027529913932085037, 0.048269398510456085, -0.07092469185590744, 0.018850769847631454, -0.03406071662902832, 0.004866315051913261, -0.00779670150950551, -0.000697305949870497, -0.04678032547235489, 0.049220092594623566, -0.007452377583831549, -0.02254214510321617, -0.008241726085543633, 0.005362851079553366, -0.041345976293087006, 0.02748892642557621, 0.002392558613792062, 0.009902465157210827, -0.017178045585751534, 0.030420105904340744, -0.07228734344244003, 0.003466658527031541, -0.021058764308691025, 0.015223706141114235, -0.019862011075019836, -0.0158822201192379, -0.009202125482261181, -0.03189463913440704, 0.031056853011250496, 0.0286750216037035, 0.04080800712108612, 0.025205150246620178, 0.0015292726457118988, 0.02309427596628666, 0.018089205026626587, -0.0789337083697319, -0.046716731041669846, -0.0037416943814605474, 0.016155779361724854, -0.004173333290964365, 0.04777338355779648, 0.028866002336144447, -0.062337204813957214, -0.059060145169496536, 0.05469147115945816, 0.017005356028676033, -0.00770497927442193, 0.001770882518030703, 0.035924945026636124, 0.04907919093966484, 0.026216275990009308, -0.014651229605078697, -0.033005788922309875, 0.01369519717991352, -0.021669508889317513, 0.007317064795643091, -0.007913877256214619, 0.011202472262084484, 0.002291872166097164, -0.03694598749279976, -0.020448783412575722, 0.0856248140335083, 0.017347119748592377, 0.012965178117156029, -0.00010449466208228841, -0.03299706056714058, 0.004733647685497999, 0.016297468915581703, -0.0527956560254097, -0.003829598193988204, 0.005518041085451841, -0.02937277965247631, 0.06804598122835159, -0.009684132412075996, 0.025735223665833473, 0.05141772702336311, 0.014243938028812408, -0.02580338716506958, 0.02995321899652481, -0.010183187201619148, 0.015548215247690678, 0.041373785585165024, -0.05139879882335663, -0.014259766787290573, -0.011690614745020866, 0.06977676600217819, -0.04239470884203911, 0.054575126618146896, 0.03716687485575676, 0.058548543602228165, 0.02948014996945858, -0.0037275811191648245, -0.049691420048475266, 0.03244837746024132, -0.05852173641324043, 0.07582360506057739, 0.014265872538089752, -0.07757474482059479, 0.07749918103218079, 0.01787666045129299, -0.07059100270271301, 0.016527092084288597, 0.013418372720479965, 0.027813443914055824, 0.03720409423112869, 0.0260416679084301, -0.062324654310941696, -0.000863006804138422, -0.042467471212148666, 0.026349401101469994, -0.05214161425828934, -0.017437119036912918, -0.0048598176799714565, -0.03693709895014763, -0.013869448564946651, 0.0407852828502655, -0.008471843786537647, -0.008703897707164288, 0.013555383309721947, -0.06169803813099861, -0.05524878203868866, -0.008868844248354435, 0.006954103242605925, -0.0015420748386532068, 0.04323599115014076, -0.02242596447467804, 0.013170105405151844, 0.0315297432243824, 0.0055199782364070415, -0.04735814034938812, -0.03232927247881889, 0.021034536883234978, -0.051244352012872696, -0.023245861753821373, 0.0372747927904129, 0.013408548198640347, -0.01985606923699379, 0.026826828718185425, -0.010640837252140045, 0.024945376440882683, 0.035228438675403595, -0.032363422214984894, 0.03150162100791931, -0.05857628956437111, -0.007141908630728722, 0.024643640965223312, 0.025632381439208984, 0.018087586387991905, 0.004320365842431784, 0.03783838078379631, 0.018253158777952194, 0.04103751480579376, -0.003726494498550892, -0.02840553969144821, -0.039358410984277725, 0.0050963968969881535, -0.01784636825323105, 0.004776900168508291, 0.004759820178151131, -0.039498958736658096, -0.03373672813177109, -0.016575289890170097, -0.005142219364643097, 0.03911606967449188, -0.05306451767683029, 0.0109406728297472, 0.0372551828622818, -0.036855924874544144, -0.058093439787626266, -0.055812474340200424, -0.04154191538691521, -0.019871938973665237, 0.019454095512628555, 0.03311222046613693, -0.01395699568092823, 0.010311163030564785, -0.027341684326529503, -0.03767770901322365, 0.060508277267217636, 0.025062505155801773, -0.0191363338381052, 0.06626415252685547, 0.056982915848493576, -0.04018471762537956, 0.04956722632050514, 0.05252629518508911, -0.0665283128619194, 0.03469482436776161, 0.011637654155492783, 0.01860465295612812, 0.028937920928001404, 0.033328648656606674, -0.028078649193048477, -0.020649513229727745, -0.06680435687303543, -0.025873180478811264, -0.048192135989665985, -0.019808553159236908, 0.04279110208153725 ]
AnonymousSub/rule_based_twostagetriplet_hier_epochs_1_shard_1_wikiqa
[ "pytorch", "bert", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "BertForSequenceClassification" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
27
null
--- license: apache-2.0 --- # Cross-Encoder for Quora Duplicate Questions Detection This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data Given a question and paragraph, can the question be answered by the paragraph? The models have been trained on the [GLUE QNLI](https://arxiv.org/abs/1804.07461) dataset, which transformed the [SQuAD dataset](https://rajpurkar.github.io/SQuAD-explorer/) into an NLI task. ## Performance For performance results of this model, see [SBERT.net Pre-trained Cross-Encoder][https://www.sbert.net/docs/pretrained_cross-encoders.html]. ## Usage Pre-trained models can be used like this: ```python from sentence_transformers import CrossEncoder model = CrossEncoder('model_name') scores = model.predict([('Query1', 'Paragraph1'), ('Query2', 'Paragraph2')]) #e.g. scores = model.predict([('How many people live in Berlin?', 'Berlin had a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.'), ('What is the size of New York?', 'New York City is famous for the Metropolitan Museum of Art.')]) ``` ## Usage with Transformers AutoModel You can use the model also directly with Transformers library (without SentenceTransformers library): ```python from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch model = AutoModelForSequenceClassification.from_pretrained('model_name') tokenizer = AutoTokenizer.from_pretrained('model_name') features = tokenizer(['How many people live in Berlin?', 'What is the size of New York?'], ['Berlin had a population of 3,520,031 registered inhabitants in an area of 891.82 square kilometers.', 'New York City is famous for the Metropolitan Museum of Art.'], padding=True, truncation=True, return_tensors="pt") model.eval() with torch.no_grad(): scores = torch.nn.functional.sigmoid(model(**features).logits) print(scores) ```
[ 0.015250897035002708, -0.02156396023929119, -0.028499450534582138, 0.06617522984743118, 0.040300071239471436, 0.014964218251407146, -0.004057205282151699, 0.0240411926060915, -0.04062362760305405, 0.03541179373860359, 0.03126129135489464, 0.005088395904749632, 0.0012694601900875568, 0.04422354698181152, -0.052152372896671295, -0.06304845958948135, -0.041393931955099106, -0.005900468211621046, -0.026125945150852203, -0.05002644658088684, -0.024002818390727043, 0.016730356961488724, 0.018225673586130142, 0.007973886094987392, -0.0191488154232502, -0.005099688656628132, -0.014637980610132217, 0.026210809126496315, 0.011278469115495682, -0.07363386452198029, 0.02067623659968376, -0.03295234590768814, -0.037300340831279755, -0.024686960503458977, -0.004893729463219643, 0.01052019465714693, 0.014249500818550587, -0.02163557894527912, 0.026590080931782722, 0.044568680226802826, -0.03140459954738617, 0.002253493294119835, -0.011481762863695621, -0.0225842148065567, 0.045737043023109436, -0.007953399792313576, -0.03477313369512558, -0.015300040133297443, 0.025692177936434746, -0.031171411275863647, -0.051644086837768555, -0.07271065562963486, -0.032143544405698776, -0.007415850181132555, 0.001688825897872448, -0.014707094989717007, -0.05325527489185333, -0.02006811648607254, 0.056707385927438736, -0.04955579712986946, -0.03650813549757004, 0.007604741025716066, -0.07017714530229568, 0.009907939471304417, 0.04838649183511734, -0.030700506642460823, 0.0024080993607640266, -0.04134349524974823, 0.009804341942071915, -0.014382527209818363, 0.07704445719718933, -0.04210333526134491, 0.04268902912735939, -0.08626390993595123, 0.00013726936595048755, 0.016284743323922157, 0.018066970631480217, 0.01659107580780983, -0.014362521469593048, 0.04881450533866882, 0.016619814559817314, 0.003902689553797245, -0.004773077555000782, -0.03411753475666046, -0.0006360041443258524, 0.03778984025120735, -0.05123176425695419, -0.01340190414339304, -0.021107980981469154, 0.03649270907044411, -0.02819020301103592, -0.043205879628658295, -0.009621676057577133, -0.004027719143778086, -0.023537538945674896, 0.00847034901380539, 0.047055941075086594, -0.01423683948814869, 0.012366126291453838, 0.0051384735852479935, 0.04591832682490349, 0.05279425531625748, -0.014758363366127014, 0.03930969908833504, -0.016930779442191124, 0.029094170778989792, -0.00013603291881736368, -0.03498152643442154, -0.035121623426675797, 0.03182694688439369, 0.04185110330581665, -0.043985363095998764, -0.03551832586526871, 0.023067768663167953, 0.048324231058359146, -0.008508495055139065, 0.055753447115421295, -0.024964235723018646, -0.03804396465420723, -0.045517340302467346, 0.038228463381528854, 0.013196371495723724, -0.0030878691468387842, 0.0023390648420900106, -0.05022455379366875, 0.014141777530312538, -0.05521640181541443, -0.04329409822821617, 0.0006343281711451709, -0.00016432689153589308, 0.009452441707253456, 0.03472747281193733, 0.014415735378861427, -0.04574846848845482, 0.00673600472509861, 0.02332243323326111, -0.06672029197216034, 0.030758582055568695, 0.02012295462191105, 0.10213365405797958, -0.07726194709539413, -0.036872606724500656, 0.03172062337398529, 0.024181658402085304, -0.023862000554800034, 0.007142024580389261, -0.005090835504233837, -0.012757383286952972, -0.03264990448951721, -0.0015173773281276226, 0.07908487319946289, -0.050265148282051086, 0.02133820578455925, 0.017447521910071373, -0.02073538862168789, 0.02679687924683094, -0.051529813557863235, -0.0004795706190634519, -0.009080321528017521, 0.010276482440531254, -0.025432124733924866, 0.046799469739198685, -0.01603504829108715, 0.014152761548757553, -0.04361846297979355, -0.03129700571298599, -0.0131921311840415, 0.10415306687355042, -0.005906741600483656, -0.02895251102745533, -0.029905153438448906, 0.01680397428572178, 0.02162252366542816, 0.039676446467638016, -0.04224027320742607, 0.02881441079080105, 0.060807228088378906, 0.046044982969760895, -0.009959464892745018, 0.04055614024400711, 0.027170130982995033, -0.03497341275215149, -0.0068700420670211315, 0.005852795206010342, 0.009875536896288395, -0.03768489137291908, 0.03215552493929863, 0.0396089069545269, -0.0358676053583622, -0.020356815308332443, -0.0050180451944470406, 0.0646943747997284, -0.03046400099992752, -0.015389054082334042, -0.003260805504396558, 0.010538315400481224, -0.02277897670865059, 0.04083114117383957, -0.029770582914352417, 0.020428771153092384, -0.025004006922245026, -0.02916036546230316, 0.02997942641377449, -0.004442221485078335, 0.023511789739131927, 0.045991867780685425, -0.011926360428333282, 0.07908568531274796, -0.03781596198678017, 0.029193641617894173, -0.05199003592133522, -0.022650932893157005, 0.003535386174917221, 0.0511811189353466, 0.009985202923417091, 0.033764779567718506, -0.000750191044062376, -0.015007457695901394, 0.05047174543142319, 0.07008685171604156, 0.07008005678653717, 0.03764723613858223, -0.007389056030660868, 0.0012988911475986242, 0.00549252238124609, 0.07501204311847687, -0.0419144332408905, -0.004272240214049816, 0.050683535635471344, 0.023037729784846306, -0.005609316751360893, 0.006186656188219786, 0.008745044469833374, 0.004550750367343426, -0.02928350679576397, -0.07665702700614929, 0.03582897037267685, 0.018398230895400047, 0.022524822503328323, 0.01654067449271679, 0.0021144028287380934, 0.008274013176560402, 0.03453553467988968, 0.003701681038364768, -0.023376045748591423, -0.025659821927547455, -0.0018882096046581864, 0.025834714993834496, 0.04179520159959793, -0.05178270488977432, 0.026201264932751656, 0.0005665875505656004, 0.032763976603746414, 0.05599850043654442, -0.016328373923897743, 0.041739992797374725, 0.051435019820928574, 0.014151209965348244, -0.002516781911253929, 0.02158544212579727, 0.016633715480566025, 0.012257572263479233, 0.09185034781694412, -0.002353786490857601, 0.05982188880443573, -0.001698023988865316, 0.014291799627244473, 0.08297298848628998, 0.014454889111220837, 0.009049078449606895, 0.03354717046022415, 0.06587330996990204, 0.019856004044413567, -0.014862220734357834, 0.010665792971849442, -0.0594184547662735, 0.019409194588661194, -0.006653226912021637, 0.03445618599653244, 0.021253623068332672, -0.008504709228873253, 0.033904559910297394, 0.024646464735269547, -0.010840332135558128, 0.03210410848259926, -0.015305948443710804, -0.016099166125059128, 0.01839735358953476, -0.03365367650985718, 0.00994868390262127, 0.002348158974200487, -0.026088997721672058, 0.010299441404640675, -0.08152066171169281, -0.06154816597700119, -0.003208335256204009, -0.008159537799656391, 0.016058558598160744, -0.08232852071523666, -0.00017971302440855652, -0.09550132602453232, -0.016179487109184265, 0.05622890591621399, 0.015339543111622334, 0.009919957257807255, -0.031025856733322144, 0.025076601654291153, -0.03540121763944626, -0.041410572826862335, -0.053738366812467575, -0.04037606343626976, -0.06014151871204376, -0.06717237830162048, 0.04236429184675217, 0.0033691884018480778, 0.01610449329018593, -0.011033134534955025, -0.013840103521943092, -0.034189168363809586, -0.007746997755020857, 0.04379642754793167, 0.025267671793699265, -0.02737303636968136, -0.048741016536951065, 0.03384670987725258, -0.008837067522108555, 0.028976351022720337, -0.032547593116760254, -0.02340255305171013, 0.09860711544752121, 0.058889709413051605, 0.04013480991125107, 0.0022665229625999928, -0.047300685197114944, -0.05812707543373108, -0.01467920746654272, -0.046508509665727615, -0.031058810651302338, -0.006793871987611055, -0.04037070274353027, -0.039972931146621704, -0.0029126228764653206, -0.0229140967130661, -0.017635561525821686, 0.0000025226815978385275, 0.003011866705492139, 0.06768181920051575, 0.06582317501306534, 0.028485611081123352, 0.01615223102271557, -0.04749489203095436, -0.036168619990348816, 0.07033262401819229, 0.013067006133496761, 0.01806030608713627, -0.059438448399305344, -0.044856149703264236, 0.05817527696490288, 0.021956617012619972, 0.0008386000408791006, -0.021352557465434074, 0.08661863952875137, 0.0023810616694390774, -0.038025908172130585, 0.006273436360061169, -0.003547483356669545, -0.024498380720615387, 0.019226087257266045, -0.011028315871953964, -0.046363405883312225, -0.06287696957588196, -0.045505501329898834, -0.0358947217464447, 0.04687833413481712, -0.06603215634822845, -0.057494230568408966, -0.03417729213833809, 0.01859136112034321, 0.02263394184410572, 0.018137359991669655, -0.036893267184495926, 0.010985934175550938, -0.03541374206542969, -0.015556924976408482, 0.022104604169726372, 0.01109970360994339, -0.0010306427720934153, 0.01532750017940998, 0.025503434240818024, -0.013752601109445095, 0.03638412803411484, 0.028235528618097305, 0.046866465359926224, 0.01119323167949915, -0.044575490057468414, 0.02729668840765953, -0.01674172841012478, 0.016164885833859444, 0.017467821016907692, -0.020813656970858574, -0.038790263235569, -0.07795450836420059, -0.007755109574645758, 0.014839598909020424, -0.024717045947909355, -0.011546803638339043, 0.01686933822929859, -0.0007366135832853615, -0.024721238762140274, 0.0006949062808416784, 0.020047934725880623, 0.039919767528772354, -0.04273216053843498, 0.07761633396148682, 0.006347063463181257, 0.04366307333111763, -0.026219220831990242, 0.031926076859235764, -0.04752102494239807, -0.02893642522394657, 0.03260643780231476, 0.05547155812382698, 0.02221444621682167, 0.05554990842938423, 0.06077497825026512, 0.039328139275312424, -0.03994860500097275, 0.03470034897327423, 0.05194532126188278, -0.035157788544893265, -0.03890010342001915, -0.02407071180641651, 0.0034067940432578325, -0.012997354380786419, 0.005563638638705015, -0.03326679393649101, 0.05278439447283745, 0.03373352810740471, -0.00021954414842184633, -0.0005228370428085327, 0.013992703519761562, -0.016986392438411713, -0.03977358713746071, -0.04561769589781761, 0.014502523466944695, -0.02213171310722828, -0.0018192704301327467, 0.06803468614816666, 0.04361698776483536, 0.011231987737119198, 0.054525408893823624, 0.03805556148290634, 0.006379430182278156, -0.03574463725090027, 0.04685508459806442, 0.024880681186914444, -0.07981080561876297, -0.05657745152711868, -0.03732522949576378, 0.03765853866934776, 0.03353198990225792, -0.013878930360078812, -0.08391093462705612, 0.03309743478894234, 0.04699445515871048, -0.03139391168951988, 0.03843732550740242, 0.006850237026810646, 0.01111637707799673, 0.07697275280952454, -0.016820348799228668, 0.039116907864809036, -0.034724969416856766, 0.026394305750727654, -0.000378983881091699, 0.058180101215839386, -0.03716413304209709, -0.04546733945608139, -0.05119943246245384, 0.03277852386236191, 0.04919121414422989, 0.06268209218978882, 0.05907541885972023, -0.021265584975481033, -0.04382164031267166, -0.014605643227696419, 0.034682318568229675, -0.012793956324458122, 0.01735280267894268, 0.06336543709039688, 0.023463843390345573, -0.06640927493572235, -0.03396306931972504, 0.009106162935495377, -0.004793332889676094, 0.0284422617405653, -0.02141314372420311, -0.008070320822298527, -0.036151837557554245, 0.04955221340060234, -0.013858398422598839, -0.030321616679430008, -0.08900140970945358, 0.021054735407233238, 0.0031894564162939787, -0.016634421423077583, 0.06222261115908623, 0.06679525971412659, 0.02417878247797489, 0.05712975561618805, -0.025439152494072914, 0.004124467261135578, -0.02934693545103073, 0.04995204508304596, -0.05249663069844246, -0.02329803816974163, 0.0078064436092972755, -0.05107664689421654, 0.0033950309734791517, -0.03244485333561897, -0.03313903510570526, -0.03308706730604172, -0.024731306359171867, 0.003951121121644974, 0.0060601006262004375, -0.0010612196056172252, -0.019607683643698692, 0.039470136165618896, -0.04202336072921753, -0.03156887739896774, -0.0055417767725884914, -0.014359121210873127, -0.053038861602544785, -0.04043375328183174, 0.03288615122437477, 0.011157963424921036, 0.03459843993186951, 0.025080498307943344, 0.011654580943286419, 0.026329107582569122, -0.0004812871047761291, -0.03198961913585663, 0.024207068607211113, 0.01769796758890152, -0.03678184747695923, -0.03635736182332039, 0.007752306293696165, 0.00020663588657043874, 0.02136159874498844, -0.024416126310825348, 0.020226098597049713, 0.022674458101391792, -0.028920596465468407, -0.022141681984066963, 0.0020178528502583504, 0.013227341696619987, -0.0848141685128212, -0.04704435169696808, -0.025883957743644714, -0.04481642693281174, 0.05073640123009682, 0.003296359209343791, -0.07331637293100357, -0.000241553207160905, 0.035452891141176224, 0.02634624019265175, 0.0144283352419734, -0.035940129309892654, 0.041343629360198975, 0.0035465063992887735, 0.03829711303114891, -0.053896378725767136, 0.009390389546751976, -0.004810183774679899, -0.0076906210742890835, -0.02813405729830265, 0.00933844968676567, -0.04492400959134102, 0.07308631390333176, -0.03816642612218857, -0.028633901849389076, -0.012222416698932648, 0.010946969501674175, -0.05370085686445236, 0.04069800674915314, -0.01699718087911606, 0.010426233522593975, -0.045347731560468674, 0.04399332031607628, -0.07040932774543762, 0.001799493096768856, -0.040020156651735306, 0.012726804241538048, -0.05075130611658096, 0.004307772032916546, -0.02523907832801342, -0.013925569131970406, -0.003703978843986988, 0.025029471144080162, 0.012814218178391457, 0.021550513803958893, 0.005189812276512384, 0.01567446067929268, 0.002474394626915455, -0.05914419889450073, -0.026911307126283646, -0.03102848120033741, 0.008337303064763546, -0.005224544554948807, 0.042175617069005966, 0.01667688973248005, -0.049199577420949936, -0.05530251935124397, 0.053815603256225586, 0.0034036312717944384, 0.004661814775317907, 0.007067600265145302, -0.00013177607615943998, 0.041430313140153885, 0.01972884312272072, -0.02912612445652485, -0.015982715412974358, -0.009468581527471542, -0.028917936608195305, 0.016502363607287407, -0.0013921394711360335, 0.010368498973548412, -0.009696939028799534, -0.010390015318989754, -0.03261088952422142, 0.0685989111661911, 0.015329915098845959, 0.03302249684929848, 0.015933144837617874, -0.036756884306669235, 0.01230014767497778, 0.010002855211496353, -0.044247888028621674, -0.006703751627355814, -0.02529790811240673, -0.043096959590911865, 0.07393372803926468, 0.012681742198765278, -0.0007123787072487175, 0.025563936680555344, -0.008008248172700405, -0.03586125373840332, 0.05407101660966873, -0.03628290072083473, 0.01572297140955925, 0.051876895129680634, -0.054701004177331924, -0.015100809745490551, -0.016118785366415977, 0.05470496416091919, -0.05634814128279686, 0.05412820354104042, 0.015400532633066177, 0.040313344448804855, 0.012398839928209782, -0.019071945920586586, -0.061725519597530365, 0.008601241745054722, -0.046814385801553726, 0.04952704533934593, -0.003927134908735752, -0.05008222907781601, 0.074008509516716, 0.04291035979986191, -0.06740675121545792, 0.014395859092473984, 0.025911588221788406, 0.046452559530735016, 0.046617936342954636, 0.008896048180758953, -0.08329932391643524, -0.020691655576229095, -0.01161298155784607, 0.04469562694430351, -0.04151051118969917, -0.0479951910674572, 0.005404025316238403, -0.019901273772120476, -0.013547323644161224, 0.03567829728126526, -0.009572744369506836, 0.014649704098701477, 0.02206219919025898, -0.07741397619247437, -0.06029608100652695, 0.0029784347862005234, 0.014351197518408298, -0.030288703739643097, 0.01291167363524437, -0.044047437608242035, 0.017843134701251984, 0.021594613790512085, 0.005598211195319891, -0.02792464941740036, -0.019364217296242714, 0.01344687957316637, -0.06140303611755371, -0.04178021103143692, 0.029206890612840652, -0.004473015200346708, -0.03664721921086311, 0.037832409143447876, -0.03309519216418266, 0.026876451447606087, 0.041704025119543076, -0.0037912707775831223, 0.030538756400346756, -0.04141645133495331, 0.009052562527358532, 0.03288879618048668, 0.03832817077636719, 0.03271673992276192, -0.02703622542321682, 0.04512452706694603, 0.022689789533615112, 0.030801717191934586, -0.004902108572423458, -0.045150239020586014, -0.02840835601091385, 0.031730566173791885, -0.0260627344250679, 0.021154193207621574, -0.002070019021630287, -0.048663850873708725, -0.042063552886247635, -0.04096207395195961, -0.01093503087759018, 0.026390621438622475, -0.0403091236948967, -0.010601596906781197, 0.048477448523044586, -0.010498602874577045, -0.056728165596723557, -0.06721428781747818, -0.020733216777443886, -0.037084490060806274, 0.033584773540496826, 0.03913760557770729, -0.0472363717854023, 0.011398930102586746, -0.07583438605070114, -0.04311201348900795, 0.049412939697504044, 0.03057667799293995, -0.07751715928316116, 0.030453434213995934, 0.029838869348168373, -0.042966581881046295, 0.04979247227311134, 0.02868930622935295, -0.027657607570290565, 0.02900245040655136, -0.011464946903288364, 0.04158353805541992, 0.047973450273275375, 0.005856539122760296, -0.017142048105597496, -0.03407052159309387, -0.055271897464990616, -0.02878113090991974, -0.04649975895881653, -0.011120685376226902, 0.07262707501649857 ]
AnonymousSub/specter-bert-model_copy
[ "pytorch", "bert", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "BertModel" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- license: apache-2.0 --- # Cross-Encoder for Quora Duplicate Questions Detection This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data This model was trained on the [Quora Duplicate Questions](https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-Pairs) dataset. The model will predict a score between 0 and 1 how likely the two given questions are duplicates. Note: The model is not suitable to estimate the similarity of questions, e.g. the two questions "How to learn Java" and "How to learn Python" will result in a rahter low score, as these are not duplicates. ## Usage and Performance Pre-trained models can be used like this: ``` from sentence_transformers import CrossEncoder model = CrossEncoder('model_name') scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')]) ``` You can use this model also without sentence_transformers and by just using Transformers ``AutoModel`` class
[ 0.020338449627161026, -0.020981982350349426, -0.00846357736736536, 0.06582621484994888, 0.04108727350831032, 0.00627726037055254, 0.009171336889266968, 0.024784579873085022, -0.01898430474102497, 0.019872678443789482, 0.043329667299985886, 0.005123171955347061, 0.003230646951124072, 0.029843462631106377, -0.0409698523581028, -0.07194814085960388, -0.05971432849764824, -0.01016703899949789, -0.026352139189839363, -0.039660658687353134, -0.013230189681053162, 0.0022020337637513876, 0.0030246777459979057, 0.019633635878562927, -0.032323259860277176, -0.010872446931898594, 0.0020169808994978666, 0.019340913742780685, 0.003123938338831067, -0.05884898826479912, 0.01521291583776474, -0.04354970157146454, -0.012261861003935337, -0.024900007992982864, -0.0007598948432132602, 0.007972931489348412, 0.020532192662358284, -0.009561717510223389, 0.039902351796627045, 0.023159870877861977, -0.01988646201789379, -0.010558218695223331, -0.014970103278756142, -0.010899726301431656, 0.06805337965488434, -0.006225656718015671, -0.03259275108575821, 0.0005874912603758276, 0.01123080775141716, -0.01850171573460102, -0.06510253250598907, -0.05976715311408043, -0.03309067338705063, -0.01428199838846922, 0.026274027302861214, -0.017842508852481842, -0.03101067803800106, -0.02131943590939045, 0.05384892225265503, -0.04088911786675453, -0.039830535650253296, -0.0032060660887509584, -0.07879814505577087, 0.0016419567400589585, 0.06392205506563187, -0.04890725761651993, 0.005925761070102453, -0.03783722221851349, 0.01581539958715439, -0.02888582833111286, 0.094195656478405, -0.05034573748707771, 0.04408510401844978, -0.06881807744503021, 0.01162210013717413, 0.007287892047315836, 0.014708428643643856, 0.02075883559882641, 0.006423545069992542, 0.0361068956553936, 0.019214622676372528, 0.0014009115984663367, 0.005916871130466461, -0.046563293784856796, 0.01810367777943611, 0.029944710433483124, -0.03749752789735794, 0.004759748466312885, -0.03036470152437687, 0.03181326761841774, -0.03319753333926201, -0.027981393039226532, -0.010423390194773674, 0.01333884708583355, 0.010806445963680744, -0.002834198297932744, 0.03669581189751625, -0.023280974477529526, 0.016716832295060158, 0.0005555695970542729, 0.04337219521403313, 0.03953591734170914, -0.023332376033067703, 0.024979598820209503, -0.023933060467243195, 0.02578739821910858, -0.010208174586296082, -0.05124746635556221, -0.03762342035770416, 0.019206086173653603, 0.05367613583803177, -0.045161593705415726, -0.005076671484857798, 0.010749905370175838, 0.02543686516582966, -0.009226755239069462, 0.061897266656160355, -0.02998022362589836, -0.049174413084983826, -0.044872086495161057, 0.028821280226111412, 0.015988659113645554, -0.008261214010417461, 0.014557651244103909, -0.038270674645900726, 0.0038782621268182993, -0.03855925425887108, -0.05490947514772415, 0.005775017198175192, -0.00420420290902257, 0.006368077360093594, 0.03219396993517876, 0.009730751626193523, -0.053248677402734756, 0.007962952367961407, 0.011122473515570164, -0.0713186115026474, 0.030025595799088478, 0.011164005845785141, 0.07208498567342758, -0.06813944876194, -0.04222847521305084, 0.02452564612030983, 0.021603591740131378, -0.03450733423233032, 0.02409316413104534, -0.01192411594092846, -0.0157022662460804, -0.03440143167972565, -0.00716252438724041, 0.07092458009719849, -0.05696462094783783, 0.03347665071487427, 0.02316124737262726, -0.00985617097467184, 0.03658440709114075, -0.0161848496645689, -0.0067798118107020855, 0.007955878973007202, 0.02386617660522461, -0.008774328976869583, 0.04983582720160484, -0.0008460895624011755, 0.039578936994075775, -0.02737405337393284, -0.0320054367184639, -0.00041885022073984146, 0.09701498597860336, -0.00595843605697155, -0.03281105309724808, -0.031518206000328064, 0.01969415694475174, 0.013364444486796856, 0.01795666106045246, -0.04494289681315422, 0.02727486379444599, 0.06186152622103691, 0.039638299494981766, -0.03057684563100338, 0.04543121159076691, 0.0179602038115263, -0.035708606243133545, -0.019119730219244957, 0.01860842853784561, 0.013371549546718597, -0.05927310883998871, 0.04631131887435913, 0.05373714864253998, -0.02297806926071644, -0.01763789728283882, -0.011970472522079945, 0.03673011437058449, -0.04829179495573044, -0.016046395525336266, 0.003737460821866989, 0.012750890105962753, -0.03621881827712059, 0.0440673902630806, -0.018321529030799866, 0.025903180241584778, -0.013846276327967644, -0.005212415941059589, 0.027073586359620094, 0.000404632679419592, -0.010968626476824284, 0.0483296774327755, -0.007348978891968727, 0.07003657519817352, -0.025172965601086617, 0.04122675210237503, -0.04947415739297867, -0.031710945069789886, -0.0197990033775568, 0.051396917551755905, 0.016717953607439995, 0.033349212259054184, -0.015550815500319004, -0.03308815509080887, 0.06714362651109695, 0.0572664700448513, 0.09706500172615051, 0.03459405153989792, -0.012712866067886353, -0.009079160168766975, 0.011885495856404305, 0.06884033977985382, -0.03705635666847229, 0.004922188352793455, 0.037251438945531845, 0.036893803626298904, -0.01432054303586483, -0.017317716032266617, 0.0025164803955703974, 0.0007962914532981813, -0.024942079558968544, -0.07099606841802597, 0.036466218531131744, 0.002223252784460783, 0.04427541792392731, 0.006636322941631079, -0.0015098457224667072, 0.017149820923805237, 0.034237414598464966, 0.022715091705322266, -0.02456330694258213, -0.03722849860787392, 0.008990985341370106, 0.021935483440756798, 0.05413410812616348, -0.03506438434123993, 0.018882283940911293, -0.01535043865442276, 0.03129859268665314, 0.056126635521650314, -0.025133302435278893, 0.04634248465299606, 0.038459133356809616, -0.00042517116526141763, -0.015330466441810131, 0.02169763296842575, 0.01923295296728611, 0.003937909379601479, 0.07249429076910019, -0.020008143037557602, 0.04336504638195038, -0.0029334325809031725, 0.010130406357347965, 0.05944380164146423, 0.0033621424809098244, 0.008475976064801216, -0.0095053780823946, 0.05086001381278038, 0.02188831754028797, -0.021532801911234856, 0.004212513100355864, -0.08324594795703888, 0.022472189739346504, 0.0018795544747263193, 0.023278947919607162, 0.023368822410702705, -0.0063230968080461025, 0.040370505303144455, 0.02946382388472557, -0.025607986375689507, 0.04293552041053772, -0.008156435564160347, -0.0440913587808609, -0.0209269467741251, -0.049126848578453064, 0.0032811202108860016, 0.007316174451261759, -0.005146043840795755, 0.003909984603524208, -0.08044376224279404, -0.04833415895700455, -0.013860314153134823, -0.0030147868674248457, 0.021309010684490204, -0.08784887939691544, 0.014557172544300556, -0.07938425987958908, -0.03091295436024666, 0.04864504188299179, 0.007466831244528294, 0.012684537097811699, -0.03285966441035271, 0.019690150395035744, -0.02531360276043415, -0.02857477217912674, -0.04149651899933815, -0.0484401136636734, -0.06209077313542366, -0.0470208115875721, 0.022848108783364296, 0.017643963918089867, 0.04601121321320534, -0.013504104688763618, -0.0023501133546233177, -0.03596816211938858, -0.011313426308333874, 0.049537498503923416, 0.01234563160687685, -0.03520304709672928, -0.03937612846493721, 0.06688917428255081, -0.010470026172697544, 0.021169111132621765, -0.022219941020011902, -0.031534161418676376, 0.10330958664417267, 0.04349418729543686, 0.032810281962156296, -0.007012433372437954, -0.04235149547457695, -0.04303821921348572, -0.024921007454395294, -0.04695470631122589, -0.03708809241652489, -0.010707339271903038, -0.052888818085193634, -0.03881799057126045, -0.007669694721698761, -0.029223620891571045, -0.018992524594068527, 0.016844501718878746, 0.007679716218262911, 0.0674387738108635, 0.05688593536615372, 0.03839723393321037, 0.006372055504471064, -0.030984915792942047, -0.03741999715566635, 0.0714631900191307, -0.0045418101362884045, 0.005353302229195833, -0.049521300941705704, -0.041951850056648254, 0.060181133449077606, 0.022284958511590958, 0.010317630134522915, -0.0330849327147007, 0.06430713832378387, -0.006376621779054403, -0.03999801725149155, 0.021128343418240547, -0.015398398041725159, -0.026716966181993484, 0.03274181857705116, 0.0054234350100159645, -0.04254008084535599, -0.0604884959757328, -0.023795008659362793, -0.049210406839847565, 0.05723530054092407, -0.05356120318174362, -0.03850478306412697, -0.04094327241182327, 0.00015389634063467383, 0.024479331448674202, 0.01190957147628069, -0.017060134559869766, 0.00862126611173153, -0.05589450150728226, -0.025461329147219658, 0.03596566990017891, 0.016595708206295967, -0.0008989545167423785, 0.006936273537576199, 0.004865610506385565, -0.015205967240035534, 0.037150364369153976, 0.03712693601846695, 0.026183266192674637, 0.007210512645542622, -0.06930212676525116, 0.020287878811359406, -0.006314935628324747, 0.018085287883877754, 0.006033461075276136, 0.0019440267933532596, -0.04765430465340614, -0.08354673534631729, -0.03489874675869942, 0.011150549165904522, -0.025983178988099098, -0.0018932202365249395, 0.014166409149765968, 0.014696452766656876, -0.01689104363322258, 0.001465756562538445, 0.01721249334514141, 0.039939671754837036, -0.025853749364614487, 0.07108708471059799, -0.012672055512666702, 0.02758132666349411, -0.018887996673583984, 0.025477334856987, -0.055908069014549255, -0.044103462249040604, 0.037214986979961395, 0.05042028799653053, 0.021491006016731262, 0.04985218867659569, 0.04868592321872711, 0.017064053565263748, -0.032756417989730835, 0.03776863217353821, 0.058588430285453796, -0.03553632274270058, -0.05652765557169914, -0.01590048521757126, 0.021901600062847137, -0.0072554307989776134, 0.007726829033344984, -0.03417856618762016, 0.0688716471195221, 0.031023722141981125, -0.018054183572530746, 0.010492968373000622, 0.011334234848618507, -0.04116185009479523, -0.06044846773147583, -0.044564809650182724, 0.0364856943488121, -0.022559011355042458, -0.01311869453638792, 0.05221666023135185, 0.056219130754470825, 0.012347167357802391, 0.04178899899125099, 0.031586408615112305, -0.012493765912950039, -0.03165788576006889, 0.04001554101705551, 0.03488569334149361, -0.07102794945240021, -0.06420507282018661, -0.0413309745490551, 0.03285382315516472, 0.029131818562746048, -0.007213483098894358, -0.06859736889600754, 0.05178337171673775, 0.04231944680213928, -0.07269158959388733, 0.0407198928296566, 0.009321075864136219, 0.009573760442435741, 0.0448785237967968, -0.004036640282720327, 0.049638330936431885, -0.015782587230205536, 0.02663903869688511, 0.009576504118740559, 0.06994922459125519, -0.03358989581465721, -0.0448542945086956, -0.07244420796632767, 0.03433942049741745, 0.051135629415512085, 0.05742867290973663, 0.05809876322746277, -0.0478343665599823, -0.036060482263565063, -0.017493905499577522, 0.016429463401436806, -0.02908351644873619, 0.022745275869965553, 0.0770077109336853, -0.010865540243685246, -0.052882883697748184, -0.02980259619653225, -0.0009778483072295785, -0.005865323357284069, 0.023640921339392662, -0.023070232942700386, -0.019313085824251175, -0.028712991625070572, 0.060384608805179596, 0.012807168066501617, -0.049775414168834686, -0.09092067182064056, 0.030649734660983086, 0.006716255564242601, -0.03675134852528572, 0.0861106589436531, 0.06324305385351181, 0.03328657150268555, 0.07119829207658768, -0.023928198963403702, 0.008314641192555428, -0.027665097266435623, 0.05510866641998291, -0.040147680789232254, -0.02874884009361267, 0.0010142342653125525, -0.03106215037405491, -0.018063176423311234, -0.024144494906067848, -0.016891729086637497, -0.020883917808532715, -0.018928440287709236, 0.010892595164477825, -0.014787924475967884, 0.002154468558728695, -0.028979089111089706, 0.01589694619178772, -0.03740603104233742, -0.02191477082669735, 0.0034481522161513567, -0.010133670642971992, -0.04393024742603302, -0.05123751983046532, 0.04674690216779709, 0.008052689023315907, 0.034710608422756195, 0.04536747932434082, 0.013007164001464844, 0.04169010743498802, 0.0035763918422162533, -0.040149904787540436, 0.005022088531404734, 0.012154408730566502, -0.04175770655274391, -0.04259474575519562, 0.007242346182465553, -0.005634012166410685, 0.03291644901037216, -0.0320061594247818, 0.01981322094798088, 0.021789340302348137, -0.031305793672800064, -0.009635260328650475, 0.004391922615468502, -0.003635730594396591, -0.07409895956516266, -0.04829065501689911, -0.02654780074954033, -0.04631471261382103, 0.042324695736169815, -0.008019823580980301, -0.06700092554092407, -0.018476974219083786, 0.018309596925973892, 0.028840914368629456, 0.010763307102024555, -0.03070920892059803, 0.057106200605630875, -0.005755663383752108, 0.008995428681373596, -0.03427314758300781, 0.010686124674975872, -0.007968890480697155, 0.009111727587878704, -0.03599971905350685, 0.02995673194527626, -0.03918294236063957, 0.07519606500864029, -0.04963546618819237, -0.04088037088513374, -0.01465525757521391, 0.014139562845230103, -0.04575009271502495, 0.044866565614938736, -0.024605270475149155, -0.008237820118665695, -0.04737233743071556, 0.06927080452442169, -0.06209859624505043, -0.0009532844997011125, -0.0355437770485878, 0.005848504137247801, -0.05038955807685852, 0.017334887757897377, -0.05177822709083557, -0.015339789912104607, 0.011410949751734734, 0.026034824550151825, 0.00487390486523509, 0.007841650396585464, 0.009599064476788044, 0.008636106736958027, 0.011579272337257862, -0.05781073123216629, -0.015887275338172913, -0.038463398814201355, -0.0017222488531842828, 0.012729289941489697, 0.03630508854985237, 0.02331528626382351, -0.039187926799058914, -0.048091378062963486, 0.036928433924913406, 0.01792767643928528, -0.0015513619873672724, 0.02284095250070095, -0.008021239191293716, 0.021689556539058685, 0.0014982076827436686, -0.011781969107687473, -0.005499741993844509, -0.00016400773893110454, -0.024222854524850845, 0.022478288039565086, -0.005797156132757664, 0.018584134057164192, -0.011976734735071659, -0.020167166367173195, -0.024919431656599045, 0.07780951261520386, 0.01874633878469467, 0.047289591282606125, 0.014110341668128967, -0.043840888887643814, 0.036660049110651016, 0.04482223838567734, -0.035821687430143356, -0.007926718331873417, -0.038172170519828796, -0.034684523940086365, 0.06622960418462753, -0.0025806091725826263, -0.010272067040205002, 0.04734893888235092, 0.006232166197150946, -0.04321809485554695, 0.06040608510375023, -0.041899483650922775, 0.013160603120923042, 0.06635355949401855, -0.049384329468011856, -0.011635174974799156, -0.020144935697317123, 0.04158645123243332, -0.060523927211761475, 0.06079898029565811, 0.017770713195204735, 0.037728771567344666, 0.008912893943488598, -0.015808872878551483, -0.06343171745538712, -0.008401857689023018, -0.038319364190101624, 0.050806064158678055, -0.0014596328837797046, -0.04659324511885643, 0.07820434123277664, 0.043932605534791946, -0.062261976301670074, 0.02509445697069168, 0.02586636133491993, 0.029209217056632042, 0.04192183539271355, 0.006878028158098459, -0.05728653445839882, -0.017489369958639145, -0.025791358202695847, 0.054908569902181625, -0.04533173516392708, -0.050240326672792435, 0.01552526280283928, -0.03189351037144661, -0.005122629925608635, 0.04420926049351692, 0.007546616718173027, 0.02183472365140915, 0.007770160213112831, -0.08425404876470566, -0.07537692785263062, 0.016862858086824417, 0.04645659029483795, -0.019799677655100822, -0.008736060932278633, -0.0462355837225914, 0.021497121080756187, 0.04815727844834328, -0.013532568700611591, -0.02332051657140255, -0.01754395291209221, -0.0027940450236201286, -0.08410909026861191, -0.05685078725218773, 0.015854591503739357, 0.017292199656367302, -0.03699686378240585, 0.02862161584198475, -0.008014701306819916, 0.039909373968839645, 0.03398355841636658, -0.0029381117783486843, 0.015503563918173313, -0.04189414903521538, -0.01429896242916584, 0.009712657891213894, 0.01963941939175129, 0.056231774389743805, -0.05055186524987221, 0.04181422293186188, 0.014030128717422485, 0.018224334344267845, -0.0066494992934167385, -0.03124134987592697, -0.03851267322897911, 0.029914135113358498, -0.02061724290251732, 0.03813714534044266, -0.005866456311196089, -0.04399367421865463, -0.049180831760168076, -0.011856801807880402, -0.005830902140587568, 0.02498241700232029, -0.05540505796670914, -0.011276816949248314, 0.03547332435846329, -0.011806432157754898, -0.055325351655483246, -0.07881038635969162, -0.03355937451124191, -0.0202403012663126, 0.044144947081804276, 0.043923430144786835, -0.058208685368299484, 0.006025080569088459, -0.056172654032707214, -0.028666097670793533, 0.03149200603365898, 0.052202191203832626, -0.07382410764694214, 0.014932263642549515, 0.026721974834799767, -0.035241931676864624, 0.04812341183423996, 0.030537359416484833, -0.03923308104276657, 0.018066827207803726, -0.011989307589828968, 0.04032687097787857, 0.0496976263821125, -0.015137841925024986, -0.03588562086224556, -0.013512994162738323, -0.04632854089140892, -0.030274463817477226, -0.052742887288331985, -0.014425648376345634, 0.04696008190512657 ]
AnonymousSub/specter-bert-model_squad2.0
[ "pytorch", "bert", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "BertForQuestionAnswering" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
1
null
--- license: apache-2.0 --- # Cross-Encoder for Quora Duplicate Questions Detection This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data This model was trained on the [STS benchmark dataset](http://ixa2.si.ehu.eus/stswiki/index.php/STSbenchmark). The model will predict a score between 0 and 1 how for the semantic similarity of two sentences. ## Usage and Performance Pre-trained models can be used like this: ``` from sentence_transformers import CrossEncoder model = CrossEncoder('model_name') scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')]) ``` The model will predict scores for the pairs `('Sentence 1', 'Sentence 2')` and `('Sentence 3', 'Sentence 4')`. You can use this model also without sentence_transformers and by just using Transformers ``AutoModel`` class
[ 0.014462045393884182, -0.02463645488023758, -0.025633063167333603, 0.07678654789924622, 0.04727097228169441, 0.016413522884249687, -0.011106248944997787, 0.03255503252148628, -0.04920853674411774, 0.039683107286691666, 0.031060367822647095, -0.0019135733600705862, 0.005001100245863199, 0.025954678654670715, -0.04588279873132706, -0.06684830039739609, -0.03872724622488022, -0.007726013660430908, -0.021883390843868256, -0.04556974023580551, -0.0007599472883157432, 0.006955001037567854, -0.001103591755963862, 0.0237971693277359, -0.02504265308380127, -0.003547726897522807, -0.009635064750909805, 0.017376577481627464, -0.001345807802863419, -0.051805440336465836, 0.024661380797624588, -0.02021925523877144, -0.036383964121341705, -0.01619724929332733, -0.0046995882876217365, 0.029407499358057976, 0.012367699295282364, -0.007713977713137865, 0.03240519389510155, 0.031448446214199066, -0.0219736248254776, 0.005162419285625219, -0.023313364014029503, -0.019879203289747238, 0.0618455745279789, 0.0015881664585322142, -0.02941586636006832, -0.019097622483968735, 0.022338123992085457, -0.03688449785113335, -0.0613195039331913, -0.07321490347385406, -0.02489153854548931, 0.006281758192926645, 0.0280821043998003, -0.01239689253270626, -0.04810188710689545, -0.019611576572060585, 0.04944055899977684, -0.05066565424203873, -0.028893902897834778, 0.006920955143868923, -0.08594807982444763, 0.0025690151378512383, 0.05105850100517273, -0.04885176569223404, 0.007333297282457352, -0.03917359933257103, 0.012763638980686665, -0.029635028913617134, 0.0783434733748436, -0.04025239497423172, 0.045704953372478485, -0.07818248867988586, 0.0007610800676047802, -0.00639096787199378, 0.0015099119627848268, 0.02281457930803299, -0.01051519624888897, 0.04520260915160179, 0.020780863240361214, -0.009196512401103973, 0.009961375966668129, -0.02898424305021763, 0.005621860269457102, 0.05049001798033714, -0.04518416151404381, 0.006966425105929375, -0.0339789055287838, 0.034522976726293564, -0.04498809576034546, -0.02750949189066887, 0.006066330708563328, -0.015820100903511047, -0.013577700592577457, 0.0016098336782306433, 0.04088788107037544, -0.01967378705739975, 0.015371402725577354, 0.009259158745408058, 0.037207167595624924, 0.05255264788866043, -0.014109575189650059, 0.02462788112461567, -0.024929095059633255, 0.017352964729070663, -0.010764827951788902, -0.05012105405330658, -0.04062975198030472, 0.028788909316062927, 0.04437263309955597, -0.04386072978377342, -0.025060804560780525, 0.02616553194820881, 0.041573554277420044, -0.017505908384919167, 0.06831290572881699, -0.03185851126909256, -0.04211213439702988, -0.049240898340940475, 0.04380057752132416, 0.01837856136262417, -0.000715558766387403, 0.009042060934007168, -0.046156395226716995, 0.012887819670140743, -0.04324260726571083, -0.05938299745321274, 0.00038934231270104647, 0.005416246131062508, 0.006594806909561157, 0.032343003898859024, 0.012446960434317589, -0.053159404546022415, 0.004073156043887138, 0.0030983653850853443, -0.08541528135538101, 0.028145015239715576, 0.03115517646074295, 0.07710278034210205, -0.054980747401714325, -0.033769816160202026, 0.03438006713986397, 0.02741216868162155, -0.026329413056373596, 0.021202992647886276, 0.005379565991461277, -0.01587904430925846, -0.021975133568048477, -0.024673739448189735, 0.08276873826980591, -0.05836739391088486, 0.02378924749791622, 0.026590703055262566, -0.02259834110736847, 0.03482490032911301, -0.028995666652917862, -0.0033272940199822187, 0.010312067344784737, 0.02421673573553562, -0.018916424363851547, 0.05042377486824989, -0.010595185682177544, 0.023500632494688034, -0.028734447434544563, -0.022706743329763412, -0.004585998132824898, 0.09650854021310806, -0.013298590667545795, -0.036760274320840836, -0.043149229139089584, 0.01816767081618309, 0.03100622445344925, 0.02373351715505123, -0.029041647911071777, 0.013078290969133377, 0.07045386731624603, 0.05187618359923363, -0.010626683942973614, 0.056445155292749405, 0.00920990202575922, -0.030967850238084793, -0.01313408650457859, 0.018963387235999107, 0.018933193758130074, -0.03494910150766373, 0.04827161133289337, 0.06334878504276276, -0.0267932191491127, -0.014284932054579258, -0.02630322054028511, 0.053620025515556335, -0.04227059707045555, -0.016869598999619484, -0.00304525438696146, 0.005917664617300034, -0.03245224058628082, 0.04255209118127823, -0.008911265060305595, 0.016966238617897034, -0.024423064664006233, -0.0189749076962471, 0.0307195745408535, 0.015117103233933449, 0.00460091745480895, 0.03879290819168091, 0.0076909372583031654, 0.08009009063243866, -0.02402324229478836, 0.04091788828372955, -0.04571171849966049, -0.038496892899274826, -0.0330672487616539, 0.03654403239488602, 0.0068955253809690475, 0.04779127985239029, 0.004643207415938377, -0.024944357573986053, 0.04576815292239189, 0.05073412135243416, 0.0690874382853508, 0.041303738951683044, -0.012609961442649364, -0.016519805416464806, 0.012714272364974022, 0.06746372580528259, -0.03841767460107803, -0.012875707820057869, 0.04686664044857025, 0.02057669311761856, -0.014356046915054321, -0.0033622581977397203, 0.014659952372312546, 0.02361016720533371, -0.025877727195620537, -0.06538596004247665, 0.02905898354947567, 0.008897736668586731, 0.02377314865589142, 0.003775833873078227, -0.002964968327432871, 0.008894271217286587, 0.03922415152192116, 0.007377733942121267, -0.021178681403398514, -0.03572269156575203, 0.010767068713903427, 0.02068297564983368, 0.052724193781614304, -0.026638245210051537, 0.0329047366976738, -0.005093263927847147, 0.02638350799679756, 0.052868425846099854, -0.015061335638165474, 0.02451719343662262, 0.06181512027978897, -0.0007377000874839723, -0.0026888942811638117, 0.025347843766212463, 0.018150843679904938, 0.007247934117913246, 0.07724495977163315, -0.025281520560383797, 0.05726543068885803, 0.010140440426766872, 0.00826630275696516, 0.06568706035614014, 0.009800836443901062, 0.015509000979363918, 0.01670687086880207, 0.06458652764558792, 0.010266212746500969, -0.014663361012935638, 0.0274201650172472, -0.06062046438455582, 0.038149118423461914, -0.0027759172953665257, 0.035492632538080215, 0.01093630027025938, -0.004587217234075069, 0.03608907759189606, 0.019992616027593613, -0.01667933352291584, 0.027874408289790154, -0.026432087644934654, -0.03604291006922722, 0.009144194424152374, -0.02822081930935383, 0.024068178609013557, 0.01400836557149887, -0.02584478259086609, 0.0028775848913937807, -0.08244188129901886, -0.05316614359617233, -0.004874476231634617, -0.007522740866988897, 0.021568136289715767, -0.08816473931074142, -0.01115818228572607, -0.0697096660733223, -0.032884906977415085, 0.04657529294490814, -0.0022673842031508684, 0.02015751786530018, -0.015062582679092884, 0.024308539927005768, -0.0300460085272789, -0.030758574604988098, -0.050579193979501724, -0.03981166332960129, -0.049656014889478683, -0.053082194179296494, 0.029630733653903008, 0.0037244553677737713, 0.03604723513126373, -0.006322194822132587, -0.016479123383760452, -0.027594467625021935, -0.014791950583457947, 0.055897921323776245, 0.012452871538698673, -0.02724381349980831, -0.03744138032197952, 0.047621242702007294, -0.01665133237838745, 0.025599559769034386, -0.032910335808992386, -0.02495144121348858, 0.08138243108987808, 0.04774175211787224, 0.032142847776412964, 0.001630130223929882, -0.04940853267908096, -0.0568554513156414, -0.03219500929117203, -0.034960389137268066, -0.03740450367331505, -0.01938246376812458, -0.04237990826368332, -0.040281083434820175, 0.0001431927375961095, -0.02642926387488842, -0.03703813999891281, 0.016872303560376167, 0.020564932376146317, 0.07266035676002502, 0.05548648163676262, 0.04483762010931969, 0.012059839442372322, -0.030954698100686073, -0.015738999471068382, 0.09101559966802597, 0.013797841034829617, 0.012682529166340828, -0.06857448816299438, -0.03311898931860924, 0.0424666665494442, 0.02209147997200489, 0.004781651776283979, -0.030824048444628716, 0.07867250591516495, 0.0035679717548191547, -0.021910857409238815, 0.014735078439116478, 0.012938190251588821, -0.030887775123119354, 0.025929167866706848, -0.01929483190178871, -0.03546081483364105, -0.060993492603302, -0.019150961190462112, -0.051702339202165604, 0.04938172549009323, -0.06148955971002579, -0.037200603634119034, -0.038968756794929504, 0.006433018017560244, 0.03087572567164898, 0.013599136844277382, -0.012177768163383007, 0.014574657194316387, -0.04026545584201813, -0.023763397708535194, 0.02725938893854618, 0.00939430482685566, -0.0061485120095312595, 0.02961834706366062, 0.017221150919795036, -0.027387265115976334, 0.035838790237903595, 0.03287118300795555, 0.03246428072452545, 0.013000649400055408, -0.05036206170916557, 0.036519892513751984, -0.022946598008275032, 0.02097809687256813, 0.020557686686515808, -0.011886044405400753, -0.055304381996393204, -0.07695689797401428, -0.030126018449664116, 0.012382575310766697, -0.02364477515220642, -0.0028159581124782562, 0.006471634842455387, -0.01451154239475727, -0.021074287593364716, 0.008428739383816719, 0.015805641189217567, 0.039603784680366516, -0.03786953538656235, 0.060984816402196884, -0.020282387733459473, 0.03435884788632393, -0.03128452226519585, 0.013332379050552845, -0.04343931004405022, -0.04826108738780022, 0.032478611916303635, 0.0566038116812706, 0.010497520677745342, 0.053869228810071945, 0.060704756528139114, 0.024481680244207382, -0.02831442281603813, 0.04119044169783592, 0.04601077735424042, -0.025537310168147087, -0.060059476643800735, -0.016195492818951607, 0.01673172041773796, -0.01849536783993244, 0.007814359851181507, -0.036735232919454575, 0.06981870532035828, 0.02340175025165081, -0.01122024841606617, -0.010003812611103058, 0.006901076529175043, -0.03698136284947395, -0.04739748686552048, -0.06031538546085358, 0.011505156755447388, -0.023911306634545326, -0.016788071021437645, 0.04918306693434715, 0.04719136655330658, 0.0021713690366595984, 0.04467003047466278, 0.040119532495737076, -0.010944330133497715, -0.02582859992980957, 0.048262692987918854, 0.04410691186785698, -0.06503165513277054, -0.06449497491121292, -0.038203176110982895, 0.021261578425765038, 0.03470491245388985, -0.023167114704847336, -0.08175773918628693, 0.041669245809316635, 0.050131600350141525, -0.051707152277231216, 0.04517384245991707, 0.0007648535538464785, 0.025503339245915413, 0.05868269130587578, -0.0005221085739322007, 0.049148079007864, -0.020733745768666267, 0.017057621851563454, 0.012842359021306038, 0.06378142535686493, -0.042595382779836655, -0.05031420662999153, -0.050079118460416794, 0.029215112328529358, 0.050573088228702545, 0.06885447353124619, 0.07260271906852722, -0.038167864084243774, -0.04257163777947426, -0.009209933690726757, 0.01445062831044197, -0.035944659262895584, 0.005474223289638758, 0.06617286801338196, 0.016566596925258636, -0.039651982486248016, -0.04232453554868698, -0.01100688986480236, 0.010208587162196636, 0.03290858864784241, -0.008840998634696007, -0.012800290249288082, -0.03791413828730583, 0.04873671010136604, 0.0181057658046484, -0.04159700870513916, -0.09670234471559525, 0.017990652471780777, 0.005098676774650812, -0.02977261319756508, 0.07680952548980713, 0.06545597314834595, 0.042752161622047424, 0.05877883359789848, -0.022839022800326347, 0.020200233906507492, -0.029214641079306602, 0.05125875771045685, -0.029179103672504425, -0.020048201084136963, 0.0014746839879080653, -0.04993104562163353, -0.022189049050211906, -0.0395999401807785, -0.034649789333343506, -0.0329747274518013, -0.028022803366184235, 0.009584381245076656, -0.028265701606869698, 0.014979221858084202, -0.021882949396967888, 0.018116265535354614, -0.02318754233419895, -0.007046029902994633, -0.012550750747323036, -0.024397127330303192, -0.059758469462394714, -0.036243341863155365, 0.029778635129332542, 0.015335194766521454, 0.031232820823788643, 0.03267703950405121, 0.0030314645264297724, 0.034108374267816544, -0.013185558840632439, -0.042420439422130585, 0.023641575127840042, 0.007375865243375301, -0.042131081223487854, -0.04244430735707283, 0.001771006267517805, 0.0037141095381230116, 0.030608821660280228, -0.033668458461761475, 0.0178813599050045, 0.023728426545858383, -0.0437951497733593, -0.01510835625231266, 0.009035032242536545, 0.022540492936968803, -0.09013841301202774, -0.06294652074575424, -0.010684537701308727, -0.045862287282943726, 0.0404135137796402, 0.0002869214804377407, -0.057191964238882065, -0.006664155516773462, 0.03030414693057537, 0.005672368686646223, 0.008919951505959034, -0.03441851958632469, 0.03816961497068405, 0.0019345846958458424, 0.008107384666800499, -0.06674959510564804, 0.01368666160851717, -0.017257684841752052, 0.006371756084263325, -0.03692454844713211, 0.03048570267856121, -0.04045705869793892, 0.06711535155773163, -0.04088252782821655, -0.0273332167416811, -0.011836998164653778, 0.01193684060126543, -0.05207411199808121, 0.04060954600572586, -0.01836678385734558, 0.0033952132798731327, -0.04798401892185211, 0.058670759201049805, -0.059437625110149384, -0.0042081233114004135, -0.04020358622074127, 0.008971295319497585, -0.03782586008310318, 0.004292262718081474, -0.04511434957385063, -0.027507327497005463, 0.008867154829204082, 0.03479336202144623, 0.022322319447994232, 0.022986698895692825, 0.0036529842764139175, 0.009290587157011032, 0.0024279095232486725, -0.05902150645852089, -0.019065599888563156, -0.02712160162627697, 0.019521763548254967, -0.005343297962099314, 0.029969630762934685, 0.025489680469036102, -0.05052410066127777, -0.049090754240751266, 0.02634843997657299, 0.010398543439805508, -0.008784929290413857, 0.009093469008803368, 0.001303788274526596, 0.028831837698817253, 0.01725839450955391, -0.01856904849410057, -0.013517959043383598, -0.0012398107210174203, -0.02074533887207508, 0.020183127373456955, -0.0043538655154407024, 0.011696528643369675, -0.015364817343652248, -0.03144853189587593, -0.022914359346032143, 0.07047814875841141, 0.024270357564091682, 0.04073050990700722, 0.01835828647017479, -0.04278452321887016, 0.026307983323931694, 0.03748180717229843, -0.04890826717019081, -0.012488359585404396, -0.01997375302016735, -0.04062127694487572, 0.0751613900065422, -0.0014207864878699183, -0.007043909747153521, 0.04568061605095863, 0.004720993340015411, -0.0366724394261837, 0.04632581025362015, -0.02753486856818199, 0.008128998801112175, 0.0713624507188797, -0.07301068305969238, -0.0046368371695280075, -0.027631649747490883, 0.05181775614619255, -0.05457542464137077, 0.05485374107956886, 0.02683122083544731, 0.05634916201233864, 0.017709840089082718, 0.003042715135961771, -0.05315389856696129, -0.005280834622681141, -0.05285894125699997, 0.05959998443722725, 0.003980021458119154, -0.05333917215466499, 0.08677105605602264, 0.03213107958436012, -0.07761456817388535, 0.03060280531644821, 0.019834691658616066, 0.023789888247847557, 0.042727917432785034, 0.0006466989871114492, -0.06767892092466354, -0.01632699742913246, -0.019443847239017487, 0.055632781237363815, -0.05955734848976135, -0.02774077095091343, 0.018041158095002174, -0.026082370430231094, -0.021157430484890938, 0.0370345339179039, -0.01206761784851551, 0.009989232756197453, 0.014553774148225784, -0.08321976661682129, -0.054352231323719025, 0.008328416384756565, 0.0374002642929554, -0.02138422802090645, 0.005451409611850977, -0.02395269088447094, 0.014362948015332222, 0.044067539274692535, -0.005728176794946194, -0.03534501791000366, -0.010714530944824219, 0.00877432432025671, -0.06930055469274521, -0.04683453217148781, 0.01583176665008068, 0.023744558915495872, -0.03875428065657616, 0.035990308970212936, -0.020003417506814003, 0.04098610207438469, 0.034211404621601105, -0.006269222591072321, 0.02460777387022972, -0.039049286395311356, -0.004524335265159607, 0.016751838847994804, 0.02236795611679554, 0.04835934937000275, -0.03859084099531174, 0.03126227483153343, 0.007868997752666473, 0.02953052893280983, -0.005040449555963278, -0.03683708608150482, -0.041742999106645584, 0.03524262458086014, -0.0230412594974041, 0.039206236600875854, -0.012875602580606937, -0.046870630234479904, -0.05118277296423912, -0.02126992866396904, -0.00024334377667400986, 0.027168339118361473, -0.05194530636072159, -0.010463377460837364, 0.04592272639274597, -0.02883998490869999, -0.050695277750492096, -0.07234347611665726, -0.04018816351890564, -0.026741592213511467, 0.0429147444665432, 0.05011247843503952, -0.04671815037727356, 0.004399407655000687, -0.06441575288772583, -0.023162350058555603, 0.038089826703071594, 0.04321032017469406, -0.06322859972715378, 0.02975567802786827, 0.024200163781642914, -0.038799893110990524, 0.04732760041952133, 0.037011273205280304, -0.0382247231900692, 0.026110049337148666, -0.0057559385895729065, 0.04677797853946686, 0.044166333973407745, 0.003344362135976553, -0.02300640195608139, -0.01175395306199789, -0.05881398171186447, -0.03195216506719589, -0.05702267959713936, -0.005129655823111534, 0.05019247904419899 ]
AnonymousSub/unsup-consert-base
[ "pytorch", "bert", "feature-extraction", "transformers" ]
feature-extraction
{ "architectures": [ "BertModel" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- license: apache-2.0 --- # Cross-Encoder for Quora Duplicate Questions Detection This model was trained using [SentenceTransformers](https://sbert.net) [Cross-Encoder](https://www.sbert.net/examples/applications/cross-encoder/README.html) class. ## Training Data This model was trained on the [STS benchmark dataset](http://ixa2.si.ehu.eus/stswiki/index.php/STSbenchmark). The model will predict a score between 0 and 1 how for the semantic similarity of two sentences. ## Usage and Performance Pre-trained models can be used like this: ``` from sentence_transformers import CrossEncoder model = CrossEncoder('model_name') scores = model.predict([('Sentence 1', 'Sentence 2'), ('Sentence 3', 'Sentence 4')]) ``` The model will predict scores for the pairs `('Sentence 1', 'Sentence 2')` and `('Sentence 3', 'Sentence 4')`. You can use this model also without sentence_transformers and by just using Transformers ``AutoModel`` class
[ 0.014462045393884182, -0.02463645488023758, -0.025633063167333603, 0.07678654789924622, 0.04727097228169441, 0.016413522884249687, -0.011106248944997787, 0.03255503252148628, -0.04920853674411774, 0.039683107286691666, 0.031060367822647095, -0.0019135733600705862, 0.005001100245863199, 0.025954678654670715, -0.04588279873132706, -0.06684830039739609, -0.03872724622488022, -0.007726013660430908, -0.021883390843868256, -0.04556974023580551, -0.0007599472883157432, 0.006955001037567854, -0.001103591755963862, 0.0237971693277359, -0.02504265308380127, -0.003547726897522807, -0.009635064750909805, 0.017376577481627464, -0.001345807802863419, -0.051805440336465836, 0.024661380797624588, -0.02021925523877144, -0.036383964121341705, -0.01619724929332733, -0.0046995882876217365, 0.029407499358057976, 0.012367699295282364, -0.007713977713137865, 0.03240519389510155, 0.031448446214199066, -0.0219736248254776, 0.005162419285625219, -0.023313364014029503, -0.019879203289747238, 0.0618455745279789, 0.0015881664585322142, -0.02941586636006832, -0.019097622483968735, 0.022338123992085457, -0.03688449785113335, -0.0613195039331913, -0.07321490347385406, -0.02489153854548931, 0.006281758192926645, 0.0280821043998003, -0.01239689253270626, -0.04810188710689545, -0.019611576572060585, 0.04944055899977684, -0.05066565424203873, -0.028893902897834778, 0.006920955143868923, -0.08594807982444763, 0.0025690151378512383, 0.05105850100517273, -0.04885176569223404, 0.007333297282457352, -0.03917359933257103, 0.012763638980686665, -0.029635028913617134, 0.0783434733748436, -0.04025239497423172, 0.045704953372478485, -0.07818248867988586, 0.0007610800676047802, -0.00639096787199378, 0.0015099119627848268, 0.02281457930803299, -0.01051519624888897, 0.04520260915160179, 0.020780863240361214, -0.009196512401103973, 0.009961375966668129, -0.02898424305021763, 0.005621860269457102, 0.05049001798033714, -0.04518416151404381, 0.006966425105929375, -0.0339789055287838, 0.034522976726293564, -0.04498809576034546, -0.02750949189066887, 0.006066330708563328, -0.015820100903511047, -0.013577700592577457, 0.0016098336782306433, 0.04088788107037544, -0.01967378705739975, 0.015371402725577354, 0.009259158745408058, 0.037207167595624924, 0.05255264788866043, -0.014109575189650059, 0.02462788112461567, -0.024929095059633255, 0.017352964729070663, -0.010764827951788902, -0.05012105405330658, -0.04062975198030472, 0.028788909316062927, 0.04437263309955597, -0.04386072978377342, -0.025060804560780525, 0.02616553194820881, 0.041573554277420044, -0.017505908384919167, 0.06831290572881699, -0.03185851126909256, -0.04211213439702988, -0.049240898340940475, 0.04380057752132416, 0.01837856136262417, -0.000715558766387403, 0.009042060934007168, -0.046156395226716995, 0.012887819670140743, -0.04324260726571083, -0.05938299745321274, 0.00038934231270104647, 0.005416246131062508, 0.006594806909561157, 0.032343003898859024, 0.012446960434317589, -0.053159404546022415, 0.004073156043887138, 0.0030983653850853443, -0.08541528135538101, 0.028145015239715576, 0.03115517646074295, 0.07710278034210205, -0.054980747401714325, -0.033769816160202026, 0.03438006713986397, 0.02741216868162155, -0.026329413056373596, 0.021202992647886276, 0.005379565991461277, -0.01587904430925846, -0.021975133568048477, -0.024673739448189735, 0.08276873826980591, -0.05836739391088486, 0.02378924749791622, 0.026590703055262566, -0.02259834110736847, 0.03482490032911301, -0.028995666652917862, -0.0033272940199822187, 0.010312067344784737, 0.02421673573553562, -0.018916424363851547, 0.05042377486824989, -0.010595185682177544, 0.023500632494688034, -0.028734447434544563, -0.022706743329763412, -0.004585998132824898, 0.09650854021310806, -0.013298590667545795, -0.036760274320840836, -0.043149229139089584, 0.01816767081618309, 0.03100622445344925, 0.02373351715505123, -0.029041647911071777, 0.013078290969133377, 0.07045386731624603, 0.05187618359923363, -0.010626683942973614, 0.056445155292749405, 0.00920990202575922, -0.030967850238084793, -0.01313408650457859, 0.018963387235999107, 0.018933193758130074, -0.03494910150766373, 0.04827161133289337, 0.06334878504276276, -0.0267932191491127, -0.014284932054579258, -0.02630322054028511, 0.053620025515556335, -0.04227059707045555, -0.016869598999619484, -0.00304525438696146, 0.005917664617300034, -0.03245224058628082, 0.04255209118127823, -0.008911265060305595, 0.016966238617897034, -0.024423064664006233, -0.0189749076962471, 0.0307195745408535, 0.015117103233933449, 0.00460091745480895, 0.03879290819168091, 0.0076909372583031654, 0.08009009063243866, -0.02402324229478836, 0.04091788828372955, -0.04571171849966049, -0.038496892899274826, -0.0330672487616539, 0.03654403239488602, 0.0068955253809690475, 0.04779127985239029, 0.004643207415938377, -0.024944357573986053, 0.04576815292239189, 0.05073412135243416, 0.0690874382853508, 0.041303738951683044, -0.012609961442649364, -0.016519805416464806, 0.012714272364974022, 0.06746372580528259, -0.03841767460107803, -0.012875707820057869, 0.04686664044857025, 0.02057669311761856, -0.014356046915054321, -0.0033622581977397203, 0.014659952372312546, 0.02361016720533371, -0.025877727195620537, -0.06538596004247665, 0.02905898354947567, 0.008897736668586731, 0.02377314865589142, 0.003775833873078227, -0.002964968327432871, 0.008894271217286587, 0.03922415152192116, 0.007377733942121267, -0.021178681403398514, -0.03572269156575203, 0.010767068713903427, 0.02068297564983368, 0.052724193781614304, -0.026638245210051537, 0.0329047366976738, -0.005093263927847147, 0.02638350799679756, 0.052868425846099854, -0.015061335638165474, 0.02451719343662262, 0.06181512027978897, -0.0007377000874839723, -0.0026888942811638117, 0.025347843766212463, 0.018150843679904938, 0.007247934117913246, 0.07724495977163315, -0.025281520560383797, 0.05726543068885803, 0.010140440426766872, 0.00826630275696516, 0.06568706035614014, 0.009800836443901062, 0.015509000979363918, 0.01670687086880207, 0.06458652764558792, 0.010266212746500969, -0.014663361012935638, 0.0274201650172472, -0.06062046438455582, 0.038149118423461914, -0.0027759172953665257, 0.035492632538080215, 0.01093630027025938, -0.004587217234075069, 0.03608907759189606, 0.019992616027593613, -0.01667933352291584, 0.027874408289790154, -0.026432087644934654, -0.03604291006922722, 0.009144194424152374, -0.02822081930935383, 0.024068178609013557, 0.01400836557149887, -0.02584478259086609, 0.0028775848913937807, -0.08244188129901886, -0.05316614359617233, -0.004874476231634617, -0.007522740866988897, 0.021568136289715767, -0.08816473931074142, -0.01115818228572607, -0.0697096660733223, -0.032884906977415085, 0.04657529294490814, -0.0022673842031508684, 0.02015751786530018, -0.015062582679092884, 0.024308539927005768, -0.0300460085272789, -0.030758574604988098, -0.050579193979501724, -0.03981166332960129, -0.049656014889478683, -0.053082194179296494, 0.029630733653903008, 0.0037244553677737713, 0.03604723513126373, -0.006322194822132587, -0.016479123383760452, -0.027594467625021935, -0.014791950583457947, 0.055897921323776245, 0.012452871538698673, -0.02724381349980831, -0.03744138032197952, 0.047621242702007294, -0.01665133237838745, 0.025599559769034386, -0.032910335808992386, -0.02495144121348858, 0.08138243108987808, 0.04774175211787224, 0.032142847776412964, 0.001630130223929882, -0.04940853267908096, -0.0568554513156414, -0.03219500929117203, -0.034960389137268066, -0.03740450367331505, -0.01938246376812458, -0.04237990826368332, -0.040281083434820175, 0.0001431927375961095, -0.02642926387488842, -0.03703813999891281, 0.016872303560376167, 0.020564932376146317, 0.07266035676002502, 0.05548648163676262, 0.04483762010931969, 0.012059839442372322, -0.030954698100686073, -0.015738999471068382, 0.09101559966802597, 0.013797841034829617, 0.012682529166340828, -0.06857448816299438, -0.03311898931860924, 0.0424666665494442, 0.02209147997200489, 0.004781651776283979, -0.030824048444628716, 0.07867250591516495, 0.0035679717548191547, -0.021910857409238815, 0.014735078439116478, 0.012938190251588821, -0.030887775123119354, 0.025929167866706848, -0.01929483190178871, -0.03546081483364105, -0.060993492603302, -0.019150961190462112, -0.051702339202165604, 0.04938172549009323, -0.06148955971002579, -0.037200603634119034, -0.038968756794929504, 0.006433018017560244, 0.03087572567164898, 0.013599136844277382, -0.012177768163383007, 0.014574657194316387, -0.04026545584201813, -0.023763397708535194, 0.02725938893854618, 0.00939430482685566, -0.0061485120095312595, 0.02961834706366062, 0.017221150919795036, -0.027387265115976334, 0.035838790237903595, 0.03287118300795555, 0.03246428072452545, 0.013000649400055408, -0.05036206170916557, 0.036519892513751984, -0.022946598008275032, 0.02097809687256813, 0.020557686686515808, -0.011886044405400753, -0.055304381996393204, -0.07695689797401428, -0.030126018449664116, 0.012382575310766697, -0.02364477515220642, -0.0028159581124782562, 0.006471634842455387, -0.01451154239475727, -0.021074287593364716, 0.008428739383816719, 0.015805641189217567, 0.039603784680366516, -0.03786953538656235, 0.060984816402196884, -0.020282387733459473, 0.03435884788632393, -0.03128452226519585, 0.013332379050552845, -0.04343931004405022, -0.04826108738780022, 0.032478611916303635, 0.0566038116812706, 0.010497520677745342, 0.053869228810071945, 0.060704756528139114, 0.024481680244207382, -0.02831442281603813, 0.04119044169783592, 0.04601077735424042, -0.025537310168147087, -0.060059476643800735, -0.016195492818951607, 0.01673172041773796, -0.01849536783993244, 0.007814359851181507, -0.036735232919454575, 0.06981870532035828, 0.02340175025165081, -0.01122024841606617, -0.010003812611103058, 0.006901076529175043, -0.03698136284947395, -0.04739748686552048, -0.06031538546085358, 0.011505156755447388, -0.023911306634545326, -0.016788071021437645, 0.04918306693434715, 0.04719136655330658, 0.0021713690366595984, 0.04467003047466278, 0.040119532495737076, -0.010944330133497715, -0.02582859992980957, 0.048262692987918854, 0.04410691186785698, -0.06503165513277054, -0.06449497491121292, -0.038203176110982895, 0.021261578425765038, 0.03470491245388985, -0.023167114704847336, -0.08175773918628693, 0.041669245809316635, 0.050131600350141525, -0.051707152277231216, 0.04517384245991707, 0.0007648535538464785, 0.025503339245915413, 0.05868269130587578, -0.0005221085739322007, 0.049148079007864, -0.020733745768666267, 0.017057621851563454, 0.012842359021306038, 0.06378142535686493, -0.042595382779836655, -0.05031420662999153, -0.050079118460416794, 0.029215112328529358, 0.050573088228702545, 0.06885447353124619, 0.07260271906852722, -0.038167864084243774, -0.04257163777947426, -0.009209933690726757, 0.01445062831044197, -0.035944659262895584, 0.005474223289638758, 0.06617286801338196, 0.016566596925258636, -0.039651982486248016, -0.04232453554868698, -0.01100688986480236, 0.010208587162196636, 0.03290858864784241, -0.008840998634696007, -0.012800290249288082, -0.03791413828730583, 0.04873671010136604, 0.0181057658046484, -0.04159700870513916, -0.09670234471559525, 0.017990652471780777, 0.005098676774650812, -0.02977261319756508, 0.07680952548980713, 0.06545597314834595, 0.042752161622047424, 0.05877883359789848, -0.022839022800326347, 0.020200233906507492, -0.029214641079306602, 0.05125875771045685, -0.029179103672504425, -0.020048201084136963, 0.0014746839879080653, -0.04993104562163353, -0.022189049050211906, -0.0395999401807785, -0.034649789333343506, -0.0329747274518013, -0.028022803366184235, 0.009584381245076656, -0.028265701606869698, 0.014979221858084202, -0.021882949396967888, 0.018116265535354614, -0.02318754233419895, -0.007046029902994633, -0.012550750747323036, -0.024397127330303192, -0.059758469462394714, -0.036243341863155365, 0.029778635129332542, 0.015335194766521454, 0.031232820823788643, 0.03267703950405121, 0.0030314645264297724, 0.034108374267816544, -0.013185558840632439, -0.042420439422130585, 0.023641575127840042, 0.007375865243375301, -0.042131081223487854, -0.04244430735707283, 0.001771006267517805, 0.0037141095381230116, 0.030608821660280228, -0.033668458461761475, 0.0178813599050045, 0.023728426545858383, -0.0437951497733593, -0.01510835625231266, 0.009035032242536545, 0.022540492936968803, -0.09013841301202774, -0.06294652074575424, -0.010684537701308727, -0.045862287282943726, 0.0404135137796402, 0.0002869214804377407, -0.057191964238882065, -0.006664155516773462, 0.03030414693057537, 0.005672368686646223, 0.008919951505959034, -0.03441851958632469, 0.03816961497068405, 0.0019345846958458424, 0.008107384666800499, -0.06674959510564804, 0.01368666160851717, -0.017257684841752052, 0.006371756084263325, -0.03692454844713211, 0.03048570267856121, -0.04045705869793892, 0.06711535155773163, -0.04088252782821655, -0.0273332167416811, -0.011836998164653778, 0.01193684060126543, -0.05207411199808121, 0.04060954600572586, -0.01836678385734558, 0.0033952132798731327, -0.04798401892185211, 0.058670759201049805, -0.059437625110149384, -0.0042081233114004135, -0.04020358622074127, 0.008971295319497585, -0.03782586008310318, 0.004292262718081474, -0.04511434957385063, -0.027507327497005463, 0.008867154829204082, 0.03479336202144623, 0.022322319447994232, 0.022986698895692825, 0.0036529842764139175, 0.009290587157011032, 0.0024279095232486725, -0.05902150645852089, -0.019065599888563156, -0.02712160162627697, 0.019521763548254967, -0.005343297962099314, 0.029969630762934685, 0.025489680469036102, -0.05052410066127777, -0.049090754240751266, 0.02634843997657299, 0.010398543439805508, -0.008784929290413857, 0.009093469008803368, 0.001303788274526596, 0.028831837698817253, 0.01725839450955391, -0.01856904849410057, -0.013517959043383598, -0.0012398107210174203, -0.02074533887207508, 0.020183127373456955, -0.0043538655154407024, 0.011696528643369675, -0.015364817343652248, -0.03144853189587593, -0.022914359346032143, 0.07047814875841141, 0.024270357564091682, 0.04073050990700722, 0.01835828647017479, -0.04278452321887016, 0.026307983323931694, 0.03748180717229843, -0.04890826717019081, -0.012488359585404396, -0.01997375302016735, -0.04062127694487572, 0.0751613900065422, -0.0014207864878699183, -0.007043909747153521, 0.04568061605095863, 0.004720993340015411, -0.0366724394261837, 0.04632581025362015, -0.02753486856818199, 0.008128998801112175, 0.0713624507188797, -0.07301068305969238, -0.0046368371695280075, -0.027631649747490883, 0.05181775614619255, -0.05457542464137077, 0.05485374107956886, 0.02683122083544731, 0.05634916201233864, 0.017709840089082718, 0.003042715135961771, -0.05315389856696129, -0.005280834622681141, -0.05285894125699997, 0.05959998443722725, 0.003980021458119154, -0.05333917215466499, 0.08677105605602264, 0.03213107958436012, -0.07761456817388535, 0.03060280531644821, 0.019834691658616066, 0.023789888247847557, 0.042727917432785034, 0.0006466989871114492, -0.06767892092466354, -0.01632699742913246, -0.019443847239017487, 0.055632781237363815, -0.05955734848976135, -0.02774077095091343, 0.018041158095002174, -0.026082370430231094, -0.021157430484890938, 0.0370345339179039, -0.01206761784851551, 0.009989232756197453, 0.014553774148225784, -0.08321976661682129, -0.054352231323719025, 0.008328416384756565, 0.0374002642929554, -0.02138422802090645, 0.005451409611850977, -0.02395269088447094, 0.014362948015332222, 0.044067539274692535, -0.005728176794946194, -0.03534501791000366, -0.010714530944824219, 0.00877432432025671, -0.06930055469274521, -0.04683453217148781, 0.01583176665008068, 0.023744558915495872, -0.03875428065657616, 0.035990308970212936, -0.020003417506814003, 0.04098610207438469, 0.034211404621601105, -0.006269222591072321, 0.02460777387022972, -0.039049286395311356, -0.004524335265159607, 0.016751838847994804, 0.02236795611679554, 0.04835934937000275, -0.03859084099531174, 0.03126227483153343, 0.007868997752666473, 0.02953052893280983, -0.005040449555963278, -0.03683708608150482, -0.041742999106645584, 0.03524262458086014, -0.0230412594974041, 0.039206236600875854, -0.012875602580606937, -0.046870630234479904, -0.05118277296423912, -0.02126992866396904, -0.00024334377667400986, 0.027168339118361473, -0.05194530636072159, -0.010463377460837364, 0.04592272639274597, -0.02883998490869999, -0.050695277750492096, -0.07234347611665726, -0.04018816351890564, -0.026741592213511467, 0.0429147444665432, 0.05011247843503952, -0.04671815037727356, 0.004399407655000687, -0.06441575288772583, -0.023162350058555603, 0.038089826703071594, 0.04321032017469406, -0.06322859972715378, 0.02975567802786827, 0.024200163781642914, -0.038799893110990524, 0.04732760041952133, 0.037011273205280304, -0.0382247231900692, 0.026110049337148666, -0.0057559385895729065, 0.04677797853946686, 0.044166333973407745, 0.003344362135976553, -0.02300640195608139, -0.01175395306199789, -0.05881398171186447, -0.03195216506719589, -0.05702267959713936, -0.005129655823111534, 0.05019247904419899 ]
AnonymousSub/unsup-consert-base_copy_wikiqa
[ "pytorch", "bert", "text-classification", "transformers" ]
text-classification
{ "architectures": [ "BertForSequenceClassification" ], "model_type": "bert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
26
null
--- language: vi tags: - gpt widget: - text: "<s> núi nhà xe [SEP] " --- ### Kw2Poem
[ -0.011320534162223339, -0.03357585892081261, 0.025982683524489403, 0.021954379975795746, 0.01912694051861763, 0.022648299112915993, 0.013038589619100094, -0.0008807366830296814, -0.04656248539686203, 0.03446285426616669, 0.02577480673789978, -0.016339940950274467, 0.019577667117118835, 0.028037890791893005, -0.026312751695513725, -0.017647460103034973, -0.030183453112840652, -0.0022921208292245865, -0.05271747335791588, -0.012906721793115139, 0.041376642882823944, 0.00838750321418047, -0.007336276583373547, 0.031301554292440414, 0.011079388670623302, 0.008619127795100212, -0.011860695667564869, -0.007196624297648668, 0.04000264033675194, -0.02321299910545349, -0.0018764163833111525, -0.04280822351574898, -0.04566878825426102, -0.018936889246106148, -0.03592987731099129, -0.021335937082767487, 0.0030754536855965853, 0.0016189273446798325, 0.01842973195016384, 0.058053601533174515, -0.00030192534904927015, 0.027313726022839546, 0.015148648992180824, -0.048903658986091614, 0.02467343397438526, -0.0033991062082350254, -0.03224853053689003, -0.027652841061353683, 0.0028101846110075712, -0.03346192091703415, -0.052935890853405, -0.08213897794485092, -0.042316000908613205, -0.014222176745533943, 0.005400625057518482, -0.023304425179958344, -0.06186724826693535, 0.019264303147792816, 0.0807175561785698, -0.0386950857937336, -0.00846184603869915, -0.004490962717682123, -0.077490895986557, 0.022252116352319717, 0.028086651116609573, -0.04879705607891083, 0.04076356813311577, -0.011454050429165363, 0.010638145729899406, -0.04215115308761597, 0.042582206428050995, -0.02846693992614746, 0.028051801025867462, -0.10648638755083084, -0.03107052855193615, -0.012308768928050995, 0.024567710235714912, 0.0385211817920208, -0.02941880375146866, 0.07148243486881256, 0.005071184132248163, 0.012610092759132385, 0.053980860859155655, -0.006444390397518873, -0.029940802603960037, 0.015732886269688606, -0.056165918707847595, 0.005106235854327679, 0.025538533926010132, 0.054580602794885635, -0.014542101882398129, -0.04212520644068718, -0.002947248285636306, -0.02096620947122574, -0.0480012409389019, 0.03428131714463234, 0.04369413107633591, -0.010556048713624477, 0.02261904627084732, 0.0607709176838398, 0.023845531046390533, 0.06609005481004715, -0.008175360970199108, 0.03407946974039078, 0.0014779650373384356, 0.01914779096841812, -0.001875292626209557, -0.026425564661622047, -0.0508127398788929, 0.037402134388685226, -0.013540072366595268, -0.05733506381511688, -0.028111783787608147, 0.05685427039861679, 0.033611878752708435, -0.00822646077722311, 0.05052061378955841, -0.04688709229230881, -0.03658972308039665, -0.04924943298101425, 0.05459904298186302, 0.02026919089257717, 0.013145601376891136, 0.02715468406677246, -0.04121467471122742, 0.01278422400355339, -0.04649068042635918, -0.013182057067751884, -0.00022302329307422042, -0.002045854926109314, -0.023487629368901253, 0.0365157276391983, -0.0030130648519843817, -0.05673760175704956, 0.007726776879280806, -0.00829401146620512, -0.0704483911395073, 0.0161830335855484, 0.01331918966025114, 0.09506666660308838, -0.0631696805357933, -0.0452878475189209, -0.02097504958510399, 0.018216580152511597, -0.03535990044474602, 0.022974960505962372, 0.003667460987344384, -0.030537141487002373, -0.04701554775238037, -0.028947893530130386, 0.04160585626959801, -0.0806315466761589, -0.023598236963152885, 0.08642792701721191, 0.01120181754231453, 0.016078123822808266, -0.017352111637592316, 0.04517235606908798, 0.006747677456587553, -0.020856382325291634, -0.030213911086320877, 0.03961808606982231, 0.0015685270773246884, -0.02298574149608612, -0.06363456696271896, -0.05827869102358818, -0.00006248931458685547, 0.06065329164266586, 0.013232667930424213, -0.028152281418442726, -0.044077277183532715, 0.010218319483101368, 0.021444452926516533, 0.038603875786066055, 0.01369613315910101, 0.016429107636213303, 0.04881025850772858, 0.049369461834430695, -0.01086461078375578, 0.07106305658817291, -0.008558114990592003, -0.0563918761909008, -0.04845040664076805, 0.006721699144691229, 0.04938428848981857, -0.039117202162742615, -0.0061768172308802605, 0.04710613191127777, -0.002409885171800852, -0.04496130347251892, 0.027048928663134575, 0.024282703176140785, -0.006295148283243179, -0.014263630844652653, 0.013009962625801563, -0.024192363023757935, -0.026230012997984886, 0.04219992831349373, -0.03498891368508339, -0.011607055552303791, -0.028901565819978714, -0.02772151492536068, 0.0031815574038773775, 0.01902342028915882, 0.01968163065612316, 0.0344490110874176, -0.03502144664525986, 0.09717296063899994, -0.029111146926879883, 0.015339843928813934, -0.03907473012804985, -0.005117780063301325, -0.03582153841853142, 0.02776004932820797, 0.011667895130813122, 0.0317126102745533, -0.013528740964829922, -0.053106628358364105, 0.009471972472965717, 0.058257993310689926, 0.03966686129570007, 0.03320387378334999, -0.026620233431458473, 0.01125494483858347, 0.045591507107019424, 0.05667845904827118, -0.058547571301460266, -0.03513958677649498, 0.0363449826836586, 0.03240298852324486, -0.025835318490862846, -0.00686135608702898, -0.012781531549990177, 0.00711348420009017, -0.014235934242606163, -0.04828707128763199, 0.037640731781721115, -0.013696687296032906, 0.010959206148982048, 0.019073691219091415, -0.03215905651450157, -0.015482475981116295, 0.03320103511214256, -0.007741913665086031, 0.004637325648218393, -0.05705604702234268, -0.010646105743944645, 0.0028840445447713137, 0.08717497438192368, -0.015216609463095665, 0.03327016532421112, 0.0009728033910505474, 0.03307110816240311, 0.03790394589304924, -0.048114944249391556, 0.029235662892460823, 0.05042876675724983, 0.011120101436972618, -0.02022712118923664, 0.015887683257460594, -0.0012447061017155647, 0.021395087242126465, 0.06293687969446182, 0.020832501351833344, 0.0912269875407219, 0.007542924955487251, 0.05008247494697571, 0.05897241085767746, 0.017973819747567177, 0.044583819806575775, 0.05746114253997803, 0.04351481795310974, -0.025657664984464645, 0.00007387798541458324, 0.05270953103899956, -0.0363510437309742, 0.021229427307844162, -0.01787394843995571, -0.004282228648662567, -0.045024558901786804, -0.013392583467066288, 0.04158025234937668, -0.03343198448419571, -0.004728688858449459, 0.012945370748639107, -0.03052755631506443, 0.014672094024717808, 0.03550919517874718, 0.004954790696501732, -0.01716027408838272, 0.021514177322387695, -0.007747222203761339, 0.04737120121717453, -0.058211732655763626, -0.008444787003099918, -0.0013335219118744135, -0.03888451308012009, 0.03205149993300438, -0.06485768407583237, -0.04323183000087738, -0.07170353084802628, -0.02568121813237667, 0.05463377386331558, 0.03355823829770088, 0.030699070543050766, -0.03693990036845207, 0.011765730567276478, -0.04459511116147041, -0.048495419323444366, -0.04115608334541321, -0.029048992320895195, -0.036155182868242264, -0.050707682967185974, 0.052024755626916885, 0.03335021063685417, 0.03526422008872032, 0.024637553840875626, -0.012489649467170238, -0.044632069766521454, -0.009712702594697475, 0.0688919946551323, 0.002320474712178111, -0.025478333234786987, -0.004718117881566286, 0.01686018705368042, 0.02032805047929287, 0.0017066182335838675, -0.02963355742394924, -0.06409072875976562, 0.07474779337644577, 0.05419814959168434, 0.019136998802423477, -0.008455805480480194, 0.007677717134356499, -0.0427207387983799, -0.04651161655783653, -0.015617606230080128, -0.017310407012701035, -0.03557799383997917, 0.012788641266524792, -0.03387102112174034, -0.029667148366570473, -0.06325845420360565, -0.03225291147828102, -0.013614198192954063, -0.003657439723610878, 0.01883888430893421, 0.0550159215927124, 0.03756621107459068, 0.03687524423003197, -0.04442219436168671, -0.009219358675181866, 0.06248383969068527, -0.007696785964071751, -0.034669943153858185, -0.07909087091684341, -0.04622306674718857, 0.041485950350761414, -0.0021468212362378836, -0.006735050585120916, -0.03311461955308914, 0.04815218597650528, 0.01922048069536686, 0.0028997815679758787, 0.00879653263837099, -0.04378765821456909, -0.026119211688637733, -0.04445585608482361, -0.0002673313138075173, -0.015427587553858757, -0.05525797978043556, 0.015677757561206818, -0.02246054634451866, 0.05235007405281067, -0.10710388422012329, -0.04099065810441971, -0.012611337006092072, 0.000523769820574671, 0.02330666407942772, -0.01762811839580536, -0.03750869259238243, 0.014123371802270412, -0.03823111578822136, -0.010084472596645355, 0.008483012206852436, -0.0001655876258155331, 0.0315529927611351, 0.05204383656382561, 0.03040223941206932, -0.043183159083127975, 0.023147543892264366, 0.031264208257198334, 0.04308433458209038, 0.02361670508980751, 0.007107384968549013, 0.0321619026362896, -0.02195442095398903, 0.02560240402817726, 0.021998729556798935, -0.02084341086447239, -0.05796395242214203, -0.09403320401906967, -0.01611090637743473, 0.0008857998764142394, -0.0262253787368536, -0.002052334835752845, 0.03587589040398598, -0.04380592331290245, 0.01164951454848051, 0.01401218120008707, 0.021057110279798508, 0.03569437190890312, -0.03690945729613304, 0.049832262098789215, -0.0150712039321661, 0.06629758328199387, -0.024419791996479034, -0.003820911981165409, -0.026189783588051796, -0.020123494789004326, -0.028773395344614983, 0.05450628697872162, 0.004046082030981779, 0.04449914023280144, 0.05805618315935135, -0.006878686137497425, -0.03900796175003052, 0.07015525549650192, 0.04346655681729317, -0.002182141412049532, -0.05633372440934181, 0.017581092193722725, -0.014044851064682007, -0.006536405999213457, -0.007878908887505531, -0.023954972624778748, 0.013816861435770988, 0.03851575031876564, -0.019780762493610382, 0.006055816542357206, 0.0005672043771483004, -0.030309757217764854, -0.024836238473653793, -0.02641279064118862, -0.005935096647590399, -0.01577453874051571, -0.039865642786026, 0.02615749090909958, 0.04668130353093147, 0.012515716254711151, 0.07129880785942078, 0.04071156680583954, -0.059499576687812805, -0.03184938803315163, 0.02968406304717064, 0.028617702424526215, -0.049875035881996155, -0.07755692303180695, -0.03210099786520004, 0.004117620177567005, 0.045730672776699066, -0.008172504603862762, -0.05637883394956589, 0.027085809037089348, 0.04219694435596466, -0.02906988188624382, 0.03884073346853256, -0.014084355905652046, 0.014343313872814178, 0.03921910747885704, -0.012304919771850109, 0.00945176649838686, -0.012576942332088947, 0.01999741606414318, -0.026643624529242516, 0.026000969111919403, -0.03684765845537186, -0.03771241754293442, -0.008978191763162613, 0.015637241303920746, 0.0007871976704336703, 0.029443053528666496, 0.013107347302138805, -0.03294526785612106, -0.0635334849357605, -0.0009460245491936803, 0.022495685145258904, -0.05086851119995117, 0.011931006796658039, 0.02194443717598915, 0.051168572157621384, -0.05345526710152626, -0.003992866259068251, -0.005091825500130653, 0.01919378712773323, 0.06326262652873993, -0.02419467642903328, -0.02623511664569378, -0.05234049633145332, 0.034959692507982254, -0.013198351487517357, -0.044481176882982254, -0.10009904205799103, -0.011401325464248657, -0.030076568946242332, -0.020636945962905884, 0.05319564417004585, 0.04698367416858673, 0.025080200284719467, 0.049409136176109314, 0.017047429457306862, 0.036462850868701935, -0.02562224119901657, 0.04930878430604935, -0.0372687429189682, -0.029884623363614082, 0.010268711484968662, -0.042876407504081726, -0.012808537110686302, -0.03430752828717232, -0.03849683329463005, -0.0282075684517622, -0.009591376408934593, 0.04006624594330788, -0.01690797694027424, 0.012815644033253193, 0.01930810883641243, -0.009138120338320732, -0.008313167840242386, -0.014679096639156342, -0.007254808209836483, -0.042780403047800064, -0.0869518294930458, -0.020170100033283234, 0.016060221940279007, 0.0075762951746582985, 0.023871179670095444, -0.013694621622562408, 0.01703992486000061, 0.02965437062084675, -0.0064083002507686615, -0.02012329362332821, 0.023291995748877525, 0.031006580218672752, -0.04738325625658035, -0.009674375876784325, -0.004361794330179691, 0.021145762875676155, 0.01914309896528721, -0.03604617342352867, 0.02877749130129814, 0.0008167754276655614, -0.03749339282512665, -0.020812584087252617, 0.00342887407168746, 0.03430984914302826, -0.05875372886657715, -0.039989933371543884, -0.028211861848831177, -0.03534932807087898, 0.05113108083605766, -0.03571504354476929, -0.03097238764166832, 0.023577405139803886, 0.08186592161655426, 0.022613462060689926, 0.0002055162185570225, -0.04361351951956749, 0.027730336412787437, -0.020880121737718582, -0.015669899061322212, -0.08398561924695969, 0.0027460490819066763, -0.026947740465402603, 0.02547687292098999, -0.016650665551424026, 0.005217166151851416, -0.050778575241565704, 0.04713726416230202, -0.010146423242986202, 0.006456415634602308, -0.013334792107343674, 0.022266633808612823, -0.028986040502786636, 0.05572310835123062, 0.001657221931964159, 0.010705370455980301, -0.031112689524888992, 0.020163685083389282, -0.07385963201522827, -0.012404265813529491, -0.018313266336917877, -0.020308878272771835, -0.03526506572961807, -0.025020532310009003, -0.00694558210670948, -0.050052594393491745, 0.030052345246076584, 0.016872240230441093, -0.004431530367583036, -0.004102734848856926, -0.016636332497000694, 0.024394797161221504, 0.0527457669377327, -0.07535282522439957, -0.0017179027199745178, 0.0002784978714771569, -0.019661039113998413, 0.005822447128593922, 0.023595325648784637, 0.04346809163689613, -0.07661936432123184, -0.027337783947587013, 0.04116605967283249, -0.004698100965470076, 0.005173789337277412, 0.0025601654779165983, 0.028524359688162804, 0.08834555745124817, 0.05448772385716438, -0.028393929824233055, 0.007027995772659779, -0.027414333075284958, 0.003668014192953706, 0.005796379409730434, 0.010683816857635975, 0.012553342618048191, -0.010687352158129215, -0.03486902266740799, -0.02870919741690159, 0.06981441378593445, 0.05165146663784981, 0.020337510854005814, 0.0008236566791310906, -0.046534594148397446, 0.027669494971632957, 0.02929873764514923, -0.04134851321578026, 0.01925518922507763, 0.014151573181152344, -0.04275139048695564, 0.0658804252743721, -0.03559744730591774, 0.010555745102465153, 0.046493805944919586, 0.003575037932023406, 0.00019025556684937328, 0.0395515151321888, -0.009360203519463539, -0.027615433558821678, 0.04040641337633133, -0.062200095504522324, -0.016847748309373856, -0.02312546968460083, 0.05122838169336319, -0.062331218272447586, 0.042686060070991516, 0.03867443650960922, 0.025613203644752502, 0.03803039714694023, -0.06914203613996506, -0.041583914309740067, 0.022283338010311127, -0.07536768913269043, 0.0845576748251915, -0.01985102891921997, -0.04571548104286194, 0.03964294120669365, 0.018091483041644096, -0.0694020465016365, 0.03770114481449127, 0.026530534029006958, 0.012563524767756462, 0.026633255183696747, 0.02052394673228264, -0.03750712424516678, 0.011977646499872208, -0.007858377881348133, 0.028045527637004852, -0.07602354884147644, 0.0015187361277639866, -0.00793486088514328, -0.02258943021297455, -0.01082338485866785, 0.042967554181814194, -0.03872879594564438, -0.003057028166949749, 0.020924191921949387, -0.06233309954404831, -0.08828604966402054, 0.021181965246796608, 0.03871216997504234, -0.019348494708538055, 0.0035640005953609943, -0.02331438660621643, -0.005348998121917248, 0.01321070734411478, -0.012134946882724762, -0.038097888231277466, -0.0037978608161211014, -0.011840186081826687, -0.08896109461784363, -0.04147468879818916, 0.05946978181600571, 0.007095859386026859, -0.03578547015786171, -0.017681710422039032, -0.006330328527837992, 0.023191606625914574, 0.03423921763896942, -0.006036959122866392, 0.014358559623360634, -0.07826156914234161, -0.001830235356464982, 0.020268451422452927, 0.010958123952150345, 0.02121713198721409, -0.03960275650024414, 0.018315818160772324, 0.031125515699386597, 0.03463474288582802, 0.01944093592464924, -0.03858499974012375, -0.051068782806396484, 0.009106732904911041, -0.029192045331001282, 0.052823152393102646, 0.0026973311323672533, -0.07571517676115036, -0.04468312859535217, 0.014892062172293663, 0.00765226362273097, 0.04877468943595886, -0.009435216896235943, 0.014868716709315777, 0.031245607882738113, -0.012007211335003376, -0.037317920476198196, -0.0668954998254776, -0.039662569761276245, -0.0322420708835125, 0.058759771287441254, 0.031126732006669044, -0.06785277277231216, 0.030717758461833, -0.033808059990406036, -0.039353106170892715, 0.032869018614292145, -0.015487810596823692, -0.04147807136178017, 0.03675772249698639, 0.055206794291734695, -0.02611938677728176, 0.04832446947693825, 0.014609097503125668, -0.029940305277705193, 0.05254862457513809, 0.02920483984053135, 0.015318266116082668, 0.03186476603150368, 0.035686593502759933, -0.0026187298353761435, -0.01450338214635849, -0.0813179761171341, -0.03479159250855446, -0.00428836839273572, -0.008176935836672783, 0.060774896293878555 ]
Anonymreign/savagebeta
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - spacy - token-classification language: - de license: cc-by-nc-4.0 model-index: - name: de_RTA_NER results: - task: name: NER type: token-classification metrics: - name: NER Precision type: precision value: 0.8630136986 - name: NER Recall type: recall value: 0.8743253662 - name: NER F Score type: f_score value: 0.8686327078 --- Regensburger Reichstag von 1576 | Feature | Description | | --- | --- | | **Name** | `de_RTA_NER` | | **Version** | `0.0.0` | | **spaCy** | `>=3.1.0,<3.2.0` | | **Default Pipeline** | `tok2vec`, `ner` | | **Components** | `tok2vec`, `ner` | | **Vectors** | 0 keys, 0 unique vectors (0 dimensions) | | **Sources** | n/a | | **License** | `https://creativecommons.org/licenses/by-nc/4.0/` | | **Author** | [n/a](https://reichstagsakten-1576.uni-graz.at) | ### Label Scheme <details> <summary>View label scheme (4 labels for 1 components)</summary> | Component | Labels | | --- | --- | | **`ner`** | `DATE`, `LOC`, `PER`, `TIME` | </details> ### Accuracy | Type | Score | | --- | --- | | `ENTS_F` | 86.86 | | `ENTS_P` | 86.30 | | `ENTS_R` | 87.43 | | `TOK2VEC_LOSS` | 43588.74 | | `NER_LOSS` | 95573.96 |
[ 0.020209480077028275, -0.01307397149503231, -0.008415775373578072, 0.0343281626701355, 0.05148521438241005, 0.01576307602226734, -0.029876036569476128, -0.011282584629952908, -0.06031525507569313, 0.06030719727277756, 0.043526891618967056, -0.009163154289126396, 0.0054439059458673, 0.04338405281305313, -0.047939565032720566, -0.05285106226801872, 0.00029297295259311795, -0.006565316114574671, -0.05953215807676315, -0.01647930219769478, 0.0067465221509337425, 0.008649671450257301, 0.008716650307178497, 0.03213608264923096, 0.014233111403882504, -0.00006818866677349433, 0.011199462227523327, 0.03714786469936371, 0.04238428547978401, -0.06438860297203064, -0.030456703156232834, -0.04277684912085533, -0.05763933062553406, -0.0346221886575222, -0.03127141296863556, -0.00986372958868742, -0.010909761302173138, -0.0016127274138852954, 0.02525252476334572, 0.07516410946846008, -0.008379687555134296, 0.014537186361849308, -0.03980570659041405, -0.035433169454336166, 0.058923330157995224, 0.008917703293263912, -0.05414635315537453, -0.04470624402165413, 0.038022659718990326, -0.05498038977384567, -0.0642438605427742, -0.06692909449338913, -0.031959168612957, 0.008416211232542992, -0.044002220034599304, -0.026420151814818382, -0.06763450801372528, -0.0005437187501229346, 0.050677549093961716, -0.035014159977436066, -0.028347698971629143, 0.018623555079102516, -0.08041641861200333, 0.0001266511098947376, 0.04013792425394058, -0.03577845171093941, -0.010094519704580307, -0.03617904335260391, 0.028767738491296768, -0.008154435083270073, 0.04544452950358391, -0.038966238498687744, 0.0004980442463420331, -0.06914534419775009, 0.011480907909572124, -0.015993379056453705, 0.040803179144859314, 0.029509127140045166, -0.03975483402609825, 0.0474272258579731, 0.051886677742004395, -0.0061153387650847435, 0.04905184730887413, -0.027324730530381203, -0.015028913505375385, 0.04830620065331459, -0.0251152403652668, -0.005127016920596361, 0.008735865354537964, 0.05693880468606949, -0.03024279698729515, -0.016781074926257133, -0.02568400651216507, -0.047919705510139465, -0.050847046077251434, 0.018669368699193, 0.04311434552073479, 0.0013613179326057434, -0.007195649668574333, 0.029170570895075798, 0.03902677446603775, 0.046234726905822754, -0.005444169510155916, 0.06020485609769821, 0.014639722183346748, -0.03149605914950371, 0.005353684537112713, -0.018275851383805275, -0.05063122138381004, 0.04259902238845825, 0.01596897840499878, -0.017307380214333534, -0.0332132950425148, 0.03049021027982235, 0.03687841445207596, 0.0110877500846982, 0.06916959583759308, -0.01063859835267067, -0.037645939737558365, -0.06219875067472458, 0.03275546804070473, 0.027413811534643173, 0.011333360336720943, 0.03506292775273323, -0.014062979258596897, -0.01728268526494503, -0.057542264461517334, -0.027605261653661728, 0.024983355775475502, 0.016019361093640327, -0.0037915657740086317, 0.05490631237626076, 0.0160893052816391, -0.061287324875593185, 0.03371288254857063, 0.0011894513154402375, -0.052790604531764984, 0.0502486377954483, 0.023355916142463684, 0.10764136165380478, -0.034693166613578796, -0.04647853597998619, 0.018547138199210167, 0.007361168973147869, -0.020406650379300117, 0.00020572901121340692, 0.006442890968173742, -0.0034295881632715464, -0.029566841199994087, -0.0071385810151696205, 0.01624639518558979, -0.08150547742843628, 0.00513383699581027, 0.0593365877866745, 0.0033384147100150585, 0.043148547410964966, -0.03966357931494713, -0.017692608758807182, -0.007792068645358086, 0.0012947189388796687, -0.01425334345549345, 0.0470442958176136, -0.0077854604460299015, -0.008280825801193714, -0.028254523873329163, -0.04460747167468071, -0.04191882908344269, 0.07241304963827133, -0.005525234621018171, -0.028794266283512115, -0.05022107809782028, -0.011019490659236908, 0.03680941462516785, 0.027486717328429222, 0.0014177843695506454, 0.03161369636654854, 0.04941873252391815, 0.059013161808252335, -0.02164277620613575, 0.04985133931040764, -0.0003693323815241456, -0.012743161991238594, -0.03434325009584427, 0.01626444049179554, 0.01651415042579174, -0.02597052976489067, -0.0021892061922699213, 0.04277346283197403, 0.03854908049106598, -0.033454298973083496, -0.033599626272916794, 0.04455482214689255, -0.0012928647920489311, 0.0018155016005039215, 0.012302091345191002, -0.030377374961972237, -0.03366900980472565, 0.026069166138768196, -0.0012557883746922016, -0.005474261473864317, -0.0010000017937272787, -0.044730134308338165, 0.019449234008789062, -0.005713846534490585, 0.031145181506872177, 0.01696993224322796, 0.00029489805456250906, 0.0963331088423729, -0.05251641944050789, 0.019532518461346626, -0.027470260858535767, -0.04215989261865616, -0.010460381396114826, 0.04936007782816887, 0.04481501877307892, 0.043248675763607025, -0.012723978608846664, -0.028647897765040398, 0.027254624292254448, 0.05565568059682846, 0.0059360479936003685, 0.031488679349422455, -0.04386076703667641, -0.009904162958264351, 0.05089949816465378, 0.05562067776918411, -0.04926537722349167, -0.027803245931863785, 0.011694293469190598, 0.035425327718257904, -0.01890753023326397, 0.02034461684525013, -0.04228127375245094, 0.02105250582098961, -0.07222086936235428, -0.04653080925345421, 0.042238492518663406, 0.0007767981733195484, -0.009540696628391743, 0.028219593688845634, -0.03583095967769623, -0.0024198119062930346, 0.01629064232110977, 0.0171577837318182, 0.015345956198871136, -0.057468339800834656, 0.017969882115721703, 0.02372792735695839, 0.0416085347533226, -0.040510330349206924, 0.022716598585247993, -0.014300699345767498, 0.007848931476473808, 0.030068693682551384, -0.07660820335149765, 0.017608078196644783, 0.048149917274713516, 0.021613972261548042, -0.04610977694392204, 0.04131416976451874, 0.013381274417042732, -0.0032160195987671614, 0.0409952737390995, 0.007673974148929119, 0.07519666105508804, -0.011342013254761696, 0.03369152173399925, 0.08680468052625656, 0.015427043661475182, -0.0003509549715090543, 0.03827814385294914, 0.06065875664353371, 0.018776100128889084, -0.032809920608997345, 0.07803520560264587, -0.028862783685326576, 0.005427963566035032, -0.022436518222093582, -0.012772797606885433, -0.009393574669957161, 0.009819802828133106, 0.00271757529117167, 0.008487505838274956, -0.014539429917931557, 0.0005220103776082397, -0.006408445071429014, 0.004043777473270893, 0.0526602640748024, 0.0004212412459310144, -0.010610482655465603, 0.0070142499171197414, -0.02863595448434353, 0.016240956261754036, -0.060562241822481155, -0.04271290823817253, -0.024795744568109512, -0.016266116872429848, 0.006576021667569876, -0.08440254628658295, -0.040061105042696, -0.07382458448410034, -0.02270592749118805, 0.041901201009750366, 0.013988976366817951, -0.01318778283894062, -0.026093538850545883, 0.021687552332878113, -0.04544072225689888, -0.07732681185007095, -0.06261159479618073, -0.03204767033457756, -0.036374080926179886, -0.0855913758277893, 0.03086044080555439, 0.01332123950123787, 0.02322383224964142, 0.018729528412222862, 0.007335924543440342, -0.03376078978180885, -0.023649640381336212, 0.053978610783815384, 0.03750817850232124, -0.03474830463528633, -0.018364984542131424, 0.0265653058886528, -0.02166215144097805, 0.017339784651994705, 0.01113115344196558, -0.049251336604356766, 0.06957093626260757, 0.0770244374871254, 0.01614043116569519, 0.016841616481542587, 0.026514671742916107, -0.03198157250881195, -0.06899157166481018, -0.036016564816236496, -0.025769542902708054, -0.008673726581037045, -0.06410370022058487, -0.04702750965952873, -0.027856746688485146, -0.01869732327759266, -0.007067069411277771, -0.011167928576469421, 0.011395063251256943, 0.04904456064105034, 0.03648454323410988, 0.029632359743118286, 0.02928154356777668, -0.02801699936389923, -0.03358922898769379, 0.06148717924952507, 0.0006615149904973805, 0.009073141030967236, -0.075608991086483, -0.006378334481269121, 0.030860748142004013, 0.01747790537774563, -0.004073189105838537, -0.02427038736641407, 0.08113421499729156, 0.008498015813529491, -0.015023563988506794, -0.002753305481746793, -0.019499296322464943, -0.009042520076036453, 0.0008606291376054287, -0.018662206828594208, -0.013148686848580837, -0.050195664167404175, -0.008517579175531864, -0.002415589289739728, 0.02842947468161583, -0.06313993036746979, -0.053748372942209244, -0.023102594539523125, 0.03858506679534912, 0.03596486151218414, 0.02638976089656353, -0.03719243407249451, -0.017663300037384033, -0.05480476841330528, -0.024557987228035927, 0.030794700607657433, 0.023197773844003677, 0.004540696274489164, 0.04482124000787735, 0.017573300749063492, -0.031339965760707855, 0.04942585900425911, 0.047746703028678894, 0.04568713530898094, 0.015315667726099491, -0.04812395200133324, 0.016722945496439934, -0.010643504559993744, 0.007875209674239159, -0.0006199609488248825, -0.027202371507883072, -0.03898610919713974, -0.09571470320224762, -0.003409271128475666, 0.03804474323987961, -0.000849398726131767, 0.0047591268084943295, 0.032713308930397034, -0.003721761517226696, 0.025246581062674522, -0.015731247141957283, 0.014279801398515701, 0.039051901549100876, -0.034807238727808, 0.05677338317036629, -0.011657029390335083, 0.019300973042845726, -0.04761118441820145, 0.011515897698700428, -0.0319729708135128, -0.0003485515480861068, -0.0007027719984762371, 0.06579387187957764, 0.01567968539893627, 0.029111070558428764, 0.06809163093566895, 0.0006533950800076127, -0.02420385740697384, 0.02376922033727169, 0.053151775151491165, 0.007969162426888943, -0.04803119972348213, -0.005591762252151966, -0.01314928662031889, -0.05185564234852791, 0.014227556064724922, -0.03414794057607651, 0.034572333097457886, 0.053004540503025055, 0.0005858949734829366, -0.015753915533423424, 0.023532722145318985, -0.023757239803671837, -0.02474932186305523, -0.05206768587231636, -0.03416334092617035, 0.01795930415391922, -0.02433847263455391, 0.02770555391907692, 0.03520777076482773, 0.009783859364688396, 0.05467100068926811, 0.02373485639691353, -0.02952653542160988, -0.022348318248987198, 0.03974631428718567, 0.015771852806210518, -0.0481354221701622, -0.059354137629270554, -0.018616100773215294, 0.0652855634689331, 0.04186839610338211, -0.020923146978020668, -0.06690260767936707, -0.004695052746683359, 0.07228798419237137, -0.04009392857551575, 0.0867503210902214, 0.001365177915431559, 0.04662688821554184, 0.0518360435962677, -0.027693897485733032, 0.03136438503861427, -0.050537507981061935, 0.029955070465803146, 0.013291957788169384, 0.03988223150372505, -0.035941265523433685, -0.03247900307178497, -0.022264298051595688, 0.02648306079208851, 0.02505362406373024, 0.0715215727686882, 0.03315024822950363, -0.0451696403324604, -0.038212619721889496, 0.0007164367125369608, 0.05221984535455704, -0.07827338576316833, 0.027657201513648033, 0.038818228989839554, 0.05770179256796837, -0.04520661011338234, -0.053704939782619476, -0.015011131763458252, -0.005231980700045824, 0.02072710543870926, 0.00273212231695652, -0.03553205356001854, -0.06643468886613846, 0.03972742334008217, 0.0026003122329711914, -0.012487733736634254, -0.06489916145801544, 0.029411228373646736, -0.033938538283109665, -0.010108280926942825, 0.0488879531621933, 0.007474665995687246, 0.03548981249332428, 0.04887465015053749, 0.007864897139370441, -0.0062142931856215, -0.0327613390982151, 0.017560450360178947, -0.05380126088857651, -0.000026543630156083964, -0.01248782966285944, -0.020324217155575752, 0.0029331129044294357, -0.009475097991526127, -0.06719126552343369, -0.04897516593337059, -0.015313517302274704, 0.04043272137641907, 0.019517645239830017, -0.01499827392399311, -0.03351414203643799, 0.02501552179455757, -0.005776839330792427, -0.03240400180220604, -0.003968107979744673, -0.0339864045381546, -0.06059938296675682, -0.060997962951660156, 0.018304351717233658, -0.01093427836894989, 0.02743479609489441, 0.03854724392294884, 0.020039496943354607, 0.013337379321455956, -0.006166461389511824, -0.03205540031194687, 0.02627749927341938, -0.008123655803501606, -0.028219304978847504, -0.01602298393845558, 0.030986685305833817, -0.013793026097118855, 0.06012433022260666, -0.03734186664223671, 0.026453375816345215, 0.024016061797738075, -0.027878068387508392, -0.005450757686048746, -0.00042491708882153034, 0.0125198345631361, -0.05839311331510544, -0.045002326369285583, -0.0171896331012249, -0.040035102516412735, 0.019019141793251038, -0.03490282967686653, -0.014461588114500046, 0.008951546624302864, 0.036101292818784714, 0.022420609369874, -0.02447013184428215, -0.023596517741680145, 0.017840106040239334, -0.024843594059348106, 0.015290873125195503, -0.050264257937669754, 0.021182209253311157, -0.01640133373439312, 0.01662832498550415, -0.0067937010899186134, -0.033562131226062775, -0.0384259931743145, 0.014624817296862602, -0.019153106957674026, -0.024683529511094093, 0.017778929322957993, 0.026451783254742622, -0.03558548912405968, 0.04645155370235443, 0.016409380361437798, 0.0342831052839756, -0.010406071320176125, 0.05482493340969086, -0.06719614565372467, -0.01725604757666588, -0.0039474451914429665, 0.0020230701193213463, -0.0394991971552372, -0.0033884586300700903, -0.0046094078570604324, -0.04242098331451416, 0.022603165358304977, 0.06839852035045624, -0.0028225064743310213, 0.02325848862528801, -0.04481090232729912, 0.011773252859711647, 0.03900998830795288, -0.06295567750930786, -0.021234119310975075, -0.026195112615823746, -0.041782792657613754, -0.01920017972588539, 0.057317864149808884, 0.04862307757139206, -0.05809907242655754, -0.06173768267035484, 0.035596705973148346, -0.006338132079690695, -0.009804155677556992, 0.0014964509755373001, 0.0340886265039444, 0.027832908555865288, 0.021903106942772865, -0.033577606081962585, 0.004894870799034834, 0.011218268424272537, -0.0021086442284286022, 0.02031562477350235, -0.008872498758137226, 0.04336818680167198, -0.021858850494027138, -0.029508067294955254, -0.0051882509142160416, 0.0833527073264122, 0.030891556292772293, 0.022671440616250038, -0.016986453905701637, -0.023712746798992157, 0.041374571621418, -0.006247903220355511, -0.05303614214062691, -0.004515327047556639, 0.05319470912218094, -0.041883595287799835, 0.08432511985301971, -0.007701070513576269, 0.018017448484897614, 0.04894958809018135, 0.04333234578371048, -0.01996414177119732, 0.062366969883441925, -0.00842269416898489, 0.006596681661903858, 0.04943987727165222, -0.07356513291597366, 0.009282686747610569, -0.035730935633182526, 0.06235567107796669, -0.07293470203876495, 0.05544843524694443, 0.03628259897232056, 0.02420857734978199, 0.026647450402379036, -0.029833590611815453, -0.03538670763373375, 0.0255544763058424, -0.05748533830046654, 0.08334682881832123, 0.006752881687134504, -0.06803211569786072, 0.07567258179187775, 0.010566925629973412, -0.08068254590034485, 0.01270721759647131, 0.028157353401184082, 0.021054672077298164, 0.036952849477529526, 0.05338497459888458, -0.0424918532371521, 0.0008570257341489196, -0.03235863149166107, 0.0267303716391325, -0.024226166307926178, -0.007402366492897272, 0.027578873559832573, -0.01936803013086319, -0.025564245879650116, 0.03664363920688629, -0.026390954852104187, -0.020214486867189407, 0.03949384763836861, -0.04173688590526581, -0.029602820053696632, 0.027788108214735985, 0.03071928396821022, -0.0013614642666652799, 0.031225332990288734, -0.03665761649608612, 0.03341169282793999, 0.024046465754508972, 0.011776442639529705, -0.02176886424422264, -0.01311965100467205, 0.044679440557956696, -0.08086074888706207, -0.029286840930581093, 0.031679946929216385, -0.006030803080648184, -0.028415272012352943, 0.03373162820935249, 0.013774889521300793, 0.02882913127541542, -0.00541812926530838, 0.014604531228542328, -0.011677305214107037, -0.0424196682870388, 0.004489319398999214, -0.012910217978060246, 0.040037158876657486, 0.023435009643435478, -0.011404110118746758, 0.054632022976875305, 0.021161220967769623, 0.03933897614479065, -0.0005237995064817369, -0.024877000600099564, -0.021425269544124603, 0.024013996124267578, -0.06396914273500443, 0.010697484947741032, -0.0006776771042495966, -0.05485936999320984, -0.04331262409687042, -0.005347255617380142, -0.008392791263759136, 0.026627011597156525, -0.04768136888742447, 0.018506787717342377, 0.04029897600412369, -0.013297379948198795, -0.030079418793320656, -0.07046176493167877, -0.04091772437095642, -0.01451269630342722, 0.0117869321256876, 0.015594529919326305, -0.027289826422929764, 0.0038956187199801207, -0.013097274117171764, -0.05460403114557266, 0.01906391605734825, 0.025899717584252357, -0.029011406004428864, 0.07410775870084763, 0.0728275328874588, -0.05143912881612778, 0.016654672101140022, 0.02602863311767578, -0.030026493594050407, 0.045531321316957474, -0.015402715653181076, 0.010059164837002754, 0.04253145679831505, 0.05414291471242905, -0.0012830722844228148, -0.03743300214409828, -0.07070716470479965, -0.03615516796708107, -0.021304363384842873, -0.00026679018628783524, 0.03732467442750931 ]
AnthonyNelson/DialoGPT-small-ricksanchez
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
null
--- language: en license: mit tags: - question-answering - bert - bert-base datasets: - squad metrics: - squad widget: - text: Which name is also used to describe the Amazon rainforest in English? context: 'The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish: Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch: Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is a moist broadleaf forest that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This region includes territory belonging to nine nations. The majority of the forest is contained within Brazil, with 60% of the rainforest, followed by Peru with 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia, Guyana, Suriname and French Guiana. States or departments in four nations contain "Amazonas" in their names. The Amazon represents over half of the planet''s remaining rainforests, and comprises the largest and most biodiverse tract of tropical rainforest in the world, with an estimated 390 billion individual trees divided into 16,000 species.' - text: How many square kilometers of rainforest is covered in the basin? context: 'The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish: Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch: Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is a moist broadleaf forest that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This region includes territory belonging to nine nations. The majority of the forest is contained within Brazil, with 60% of the rainforest, followed by Peru with 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia, Guyana, Suriname and French Guiana. States or departments in four nations contain "Amazonas" in their names. The Amazon represents over half of the planet''s remaining rainforests, and comprises the largest and most biodiverse tract of tropical rainforest in the world, with an estimated 390 billion individual trees divided into 16,000 species.' model-index: - name: csarron/bert-base-uncased-squad-v1 results: - task: type: question-answering name: Question Answering dataset: name: squad type: squad config: plain_text split: validation metrics: - type: exact_match value: 80.9104 name: Exact Match verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNDJlOWQ0OTE0ZjRhMTQwNDY5MjVhYmZiN2RmYzY0OWJiOWUyNjcyMWU5N2I3YmU0OThjZTVjNTc2MjM2Yzg5NiIsInZlcnNpb24iOjF9.cuJ34B-ngUur5wKGhfhVP8FM6NX4IFrIJEdXypbLQJw1i8M5Bb2EeIs-0M5n35YIx2PfqSQcnVj_jP8vLUk4Dg - type: f1 value: 88.2302 name: F1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYmE4NzFmNDA3MDRiODk3ZDg5NWYyNjczOGE5YjdkZWQ0ZmEzNWU5YjFjMzc1ODA2OGRjYzU0Y2M5MmU0NGNhYSIsInZlcnNpb24iOjF9.phmkVWF3I-rl2xrHW0EW9OQqzfuefoqNjWplOpFdzJuW8d2C4sJ8snW0Ikw9kQqZaBCdwdkmsf5VTgOupHb8Dw --- ## BERT-base uncased model fine-tuned on SQuAD v1 This model was fine-tuned from the HuggingFace [BERT](https://www.aclweb.org/anthology/N19-1423/) base uncased checkpoint on [SQuAD1.1](https://rajpurkar.github.io/SQuAD-explorer). This model is case-insensitive: it does not make a difference between english and English. ## Details | Dataset | Split | # samples | | -------- | ----- | --------- | | SQuAD1.1 | train | 90.6K | | SQuAD1.1 | eval | 11.1k | ### Fine-tuning - Python: `3.7.5` - Machine specs: `CPU: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz` `Memory: 32 GiB` `GPUs: 2 GeForce GTX 1070, each with 8GiB memory` `GPU driver: 418.87.01, CUDA: 10.1` - script: ```shell # after install https://github.com/huggingface/transformers cd examples/question-answering mkdir -p data wget -O data/train-v1.1.json https://rajpurkar.github.io/SQuAD-explorer/dataset/train-v1.1.json wget -O data/dev-v1.1.json https://rajpurkar.github.io/SQuAD-explorer/dataset/dev-v1.1.json python run_squad.py \ --model_type bert \ --model_name_or_path bert-base-uncased \ --do_train \ --do_eval \ --do_lower_case \ --train_file train-v1.1.json \ --predict_file dev-v1.1.json \ --per_gpu_train_batch_size 12 \ --per_gpu_eval_batch_size=16 \ --learning_rate 3e-5 \ --num_train_epochs 2.0 \ --max_seq_length 320 \ --doc_stride 128 \ --data_dir data \ --output_dir data/bert-base-uncased-squad-v1 2>&1 | tee train-energy-bert-base-squad-v1.log ``` It took about 2 hours to finish. ### Results **Model size**: `418M` | Metric | # Value | # Original ([Table 2](https://www.aclweb.org/anthology/N19-1423.pdf))| | ------ | --------- | --------- | | **EM** | **80.9** | **80.8** | | **F1** | **88.2** | **88.5** | Note that the above results didn't involve any hyperparameter search. ## Example Usage ```python from transformers import pipeline qa_pipeline = pipeline( "question-answering", model="csarron/bert-base-uncased-squad-v1", tokenizer="csarron/bert-base-uncased-squad-v1" ) predictions = qa_pipeline({ 'context': "The game was played on February 7, 2016 at Levi's Stadium in the San Francisco Bay Area at Santa Clara, California.", 'question': "What day was the game played on?" }) print(predictions) # output: # {'score': 0.8730505704879761, 'start': 23, 'end': 39, 'answer': 'February 7, 2016'} ``` > Created by [Qingqing Cao](https://awk.ai/) | [GitHub](https://github.com/csarron) | [Twitter](https://twitter.com/sysnlp) > Made with ❤️ in New York.
[ -0.013810995034873486, -0.029260804876685143, -0.02545067109167576, 0.03028121404349804, 0.04645899310708046, 0.025651032105088234, 0.014846579171717167, 0.013430011458694935, -0.0362543985247612, 0.0523444302380085, 0.029307734221220016, -0.0162353515625, 0.024191956967115402, 0.05412427335977554, -0.03619682788848877, -0.029598092660307884, 0.0005360906361602247, 0.003675684565678239, -0.06810765713453293, -0.008111887611448765, 0.014252212829887867, 0.03575974702835083, -0.022467676550149918, 0.047265905886888504, 0.00706150708720088, 0.017347363755106926, 0.0011758909095078707, 0.03557318076491356, 0.024317126721143723, -0.06972009688615799, -0.0008064279099926353, -0.022362379357218742, -0.05781190097332001, -0.047468796372413635, -0.02064906433224678, -0.006098104640841484, 0.032356563955545425, -0.006707175634801388, 0.026370840147137642, 0.02168050967156887, -0.014436316676437855, 0.02682727389037609, 0.012836678884923458, -0.028286676853895187, 0.03881983086466789, 0.012907592579722404, -0.039332251995801926, -0.046300258487463, 0.021395429968833923, -0.03195512667298317, -0.05979026481509209, -0.0701787993311882, -0.03528925031423569, 0.0015523501206189394, 0.011683971621096134, 0.01002351101487875, -0.08311764895915985, 0.008786194957792759, 0.05719495937228203, -0.06843911856412888, -0.04391288757324219, 0.0023491503670811653, -0.10619516670703888, -0.004195368383079767, 0.03383460268378258, -0.03169551491737366, 0.02864467166364193, 0.0005311559652909636, 0.031158743426203728, -0.04658564180135727, 0.0856463685631752, -0.05294766277074814, 0.029884425923228264, -0.09340415894985199, -0.0253195408731699, -0.023071935400366783, 0.016716066747903824, 0.04293227940797806, -0.061048220843076706, 0.04432353004813194, 0.024995950981974602, 0.015427439473569393, 0.021708443760871887, -0.0354943573474884, -0.026646442711353302, 0.02209973707795143, -0.05627823248505592, -0.00008534723747288808, 0.0022327846381813288, 0.047105684876441956, -0.03435041010379791, -0.014571523293852806, 0.039528876543045044, -0.02737887017428875, 0.00837785191833973, 0.07320398837327957, 0.03820475563406944, -0.014207419008016586, 0.016568124294281006, 0.014853987842798233, 0.002063295803964138, 0.06021812558174133, 0.012004179880023003, 0.06856576353311539, 0.006710549350827932, -0.005173689220100641, -0.004367123357951641, -0.02214720845222473, -0.03843778371810913, 0.04909263178706169, 0.012707955203950405, -0.05794120952486992, -0.020925451070070267, 0.04050396382808685, -0.004090739414095879, -0.03301412984728813, 0.057592228055000305, -0.017800718545913696, -0.08770706504583359, -0.040096089243888855, 0.04715375974774361, 0.020187942311167717, 0.0072984835132956505, 0.007902325130999088, -0.052455201745033264, -0.029041185975074768, -0.030763540416955948, -0.026055585592985153, 0.0127323679625988, -0.0005322822253219783, -0.014760714955627918, 0.0340224951505661, 0.03005964308977127, -0.06412344425916672, 0.008593779057264328, 0.005805475637316704, -0.05664438009262085, 0.008083430118858814, 0.043338607996702194, 0.09587713330984116, -0.040917184203863144, -0.054610077291727066, 0.03330805525183678, 0.004278073087334633, -0.009702363982796669, 0.009144829586148262, 0.00023569268523715436, -0.028556618839502335, -0.05389474704861641, 0.005229005590081215, 0.06846505403518677, -0.04179893061518669, -0.008867563679814339, 0.030792955309152603, -0.014520499855279922, 0.03899824619293213, -0.03053825907409191, 0.008593233302235603, 0.02246108651161194, 0.0017520809778943658, -0.028052592650055885, 0.026443107053637505, -0.012075173668563366, -0.004115357995033264, -0.049823008477687836, -0.0502469427883625, -0.001169077935628593, 0.0763789489865303, 0.012625979259610176, -0.01138362381607294, -0.029504572972655296, 0.01875988580286503, 0.041366301476955414, 0.019753756001591682, -0.00411921227350831, 0.039420146495103836, 0.047052428126335144, 0.0426747165620327, 0.014925931580364704, 0.05112740769982338, 0.0033516199328005314, -0.016555435955524445, -0.06143089383840561, 0.06013123318552971, 0.028408529236912727, -0.02490309625864029, 0.01671312190592289, 0.059294719249010086, -0.012821344658732414, -0.023863354697823524, -0.003299861215054989, 0.046077970415353775, 0.00562727265059948, -0.012865733355283737, 0.0164689552038908, -0.005624170880764723, -0.020103182643651962, 0.05788653716444969, -0.03402102366089821, 0.01677299104630947, -0.010153721086680889, -0.012024265713989735, -0.010967819951474667, 0.050125036388635635, 0.006551126483827829, 0.02599523216485977, -0.003963026218116283, 0.10158458352088928, -0.012794379144906998, 0.028050560504198074, -0.04589713737368584, -0.02974759042263031, 0.0037659751251339912, 0.048746392130851746, 0.028514035046100616, 0.04920491948723793, -0.021815935149788857, -0.03981095924973488, 0.00759127689525485, 0.07404012233018875, 0.0572471059858799, 0.030091669410467148, 0.003371488070115447, -0.03216775506734848, 0.00034115713788196445, 0.05990448594093323, -0.02990463562309742, -0.046450112015008926, 0.029499437659978867, 0.055317144840955734, -0.03380883112549782, 0.0011374494060873985, -0.007732606027275324, 0.012344349175691605, -0.013628085143864155, -0.060179732739925385, 0.03833597153425217, 0.032824594527482986, 0.010465145111083984, 0.03939210623502731, -0.015437489375472069, 0.008531926199793816, -0.005577547010034323, 0.04388239234685898, 0.006125715095549822, -0.05020267516374588, 0.0048445966094732285, -0.01446260791271925, 0.07350800931453705, -0.06182370334863663, 0.029809996485710144, 0.010897698812186718, 0.032523203641176224, 0.03114093653857708, -0.047515518963336945, 0.014178561046719551, 0.06250376254320145, 0.013813928700983524, -0.019779009744524956, 0.025797000154852867, 0.02218502014875412, 0.005260358098894358, 0.08581514656543732, 0.020252637565135956, 0.06380059570074081, 0.020149560645222664, 0.01194292213767767, 0.07825709879398346, 0.023011036217212677, 0.021184956654906273, 0.019716080278158188, 0.058886587619781494, -0.003375730011612177, -0.028943654149770737, 0.035701148211956024, -0.03917333856225014, 0.03692363202571869, -0.023818105459213257, -0.014632100239396095, 0.010309701785445213, 0.00428321398794651, 0.05137854442000389, 0.01941188983619213, -0.048235878348350525, 0.023659246042370796, 0.0014588042395189404, -0.0034501655027270317, 0.05657535418868065, -0.02221815101802349, 0.017780620604753494, -0.008315114304423332, -0.01671772263944149, -0.0052666435949504375, -0.07053697109222412, -0.015206269919872284, 0.004812654107809067, -0.018455248326063156, -0.021222306415438652, -0.04704849421977997, -0.01833607256412506, -0.021735453978180885, -0.03559422492980957, 0.06768206506967545, 0.018803976476192474, -0.0057815383188426495, -0.01277137640863657, 0.02158534899353981, -0.048809684813022614, -0.07050180435180664, -0.044555649161338806, -0.04561420902609825, -0.03552742674946785, -0.0647805780172348, 0.030268674716353416, 0.03863246366381645, 0.01962646283209324, 0.0038679104764014482, 0.004639467224478722, -0.01895795576274395, -0.014482959173619747, 0.04144260659813881, 0.0528283454477787, -0.0418558232486248, -0.037409525364637375, 0.027021747082471848, 0.015581594780087471, 0.014069017954170704, -0.01591378264129162, -0.024137435480952263, 0.08908644318580627, 0.07952799648046494, 0.01519485842436552, 0.006494519766420126, -0.005118210334330797, 0.005058172158896923, -0.04861307516694069, -0.02775612100958824, -0.027880748733878136, -0.016269376501441002, -0.065473273396492, -0.04740077257156372, -0.023304959759116173, -0.044735781848430634, -0.007978025823831558, 0.010026075877249241, -0.012233709916472435, 0.03205146640539169, 0.02098057232797146, 0.027924107387661934, 0.04044102877378464, -0.03405072167515755, -0.03572925925254822, 0.08977054804563522, 0.03036828711628914, -0.021868068724870682, -0.05471855029463768, -0.012368897907435894, 0.041698187589645386, 0.003487220499664545, 0.015029785223305225, -0.02039545588195324, 0.06892120093107224, 0.042022377252578735, -0.005103267729282379, -0.0026958028320223093, -0.029231073334813118, -0.052844174206256866, -0.013954120688140392, -0.012182077392935753, -0.046733058989048004, -0.05797802656888962, -0.03547505661845207, 0.02254069223999977, 0.018491560593247414, -0.040717363357543945, -0.036984942853450775, -0.018002670258283615, 0.020688088610768318, 0.020462337881326675, -0.006981963291764259, -0.03359920531511307, 0.017973940819501877, -0.030696595087647438, -0.014178282581269741, -0.003284586127847433, -0.0300532765686512, -0.015107442624866962, 0.041623927652835846, 0.02893812581896782, -0.03456105664372444, 0.05924398452043533, 0.002211544895544648, 0.06793493032455444, 0.030189335346221924, -0.04968341067433357, 0.01891079731285572, 0.0001775451673893258, 0.027146177366375923, -0.011412865482270718, -0.011176180094480515, -0.040895506739616394, -0.06311257928609848, 0.0038425158709287643, -0.005965914111584425, -0.01760192960500717, -0.019396889954805374, 0.0645388513803482, -0.01316631305962801, -0.006239513400942087, -0.0006488536018878222, 0.0031421962194144726, 0.03897164762020111, -0.05452115088701248, 0.059818729758262634, 0.0013137166388332844, 0.04627158120274544, -0.05337769165635109, 0.006746609229594469, -0.05369938164949417, -0.024107351899147034, 0.018819820135831833, 0.05637777969241142, -0.01417146623134613, 0.03880402818322182, 0.06547065824270248, 0.03479549288749695, -0.03855261579155922, 0.017800550907850266, 0.02909458987414837, -0.008517544716596603, -0.05085241422057152, -0.011907822452485561, -0.023825036361813545, -0.04686741903424263, -0.0024486419279128313, -0.0358441025018692, 0.047395020723342896, 0.03535117581486702, -0.014883538708090782, 0.0009720154921524227, 0.009179282002151012, -0.0022730031050741673, -0.04176095873117447, -0.03633657842874527, 0.02092670649290085, 0.0038873604498803616, -0.02692994847893715, 0.03177471458911896, 0.03353589028120041, -0.01188880205154419, 0.06262463331222534, 0.03806598484516144, -0.02453712373971939, -0.05341922119259834, 0.03489276394248009, 0.0054664635099470615, -0.00655781477689743, -0.03716355934739113, -0.024064412340521812, 0.032896608114242554, 0.05366230756044388, 0.010495432652533054, -0.08811543136835098, 0.01938718743622303, 0.06523671746253967, -0.052212830632925034, 0.034646306186914444, 0.008079443126916885, 0.05084437131881714, 0.05705130472779274, -0.021942993625998497, 0.01648624613881111, -0.03920702636241913, 0.012645955197513103, -0.015857499092817307, 0.04929255321621895, -0.014276375994086266, -0.05285988748073578, -0.03276824206113815, 0.018855366855859756, 0.038192018866539, 0.050695598125457764, 0.0068750400096178055, -0.045051682740449905, -0.039632491767406464, 0.009860225953161716, 0.031063435599207878, -0.03394930064678192, 0.04056432470679283, 0.015034339390695095, 0.026344332844018936, -0.03489009663462639, -0.03654235601425171, -0.016037944704294205, 0.0011209382209926844, 0.03812269866466522, -0.02145831473171711, -0.016204366460442543, -0.08150796592235565, 0.029482800513505936, -0.025350254029035568, -0.03760525584220886, -0.06422638148069382, 0.02863391861319542, -0.0020470148883759975, -0.03918230161070824, 0.08531130850315094, 0.014223122969269753, 0.053121864795684814, 0.048368215560913086, 0.022879717871546745, -0.009084846824407578, -0.045830972492694855, 0.05934058129787445, -0.06092584505677223, -0.017584621906280518, 0.00026366038946434855, -0.03749362751841545, -0.018681131303310394, -0.031698111444711685, -0.052058931440114975, -0.029175223782658577, -0.008610256016254425, 0.03377322480082512, 0.008742817677557468, 0.02722693234682083, -0.027480535209178925, 0.01971455104649067, -0.004440261982381344, 0.0031181136146187782, -0.01448353473097086, -0.02702324092388153, -0.042720675468444824, -0.013111218810081482, 0.036071669310331345, 0.011533844284713268, 0.009307097643613815, 0.007552631199359894, 0.01085439883172512, 0.02746838890016079, 0.010536940768361092, -0.02461380884051323, 0.02583886869251728, 0.008333228528499603, -0.04110966995358467, -0.013905790634453297, 0.031282104551792145, 0.004625519271939993, 0.03149574249982834, -0.012610150501132011, 0.032517995685338974, 0.030749835073947906, -0.005760614760220051, -0.027506954967975616, 0.0321698896586895, 0.025213314220309258, -0.049183692783117294, -0.02978035807609558, -0.01796891912817955, -0.058633752167224884, 0.0343175008893013, -0.03496372327208519, -0.0619189515709877, 0.034557439386844635, 0.010438124649226665, 0.06548324972391129, 0.004791932180523872, -0.011602163314819336, 0.029216546565294266, -0.01887567900121212, 0.022008350118994713, -0.059547170996665955, 0.04621623829007149, -0.020846959203481674, 0.0034079074393957853, -0.00937308557331562, -0.0057090227492153645, -0.053675759583711624, 0.06705629080533981, -0.03127416595816612, -0.0161565113812685, -0.009803700260818005, 0.01612577959895134, 0.0012994809076189995, 0.025760620832443237, -0.038659337908029556, 0.0031063128262758255, -0.027945278212428093, 0.04537717625498772, -0.07857967913150787, -0.004077922087162733, 0.00398218585178256, -0.011137835681438446, -0.03554341942071915, 0.010563871823251247, 0.0022815850097686052, -0.037876009941101074, 0.026085935533046722, 0.02565661445260048, 0.023365633562207222, 0.0053460304625332355, -0.03267424926161766, 0.009241458028554916, 0.03849708288908005, -0.06535545736551285, -0.024524468928575516, 0.006970118265599012, -0.01592690870165825, -0.011822730302810669, 0.037705566734075546, 0.058621685951948166, -0.0749828964471817, -0.06902218610048294, 0.045298244804143906, 0.010907289572060108, 0.01642538607120514, -0.02371903508901596, 0.012381220236420631, 0.029825076460838318, 0.03496509790420532, -0.05577488988637924, 0.011255006305873394, -0.017983028665184975, -0.04140617325901985, 0.022568844258785248, -0.0061035980470478535, 0.016216428950428963, 0.0034774804953485727, -0.01271695178002119, -0.0198842603713274, 0.0915232002735138, 0.04167884960770607, 0.0025168454740196466, -0.01281258836388588, -0.042781222611665726, 0.028056886047124863, 0.002722881967201829, -0.0312027670443058, 0.009570575319230556, -0.011643564328551292, -0.026572812348604202, 0.06460213661193848, 0.005307490471750498, 0.023038294166326523, 0.04775156080722809, 0.021679311990737915, 0.00246093119494617, 0.04149807617068291, -0.0003739251405932009, -0.004302527289837599, 0.03887992724776268, -0.06868156045675278, -0.017189884558320045, -0.04063050076365471, 0.068184994161129, -0.07610625773668289, 0.040279921144247055, 0.01153773907572031, 0.013787251897156239, 0.016078533604741096, -0.02502276562154293, -0.02677462249994278, -0.0032263698522001505, -0.052679747343063354, 0.06441641598939896, -0.009700012393295765, -0.04722856357693672, 0.05779162049293518, 0.027242017909884453, -0.07227318733930588, 0.026820780709385872, -0.006530393846333027, 0.04855276271700859, 0.021904006600379944, 0.025270787999033928, -0.0550420880317688, 0.03429155424237251, -0.028260817751288414, 0.05962473526597023, -0.058377157896757126, -0.028144128620624542, 0.016972435638308525, -0.02594699151813984, -0.013550080358982086, 0.032248105853796005, -0.05174572393298149, -0.0004679067642427981, 0.0016929685370996594, -0.056064195930957794, -0.0749230906367302, 0.03781730309128761, 0.055569928139448166, -0.0399504117667675, -0.03734419867396355, -0.010908120311796665, 0.020289914682507515, 0.026970364153385162, 0.026604358106851578, -0.04164259135723114, -0.002763319294899702, 0.021682603284716606, -0.08886466175317764, -0.027665477246046066, 0.043316133320331573, 0.022034350782632828, -0.023089546710252762, 0.003664898220449686, -0.0007010344415903091, 0.012465016916394234, -0.011369923129677773, 0.01429626066237688, 0.023635568097233772, -0.044975437223911285, -0.016213813796639442, 0.030734840780496597, 0.011892445385456085, 0.024695666506886482, -0.014884594827890396, 0.029309339821338654, 0.06311243027448654, 0.05574733018875122, -0.003369235899299383, -0.011288132518529892, -0.027373000979423523, 0.04376402124762535, -0.050405003130435944, 0.02064473368227482, -0.017181020230054855, -0.06632141768932343, -0.027940252795815468, 0.02474675327539444, -0.009249999187886715, 0.034489136189222336, -0.05163560062646866, 0.01683248020708561, 0.02799149602651596, -0.0008574399398639798, -0.042971376329660416, -0.0868493840098381, -0.03029528073966503, -0.024608423933386803, -0.01407065149396658, 0.030303742736577988, -0.04059356451034546, 0.022729571908712387, -0.04028477892279625, -0.04570399969816208, 0.0307011678814888, -0.016095688566565514, -0.073855459690094, 0.039454855024814606, 0.04884806275367737, -0.04089083522558212, 0.012325594201683998, 0.037768010050058365, -0.000714924477506429, 0.03471355140209198, 0.006344058085232973, -0.0067075276747345924, 0.034901972860097885, 0.03379000350832939, -0.008667441084980965, -0.044165607541799545, -0.028183255344629288, -0.018732959404587746, -0.03911880776286125, 0.017340360209345818, 0.07385590672492981 ]
Anthos23/distilbert-base-uncased-finetuned-sst2
[ "tf", "tensorboard", "distilbert", "text-classification", "transformers", "generated_from_keras_callback", "license:apache-2.0" ]
text-classification
{ "architectures": [ "DistilBertForSequenceClassification" ], "model_type": "distilbert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
21
null
--- language: en thumbnail: license: mit tags: - question-answering - mobilebert datasets: - squad_v2 metrics: - squad_v2 widget: - text: "Which name is also used to describe the Amazon rainforest in English?" context: "The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish: Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch: Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is a moist broadleaf forest that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This region includes territory belonging to nine nations. The majority of the forest is contained within Brazil, with 60% of the rainforest, followed by Peru with 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia, Guyana, Suriname and French Guiana. States or departments in four nations contain \"Amazonas\" in their names. The Amazon represents over half of the planet's remaining rainforests, and comprises the largest and most biodiverse tract of tropical rainforest in the world, with an estimated 390 billion individual trees divided into 16,000 species." - text: "How many square kilometers of rainforest is covered in the basin?" context: "The Amazon rainforest (Portuguese: Floresta Amazônica or Amazônia; Spanish: Selva Amazónica, Amazonía or usually Amazonia; French: Forêt amazonienne; Dutch: Amazoneregenwoud), also known in English as Amazonia or the Amazon Jungle, is a moist broadleaf forest that covers most of the Amazon basin of South America. This basin encompasses 7,000,000 square kilometres (2,700,000 sq mi), of which 5,500,000 square kilometres (2,100,000 sq mi) are covered by the rainforest. This region includes territory belonging to nine nations. The majority of the forest is contained within Brazil, with 60% of the rainforest, followed by Peru with 13%, Colombia with 10%, and with minor amounts in Venezuela, Ecuador, Bolivia, Guyana, Suriname and French Guiana. States or departments in four nations contain \"Amazonas\" in their names. The Amazon represents over half of the planet's remaining rainforests, and comprises the largest and most biodiverse tract of tropical rainforest in the world, with an estimated 390 billion individual trees divided into 16,000 species." --- ## MobileBERT fine-tuned on SQuAD v2 [MobileBERT](https://arxiv.org/abs/2004.02984) is a thin version of BERT_LARGE, while equipped with bottleneck structures and a carefully designed balance between self-attentions and feed-forward networks. This model was fine-tuned from the HuggingFace checkpoint `google/mobilebert-uncased` on [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer). ## Details | Dataset | Split | # samples | | -------- | ----- | --------- | | SQuAD2.0 | train | 130k | | SQuAD2.0 | eval | 12.3k | ### Fine-tuning - Python: `3.7.5` - Machine specs: `CPU: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz` `Memory: 32 GiB` `GPUs: 2 GeForce GTX 1070, each with 8GiB memory` `GPU driver: 418.87.01, CUDA: 10.1` - script: ```shell # after install https://github.com/huggingface/transformers cd examples/question-answering mkdir -p data wget -O data/train-v2.0.json https://rajpurkar.github.io/SQuAD-explorer/dataset/train-v2.0.json wget -O data/dev-v2.0.json https://rajpurkar.github.io/SQuAD-explorer/dataset/dev-v2.0.json export SQUAD_DIR=`pwd`/data python run_squad.py \ --model_type mobilebert \ --model_name_or_path google/mobilebert-uncased \ --do_train \ --do_eval \ --do_lower_case \ --version_2_with_negative \ --train_file $SQUAD_DIR/train-v2.0.json \ --predict_file $SQUAD_DIR/dev-v2.0.json \ --per_gpu_train_batch_size 16 \ --per_gpu_eval_batch_size 16 \ --learning_rate 4e-5 \ --num_train_epochs 5.0 \ --max_seq_length 320 \ --doc_stride 128 \ --warmup_steps 1400 \ --save_steps 2000 \ --output_dir $SQUAD_DIR/mobilebert-uncased-warmup-squad_v2 2>&1 | tee train-mobilebert-warmup-squad_v2.log ``` It took about 3.5 hours to finish. ### Results **Model size**: `95M` | Metric | # Value | # Original ([Table 5](https://arxiv.org/pdf/2004.02984.pdf))| | ------ | --------- | --------- | | **EM** | **75.2** | **76.2** | | **F1** | **78.8** | **79.2** | Note that the above results didn't involve any hyperparameter search. ## Example Usage ```python from transformers import pipeline qa_pipeline = pipeline( "question-answering", model="csarron/mobilebert-uncased-squad-v2", tokenizer="csarron/mobilebert-uncased-squad-v2" ) predictions = qa_pipeline({ 'context': "The game was played on February 7, 2016 at Levi's Stadium in the San Francisco Bay Area at Santa Clara, California.", 'question': "What day was the game played on?" }) print(predictions) # output: # {'score': 0.71434086561203, 'start': 23, 'end': 39, 'answer': 'February 7, 2016'} ``` > Created by [Qingqing Cao](https://awk.ai/) | [GitHub](https://github.com/csarron) | [Twitter](https://twitter.com/sysnlp) > Made with ❤️ in New York.
[ -0.022204143926501274, -0.030063815414905548, -0.02412671595811844, 0.03389903903007507, 0.045266322791576385, 0.024614689871668816, 0.018162406980991364, 0.01407600473612547, -0.031073343008756638, 0.053298261016607285, 0.031132591888308525, -0.01620357669889927, 0.02481524646282196, 0.05678253620862961, -0.034511540085077286, -0.025180235505104065, -0.006321608554571867, 0.004218118265271187, -0.06899221241474152, -0.001011375105008483, 0.020553074777126312, 0.03873744234442711, -0.02221650257706642, 0.04769575595855713, 0.0055286516435444355, 0.017418147996068, 0.0034137775655835867, 0.03838697448372841, 0.02399373985826969, -0.07233479619026184, 0.004246345721185207, -0.03055434674024582, -0.058922674506902695, -0.0462552085518837, -0.02311106026172638, 0.0011410698061808944, 0.03094596229493618, 0.0019953963346779346, 0.018526263535022736, 0.02143757790327072, -0.014766505919396877, 0.028652073815464973, 0.011927958577871323, -0.027539240196347237, 0.03615403547883034, 0.010009472258388996, -0.04035681486129761, -0.04639940708875656, 0.01748204603791237, -0.031244102865457535, -0.0575101375579834, -0.06926823407411575, -0.0354316383600235, 0.000797213229816407, 0.009972536005079746, 0.008601594716310501, -0.0884861871600151, 0.008656472899019718, 0.05332642421126366, -0.06941967457532883, -0.04324442893266678, 0.000579498359002173, -0.11177420616149902, -0.0012012739898636937, 0.03597147762775421, -0.03021205961704254, 0.02830014005303383, 0.0007724920869804919, 0.029456431046128273, -0.04888230562210083, 0.07936392724514008, -0.05270203948020935, 0.02685883641242981, -0.09786844253540039, -0.03063897415995598, -0.024425044655799866, 0.01469071302562952, 0.047161731868982315, -0.07158169150352478, 0.0403398759663105, 0.01566675491631031, 0.017883073538541794, 0.021959783509373665, -0.03313269093632698, -0.02908605895936489, 0.023352105170488358, -0.060378607362508774, 0.0060951546765863895, 0.004878761246800423, 0.04915594682097435, -0.04188074916601181, -0.014000996947288513, 0.04482879117131233, -0.03640129044651985, 0.007748798467218876, 0.07336822897195816, 0.03647342696785927, -0.013804040849208832, 0.022535331547260284, 0.013553905300796032, -0.0023988669272512197, 0.05758316442370415, 0.013080245815217495, 0.06726521998643875, 0.0033021001145243645, -0.002794186817482114, -0.004068395122885704, -0.0281557384878397, -0.03938676044344902, 0.05303829535841942, 0.008525178767740726, -0.061135854572057724, -0.02032250165939331, 0.043604377657175064, -0.014906441792845726, -0.029401984065771103, 0.05718091502785683, -0.018539179116487503, -0.08918748795986176, -0.037824664264917374, 0.04694341495633125, 0.023978838697075844, 0.007622638717293739, 0.003473222255706787, -0.04960909113287926, -0.026883047074079514, -0.027595452964305878, -0.027503659948706627, 0.005894541274756193, -0.0014244085177779198, -0.017183227464556694, 0.031409457325935364, 0.03308451920747757, -0.06362984329462051, 0.0067102122120559216, 0.006119728088378906, -0.056301359087228775, 0.004945339169353247, 0.04521990194916725, 0.08917281031608582, -0.04190317541360855, -0.05225139856338501, 0.03342178091406822, 0.0008473801426589489, -0.01271507702767849, 0.015096481889486313, 0.0031176551710814238, -0.034190863370895386, -0.05800051987171173, 0.004130760673433542, 0.06307360529899597, -0.04230519384145737, -0.01001429371535778, 0.030285058543086052, -0.01960928365588188, 0.03766104206442833, -0.026227276772260666, 0.008554594591259956, 0.027370424941182137, 0.0027798970695585012, -0.026362285017967224, 0.028686514124274254, -0.011548494920134544, 0.002893099095672369, -0.05245707929134369, -0.05434092506766319, 0.0007487090770155191, 0.07604201883077621, 0.010773193091154099, -0.0077483393251895905, -0.030679738149046898, 0.02340024895966053, 0.03809215500950813, 0.014121809974312782, -0.0008237109868787229, 0.03826649859547615, 0.04286414757370949, 0.0444088876247406, 0.01286057848483324, 0.05332232266664505, 0.0030658412724733353, -0.019227730110287666, -0.062326353043317795, 0.06278978288173676, 0.03313851356506348, -0.021275607869029045, 0.006537873763591051, 0.062412112951278687, -0.011767386458814144, -0.022814296185970306, 0.0010075628524646163, 0.042546603828668594, 0.008582593873143196, -0.013667109422385693, 0.015462253242731094, -0.011539644561707973, -0.01936877891421318, 0.06010755896568298, -0.028565099462866783, 0.019392257556319237, -0.008781184442341328, -0.008385073393583298, -0.019348738715052605, 0.05847378075122833, 0.0005370030412450433, 0.01830468699336052, -0.004062172956764698, 0.10656473785638809, -0.006763428449630737, 0.025707494467496872, -0.04256771132349968, -0.040385205298662186, -0.0009301475947722793, 0.04428701847791672, 0.026272714138031006, 0.05109439790248871, -0.024696815758943558, -0.042188629508018494, 0.002716018119826913, 0.07256008684635162, 0.05786189064383507, 0.03357475623488426, -0.0003411679936107248, -0.03053087182343006, 0.0014216135023161769, 0.0552484355866909, -0.02567570097744465, -0.05582970380783081, 0.02940266579389572, 0.05160563439130783, -0.037242915481328964, 0.0014333403669297695, -0.006175300106406212, 0.012525280006229877, -0.011937366798520088, -0.06072312593460083, 0.033545028418302536, 0.03442513197660446, 0.006764288526028395, 0.03625570610165596, -0.018473533913493156, 0.010124307125806808, -0.007329296320676804, 0.039093226194381714, 0.008188178762793541, -0.05030294507741928, 0.0025144920218735933, -0.020556237548589706, 0.07536463439464569, -0.059853896498680115, 0.02977280505001545, 0.011041835881769657, 0.031060628592967987, 0.03056434728205204, -0.04863819107413292, 0.009942999109625816, 0.063770592212677, 0.009902842342853546, -0.023174814879894257, 0.0309640783816576, 0.021420035511255264, 0.008198040537536144, 0.08931636065244675, 0.0148866456001997, 0.060008976608514786, 0.021056611090898514, 0.01445433497428894, 0.07243064045906067, 0.017387226223945618, 0.018670693039894104, 0.024334589019417763, 0.06073587387800217, -0.0014697377337142825, -0.030473312363028526, 0.036033786833286285, -0.04027913883328438, 0.035916928201913834, -0.022304628044366837, -0.01260729692876339, 0.010667760856449604, 0.008391507901251316, 0.056651365011930466, 0.0167482141405344, -0.04942195117473602, 0.02615753561258316, -0.0028910234104841948, -0.0057873171754181385, 0.05350621044635773, -0.023769253864884377, 0.012671721167862415, -0.010257517918944359, -0.015923067927360535, -0.007550238631665707, -0.07281521707773209, -0.010466476902365685, 0.004745984449982643, -0.02078920044004917, -0.027753891423344612, -0.04629925265908241, -0.018912415951490402, -0.013826452195644379, -0.03473054990172386, 0.06418170034885406, 0.02055763080716133, -0.004037379287183285, -0.011825439520180225, 0.02159651182591915, -0.04733453318476677, -0.07384990900754929, -0.05267900228500366, -0.04637288302183151, -0.032019831240177155, -0.06361366808414459, 0.02640227973461151, 0.03730018809437752, 0.014050956815481186, 0.007479292806237936, 0.004734286107122898, -0.017099885269999504, -0.015853771939873695, 0.046803008764982224, 0.05302394926548004, -0.04469843581318855, -0.03811107203364372, 0.028433391824364662, 0.016647115349769592, 0.01410245057195425, -0.024527087807655334, -0.018116766586899757, 0.08263896405696869, 0.07633447647094727, 0.01109763327986002, 0.008440745063126087, -0.0014389866264536977, 0.009514788165688515, -0.047143734991550446, -0.025647131726145744, -0.022959962487220764, -0.014650142751634121, -0.06523647904396057, -0.04865742847323418, -0.027324439957737923, -0.04531130567193031, -0.012862170115113258, 0.013680397532880306, -0.016451220959424973, 0.03394952043890953, 0.017840025946497917, 0.028461817651987076, 0.037268541753292084, -0.03350159525871277, -0.035941001027822495, 0.09085827320814133, 0.03734201937913895, -0.028511691838502884, -0.058208562433719635, -0.008242891170084476, 0.03942807391285896, 0.006741486024111509, 0.015221617184579372, -0.023086313158273697, 0.07137583196163177, 0.03821208328008652, 0.0021738428622484207, -0.006333997473120689, -0.028371497988700867, -0.05307960882782936, -0.011617695912718773, -0.007884076796472073, -0.04230598360300064, -0.055563002824783325, -0.03179394453763962, 0.02406051568686962, 0.023334616795182228, -0.040892764925956726, -0.03257453814148903, -0.01321159116923809, 0.019673924893140793, 0.0207954254001379, -0.004411481320858002, -0.030714403837919235, 0.017969254404306412, -0.03303663060069084, -0.00822596624493599, -0.003371760481968522, -0.03471839800477028, -0.016238920390605927, 0.042775917798280716, 0.024769363924860954, -0.03767205774784088, 0.05170460790395737, 0.0010304201859980822, 0.06520814448595047, 0.03570385277271271, -0.04424053058028221, 0.017830487340688705, 0.0033370726741850376, 0.02775692194700241, -0.012951859273016453, -0.0073663596995174885, -0.04424575716257095, -0.054645393043756485, 0.0024670844431966543, -0.006099686957895756, -0.017062300816178322, -0.017393900081515312, 0.06656119227409363, -0.012604771181941032, -0.008172877132892609, -0.0011445041745901108, 0.0026498246006667614, 0.04056673124432564, -0.058784596621990204, 0.05783144757151604, 0.007192414719611406, 0.04517817869782448, -0.053686901926994324, 0.007385667879134417, -0.05338688939809799, -0.027505997568368912, 0.020223861560225487, 0.0612712986767292, -0.021073706448078156, 0.03365814685821533, 0.06713329255580902, 0.02770954743027687, -0.034256692975759506, 0.008942431770265102, 0.026630694046616554, -0.0036839491222053766, -0.056083932518959045, -0.007069633342325687, -0.026150580495595932, -0.046571966260671616, -0.0012356729712337255, -0.036186642944812775, 0.04639678820967674, 0.035583700984716415, -0.014258316718041897, 0.0032694407273083925, 0.013660280033946037, -0.0002567711635492742, -0.03875000402331352, -0.036158476024866104, 0.022427229210734367, 0.008279569447040558, -0.02948436699807644, 0.023687759414315224, 0.03169478476047516, -0.014235690236091614, 0.06112946197390556, 0.041291434317827225, -0.0260019451379776, -0.0519527904689312, 0.030302448198199272, 0.00018507686036173254, 0.0019125087419524789, -0.03144780173897743, -0.01867486722767353, 0.032103028148412704, 0.05236324667930603, 0.012321006506681442, -0.08891144394874573, 0.020702505484223366, 0.06426609307527542, -0.05483744665980339, 0.03463882952928543, 0.007298662792891264, 0.04808587208390236, 0.05359165370464325, -0.020156612619757652, 0.012584179639816284, -0.03994391858577728, 0.008936598896980286, -0.013143078424036503, 0.051415059715509415, -0.014738437719643116, -0.05707036331295967, -0.030294084921479225, 0.01748622953891754, 0.04194900020956993, 0.050941210240125656, 0.007732157129794359, -0.04598201811313629, -0.03557288274168968, 0.009233551099896431, 0.030856532976031303, -0.031501758843660355, 0.04709888994693756, 0.01274176873266697, 0.021046245470643044, -0.0252895038574934, -0.03990175947546959, -0.01708085648715496, 0.0036149329971522093, 0.036888666450977325, -0.02493964694440365, -0.016808820888400078, -0.07345259189605713, 0.02100871130824089, -0.0232275128364563, -0.03887580707669258, -0.062474630773067474, 0.02789202891290188, -0.004122109152376652, -0.04699810594320297, 0.08585400879383087, 0.006697624456137419, 0.05544582009315491, 0.042674120515584946, 0.02347630076110363, -0.0015019715065136552, -0.04562097042798996, 0.06301429122686386, -0.05822068825364113, -0.010948032140731812, 0.0011359259951859713, -0.0395648367702961, -0.021466029807925224, -0.03213242441415787, -0.051825474947690964, -0.028004376217722893, -0.008138207718729973, 0.032070744782686234, 0.008659152314066887, 0.031362906098365784, -0.02865707129240036, 0.01712801307439804, 0.00006702899554511532, 0.008295504376292229, -0.018888363614678383, -0.0305501539260149, -0.03864336386322975, -0.013564945198595524, 0.03781609982252121, 0.012527368031442165, 0.0060162851586937904, 0.0074274553917348385, 0.01003078930079937, 0.02714380994439125, 0.011536907404661179, -0.02223588339984417, 0.026438508182764053, 0.012083464302122593, -0.03962869197130203, -0.011194728314876556, 0.028914591297507286, 0.00805681012570858, 0.02985929138958454, -0.013488630764186382, 0.03139454126358032, 0.030904393643140793, -0.0029255172703415155, -0.025989463552832603, 0.034700557589530945, 0.024909401312470436, -0.040519192814826965, -0.029989564791321754, -0.012798367999494076, -0.059263937175273895, 0.03006325662136078, -0.0343719907104969, -0.0564027763903141, 0.030501713976264, 0.004307121504098177, 0.06335905194282532, 0.0009210287244059145, -0.009568718262016773, 0.0348002165555954, -0.025991568341851234, 0.025311708450317383, -0.0612582266330719, 0.044406332075595856, -0.020990781486034393, 0.0041576530784368515, -0.0031684560235589743, -0.009360099211335182, -0.05760415643453598, 0.0640280544757843, -0.03089207410812378, -0.01017642579972744, -0.011049474589526653, 0.016140324994921684, -0.00024497832055203617, 0.023802144452929497, -0.044939927756786346, 0.0006190554122440517, -0.032041218131780624, 0.05092666670680046, -0.07597097754478455, -0.009240567684173584, 0.0026852781884372234, -0.013525312766432762, -0.032561805099248886, 0.008301873691380024, -0.002304001012817025, -0.038781240582466125, 0.027812162414193153, 0.027490241453051567, 0.02803417481482029, 0.00881302822381258, -0.03378554433584213, 0.008519475348293781, 0.04348447173833847, -0.0671410858631134, -0.028055887669324875, 0.007115340791642666, -0.015636667609214783, -0.013294920325279236, 0.03600583225488663, 0.05571497604250908, -0.07076054811477661, -0.07449137419462204, 0.04466170445084572, 0.015841763466596603, 0.016556816175580025, -0.024971986189484596, 0.016993215307593346, 0.019402068108320236, 0.03357451409101486, -0.057639893144369125, 0.006929144263267517, -0.01864292100071907, -0.03974934294819832, 0.023926779627799988, -0.005700765643268824, 0.013773150742053986, 0.004628797527402639, -0.01753925532102585, -0.014148607850074768, 0.09210273623466492, 0.04431293532252312, 0.0017891151364892721, -0.01078701764345169, -0.04378156736493111, 0.030189035460352898, -0.0009742454276420176, -0.032725825905799866, 0.013899680227041245, -0.014838535338640213, -0.030000925064086914, 0.06101890653371811, -0.00006166730599943548, 0.030157530680298805, 0.0499010793864727, 0.032479800283908844, 0.0069344788789749146, 0.03938162699341774, 0.003341665491461754, -0.00829865038394928, 0.03808506578207016, -0.0683918371796608, -0.020541399717330933, -0.043304845690727234, 0.07156366854906082, -0.0749930590391159, 0.040210749953985214, 0.009784878231585026, 0.011722540482878685, 0.014564924873411655, -0.021425800397992134, -0.024399248883128166, -0.008202536962926388, -0.05381081625819206, 0.0658964142203331, -0.005754135083407164, -0.045429520308971405, 0.05456668883562088, 0.02878434769809246, -0.07148534804582596, 0.02905711531639099, -0.008588908240199089, 0.04720590263605118, 0.024719752371311188, 0.028450123965740204, -0.051644593477249146, 0.031725045293569565, -0.030074654147028923, 0.05725236237049103, -0.057570625096559525, -0.027141818776726723, 0.02141021192073822, -0.028382256627082825, -0.015552932396531105, 0.031684160232543945, -0.052677858620882034, 0.000993675901554525, 0.009182778187096119, -0.054905861616134644, -0.07488580048084259, 0.040310088545084, 0.05810118094086647, -0.0353381521999836, -0.032148588448762894, -0.007035613991320133, 0.018887603655457497, 0.03274852782487869, 0.027228180319070816, -0.04080278426408768, 0.0014015244087204337, 0.027443381026387215, -0.0880604237318039, -0.024337662383913994, 0.03588949516415596, 0.024573763832449913, -0.023068012669682503, 0.0033131816890090704, -0.0002481894916854799, 0.014224478974938393, -0.013049839995801449, 0.014993284828960896, 0.020783206447958946, -0.05275876075029373, -0.02304530143737793, 0.025718998163938522, 0.005923762451857328, 0.02691882662475109, -0.013164922595024109, 0.03047804720699787, 0.06752598285675049, 0.04915761202573776, -0.0025810226798057556, -0.007083947770297527, -0.03192278370261192, 0.04783695191144943, -0.04722489416599274, 0.02306084893643856, -0.013203028589487076, -0.0621509812772274, -0.02759920433163643, 0.025261981412768364, -0.005086889490485191, 0.035698842257261276, -0.051727719604969025, 0.00939344521611929, 0.02357073500752449, -0.000034716282243607566, -0.03843710198998451, -0.0762566477060318, -0.03377770259976387, -0.024196520447731018, -0.01965230330824852, 0.028367623686790466, -0.03925352171063423, 0.030000565573573112, -0.037452567368745804, -0.04211202263832092, 0.022782133892178535, -0.018791677430272102, -0.06795015931129456, 0.043335847556591034, 0.04574497044086456, -0.0426299087703228, 0.014588925987482071, 0.03783927112817764, -0.0002538794942665845, 0.041664969176054, 0.007691412232816219, -0.007713810075074434, 0.03646820783615112, 0.02700766734778881, -0.004392576403915882, -0.043825700879096985, -0.028271077200770378, -0.019003458321094513, -0.043644264340400696, 0.018220797181129456, 0.06964775174856186 ]
Anubhav23/indianlegal
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- language: - bn licenses: - cc-by-nc-sa-4.0 --- # BanglaBERT This repository contains the pretrained discriminator checkpoint of the model **BanglaBERT**. This is an [ELECTRA](https://openreview.net/pdf?id=r1xMH1BtvB) discriminator model pretrained with the Replaced Token Detection (RTD) objective. Finetuned models using this checkpoint achieve state-of-the-art results on many of the NLP tasks in bengali. For finetuning on different downstream tasks such as `Sentiment classification`, `Named Entity Recognition`, `Natural Language Inference` etc., refer to the scripts in the official GitHub [repository](https://github.com/csebuetnlp/banglabert). **Note**: This model was pretrained using a specific normalization pipeline available [here](https://github.com/csebuetnlp/normalizer). All finetuning scripts in the official GitHub repository uses this normalization by default. If you need to adapt the pretrained model for a different task make sure the text units are normalized using this pipeline before tokenizing to get best results. A basic example is given below: ## Using this model as a discriminator in `transformers` (tested on 4.11.0.dev0) ```python from transformers import AutoModelForPreTraining, AutoTokenizer from normalizer import normalize # pip install git+https://github.com/csebuetnlp/normalizer import torch model = AutoModelForPreTraining.from_pretrained("csebuetnlp/banglabert") tokenizer = AutoTokenizer.from_pretrained("csebuetnlp/banglabert") original_sentence = "আমি কৃতজ্ঞ কারণ আপনি আমার জন্য অনেক কিছু করেছেন।" fake_sentence = "আমি হতাশ কারণ আপনি আমার জন্য অনেক কিছু করেছেন।" fake_sentence = normalize(fake_sentence) # this normalization step is required before tokenizing the text fake_tokens = tokenizer.tokenize(fake_sentence) fake_inputs = tokenizer.encode(fake_sentence, return_tensors="pt") discriminator_outputs = model(fake_inputs).logits predictions = torch.round((torch.sign(discriminator_outputs) + 1) / 2) [print("%7s" % token, end="") for token in fake_tokens] print("\n" + "-" * 50) [print("%7s" % int(prediction), end="") for prediction in predictions.squeeze().tolist()[1:-1]] print("\n" + "-" * 50) ``` ## Benchmarks * Zero-shot cross-lingual transfer-learning | Model | Params | SC (macro-F1) | NLI (accuracy) | NER (micro-F1) | QA (EM/F1) | BangLUE score | |----------------|-----------|-----------|-----------|-----------|-----------|-----------| |[mBERT](https://huggingface.co/bert-base-multilingual-cased) | 180M | 27.05 | 62.22 | 39.27 | 59.01/64.18 | 50.35 | |[XLM-R (base)](https://huggingface.co/xlm-roberta-base) | 270M | 42.03 | 72.18 | 45.37 | 55.03/61.83 | 55.29 | |[XLM-R (large)](https://huggingface.co/xlm-roberta-large) | 550M | 49.49 | 78.13 | 56.48 | 71.13/77.70 | 66.59 | |[BanglishBERT](https://huggingface.co/csebuetnlp/banglishbert) | 110M | 48.39 | 75.26 | 55.56 | 72.87/78.63 | 66.14 | * Supervised fine-tuning | Model | Params | SC (macro-F1) | NLI (accuracy) | NER (micro-F1) | QA (EM/F1) | BangLUE score | |----------------|-----------|-----------|-----------|-----------|-----------|-----------| |[mBERT](https://huggingface.co/bert-base-multilingual-cased) | 180M | 67.59 | 75.13 | 68.97 | 67.12/72.64 | 70.29 | |[XLM-R (base)](https://huggingface.co/xlm-roberta-base) | 270M | 69.54 | 78.46 | 73.32 | 68.09/74.27 | 72.82 | |[XLM-R (large)](https://huggingface.co/xlm-roberta-large) | 550M | 70.97 | 82.40 | 78.39 | 73.15/79.06 | 76.79 | |[sahajBERT](https://huggingface.co/neuropark/sahajBERT) | 18M | 71.12 | 76.92 | 70.94 | 65.48/70.69 | 71.03 | |[BanglishBERT](https://huggingface.co/csebuetnlp/banglishbert) | 110M | 70.61 | 80.95 | 76.28 | 72.43/78.40 | 75.73 | |[BanglaBERT](https://huggingface.co/csebuetnlp/banglabert) | 110M | 72.89 | 82.80 | 77.78 | 72.63/79.34 | **77.09** | The benchmarking datasets are as follows: * **SC:** **[Sentiment Classification](https://aclanthology.org/2021.findings-emnlp.278)** * **NER:** **[Named Entity Recognition](https://multiconer.github.io/competition)** * **NLI:** **[Natural Language Inference](https://github.com/csebuetnlp/banglabert/#datasets)** * **QA:** **[Question Answering](https://github.com/csebuetnlp/banglabert/#datasets)** ## Citation If you use this model, please cite the following paper: ``` @inproceedings{bhattacharjee-etal-2022-banglabert, title = "{B}angla{BERT}: Language Model Pretraining and Benchmarks for Low-Resource Language Understanding Evaluation in {B}angla", author = "Bhattacharjee, Abhik and Hasan, Tahmid and Ahmad, Wasi and Mubasshir, Kazi Samin and Islam, Md Saiful and Iqbal, Anindya and Rahman, M. Sohel and Shahriyar, Rifat", booktitle = "Findings of the Association for Computational Linguistics: NAACL 2022", month = jul, year = "2022", address = "Seattle, United States", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.findings-naacl.98", pages = "1318--1327", abstract = "In this work, we introduce BanglaBERT, a BERT-based Natural Language Understanding (NLU) model pretrained in Bangla, a widely spoken yet low-resource language in the NLP literature. To pretrain BanglaBERT, we collect 27.5 GB of Bangla pretraining data (dubbed {`}Bangla2B+{'}) by crawling 110 popular Bangla sites. We introduce two downstream task datasets on natural language inference and question answering and benchmark on four diverse NLU tasks covering text classification, sequence labeling, and span prediction. In the process, we bring them under the first-ever Bangla Language Understanding Benchmark (BLUB). BanglaBERT achieves state-of-the-art results outperforming multilingual and monolingual models. We are making the models, datasets, and a leaderboard publicly available at \url{https://github.com/csebuetnlp/banglabert} to advance Bangla NLP.", } ``` If you use the normalization module, please cite the following paper: ``` @inproceedings{hasan-etal-2020-low, title = "Not Low-Resource Anymore: Aligner Ensembling, Batch Filtering, and New Datasets for {B}engali-{E}nglish Machine Translation", author = "Hasan, Tahmid and Bhattacharjee, Abhik and Samin, Kazi and Hasan, Masum and Basak, Madhusudan and Rahman, M. Sohel and Shahriyar, Rifat", booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)", month = nov, year = "2020", address = "Online", publisher = "Association for Computational Linguistics", url = "https://www.aclweb.org/anthology/2020.emnlp-main.207", doi = "10.18653/v1/2020.emnlp-main.207", pages = "2612--2623", abstract = "Despite being the seventh most widely spoken language in the world, Bengali has received much less attention in machine translation literature due to being low in resources. Most publicly available parallel corpora for Bengali are not large enough; and have rather poor quality, mostly because of incorrect sentence alignments resulting from erroneous sentence segmentation, and also because of a high volume of noise present in them. In this work, we build a customized sentence segmenter for Bengali and propose two novel methods for parallel corpus creation on low-resource setups: aligner ensembling and batch filtering. With the segmenter and the two methods combined, we compile a high-quality Bengali-English parallel corpus comprising of 2.75 million sentence pairs, more than 2 million of which were not available before. Training on neural models, we achieve an improvement of more than 9 BLEU score over previous approaches to Bengali-English machine translation. We also evaluate on a new test set of 1000 pairs made with extensive quality control. We release the segmenter, parallel corpus, and the evaluation set, thus elevating Bengali from its low-resource status. To the best of our knowledge, this is the first ever large scale study on Bengali-English machine translation. We believe our study will pave the way for future research on Bengali-English machine translation as well as other low-resource languages. Our data and code are available at https://github.com/csebuetnlp/banglanmt.", } ```
[ -0.0039660269394516945, -0.0008810085710138083, -0.0030747530981898308, 0.04496954381465912, 0.028640329837799072, 0.0426027849316597, -0.01228274218738079, -0.0028316564857959747, -0.04460803419351578, 0.05538419261574745, 0.020800940692424774, -0.020620685070753098, 0.009115029126405716, 0.04451689124107361, -0.03741662576794624, -0.025367368012666702, -0.0020990604534745216, -0.034005627036094666, -0.03468923270702362, -0.018696008250117302, -0.01254704874008894, -0.003211109433323145, 0.012109612114727497, 0.035505376756191254, 0.0035915891639888287, 0.016328562051057816, -0.017079556360840797, 0.040284164249897, 0.014430386014282703, -0.05968781188130379, 0.008308395743370056, -0.02122359722852707, -0.025337757542729378, -0.02264585718512535, -0.02560882829129696, -0.0009917665738612413, 0.010787378065288067, -0.018587717786431313, 0.02102924883365631, 0.07853246480226517, 0.004379563499242067, 0.009310976602137089, 0.013403719291090965, -0.05728452652692795, 0.02941083163022995, -0.020723093301057816, -0.0344628244638443, 0.01049251388758421, 0.029953544959425926, -0.0425698459148407, -0.03374754637479782, -0.05704079195857048, -0.03049262799322605, 0.02722075954079628, -0.007744567934423685, -0.02241337299346924, -0.05559346079826355, -0.032490234822034836, 0.05395468324422836, -0.04957291856408119, -0.024616343900561333, 0.0005698323948308825, -0.058237481862306595, 0.020431816577911377, 0.02391939051449299, -0.01966528221964836, -0.0007536857156082988, -0.05115970969200134, 0.03309797868132591, -0.010449809022247791, 0.05993568152189255, -0.03374744579195976, -0.017468111589550972, -0.06387952715158463, -0.0023365672677755356, -0.03510349616408348, 0.04275437816977501, 0.03113165870308876, -0.016378475353121758, 0.042574986815452576, 0.026208026334643364, -0.002994370646774769, 0.03573567420244217, -0.00620820838958025, 0.004804298281669617, 0.03532906249165535, -0.03833490237593651, 0.009813998825848103, 0.02519053779542446, 0.02862980216741562, -0.04327484220266342, -0.025512835010886192, -0.008005554787814617, -0.028713200241327286, -0.010957511141896248, 0.019088074564933777, 0.028073750436306, 0.011100998148322105, 0.03250895440578461, 0.011173105798661709, 0.038183923810720444, 0.0514153316617012, -0.018045397475361824, 0.05605313181877136, -0.001469257054850459, -0.004104775842279196, -0.014317085035145283, -0.04546825587749481, -0.04535091668367386, 0.03230690956115723, 0.03743110969662666, -0.05241888388991356, -0.05848727747797966, 0.04765632376074791, 0.017785344272851944, -0.03560597822070122, 0.03197411820292473, -0.0444159135222435, -0.054092928767204285, -0.05992751941084862, 0.013930912129580975, -0.006753796711564064, 0.0021760170347988605, -0.023436563089489937, -0.043696943670511246, 0.02107166312634945, -0.049442362040281296, -0.029955904930830002, -0.031159812584519386, 0.03953782841563225, -0.005651241168379784, 0.04706525802612305, 0.024280162528157234, -0.054250624030828476, 0.008944071829319, 0.005369322374463081, -0.08300963044166565, 0.06897300481796265, 0.032899387180805206, 0.09376183897256851, -0.04353617504239082, -0.05421615019440651, 0.014783806167542934, 0.006752243265509605, -0.005529492162168026, 0.007875504903495312, 0.00681770034134388, -0.06350446492433548, -0.014762531965970993, -0.026040805503726006, 0.057981859892606735, -0.0630047470331192, -0.017388444393873215, 0.05960456654429436, 0.00001540937773825135, 0.0367870070040226, -0.049078475683927536, -0.007909167557954788, -0.005100627895444632, -0.01326800137758255, -0.03376151993870735, 0.03714907914400101, -0.0017502378905192018, -0.033793143928050995, -0.03974480181932449, -0.045099887996912, 0.014721294865012169, 0.09653410315513611, 0.00810602679848671, -0.00575221749022603, -0.006571570876985788, 0.009187908843159676, 0.04988250881433487, 0.0176911149173975, -0.03486492484807968, 0.028836483135819435, 0.060117870569229126, 0.02426077239215374, -0.025701342150568962, 0.05868522450327873, 0.014497707597911358, -0.040002040565013885, -0.012962955981492996, -0.007312011439353228, 0.004033220000565052, -0.02924199029803276, 0.0379827506840229, 0.04147879034280777, -0.010026155039668083, -0.027436207979917526, 0.007611017674207687, 0.07309605181217194, 0.009803511202335358, 0.010901877656579018, -0.008199806325137615, 0.0014241404132917523, -0.026583952829241753, 0.067498117685318, -0.02517615258693695, 0.017078308388590813, -0.03317255899310112, -0.01932954601943493, 0.007215147837996483, 0.0017978427931666374, 0.03829769790172577, 0.0262079406529665, -0.025708720088005066, 0.07817983627319336, -0.03872758150100708, 0.016501549631357193, -0.05548682436347008, -0.052020635455846786, 0.01001396682113409, 0.03826272487640381, 0.016168877482414246, 0.04097462445497513, -0.001688836608082056, -0.03589919954538345, 0.0173936914652586, 0.05168677121400833, 0.07143211364746094, 0.02092229761183262, -0.018562346696853638, 0.014849853701889515, 0.04390127584338188, 0.04549853131175041, -0.06215968355536461, -0.04227927699685097, 0.01526123657822609, 0.05029095336794853, 0.0004611914337147027, 0.0032011514995247126, -0.01763557828962803, 0.028936946764588356, -0.05484925955533981, -0.07028908282518387, 0.060865167528390884, 0.009842352010309696, 0.020839698612689972, 0.03512829542160034, -0.002154948888346553, 0.014905680902302265, 0.02050735428929329, 0.024929428473114967, -0.01965687982738018, -0.03956795483827591, 0.002691583475098014, 0.010247626341879368, 0.042656488716602325, -0.04990100488066673, 0.051532525569200516, -0.010816948488354683, 0.014027782715857029, 0.05567505955696106, -0.04132463037967682, 0.015146938152611256, 0.011405943892896175, 0.01371945533901453, -0.029156621545553207, 0.009227520786225796, 0.001812953152693808, 0.05360103398561478, 0.0760357603430748, -0.009786400943994522, 0.06632063537836075, -0.014932025223970413, 0.040766917169094086, 0.058064982295036316, 0.013996647670865059, 0.028556477278470993, 0.051017146557569504, 0.06469893455505371, 0.01392663549631834, -0.001056060427799821, 0.07933859527111053, -0.042629167437553406, 0.02452554926276207, -0.05929911509156227, 0.031278256326913834, 0.003180272411555052, -0.01899552531540394, 0.02174448035657406, 0.043478988111019135, -0.00019972518202848732, 0.01836613193154335, -0.012344518676400185, -0.006058401428163052, 0.02745535969734192, -0.0014266871148720384, -0.0012218609917908907, -0.005102542228996754, -0.033142633736133575, 0.02439454197883606, -0.06044750288128853, -0.05002366378903389, -0.003847322426736355, -0.04761691018939018, 0.013922590762376785, -0.10143955796957016, -0.04184459522366524, -0.04953723028302193, -0.017681671306490898, 0.021310867741703987, 0.046788834035396576, 0.015297126024961472, -0.020483186468482018, 0.029669372364878654, -0.05976758152246475, -0.008507054299116135, -0.05333701893687248, -0.059627193957567215, -0.040401168167591095, -0.07163599133491516, 0.04146580025553703, 0.026390958577394485, 0.03267494961619377, 0.00045224864152260125, 0.011395968496799469, -0.016986435279250145, -0.02626205049455166, 0.05536002293229103, 0.03580157086253166, -0.03597983717918396, -0.04323315620422363, 0.024334190413355827, -0.011032084003090858, 0.0013986262492835522, -0.0013756034895777702, -0.025885621085762978, 0.06885362416505814, 0.07858061045408249, 0.014741523191332817, 0.01114079263061285, -0.024295074865221977, -0.06373201310634613, -0.04676000401377678, -0.02593877725303173, -0.04451698064804077, -0.0040749297477304935, -0.011791946366429329, -0.034679312258958817, -0.016332391649484634, -0.0351734384894371, -0.012142296880483627, -0.01480261329561472, 0.028761014342308044, 0.033751193434000015, 0.06019124388694763, 0.013323132880032063, 0.03397183492779732, -0.048561837524175644, -0.025699593126773834, 0.0523923859000206, 0.008426719345152378, 0.022283049300312996, -0.0800975039601326, -0.018030814826488495, 0.04466640204191208, 0.030928917229175568, -0.0062867095693945885, -0.03183608874678612, 0.09423815459012985, 0.0169882383197546, 0.003262463491410017, -0.013374862261116505, -0.013796386308968067, -0.026869412511587143, 0.006489527877420187, -0.004635231103748083, -0.009999355301260948, -0.04800108075141907, -0.028628844767808914, -0.007459142245352268, 0.032150544226169586, -0.04928489029407501, -0.05651606619358063, -0.00683811167255044, 0.04130978509783745, 0.03830812871456146, -0.008792906999588013, -0.054533474147319794, 0.011422277428209782, -0.03665788471698761, -0.026612576097249985, 0.0004565059789456427, 0.0032565928995609283, 0.0037754070945084095, 0.06884102523326874, 0.025484006851911545, -0.03256024047732353, 0.011001341976225376, 0.05521329492330551, 0.05614891275763512, 0.0029569752514362335, -0.05050851032137871, 0.016425391659140587, -0.00821488257497549, 0.023589305579662323, -0.0009252317831851542, -0.03627487272024155, -0.03135776147246361, -0.09087639302015305, -0.0028822130989283323, 0.0012557635782286525, -0.03232969716191292, -0.02197854593396187, 0.02183583378791809, 0.00877078715711832, -0.010015919804573059, -0.008738797158002853, -0.004147808998823166, 0.030497977510094643, -0.04917829856276512, 0.07358589768409729, 0.0008371156873181462, 0.04267895594239235, -0.046890389174222946, 0.012141254730522633, -0.04788637161254883, -0.02269892953336239, -0.006818401627242565, 0.036881010979413986, 0.03598785027861595, 0.031003061681985855, 0.067411407828331, 0.039965640753507614, -0.0618094727396965, 0.06431501358747482, 0.04429084435105324, -0.02951732836663723, -0.03315730392932892, -0.008949393406510353, -0.014812842011451721, -0.046146709471940994, -0.01175497006624937, -0.058893993496894836, 0.018397895619273186, 0.041195228695869446, 0.010995705612003803, -0.03087998554110527, -0.010641784407198429, -0.014808346517384052, -0.03470413759350777, -0.06036192178726196, -0.03691588714718819, 0.013241331093013287, -0.056153055280447006, 0.06358693540096283, 0.03056437149643898, 0.029931435361504555, 0.07456052303314209, 0.06197382137179375, -0.005136551801115274, -0.029841158539056778, 0.028390761464834213, 0.018737614154815674, -0.05257749557495117, -0.06196063756942749, -0.05992646515369415, 0.022912900894880295, 0.06070662662386894, -0.019081538543105125, -0.07807254791259766, 0.007363665383309126, 0.05636349320411682, -0.008276793174445629, 0.07319706678390503, -0.016449669376015663, 0.04061562940478325, 0.04624823480844498, -0.031213704496622086, 0.015182568691670895, -0.025246504694223404, -0.0000318201127811335, -0.0016454837750643492, 0.03782961890101433, -0.029099566861987114, -0.02855965681374073, -0.03761737421154976, 0.01726241409778595, 0.028091760352253914, 0.05863290652632713, 0.058054421097040176, -0.011434482410550117, -0.06217978894710541, 0.006829522084444761, 0.023781120777130127, -0.029129447415471077, 0.023843571543693542, 0.032716672867536545, 0.037959445267915726, -0.04382710158824921, -0.02806856855750084, -0.013035977259278297, -0.008233975619077682, 0.02649606391787529, -0.0005322122015058994, -0.0416119247674942, -0.04542333260178566, 0.002003711648285389, -0.011593432165682316, -0.0032683592289686203, -0.06835693120956421, 0.02581535093486309, -0.011845220811665058, 0.003973716404289007, 0.031009752303361893, 0.03319871425628662, 0.047567322850227356, 0.04280098155140877, 0.008018337190151215, 0.01050641294568777, -0.05586552992463112, 0.046697746962308884, -0.020341603085398674, -0.028767362236976624, -0.01557835005223751, -0.03348857909440994, -0.017081229016184807, -0.036921314895153046, -0.04213561862707138, -0.05069087818264961, -0.011982694268226624, 0.009236262179911137, 0.00046570145059376955, -0.00025354561512358487, -0.0024024401791393757, 0.036234281957149506, -0.040008630603551865, -0.06069035828113556, -0.02289126068353653, -0.010844572447240353, -0.07835210859775543, -0.025310853496193886, 0.02705550380051136, 0.017422564327716827, 0.011720851063728333, 0.01810395158827305, 0.004421719815582037, 0.017364991828799248, 0.001832913956604898, -0.03050663135945797, 0.03424019366502762, -0.002204091288149357, -0.05052512511610985, -0.037603408098220825, 0.008805633522570133, 0.014127980917692184, 0.04049920290708542, -0.014921886846423149, 0.02985430136322975, 0.017905009910464287, -0.021299108862876892, 0.017651675269007683, 0.010132965631783009, 0.025318102911114693, -0.06873007118701935, -0.0611954890191555, 0.001675319392234087, -0.04041105881333351, 0.04364122077822685, -0.014858228154480457, -0.011423462070524693, 0.030582761391997337, 0.017757074907422066, 0.043502822518348694, -0.009014870040118694, -0.03655758500099182, 0.010480682365596294, 0.00763601204380393, 0.006393290590494871, -0.018902087584137917, 0.029651636257767677, -0.04979941248893738, 0.0355764701962471, -0.015906499698758125, -0.012781118042767048, -0.049599193036556244, 0.04636994004249573, -0.013872015289962292, 0.0035582189448177814, -0.03153519704937935, 0.014872372150421143, -0.055933937430381775, 0.025294912979006767, -0.02482752315700054, -0.0001009351180982776, -0.033798590302467346, 0.04136744514107704, -0.04766439273953438, 0.012681138701736927, -0.007937581278383732, 0.028558846563100815, -0.028447270393371582, -0.025222081691026688, 0.006577196530997753, -0.04086211323738098, 0.026151418685913086, 0.010101509280502796, 0.010302629321813583, 0.0394984595477581, -0.01973159797489643, 0.01052100956439972, 0.003564756130799651, -0.06068382412195206, -0.017335791140794754, -0.012185325846076012, 0.04475082829594612, -0.033843427896499634, 0.06289117783308029, 0.037467751652002335, -0.0611686035990715, -0.053230058401823044, 0.03576597943902016, 0.019707148894667625, 0.018624376505613327, 0.014885233715176582, 0.051605403423309326, 0.026785623282194138, 0.03724735602736473, -0.026112090796232224, -0.015956109389662743, -0.024113375693559647, -0.03701050579547882, 0.034136783331632614, -0.008318541571497917, 0.02046048454940319, 0.012522007338702679, -0.027459247037768364, -0.039522115141153336, 0.07502370327711105, 0.006972509436309338, 0.010114510543644428, -0.01291736215353012, -0.0491354838013649, -0.011539002880454063, 0.005657975096255541, -0.06710715591907501, -0.01884685456752777, -0.004696748685091734, -0.035400718450546265, 0.06373121589422226, -0.0065184240229427814, 0.020803462713956833, 0.048435959964990616, 0.013063468039035797, -0.005636361427605152, 0.06682949513196945, -0.0278945192694664, 0.011920467019081116, 0.03044195845723152, -0.06360899657011032, 0.02063603512942791, -0.04296710714697838, 0.08309266716241837, -0.0563492551445961, 0.029318958520889282, 0.039882875978946686, 0.020476611331105232, 0.01919315755367279, -0.031435731798410416, -0.04558508098125458, 0.03146812692284584, -0.024827295914292336, 0.07021216303110123, 0.014192651025950909, -0.08898168802261353, 0.06027352809906006, 0.015424046665430069, -0.09035659581422806, 0.06036598980426788, 0.04331311210989952, 0.03525584563612938, 0.03396907076239586, 0.0354621484875679, -0.06148175522685051, -0.00024127702636178583, -0.034656722098588943, 0.011514030396938324, -0.07956086844205856, 0.0015698197530582547, 0.01126963458955288, -0.04086853191256523, -0.020937500521540642, 0.0417177639901638, -0.010153894312679768, -0.0042126718908548355, 0.011102229356765747, -0.05150160565972328, -0.04767071083188057, -0.014287862926721573, 0.02535354532301426, -0.0359976701438427, -0.007681691087782383, -0.03685586154460907, 0.03186816722154617, 0.014302164316177368, 0.005025714635848999, -0.040019441395998, -0.002759986324235797, 0.02404751069843769, -0.04613170400261879, -0.013443950563669205, 0.031046254560351372, 0.009586161933839321, -0.019334683194756508, 0.05166834965348244, -0.018384847790002823, 0.006805350538343191, 0.026037588715553284, -0.002741325879469514, 0.028752127662301064, -0.04177632927894592, 0.004016010090708733, 0.007788588292896748, 0.03432154282927513, 0.022053325548768044, -0.024527840316295624, 0.043099962174892426, 0.04930880665779114, 0.020665336400270462, 0.014501238241791725, -0.05084739252924919, -0.031368132680654526, 0.02579803578555584, -0.040861643850803375, 0.00417562248185277, 0.004709248896688223, -0.04172511398792267, -0.009421526454389095, -0.017015639692544937, -0.016314074397087097, 0.046221766620874405, -0.06804176419973373, 0.008308307267725468, 0.030041415244340897, -0.015432249754667282, -0.05062047019600868, -0.07756233215332031, -0.013548861257731915, -0.04632730036973953, 0.03162459284067154, 0.007696521934121847, -0.024019543081521988, 0.035768866539001465, -0.0527680329978466, -0.06302216649055481, 0.034030731767416, 0.06120438128709793, -0.04346193000674248, 0.05307520180940628, 0.05484925955533981, -0.03206874802708626, 0.020208129659295082, 0.03614715114235878, -0.0563240684568882, 0.032615307718515396, 0.005267054308205843, 0.014530938118696213, 0.014711146242916584, 0.03678510710597038, -0.038423556834459305, -0.02468194253742695, -0.07585689425468445, -0.024959897622466087, -0.04166026413440704, -0.010242418386042118, 0.07148628681898117 ]
Anupam/QuestionClassifier
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - summarization - mT5 datasets: - csebuetnlp/xlsum language: - am - ar - az - bn - my - zh - en - fr - gu - ha - hi - ig - id - ja - rn - ko - ky - mr - ne - om - ps - fa - pcm - pt - pa - ru - gd - sr - si - so - es - sw - ta - te - th - ti - tr - uk - ur - uz - vi - cy - yo licenses: - cc-by-nc-sa-4.0 widget: - text: Videos that say approved vaccines are dangerous and cause autism, cancer or infertility are among those that will be taken down, the company said. The policy includes the termination of accounts of anti-vaccine influencers. Tech giants have been criticised for not doing more to counter false health information on their sites. In July, US President Joe Biden said social media platforms were largely responsible for people's scepticism in getting vaccinated by spreading misinformation, and appealed for them to address the issue. YouTube, which is owned by Google, said 130,000 videos were removed from its platform since last year, when it implemented a ban on content spreading misinformation about Covid vaccines. In a blog post, the company said it had seen false claims about Covid jabs "spill over into misinformation about vaccines in general". The new policy covers long-approved vaccines, such as those against measles or hepatitis B. "We're expanding our medical misinformation policies on YouTube with new guidelines on currently administered vaccines that are approved and confirmed to be safe and effective by local health authorities and the WHO," the post said, referring to the World Health Organization. model-index: - name: csebuetnlp/mT5_multilingual_XLSum results: - task: type: summarization name: Summarization dataset: name: xsum type: xsum config: default split: test metrics: - name: ROUGE-1 type: rouge value: 36.5002 verified: true - name: ROUGE-2 type: rouge value: 13.934 verified: true - name: ROUGE-L type: rouge value: 28.9876 verified: true - name: ROUGE-LSUM type: rouge value: 28.9958 verified: true - name: loss type: loss value: 2.0674800872802734 verified: true - name: gen_len type: gen_len value: 26.9733 verified: true --- # mT5-multilingual-XLSum This repository contains the mT5 checkpoint finetuned on the 45 languages of [XL-Sum](https://huggingface.co/datasets/csebuetnlp/xlsum) dataset. For finetuning details and scripts, see the [paper](https://aclanthology.org/2021.findings-acl.413/) and the [official repository](https://github.com/csebuetnlp/xl-sum). ## Using this model in `transformers` (tested on 4.11.0.dev0) ```python import re from transformers import AutoTokenizer, AutoModelForSeq2SeqLM WHITESPACE_HANDLER = lambda k: re.sub('\s+', ' ', re.sub('\n+', ' ', k.strip())) article_text = """Videos that say approved vaccines are dangerous and cause autism, cancer or infertility are among those that will be taken down, the company said. The policy includes the termination of accounts of anti-vaccine influencers. Tech giants have been criticised for not doing more to counter false health information on their sites. In July, US President Joe Biden said social media platforms were largely responsible for people's scepticism in getting vaccinated by spreading misinformation, and appealed for them to address the issue. YouTube, which is owned by Google, said 130,000 videos were removed from its platform since last year, when it implemented a ban on content spreading misinformation about Covid vaccines. In a blog post, the company said it had seen false claims about Covid jabs "spill over into misinformation about vaccines in general". The new policy covers long-approved vaccines, such as those against measles or hepatitis B. "We're expanding our medical misinformation policies on YouTube with new guidelines on currently administered vaccines that are approved and confirmed to be safe and effective by local health authorities and the WHO," the post said, referring to the World Health Organization.""" model_name = "csebuetnlp/mT5_multilingual_XLSum" tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForSeq2SeqLM.from_pretrained(model_name) input_ids = tokenizer( [WHITESPACE_HANDLER(article_text)], return_tensors="pt", padding="max_length", truncation=True, max_length=512 )["input_ids"] output_ids = model.generate( input_ids=input_ids, max_length=84, no_repeat_ngram_size=2, num_beams=4 )[0] summary = tokenizer.decode( output_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False ) print(summary) ``` ## Benchmarks Scores on the XL-Sum test sets are as follows: Language | ROUGE-1 / ROUGE-2 / ROUGE-L ---------|---------------------------- Amharic | 20.0485 / 7.4111 / 18.0753 Arabic | 34.9107 / 14.7937 / 29.1623 Azerbaijani | 21.4227 / 9.5214 / 19.3331 Bengali | 29.5653 / 12.1095 / 25.1315 Burmese | 15.9626 / 5.1477 / 14.1819 Chinese (Simplified) | 39.4071 / 17.7913 / 33.406 Chinese (Traditional) | 37.1866 / 17.1432 / 31.6184 English | 37.601 / 15.1536 / 29.8817 French | 35.3398 / 16.1739 / 28.2041 Gujarati | 21.9619 / 7.7417 / 19.86 Hausa | 39.4375 / 17.6786 / 31.6667 Hindi | 38.5882 / 16.8802 / 32.0132 Igbo | 31.6148 / 10.1605 / 24.5309 Indonesian | 37.0049 / 17.0181 / 30.7561 Japanese | 48.1544 / 23.8482 / 37.3636 Kirundi | 31.9907 / 14.3685 / 25.8305 Korean | 23.6745 / 11.4478 / 22.3619 Kyrgyz | 18.3751 / 7.9608 / 16.5033 Marathi | 22.0141 / 9.5439 / 19.9208 Nepali | 26.6547 / 10.2479 / 24.2847 Oromo | 18.7025 / 6.1694 / 16.1862 Pashto | 38.4743 / 15.5475 / 31.9065 Persian | 36.9425 / 16.1934 / 30.0701 Pidgin | 37.9574 / 15.1234 / 29.872 Portuguese | 37.1676 / 15.9022 / 28.5586 Punjabi | 30.6973 / 12.2058 / 25.515 Russian | 32.2164 / 13.6386 / 26.1689 Scottish Gaelic | 29.0231 / 10.9893 / 22.8814 Serbian (Cyrillic) | 23.7841 / 7.9816 / 20.1379 Serbian (Latin) | 21.6443 / 6.6573 / 18.2336 Sinhala | 27.2901 / 13.3815 / 23.4699 Somali | 31.5563 / 11.5818 / 24.2232 Spanish | 31.5071 / 11.8767 / 24.0746 Swahili | 37.6673 / 17.8534 / 30.9146 Tamil | 24.3326 / 11.0553 / 22.0741 Telugu | 19.8571 / 7.0337 / 17.6101 Thai | 37.3951 / 17.275 / 28.8796 Tigrinya | 25.321 / 8.0157 / 21.1729 Turkish | 32.9304 / 15.5709 / 29.2622 Ukrainian | 23.9908 / 10.1431 / 20.9199 Urdu | 39.5579 / 18.3733 / 32.8442 Uzbek | 16.8281 / 6.3406 / 15.4055 Vietnamese | 32.8826 / 16.2247 / 26.0844 Welsh | 32.6599 / 11.596 / 26.1164 Yoruba | 31.6595 / 11.6599 / 25.0898 ## Citation If you use this model, please cite the following paper: ``` @inproceedings{hasan-etal-2021-xl, title = "{XL}-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languages", author = "Hasan, Tahmid and Bhattacharjee, Abhik and Islam, Md. Saiful and Mubasshir, Kazi and Li, Yuan-Fang and Kang, Yong-Bin and Rahman, M. Sohel and Shahriyar, Rifat", booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021", month = aug, year = "2021", address = "Online", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2021.findings-acl.413", pages = "4693--4703", } ```
[ -0.008244386874139309, 0.010243301279842854, 0.014310565777122974, 0.009593254886567593, 0.07329364120960236, 0.01860230416059494, -0.027870461344718933, -0.01182043831795454, -0.0152805270627141, 0.038019806146621704, 0.03158203139901161, -0.01052655465900898, 0.03249753266572952, 0.01594875566661358, -0.04036659002304077, -0.03588015213608742, -0.03643469139933586, 0.01245952770113945, -0.07627204060554504, 0.009314936585724354, 0.023034904152154922, 0.001959883375093341, -0.0080370819196105, 0.019409725442528725, 0.006002271547913551, 0.0019845603965222836, -0.00010907453543040901, -0.0025687767192721367, 0.025655634701251984, -0.02413254790008068, 0.023487012833356857, -0.03455975279211998, -0.03895173594355583, -0.00868331827223301, -0.01633686013519764, -0.017524277791380882, 0.050009388476610184, 0.022779440507292747, 0.00012746355787385255, 0.029624750837683678, 0.027349751442670822, 0.004678759258240461, 0.027293218299746513, -0.02753465808928013, 0.03961595520377159, -0.0014049801975488663, -0.03410723805427551, -0.008634350262582302, 0.007107750046998262, -0.033782925456762314, -0.04674225300550461, -0.024313712492585182, -0.01655583828687668, -0.009140628390014172, -0.025033893063664436, -0.04348808526992798, -0.03471284732222557, 0.014563405886292458, 0.0410892628133297, -0.014237307012081146, -0.028409309685230255, 0.043365269899368286, -0.07613546401262283, 0.01086048036813736, -0.00981942005455494, -0.07944601774215698, -0.01877172850072384, -0.042617060244083405, 0.04583512619137764, -0.02552371844649315, 0.036209072917699814, -0.08505751192569733, 0.055498555302619934, -0.06014975160360336, 0.0067169866524636745, -0.01510125957429409, 0.01571192778646946, 0.05677992105484009, -0.03237006068229675, 0.06733430176973343, -0.005912418011575937, 0.014484705403447151, 0.06832417100667953, -0.028033234179019928, -0.02025841549038887, 0.02304910682141781, -0.036242853850126266, -0.017438175156712532, 0.0030456616077572107, 0.04699387773871422, 0.0018434777157381177, -0.06850191950798035, -0.005953891668468714, -0.008806317113339901, -0.029986826702952385, 0.026012936607003212, 0.03237103298306465, -0.051974065601825714, -0.018007442355155945, 0.04665836691856384, 0.03931378573179245, 0.03623408451676369, -0.02551301196217537, 0.08475790172815323, -0.03673515468835831, -0.007122165523469448, -0.00043658495997078717, -0.038123417645692825, -0.018325066193938255, 0.016757668927311897, -0.002718235133215785, -0.014012906700372696, -0.019998745992779732, 0.02737046778202057, -0.0041816397570073605, -0.0006886494811624289, 0.015548222698271275, -0.03125077113509178, -0.03807991370558739, -0.014305919408798218, 0.023871328681707382, 0.009706745855510235, 0.011297456920146942, 0.021896641701459885, 0.015521685592830181, 0.026301134377717972, -0.014254345558583736, -0.03763078525662422, 0.017594818025827408, 0.010964401997625828, 0.011100778356194496, 0.05173249542713165, 0.03966290131211281, -0.018227331340312958, 0.0035374253056943417, 0.0012059694854542613, -0.09413475543260574, -0.004750737454742193, 0.018811838701367378, 0.069322869181633, -0.07700887322425842, -0.056738805025815964, -0.008676412515342236, 0.024304281920194626, -0.01855783723294735, 0.0012835483066737652, 0.0326312892138958, 0.0010763818863779306, -0.031474869698286057, 0.020813237875699997, -0.0034687842708081007, -0.014371952041983604, 0.0001271242363145575, 0.04682031273841858, -0.00250941701233387, 0.044311050325632095, -0.05668974667787552, 0.04087923467159271, 0.010900345630943775, 0.014160328544676304, -0.029952822253108025, 0.02799917571246624, -0.02302495762705803, 0.02423752099275589, -0.017763005569577217, -0.0061762514524161816, 0.02282622829079628, 0.06921443343162537, -0.013579338788986206, -0.016655785962939262, -0.0822521522641182, 0.025258228182792664, 0.03766440227627754, 0.008155031129717827, -0.0050740353763103485, 0.0324343703687191, 0.042618028819561005, 0.020888855680823326, -0.01035397220402956, 0.05657302215695381, 0.014638871885836124, -0.0430893674492836, -0.018537918105721474, 0.03440607339143753, 0.040963757783174515, -0.023589543998241425, 0.0004469152772799134, 0.02269831858575344, 0.023936139419674873, -0.05920182168483734, -0.0442955419421196, 0.042048901319503784, -0.026675118133425713, -0.0029624493326991796, 0.01858791522681713, -0.0022146066185086966, -0.03381626307964325, 0.04202919825911522, -0.0324239507317543, 0.0000505200368934311, -0.026743978261947632, -0.026780879124999046, 0.008434473536908627, -0.004268728196620941, 0.03328603133559227, 0.03363759070634842, 0.021970387548208237, 0.07412255555391312, -0.024593761190772057, -0.009581847116351128, -0.029684586450457573, -0.04512505605816841, -0.030774321407079697, 0.06870253384113312, 0.06986767053604126, 0.049370814114809036, -0.07242488116025925, -0.004094165284186602, 0.028019120916724205, 0.07766652852296829, 0.04769107326865196, 0.03312645107507706, 0.014566659927368164, 0.000030294821044662967, 0.052471548318862915, 0.06215710937976837, -0.03245435282588005, -0.035857416689395905, -0.005627832375466824, 0.020501120015978813, -0.019653763622045517, 0.004000375047326088, -0.012616215273737907, 0.03061555325984955, -0.0317012183368206, -0.05223899334669113, 0.050588347017765045, 0.029410982504487038, -0.0016703663859516382, 0.039383187890052795, -0.04215705022215843, 0.02008368819952011, 0.03366465121507645, 0.02052040956914425, 0.02312660962343216, -0.03122851625084877, -0.01148010604083538, 0.05402088165283203, 0.07131019979715347, -0.04387739673256874, 0.06154483184218407, -0.008610124699771404, 0.0005334113375283778, 0.018537335097789764, -0.029973885044455528, 0.07268338650465012, 0.04014485329389572, -0.023049894720315933, -0.03908346965909004, 0.03993881493806839, 0.055035438388586044, -0.011078652925789356, 0.0634775161743164, 0.015485499054193497, 0.06575299799442291, 0.010328209958970547, 0.040660787373781204, 0.07821868360042572, -0.02043634094297886, -0.021270914003252983, 0.010726953856647015, 0.07859757542610168, 0.0038191331550478935, -0.014033121056854725, 0.02786214090883732, -0.03296668827533722, 0.054635003209114075, -0.06202305853366852, -0.006045930553227663, -0.0031292326748371124, -0.0284411758184433, 0.02710302360355854, 0.03613148257136345, -0.029740046709775925, 0.04471299424767494, 0.003852670779451728, -0.04538634791970253, 0.04425778612494469, -0.015813715755939484, 0.011800460517406464, -0.04373418167233467, -0.045977041125297546, 0.014618944376707077, -0.060462795197963715, -0.028900951147079468, 0.026944700628519058, -0.035074908286333084, -0.013734033331274986, -0.05663500726222992, -0.02220034971833229, -0.10501144826412201, -0.012963570654392242, 0.04552965238690376, 0.03297567740082741, -0.0018510282970964909, -0.0705646499991417, 0.018710823729634285, -0.021462321281433105, -0.02714080549776554, -0.07055386155843735, -0.08239508420228958, -0.05569816380739212, -0.09263041615486145, -0.025567516684532166, 0.022430850192904472, 0.018113063648343086, 0.0007943519158288836, -0.0006934781558811665, -0.04264235869050026, -0.023570289835333824, 0.045911937952041626, 0.021296408027410507, -0.03261968493461609, -0.03152317926287651, 0.03463604673743248, -0.026059631258249283, 0.01878766156733036, 0.0006151253473944962, -0.030358273535966873, 0.06390038132667542, 0.04864446073770523, 0.0011057974770665169, 0.012931573204696178, -0.002987481886520982, -0.0042379130609333515, -0.05632775276899338, -0.026337606832385063, -0.05489084869623184, -0.005770829040557146, -0.06346457451581955, -0.04977616295218468, -0.011728551238775253, -0.015195180661976337, -0.004855741281062365, 0.001144053996540606, 0.016687940806150436, 0.049284059554338455, 0.05587225407361984, 0.0421009324491024, 0.03412861377000809, -0.02736382558941841, -0.02247990295290947, 0.10394979268312454, -0.0006237714551389217, 0.030378403142094612, -0.05842157080769539, -0.008303717710077763, 0.0580216608941555, -0.015662750229239464, 0.04452475532889366, -0.008966425433754921, 0.0647769644856453, 0.03165886923670769, -0.0006839130655862391, -0.013505189679563046, -0.04684150218963623, -0.031547412276268005, 0.00033169769449159503, -0.02585451863706112, -0.011930410750210285, -0.0057347556576132774, -0.005250980146229267, -0.03902420401573181, 0.08632256835699081, -0.07832705229520798, -0.036893971264362335, -0.03377753123641014, 0.01156251598149538, 0.0443861223757267, -0.01405517291277647, -0.04212326183915138, -0.0289924219250679, -0.07286611199378967, -0.003858308307826519, 0.029228240251541138, 0.007449977565556765, -0.0012982373591512442, 0.02697628363966942, 0.00788166280835867, -0.012071904726326466, 0.02989210933446884, 0.0215300302952528, 0.03329151123762131, 0.0023011232260614634, -0.05611807480454445, 0.04443035647273064, 0.016983935609459877, 0.002693546935915947, 0.002994381356984377, -0.02571268379688263, -0.050363413989543915, -0.10161066800355911, 0.0018779915990307927, 0.03582562133669853, 0.028103720396757126, -0.016919851303100586, 0.052396100014448166, -0.007493047043681145, 0.03248105198144913, -0.023458514362573624, 0.01723509468138218, 0.06966722011566162, -0.034517984837293625, 0.07360617071390152, -0.021908508613705635, 0.08165184408426285, -0.02163832075893879, 0.008985231630504131, -0.0239404384046793, -0.02466903068125248, 0.049249082803726196, 0.042346272617578506, 0.03509080782532692, 0.04500403627753258, 0.06963108479976654, -0.01779082603752613, -0.01449644472450018, 0.01930997520685196, 0.03943382948637009, -0.019905783236026764, -0.050002336502075195, 0.006469120271503925, -0.015636496245861053, -0.0213828943669796, -0.01623818837106228, -0.009615404531359673, 0.043099112808704376, 0.01592947170138359, -0.0059212311170995235, 0.002117278054356575, 0.02702963910996914, 0.0014450298622250557, -0.0412159338593483, -0.06878846138715744, -0.007477688603103161, -0.01848910003900528, -0.017885366454720497, -0.018217597156763077, 0.010300502181053162, 0.015462863259017467, 0.0273886788636446, -0.004211438819766045, -0.06012476980686188, -0.06590157747268677, 0.017146799713373184, 0.0386618971824646, -0.05881544202566147, -0.0768887847661972, -0.023542672395706177, 0.03603915497660637, 0.03609813377261162, -0.029031820595264435, -0.07325909286737442, 0.010458971373736858, 0.05018167942762375, -0.049824438989162445, 0.08631320297718048, 0.01680609956383705, 0.04914064705371857, 0.05795930325984955, -0.013909298926591873, 0.0322943851351738, -0.013289395719766617, -0.033947113901376724, -0.02381058782339096, 0.027691062539815903, -0.020425349473953247, -0.023987943306565285, -0.025040175765752792, -0.001325080986134708, 0.02000516839325428, 0.03062783181667328, 0.012033524923026562, 0.003791647497564554, 0.0011738012544810772, -0.008932159282267094, 0.04476279765367508, -0.021973872557282448, 0.02942737005650997, 0.03687049075961113, 0.010743187740445137, -0.061083801090717316, -0.06766907870769501, 0.03223736956715584, -0.0033889401238411665, 0.04636635258793831, -0.020812658593058586, -0.02990678697824478, -0.021944181993603706, 0.03897738829255104, -0.0189084280282259, -0.03873446211218834, -0.08296340703964233, 0.0075602103024721146, -0.031951624900102615, -0.006147808860987425, 0.014720599167048931, 0.0004423728387337178, 0.06032099202275276, 0.05123964697122574, 0.01778673380613327, 0.016075316816568375, -0.03799282759428024, 0.035832613706588745, 0.007407756522297859, -0.03457624837756157, -0.014076768420636654, -0.017120907083153725, -0.02125653810799122, -0.002395076910033822, -0.05229625478386879, -0.050906550139188766, -0.025457508862018585, 0.030643854290246964, -0.012230560183525085, 0.0278047863394022, -0.015638956800103188, 0.024940043687820435, -0.035074375569820404, -0.03974911570549011, -0.009879639372229576, -0.0394337996840477, -0.07240144163370132, -0.025496874004602432, 0.01144724152982235, -0.01960313506424427, 0.024723269045352936, 0.03200128674507141, 0.030271898955106735, 0.017988398671150208, -0.005406364798545837, -0.01413565780967474, 0.03657234460115433, -0.01762974075973034, -0.027548789978027344, -0.014211085624992847, -0.004286470357328653, 0.013272416777908802, 0.009671014733612537, -0.004929283168166876, 0.016705334186553955, 0.026321876794099808, -0.024830758571624756, -0.040594831109046936, 0.03804609552025795, -0.010974851436913013, -0.052409615367650986, -0.02938079833984375, 0.0000390251589124091, -0.024844735860824585, 0.044954609125852585, -0.044879525899887085, -0.0082059595733881, 0.028934190049767494, 0.05680391192436218, 0.032598983496427536, 0.012794801965355873, -0.03515079617500305, 0.01588028483092785, -0.038582947105169296, 0.027975572273135185, -0.0443231575191021, 0.04078180715441704, -0.012238653376698494, 0.0037469174712896347, -0.04454462602734566, 0.013688914477825165, -0.08901583403348923, 0.07221852988004684, -0.021672606468200684, -0.018387380987405777, -0.0034122944343835115, 0.04501184821128845, -0.010921714827418327, 0.028424033895134926, 0.0034878773149102926, -0.010845055803656578, -0.06929037719964981, 0.05983840674161911, -0.053411033004522324, 0.007281281519681215, -0.03515419736504555, -0.012938418425619602, -0.0020022245589643717, -0.008180918172001839, -0.04867048189043999, -0.037914056330919266, 0.021935798227787018, 0.06464836001396179, 0.05109867826104164, 0.022176289930939674, -0.04316076263785362, -0.016593648120760918, 0.0008763301302678883, -0.03688133507966995, -0.043055158108472824, -0.0153431361541152, 0.011056561954319477, -0.015035795047879219, 0.016941264271736145, 0.04061124101281166, -0.03514261171221733, -0.037219397723674774, 0.03144856542348862, 0.020490514114499092, 0.02171299420297146, 0.0199018232524395, 0.01964457519352436, 0.019790764898061752, 0.02163681387901306, -0.061779603362083435, -0.024852605536580086, 0.0006929357768967748, -0.016691334545612335, 0.028925703838467598, -0.02773294597864151, 0.03203022480010986, 0.01930382288992405, -0.056796781718730927, 0.01591542363166809, 0.012258180417120457, 0.0620596669614315, 0.04737325757741928, -0.020885614678263664, -0.047322314232587814, 0.03788578137755394, 0.01244488637894392, -0.04307916387915611, 0.04315968230366707, 0.02527049370110035, -0.039385441690683365, 0.05429503694176674, -0.003764450317248702, -0.01121055893599987, 0.07550416141748428, 0.04593357443809509, -0.002184103010222316, 0.03727557882666588, -0.01799059472978115, -0.000010328033567930106, 0.05821997672319412, -0.039371173828840256, -0.008675621822476387, -0.03604068234562874, 0.03364194184541702, -0.07099762558937073, 0.08522478491067886, 0.04636669531464577, -0.031011292710900307, 0.024819206446409225, -0.03161579370498657, -0.02838030271232128, 0.01962091773748398, -0.03125056251883507, 0.04684208706021309, 0.0038028405979275703, -0.07060122489929199, 0.042875081300735474, 0.012373918667435646, -0.08298326283693314, 0.0335313081741333, 0.0425223670899868, -0.0031798987183719873, 0.0013723197625949979, 0.017417753115296364, -0.03591044619679451, 0.026874268427491188, -0.09120624512434006, 0.00411887327209115, -0.035982582718133926, -0.038997869938611984, -0.00347521691583097, -0.013502221554517746, -0.03240835666656494, -0.0037173237651586533, -0.03360896185040474, 0.009380207397043705, 0.026749245822429657, -0.013289781287312508, -0.03802253305912018, 0.03111664578318596, 0.0461723618209362, 0.012864095158874989, -0.005230796989053488, -0.01110467966645956, 0.040058378130197525, 0.017027264460921288, 0.02806996926665306, 0.010807839222252369, -0.04455737769603729, -0.016318902373313904, -0.03863479197025299, -0.02941756881773472, 0.03132789582014084, -0.023195434361696243, -0.015081705525517464, 0.038324158638715744, 0.01322999969124794, 0.026390865445137024, -0.007272097282111645, -0.004985717590898275, -0.0035536077339202166, -0.030438892543315887, -0.01727120950818062, 0.012456970289349556, 0.015371162444353104, 0.016533544287085533, -0.0048052966594696045, 0.03983050212264061, 0.05826886370778084, 0.03583383932709694, -0.0037264020647853613, 0.008365030400454998, -0.02759702503681183, 0.03742373734712601, -0.048513319343328476, 0.0059102559462189674, 0.017257679253816605, -0.08153030276298523, -0.013116828165948391, -0.026191439479589462, 0.004654278978705406, 0.04660194367170334, -0.04063459858298302, 0.02125079371035099, 0.02103673852980137, 0.008324254304170609, -0.039886921644210815, -0.07997411489486694, -0.0329834446310997, -0.036352794617414474, 0.017134036868810654, 0.033518508076667786, -0.03660256788134575, 0.012440052814781666, -0.03318130224943161, -0.06903461366891861, 0.04595301300287247, 0.024561874568462372, -0.034343421459198, -0.0018190236296504736, 0.04794913902878761, -0.01300102099776268, 0.007531025912612677, 0.0606098547577858, -0.07336747646331787, 0.05449268966913223, 0.042214326560497284, -0.009153882041573524, 0.030322864651679993, 0.0379006527364254, -0.06395846605300903, -0.004298986401408911, -0.0052857231348752975, -0.02975464053452015, -0.02616274543106556, 0.03373401612043381, 0.03933110460639 ]
Aplinxy9plin/toxic-detection-rus
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- license: apache-2.0 tags: - generated_from_trainer - bem - robust-speech-event model-index: - name: wav2vec2-large-xls-r-1b-bemba-fds results: [] --- <!-- 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. --> # wav2vec2-large-xls-r-1b-bemba-fds This model is a fine-tuned version of [facebook/wav2vec2-xls-r-1b](https://huggingface.co/facebook/wav2vec2-xls-r-1b) on the [BembaSpeech](https://github.com/csikasote/BembaSpeech) dataset. It achieves the following results on the evaluation set: - Loss: 0.2898 - Wer: 0.3435 ## 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: 4 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 2 - total_train_batch_size: 8 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 500 - num_epochs: 15 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 1.7986 | 0.34 | 500 | 0.4549 | 0.7292 | | 0.5358 | 0.67 | 1000 | 0.3325 | 0.4491 | | 0.4559 | 1.01 | 1500 | 0.3090 | 0.3954 | | 0.3983 | 1.35 | 2000 | 0.3067 | 0.4105 | | 0.4067 | 1.68 | 2500 | 0.2838 | 0.3678 | | 0.3722 | 2.02 | 3000 | 0.2824 | 0.3762 | | 0.3286 | 2.36 | 3500 | 0.2810 | 0.3670 | | 0.3239 | 2.69 | 4000 | 0.2643 | 0.3501 | | 0.3187 | 3.03 | 4500 | 0.2838 | 0.3754 | | 0.2801 | 3.36 | 5000 | 0.2815 | 0.3507 | | 0.2806 | 3.7 | 5500 | 0.2725 | 0.3486 | | 0.2714 | 4.04 | 6000 | 0.2898 | 0.3435 | ### Framework versions - Transformers 4.16.2 - Pytorch 1.10.0+cu111 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.02215108461678028, -0.005834552925080061, -0.015249812975525856, 0.030687348917126656, 0.03571243956685066, 0.024165719747543335, -0.00424520019441843, -0.009352064691483974, -0.02042269892990589, 0.047924742102622986, 0.032590676099061966, -0.023270610719919205, 0.01078533660620451, 0.03533130884170532, -0.04319643974304199, -0.06387189030647278, -0.020983276888728142, -0.005580892786383629, -0.037800729274749756, 0.0019563985988497734, 0.003583153709769249, 0.000028595253752428107, -0.02184065617620945, 0.040253300219774246, 0.008358227089047432, 0.011986132711172104, -0.013024860993027687, 0.027520671486854553, 0.0034048582892864943, -0.04297666996717453, -0.0020507352892309427, -0.06282889097929001, -0.056639280170202255, -0.03658386692404747, -0.003969887737184763, 0.0005551249487325549, -0.0026876055635511875, 0.023445693776011467, 0.03221842646598816, 0.04158714786171913, 0.004265957046300173, 0.014955335296690464, -0.022316453978419304, -0.00399272795766592, 0.037442781031131744, 0.002439884003251791, -0.04011860862374306, -0.04500031843781471, 0.025471549481153488, -0.032821621745824814, -0.04622914642095566, -0.05790213122963905, 0.00004322580571169965, 0.028551451861858368, -0.03098718635737896, -0.025146689265966415, -0.05011136457324028, -0.006552110426127911, 0.07610101997852325, -0.051493849605321884, -0.019317984580993652, 0.013933665119111538, -0.06023956462740898, 0.0163883063942194, 0.033915936946868896, -0.03000112622976303, 0.027885233983397484, -0.028346741572022438, 0.04148489981889725, -0.016132555902004242, 0.051003359258174896, -0.0307427067309618, 0.01144337560981512, -0.08082550019025803, 0.0056022657081484795, -0.0016283626900985837, 0.02737274579703808, 0.07400712370872498, -0.04277604818344116, 0.06201615557074547, 0.032367028295993805, 0.011571284383535385, 0.03665651008486748, -0.020592687651515007, 0.039853911846876144, 0.05534336715936661, -0.05352768674492836, 0.03598291054368019, 0.02585640177130699, 0.011073271743953228, -0.019195647910237312, -0.035422466695308685, -0.03121500089764595, -0.05025205761194229, -0.018728677183389664, 0.049505267292261124, 0.02717154659330845, -0.018141787499189377, 0.036920174956321716, 0.025214875116944313, 0.021561244502663612, 0.015230552293360233, -0.020416781306266785, 0.08178504556417465, -0.026768382638692856, -0.018035367131233215, -0.021916355937719345, -0.0030057942494750023, -0.02807815745472908, 0.002684504957869649, 0.021165862679481506, -0.029029984027147293, -0.05042460933327675, 0.03207554295659065, 0.0030907129403203726, -0.01851007528603077, 0.06374970078468323, -0.032234132289886475, -0.03513876348733902, -0.04523203521966934, 0.032983969897031784, 0.018325192853808403, 0.0033088335767388344, 0.021645957604050636, -0.07080137729644775, 0.0030365821439772844, -0.02954038418829441, -0.05730156600475311, -0.0073316665366292, 0.009110866114497185, 0.0077776312828063965, 0.04823535308241844, 0.02915738709270954, -0.07019923627376556, -0.020105700939893723, 0.005123380105942488, -0.05878239870071411, 0.006165611557662487, 0.00910632312297821, 0.07680519670248032, -0.041913941502571106, -0.07377572357654572, -0.005391192156821489, -0.0034494486171752214, -0.004801818635314703, 0.023424874991178513, 0.016403431072831154, -0.01035379059612751, -0.02305884100496769, -0.009974545799195766, 0.045498091727495193, -0.07113923132419586, -0.018163714557886124, 0.06487155705690384, -0.03986743465065956, 0.04167149215936661, -0.029228806495666504, -0.018336065113544464, 0.002297948580235243, -0.01812705397605896, -0.0006202511722221971, 0.038304321467876434, -0.011501382105052471, -0.03156747296452522, -0.04092263802886009, -0.04634685814380646, 0.0032738640438765287, 0.08232510089874268, 0.007291821762919426, -0.02053260989487171, -0.028856027871370316, 0.024574244394898415, 0.060678448528051376, 0.03481493517756462, -0.05279412493109703, 0.03887360543012619, 0.05971674248576164, 0.025000054389238358, -0.042119793593883514, 0.05819755420088768, 0.00897196400910616, -0.028692612424492836, -0.04790205880999565, 0.002288858173415065, 0.009873275645077229, -0.07687444984912872, 0.009374544024467468, 0.03514494746923447, 0.016870535910129547, -0.027012759819626808, -0.04290999099612236, 0.07274042814970016, -0.00566956028342247, -0.01911609247326851, 0.0017929228488355875, -0.0006063765613362193, -0.04014784097671509, 0.04335389658808708, -0.027605874463915825, -0.0026783221401274204, -0.027854647487401962, -0.036536477506160736, -0.0022097572218626738, 0.010262912139296532, 0.022099461406469345, 0.05979325622320175, -0.004495102912187576, 0.09641662240028381, -0.035450804978609085, 0.016011081635951996, -0.02101263403892517, -0.06201007217168808, -0.024236897006630898, 0.054891761392354965, 0.024793703109025955, 0.08313463628292084, 0.0032031519804149866, -0.07053665816783905, 0.03349854797124863, 0.08784981071949005, 0.06190989539027214, -0.0018055096734315157, -0.03770783916115761, -0.0153167974203825, 0.030619969591498375, 0.044100575149059296, -0.0688580572605133, -0.02626531757414341, 0.013217335566878319, 0.046440426260232925, -0.020845597609877586, 0.01097334735095501, -0.022011343389749527, 0.04365871101617813, -0.034794554114341736, -0.06741072982549667, 0.052464596927165985, 0.026275884360074997, -0.010002966038882732, 0.032834623008966446, -0.01789393275976181, 0.002646791050210595, 0.009189439937472343, 0.02570822648704052, -0.017807042226195335, -0.027766888961195946, 0.025020014494657516, 0.009531229734420776, 0.04465669021010399, -0.06502171605825424, 0.03820612281560898, -0.02583734318614006, 0.006240444723516703, 0.02781611494719982, -0.022188261151313782, 0.03643276169896126, 0.05785846337676048, 0.01266850158572197, -0.024516861885786057, 0.013546034693717957, 0.014047570526599884, 0.04348071664571762, 0.027256114408373833, 0.0011469197925180197, 0.07747417688369751, 0.03539617359638214, 0.05041925609111786, 0.07043378055095673, 0.0311206616461277, 0.016710445284843445, 0.042394302785396576, 0.08953959494829178, 0.011171653866767883, -0.02138228341937065, 0.06309150904417038, -0.04176304489374161, 0.014753763563930988, -0.03050502948462963, -0.020062308758497238, -0.020624013617634773, -0.029014412313699722, 0.023539269343018532, 0.016442565247416496, -0.0031976692844182253, -0.022444814443588257, -0.03446480631828308, -0.031115829944610596, 0.04981277883052826, -0.026913994923233986, -0.009935625828802586, -0.011790627613663673, -0.013235810212790966, -0.008626150898635387, -0.06159675121307373, -0.019162943586707115, -0.0017210750374943018, -0.02545442432165146, 0.014079601503908634, -0.06289824843406677, -0.01844576559960842, -0.06941048055887222, -0.008467632345855236, 0.03280564397573471, 0.01267340686172247, 0.021324796602129936, -0.04312722384929657, 0.008446317166090012, -0.03633502870798111, -0.050529684871435165, -0.051206301897764206, -0.0427093505859375, -0.032166026532649994, -0.055156122893095016, 0.0265042707324028, 0.04430355504155159, 0.040958672761917114, 0.009079772979021072, 0.006113200914114714, -0.007167159579694271, -0.03530920669436455, 0.05088024586439133, 0.04013245180249214, -0.02946116216480732, -0.07762300223112106, 0.02091275528073311, -0.030813274905085564, 0.0023050017189234495, -0.019427020102739334, -0.02208065800368786, 0.07816047221422195, 0.04632437229156494, 0.030766144394874573, 0.021375322714447975, -0.02446058765053749, -0.0482732430100441, -0.05270516127347946, -0.022711822763085365, -0.02693689987063408, -0.01823086477816105, -0.04486825317144394, -0.032384663820266724, -0.019301172345876694, -0.019040968269109726, 0.017175406217575073, -0.018784310668706894, -0.016795707866549492, 0.03959427773952484, 0.034326694905757904, 0.007328067906200886, 0.04147033393383026, -0.022796962410211563, -0.04266967624425888, 0.06361278146505356, 0.033210158348083496, -0.0008103677537292242, -0.0751047283411026, -0.022806795313954353, 0.003155999816954136, 0.016922587528824806, -0.007804660126566887, -0.013222403824329376, 0.09501402080059052, 0.010532823391258717, -0.013437476009130478, 0.009379768744111061, -0.04590015858411789, -0.01714397221803665, -0.03582021966576576, -0.005261754617094994, -0.012246791273355484, -0.06853564828634262, 0.025348803028464317, -0.005735388025641441, 0.03650222718715668, -0.06661880761384964, -0.038872651755809784, -0.01989315263926983, 0.04913285747170448, 0.04109454154968262, -0.014040759764611721, -0.03588408604264259, -0.0096719516441226, -0.04212186112999916, -0.020366664975881577, 0.021301360800862312, 0.017948176711797714, 0.01740465685725212, 0.05365769565105438, 0.014852404594421387, -0.02584020607173443, 0.03832611069083214, 0.034357182681560516, 0.07171371579170227, 0.028994645923376083, -0.06026491895318031, 0.0039154901169240475, -0.01195250079035759, 0.03393767029047012, -0.010575590655207634, -0.028108293190598488, -0.027443664148449898, -0.10502497106790543, -0.019508440047502518, 0.006200637202709913, -0.0031645733397454023, -0.02294939197599888, 0.030950523912906647, -0.016785824671387672, -0.006659173872321844, -0.002087383298203349, 0.018726490437984467, 0.03148996829986572, -0.04652829095721245, 0.0514448881149292, 0.0013082005316391587, 0.011932214722037315, -0.06936341524124146, 0.014090198092162609, -0.02498510852456093, -0.019090866670012474, 0.019500212743878365, 0.0587795190513134, 0.003096342319622636, 0.06580594182014465, 0.08884051442146301, 0.03331523388624191, -0.0486983060836792, 0.0413924865424633, 0.05232326686382294, -0.047648534178733826, -0.0424283891916275, 0.015274458564817905, -0.020858149975538254, -0.033936064690351486, -0.02809065394103527, -0.019816739484667778, 0.041624557226896286, 0.01781499944627285, -0.012481062673032284, -0.0021304916590452194, 0.021066104993224144, 0.0014039725065231323, -0.007343333680182695, -0.03373647853732109, -0.04167000576853752, -0.0018441490828990936, -0.050868310034275055, 0.038283832371234894, 0.026294225826859474, 0.010464869439601898, 0.05452341586351395, 0.0337023101747036, -0.05414692312479019, -0.020788177847862244, 0.023208150640130043, 0.0052380939014256, -0.0251987986266613, -0.06634163111448288, -0.02596023865044117, 0.06107787787914276, 0.03206812962889671, -0.005703282076865435, -0.07145585864782333, -0.019634878262877464, 0.06198806315660477, -0.06031915545463562, 0.035928428173065186, -0.009199577383697033, 0.04584890604019165, 0.050650350749492645, -0.021064676344394684, 0.03552275523543358, -0.01791391149163246, 0.01818693056702614, -0.0017974619986489415, 0.03449360281229019, -0.011189852841198444, -0.01718304492533207, -0.059344638139009476, 0.01601102203130722, 0.045566968619823456, 0.038253046572208405, 0.052024826407432556, -0.022481685504317284, -0.018820544704794884, -0.006571282632648945, 0.0315421037375927, -0.03662756085395813, -0.0038739636074751616, 0.014988499693572521, 0.02858918160200119, -0.030040690675377846, -0.013699067756533623, -0.02239968068897724, -0.0037635432090610266, 0.021844927221536636, 0.011903628706932068, -0.0505216121673584, -0.03718344122171402, 0.04698469117283821, 0.014113910496234894, -0.04107668995857239, -0.0827324166893959, 0.04374879598617554, -0.013903600163757801, -0.009573032148182392, 0.02008652873337269, 0.026964467018842697, 0.059404708445072174, 0.060749515891075134, 0.028623677790164948, 0.00018563058984000236, -0.022438473999500275, 0.03086240030825138, -0.03694850206375122, -0.023830650374293327, -0.0012357647065073252, -0.023238342255353928, -0.02965487167239189, -0.02546328492462635, -0.040225327014923096, -0.03358425199985504, -0.009587789885699749, 0.02812168002128601, -0.02470911107957363, -0.01986631751060486, -0.025102660059928894, 0.040553100407123566, -0.01427418366074562, -0.023623807355761528, -0.029651643708348274, -0.025004317983984947, -0.06443068385124207, -0.05035116523504257, 0.04705633968114853, 0.013077477924525738, 0.02451949194073677, 0.0405830480158329, 0.018138352781534195, 0.016032308340072632, -0.007803687825798988, -0.03105720318853855, 0.01994466781616211, -0.021810969337821007, -0.04126125946640968, -0.02002890408039093, 0.03060741536319256, 0.009858628734946251, 0.04712317883968353, -0.04033124819397926, 0.028820864856243134, 0.011653365567326546, -0.02652287296950817, 0.00019741299911402166, 0.02598409727215767, 0.016345635056495667, -0.06541546434164047, -0.037258077412843704, -0.007710362318903208, -0.0374612882733345, 0.03707737475633621, -0.029521256685256958, -0.0017534084618091583, 0.004779231268912554, 0.011341934092342854, 0.043554678559303284, -0.016346460208296776, -0.02076139487326145, 0.03069247491657734, -0.01913266070187092, 0.015308663249015808, -0.0429353304207325, 0.062479037791490555, -0.02970634028315544, 0.02092711068689823, -0.009175281971693039, 0.013190302066504955, -0.06714785844087601, 0.032384734600782394, -0.02103300951421261, 0.006179581396281719, -0.0004345288616605103, 0.03262114152312279, -0.01666528359055519, 0.007279220037162304, -0.0150454668328166, 0.014957593753933907, -0.06936515122652054, 0.0679946318268776, -0.02069149538874626, 0.009968627244234085, -0.010750305838882923, 0.007966902107000351, -0.03196306899189949, 0.008235727436840534, -0.016635330393910408, -0.03403402864933014, 0.023475071415305138, 0.05610119551420212, 0.06113583967089653, 0.036786217242479324, -0.036675792187452316, -0.020428573712706566, 0.027127787470817566, -0.03533747047185898, -0.006543570663779974, 0.008970263414084911, 0.020963702350854874, 0.009319250471889973, 0.04438856616616249, 0.05000097304582596, -0.07994768768548965, -0.06184859946370125, 0.030311156064271927, 0.004394109360873699, 0.003798794001340866, 0.01191013678908348, 0.028761180117726326, 0.03718150407075882, 0.06600461155176163, -0.033311791718006134, -0.004403885453939438, -0.040387704968452454, -0.020128794014453888, 0.047653306275606155, -0.011753682047128677, 0.019098233431577682, 0.02414023131132126, -0.034468427300453186, -0.026639990508556366, 0.03318453207612038, 0.024285361170768738, 0.013751786202192307, -0.03356364369392395, -0.04576105624437332, 0.0037356922402977943, -0.013844437897205353, -0.04803837090730667, 0.01416395790874958, -0.0050131273455917835, -0.017436670139431953, 0.07521184533834457, -0.017303641885519028, 0.01904190331697464, 0.055989667773246765, 0.03747239708900452, -0.020033564418554306, 0.05388806760311127, -0.015163872390985489, -0.007579888682812452, 0.05816105753183365, -0.05856788530945778, -0.001137241255491972, -0.03308665379881859, 0.07271429151296616, -0.08256151527166367, 0.027469662949442863, 0.05121089518070221, 0.00712003605440259, 0.03720574080944061, -0.040593601763248444, -0.04305119067430496, 0.02198122814297676, -0.05280102789402008, 0.08748660236597061, 0.014669245108962059, -0.050452399998903275, 0.03831447288393974, 0.01939946785569191, -0.07335416227579117, 0.042473409324884415, 0.022702453657984734, 0.03767012059688568, 0.026010358706116676, 0.04573668912053108, -0.05226689949631691, 0.008598613552749157, -0.05280888080596924, 0.016967032104730606, -0.052680980414152145, 0.001387562952004373, 0.04062308371067047, -0.034042492508888245, -0.020543348044157028, 0.042473696172237396, -0.030506392940878868, -0.028151948004961014, 0.03411361575126648, -0.04835882410407066, -0.04278101027011871, 0.005641048774123192, 0.019859623163938522, -0.05066046118736267, -0.0062673501670360565, -0.028673691675066948, 0.009633081033825874, 0.029329566285014153, 0.015896284952759743, -0.021395374089479446, -0.00388841750100255, 0.008276344276964664, -0.058387722820043564, -0.021083908155560493, 0.036784227937459946, -0.007484608795493841, -0.01517987996339798, 0.034607063978910446, -0.0015928002540022135, 0.002697313902899623, 0.03179888054728508, 0.007651324849575758, 0.03094957396388054, -0.03965146839618683, -0.027657734230160713, -0.001145490794442594, 0.005348187871277332, 0.020973511040210724, -0.004867316223680973, 0.04241067171096802, 0.014655893668532372, 0.006439454387873411, 0.021574046462774277, -0.010633793659508228, -0.01605132967233658, 0.041603974997997284, -0.03171263262629509, 0.01571306586265564, -0.00541652599349618, -0.04647910222411156, -0.05397651344537735, -0.01247803121805191, -0.012009667232632637, 0.010306472890079021, -0.04514819383621216, -0.002838892163708806, 0.02734091691672802, -0.03209603950381279, -0.05463750660419464, -0.09251493960618973, -0.04117048531770706, -0.03639144450426102, 0.042232390493154526, 0.0334634929895401, -0.0380934439599514, 0.03349020704627037, -0.053064849227666855, -0.05370721593499184, 0.03041953593492508, 0.0017191583756357431, -0.02097482606768608, 0.04934024065732956, 0.03354537487030029, -0.07345525175333023, 0.016478080302476883, 0.06245773658156395, -0.028386864811182022, 0.006893234793096781, 0.022565899416804314, 0.02725897915661335, 0.03821868821978569, 0.016917645931243896, -0.05191033333539963, -0.04320109635591507, -0.06883104145526886, -0.03715430572628975, -0.04043713957071304, -0.013383246958255768, 0.049502626061439514 ]
Appolo/TestModel
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- language: bem datasets: - BembaSpeech metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Bemba by Claytone Sikasote results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: BembaSpeech bem type: bembaspeech args: bem metrics: - name: Test WER type: wer value: 42.17 --- # Wav2Vec2-Large-XLSR-53-Bemba Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Bemba language of Zambia using the [BembaSpeech](https://csikasote.github.io/BembaSpeech). When using this model, make sure that your speech input is sampled at 16kHz. ## Usage The model can be used directly (without a language model) as follows: ```python import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor test_dataset = load_dataset("csv", data_files={"test": "/content/test.csv"}, delimiter="\t")["test"] # Adapt the path to test.csv processor = Wav2Vec2Processor.from_pretrained("csikasote/wav2vec2-large-xlsr-bemba") model = Wav2Vec2ForCTC.from_pretrained("csikasote/wav2vec2-large-xlsr-bemba") #BembaSpeech is sample at 16kHz so we you do not need to resample #resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = speech_array.squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits predicted_ids = torch.argmax(logits, dim=-1) print("Prediction:", processor.batch_decode(predicted_ids)) print("Reference:", test_dataset["sentence"][:2]) ``` ## Evaluation The model can be evaluated as follows on the Bemba test data of BembaSpeech. ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("csv", data_files={"test": "/content/test.csv"}, delimiter="\\t")["test"] wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("csikasote/wav2vec2-large-xlsr-bemba") model = Wav2Vec2ForCTC.from_pretrained("csikasote/wav2vec2-large-xlsr-bemba") model.to("cuda") chars_to_ignore_regex = '[\,\_\?\.\!\;\:\"\“]' #resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = speech_array.squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) # Preprocessing the datasets. # We need to read the aduio files as arrays def evaluate(batch): inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits pred_ids = torch.argmax(logits, dim=-1) batch["pred_strings"] = processor.batch_decode(pred_ids) return batch result = test_dataset.map(evaluate, batched=True, batch_size=8) print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"]))) ``` **Test Result**: 42.17 % ## Training The BembaSpeech `train`, `dev` and `test` datasets were used for training, development and evaluation respectively. The script used for evaluating the model on the test dataset can be found [here](https://colab.research.google.com/drive/1aplFHfaXE68HGDwBYV2KqUWPasrk7bXv?usp=sharing).
[ -0.023676753044128418, -0.030302567407488823, -0.017313174903392792, 0.036690257489681244, 0.05662526935338974, 0.043188489973545074, -0.01191641017794609, -0.003424961119890213, -0.03994961455464363, 0.07443514466285706, 0.042418260127305984, -0.016276532784104347, -0.007686680648475885, 0.03211376070976257, -0.01840049773454666, -0.04691491648554802, 0.006481523159891367, -0.015629885718226433, -0.08324933797121048, -0.012145609594881535, -0.00509357824921608, 0.022297479212284088, -0.013855325989425182, 0.041909053921699524, -0.008407959714531898, 0.01458910945802927, -0.013972899876534939, 0.024506213143467903, 0.004678712692111731, -0.06099843978881836, -0.03172711655497551, -0.022435124963521957, -0.02899874746799469, -0.05788544565439224, -0.012066802009940147, -0.012947575189173222, -0.011849507689476013, -0.0069235218688845634, 0.01786874234676361, 0.04807484149932861, -0.016890915110707283, 0.014484643936157227, -0.0046540810726583, -0.0037105130031704903, 0.04460948333144188, 0.0042092339135706425, -0.03784612938761711, -0.024058712646365166, 0.022746393457055092, -0.02642066404223442, -0.03373849764466286, -0.08301110565662384, -0.02150874026119709, 0.02462751790881157, -0.03310259059071541, -0.02625097893178463, -0.04723592475056648, -0.019666748121380806, 0.06968466937541962, -0.06716488301753998, -0.017075447365641594, 0.014359318651258945, -0.060728784650564194, 0.015373348258435726, 0.0227673277258873, -0.02629815600812435, -0.0055283429101109505, -0.020351532846689224, 0.038926880806684494, -0.030292659997940063, 0.057047635316848755, -0.047214314341545105, 0.0141688771545887, -0.0846470519900322, 0.01236937940120697, -0.022284988313913345, 0.03140914440155029, 0.04471343010663986, -0.04499737545847893, 0.06474296748638153, 0.023510709404945374, -0.008689998649060726, 0.028333671391010284, -0.02568771317601204, -0.0041389670222997665, 0.04380281642079353, -0.04730496183037758, 0.030523939058184624, 0.02166167087852955, 0.0390828400850296, -0.037065159529447556, -0.05154060572385788, -0.01628730818629265, -0.04878945276141167, 0.0016144139226526022, 0.04306986182928085, 0.031882937997579575, -0.0278635211288929, 0.03362290561199188, 0.016826583072543144, 0.004243752919137478, 0.016452306881546974, -0.009673988446593285, 0.07709601521492004, -0.010353491641581059, -0.010816375724971294, -0.015589045360684395, -0.03227115049958229, -0.0432051420211792, 0.0018193781143054366, 0.032793208956718445, -0.03619813919067383, -0.041165199130773544, 0.037059538066387177, 0.009880327619612217, -0.028570881113409996, 0.04435142129659653, -0.04235803335905075, -0.04908282682299614, -0.0472334660589695, 0.026752756908535957, 0.006995792500674725, 0.0010769221698865294, 0.007851571775972843, -0.06196834519505501, 0.012788930907845497, -0.043893154710531235, -0.0526580773293972, -0.01546646747738123, 0.03194817528128624, 0.0008623872417956591, 0.0385478138923645, 0.022181998938322067, -0.050755228847265244, 0.007079624105244875, -0.006326921749860048, -0.06056125462055206, 0.02231903001666069, 0.02203494869172573, 0.08382776379585266, -0.03980723395943642, -0.04326983541250229, 0.005666318349540234, -0.001225065323524177, 0.005921554751694202, 0.016341328620910645, 0.002928398549556732, -0.015526185743510723, -0.035239871591329575, -0.01388656534254551, 0.06385944038629532, -0.05093592777848244, -0.015312622301280499, 0.04402036592364311, -0.024241337552666664, 0.044660113751888275, -0.035501014441251755, -0.012994857504963875, 0.01246541179716587, 0.00013814939302392304, -0.0027614759746938944, 0.036129165440797806, -0.012785079888999462, -0.046708669513463974, -0.03381088748574257, -0.04222891479730606, 0.003370282705873251, 0.08810406178236008, -0.0031499273609369993, 0.0011276428122073412, 0.000015567709851893596, 0.01650419645011425, 0.06341370195150375, 0.02271817997097969, -0.04822348430752754, 0.03145727887749672, 0.06364854425191879, 0.011468200944364071, -0.020178519189357758, 0.08036946505308151, 0.019910268485546112, -0.02699880488216877, -0.03858780860900879, -0.003042622935026884, 0.0165566336363554, -0.03931194916367531, 0.011962033808231354, 0.050679322332143784, -0.01724626123905182, -0.0008318718755617738, -0.011667742393910885, 0.07182728499174118, 0.0014697773149237037, -0.0020905151031911373, -0.006771331652998924, -0.0023919371888041496, -0.03875446319580078, 0.05148028954863548, -0.02257804200053215, 0.002662203274667263, -0.02745993062853813, -0.030454527586698532, -0.01653643138706684, 0.03661723434925079, 0.032164786010980606, 0.04481644555926323, 0.001419118489138782, 0.08757217973470688, -0.032266195863485336, 0.001645649317651987, -0.04862232133746147, -0.057107601314783096, -0.010428313165903091, 0.04866471141576767, 0.015005123801529408, 0.06280945241451263, 0.005824276711791754, -0.05959333851933479, 0.020693454891443253, 0.05164630711078644, 0.06747889518737793, 0.019378090277314186, -0.012297836132347584, -0.0013572924071922898, 0.020195895805954933, 0.06501754373311996, -0.0700676366686821, -0.03335757553577423, 0.018305175006389618, 0.03935278207063675, -0.02766125276684761, 0.004388965200632811, -0.024327337741851807, 0.037665218114852905, -0.0400521345436573, -0.08089399337768555, 0.05584416911005974, 0.04084440693259239, 0.013714420609176159, 0.03284371644258499, -0.020989369601011276, -0.0028736817184835672, 0.005646991543471813, 0.02012825384736061, -0.01326720044016838, -0.0412960909307003, 0.0037695157807320356, 0.012838630005717278, 0.03801900893449783, -0.058050550520420074, 0.02644721418619156, -0.015840234234929085, -0.002553375903517008, 0.02964739128947258, -0.0374503955245018, 0.027228541672229767, 0.0301078911870718, 0.011855089105665684, -0.02420203387737274, 0.022044815123081207, 0.0003568076353985816, 0.036774892359972, 0.048844847828149796, -0.0011262758634984493, 0.06506501883268356, 0.012534311041235924, 0.049044083803892136, 0.0909360721707344, 0.020107371732592583, 0.002003052271902561, 0.03121979907155037, 0.08599665760993958, -0.012311290018260479, -0.02091388776898384, 0.07904252409934998, -0.027700010687112808, 0.02464361861348152, -0.028471730649471283, -0.02134559117257595, -0.017794759944081306, -0.029984449967741966, 0.008861489593982697, 0.019847456365823746, -0.0088109839707613, -0.005965246818959713, -0.02268538810312748, -0.022920379415154457, 0.037349600344896317, -0.033135589212179184, -0.015135510824620724, 0.01361073274165392, -0.020461251959204674, 0.002518858527764678, -0.07213710248470306, -0.033330027014017105, -0.012587012723088264, -0.02704312652349472, 0.025567814707756042, -0.07272833585739136, -0.03690965473651886, -0.05821988731622696, -0.017024800181388855, 0.01667836308479309, 0.019427239894866943, 0.028715386986732483, -0.023005373775959015, 0.01715797185897827, -0.05875963717699051, -0.0383148118853569, -0.046524662524461746, -0.04734300822019577, -0.01971496269106865, -0.0533815436065197, 0.0373503677546978, 0.02152201719582081, 0.054010968655347824, 0.008368232287466526, 0.00006409805064322427, -0.02521001361310482, -0.03980482369661331, 0.04967678338289261, 0.03885331749916077, -0.03535742685198784, -0.08197393268346786, 0.02673526480793953, -0.017625842243433, -0.0009931251406669617, 0.008940618485212326, -0.025675300508737564, 0.06188620254397392, 0.06522729992866516, 0.030365100130438805, 0.005716423504054546, -0.0334988534450531, -0.04242610186338425, -0.04301045462489128, -0.026654338464140892, -0.042693089693784714, -0.010001299902796745, -0.022410191595554352, -0.025417275726795197, -0.020191561430692673, -0.021976854652166367, -0.005824770778417587, -0.034764211624860764, 0.007295727264136076, 0.05494553968310356, 0.051525942981243134, 0.03107314556837082, 0.056930918246507645, -0.057794880121946335, -0.03925538808107376, 0.06736504286527634, 0.02319321036338806, 0.004836590960621834, -0.07486468553543091, -0.03931307792663574, 0.01684114709496498, 0.0077685280703008175, -0.017089741304516792, -0.016006575897336006, 0.09289883077144623, 0.023365039378404617, -0.02237987332046032, -0.009609101340174675, -0.03375331312417984, -0.020096376538276672, -0.016997262835502625, -0.02166029065847397, -0.01337658055126667, -0.06434713304042816, -0.0012814004439860582, 0.00869398470968008, 0.042783964425325394, -0.06627381592988968, -0.05310872569680214, -0.002903187880292535, 0.06051911786198616, 0.005061671603471041, -0.0202778372913599, -0.04726001247763634, 0.00556579465046525, -0.037587184458971024, -0.023776499554514885, 0.006524257827550173, 0.016424234956502914, 0.016091689467430115, 0.05342676118016243, 0.0028379783034324646, -0.02660423144698143, 0.030006226152181625, 0.039077769964933395, 0.06721337884664536, 0.012619989924132824, -0.04433908686041832, -0.01331721805036068, -0.00030131437233649194, 0.025037452578544617, -0.005171886645257473, -0.04062749817967415, -0.03268564119935036, -0.06842321157455444, -0.016920575872063637, 0.015780815854668617, -0.006298352498561144, -0.03561099246144295, 0.024507230147719383, -0.00017699887393973768, -0.009698795154690742, 0.0020273737609386444, 0.018645942211151123, 0.02746884524822235, -0.05278673395514488, 0.05734703317284584, 0.008384265005588531, 0.019622597843408585, -0.0625423714518547, 0.016473745927214622, -0.0144405048340559, -0.011036563664674759, 0.0044798580929636955, 0.056758683174848557, 0.014706885442137718, 0.0437200665473938, 0.07738853245973587, 0.028699485585093498, -0.05055622756481171, 0.055964380502700806, 0.027499495074152946, -0.047725751996040344, -0.043621908873319626, -0.0012584279756993055, -0.02070196345448494, -0.05670838803052902, -0.010348359122872353, -0.02854817360639572, 0.027567263692617416, 0.009952125139534473, 0.010177554562687874, -0.029408231377601624, -0.0039847674779593945, -0.008441171608865261, -0.014462949708104134, -0.039004694670438766, -0.05904684588313103, 0.011566760949790478, -0.042419712990522385, 0.028052475303411484, 0.04916755110025406, 0.016202954575419426, 0.06259632855653763, 0.05457930266857147, -0.037077609449625015, -0.021545864641666412, 0.0106798792257905, 0.009746371768414974, -0.03315575793385506, -0.06468482315540314, -0.05451415106654167, 0.05673221871256828, 0.02698911912739277, 0.0034232630860060453, -0.08028308302164078, -0.013117614202201366, 0.05133805051445961, -0.04055937007069588, 0.06233971193432808, -0.007534865755587816, 0.05478416755795479, 0.035172998905181885, -0.030207078903913498, 0.012846024706959724, -0.02669813483953476, 0.014828665181994438, 0.003904520533978939, 0.04761770740151405, -0.007590692490339279, -0.02312649041414261, -0.04912558197975159, 0.018220964819192886, 0.04251156747341156, 0.04382358491420746, 0.030217425897717476, -0.022367529571056366, -0.05530991032719612, -0.010756382718682289, 0.019194023683667183, -0.03129534795880318, 0.027814466506242752, 0.01681126467883587, 0.010806181468069553, -0.04178943857550621, -0.017292413860559464, -0.002896410645917058, 0.019867809489369392, 0.019046010449528694, 0.004702187608927488, -0.04944942146539688, -0.04587937891483307, 0.016556214541196823, -0.005845949519425631, -0.04004694148898125, -0.06383207440376282, 0.0332680270075798, -0.02327602170407772, -0.007336542010307312, 0.0391746424138546, 0.04444471746683121, 0.06628982722759247, 0.0385112389922142, 0.019857924431562424, 0.004629035945981741, -0.027243686839938164, 0.03663758561015129, -0.023520374670624733, -0.007387138903141022, -0.01325972843915224, -0.03571753203868866, -0.026788834482431412, -0.03514961898326874, -0.061709195375442505, -0.04986748471856117, -0.014026098884642124, 0.0477520190179348, -0.012199506163597107, -0.022358356043696404, -0.013644479215145111, 0.05371109023690224, -0.028006941080093384, -0.006993005517870188, -0.03108086809515953, -0.014717323705554008, -0.057913608849048615, -0.03972727432847023, 0.03653183579444885, 0.01592129096388817, 0.01792513020336628, 0.023028330877423286, 0.006781823933124542, 0.023780696094036102, 0.006432455964386463, -0.006433981936424971, 0.022612890228629112, -0.019078973680734634, -0.05439409986138344, -0.03168107569217682, 0.0156397707760334, 0.006258637178689241, 0.04862619563937187, -0.02951034903526306, 0.018433254212141037, 0.032132960855960846, -0.048403795808553696, -0.004920765291899443, 0.017722299322485924, 0.022487545385956764, -0.05968298017978668, -0.05983590707182884, -0.004538859240710735, -0.06254202127456665, 0.03810127452015877, -0.01225605420768261, -0.017207851633429527, 0.010060863569378853, 0.018773028627038002, 0.03634904325008392, -0.021286554634571075, -0.03628957271575928, 0.030228126794099808, -0.018409624695777893, -0.005381742026656866, -0.04623012617230415, 0.057662393897771835, -0.02905050851404667, 0.023015610873699188, -0.005768420174717903, -0.0058973198756575584, -0.06242713704705238, 0.03350292518734932, -0.015403004363179207, 0.0031040823087096214, -0.007105335593223572, 0.011430781334638596, -0.019175829365849495, 0.019063200801610947, -0.016277654096484184, 0.009848730638623238, -0.04871222376823425, 0.03712577372789383, -0.02939886972308159, 0.004086674191057682, -0.016968850046396255, -0.007640725001692772, -0.028993891552090645, -0.02266218699514866, -0.018385550007224083, -0.06691285222768784, 0.03676304593682289, 0.03258318454027176, 0.04781406372785568, 0.03147554025053978, -0.01917198859155178, 0.010090712457895279, 0.007655724883079529, -0.04969650134444237, -0.008256107568740845, 0.0014955216320231557, 0.039296384900808334, 0.015060028992593288, 0.04252614080905914, 0.050071895122528076, -0.08070071786642075, -0.050880979746580124, 0.02417115308344364, 0.025331782177090645, 0.0018174323486164212, 0.003878618823364377, 0.04682517051696777, 0.037987615913152695, 0.05760034918785095, -0.039690036326646805, 0.00006701039819745347, -0.015409225597977638, -0.03598227724432945, 0.03237845376133919, -0.006377167534083128, 0.021109770983457565, 0.010839106515049934, -0.04480988159775734, -0.020935148000717163, 0.0672302097082138, 0.023032227531075478, 0.006577089428901672, -0.018726134672760963, -0.021757276728749275, 0.004822346847504377, -0.006272557191550732, -0.05925387516617775, 0.004972571507096291, 0.00046416869736276567, -0.0242716483771801, 0.09640038013458252, -0.012861103750765324, 0.01107083074748516, 0.037541989237070084, 0.01673307828605175, -0.026260068640112877, 0.036325469613075256, -0.023571832105517387, 0.013759426772594452, 0.041862256824970245, -0.05951065197587013, 0.0033861552365124226, -0.03932701796293259, 0.05976328253746033, -0.09300568699836731, 0.034773606806993484, 0.04886583238840103, 0.011490541510283947, 0.025335151702165604, -0.01785196177661419, -0.04059986397624016, 0.05666891112923622, -0.06006346642971039, 0.09040810912847519, 0.020979372784495354, -0.06734607368707657, 0.06622202694416046, 0.004194809123873711, -0.08334743976593018, 0.048886723816394806, 0.04082639515399933, 0.034690964967012405, 0.027822991833090782, 0.0613846592605114, -0.05594904348254204, 0.020322415977716446, -0.04528803750872612, 0.023883279412984848, -0.06426095962524414, 0.008141023106873035, 0.030928194522857666, -0.05568069964647293, -0.018391238525509834, 0.03766766935586929, -0.009447738528251648, -0.032666683197021484, 0.006136656738817692, -0.05406872555613518, -0.03695741668343544, -0.008989875204861164, 0.035587046295404434, -0.054783858358860016, -0.0196757260710001, -0.032258160412311554, 0.032288916409015656, 0.01288481242954731, 0.0008903450798243284, -0.0287637822329998, -0.016932159662246704, 0.02727103978395462, -0.057608090341091156, -0.026510033756494522, 0.03953022137284279, 0.007728694938123226, -0.016970688477158546, 0.06600649654865265, -0.006287585012614727, 0.021335015073418617, 0.027693072333931923, 0.011121281422674656, 0.039867449551820755, -0.056377310305833817, -0.01794341765344143, 0.007862319238483906, 0.021130384877324104, 0.01783709041774273, -0.026205934584140778, 0.0530657097697258, 0.024149077013134956, 0.009792612865567207, 0.023348119109869003, -0.020184863358736038, -0.020181575790047646, 0.020153820514678955, -0.04244472086429596, 0.035023923963308334, 0.006877856329083443, -0.05349552258849144, -0.023089708760380745, -0.009844023734331131, -0.002553869504481554, 0.022182004526257515, -0.047205809503793716, 0.0025250560138374567, 0.04838583245873451, -0.0481124073266983, -0.04441160336136818, -0.07476715743541718, -0.03722913935780525, -0.024585284292697906, 0.048455096781253815, 0.03202318772673607, -0.046214208006858826, 0.019810456782579422, -0.05269851163029671, -0.05580202862620354, 0.015866952016949654, 0.021341819316148758, -0.03237903118133545, 0.06413902342319489, 0.04147902876138687, -0.07026614248752594, 0.016724146902561188, 0.05636848136782646, -0.02017424814403057, 0.002687446540221572, 0.003862276440486312, -0.00022046788944862783, 0.039313413202762604, 0.02275863103568554, -0.029973899945616722, -0.046409428119659424, -0.04838154837489128, -0.02517160400748253, -0.03011663258075714, -0.02734607644379139, 0.056958019733428955 ]
ArBert/albert-base-v2-finetuned-ner-agglo
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- tags: - translation - torch==1.8.0 widget: - text: "Inference Unavailable" --- ### marianmt-th-zh_cn * source languages: th * target languages: zh_cn * dataset: * model: transformer-align * pre-processing: normalization + SentencePiece * test set translations: * test set scores: ## Training Training scripts from [LalitaDeelert/NLP-ZH_TH-Project](https://github.com/LalitaDeelert/NLP-ZH_TH-Project). Experiments tracked at [cstorm125/marianmt-th-zh_cn](https://wandb.ai/cstorm125/marianmt-th-zh_cn). ``` export WANDB_PROJECT=marianmt-th-zh_cn python train_model.py --input_fname ../data/v1/Train.csv \ --output_dir ../models/marianmt-th-zh_cn \ --source_lang th --target_lang zh \ --metric_tokenize zh --fp16 ``` ## Usage ``` from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cstorm125/marianmt-zh_cn-th") model = AutoModelForSeq2SeqLM.from_pretrained("cstorm125/marianmt-zh_cn-th").cpu() src_text = [ 'ฉันรักคุณ', 'ฉันอยากกินข้าว', ] translated = model.generate(**tokenizer(src_text, return_tensors="pt", padding=True)) print([tokenizer.decode(t, skip_special_tokens=True) for t in translated]) > ['我爱你', '我想吃饭。'] ``` ## Requirements ``` transformers==4.6.0 torch==1.8.0 ```
[ -0.030817221850156784, -0.04172186180949211, -0.01964477449655533, 0.08282221108675003, 0.037032123655080795, 0.02770642377436161, -0.028337839990854263, -0.011100493371486664, -0.051105696707963943, 0.05045003816485405, 0.025467906147241592, -0.0018748868023976684, -0.002855607308447361, 0.05087456852197647, -0.03819023817777634, -0.028001276776194572, -0.008954756893217564, -0.007927389815449715, -0.0463702492415905, -0.00214494951069355, 0.0015584591310471296, 0.026399560272693634, -0.01321445219218731, 0.025895653292536736, 0.0019889918621629477, 0.026292240247130394, 0.004082734230905771, 0.04462607577443123, 0.008502586744725704, -0.06684400141239166, -0.007873829454183578, -0.02583347260951996, -0.012445376254618168, -0.017359362915158272, -0.018034426495432854, -0.00033629845711402595, 0.010187244042754173, 0.01447969302535057, 0.034459128975868225, 0.059013254940509796, 0.0013795776758342981, 0.015715032815933228, -0.006992050912231207, -0.041822727769613266, 0.05848051980137825, 0.004418692551553249, -0.041303083300590515, 0.008884678594768047, 0.06069382280111313, -0.004243314731866121, -0.05090978369116783, -0.07950051128864288, -0.0238562673330307, 0.019905785098671913, -0.018776709213852882, -0.014221957884728909, -0.05137865990400314, -0.012026840820908546, 0.041681136935949326, -0.05018234997987747, -0.03465089946985245, 0.003149565774947405, -0.06133561581373215, 0.01760796643793583, 0.03685576096177101, -0.046732448041439056, -0.0049150437116622925, -0.0271917637437582, 0.009450279176235199, -0.012538332492113113, 0.05711564049124718, -0.03693121299147606, 0.015048612840473652, -0.09658094495534897, -0.03126819431781769, -0.019234996289014816, 0.0453215017914772, 0.028647789731621742, -0.04227166622877121, 0.05818803980946541, 0.04136604815721512, -0.008417397737503052, 0.03690187633037567, -0.011896445415914059, -0.03055522032082081, 0.046318575739860535, -0.03761046752333641, -0.005323040299117565, 0.015052572824060917, 0.05552046000957489, -0.043921831995248795, -0.02052476443350315, -0.015470260754227638, -0.011769702658057213, -0.016885852441191673, 0.028155334293842316, 0.05504193902015686, 0.0047032805159688, 0.025642285123467445, 0.04124445468187332, 0.042724624276161194, 0.044574327766895294, 0.005766985472291708, 0.0532488077878952, -0.018452422693371773, -0.007698484696447849, -0.0035995314829051495, -0.02981317788362503, -0.05116237327456474, 0.03184938058257103, 0.029520459473133087, -0.05172482505440712, -0.03685969114303589, 0.05460425466299057, 0.03588290512561798, -0.025337934494018555, 0.051607951521873474, -0.017782442271709442, -0.0567825585603714, -0.06733711063861847, 0.06484560668468475, 0.007952922023832798, -0.02115706354379654, 0.0020107203163206577, -0.0415249727666378, 0.010013388469815254, -0.0488860160112381, -0.030131017789244652, -0.003991703037172556, 0.022190038114786148, -0.028394538909196854, 0.04499996080994606, 0.012676610611379147, -0.043274737894535065, 0.021976986899971962, -0.014083982445299625, -0.0594741590321064, 0.04302437976002693, 0.026564279571175575, 0.10376571863889694, -0.06364001333713531, -0.061637479811906815, 0.013549014925956726, 0.005963148549199104, -0.017104556784033775, 0.014782036654651165, 0.006846520584076643, -0.04562260955572128, -0.015245627611875534, -0.012273136526346207, 0.047829777002334595, -0.0648970901966095, 0.018889207392930984, 0.035790249705314636, -0.013477812521159649, 0.03432605415582657, -0.028409630060195923, 0.0017677793512120843, 0.0040767560712993145, -0.007167450617998838, -0.03665769472718239, 0.030403800308704376, -0.0015534807462245226, -0.010807417333126068, -0.035210926085710526, -0.049852073192596436, 0.0022294167429208755, 0.06676362454891205, -0.010523004457354546, -0.019428666681051254, -0.005035063251852989, 0.02871924825012684, 0.040510453283786774, 0.015470072627067566, -0.0196493249386549, 0.041578423231840134, 0.08387649804353714, 0.05079592764377594, -0.014535509981215, 0.07555527985095978, 0.038081541657447815, -0.024909956380724907, -0.0275178924202919, 0.018706046044826508, 0.006947243586182594, -0.01647079922258854, 0.0060385894030332565, 0.054246120154857635, -0.023910701274871826, -0.03261513635516167, 0.005601532757282257, 0.06698241829872131, 0.024065934121608734, 0.001767271081916988, -0.002156801987439394, -0.00670053344219923, -0.030863959342241287, 0.04874243214726448, -0.023866279050707817, 0.000532090722117573, -0.02590310014784336, -0.02245510369539261, -0.001797687029466033, 0.039262957870960236, 0.03004155308008194, 0.04332166910171509, -0.022944942116737366, 0.10462191700935364, -0.025677677243947983, 0.020198972895741463, -0.02836385741829872, -0.05919792503118515, 0.009381088428199291, 0.048183828592300415, 0.005929933395236731, 0.04209844395518303, 0.008511907421052456, -0.00954536534845829, 0.03218529000878334, 0.05586793273687363, 0.046523481607437134, 0.03460664302110672, -0.03479832783341408, 0.0006632159929722548, 0.026469312608242035, 0.04584638401865959, -0.06146538630127907, -0.043884746730327606, 0.017319126054644585, 0.04754495993256569, -0.029677920043468475, 0.0015768384328112006, -0.021897122263908386, 0.010573333129286766, -0.05396972596645355, -0.07414788752794266, 0.036587391048669815, 0.03481626883149147, 0.0008248072699643672, 0.025930970907211304, 0.021649139001965523, 0.015307090245187283, 0.03442004695534706, -0.007277737371623516, 0.015643736347556114, -0.04291843622922897, -0.0010502046206966043, 0.016540689393877983, 0.03825352340936661, -0.04886605218052864, 0.020842336118221283, 0.003846663748845458, 0.012675752863287926, 0.05614306777715683, -0.055110685527324677, 0.009131229482591152, -0.0005944353179074824, 0.028348511084914207, -0.041528452187776566, 0.009257634170353413, -0.004459304269403219, 0.043551281094551086, 0.058679062873125076, -0.005780377890914679, 0.03908979147672653, -0.01049497164785862, 0.04583856463432312, 0.08082415908575058, 0.02749376744031906, 0.02039535902440548, 0.0320030078291893, 0.06806951016187668, 0.004319038707762957, -0.005419228691607714, 0.06524916738271713, -0.05241284519433975, 0.026099614799022675, -0.052482545375823975, 0.05897568166255951, -0.00908812414854765, -0.005229310132563114, 0.02534617856144905, 0.006940457504242659, -0.03159531578421593, 0.017081962898373604, -0.024522116407752037, -0.011858765967190266, 0.042551636695861816, -0.00024637934984639287, -0.00039342607487924397, -0.0029290218371897936, -0.01762429252266884, 0.017526110634207726, -0.06797081232070923, -0.056064706295728683, 0.016845902428030968, -0.030647078529000282, 0.00039520562859252095, -0.07619550079107285, -0.037317514419555664, -0.03890453279018402, -0.03040578030049801, 0.030908377841114998, 0.019756674766540527, 0.010882329195737839, -0.0198109969496727, 0.0339566245675087, -0.05755789577960968, -0.018784578889608383, -0.04272875189781189, -0.04587162286043167, -0.03924822807312012, -0.07624467462301254, 0.037540633231401443, 0.0025523609947413206, 0.010180615819990635, 0.025462986901402473, -0.0058857593685388565, -0.019919656217098236, -0.02640971913933754, 0.07642964273691177, 0.03510158881545067, -0.04245452582836151, -0.044261686503887177, 0.018016844987869263, -0.012912527658045292, 0.0031816454138606787, -0.016144592314958572, -0.03801941126585007, 0.09528899937868118, 0.08381142467260361, 0.0164728295058012, 0.012096826918423176, -0.023755792528390884, -0.05209527164697647, -0.05415838956832886, -0.024106387048959732, -0.03532867506146431, -0.0214637853205204, -0.024196326732635498, -0.039086006581783295, -0.01082671619951725, -0.035741452127695084, -0.022741161286830902, -0.0009933051187545061, 0.036805350333452225, 0.0405738465487957, 0.05512445047497749, 0.04197612404823303, 0.029281949624419212, -0.07204895466566086, -0.011267958208918571, 0.061316393315792084, -0.006538864690810442, 0.012190454639494419, -0.07019276171922684, 0.006364582572132349, 0.04222062602639198, 0.014438891783356667, -0.023024972528219223, -0.011223084293305874, 0.10289742052555084, -0.001577248447574675, 0.002258558524772525, 0.01616380549967289, -0.014056663028895855, 0.008086818270385265, -0.004431807901710272, -0.0019323457963764668, -0.025243986397981644, -0.04135991260409355, -0.0209096297621727, -0.020198632031679153, 0.0530928336083889, -0.05893375724554062, -0.0647118091583252, -0.030145658180117607, 0.028362438082695007, 0.006013683974742889, 0.007933211512863636, -0.04119477421045303, 0.002308996394276619, -0.03870750218629837, -0.03515264019370079, 0.022802254185080528, -0.0058267260901629925, -0.005520429462194443, 0.04821377992630005, 0.03808087483048439, -0.04192366451025009, 0.030829526484012604, 0.025611037388443947, 0.06576377898454666, 0.022435195744037628, -0.03473325073719025, 0.00409815413877368, -0.009804409928619862, 0.021097097545862198, 0.00531861511990428, -0.03600672259926796, -0.04508811607956886, -0.08573132008314133, 0.0030151442624628544, 0.021690448746085167, -0.041308462619781494, -0.021359452977776527, 0.055528074502944946, -0.006088039372116327, -0.008467505685985088, -0.00788159016519785, 0.020361414179205894, 0.05899808183312416, -0.04783491790294647, 0.05192635953426361, -0.004136048723012209, 0.04015466943383217, -0.06468970328569412, 0.020160658285021782, -0.010276900604367256, -0.004889708012342453, -0.0005584997124969959, 0.06528449058532715, 0.014123020693659782, 0.037715885788202286, 0.062009409070014954, 0.027141397818922997, -0.05924290418624878, 0.05810730531811714, 0.03531978279352188, -0.007154962047934532, -0.06285978108644485, -0.014754511415958405, -0.028409069404006004, -0.04474358633160591, 0.0003894635010510683, -0.02949415147304535, -0.0021982588805258274, 0.04682549461722374, -0.0013199485838413239, -0.008965451270341873, 0.005775436293333769, -0.026548957452178, -0.035880185663700104, -0.03607724979519844, -0.012160222046077251, 0.0012977825244888663, -0.015759892761707306, 0.03363550826907158, 0.018978482112288475, -0.005301990546286106, 0.05975176766514778, 0.05808639153838158, -0.026929765939712524, -0.02259286679327488, 0.027308430522680283, 0.01730748824775219, -0.047757260501384735, -0.05529564991593361, -0.043979283422231674, 0.03464972972869873, 0.05380551144480705, -0.020993579179048538, -0.08555641025304794, 0.03680834919214249, 0.04630338028073311, -0.025381989777088165, 0.0827970951795578, -0.030653510242700577, 0.03056468442082405, 0.037226684391498566, -0.01808270439505577, 0.019486457109451294, -0.033047232776880264, 0.001180411665700376, -0.015093659050762653, 0.03729969635605812, -0.04478422552347183, -0.04416341334581375, -0.06831002235412598, 0.024999765679240227, 0.023556191474199295, 0.05584133788943291, 0.040024999529123306, -0.031292758882045746, -0.06381702423095703, 0.004532183054834604, 0.030250173062086105, -0.05223888158798218, 0.016709644347429276, 0.020793016999959946, 0.0410059355199337, -0.059226926416158676, -0.03152510151267052, 0.0076394760981202126, 0.008243179880082607, 0.02188269793987274, -0.009676529094576836, -0.03427816182374954, -0.042325228452682495, 0.021146252751350403, -0.0415235310792923, -0.02706705965101719, -0.07333538681268692, 0.04156148433685303, -0.02095341496169567, -0.025324638932943344, 0.06342373043298721, 0.04209230840206146, 0.04546376317739487, 0.01609916239976883, 0.010494939982891083, 0.052263010293245316, -0.015731124207377434, 0.0482846274971962, -0.018916569650173187, -0.010290998965501785, 0.018101584166288376, -0.03563091158866882, -0.0017091353656724095, -0.03700172156095505, -0.04596401005983353, -0.04359624534845352, -0.02115594409406185, 0.01682308129966259, -0.0017560768174007535, 0.017735034227371216, -0.0004438865289557725, 0.038008611649274826, -0.0251093078404665, -0.05690101161599159, -0.026082415133714676, -0.023779958486557007, -0.09456693381071091, -0.07530148327350616, 0.024494413286447525, 0.013768999837338924, 0.017049748450517654, 0.0073969606310129166, 0.02081751637160778, 0.027622926980257034, -0.005127196200191975, -0.013447880744934082, 0.03412782773375511, -0.004379872232675552, -0.046216804534196854, -0.0220045056194067, 0.012781806290149689, 0.0028268354944884777, 0.008974975906312466, -0.02797408029437065, 0.02301204390823841, 0.021006030961871147, -0.020726285874843597, -0.004517748020589352, 0.008684948086738586, 0.02208673767745495, -0.07332242280244827, -0.04186606779694557, -0.0049809617921710014, -0.05531822890043259, 0.021570555865764618, 0.0004377327277325094, -0.01650472730398178, -0.015247481875121593, 0.027329320088028908, 0.018283383920788765, -0.0026343706995248795, -0.017846250906586647, 0.0047799767926335335, -0.030726924538612366, -0.006791137624531984, -0.049101702868938446, 0.032959528267383575, -0.05068499967455864, 0.01523696817457676, -0.007289900444447994, -0.012474970892071724, -0.057015661150217056, 0.0477420799434185, -0.016226455569267273, -0.0035167010501027107, -0.009345587342977524, 0.01743324100971222, -0.03680975362658501, 0.03516248241066933, -0.022754132747650146, 0.023062998428940773, -0.02499289996922016, 0.0326581634581089, -0.054837144911289215, -0.0015161085175350308, -0.02262859232723713, -0.00002754461638687644, -0.017720218747854233, -0.00346207432448864, -0.03440108522772789, -0.02822032757103443, 0.0264360923320055, 0.029149914160370827, 0.0264056995511055, 0.032165735960006714, -0.021388011053204536, 0.007263402920216322, -0.004814248997718096, -0.05398493632674217, -0.00697297090664506, -0.03585227578878403, 0.008638503029942513, -0.020467940717935562, 0.06553731858730316, 0.03315610811114311, -0.042642127722501755, -0.05561530217528343, 0.048723820596933365, 0.01446529570966959, 0.00963745079934597, 0.01521599106490612, 0.03034316375851631, 0.029316671192646027, 0.036580633372068405, -0.023835109546780586, -0.0164934229105711, -0.03428930789232254, -0.03784479200839996, 0.014827530831098557, 0.00392812117934227, 0.007015269715338945, -0.00021553855913225561, -0.04999858886003494, -0.04374470189213753, 0.062195632606744766, 0.014484570361673832, 0.03207455575466156, -0.014365208335220814, -0.036923304200172424, 0.023219140246510506, 0.01302407868206501, -0.04871666058897972, -0.0007627584272995591, 0.029478920623660088, -0.02595464698970318, 0.07261813431978226, -0.013189995661377907, 0.01668458804488182, 0.04756680876016617, 0.01555393636226654, 0.0093797342851758, 0.037417057901620865, -0.022782588377594948, 0.012415370903909206, 0.04379113018512726, -0.05366014316678047, -0.009025195613503456, -0.017605459317564964, 0.08016391843557358, -0.07031411677598953, 0.03853696957230568, 0.054144833236932755, 0.03526277095079422, 0.01953505165874958, -0.038958895951509476, -0.039324525743722916, 0.038877878338098526, -0.03200957924127579, 0.07367868721485138, 0.017338082194328308, -0.05978011712431908, 0.07702571898698807, 0.03501930087804794, -0.09516479820013046, 0.06528204679489136, 0.04277219623327255, 0.014196010306477547, 0.024580994620919228, 0.0499892383813858, -0.051901161670684814, 0.029199926182627678, -0.020358532667160034, 0.01766744814813137, -0.057587701827287674, -0.011538742110133171, -0.012399092316627502, -0.04445726051926613, -0.02269025519490242, 0.012000072747468948, -0.0037621271330863237, -0.0058999499306082726, 0.01246077660471201, -0.07263311743736267, -0.028266003355383873, -0.02229161001741886, 0.011192522943019867, -0.009735475294291973, 0.03001910261809826, -0.01879548840224743, 0.027439750730991364, 0.03834495693445206, -0.0010666524758562446, -0.0401347279548645, -0.010035158134996891, 0.0278786588460207, -0.07267145812511444, -0.032580237835645676, 0.021829938516020775, 0.01495255809277296, -0.03765140846371651, 0.043297551572322845, 0.001388842356391251, 0.03335471823811531, 0.020031243562698364, 0.019619140774011612, 0.03559147194027901, -0.07247599214315414, 0.011863703839480877, 0.015001155436038971, -0.0005673616542480886, 0.00854045432060957, -0.007392034865915775, 0.030054304748773575, 0.041635483503341675, 0.031735118478536606, -0.009600996971130371, -0.03145000338554382, -0.015606901608407497, 0.01687839813530445, -0.035103101283311844, 0.022400593385100365, 0.0024836850352585316, -0.0457039438188076, -0.026985011994838715, -0.027050716802477837, -0.008778891526162624, 0.03782469406723976, -0.041591815650463104, -0.011610384099185467, 0.039370305836200714, -0.015667404979467392, -0.04375477880239487, -0.0596851147711277, -0.031166331842541695, -0.030738389119505882, 0.009842661209404469, 0.021532507613301277, -0.06503660976886749, 0.016568845137953758, -0.03324127942323685, -0.06693507730960846, 0.0460558645427227, 0.02504674345254898, -0.020448852330446243, 0.04383121803402901, 0.04803737625479698, -0.03002851828932762, 0.030519764870405197, 0.0490134060382843, -0.057688381522893906, 0.02010594867169857, 0.016405029222369194, 0.01541159301996231, 0.03876036778092384, 0.0443270318210125, 0.0026739148888736963, -0.011341270059347153, -0.07297492027282715, -0.02853735163807869, -0.020133839920163155, -0.022101007401943207, 0.04511064663529396 ]
ArBert/albert-base-v2-finetuned-ner-gmm
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- widget: - text: "สวนกุหลาบเป็นโรงเรียนอะไร" context: "โรงเรียนสวนกุหลาบวิทยาลัย (Suankularb Wittayalai School) (อักษรย่อ : ส.ก. / S.K.) เป็นโรงเรียนชายล้วน ระดับชั้นมัธยมศึกษาขนาดใหญ่พิเศษ สังกัดสำนักงานเขตพื้นที่การศึกษามัธยมศึกษาเขต 1 สำนักงานคณะกรรมการการศึกษาขั้นพื้นฐาน (ชื่อเดิม: กรมสามัญศึกษา) กระทรวงศึกษาธิการ ก่อตั้งโดย พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว ได้รับการสถาปนาขึ้นในวันที่ 8 มีนาคม พ.ศ. 2424 (ขณะนั้นนับวันที่ 1 เมษายน เป็นวันขึ้นปีใหม่ เมื่อนับอย่างสากลถือเป็น พ.ศ. 2425) โดยเป็นโรงเรียนรัฐบาลแห่งแรกของประเทศไทย" --- # wangchan-deberta_v1-base-wiki-20210520-news-spm-finetune-qa Finetuning `airesearch/wangchan-deberta_v1-base-wiki-20210520-news-spm` with the training set of `iapp_wiki_qa_squad`, `thaiqa_squad`, and `nsc_qa` (removed examples which have cosine similarity with validation and test examples over 0.8; contexts of the latter two are trimmed to be around 300 `newmm` words). Benchmarks shared on [wandb](https://wandb.ai/cstorm125/wangchanberta-qa) using validation and test sets of `iapp_wiki_qa_squad`. Trained with [thai2transformers](https://github.com/vistec-AI/thai2transformers/blob/dev/scripts/downstream/train_question_answering_lm_finetuning.py). Run with: ``` export MODEL_NAME=wangchan-deberta_v1-base-wiki-20210520-news-spm CUDA_LAUNCH_BLOCKING=1 python train_question_answering_lm_finetuning.py \ --model_name $MODEL_NAME \ --dataset_name chimera_qa \ --revision mlm@ckp-41100 \ --output_dir $MODEL_NAME-finetune-chimera_qa-model \ --log_dir $MODEL_NAME-finetune-chimera_qa-log \ --model_max_length 400 \ --pad_on_right \ --fp16 \ --use_auth_token ```
[ -0.0013750857906416059, -0.034889280796051025, -0.004486418794840574, 0.06063276529312134, 0.009360700845718384, 0.003091393271461129, -0.0006182064535096288, -0.0026039162185043097, -0.05700349435210228, 0.03323185816407204, 0.018202906474471092, 0.018986769020557404, 0.02373131550848484, 0.014214088208973408, -0.05248326435685158, -0.06005851924419403, -0.029301797971129417, -0.03647080436348915, -0.026686808094382286, -0.02696238085627556, -0.013628075830638409, 0.013824735768139362, -0.0011146939359605312, -0.00819074921309948, 0.006364491302520037, 0.013245155103504658, -0.03601406142115593, 0.021775545552372932, 0.011491641402244568, -0.06644637137651443, 0.018891576677560806, -0.030798058956861496, -0.02732396125793457, -0.033893946558237076, -0.01693241111934185, -0.01919648051261902, 0.013565254397690296, -0.0022804897744208574, 0.0025862359907478094, 0.07688688486814499, -0.01246060710400343, 0.003577818628400564, 0.004568421747535467, -0.02524808794260025, 0.047202881425619125, -0.005087746772915125, -0.02766112983226776, 0.014799394644796848, 0.03336050733923912, -0.020063284784555435, -0.05665144324302673, -0.08722817897796631, -0.03349730372428894, 0.022140532732009888, 0.008230134844779968, 0.004064969718456268, -0.029949089512228966, -0.011634803377091885, 0.05795149505138397, -0.03975825384259224, -0.027313122525811195, 0.0068709212355315685, -0.057760369032621384, 0.014122028835117817, 0.03683626651763916, -0.04126669093966484, 0.014591636136174202, -0.04057720676064491, 0.03436664864420891, -0.041142988950014114, 0.09288335591554642, -0.0485738143324852, 0.0200825035572052, -0.09356451034545898, 0.0051153856329619884, 0.0027084071189165115, 0.021522212773561478, 0.04985250160098076, -0.0254952535033226, 0.0573999397456646, 0.020681334659457207, 0.016723211854696274, 0.025413338094949722, -0.0014545569429174066, 0.008117404766380787, 0.036671608686447144, -0.03214886784553528, -0.01426556147634983, -0.005853855051100254, 0.04125446826219559, -0.02494673803448677, -0.03688499331474304, -0.008483437821269035, -0.01712195947766304, -0.018521936610341072, 0.021934624761343002, 0.037921518087387085, -0.0028392765671014786, 0.003203584346920252, 0.025393251329660416, 0.027106141671538353, 0.05167502164840698, -0.03338330239057541, 0.04840488359332085, -0.02310134842991829, 0.018614310771226883, -0.015714025124907494, -0.025375761091709137, -0.04903339967131615, 0.037459846585989, 0.029550377279520035, -0.059832487255334854, -0.015653349459171295, 0.010005226358771324, 0.03233462944626808, -0.02518446557223797, 0.045329317450523376, -0.03403077274560928, -0.05028247833251953, -0.05964907631278038, 0.056164924055337906, 0.021525591611862183, -0.0095352903008461, 0.012185169383883476, -0.02952398918569088, 0.009297939017415047, -0.0392158105969429, -0.051625046879053116, 0.009088180959224701, 0.01904059387743473, -0.010608403012156487, 0.05026860907673836, 0.010700361803174019, -0.06395570933818817, 0.006881625857204199, -0.0015707473503425717, -0.07773872464895248, 0.017603302374482155, 0.0040326304733753204, 0.09529265016317368, -0.06515345722436905, -0.0449720062315464, 0.0019081783248111606, 0.02725304290652275, 0.00020096120715606958, 0.003831821260973811, 0.0020985633600503206, -0.012935261242091656, -0.026111947372555733, -0.003815992968156934, 0.06124620512127876, -0.04343431070446968, 0.023935668170452118, 0.0411623977124691, 0.0010832669213414192, 0.03859316185116768, -0.03413056954741478, 0.02060912363231182, 0.015800654888153076, 0.0070355734787881374, -0.02621355466544628, 0.040510743856430054, -0.006805097684264183, -0.009422309696674347, -0.06174040958285332, -0.03751283511519432, -0.015455879271030426, 0.0884847342967987, -0.001481527928262949, -0.04328570514917374, -0.04091538116335869, 0.01880112662911415, 0.06016556918621063, 0.013566982001066208, -0.02239597588777542, 0.04929174855351448, 0.04914580658078194, 0.05523751676082611, -0.013202088885009289, 0.030062837526202202, 0.004622384440153837, -0.04186200350522995, -0.027219360694289207, 0.0011686187935993075, 0.0034343774896115065, -0.03968719393014908, 0.0360708124935627, 0.041756536811590195, -0.013647333718836308, -0.025085382163524628, -0.017772212624549866, 0.07196994125843048, -0.017049500718712807, -0.0007947839912958443, 0.004157819785177708, 0.008483072742819786, -0.016148056834936142, 0.06141937896609306, -0.02344660460948944, 0.0005537745309993625, -0.032319437712430954, -0.04914560168981552, 0.04757719859480858, 0.003230511909350753, 0.008854649029672146, 0.05605698376893997, -0.006232598330825567, 0.08643697947263718, -0.024773025885224342, 0.01322860922664404, -0.041067611426115036, -0.016146281734108925, 0.008883347734808922, 0.05432929843664169, 0.01617869734764099, 0.053794313222169876, -0.006916755344718695, -0.027191350236535072, 0.03576916828751564, 0.0701783299446106, 0.06225719675421715, 0.036702461540699005, -0.01031009666621685, 0.022636735811829567, 0.027703193947672844, 0.06716776639223099, -0.059378769248723984, -0.023972738534212112, 0.008995023556053638, 0.026394391432404518, -0.016086334362626076, -0.003819585544988513, -0.002665561391040683, -0.0021478356793522835, -0.03953005373477936, -0.08772195875644684, 0.04681943356990814, 0.005116678308695555, 0.02921595424413681, 0.018403738737106323, 0.01582474075257778, 0.024508299306035042, 0.043191779404878616, 0.005180628038942814, -0.013672323897480965, -0.03221268579363823, -0.010987743735313416, 0.019224895164370537, 0.03547051176428795, -0.057782743126153946, 0.019388727843761444, -0.007804799359291792, 0.02997421659529209, 0.04418179765343666, -0.043715763837099075, 0.033232927322387695, 0.03834095224738121, 0.015624993480741978, -0.03102988190948963, 0.024180172011256218, 0.0290655680000782, 0.03445873036980629, 0.08726610243320465, 0.014236492104828358, 0.037788789719343185, 0.020476317033171654, 0.02695772796869278, 0.06671009957790375, 0.006618617568165064, 0.009110476821660995, 0.015938324853777885, 0.07051749527454376, 0.0014269041130319238, 0.004752952139824629, 0.04169919341802597, -0.05860691890120506, 0.012029264122247696, -0.03240972012281418, 0.020450104027986526, -0.025533774867653847, 0.0019389245426282287, 0.025722401216626167, 0.01929083652794361, -0.0008438533404842019, 0.018759198486804962, -0.02710379846394062, -0.007316220086067915, 0.014211423695087433, -0.04561991989612579, 0.013646584004163742, -0.02534930780529976, -0.012132901698350906, 0.016533756628632545, -0.0794944316148758, -0.034214086830616, 0.013126960024237633, -0.029596399515867233, 0.009541970677673817, -0.07749225944280624, 0.0007454598671756685, -0.06186889484524727, -0.05585779249668121, 0.03785177320241928, 0.02640584483742714, -0.00904031004756689, -0.029034892097115517, 0.013116652145981789, -0.057314157485961914, -0.026617780327796936, -0.03674979507923126, -0.03998588025569916, -0.03391031175851822, -0.05718072131276131, 0.04796237125992775, 0.031821057200431824, 0.03837766498327255, 0.013348693959414959, 0.011864479631185532, -0.02206611819565296, -0.01225577387958765, 0.040998201817274094, 0.03510128706693649, -0.013408059254288673, -0.03212496638298035, 0.03889774903655052, -0.009474840946495533, 0.022781839594244957, -0.020685913041234016, -0.012510796077549458, 0.0867084264755249, 0.06262382864952087, 0.012366162613034248, 0.0320090614259243, -0.02007301338016987, -0.047971248626708984, -0.02971065603196621, -0.04214898496866226, -0.03310934454202652, -0.03702162206172943, -0.05671348050236702, -0.054187215864658356, -0.001590968226082623, -0.027923019602894783, 0.0155557906255126, -0.00045076431706547737, -0.007640813011676073, 0.03323609381914139, 0.07010690867900848, 0.045504726469516754, 0.02404599077999592, -0.027732117101550102, -0.030226100236177444, 0.06206824257969856, -0.01183591689914465, 0.014838781207799911, -0.06420209258794785, -0.028616974130272865, 0.02791881375014782, 0.012270276434719563, -0.007745859678834677, -0.0410817451775074, 0.0746830627322197, -0.006579628214240074, -0.015678344294428825, 0.013234253972768784, -0.017388321459293365, -0.033942483365535736, -0.0008826061384752393, -0.014073803089559078, -0.023101260885596275, -0.05219898000359535, -0.004119340796023607, -0.019928451627492905, 0.04408073425292969, -0.07621380686759949, -0.04294423386454582, -0.018303867429494858, 0.0064444695599377155, 0.009648789651691914, -0.022093093022704124, -0.04143514111638069, -0.014179394580423832, -0.030336014926433563, -0.03289669007062912, 0.037713829427957535, -0.006175156682729721, -0.019152093678712845, 0.042757026851177216, 0.020309610292315483, -0.0163822490721941, 0.035342440009117126, 0.021154116839170456, 0.04284569248557091, 0.002721354365348816, -0.04104158654808998, 0.01631809026002884, -0.02437661401927471, 0.02225639671087265, 0.02003798633813858, -0.009165413677692413, -0.02901698835194111, -0.07494265586137772, -0.027253910899162292, -0.00018467586778569967, -0.03526643291115761, -0.036715827882289886, 0.038960620760917664, -0.01940806582570076, -0.022384531795978546, 0.00959420669823885, 0.02747524343430996, 0.04831176623702049, -0.05152418836951256, 0.06002474203705788, 0.013127610087394714, 0.04823269322514534, -0.05031765624880791, -0.0008888307493180037, -0.03555464744567871, -0.005097483284771442, 0.021686112508177757, 0.05921166017651558, 0.023930272087454796, 0.05722659453749657, 0.06394516676664352, 0.03975290432572365, -0.043222036212682724, 0.0463656447827816, 0.07609261572360992, -0.012991058640182018, -0.03575263172388077, 0.0046060518361628056, -0.016221899539232254, -0.019500676542520523, -0.00984579510986805, -0.06172534450888634, 0.05336153507232666, 0.04003646597266197, -0.0058240024372935295, 0.010210849344730377, -0.012190643697977066, -0.044984884560108185, -0.03960118442773819, -0.043054405599832535, 0.014834003522992134, -0.025739438831806183, -0.021176772192120552, 0.028674807399511337, 0.05209417641162872, 0.020222671329975128, 0.044297631829977036, 0.057943545281887054, 0.002132492372766137, -0.03945327550172806, 0.04485413059592247, 0.03893642500042915, -0.07566440850496292, -0.07649251073598862, -0.02857527881860733, 0.03583769127726555, 0.029728684574365616, -0.02427079901099205, -0.09747776389122009, 0.03427697345614433, 0.045437928289175034, -0.06175212189555168, 0.05784885957837105, 0.0027205725200474262, 0.00962786190211773, 0.0422772653400898, -0.014163068495690823, 0.03407074511051178, -0.005523961503058672, 0.012415015138685703, -0.009458721615374088, 0.08247215300798416, -0.0419190414249897, -0.03915981948375702, -0.06212115287780762, 0.037041567265987396, 0.031165631487965584, 0.0397772379219532, 0.02204420417547226, -0.01455666683614254, -0.04384180158376694, 0.003668226068839431, 0.025371404364705086, -0.03764043375849724, 0.019288456067442894, 0.04093931242823601, 0.03962916508316994, -0.06872662901878357, -0.036800041794776917, -0.015790099278092384, -0.0008422788232564926, 0.05450012534856796, -0.022812364622950554, -0.02866654098033905, -0.060132693499326706, 0.040019430220127106, -0.009546477347612381, -0.02221018075942993, -0.0909857451915741, 0.045013975352048874, 0.011141423135995865, -0.031555820256471634, 0.07852057367563248, 0.032626111060380936, 0.024827979505062103, 0.04946810007095337, 0.0012574342545121908, 0.018375340849161148, -0.04074947535991669, 0.04921746253967285, -0.03529997169971466, -0.01789642870426178, 0.016733696684241295, -0.044107336550951004, -0.0047440305352211, -0.02033355087041855, -0.025081265717744827, -0.038894906640052795, -0.026591327041387558, 0.05282614752650261, 0.008699296042323112, 0.0017831921577453613, -0.021473800763487816, 0.03011407144367695, -0.044186998158693314, -0.020742477849125862, -0.020115504041314125, -0.02989380806684494, -0.04644130542874336, -0.03460036218166351, 0.01363975740969181, 0.00530097633600235, 0.01362753938883543, 0.011039289645850658, 0.009013397619128227, 0.021960370242595673, 0.008119854144752026, -0.042138103395700455, 0.021998388692736626, 0.0054979403503239155, -0.030308136716485023, -0.042011652141809464, 0.010719620622694492, 0.01072103064507246, 0.011883104220032692, -0.020879434421658516, 0.021660035476088524, 0.014822736382484436, -0.02815343625843525, -0.01661493442952633, 0.004550843499600887, 0.037716422230005264, -0.07400569319725037, -0.04770287498831749, 0.002316052792593837, -0.04351409152150154, 0.04412534087896347, -0.014593321830034256, -0.02853645570576191, 0.009146587923169136, -0.0012179493205621839, 0.008172058500349522, 0.008932923898100853, -0.03714090958237648, 0.036815714091062546, -0.015231683850288391, 0.011049590073525906, -0.059079062193632126, 0.02553432062268257, -0.029136206954717636, 0.008297313936054707, -0.05159630626440048, -0.0012424285523593426, -0.039070069789886475, 0.060397353023290634, -0.008839258924126625, -0.010149299167096615, -0.016672881320118904, 0.02465527318418026, -0.051164161413908005, 0.030376963317394257, -0.03173116594552994, 0.02971445955336094, -0.04732557758688927, 0.04718649759888649, -0.06519664078950882, -0.005360499955713749, -0.024608265608549118, -0.015835324302315712, -0.036304034292697906, -0.004401724319905043, -0.051451101899147034, -0.03303054720163345, -0.0036830443423241377, 0.025296755135059357, 0.03488325700163841, 0.031409766525030136, 0.002502458868548274, 0.018430156633257866, 0.00659083342179656, -0.04875017702579498, -0.009269649162888527, -0.019284579902887344, -0.0009704803815111518, -0.031756192445755005, 0.06458510458469391, 0.03392019122838974, -0.0562349334359169, -0.048036932945251465, 0.03225793316960335, 0.04082750901579857, 0.008939830586314201, 0.014203161001205444, 0.00022101635113358498, 0.053694915026426315, 0.038868799805641174, -0.04086948186159134, -0.008475640788674355, -0.01979050226509571, -0.026576902717351913, 0.037002239376306534, -0.0037636898923665285, 0.014449033886194229, -0.017813842743635178, -0.03052213042974472, -0.03310394659638405, 0.04321230575442314, 0.01612045243382454, 0.02643689326941967, 0.01912086084485054, -0.039554622024297714, 0.041953157633543015, 0.00447331927716732, -0.048434365540742874, 0.006129328161478043, -0.003473718650639057, -0.03886415436863899, 0.041656140238046646, -0.0024000713601708412, -0.004981094505637884, 0.043469835072755814, 0.02641034498810768, -0.019432788714766502, 0.07078133523464203, -0.03755267709493637, 0.015981892123818398, 0.049744170159101486, -0.059062592685222626, 0.001577582210302353, -0.03316294774413109, 0.06983917951583862, -0.07038187980651855, 0.05081316456198692, 0.04236902296543121, 0.01240635383874178, 0.04019636660814285, -0.02007199637591839, -0.04156996309757233, 0.020181355997920036, -0.038617853075265884, 0.08394680917263031, 0.012357673607766628, -0.0494084358215332, 0.06817846745252609, 0.03065170906484127, -0.0669696033000946, 0.029112594202160835, 0.0388152040541172, 0.04453783482313156, 0.039129965007305145, 0.030786631628870964, -0.06476742774248123, -0.0017117123352363706, -0.020832234993577003, 0.032802779227495193, -0.05342502519488335, -0.030847618356347084, 0.017697671428322792, -0.043858304619789124, -0.028932876884937286, 0.01889951340854168, 0.003851463319733739, 0.005603541620075703, 0.010798650793731213, -0.07763948291540146, -0.06149861961603165, 0.013119892217218876, 0.025558579713106155, -0.03493109717965126, -0.008779148571193218, -0.031002992764115334, 0.02406449243426323, 0.019335022196173668, -0.006265666335821152, -0.04410949721932411, 0.0033029885962605476, 0.01578596606850624, -0.07439077645540237, -0.027245698496699333, 0.05793691799044609, -0.012915640138089657, -0.031353242695331573, 0.02788669802248478, -0.01842614635825157, 0.026896297931671143, 0.029219796881079674, -0.012012741528451443, 0.031439460813999176, -0.07589858025312424, 0.0037378109991550446, 0.022103389725089073, 0.006437756586819887, 0.02837926149368286, -0.03304406255483627, 0.031035656109452248, 0.02960365079343319, 0.016906924545764923, 0.02656455524265766, -0.06757506728172302, 0.0023414306342601776, 0.035691700875759125, -0.02005971223115921, 0.027888953685760498, -0.011082288809120655, -0.06104493513703346, -0.03382997587323189, -0.02263529598712921, 0.001560660544782877, 0.035616304725408554, -0.03899367153644562, 0.0025694207288324833, 0.04190921038389206, -0.016056938096880913, -0.03295068442821503, -0.08561645448207855, -0.019248954951763153, -0.027628032490611076, 0.043690286576747894, 0.030949173495173454, -0.05513259023427963, 0.03262488916516304, -0.07031711935997009, -0.06046316400170326, 0.04460975527763367, 0.05095168948173523, -0.0456618033349514, 0.04471598193049431, 0.02320043370127678, -0.011408590711653233, 0.03855808079242706, 0.05191215127706528, -0.041368138045072556, 0.02776915580034256, -0.0071532535366714, 0.032692573964595795, 0.037632327526807785, 0.005233451724052429, -0.031978074461221695, -0.011801697313785553, -0.05563913658261299, -0.044760607182979584, -0.034846942871809006, -0.013685044832527637, 0.07862260192632675 ]
ArBert/albert-base-v2-finetuned-ner-kmeans
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- widget: - text: "สวนกุหลาบเป็นโรงเรียนอะไร" context: "โรงเรียนสวนกุหลาบวิทยาลัย (Suankularb Wittayalai School) (อักษรย่อ : ส.ก. / S.K.) เป็นโรงเรียนชายล้วน ระดับชั้นมัธยมศึกษาขนาดใหญ่พิเศษ สังกัดสำนักงานเขตพื้นที่การศึกษามัธยมศึกษาเขต 1 สำนักงานคณะกรรมการการศึกษาขั้นพื้นฐาน (ชื่อเดิม: กรมสามัญศึกษา) กระทรวงศึกษาธิการ ก่อตั้งโดย พระบาทสมเด็จพระจุลจอมเกล้าเจ้าอยู่หัว ได้รับการสถาปนาขึ้นในวันที่ 8 มีนาคม พ.ศ. 2424 (ขณะนั้นนับวันที่ 1 เมษายน เป็นวันขึ้นปีใหม่ เมื่อนับอย่างสากลถือเป็น พ.ศ. 2425) โดยเป็นโรงเรียนรัฐบาลแห่งแรกของประเทศไทย" --- # wangchanberta-base-wiki-20210520-news-spm-finetune-qa Finetuning `airesearchth/wangchanberta-base-wiki-20210520-news-spm` with the training set of `iapp_wiki_qa_squad`, `thaiqa_squad`, and `nsc_qa` (removed examples which have cosine similarity with validation and test examples over 0.8; contexts of the latter two are trimmed to be around 300 `newmm` words). Benchmarks shared on [wandb](https://wandb.ai/cstorm125/wangchanberta-qa) using validation and test sets of `iapp_wiki_qa_squad`. Trained with [thai2transformers](https://github.com/vistec-AI/thai2transformers/blob/dev/scripts/downstream/train_question_answering_lm_finetuning.py). Run with: ``` export MODEL_NAME=airesearchth/wangchanberta-base-wiki-20210520-news-spm CUDA_LAUNCH_BLOCKING=1 python train_question_answering_lm_finetuning.py \ --model_name $MODEL_NAME \ --dataset_name chimera_qa \ --output_dir $MODEL_NAME-finetune-chimera_qa-model \ --log_dir $MODEL_NAME-finetune-chimera_qa-log \ --model_max_length 400 \ --pad_on_right \ --fp16 ```
[ -0.004340545739978552, -0.03271995112299919, -0.004957700148224831, 0.06031884625554085, 0.008647711016237736, 0.004828696139156818, -0.001601401250809431, -0.001524232910014689, -0.05795123055577278, 0.03197101131081581, 0.01900772750377655, 0.02044951543211937, 0.020022151991724968, 0.015035915188491344, -0.054867036640644073, -0.06078455597162247, -0.028277777135372162, -0.03532600775361061, -0.026816293597221375, -0.02756219543516636, -0.015930160880088806, 0.016770701855421066, 0.001502854167483747, -0.008550822734832764, 0.004967117216438055, 0.013682419434189796, -0.03421635553240776, 0.021036602556705475, 0.009795870631933212, -0.06552177667617798, 0.017430443316698074, -0.028410812839865685, -0.02456771954894066, -0.034663453698158264, -0.013513613492250443, -0.01841290481388569, 0.011988076381385326, -0.0006430171779356897, 0.0031958636827766895, 0.07619573920965195, -0.012642127461731434, 0.00650108652189374, 0.007188698742538691, -0.025817295536398888, 0.04745698720216751, -0.007900241762399673, -0.026404503732919693, 0.016827596351504326, 0.03715575858950615, -0.019936103373765945, -0.055121976882219315, -0.08712651580572128, -0.034821998327970505, 0.020522328093647957, 0.007481973152607679, 0.006322700530290604, -0.029962485656142235, -0.01189305167645216, 0.06054973602294922, -0.040638815611600876, -0.028817329555749893, 0.007111363112926483, -0.05950825661420822, 0.013335464522242546, 0.03477345034480095, -0.04243806377053261, 0.014525044709444046, -0.039218295365571976, 0.03401042893528938, -0.04354280233383179, 0.0931244045495987, -0.049790799617767334, 0.02307937480509281, -0.09367115050554276, 0.0049294657073915005, 0.0020071438048034906, 0.020695049315690994, 0.04890647903084755, -0.024889636784791946, 0.05882156267762184, 0.020595690235495567, 0.015437429770827293, 0.025214677676558495, -0.0021110123489052057, 0.009580930694937706, 0.037318792194128036, -0.03141789510846138, -0.014463799074292183, -0.0035493101458996534, 0.04472625255584717, -0.025306105613708496, -0.03470901772379875, -0.007894678972661495, -0.014293530955910683, -0.016623659059405327, 0.021271567791700363, 0.03733978047966957, 0.000326107838191092, 0.003574367379769683, 0.02506718970835209, 0.025113239884376526, 0.05037442222237587, -0.03374430164694786, 0.0490998812019825, -0.020613476634025574, 0.018877016380429268, -0.016952339559793472, -0.02321433648467064, -0.047404661774635315, 0.03651728108525276, 0.031233856454491615, -0.06014340743422508, -0.01651213876903057, 0.010084450244903564, 0.03379169479012489, -0.025959892198443413, 0.04047224298119545, -0.03318992629647255, -0.05189378559589386, -0.06047944724559784, 0.05815481022000313, 0.02270420640707016, -0.009411034174263477, 0.013022887520492077, -0.024815823882818222, 0.010068973526358604, -0.04065112769603729, -0.051594387739896774, 0.008754316717386246, 0.02042912133038044, -0.011426841840147972, 0.053498852998018265, 0.007854234427213669, -0.06176472827792168, 0.006896441802382469, -0.0022879806347191334, -0.07800883799791336, 0.017872311174869537, 0.003274430986493826, 0.0945172980427742, -0.0662008598446846, -0.045694977045059204, 0.00021661263599526137, 0.027492407709360123, -0.00005092164428788237, 0.0010047410614788532, 0.003018351271748543, -0.010797154158353806, -0.02555006742477417, -0.004637571517378092, 0.061774346977472305, -0.04161222279071808, 0.02425091713666916, 0.040778327733278275, 0.002283932873979211, 0.03799549490213394, -0.03516269102692604, 0.01864924654364586, 0.016015592962503433, 0.007200088817626238, -0.02622784860432148, 0.037706054747104645, -0.008556939661502838, -0.013522986322641373, -0.062120627611875534, -0.038697756826877594, -0.01705843210220337, 0.08904493600130081, -0.002257531275972724, -0.04466129094362259, -0.0396432988345623, 0.017232734709978104, 0.06194887310266495, 0.011408696882426739, -0.023455236107110977, 0.04978218674659729, 0.04869116097688675, 0.05770498514175415, -0.012273631989955902, 0.0293045062571764, 0.005399638786911964, -0.04166970029473305, -0.02652719058096409, 0.0007921174401417375, 0.002688302192837, -0.039043378084897995, 0.03836441785097122, 0.041228387504816055, -0.015925399959087372, -0.0223607886582613, -0.018011007457971573, 0.07120303809642792, -0.015078443102538586, 0.0013436977751553059, 0.003472121898084879, 0.00817834585905075, -0.01574360765516758, 0.06444992125034332, -0.022976024076342583, 0.0010780437150970101, -0.031003283336758614, -0.05003802850842476, 0.04433612897992134, 0.0004913433222100139, 0.007276779972016811, 0.055651746690273285, -0.002973533933982253, 0.08779318630695343, -0.02174493856728077, 0.015988174825906754, -0.039665523916482925, -0.017277495935559273, 0.007995187304913998, 0.05588957667350769, 0.015484812669456005, 0.05085855349898338, -0.007714968174695969, -0.02455367147922516, 0.03245355933904648, 0.06775462627410889, 0.06119527667760849, 0.038176313042640686, -0.010335407219827175, 0.021095359697937965, 0.026076121255755424, 0.06662170588970184, -0.05860752984881401, -0.023092985153198242, 0.007301622070372105, 0.022588711231946945, -0.0181041918694973, -0.002281870925799012, -0.0010965467663481832, -0.0009918713476508856, -0.04108484089374542, -0.08602549880743027, 0.049288492649793625, 0.005735570564866066, 0.02758556790649891, 0.017326291650533676, 0.015916114673018456, 0.021895578131079674, 0.04195920750498772, 0.005072671454399824, -0.01449566800147295, -0.03658626601099968, -0.012555154040455818, 0.01892065815627575, 0.03658784553408623, -0.05865216255187988, 0.017942672595381737, -0.0074470918625593185, 0.03251395374536514, 0.04196285828948021, -0.04372609779238701, 0.03174065798521042, 0.038690391927957535, 0.013440742157399654, -0.03153059631586075, 0.025324489921331406, 0.02917664498090744, 0.03413040563464165, 0.08782701194286346, 0.014479266479611397, 0.0382150262594223, 0.019169727340340614, 0.023448912426829338, 0.06614953279495239, 0.0069191912189126015, 0.009998578578233719, 0.01438454631716013, 0.07024257630109787, 0.0012993067502975464, 0.006357089150696993, 0.04214327409863472, -0.05880538001656532, 0.014410474337637424, -0.031036706641316414, 0.019119612872600555, -0.028858155012130737, 0.0004996687057428062, 0.024727197363972664, 0.01724165864288807, 0.0006814042571932077, 0.01766137406229973, -0.02998482435941696, -0.010051757097244263, 0.016577335074543953, -0.04583266004920006, 0.016239812597632408, -0.02592494897544384, -0.009645987302064896, 0.015376757830381393, -0.07943218946456909, -0.03355076164007187, 0.013932792469859123, -0.029397903010249138, 0.009149610064923763, -0.07865609228610992, 0.0007793466211296618, -0.062468022108078, -0.054485615342855453, 0.037005070596933365, 0.02928365021944046, -0.011447259224951267, -0.0280753206461668, 0.014968058094382286, -0.056978605687618256, -0.02868950553238392, -0.03577516973018646, -0.03867155313491821, -0.031977329403162, -0.056251972913742065, 0.04904196038842201, 0.03131699934601784, 0.041606973856687546, 0.012380959466099739, 0.011030985042452812, -0.02284700982272625, -0.009571002796292305, 0.04366041347384453, 0.03625170513987541, -0.013856147415935993, -0.03382356837391853, 0.03855973109602928, -0.0055638025514781475, 0.02176574058830738, -0.016939543187618256, -0.01248613465577364, 0.0851469337940216, 0.06564042717218399, 0.011842709966003895, 0.0341869592666626, -0.019789624959230423, -0.046975236386060715, -0.026120217517018318, -0.04153291881084442, -0.036110781133174896, -0.03500174731016159, -0.056946415454149246, -0.05521078407764435, -0.0019670557230710983, -0.027357706800103188, 0.012467960827052593, -0.0007163987029343843, -0.00865753460675478, 0.033557239919900894, 0.07035145908594131, 0.04383498802781105, 0.0233079195022583, -0.026091234758496284, -0.030873585492372513, 0.06227651610970497, -0.010335160419344902, 0.014642132446169853, -0.0636603832244873, -0.0268071498721838, 0.029797304421663284, 0.013324324041604996, -0.007566408719867468, -0.038876086473464966, 0.07496904581785202, -0.0073521435260772705, -0.017429843544960022, 0.016767999157309532, -0.016222700476646423, -0.03873322159051895, -0.0036270050331950188, -0.015446190722286701, -0.02105020172894001, -0.05347893387079239, -0.004153150133788586, -0.018724845722317696, 0.04375403746962547, -0.0740514025092125, -0.04290486499667168, -0.017295440658926964, 0.004937237594276667, 0.0066354055888950825, -0.024954745545983315, -0.04312333092093468, -0.017742525786161423, -0.028520677238702774, -0.034034594893455505, 0.03933833912014961, -0.007757695857435465, -0.020222298800945282, 0.042514100670814514, 0.023374371230602264, -0.014134044758975506, 0.03687568008899689, 0.021100712940096855, 0.04137783497571945, 0.004155606962740421, -0.0403081513941288, 0.015805771574378014, -0.022414246574044228, 0.02337460219860077, 0.019247140735387802, -0.010235532186925411, -0.027468256652355194, -0.07555670291185379, -0.030770765617489815, -0.0008943802677094936, -0.038254931569099426, -0.039092835038900375, 0.04080093652009964, -0.020856959745287895, -0.023747162893414497, 0.009638488292694092, 0.02502252347767353, 0.04781445115804672, -0.05137866735458374, 0.06337214261293411, 0.013591576367616653, 0.04832907393574715, -0.04949742928147316, -0.00034241308458149433, -0.036553218960762024, -0.00557317491620779, 0.01932944729924202, 0.058300748467445374, 0.023040886968374252, 0.053331408649683, 0.0638202652335167, 0.03965069726109505, -0.0439683198928833, 0.043916329741477966, 0.07120081782341003, -0.010689187794923782, -0.035232432186603546, 0.0037815289106220007, -0.016666173934936523, -0.020716987550258636, -0.00999329425394535, -0.06310121715068817, 0.05254218727350235, 0.039172857999801636, -0.002784283831715584, 0.011092247441411018, -0.012347221374511719, -0.0454469695687294, -0.04283108562231064, -0.04072711244225502, 0.015935616567730904, -0.02786055952310562, -0.020960314199328423, 0.029093703255057335, 0.050375957041978836, 0.018877968192100525, 0.044668711721897125, 0.058659397065639496, 0.003625743091106415, -0.03601099178195, 0.04620274528861046, 0.03895985335111618, -0.07411976158618927, -0.07558488100767136, -0.02950265072286129, 0.03469964489340782, 0.029044775292277336, -0.027224477380514145, -0.09584268182516098, 0.03492411971092224, 0.047396522015333176, -0.061479952186346054, 0.058370865881443024, 0.004329240880906582, 0.011813036166131496, 0.0425623320043087, -0.013489811681210995, 0.0327581912279129, -0.007359764538705349, 0.011258911341428757, -0.01402452401816845, 0.08174407482147217, -0.04210111126303673, -0.03980465605854988, -0.062161803245544434, 0.03602225333452225, 0.03303065896034241, 0.03973518684506416, 0.021119458600878716, -0.014753278344869614, -0.041755832731723785, 0.0045625073835253716, 0.024155674502253532, -0.03747145086526871, 0.021191144362092018, 0.040104251354932785, 0.0397614911198616, -0.0690016970038414, -0.03537878021597862, -0.015767237171530724, -0.0001431798009434715, 0.05333631485700607, -0.022896774113178253, -0.026960859075188637, -0.062246549874544144, 0.03898671269416809, -0.00992809422314167, -0.018844198435544968, -0.09153133630752563, 0.04316065087914467, 0.008363141678273678, -0.03312668576836586, 0.08230374753475189, 0.03398047387599945, 0.024252336472272873, 0.04738142713904381, 0.003067522309720516, 0.018705544993281364, -0.04173138737678528, 0.04836846888065338, -0.037019357085227966, -0.015443467535078526, 0.017193563282489777, -0.042456213384866714, -0.004415056202560663, -0.023219766095280647, -0.02578813210129738, -0.03897418454289436, -0.027675418183207512, 0.05542368069291115, 0.0060186260379850864, 0.0032891270238906145, -0.021230556070804596, 0.028014734387397766, -0.042524900287389755, -0.021293606609106064, -0.018002230674028397, -0.02862907014787197, -0.04434996098279953, -0.03171621635556221, 0.014550154097378254, 0.004071184899657965, 0.014314834028482437, 0.011222532019019127, 0.006890450604259968, 0.022824684157967567, 0.007087742444127798, -0.04532299563288689, 0.023220950737595558, 0.004337475635111332, -0.030967094004154205, -0.04454316198825836, 0.012261126190423965, 0.011256907135248184, 0.010323896072804928, -0.017736850306391716, 0.021992770954966545, 0.016506565734744072, -0.028972549363970757, -0.01568455435335636, 0.0030160401947796345, 0.0391172356903553, -0.0767260417342186, -0.047339100390672684, 0.004421356599777937, -0.043558020144701004, 0.045817628502845764, -0.013814040459692478, -0.028081584721803665, 0.011306817643344402, -0.00228681368753314, 0.009161585941910744, 0.011510415002703667, -0.03564199432730675, 0.03674978390336037, -0.012007838115096092, 0.009448321536183357, -0.058082133531570435, 0.022384541109204292, -0.029597364366054535, 0.008169533684849739, -0.05339254438877106, -0.001016939408145845, -0.036401089280843735, 0.0585470125079155, -0.008214687928557396, -0.009370336309075356, -0.017794834449887276, 0.023227117955684662, -0.05121389776468277, 0.028411393985152245, -0.03190901502966881, 0.028180403634905815, -0.044103462249040604, 0.04224574193358421, -0.06437873840332031, -0.006690648850053549, -0.023688601329922676, -0.013475574553012848, -0.03918415680527687, -0.0008410630980506539, -0.04996386170387268, -0.032136544585227966, -0.003226475091651082, 0.026729470118880272, 0.03372056037187576, 0.029481077566742897, 0.0031374224927276373, 0.01576494798064232, 0.006201322190463543, -0.04566008597612381, -0.00894116424024105, -0.01805659383535385, -0.0009121690527535975, -0.0321817547082901, 0.06366776674985886, 0.03451032564043999, -0.05890943109989166, -0.04911145195364952, 0.031562287360429764, 0.04049666225910187, 0.009668421931564808, 0.015366734936833382, 0.002001485787332058, 0.05406633019447327, 0.039380934089422226, -0.043015334755182266, -0.007130747195333242, -0.019597060978412628, -0.027878288179636, 0.03947090357542038, -0.009392326697707176, 0.013111012056469917, -0.01877453736960888, -0.029531871899962425, -0.03035053424537182, 0.0386388823390007, 0.01548610720783472, 0.026748478412628174, 0.021513309329748154, -0.042247068136930466, 0.04139288514852524, 0.005814774893224239, -0.04721685126423836, 0.007632112596184015, -0.003954325336962938, -0.04137539491057396, 0.04510897025465965, -0.0010125916451215744, -0.0063866740092635155, 0.042406585067510605, 0.02468838356435299, -0.01720404624938965, 0.07109300792217255, -0.03803355619311333, 0.017598118633031845, 0.04817933589220047, -0.060128625482320786, 0.0025144056417047977, -0.034393347799777985, 0.07211483269929886, -0.0689675584435463, 0.05257441848516464, 0.04196493700146675, 0.014095500111579895, 0.04027943313121796, -0.017750516533851624, -0.04291140288114548, 0.020531171932816505, -0.03804619610309601, 0.08392806351184845, 0.00959158968180418, -0.0519535206258297, 0.06994132697582245, 0.03163687512278557, -0.06941842287778854, 0.028387269005179405, 0.03749116137623787, 0.048158928751945496, 0.04145559296011925, 0.029480578377842903, -0.06405356526374817, -0.002523820148780942, -0.019927233457565308, 0.03547711297869682, -0.05297642573714256, -0.029546182602643967, 0.01467550452798605, -0.04379400983452797, -0.030071066692471504, 0.019003132358193398, 0.003713603364303708, 0.008171175606548786, 0.009291007183492184, -0.07716082781553268, -0.05970945954322815, 0.012140830047428608, 0.025417514145374298, -0.03596695512533188, -0.012526667676866055, -0.02963283099234104, 0.02186080999672413, 0.018399683758616447, -0.004872956778854132, -0.04519940912723541, 0.003347532358020544, 0.016427427530288696, -0.0755569338798523, -0.02598799765110016, 0.05785289406776428, -0.012414821423590183, -0.03028985857963562, 0.029509661719202995, -0.018080875277519226, 0.028734935447573662, 0.028507284820079803, -0.008906095288693905, 0.03218265250325203, -0.07676808536052704, 0.0029838664922863245, 0.023064952343702316, 0.006229781080037355, 0.028549354523420334, -0.0332171805202961, 0.030532220378518105, 0.031260933727025986, 0.015302341431379318, 0.02860495075583458, -0.06886401772499084, -0.0007662122370675206, 0.035652875900268555, -0.020768439397215843, 0.024958405643701553, -0.009290806017816067, -0.06352324783802032, -0.03291599079966545, -0.021823441609740257, 0.004751075990498066, 0.035282500088214874, -0.03701331838965416, 0.0014274991117417812, 0.0423414371907711, -0.016058938577771187, -0.033700644969940186, -0.0882948786020279, -0.01891864463686943, -0.028259722515940666, 0.04227077215909958, 0.031278543174266815, -0.05388818308711052, 0.0328136682510376, -0.07240313291549683, -0.060944292694330215, 0.04382968321442604, 0.049918729811906815, -0.04763245955109596, 0.04351513087749481, 0.023627474904060364, -0.012726085260510445, 0.03708400949835777, 0.05051472410559654, -0.04079188033938408, 0.026780150830745697, -0.007387296296656132, 0.03266090154647827, 0.03971659019589424, 0.005375799722969532, -0.02828078716993332, -0.012219984084367752, -0.05729111284017563, -0.04320446774363518, -0.03171638399362564, -0.012342425994575024, 0.0780467838048935 ]
ArBert/roberta-base-finetuned-ner-gmm
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
# Introduction This repo contains pre-trained model using <https://github.com/k2-fsa/icefall/pull/213>. It is trained on train-clean-100 subset of the LibriSpeech dataset. Also, it uses the `S` subset from GigaSpeech as extra training data. ## How to clone this repo ``` sudo apt-get install git-lfs git clone https://huggingface.co/csukuangfj/icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21 cd icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21 git lfs pull ``` **Catuion**: You have to run `git lfs pull`. Otherwise, you will be SAD later. The model in this repo is trained using the commit `2332ba312d7ce72f08c7bac1e3312f7e3dd722dc`. You can use ``` git clone https://github.com/k2-fsa/icefall cd icefall git checkout 2332ba312d7ce72f08c7bac1e3312f7e3dd722dc ``` to download `icefall`. You can find the model information by visiting <https://github.com/k2-fsa/icefall/blob/2332ba312d7ce72f08c7bac1e3312f7e3dd722dc/egs/librispeech/ASR/transducer_stateless_multi_datasets/train.py#L198>. In short, the encoder is a Conformer model with 8 heads, 12 encoder layers, 512-dim attention, 2048-dim feedforward; the decoder contains a 1024-dim embedding layer and a Conv1d with kernel size 2. The decoder architecture is modified from [Rnn-Transducer with Stateless Prediction Network](https://ieeexplore.ieee.org/document/9054419). A Conv1d layer is placed right after the input embedding layer. ----- ## Description This repo provides pre-trained transducer Conformer model for the LibriSpeech dataset using [icefall][icefall]. There are no RNNs in the decoder. The decoder is stateless and contains only an embedding layer and a Conv1d. The commands for training are: ``` cd egs/librispeech/ASR/ ./prepare.sh ./prepare_giga_speech.sh export CUDA_VISIBLE_DEVICES="0,1" ./transducer_stateless_multi_datasets/train.py \ --world-size 2 \ --num-epochs 60 \ --start-epoch 0 \ --exp-dir transducer_stateless_multi_datasets/exp-100-2 \ --full-libri 0 \ --max-duration 300 \ --lr-factor 1 \ --bpe-model data/lang_bpe_500/bpe.model \ --modified-transducer-prob 0.25 --giga-prob 0.2 ``` The tensorboard training log can be found at <https://tensorboard.dev/experiment/qUEKzMnrTZmOz1EXPda9RA/> The command for decoding is: ``` epoch=57 avg=17 ## greedy search for epoch in 57; do for avg in 17; do for sym in 1 2 3; do ./transducer_stateless_multi_datasets/decode.py \ --epoch $epoch \ --avg $avg \ --exp-dir transducer_stateless_multi_datasets/exp-100-2 \ --bpe-model ./data/lang_bpe_500/bpe.model \ --max-duration 100 \ --context-size 2 \ --max-sym-per-frame $sym done done done ## modified beam search epoch=57 avg=17 ./transducer_stateless_multi_datasets/decode.py \ --epoch $epoch \ --avg $avg \ --exp-dir transducer_stateless_multi_datasets/exp-100-2 \ --bpe-model ./data/lang_bpe_500/bpe.model \ --max-duration 100 \ --context-size 2 \ --decoding-method modified_beam_search \ --beam-size 4 ``` You can find the decoding log for the above command in this repo (in the folder `log`). The WERs for the test datasets are | | test-clean | test-other | comment | |-------------------------------------|------------|------------|------------------------------------------| | greedy search (max sym per frame 1) | 6.34 | 16.7 | --epoch 57, --avg 17, --max-duration 100 | | greedy search (max sym per frame 2) | 6.34 | 16.7 | --epoch 57, --avg 17, --max-duration 100 | | greedy search (max sym per frame 3) | 6.34 | 16.7 | --epoch 57, --avg 17, --max-duration 100 | | modified beam search (beam size 4) | 6.31 | 16.3 | --epoch 57, --avg 17, --max-duration 100 | # File description - [log][log], this directory contains the decoding log and decoding results - [test_wavs][test_wavs], this directory contains wave files for testing the pre-trained model - [data][data], this directory contains files generated by [prepare.sh][prepare] - [exp][exp], this directory contains only one file: `preprained.pt` `exp/pretrained.pt` is generated by the following command: ```bash ./transducer_stateless_multi_datasets/export.py \ --epoch 57 \ --avg 17 \ --bpe-model data/lang_bpe_500/bpe.model \ --exp-dir transducer_stateless_multi_datasets/exp-full ``` **HINT**: To use `pretrained.pt` to compute the WER for test-clean and test-other, just do the following: ``` cp icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21/exp/pretrained.pt \ /path/to/icefall/egs/librispeech/ASR/transducer_stateless_multi_datasets/exp/epoch-999.pt ``` and pass `--epoch 999 --avg 1` to `transducer_stateless_multi_datasets/decode.py`. [icefall]: https://github.com/k2-fsa/icefall [prepare]: https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/prepare.sh [exp]: https://huggingface.co/csukuangfj/icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21/tree/main/exp [data]: https://huggingface.co/csukuangfj/icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21/tree/main/data [test_wavs]: https://huggingface.co/csukuangfj/icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21/tree/main/test_wavs [log]: https://huggingface.co/csukuangfj/icefall-asr-librispeech-100h-transducer-stateless-multi-datasets-bpe-500-2022-02-21/tree/main/log [icefall]: https://github.com/k2-fsa/icefall
[ -0.043619394302368164, -0.024854954332113266, -0.017071804031729698, 0.03636600077152252, 0.06373074650764465, -0.011235371232032776, -0.007271303795278072, -0.014382540248334408, -0.07126018404960632, 0.05590732768177986, 0.0038229061756283045, 0.006569265853613615, 0.030910711735486984, 0.04080132022500038, -0.03727780282497406, -0.04395522549748421, -0.01638837158679962, -0.007418534718453884, -0.040819086134433746, -0.011558573693037033, -0.01682698167860508, 0.01606147363781929, -0.014139283448457718, 0.03983049839735031, 0.0017160761635750532, 0.029384072870016098, 0.0015201481292024255, -0.008622519671916962, 0.02197389118373394, -0.04314221441745758, -0.001904719159938395, -0.04433290660381317, -0.032888367772102356, -0.03330771625041962, -0.02782660536468029, -0.0043486240319907665, -0.01779886893928051, 0.028584139421582222, 0.031475018709897995, 0.01764816604554653, -0.01984759233891964, 0.007243010681122541, -0.030600348487496376, 0.008886115625500679, 0.047280967235565186, -0.007250899914652109, -0.0392608605325222, -0.02872619219124317, 0.022103480994701385, -0.042344242334365845, -0.050977353006601334, -0.03840121626853943, -0.019223527982831, 0.031348153948783875, -0.005314048379659653, -0.01582593098282814, -0.07224911451339722, -0.01593816839158535, 0.08537378162145615, -0.0441012941300869, -0.02662019245326519, 0.011267934925854206, -0.06451545655727386, 0.014361678622663021, 0.033383965492248535, -0.015420671552419662, 0.0009177381289191544, -0.05098671466112137, 0.020718159154057503, -0.012173795141279697, 0.05327402800321579, -0.0554814375936985, 0.02845420315861702, -0.08778400719165802, -0.0012876610271632671, 0.006659029982984066, 0.03324392810463905, 0.05983427166938782, -0.029190048575401306, 0.08297545462846756, 0.009750970639288425, -0.015712035819888115, 0.015708815306425095, 0.021257486194372177, 0.018382538110017776, 0.05299532413482666, -0.05337272584438324, -0.00562839163467288, 0.011965240351855755, 0.046757206320762634, -0.06282470375299454, -0.05555444955825806, -0.0591898038983345, -0.027469314634799957, -0.0012811945052817464, 0.03825130686163902, 0.05126412585377693, -0.013892937451601028, 0.03429267182946205, 0.027450427412986755, 0.032096922397613525, 0.017028842121362686, -0.03065665438771248, 0.066034235060215, 0.025030460208654404, -0.02405979111790657, -0.009416034445166588, -0.0344078503549099, -0.06753946840763092, 0.01743755117058754, 0.0343589186668396, -0.009565530344843864, -0.04076063260436058, 0.036854200065135956, 0.01725461520254612, -0.020126137882471085, 0.04723313823342323, -0.02437022514641285, -0.06371791660785675, -0.06199021264910698, 0.031034646555781364, 0.015476711094379425, -0.010396724566817284, 0.003950689919292927, -0.0627545714378357, 0.039751168340444565, -0.036792103201150894, -0.02884823828935623, -0.03253469616174698, -0.003745568683370948, 0.023232953622937202, 0.05554511398077011, 0.025609547272324562, -0.04879654571413994, 0.01044705230742693, 0.005390545818954706, -0.10111330449581146, 0.005020359996706247, 0.00347239151597023, 0.11180061846971512, -0.055204931646585464, -0.04430624097585678, -0.001649187644943595, -0.0075663309544324875, -0.01864946447312832, 0.016957104206085205, 0.017355384305119514, -0.015491538681089878, -0.04077539220452309, -0.020541556179523468, 0.06355424225330353, -0.053800128400325775, -0.012487787753343582, 0.07059968262910843, -0.02936471812427044, 0.03665341064333916, -0.023107917979359627, 0.0024676083121448755, 0.004939001519232988, -0.018791498616337776, -0.0028174654580652714, 0.04074197635054588, -0.022946180775761604, -0.022736459970474243, -0.04459810629487038, -0.054749831557273865, -0.001563175581395626, 0.08905478566884995, -0.012321120128035545, -0.0008491876069456339, -0.029958708211779594, 0.011207878589630127, 0.03822457417845726, 0.031616948544979095, -0.04971088841557503, 0.037150681018829346, 0.05703747645020485, 0.0416945219039917, -0.016701309010386467, 0.06708693504333496, 0.029982922598719597, -0.043595414608716965, -0.023346826434135437, 0.02804945781826973, 0.007489056326448917, -0.01541905663907528, 0.008693247102200985, 0.02194192260503769, 0.008250836282968521, -0.017636548727750778, -0.05754752829670906, 0.06968895345926285, -0.0014239648589864373, -0.03191904351115227, 0.004440415650606155, -0.0004427300882525742, -0.05128488317131996, 0.025234732776880264, -0.007167833857238293, -0.021800093352794647, -0.022531241178512573, -0.05348631739616394, -0.00707278260961175, 0.012534303590655327, 0.024647098034620285, 0.03476550802588463, 0.01916290819644928, 0.09921696782112122, -0.02284916304051876, 0.0228438600897789, -0.03983291611075401, -0.052760422229766846, 0.009156237356364727, 0.03463221341371536, 0.012953588739037514, 0.07752882689237595, -0.011684932745993137, -0.039346374571323395, 0.00807702075690031, 0.07323304563760757, 0.03781038150191307, 0.01568853296339512, -0.011759288609027863, -0.014782009646296501, 0.01706286147236824, 0.07131853699684143, -0.03989947959780693, -0.015090490691363811, 0.03916728124022484, 0.03943079337477684, 0.01417689397931099, 0.013985548168420792, -0.02037888765335083, 0.05543170124292374, -0.03628489747643471, -0.08816991746425629, 0.05110210180282593, 0.06442125141620636, 0.02539467066526413, 0.022103095427155495, 0.010835740715265274, 0.023277807980775833, 0.008712942712008953, 0.016654908657073975, 0.017286663874983788, -0.0415177047252655, 0.0290447399020195, 0.026537613943219185, 0.03928304836153984, -0.043150290846824646, 0.034060072153806686, 0.0027497070841491222, 0.006198988761752844, 0.018395090475678444, -0.028112472966313362, 0.045482005923986435, 0.04906938970088959, 0.005952843464910984, -0.04474709555506706, 0.031445324420928955, 0.020420460030436516, 0.06491665542125702, 0.06965170055627823, -0.008273767307400703, 0.07767003774642944, -0.0005981893045827746, 0.04577768221497536, 0.07002522051334381, 0.013466261327266693, 0.013089199550449848, 0.017781227827072144, 0.060175225138664246, 0.010336793959140778, -0.014779504388570786, 0.07749617099761963, -0.05825376138091087, 0.022291844710707664, -0.017427891492843628, -0.027906933799386024, -0.018715467303991318, -0.008100930601358414, 0.024965988472104073, 0.03582763671875, -0.01826377958059311, 0.0010941141517832875, -0.002447185106575489, -0.026112280786037445, 0.026279844343662262, 0.005815598648041487, -0.014122823253273964, 0.005720377434045076, -0.021364660933613777, 0.013377977535128593, -0.08340736478567123, -0.08568380028009415, -0.015643440186977386, -0.004858919885009527, 0.0010574026964604855, -0.06969533115625381, -0.021820111200213432, -0.08488864451646805, 0.017386354506015778, 0.019269095733761787, 0.030726809054613113, 0.016278356313705444, -0.02917446941137314, 0.013448604382574558, -0.03626536577939987, -0.04190777614712715, -0.027720913290977478, -0.05074523389339447, -0.02290855348110199, -0.054839327931404114, 0.0259801484644413, 0.019213620573282242, 0.014573980122804642, 0.000057648325309855863, -0.0111549012362957, -0.028829727321863174, -0.02753809466958046, 0.08117618411779404, 0.03915472328662872, -0.041353825479745865, -0.06264019012451172, 0.05539005994796753, -0.02260472998023033, 0.004577314481139183, -0.03212513402104378, -0.019833942875266075, 0.06149263679981232, 0.07159500569105148, 0.01132290344685316, 0.032483458518981934, -0.013957366347312927, -0.056535229086875916, -0.04170868173241615, -0.027149954810738564, -0.02648112364113331, -0.02072751335799694, -0.031187666580080986, -0.03427155315876007, -0.030758071690797806, -0.04002474248409271, -0.0064163110218942165, -0.025034716352820396, -0.010543683543801308, 0.04788217693567276, 0.048547156155109406, 0.03202078118920326, 0.05957242101430893, -0.04753600060939789, -0.045847829431295395, 0.07028327882289886, 0.017159827053546906, -0.0019595599733293056, -0.06866737455129623, -0.025000348687171936, 0.02313111536204815, 0.00972529873251915, -0.015454689972102642, -0.03649592772126198, 0.07309023290872574, 0.01392693817615509, -0.0018745952984318137, 0.0066740307956933975, -0.024790029972791672, 0.0036687019746750593, -0.013354658149182796, -0.0221913643181324, -0.02856307663023472, -0.05284542217850685, -0.02238570898771286, -0.0012803118443116546, 0.026171807199716568, -0.05730587616562843, -0.05100123584270477, -0.022953888401389122, 0.03921991214156151, -0.004342497792094946, -0.0232748594135046, -0.04181990772485733, 0.005613392684608698, -0.047678060829639435, -0.010045252740383148, 0.023855457082390785, -0.005123532842844725, 0.025127369910478592, 0.059610411524772644, 0.01760491356253624, -0.0010593452025204897, 0.06314639002084732, 0.03068317100405693, 0.06123322620987892, 0.011616204865276814, -0.06244227662682533, 0.031044570729136467, -0.018882423639297485, 0.03532811999320984, -0.021676531061530113, -0.029001476243138313, -0.015599627047777176, -0.06602326035499573, -0.04377543181180954, 0.00020813476294279099, -0.04180911183357239, -0.00860794261097908, 0.010708337649703026, -0.0020012615714222193, -0.017045779153704643, -0.0014951212797313929, 0.003440499771386385, 0.050176527351140976, -0.035327836871147156, 0.03160548582673073, 0.004969285801053047, 0.026550523936748505, -0.064615897834301, 0.031671132892370224, -0.04071930795907974, -0.007758305873721838, 0.013482635840773582, 0.05506585165858269, 0.008411160670220852, 0.07198246568441391, 0.05039580166339874, 0.021217629313468933, -0.051518481224775314, 0.0579926036298275, 0.015016082674264908, -0.016834240406751633, -0.057822395116090775, 0.012265368364751339, -0.022073762491345406, -0.022995004430413246, 0.017598282545804977, -0.0039042781572788954, 0.03594458848237991, 0.03730270266532898, -0.0013249247567728162, -0.0012409526389092207, 0.010176186449825764, -0.0036156128626316786, -0.010163425467908382, -0.030963104218244553, -0.014837908558547497, 0.0237832460552454, -0.03096831776201725, 0.03474835678935051, 0.023747537285089493, 0.04056839644908905, 0.04865628108382225, 0.027227865532040596, -0.0332939438521862, -0.03227420523762703, 0.04023345187306404, 0.0011678922455757856, -0.05976752191781998, -0.05849285051226616, -0.001166716916486621, 0.03655510023236275, 0.04371442645788193, -0.010910549201071262, -0.06431926786899567, 0.009578250348567963, 0.049100812524557114, -0.05342017859220505, 0.060767125338315964, -0.02470388449728489, 0.015495028346776962, 0.05467464402318001, -0.0035794207360595465, 0.023141156882047653, -0.01349374745041132, 0.018187297508120537, 0.008398594334721565, 0.042555056512355804, -0.006803725380450487, -0.04677276313304901, -0.04930828884243965, 0.01860674098134041, 0.036134231835603714, 0.00974353402853012, 0.05492917075753212, -0.03760749474167824, -0.05589993670582771, -0.01305375061929226, 0.029570050537586212, -0.026312902569770813, 0.05003999546170235, 0.04876374080777168, 0.030039191246032715, -0.06090901419520378, -0.035053323954343796, -0.007734064012765884, 0.001115070073865354, 0.024710629135370255, -0.008396225981414318, -0.03316549211740494, -0.034030914306640625, 0.03781617805361748, -0.024493101984262466, -0.02290150709450245, -0.08237123489379883, 0.01689077727496624, -0.021315593272447586, -0.017247777432203293, 0.05290127173066139, 0.04075346887111664, 0.0489509180188179, 0.05269058048725128, 0.012023771181702614, 0.01848592236638069, -0.03712654113769531, 0.05298170819878578, -0.022934867069125175, -0.006321620661765337, -0.010014614090323448, -0.00483747711405158, -0.023654058575630188, -0.04210365563631058, -0.034720826894044876, -0.034959226846694946, -0.02915336564183235, 0.023768680170178413, -0.007393906824290752, -0.007661144714802504, 0.016485681757330894, 0.05223018676042557, -0.0015254843747243285, -0.03823612257838249, -0.03360803797841072, -0.01650412380695343, -0.06413622945547104, -0.05384465306997299, 0.01322476752102375, 0.01872324012219906, 0.009971982799470425, 0.023815644904971123, 0.02092084474861622, 0.013894375413656235, 0.0008503533317707479, -0.02052881009876728, 0.013201274909079075, -0.005475431215018034, -0.06418285518884659, -0.03808033838868141, 0.028567178174853325, 0.01744435727596283, 0.044259704649448395, -0.012789571657776833, 0.01267182920128107, -0.02575303055346012, -0.03947129100561142, -0.02083526737987995, 0.003240556688979268, 0.03674041107296944, -0.06705234944820404, -0.016768310219049454, -0.014538410119712353, -0.04373771324753761, 0.019641486927866936, 0.007899453863501549, -0.02289322391152382, 0.007369807455688715, 0.011947483755648136, 0.037694305181503296, -0.02681327424943447, -0.03539199382066727, 0.013207720592617989, -0.02379261516034603, 0.020581642165780067, -0.044778015464544296, 0.025755109265446663, -0.031415656208992004, 0.03225768730044365, -0.002898601582273841, 0.01464578602463007, -0.051048945635557175, 0.047444380819797516, -0.0191687922924757, -0.025919506326317787, -0.008449206128716469, 0.006076205056160688, -0.02447054162621498, 0.05329648032784462, -0.0013955979375168681, 0.02207089029252529, -0.057451266795396805, 0.04476948827505112, -0.03771383315324783, 0.00701852235943079, -0.0314859040081501, -0.011967786587774754, -0.030043592676520348, -0.05803590640425682, -0.013525791466236115, -0.04688403010368347, 0.03194369003176689, 0.038733646273612976, 0.03139658272266388, 0.033751677721738815, -0.005752840545028448, -0.01615694910287857, -0.013205459341406822, -0.050145041197538376, -0.044574275612831116, 0.004492560867220163, 0.05076693743467331, -0.010318366810679436, 0.0496157668530941, 0.04776972159743309, -0.08737131953239441, -0.06299789249897003, 0.03277333080768585, 0.02445404604077339, 0.016405224800109863, 0.002387497341260314, 0.026935573667287827, 0.0473775714635849, 0.02765924483537674, -0.06066146120429039, 0.0028632956091314554, 0.0010763155296444893, -0.007895994931459427, 0.014821287244558334, 0.009790063835680485, -0.001276496797800064, 0.010821188800036907, -0.021408725529909134, -0.03318910300731659, 0.0373564213514328, 0.02439187653362751, 0.037127893418073654, 0.0005317179602570832, -0.05157646909356117, 0.003989528398960829, -0.01160432118922472, -0.026045864447951317, 0.016624080017209053, 0.00437819492071867, -0.01991742104291916, 0.06784166395664215, -0.0029398135375231504, 0.012336053885519505, 0.043232716619968414, 0.02403966337442398, -0.04881099984049797, 0.07318498939275742, -0.045192644000053406, 0.023937471210956573, 0.042308758944272995, -0.05109472572803497, -0.011795761063694954, -0.049700502306222916, 0.07551403343677521, -0.06741442531347275, 0.06086062267422676, 0.037775736302137375, 0.005588054656982422, 0.03125019744038582, -0.025695454329252243, -0.058544766157865524, 0.020324138924479485, -0.04575672000646591, 0.07107629626989365, 0.01632436364889145, -0.06885229051113129, 0.07295060157775879, 0.017010580748319626, -0.09810227155685425, 0.038532555103302, 0.01170356571674347, 0.010079446248710155, 0.032305747270584106, 0.042945560067892075, -0.06993415206670761, -0.0020850340370088816, -0.0469263456761837, 0.01922467164695263, -0.05734490975737572, -0.007297190837562084, 0.023670876398682594, -0.030680259689688683, -0.014130044728517532, 0.007413120474666357, -0.020835481584072113, -0.019740812480449677, 0.03475251421332359, -0.06274284422397614, -0.032950591295957565, -0.014030709862709045, 0.02574075385928154, -0.005968808196485043, -0.005423323251307011, -0.009931701235473156, 0.03573288023471832, 0.02143479324877262, 0.02472321316599846, -0.02543492242693901, 0.000544235110282898, 0.030810080468654633, -0.04920557886362076, -0.04167510196566582, 0.04531196504831314, -0.011545727960765362, -0.04320385307073593, 0.04252546280622482, 0.003433450823649764, 0.037864308804273605, 0.012699633836746216, 0.010329803451895714, 0.043055132031440735, -0.03204866126179695, -0.02477492019534111, 0.0026428508572280407, 0.0068913232535123825, 0.011853320524096489, -0.020296288654208183, 0.007135293446481228, 0.028844986110925674, -0.002890590578317642, 0.017283793538808823, -0.035600241273641586, 0.01694577746093273, 0.032892219722270966, -0.032800156623125076, 0.015158998779952526, -0.0006016466650180519, -0.04516170918941498, -0.013437964022159576, -0.0071611483581364155, -0.017685087397694588, 0.03192431479692459, -0.04555289447307587, 0.010964002460241318, 0.011017628945410252, -0.005766490940004587, -0.045555632561445236, -0.06737662851810455, -0.024116525426506996, -0.019357668235898018, 0.04282873868942261, 0.04012688621878624, -0.018143055960536003, 0.017283333465456963, -0.046762071549892426, -0.05759475752711296, 0.036549732089042664, 0.0427016019821167, -0.010242102667689323, 0.06969326734542847, 0.020226605236530304, -0.022018900141119957, 0.016201354563236237, 0.027895435690879822, -0.04846572503447533, 0.015269681811332703, 0.009706455282866955, 0.0163996871560812, 0.01924658566713333, 0.016071278601884842, -0.022559355944395065, -0.040859732776880264, -0.052873075008392334, -0.031718213111162186, -0.05296356976032257, -0.003561627119779587, 0.037012819200754166 ]
Ayham/bert_gpt2_summarization_cnndm
[ "pytorch", "tensorboard", "encoder-decoder", "text2text-generation", "dataset:cnn_dailymail", "transformers", "generated_from_trainer", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "EncoderDecoderModel" ], "model_type": "encoder-decoder", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
null
--- language: vi tags: - gpt2-viwiki license: mit --- # GPT-2 Fine-tuning in Vietnamese Wikipedia ## Model description This is a Vietnamese GPT-2 model which is finetuned on the [Latest pages articles of Vietnamese Wikipedia](https://dumps.wikimedia.org/viwiki/latest/viwiki-latest-pages-articles.xml.bz2). ## Dataset The dataset is about 800MB, includes many articles from Wikipedia. ## How to use You can use this model to: - Tokenize Vietnamese sentences with GPT2Tokenizer. - Generate text seems like a Wikipedia article. - Finetune it to other downstream tasks. Here is how to use the model to generate text in Pytorch: ```python import torch from transformers import GPT2Tokenizer, GPT2LMHeadModel tokenizer = GPT2Tokenizer.from_pretrained('danghuy1999/gpt2-viwiki') model = GPT2LMHeadModel.from_pretrained('danghuy1999/gpt2-viwiki').to('cuda') text = "Albert Einstein là nhà vật lý học tạo ra thuyết lượng tử" input_ids = tokenizer.encode(text, return_tensors='pt').to('cuda') max_length = 100 sample_outputs = model.generate(input_ids,pad_token_id=tokenizer.eos_token_id, do_sample=True, max_length=max_length, min_length=max_length, top_k=40, num_beams=5, early_stopping=True, no_repeat_ngram_size=2, num_return_sequences=3) for i, sample_output in enumerate(sample_outputs): print(">> Generated text {}\n\n{}".format(i+1, tokenizer.decode(sample_output.tolist()))) print('\n---') ``` And the results are: ```bash >> Generated text 1 Albert Einstein là nhà vật lý học tạo ra thuyết lượng tử. Mặc dù thuyết tương đối tổng quát không được áp dụng rộng rãi trong nhiều lĩnh vực khác nhau, nhưng các nhà lý thuyết đã đưa ra khái niệm rộng hơn về tính chất của vật chất. Một trong những nghiên cứu của Albert Einstein về sự tồn tại của hệ quy chiếu quán tính, ông đã đề xuất rằng một lực hấp dẫn có thể có khối lượng bằng năng lượng của nó. Tuy nhiên, những người cho rằng --- >> Generated text 2 Albert Einstein là nhà vật lý học tạo ra thuyết lượng tử. Tuy nhiên, thuyết tương đối hẹp không phải là lý thuyết của Einstein. Cho đến tận cuối thế kỷ 19, Albert Einstein đã chứng minh được sự tồn tại của lực hấp dẫn trong một số trường hợp đặc biệt. Năm 1915, ông đưa ra khái niệm "khối lượng" để miêu tả chuyển động lượng của một hạt bằng khối lượng nghỉ của nó. Ông cho rằng năng lượng "m" là một thành phần của --- >> Generated text 3 Albert Einstein là nhà vật lý học tạo ra thuyết lượng tử. Tuy nhiên, thuyết tương đối hẹp không được chấp nhận rộng rãi bởi các nhà lý thuyết. Một trong những nghiên cứu của Einstein về tính chất của lực hấp dẫn là vào năm 1905, ông đã đưa ra một khái niệm về lực học. Ông đã phát biểu rằng nếu một hạt mang điện tích dương, nó có thể chuyển đổi năng lượng của nó thành các hạt khác. Năm 1915, Arthur Eddington phát minh ra --- ``` You can do the same with **Tensorflow** by using the model **TFGPT2Tokenizer** instead.
[ -0.007526567671447992, -0.044329434633255005, 0.008260635659098625, 0.03736090287566185, 0.016139980405569077, 0.021124552935361862, 0.01772775873541832, 0.003737902967259288, -0.03707125410437584, 0.039628852158784866, 0.031604740768671036, -0.012409147806465626, 0.0053135850466787815, 0.03420371562242508, -0.03094015270471573, -0.04388987272977829, -0.011569250375032425, -0.006107617169618607, -0.04651874676346779, -0.013789907097816467, 0.0035256287083029747, 0.01429183129221201, 0.0026895380578935146, 0.0066590867936611176, 0.0025691543705761433, 0.006926456931978464, -0.023599818348884583, 0.008095948956906796, 0.024033857509493828, -0.07149367034435272, 0.007840972393751144, -0.02941119484603405, -0.02034066990017891, -0.03287448361515999, -0.02937186136841774, -0.027207953855395317, -0.014747202396392822, -0.007263340055942535, 0.008772050961852074, 0.06980245560407639, -0.022432668134570122, 0.017219416797161102, 0.005923320539295673, -0.0397445484995842, 0.04986099526286125, 0.011231370270252228, -0.02842893823981285, -0.012759923003613949, 0.019462093710899353, -0.02238287590444088, -0.048088304698467255, -0.07432052493095398, -0.052288442850112915, 0.026583831757307053, -0.014096148312091827, -0.024571925401687622, -0.05574209615588188, -0.014910870231688023, 0.0631452426314354, -0.03546767681837082, -0.027020376175642014, 0.007840380072593689, -0.05539899691939354, 0.02371896058320999, 0.019955016672611237, -0.040519990026950836, 0.008307578973472118, -0.03593798726797104, 0.020701168105006218, -0.027514316141605377, 0.04741489142179489, -0.02353076823055744, 0.022654026746749878, -0.12598860263824463, -0.01228170283138752, 0.004009687341749668, 0.01066755224019289, 0.03780806437134743, -0.047720685601234436, 0.06460734456777573, -0.008182821795344353, 0.0006255133775994182, 0.03440701588988304, -0.018502909690141678, -0.03173478692770004, 0.04678724333643913, -0.03938009962439537, 0.018955079838633537, 0.006077649537473917, 0.05097341164946556, -0.041772328317165375, -0.030327236279845238, -0.00033026296296156943, -0.009770560078322887, -0.03151313588023186, 0.050313081592321396, 0.025124242529273033, 0.00003517414734233171, 0.005151879042387009, 0.04601113870739937, 0.029104294255375862, 0.053904589265584946, -0.0013702493160963058, 0.043801989406347275, 0.009145794436335564, 0.019360151141881943, -0.01679317280650139, -0.05105721205472946, -0.04213044419884682, 0.03232116624712944, 0.024248406291007996, -0.04630138725042343, -0.02991584502160549, 0.0415206216275692, 0.02846488729119301, -0.019059989601373672, 0.03397146984934807, -0.05567583069205284, -0.03893142193555832, -0.06287654489278793, 0.046094466000795364, 0.02716681733727455, 0.001775079988874495, 0.00505090644583106, -0.03436141088604927, 0.02221541665494442, -0.04075267165899277, -0.014116890728473663, -0.00017031219613272697, 0.014712844043970108, -0.033146873116493225, 0.037365805357694626, 0.026593651622533798, -0.054751358926296234, -0.0026691013481467962, -0.007990854792296886, -0.07258622348308563, 0.04671468585729599, 0.03350424766540527, 0.08173248916864395, -0.05565860494971275, -0.025051327422261238, -0.006941280793398619, 0.02429954893887043, -0.004064177628606558, 0.01599344052374363, 0.012294233776628971, -0.03474051132798195, -0.01669173687696457, -0.01176699623465538, 0.05784381553530693, -0.06030268967151642, -0.02001969888806343, 0.0762893557548523, 0.008699786849319935, 0.02724788524210453, -0.04069584980607033, 0.009533459320664406, 0.007348587270826101, 0.006219948176294565, -0.04413369670510292, 0.028649644926190376, 0.0033872451167553663, -0.022865116596221924, -0.04731449857354164, -0.04213586077094078, -0.006350589916110039, 0.07812531292438507, -0.013912911526858807, -0.03422882407903671, -0.04802914336323738, 0.018782151862978935, 0.06432893872261047, 0.052537061274051666, -0.014897270128130913, 0.050695791840553284, 0.06028665602207184, 0.04449634253978729, -0.028966786339879036, 0.04635510593652725, -0.006631269119679928, -0.04041106998920441, -0.024283019825816154, 0.017897775396704674, 0.01577303558588028, -0.04407631978392601, 0.012327751144766808, 0.040203969925642014, -0.007549738511443138, -0.0532543808221817, -0.006158072501420975, 0.05477863550186157, -0.0005747224786318839, 0.01410754956305027, 0.010840242728590965, -0.008181484416127205, -0.01951700635254383, 0.03707501292228699, -0.04212822765111923, -0.009158188477158546, -0.012438780628144741, -0.03493846580386162, -0.017921727150678635, 0.04041734337806702, 0.029372308403253555, 0.04181238263845444, -0.01108618639409542, 0.08955156803131104, -0.023510660976171494, 0.019612401723861694, -0.026790592819452286, -0.013072836212813854, -0.010303640738129616, 0.030227378010749817, 0.01669272407889366, 0.043055154383182526, 0.0002510434133000672, -0.034779828041791916, 0.009709739126265049, 0.06402696669101715, 0.04890736937522888, 0.05134604126214981, -0.03440607711672783, 0.0041165826842188835, 0.04622161015868187, 0.07782698422670364, -0.048263248056173325, -0.05183931812644005, 0.009253344498574734, 0.006894138175994158, -0.01652330718934536, 0.006383073516190052, -0.028292842209339142, 0.03491872921586037, -0.03940222039818764, -0.055480312556028366, 0.04333538934588432, 0.01686049997806549, 0.013653232716023922, 0.025395004078745842, -0.013500731438398361, -0.0015391780762001872, 0.022231770679354668, -0.015086478553712368, -0.0031246079597622156, -0.038451146334409714, -0.006149922963231802, 0.01607533171772957, 0.05162584409117699, -0.029505044221878052, 0.05542067438364029, 0.0015564095228910446, 0.01976434513926506, 0.026219775900244713, -0.05835180729627609, 0.030225122347474098, 0.03338390961289406, -0.003631261643022299, -0.022772755473852158, 0.003614704357460141, 0.002398485317826271, 0.03898097574710846, 0.06619018316268921, 0.03394066542387009, 0.07205124944448471, 0.017300376668572426, 0.07160206139087677, 0.06453660130500793, 0.004069442395120859, 0.018042778596282005, 0.044386137276887894, 0.04513665288686752, -0.014304039068520069, 0.005522705614566803, 0.054128486663103104, -0.033609677106142044, 0.008244246244430542, -0.033597689121961594, 0.015020775608718395, -0.03604167327284813, 0.0007852910785004497, 0.04135478660464287, 0.0020873467437922955, 0.00021733914036303759, 0.029329435899853706, -0.03128380700945854, -0.00946741085499525, 0.020891312509775162, 0.003435935126617551, -0.019959012046456337, 0.01334969699382782, 0.0022168736904859543, 0.013465004973113537, -0.07901667803525925, -0.030609510838985443, 0.010323558002710342, -0.04075932875275612, 0.01309647224843502, -0.08776886761188507, -0.03891660273075104, -0.08984195441007614, -0.049394913017749786, 0.028785735368728638, 0.03257410600781441, 0.0016202034894376993, -0.039329953491687775, -0.020254453644156456, -0.059602562338113785, -0.03166087716817856, -0.05788770690560341, -0.02681157737970352, -0.04752803593873978, -0.07680162787437439, 0.03779662773013115, -0.0007041163044050336, 0.030819065868854523, 0.011182636953890324, 0.008472546003758907, -0.02188146486878395, -0.021609580144286156, 0.05133789777755737, 0.023269306868314743, -0.034418076276779175, -0.03308117762207985, 0.03267145901918411, -0.009420077316462994, 0.032183073461055756, -0.012313177809119225, -0.03338618949055672, 0.06395404040813446, 0.07172857969999313, 0.011144226416945457, 0.009261807426810265, -0.017575478181242943, -0.04347970709204674, -0.06794817745685577, -0.010733217000961304, -0.039189934730529785, -0.02975423075258732, -0.003920132294297218, -0.05281040817499161, 0.002515029162168503, -0.04651147499680519, -0.0010673388605937362, -0.00929604284465313, -0.014104320667684078, 0.03025866486132145, 0.04667581617832184, 0.03572980314493179, 0.022425439208745956, -0.04131048917770386, -0.04342730715870857, 0.07040634006261826, 0.003972144331783056, -0.012870541773736477, -0.06682536005973816, -0.02543932944536209, 0.048064637929201126, 0.03933248296380043, -0.012075407430529594, -0.01534709706902504, 0.06045675277709961, 0.01912653259932995, -0.0014240837190300226, 0.009486496448516846, -0.0605841688811779, -0.03291324898600578, -0.009099802933633327, -0.01720331981778145, -0.01074663084000349, -0.05056459829211235, -0.004275394603610039, 0.0004105664847884327, 0.05679979920387268, -0.10186777263879776, -0.037285663187503815, 0.0196209829300642, 0.02105817385017872, 0.03662683442234993, -0.009775829501450062, -0.044838350266218185, 0.012838853523135185, -0.048359498381614685, -0.030591553077101707, 0.03195296600461006, 0.013188926503062248, 0.036249179393053055, 0.04251962900161743, 0.024792248383164406, -0.04348383843898773, 0.03553800657391548, 0.04360632598400116, 0.04199383780360222, 0.0029809719417244196, -0.01703450456261635, 0.03634233400225639, -0.025318540632724762, 0.027220116928219795, -0.0006140715559013188, -0.012590023688971996, -0.04627259075641632, -0.0792294591665268, 0.008211811073124409, -0.022251861169934273, -0.007170748896896839, -0.02398957870900631, 0.03516799211502075, -0.013407057151198387, -0.006868612486869097, 0.031005721539258957, 0.02160928025841713, 0.046333424746990204, -0.06493881344795227, 0.06318816542625427, 0.01997252181172371, 0.05060330033302307, -0.06326352804899216, -0.021202776581048965, -0.02495579421520233, -0.022280871868133545, -0.003668071934953332, 0.08176356554031372, 0.026507670059800148, 0.04839392378926277, 0.07503443956375122, 0.012603490613400936, -0.0385710671544075, 0.056952860206365585, 0.04277322441339493, -0.015923157334327698, -0.03534696623682976, -0.0015340757090598345, -0.022562675178050995, -0.024710940197110176, 0.001535528339445591, -0.04180958867073059, 0.04629243165254593, 0.027574392035603523, -0.02592521347105503, 0.004495424218475819, -0.014147435314953327, -0.014366943389177322, -0.034764207899570465, -0.04852829873561859, -0.006403131410479546, -0.023957282304763794, -0.04510819539427757, 0.02129659801721573, 0.0347362644970417, 0.015210576355457306, 0.06381337344646454, 0.05013357102870941, -0.0338178426027298, -0.008855657652020454, 0.029732419177889824, 0.04505752772092819, -0.044086940586566925, -0.056321315467357635, -0.05236000567674637, 0.028968747705221176, 0.04323776066303253, -0.04125871881842613, -0.08963561058044434, 0.0022184373810887337, 0.043701961636543274, -0.04203310236334801, 0.05293708294630051, -0.0060944571159780025, 0.03171385079622269, 0.06409332156181335, -0.013435077853500843, 0.017307067289948463, -0.0035166575107723475, 0.019784796983003616, -0.019966518506407738, 0.036853156983852386, -0.03726974129676819, -0.03338978439569473, -0.02395043335855007, 0.012623353861272335, 0.009860726073384285, 0.04458586499094963, 0.01828613318502903, -0.025413665920495987, -0.05711354687809944, 0.021486269310116768, 0.025137681514024734, -0.04575129225850105, 0.0009644965757615864, 0.025957727804780006, 0.019903209060430527, -0.06624476611614227, -0.02320714481174946, -0.027249651029706, 0.014257307164371014, 0.0613243542611599, -0.023668544366955757, -0.02588336169719696, -0.050546929240226746, 0.014595375396311283, -0.013938330113887787, -0.0014435902703553438, -0.09774137288331985, 0.031524475663900375, -0.01429342944175005, -0.0027082059532403946, 0.04405742883682251, 0.04228430613875389, 0.03174573928117752, 0.023631490767002106, 0.018519163131713867, 0.017545459792017937, -0.040889810770750046, 0.039318762719631195, -0.037299398332834244, -0.019224809482693672, 0.026146525517106056, -0.03416517376899719, -0.01653791405260563, -0.0420539453625679, -0.04653003066778183, -0.036423999816179276, -0.010896584019064903, 0.03406110033392906, -0.025724342092871666, 0.006032106000930071, 0.022902654483914375, 0.0249214805662632, -0.04362522065639496, -0.026221172884106636, -0.042256951332092285, -0.03487526997923851, -0.05199165642261505, -0.01945601962506771, 0.013448454439640045, -0.0006703091785311699, 0.02434101700782776, -0.013001835905015469, -0.013048307038843632, -0.00021293890313245356, 0.010544709861278534, -0.029849855229258537, 0.04335557669401169, 0.010177785530686378, -0.031302060931921005, -0.020273540169000626, 0.008437794633209705, 0.02405473031103611, -0.0017320073675364256, -0.03620350733399391, 0.022104287520051003, 0.023225033655762672, -0.01769726164638996, -0.027282506227493286, 0.004774863366037607, 0.027646834030747414, -0.0699884444475174, -0.033566296100616455, -0.010867713950574398, -0.052457164973020554, 0.03590657189488411, -0.018154803663492203, -0.027547689154744148, -0.006801609415560961, 0.03657377511262894, 0.023184113204479218, -0.002136169234290719, -0.03856908529996872, 0.022657141089439392, -0.033438246697187424, -0.011541739106178284, -0.0768541544675827, 0.010600848123431206, -0.025810057297348976, 0.018862824887037277, -0.014789008535444736, -0.007432440295815468, -0.036003515124320984, 0.05730158090591431, 0.0021708873100578785, 0.014561723917722702, -0.04106343165040016, 0.012921731919050217, -0.04332711920142174, 0.03896736353635788, -0.018400754779577255, 0.01679220050573349, -0.019210677593946457, 0.03439997509121895, -0.05211050808429718, -0.014862490817904472, -0.04231035336852074, -0.003875963157042861, -0.029718022793531418, -0.03718432039022446, -0.031318072229623795, -0.04818274453282356, 0.033369872719049454, 0.0329795777797699, 0.024603625759482384, 0.012191764079034328, -0.022338595241308212, 0.030027197673916817, 0.04962697997689247, -0.06404156982898712, -0.0006225467659533024, 0.015189073048532009, 0.0020940748509019613, 0.013227048330008984, 0.0317843072116375, 0.05440620332956314, -0.06251391023397446, -0.037432312965393066, 0.04035776108503342, 0.0008142950246110559, 0.010914893820881844, 0.012138709425926208, 0.024057241156697273, 0.047765523195266724, 0.05931320786476135, -0.04360388219356537, 0.010615836828947067, -0.030745496973395348, -0.034296534955501556, 0.027934633195400238, 0.02668904699385166, 0.021752288565039635, -0.0044886525720357895, -0.032555416226387024, -0.02074536494910717, 0.05311654880642891, 0.04742291197180748, 0.02237076312303543, -0.005109881982207298, -0.051650021225214005, 0.035543281584978104, 0.018500687554478645, -0.06334494054317474, 0.015978815034031868, 0.020088782534003258, -0.02978072315454483, 0.08471103757619858, -0.006024302914738655, -0.005982185248285532, 0.03854454308748245, 0.02875824272632599, -0.011977110989391804, 0.04844106733798981, -0.030212773010134697, -0.0027626503724604845, 0.036437105387449265, -0.06012628227472305, -0.021793151274323463, -0.018735093995928764, 0.07374255359172821, -0.05430128425359726, 0.02741454355418682, 0.04063946008682251, 0.010077265091240406, 0.020847275853157043, -0.04859919846057892, -0.03833495080471039, 0.030189169570803642, -0.05057189613580704, 0.09979253262281418, 0.00539828697219491, -0.03034244291484356, 0.06552398949861526, 0.009164710529148579, -0.06498072296380997, 0.06757186353206635, 0.04858211800456047, 0.032536581158638, 0.021314237266778946, 0.02841019444167614, -0.06432093679904938, -0.00773638067767024, -0.038138095289468765, 0.01943989098072052, -0.0750243291258812, -0.011538879945874214, -0.013321997597813606, -0.03188777342438698, -0.021918268874287605, 0.030466852709650993, -0.04113220423460007, -0.02628323994576931, 0.019340109080076218, -0.0625392347574234, -0.05553059279918671, -0.018399473279714584, 0.03198813274502754, -0.03960305452346802, 0.00211719935759902, -0.04994558170437813, 0.0038799685426056385, 0.012988175265491009, -0.010880004614591599, -0.027646318078041077, -0.0018217099132016301, 0.01730888895690441, -0.0876012071967125, -0.04638820141553879, 0.03710509091615677, -0.001591124921105802, -0.0268385149538517, 0.03190265968441963, -0.014077840372920036, 0.03633362427353859, 0.03627762198448181, 0.01809902861714363, 0.026131849735975266, -0.05404612049460411, 0.012311764061450958, 0.027516908943653107, -0.0038046613335609436, 0.04147588089108467, -0.02323078364133835, 0.024039041250944138, 0.003269805107265711, 0.0363495796918869, -0.0011490449542179704, -0.05376627296209335, -0.014727511443197727, 0.014033491723239422, -0.022244710475206375, 0.0205442626029253, 0.0058003864251077175, -0.07196691632270813, -0.0493120513856411, 0.023029744625091553, -0.011009961366653442, 0.05459611862897873, -0.0415310375392437, 0.022745884954929352, 0.032829735428094864, -0.013925845734775066, -0.04202530160546303, -0.08402866125106812, -0.02784532867372036, -0.019115040078759193, 0.019913146272301674, 0.02268826961517334, -0.05276181921362877, 0.034454453736543655, -0.06009790301322937, -0.05924161151051521, 0.016116609796881676, -0.001026023761369288, -0.058204229921102524, 0.033886417746543884, 0.03538664057850838, -0.028341462835669518, 0.026496704667806625, 0.04743029177188873, -0.029606252908706665, 0.050248220562934875, 0.020656080916523933, 0.017022449523210526, 0.02480989694595337, 0.010253092274069786, -0.04075685515999794, -0.02471315674483776, -0.09151685982942581, -0.06807154417037964, -0.024694720283150673, -0.02663801796734333, 0.05013367533683777 ]
Ayham/bert_gpt2_summarization_cnndm_new
[ "pytorch", "tensorboard", "encoder-decoder", "text2text-generation", "dataset:cnn_dailymail", "transformers", "generated_from_trainer", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "EncoderDecoderModel" ], "model_type": "encoder-decoder", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- pipeline_tag: sentence-similarity language: fr datasets: - stsb_multi_mt tags: - Text - Sentence Similarity - Sentence-Embedding - camembert-large license: apache-2.0 model-index: - name: sentence-camembert-large 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 --- ## Description: [**Sentence-CamemBERT-Large**](https://huggingface.co/dangvantuan/sentence-camembert-large) is the Embedding Model for French developed by [La Javaness](https://www.lajavaness.com/). The purpose of this embedding model is to represent the content and semantics of a French sentence in a mathematical vector which allows it to understand the meaning of the text-beyond individual words in queries and documents, offering a powerful semantic search. ## Pre-trained sentence embedding models are state-of-the-art of Sentence Embeddings for French. The model is Fine-tuned using pre-trained [facebook/camembert-large](https://huggingface.co/camembert/camembert-large) 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-large") 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 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-large](https://huggingface.co/dangvantuan/sentence-camembert-large)| 88.2 |88.02 | 336M| | [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 | | [GPT-3 (text-davinci-003)](https://platform.openai.com/docs/models) | 85 | NaN|175B | - On test | Model | Pearson correlation | Spearman correlation | | ------------- | ------------- | ------------- | | [dangvantuan/sentence-camembert-large](https://huggingface.co/dangvantuan/sentence-camembert-large)| 85.9 | 85.8| | [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| | [GPT-3 (text-davinci-003)](https://platform.openai.com/docs/models) | 82 | NaN|175B | ## 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.01986592635512352, -0.011305219493806362, -0.01422897819429636, 0.04608180746436119, 0.028031472116708755, 0.021673640236258507, -0.033102236688137054, -0.019457705318927765, -0.03642648458480835, 0.06311612576246262, 0.005329139530658722, -0.00020611130457837135, -0.0052400920540094376, 0.03863799199461937, -0.029299665242433548, 0.007549960631877184, -0.0076723103411495686, -0.022527990862727165, -0.03524184226989746, -0.015340125188231468, 0.005236968398094177, 0.01421843096613884, -0.013401741161942482, 0.0271641593426466, 0.031739309430122375, 0.001742927124723792, -0.019769366830587387, 0.05468999221920967, 0.021420884877443314, -0.06294798105955124, 0.007101203314960003, -0.01892814040184021, -0.02954608015716076, -0.012790645472705364, -0.0009784986032173038, 0.001532230176962912, 0.012432899326086044, 0.0075612664222717285, 0.014038332737982273, 0.042297907173633575, 0.0016533465823158622, 0.008447697386145592, -0.03020806796848774, -0.02573268488049507, 0.035696957260370255, 0.020374735817313194, -0.03466695919632912, -0.026796463876962662, 0.02959616668522358, -0.041355911642313004, -0.056885216385126114, -0.08804303407669067, -0.0013061205390840769, 0.038810256868600845, 0.013400685973465443, -0.012696292251348495, -0.0673750638961792, -0.015813423320651054, 0.06500323861837387, -0.05803227797150612, -0.03542293235659599, 0.015304331667721272, -0.06242385879158974, 0.01602703519165516, 0.023787200450897217, -0.0453491248190403, 0.009646170772612095, -0.048265229910612106, 0.0334162674844265, -0.026567870751023293, 0.047376714646816254, -0.031004812568426132, 0.009003761224448681, -0.07549867033958435, -0.013652995228767395, -0.006944745313376188, 0.02502097561955452, 0.04733612388372421, -0.017334435135126114, 0.0687476098537445, 0.0005236688884906471, 0.00556932482868433, 0.01812920533120632, -0.022029688581824303, -0.02431102655827999, 0.07023146748542786, -0.03826471418142319, 0.006442614831030369, -0.001224452629685402, 0.020906349644064903, -0.03529636561870575, -0.02931501902639866, 0.007697239518165588, -0.05997660756111145, 0.0017164878081530333, 0.020044583827257156, 0.024978261440992355, -0.007223821710795164, 0.037225741893053055, 0.02246749959886074, 0.01823391020298004, 0.05579492449760437, -0.020343797281384468, 0.06938880681991577, -0.024098185822367668, -0.013966136611998081, -0.010538745671510696, -0.02050819993019104, -0.05096336826682091, 0.029749970883131027, 0.014369581826031208, -0.04751818999648094, -0.04434092715382576, 0.04886115714907646, 0.024351082742214203, -0.04473354294896126, 0.06079098582267761, -0.031066719442605972, -0.02297045662999153, -0.05425563082098961, 0.03526035323739052, -0.017629509791731834, 0.0025701792910695076, 0.009457972832024097, -0.07557646185159683, 0.0023765971418470144, -0.03355581313371658, -0.04471379145979881, -0.011133680120110512, 0.013270226307213306, 0.008929697796702385, 0.010243427939713001, -0.007263468578457832, -0.019808296114206314, 0.0038302771281450987, 0.007116998080164194, -0.052765581756830215, 0.03282700106501579, 0.051847878843545914, 0.1042025089263916, -0.02919665165245533, -0.052559129893779755, -0.013372774235904217, 0.043977946043014526, -0.026990093290805817, 0.012194676324725151, 0.008594751358032227, -0.030003415420651436, -0.03025057539343834, -0.01373982708901167, 0.06703491508960724, -0.0491175502538681, -0.009856878779828548, 0.013348882086575031, -0.008654413744807243, 0.04736025631427765, -0.06130944564938545, -0.011179537512362003, 0.008667504414916039, -0.0008106637396849692, -0.028301257640123367, 0.02130044996738434, -0.004357124213129282, 0.002992081455886364, -0.023196719586849213, -0.039632588624954224, -0.011449473910033703, 0.0762336254119873, -0.01770136132836342, -0.01837550848722458, -0.045447103679180145, 0.03593730926513672, 0.03583687171339989, 0.05352677404880524, -0.03697650507092476, 0.027708640322089195, 0.0773373618721962, 0.042894043028354645, -0.009368373081088066, 0.05845222994685173, 0.015657691285014153, -0.04032670333981514, -0.029074054211378098, 0.022404033690690994, 0.008765402249991894, -0.043409593403339386, 0.042150940746068954, 0.05186885595321655, -0.01206244993954897, -0.020942630246281624, -0.017071841284632683, 0.06856582313776016, 0.0007262344588525593, 0.00010169081360800192, -0.016365457326173782, -0.007497041951864958, -0.030327174812555313, 0.023333292454481125, -0.031695228070020676, -0.0017467406578361988, -0.027581218630075455, -0.028993461281061172, 0.017327915877103806, 0.029563654214143753, 0.050694454461336136, 0.029212692752480507, -0.016409873962402344, 0.08040860295295715, -0.04356091842055321, 0.0013670139014720917, -0.05118492618203163, -0.03596647083759308, -0.016761770471930504, 0.03158419951796532, 0.02295655384659767, 0.049368105828762054, 0.00879046693444252, -0.03372091054916382, 0.030572952702641487, 0.06145566701889038, 0.02102527767419815, 0.03489387780427933, -0.014375277794897556, -0.019863903522491455, 0.011192922480404377, 0.053688935935497284, -0.06351741403341293, -0.024476991966366768, 0.020961837843060493, 0.012186771258711815, -0.0227951817214489, -0.0017040774691849947, -0.008742770180106163, 0.013772916980087757, -0.023167550563812256, -0.06197868660092354, 0.04088900610804558, 0.02549164369702339, 0.012102652341127396, 0.06143755838274956, -0.007707225624471903, -0.02180618792772293, 0.031729426234960556, -0.011408491991460323, -0.013846853747963905, -0.03962148353457451, -0.004391271620988846, 0.011119081638753414, 0.06209244951605797, -0.04027578979730606, 0.02078891173005104, 0.0160630252212286, 0.017521880567073822, 0.04382999613881111, -0.008039317093789577, 0.01840161345899105, 0.05703834071755409, -0.004117768257856369, 0.0060783494263887405, 0.009631866589188576, 0.03132913261651993, 0.01741347275674343, 0.06867381185293198, 0.010559498332440853, 0.053499482572078705, 0.01964249461889267, 0.04976096376776695, 0.07271847873926163, 0.031704843044281006, 0.020381737500429153, 0.04338155314326286, 0.06400366872549057, -0.004079450387507677, -0.009245624765753746, 0.06554047763347626, -0.026054689660668373, 0.040658190846443176, -0.042644698172807693, 0.01112679298967123, -0.015335572883486748, -0.008480842225253582, 0.021002644672989845, -0.010707891546189785, 0.010277542285621166, 0.010241756215691566, -0.017010383307933807, -0.021467285230755806, 0.048341114073991776, -0.014545049518346786, 0.01614893041551113, 0.010995588265359402, -0.019133571535348892, 0.03177560493350029, -0.05194973573088646, -0.04705718159675598, 0.020904118195176125, -0.020670412108302116, 0.015384229831397533, -0.08915743231773376, -0.05688204616308212, -0.07237080484628677, -0.0200590118765831, 0.028292568400502205, 0.0403277650475502, 0.0154590317979455, -0.02399124577641487, 0.03642261400818825, -0.02412140555679798, -0.007851896807551384, -0.05699598416686058, -0.025535712018609047, -0.030585207045078278, -0.08314282447099686, 0.0406765453517437, 0.002160706790164113, 0.025036944076418877, 0.0071560717187821865, -0.012860286980867386, -0.04803599417209625, -0.0058930376544594765, 0.046859148889780045, 0.01767493039369583, 0.002688228152692318, -0.038288503885269165, 0.009109819307923317, -0.006543461699038744, -0.007853202521800995, -0.05184130370616913, -0.05665341764688492, 0.0808100476861, 0.05329004302620888, 0.018724026158452034, 0.014347812160849571, -0.0015739841619506478, -0.029061216861009598, -0.027252230793237686, -0.00818526092916727, -0.0432695634663105, -0.016359828412532806, -0.02306426875293255, -0.02894183248281479, -0.006508849561214447, -0.03768401965498924, -0.006102088373154402, 0.016621218994259834, 0.011760766617953777, 0.028320182114839554, 0.04681988060474396, 0.03378951922059059, 0.032862745225429535, -0.024902628734707832, -0.02823002077639103, 0.10375752300024033, -0.0003427589836064726, 0.00569949159398675, -0.05376134440302849, -0.03342654928565025, 0.04178672656416893, 0.02556309662759304, 0.000648600107524544, -0.01764824613928795, 0.08321765065193176, 0.021342704072594643, -0.0001329674996668473, 0.017513783648610115, 0.003971189726144075, -0.02955177240073681, -0.004278488457202911, 0.006939795799553394, -0.031629420816898346, -0.05865747109055519, -0.020623449236154556, -0.026278261095285416, 0.0181844774633646, -0.06879421323537827, -0.051862966269254684, -0.01589922420680523, 0.03765847906470299, 0.03722623735666275, 0.005142221227288246, -0.03263236954808235, -0.003652926767244935, -0.03165791556239128, -0.040697257965803146, 0.016408922150731087, -0.01724661886692047, 0.028481414541602135, 0.057413361966609955, 0.017374321818351746, -0.03938648849725723, 0.01992143876850605, 0.04253549501299858, 0.04293496906757355, 0.03289343789219856, -0.034919530153274536, 0.04175173491239548, -0.016282469034194946, 0.009430402889847755, 0.023094167932868004, -0.013844537548720837, -0.06318681687116623, -0.09524157643318176, -0.011112981475889683, -0.007385414559394121, -0.01264746580272913, -0.020260991528630257, 0.04263637587428093, -0.04180651903152466, -0.015509816817939281, 0.014591037295758724, 0.0017400248907506466, 0.029661789536476135, -0.05240287631750107, 0.06291239708662033, -0.028223859146237373, 0.03305583447217941, -0.02887725457549095, 0.013539318926632404, -0.03621760383248329, -0.035670988261699677, -0.013213972561061382, 0.07172057777643204, 0.017189228907227516, 0.05343065783381462, 0.0635584145784378, 0.04948874190449715, -0.03433843329548836, 0.06272178143262863, 0.03461132198572159, -0.0027297453489154577, -0.06050388887524605, -0.029459189623594284, -0.006641465239226818, -0.023928450420498848, -0.003984168171882629, -0.027046574279665947, 0.015490623190999031, 0.008868930861353874, -0.004812000319361687, -0.00020601721189450473, 0.009110790677368641, -0.013320853933691978, -0.050649113953113556, -0.08042003959417343, -0.033811286091804504, -0.017282254993915558, -0.026704879477620125, 0.05235105752944946, 0.05886998027563095, 0.011016077362000942, 0.0642474815249443, 0.0458892323076725, 0.00143715541344136, -0.06645441800355911, 0.026917411014437675, 0.0376134030520916, -0.03809231519699097, -0.07235369831323624, -0.023296179249882698, 0.029422344639897346, 0.05614271014928818, 0.004128911066800356, -0.08281902223825455, 0.01957886852324009, 0.06252045184373856, -0.0229172483086586, 0.058360617607831955, -0.006239710375666618, 0.05423493683338165, 0.06500913947820663, -0.023305697366595268, 0.010994691401720047, -0.01715782657265663, 0.01888311468064785, -0.01933382824063301, 0.028899287804961205, -0.04722156748175621, -0.04254430532455444, -0.03971562907099724, 0.030619410797953606, 0.01826893724501133, 0.045323584228754044, 0.03655378147959709, -0.011286904104053974, -0.07433320581912994, -0.01546680461615324, 0.023050284013152122, -0.043154697865247726, -0.014539051800966263, -0.006026256363838911, 0.06992103904485703, -0.05121602863073349, -0.030902042984962463, -0.03224599361419678, 0.009708740748465061, 0.04806244745850563, 0.016313903033733368, -0.019040770828723907, -0.05831444635987282, 0.0024479550775140524, -0.007397415116429329, -0.014670396223664284, -0.09246224910020828, -0.010420365259051323, -0.031821269541978836, -0.011122862808406353, 0.04110710695385933, 0.032224662601947784, 0.043591439723968506, 0.020211026072502136, -0.01114306878298521, 0.0029846173711121082, -0.019498948007822037, 0.020167777314782143, -0.01488937996327877, -0.04464929923415184, -0.008836756460368633, -0.07874049246311188, -0.04005957394838333, -0.03338155522942543, -0.01949981600046158, -0.026521144434809685, -0.027558889240026474, 0.01268085278570652, -0.03580045700073242, 0.023157570511102676, -0.012854959815740585, 0.019358040764927864, -0.05594002455472946, -0.02059529908001423, -0.02136000618338585, -0.05708751827478409, -0.07031742483377457, -0.05645289272069931, -0.01746884547173977, 0.030918551608920097, 0.021369317546486855, 0.03154067322611809, 0.0019463623175397515, 0.014897800050675869, 0.01699286699295044, -0.02417253889143467, 0.03599920868873596, 0.0037517512682825327, -0.030208216980099678, -0.03798430413007736, -0.003416789695620537, 0.015449745580554008, 0.038862477988004684, -0.04610557109117508, 0.013369355350732803, 0.02524913102388382, -0.044677723199129105, -0.03501131758093834, 0.029801135882735252, 0.0038021509535610676, -0.06950490921735764, -0.03154688701033592, -0.021772975102066994, -0.03439495712518692, 0.04091977700591087, -0.003110074670985341, -0.012583475559949875, 0.0036820820532739162, 0.03846249356865883, 0.021753879263997078, 0.007305781822651625, -0.02410794049501419, 0.036598291248083115, -0.009170187637209892, 0.019569680094718933, -0.08508196473121643, 0.03316989168524742, -0.04723025858402252, 0.001298779621720314, -0.025466810911893845, -0.01895224303007126, -0.04561334475874901, 0.03727111220359802, -0.0019147236598655581, -0.0173267163336277, -0.014287874102592468, 0.031735748052597046, -0.04304375499486923, 0.02377491071820259, -0.04125014320015907, 0.015267723239958286, -0.028538735583424568, 0.028188882395625114, -0.042657721787691116, -0.036807283759117126, -0.002841296838596463, 0.006282179616391659, -0.03560541942715645, -0.02924802340567112, -0.02586193196475506, -0.037810809910297394, 0.04705609753727913, 0.03360462933778763, 0.03043011762201786, 0.022582026198506355, 0.004684837069362402, 0.013198493048548698, 0.008255093358457088, -0.08301319181919098, -0.02772761881351471, -0.005431211553514004, 0.04023445397615433, 0.002152107423171401, 0.07365090399980545, 0.04227104038000107, -0.044586360454559326, -0.01993572898209095, 0.0637834221124649, 0.014209985733032227, -0.024768318980932236, -0.01231335662305355, 0.0434531569480896, 0.062084026634693146, 0.042257871478796005, -0.02269960753619671, -0.017602140083909035, 0.005143455695360899, -0.01708102785050869, -0.003864278784021735, 0.011668642982840538, 0.008490843698382378, 0.0007893267320469022, -0.039087750017642975, -0.03785198554396629, 0.07717534899711609, 0.035924848169088364, 0.01252051256597042, -0.005185846704989672, -0.031293198466300964, 0.008489379659295082, 0.042131420224905014, -0.051222167909145355, -0.01204253826290369, 0.02526790276169777, -0.03276980668306351, 0.07453617453575134, -0.03670616075396538, 0.00683769304305315, 0.06089603900909424, 0.0032908180728554726, -0.007888038642704487, 0.04567943513393402, -0.03620273619890213, 0.008881676942110062, 0.05735369026660919, -0.05222170427441597, 0.00699842581525445, -0.04389757663011551, 0.06105645000934601, -0.05424988642334938, 0.06776133179664612, 0.03910508751869202, 0.01906956173479557, 0.03389272838830948, -0.031642425805330276, -0.027603205293416977, 0.018636539578437805, -0.056324753910303116, 0.0864565446972847, 0.010457586497068405, -0.06405320763587952, 0.051250897347927094, 0.028007375076413155, -0.08004312962293625, 0.05382727459073067, 0.04809967800974846, 0.02217078022658825, 0.020925240591168404, 0.0238302331417799, -0.09123428910970688, 0.010723269544541836, -0.04837344214320183, 0.06679385155439377, -0.06924882531166077, -0.014480622485280037, 0.002189610619097948, -0.03235460817813873, -0.018535463139414787, 0.030083108693361282, -0.018052732571959496, -0.009627538733184338, 0.011783909983932972, -0.05123056471347809, -0.053360577672719955, -0.01506336685270071, 0.012582085095345974, 0.0017743220087140799, 0.0002714787551667541, -0.032663341611623764, -0.009653056040406227, 0.002621603198349476, -0.012004935182631016, -0.03957265987992287, 0.004209579899907112, 0.024112997576594353, -0.026650570333003998, -0.0260161142796278, 0.026995444670319557, 0.014742862433195114, -0.016754217445850372, 0.015945537015795708, -0.03341658413410187, 0.015465392731130123, 0.029091723263263702, -0.00577098922803998, 0.016656750813126564, -0.024467267096042633, 0.009280993603169918, 0.03129645437002182, 0.00007381226896541193, 0.003151925280690193, -0.008867134340107441, 0.02364865131676197, 0.03888235613703728, 0.051300451159477234, 0.006749611347913742, -0.02274959906935692, -0.03302648663520813, 0.043154966086149216, -0.02709014154970646, 0.028557077050209045, 0.009172930382192135, -0.051012370735406876, -0.04905368760228157, 0.00420599989593029, -0.029981281608343124, 0.05927189812064171, -0.048669587820768356, 0.02918274514377117, 0.027759743854403496, -0.049547821283340454, -0.03458036482334137, -0.08297230303287506, -0.025058520957827568, -0.054291654378175735, 0.038085777312517166, 0.023003969341516495, -0.03146060183644295, 0.0029737227596342564, -0.0375741682946682, -0.028834624215960503, 0.06063387542963028, 0.0029846744146198034, -0.06267520785331726, 0.0626453384757042, 0.03641033172607422, -0.034222785383462906, 0.014799474738538265, 0.04184739291667938, -0.04416867718100548, 0.02144562266767025, 0.030799251049757004, 0.03516899794340134, 0.03434953838586807, 0.022198006510734558, -0.01838010922074318, -0.03114595264196396, -0.08185416460037231, -0.04317281022667885, -0.036408014595508575, 0.0023253802210092545, 0.07692612707614899 ]
Ayran/DialoGPT-medium-harry-1
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-07-23T13:35:36Z
--- license: apache-2.0 tags: - generated_from_trainer datasets: - commonsense_qa metrics: - accuracy model_index: - name: albert-xxlarge-v2-finetuned-csqa results: - dataset: name: commonsense_qa type: commonsense_qa args: default metric: name: Accuracy type: accuracy value: 0.7870597839355469 --- <!-- 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. --> # albert-xxlarge-v2-finetuned-csqa This model is a fine-tuned version of [albert-xxlarge-v2](https://huggingface.co/albert-xxlarge-v2) on the commonsense_qa dataset. It achieves the following results on the evaluation set: - Loss: 1.6177 - Accuracy: 0.7871 ## 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: 1e-05 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 5 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 0.7464 | 1.0 | 609 | 0.5319 | 0.7985 | | 0.3116 | 2.0 | 1218 | 0.6422 | 0.7936 | | 0.0769 | 3.0 | 1827 | 1.2674 | 0.7952 | | 0.0163 | 4.0 | 2436 | 1.4839 | 0.7903 | | 0.0122 | 5.0 | 3045 | 1.6177 | 0.7871 | ### Framework versions - Transformers 4.8.2 - Pytorch 1.9.0 - Datasets 1.10.2 - Tokenizers 0.10.3
[ -0.012557191774249077, 0.010548289865255356, -0.015290706418454647, 0.04442824795842171, 0.036676984280347824, -0.008856846019625664, -0.013648510910570621, -0.023518702015280724, -0.03198133409023285, 0.03790954127907753, 0.011007753200829029, -0.00987564492970705, 0.007004468701779842, 0.04672016203403473, -0.04201062023639679, -0.021957065910100937, -0.011125819757580757, -0.0014199749566614628, -0.025022130459547043, -0.015292360447347164, -0.008823350071907043, -0.010264122858643532, -0.0310467891395092, -0.014699279330670834, -0.00487919058650732, 0.01663488708436489, 0.01709866151213646, 0.03759027272462845, 0.027894534170627594, -0.07520055770874023, 0.012207833118736744, -0.04182597994804382, -0.0387503057718277, -0.037880782037973404, 0.004041783045977354, 0.0014964562142267823, 0.00004887589966529049, 0.03544354438781738, 0.02906099334359169, 0.03584999218583107, -0.004274348728358746, 0.02670339308679104, 0.0022930619306862354, -0.014750058762729168, 0.04200226813554764, -0.01299555879086256, -0.04727543890476227, -0.023561442270874977, 0.03979199007153511, -0.005792710464447737, -0.07003646343946457, -0.05241817235946655, -0.0172918401658535, 0.01820264756679535, -0.018408115953207016, 0.0019344408065080643, -0.05116888880729675, -0.0042008147574961185, 0.06563227623701096, -0.05092104151844978, -0.03246618062257767, 0.01930924318730831, -0.07375405728816986, 0.023727037012577057, 0.05140439793467522, -0.04171781986951828, 0.021388424560427666, -0.04426291957497597, 0.041421107947826385, -0.005293842405080795, 0.07483021914958954, -0.02011469192802906, 0.020672479644417763, -0.06593082845211029, 0.0194888673722744, -0.006156261079013348, 0.024476084858179092, 0.0524073988199234, -0.02896466664969921, 0.03975720331072807, 0.025596534833312035, 0.032723017036914825, 0.025995580479502678, -0.01303883921355009, 0.008845358155667782, 0.04119283705949783, -0.041710179299116135, 0.009012091904878616, 0.04453659802675247, 0.02992020733654499, -0.026177234947681427, -0.048020001500844955, -0.027020027860999107, -0.028858356177806854, -0.02695503830909729, 0.02566310577094555, 0.04521646350622177, -0.00930935237556696, 0.021942466497421265, 0.0067165810614824295, 0.03485747054219246, 0.03893917798995972, -0.0247564148157835, 0.06735241413116455, -0.01969381608068943, -0.013223406858742237, -0.02915852703154087, -0.01006968691945076, -0.025748100131750107, 0.03149159997701645, 0.04265644773840904, -0.04298366978764534, -0.032391779124736786, 0.031840164214372635, 0.020897135138511658, 0.005370024591684341, 0.08380570262670517, -0.009352635592222214, -0.04823571816086769, -0.055406562983989716, 0.02249426767230034, 0.022456880658864975, 0.008748870342969894, 0.0202567707747221, -0.04774007573723793, -0.012483173981308937, -0.01436811313033104, -0.039379920810461044, -0.014787039719522, 0.012348360382020473, -0.0028578827623277903, 0.04926497861742973, 0.02026129700243473, -0.09122199565172195, -0.009508132003247738, 0.01423396822065115, -0.06498861312866211, 0.0392729714512825, -0.000640032347291708, 0.11420765519142151, -0.05579086020588875, -0.07851455360651016, 0.02787848375737667, 0.0009525969508104026, -0.020172037184238434, 0.021600812673568726, 0.016528040170669556, -0.017237842082977295, -0.013394653797149658, 0.005890203174203634, 0.0834718570113182, -0.06639330089092255, 0.01913878135383129, 0.07192689925432205, -0.0016607748111709952, 0.045073866844177246, -0.042472753673791885, -0.014961276203393936, 0.028180809691548347, -0.015505676157772541, 0.006920065265148878, 0.04265083745121956, -0.03186841309070587, -0.0101780341938138, -0.025132445618510246, -0.04698324576020241, -0.030485626310110092, 0.09115681052207947, 0.02340230904519558, -0.013157494366168976, -0.04458463937044144, 0.037831928580999374, 0.040451016277074814, 0.04511147737503052, -0.026235193014144897, 0.05000220239162445, 0.06288716942071915, 0.018485508859157562, -0.02829083986580372, 0.026683999225497246, 0.02175944484770298, -0.018349312245845795, -0.027534304186701775, 0.0250482726842165, 0.005407653283327818, -0.042130421847105026, 0.03698992356657982, 0.006293976679444313, -0.00016735577082727104, -0.061190202832221985, -0.051032114773988724, 0.06539246439933777, -0.02082190103828907, -0.002047761343419552, -0.00586674502119422, 0.011607460677623749, -0.00902126170694828, 0.04886610805988312, -0.029171323403716087, 0.015695299953222275, -0.03043792024254799, -0.05533682554960251, 0.03354958817362785, 0.016789069399237633, 0.015062341466546059, 0.06088538467884064, -0.011065289378166199, 0.08910433948040009, -0.030168743804097176, 0.017814280465245247, -0.047963932156562805, -0.024506403133273125, 0.008051970042288303, 0.050251882523298264, 0.022246021777391434, 0.043373897671699524, 0.007211972959339619, -0.040611784905195236, 0.0390913225710392, 0.07617109268903732, 0.0373479463160038, 0.009190415032207966, -0.014540216885507107, -0.027922406792640686, 0.03980753943324089, 0.051157839596271515, -0.06475096940994263, -0.031240947544574738, 0.024294165894389153, 0.040650080889463425, 0.0032127839513123035, 0.02120801992714405, -0.013477965258061886, 0.021003032103180885, -0.04975941777229309, -0.06815159320831299, 0.03611473739147186, 0.04174824059009552, -0.007439413573592901, 0.048354391008615494, -0.0005794682074338198, 0.007845943793654442, 0.023904863744974136, 0.011206153780221939, -0.003138829255476594, -0.03757626190781593, 0.030449943616986275, 0.007549320813268423, 0.05164741352200508, -0.06471484899520874, 0.03426677733659744, -0.02386239729821682, 0.024731140583753586, 0.02043079398572445, -0.033117424696683884, 0.03474609926342964, 0.059774432331323624, 0.03797770291566849, -0.015586367808282375, 0.01140467170625925, 0.02956486865878105, 0.01568557322025299, 0.06979217380285263, -0.0005785007961094379, 0.06135449558496475, 0.011043037287890911, 0.04200684279203415, 0.049975890666246414, 0.019436199218034744, 0.021575747057795525, 0.005661386530846357, 0.07427211850881577, 0.04469592496752739, -0.01423557847738266, 0.02532433159649372, -0.055872026830911636, 0.0366552472114563, -0.026015551760792732, 0.002137832110747695, -0.015653345733880997, -0.00024894895614124835, 0.03471992164850235, 0.038229379802942276, -0.0047881752252578735, -0.004547822289168835, -0.03133673220872879, -0.016084490343928337, 0.007256581913679838, -0.02857758291065693, -0.0013341362355276942, -0.024896396324038506, -0.005876208655536175, -0.038091789931058884, -0.058714333921670914, -0.04746155068278313, -0.010430184192955494, -0.029479824006557465, -0.01302229706197977, -0.07180905342102051, -0.0016028189565986395, -0.0847490057349205, -0.011455278843641281, 0.04120402783155441, 0.02383212186396122, -0.02294520102441311, -0.05188273265957832, 0.014653136022388935, -0.04440214857459068, -0.02894139662384987, -0.04329109564423561, -0.046595148742198944, -0.04599214345216751, -0.06342480331659317, 0.04402535781264305, 0.02955011837184429, 0.023544108495116234, -0.002409019274637103, -0.0012257357593625784, 0.0006427820189855993, -0.02479168213903904, 0.06362989544868469, 0.04407350346446037, -0.039959635585546494, -0.046802084892988205, 0.033650390803813934, -0.0071314917877316475, 0.012376892380416393, -0.018824351951479912, -0.006282218266278505, 0.08251167088747025, 0.07150335609912872, 0.003653261810541153, 0.00232321722432971, -0.023906206712126732, -0.05016055330634117, -0.03058929182589054, -0.027155090123414993, -0.011919492855668068, -0.010723736137151718, -0.040306735783815384, -0.03640047088265419, -0.00977600459009409, -0.031662385910749435, 0.01007202360779047, 0.007055722177028656, 0.012411961331963539, 0.03057434782385826, 0.03550316020846367, 0.02473367191851139, 0.03246404230594635, -0.029140004888176918, -0.044407252222299576, 0.0799994245171547, 0.016445832327008247, 0.026068804785609245, -0.06542300432920456, -0.030037054792046547, 0.04359183833003044, 0.014808115549385548, 0.012024212628602982, -0.017180558294057846, 0.07621881365776062, -0.017355306074023247, -0.006783877033740282, 0.02651863731443882, -0.006177506409585476, -0.044420916587114334, -0.03502115234732628, 0.010079012252390385, -0.008404960855841637, -0.051767509430646896, -0.014285939745604992, -0.018956437706947327, 0.04969245195388794, -0.05635938048362732, -0.06345610320568085, -0.028517702594399452, 0.0346582792699337, 0.044812992215156555, -0.011453310959041119, -0.03768998757004738, -0.020938320085406303, -0.054168060421943665, -0.00024272322480101138, 0.03390898182988167, 0.020359331741929054, -0.006437047850340605, 0.04642855003476143, 0.0042155226692557335, -0.01171059813350439, 0.04293333366513252, 0.04017004743218422, 0.06293661147356033, 0.017751725390553474, -0.06098949536681175, 0.013674200512468815, -0.01229955069720745, 0.01948867365717888, 0.018294457346200943, -0.017270255833864212, -0.039418768137693405, -0.1002512276172638, -0.003036151174455881, 0.017874667420983315, -0.004664859268814325, -0.017274485900998116, 0.024306124076247215, 0.004742266610264778, -0.010709550231695175, 0.004524946212768555, 0.0009867162443697453, 0.04309706389904022, -0.050085123628377914, 0.050909701734781265, -0.00039707819814793766, 0.013283508829772472, -0.029501410201191902, 0.003911970183253288, -0.027256855741143227, -0.017231546342372894, 0.024652427062392235, 0.05006716027855873, -0.010350445285439491, 0.06143670529127121, 0.05841583386063576, 0.02891184203326702, -0.02717173472046852, 0.029216481372714043, 0.0740511491894722, -0.03905021771788597, -0.04302382469177246, -0.00615285336971283, 0.00001170384439319605, -0.01519565749913454, -0.01833079196512699, -0.010295220650732517, 0.045228011906147, 0.0411229133605957, -0.0034664266277104616, 0.00959849078208208, -0.007826083339750767, -0.002046169014647603, -0.03291125223040581, -0.035350486636161804, -0.005069209262728691, 0.0233648382127285, -0.030413364991545677, 0.03951654210686684, 0.023962024599313736, 0.026676004752516747, 0.053566403687000275, 0.03802655264735222, -0.027878498658537865, -0.029521392658352852, 0.03932566195726395, 0.010842826217412949, -0.03284413740038872, -0.06049725413322449, -0.007939193397760391, 0.04584182798862457, 0.019951991736888885, -0.004264588467776775, -0.060483649373054504, 0.0014544189907610416, 0.06815909594297409, -0.06398924440145493, 0.03550279140472412, -0.015008686110377312, 0.02541041001677513, 0.07336045056581497, -0.020970074459910393, 0.04711156710982323, -0.018093835562467575, -0.008289799094200134, 0.013488163240253925, 0.05058896914124489, -0.023259766399860382, -0.0254694614559412, -0.053622204810380936, 0.021965334191918373, 0.045169029384851456, 0.02036181278526783, 0.05251466855406761, -0.016660716384649277, -0.027849216014146805, 0.004906123969703913, 0.03378854691982269, -0.03607270494103432, 0.008138459175825119, 0.021340977400541306, 0.03197433426976204, -0.047228142619132996, -0.018280595541000366, -0.018909592181444168, -0.015009867958724499, 0.03968648239970207, 0.0002855643106158823, -0.03814965486526489, -0.041978221386671066, 0.043930698186159134, -0.024465152993798256, -0.04244333878159523, -0.04230421036481857, 0.06224513053894043, -0.003352126572281122, -0.003659153589978814, 0.04590582475066185, 0.01519616600126028, 0.0260294321924448, 0.06917428970336914, 0.011010323651134968, -0.007774217054247856, -0.03247562050819397, 0.05375290289521217, -0.0311871487647295, -0.020892320200800896, 0.009809767827391624, -0.028784923255443573, -0.028038565069437027, -0.005444279871881008, -0.04155583307147026, -0.01569795422255993, -0.0203169547021389, 0.028409525752067566, 0.002043887972831726, -0.02004033885896206, -0.01195969432592392, 0.046165429055690765, -0.032499730587005615, -0.031097248196601868, -0.018698841333389282, -0.03010241501033306, -0.07874894887208939, -0.044089175760746, 0.035645294934511185, 0.010013476945459843, 0.04072916507720947, 0.0418720617890358, 0.024276133626699448, 0.015422227792441845, 0.015679826959967613, -0.046899888664484024, 0.0185464546084404, -0.016918107867240906, -0.03036925569176674, -0.04854247719049454, 0.0217331163585186, 0.02996726892888546, 0.04044019803404808, -0.029410429298877716, 0.031616006046533585, 0.01232218835502863, -0.00571608217433095, -0.010876518674194813, 0.026597149670124054, 0.034347888082265854, -0.07298289984464645, -0.021870577707886696, -0.006515705492347479, -0.02947002276778221, 0.020008599385619164, -0.018896330147981644, 0.0032576515804976225, 0.009073380380868912, 0.0036398654337972403, 0.03033902868628502, -0.007808934431523085, -0.02685176581144333, 0.024357812479138374, -0.01857045665383339, 0.02049306407570839, -0.05273568630218506, 0.06330453604459763, -0.02992488071322441, 0.00920012779533863, -0.021629760041832924, 0.010920856148004532, -0.0397823341190815, 0.04053765535354614, -0.020515546202659607, -0.016548875719308853, -0.007077322341501713, 0.0698532909154892, -0.026073958724737167, 0.025115521624684334, -0.014789237640798092, 0.05774780735373497, -0.028774449601769447, 0.0547226145863533, -0.0291073527187109, 0.0077544692903757095, -0.03283555805683136, 0.01603289693593979, -0.03725418820977211, 0.026397330686450005, -0.0320725254714489, -0.016474345698952675, -0.0013060058699920774, 0.07585076242685318, 0.042342908680438995, 0.017890628427267075, -0.014167158864438534, -0.025429274886846542, 0.02789471298456192, -0.04822651296854019, -0.010791591368615627, -0.006257500499486923, 0.005054844077676535, -0.020744191482663155, 0.05287922918796539, 0.03468804061412811, -0.06409967690706253, -0.07399122416973114, 0.0625627189874649, -0.011115990579128265, 0.007938548922538757, 0.0011212724493816495, 0.033386267721652985, 0.034873317927122116, 0.022521845996379852, -0.02914832904934883, 0.00925181433558464, -0.022384028881788254, -0.03246447071433067, 0.05854712426662445, -0.010230309329926968, 0.032892778515815735, 0.013499398715794086, -0.04471394792199135, -0.02303234674036503, 0.043370671570301056, 0.03050861693918705, 0.032834019511938095, -0.0276426263153553, -0.03624270111322403, 0.03587329015135765, -0.009530819952487946, -0.029737168923020363, 0.01660262793302536, -0.0016514589078724384, -0.042170505970716476, 0.0347822830080986, 0.005658471491187811, -0.016379045322537422, 0.05022076889872551, 0.040673501789569855, -0.006746473256498575, 0.08975614607334137, -0.01913028582930565, 0.004887320566922426, 0.04562503844499588, -0.06214730069041252, -0.003914104774594307, -0.07715847343206406, 0.06969879567623138, -0.05576862767338753, 0.039140552282333374, 0.05162891373038292, 0.008744640275835991, 0.01023756805807352, -0.015885094180703163, -0.054854441434144974, 0.011569280177354813, -0.05826403945684433, 0.07557687163352966, 0.01794508844614029, -0.06213420256972313, 0.046688951551914215, 0.030659470707178116, -0.061830002814531326, 0.056732237339019775, 0.0357181690633297, 0.06327047199010849, 0.051567260175943375, 0.037814754992723465, -0.052872296422719955, -0.0006727201980538666, -0.03262535482645035, 0.042890261858701706, -0.03722773492336273, -0.03625299036502838, 0.031466469168663025, -0.03497810289263725, -0.03177911415696144, 0.02371249534189701, 0.0015695852926000953, -0.022770339623093605, 0.04343147575855255, -0.060539040714502335, -0.031207211315631866, 0.020162280648946762, 0.03979411721229553, -0.06412796676158905, 0.010972786694765091, -0.043940555304288864, 0.009625528939068317, 0.007195965386927128, 0.00839843787252903, -0.012382789514958858, -0.00015130089013837278, 0.03029429167509079, -0.06178510934114456, -0.03060089983046055, 0.013116201385855675, -0.012674763798713684, -0.029268717393279076, 0.008986324071884155, -0.0009979817550629377, 0.012041443958878517, 0.024210143834352493, 0.002171802334487438, 0.012847084552049637, -0.03893790766596794, -0.013969110324978828, 0.00702774478122592, -0.024694295600056648, 0.014683407731354237, 0.003529108827933669, 0.043631959706544876, 0.03370533883571625, 0.016952387988567352, -0.004758838098496199, -0.028419386595487595, -0.03929406404495239, 0.05031294375658035, -0.007941249758005142, 0.0000807731194072403, -0.023263635113835335, -0.05286801978945732, -0.04231448099017143, -0.009310733526945114, -0.03291282057762146, 0.023964662104845047, -0.0403728187084198, -0.012241607531905174, 0.017327096313238144, -0.004965882748365402, -0.06338371336460114, -0.11864729970693588, -0.007684863172471523, -0.04911237582564354, -0.006284343544393778, 0.043783508241176605, -0.04854143410921097, 0.0315520241856575, -0.08801539242267609, -0.04076695814728737, 0.06826920062303543, 0.033814795315265656, -0.04197769984602928, 0.03159681335091591, 0.02801467292010784, -0.03999195247888565, 0.010445047169923782, 0.03936174511909485, -0.03472217544913292, 0.0106312595307827, 0.011865022592246532, 0.04078444838523865, 0.037972912192344666, 0.016248829662799835, -0.028654055669903755, 0.005632367916405201, -0.07236882299184799, -0.05835661292076111, -0.057590749114751816, 0.024142444133758545, 0.07101861387491226 ]
Ayran/DialoGPT-small-harry-potter-1-through-3
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
2021-07-23T14:06:36Z
--- license: mit tags: - generated_from_trainer datasets: - commonsense_qa metrics: - accuracy model_index: - name: roberta-large-finetuned-csqa results: - dataset: name: commonsense_qa type: commonsense_qa args: default metric: name: Accuracy type: accuracy value: 0.7330057621002197 --- <!-- 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. --> # roberta-large-finetuned-csqa This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on the commonsense_qa dataset. It achieves the following results on the evaluation set: - Loss: 0.9146 - Accuracy: 0.7330 ## 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: 1e-05 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 5 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 1.3903 | 1.0 | 609 | 0.8845 | 0.6642 | | 0.8939 | 2.0 | 1218 | 0.7054 | 0.7281 | | 0.6163 | 3.0 | 1827 | 0.7452 | 0.7314 | | 0.4245 | 4.0 | 2436 | 0.8369 | 0.7355 | | 0.3258 | 5.0 | 3045 | 0.9146 | 0.7330 | ### Framework versions - Transformers 4.9.0 - Pytorch 1.9.0 - Datasets 1.10.2 - Tokenizers 0.10.3
[ -0.016362423077225685, 0.015201004222035408, 0.0012923198519274592, 0.02858356572687626, 0.034076374024152756, 0.00608078483492136, -0.020388036966323853, -0.01604124903678894, -0.03954643756151199, 0.03693355992436409, 0.011945090256631374, -0.0180739127099514, 0.017967527732253075, 0.058094799518585205, -0.02333737351000309, -0.025134490802884102, -0.01354596670717001, 0.005833291448652744, -0.0318734347820282, -0.027694670483469963, -0.006178302224725485, -0.021488089114427567, -0.01285478100180626, -0.009300769306719303, 0.004229149781167507, 0.004888970870524645, 0.015570295974612236, 0.018346425145864487, 0.03618404269218445, -0.0767226442694664, 0.016019079834222794, -0.04884779453277588, -0.03139593079686165, -0.03234613314270973, 0.010443353094160557, -0.003988375421613455, 0.01407851092517376, 0.03343592956662178, 0.021183723583817482, 0.04007827863097191, 0.011450459249317646, 0.027472909539937973, -0.004196227062493563, -0.041263826191425323, 0.038835540413856506, -0.019467612728476524, -0.06094023957848549, -0.021196508780121803, 0.02665659412741661, -0.00969837885349989, -0.06409261375665665, -0.06701991707086563, -0.009614875540137291, 0.019728368148207664, -0.018438192084431648, 0.0024142011534422636, -0.048069100826978683, -0.003336865222081542, 0.0697052925825119, -0.0484696589410305, -0.03807267174124718, 0.016818081960082054, -0.08033356815576553, 0.01939183846116066, 0.04377109184861183, -0.048943012952804565, 0.011873557232320309, -0.04473509639501572, 0.04725055396556854, -0.004576622508466244, 0.07613199204206467, -0.03510064259171486, 0.016784517094492912, -0.066813163459301, 0.015336645767092705, -0.01655830815434456, 0.02384181320667267, 0.0481242798268795, -0.0270735714584589, 0.04267347976565361, 0.03383668139576912, 0.023209063336253166, 0.02776508219540119, -0.016435101628303528, 0.015693768858909607, 0.03318517655134201, -0.03692073002457619, 0.007612599525600672, 0.051417455077171326, 0.03015262819826603, -0.024778297170996666, -0.051683686673641205, -0.03031439334154129, -0.015479310415685177, -0.017509769648313522, 0.03450731933116913, 0.04797541722655296, -0.007146649993956089, 0.01797235570847988, 0.010468833148479462, 0.0249056126922369, 0.03245203197002411, -0.03236846253275871, 0.06515670567750931, -0.020534979179501534, -0.00425443472340703, -0.019287262111902237, -0.0092390775680542, -0.025794247165322304, 0.028689876198768616, 0.03504757955670357, -0.04895152896642685, -0.019176052883267403, 0.026804236695170403, 0.024357512593269348, 0.01010491419583559, 0.07624164968729019, -0.014612456783652306, -0.05332435294985771, -0.05590289458632469, 0.03905737027525902, 0.02975771389901638, 0.013666358776390553, 0.03192705288529396, -0.046668507158756256, -0.018046017736196518, -0.017227010801434517, -0.04270875081419945, -0.004278777167201042, 0.012638404034078121, -0.005725609138607979, 0.04064520075917244, 0.008088893257081509, -0.09046682715415955, -0.00839553214609623, 0.01980215311050415, -0.056245628744363785, 0.02726476825773716, 0.0014803402591496706, 0.12484623491764069, -0.05274871736764908, -0.0756509080529213, 0.021439984440803528, 0.011882628314197063, -0.011037534102797508, 0.024003788828849792, 0.006116949021816254, -0.01924697309732437, -0.017539897933602333, 0.003353560110554099, 0.061032626777887344, -0.06168904900550842, 0.017921147868037224, 0.06516310572624207, 0.004364480264484882, 0.05464385822415352, -0.04850040003657341, -0.033683791756629944, 0.023422658443450928, -0.022673338651657104, -0.0013465735828503966, 0.04267417639493942, -0.02678540162742138, -0.007597915828227997, -0.013969078660011292, -0.03943728283047676, -0.009731975384056568, 0.11411430686712265, 0.006227841135114431, -0.024900173768401146, -0.026258978992700577, 0.03274335339665413, 0.031915146857500076, 0.049378760159015656, -0.02770443819463253, 0.05056438595056534, 0.04058434069156647, 0.028313875198364258, -0.015663933008909225, 0.018630515784025192, 0.02450130507349968, -0.026141535490751266, -0.03687889501452446, 0.03184371814131737, 0.008480072021484375, -0.051082052290439606, 0.037696439772844315, 0.01881411112844944, 0.004481964278966188, -0.061818499118089676, -0.06249655783176422, 0.0800267830491066, -0.01908034086227417, 0.003942681942135096, -0.013982993550598621, 0.004306269343942404, -0.020803917199373245, 0.06311529129743576, -0.011396493762731552, 0.011929764412343502, -0.029507070779800415, -0.05392751470208168, 0.03526092320680618, 0.012578842230141163, 0.0042340513318777084, 0.06013521924614906, -0.02281525358557701, 0.08631245046854019, -0.027569176629185677, 0.022686224430799484, -0.042715657502412796, -0.03079596534371376, 0.008232374675571918, 0.056571703404188156, 0.020255809649825096, 0.0371580496430397, 0.0014488027663901448, -0.04431920126080513, 0.03504673019051552, 0.08241501450538635, 0.04712367430329323, 0.008441454730927944, -0.01242038607597351, -0.021952040493488312, 0.023357782512903214, 0.037260252982378006, -0.05073126405477524, -0.03370155766606331, 0.016606386750936508, 0.04265265539288521, -0.004278919193893671, 0.02012857422232628, -0.03214254975318909, 0.010843698866665363, -0.05693276599049568, -0.07552716881036758, 0.04355282336473465, 0.02710341289639473, -0.00196774210780859, 0.04880426079034805, -0.01641034707427025, -0.00333982496522367, 0.013469342142343521, 0.0018729575676843524, 0.00342653994448483, -0.039847541600465775, 0.027357742190361023, 0.01736867055296898, 0.05698695406317711, -0.05988350510597229, 0.03633267804980278, -0.010326406918466091, 0.019691437482833862, 0.026262866333127022, -0.0412052720785141, 0.01512144971638918, 0.0755593329668045, 0.03150384873151779, -0.005790607538074255, 0.005873227026313543, 0.039032697677612305, 0.013430020771920681, 0.054110087454319, -0.0035534044727683067, 0.05126745626330376, 0.014403335750102997, 0.036568764597177505, 0.06809183955192566, -0.0024652285501360893, 0.022248394787311554, 0.005740733817219734, 0.07374617457389832, 0.03409365192055702, -0.013759885914623737, 0.02808884158730507, -0.055340852588415146, 0.0357494093477726, -0.027580173686146736, -0.0010893807047978044, -0.0336734913289547, -0.012476510368287563, 0.040278609842061996, 0.02645561657845974, -0.01952146179974079, -0.016390087082982063, -0.016804104670882225, -0.01905033364892006, 0.016771409660577774, -0.035277433693408966, -0.0003457393613643944, -0.035779375582933426, -0.0017222100868821144, -0.03742845728993416, -0.055446870625019073, -0.049138784408569336, -0.005719208158552647, -0.02732902579009533, -0.021209418773651123, -0.08153505623340607, -0.005493872798979282, -0.07182464003562927, -0.025135131552815437, 0.04436151683330536, 0.0387093648314476, -0.026269810274243355, -0.04329617694020271, 0.000812858750578016, -0.05005250871181488, -0.03865180164575577, -0.0471583716571331, -0.048170555382966995, -0.04259802773594856, -0.06488902866840363, 0.03493942320346832, 0.03429089114069939, 0.04700528830289841, 0.004100867081433535, 0.003114912658929825, 0.0077054984867572784, -0.02299490198493004, 0.06137125939130783, 0.04229548200964928, -0.019194073975086212, -0.046768467873334885, 0.024307996034622192, -0.00047992379404604435, 0.003532846923917532, -0.008130556903779507, -0.013293597847223282, 0.0905216708779335, 0.07020606845617294, 0.009456535801291466, -0.0006841816939413548, -0.011758856475353241, -0.04773447662591934, -0.01857229508459568, -0.02178352326154709, -0.02285035513341427, -0.00449118297547102, -0.042343832552433014, -0.037084076553583145, -0.0007350199157372117, -0.018413105979561806, 0.014457084238529205, 0.006143377162516117, 0.003925668075680733, 0.030488699674606323, 0.03771595656871796, 0.04088165983557701, 0.021475067362189293, -0.029429446905851364, -0.03276650607585907, 0.07062263786792755, 0.021538756787776947, 0.022097095847129822, -0.0620412714779377, -0.0224525835365057, 0.042595699429512024, 0.006171104963868856, 0.022289888933300972, -0.009534956887364388, 0.07016149163246155, -0.011141511611640453, -0.010344170033931732, 0.017060713842511177, -0.017481867223978043, -0.03135679289698601, -0.027647588402032852, 0.0040010856464505196, -0.030896021053195, -0.04793514311313629, -0.014682082459330559, -0.022061068564653397, 0.059322603046894073, -0.05455513671040535, -0.06426607072353363, -0.03959023207426071, 0.02212541550397873, 0.05169883370399475, -0.0053152707405388355, -0.029808081686496735, -0.02103787288069725, -0.04209727421402931, -0.005243903491646051, 0.04996643587946892, 0.027474500238895416, 0.00068136234767735, 0.04792090132832527, 0.008310730569064617, -0.014232387766242027, 0.04271844029426575, 0.03691617771983147, 0.0637097954750061, 0.015968546271324158, -0.0628919005393982, 0.009695004671812057, -0.022643819451332092, 0.020045051351189613, 0.009444138966500759, -0.020145805552601814, -0.05502099171280861, -0.0917433425784111, 0.000010008572644437663, 0.008833683095872402, -0.00012303146650083363, -0.025451375171542168, 0.03008989989757538, 0.010314744897186756, -0.004334251396358013, -0.0014593624509871006, -0.008332954719662666, 0.06212080642580986, -0.052030935883522034, 0.06626329571008682, 0.01745254173874855, 0.0033674805890768766, -0.02565097250044346, 0.004185824189335108, -0.04676327854394913, -0.014860543422400951, 0.032790929079055786, 0.05646584928035736, -0.003603969467803836, 0.07612938433885574, 0.07872992753982544, 0.027705145999789238, -0.029425712302327156, 0.026382382959127426, 0.07115676999092102, -0.03190121054649353, -0.029918940737843513, -0.01040351577103138, -0.0055368742905557156, -0.0285640936344862, -0.022518234327435493, -0.013859733939170837, 0.06245342642068863, 0.030942004173994064, -0.007015949580818415, 0.014598628506064415, -0.004073311109095812, -0.009693190455436707, -0.038087014108896255, -0.03589561954140663, -0.008601303212344646, 0.008097829297184944, -0.026876280084252357, 0.023815862834453583, 0.04122823476791382, 0.01705823466181755, 0.038175731897354126, 0.04037361964583397, -0.021055404096841812, -0.03646102547645569, 0.033622805029153824, 0.006880480330437422, -0.03976015746593475, -0.061623524874448776, -0.019630804657936096, 0.04319603368639946, 0.028538739308714867, 0.0009354227222502232, -0.059028252959251404, 0.014368739910423756, 0.08030584454536438, -0.06675148755311966, 0.04224313423037529, -0.01713925413787365, 0.029910443350672722, 0.061962466686964035, -0.016714153811335564, 0.0471620075404644, -0.01435250323265791, -0.002473600907251239, 0.004314908292144537, 0.05051880329847336, -0.016196969896554947, -0.016360411420464516, -0.05431511998176575, 0.016748137772083282, 0.04580303281545639, 0.03238888084888458, 0.04992705583572388, -0.019360486418008804, -0.024183258414268494, 0.010095070116221905, 0.04222305119037628, -0.05712321773171425, 0.026443831622600555, 0.015207231044769287, 0.012409734539687634, -0.04649746045470238, -0.03240007907152176, -0.006900205742567778, -0.017892733216285706, 0.03401028737425804, 0.005616299342364073, -0.0397983156144619, -0.05546003580093384, 0.039834875613451004, -0.025493508204817772, -0.041307784616947174, -0.046254172921180725, 0.06277818977832794, 0.007905528880655766, 0.0074922326020896435, 0.046035878360271454, 0.012722233310341835, 0.03724176809191704, 0.055980514734983444, 0.00730815390124917, -0.010574812069535255, -0.03096654638648033, 0.03632265701889992, -0.03291717544198036, -0.0183870866894722, -0.000011914517926925328, -0.030798407271504402, -0.046581946313381195, -0.00844275951385498, -0.04584382101893425, -0.02740691602230072, -0.01120779849588871, 0.01928204670548439, 0.0039047421887516975, -0.013878470286726952, -0.012865330092608929, 0.044745054095983505, -0.019798612222075462, -0.017572825774550438, -0.014275582507252693, -0.031562142074108124, -0.05833587050437927, -0.029209883883595467, 0.038903310894966125, 0.01795097626745701, 0.03285059705376625, 0.056005023419857025, 0.019558804109692574, 0.001919079921208322, 0.015671759843826294, -0.0621948279440403, 0.009672342799603939, -0.013496595434844494, -0.011841134168207645, -0.049435462802648544, 0.02229108102619648, 0.03482570871710777, 0.030271096155047417, -0.04116904363036156, 0.04041295498609543, 0.01927967742085457, 0.0108844805508852, -0.005370594095438719, 0.02699975296854973, 0.030542481690645218, -0.07534308731555939, -0.037167053669691086, 0.008273735642433167, -0.01837870292365551, 0.032518256455659866, -0.04499270021915436, 0.007834798656404018, 0.0029127574525773525, 0.0018174067372456193, 0.03569360077381134, -0.00412076897919178, -0.01825985684990883, 0.008823519572615623, -0.020412951707839966, 0.013103427365422249, -0.03546189144253731, 0.0675334483385086, -0.038200702518224716, 0.010265720076858997, -0.027310078963637352, -0.005426075309514999, -0.03320359066128731, 0.04607243090867996, -0.008234563283622265, -0.009782989509403706, -0.00894386600703001, 0.0714789554476738, -0.019439082592725754, 0.019177136942744255, -0.011990734376013279, 0.04138573259115219, -0.032358318567276, 0.07650677114725113, -0.03405259922146797, 0.0011136055691167712, -0.022551678121089935, 0.007550287060439587, -0.03043084591627121, 0.013464446179568768, -0.03473149240016937, -0.026007791981101036, 0.0033215892035514116, 0.07398869842290878, 0.03811275213956833, 0.010304249823093414, -0.00574066024273634, -0.031136229634284973, 0.021605100482702255, -0.06641723960638046, -0.012658768333494663, -0.009667417034506798, -0.0069786906242370605, -0.017611388117074966, 0.05172815918922424, 0.0425485223531723, -0.06331022083759308, -0.07671361416578293, 0.046520113945007324, -0.016242822632193565, 0.013746324926614761, 0.010776055976748466, 0.027097858488559723, 0.026705393567681313, 0.025327758863568306, -0.031042946502566338, 0.018233953043818474, -0.01885322667658329, -0.0290224589407444, 0.04312669113278389, -0.005311842076480389, 0.01987016573548317, 0.01336284913122654, -0.05482601374387741, -0.01702684350311756, 0.04092160239815712, 0.0327819399535656, 0.02087406814098358, -0.016609109938144684, -0.051990706473588943, 0.03920722380280495, 0.0009133713319897652, -0.030445225536823273, 0.014723541215062141, -0.003867515129968524, -0.030045285820961, 0.03896559029817581, 0.000014930305042071268, -0.01030751783400774, 0.06611113995313644, 0.04222135245800018, -0.02250685729086399, 0.07096003741025925, -0.011822782456874847, 0.0165982898324728, 0.050743140280246735, -0.08188197016716003, -0.014473934657871723, -0.0657779797911644, 0.07574653625488281, -0.059502746909856796, 0.04640362784266472, 0.050033800303936005, 0.007346160709857941, 0.007073297630995512, -0.015572074800729752, -0.05027744919061661, -0.004244610201567411, -0.04680943489074707, 0.06315498054027557, 0.0035518158692866564, -0.0724518671631813, 0.05938539281487465, 0.029959747567772865, -0.0654158964753151, 0.061554037034511566, 0.02710852213203907, 0.05126171559095383, 0.05188416317105293, 0.03430257365107536, -0.04647199437022209, 0.023038657382130623, -0.04334508627653122, 0.04565930739045143, -0.034820783883333206, -0.03568042442202568, 0.034969158470630646, -0.021478895097970963, -0.03516295179724693, 0.03339942544698715, 0.01357102207839489, -0.0069497148506343365, 0.04762883484363556, -0.05783555656671524, -0.02681434527039528, 0.015662526711821556, 0.0365721769630909, -0.049060117453336716, 0.005052848719060421, -0.03574203699827194, 0.01673329435288906, 0.02585897035896778, -0.0045485286973416805, -0.00014180492144078016, -0.012628854252398014, 0.0334424264729023, -0.0602998323738575, -0.034912336617708206, 0.02243015542626381, -0.0019980939105153084, -0.02124372124671936, 0.01646846905350685, -0.0035055980551987886, 0.015163282863795757, 0.02111339196562767, 0.0004986023996025324, 0.0033924845047295094, -0.048654280602931976, -0.014215095899999142, 0.011855768039822578, -0.017116552218794823, 0.028326231986284256, 0.0010193685302510858, 0.03159857913851738, 0.03934333100914955, 0.03217598795890808, -0.012094493955373764, -0.02323581837117672, -0.041413359344005585, 0.06019553169608116, -0.003712898353114724, -0.005565599072724581, -0.031281571835279465, -0.05621372535824776, -0.04011617228388786, -0.008803176693618298, -0.028920600190758705, 0.02402540110051632, -0.047802072018384933, 0.013103318400681019, 0.02488902024924755, -0.014885026961565018, -0.0488610602915287, -0.1067863255739212, -0.030912496149539948, -0.02505451813340187, -0.02749396488070488, 0.02491176314651966, -0.03088398091495037, 0.02503868006169796, -0.07337477803230286, -0.0446074977517128, 0.06693248450756073, 0.02892940118908882, -0.033924054354429245, 0.04086369648575783, 0.016075512394309044, -0.031086750328540802, -0.005046805366873741, 0.04811297729611397, -0.03424958512187004, 0.012365859933197498, 0.0008705483633093536, 0.014203212223947048, 0.03163738548755646, 0.006001269444823265, -0.03881751745939255, 0.0009040652075782418, -0.050883423537015915, -0.04610798880457878, -0.0525243803858757, 0.014936299063265324, 0.07859266549348831 ]
AyushPJ/ai-club-inductions-21-nlp-ALBERT
[ "pytorch", "albert", "question-answering", "transformers", "generated_from_trainer", "autotrain_compatible" ]
question-answering
{ "architectures": [ "AlbertForQuestionAnswering" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- tags: - conversational --- #Harry Potter DialoGPT
[ -0.02210344560444355, 0.0015934929251670837, 0.008926743641495705, 0.02944374829530716, 0.011930630542337894, 0.01766459457576275, 0.003887080354616046, 0.012121705338358879, -0.017787707969546318, 0.010743756778538227, 0.026667309924960136, -0.030164318159222603, 0.0073508527129888535, 0.038772474974393845, -0.02795611135661602, -0.02089373581111431, -0.04048769176006317, -0.011945388279855251, -0.007661646697670221, -0.02723359316587448, 0.026731234043836594, 0.023197269067168236, -0.027766145765781403, 0.041666995733976364, 0.0045537580735981464, 0.013430996797978878, -0.021694401279091835, 0.006162968929857016, 0.03605514019727707, -0.04986698552966118, 0.004695559851825237, -0.04607321694493294, -0.04321823641657829, -0.01693105138838291, -0.030637864023447037, -0.02925189957022667, 0.0035191490314900875, 0.005718755070120096, 0.0005366156110540032, 0.0301615372300148, -0.017031334340572357, 0.00856748502701521, 0.0067824628204107285, -0.06701116263866425, 0.07413025945425034, -0.009764543734490871, -0.044219207018613815, -0.009484611451625824, 0.016896313056349754, -0.04454239085316658, -0.03919358178973198, -0.06069961562752724, -0.061343174427747726, -0.0258847177028656, 0.02822692319750786, -0.038438744843006134, -0.07063194364309311, -0.00022641208488494158, 0.0856877788901329, -0.02169238217175007, -0.001586357713676989, -0.003932799678295851, -0.059243761003017426, 0.003693904262036085, 0.01689811982214451, -0.08808491379022598, 0.03148246183991432, -0.031051423400640488, 0.008282285183668137, -0.03822991997003555, 0.060182712972164154, -0.06225063279271126, 0.023967096582055092, -0.08068075031042099, -0.0018706489354372025, 0.004394848365336657, 0.061995405703783035, 0.06052893400192261, -0.049815792590379715, 0.056128229945898056, 0.03925970569252968, 0.020591769367456436, 0.042163047939538956, -0.020510008558630943, -0.03911282494664192, 0.04252517968416214, -0.03770606219768524, -0.011220683343708515, 0.007063718978315592, 0.04900016635656357, -0.017356421798467636, -0.04545771703124046, -0.04246729984879494, -0.008896479383111, 0.004684107378125191, 0.059200435876846313, 0.024479616433382034, -0.028439337387681007, 0.008899171836674213, 0.054443154484033585, 0.021848376840353012, 0.05004918947815895, -0.028418054804205894, 0.03391171246767044, -0.01876106858253479, 0.023708684369921684, 0.028643129393458366, -0.01693478226661682, -0.02979367785155773, 0.02658151276409626, 0.013421551324427128, -0.04177100211381912, -0.028070978820323944, 0.04487702250480652, 0.032833777368068695, 0.01384740136563778, 0.029422519728541374, -0.03991403803229332, -0.036591533571481705, -0.04961274564266205, 0.04844751954078674, -0.007326420862227678, 0.0013917606556788087, -0.0008097366662696004, -0.05355072766542435, -0.00346332136541605, -0.05006108805537224, -0.030808383598923683, -0.010463841259479523, 0.004173317924141884, 0.02887783572077751, 0.041875798255205154, -0.04009690135717392, -0.05490873381495476, 0.021349020302295685, 0.048055101186037064, -0.052847959101200104, -0.007385300472378731, 0.05756537988781929, 0.09217611700296402, -0.07122841477394104, -0.02364305593073368, 0.0076618199236691, 0.012122579850256443, -0.03309410810470581, 0.005764765199273825, 0.0016766608459874988, -0.015385682694613934, -0.057683397084474564, -0.008327153511345387, 0.004660573322325945, -0.05614035949110985, -0.017767246812582016, 0.04516340419650078, -0.01623910665512085, 0.0066778031177818775, -0.03268942981958389, 0.004861829802393913, -0.019758006557822227, -0.03717457503080368, -0.044386621564626694, 0.03355737775564194, -0.017809219658374786, -0.01965511031448841, -0.058456528931856155, -0.04402324929833412, 0.00846826657652855, 0.07201294600963593, 0.017496423795819283, -0.02436232753098011, -0.029851745814085007, 0.05139704421162605, 0.062120985239744186, 0.03782562166452408, -0.01890980638563633, 0.02305006980895996, 0.03185280039906502, 0.024937715381383896, -0.02386682853102684, 0.0559762641787529, 0.013451478444039822, -0.04095564782619476, -0.05148975923657417, -0.02634749561548233, 0.023542536422610283, -0.00563028734177351, 0.01605233922600746, 0.035100266337394714, -0.03189216926693916, -0.04180439934134483, 0.02221646159887314, 0.057103343307971954, -0.027055423706769943, -0.0034149063285440207, -0.005451541393995285, -0.010894843377172947, -0.027294207364320755, 0.047492336481809616, -0.04830833151936531, 0.007008664309978485, -0.017183037474751472, 0.004717081319540739, 0.026481572538614273, -0.005797887686640024, -0.019514260813593864, 0.028077498078346252, -0.002599383471533656, 0.08772705495357513, -0.021150264889001846, 0.02646932750940323, -0.02234656922519207, -0.008146821521222591, -0.027813035994768143, 0.023678278550505638, 0.021151624619960785, 0.03768513351678848, -0.05059291794896126, -0.05692312866449356, 0.027076570317149162, 0.06379734724760056, 0.02627474255859852, 0.03662892431020737, -0.020551234483718872, -0.007703118957579136, 0.03098847158253193, 0.032896339893341064, -0.02568926475942135, 0.0010034842416644096, -0.003488645190373063, 0.03337636962532997, -0.004173233173787594, -0.03500223532319069, -0.03697590157389641, -0.008431194350123405, -0.029189564287662506, -0.08242478221654892, 0.049036990851163864, 0.017087070271372795, -0.02112942561507225, 0.014267045073211193, -0.020201897248625755, 0.026455923914909363, 0.03453579917550087, 0.008919015526771545, 0.010499204508960247, -0.07168573141098022, -0.0056157237850129604, -0.006918631494045258, 0.08570896089076996, -0.04452839493751526, 0.004850368946790695, 0.011494430713355541, 0.02050921879708767, 0.04544903710484505, -0.0011555623495951295, 0.03085465356707573, 0.06719634681940079, 0.0461290180683136, -0.030065268278121948, 0.041867997497320175, 0.006335548125207424, 0.05147726833820343, 0.05532590672373772, 0.0015788094606250525, 0.055086493492126465, -0.005719107575714588, 0.029070977121591568, 0.02592538855969906, 0.010391009971499443, -0.029766544699668884, 0.044972509145736694, 0.07622742652893066, 0.0000926717184484005, 0.02665862627327442, 0.03315593674778938, 0.0009297857177443802, 0.008119238540530205, -0.035262227058410645, -0.003606121288612485, 0.010046888142824173, -0.016736779361963272, 0.058356668800115585, 0.008306245319545269, -0.018017293885350227, -0.01314625982195139, -0.01835881546139717, -0.015451672486960888, 0.03911950811743736, -0.01897411234676838, -0.0051612998358905315, -0.017378760501742363, 0.0015164654469117522, 0.02022918127477169, -0.05886320769786835, -0.07303198426961899, -0.009810743853449821, -0.03724183514714241, 0.009600276127457619, -0.10718454420566559, -0.037796854972839355, -0.05094221979379654, -0.018599312752485275, 0.048922907561063766, 0.01420394517481327, 0.026918506249785423, 0.002982169622555375, -0.0014963556313887239, -0.026229344308376312, -0.056768998503685, -0.058231137692928314, -0.008776961825788021, -0.01167087722569704, -0.05480169877409935, 0.03427455946803093, 0.034320294857025146, 0.057510823011398315, 0.010569697245955467, -0.030562054365873337, -0.0568198636174202, -0.006651356350630522, 0.06014353409409523, 0.02699943818151951, -0.04065999761223793, -0.018085235729813576, -0.002909136237576604, 0.02175588719546795, 0.0068191480822861195, -0.01582440733909607, -0.05063534900546074, 0.06889628618955612, 0.031542450189590454, 0.019436661154031754, 0.002342347986996174, -0.006128797773271799, -0.030402760952711105, -0.02386978454887867, -0.035560522228479385, -0.040700726211071014, -0.008726787753403187, -0.044021040201187134, -0.06443030387163162, -0.033697549253702164, -0.06601989269256592, 0.008299332112073898, -0.003914790228009224, 0.008829815313220024, 0.01809210516512394, 0.02574879117310047, 0.04073338955640793, 0.019033104181289673, -0.027209553867578506, -0.004597376100718975, 0.034588608890771866, -0.009126025252044201, -0.024815460667014122, -0.08485103398561478, -0.05845613032579422, 0.008313063532114029, 0.019515087828040123, -0.005947674158960581, -0.0005262475460767746, 0.02422403357923031, 0.025737684220075607, -0.0008646032074466348, 0.023938333615660667, -0.04863380268216133, 0.014162924140691757, -0.037447549402713776, -0.041796814650297165, -0.03389986604452133, -0.01903904415667057, -0.015555228106677532, -0.010136202909052372, 0.04383670911192894, -0.0803421139717102, -0.021708721294999123, -0.020987410098314285, 0.002112605143338442, 0.018739400431513786, 0.008689547888934612, -0.05916803702712059, 0.006077819038182497, -0.04270829260349274, -0.03079717792570591, -0.025425635278224945, -0.029237275943160057, 0.00763083016499877, 0.03051968850195408, 0.036973077803850174, -0.045803770422935486, 0.05202297866344452, 0.004096669144928455, 0.05755743384361267, 0.07354820519685745, -0.0159075278788805, 0.04006677120923996, -0.04670485481619835, 0.039653461426496506, 0.002296993276104331, -0.0424024760723114, -0.05906917154788971, -0.0978960320353508, -0.05188966915011406, 0.02647976577281952, -0.008808836340904236, 0.008053665049374104, 0.040909893810749054, -0.05629923939704895, -0.04312178120017052, 0.013693473301827908, 0.029468506574630737, 0.048524241894483566, -0.03375706076622009, 0.0510127954185009, -0.001006208243779838, 0.008548291400074959, -0.04899764433503151, 0.003213841002434492, -0.05661453306674957, -0.024557897821068764, -0.00802640151232481, 0.04698505997657776, 0.005004776641726494, 0.059972021728754044, 0.06265602260828018, 0.049599260091781616, -0.05564219877123833, 0.06259436905384064, 0.0779857337474823, 0.0004606226575560868, -0.034108687192201614, -0.003777865320444107, -0.007428434677422047, -0.00040521210758015513, 0.007123065181076527, -0.013616020791232586, 0.01759175956249237, 0.04398370534181595, 0.008737861178815365, 0.0012711966410279274, 0.042838625609874725, -0.0064319162629544735, -0.014793976210057735, -0.08201318979263306, 0.008499972522258759, -0.025399714708328247, -0.033635616302490234, 0.04901491850614548, 0.0394233874976635, 0.0036302737426012754, 0.04873136430978775, 0.022909175604581833, -0.01300965715199709, -0.0468762144446373, 0.035423655062913895, 0.027001315727829933, -0.05092453584074974, -0.0550699308514595, -0.05558807775378227, 0.03566692769527435, 0.051988810300827026, -0.001373854698613286, -0.09654088318347931, 0.025343241170048714, 0.04735131561756134, -0.055002953857183456, 0.04787495732307434, 0.0170306209474802, 0.06543763726949692, 0.009916913695633411, 0.0152743523940444, 0.0320378839969635, -0.06078580021858215, 0.01878684014081955, -0.018401561304926872, 0.04955777898430824, -0.04320523515343666, -0.03804362192749977, -0.06606177985668182, 0.04564383253455162, 0.019658414646983147, 0.021738536655902863, 0.011312229558825493, -0.049141399562358856, -0.022190414369106293, -0.012899571098387241, 0.015317181125283241, -0.011750833131372929, 0.025016603991389275, 0.014070629142224789, 0.06447667628526688, -0.06652999669313431, 0.001964207971468568, 0.028932012617588043, 0.01697288267314434, 0.021416129544377327, -0.02902166172862053, -0.04453197866678238, -0.011750595644116402, 0.04054297134280205, -0.02238515205681324, 0.010234232060611248, -0.10103905946016312, 0.01916150376200676, -0.020435186102986336, -0.02094220370054245, 0.06541923433542252, 0.039845339953899384, 0.056187279522418976, 0.07077484577894211, -0.012967213988304138, 0.04333220422267914, -0.022677406668663025, 0.04937677085399628, -0.039172373712062836, -0.023336732760071754, 0.006452525965869427, -0.0828728973865509, -0.02256575971841812, -0.017695767804980278, -0.023037204518914223, -0.046068333089351654, 0.011111228726804256, -0.004628724418580532, -0.02243681624531746, 0.0062018283642828465, 0.001000779215246439, 0.0314001739025116, -0.015189968049526215, -0.036124419420957565, -0.0025322663132101297, -0.012131569907069206, -0.08813659101724625, -0.046123962849378586, 0.03185364231467247, -0.031940024346113205, 0.009399646893143654, -0.009384439326822758, 0.009038778021931648, 0.06912636756896973, 0.015319161117076874, -0.010194397531449795, 0.01065437588840723, 0.03397214412689209, -0.04705109819769859, -0.007403753697872162, 0.005263017024844885, 0.00063609320204705, 0.011961709707975388, -0.038311854004859924, 0.0434383861720562, -0.004972758237272501, -0.05335714668035507, -0.03586592152714729, 0.039372675120830536, -0.003219472710043192, -0.07969623804092407, -0.0006068192888051271, -0.0121987946331501, -0.03462422639131546, 0.010224663652479649, -0.03970571234822273, -0.028525907546281815, -0.0034162281081080437, 0.0315103717148304, 0.021619321778416634, -0.0007867590175010264, -0.021556027233600616, 0.006401113234460354, -0.015408291481435299, 0.043183546513319016, -0.0651848241686821, 0.006648093927651644, -0.022019457072019577, 0.018691865727305412, -0.036590173840522766, 0.009679613634943962, -0.04372642934322357, 0.04685419052839279, -0.022700032219290733, -0.006847231648862362, 0.0025222066324204206, -0.01054497342556715, 0.009904574602842331, 0.022037668153643608, 0.0024601260665804148, 0.006605193018913269, -0.038248464465141296, 0.06492998450994492, -0.06787586212158203, 0.02241957187652588, -0.012415537610650063, -0.023933731019496918, -0.028046011924743652, 0.008127578534185886, -0.010332715697586536, -0.0500294528901577, 0.024824118241667747, 0.028930002823472023, 0.009071719832718372, 0.05030062422156334, 0.00815766490995884, 0.0010363460751250386, 0.0487234853208065, -0.048934511840343475, -0.05182570964097977, 0.017324155196547508, -0.017296163365244865, 0.009526335634291172, 0.05327870696783066, 0.03219597786664963, -0.051389358937740326, -0.03429275006055832, 0.033116865903139114, 0.04175128787755966, 0.014245841652154922, 0.018896136432886124, 0.04285593330860138, 0.05763384699821472, 0.06851153820753098, -0.00820327177643776, -0.007973137311637402, 0.02621963620185852, -0.0016060381894931197, -0.01611536368727684, -0.005520839709788561, 0.0012575187720358372, 0.014173615723848343, -0.026185819879174232, -0.017263302579522133, 0.07786697149276733, -0.0011864503612741828, 0.0050584119744598866, 0.00334682734683156, -0.03705017641186714, 0.0569971539080143, 0.018133582547307014, -0.05074472725391388, -0.00027739605866372585, 0.017558269202709198, -0.035785384476184845, 0.023281851783394814, -0.022436488419771194, 0.011051882058382034, 0.03697681427001953, 0.020369643345475197, 0.012864622287452221, 0.019246011972427368, -0.026189791038632393, -0.006522646173834801, 0.01955987699329853, -0.04190465435385704, -0.03401564806699753, -0.05160875618457794, 0.03330284357070923, -0.048859868198633194, 0.05038410797715187, 0.013493746519088745, 0.036100342869758606, 0.0016763622406870127, -0.02961929887533188, -0.01662575826048851, -0.02237531542778015, -0.045994311571121216, 0.06410703808069229, -0.024414658546447754, -0.049820493906736374, 0.07180491089820862, 0.03851880505681038, -0.08310749381780624, 0.025738254189491272, 0.02758789248764515, 0.04035365581512451, 0.013204137794673443, 0.049031246453523636, -0.03727855160832405, 0.019512202590703964, -0.04129057005047798, -0.0018870318308472633, -0.03644918277859688, -0.032666947692632675, -0.013547444716095924, -0.024595025926828384, 0.00968840904533863, 0.03334508463740349, -0.02976732701063156, 0.02597944624722004, 0.0015601677587255836, -0.034778088331222534, -0.044780682772397995, -0.012288903817534447, 0.03350699692964554, -0.010057128965854645, -0.0051568192429840565, 0.011602425947785378, 0.020236236974596977, 0.027623223140835762, -0.020546061918139458, -0.06320924311876297, 0.013596449047327042, -0.021231358870863914, -0.04817403480410576, -0.05642441287636757, 0.06615493446588516, 0.02331623062491417, -0.019627034664154053, -0.01395602710545063, 0.02688945271074772, 0.009783062152564526, 0.03431277349591255, -0.01739831641316414, 0.020910730585455894, -0.08338554948568344, 0.0026915199123322964, 0.029977969825267792, 0.027217376977205276, -0.02411716803908348, -0.013029785826802254, 0.011903383769094944, 0.06354415416717529, 0.058137182146310806, 0.003020418109372258, -0.03823215886950493, -0.028036264702677727, -0.0067569599486887455, -0.03765777125954628, 0.052543602883815765, 0.019661298021674156, -0.06307918578386307, -0.02803906798362732, -0.006599013227969408, 0.000020950084945070557, 0.018223239108920097, -0.046236246824264526, 0.021594299003481865, 0.006623391527682543, -0.008800237439572811, -0.03351050242781639, -0.0891084298491478, -0.04043271392583847, -0.019394176080822945, 0.021414930000901222, 0.0386296845972538, -0.07093946635723114, 0.012672589160501957, -0.022400235757231712, -0.017464516684412956, 0.05083683133125305, 0.011898012831807137, -0.01755731739103794, 0.07327068597078323, 0.04178791865706444, -0.050239283591508865, 0.058314479887485504, 0.02278120443224907, -0.04913360998034477, 0.05357089266180992, 0.012152889743447304, 0.035223230719566345, 0.0031935907900333405, 0.023875262588262558, -0.007167067378759384, 0.009345093742012978, -0.017268337309360504, -0.04694093018770218, 0.011562494561076164, 0.018940020352602005, 0.039147522300481796 ]
AyushPJ/ai-club-inductions-21-nlp-XLNet
[ "pytorch", "xlnet", "question-answering", "transformers", "generated_from_trainer", "autotrain_compatible" ]
question-answering
{ "architectures": [ "XLNetForQuestionAnsweringSimple" ], "model_type": "xlnet", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 250 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
null
## CALM This model is for ICLR2021 paper: [Pre-training Text-to-Text Transformers for Concept-centric Common Sense](https://openreview.net/forum?id=3k20LAiHYL2). Checkout our [Project website](https://inklab.usc.edu/calm-project) for details! ```bibtex @inproceedings{CALM2021, title={Pre-training Text-to-Text Transformers for Concept-centric Common Sense}, author={Wangchunshu Zhou and Dong-Ho Lee and Ravi Kiran Selvam and Seyeon Lee and Bill Yuchen Lin and Xiang Ren}, booktitle={ICLR}, year={2021} } ```
[ -0.03242654353380203, -0.010830007493495941, -0.029338354244828224, 0.03984128683805466, 0.027900632470846176, 0.041836511343717575, -0.010838622227311134, -0.005262671038508415, -0.031334761530160904, 0.030916685238480568, 0.03117452934384346, -0.016509631648659706, 0.03160613775253296, 0.021224455907940865, -0.03565899655222893, -0.023982521146535873, -0.023937951773405075, 0.01187390461564064, -0.019049737602472305, -0.029930075630545616, 0.010199986398220062, 0.009631922468543053, 0.009661491960287094, -0.012629274278879166, 0.0005023747798986733, 0.013634070754051208, -0.009546807035803795, 0.045325346291065216, 0.031002717092633247, -0.08166290819644928, 0.01571907475590706, -0.050017956644296646, -0.031199228018522263, -0.0027778155636042356, -0.018180495128035545, 0.02270909585058689, 0.00775948166847229, 0.00840809941291809, 0.03488841652870178, 0.069908007979393, -0.008873000741004944, 0.023144610226154327, 0.005108159966766834, -0.04275720193982124, 0.04046407714486122, 0.015221701934933662, -0.024574175477027893, -0.002623310312628746, 0.01776919700205326, -0.02396334707736969, -0.052914656698703766, -0.06921590119600296, -0.04724511504173279, 0.015266364440321922, -0.0022527596447616816, -0.012943080626428127, -0.05533392354846001, -0.01995118334889412, 0.03989451378583908, -0.007408466190099716, -0.0280228890478611, 0.03187384083867073, -0.06566120684146881, 0.04569799080491066, 0.04390207678079605, -0.054246507585048676, 0.0005976758548058569, -0.036203037947416306, 0.02759898081421852, -0.03178396075963974, 0.06737003475427628, -0.015235913917422295, -0.0041616614907979965, -0.10350503027439117, -0.009008600376546383, -0.034062568098306656, 0.05782864987850189, 0.0482134148478508, -0.028858868405222893, 0.07015963643789291, 0.04119204357266426, 0.0504479818046093, 0.036357298493385315, -0.000735700421500951, -0.010176313109695911, 0.04778360575437546, -0.05277692899107933, -0.019629059359431267, -0.013582952320575714, 0.07363486289978027, -0.03609006106853485, -0.055634506046772, -0.02870902232825756, -0.023585665971040726, -0.02887716330587864, 0.02476552687585354, 0.03878261521458626, -0.008763776160776615, 0.027678821235895157, 0.008751831017434597, 0.0705234706401825, 0.06143487989902496, -0.03820051997900009, 0.02578819915652275, 0.0015656606992706656, 0.0056494735181331635, -0.0007054634625092149, -0.007020014803856611, -0.036148518323898315, 0.05913916602730751, 0.015728052705526352, -0.03697467967867851, -0.030015256255865097, 0.011261232197284698, 0.027647631242871284, -0.038836780935525894, 0.03345871716737747, -0.02937016263604164, -0.04565640538930893, -0.06849799305200577, 0.04810156300663948, 0.012698723934590816, 0.008513126522302628, 0.013540584594011307, -0.06618332862854004, 0.03335423022508621, -0.052299853414297104, -0.004413910210132599, -0.019623633474111557, 0.010285519063472748, 0.031576383858919144, 0.039110876619815826, 0.0387098491191864, -0.05076627433300018, 0.01070088054984808, 0.016042310744524002, -0.05894533172249794, 0.05579061806201935, 0.04178661108016968, 0.09011704474687576, -0.10374317318201065, -0.019161252304911613, 0.024568870663642883, 0.023032061755657196, 0.005052197724580765, 0.024863583967089653, 0.015291091986000538, -0.04917921870946884, -0.035254646092653275, -0.006042188964784145, 0.08139465004205704, -0.06545316427946091, -0.020650627091526985, 0.050674114376306534, 0.00013952066365163773, 0.020504241809248924, -0.03511439636349678, -0.009170022793114185, 0.004525125492364168, 0.020312633365392685, -0.06470275670289993, 0.05641473829746246, -0.01727258414030075, -0.014081090688705444, -0.025365762412548065, -0.036513373255729675, 0.0056060305796563625, 0.07566120475530624, -0.013465224765241146, -0.05089471489191055, -0.006288533098995686, 0.007347725331783295, 0.04427887871861458, 0.02303527481853962, -0.05158957466483116, 0.03890414163470268, 0.07998014986515045, 0.07669264823198318, -0.005075715947896242, 0.06698863953351974, 0.025045564398169518, -0.028696266934275627, -0.02181718684732914, 0.013789931312203407, -0.03646378964185715, -0.02219371497631073, 0.018237624317407608, 0.006692878436297178, -0.030162805691361427, -0.015554951503872871, -0.01966683752834797, 0.031881190836429596, -0.010467519983649254, 0.004212625324726105, 0.0007343550096265972, -0.03746257722377777, -0.04561636596918106, 0.04362387955188751, -0.036834120750427246, 0.0049280342645943165, -0.016232024878263474, -0.03599176183342934, 0.0107520567253232, 0.012204835191369057, 0.0379856638610363, 0.03093956969678402, -0.04574624076485634, 0.07780382037162781, -0.03352702409029007, 0.0012517506256699562, -0.044380493462085724, -0.03678813576698303, 0.025761594995856285, 0.03427799046039581, 0.0025585880503058434, 0.037529170513153076, 0.03452301397919655, -0.035890132188797, 0.029131997376680374, 0.07024908065795898, 0.02912970632314682, 0.016629235818982124, -0.02305544912815094, 0.006115345284342766, 0.028535595163702965, 0.08066827058792114, -0.06310176104307175, -0.04964052513241768, 0.027634836733341217, 0.03787101060152054, -0.02512749470770359, 0.02796945534646511, -0.015380382537841797, 0.010486665181815624, -0.04968055337667465, -0.061208393424749374, 0.0297897607088089, 0.04686284810304642, -0.006786979269236326, 0.014431602321565151, 0.0032046004198491573, 0.013999812304973602, 0.03135691210627556, -0.004275464918464422, 0.019820446148514748, -0.04950355738401413, 0.0325067974627018, 0.0540400855243206, 0.03981098532676697, -0.04042597487568855, 0.05244329944252968, 0.0032211325597018003, 0.03421755135059357, 0.0406159907579422, -0.006451225373893976, 0.03848934546113014, 0.025190263986587524, 0.04019833728671074, -0.029529664665460587, 0.019291091710329056, 0.0005884084384888411, 0.031191803514957428, 0.0787433609366417, 0.007603015284985304, 0.052687134593725204, -0.03306078165769577, 0.04780929163098335, 0.08283724635839462, 0.008040478453040123, 0.023610059171915054, 0.03571988269686699, 0.0611119382083416, -0.015143031254410744, -0.01081137079745531, 0.04938013479113579, -0.044434674084186554, 0.0039049023762345314, -0.05203038081526756, 0.015846718102693558, 0.012748096138238907, -0.007106976583600044, 0.053214702755212784, -0.003767536021769047, -0.008216038346290588, 0.017790377140045166, -0.03174244239926338, -0.007722397800534964, 0.025418121367692947, 0.010329215787351131, -0.0028171236626803875, 0.0006852885126136243, -0.031101606786251068, -0.020688876509666443, -0.07591643929481506, -0.02241959422826767, 0.020047442987561226, -0.04999154061079025, -0.007799495477229357, -0.03974437341094017, -0.011600322090089321, -0.06191597133874893, -0.034750137478113174, 0.06961231678724289, 0.020565569400787354, -0.010873021557927132, -0.032478880137205124, 0.025353720411658287, -0.03218623623251915, -0.02787037007510662, -0.046758782118558884, -0.04360657557845116, -0.012936978600919247, -0.09537384659051895, 0.04069435968995094, -0.030253682285547256, 0.013645529747009277, -0.00351771735586226, -0.008432005532085896, -0.054665159434080124, -0.03383900225162506, 0.03742934763431549, 0.033583249896764755, -0.030593762174248695, -0.03811102360486984, 0.012630186043679714, -0.036069296300411224, 0.02626490220427513, -0.035240888595581055, -0.022831350564956665, 0.07852857559919357, 0.10147308558225632, 0.023163247853517532, 0.017180906608700752, -0.01638529822230339, -0.0463804267346859, -0.08313386887311935, -0.016510045155882835, -0.015930170193314552, -0.003168658819049597, -0.010218480601906776, -0.042109373956918716, -0.03095439076423645, -0.03745559602975845, -0.013457235880196095, -0.018740171566605568, -0.010781314224004745, 0.03575875237584114, 0.036091648042201996, 0.03235519677400589, 0.04377754405140877, -0.03218097984790802, -0.03130347654223442, 0.015371612273156643, 0.0024594294372946024, 0.033421240746974945, -0.04329541325569153, -0.017442118376493454, 0.027594251558184624, 0.03555132448673248, 0.004762602970004082, -0.0247200895100832, 0.06300164014101028, 0.010195818729698658, -0.010070795193314552, 0.008155880495905876, -0.017342817038297653, 0.035220056772232056, -0.00822330079972744, 0.005046014674007893, -0.02341514825820923, -0.04888228327035904, -0.03163256496191025, -0.018495693802833557, 0.05597659572958946, -0.07061980664730072, -0.062119051814079285, -0.006389967631548643, 0.03920191898941994, 0.00931683648377657, 0.025518732145428658, -0.013607815839350224, 0.025356439873576164, -0.04576539248228073, -0.04042819142341614, -0.0049395933747291565, -0.010514437220990658, 0.01060492079705, 0.051452890038490295, 0.0072600385174155235, -0.011663400568068027, 0.0015749034937471151, 0.039785608649253845, 0.03361841291189194, 0.011531426571309566, -0.04218534752726555, 0.012126044370234013, -0.04344972223043442, 0.0367928184568882, 0.0006509529193863273, -0.03101043403148651, -0.03199951350688934, -0.08378003537654877, -0.03642867133021355, 0.01736041158437729, -0.027318786829710007, 0.0010565324919298291, 0.03160388767719269, 0.001960160443559289, -0.03657875210046768, 0.025504088029265404, 0.026390301063656807, 0.04555664211511612, -0.029228178784251213, 0.04118259996175766, -0.030817130580544472, 0.04476212337613106, -0.046435367316007614, -0.002577522536739707, -0.03870101273059845, -0.01904086209833622, 0.000633709249086678, 0.051310945302248, 0.025798669084906578, 0.06697335094213486, 0.06584711372852325, 0.0193258598446846, -0.04641692712903023, 0.028501922264695168, 0.04224285110831261, -0.007269571535289288, -0.03253607824444771, 0.005357561632990837, -0.01683795265853405, -0.04551338776946068, 0.004408994223922491, -0.04385574907064438, 0.042901989072561264, 0.015790585428476334, 0.021467043086886406, -0.005163390189409256, 0.0028464575298130512, -0.027253754436969757, -0.039192620664834976, -0.08630363643169403, -0.01893281564116478, -0.00008910273754736409, -0.022913077846169472, 0.04099038615822792, 0.03969142958521843, 0.022630248218774796, 0.05308417230844498, 0.04773847758769989, -0.052684761583805084, -0.051360636949539185, 0.047320060431957245, 0.027552254498004913, -0.041020940989255905, -0.029726598411798477, -0.03154733031988144, 0.03607463091611862, 0.03549134358763695, -0.025105267763137817, -0.07458370923995972, 0.0484451986849308, 0.06451118737459183, -0.07332120835781097, 0.057758066803216934, 0.007264441344887018, 0.013439579866826534, 0.07322996854782104, 0.006519319023936987, 0.03077561780810356, -0.04232433810830116, -0.02552269957959652, 0.009507623501121998, 0.03378855064511299, -0.04682420939207077, -0.04462684690952301, -0.05573295056819916, 0.06880202889442444, 0.029048997908830643, 0.04857674986124039, 0.024876831099390984, -0.012915042228996754, -0.05811478570103645, 0.003560207085683942, 0.021013161167502403, -0.02457188256084919, 0.02192721515893936, 0.036172058433294296, 0.05747440084815025, -0.032719969749450684, -0.028685126453638077, -0.0203415434807539, -0.014447716996073723, 0.014713873155415058, -0.036232542246580124, -0.03492934629321098, -0.033779192715883255, 0.013579034246504307, -0.018340598791837692, -0.01202587503939867, -0.08226883411407471, 0.055932916700839996, -0.0036746610421687365, -0.036846764385700226, 0.05436689406633377, 0.0079429866746068, 0.052168238908052444, 0.07406127452850342, 0.013380921445786953, 0.025340896099805832, -0.03985339403152466, 0.03922373056411743, -0.04376569762825966, -0.014221160672605038, 0.009718058630824089, -0.01349282544106245, -0.009173317812383175, -0.043923310935497284, -0.05123484507203102, -0.027021003887057304, -0.031668175011873245, 0.016017425805330276, 0.005339956842362881, 0.016054093837738037, 0.009163372218608856, 0.011132210493087769, -0.03683706372976303, -0.022424139082431793, -0.0355980284512043, -0.037940431386232376, -0.06866340339183807, -0.024440376088023186, 0.011742807924747467, 0.016803665086627007, 0.00044339816668070853, 0.0014054273488000035, 0.016860079020261765, 0.02541283890604973, -0.004447166807949543, -0.03325074911117554, 0.024704160168766975, 0.031795769929885864, -0.0345122255384922, -0.0497368685901165, -0.023130888119339943, 0.013134019449353218, 0.036462437361478806, -0.002911482471972704, 0.03935090824961662, 0.013771195895969868, -0.0064949654042720795, -0.020948052406311035, 0.032499171793460846, 0.009114371612668037, -0.07346086204051971, -0.03392273187637329, -0.03553720936179161, -0.04442751407623291, 0.02156674861907959, -0.031236201524734497, -0.015654582530260086, 0.03243904560804367, 0.030256589874625206, 0.03301331400871277, -0.014736496843397617, -0.026663661003112793, -0.01781475357711315, -0.05028320103883743, 0.0176666509360075, -0.02946990169584751, 0.01816672831773758, -0.04616744816303253, 0.040985651314258575, -0.011279324069619179, -0.008268475532531738, -0.031236985698342323, 0.03507218882441521, -0.027326233685016632, -0.0006276343483477831, -0.008567769080400467, 0.018112197518348694, -0.022141534835100174, 0.057333797216415405, 0.01108602061867714, 0.01228388398885727, -0.021727390587329865, 0.05025681108236313, -0.01761852763593197, 0.011699800379574299, -0.009292165748775005, -0.0011655987473204732, -0.039966896176338196, -0.061979830265045166, -0.018529346212744713, -0.020576518028974533, 0.04062224552035332, 0.04984477534890175, -0.006762449163943529, 0.019885238260030746, -0.014760112389922142, -0.0211030300706625, 0.009413491003215313, -0.06132331117987633, -0.027948418632149696, -0.010627721436321735, 0.005606818478554487, -0.020826581865549088, 0.05950413644313812, 0.016586795449256897, -0.06435471028089523, -0.06000177562236786, 0.02677653543651104, -0.0032644395250827074, 0.02897840365767479, 0.0024026529863476753, 0.03949951007962227, 0.010562997311353683, 0.03229717165231705, -0.008528217673301697, 0.015089091844856739, -0.021743474528193474, -0.020808547735214233, 0.021705854684114456, -0.013721553608775139, 0.04543907567858696, -0.0030238106846809387, -0.05025918036699295, -0.019601747393608093, 0.07601658999919891, 0.007033943198621273, 0.029803652316331863, -0.01590524986386299, -0.05013861879706383, 0.03604154661297798, -0.006287151016294956, -0.05112360790371895, 0.005601158831268549, 0.01073080487549305, -0.05471166968345642, 0.08683143556118011, -0.004452208522707224, 0.018717225641012192, 0.026510490104556084, 0.018255755305290222, -0.0033274954184889793, 0.049961239099502563, -0.04942873492836952, 0.004212156869471073, 0.015964068472385406, -0.024525867775082588, -0.024703240022063255, -0.020662106573581696, 0.07010846585035324, -0.05143685266375542, 0.06191739812493324, 0.044291768223047256, 0.021518005058169365, 0.007510195951908827, -0.04205946996808052, -0.05834433063864708, 0.02829611301422119, -0.05213642120361328, 0.07221529632806778, -0.010578487999737263, -0.08408460021018982, 0.04671991616487503, 0.028519464656710625, -0.09284885227680206, 0.04787800461053848, 0.05071349814534187, 0.028033128008246422, 0.03791746497154236, 0.042613685131073, -0.04461944103240967, 0.01809246465563774, -0.03338463604450226, -0.0007943796226754785, -0.052326325327157974, 0.013379444368183613, 0.007126952987164259, -0.023473134264349937, -0.0015343264676630497, 0.021332094445824623, 0.006330343894660473, 0.011857070028781891, 0.024088377133011818, -0.04376399144530296, -0.038827262818813324, -0.009076153859496117, 0.023390160873532295, -0.011591046117246151, 0.011897975578904152, -0.019736042246222496, 0.02377130463719368, 0.017725761979818344, -0.013319647870957851, -0.04074133560061455, 0.020644571632146835, 0.01627652533352375, -0.06246338412165642, -0.03695470839738846, 0.040144290775060654, -0.011709173209965229, -0.0014692781260237098, 0.0312640517950058, -0.013403124175965786, 0.0065015144646167755, 0.012017802335321903, 0.009209894575178623, 0.047459814697504044, -0.045348308980464935, -0.009512468241155148, 0.004674451891332865, 0.005619377829134464, 0.03101927414536476, -0.02310958318412304, 0.0016781165031716228, 0.046315889805555344, 0.013913355767726898, 0.004293979611247778, -0.019265681505203247, -0.03024391457438469, 0.007871060632169247, -0.019120335578918457, 0.02607688121497631, 0.004691506270319223, -0.04986519366502762, -0.0377500057220459, -0.04552283138036728, -0.026704546064138412, 0.03740615025162697, -0.02046484686434269, -0.005977972876280546, 0.06067687273025513, 0.007426551543176174, -0.0512344054877758, -0.06429325044155121, -0.028927024453878403, -0.02409559302031994, 0.013256915844976902, 0.038089901208877563, -0.03441070765256882, 0.025603309273719788, -0.0632733404636383, -0.052459508180618286, 0.019224785268306732, 0.009002475999295712, -0.025603897869586945, 0.04208888113498688, 0.04978856071829796, -0.022636540234088898, 0.005769368261098862, 0.0008200436132028699, -0.05327487736940384, 0.02355584129691124, 0.04352935776114464, 0.022857118397951126, 0.03431309759616852, 0.03643316403031349, -0.014963836409151554, -0.03426807001233101, -0.05487558990716934, -0.020162761211395264, -0.04510832950472832, 0.003812226001173258, 0.03731933608651161 ]
AyushPJ/ai-club-inductions-21-nlp-roBERTa-base-squad-v2
[ "pytorch", "roberta", "question-answering", "transformers", "generated_from_trainer", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-09-16T07:17:18Z
## CALM This model is for ICLR2021 paper: [Pre-training Text-to-Text Transformers for Concept-centric Common Sense](https://openreview.net/forum?id=3k20LAiHYL2). Checkout our [Project website](https://inklab.usc.edu/calm-project) for details! ```bibtex @inproceedings{CALM2021, title={Pre-training Text-to-Text Transformers for Concept-centric Common Sense}, author={Wangchunshu Zhou and Dong-Ho Lee and Ravi Kiran Selvam and Seyeon Lee and Bill Yuchen Lin and Xiang Ren}, booktitle={ICLR}, year={2021} } ```
[ -0.03242654353380203, -0.010830007493495941, -0.029338354244828224, 0.03984128683805466, 0.027900632470846176, 0.041836511343717575, -0.010838622227311134, -0.005262671038508415, -0.031334761530160904, 0.030916685238480568, 0.03117452934384346, -0.016509631648659706, 0.03160613775253296, 0.021224455907940865, -0.03565899655222893, -0.023982521146535873, -0.023937951773405075, 0.01187390461564064, -0.019049737602472305, -0.029930075630545616, 0.010199986398220062, 0.009631922468543053, 0.009661491960287094, -0.012629274278879166, 0.0005023747798986733, 0.013634070754051208, -0.009546807035803795, 0.045325346291065216, 0.031002717092633247, -0.08166290819644928, 0.01571907475590706, -0.050017956644296646, -0.031199228018522263, -0.0027778155636042356, -0.018180495128035545, 0.02270909585058689, 0.00775948166847229, 0.00840809941291809, 0.03488841652870178, 0.069908007979393, -0.008873000741004944, 0.023144610226154327, 0.005108159966766834, -0.04275720193982124, 0.04046407714486122, 0.015221701934933662, -0.024574175477027893, -0.002623310312628746, 0.01776919700205326, -0.02396334707736969, -0.052914656698703766, -0.06921590119600296, -0.04724511504173279, 0.015266364440321922, -0.0022527596447616816, -0.012943080626428127, -0.05533392354846001, -0.01995118334889412, 0.03989451378583908, -0.007408466190099716, -0.0280228890478611, 0.03187384083867073, -0.06566120684146881, 0.04569799080491066, 0.04390207678079605, -0.054246507585048676, 0.0005976758548058569, -0.036203037947416306, 0.02759898081421852, -0.03178396075963974, 0.06737003475427628, -0.015235913917422295, -0.0041616614907979965, -0.10350503027439117, -0.009008600376546383, -0.034062568098306656, 0.05782864987850189, 0.0482134148478508, -0.028858868405222893, 0.07015963643789291, 0.04119204357266426, 0.0504479818046093, 0.036357298493385315, -0.000735700421500951, -0.010176313109695911, 0.04778360575437546, -0.05277692899107933, -0.019629059359431267, -0.013582952320575714, 0.07363486289978027, -0.03609006106853485, -0.055634506046772, -0.02870902232825756, -0.023585665971040726, -0.02887716330587864, 0.02476552687585354, 0.03878261521458626, -0.008763776160776615, 0.027678821235895157, 0.008751831017434597, 0.0705234706401825, 0.06143487989902496, -0.03820051997900009, 0.02578819915652275, 0.0015656606992706656, 0.0056494735181331635, -0.0007054634625092149, -0.007020014803856611, -0.036148518323898315, 0.05913916602730751, 0.015728052705526352, -0.03697467967867851, -0.030015256255865097, 0.011261232197284698, 0.027647631242871284, -0.038836780935525894, 0.03345871716737747, -0.02937016263604164, -0.04565640538930893, -0.06849799305200577, 0.04810156300663948, 0.012698723934590816, 0.008513126522302628, 0.013540584594011307, -0.06618332862854004, 0.03335423022508621, -0.052299853414297104, -0.004413910210132599, -0.019623633474111557, 0.010285519063472748, 0.031576383858919144, 0.039110876619815826, 0.0387098491191864, -0.05076627433300018, 0.01070088054984808, 0.016042310744524002, -0.05894533172249794, 0.05579061806201935, 0.04178661108016968, 0.09011704474687576, -0.10374317318201065, -0.019161252304911613, 0.024568870663642883, 0.023032061755657196, 0.005052197724580765, 0.024863583967089653, 0.015291091986000538, -0.04917921870946884, -0.035254646092653275, -0.006042188964784145, 0.08139465004205704, -0.06545316427946091, -0.020650627091526985, 0.050674114376306534, 0.00013952066365163773, 0.020504241809248924, -0.03511439636349678, -0.009170022793114185, 0.004525125492364168, 0.020312633365392685, -0.06470275670289993, 0.05641473829746246, -0.01727258414030075, -0.014081090688705444, -0.025365762412548065, -0.036513373255729675, 0.0056060305796563625, 0.07566120475530624, -0.013465224765241146, -0.05089471489191055, -0.006288533098995686, 0.007347725331783295, 0.04427887871861458, 0.02303527481853962, -0.05158957466483116, 0.03890414163470268, 0.07998014986515045, 0.07669264823198318, -0.005075715947896242, 0.06698863953351974, 0.025045564398169518, -0.028696266934275627, -0.02181718684732914, 0.013789931312203407, -0.03646378964185715, -0.02219371497631073, 0.018237624317407608, 0.006692878436297178, -0.030162805691361427, -0.015554951503872871, -0.01966683752834797, 0.031881190836429596, -0.010467519983649254, 0.004212625324726105, 0.0007343550096265972, -0.03746257722377777, -0.04561636596918106, 0.04362387955188751, -0.036834120750427246, 0.0049280342645943165, -0.016232024878263474, -0.03599176183342934, 0.0107520567253232, 0.012204835191369057, 0.0379856638610363, 0.03093956969678402, -0.04574624076485634, 0.07780382037162781, -0.03352702409029007, 0.0012517506256699562, -0.044380493462085724, -0.03678813576698303, 0.025761594995856285, 0.03427799046039581, 0.0025585880503058434, 0.037529170513153076, 0.03452301397919655, -0.035890132188797, 0.029131997376680374, 0.07024908065795898, 0.02912970632314682, 0.016629235818982124, -0.02305544912815094, 0.006115345284342766, 0.028535595163702965, 0.08066827058792114, -0.06310176104307175, -0.04964052513241768, 0.027634836733341217, 0.03787101060152054, -0.02512749470770359, 0.02796945534646511, -0.015380382537841797, 0.010486665181815624, -0.04968055337667465, -0.061208393424749374, 0.0297897607088089, 0.04686284810304642, -0.006786979269236326, 0.014431602321565151, 0.0032046004198491573, 0.013999812304973602, 0.03135691210627556, -0.004275464918464422, 0.019820446148514748, -0.04950355738401413, 0.0325067974627018, 0.0540400855243206, 0.03981098532676697, -0.04042597487568855, 0.05244329944252968, 0.0032211325597018003, 0.03421755135059357, 0.0406159907579422, -0.006451225373893976, 0.03848934546113014, 0.025190263986587524, 0.04019833728671074, -0.029529664665460587, 0.019291091710329056, 0.0005884084384888411, 0.031191803514957428, 0.0787433609366417, 0.007603015284985304, 0.052687134593725204, -0.03306078165769577, 0.04780929163098335, 0.08283724635839462, 0.008040478453040123, 0.023610059171915054, 0.03571988269686699, 0.0611119382083416, -0.015143031254410744, -0.01081137079745531, 0.04938013479113579, -0.044434674084186554, 0.0039049023762345314, -0.05203038081526756, 0.015846718102693558, 0.012748096138238907, -0.007106976583600044, 0.053214702755212784, -0.003767536021769047, -0.008216038346290588, 0.017790377140045166, -0.03174244239926338, -0.007722397800534964, 0.025418121367692947, 0.010329215787351131, -0.0028171236626803875, 0.0006852885126136243, -0.031101606786251068, -0.020688876509666443, -0.07591643929481506, -0.02241959422826767, 0.020047442987561226, -0.04999154061079025, -0.007799495477229357, -0.03974437341094017, -0.011600322090089321, -0.06191597133874893, -0.034750137478113174, 0.06961231678724289, 0.020565569400787354, -0.010873021557927132, -0.032478880137205124, 0.025353720411658287, -0.03218623623251915, -0.02787037007510662, -0.046758782118558884, -0.04360657557845116, -0.012936978600919247, -0.09537384659051895, 0.04069435968995094, -0.030253682285547256, 0.013645529747009277, -0.00351771735586226, -0.008432005532085896, -0.054665159434080124, -0.03383900225162506, 0.03742934763431549, 0.033583249896764755, -0.030593762174248695, -0.03811102360486984, 0.012630186043679714, -0.036069296300411224, 0.02626490220427513, -0.035240888595581055, -0.022831350564956665, 0.07852857559919357, 0.10147308558225632, 0.023163247853517532, 0.017180906608700752, -0.01638529822230339, -0.0463804267346859, -0.08313386887311935, -0.016510045155882835, -0.015930170193314552, -0.003168658819049597, -0.010218480601906776, -0.042109373956918716, -0.03095439076423645, -0.03745559602975845, -0.013457235880196095, -0.018740171566605568, -0.010781314224004745, 0.03575875237584114, 0.036091648042201996, 0.03235519677400589, 0.04377754405140877, -0.03218097984790802, -0.03130347654223442, 0.015371612273156643, 0.0024594294372946024, 0.033421240746974945, -0.04329541325569153, -0.017442118376493454, 0.027594251558184624, 0.03555132448673248, 0.004762602970004082, -0.0247200895100832, 0.06300164014101028, 0.010195818729698658, -0.010070795193314552, 0.008155880495905876, -0.017342817038297653, 0.035220056772232056, -0.00822330079972744, 0.005046014674007893, -0.02341514825820923, -0.04888228327035904, -0.03163256496191025, -0.018495693802833557, 0.05597659572958946, -0.07061980664730072, -0.062119051814079285, -0.006389967631548643, 0.03920191898941994, 0.00931683648377657, 0.025518732145428658, -0.013607815839350224, 0.025356439873576164, -0.04576539248228073, -0.04042819142341614, -0.0049395933747291565, -0.010514437220990658, 0.01060492079705, 0.051452890038490295, 0.0072600385174155235, -0.011663400568068027, 0.0015749034937471151, 0.039785608649253845, 0.03361841291189194, 0.011531426571309566, -0.04218534752726555, 0.012126044370234013, -0.04344972223043442, 0.0367928184568882, 0.0006509529193863273, -0.03101043403148651, -0.03199951350688934, -0.08378003537654877, -0.03642867133021355, 0.01736041158437729, -0.027318786829710007, 0.0010565324919298291, 0.03160388767719269, 0.001960160443559289, -0.03657875210046768, 0.025504088029265404, 0.026390301063656807, 0.04555664211511612, -0.029228178784251213, 0.04118259996175766, -0.030817130580544472, 0.04476212337613106, -0.046435367316007614, -0.002577522536739707, -0.03870101273059845, -0.01904086209833622, 0.000633709249086678, 0.051310945302248, 0.025798669084906578, 0.06697335094213486, 0.06584711372852325, 0.0193258598446846, -0.04641692712903023, 0.028501922264695168, 0.04224285110831261, -0.007269571535289288, -0.03253607824444771, 0.005357561632990837, -0.01683795265853405, -0.04551338776946068, 0.004408994223922491, -0.04385574907064438, 0.042901989072561264, 0.015790585428476334, 0.021467043086886406, -0.005163390189409256, 0.0028464575298130512, -0.027253754436969757, -0.039192620664834976, -0.08630363643169403, -0.01893281564116478, -0.00008910273754736409, -0.022913077846169472, 0.04099038615822792, 0.03969142958521843, 0.022630248218774796, 0.05308417230844498, 0.04773847758769989, -0.052684761583805084, -0.051360636949539185, 0.047320060431957245, 0.027552254498004913, -0.041020940989255905, -0.029726598411798477, -0.03154733031988144, 0.03607463091611862, 0.03549134358763695, -0.025105267763137817, -0.07458370923995972, 0.0484451986849308, 0.06451118737459183, -0.07332120835781097, 0.057758066803216934, 0.007264441344887018, 0.013439579866826534, 0.07322996854782104, 0.006519319023936987, 0.03077561780810356, -0.04232433810830116, -0.02552269957959652, 0.009507623501121998, 0.03378855064511299, -0.04682420939207077, -0.04462684690952301, -0.05573295056819916, 0.06880202889442444, 0.029048997908830643, 0.04857674986124039, 0.024876831099390984, -0.012915042228996754, -0.05811478570103645, 0.003560207085683942, 0.021013161167502403, -0.02457188256084919, 0.02192721515893936, 0.036172058433294296, 0.05747440084815025, -0.032719969749450684, -0.028685126453638077, -0.0203415434807539, -0.014447716996073723, 0.014713873155415058, -0.036232542246580124, -0.03492934629321098, -0.033779192715883255, 0.013579034246504307, -0.018340598791837692, -0.01202587503939867, -0.08226883411407471, 0.055932916700839996, -0.0036746610421687365, -0.036846764385700226, 0.05436689406633377, 0.0079429866746068, 0.052168238908052444, 0.07406127452850342, 0.013380921445786953, 0.025340896099805832, -0.03985339403152466, 0.03922373056411743, -0.04376569762825966, -0.014221160672605038, 0.009718058630824089, -0.01349282544106245, -0.009173317812383175, -0.043923310935497284, -0.05123484507203102, -0.027021003887057304, -0.031668175011873245, 0.016017425805330276, 0.005339956842362881, 0.016054093837738037, 0.009163372218608856, 0.011132210493087769, -0.03683706372976303, -0.022424139082431793, -0.0355980284512043, -0.037940431386232376, -0.06866340339183807, -0.024440376088023186, 0.011742807924747467, 0.016803665086627007, 0.00044339816668070853, 0.0014054273488000035, 0.016860079020261765, 0.02541283890604973, -0.004447166807949543, -0.03325074911117554, 0.024704160168766975, 0.031795769929885864, -0.0345122255384922, -0.0497368685901165, -0.023130888119339943, 0.013134019449353218, 0.036462437361478806, -0.002911482471972704, 0.03935090824961662, 0.013771195895969868, -0.0064949654042720795, -0.020948052406311035, 0.032499171793460846, 0.009114371612668037, -0.07346086204051971, -0.03392273187637329, -0.03553720936179161, -0.04442751407623291, 0.02156674861907959, -0.031236201524734497, -0.015654582530260086, 0.03243904560804367, 0.030256589874625206, 0.03301331400871277, -0.014736496843397617, -0.026663661003112793, -0.01781475357711315, -0.05028320103883743, 0.0176666509360075, -0.02946990169584751, 0.01816672831773758, -0.04616744816303253, 0.040985651314258575, -0.011279324069619179, -0.008268475532531738, -0.031236985698342323, 0.03507218882441521, -0.027326233685016632, -0.0006276343483477831, -0.008567769080400467, 0.018112197518348694, -0.022141534835100174, 0.057333797216415405, 0.01108602061867714, 0.01228388398885727, -0.021727390587329865, 0.05025681108236313, -0.01761852763593197, 0.011699800379574299, -0.009292165748775005, -0.0011655987473204732, -0.039966896176338196, -0.061979830265045166, -0.018529346212744713, -0.020576518028974533, 0.04062224552035332, 0.04984477534890175, -0.006762449163943529, 0.019885238260030746, -0.014760112389922142, -0.0211030300706625, 0.009413491003215313, -0.06132331117987633, -0.027948418632149696, -0.010627721436321735, 0.005606818478554487, -0.020826581865549088, 0.05950413644313812, 0.016586795449256897, -0.06435471028089523, -0.06000177562236786, 0.02677653543651104, -0.0032644395250827074, 0.02897840365767479, 0.0024026529863476753, 0.03949951007962227, 0.010562997311353683, 0.03229717165231705, -0.008528217673301697, 0.015089091844856739, -0.021743474528193474, -0.020808547735214233, 0.021705854684114456, -0.013721553608775139, 0.04543907567858696, -0.0030238106846809387, -0.05025918036699295, -0.019601747393608093, 0.07601658999919891, 0.007033943198621273, 0.029803652316331863, -0.01590524986386299, -0.05013861879706383, 0.03604154661297798, -0.006287151016294956, -0.05112360790371895, 0.005601158831268549, 0.01073080487549305, -0.05471166968345642, 0.08683143556118011, -0.004452208522707224, 0.018717225641012192, 0.026510490104556084, 0.018255755305290222, -0.0033274954184889793, 0.049961239099502563, -0.04942873492836952, 0.004212156869471073, 0.015964068472385406, -0.024525867775082588, -0.024703240022063255, -0.020662106573581696, 0.07010846585035324, -0.05143685266375542, 0.06191739812493324, 0.044291768223047256, 0.021518005058169365, 0.007510195951908827, -0.04205946996808052, -0.05834433063864708, 0.02829611301422119, -0.05213642120361328, 0.07221529632806778, -0.010578487999737263, -0.08408460021018982, 0.04671991616487503, 0.028519464656710625, -0.09284885227680206, 0.04787800461053848, 0.05071349814534187, 0.028033128008246422, 0.03791746497154236, 0.042613685131073, -0.04461944103240967, 0.01809246465563774, -0.03338463604450226, -0.0007943796226754785, -0.052326325327157974, 0.013379444368183613, 0.007126952987164259, -0.023473134264349937, -0.0015343264676630497, 0.021332094445824623, 0.006330343894660473, 0.011857070028781891, 0.024088377133011818, -0.04376399144530296, -0.038827262818813324, -0.009076153859496117, 0.023390160873532295, -0.011591046117246151, 0.011897975578904152, -0.019736042246222496, 0.02377130463719368, 0.017725761979818344, -0.013319647870957851, -0.04074133560061455, 0.020644571632146835, 0.01627652533352375, -0.06246338412165642, -0.03695470839738846, 0.040144290775060654, -0.011709173209965229, -0.0014692781260237098, 0.0312640517950058, -0.013403124175965786, 0.0065015144646167755, 0.012017802335321903, 0.009209894575178623, 0.047459814697504044, -0.045348308980464935, -0.009512468241155148, 0.004674451891332865, 0.005619377829134464, 0.03101927414536476, -0.02310958318412304, 0.0016781165031716228, 0.046315889805555344, 0.013913355767726898, 0.004293979611247778, -0.019265681505203247, -0.03024391457438469, 0.007871060632169247, -0.019120335578918457, 0.02607688121497631, 0.004691506270319223, -0.04986519366502762, -0.0377500057220459, -0.04552283138036728, -0.026704546064138412, 0.03740615025162697, -0.02046484686434269, -0.005977972876280546, 0.06067687273025513, 0.007426551543176174, -0.0512344054877758, -0.06429325044155121, -0.028927024453878403, -0.02409559302031994, 0.013256915844976902, 0.038089901208877563, -0.03441070765256882, 0.025603309273719788, -0.0632733404636383, -0.052459508180618286, 0.019224785268306732, 0.009002475999295712, -0.025603897869586945, 0.04208888113498688, 0.04978856071829796, -0.022636540234088898, 0.005769368261098862, 0.0008200436132028699, -0.05327487736940384, 0.02355584129691124, 0.04352935776114464, 0.022857118397951126, 0.03431309759616852, 0.03643316403031349, -0.014963836409151554, -0.03426807001233101, -0.05487558990716934, -0.020162761211395264, -0.04510832950472832, 0.003812226001173258, 0.03731933608651161 ]
BSC-LT/roberta-base-bne-capitel-pos
[ "pytorch", "roberta", "token-classification", "es", "dataset:bne", "dataset:capitel", "arxiv:1907.11692", "arxiv:2107.07253", "transformers", "national library of spain", "spanish", "bne", "capitel", "pos", "license:apache-2.0", "autotrain_compatible" ]
token-classification
{ "architectures": [ "RobertaForTokenClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
14
null
--- language: or datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: odia XLSR Wav2Vec2 Large 2000 results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice or type: common_voice args: or metrics: - name: Test WER type: wer value: 54.6 --- # Wav2Vec2-Large-XLSR-53-or Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on odia using the [Common Voice](https://huggingface.co/datasets/common_voice) When using this model, make sure that your speech input is sampled at 16kHz. ## Usage The model can be used directly (without a language model) as follows: ```python import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor test_dataset = load_dataset("common_voice", "or", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("danurahul/wav2vec2-large-xlsr-or") model = Wav2Vec2ForCTC.from_pretrained("danurahul/wav2vec2-large-xlsr-or") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): \tspeech_array, sampling_rate = torchaudio.load(batch["path"]) \tbatch["speech"] = resampler(speech_array).squeeze().numpy() \treturn batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): \tlogits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits predicted_ids = torch.argmax(logits, dim=-1) print("Prediction:", processor.batch_decode(predicted_ids)) print("Reference:", test_dataset["sentence"][:2]) ``` ## Evaluation The model can be evaluated as follows on the odia test data of Common Voice. ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "or", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("danurahul/wav2vec2-large-xlsr-or") model = Wav2Vec2ForCTC.from_pretrained("danurahul/wav2vec2-large-xlsr-or") model.to("cuda") chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“]' resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): \tbatch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() \tspeech_array, sampling_rate = torchaudio.load(batch["path"]) \tbatch["speech"] = resampler(speech_array).squeeze().numpy() \treturn batch test_dataset = test_dataset.map(speech_file_to_array_fn) # Preprocessing the datasets. # We need to read the aduio files as arrays def evaluate(batch): \tinputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) \twith torch.no_grad(): \t\tlogits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits \tpred_ids = torch.argmax(logits, dim=-1) \tbatch["pred_strings"] = processor.batch_decode(pred_ids) \treturn batch result = test_dataset.map(evaluate, batched=True, batch_size=8) print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"]))) ``` **Test Result**: 54.6 % ## Training The Common Voice `train`, `validation`, and test datasets were used for training as well as prediction and testing The script used for training can be found [https://github.com/rahul-art/wav2vec2_or]
[ -0.027868837118148804, -0.033874861896038055, -0.0006283328402787447, 0.03539919853210449, 0.04951266571879387, 0.028426652774214745, -0.013397802598774433, -0.011831458657979965, -0.03761536255478859, 0.06100650131702423, 0.03539338707923889, -0.021945320069789886, -0.017852528020739555, 0.02316727116703987, -0.029836736619472504, -0.049158431589603424, -0.018118221312761307, -0.0019441386684775352, -0.06937998533248901, -0.005758721847087145, 0.008979452773928642, 0.02186988666653633, -0.012703136540949345, 0.020635880529880524, -0.012839319184422493, -0.003378062741830945, -0.013947132043540478, 0.014843846671283245, 0.01453492883592844, -0.06071879714727402, -0.009611203335225582, -0.02815023809671402, -0.02497166581451893, -0.04068562015891075, -0.034486036747694016, 0.0017548998584970832, 0.001566159538924694, 0.013483206741511822, 0.019241074100136757, 0.028585219755768776, -0.023443840444087982, 0.019655929878354073, -0.012584170326590538, 0.0034814828541129827, 0.0318426787853241, -0.007360703311860561, -0.04263101518154144, -0.018540330231189728, 0.02743968926370144, -0.02810744009912014, -0.019913429394364357, -0.0740639716386795, -0.014651527628302574, 0.030134862288832664, -0.022441089153289795, -0.01799546368420124, -0.05540449917316437, -0.02081943489611149, 0.07180950045585632, -0.04835120961070061, -0.011172858066856861, 0.02491552196443081, -0.0633656308054924, 0.010549682192504406, 0.022123200818896294, -0.03391069918870926, 0.0036488010082393885, -0.04249647259712219, 0.0203122366219759, -0.033814817667007446, 0.05267459154129028, -0.055353276431560516, 0.017888672649860382, -0.09829126298427582, 0.014916447922587395, -0.011605903506278992, 0.03909793123602867, 0.02786562219262123, -0.02550826221704483, 0.060371283441782, 0.024149788543581963, -0.003475734032690525, 0.0230107419192791, -0.023637859150767326, 0.006145230028778315, 0.05391944944858551, -0.03157462179660797, 0.02513575553894043, 0.01762045919895172, 0.03409121558070183, -0.02810523845255375, -0.05568767711520195, -0.028115445747971535, -0.057777997106313705, 0.008013439364731312, 0.03865967318415642, 0.036149781197309494, -0.022308509796857834, 0.036524780094623566, 0.03404181823134422, 0.008210022002458572, 0.026794223114848137, -0.024068882688879967, 0.07278450578451157, -0.024337951093912125, 0.009352343156933784, -0.008960805833339691, -0.03931957110762596, -0.035818733274936676, 0.009486379101872444, 0.05009213462471962, -0.030785009264945984, -0.043547432869672775, 0.05071386694908142, 0.018769050016999245, -0.021906206384301186, 0.04748629033565521, -0.042519502341747284, -0.0435534343123436, -0.04808523878455162, 0.02963033877313137, 0.008630421943962574, -0.010317688807845116, 0.009681086987257004, -0.05152057483792305, 0.03342169150710106, -0.03607672080397606, -0.02583192102611065, 0.008962326683104038, 0.017812000587582588, 0.00048924790462479, 0.03603370487689972, 0.018327664583921432, -0.05905552953481674, 0.011117761954665184, 0.01156321819871664, -0.06815671920776367, 0.023372841998934746, 0.019937407225370407, 0.09626758843660355, -0.049319375306367874, -0.0467899888753891, 0.020280512049794197, -0.0031831483356654644, -0.00835384987294674, 0.006325802765786648, 0.021496901288628578, -0.025565505027770996, -0.041544996201992035, -0.005867057014256716, 0.05584874749183655, -0.061087608337402344, -0.0139996986836195, 0.05023457854986191, -0.030496131628751755, 0.05356159433722496, -0.03241073712706566, -0.0016964325914159417, 0.023924151435494423, -0.006351713556796312, 0.0007220037514343858, 0.04434303939342499, -0.005119369365274906, -0.03251279145479202, -0.03696766868233681, -0.04398486018180847, 0.0019876291044056416, 0.08005625009536743, -0.0008927484159357846, -0.0006651530275121331, -0.02112147957086563, 0.03889438882470131, 0.045286569744348526, 0.020596619695425034, -0.0421140193939209, 0.03229156509041786, 0.06258140504360199, 0.024580391123890877, -0.02084708772599697, 0.09251002967357635, 0.02090384066104889, -0.03282756358385086, -0.019672973081469536, -0.005641987081617117, 0.010039018467068672, -0.02589545212686062, -0.011364682577550411, 0.04737738519906998, -0.014944409020245075, -0.006319863256067038, -0.025330018252134323, 0.05022740736603737, -0.016149962320923805, -0.001006968435831368, -0.021547535434365273, -0.006507618818432093, -0.02456473559141159, 0.037133682519197464, -0.03312668576836586, 0.015419472940266132, -0.017603972926735878, -0.020254602655768394, -0.004737851209938526, 0.03729797527194023, 0.010365176945924759, 0.060068901628255844, 0.007581842597573996, 0.09275233000516891, -0.04235658794641495, 0.003142968052998185, -0.04819178953766823, -0.046548690646886826, -0.022007765248417854, 0.05033429339528084, 0.03541119396686554, 0.07105280458927155, -0.005479217041283846, -0.05080327019095421, 0.020092304795980453, 0.057400431483983994, 0.0747724249958992, 0.017543714493513107, -0.01654776930809021, -0.012008355930447578, 0.03542860224843025, 0.0648629367351532, -0.06759559363126755, -0.03288769721984863, 0.014857733622193336, 0.017070479691028595, -0.030173243954777718, 0.015500761568546295, -0.02014252170920372, 0.04901702702045441, -0.05913866311311722, -0.09364084154367447, 0.05629584938287735, 0.02125084213912487, 0.0166669599711895, 0.019772475585341454, -0.030506376177072525, 0.0006266405107453465, 0.03351496532559395, -0.0038839231710880995, -0.009148663841187954, -0.031819380819797516, 0.010752827860414982, 0.007116673979908228, 0.05120857059955597, -0.06546530872583389, 0.04528540372848511, -0.03244955837726593, -0.005790599621832371, 0.03490789607167244, -0.0501990020275116, 0.03040299378335476, 0.030900366604328156, 0.009344604797661304, -0.03497222438454628, 0.0173112154006958, -0.0037907341029495, 0.04013463109731674, 0.057458508759737015, 0.0014103431021794677, 0.05624913424253464, 0.016726654022932053, 0.047135841101408005, 0.08530781418085098, 0.017268644645810127, 0.0020700115710496902, 0.017176853492856026, 0.07181552797555923, -0.014265000820159912, -0.022250600159168243, 0.07309971004724503, -0.03903207182884216, 0.0308588407933712, -0.03305497393012047, -0.007818746380507946, -0.00528837600722909, -0.010759420692920685, 0.03149859979748726, 0.025769362226128578, -0.006317601073533297, 0.003693296341225505, -0.01953743025660515, -0.025221118703484535, 0.047425899654626846, -0.03600887209177017, -0.014293085783720016, 0.007590536959469318, -0.009033267386257648, -0.001099642482586205, -0.08047082275152206, -0.0544624999165535, -0.014931281097233295, -0.0409839004278183, -0.005287231411784887, -0.06279159337282181, -0.03205544874072075, -0.052586622536182404, -0.008409999310970306, 0.02234511636197567, 0.019605889916419983, 0.025092698633670807, -0.034637775272130966, 0.019896818324923515, -0.051764313131570816, -0.028684591874480247, -0.04998483136296272, -0.022729549556970596, -0.025090890005230904, -0.0653904601931572, 0.02683436870574951, 0.031048079952597618, 0.04803980514407158, 0.0030963870231062174, 0.00046993696014396846, -0.024175144731998444, -0.038439568132162094, 0.04704359173774719, 0.048059068620204926, -0.04949396103620529, -0.06002558395266533, 0.03232988715171814, -0.021076032891869545, 0.021522490307688713, 0.00766155356541276, -0.038751278072595596, 0.06881781667470932, 0.05726585537195206, 0.03296379745006561, 0.022965116426348686, -0.026386696845293045, -0.041816696524620056, -0.05123593658208847, -0.04238163307309151, -0.046783193945884705, -0.01592266745865345, -0.01186499372124672, -0.04500443488359451, -0.025770094245672226, -0.003510864218696952, -0.015632636845111847, -0.015228642150759697, 0.015617314726114273, 0.062248293310403824, 0.05230538547039032, 0.023209011182188988, 0.030866732820868492, -0.05134652554988861, -0.0373511016368866, 0.06927298754453659, 0.03539210930466652, 0.01299081090837717, -0.07069776952266693, -0.04829934239387512, 0.014643416740000248, 0.025536511093378067, -0.011707812547683716, 0.005490285810083151, 0.07892521470785141, 0.0014334943844005466, -0.013903760351240635, 0.011003335006535053, -0.015925252810120583, -0.02717200666666031, -0.005000973120331764, -0.021557273343205452, 0.009433504194021225, -0.06964204460382462, 0.0012774902861565351, 0.012512050569057465, 0.043297696858644485, -0.07048125565052032, -0.05719687044620514, -0.011745152063667774, 0.053123362362384796, 0.02265355922281742, -0.012948772870004177, -0.04381740465760231, 0.0041089169681072235, -0.04186183959245682, -0.025671416893601418, 0.006948127411305904, 0.008959957398474216, 0.022151263430714607, 0.03601408004760742, 0.006697472184896469, -0.02667214721441269, 0.049844805151224136, 0.03519212082028389, 0.07072565704584122, 0.02499569021165371, -0.058610815554857254, 0.006418565288186073, -0.019428478553891182, 0.012919031083583832, -0.011082747019827366, -0.01870131492614746, -0.03792104125022888, -0.07440098375082016, -0.024093449115753174, 0.0175518486648798, -0.01634814962744713, -0.031445711851119995, 0.02555176243185997, 0.005079999566078186, 0.006443595513701439, 0.007732787169516087, 0.023904701694846153, 0.0402538925409317, -0.053238239139318466, 0.04362128674983978, 0.008511762134730816, 0.037107158452272415, -0.07925121486186981, 0.024447940289974213, -0.021702902391552925, -0.036921340972185135, -0.006673730444163084, 0.07444408535957336, 0.024434445425868034, 0.04140905290842056, 0.08102824538946152, 0.023936256766319275, -0.03576849028468132, 0.05837457627058029, 0.04014008119702339, -0.037738218903541565, -0.04751367121934891, -0.012007731944322586, -0.022060763090848923, -0.046084243804216385, 0.0029856162145733833, -0.03455352410674095, 0.04899394139647484, 0.020654132589697838, -0.012546911835670471, -0.03668145090341568, -0.007444766815751791, -0.031177977100014687, -0.0035187648609280586, -0.03617556765675545, -0.05525272712111473, 0.03300538286566734, -0.022733895108103752, 0.027654146775603294, 0.03105490282177925, 0.008951308205723763, 0.07506850361824036, 0.04072878509759903, -0.025230256840586662, -0.03328608348965645, 0.018980344757437706, 0.03531721606850624, -0.03729602321982384, -0.0631256252527237, -0.04663259536027908, 0.05455118417739868, 0.026929005980491638, 0.008216085843741894, -0.08625397086143494, -0.017023589462041855, 0.054950177669525146, -0.027825379744172096, 0.04878343269228935, -0.013850542716681957, 0.03440191224217415, 0.06420484185218811, -0.02090124785900116, 0.013831483200192451, -0.04047730937600136, 0.021557321771979332, 0.01216405164450407, 0.01880285143852234, -0.00772686954587698, -0.02500261925160885, -0.084653839468956, 0.031846027821302414, 0.04538857564330101, 0.031139226630330086, 0.03844655305147171, -0.028450239449739456, -0.05402185767889023, 0.005462881177663803, 0.030940618366003036, -0.036343760788440704, 0.025520185008645058, 0.0226728618144989, 0.030224423855543137, -0.033265773206949234, -0.015370686538517475, -0.007739332038909197, 0.014393169432878494, 0.02579137496650219, 0.010780928656458855, -0.04725246503949165, -0.03418988361954689, 0.0056356871500611305, -0.016145018860697746, -0.04355936497449875, -0.06822525709867477, 0.02969938889145851, -0.02605673484504223, -0.011808138340711594, 0.05346861481666565, 0.02329608052968979, 0.04956817999482155, 0.03881712257862091, 0.005071866326034069, 0.007747989147901535, -0.03158992528915405, 0.04009410738945007, -0.03165190666913986, -0.008934355340898037, -0.021893100813031197, -0.04403692111372948, -0.021577930077910423, -0.021170279011130333, -0.04337218403816223, -0.057170525193214417, -0.0014850327279418707, 0.044342417269945145, -0.02722492814064026, -0.01986168883740902, -0.022098535671830177, 0.0543363131582737, -0.0249608363956213, -0.03435486555099487, -0.027998412027955055, -0.02076181396842003, -0.051447171717882156, -0.0423344261944294, 0.038143180310726166, -0.015848008915781975, 0.028099950402975082, 0.014606038108468056, 0.0207810141146183, 0.029192129150032997, -0.0014597858535125852, 0.009631973691284657, 0.03307811915874481, -0.008160906843841076, -0.051792774349451065, -0.04691021516919136, 0.03213994950056076, 0.014195938594639301, 0.060577038675546646, -0.019168874248862267, 0.022024767473340034, 0.012773340567946434, -0.04008232057094574, -0.01217313390225172, 0.01566135138273239, 0.04688825458288193, -0.05447617545723915, -0.05334295332431793, -0.004992109723389149, -0.0630759745836258, 0.0161637794226408, -0.012783276848495007, 0.02248230203986168, 0.018069181591272354, 0.014297361485660076, 0.03583540394902229, -0.014121346175670624, -0.04146641492843628, 0.022133590653538704, -0.009502322413027287, 0.008341426029801369, -0.0553559847176075, 0.04594351723790169, -0.02239271253347397, 0.009007259272038937, -0.01268382091075182, -0.013188640587031841, -0.03478594869375229, 0.02824002504348755, 0.00008228020305978134, -0.011902459897100925, 0.00447542080655694, -0.0035399403423070908, -0.0025933245196938515, 0.04873789846897125, -0.027890734374523163, 0.033612415194511414, -0.046749357134103775, 0.061039239168167114, -0.022637980058789253, 0.021579336374998093, -0.013566977344453335, -0.008556724525988102, -0.029579950496554375, -0.016344385221600533, -0.0036664351355284452, -0.05495142564177513, 0.04126106947660446, 0.06532745808362961, 0.04416335001587868, 0.03110136091709137, -0.027651069685816765, 0.0024163529742509127, -0.013897595927119255, -0.06770826876163483, -0.00540667399764061, 0.004968373104929924, 0.04342498257756233, 0.019577128812670708, 0.03572467714548111, 0.02974124625325203, -0.07322684675455093, -0.050465285778045654, 0.03222440183162689, 0.022289540618658066, 0.006176193710416555, 0.011465992778539658, 0.039751678705215454, 0.03536389768123627, 0.05841800943017006, -0.026025503873825073, -0.0010592538164928555, -0.01212340034544468, -0.020803578197956085, 0.030870340764522552, -0.00037683165282942355, 0.008797001093626022, 0.011995420791208744, -0.0361219197511673, -0.016933344304561615, 0.058211229741573334, 0.030221935361623764, 0.019190387800335884, -0.03149669989943504, -0.03562675416469574, 0.012332605198025703, -0.013123693875968456, -0.05275365337729454, 0.007691573817282915, -0.006851913407444954, -0.02908971905708313, 0.08573570102453232, -0.0015691689914092422, 0.004610861651599407, 0.024123333394527435, 0.02173844538629055, -0.03115527331829071, 0.0490855798125267, -0.02265937812626362, 0.01598946563899517, 0.04292601719498634, -0.058600421994924545, -0.01215555053204298, -0.03577065467834473, 0.06769091635942459, -0.0666775181889534, 0.029100045561790466, 0.03765333071351051, 0.007261320017278194, 0.02546831965446472, -0.027300985530018806, -0.038412705063819885, 0.045096103101968765, -0.03932470455765724, 0.07899613678455353, 0.025771433487534523, -0.04789106175303459, 0.08057817071676254, 0.019763048738241196, -0.0991404801607132, 0.038149647414684296, 0.045409273356199265, 0.024009477347135544, 0.027379008010029793, 0.05021895840764046, -0.0560854934155941, -0.0008084052824415267, -0.04658054560422897, 0.025704115629196167, -0.06517628580331802, 0.012281909584999084, 0.022316819056868553, -0.02817388065159321, -0.020940545946359634, 0.027919547632336617, -0.020521027967333794, -0.005773230921477079, 0.0037076969165354967, -0.06089853122830391, -0.035575952380895615, -0.00883954856544733, 0.033210135996341705, -0.05647709593176842, -0.0044392007403075695, -0.03411542624235153, 0.01271857786923647, 0.017600269988179207, 0.008016066625714302, -0.025169020518660545, -0.014822191558778286, 0.004016208462417126, -0.05469720810651779, -0.040239524096250534, 0.031976815313100815, 0.01932656392455101, -0.031218180432915688, 0.06026499345898628, 0.004162280820310116, 0.011040231212973595, 0.031361132860183716, 0.015171242877840996, 0.028953062370419502, -0.07051833719015121, -0.019005466252565384, -0.0061407494358718395, 0.019995689392089844, 0.014556700363755226, -0.00669195968657732, 0.0529671311378479, 0.04286821186542511, -0.01020131353288889, 0.03042096085846424, -0.03219058737158775, -0.020437071099877357, 0.03227347880601883, -0.0503266416490078, 0.02674388512969017, 0.016232755035161972, -0.038765933364629745, -0.023175550624728203, -0.009609534405171871, -0.0006333282799459994, 0.030411409214138985, -0.06191134452819824, -0.003313003573566675, 0.01521607767790556, -0.04553677514195442, -0.0319710373878479, -0.05939023569226265, -0.03073778562247753, -0.03338451683521271, 0.040965333580970764, 0.024312350898981094, -0.056360065937042236, 0.013607398606836796, -0.05910211056470871, -0.06485731154680252, -0.0018965466879308224, 0.014380726031959057, -0.024348007515072823, 0.05771101638674736, 0.04812095686793327, -0.07049667835235596, 0.02552746795117855, 0.048573751002550125, -0.02189098857343197, 0.027328193187713623, -0.0013391473330557346, 0.007673905696719885, 0.043870002031326294, 0.018485918641090393, -0.04266299679875374, -0.03049311414361, -0.055531710386276245, -0.03688003867864609, -0.02580871246755123, 0.0007321476587094367, 0.053566303104162216 ]
BSC-LT/roberta-base-bne-sqac
[ "pytorch", "roberta", "question-answering", "es", "dataset:BSC-TeMU/SQAC", "arxiv:1907.11692", "arxiv:2107.07253", "transformers", "national library of spain", "spanish", "bne", "qa", "question answering", "license:apache-2.0", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
10
null
--- language: pa-IN datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: danurahul/wav2vec2-large-xlsr-pa-IN results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice pa-IN type: common_voice args: pa-IN metrics: - name: Test WER type: wer value: 54.86 --- # Wav2Vec2-Large-XLSR-53-Punjabi Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Punjabi using the [Common Voice](https://huggingface.co/datasets/common_voice). When using this model, make sure that your speech input is sampled at 16kHz. ## Usage The model can be used directly (without a language model) as follows: ```python import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor test_dataset = load_dataset("common_voice", "pa-IN", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("danurahul/wav2vec2-large-xlsr-pa-IN") model = Wav2Vec2ForCTC.from_pretrained("danurahul/wav2vec2-large-xlsr-pa-IN") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset["speech"][:2], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits predicted_ids = torch.argmax(logits, dim=-1) print("Prediction:", processor.batch_decode(predicted_ids)) print("Reference:", test_dataset["sentence"][:2]) ``` ## Evaluation The model can be evaluated as follows on the Punjabi test data of Common Voice. ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re test_dataset = load_dataset("common_voice", "pa-IN", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("danurahul/wav2vec2-large-xlsr-pa-IN") model = Wav2Vec2ForCTC.from_pretrained("danurahul/wav2vec2-large-xlsr-pa-IN") model.to("cuda") chars_to_ignore_regex = '[\\\\\\\\\\\\\\\\,\\\\\\\\\\\\\\\\?\\\\\\\\\\\\\\\\.\\\\\\\\\\\\\\\\!\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\;\\\\\\\\\\\\\\\\:\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\“\\\\\\\\\\\\\\\\%\\\\\\\\\\\\\\\\‘\\\\\\\\\\\\\\\\”\\\\\\\\\\\\\\\\�]' resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the aduio files as arrays def speech_file_to_array_fn(batch): batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() speech_array, sampling_rate = torchaudio.load(batch["path"]) batch["speech"] = resampler(speech_array).squeeze().numpy() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) # Preprocessing the datasets. # We need to read the aduio files as arrays def evaluate(batch): inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True) with torch.no_grad(): logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits pred_ids = torch.argmax(logits, dim=-1) batch["pred_strings"] = processor.batch_decode(pred_ids) return batch result = test_dataset.map(evaluate, batched=True, batch_size=8) print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"]))) ``` **Test Result**: 100 % ## Training The Common Voice `train`, `validation` was used for training as well as validation and testing # The script used for training can be found https://github.com/rahul-art/huggingface_wav2vec2_punjabi/blob/main/Fine_Tune_XLSR_Wav2Vec2_on_Punjabi_ASR_with_%F0%9F%A4%97_Transformers.ipynb
[ -0.029361488297581673, -0.025404855608940125, -0.0019227878656238317, 0.048595476895570755, 0.040142159909009933, 0.047162216156721115, -0.0044210501946508884, 0.0012356846127659082, -0.02547348476946354, 0.06720582395792007, 0.0255952887237072, -0.024902088567614555, -0.00463579036295414, 0.024047380313277245, -0.018463345244526863, -0.05849603936076164, -0.024003170430660248, -0.01766115054488182, -0.05697590857744217, 0.0017369865672662854, -0.013977338559925556, 0.01994127593934536, -0.009646396152675152, 0.029026923701167107, -0.015416807495057583, 0.00783044658601284, -0.007892007939517498, 0.013463014736771584, -0.00006294924241956323, -0.0657738670706749, -0.022378413006663322, -0.04098302870988846, -0.0044374954886734486, -0.04945763200521469, -0.023424334824085236, -0.001810097717680037, -0.0024795071221888065, 0.022138621658086777, 0.009340270422399044, 0.040544766932725906, -0.011160200461745262, 0.009865853004157543, -0.009129256010055542, -0.006797621957957745, 0.025579921901226044, 0.002486999612301588, -0.03530331701040268, -0.000640707730781287, 0.03272053226828575, -0.03748180344700813, -0.026107467710971832, -0.059502992779016495, -0.023962080478668213, 0.00732418242841959, -0.018909282982349396, -0.019248483702540398, -0.04154425114393234, -0.035868141800165176, 0.05205100402235985, -0.05887649953365326, -0.027277814224362373, 0.013669726438820362, -0.0647859200835228, 0.01709899865090847, 0.009523570537567139, -0.041490186005830765, 0.00022564243408851326, -0.04976046830415726, 0.02301572635769844, -0.02789931930601597, 0.060690540820360184, -0.039753977209329605, 0.017897283658385277, -0.09859294444322586, 0.02541874162852764, -0.018188904970884323, 0.04079919680953026, 0.033573973923921585, -0.027091193944215775, 0.052970096468925476, 0.03190672770142555, -0.0008664195775054395, 0.019916463643312454, -0.026405980810523033, 0.00908434484153986, 0.03951829671859741, -0.03708717226982117, 0.021179139614105225, 0.021941490471363068, 0.034857429563999176, -0.026970274746418, -0.05251113325357437, -0.018933558836579323, -0.05489373207092285, -0.012858258560299873, 0.023968437686562538, 0.03371550515294075, -0.01887865923345089, 0.04358845576643944, 0.03809269517660141, 0.00882740505039692, 0.026122702285647392, -0.02271808125078678, 0.06823024153709412, -0.0017344249645248055, 0.014659239910542965, -0.006666094530373812, -0.03718550130724907, -0.03945181146264076, 0.003209231421351433, 0.047952014952898026, -0.04749224707484245, -0.045235488563776016, 0.04223774001002312, 0.0004209897597320378, 0.0033320276997983456, 0.0407228022813797, -0.050089143216609955, -0.038497500121593475, -0.06095852702856064, 0.03436661884188652, 0.005882798228412867, 0.0021298301871865988, -0.0016354155959561467, -0.04497157782316208, 0.024877091869711876, -0.043458953499794006, -0.02717454545199871, 0.009759129956364632, 0.015073876827955246, -0.012446319684386253, 0.04383359104394913, 0.027679258957505226, -0.0513840913772583, -0.0009457454434596002, 0.011034488677978516, -0.058618493378162384, 0.02263101376593113, 0.028115881606936455, 0.0909678265452385, -0.05945472791790962, -0.043956052511930466, 0.030921006575226784, -0.001484749955125153, 0.0009603028302080929, 0.023466669023036957, 0.00886616762727499, -0.03103717230260372, -0.040499068796634674, -0.020872537046670914, 0.05392765998840332, -0.06588555127382278, -0.014668239280581474, 0.04246582090854645, -0.024278949946165085, 0.03973783925175667, -0.02978670969605446, -0.009697101078927517, 0.02473628707230091, -0.0037533564027398825, -0.014295537956058979, 0.03821616992354393, 0.002472918014973402, -0.03033512458205223, -0.03287307173013687, -0.03807199001312256, -0.00274156266823411, 0.08344336599111557, 0.007173195015639067, 0.007044030353426933, -0.009759387001395226, 0.029328245669603348, 0.031331297010183334, 0.0038092834874987602, -0.057667843997478485, 0.038296397775411606, 0.05864890292286873, 0.030904315412044525, -0.017003938555717468, 0.08209575712680817, 0.031133154407143593, -0.030092725530266762, -0.025387754663825035, -0.011323943734169006, 0.009551401250064373, -0.020309889689087868, 0.007547799497842789, 0.05259170010685921, -0.003296684240922332, -0.013082453049719334, 0.00667495047673583, 0.07525374740362167, -0.01880442537367344, -0.006671315059065819, -0.013194364495575428, -0.005000589415431023, -0.03338947892189026, 0.04255189001560211, -0.03742106258869171, 0.016382144764065742, -0.026483256369829178, -0.01699729636311531, -0.0043657999485731125, 0.0275966078042984, 0.021259291097521782, 0.04855000227689743, -0.020392468199133873, 0.10027934610843658, -0.036673061549663544, 0.004482279997318983, -0.04846655949950218, -0.040517985820770264, -0.012442616745829582, 0.055573027580976486, 0.013358096592128277, 0.06212574616074562, -0.008473781868815422, -0.03550711274147034, 0.026586998254060745, 0.03745488449931145, 0.07377567142248154, 0.024425042793154716, -0.01647285185754299, 0.010162672027945518, 0.027159294113516808, 0.06462962925434113, -0.08183825761079788, -0.0477253757417202, 0.005092022940516472, 0.018438542261719704, -0.033241402357816696, 0.025178851559758186, -0.012653077021241188, 0.05613330751657486, -0.06511308997869492, -0.0944957584142685, 0.05168537050485611, 0.007238072343170643, 0.0237885694950819, 0.030132804065942764, -0.018798796460032463, -0.010015967302024364, 0.027014583349227905, 0.0015815977239981294, 0.0009993129642680287, -0.03137915953993797, -0.017544928938150406, 0.006075628567487001, 0.046669550240039825, -0.06624115258455276, 0.03756702318787575, -0.017942504957318306, 0.0010360036976635456, 0.04631882533431053, -0.046845994889736176, 0.0203684214502573, 0.024802764877676964, 0.01202400028705597, -0.020216716453433037, 0.004826141055673361, -0.00686202198266983, 0.03651893883943558, 0.0670461654663086, 0.0122330691665411, 0.06531893461942673, -0.00277700531296432, 0.045855239033699036, 0.09294675290584564, 0.00895754061639309, 0.004853897728025913, 0.02299814671278, 0.06241483613848686, 0.005975720472633839, -0.020728453993797302, 0.06874965876340866, -0.03349440544843674, 0.03841504827141762, -0.04315531998872757, 0.004525559954345226, 0.0025529891718178988, -0.013778533786535263, 0.01958007924258709, 0.018147477880120277, -0.0012112814001739025, 0.003004348836839199, -0.00781814195215702, -0.028914809226989746, 0.039112500846385956, -0.02701026014983654, -0.01597738452255726, 0.0008403154788538814, -0.0031234289053827524, 0.015923013910651207, -0.08300678431987762, -0.030468622222542763, -0.002976425690576434, -0.03686956688761711, 0.0189838744699955, -0.08211060613393784, -0.03375095874071121, -0.06053178757429123, -0.009334438480436802, 0.030068211257457733, 0.027475103735923767, 0.033162862062454224, -0.03603649139404297, 0.02105374075472355, -0.06059174984693527, -0.01450864877551794, -0.06710600107908249, -0.03621193394064903, -0.036660026758909225, -0.07928553223609924, 0.038859106600284576, 0.026770932599902153, 0.02884090505540371, 0.0062878672033548355, 0.0057496498338878155, -0.02007184363901615, -0.03790530189871788, 0.040267497301101685, 0.05624169111251831, -0.0362081304192543, -0.07718522846698761, 0.03102876804769039, -0.03329063206911087, 0.01740650087594986, 0.000059968333516735584, -0.044104669243097305, 0.06711044907569885, 0.0657052993774414, 0.032709866762161255, 0.020662736147642136, -0.03818727657198906, -0.0431416817009449, -0.053685832768678665, -0.03712426871061325, -0.05838276073336601, -0.022890286520123482, 0.001841311459429562, -0.0463438518345356, -0.0282736923545599, 0.006907925941050053, -0.02590913698077202, -0.019470511004328728, 0.0046933842822909355, 0.040383439511060715, 0.0641339123249054, 0.034709632396698, 0.036866817623376846, -0.04133905842900276, -0.03612114116549492, 0.08057723939418793, 0.022450821474194527, 0.010925281792879105, -0.0713144913315773, -0.04596307873725891, 0.017762960866093636, 0.03340650349855423, -0.011219765990972519, -0.02361433021724224, 0.08468083292245865, 0.005248755682259798, -0.006996748968958855, 0.02434653230011463, -0.021043121814727783, -0.03210882842540741, -0.01251029409468174, -0.02606099471449852, 0.013796819373965263, -0.052023351192474365, -0.005598105024546385, 0.003172094700857997, 0.041803110390901566, -0.04995395615696907, -0.059492725878953934, -0.0098332604393363, 0.04413255676627159, 0.04052899405360222, -0.009809276089072227, -0.04114297777414322, -0.007408886216580868, -0.05133156478404999, -0.019708529114723206, 0.01097530871629715, 0.00912699569016695, 0.012420282699167728, 0.040107063949108124, 0.0015381274279206991, -0.03751629218459129, 0.040053728967905045, 0.022834720090031624, 0.0702836662530899, 0.023304715752601624, -0.04041917622089386, 0.015596901997923851, -0.019565945491194725, 0.014184565283358097, -0.012957802973687649, -0.008991362527012825, -0.034222640097141266, -0.08602674305438995, -0.016279960051178932, 0.0267445407807827, -0.013770326040685177, -0.02841494418680668, 0.04167088121175766, 0.006257606670260429, -0.005087290890514851, 0.016958890482783318, 0.025919755920767784, 0.02973787672817707, -0.04834365099668503, 0.033856432884931564, 0.00391368567943573, 0.03750878572463989, -0.06646604835987091, 0.0060693309642374516, -0.014274544082581997, -0.03940459340810776, -0.005516021512448788, 0.06430511176586151, 0.012824787758290768, 0.028755508363246918, 0.07400727272033691, 0.026797080412507057, -0.032492730766534805, 0.05038273707032204, 0.05160363018512726, -0.05017003044486046, -0.06038544699549675, -0.007868438959121704, -0.01293522771447897, -0.04220150411128998, -0.0027810190804302692, -0.05372407287359238, 0.057983361184597015, 0.036900173872709274, -0.012399923987686634, -0.01200951635837555, -0.008938107639551163, -0.04097158461809158, -0.011376429349184036, -0.03829711675643921, -0.04894044250249863, 0.037682268768548965, -0.03418714925646782, 0.03438994288444519, 0.028400098904967308, 0.01205410249531269, 0.07263895124197006, 0.04927283525466919, -0.025512658059597015, -0.027306700125336647, 0.032568637281656265, 0.0328005775809288, -0.04868051037192345, -0.057810500264167786, -0.04323461279273033, 0.056201908737421036, 0.040898073464632034, -0.0016793737886473536, -0.07697143405675888, -0.00917850248515606, 0.0550619475543499, -0.021222615614533424, 0.053798943758010864, -0.015581823885440826, 0.04305465891957283, 0.0674653947353363, -0.008552005514502525, 0.0049533359706401825, -0.02569872885942459, 0.012722020037472248, 0.02415202558040619, 0.03243841975927353, -0.01552195381373167, -0.025587091222405434, -0.07181116193532944, 0.015367966145277023, 0.02534913271665573, 0.027012739330530167, 0.05324650555849075, -0.021967140957713127, -0.05611677095293999, 0.0005752047291025519, 0.034179385751485825, -0.025269584730267525, 0.0315486416220665, 0.0333227664232254, 0.023304447531700134, -0.037587396800518036, -0.018259063363075256, 0.0006346844020299613, 0.0179599579423666, 0.011725284159183502, -0.001308183535002172, -0.05486781522631645, -0.028043657541275024, 0.002851746277883649, -0.005029923748224974, -0.024916106835007668, -0.07811208069324493, 0.044173214584589005, -0.008511547930538654, -0.00785688403993845, 0.03865915164351463, 0.03359294682741165, 0.04565979540348053, 0.03277641534805298, 0.007922730408608913, 0.012052969075739384, -0.024145467206835747, 0.051317982375621796, -0.02736390009522438, -0.02321176417171955, -0.030370032414793968, -0.0477265901863575, -0.02104821242392063, -0.030061397701501846, -0.042407531291246414, -0.0417751744389534, -0.013691764324903488, 0.035611167550086975, -0.011808384209871292, -0.024575358256697655, -0.018267132341861725, 0.056220099329948425, -0.03156456723809242, -0.05043536424636841, -0.032038722187280655, -0.020003601908683777, -0.060031890869140625, -0.04090980440378189, 0.046118367463350296, -0.023026790469884872, 0.015345160849392414, 0.010485919192433357, 0.019277147948741913, 0.031234843656420708, 0.00002426256651233416, -0.00155102729331702, 0.03580021485686302, -0.006377341691404581, -0.05388291925191879, -0.044547051191329956, 0.017688946798443794, 0.015788493677973747, 0.03866000473499298, -0.007211350370198488, 0.03207525983452797, 0.01771741732954979, -0.04536551237106323, -0.003087762976065278, 0.009782233275473118, 0.04047052189707756, -0.0628688782453537, -0.04987214878201485, -0.0025870921090245247, -0.06466278433799744, 0.0059547945857048035, -0.01373367104679346, -0.004898807033896446, 0.024297336116433144, 0.02535039745271206, 0.04230394586920738, -0.003322150558233261, -0.035888586193323135, 0.026604175567626953, -0.016144076362252235, 0.004672342911362648, -0.04701458662748337, 0.035246141254901886, -0.020362328737974167, 0.023171592503786087, -0.025267772376537323, -0.021608244627714157, -0.04003981500864029, 0.027116868644952774, -0.009026966989040375, -0.012904693372547626, -0.00568504398688674, 0.012513993307948112, -0.008212532848119736, 0.03507712855935097, -0.0063284593634307384, 0.03381459042429924, -0.04253463074564934, 0.06141806021332741, -0.022063419222831726, 0.029958432540297508, -0.00395605294033885, -0.0040892683900892735, -0.02169429324567318, -0.015784822404384613, 0.0011140075512230396, -0.04864737391471863, 0.0395619235932827, 0.03599602356553078, 0.04092166945338249, 0.048846468329429626, -0.029741164296865463, 0.00774318678304553, -0.00862379651516676, -0.04815884679555893, -0.005858125630766153, -0.012597719207406044, 0.044209547340869904, 0.005857840646058321, 0.0627569630742073, 0.028050612658262253, -0.05487097054719925, -0.05816364288330078, 0.05389497056603432, 0.012189781293272972, 0.004130695480853319, 0.01395334955304861, 0.03095795027911663, 0.041523393243551254, 0.048226647078990936, -0.026405232027173042, 0.0064413477666676044, -0.011142059229314327, -0.025968044996261597, 0.04717861860990524, 0.0007117578061297536, 0.017184428870677948, 0.015262261033058167, -0.0336323045194149, -0.017737409099936485, 0.06913235783576965, 0.019047211855649948, 0.01220498327165842, -0.02643713541328907, -0.042212653905153275, 0.010623340494930744, -0.017251400277018547, -0.04781762510538101, -0.012703049927949905, -0.0038671407382935286, -0.01898094452917576, 0.07380081713199615, -0.020371966063976288, 0.01287215668708086, 0.035005711019039154, 0.016224104911088943, -0.02161264419555664, 0.0554962083697319, -0.02511955425143242, 0.012713661417365074, 0.04397585242986679, -0.07055741548538208, -0.021310925483703613, -0.022509606555104256, 0.07686863094568253, -0.06320147961378098, 0.04108675941824913, 0.050181794911623, 0.01729741506278515, 0.027504025027155876, -0.03543437272310257, -0.0412508100271225, 0.046281132847070694, -0.03603034466505051, 0.061192747205495834, 0.03639121726155281, -0.07266855984926224, 0.06374964118003845, 0.010127665475010872, -0.10829422622919083, 0.05003966763615608, 0.046795498579740524, 0.019021663814783096, 0.03733295202255249, 0.04367687553167343, -0.06378328055143356, -0.004844214767217636, -0.0420425720512867, 0.03126272186636925, -0.07226875424385071, 0.012318187393248081, 0.022405054420232773, -0.042176421731710434, -0.0171698946505785, 0.038296040147542953, 0.009804845787584782, -0.005536070093512535, 0.0041982633993029594, -0.05356641486287117, -0.0420181080698967, -0.015491093508899212, 0.024385973811149597, -0.055472057312726974, 0.0027285893447697163, -0.0475681908428669, 0.007168691139668226, 0.01899362914264202, 0.019046815112233162, -0.01895037852227688, -0.020962664857506752, 0.020304080098867416, -0.04551495984196663, -0.034619007259607315, 0.02926301211118698, 0.017397034913301468, -0.02648991532623768, 0.06007591634988785, -0.01051265187561512, 0.01692335307598114, 0.029002659022808075, 0.00904550589621067, 0.03455665335059166, -0.06767119467258453, -0.01199374534189701, -0.0024592189583927393, 0.021900983527302742, 0.0133773572742939, -0.009682619012892246, 0.05388595908880234, 0.04963453859090805, -0.0066567761823534966, 0.03872079774737358, -0.026023022830486298, -0.019855894148349762, 0.019062208011746407, -0.048066139221191406, 0.031988561153411865, 0.02566172368824482, -0.04030241444706917, -0.020304527133703232, -0.0126895597204566, 0.004298682324588299, 0.027148230001330376, -0.06053619459271431, -0.013431109488010406, 0.019704073667526245, -0.04245077818632126, -0.03586416319012642, -0.06209971010684967, -0.025651097297668457, -0.03240843489766121, 0.045376427471637726, 0.025340111926198006, -0.03713337704539299, 0.01806667447090149, -0.04869052395224571, -0.05692283809185028, -0.0019361644517630339, 0.02007739432156086, -0.03375394269824028, 0.05511479452252388, 0.05234929174184799, -0.043425388634204865, 0.022732745856046677, 0.03889516741037369, -0.02226133458316326, 0.03539707511663437, 0.0029791516717523336, 0.00973413698375225, 0.039201658219099045, 0.02556401863694191, -0.04990210011601448, -0.024388456717133522, -0.07269643247127533, -0.03631027415394783, -0.03719260171055794, -0.00027439979021437466, 0.057814858853816986 ]
BSC-LT/roberta-large-bne-capitel-pos
[ "pytorch", "roberta", "token-classification", "es", "dataset:bne", "dataset:capitel", "arxiv:1907.11692", "arxiv:2107.07253", "transformers", "national library of spain", "spanish", "bne", "capitel", "pos", "license:apache-2.0", "autotrain_compatible" ]
token-classification
{ "architectures": [ "RobertaForTokenClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
13
null
--- license: mit tags: - generated_from_trainer datasets: - amazon_reviews_multi model-index: - name: xlm-roberta-base-finetuned-marc-en results: [] --- <!-- 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. --> # xlm-roberta-base-finetuned-marc-en This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the amazon_reviews_multi dataset. It achieves the following results on the evaluation set: - Loss: 0.9302 - Mae: 0.5 ## 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: 2e-05 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 2 ### Training results | Training Loss | Epoch | Step | Validation Loss | Mae | |:-------------:|:-----:|:----:|:---------------:|:------:| | 1.1253 | 1.0 | 235 | 0.9756 | 0.5488 | | 0.9465 | 2.0 | 470 | 0.9302 | 0.5 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.039767373353242874, 0.0012574829161167145, 0.008401399478316307, 0.024524813517928123, 0.025197196751832962, 0.027644824236631393, -0.024696506559848785, -0.01040240004658699, -0.0376780703663826, 0.043937359005212784, 0.04822481423616409, -0.03632697835564613, -0.003974782302975655, 0.03240576386451721, -0.021245528012514114, -0.04321017488837242, -0.02374877594411373, -0.03137282282114029, -0.029572593048214912, -0.01585477776825428, 0.00596999004483223, 0.00230675982311368, -0.011495206505060196, 0.024972155690193176, -0.00002603222310426645, -0.013353081420063972, -0.012810134328901768, 0.03953491523861885, 0.018106812611222267, -0.062280040234327316, 0.01723233051598072, -0.0422343984246254, -0.029822787269949913, -0.02154434658586979, -0.0012551899999380112, 0.019471997395157814, 0.029752438887953758, 0.011517219245433807, 0.031305693089962006, 0.04132406786084175, 0.011822539381682873, 0.03188057616353035, -0.01529417373239994, -0.03025241196155548, 0.040814124047756195, -0.008916238322854042, -0.043137650936841965, -0.023822087794542313, 0.04219850152730942, -0.034331150352954865, -0.06615706533193588, -0.048581309616565704, -0.01702549122273922, 0.03690657019615173, -0.02925225906074047, 0.0007819585734978318, -0.04387233406305313, 0.014538065530359745, 0.06016705557703972, -0.05491528660058975, -0.05866014584898949, 0.0329614132642746, -0.08376363664865494, 0.030789149925112724, 0.04734894633293152, -0.032600037753582, 0.0028527826070785522, -0.02674737386405468, 0.04373164102435112, 0.0009304247796535492, 0.09590724110603333, -0.014321785420179367, 0.0036687892861664295, -0.07050104439258575, -0.008470946922898293, -0.01965254358947277, 0.036427050828933716, 0.048508502542972565, -0.026609431952238083, 0.02213580533862114, 0.036470018327236176, -0.01652337983250618, 0.042876891791820526, -0.02289821393787861, 0.0080511923879385, 0.03627251833677292, -0.05155600607395172, 0.0014123565051704645, 0.023162731900811195, 0.028926797211170197, -0.036315273493528366, -0.05830736458301544, -0.009113349951803684, -0.010468973778188229, -0.021549779921770096, 0.050189368426799774, 0.05308551341295242, -0.00422083493322134, 0.038654133677482605, 0.02200661040842533, 0.019818415865302086, 0.030270658433437347, -0.009265545755624771, 0.07592018693685532, -0.0260398481041193, -0.02105685882270336, -0.0133964903652668, -0.006158428266644478, -0.020346060395240784, 0.05093586817383766, 0.03282895311713219, -0.032988645136356354, -0.04487316310405731, 0.03940374031662941, 0.0027190130203962326, -0.01290962379425764, 0.061504676938056946, -0.026156030595302582, -0.04737996309995651, -0.04854581132531166, 0.057909585535526276, 0.01323546003550291, 0.011294419877231121, 0.005026187282055616, -0.034607112407684326, -0.03225082531571388, -0.037012483924627304, -0.049484219402074814, 0.024530265480279922, 0.006815444212406874, -0.017204979434609413, 0.049794528633356094, 0.0151266073808074, -0.05835564807057381, 0.00962319876998663, 0.011450163088738918, -0.040323976427316666, 0.048139430582523346, 0.024012817069888115, 0.11238891631364822, -0.04318530857563019, -0.06374368816614151, 0.0198371522128582, 0.00965514313429594, -0.021921562030911446, 0.0207549836486578, -0.0005186359630897641, -0.02542342059314251, -0.03665779531002045, 0.01029964629560709, 0.02401566132903099, -0.046118419617414474, -0.015138867311179638, 0.05300835892558098, -0.02052425965666771, 0.047528572380542755, -0.03370565176010132, -0.004946104250848293, 0.0018513797549530864, -0.022771937772631645, -0.0249816682189703, 0.048170287162065506, 0.011625747196376324, 0.022682471200823784, -0.019238533452153206, -0.05519663542509079, 0.005288239102810621, 0.09669016301631927, -0.015565380454063416, -0.03759937360882759, -0.006219628732651472, 0.015710504725575447, 0.03280390799045563, 0.037554726004600525, -0.01824277453124523, 0.05448795109987259, 0.04956395924091339, 0.03069087490439415, -0.022807259112596512, 0.03307428956031799, 0.02706625498831272, -0.032449498772621155, -0.038709189742803574, 0.025483381003141403, 0.007638758979737759, -0.04441273957490921, 0.025626730173826218, 0.02824198454618454, 0.010695282369852066, -0.03272637724876404, -0.051325052976608276, 0.045911796391010284, -0.004342985805124044, -0.008188111707568169, -0.01356996688991785, -0.020049193874001503, -0.01939423568546772, 0.06995102763175964, 0.0015601272461935878, 0.002365377964451909, -0.0063682254403829575, -0.04406137391924858, 0.009733336046338081, 0.018673939630389214, 0.029902370646595955, 0.05568071827292442, -0.009018934331834316, 0.08930376917123795, -0.03175702691078186, 0.038385216146707535, -0.04317813366651535, -0.0492873415350914, 0.02840227633714676, 0.07471907138824463, 0.0364064946770668, 0.045588284730911255, -0.021199766546487808, -0.041824281215667725, 0.0252149049192667, 0.07603772729635239, 0.03518583998084068, 0.02238621935248375, -0.03233535215258598, -0.030896784737706184, 0.03973311930894852, 0.027639267966151237, -0.06339512020349503, -0.024079151451587677, 0.012424835935235023, 0.04525080695748329, -0.018570320680737495, 0.022254494950175285, -0.019894281402230263, 0.016163557767868042, -0.05667288228869438, -0.0720774233341217, 0.05672488361597061, 0.025856679305434227, 0.02352236956357956, 0.034183017909526825, -0.0017454340122640133, 0.0022275804076343775, -0.0063558765687048435, 0.02731669694185257, -0.013827557675540447, -0.04324110597372055, 0.01195512991398573, 0.009112874045968056, 0.049049876630306244, -0.05604691430926323, 0.05307522788643837, -0.01213302742689848, 0.0140577657148242, 0.03241432085633278, -0.05013258382678032, 0.012786106206476688, 0.05370045453310013, 0.03069254569709301, -0.024616574868559837, 0.01307751052081585, 0.021295279264450073, 0.03529394045472145, 0.044718969613313675, -0.004916512407362461, 0.047291021794080734, 0.01340191625058651, 0.044924575835466385, 0.06767937541007996, 0.013882752507925034, 0.045519549399614334, 0.0343514122068882, 0.06749753654003143, 0.03906266391277313, -0.013590159825980663, 0.048236772418022156, -0.07558895647525787, 0.011825931258499622, -0.02864900417625904, 0.02328621596097946, -0.026534292846918106, -0.01142216008156538, 0.04672234505414963, 0.028341172263026237, -0.017987923696637154, -0.020133918151259422, -0.01947508379817009, -0.022741084918379784, 0.0306869950145483, -0.00869041308760643, -0.01809876598417759, -0.007666535675525665, 0.012158291414380074, -0.015239930711686611, -0.06171045079827309, -0.03511057049036026, -0.011016408912837505, -0.0190083310008049, -0.026570457965135574, -0.07697876542806625, -0.009790472686290741, -0.060288138687610626, -0.03102857619524002, 0.04873346909880638, -0.005036177579313517, -0.006070541683584452, -0.048413991928100586, 0.014739969745278358, -0.048449400812387466, -0.04268620163202286, -0.036779873073101044, -0.054951976984739304, -0.0278472937643528, -0.08564434200525284, 0.04255130514502525, 0.007954102009534836, 0.03236166387796402, 0.005761437583714724, 0.003494945354759693, -0.00014857068890705705, -0.03632598742842674, 0.06598202139139175, 0.04865729436278343, -0.030484585091471672, -0.054593224078416824, 0.03656582906842232, -0.0038046007975935936, 0.009623250924050808, 0.018315861001610756, -0.04296744987368584, 0.09573939442634583, 0.05738457664847374, 0.005073189735412598, 0.013743233866989613, 0.000058696277847047895, -0.049583278596401215, -0.049175411462783813, -0.007806181907653809, -0.036122534424066544, -0.03235296532511711, -0.049724824726581573, -0.015630031004548073, -0.013168128207325935, -0.033304449170827866, 0.013935697264969349, -0.01296279113739729, 0.012750418856739998, 0.026455583050847054, 0.030670197680592537, 0.04443500190973282, 0.02608199417591095, -0.028779560700058937, -0.07806757092475891, 0.05825885385274887, 0.0212022103369236, -0.030663514509797096, -0.07815811783075333, -0.01869204267859459, 0.0409262515604496, 0.01724248193204403, 0.00262409052811563, -0.014024424366652966, 0.07112552225589752, -0.007604175712913275, -0.012537727132439613, 0.02246917597949505, -0.023188218474388123, -0.016387108713388443, 0.000190291742910631, -0.014976363629102707, -0.008737181313335896, -0.042359400540590286, -0.032204464077949524, -0.009917419403791428, 0.060939889401197433, -0.04113801196217537, -0.05129913240671158, -0.008337999694049358, 0.03721272200345993, 0.051121458411216736, -0.001263498910702765, -0.030985131859779358, -0.012016664259135723, -0.07698439061641693, -0.002524514915421605, 0.041309695690870285, 0.010364036075770855, 0.012662823311984539, 0.058734260499477386, 0.007092833984643221, -0.028848722577095032, 0.034721314907073975, 0.03930474817752838, 0.06568939238786697, 0.009097851812839508, -0.0589318610727787, -0.00527542270720005, -0.02999545820057392, 0.01930912770330906, -0.00037120369961485267, -0.025277167558670044, -0.0414741188287735, -0.07737347483634949, -0.01602453924715519, -0.005469764582812786, 0.010074550285935402, -0.012136818841099739, 0.035990823060274124, -0.00355357863008976, -0.014596105553209782, -0.005352402105927467, 0.008858507499098778, 0.055742137134075165, -0.04604237899184227, 0.06141157075762749, -0.003366245189681649, 0.03268462419509888, -0.03506339341402054, 0.004605509340763092, -0.03784734010696411, -0.014856738038361073, 0.014702784828841686, 0.0433465912938118, -0.00106496037915349, 0.054872144013643265, 0.08687619119882584, 0.040248021483421326, -0.04366140440106392, 0.03628968074917793, 0.05489150807261467, -0.034243643283843994, -0.053150586783885956, 0.00046912283869460225, -0.031630028039216995, -0.024791928008198738, -0.011268789879977703, -0.01854897476732731, 0.04978497698903084, 0.03286995738744736, -0.014694837853312492, 0.01125572994351387, 0.005695539992302656, -0.012110726907849312, -0.026248684152960777, -0.05004887282848358, -0.025655852630734444, 0.0009087795042432845, -0.036922648549079895, 0.009667416103184223, 0.0426279753446579, 0.013011820614337921, 0.05638950690627098, 0.05077344551682472, -0.033970754593610764, -0.05469923093914986, 0.022177863866090775, 0.0008158631389960647, -0.031742583960294724, -0.05928424373269081, -0.017492791637778282, 0.027990426868200302, 0.03832982853055, -0.01497484277933836, -0.085148386657238, 0.023351259529590607, 0.06207489222288132, -0.033799976110458374, 0.046143725514411926, -0.0033012619242072105, 0.0358814001083374, 0.05510537698864937, -0.022728482261300087, 0.034819453954696655, -0.013906783424317837, -0.014105631038546562, -0.0009901808807626367, 0.03160444647073746, -0.018493693321943283, -0.018943458795547485, -0.052971430122852325, 0.012044388800859451, 0.03856879100203514, 0.053112685680389404, 0.045022107660770416, -0.03711864352226257, -0.05788375437259674, -0.00791427493095398, 0.04474387317895889, -0.047512561082839966, 0.006696970202028751, 0.04533553123474121, 0.023332368582487106, -0.043172139674425125, -0.04688899219036102, -0.007292719557881355, -0.026020178571343422, 0.0368952713906765, -0.00218422943726182, -0.043043091893196106, -0.0444258414208889, 0.03224790468811989, -0.007298235781490803, -0.021131053566932678, -0.061729393899440765, 0.040496353060007095, 0.005784046836197376, 0.0005952065112069249, 0.07635575532913208, 0.019376929849386215, 0.01805679313838482, 0.03884252905845642, 0.02573835663497448, 0.01946452260017395, -0.036900296807289124, 0.04791964218020439, -0.028258435428142548, -0.03272857889533043, 0.014354127459228039, -0.048672836273908615, -0.030332105234265327, -0.025496868416666985, -0.04504022374749184, -0.03969426080584526, 0.004301014821976423, 0.01125535648316145, 0.001148282433860004, 0.003926403820514679, 0.008452978916466236, 0.02961009554564953, -0.01901935413479805, -0.028768867254257202, -0.04605261981487274, -0.025005320087075233, -0.06784109026193619, -0.03654226288199425, 0.01757345348596573, 0.026347476989030838, 0.03612959384918213, 0.021800560876727104, 0.004782524891197681, 0.009973638691008091, 0.011862685903906822, -0.03916272521018982, 0.02833312563598156, -0.007896390743553638, -0.014634016901254654, -0.02473871409893036, 0.02806665375828743, 0.022881289944052696, 0.028520122170448303, -0.04667654633522034, 0.04363631084561348, 0.014737497083842754, -0.003835519077256322, -0.0153379887342453, 0.018046457320451736, 0.011899905279278755, -0.05868833512067795, -0.03496308997273445, -0.006285683251917362, -0.02919541299343109, 0.01902143470942974, -0.03592110425233841, -0.032342735677957535, 0.004533219616860151, -0.0023571301717311144, 0.017677083611488342, -0.0005156901315785944, -0.023702116683125496, -0.0031032159458845854, -0.029454326257109642, 0.01321733184158802, -0.04969695955514908, 0.07021556794643402, -0.04308677837252617, 0.004323167726397514, -0.022258054465055466, -0.002760431496426463, -0.038260236382484436, 0.06346587836742401, -0.005373749881982803, -0.008151230402290821, -0.006239351816475391, 0.06307747960090637, -0.038027238100767136, 0.012856811285018921, -0.0033356747590005398, 0.01915697008371353, -0.009871735237538815, 0.08440747857093811, -0.038272518664598465, 0.002711755223572254, -0.027674654498696327, 0.03288739547133446, -0.02960551343858242, 0.004548514727503061, -0.016447361558675766, -0.015176407061517239, 0.018620455637574196, 0.06240219250321388, 0.052791040390729904, 0.017894677817821503, -0.009845873340964317, 0.008410988375544548, 0.009714354760944843, -0.05308928340673447, -0.028748707845807076, -0.015082521364092827, 0.01768030971288681, -0.012656252831220627, 0.03375173732638359, 0.04199984669685364, -0.034324463456869125, -0.0641787052154541, 0.060068488121032715, -0.0025292031932622194, 0.009820309467613697, -0.0016800868324935436, 0.04174869507551193, 0.026389773935079575, 0.03989998996257782, -0.055821605026721954, 0.003096420783549547, -0.01276192907243967, -0.03567153587937355, 0.04541679471731186, -0.010377428494393826, 0.03942771255970001, 0.012355598621070385, -0.060485903173685074, -0.01276333350688219, 0.07538874447345734, 0.027398832142353058, 0.03234794735908508, -0.004810691345483065, -0.048988401889801025, 0.03637705370783806, 0.015229485929012299, -0.04731404036283493, 0.022799771279096603, 0.01125486008822918, -0.02959994412958622, 0.054690439254045486, -0.005629702005535364, 0.013769667595624924, 0.05032557249069214, 0.0413472019135952, -0.013838285580277443, 0.06659996509552002, -0.00021450853091664612, 0.04192490503191948, 0.04125405475497246, -0.07586154341697693, -0.018583456054329872, -0.032966677099466324, 0.06847967952489853, -0.07063743472099304, 0.03634708374738693, 0.05700515955686569, 0.00728716840967536, -0.0011536579113453627, -0.045362260192632675, -0.05141110345721245, -0.012412924319505692, -0.03787501901388168, 0.05276809260249138, 0.026240957900881767, -0.060777030885219574, 0.0427422970533371, 0.022519836202263832, -0.07968549430370331, 0.066864512860775, 0.009946095757186413, 0.05138124153017998, 0.022297507151961327, 0.036717962473630905, -0.055822934955358505, 0.026785699650645256, -0.05538031831383705, 0.026487844064831734, -0.05188490450382233, -0.015402700752019882, 0.02074531279504299, -0.030045200139284134, -0.025653937831521034, 0.036133553832769394, -0.013655864633619785, -0.0030701609794050455, 0.05155068635940552, -0.027992552146315575, -0.03440512716770172, -0.01149898860603571, -0.003878192277625203, -0.02195538766682148, -0.0010215779766440392, -0.033912185579538345, 0.023283444344997406, 0.03396892175078392, 0.011173566803336143, -0.01185052189975977, -0.02767183631658554, 0.032519128173589706, -0.08274270594120026, -0.05694406479597092, 0.022963419556617737, -0.0019223508425056934, -0.02477315254509449, 0.023855913430452347, 0.009840516373515129, 0.014219140633940697, 0.015011593699455261, -0.011833087541162968, 0.01124599203467369, -0.050233613699674606, -0.014373349025845528, 0.012325619347393513, -0.012719792313873768, 0.043018948286771774, -0.006696248892694712, 0.03893129155039787, 0.01770932972431183, 0.02973810024559498, -0.02019454725086689, -0.027861567214131355, -0.04144258797168732, 0.0406356118619442, 0.0035771101247519255, -0.018899567425251007, -0.02181660570204258, -0.04406028613448143, -0.06619155406951904, 0.000323065381962806, -0.04474581032991409, 0.015727423131465912, -0.05028670281171799, 0.010438093915581703, 0.040587279945611954, -0.025844313204288483, -0.05279676616191864, -0.08065150678157806, -0.027837226167321205, -0.004354564473032951, -0.0269915908575058, 0.021160602569580078, -0.03138842433691025, 0.017285915091633797, -0.03930222615599632, -0.05689723417162895, 0.046673186123371124, 0.00943536777049303, -0.028529515489935875, 0.06330033391714096, 0.03919563069939613, -0.03755313158035278, 0.003242715960368514, 0.047959741204977036, -0.03506512939929962, -0.0070287324488162994, 0.012636123225092888, 0.0063506728038191795, 0.030035056173801422, -0.005268978886306286, -0.0502084419131279, -0.03417106717824936, -0.06353485584259033, -0.05973774194717407, -0.056249525398015976, -0.007793598808348179, 0.08355478197336197 ]
BSC-LT/roberta-large-bne-sqac
[ "pytorch", "roberta", "question-answering", "es", "dataset:BSC-TeMU/SQAC", "arxiv:1907.11692", "arxiv:2107.07253", "transformers", "national library of spain", "spanish", "bne", "qa", "question answering", "license:apache-2.0", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
15
2021-06-17T17:45:01Z
Sample usage: ```python tokenizer = GPT2Tokenizer.from_pretrained("gpt2") model = GPT2LMHeadModel.from_pretrained("danyaljj/gpt2_question_answering_squad2") input_ids = tokenizer.encode("There are two apples on the counter. Q: How many apples? A:", return_tensors="pt") outputs = model.generate(input_ids) print("Generated:", tokenizer.decode(outputs[0], skip_special_tokens=True)) ``` Which should produce this: ``` Generated: There are two apples on the counter. Q: How many apples? A: two ```
[ -0.004089536610990763, -0.029840053990483284, -0.020573852583765984, 0.0715438723564148, 0.04776860028505325, 0.04704568535089493, -0.00332530215382576, -0.0034925518557429314, -0.029691630974411964, 0.03972581401467323, 0.015527964569628239, 0.007986948825418949, 0.013660592027008533, 0.04526316002011299, -0.0380266048014164, -0.04197786748409271, -0.02827039361000061, 0.009196406230330467, -0.04252255707979202, -0.02542920410633087, 0.013393725268542767, -0.005776961799710989, 0.018886471167206764, -0.0013839829480275512, -0.018423639237880707, 0.02016005851328373, 0.001332671381533146, 0.0016859722090885043, 0.04206198453903198, -0.08624450117349625, -0.013708947226405144, -0.009013734757900238, -0.03160536289215088, -0.017272276803851128, -0.02550046145915985, -0.015088089741766453, -0.004998179618269205, 0.00858697947114706, 0.02410946972668171, 0.06358522176742554, -0.007960478775203228, 0.040578752756118774, 0.0009527414804324508, -0.02861199900507927, 0.053919717669487, 0.002315265592187643, -0.017615851014852524, -0.023868141695857048, 0.03631231561303139, 0.0018173960270360112, -0.06116214394569397, -0.07743775844573975, -0.01626947522163391, -0.003795924363657832, -0.02362346090376377, -0.03706562519073486, -0.06295555084943771, -0.018710406497120857, 0.07188395410776138, -0.03093867376446724, -0.007354197092354298, 0.012811348773539066, -0.054764918982982635, 0.03543496131896973, 0.0058854552917182446, -0.029856575652956963, 0.013379738666117191, -0.05770735815167427, 0.011261544190347195, -0.023707523941993713, 0.054861921817064285, -0.019445471465587616, 0.021673033013939857, -0.11137653887271881, -0.006631316151469946, -0.01096025574952364, 0.03763435035943985, 0.023699939250946045, -0.05548825487494469, 0.08426779508590698, 0.03921233490109444, 0.004411403089761734, 0.02294026128947735, 0.004801588598638773, -0.009662188589572906, 0.03476956859230995, -0.02574429102241993, -0.01727638952434063, 0.0015610427362844348, 0.04462643712759018, -0.05847371742129326, -0.04370604082942009, -0.023811541497707367, -0.01876797340810299, -0.013774354010820389, 0.002351489383727312, 0.0366477444767952, 0.014419429935514927, 0.03644796833395958, 0.02821989916265011, 0.023779023438692093, 0.041587572544813156, -0.0038631472270935774, 0.034213997423648834, 0.009526584297418594, 0.029200226068496704, -0.01192499976605177, -0.05846468359231949, -0.033877208828926086, 0.047186002135276794, 0.03556019067764282, -0.012391136959195137, -0.038880959153175354, 0.031054696068167686, 0.00844739843159914, -0.022866636514663696, 0.06168396770954132, -0.002879041712731123, -0.023701418191194534, -0.033553820103406906, 0.055091533809900284, -0.012536582536995411, 0.011585058644413948, 0.005129394121468067, -0.04182305932044983, 0.01497765351086855, -0.06261518597602844, -0.0356423556804657, -0.00849836878478527, 0.03219178691506386, -0.028187653049826622, 0.05985312536358833, 0.04144962131977081, -0.042933832854032516, 0.014411373995244503, 0.01818317547440529, -0.07144813984632492, 0.053925637155771255, 0.01384212076663971, 0.06790168583393097, -0.07312914729118347, -0.08714769780635834, 0.044083837419748306, 0.009813076816499233, -0.020476967096328735, -0.03034752979874611, -0.004475895781069994, -0.0479387529194355, -0.028425028547644615, 0.01657291129231453, 0.0766163244843483, -0.046420030295848846, -0.0012063096510246396, 0.04177664592862129, 0.010044797323644161, 0.050331637263298035, -0.04201758652925491, -0.009627480059862137, 0.001008258550427854, 0.008073708973824978, -0.0436660572886467, 0.06288103014230728, -0.008753148838877678, 0.009565767832100391, -0.050735071301460266, -0.04999220371246338, -0.0013149194419384003, 0.07801339775323868, 0.01021784357726574, -0.0008109511691145599, -0.029033862054347992, 0.02558135986328125, 0.039543185383081436, 0.016241412609815598, -0.027248162776231766, 0.023305123671889305, 0.0404173918068409, 0.038448888808488846, -0.03618362173438072, 0.044513870030641556, 0.01646292395889759, -0.031813088804483414, -0.02332710102200508, 0.01707070879638195, -0.007474387530237436, -0.019316865131258965, 0.02036193199455738, -0.0018716350896283984, -0.041233744472265244, -0.019532518461346626, -0.012538721784949303, 0.058049775660037994, 0.00790911540389061, -0.011542446911334991, -0.014074903912842274, 0.014369618147611618, -0.017824571579694748, 0.04321489483118057, -0.030960148200392723, 0.01323641650378704, -0.020595237612724304, -0.015909386798739433, -0.0034457528963685036, 0.03276815265417099, 0.03674239665269852, 0.03283177688717842, -0.0066377860493958, 0.09446554630994797, -0.027124634012579918, 0.008535908535122871, -0.055265411734580994, -0.045669179409742355, -0.01222381740808487, 0.03183433786034584, 0.005116589833050966, 0.03934096172451973, -0.00012322214024607092, -0.03113909438252449, 0.035535234957933426, 0.058952804654836655, 0.06028056517243385, 0.03198320418596268, -0.010403340682387352, 0.0349508598446846, 0.028719477355480194, 0.06439471244812012, -0.026295388117432594, -0.04381037503480911, 0.034187737852334976, 0.05316867679357529, -0.0007029147236607969, 0.010943854227662086, -0.005194305442273617, -0.0017227671341970563, -0.039628032594919205, -0.06236691772937775, 0.01824289932847023, 0.03275122866034508, 0.021595794707536697, 0.032812945544719696, -0.011853992938995361, -0.006253388244658709, 0.046980999410152435, -0.006301767658442259, 0.030934780836105347, -0.024159658700227737, -0.010028488002717495, 0.0018462187144905329, 0.06481549888849258, -0.05777585133910179, 0.03071543015539646, -0.009066513739526272, 0.016927892342209816, 0.05785235017538071, -0.04678889364004135, 0.034924376755952835, 0.02200334146618843, 0.015399596653878689, -0.03133615851402283, 0.039100971072912216, 0.007487825118005276, 0.029872553423047066, 0.07472348213195801, 0.017779218032956123, 0.06823872774839401, -0.0007651920313946903, 0.03565794974565506, 0.08128824084997177, 0.026349343359470367, -0.00011924441059818491, 0.02787364087998867, 0.07070645689964294, 0.01055037323385477, 0.014868758618831635, 0.04508572444319725, -0.07111017405986786, 0.03059704601764679, -0.03286971524357796, 0.032505374401807785, 0.004580277018249035, -0.006444372236728668, 0.044803276658058167, 0.030270902439951897, -0.028026610612869263, 0.027899162843823433, -0.014917917549610138, -0.005192631855607033, 0.007117844186723232, -0.014318822883069515, -0.015696827322244644, -0.01438857987523079, 0.0022268344182521105, 0.010315770283341408, -0.08863991498947144, -0.0077326856553554535, -0.031175602227449417, -0.009989412501454353, -0.014375207014381886, -0.10534795373678207, -0.014028280042111874, -0.051040589809417725, -0.017469413578510284, 0.02780805714428425, 0.014345582574605942, 0.006009172648191452, -0.014825140126049519, 0.04380813241004944, -0.05790344625711441, -0.029392467811703682, -0.03755497932434082, -0.04143526032567024, -0.04737001284956932, -0.06660541146993637, 0.0507243387401104, 0.00546142365783453, 0.014905668795108795, 0.02440764009952545, -0.018176306039094925, -0.039922308176755905, -0.007876863703131676, 0.05429352447390556, 0.03776870295405388, -0.04588518291711807, -0.058016058057546616, 0.03994183987379074, -0.02949085272848606, 0.026807263493537903, -0.01562853716313839, -0.017427105456590652, 0.0757797509431839, 0.07177618145942688, 0.01928725652396679, 0.026841500774025917, -0.027473589405417442, -0.053722407668828964, -0.038014836609363556, -0.006389223970472813, -0.019761666655540466, -0.018281133845448494, -0.028838420286774635, -0.03828812763094902, -0.00017145651509054005, -0.039933864027261734, -0.023985527455806732, 0.009556532837450504, 0.04962103068828583, 0.06474100053310394, 0.05639415979385376, 0.028993038460612297, 0.015486864373087883, -0.03309538960456848, -0.01387364137917757, 0.04490391165018082, 0.004043870139867067, 0.030603421851992607, -0.08938942104578018, -0.02638237364590168, 0.037375837564468384, 0.0026620549615472555, 0.007248580921441317, -0.018916605040431023, 0.07938232272863388, 0.007312767673283815, -0.006563275586813688, 0.006906270980834961, -0.004728473257273436, -0.01323398482054472, 0.020738253369927406, 0.009131996892392635, -0.0212719589471817, -0.04168631136417389, -0.025505410507321358, -0.028498804196715355, 0.05130850523710251, -0.07429276406764984, -0.04509461298584938, -0.018796952441334724, 0.03972378745675087, 0.013059381395578384, 0.027258915826678276, -0.03410930186510086, -0.02222919650375843, -0.05852720886468887, -0.02118191123008728, 0.005538321100175381, 0.01897107996046543, 0.0070733274333179, 0.025026220828294754, 0.02898513153195381, -0.023584822192788124, 0.028099553659558296, 0.039761967957019806, 0.04847327247262001, 0.00627392902970314, -0.024784250184893608, 0.034465763717889786, 0.0006076290155760944, 0.028370965272188187, -0.0026332922279834747, -0.03170698136091232, -0.04463982209563255, -0.10477849096059799, -0.020015690475702286, 0.0037229438312351704, -0.05174923315644264, 0.011677839793264866, 0.02563623897731304, -0.007842814549803734, -0.027218401432037354, -0.011624712496995926, 0.020966123789548874, 0.04181928187608719, -0.057410188019275665, 0.03541220352053642, 0.0009733653860166669, 0.05378525331616402, -0.04180825501680374, 0.006204588804394007, -0.026668258011341095, -0.016875186935067177, -0.0034974010195583105, 0.06647416204214096, 0.0037270612083375454, 0.06031937524676323, 0.05206245929002762, 0.020918143913149834, -0.03398660570383072, 0.0603594034910202, 0.053572747856378555, -0.030612172558903694, -0.04012657329440117, -0.007777700666338205, 0.0063145821914076805, -0.04071420431137085, 0.021635696291923523, -0.021107258275151253, 0.018703732639551163, 0.05923369154334068, -0.018742164596915245, -0.010097373276948929, 0.011864743195474148, -0.03250294178724289, -0.02863352559506893, -0.05111280083656311, -0.04802364483475685, -0.0015527656069025397, -0.020782947540283203, 0.032743219286203384, 0.03111945651471615, 0.015937775373458862, 0.07039862126111984, 0.056535977870225906, -0.008498984389007092, -0.0248958021402359, 0.03582026809453964, 0.036577340215444565, -0.06755608320236206, -0.05639210343360901, -0.04995466768741608, 0.025320883840322495, 0.05264579877257347, -0.03475599363446236, -0.08745171874761581, 0.01921134814620018, 0.026848919689655304, -0.021234119310975075, 0.07407725602388382, -0.018340181559324265, 0.018956512212753296, 0.03967548906803131, -0.008457036688923836, 0.03648244962096214, -0.012865024618804455, 0.024107571691274643, 0.00421058339998126, 0.0656178742647171, -0.032546333968639374, -0.04856140911579132, -0.04850808531045914, 0.06397216767072678, 0.013598216697573662, 0.04072274640202522, 0.05338599532842636, -0.006560233421623707, -0.06930510699748993, 0.016633838415145874, 0.030445508658885956, -0.007007093168795109, 0.028005337342619896, 0.009961910545825958, 0.04072662070393562, -0.051780473440885544, -0.020890794694423676, -0.0461827777326107, -0.004080603830516338, 0.024780161678791046, -0.01814843900501728, -0.008846874348819256, -0.043617114424705505, -0.005051679443567991, -0.005096605978906155, -0.026268884539604187, -0.08116347342729568, 0.03010820969939232, -0.014382862485945225, -0.0504257008433342, 0.05757115036249161, 0.04797149449586868, 0.03155028074979782, 0.04401041567325592, 0.012940626591444016, 0.015676453709602356, -0.035866037011146545, 0.028203783556818962, -0.0208409633487463, -0.01959097757935524, -0.025174152106046677, -0.05846571922302246, 0.005787217989563942, -0.026317697018384933, -0.05239294096827507, -0.05649327486753464, -0.012803127989172935, 0.024234147742390633, -0.007114180829375982, 0.016372021287679672, -0.030792420729994774, 0.041056424379348755, -0.04937582090497017, -0.01912187598645687, -0.025998955592513084, -0.0237196646630764, -0.07714913785457611, -0.04288665950298309, 0.04241648316383362, 0.016063570976257324, 0.04359836503863335, -0.005115070845931768, 0.020080970600247383, 0.028822937980294228, -0.034398552030324936, 0.0011391440639272332, 0.03921252116560936, -0.000240189372561872, -0.022154711186885834, -0.042095597833395004, 0.007753742393106222, 0.005179042462259531, 0.00831710733473301, 0.000058682580856839195, 0.034759584814310074, 0.02805037423968315, -0.01655063033103943, -0.014610336162149906, 0.03685935586690903, -0.007694994565099478, -0.06831706315279007, -0.01918446645140648, 0.01082158088684082, -0.051738642156124115, 0.03024190664291382, 0.013847136870026588, -0.02429906278848648, -0.01749575510621071, 0.033048857003450394, 0.04048002511262894, 0.014425704255700111, -0.03489195927977562, 0.022654982283711433, -0.03994268551468849, 0.002446433762088418, -0.05739095062017441, 0.03733333200216293, -0.033270787447690964, -0.02646680548787117, -0.017438342794775963, 0.01870056428015232, -0.032905127853155136, 0.03284011781215668, -0.00882149487733841, 0.0016316530527547002, -0.009837283752858639, 0.0014496168587356806, -0.022884171456098557, 0.04305717721581459, -0.013928796164691448, 0.02054496482014656, -0.050966594368219376, 0.03032195195555687, -0.06538476049900055, -0.011686725541949272, -0.03777508810162544, 0.024240927770733833, -0.04007658362388611, -0.043781179934740067, 0.0035508747678250074, -0.05515237897634506, 0.013310443609952927, 0.01895102672278881, 0.03140723705291748, 0.014381666667759418, -0.009722634218633175, 0.02459893375635147, 0.023504722863435745, -0.07184424996376038, -0.015157129615545273, -0.024109147489070892, -0.0016602667747065425, -0.01294898334890604, 0.036591410636901855, 0.02749532088637352, -0.04902445897459984, -0.037929944694042206, 0.05803453549742699, 0.014303002506494522, 0.022649887949228287, 0.01675473526120186, 0.01985671930015087, 0.03804602846503258, 0.029929079115390778, -0.046369343996047974, 0.004865851253271103, -0.013230516575276852, -0.011083565652370453, 0.011612407863140106, -0.00466908561065793, 0.01799735613167286, -0.00225450424477458, -0.04328446462750435, -0.03506311774253845, 0.06333369761705399, 0.04833505302667618, 0.021742738783359528, 0.0014571389183402061, -0.04337388649582863, 0.021257128566503525, -0.010372070595622063, -0.026141727343201637, -0.010075623169541359, -0.01788204535841942, -0.0459098219871521, 0.08511528372764587, -0.01579355262219906, 0.01097774039953947, 0.03101957216858864, 0.02717462182044983, -0.02231152355670929, 0.041606754064559937, -0.025382455438375473, 0.033247772604227066, 0.03823297470808029, -0.03230839595198631, 0.0067826807498931885, -0.028673740103840828, 0.06735963374376297, -0.06631854921579361, 0.024665942415595055, 0.027762379497289658, 0.02875579334795475, 0.006050070282071829, -0.01841558702290058, -0.05300401523709297, 0.02832178771495819, -0.05371157079935074, 0.07677073031663895, -0.00973096489906311, -0.05145292356610298, 0.07456351071596146, 0.03742184117436409, -0.05895392224192619, 0.0485105887055397, 0.05990966781973839, 0.044345542788505554, 0.051089610904455185, 0.0560646653175354, -0.07400637120008469, 0.004761607386171818, -0.03598049283027649, 0.007561024744063616, -0.044483691453933716, -0.024376893416047096, 0.02754880115389824, -0.03158469870686531, -0.012948952615261078, 0.020367803052067757, -0.019456896930933, -0.014002684503793716, 0.011760088615119457, -0.0672077164053917, -0.038474708795547485, -0.007829293608665466, 0.023479964584112167, -0.059305399656295776, 0.01463133655488491, -0.027555571869015694, 0.017281612381339073, 0.003144010668620467, -0.015951428562402725, -0.03272854536771774, 0.001479463535360992, 0.0310216061770916, -0.043920643627643585, -0.04638369008898735, 0.04231318086385727, 0.01464853622019291, -0.03009580820798874, 0.04298676922917366, -0.004670277237892151, 0.04350174218416214, 0.010006699711084366, -0.0011849388247355819, 0.030097531154751778, -0.05539608374238014, -0.0002608228533063084, -0.006068387534469366, 0.041360609233379364, 0.05290418118238449, -0.05054797604680061, 0.031735800206661224, 0.0335044339299202, 0.02541232481598854, -0.000942415907047689, -0.03431204706430435, 0.0019134266767650843, 0.00022264655854087323, -0.04650450497865677, 0.019343029707670212, 0.006821741815656424, -0.0665578544139862, -0.028773076832294464, 0.005261891521513462, -0.024345584213733673, 0.02854655124247074, -0.0660521611571312, 0.013465387746691704, 0.057567089796066284, -0.0240752175450325, -0.043992169201374054, -0.0586409755051136, -0.028326351195573807, -0.009444634430110455, 0.03140225633978844, 0.022741230204701424, -0.03514474630355835, 0.024553809314966202, -0.06501130759716034, -0.0608118399977684, 0.048654619604349136, 0.032447200268507004, -0.024216877296566963, 0.04352917522192001, 0.052559200674295425, -0.03845779597759247, 0.03233171999454498, 0.028538508340716362, -0.013632136397063732, 0.020748618990182877, -0.0030791517347097397, 0.0255451537668705, 0.05787672847509384, 0.041782498359680176, -0.018840938806533813, -0.03240995109081268, -0.04468805342912674, -0.025489524006843567, -0.02749578095972538, 0.004411587491631508, 0.05511971935629845 ]
BSC-LT/roberta-large-bne
[ "pytorch", "roberta", "fill-mask", "es", "dataset:bne", "arxiv:1907.11692", "arxiv:2107.07253", "transformers", "national library of spain", "spanish", "bne", "license:apache-2.0", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "RobertaForMaskedLM" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
24
null
Sample usage: ```python tokenizer = GPT2Tokenizer.from_pretrained("gpt2") model = GPT2LMHeadModel.from_pretrained("danyaljj/gpt2_question_generation_given_paragraph") input_ids = tokenizer.encode("There are two apples on the counter. Q:", return_tensors="pt") outputs = model.generate(input_ids) print("Generated:", tokenizer.decode(outputs[0], skip_special_tokens=True)) ``` Which should produce this: ``` Generated: There are two apples on the counter. Q: What is the name of the counter that is on ```
[ -0.001197000383399427, -0.02205830253660679, -0.016449671238660812, 0.06957414746284485, 0.047979388386011124, 0.04384084418416023, 0.000389681983506307, -0.0031085077207535505, -0.034685712307691574, 0.042221736162900925, 0.018600789830088615, 0.004989140201359987, 0.00801758747547865, 0.045903392136096954, -0.03532955422997475, -0.043406132608652115, -0.029606299474835396, 0.006569906137883663, -0.04108429327607155, -0.026604121550917625, 0.010733963921666145, -0.0027861623093485832, 0.02161042019724846, -0.001374945160932839, -0.0159966628998518, 0.021998930722475052, 0.003720784094184637, 0.0084491316229105, 0.030433548614382744, -0.08829836547374725, -0.011235592886805534, -0.00244439416565001, -0.02496756613254547, -0.011945914477109909, -0.023900240659713745, -0.009410521946847439, -0.002721983240917325, 0.005373750347644091, 0.02140461839735508, 0.06312518566846848, -0.013060877099633217, 0.025648873299360275, 0.006992264650762081, -0.02830224484205246, 0.045016441494226456, -0.004928062669932842, -0.02228410169482231, -0.02580765262246132, 0.040755338966846466, 0.001208324683830142, -0.06179273873567581, -0.07904113829135895, -0.017564741894602776, -0.00046462001046165824, -0.024354005232453346, -0.0404633954167366, -0.06913457065820694, -0.022130805999040604, 0.07467107474803925, -0.024516524747014046, -0.00942435022443533, 0.007989803329110146, -0.0626487210392952, 0.025520160794258118, 0.0055086733773350716, -0.027890058234333992, 0.014986199326813221, -0.04764228314161301, 0.00855995062738657, -0.023888181895017624, 0.055186785757541656, -0.019458753988146782, 0.017434410750865936, -0.118446946144104, -0.008468637242913246, -0.00482112867757678, 0.03585023060441017, 0.019702445715665817, -0.052372418344020844, 0.07544694095849991, 0.038266126066446304, 0.006768344435840845, 0.02541184052824974, 0.005953026004135609, -0.010246621444821358, 0.032979127019643784, -0.030838454142212868, -0.013280889019370079, -0.0014282331103459, 0.049784429371356964, -0.0593571662902832, -0.03639577701687813, -0.026111725717782974, -0.02191140316426754, -0.010559720918536186, 0.006470975931733847, 0.0369996502995491, 0.011320207267999649, 0.03857699781656265, 0.017830315977334976, 0.02266828902065754, 0.04545116052031517, -0.0016660784604027867, 0.029055854305624962, 0.01758911833167076, 0.027171118184924126, -0.012403602711856365, -0.06463079899549484, -0.03894604369997978, 0.047975488007068634, 0.036377377808094025, -0.019594168290495872, -0.04469536989927292, 0.030743839219212532, 0.009782746434211731, -0.019641105085611343, 0.059532977640628815, -0.003786743152886629, -0.02775072678923607, -0.03984967991709709, 0.05335084721446037, -0.01249294076114893, 0.01788831688463688, 0.006381267681717873, -0.044911351054906845, 0.017234427854418755, -0.05882963538169861, -0.03528168797492981, -0.010233372449874878, 0.03311527892947197, -0.034229692071676254, 0.047979436814785004, 0.036272082477808, -0.03646550700068474, 0.021077455952763557, 0.01715979166328907, -0.07221519201993942, 0.057573288679122925, 0.020361382514238358, 0.07425716519355774, -0.07935422658920288, -0.08086477965116501, 0.043020099401474, 0.0021664402447640896, -0.029503099620342255, -0.031151732429862022, -0.005829627625644207, -0.04302399605512619, -0.022067775949835777, 0.015508378855884075, 0.07514171302318573, -0.044895023107528687, -0.0033713094890117645, 0.03826622664928436, 0.014369509182870388, 0.05119781941175461, -0.041106026619672775, -0.00963983777910471, 0.0015443236334249377, 0.01080321054905653, -0.04541636258363724, 0.0612117163836956, -0.007999185472726822, 0.006981992162764072, -0.047574907541275024, -0.04749821871519089, 0.0008851581951603293, 0.08409707993268967, 0.019655894488096237, -0.004033577628433704, -0.02198086306452751, 0.02592039480805397, 0.04212518408894539, 0.018201565369963646, -0.028175843879580498, 0.02135402336716652, 0.04278678447008133, 0.03819427266716957, -0.04699801653623581, 0.04228737950325012, 0.01308512780815363, -0.03838057816028595, -0.020674902945756912, 0.01840917579829693, -0.00007297404226846993, -0.016465038061141968, 0.025173524394631386, 0.001862789737060666, -0.04314378276467323, -0.022858401760458946, -0.007666279096156359, 0.06012248992919922, 0.009059377945959568, -0.01367160677909851, -0.00930816400796175, 0.012138176709413528, -0.0103385578840971, 0.03913113847374916, -0.03567909821867943, 0.01748223602771759, -0.021250981837511063, -0.019278554245829582, -0.0008914101053960621, 0.02310183271765709, 0.04895128309726715, 0.029626604169607162, -0.01631755940616131, 0.09141482412815094, -0.03151480481028557, 0.009661124087870121, -0.05441875755786896, -0.04027244448661804, -0.010281636379659176, 0.027917897328734398, -0.0024722148664295673, 0.0401424877345562, 0.0032443488016724586, -0.029002847149968147, 0.03530684486031532, 0.052285876125097275, 0.053500302135944366, 0.035219255834817886, -0.010361285880208015, 0.028000473976135254, 0.029676256701350212, 0.07305824011564255, -0.02564350888133049, -0.036189690232276917, 0.03190087154507637, 0.045609116554260254, -0.005314643960446119, 0.015011077746748924, -0.0010619417298585176, 0.0009790270123630762, -0.03379698097705841, -0.062346991151571274, 0.019688954576849937, 0.03336331248283386, 0.024120129644870758, 0.03769954293966293, -0.013490323908627033, -0.003131314879283309, 0.04560712352395058, -0.010659349150955677, 0.03362969309091568, -0.029360394924879074, -0.01249692402780056, 0.0011904776329174638, 0.0643979087471962, -0.05719509348273277, 0.032950013875961304, -0.012591988779604435, 0.015857664868235588, 0.06041068956255913, -0.04419144243001938, 0.024524180218577385, 0.017023881897330284, 0.01782594807446003, -0.03430972248315811, 0.03844998776912689, 0.002465134020894766, 0.03078826516866684, 0.07500288635492325, 0.020232923328876495, 0.0740833580493927, -0.0007440863992087543, 0.04253528639674187, 0.08341764658689499, 0.028000036254525185, -0.004466437269002199, 0.03217356279492378, 0.0660361498594284, 0.014881444163620472, 0.01084224134683609, 0.04158729687333107, -0.07050059735774994, 0.034869641065597534, -0.03125224635004997, 0.03497719019651413, 0.005231411661952734, -0.005987151060253382, 0.04995092749595642, 0.031942158937454224, -0.02815498411655426, 0.026543306186795235, -0.014651481062173843, -0.003669152269139886, 0.0056557063944637775, -0.01538764126598835, -0.014610666781663895, -0.0022335427347570658, -0.002849983749911189, 0.008165137842297554, -0.08834785968065262, -0.008875242434442043, -0.033776793628931046, -0.01351086888462305, -0.01395920105278492, -0.11058582365512848, -0.015365627594292164, -0.06111810728907585, -0.01488440576940775, 0.026943037286400795, 0.012114721350371838, 0.01079169288277626, -0.021800562739372253, 0.041154444217681885, -0.053034137934446335, -0.037092264741659164, -0.04273165762424469, -0.04133456200361252, -0.04493226855993271, -0.07228487730026245, 0.04700692370533943, 0.0026508686132729053, 0.012223691679537296, 0.024128228425979614, -0.017811061814427376, -0.041086457669734955, -0.006937503349035978, 0.05562084540724754, 0.03333849832415581, -0.05136662721633911, -0.06564544886350632, 0.04161917790770531, -0.030624741688370705, 0.027819229289889336, -0.01968758925795555, -0.022043831646442413, 0.07952193170785904, 0.07095830142498016, 0.020121542736887932, 0.027890808880329132, -0.024059422314167023, -0.04676707461476326, -0.03546338528394699, -0.00605390127748251, -0.02558569796383381, -0.01997349224984646, -0.025243230164051056, -0.043276358395814896, 0.0030624913051724434, -0.03809458017349243, -0.019233347848057747, 0.0016272709472104907, 0.054104723036289215, 0.05973585695028305, 0.0515485443174839, 0.02703176811337471, 0.01827845722436905, -0.03539056330919266, -0.017796706408262253, 0.044317495077848434, 0.005843339953571558, 0.029063381254673004, -0.08931168913841248, -0.029175806790590286, 0.03554905951023102, 0.0003877335402648896, 0.00849009957164526, -0.018415842205286026, 0.07803796231746674, 0.0149362338706851, -0.005945474375039339, 0.0012225628597661853, -0.0019434407586231828, -0.011318327859044075, 0.012825965881347656, 0.006203566677868366, -0.031007304787635803, -0.037184081971645355, -0.03168875724077225, -0.028465822339057922, 0.04621857404708862, -0.0734766349196434, -0.0451350063085556, -0.01137798186391592, 0.028643371537327766, 0.021305600181221962, 0.02763485163450241, -0.034586675465106964, -0.02228373847901821, -0.05755040794610977, -0.013803590089082718, 0.00010368238145019859, 0.02108760178089142, 0.014254555106163025, 0.018674097955226898, 0.03260262683033943, -0.018396811559796333, 0.020348945632576942, 0.04356143996119499, 0.05324358120560646, 0.006673994939774275, -0.03026372194290161, 0.034978222101926804, 0.008127311244606972, 0.027802813798189163, -0.004372009076178074, -0.02235064096748829, -0.044480256736278534, -0.10892697423696518, -0.018126262351870537, 0.000638148165307939, -0.04105091094970703, 0.015307260677218437, 0.022492393851280212, -0.0092295678332448, -0.026570668444037437, -0.0044186837039887905, 0.020303089171648026, 0.0399525947868824, -0.05736483260989189, 0.037393465638160706, 0.0020299931056797504, 0.054544080048799515, -0.03603430464863777, -0.0014707093359902501, -0.02157784067094326, -0.010976540856063366, -0.006805972661823034, 0.06833701580762863, 0.010829641483724117, 0.06261742115020752, 0.04624657705426216, 0.014415186829864979, -0.03115857206285, 0.05582170560956001, 0.05664285644888878, -0.02272048592567444, -0.04096445441246033, -0.006884288974106312, 0.0028270776383578777, -0.035263288766145706, 0.02313745766878128, -0.027806352823972702, 0.02215474471449852, 0.052768781781196594, -0.012228765524923801, -0.004787746351212263, 0.007735039573162794, -0.0323583260178566, -0.02738300897181034, -0.04835737496614456, -0.0458732508122921, -0.005243194755166769, -0.030936161056160927, 0.03756609931588173, 0.03286776691675186, 0.023292632773518562, 0.06905066967010498, 0.06071820482611656, -0.006336232181638479, -0.030524959787726402, 0.034786030650138855, 0.0382557287812233, -0.06889690458774567, -0.05868082866072655, -0.053487300872802734, 0.019575756043195724, 0.05801535025238991, -0.030789155513048172, -0.09145575761795044, 0.018548419699072838, 0.0247694980353117, -0.013352815993130207, 0.07849287241697311, -0.023258691653609276, 0.016071248799562454, 0.036868032068014145, -0.00016619327652733773, 0.03857915475964546, -0.017315281555056572, 0.02641812339425087, 0.005939472001045942, 0.06358683854341507, -0.03892619162797928, -0.047998201102018356, -0.04244296997785568, 0.06254767626523972, 0.01228256430476904, 0.04141518846154213, 0.05101426690816879, -0.01344342716038227, -0.070147804915905, 0.014875884167850018, 0.02371254935860634, -0.007157565094530582, 0.025564922019839287, 0.006564828101545572, 0.03934716805815697, -0.052847720682621, -0.016606302931904793, -0.04132547602057457, -0.005778191145509481, 0.02878948301076889, -0.024872908368706703, -0.006176591385155916, -0.04060758277773857, -0.004084161017090082, -0.0026531151961535215, -0.028226694092154503, -0.07986141741275787, 0.022845271974802017, -0.008259081281721592, -0.046013642102479935, 0.051300134509801865, 0.05143554136157036, 0.03152986988425255, 0.04546528682112694, 0.016459709033370018, 0.02289355732500553, -0.03421707823872566, 0.01970915123820305, -0.023598212748765945, -0.015151159837841988, -0.02824064902961254, -0.06093410402536392, 0.003838326781988144, -0.03548172861337662, -0.05255106836557388, -0.05437362194061279, -0.013561478815972805, 0.02557861991226673, -0.005722652655094862, 0.012482366524636745, -0.03077493980526924, 0.039499882608652115, -0.04553086310625076, -0.022276975214481354, -0.022126132622361183, -0.023843582719564438, -0.07916963845491409, -0.042743127793073654, 0.039777033030986786, 0.02028973028063774, 0.04415064677596092, -0.009331575594842434, 0.02031562477350235, 0.022323474287986755, -0.028942612931132317, -0.0032407876569777727, 0.03879467025399208, -0.00020680754096247256, -0.02880309335887432, -0.04013177379965782, 0.0038783911149948835, 0.006484308745712042, 0.0038991288747638464, 0.009260255843400955, 0.035764098167419434, 0.023943930864334106, -0.014613030478358269, -0.02025909721851349, 0.03728221729397774, -0.011076530441641808, -0.06040197238326073, -0.013294422999024391, 0.008368439972400665, -0.04608088731765747, 0.03292728215456009, 0.015635939314961433, -0.028634069487452507, -0.02411723881959915, 0.03274642303586006, 0.03715154156088829, 0.012084980495274067, -0.037951599806547165, 0.021434742957353592, -0.0420755036175251, 0.0006147312233224511, -0.04708418622612953, 0.043380312621593475, -0.034734439104795456, -0.021090565249323845, -0.014302322641015053, 0.013720117509365082, -0.03715978562831879, 0.031007099896669388, -0.008142136968672276, 0.009235957637429237, -0.0036512387450784445, 0.0022177486680448055, -0.033497314900159836, 0.05089203268289566, -0.012985721230506897, 0.021986356005072594, -0.05755563825368881, 0.036001816391944885, -0.06550633907318115, -0.01044465322047472, -0.03712546452879906, 0.022718539461493492, -0.039863355457782745, -0.04804980382323265, 0.0032854825258255005, -0.053206220269203186, 0.019451364874839783, 0.016999976709485054, 0.027953162789344788, 0.01637396216392517, -0.004404373466968536, 0.022750036790966988, 0.022120125591754913, -0.07906360179185867, -0.014059331268072128, -0.029223712161183357, -0.0026261478196829557, -0.012685214169323444, 0.04229129105806351, 0.032591305673122406, -0.04363657906651497, -0.037452809512615204, 0.06573235988616943, 0.006789787672460079, 0.019790079444646835, 0.006850304547697306, 0.01731651835143566, 0.035424601286649704, 0.023174773901700974, -0.049341876059770584, 0.0024057594127953053, -0.0070092217065393925, -0.018698101863265038, 0.012492991052567959, -0.005184518173336983, 0.018779223784804344, -0.0016387456562370062, -0.041383638978004456, -0.030660293996334076, 0.06372499465942383, 0.04615547135472298, 0.01987607032060623, 0.0034537948668003082, -0.04338960349559784, 0.01723889261484146, -0.0030327695421874523, -0.025084005668759346, -0.014256931841373444, -0.014229221269488335, -0.04263749346137047, 0.0812755897641182, -0.020255934447050095, 0.00601327046751976, 0.034289781004190445, 0.027508074417710304, -0.02199019119143486, 0.04384583979845047, -0.024982959032058716, 0.024447262287139893, 0.03437420353293419, -0.03243521228432655, 0.003233493771404028, -0.028978491201996803, 0.06799008697271347, -0.06636325269937515, 0.023902619257569313, 0.02964983880519867, 0.02352149412035942, -0.0019410346867516637, -0.017647558823227882, -0.05049100145697594, 0.018208973109722137, -0.05178757384419441, 0.08280330896377563, -0.015913130715489388, -0.05654144659638405, 0.07802657783031464, 0.03365619480609894, -0.06167159602046013, 0.05014512315392494, 0.06866540014743805, 0.054257120937108994, 0.05096310377120972, 0.0620657280087471, -0.0705106258392334, -0.0002756188332568854, -0.03286781907081604, 0.0022990393918007612, -0.03947780653834343, -0.020018769428133965, 0.02508515864610672, -0.037465497851371765, -0.010501770302653313, 0.0262518972158432, -0.024033747613430023, -0.026159746572375298, 0.015551348216831684, -0.06571106612682343, -0.03997454419732094, -0.01294085942208767, 0.02492309734225273, -0.051632583141326904, 0.01139480248093605, -0.033018432557582855, 0.015903731808066368, 0.0023299630265682936, -0.016092821955680847, -0.031257178634405136, 0.0025504492223262787, 0.026683108881115913, -0.04759908467531204, -0.04282340407371521, 0.04395858943462372, 0.016590310260653496, -0.026487771421670914, 0.04282741993665695, -0.0023348501417785883, 0.04153796285390854, 0.014523562975227833, 0.005563468672335148, 0.028421100229024887, -0.051341842859983444, 0.004194602835923433, -0.0033654598519206047, 0.039365459233522415, 0.05478963255882263, -0.0437038354575634, 0.031669601798057556, 0.030271224677562714, 0.021006103605031967, -0.0003077811561524868, -0.038071028888225555, 0.00024884036974981427, 0.0005817954079248011, -0.049510665237903595, 0.019848858937621117, 0.005588924046605825, -0.06046615168452263, -0.02691113017499447, -0.0026916214264929295, -0.03313851356506348, 0.026818223297595978, -0.0653163492679596, 0.007494769524782896, 0.058716289699077606, -0.027069834992289543, -0.0392371267080307, -0.05575300008058548, -0.035552017390728, -0.01000509038567543, 0.02843811921775341, 0.021144229918718338, -0.03616122156381607, 0.031939659267663956, -0.0743330642580986, -0.05322504788637161, 0.047347865998744965, 0.034576501697301865, -0.023013288155198097, 0.03986323997378349, 0.05107470601797104, -0.027022585272789, 0.02652084082365036, 0.022298449650406837, -0.010817904956638813, 0.015253945253789425, -0.0012738641817122698, 0.03130712732672691, 0.05341586470603943, 0.04169747605919838, -0.018433302640914917, -0.03156299889087677, -0.050383247435092926, -0.029480470344424248, -0.03217639774084091, 0.0026028130669146776, 0.05417715758085251 ]
BSen/wav2vec2-base-timit-demo-colab
[ "pytorch", "tensorboard", "wav2vec2", "automatic-speech-recognition", "transformers", "generated_from_trainer", "license:apache-2.0" ]
automatic-speech-recognition
{ "architectures": [ "Wav2Vec2ForCTC" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
null
Sample usage: ```python tokenizer = GPT2Tokenizer.from_pretrained("gpt2") model = GPT2LMHeadModel.from_pretrained("danyaljj/gpt2_question_generation_given_paragraph_answer") input_ids = tokenizer.encode("There are two apples on the counter. A: apples Q:", return_tensors="pt") outputs = model.generate(input_ids) print("Generated:", tokenizer.decode(outputs[0], skip_special_tokens=True)) ``` Which should produce this: ``` Generated: There are two apples on the counter. A: apples Q: What is the name of the counter ```
[ -0.0056863147765398026, -0.021860767155885696, -0.018966127187013626, 0.06768240034580231, 0.045640796422958374, 0.042175114154815674, -0.0011610533110797405, -0.004899622406810522, -0.03674928843975067, 0.0409119576215744, 0.02148469164967537, 0.006167992949485779, 0.006628999952226877, 0.044011861085891724, -0.03488800674676895, -0.04109205678105354, -0.030760787427425385, 0.005761383567005396, -0.04034406319260597, -0.02608182467520237, 0.012574810534715652, -0.002579520223662257, 0.021605895832180977, 0.0001865852827904746, -0.017703307792544365, 0.020946433767676353, 0.003422295209020376, 0.005005188751965761, 0.03513377532362938, -0.08886054903268814, -0.011134757660329342, -0.004373663105070591, -0.026860252022743225, -0.01498936116695404, -0.024150775745511055, -0.010650541633367538, 0.000007711442776781041, 0.004784332122653723, 0.02190577983856201, 0.06584420800209045, -0.014806224033236504, 0.026615682989358902, 0.008184109814465046, -0.026118529960513115, 0.04897147789597511, -0.007051173597574234, -0.01922347955405712, -0.02727506123483181, 0.04069266840815544, 0.0009267470450140536, -0.060113079845905304, -0.07939042896032333, -0.01739126443862915, -0.00010417771409265697, -0.025998959317803383, -0.04076481610536575, -0.06802313774824142, -0.020714685320854187, 0.07448568195104599, -0.027209460735321045, -0.00822127889841795, 0.0064986166544258595, -0.06288229674100876, 0.028592705726623535, 0.010957205668091774, -0.02531983144581318, 0.0173939261585474, -0.0483112707734108, 0.008178922347724438, -0.02379983849823475, 0.05668037757277489, -0.0188858974725008, 0.019100390374660492, -0.1174250915646553, -0.008455404080450535, -0.006038854364305735, 0.035274215042591095, 0.01884753629565239, -0.0520935021340847, 0.07631484419107437, 0.037208881229162216, 0.005409654229879379, 0.027062010020017624, 0.005333861336112022, -0.005849915090948343, 0.03282460197806358, -0.029707331210374832, -0.013906111940741539, 0.00048514135414734483, 0.05011709779500961, -0.05938824266195297, -0.0389949306845665, -0.023438915610313416, -0.018487220630049706, -0.01316085085272789, 0.0031140572391450405, 0.033572904765605927, 0.011480249464511871, 0.03961816802620888, 0.016707388684153557, 0.021939992904663086, 0.042989276349544525, -0.000527655822224915, 0.02822340652346611, 0.016801482066512108, 0.02763444557785988, -0.010549865663051605, -0.0652688518166542, -0.03831911087036133, 0.05099998787045479, 0.03461555019021034, -0.013266191817820072, -0.04443761333823204, 0.03218621015548706, 0.007283139042556286, -0.02461850829422474, 0.05887850001454353, -0.004161764867603779, -0.024887531995773315, -0.03747174143791199, 0.051341913640499115, -0.010651894845068455, 0.015648329630494118, 0.0059217712841928005, -0.044054821133613586, 0.01615585945546627, -0.06063354015350342, -0.035273171961307526, -0.008842576295137405, 0.03041250817477703, -0.031928811222314835, 0.05134738236665726, 0.03709721565246582, -0.03622288256883621, 0.01876460574567318, 0.01619027554988861, -0.07255874574184418, 0.054520752280950546, 0.016851017251610756, 0.07522737234830856, -0.07707814872264862, -0.08390631526708603, 0.04324844479560852, -0.0016715392703190446, -0.029453219845891, -0.030059147626161575, -0.007723279297351837, -0.04577932134270668, -0.024773571640253067, 0.014242195524275303, 0.07448722422122955, -0.0443490631878376, -0.003347445046529174, 0.04137060046195984, 0.012952704913914204, 0.051016684621572495, -0.04132254794239998, -0.008662772364914417, 0.002051959978416562, 0.013082090765237808, -0.04617324844002724, 0.06167830899357796, -0.004354380536824465, 0.004830286372452974, -0.050435811281204224, -0.04752146452665329, -0.0011894606286659837, 0.0812382698059082, 0.021524520590901375, -0.003299795091152191, -0.023890728130936623, 0.02340310998260975, 0.04182637110352516, 0.019345203414559364, -0.030877530574798584, 0.02293027937412262, 0.04261361062526703, 0.03870835527777672, -0.0451485700905323, 0.04343021661043167, 0.012654205784201622, -0.03248335421085358, -0.021547723561525345, 0.01882975362241268, -0.0005493987700901926, -0.01691068522632122, 0.022079110145568848, 0.001638488844037056, -0.04277913272380829, -0.018114112317562103, -0.011240123771131039, 0.058780305087566376, 0.008917312137782574, -0.013667061924934387, -0.012490654364228249, 0.015973495319485664, -0.012376322411000729, 0.04026865214109421, -0.03606526926159859, 0.016365867108106613, -0.01895267516374588, -0.018311558291316032, -0.0020297477021813393, 0.025223195552825928, 0.049384716898202896, 0.0313880480825901, -0.014025215059518814, 0.08906304836273193, -0.03167758509516716, 0.01097976602613926, -0.055268071591854095, -0.040226131677627563, -0.010111929848790169, 0.032555144280195236, -0.00045931647764518857, 0.042090386152267456, 0.0015510177472606301, -0.0275865588337183, 0.035296086221933365, 0.051678821444511414, 0.058124981820583344, 0.03406492620706558, -0.009855085983872414, 0.029440900310873985, 0.027497485280036926, 0.0735795721411705, -0.026445439085364342, -0.03810584172606468, 0.034243132919073105, 0.04854903370141983, -0.003453735262155533, 0.015325617976486683, -0.00029384883237071335, 0.00016392968245781958, -0.03434048593044281, -0.061260681599378586, 0.01991666667163372, 0.03309137374162674, 0.0245434008538723, 0.03680559620261192, -0.01555018313229084, -0.004673460032790899, 0.04592764377593994, -0.010484851896762848, 0.034851253032684326, -0.028383299708366394, -0.011774715036153793, -0.0011767048854380846, 0.06536896526813507, -0.056665439158678055, 0.03722750395536423, -0.013852659612894058, 0.012951509095728397, 0.05853972211480141, -0.046687617897987366, 0.028141019865870476, 0.01957094296813011, 0.017959652468562126, -0.03430301323533058, 0.039991334080696106, 0.004920070990920067, 0.03171297535300255, 0.07667695730924606, 0.021801820024847984, 0.07529992610216141, -0.0011589813511818647, 0.04062467813491821, 0.08386949449777603, 0.029014604166150093, -0.003649873426184058, 0.03508562967181206, 0.06745970994234085, 0.014569812454283237, 0.013088216073811054, 0.0426487997174263, -0.0669846311211586, 0.032090768218040466, -0.032063670456409454, 0.03447688743472099, 0.003999247215688229, -0.004928708076477051, 0.05238482356071472, 0.0339905209839344, -0.027971385046839714, 0.025123337283730507, -0.010970637202262878, -0.0005848420551046729, 0.006521036382764578, -0.014631240628659725, -0.013086248189210892, -0.006584315560758114, -0.0002981201105285436, 0.007127841934561729, -0.0906374529004097, -0.0057571446523070335, -0.03376654163002968, -0.01195541862398386, -0.015671929344534874, -0.11128462105989456, -0.01235209871083498, -0.05986271798610687, -0.01441635936498642, 0.02603231742978096, 0.011478779837489128, 0.007547488436102867, -0.023598313331604004, 0.039805639535188675, -0.05615559592843056, -0.038266099989414215, -0.040308013558387756, -0.043840982019901276, -0.044120918959379196, -0.07324281334877014, 0.044407449662685394, 0.0020868335850536823, 0.012743623927235603, 0.02443961799144745, -0.01838727854192257, -0.03905489295721054, -0.007598640397191048, 0.05117371305823326, 0.03498798608779907, -0.05229140818119049, -0.06644370406866074, 0.04134051129221916, -0.028897924348711967, 0.030868835747241974, -0.02041933313012123, -0.02231731079518795, 0.07686387747526169, 0.07246674597263336, 0.018485993146896362, 0.028718313202261925, -0.0240192674100399, -0.048317600041627884, -0.035055145621299744, -0.003765032859519124, -0.026717567816376686, -0.022788168862462044, -0.02462940104305744, -0.040269140154123306, 0.002186138415709138, -0.04085193946957588, -0.017530163750052452, 0.005890918895602226, 0.052411459386348724, 0.058818913996219635, 0.05267435312271118, 0.02646808698773384, 0.018691107630729675, -0.03502311185002327, -0.017425838857889175, 0.04603790119290352, 0.006923542357981205, 0.027288882061839104, -0.08970091491937637, -0.029268821701407433, 0.03423429653048515, 0.00017269676027353853, 0.007603283040225506, -0.01876094937324524, 0.07615604996681213, 0.01338139921426773, -0.005771144293248653, 0.0008402743842452765, -0.002161535667255521, -0.010922743007540703, 0.018033014610409737, 0.007084620650857687, -0.029793111607432365, -0.04047756642103195, -0.03399760276079178, -0.02843177318572998, 0.046083200722932816, -0.07373375445604324, -0.04650166630744934, -0.012083214707672596, 0.030001072213053703, 0.02030104584991932, 0.026487108319997787, -0.035913776606321335, -0.020785372704267502, -0.05619988590478897, -0.013889310881495476, 0.00007920226926216856, 0.020130688324570656, 0.012692809104919434, 0.018770018592476845, 0.029916981235146523, -0.0178427305072546, 0.01962984725832939, 0.04267977923154831, 0.05264183506369591, 0.0052602034993469715, -0.030009781941771507, 0.03146562725305557, 0.007897017523646355, 0.02664814330637455, -0.0020387819968163967, -0.02529776096343994, -0.04223893582820892, -0.10570207238197327, -0.016960296779870987, -0.000377196614863351, -0.04284725338220596, 0.014246111735701561, 0.022026019170880318, -0.008488275110721588, -0.025690069422125816, -0.0077766189351677895, 0.02201687917113304, 0.04025619477033615, -0.060430705547332764, 0.03665740042924881, 0.005061419680714607, 0.05606500059366226, -0.03641684353351593, -0.0003059931914322078, -0.025598449632525444, -0.011830104514956474, -0.007778448518365622, 0.06724752485752106, 0.009705491364002228, 0.06146147474646568, 0.04369998723268509, 0.014173241332173347, -0.03105849027633667, 0.05679987743496895, 0.05668044462800026, -0.02377963438630104, -0.04113972932100296, -0.007700893096625805, 0.001315183937549591, -0.03785696625709534, 0.023578407242894173, -0.027789467945694923, 0.024042652919888496, 0.05469965934753418, -0.013280280865728855, -0.006077104713767767, 0.007563503924757242, -0.031641099601984024, -0.029357785359025, -0.05055881664156914, -0.04640361666679382, -0.005484271794557571, -0.029054252430796623, 0.034574542194604874, 0.03366253525018692, 0.02052302472293377, 0.07215756177902222, 0.0584942027926445, -0.005422946065664291, -0.026719162240624428, 0.03833799064159393, 0.03693090379238129, -0.07076599448919296, -0.06299138069152832, -0.053764328360557556, 0.017804933711886406, 0.05841907486319542, -0.0320223867893219, -0.08976829797029495, 0.016426485031843185, 0.0241338312625885, -0.01464676484465599, 0.07533516734838486, -0.020674413070082664, 0.018831200897693634, 0.03717926889657974, -0.0037967448588460684, 0.0379369780421257, -0.015094226226210594, 0.023475196212530136, 0.005493562668561935, 0.0633758157491684, -0.03798569738864899, -0.04839600622653961, -0.04193290323019028, 0.06291232258081436, 0.011976472102105618, 0.040011923760175705, 0.05044400691986084, -0.010061104781925678, -0.07217013835906982, 0.015490834601223469, 0.026717232540249825, -0.00515797920525074, 0.02472665347158909, 0.008351839147508144, 0.03931562975049019, -0.049321021884679794, -0.018690476194024086, -0.04377744719386101, -0.005591276101768017, 0.028115393593907356, -0.023395895957946777, -0.00650404579937458, -0.04276682436466217, -0.003929749131202698, -0.0029711348470300436, -0.02572547271847725, -0.08061032742261887, 0.023666199296712875, -0.006654354277998209, -0.048429347574710846, 0.05477035790681839, 0.0537324957549572, 0.03249872475862503, 0.0483534075319767, 0.019735731184482574, 0.018716735765337944, -0.03440529853105545, 0.022897889837622643, -0.022298168390989304, -0.013435817323625088, -0.027118613943457603, -0.06216093525290489, 0.004165392369031906, -0.031534112989902496, -0.05252939462661743, -0.05539242550730705, -0.012807553634047508, 0.025945225730538368, -0.004369200207293034, 0.012491211295127869, -0.03203614428639412, 0.039216697216033936, -0.04816971719264984, -0.022423794493079185, -0.022602448239922523, -0.022367950528860092, -0.07804450392723083, -0.04294919967651367, 0.04036353901028633, 0.01781671680510044, 0.04646950587630272, -0.011347821913659573, 0.02235366962850094, 0.024362267926335335, -0.03179588168859482, -0.004428570624440908, 0.03611445799469948, -0.0009350922773592174, -0.026867011561989784, -0.039661042392253876, 0.005146190524101257, 0.00606944877654314, 0.005179962143301964, 0.00720373447984457, 0.033828914165496826, 0.023980209603905678, -0.014927228912711143, -0.021136298775672913, 0.03996637836098671, -0.011292924173176289, -0.060232196003198624, -0.012809705920517445, 0.01027549710124731, -0.04871302470564842, 0.03358553722500801, 0.017026903107762337, -0.028575167059898376, -0.02009701542556286, 0.03296181187033653, 0.03988588601350784, 0.011599695309996605, -0.03591741621494293, 0.020187217742204666, -0.04229217767715454, 0.0023587013129144907, -0.05005056783556938, 0.04533504322171211, -0.03330579027533531, -0.022153938189148903, -0.017131319269537926, 0.013868434354662895, -0.03453851863741875, 0.02959093078970909, -0.006509365979582071, 0.005484832916408777, -0.0034294435754418373, 0.002632048213854432, -0.029518038034439087, 0.05030827969312668, -0.0160369835793972, 0.019924337044358253, -0.05357199162244797, 0.033383507281541824, -0.06605678051710129, -0.008900223299860954, -0.03853554651141167, 0.022461555898189545, -0.038594938814640045, -0.04840051010251045, 0.006018952466547489, -0.05384235456585884, 0.02047593519091606, 0.017756083980202675, 0.028579238802194595, 0.015714598819613457, -0.005566777195781469, 0.023561812937259674, 0.021244795992970467, -0.07647926360368729, -0.014429308474063873, -0.029080310836434364, -0.0028037012089043856, -0.011626427993178368, 0.03936256840825081, 0.03132524713873863, -0.044598355889320374, -0.037930700927972794, 0.06532154232263565, 0.008121613413095474, 0.02056768164038658, 0.006930237170308828, 0.017241349443793297, 0.03616195172071457, 0.025613291189074516, -0.05004696175456047, 0.00248904200270772, -0.007103167474269867, -0.01724958047270775, 0.011986248195171356, -0.006354768294841051, 0.020995067432522774, -0.003221341408789158, -0.04152894392609596, -0.03535883128643036, 0.061471618711948395, 0.048792269080877304, 0.019353272393345833, 0.0024860487319529057, -0.04431074112653732, 0.015856465324759483, -0.004941786639392376, -0.024560758844017982, -0.013894553296267986, -0.014841324649751186, -0.04133407399058342, 0.08099508285522461, -0.017438547685742378, 0.008523662574589252, 0.031443774700164795, 0.02894146740436554, -0.022448943927884102, 0.04336607828736305, -0.02490478754043579, 0.029346615076065063, 0.03468183055520058, -0.03219218924641609, 0.0029778042808175087, -0.02885580249130726, 0.07091324776411057, -0.0643230527639389, 0.024318931624293327, 0.027105946093797684, 0.02348226308822632, 0.001483590342104435, -0.019608188420534134, -0.049029599875211716, 0.022858018055558205, -0.05316365882754326, 0.08069175481796265, -0.01621151901781559, -0.05434361472725868, 0.07732628285884857, 0.03387901186943054, -0.05782061070203781, 0.04942825064063072, 0.06441478431224823, 0.052790623158216476, 0.05102653056383133, 0.05779418349266052, -0.07341118901968002, 0.0033319969661533833, -0.031023692339658737, 0.003346489742398262, -0.0412958562374115, -0.020596234127879143, 0.025673216208815575, -0.03350992873311043, -0.013795716688036919, 0.024291805922985077, -0.021781424060463905, -0.023294787853956223, 0.016315432265400887, -0.06588606536388397, -0.0416313074529171, -0.009291572496294975, 0.022655993700027466, -0.05275900661945343, 0.014070356264710426, -0.029693948104977608, 0.015492060221731663, 0.00041022265213541687, -0.014179030433297157, -0.03165388107299805, 0.0030154541600495577, 0.028794020414352417, -0.04503464698791504, -0.04343220219016075, 0.044332876801490784, 0.013493477366864681, -0.027580173686146736, 0.04363453760743141, -0.0027795122005045414, 0.04214447736740112, 0.011842782609164715, 0.0012546931393444538, 0.026657385751605034, -0.05055840685963631, 0.00520440936088562, -0.002926154527813196, 0.041603706777095795, 0.05527270585298538, -0.045217785984277725, 0.032208025455474854, 0.03105231188237667, 0.022582994773983955, -0.0006167404353618622, -0.04046059027314186, 0.002406246494501829, 0.002880354644730687, -0.04858650267124176, 0.020637907087802887, 0.005513278301805258, -0.06174775958061218, -0.027859671041369438, 0.0005204151966609061, -0.031157946214079857, 0.026354223489761353, -0.06734632700681686, 0.01175267156213522, 0.057504311203956604, -0.027390025556087494, -0.03793950751423836, -0.05763239040970802, -0.033782441169023514, -0.01197594590485096, 0.028061792254447937, 0.020046139135956764, -0.035659320652484894, 0.03135743737220764, -0.07081697136163712, -0.05584864318370819, 0.04827485978603363, 0.03297103941440582, -0.02488522231578827, 0.041885823011398315, 0.049181513488292694, -0.028865700587630272, 0.026709243655204773, 0.023103252053260803, -0.007639632560312748, 0.012562187388539314, -0.0007630175678059459, 0.029745938256382942, 0.055412959307432175, 0.040919553488492966, -0.01860754005610943, -0.0309712253510952, -0.04908711835741997, -0.02808390185236931, -0.030656319111585617, 0.004630581475794315, 0.05192216858267784 ]
BSen/wav2vec2-large-xls-r-300m-turkish-colab
[ "pytorch", "tensorboard", "wav2vec2", "automatic-speech-recognition", "dataset:common_voice", "transformers", "generated_from_trainer", "license:apache-2.0" ]
automatic-speech-recognition
{ "architectures": [ "Wav2Vec2ForCTC" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
West et al.'s model from their "reflective decoding" paper. Sample usage: ```python import torch from modeling_opengpt2 import OpenGPT2LMHeadModel from padded_encoder import Encoder path_to_backward = 'danyaljj/opengpt2_pytorch_backward' encoder = Encoder() model_backward = OpenGPT2LMHeadModel.from_pretrained(path_to_backward) input = "until she finally won." input_ids = encoder.encode(input) input_ids = torch.tensor([input_ids[::-1] ], dtype=torch.int) print(input_ids) output = model_backward.generate(input_ids) output_text = encoder.decode(output.tolist()[0][::-1]) print(output_text) ``` Download the additional files from here: https://github.com/peterwestuw/GPT2ForwardBackward
[ -0.024838019162416458, -0.0038178705144673586, -0.017280327156186104, 0.050699010491371155, 0.045132867991924286, 0.040485456585884094, 0.03087330423295498, -0.006549155339598656, -0.04346860945224762, 0.011612343601882458, 0.03368852287530899, -0.024444568902254105, 0.028080804273486137, 0.05304227024316788, -0.021561110392212868, -0.03777867183089256, -0.02569422870874405, 0.0059791430830955505, -0.028960421681404114, 0.022538894787430763, 0.01737391948699951, -0.012985757552087307, -0.017360707744956017, 0.022913124412298203, -0.024919867515563965, -0.0014294548891484737, 0.016174115240573883, 0.014054549857974052, 0.026495754718780518, -0.0684630274772644, -0.010550303384661674, -0.06772466003894806, -0.034167900681495667, -0.021205954253673553, -0.0322781577706337, 0.003366336226463318, -0.03365769609808922, 0.005488548427820206, 0.014879830181598663, 0.05406538397073746, -0.029957370832562447, -0.0005768561386503279, 0.006156351882964373, -0.011554406955838203, 0.0319264754652977, -0.01966579630970955, -0.02919229306280613, -0.046490155160427094, 0.03018571250140667, -0.011495283804833889, -0.05157718434929848, -0.0720938891172409, -0.015665290877223015, 0.020838547497987747, 0.002260605338960886, -0.01901829242706299, -0.08417520672082901, -0.03651367872953415, 0.09315694123506546, -0.050483591854572296, -0.041053470224142075, 0.001514214905910194, -0.059713974595069885, 0.02141527645289898, 0.010137387551367283, 0.006266104057431221, 0.016335105523467064, -0.057881493121385574, 0.010271286591887474, -0.013192507438361645, 0.034505538642406464, -0.02861296944320202, 0.0422559455037117, -0.0882260873913765, -0.01509751658886671, -0.007729392498731613, 0.03610887750983238, 0.02830723486840725, -0.06395915150642395, 0.06332464516162872, 0.024627940729260445, 0.010208354331552982, 0.02950236015021801, 0.01960805617272854, -0.024814670905470848, 0.04810021445155144, -0.035376694053411484, 0.006778365466743708, -0.0028762989677488804, 0.060363490134477615, -0.05804899334907532, -0.029336148872971535, -0.03077785298228264, 0.002827676944434643, -0.01287674531340599, 0.01108110137283802, 0.04671385511755943, -0.007377993781119585, 0.01943572610616684, 0.06233756244182587, 0.04990539699792862, -0.002316631842404604, -0.010171661153435707, 0.02732366882264614, 0.014402917586266994, 0.0003291734610684216, -0.015976324677467346, -0.06438388675451279, -0.06517927348613739, 0.0010435829171910882, 0.04508034884929657, -0.0035997829400002956, -0.042326558381319046, 0.040114957839250565, -0.021318119019269943, 0.006915202364325523, 0.04301003739237785, -0.033832911401987076, -0.033249977976083755, -0.04797444865107536, 0.04232144355773926, 0.02190335839986801, 0.01163841038942337, 0.0024371061008423567, -0.04825318977236748, -0.007934385910630226, -0.06412167847156525, -0.027482332661747932, -0.01654508337378502, 0.0229684766381979, -0.0019440075848251581, -0.01013086922466755, 0.06419229507446289, -0.04115162044763565, 0.034822817891836166, 0.011739145964384079, -0.07221270352602005, 0.03062986582517624, 0.00502370297908783, 0.09959970414638519, -0.10371091216802597, -0.06244600564241409, 0.013357210904359818, -0.004102856852114201, -0.03731929883360863, -0.01019054464995861, 0.010934152640402317, -0.04554520174860954, -0.052544835954904556, -0.029431123286485672, 0.06607785820960999, -0.044986285269260406, -0.02033228799700737, 0.06612222641706467, -0.02108713984489441, 0.04855436459183693, -0.038394007831811905, -0.009143110364675522, -0.040758248418569565, 0.0016439245082437992, -0.037111107259988785, 0.04780399426817894, -0.02316349744796753, -0.009241177700459957, -0.06107284501194954, -0.020341603085398674, -0.0029641713481396437, 0.060655925422906876, -0.0013472395949065685, -0.011411071754992008, -0.028319217264652252, 0.01807418465614319, 0.014207766391336918, 0.062154412269592285, -0.03595232963562012, 0.056788861751556396, 0.016610736027359962, 0.02966003492474556, -0.015809934586286545, 0.019617050886154175, 0.028750017285346985, -0.03982717543840408, -0.046699345111846924, -0.0100725581869483, 0.010557623580098152, -0.05662735924124718, -0.0013205831637606025, 0.0171706210821867, 0.0059891995042562485, 0.009863534942269325, -0.037529464811086655, 0.06777055561542511, 0.0019832574762403965, -0.021768201142549515, -0.018641598522663116, 0.0026788730174303055, -0.04597761854529381, 0.022805815562605858, -0.0015627428656443954, -0.019267603754997253, -0.017689159139990807, 0.004440875258296728, -0.020122148096561432, -0.017395682632923126, 0.034274306148290634, 0.008248988538980484, -0.008614534512162209, 0.05655503645539284, -0.038614243268966675, 0.0296785905957222, -0.05460648983716965, -0.05623991787433624, -0.026139622554183006, 0.043750714510679245, 0.029027055948972702, 0.01373149175196886, -0.0039783357642591, -0.036408036947250366, 0.020249513909220695, 0.033264514058828354, 0.04473845288157463, 0.041737690567970276, -0.02570217102766037, 0.002484086435288191, 0.029589049518108368, 0.04603525623679161, -0.045907504856586456, -0.04653394594788551, 0.048532504588365555, 0.006714625749737024, -0.023959999904036522, 0.0043323952704668045, -0.05384470522403717, 0.04833792522549629, -0.030817246064543724, -0.051193028688430786, 0.027614710852503777, 0.05281149595975876, 0.0018533500842750072, 0.017391463741660118, 0.0030938710551708937, -0.0071786376647651196, 0.028446124866604805, -0.03287313133478165, 0.036257289350032806, -0.05202900618314743, 0.00003136707528028637, 0.02065753936767578, 0.026684876531362534, -0.027055883780121803, 0.03619476780295372, 0.002082034246996045, -0.01877172850072384, 0.006143742240965366, -0.03930427506566048, 0.026230383664369583, 0.04469747468829155, 0.026041721925139427, -0.03769433870911598, 0.0306722242385149, 0.0023343598004430532, 0.05431854724884033, 0.06946852058172226, -0.037646401673555374, 0.08734012395143509, 0.013433440588414669, 0.033172428607940674, 0.07791146636009216, 0.0006687624263577163, 0.0033051574137061834, 0.04774756729602814, 0.07267306745052338, -0.0009920961456373334, -0.008562942035496235, 0.026745866984128952, -0.05046295002102852, 0.014000313356518745, -0.04525432735681534, 0.029513001441955566, -0.0351090244948864, -0.043415553867816925, 0.053497735410928726, -0.008923492394387722, -0.00707431323826313, -0.011483450420200825, -0.016271738335490227, -0.036793302744627, 0.020291538909077644, 0.0045174346305429935, -0.010683385655283928, -0.008833189494907856, -0.026490813121199608, -0.005121241789311171, -0.08716407418251038, -0.02620251104235649, -0.037026435136795044, -0.045589763671159744, -0.011819794774055481, -0.11324267834424973, -0.00758866174146533, -0.07135119289159775, -0.015561642125248909, 0.04466002434492111, 0.019521651789546013, -0.00851436797529459, -0.03795018047094345, -0.011051482520997524, -0.0389801450073719, -0.03273233771324158, -0.02632042206823826, -0.04916517063975334, -0.016387661918997765, -0.07397669553756714, 0.02324330434203148, 0.030677320435643196, 0.021404476836323738, 0.014081948436796665, -0.009677841328084469, -0.03949308022856712, -0.020653309300541878, 0.04976946860551834, 0.031418439000844955, -0.013742098584771156, -0.035731907933950424, 0.026835592463612556, -0.003748468356207013, 0.006315469741821289, -0.0038946717977523804, -0.02342149056494236, 0.07977268099784851, 0.09073492139577866, 0.0224597305059433, 0.02210276760160923, 0.02387269400060177, -0.04946740344166756, -0.043693721294403076, -0.05086284130811691, -0.07311709225177765, -0.02890831045806408, -0.014876901172101498, -0.022872399538755417, -0.017947878688573837, -0.025978654623031616, 0.025341158732771873, -0.02859230525791645, 0.011211381293833256, 0.0635749101638794, 0.0626218169927597, 0.03523847833275795, 0.05425060912966728, -0.02929059788584709, -0.027083827182650566, 0.04906564950942993, -0.013181199319660664, -0.024197028949856758, -0.0427212193608284, -0.02590194158256054, 0.03432831913232803, 0.0007688385667279363, -0.00015119087765924633, -0.006207080092281103, 0.06330534815788269, 0.03675863891839981, -0.016149071976542473, 0.025828558951616287, -0.010949231684207916, -0.018517622724175453, -0.0050141881220042706, -0.015152372419834137, -0.029635842889547348, -0.008355695754289627, -0.034338150173425674, -0.020436717197299004, 0.056328002363443375, -0.0938577800989151, -0.05176052078604698, 0.02332770638167858, 0.03531358391046524, 0.014915836974978447, -0.0067409947514534, -0.041995711624622345, 0.008074309676885605, -0.05111606419086456, -0.0048953159712255, 0.02762100286781788, 0.0038570710457861423, 0.029667576774954796, 0.028496021404862404, 0.02953304909169674, -0.03137127310037613, 0.028711849823594093, 0.03198680281639099, 0.07252360880374908, 0.01368796732276678, -0.05639675632119179, 0.03186783194541931, -0.025147294625639915, 0.028826557099819183, -0.01631443202495575, -0.035649623721838, -0.050553612411022186, -0.08594849705696106, -0.02544577233493328, 0.022294215857982635, -0.002287977607920766, -0.0008069106843322515, 0.008279575034976006, 0.010809828527271748, -0.036286283284425735, 0.0038459550123661757, 0.0019913839641958475, 0.06037687137722969, -0.0565040223300457, 0.06523694097995758, -0.0016689166659489274, 0.0011023333063349128, -0.04335612803697586, 0.011213834397494793, -0.03543240576982498, -0.020871471613645554, 0.004952183458954096, 0.06144573166966438, 0.030097898095846176, 0.06466809660196304, 0.035222701728343964, 0.016447223722934723, -0.016500195488333702, 0.039098285138607025, 0.03830904886126518, -0.04266183078289032, -0.049313995987176895, -0.013234000653028488, -0.0034545271191745996, -0.006476325914263725, -0.010494256392121315, 0.001311893342062831, 0.012676826678216457, 0.013321568258106709, -0.011566238477826118, -0.0055647012777626514, 0.010530124418437481, 0.02231673151254654, -0.015828359872102737, -0.03839430958032608, -0.0321357399225235, -0.030164465308189392, -0.026265693828463554, 0.012891126796603203, 0.006645099725574255, 0.02147096022963524, 0.07503701746463776, 0.03467506542801857, 0.0010214248904958367, -0.06965366005897522, 0.03456255793571472, 0.012268400751054287, -0.05193867161870003, -0.052517086267471313, -0.057171232998371124, 0.004951525945216417, 0.03146734461188316, -0.010880516842007637, -0.06459536403417587, 0.001557446550577879, 0.003929783124476671, -0.03516325354576111, 0.04461001604795456, -0.01750219240784645, 0.059900056570768356, 0.027509158477187157, -0.019876064732670784, 0.03667569160461426, -0.01300234068185091, 0.020735379308462143, 0.017675170674920082, 0.057725898921489716, -0.01913895644247532, -0.02689741738140583, -0.07879582047462463, 0.03799834102392197, 0.039793577045202255, 0.01932693086564541, 0.010373291559517384, -0.030445856973528862, -0.05358056724071503, -0.022631559520959854, 0.030213559046387672, -0.03809500113129616, 0.04486079141497612, 0.03553791344165802, 0.03296079859137535, -0.05808797851204872, -0.01805282011628151, -0.045676302164793015, 0.007546397857367992, 0.03074117936193943, -0.029650602489709854, -0.032780785113573074, -0.03942907229065895, 0.033844370394945145, 0.008250974118709564, -0.02965337410569191, -0.07204172015190125, 0.021113434806466103, -0.02428210899233818, -0.04163073003292084, 0.04900307580828667, 0.07857552915811539, 0.002464780816808343, 0.04921050742268562, -0.0028534254524856806, 0.05292315036058426, -0.06734815984964371, 0.022178281098604202, -0.005668807774782181, -0.04330892488360405, 0.006173631642013788, -0.041071567684412, 0.01353277638554573, -0.012768629007041454, -0.0019890216644853354, -0.044774387031793594, -0.01717555895447731, 0.013555069454014301, -0.008014102466404438, -0.011995485983788967, 0.00013301153376232833, 0.04114584997296333, 0.0056212483905255795, -0.0635305643081665, -0.047372590750455856, -0.06341329962015152, -0.07229302078485489, -0.07088840007781982, 0.016865285113453865, 0.0020455510821193457, 0.016138596460223198, 0.011524481698870659, 0.038235921412706375, 0.0029390621930360794, 0.02605481445789337, 0.004829120356589556, 0.03452466055750847, 0.027458056807518005, -0.034949611872434616, -0.04371211677789688, 0.005257238168269396, -0.004747297614812851, -0.0041342973709106445, -0.01078709401190281, 0.01909666135907173, 0.005851267836987972, -0.025215644389390945, -0.033994052559137344, 0.038994915783405304, -0.004551568068563938, -0.03690998628735542, -0.023383814841508865, -0.019820529967546463, -0.0268247127532959, 0.017883459106087685, -0.0074532777070999146, -0.029152173548936844, 0.006487804464995861, 0.050602249801158905, 0.04545411467552185, -0.018529880791902542, -0.06395605951547623, 0.03916901350021362, -0.07276297360658646, 0.020454343408346176, -0.05469284951686859, 0.031459514051675797, -0.033778637647628784, 0.030732735991477966, -0.016406076028943062, 0.0023239857982844114, -0.0497056283056736, 0.048106830567121506, -0.0032828543335199356, -0.00321514462120831, -0.01719861477613449, 0.010046623647212982, -0.01131121814250946, 0.06627880781888962, -0.054940734058618546, 0.030183566734194756, -0.06962063908576965, 0.07876963913440704, -0.022898338735103607, -0.004223273601382971, -0.03625687584280968, 0.030744850635528564, -0.03641531988978386, -0.04265429452061653, 0.005693160463124514, -0.025717778131365776, 0.02669578231871128, 0.045737698674201965, -0.002917181234806776, -0.009462356567382812, -0.035381998866796494, -0.006453840993344784, 0.029443908482789993, -0.04736704006791115, -0.030088214203715324, -0.013053733855485916, 0.0289964210242033, 0.006001801695674658, 0.03407502546906471, 0.023335983976721764, -0.03935408219695091, -0.039985764771699905, 0.07341054826974869, 0.05234672874212265, 0.00964847207069397, 0.012488272041082382, 0.024613693356513977, 0.02673259936273098, 0.07161251455545425, -0.05156479403376579, 0.007642975077033043, 0.012142345309257507, -0.0074425628408789635, 0.009253048337996006, -0.005573454312980175, 0.024992039427161217, 0.032326169312000275, -0.01467064768075943, -0.03131205588579178, 0.05110492184758186, 0.0727311447262764, 0.01795690320432186, -0.016079481691122055, -0.023259349167346954, 0.006540072616189718, 0.00821440014988184, -0.030098680406808853, 0.025581585243344307, 0.006403629202395678, -0.02249249443411827, 0.08407924324274063, -0.017853310331702232, 0.030025100335478783, 0.02139691635966301, 0.042874936014413834, -0.022491898387670517, 0.08752197027206421, -0.023804105818271637, 0.0012757403310388327, 0.04995181784033775, -0.03404679521918297, -0.004351981915533543, -0.0169337410479784, 0.06403496116399765, -0.04869736358523369, 0.04662830010056496, 0.022525636479258537, 0.016882894560694695, 0.00230227317661047, -0.01855260320007801, -0.01853339374065399, 0.009921633638441563, -0.056671760976314545, 0.06281187385320663, -0.011647245846688747, -0.026719657704234123, 0.0672278106212616, 0.005311222281306982, -0.04442652687430382, 0.04890543222427368, 0.06276128441095352, 0.02320597879588604, 0.047529928386211395, 0.04449820518493652, -0.023255614563822746, -0.02278311364352703, -0.05147990211844444, -0.005453451070934534, -0.04591187834739685, -0.009752488695085049, 0.040996186435222626, -0.02897508256137371, 0.018643463030457497, 0.034959398210048676, -0.03676677867770195, -0.014678986743092537, 0.044903624802827835, -0.08443012088537216, -0.02460121549665928, -0.03156890347599983, 0.025243695825338364, 0.012151017785072327, 0.0006993816350586712, -0.04839496314525604, 0.037961602210998535, -0.016432341188192368, -0.014195367693901062, -0.005965195596218109, 0.008890347555279732, 0.025555875152349472, -0.056245747953653336, -0.036173172295093536, 0.07276570051908493, 0.016532497480511665, -0.016352016478776932, 0.0600685253739357, -0.028863858431577682, 0.05798284709453583, 0.039676036685705185, 0.0015743118710815907, 0.03343873843550682, -0.004989188630133867, -0.010485422797501087, 0.016332020983099937, 0.0004169200547039509, 0.006153975147753954, -0.017380375415086746, 0.02728298306465149, 0.017569709569215775, -0.000023439737560693175, 0.00599914975464344, -0.07530298829078674, -0.04113415628671646, -0.005325743928551674, -0.04580153897404671, -0.004567003343254328, -0.017213372513651848, -0.05281432345509529, -0.025021769106388092, 0.01756434701383114, -0.01848999783396721, 0.041746508330106735, -0.029530620202422142, 0.0015180149348452687, 0.03291337192058563, 0.024637578055262566, -0.04073434695601463, -0.04865853488445282, -0.04403335973620415, -0.025587545707821846, 0.027086084708571434, 0.01044574286788702, -0.03176829218864441, 0.03478127717971802, -0.019998574629426003, -0.07724247872829437, 0.030211497098207474, 0.0045539094135165215, -0.008222789503633976, 0.05489019677042961, 0.049408163875341415, -0.01339690387248993, 0.03544407710433006, 0.03957618400454521, -0.028667738661170006, 0.04123922809958458, 0.013885063119232655, 0.02300390601158142, 0.014126034453511238, 0.0404026173055172, -0.01651221700012684, -0.003266210900619626, -0.002968315500766039, -0.017074473202228546, -0.053915850818157196, -0.004043032415211201, 0.021945731714367867 ]
BW/TEST
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
14
null
West et al.'s model from their "reflective decoding" paper. Sample usage: ```python import torch from modeling_opengpt2 import OpenGPT2LMHeadModel from padded_encoder import Encoder path_to_forward = 'danyaljj/opengpt2_pytorch_forward' encoder = Encoder() model_backward = OpenGPT2LMHeadModel.from_pretrained(path_to_forward) input = "She tried to win but" input_ids = encoder.encode(input) input_ids = torch.tensor([input_ids ], dtype=torch.int) print(input_ids) output = model_backward.generate(input_ids) output_text = encoder.decode(output.tolist()[0]) print(output_text) ``` Download the additional files from here: https://github.com/peterwestuw/GPT2ForwardBackward
[ -0.026361282914876938, -0.003931219223886728, -0.0173661969602108, 0.050747890025377274, 0.049980420619249344, 0.04228973761200905, 0.029558423906564713, -0.0057698627933859825, -0.03886183723807335, 0.010673592798411846, 0.03787719085812569, -0.018976833671331406, 0.028114523738622665, 0.054778579622507095, -0.02153654582798481, -0.04307820275425911, -0.02441185712814331, 0.00913386233150959, -0.026157425716519356, 0.019799334928393364, 0.02165876142680645, -0.015111603774130344, -0.0164776723831892, 0.015918536111712456, -0.028568509966135025, -0.0002992816735059023, 0.018570350483059883, 0.023529784753918648, 0.023125752806663513, -0.06898213177919388, -0.013313679955899715, -0.06759927421808243, -0.03248557448387146, -0.01866641268134117, -0.02747233211994171, 0.0015209991252049804, -0.03819107636809349, 0.0049653369933366776, 0.016741499304771423, 0.05424119532108307, -0.02832433208823204, -0.0030287897679954767, 0.002917346777394414, -0.013527234084904194, 0.03198898583650589, -0.017235152423381805, -0.027291294187307358, -0.04533014073967934, 0.03331682085990906, -0.013104400597512722, -0.04829320311546326, -0.07732801139354706, -0.01815059408545494, 0.01772277243435383, 0.008968139998614788, -0.022328050807118416, -0.07955484837293625, -0.042292773723602295, 0.09297832101583481, -0.0473315604031086, -0.04288513585925102, -0.0009070214000530541, -0.0563875176012516, 0.02226114273071289, 0.01266014575958252, 0.006998805794864893, 0.012797952629625797, -0.05777707323431969, 0.00918937474489212, -0.012109536677598953, 0.03688197210431099, -0.02819698490202427, 0.04689740389585495, -0.09094435721635818, -0.016092779114842415, -0.006053857039660215, 0.03512217849493027, 0.029423493891954422, -0.06444410979747772, 0.058393072336912155, 0.02919742837548256, 0.014041454531252384, 0.023796729743480682, 0.024152245372533798, -0.025181276723742485, 0.050756532698869705, -0.040191806852817535, 0.006824959069490433, -0.00016549244173802435, 0.05924587324261665, -0.055741190910339355, -0.02833746001124382, -0.031033117324113846, 0.001251518027856946, -0.015398625284433365, 0.009359629824757576, 0.04683921858668327, -0.01384480856359005, 0.017216907814145088, 0.062192920595407486, 0.05128373205661774, -0.0056170024909079075, -0.005928332451730967, 0.024743173271417618, 0.016982508823275566, 0.0036214226856827736, -0.01777595654129982, -0.06114434450864792, -0.07284592092037201, 0.0017294056015089154, 0.04198337346315384, -0.007293502800166607, -0.04257282614707947, 0.040142372250556946, -0.016594626009464264, 0.007996595464646816, 0.03748002648353577, -0.03721758350729942, -0.031196357682347298, -0.05494323745369911, 0.04555604234337807, 0.02542329579591751, 0.00836039986461401, 0.004648393020033836, -0.046518538147211075, -0.006979626603424549, -0.06296780705451965, -0.0286126509308815, -0.021498195827007294, 0.0271591916680336, 0.00034288089955225587, -0.013838203623890877, 0.0602533258497715, -0.033199843019247055, 0.03413775563240051, 0.008233278058469296, -0.06817138940095901, 0.0331946536898613, 0.001026279293000698, 0.10195442289113998, -0.10196847468614578, -0.06049727275967598, 0.01616378128528595, 0.0004922814550809562, -0.03465091809630394, -0.014740047045052052, 0.010873706080019474, -0.05084057152271271, -0.05451175197958946, -0.026268884539604187, 0.06690271198749542, -0.04827600717544556, -0.01959376223385334, 0.06376228481531143, -0.019372988492250443, 0.04789697006344795, -0.03643320873379707, -0.008523086085915565, -0.03923320025205612, 0.0021673981100320816, -0.03892505541443825, 0.04672505706548691, -0.02792554907500744, -0.015529190190136433, -0.0649058148264885, -0.023867515847086906, -0.003979602828621864, 0.06453975290060043, 0.004452727269381285, -0.013033730909228325, -0.026693765074014664, 0.016465062275528908, 0.014319190755486488, 0.0614481084048748, -0.03443874046206474, 0.05687122046947479, 0.015107517130672932, 0.03140964359045029, -0.01645161211490631, 0.0251734908670187, 0.02983456291258335, -0.0445665568113327, -0.0444125197827816, -0.012385070323944092, 0.010079813189804554, -0.056082289665937424, 0.004260543268173933, 0.016987228766083717, 0.007526140194386244, 0.012829271145164967, -0.03431268781423569, 0.0665399581193924, -0.0006297529907897115, -0.026783578097820282, -0.014280381612479687, 0.0025338856503367424, -0.04629845917224884, 0.023722663521766663, -0.004568307660520077, -0.017344508320093155, -0.018959373235702515, -0.0004476377216633409, -0.010114170610904694, -0.015079084783792496, 0.035369161516427994, 0.011662567034363747, -0.006330285221338272, 0.05574352294206619, -0.03728993237018585, 0.02613917365670204, -0.05915971100330353, -0.05768696963787079, -0.024187367409467697, 0.0446479506790638, 0.027652692049741745, 0.015540125779807568, 0.0024374586064368486, -0.03555556759238243, 0.019397038966417313, 0.03201362490653992, 0.04136950895190239, 0.04285960644483566, -0.025731226429343224, -0.0029907787684351206, 0.029096519574522972, 0.04897964373230934, -0.04235249385237694, -0.0420379564166069, 0.04486862197518349, 0.007590988650918007, -0.019720420241355896, 0.0049705225974321365, -0.054349251091480255, 0.046982936561107635, -0.02888408862054348, -0.052897658199071884, 0.020796315744519234, 0.060235559940338135, 0.008479074575006962, 0.019650716334581375, 0.0024184328503906727, -0.009464656934142113, 0.02723151445388794, -0.0300162173807621, 0.04058513417840004, -0.05511682108044624, 0.0005234233103692532, 0.020808681845664978, 0.028832804411649704, -0.02848135679960251, 0.031195510178804398, 0.003224601736292243, -0.01622087135910988, 0.008831096813082695, -0.03679410740733147, 0.027655137702822685, 0.042025238275527954, 0.03137964382767677, -0.03926362469792366, 0.02523898333311081, 0.0020873439498245716, 0.053026873618364334, 0.0662667378783226, -0.04020261764526367, 0.07983933389186859, 0.008039773441851139, 0.03404032438993454, 0.08063599467277527, 0.004335917532444, 0.003881367389112711, 0.04736998304724693, 0.07080037146806717, -0.006456579081714153, -0.007401849143207073, 0.030091138556599617, -0.05155150964856148, 0.01033424586057663, -0.04162134975194931, 0.029073983430862427, -0.03436116874217987, -0.0441712811589241, 0.05630321055650711, -0.0059141735546290874, -0.01051382627338171, -0.0066541447304189205, -0.015858132392168045, -0.038536667823791504, 0.02073657140135765, 0.0034277504310011864, -0.01298076193779707, -0.008027277886867523, -0.025990577414631844, -0.0013286538887768984, -0.08947990089654922, -0.026334155350923538, -0.03735756501555443, -0.04203835129737854, -0.006429865024983883, -0.11671184748411179, -0.012903337366878986, -0.06561469286680222, -0.012639367021620274, 0.03919975087046623, 0.018917229026556015, -0.004698508884757757, -0.039982568472623825, -0.012863828800618649, -0.03518214449286461, -0.03843237832188606, -0.027242032811045647, -0.044271912425756454, -0.011519838124513626, -0.07311448454856873, 0.02384692057967186, 0.029647165909409523, 0.017997970804572105, 0.012029039673507214, -0.00993549544364214, -0.03889063745737076, -0.019477715715765953, 0.04360684007406235, 0.03226108476519585, -0.010566367767751217, -0.038799576461315155, 0.029603002592921257, -0.009312273934483528, 0.006336472928524017, -0.0019159723306074739, -0.02459469623863697, 0.07964430749416351, 0.08599700033664703, 0.020419951528310776, 0.020530030131340027, 0.022478213533759117, -0.05585874244570732, -0.043971989303827286, -0.04804546386003494, -0.06542152911424637, -0.026858827099204063, -0.01932407356798649, -0.024390526115894318, -0.02360641025006771, -0.02740759775042534, 0.020370574668049812, -0.031984973698854446, 0.016675638034939766, 0.06471770256757736, 0.06620246917009354, 0.03897818177938461, 0.053367119282484055, -0.02740808203816414, -0.03038567490875721, 0.04834083095192909, -0.01650361530482769, -0.02421766147017479, -0.040683574974536896, -0.028046073392033577, 0.031143995001912117, -0.0009131807601079345, -0.0034803603775799274, -0.003212643088772893, 0.06529507786035538, 0.03595491498708725, -0.013476993888616562, 0.027551162987947464, -0.011171555146574974, -0.012120367959141731, -0.007818553596735, -0.012238487601280212, -0.0390021838247776, -0.012075116857886314, -0.033662207424640656, -0.021452326327562332, 0.05639952793717384, -0.09052027016878128, -0.05390843003988266, 0.022876327857375145, 0.036206018179655075, 0.01294578704982996, -0.007180367596447468, -0.04648110270500183, 0.006780544761568308, -0.05191553756594658, -0.008517940528690815, 0.029682757332921028, 0.002038163598626852, 0.032668519765138626, 0.02800191380083561, 0.03428377956151962, -0.0328354649245739, 0.024689670652151108, 0.03393787890672684, 0.07781786471605301, 0.009513298980891705, -0.060686130076646805, 0.03452964127063751, -0.02330099791288376, 0.03420844301581383, -0.01140522863715887, -0.03395075350999832, -0.04877743870019913, -0.09045162796974182, -0.022936901077628136, 0.018115488812327385, -0.00548486178740859, 0.004136272706091404, 0.010392437689006329, 0.00621423264965415, -0.03808623552322388, 0.000722453638445586, -0.00000808460117696086, 0.06265835464000702, -0.05775631219148636, 0.06450604647397995, -0.0020977093372493982, 0.005705640185624361, -0.04743785411119461, 0.004022101406008005, -0.029141586273908615, -0.018806831911206245, 0.005402710754424334, 0.06368906795978546, 0.027312371879816055, 0.06258349120616913, 0.033633407205343246, 0.01730668731033802, -0.023812413215637207, 0.037321727722883224, 0.03570933640003204, -0.044085826724767685, -0.043320320546627045, -0.016943685710430145, 0.002602592809125781, -0.003801566082984209, -0.012906833551824093, 0.0017481498653069139, 0.009647609665989876, 0.013433323241770267, -0.012558666057884693, -0.003995244391262531, 0.01198670919984579, 0.020098093897104263, -0.01888161711394787, -0.03737752139568329, -0.03482374548912048, -0.02556292712688446, -0.022587362676858902, 0.018130626529455185, 0.00840665865689516, 0.01956688053905964, 0.07370007038116455, 0.038278087973594666, 0.002965060528367758, -0.0729619637131691, 0.03924105688929558, 0.009822511114180088, -0.0500493198633194, -0.05348516255617142, -0.05573837831616402, 0.004742417484521866, 0.03186536952853203, -0.011821946129202843, -0.06594101339578629, -0.0003710647579282522, 0.008199324831366539, -0.0356772281229496, 0.046283427625894547, -0.016215497627854347, 0.05307537689805031, 0.03171538561582565, -0.01836496777832508, 0.03944697603583336, -0.012429064139723778, 0.020731249824166298, 0.019660592079162598, 0.05276066064834595, -0.02223612181842327, -0.030908998101949692, -0.07904496788978577, 0.03969453647732735, 0.04132372885942459, 0.02195867896080017, 0.015997109934687614, -0.03243083134293556, -0.053154733031988144, -0.02206435613334179, 0.02809397503733635, -0.03432555869221687, 0.03987840563058853, 0.03712599352002144, 0.035054948180913925, -0.061271052807569504, -0.018970737233757973, -0.0465770922601223, 0.008108674548566341, 0.031945791095495224, -0.032836560159921646, -0.029249832034111023, -0.03438752889633179, 0.03329151123762131, 0.006779717281460762, -0.031192537397146225, -0.06891994178295135, 0.024424681439995766, -0.02682666666805744, -0.038596149533987045, 0.04741179943084717, 0.07729602605104446, 0.0049829026684165, 0.04537821188569069, -0.00360273290425539, 0.05194152519106865, -0.06720709800720215, 0.023620596155524254, -0.00439717760309577, -0.042592860758304596, -0.0014076650841161609, -0.04556086286902428, 0.012775056064128876, -0.012821003794670105, -0.00003196296893293038, -0.04092006757855415, -0.02529449202120304, 0.011209155432879925, -0.009556914679706097, -0.008285373449325562, -0.0004507800913415849, 0.04163411259651184, 0.002691970206797123, -0.0622306652367115, -0.043751660734415054, -0.061213407665491104, -0.0754581168293953, -0.07222741097211838, 0.019458869472146034, 0.0017053564079105854, 0.01606256701052189, 0.010479077696800232, 0.04085239768028259, 0.0034785179886966944, 0.025998549535870552, 0.008286846801638603, 0.037928976118564606, 0.02803502231836319, -0.03597802668809891, -0.0431208498775959, 0.002181460615247488, -0.005896832328289747, -0.008729943074285984, -0.008716581389307976, 0.020000837743282318, 0.0017972055356949568, -0.02397141233086586, -0.03280685842037201, 0.045195095241069794, -0.004584894515573978, -0.040262311697006226, -0.0227121040225029, -0.02072405070066452, -0.03170940279960632, 0.015727924183011055, -0.0009109684033319354, -0.02952183037996292, 0.008643840439617634, 0.056076884269714355, 0.041604429483413696, -0.018501901999115944, -0.06580236554145813, 0.037428416311740875, -0.06903137266635895, 0.022606903687119484, -0.056089550256729126, 0.02992929145693779, -0.038389235734939575, 0.02941887266933918, -0.01691567339003086, 0.007204277906566858, -0.05146978422999382, 0.04984527453780174, 0.0018893363885581493, 0.0012573624262586236, -0.012545094825327396, 0.009800617583096027, -0.010607986710965633, 0.06569170206785202, -0.05578610301017761, 0.028344271704554558, -0.07263787090778351, 0.07664912194013596, -0.022850221022963524, -0.010247813537716866, -0.03966395556926727, 0.031441669911146164, -0.039567455649375916, -0.04360995069146156, 0.0019420422613620758, -0.027492865920066833, 0.026857789605855942, 0.0435195118188858, -0.0018212965223938227, -0.006701435893774033, -0.0350249782204628, -0.0051911924965679646, 0.026979198679327965, -0.04875137284398079, -0.024752909317612648, -0.013717046007514, 0.03170650079846382, 0.0052901580929756165, 0.031208710744976997, 0.02232513763010502, -0.042290203273296356, -0.037556346505880356, 0.07551447302103043, 0.05674091726541519, 0.01156891044229269, 0.0062249223701655865, 0.025966014713048935, 0.0253507848829031, 0.06780579686164856, -0.05326772481203079, 0.00550233805552125, 0.012390569783747196, -0.00949995219707489, 0.008923226036131382, -0.005519825499504805, 0.023279692977666855, 0.035044558346271515, -0.012166590429842472, -0.03028208203613758, 0.04672593995928764, 0.06743314117193222, 0.015463166870176792, -0.013040306977927685, -0.016139468178153038, 0.004711313638836145, 0.006923085544258356, -0.02505311369895935, 0.021836696192622185, 0.0062270513735711575, -0.024856626987457275, 0.08824270218610764, -0.018349066376686096, 0.026168053969740868, 0.022478973492980003, 0.03751039877533913, -0.018986543640494347, 0.08795332163572311, -0.028613820672035217, -0.0064763170666992664, 0.050555311143398285, -0.032410379499197006, -0.006861608475446701, -0.0139840729534626, 0.06310839205980301, -0.04998384788632393, 0.046435751020908356, 0.020852943882346153, 0.015499220229685307, -0.003422789741307497, -0.026103895157575607, -0.01759597845375538, 0.005132903810590506, -0.05880580469965935, 0.061699241399765015, -0.01166557427495718, -0.03410622477531433, 0.06910887360572815, 0.0078478017821908, -0.04915311932563782, 0.04792329668998718, 0.06772124767303467, 0.025537149980664253, 0.04404846206307411, 0.051146119832992554, -0.019481174647808075, -0.02319590374827385, -0.051015086472034454, -0.003942575771361589, -0.0460190512239933, -0.012090826407074928, 0.03915398567914963, -0.0300745852291584, 0.017136000096797943, 0.03366463631391525, -0.036020416766405106, -0.015922844409942627, 0.04206310957670212, -0.08871352672576904, -0.024232197552919388, -0.031161358579993248, 0.02097882516682148, 0.01632051356136799, 0.0020940087269991636, -0.048329487442970276, 0.036440324038267136, -0.0076833246275782585, -0.019645677879452705, -0.005160900764167309, 0.010201461613178253, 0.027283329516649246, -0.04820964112877846, -0.03826959431171417, 0.0737462118268013, 0.013758216053247452, -0.017386704683303833, 0.05748044699430466, -0.024799782782793045, 0.05380791053175926, 0.03728484734892845, 0.0020854894537478685, 0.03809833526611328, -0.004265972413122654, -0.012061920017004013, 0.016730086877942085, -0.0005198956350795925, 0.004289128817617893, -0.020112965255975723, 0.024355623871088028, 0.013049774803221226, 0.001020487048663199, 0.004311821423470974, -0.06672875583171844, -0.040853891521692276, -0.00821320153772831, -0.041535623371601105, -0.002198888221755624, -0.012675604782998562, -0.05324206128716469, -0.026813337579369545, 0.012468324974179268, -0.020033637061715126, 0.041677989065647125, -0.02736336551606655, -0.0027331358287483454, 0.03763814643025398, 0.024713747203350067, -0.04107040911912918, -0.0483931303024292, -0.04087893292307854, -0.023848431184887886, 0.03206615149974823, 0.007576073054224253, -0.033543866127729416, 0.03475804999470711, -0.02417539805173874, -0.07739882916212082, 0.03093709610402584, 0.0005000636447221041, -0.005122835282236338, 0.04334181174635887, 0.04015291854739189, -0.01833142153918743, 0.03833121061325073, 0.04096730425953865, -0.02802889421582222, 0.0344841368496418, 0.01781114563345909, 0.029730958864092827, 0.011696742847561836, 0.03301021829247475, -0.016351135447621346, 0.000549100514035672, -0.005378363654017448, -0.012630835175514221, -0.054706037044525146, -0.005058347247540951, 0.02782686986029148 ]
Babelscape/rebel-large
[ "pytorch", "safetensors", "bart", "text2text-generation", "en", "dataset:Babelscape/rebel-dataset", "transformers", "seq2seq", "relation-extraction", "license:cc-by-nc-sa-4.0", "model-index", "autotrain_compatible", "has_space" ]
text2text-generation
{ "architectures": [ "BartForConditionalGeneration" ], "model_type": "bart", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9,458
null
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: distilgpt2-finetuned-wikitext2 results: [] --- <!-- 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. --> # distilgpt2-finetuned-wikitext2 This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the None dataset. ## 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: 2e-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: 3.0 ### Framework versions - Transformers 4.12.3 - Pytorch 1.10.0+cu111 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.017024066299200058, -0.02158309705555439, -0.02458672598004341, 0.016607120633125305, 0.03818520903587341, 0.019184336066246033, -0.012465733103454113, -0.00512956827878952, -0.04502351954579353, 0.06474221497774124, 0.034094907343387604, 0.001504407962784171, 0.013914359733462334, 0.044492825865745544, -0.052309226244688034, -0.03797859698534012, -0.017867151647806168, -0.011711382307112217, -0.03414694219827652, -0.01367826759815216, 0.009257216937839985, -0.0013559815706685185, 0.0004519423528108746, -0.0018078390276059508, -0.007968135178089142, 0.02405024692416191, 0.004047031980007887, 0.01958382874727249, 0.036606315523386, -0.0707075372338295, 0.004689133260399103, -0.051780298352241516, -0.04494725540280342, -0.015027484856545925, -0.026453979313373566, -0.02581072226166725, -0.017102407291531563, 0.015823090448975563, 0.018207130953669548, 0.04656515643000603, -0.005570649169385433, 0.0423334576189518, -0.010221353732049465, -0.011932105757296085, 0.05847552418708801, 0.01931018754839897, -0.048653725534677505, -0.0024079480208456516, 0.047894738614559174, -0.020909175276756287, -0.07155466079711914, -0.05906389281153679, -0.043260712176561356, 0.028266850858926773, -0.018298950046300888, -0.013506310060620308, -0.07634135335683823, -0.0000620852442807518, 0.05787445977330208, -0.04262800142168999, -0.03000994585454464, 0.005168976727873087, -0.06891162693500519, 0.008816209621727467, 0.03767258673906326, -0.028477465733885765, 0.009715692140161991, -0.05570344254374504, 0.02753659151494503, -0.024028953164815903, 0.062109775841236115, -0.008808518759906292, 0.01712360419332981, -0.09504455327987671, -0.026925567537546158, 0.0018688141135498881, 0.03057146444916725, 0.04496701434254646, -0.02286369912326336, 0.04469859600067139, 0.020674221217632294, 0.006284905597567558, 0.047823216766119, -0.02083819918334484, 0.003609523642808199, 0.04294922575354576, -0.04682529345154762, 0.010803833603858948, 0.004096135497093201, 0.028901901096105576, -0.050243061035871506, -0.03956688195466995, -0.029360491782426834, -0.042665235698223114, -0.006046249996870756, 0.036327168345451355, 0.01902010664343834, 0.018571432679891586, 0.0324995331466198, 0.015930643305182457, 0.02803168259561062, 0.03349980339407921, -0.02944314107298851, 0.07499561458826065, 0.01164809986948967, -0.012258203700184822, -0.016729597002267838, -0.025948507711291313, -0.054435450583696365, 0.03202252462506294, 0.010697027668356895, -0.029639162123203278, -0.04294523969292641, 0.012833735905587673, -0.002817646600306034, -0.009386291727423668, 0.06754925847053528, -0.045432064682245255, -0.022839337587356567, -0.03184676915407181, 0.030921421945095062, 0.024170804768800735, -0.0009946549544110894, -0.011335211805999279, -0.03405744954943657, 0.0023293164558708668, -0.02764017879962921, -0.014149252325296402, -0.01696162484586239, 0.006784905679523945, -0.011060535907745361, 0.05134477838873863, 0.0366080142557621, -0.06504452228546143, -0.015568792819976807, 0.030164137482643127, -0.05337921530008316, 0.04182218760251999, 0.031401779502630234, 0.10416366159915924, -0.06716091185808182, -0.06465569883584976, -0.003832022426649928, 0.003913249354809523, -0.019548293203115463, 0.003355925204232335, -0.005078590475022793, -0.06731285154819489, -0.010843578726053238, -0.00019841654284391552, 0.05546453967690468, -0.046370964497327805, -0.019194044172763824, 0.049546193331480026, 0.007199450396001339, 0.0444273017346859, -0.05734226480126381, -0.025977084413170815, 0.024228552356362343, 0.00831701047718525, -0.04087239131331444, 0.051240745931863785, 0.0008932854980230331, -0.004762454889714718, -0.029443928971886635, -0.036260735243558884, -0.007687672972679138, 0.08033515512943268, -0.013870695605874062, -0.04073115065693855, -0.016608474776148796, 0.04021165147423744, 0.058540862053632736, 0.06660880148410797, -0.014253427274525166, 0.03640991449356079, 0.04935891553759575, 0.05263260751962662, -0.01977681927382946, 0.044187236577272415, 0.01635519228875637, -0.01701119914650917, -0.02719477191567421, -0.0025924465153366327, 0.003428667550906539, -0.06131739169359207, 0.017289405688643456, 0.009480787441134453, 0.0025987266562879086, -0.07072150707244873, -0.02933095395565033, 0.039189647883176804, 0.0002736079040914774, -0.0003193904703948647, 0.011121339164674282, -0.0041701896116137505, -0.03101838193833828, 0.03713390603661537, -0.02254399098455906, 0.000952908827457577, -0.027858421206474304, -0.014336768537759781, 0.012626675888895988, -0.006679428741335869, 0.029221339151263237, 0.05073719471693039, -0.013851440511643887, 0.09571593254804611, -0.028593555092811584, 0.007868226617574692, -0.026019034907221794, -0.04622819647192955, 0.013453533872961998, 0.048292048275470734, 0.0344468429684639, 0.044268351048231125, 0.01468978263437748, -0.04025872424244881, 0.0417800135910511, 0.0608215294778347, 0.05319099500775337, 0.04291028901934624, -0.03611081466078758, 0.0021254257299005985, 0.04544447734951973, 0.05540051311254501, -0.03838832676410675, -0.02521424926817417, 0.0022354936227202415, 0.02187202125787735, -0.008812750689685345, 0.010145435109734535, -0.007365080993622541, 0.05002933368086815, -0.060461532324552536, -0.05392837151885033, 0.04330817982554436, 0.020290086045861244, -0.006604309659451246, 0.027498221024870872, 0.009263969026505947, 0.014557049609720707, 0.023072566837072372, 0.003930258564651012, -0.0011882437393069267, -0.06138022989034653, 0.018478289246559143, 0.028520159423351288, 0.059333983808755875, -0.053591273725032806, 0.039069123566150665, -0.016246384009718895, -0.002407437190413475, 0.051293037831783295, -0.05146072059869766, 0.03526749461889267, 0.04569501057267189, 0.04123995825648308, -0.04950738325715065, 0.028750963509082794, 0.005001499317586422, 0.04629767686128616, 0.04721762239933014, 0.027767334133386612, 0.06540822237730026, -0.00826635118573904, 0.051723215728998184, 0.0693596825003624, 0.025673793628811836, 0.019147351384162903, 0.03292791545391083, 0.057146813720464706, -0.004074880853295326, -0.004584507551044226, 0.05904228612780571, -0.056103676557540894, 0.014231201261281967, -0.06141028553247452, -0.009629064239561558, -0.03730772063136101, -0.00637187110260129, 0.055456072092056274, 0.0343884639441967, -0.019071148708462715, 0.0027166237123310566, -0.015701917931437492, -0.020276805385947227, 0.007202275563031435, 0.008652303367853165, 0.0017837807536125183, -0.006319448817521334, -0.017478318884968758, -0.016669107601046562, -0.06651916354894638, -0.051580846309661865, -0.030392002314329147, -0.015568616800010204, -0.030437517911195755, -0.08274048566818237, -0.014769121073186398, -0.07213780283927917, -0.03447985276579857, 0.032954078167676926, 0.02624010294675827, 0.0026678824797272682, -0.025837991386651993, 0.024769920855760574, -0.05364787206053734, -0.0555352158844471, -0.05957762524485588, -0.0425463430583477, -0.05202154442667961, -0.06376669555902481, 0.03841033950448036, 0.025145716965198517, 0.0107889324426651, 0.019564189016819, 0.018179593607783318, 0.00413008127361536, -0.02192308008670807, 0.044321537017822266, 0.06482125073671341, -0.044304266571998596, -0.03298908472061157, 0.04039757326245308, -0.013030904345214367, 0.0282866470515728, 0.004395307973027229, -0.030682653188705444, 0.08049528300762177, 0.06755169481039047, 0.01563340798020363, 0.022806115448474884, -0.013705949299037457, -0.06734248995780945, -0.06871487200260162, -0.024859406054019928, -0.03437188267707825, -0.019168542698025703, -0.017565593123435974, -0.04778163880109787, -0.013725521042943, -0.051412563771009445, -0.004497234243899584, -0.010717670433223248, 0.026239890605211258, 0.02828112803399563, 0.03415413200855255, 0.022088490426540375, 0.015087103471159935, -0.02919270098209381, -0.04906071722507477, 0.052184782922267914, -0.006633192766457796, -0.000021155485228518955, -0.07496732473373413, -0.027295490726828575, 0.04749559983611107, 0.020458891987800598, -0.0023215992841869593, -0.001071599661372602, 0.06936660408973694, 0.0003790534392464906, 0.003046052996069193, 0.01551182009279728, -0.03177819773554802, -0.011192618869245052, 0.022643176838755608, 0.007772838231176138, -0.014842182397842407, -0.028984310105443, -0.018255334347486496, -0.00393553264439106, 0.04979158565402031, -0.07672831416130066, -0.049240004271268845, 0.0008191727683879435, 0.019590487703680992, 0.05422763526439667, 0.014508557505905628, -0.04808524250984192, -0.012486962601542473, -0.06846174597740173, 0.01094126794487238, 0.04534466192126274, 0.019078699871897697, 0.018800610676407814, 0.03539865463972092, 0.021877164021134377, -0.009655718691647053, 0.04145432636141777, 0.041000090539455414, 0.07395690679550171, 0.008381003513932228, -0.05526669695973396, 0.0066880229860544205, -0.02302175760269165, 0.032943181693553925, -0.010744167491793633, 0.003368528326973319, -0.03809637576341629, -0.09515415132045746, -0.035913024097681046, -0.012349422089755535, -0.0071298531256616116, -0.013311589136719704, 0.029315687716007233, -0.009063035249710083, -0.03489888831973076, 0.014908615499734879, 0.018161585554480553, 0.056278809905052185, -0.04229065403342247, 0.059092115610837936, -0.0041204108856618404, 0.019172070547938347, -0.054799627512693405, -0.0027322282548993826, -0.04573756456375122, -0.019329393282532692, 0.0077339173294603825, 0.052068281918764114, -0.016003629192709923, 0.05208501219749451, 0.0821865051984787, 0.021846037358045578, -0.036133307963609695, 0.03670389950275421, 0.06055904179811478, -0.028758957982063293, -0.05504271015524864, 0.009417293593287468, -0.007406163960695267, -0.005773164331912994, -0.00789776910096407, -0.018400534987449646, 0.050793882459402084, 0.031992703676223755, 0.012348675169050694, 0.0028534280136227608, 0.001410040189512074, -0.0002342877705814317, -0.03575940430164337, -0.05532180145382881, -0.005382154136896133, 0.0024997286964207888, -0.03011985868215561, -0.007023474667221308, 0.017211057245731354, 0.03242124617099762, 0.07463274896144867, 0.038256797939538956, -0.045562587678432465, -0.039005786180496216, 0.005659943912178278, 0.02832634188234806, -0.03084842674434185, -0.06878261268138885, -0.03981268033385277, 0.021405017003417015, 0.044556427747011185, -0.03892813250422478, -0.07393013685941696, 0.007489222567528486, 0.02543807029724121, -0.045758284628391266, 0.07388018071651459, 0.005098328460007906, 0.020928040146827698, 0.06744593381881714, -0.010700116865336895, 0.02741810865700245, -0.021108107641339302, 0.00885964184999466, 0.010688742622733116, 0.03553929179906845, -0.011247455142438412, -0.044973358511924744, -0.030355136841535568, 0.026055267080664635, 0.04132770374417305, 0.035712830722332, 0.03220273181796074, -0.03487059101462364, -0.05879630520939827, 0.003925953060388565, 0.03109716810286045, -0.0253326166421175, 0.009638435207307339, 0.02109741047024727, 0.03624657168984413, -0.05710884928703308, -0.0337882861495018, -0.033593446016311646, -0.013112789019942284, 0.038875967264175415, -0.007085239980369806, -0.023811519145965576, -0.037225719541311264, 0.030910849571228027, 0.003438168205320835, 0.0053514037281274796, -0.0788581594824791, 0.04046589508652687, -0.0019102232763543725, -0.016856368631124496, 0.06115751340985298, 0.03800664097070694, 0.0407121516764164, 0.04619213566184044, 0.031453508883714676, 0.05594184249639511, -0.03823722526431084, 0.039692223072052, -0.05019434541463852, -0.009584416635334492, 0.020165476948022842, -0.035458918660879135, -0.037474822252988815, -0.027502940967679024, -0.062272053211927414, -0.04144260287284851, -0.026515116915106773, 0.008127152919769287, 0.005178012885153294, -0.008118334226310253, -0.005223914049565792, 0.04525437206029892, -0.010492932982742786, -0.015369558706879616, -0.03223716467618942, -0.018789920955896378, -0.06673432886600494, -0.0531281940639019, -0.0031565281096845865, 0.004231394734233618, 0.02902425453066826, 0.021433118730783463, 0.013831976801156998, 0.01106856856495142, 0.025550194084644318, -0.04537055268883705, 0.015216300264000893, 0.021677542477846146, -0.015818512067198753, -0.02526206523180008, 0.016290083527565002, 0.02862580679357052, -0.0030388410668820143, -0.01914607733488083, 0.03362318500876427, 0.010977832600474358, -0.006540226750075817, -0.01955770142376423, 0.015552152879536152, 0.027680372819304466, -0.07464409619569778, -0.020046358928084373, -0.0007242307183332741, -0.044336896389722824, 0.012270183302462101, -0.03071453981101513, -0.021551266312599182, -0.0032805572263896465, 0.0024595330469310284, 0.030021104961633682, -0.03177132084965706, -0.02250867895781994, 0.034241367131471634, -0.018476366996765137, 0.03887022286653519, -0.05672439932823181, 0.04631912335753441, -0.03516894206404686, 0.021450920030474663, -0.019033631309866905, 0.027512356638908386, -0.03014623001217842, 0.03833702951669693, 0.005210193805396557, -0.011635841801762581, -0.020550193265080452, 0.022623378783464432, -0.03492756187915802, 0.03332407772541046, -0.011109819635748863, 0.025417448952794075, -0.017205169424414635, 0.07761328667402267, -0.03916645795106888, 0.017826037481427193, -0.05082806199789047, 0.020926378667354584, -0.03162045776844025, -0.0026321348268538713, -0.02769290842115879, -0.027658764272928238, 0.027469348162412643, 0.050542984157800674, 0.03312664106488228, 0.008435409516096115, -0.012341246008872986, -0.010675965808331966, 0.0263780876994133, -0.05078761652112007, -0.009264298714697361, -0.009090515784919262, -0.00390022830106318, -0.0070607103407382965, 0.05262221395969391, 0.0416705459356308, -0.0405590645968914, -0.07783006131649017, 0.04220325127243996, 0.01794132962822914, 0.011800683103501797, 0.0010948565322905779, 0.03976690024137497, 0.023453913629055023, 0.03824931010603905, -0.024844955652952194, 0.015152807347476482, -0.013514691032469273, -0.035026915371418, 0.03354797884821892, 0.006592414807528257, 0.026816830039024353, 0.005581149365752935, -0.03396693617105484, -0.017408424988389015, 0.04301753640174866, 0.03247338905930519, 0.026888925582170486, 0.0034067777451127768, -0.05799109488725662, 0.03132709115743637, -0.0055013783276081085, -0.0582340732216835, 0.002999549265950918, 0.01863255724310875, -0.04714009538292885, 0.0566832572221756, -0.007775843609124422, 0.007163694128394127, 0.028649738058447838, 0.023977486416697502, -0.019658949226140976, 0.05152962729334831, -0.04100397601723671, 0.020132726058363914, 0.0558052659034729, -0.07342460006475449, -0.010313551872968674, -0.029920317232608795, 0.05584355443716049, -0.035548608750104904, 0.015573302283883095, 0.047020673751831055, 0.02354896254837513, 0.025125455111265182, -0.04776924476027489, -0.04035525768995285, -0.0037502888590097427, -0.042485058307647705, 0.0878543108701706, 0.0034393365494906902, -0.037697046995162964, 0.06008262187242508, -0.008189985528588295, -0.051048532128334045, 0.055076584219932556, 0.03635433688759804, 0.05503831058740616, 0.02785154990851879, 0.036596860736608505, -0.04245345667004585, -0.007887371815741062, -0.028697680681943893, -0.0022174203768372536, -0.04602867364883423, 0.004272031597793102, 0.026719408109784126, -0.0516921728849411, -0.021635113283991814, 0.034677501767873764, -0.020050041377544403, -0.007184136193245649, 0.03942295163869858, -0.056163810193538666, -0.03412627801299095, 0.03413752093911171, 0.02115768939256668, -0.03616100922226906, -0.01850925013422966, -0.027402399107813835, -0.004986722022294998, 0.018584517762064934, 0.004448062740266323, -0.015372753143310547, 0.014552723616361618, 0.032015182077884674, -0.05197862908244133, -0.0429779551923275, 0.03103434108197689, -0.0026835978496819735, -0.014684350229799747, 0.042727768421173096, 0.01734076999127865, 0.03609256073832512, 0.034631580114364624, -0.019811443984508514, 0.04204932972788811, -0.04623113572597504, -0.009052516892552376, 0.006821999792009592, -0.015097043476998806, 0.052001211792230606, -0.00875135138630867, 0.043560922145843506, 0.032197657972574234, 0.021983550861477852, 0.009101889096200466, -0.06693694740533829, -0.01808801293373108, -0.0021201400086283684, -0.045143529772758484, 0.017520250752568245, 0.0052281636744737625, -0.060580410063266754, -0.0485236793756485, -0.013195199891924858, -0.03659181669354439, 0.034019000828266144, -0.0761754959821701, 0.01341491099447012, 0.03161107748746872, 0.022583231329917908, -0.06515924632549286, -0.09882321208715439, -0.023214494809508324, -0.04304081201553345, 0.004181331489235163, 0.03148221969604492, -0.04881003871560097, 0.05332756042480469, -0.04995148256421089, -0.02615596540272236, 0.04331376776099205, 0.008268275298178196, -0.047880567610263824, 0.053963977843523026, 0.054554443806409836, -0.04903683066368103, 0.02139226906001568, 0.028568120673298836, -0.036606788635253906, 0.005494976416230202, 0.006295123137533665, -0.004953419789671898, 0.03244313225150108, -0.004119005054235458, -0.05063982307910919, -0.014215975068509579, -0.08668113499879837, -0.055675655603408813, -0.0395452119410038, 0.005973216611891985, 0.05640926584601402 ]
Backedman/DialoGPT-small-Anika
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: wav2vec2-base-timit-demo-colab results: [] --- <!-- 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. --> # wav2vec2-base-timit-demo-colab This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the None dataset. ## 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: 0.0001 - train_batch_size: 32 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 1000 - num_epochs: 2 - mixed_precision_training: Native AMP ### Training results ### Framework versions - Transformers 4.11.3 - Pytorch 1.10.0+cu111 - Datasets 1.18.3 - Tokenizers 0.10.3
[ -0.03647278994321823, -0.013824107125401497, -0.028611041605472565, 0.022168636322021484, 0.03806104511022568, 0.032696403563022614, 0.006371902767568827, 0.0027661460917443037, -0.03486700356006622, 0.04379533976316452, 0.040717098861932755, -0.008941341191530228, 0.004450133536010981, 0.03249337151646614, -0.04371987655758858, -0.05154256522655487, -0.041091665625572205, 0.014703323133289814, -0.02216522768139839, -0.0020760311745107174, 0.008624531328678131, -0.01609809324145317, -0.008051490411162376, 0.03238343447446823, 0.004759930539876223, 0.01646006666123867, -0.004476731177419424, 0.015621641650795937, -0.002947803819552064, -0.08189789205789566, -0.011673551052808762, -0.0448516383767128, -0.0468808114528656, -0.03045588731765747, -0.016168741509318352, -0.0033684340305626392, -0.009399923495948315, 0.026653757318854332, 0.04274430125951767, 0.04087712988257408, 0.016302747651934624, 0.022743673995137215, -0.03141288086771965, -0.019143156707286835, 0.05964486673474312, 0.005219079554080963, -0.03852345421910286, -0.010748892091214657, 0.038113076239824295, -0.050548482686281204, -0.07009696215391159, -0.06217626854777336, -0.027560001239180565, 0.037032850086688995, -0.010663907043635845, -0.021971384063363075, -0.06757324188947678, -0.01630784571170807, 0.062467604875564575, -0.04737798124551773, -0.00827004760503769, 0.009883873164653778, -0.07516235113143921, 0.021274033933877945, 0.023975571617484093, -0.024535173550248146, 0.013314284384250641, -0.030729785561561584, 0.05390457063913345, 0.0026545883156359196, 0.04688619077205658, -0.014593949541449547, 0.013828559778630733, -0.08636058121919632, -0.007957195863127708, -0.008924166671931744, 0.0212235264480114, 0.06748214364051819, -0.03383805975317955, 0.04224627465009689, 0.016283128410577774, 0.01410704106092453, 0.02489878050982952, -0.018458236008882523, 0.01105515006929636, 0.046484485268592834, -0.057651959359645844, 0.034791044890880585, -0.0003869704087264836, 0.04053338244557381, -0.028672747313976288, -0.025842556729912758, -0.03605932369828224, -0.04488247632980347, -0.006221048533916473, 0.0344812348484993, 0.03709060326218605, 0.014101351611316204, 0.020544296130537987, 0.01921738311648369, 0.04230412468314171, 0.030172457918524742, -0.025814946740865707, 0.06261200457811356, -0.00811159797012806, -0.012622800655663013, -0.008209043182432652, -0.02131074294447899, -0.03861965611577034, 0.022946132346987724, 0.03856876865029335, -0.022777758538722992, -0.030383529141545296, 0.030758623033761978, -0.005959777627140284, -0.0017156507819890976, 0.03681540489196777, -0.03209000825881958, -0.02797149308025837, -0.014143286272883415, 0.05985154211521149, 0.02616427093744278, -0.017653366550803185, -0.003270925022661686, -0.05474323406815529, 0.007724857423454523, -0.029773537069559097, -0.044502366334199905, -0.011072039604187012, 0.011754943989217281, -0.011402806267142296, 0.04064572975039482, 0.03962812200188637, -0.060898762196302414, -0.0007371412357315421, 0.019147340208292007, -0.04210975766181946, 0.02738286554813385, 0.00900596845895052, 0.08816485852003098, -0.07276125997304916, -0.06001056358218193, 0.01021426822990179, -0.013903381302952766, -0.0008493119385093451, 0.023242585361003876, 0.013493778184056282, -0.02504071034491062, -0.007443276233971119, -0.016672488301992416, 0.03244293853640556, -0.06947791576385498, -0.020000170916318893, 0.060699570924043655, -0.014440365135669708, 0.03752048686146736, -0.038214705884456635, -0.016025032848119736, 0.012225767597556114, -0.009589108638465405, -0.022054919973015785, 0.04776671156287193, 0.014762409962713718, -0.021739596500992775, -0.022196657955646515, -0.045643601566553116, -0.015336930751800537, 0.10400497168302536, 0.002022848464548588, -0.01887311227619648, -0.02789001166820526, 0.035273972898721695, 0.04521358758211136, 0.04848243296146393, -0.0401335284113884, 0.049881864339113235, 0.057169388979673386, 0.028268082067370415, -0.030469713732600212, 0.05641058087348938, 0.03560817986726761, -0.04266313463449478, -0.05240454524755478, 0.017713919281959534, 0.01554991863667965, -0.07287095487117767, 0.018359685316681862, 0.036275699734687805, 0.015467897057533264, -0.03729378432035446, -0.02184789814054966, 0.04512643814086914, -0.008055096492171288, -0.008598951622843742, 0.022692982107400894, -0.009043003432452679, -0.03127080947160721, 0.032836224883794785, -0.044176045805215836, -0.00795784406363964, -0.015656640753149986, -0.01079411618411541, -0.012562233954668045, -0.0039599305018782616, 0.039056725800037384, 0.03980029746890068, -0.01876049116253853, 0.10002405196428299, -0.03856914862990379, -0.01195582840591669, -0.0025811658706516027, -0.04806230217218399, 0.019890861585736275, 0.0725969672203064, 0.034908540546894073, 0.07308214902877808, -0.0015157670713961124, -0.03932100534439087, 0.04063621535897255, 0.08151115477085114, 0.04899318143725395, -0.003571559442207217, -0.02943972870707512, -0.014125274494290352, 0.010820120573043823, 0.04699927940964699, -0.07170814275741577, -0.01275723148137331, 0.014375454746186733, 0.03467603027820587, -0.017395753413438797, 0.03522466868162155, -0.020054757595062256, 0.0428839847445488, -0.054893121123313904, -0.07243284583091736, 0.04363606125116348, 0.025338690727949142, 0.005774967838078737, 0.023605959489941597, 0.00011965265730395913, 0.0035283227916806936, 0.0005510128103196621, 0.017802046611905098, -0.008000687696039677, -0.017748422920703888, 0.018989721313118935, 0.02027980610728264, 0.06039318069815636, -0.0730251669883728, 0.025851760059595108, -0.034696467220783234, 0.012605712749063969, 0.05124204233288765, -0.032475609332323074, 0.037361934781074524, 0.03423541411757469, 0.025128955021500587, -0.026082606986165047, 0.008839312009513378, 0.005976460408419371, 0.057821378111839294, 0.03323310241103172, 0.024870993569493294, 0.05922985449433327, 0.020327184349298477, 0.03486311063170433, 0.07199842482805252, 0.026679670438170433, 0.024341803044080734, 0.04427042976021767, 0.08206843584775925, 0.01386234536767006, -0.009952482767403126, 0.057229720056056976, -0.06285244971513748, 0.03429865464568138, -0.04045882448554039, -0.008658543229103088, -0.04084055498242378, -0.01012095995247364, 0.03115202859044075, -0.000662348058540374, -0.007189048919826746, -0.028364598751068115, -0.023739097639918327, -0.03976300731301308, 0.02883121557533741, -0.002932364819571376, -0.018300317227840424, -0.004618615843355656, 0.005441422574222088, -0.009570530615746975, -0.07448693364858627, -0.014681525528430939, -0.016377005726099014, -0.02358071133494377, -0.0008521002600900829, -0.08472000062465668, -0.020130233839154243, -0.07382159680128098, -0.034265901893377304, 0.03323731571435928, 0.001864785561338067, 0.013320764526724815, -0.05598768591880798, 0.004860683809965849, -0.049779027700424194, -0.05641632154583931, -0.054668836295604706, -0.063911572098732, -0.02317272126674652, -0.0763394758105278, 0.037889547646045685, 0.048280633985996246, 0.019190236926078796, 0.001620846800506115, 0.020164381712675095, -0.000584623368922621, -0.004466939717531204, 0.04279453679919243, 0.05782834440469742, -0.03271535411477089, -0.06527344882488251, 0.02537538670003414, -0.014134040102362633, 0.0020464682020246983, -0.004404898267239332, -0.025432664901018143, 0.10268794000148773, 0.05726737156510353, 0.03373270109295845, 0.031532905995845795, -0.024014247581362724, -0.06286795437335968, -0.06070331484079361, -0.02215304970741272, -0.054807599633932114, -0.01686069555580616, -0.056532539427280426, -0.01919349655508995, -0.030103541910648346, -0.02321711741387844, 0.02386792190372944, -0.02629638835787773, -0.01300432812422514, 0.023259049281477928, 0.04155421629548073, 0.011257804930210114, 0.028429828584194183, -0.013294810429215431, -0.06462129950523376, 0.04282310977578163, -0.0031582615338265896, -0.03310377895832062, -0.08539540320634842, -0.004624934401363134, 0.023758815601468086, 0.009696457535028458, 0.00984818022698164, 0.010956303216516972, 0.08544718474149704, 0.004595800768584013, -0.027607783675193787, 0.020910145714879036, -0.02511739172041416, 0.010116609744727612, -0.03192528709769249, 0.003412994323298335, -0.020661648362874985, -0.04628961905837059, 0.010593481361865997, -0.011646014638245106, 0.039870213717222214, -0.07233822345733643, -0.05069873854517937, -0.015109822154045105, 0.025786815211176872, 0.0356338694691658, 0.013292517513036728, -0.017880097031593323, -0.017020462080836296, -0.046452078968286514, -0.011204761452972889, 0.03177019953727722, 0.008224666118621826, 0.013413463719189167, 0.0446915328502655, 0.021652163937687874, -0.01813032478094101, 0.04878554493188858, 0.04448842629790306, 0.07655098289251328, 0.041440654546022415, -0.03498658910393715, 0.015375507064163685, -0.022575167939066887, 0.02498386614024639, -0.025255808606743813, -0.030024494975805283, -0.04200948029756546, -0.10694414377212524, -0.033131733536720276, 0.0074674212373793125, -0.010294629260897636, -0.01517599169164896, 0.036824483424425125, 0.013996163383126259, -0.0257774218916893, 0.010286782868206501, 0.02547820471227169, 0.04992799460887909, -0.032708629965782166, 0.06157214939594269, -0.006451691035181284, 0.022020898759365082, -0.06607840955257416, 0.007103926036506891, -0.04195667803287506, -0.008996833115816116, 0.002952161245048046, 0.04345617815852165, -0.01593845896422863, 0.05922383442521095, 0.08157211542129517, 0.011597885750234127, -0.04873448982834816, 0.04615972191095352, 0.06498458236455917, -0.03125808760523796, -0.0499553456902504, 0.017396308481693268, -0.011973744258284569, -0.03852052241563797, 0.0016837576404213905, 0.005272126290947199, 0.03472074493765831, 0.04150465130805969, -0.01271861046552658, 0.015152490697801113, 0.0058110496029257774, -0.006444825790822506, -0.025718484073877335, -0.054077278822660446, -0.04544227197766304, -0.0030700284987688065, -0.03861147165298462, 0.027927441522479057, 0.030297845602035522, 0.016591353341937065, 0.05309971049427986, 0.04033344238996506, -0.050445277243852615, -0.03578849881887436, -0.0013744232710450888, 0.03023683652281761, -0.023480290547013283, -0.08617609739303589, -0.03921970725059509, 0.04159087315201759, 0.03419996425509453, -0.010743583552539349, -0.0678587481379509, 0.0062333038076758385, 0.035258810967206955, -0.04892255365848541, 0.05130689591169357, 0.01930507831275463, 0.04664745554327965, 0.054492268711328506, 0.005604025442153215, 0.03395792096853256, -0.026891527697443962, 0.00015087443171069026, 0.00035307067446410656, 0.015159311704337597, -0.024992844089865685, -0.02985488437116146, -0.060547273606061935, -0.00210006907582283, 0.061314601451158524, 0.04809752106666565, 0.022121643647551537, -0.03193605691194534, -0.04159282147884369, 0.015664659440517426, 0.02329486608505249, -0.041058942675590515, 0.01137950737029314, 0.014456920325756073, 0.02122221700847149, -0.04202321171760559, -0.016505828127264977, -0.02084689773619175, -0.0003973795974161476, 0.018440162762999535, 0.0038208060432225466, -0.039139386266469955, -0.034232139587402344, 0.04317207634449005, 0.029596060514450073, -0.018919087946414948, -0.08862839639186859, 0.01594819873571396, -0.0018062436720356345, -0.006790266837924719, 0.03401908278465271, 0.027825403958559036, 0.04328636825084686, 0.03694557398557663, 0.023430751636624336, 0.03057606890797615, -0.02295040525496006, 0.019858065992593765, -0.03839835152029991, -0.01717965118587017, -0.0010025653755292296, -0.03392309695482254, -0.03377222642302513, -0.007607208099216223, -0.06320778280496597, -0.02975347451865673, -0.005811337381601334, 0.0019167013233527541, -0.00796599593013525, -0.007553714327514172, -0.023852352052927017, 0.06687463074922562, -0.024848351255059242, -0.013764292001724243, -0.047707609832286835, -0.00990621093660593, -0.06222233176231384, -0.03963064029812813, 0.03168759122490883, 0.012550828978419304, 0.0639757290482521, 0.026802362874150276, 0.01484603900462389, 0.023497754707932472, 0.006806981284171343, -0.019705913960933685, 0.0022571184672415257, 0.006678001489490271, -0.019680066034197807, -0.00391494482755661, 0.01767878048121929, 0.01276047807186842, -0.0021709452848881483, -0.03601960837841034, 0.02321612648665905, 0.022187968716025352, -0.011119921691715717, -0.02188372053205967, 0.006508794147521257, 0.0010018397588282824, -0.06875671446323395, -0.016348734498023987, 0.004711460322141647, -0.04846050590276718, 0.008469955064356327, -0.03469698503613472, -0.023514365777373314, 0.0011888404842466116, 0.023632530122995377, 0.057952139526605606, -0.026039153337478638, -0.017652926966547966, 0.023786397650837898, -0.03685426339507103, 0.009848491288721561, -0.0654076561331749, 0.04914286732673645, -0.03211217001080513, 0.0030107281636446714, -0.026033855974674225, 0.027810126543045044, -0.055334124714136124, 0.03227011859416962, -0.017135344445705414, -0.001743657747283578, -0.02543100342154503, 0.04376926273107529, -0.02910349890589714, 0.0322888009250164, 0.009693820960819721, 0.02489185333251953, -0.06148160248994827, 0.04739244282245636, -0.026858141645789146, 0.028256533667445183, -0.050017014145851135, -0.002689993940293789, -0.0409419909119606, -0.007663539610803127, -0.015847770497202873, -0.024058952927589417, 0.04587038978934288, 0.04597383365035057, 0.056859441101551056, 0.023844927549362183, -0.021982597187161446, -0.036592431366443634, 0.03089379519224167, -0.04309215024113655, -0.017919477075338364, -0.008195457048714161, -0.004235149826854467, 0.004353406839072704, 0.030366074293851852, 0.03464193642139435, -0.0497855506837368, -0.06020296737551689, 0.0354195311665535, -0.00010792200191644952, 0.025986336171627045, 0.030438117682933807, 0.029804406687617302, 0.029239054769277573, 0.06455901265144348, -0.018137019127607346, 0.010141847655177116, -0.010839641094207764, -0.036396875977516174, 0.03387470915913582, -0.027387388050556183, 0.03129881992936134, 0.006526137702167034, -0.038628946989774704, -0.008815181441605091, 0.046460896730422974, 0.03463438153266907, 0.03694785013794899, 0.002226437209174037, -0.03567388653755188, 0.0161052867770195, -0.007085876539349556, -0.05932273343205452, 0.026876898482441902, -0.006146102678030729, -0.033711906522512436, 0.07386190444231033, -0.027309730648994446, 0.01133551076054573, 0.030046384781599045, 0.03701810911297798, -0.01602741703391075, 0.05099394544959068, -0.04644853249192238, 0.009864267893135548, 0.06935833394527435, -0.06524316966533661, 0.003571860957890749, -0.005851455964148045, 0.06627373397350311, -0.070193812251091, 0.030521461740136147, 0.062368132174015045, 0.0018579409224912524, 0.01569703035056591, -0.045553311705589294, -0.03478198125958443, 0.007067869883030653, -0.049612898379564285, 0.09439161419868469, -0.0015914550749585032, -0.061106547713279724, 0.05530121922492981, 0.01541158277541399, -0.06549210846424103, 0.04883019998669624, 0.02124844491481781, 0.03378717973828316, 0.035025499761104584, 0.04720228910446167, -0.03763314336538315, 0.018018707633018494, -0.04612429812550545, 0.03550949692726135, -0.060667090117931366, 0.0019059760961681604, 0.030609741806983948, -0.03855084255337715, -0.03903044015169144, 0.038346581161022186, -0.016520127654075623, -0.009704288095235825, 0.030895544216036797, -0.05692670866847038, -0.034795694053173065, 0.008751371875405312, 0.026618439704179764, -0.031644389033317566, 0.012419108301401138, -0.03537130728363991, -0.00992836244404316, 0.008449305780231953, 0.00006652161391684785, -0.02805478125810623, -0.009474427439272404, 0.008343836292624474, -0.03621738776564598, -0.06082383170723915, 0.03510994464159012, -0.014213766902685165, -0.00843606237322092, 0.045348748564720154, 0.018283335492014885, 0.01114655937999487, 0.02447563223540783, 0.011194934137165546, 0.03831874951720238, -0.03589213639497757, -0.026188448071479797, -0.0007951864972710609, -0.00044772698311135173, 0.03274030238389969, 0.01614331267774105, 0.047189369797706604, 0.01379939541220665, 0.003505371045321226, -0.00043930934043601155, -0.027387667447328568, -0.026184245944023132, 0.009609627537429333, -0.04053252562880516, 0.010921764187514782, 0.015426929108798504, -0.044552046805620193, -0.0620633140206337, -0.020730748772621155, -0.02416287362575531, 0.01572360284626484, -0.06473295390605927, -0.010716061107814312, 0.04701853170990944, -0.010615348815917969, -0.06002291664481163, -0.06945585459470749, -0.039977870881557465, -0.05695129558444023, 0.020691361278295517, 0.03061925247311592, -0.04181605577468872, 0.03831750527024269, -0.050644129514694214, -0.04575053229928017, 0.04155949875712395, 0.013202931731939316, -0.030969863757491112, 0.03278039023280144, 0.039338041096925735, -0.05036138370633125, -0.004891572054475546, 0.04157720506191254, -0.04032067582011223, 0.005068557802587748, 0.0167929045855999, 0.02116519957780838, 0.030949315056204796, 0.0033642330672591925, -0.06213724613189697, -0.032705727964639664, -0.04694104567170143, -0.02974664978682995, -0.047957390546798706, -0.008695551194250584, 0.04378838464617729 ]
Bagus/ser-japanese
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - conversational --- # Chicken Bot's Jon Snow DialoGPT Model
[ -0.050567299127578735, 0.0209587924182415, 0.013259687460958958, 0.034279875457286835, 0.031001117080450058, 0.006977304350584745, -0.014790629968047142, 0.013092057779431343, -0.022547630593180656, 0.005355967674404383, 0.029615262523293495, -0.027984166517853737, 0.019133344292640686, 0.04144520312547684, -0.03952176123857498, -0.010664308443665504, -0.03243549168109894, -0.00014048021694179624, -0.02707131765782833, -0.023597978055477142, 0.0297564510256052, 0.012486751191318035, -0.011617851443588734, 0.021315453574061394, -0.0011944575235247612, 0.022522421553730965, 0.002318265149369836, 0.004816032480448484, 0.027730759233236313, -0.03173777833580971, 0.017606250941753387, -0.057394396513700485, -0.031354956328868866, -0.03311857581138611, -0.01221312303096056, -0.046829771250486374, 0.025703776627779007, 0.0017153485678136349, -0.0011582309380173683, 0.02900480292737484, -0.018913662061095238, -0.025588728487491608, -0.0029641001019626856, -0.045453790575265884, 0.06375759840011597, -0.0016295318491756916, -0.0512145571410656, 0.00007276699034264311, 0.016859697178006172, -0.040991924703121185, -0.054631154984235764, -0.04240914061665535, -0.040700722485780716, -0.017709393054246902, 0.011136057786643505, -0.07361260801553726, -0.06724947690963745, 0.012234342284500599, 0.10973577946424484, -0.009260041639208794, 0.005453714169561863, 0.006205135956406593, -0.052455831319093704, 0.003532641800120473, 0.018999209627509117, -0.0795605480670929, 0.010692293755710125, -0.04590896517038345, 0.004509699530899525, -0.02645544707775116, 0.06587636470794678, -0.04317653551697731, 0.0004463809309527278, -0.0698043629527092, -0.019867191091179848, 0.009152823127806187, 0.03342689201235771, 0.06736355274915695, -0.03762126341462135, 0.07189113646745682, 0.0425235740840435, 0.011394173838198185, 0.06689365208148956, -0.022759899497032166, -0.02628702111542225, 0.047465234994888306, -0.04740973189473152, -0.017978038638830185, -0.00705317035317421, 0.042506925761699677, -0.020832164213061333, -0.055034469813108444, -0.040054935961961746, -0.0158881526440382, -0.015654824674129486, 0.02858716808259487, 0.025252358987927437, -0.010728101246058941, 0.01990140788257122, 0.057950105518102646, 0.0520879290997982, 0.04167866334319115, -0.023126903921365738, 0.05038665980100632, -0.008995752781629562, 0.01127663441002369, 0.015831580385565758, -0.03911576047539711, -0.04148021712899208, 0.03541302680969238, -0.014362175017595291, -0.04985470324754715, -0.024175049737095833, 0.02474418468773365, 0.034334760159254074, -0.022435225546360016, 0.030809227377176285, -0.026773450896143913, -0.04346141219139099, -0.05376463755965233, 0.07686956226825714, -0.013094238936901093, -0.005093990825116634, 0.005773250944912434, -0.03792519122362137, 0.017581842839717865, -0.02131292223930359, -0.029499368742108345, -0.007961923256516457, 0.0012805700534954667, 0.007672828156501055, 0.04393630847334862, -0.056801825761795044, -0.042158350348472595, -0.021604793146252632, 0.04653429985046387, -0.0799306184053421, 0.02030549757182598, 0.01429317332804203, 0.09358502924442291, -0.10680381208658218, -0.043313317000865936, 0.009231491014361382, 0.02014756016433239, -0.02115735039114952, -0.003687423886731267, 0.0007321425364352763, -0.003553545568138361, -0.05612645298242569, -0.00475033326074481, 0.02596650831401348, -0.05907290801405907, -0.003263927763327956, 0.04129360243678093, 0.006887541618198156, 0.011213729158043861, -0.019714707508683205, 0.03277606889605522, -0.0003350924816913903, -0.03733203187584877, -0.05108224228024483, 0.034660808742046356, -0.02516319416463375, -0.018247168511152267, -0.04772094637155533, -0.045014653354883194, 0.017869722098112106, 0.08241958916187286, 0.016368966549634933, -0.0058287037536501884, -0.02074148692190647, 0.048676665872335434, 0.04629254341125488, 0.029603837057948112, -0.02161339856684208, 0.03416895493865013, 0.058649830520153046, 0.02326403558254242, -0.058911606669425964, 0.06306047737598419, 0.021297557279467583, -0.042743880301713943, -0.0301962997764349, -0.01907062903046608, 0.0310587827116251, -0.007032343186438084, 0.00032885774271562696, 0.04882253333926201, -0.03723627328872681, -0.03719563037157059, -0.0031011656392365694, 0.04227634146809578, -0.0188905056566, 0.0005398192442953587, -0.033366862684488297, -0.03830559179186821, -0.022902335971593857, 0.0293944850564003, -0.03892303630709648, -0.032761070877313614, -0.02131771482527256, -0.014229420572519302, 0.03997951000928879, -0.00501607358455658, -0.0011243736371397972, 0.040030792355537415, -0.01990332268178463, 0.07618554681539536, -0.016810934990644455, 0.026951462030410767, -0.038486845791339874, -0.022125601768493652, -0.025156311690807343, 0.032508160918951035, 0.017633995041251183, 0.053817469626665115, -0.030347201973199844, -0.03806138411164284, 0.036881186068058014, 0.0434391126036644, 0.025658879429101944, 0.026912342756986618, -0.02843024954199791, 0.00965804886072874, 0.02733154222369194, 0.05041811242699623, -0.03276926651597023, 0.004232241306453943, 0.03101014718413353, 0.03292882815003395, -0.007739177905023098, -0.038223762065172195, -0.03277517482638359, 0.023624613881111145, -0.02411191537976265, -0.06128309667110443, 0.05178472399711609, 0.02916191890835762, 0.01057963166385889, 0.03712508827447891, -0.002843182999640703, 0.003250028006732464, 0.05153728649020195, 0.0015562206972390413, -0.01394337322562933, -0.07500939816236496, 0.0001249872293556109, 0.029640696942806244, 0.06271540373563766, -0.04317447170615196, -0.000670079723931849, 0.02720557525753975, 0.01845017448067665, 0.018529830500483513, -0.02314397133886814, 0.03925381228327751, 0.07682391256093979, 0.0512116439640522, 0.0032729313243180513, 0.019927529618144035, 0.025425441563129425, 0.03873877972364426, 0.06455735862255096, -0.018173668533563614, 0.08337396383285522, -0.022701922804117203, 0.02976214326918125, 0.02713765576481819, 0.02922295406460762, -0.017516767606139183, 0.011004905216395855, 0.06855855137109756, 0.0015546705108135939, 0.03460504487156868, 0.04719046130776405, -0.010857713408768177, -0.0008294478757306933, -0.04373464733362198, -0.02099013701081276, 0.005546377971768379, -0.010497604496777058, 0.06023151054978371, 0.010198191739618778, -0.015369112603366375, -0.0030273613519966602, 0.007407811004668474, -0.00662306509912014, 0.04385524243116379, 0.015421397984027863, -0.021299969404935837, 0.00006252033927012235, -0.019323108717799187, 0.03147490695118904, -0.041783083230257034, -0.025238579139113426, -0.014189768582582474, -0.050767138600349426, -0.003274547401815653, -0.11336628347635269, -0.031064607203006744, -0.06441446393728256, -0.02163521572947502, 0.04897734895348549, 0.015329199843108654, 0.010233620181679726, -0.00569094019010663, 0.021454501897096634, -0.020254412665963173, -0.044567473232746124, -0.07567892968654633, -0.026895256713032722, -0.01254492998123169, -0.03316007927060127, 0.036994826048612595, 0.03007962368428707, 0.03576747700572014, -0.004074766766279936, -0.032640621066093445, -0.06105217710137367, -0.012137213721871376, 0.030297009274363518, 0.010080324485898018, -0.03930710628628731, -0.02392621897161007, 0.018029721453785896, -0.0026369672268629074, 0.009472152218222618, -0.033567555248737335, -0.03059026040136814, 0.057890746742486954, 0.05426894873380661, -0.004727737046778202, 0.009963213466107845, -0.0322558619081974, -0.036639634519815445, -0.029946420341730118, -0.025684088468551636, -0.038095779716968536, 0.0043511344119906425, -0.03133084997534752, -0.04314644634723663, -0.030943160876631737, -0.06472987681627274, -0.0362069196999073, -0.011426043696701527, 0.0038221688009798527, 0.030208932235836983, 0.009188773110508919, 0.03701066970825195, 0.021382741630077362, -0.012350519187748432, 0.001383029855787754, 0.05933321267366409, -0.020909298211336136, -0.01061207428574562, -0.07811828702688217, -0.035213060677051544, 0.03362121805548668, 0.014846623875200748, -0.0006871329387649894, -0.019051363691687584, 0.040385253727436066, 0.03086266852915287, -0.005790997296571732, 0.04131858050823212, -0.05605719983577728, -0.00436781020835042, -0.03770575672388077, -0.02097601629793644, -0.05153084546327591, -0.03658650442957878, -0.010536477901041508, -0.026406217366456985, 0.0461120530962944, -0.07950863242149353, -0.028293656185269356, -0.01636730134487152, 0.0007454933947883546, 0.028509747236967087, -0.006914967205375433, -0.0436464287340641, 0.009614246897399426, -0.03302683308720589, -0.01646956242620945, -0.009019024670124054, -0.019542524591088295, 0.008511949330568314, 0.029596759006381035, 0.032685793936252594, -0.017517270520329475, 0.04851683974266052, 0.01740354672074318, 0.059475451707839966, 0.051544059067964554, -0.03178297355771065, 0.028247054666280746, -0.0260773878544569, 0.04070267826318741, -0.01996794156730175, -0.04999101534485817, -0.0530381016433239, -0.09279870241880417, -0.05400031805038452, 0.019367873668670654, -0.027007902041077614, 0.016256218776106834, 0.037527065724134445, -0.042685333639383316, 0.000983676640316844, -0.00777192460373044, 0.0472571924328804, 0.054268524050712585, -0.04178747534751892, 0.07158303260803223, 0.004637857899069786, 0.004280879627913237, -0.05169921740889549, -0.011808415874838829, -0.05131325498223305, -0.01991209015250206, 0.0036180561874061823, 0.053005218505859375, 0.028856413438916206, 0.05679352954030037, 0.06421557813882828, 0.020240336656570435, -0.04651416093111038, 0.02848624251782894, 0.06482584774494171, -0.016383595764636993, -0.03229834884405136, 0.005281622055917978, -0.008745085448026657, -0.0011179831344634295, -0.003347356803715229, -0.04074975475668907, 0.02448793314397335, 0.03260823339223862, -0.01052002888172865, 0.010831108316779137, 0.026356631889939308, -0.015150072984397411, -0.031096993014216423, -0.06561803817749023, 0.0008143361192196608, -0.00900109950453043, -0.021072018891572952, 0.06355564296245575, 0.04932509362697601, 0.006974084302783012, 0.058558057993650436, 0.03423485904932022, -0.024988749995827675, -0.012259853072464466, 0.030277622863650322, 0.012336843647062778, -0.036915212869644165, -0.05517309159040451, -0.03516821563243866, 0.009896480478346348, 0.05684444680809975, -0.017212197184562683, -0.07682929188013077, 0.023925649002194405, 0.03508888930082321, -0.032694265246391296, 0.04832504689693451, -0.006451535038650036, 0.05021124705672264, 0.03065510280430317, 0.02376721240580082, 0.05594293400645256, -0.04209759831428528, 0.020768314599990845, -0.006443668622523546, 0.027605433017015457, -0.048942822962999344, -0.02656836062669754, -0.05807838588953018, 0.031116019934415817, 0.005099904723465443, 0.01660621538758278, 0.024357791990041733, -0.04557495936751366, -0.04577129706740379, -0.023294104263186455, 0.04339238628745079, -0.009157126769423485, 0.030408641323447227, 0.03732097148895264, 0.05606723576784134, -0.06399495154619217, -0.017005259171128273, 0.020064199343323708, 0.007743579335510731, 0.03469616174697876, -0.03771837800741196, -0.04047957435250282, 0.00028091040439903736, 0.022009126842021942, -0.029790690168738365, -0.01777917705476284, -0.08777273446321487, 0.024365415796637535, -0.033128224313259125, -0.035103410482406616, 0.05122346431016922, 0.05865068733692169, 0.06429550796747208, 0.07283182442188263, -0.01948585920035839, 0.03798829764127731, -0.028156878426671028, 0.023953387513756752, -0.04097149148583412, -0.020112862810492516, 0.004519328474998474, -0.07106699049472809, -0.014146197587251663, -0.044763851910829544, -0.05059947445988655, -0.04346749186515808, -0.0070755998603999615, 0.016763940453529358, -0.000024998644221341237, 0.0035392334684729576, 0.02807040885090828, 0.015631791204214096, -0.012412683106958866, -0.03074060194194317, -0.003089449368417263, -0.027340933680534363, -0.06495015323162079, -0.045725155621767044, -0.005542968399822712, -0.0014907866716384888, 0.017985854297876358, -0.008690854534506798, 0.008403588086366653, 0.03861042484641075, 0.0010392960393801332, -0.012840347364544868, 0.013181649148464203, 0.03433115407824516, -0.02585899643599987, -0.007078176364302635, 0.015723684802651405, 0.015233254060149193, 0.03731584921479225, -0.023889366537332535, 0.028409501537680626, 0.0024104781914502382, -0.056225962936878204, -0.012029358185827732, 0.04186138138175011, 0.01669509895145893, -0.08497028797864914, 0.006114745046943426, -0.01688535325229168, -0.04081069678068161, 0.0009729772573336959, -0.05657409876585007, -0.0469980351626873, 0.006543581839650869, 0.0410061776638031, 0.028295300900936127, -0.0034265543799847364, -0.005652963649481535, -0.009437966160476208, -0.0023237925488501787, 0.02185690589249134, -0.06130614131689072, 0.025950204581022263, -0.03693784773349762, 0.0018225273815914989, -0.020432548597455025, 0.015998730435967445, -0.059555456042289734, 0.05915311723947525, -0.003648602170869708, -0.01839367486536503, -0.000986456754617393, -0.002109723398461938, 0.010235320776700974, 0.047370776534080505, 0.016683533787727356, 0.020757898688316345, -0.04966701567173004, 0.06386000663042068, -0.06197306886315346, 0.0077330186031758785, -0.003239428624510765, -0.014080521650612354, -0.029667682945728302, -0.013120395131409168, 0.009860323742032051, -0.07178671658039093, 0.05033959820866585, 0.025202136486768723, 0.016874656081199646, 0.03833284601569176, 0.006052550859749317, 0.0073296730406582355, 0.022773070260882378, -0.05764510855078697, -0.054156724363565445, 0.0020125710871070623, 0.010434835217893124, 0.0036163709592074156, 0.05319620296359062, 0.02188079245388508, -0.06449984759092331, -0.03248803690075874, 0.03125765174627304, 0.054165489971637726, 0.005566250067204237, -0.0037305348087102175, 0.0329529345035553, 0.06103202700614929, 0.04873640090227127, -0.022087717428803444, -0.001724082394503057, 0.021760666742920876, -0.021680479869246483, 0.0027953586541116238, 0.002724118297919631, -0.0011694475542753935, 0.0042173913680016994, -0.03767147287726402, -0.03688213601708412, 0.06357798725366592, 0.0009875018149614334, -0.0059903026558458805, -0.014404509216547012, -0.05503648519515991, 0.055765096098184586, 0.005402788054198027, -0.03422816842794418, -0.012157313525676727, 0.039008162915706635, -0.03298129886388779, 0.03857847675681114, -0.025494053959846497, 0.011800880543887615, 0.05332130938768387, 0.024072272703051567, -0.005677889101207256, 0.014398219995200634, -0.03112231008708477, 0.010206063278019428, 0.02360932156443596, -0.06903329491615295, -0.012602871283888817, -0.0548601895570755, 0.08089182525873184, -0.05067484825849533, 0.0627702996134758, 0.05884113162755966, 0.05320337787270546, 0.01915450394153595, -0.04588351398706436, -0.021858351305127144, -0.03412887454032898, -0.025695867836475372, 0.06919120997190475, -0.0001485300890635699, -0.03367917984724045, 0.06739672273397446, 0.0377277210354805, -0.05999738350510597, 0.0319119356572628, 0.027850260958075523, 0.03101639822125435, 0.009291526861488819, 0.026985179632902145, -0.027595538645982742, 0.01882583275437355, -0.02556012198328972, 0.024355843663215637, -0.038467589765787125, -0.02045280672609806, 0.001103349612094462, -0.04864433780312538, -0.009380826726555824, 0.01869669184088707, -0.016312269493937492, 0.005198372527956963, 0.015347993932664394, -0.0381787084043026, -0.08591176569461823, 0.006344994530081749, 0.02300383150577545, -0.013884474523365498, 0.0032162072602659464, -0.007715994492173195, 0.018235526978969574, 0.04306942969560623, 0.008789097890257835, -0.043412476778030396, 0.0057816230691969395, -0.010139252990484238, -0.07435344159603119, -0.054430026561021805, 0.09689591825008392, 0.009893096052110195, -0.007181868888437748, -0.015274902805685997, 0.014556476846337318, 0.007760863285511732, 0.014140475541353226, 0.001633717562071979, 0.010541887953877449, -0.08485344797372818, -0.015561849810183048, 0.03468332067131996, 0.021190470084547997, 0.018500642850995064, -0.022222919389605522, 0.03332926705479622, 0.07825729250907898, 0.040659356862306595, 0.014241610653698444, -0.03610396385192871, -0.02647523209452629, 0.0033931953366845846, -0.0383007638156414, 0.05273577570915222, 0.012997549958527088, -0.05178314819931984, -0.023830804973840714, -0.01695111021399498, -0.011229812167584896, 0.036643099039793015, -0.04049888253211975, 0.01843230053782463, 0.029173878952860832, 0.0028523821383714676, -0.04756039381027222, -0.09809648990631104, -0.06630631536245346, -0.027550561353564262, 0.01688181422650814, 0.038305412977933884, -0.04262605309486389, 0.021818015724420547, -0.024326998740434647, -0.003550507826730609, 0.05419481173157692, -0.0010475472081452608, -0.012961181811988354, 0.056279197335243225, 0.06219525262713432, -0.016875021159648895, 0.038110118359327316, 0.0195817518979311, -0.052260082215070724, 0.04291517660021782, 0.004910107236355543, 0.019886890426278114, 0.027084743604063988, 0.034107957035303116, -0.018402475863695145, -0.013431232422590256, -0.00011504904978210106, -0.03905993327498436, -0.008967642672359943, 0.0010573844192549586, 0.05367676913738251 ]
Bagus/wav2vec2-large-xlsr-bahasa-indonesia
[ "pytorch", "wav2vec2", "automatic-speech-recognition", "el", "dataset:common_voice_id_6.1", "transformers", "audio", "speech", "bahasa-indonesia", "license:apache-2.0" ]
automatic-speech-recognition
{ "architectures": [ "Wav2Vec2ForCTC" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
null
--- tags: - conversational --- # Pickle Rick DialoGPT Model
[ -0.02349718101322651, 0.026389243081212044, 0.00021321172243915498, 0.0260707288980484, 0.015211840160191059, 0.008878717198967934, 0.006452313158661127, 0.024105191230773926, -0.00957862101495266, 0.02464010939002037, 0.04186458885669708, -0.03256872668862343, 0.004634174983948469, 0.048839617520570755, -0.04190059006214142, -0.022911522537469864, -0.027219194918870926, 0.01938256062567234, -0.03745528310537338, -0.015626762062311172, 0.01863016188144684, 0.000910647155251354, -0.011043470352888107, 0.01707114838063717, 0.00516890361905098, 0.0178277138620615, -0.004527019336819649, 0.007707629818469286, 0.017617985606193542, -0.04174799844622612, 0.01690857484936714, -0.05086603760719299, -0.0012704746332019567, -0.019038554280996323, -0.03958606719970703, -0.04622131958603859, 0.03278801217675209, -0.008847564458847046, -0.004530123434960842, 0.03324642777442932, -0.02109316922724247, -0.004536808934062719, 0.008200563490390778, -0.026806553825736046, 0.06112473085522652, 0.00010178756201639771, -0.04354998841881752, -0.03337516263127327, 0.03412192687392235, -0.02826668694615364, -0.04213910922408104, -0.050222404301166534, -0.05696535110473633, -0.014158830046653748, 0.01648934930562973, -0.060591015964746475, -0.07448197901248932, -0.02961696870625019, 0.09566286951303482, -0.013850598596036434, -0.014712954871356487, -0.0063720750622451305, -0.07434369623661041, 0.012831514701247215, 0.018302887678146362, -0.0701596662402153, 0.004970116540789604, -0.0484948456287384, 0.013288251124322414, -0.031114017590880394, 0.06453665345907211, -0.03159644827246666, 0.011358403600752354, -0.08798059821128845, -0.021133307367563248, -0.004150107968598604, 0.042466484010219574, 0.05426616221666336, -0.04232709854841232, 0.03117235377430916, 0.04702800139784813, 0.011588802561163902, 0.06191088631749153, -0.01993359811604023, -0.025768747553229332, 0.041341621428728104, -0.0538700595498085, 0.008187655359506607, -0.0030936445109546185, 0.025944845750927925, -0.026926174759864807, -0.058642614632844925, -0.035178642719984055, -0.021097365766763687, -0.008448495529592037, 0.03953470662236214, 0.018069036304950714, -0.023659316822886467, 0.028360184282064438, 0.03922884166240692, 0.029743097722530365, 0.05315059423446655, -0.01689722016453743, 0.02214604988694191, -0.0022132766898721457, 0.03057718090713024, 0.025868616998195648, -0.008350702002644539, -0.05396756902337074, 0.0248261746019125, 0.014287902042269707, -0.054192718118429184, -0.022213341668248177, 0.02429717220366001, -0.0017520686378702521, 0.020484356209635735, 0.04653569310903549, -0.0331600047647953, -0.032827526330947876, -0.05686778575181961, 0.06144183501601219, -0.00946627464145422, -0.0026229440700262785, -0.011139532551169395, -0.060668013989925385, 0.0017552146455273032, -0.04491936042904854, -0.0073322877287864685, -0.02988661266863346, -0.001033038948662579, 0.014221841469407082, 0.037652820348739624, -0.018453942611813545, -0.04997926950454712, -0.004379822872579098, 0.059617556631565094, -0.07291405647993088, -0.002262821653857827, 0.04797305166721344, 0.10520374029874802, -0.08771727979183197, -0.038258153945207596, -0.0010680401464924216, 0.013637992553412914, -0.03300303965806961, -0.0019938903860747814, 0.004228707868605852, -0.01918363943696022, -0.032471004873514175, -0.008086999878287315, 0.02083808183670044, -0.06246472895145416, -0.0024694392923265696, 0.04186580330133438, 0.004553807899355888, 0.007127470802515745, -0.02990005351603031, -0.00250863004475832, -0.017847945913672447, -0.022055642679333687, -0.0633784607052803, 0.03754471242427826, -0.02405053749680519, -0.05980392545461655, -0.03658697381615639, -0.027480024844408035, 0.019172467291355133, 0.06299708783626556, 0.019611211493611336, -0.005440409295260906, -0.02719205990433693, 0.031405381858348846, 0.04510254040360451, 0.039542894810438156, -0.01679256744682789, 0.03263770788908005, 0.05663605034351349, 0.012379636988043785, -0.046520523726940155, 0.07306955009698868, 0.0014310358092188835, -0.02900649979710579, -0.05311773717403412, -0.01651027984917164, 0.022900326177477837, -0.025708243250846863, 0.01682055927813053, 0.03262938931584358, -0.016061386093497276, -0.04101448133587837, 0.001396146253682673, 0.04323510825634003, -0.008141016587615013, 0.008739770390093327, -0.014900313690304756, -0.025117455050349236, -0.027564216405153275, -0.002621972933411598, -0.0456891693174839, -0.021927939727902412, -0.02681724727153778, -0.014849638566374779, 0.042287345975637436, -0.027456508949398994, 0.009625191800296307, 0.04661504924297333, -0.01929669827222824, 0.06195755675435066, -0.03469981998205185, 0.01941519044339657, -0.03552380949258804, -0.011087203398346901, -0.042594972997903824, 0.04301542416214943, 0.026588940992951393, 0.05288411304354668, -0.04573183134198189, -0.054189532995224, 0.028225382789969444, 0.05860374495387077, 0.033486951142549515, 0.015772826969623566, -0.014168970286846161, 0.01217683870345354, 0.029488613829016685, 0.029903804883360863, -0.050528477877378464, 0.016370708122849464, 0.008169387467205524, 0.0236095879226923, -0.010729774832725525, -0.013146153651177883, -0.035491280257701874, 0.01071618776768446, -0.050221700221300125, -0.05760366842150688, 0.04951775446534157, 0.034173961728811264, -0.004875780548900366, 0.04897824674844742, 0.005805585533380508, -0.0021410901099443436, 0.03332856670022011, 0.0077925631776452065, 0.01158793643116951, -0.08676361292600632, 0.001992658944800496, 0.03404445946216583, 0.08714726567268372, -0.05032086744904518, 0.00954973604530096, 0.015112138353288174, 0.025444194674491882, 0.028497425839304924, -0.028187356889247894, 0.03990979492664337, 0.04428371787071228, 0.04876380041241646, 0.003589619416743517, 0.041549619287252426, 0.004361135419458151, 0.026264281943440437, 0.06655269861221313, -0.01170410681515932, 0.0810011476278305, -0.010930057615041733, 0.01944071054458618, 0.05356062948703766, 0.02020195871591568, -0.026985961943864822, 0.012862300500273705, 0.06660939007997513, -0.0015687181148678064, 0.017473656684160233, 0.030044356361031532, -0.00887229572981596, -0.007920379750430584, -0.03969742730259895, -0.015115953981876373, 0.007198150735348463, -0.03653010353446007, 0.051339905709028244, 0.012938502244651318, -0.008543889038264751, 0.00042650377145037055, 0.0007354271947406232, -0.013576474040746689, 0.05369916930794716, 0.001661645364947617, -0.03278713673353195, 0.0025074409786611795, -0.02694186568260193, 0.024687260389328003, -0.04556003212928772, -0.05278211459517479, -0.028439173474907875, -0.04361643269658089, -0.007183009292930365, -0.09674379974603653, -0.04812920093536377, -0.09707336872816086, -0.020515557378530502, 0.03170478716492653, 0.029009783640503883, 0.009213695302605629, 0.008233350701630116, 0.0013903887011110783, -0.019827621057629585, -0.055102474987506866, -0.062241338193416595, -0.013597475364804268, -0.027335071936249733, -0.037053849548101425, 0.03429371118545532, 0.031246641650795937, 0.029962563887238503, -0.0019789780490100384, -0.01041453704237938, -0.054548267275094986, -0.02133016847074032, 0.028621859848499298, 0.017517346888780594, -0.04647894948720932, -0.04174023121595383, 0.017527591437101364, 0.0025381208397448063, -0.007872509770095348, -0.014877689070999622, -0.046315040439367294, 0.06097434461116791, 0.04668401554226875, 0.00380836334079504, 0.011302845552563667, 0.003975421190261841, -0.03163008764386177, -0.03502720594406128, -0.05794629454612732, -0.029635298997163773, -0.009839334525167942, -0.03253939375281334, -0.04897989705204964, -0.03680775687098503, -0.0510907880961895, -0.01446122583001852, -0.008852032013237476, 0.007103137206286192, 0.024685699492692947, 0.03337811306118965, 0.032416097819805145, 0.023112960159778595, -0.00933963991701603, -0.01947951130568981, 0.04204482212662697, -0.024812959134578705, -0.00003969552562921308, -0.06962333619594574, -0.045276250690221786, 0.024092523381114006, 0.02977646328508854, 0.0016234625363722444, -0.028957903385162354, 0.02958131954073906, 0.039983946830034256, 0.0014827885897830129, 0.029273666441440582, -0.05642222613096237, -0.0018293284811079502, -0.03502611815929413, -0.02776212990283966, -0.04258552938699722, -0.03902556374669075, -0.003307653358206153, -0.01281242910772562, 0.03165057674050331, -0.08480136841535568, -0.034490060061216354, -0.016601551324129105, 0.011954287998378277, 0.049881212413311005, -0.006486359518021345, -0.051355425268411636, 0.001096887979656458, -0.03720932453870773, -0.006678862031549215, 0.0005820814985781908, -0.01979360543191433, -0.008680260740220547, 0.03080110438168049, -0.006134879309684038, -0.021244073286652565, 0.05242643132805824, 0.013291491195559502, 0.052374791353940964, 0.05073162168264389, -0.04195915535092354, 0.025161365047097206, -0.017452562227845192, 0.029937561601400375, -0.0200334545224905, -0.020405683666467667, -0.03600768372416496, -0.09758293628692627, -0.05062567815184593, 0.032544177025556564, -0.012950400821864605, 0.024461962282657623, 0.02775583043694496, -0.0502295158803463, -0.0008570636273361742, 0.011263110674917698, 0.03900095075368881, 0.04010885953903198, -0.044605471193790436, 0.06068350747227669, -0.004371442832052708, 0.03226285055279732, -0.0538177527487278, -0.013937918469309807, -0.06351632624864578, -0.02908521518111229, -0.002688181586563587, 0.05195993930101395, 0.0009881618898361921, 0.056093379855155945, 0.076280876994133, 0.03773052990436554, -0.0504474937915802, 0.04758061468601227, 0.06663481891155243, -0.030766338109970093, -0.027896763756871223, 0.005701393820345402, 0.011619909666478634, -0.012437228113412857, -0.009714036248624325, -0.03438786417245865, 0.0325305238366127, 0.03443637490272522, -0.009305709041655064, 0.011675653047859669, 0.0069297789596021175, -0.0237676240503788, -0.025318242609500885, -0.08241325616836548, -0.02240218035876751, 0.00798072386533022, -0.023965395987033844, 0.051058754324913025, 0.05177440866827965, 0.012212292291224003, 0.06420391798019409, 0.015090186148881912, -0.016249071806669235, -0.041253332048654556, 0.028261037543416023, 0.02117994986474514, -0.05186942219734192, -0.054381512105464935, -0.05142341926693916, 0.023592635989189148, 0.04504536837339401, -0.01932174526154995, -0.08267413079738617, 0.023882245644927025, 0.05203884467482567, -0.021578190848231316, 0.05369144305586815, 0.005181515123695135, 0.06002482771873474, 0.0429253876209259, 0.0051831817254424095, 0.04529464989900589, -0.05665317177772522, 0.02552383579313755, -0.014292579144239426, 0.014569620601832867, -0.054830167442560196, -0.03931597247719765, -0.03833760321140289, 0.05166598781943321, 0.033081166446208954, 0.015440437942743301, 0.02210933156311512, -0.047195203602313995, -0.0631575956940651, -0.01010019052773714, 0.0294245146214962, -0.01851610094308853, 0.02358773536980152, 0.038281820714473724, 0.05959636718034744, -0.06971701979637146, 0.008087039925158024, 0.0024025726597756147, 0.007627080660313368, 0.019758913666009903, -0.011057370342314243, -0.04732368141412735, -0.0018018364207819104, 0.01902555301785469, -0.028997166082262993, -0.03026173822581768, -0.0904826745390892, 0.032118361443281174, -0.026482021436095238, -0.02019488997757435, 0.06661506742238998, 0.06804847717285156, 0.06377612054347992, 0.05677664279937744, -0.010887280106544495, 0.029196860268712044, -0.03289018198847771, 0.02826697751879692, -0.03448748588562012, -0.035713035613298416, 0.005900499876588583, -0.06388245522975922, -0.038524527102708817, -0.04230986908078194, -0.04452771320939064, -0.030068758875131607, 0.009966843761503696, 0.00033313853782601655, -0.0013388468651100993, -0.016171922907233238, 0.022342437878251076, 0.007658382877707481, -0.018596256151795387, -0.025699621066451073, -0.0032588127069175243, -0.02904558554291725, -0.06668651849031448, -0.0615399032831192, 0.018400641158223152, -0.016202883794903755, 0.01809409074485302, -0.0028175991028547287, 0.01940944604575634, 0.03660045191645622, -0.01729343645274639, -0.04027606174349785, 0.025858942419290543, 0.037743184715509415, -0.023974480107426643, -0.013522781431674957, 0.01162693090736866, 0.01867559924721718, 0.04287439584732056, -0.030662478879094124, 0.04318753257393837, -0.0047778901644051075, -0.058468371629714966, -0.03596707805991173, 0.020515726879239082, 0.004304936621338129, -0.06135472282767296, -0.013004766777157784, -0.03920024633407593, -0.0308297798037529, 0.004253108985722065, -0.06625579297542572, -0.0314018689095974, -0.005504520609974861, 0.040060389786958694, 0.03307610750198364, 0.0009414445958100259, -0.007022592704743147, 0.002408047905191779, -0.021641451865434647, 0.022853218019008636, -0.08392075449228287, 0.032688964158296585, -0.034595951437950134, 0.018383150920271873, -0.018411748111248016, 0.026922263205051422, -0.03980569913983345, 0.04404449462890625, -0.017327889800071716, -0.011688879691064358, -0.014311091043055058, -0.015898937359452248, -0.0072423117235302925, 0.045682501047849655, 0.01815282367169857, 0.01374327763915062, -0.03127814829349518, 0.0703173577785492, -0.04943297803401947, 0.010938401333987713, -0.029617512598633766, -0.021302765235304832, -0.031089527532458305, -0.01647040620446205, 0.01776392199099064, -0.0716281607747078, 0.018459249287843704, 0.0326528400182724, 0.042008206248283386, 0.044659942388534546, 0.015567309223115444, 0.003625642741099, 0.03339018300175667, -0.06479720026254654, -0.04338053613901138, -0.005030830856412649, -0.00278849876485765, 0.02565404213964939, 0.05099562183022499, 0.03890861198306084, -0.04842103645205498, -0.024741074070334435, 0.02355501800775528, 0.01282759103924036, 0.01069066021591425, 0.0024123769253492355, 0.040629468858242035, 0.05139123275876045, 0.04380311071872711, -0.010396907106041908, 0.0027951470110565424, 0.03169650211930275, -0.027779683470726013, -0.016542376950383186, -0.009031811729073524, 0.02822614647448063, 0.000259720953181386, -0.023890310898423195, -0.033260151743888855, 0.07193206250667572, -0.009800341911613941, 0.010957520455121994, -0.012256954796612263, -0.04747427627444267, 0.07398441433906555, -0.009993976913392544, -0.025630349293351173, -0.011512243188917637, 0.034989628940820694, -0.015218236483633518, 0.04934960603713989, -0.0301207322627306, 0.01321153249591589, 0.059681691229343414, 0.02471577562391758, 0.00856933556497097, 0.0007998508517630398, -0.005683529190719128, -0.003334523644298315, 0.025084812194108963, -0.05800801143050194, -0.01834794133901596, -0.045132193714380264, 0.07223890721797943, -0.04786616936326027, 0.04833509027957916, 0.02931513823568821, 0.03665139898657799, 0.017503447830677032, -0.04965200275182724, -0.06318487226963043, -0.008518313989043236, -0.04071533679962158, 0.057627782225608826, -0.012987873516976833, -0.04282379895448685, 0.05345086753368378, 0.012421637773513794, -0.08397360146045685, 0.04238734766840935, 0.03095986507833004, 0.03987973555922508, 0.03811442479491234, 0.045610055327415466, -0.051359377801418304, 0.016588063910603523, -0.03351476043462753, 0.010083381086587906, -0.03580395504832268, -0.007044323720037937, -0.02401871420443058, -0.056330468505620956, 0.011146415956318378, 0.039621010422706604, -0.014886420220136642, -0.0021761206444352865, -0.0028111508581787348, -0.02955034002661705, -0.06871585547924042, -0.005978899076581001, 0.025483805686235428, -0.015813633799552917, -0.01620427705347538, -0.04299774020910263, 0.013170454651117325, 0.03929699957370758, -0.005896084476262331, -0.04893368482589722, 0.01145177986472845, -0.022553127259016037, -0.07916431874036789, -0.06332366913557053, 0.065804623067379, -0.008435250259935856, -0.0014106491580605507, -0.00031265895813703537, 0.019993407651782036, 0.0027282293885946274, 0.027954934164881706, -0.014949512667953968, -0.0009307360160164535, -0.08465535938739777, 0.005480968859046698, 0.02526557631790638, 0.0184573233127594, 0.002918430371209979, 0.007046541199088097, 0.023494642227888107, 0.07994589954614639, 0.04255532845854759, -0.0074786050245165825, -0.0545387901365757, -0.01670527458190918, -0.014832612127065659, -0.03858039155602455, 0.034200090914964676, 0.009252958931028843, -0.04962543770670891, -0.026332786306738853, 0.0037769644986838102, 0.0014833029126748443, 0.047857657074928284, -0.039745353162288666, 0.027736520394682884, 0.02057078666985035, -0.006062397267669439, -0.0493055135011673, -0.09780275076627731, -0.04756953567266464, -0.01619221828877926, 0.023561380803585052, 0.04735378548502922, -0.038079556077718735, 0.006069571245461702, -0.04096221178770065, -0.0031422965694218874, 0.04838365316390991, -0.0006675769691355526, -0.010811395943164825, 0.07012146711349487, 0.07509317249059677, -0.036354511976242065, 0.05803563818335533, 0.020367316901683807, -0.02930901013314724, 0.04297737032175064, 0.004553933162242174, 0.018204065039753914, 0.018689021468162537, 0.015770122408866882, -0.021265368908643723, 0.009745482355356216, -0.021593211218714714, -0.03221897780895233, -0.011564947664737701, 0.002389277331531048, 0.03926254063844681 ]
Bagus/wav2vec2-xlsr-greek-speech-emotion-recognition
[ "pytorch", "tensorboard", "wav2vec2", "el", "dataset:aesdd", "transformers", "audio", "audio-classification", "speech", "license:apache-2.0" ]
audio-classification
{ "architectures": [ "Wav2Vec2ForSpeechClassification" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
21
null
--- tags: - conversational --- # Rick DialoGPT Model
[ -0.02824002131819725, 0.03441832587122917, 0.0055216168984770775, 0.017995420843362808, 0.01665281318128109, 0.01440394390374422, -0.0016683635767549276, 0.021294118836522102, -0.007377015892416239, 0.01654398813843727, 0.04126352071762085, -0.030583929270505905, 0.01487811654806137, 0.04072947055101395, -0.04230947047472, -0.027312207967042923, -0.01996803656220436, 0.01371089369058609, -0.029478522017598152, -0.016732247546315193, 0.028515471145510674, 0.0038806935772299767, -0.017997149378061295, 0.021104222163558006, 0.004048783332109451, 0.01853809505701065, -0.002064577303826809, 0.007193996571004391, 0.018836701288819313, -0.03378777951002121, 0.019005918875336647, -0.05244094878435135, -0.0049698976799845695, -0.022245032712817192, -0.03724038228392601, -0.04621994495391846, 0.034851767122745514, -0.01722244918346405, -0.00991060584783554, 0.03415202721953392, -0.02047182433307171, -0.005382598843425512, 0.00969785451889038, -0.036559056490659714, 0.0718517079949379, -0.013596559874713421, -0.050528090447187424, -0.03087352029979229, 0.024666255339980125, -0.036294255405664444, -0.03820589557290077, -0.05433216318488121, -0.05925401672720909, -0.016395023092627525, 0.01872975565493107, -0.06508799642324448, -0.06908031553030014, -0.024424320086836815, 0.10180781781673431, -0.008509629406034946, -0.0024493890814483166, -0.00662075262516737, -0.07516323029994965, 0.013587327674031258, 0.029005123302340508, -0.07699808478355408, 0.012930815108120441, -0.0466902069747448, 0.024393554776906967, -0.028229231014847755, 0.051307059824466705, -0.042261023074388504, 0.013920866884291172, -0.08696754276752472, -0.024991042912006378, -0.004910407587885857, 0.04542252793908119, 0.06504885107278824, -0.04439049959182739, 0.03117557056248188, 0.045356880873441696, 0.004451639484614134, 0.05957397446036339, -0.016420414671301842, -0.03125951811671257, 0.04910123348236084, -0.04544579237699509, 0.010374931618571281, -0.0003687382850330323, 0.0289227906614542, -0.016249382868409157, -0.05962187796831131, -0.026371745392680168, -0.009467597119510174, 0.0006596052553504705, 0.04265487939119339, 0.024532342329621315, -0.02997373417019844, 0.017644163221120834, 0.03651885688304901, 0.034139484167099, 0.04736551269888878, -0.02353854663670063, 0.01894456334412098, -0.0004924120148643851, 0.03476932272315025, 0.030815133824944496, -0.01662932150065899, -0.05179012194275856, 0.023907793685793877, 0.02214548923075199, -0.05230285972356796, -0.021945131942629814, 0.03369669243693352, -0.0027455915696918964, 0.011663425713777542, 0.05568155273795128, -0.04010141268372536, -0.04091687873005867, -0.05885954201221466, 0.05158676579594612, -0.008404023945331573, -0.00663048354908824, -0.0013841420877724886, -0.055701032280921936, -0.005366673693060875, -0.046267069876194, -0.006498932372778654, -0.017725253477692604, -0.0050224061124026775, 0.018545376136898994, 0.02763574942946434, -0.021573562175035477, -0.0559283010661602, -0.0021145723294466734, 0.051570162177085876, -0.07028339058160782, 0.0015780901303514838, 0.04884813725948334, 0.08990810066461563, -0.08148384839296341, -0.045096591114997864, -0.0033908234909176826, 0.019827524200081825, -0.028056100010871887, -0.009677021764218807, 0.0057770973071455956, -0.01242466364055872, -0.03302329033613205, -0.007623871322721243, 0.029785821214318275, -0.048963505774736404, 0.0003496505378279835, 0.055581092834472656, 0.012109041213989258, 0.012075976468622684, -0.018681734800338745, 0.0021887642797082663, -0.012138238176703453, -0.025946011766791344, -0.0608968548476696, 0.04415448009967804, -0.0304725244641304, -0.05432284250855446, -0.037137698382139206, -0.029250111430883408, 0.01967855542898178, 0.0667734295129776, 0.022131629288196564, -0.009491628035902977, -0.022288577631115913, 0.03124556690454483, 0.0546916238963604, 0.04068152233958244, -0.012462418526411057, 0.023067548871040344, 0.05338733270764351, 0.011248718947172165, -0.048549000173807144, 0.07581962645053864, 0.011736896820366383, -0.029467416927218437, -0.05095081403851509, -0.011731618084013462, 0.028083747252821922, -0.029681498184800148, 0.01679902896285057, 0.04282562434673309, -0.018793337047100067, -0.02832566760480404, 0.0002073315263260156, 0.044273197650909424, -0.010901646688580513, 0.0016810637898743153, -0.019388945773243904, -0.027595650404691696, -0.02787083387374878, 0.009700670838356018, -0.035986024886369705, -0.006363199558109045, -0.03041844628751278, -0.00977544765919447, 0.042050354182720184, -0.016849318519234657, 0.01114005409181118, 0.05312717705965042, -0.02232518419623375, 0.05635150149464607, -0.031867366284132004, 0.02269841358065605, -0.03804696351289749, -0.015426227822899818, -0.039390455931425095, 0.04123980551958084, 0.01936984807252884, 0.05092606320977211, -0.04830744490027428, -0.05284859240055084, 0.030064815655350685, 0.060667913407087326, 0.03584262728691101, 0.029231669381260872, -0.018028942868113518, 0.0032905449625104666, 0.03827885538339615, 0.021913275122642517, -0.03648333251476288, 0.023452792316675186, 0.00874465424567461, 0.020903807133436203, -0.018268289044499397, -0.020284371450543404, -0.04585108533501625, 0.016892317682504654, -0.050336629152297974, -0.05848284438252449, 0.05039094761013985, 0.037293486297130585, -0.01171895395964384, 0.05428085848689079, 0.0016620460664853454, -0.007608252111822367, 0.0375002883374691, 0.007663816213607788, 0.016005100682377815, -0.0854162648320198, 0.014036720618605614, 0.03764240816235542, 0.09146049618721008, -0.044581566005945206, 0.009197833016514778, 0.020387524738907814, 0.02818586863577366, 0.01827606000006199, -0.018044129014015198, 0.04085817188024521, 0.0503169409930706, 0.0516737699508667, -0.015096626244485378, 0.0325985811650753, 0.00002092968497890979, 0.018177954480051994, 0.05674894526600838, -0.018451638519763947, 0.06762008368968964, -0.019191168248653412, 0.014216110110282898, 0.04949258267879486, 0.015070025809109211, -0.028440888971090317, 0.017141995951533318, 0.0686621367931366, 0.0021733443718403578, 0.023096175864338875, 0.03585994988679886, -0.0025126843247562647, -0.003553359769284725, -0.04030260071158409, -0.010271287523210049, 0.003056309185922146, -0.031104546040296555, 0.05621056631207466, 0.010214176960289478, -0.010026099160313606, 0.0049779340624809265, -0.006688346154987812, -0.006369665265083313, 0.05189172551035881, -0.000435293564805761, -0.023435523733496666, -0.0025075720623135567, -0.016351280733942986, 0.01839405484497547, -0.03996342048048973, -0.036580391228199005, -0.0195899847894907, -0.058144789189100266, -0.006979431491345167, -0.0889706090092659, -0.04922255501151085, -0.07647588849067688, -0.020431896671652794, 0.039946623146533966, 0.019456299021840096, 0.01715567149221897, 0.01778983324766159, -0.0009530370007269084, -0.011905421502888203, -0.0659133642911911, -0.04871875047683716, -0.019849026575684547, -0.014936384744942188, -0.042047251015901566, 0.029723023995757103, 0.0330069474875927, 0.03116844967007637, 0.0013918192125856876, -0.019037099555134773, -0.04214728623628616, -0.02265283465385437, 0.03701745718717575, 0.021619603037834167, -0.05415046587586403, -0.046815019100904465, 0.008492546156048775, -0.0006151715642772615, -0.010878712870180607, -0.017664628103375435, -0.045519620180130005, 0.06806077808141708, 0.045106370002031326, 0.0030851871706545353, 0.014630910940468311, -0.005786987487226725, -0.03123791329562664, -0.025708461180329323, -0.06257155537605286, -0.03187115490436554, -0.016418617218732834, -0.026995854452252388, -0.04902796447277069, -0.027053462341427803, -0.03857437148690224, -0.004084108863025904, -0.004326109774410725, 0.000044659107516054064, 0.035256754606962204, 0.014981843531131744, 0.03065796196460724, 0.017532547935843468, -0.017639202997088432, -0.027844494208693504, 0.03659524768590927, -0.020459009334445, -0.011239785701036453, -0.0662972703576088, -0.04586862027645111, 0.036315008997917175, 0.015616915188729763, 0.0010906364768743515, -0.02731597051024437, 0.027234582230448723, 0.04146861657500267, 0.0045331791043281555, 0.026163587346673012, -0.06272447854280472, 0.0030354405753314495, -0.04214204475283623, -0.029222477227449417, -0.05055094137787819, -0.030682839453220367, -0.009615043178200722, -0.009170090779662132, 0.03378121927380562, -0.08421145379543304, -0.03144228085875511, -0.02714088000357151, 0.009382450021803379, 0.052999161183834076, -0.0029647480696439743, -0.044628966599702835, -0.008658776059746742, -0.035354580730199814, -0.01416853815317154, -0.0008453789632767439, -0.02095944434404373, -0.008265518583357334, 0.027317574247717857, 0.007366239093244076, -0.01878497377038002, 0.049007169902324677, 0.012425330467522144, 0.06952835619449615, 0.05265279486775398, -0.03423324227333069, 0.03698352351784706, -0.03501981496810913, 0.02994423918426037, -0.02174612507224083, -0.026639629155397415, -0.03335363790392876, -0.10886319726705551, -0.05196712166070938, 0.03389991074800491, -0.017197251319885254, 0.014190993271768093, 0.026510413736104965, -0.052369944751262665, 0.007895488291978836, 0.013937065377831459, 0.043380703777074814, 0.03752109035849571, -0.033059101551771164, 0.060212742537260056, 0.00859034527093172, 0.03035433404147625, -0.05861182510852814, -0.010688700713217258, -0.0641934797167778, -0.017360877245664597, -0.004067502915859222, 0.05335426330566406, 0.00032971551991067827, 0.05959135293960571, 0.07656629383563995, 0.03228443115949631, -0.045953404158353806, 0.04156271740794182, 0.0734185129404068, -0.03232056275010109, -0.026394223794341087, -0.004673621617257595, 0.005773293785750866, -0.020095225423574448, -0.01149524562060833, -0.033870309591293335, 0.04449566826224327, 0.028945742174983025, -0.010402431711554527, 0.013231507502496243, 0.004688977729529142, -0.033056117594242096, -0.02936157025396824, -0.0724266767501831, -0.015544833615422249, -0.007828870788216591, -0.02066786400973797, 0.04928145930171013, 0.04628188908100128, 0.012221884913742542, 0.05784474313259125, 0.0182433370500803, -0.01789143495261669, -0.05119168013334274, 0.02977479062974453, 0.01676919497549534, -0.04660036787390709, -0.04201829433441162, -0.04261394962668419, 0.022584879770874977, 0.04547206684947014, -0.03344574198126793, -0.08393985778093338, 0.021663108840584755, 0.052801650017499924, -0.03985941782593727, 0.05319174379110336, 0.002440462354570627, 0.05992453917860985, 0.027840863913297653, 0.004014147911220789, 0.052584804594516754, -0.07051168382167816, 0.027129122987389565, -0.017981601879000664, 0.012189424596726894, -0.055870842188596725, -0.04536060988903046, -0.049714960157871246, 0.037498798221349716, 0.023563170805573463, 0.012798517011106014, 0.01765068806707859, -0.0445665642619133, -0.047603171318769455, 0.0031099305488169193, 0.04071764647960663, -0.014418781735002995, 0.029208127409219742, 0.03325411677360535, 0.0500984750688076, -0.05903508886694908, 0.01093913521617651, 0.00999080203473568, 0.01577679254114628, 0.0247164499014616, -0.016573438420891762, -0.0444660522043705, -0.0017456109635531902, 0.024922706186771393, -0.04396279901266098, -0.030072052031755447, -0.08571796119213104, 0.01796872541308403, -0.024070587009191513, -0.03023247979581356, 0.07728633284568787, 0.06216853857040405, 0.06011795997619629, 0.06853161752223969, -0.007069331128150225, 0.04933729022741318, -0.032332051545381546, 0.017879370599985123, -0.03391468524932861, -0.030222143977880478, -0.0005811851006001234, -0.061459265649318695, -0.037484947592020035, -0.04047286882996559, -0.0448436476290226, -0.031177299097180367, 0.016169320791959763, 0.010856675915420055, -0.0018073817482218146, -0.012223354540765285, 0.014270948246121407, 0.008506926707923412, -0.011154459789395332, -0.029535554349422455, -0.004569077864289284, -0.017825087532401085, -0.06549467891454697, -0.05742358788847923, 0.028475383296608925, -0.021157177165150642, 0.010317630134522915, 0.008969543501734734, 0.02131851390004158, 0.04297618567943573, -0.014801842160522938, -0.03148321062326431, 0.025679511949419975, 0.034213557839393616, -0.027350634336471558, -0.021857324987649918, 0.00879849586635828, 0.018735092133283615, 0.02691393531858921, -0.032519496977329254, 0.04912537708878517, 0.0020458665676414967, -0.0578681156039238, -0.02439848706126213, 0.0310469139367342, 0.003947936464101076, -0.06626883894205093, -0.019776884466409683, -0.04506981000304222, -0.03670677915215492, 0.008003367111086845, -0.0644289180636406, -0.016328295692801476, -0.010532651096582413, 0.05031805485486984, 0.03385039418935776, -0.00024191416741814464, -0.01714768260717392, 0.0014046793803572655, -0.015449291095137596, 0.01220015250146389, -0.07277161628007889, 0.02473260834813118, -0.0339595228433609, 0.022830553352832794, -0.021812714636325836, 0.020895186811685562, -0.03961124271154404, 0.04804425686597824, -0.026237724348902702, -0.008994552306830883, -0.007741586305201054, -0.02286965772509575, -0.0008327527320943773, 0.05234759673476219, 0.014906621538102627, 0.013605949468910694, -0.0396546870470047, 0.0760626420378685, -0.04152004420757294, 0.009298845194280148, -0.01587039977312088, -0.02877204120159149, -0.021753523498773575, 0.00005581581353908405, 0.009577011689543724, -0.062451306730508804, 0.026702051982283592, 0.038699544966220856, 0.03922126069664955, 0.042378026992082596, 0.003270667279139161, 0.0028555344324558973, 0.025449151173233986, -0.06197929009795189, -0.041753966361284256, -0.0005180597072467208, -0.00772019661962986, 0.03139806166291237, 0.04587170109152794, 0.03373785689473152, -0.050550349056720734, -0.021681686863303185, 0.02250506356358528, 0.011241208761930466, 0.013326079584658146, 0.0026924340054392815, 0.04409161955118179, 0.054926831275224686, 0.05292155221104622, -0.009216987527906895, 0.009822910651564598, 0.03433489054441452, -0.016688698902726173, -0.01630536839365959, 0.00023118837270885706, 0.014009404927492142, 0.01332150399684906, -0.024916719645261765, -0.03751106560230255, 0.07421234250068665, -0.02207883447408676, -0.00040851306403055787, -0.018192600458860397, -0.04679495841264725, 0.07435886561870575, -0.011486037634313107, -0.03282743692398071, -0.00844713393598795, 0.03731066361069679, -0.011303164064884186, 0.03793012350797653, -0.019453614950180054, 0.010658467188477516, 0.06192493066191673, 0.02706497721374035, 0.004793169442564249, 0.0017118797404691577, -0.0053895157761871815, -0.00667190458625555, 0.021046508103609085, -0.046506769955158234, -0.021143009886145592, -0.046958912163972855, 0.07583492249250412, -0.039899881929159164, 0.04971209168434143, 0.023963039740920067, 0.04295351356267929, 0.024067329242825508, -0.047535382211208344, -0.04966973140835762, -0.0225776806473732, -0.03865351155400276, 0.057241249829530716, -0.015551825053989887, -0.03803500905632973, 0.06016092002391815, 0.02292078547179699, -0.09166920185089111, 0.04267919808626175, 0.042265694588422775, 0.03878964111208916, 0.03419220820069313, 0.04632789269089699, -0.056013207882642746, 0.026577850803732872, -0.027993757277727127, 0.010965760797262192, -0.03160190209746361, -0.0011338733602315187, -0.02627447620034218, -0.04514530301094055, 0.006349038332700729, 0.03500896319746971, -0.020575284957885742, 0.0036553218960762024, 0.004707143642008305, -0.016909195110201836, -0.06295324116945267, 0.0006182751385495067, 0.02664603665471077, -0.005558172706514597, -0.022104816511273384, -0.03956187888979912, 0.019020698964595795, 0.04150428995490074, -0.003123374655842781, -0.04677675664424896, 0.012631943449378014, -0.021272337064146996, -0.08041145652532578, -0.06071007251739502, 0.0655897781252861, 0.007980802096426487, -0.0008724699728190899, 0.007953634485602379, 0.03552739694714546, 0.012180287390947342, 0.03149716556072235, -0.01514021772891283, -0.0017074013594537973, -0.08809633553028107, 0.00397252244874835, 0.027138927951455116, 0.017558539286255836, -0.007015774492174387, 0.00026357421302236617, 0.029262155294418335, 0.08990918844938278, 0.03923013061285019, -0.003697747364640236, -0.05980631709098816, -0.022067643702030182, -0.003969556652009487, -0.03129173442721367, 0.04354292154312134, 0.013045074418187141, -0.06507470458745956, -0.017948243767023087, -0.020334888249635696, 0.002666760003194213, 0.04330982267856598, -0.034193526953458786, 0.03162398561835289, 0.015394275076687336, -0.00025417920551262796, -0.04586842656135559, -0.10053546726703644, -0.05324995517730713, -0.008347651921212673, 0.022532863542437553, 0.03482407331466675, -0.04523804411292076, 0.012475887313485146, -0.03335104137659073, 0.0013443302595987916, 0.05348806828260422, -0.01751389354467392, -0.012400929816067219, 0.07944844663143158, 0.07435359060764313, -0.0326906256377697, 0.05879659950733185, 0.02939775586128235, -0.029018525034189224, 0.0534236840903759, 0.002612656680867076, 0.009364059194922447, 0.011069219559431076, 0.011403562501072884, -0.01777699589729309, -0.004268295597285032, -0.007923213765025139, -0.03024459257721901, -0.00586366793140769, -0.0010194715578109026, 0.04498954862356186 ]
Bagus/wav2vec2-xlsr-japanese-speech-emotion-recognition
[ "pytorch", "wav2vec2", "audio-classification", "ja", "dataset:jtes", "transformers", "audio", "speech", "speech-emotion-recognition", "has_space" ]
audio-classification
{ "architectures": [ "HubertForSequenceClassification" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
26
null
Found. Redirecting to https://cdn-lfs.huggingface.co/darubramha/hi-LyricsGPT2/c01a4cfa25cb895cdd0bb25181ba9c1622e93895a6de6f533a7299f70d6b0cfb?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27README.md%3B+filename%3D%22README.md%22%3B&response-content-type=text%2Fmarkdown&Expires=1685105726&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL2RhcnVicmFtaGEvaGktTHlyaWNzR1BUMi9jMDFhNGNmYTI1Y2I4OTVjZGQwYmIyNTE4MWJhOWMxNjIyZTkzODk1YTZkZTZmNTMzYTcyOTlmNzBkNmIwY2ZiP3Jlc3BvbnNlLWNvbnRlbnQtZGlzcG9zaXRpb249KiZyZXNwb25zZS1jb250ZW50LXR5cGU9KiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY4NTEwNTcyNn19fV19&Signature=zeg6drBy4gfHXp8rZzeP76EZKE66UN4LivpiikKa1S8clIhtax88QTHuMy5FaXEzJwurJN8HKXIdsF5Lou2L22PabQbup0isoWMSOg9zr856SXu%7EbRuc%7EKruo-JiSPEP98x496GEW0RMoZoFFeZw-W%7EyxlANmK3Vv8MhEAHpqx04W0oHjHXy5piyY5-epQFh7G-w6rypR2oxeloy6EqEzp%7EXYyrrienrc-i4VUun4Lj-Jc2c1-yampLxSEZ9e93yF7tvyvMer3HzSepRexhKanhOA5BPBtfiP4DoTUfwzTyMQcgPw21JFZHZgQDP4f5GK7fF-cnIBpTtBDtD6iwhJg__&Key-Pair-Id=KVTP0A1DKRTAX
[ -0.017492637038230896, -0.04329933226108551, -0.025129098445177078, 0.044863563030958176, 0.019319497048854828, 0.02716231159865856, 0.004923569038510323, -0.030269557610154152, -0.03485789895057678, 0.03627395257353783, 0.03471866250038147, -0.0075445882976055145, 0.05420806258916855, 0.059743355959653854, -0.020761791616678238, -0.01880900003015995, -0.034981243312358856, -0.006554076448082924, -0.06069783866405487, 0.011522605083882809, 0.01705561950802803, 0.03397364914417267, 0.0021868387702852488, 0.025599295273423195, 0.009524833410978317, 0.04110947623848915, -0.01786665990948677, 0.0014933932106941938, 0.02264372445642948, -0.03752017393708229, 0.010764066129922867, -0.02233806811273098, -0.012020883150398731, -0.05556263029575348, -0.040734950453042984, 0.011639736592769623, 0.0366496704518795, 0.010798649862408638, -0.00461255619302392, 0.04025208577513695, 0.021253807470202446, 0.021740812808275223, -0.008421935141086578, -0.03035527467727661, 0.010367830283939838, -0.025676283985376358, -0.05274970829486847, -0.009849456138908863, 0.020460477098822594, -0.04102715849876404, -0.037804678082466125, -0.08224936574697495, -0.05672677978873253, -0.0017585466848686337, -0.020169707015156746, -0.020518379285931587, -0.038625817745923996, -0.008809935301542282, 0.05225434899330139, -0.09514543414115906, 0.0002279620384797454, 0.021718671545386314, -0.11677871644496918, 0.006275821942836046, 0.02282695658504963, -0.058307524770498276, 0.008481538854539394, -0.06974021345376968, 0.024773137643933296, -0.032317038625478745, 0.05241262912750244, -0.04145988076925278, 0.0316498763859272, -0.06517404317855835, 0.010464481078088284, 0.0009731358150020242, 0.011148190125823021, 0.0538235604763031, -0.03499079495668411, 0.04498729854822159, 0.048608772456645966, -0.011793888173997402, 0.04545295238494873, -0.01526146661490202, -0.006704892031848431, 0.034243393689394, -0.04961543157696724, 0.02683344855904579, 0.009353412315249443, 0.04047708213329315, -0.03704991191625595, -0.05158467963337898, 0.014128302223980427, -0.037180107086896896, -0.022977644577622414, 0.015508855693042278, 0.03260905668139458, -0.006944200489670038, 0.016959700733423233, 0.02483503147959709, 0.0066960277035832405, 0.07324545830488205, -0.004217546433210373, 0.07547764480113983, -0.004731191322207451, 0.002009316347539425, 0.025224044919013977, -0.030390389263629913, -0.036580681800842285, -0.018090657889842987, 0.038308944553136826, -0.021983377635478973, -0.0230355653911829, 0.036852218210697174, 0.006736887618899345, -0.019327566027641296, 0.01088713575154543, -0.056482598185539246, -0.06608162075281143, -0.05766069144010544, 0.02700754441320896, 0.04856530576944351, -0.019093291833996773, 0.009053938090801239, -0.04547722637653351, -0.024083750322461128, -0.05197519809007645, -0.025267601013183594, -0.01670382358133793, 0.030742691829800606, -0.018198709934949875, 0.004262677393853664, 0.044915106147527695, -0.07163400948047638, 0.0016895427834242582, -0.000803839007858187, -0.03720775246620178, -0.0038123014383018017, 0.010253043845295906, 0.08109235018491745, -0.047866351902484894, -0.07851754128932953, 0.00506147276610136, 0.02075272612273693, -0.045685503631830215, 0.017181336879730225, 0.020185954868793488, -0.010941172018647194, -0.04947533831000328, -0.019105304032564163, 0.02255549281835556, -0.03854358196258545, -0.005820767022669315, 0.028781812638044357, 0.00723764905706048, 0.050244007259607315, -0.036971565335989, 0.009772926568984985, 0.014277186244726181, -0.008523315191268921, -0.031825002282857895, 0.03387873247265816, -0.02038685418665409, -0.021056514233350754, -0.016320571303367615, -0.04033464938402176, -0.006573183462023735, 0.08157256245613098, -0.011476870626211166, -0.02887939289212227, -0.06252889335155487, 0.028218459337949753, 0.03266531601548195, 0.02031739056110382, -0.023601336404681206, 0.031017431989312172, 0.035892996937036514, 0.0328233577311039, -0.011401666328310966, 0.012875151820480824, -0.0011047080624848604, -0.034411657601594925, -0.029401499778032303, 0.019030895084142685, 0.02696547470986843, -0.04604214429855347, 0.027030915021896362, -0.0004525015829131007, 0.020938124507665634, -0.0413324311375618, 0.0032753683626651764, 0.07602833956480026, -0.005456933286041021, -0.006183706223964691, 0.034325938671827316, -0.018128450959920883, -0.046377263963222504, 0.05827466771006584, 0.0045409370213747025, -0.016525018960237503, -0.00824886467307806, -0.001791941816918552, 0.02978232316672802, 0.003945819102227688, -0.013768483884632587, 0.04147551208734512, 0.0021986060310155153, 0.07093145698308945, -0.05923823267221451, -0.00040366427856497467, -0.03284398466348648, -0.06155014783143997, -0.01239252183586359, 0.06553808599710464, 0.0416463278234005, 0.04439203068614006, 0.0011145361931994557, 0.008006068877875805, 0.00827045552432537, 0.03924105688929558, 0.04784589633345604, -0.000650846806820482, -0.002817744156345725, 0.011595825664699078, 0.062051594257354736, 0.05163777247071266, -0.07302699238061905, -0.01749974861741066, 0.0061439406126737595, 0.005924369674175978, -0.07607512176036835, 0.04127885028719902, -0.0426534041762352, 0.05534837767481804, -0.06163986772298813, -0.04622964560985565, 0.06018611043691635, 0.048857055604457855, -0.002039359649643302, 0.024397114291787148, -0.0024114660918712616, 0.057187821716070175, 0.024883251637220383, 0.022345896810293198, 0.022441275417804718, -0.05324673652648926, 0.015505212359130383, -0.004546975251287222, 0.0931982770562172, -0.027864836156368256, 0.051204781979322433, -0.00034695310750976205, 0.026400649920105934, 0.028981888666749, -0.06630909442901611, 0.0015487089985981584, 0.050783928483724594, 0.00046191687579266727, -0.03206440061330795, 0.01694483496248722, 0.0020720174070447683, 0.026430120691657066, 0.005747940856963396, -0.013069544918835163, 0.07675209641456604, -0.007299498189240694, 0.019929517060518265, 0.08830511569976807, 0.006492862477898598, 0.03038383275270462, 0.012509356252849102, 0.046890243887901306, -0.012049566023051739, -0.024933824315667152, 0.06667964905500412, -0.023744722828269005, 0.028906933963298798, -0.047470588237047195, -0.002676899079233408, -0.01668030396103859, -0.03295808658003807, 0.03733289986848831, 0.016077008098363876, -0.0364193469285965, -0.009895261377096176, 0.029150642454624176, -0.011992932297289371, 0.021374888718128204, -0.011963811703026295, -0.013682940974831581, -0.03229501470923424, -0.007120253052562475, 0.023812955245375633, -0.08023463189601898, -0.042769767343997955, 0.001141804619692266, 0.013462075032293797, 0.029303420335054398, -0.09436139464378357, 0.015034133568406105, -0.0640769973397255, -0.03018803708255291, 0.0372336283326149, 0.04911947622895241, -0.012997989542782307, -0.02307431772351265, -0.0105870570987463, -0.04654224216938019, -0.03597698733210564, -0.05658414587378502, -0.02070142701268196, -0.026122217997908592, -0.050716910511255264, 0.014268606901168823, 0.029337406158447266, 0.03957414627075195, 0.014034652151167393, 0.006409729365259409, -0.05846667289733887, -0.031059710308909416, 0.05785246193408966, 0.04545485973358154, -0.01777011714875698, -0.04492490366101265, 0.0068152365274727345, 0.02721492201089859, -0.00883406586945057, -0.0026186511386185884, -0.021753331646323204, 0.07879213988780975, 0.07683446258306503, 0.03174258768558502, 0.01936076208949089, -0.04220892861485481, -0.06466877460479736, -0.009545927867293358, -0.04116252064704895, -0.03526780754327774, -0.04865877330303192, -0.04389899596571922, -0.031620096415281296, -0.008303405717015266, -0.04819128289818764, -0.030008366331458092, -0.01571768708527088, -0.007736677769571543, 0.03715680539608002, 0.06266389042139053, 0.006039685569703579, 0.009647801518440247, -0.06645409017801285, -0.020058568567037582, 0.0561336986720562, 0.02008788473904133, -0.014956940896809101, -0.06140870600938797, -0.026125941425561905, 0.011624140664935112, -0.011179056018590927, -0.01493249461054802, -0.014641638845205307, 0.05278619006276131, 0.015832463279366493, -0.013436781242489815, -0.008236000314354897, -0.0008816433837637305, -0.030331764370203018, -0.015936583280563354, 0.02135569602251053, 0.004026156384497881, -0.05505641549825668, -0.024483533576130867, -0.02219453826546669, 0.05222773924469948, -0.04512273520231247, -0.03156144544482231, -0.01562337577342987, 0.0269912276417017, 0.022005153819918633, 0.011638092808425426, -0.06240081787109375, 0.008043386042118073, -0.08230572938919067, 0.004654248245060444, 0.02720397524535656, -0.011615204624831676, -0.020693974569439888, 0.029879502952098846, 0.038417715579271317, -0.02255101129412651, 0.024644579738378525, 0.026180922985076904, 0.026298772543668747, 0.015022790990769863, -0.015602974221110344, -0.011955724097788334, -0.0008352306904271245, 0.006780919618904591, -0.01138930581510067, -0.018419168889522552, -0.04071715101599693, -0.07535336166620255, -0.016902625560760498, 0.057992398738861084, -0.010326368734240532, -0.02036622352898121, 0.030215373262763023, -0.029611961916089058, -0.023012790828943253, -0.008593115024268627, 0.005425427109003067, 0.015312589704990387, -0.04128756746649742, 0.05125228688120842, -0.02197486162185669, 0.02640770748257637, -0.04811571538448334, 0.0011310421396046877, -0.020336048677563667, -0.016022663563489914, -0.005071745254099369, 0.06512854248285294, -0.022128790616989136, 0.020943669602274895, 0.04057296738028526, 0.022781584411859512, -0.04308348521590233, -0.004007874056696892, 0.007969623431563377, -0.010720296762883663, -0.06168685108423233, 0.024664388969540596, 0.016203202307224274, -0.0047678761184215546, -0.004890561103820801, -0.002105461899191141, 0.024142567068338394, 0.04802228882908821, -0.004693334456533194, 0.003516512457281351, 0.04653337597846985, -0.031215013936161995, -0.029436547309160233, -0.03472248837351799, -0.06982962787151337, -0.014048706740140915, -0.008396320044994354, 0.007787879556417465, 0.028795909136533737, 0.0389314629137516, 0.03883267939090729, 0.05442066863179207, -0.04574882611632347, -0.0239737369120121, 0.01654861494898796, 0.0008790568099357188, -0.031805675476789474, -0.04057980701327324, -0.031222572550177574, 0.058320336043834686, 0.02822658233344555, -0.0032282231841236353, -0.08464327454566956, 0.05718941614031792, 0.0562346987426281, -0.02353520318865776, 0.03844140097498894, -0.011597800068557262, 0.03635508939623833, 0.03757859766483307, -0.007013476919382811, 0.03949902951717377, -0.02135629393160343, -0.02442726120352745, -0.02284802868962288, 0.03262315317988396, -0.030118362978100777, -0.02768721990287304, -0.005926520563662052, 0.01630033180117607, 0.030568178743124008, 0.029606502503156662, 0.035616517066955566, -0.028427444398403168, -0.05842158943414688, -0.012905823066830635, 0.04038118198513985, -0.07498369365930557, 0.05314737185835838, 0.007728835567831993, 0.02653287537395954, -0.06436670571565628, -0.04375171288847923, 0.004414130933582783, 0.01780509576201439, 0.04221799969673157, -0.02739867754280567, -0.0007254476076923311, -0.03996724262833595, 0.06524873524904251, 0.037461794912815094, -0.036983150988817215, -0.05058123171329498, 0.02681148424744606, -0.015300215221941471, -0.017402466386556625, 0.020095933228731155, 0.0054409862495958805, 0.04308405891060829, 0.052442509680986404, 0.04280451312661171, 0.014013806357979774, -0.05045396834611893, 0.054194580763578415, -0.00681162066757679, 0.02589898370206356, 0.00021600857144221663, -0.050619691610336304, -0.01115262508392334, -0.045190345495939255, -0.0544961541891098, -0.03206523135304451, -0.04780549556016922, 0.03765062615275383, 0.0074450611136853695, -0.009903708472847939, 0.0018245209939777851, 0.02975466102361679, 0.005591236054897308, -0.020271791145205498, -0.043325275182724, -0.04287835210561752, -0.05841011181473732, -0.041629206389188766, 0.03193432465195656, -0.002649737522006035, 0.024252966046333313, 0.04664784297347069, 0.02496667020022869, 0.011704589240252972, 0.017836537212133408, -0.01841704361140728, 0.0059720794670283794, -0.0003816716780420393, -0.08145243674516678, -0.05112261325120926, 0.006546230521053076, 0.0008792277658358216, 0.004020131658762693, -0.027415594086050987, 0.023837869986891747, -0.01346801407635212, -0.06417856365442276, -0.03770695999264717, 0.030939554795622826, 0.03620580583810806, -0.06900614500045776, -0.01460063736885786, 0.01903790980577469, -0.011897713877260685, 0.029732977971434593, -0.025430168956518173, -0.058988939970731735, 0.05702381581068039, 0.04052010551095009, 0.04410447180271149, -0.01274678111076355, -0.036393675953149796, 0.024374261498451233, 0.0009729033918119967, 0.015351332724094391, -0.07621484994888306, 0.004823354072868824, -0.037478599697351456, 0.06272545456886292, -0.03534536063671112, -0.0267321914434433, -0.05192539095878601, 0.026539647951722145, -0.01412027608603239, 0.0037349932827055454, 0.0051326751708984375, 0.03589417040348053, -0.018642494454979897, 0.043966393917798996, -0.021184276789426804, 0.038433682173490524, -0.08868546038866043, 0.05005326122045517, -0.0476200208067894, -0.013678810559213161, -0.007694120053201914, -0.008950304239988327, -0.05058981850743294, 0.002347061177715659, -0.029886070638895035, -0.054125960916280746, 0.023539628833532333, 0.06653737276792526, 0.043218739330768585, 0.02844039350748062, -0.041563745588064194, -0.013768169097602367, -0.0015842944849282503, -0.05281107500195503, -0.02226671576499939, 0.01573587954044342, -0.008803634904325008, -0.03564554080367088, 0.041283752769231796, 0.055029187351465225, -0.0398310050368309, -0.04364040866494179, 0.04951399937272072, 0.021264927461743355, 0.024411670863628387, 0.00720078032463789, 0.02440796233713627, 0.04783061891794205, 0.017711881548166275, -0.04735510051250458, 0.012320009991526604, 0.023456867784261703, -0.005774123594164848, 0.04584503918886185, -0.00449663121253252, 0.024123139679431915, 0.020921876654028893, -0.03024144284427166, -0.037717197090387344, 0.04636254906654358, 0.01048795972019434, -0.004816385451704264, -0.012711768038570881, -0.022481223568320274, 0.021659813821315765, 0.017634347081184387, -0.04547397419810295, 0.02884509786963463, 0.015566529706120491, -0.03700152039527893, 0.051348455250263214, -0.0137699656188488, 0.04305923730134964, 0.03960082307457924, 0.02354525960981846, -0.020194370299577713, 0.020655591040849686, -0.031236644834280014, -0.016032705083489418, 0.06565716117620468, -0.056473489850759506, 0.0036734577734023333, -0.05813165381550789, 0.052012063562870026, -0.07884310930967331, 0.054971132427453995, 0.07729127258062363, -0.01025006826967001, -0.004368784371763468, -0.04636099562048912, -0.056871429085731506, 0.019145527854561806, -0.07149776071310043, 0.05547192320227623, 0.020101215690374374, -0.08909784257411957, 0.052784278988838196, -0.007005035411566496, -0.08062616735696793, 0.0519956536591053, 0.060398053377866745, 0.02882535755634308, 0.04919879510998726, 0.0352536141872406, 0.003931392449885607, 0.007363664451986551, -0.020618567243218422, 0.0514037050306797, -0.020096633583307266, -0.03535638004541397, 0.02414928935468197, -0.01630473881959915, -0.01445767842233181, 0.026260163635015488, -0.006056002341210842, 0.004587720613926649, 0.01883457787334919, -0.07153651118278503, -0.03826091066002846, 0.021188417449593544, 0.01264240499585867, 0.0033289578277617693, -0.0010439619654789567, -0.01281546801328659, 0.013857373967766762, 0.012136077508330345, 0.019718265160918236, -0.01873513124883175, 0.009188546799123287, 0.03317467123270035, -0.09074680507183075, -0.018583277240395546, 0.049636680632829666, -0.033682916313409805, -0.005296645220369101, -0.01477278396487236, 0.02183215133845806, 0.01143715251237154, -0.014204279519617558, -0.013312569819390774, 0.023378446698188782, -0.0366458036005497, -0.03880844637751579, 0.007649917155504227, -0.003231778973713517, 0.01764266937971115, -0.010832207277417183, 0.028847921639680862, 0.045261822640895844, 0.029793011024594307, 0.02304171398282051, -0.028074044734239578, -0.05170247703790665, 0.06508009135723114, -0.0304273534566164, 0.022837942466139793, -0.024269456043839455, -0.04018296301364899, -0.044121939688920975, -0.04462535306811333, -0.005782327614724636, 0.04529372230172157, -0.07028208673000336, 0.0017331780400127172, 0.036420829594135284, -0.004099142272025347, -0.039694592356681824, -0.06765536963939667, -0.01910894177854061, -0.055597517639398575, 0.0009628985426388681, 0.024894526228308678, -0.027958381921052933, 0.03385614603757858, -0.03574322536587715, -0.062008727341890335, 0.024121487513184547, -0.0037914784625172615, -0.013771860860288143, 0.01961524412035942, 0.0350455716252327, -0.003357863752171397, 0.015327471308410168, -0.013278020545840263, -0.04125112667679787, -0.029434051364660263, -0.025798039510846138, 0.031865689903497696, 0.0414554737508297, 0.04416674003005028, -0.018389573320746422, -0.012491058558225632, -0.03337734937667847, -0.04103401303291321, -0.03341785818338394, 0.024142097681760788, 0.0401158407330513 ]
Batsy24/DialoGPT-medium-Twilight_BellaBot
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-08-12T12:57:33Z
--- tags: - tensorflowtts - audio - text-to-speech - text-to-mel language: fr license: apache-2.0 datasets: - synpaflex widget: - text: "Oh, je voudrais tant que tu te souviennes Des jours heureux quand nous étions amis" --- # Tacotron 2 with Guided Attention trained on Synpaflex (Fr) This repository provides a pretrained [Tacotron2](https://arxiv.org/abs/1712.05884) trained with [Guided Attention](https://arxiv.org/abs/1710.08969) on Synpaflex dataset (Fr). For a detail of the model, we encourage you to read more about [TensorFlowTTS](https://github.com/TensorSpeech/TensorFlowTTS). ## Install TensorFlowTTS First of all, please install TensorFlowTTS with the following command: ``` pip install TensorFlowTTS ``` ### Converting your Text to Mel Spectrogram ```python import numpy as np import soundfile as sf import yaml import tensorflow as tf from tensorflow_tts.inference import AutoProcessor from tensorflow_tts.inference import TFAutoModel processor = AutoProcessor.from_pretrained("tensorspeech/tts-tacotron2-synpaflex-fr") tacotron2 = TFAutoModel.from_pretrained("tensorspeech/tts-tacotron2-synpaflex-fr") text = "Oh, je voudrais tant que tu te souviennes Des jours heureux quand nous étions amis" input_ids = processor.text_to_sequence(text) decoder_output, mel_outputs, stop_token_prediction, alignment_history = tacotron2.inference( input_ids=tf.expand_dims(tf.convert_to_tensor(input_ids, dtype=tf.int32), 0), input_lengths=tf.convert_to_tensor([len(input_ids)], tf.int32), speaker_ids=tf.convert_to_tensor([0], dtype=tf.int32), ) ``` #### Referencing Tacotron 2 ``` @article{DBLP:journals/corr/abs-1712-05884, author = {Jonathan Shen and Ruoming Pang and Ron J. Weiss and Mike Schuster and Navdeep Jaitly and Zongheng Yang and Zhifeng Chen and Yu Zhang and Yuxuan Wang and R. J. Skerry{-}Ryan and Rif A. Saurous and Yannis Agiomyrgiannakis and Yonghui Wu}, title = {Natural {TTS} Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions}, journal = {CoRR}, volume = {abs/1712.05884}, year = {2017}, url = {http://arxiv.org/abs/1712.05884}, archivePrefix = {arXiv}, eprint = {1712.05884}, timestamp = {Thu, 28 Nov 2019 08:59:52 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-1712-05884.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` #### Referencing TensorFlowTTS ``` @misc{TFTTS, author = {Minh Nguyen, Alejandro Miguel Velasquez, Erogol, Kuan Chen, Dawid Kobus, Takuya Ebata, Trinh Le and Yunchao He}, title = {TensorflowTTS}, year = {2020}, publisher = {GitHub}, journal = {GitHub repository}, howpublished = {\\url{https://github.com/TensorSpeech/TensorFlowTTS}}, } ```
[ -0.01982015371322632, -0.017152724787592888, -0.024124667048454285, 0.054883819073438644, 0.00878189317882061, 0.04809880256652832, -0.018238024786114693, -0.014390481635928154, -0.03127069026231766, 0.04881006106734276, 0.019307447597384453, -0.004302183166146278, 0.014285294339060783, 0.03142375126481056, -0.057613663375377655, -0.04272940382361412, -0.027917776256799698, -0.0016008538659662008, -0.001102498616091907, -0.019869357347488403, 0.014011530205607414, 0.016533706337213516, 0.03123585693538189, 0.026256050914525986, 0.003172307973727584, 0.03640463948249817, -0.02190849930047989, 0.04242073744535446, 0.002615505363792181, -0.08117255568504333, 0.001586774829775095, -0.03689024597406387, -0.0262091476470232, -0.007725488394498825, -0.025480302050709724, -0.011538204737007618, -0.01370035670697689, 0.005697067826986313, 0.03568768501281738, 0.05041942000389099, 0.012742443010210991, 0.015825379639863968, -0.034458111971616745, -0.03731029853224754, 0.044878266751766205, 0.0064098406583070755, -0.031122226268053055, -0.02640046738088131, 0.005676637403666973, -0.02459520474076271, -0.05417521297931671, -0.05920834839344025, -0.04673836752772331, 0.0011182144517078996, -0.0012282714014872909, -0.026559561491012573, -0.06215010583400726, -0.010378850623965263, 0.054270558059215546, -0.02951621077954769, -0.019642194733023643, 0.03447398543357849, -0.0349896214902401, 0.009952552616596222, 0.03885537013411522, -0.03586525097489357, -0.020543228834867477, -0.03449855372309685, 0.020949164405465126, -0.033338967710733414, 0.01463320292532444, -0.023734182119369507, 0.009878107346594334, -0.08475637435913086, -0.0010928111150860786, -0.0002990777720697224, 0.027135305106639862, 0.04087278991937637, -0.06125512346625328, 0.031246347352862358, 0.047625068575143814, -0.006055756472051144, 0.03147946670651436, -0.010463758371770382, -0.026531020179390907, 0.05412270128726959, -0.028109006583690643, -0.0014286949299275875, 0.03491643816232681, 0.0550277903676033, -0.037054236978292465, -0.03978395834565163, -0.032573916018009186, -0.02781365066766739, 0.0030760704539716244, 0.05636504292488098, 0.03765528276562691, -0.010407760739326477, 0.03794189915060997, 0.042703159153461456, 0.026598598808050156, 0.023643312975764275, -0.007321093697100878, 0.0554843544960022, -0.005512318108230829, -0.017859475687146187, -0.0035445087123662233, -0.044640567153692245, -0.05701380595564842, 0.04769064858555794, 0.019423119723796844, -0.032541416585445404, -0.027817582711577415, 0.04786622151732445, 0.011978059075772762, -0.051402460783720016, 0.028660137206315994, -0.02249610796570778, -0.04163351282477379, -0.042891975492239, 0.07517209649085999, 0.02027198113501072, 0.0324195995926857, 0.013863364234566689, -0.06001828983426094, 0.027669962495565414, -0.041139837354421616, -0.03659168258309364, -0.028666077181696892, 0.011458699591457844, -0.015035392716526985, 0.055845584720373154, -0.0013017914025112987, -0.026447977870702744, 0.01902388222515583, -0.009103658609092236, -0.07405603677034378, 0.03907877951860428, 0.05758591741323471, 0.09167671203613281, -0.06480248272418976, -0.048474520444869995, 0.0033696540631353855, 0.028623882681131363, -0.04346708580851555, 0.027412518858909607, 0.015281501226127148, -0.026692284271121025, -0.04786086082458496, -0.004934616852551699, 0.0689236968755722, -0.08016064763069153, -0.001652719802223146, 0.02807653322815895, 0.005025459453463554, 0.05068502575159073, -0.03983990475535393, -0.0016254530055448413, 0.0195772647857666, 0.010715990327298641, -0.046516053378582, 0.04136314243078232, 0.011201749555766582, -0.03331460803747177, -0.04149271920323372, -0.047783900052309036, -0.007831239141523838, 0.06698480248451233, -0.009017657488584518, -0.014712047763168812, -0.02753101848065853, 0.034689418971538544, 0.049593981355428696, 0.014050370082259178, -0.01565067656338215, 0.04603937640786171, 0.0732676163315773, 0.057674311101436615, 0.0007485771784558892, 0.05030003562569618, 0.02629789337515831, -0.022643335163593292, -0.04602968320250511, -0.0018002949655056, 0.001021722098812461, -0.020375186577439308, 0.026278521865606308, 0.022241398692131042, -0.011948653496801853, -0.029738599434494972, -0.036094922572374344, 0.07240400463342667, -0.005325180944055319, 0.013298943638801575, -0.0021820596884936094, -0.024975750595331192, -0.03854508697986603, 0.021482983604073524, -0.028190074488520622, -0.0021953966934233904, -0.021932328119874, -0.05459286645054817, 0.006036222912371159, -0.012766525149345398, 0.041465163230895996, 0.03553605452179909, 0.008225585334002972, 0.10190913826227188, -0.013880785554647446, 0.02299620769917965, -0.029016656801104546, -0.048935920000076294, -0.0032676735427230597, 0.03604038059711456, 0.0052524134516716, 0.048547618091106415, -0.005618156399577856, -0.04811502993106842, 0.009381812065839767, 0.03158438578248024, 0.028896158561110497, 0.021765461191534996, -0.04093366116285324, -0.008153082802891731, 0.03664526343345642, 0.06325501948595047, -0.05135219916701317, -0.0476895309984684, 0.009103922173380852, 0.019206609576940536, -0.0073692575097084045, 0.008645704947412014, -0.03486780449748039, 0.03834475576877594, -0.060888469219207764, -0.06837287545204163, 0.044874731451272964, 0.05760974809527397, 0.02025672048330307, 0.03870074078440666, 0.02116134576499462, -0.006758790463209152, 0.029737137258052826, 0.006383432075381279, 0.010915865190327168, -0.03795045241713524, -0.008707374334335327, 0.011667379178106785, 0.048201434314250946, -0.06921790540218353, 0.042123377323150635, -0.0075182560831308365, 0.000044446827814681455, 0.05238895118236542, -0.06986788660287857, 0.037263378500938416, 0.021272433921694756, 0.01856798678636551, -0.018374955281615257, 0.007747130002826452, -0.014608269557356834, 0.07123665511608124, 0.06412044167518616, 0.003715894417837262, 0.05581089109182358, -0.013849075883626938, 0.030637193471193314, 0.08029638230800629, 0.023046789690852165, 0.0096091004088521, 0.043914634734392166, 0.07043739408254623, 0.00957639329135418, -0.023694682866334915, 0.06810210645198822, -0.07004878669977188, 0.022906595841050148, -0.01518015842884779, 0.02465859055519104, -0.005614837631583214, -0.0034853362012654543, 0.005156853701919317, 0.03277735039591789, -0.018232079222798347, 0.0018797838129103184, 0.020498594269156456, -0.007944094017148018, 0.02842426486313343, -0.020972132682800293, -0.022442840039730072, -0.01095261424779892, -0.012199954129755497, 0.011505822651088238, -0.06742879748344421, -0.017855165526270866, -0.02338617667555809, -0.030285310000181198, -0.003401965368539095, -0.07836122065782547, -0.05356856808066368, -0.06266310065984726, -0.01797814480960369, 0.022162746638059616, 0.023171676322817802, 0.00818227045238018, -0.025842249393463135, 0.012043911963701248, -0.06327932327985764, -0.04843604937195778, -0.0309006255120039, -0.021961385384202003, -0.0366460420191288, -0.0635196641087532, 0.06598540395498276, 0.018621739000082016, 0.015258691273629665, -0.011306324042379856, -0.023553017526865005, -0.04456202685832977, -0.014361221343278885, 0.07870793342590332, 0.035956867039203644, -0.020442785695195198, -0.05801141634583473, 0.013284693472087383, -0.03996352478861809, -0.001985009294003248, -0.014802218414843082, -0.029255513101816177, 0.08922171592712402, 0.08357283473014832, 0.005453655030578375, 0.00799386017024517, -0.03410860523581505, -0.07399775832891464, -0.06807849556207657, -0.018232524394989014, -0.027293046936392784, -0.024325426667928696, -0.016867540776729584, -0.048884350806474686, -0.019643444567918777, -0.04479947313666344, 0.012023505754768848, 0.006534335669130087, 0.04240504279732704, 0.019292106851935387, 0.0303359255194664, 0.01890716329216957, 0.02593044377863407, -0.048209190368652344, -0.018734607845544815, 0.07815912365913391, -0.003887373022735119, 0.003647793550044298, -0.0749192163348198, -0.012461572885513306, 0.020734118297696114, 0.0036792366299778223, -0.012245537713170052, -0.006855784449726343, 0.08713371306657791, 0.0002089188201352954, -0.019065599888563156, 0.007526148576289415, -0.0071276105009019375, 0.009965945966541767, -0.018843328580260277, 0.010871988721191883, -0.018779238685965538, -0.0622914656996727, -0.015049625188112259, -0.006135096307843924, 0.03693854436278343, -0.0742873102426529, -0.057366520166397095, -0.008815682493150234, 0.031315699219703674, -0.00043984962394461036, 0.005222517065703869, -0.028273997828364372, -0.005437448620796204, -0.04366917908191681, -0.016566557809710503, 0.02601359598338604, 0.00592436408624053, 0.027432478964328766, 0.030946671962738037, 0.022826261818408966, -0.024158218875527382, 0.02860967256128788, 0.030524346977472305, 0.07211536914110184, 0.01444959919899702, -0.04201311618089676, 0.014975868165493011, 0.0031849367078393698, 0.011359449476003647, 0.006188271567225456, -0.012893383391201496, -0.04955212399363518, -0.09183171391487122, -0.02342201955616474, 0.0048169721849262714, -0.02803814597427845, -0.008432069793343544, 0.029866280034184456, -0.0287332683801651, 0.0004408261738717556, 0.013668833300471306, 0.026003707200288773, 0.03650843724608421, -0.038742441684007645, 0.049621693789958954, 0.004202795680612326, 0.04476815089583397, -0.07235564291477203, 0.0014338336186483502, -0.025520654395222664, -0.038864992558956146, -0.009499740786850452, 0.054472796618938446, 0.016405729576945305, 0.06825553625822067, 0.04942807927727699, 0.034825388342142105, -0.0240533035248518, 0.03672580048441887, 0.016862016171216965, -0.016056600958108902, -0.06323444843292236, 0.011609454639256, -0.004968021530658007, -0.02008718252182007, -0.012902114540338516, -0.029924854636192322, 0.017863774672150612, 0.02381940931081772, 0.010042745620012283, -0.021865427494049072, -0.008741360157728195, -0.043826665729284286, -0.03662993386387825, -0.06727531552314758, -0.04228263720870018, 0.021895721554756165, -0.017842711880803108, 0.042902614921331406, 0.004422992002218962, 0.008753052912652493, 0.045150939375162125, 0.08213791251182556, -0.015207996591925621, -0.022121412679553032, 0.04154815152287483, 0.03693920001387596, -0.02464119903743267, -0.04643566906452179, -0.029436390846967697, 0.034425828605890274, 0.05349111929535866, -0.030750826001167297, -0.06963274627923965, 0.015217856504023075, 0.06446629762649536, -0.004532774444669485, 0.09309092164039612, -0.02596925012767315, 0.04459574446082115, 0.05798494815826416, 0.017124226316809654, 0.051313210278749466, -0.024722378700971603, 0.020309165120124817, -0.020320992916822433, 0.014990290626883507, -0.037334199994802475, -0.021632369607686996, -0.07616075128316879, 0.0287269689142704, 0.034306272864341736, 0.025225244462490082, 0.0353202261030674, -0.007215938065201044, -0.05855770409107208, -0.0021664032246917486, 0.0499051995575428, -0.04227640479803085, 0.0075185359455645084, 0.005462265107780695, 0.059015609323978424, -0.05545869469642639, -0.0031254037749022245, -0.020128706470131874, 0.020778974518179893, 0.02706281840801239, 0.016515430063009262, -0.04095396399497986, -0.05275571718811989, 0.016658077016472816, -0.04461023211479187, 0.0005811951705254614, -0.1055629700422287, 0.004954371601343155, -0.013138840906322002, -0.005370438098907471, 0.06635618209838867, 0.03413451090455055, 0.04676901176571846, 0.020293598994612694, 0.026927147060632706, 0.006815371569246054, -0.02094014175236225, 0.04640282317996025, -0.0316711962223053, -0.01818695105612278, -0.005340052768588066, -0.028882475569844246, -0.012499422766268253, -0.030447985976934433, -0.03150175139307976, -0.027866413816809654, -0.02583020180463791, -0.0025784485042095184, -0.004674539435654879, 0.013956340961158276, -0.017282195389270782, 0.05328947678208351, -0.017035603523254395, -0.024935897439718246, -0.02074737660586834, -0.024476904422044754, -0.04648832604289055, -0.05541829764842987, 0.03420979902148247, 0.0036590839736163616, 0.01960773393511772, 0.020169978961348534, 0.010308782570064068, 0.01760033331811428, -0.01394119206815958, -0.02524523437023163, 0.03650045767426491, -0.008852631784975529, -0.06690806150436401, -0.024207469075918198, 0.011745419353246689, 0.012342876754701138, 0.040040791034698486, -0.017069440335035324, 0.028573783114552498, 0.01322985626757145, -0.030655637383461, -0.015819814056158066, -0.016410408541560173, 0.03841722384095192, -0.06116073206067085, -0.023767128586769104, -0.0303850919008255, -0.05018502101302147, 0.034178320318460464, 0.025849739089608192, -0.022439032793045044, 0.015274601988494396, 0.026990797370672226, 0.049423351883888245, 0.003567016450688243, -0.04473210126161575, 0.045093636959791183, -0.027304699644446373, -0.0007490318967029452, -0.06965570151805878, 0.04151839762926102, -0.07509060949087143, 0.005541732534766197, 0.01362546719610691, -0.0071143959648907185, -0.03722255304455757, 0.05197209492325783, -0.024966590106487274, 0.0017013733740895987, -0.0014838454080745578, -0.005539293866604567, -0.025069616734981537, 0.023218857124447823, -0.007989313453435898, 0.004064799286425114, -0.02859521098434925, 0.04875481128692627, -0.03808983787894249, -0.0002888462331611663, -0.03103034943342209, 0.00990307331085205, -0.039614226669073105, -0.04471232369542122, 0.002372560789808631, -0.019792068749666214, 0.04139052703976631, 0.04255763068795204, 0.03630679100751877, 0.021724797785282135, -0.02415398508310318, 0.006314578466117382, 0.023154983296990395, -0.04847803711891174, -0.024690810590982437, -0.013157568871974945, 0.0134950065985322, -0.024662306532263756, 0.05203169956803322, 0.02557600662112236, -0.047764796763658524, -0.043761931359767914, 0.06006532162427902, 0.0033118044957518578, 0.019347267225384712, -0.0048448326997458935, 0.029795534908771515, 0.041091348975896835, 0.058654624968767166, -0.029172997921705246, 0.01070384494960308, -0.0035688038915395737, 0.011035796254873276, -0.021542539820075035, -0.012366926297545433, 0.01731865108013153, -0.006626025307923555, -0.03182569146156311, -0.019645998254418373, 0.05248100310564041, 0.029555607587099075, 0.02998497150838375, -0.026079002767801285, -0.027641184628009796, 0.028570394963026047, 0.016587141901254654, -0.059216927736997604, -0.012937342748045921, 0.029731998220086098, -0.017673758789896965, 0.08178073912858963, -0.016705138608813286, 0.027321750298142433, 0.03564749285578728, 0.02354584075510502, -0.0038301425520330667, 0.03663165494799614, -0.02740301750600338, 0.0177620742470026, 0.06020478531718254, -0.026876170188188553, -0.031934209167957306, -0.011791610158979893, 0.06977171450853348, -0.05074644461274147, 0.02259022742509842, 0.03317393735051155, 0.03482766076922417, 0.02769843488931656, -0.033107127994298935, -0.05642392858862877, 0.027683112770318985, -0.044294439256191254, 0.07865360379219055, 0.008368480950593948, -0.05981975793838501, 0.08502060174942017, 0.012455285526812077, -0.1150163784623146, 0.04308703914284706, 0.058153022080659866, 0.01318275649100542, 0.030834443867206573, 0.047558750957250595, -0.032081764191389084, 0.029065337032079697, -0.038105741143226624, 0.0008688097586855292, -0.02824498899281025, 0.015203218907117844, 0.0007208837196230888, -0.036284204572439194, 0.0212818905711174, 0.021876994520425797, -0.01778392866253853, 0.003498548874631524, 0.029508819803595543, -0.05276540294289589, -0.01224937941879034, 0.020290493965148926, 0.020547501742839813, -0.01960776187479496, 0.03853447362780571, -0.028211915865540504, 0.025456709787249565, 0.03591479733586311, -0.004890915472060442, -0.0380403995513916, -0.0219999011605978, -0.010200495831668377, -0.05807694047689438, -0.04917255416512489, 0.03931468725204468, 0.026329604908823967, -0.018670521676540375, 0.015605093911290169, 0.005533501040190458, 0.02766980230808258, 0.014998041093349457, 0.0034543282818049192, 0.04836682975292206, -0.0713665559887886, 0.015766384080052376, -0.012908794917166233, 0.029331475496292114, 0.017672738060355186, -0.018558679148554802, 0.03149910271167755, 0.040571536868810654, 0.020304886624217033, 0.013034875504672527, -0.06189953163266182, -0.007477900013327599, 0.01589055173099041, -0.05893873795866966, 0.019188167527318, 0.02463669888675213, -0.04557470977306366, -0.028994273394346237, -0.010362687520682812, -0.012149384245276451, 0.03503439947962761, -0.0542113222181797, 0.005174935795366764, 0.05833906680345535, -0.027142111212015152, -0.034656770527362823, -0.09242115169763565, -0.030301542952656746, -0.019441379234194756, 0.027611613273620605, 0.03691183775663376, -0.042141642421483994, -0.029366154223680496, -0.05364781618118286, -0.02795412763953209, 0.045869309455156326, 0.0017531708581373096, -0.023351574316620827, 0.04556204006075859, 0.03121166117489338, -0.054542023688554764, 0.013747649267315865, 0.03434101864695549, -0.013114633038640022, 0.03615313395857811, 0.03664230555295944, 0.0275681484490633, 0.04966532811522484, 0.026158202439546585, -0.004273709841072559, -0.003020412288606167, -0.052869267761707306, -0.028949450701475143, -0.037496134638786316, -0.007526450324803591, 0.05432335287332535 ]
Batsy24/DialoGPT-small-Twilight_EdBot
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- language: es widget: - text: "La inteligencia artificial en lationoamérica se ha desarrollado " license: apache-2.0 datasets: - wikipedia --- La descripción en Español se encuentra después de la descripción en Inglés. # (English) GPT2-small-spanish: a Language Model for Spanish text generation (and more NLP tasks...) GPT2-small-spanish is a state-of-the-art language model for Spanish based on the GPT-2 small model. It was trained on Spanish Wikipedia using **Transfer Learning and Fine-tuning techniques**. The training took around 70 hours with four GPU NVIDIA GTX 1080-Ti with 11GB of DDR5 and with around 3GB of (processed) training data. It was fine-tuned from the [English pre-trained GPT-2 small](https://huggingface.co/gpt2) using the Hugging Face libraries (Transformers and Tokenizers) wrapped into the [fastai v2](https://dev.fast.ai/) Deep Learning framework. All the fine-tuning fastai v2 techniques were used. The training is purely based on the [GPorTuguese-2](https://huggingface.co/pierreguillou/gpt2-small-portuguese) model developed by Pierre Guillou. The training details are in this article: "[Faster than training from scratch — Fine-tuning the English GPT-2 in any language with Hugging Face and fastai v2 (practical case with Portuguese)](https://medium.com/@pierre_guillou/faster-than-training-from-scratch-fine-tuning-the-english-gpt-2-in-any-language-with-hugging-f2ec05c98787)". This preliminary version is now available on Hugging Face. ## Limitations and bias (Copied from original GPorTuguese-2 model)The training data used for this model come from Spanish Wikipedia. We know it contains a lot of unfiltered content from the internet, which is far from neutral. As the openAI team themselves point out in their model card: > Because large-scale language models like GPT-2 do not distinguish fact from fiction, we don’t support use-cases that require the generated text to be true. Additionally, language models like GPT-2 reflect the biases inherent to the systems they were trained on, so we do not recommend that they be deployed into systems that interact with humans > unless the deployers first carry out a study of biases relevant to the intended use-case. We found no statistically significant difference in gender, race, and religious bias probes between 774M and 1.5B, implying all versions of GPT-2 should be approached with similar levels of caution around use cases that are sensitive to biases around human attributes. ## Authors The model was trained and evaluated by [Josué Obregon](https://www.linkedin.com/in/josue-obregon/) and [Berny Carrera](https://www.linkedin.com/in/bernycarrera/), founders of [Datificate](https://datificate.com), a space for learning Machine Learning in Spanish. The training was possible thanks to the computing power of several GPUs (GPU NVIDIA GTX1080-Ti) of the [IAI Lab](http://iai.khu.ac.kr/) (Kyung Hee University) from which Josué is attached as a Postdoctoral Researcher in Industrial Artificial Intelligence. As stated before, this work is mainly based in the work of [Pierre GUILLOU](https://www.linkedin.com/in/pierreguillou/). # (Español) GPT2-small-spanish: un modelo de lenguaje para generación de texto en Español (y algunas otras tareas de NLP...) GPT2-small-spanish es un modelo de lenguaje de vanguardia en Español basado en el modelo pequeño GPT-2. Fué entrenado con la Wikipedia en Español usando **técnicas de Aprendizaje por Transferencia y afinación de modelos**. El entrenamiento del modelo tomó alrededor 70 horas con cuatro GPUs NVIDIA GTX 1080-Ti con 11GB de DDR5 y con aproximadamente 3GB de datos de entrenamiento preprocesados. Fue afinado del modelo en Inglés [English pre-trained GPT-2 small](https://huggingface.co/gpt2) utilizando las librerías de Hugging Face (Transformers y Tokenizers) integradas con el framework de Deep Learning [fastai v2](https://dev.fast.ai/). Se usaron técnicas de afinamiento fino de fastai v2. El entrenamiento está enteramente basado en el modelo en Portugués [GPorTuguese-2](https://huggingface.co/pierreguillou/gpt2-small-portuguese) desarrollado por Pierre Guillou. Los detalles del entrenamiento se encuentran en este articulo: "[Faster than training from scratch — Fine-tuning the English GPT-2 in any language with Hugging Face and fastai v2 (practical case with Portuguese)](https://medium.com/@pierre_guillou/faster-than-training-from-scratch-fine-tuning-the-english-gpt-2-in-any-language-with-hugging-f2ec05c98787)". La versión preliminar del modelo se encuentra en Hugging Face. ## Limitaciones y sesgos (Copiado del modelo original GPorTuguese-2 model)Los datos de entrenamiento provienen de la Wikipedia en Español. Se sabe que contiene bastante contenido no filtrado del internet, lo cual está lejos de ser neutral. Esto es señalado por el equipo desarrollador de openAI en su propia tarjeta de modelo: > Because large-scale language models like GPT-2 do not distinguish fact from fiction, we don’t support use-cases that require the generated text to be true. Additionally, language models like GPT-2 reflect the biases inherent to the systems they were trained on, so we do not recommend that they be deployed into systems that interact with humans > unless the deployers first carry out a study of biases relevant to the intended use-case. We found no statistically significant difference in gender, race, and religious bias probes between 774M and 1.5B, implying all versions of GPT-2 should be approached with similar levels of caution around use cases that are sensitive to biases around human attributes. ## Autores El modelo fue entreando y evaluado por [Josué Obregon](https://www.linkedin.com/in/josue-obregon/) y [Berny Carrera](https://www.linkedin.com/in/bernycarrera/), fundadores de [Datificate](https://datificate.com), un espacio para aprender Machine Learning en Español. El entrenamiento fue posible gracias al poder computacional de varias GPUs (GPU NVIDIA GTX1080-Ti) del Laboratorio de Inteligencia Artificial Industrial [IAI Lab](http://iai.khu.ac.kr/) (Universidad de Kyung Hee) al cual Josué pertenece como investigador postdoctoral en Inteligencia Artificial Industrial. Como fue mencionado anteriormente, este trabajo está basado en el trabajo de [Pierre GUILLOU](https://www.linkedin.com/in/pierreguillou/).
[ -0.0009712164755910635, -0.007870986126363277, 0.0006579968612641096, 0.06103663519024849, 0.022914962843060493, 0.014133719727396965, -0.0014763815561309457, 0.005398412700742483, -0.013147871010005474, 0.05509579926729202, -0.008292112499475479, -0.022176207974553108, -0.011824489571154118, 0.04528139904141426, -0.0379025861620903, -0.00577137665823102, -0.011634399183094501, -0.0029326167423278093, -0.032848060131073, -0.026043830439448357, -0.014973418787121773, -0.003744979854673147, -0.01300334557890892, -0.00025340801221318543, -0.020037051290273666, 0.037412773817777634, 0.012731376104056835, 0.011128101497888565, 0.0070981597527861595, -0.0745386928319931, 0.0005367734120227396, -0.0314275324344635, -0.030322466045618057, -0.024478191509842873, -0.03189791738986969, -0.01581742614507675, -0.006443466525524855, 0.028190046548843384, 0.0228129755705595, 0.0523306168615818, -0.014118156395852566, 0.00213990337215364, -0.0011646486818790436, -0.029216952621936798, 0.025645893067121506, 0.01772727444767952, -0.049297019839286804, -0.02515801228582859, 0.033032409846782684, -0.002663077088072896, -0.049822527915239334, -0.0787508562207222, -0.04680810496211052, 0.012094691395759583, -0.006098295096307993, -0.04594840481877327, -0.06164620444178581, -0.008263210766017437, 0.08634748309850693, -0.05297549441456795, -0.040321070700883865, 0.009382049553096294, -0.06635181605815887, 0.014069683849811554, 0.04130140319466591, -0.03882862627506256, 0.011949925683438778, -0.02750357612967491, 0.036314938217401505, -0.04944019764661789, 0.03562110662460327, -0.04772166162729263, 0.027188792824745178, -0.11361081153154373, -0.020716592669487, -0.014623533003032207, 0.02381143905222416, 0.0359429195523262, -0.0413028821349144, 0.06258653104305267, 0.026032812893390656, 0.011494440957903862, 0.041034724563360214, -0.00565355084836483, -0.03560255095362663, 0.06458603590726852, -0.045774053782224655, -0.01461438275873661, 0.03386702015995979, 0.04675578698515892, -0.03470321372151375, -0.00858753640204668, -0.017825044691562653, -0.03566496819257736, 0.003769575385376811, 0.03917645290493965, 0.03702649101614952, -0.021825987845659256, 0.05540280416607857, 0.023436270654201508, 0.003334930632263422, 0.06942243129014969, -0.021513432264328003, 0.04864593222737312, -0.003644939512014389, 0.005430446472018957, -0.0184593815356493, -0.04463566839694977, -0.042656879872083664, 0.030057620257139206, 0.03257367014884949, -0.042134273797273636, -0.04997783526778221, 0.07091370970010757, -0.004835998173803091, -0.04677896201610565, 0.05332536995410919, -0.03547902777791023, -0.048997797071933746, -0.06381716579198837, 0.04541017487645149, 0.031076131388545036, 0.006999196019023657, 0.013331384398043156, -0.07362548261880875, 0.020267009735107422, -0.01617554761469364, -0.009583939798176289, -0.012642495334148407, 0.008682329207658768, -0.010498196817934513, 0.017967166379094124, 0.031449440866708755, -0.06706779450178146, 0.0033810415770858526, 0.002704422455281019, -0.048938531428575516, 0.019746918231248856, 0.06941420584917068, 0.10841567069292068, -0.052680470049381256, -0.027745699509978294, 0.015955861657857895, 0.01753745600581169, 0.00214359350502491, -0.013376030139625072, 0.02220543846487999, -0.038907621055841446, -0.034932877868413925, -0.0005569705972447991, 0.06279651075601578, -0.05494881793856621, 0.0034844866022467613, 0.06386320292949677, -0.02766568958759308, 0.03229760006070137, -0.06302834302186966, -0.014393364079296589, 0.022859347984194756, -0.008002165704965591, -0.019878843799233437, 0.018058238551020622, -0.00008561638969695196, -0.01808776706457138, -0.07108021527528763, -0.04438178613781929, 0.0005727828829549253, 0.07150372117757797, -0.005635743960738182, -0.02604641392827034, -0.03659148886799812, 0.039257586002349854, 0.048812005668878555, 0.02718786709010601, -0.0028046942315995693, 0.025291992351412773, 0.05878114327788353, 0.05026290938258171, -0.01080357562750578, 0.06153220310807228, 0.015373787842690945, -0.01960821822285652, -0.041945021599531174, 0.0009204786038026214, 0.017041033133864403, -0.031415391713380814, 0.01512770913541317, 0.03472813218832016, 0.003201807616278529, -0.02778700739145279, -0.014187858439981937, 0.06612338870763779, -0.02742823213338852, 0.0065015326254069805, 0.002615654841065407, -0.014767508953809738, -0.028270816430449486, 0.050726450979709625, -0.027739303186535835, 0.017374083399772644, -0.036074988543987274, -0.02110665664076805, 0.0050823874771595, 0.05625169724225998, 0.019878370687365532, 0.016064736992120743, -0.002605181187391281, 0.08507010340690613, -0.016070524230599403, 0.012553736567497253, -0.05670619010925293, -0.055981289595365524, -0.0111139677464962, 0.043255459517240524, 0.014162211678922176, 0.05860193073749542, 0.0017927500884979963, -0.039707813411951065, 0.021785754710435867, 0.09056680649518967, 0.05101076886057854, 0.031415101140737534, -0.03132464364171028, -0.00901250634342432, 0.04679156839847565, 0.0517609529197216, -0.04415000602602959, -0.05285021662712097, 0.005437246058136225, 0.026618286967277527, -0.01724897138774395, 0.002144033322110772, -0.01986522413790226, 0.037337128072977066, -0.04254062846302986, -0.08116908371448517, 0.043258197605609894, 0.019723812118172646, -0.001757296733558178, 0.03756730258464813, -0.004821636714041233, 0.010825265198946, 0.01534778717905283, -0.013439945876598358, 0.012121029198169708, -0.05040145665407181, 0.01086491346359253, 0.005981814581900835, 0.05154284089803696, -0.04079141840338707, 0.0329342819750309, 0.014986179769039154, 0.010401461273431778, 0.03596184030175209, -0.021741533651947975, 0.018725156784057617, 0.0390767827630043, -0.0010809146333485842, -0.026891931891441345, 0.014286693185567856, 0.00935803446918726, 0.045415956526994705, 0.049770765006542206, 0.013061248697340488, 0.06076377257704735, 0.011407766491174698, 0.04014451429247856, 0.07474083453416824, 0.02569020353257656, 0.003367179539054632, 0.031600095331668854, 0.07199911028146744, -0.017204856500029564, -0.012255821377038956, 0.06838347762823105, -0.03532647341489792, -0.000050601462135091424, -0.027242446318268776, 0.023528389632701874, -0.000548928917851299, -0.001808362198062241, 0.04225924611091614, 0.010745574720203876, -0.025236450135707855, 0.027929265052080154, -0.018057996407151222, -0.02295980416238308, 0.04147109389305115, -0.016122903674840927, -0.0079856151714921, -0.02832931838929653, -0.0170045904815197, 0.019390137866139412, -0.06578698009252548, -0.06388641148805618, 0.012648837640881538, -0.01863277330994606, -0.012855106964707375, -0.05907822027802467, -0.02600894868373871, -0.05603904277086258, -0.014426706358790398, 0.019758103415369987, 0.040593571960926056, 0.01567973755300045, -0.033505748957395554, 0.005390461999922991, -0.046094417572021484, -0.0406242199242115, -0.04354771226644516, -0.04019807279109955, -0.03347848728299141, -0.06760153919458389, 0.023143485188484192, 0.04201243072748184, 0.05377998575568199, 0.011906868778169155, 0.008999156765639782, 0.011494569480419159, -0.03753453120589256, 0.05279777944087982, 0.06236189231276512, -0.023942511528730392, -0.05698055401444435, 0.016057094559073448, 0.010476791299879551, 0.01811683550477028, -0.0026230800431221724, -0.020213576033711433, 0.06390159577131271, 0.07441852986812592, 0.032093435525894165, 0.006630797870457172, -0.011270811781287193, -0.029461929574608803, -0.06829824298620224, -0.040730614215135574, -0.04069378599524498, -0.011390152387320995, -0.02302737534046173, -0.051640767604112625, -0.011163368821144104, -0.04215409606695175, 0.012488148175179958, 0.013553354889154434, 0.008538724854588509, 0.040193669497966766, 0.034269627183675766, 0.033293429762125015, 0.019445614889264107, -0.041001804172992706, -0.011170266196131706, 0.07072073221206665, 0.008687201887369156, 0.011397972702980042, -0.051674675196409225, -0.03239678591489792, 0.04742070659995079, 0.03440273553133011, -0.006453745998442173, -0.01434059627354145, 0.09360752999782562, 0.01602287031710148, 0.017461029812693596, 0.016870269551873207, -0.034022118896245956, -0.05770024657249451, -0.016995565965771675, 0.014027738943696022, -0.038887377828359604, -0.04152408614754677, -0.01983199268579483, -0.011486418545246124, 0.0580727756023407, -0.06416691094636917, -0.03656225651502609, -0.020191822201013565, 0.028967054560780525, 0.021640440449118614, -0.005384283140301704, -0.0402541384100914, 0.0009476180421188474, -0.05197716876864433, -0.016415853053331375, 0.011637533083558083, -0.01812734641134739, 0.019002161920070648, 0.054415781050920486, 0.0305120050907135, -0.047633737325668335, 0.02474154531955719, 0.020548077300190926, 0.07531312108039856, 0.026281224563717842, -0.03659239038825035, 0.03288005292415619, -0.016754932701587677, 0.0022164471447467804, 0.001905633369460702, -0.013621242716908455, -0.05803275108337402, -0.08471907675266266, 0.013776455074548721, -0.012824581936001778, -0.005370423663407564, -0.01806923747062683, 0.0671389102935791, -0.009606057778000832, 0.0065416982397437096, -0.006118743680417538, 0.0002913795178756118, 0.03220163658261299, -0.06971673667430878, 0.06397214531898499, 0.012434816919267178, 0.01809191331267357, -0.04714811593294144, 0.011615438386797905, -0.01165102794766426, -0.023900531232357025, -0.018786480650305748, 0.07046610116958618, 0.019560977816581726, 0.04442734271287918, 0.06444621086120605, 0.021623963490128517, -0.03198372945189476, 0.029330911114811897, 0.012659987434744835, -0.020056862384080887, -0.06351517885923386, -0.01907200738787651, -0.02162335067987442, -0.04351061210036278, -0.02047850377857685, -0.01947948895394802, 0.03644789010286331, 0.03642190247774124, 0.011209690012037754, -0.028112037107348442, 0.0038451270665973425, -0.02350948005914688, -0.03581789508461952, -0.053894270211458206, -0.017859574407339096, -0.010778984054923058, -0.019943129271268845, 0.014347244054079056, 0.016172200441360474, 0.0017806042451411486, 0.04295765608549118, 0.06069513410329819, -0.01269158162176609, -0.04559715464711189, 0.026039669290184975, 0.03018428385257721, -0.03521276265382767, -0.05488347262144089, -0.050477106124162674, 0.04307960346341133, 0.04050470143556595, 0.009337225928902626, -0.09142880886793137, -0.0028224936686456203, 0.037188850343227386, -0.03671639412641525, 0.03201226517558098, -0.014125518500804901, 0.04211452230811119, 0.03517073020339012, -0.00376520911231637, 0.012999034486711025, -0.010757559910416603, 0.012766548432409763, -0.01250427681952715, 0.046164076775312424, -0.021945927292108536, -0.03956766426563263, -0.06481131166219711, 0.03110889345407486, 0.014431389980018139, 0.052583202719688416, 0.034033071249723434, -0.013581658713519573, -0.06605808436870575, 0.013329189270734787, 0.025142766535282135, -0.03724834695458412, 0.012445862405002117, 0.02577180042862892, 0.04872262105345726, -0.05529889836907387, -0.038463640958070755, -0.001487727859057486, 0.011297465302050114, 0.03576260060071945, -0.004084813874214888, -0.02588820271193981, -0.046313077211380005, 0.004050040617585182, -0.03949301689863205, -0.010295778512954712, -0.07296311855316162, 0.003176651895046234, -0.014794937334954739, -0.011097513139247894, 0.016173183917999268, 0.042229633778333664, 0.0501040518283844, 0.052318695932626724, 0.010194117203354836, 0.010552527382969856, -0.04907038435339928, 0.0461156852543354, -0.03773965314030647, -0.008234990760684013, 0.0031255960930138826, -0.033145636320114136, -0.008760771714150906, -0.05708911269903183, -0.042416900396347046, -0.04090219736099243, -0.01637188531458378, 0.0498364083468914, -0.022073110565543175, 0.019730448722839355, 0.0052318391390144825, 0.018603218719363213, -0.007577924523502588, -0.023594344034790993, -0.02075166441500187, -0.022992044687271118, -0.05285879224538803, -0.048494741320610046, 0.031097963452339172, 0.0061621349304914474, 0.03913986682891846, 0.0035088725853711367, 0.010494429618120193, -0.003594332141801715, 0.018522007390856743, -0.026216397061944008, 0.043406106531620026, -0.009748301468789577, -0.031207922846078873, -0.034854501485824585, -0.006118376273661852, 0.02007640153169632, 0.04590795189142227, -0.029965847730636597, 0.03065164014697075, 0.030645888298749924, -0.004171539563685656, -0.004925935063511133, 0.0045053609646856785, 0.03079039230942726, -0.06623797118663788, -0.04291351139545441, -0.021311741322278976, -0.06145062297582626, 0.031240100041031837, -0.02398095279932022, -0.020816385746002197, 0.021024785935878754, 0.012607642449438572, 0.05425374582409859, 0.013249224983155727, -0.04524416849017143, 0.011544558219611645, -0.014926904812455177, 0.011743210256099701, -0.06438042968511581, 0.042730506509542465, -0.05448375642299652, 0.013786202296614647, -0.0083901546895504, 0.0040914821438491344, -0.0363352969288826, 0.025940831750631332, -0.011759269051253796, -0.008467230014503002, -0.026269152760505676, 0.01375142764300108, -0.014637184329330921, 0.041083578020334244, -0.0572047121822834, 0.006700688973069191, -0.027761345729231834, 0.05826486647129059, -0.051333438605070114, -0.014089326374232769, -0.030146723613142967, -0.022041305899620056, -0.02462155930697918, -0.02357790805399418, -0.02219589240849018, -0.05677284300327301, 0.022481005638837814, 0.04611304774880409, 0.035839296877384186, 0.012200919911265373, -0.03923293203115463, -0.0020471527241170406, 0.01345255970954895, -0.08251264691352844, -0.023067375645041466, 0.001914209104143083, 0.00144220853690058, 0.00001484541644458659, 0.06180831789970398, 0.07203222066164017, -0.04367518797516823, -0.051960475742816925, 0.03324136510491371, 0.019570600241422653, 0.0062508354894816875, 0.002399199176579714, 0.038538601249456406, 0.021514540538191795, 0.053512878715991974, -0.0492716059088707, 0.0014630570076406002, -0.0006110522663220763, -0.03285486251115799, 0.035268284380435944, -0.0011616162955760956, 0.008525688201189041, 0.025578545406460762, -0.020870229229331017, -0.018544862046837807, 0.06722188740968704, 0.03100576251745224, 0.010088208131492138, -0.007636932656168938, -0.049726735800504684, 0.01098406407982111, 0.001201403676532209, -0.056509170681238174, 0.017998788505792618, -0.005483969114720821, -0.03245563060045242, 0.06969805806875229, -0.03087875247001648, 0.00014365084643941373, 0.06405185163021088, 0.017837686464190483, -0.023061800748109818, 0.01920417509973049, -0.0019663104321807623, -0.015175806358456612, 0.03731084242463112, -0.06308552622795105, -0.020377015694975853, -0.0272531621158123, 0.084654800593853, -0.05069480836391449, 0.041200749576091766, 0.03612926974892616, 0.011053739115595818, 0.014509281143546104, -0.02065984532237053, -0.019222255796194077, 0.00632461067289114, -0.04062448814511299, 0.08898131549358368, 0.006095531862229109, -0.08171557635068893, 0.07901336997747421, 0.030056452378630638, -0.07270897924900055, 0.040071550756692886, 0.03977571427822113, 0.015372302383184433, 0.02211056277155876, 0.049310192465782166, -0.05932144820690155, -0.000561290537007153, -0.028493311256170273, 0.03443659096956253, -0.03764401376247406, -0.027267122641205788, -0.0022741639986634254, -0.0654793232679367, -0.0025169106665998697, 0.028927981853485107, -0.017551932483911514, -0.012872192077338696, 0.01404038816690445, -0.07144847512245178, -0.0657428652048111, 0.002383413026109338, 0.018124179914593697, -0.026622625067830086, -0.01087999064475298, -0.02695772610604763, 0.02602306939661503, 0.03223085775971413, -0.010756180621683598, -0.028456715866923332, 0.013569417409598827, 0.016614092513918877, -0.09760785102844238, -0.038851361721754074, 0.03330954909324646, 0.014685644768178463, -0.017047397792339325, 0.008740688674151897, -0.00497181061655283, -0.000799325353000313, 0.03725837916135788, -0.006240255199372768, 0.030638711526989937, -0.054267339408397675, -0.013536305166780949, 0.01732097566127777, 0.011973085813224316, 0.02452116459608078, -0.030997877940535545, 0.025854328647255898, 0.018555860966444016, 0.044904861599206924, -0.003403434297069907, -0.04586782306432724, -0.0034198116045445204, 0.021938523277640343, -0.05504623427987099, 0.020024605095386505, 0.011890529654920101, -0.0659848004579544, -0.03455112501978874, -0.019621260464191437, 0.005634891800582409, 0.027767350897192955, -0.030248815193772316, -0.0026627120096236467, 0.0297568216919899, -0.021939337253570557, -0.016000092029571533, -0.1010301485657692, -0.023523377254605293, -0.031106777489185333, 0.012008964084088802, 0.03542618453502655, -0.05061749368906021, 0.029847444966435432, -0.03943956270813942, -0.04496988654136658, 0.03030121512711048, 0.012537095695734024, -0.053567394614219666, 0.03162919729948044, 0.04581757262349129, -0.06900199502706528, 0.017848314717411995, 0.04098713770508766, -0.022654591128230095, 0.028041820973157883, 0.013203057460486889, 0.01714550144970417, 0.03827327489852905, 0.005159732419997454, -0.020616590976715088, -0.0031193355098366737, -0.05953294783830643, -0.039162777364254, -0.029582025483250618, 0.021152423694729805, 0.07923067361116409 ]
Battlehooks/distilbert-base-uncased-finetuned-squad
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
# <a name="introduction"></a> PhoBERT: Pre-trained language models for Vietnamese Pre-trained PhoBERT models are the state-of-the-art language models for Vietnamese ([Pho](https://en.wikipedia.org/wiki/Pho), i.e. "Phở", is a popular food in Vietnam): - Two PhoBERT versions of "base" and "large" are the first public large-scale monolingual language models pre-trained for Vietnamese. PhoBERT pre-training approach is based on [RoBERTa](https://github.com/pytorch/fairseq/blob/master/examples/roberta/README.md) which optimizes the [BERT](https://github.com/google-research/bert) pre-training procedure for more robust performance. - PhoBERT outperforms previous monolingual and multilingual approaches, obtaining new state-of-the-art performances on four downstream Vietnamese NLP tasks of Part-of-speech tagging, Dependency parsing, Named-entity recognition and Natural language inference. The general architecture and experimental results of PhoBERT can be found in our EMNLP-2020 Findings [paper](https://arxiv.org/abs/2003.00744): @article{phobert, title = {{PhoBERT: Pre-trained language models for Vietnamese}}, author = {Dat Quoc Nguyen and Anh Tuan Nguyen}, journal = {Findings of EMNLP}, year = {2020} } **Please CITE** our paper when PhoBERT is used to help produce published results or is incorporated into other software. For further information or requests, please go to [PhoBERT's homepage](https://github.com/VinAIResearch/PhoBERT)! ### Installation <a name="install2"></a> - Python 3.6+, and PyTorch 1.1.0+ (or TensorFlow 2.0+) - Install `transformers`: - `git clone https://github.com/huggingface/transformers.git` - `cd transformers` - `pip3 install --upgrade .` ### Pre-trained models <a name="models2"></a> Model | #params | Arch. | Pre-training data ---|---|---|--- `vinai/phobert-base` | 135M | base | 20GB of texts `vinai/phobert-large` | 370M | large | 20GB of texts ### Example usage <a name="usage2"></a> ```python import torch from transformers import AutoModel, AutoTokenizer phobert = AutoModel.from_pretrained("vinai/phobert-base") tokenizer = AutoTokenizer.from_pretrained("vinai/phobert-base") # INPUT TEXT MUST BE ALREADY WORD-SEGMENTED! line = "Tôi là sinh_viên trường đại_học Công_nghệ ." input_ids = torch.tensor([tokenizer.encode(line)]) with torch.no_grad(): features = phobert(input_ids) # Models outputs are now tuples ## With TensorFlow 2.0+: # from transformers import TFAutoModel # phobert = TFAutoModel.from_pretrained("vinai/phobert-base") ```
[ -0.034132182598114014, -0.009682399220764637, -0.010766854509711266, 0.04849337413907051, 0.021274270489811897, 0.02070578560233116, 0.01309120375663042, -0.0008901157998479903, -0.029152454808354378, 0.04062929376959801, 0.032756507396698, -0.022834692150354385, -0.0013122063828632236, 0.01828259602189064, -0.03536316752433777, -0.03246274217963219, -0.012911983765661716, -0.000017540247426950373, -0.0588841550052166, 0.017459359019994736, 0.009820403531193733, 0.02154364623129368, 0.008706778287887573, 0.029961274936795235, 0.013463489711284637, 0.015295078977942467, -0.016547590494155884, 0.04402701556682587, 0.01779187098145485, -0.06460519880056381, 0.001969616860151291, -0.03311831131577492, -0.025416143238544464, 0.0017665346385911107, -0.010950377210974693, -0.008836965076625347, 0.01225209143012762, 0.007497154176235199, 0.029188089072704315, 0.07368391752243042, -0.001274556270800531, -0.0037751244381070137, -0.008106120862066746, -0.04334956035017967, 0.040292881429195404, 0.022711215540766716, -0.016995513811707497, -0.03300107270479202, 0.01708928681910038, -0.026271091774106026, -0.03543172776699066, -0.05697943642735481, -0.0037654300685971975, 0.0383307971060276, -0.016804292798042297, -0.02707993984222412, -0.046446677297353745, -0.0033868916798382998, 0.06945320963859558, -0.039662137627601624, -0.017631862312555313, 0.0032246753107756376, -0.06981942057609558, 0.025697050616145134, 0.03073093853890896, -0.05231345072388649, 0.00804114155471325, -0.027347631752490997, 0.007203129585832357, -0.01090309303253889, 0.03823015093803406, -0.02259102091193199, 0.0004289545177016407, -0.0980556309223175, -0.014699981547892094, 0.0014000661903992295, 0.047901928424835205, 0.04134542867541313, -0.039867911487817764, 0.04259944334626198, -0.0036210999824106693, 0.009276880882680416, 0.02334217168390751, -0.0336134172976017, 0.008003157563507557, 0.03542999550700188, -0.03002217970788479, 0.004802086390554905, 0.014485611580312252, 0.04564167559146881, -0.05501123145222664, -0.05429081991314888, -0.005177141632884741, -0.01767544448375702, 0.003164305118843913, 0.038406457751989365, 0.03435548022389412, 0.0020135988015681505, 0.030134771019220352, 0.027620913460850716, 0.047448065131902695, 0.04825059324502945, -0.01878853514790535, 0.03814508393406868, -0.016809243708848953, -0.0037304565776139498, -0.014489427208900452, -0.0593431256711483, -0.042680010199546814, 0.04024933651089668, 0.019995594397187233, -0.05685209482908249, -0.03149467334151268, 0.07961060851812363, 0.022225819528102875, -0.01909872144460678, 0.030303271487355232, -0.0569673553109169, -0.041389089077711105, -0.055775418877601624, 0.0485878624022007, 0.0010260313283652067, 0.0054219551384449005, -0.0007726112380623817, -0.06767148524522781, 0.011559639126062393, -0.052234865725040436, -0.020711056888103485, -0.014325005002319813, 0.03299100697040558, -0.005558179225772619, 0.04266435280442238, 0.02642201818525791, -0.041692111641168594, -0.005422335118055344, 0.0000636336044408381, -0.0688759833574295, 0.0459393672645092, 0.0227452851831913, 0.10060378164052963, -0.054027020931243896, -0.04494697228074074, 0.02505822479724884, 0.012485736981034279, -0.03306742012500763, 0.012347452342510223, 0.013426187448203564, -0.04448594152927399, -0.02205800637602806, -0.013800610788166523, 0.05859683081507683, -0.07353485375642776, -0.035284705460071564, 0.08659263700246811, -0.005365042481571436, 0.055469296872615814, -0.036273956298828125, 0.006742369849234819, -0.0034495496656745672, 0.004211516585201025, -0.021773993968963623, 0.03098219446837902, -0.01261586882174015, -0.009237358346581459, -0.05817626044154167, -0.03654466196894646, 0.015280332416296005, 0.09994567930698395, -0.010777098126709461, -0.016582487151026726, -0.03032882697880268, 0.012787921354174614, 0.07318176329135895, 0.04193557798862457, -0.033701758831739426, 0.036253705620765686, 0.07004424184560776, 0.027916166931390762, -0.03387618809938431, 0.05792449787259102, 0.008383693173527718, -0.03452161327004433, -0.025563351809978485, 0.03485483676195145, 0.0064252819865942, -0.035872720181941986, 0.01483940053731203, 0.05618637055158615, -0.01835106872022152, -0.048533082008361816, 0.012854601256549358, 0.042263347655534744, 0.00023487888392992318, 0.017721036449074745, 0.0026461516972631216, -0.005522493738681078, -0.028574658557772636, 0.03466964513063431, -0.03235328570008278, -0.004450797103345394, -0.009497152641415596, -0.019722996279597282, -0.011411269195377827, 0.016321050003170967, 0.03868526220321655, 0.046393007040023804, -0.004130047746002674, 0.08498764783143997, -0.023701753467321396, 0.02290552482008934, -0.03736468404531479, -0.007820626720786095, 0.0003070748643949628, 0.036701228469610214, 0.04064105823636055, 0.0413321927189827, -0.022542499005794525, -0.0571100227534771, 0.036989469081163406, 0.04334303364157677, 0.07101898640394211, 0.024630680680274963, -0.03514306992292404, 0.008988620713353157, 0.020004797726869583, 0.07316484302282333, -0.057171083986759186, -0.04519536718726158, -0.0015437781112268567, 0.036374758929014206, -0.016754884272813797, -0.004011929966509342, -0.03580601140856743, 0.03939469903707504, -0.03819448500871658, -0.05916590988636017, 0.06282336264848709, 0.016501301899552345, 0.02805427834391594, 0.048028480261564255, -0.005254906136542559, -0.008543228730559349, 0.024072127416729927, 0.03449128940701485, -0.006451920606195927, -0.022362662479281425, -0.018776720389723778, 0.010286056436598301, 0.056451912969350815, -0.04124242067337036, 0.042763084173202515, 0.0039916313253343105, 0.02716335654258728, 0.033898528665304184, -0.047380559146404266, 0.042850516736507416, 0.03039589151740074, -0.010028543882071972, -0.016835369169712067, 0.015450750477612019, -0.011619336903095245, 0.04818558692932129, 0.06559054553508759, -0.0009003657614812255, 0.09400760382413864, 0.02220257930457592, 0.04710404947400093, 0.05945366248488426, 0.014832320623099804, 0.03487979993224144, 0.0266156904399395, 0.055136535316705704, -0.0021099350415170193, 0.011757184751331806, 0.055707283318042755, -0.034021198749542236, 0.0006582430796697736, -0.04260622337460518, 0.010306267999112606, -0.021271394565701485, -0.0030254435259848833, 0.03971688821911812, 0.004870522301644087, -0.007159064523875713, 0.017393987625837326, -0.011794879101216793, 0.0004902013461105525, 0.04591581970453262, -0.005776761565357447, -0.010732651688158512, 0.026216180995106697, -0.007309740409255028, 0.024160612374544144, -0.07654765993356705, -0.033305440098047256, 0.021928301081061363, -0.04158085957169533, 0.006128605920821428, -0.061252959072589874, -0.03016963228583336, -0.0674753487110138, -0.0312490276992321, 0.02425919473171234, 0.012809759937226772, 0.006512039806693792, -0.04575808718800545, 0.0012035758700221777, -0.05615033954381943, -0.022358931601047516, -0.027108877897262573, -0.06216762587428093, -0.02356107346713543, -0.05749885365366936, 0.06926801800727844, 0.02601024881005287, 0.03603917360305786, 0.0007314220420084894, 0.00919839646667242, -0.00830543227493763, -0.02703179232776165, 0.05650091916322708, 0.023096304386854172, -0.0436004139482975, -0.03219107538461685, 0.024109866470098495, 0.0129607068374753, 0.013775807805359364, -0.0011573388474062085, -0.026936043053865433, 0.08001821488142014, 0.05268533155322075, 0.008533568121492863, -0.014583103358745575, -0.014798637479543686, -0.048070233315229416, -0.062386419624090195, -0.006976518779993057, -0.05940430611371994, -0.004283847287297249, -0.019674027338624, -0.02884185127913952, 0.005501211155205965, -0.038174282759428024, -0.027637213468551636, -0.0006902179447934031, -0.03609767183661461, 0.032762300223112106, 0.04436703771352768, 0.034874238073825836, 0.042580053210258484, -0.014300590381026268, -0.03612171858549118, 0.057066693902015686, 0.0021859363187104464, -0.013544312678277493, -0.07432650029659271, -0.03013039380311966, 0.04106868803501129, 0.03393320366740227, 0.007939198054373264, -0.03157413378357887, 0.06867437064647675, 0.016218261793255806, -0.017570525407791138, 0.0007118601934053004, -0.03270495682954788, -0.06997700035572052, -0.03178386390209198, -0.023221539333462715, -0.008044538088142872, -0.06434770673513412, -0.0027385272551327944, 0.0031666778959333897, 0.03285520523786545, -0.06890502572059631, -0.0638125091791153, -0.005328271072357893, 0.039271485060453415, 0.027843212708830833, -0.03296329826116562, -0.04479789733886719, 0.007810838986188173, -0.03919339179992676, -0.021506452932953835, 0.0002992164227180183, -0.000056933695304905996, 0.03561115264892578, 0.05567192658782005, 0.016388602554798126, -0.028196312487125397, 0.0062914444133639336, 0.032984599471092224, 0.059672292321920395, 0.023491688072681427, -0.025237105786800385, 0.030158821493387222, -0.03824206441640854, 0.026999859139323235, -0.011293197050690651, -0.013557616621255875, -0.04252108931541443, -0.08004836738109589, 0.004034640267491341, -0.008296544663608074, -0.01907472126185894, -0.03024335205554962, 0.04721828177571297, -0.026806414127349854, 0.01133390236645937, 0.025882843881845474, 0.002204430988058448, 0.02902708202600479, -0.0637519434094429, 0.0712905079126358, 0.0013908323599025607, 0.04197997972369194, -0.049660343676805496, 0.015823813155293465, -0.04915471002459526, -0.03676203638315201, 0.009368431754410267, 0.07646125555038452, 0.030958350747823715, 0.054989494383335114, 0.07631098479032516, 0.0075781806372106075, -0.04732359200716019, 0.06262551248073578, 0.05757914483547211, -0.00257737934589386, -0.054953787475824356, -0.01624762825667858, -0.03846299275755882, -0.0056618559174239635, -0.01731666550040245, -0.03699496388435364, 0.0204672459512949, 0.03585868328809738, -0.022608045488595963, -0.00735509255900979, 0.007240751292556524, -0.0003946259093936533, -0.03120148926973343, -0.037918299436569214, -0.03917534649372101, -0.01424933597445488, -0.01771155558526516, 0.03798960521817207, 0.030851656571030617, 0.010922563262283802, 0.07226347178220749, 0.04540925845503807, -0.013187036849558353, 0.0020411789882928133, 0.004953283350914717, 0.04451567679643631, -0.03811827301979065, -0.05302220582962036, -0.04618347808718681, 0.03044641949236393, 0.06167425960302353, -0.023490305989980698, -0.06509814411401749, 0.007187493611127138, 0.04511129483580589, -0.034725483506917953, 0.05370841920375824, -0.01365200337022543, 0.020331595093011856, 0.042632319033145905, -0.017605990171432495, 0.008504576049745083, -0.005843680817633867, 0.010815423913300037, -0.03467009961605072, 0.012081601656973362, -0.041231125593185425, -0.03645112365484238, -0.026188908144831657, 0.013191403821110725, 0.02441401593387127, 0.03944740816950798, 0.028563527390360832, -0.02551458030939102, -0.04831996187567711, 0.022297529503703117, 0.015823431313037872, -0.03481375798583031, 0.010737305507063866, 0.028957214206457138, 0.0361393503844738, -0.06294360756874084, -0.037568289786577225, -0.005218294449150562, -0.0050567989237606525, 0.029875123873353004, -0.010019009001553059, -0.04047168418765068, -0.05469556525349617, 0.012689215131103992, -0.018580585718154907, -0.008766992948949337, -0.09959565103054047, 0.005808730609714985, -0.030437536537647247, -0.013553572818636894, 0.04276883974671364, 0.015530824661254883, 0.03505459800362587, 0.03447618708014488, 0.010532933287322521, 0.003917266149073839, -0.023918909952044487, 0.04536355286836624, -0.029089652001857758, -0.022490739822387695, -0.00011875091149704531, -0.03771137073636055, -0.01270959060639143, -0.04085573926568031, -0.0336957611143589, -0.03807882219552994, -0.00695680221542716, 0.02159111201763153, -0.037242285907268524, 0.013523753732442856, -0.004582864232361317, 0.024476712569594383, -0.020009629428386688, -0.03958875685930252, -0.02543029747903347, -0.04056807607412338, -0.04660285264253616, -0.042099807411432266, 0.017539007589221, 0.0075476462952792645, 0.03714839369058609, -0.009374864399433136, -0.008857041597366333, 0.009723614901304245, 0.010619621723890305, -0.026236167177557945, 0.03417517989873886, 0.01260121539235115, -0.030857466161251068, -0.019384115934371948, 0.017105557024478912, 0.012224932201206684, 0.03965852037072182, -0.034489408135414124, 0.039250414818525314, 0.012447120621800423, -0.0241960808634758, -0.017254557460546494, 0.021877404302358627, 0.03817594796419144, -0.06070707365870476, -0.045746248215436935, -0.015459212474524975, -0.036560989916324615, 0.04619896411895752, -0.012921524234116077, -0.0223405659198761, 0.017535880208015442, 0.04504328966140747, 0.03275880590081215, -0.02334991842508316, -0.03954232111573219, 0.01889399066567421, -0.004044834990054369, 0.00021038133127149194, -0.05269891023635864, 0.021440021693706512, -0.040632009506225586, 0.024513158947229385, 0.005791415460407734, -0.01809038035571575, -0.07078435271978378, 0.04470051825046539, -0.01747613400220871, -0.0017679553711786866, -0.05547168105840683, 0.012046797201037407, -0.0392574667930603, 0.03134987875819206, -0.034557994455099106, 0.006151613313704729, -0.01975661888718605, 0.04827702045440674, -0.05829929932951927, -0.01734514907002449, -0.009165455587208271, 0.02500501088798046, -0.0394408144056797, -0.025388482958078384, 0.016703136265277863, -0.023968227207660675, 0.04002330079674721, 0.038169585168361664, 0.03139118850231171, 0.028151916339993477, -0.0198178943246603, 0.01132478378713131, 0.02334657497704029, -0.06324311345815659, -0.004915404133498669, 0.014148634858429432, 0.023315565660595894, 0.018191292881965637, 0.047393400222063065, 0.03743519261479378, -0.06680160760879517, -0.03505033627152443, 0.06225978583097458, 0.005997996777296066, 0.005766653455793858, -0.0014846241101622581, 0.017040524631738663, 0.04219501465559006, 0.0435963049530983, -0.02222910337150097, 0.0020956494845449924, -0.023017846047878265, -0.032484445720911026, -0.006103172432631254, 0.006889247801154852, 0.024333620443940163, 0.007793051656335592, -0.023924751207232475, -0.031892646104097366, 0.06289465725421906, 0.0393754243850708, -0.017859647050499916, 0.002050739945843816, -0.03919176384806633, 0.043817952275276184, 0.02483447454869747, -0.05550982803106308, -0.012014509178698063, -0.011268215253949165, -0.02785823494195938, 0.07324240356683731, -0.015619955025613308, 0.03383990004658699, 0.047963231801986694, 0.022607484832406044, 0.013792461715638638, 0.04618540406227112, -0.0291788000613451, 0.018083304166793823, 0.025446180254220963, -0.05111075937747955, 0.0005251585971564054, -0.019545679911971092, 0.06922577321529388, -0.06300479173660278, 0.04935498535633087, 0.04969225451350212, -0.002522297902032733, 0.023241009563207626, -0.05983712896704674, -0.04203791543841362, 0.030386796221137047, -0.044510722160339355, 0.08570229262113571, 0.013633386231958866, -0.045781027525663376, 0.047255098819732666, 0.030618950724601746, -0.072931207716465, 0.06197177991271019, 0.03601272031664848, 0.012452746741473675, 0.01957545429468155, 0.03455919399857521, -0.06718122959136963, -0.0013441703049466014, -0.032361336052417755, 0.04277081787586212, -0.07902468740940094, -0.012506993487477303, -0.0006477176793850958, -0.04668767377734184, -0.011115120723843575, 0.04975344240665436, -0.044406283646821976, -0.012796564027667046, 0.032884884625673294, -0.06968770176172256, -0.08819735050201416, -0.02581651136279106, 0.018111247569322586, -0.01956392079591751, -0.009418763220310211, -0.04834572225809097, -0.003536081872880459, 0.026163216680288315, -0.0014370393473654985, -0.05008424445986748, -0.02586842142045498, 0.01502046175301075, -0.05827845633029938, -0.02963569574058056, 0.05802887678146362, 0.014743351377546787, -0.02592482976615429, 0.01949070394039154, -0.010231799446046352, 0.033264584839344025, 0.033547669649124146, 0.017892329022288322, 0.02000110037624836, -0.059158556163311005, -0.007986473850905895, 0.04174298048019409, 0.004357388708740473, 0.014576300978660583, -0.025611331686377525, 0.02433762699365616, 0.04938367381691933, 0.03697431460022926, -0.015029956586658955, -0.031561288982629776, -0.03805726394057274, 0.03300059586763382, -0.028417391702532768, 0.023839879781007767, 0.01787198893725872, -0.042858850210905075, -0.043013911694288254, 0.012863853015005589, -0.0050792633555829525, 0.056154005229473114, -0.039192426949739456, 0.018968338146805763, 0.036317359656095505, -0.031669747084379196, -0.04924892634153366, -0.08970501273870468, -0.03505069762468338, -0.043608032166957855, 0.0286677498370409, 0.024329911917448044, -0.0507553294301033, 0.01596854254603386, -0.03872286155819893, -0.056883785873651505, 0.03309079632163048, 0.016424618661403656, -0.05893464386463165, 0.06778272986412048, 0.02930591255426407, -0.03204016387462616, 0.025814250111579895, 0.05113143473863602, -0.03348742425441742, 0.05373729020357132, 0.009112008847296238, -0.0028543216176331043, 0.03345509618520737, 0.019961219280958176, -0.039506420493125916, -0.034907132387161255, -0.09160467982292175, -0.033402569591999054, -0.0257644634693861, 0.0006498917937278748, 0.06451970338821411 ]
BatuhanYilmaz/bert-finetuned-ner
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - conversational --- #Harry Potter DialoGPT Model
[ -0.02885996550321579, 0.003791982773691416, 0.013054623268544674, 0.03358133137226105, 0.009907732717692852, 0.019981790333986282, 0.0020597942639142275, 0.014792696572840214, -0.017083635553717613, 0.009989479556679726, 0.03046690858900547, -0.03606981411576271, 0.006808205973356962, 0.03373841941356659, -0.022320788353681564, -0.027794301509857178, -0.034773003309965134, -0.009027833119034767, -0.010562336072325706, -0.024387121200561523, 0.020293425768613815, 0.017971955239772797, -0.026084376499056816, 0.03752616420388222, 0.0019827652722597122, 0.01502304058521986, -0.018827786669135094, 0.007965951226651669, 0.028193024918437004, -0.052345145493745804, 0.004229576326906681, -0.04679488763213158, -0.038973089307546616, -0.021952781826257706, -0.029883714392781258, -0.031042050570249557, 0.01182169746607542, -0.0022251370828598738, -0.002189285820350051, 0.030488308519124985, -0.024957217276096344, 0.007523701526224613, 0.0006920745363458991, -0.058139603585004807, 0.08334502577781677, -0.004672331735491753, -0.045455291867256165, -0.013704565353691578, 0.021362366154789925, -0.04025387018918991, -0.035096652805805206, -0.06241510435938835, -0.060561686754226685, -0.020828304812312126, 0.022929232567548752, -0.04543862119317055, -0.07242243736982346, -0.011450623162090778, 0.09463083744049072, -0.014103285036981106, -0.0014229295775294304, -0.00496527086943388, -0.06501714885234833, 0.005692067090421915, 0.023219188675284386, -0.08444882184267044, 0.022511795163154602, -0.03296751528978348, 0.01410907693207264, -0.03321155160665512, 0.05763944610953331, -0.05507243052124977, 0.018479805439710617, -0.08244461566209793, -0.004585152491927147, 0.009167098440229893, 0.06073061376810074, 0.057628192007541656, -0.05123809725046158, 0.05194014310836792, 0.03809545189142227, 0.014928665943443775, 0.038501303642988205, -0.014919844456017017, -0.038135021924972534, 0.04574995115399361, -0.04659842699766159, -0.015157832764089108, 0.0052335429936647415, 0.039334192872047424, -0.025852199643850327, -0.05015304312109947, -0.03722437098622322, -0.012125881388783455, 0.0016845999052748084, 0.05645161122083664, 0.02385387383401394, -0.03462798148393631, 0.011815707199275494, 0.050986118614673615, 0.02238915115594864, 0.0468212366104126, -0.02716064639389515, 0.03491997718811035, -0.014278202317655087, 0.02572873793542385, 0.027642840519547462, -0.02123403176665306, -0.028972290456295013, 0.02823704481124878, 0.012135366909205914, -0.042815200984478, -0.031006142497062683, 0.042430438101291656, 0.024474576115608215, 0.018197834491729736, 0.034865718334913254, -0.036985449492931366, -0.036223817616701126, -0.06015066057443619, 0.04652508348226547, -0.010177161544561386, 0.004209601785987616, -0.0028673196211457253, -0.05785002559423447, -0.004022677429020405, -0.0471029169857502, -0.029281780123710632, -0.011990247294306755, 0.00634336331859231, 0.024293264374136925, 0.03570631146430969, -0.028980998322367668, -0.06273256987333298, 0.01859106309711933, 0.047055721282958984, -0.06131364032626152, -0.00022192831966094673, 0.04818447679281235, 0.09633024036884308, -0.07366211712360382, -0.025915436446666718, 0.01483539491891861, 0.011027921922504902, -0.028634972870349884, 0.004185605328530073, -0.004214001819491386, -0.014936728402972221, -0.05699877813458443, -0.013862202875316143, 0.007931570522487164, -0.05273207649588585, -0.015812747180461884, 0.045064348727464676, -0.015220501460134983, 0.008263323456048965, -0.032714616507291794, 0.002134837908670306, -0.024840982630848885, -0.034264545887708664, -0.05226205289363861, 0.03410135582089424, -0.02127288281917572, -0.028113259002566338, -0.05238926783204079, -0.04126846417784691, 0.01331655215471983, 0.07105682790279388, 0.016393249854445457, -0.014893054962158203, -0.02634415589272976, 0.05034572631120682, 0.06307639926671982, 0.04109810292720795, -0.027761710807681084, 0.023461779579520226, 0.03481035307049751, 0.017329303547739983, -0.027762575075030327, 0.06346353888511658, 0.013970506377518177, -0.03515223041176796, -0.04697268083691597, -0.023835644125938416, 0.021338937804102898, -0.014601550064980984, 0.018716569989919662, 0.041443854570388794, -0.03839515522122383, -0.047209929674863815, 0.022926779463887215, 0.05657617375254631, -0.028223557397723198, -0.0030463822185993195, -0.016918549314141273, -0.016227049753069878, -0.026627611368894577, 0.04065869748592377, -0.04556508734822273, 0.0029850569553673267, -0.02246806025505066, -0.0038210400380194187, 0.023859359323978424, -0.0031414737459272146, -0.009937269613146782, 0.03470674157142639, -0.002814025152474642, 0.08013344556093216, -0.025413408875465393, 0.026796044781804085, -0.030120626091957092, -0.005239400546997786, -0.028757018968462944, 0.024433162063360214, 0.018216438591480255, 0.04263858124613762, -0.04951375722885132, -0.05977655202150345, 0.031942520290613174, 0.06414184719324112, 0.028279192745685577, 0.0311433132737875, -0.01939217746257782, -0.010414623655378819, 0.030738312751054764, 0.0380428284406662, -0.0358608141541481, 0.0006576462183147669, -0.00505622336640954, 0.0278550423681736, -0.011784189380705357, -0.030301563441753387, -0.04091748595237732, 0.0032498673535883427, -0.0316200889647007, -0.07615724951028824, 0.04617329314351082, 0.0288443174213171, -0.01070648618042469, 0.020081359893083572, -0.015683304518461227, 0.01439523883163929, 0.03348802030086517, 0.005975284148007631, 0.0032795146107673645, -0.07289064675569534, -0.004738965537399054, 0.010135424323379993, 0.08791151642799377, -0.04893472418189049, 0.008587030693888664, 0.01746240444481373, 0.02380303107202053, 0.03832998126745224, -0.009776918217539787, 0.034316178411245346, 0.06741628050804138, 0.04164255037903786, -0.03249930590391159, 0.0422574020922184, -0.00026802296633832157, 0.04919904097914696, 0.05113144591450691, 0.0012498057913035154, 0.053583674132823944, -0.003940653521567583, 0.02955346554517746, 0.03795832023024559, 0.014746204949915409, -0.037523601204156876, 0.03842143714427948, 0.07794837653636932, 0.003247288754209876, 0.03236033767461777, 0.03773906081914902, 0.002002815483137965, 0.003952970262616873, -0.03870280832052231, -0.007502777501940727, 0.008948704227805138, -0.017776869237422943, 0.06168389320373535, 0.00872654840350151, -0.011493232101202011, -0.011926015838980675, -0.01571013405919075, -0.015622093342244625, 0.04162555932998657, -0.019951799884438515, -0.014208759181201458, -0.0144727798178792, 0.003164528636261821, 0.013958137482404709, -0.05968552082777023, -0.07109513878822327, -0.011183599010109901, -0.04626834765076637, 0.007103495299816132, -0.10546548664569855, -0.035386886447668076, -0.05395334213972092, -0.016417209059000015, 0.04274676740169525, 0.011549119837582111, 0.027544228360056877, -0.002817664062604308, 0.001664605806581676, -0.026397747918963432, -0.05438774824142456, -0.05385211110115051, -0.012159625999629498, -0.011183160357177258, -0.06161605939269066, 0.03472764045000076, 0.03114311210811138, 0.05626582354307175, 0.0037974168080836535, -0.02600798010826111, -0.04706178233027458, -0.009672909043729305, 0.048520930111408234, 0.027331091463565826, -0.041445937007665634, -0.024128109216690063, 0.0010869300458580256, 0.012734564021229744, 0.005227992311120033, -0.027315696701407433, -0.05438285320997238, 0.07007087022066116, 0.036364272236824036, 0.01754401996731758, 0.007970279082655907, -0.005914701148867607, -0.035960353910923004, -0.019934317097067833, -0.044408705085515976, -0.044264763593673706, -0.006939223036170006, -0.03569674864411354, -0.059337712824344635, -0.027442775666713715, -0.060853440314531326, 0.006760573945939541, -0.006979086901992559, -0.0004804617492482066, 0.020312368869781494, 0.02125168778002262, 0.03672686219215393, 0.01963563822209835, -0.023998448625206947, -0.01254687737673521, 0.03095480054616928, -0.005675707012414932, -0.02472820319235325, -0.0825464129447937, -0.05619833618402481, 0.011653382331132889, 0.01582481525838375, -0.007108243647962809, -0.0036982127930969, 0.02583969384431839, 0.029479801654815674, -0.0017349538393318653, 0.02835756540298462, -0.056472159922122955, 0.013762573711574078, -0.041430581361055374, -0.0441543385386467, -0.029164161533117294, -0.022663602605462074, -0.022301960736513138, -0.004258573055267334, 0.04533527418971062, -0.0851716697216034, -0.028279049322009087, -0.012151104398071766, 0.011680904775857925, 0.030103158205747604, 0.006342926528304815, -0.060866579413414, 0.0016254859510809183, -0.040141165256500244, -0.027703367173671722, -0.018464602530002594, -0.01993025653064251, 0.004684958606958389, 0.02672652155160904, 0.033659785985946655, -0.0425153411924839, 0.0513530932366848, 0.010549133643507957, 0.05659567192196846, 0.06422735750675201, -0.02394818142056465, 0.03099663183093071, -0.04766394942998886, 0.03997234255075455, 0.001265954808332026, -0.039166342467069626, -0.05229734256863594, -0.10184894502162933, -0.053988080471754074, 0.02762722223997116, -0.010434499941766262, 0.0111539950594306, 0.03711665794253349, -0.05259079113602638, -0.04175843298435211, 0.01713908463716507, 0.03678251430392265, 0.046570103615522385, -0.03307797387242317, 0.05454663559794426, 0.010043356567621231, 0.0039278375916182995, -0.05209199711680412, 0.005702690687030554, -0.05881349369883537, -0.0251916516572237, -0.006161647383123636, 0.04549379274249077, 0.01716165617108345, 0.07211225479841232, 0.067055843770504, 0.04803090542554855, -0.053873199969530106, 0.059860941022634506, 0.08242736756801605, -0.010177196003496647, -0.033454108983278275, -0.008631196804344654, -0.007690240163356066, -0.004136601462960243, 0.0022261198610067368, -0.017706695944070816, 0.02589420974254608, 0.038474325090646744, 0.0008702006307430565, 0.0025975240860134363, 0.03353041410446167, -0.010782924480736256, -0.01157430000603199, -0.07745063304901123, 0.006343277171254158, -0.02348853088915348, -0.03330628573894501, 0.05029917508363724, 0.04097423702478409, 0.0032828408293426037, 0.05286199972033501, 0.021249981597065926, -0.010069689713418484, -0.04813271760940552, 0.03515804931521416, 0.02565341256558895, -0.051615942269563675, -0.052916839718818665, -0.053529996424913406, 0.038512688130140305, 0.05687636882066727, -0.007481273729354143, -0.08917150646448135, 0.01973806694149971, 0.05051902309060097, -0.05473734065890312, 0.04791216552257538, 0.00673435116186738, 0.06320653855800629, 0.014688016846776009, 0.007660043425858021, 0.0365757942199707, -0.06077941507101059, 0.0178681593388319, -0.010236070491373539, 0.04400838166475296, -0.0468272902071476, -0.04732353240251541, -0.06513446569442749, 0.04020264744758606, 0.023274675011634827, 0.022457288578152657, 0.011120671406388283, -0.05082464963197708, -0.0289002712816, -0.006456787697970867, 0.016166402027010918, -0.008692266419529915, 0.023036804050207138, 0.01841225102543831, 0.05517413839697838, -0.06659626215696335, 0.004410577472299337, 0.02167375199496746, 0.01366108562797308, 0.013467441312968731, -0.02437378093600273, -0.052377741783857346, -0.00656086253002286, 0.02891191653907299, -0.02744711935520172, 0.009535623714327812, -0.0980343371629715, 0.018086612224578857, -0.026054175570607185, -0.025282153859734535, 0.06743910163640976, 0.051388949155807495, 0.05346471443772316, 0.07340726256370544, -0.010538832284510136, 0.0439835861325264, -0.01956234686076641, 0.04562891647219658, -0.03456374257802963, -0.025225767865777016, -0.0006341719999909401, -0.09169837087392807, -0.025855790823698044, -0.01983226090669632, -0.026871725916862488, -0.044218797236680984, 0.012537793256342411, -0.005959746427834034, -0.02255399338901043, 0.002461394527927041, -0.0006950207753106952, 0.03228047490119934, -0.028734486550092697, -0.039926279336214066, -0.01120122242718935, -0.013646970503032207, -0.08695711940526962, -0.051621150225400925, 0.029491810128092766, -0.033370014280080795, 0.012730504386126995, -0.0062873936258256435, 0.011555423028767109, 0.06273489445447922, 0.013502330519258976, -0.015204397961497307, 0.007834544405341148, 0.03722411394119263, -0.03980124369263649, -0.016135819256305695, 0.0030122383031994104, 0.008394642733037472, 0.015509531833231449, -0.03639763966202736, 0.04473584145307541, 0.006280789151787758, -0.05357007682323456, -0.031776316463947296, 0.04437072575092316, 0.004527245182543993, -0.07572245597839355, -0.00474671833217144, -0.020138226449489594, -0.03897048160433769, 0.00548106012865901, -0.043427955359220505, -0.02013622410595417, -0.007542680017650127, 0.030911769717931747, 0.022493876516819, -0.005150340963155031, -0.019714727997779846, 0.0032049231231212616, -0.01744251698255539, 0.0372333899140358, -0.06414877623319626, 0.0190375167876482, -0.026241419836878777, 0.028229689225554466, -0.03059552237391472, 0.006939417216926813, -0.0405094139277935, 0.04841313138604164, -0.027647200971841812, -0.010840977542102337, 0.002198285423219204, -0.015687450766563416, 0.010923756286501884, 0.033918265253305435, 0.008244052529335022, 0.004822993651032448, -0.038180872797966, 0.07649775594472885, -0.061301857233047485, 0.024753835052251816, -0.020368805155158043, -0.024464694783091545, -0.020989390090107918, 0.010379940271377563, -0.007439959794282913, -0.053448792546987534, 0.026478048413991928, 0.027811696752905846, 0.010539545677602291, 0.05481427162885666, 0.006150868255645037, 0.002346009947359562, 0.041882894933223724, -0.05013453960418701, -0.045790500938892365, 0.014040538109838963, -0.004250016994774342, 0.014439736492931843, 0.05983768403530121, 0.021914605051279068, -0.05111625790596008, -0.032947786152362823, 0.0345400869846344, 0.04168540984392166, 0.01613486371934414, 0.01730465516448021, 0.03846174478530884, 0.04787292703986168, 0.06596376746892929, -0.009748974815011024, -0.009867072105407715, 0.02512793242931366, -0.01326929870992899, -0.014626255258917809, -0.00028265471337363124, 0.010178168304264545, 0.017666270956397057, -0.024831105023622513, -0.017595069482922554, 0.07397440820932388, -0.0018651519203558564, 0.0009608769905753434, -0.0007086130208335817, -0.03428899124264717, 0.05945316329598427, 0.013866742141544819, -0.05117272585630417, -0.009040405973792076, 0.026713982224464417, -0.03454238176345825, 0.025235474109649658, -0.01963484100997448, 0.0075150178745388985, 0.039436787366867065, 0.021079877391457558, 0.018109971657395363, 0.02514825575053692, -0.023227985948324203, -0.0001710404030745849, 0.019879363477230072, -0.04174565151333809, -0.02892344631254673, -0.04698413237929344, 0.03752925992012024, -0.048752736300230026, 0.050968896597623825, 0.02004607953131199, 0.04020441696047783, -0.0020170777570456266, -0.03913935273885727, -0.021672755479812622, -0.02473735436797142, -0.04484948888421059, 0.0628894567489624, -0.02015240490436554, -0.03938749432563782, 0.07386066019535065, 0.03364391624927521, -0.07556001096963882, 0.030926650390028954, 0.031402070075273514, 0.042760591953992844, 0.017811689525842667, 0.06063786521553993, -0.04929497465491295, 0.012336695566773415, -0.03245129808783531, 0.002360541606321931, -0.03509468585252762, -0.02916008234024048, -0.010202639736235142, -0.03282144293189049, 0.005516280885785818, 0.0334450826048851, -0.027661588042974472, 0.020093604922294617, 0.011081314645707607, -0.035238977521657944, -0.04013247787952423, -0.01543580275028944, 0.02840499021112919, -0.005841700825840235, -0.007531716488301754, -0.002912606345489621, 0.017456525936722755, 0.02621312066912651, -0.01925683580338955, -0.06051982194185257, 0.020245155319571495, -0.019901208579540253, -0.05055230110883713, -0.06106296926736832, 0.05827510729432106, 0.02130405232310295, -0.020877890288829803, -0.004070682916790247, 0.03345825895667076, 0.012660407461225986, 0.032704614102840424, -0.009546088054776192, 0.02089082822203636, -0.07785504311323166, -0.0019180377712473273, 0.028792496770620346, 0.022802947089076042, -0.014110571704804897, -0.012469975277781487, 0.012019753456115723, 0.06805676966905594, 0.05577905476093292, -0.0010111508890986443, -0.04757747799158096, -0.02531501092016697, -0.014927566051483154, -0.038899220526218414, 0.04754510894417763, 0.016439979895949364, -0.059615302830934525, -0.027560846880078316, -0.00816927757114172, -0.0008950750925578177, 0.02261842042207718, -0.048184800893068314, 0.02604886330664158, 0.00954348687082529, -0.0071814716793596745, -0.03974945470690727, -0.09125158935785294, -0.03933653607964516, -0.0214216448366642, 0.029187863692641258, 0.03695548325777054, -0.07246056944131851, 0.01811055839061737, -0.030807292088866234, -0.019955052062869072, 0.045836012810468674, 0.00951837282627821, -0.01711508259177208, 0.0794307217001915, 0.04597871005535126, -0.04649532958865166, 0.05678001418709755, 0.01904788799583912, -0.05104647949337959, 0.05096300318837166, 0.010013296268880367, 0.02910340577363968, -0.002229941077530384, 0.013973900116980076, -0.011942998506128788, 0.005800675135105848, -0.02122834324836731, -0.04820789024233818, 0.00264025223441422, 0.004589040298014879, 0.03752865642309189 ]
BatuhanYilmaz/bert-finetuned-nerxD
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - conversational --- # Tony Stark DialoGPT model Invite me to your discord server : https://discord.com/api/oauth2/authorize?client_id=885065886787063848&permissions=137439365184&scope=bot
[ -0.04113896191120148, 0.0135129913687706, -0.0024695724714547396, 0.021530255675315857, 0.028065839782357216, 0.016206031665205956, -0.000604833650868386, 0.009003892540931702, -0.026978807523846626, -0.0028398968279361725, 0.07448812574148178, -0.0109625943005085, 0.03259113430976868, 0.04043165594339371, -0.03286734223365784, -0.020674824714660645, -0.023152627050876617, 0.0028724176809191704, -0.020234260708093643, -0.03031262196600437, 0.03011174686253071, 0.022133195772767067, 0.009180786088109016, 0.022437790408730507, -0.00730448542162776, 0.029527338221669197, -0.005819277372211218, 0.004798241890966892, 0.01424514502286911, -0.05114481970667839, 0.0005166990449652076, -0.05672234669327736, -0.01464810036122799, -0.02913879044353962, -0.030712556093931198, -0.02732393704354763, 0.03695426508784294, -0.03160037472844124, 0.0013657662784680724, 0.026060551404953003, -0.020670505240559578, -0.01422132272273302, 0.003173909615725279, -0.034610603004693985, 0.09418170899152756, -0.025220684707164764, -0.04910491406917572, -0.004669616464525461, 0.007616463117301464, -0.03162051737308502, -0.04641484469175339, -0.07615683972835541, -0.05321313813328743, -0.022683119401335716, 0.03389663249254227, -0.045096367597579956, -0.07072648406028748, -0.007243689149618149, 0.07865902036428452, -0.014024101197719574, -0.01689968630671501, 0.0035257877316325903, -0.05562465265393257, 0.01009445358067751, 0.035302501171827316, -0.07751201093196869, 0.010495003312826157, -0.04263202100992203, 0.009722527116537094, -0.0320325531065464, 0.05486704409122467, -0.04878901317715645, 0.0012715626507997513, -0.07745541632175446, -0.01351870782673359, -0.013656800612807274, 0.05321122705936432, 0.0747748613357544, -0.05641902983188629, 0.03926309570670128, 0.06151551380753517, 0.016891999170184135, 0.053534042090177536, 0.004531577695161104, -0.033118754625320435, 0.04079899936914444, -0.05227988585829735, 0.012268279679119587, 0.008356002159416676, 0.013952882029116154, -0.033464569598436356, -0.04951602593064308, -0.022356361150741577, -0.016338635236024857, 0.020859450101852417, 0.03964150696992874, 0.020399047061800957, -0.016385314986109734, 0.030170446261763573, 0.04025156423449516, 0.016165075823664665, 0.021796321496367455, -0.020184103399515152, 0.044049572199583054, 0.002174472901970148, 0.012186655774712563, 0.013786076568067074, -0.02269820310175419, -0.05051805451512337, 0.030640805140137672, 0.007907392457127571, -0.03817744180560112, -0.03180830180644989, 0.0005901075783185661, 0.023320209234952927, 0.020200777798891068, 0.0224856436252594, -0.026812037453055382, -0.04369943216443062, -0.06506354361772537, 0.045755960047245026, 0.0035372076090425253, 0.006209195125848055, 0.0026028151623904705, -0.04862946644425392, 0.006145275663584471, -0.04989166930317879, -0.01323302648961544, -0.007474968675523996, 0.019369063898921013, 0.02704806625843048, 0.02473350614309311, -0.020044349133968353, -0.06152014434337616, 0.003843200858682394, 0.044001877307891846, -0.05781981721520424, 0.018758084625005722, 0.041923638433218, 0.07162162661552429, -0.09003644436597824, -0.041128650307655334, 0.018230337649583817, 0.018164146691560745, -0.010890915989875793, -0.017887091264128685, 0.005614289548248053, -0.023542921990156174, -0.04953472688794136, 0.008840122260153294, 0.031583718955516815, -0.06150943413376808, -0.004436864983290434, 0.06634334474802017, 0.01039881817996502, 0.02701912634074688, -0.027200497686862946, -0.024050608277320862, -0.02484470047056675, -0.03635319322347641, -0.0641428679227829, 0.04471510648727417, -0.027537716552615166, -0.050773341208696365, -0.04053288698196411, -0.043760403990745544, 0.02258850820362568, 0.07251705229282379, -0.00019997457275167108, 0.0009483488975092769, -0.0336073599755764, 0.028374096378684044, 0.05875646322965622, 0.02874021790921688, -0.0009759642416611314, 0.020963983610272408, 0.04022256284952164, 0.016262486577033997, -0.028136523440480232, 0.06133585050702095, 0.004688413813710213, -0.03338192403316498, -0.041210297495126724, -0.005451606586575508, 0.04552667587995529, -0.015016097575426102, 0.005910818465054035, 0.03674739971756935, -0.032250020653009415, -0.04342174530029297, 0.00013795803533867002, 0.05982082709670067, -0.018793752416968346, -0.002578685525804758, -0.02445487305521965, -0.03892870992422104, -0.036919739097356796, 0.03737639635801315, -0.015684476122260094, -0.016896860674023628, -0.033705879002809525, -0.0026600139681249857, 0.043005578219890594, 0.0014603397576138377, 0.0005028559826314449, 0.03700242564082146, -0.012798735871911049, 0.06432453542947769, -0.04350387677550316, 0.013266107067465782, -0.034238480031490326, -0.026737451553344727, -0.02526671625673771, 0.04992779344320297, 0.029514633119106293, 0.04423590004444122, -0.016644204035401344, -0.04815899208188057, 0.027704697102308273, 0.06380289047956467, 0.036014579236507416, 0.02038451097905636, -0.03519054502248764, -0.00024916240363381803, 0.031123723834753036, 0.02862405590713024, -0.039376042783260345, 0.009392956271767616, 0.015146512538194656, 0.03703855723142624, -0.02200060337781906, 0.015180583111941814, -0.03301963210105896, 0.023946311324834824, -0.05917960777878761, -0.08476857841014862, 0.04812514781951904, 0.013291725888848305, 0.0025330197531729937, 0.026710573583841324, -0.018660791218280792, 0.020673174411058426, 0.02732963301241398, -0.021392153576016426, 0.008878523483872414, -0.05593433976173401, 0.03180183470249176, 0.048036519438028336, 0.09455049782991409, -0.052953463047742844, 0.026677364483475685, 0.02310144528746605, 0.002200134564191103, 0.04304953292012215, -0.019561927765607834, 0.022971803322434425, 0.06729823350906372, 0.02228466421365738, -0.01642627827823162, 0.027909042313694954, 0.0001680193527135998, 0.03855542093515396, 0.027051806449890137, 0.008413332514464855, 0.058730348944664, -0.014267013408243656, 0.018268238753080368, 0.05536964535713196, 0.007766764145344496, -0.009902340359985828, 0.036391980946063995, 0.055842433124780655, 0.02764674462378025, 0.03664033114910126, 0.06413371860980988, 0.01661570556461811, -0.014323311857879162, -0.02036481909453869, -0.020139554515480995, -0.0038113598711788654, -0.014048057608306408, 0.07264631986618042, 0.0037757514510303736, -0.005396496504545212, 0.0025753735098987818, -0.019604140892624855, -0.0011240196181461215, 0.04542571306228638, -0.019915366545319557, -0.02108556032180786, -0.001280411728657782, -0.02353331819176674, 0.0017872093012556434, -0.06516673415899277, -0.05639295652508736, -0.021915392950177193, -0.03808670863509178, 0.01370322797447443, -0.10906583815813065, -0.025236284360289574, -0.06284736096858978, -0.02584107592701912, 0.07765804976224899, 0.028096266090869904, 0.020072370767593384, 0.0016141313826665282, 0.022807860746979713, -0.022233007475733757, -0.04566948488354683, -0.044507745653390884, -0.006634596735239029, -0.01664050854742527, -0.06957628577947617, 0.03127339109778404, 0.04511626437306404, 0.03255217894911766, 0.018879426643252373, -0.01954498142004013, -0.05046110227704048, -0.02684604562819004, 0.046335019171237946, 0.03892380744218826, -0.042592961341142654, -0.06642722338438034, 0.023009201511740685, -0.01200462318956852, -0.013907927088439465, -0.020219948142766953, -0.05887975916266441, 0.06221435219049454, 0.05380118638277054, -0.007137012202292681, 0.015940172597765923, -0.0061709266155958176, -0.04836038127541542, -0.030235012993216515, -0.03993595391511917, -0.03815144672989845, 0.0038264282047748566, -0.03095298260450363, -0.05077219381928444, -0.02659640833735466, -0.038717176765203476, -0.006950149312615395, -0.001965796807780862, 0.006410108879208565, 0.0386216938495636, 0.009360358119010925, 0.03229515254497528, 0.024790674448013306, -0.02545425295829773, -0.01841035671532154, 0.022914135828614235, -0.03026583231985569, -0.025531640276312828, -0.097159743309021, -0.0534549318253994, 0.023920634761452675, -0.0053064399398863316, -0.012002452276647091, -0.011652469635009766, 0.04159032553434372, 0.03256479650735855, 0.003792195115238428, 0.021931959316134453, -0.06368714570999146, 0.014605221338570118, -0.033484671264886856, -0.009626703336834908, -0.04005628079175949, -0.04062332212924957, -0.002830860437825322, -0.003344916505739093, 0.05309078469872475, -0.085630863904953, -0.06074037402868271, -0.033095743507146835, -0.00780702568590641, 0.03669285029172897, 0.024705424904823303, -0.055091142654418945, -0.01602625846862793, -0.04242147132754326, -0.028446931391954422, -0.012329764664173126, -0.004889310337603092, 0.00697072921320796, 0.03510912135243416, 0.03727423772215843, 0.00048084722948260605, 0.03305500000715256, 0.027979712933301926, 0.06809273362159729, 0.02491324208676815, -0.01862368918955326, 0.013239677995443344, -0.03576786071062088, 0.030290791764855385, 0.02341705560684204, -0.03976413607597351, -0.042533259838819504, -0.11300364136695862, -0.0493217371404171, 0.029206223785877228, -0.028649330139160156, 0.009515244513750076, 0.03883998095989227, -0.057483989745378494, -0.004924259148538113, -0.002112400019541383, 0.0423312671482563, 0.05729413405060768, -0.0426933653652668, 0.054040469229221344, 0.008997385390102863, 0.032463788986206055, -0.0460655651986599, -0.01229313388466835, -0.037464551627635956, 0.00021388771710917354, 0.0001545725972391665, 0.046012673527002335, -0.0003991888661403209, 0.070639967918396, 0.0828704833984375, 0.026277408003807068, -0.03544517979025841, 0.04141039401292801, 0.0646216943860054, -0.03795386850833893, -0.040898244827985764, -0.009026876650750637, -0.007168361451476812, -0.012421770952641964, 0.00650882488116622, -0.022915422916412354, 0.04822494089603424, 0.03802456706762314, -0.0036812718026340008, -0.007144039496779442, 0.012316819280385971, -0.026392441242933273, -0.04575112462043762, -0.07860782742500305, -0.004046700429171324, 0.013087362982332706, -0.024035722017288208, 0.024807965382933617, 0.03965762257575989, 0.010164548642933369, 0.04640263319015503, 0.02474016696214676, -0.01350630447268486, -0.05783379077911377, 0.05788414925336838, 0.03472895920276642, -0.05102003365755081, -0.03775028884410858, -0.06124473363161087, 0.021360425278544426, 0.04062991961836815, -0.023119371384382248, -0.0892549604177475, 0.043183084577322006, 0.05349994823336601, -0.03053167648613453, 0.0495217889547348, -0.0017741054762154818, 0.05761349946260452, 0.035901445895433426, 0.012649082578718662, 0.04317654296755791, -0.05603916198015213, 0.015048205852508545, -0.0048500290140509605, 0.02206742949783802, -0.041676875203847885, -0.04751585051417351, -0.0431998148560524, 0.008257921785116196, 0.043934691697359085, 0.0195731483399868, 0.01813032478094101, -0.04499179497361183, -0.04077747091650963, -0.017434239387512207, 0.04135366156697273, -0.015189721249043941, 0.04084640368819237, 0.0355646088719368, 0.04771645367145538, -0.04839366674423218, -0.012937013059854507, 0.017595326527953148, 0.037621188908815384, 0.03287141025066376, -0.013927044346928596, -0.05246239900588989, -0.01328879501670599, 0.01771443895995617, -0.04116152971982956, -0.008931017480790615, -0.06177239492535591, 0.02290598303079605, -0.021980276331305504, -0.028581909835338593, 0.07478924840688705, 0.05596059188246727, 0.04945622757077217, 0.07476454228162766, 0.009030354209244251, 0.05709035322070122, -0.04488072916865349, 0.012269762344658375, -0.03783247619867325, -0.040342651307582855, -0.01790916547179222, -0.06962309777736664, -0.024380363523960114, -0.04130636528134346, -0.06347152590751648, -0.04263908043503761, -0.024518854916095734, 0.02160835824906826, -0.004653123207390308, -0.0021465637255460024, 0.005364902317523956, 0.018612373620271683, -0.022817743942141533, -0.04677385091781616, -0.02231169119477272, -0.018129104748368263, -0.06316070258617401, -0.03919782489538193, 0.011590750887989998, -0.030479753389954567, 0.006655838340520859, -0.011050880886614323, 0.016715019941329956, 0.04683954268693924, -0.013007222674787045, -0.010254649445414543, 0.02906987816095352, 0.02294895239174366, -0.02900473028421402, -0.005812833551317453, 0.03601846843957901, 0.001773050520569086, 0.029314981773495674, -0.015529920347034931, 0.043471768498420715, 0.00664301123470068, -0.03429467976093292, -0.02409091219305992, 0.03629636391997337, 0.026846710592508316, -0.06164579465985298, -0.01799570955336094, -0.024832237511873245, -0.033706184476614, 0.0016430006362497807, -0.046899452805519104, -0.004774110857397318, 0.014416388235986233, 0.03819091245532036, 0.03928647190332413, 0.0029801540076732635, -0.016573840752243996, 0.0031726926099509, -0.005496564321219921, 0.025656022131443024, -0.042803309857845306, 0.027770230546593666, -0.03871402516961098, 0.010502373799681664, -0.010526038706302643, -0.00004121712117921561, -0.04498159885406494, 0.060391101986169815, -0.0017570084892213345, -0.0044927834533154964, -0.00006526058132294565, -0.01972375437617302, 0.01257596630603075, 0.0303655993193388, 0.02967454120516777, -0.005985546391457319, -0.0374567024409771, 0.059821516275405884, -0.031490497291088104, 0.02338871918618679, -0.00428151898086071, -0.011059838347136974, -0.017533637583255768, 0.0016532414592802525, 0.01595037430524826, -0.05381656438112259, 0.0446261391043663, 0.03756529092788696, 0.025057483464479446, 0.0232891496270895, -0.020665867254137993, 0.014049509540200233, 0.0364806167781353, -0.0679415911436081, -0.01715969294309616, 0.02283843792974949, -0.008672663941979408, 0.048363495618104935, 0.036123789846897125, 0.02505369298160076, -0.05305582284927368, -0.04160444065928459, 0.010615346021950245, 0.027597447857260704, 0.019538938999176025, 0.014036579988896847, 0.02438870072364807, 0.027158653363585472, 0.05418608337640762, -0.0009861568687483668, -0.01260561216622591, 0.016500087454915047, -0.021585116162896156, -0.017317911610007286, -0.004022230394184589, 0.01694154366850853, 0.004117140080779791, -0.011640744283795357, -0.02249111421406269, 0.0545574426651001, -0.004859034903347492, 0.016054997220635414, -0.008040535263717175, -0.05455554276704788, 0.054399505257606506, -0.003356863744556904, -0.04261913150548935, 0.0015634887386113405, 0.0406925193965435, -0.024449067190289497, 0.0456167533993721, -0.021659133955836296, 0.0061144097708165646, 0.03533931449055672, 0.02867126278579235, 0.019987190142273903, 0.020290860906243324, 0.003901807591319084, -0.005628831684589386, 0.013238975778222084, -0.03910157456994057, -0.014498399570584297, -0.046062298119068146, 0.05301642045378685, -0.04972076043486595, 0.052972741425037384, 0.024431349709630013, 0.02952544391155243, -0.002521834336221218, -0.046587489545345306, -0.04597082734107971, -0.004781029652804136, -0.03130152076482773, 0.046016134321689606, 0.0011340214405208826, -0.05237828195095062, 0.07897835224866867, 0.030858393758535385, -0.10374213755130768, 0.05028707534074783, 0.04198143631219864, 0.047043461352586746, 0.04263611137866974, 0.03917672485113144, -0.049763407558202744, 0.006684601306915283, -0.020413050428032875, 0.018618857488036156, -0.032063309103250504, -0.01028513815253973, -0.00020408839918673038, -0.05025395750999451, -0.01552838645875454, 0.021102463826537132, -0.021678222343325615, 0.009178905747830868, 0.0102810338139534, -0.011612677946686745, -0.05397029593586922, -0.007844802923500538, 0.02390468120574951, -0.03555479273200035, 0.0051611620001494884, -0.016359740868210793, 0.014025014825165272, 0.04944474995136261, -0.005373574793338776, -0.0341692715883255, 0.020236317068338394, -0.0030942135490477085, -0.04761398956179619, -0.07004270702600479, 0.08145099878311157, 0.016070904210209846, 0.0011527113383635879, 0.006191601511090994, 0.037010930478572845, -0.002577084582298994, 0.013642150908708572, -0.03367775306105614, -0.00706765940412879, -0.08523505926132202, 0.0022926712408661842, 0.022708138450980186, 0.029710078611969948, 0.00007613118941662833, 0.0022935012821108103, 0.026164136826992035, 0.06851348280906677, 0.027264337986707687, 0.010980041697621346, -0.0344693660736084, -0.03872058913111687, -0.010644819587469101, -0.044615790247917175, 0.04858368635177612, 0.0004356229619588703, -0.07617443799972534, -0.030888324603438377, -0.04259371757507324, -0.00016826561477500945, 0.03357246518135071, -0.04481238126754761, 0.029228588566184044, 0.02829575352370739, -0.007001793012022972, -0.03908750042319298, -0.08667080104351044, -0.044729869812726974, -0.03212641924619675, 0.019075697287917137, 0.03131159394979477, -0.08861717581748962, 0.0060131424106657505, -0.03543708845973015, -0.020706243813037872, 0.05790715664625168, -0.0193609818816185, -0.021361669525504112, 0.043517787009477615, 0.049060266464948654, -0.046271126717329025, 0.04739648476243019, 0.022922905161976814, -0.023797055706381798, 0.05998607724905014, 0.015589515678584576, 0.022330675274133682, 0.047775767743587494, 0.010872915387153625, -0.006830435246229172, -0.007317338604480028, -0.015288586728274822, -0.03581620380282402, 0.0138238575309515, -0.0008105786982923746, 0.04054703563451767 ]
BatuhanYilmaz/code-search-net-tokenizer1
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- language: - en tags: - BioBERT - Diseases - NER license: apache-2.0 datasets: - ncbi_disease - BC5CDR-diseases - LitCOVID-pubtator --- BioBERT model fine-tuned in NER task with BC5CDR-diseases and NCBI-diseases corpus along with selected pubtator annotations from LitCOVID dataset This was fine-tuned in order to use it in a datummd/bionlp system which is available at: https://github.com/datummd/bionlp
[ 0.0058618164621293545, -0.011852096766233444, 0.011620503850281239, 0.003016670234501362, 0.026544785127043724, 0.01236382219940424, -0.014661726541817188, -0.05039107799530029, -0.041978854686021805, 0.04180378466844559, 0.018866559490561485, -0.0038877667393535376, 0.025452572852373123, 0.0774587094783783, -0.022715887054800987, -0.029994415119290352, 0.004513619467616081, -0.020332202315330505, -0.054610710591077805, -0.0005269638495519757, 0.011707821860909462, 0.035109713673591614, 0.008652817457914352, 0.021572571247816086, 0.03409881889820099, -0.000046605870011262596, -0.022533945739269257, 0.053210992366075516, 0.02212602272629738, -0.03989335522055626, -0.007936990819871426, 0.0022989637218415737, -0.013899119570851326, -0.02237308956682682, -0.00930015742778778, 0.006847812328487635, 0.016395792365074158, -0.028447415679693222, 0.01809864677488804, 0.016148950904607773, -0.014002518728375435, 0.015203943476080894, 0.007960211485624313, -0.039481062442064285, 0.04397536814212799, -0.015844332054257393, -0.06655821949243546, -0.053575463593006134, 0.039195768535137177, -0.062072645872831345, -0.060607172548770905, -0.07775862514972687, -0.014912261627614498, 0.003354050684720278, -0.009838037192821503, -0.022054104134440422, -0.04091443493962288, -0.0032192927319556475, 0.0562191866338253, -0.04293358698487282, -0.05766627937555313, 0.010916021652519703, -0.09399095922708511, 0.015812944620847702, 0.04491347447037697, -0.015417059883475304, 0.011085033416748047, -0.03470113128423691, 0.032822880893945694, -0.047463592141866684, 0.03261122107505798, -0.03492944687604904, 0.019332364201545715, -0.07612282037734985, -0.02413903921842575, -0.006378459744155407, 0.04926883056759834, 0.039054982364177704, -0.02739403024315834, 0.02827366068959236, 0.030420564115047455, -0.014853398315608501, 0.04565178230404854, -0.01022518239915371, -0.014234649017453194, 0.03165518864989281, -0.032940104603767395, -0.00557892257347703, 0.010293619707226753, 0.016872508451342583, -0.01352678332477808, 0.0023876314517110586, 0.009172411635518074, -0.011610785499215126, -0.011549885384738445, 0.0199296735227108, 0.03609910607337952, -0.044852111488580704, -0.007486909627914429, 0.03007928840816021, 0.05205859616398811, 0.03956565260887146, -0.004878584761172533, 0.04638781398534775, 0.004136498551815748, 0.015566837042570114, -0.03390651196241379, -0.028711797669529915, -0.027403859421610832, 0.03629910945892334, 0.03348087519407272, -0.02589232847094536, -0.03045050799846649, 0.0396951399743557, 0.01140760537236929, -0.01233033649623394, 0.06681089848279953, -0.031757526099681854, -0.018356552347540855, -0.0041061933152377605, 0.014201977290213108, 0.012178330682218075, 0.022917354479432106, 0.005100678652524948, -0.03458281233906746, 0.007269249297678471, -0.055780649185180664, -0.008405487984418869, 0.0035615700762718916, 0.03528474643826485, -0.005765141919255257, 0.03169387951493263, 0.022381071001291275, -0.07203851640224457, 0.024722646921873093, 0.00916390959173441, -0.06592933088541031, 0.0379955917596817, 0.022672591730952263, 0.12381836771965027, -0.021733298897743225, -0.055546101182699203, 0.025826003402471542, 0.013328498229384422, -0.011947721242904663, 0.012090977281332016, 0.012047722004354, -0.0237263273447752, 0.005619712173938751, -0.014642030000686646, 0.027719926089048386, -0.045064497739076614, -0.004771161358803511, 0.05245259776711464, -0.006709805224090815, 0.042923878878355026, -0.012843110598623753, -0.007560962811112404, -0.04430105537176132, -0.014600562863051891, -0.027446329593658447, 0.05208125710487366, -0.010989564470946789, -0.004828885663300753, -0.01637565717101097, -0.050208304077386856, -0.006619418039917946, 0.0758703202009201, 0.025368236005306244, -0.0004263653536327183, -0.02843579649925232, 0.009991662576794624, 0.06997007876634598, 0.04168253391981125, -0.03917061537504196, 0.03385167568922043, 0.05431176722049713, 0.018668677657842636, 0.014384167268872261, 0.04214057698845863, -0.017862582579255104, -0.04519054293632507, -0.019741011783480644, 0.0033153293188661337, 0.005120669491589069, -0.006043007597327232, -0.012701969593763351, 0.07385757565498352, -0.0017281686887145042, -0.04122120887041092, -0.024564359337091446, 0.049856655299663544, -0.018267514184117317, 0.0073614721186459064, 0.008835851214826107, 0.014507146552205086, -0.01676330156624317, 0.04791366308927536, -0.025760438293218613, 0.022553732618689537, 0.000030906401661923155, -0.018116679042577744, 0.0036220671609044075, 0.00917088333517313, 0.06306734681129456, 0.044689636677503586, -0.016915399581193924, 0.046476852148771286, -0.043554410338401794, 0.010760458186268806, -0.032580453902482986, -0.02139195427298546, -0.011337291449308395, 0.04678982496261597, 0.04002690315246582, 0.06293229758739471, -0.04139351099729538, -0.04803650826215744, 0.021069513633847237, 0.05954600125551224, 0.0824032872915268, 0.03277787193655968, -0.03058520145714283, -0.0073174829594790936, 0.0409199558198452, 0.03956001251935959, -0.04188074171543121, -0.04540139436721802, 0.020746007561683655, 0.041114576160907745, -0.005625532474368811, -0.018618425354361534, -0.025596125051379204, 0.04089567810297012, -0.056947529315948486, -0.0627962276339531, 0.048234857618808746, 0.006084091030061245, -0.00859577301889658, 0.038674209266901016, -0.022929193452000618, -0.023043641820549965, 0.01462731696665287, 0.032357364892959595, -0.025001809000968933, -0.04085331782698631, 0.015819614753127098, -0.006370818242430687, 0.06510231643915176, -0.0526692196726799, 0.05219627171754837, 0.0003995880833826959, 0.012535941787064075, 0.015835542231798172, -0.050049543380737305, 0.005171251017600298, 0.02666114643216133, 0.02843306213617325, -0.0037200520746409893, 0.03242741897702217, 0.020015200600028038, 0.022663913667201996, 0.07134376466274261, -0.0025551433209329844, 0.06726957857608795, -0.016559742391109467, 0.025552984327077866, 0.08284853398799896, 0.0027513764798641205, 0.014768542721867561, 0.04432108253240585, 0.048568613827228546, -0.03694627434015274, -0.013045571744441986, 0.060669369995594025, -0.0428207628428936, 0.009595980867743492, -0.06620915234088898, 0.008380134589970112, -0.006223785225301981, -0.011154139414429665, 0.03757202997803688, 0.008254979737102985, -0.04255334660410881, 0.0011055348441004753, -0.026555156335234642, 0.001969459932297468, 0.04248402640223503, -0.00846852082759142, -0.0006836149259470403, -0.0034257990773767233, -0.03893469274044037, 0.038445714861154556, -0.045562002807855606, -0.024415679275989532, 0.005684154573827982, -0.05136919766664505, -0.00934066902846098, -0.1004716232419014, -0.02110891602933407, -0.07439618557691574, -0.025667795911431313, 0.01904897391796112, 0.046188611537218094, 0.01016264222562313, -0.012962497770786285, 0.019027432426810265, -0.03327084705233574, -0.033480022102594376, -0.06108003109693527, -0.05977104976773262, -0.053528767079114914, -0.06362798064947128, 0.04154880717396736, 0.023887628689408302, 0.035772111266851425, 0.027254978194832802, 0.019100811332464218, -0.010950706899166107, -0.04975464195013046, 0.06395583599805832, 0.03673715516924858, -0.03374721109867096, -0.02554277516901493, 0.025987233966588974, 0.0035589239560067654, 0.00819074921309948, -0.01479248981922865, -0.03643408790230751, 0.05757897347211838, 0.056137051433324814, 0.021591704338788986, -0.0047905221581459045, 0.016544856131076813, -0.04453761875629425, -0.040862515568733215, -0.022303666919469833, -0.026341821998357773, -0.01182325929403305, -0.044882308691740036, -0.044336263090372086, -0.010923978872597218, -0.08073742687702179, -0.003037071321159601, -0.018722686916589737, 0.009362042881548405, 0.062174078077077866, 0.04436403885483742, 0.024670368060469627, 0.03155871853232384, -0.024907685816287994, -0.009394410066306591, 0.05829768255352974, -0.0019387800712138414, -0.0031179271172732115, -0.07932177186012268, -0.044990550726652145, 0.05854783207178116, 0.02572576329112053, 0.0420028492808342, -0.024438437074422836, 0.09572971612215042, 0.024901479482650757, -0.005752631928771734, -0.020164137706160545, -0.03959011286497116, -0.02654649131000042, -0.0009386201272718608, -0.010466567240655422, 0.018607759848237038, -0.057419970631599426, -0.013309870846569538, 0.012204371392726898, 0.04580600932240486, -0.06313886493444443, -0.01312684454023838, 0.0035346036311239004, 0.02123495191335678, 0.033283431082963943, 0.006446185987442732, -0.06633651256561279, -0.02464042603969574, -0.0635385662317276, -0.009352325461804867, 0.007384846918284893, 0.0040069338865578175, -0.005037948023527861, 0.03911079093813896, 0.026301272213459015, -0.04027051106095314, 0.050086211413145065, 0.05884024500846863, 0.04005875810980797, 0.016479313373565674, -0.04071862995624542, 0.014836405403912067, -0.02690858393907547, 0.01537268701940775, 0.0002632253454066813, -0.016181187704205513, -0.02657163515686989, -0.06526322662830353, -0.014148255810141563, 0.0019301155116409063, 0.01772819459438324, -0.01225308421999216, 0.03698726370930672, -0.011041654273867607, 0.015119917690753937, -0.02514752745628357, 0.007188882678747177, 0.011330708861351013, -0.01610237918794155, 0.06407442688941956, 0.005174844991415739, 0.04486763849854469, -0.04845399037003517, -0.005593042355030775, -0.06540152430534363, -0.01257011853158474, 0.02620868757367134, 0.036110248416662216, 0.02337304688990116, 0.017484553158283234, 0.04392259195446968, -0.0017656913259997964, -0.037212930619716644, 0.08002456277608871, 0.05183238163590431, -0.03050944395363331, -0.049215447157621384, -0.015667451545596123, -0.01494599785655737, -0.05068497359752655, 0.002565819537267089, -0.05138669162988663, 0.0100815799087286, 0.04462675377726555, -0.005164711736142635, -0.0016024146461859345, -0.019629882648587227, -0.02281101606786251, -0.038591865450143814, -0.031607989221811295, -0.026957571506500244, -0.0077112652361392975, -0.016746174544095993, 0.04843415319919586, 0.03487096726894379, 0.01700064167380333, 0.07389219105243683, 0.05081575736403465, -0.03519531711935997, -0.0433356799185276, 0.0487583689391613, 0.026286600157618523, -0.05274750292301178, -0.040169816464185715, -0.03503531962633133, 0.0317380465567112, 0.04355132579803467, -0.05295603349804878, -0.10341227799654007, 0.0007402012124657631, 0.067728690803051, -0.039679013192653656, 0.07460533082485199, -0.0008813739405013621, 0.05684295669198036, 0.049310147762298584, -0.02147594466805458, 0.008488948456943035, -0.05592517554759979, 0.0017577577382326126, -0.010978740639984608, 0.04586613550782204, -0.0477236844599247, -0.04733886569738388, -0.024068070575594902, 0.04816194996237755, 0.007956105284392834, 0.04297901317477226, 0.012683048844337463, -0.043536972254514694, -0.028715353459119797, 0.029888946563005447, 0.03423827514052391, -0.03241219371557236, 0.020615534856915474, 0.045140814036130905, 0.03496801480650902, -0.04763542860746384, -0.04586150497198105, -0.04067404940724373, 0.003428473137319088, 0.025144632905721664, 0.020276948809623718, -0.06017639487981796, -0.03434841334819794, -0.0021781527902930975, 0.0008427522261627018, -0.004500622861087322, -0.06472019851207733, -0.013955994509160519, -0.012028357945382595, -0.030264711007475853, 0.03974112123250961, 0.033225033432245255, 0.0796932652592659, 0.049196481704711914, -0.013803260400891304, 0.006192083470523357, -0.034529175609350204, 0.05318595841526985, -0.0076170130632817745, -0.009504273533821106, -0.013140742667019367, -0.037965379655361176, -0.04116475582122803, -0.026249459013342857, -0.033317018300294876, -0.057895299047231674, 0.0012793983332812786, 0.007793892174959183, 0.007843583822250366, 0.007807822898030281, 0.02223723568022251, 0.03746797516942024, -0.02039928175508976, -0.019278109073638916, -0.011903908103704453, -0.015272742137312889, -0.08745694160461426, -0.02824152447283268, 0.014823881909251213, 0.02704380825161934, 0.025801081210374832, 0.022732572630047798, 0.03620123490691185, 0.013128845952451229, 0.003103218274191022, -0.03133139759302139, 0.014136324636638165, 0.007532259449362755, -0.04570499062538147, -0.022421807050704956, 0.014761191792786121, 0.02559312805533409, 0.043527621775865555, -0.01834644377231598, 0.03360646218061447, 0.011491102166473866, -0.022718360647559166, -0.005772494710981846, 0.026798639446496964, -0.017352664843201637, -0.06177534908056259, -0.0400906540453434, -0.002887443406507373, -0.04456094279885292, 0.06406830996274948, -0.030939467251300812, -0.035119302570819855, 0.017885765060782433, 0.010641152039170265, 0.04223179444670677, -0.005473186727613211, -0.026573577895760536, 0.003492775373160839, -0.015351954847574234, 0.018961269408464432, -0.05654001608490944, 0.020778076723217964, -0.05240856483578682, 0.008622970432043076, 0.00020887555729132146, -0.0009648582781665027, -0.04464546591043472, 0.0318688303232193, -0.014905741438269615, -0.029957901686429977, -0.018959468230605125, 0.007203707005828619, -0.04187818244099617, 0.03741582855582237, -0.0039026096928864717, -0.027462556958198547, -0.016435306519269943, 0.026700114831328392, -0.03701726347208023, -0.02278151735663414, -0.04170599579811096, 0.0204313974827528, -0.02501611039042473, -0.003621970769017935, 0.00430660042911768, -0.03537360951304436, 0.04002106562256813, 0.03350488841533661, 0.022797146812081337, 0.06334902346134186, -0.02302408404648304, -0.01976386271417141, 0.03194817900657654, -0.08649986237287521, -0.025507351383566856, -0.021733712404966354, 0.028279239311814308, 0.001211800379678607, 0.06648019701242447, 0.02589639090001583, 0.0008069627219811082, -0.028846120461821556, 0.04386724904179573, 0.016945626586675644, 0.018678737804293633, -0.003929502330720425, 0.02884051389992237, 0.05085337907075882, 0.053330354392528534, -0.03860368952155113, -0.03428056091070175, -0.002836839994415641, -0.02829614095389843, 0.008893048390746117, -0.010135253891348839, 0.012975403107702732, 0.05582854896783829, -0.062301650643348694, -0.031093638390302658, 0.05791286379098892, 0.010895912535488605, 0.026725349947810173, -0.005753688979893923, -0.0486178882420063, 0.0355059877038002, -0.021737927570939064, -0.061524927616119385, 0.0059659481048583984, 0.038466677069664, -0.05050021782517433, 0.052815280854701996, -0.005624227691441774, 0.029814593493938446, 0.06819655746221542, 0.028221754357218742, -0.017407050356268883, 0.052284397184848785, -0.03277627006173134, -0.003717932151630521, 0.023418983444571495, -0.039356645196676254, -0.0027648350223898888, -0.04973505809903145, 0.05418688431382179, -0.060634318739175797, 0.05649606138467789, 0.04312601685523987, 0.002712375484406948, 0.004342255182564259, -0.051165658980607986, 0.001606795471161604, -0.012323004193603992, -0.011907625943422318, 0.07772944867610931, -0.014681573025882244, -0.09007550030946732, 0.05924428999423981, 0.0066674440167844296, -0.08963378518819809, 0.03453131020069122, 0.020836832001805305, 0.022323742508888245, 0.026070207357406616, 0.03929669409990311, -0.06868792325258255, 0.05502673611044884, -0.024510081857442856, 0.018428342416882515, -0.05613768845796585, -0.006973045412451029, 0.027325542643666267, -0.03441515564918518, -0.024945104494690895, 0.04103517159819603, -0.05184230953454971, 0.020683931186795235, 0.00021758089133072644, -0.03250992298126221, -0.03653469309210777, 0.020739002153277397, 0.015143115073442459, -0.0044035944156348705, -0.0128978556022048, -0.02512951008975506, 0.03573025390505791, 0.03381257504224777, 0.016951706260442734, -0.048611510545015335, -0.0004617536615114659, 0.02227325737476349, -0.07772339880466461, -0.03493081405758858, 0.016342777758836746, 0.0028980644419789314, -0.02450401522219181, 0.02497016079723835, 0.023088060319423676, 0.02167849987745285, 0.01593453250825405, -0.006280982866883278, 0.01543467864394188, -0.031247125938534737, 0.009479680098593235, 0.021460557356476784, 0.018747754395008087, 0.05132884532213211, -0.02683386206626892, 0.02919757179915905, 0.056689247488975525, 0.057482700794935226, 0.020247621461749077, -0.0035993503406643867, -0.021860824897885323, 0.033095452934503555, -0.05304288864135742, -0.012861537747085094, 0.006098428275436163, -0.04417258873581886, -0.008786960504949093, 0.00592024577781558, -0.027178242802619934, 0.06027602031826973, -0.05714160203933716, 0.011249127797782421, 0.02527962066233158, -0.006023882422596216, -0.05218100920319557, -0.11010593175888062, -0.011939127929508686, -0.004166946746408939, 0.010480422526597977, 0.006006941664963961, -0.02558053843677044, 0.028033703565597534, -0.0044959476217627525, -0.07370942831039429, 0.02400113083422184, 0.012306512333452702, -0.05282730981707573, 0.062367409467697144, 0.06024104729294777, -0.030351782217621803, -0.006070964969694614, 0.044317636638879776, -0.04308987781405449, 0.06930914521217346, 0.0009055358823388815, -0.0023585325106978416, 0.01144259050488472, 0.041076477617025375, -0.0395403653383255, -0.007933449000120163, -0.06144315376877785, -0.03347243741154671, -0.025253692641854286, 0.0015181063208729029, 0.09016565978527069 ]
BatuhanYilmaz/dummy
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-11-15T20:30:48Z
--- tags: - text-classification - fastai library_name: fastai datasets: - blbooksgenre widget: - text: "Poems on various subjects. Whereto is prefixed a short essay on the structure of English verse" - text: "Two Centuries of Soho: its institutions, firms, and amusements. By the Clergy of St. Anne's, Soho, J. H. Cardwell ... H. B. Freeman ... G. C. Wilton ... assisted by other contributors, etc" - text: "The Adventures of Oliver Twist. [With plates.]" --- ## Model description This model is intended to predict, from the title of a book, whether it is 'fiction' or 'non-fiction'. This model was trained on data created from the Digitised printed books (18th-19th Century) book collection. The datasets in this collection are comprised and derived from 49,455 digitised books (65,227 volumes), mainly from the 19th Century. This dataset is dominated by English language books and includes books in several other languages in much smaller numbers. This model was originally developed for use as part of the Living with Machines project to be able to 'segment' this large dataset of books into different categories based on a 'crude' classification of genre i.e. whether the title was `fiction` or `non-fiction`. The model's training data (discussed more below) primarily consists of 19th Century book titles from the British Library Digitised printed books (18th-19th century) collection. These books have been catalogued according to British Library cataloguing practices. The model is likely to perform worse on any book titles from earlier or later periods. While the model is multilingual, it has training data in non-English book titles; these appear much less frequently. ## How to use To use this within fastai, first [install](https://docs.fast.ai/#Installing) version 2 of the fastai library. You can load directly from the Hugging Face hub using the [`huggingface_hub`](https://github.com/huggingface/huggingface_hub) library. ```python from fastai import load_learner from huggingface_hub import hf_hub_download learn = load_learner( hf_hub_download('davanstrien/bl-books-genre-fastai', filename="model.pkl") ) learn.predict("Oliver Twist") ``` ## Limitations and bias The model was developed based on data from the British Library's Digitised printed books (18th-19th Century) collection. This dataset is not representative of books from the period covered with biases towards certain types (travel) and a likely absence of books that were difficult to digitise. The formatting of the British Library books corpus titles may differ from other collections, resulting in worse performance on other collections. It is recommended to evaluate the performance of the model before applying it to your own data. Likely, this model won't perform well for contemporary book titles without further fine-tuning. ## Training data The training data was created using the Zooniverse platform. British Library cataloguers carried out the majority of the annotations used as training data. More information on the process of creating the training data will be available soon. ### Training procedure Model training was carried out using the fastai library version 2.5.2. The notebook using for training the model is available at: https://github.com/Living-with-machines/genre-classification ## Eval result The model was evaluated on a held out test set: ``` precision recall f1-score support Fiction 0.91 0.88 0.90 296 Non-fiction 0.94 0.95 0.95 554 accuracy 0.93 850 macro avg 0.93 0.92 0.92 850 weighted avg 0.93 0.93 0.93 850 ```
[ -0.010010777041316032, -0.004597187973558903, 0.013460518792271614, 0.07163041830062866, 0.0263823214918375, 0.007158593274652958, -0.02851051092147827, -0.023449547588825226, -0.037044744938611984, 0.036536432802677155, 0.05059928074479103, 0.027652300894260406, 0.014926953241229057, 0.03556079789996147, -0.013594080694019794, -0.02498851902782917, 0.006340188439935446, -0.03534619137644768, -0.007285106927156448, -0.00847008265554905, -0.010041194967925549, 0.009381728246808052, -0.015388942323625088, 0.030274564400315285, -0.014963521622121334, 0.012209809385240078, 0.009104195982217789, 0.03874024748802185, 0.030381152406334877, -0.06780644506216049, 0.0064389645121991634, -0.03798506408929825, -0.043674714863300323, -0.02536478079855442, -0.01216148678213358, 0.009626386687159538, 0.009321742691099644, 0.015281159430742264, 0.03649209067225456, 0.03413507714867592, 0.0009018686250783503, 0.00491062318906188, -0.011577708646655083, -0.022191880270838737, 0.04541189596056938, 0.01571573317050934, -0.04846769571304321, 0.01377065759152174, 0.016712656244635582, -0.026011228561401367, -0.05847715958952904, -0.06702707707881927, -0.03721942380070686, 0.04808758199214935, 0.010413410142064095, -0.02760993503034115, -0.05728068947792053, 0.02704913355410099, 0.0717950165271759, -0.06508497148752213, -0.030990799888968468, -0.01434868574142456, -0.06064081937074661, 0.018018681555986404, 0.0395875908434391, -0.04829004406929016, 0.02313026413321495, -0.035241466015577316, 0.0095463702455163, -0.050821855664253235, 0.0587175227701664, -0.03832827880978584, 0.004239270929247141, -0.07750251889228821, 0.0031402097083628178, -0.015836933627724648, 0.03451656177639961, 0.06252893805503845, -0.034337613731622696, 0.045954588800668716, 0.03426744043827057, 0.016437875106930733, 0.013136346824467182, 0.001544471364468336, -0.007764850743114948, 0.0698457583785057, -0.05240105837583542, -0.010341860353946686, 0.0012525601778179407, 0.06638113409280777, -0.035993125289678574, -0.026037242263555527, -0.00046665233094245195, -0.03582135960459709, -0.02528727799654007, 0.04247833043336868, 0.019175074994564056, -0.015289781615138054, 0.02799612283706665, 0.03934892639517784, 0.03890009596943855, 0.07570280134677887, -0.014284566976130009, 0.06462430953979492, 0.0028630502056330442, -0.032575078308582306, -0.003928564954549074, -0.028757404536008835, -0.034605372697114944, 0.03155924752354622, 0.00038006206159479916, -0.034635528922080994, -0.027445223182439804, 0.04311268776655197, 0.018811197951436043, -0.026847250759601593, 0.06889085471630096, -0.031855348497629166, -0.04510609805583954, -0.06431728601455688, 0.013003265485167503, 0.003255269257351756, 0.007184760179370642, -0.031668707728385925, -0.0420951172709465, 0.022454608231782913, -0.03198986500501633, -0.046063847839832306, 0.0023206553887575865, 0.009113459847867489, -0.009502140805125237, 0.036665286868810654, 0.011725061573088169, -0.08236643671989441, -0.004932025447487831, 0.01559995673596859, -0.0725204199552536, 0.03971163183450699, 0.044527437537908554, 0.13317619264125824, -0.054962124675512314, -0.03005765751004219, 0.00939125195145607, 0.03351134806871414, -0.0489673912525177, 0.031081289052963257, 0.02198883332312107, -0.03541381284594536, -0.024768183007836342, -0.015867721289396286, 0.01999860443174839, -0.059899620711803436, -0.005452154669910669, 0.06531929224729538, -0.011719957925379276, 0.03960496559739113, -0.05153486505150795, 0.019168013706803322, -0.008961888030171394, -0.024491606280207634, 0.0003367587924003601, 0.056861042976379395, -0.009067482315003872, 0.002608258044347167, -0.04388115555047989, -0.017034707590937614, -0.008329381234943867, 0.10798561573028564, 0.0004239529662299901, -0.00862606056034565, -0.051782239228487015, -0.0002570477081462741, 0.03494593873620033, 0.040761783719062805, -0.02502174861729145, 0.026946358382701874, 0.050027113407850266, 0.028018314391374588, -0.0400458462536335, 0.06106530874967575, -0.009002377279102802, -0.037146225571632385, -0.00830978062003851, 0.006233086809515953, 0.01944592408835888, -0.039492007344961166, 0.030420556664466858, 0.04043526574969292, -0.0024097978603094816, -0.03490971401333809, 0.008790752850472927, 0.054459601640701294, 0.0065748002380132675, -0.013021218590438366, 0.0077485693618655205, 0.0003176569298375398, -0.025311032310128212, 0.05403890833258629, -0.044039253145456314, 0.008301401510834694, -0.006829952821135521, -0.02057201787829399, 0.019773634150624275, 0.04563772305846214, 0.014462310820817947, 0.014898763038218021, -0.011836561374366283, 0.07461897283792496, -0.027566038072109222, 0.024365361779928207, -0.05457155779004097, -0.021463580429553986, 0.026880085468292236, 0.04713497310876846, 0.00977641623467207, 0.05542349815368652, -0.01377076841890812, -0.03951523080468178, 0.00637001683935523, 0.06620804965496063, 0.03759061545133591, 0.02970791980624199, -0.027884021401405334, -0.023919256404042244, 0.02808898128569126, 0.054192207753658295, -0.04654603451490402, -0.02839515171945095, 0.017204156145453453, 0.05450278893113136, -0.011131767183542252, -0.016730312258005142, -0.022027915343642235, 0.022796401754021645, -0.05258101597428322, -0.08191066235303879, 0.02700148895382881, 0.037667736411094666, 0.022278858348727226, 0.024962978437542915, -0.017729463055729866, 0.009625204838812351, 0.004612908698618412, 0.010684122331440449, 0.030591094866394997, -0.04580923169851303, 0.02073286846280098, 0.029400616884231567, 0.04637837037444115, -0.049763791263103485, 0.035695310682058334, -0.011743508279323578, 0.009384414181113243, 0.0383748784661293, -0.021690350025892258, 0.027846166864037514, 0.0522308312356472, 0.03354840353131294, -0.04733770713210106, 0.033412497490644455, 0.001981734996661544, 0.028020383790135384, 0.05912039056420326, 0.019617201760411263, 0.06795138120651245, 0.0031562065705657005, 0.02764325961470604, 0.06560932844877243, 0.008076346479356289, 0.011366977356374264, 0.010823364369571209, 0.061020348221063614, -0.0033686028327792883, -0.03592468053102493, 0.04544923081994057, -0.06712242215871811, 0.009019386023283005, -0.03726322948932648, 0.02067267894744873, -0.004742640070617199, 0.0035753734409809113, 0.06297237426042557, 0.036495037376880646, -0.0163993239402771, 0.015055224299430847, 0.016275135800242424, -0.024316387251019478, 0.04722148925065994, -0.0011065129656344652, 0.020742278546094894, -0.01600482128560543, 0.004005625378340483, -0.0023648159112781286, -0.06541936099529266, -0.05185137316584587, -0.006600627209991217, -0.03237712383270264, -0.031658757477998734, -0.10085546970367432, -0.007555996533483267, -0.06533634662628174, -0.013778172433376312, 0.03828025236725807, 0.027394291013479233, 0.015061253681778908, -0.0542612187564373, 0.013049572706222534, -0.039921365678310394, -0.03214670345187187, -0.06907004863023758, -0.0369570292532444, -0.031954918056726456, -0.05081022530794144, 0.0686468854546547, 0.024595946073532104, 0.04986191168427467, -0.00741035770624876, -0.015543133951723576, -0.04187774285674095, -0.031323038041591644, 0.06538153439760208, 0.018952645361423492, -0.052017971873283386, -0.04296249896287918, 0.03925900533795357, -0.0028790622018277645, 0.020475780591368675, -0.01485581323504448, -0.057884301990270615, 0.06921354681253433, 0.07058499753475189, 0.02225690335035324, 0.005631440784782171, 0.005405888427048922, -0.020320603623986244, -0.06287304311990738, -0.030763227492570877, -0.06705377995967865, -0.018539346754550934, -0.0367768369615078, -0.04190594702959061, -0.02995574101805687, -0.04224584251642227, -0.015257578343153, -0.02180992253124714, -0.004227897152304649, 0.00888210628181696, 0.035710569471120834, 0.012192750349640846, 0.010021813213825226, -0.041120968759059906, -0.0256582573056221, 0.06181641295552254, 0.004779050592333078, -0.013810375705361366, -0.07640537619590759, -0.04510252922773361, 0.029761139303445816, 0.02532724104821682, 0.0013594281626865268, -0.014546641148626804, 0.06183803454041481, 0.006668318994343281, -0.023076234385371208, -0.017264025285840034, 0.0019284725422039628, -0.009181023575365543, -0.021581653505563736, -0.004090323578566313, -0.0185652244836092, -0.023918723687529564, -0.07305911928415298, -0.02180705964565277, 0.03342314437031746, -0.06261716037988663, -0.03152037411928177, 0.008747071959078312, 0.04392869770526886, 0.05299818515777588, -0.0008985974127426744, -0.05579854175448418, 0.007340733893215656, -0.06280305981636047, -0.02294154465198517, 0.006839676760137081, -0.0017050335882231593, 0.031635597348213196, 0.024806037545204163, 0.036882445216178894, -0.04570723697543144, 0.03664884343743324, 0.03500572219491005, 0.05960766226053238, 0.019535213708877563, -0.05433022230863571, 0.016360381618142128, -0.0132629768922925, 0.02182462066411972, -0.01239677332341671, -0.0032651040237396955, -0.06460689753293991, -0.06937199831008911, -0.00654942961409688, 0.004368440248072147, 0.026636885479092598, 0.003983707167208195, 0.04617985337972641, 0.00212191347964108, -0.03939814493060112, 0.012034107930958271, 0.016917642205953598, 0.040426988154649734, -0.051831044256687164, 0.03293329477310181, -0.001515340176410973, 0.012205095961689949, -0.04296345263719559, 0.01694953441619873, -0.0523405522108078, -0.012393150478601456, -0.0031655689235776663, 0.0707065761089325, 0.011254901997745037, 0.025103555992245674, 0.06554756313562393, 0.03780790790915489, -0.02810479886829853, 0.05112597718834877, 0.03473939001560211, 0.009042122401297092, -0.05135374143719673, 0.004955183248966932, -0.03556014224886894, 0.005703423172235489, -0.026432331651449203, -0.013485242612659931, 0.016749665141105652, 0.03173224255442619, -0.013951904140412807, -0.028131239116191864, 0.01770157553255558, -0.017629802227020264, -0.020095407962799072, -0.049963656812906265, 0.007815998047590256, -0.0028901335317641497, -0.028131604194641113, 0.05248831585049629, 0.05028726905584335, 0.011973537504673004, 0.041007064282894135, 0.0320778526365757, -0.011941282078623772, -0.03282340615987778, 0.019986946135759354, 0.025193464010953903, -0.058794982731342316, -0.06504160910844803, -0.04200487583875656, 0.060634795576334, 0.04658845439553261, 0.0024512794334441423, -0.08014490455389023, 0.012714228592813015, 0.047485556453466415, -0.05936555936932564, 0.06956060975790024, -0.0083090765401721, 0.039421211928129196, 0.0572301484644413, 0.015177573077380657, 0.014781909063458443, -0.023358220234513283, -0.018342019990086555, 0.031210655346512794, 0.055468469858169556, -0.03805597871541977, -0.04135337471961975, -0.06253548711538315, 0.028851835057139397, 0.012057511135935783, 0.05117592215538025, 0.025309639051556587, -0.04684402421116829, -0.059958554804325104, 0.027346191927790642, 0.007178780157119036, -0.026446454226970673, -0.010339578613638878, 0.02058613859117031, 0.05246035009622574, -0.05682271718978882, -0.03498198837041855, -0.018779268488287926, -0.00646210415288806, 0.026091445237398148, -0.007686457596719265, -0.036280788481235504, -0.050248224288225174, 0.018893059343099594, -0.009254422970116138, -0.02004164271056652, -0.083821602165699, 0.009456703439354897, -0.002634864067658782, -0.0025852499529719353, 0.043918490409851074, 0.03868706524372101, 0.038347773253917694, 0.045372553169727325, 0.015134008601307869, 0.017235642299056053, -0.031915780156850815, 0.04955773428082466, -0.04624466598033905, -0.019610270857810974, -0.010433307848870754, -0.05998789519071579, -0.022681785747408867, -0.03872476890683174, -0.0516069270670414, -0.03863632306456566, -0.03213346004486084, 0.004567746073007584, 0.0015130068641155958, 0.007304927799850702, -0.003940061200410128, 0.019034499302506447, -0.020739123225212097, -0.018192898482084274, -0.023254791274666786, -0.01685606874525547, -0.062227413058280945, -0.027114741504192352, 0.031540289521217346, 0.0034422515891492367, 0.03482691943645477, 0.03536459058523178, 0.0320386104285717, 0.03563401848077774, 0.0018533504335209727, -0.02938598208129406, 0.007180486340075731, 0.021484365686774254, -0.0367046594619751, -0.023356670513749123, 0.025869326665997505, 0.02122034877538681, 0.032239414751529694, -0.04197576269507408, 0.022867798805236816, 0.020555999130010605, -0.012977958656847477, -0.012048634700477123, 0.03886502608656883, 0.02451125532388687, -0.07492021471261978, -0.00856476929038763, -0.005337894894182682, -0.027928872033953667, 0.026088885962963104, -0.010201051831245422, -0.010074586607515812, 0.01498454250395298, -0.00043482790351845324, 0.04924088716506958, -0.02538704127073288, -0.026944611221551895, 0.014403159730136395, -0.025258434936404228, 0.03188343346118927, -0.06954102218151093, 0.04170651361346245, -0.0490063913166523, 0.03306299448013306, -0.0045240470208227634, 0.0032755089923739433, -0.04613379389047623, 0.0533355213701725, 0.0021200741175562143, -0.003184809349477291, -0.03138447925448418, 0.02717314474284649, -0.01777273789048195, 0.025779766961932182, -0.0173079501837492, 0.008534587919712067, 0.010165580548346043, 0.05427377671003342, -0.039344675838947296, -0.013423425145447254, -0.02606874704360962, -0.01964985951781273, -0.022131944075226784, -0.015789860859513283, -0.0160218495875597, -0.001473521813750267, 0.03351966664195061, 0.027281751856207848, 0.030037613585591316, 0.04229452461004257, 0.030229751020669937, 0.004067196976393461, 0.04163534566760063, -0.05086572840809822, -0.026481984183192253, -0.00895289983600378, -0.011733257211744785, 0.00026876936317421496, 0.0471474751830101, 0.007773013319820166, -0.07471082359552383, -0.04387712478637695, 0.05101745203137398, 0.034888822585344315, -0.004607696086168289, -0.03221927955746651, 0.03255121782422066, 0.040016163140535355, 0.042297717183828354, -0.03488156571984291, 0.0097482455894351, 0.01493027526885271, -0.023666709661483765, 0.03361303359270096, 0.0025168650317937136, 0.021521560847759247, 0.010336085222661495, -0.047079816460609436, -0.005207444541156292, 0.05857577174901962, 0.02899666130542755, -0.0015570613322779536, -0.018215032294392586, -0.03197447583079338, 0.025709910318255424, 0.006619976367801428, -0.056158121675252914, 0.021628793329000473, 0.021951500326395035, -0.027464812621474266, 0.07527520507574081, -0.04062971472740173, 0.008483648300170898, 0.03467176482081413, 0.03025648556649685, -0.024306287989020348, 0.026847559958696365, -0.022361595183610916, 0.027836646884679794, 0.04294261708855629, -0.03958066180348396, -0.03698313981294632, -0.03179844096302986, 0.07461963593959808, -0.0689699724316597, 0.04676061496138573, 0.03245086967945099, 0.019825924187898636, 0.02273755706846714, -0.02230442687869072, -0.02855600044131279, 0.0038139219395816326, -0.060683660209178925, 0.06286241114139557, 0.002683949191123247, -0.0703984797000885, 0.05755353718996048, 0.04881180077791214, -0.05444914102554321, 0.028574464842677116, 0.038102421909570694, 0.0071964627131819725, 0.015251187607645988, 0.03289244323968887, -0.019940108060836792, -0.010608967393636703, -0.05100546404719353, 0.02695377916097641, -0.04227370396256447, -0.012172251008450985, 0.002171261701732874, -0.05995633825659752, -0.01662064716219902, 0.0424048937857151, 0.0025889617390930653, -0.004776416812092066, 0.015974752604961395, -0.06079786643385887, -0.05741427466273308, -0.0007874194998294115, 0.02489234320819378, -0.021005120128393173, -0.010980184189975262, -0.03858880326151848, 0.025266144424676895, 0.00753623666241765, -0.010560253635048866, -0.0490494966506958, 0.01471931766718626, 0.01798071898519993, -0.07121933251619339, -0.04119076579809189, 0.058714039623737335, 0.009815271012485027, -0.0334702767431736, 0.01004321500658989, 0.0022501375060528517, 0.029605060815811157, 0.047589000314474106, -0.0124390022829175, 0.02797870524227619, -0.07441696524620056, -0.014910051599144936, -0.006612761877477169, -0.012628410011529922, 0.02714109793305397, -0.035723812878131866, 0.03219064697623253, 0.01990305818617344, 0.06113678961992264, -0.00890431646257639, -0.030728895217180252, -0.029337966814637184, 0.03670571744441986, -0.03952395170927048, 0.03900918737053871, 0.013535818085074425, -0.04047152027487755, -0.07003651559352875, -0.0187119971960783, -0.026249002665281296, 0.0463000051677227, -0.07090228796005249, -0.003444913076236844, 0.013298849575221539, -0.01452659908682108, -0.05850202962756157, -0.07941534370183945, -0.03457442671060562, -0.04424077644944191, 0.018620142713189125, 0.012252699583768845, -0.03963683545589447, 0.040483541786670685, -0.02591877616941929, -0.04863032326102257, 0.017427857965230942, 0.016780216246843338, -0.035832107067108154, 0.059817977249622345, 0.03678477182984352, -0.054688211530447006, 0.026953646913170815, 0.025995615869760513, -0.03909321129322052, 0.024165261536836624, 0.010292153805494308, 0.014879746362566948, 0.018038703128695488, 0.03625422716140747, -0.03010636940598488, -0.042037706822156906, -0.04299531877040863, -0.050078969448804855, -0.03577075153589249, 0.014785856008529663, 0.07106678932905197 ]
Baybars/debateGPT
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - bert - adapterhub:text-classification - adapter-transformers --- # Adapter `davanstrien/book-genre-classification` for bert-base-cased An [adapter](https://adapterhub.ml) for the `bert-base-cased` model that was trained on the [text-classification](https://adapterhub.ml/explore/text-classification/) dataset and includes a prediction head for classification. This adapter was created for usage with the **[adapter-transformers](https://github.com/Adapter-Hub/adapter-transformers)** library. ## Usage First, install `adapter-transformers`: ``` pip install -U adapter-transformers ``` _Note: adapter-transformers is a fork of transformers that acts as a drop-in replacement with adapter support. [More](https://docs.adapterhub.ml/installation.html)_ Now, the adapter can be loaded and activated like this: ```python from transformers import AutoModelWithHeads model = AutoModelWithHeads.from_pretrained("bert-base-cased") adapter_name = model.load_adapter("davanstrien/book-genre-classification", source="hf", set_active=True) ``` ## Architecture & Training <!-- Add some description here --> ## Evaluation results <!-- Add some description here --> ## Citation <!-- Add some description here -->
[ -0.043734174221754074, -0.014328680001199245, -0.014341844245791435, 0.06199461221694946, 0.03450113907456398, 0.02586943656206131, -0.04323287308216095, -0.028595024719834328, -0.047560710459947586, 0.062169067561626434, 0.00649514002725482, 0.005409629549831152, -0.001631643157452345, 0.035177167505025864, -0.0166520606726408, -0.04012240096926689, 0.013491997495293617, -0.033097460865974426, -0.00845601037144661, -0.022713206708431244, -0.033891499042510986, 0.001667139120399952, -0.0025918628089129925, 0.029825514182448387, 0.00927723292261362, 0.009576505981385708, 0.001278982381336391, 0.030394654721021652, 0.03894669562578201, -0.0612836591899395, -0.002430466702207923, 0.0016191384056583047, -0.05973932147026062, -0.007772116921842098, -0.02674618549644947, 0.003018139861524105, 0.004902367014437914, -0.001277534756809473, 0.023317046463489532, 0.051377732306718826, -0.01074936892837286, 0.03328530490398407, -0.02665405534207821, -0.025053810328245163, 0.0652051493525505, 0.008988708257675171, -0.02814936637878418, 0.007250795140862465, 0.044271524995565414, -0.03648197278380394, -0.07024481892585754, -0.059257522225379944, -0.045602086931467056, 0.021149810403585434, -0.019533799961209297, -0.010690411552786827, -0.02506427839398384, -0.0004712459340225905, 0.05511639267206192, -0.037400223314762115, -0.013814614154398441, 0.003411964513361454, -0.04368622973561287, 0.023916002362966537, 0.03958384692668915, -0.039190467447042465, -0.0015538785373792052, -0.027024004608392715, 0.03808010742068291, -0.04610776901245117, 0.09296198189258575, -0.03185361251235008, 0.011913432739675045, -0.0921986848115921, 0.013113928027451038, 0.0007824155618436635, 0.03589765354990959, 0.0484284833073616, -0.008856902830302715, 0.04283129796385765, 0.026266569271683693, 0.011031221598386765, 0.021931227296590805, 0.006242368835955858, -0.0068344357423484325, 0.07384811341762543, -0.05795596167445183, -0.018679598346352577, -0.003277403535321355, 0.07650827616453171, -0.06256839632987976, -0.03685596585273743, -0.01978611946105957, -0.024713747203350067, -0.01761239394545555, 0.030545569956302643, 0.03241759538650513, -0.03028673678636551, 0.030519375577569008, 0.02944747544825077, 0.037349749356508255, 0.03753434121608734, -0.014470183290541172, 0.06335915625095367, 0.004250501748174429, -0.0035227080807089806, -0.003042378695681691, -0.018576333299279213, -0.033863164484500885, 0.03801163658499718, 0.030102940276265144, -0.01404014602303505, -0.030840475112199783, 0.06588267534971237, 0.0237298421561718, -0.011066608130931854, 0.060640957206487656, -0.022726111114025116, -0.05130760371685028, -0.06364767253398895, 0.022278547286987305, -0.007686939090490341, 0.019963689148426056, -0.010209495201706886, -0.027216648682951927, 0.008230390027165413, -0.0651007816195488, -0.020922375842928886, -0.017649570479989052, 0.02698950096964836, 0.005630781874060631, 0.046654000878334045, 0.011094014160335064, -0.05946216732263565, 0.0210343599319458, 0.008792250417172909, -0.0557808093726635, 0.07484191656112671, 0.031141959130764008, 0.12613224983215332, -0.06568177789449692, -0.015244544483721256, 0.0329722985625267, 0.02233858034014702, -0.043866146355867386, 0.011872807517647743, 0.003775963094085455, -0.05082544684410095, -0.020617490634322166, -0.01092456839978695, 0.041063856333494186, -0.04295198246836662, -0.021342787891626358, 0.033986616879701614, 0.003898110706359148, 0.03286745771765709, -0.045047786086797714, 0.003933376166969538, 0.012750132940709591, -0.025959398597478867, -0.03410521149635315, 0.03522391989827156, -0.030094731599092484, -0.008879454806447029, -0.008770367130637169, -0.029766958206892014, -0.0020560133270919323, 0.09066002070903778, 0.01749233342707157, -0.010049211792647839, -0.00858719740062952, -0.006687708664685488, 0.03703298419713974, 0.02809649333357811, -0.028177449479699135, 0.023724187165498734, 0.06859858334064484, 0.02925085462629795, -0.05135826766490936, 0.05590903386473656, 0.014506936073303223, -0.024704357609152794, -0.019409241154789925, 0.00952077005058527, -0.009872096590697765, -0.01515629980713129, 0.03524033725261688, 0.04635096713900566, -0.008008516393601894, -0.02056516706943512, 0.0045670028775930405, 0.06553363054990768, 0.01055293157696724, 0.014799858443439007, 0.000028442724214983173, -0.007021768018603325, -0.017302950844168663, 0.0586763434112072, -0.03776196762919426, -0.010554395616054535, -0.0024460607673972845, -0.01802014373242855, 0.00442800298333168, 0.002860157983377576, 0.012113194912672043, 0.021580209955573082, 0.003264410188421607, 0.08710967004299164, -0.028752921149134636, 0.03506138548254967, -0.04973950609564781, -0.025975137948989868, 0.013917884789407253, 0.030441738665103912, 0.015183355659246445, 0.042240455746650696, 0.0015272862510755658, -0.034604381769895554, 0.003928651101887226, 0.04526674747467041, 0.027788862586021423, 0.025560444220900536, -0.018024757504463196, -0.030182424932718277, 0.006163175217807293, 0.052019521594047546, -0.06602901965379715, -0.04031948000192642, 0.008634465746581554, 0.052278582006692886, -0.008136478252708912, 0.024852698668837547, -0.02594812400639057, 0.0328848697245121, -0.05529279634356499, -0.06584049016237259, 0.0495072565972805, 0.04899326711893082, 0.008275678381323814, 0.030871117487549782, 0.008143749088048935, -0.0063798013143241405, 0.015120807103812695, 0.031036727130413055, -0.005618979688733816, -0.046910420060157776, -0.003074649488553405, 0.02609833888709545, 0.03499933332204819, -0.05268998444080353, 0.026862455531954765, -0.018027059733867645, 0.024539286270737648, 0.03419642150402069, -0.03272680193185806, 0.03552808612585068, 0.04368394985795021, 0.019715681672096252, -0.02226611040532589, 0.039123717695474625, -0.02250472642481327, 0.019926033914089203, 0.06941940635442734, 0.01367447804659605, 0.04997458681464195, -0.025529783219099045, 0.04896143078804016, 0.10034231096506119, 0.024835005402565002, 0.023275867104530334, 0.024365302175283432, 0.06464587152004242, 0.0013113673776388168, -0.021258123219013214, 0.05396421626210213, -0.044187914580106735, 0.017713012173771858, -0.04587339609861374, 0.03191331401467323, -0.0010322126327082515, 0.0022944840602576733, 0.03950908035039902, 0.028380032628774643, -0.02135159634053707, 0.008786606602370739, 0.013144103810191154, 0.001627095160074532, 0.042224057018756866, -0.015352055430412292, 0.0008978386176750064, 0.01547933928668499, 0.0051935273222625256, -0.015458192676305771, -0.0689145177602768, -0.05898226052522659, -0.013986749574542046, -0.03495502844452858, -0.014439146034419537, -0.08461262285709381, -0.013943507336080074, -0.0776335746049881, -0.03321819379925728, 0.043880634009838104, 0.014571827836334705, 0.005415010266005993, -0.057282958179712296, 0.015995509922504425, -0.036141037940979004, -0.035738322883844376, -0.039223577827215195, -0.03834123909473419, -0.044610992074012756, -0.06866838037967682, 0.062071312218904495, 0.021864185109734535, 0.02332085743546486, -0.009484326466917992, -0.010221060365438461, -0.04315316677093506, -0.0436268076300621, 0.07469820976257324, 0.037200070917606354, -0.02557266689836979, -0.03476041927933693, 0.027738505974411964, -0.02923056297004223, 0.01964784599840641, 0.014523872174322605, -0.03173578903079033, 0.08611629903316498, 0.06137259304523468, 0.016690757125616074, -0.007449273951351643, -0.020685110241174698, -0.05225290730595589, -0.05853603035211563, -0.013529197312891483, -0.02944841794669628, -0.010986506007611752, -0.05258128419518471, -0.06211889907717705, -0.021394234150648117, -0.04142538458108902, -0.007516304962337017, -0.024440204724669456, 0.004374661482870579, 0.02718515507876873, 0.04768401384353638, 0.03699041157960892, 0.03189826384186745, -0.047410931438207626, -0.054288461804389954, 0.042816340923309326, 0.018616897985339165, 0.00013825093628838658, -0.0773923322558403, -0.02504037134349346, 0.030092790722846985, 0.022731373086571693, 0.007561083883047104, -0.010620879009366035, 0.0680471658706665, -0.005227919202297926, -0.012875257059931755, 0.01718447171151638, 0.005642232485115528, -0.010054814629256725, -0.04269493371248245, -0.02438782900571823, 0.0005922018317505717, -0.03390795737504959, -0.06375828385353088, -0.008079391904175282, 0.03504166007041931, -0.05672302469611168, -0.06418973952531815, 0.006762401666492224, 0.04019785672426224, 0.02192462980747223, 0.018515249714255333, -0.05585021525621414, 0.013263863511383533, -0.04560522362589836, -0.03785504773259163, 0.043997690081596375, -0.007479170337319374, 0.014641770161688328, 0.02739337645471096, 0.04594767466187477, -0.02374432422220707, 0.01341877318918705, 0.053493432700634, 0.05431421473622322, -0.007170503959059715, -0.07580883800983429, 0.004532977938652039, -0.03021039254963398, 0.04405728355050087, -0.0015217859763652086, -0.027059072628617287, -0.022465577349066734, -0.0955081358551979, -0.0018792209448292851, -0.002431497909128666, 0.0016604142729192972, -0.01496503408998251, 0.03361762315034866, -0.029580874368548393, -0.03728277236223221, -0.0008589053759351373, 0.041677333414554596, 0.030025795102119446, -0.028047531843185425, 0.03501836955547333, -0.00244884449057281, 0.037245992571115494, -0.04989112913608551, 0.012046659365296364, -0.04151075333356857, -0.02318352647125721, 0.012020869180560112, 0.04577042534947395, 0.024321990087628365, 0.028739547356963158, 0.06403379887342453, 0.04901096597313881, -0.057694047689437866, 0.03943201154470444, 0.028636150062084198, -0.013593821786344051, -0.055337198078632355, 0.001449791481718421, -0.035370834171772, 0.00047242394066415727, -0.012305859476327896, -0.025816652923822403, 0.025597119703888893, 0.018572574481368065, 0.004057605285197496, -0.007826581597328186, -0.02023097686469555, -0.009191731922328472, -0.03234635293483734, -0.052871476858854294, -0.015254387632012367, 0.009855259209871292, -0.0179012268781662, 0.040079690515995026, 0.04906667396426201, 0.01668880507349968, 0.05530872941017151, 0.04369901120662689, -0.01030638162046671, -0.02896982990205288, 0.03117670863866806, 0.02403135783970356, -0.028546661138534546, -0.06457444280385971, -0.045709095895290375, 0.03776833042502403, 0.033364180475473404, -0.03160632774233818, -0.07677158713340759, 0.02499173954129219, 0.04461256042122841, -0.052348602563142776, 0.08725032210350037, -0.0028194303158670664, 0.040698494762182236, 0.06495014578104019, -0.03219671919941902, 0.033023402094841, -0.024530109018087387, -0.022977260872721672, 0.007790095172822475, 0.057110171765089035, -0.030111446976661682, -0.052952151745557785, -0.0472969189286232, 0.043046578764915466, 0.03681205213069916, 0.05584590509533882, 0.043446894735097885, -0.024167725816369057, -0.07057450711727142, 0.011403241194784641, 0.030314072966575623, -0.009805419482290745, -0.005551970563828945, 0.03429107740521431, 0.04269247502088547, -0.06255216896533966, -0.02467837557196617, -0.017085758969187737, -0.039308466017246246, 0.017249176278710365, 0.0013401898322626948, -0.032309092581272125, -0.055177997797727585, 0.012102168053388596, -0.024742135778069496, -0.010668030008673668, -0.07809919118881226, 0.02811405435204506, 0.011886191554367542, 0.010495556518435478, 0.06740891933441162, 0.03407431021332741, 0.030212076380848885, 0.051757413893938065, 0.008892359212040901, -0.001210693153552711, -0.02785257250070572, 0.04814404621720314, -0.053433243185281754, -0.014080517925322056, -0.019830571487545967, -0.05607590824365616, -0.0016157969366759062, -0.015874193981289864, -0.0353480726480484, -0.03461884334683418, -0.009946979582309723, 0.001999824307858944, -0.0017321056220680475, -0.004014613572508097, -0.005563363898545504, 0.021929606795310974, -0.041106075048446655, -0.0311232041567564, -0.03251011297106743, -0.01547382865101099, -0.07967976480722427, -0.035966284573078156, 0.01473212894052267, 0.013268673792481422, 0.00924030039459467, 0.007443482521921396, 0.020235728472471237, 0.03868064284324646, 0.011487346142530441, -0.027453234419226646, 0.0020257234573364258, 0.007638165261596441, -0.04933495074510574, -0.013086922466754913, 0.026097919791936874, 0.018030382692813873, 0.009740795940160751, -0.003966411110013723, 0.015925567597150803, 0.03745714947581291, -0.03141125664114952, -0.02501281164586544, 0.02759002521634102, 0.012022851966321468, -0.07567481696605682, -0.006709030829370022, -0.011802559718489647, -0.057261984795331955, 0.033162347972393036, 0.002953731454908848, -0.02876194566488266, 0.0029523782432079315, 0.028047209605574608, 0.0280868299305439, -0.038153838366270065, -0.004386047832667828, 0.008259916678071022, -0.017467264086008072, 0.037324875593185425, -0.06401317566633224, 0.04393238574266434, -0.037594228982925415, 0.03134675696492195, -0.009813018143177032, 0.004461067263036966, -0.034657012671232224, 0.052294790744781494, -0.023167110979557037, -0.026617294177412987, -0.030421441420912743, 0.01230286993086338, -0.024244263768196106, 0.03721361979842186, 0.011930336244404316, 0.010442139580845833, 0.0038237455300986767, 0.05691208317875862, -0.05173715576529503, 0.005558770149946213, -0.031436726450920105, -0.014229366555809975, -0.018919112160801888, -0.02603827603161335, -0.013331655412912369, -0.03189600631594658, 0.050787441432476044, 0.024476345628499985, 0.0282315444201231, 0.05412572622299194, 0.00530537124723196, 0.012079541571438313, 0.019446177408099174, -0.07240728288888931, -0.026020342484116554, -0.003911144100129604, -0.012943447567522526, 0.0036476103123277426, 0.07245571166276932, 0.027921238914132118, -0.07053025811910629, -0.04161533713340759, 0.06038025766611099, 0.029179908335208893, -0.013067284598946571, -0.010750621557235718, 0.03815670683979988, 0.028070008382201195, 0.04622357338666916, -0.0472622849047184, -0.014428282156586647, 0.006694592069834471, -0.04616560414433479, 0.02727469988167286, -0.01754356175661087, 0.042509231716394424, 0.006479598116129637, -0.045133866369724274, -0.018658721819519997, 0.07413783669471741, 0.022939596325159073, 0.006330416072160006, -0.010478361509740353, -0.011357452720403671, 0.020481500774621964, -0.0038116760551929474, -0.04515082389116287, -0.005304902326315641, 0.03713403269648552, -0.038947734981775284, 0.07208538055419922, -0.005184495355933905, 0.022570572793483734, 0.038772162050008774, 0.021761450916528702, -0.023408805951476097, 0.05956540256738663, -0.038711704313755035, 0.019727902486920357, 0.03427201136946678, -0.02847173437476158, -0.019524404779076576, -0.01007208600640297, 0.05175388604402542, -0.06988382339477539, 0.04962468147277832, 0.038878653198480606, 0.03429204970598221, 0.0002952379873022437, -0.04625597596168518, -0.05075931176543236, 0.024893011897802353, -0.07215102016925812, 0.07070183753967285, 0.0021824983414262533, -0.07785113900899887, 0.07951804995536804, 0.01990547776222229, -0.07955621927976608, 0.04782037064433098, 0.04083692282438278, 0.03636232763528824, 0.016705498099327087, 0.04283784329891205, -0.04419773444533348, 0.02117900177836418, -0.04230498895049095, 0.01283968798816204, -0.03588784858584404, 0.00587417371571064, 0.005528936628252268, -0.037325404584407806, 0.011285975575447083, 0.04601280018687248, 0.010510573163628578, -0.0054235816933214664, 0.02344546839594841, -0.03605012223124504, -0.04485723748803139, -0.012343227863311768, 0.010018374770879745, -0.021067343652248383, 0.013689916580915451, -0.02941323071718216, 0.021729644387960434, 0.013954673893749714, -0.01567293331027031, -0.06334144622087479, 0.011569353751838207, 0.030407804995775223, -0.05652354285120964, -0.04110061377286911, 0.026889286935329437, 0.008008384145796299, -0.02392185479402542, 0.026295818388462067, 0.004353331867605448, 0.03043127804994583, 0.028979459777474403, 0.003864788683131337, 0.017360150814056396, -0.048554714769124985, 0.005197715479880571, -0.00045042295823805034, -0.011562973260879517, 0.0266996081918478, -0.02937067300081253, 0.03888861462473869, 0.035743050277233124, 0.0421234630048275, -0.010228993371129036, -0.02695257030427456, -0.018833491951227188, 0.004767278209328651, -0.043048832565546036, 0.005307947285473347, 0.03365347161889076, -0.032135020941495895, -0.03351778909564018, -0.003628541249781847, -0.034730710089206696, 0.05914200097322464, -0.044219788163900375, 0.005348989740014076, 0.05308283865451813, -0.028088543564081192, -0.058152757585048676, -0.09355466812849045, 0.0018394142389297485, -0.027845561504364014, 0.005073957145214081, 0.038408201187849045, -0.022691698744893074, 0.011774889193475246, -0.02963569201529026, -0.06256264448165894, 0.017247579991817474, 0.045853596180677414, -0.040330298244953156, 0.06964578479528427, 0.02997177466750145, -0.039018869400024414, 0.032270658761262894, -0.007446607109159231, -0.045531805604696274, -0.014594074338674545, 0.009234379976987839, 0.0476251021027565, 0.02571914717555046, 0.008539027534425259, -0.017722206190228462, -0.022256819531321526, -0.0511154904961586, -0.038978394120931625, -0.043138280510902405, -0.017337139695882797, 0.05779053270816803 ]
Baybars/wav2vec2-xls-r-1b-turkish
[ "pytorch", "tensorboard", "wav2vec2", "automatic-speech-recognition", "tr", "dataset:common_voice", "transformers", "common_voice", "generated_from_trainer" ]
automatic-speech-recognition
{ "architectures": [ "Wav2Vec2ForCTC" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
13
2022-03-01T20:06:26Z
--- license: apache-2.0 tags: - generated_from_trainer datasets: - image_folder metrics: - f1 model-index: - name: convnext_flyswot results: - task: name: Image Classification type: image-classification dataset: name: image_folder type: image_folder args: default metrics: - name: F1 type: f1 value: 0.959245529738118 --- <!-- 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. --> # convnext_flyswot This model is a fine-tuned version of [facebook/convnext-base-224-22k](https://huggingface.co/facebook/convnext-base-224-22k) on the image_folder dataset. It achieves the following results on the evaluation set: - Loss: 0.1441 - F1: 0.9592 ## 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: 2e-05 - train_batch_size: 32 - eval_batch_size: 32 - seed: 666 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 30 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | F1 | |:-------------:|:-----:|:----:|:---------------:|:------:| | No log | 1.0 | 52 | 0.6833 | 0.7484 | | No log | 2.0 | 104 | 0.3666 | 0.8750 | | No log | 3.0 | 156 | 0.2090 | 0.9321 | | No log | 4.0 | 208 | 0.1478 | 0.9449 | | No log | 5.0 | 260 | 0.1002 | 0.9518 | | No log | 6.0 | 312 | 0.1053 | 0.9506 | | No log | 7.0 | 364 | 0.1182 | 0.9616 | | No log | 8.0 | 416 | 0.1102 | 0.9592 | | No log | 9.0 | 468 | 0.1262 | 0.9616 | | 0.203 | 10.0 | 520 | 0.1286 | 0.9616 | | 0.203 | 11.0 | 572 | 0.1355 | 0.9592 | | 0.203 | 12.0 | 624 | 0.1299 | 0.9592 | | 0.203 | 13.0 | 676 | 0.1154 | 0.9592 | | 0.203 | 14.0 | 728 | 0.1385 | 0.9580 | | 0.203 | 15.0 | 780 | 0.1330 | 0.9592 | | 0.203 | 16.0 | 832 | 0.1390 | 0.9592 | | 0.203 | 17.0 | 884 | 0.1386 | 0.9592 | | 0.203 | 18.0 | 936 | 0.1390 | 0.9592 | | 0.203 | 19.0 | 988 | 0.1409 | 0.9592 | | 0.0006 | 20.0 | 1040 | 0.1411 | 0.9592 | | 0.0006 | 21.0 | 1092 | 0.1413 | 0.9592 | | 0.0006 | 22.0 | 1144 | 0.1415 | 0.9592 | | 0.0006 | 23.0 | 1196 | 0.1426 | 0.9592 | | 0.0006 | 24.0 | 1248 | 0.1435 | 0.9592 | | 0.0006 | 25.0 | 1300 | 0.1438 | 0.9592 | | 0.0006 | 26.0 | 1352 | 0.1434 | 0.9592 | | 0.0006 | 27.0 | 1404 | 0.1437 | 0.9592 | | 0.0006 | 28.0 | 1456 | 0.1441 | 0.9592 | | 0.0002 | 29.0 | 1508 | 0.1440 | 0.9592 | | 0.0002 | 30.0 | 1560 | 0.1441 | 0.9592 | ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.0+cu111 - Datasets 1.18.3 - Tokenizers 0.11.6
[ -0.03055953048169613, -0.013320711441338062, -0.02331276424229145, 0.03767222911119461, 0.022299915552139282, 0.007043130695819855, -0.009414666332304478, -0.012947537004947662, -0.007478989195078611, 0.04597485437989235, 0.03863237425684929, -0.01097164023667574, 0.006199938245117664, 0.0406312569975853, -0.04156404361128807, -0.06303858011960983, -0.005709365475922823, -0.0027030520141124725, -0.011615120805799961, 0.011704273521900177, 0.022549567744135857, -0.013159266673028469, -0.022032413631677628, 0.016464393585920334, 0.01598331704735756, 0.009681441821157932, 0.019464928656816483, 0.02885032258927822, 0.018227411434054375, -0.07377996295690536, 0.00824278499931097, -0.043410785496234894, -0.06482581794261932, -0.015775736421346664, -0.0056291003711521626, 0.02385050430893898, 0.005082359071820974, 0.036789823323488235, 0.02079569734632969, 0.06098848581314087, -0.005587378982454538, 0.009045452810823917, -0.034925468266010284, -0.021549025550484657, 0.057120390236377716, -0.016525760293006897, -0.038928061723709106, -0.0035156793892383575, 0.03193673491477966, -0.013819839805364609, -0.07923731207847595, -0.07598171383142471, -0.010306159034371376, 0.006109914276748896, -0.03829259052872658, -0.031960614025592804, -0.03309180587530136, 0.015303310938179493, 0.06912117451429367, -0.05576343461871147, -0.015617512166500092, -0.004871490877121687, -0.05623692646622658, 0.020972205325961113, 0.02653982676565647, -0.03812635317444801, 0.021096156910061836, -0.01740850694477558, 0.03450175002217293, -0.0077490126714110374, 0.06680519133806229, -0.022783558815717697, 0.020631831139326096, -0.07974345982074738, -0.013145673088729382, -0.00992178451269865, 0.04057350009679794, 0.07634526491165161, -0.043631408363580704, 0.03618496656417847, 0.04363789036870003, 0.012744431383907795, 0.036490391939878464, -0.029985185712575912, -0.010899755172431469, 0.02105017565190792, -0.037064842879772186, 0.03488202020525932, 0.012243496254086494, 0.03486306965351105, -0.03384547308087349, -0.02598925493657589, -0.01057351939380169, -0.035545699298381805, -0.025009876117110252, 0.022553877905011177, 0.03817873075604439, -0.0047218576073646545, 0.026788027957081795, 0.030534373596310616, 0.04006949067115784, 0.04560965672135353, -0.024129405617713928, 0.0738595500588417, -0.01383467298001051, -0.028315704315900803, -0.012032277882099152, -0.030906857922673225, -0.04342150315642357, 0.009284424595534801, 0.025598403066396713, -0.02883576788008213, -0.04598403722047806, 0.032678693532943726, 0.000022470452677225694, -0.027798600494861603, 0.07317952811717987, -0.03249491751194, -0.047549135982990265, -0.04866792634129524, 0.03812229633331299, 0.026433542370796204, -0.015733614563941956, -0.006740543060004711, -0.05604933574795723, 0.010333230718970299, -0.00275248265825212, -0.0512399859726429, 0.01559496484696865, 0.010133943520486355, 0.007683529518544674, 0.03862448409199715, 0.024757379665970802, -0.061016108840703964, -0.01362861879169941, 0.028596140444278717, -0.025340106338262558, 0.04269154742360115, -0.011581421829760075, 0.0885000228881836, -0.06819498538970947, -0.06704875826835632, 0.020200153812766075, 0.007008279208093882, -0.032439474016427994, 0.024501757696270943, 0.01687116175889969, -0.04551737755537033, -0.000029986424124217592, -0.032256681472063065, 0.0308665968477726, -0.0607336163520813, -0.0038397423923015594, 0.07251369208097458, 0.005032486282289028, 0.021555019542574883, -0.052266091108322144, -0.044782157987356186, 0.015869440510869026, -0.019516322761774063, 0.02344553917646408, 0.03585456684231758, -0.018165476620197296, -0.009911024942994118, -0.029733840376138687, -0.040746938437223434, -0.004969845525920391, 0.07828774303197861, -0.01736379787325859, -0.039198778569698334, -0.01840907149016857, 0.03596299886703491, 0.06697819381952286, 0.025398723781108856, -0.01404787041246891, 0.04110344499349594, 0.05948428437113762, 0.023150525987148285, -0.04025870934128761, 0.031242547556757927, 0.03161482512950897, -0.03268036991357803, -0.0371883399784565, -0.000621184182818979, -0.013569497503340244, -0.04217205196619034, 0.014323778450489044, 0.03962551802396774, 0.0005095361266285181, -0.03576604649424553, -0.0198927391320467, 0.058627624064683914, -0.003165145870298147, -0.016774117946624756, 0.00656330119818449, -0.00013523732195608318, -0.02468167431652546, 0.023415740579366684, -0.013628480955958366, -0.001221503596752882, -0.025464005768299103, -0.039563994854688644, 0.012393328361213207, 0.000029979326427564956, 0.008530163206160069, 0.027532044798135757, -0.018646016716957092, 0.09154404699802399, -0.032002344727516174, 0.021574290469288826, -0.04248255491256714, -0.0707661509513855, 0.0142864054068923, 0.06007279455661774, 0.048421476036310196, 0.08529242873191833, 0.005018947646021843, -0.05744372308254242, 0.047782883048057556, 0.06373109668493271, 0.04773293435573578, 0.014183204621076584, -0.025811389088630676, -0.012948701158165932, 0.02258989028632641, 0.041797149926424026, -0.06606408953666687, -0.03031683899462223, 0.029030216857790947, 0.033979978412389755, -0.025042040273547173, 0.006802806630730629, -0.03246043622493744, 0.04706836864352226, -0.062062568962574005, -0.06982975453138351, 0.035969555377960205, 0.039194583892822266, 0.005321796517819166, 0.024451835080981255, 0.00795573741197586, -0.007078008726239204, 0.020770199596881866, 0.0003816731332335621, -0.003834261791780591, -0.02766798436641693, 0.02482091635465622, 0.01974184438586235, 0.048868052661418915, -0.057885415852069855, 0.021341707557439804, -0.008603948168456554, 0.007756206672638655, 0.04668580740690231, -0.02795480750501156, 0.04207918047904968, 0.06791406869888306, 0.03479492664337158, -0.022028617560863495, 0.03921407833695412, 0.021087905392050743, 0.025762738659977913, 0.02449413761496544, -0.005244353320449591, 0.07288115471601486, -0.004234492778778076, 0.04159124568104744, 0.0582539439201355, 0.02572591044008732, 0.02581864409148693, 0.03163371980190277, 0.09305895119905472, 0.00602312944829464, -0.014377578161656857, 0.05746621638536453, -0.03671438619494438, 0.03261939808726311, -0.019382957369089127, 0.014411215670406818, -0.015403247438371181, 0.010874083265662193, 0.04342501983046532, 0.016640014946460724, -0.04523292928934097, 0.003006516955792904, 0.0027281693182885647, -0.03315972164273262, 0.038045190274715424, 0.00709990831092, -0.010738165117800236, 0.0018413999350741506, -0.008725007064640522, -0.008157027885317802, -0.06510287523269653, -0.04382556304335594, -0.013673766516149044, -0.05694558471441269, -0.03022024780511856, -0.09410421550273895, 0.03107411600649357, -0.06809626519680023, -0.015691911801695824, 0.05664857104420662, 0.018312903121113777, -0.001474120537750423, -0.03144444525241852, 0.018729424104094505, -0.04844890907406807, -0.032086241990327835, -0.05785232409834862, -0.04931746795773506, -0.05305180698633194, -0.0499286986887455, 0.031183164566755295, 0.016122136265039444, 0.03626791760325432, 0.01870684325695038, 0.008103410713374615, -0.0001699018757790327, -0.00809505395591259, 0.04568919539451599, 0.07422325760126114, -0.02574106864631176, -0.03080669790506363, 0.01830103062093258, -0.010424114763736725, 0.010392481461167336, -0.015342037193477154, -0.01811145804822445, 0.09565161913633347, 0.06182283163070679, 0.005777777172625065, 0.007163646165281534, -0.017268933355808258, -0.031504154205322266, -0.04694478586316109, -0.03526325523853302, -0.03101552277803421, -0.0035401498898863792, -0.03836309537291527, -0.03820737078785896, -0.03630111366510391, -0.019571291282773018, -0.007315532770007849, -0.01477439422160387, -0.010533486492931843, 0.031966131180524826, 0.028220005333423615, 0.024311954155564308, 0.02993648871779442, -0.031923163682222366, -0.05719033256173134, 0.04737331345677376, 0.007044255267828703, -0.022140884771943092, -0.07040474563837051, -0.013416213914752007, 0.024844830855727196, 0.01979340799152851, 0.004622625187039375, 0.006245273165404797, 0.08570259809494019, 0.005286003462970257, 0.0011121862335130572, 0.02229291945695877, -0.021193120628595352, -0.0014111092314124107, -0.02067478932440281, 0.005566522479057312, 0.011328705586493015, -0.03755982965230942, -0.008880920708179474, -0.013054396957159042, 0.0475650392472744, -0.07190439105033875, -0.046786580234766006, 0.010575665161013603, 0.018161606043577194, 0.04514830559492111, 0.015254395082592964, -0.05941148102283478, -0.03323161229491234, -0.0824032723903656, -0.01591486670076847, 0.022850211709737778, 0.017579210922122, 0.032738711684942245, 0.05077790468931198, 0.00894907396286726, -0.020283449441194534, 0.03110409714281559, 0.026460204273462296, 0.06468313932418823, 0.02796589396893978, -0.04686593636870384, 0.0007112307939678431, -0.018636995926499367, 0.023756269365549088, -0.008397256024181843, 0.0022466732189059258, -0.024651167914271355, -0.082298643887043, -0.025793056935071945, 0.005048913881182671, 0.005704817362129688, -0.020360833033919334, 0.06610976159572601, -0.01579202711582184, -0.032264694571495056, -0.0025574155151844025, 0.01594683527946472, 0.029933987185359, -0.05248062312602997, 0.05400177836418152, -0.04129933565855026, 0.023939767852425575, -0.04966253042221069, 0.0034519073087722063, -0.029729625210165977, -0.019026530906558037, 0.015040881000459194, 0.04698645696043968, 0.01732075959444046, 0.03747182339429855, 0.0755150094628334, 0.022076904773712158, -0.04276559129357338, 0.016433212906122208, 0.05542943626642227, -0.01490851677954197, -0.04729977995157242, 0.009124075062572956, -0.022452158853411674, 0.009640725329518318, -0.00968542043119669, -0.005266910884529352, 0.030294789001345634, 0.06179722771048546, -0.012998195365071297, 0.003873139154165983, 0.028338182717561722, -0.004372993018478155, -0.024573542177677155, -0.07079534232616425, -0.0037135323509573936, -0.0051198056899011135, -0.03838744014501572, -0.004019971936941147, 0.028344666585326195, 0.013700532726943493, 0.05450527369976044, 0.02751983515918255, -0.0272540170699358, -0.033209145069122314, 0.024697914719581604, 0.032433465123176575, -0.0317264199256897, -0.05807805433869362, -0.018495814874768257, 0.04267551377415657, -0.0003390714118722826, -0.027042558416724205, -0.0664699375629425, 0.008747199550271034, 0.05615248158574104, -0.07304579019546509, 0.03597500920295715, 0.023291917517781258, 0.02869267575442791, 0.04383528232574463, -0.011654062196612358, 0.0428493432700634, -0.02351674996316433, 0.004571177996695042, 0.007319092284888029, 0.03210976719856262, -0.02215377241373062, -0.0479496531188488, -0.047415897250175476, 0.04635722190141678, 0.036224011331796646, 0.03173080459237099, 0.045056141912937164, -0.03445041924715042, -0.028819609433412552, -0.005793763790279627, 0.053419895470142365, -0.04219072684645653, 0.007793121971189976, 0.023180991411209106, 0.0324932336807251, -0.041144609451293945, -0.025915712118148804, -0.02538507618010044, -0.007512242067605257, 0.027030428871512413, -0.029063755646348, -0.05178069323301315, -0.02054859697818756, 0.03665401041507721, 0.007657712325453758, -0.0035576289519667625, -0.09397892653942108, 0.05123472213745117, -0.022326093167066574, -0.02298966981470585, 0.05499989911913872, 0.042520277202129364, 0.0181423332542181, 0.0716003030538559, 0.03101469576358795, 0.03674214705824852, -0.04714229702949524, 0.040498699992895126, -0.06309816241264343, -0.017542820423841476, 0.020251331850886345, -0.03532993048429489, -0.024285409599542618, -0.013990243896842003, -0.029754620045423508, -0.03268275037407875, -0.026104841381311417, 0.029867172241210938, -0.011823326349258423, -0.018444038927555084, -0.006147077307105064, 0.03611632436513901, -0.018818680197000504, -0.026338040828704834, -0.042365558445453644, -0.04098987951874733, -0.05154336616396904, -0.053553324192762375, 0.026597250252962112, -0.009901567362248898, 0.0473705530166626, 0.017125938087701797, 0.020415298640727997, 0.02026939019560814, 0.031288329511880875, -0.03407160937786102, 0.015789682045578957, 0.02602395787835121, -0.0022116350010037422, -0.013103120028972626, 0.014934210106730461, 0.010818964801728725, 0.038947395980358124, -0.031534403562545776, 0.019749993458390236, 0.02496003732085228, -0.009984539821743965, -0.0009380773408338428, 0.042694974690675735, 0.007489033043384552, -0.07381145656108856, -0.03209804743528366, 0.0006263199611566961, -0.02906377799808979, 0.029457850381731987, -0.03486945107579231, -0.02538023144006729, 0.024853995069861412, -0.0025657983496785164, 0.035983629524707794, -0.03310656175017357, -0.020456591621041298, 0.0306842140853405, -0.020691486075520515, 0.006470879539847374, -0.0418318547308445, 0.03897978737950325, -0.043337132781744, 0.01869317889213562, -0.021377824246883392, -0.005734934937208891, -0.043501079082489014, 0.035752806812524796, -0.009851806797087193, -0.02476130612194538, -0.029419828206300735, 0.06107547506690025, -0.012924359180033207, 0.020573889836668968, -0.024880798533558846, 0.001135472091846168, -0.038394469767808914, 0.06261808425188065, -0.024469411000609398, 0.016851261258125305, -0.02429596148431301, 0.006734360009431839, -0.035581450909376144, 0.012878545559942722, -0.031204193830490112, -0.009680699557065964, 0.01456871535629034, 0.06843556463718414, 0.03495028242468834, 0.02337798848748207, -0.023586472496390343, 0.01028929278254509, 0.03778227046132088, -0.054051127284765244, -0.03419581428170204, 0.006123675033450127, 0.0032196249812841415, -0.00798780843615532, 0.0608811229467392, 0.051602963358163834, -0.056127507239580154, -0.058151379227638245, 0.0727849155664444, 0.03262734413146973, -0.0003905263147316873, 0.01567566767334938, 0.015942275524139404, 0.03599672019481659, 0.050462763756513596, -0.033191654831171036, -0.004868683405220509, -0.009284930303692818, -0.04764087498188019, 0.05516614019870758, -0.01913297548890114, 0.030025465413928032, 0.011777305044233799, -0.03587085008621216, -0.01985076814889908, 0.06978251039981842, 0.03510027006268501, 0.033412788063287735, -0.01436670683324337, -0.04506039619445801, 0.040200941264629364, 0.0017735832370817661, -0.04456523805856705, 0.020005719736218452, -0.0018549748929217458, -0.03266163542866707, 0.047927532345056534, 0.009763148613274097, 0.02046508714556694, 0.043688543140888214, 0.048412539064884186, -0.015067223459482193, 0.06361335515975952, -0.02623419649899006, 0.0032572131603956223, 0.0429961234331131, -0.05751868709921837, -0.022226689383387566, -0.04098072648048401, 0.0654270201921463, -0.0767938420176506, 0.04944542795419693, 0.04421863704919815, -0.01968376524746418, 0.010321336798369884, -0.00510190986096859, -0.04946156591176987, 0.011736125685274601, -0.04544111713767052, 0.09571972489356995, 0.006025020033121109, -0.04719419404864311, 0.07964585721492767, 0.021966008469462395, -0.06284211575984955, 0.028743283823132515, 0.03956003487110138, 0.035309482365846634, 0.018150432035326958, 0.032158199697732925, -0.035543691366910934, 0.019723687320947647, -0.0542977899312973, 0.031011376529932022, -0.0486164465546608, -0.03024185262620449, 0.04282013326883316, -0.047000739723443985, -0.010923821479082108, 0.042284272611141205, -0.00909746065735817, -0.011277125217020512, 0.047725312411785126, -0.03216046094894409, -0.030943023040890694, 0.01082156877964735, 0.020947374403476715, -0.03719682618975639, -0.01025247760117054, -0.022285057231783867, 0.019533393904566765, 0.009043699130415916, 0.001645340584218502, -0.026090018451213837, 0.00573252746835351, 0.03457677364349365, -0.08135708421468735, -0.03348144516348839, 0.019810644909739494, -0.012495361268520355, -0.01665395125746727, 0.027464091777801514, 0.010173809714615345, 0.014790994115173817, 0.035234931856393814, -0.011496533639729023, 0.020484119653701782, -0.042962610721588135, -0.030268913134932518, 0.024954624474048615, -0.0003272760077379644, -0.002980009885504842, 0.003928644582629204, 0.04745586961507797, 0.03788105398416519, 0.020604293793439865, -0.015683574602007866, -0.012994439341127872, -0.03840553015470505, 0.0469147153198719, -0.028186285868287086, 0.013834691606462002, -0.00034010125091299415, -0.04732649400830269, -0.06658553332090378, -0.00966333132237196, -0.03878230229020119, 0.0354730449616909, -0.04106391593813896, -0.015190627425909042, 0.02188965678215027, 0.0018596432637423277, -0.06998085975646973, -0.10542454570531845, -0.008259530179202557, -0.04550505429506302, 0.039851535111665726, 0.0394710972905159, -0.035195861011743546, 0.059387076646089554, -0.029478611424565315, -0.06539127975702286, 0.028942598029971123, 0.016390006989240646, -0.014477365650236607, 0.039898503571748734, 0.06534522026777267, -0.06229501590132713, 0.026508072391152382, 0.033335961401462555, -0.05265439674258232, 0.008835234679281712, 0.0197201669216156, 0.01541847363114357, 0.010264173150062561, 0.02742912620306015, -0.04413605108857155, -0.020883379504084587, -0.05376599729061127, -0.036542858928442, -0.0636979267001152, 0.014090562239289284, 0.04501492530107498 ]
BeIR/sparta-msmarco-distilbert-base-v1
[ "pytorch", "distilbert", "feature-extraction", "arxiv:2009.13013", "arxiv:2104.08663", "transformers" ]
feature-extraction
{ "architectures": [ "DistilBertModel" ], "model_type": "distilbert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
106
null
--- license: mit tags: - object-detection widget: - src: https://huggingface.co/davanstrien/detr_beyond_words/resolve/main/19.jpg example_title: page - src: https://huggingface.co/davanstrien/detr_beyond_words/resolve/main/65.jpg example_title: page2 --- # detr_beyond_words (WIP) [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) fine tuned on [Beyond Words](https://github.com/LibraryOfCongress/newspaper-navigator/tree/master/beyond_words_data).
[ -0.027030186727643013, -0.024865904822945595, -0.015138491056859493, 0.018081337213516235, 0.03134682774543762, 0.03246695548295975, -0.012683671899139881, -0.02069053426384926, -0.01727343536913395, 0.040563296526670456, 0.017335793003439903, 0.007899593561887741, 0.02755253203213215, 0.03096909634768963, 0.004373782314360142, -0.04694506525993347, -0.000028064847356290556, -0.01828474923968315, -0.032929837703704834, -0.02253587916493416, 0.02310287207365036, 0.022846566513180733, -0.031776078045368195, 0.029783328995108604, 0.00985395535826683, 0.0016776641132310033, -0.013226587325334549, 0.03017367050051689, -0.006715890485793352, -0.053571123629808426, -0.018526913598179817, -0.03970706835389137, -0.032445985823869705, -0.026392830535769463, -0.029004501178860664, 0.003183613298460841, 0.0010667662136256695, -0.010432728566229343, -0.010186508297920227, 0.07244369387626648, 0.009064989164471626, 0.010047271847724915, -0.0005634104600176215, -0.04105369374155998, 0.03450872376561165, -0.004592489916831255, -0.06657247990369797, -0.03616311773657799, 0.020598916336894035, -0.037740159779787064, -0.0821022093296051, -0.0739254504442215, -0.03467727079987526, 0.01888621225953102, 0.008435346186161041, -0.004947784822434187, -0.052661240100860596, 0.00014816057228017598, 0.05231054872274399, -0.05208321660757065, -0.0315554253757, 0.01825418323278427, -0.06046032905578613, 0.0187093373388052, 0.039163101464509964, -0.01951669342815876, 0.011342889629304409, -0.029486872255802155, 0.021897684782743454, -0.017338426783680916, 0.05281974747776985, -0.05131397023797035, 0.034128207713365555, -0.06529659032821655, 0.0029479351360350847, -0.022033022716641426, 0.03479183092713356, 0.06642619520425797, -0.034109294414520264, 0.05496272072196007, 0.030402254313230515, 0.018791435286402702, 0.049764059484004974, -0.019208526238799095, -0.02417372353374958, 0.03729606419801712, -0.0128204096108675, 0.009256105870008469, -0.0023869129363447428, 0.06329648941755295, -0.04574714973568916, -0.008436818607151508, -0.005857980344444513, -0.014846853911876678, -0.03573162108659744, 0.042755018919706345, 0.03294258564710617, -0.03802979737520218, 0.017576424404978752, 0.05912219360470772, 0.025704076513648033, 0.05989672988653183, -0.014779279939830303, 0.08048931509256363, -0.001806585118174553, 0.0017278179293498397, -0.03471200913190842, -0.023420758545398712, -0.06472163647413254, 0.01900986209511757, 0.01328552607446909, -0.025658776983618736, -0.05750584229826927, 0.01949390210211277, -0.0057558584958314896, -0.024834103882312775, 0.061432041227817535, -0.017911117523908615, -0.0372931994497776, -0.031192289665341377, 0.037534281611442566, 0.009648561477661133, 0.007354597095400095, 0.019990408793091774, -0.05630658566951752, 0.0030106594786047935, -0.04415768384933472, -0.03977246209979057, -0.008346459828317165, 0.007252729032188654, 0.004577293526381254, 0.050684936344623566, 0.031542446464300156, -0.07400929182767868, 0.016990533098578453, 0.0010650958865880966, -0.024138683453202248, 0.036392372101545334, 0.039837758988142014, 0.12393589317798615, -0.07208701968193054, -0.04758230969309807, 0.023345790803432465, 0.01972278580069542, -0.021838780492544174, -0.0002064310829155147, 0.02745111472904682, 0.002037480240687728, -0.03603995591402054, -0.005611309316009283, 0.01673837937414646, -0.0700477808713913, 0.01645955815911293, 0.02641194872558117, -0.0017486002761870623, 0.047303441911935806, -0.04646880552172661, 0.005263601895421743, -0.021378638222813606, -0.011464918032288551, -0.04232336953282356, 0.07257632911205292, -0.010196197777986526, 0.007014701142907143, -0.028703603893518448, -0.02546580135822296, -0.00631747767329216, 0.07957831770181656, -0.0017345431260764599, -0.04332578927278519, -0.0690520778298378, 0.003469409653916955, 0.07009300589561462, 0.0432429313659668, -0.021653013303875923, 0.01634276658296585, 0.02162860706448555, 0.05585680156946182, -0.011235931888222694, 0.03339429199695587, 0.0032266431953758, -0.04089798405766487, -0.033858079463243484, 0.007394673302769661, 0.024305446073412895, -0.04611042141914368, 0.010206170380115509, 0.04876021668314934, 0.031888458877801895, -0.04428271949291229, 0.0038353432901203632, 0.06385203450918198, -0.005443240981549025, -0.025891490280628204, 0.0077010588720440865, -0.025769202038645744, -0.005396182648837566, 0.046465519815683365, -0.04172825813293457, 0.0015448376070708036, -0.03208424896001816, -0.023631956428289413, 0.022678162902593613, 0.036324404180049896, 0.032216064631938934, 0.01753804087638855, -0.0028919922187924385, 0.0680973157286644, -0.03757491707801819, -0.0036433630157262087, -0.020343666896224022, -0.044070370495319366, -0.028252888470888138, 0.04298665001988411, 0.025066709145903587, 0.03197281062602997, -0.007251041941344738, -0.04284834489226341, 0.029059339314699173, 0.06708712130784988, 0.011197906918823719, 0.046087369322776794, -0.01498060766607523, -0.02592536062002182, 0.06296014785766602, 0.04757793992757797, -0.01700408384203911, -0.01948007568717003, 0.021205371245741844, 0.005716819316148758, -0.03757507726550102, -0.006677364464849234, -0.03269154205918312, 0.0002113969821948558, -0.059485867619514465, -0.062389273196458817, 0.0213055070489645, 0.016180487349629402, -0.01661680079996586, 0.0073343487456440926, -0.029497232288122177, 0.02342240698635578, 0.05248676612973213, 0.009404917247593403, 0.025085611268877983, -0.056609418243169785, -0.009433683939278126, 0.01967756450176239, 0.029554029926657677, -0.03636674955487251, 0.019582930952310562, 0.0206004586070776, 0.009697843343019485, 0.04511071369051933, -0.01892893575131893, 0.057122744619846344, 0.0517478808760643, 0.04953451454639435, -0.04707134887576103, 0.028647318482398987, 0.006735239643603563, 0.017272932454943657, 0.06225582957267761, -0.008455868810415268, 0.034015774726867676, -0.02210499532520771, 0.04276009649038315, 0.09446126222610474, -0.003913010936230421, 0.006171217653900385, 0.025152167305350304, 0.0593908466398716, -0.013208101503551006, -0.01775464601814747, 0.05396808311343193, -0.02945995330810547, 0.03150399774312973, -0.039605166763067245, 0.03766085207462311, -0.014174986630678177, -0.02015264332294464, 0.019282424822449684, -0.018619194626808167, -0.04125124588608742, 0.021115221083164215, -0.018827231600880623, -0.02353261038661003, 0.03700079768896103, -0.00776762655004859, 0.013836344704031944, -0.0046049728989601135, -0.009919815696775913, 0.026640383526682854, -0.05693135783076286, -0.04281393811106682, -0.012455069459974766, -0.011559723876416683, -0.013573139905929565, -0.0852360650897026, 0.0010234732180833817, -0.05988417565822601, -0.02243027463555336, 0.03943311423063278, 0.021092770621180534, 0.04701433703303337, 0.012385793961584568, 0.01283226441591978, -0.03404875099658966, -0.0407286137342453, -0.08094751089811325, -0.01678255945444107, -0.0542634055018425, -0.07117129117250443, 0.03662148863077164, 0.008193636313080788, 0.047267258167266846, 0.03518481180071831, 0.005463262554258108, -0.07317034155130386, 0.013459078036248684, 0.03132695332169533, 0.02309827320277691, -0.001146991504356265, -0.023842941969633102, 0.01474104356020689, -0.00038979938835836947, -0.010697037912905216, -0.002643129788339138, -0.03530435636639595, 0.07007335871458054, 0.07331916689872742, 0.040439315140247345, 0.016051478683948517, 0.009379939176142216, -0.04392269626259804, -0.06501887738704681, -0.03992406651377678, -0.04499625042080879, -0.01989348977804184, -0.043129000812768936, -0.06623101979494095, -0.014637526124715805, -0.03695741668343544, 0.027652721852064133, -0.023035340011119843, 0.006745945196598768, 0.042212214320898056, 0.0485551543533802, 0.027743950486183167, 0.028530091047286987, -0.02380581572651863, -0.025867901742458344, 0.0660531148314476, 0.011128202080726624, 0.0005725990631617606, -0.04702627286314964, -0.013726205565035343, 0.04515007138252258, 0.022734949365258217, 0.003240973223000765, -0.006326832342892885, 0.04549957811832428, 0.014292164705693722, -0.014871414750814438, -0.019147418439388275, 0.01813366264104843, 0.02048571966588497, 0.005343498196452856, 0.0004707805346697569, -0.04683554917573929, -0.020529992878437042, -0.03561927750706673, -0.015922345221042633, 0.029256142675876617, -0.06260690093040466, -0.04346124827861786, -0.02017931640148163, 0.009092790074646473, 0.010881847701966763, 0.020909231156110764, -0.03504179045557976, -0.015885455533862114, -0.04573381319642067, -0.018053513020277023, -0.0021165325306355953, -0.016744911670684814, 0.031128233298659325, 0.00012185749801574275, 0.026943860575556755, -0.02925463207066059, 0.015737956389784813, 0.021725280210375786, 0.05368177592754364, 0.02312755584716797, -0.03181023895740509, 0.0436345674097538, 0.008219623938202858, -0.008844723924994469, -0.0025021107867360115, -0.015024919994175434, -0.04487248882651329, -0.09553749114274979, 0.0050806812942028046, 0.015267766080796719, 0.0057702986523509026, 0.0018250533612444997, 0.0376468151807785, -0.031071973964571953, -0.01845313236117363, 0.03590785339474678, 0.023211508989334106, 0.03584606572985649, -0.014107191935181618, 0.06792137771844864, -0.00004488284685066901, 0.022719739004969597, -0.06187252327799797, 0.012063653208315372, -0.03919646888971329, -0.015241876244544983, -0.004343509208410978, 0.08601664006710052, 0.007704871706664562, 0.07100503891706467, 0.06476768851280212, 0.041559457778930664, -0.030353229492902756, 0.024033771827816963, 0.04599526897072792, -0.024119403213262558, -0.028184207156300545, -0.020336134359240532, -0.011925744824111462, 0.004370528273284435, -0.0175595972687006, -0.025165732949972153, -0.004633971024304628, 0.02198060229420662, -0.019604263827204704, -0.025110552087426186, 0.009705345146358013, -0.025673797354102135, -0.027469100430607796, -0.056534651666879654, 0.004058308433741331, 0.006213766988366842, -0.03273617476224899, 0.03628126531839371, 0.05928092077374458, 0.009141627699136734, 0.05354737490415573, 0.028141237795352936, -0.030526969581842422, -0.05276813358068466, 0.027719620615243912, 0.057154953479766846, -0.07026233524084091, -0.06204627826809883, -0.0462547168135643, 0.03464191034436226, 0.05087588354945183, -0.018550656735897064, -0.08416156470775604, 0.011214345693588257, 0.02642247825860977, -0.047215286642313004, 0.06708085536956787, -0.002655287738889456, 0.06156986951828003, 0.04633117839694023, 0.01782270148396492, 0.04676452651619911, -0.050802890211343765, 0.014479652978479862, 0.007131794933229685, 0.033605556935071945, -0.04556072875857353, -0.0360778272151947, -0.034218598157167435, 0.04216727241873741, 0.008775022812187672, 0.06181153655052185, 0.04213370382785797, -0.06362953037023544, -0.047606851905584335, 0.010473644360899925, 0.052795495837926865, -0.07258755713701248, 0.007694384548813105, 0.03833688423037529, 0.08090069890022278, -0.07166936248540878, -0.042758479714393616, -0.011620506644248962, 0.0013894031289964914, 0.052066508680582047, -0.02988705225288868, -0.009045496582984924, -0.05996842309832573, 0.022410191595554352, -0.0005782090593129396, -0.025213513523340225, -0.10282415896654129, 0.038185715675354004, -0.010710983537137508, -0.015118373557925224, 0.038675691932439804, 0.03856130689382553, 0.060710515826940536, 0.06331033259630203, -0.020409496501088142, 0.008737684227526188, -0.024261323735117912, 0.017961177974939346, -0.027773112058639526, -0.00976548995822668, 0.01935427077114582, -0.034547314047813416, -0.005958378780633211, -0.0138540118932724, -0.049810294061899185, -0.06051699072122574, -0.006904329173266888, 0.04061780124902725, -0.00328745786100626, -0.002061261795461178, -0.008878481574356556, 0.036032289266586304, 0.00011635767441475764, -0.020450234413146973, -0.025727324187755585, -0.0281808041036129, -0.06146468594670296, -0.018575817346572876, 0.00790276750922203, -0.028936874121427536, -0.005795409437268972, 0.007777087856084108, 0.044824834913015366, 0.038206178694963455, 0.015031479299068451, -0.0543859601020813, 0.015134193934500217, 0.01841094344854355, -0.014995530247688293, 0.006228148937225342, 0.008486142382025719, 0.013364666141569614, 0.028320269659161568, -0.06651676446199417, 0.020617805421352386, 0.005925110075622797, -0.03168489411473274, -0.03478722274303436, 0.030914178118109703, 0.012938488274812698, -0.06126030161976814, -0.05377795174717903, -0.007935687899589539, -0.031429123133420944, 0.02812783047556877, -0.014065627008676529, -0.036038581281900406, 0.014715878292918205, 0.003596714697778225, 0.013077941723167896, -0.01541490200906992, -0.02106507308781147, 0.02767656184732914, -0.029289836063981056, -0.008475927636027336, -0.05168431997299194, 0.038665346801280975, -0.03059927560389042, -0.007580156438052654, -0.012355254963040352, -0.01906234212219715, -0.049071721732616425, 0.03397206589579582, 0.015490061603486538, -0.0036765923723578453, -0.010526787489652634, 0.011538807302713394, -0.047801241278648376, 0.04512636736035347, -0.03147124499082565, 0.0063283429481089115, 0.004512249492108822, 0.04939668998122215, -0.060729723423719406, 0.01272391714155674, -0.013528499752283096, 0.006938215810805559, -0.019168024882674217, -0.016399750486016273, -0.0038585306610912085, -0.03784996643662453, 0.006090587470680475, 0.007539564743638039, 0.03412260860204697, 0.038106366991996765, -0.017292791977524757, -0.0028437452856451273, 0.029097402468323708, -0.07655833661556244, -0.011614994145929813, 0.016108255833387375, 0.002803253708407283, -0.017814135178923607, 0.06453714519739151, 0.037030961364507675, -0.03562922775745392, -0.035373762249946594, 0.031757134944200516, 0.01534625981003046, 0.0049540260806679726, -0.0025309172924607992, 0.006134409923106432, 0.053862713277339935, 0.04470520094037056, -0.03542511537671089, 0.0008880326058715582, 0.013210671953856945, -0.012719224207103252, 0.021231304854154587, 0.017773738130927086, 0.01453994307667017, -0.0032792582642287016, -0.04479122906923294, -0.029386840760707855, 0.08296580612659454, 0.032999370247125626, 0.010605492629110813, -0.03400074690580368, -0.028594519942998886, 0.03870663791894913, 0.046362847089767456, -0.056429412215948105, 0.01192780677229166, 0.03738950192928314, -0.02116563357412815, 0.06677229702472687, -0.048196941614151, 0.016649026423692703, 0.02201286517083645, 0.034095752984285355, -0.026222633197903633, 0.04393351823091507, -0.031059803441166878, -0.0014469557208940387, 0.04011073708534241, -0.026526452973484993, -0.031896449625492096, -0.050657790154218674, 0.06854874640703201, -0.07559812813997269, 0.05296485126018524, 0.051949311047792435, -0.003004934871569276, 0.055122505873441696, -0.03910541161894798, -0.03223327547311783, 0.0012537353904917836, -0.03830958902835846, 0.08103206753730774, 0.014614869840443134, -0.053220007568597794, 0.09185854345560074, -0.0059328703209757805, -0.04988310858607292, 0.028149859979748726, 0.03318236023187637, 0.03683040663599968, 0.006704237312078476, 0.016271516680717468, -0.027865184471011162, 0.03430319204926491, -0.06110906973481178, 0.02120976522564888, -0.0787622332572937, -0.014434305019676685, -0.0002372637391090393, -0.04367578402161598, -0.02064228057861328, 0.02525404468178749, -0.02846946194767952, -0.0023701139725744724, 0.006566966418176889, -0.043324172496795654, -0.047900598496198654, 0.02155217155814171, 0.007309302221983671, -0.02624906599521637, -0.0033691907301545143, -0.013684107922017574, -0.015050210990011692, 0.024837637320160866, 0.0016556016635149717, -0.029891757294535637, 0.0017003566026687622, 0.04762975499033928, -0.0778450295329094, -0.016992943361401558, 0.04883502796292305, 0.0038159447722136974, -0.01729186438024044, 0.013999592512845993, -0.010274362750351429, 0.006437580566853285, 0.03954234719276428, -0.011986808851361275, 0.01473298016935587, -0.06751889735460281, 0.00043419384746812284, 0.03472067043185234, 0.021572396159172058, 0.012800930067896843, -0.017904963344335556, 0.035110410302877426, 0.0319792702794075, 0.06313174962997437, -0.025521481409668922, -0.019363760948181152, -0.0027837965171784163, 0.02480088174343109, -0.04730909317731857, 0.01574462279677391, -0.02510281838476658, -0.060856446623802185, -0.049320366233587265, -0.03167098015546799, -0.0179471205919981, 0.05350501462817192, -0.0642753541469574, 0.015654366463422775, 0.056545477360486984, 0.011240791529417038, -0.04685836657881737, -0.08945656567811966, -0.03559315204620361, -0.011376642622053623, 0.015774689614772797, 0.024901261553168297, -0.028806734830141068, 0.023882009088993073, -0.045576244592666626, -0.053084827959537506, 0.01971014030277729, 0.014851652085781097, -0.028275275602936745, 0.06961482018232346, 0.03664699196815491, -0.03347025811672211, 0.01501298975199461, 0.025203285738825798, -0.034585464745759964, 0.034932058304548264, -0.0028136263135820627, 0.014764736406505108, 0.023026643320918083, 0.05192022770643234, -0.04371819272637367, -0.03518142178654671, -0.04301268234848976, -0.07257185131311417, -0.014761329628527164, -0.0024345931597054005, 0.07783354818820953 ]
BenGeorge/MyModel
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-10-23T15:00:31Z
--- tags: - text-classification library_name: generic --- # Text Classification repository template This is a template repository for Text Classification to support generic inference with Hugging Face Hub generic Inference API. There are two required steps: 1. Specify the requirements by defining a `requirements.txt` file. 2. Implement the `pipeline.py` `__init__` and `__call__` methods. These methods are called by the Inference API. The `__init__` method should load the model and preload all the elements needed for inference (model, processors, tokenizers, etc.). This is only called once. The `__call__` method performs the actual inference. Make sure to follow the same input/output specifications defined in the template for the pipeline to work. ## How to start First create a repo in https://hf.co/new. Then clone this template and push it to your repo. ``` git clone https://huggingface.co/templates/text-classification cd text-classification git remote set-url origin https://huggingface.co/$YOUR_USER/$YOUR_REPO_NAME git push --force ```
[ -0.012199974618852139, -0.027948468923568726, -0.003908523824065924, 0.0438234880566597, 0.03382953256368637, 0.042376939207315445, -0.04029495641589165, -0.008418144658207893, -0.025038976222276688, 0.03944607451558113, 0.00913270190358162, 0.03201737627387047, 0.028001263737678528, 0.04109123349189758, -0.016632428392767906, -0.006724719889461994, -0.033562932163476944, -0.020650111138820648, -0.015166256576776505, -0.003609457751736045, 0.00410758750513196, 0.002065889537334442, -0.0031330487690865993, 0.02778048627078533, -0.012227670289576054, 0.03518503159284592, -0.010205402970314026, 0.025963036343455315, 0.03657805547118187, -0.05295446887612343, 0.005674966145306826, -0.019867176190018654, -0.04099387675523758, 0.017949648201465607, -0.019420426338911057, 0.004481280688196421, 0.01241816021502018, -0.0004390403628349304, -0.013862860389053822, 0.03778896480798721, 0.021679939702153206, 0.0196125078946352, -0.018318146467208862, -0.01613098755478859, 0.05488305538892746, 0.006627138704061508, -0.04166188836097717, -0.019454609602689743, 0.04756370559334755, -0.017730526626110077, -0.050983428955078125, -0.06391831487417221, -0.056217584758996964, 0.01733870431780815, -0.01460522785782814, -0.012275014072656631, -0.01270003616809845, -0.014800907112658024, 0.05988383665680885, -0.01951008103787899, -0.035520438104867935, -0.017108164727687836, -0.054669834673404694, 0.02995155192911625, 0.023826587945222855, -0.04925040528178215, -0.014654059894382954, -0.027365656569600105, 0.008880039677023888, -0.0383606031537056, 0.04528395086526871, -0.02217812091112137, 0.036410991102457047, -0.09902215003967285, 0.019308842718601227, -0.013268551789224148, 0.06295312196016312, 0.02570977807044983, -0.0011240955209359527, 0.05223482847213745, 0.026019157841801643, -0.007703032344579697, 0.026637226343154907, 0.042582105845212936, -0.01472216285765171, 0.05327344313263893, -0.03184979408979416, 0.02455553226172924, 0.007356187328696251, 0.029666652902960777, -0.05853880196809769, -0.05777382105588913, -0.05230456218123436, -0.03481592610478401, -0.022068975493311882, 0.03312087804079056, 0.03167075291275978, 0.006206047255545855, 0.042632147669792175, 0.053420525044202805, 0.019612938165664673, 0.04104447737336159, -0.030435815453529358, 0.0389910526573658, -0.006816819775849581, 0.008194814436137676, -0.027602771297097206, -0.0380038283765316, -0.055202681571245193, 0.04399380087852478, 0.023700742051005363, -0.04995974898338318, -0.04576685279607773, 0.054060131311416626, 0.000411379209253937, -0.014479836449027061, 0.047032881528139114, -0.04649905115365982, -0.019252782687544823, -0.05918990820646286, 0.035654470324516296, 0.004637284204363823, 0.0002713849244173616, -0.0123350964859128, -0.05355243384838104, 0.02004222385585308, -0.045318782329559326, -0.005165829788893461, -0.002826256211847067, 0.03363560885190964, -0.01275931391865015, 0.05971989780664444, 0.01487529743462801, -0.06034642830491066, 0.021885698661208153, 0.013753525912761688, -0.01996827870607376, 0.07276902347803116, 0.04497060552239418, 0.12134319543838501, -0.07554812729358673, -0.041639115661382675, 0.02500009536743164, 0.029527198523283005, -0.04965997487306595, -0.010407999157905579, 0.013930192217230797, -0.07893873751163483, -0.022176576778292656, -0.018751714378595352, 0.034349799156188965, -0.06677716225385666, -0.02061244659125805, 0.054765284061431885, 0.005283213220536709, 0.052296947687864304, -0.05911742523312569, 0.008491190150380135, 0.008522984571754932, -0.002760724164545536, -0.011972369626164436, 0.024818332865834236, -0.006364393047988415, -0.019711369648575783, -0.01485142856836319, -0.04233447462320328, -0.006319113075733185, 0.05960170924663544, 0.005634224973618984, -0.009221603162586689, -0.02220900170505047, 0.013787043280899525, 0.03482654318213463, 0.022322576493024826, -0.002037817845121026, 0.007168734446167946, 0.05196405202150345, 0.05796398967504501, -0.029126916080713272, 0.08060842752456665, -0.013547257520258427, -0.030780909582972527, -0.03171682730317116, 0.013891595415771008, 0.008211057633161545, -0.019559962674975395, 0.06899615377187729, 0.03880826011300087, -0.005497936625033617, -0.024562044069170952, -0.009005310945212841, 0.04373112693428993, 0.014889403246343136, 0.01582585833966732, 0.00032629776978865266, -0.01015429850667715, -0.006268930621445179, 0.022959399968385696, -0.022198697552084923, -0.010852561332285404, -0.019029434770345688, -0.038959141820669174, 0.032717835158109665, -0.002352664712816477, 0.009558945894241333, 0.041281506419181824, -0.028604984283447266, 0.08305587619543076, -0.03493485227227211, 0.002440769225358963, -0.04726971685886383, -0.046779561787843704, -0.005973925348371267, 0.022397788241505623, 0.03904442861676216, 0.04830053448677063, 0.0032224664464592934, -0.047287024557590485, -0.011291769333183765, 0.06333577632904053, 0.04570769891142845, 0.0007883334183134139, -0.02543918415904045, 0.0005512862699106336, 0.050775282084941864, 0.05908939242362976, -0.06308958679437637, -0.029539424926042557, 0.0028851518873125315, 0.03752358630299568, -0.018237581476569176, 0.020495090633630753, -0.01915423385798931, 0.03266307711601257, -0.060203976929187775, -0.056281883269548416, 0.05933614820241928, 0.02575203776359558, 0.008105635643005371, 0.01192883774638176, -0.0368710421025753, 0.005278055556118488, 0.024288035929203033, -0.003517884761095047, 0.008942070417106152, -0.05440736562013626, 0.010198498144745827, 0.04137497767806053, 0.04023880138993263, -0.04490938410162926, 0.023140711709856987, 0.02787471003830433, 0.026957202702760696, 0.03071078285574913, -0.030904142186045647, 0.02697654813528061, 0.05210961773991585, -0.010151444002985954, -0.019701721146702766, 0.053018514066934586, -0.010376340709626675, 0.05317402258515358, 0.055261630564928055, 0.0022779633291065693, 0.06131928041577339, -0.025632081553339958, 0.04049369692802429, 0.1036287173628807, 0.0006085174973122776, 0.0033800743985921144, 0.03266219422221184, 0.068699911236763, -0.017818447202444077, -0.009887178428471088, 0.06583590060472488, -0.03721358999609947, 0.01795516349375248, -0.04726770147681236, 0.01854475773870945, -0.022877182811498642, -0.004820492584258318, 0.056875016540288925, 0.03758818283677101, -0.03482402488589287, 0.022051207721233368, 0.0013674558140337467, 0.009962255135178566, 0.020266346633434296, -0.022764848545193672, 0.004375300370156765, -0.00676190247759223, -0.02479718253016472, 0.018488546833395958, -0.08366647362709045, -0.07405820488929749, -0.03006238117814064, -0.03408095985651016, -0.0009185448288917542, -0.08702125400304794, -0.05279528722167015, -0.051769156008958817, -0.018107077106833458, 0.050798822194337845, 0.006534624379128218, 0.008017673157155514, -0.0772150307893753, 0.015829231590032578, -0.040735624730587006, -0.040349431335926056, -0.03387904539704323, -0.042230673134326935, -0.030448971316218376, -0.0632101446390152, 0.02506842650473118, 0.00662720063701272, 0.0491744726896286, 0.014267626218497753, -0.021869031712412834, -0.06338781863451004, -0.035477299243211746, 0.05626925826072693, 0.035442668944597244, -0.025310147553682327, -0.03946487605571747, 0.013895618729293346, -0.026138516142964363, 0.015452426858246326, -0.005988380406051874, -0.03193642199039459, 0.091441810131073, 0.05115246772766113, 0.025718554854393005, -0.004655797500163317, -0.00577163603156805, -0.04532744735479355, -0.05327332392334938, -0.02104983851313591, -0.022937964648008347, -0.026990123093128204, -0.03452645614743233, -0.05544087290763855, -0.02387871965765953, -0.01811184734106064, -0.01674995757639408, -0.017094694077968597, 0.008151710033416748, 0.013712411746382713, 0.03967353701591492, 0.01295766606926918, 0.04205327853560448, -0.03312864899635315, -0.03896157816052437, 0.032201994210481644, 0.020726298913359642, 0.01697222702205181, -0.05788690596818924, -0.045346830040216446, 0.01951649598777294, 0.005317143630236387, 0.004305086564272642, -0.006949848495423794, 0.07164160907268524, 0.01566506177186966, -0.008048811927437782, 0.006094573996961117, 0.009843642823398113, -0.0005931619671173394, -0.030754385516047478, -0.022592660039663315, -0.010364060290157795, -0.03662145510315895, -0.013970947824418545, -0.03313664346933365, 0.05510629713535309, -0.061578717082738876, -0.06674835830926895, 0.0013966014375910163, 0.038819700479507446, 0.0478944405913353, -0.0010264875600114465, -0.048323553055524826, -0.012748355977237225, -0.06739862263202667, -0.02363545075058937, 0.01865769550204277, -0.035152241587638855, 0.023741044104099274, 0.029111893847584724, 0.06430359929800034, -0.014478407800197601, 0.0179767943918705, 0.031127240508794785, 0.0411825105547905, -0.010115589946508408, -0.04891294240951538, 0.006386530119925737, -0.022335121408104897, 0.030224531888961792, 0.00943224597722292, -0.03050888143479824, -0.04892492666840553, -0.0979442223906517, -0.00002349893475184217, 0.014125357381999493, 0.006582039408385754, -0.008657194674015045, 0.05714862048625946, -0.026895802468061447, -0.043155770748853683, -0.008656300604343414, 0.021909549832344055, 0.018764188513159752, -0.03379495069384575, 0.03408082574605942, 0.026472412049770355, 0.038247302174568176, -0.04622618481516838, 0.0028968886472284794, -0.03824624791741371, -0.014728626236319542, -0.014846820384263992, 0.04574471712112427, 0.021608324721455574, 0.0439734160900116, 0.03380357474088669, 0.013926001265645027, -0.03405822068452835, 0.034282948821783066, 0.03237619623541832, -0.009722589515149593, -0.06123729795217514, -0.007632611785084009, 0.007687574718147516, -0.0022877678275108337, -0.04190996661782265, 0.0015860549174249172, -0.005627810023725033, 0.031142890453338623, 0.010781114920973778, -0.006018617190420628, -0.005791046191006899, -0.03291381523013115, -0.019496077671647072, -0.047046490013599396, -0.028170602396130562, 0.008665857836604118, -0.026614228263497353, 0.011396482586860657, 0.05036017298698425, -0.002285553840920329, 0.04190787300467491, 0.06453235447406769, -0.03726920485496521, -0.0817134752869606, 0.028866220265626907, 0.04738117381930351, -0.025652196258306503, -0.07775426656007767, -0.05804483965039253, 0.027577457949519157, 0.016397755593061447, -0.02163098007440567, -0.061482567340135574, 0.025860628113150597, 0.04865378886461258, -0.06107337772846222, 0.07442329823970795, 0.0009714132756926119, 0.022561343386769295, 0.06183800473809242, -0.004257717169821262, 0.02747524157166481, 0.0009888531640172005, 0.00002712495370360557, 0.010332664474844933, 0.03415558487176895, -0.04971916601061821, -0.03486696258187294, -0.03717610612511635, 0.051152944564819336, 0.03540770709514618, 0.047654230147600174, 0.03890085592865944, -0.04054887592792511, -0.07386955618858337, 0.026206163689494133, 0.05981092527508736, -0.007826984860002995, 0.040860939770936966, 0.015152882784605026, 0.06720174849033356, -0.06510426849126816, -0.03195701912045479, -0.007614324800670147, -0.02730502374470234, 0.03780567646026611, 0.013972707092761993, -0.035652536898851395, -0.04546426981687546, -0.008167200721800327, -0.02224539965391159, -0.03229190409183502, -0.0664118230342865, 0.01123256329447031, 0.0069768899120390415, 0.004383626859635115, 0.06175772845745087, 0.03554517403244972, 0.04555628076195717, 0.04147496074438095, 0.007727548945695162, -0.00001564239755680319, -0.025307100266218185, 0.026932774111628532, -0.0330498106777668, -0.028308402746915817, -0.030100831761956215, -0.07330431789159775, 0.009513955563306808, -0.012416170910000801, -0.05254840478301048, -0.04661797732114792, 0.0011903377017006278, 0.00855652242898941, -0.007503421511501074, -0.0030060552526265383, -0.013440913520753384, 0.0011938721872866154, -0.02998020313680172, -0.014656401239335537, -0.02927621640264988, -0.022056663408875465, -0.08344700187444687, -0.030256569385528564, 0.033560384064912796, 0.0007687017787247896, 0.015050205402076244, -0.02260293997824192, 0.03417324647307396, 0.019858935847878456, 0.022275742143392563, -0.02440713159739971, 0.025257553905248642, -0.014261997304856777, -0.029766900464892387, -0.017041508108377457, -0.0022063618525862694, 0.03812494874000549, 0.016986649483442307, 0.00008201323362300172, 0.023123452439904213, 0.026027755811810493, -0.03161763772368431, -0.013905434869229794, 0.0446721613407135, 0.00795932300388813, -0.06684983521699905, -0.031972117722034454, -0.014005796983838081, -0.02879924885928631, 0.02219747006893158, 0.004236825276166201, -0.035069581121206284, 0.0258356723934412, 0.03528015315532684, 0.021578330546617508, -0.03860689699649811, -0.03285476192831993, -0.0038437743205577135, -0.02555154636502266, 0.007845977321267128, -0.057876408100128174, 0.05546705424785614, -0.04211430251598358, 0.00751369446516037, -0.032454513013362885, 0.020959174260497093, -0.04124660789966583, 0.05860229581594467, 0.0008150510839186609, -0.009292240254580975, -0.012225549668073654, 0.0007681355928070843, -0.023975808173418045, 0.045872271060943604, -0.0037040843162685633, 0.001475215540267527, -0.024406904354691505, 0.041325729340314865, -0.05376134067773819, 0.00972932018339634, -0.03027757629752159, -0.019921530038118362, -0.03423628956079483, -0.03665927052497864, -0.03645850718021393, -0.030779382213950157, 0.04577384889125824, 0.028836466372013092, 0.03546222299337387, 0.013611463829874992, -0.02164439857006073, 0.008590739220380783, 0.02256467193365097, -0.1027807667851448, -0.010737116448581219, 0.01620289869606495, -0.007031535729765892, -0.0014264233177527785, 0.058318670839071274, 0.03641537204384804, -0.051897961646318436, -0.04153962433338165, 0.063461534678936, 0.024335578083992004, -0.0037198681384325027, 0.022664597257971764, 0.02019684948027134, 0.028094982728362083, 0.000703759491443634, -0.026750506833195686, -0.012535817921161652, 0.009979699738323689, -0.023298975080251694, 0.03269548341631889, -0.013572813011705875, 0.04029569774866104, 0.0007477733306586742, -0.01872250810265541, -0.032594624906778336, 0.059199009090662, 0.025940334424376488, 0.03223709389567375, -0.005903648678213358, -0.03538903966546059, 0.027514388784766197, -0.018917037174105644, -0.05616258457303047, -0.01344867330044508, 0.028753332793712616, -0.03599124774336815, 0.09048549830913544, -0.006022259127348661, 0.006878144107758999, 0.028626466169953346, 0.007698819972574711, -0.03816171735525131, 0.039880625903606415, -0.04964814335107803, 0.02986726723611355, 0.03642034903168678, -0.042490873485803604, -0.009001394733786583, -0.026130734011530876, 0.04398217424750328, -0.06189468130469322, 0.07946372032165527, 0.01111068855971098, 0.007442845497280359, 0.008923636749386787, -0.020656639710068703, -0.03712421655654907, 0.026797957718372345, -0.052512750029563904, 0.07040250301361084, -0.008014886640012264, -0.0862225741147995, 0.06897515803575516, 0.026380592957139015, -0.09293166548013687, 0.07057911902666092, 0.059417724609375, -0.009283175691962242, 0.021877503022551537, 0.06412842124700546, -0.034133180975914, -0.015265574678778648, -0.04181407392024994, 0.04398469999432564, -0.054349057376384735, -0.030685506761074066, -0.011657069437205791, -0.047127947211265564, 0.007847347296774387, 0.03519665449857712, 0.0035051589366048574, -0.01369734387844801, 0.03553289547562599, -0.0581984743475914, -0.028246695175766945, 0.005973448045551777, 0.025077911093831062, -0.023911749944090843, 0.021866844967007637, -0.03418940678238869, 0.004940846934914589, 0.016601700335741043, -0.016798656433820724, -0.03010130487382412, 0.03393096476793289, 0.008351171389222145, -0.04935319721698761, -0.05201653763651848, 0.04580233618617058, 0.02551296353340149, -0.026724684983491898, 0.013434510678052902, 0.018694935366511345, 0.026175033301115036, 0.045300476253032684, -0.002972650108858943, 0.033384110778570175, -0.04649573937058449, -0.015539352782070637, 0.003667676355689764, 0.0059248702600598335, 0.018056465312838554, -0.018312515690922737, 0.02331162989139557, 0.0314122810959816, 0.02456691861152649, 0.008001904003322124, -0.023737462237477303, -0.016027765348553658, 0.017758574336767197, -0.03974999114871025, 0.002364469226449728, 0.014034070074558258, -0.025602228939533234, -0.03237111493945122, -0.009845135733485222, -0.033930957317352295, 0.06856080144643784, -0.03370310366153717, 0.02770373970270157, 0.06905990839004517, -0.008176138624548912, -0.03170548379421234, -0.10283102840185165, 0.00962863303720951, -0.05122869461774826, 0.04114718362689018, 0.038542818278074265, -0.030675597488880157, 0.004748364444822073, -0.03571699932217598, -0.047566790133714676, 0.024987658485770226, 0.03261345997452736, -0.05422685667872429, 0.04455851390957832, 0.037009138613939285, -0.038923487067222595, 0.022997699677944183, 0.015987379476428032, -0.024616563692688942, -0.006861429661512375, 0.02168300934135914, 0.03610376641154289, 0.014944681897759438, 0.021315693855285645, -0.024802394211292267, 0.009779675863683224, -0.0357283316552639, -0.04241209104657173, -0.05361401289701462, -0.0014379647327587008, 0.07420060783624649 ]
BenQLange/HF_bot
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-12-01T17:44:39Z
# flyswot ## Model description In progress model for detecting 'fake' flysheets ## Intended uses & limitations Not currently intended for public consumption... #### Limitations and bias Not currently intended for public consumption... ## Training data TODO ## Eval results
[ -0.06631112843751907, -0.0033495218958705664, -0.02897590398788452, 0.003121123416349292, 0.03925565630197525, 0.028892887756228447, -0.016872823238372803, -0.0021074297837913036, 0.011093523353338242, 0.04363507032394409, 0.05470694974064827, 0.0010438777972012758, 0.02004234679043293, 0.04496642202138901, -0.0529908686876297, -0.025964906439185143, -0.0010392776457592845, -0.013219737447798252, -0.02784888446331024, 0.007223582360893488, 0.05551435053348541, -0.018248436972498894, -0.017131919041275978, 0.04452991113066673, 0.009287692606449127, 0.011999025009572506, -0.0008225101046264172, 0.044411562383174896, 0.017711760476231575, -0.05783234164118767, -0.024178706109523773, -0.03633645176887512, -0.04027403146028519, -0.014170870184898376, -0.035992689430713654, 0.005472561344504356, 0.01568686217069626, -0.00293110148049891, 0.039221759885549545, 0.0293746218085289, 0.01617102138698101, 0.016419289633631706, -0.009590933099389076, -0.018773674964904785, 0.05031738802790642, -0.01527050044387579, -0.04072641208767891, -0.004324170295149088, 0.01288856752216816, -0.022916488349437714, -0.06804625689983368, -0.07544984668493271, -0.0078329648822546, -0.0011335351737216115, -0.008008250035345554, -0.04483523592352867, -0.05554342269897461, 0.000796465901657939, 0.06510171294212341, -0.05120832100510597, -0.021845553070306778, -0.0014742666389793158, -0.056550826877355576, 0.02014690637588501, 0.01770872250199318, -0.05783548206090927, 0.023338882252573967, -0.040240734815597534, 0.011443371884524822, 0.00976562686264515, 0.05495934560894966, -0.01907099038362503, 0.008131175301969051, -0.0694933533668518, -0.011102598160505295, -0.021358737722039223, 0.03798862546682358, 0.032812267541885376, -0.06704365462064743, 0.04940017685294151, 0.0681815817952156, 0.01589277572929859, 0.012622875161468983, -0.051914721727371216, -0.0037196758203208447, 0.03643586486577988, -0.04279269650578499, 0.020080478861927986, -0.030957266688346863, 0.04107724502682686, -0.057439111173152924, -0.039124153554439545, 0.021263599395751953, -0.03740205615758896, -0.01795470528304577, 0.02984682098031044, 0.016051504760980606, -0.02775874361395836, 0.04528312757611275, 0.028138231486082077, 0.025184929370880127, 0.003361362963914871, -0.032739344984292984, 0.0642877146601677, -0.014787777327001095, -0.03037501871585846, 0.0017737186281010509, -0.04646342992782593, -0.021401580423116684, 0.022120557725429535, -0.007843895815312862, -0.04317475110292435, -0.02515130303800106, 0.014658620581030846, 0.01434565894305706, -0.002520233392715454, 0.062128696590662, -0.022941596806049347, -0.02691824547946453, -0.027626218274235725, 0.03342524915933609, 0.03681711107492447, 0.0023014231119304895, 0.021510049700737, -0.06051701679825783, 0.005049928091466427, -0.012179178185760975, -0.03467134013772011, -0.0026348691899329424, 0.02911870740354061, -0.017665721476078033, 0.030465018004179, 0.043774448335170746, -0.04226893559098244, 0.009895346127450466, 0.049073781818151474, -0.07329180836677551, 0.01197831891477108, -0.013815341517329216, 0.08212774991989136, -0.07245136797428131, -0.04071072116494179, -0.011023107916116714, -0.01378674991428852, -0.03305938467383385, 0.016390884295105934, -0.006435849703848362, -0.055600855499506, -0.019245555624365807, -0.03554447367787361, 0.06307324022054672, -0.045804478228092194, -0.019757457077503204, 0.058091066777706146, 0.012647834606468678, 0.012733956798911095, -0.043468933552503586, 0.02384747937321663, -0.011920267716050148, -0.008255170658230782, -0.019881298765540123, 0.047302864491939545, -0.03570914641022682, -0.005899013951420784, -0.01496842410415411, -0.04204298183321953, -0.009371432475745678, 0.07329105585813522, -0.043238963931798935, -0.02357967011630535, -0.03600148484110832, 0.0407557412981987, 0.06766421347856522, 0.011297658085823059, -0.000500943569932133, 0.024016181007027626, 0.04091960936784744, 0.020509952679276466, -0.023754337802529335, 0.040913164615631104, 0.03174511343240738, -0.0496339425444603, -0.03231433406472206, -0.006439332850277424, 0.03155452758073807, -0.04827779158949852, 0.007549087982624769, 0.03739272803068161, -0.007867580279707909, -0.0222330279648304, -0.0012879326241090894, 0.0549035370349884, 0.003808429930359125, -0.034662067890167236, 0.007033937145024538, 0.02110573835670948, -0.04256074130535126, 0.02272917330265045, -0.014276962727308273, 0.002898146864026785, -0.019145488739013672, -0.008575953543186188, 0.012082599103450775, -0.0006719572120346129, 0.01778211072087288, 0.016310149803757668, -0.010398364625871181, 0.09328451007604599, -0.026170019060373306, -0.0023705160710960627, -0.060791537165641785, -0.08397196233272552, 0.011160435155034065, 0.06795257329940796, -0.011188819073140621, 0.041264232248067856, -0.015151450410485268, -0.05896503105759621, 0.06460592150688171, 0.04303617775440216, 0.058326855301856995, 0.028613628819584846, -0.04596705362200737, -0.025974921882152557, 0.052595146000385284, 0.01379051711410284, -0.0162737425416708, -0.024384155869483948, 0.022801468148827553, 0.028153512626886368, -0.04145478829741478, 0.024545298889279366, -0.028078634291887283, 0.048906389623880386, 0.0005502994172275066, -0.05011193826794624, 0.009994239546358585, 0.03906215354800224, -0.006657406222075224, 0.021172141656279564, -0.04183658957481384, 0.005468291230499744, 0.02827371098101139, -0.02298619970679283, 0.03090743161737919, -0.04719652980566025, 0.00880530383437872, 0.0193680040538311, 0.08099303394556046, -0.06069406494498253, 0.009975443594157696, 0.019473060965538025, 0.002194133121520281, 0.0372663252055645, -0.028996000066399574, 0.0455000102519989, 0.04303963854908943, 0.009427821263670921, -0.035732701420784, 0.05816876143217087, 0.003799509722739458, 0.04118023067712784, 0.028977591544389725, -0.012768496759235859, 0.08153585344552994, -0.02121252566576004, 0.05240954831242561, 0.062153324484825134, 0.007901965640485287, 0.021052617579698563, 0.03422398120164871, 0.06190965697169304, -0.0053229182958602905, 0.016111059114336967, 0.012548399157822132, -0.04996936395764351, 0.028242260217666626, -0.04431396350264549, -0.004620900843292475, -0.007135048042982817, -0.00863694865256548, 0.052871059626340866, 0.01556429360061884, -0.04075242578983307, 0.01676112972199917, 0.0018260435899719596, -0.03280296549201012, 0.031320489943027496, 0.01148731168359518, 0.01746215857565403, -0.01782563142478466, -0.012290749698877335, 0.0018293589819222689, -0.08956951647996902, -0.01062943134456873, -0.0030752590391784906, -0.05273660644888878, -0.012379838153719902, -0.0952422171831131, 0.01646384783089161, -0.04749858379364014, -0.022190235555171967, 0.04176037013530731, 0.040477946400642395, -0.007488962262868881, -0.01280131470412016, 0.004306468181312084, -0.016507185995578766, -0.043762244284152985, -0.049000732600688934, -0.05029471963644028, -0.026853980496525764, -0.025621794164180756, 0.018674569204449654, 0.036255303770303726, 0.03068746253848076, 0.019203411415219307, -0.013540470972657204, -0.026739612221717834, 0.010767950676381588, 0.03907272219657898, 0.048649758100509644, -0.03352214768528938, -0.04407738521695137, 0.028886139392852783, 0.0013767933705821633, 0.007090067025274038, -0.014438681304454803, -0.05152883008122444, 0.09077958762645721, 0.040555648505687714, 0.01870500110089779, 0.006503252778202295, -0.015916230157017708, -0.04799191281199455, -0.04333401098847389, -0.027847979217767715, -0.048037089407444, -0.02426443248987198, -0.044608451426029205, -0.018526552245020866, -0.047676924616098404, -0.03748300299048424, -0.03800917789340019, -0.009485741145908833, 0.001522314385510981, 0.034760765731334686, 0.037588659673929214, 0.014792141504585743, 0.024993345141410828, -0.047901757061481476, -0.03400275856256485, 0.0630994662642479, -0.018623346462845802, -0.014929840341210365, -0.06271930038928986, -0.014484195038676262, 0.044111285358667374, -0.014460989274084568, 0.02858535200357437, 0.0021344246342778206, 0.06617965549230576, -0.012950354255735874, 0.015932871028780937, -0.018291015177965164, -0.015886960551142693, 0.0026761514600366354, -0.011313637718558311, -0.0001801381295081228, -0.013763602823019028, -0.034796182066202164, 0.009933657944202423, 0.013402929529547691, 0.04320022836327553, -0.08292768150568008, -0.02659311145544052, 0.0017502892296761274, 0.0066351075656712055, 0.07662755995988846, -0.0058406866155564785, -0.03779216855764389, -0.027736293151974678, -0.05711481347680092, -0.030781429260969162, 0.00787956453859806, 0.027992166578769684, 0.03398653492331505, 0.03895372524857521, 0.004432691261172295, -0.059784840792417526, 0.0700715109705925, 0.033946648240089417, 0.04499493166804314, 0.06455718725919724, -0.03513597697019577, 0.00633317930623889, -0.022309988737106323, 0.049096036702394485, -0.03783680871129036, 0.0014940743567422032, -0.051001857966184616, -0.09442145377397537, -0.009711198508739471, 0.019337788224220276, -0.017437174916267395, -0.015474828891456127, 0.06334038078784943, -0.0068902382627129555, -0.013624591752886772, -0.006289558485150337, -0.0024253125302493572, 0.05596700310707092, -0.026759881526231766, 0.07946512848138809, -0.03142102062702179, 0.029445696622133255, -0.04159338027238846, 0.02943580597639084, -0.06467573344707489, -0.003927338402718306, 0.0013217204250395298, 0.04738546907901764, 0.026769377291202545, 0.05439786612987518, 0.07022058218717575, 0.024107476696372032, -0.05436256527900696, 0.03120395727455616, 0.059588443487882614, -0.021070560440421104, -0.008811386302113533, 0.004464087076485157, 0.021452879533171654, -0.0038276303093880415, -0.005250703077763319, 0.0016044158255681396, 0.03160155192017555, 0.031107036396861076, -0.020378492772579193, 0.005765143316239119, 0.01999102532863617, -0.0035449962597340345, -0.030761323869228363, -0.04091430455446243, -0.005376508925110102, 0.009146752767264843, -0.022638073191046715, 0.03859308734536171, 0.03585634380578995, -0.017392504960298538, 0.07063469290733337, 0.023340076208114624, -0.04624238237738609, -0.03984428197145462, 0.021561600267887115, 0.000011131476640002802, -0.02632559835910797, -0.06988098472356796, -0.03679848089814186, 0.027997655794024467, 0.024754010140895844, -0.017057429999113083, -0.06300913542509079, -0.006579434033483267, 0.04092803969979286, -0.07211998850107193, 0.05401639640331268, 0.010400166735053062, 0.0520210936665535, 0.03357960283756256, -0.007853841409087181, 0.03324113041162491, -0.008397801779210567, -0.00816574227064848, -0.009955745190382004, 0.027091534808278084, -0.007741531822830439, -0.024494718760252, -0.02336040325462818, 0.016753267496824265, 0.04202813655138016, 0.024160955101251602, 0.031013423576951027, -0.03335504233837128, -0.035650089383125305, 0.010589498095214367, 0.03454414755105972, -0.03415057808160782, 0.0416211374104023, 0.039946578443050385, 0.022156355902552605, -0.03217810392379761, -0.02389770746231079, -0.02806314267218113, -0.006209893152117729, 0.02025715634226799, -0.03571288660168648, -0.05331849306821823, -0.05494900420308113, 0.027534455060958862, -0.004775635898113251, -0.002107595559209585, -0.10437750071287155, 0.018566211685538292, 0.014042487367987633, -0.044902678579092026, 0.06923989206552505, 0.06680013239383698, 0.03651032969355583, 0.05754635110497475, 0.01867215894162655, 0.04048988223075867, -0.047773316502571106, 0.04827308654785156, -0.039460476487874985, -0.03193661570549011, 0.012566865421831608, -0.02684578113257885, -0.017676783725619316, -0.01631743833422661, -0.04184236750006676, -0.038568321615457535, -0.054117489606142044, 0.0031847660429775715, 0.012244627811014652, -0.003919896204024553, -0.0006629286799579859, 0.02090127393603325, 0.006187919061630964, -0.04428236559033394, -0.009820926934480667, -0.012527327984571457, -0.06504340469837189, -0.03233654052019119, 0.021585699170827866, -0.003380271140486002, 0.00005559157580137253, 0.004386850167065859, 0.02069314941763878, 0.029706330969929695, 0.03063790872693062, -0.030901238322257996, 0.028002195060253143, 0.059073708951473236, -0.01726389117538929, 0.016118984669446945, 0.005090948194265366, -0.010032963939011097, 0.051136258989572525, -0.019186409190297127, 0.026865581050515175, 0.0033912486396729946, -0.006497049238532782, -0.015191301703453064, 0.046567175537347794, -0.0033593608532100916, -0.063906729221344, -0.03881081938743591, -0.004533062689006329, -0.011730209924280643, 0.0451623760163784, -0.03277665749192238, -0.06168372184038162, 0.03850088641047478, -0.0022010449320077896, 0.04282665625214577, -0.0121129946783185, -0.01694534346461296, 0.04908299073576927, -0.05749678239226341, -0.0030272165313363075, -0.0412864089012146, 0.025323644280433655, -0.011822809465229511, 0.02328171581029892, -0.019885029643774033, 0.01810636930167675, -0.05164949223399162, 0.05093659833073616, -0.00742856040596962, -0.041670188307762146, -0.026600759476423264, 0.024576041847467422, -0.019910765811800957, -0.015864482149481773, -0.017872298136353493, -0.0032970928587019444, -0.04495880752801895, 0.054658301174640656, -0.006135583855211735, 0.014755677431821823, -0.011569337919354439, -0.002526808762922883, -0.02073245495557785, -0.020331136882305145, -0.04131312668323517, -0.044169194996356964, 0.035331614315509796, 0.05309115722775459, 0.011213813908398151, 0.01722707785665989, -0.021889541298151016, 0.009522235952317715, 0.03512836620211601, -0.05065770074725151, -0.030514296144247055, -0.003367945086210966, 0.00043713540071621537, -0.002875213511288166, 0.061494771391153336, 0.052954986691474915, -0.030707288533449173, -0.04135939106345177, 0.07529293745756149, 0.06093394756317139, 0.004877057392150164, 0.024812376126646996, 0.028146011754870415, 0.018252670764923096, 0.014565273188054562, -0.032042987644672394, 0.00427545141428709, -0.02905566431581974, -0.03767712786793709, 0.025820737704634666, -0.008443943224847317, 0.019387558102607727, 0.01918213441967964, -0.014102984219789505, -0.02885083295404911, 0.078046515583992, 0.04035627841949463, 0.036783862859010696, -0.011733980849385262, -0.046208009123802185, 0.04375607520341873, 0.0006539610913023353, -0.026890868321061134, 0.04093635827302933, 0.00620780885219574, -0.02902200073003769, 0.06682238727807999, 0.018018236383795738, 0.024197068065404892, 0.03778865933418274, 0.031719814985990524, -0.029130691662430763, 0.05829686298966408, -0.016272518783807755, 0.027739638462662697, 0.027340270578861237, -0.038127828389406204, -0.02511490508913994, -0.037882592529058456, 0.02460450306534767, -0.07845272123813629, 0.06279224157333374, 0.05042362958192825, -0.010106937028467655, 0.010613314807415009, -0.04850821569561958, -0.017388438805937767, 0.0007565439445897937, -0.017592908814549446, 0.07297539710998535, -0.05241498351097107, -0.026091262698173523, 0.07160840183496475, 0.01667548529803753, -0.09981941431760788, 0.021765150129795074, 0.04026127606630325, 0.03165101632475853, 0.012440122663974762, 0.034433670341968536, -0.01664578542113304, 0.01550581306219101, -0.04247014597058296, 0.01639203168451786, -0.07256091386079788, 0.00565688731148839, 0.043544694781303406, -0.049770280718803406, -0.038197655230760574, 0.013015390373766422, -0.005569420289248228, 0.013032094575464725, 0.029885098338127136, -0.03815683349967003, -0.026204269379377365, 0.004490271210670471, 0.0036000865511596203, -0.026510998606681824, -0.03503772243857384, -0.04732014238834381, 0.027550825849175453, 0.028244851157069206, -0.019038118422031403, -0.01954246684908867, -0.0030651800334453583, 0.024003710597753525, -0.08739303797483444, -0.008248899132013321, 0.021918507292866707, 0.033391743898391724, -0.018263529986143112, 0.01716787926852703, 0.018459562212228775, 0.03215498849749565, -0.0024283071979880333, 0.008818836882710457, 0.01824004389345646, -0.0641496554017067, -0.038548294454813004, 0.022867223247885704, -0.011810275726020336, 0.03153211250901222, -0.010921533219516277, 0.04411311820149422, 0.07497379183769226, 0.0516275130212307, -0.003682925133034587, 0.00033766301930882037, -0.03439737483859062, 0.02843492478132248, -0.02368099056184292, 0.02845718525350094, 0.00449562119320035, -0.06611329317092896, -0.05713723227381706, -0.009476293809711933, -0.0615876130759716, 0.049953460693359375, -0.03014564886689186, -0.03377047926187515, 0.03443879261612892, 0.025644265115261078, -0.0651271641254425, -0.12882915139198303, -0.019048191606998444, -0.03815179690718651, 0.03858363255858421, 0.02871481329202652, -0.03261951357126236, 0.043833665549755096, -0.0171040128916502, -0.06719079613685608, 0.050658077001571655, 0.021805040538311005, 0.000663440499920398, 0.019763661548495293, 0.042044274508953094, -0.03278876841068268, 0.009521152824163437, 0.038180142641067505, -0.05169786140322685, 0.04499003663659096, -0.010283372364938259, 0.008292959071695805, 0.007141278591006994, 0.039941687136888504, -0.03435182198882103, -0.030423086136579514, -0.04926005378365517, -0.0068046459928154945, -0.04312467947602272, 0.012619792483747005, 0.07083535194396973 ]
BenWitter/DialoGPT-small-Tyrion
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
2021-12-21T16:19:04Z
TODO ## Model description In progress model for detecting 'fake' flysheets ## Intended uses & limitations Not currently intended for public consumption... ## Limitations and bias Not currently intended for public consumption... ## Training data ## Eval results
[ -0.048863545060157776, -0.005381900351494551, -0.006422690115869045, 0.0038524025585502386, 0.044827986508607864, 0.021649738773703575, -0.019249677658081055, -0.004170270171016455, 0.014579039998352528, 0.04510140046477318, 0.056996434926986694, 0.00972936674952507, 0.0216800756752491, 0.05232572183012962, -0.053933050483465195, -0.017770564183592796, 0.001409124699421227, -0.018227169290184975, -0.039739709347486496, 0.018612416461110115, 0.05590985342860222, -0.009455149061977863, -0.011443696916103363, 0.03474763408303261, 0.00281094410456717, 0.007755453698337078, 0.001898466027341783, 0.039131760597229004, 0.02459145151078701, -0.05978129804134369, -0.0307166688144207, -0.04354228079319, -0.036419954150915146, -0.01709943264722824, -0.0486568957567215, 0.006722002290189266, 0.02148820459842682, -0.009717639535665512, 0.03434018790721893, 0.033782340586185455, 0.0175610538572073, 0.0259898379445076, -0.005185671616345644, -0.0225350521504879, 0.03371775150299072, -0.022533098235726357, -0.04260075092315674, -0.009280823171138763, 0.01811356283724308, -0.032442327588796616, -0.06923429667949677, -0.08321729302406311, -0.01600855216383934, 0.001123520196415484, -0.01838168315589428, -0.037065792828798294, -0.056882139295339584, 0.0006578227039426565, 0.05401371791958809, -0.04035582020878792, -0.023348983377218246, 0.004334003198891878, -0.07019191235303879, 0.031568560749292374, 0.018630897626280785, -0.03957458585500717, 0.018432075157761574, -0.04792585223913193, 0.005347810219973326, -0.0008989049238152802, 0.04733580723404884, -0.03011198714375496, 0.00896129384636879, -0.06534042209386826, -0.011486463248729706, -0.021394941955804825, 0.045870762318372726, 0.03001466579735279, -0.043166711926460266, 0.058503251522779465, 0.060303471982479095, 0.017566122114658356, 0.02014022506773472, -0.04537458345293999, 0.0016114830505102873, 0.024242380633950233, -0.03757327049970627, 0.017369713634252548, -0.02254677005112171, 0.03298741951584816, -0.06084253638982773, -0.03247324377298355, 0.013661726377904415, -0.03723163530230522, -0.013984973542392254, 0.03581993281841278, 0.024261634796857834, -0.02680354192852974, 0.0470188744366169, 0.020695732906460762, 0.02712242305278778, 0.007302997633814812, -0.03262041136622429, 0.06092654913663864, -0.015909507870674133, -0.0447915680706501, 0.007717561442404985, -0.03370409458875656, -0.025638114660978317, 0.020780328661203384, -0.0027401631232351065, -0.04461835324764252, -0.02713119052350521, 0.022737005725502968, 0.013671507127583027, 0.007905547507107258, 0.06109503284096718, -0.026242604479193687, -0.025553015992045403, -0.02344963699579239, 0.026966050267219543, 0.03046468272805214, 0.00039512899820692837, 0.02195105329155922, -0.06035574525594711, 0.010185910388827324, -0.017729181796312332, -0.03095458820462227, -0.005962512921541929, 0.03163420781493187, -0.015231373719871044, 0.025452610105276108, 0.042836613953113556, -0.04953832924365997, 0.005966334603726864, 0.048792626708745956, -0.07597099244594574, 0.015089726075530052, -0.014674548991024494, 0.08653686195611954, -0.06395293027162552, -0.04366588220000267, -0.006990262307226658, -0.010406938381493092, -0.021522145718336105, 0.016450118273496628, -0.006501911673694849, -0.0689661055803299, -0.01612914353609085, -0.040568530559539795, 0.05999986454844475, -0.049124088138341904, -0.019987501204013824, 0.060677964240312576, 0.007904497906565666, 0.00893784686923027, -0.03817429021000862, 0.027600334957242012, -0.01864665001630783, -0.01132998801767826, -0.021044699475169182, 0.04849143326282501, -0.02449316903948784, -0.0036844529677182436, -0.01682818867266178, -0.035315774381160736, -0.002605787944048643, 0.07538344711065292, -0.030801352113485336, -0.00796448439359665, -0.04496859759092331, 0.026516897603869438, 0.06333623081445694, 0.014599527232348919, -0.0031064804643392563, 0.030203968286514282, 0.04047565534710884, 0.026980528607964516, -0.027446864172816277, 0.051253270357847214, 0.025897134095430374, -0.050948623567819595, -0.03097987174987793, -0.003786933608353138, 0.034223876893520355, -0.06709221750497818, 0.004372304305434227, 0.039300620555877686, -0.000641238410025835, -0.026277843862771988, 0.0035995710641145706, 0.04268007352948189, 0.010524577461183071, -0.02182040736079216, 0.004390832036733627, 0.011650780215859413, -0.043004654347896576, 0.02153082564473152, -0.013256918638944626, 0.0031470332760363817, -0.015592326410114765, -0.009005565196275711, 0.028017288073897362, 0.006938918028026819, 0.03283679857850075, 0.025067998096346855, -0.009809276089072227, 0.10672447830438614, -0.03949848935008049, 0.0031689400784671307, -0.053906649351119995, -0.09867767244577408, 0.016957944259047508, 0.06943404674530029, 0.0018036841647699475, 0.035254720598459244, -0.0124286487698555, -0.055217064917087555, 0.05181769281625748, 0.041815467178821564, 0.05986160784959793, 0.02535380609333515, -0.045500706881284714, -0.016447748988866806, 0.054654672741889954, 0.01497580111026764, -0.020448904484510422, -0.026040907949209213, 0.013819297775626183, 0.035414256155490875, -0.04256122186779976, 0.019716734066605568, -0.01638500764966011, 0.04756065085530281, -0.004222864285111427, -0.05766855180263519, 0.003839386161416769, 0.036315422505140305, -0.012454153969883919, 0.018265604972839355, -0.04018467292189598, 0.020953137427568436, 0.026916401460766792, -0.015070999041199684, 0.04347190260887146, -0.04823825880885124, 0.020483948290348053, 0.02711208164691925, 0.08244950324296951, -0.06522243469953537, 0.014480122365057468, 0.004143623635172844, -0.002030801260843873, 0.028353922069072723, -0.02556871436536312, 0.0399702787399292, 0.04264508932828903, 0.0132147166877985, -0.04825175181031227, 0.05452524125576019, 0.0022440480533987284, 0.023289812728762627, 0.025853920727968216, -0.009213540703058243, 0.07020547986030579, -0.02477073483169079, 0.05563005432486534, 0.06526509672403336, 0.002548605902120471, 0.023903347551822662, 0.03471152111887932, 0.046654850244522095, -0.0068641905672848225, 0.01723407208919525, 0.011334321461617947, -0.059350792318582535, 0.03252685070037842, -0.04490369185805321, -0.0071781049482524395, -0.005381199065595865, -0.0019882945343852043, 0.05047336965799332, 0.02568218670785427, -0.027445634827017784, 0.01808048225939274, -0.006454187445342541, -0.027748335152864456, 0.020328490063548088, 0.01816570945084095, 0.0033979620784521103, -0.016220085322856903, -0.010453462600708008, -0.0022397986613214016, -0.09180056303739548, -0.011311241425573826, -0.011048897169530392, -0.05848000571131706, -0.025384563952684402, -0.0940968468785286, 0.0027009211480617523, -0.042025014758110046, -0.008180833421647549, 0.03861580044031143, 0.0325261652469635, 0.000587811169680208, -0.011782803572714329, 0.0005280859186314046, -0.011279769241809845, -0.04222395271062851, -0.04760618507862091, -0.05209718272089958, -0.026550408452749252, -0.03726225718855858, 0.013812107965350151, 0.03692125156521797, 0.017005877569317818, 0.014481539838016033, -0.02015570178627968, -0.03348398208618164, 0.003082475857809186, 0.03891979902982712, 0.034900177270174026, -0.03805895894765854, -0.04529633745551109, 0.03291139006614685, -0.000866699090693146, 0.007530969101935625, -0.023072827607393265, -0.054981447756290436, 0.08315867930650711, 0.046226318925619125, 0.029180146753787994, 0.001715642400085926, -0.013792150653898716, -0.0357670858502388, -0.03856448084115982, -0.026864519342780113, -0.03752942010760307, -0.017203044146299362, -0.04640132188796997, -0.01494375616312027, -0.03487543389201164, -0.03667597845196724, -0.029253272339701653, -0.003117355052381754, -0.00043026183266192675, 0.05106935650110245, 0.040602345019578934, 0.007964777760207653, 0.01722632348537445, -0.04424745589494705, -0.043095339089632034, 0.05927174910902977, -0.0098463399335742, 0.002589575247839093, -0.05329302325844765, -0.015916241332888603, 0.05199706554412842, -0.016085924580693245, 0.017709076404571533, -0.017134089022874832, 0.0642467588186264, -0.0046599493362009525, 0.016795221716165543, -0.023435087874531746, -0.019480837509036064, -0.005149795673787594, -0.009921825490891933, -0.005659629125148058, -0.019147535786032677, -0.043595753610134125, 0.008124454878270626, 0.01728595420718193, 0.038412630558013916, -0.09212950617074966, -0.018605219200253487, -0.017002250999212265, 0.00491704186424613, 0.08188564330339432, -0.002874545520171523, -0.04382375255227089, -0.017485832795500755, -0.050354573875665665, -0.02817131206393242, 0.02399788796901703, 0.017737431451678276, 0.036751508712768555, 0.03409317135810852, -0.0030098443385213614, -0.05465859919786453, 0.07847577333450317, 0.04569200798869133, 0.04638240113854408, 0.06332067400217056, -0.04066310450434685, 0.00004562709364108741, -0.007074294611811638, 0.04493078961968422, -0.03193703293800354, 0.0029835591558367014, -0.04647229611873627, -0.10279282182455063, -0.009906042367219925, 0.04676666855812073, -0.024534307420253754, -0.015071189031004906, 0.056391648948192596, 0.011579593643546104, -0.006451483815908432, -0.0019423254998400807, -0.002416275441646576, 0.05130976065993309, -0.021694621071219444, 0.07217806577682495, -0.028528006747364998, 0.038721613585948944, -0.04403989017009735, 0.022134514525532722, -0.05334804207086563, -0.005458588246256113, 0.004013475961983204, 0.05898357182741165, 0.019671889021992683, 0.05461061745882034, 0.07849612832069397, 0.016826169565320015, -0.04718136787414551, 0.040475472807884216, 0.05540594458580017, -0.029793664813041687, -0.02794037200510502, 0.001978249754756689, 0.02721877582371235, -0.007467138580977917, 0.001701289089396596, -0.00254264147952199, 0.03316406160593033, 0.030553311109542847, -0.02881401777267456, 0.001843574340455234, 0.01654619537293911, 0.005576250609010458, -0.023517942056059837, -0.028801510110497475, -0.013715731911361217, 0.006484148558229208, -0.03245594725012779, 0.033910736441612244, 0.04117396101355553, -0.012266128323972225, 0.06716377288103104, 0.02172701433300972, -0.051895622164011, -0.04059354215860367, 0.022629769518971443, -0.010749679058790207, -0.02840445190668106, -0.0723242238163948, -0.041737593710422516, 0.035068023949861526, 0.009923799894750118, -0.01696345955133438, -0.0784183219075203, -0.002328339032828808, 0.03703166916966438, -0.06291133165359497, 0.06341683864593506, 0.001309123239479959, 0.03587203472852707, 0.035289280116558075, -0.012632075697183609, 0.03771880641579628, -0.015284678898751736, -0.014883624389767647, -0.0018539696466177702, 0.03654942288994789, 0.003353308653458953, -0.02167491428554058, -0.010947243310511112, 0.006058136932551861, 0.041588760912418365, 0.019709261134266853, 0.03872950002551079, -0.02603604458272457, -0.04653169959783554, 0.003982129506766796, 0.03199329227209091, -0.03872058540582657, 0.0471140556037426, 0.04902363196015358, 0.02281838096678257, -0.03047008626163006, -0.020906513556838036, -0.034396976232528687, -0.005471938755363226, 0.025093678385019302, -0.033877454698085785, -0.04770898446440697, -0.05137469619512558, 0.031560562551021576, 0.01035309862345457, -0.0042693717405200005, -0.09904640913009644, 0.026174500584602356, 0.02601681649684906, -0.04643293842673302, 0.065741628408432, 0.06457554548978806, 0.057062406092882156, 0.05472850799560547, 0.012688960880041122, 0.04224259778857231, -0.05457638204097748, 0.053059399127960205, -0.04466291517019272, -0.019936954602599144, 0.015621574595570564, -0.031692005693912506, -0.01354844868183136, -0.020479030907154083, -0.043481793254613876, -0.03785507008433342, -0.043111082166433334, 0.014413905330002308, 0.02081327885389328, -0.009583880193531513, -0.002446550177410245, 0.01920490525662899, -0.0012056354898959398, -0.05107559263706207, -0.013315683230757713, -0.020603561773896217, -0.07003650069236755, -0.038871098309755325, 0.03549033775925636, -0.006687029264867306, -0.00731373718008399, -0.0009804405272006989, 0.028368482366204262, 0.018842559307813644, 0.01524948887526989, -0.02263861522078514, 0.030059970915317535, 0.04985073581337929, -0.03202136605978012, 0.015447929501533508, 0.007560273166745901, -0.003911424428224564, 0.06746690720319748, -0.01937844790518284, 0.028994722291827202, 0.010015350766479969, 0.0007596414652653039, -0.008288374170660973, 0.044471729546785355, 0.0042168921791017056, -0.051531363278627396, -0.03945963457226753, 0.009432174265384674, -0.02022906206548214, 0.043528713285923004, -0.02876230888068676, -0.047199226915836334, 0.022861206904053688, -0.008523713797330856, 0.04333217442035675, -0.009731846861541271, -0.014744406566023827, 0.04757140576839447, -0.05402885377407074, -0.008677001111209393, -0.043119508773088455, 0.01974830962717533, -0.002431066706776619, 0.025626156479120255, -0.014889742247760296, 0.011559817008674145, -0.04427686706185341, 0.05834279581904411, 0.000035371143894735724, -0.04667431116104126, -0.02182875946164131, 0.025342518463730812, -0.030346907675266266, -0.007613660302013159, -0.019376564770936966, 0.011042637750506401, -0.039974961429834366, 0.04635439068078995, 0.0010594911873340607, 0.017279870808124542, -0.0016342890448868275, 0.00035971018951386213, -0.02790438011288643, -0.03068314865231514, -0.041418127715587616, -0.06462793797254562, 0.03535008430480957, 0.06271446496248245, 0.008286474272608757, 0.007524969056248665, -0.02903539128601551, 0.011164299212396145, 0.026801731437444687, -0.039320528507232666, -0.02770135924220085, 0.005212405696511269, 0.006961451843380928, 0.009211459197103977, 0.05842706188559532, 0.05147163197398186, -0.03446215018630028, -0.04103994369506836, 0.07536348700523376, 0.05886350944638252, -0.0028217220678925514, 0.01665514148771763, 0.0277481060475111, 0.00345804775133729, 0.0029950819443911314, -0.03980199247598648, -0.004804761614650488, -0.03365550935268402, -0.03267665207386017, 0.0363161563873291, -0.0038581148255616426, 0.024370431900024414, 0.02121315896511078, -0.012158992700278759, -0.032626330852508545, 0.07496090233325958, 0.0374116413295269, 0.048059768974781036, -0.029715344309806824, -0.051395513117313385, 0.028390275314450264, 0.007686703931540251, -0.03054472990334034, 0.043409619480371475, 0.009533274918794632, -0.030265498906373978, 0.06519820541143417, 0.02031763456761837, 0.022281412035226822, 0.03533260524272919, 0.038345251232385635, -0.038841184228658676, 0.0581170953810215, -0.02427033707499504, 0.024841245263814926, 0.024486834183335304, -0.04062587022781372, -0.015741311013698578, -0.045501016080379486, 0.03261252120137215, -0.07385632395744324, 0.062064409255981445, 0.033750999718904495, -0.009046755731105804, 0.018646905198693275, -0.044741440564394, -0.023916594684123993, 0.016052138060331345, -0.03104657121002674, 0.07623881101608276, -0.032643694430589676, -0.03347461670637131, 0.07133762538433075, 0.01297271903604269, -0.09659341722726822, 0.020215526223182678, 0.030767209827899933, 0.027671843767166138, 0.011262968182563782, 0.03251934051513672, -0.02623295597732067, 0.016785956919193268, -0.04864265024662018, 0.03538791462779045, -0.06730681657791138, 0.007014500442892313, 0.037567138671875, -0.04044584929943085, -0.04355653375387192, 0.006631684023886919, -0.010919813066720963, 0.010749989189207554, 0.02907501347362995, -0.03436148911714554, -0.03021858260035515, 0.00872329343110323, 0.01653388887643814, -0.022013302892446518, -0.02745404839515686, -0.05926800146698952, 0.014043969102203846, 0.026844587177038193, -0.012281167320907116, -0.020517395809292793, 0.0024984441697597504, 0.026163658127188683, -0.09082364290952682, -0.007932324893772602, 0.028522714972496033, 0.03951767832040787, -0.017389243468642235, 0.011127459816634655, 0.024174995720386505, 0.028826914727687836, -0.000683474587276578, 0.011349013075232506, 0.007634371519088745, -0.06572560220956802, -0.03666146099567413, 0.013832909055054188, -0.007116059772670269, 0.045938000082969666, -0.027028417214751244, 0.04460397735238075, 0.07972252368927002, 0.03682420402765274, 0.0002269644319312647, -0.013799760490655899, -0.03553169220685959, 0.03636261075735092, -0.028840184211730957, 0.01829865388572216, -0.007352659944444895, -0.06692464649677277, -0.05244904011487961, -0.013707177713513374, -0.05494970455765724, 0.04227720573544502, -0.04284125193953514, -0.02189917117357254, 0.03459818661212921, 0.02574659325182438, -0.06112511828541756, -0.12299417704343796, -0.019907746464014053, -0.03146214410662651, 0.023129161447286606, 0.026226093992590904, -0.020695874467492104, 0.024651041254401207, -0.019687848165631294, -0.0711713656783104, 0.0488298200070858, 0.01513529010117054, -0.00693741999566555, 0.013677792623639107, 0.04596782475709915, -0.028348632156848907, 0.010235392488539219, 0.04939374327659607, -0.05908532813191414, 0.044828224927186966, -0.01983550190925598, 0.013508989475667477, 0.02148410677909851, 0.02704746089875698, -0.022710662335157394, -0.032792866230010986, -0.051069337874650955, -0.007698534056544304, -0.04574468731880188, 0.010273758322000504, 0.07474072277545929 ]
Benicio/t5-small-finetuned-en-to-ro
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2022-03-01T21:01:39Z
--- license: apache-2.0 tags: - generated_from_trainer metrics: - f1 model-index: - name: flyswot_iiif results: [] --- <!-- 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. --> # flyswot_iiif This model is a fine-tuned version of [facebook/convnext-base-224-22k](https://huggingface.co/facebook/convnext-base-224-22k) on the None dataset. It achieves the following results on the evaluation set: - Loss: 6.1280 - F1: 0.0034 ## 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: 2e-05 - train_batch_size: 64 - eval_batch_size: 64 - seed: 666 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 8 - mixed_precision_training: Native AMP - label_smoothing_factor: 0.1 ### Training results | Training Loss | Epoch | Step | Validation Loss | F1 | |:-------------:|:-----:|:-----:|:---------------:|:------:| | 8.5184 | 0.26 | 500 | 7.9280 | 0.0005 | | 7.7409 | 0.52 | 1000 | 7.5824 | 0.0007 | | 7.4649 | 0.78 | 1500 | 7.3841 | 0.0010 | | 7.3285 | 1.04 | 2000 | 7.2652 | 0.0012 | | 7.1404 | 1.3 | 2500 | 7.1559 | 0.0014 | | 7.0322 | 1.56 | 3000 | 7.0551 | 0.0016 | | 6.9197 | 1.82 | 3500 | 6.9449 | 0.0019 | | 6.7822 | 2.09 | 4000 | 6.8773 | 0.0018 | | 6.6506 | 2.35 | 4500 | 6.7980 | 0.0020 | | 6.5811 | 2.61 | 5000 | 6.7382 | 0.0022 | | 6.538 | 2.87 | 5500 | 6.6582 | 0.0022 | | 6.4136 | 3.13 | 6000 | 6.6013 | 0.0024 | | 6.3325 | 3.39 | 6500 | 6.5369 | 0.0024 | | 6.2566 | 3.65 | 7000 | 6.4875 | 0.0025 | | 6.2285 | 3.91 | 7500 | 6.4342 | 0.0027 | | 6.1281 | 4.17 | 8000 | 6.4066 | 0.0027 | | 6.0762 | 4.43 | 8500 | 6.3674 | 0.0027 | | 6.0309 | 4.69 | 9000 | 6.3336 | 0.0027 | | 6.0123 | 4.95 | 9500 | 6.2932 | 0.0030 | | 5.9089 | 5.21 | 10000 | 6.2835 | 0.0029 | | 5.8901 | 5.47 | 10500 | 6.2481 | 0.0030 | | 5.86 | 5.74 | 11000 | 6.2295 | 0.0030 | | 5.8586 | 6.0 | 11500 | 6.2068 | 0.0033 | | 5.7768 | 6.26 | 12000 | 6.1937 | 0.0031 | | 5.7591 | 6.52 | 12500 | 6.1916 | 0.0032 | | 5.7443 | 6.78 | 13000 | 6.1579 | 0.0033 | | 5.7125 | 7.04 | 13500 | 6.1478 | 0.0033 | | 5.6751 | 7.3 | 14000 | 6.1379 | 0.0035 | | 5.6648 | 7.56 | 14500 | 6.1304 | 0.0035 | | 5.6644 | 7.82 | 15000 | 6.1280 | 0.0034 | ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.0+cu111 - Datasets 1.18.3 - Tokenizers 0.11.6
[ -0.04715653508901596, -0.005059361457824707, -0.03111235238611698, 0.02370777353644371, 0.03102189116179943, 0.012914388440549374, -0.018988490104675293, -0.004365222994238138, -0.026794850826263428, 0.07061105221509933, 0.031536705791950226, -0.02391565591096878, 0.01758739724755287, 0.027292843908071518, -0.03845532611012459, -0.04625631123781204, -0.01197562925517559, -0.0068894498981535435, -0.014983775094151497, 0.015516985207796097, 0.022757040336728096, -0.012754363007843494, -0.027299413457512856, 0.017330897971987724, 0.008752895519137383, 0.014666047878563404, -0.00277831987477839, 0.028503144159913063, 0.019596770405769348, -0.06500757485628128, -0.010599634610116482, -0.0404152013361454, -0.058896418660879135, -0.019840845838189125, -0.004444129765033722, -0.0002636429271660745, 0.00007293040107470006, 0.04109963774681091, 0.04007166251540184, 0.06034208461642265, 0.017677782103419304, 0.0231056809425354, -0.02397935464978218, -0.013985933735966682, 0.06237532198429108, 0.0029772468842566013, -0.042623378336429596, 0.007979027926921844, 0.0356966108083725, -0.02148316241800785, -0.06237822398543358, -0.06540168821811676, -0.006415495648980141, 0.021893734112381935, -0.032108426094055176, -0.04013117402791977, -0.06349457800388336, 0.014693750999867916, 0.07584773004055023, -0.05310880392789841, -0.019581567496061325, 0.007418707944452763, -0.04486584663391113, 0.01609380543231964, 0.02486572600901127, -0.048343412578105927, 0.025339238345623016, -0.02379058115184307, 0.03249218687415123, -0.010823328047990799, 0.07624483108520508, -0.014902752824127674, 0.018457232043147087, -0.07583118230104446, -0.021328646689653397, -0.002083203289657831, 0.04177292063832283, 0.05887526273727417, -0.05956556648015976, 0.05183625966310501, 0.05183806270360947, -0.00237589911557734, 0.04370143264532089, -0.025386478751897812, -0.0034705863799899817, 0.033911652863025665, -0.05403139069676399, 0.016580406576395035, 0.009508338756859303, 0.03980591148138046, -0.038880713284015656, -0.030238844454288483, -0.008859293535351753, -0.02554931677877903, -0.01953473873436451, 0.024177659302949905, 0.034112412482500076, -0.0024217988830059767, 0.028974836692214012, 0.022045327350497246, 0.03631449118256569, 0.03560366481542587, -0.012401373125612736, 0.08021435886621475, -0.021032381802797318, -0.021062741056084633, -0.008014005608856678, -0.024932166561484337, -0.036878373473882675, 0.008419360965490341, 0.019193412736058235, -0.043403953313827515, -0.03899345546960831, 0.033928923308849335, 0.016430115327239037, -0.008067302405834198, 0.0811585932970047, -0.04350019618868828, -0.048961687833070755, -0.04014577716588974, 0.03368286043405533, 0.02435978688299656, -0.019367573782801628, 0.004817721899598837, -0.052960384637117386, -0.004298696294426918, 0.005082831252366304, -0.04542155936360359, -0.0042135207913815975, 0.007206193171441555, -0.0005750778946094215, 0.05251135677099228, 0.04418468102812767, -0.051117923110723495, -0.023616109043359756, 0.0260557159781456, -0.03584933653473854, 0.03773384168744087, 0.002450114581733942, 0.08016569167375565, -0.07923207432031631, -0.0784086138010025, 0.008678726851940155, 0.0008350217831321061, -0.03317014500498772, 0.020978320389986038, 0.011742335744202137, -0.02665889821946621, 0.004298478830605745, -0.017577262595295906, 0.04652903601527214, -0.049425575882196426, -0.005009079352021217, 0.07501722127199173, 0.002376687480136752, 0.025877615436911583, -0.04667113721370697, -0.02276485785841942, 0.007329479791224003, -0.02689553238451481, 0.006875819992274046, 0.03927845135331154, -0.02588329091668129, -0.004748464096337557, -0.011523541063070297, -0.04262006655335426, -0.0013670518528670073, 0.08200009912252426, -0.018914341926574707, -0.03705565258860588, -0.014600491151213646, 0.03783933445811272, 0.06627538800239563, 0.034048788249492645, -0.015023905783891678, 0.03375161066651344, 0.04858293756842613, 0.027504103258252144, -0.037084728479385376, 0.053041450679302216, 0.042714525014162064, -0.02580586075782776, -0.026632340624928474, 0.00364550924859941, -0.008747399784624577, -0.05579480901360512, 0.008653974160552025, 0.03714496269822121, 0.013090421445667744, -0.06043223664164543, -0.025545429438352585, 0.040510840713977814, 0.003478473285213113, -0.025602780282497406, 0.0025877777952700853, 0.017813391983509064, -0.025461900979280472, 0.01829216070473194, -0.01588476076722145, -0.0021375243086367846, -0.031910333782434464, -0.028334476053714752, 0.012159191071987152, 0.005015930626541376, -0.0030262835789471865, 0.026551801711320877, -0.021850502118468285, 0.0909111350774765, -0.034648407250642776, 0.02264556661248207, -0.040790583938360214, -0.05347355827689171, 0.021701958030462265, 0.06858733296394348, 0.02844495140016079, 0.06929793208837509, 0.0028339512646198273, -0.04072745144367218, 0.04938695952296257, 0.0741569921374321, 0.04613698646426201, 0.015306585468351841, -0.029935644939541817, -0.013177386485040188, 0.038061730563640594, 0.04011555388569832, -0.052322205156087875, -0.02693863958120346, 0.01986785978078842, 0.028998779132962227, -0.028951626271009445, 0.016967102885246277, -0.024008844047784805, 0.04001587629318237, -0.05575019121170044, -0.0563204288482666, 0.036694128066301346, 0.0412687212228775, 0.0011600396828725934, 0.03411142900586128, -0.006281624082475901, -0.00668965931981802, 0.028876006603240967, -0.003927250392735004, 0.0030507612973451614, -0.03364035487174988, 0.01899775303900242, 0.023334626108407974, 0.05497058108448982, -0.053587090224027634, 0.019970374181866646, -0.006407757289707661, 0.005292525514960289, 0.05145377665758133, -0.023797690868377686, 0.03753998130559921, 0.057686880230903625, 0.03131667897105217, -0.017564846202731133, 0.030248286202549934, 0.018188945949077606, 0.04018412530422211, 0.026189763098955154, 0.00386748556047678, 0.07515270262956619, 0.0023745810613036156, 0.034812454134225845, 0.07587416470050812, 0.038592610508203506, 0.029225017875432968, 0.03188597038388252, 0.10126310586929321, -0.0002817992935888469, -0.00996402371674776, 0.046018652617931366, -0.04630602151155472, 0.031455885618925095, -0.03436185419559479, 0.007101108785718679, -0.01518916990607977, 0.0014723710482940078, 0.038345273584127426, 0.018157383427023888, -0.02969418652355671, 0.004325405228883028, -0.0026600342243909836, -0.030984288081526756, 0.03376263752579689, 0.010162340477108955, 0.0060515557415783405, 0.010387533344328403, -0.009961671195924282, -0.002366154221817851, -0.07995372265577316, -0.03686155378818512, -0.006808830890804529, -0.04176856204867363, -0.02391878329217434, -0.08457616716623306, 0.026152487844228745, -0.0697173923254013, -0.020781371742486954, 0.045137763023376465, 0.018859554082155228, -0.01036392617970705, -0.027680812403559685, 0.012356922961771488, -0.0543362982571125, -0.04741284251213074, -0.05697768181562424, -0.0517689473927021, -0.03635552525520325, -0.06010706350207329, 0.0375334732234478, 0.0386551171541214, 0.034506283700466156, 0.014544765464961529, 0.0032523160334676504, 0.00828645285218954, -0.011799775995314121, 0.04815712571144104, 0.0780370682477951, -0.02673947438597679, -0.04158426448702812, 0.019368315115571022, -0.018567873165011406, 0.005843829829245806, -0.00529560586437583, -0.03477633744478226, 0.10046013444662094, 0.059129998087882996, 0.00911465473473072, 0.003260526806116104, -0.03195648267865181, -0.055350854992866516, -0.054983723908662796, -0.03577563539147377, -0.02201806753873825, -0.009869520552456379, -0.021854674443602562, -0.03554375842213631, -0.040355533361434937, -0.025910016149282455, -0.006780998781323433, -0.018240617588162422, 0.00998524110764265, 0.023796597495675087, 0.02203637920320034, 0.021441394463181496, 0.035200335085392, -0.01809602417051792, -0.045547083020210266, 0.058213457465171814, 0.008721438236534595, -0.009409521706402302, -0.07970257848501205, -0.011440654285252094, 0.03100506030023098, 0.020564431324601173, 0.012920917011797428, 0.009252016432583332, 0.08015751838684082, -0.0025095047894865274, 0.008119420148432255, 0.01866440288722515, -0.02561977505683899, 0.011387641541659832, -0.01523076742887497, -0.01019229181110859, 0.006694349460303783, -0.03702988103032112, -0.0013814985286444426, -0.016177918761968613, 0.04481194168329239, -0.07564907521009445, -0.05440479516983032, 0.0027328382711857557, 0.02433592639863491, 0.04992683604359627, 0.0028262839186936617, -0.040435221046209335, -0.023313749581575394, -0.07009416073560715, -0.01156693883240223, 0.024200232699513435, 0.0274941585958004, 0.017892824485898018, 0.03718757629394531, 0.03527884930372238, -0.02395601198077202, 0.03278961405158043, 0.027374889701604843, 0.07010442763566971, 0.03630538284778595, -0.06900806725025177, 0.005325048230588436, -0.020133865997195244, 0.02587893418967724, -0.03058091178536415, -0.003416905179619789, -0.025168342515826225, -0.10629652440547943, -0.03080778755247593, 0.003100052010267973, -0.002009209943935275, -0.00843823328614235, 0.06469208002090454, -0.02220103330910206, -0.03190736472606659, -0.015631120651960373, 0.011499475687742233, 0.0339360311627388, -0.042543623596429825, 0.05627821013331413, -0.024149682372808456, 0.007587030529975891, -0.05344345048069954, 0.012466768734157085, -0.034168992191553116, -0.005631146486848593, 0.021382223814725876, 0.045279424637556076, 0.009588968940079212, 0.05430038273334503, 0.07829700410366058, 0.031227419152855873, -0.053260184824466705, 0.0356256328523159, 0.06228158622980118, -0.018092991784214973, -0.038558248430490494, 0.013945035636425018, -0.012102419510483742, -0.005537801887840033, -0.0008912663324736059, -0.012518840841948986, 0.04085346311330795, 0.04237246885895729, -0.0011683165794238448, 0.009340682066977024, 0.028280897065997124, -0.0009733372717164457, -0.019130945205688477, -0.06120404228568077, -0.0017857574857771397, -0.016246644780039787, -0.03967984393239021, 0.02370254322886467, 0.022242171689867973, 0.0021623263601213694, 0.06550342589616776, 0.029924863949418068, -0.04766220599412918, -0.03196854889392853, 0.015446820296347141, 0.020831121131777763, -0.030439792200922966, -0.06805470585823059, -0.014874429441988468, 0.044169601052999496, 0.022127946838736534, -0.03210431709885597, -0.06343957036733627, -0.007386154029518366, 0.06141442432999611, -0.06213153526186943, 0.034401338547468185, 0.010070336982607841, 0.03533567488193512, 0.039420612156391144, -0.021126920357346535, 0.04790952056646347, -0.019277049228549004, 0.011399875394999981, 0.002067668829113245, 0.02040063962340355, -0.026768552139401436, -0.03633257746696472, -0.0424925871193409, 0.03442142531275749, 0.04638587310910225, 0.04262830689549446, 0.03775594010949135, -0.01879778690636158, -0.03559326380491257, -0.010066550225019455, 0.047287117689847946, -0.03252919390797615, 0.002709937747567892, 0.020741259679198265, 0.03676927462220192, -0.04072586074471474, -0.02989680878818035, -0.01953272707760334, -0.016980137676000595, 0.014457186684012413, -0.03488236293196678, -0.04125083610415459, -0.036110833287239075, 0.041293274611234665, -0.007983217015862465, -0.004640005994588137, -0.08926417678594589, 0.04416230320930481, -0.016670718789100647, -0.02343166433274746, 0.05067276209592819, 0.04479790851473808, 0.0007104863179847598, 0.06012584641575813, 0.027515782043337822, 0.03428363427519798, -0.040857989341020584, 0.033838462084531784, -0.04836545139551163, -0.017536045983433723, 0.013541384600102901, -0.04314394295215607, -0.020621242001652718, -0.008186131715774536, -0.04574926197528839, -0.028213558718562126, -0.035592298954725266, 0.013732184655964375, 0.007687408942729235, -0.007824866101145744, -0.00749333156272769, 0.05210646986961365, -0.010051703080534935, -0.030271656811237335, -0.028408663347363472, -0.02605428360402584, -0.05248219147324562, -0.04557954519987106, 0.02975449711084366, 0.008744812570512295, 0.05008774995803833, 0.028318094089627266, 0.0180500540882349, 0.022276652976870537, 0.0228984784334898, -0.044201962649822235, 0.016605371609330177, 0.024438906461000443, -0.013393720611929893, -0.008871179074048996, 0.021623749285936356, 0.0026679334696382284, 0.037664201110601425, -0.015126903541386127, 0.01925521343946457, 0.01792612485587597, -0.02041327953338623, -0.0076030888594686985, 0.02712208591401577, 0.016404159367084503, -0.07016011327505112, -0.025505518540740013, -0.007922596298158169, -0.03482053801417351, 0.010544863529503345, -0.04164162650704384, -0.029593434184789658, 0.018634451553225517, 0.002321475651115179, 0.04045543074607849, -0.032343242317438126, -0.02787143364548683, 0.026366794481873512, -0.017180511727929115, 0.014150626957416534, -0.044465988874435425, 0.04457651078701019, -0.024298587813973427, 0.0138069624081254, -0.025771046057343483, 0.018650030717253685, -0.05100256949663162, 0.04080570489168167, -0.003530401736497879, -0.033266421407461166, -0.014115804806351662, 0.05614446848630905, -0.007697779685258865, 0.016414135694503784, -0.0020461282692849636, 0.009354609064757824, -0.04810008034110069, 0.053467877209186554, -0.02521730214357376, 0.015525666065514088, -0.030190397053956985, 0.01103447750210762, -0.016535189002752304, 0.009424583986401558, -0.03283732384443283, -0.029226917773485184, 0.0268735121935606, 0.06642942130565643, 0.037180326879024506, 0.040122807025909424, -0.011958047747612, 0.005810932256281376, 0.03069043718278408, -0.04142575338482857, -0.03045179508626461, 0.004257787950336933, 0.0010902343783527613, -0.015276312828063965, 0.058689020574092865, 0.038079943507909775, -0.052190814167261124, -0.06997781246900558, 0.06685668230056763, 0.02521841786801815, 0.005648918449878693, 0.01710941083729267, 0.028247704729437828, 0.03779501095414162, 0.05723144859075546, -0.031623467803001404, -0.0028927696403115988, -0.011256394907832146, -0.053724225610494614, 0.04704435169696808, -0.017364243045449257, 0.030800167471170425, 0.033218011260032654, -0.0377533957362175, -0.015424731187522411, 0.056966185569763184, 0.0425298698246479, 0.022715836763381958, -0.0016353450482711196, -0.03241177648305893, 0.04028955474495888, -0.010119665414094925, -0.04803750291466713, 0.018289361149072647, 0.00723690539598465, -0.03393915295600891, 0.06006842851638794, 0.004582415334880352, 0.028621120378375053, 0.055568959563970566, 0.03744744509458542, -0.010585900396108627, 0.06734763085842133, -0.012811756692826748, 0.0060268910601735115, 0.043539851903915405, -0.0656738132238388, -0.02428044006228447, -0.024605926126241684, 0.0578310489654541, -0.06931446492671967, 0.038603220134973526, 0.04904334992170334, -0.0008461530087515712, 0.023140743374824524, -0.0314345620572567, -0.04156941920518875, 0.0021569866221398115, -0.024785026907920837, 0.09145631641149521, -0.005097872577607632, -0.039864420890808105, 0.06357081234455109, 0.01357788871973753, -0.06881768256425858, 0.03691357001662254, 0.03855117782950401, 0.03364771232008934, 0.02069559320807457, 0.034364473074674606, -0.04760732874274254, 0.012527809478342533, -0.027081787586212158, 0.020010650157928467, -0.04040712118148804, -0.021737677976489067, 0.04597499221563339, -0.050846438854932785, -0.0256391279399395, 0.02876158244907856, -0.0006200721254572272, -0.015760289505124092, 0.055924028158187866, -0.03905809670686722, -0.023361874744296074, 0.008780383504927158, 0.026908520609140396, -0.04412608593702316, -0.016476640477776527, -0.02809339575469494, 0.017332356423139572, 0.01954062096774578, 0.011462108232080936, -0.020678451284766197, -0.00561934057623148, 0.03276558965444565, -0.08538797497749329, -0.021708063781261444, 0.037346821278333664, -0.012058939784765244, -0.013213636353611946, 0.02885039709508419, 0.003941935487091541, 0.01927255652844906, 0.041219357401132584, -0.01579565927386284, 0.02978593483567238, -0.05915439873933792, -0.02849479392170906, 0.023432724177837372, -0.011483474634587765, 0.014440253376960754, 0.00027375537320040166, 0.05058152973651886, 0.022121664136648178, 0.016719060018658638, -0.005595373455435038, -0.019619762897491455, -0.04493173956871033, 0.026215024292469025, -0.029922403395175934, 0.018681494519114494, 0.002832044381648302, -0.05214579403400421, -0.0693831518292427, -0.017249267548322678, -0.04095100611448288, 0.02425137162208557, -0.03967166692018509, -0.0158679261803627, 0.03278426080942154, 0.002287687035277486, -0.07466144114732742, -0.1187698245048523, -0.011975079774856567, -0.04188557714223862, 0.02455965243279934, 0.047177497297525406, -0.045337941497564316, 0.061138786375522614, -0.030095823109149933, -0.051845066249370575, 0.02441711723804474, 0.015064051374793053, -0.013942023739218712, 0.031387459486722946, 0.0520482175052166, -0.07376042008399963, 0.03472422435879707, 0.03279399126768112, -0.05387602373957634, 0.0177910178899765, 0.01088396180421114, 0.011064300313591957, 0.02041722647845745, 0.04079442471265793, -0.047321777790784836, -0.02699965611100197, -0.06556712090969086, -0.03301078453660011, -0.049897778779268265, 0.01812445931136608, 0.04584154486656189 ]
Benicio/t5-small-finetuned-en-to-ru
[ "pytorch", "tensorboard", "t5", "text2text-generation", "transformers", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "T5ForConditionalGeneration" ], "model_type": "t5", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": true, "length_penalty": 2, "max_length": 200, "min_length": 30, "no_repeat_ngram_size": 3, "num_beams": 4, "prefix": "summarize: " }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": true, "max_length": 300, "num_beams": 4, "prefix": "translate English to German: " }, "translation_en_to_fr": { "early_stopping": true, "max_length": 300, "num_beams": 4, "prefix": "translate English to French: " }, "translation_en_to_ro": { "early_stopping": true, "max_length": 300, "num_beams": 4, "prefix": "translate English to Romanian: " } } }
50
2022-03-01T17:52:47Z
--- license: apache-2.0 tags: - generated_from_trainer datasets: - image_folder model-index: - name: flyswot_test results: [] --- <!-- 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. --> # flyswot_test This model is a fine-tuned version of [facebook/convnext-base-224-22k](https://huggingface.co/facebook/convnext-base-224-22k) on the image_folder dataset. It achieves the following results on the evaluation set: - eval_loss: 0.1518 - eval_f1: 0.9595 - eval_runtime: 5.9337 - eval_samples_per_second: 69.603 - eval_steps_per_second: 2.191 - epoch: 7.0 - step: 364 ## 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: 2e-05 - train_batch_size: 32 - eval_batch_size: 32 - seed: 666 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 40 - mixed_precision_training: Native AMP ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.0+cu111 - Datasets 1.18.3 - Tokenizers 0.11.6
[ -0.04325447604060173, -0.023475805297493935, -0.039829887449741364, 0.032147493213415146, 0.027498146519064903, 0.020238513126969337, -0.0009886372135952115, -0.0026367385871708393, -0.013114131055772305, 0.06253848224878311, 0.04653337970376015, -0.011357542127370834, 0.0049995360895991325, 0.042361851781606674, -0.033931996673345566, -0.06601022928953171, -0.010482839308679104, 0.010740776546299458, -0.008650346659123898, 0.0006954355048947036, 0.02598119154572487, -0.012812632136046886, -0.008569885045289993, 0.020914139226078987, 0.013235888443887234, 0.016379570588469505, 0.001974522601813078, 0.024983540177345276, 0.01730690523982048, -0.073123998939991, 0.001467125373892486, -0.04447866976261139, -0.0517897792160511, -0.0020568114705383778, -0.005642258562147617, 0.024326438084244728, 0.012063603848218918, 0.029694750905036926, 0.029527751728892326, 0.05835550278425217, 0.0001587359292898327, 0.0142192542552948, -0.026914281770586967, -0.020222073420882225, 0.0651317611336708, -0.015111389569938183, -0.04467719420790672, 0.0035822587087750435, 0.02592810057103634, -0.010035675019025803, -0.07411694526672363, -0.08537337929010391, -0.006286256480962038, 0.006689546164125204, -0.02748163230717182, -0.03343712165951729, -0.050878167152404785, 0.012494046241044998, 0.06760337948799133, -0.06368090957403183, -0.010429248213768005, -0.0016280300915241241, -0.04431468993425369, 0.021235959604382515, 0.021072201430797577, -0.03232250362634659, 0.022818615660071373, -0.013943267986178398, 0.040656864643096924, -0.0038902189116925, 0.07040461152791977, -0.015368141233921051, 0.01686861738562584, -0.09171738475561142, -0.019544286653399467, -0.011849521659314632, 0.03622345253825188, 0.06551751494407654, -0.05187945440411568, 0.03248058259487152, 0.04230489954352379, 0.001326840021647513, 0.03229471296072006, -0.04082803055644035, -0.021314365789294243, 0.029744496569037437, -0.04072343558073044, 0.03401915729045868, 0.004858389031141996, 0.047846611589193344, -0.044940285384655, -0.036348216235637665, -0.010556516237556934, -0.035453278571367264, -0.02696111984550953, 0.016694296151399612, 0.033933818340301514, 0.0006084233173169196, 0.026881633326411247, 0.031847033649683, 0.046127237379550934, 0.032284412533044815, -0.014502156525850296, 0.07408403605222702, -0.0011953320354223251, -0.03206924721598625, -0.0025055238511413336, -0.04143402352929115, -0.0375603623688221, 0.013141137547791004, 0.01488527748733759, -0.03243466094136238, -0.05078873038291931, 0.02325095236301422, 0.012938935309648514, -0.028805529698729515, 0.06570421904325485, -0.034601688385009766, -0.048975758254528046, -0.03221844881772995, 0.04637427628040314, 0.021753886714577675, -0.008004717528820038, 0.002906783949583769, -0.05110965669155121, 0.0028676437214016914, 0.000883251428604126, -0.04596119001507759, 0.004960103426128626, 0.009333007037639618, 0.0004937963094562292, 0.04150446504354477, 0.03848866745829582, -0.03606598451733589, -0.012546584941446781, 0.03376532346010208, -0.022340677678585052, 0.0492168627679348, -0.01343297865241766, 0.07794483751058578, -0.08037035167217255, -0.06334541738033295, 0.026750344783067703, -0.0009489241056144238, -0.029763855040073395, 0.01699221134185791, 0.014261636883020401, -0.046878229826688766, -0.013234271667897701, -0.024621862918138504, 0.03159555047750473, -0.05031224340200424, -0.008502907119691372, 0.06460099667310715, -0.00038232665974646807, 0.009111284278333187, -0.056688711047172546, -0.04396277666091919, 0.01310955174267292, -0.017687266692519188, 0.004511643201112747, 0.03658260405063629, -0.018864596262574196, -0.0016642853152006865, -0.01863248646259308, -0.037995755672454834, -0.0024630269035696983, 0.0816064327955246, -0.028301499783992767, -0.03793442249298096, -0.02051352895796299, 0.05422908440232277, 0.07052712887525558, 0.02628847025334835, -0.01663965731859207, 0.04423343762755394, 0.06305304169654846, 0.01844729669392109, -0.03998202830553055, 0.03007454238831997, 0.03339055925607681, -0.04458213225007057, -0.03336938098073006, -0.0009117890149354935, -0.014619207940995693, -0.04243116080760956, 0.013778519816696644, 0.03311261162161827, -0.006400054320693016, -0.04275447130203247, -0.013993905857205391, 0.05930091813206673, 0.00479608029127121, -0.01725911721587181, 0.008440716192126274, 0.004120226483792067, -0.02366066910326481, 0.017945602536201477, -0.016697663813829422, 0.0037994461599737406, -0.027395667508244514, -0.02580430917441845, 0.000095658193458803, -0.003968218341469765, 0.0031029963865876198, 0.025796500965952873, -0.019161289557814598, 0.08187434077262878, -0.029845014214515686, 0.01939397118985653, -0.04309934750199318, -0.06616934388875961, 0.01718626171350479, 0.05745865777134895, 0.04003029316663742, 0.07585614174604416, 0.013370252214372158, -0.0589899942278862, 0.05523225665092468, 0.05782882869243622, 0.04721855744719505, 0.012125732377171516, -0.030042080208659172, -0.012713165022432804, 0.025530554354190826, 0.04919193685054779, -0.04964033141732216, -0.014771188609302044, 0.01780475489795208, 0.0277609471231699, -0.010867158882319927, 0.023974230512976646, -0.0337357372045517, 0.04803435131907463, -0.04905431717634201, -0.07035240530967712, 0.037580229341983795, 0.04172486066818237, 0.009303261525928974, 0.02603665553033352, 0.00022368805366568267, -0.002375877695158124, 0.012748814187943935, -0.009050675667822361, -0.004192071035504341, -0.03933706507086754, 0.011115429922938347, 0.015098282136023045, 0.043241724371910095, -0.06724929064512253, 0.020799361169338226, 0.0013686306774616241, 0.0016002145130187273, 0.05985240638256073, -0.04078267514705658, 0.02964642085134983, 0.05169869214296341, 0.03771321102976799, -0.02424844354391098, 0.04059451445937157, 0.010628161020576954, 0.04310997948050499, 0.023664535954594612, 0.006064979359507561, 0.06724140048027039, -0.0010592276230454445, 0.03732912242412567, 0.0693005919456482, 0.03775034844875336, 0.03494933992624283, 0.0322229228913784, 0.09451155364513397, 0.0015758216613903642, -0.005296570714563131, 0.05001458153128624, -0.04220561310648918, 0.032599836587905884, -0.020793190225958824, 0.01258205994963646, -0.01681186445057392, 0.004982823971658945, 0.044679101556539536, 0.003785789245739579, -0.033402085304260254, 0.00261980714276433, -0.00333640375174582, -0.03746069595217705, 0.0556112565100193, 0.00609185267239809, 0.0006095991120673716, 0.007126389537006617, -0.013472441583871841, -0.01622617617249489, -0.07675406336784363, -0.03267062455415726, -0.005768456496298313, -0.050600502640008926, -0.018048498779535294, -0.0974624827504158, 0.02527441829442978, -0.05832505598664284, -0.014491480775177479, 0.05700741708278656, 0.015386838465929031, -0.007563198916614056, -0.02306969463825226, 0.016058387234807014, -0.05534118041396141, -0.036720819771289825, -0.06040703505277634, -0.04363503307104111, -0.040504805743694305, -0.0553182028234005, 0.036114055663347244, 0.0093947509303689, 0.03675684705376625, 0.016196753829717636, 0.0013213262427598238, 0.00009792333003133535, 0.005392249673604965, 0.04938637092709541, 0.07509828358888626, -0.02809942699968815, -0.03649226576089859, 0.011792579665780067, -0.019374853000044823, 0.015155663713812828, 0.006020972039550543, -0.03224758431315422, 0.10714970529079437, 0.05526446923613548, 0.009095413610339165, 0.01696525141596794, -0.03341313451528549, -0.04560668021440506, -0.044077757745981216, -0.028830258175730705, -0.03695889934897423, -0.004403986502438784, -0.030591299757361412, -0.04322762414813042, -0.031322188675403595, -0.013184841722249985, -0.01721896044909954, -0.011709616519510746, 0.004559069871902466, 0.03708276525139809, 0.036810483783483505, 0.026413720101118088, 0.025418821722269058, -0.038128696382045746, -0.04854174330830574, 0.05550045892596245, -0.007185074966400862, -0.019940657541155815, -0.07782811671495438, -0.018562819808721542, 0.031414639204740524, 0.011085373349487782, 0.005221923813223839, 0.02389732003211975, 0.0764671340584755, -0.0019327449845150113, 0.0019510259153321385, 0.021045783534646034, -0.02196376770734787, 0.010722980834543705, -0.014371647499501705, 0.00590979028493166, 0.004995777737349272, -0.02969074621796608, -0.01758590340614319, -0.002166232792660594, 0.04875621944665909, -0.06775732338428497, -0.05459277704358101, 0.005455711390823126, 0.024453740566968918, 0.04874484986066818, 0.010692359879612923, -0.050161298364400864, -0.01920584961771965, -0.07732142508029938, -0.022017333656549454, 0.021381137892603874, 0.02710036374628544, 0.024580681696534157, 0.05013754963874817, 0.008674532175064087, -0.029825815930962563, 0.02763129025697708, 0.01959715038537979, 0.06113891676068306, 0.033980343490839005, -0.04837464913725853, -0.006502219941467047, -0.031487755477428436, 0.026021050289273262, -0.007551855873316526, 0.0040308511815965176, -0.023803651332855225, -0.08859343826770782, -0.025098884478211403, -0.0020230067893862724, 0.0007096968474797904, -0.024378128349781036, 0.05738293007016182, -0.014452405273914337, -0.034909941256046295, -0.002849321812391281, 0.0136112654581666, 0.03402738645672798, -0.046373624354600906, 0.06560495495796204, -0.03117462992668152, 0.020221760496497154, -0.03695923462510109, 0.015024627558887005, -0.02784557081758976, -0.013751814141869545, 0.00947431568056345, 0.045249275863170624, 0.02778010629117489, 0.04967112094163895, 0.08106163144111633, 0.0284182820469141, -0.048808012157678604, 0.01621878147125244, 0.059285618364810944, -0.012976229190826416, -0.03092602640390396, 0.018418245017528534, -0.024529680609703064, 0.0021828669123351574, -0.008200980722904205, -0.005183677654713392, 0.03140709921717644, 0.053200818598270416, 0.0013504349626600742, 0.006281079258769751, 0.025561971589922905, 0.00404942873865366, -0.031172940507531166, -0.07146723568439484, -0.0008197078132070601, 0.0030332771129906178, -0.023767462000250816, 0.0003575934679247439, 0.0225080493837595, 0.0015675246249884367, 0.05764159560203552, 0.0347973108291626, -0.025924192741513252, -0.033833377063274384, 0.02219303511083126, 0.038645051419734955, -0.025810152292251587, -0.06626295298337936, -0.03622475638985634, 0.030635321512818336, 0.01782790571451187, -0.026499068364501, -0.06177090108394623, -0.001803442370146513, 0.04564666748046875, -0.0652933269739151, 0.043690044432878494, 0.011524626053869724, 0.03828909248113632, 0.05250074714422226, -0.0160541795194149, 0.033992331475019455, -0.017178375273942947, 0.003931612242013216, 0.007519179955124855, 0.025567159056663513, -0.01809348352253437, -0.05369541049003601, -0.05298951640725136, 0.029695754870772362, 0.0536099411547184, 0.04348341375589371, 0.03958093374967575, -0.030871057882905006, -0.040407899767160416, -0.001369200530461967, 0.047141559422016144, -0.03651495650410652, 0.01146854367107153, 0.013511640951037407, 0.019397970288991928, -0.03581100329756737, -0.0351039282977581, -0.0321466326713562, -0.014153829775750637, 0.016744280233979225, -0.03068350814282894, -0.048624396324157715, -0.03132060170173645, 0.03572855889797211, -0.012913239188492298, -0.0002828890283126384, -0.10199864953756332, 0.04317043349146843, -0.02389533631503582, -0.011875182390213013, 0.05942828953266144, 0.046458132565021515, 0.008563883602619171, 0.05196978896856308, 0.02704351767897606, 0.04756734520196915, -0.04795733094215393, 0.030842015519738197, -0.06665566563606262, -0.01827085204422474, 0.021354105323553085, -0.029676923528313637, -0.02269507758319378, -0.01685526594519615, -0.046735718846321106, -0.03522096574306488, -0.03498702868819237, 0.013173528015613556, -0.007835498079657555, -0.009207960218191147, 0.0017367879627272487, 0.03615778312087059, -0.020898591727018356, -0.022812576964497566, -0.04538945108652115, -0.03354557976126671, -0.052284546196460724, -0.04672380909323692, 0.021131878718733788, 0.0026609112974256277, 0.05050279572606087, 0.016632968559861183, 0.01619795337319374, 0.017414359375834465, 0.02970532327890396, -0.02324504777789116, 0.005223320331424475, 0.029816558584570885, 0.005272341892123222, -0.013091926462948322, 0.017433209344744682, 0.0006196169997565448, 0.02355577051639557, -0.025812363252043724, 0.02657533437013626, 0.020427005365490913, -0.001515206997282803, -0.003956502769142389, 0.02980065904557705, 0.006011683028191328, -0.07527576386928558, -0.02748158760368824, 0.00021700095385313034, -0.03328622505068779, 0.017867853865027428, -0.03569181635975838, -0.03181211277842522, 0.027884047478437424, -0.0017723083728924394, 0.043384261429309845, -0.0346381850540638, -0.023784959688782692, 0.03210711106657982, -0.03731003403663635, 0.01677546836435795, -0.04203761741518974, 0.033242471516132355, -0.03706963360309601, 0.016408830881118774, -0.025439143180847168, 0.014376841485500336, -0.05148288980126381, 0.030796613544225693, -0.010173634625971317, -0.027126559987664223, -0.02445181831717491, 0.04531646892428398, -0.01890505664050579, 0.01721782237291336, -0.020243847742676735, -0.0005358349299058318, -0.049512747675180435, 0.05408838018774986, -0.025353526696562767, 0.017966678366065025, -0.03553415834903717, 0.01277575921267271, -0.026483559980988503, 0.007643511984497309, -0.021564483642578125, -0.007040944881737232, 0.020809806883335114, 0.05524498224258423, 0.030676107853651047, 0.02324727177619934, -0.024931376799941063, 0.00959137361496687, 0.028021112084388733, -0.054141052067279816, -0.0318148173391819, -0.009219699539244175, -0.00012850567873101681, -0.009281194768846035, 0.062334153801202774, 0.053334325551986694, -0.04864690825343132, -0.06374365836381912, 0.06656898558139801, 0.035088345408439636, 0.008303893730044365, 0.0245431549847126, 0.021808341145515442, 0.032849300652742386, 0.056298740208148956, -0.025642940774559975, 0.0062426612712442875, -0.017402371391654015, -0.058257125318050385, 0.043296124786138535, -0.017267374321818352, 0.02959640696644783, 0.007046064827591181, -0.041769951581954956, -0.02525509148836136, 0.07611370831727982, 0.04204125329852104, 0.032636042684316635, 0.004672958981245756, -0.046581242233514786, 0.04667019098997116, -0.003128196345642209, -0.04240372031927109, 0.026697808876633644, 0.0011874544434249401, -0.030299285426735878, 0.06983407586812973, 0.022282199934124947, 0.019583065062761307, 0.03637144714593887, 0.04086123779416084, -0.013008499518036842, 0.05857926607131958, -0.021372005343437195, 0.005880183540284634, 0.042861372232437134, -0.05653933435678482, -0.031621139496564865, -0.023601828143000603, 0.05607093870639801, -0.08104188740253448, 0.04931225627660751, 0.049624502658843994, -0.01631353050470352, 0.0024073084350675344, -0.017399610951542854, -0.04161650314927101, 0.003168470226228237, -0.03484766185283661, 0.0838995948433876, -0.012636421248316765, -0.031947799026966095, 0.0837506502866745, 0.012152972631156445, -0.07354924827814102, 0.03002038411796093, 0.05398271977901459, 0.03995358198881149, 0.019068190827965736, 0.04541541635990143, -0.03170984238386154, 0.011970728635787964, -0.04216476157307625, 0.021044349297881126, -0.056803613901138306, -0.021573184058070183, 0.05380599573254585, -0.04947109520435333, -0.020266171544790268, 0.0413905493915081, -0.006559866946190596, -0.005459036212414503, 0.04535083845257759, -0.040194347500801086, -0.01897326484322548, 0.0009678475908003747, 0.014118479564785957, -0.039574578404426575, -0.012687034904956818, -0.007025031838566065, 0.02663644403219223, 0.002270274795591831, -0.0031595744658261538, -0.013615023344755173, -0.0024036476388573647, 0.03548522666096687, -0.07281194627285004, -0.03837721794843674, 0.021064113825559616, -0.004307832568883896, -0.019224857911467552, 0.03425952419638634, 0.007359777111560106, 0.02460835501551628, 0.023885415866971016, -0.013185029849410057, 0.022325502708554268, -0.04239378124475479, -0.02615661732852459, 0.018981754779815674, 0.0033366442658007145, 0.01191147044301033, 0.011448641307651997, 0.05350877344608307, 0.030566047877073288, 0.03157806023955345, -0.020997323095798492, -0.012490993365645409, -0.04865516349673271, 0.025757046416401863, -0.02283320017158985, 0.023127036169171333, 0.013070925138890743, -0.05274413526058197, -0.07374843955039978, -0.008200017735362053, -0.03910579904913902, 0.03540889546275139, -0.04702557995915413, -0.024706384167075157, 0.02412162721157074, 0.004448338411748409, -0.0742044523358345, -0.10503462702035904, -0.01863035187125206, -0.051435552537441254, 0.04618978872895241, 0.04601462557911873, -0.04507927596569061, 0.06402888894081116, -0.030830280855298042, -0.05525665357708931, 0.02941705845296383, 0.026933468878269196, -0.009202158078551292, 0.04023495689034462, 0.053948450833559036, -0.07283668220043182, 0.01709192804992199, 0.027487946674227715, -0.054173167794942856, 0.0020398458000272512, 0.02738463133573532, 0.0029794771689921618, 0.010701977647840977, 0.04647094011306763, -0.038404833525419235, -0.022374847903847694, -0.06535778939723969, -0.0286745335906744, -0.05511747673153877, 0.013847257941961288, 0.04856300726532936 ]
Bharathdamu/wav2vec2-large-xls-r-300m-hindi-colab
[ "pytorch", "tensorboard", "wav2vec2", "automatic-speech-recognition", "dataset:common_voice", "transformers", "generated_from_trainer", "license:apache-2.0" ]
automatic-speech-recognition
{ "architectures": [ "Wav2Vec2ForCTC" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
2021-11-15T20:43:37Z
--- tags: - chemistry library_name: generic language: - en - gl - af - ak --- # TODO - - - -
[ -0.011598728597164154, -0.022552724927663803, 0.011113095097243786, 0.019368458539247513, 0.029852064326405525, 0.023237451910972595, -0.007041731383651495, 0.014412847347557545, -0.04428354278206825, 0.037625353783369064, 0.020500056445598602, 0.021789083257317543, 0.0002131719811586663, 0.05596453323960304, -0.046687282621860504, -0.01903894543647766, -0.02214503288269043, -0.044075462967157364, -0.053479742258787155, 0.0009480583830736578, 0.02373833954334259, 0.004345182795077562, -0.019712137058377266, 0.03647339716553688, 0.037379514425992966, 0.03518826887011528, -0.02663077600300312, 0.019584160298109055, 0.040390655398368835, -0.03515100106596947, -0.011094721965491772, -0.006236192770302296, -0.04857468232512474, -0.02956615760922432, -0.05059013143181801, -0.02274187281727791, 0.018444374203681946, -0.002489286009222269, 0.018866179510951042, 0.03666030988097191, -0.008371484465897083, 0.026470687240362167, 0.029877914115786552, -0.04648486524820328, 0.04734430089592934, 0.013665328733623028, -0.04364817962050438, -0.04990816116333008, 0.012784368358552456, -0.06655996292829514, -0.05696273595094681, -0.06348192691802979, -0.051964323967695236, -0.022895265370607376, -0.01034321915358305, -0.015818826854228973, -0.044851064682006836, 0.018595010042190552, 0.05758236348628998, -0.03210827335715294, -0.0533377043902874, -0.010240884497761726, -0.09644608199596405, -0.0012410108465701342, 0.021463990211486816, -0.03430825471878052, 0.016130343079566956, -0.04402819648385048, 0.02745162881910801, -0.026453666388988495, 0.06527800112962723, -0.030180001631379128, 0.0065854634158313274, -0.05524116009473801, -0.017528586089611053, -0.010221212171018124, 0.03049466200172901, 0.025823265314102173, -0.037070728838443756, 0.05276764556765556, 0.033206865191459656, 0.007346034981310368, 0.06292223930358887, -0.01202238816767931, -0.032732538878917694, 0.034898851066827774, -0.04346262663602829, -0.01759486086666584, 0.014160439372062683, 0.04244060069322586, -0.017057307064533234, -0.034033723175525665, -0.008076143451035023, -0.011473851278424263, -0.02572038769721985, 0.028324827551841736, 0.04945434257388115, -0.030406709760427475, 0.010653229430317879, 0.023542607203125954, 0.02467728778719902, 0.05808388069272041, -0.00685730529949069, 0.024558786302804947, 0.009355107322335243, -0.01081408653408289, 0.006282518617808819, -0.0017001255182549357, -0.020771993324160576, 0.023992519825696945, 0.013634906150400639, -0.050732795149087906, -0.031009897589683533, 0.06060686707496643, 0.0054677254520356655, -0.00616643950343132, 0.07711806893348694, -0.03427385538816452, -0.0074508278630673885, -0.05949888750910759, 0.05996094271540642, -0.004711437970399857, -0.00782342441380024, 0.007868854328989983, -0.027030766010284424, -0.01169360987842083, -0.05920907482504845, 0.0011774450540542603, 0.0011324991937726736, 0.007825586944818497, -0.0009980960749089718, 0.050107840448617935, -0.011623981408774853, -0.07158512622117996, 0.03005305677652359, 0.024108069017529488, -0.039461761713027954, 0.04089764133095741, 0.03638792037963867, 0.10489204525947571, -0.05873210355639458, -0.039879485964775085, 0.01461857557296753, 0.015323879197239876, -0.03478380665183067, -0.0006106041255407035, -0.011564045213162899, -0.06341278553009033, -0.028231821954250336, -0.024945080280303955, 0.046103496104478836, -0.0704297199845314, 0.0022624116390943527, 0.05422312393784523, -0.016234828159213066, 0.04459092766046524, -0.0215546153485775, 0.01906449906527996, -0.007681712042540312, -0.029325496405363083, -0.02829614095389843, 0.01325390487909317, 0.014963136054575443, -0.028201907873153687, -0.018389718607068062, -0.04541581869125366, -0.003262314712628722, 0.0642516240477562, 0.03141186013817787, -0.005984422750771046, -0.037553928792476654, 0.017398590222001076, 0.042046479880809784, 0.026510143652558327, -0.0036713620647788048, 0.03522832691669464, 0.05753180757164955, 0.03962860256433487, -0.017829665914177895, 0.057395365089178085, 0.013734300620853901, -0.0348517969250679, -0.04561426863074303, 0.0016421180916950107, 0.04349479824304581, 0.00019220846297685057, -0.013087795116007328, 0.025471216067671776, 0.015672758221626282, -0.03280239924788475, 0.004601703956723213, 0.03620729222893715, 0.0034513312857598066, 0.007668979000300169, 0.004843045026063919, -0.03407469019293785, -0.044283654540777206, 0.02604547142982483, -0.025361834093928337, 0.005676486063748598, -0.029489846900105476, -0.023000778630375862, 0.05083084478974342, 0.017667608335614204, 0.029582224786281586, 0.03279145807027817, -0.007761815097182989, 0.0950697585940361, -0.037525154650211334, 0.0030960924923419952, -0.026190444827079773, -0.020152540877461433, -0.025664152577519417, 0.03739546611905098, 0.024641769006848335, 0.0390806645154953, -0.037486620247364044, -0.045483071357011795, 0.021064048632979393, 0.07489221543073654, 0.03850680589675903, 0.027017679065465927, -0.034076303243637085, -0.013861759565770626, 0.053715724498033524, 0.023527545854449272, -0.046083077788352966, -0.029606956988573074, 0.011528486385941505, 0.023478873074054718, -0.030487192794680595, 0.005978085566312075, -0.008020185865461826, -0.0018869632622227073, -0.05505676567554474, -0.050339020788669586, 0.023473868146538734, 0.01991564966738224, -0.014708193950355053, 0.017100229859352112, -0.023070529103279114, -0.002006459515541792, 0.03187299519777298, 0.00811863411217928, 0.02562658302485943, -0.06399770081043243, 0.027411799877882004, 0.015125137753784657, 0.07826921343803406, -0.039298925548791885, 0.02509867213666439, -0.007272802758961916, 0.02872452326118946, 0.024180809035897255, -0.04644731804728508, 0.021820511668920517, 0.020029602572321892, 0.021532565355300903, -0.013301904313266277, 0.03480687737464905, 0.009350472129881382, 0.020757615566253662, 0.0942816287279129, 0.014197468757629395, 0.06935837864875793, -0.032269541174173355, 0.041786760091781616, 0.058825843036174774, 0.003454418620094657, -0.0033409851603209972, 0.047456152737140656, 0.05937908962368965, -0.014282611198723316, 0.009264841675758362, 0.054627858102321625, -0.025215525180101395, 0.01351583655923605, -0.0414261519908905, 0.00030762015376240015, -0.004217030480504036, -0.011087299324572086, 0.04378335922956467, 0.00650399224832654, -0.04102633520960808, 0.015677016228437424, -0.013241343200206757, 0.0029557591769844294, 0.053551968187093735, -0.00018025525787379593, -0.0012813241919502616, -0.005759643390774727, 0.008496598340570927, 0.04926811531186104, -0.045495398342609406, -0.05975034832954407, -0.001739342580549419, -0.01724487915635109, -0.007064801175147295, -0.0837630107998848, -0.035734206438064575, -0.06414966285228729, -0.022402239963412285, 0.06292219460010529, 0.014636644162237644, 0.0008018211810849607, -0.03903402015566826, 0.016369381919503212, -0.04776367172598839, -0.04771896079182625, -0.06021232530474663, -0.03917587921023369, -0.023019511252641678, -0.05531160533428192, 0.04774688929319382, 0.026424376294016838, 0.05346168950200081, 0.034667860716581345, -0.019531436264514923, -0.04090726375579834, -0.05700581893324852, 0.06420458853244781, 0.01859223283827305, -0.032693713903427124, -0.013968623243272305, 0.0065359692089259624, 0.007002686150372028, -0.02406429313123226, -0.001051172730512917, -0.05633547157049179, 0.09803745895624161, 0.06719927489757538, 0.024682261049747467, -0.001969567034393549, 0.01327800564467907, -0.026487061753869057, -0.02385486662387848, -0.0436895377933979, -0.025365617126226425, -0.004616430960595608, -0.04187712073326111, -0.03803538531064987, -0.03559315204620361, -0.05101659521460533, -0.016731377691030502, -0.018051913008093834, 0.009289099834859371, 0.03149932622909546, 0.06234337016940117, 0.02628323994576931, 0.014117776416242123, -0.011205915361642838, -0.02418695017695427, 0.08111565560102463, -0.004645078908652067, 0.002872249111533165, -0.05416421592235565, -0.03520505502820015, 0.0541040301322937, -0.008728155866265297, 0.005411772057414055, -0.028308656066656113, 0.04363509640097618, 0.00949801690876484, -0.00526464032009244, 0.028976453468203545, -0.04977686330676079, -0.0013348222710192204, -0.010897384956479073, -0.038458313792943954, -0.009840843267738819, -0.04304547980427742, 0.006673108320683241, -0.01726873777806759, 0.052818555384874344, -0.06581480801105499, -0.023397663608193398, -0.02643263339996338, 0.02141733281314373, 0.05034930631518364, 0.0018692226149141788, -0.04958246275782585, -0.007414689753204584, -0.06898654997348785, -0.019574886187911034, 0.007031161803752184, -0.003926355857402086, 0.010239599272608757, 0.03835912048816681, 0.015730908140540123, -0.0207943394780159, 0.04547961428761482, 0.03015349805355072, 0.03820037096738815, 0.046411123126745224, -0.025197919458150864, 0.022225381806492805, -0.01649998500943184, 0.025394130498170853, 0.02351568453013897, -0.03144781291484833, -0.030706046149134636, -0.09675177186727524, -0.009421143680810928, 0.016403667628765106, -0.031193235889077187, 0.01615414209663868, 0.0729510486125946, -0.027498995885252953, 0.007119056768715382, -0.012266629375517368, 0.020733583718538284, 0.029163172468543053, -0.011673889122903347, 0.019069423899054527, -0.004093511030077934, 0.019455764442682266, -0.031328216195106506, -0.008954587392508984, -0.0300064105540514, -0.02170458994805813, -0.01622956059873104, 0.038450464606285095, 0.02143213339149952, 0.02634844370186329, 0.04182424023747444, 0.018050553277134895, -0.027027258649468422, 0.082370325922966, 0.06958304345607758, -0.0204003918915987, -0.07031566649675369, 0.01860741153359413, 0.015563334338366985, -0.023938948288559914, -0.01529643964022398, -0.03860938176512718, 0.002628510817885399, 0.04227696731686592, -0.004851576406508684, 0.018580161035060883, -0.004995261784642935, -0.016381414607167244, -0.04416390508413315, -0.040498606860637665, 0.00932456273585558, 0.03606355935335159, -0.02839430794119835, 0.036092910915613174, 0.07430263608694077, 0.031005648896098137, 0.07302792370319366, 0.04279257729649544, -0.04737697169184685, -0.06209028139710426, 0.03983817622065544, 0.030134713277220726, -0.0410853736102581, -0.06183970347046852, -0.035743385553359985, 0.03971262276172638, 0.036329373717308044, 0.017167596146464348, -0.09714388847351074, 0.014514263719320297, 0.014416944235563278, -0.037013158202171326, 0.07685444504022598, 0.004745666403323412, 0.019245542585849762, 0.06230466440320015, -0.006114062387496233, 0.012779626064002514, -0.039807334542274475, 0.03721582517027855, -0.0033176960423588753, 0.03248390927910805, -0.03898710384964943, -0.05551154538989067, -0.02564724162220955, 0.028575211763381958, 0.02670508250594139, 0.03784554451704025, 0.03515646979212761, -0.0438133180141449, -0.08112061768770218, -0.0068565369583666325, 0.04987398907542229, -0.04481697827577591, 0.03316669538617134, 0.02192218415439129, 0.05498271435499191, -0.04413190111517906, 0.002847523894160986, -0.01472266111522913, 0.009699225425720215, 0.04499048739671707, -0.02885821834206581, -0.029055271297693253, -0.046846840530633926, 0.03434212878346443, -0.05008529871702194, -0.0232705008238554, -0.09829220920801163, 0.03266851231455803, -0.013245274312794209, -0.01308324933052063, 0.07273487746715546, 0.03744082897901535, 0.057337842881679535, 0.01989809237420559, -0.006132659036666155, 0.03620767593383789, -0.018956933170557022, 0.021195951849222183, -0.025930510833859444, -0.007890752516686916, 0.005146941170096397, -0.050387077033519745, -0.015507912263274193, -0.014154353179037571, -0.043905049562454224, -0.03654854744672775, 0.030353687703609467, 0.014981226995587349, 0.014831086620688438, 0.00016952972509898245, -0.00005893201523576863, 0.017569510266184807, -0.011636175215244293, -0.029177850112318993, -0.001729654031805694, -0.026737459003925323, -0.10713310539722443, -0.03956739977002144, 0.036347609013319016, -0.04622292518615723, 0.008922766894102097, -0.0010090916184708476, 0.021026140078902245, 0.05116613209247589, 0.00559915229678154, -0.020947545766830444, 0.00928929727524519, 0.012625555507838726, -0.031226934865117073, -0.01332906261086464, 0.020107479766011238, 0.03353969380259514, 0.029924284666776657, -0.023959452286362648, 0.015098226256668568, 0.011941011063754559, -0.03509657457470894, -0.011263206601142883, 0.011431952007114887, -0.0027576121501624584, -0.05343716964125633, -0.008299501612782478, -0.0394158661365509, -0.04945595934987068, 0.01274622231721878, -0.0183136984705925, -0.030995424836874008, -0.0005392668535932899, 0.04425126314163208, 0.026620885357260704, -0.003615821711719036, -0.03297524154186249, 0.013439453206956387, -0.028586000204086304, 0.010600545443594456, -0.07542877644300461, 0.009005875326693058, -0.005540949292480946, 0.008407939225435257, -0.03210202232003212, -0.004543430637568235, -0.03287898749113083, 0.049438703805208206, -0.0012264765100553632, -0.020556489005684853, -0.01325202826410532, 0.026265641674399376, -0.014913106337189674, 0.036588121205568314, 0.0181848406791687, 0.006021031644195318, 0.00419181864708662, 0.02664690650999546, -0.07312756776809692, 0.03566337376832962, -0.017793292179703712, -0.025822686031460762, -0.021451566368341446, -0.034432366490364075, -0.01641884073615074, -0.04372544214129448, 0.028978237882256508, 0.047004442662000656, 0.008868640288710594, 0.014510570093989372, 0.0007525056134909391, 0.0006665438995696604, 0.0293087437748909, -0.033898964524269104, -0.022082777693867683, -0.010529770515859127, -0.015645716339349747, 0.01205842848867178, 0.0776749849319458, 0.02295912615954876, -0.044209204614162445, -0.05470731109380722, 0.04096157103776932, 0.020035384222865105, 0.002772165462374687, 0.0021802966948598623, 0.03786680847406387, 0.05071229115128517, 0.04001888260245323, -0.04181579872965813, 0.01958693377673626, 0.016664914786815643, -0.000991191016510129, 0.0027808689046651125, -0.006618888583034277, 0.0042239404283463955, -0.009729444049298763, -0.02755296789109707, -0.008546979166567326, 0.09880630671977997, 0.021871419623494148, 0.01773802749812603, -0.01599431410431862, -0.05140742287039757, 0.04461090639233589, 0.03456506505608559, -0.04763874039053917, 0.013844658620655537, 0.03795699030160904, -0.0476449579000473, 0.06169956550002098, -0.01720615290105343, 0.02010147087275982, 0.02623852714896202, 0.036221668124198914, 0.0028559593483805656, 0.04112214967608452, -0.023144133388996124, -0.000458574912045151, 0.02639683522284031, -0.036086488515138626, 0.003142865840345621, -0.017421454191207886, 0.050343550741672516, -0.047109052538871765, 0.04879691079258919, 0.04479694366455078, 0.002070397138595581, 0.05138351023197174, -0.030987946316599846, -0.016954800114035606, 0.005898960866034031, -0.05809839442372322, 0.05556614696979523, 0.006820608861744404, -0.07562284916639328, 0.05082440748810768, 0.02806534245610237, -0.10655602812767029, 0.04572485759854317, 0.015992946922779083, 0.02583165466785431, 0.021929502487182617, 0.032914288341999054, -0.040630780160427094, 0.04705628380179405, -0.024320997297763824, 0.036129429936409, -0.051080554723739624, -0.016593273729085922, -0.002850570948794484, -0.039462860673666, -0.013828501105308533, 0.04197113960981369, -0.03421301767230034, -0.0028392206877470016, 0.005974372383207083, -0.05609294772148132, -0.06043965369462967, 0.026651909574866295, 0.038766950368881226, -0.016405783593654633, 0.02104942314326763, -0.04201558604836464, 0.032115183770656586, 0.052538782358169556, -0.011059734970331192, -0.04556860402226448, 0.03390983119606972, 0.009472944773733616, -0.06859458982944489, -0.043128613382577896, 0.04202425479888916, 0.019982844591140747, -0.032245490700006485, -0.0023620855063199997, 0.03798288479447365, 0.031698428094387054, 0.03754308447241783, -0.03164207935333252, 0.005526841152459383, -0.08218930661678314, 0.01486146543174982, 0.009781715460121632, 0.0037089711986482143, 0.010124334134161472, -0.03186444565653801, 0.02771456353366375, 0.041321612894535065, 0.058256376534700394, -0.012084907852113247, -0.03807445988059044, -0.01287921704351902, 0.04029669240117073, -0.05281003564596176, 0.034238189458847046, 0.017327481880784035, -0.04613548144698143, -0.0537053607404232, -0.0015515175182372332, 0.009820949286222458, 0.04547179862856865, -0.04046888276934624, 0.012060890905559063, 0.027002524584531784, 0.00882106926292181, -0.055177152156829834, -0.09850191324949265, -0.043853431940078735, -0.03436478599905968, 0.03673625737428665, 0.014337574131786823, -0.06547213345766068, -0.013704271987080574, -0.008410224691033363, -0.04390542954206467, 0.05098958685994148, -0.009100658819079399, -0.0226419847458601, 0.05292091146111488, 0.07553405314683914, -0.04194023460149765, 0.024409154430031776, 0.03497641906142235, -0.04700839892029762, 0.03665577620267868, 0.025280987843871117, 0.03452344983816147, 0.023164618760347366, 0.05411975458264351, -0.006605272646993399, -0.00358368968591094, -0.057615574449300766, -0.044478945434093475, -0.005664314609020948, -0.002502862364053726, 0.06408841907978058 ]
BigSalmon/GPT2HardandEasy
[ "pytorch", "tensorboard", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
2021-02-03T15:55:50Z
--- language: "fr" tags: - french - gpt2 - model --- A small french language model for french text generation (and possibly more NLP tasks...) **Introduction** This french gpt2 model is based on openai GPT-2 small model. It was trained on a <b>very small (190Mb) dataset </b> from french wikipedia using Transfer Learning and Fine-tuning techniques in just over a day, on one Colab pro with 1GPU 16GB. It was created applying the recept of <b>Pierre Guillou</b> See https://medium.com/@pierre_guillou/faster-than-training-from-scratch-fine-tuning-the-english-gpt-2-in-any-language-with-hugging-f2ec05c98787 It is a proof-of-concept that makes possible to get a language model in any language with low ressources. It was fine-tuned from the English pre-trained GPT-2 small using the Hugging Face libraries (Transformers and Tokenizers) wrapped into the fastai v2 Deep Learning framework. All the fine-tuning fastai v2 techniques were used. It is now available on Hugging Face. For further information or requests, please go to "Faster than training from scratch — Fine-tuning the English GPT-2 in any language with Hugging Face and fastai v2 (practical case with Portuguese)". Model migth be improved by using larger dataset under larger powerful training infrastructure. At least this one can be used for small finetuning experimentation (i.e with aitextgen). PS : I've lost the metrics but it speaks french with some minor grammar issues, coherence of text is somehow limited.
[ -0.002657538279891014, -0.017292570322752, 0.0012080612359568477, 0.04713937267661095, 0.01969038136303425, 0.01044480036944151, -0.018521128222346306, -0.017724331468343735, -0.0189969502389431, 0.04860025271773338, -0.013089532032608986, -0.0071358270943164825, -0.005381349008530378, 0.034525949507951736, -0.018941162154078484, -0.008973069489002228, -0.01480831578373909, -0.017890749499201775, -0.024539723992347717, -0.021156853064894676, -0.005920451134443283, 0.020635370165109634, -0.025973910465836525, 0.0008167226915247738, -0.0047297109849750996, 0.03277337923645973, -0.02233927883207798, 0.018814798444509506, 0.02519415318965912, -0.08000034093856812, 0.01103221531957388, -0.020443687215447426, -0.026685144752264023, -0.022946691140532494, -0.02539598010480404, -0.008819131180644035, -0.0063463966362178326, 0.005210932344198227, 0.029607689008116722, 0.054402273148298264, 0.0009647480328567326, -0.010378655046224594, -0.02384832687675953, -0.009051153436303139, 0.021941645070910454, 0.00302557903341949, -0.05157208815217018, -0.026044705882668495, 0.03319904953241348, -0.013590110465884209, -0.033629197627305984, -0.06557855755090714, -0.028897855430841446, 0.022768398746848106, 0.009156603366136551, -0.04495491459965706, -0.06466080248355865, 0.003755619516596198, 0.0753035768866539, -0.043730247765779495, -0.023266687989234924, 0.01308145560324192, -0.04294794797897339, 0.0255556870251894, 0.05199209228157997, -0.03696535900235176, 0.006024961359798908, -0.03611466661095619, 0.02849474735558033, -0.043257616460323334, 0.03321056813001633, -0.02813965454697609, 0.01972866617143154, -0.12132250517606735, -0.015666786581277847, 0.004500122275203466, 0.027433451265096664, 0.05057193711400032, -0.02601327933371067, 0.053249530494213104, 0.018976420164108276, -0.004796612076461315, 0.02474180981516838, 0.0061280131340026855, -0.03512588143348694, 0.051344528794288635, -0.041773103177547455, 0.00008178367716027424, 0.03011726774275303, 0.040238361805677414, -0.03954087570309639, -0.03728137165307999, -0.0115995854139328, -0.04709458351135254, 0.007311695255339146, 0.0414416640996933, 0.02808612771332264, -0.023023704066872597, 0.057125188410282135, 0.031702909618616104, -0.008489804342389107, 0.05978906527161598, -0.0049034482799470425, 0.04276224970817566, -0.0009169916738756001, -0.007580422796308994, -0.027821870520710945, -0.04104994237422943, -0.0428408719599247, 0.026804938912391663, 0.0285529475659132, -0.042328137904405594, -0.06219497695565224, 0.08331629633903503, -0.013054758310317993, -0.05096881464123726, 0.05095548555254936, -0.047957342118024826, -0.024864813312888145, -0.09069432318210602, 0.021534977480769157, 0.017439333721995354, -0.00012604540097527206, -0.002392661292105913, -0.08982234448194504, 0.037197913974523544, -0.021715257316827774, -0.0222945399582386, -0.017348524183034897, -0.000995705951936543, -0.027413472533226013, 0.02459406666457653, 0.0225285105407238, -0.057841088622808456, 0.008524419739842415, -0.0011859593214467168, -0.055411722511053085, 0.040032826364040375, 0.04952511191368103, 0.11514585465192795, -0.053965646773576736, -0.031200768426060677, 0.015208189375698566, 0.026109851896762848, -0.0329904705286026, -0.0007105694385245442, 0.02560853399336338, -0.056547634303569794, -0.029239675030112267, -0.002403843682259321, 0.05554802343249321, -0.055642422288656235, 0.00854717381298542, 0.0644761472940445, -0.018100164830684662, 0.026867074891924858, -0.05583994463086128, -0.004798721056431532, 0.01143878698348999, -0.015005189925432205, -0.02261444367468357, 0.005920701660215855, -0.002793042454868555, -0.017454182729125023, -0.06615323573350906, -0.05578625202178955, 0.009696472436189651, 0.06758803874254227, 0.004170833621174097, -0.007471022661775351, -0.03108512982726097, 0.039770953357219696, 0.044230882078409195, 0.0498952679336071, -0.011046028696000576, 0.03065544366836548, 0.04833902791142464, 0.022050119936466217, -0.0031917516607791185, 0.08302220702171326, 0.02485734224319458, -0.031418636441230774, -0.03883792459964752, -0.018012940883636475, -0.0027788232546299696, -0.048565253615379333, 0.021800845861434937, 0.033397749066352844, 0.014309228397905827, -0.02862587757408619, -0.007449598051607609, 0.05801810696721077, -0.015848517417907715, -0.01722727343440056, 0.0004704137973021716, -0.028868215158581734, -0.017949000000953674, 0.05705946311354637, -0.0210325438529253, 0.01737610623240471, -0.046809036284685135, -0.031627118587493896, 0.021400021389126778, 0.040051668882369995, 0.03373655304312706, 0.020985307171940804, -0.02242187410593033, 0.07638372480869293, -0.01505527924746275, 0.009284425526857376, -0.059329960495233536, -0.028343766927719116, -0.003990633878856897, 0.04739970341324806, 0.01520928367972374, 0.05939542129635811, -0.00040083989733830094, -0.05235956609249115, 0.028127150610089302, 0.08079231530427933, 0.0669310986995697, 0.02570916898548603, -0.027693383395671844, -0.003350843209773302, 0.039189692586660385, 0.050708185881376266, -0.04739535599946976, -0.03756135329604149, 0.013288449496030807, 0.02277730405330658, -0.01056001242250204, -0.005545732565224171, -0.01606699451804161, 0.02126014232635498, -0.024450980126857758, -0.062617227435112, 0.028376638889312744, 0.03421754762530327, 0.009542986750602722, 0.038567233830690384, -0.0057115997187793255, -0.0107378289103508, 0.021907996386289597, -0.015606353059411049, 0.0072088176384568214, -0.0667748749256134, 0.01911531575024128, 0.012589112855494022, 0.055956967175006866, -0.042874448001384735, 0.02435634471476078, 0.007242463994771242, 0.006463929079473019, 0.04286664351820946, -0.0209104735404253, 0.01927909068763256, 0.046397656202316284, 0.01289769820868969, -0.01818014495074749, 0.0017583207227289677, 0.001899092341773212, 0.06272153556346893, 0.06475239247083664, 0.0006998689495958388, 0.07229512929916382, 0.02887391857802868, 0.04548171907663345, 0.07432770729064941, 0.04180743172764778, 0.0005865836283192039, 0.024010516703128815, 0.050841882824897766, 0.009639398194849491, -0.010521029122173786, 0.05988309532403946, -0.034871481359004974, 0.016584472730755806, -0.03213013708591461, 0.00997455045580864, 0.013462684117257595, 0.006924055982381105, 0.03345576673746109, 0.015752429142594337, -0.00469870725646615, 0.02239082008600235, -0.01065974310040474, -0.03110573999583721, 0.039897456765174866, -0.018299344927072525, 0.0078555503860116, -0.00332858064211905, 0.014020820148289204, 0.020954957231879234, -0.04225626960396767, -0.05598783865571022, 0.011084171012043953, -0.03297359496355057, -0.010230463929474354, -0.07398279756307602, -0.02921595796942711, -0.06473329663276672, 0.01010832842439413, 0.026875415816903114, 0.04775175824761391, 0.019149569794535637, -0.040364477783441544, 0.01300034299492836, -0.0414971187710762, -0.021476054564118385, -0.05335067957639694, -0.03897442668676376, -0.025175563991069794, -0.051274362951517105, 0.047587305307388306, 0.035459063947200775, 0.048257067799568176, 0.019449811428785324, 0.014156617224216461, -0.019354714080691338, -0.01416151411831379, 0.05281039699912071, 0.042797937989234924, -0.03226085752248764, -0.03848464787006378, 0.005626704078167677, -0.008002796210348606, 0.0015667825937271118, -0.0249436367303133, -0.046975258737802505, 0.08439715951681137, 0.07530874758958817, 0.01608135737478733, 0.01589081436395645, -0.014821109361946583, -0.037068575620651245, -0.05487149581313133, -0.02729061245918274, -0.05742206797003746, -0.004345408640801907, -0.020770974457263947, -0.030020596459507942, -0.008725546300411224, -0.029598139226436615, 0.008149697445333004, 0.005201021209359169, 0.0005926256999373436, 0.008162503130733967, 0.0363580547273159, 0.023237762972712517, 0.028240632265806198, -0.03856774419546127, -0.0345354862511158, 0.07387203723192215, 0.0032862406224012375, 0.004674239549785852, -0.03944355994462967, -0.03596198186278343, 0.05374615266919136, 0.024632712826132774, -0.004068361129611731, -0.019435573369264603, 0.08271488547325134, 0.02651670202612877, 0.016418660059571266, -0.0029762566555291414, -0.030764050781726837, -0.031768910586833954, -0.0030630016699433327, 0.02342727594077587, -0.031956158578395844, -0.04987993463873863, -0.029966270551085472, 0.0042659686878323555, 0.03875131532549858, -0.06582725048065186, -0.046928323805332184, -0.030988849699497223, 0.034595876932144165, 0.02505558729171753, 0.00501515856012702, -0.038485098630189896, 0.010082048363983631, -0.056198954582214355, -0.02347361296415329, 0.0008911187178455293, -0.0020547567401081324, 0.03269413858652115, 0.048515159636735916, 0.031105874106287956, -0.03648633509874344, 0.01633724756538868, 0.027100682258605957, 0.08413039892911911, 0.023530390113592148, -0.020141376182436943, 0.04018467292189598, -0.017946815118193626, 0.018990136682987213, 0.0024864329025149345, -0.004464474506676197, -0.06279811263084412, -0.09137018769979477, -0.014076494611799717, -0.01580381952226162, -0.0015975779388099909, -0.013791038654744625, 0.07168225944042206, -0.019627947360277176, -0.001932937535457313, -0.006021499168127775, 0.00957540050148964, 0.03161914646625519, -0.07376016676425934, 0.05549044907093048, -0.0033263389486819506, 0.035957545042037964, -0.04505239054560661, 0.02325751632452011, -0.011553310789167881, -0.037745799869298935, -0.027633247897028923, 0.07069063186645508, 0.01583855412900448, 0.04879722371697426, 0.05077194422483444, 0.02098098397254944, -0.027823036536574364, 0.04301964491605759, 0.02445005066692829, 0.0038287199568003416, -0.057770632207393646, -0.020792018622159958, -0.0007113463943824172, -0.0343010239303112, -0.04157328978180885, -0.006748492363840342, 0.023456156253814697, 0.03403721749782562, -0.013147300109267235, -0.017296873033046722, 0.0003256554191466421, -0.031066829338669777, -0.040244296193122864, -0.055672239512205124, -0.008098483085632324, -0.012986811809241772, -0.021261876448988914, 0.02819601632654667, 0.029080547392368317, 0.010863495990633965, 0.05860891193151474, 0.06334880739450455, -0.013000707142055035, -0.07345124334096909, 0.020297946408391, 0.0324610136449337, -0.02777474746108055, -0.06802358478307724, -0.05153121054172516, 0.025819841772317886, 0.03850826621055603, -0.002174453577026725, -0.0755482017993927, 0.0006653236923739314, 0.04113549739122391, -0.03180307894945145, 0.04758362099528313, -0.01587444171309471, 0.03563480079174042, 0.05024182051420212, 0.008195918053388596, 0.006607298739254475, -0.016856724396348, 0.03036794438958168, 0.0024004040751606226, 0.02472320757806301, -0.03958277776837349, -0.02979363314807415, -0.06477680802345276, 0.023324331268668175, 0.017548011615872383, 0.03034350462257862, 0.025232553482055664, -0.0013852841220796108, -0.0658126026391983, 0.014963444322347641, 0.025050751864910126, -0.04303177818655968, 0.01383756659924984, 0.011576022021472454, 0.0628802701830864, -0.045201174914836884, -0.03166918084025383, -0.028401512652635574, 0.022896012291312218, 0.04338677600026131, 0.0023724636994302273, -0.0259814765304327, -0.04797980561852455, -0.010453790426254272, -0.05184004083275795, 0.005571266636252403, -0.09448280185461044, -0.01870013028383255, -0.00783961545675993, -0.019305624067783356, 0.02907557226717472, 0.035278208553791046, 0.05460815504193306, 0.0322590209543705, 0.0014852093299850821, 0.01197327021509409, -0.04402531683444977, 0.0363004170358181, -0.023463692516088486, -0.024782173335552216, 0.005973673425614834, -0.03944328427314758, -0.012423680163919926, -0.04849076271057129, -0.032555870711803436, -0.04671343043446541, -0.0221658106893301, 0.018424315378069878, -0.032240767031908035, 0.01611127145588398, -0.024869835004210472, 0.007377965375781059, -0.023877838626503944, -0.0050262282602488995, -0.012250615283846855, -0.026671212166547775, -0.07987768203020096, -0.062292151153087616, 0.024256281554698944, 0.0141805000603199, 0.028436103835701942, 0.016574108973145485, -0.001033409615047276, -0.0012666918337345123, 0.018828654661774635, -0.01944861374795437, 0.05384528264403343, 0.0006293138139881194, -0.026874946430325508, -0.03258071839809418, -0.006696364842355251, 0.01638564094901085, 0.040995579212903976, -0.015850933268666267, 0.04878462851047516, 0.0253952257335186, -0.02243666537106037, -0.005463420879095793, 0.005646585952490568, 0.015982164070010185, -0.06601431965827942, -0.03822176903486252, -0.04052188992500305, -0.04473590478301048, 0.035706039518117905, -0.009309325367212296, -0.01745709590613842, 0.028368106111884117, 0.01921020820736885, 0.0640023797750473, 0.0033266283571720123, -0.03701265901327133, 0.03021434135735035, -0.02415415085852146, -0.00031165144173428416, -0.06552097946405411, 0.041442856192588806, -0.05899801477789879, 0.01274028792977333, -0.011171966791152954, -0.0055545903742313385, -0.0354125052690506, 0.0352386049926281, -0.009924895130097866, -0.011617686599493027, -0.01780835911631584, 0.02068054862320423, -0.025227844715118408, 0.043447066098451614, -0.033005665987730026, 0.007956705056130886, -0.017212865874171257, 0.04054872691631317, -0.03776593878865242, -0.026172040030360222, -0.02448430471122265, -0.006346268579363823, -0.01828143373131752, -0.03733710199594498, -0.017239609733223915, -0.05320580303668976, 0.041485853493213654, 0.017084866762161255, 0.030937327072024345, 0.0003670928126666695, -0.028903719037771225, 0.020736170932650566, 0.02103087492287159, -0.06048637628555298, -0.009187114425003529, -0.008218882605433464, -0.00114475900772959, -0.020299697294831276, 0.06789472699165344, 0.049635276198387146, -0.042419254779815674, -0.05078688636422157, 0.05582182854413986, 0.014049269258975983, 0.011837240308523178, 0.00029759155586361885, 0.043602943420410156, 0.05332723259925842, 0.05385538563132286, -0.0509006567299366, -0.0029723341576755047, -0.01751735992729664, -0.04183463007211685, 0.029447000473737717, 0.003805184969678521, 0.015860410407185555, 0.01844511181116104, -0.0229201540350914, -0.030499430373311043, 0.07255486398935318, 0.026596182957291603, 0.001451667514629662, -0.008561097085475922, -0.03266998007893562, 0.018943460658192635, 0.01827811263501644, -0.04647956043481827, -0.007385857403278351, 0.0013342626625671983, -0.035993605852127075, 0.06331001222133636, -0.04925505444407463, 0.018748855218291283, 0.07483846694231033, 0.009247804991900921, -0.007121475879102945, 0.035396333783864975, -0.008657407015562057, 0.008208468556404114, 0.04055405408143997, -0.05694256350398064, -0.023847585543990135, -0.03183840960264206, 0.08590926975011826, -0.01437461469322443, 0.039770159870386124, 0.04756578430533409, 0.012536496855318546, 0.02594807930290699, -0.043830506503582, -0.02030867710709572, 0.002592043951153755, -0.03483719378709793, 0.09579112380743027, 0.016907548531889915, -0.06890897452831268, 0.06282939016819, 0.028085235506296158, -0.07831408828496933, 0.04794587939977646, 0.054058413952589035, 0.011835241690278053, 0.012129430659115314, 0.031073445454239845, -0.056138694286346436, 0.008581927977502346, -0.02805238589644432, 0.0329633392393589, -0.06235314533114433, -0.0059212795458734035, -0.005556854885071516, -0.07877273857593536, -0.010810092091560364, 0.02529987506568432, -0.025917142629623413, -0.014002091251313686, 0.021210985258221626, -0.046877410262823105, -0.05577382445335388, 0.01782490313053131, 0.005773717537522316, -0.03266134485602379, -0.008953032083809376, -0.05464890971779823, 0.0073746503330767155, 0.016766242682933807, -0.009418628178536892, -0.024369029328227043, 0.005529405549168587, 0.014496714808046818, -0.06997467577457428, -0.04581090435385704, 0.03893255442380905, 0.020171742886304855, -0.00817777682095766, 0.007303512655198574, -0.003928607329726219, 0.017135951668024063, 0.04647393897175789, -0.004152948502451181, 0.048100922256708145, -0.04335423558950424, -0.009026347659528255, 0.018138475716114044, 0.017528308555483818, 0.024016909301280975, -0.025969605892896652, 0.02513541840016842, 0.04416432976722717, 0.05161149427294731, 0.013826197944581509, -0.03986554592847824, -0.03389701992273331, 0.01458591129630804, -0.03666938468813896, 0.02082333154976368, 0.01218133419752121, -0.05722165107727051, -0.047867994755506516, -0.022370241582393646, -0.006975584663450718, 0.030713863670825958, -0.03578966483473778, -0.008965819142758846, 0.0463201180100441, -0.03215072304010391, -0.030604450032114983, -0.09135068207979202, -0.0006027271156199276, -0.03807954490184784, 0.034783754497766495, 0.039184700697660446, -0.07524424046278, 0.020865673199295998, -0.032735757529735565, -0.05123691260814667, 0.037633780390024185, -0.002019566483795643, -0.05937860906124115, 0.04984196275472641, 0.04302762448787689, -0.05794389173388481, 0.025221897289156914, 0.03240291029214859, -0.03171844780445099, 0.037371568381786346, 0.029452772811055183, 0.012424790300428867, 0.024833345785737038, 0.015151779167354107, -0.020731216296553612, -0.022754553705453873, -0.0706799179315567, -0.04651099443435669, -0.0350906178355217, 0.007641470059752464, 0.09235086292028427 ]
BigSalmon/GPTHeHe
[ "pytorch", "gpt2", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2022-02-02T22:07:13Z
--- language: - it license: apache-2.0 tags: - automatic-speech-recognition - generated_from_trainer - hf-asr-leaderboard - robust-speech-event datasets: - mozilla-foundation/common_voice_7_0 model-index: - name: XLS-R-1b - Italian results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 7 type: mozilla-foundation/common_voice_7_0 args: it metrics: - name: Test WER type: wer value: 32.74 - name: Test CER type: cer value: 7.83 - name: Test WER (+LM) type: wer value: 19.55 - name: Test CER (+LM) type: cer value: 5.59 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Dev Data type: speech-recognition-community-v2/dev_data args: it metrics: - name: Test WER type: wer value: 43.23 - name: Test CER type: cer value: 13.37 - name: Test WER (+LM) type: wer value: 27.51 - name: Test CER (+LM) 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: it metrics: - name: Test WER type: wer value: 51.12 --- <!-- 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. --> # wav2vec2-xls-r-1b-italian-robust This model is a fine-tuned version of [facebook/wav2vec2-xls-r-1b](https://huggingface.co/facebook/wav2vec2-xls-r-1b) on the Common Voice 7 & Libri Speech datasets. It achieves the following results on the evaluation set: - Loss: 0.2428 - Wer: 0.2960 ## 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: 32 - eval_batch_size: 16 - 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: 10.0 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:-----:|:---------------:|:------:| | No log | 0.07 | 400 | 1.0053 | 0.8058 | | 1.5087 | 0.13 | 800 | 0.9127 | 0.8104 | | 0.9552 | 0.2 | 1200 | 1.0360 | 0.8836 | | 0.9555 | 0.27 | 1600 | 0.9980 | 0.8577 | | 1.0259 | 0.34 | 2000 | 1.0103 | 0.8842 | | 1.0259 | 0.4 | 2400 | 0.9119 | 0.8466 | | 1.0365 | 0.47 | 2800 | 0.9000 | 0.8281 | | 1.0069 | 0.54 | 3200 | 0.7976 | 0.7875 | | 0.9688 | 0.61 | 3600 | 0.8126 | 0.8051 | | 0.9638 | 0.67 | 4000 | 0.7921 | 0.7903 | | 0.9638 | 0.74 | 4400 | 0.7703 | 0.7783 | | 0.9327 | 0.81 | 4800 | 0.7253 | 0.7463 | | 0.8992 | 0.88 | 5200 | 0.6841 | 0.7171 | | 0.8693 | 0.94 | 5600 | 0.6867 | 0.7250 | | 0.8433 | 1.01 | 6000 | 0.7077 | 0.7302 | | 0.8433 | 1.08 | 6400 | 0.6685 | 0.7091 | | 0.8499 | 1.14 | 6800 | 0.6355 | 0.6825 | | 0.8159 | 1.21 | 7200 | 0.6283 | 0.6800 | | 0.8001 | 1.28 | 7600 | 0.6288 | 0.6743 | | 0.7883 | 1.35 | 8000 | 0.5995 | 0.6633 | | 0.7883 | 1.41 | 8400 | 0.6195 | 0.6726 | | 0.7863 | 1.48 | 8800 | 0.6039 | 0.6588 | | 0.7713 | 1.55 | 9200 | 0.5842 | 0.6490 | | 0.7572 | 1.62 | 9600 | 0.5975 | 0.6533 | | 0.7442 | 1.68 | 10000 | 0.5508 | 0.6233 | | 0.7442 | 1.75 | 10400 | 0.5521 | 0.6209 | | 0.7296 | 1.82 | 10800 | 0.5760 | 0.6245 | | 0.7205 | 1.89 | 11200 | 0.5593 | 0.6144 | | 0.7106 | 1.95 | 11600 | 0.5672 | 0.6220 | | 0.7146 | 2.02 | 12000 | 0.5134 | 0.5911 | | 0.7146 | 2.09 | 12400 | 0.5069 | 0.5811 | | 0.6944 | 2.15 | 12800 | 0.5022 | 0.5962 | | 0.6817 | 2.22 | 13200 | 0.4989 | 0.5813 | | 0.6721 | 2.29 | 13600 | 0.4941 | 0.5742 | | 0.6774 | 2.36 | 14000 | 0.4775 | 0.5676 | | 0.6774 | 2.42 | 14400 | 0.4694 | 0.5525 | | 0.6621 | 2.49 | 14800 | 0.4720 | 0.5514 | | 0.6599 | 2.56 | 15200 | 0.4714 | 0.5553 | | 0.6591 | 2.63 | 15600 | 0.4578 | 0.5397 | | 0.645 | 2.69 | 16000 | 0.4619 | 0.5452 | | 0.645 | 2.76 | 16400 | 0.4578 | 0.5343 | | 0.6431 | 2.83 | 16800 | 0.4514 | 0.5328 | | 0.636 | 2.9 | 17200 | 0.4526 | 0.5325 | | 0.6433 | 2.96 | 17600 | 0.4561 | 0.5325 | | 0.6356 | 3.03 | 18000 | 0.4386 | 0.5191 | | 0.6356 | 3.1 | 18400 | 0.4291 | 0.5065 | | 0.6175 | 3.16 | 18800 | 0.4306 | 0.5170 | | 0.6187 | 3.23 | 19200 | 0.4256 | 0.5036 | | 0.607 | 3.3 | 19600 | 0.4198 | 0.5027 | | 0.6004 | 3.37 | 20000 | 0.4149 | 0.4906 | | 0.6004 | 3.43 | 20400 | 0.4114 | 0.4902 | | 0.6002 | 3.5 | 20800 | 0.4116 | 0.4967 | | 0.5926 | 3.57 | 21200 | 0.4066 | 0.4843 | | 0.5836 | 3.64 | 21600 | 0.3956 | 0.4791 | | 0.588 | 3.7 | 22000 | 0.3941 | 0.4729 | | 0.588 | 3.77 | 22400 | 0.3972 | 0.4799 | | 0.5739 | 3.84 | 22800 | 0.4018 | 0.4790 | | 0.5778 | 3.91 | 23200 | 0.3936 | 0.4750 | | 0.5768 | 3.97 | 23600 | 0.3936 | 0.4751 | | 0.5651 | 4.04 | 24000 | 0.3953 | 0.4706 | | 0.5651 | 4.11 | 24400 | 0.3906 | 0.4659 | | 0.5704 | 4.17 | 24800 | 0.3807 | 0.4557 | | 0.5594 | 4.24 | 25200 | 0.3817 | 0.4610 | | 0.5509 | 4.31 | 25600 | 0.3755 | 0.4553 | | 0.5439 | 4.38 | 26000 | 0.3705 | 0.4471 | | 0.5439 | 4.44 | 26400 | 0.3744 | 0.4487 | | 0.5426 | 4.51 | 26800 | 0.3716 | 0.4483 | | 0.5393 | 4.58 | 27200 | 0.3600 | 0.4356 | | 0.5408 | 4.65 | 27600 | 0.3573 | 0.4307 | | 0.5327 | 4.71 | 28000 | 0.3638 | 0.4382 | | 0.5327 | 4.78 | 28400 | 0.3587 | 0.4316 | | 0.5324 | 4.85 | 28800 | 0.3598 | 0.4290 | | 0.5378 | 4.91 | 29200 | 0.3508 | 0.4243 | | 0.5246 | 4.98 | 29600 | 0.3522 | 0.4260 | | 0.5284 | 5.05 | 30000 | 0.3520 | 0.4268 | | 0.5284 | 5.12 | 30400 | 0.3506 | 0.4224 | | 0.5154 | 5.18 | 30800 | 0.3556 | 0.4223 | | 0.5138 | 5.25 | 31200 | 0.3526 | 0.4276 | | 0.51 | 5.32 | 31600 | 0.3440 | 0.4220 | | 0.5065 | 5.39 | 32000 | 0.3367 | 0.4120 | | 0.5065 | 5.45 | 32400 | 0.3406 | 0.4136 | | 0.5087 | 5.52 | 32800 | 0.3370 | 0.4125 | | 0.503 | 5.59 | 33200 | 0.3387 | 0.4134 | | 0.5085 | 5.66 | 33600 | 0.3346 | 0.4068 | | 0.5044 | 5.72 | 34000 | 0.3325 | 0.4057 | | 0.5044 | 5.79 | 34400 | 0.3304 | 0.4026 | | 0.4879 | 5.86 | 34800 | 0.3274 | 0.4002 | | 0.4924 | 5.92 | 35200 | 0.3286 | 0.3980 | | 0.4991 | 5.99 | 35600 | 0.3231 | 0.3952 | | 0.487 | 6.06 | 36000 | 0.3324 | 0.4005 | | 0.487 | 6.13 | 36400 | 0.3264 | 0.3952 | | 0.4754 | 6.19 | 36800 | 0.3234 | 0.3905 | | 0.4683 | 6.26 | 37200 | 0.3149 | 0.3840 | | 0.4653 | 6.33 | 37600 | 0.3122 | 0.3824 | | 0.4667 | 6.4 | 38000 | 0.3151 | 0.3855 | | 0.4667 | 6.46 | 38400 | 0.3217 | 0.3859 | | 0.4628 | 6.53 | 38800 | 0.3085 | 0.3831 | | 0.4644 | 6.6 | 39200 | 0.3121 | 0.3791 | | 0.4612 | 6.67 | 39600 | 0.3093 | 0.3790 | | 0.4552 | 6.73 | 40000 | 0.3087 | 0.3749 | | 0.4552 | 6.8 | 40400 | 0.3027 | 0.3679 | | 0.4544 | 6.87 | 40800 | 0.3048 | 0.3672 | | 0.4507 | 6.93 | 41200 | 0.2963 | 0.3614 | | 0.4489 | 7.0 | 41600 | 0.3086 | 0.3718 | | 0.4367 | 7.07 | 42000 | 0.3100 | 0.3754 | | 0.4367 | 7.14 | 42400 | 0.3057 | 0.3701 | | 0.4376 | 7.2 | 42800 | 0.2930 | 0.3614 | | 0.428 | 7.27 | 43200 | 0.2907 | 0.3516 | | 0.4241 | 7.34 | 43600 | 0.2916 | 0.3590 | | 0.4312 | 7.41 | 44000 | 0.2904 | 0.3523 | | 0.4312 | 7.47 | 44400 | 0.2908 | 0.3476 | | 0.4292 | 7.54 | 44800 | 0.2858 | 0.3467 | | 0.426 | 7.61 | 45200 | 0.2864 | 0.3484 | | 0.4225 | 7.68 | 45600 | 0.2820 | 0.3441 | | 0.422 | 7.74 | 46000 | 0.2834 | 0.3441 | | 0.422 | 7.81 | 46400 | 0.2784 | 0.3420 | | 0.4158 | 7.88 | 46800 | 0.2814 | 0.3390 | | 0.4139 | 7.94 | 47200 | 0.2777 | 0.3384 | | 0.4076 | 8.01 | 47600 | 0.2741 | 0.3381 | | 0.3997 | 8.08 | 48000 | 0.2738 | 0.3320 | | 0.3997 | 8.15 | 48400 | 0.2720 | 0.3303 | | 0.4009 | 8.21 | 48800 | 0.2705 | 0.3357 | | 0.3928 | 8.28 | 49200 | 0.2708 | 0.3265 | | 0.3923 | 8.35 | 49600 | 0.2678 | 0.3283 | | 0.3897 | 8.42 | 50000 | 0.2649 | 0.3241 | | 0.3897 | 8.48 | 50400 | 0.2640 | 0.3218 | | 0.3879 | 8.55 | 50800 | 0.2616 | 0.3197 | | 0.3805 | 8.62 | 51200 | 0.2599 | 0.3170 | | 0.3874 | 8.69 | 51600 | 0.2592 | 0.3168 | | 0.3799 | 8.75 | 52000 | 0.2589 | 0.3157 | | 0.3799 | 8.82 | 52400 | 0.2566 | 0.3137 | | 0.3834 | 8.89 | 52800 | 0.2552 | 0.3141 | | 0.3811 | 8.95 | 53200 | 0.2523 | 0.3108 | | 0.3821 | 9.02 | 53600 | 0.2539 | 0.3112 | | 0.3636 | 9.09 | 54000 | 0.2529 | 0.3070 | | 0.3636 | 9.16 | 54400 | 0.2500 | 0.3078 | | 0.3706 | 9.22 | 54800 | 0.2510 | 0.3067 | | 0.367 | 9.29 | 55200 | 0.2497 | 0.3069 | | 0.3618 | 9.36 | 55600 | 0.2493 | 0.3043 | | 0.3624 | 9.43 | 56000 | 0.2491 | 0.3040 | | 0.3624 | 9.49 | 56400 | 0.2466 | 0.3016 | | 0.3557 | 9.56 | 56800 | 0.2460 | 0.3014 | | 0.3536 | 9.63 | 57200 | 0.2470 | 0.2997 | | 0.3584 | 9.7 | 57600 | 0.2441 | 0.2989 | | 0.3563 | 9.76 | 58000 | 0.2442 | 0.2970 | | 0.3563 | 9.83 | 58400 | 0.2436 | 0.2966 | | 0.3492 | 9.9 | 58800 | 0.2431 | 0.2967 | | 0.3483 | 9.96 | 59200 | 0.2428 | 0.2960 | ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.010494990274310112, -0.016850251704454422, -0.01718650572001934, 0.03079700842499733, 0.05220559611916542, 0.01566632278263569, 0.002711570356041193, -0.006356039550155401, -0.0479697585105896, 0.0584251694381237, 0.03387231379747391, -0.03266332671046257, 0.005330520682036877, 0.011654291301965714, -0.04199351370334625, -0.05438194051384926, -0.02609788440167904, -0.007088757120072842, -0.06729158759117126, -0.017985278740525246, 0.019864648580551147, 0.01035951729863882, -0.021777058020234108, 0.02621481753885746, -0.014596308581531048, -0.003323156153783202, -0.01605236902832985, 0.006950500886887312, 0.010509755462408066, -0.06349081546068192, -0.02015659771859646, -0.03687035292387009, -0.03594428673386574, -0.0394178181886673, -0.007254414260387421, -0.00265070260502398, -0.0006738851079717278, 0.02128463424742222, 0.02887658402323723, 0.05450642108917236, 0.0046462188474833965, 0.02146335318684578, -0.027987658977508545, -0.01284449826925993, 0.03525032103061676, 0.0004109967849217355, -0.044203389436006546, -0.015923015773296356, 0.021404238417744637, -0.043591685593128204, -0.05288510024547577, -0.06133361905813217, 0.00484341150149703, 0.026964953169226646, -0.025151461362838745, -0.028048185631632805, -0.0749349594116211, 0.008994304575026035, 0.08432009071111679, -0.054412875324487686, -0.02202305570244789, 0.014438936486840248, -0.06979736685752869, 0.0022691376507282257, 0.028726056218147278, -0.06699763238430023, 0.0076095908880233765, -0.03667926415801048, 0.0379776768386364, -0.008386019617319107, 0.04825955629348755, -0.046031806617975235, 0.013738670386373997, -0.08663192391395569, -0.009654388763010502, -0.02228584699332714, 0.03325871378183365, 0.04668546840548515, -0.039766907691955566, 0.03591329604387283, 0.03789054602384567, 0.0036659224424511194, 0.047839194536209106, -0.023245764896273613, 0.007559492718428373, 0.040741197764873505, -0.043227311223745346, 0.019908541813492775, 0.024755867198109627, 0.006061286199837923, -0.016224410384893417, -0.03396967425942421, -0.026886606588959694, -0.04333539307117462, 0.011386397294700146, 0.028448669239878654, 0.05168842896819115, -0.016403505578637123, 0.0401567742228508, 0.018840499222278595, 0.023669861257076263, 0.02368563786149025, -0.02319968305528164, 0.07368467003107071, -0.009515914134681225, -0.004673446994274855, -0.019033869728446007, -0.019543414935469627, -0.03470516577363014, 0.015016503632068634, 0.024288306012749672, -0.029448261484503746, -0.04362527281045914, 0.03606986254453659, -0.008102058432996273, -0.03762352094054222, 0.051630161702632904, -0.04121294245123863, -0.031629741191864014, -0.06423992663621902, 0.031953129917383194, 0.028998034074902534, 0.02098800800740719, 0.03634030371904373, -0.043010495603084564, 0.021474774926900864, -0.0238349512219429, -0.04210865497589111, 0.02795054018497467, -0.004819141700863838, -0.020617632195353508, 0.04813515394926071, 0.021810827776789665, -0.0756322517991066, -0.0008457692456431687, -0.02007192373275757, -0.05519476532936096, 0.0203161109238863, 0.006505356170237064, 0.08940664678812027, -0.04237499460577965, -0.03895298391580582, 0.019696224480867386, 0.01528489775955677, -0.024817151948809624, 0.02508280612528324, 0.023234855383634567, -0.04654894024133682, -0.004159094300121069, 0.004502794239670038, 0.03882621228694916, -0.057726308703422546, -0.003162877168506384, 0.07866524159908295, -0.017321567982435226, 0.03674125298857689, -0.029632704332470894, -0.02200756035745144, 0.023050280287861824, -0.023158639669418335, 0.012764420360326767, 0.020111961290240288, -0.008720704354345798, -0.024478524923324585, -0.04252464324235916, -0.0458236038684845, 0.01125540304929018, 0.06573781371116638, -0.004697343334555626, -0.017233410850167274, -0.046495892107486725, 0.022769922390580177, 0.04264497011899948, 0.00666531128808856, -0.029132012277841568, 0.05920979008078575, 0.050228364765644073, 0.04997082054615021, -0.02271665818989277, 0.07054676115512848, 0.009954975917935371, -0.030113477259874344, -0.06820439547300339, 0.0277353934943676, 0.02644515596330166, -0.04507996886968613, 0.004859913606196642, 0.037924278527498245, -0.0033407865557819605, -0.029618363827466965, -0.04469337686896324, 0.06591703742742538, -0.01038107555359602, -0.012307942844927311, 0.012974418699741364, -0.01721038483083248, -0.040840718895196915, 0.04272255674004555, -0.01123243197798729, -0.0016513210721313953, -0.012077994644641876, -0.0450858399271965, 0.012454129755496979, 0.028294479474425316, 0.023651275783777237, 0.0655689612030983, 0.015301123261451721, 0.08628998696804047, -0.019405346363782883, 0.022663947194814682, -0.022421693429350853, -0.0730142816901207, -0.0016435673460364342, 0.08486480265855789, 0.02146284654736519, 0.08038175106048584, -0.007539236918091774, -0.03696272149682045, 0.023437893018126488, 0.06258479505777359, 0.0630006194114685, -0.0034054340794682503, -0.03303973749279976, -0.016792986541986465, 0.03818430006504059, 0.045274168252944946, -0.05843547359108925, -0.04881726950407028, 0.011122948490083218, 0.013265042565762997, -0.026799261569976807, 0.0036062183789908886, 0.0003062858013436198, 0.06773588806390762, -0.06344336271286011, -0.06401782482862473, 0.05433173477649689, 0.018319517374038696, 0.011495294980704784, 0.026117462664842606, -0.0049219271168112755, 0.00013835115532856435, 0.015998540446162224, 0.017843859270215034, 0.0015474016545340419, -0.030736828222870827, 0.02835090644657612, 0.015263209119439125, 0.06252651661634445, -0.052016086876392365, 0.027450500056147575, -0.039211470633745193, 0.011120708659291267, 0.04725769907236099, -0.05736984685063362, 0.031328458338975906, 0.013318294659256935, 0.02608616091310978, -0.06923840194940567, -0.012765237130224705, 0.012742147780954838, 0.02806621417403221, 0.03170815855264664, 0.007094660773873329, 0.06537461280822754, 0.027749480679631233, 0.05432631075382233, 0.09405048191547394, 0.025678137317299843, -0.008027550764381886, 0.02161242999136448, 0.07344070822000504, -0.003704661037772894, -0.021453604102134705, 0.0703430101275444, -0.052006009966135025, 0.014965414069592953, -0.04662124067544937, 0.0068966662511229515, 0.0025716908276081085, 0.013005068525671959, 0.02138279378414154, 0.005922232288867235, -0.010461734607815742, -0.011379402130842209, -0.0204528346657753, -0.02851579710841179, 0.04504463076591492, -0.03656546026468277, -0.010634290985763073, -0.003186733927577734, 0.003843165235593915, -0.004317943938076496, -0.06536083668470383, -0.03053063526749611, -0.009637165814638138, -0.0322791151702404, -0.0007250845083035529, -0.0736989974975586, -0.02047116495668888, -0.06560821086168289, -0.004368099384009838, 0.007087949197739363, 0.025785047560930252, 0.00008625094778835773, -0.04055393114686012, 0.0108106080442667, -0.049878884106874466, -0.046604570001363754, -0.037554025650024414, -0.03380899503827095, -0.04808874428272247, -0.05948583409190178, 0.02300471067428589, 0.03637498617172241, 0.03778161108493805, 0.0014362673973664641, -0.001528737135231495, -0.016649549826979637, -0.0135115385055542, 0.06413156539201736, 0.05597633868455887, -0.0418400913476944, -0.03805052861571312, 0.03639218211174011, -0.037602756172418594, 0.020131418481469154, 0.0015837850514799356, -0.037385158240795135, 0.0712302103638649, 0.06596697121858597, 0.014313898980617523, 0.010493045672774315, -0.027182385325431824, -0.05459819734096527, -0.045401982963085175, -0.01856096275150776, -0.02960096299648285, -0.015096443705260754, -0.03622075542807579, -0.018299126997590065, -0.022741597145795822, -0.030442899093031883, 0.0032702123280614614, -0.015393560752272606, 0.010944566689431667, 0.04802219197154045, 0.027052221819758415, 0.017667381092905998, 0.02854262664914131, -0.04825460538268089, -0.03665781393647194, 0.07878121733665466, 0.02171122096478939, 0.006019118241965771, -0.08632244169712067, -0.02279997617006302, 0.013533461838960648, 0.003471369855105877, -0.019104264676570892, -0.01313507929444313, 0.08795116096735, 0.0058615305460989475, -0.0076241809874773026, -0.014596165157854557, -0.020904604345560074, -0.023251036182045937, -0.02567005343735218, -0.00632869778200984, -0.008974945172667503, -0.05150458961725235, 0.005368726793676615, 0.02662874199450016, 0.04526336491107941, -0.07324033975601196, -0.051011621952056885, -0.01995619386434555, 0.05077367275953293, 0.0014153061201795936, 0.019401036202907562, -0.04364332556724548, 0.017742380499839783, -0.05110609531402588, -0.02626093663275242, 0.018857251852750778, 0.017011741176247597, 0.0018940083682537079, 0.05554261431097984, 0.02502719685435295, -0.03423072025179863, 0.04411659017205238, 0.04241923987865448, 0.06563141196966171, 0.021700013428926468, -0.0416446328163147, 0.01482192613184452, -0.01244167611002922, 0.024410579353570938, -0.00008523558790329844, -0.02420109510421753, -0.035017065703868866, -0.09565269947052002, -0.0018401865381747484, 0.026869021356105804, 0.002657877281308174, -0.02153938263654709, 0.024961082264780998, -0.016496624797582626, 0.007021426688879728, 0.0009068165672942996, 0.030101798474788666, 0.03632175177335739, -0.059271834790706635, 0.0586526095867157, -0.009092804975807667, 0.0501253567636013, -0.08268384635448456, 0.024175385013222694, -0.01193950604647398, -0.03010394051671028, 0.005885600112378597, 0.062230534851551056, -0.02110639028251171, 0.05267255753278732, 0.08887031674385071, 0.030739007517695427, -0.046258896589279175, 0.047915831208229065, 0.04087119922041893, -0.03694159910082817, -0.04587819427251816, 0.003567396430298686, -0.005638216622173786, -0.03462463617324829, -0.011566191911697388, -0.02293585054576397, 0.025812463834881783, 0.010972672142088413, -0.010162651538848877, 0.0011888209264725447, 0.011692807078361511, -0.02815437503159046, -0.020086651667952538, -0.034785833209753036, -0.04435554891824722, 0.006294654682278633, -0.012939941138029099, 0.03284741938114166, 0.029964083805680275, -0.0016852959524840117, 0.03945845365524292, 0.03747167810797691, -0.04933841526508331, -0.020053425803780556, 0.025189008563756943, 0.016361236572265625, -0.03874480351805687, -0.05609869211912155, -0.008978407829999924, 0.05117073655128479, 0.014616088941693306, -0.0009440744179300964, -0.07927104085683823, 0.0008438556105829775, 0.04765048995614052, -0.02426249347627163, 0.03268875926733017, -0.018768293783068657, 0.043782033026218414, 0.048866450786590576, -0.033430617302656174, 0.028766389936208725, -0.035518862307071686, 0.014961197972297668, -0.008907205425202847, -0.0006712452741339803, -0.006304340902715921, -0.03298376500606537, -0.07174167782068253, 0.032807547599077225, 0.04323042184114456, 0.0510556623339653, 0.05922176316380501, -0.01474298071116209, -0.03930291533470154, -0.008472622372210026, 0.029884057119488716, -0.052307065576314926, 0.013225666247308254, 0.017518360167741776, 0.03956308588385582, -0.02606351673603058, -0.03127870708703995, -0.018250059336423874, -0.0021479555871337652, 0.02293950319290161, 0.009539388120174408, -0.03585248067975044, -0.027868175879120827, 0.026203451678156853, -0.010651983320713043, -0.048139914870262146, -0.08724861592054367, 0.0465056411921978, -0.006732645444571972, -0.015619517304003239, 0.04498184472322464, 0.01963573507964611, 0.02575642243027687, 0.052543673664331436, 0.028699494898319244, 0.013586840592324734, -0.039187975227832794, 0.03721024841070175, -0.0251876600086689, 0.0022481847554445267, -0.02637949399650097, -0.026583287864923477, -0.010554843582212925, -0.024170788004994392, -0.042396750301122665, -0.03250984847545624, -0.006496807560324669, 0.044323213398456573, -0.011292431503534317, -0.021385984495282173, -0.03715794160962105, 0.04516400024294853, -0.021526744589209557, -0.04170434921979904, -0.047027260065078735, -0.02311893180012703, -0.058817312121391296, -0.05748186260461807, 0.040003981441259384, 0.0007751205703243613, 0.02703992836177349, 0.014646935276687145, 0.031011389568448067, 0.040839843451976776, 0.0021997946314513683, -0.01822368986904621, 0.02629472315311432, -0.0163455568253994, -0.04266372695565224, -0.05172376334667206, 0.03629327937960625, 0.0067773922346532345, 0.040672097355127335, -0.030070321634411812, 0.005251913331449032, 0.03192140534520149, -0.04688693583011627, -0.012929878197610378, 0.012151206843554974, 0.03654950112104416, -0.0633649006485939, -0.035353146493434906, 0.004495142959058285, -0.04513079673051834, 0.029133761301636696, -0.015462198294699192, -0.0035342557821422815, -0.011904682032763958, 0.003925465513020754, 0.04158556088805199, -0.006840944290161133, -0.02864355966448784, 0.014171229675412178, -0.021761715412139893, 0.010556255467236042, -0.05485724285244942, 0.05789262056350708, -0.02359866537153721, -0.003033736487850547, -0.01179091539233923, 0.015251142904162407, -0.04180745780467987, 0.027670763432979584, -0.010352090932428837, -0.0224100723862648, 0.02995287999510765, 0.019517559558153152, -0.0018559697782620788, 0.015836302191019058, -0.021110545843839645, 0.027703681960701942, -0.0374792218208313, 0.07080552726984024, -0.026288095861673355, -0.00597520312294364, -0.02479238063097, -0.005187108647078276, -0.02990281581878662, 0.02484556846320629, -0.025461317971348763, -0.05419211462140083, 0.034956175833940506, 0.05981754511594772, 0.0416768342256546, 0.027652470394968987, -0.04248030483722687, 0.009098052978515625, 0.0011915030190721154, -0.025538461282849312, -0.00880579836666584, -0.0018607686506584287, 0.010515773668885231, 0.010305625386536121, 0.03648855909705162, 0.0423274002969265, -0.07169464230537415, -0.06054411083459854, 0.019535794854164124, -0.004721870645880699, 0.001306896097958088, 0.015444767661392689, 0.02126857452094555, 0.03986623138189316, 0.0541018508374691, -0.03066823072731495, 0.00513719767332077, -0.03235596790909767, -0.03556329756975174, 0.02389240451157093, -0.0018438318511471152, 0.017007865011692047, 0.0053456793539226055, -0.019243720918893814, -0.015926655381917953, 0.04669535532593727, 0.007984462194144726, 0.014626489952206612, -0.029806865379214287, -0.046566057950258255, 0.011809107847511768, -0.019181130453944206, -0.06395286321640015, 0.02775433473289013, -0.0035318194422870874, -0.02638731151819229, 0.05452204495668411, -0.01280847005546093, 0.01903117448091507, 0.05323297530412674, 0.02901574783027172, -0.01410183496773243, 0.029407842084765434, -0.009962507523596287, -0.0017253493424504995, 0.05192554369568825, -0.07172733545303345, -0.010309500619769096, -0.03628601133823395, 0.07644142210483551, -0.08160936832427979, 0.028199439868330956, 0.05118033289909363, 0.029596364125609398, 0.03744880482554436, -0.036456942558288574, -0.059015706181526184, 0.0345945730805397, -0.05013955011963844, 0.09130718559026718, 0.01747993938624859, -0.049554210156202316, 0.06392089277505875, 0.018188510090112686, -0.07967686653137207, 0.034100718796253204, 0.03261185437440872, 0.04631315916776657, 0.032545305788517, 0.04481464996933937, -0.0426727794110775, 0.011252745985984802, -0.03736555948853493, 0.030109072104096413, -0.05103753134608269, -0.008271655067801476, 0.032846976071596146, -0.034929003566503525, -0.017819415777921677, 0.03149460256099701, -0.005720013752579689, -0.03393486887216568, 0.04030286520719528, -0.046028923243284225, -0.03165283799171448, 0.018619313836097717, 0.010025589726865292, -0.04558634012937546, 0.013583274558186531, -0.020282741636037827, 0.03585856407880783, 0.02437140792608261, -0.001119903172366321, -0.02563530206680298, -0.025153212249279022, 0.013888631016016006, -0.06051180139183998, -0.06999637186527252, 0.04851178452372551, 0.00385291944257915, -0.025496380403637886, 0.03271543234586716, 0.006289327051490545, 0.01277104765176773, 0.02562541887164116, -0.009909084066748619, 0.005099805071949959, -0.07753656804561615, -0.022108396515250206, -0.008458800613880157, 0.01787998527288437, 0.015258600935339928, -0.0025277177337557077, 0.04847249388694763, 0.025797400623559952, 0.018288645893335342, 0.012627935968339443, -0.02853590063750744, -0.034110091626644135, 0.03064839541912079, -0.02958073653280735, 0.015902962535619736, 0.012696143239736557, -0.07337068766355515, -0.027427999302744865, -0.024089697748422623, 0.001354081672616303, 0.011942693032324314, -0.06035534664988518, -0.010193637572228909, 0.011910614557564259, -0.02840791456401348, -0.03908943012356758, -0.08424046635627747, -0.03626539930701256, -0.045807741582393646, 0.010126405395567417, 0.02561245486140251, -0.05627089738845825, 0.024768583476543427, -0.04983678460121155, -0.06307604163885117, 0.030845846980810165, -0.003498668083921075, -0.024339547380805016, 0.031036479398608208, 0.046767909079790115, -0.059112995862960815, 0.03410719707608223, 0.06054879352450371, -0.02098686434328556, 0.012658466584980488, 0.030998848378658295, -0.00042659626342356205, 0.04925759881734848, -0.00039100332651287317, -0.03655969724059105, -0.023435400798916817, -0.07196051627397537, -0.05327221006155014, -0.024825643748044968, -0.006856786087155342, 0.035596832633018494 ]
BigSalmon/GPTNeo350MInformalToFormalLincoln4
[ "pytorch", "gpt_neo", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
null
# roberta-go --- language: Go datasets: - code_search_net --- This is a [roberta](https://arxiv.org/pdf/1907.11692.pdf) pre-trained version on the [CodeSearchNet dataset](https://github.com/github/CodeSearchNet) for **Golang** Mask Language Model mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline tokenizer = AutoTokenizer.from_pretrained("dbernsohn/roberta-go") model = AutoModelWithLMHead.from_pretrained("dbernsohn/roberta-go") fill_mask = pipeline( "fill-mask", model=model, tokenizer=tokenizer ) ``` You can then use this model to fill masked words in a Java code. ```python code = """ package main import ( "fmt" "runtime" ) func main() { fmt.Print("Go runs on ") switch os := runtime.<mask>; os { case "darwin": fmt.Println("OS X.") case "linux": fmt.Println("Linux.") default: // freebsd, openbsd, // plan9, windows... fmt.Printf("%s.\n", os) } } """.lstrip() pred = {x["token_str"].replace("Ġ", ""): x["score"] for x in fill_mask(code)} sorted(pred.items(), key=lambda kv: kv[1], reverse=True) [('GOOS', 0.11810332536697388), ('FileInfo', 0.04276798665523529), ('Stdout', 0.03572738170623779), ('Getenv', 0.025064032524824142), ('FileMode', 0.01462600938975811)] ``` The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/CodeMLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.017037242650985718, -0.02456587366759777, 0.0025669578462839127, 0.051279302686452866, 0.052979759871959686, 0.04209392890334129, -0.00695345364511013, -0.0038444928359240294, -0.02738768979907036, 0.06245747208595276, 0.0007066801772452891, 0.008998879231512547, 0.013044752180576324, 0.037510547786951065, -0.03574363887310028, -0.02277974784374237, -0.014546246267855167, -0.020574219524860382, -0.04908348619937897, -0.01936808042228222, 0.03148956596851349, -0.011661810800433159, 0.0015148662496358156, 0.018139658495783806, -0.010031482204794884, 0.008873725309967995, 0.011113579384982586, 0.008035095408558846, 0.05021180957555771, -0.07533945143222809, -0.03183183819055557, -0.021353481337428093, -0.02837061509490013, 0.006113265175372362, -0.04639483615756035, -0.017072489485144615, 0.018259940668940544, 0.018505683168768883, 0.01905827969312668, 0.06810426712036133, -0.0011234316043555737, -0.010227319784462452, -0.0026057162322103977, -0.031186256557703018, 0.040321361273527145, -0.009167862124741077, -0.03948476165533066, 0.01784515380859375, 0.02939821593463421, -0.011661290191113949, -0.05755477771162987, -0.08120480924844742, -0.029487989842891693, 0.025337379425764084, -0.03789956867694855, -0.015299918130040169, -0.05993242561817169, 0.001038776128552854, 0.05162921920418739, -0.07013969123363495, -0.051607437431812286, -0.0021561041940003633, -0.061737310141325, 0.03424983471632004, 0.02063750848174095, -0.02163609117269516, 0.010128538124263287, -0.03997070714831352, 0.009947878308594227, -0.005451047793030739, 0.03626593202352524, -0.06529103219509125, -0.0006851971847936511, -0.11203762888908386, 0.021303316578269005, -0.024293556809425354, 0.04097790643572807, 0.026104165241122246, -0.03145274892449379, 0.07100054621696472, 0.006666950415819883, 0.0005601148004643619, 0.01656435988843441, -0.02009136602282524, -0.015106840059161186, 0.0589149072766304, -0.0327865406870842, -0.00043280606041662395, -0.011649858206510544, 0.06352608650922775, -0.02455759607255459, -0.03956356272101402, -0.03496169298887253, -0.021090274676680565, -0.030298614874482155, 0.026052577421069145, 0.04097402095794678, -0.011029070243239403, 0.05267605558037758, 0.0011997383553534746, 0.016227267682552338, 0.04849030822515488, 0.005142968613654375, 0.06706146895885468, 0.006984964478760958, 0.008779308758676052, -0.015438582748174667, -0.04061029106378555, -0.04953000321984291, 0.034220900386571884, 0.03948816657066345, -0.020330557599663734, -0.043595947325229645, 0.04685448110103607, 0.020235588774085045, -0.009005478583276272, 0.043168988078832626, -0.018135778605937958, -0.05864899232983589, -0.0463838204741478, 0.08135707676410675, 0.01514231227338314, -0.024784699082374573, 0.041997235268354416, -0.040761593729257584, 0.031120212748646736, -0.05171741545200348, -0.013008748181164265, 0.010093027725815773, 0.03521841764450073, -0.01778080314397812, 0.021219933405518532, 0.031350940465927124, -0.056715983897447586, 0.017867092043161392, -0.004445263184607029, -0.07515592128038406, 0.02567344531416893, 0.02373221330344677, 0.1150626540184021, -0.07113092392683029, -0.022780785337090492, 0.021277612075209618, 0.005543669685721397, -0.032640766352415085, 0.006650316063314676, -0.009587089531123638, -0.04320606216788292, -0.016293656080961227, 0.0029031219892203808, 0.06743825972080231, -0.061698008328676224, 0.007287890650331974, 0.048647813498973846, -0.002719753421843052, 0.019051730632781982, -0.03280193358659744, -0.009688652120530605, -0.008863984607160091, -0.01636733114719391, -0.023243768140673637, 0.02202998846769333, -0.023738393560051918, -0.0285052340477705, -0.03494083136320114, -0.048432011157274246, 0.01746482215821743, 0.09214145690202713, 0.005789769813418388, -0.0006752076442353427, -0.007017255760729313, 0.013215280137956142, 0.025490980595350266, 0.04780644550919533, -0.023979108780622482, 0.04821182042360306, 0.03824079781770706, 0.020688245072960854, -0.028003981336951256, 0.04308077320456505, 0.012935980223119259, -0.0413249246776104, -0.030137741938233376, 0.03347931057214737, 0.002114983042702079, -0.02728293277323246, 0.015347735024988651, 0.0188603438436985, -0.019824525341391563, -0.006039057392627001, -0.025552980601787567, 0.07249221950769424, 0.00004290123615646735, -0.005763896740972996, -0.003927839454263449, 0.022983860224485397, -0.02793317846953869, 0.0515621043741703, -0.01596204563975334, 0.003249640576541424, -0.02265164814889431, -0.0034914405550807714, 0.01424487866461277, 0.034773942083120346, 0.041392963379621506, 0.0303104966878891, 0.008794041350483894, 0.07688282430171967, -0.02729027159512043, 0.029726848006248474, -0.052941855043172836, -0.05539916455745697, -0.003951671067625284, 0.03618500009179115, 0.04071161895990372, 0.02158549427986145, 0.0008308693650178611, -0.03187699243426323, 0.007870014756917953, 0.07408377528190613, 0.05830423906445503, 0.022382888942956924, -0.028828000649809837, 0.006573327351361513, 0.010827426798641682, 0.06496725231409073, -0.04419784992933273, -0.05271003395318985, 0.040672678500413895, 0.05313641205430031, -0.0034028401132673025, 0.03394530341029167, -0.0071816896088421345, 0.02037687413394451, -0.0548524335026741, -0.07167575508356094, 0.02873685397207737, 0.01922958344221115, -0.0017945112194865942, 0.03129386156797409, -0.033839862793684006, -0.008110174909234047, 0.037400200963020325, 0.014838159084320068, 0.01105409488081932, -0.04639894887804985, 0.012533900327980518, 0.0016651200130581856, 0.07079483568668365, -0.04052304849028587, 0.03607245907187462, 0.016126785427331924, -0.00024038509582169354, 0.03405843302607536, -0.02393786795437336, 0.01916092447936535, 0.022588754072785378, 0.006576321553438902, -0.022935261949896812, 0.000992980320006609, 0.024882934987545013, 0.04189419746398926, 0.06530401855707169, 0.0018703172681853175, 0.06763895601034164, -0.0012493726098909974, 0.05449715256690979, 0.08099577575922012, -0.009219879284501076, 0.014204883947968483, 0.020857181400060654, 0.07813803106546402, 0.011857634410262108, -0.026533206924796104, 0.06386739015579224, -0.03511558100581169, 0.01198967732489109, -0.027470003813505173, 0.017778553068637848, -0.0120156928896904, -0.018727796152234077, 0.02385050803422928, 0.02578880824148655, -0.0427568182349205, -0.01749780774116516, -0.013921170495450497, -0.012699665501713753, 0.04388302564620972, -0.03115103580057621, -0.0002546289761085063, -0.011148692108690739, -0.01526317372918129, 0.0032653892412781715, -0.08510532230138779, -0.04520440846681595, -0.0013155522756278515, -0.0125361243262887, -0.00046878072316758335, -0.09927641600370407, -0.04326866567134857, -0.04918466880917549, -0.018576104193925858, 0.05324695631861687, 0.013988981023430824, -0.02603256143629551, -0.01904100365936756, 0.02174377255141735, -0.04435442388057709, -0.027507517486810684, -0.03959913179278374, -0.049857329577207565, -0.011876452714204788, -0.07208579778671265, 0.008625459857285023, 0.016622036695480347, 0.013717914000153542, 0.0005760607891716063, -0.012717452831566334, -0.022665997967123985, -0.019276753067970276, 0.01858692429959774, 0.03080953285098076, -0.010940812528133392, -0.05754472687840462, 0.03052419237792492, -0.024185841903090477, 0.014977792277932167, 0.02235039882361889, -0.019716907292604446, 0.09561608731746674, 0.07358445972204208, 0.03308244049549103, -0.013632312417030334, -0.007437382824718952, -0.048298902809619904, -0.052891239523887634, -0.02186250314116478, -0.047598615288734436, -0.0270818080753088, -0.01922658085823059, -0.0380638912320137, 0.018479226157069206, -0.029617901891469955, -0.015872523188591003, -0.021266784518957138, 0.03286774083971977, 0.0589534267783165, 0.050640542060136795, 0.05308752879500389, 0.04200015217065811, -0.05736176297068596, -0.03992728888988495, 0.05821244791150093, 0.009182309731841087, 0.0020713850390166044, -0.05729341134428978, -0.039365608245134354, 0.06426890939474106, -0.0034117335453629494, -0.006003677845001221, -0.011459042318165302, 0.06133601441979408, 0.029086748138070107, -0.006898663938045502, -0.008899016305804253, -0.015150820836424828, -0.01106839720159769, 0.010782301425933838, -0.006962980609387159, -0.04507247731089592, -0.04137127846479416, -0.028904389590024948, -0.01478995755314827, 0.06115666776895523, -0.050113480538129807, -0.07957398891448975, -0.01451359037309885, 0.03277288004755974, 0.01931297965347767, 0.012880979105830193, -0.022535257041454315, -0.0021937936544418335, -0.041130587458610535, -0.03436834737658501, 0.02735947258770466, 0.015382948331534863, -0.022969968616962433, 0.04965849220752716, 0.01356717012822628, -0.04237290471792221, -0.023460986092686653, 0.024596398696303368, 0.035928308963775635, 0.028874600306153297, -0.05250868573784828, 0.035870082676410675, -0.011378907598555088, 0.02455679140985012, 0.00924243126064539, -0.047078050673007965, -0.050674498081207275, -0.08608248084783554, 0.008932333439588547, 0.002656439319252968, -0.014716754667460918, -0.01674566976726055, 0.04991680756211281, -0.01464365515857935, 0.002815132262185216, 0.005958815570920706, 0.015407261438667774, 0.06693566590547562, -0.03827566280961037, 0.06208270043134689, -0.003029606072232127, 0.05730673298239708, -0.04323738440871239, 0.019994549453258514, -0.04971498250961304, -0.013220326043665409, 0.011692404747009277, 0.05342254042625427, 0.012576430104672909, 0.07881762087345123, 0.06097470968961716, 0.016948746517300606, -0.047859374433755875, 0.05980910360813141, 0.043479304760694504, -0.024272991344332695, -0.035718608647584915, -0.005442440044134855, -0.022966939955949783, -0.03962094709277153, 0.014065596275031567, -0.012118512764573097, 0.02966737002134323, 0.007715608924627304, -0.015739448368549347, -0.026616087183356285, 0.015724720433354378, -0.012964657507836819, -0.05219408869743347, -0.048878394067287445, -0.05365566164255142, -0.0075757685117423534, -0.02600087784230709, 0.031972698867321014, 0.025992123410105705, 0.036679260432720184, 0.06033341586589813, 0.03963874652981758, -0.026637911796569824, -0.0426570326089859, 0.03929607942700386, 0.021728402003645897, -0.022666044533252716, -0.04700231924653053, -0.060876913368701935, 0.039804451167583466, 0.05021786689758301, -0.008209463208913803, -0.0900765135884285, 0.022584186866879463, 0.013799590058624744, -0.02808038890361786, 0.07010312378406525, -0.02483784221112728, 0.05437692627310753, 0.04512571915984154, -0.005147532094269991, 0.02390521578490734, -0.016590144485235214, 0.02278074435889721, 0.0020313600543886423, 0.03881481662392616, -0.020724521949887276, -0.04293135553598404, -0.060933321714401245, -0.0003055292181670666, 0.040642447769641876, 0.04864674061536789, 0.02440100535750389, -0.02095293253660202, -0.05081476271152496, 0.0033651376143097878, 0.040157467126846313, -0.05311884358525276, 0.039058320224285126, 0.02009790576994419, 0.03607913479208946, -0.03886120021343231, -0.03776237368583679, -0.02669614367187023, 0.017394626513123512, 0.015742331743240356, -0.0026251969393342733, -0.03870346397161484, -0.06768127530813217, 0.018160702660679817, -0.0038108271546661854, -0.03289985656738281, -0.07480558007955551, 0.021604593843221664, -0.026140157133340836, -0.0003831485810223967, 0.04732081666588783, 0.011593327857553959, 0.03659695386886597, 0.04914884269237518, 0.004804063588380814, 0.020490296185016632, -0.061981286853551865, 0.036329228430986404, -0.021856483072042465, 0.0026779375039041042, -0.028438741341233253, -0.06240883842110634, -0.009649168699979782, -0.029806068167090416, -0.04009070619940758, -0.048920467495918274, -0.020353229716420174, 0.030811263248324394, -0.01836705580353737, 0.02145056426525116, -0.03003428876399994, 0.03732640668749809, -0.008281183429062366, -0.04151591286063194, -0.02927033230662346, -0.02440950833261013, -0.06744737178087234, -0.05829435959458351, 0.03133493289351463, 0.014166600070893764, 0.04600629583001137, 0.009319008328020573, 0.011965563520789146, 0.01182987354695797, 0.00970058236271143, 0.0029814669396728277, 0.040199536830186844, -0.012822362594306469, -0.04094434157013893, -0.028240589424967766, 0.021514171734452248, 0.011869353242218494, 0.019477564841508865, -0.038815245032310486, 0.026911938562989235, 0.023931564763188362, -0.04961320012807846, 0.006454098038375378, 0.04204752296209335, 0.0024033489171415567, -0.062370967119932175, -0.06190814822912216, -0.010538021102547646, -0.04703868180513382, 0.046786386519670486, -0.030377233400940895, -0.02881905995309353, 0.021550191566348076, 0.01380621362477541, 0.0713503286242485, -0.021583162248134613, -0.027213307097554207, 0.011182093992829323, -0.015300453640520573, 0.033065490424633026, -0.051415033638477325, 0.03790611773729324, -0.03545215353369713, 0.0052558062598109245, -0.016981709748506546, -0.02748682163655758, -0.05290434509515762, 0.04907992482185364, -0.008145753294229507, -0.03157682344317436, -0.023319091647863388, 0.02359607443213463, -0.032874949276447296, 0.04484923556447029, -0.02741173841059208, -0.0015447279438376427, -0.06972666829824448, 0.04193840175867081, -0.055260069668293, 0.016530783846974373, -0.013198093511164188, 0.012263516895473003, -0.01752990297973156, -0.01083414163440466, -0.02420729398727417, -0.051890235394239426, 0.04357831925153732, 0.028455115854740143, 0.03477019444108009, 0.024831652641296387, -0.0005741086788475513, 0.013388245366513729, -0.0024725371040403843, -0.08207441121339798, -0.018235623836517334, -0.005328112747520208, 0.014771278016269207, -0.00642055831849575, 0.04074042662978172, 0.06424107402563095, -0.04970886558294296, -0.05164137855172157, 0.04875456541776657, 0.022422756999731064, 0.0018683598609641194, 0.01135664340108633, 0.014698419719934464, 0.04451802000403404, 0.029165543615818024, -0.031090792268514633, -0.005404481198638678, -0.007835794240236282, -0.007891624234616756, 0.024357564747333527, -0.00587029755115509, 0.03200670704245567, -0.0243407990783453, -0.045783672481775284, -0.04270397871732712, 0.06261789798736572, 0.019097300246357918, 0.016447480767965317, -0.0003188620030414313, -0.02689255215227604, 0.02063954621553421, 0.004949572496116161, -0.043807242065668106, -0.002191261388361454, 0.0022943015210330486, -0.026098014786839485, 0.06400156021118164, -0.001586422324180603, 0.01836572028696537, 0.044229716062545776, 0.005980024114251137, -0.008139586076140404, 0.04778534173965454, -0.024301281198859215, 0.014593521133065224, 0.058216482400894165, -0.02960795722901821, -0.008107318542897701, -0.02837308496236801, 0.05586933717131615, -0.07912948727607727, 0.05487493798136711, 0.0255021620541811, -0.0038766739889979362, 0.013964959420263767, -0.012133684009313583, -0.05502490699291229, 0.018019141629338264, -0.052971985191106796, 0.06273015588521957, 0.011649641208350658, -0.07452180981636047, 0.08440519124269485, 0.03179220110177994, -0.09229153394699097, 0.02839217521250248, 0.03371909633278847, -0.009459171444177628, 0.03599340468645096, 0.021402891725301743, -0.060273654758930206, 0.025440743193030357, -0.05467255413532257, 0.0218143742531538, -0.04060817509889603, -0.019197657704353333, 0.040398094803094864, -0.015326859429478645, -0.01260601170361042, 0.02005087025463581, -0.004394634161144495, -0.009537612088024616, 0.008770088665187359, -0.07774633914232254, -0.03077828884124756, -0.012602773495018482, 0.030306458473205566, -0.046639516949653625, 0.007251898758113384, -0.005690156947821379, 0.03158140555024147, 0.00886785052716732, 0.001604071818292141, -0.04015778750181198, 0.006191924214363098, 0.04165762662887573, -0.061436790972948074, -0.037334900349378586, 0.051858723163604736, 0.022572720423340797, -0.010954641737043858, 0.03703964129090309, -0.008810491301119328, 0.029798362404108047, -0.006771680433303118, -0.019010616466403008, 0.006245529279112816, -0.058577731251716614, -0.018126804381608963, 0.018743351101875305, 0.009888773784041405, 0.03397470712661743, 0.006808115169405937, 0.02745971642434597, 0.032419078052043915, 0.04022490978240967, -0.01222424115985632, -0.05309624224901199, -0.026920566335320473, 0.05161207914352417, -0.054365966469049454, 0.042266882956027985, -0.0020530049223452806, -0.02051568403840065, -0.03274887800216675, -0.02180672623217106, 0.009192091412842274, 0.04549065977334976, -0.059756163507699966, -0.0038731880486011505, 0.038836538791656494, -0.03648632764816284, -0.014254303649067879, -0.0689968466758728, -0.022873912006616592, -0.02488798461854458, 0.01567939668893814, 0.03175920620560646, -0.03621169179677963, 0.009810129180550575, -0.028968730941414833, -0.05062068998813629, 0.0537283718585968, 0.028622478246688843, -0.04190695285797119, 0.01902438886463642, 0.03412400931119919, -0.03504921495914459, 0.004536253400146961, 0.0191259253770113, -0.045349832624197006, 0.008789732120931149, -0.009018994867801666, 0.005397220607846975, 0.015826962888240814, 0.029464149847626686, -0.033173974603414536, -0.012927866540849209, -0.05590074136853218, -0.017520001158118248, -0.02449382096529007, -0.0035701189190149307, 0.050272468477487564 ]
BigSalmon/GPTNeo350MInformalToFormalLincoln5
[ "pytorch", "gpt_neo", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
2021-01-18T12:27:06Z
# roberta-java --- language: Java datasets: - code_search_net --- This is a [roberta](https://arxiv.org/pdf/1907.11692.pdf) pre-trained version on the [CodeSearchNet dataset](https://github.com/github/CodeSearchNet) for **Java** Mask Language Model mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline tokenizer = AutoTokenizer.from_pretrained("dbernsohn/roberta-java") model = AutoModelWithLMHead.from_pretrained("dbernsohn/roberta-java") fill_mask = pipeline( "fill-mask", model=model, tokenizer=tokenizer ) ``` You can then use this model to fill masked words in a Java code. ```python code = """ String[] cars = {"Volvo", "BMW", "Ford", "Mazda"}; for (String i : cars) { System.out.<mask>(i); } """.lstrip() pred = {x["token_str"].replace("Ġ", ""): x["score"] for x in fill_mask(code)} sorted(pred.items(), key=lambda kv: kv[1], reverse=True) # [('println', 0.32571351528167725), # ('get', 0.2897663116455078), # ('remove', 0.0637081190943718), # ('exit', 0.058875661343336105), # ('print', 0.034190207719802856)] ``` The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/CodeMLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.011258830316364765, -0.01688598096370697, -0.005162786692380905, 0.04316369816660881, 0.04540792107582092, 0.04278450459241867, -0.015158682130277157, -0.002186025492846966, -0.015541561879217625, 0.05670461803674698, -0.00004108713619643822, -0.019845927134156227, 0.0013466373784467578, 0.04047117382287979, -0.0415569543838501, -0.030916528776288033, -0.011029817163944244, -0.03335932269692421, -0.037037257105112076, -0.01996593549847603, 0.030208468437194824, -0.00860652420669794, -0.005773315671831369, 0.013854503631591797, -0.01476974505931139, -0.00898741651326418, 0.011823893524706364, 0.011998170986771584, 0.035872358828783035, -0.07110100239515305, -0.02736785262823105, -0.030585527420043945, -0.032487742602825165, -0.012609138153493404, -0.03581748157739639, -0.010750521905720234, 0.01427115686237812, 0.022252805531024933, 0.03234853222966194, 0.06458307057619095, -0.010772488079965115, -0.005132695659995079, -0.015753377228975296, -0.025856170803308487, 0.03727046772837639, 0.001988603500649333, -0.03169592469930649, 0.0031664196867495775, 0.030902715399861336, -0.021483270451426506, -0.05477901175618172, -0.07990527153015137, -0.047749005258083344, 0.023594370111823082, -0.03170567378401756, -0.006590837147086859, -0.05301395058631897, -0.006789270788431168, 0.04136383906006813, -0.07803928852081299, -0.05019962042570114, 0.002751643303781748, -0.07609046995639801, 0.03258165717124939, 0.02529207430779934, -0.0367053784430027, 0.002318612765520811, -0.04685633257031441, 0.009357141330838203, -0.008271470665931702, 0.03782407194375992, -0.05558956041932106, 0.013715357519686222, -0.10453890264034271, 0.027185136452317238, -0.03758413344621658, 0.039940569549798965, 0.04282156378030777, -0.02719675563275814, 0.06604569405317307, 0.0019880621694028378, 0.01036122813820839, 0.014048930257558823, -0.014916780404746532, -0.007266907952725887, 0.0417393334209919, -0.022393399849534035, 0.00020740301988553256, -0.01112271286547184, 0.05477618798613548, -0.03327623009681702, -0.030721502378582954, -0.02447276934981346, -0.02111946977674961, -0.028509266674518585, 0.021311741322278976, 0.03499866649508476, -0.010109427385032177, 0.055508971214294434, -0.001857116585597396, 0.019697770476341248, 0.05295654013752937, -0.008663613349199295, 0.070150226354599, 0.007150627207010984, 0.0022025282960385084, -0.019070031121373177, -0.036730557680130005, -0.04430795833468437, 0.041831497102975845, 0.029549049213528633, -0.035334277898073196, -0.04235653579235077, 0.03917226195335388, 0.026703668758273125, -0.012397474609315395, 0.033458005636930466, -0.010888639837503433, -0.061137933284044266, -0.0509512722492218, 0.06283155083656311, 0.01575450971722603, -0.007854930125176907, 0.019236749038100243, -0.049180708825588226, 0.017578324303030968, -0.05743793770670891, -0.013566595502197742, 0.0191508661955595, 0.03788101673126221, -0.026261968538165092, 0.012281655333936214, 0.015438312664628029, -0.04984307661652565, 0.012436622753739357, 0.0020336643792688847, -0.08278520405292511, 0.039743486791849136, 0.0293814018368721, 0.11797984689474106, -0.061627358198165894, -0.03955810144543648, 0.01709485426545143, 0.00700271176174283, -0.017870182171463966, 0.012852652929723263, -0.017940031364560127, -0.047667402774095535, -0.007154143415391445, -0.007704197429120541, 0.0744963213801384, -0.06789813190698624, 0.005225124768912792, 0.056993551552295685, -0.006536473520100117, 0.03283802792429924, -0.03957836329936981, -0.00726183271035552, -0.002531551057472825, -0.021182004362344742, -0.019894057884812355, 0.02769806981086731, -0.01027983333915472, -0.019459610804915428, -0.03765411674976349, -0.051324885338544846, 0.006197507027536631, 0.09849216789007187, 0.013257451355457306, -0.010995620861649513, -0.015076390467584133, 0.005947466939687729, 0.03125632181763649, 0.026796795427799225, -0.030145568773150444, 0.035192474722862244, 0.04273083060979843, 0.024060700088739395, -0.02998344413936138, 0.04044202342629433, 0.005405779927968979, -0.01863081194460392, -0.027555294334888458, 0.02252558432519436, 0.0012942957691848278, -0.03181551769375801, 0.009951692074537277, 0.019092321395874023, -0.02572634443640709, -0.010831971652805805, -0.017926326021552086, 0.07805196940898895, -0.00127173971850425, -0.006447283085435629, -0.008940459229052067, 0.010831346735358238, -0.03145686909556389, 0.053936902433633804, -0.0224944856017828, 0.009326251223683357, -0.02200065553188324, -0.006950776092708111, 0.004366688430309296, 0.044045452028512955, 0.03472944349050522, 0.029752075672149658, 0.003209840040653944, 0.07180418819189072, -0.03673698380589485, 0.02515508607029915, -0.0613739974796772, -0.05077952891588211, -0.01012922078371048, 0.036778904497623444, 0.04046137258410454, 0.018184367567300797, 0.000626948312856257, -0.02378934994339943, 0.020179349929094315, 0.05970221012830734, 0.06382431834936142, 0.0299077145755291, -0.026032960042357445, -0.003523956285789609, 0.0014483388513326645, 0.07497505098581314, -0.05928110331296921, -0.05433063209056854, 0.04398876428604126, 0.06312312930822372, -0.0030702531803399324, 0.03681344911456108, -0.009543717838823795, 0.021049251779913902, -0.06413618475198746, -0.07793266326189041, 0.021343663334846497, 0.030750898644328117, 0.015063087455928326, 0.04035503789782524, -0.018885413184762, -0.015302092768251896, 0.039563145488500595, 0.02223176322877407, 0.01185591146349907, -0.03543686866760254, 0.003717959625646472, 0.010495338588953018, 0.06724727153778076, -0.0318918377161026, 0.027958426624536514, 0.027844548225402832, 0.0035599498078227043, 0.028506314381957054, -0.023704349994659424, 0.016867859289050102, 0.023902075365185738, -0.012380595318973064, -0.026717763394117355, 0.011513548903167248, 0.02065294049680233, 0.0406189002096653, 0.06699852645397186, -0.005356901325285435, 0.05523784086108208, -0.0035690052900463343, 0.06843430548906326, 0.07659904658794403, -0.004785035736858845, 0.015619703568518162, 0.02403959445655346, 0.07672277837991714, 0.01747068017721176, -0.023235619068145752, 0.06304962933063507, -0.02976175583899021, 0.012712561525404453, -0.03547510504722595, 0.022680068388581276, -0.0017252726247534156, -0.013344923034310341, 0.03252110257744789, 0.016352742910385132, -0.054894521832466125, -0.016446450725197792, -0.01716344989836216, -0.01573408581316471, 0.04855022579431534, -0.04403529688715935, 0.0073015703819692135, -0.013664926402270794, -0.01317586936056614, -0.010402965359389782, -0.08365035802125931, -0.05180414021015167, 0.010444947518408298, -0.0131459329277277, -0.00466516986489296, -0.08292701095342636, -0.04092218354344368, -0.05573497712612152, -0.0310205165296793, 0.05837992578744888, 0.018599366769194603, -0.027132336050271988, -0.018582487478852272, 0.013665087521076202, -0.04091581702232361, -0.02364719659090042, -0.036750197410583496, -0.05092080682516098, -0.013756299391388893, -0.08328746259212494, 0.007017168216407299, 0.007834633812308311, 0.02250472456216812, -0.004860591143369675, -0.006630800664424896, -0.018213212490081787, -0.032607343047857285, 0.01765318587422371, 0.05072849988937378, -0.0007196802762337029, -0.057513970881700516, 0.02585885301232338, -0.014017933048307896, -0.0009290302405133843, 0.015466255135834217, -0.01628553681075573, 0.09967940300703049, 0.06527461111545563, 0.036659736186265945, -0.009774906560778618, -0.01932196505367756, -0.051405198872089386, -0.06311798095703125, -0.028167905285954475, -0.04059724882245064, -0.02662615291774273, -0.03153816610574722, -0.04509970173239708, 0.009641543962061405, -0.029337169602513313, -0.002951844595372677, -0.01262646820396185, 0.03657146170735359, 0.05771121382713318, 0.06272976100444794, 0.063461534678936, 0.040251798927783966, -0.04805906489491463, -0.033674467355012894, 0.05511154234409332, -0.0005414412589743733, 0.00556580163538456, -0.05455102026462555, -0.04064398631453514, 0.05711609125137329, 0.019374601542949677, -0.012586051598191261, -0.00971939042210579, 0.07095005363225937, 0.028630567714571953, -0.012324577197432518, 0.00028381988522596657, -0.014071110635995865, -0.021023854613304138, 0.0018716411432251334, -0.009544376283884048, -0.05027347803115845, -0.04009900242090225, -0.028622157871723175, -0.021222326904535294, 0.053586263209581375, -0.05198255181312561, -0.08097423613071442, -0.004282447975128889, 0.03612029179930687, 0.02066570147871971, 0.004488450475037098, -0.022466063499450684, -0.003803548403084278, -0.044759176671504974, -0.04741623252630234, 0.023491933941841125, 0.009761705063283443, -0.021674547344446182, 0.038376495242118835, 0.021707354113459587, -0.02888871170580387, -0.009629951789975166, 0.01852801814675331, 0.029853245243430138, 0.031587135046720505, -0.050255730748176575, 0.026805909350514412, -0.01810515858232975, 0.020156394690275192, -0.0002947526518255472, -0.03150319308042526, -0.05428902059793472, -0.07793543487787247, 0.0022020370233803988, 0.0051605794578790665, -0.015505642630159855, -0.027667660266160965, 0.045631036162376404, -0.004935617558658123, -0.002172988373786211, 0.009264089167118073, 0.018219999969005585, 0.05381164699792862, -0.038173362612724304, 0.07147934287786484, 0.0042349426075816154, 0.0562550313770771, -0.054585687816143036, -0.00018135143909603357, -0.05519058182835579, -0.019861752167344093, 0.01258869282901287, 0.06463286280632019, 0.014919096603989601, 0.05410415306687355, 0.06413110345602036, 0.0373980812728405, -0.04469844698905945, 0.05036802589893341, 0.052352599799633026, -0.015270582400262356, -0.037014201283454895, -0.007028666324913502, -0.02288389392197132, -0.036942847073078156, 0.009357727132737637, -0.03321168199181557, 0.03848694637417793, 0.005419150460511446, -0.01386175025254488, -0.01779819279909134, 0.021480172872543335, -0.01238569337874651, -0.043445054441690445, -0.052236177027225494, -0.03162621706724167, -0.00025574021856300533, -0.027513928711414337, 0.021040845662355423, 0.02134895510971546, 0.04348284378647804, 0.05783539265394211, 0.049719881266355515, -0.028949949890375137, -0.03972318023443222, 0.024719590321183205, 0.024775002151727676, -0.024097081273794174, -0.04816088825464249, -0.05811532959342003, 0.0340408980846405, 0.04356502741575241, -0.006401875521987677, -0.09378726780414581, 0.03541354089975357, 0.020789774134755135, -0.025457244366407394, 0.06423138082027435, -0.02221888117492199, 0.062397588044404984, 0.05436630919575691, -0.006569994613528252, 0.01781211979687214, -0.023398220539093018, 0.006087270099669695, -0.0069861020892858505, 0.027441486716270447, -0.020816750824451447, -0.04188720881938934, -0.07666966319084167, 0.011663686484098434, 0.028731156140565872, 0.058735936880111694, 0.03557465225458145, -0.015384824015200138, -0.05294804647564888, -0.002957813674584031, 0.040008969604969025, -0.030629662796854973, 0.041889727115631104, 0.031059643253684044, 0.027536392211914062, -0.0328374058008194, -0.03033757396042347, -0.021944556385278702, 0.005330873187631369, 0.0260089673101902, -0.0018739935476332903, -0.046684347093105316, -0.06588324159383774, 0.022994300350546837, 0.0016818777658045292, -0.03130457177758217, -0.07391428202390671, 0.0361301526427269, -0.020043855533003807, 0.004232256207615137, 0.05739549547433853, 0.0010133181931450963, 0.027558349072933197, 0.04407046362757683, 0.000805600022431463, 0.01835768297314644, -0.04946503788232803, 0.03963091969490051, -0.018590664491057396, -0.0010291864164173603, -0.026441624388098717, -0.06960775703191757, -0.018344532698392868, -0.025182489305734634, -0.0315403938293457, -0.04515613988041878, -0.029032524675130844, 0.012851796112954617, -0.016105663031339645, 0.01230228878557682, -0.02867863141000271, 0.03763943538069725, -0.021254703402519226, -0.04118943586945534, -0.038191188126802444, -0.03568316251039505, -0.07118335366249084, -0.058220986276865005, 0.039618704468011856, 0.019376982003450394, 0.031315598636865616, 0.0187626201659441, 0.006874975748360157, 0.02146313153207302, 0.018313735723495483, -0.01582675613462925, 0.018978001549839973, -0.003785321256145835, -0.04129984229803085, -0.02583269588649273, 0.007331775967031717, -0.0011232132092118263, 0.011082214303314686, -0.037541408091783524, 0.023474114015698433, 0.018875576555728912, -0.0374557189643383, 0.0034466013312339783, 0.03506474941968918, 0.0158955380320549, -0.06633911281824112, -0.04362494871020317, -0.007268823683261871, -0.059758566319942474, 0.043676700443029404, -0.014437450096011162, -0.0395626425743103, 0.033742718398571014, 0.0011771039571613073, 0.061734359711408615, -0.007617959752678871, -0.024861671030521393, 0.014540320262312889, -0.023236948996782303, 0.03008241206407547, -0.05488912761211395, 0.037700142711400986, -0.02169252373278141, 0.0019895313307642937, -0.007783791050314903, -0.03291165456175804, -0.054796747863292694, 0.04890984669327736, -0.00609366362914443, -0.02299095317721367, -0.020654838532209396, 0.03929247707128525, -0.030171027407050133, 0.044060349464416504, -0.02818610891699791, 0.014313574880361557, -0.051044974476099014, 0.05135083571076393, -0.048509061336517334, 0.026457779109477997, -0.008351716212928295, 0.013234791345894337, -0.017541464418172836, -0.0014563500881195068, -0.023659586906433105, -0.04617636278271675, 0.04451029747724533, 0.03637295588850975, 0.053669266402721405, 0.02618596889078617, -0.009125572629272938, 0.007452443707734346, -0.0005205012275837362, -0.08405163139104843, -0.019306223839521408, 0.010356677696108818, 0.036472100764513016, -0.0035753794945776463, 0.04958520457148552, 0.050005339086055756, -0.04131542518734932, -0.046060457825660706, 0.044988129287958145, 0.028703346848487854, -0.008473913185298443, -0.0072745634242892265, 0.013889435678720474, 0.04128975793719292, 0.016998233273625374, -0.043845534324645996, 0.004974884446710348, 0.00029883914976380765, -0.00546061247587204, 0.02852059155702591, -0.010500662960112095, 0.025705507025122643, -0.0175130907446146, -0.04923968017101288, -0.040259841829538345, 0.05931064486503601, 0.01765865832567215, 0.025697877630591393, -0.00007295126124517992, -0.022580992430448532, 0.023681089282035828, 0.004413140006363392, -0.05022793263196945, -0.014945014379918575, -0.014609670266509056, -0.026508495211601257, 0.0488128624856472, -0.0038527706637978554, 0.02229699306190014, 0.03656165674328804, -0.0032687734346836805, -0.005896409973502159, 0.03825327008962631, -0.03671310096979141, 0.01633264496922493, 0.055028319358825684, -0.03648089990019798, -0.003602557349950075, -0.03470428287982941, 0.06205335259437561, -0.08345472812652588, 0.05317174270749092, 0.032913316041231155, 0.0026517098303884268, 0.01699928566813469, -0.010502103716135025, -0.037588734179735184, 0.01667497120797634, -0.04994412511587143, 0.060293447226285934, 0.011299350298941135, -0.0833643227815628, 0.07230350375175476, 0.028098896145820618, -0.09999249875545502, 0.029132245108485222, 0.02278115227818489, 0.008601577021181583, 0.027558118104934692, 0.031888775527477264, -0.06145458295941353, 0.02702471613883972, -0.05035574361681938, 0.019659504294395447, -0.03215378150343895, -0.02203572727739811, 0.03909173235297203, -0.030240153893828392, -0.02847474068403244, 0.021995296701788902, 0.004386544693261385, -0.00797708984464407, 0.003816058859229088, -0.06708435714244843, -0.03005106747150421, -0.0262298621237278, 0.020215442404150963, -0.04923969507217407, 0.011516841128468513, -0.027320213615894318, 0.017148321494460106, 0.01536271721124649, 0.005738632287830114, -0.04254644364118576, -0.005327099002897739, 0.047051168978214264, -0.0674077719449997, -0.036855608224868774, 0.056928880512714386, 0.02800874598324299, -0.013917963951826096, 0.04133421555161476, -0.026681579649448395, 0.018612494692206383, 0.011670558713376522, -0.011619282886385918, 0.008168572559952736, -0.06789124011993408, -0.021931733936071396, 0.012866495177149773, -0.0012189006665721536, 0.025953853502869606, 0.014298828318715096, 0.02656727097928524, 0.04114510491490364, 0.03977849334478378, -0.010950298048555851, -0.045111220329999924, -0.03565167635679245, 0.04907458275556564, -0.06105059012770653, 0.03309516981244087, 0.002694907132536173, -0.015389733016490936, -0.04985072463750839, -0.028409335762262344, -0.00962632242590189, 0.05371907725930214, -0.05866376683115959, 0.0026313785929232836, 0.04067067429423332, -0.03679422289133072, -0.02465103194117546, -0.07504751533269882, -0.031689777970314026, -0.035712771117687225, 0.007466928102076054, 0.03667103871703148, -0.03304661437869072, 0.0046590473502874374, -0.033423859626054764, -0.05521382763981819, 0.0368112288415432, 0.028610343113541603, -0.05332491546869278, 0.014257324859499931, 0.022758716717362404, -0.025960715487599373, -0.002367157954722643, 0.024920251220464706, -0.048571981489658356, 0.010050596669316292, -0.004938462283462286, 0.004746247082948685, 0.01789732649922371, 0.0274198055267334, -0.03753431513905525, -0.016716675832867622, -0.06453428417444229, -0.03011501580476761, -0.028852693736553192, -0.001060962094925344, 0.047300077974796295 ]
BigSalmon/GPTNeo350MInformalToFormalLincoln6
[ "pytorch", "gpt_neo", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
14
2021-01-18T12:27:51Z
# roberta-javascript --- language: javascript datasets: - code_search_net --- This is a [roberta](https://arxiv.org/pdf/1907.11692.pdf) pre-trained version on the [CodeSearchNet dataset](https://github.com/github/CodeSearchNet) for **javascript** Mask Language Model mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline tokenizer = AutoTokenizer.from_pretrained("dbernsohn/roberta-javascript") model = AutoModelWithLMHead.from_pretrained("dbernsohn/roberta-javascript") fill_mask = pipeline( "fill-mask", model=model, tokenizer=tokenizer ) ``` You can then use this model to fill masked words in a Java code. ```python code = """ var i; for (i = 0; i < cars.<mask>; i++) { text += cars[i] + "<br>"; } """.lstrip() pred = {x["token_str"].replace("Ġ", ""): x["score"] for x in fill_mask(code)} sorted(pred.items(), key=lambda kv: kv[1], reverse=True) # [('length', 0.9959614872932434), # ('i', 0.00027875584783032537), # ('len', 0.0002283261710545048), # ('nodeType', 0.00013731322542298585), # ('index', 7.5289819505997e-05)] ``` The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/CodeMLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.008978248573839664, -0.02837371453642845, -0.00015755649656057358, 0.03801730275154114, 0.048159409314394, 0.03774913772940636, -0.018807288259267807, -0.010805591940879822, -0.03174813464283943, 0.06432086229324341, -0.0015504112234339118, -0.011395488865673542, -0.010961165651679039, 0.032888419926166534, -0.04389519989490509, -0.02461196668446064, -0.018968656659126282, -0.02268253266811371, -0.03691884130239487, -0.02960244007408619, 0.03475877270102501, -0.011261656880378723, 0.005938779097050428, 0.009662526659667492, -0.01450394932180643, 0.006086183711886406, 0.0071450951509177685, 0.008775654248893261, 0.0482117161154747, -0.05967806652188301, -0.03226896747946739, -0.028194528073072433, -0.04220559075474739, -0.009003804065287113, -0.03391411900520325, -0.02332676760852337, 0.012216540984809399, 0.02081097476184368, 0.03252190724015236, 0.0750904381275177, -0.005727756768465042, -0.00043824705062434077, -0.010237479582428932, -0.029799526557326317, 0.03429800644516945, 0.006898416206240654, -0.03780059143900871, 0.003940011840313673, 0.030806517228484154, -0.016009056940674782, -0.06353579461574554, -0.08057797700166702, -0.03672479838132858, 0.03621748462319374, -0.02790285274386406, -0.016777683049440384, -0.05636219307780266, 0.003977545537054539, 0.05807524919509888, -0.07315457612276077, -0.051789551973342896, 0.013138564303517342, -0.06551089882850647, 0.026025429368019104, 0.029025541618466377, -0.036703046411275864, 0.01743369735777378, -0.044494643807411194, 0.02014002576470375, -0.010954545810818672, 0.036660246551036835, -0.06184472516179085, 0.00978270173072815, -0.10283270478248596, 0.030016455799341202, -0.02315073274075985, 0.03797568753361702, 0.03831116855144501, -0.028099574148654938, 0.07264931499958038, -0.0025580308865755796, 0.016647234559059143, 0.019045382738113403, -0.0057588242925703526, -0.004449009895324707, 0.035709429532289505, -0.03240880370140076, 0.0011665652273222804, -0.009370550513267517, 0.05187876522541046, -0.04070105031132698, -0.030510468408465385, -0.030603531748056412, -0.026091648265719414, -0.03090652823448181, 0.01957947574555874, 0.03632177785038948, -0.00756231090053916, 0.050978995859622955, -0.0007246897439472377, 0.015909407287836075, 0.051612239331007004, -0.007120442111045122, 0.0798010528087616, -0.006620390806347132, 0.00855086836963892, -0.015461232513189316, -0.03390955179929733, -0.032282132655382156, 0.03489070013165474, 0.03283035755157471, -0.025273460894823074, -0.03956282138824463, 0.04673852398991585, 0.029731115326285362, -0.007676105946302414, 0.03455837443470955, -0.00785340927541256, -0.06993177533149719, -0.048163674771785736, 0.057134196162223816, 0.010418834164738655, 0.003626974066719413, 0.0295520331710577, -0.047379765659570694, 0.015372980386018753, -0.05740637704730034, -0.012793609872460365, 0.016378071159124374, 0.03199569135904312, -0.011685890145599842, 0.024298496544361115, 0.005802298430353403, -0.053116198629140854, 0.004585375543683767, 0.002220101421698928, -0.08132027834653854, 0.043770622462034225, 0.022389335557818413, 0.12253963947296143, -0.07281667739152908, -0.03800814598798752, 0.019398385658860207, 0.002597448881715536, -0.0254162959754467, 0.005040155258029699, -0.010667972266674042, -0.053717970848083496, -0.011405885219573975, 0.012428686022758484, 0.07501189410686493, -0.0728263109922409, -0.0012416904792189598, 0.05519803613424301, 0.002264067530632019, 0.04133039712905884, -0.04199144244194031, 0.0010348283685743809, -0.00024187406233977526, -0.018017254769802094, -0.028901517391204834, 0.029974274337291718, -0.007829556241631508, -0.011936228722333908, -0.03052643872797489, -0.052554477006196976, 0.007985066622495651, 0.09587372094392776, 0.022009670734405518, -0.01629645563662052, -0.029722336679697037, 0.0032884939573705196, 0.0322897806763649, 0.038214124739170074, -0.019683469086885452, 0.03492235764861107, 0.037006136029958725, 0.0211709663271904, -0.023722251877188683, 0.03934168070554733, -0.0025523719377815723, -0.0252446997910738, -0.03012286312878132, 0.029574813321232796, 0.005275215487927198, -0.026064742356538773, 0.009757645428180695, 0.017516419291496277, -0.0254236850887537, -0.012936855666339397, -0.026032114401459694, 0.06947162002325058, -0.0010419967584311962, -0.010616974905133247, -0.014063075184822083, 0.002554605482146144, -0.031736407428979874, 0.054213445633649826, -0.024866357445716858, 0.0029153393115848303, -0.025542782619595528, -0.017709186300635338, 0.008012979291379452, 0.035513922572135925, 0.03544968366622925, 0.030729062855243683, 0.01760869473218918, 0.07933411002159119, -0.036942534148693085, 0.019691025838255882, -0.0716538354754448, -0.06232867389917374, -0.0015172200510278344, 0.043234288692474365, 0.03877674415707588, 0.021864337846636772, 0.0054519507102668285, -0.030995266512036324, 0.01814884878695011, 0.05542058125138283, 0.05948283523321152, 0.02001221664249897, -0.012083884328603745, -0.011579527519643307, -0.0010981406085193157, 0.07858335971832275, -0.057976339012384415, -0.05924351140856743, 0.03329891711473465, 0.06659050285816193, -0.0031604631803929806, 0.039789821952581406, -0.007730728946626186, 0.021128101274371147, -0.0578523650765419, -0.07017219066619873, 0.02995629981160164, 0.025977402925491333, 0.010011397302150726, 0.03749672323465347, -0.009005830623209476, -0.008200980722904205, 0.04057924449443817, 0.007345824036747217, 0.003863744670525193, -0.03463472053408623, 0.008478806354105473, 0.0165509432554245, 0.06302064657211304, -0.03736734762787819, 0.030764004215598106, 0.02533791773021221, 0.008612269535660744, 0.04322269186377525, -0.026058746501803398, 0.028379948809742928, 0.045927245169878006, -0.0037522101774811745, -0.026876771822571754, 0.003217858960852027, 0.02387087792158127, 0.03263666853308678, 0.0481390543282032, -0.0070059699937701225, 0.05418522283434868, 0.0072574131190776825, 0.0684862807393074, 0.09020248055458069, -0.004726853687316179, 0.004980852361768484, 0.020516326650977135, 0.0781671404838562, 0.011509979143738747, -0.027461539953947067, 0.06342346966266632, -0.034842368215322495, 0.022557616233825684, -0.02314871735870838, 0.018696755170822144, -0.0022998375352472067, -0.021174751222133636, 0.027888545766472816, 0.012755095958709717, -0.054490648210048676, -0.017268914729356766, -0.023311201483011246, -0.015469029545783997, 0.04335026443004608, -0.032318077981472015, 0.0017518902895972133, -0.011469094082713127, -0.02166687324643135, -0.004535573534667492, -0.06897035241127014, -0.03888363391160965, 0.009240611456334591, -0.016053389757871628, 0.0007262341678142548, -0.08041217923164368, -0.04310634732246399, -0.06723266839981079, -0.02683408558368683, 0.050917353481054306, 0.00840416643768549, -0.02948020212352276, -0.012738851830363274, 0.014427618123590946, -0.04011690616607666, -0.019334441050887108, -0.04223347455263138, -0.04801664128899574, -0.009215796366333961, -0.07910145074129105, 0.012528161518275738, 0.018125614151358604, 0.012392678298056126, -0.0007297879201360047, -0.005143187940120697, -0.013454590924084187, -0.030421411618590355, 0.010151651687920094, 0.04783700779080391, 0.0062093292362987995, -0.06249229982495308, 0.025545554235577583, -0.009708634577691555, 0.004987726453691721, 0.01733933947980404, -0.02142225205898285, 0.09792923927307129, 0.06500798463821411, 0.03280412778258324, -0.007880897261202335, -0.01677011325955391, -0.04637589678168297, -0.07134386152029037, -0.032359957695007324, -0.038880135864019394, -0.01746227778494358, -0.025204164907336235, -0.04136372357606888, 0.01074846088886261, -0.034449681639671326, -0.007396291010081768, -0.006054194178432226, 0.035589609295129776, 0.04311828687787056, 0.05951889604330063, 0.06062726676464081, 0.03822348266839981, -0.06691569834947586, -0.022600706666707993, 0.06135549768805504, -0.0030240865889936686, 0.0016701306449249387, -0.05265142768621445, -0.033454619348049164, 0.05855099484324455, 0.012563181109726429, -0.009068163111805916, -0.008920337073504925, 0.07170093059539795, 0.02615612931549549, 0.00448027765378356, -0.004682707134634256, -0.010863509960472584, -0.02351728267967701, 0.002088588895276189, -0.01328011229634285, -0.06591898202896118, -0.05082937702536583, -0.03325645253062248, -0.02657359652221203, 0.05299169570207596, -0.062051527202129364, -0.07893633842468262, -0.01470183115452528, 0.03022768348455429, 0.02127258852124214, 0.015866663306951523, -0.023388011381030083, -0.006154750939458609, -0.047572437673807144, -0.03822936490178108, 0.02476048842072487, 0.01854822225868702, -0.02024749666452408, 0.04274110123515129, 0.0284058079123497, -0.039771098643541336, -0.0010657974053174257, 0.027301523834466934, 0.024964286014437675, 0.02187909372150898, -0.050680674612522125, 0.03458787500858307, -0.02338622882962227, 0.01325276680290699, -0.006709403824061155, -0.036335259675979614, -0.0545802004635334, -0.08368983119726181, -0.0010097885970026255, -0.0034075959119945765, -0.0172599945217371, -0.020925987511873245, 0.046038635075092316, -0.005258817691355944, 0.010562722571194172, 0.002848493866622448, 0.01698645018041134, 0.05426950007677078, -0.04848487675189972, 0.06738350540399551, 0.0005311135319061577, 0.04528065025806427, -0.04174590855836868, 0.0013999316142871976, -0.048043351620435715, -0.013164451345801353, 0.009146279655396938, 0.06735875457525253, 0.024816351011395454, 0.06990542262792587, 0.06684144586324692, 0.017662640661001205, -0.04149170219898224, 0.04153770953416824, 0.045340802520513535, -0.019146332517266273, -0.03471478447318077, -0.0009257094352506101, -0.02115984819829464, -0.035413529723882675, 0.01015262957662344, -0.01329894084483385, 0.03253202140331268, 0.006888143252581358, -0.018092479556798935, -0.01877003349363804, 0.014701776206493378, -0.015145566314458847, -0.049393460154533386, -0.051836468279361725, -0.03649786859750748, -0.0065264273434877396, -0.022816479206085205, 0.025017332285642624, 0.02417530119419098, 0.049595121294260025, 0.05516993999481201, 0.054915595799684525, -0.02506125718355179, -0.03261478617787361, 0.026351846754550934, 0.016522681340575218, -0.027375558391213417, -0.05713149532675743, -0.043362099677324295, 0.0329413078725338, 0.03931516036391258, -0.012830620631575584, -0.0880020335316658, 0.03225834295153618, 0.01975775882601738, -0.020480453968048096, 0.06564111262559891, -0.019027912989258766, 0.06729879975318909, 0.051180917769670486, -0.00811337772756815, 0.027048176154494286, -0.020808544009923935, 0.008384939283132553, -0.012303478084504604, 0.028577718883752823, -0.01396697573363781, -0.040819182991981506, -0.06648485362529755, 0.013308563269674778, 0.03148112818598747, 0.05574263259768486, 0.03634943813085556, -0.01530776172876358, -0.05221017822623253, -0.014419824816286564, 0.03399986773729324, -0.03858323395252228, 0.04152565822005272, 0.032985620200634, 0.018990328535437584, -0.04168321192264557, -0.041544653475284576, -0.018299531191587448, 0.005322436336427927, 0.02361481823027134, -0.002804190618917346, -0.047458961606025696, -0.05662412941455841, 0.028042243793606758, -0.009893382899463177, -0.0251103937625885, -0.08191033452749252, 0.026954861357808113, -0.028515417128801346, 0.013513047248125076, 0.04726070165634155, 0.0019372468814253807, 0.0330413281917572, 0.03660229220986366, 0.007258726749569178, 0.010350585915148258, -0.04777240753173828, 0.04113262519240379, -0.01511203683912754, -0.005089359823614359, -0.03338126093149185, -0.06433713436126709, -0.01718699373304844, -0.03282519429922104, -0.04235558584332466, -0.05048077180981636, -0.024243157356977463, 0.01515771821141243, -0.00741347623988986, 0.01935432106256485, -0.03183919936418533, 0.03356928005814552, -0.017808567732572556, -0.0389162078499794, -0.034293282777071, -0.04026517644524574, -0.06480196863412857, -0.04399564862251282, 0.0372483991086483, 0.011913055554032326, 0.042419496923685074, 0.02157490700483322, 0.006849749945104122, 0.010027887299656868, 0.019684316590428352, -0.019087566062808037, 0.020774107426404953, -0.0033473619259893894, -0.04125896841287613, -0.013609727844595909, 0.017876064404845238, -0.00046715736971236765, 0.014514402486383915, -0.04011585935950279, 0.023378798738121986, 0.03241405263543129, -0.037501998245716095, 0.0009475390543229878, 0.03224203363060951, 0.009732457809150219, -0.05679432675242424, -0.04530954733490944, -0.0029264141339808702, -0.0659433901309967, 0.042375244200229645, -0.020403141155838966, -0.03644448146224022, 0.03197397291660309, 0.013685193844139576, 0.062178194522857666, -0.007150349207222462, -0.030768543481826782, 0.007765434682369232, -0.022051503881812096, 0.027186967432498932, -0.05254681035876274, 0.038180872797966, -0.027534781023859978, -0.0037928035017102957, -0.002248508622869849, -0.025291891768574715, -0.04417077451944351, 0.04470251873135567, -0.011013545095920563, -0.015934089198708534, -0.01795891672372818, 0.0366358608007431, -0.029606686905026436, 0.04741990938782692, -0.03136942535638809, 0.0277322418987751, -0.04126773402094841, 0.04888467863202095, -0.05242914706468582, 0.02585371769964695, -0.02558187022805214, -0.0002865419664885849, -0.013309785164892673, -0.002134711481630802, -0.022688748314976692, -0.04497862607240677, 0.04968918859958649, 0.03408334404230118, 0.03458631783723831, 0.014348039403557777, -0.020025882869958878, 0.001703907153569162, -0.006545072887092829, -0.08589399605989456, -0.028098266571760178, 0.007278676610440016, 0.03319123014807701, 0.004080610815435648, 0.04351959750056267, 0.043428536504507065, -0.03872432932257652, -0.046395037323236465, 0.04379258304834366, 0.028055138885974884, 0.003353275591507554, -0.010632424615323544, 0.013127223588526249, 0.0361730232834816, 0.019077017903327942, -0.04146232083439827, 0.005395499989390373, 0.002515594707801938, -0.014623522758483887, 0.023897038772702217, -0.012261011637747288, 0.024893760681152344, -0.01780569925904274, -0.057041581720113754, -0.02985382452607155, 0.05218377336859703, 0.02474568784236908, 0.017970869317650795, 0.002028812887147069, -0.021106159314513206, 0.01817084476351738, 0.017167411744594574, -0.054011642932891846, -0.0057838913053274155, -0.006805428769439459, -0.028320493176579475, 0.04747762903571129, -0.005685477517545223, 0.016189392656087875, 0.03713162988424301, 0.0029673767276108265, -0.0030054214876145124, 0.03296416997909546, -0.04181981831789017, 0.026083018630743027, 0.061099350452423096, -0.03194636106491089, -0.008753304369747639, -0.03500755876302719, 0.06048177555203438, -0.09064332395792007, 0.03693778067827225, 0.04140915721654892, -0.004101563710719347, 0.004733673762530088, -0.00994488038122654, -0.04447474703192711, 0.01454975176602602, -0.0630849227309227, 0.06185494735836983, 0.005280033685266972, -0.09573955088853836, 0.07501397281885147, 0.030149349942803383, -0.08123265951871872, 0.025305870920419693, 0.025793734937906265, -0.006334003992378712, 0.03206551820039749, 0.02851286716759205, -0.06095511466264725, 0.029761236160993576, -0.03959493339061737, 0.02735377848148346, -0.03216790035367012, -0.013348651118576527, 0.04188451170921326, -0.03133286163210869, -0.03218221291899681, 0.0246766097843647, -0.0019766627810895443, -0.012818410061299801, 0.01894395612180233, -0.0557427816092968, -0.018974486738443375, -0.020044730976223946, 0.01299892645329237, -0.04174060374498367, 0.017247481271624565, -0.011419328860938549, 0.02679474465548992, 0.01083607878535986, 0.003450343618169427, -0.0425543449819088, -0.005894387140870094, 0.039817534387111664, -0.06823664158582687, -0.0404970608651638, 0.06276513636112213, 0.011174564249813557, -0.013225793838500977, 0.0349537618458271, -0.015621471218764782, 0.01670362427830696, 0.006056083831936121, -0.02126281149685383, 0.003427628194913268, -0.06090307980775833, -0.019493697211146355, 0.01826026849448681, 0.001987369963899255, 0.030378904193639755, 0.0019377933349460363, 0.029193393886089325, 0.05174914002418518, 0.04729732125997543, -0.023547083139419556, -0.03644675388932228, -0.02764187566936016, 0.04279371723532677, -0.06966555863618851, 0.03508120775222778, 0.002215723739936948, -0.01834166795015335, -0.05635426566004753, -0.04075131565332413, -0.008632753975689411, 0.04730236902832985, -0.05711343511939049, 0.010997173376381397, 0.03666583076119423, -0.0332220084965229, -0.027306055650115013, -0.07400213927030563, -0.03520355001091957, -0.03495435416698456, 0.005549260415136814, 0.033928703516721725, -0.0425545796751976, 0.0013910278212279081, -0.0301214512437582, -0.06570341438055038, 0.04990794137120247, 0.03469671681523323, -0.06314345449209213, 0.012829113751649857, 0.02011287398636341, -0.02308349683880806, -0.0048811109736561775, 0.013711660169064999, -0.04463699832558632, -0.003677581436932087, -0.01439598761498928, 0.004996376112103462, 0.02167145535349846, 0.04106387495994568, -0.03043195977807045, -0.011219804175198078, -0.05616328865289688, -0.03227771818637848, -0.029199639335274696, 0.00646332697942853, 0.06716449558734894 ]
BigSalmon/GoodMaskResults
[ "pytorch", "roberta", "fill-mask", "transformers", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "RobertaForMaskedLM" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
null
# roberta-python --- language: python datasets: - code_search_net --- This is a [roberta](https://arxiv.org/pdf/1907.11692.pdf) pre-trained version on the [CodeSearchNet dataset](https://github.com/github/CodeSearchNet) for **Python** Mask Language Model mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline tokenizer = AutoTokenizer.from_pretrained("dbernsohn/roberta-python") model = AutoModelWithLMHead.from_pretrained("dbernsohn/roberta-python") fill_mask = pipeline( "fill-mask", model=model, tokenizer=tokenizer ) ``` You can then use this model to fill masked words in a Python code. ```python code = """ new_dict = {} for k, v in my_dict.<mask>(): new_dict[k] = v**2 """.lstrip() pred = {x["token_str"].replace("Ġ", ""): x["score"] for x in fill_mask(code)} sorted(pred.items(), key=lambda kv: kv[1], reverse=True) # [('items', 0.7376779913902283), # ('keys', 0.16238391399383545), # ('values', 0.03965481370687485), # ('iteritems', 0.03346433863043785), # ('splitlines', 0.0032723243348300457)] ``` The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/CodeMLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.012572121806442738, -0.030122268944978714, -0.00266736070625484, 0.052923426032066345, 0.04350991174578667, 0.04178224131464958, -0.018640775233507156, -0.00007359342271229252, -0.03577081859111786, 0.06589750945568085, -0.0018393974751234055, 0.005834112409502268, -0.00459472369402647, 0.030574357137084007, -0.03768060728907585, -0.023930950090289116, -0.01963081955909729, -0.030338792130351067, -0.043936923146247864, -0.02487080916762352, 0.020590802654623985, -0.004210690502077341, 0.00454858411103487, 0.014273837208747864, 0.0003318596282042563, 0.00043191565782763064, 0.011773576959967613, 0.013393471948802471, 0.044000279158353806, -0.06707222014665604, -0.02692258171737194, -0.027002567425370216, -0.036216896027326584, 0.0011279941536486149, -0.027570346370339394, -0.018615463748574257, 0.006424839608371258, 0.009932754561305046, 0.027282893657684326, 0.061533283442258835, -0.008535425178706646, -0.006765618454664946, -0.01818547025322914, -0.02832658961415291, 0.04442153871059418, 0.004824418108910322, -0.05131428688764572, 0.01061018742620945, 0.041097670793533325, -0.020730556920170784, -0.05379590019583702, -0.0687452107667923, -0.034872010350227356, 0.042449597269296646, -0.03515905141830444, -0.011047231033444405, -0.05908988416194916, 0.010288835503160954, 0.04797454550862312, -0.07001309841871262, -0.0500171035528183, 0.01543482020497322, -0.06425110995769501, 0.03540349006652832, 0.026929156854748726, -0.029372677206993103, 0.014326274394989014, -0.048557281494140625, 0.00796123780310154, -0.012683110311627388, 0.042089663445949554, -0.05283820256590843, 0.0028078914619982243, -0.1105068176984787, 0.028822125867009163, -0.02107825316488743, 0.03519512712955475, 0.027032649144530296, -0.018447477370500565, 0.06283272802829742, 0.008621751330792904, -0.0006658972706645727, 0.017329875379800797, -0.015138162299990654, 0.0011535552330315113, 0.04798945039510727, -0.03988177329301834, 0.0026990273036062717, -0.013222705572843552, 0.06003469228744507, -0.042152877897024155, -0.030328404158353806, -0.03704693913459778, -0.019931405782699585, -0.018500668928027153, 0.01331024058163166, 0.036152079701423645, -0.010325835086405277, 0.04745834693312645, -0.0017483284464105964, 0.009245003573596478, 0.04369023069739342, -0.005805365275591612, 0.06551582366228104, -0.006778140552341938, 0.004111692309379578, -0.019134245812892914, -0.035936515778303146, -0.048680003732442856, 0.03189079836010933, 0.03790837526321411, -0.015924179926514626, -0.035054221749305725, 0.045376967638731, 0.02981497533619404, -0.004860442131757736, 0.030486399307847023, -0.019373349845409393, -0.06062275916337967, -0.04177042841911316, 0.05631575360894203, -0.0006296149804256856, -0.0037412589881569147, 0.023213574662804604, -0.04581429064273834, 0.021030597388744354, -0.06913875043392181, -0.023949190974235535, 0.01772761344909668, 0.03946995362639427, -0.017395008355379105, 0.017940476536750793, 0.02146890014410019, -0.0538482703268528, 0.00736957648769021, 0.003505578264594078, -0.084075927734375, 0.040262848138809204, 0.029750831425189972, 0.1298033446073532, -0.06445947289466858, -0.03358021378517151, 0.00785088911652565, -0.00016149459406733513, -0.037201572209596634, 0.015293464995920658, -0.01674952358007431, -0.04155624285340309, -0.014428521506488323, 0.011868667788803577, 0.0834103599190712, -0.06475894898176193, 0.003807198954746127, 0.051295388489961624, -0.0018636374734342098, 0.038572609424591064, -0.04865974932909012, 0.004951717332005501, -0.014098908752202988, -0.025072352960705757, -0.022734904661774635, 0.03291793540120125, -0.011177214793860912, -0.010850214399397373, -0.03545443341135979, -0.057317107915878296, 0.008879200555384159, 0.08791358023881912, 0.006376673933118582, -0.011409161612391472, -0.01105538196861744, 0.0056699044071137905, 0.033092889934778214, 0.04901430010795593, -0.03036028891801834, 0.041724853217601776, 0.03618718683719635, 0.02028071880340576, -0.02913293056190014, 0.03345123305916786, -0.006860585417598486, -0.0377165712416172, -0.025299103930592537, 0.028480447828769684, -0.002592269564047456, -0.029466064646840096, 0.009586308151483536, 0.029882969334721565, -0.021150650456547737, -0.008231168612837791, -0.028863461688160896, 0.07239309698343277, 0.0007210072362795472, -0.0005845318082720041, -0.013205934315919876, 0.014384305104613304, -0.02604699693620205, 0.05507022142410278, -0.021863730624318123, -0.0023516169749200344, -0.01365727186203003, -0.014202656224370003, 0.006452338304370642, 0.027596959844231606, 0.03816170245409012, 0.03862467035651207, 0.008351455442607403, 0.0858997032046318, -0.03321697935461998, 0.018126321956515312, -0.060394082218408585, -0.059326209127902985, -0.004407868720591068, 0.035716909915208817, 0.03927215188741684, 0.02649049088358879, 0.0031559003982692957, -0.030429279431700706, 0.0217373538762331, 0.054968252778053284, 0.06656048446893692, 0.017925938591361046, -0.028347736224532127, 0.0026587755419313908, -0.00671347277238965, 0.07486452162265778, -0.045038167387247086, -0.045918431133031845, 0.03053455613553524, 0.05590273067355156, -0.004961492959409952, 0.03222358971834183, -0.01475864090025425, 0.03114118054509163, -0.05518775060772896, -0.07287672162055969, 0.033573493361473083, 0.023978393524885178, 0.008834718726575375, 0.04715773090720177, -0.02624247595667839, -0.0018963431939482689, 0.03336454555392265, 0.0188781525939703, 0.008621642366051674, -0.029768433421850204, 0.0026370151899755, 0.015747470781207085, 0.057813193649053574, -0.036779891699552536, 0.0346226841211319, 0.021481579169631004, -0.005037704017013311, 0.038211677223443985, -0.02957899682223797, 0.028686247766017914, 0.032123565673828125, -0.006077134516090155, -0.02851502224802971, 0.005447006784379482, 0.010350313037633896, 0.04290769249200821, 0.06505711376667023, -0.0015264585381373763, 0.06241505593061447, 0.005617984104901552, 0.05853666737675667, 0.09082131087779999, 0.000015641015124856494, 0.009992317296564579, 0.023669777438044548, 0.07298469543457031, 0.012239282950758934, -0.024010002613067627, 0.0640566498041153, -0.03270358592271805, 0.017280230298638344, -0.039609119296073914, 0.026050524786114693, -0.010542849078774452, -0.01899951696395874, 0.033835072070360184, 0.018456561490893364, -0.04879191145300865, -0.006708255037665367, -0.01615963689982891, -0.017487289384007454, 0.045234061777591705, -0.025264529511332512, -0.0015307905850932002, -0.010776958428323269, -0.021686360239982605, -0.004711055662482977, -0.08332373201847076, -0.04240956902503967, -0.0018528122454881668, -0.020089486613869667, -0.002540299668908119, -0.08495619148015976, -0.04758504033088684, -0.05178439989686012, -0.024168100208044052, 0.034474972635507584, 0.008981631137430668, -0.01379540003836155, -0.010117006488144398, 0.01633395440876484, -0.04761561378836632, -0.012577613815665245, -0.02915155328810215, -0.04348040744662285, -0.01415748056024313, -0.08052542805671692, 0.026448197662830353, 0.011610079556703568, 0.014985661953687668, -0.004159643780440092, -0.010344224981963634, -0.02114834636449814, -0.02446703426539898, 0.022043224424123764, 0.039946697652339935, -0.0022028631065040827, -0.06475844234228134, 0.023991094902157784, -0.020093224942684174, 0.0025780382566154003, 0.021609611809253693, -0.017220141366124153, 0.09007781744003296, 0.08365673571825027, 0.03857937082648277, -0.006406272295862436, -0.018914446234703064, -0.05315657705068588, -0.06256473809480667, -0.02839832752943039, -0.043154601007699966, -0.026825949549674988, -0.022540468722581863, -0.054043687880039215, 0.016653066501021385, -0.019687050953507423, -0.010007834993302822, -0.003105229465290904, 0.03390832617878914, 0.055653780698776245, 0.052590206265449524, 0.05729897320270538, 0.048509422689676285, -0.05871008709073067, -0.031153667718172073, 0.056584618985652924, 0.006839658599346876, 0.014926450327038765, -0.06339621543884277, -0.0391731821000576, 0.05628456920385361, 0.013350109569728374, -0.004504777491092682, -0.010958170518279076, 0.07192801684141159, 0.03131876140832901, -0.008799719624221325, -0.01487328764051199, -0.0034657467622309923, -0.008091575466096401, 0.00913748238235712, -0.013997404836118221, -0.047424569725990295, -0.04497658833861351, -0.036141376942396164, -0.018964963033795357, 0.0516376867890358, -0.05283176153898239, -0.08204280585050583, -0.023302467539906502, 0.029112309217453003, 0.02090211771428585, 0.008330884389579296, -0.028038373216986656, -0.0016204399289563298, -0.04849128797650337, -0.04064653441309929, 0.02562771923840046, 0.017166677862405777, -0.01937180943787098, 0.053133103996515274, 0.024183697998523712, -0.03820193186402321, -0.010917887091636658, 0.029828177765011787, 0.04013422131538391, 0.020565273240208626, -0.05814611539244652, 0.03876383975148201, -0.013795816339552402, 0.021509386599063873, -0.00018290367734152824, -0.03665635362267494, -0.06366932392120361, -0.0801280066370964, -0.0006309035234153271, -0.004435618408024311, -0.011119912378489971, -0.025135762989521027, 0.03316745162010193, -0.018530074506998062, -0.012036861851811409, 0.0051476117223501205, 0.012467705644667149, 0.06475355476140976, -0.0581292100250721, 0.0710151195526123, 0.012749109417200089, 0.044411804527044296, -0.03749934211373329, 0.01790963113307953, -0.044016703963279724, -0.013270054943859577, 0.007754676975309849, 0.06159732863306999, 0.023516196757555008, 0.07074230909347534, 0.062256697565317154, 0.02584785223007202, -0.04965522885322571, 0.046154096722602844, 0.04492461308836937, -0.01992005482316017, -0.028523610904812813, -0.004187657963484526, -0.016299620270729065, -0.035454604774713516, 0.018473267555236816, -0.018816102296113968, 0.0321989543735981, 0.01057976484298706, -0.004476512782275677, -0.02775396779179573, 0.015956968069076538, -0.015298547223210335, -0.04878974333405495, -0.05150683596730232, -0.04259677231311798, 0.003715125611051917, -0.01441180519759655, 0.037732820957899094, 0.01873994618654251, 0.036851782351732254, 0.056083936244249344, 0.04590858146548271, -0.022468511015176773, -0.0358956977725029, 0.03091156855225563, 0.017447801306843758, -0.03151653707027435, -0.0570574514567852, -0.056640006601810455, 0.03390619531273842, 0.05759664252400398, -0.007609754800796509, -0.09443213045597076, 0.02152690477669239, 0.020727599039673805, -0.02221987582743168, 0.0641547292470932, -0.00982142798602581, 0.05894883722066879, 0.039608199149370193, -0.012395094148814678, 0.021607881411910057, -0.011046091094613075, 0.012465341947972775, -0.004023831803351641, 0.04178830608725548, -0.010169386863708496, -0.0408937931060791, -0.061738889664411545, 0.009929907508194447, 0.03454713895916939, 0.05452512949705124, 0.03838103264570236, -0.012724555097520351, -0.05491217225790024, 0.010640147142112255, 0.03926805034279823, -0.046449169516563416, 0.04970460385084152, 0.030251655727624893, 0.0276135616004467, -0.0507185272872448, -0.04451587051153183, -0.027105368673801422, 0.002723292214795947, 0.015928152948617935, 0.005773009266704321, -0.047809671610593796, -0.0683571994304657, 0.015696119517087936, -0.01711198128759861, -0.026535185053944588, -0.0737786516547203, 0.005392870865762234, -0.018769357353448868, 0.004376357886940241, 0.04644567519426346, 0.013975172303617, 0.04119056463241577, 0.042034875601530075, 0.008258115500211716, 0.020582808181643486, -0.04216509312391281, 0.04590442404150963, -0.013989144936203957, 0.001768933143466711, -0.02096177637577057, -0.058639805763959885, -0.013621526770293713, -0.03470991179347038, -0.03527618199586868, -0.05693592131137848, -0.0211018193513155, 0.02153087593615055, -0.0055193593725562096, 0.007519547361880541, -0.0314142182469368, 0.03877803683280945, -0.013068050146102905, -0.03665280342102051, -0.03568275645375252, -0.02762484736740589, -0.06307602673768997, -0.05534529685974121, 0.0313982293009758, 0.023208705708384514, 0.03197818994522095, 0.01897163689136505, 0.011142357252538204, 0.009765295311808586, 0.01117793656885624, -0.0062194340862333775, 0.03737254813313484, -0.008885934017598629, -0.04635275527834892, -0.029245523735880852, 0.015953443944454193, 0.008388644084334373, 0.008930004201829433, -0.03725271672010422, 0.030501697212457657, 0.019588857889175415, -0.03651314973831177, -0.0056924233213067055, 0.03491916134953499, 0.00802559033036232, -0.0689820796251297, -0.04948046803474426, -0.002873782068490982, -0.05923176556825638, 0.04922662675380707, -0.011426791548728943, -0.022712204605340958, 0.024893751367926598, 0.010279988870024681, 0.05850348249077797, -0.019910668954253197, -0.03245021775364876, 0.0096813403069973, -0.02655705437064171, 0.031054986640810966, -0.062077682465314865, 0.024820294231176376, -0.029254887253046036, -0.0012511878740042448, -0.008951286785304546, -0.018725629895925522, -0.04775340110063553, 0.04463890939950943, -0.012026998214423656, -0.028493395075201988, -0.0323389507830143, 0.024683726951479912, -0.030192121863365173, 0.047122929245233536, -0.03929855301976204, 0.020863104611635208, -0.05241311341524124, 0.05036226287484169, -0.05230585113167763, 0.015607460401952267, -0.02924453839659691, 0.00856473296880722, -0.02089405059814453, -0.006941665429621935, -0.027218155562877655, -0.04721842706203461, 0.0509834885597229, 0.03372999653220177, 0.040195681154727936, 0.023415064439177513, -0.016235221177339554, 0.014773386530578136, -0.004143923986703157, -0.08708957582712173, -0.026042956858873367, 0.0009300103993155062, 0.016831398010253906, -0.0006862113368697464, 0.050547901540994644, 0.062270548194646835, -0.04421374946832657, -0.05235621705651283, 0.04593273997306824, 0.02415260300040245, 0.005535488948225975, 0.0034592614974826574, 0.021658744663000107, 0.04183649644255638, 0.028965996578335762, -0.023386500775814056, -0.007018610369414091, -0.0025898476596921682, -0.012706291861832142, 0.025215916335582733, -0.005496239755302668, 0.03227831423282623, -0.01374251488596201, -0.048740748316049576, -0.04290187731385231, 0.05166935175657272, 0.027462584897875786, 0.012268990278244019, 0.0003710223827511072, -0.015394464135169983, 0.028224792331457138, 0.0036311219446361065, -0.0580054372549057, -0.003567853942513466, -0.016585633158683777, -0.023872526362538338, 0.05578131601214409, 0.0022977867629379034, 0.023673001676797867, 0.04933326318860054, 0.0028397704008966684, -0.01324219349771738, 0.03670235350728035, -0.03431929275393486, 0.037556860595941544, 0.05322353541851044, -0.03717783838510513, -0.0035154889337718487, -0.03220135346055031, 0.053432121872901917, -0.09077023714780807, 0.04784545302391052, 0.043596915900707245, 0.001889586914330721, 0.010179765522480011, -0.019954334944486618, -0.04133092239499092, 0.00611172616481781, -0.05521318316459656, 0.06694526225328445, 0.02035413309931755, -0.08101409673690796, 0.07888051867485046, 0.020110780373215675, -0.09051482379436493, 0.038335710763931274, 0.03604043647646904, 0.0008787849801592529, 0.023437995463609695, 0.02238057181239128, -0.05680708587169647, 0.030049186199903488, -0.042275384068489075, 0.019194621592760086, -0.03591994568705559, -0.0099331671372056, 0.046705491840839386, -0.027546774595975876, -0.02043278142809868, 0.021965015679597855, 0.007698407396674156, 0.0005880498210899532, 0.019222183153033257, -0.07069983333349228, -0.01451286394149065, -0.029469234868884087, 0.012444190680980682, -0.042439766228199005, 0.020246978849172592, -0.01580795645713806, 0.02724836766719818, 0.013010939583182335, -0.0016270813066512346, -0.049321748316287994, -0.003673938801512122, 0.03056057170033455, -0.067571721971035, -0.04741506278514862, 0.05053393542766571, 0.01731370948255062, -0.009685717523097992, 0.0440523736178875, -0.007630706764757633, 0.01906215399503708, 0.004185383673757315, -0.007545056752860546, 0.009482234716415405, -0.05533750355243683, -0.011194982565939426, 0.012476099655032158, 0.005780432373285294, 0.031555455178022385, 0.0001222646387759596, 0.0347229540348053, 0.048652082681655884, 0.03967224061489105, -0.015297737903892994, -0.038766857236623764, -0.030805131420493126, 0.0394081249833107, -0.05517272651195526, 0.029576392844319344, 0.0023082266561686993, -0.01828976720571518, -0.04248533770442009, -0.02181878685951233, -0.0009267315617762506, 0.050795841962099075, -0.06123422831296921, 0.001110651297494769, 0.042236801236867905, -0.03512636199593544, -0.026060981675982475, -0.05992147698998451, -0.027567025274038315, -0.029212018474936485, 0.021684274077415466, 0.027133937925100327, -0.03908545896410942, 0.0052843824960291386, -0.03159693256020546, -0.06206648796796799, 0.04918874800205231, 0.03505617007613182, -0.04410376027226448, 0.02490941807627678, 0.020304745063185692, -0.030559701845049858, 0.006965829525142908, 0.022234877571463585, -0.04193859174847603, 0.0012925299815833569, 0.0014583012089133263, -0.0008173076203092933, 0.015212545171380043, 0.024255767464637756, -0.029911641031503677, -0.017858607694506645, -0.06394875794649124, -0.030753381550312042, -0.0262600090354681, -0.0022263650316745043, 0.05495809018611908 ]
BigSalmon/InfillFormalLincoln
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-02-10T06:21:21Z
# measurement_time --- language: en datasets: - measurement_time --- This is a [t5-small](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) fine-tuned version on the [math_dataset/measurement_time](https://www.tensorflow.org/datasets/catalog/math_dataset#mathdatasetmeasurement_time) for solving **measurement time equations** mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("dbernsohn/t5_measurement_time") model = AutoModelWithLMHead.from_pretrained("dbernsohn/t5_measurement_time") ``` You can then use this model to solve algebra 1d equations into numbers. ```python query = "How many minutes are there between 2:09 PM and 2:27 PM?" input_text = f"{query} </s>" features = tokenizer([input_text], return_tensors='pt') model.to('cuda') output = model.generate(input_ids=features['input_ids'].cuda(), attention_mask=features['attention_mask'].cuda()) tokenizer.decode(output[0]) # <pad> 18</s> ``` Another examples: + How many minutes are there between 2:09 PM and 2:27 PM? + Answer: 18 Pred: 18 ---- + What is 116 minutes after 10:06 AM? + Answer: 12:02 PM Pred: 12:02 PM ---- + What is 608 minutes after 3:14 PM? + Answer: 1:22 AM Pred: 1:22 AM ---- + What is 64 minutes before 9:16 AM? + Answer: 8:12 AM Pred: 8:12 AM ---- + What is 427 minutes before 4:27 AM? + Answer: 9:20 PM Pred: 9:20 PM ---- + How many minutes are there between 6:36 PM and 12:15 AM? + Answer: 339 Pred: 339 ---- + What is 554 minutes before 5:24 PM? + Answer: 8:10 AM Pred: 8:10 AM ---- + What is 307 minutes after 5:15 AM? + Answer: 10:22 AM Pred: 10:22 AM The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/MathLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.01723477430641651, -0.019299255684018135, -0.009759453125298023, 0.020663265138864517, 0.017901837825775146, 0.03019125759601593, 0.001130928285419941, -0.012577944435179234, -0.03165227547287941, 0.04699379950761795, 0.03915850445628166, 0.01735100708901882, -0.013414891436696053, 0.04601506516337395, -0.039916012436151505, -0.05130155384540558, -0.02154303528368473, -0.01641656644642353, -0.023327503353357315, -0.023518910631537437, 0.01538855116814375, 0.01395333930850029, 0.00288193766027689, 0.024278301745653152, 0.018791552633047104, -0.00040406646439805627, -0.008531635627150536, 0.036036353558301926, 0.023287618532776833, -0.08944340795278549, -0.011572734452784061, -0.03132504224777222, -0.03577575832605362, -0.04192101210355759, -0.03342359513044357, 0.0036610569804906845, 0.007166523952037096, 0.03391556814312935, 0.02234923467040062, 0.05658736824989319, -0.0021165271755307913, 0.025416668504476547, 0.01805124245584011, -0.03508562594652176, 0.04487873241305351, 0.01970631815493107, -0.03077814355492592, -0.035489924252033234, 0.03470061719417572, -0.018354717642068863, -0.07092387974262238, -0.07704006135463715, -0.016464155167341232, 0.026623468846082687, -0.02529393509030342, -0.0029598979745060205, -0.06485019624233246, -0.0021064551547169685, 0.05627739802002907, -0.05516351759433746, -0.01820610649883747, 0.042114753276109695, -0.06780416518449783, 0.028471993282437325, 0.05546804517507553, -0.029666149988770485, 0.025580378249287605, -0.054151810705661774, 0.023107660934329033, -0.024496151134371758, 0.036653075367212296, -0.016437072306871414, 0.022724101319909096, -0.09425496309995651, 0.003909961320459843, -0.023286009207367897, 0.04895712062716484, 0.035300128161907196, -0.027998656034469604, 0.05744410306215286, 0.046192511916160583, -0.0034169326536357403, 0.02621595747768879, -0.015629073604941368, -0.0024212580174207687, 0.04603307321667671, -0.04894161969423294, 0.01528153382241726, -0.0031452514231204987, 0.046701982617378235, -0.04730207100510597, -0.044079847633838654, -0.037134766578674316, -0.03812658414244652, -0.01217107567936182, 0.022907251492142677, 0.0368141308426857, -0.0018226917600259185, 0.048061076551675797, 0.01353970542550087, 0.05812382325530052, 0.045521851629018784, -0.02389940433204174, 0.04108985513448715, -0.009006784297525883, -0.0014767327811568975, -0.0028201232198625803, -0.06659989804029465, -0.030475785955786705, 0.04947202652692795, 0.015891803428530693, -0.062357187271118164, -0.033797744661569595, 0.04191739857196808, 0.032707616686820984, -0.01757521741092205, 0.09017445892095566, -0.016260948032140732, -0.05081463232636452, -0.029988542199134827, 0.022590067237615585, -0.0008031417964957654, -0.00006033758836565539, 0.0163100678473711, -0.05231204628944397, 0.01808985136449337, -0.03995424881577492, -0.036190614104270935, -0.004506345372647047, 0.02121269702911377, 0.007446748204529285, 0.03152097016572952, 0.024919791147112846, -0.044241759926080704, 0.023323610424995422, 0.016944140195846558, -0.04074432700872421, 0.01580880954861641, 0.01920543611049652, 0.09646601229906082, -0.08089670538902283, -0.07748228311538696, 0.00031043769558891654, 0.005259933415800333, -0.036448583006858826, 0.012378706596791744, 0.008486594073474407, -0.04369969293475151, -0.03193902596831322, -0.024320444092154503, 0.05107611045241356, -0.05932701379060745, -0.0013722715666517615, 0.019351674243807793, 0.003955433145165443, 0.039824359118938446, -0.040722206234931946, -0.006446614395827055, -0.029850753024220467, -0.00473538413643837, -0.04968593642115593, 0.0806703194975853, -0.014956372790038586, 0.022691380232572556, -0.04142383486032486, -0.022922318428754807, 0.01724964752793312, 0.10306262969970703, 0.00693066930398345, -0.004792633466422558, -0.02614564076066017, 0.026500044390559196, 0.022282155230641365, 0.053035907447338104, -0.0354410819709301, 0.060946691781282425, 0.04062268137931824, 0.036948855966329575, -0.025641966611146927, 0.047474704682826996, 0.014118735678493977, -0.03475131466984749, -0.03394152224063873, 0.013443294912576675, 0.020750463008880615, -0.021481119096279144, 0.00162446778267622, 0.021705441176891327, -0.01753668114542961, -0.027055231854319572, -0.027365677058696747, 0.04331602901220322, -0.023105796426534653, 0.0006952957483008504, -0.0174576248973608, -0.009639935567975044, -0.034012310206890106, 0.015980830416083336, -0.025789547711610794, 0.0035954895429313183, -0.026360265910625458, -0.013740136288106441, -0.03323269635438919, 0.023209314793348312, 0.009922822006046772, 0.06636644899845123, -0.02694735862314701, 0.08892984688282013, -0.04166563227772713, 0.00913987960666418, -0.037493713200092316, -0.04710285738110542, -0.011847371235489845, 0.04742545634508133, 0.026960261166095734, 0.04404132813215256, -0.0013282094150781631, -0.035334233194589615, 0.043697986751794815, 0.07689277082681656, 0.029893897473812103, 0.022686542943120003, -0.02928600274026394, 0.0006673791795037687, 0.041310518980026245, 0.06905128061771393, -0.024622341617941856, -0.025251207873225212, 0.02907334826886654, 0.019372211769223213, 0.005947464145720005, 0.022892817854881287, -0.023623647168278694, 0.012158389203250408, -0.037445083260536194, -0.07861249148845673, 0.029334450140595436, 0.01682988367974758, 0.0019181821262463927, 0.026098979637026787, -0.017871268093585968, 0.0009201942593790591, 0.0055890255607664585, -0.022609157487750053, 0.008800877258181572, -0.02365069091320038, -0.008203127421438694, 0.024545660242438316, 0.0717998668551445, -0.061885107308626175, 0.026238534599542618, -0.015892766416072845, -0.017574355006217957, 0.06540631502866745, -0.014555342495441437, 0.01740809716284275, 0.07838194072246552, 0.023775245994329453, -0.02811049483716488, 0.02746317721903324, 0.004104163963347673, 0.052754100412130356, 0.05018569901585579, 0.007034807000309229, 0.07606586813926697, 0.01340597402304411, 0.025761928409337997, 0.06848107278347015, 0.024408109486103058, -0.002859612926840782, 0.06010046973824501, 0.07374154031276703, 0.01451257336884737, -0.007400238420814276, 0.04424629732966423, -0.08708752691745758, 0.03969681262969971, -0.02615789696574211, 0.004738657735288143, -0.004243017639964819, -0.015785692259669304, 0.05576261132955551, -0.001902448246255517, -0.0034702110569924116, 0.007840609177947044, -0.002251152414828539, -0.00562971131876111, 0.019128551706671715, -0.017326146364212036, -0.022723784670233727, -0.028640789911150932, -0.051628172397613525, -0.011588964611291885, -0.07290593534708023, -0.03298171982169151, -0.03763517737388611, -0.03168754279613495, -0.00776774762198329, -0.06746505945920944, -0.012507797218859196, -0.06779073178768158, -0.020014755427837372, 0.032838646322488785, 0.03264536336064339, 0.01052572950720787, -0.035153716802597046, 0.032124053686857224, -0.0468977726995945, -0.02437339909374714, -0.05510659143328667, -0.03219643235206604, -0.01226431131362915, -0.065865159034729, 0.03802650049328804, 0.05158554017543793, 0.034994106739759445, 0.02149643935263157, 0.007824717089533806, -0.037365205585956573, -0.015783919021487236, 0.05730865150690079, 0.023006582632660866, -0.009613389149308205, -0.06431116908788681, 0.04521140828728676, -0.009215060621500015, 0.04367415979504585, -0.04603368788957596, -0.023375753313302994, 0.07899209856987, 0.04790029674768448, 0.025966906920075417, -0.0028091983404010534, -0.010094989091157913, -0.05002288147807121, -0.0642787367105484, -0.028564956039190292, -0.024456506595015526, -0.012394746765494347, 0.003074323758482933, -0.03397234156727791, -0.006797143258154392, -0.061167798936367035, -0.005157816223800182, 0.0031168751884251833, 0.035585008561611176, 0.026286913082003593, 0.05726637318730354, 0.025998840108513832, 0.016036292538046837, -0.039718084037303925, -0.020718596875667572, 0.0691571906208992, 0.006841043010354042, 0.006199763622134924, -0.07351589947938919, -0.009538559243083, 0.049710217863321304, 0.04299311712384224, 0.0122081208974123, -0.019821912050247192, 0.06944992393255234, 0.013588018715381622, -0.0076338439248502254, 0.015993379056453705, -0.006767412181943655, 0.0037769018672406673, 0.004338887985795736, 0.028499050065875053, -0.01939307525753975, -0.0571211501955986, -0.020140035077929497, -0.014625992625951767, 0.04794938862323761, -0.05606053024530411, -0.041481561958789825, -0.03756152465939522, 0.028596889227628708, 0.013622540049254894, 0.010947342962026596, -0.042139019817113876, -0.00981362909078598, -0.04248090833425522, -0.01781376823782921, 0.03442883491516113, 0.029213503003120422, 0.002841078443452716, 0.03650381788611412, 0.029639460146427155, -0.019790168851614, 0.02171643264591694, 0.012295646592974663, 0.05085950344800949, 0.04023956134915352, -0.06310213357210159, 0.01155308447778225, -0.005314008332788944, 0.03163930028676987, -0.007892301306128502, -0.032857950776815414, -0.051032792776823044, -0.07136519253253937, -0.022714708000421524, 0.0060321562923491, -0.029591931030154228, 0.0005111917271278799, 0.017811445519328117, 0.012775029055774212, -0.00824403204023838, -0.0022064652293920517, 0.023666895925998688, 0.038983073085546494, -0.04247264191508293, 0.042456820607185364, -0.005799334961920977, 0.015074552036821842, -0.04600006714463234, 0.014877280220389366, -0.02583041414618492, 0.010223578661680222, -0.014781856909394264, 0.04264388978481293, 0.013155229389667511, 0.08477151393890381, 0.06859287619590759, 0.01475706696510315, -0.024950165301561356, 0.04926903545856476, 0.04630070552229881, -0.016201889142394066, -0.024657370522618294, 0.0007531792507506907, 0.00539926253259182, -0.03959622606635094, 0.018258243799209595, -0.014145811088383198, 0.02620045095682144, 0.06902528554201126, -0.011704906821250916, -0.008357270620763302, -0.010934490710496902, -0.020182665437459946, -0.028887061402201653, -0.06006861850619316, -0.03351239860057831, 0.007961471565067768, -0.032993607223033905, 0.027052365243434906, 0.020271962508559227, 0.013538151979446411, 0.05849601700901985, 0.03193066641688347, -0.01348785124719143, -0.025750068947672844, 0.03814171627163887, 0.022625448182225227, -0.06736325472593307, -0.07696695625782013, -0.061093252152204514, 0.00601947121322155, 0.040471408516168594, -0.017989501357078552, -0.05826844647526741, 0.021852638572454453, 0.03560076281428337, -0.032714053988456726, 0.06333927065134048, -0.013666214421391487, 0.024725114926695824, 0.05423932895064354, 0.011980847455561161, 0.03508276492357254, -0.037696193903684616, 0.02291043847799301, 0.029029907658696175, 0.047663357108831406, -0.03562150150537491, -0.03654556721448898, -0.06105849891901016, 0.036208730190992355, 0.03320956230163574, 0.05113687738776207, 0.03298109769821167, -0.0028775667306035757, -0.07507184892892838, 0.01811126619577408, 0.05317388102412224, -0.022751929238438606, 0.026683300733566284, 0.01849939115345478, 0.03173740953207016, -0.06324946135282516, -0.03291568160057068, -0.02710990235209465, 0.003023717785254121, 0.028364330530166626, 0.011879190802574158, -0.04703713580965996, -0.04684118926525116, 0.0019412415567785501, -0.0035948657896369696, -0.026364853605628014, -0.07080976665019989, 0.016287846490740776, -0.023224931210279465, -0.035643383860588074, 0.059975989162921906, 0.06659821420907974, 0.026966476812958717, 0.05014166608452797, 0.005685413256287575, 0.020291898399591446, -0.03679298236966133, 0.029395785182714462, -0.050357453525066376, -0.01696247048676014, 0.006661185994744301, -0.06719553470611572, -0.008896475657820702, -0.027101323008537292, -0.02927923947572708, -0.0573873408138752, -0.03650025278329849, 0.012948166579008102, -0.004098854027688503, 0.0334785170853138, -0.008351725526154041, 0.06774178892374039, -0.031230509281158447, -0.013749591074883938, -0.0014731312403455377, -0.023602759465575218, -0.05738295242190361, -0.06760616600513458, 0.021925434470176697, 0.014431359246373177, 0.020389245823025703, -0.007307963911443949, 0.02237566187977791, 0.010717273689806461, -0.00863648485392332, -0.03763870149850845, 0.025275196880102158, 0.008888578973710537, -0.030005529522895813, -0.028239360079169273, 0.0028896257281303406, 0.00908068660646677, 0.021005991846323013, -0.058773837983608246, 0.02494324930012226, 0.024812905117869377, -0.025835266336798668, -0.022063732147216797, 0.025235451757907867, 0.02786623314023018, -0.07378330826759338, -0.022485695779323578, -0.012820500880479813, -0.036155715584754944, 0.03562602773308754, -0.031244060024619102, -0.009676407091319561, 0.02366320975124836, 0.03018370270729065, 0.03524389863014221, 0.018356746062636375, -0.03678381070494652, 0.025351975113153458, -0.037749141454696655, 0.029668137431144714, -0.05777301266789436, 0.049327701330184937, -0.03354690596461296, 0.009137233719229698, -0.02556944638490677, 0.01664554700255394, -0.02744513563811779, 0.05000586435198784, -0.014561579562723637, -0.02175753191113472, -0.030355894938111305, 0.003935789689421654, -0.04109436273574829, 0.04812685027718544, -0.010831419378519058, 0.018808439373970032, -0.047367166727781296, 0.033237624913454056, -0.04677937924861908, 0.0040889764204621315, -0.014982416294515133, -0.003515133634209633, -0.01671062596142292, -0.03354274109005928, -0.015616501681506634, -0.027264894917607307, 0.020839404314756393, 0.023443909361958504, 0.026529669761657715, 0.02091224491596222, -0.02863442339003086, 0.0016798513242974877, 0.009946097619831562, -0.06341953575611115, -0.025289691984653473, -0.03303706645965576, 0.0006851783255115151, 0.003558582393452525, 0.026759073138237, 0.06122910603880882, -0.052475281059741974, -0.03667272627353668, 0.03130083903670311, 0.012582959607243538, 0.008684688247740269, 0.004586947616189718, 0.002231914782896638, 0.032373424619436264, 0.040885649621486664, -0.019168198108673096, -0.004646836780011654, -0.025695495307445526, -0.012254036031663418, 0.01880679652094841, -0.023917721584439278, 0.02694735676050186, -0.022180678322911263, -0.04263440892100334, -0.03929194062948227, 0.06315167993307114, 0.05800800397992134, 0.032827600836753845, 0.006432274356484413, -0.033621713519096375, 0.028865041211247444, 0.03521430492401123, -0.03879016265273094, -0.004999938420951366, -0.0014429063303396106, -0.016614913940429688, 0.07821661233901978, -0.005552726332098246, 0.01715770736336708, 0.044585492461919785, 0.022557254880666733, -0.020055361092090607, 0.05078180506825447, -0.0419614240527153, 0.036435894668102264, 0.044109247624874115, -0.03780616819858551, -0.006846124306321144, -0.025169111788272858, 0.06890125572681427, -0.060714323073625565, 0.05675619840621948, 0.019495604559779167, 0.018622301518917084, -0.009043869562447071, -0.007165621500462294, -0.053099505603313446, 0.03357516601681709, -0.050442155450582504, 0.07555998861789703, -0.02411140315234661, -0.05414821580052376, 0.06360497325658798, 0.018220333382487297, -0.053752463310956955, 0.0249848160892725, 0.03546921908855438, 0.04593328386545181, 0.04019106179475784, 0.03995933383703232, -0.06591064482927322, -0.011046644300222397, -0.03676897659897804, 0.03080626204609871, -0.06565580517053604, -0.03412247449159622, 0.029807666316628456, -0.029790669679641724, -0.02734585851430893, 0.04309707134962082, 0.00806813407689333, -0.026055987924337387, 0.014910457655787468, -0.07044327259063721, -0.048173222690820694, 0.0030580151360481977, 0.007766352500766516, -0.028505319729447365, -0.002582077169790864, -0.029873475432395935, 0.000006721537829434965, 0.01867547072470188, 0.003600821830332279, -0.028426431119441986, 0.006513242609798908, 0.037174489349126816, -0.05482129007577896, -0.03168296813964844, 0.04198329895734787, 0.017236683517694473, -0.031913720071315765, 0.029927998781204224, 0.004939052741974592, 0.0029147558379918337, 0.013321930542588234, 0.010103636421263218, 0.036909449845552444, -0.05889493599534035, -0.02880641259253025, 0.00401877798140049, 0.011989519000053406, 0.057308342307806015, -0.009559168480336666, 0.06210402771830559, 0.01272674836218357, 0.02472119964659214, 0.006758148316293955, -0.0302888173609972, -0.014712930656969547, -0.007899443618953228, -0.05392392352223396, 0.006374000571668148, 0.007732055615633726, -0.0569017268717289, -0.04290599748492241, -0.037106528878211975, -0.011527633294463158, 0.0036850296892225742, -0.036863479763269424, 0.00708637572824955, 0.038362178951501846, 0.004551433026790619, -0.04127708449959755, -0.08141905814409256, -0.024401335045695305, -0.0012019064743071795, 0.04526660591363907, 0.017094295471906662, -0.054679229855537415, -0.01228460855782032, -0.07172837108373642, -0.06194441765546799, 0.04102253541350365, 0.018665239214897156, -0.042970627546310425, 0.03633636236190796, 0.042460955679416656, -0.02276129089295864, 0.02776927500963211, 0.038960155099630356, -0.05263158306479454, 0.056632865220308304, 0.02407655119895935, 0.014979387633502483, 0.055742375552654266, 0.012840025126934052, -0.03578973188996315, -0.011770389042794704, -0.04844525828957558, -0.04922698810696602, -0.045596349984407425, -0.003998801112174988, 0.06425655633211136 ]
BigSalmon/InformalToFormalLincoln14
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
5
2021-02-08T06:38:01Z
# numbers_gcd --- language: en datasets: - numbers_gcd --- This is a [t5-small](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) fine-tuned version on the [math_dataset/numbers_gcd](https://www.tensorflow.org/datasets/catalog/math_dataset#mathdatasetnumbers_gcd) for solving **greatest common divisor** mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("dbernsohn/t5_numbers_gcd") model = AutoModelWithLMHead.from_pretrained("dbernsohn/t5_numbers_gcd") ``` You can then use this model to solve algebra 1d equations into numbers. ```python query = "What is the highest common factor of 4210884 and 72?" input_text = f"{query} </s>" features = tokenizer([input_text], return_tensors='pt') model.to('cuda') output = model.generate(input_ids=features['input_ids'].cuda(), attention_mask=features['attention_mask'].cuda()) tokenizer.decode(output[0]) # <pad> 36</s> ``` Another examples: + Calculate the greatest common factor of 3470 and 97090. + Answer: 10 Pred: 10 ---- + Calculate the highest common factor of 3480 and 775431. + Answer: 87 Pred: 87 ---- + What is the highest common divisor of 26 and 88049? + Answer: 13 Pred: 13 ---- + Calculate the highest common factor of 1416 and 24203688. + Answer: 1416 Pred: 1416 ---- + Calculate the highest common divisor of 124 and 69445828. + Answer: 124 Pred: 124 ---- + What is the greatest common factor of 657906 and 470? + Answer: 94 Pred: 94 ---- + What is the highest common factor of 4210884 and 72? + Answer: 36 Pred: 36 The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/MathLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.051307689398527145, -0.017786996439099312, -0.0012405852321535349, 0.04282413050532341, 0.015961602330207825, 0.03820378705859184, -0.014243269339203835, -0.011470994912087917, -0.016274340450763702, 0.02441595122218132, 0.02540348470211029, 0.011734344065189362, -0.0061882054433226585, 0.04805993661284447, -0.043790027499198914, -0.04566696658730507, -0.01668832078576088, -0.019676344469189644, -0.04208017513155937, -0.00799011904746294, 0.009056227281689644, 0.0017199297435581684, 0.006232102867215872, 0.01977042853832245, 0.004499823320657015, 0.005833097733557224, -0.009099163115024567, 0.03777968883514404, 0.04943843558430672, -0.08036347478628159, 0.004013422876596451, -0.036618899554014206, -0.04512522369623184, -0.030790315940976143, -0.024754803627729416, 0.01136687584221363, 0.01947999745607376, 0.026692137122154236, 0.014600985683500767, 0.05962550267577171, -0.01662261039018631, 0.027386890724301338, 0.031172404065728188, -0.036345355212688446, 0.03632939234375954, 0.01597576215863228, -0.038488760590553284, -0.032755736261606216, 0.030038384720683098, -0.007525615859776735, -0.07274866849184036, -0.07584276795387268, -0.03268812596797943, 0.0028901880141347647, -0.007078512106090784, -0.026884447783231735, -0.07816943526268005, -0.003064780728891492, 0.05130487680435181, -0.04005759209394455, -0.019763167947530746, 0.026456130668520927, -0.06912443786859512, 0.021553633734583855, 0.037021704018116, -0.02424205094575882, 0.025672994554042816, -0.034822091460227966, 0.014700295403599739, -0.029641957953572273, 0.056709133088588715, -0.02336154691874981, 0.012432270683348179, -0.10189605504274368, 0.021289130672812462, -0.01080811582505703, 0.038922522217035294, 0.04168263077735901, -0.03874271735548973, 0.0548628494143486, 0.03463530167937279, 0.014793605543673038, 0.01910249888896942, -0.017205728217959404, -0.010874975472688675, 0.04566197097301483, -0.04088897258043289, 0.016038961708545685, -0.00009757752559380606, 0.043089333921670914, -0.03616981953382492, -0.07183458656072617, -0.03182065114378929, -0.0268162339925766, -0.021844618022441864, 0.014722212217748165, 0.016980594024062157, -0.007417740300297737, 0.028273725882172585, 0.017732009291648865, 0.056259188801050186, 0.024325912818312645, -0.03550446033477783, 0.05504075065255165, 0.0018701547523960471, 0.013798745349049568, -0.0445023812353611, -0.0629926398396492, -0.04783513769507408, 0.03041861206293106, 0.03431374579668045, -0.05132478475570679, -0.048002567142248154, 0.019946832209825516, 0.03090078942477703, -0.03049490600824356, 0.08290787041187286, -0.027765411883592606, -0.05307653918862343, -0.017720235511660576, 0.02693767473101616, -0.006845240481197834, 0.012426577508449554, 0.024555793032050133, -0.05010513588786125, 0.016794437542557716, -0.0396910235285759, -0.020414575934410095, 0.00508061284199357, 0.008269280195236206, 0.012692117132246494, 0.03619682416319847, 0.033700332045555115, -0.04750810191035271, 0.005514788441359997, 0.04206061735749245, -0.030071737244725227, 0.022306084632873535, 0.008896665647625923, 0.08924903720617294, -0.0823819562792778, -0.0863514244556427, 0.01285701896995306, 0.015896596014499664, -0.0348711833357811, 0.005677106790244579, 0.012447403743863106, -0.044089023023843765, -0.04469754174351692, -0.0012283400865271688, 0.0687042623758316, -0.04332796856760979, -0.015421883203089237, 0.046169381588697433, 0.007372929714620113, 0.019440975040197372, -0.03386126458644867, -0.011603321880102158, -0.01882827840745449, 0.015463506802916527, -0.0340101420879364, 0.060416512191295624, -0.020751312375068665, -0.005147359799593687, -0.046599745750427246, -0.03435448184609413, 0.023309092968702316, 0.09632068127393723, 0.010928336530923843, -0.007384838070720434, -0.010391355492174625, 0.041484247893095016, 0.03058939427137375, 0.05954330414533615, -0.04197854548692703, 0.06061406806111336, 0.02705555036664009, 0.03253597393631935, 0.00930881779640913, 0.02611015923321247, 0.02145420014858246, -0.023647792637348175, -0.025113005191087723, -0.002807710086926818, 0.0074334098026156425, -0.021497942507267, 0.0013238542014732957, 0.010706881061196327, 0.0017900295788422227, -0.019743822515010834, -0.023561621084809303, 0.05916382372379303, -0.012438550591468811, -0.01191722508519888, -0.009744163602590561, -0.010236896574497223, -0.03272077068686485, 0.030042529106140137, -0.04364670068025589, 0.00016096887702587992, -0.025747045874595642, -0.01644023321568966, -0.000940403901040554, 0.013309519737958908, 0.00876360572874546, 0.06779851019382477, -0.026235738769173622, 0.058190636336803436, -0.05359983071684837, 0.016167841851711273, -0.06283733993768692, -0.04182279855012894, -0.03083871304988861, 0.016879141330718994, 0.04001738131046295, 0.034073200076818466, 0.0031746116001158953, -0.04611678421497345, 0.04277501255273819, 0.059595245867967606, 0.054734691977500916, 0.041395775973796844, -0.017092397436499596, 0.004214754328131676, 0.027317630127072334, 0.06538822501897812, -0.03723732382059097, -0.026858624070882797, 0.035851143300533295, 0.03954380378127098, 0.004708976484835148, 0.01959865540266037, -0.03652484342455864, 0.014575439505279064, -0.04376288875937462, -0.062077417969703674, 0.021237589418888092, 0.015770209953188896, 0.010632622987031937, 0.022286701947450638, -0.0343310609459877, -0.004287209827452898, 0.028876841068267822, -0.019773511216044426, -0.00008325944509124383, -0.05046450346708298, 0.008611156605184078, 0.0012261394876986742, 0.058995865285396576, -0.05404580757021904, 0.04516990855336189, -0.009827199392020702, 0.004478147719055414, 0.04034554213285446, 0.0017623195890337229, 0.021825138479471207, 0.045490872114896774, 0.02209075540304184, -0.018341168761253357, 0.02476966381072998, 0.012780901044607162, 0.03738342970609665, 0.04120795801281929, 0.00854412093758583, 0.06974048167467117, 0.0028226282447576523, 0.04129508137702942, 0.08454030007123947, 0.02114187180995941, 0.013088289648294449, 0.0696052610874176, 0.0680856704711914, 0.010396788828074932, -0.0064835939556360245, 0.013701485469937325, -0.05829412490129471, 0.052323635667562485, -0.018765369430184364, 0.007469802629202604, -0.008897854015231133, -0.025885414332151413, 0.0850483626127243, 0.00558527372777462, -0.004391098394989967, 0.006535057909786701, -0.015875471755862236, -0.020624320954084396, 0.02788434363901615, -0.020683035254478455, -0.012128947302699089, -0.0006627331604249775, -0.036649659276008606, -0.015082286670804024, -0.0703720673918724, -0.026015980169177055, -0.027080893516540527, -0.045772965997457504, -0.007562874350696802, -0.08476271480321884, -0.01454924326390028, -0.06408044695854187, -0.02663334086537361, 0.04233747720718384, 0.042698003351688385, 0.010614213533699512, -0.03845534846186638, 0.019232766702771187, -0.06007065251469612, -0.024049630388617516, -0.057758864015340805, -0.027308834716677666, -0.02596089243888855, -0.07284976541996002, 0.05014047399163246, 0.01721629686653614, 0.03916037082672119, 0.006559894885867834, -0.006529583595693111, -0.036670051515102386, -0.01261298917233944, 0.05123782530426979, 0.06073622405529022, -0.005440128035843372, -0.055098261684179306, 0.030490515753626823, -0.003815257456153631, 0.014117719605565071, -0.05309758707880974, -0.03213544189929962, 0.07628422230482101, 0.05963601544499397, 0.022366706281900406, 0.01254986971616745, -0.006402336526662111, -0.04425689950585365, -0.03895552083849907, -0.015147092752158642, -0.01941114291548729, 0.0070831505581736565, -0.007117188535630703, -0.0417608842253685, -0.014519689604640007, -0.05860200524330139, -0.014678762294352055, 0.010500187985599041, 0.03543778881430626, 0.04098998382687569, 0.0494496114552021, 0.03173890337347984, 0.026317333802580833, -0.023970292881131172, -0.03421495854854584, 0.07699421048164368, -0.002413906389847398, 0.0051039899699389935, -0.045306798070669174, -0.034429263323545456, 0.055153727531433105, 0.03641828894615173, 0.024209989234805107, -0.008080785162746906, 0.055003587156534195, 0.005888496991246939, -0.01761668547987938, 0.012705282308161259, -0.033148348331451416, -0.003962633665651083, 0.02006794512271881, 0.010195460170507431, -0.022661544382572174, -0.04622546210885048, -0.028132876381278038, -0.02741951495409012, 0.06065069139003754, -0.06393896788358688, -0.05654306709766388, -0.04068154841661453, 0.03053954616189003, 0.013773717917501926, 0.03317325934767723, -0.05419089272618294, 0.006782200187444687, -0.06484533101320267, -0.033109840005636215, 0.03986823186278343, 0.023189440369606018, 0.0162153709679842, 0.04937632754445076, 0.030771242454648018, -0.0006425027386285365, 0.029743453487753868, 0.03126759082078934, 0.06252852082252502, 0.022697146981954575, -0.056511662900447845, -0.005925202276557684, -0.01762211322784424, 0.028927210718393326, -0.015504837967455387, -0.038259152323007584, -0.05034162476658821, -0.09102168679237366, -0.051074471324682236, 0.003739051055163145, -0.0349910631775856, -0.006017609965056181, 0.01854546181857586, 0.02858877182006836, -0.01266451831907034, 0.004289703443646431, 0.018999073654413223, 0.04043060913681984, -0.03128373995423317, 0.04885011538863182, 0.01728900894522667, 0.02139975316822529, -0.02308575063943863, 0.0012198399053886533, -0.01401343010365963, -0.026878660544753075, -0.022433673962950706, 0.04274943843483925, 0.016115982085466385, 0.08945589512586594, 0.06444378942251205, 0.0002892894553951919, -0.024600669741630554, 0.05883094295859337, 0.06172076240181923, -0.02266758121550083, -0.026318384334445, 0.006022989749908447, -0.014829869382083416, -0.03525206074118614, 0.010160666890442371, -0.017120007425546646, 0.031060855835676193, 0.05837560445070267, -0.00373126775957644, -0.0049132732674479485, -0.0050287991762161255, -0.02223898097872734, -0.03794994577765465, -0.06725556403398514, -0.01356713566929102, 0.03168428689241409, -0.03364844620227814, 0.01837068982422352, 0.02686665952205658, 0.02390049584209919, 0.05490688607096672, 0.042826082557439804, -0.020551638677716255, -0.015499959699809551, 0.03601747751235962, 0.031309645622968674, -0.05125848948955536, -0.06415922194719315, -0.0676235482096672, 0.018642984330654144, 0.05352264642715454, -0.01086761336773634, -0.05690174549818039, 0.015773754566907883, 0.05168642848730087, -0.031462959945201874, 0.06371434032917023, -0.019985416904091835, 0.026431946083903313, 0.07437711209058762, -0.001328001031652093, 0.03731292858719826, -0.018935181200504303, 0.02298467978835106, 0.026578305289149284, 0.04175751283764839, -0.04426952823996544, -0.047879792749881744, -0.05019154027104378, 0.0347779206931591, 0.048251327127218246, 0.028386078774929047, 0.03583962097764015, -0.009468100033700466, -0.0719992145895958, 0.011255328543484211, 0.060353707522153854, -0.005858834832906723, 0.01622890867292881, 0.03196010738611221, 0.020312000066041946, -0.07296467572450638, -0.02513684146106243, -0.03625738248229027, 0.015043740160763264, 0.03718728572130203, -0.004447078797966242, -0.040633734315633774, -0.044573888182640076, -0.0002110279310727492, -0.013388658873736858, -0.04087096080183983, -0.07734473794698715, 0.04853798449039459, -0.030323529615998268, -0.030269375070929527, 0.07003515958786011, 0.06250625848770142, 0.03132404014468193, 0.05941735580563545, -0.0021129725500941277, 0.0053642792627215385, -0.03979523479938507, 0.027435295283794403, -0.06434125453233719, -0.031902965158224106, -0.008760523982346058, -0.06838278472423553, -0.003159980056807399, -0.03234505280852318, -0.024155907332897186, -0.04719025269150734, -0.022940434515476227, 0.023428380489349365, -0.008021716959774494, 0.02962310239672661, -0.0013301654253154993, 0.06342021375894547, -0.03331119939684868, -0.016746284440159798, -0.024221617728471756, -0.029851073399186134, -0.049792807549238205, -0.06275098025798798, 0.0295329038053751, 0.009747587144374847, 0.022481244057416916, -0.0035662467125803232, 0.02490377239882946, 0.01983777992427349, -0.013986127451062202, -0.020393993705511093, 0.022461239248514175, 0.016884133219718933, -0.03377882391214371, -0.04715755209326744, 0.01711912266910076, 0.021107150241732597, 0.020551200956106186, -0.035963546484708786, 0.028864599764347076, 0.02156466245651245, -0.021709905937314034, -0.015002886764705181, 0.0374394915997982, 0.03324722498655319, -0.06710677593946457, -0.013209676370024681, -0.015270947478711605, -0.03988990932703018, 0.030364394187927246, -0.013043740764260292, -0.016058124601840973, 0.003404325107112527, 0.022902512922883034, 0.040363602340221405, 0.011920743621885777, -0.04941124469041824, 0.01739102602005005, -0.060227252542972565, 0.035278987139463425, -0.05032749101519585, 0.025233840569853783, -0.03268306702375412, 0.012904113158583641, -0.025390900671482086, 0.009974838234484196, -0.031282223761081696, 0.03179832920432091, -0.011632638983428478, -0.02514401450753212, -0.015829993411898613, 0.0009145800722762942, -0.04637500271201134, 0.0577034056186676, -0.018734706565737724, 0.02778625302016735, -0.03218652680516243, 0.05175813287496567, -0.04087797552347183, 0.0019000020110979676, -0.010277320630848408, 0.00488706910982728, -0.0355679877102375, -0.007724188733845949, 0.002096558688208461, -0.033429116010665894, 0.03531826660037041, 0.04203971102833748, 0.025785084813833237, -0.002323676133528352, -0.020018374547362328, 0.0029643296729773283, 0.016019653528928757, -0.07419911026954651, -0.02461104653775692, -0.02140115574002266, -0.0015823545400053263, -0.013291304931044579, 0.034185297787189484, 0.04878624901175499, -0.04200438782572746, -0.05064899101853371, 0.045278459787368774, 0.010343331843614578, 0.010260612703859806, 0.013338904827833176, 0.004178568255156279, 0.022016450762748718, 0.054277315735816956, -0.03511117026209831, 0.005259811412543058, -0.03490694984793663, -0.0070967283099889755, -0.0010589463636279106, -0.01911839097738266, 0.029724860563874245, -0.0004405317595228553, -0.03901831805706024, -0.0472470186650753, 0.06222474202513695, 0.05155321955680847, 0.024279965087771416, 0.007073227781802416, -0.03447870910167694, 0.03338530659675598, 0.030509624630212784, -0.02927534095942974, -0.010586726479232311, -0.01068724412471056, -0.042135607451200485, 0.07151645421981812, -0.004315171856433153, 0.007525426335632801, 0.012816176749765873, 0.018447596579790115, -0.01427872572094202, 0.057559482753276825, -0.04840373992919922, 0.0072745513170957565, 0.031869854778051376, -0.03262172266840935, -0.016260236501693726, -0.023478826507925987, 0.06379730999469757, -0.045163385570049286, 0.07919078320264816, 0.023102736100554466, -0.0016260955017060041, 0.005089983809739351, -0.01984768733382225, -0.03166351094841957, 0.018782444298267365, -0.039326347410678864, 0.06707338243722916, -0.023300539702177048, -0.05621296167373657, 0.06947274506092072, 0.011676512658596039, -0.06180702522397041, 0.03886928781867027, 0.06914736330509186, 0.04584554210305214, 0.05359642952680588, 0.025241639465093613, -0.05913667380809784, 0.0009899515425786376, -0.0568220317363739, 0.04568199813365936, -0.053038179874420166, -0.03846869617700577, 0.02395656146109104, -0.012439374811947346, -0.011433372274041176, 0.05828729644417763, 0.005082373041659594, -0.013311347924172878, 0.03002089448273182, -0.06508506834506989, -0.035929348319768906, -0.0008243583724834025, 0.02470574527978897, -0.023022707551717758, -0.00028235086938366294, -0.03296539559960365, 0.03257599100470543, 0.015222588554024696, -0.007684056181460619, -0.029869437217712402, 0.013678946532309055, 0.02951315976679325, -0.044860728085041046, -0.03274372220039368, 0.03777508810162544, 0.0031922119669616222, -0.047557566314935684, 0.02264367789030075, -0.0039211902767419815, 0.01846623234450817, 0.024362413212656975, 0.007241321261972189, 0.0011710097314789891, -0.03698279708623886, -0.0070828599855303764, -0.005865057464689016, 0.012745088897645473, 0.04251563921570778, -0.018492436036467552, 0.038623400032520294, 0.017054911702871323, 0.024359462782740593, -0.014183850958943367, -0.028422342613339424, -0.02714148536324501, 0.0063275243155658245, -0.04251633584499359, 0.022011293098330498, -0.006248532794415951, -0.05055860057473183, -0.049776796251535416, -0.00698969466611743, -0.031231693923473358, 0.029326530173420906, -0.059885866940021515, 0.016800332814455032, 0.04131554067134857, 0.014635968022048473, -0.03453619405627251, -0.07724335789680481, -0.019635220989584923, -0.011904221028089523, 0.04217877238988876, 0.021724006161093712, -0.04862869903445244, 0.010675209574401379, -0.056551530957221985, -0.051699649542570114, 0.04561792314052582, 0.005896574351936579, -0.034710608422756195, 0.02401454746723175, 0.02909580059349537, -0.03739914670586586, 0.016274988651275635, 0.028494052588939667, -0.03302251175045967, 0.02992361970245838, 0.03610479086637497, 0.013188710436224937, 0.04279843345284462, 0.013559029437601566, -0.0568171851336956, -0.015980014577507973, -0.058694988489151, -0.05577053874731064, -0.03434232249855995, 0.021713832393288612, 0.06715495139360428 ]
BigSalmon/InformalToFormalLincoln15
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
null
# t5_wikisql_SQL2en --- language: en datasets: - wikisql --- This is a [t5-small](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) fine-tuned version on the [wikisql dataset](https://huggingface.co/datasets/wikisql) for **SQL** to **English** **translation** text2text mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("dbernsohn/t5_wikisql_SQL2en") model = AutoModelWithLMHead.from_pretrained("dbernsohn/t5_wikisql_SQL2en") ``` You can then use this model to translate SQL queries into plain english. ```python query = "SELECT people FROM peoples where age > 10" input_text = f"translate SQL to English: {query} </s>" features = tokenizer([input_text], return_tensors='pt') output = model.generate(input_ids=features['input_ids'].cuda(), attention_mask=features['attention_mask'].cuda()) tokenizer.decode(output[0]) # Output: "What people are older than 10?" ``` The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/SQLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.022855401039123535, -0.0409022681415081, 0.0002787904522847384, 0.05736813321709633, 0.02686082199215889, 0.03049478493630886, -0.017329953610897064, -0.007748128846287727, -0.02477959543466568, 0.04889838770031929, 0.023237967863678932, 0.005142822861671448, 0.014242804609239101, 0.05106379836797714, -0.04497027024626732, -0.03143724054098129, -0.029357675462961197, -0.0028978195041418076, -0.03160366415977478, -0.014139481820166111, 0.007191019598394632, 0.019987603649497032, 0.013311482965946198, 0.008572813123464584, -0.002633086871355772, 0.02284550666809082, -0.03031482920050621, 0.04087729752063751, 0.023569371551275253, -0.06122354045510292, 0.006120935548096895, -0.031376320868730545, -0.02348998747766018, -0.021792637184262276, -0.027506565675139427, -0.0032977156806737185, 0.009271274320781231, 0.01334801223129034, 0.023389853537082672, 0.053827572613954544, -0.011463713832199574, 0.02211289294064045, 0.01881297677755356, -0.045092061161994934, 0.038823872804641724, 0.016974590718746185, -0.03354246914386749, -0.020046204328536987, 0.03333946317434311, -0.023552846163511276, -0.0484941266477108, -0.07009527832269669, -0.034350816160440445, 0.019997989758849144, -0.023494724184274673, -0.021584047004580498, -0.07786665856838226, -0.01175034698098898, 0.07087241113185883, -0.03766205534338951, -0.03007158637046814, 0.015511206351220608, -0.055072154849767685, 0.007256184238940477, 0.030702050775289536, -0.028138764202594757, 0.013541246764361858, -0.041270069777965546, 0.024201583117246628, -0.027268866077065468, 0.044851165264844894, -0.03583906590938568, 0.0216959398239851, -0.09080043435096741, -0.020443275570869446, 0.012143593281507492, 0.031700100749731064, 0.03411145508289337, -0.03414030000567436, 0.06791678816080093, 0.01895909197628498, -0.005670782178640366, 0.02995961904525757, -0.003026101505383849, -0.03529892861843109, 0.05278782919049263, -0.04983510076999664, 0.004971960559487343, -0.0008910090546123683, 0.03332284837961197, -0.039559610188007355, -0.04938241094350815, -0.01911000721156597, -0.025545882061123848, -0.0026211461517959833, 0.022752953693270683, 0.03502916172146797, -0.00825584214180708, 0.02466481737792492, 0.021311840042471886, 0.03504312038421631, 0.04014522209763527, -0.010395051911473274, 0.0628587156534195, -0.0017661470919847488, 0.014129852876067162, -0.019276956096291542, -0.04477715119719505, -0.036609891802072525, 0.02306968718767166, 0.02099546603858471, -0.054855432361364365, -0.05323195457458496, 0.02775046043097973, 0.03601987659931183, -0.02702389657497406, 0.07703035324811935, -0.0190663393586874, -0.04351084679365158, -0.02929542399942875, 0.06072143092751503, 0.005238588899374008, 0.004597553983330727, -0.0009073099354282022, -0.059360090643167496, 0.019472941756248474, -0.042485401034355164, -0.026722924783825874, 0.00537636736407876, 0.02887062542140484, 0.0035738185979425907, 0.02752234786748886, 0.04233803227543831, -0.07177664339542389, -0.0006256456254050136, 0.03423513472080231, -0.05699242278933525, 0.04876551032066345, 0.04519837349653244, 0.1090036928653717, -0.06709238141775131, -0.07318637520074844, 0.00408680085092783, 0.010411319322884083, -0.03358788043260574, -0.004852722864598036, 0.01076034177094698, -0.048868004232645035, -0.02556980587542057, -0.009073607623577118, 0.0752488523721695, -0.0447235070168972, -0.017265303060412407, 0.03669016435742378, -0.007660877890884876, 0.027787618339061737, -0.04359372705221176, -0.012461149133741856, -0.0016088784905150533, 0.016218893229961395, -0.03693755343556404, 0.03941420838236809, -0.007949575781822205, 0.01947544515132904, -0.05066242441534996, -0.04052570462226868, 0.004088894929736853, 0.0745086744427681, -0.0027495953254401684, -0.019625673070549965, -0.02639324963092804, 0.03175177052617073, 0.05162180960178375, 0.03626016154885292, -0.028324171900749207, 0.025041064247488976, 0.045334070920944214, 0.06068001314997673, 0.006880478467792273, 0.04477125033736229, 0.029506156221032143, -0.03206171840429306, -0.018725069239735603, 0.01622515171766281, -0.0038804979994893074, -0.04033210873603821, 0.021738603711128235, 0.032467182725667953, -0.015756582841277122, -0.00916542299091816, -0.015413827262818813, 0.05404546856880188, -0.005964720156043768, -0.0013662915444001555, -0.012038812041282654, 0.002324405126273632, -0.01902722381055355, 0.030038271099328995, -0.03157973289489746, 0.012246793136000633, -0.034461479634046555, -0.03011699765920639, -0.0001317379210377112, 0.024483248591423035, 0.022880928590893745, 0.04956991970539093, -0.013927281834185123, 0.09622155874967575, -0.03859208896756172, 0.016778361052274704, -0.05156499519944191, -0.05111333727836609, 0.016799919307231903, 0.021392611786723137, 0.019794436171650887, 0.037237249314785004, 0.019912971183657646, -0.049167975783348083, 0.02945038303732872, 0.08797445893287659, 0.07441237568855286, 0.04969196394085884, -0.019557300955057144, 0.011115365661680698, 0.025921935215592384, 0.06026638671755791, -0.035430051386356354, -0.034389428794384, -0.0007991643506102264, 0.037890899926424026, -0.011919911950826645, 0.0282308179885149, -0.01704835146665573, 0.0217342097312212, -0.04909275844693184, -0.05207449197769165, 0.04698854684829712, 0.035385966300964355, -0.0007609286694787443, 0.04632215201854706, 0.003582870587706566, 0.0024236063472926617, 0.026128441095352173, 0.003036212408915162, -0.0013713055523112416, -0.04667269065976143, -0.020905815064907074, -0.005861244164407253, 0.0567312017083168, -0.05366010591387749, 0.04275508597493172, -0.00466102035716176, -0.011368724517524242, 0.06741581857204437, -0.020838405936956406, 0.017326204106211662, 0.03587545454502106, -0.005134616047143936, -0.024304287508130074, 0.014191231690347195, 0.023597348481416702, 0.030996153131127357, 0.07457238435745239, 0.023531218990683556, 0.057064902037382126, 0.005264241248369217, 0.03190496191382408, 0.08268626779317856, 0.024863524362444878, 0.008507926017045975, 0.04194371774792671, 0.07506991922855377, -0.016123158857226372, 0.010250229388475418, 0.05671722814440727, -0.041398223489522934, 0.02454344555735588, -0.03891219571232796, 0.014681912027299404, -0.024819448590278625, -0.010513265617191792, 0.030441712588071823, 0.014265673235058784, -0.026757920160889626, 0.030716098845005035, -0.0423070453107357, -0.023272285237908363, 0.0376269668340683, -0.008760779164731503, -0.00830678641796112, -0.026648927479982376, -0.04096921160817146, 0.021236710250377655, -0.07398193329572678, -0.04110916331410408, -0.01301470398902893, -0.04278091341257095, -0.014103716239333153, -0.0626022070646286, -0.024247413501143456, -0.07870443165302277, -0.03560309484601021, 0.024713188409805298, 0.01999564655125141, 0.004966430831700563, -0.015010290779173374, 0.008470863103866577, -0.05666189268231392, -0.022150704637169838, -0.05780617520213127, -0.04079047963023186, -0.03933681175112724, -0.06475266069173813, 0.03878999128937721, 0.04700848087668419, 0.02867109514772892, 0.005151569843292236, -0.005079164635390043, -0.027735162526369095, -0.02354177087545395, 0.06306324899196625, 0.027276169508695602, -0.02033938467502594, -0.04327154904603958, 0.025897398591041565, -0.02234085462987423, 0.04184099659323692, -0.023135995492339134, -0.02772882767021656, 0.07029332220554352, 0.07201360166072845, 0.025920666754245758, 0.015948543325066566, -0.012553537264466286, -0.0407455675303936, -0.04481492191553116, -0.018642399460077286, -0.01827343739569187, -0.02247788943350315, -0.013204788789153099, -0.05039918050169945, 0.000016316776964231394, -0.05265933647751808, -0.01418761070817709, -0.006611591670662165, 0.023524325340986252, 0.03490066155791283, 0.03730160370469093, 0.030568867921829224, 0.03099551796913147, -0.032577864825725555, -0.01559530384838581, 0.06798157095909119, -0.015155665576457977, 0.031178507953882217, -0.07096249610185623, -0.028193239122629166, 0.054215990006923676, 0.04217161983251572, 0.015845391899347305, -0.004461912903934717, 0.08048397302627563, 0.02618924155831337, -0.006291520781815052, 0.00007929954881547019, -0.03315643593668938, -0.021373296156525612, 0.01996679976582527, -0.010445167310535908, -0.02812955528497696, -0.05217679217457771, -0.021797262132167816, -0.0034722706768661737, 0.05073444917798042, -0.0730353593826294, -0.03259802609682083, -0.02389930933713913, 0.01570782996714115, 0.03128911927342415, 0.006372347474098206, -0.03755880147218704, 0.0025834599509835243, -0.051830362528562546, -0.03634057193994522, 0.031565528362989426, 0.02106976881623268, 0.012185013853013515, 0.04569881781935692, 0.04390751197934151, -0.02196546457707882, 0.04288126528263092, 0.025300638750195503, 0.04972148686647415, 0.02839840203523636, -0.04438154771924019, 0.014647763222455978, -0.03440861403942108, 0.04263865202665329, -0.017424888908863068, -0.02412811666727066, -0.06100139766931534, -0.06089579686522484, -0.028456242755055428, 0.0011645423946902156, -0.03508451581001282, -0.012289809063076973, 0.04725583642721176, 0.007700198329985142, -0.02415279671549797, -0.014705237001180649, -0.0011939293472096324, 0.05061328783631325, -0.04311112314462662, 0.04583939164876938, 0.014970806427299976, 0.041134003549814224, -0.052258219569921494, 0.009117397479712963, -0.01260912325233221, 0.002229102188721299, -0.024458080530166626, 0.061439238488674164, 0.019384348765015602, 0.058435097336769104, 0.05600108578801155, 0.001825519371777773, -0.059911370277404785, 0.05527577921748161, 0.04180305451154709, -0.028502026572823524, -0.020397556945681572, 0.0008253349806182086, -0.010966203175485134, -0.030411534011363983, -0.0011988191399723291, -0.02343125268816948, 0.033075377345085144, 0.047164186835289, -0.001971328863874078, -0.008642234839498997, 0.016997631639242172, -0.019127588719129562, -0.03208790346980095, -0.057839225977659225, -0.007716607768088579, -0.003793932730332017, -0.016097228974103928, 0.026125574484467506, 0.03545616194605827, 0.014200521633028984, 0.07364227622747421, 0.05463152751326561, -0.028235187754034996, -0.03562011197209358, 0.02718525379896164, 0.03935104236006737, -0.062461476773023605, -0.0656069666147232, -0.05766049772500992, 0.020406123250722885, 0.0412331148982048, -0.017193511128425598, -0.08338051289319992, 0.01728167198598385, 0.033815428614616394, -0.03555736690759659, 0.06688249111175537, -0.019342951476573944, 0.03502785041928291, 0.06585115194320679, -0.001874306588433683, 0.016822388395667076, -0.020355068147182465, 0.009413804858922958, -0.005409646779298782, 0.06481709331274033, -0.02115142159163952, -0.03435904532670975, -0.044336963444948196, 0.042314525693655014, 0.01821759156882763, 0.04969803988933563, 0.0383358933031559, -0.007477682549506426, -0.07062647491693497, 0.019011788070201874, 0.03710663318634033, -0.008501855656504631, 0.014759629964828491, 0.025217005982995033, 0.03479868546128273, -0.05811814218759537, -0.028778811916708946, -0.035068098455667496, -0.006514368578791618, 0.031782593578100204, -0.005470295436680317, -0.03812467306852341, -0.0432121716439724, 0.0034342727158218622, -0.03922951593995094, -0.01853003352880478, -0.06968030333518982, 0.017621492967009544, 0.006355057470500469, -0.007248407229781151, 0.051179394125938416, 0.043995656073093414, 0.03139255568385124, 0.02377891354262829, -0.005860703065991402, 0.012949562631547451, -0.05205656960606575, 0.040664687752723694, -0.03155020996928215, -0.003746293717995286, -0.0120595283806324, -0.05933769792318344, -0.011100019328296185, -0.04976499825716019, -0.05788695439696312, -0.06272590160369873, -0.0123117845505476, 0.036773931235075, -0.016708096489310265, 0.019088704138994217, -0.0038195401430130005, 0.0716371238231659, -0.036829207092523575, -0.02106349915266037, -0.016317017376422882, -0.03002525120973587, -0.08241965621709824, -0.041637878865003586, 0.017817065119743347, 0.03268258273601532, 0.03351626545190811, -0.006948194466531277, 0.01537280436605215, 0.009164112620055676, -0.018506303429603577, -0.01876462996006012, 0.015670819208025932, 0.006544110365211964, -0.030966347083449364, -0.050277069211006165, -0.0008646190981380641, 0.03494766354560852, 0.02396613359451294, -0.021220112219452858, 0.022744661197066307, 0.021176699548959732, -0.022513598203659058, -0.04272226616740227, 0.013884107582271099, 0.024911990389227867, -0.10520482808351517, -0.02358902059495449, -0.003560519777238369, -0.046825893223285675, 0.036548733711242676, -0.024283677339553833, -0.02422482892870903, -0.003868165658786893, 0.0059075793251395226, 0.0335591696202755, 0.01767646335065365, -0.05582674965262413, 0.021625248715281487, -0.039140041917562485, 0.040276411920785904, -0.04315800219774246, 0.03190927952528, -0.04332084208726883, -0.0027678273618221283, -0.01889726333320141, 0.006102854385972023, -0.04101281613111496, 0.03327503055334091, 0.00008104711741907522, -0.027133328840136528, -0.020860258489847183, 0.0023374767042696476, -0.02864513173699379, 0.022129619494080544, -0.027108918875455856, 0.02844124473631382, -0.02050766348838806, 0.03509785234928131, -0.04281802475452423, -0.0017877029022201896, -0.03203083947300911, -0.01827467791736126, -0.04775824770331383, -0.009022572077810764, -0.02027454972267151, -0.027813145890831947, 0.019823824986815453, 0.01586681231856346, 0.04291943088173866, 0.022363677620887756, -0.02381717972457409, 0.010596569627523422, 0.021093273535370827, -0.06939315795898438, -0.026101194322109222, -0.019312342628836632, 0.008407458662986755, 0.0041219196282327175, 0.0620216429233551, 0.04779212549328804, -0.05292767658829689, -0.049374256283044815, 0.040105339139699936, -0.00022697066015098244, 0.011929983273148537, 0.01123551744967699, -0.010480607859790325, 0.030536159873008728, 0.05121944099664688, -0.046698469668626785, 0.003827288979664445, -0.03265048936009407, -0.02470029518008232, 0.016099268570542336, -0.005934563931077719, 0.010135739110410213, -0.0009485157788731158, -0.033084992319345474, -0.0381457544863224, 0.049177251756191254, 0.0287182554602623, 0.020783690735697746, -0.005287070758640766, -0.03357618302106857, 0.036584608256816864, 0.014142892323434353, -0.0446445569396019, -0.023634357377886772, 0.006746262777596712, -0.039587702602148056, 0.07681546360254288, 0.009629945270717144, 0.008197410963475704, 0.040473829954862595, 0.026280071586370468, -0.02297833189368248, 0.03545817360281944, -0.022815080359578133, 0.009724429808557034, 0.05066455155611038, -0.05659400671720505, -0.027954263612627983, -0.01834827847778797, 0.0794568881392479, -0.0442628338932991, 0.05799177661538124, 0.03389406204223633, 0.032060664147138596, 0.0018119277665391564, -0.019241752102971077, -0.03653647378087044, 0.018498539924621582, -0.05048695206642151, 0.0863170474767685, -0.000553650432266295, -0.05821011960506439, 0.07844815403223038, 0.05020912364125252, -0.06735490262508392, 0.032812122255563736, 0.059134554117918015, 0.03480708226561546, 0.03196868300437927, 0.04038486257195473, -0.07276815921068192, 0.00969757605344057, -0.042712122201919556, 0.01759696938097477, -0.04261227697134018, -0.029789986088871956, 0.02503925934433937, -0.05309396609663963, 0.001450982061214745, 0.017440849915146828, -0.018004771322011948, 0.003839713055640459, 0.02391570433974266, -0.06648467481136322, -0.03263825178146362, -0.0273730605840683, 0.005942853167653084, -0.02990686520934105, 0.011311243288218975, -0.030046643689274788, 0.02524464949965477, 0.03517818823456764, -0.01096775196492672, -0.030264440923929214, 0.024467945098876953, 0.01274561695754528, -0.07484572380781174, -0.04802853986620903, 0.040169186890125275, 0.015845391899347305, -0.03255096822977066, 0.05069417506456375, -0.021224573254585266, 0.003953496925532818, 0.042253248393535614, -0.0063057453371584415, 0.040826212614774704, -0.051197025924921036, 0.003373079001903534, 0.002472769469022751, -0.004615865647792816, 0.03728349506855011, -0.024295924231410027, 0.037056393921375275, 0.030744245275855064, 0.032080475240945816, -0.015772119164466858, -0.04307736083865166, 0.0010268774349242449, 0.02255159616470337, -0.043932415544986725, 0.02106744982302189, 0.011652864515781403, -0.05101427063345909, -0.03714440017938614, -0.03355906903743744, -0.017439203336834908, 0.030258208513259888, -0.0450579859316349, 0.010762795805931091, 0.04418523609638214, 0.020239094272255898, -0.05182923376560211, -0.07694117724895477, -0.021634960547089577, -0.0265582874417305, 0.03739649057388306, 0.026849305257201195, -0.055558111518621445, 0.0008215776761062443, -0.05268361046910286, -0.06527964025735855, 0.04331149533390999, 0.008886341005563736, -0.03729644790291786, 0.045821886509656906, 0.033910926431417465, -0.03209682181477547, 0.012932101264595985, 0.047889385372400284, -0.03889890015125275, 0.007995381951332092, 0.02177303284406662, 0.021837977692484856, 0.03094477392733097, 0.022385140880942345, -0.037083521485328674, -0.014424326829612255, -0.04352546110749245, -0.06806150823831558, -0.028916195034980774, 0.018970219418406487, 0.06423696875572205 ]
BigSalmon/InformalToFormalLincoln16
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-01-12T16:27:36Z
# t5_wikisql_en2SQL --- language: en datasets: - wikisql --- This is a [t5-small](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) fine-tuned version on the [wikisql dataset](https://huggingface.co/datasets/wikisql) for **English** to **SQL** **translation** text2text mission. To load the model: (necessary packages: !pip install transformers sentencepiece) ```python from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("dbernsohn/t5_wikisql_en2SQL") model = AutoModelWithLMHead.from_pretrained("dbernsohn/t5_wikisql_en2SQL") ``` You can then use this model to translate SQL queries into plain english. ```python query = "what are the names of all the people in the USA?" input_text = f"translate English to Sql: {query} </s>" features = tokenizer([input_text], return_tensors='pt') output = model.generate(input_ids=features['input_ids'].cuda(), attention_mask=features['attention_mask'].cuda()) tokenizer.decode(output[0]) # Output: "SELECT Name FROM table WHERE Country = USA" ``` The whole training process and hyperparameters are in my [GitHub repo](https://github.com/DorBernsohn/CodeLM/tree/main/SQLM) > Created by [Dor Bernsohn](https://www.linkedin.com/in/dor-bernsohn-70b2b1146/)
[ -0.02034580148756504, -0.03537837788462639, -0.005384271498769522, 0.061301786452531815, 0.021345971152186394, 0.03128685802221298, -0.014965415932238102, -0.008944004774093628, -0.04212254658341408, 0.05558950826525688, 0.019285114482045174, 0.005824295338243246, 0.019954808056354523, 0.05719677731394768, -0.042342595756053925, -0.02297128178179264, -0.03106754645705223, -0.0048215012066066265, -0.037914738059043884, -0.016563327983021736, 0.007446685805916786, 0.013720502145588398, 0.012064938433468342, 0.019313642755150795, -0.0099613843485713, 0.026228928938508034, -0.028778180480003357, 0.04856755584478378, 0.01570516638457775, -0.07235601544380188, 0.012952513992786407, -0.02850359119474888, -0.01986945979297161, -0.021092193201184273, -0.0303078331053257, -0.01003185287117958, 0.002163104945793748, 0.007330183405429125, 0.027804696932435036, 0.04678714647889137, -0.013258758001029491, 0.02088087610900402, 0.02554658241569996, -0.04103897884488106, 0.03268839046359062, 0.02007291465997696, -0.03166210651397705, -0.015440073795616627, 0.0295037180185318, -0.024746213108301163, -0.043268833309412, -0.06132848560810089, -0.029403774067759514, 0.01637655310332775, -0.02120211347937584, -0.027197109535336494, -0.07316877692937851, -0.014350766316056252, 0.06573045998811722, -0.04366471618413925, -0.033043622970581055, 0.003677257802337408, -0.052367016673088074, 0.0075521101243793964, 0.028937026858329773, -0.022732211276888847, 0.017517024651169777, -0.03723571449518204, 0.022101031616330147, -0.025337986648082733, 0.040787216275930405, -0.033504780381917953, 0.01671304740011692, -0.0955582708120346, -0.022733937948942184, 0.017917241901159286, 0.030503181740641594, 0.028902338817715645, -0.037550993263721466, 0.07052765041589737, 0.018426300957798958, -0.010509351268410683, 0.03416884317994118, -0.007651139982044697, -0.032582759857177734, 0.051570672541856766, -0.04707212746143341, 0.0019231569021940231, 0.006598663982003927, 0.03969859331846237, -0.044746216386556625, -0.04780702292919159, -0.006542733404785395, -0.01914094388484955, 0.006099108140915632, 0.02987726405262947, 0.036085113883018494, -0.0012231559958308935, 0.03777036443352699, 0.005412716884166002, 0.030811263248324394, 0.03594561293721199, -0.00823812186717987, 0.05771913751959801, -0.002633908065035939, 0.009984896518290043, -0.01673363521695137, -0.050317492336034775, -0.03382657468318939, 0.022708909586071968, 0.01773728057742119, -0.05537460371851921, -0.03797081857919693, 0.025830062106251717, 0.028058044612407684, -0.03861323371529579, 0.06676562130451202, -0.027636108919978142, -0.04387372359633446, -0.02574728988111019, 0.056633803993463516, 0.00910735223442316, 0.008241833187639713, -0.013128813356161118, -0.06296111643314362, 0.009653008542954922, -0.04119941219687462, -0.035137686878442764, 0.0053588952869176865, 0.022542594000697136, -0.00047461921349167824, 0.024294422939419746, 0.048996757715940475, -0.0717911645770073, -0.0016234194627031684, 0.03255080804228783, -0.060008078813552856, 0.04937796667218208, 0.04686605557799339, 0.0990629568696022, -0.06885795295238495, -0.07293596863746643, 0.008601640351116657, 0.002929246285930276, -0.028858505189418793, 0.0037974854931235313, 0.006135137751698494, -0.05072003975510597, -0.02460167370736599, -0.008103398606181145, 0.07543764263391495, -0.045894160866737366, -0.010099639184772968, 0.042990412563085556, -0.009903947822749615, 0.015338357537984848, -0.03938226029276848, -0.01529159490019083, 0.00915500894188881, 0.017679618671536446, -0.02946614846587181, 0.041700780391693115, -0.006668886635452509, 0.020752929151058197, -0.05311045050621033, -0.041734907776117325, 0.001116168568842113, 0.08881774544715881, 0.00018160106264986098, -0.015863504260778427, -0.030160922557115555, 0.03645931929349899, 0.05632096901535988, 0.03521524742245674, -0.023926885798573494, 0.028971722349524498, 0.04936917871236801, 0.057080063968896866, 0.005775805562734604, 0.04824884235858917, 0.03040260262787342, -0.030007077381014824, -0.02043979987502098, 0.02828686684370041, -0.009011889807879925, -0.036697134375572205, 0.010460917837917805, 0.04259100183844566, -0.020489543676376343, -0.022765036672353745, -0.01773657277226448, 0.052794311195611954, -0.0007250753114931285, -0.003129617078229785, -0.02318982407450676, 0.009362699463963509, -0.02553779073059559, 0.030489066615700722, -0.033718399703502655, 0.014043719507753849, -0.027783745899796486, -0.03473571315407753, 0.0036113476380705833, 0.030143778771162033, 0.0323905311524868, 0.045088596642017365, -0.016202248632907867, 0.09597228467464447, -0.042421627789735794, 0.014423835091292858, -0.05610959231853485, -0.05132363364100456, 0.019666330888867378, 0.023123258724808693, 0.012727197259664536, 0.03268468379974365, 0.015231003984808922, -0.04270327091217041, 0.02568729966878891, 0.08299961686134338, 0.08241627365350723, 0.0417313277721405, -0.013754233717918396, 0.011969564482569695, 0.02126375027000904, 0.056331682950258255, -0.036096855998039246, -0.0402517206966877, 0.00437643239274621, 0.036219339817762375, -0.012149358168244362, 0.023139851167798042, -0.014796173200011253, 0.026832446455955505, -0.04384943097829819, -0.05425911769270897, 0.04531183838844299, 0.040410105139017105, 0.0064927213825285435, 0.05918118357658386, -0.008051911368966103, 0.0029779605101794004, 0.019468847662210464, -0.0012987508671358228, 0.003913583233952522, -0.043925028294324875, -0.021129686385393143, -0.010870969854295254, 0.05150268226861954, -0.059240732342004776, 0.03612144663929939, 0.0024897607509046793, -0.00609353743493557, 0.06643988192081451, -0.022706499323248863, 0.015548712573945522, 0.036037951707839966, -0.013068855740129948, -0.03178019821643829, 0.0009165777591988444, 0.02319444715976715, 0.033586375415325165, 0.0738678053021431, 0.03747565299272537, 0.060015492141246796, -0.001012145192362368, 0.026418384164571762, 0.07842539995908737, 0.02901824191212654, 0.0042605046182870865, 0.04563051089644432, 0.08044057339429855, -0.02430466003715992, 0.0038327525835484266, 0.05491502955555916, -0.04070980101823807, 0.027850914746522903, -0.048101987689733505, 0.00725918123498559, -0.0215316005051136, -0.0028052781708538532, 0.03511502966284752, 0.025967329740524292, -0.019124876707792282, 0.03382914140820503, -0.03297297656536102, -0.022497152909636497, 0.04450501874089241, -0.0015734562184661627, -0.006462357938289642, -0.029615823179483414, -0.03766530007123947, 0.015509438700973988, -0.07132658362388611, -0.04317270591855049, -0.010803084820508957, -0.03705741837620735, -0.012508259154856205, -0.06088666245341301, -0.027677319943904877, -0.0692078098654747, -0.03853820264339447, 0.01807207241654396, 0.01868160255253315, 0.0026984920259565115, -0.03131714090704918, 0.004482007119804621, -0.05535455048084259, -0.030412109568715096, -0.05595783144235611, -0.033533647656440735, -0.037781864404678345, -0.07047347724437714, 0.03622513264417648, 0.04720674827694893, 0.024125665426254272, 0.005112364422529936, -0.00478482898324728, -0.023758070543408394, -0.024127531796693802, 0.055068064481019974, 0.026806188747286797, -0.026301773265004158, -0.04442526772618294, 0.027943521738052368, -0.01790444925427437, 0.042054031044244766, -0.016374923288822174, -0.029348179697990417, 0.07131548225879669, 0.06969714909791946, 0.02704579010605812, 0.011134150438010693, -0.007724925875663757, -0.04336855560541153, -0.04283323511481285, -0.03511686250567436, -0.021904198452830315, -0.020792650058865547, -0.019631776958703995, -0.05697605013847351, -0.002224590862169862, -0.045309536159038544, -0.010253638960421085, -0.006580851040780544, 0.00959040503948927, 0.03028731234371662, 0.03497227281332016, 0.03081655502319336, 0.03301965817809105, -0.027047885581851006, -0.024175727739930153, 0.07036257535219193, -0.008323862217366695, 0.03930911049246788, -0.06472938507795334, -0.0282725989818573, 0.05817914754152298, 0.037285394966602325, 0.019249504432082176, -0.01022073719650507, 0.08294311910867691, 0.030622780323028564, -0.015997570008039474, -0.007459270302206278, -0.031640324741601944, -0.034540049731731415, 0.0228805523365736, -0.02128063701093197, -0.027031490579247475, -0.058041445910930634, -0.026427628472447395, -0.0014409292489290237, 0.05049896985292435, -0.07389947772026062, -0.02990850619971752, -0.024257076904177666, 0.012565789744257927, 0.035149913281202316, 0.007963607087731361, -0.041833970695734024, 0.0021516792476177216, -0.04170895367860794, -0.03340022638440132, 0.0239684097468853, 0.019581913948059082, 0.01544246543198824, 0.038033872842788696, 0.03835054859519005, -0.021884949877858162, 0.035043857991695404, 0.026991000398993492, 0.044672269374132156, 0.023638062179088593, -0.04332513362169266, 0.009416426531970501, -0.03046487271785736, 0.04132075607776642, -0.028318515047430992, -0.01856163516640663, -0.06203460320830345, -0.06627219915390015, -0.020780006423592567, -0.0022674209903925657, -0.03362203389406204, -0.01876983419060707, 0.04489414393901825, 0.008642877452075481, -0.02468223311007023, -0.016745511442422867, 0.0009944855701178312, 0.05027397722005844, -0.045446526259183884, 0.0486866720020771, 0.01852966472506523, 0.04604244977235794, -0.05873662605881691, -0.0017948567401617765, -0.015175919979810715, 0.006189236883074045, -0.020158380270004272, 0.059252843260765076, 0.01843096688389778, 0.05786920711398125, 0.05925426259636879, -0.006020967848598957, -0.05976257100701332, 0.055322907865047455, 0.04415041208267212, -0.02716362662613392, -0.026998717337846756, -0.005686817690730095, -0.02004079520702362, -0.027831794694066048, 0.00935132335871458, -0.030037641525268555, 0.045832615345716476, 0.04668912664055824, -0.0002349241403862834, -0.009224586188793182, 0.017539089545607567, -0.015594995580613613, -0.03909607231616974, -0.06263978034257889, -0.006746144499629736, 0.008831139653921127, -0.012729409150779247, 0.02494434267282486, 0.04363018274307251, 0.01196199469268322, 0.06376534700393677, 0.05800758674740791, -0.026316139847040176, -0.04105741158127785, 0.02255542390048504, 0.0361175574362278, -0.059124112129211426, -0.05909009650349617, -0.05793456733226776, 0.024415964260697365, 0.04471804201602936, -0.019276326522231102, -0.08050933480262756, 0.01789911836385727, 0.040811918675899506, -0.025356441736221313, 0.06688932329416275, -0.02544340491294861, 0.03626634553074837, 0.059426069259643555, -0.014426074922084808, 0.008176092989742756, -0.021806683391332626, 0.014378868974745274, -0.012083100154995918, 0.05677859112620354, -0.012151243165135384, -0.04150977358222008, -0.035382114350795746, 0.04167861118912697, 0.027110891416668892, 0.053345292806625366, 0.03269112482666969, -0.003845751518383622, -0.07439731806516647, 0.011094151996076107, 0.03596681356430054, -0.018186504021286964, 0.011762839742004871, 0.02866552397608757, 0.03407476097345352, -0.0568842813372612, -0.028485646471381187, -0.02421627566218376, -0.008094293996691704, 0.028766075149178505, -0.011771135963499546, -0.04316624253988266, -0.04689599201083183, 0.012025036849081516, -0.045767564326524734, -0.027603983879089355, -0.06488917022943497, 0.01599825732409954, 0.012999195605516434, -0.011544986627995968, 0.053063467144966125, 0.03902425616979599, 0.03791230916976929, 0.021958468481898308, -0.00314156012609601, 0.00785483606159687, -0.04984340816736221, 0.04382114112377167, -0.024770746007561684, 0.0033289652783423662, -0.01294361799955368, -0.05371595174074173, -0.015809040516614914, -0.045690298080444336, -0.05964464694261551, -0.05450519174337387, -0.008671573363244534, 0.03792564198374748, -0.019852420315146446, 0.020296132192015648, -0.014820173382759094, 0.06184152513742447, -0.038573551923036575, -0.02588881179690361, -0.022107763215899467, -0.027438005432486534, -0.07483075559139252, -0.03905613347887993, 0.025129426270723343, 0.02928524650633335, 0.03548984229564667, -0.003722722176462412, 0.019267970696091652, 0.01933022029697895, -0.012565645389258862, -0.024992041289806366, 0.006545929238200188, 0.006066704168915749, -0.033204369246959686, -0.038324277848005295, -0.0027307583950459957, 0.03253749758005142, 0.02234199456870556, -0.01589949242770672, 0.020125072449445724, 0.021446816623210907, -0.022752130404114723, -0.043393366038799286, 0.02309819497168064, 0.029519077390432358, -0.09270685166120529, -0.021329311653971672, -0.0028636963106691837, -0.044822920113801956, 0.03936541825532913, -0.02584848552942276, -0.033483486622571945, -0.0053618005476891994, 0.008021298795938492, 0.03291528671979904, 0.015809191390872, -0.04678215831518173, 0.020849937573075294, -0.041517071425914764, 0.03776995465159416, -0.041800010949373245, 0.0292825885117054, -0.04297812655568123, 0.00023556988162454218, -0.01930755190551281, 0.004703104496002197, -0.04132741317152977, 0.043274641036987305, 0.004361497703939676, -0.03157604858279228, -0.022410759702324867, 0.006315142381936312, -0.019556904211640358, 0.022811366245150566, -0.03546130284667015, 0.027493007481098175, -0.00944060180336237, 0.040746498852968216, -0.04596654698252678, 0.0057769413106143475, -0.03829624876379967, -0.019070101901888847, -0.05252451449632645, -0.016857391223311424, -0.016994936391711235, -0.032066937536001205, 0.021343044936656952, 0.014304334297776222, 0.04149635508656502, 0.028361033648252487, -0.02487090602517128, 0.01573091186583042, 0.016655031591653824, -0.07972710579633713, -0.021409422159194946, -0.019661463797092438, 0.004456721246242523, 0.000530825462192297, 0.06483083963394165, 0.048291657119989395, -0.048991117626428604, -0.057135358452796936, 0.044718991965055466, 0.006181768607348204, 0.015970740467309952, 0.005964016541838646, -0.02127125859260559, 0.03237484022974968, 0.04972916096448898, -0.04674079269170761, 0.0010960734216496348, -0.031965386122465134, -0.030385175719857216, 0.015603894367814064, -0.0031822959426790476, 0.009138340130448341, -0.0030689218547195196, -0.02718508429825306, -0.04123007133603096, 0.0473560094833374, 0.028352346271276474, 0.02069045417010784, -0.011330156587064266, -0.030445536598563194, 0.04273027181625366, 0.010811964981257915, -0.05018114671111107, -0.026003243401646614, 0.005302867852151394, -0.038968585431575775, 0.07297813892364502, 0.009237966500222683, 0.010032199323177338, 0.03421017527580261, 0.025136137381196022, -0.024365630000829697, 0.028050700202584267, -0.028170552104711533, 0.005798410624265671, 0.03928031399846077, -0.062117330729961395, -0.02755478210747242, -0.01842506043612957, 0.08262085169553757, -0.046916622668504715, 0.05424553528428078, 0.03926809877157211, 0.03504200652241707, 0.01043546013534069, -0.02321787364780903, -0.03135894238948822, 0.013306531123816967, -0.04524877667427063, 0.07903017848730087, -0.010937624610960484, -0.061976246535778046, 0.07971307635307312, 0.051978643983602524, -0.0680806115269661, 0.03365365043282509, 0.056183893233537674, 0.04316241294145584, 0.03751548379659653, 0.04310609772801399, -0.07047379016876221, 0.01469640713185072, -0.04143289849162102, 0.012102203443646431, -0.04480268061161041, -0.027070628479123116, 0.03319763019680977, -0.05184387415647507, -0.004173478577286005, 0.026393650099635124, -0.016599362716078758, -0.0030605182982981205, 0.01635407842695713, -0.06599629670381546, -0.04622889682650566, -0.02269664593040943, 0.011105958372354507, -0.030312461778521538, 0.010051378048956394, -0.03637600690126419, 0.02468057908117771, 0.03059576265513897, -0.010196654126048088, -0.02641141228377819, 0.03170815855264664, 0.015012037940323353, -0.07698158919811249, -0.04868953675031662, 0.03837643936276436, 0.018543606624007225, -0.0343305803835392, 0.0519261471927166, -0.011559703387320042, -0.0018047569319605827, 0.03474020957946777, -0.00582736125215888, 0.037388768047094345, -0.05589642748236656, 0.010465987958014011, 0.012002506293356419, 0.005227327346801758, 0.04283282905817032, -0.028627270832657814, 0.039736855775117874, 0.03487775847315788, 0.034210339188575745, -0.015448013320565224, -0.04594353586435318, -0.0001426326489308849, 0.035513121634721756, -0.04539163038134575, 0.016578273847699165, 0.011066902428865433, -0.048648007214069366, -0.03603227436542511, -0.025048544630408287, -0.013144186697900295, 0.03544846177101135, -0.040842484682798386, 0.013058082200586796, 0.04034522548317909, 0.016823921352624893, -0.051392849534749985, -0.0660051554441452, -0.024413365870714188, -0.031237948685884476, 0.016191262751817703, 0.02088666334748268, -0.058407433331012726, 0.005100528709590435, -0.05595355108380318, -0.07036882638931274, 0.04521608352661133, 0.000791588390711695, -0.035228606313467026, 0.04778806492686272, 0.039174050092697144, -0.03968798369169235, 0.009342094883322716, 0.046796683222055435, -0.029908040538430214, 0.016580408439040184, 0.017461931332945824, 0.013469167985022068, 0.034334439784288406, 0.026825424283742905, -0.03175670653581619, -0.016460785642266273, -0.04015358164906502, -0.06607813388109207, -0.024175573140382767, 0.021368306130170822, 0.056942615658044815 ]
BigSalmon/InformalToFormalLincoln17
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
2021-08-06T14:26:53Z
--- tags: - feature-extraction library_name: generic --- # Feature Extraction repository template This is a template repository for feature extraction to support generic inference with Hugging Face Hub generic Inference API. There are two required steps 1. Specify the requirements by defining a `requirements.txt` file. 2. Implement the `pipeline.py` `__init__` and `__call__` methods. These methods are called by the Inference API. The `__init__` method should load the model and preload all the elements needed for inference (model, processors, tokenizers, etc.). This is only called once. The `__call__` method performs the actual inference. Make sure to follow the same input/output specifications defined in the template for the pipeline to work. Example repos * https://huggingface.co/osanseviero/fasttext_english ## How to start First create a repo in https://hf.co/new. Then clone this template and push it to your repo. ``` git clone https://huggingface.co/templates/feature-extraction cd feature-extraction git remote set-url origin https://huggingface.co/$YOUR_USER/$YOUR_REPO_NAME git push --force ```
[ -0.02702808380126953, -0.03737547621130943, 0.012525072321295738, 0.033018000423908234, 0.035872504115104675, 0.029711199924349785, -0.024981141090393066, -0.0026120867114514112, -0.022922448813915253, 0.06686104089021683, 0.02503909356892109, 0.03317805007100105, 0.011946342885494232, 0.05158953741192818, -0.019951574504375458, -0.029136689379811287, -0.045682985335588455, 0.00330340419895947, -0.042961977422237396, -0.014893685467541218, 0.02372034639120102, 0.018462128937244415, 0.0005979762645438313, 0.046640098094940186, -0.026307854801416397, 0.033214371651411057, -0.0005352660664357245, 0.013734803535044193, 0.023105528205633163, -0.06813957542181015, -0.003256875788792968, -0.03571838513016701, -0.03468484804034233, 0.00715389009565115, -0.0027139370795339346, 0.009144393727183342, 0.0012957717990502715, -0.008413119241595268, -0.02127790078520775, 0.044225066900253296, 0.015828333795070648, 0.012636595405638218, 0.0009036642732098699, -0.011663435958325863, 0.04017205908894539, 0.016972672194242477, -0.05168362334370613, -0.0461856871843338, 0.032883159816265106, -0.006922976579517126, -0.05842311680316925, -0.07941076159477234, -0.017762064933776855, 0.004792817868292332, -0.015958210453391075, -0.0292494036257267, -0.025420282036066055, -0.02347490005195141, 0.07108943164348602, -0.047861360013484955, -0.027729662135243416, -0.004921739920973778, -0.06639621406793594, -0.01422782801091671, 0.027776150032877922, -0.024052293971180916, 0.0021671357098966837, -0.03676934167742729, 0.0033646775409579277, -0.03429238870739937, 0.029691778123378754, -0.040456824004650116, 0.024208983406424522, -0.0931953489780426, -0.0011318846372887492, -0.014432596042752266, 0.05111230909824371, 0.02531401254236698, 0.0016528667183592916, 0.0371827632188797, 0.016443928703665733, -0.03385024517774582, 0.010329965502023697, 0.02029361017048359, 0.006427405402064323, 0.037355247884988785, -0.012420848943293095, 0.032926298677921295, 0.01678250916302204, 0.020147649571299553, -0.05385858193039894, -0.04950826242566109, -0.02540568634867668, -0.035885896533727646, -0.00524307694286108, 0.030016329139471054, 0.041041623800992966, 0.0270003043115139, 0.04116886481642723, 0.027820689603686333, 0.017113352194428444, 0.0303521566092968, -0.011489168740808964, 0.0707024559378624, -0.0037817105185240507, 0.00014410850417334586, -0.019232185557484627, -0.04780373349785805, -0.04133698344230652, 0.020264990627765656, 0.055585332214832306, -0.045988891273736954, -0.05755101889371872, 0.05170052871108055, -0.008448922075331211, -0.010543745942413807, 0.047167059034109116, -0.05463054031133652, -0.007641305681318045, -0.04499506950378418, 0.02042148821055889, -0.002587804803624749, -0.007893935777246952, -0.006158198229968548, -0.06356540322303772, 0.01345224492251873, -0.022202372550964355, -0.005725739058107138, -0.005980401765555143, 0.04037756472826004, -0.009468411095440388, 0.032441068440675735, 0.02671203576028347, -0.07900800555944443, 0.0117653738707304, 0.010870055295526981, -0.016748929396271706, 0.042029932141304016, 0.046335868537425995, 0.12341201305389404, -0.06862329691648483, -0.07597999274730682, 0.010048205964267254, 0.028330394998192787, -0.03527887165546417, -0.0077736894600093365, 0.021954914554953575, -0.07126925140619278, -0.03224647417664528, -0.017083466053009033, 0.04164227843284607, -0.07368113100528717, -0.013974486850202084, 0.052114106714725494, -0.026067590340971947, 0.056579042226076126, -0.03497295454144478, -0.013182438910007477, -0.007770303636789322, 0.010090804658830166, 0.005119415000081062, 0.03435998037457466, -0.004000316374003887, -0.015746021643280983, -0.02397533506155014, -0.025242969393730164, -0.010664056055247784, 0.06455720961093903, -0.01578587479889393, 0.004776603542268276, -0.04795102775096893, 0.04264531284570694, 0.026131903752684593, 0.026724642142653465, 0.0025100179482251406, 0.02221587859094143, 0.04863886907696724, 0.04604525491595268, -0.02029617317020893, 0.07132244110107422, 0.004915925208479166, -0.015337295830249786, -0.026146503165364265, 0.0069945137947797775, 0.00745839299634099, -0.023136373609304428, 0.049482736736536026, 0.04394412040710449, -0.000693603593390435, -0.03946344554424286, 0.002674552844837308, 0.02788461558520794, 0.012719024904072285, 0.012404237873852253, -0.014440425671637058, -0.01509668305516243, 0.0010501343058422208, 0.027568066492676735, -0.001084582763724029, -0.008012956939637661, -0.003332803025841713, -0.038096267729997635, 0.0030033409129828215, 0.018168190494179726, 0.02308671548962593, 0.047750793397426605, -0.011069314554333687, 0.0805073082447052, -0.044404733926057816, -0.0014457704965025187, -0.06990071386098862, -0.04321309179067612, -0.004388254601508379, 0.02668020687997341, 0.04801975190639496, 0.06180526688694954, 0.009928910061717033, -0.05524970218539238, -0.0126043651252985, 0.0911911204457283, 0.04879379644989967, 0.010980213060975075, -0.03645307570695877, -0.016553007066249847, 0.0668444037437439, 0.04480036720633507, -0.032344426959753036, -0.007517702877521515, 0.0036922101862728596, 0.02749509923160076, -0.004167214501649141, 0.007212830241769552, -0.024119380861520767, 0.05102802440524101, -0.048396285623311996, -0.04841461032629013, 0.0636204332113266, 0.03472984582185745, 0.006308348383754492, 0.05048156902194023, -0.023941725492477417, 0.009505104273557663, 0.0008620229782536626, -0.004256805405020714, 0.01152931060642004, -0.05737852677702904, 0.006008879281580448, 0.02286386676132679, 0.05294076353311539, -0.0402105338871479, 0.042268332093954086, 0.02794492244720459, 0.02087637409567833, 0.05061681196093559, -0.023511333391070366, 0.02735041081905365, 0.04684075340628624, -0.005920604802668095, -0.02737719565629959, 0.03264055401086807, 0.00019377036369405687, 0.046607110649347305, 0.02945599891245365, 0.013123164884746075, 0.06489942222833633, -0.009594236500561237, 0.03920012712478638, 0.09309592097997665, 0.013987564481794834, 0.014048997312784195, 0.030685342848300934, 0.06683562695980072, -0.019227003678679466, -0.007329283747822046, 0.06572303920984268, -0.03929354250431061, 0.028664937242865562, -0.04178296774625778, 0.00876854918897152, -0.030051339417696, -0.01229061745107174, 0.04936017096042633, 0.02783997729420662, -0.0038469755090773106, 0.007200263440608978, 0.007761877030134201, -0.00010932742588920519, 0.042730677872896194, -0.026568403467535973, -0.00323339831084013, 0.007160820998251438, -0.027847034856677055, 0.0113869309425354, -0.10128842294216156, -0.0763372853398323, -0.014780065044760704, -0.031689371913671494, 0.0043688020668923855, -0.08486839383840561, -0.050447288900613785, -0.05381910130381584, -0.008980724960565567, 0.02730301022529602, 0.01999620348215103, 0.008573458530008793, -0.0670161247253418, 0.004103675950318575, -0.05729011446237564, -0.02758019231259823, -0.04450627416372299, -0.026894938200712204, -0.013181607238948345, -0.05921364203095436, 0.030609101057052612, 0.02978919818997383, 0.05878180265426636, 0.012041066773235798, -0.030377911403775215, -0.04784383624792099, -0.023425819352269173, 0.05464920029044151, 0.011096319183707237, -0.034625131636857986, -0.033210817724466324, 0.01942330226302147, -0.006400081794708967, 0.017759401351213455, -0.021368099376559258, -0.034173909574747086, 0.1025734469294548, 0.05948038026690483, 0.016945503652095795, 0.00016230363689828664, -0.007225631270557642, -0.029816921800374985, -0.022285085171461105, -0.029136456549167633, -0.055786702781915665, -0.021569374948740005, -0.02587740868330002, -0.06470353156328201, -0.0030822677072137594, -0.03364667296409607, -0.03592114895582199, -0.004950443282723427, 0.0025231533218175173, 0.016697945073246956, 0.029232503846287727, 0.010859946720302105, 0.04671706259250641, -0.021324578672647476, -0.03537166118621826, 0.07087773829698563, 0.0141968484967947, 0.024463925510644913, -0.04785386845469475, -0.039698220789432526, 0.031114038079977036, 0.020394332706928253, 0.00008283931674668565, -0.019849784672260284, 0.06758304685354233, 0.022626983001828194, -0.01709653064608574, 0.007839239202439785, 0.006557752378284931, -0.024040941148996353, -0.0080085014924407, -0.029950156807899475, -0.025878261774778366, -0.037317462265491486, -0.016093561425805092, -0.019977470859885216, 0.04100256785750389, -0.04467066377401352, -0.06610588729381561, 0.005059779621660709, 0.05570690333843231, 0.0632588341832161, -0.0061995298601686954, -0.06891771405935287, -0.024081088602542877, -0.08362796157598495, -0.014227524399757385, 0.009311645291745663, -0.024581454694271088, 0.02225147932767868, 0.04305631294846535, 0.04753774777054787, -0.009688313119113445, 0.03911897540092468, 0.019972898066043854, 0.03958694264292717, 0.008722562342882156, -0.03654024004936218, -0.0014435583725571632, -0.018102919682860374, 0.032496366649866104, 0.007575603201985359, -0.011458720080554485, -0.07593932002782822, -0.0876755565404892, -0.027236947789788246, 0.020411338657140732, 0.003634942229837179, 0.015512564219534397, 0.06850022077560425, -0.010123925283551216, -0.03214799985289574, 0.001172587275505066, -0.001738748513162136, 0.04273330792784691, -0.04814021661877632, 0.054220639169216156, 0.005643538665026426, 0.04921778663992882, -0.03603077679872513, 0.022088559344410896, -0.026845445856451988, -0.016605237498879433, -0.009972183965146542, 0.0292798038572073, 0.021053973585367203, 0.03402131795883179, 0.026708384975790977, -0.012052083387970924, -0.03405005857348442, 0.03333456814289093, 0.037444159388542175, -0.020778704434633255, -0.07705606520175934, -0.01570126973092556, 0.010182127356529236, 0.00851073581725359, -0.03788229078054428, 0.003838321892544627, 0.012504272162914276, 0.030643193051218987, 0.015822086483240128, 0.0077730645425617695, 0.00662322249263525, -0.012436678633093834, -0.018448375165462494, -0.029457153752446175, -0.008655460551381111, 0.0022669632453471422, -0.019819851964712143, 0.01633954420685768, 0.0571347139775753, 0.0005045469151809812, 0.03026297502219677, 0.05946655571460724, -0.030115103349089622, -0.0868762880563736, 0.023247865960001945, 0.03413248434662819, -0.04290318116545677, -0.08049751073122025, -0.05557546764612198, 0.022313272580504417, 0.03637222573161125, -0.006973954848945141, -0.057816337794065475, 0.009888779371976852, 0.042067863047122955, -0.02692883089184761, 0.058536458760499954, -0.01477219071239233, 0.03183819353580475, 0.05832749605178833, 0.008884666487574577, 0.023145262151956558, -0.004289756994694471, 0.023807784542441368, -0.0022607012651860714, 0.058577656745910645, -0.03148060664534569, -0.029554957523941994, -0.03290065377950668, 0.0243956558406353, 0.028160428628325462, 0.04787721484899521, 0.03533757105469704, -0.052991874516010284, -0.08259990811347961, 0.02111915498971939, 0.03653406724333763, -0.02211218886077404, 0.01261018868535757, 0.016659876331686974, 0.05455147475004196, -0.06586772948503494, -0.029256558045744896, -0.006887799594551325, -0.01543464045971632, 0.023600198328495026, 0.003342177253216505, -0.03995368629693985, -0.061132416129112244, -0.013044385239481926, -0.032862771302461624, -0.03761271759867668, -0.05893431976437569, 0.01520236674696207, 0.0032439338974654675, 0.00895400159060955, 0.0764787420630455, 0.03212149068713188, 0.048233114182949066, 0.036018889397382736, -0.01390592660754919, -0.0001258032862097025, -0.05721404775977135, 0.02978447824716568, -0.02642415650188923, -0.024817099794745445, -0.04458359256386757, -0.07700780034065247, -0.0030376871582120657, -0.011137672699987888, -0.048067569732666016, -0.05384903773665428, -0.010891455225646496, 0.011950764805078506, 0.0015963868936523795, 0.01120162196457386, 0.00952157936990261, 0.004169182386249304, -0.03515246883034706, -0.014564239419996738, -0.0193293709307909, -0.017868414521217346, -0.08018229901790619, -0.04255673289299011, 0.016578180715441704, -0.003725543385371566, 0.0414104238152504, -0.026110544800758362, 0.03906417265534401, -0.0029043767135590315, 0.037187375128269196, -0.025789737701416016, 0.017094727605581284, 0.00030027228058315814, -0.04777517914772034, -0.01300395280122757, 0.006170674227178097, 0.040038276463747025, 0.026822121813893318, -0.025677883997559547, 0.04413855820894241, 0.0077469139359891415, -0.03262656554579735, -0.02262650430202484, 0.033782657235860825, 0.018164075911045074, -0.06713324040174484, -0.02155340276658535, -0.016200432553887367, -0.03155674785375595, 0.01575463078916073, 0.004784953780472279, -0.03994913399219513, 0.008184637874364853, 0.012030730955302715, 0.038337111473083496, -0.019857605919241905, -0.04232613742351532, 0.010240292176604271, -0.027994053438305855, 0.008210309781134129, -0.04057077318429947, 0.061725061386823654, -0.04443186894059181, 0.012096593156456947, -0.023206282407045364, 0.016173452138900757, -0.045698828995227814, 0.06145503371953964, 0.002660623984411359, -0.012967446818947792, -0.006952371448278427, -0.010254783555865288, -0.02650749310851097, 0.05487780272960663, -0.018520452082157135, 0.004487954080104828, -0.01693180575966835, 0.05330737680196762, -0.0306050106883049, 0.00841063354164362, -0.022569982334971428, -0.016743633896112442, -0.044367704540491104, -0.011118684895336628, -0.028364503756165504, -0.024746596813201904, 0.030207689851522446, 0.023976489901542664, 0.02212616801261902, -0.00782624538987875, -0.04479260370135307, 0.0023857394699007273, 0.015731852501630783, -0.0955461859703064, -0.021096372976899147, 0.01923074573278427, -0.008732559159398079, 0.004519392270594835, 0.05986296385526657, 0.06383930146694183, -0.044668566435575485, -0.050703078508377075, 0.06117691099643707, 0.006678422447293997, 0.0032422340009361506, 0.010175289586186409, 0.004177877679467201, 0.029409054666757584, 0.023054324090480804, -0.04564543440937996, 0.010866216383874416, 0.016196351498365402, -0.04642368108034134, 0.027432609349489212, 0.003023729659616947, 0.03892333805561066, 0.0011116844834759831, -0.02558242343366146, -0.03513938561081886, 0.05905068665742874, 0.032527074217796326, 0.03713615611195564, -0.023531971499323845, -0.051505621522665024, 0.033563658595085144, 0.021815018728375435, -0.059010542929172516, -0.015537150204181671, 0.022666361182928085, -0.04146292805671692, 0.09782597422599792, 0.013608930632472038, 0.007973584346473217, 0.03598249703645706, 0.022342121228575706, -0.048044804483652115, 0.05036722496151924, -0.034040626138448715, 0.04605372995138168, 0.059258878231048584, -0.04970811679959297, -0.018158549442887306, -0.03663250431418419, 0.04016226902604103, -0.05336858704686165, 0.06833497434854507, 0.007919617928564548, -0.012239894829690456, -0.002803932409733534, -0.012946314178407192, -0.03634616732597351, 0.021236086264252663, -0.04821031540632248, 0.07320034503936768, -0.01216423511505127, -0.07982137799263, 0.05730273202061653, 0.021579096093773842, -0.07518810033798218, 0.06231081858277321, 0.05473465099930763, -0.01113538071513176, 0.022281382232904434, 0.05624625086784363, -0.032955460250377655, 0.01088630873709917, -0.05560576170682907, 0.055904731154441833, -0.04979171231389046, -0.03616754338145256, -0.005220397375524044, -0.046659160405397415, -0.013805394992232323, 0.04111897572875023, 0.014849752187728882, -0.00041386287193745375, 0.038804080337285995, -0.06392925977706909, -0.038010790944099426, -0.001683200360275805, 0.015776464715600014, -0.012258653528988361, 0.01461868453770876, -0.01891333982348442, 0.015193002298474312, 0.014058605767786503, -0.008127348497509956, -0.003929061349481344, 0.01850065588951111, 0.013767074793577194, -0.058154795318841934, -0.046635691076517105, 0.05350672826170921, 0.014688173308968544, -0.03269452601671219, 0.0008367152768187225, 0.018763672560453415, 0.03554601967334747, 0.027212142944335938, 0.003532376606017351, 0.007090831641107798, -0.026092130690813065, -0.009917154908180237, 0.019152401015162468, -0.001683133072219789, 0.010198063217103481, -0.005788904614746571, 0.047556959092617035, 0.03306988626718521, 0.017059557139873505, 0.011591918766498566, -0.02415371872484684, -0.004109711851924658, 0.01902875304222107, -0.04325936734676361, 0.002777551067993045, 0.012463376857340336, -0.034406878054142, -0.03073038160800934, -0.009051397442817688, -0.018676992505788803, 0.059591230005025864, -0.030611684545874596, 0.041673947125673294, 0.044160060584545135, -0.00540496502071619, -0.04754208028316498, -0.1123957484960556, 0.00510244769975543, -0.038543637841939926, 0.046293847262859344, 0.02388928458094597, -0.05166926234960556, -0.004211972933262587, -0.03483013063669205, -0.04204690828919411, 0.037040505558252335, 0.01710730604827404, -0.04074651002883911, 0.0375150628387928, 0.01202017068862915, -0.02817871794104576, 0.009444992057979107, 0.029511436820030212, -0.008363490924239159, 0.004118109121918678, 0.032962407916784286, -0.005798983387649059, 0.039091482758522034, 0.025882389396429062, -0.040440939366817474, -0.011176776140928268, -0.03722807392477989, -0.04756692796945572, -0.04877395182847977, -0.004347271751612425, 0.07840707898139954 ]
BigSalmon/InformalToFormalLincoln21
[ "pytorch", "gpt2", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- language: finnish license: mit widget: - text: "Täkäläinen sanomalehdistö [MASK] erit - täin" --- # Historic Language Models (HLMs) ## Languages Our Historic Language Models Zoo contains support for the following languages - incl. their training data source: | Language | Training data | Size | -------- | ------------- | ---- | German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered) | French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered) | English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered) | Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB | Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB ## Models At the moment, the following models are available on the model hub: | Model identifier | Model Hub link | --------------------------------------------- | -------------------------------------------------------------------------- | `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased) | `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased) | `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased) | `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased) # Corpora Stats ## German Europeana Corpus We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size and use less-noisier data: | OCR confidence | Size | -------------- | ---- | **0.60** | 28GB | 0.65 | 18GB | 0.70 | 13GB For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution: ![German Europeana Corpus Stats](stats/figures/german_europeana_corpus_stats.png) ## French Europeana Corpus Like German, we use different ocr confidence thresholds: | OCR confidence | Size | -------------- | ---- | 0.60 | 31GB | 0.65 | 27GB | **0.70** | 27GB | 0.75 | 23GB | 0.80 | 11GB For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution: ![French Europeana Corpus Stats](stats/figures/french_europeana_corpus_stats.png) ## British Library Corpus Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering: | Years | Size | ----------------- | ---- | ALL | 24GB | >= 1800 && < 1900 | 24GB We use the year filtered variant. The following plot shows a tokens per year distribution: ![British Library Corpus Stats](stats/figures/bl_corpus_stats.png) ## Finnish Europeana Corpus | OCR confidence | Size | -------------- | ---- | 0.60 | 1.2GB The following plot shows a tokens per year distribution: ![Finnish Europeana Corpus Stats](stats/figures/finnish_europeana_corpus_stats.png) ## Swedish Europeana Corpus | OCR confidence | Size | -------------- | ---- | 0.60 | 1.1GB The following plot shows a tokens per year distribution: ![Swedish Europeana Corpus Stats](stats/figures/swedish_europeana_corpus_stats.png) ## All Corpora The following plot shows a tokens per year distribution of the complete training corpus: ![All Corpora Stats](stats/figures/all_corpus_stats.png) # Multilingual Vocab generation For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB. The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs: | Language | Size | -------- | ---- | German | 10GB | French | 10GB | English | 10GB | Finnish | 9.5GB | Swedish | 9.7GB We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora: | Language | NER corpora | -------- | ------------------ | German | CLEF-HIPE, NewsEye | French | CLEF-HIPE, NewsEye | English | CLEF-HIPE | Finnish | NewsEye | Swedish | NewsEye Breakdown of subword fertility rate and unknown portion per language for the 32k vocab: | Language | Subword fertility | Unknown portion | -------- | ------------------ | --------------- | German | 1.43 | 0.0004 | French | 1.25 | 0.0001 | English | 1.25 | 0.0 | Finnish | 1.69 | 0.0007 | Swedish | 1.43 | 0.0 Breakdown of subword fertility rate and unknown portion per language for the 64k vocab: | Language | Subword fertility | Unknown portion | -------- | ------------------ | --------------- | German | 1.31 | 0.0004 | French | 1.16 | 0.0001 | English | 1.17 | 0.0 | Finnish | 1.54 | 0.0007 | Swedish | 1.32 | 0.0 # Final pretraining corpora We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here: | Language | Size | -------- | ---- | German | 28GB | French | 27GB | English | 24GB | Finnish | 27GB | Swedish | 27GB Total size is 130GB. # Pretraining ## Multilingual model We train a multilingual BERT model using the 32k vocab with the official BERT implementation on a v3-32 TPU using the following parameters: ```bash python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \ --output_dir gs://histolectra/bert-base-historic-multilingual-cased \ --bert_config_file ./config.json \ --max_seq_length=512 \ --max_predictions_per_seq=75 \ --do_train=True \ --train_batch_size=128 \ --num_train_steps=3000000 \ --learning_rate=1e-4 \ --save_checkpoints_steps=100000 \ --keep_checkpoint_max=20 \ --use_tpu=True \ --tpu_name=electra-2 \ --num_tpu_cores=32 ``` The following plot shows the pretraining loss curve: ![Training loss curve](stats/figures/pretraining_loss_historic-multilingual.png) ## English model The English BERT model - with texts from British Library corpus - was trained with the Hugging Face JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command: ```bash python3 run_mlm_flax.py --model_type bert \ --config_name /mnt/datasets/bert-base-historic-english-cased/ \ --tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \ --train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \ --validation_file /mnt/datasets/bl-corpus/english_validation.txt \ --max_seq_length 512 \ --per_device_train_batch_size 16 \ --learning_rate 1e-4 \ --num_train_epochs 10 \ --preprocessing_num_workers 96 \ --output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \ --save_steps 2500 \ --eval_steps 2500 \ --warmup_steps 10000 \ --line_by_line \ --pad_to_max_length ``` The following plot shows the pretraining loss curve: ![Training loss curve](stats/figures/pretraining_loss_historic_english.png) ## Finnish model The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command: ```bash python3 run_mlm_flax.py --model_type bert \ --config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \ --tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \ --train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \ --validation_file /mnt/datasets/hlms/finnish_validation.txt \ --max_seq_length 512 \ --per_device_train_batch_size 16 \ --learning_rate 1e-4 \ --num_train_epochs 40 \ --preprocessing_num_workers 96 \ --output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \ --save_steps 2500 \ --eval_steps 2500 \ --warmup_steps 10000 \ --line_by_line \ --pad_to_max_length ``` The following plot shows the pretraining loss curve: ![Training loss curve](stats/figures/pretraining_loss_finnish_europeana.png) ## Swedish model The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command: ```bash python3 run_mlm_flax.py --model_type bert \ --config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \ --tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \ --train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \ --validation_file /mnt/datasets/hlms/swedish_validation.txt \ --max_seq_length 512 \ --per_device_train_batch_size 16 \ --learning_rate 1e-4 \ --num_train_epochs 40 \ --preprocessing_num_workers 96 \ --output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \ --save_steps 2500 \ --eval_steps 2500 \ --warmup_steps 10000 \ --line_by_line \ --pad_to_max_length ``` The following plot shows the pretraining loss curve: ![Training loss curve](stats/figures/pretraining_loss_swedish_europeana.png) # Acknowledgments Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC ❤️ 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.023486165329813957, -0.031039061024785042, -0.006087295711040497, 0.05605125054717064, 0.030801918357610703, 0.016119971871376038, 0.0009028645581565797, -0.00396601390093565, -0.08194935321807861, 0.05126739665865898, 0.010944857262074947, -0.02328294888138771, 0.012300699017941952, 0.02898780256509781, -0.032920952886343, 0.0023305683862417936, 0.005425935611128807, -0.022630933672189713, -0.030578909441828728, 0.00029675784753635526, -0.019386617466807365, 0.004478580318391323, -0.005446098279207945, 0.04621826484799385, 0.012742170132696629, 0.0333385095000267, -0.017943324521183968, 0.06961702555418015, 0.02082478255033493, -0.07337822020053864, -0.022881152108311653, -0.03381967917084694, -0.0216520968824625, -0.047182463109493256, -0.022556068375706673, -0.019115982577204704, 0.03240508586168289, 0.012927654199302197, 0.028780626133084297, 0.06132720410823822, -0.019894465804100037, 0.008053957484662533, -0.019161684438586235, -0.04015156254172325, 0.05653683841228485, 0.01020839810371399, -0.04458920285105705, -0.0024035549722611904, 0.05096552148461342, -0.03545524924993515, -0.018120357766747475, -0.04087740182876587, -0.0018617430469021201, 0.01872478984296322, -0.0004707656626123935, -0.014375558122992516, -0.06307712197303772, 0.049939267337322235, 0.06330625712871552, -0.032582007348537445, -0.05018136650323868, -0.0035978618543595076, -0.08699925243854523, 0.012910316698253155, 0.038007427006959915, -0.041346386075019836, 0.01031377911567688, -0.060489654541015625, 0.021737391129136086, -0.007241955026984215, 0.01964762806892395, -0.05176278203725815, 0.020776895806193352, -0.06808939576148987, -0.04167944937944412, -0.019118059426546097, 0.02782307006418705, 0.026632489636540413, -0.042229942977428436, 0.06438890099525452, 0.047250617295503616, -0.018956519663333893, 0.048142287880182266, -0.013533871620893478, -0.013526142574846745, 0.02267739363014698, -0.046456146985292435, 0.0037779223639518023, 0.025156676769256592, 0.061497390270233154, -0.08059684187173843, -0.015814989805221558, -0.0047055925242602825, -0.011185859329998493, 0.031732507050037384, 0.034456659108400345, 0.013739858753979206, -0.01413653139024973, 0.0423901304602623, 0.006211574655026197, 0.02949373610317707, 0.0529019869863987, -0.010455314069986343, 0.053846634924411774, -0.014613271690905094, -0.009129396639764309, -0.022790512070059776, -0.042245492339134216, -0.04258245974779129, 0.0003551651316229254, 0.020513713359832764, -0.06873689591884613, -0.001987525960430503, 0.030724920332431793, 0.01711737923324108, -0.024071691557765007, 0.0642869845032692, -0.0005092260544188321, -0.04567255452275276, -0.058181025087833405, 0.0293692909181118, -0.018628280609846115, -0.02719830349087715, 0.008375385776162148, -0.042512401938438416, 0.03420813009142876, -0.020951000973582268, -0.01895991340279579, 0.013875107280910015, -0.00018176950106862932, -0.04532809183001518, 0.017683211714029312, 0.006080901250243187, -0.076930932700634, 0.019847067072987556, -0.009013202972710133, -0.034309424459934235, 0.034110914915800095, 0.004124338738620281, 0.13203741610050201, -0.022204564884305, -0.035016391426324844, -0.018175026401877403, -0.003155757440254092, -0.07023828476667404, 0.0325949564576149, 0.013960116542875767, -0.017407801002264023, 0.0023443633690476418, 0.006138504482805729, 0.032339539378881454, -0.06295841932296753, 0.002879831474274397, 0.05422309786081314, -0.00609925901517272, 0.007551705464720726, -0.057569075375795364, -0.02082306146621704, 0.004009971395134926, -0.01428346335887909, -0.010812041349709034, 0.026115817949175835, 0.026942076161503792, 0.0014310524566099048, -0.0579836368560791, -0.06762893497943878, -0.007715357467532158, 0.0639510303735733, -0.026900639757514, -0.006218975409865379, -0.03823355212807655, -0.001861983328126371, 0.02796163223683834, 0.005599662195891142, -0.04484213888645172, 0.031545769423246384, 0.030678201466798782, 0.04125208407640457, -0.005198477301746607, 0.051308829337358475, 0.0003617380280047655, -0.004199201241135597, -0.0455261766910553, 0.020650507882237434, 0.019849978387355804, -0.01757126674056053, 0.025880565866827965, 0.05305838957428932, 0.0052960519678890705, -0.03467906638979912, -0.041898101568222046, 0.05204994976520538, 0.001979679800570011, 0.011804022826254368, 0.01436941884458065, -0.010075891390442848, -0.03373970463871956, 0.03162704035639763, 0.003218073630705476, 0.003579650307074189, -0.03864113986492157, -0.02854669652879238, 0.040879689157009125, 0.0159091018140316, 0.036002688109874725, 0.02875438518822193, -0.002812443533912301, 0.10098102688789368, -0.02291196584701538, -0.010924833826720715, -0.04012054204940796, -0.080915667116642, 0.01984088495373726, 0.06113755330443382, 0.04029105603694916, 0.044441014528274536, -0.01242013368755579, -0.04414019733667374, 0.025490041822195053, 0.07328404486179352, 0.04930445924401283, -0.0032920120283961296, -0.02770966663956642, 0.013457437977194786, 0.02021443471312523, 0.031830355525016785, -0.054475586861371994, -0.061082255095243454, -0.011759964749217033, 0.04582478851079941, -0.04553712159395218, 0.012897467240691185, -0.008741018362343311, 0.018745189532637596, -0.04247639700770378, -0.08464185893535614, 0.0427091009914875, 0.008700803853571415, -0.01459469459950924, 0.005200422368943691, -0.005957270506769419, 0.04338626563549042, 0.025281567126512527, 0.01799154467880726, 0.013425399549305439, -0.044105466455221176, 0.0055565424263477325, 0.007580850273370743, 0.04859268292784691, -0.0371549092233181, 0.03620060533285141, -0.013791327364742756, -0.006246736738830805, 0.04285251721739769, -0.026460792869329453, 0.008964925073087215, 0.042882539331912994, 0.029129086062312126, -0.0526161789894104, 0.02931772731244564, 0.017720436677336693, 0.0307001993060112, 0.036613576114177704, -0.004488155711442232, 0.04090464115142822, 0.02228040248155594, 0.027673695236444473, 0.0801040455698967, 0.030677292495965958, 0.014060074463486671, -0.012620460242033005, 0.062172289937734604, 0.03678052872419357, -0.007789760362356901, 0.05853844806551933, -0.05258467420935631, 0.02132437750697136, -0.051517926156520844, 0.030693931505084038, -0.008833087980747223, 0.029997002333402634, 0.019737284630537033, -0.006834109779447317, -0.01378366444259882, -0.012128635309636593, -0.01156003400683403, 0.006360870320349932, 0.03499612957239151, -0.0037129847332835197, 0.0036515984684228897, -0.025237947702407837, -0.036723542958498, -0.0036520827561616898, -0.05682569742202759, -0.042980778962373734, 0.015927202999591827, -0.024271123111248016, 0.00896087009459734, -0.0693536102771759, -0.0238779429346323, -0.0556543804705143, -0.020995797589421272, 0.027287883684039116, 0.032401468604803085, -0.014993042685091496, -0.032249681651592255, -0.026857811957597733, -0.021868996322155, -0.03468113765120506, -0.012381317093968391, -0.06834577769041061, -0.030620699748396873, -0.06022334843873978, 0.039116229861974716, 0.05394468456506729, 0.01801067776978016, -0.03105928935110569, 0.020602483302354813, -0.0001357791479676962, -0.020072827115654945, 0.02824743650853634, 0.03186579421162605, -0.0554976761341095, -0.05771239474415779, 0.0534832626581192, -0.020671235397458076, 0.01279961783438921, -0.010371966287493706, -0.007857362739741802, 0.07217296957969666, 0.07978302240371704, 0.006661372259259224, 0.030522821471095085, 0.03440538048744202, -0.035795241594314575, -0.06293918192386627, -0.02656555362045765, -0.03240564465522766, -0.006027861963957548, -0.02004002220928669, -0.0399828776717186, -0.02454598806798458, -0.03104717656970024, 0.0035601863637566566, -0.0029135486111044884, -0.009231001138687134, 0.009275319054722786, 0.022324269637465477, 0.04268979653716087, 0.03624522686004639, -0.04452114924788475, -0.03213532641530037, 0.0716778114438057, 0.004158289171755314, 0.014106029644608498, -0.08564537763595581, -0.02637587860226631, 0.017778556793928146, 0.04065774008631706, 0.010279649868607521, -0.027712328359484673, 0.08152340352535248, 0.0037173533346503973, 0.012868495658040047, -0.007166206371039152, -0.01731513813138008, -0.03508520498871803, -0.014843150973320007, 0.0020261858589947224, -0.018592946231365204, -0.04773754999041557, -0.021989895030856133, 0.017648233100771904, 0.02647656574845314, -0.08557980507612228, -0.021256225183606148, -0.008311916142702103, 0.024038173258304596, 0.0408090204000473, -0.031504835933446884, -0.05603111907839775, 0.02745639532804489, -0.07150714844465256, -0.045778196305036545, 0.018868442624807358, 0.02029082179069519, 0.02715272828936577, 0.05360277369618416, 0.05371595919132233, -0.039517324417829514, 0.025167206302285194, 0.015779996290802956, 0.04999985545873642, 0.022421253845095634, -0.044254351407289505, 0.0366462804377079, -0.034346770495176315, 0.002505446784198284, -0.014882063493132591, -0.045134950429201126, -0.06278344243764877, -0.08700741082429886, -0.0156894251704216, 0.04246852546930313, -0.0014339914778247476, 0.004511735867708921, 0.039035674184560776, -0.013965749181807041, 0.014649000018835068, -0.0077278148382902145, 0.0054803090170025826, 0.04530717432498932, -0.0567902997136116, 0.062116507440805435, -0.01356709934771061, 0.013665994629263878, -0.0538397915661335, 0.006938728969544172, -0.029709219932556152, -0.02875753492116928, 0.0030291196890175343, 0.05359745770692825, 0.020792191848158836, 0.027465837076306343, 0.08306446671485901, -0.004405643790960312, -0.02347457781434059, 0.06406155973672867, 0.041455164551734924, 0.0028451893012970686, -0.055746786296367645, -0.031466271728277206, -0.03501346707344055, -0.05008158087730408, -0.020426969975233078, -0.02682991325855255, 0.0355694480240345, 0.032832078635692596, 0.010884661227464676, -0.0007312145316973329, -0.010995598509907722, -0.04036116972565651, -0.030089741572737694, -0.05477650463581085, 0.004288592841476202, 0.01566925086081028, -0.017121542245149612, 0.03625301644206047, 0.05807441845536232, 0.004541386384516954, 0.031219463795423508, 0.010903416201472282, -0.01315679494291544, -0.022989841178059578, 0.02958674356341362, 0.023269789293408394, -0.0514552928507328, -0.05888592451810837, -0.04266924411058426, 0.051217250525951385, 0.05498708412051201, 0.02482793852686882, -0.07141828536987305, 0.012353241443634033, 0.04222746193408966, -0.029055818915367126, 0.059134434908628464, -0.022747213020920753, 0.04775969311594963, 0.04307599365711212, -0.025759568437933922, -0.00033316455665044487, -0.023443369194865227, 0.001030534622259438, 0.011759391985833645, 0.05661795288324356, -0.027317987754940987, -0.03493133559823036, -0.057776425033807755, 0.009364740923047066, 0.017882417887449265, 0.055276352912187576, 0.038410402834415436, -0.03337873890995979, -0.04444505274295807, 0.024788709357380867, 0.036085039377212524, -0.07543428987264633, 0.0250803604722023, 0.00046712442417629063, 0.040441401302814484, -0.031166547909379005, -0.05898810923099518, -0.0275461096316576, -0.014115017838776112, 0.044209159910678864, -0.016202986240386963, -0.037744224071502686, -0.0701303631067276, 0.018787086009979248, -0.01999806798994541, -0.00560835562646389, -0.10394028574228287, 0.01083032414317131, -0.007524427492171526, -0.0427430085837841, 0.0477098748087883, 0.02293088287115097, 0.011747038923203945, 0.05126436427235603, 0.009866636246442795, 0.013857121579349041, -0.04172811657190323, 0.03905227407813072, -0.04242933541536331, -0.013942795805633068, -0.018779342994093895, -0.052338019013404846, -0.029137423262000084, -0.025831982493400574, -0.04097350686788559, -0.039290089160203934, -0.04519488289952278, 0.02836831845343113, 0.0012367161689326167, -0.002321589505299926, -0.019938290119171143, 0.046411436051130295, -0.018489506095647812, -0.02912805788218975, -0.04092875123023987, -0.035903748124837875, -0.0645998865365982, -0.044675879180431366, -0.00003267600914114155, -0.004116316791623831, 0.03532540053129196, -0.008712745271623135, -0.02012042887508869, 0.036055631935596466, 0.01533588021993637, -0.036814261227846146, 0.01989261619746685, 0.0018218463519588113, -0.04582054913043976, -0.03911348432302475, -0.002598811872303486, 0.01551370695233345, 0.05446729063987732, -0.03965139389038086, 0.037871330976486206, 0.03496118262410164, -0.01326759997755289, -0.030008191242814064, 0.02141152136027813, 0.04031216353178024, -0.07679633051156998, -0.05063530430197716, 0.01241784356534481, -0.05626155063509941, 0.01891488768160343, -0.026972580701112747, -0.0021743522956967354, 0.03866098076105118, 0.013615384697914124, 0.05008111521601677, 0.028525609523057938, -0.03952024132013321, 0.024845365434885025, -0.002398817567154765, 0.01101473718881607, -0.04623791202902794, 0.05502421408891678, -0.03113005869090557, 0.021627778187394142, -0.01546583790332079, -0.03150103613734245, -0.027984771877527237, 0.03962146118283272, -0.03709607943892479, -0.017116904258728027, 0.019990645349025726, 0.016388926655054092, -0.030775053426623344, 0.023661518469452858, -0.016624078154563904, 0.026701072230935097, -0.01509553287178278, 0.03181920200586319, -0.04870251193642616, -0.01840142160654068, -0.041910577565431595, -0.0016055109445005655, -0.04492346942424774, 0.014447742141783237, -0.010758092626929283, -0.057384442538022995, 0.024059677496552467, 0.006315775215625763, 0.030826330184936523, 0.03017786517739296, 0.0032766705844551325, -0.00698661245405674, 0.017391687259078026, -0.043694980442523956, -0.017540007829666138, -0.019008291885256767, -0.009148146025836468, -0.017293667420744896, 0.052641235291957855, 0.020336588844656944, -0.054091889411211014, -0.07969331741333008, 0.02618488110601902, 0.02852197363972664, -0.02637263387441635, 0.0017879196675494313, 0.02715693973004818, 0.002103649079799652, 0.013030295260250568, -0.016724323853850365, -0.011745509691536427, -0.024755561724305153, -0.027616506442427635, 0.01830264925956726, -0.01341621670871973, 0.004635273944586515, 0.03158370405435562, -0.02329561859369278, -0.011426878161728382, 0.05461905151605606, 0.008080761879682541, 0.02859392575919628, -0.015923626720905304, -0.04573502391576767, 0.02809777669608593, 0.02614765055477619, -0.04970633238554001, 0.013189388439059258, 0.04572468623518944, -0.005047545302659273, 0.06927354633808136, -0.005157653708010912, 0.0357646569609642, 0.060867179185152054, 0.01677323505282402, -0.04153484106063843, 0.025630410760641098, -0.0013780283043161035, 0.010331996716558933, 0.06512090563774109, -0.05454926937818527, 0.028911596164107323, -0.058580104261636734, 0.08718891441822052, -0.08150962740182877, 0.02820778265595436, 0.04591064527630806, 0.009157988242805004, 0.01986183226108551, -0.0426541343331337, -0.02607216127216816, 0.02929798699915409, -0.039162471890449524, 0.04207400232553482, 0.02672705054283142, -0.05308365449309349, 0.054211247712373734, 0.010719791054725647, -0.09202560037374496, 0.03643108531832695, 0.050021715462207794, 0.001908486825414002, 0.024668289348483086, 0.004382386337965727, -0.06972343474626541, 0.026546893641352654, -0.028489338234066963, 0.01736387424170971, -0.06042058393359184, -0.005746511276811361, 0.02676309458911419, -0.04426001012325287, -0.004770803265273571, 0.03542910888791084, -0.03040398471057415, -0.002096397103741765, 0.03913947194814682, -0.021393241360783577, -0.03295796364545822, 0.03333844617009163, 0.0240725539624691, -0.037443485110998154, 0.011933593079447746, -0.04716432839632034, 0.011393701657652855, 0.03011377900838852, -0.008706098422408104, -0.05308128893375397, -0.01094325352460146, 0.019488532096147537, -0.04123441502451897, -0.03774314001202583, 0.02224305272102356, 0.008482278324663639, -0.06020081043243408, 0.017350103706121445, 0.009167775511741638, -0.015209740027785301, 0.043871600180864334, -0.005341526586562395, 0.0249392818659544, -0.05117519944906235, -0.037658318877220154, 0.007126997224986553, -0.002106741536408663, 0.01483889576047659, -0.022267477586865425, 0.03252822533249855, 0.027597865089774132, 0.02566186524927616, -0.0059099276550114155, -0.07513407617807388, -0.03500106930732727, 0.005373371299356222, -0.04970964416861534, 0.02360682561993599, 0.008073345758020878, -0.05020713806152344, -0.03786821290850639, -0.00017394627502653748, -0.007853556424379349, 0.032813601195812225, -0.03878658264875412, 0.010107729583978653, 0.030959051102399826, -0.014126650989055634, -0.02205825038254261, -0.07617971301078796, -0.024749357253313065, -0.05906550958752632, 0.029965920373797417, 0.000352418894181028, -0.03089841455221176, 0.007489004172384739, -0.012713639065623283, -0.056405793875455856, 0.018261410295963287, 0.01991238445043564, -0.05945185199379921, 0.06724432855844498, 0.011188178323209286, -0.020205210894346237, -0.01826096512377262, 0.012993758544325829, -0.05020850524306297, 0.037838976830244064, 0.0032873668242245913, 0.026785826310515404, 0.0027717838529497385, 0.021892977878451347, -0.029405303299427032, -0.02483142726123333, -0.07118914276361465, -0.04433286935091019, -0.0169052854180336, 0.012736072763800621, 0.08474793285131454 ]
BigSalmon/InformalToFormalLincoln22
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- language: fr license: mit tags: - "historic french" --- # 🤗 + 📚 dbmdz BERT model In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State Library open sources French Europeana BERT models 🎉 # French Europeana BERT We extracted all French texts using the `language` metadata attribute from the Europeana corpus. The resulting corpus has a size of 63GB and consists of 11,052,528,456 tokens. Based on the metadata information, texts from the 18th - 20th century are mainly included in the training corpus. Detailed information about the data and pretraining steps can be found in [this repository](https://github.com/stefan-it/europeana-bert). ## Model weights BERT model weights for PyTorch and TensorFlow are available. * French Europeana BERT: `dbmdz/bert-base-french-europeana-cased` - [model hub page](https://huggingface.co/dbmdz/bert-base-french-europeana-cased/tree/main) ## Results For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert). ## Usage With Transformers >= 2.3 our French Europeana BERT model can be loaded like: ```python from transformers import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-french-europeana-cased") model = AutoModel.from_pretrained("dbmdz/bert-base-french-europeana-cased") ``` # 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 model 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 our model from their S3 storage 🤗
[ 0.0023738592863082886, -0.021615972742438316, -0.017070427536964417, 0.05561211705207825, 0.00297957519069314, 0.018502678722143173, -0.030941298231482506, -0.029654577374458313, -0.04637674242258072, 0.04528895393013954, 0.012718770653009415, -0.018554704263806343, -0.010788238607347012, 0.04173677787184715, -0.019623422995209694, 0.0011643656762316823, 0.005923902150243521, -0.001543719437904656, -0.05103171616792679, -0.02273518219590187, -0.026346789672970772, 0.033964864909648895, -0.01959691010415554, 0.036174699664115906, 0.01829111948609352, 0.017036430537700653, 0.0030170779209583998, 0.058483418077230453, 0.022057589143514633, -0.0811329334974289, -0.003084988333284855, -0.03174940496683121, -0.04002874717116356, -0.015623155981302261, -0.013211771845817566, -0.005070687737315893, 0.00025847426149994135, 0.004304833710193634, 0.03994870185852051, 0.0390220545232296, 0.0024415261577814817, -0.004511428065598011, -0.023442165926098824, -0.02175833471119404, 0.05888807401061058, 0.018333163112401962, -0.060822661966085434, -0.044513072818517685, 0.028536954894661903, -0.044374383985996246, -0.0380525216460228, -0.07929161190986633, -0.018891891464591026, 0.019558655098080635, 0.004628406837582588, -0.024795835837721825, -0.0692068561911583, 0.015033387579023838, 0.07523065060377121, -0.029792392626404762, -0.029192015528678894, 0.009671579115092754, -0.05659692361950874, 0.026928367093205452, 0.04612095281481743, -0.03818873316049576, 0.0033116706181317568, -0.020260881632566452, 0.027681177482008934, -0.01934855990111828, 0.03867866471409798, -0.026577847078442574, -0.0012138653546571732, -0.08440441638231277, -0.009019296616315842, -0.01492503471672535, 0.0380115807056427, 0.05009011551737785, -0.029935818165540695, 0.042946700006723404, 0.012632900848984718, -0.008198101073503494, 0.04075733199715614, -0.016772544011473656, -0.025103269144892693, 0.051531244069337845, -0.039193496108055115, 0.009015110321342945, 0.02786129340529442, 0.04702058807015419, -0.05042843893170357, -0.024155985563993454, -0.0055732992477715015, -0.021266058087348938, 0.02979128248989582, 0.04883423447608948, 0.02483624778687954, -0.018074583262205124, 0.022663429379463196, 0.03246860206127167, 0.011069536209106445, 0.05390765517950058, -0.015860876068472862, 0.05262857675552368, -0.007569503039121628, -0.01688474230468273, -0.024586044251918793, -0.02372727170586586, -0.04490812495350838, 0.01868346892297268, 0.020988108590245247, -0.033713992685079575, -0.041892874985933304, 0.07292723655700684, 0.015405943617224693, -0.03570559248328209, 0.055154964327812195, -0.017570538446307182, -0.037424053996801376, -0.07015880942344666, 0.011196544393897057, -0.00241675041615963, 0.009797496721148491, -0.002500080969184637, -0.06723468005657196, 0.020565729588270187, -0.03922479599714279, -0.01436701975762844, 0.00009605682862456888, 0.0012641609646379948, -0.015570169314742088, 0.034556567668914795, 0.009080302901566029, -0.053943928331136703, 0.020521242171525955, 0.0016174021875485778, -0.051239147782325745, 0.06693316251039505, 0.029861807823181152, 0.12573915719985962, -0.03671693801879883, -0.025870060548186302, 0.014779089018702507, 0.011114153079688549, -0.0496448390185833, 0.013123407028615475, 0.015730902552604675, -0.02622411772608757, -0.00974231492727995, 0.0012865583412349224, 0.04373454302549362, -0.06344397366046906, -0.01510687917470932, 0.04039808362722397, -0.013820229098200798, 0.028480365872383118, -0.049341145902872086, -0.008596811443567276, -0.02632344700396061, -0.01389487273991108, -0.027185384184122086, 0.004089734051376581, -0.012650358490645885, -0.018375935032963753, -0.03595857322216034, -0.05468631163239479, -0.006583413574844599, 0.10017521679401398, -0.0008321927743963897, -0.019141199067234993, -0.045663606375455856, 0.017475714907050133, 0.045933667570352554, 0.04121346026659012, -0.038274336606264114, 0.04104240983724594, 0.04188615456223488, 0.031145185232162476, -0.01345762051641941, 0.07115370780229568, 0.012992190197110176, -0.020605286583304405, -0.05583900958299637, 0.017921309918165207, -0.012389689683914185, -0.04641657695174217, 0.036692455410957336, 0.04832381755113602, 0.0004656441160477698, -0.017627041786909103, -0.03573126718401909, 0.0505245141685009, -0.0004146671562921256, 0.006357209291309118, 0.028798896819353104, -0.014944094233214855, -0.03650837019085884, 0.057847410440444946, -0.01879972219467163, 0.007185001857578754, -0.01200372539460659, -0.03481772541999817, 0.001899463590234518, 0.009838633239269257, 0.04590204730629921, 0.03164553642272949, -0.0029885396361351013, 0.08627516031265259, -0.03655773401260376, 0.006096567027270794, -0.0336126871407032, -0.0445035919547081, -0.011334151960909367, 0.046920325607061386, 0.025639647617936134, 0.027248675003647804, -0.02427462488412857, -0.04288671538233757, 0.023432936519384384, 0.0712190791964531, 0.03853793442249298, 0.025504393503069878, -0.03780954331159592, -0.023941732943058014, 0.03448121249675751, 0.05239028483629227, -0.06351315975189209, -0.03256823495030403, 0.00004384053318062797, 0.03287620097398758, -0.03802313655614853, 0.0017718843882903457, -0.03289208188652992, 0.013228613883256912, -0.028389714658260345, -0.07450714707374573, 0.06229458004236221, 0.04767364263534546, -0.016242491081357002, 0.03172377124428749, -0.006660753395408392, 0.002186250640079379, 0.0002442939148750156, 0.026811368763446808, 0.0008630066295154393, -0.058891069144010544, 0.006281049456447363, 0.024282321333885193, 0.04720178246498108, -0.06605921685695648, 0.030398447066545486, -0.01679808460175991, 0.01230187900364399, 0.02939743734896183, -0.04357206076383591, 0.01600681245326996, 0.03834657743573189, 0.029971059411764145, -0.04900714010000229, 0.007703184615820646, -0.011496261693537235, 0.03576856479048729, 0.059086333960294724, 0.009842276573181152, 0.04319345951080322, 0.014418443664908409, 0.026626186445355415, 0.06659483164548874, 0.04991886764764786, 0.020035957917571068, 0.017058594152331352, 0.04662057012319565, -0.009450050070881844, -0.015500764362514019, 0.0739927813410759, -0.03491615131497383, 0.01573973335325718, -0.0384257435798645, 0.004377961624413729, 0.02621602825820446, 0.0033405222930014133, 0.0152968754991889, -0.006152670830488205, -0.0046562375500798225, -0.0026650824584066868, 0.017140395939350128, -0.008777324110269547, 0.05331818759441376, 0.013952670618891716, 0.0042028529569506645, -0.012537489645183086, -0.02754366211593151, 0.008220059797167778, -0.03926796838641167, -0.04405238851904869, 0.017731722444295883, -0.045654430985450745, 0.004945699125528336, -0.09067029505968094, -0.04010266065597534, -0.07324283570051193, 0.004304164554923773, 0.03138132020831108, 0.026408551260828972, -0.007538243662565947, -0.023250140249729156, 0.015569227747619152, -0.014731427654623985, -0.04110882431268692, -0.05356436222791672, -0.03929683193564415, -0.03513792157173157, -0.06876461952924728, 0.06509210914373398, 0.03107747808098793, 0.029680408537387848, -0.005143251735717058, 0.007446033414453268, -0.04271910712122917, -0.021288787946105003, 0.04478596895933151, 0.036184173077344894, -0.0451226606965065, -0.031177382916212082, 0.007748901378363371, -0.013198981061577797, 0.022631797939538956, 0.009654038585722446, -0.05036615580320358, 0.08838731795549393, 0.06916122883558273, 0.005450587719678879, 0.015867097303271294, 0.01765097677707672, -0.026790959760546684, -0.059199076145887375, -0.015369849279522896, -0.03472954407334328, 0.0023404269013553858, -0.033777426928281784, -0.04109066724777222, -0.023150529712438583, -0.0316312350332737, 0.0017073411727324128, 0.007464557886123657, 0.00623930711299181, -0.007189994677901268, 0.03141776844859123, 0.02786865085363388, 0.03897807374596596, -0.026840148493647575, -0.025616904720664024, 0.0808115005493164, 0.019760997965931892, -0.0006428917986340821, -0.06266427785158157, -0.025260085240006447, 0.037479765713214874, 0.0544305257499218, -0.007580974604934454, -0.022840015590190887, 0.07090651988983154, 0.02662516012787819, 0.004347152542322874, -0.03011101856827736, -0.0007689620251767337, -0.043473728001117706, -0.008378111757338047, 0.006931776646524668, -0.011564372107386589, -0.06108011677861214, -0.030107470229268074, 0.03720695152878761, 0.029742972925305367, -0.08763188123703003, -0.03386610373854637, -0.01530018262565136, 0.01477938611060381, 0.03345988690853119, -0.00037255746428854764, -0.05810524523258209, 0.009863226674497128, -0.05108220502734184, -0.060212038457393646, 0.010982205159962177, 0.0106358015909791, 0.04044082388281822, 0.052509650588035583, 0.042559247463941574, -0.030564991757273674, 0.026156047359108925, 0.03616141527891159, 0.07341095060110092, 0.01558765210211277, -0.053406573832035065, 0.029163451865315437, -0.031928516924381256, -0.00042201782343909144, 0.01842823252081871, -0.01850169152021408, -0.06399668753147125, -0.07324184477329254, -0.02520386315882206, 0.014128508977591991, 0.024249857291579247, -0.018971476703882217, 0.046664051711559296, -0.023662298917770386, -0.019468631595373154, -0.011298807337880135, -0.0006140234181657434, 0.028214288875460625, -0.06099741905927658, 0.07083199173212051, -0.008966985158622265, 0.042683325707912445, -0.06812205165624619, 0.0363861545920372, -0.03432774171233177, -0.028152570128440857, -0.013230816461145878, 0.04814237728714943, 0.04285186901688576, 0.03519058600068092, 0.07230222970247269, 0.02972612902522087, -0.04125529155135155, 0.046237919479608536, 0.011319543235003948, 0.005772794596850872, -0.030836012214422226, -0.040085189044475555, -0.011745148338377476, -0.032229624688625336, -0.012940588407218456, -0.02359909936785698, 0.010143573395907879, 0.011863822117447853, 0.00383166316896677, -0.02452254854142666, -0.006512422580271959, 0.0017186336917802691, -0.02338893711566925, -0.0632428377866745, -0.023444168269634247, -0.0035814412403851748, -0.01283272635191679, 0.05416804179549217, 0.0392497181892395, -0.017323868349194527, 0.06206712871789932, 0.02589370496571064, -0.010047695599496365, -0.036477696150541306, 0.032930947840213776, 0.029664598405361176, -0.035581450909376144, -0.06680033355951309, -0.04085515812039375, 0.03504353016614914, 0.06580542027950287, 0.018576273694634438, -0.08180491626262665, 0.009866892360150814, 0.06019233539700508, -0.027818065136671066, 0.06136590614914894, -0.02926991693675518, 0.054156746715307236, 0.0667787715792656, -0.0198620967566967, 0.017714085057377815, -0.03860076889395714, 0.01464108470827341, 0.0032394661102443933, 0.022541634738445282, -0.053416814655065536, -0.04320739582180977, -0.05866069346666336, 0.023968186229467392, 0.017662646248936653, 0.03649940341711044, 0.016851278021931648, -0.021443957462906837, -0.0511186346411705, 0.01868915557861328, 0.03706078231334686, -0.06283904612064362, 0.029747817665338516, 0.013390544801950455, 0.07343283295631409, -0.05615944042801857, -0.03219186142086983, -0.011601264588534832, -0.002816544845700264, 0.04508298635482788, 0.02621551975607872, -0.019240500405430794, -0.06770522892475128, 0.01660768687725067, -0.03884464129805565, -0.010130464099347591, -0.0850478857755661, -0.0001579738745931536, -0.01741877570748329, -0.017542166635394096, 0.054840147495269775, 0.019281385466456413, 0.010882874950766563, 0.027473272755742073, -0.001170743489637971, -0.01219360064715147, -0.028093619272112846, 0.019771575927734375, -0.03622924163937569, -0.024384913966059685, -0.005071381572633982, -0.032595034688711166, -0.009187767282128334, -0.04869303107261658, -0.030265629291534424, -0.03980705887079239, -0.00494157150387764, 0.02666463330388069, -0.012263685464859009, 0.000779230147600174, -0.028764352202415466, 0.03476136550307274, -0.031101880595088005, -0.028859354555606842, -0.028624529018998146, -0.024803830310702324, -0.04781905189156532, -0.056791115552186966, 0.01074734702706337, -0.0035832461435347795, 0.020472755655646324, 0.016176240518689156, -0.008775546215474606, -0.0008417583885602653, 0.0040001170709729195, -0.027282079681754112, 0.013550501316785812, 0.012641582638025284, -0.05684768036007881, -0.03128478303551674, 0.012226499617099762, 0.018070993945002556, 0.05271231383085251, -0.038429416716098785, 0.04833110049366951, 0.01934649981558323, -0.015886947512626648, -0.022050341591238976, 0.014707732945680618, 0.023194117471575737, -0.08399154245853424, -0.05995238572359085, -0.019617032259702682, -0.04977018013596535, 0.05448445305228233, -0.018430424854159355, -0.008677090518176556, 0.03936693072319031, 0.03341890498995781, 0.050978414714336395, 0.013853096403181553, -0.034965578466653824, 0.03661967068910599, -0.02940531261265278, 0.0217902734875679, -0.06384553015232086, 0.03309765085577965, -0.04200839623808861, 0.03182187303900719, -0.004864973481744528, -0.01926957070827484, -0.0320415236055851, 0.047947198152542114, -0.018420716747641563, -0.018341630697250366, -0.01115775853395462, 0.03588414937257767, -0.013256999664008617, 0.024601992219686508, -0.030645450577139854, 0.020802924409508705, 0.016699062660336494, 0.04679698869585991, -0.0533890575170517, -0.029597297310829163, -0.04053104668855667, 0.032689206302165985, -0.0502890944480896, -0.0013762812595814466, 0.002660028636455536, -0.029509861022233963, 0.010012299753725529, 0.01176940742880106, 0.022029001265764236, 0.009574412368237972, -0.02284354530274868, 0.002682930789887905, 0.017539028078317642, -0.04485736042261124, -0.0032807006500661373, 0.004375521559268236, -0.013864328153431416, -0.022403579205274582, 0.06924808025360107, 0.03683069720864296, -0.06858960539102554, -0.052969757467508316, 0.0652872622013092, 0.0005458809318952262, -0.008767505176365376, -0.015107602812349796, 0.047781020402908325, 0.014462115243077278, 0.029772095382213593, -0.01690371334552765, 0.0031707899179309607, -0.004935398232191801, -0.028952131047844887, -0.008284563198685646, 0.0029282397590577602, 0.02126133255660534, 0.023124225437641144, -0.007575802505016327, -0.053737372159957886, 0.07227328419685364, 0.0066356598399579525, -0.00008506740414304659, -0.009932278655469418, -0.014666547067463398, 0.0170948076993227, 0.023081665858626366, -0.05351201817393303, 0.0013041794300079346, 0.03031749464571476, -0.02409515529870987, 0.08552615344524384, -0.02601630426943302, 0.033641964197158813, 0.06286550313234329, 0.02991112694144249, -0.027916472405195236, 0.05424942821264267, -0.01851889304816723, 0.006919308565557003, 0.055747516453266144, -0.03927086293697357, 0.0024490375071763992, -0.016469351947307587, 0.06887378543615341, -0.03203696012496948, 0.050267431885004044, 0.03899247944355011, 0.02542504295706749, 0.03049343079328537, -0.06259135156869888, -0.0004082759260199964, 0.008200086653232574, -0.06412382423877716, 0.0744984969496727, 0.0027398942038416862, -0.07021506875753403, 0.05607403442263603, 0.02954164706170559, -0.06974270939826965, 0.047383349388837814, 0.04516088217496872, 0.02160581573843956, -0.018367009237408638, 0.02664862759411335, -0.049563389271497726, 0.005075609777122736, -0.04700656235218048, 0.020513463765382767, -0.042595624923706055, -0.004282296635210514, 0.005617950111627579, -0.02310893125832081, 0.006564871873706579, 0.033600855618715286, -0.020050279796123505, -0.01190401054918766, 0.03607216849923134, -0.042789358645677567, -0.04595489054918289, 0.002890807343646884, 0.016293182969093323, -0.015684910118579865, 0.012393275275826454, -0.04413199424743652, 0.015135013498365879, 0.00595736363902688, -0.016013119369745255, -0.02663738653063774, 0.00010494469461264089, 0.009788372553884983, -0.0413183718919754, -0.06192178651690483, 0.03491731360554695, -0.002989458618685603, -0.013934778049588203, 0.0175993200391531, 0.0028166493866592646, -0.0030226788949221373, 0.035280514508485794, 0.003306799102574587, 0.007635067217051983, -0.020316094160079956, -0.02305143140256405, 0.003834596136584878, 0.022741911932826042, 0.030309999361634254, -0.003254432464018464, 0.028338436037302017, 0.024658357724547386, 0.06523599475622177, -0.0021779038943350315, -0.05248625949025154, -0.0319671705365181, 0.023145413026213646, -0.03184352442622185, -0.000801532412879169, 0.007725823670625687, -0.0706062912940979, -0.03682059794664383, 0.00020291183318477124, -0.026569649577140808, 0.03233944997191429, -0.07731301337480545, 0.02116328291594982, 0.04835572838783264, -0.009254087693989277, -0.0424354188144207, -0.0945722758769989, -0.022163910791277885, -0.032979920506477356, 0.02208222821354866, 0.015579303726553917, -0.028002286329865456, 0.008619369007647038, -0.020528730005025864, -0.0391913577914238, 0.0478428490459919, 0.014366734772920609, -0.06826598197221756, 0.06265410035848618, 0.03850531578063965, -0.07546345889568329, 0.0013824780471622944, 0.01955774798989296, -0.020608222112059593, 0.021705908700823784, 0.023993462324142456, 0.0242043174803257, 0.015715310350060463, 0.045908380299806595, -0.03692707419395447, -0.036498814821243286, -0.07983790338039398, -0.046886146068573, -0.02182857133448124, 0.014989868737757206, 0.08452390134334564 ]
BigSalmon/InformalToFormalLincoln24
[ "pytorch", "gpt2", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
5
null
--- language: de license: mit tags: - "historic german" --- # 🤗 + 📚 dbmdz BERT models In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State Library open sources German Europeana BERT models 🎉 # German Europeana BERT We use the open source [Europeana newspapers](http://www.europeana-newspapers.eu/) that were provided by *The European Library*. The final training corpus has a size of 51GB and consists of 8,035,986,369 tokens. Detailed information about the data and pretraining steps can be found in [this repository](https://github.com/stefan-it/europeana-bert). ## 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 | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | `dbmdz/bert-base-german-europeana-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-german-europeana-cased/config.json) • [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-german-europeana-cased/pytorch_model.bin) • [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-german-europeana-cased/vocab.txt) ## Results For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert). ## Usage With Transformers >= 2.3 our German Europeana BERT models can be loaded like: ```python from transformers import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-german-europeana-cased") model = AutoModel.from_pretrained("dbmdz/bert-base-german-europeana-cased") ``` # 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.0163403507322073, -0.020723508670926094, -0.01998221129179001, 0.07002788037061691, -0.00004883934525423683, 0.030215760692954063, -0.011911187320947647, -0.022403085604310036, -0.07190102338790894, 0.05081489682197571, 0.020703615620732307, -0.02529342658817768, -0.003788016038015485, 0.04164505749940872, -0.02688942477107048, -0.014442638494074345, 0.006566151976585388, 0.004361389204859734, -0.057844050228595734, -0.02495100535452366, -0.013684090226888657, 0.017726479098200798, -0.0034661125391721725, 0.03651708364486694, 0.014506482519209385, 0.0161450132727623, 0.0038095968775451183, 0.05005925893783569, 0.021442759782075882, -0.06960747390985489, -0.003355934051796794, -0.03833545744419098, -0.035167403519153595, -0.015185345895588398, -0.02130940370261669, -0.003362498711794615, 0.006968905683606863, 0.00826443824917078, 0.031418655067682266, 0.04523707926273346, -0.005526882596313953, 0.009642280638217926, -0.004521925002336502, -0.03643764927983284, 0.060029227286577225, 0.029422756284475327, -0.05665929615497589, -0.0505739189684391, 0.039307571947574615, -0.043542735278606415, -0.032433561980724335, -0.0735163763165474, -0.02553594298660755, 0.02011844329535961, -0.02345128171145916, -0.02462988905608654, -0.068397656083107, 0.01914438046514988, 0.06283755600452423, -0.03634001687169075, -0.035855136811733246, 0.013709504157304764, -0.07767640799283981, 0.010381072759628296, 0.046503499150276184, -0.035816341638565063, 0.0024486540351063013, -0.013045852072536945, 0.016855627298355103, -0.017378732562065125, 0.033346544951200485, -0.035838447511196136, 0.013291670940816402, -0.06836327165365219, -0.006856600753962994, -0.02238611690700054, 0.04643214866518974, 0.04781555384397507, -0.03929053992033005, 0.04758407175540924, 0.022417102009058, 0.0012640311615541577, 0.053725119680166245, -0.03415278345346451, 0.003228255547583103, 0.04245245084166527, -0.034041501581668854, 0.006309029646217823, 0.025630466639995575, 0.05808050557971001, -0.049214739352464676, -0.006549496203660965, -0.020650682970881462, -0.014962820336222649, 0.0026308209635317326, 0.03550878167152405, 0.019478894770145416, 0.0013268180191516876, 0.013826566748321056, 0.034159399569034576, 0.027432315051555634, 0.05336356908082962, -0.013684379868209362, 0.04793455824255943, -0.0045336466282606125, -0.020650174468755722, -0.022448822855949402, -0.037533581256866455, -0.057565174996852875, 0.004871131386607885, 0.023121144622564316, -0.03859744966030121, -0.035452086478471756, 0.05483520030975342, 0.022699078544974327, -0.01951001025736332, 0.060763683170080185, -0.0017787775723263621, -0.03455668315291405, -0.04294484481215477, 0.03655688092112541, -0.005798239726573229, 0.005586197134107351, 0.006946872919797897, -0.05736025422811508, 0.01570921391248703, -0.05249999836087227, -0.01305776834487915, 0.0052042207680642605, 0.011324366554617882, -0.01200189907103777, 0.04798011854290962, 0.023051761090755463, -0.07315213978290558, 0.02188296988606453, 0.013882137835025787, -0.04154513403773308, 0.06756459176540375, 0.014377299696207047, 0.128026083111763, -0.04162677749991417, -0.024220237508416176, 0.003710363758727908, 0.020827267318964005, -0.04593944922089577, 0.006753494963049889, 0.02627960778772831, -0.014344881288707256, -0.004877537023276091, -0.00321664079092443, 0.043227773159742355, -0.053721923381090164, -0.008437271229922771, 0.056932900100946426, -0.0018643909133970737, 0.016283607110381126, -0.04843725264072418, -0.021268801763653755, -0.022525524720549583, -0.006475982256233692, -0.02488706074655056, 0.02350713685154915, -0.018502946943044662, -0.016921067610383034, -0.03541183844208717, -0.057519979774951935, -0.005627700127661228, 0.09142570942640305, -0.009647205471992493, -0.026679830625653267, -0.045214585959911346, -0.0014501449186354876, 0.050800688564777374, 0.03569777309894562, -0.034770071506500244, 0.03924008458852768, 0.03456003963947296, 0.047160569578409195, -0.018170593306422234, 0.059964146465063095, 0.00005893639536225237, -0.008637757040560246, -0.05452891066670418, 0.04131593927741051, -0.012707661837339401, -0.03026377223432064, 0.0315215177834034, 0.06004432588815689, -0.003785893088206649, -0.024828506633639336, -0.02620633877813816, 0.054453715682029724, -0.0068641044199466705, 0.011895295232534409, 0.021565677598118782, -0.008625350892543793, -0.0316036231815815, 0.05063164606690407, -0.013765289448201656, 0.010961860418319702, -0.011496175080537796, -0.03537367656826973, 0.002589963376522064, 0.01149770524352789, 0.03444312512874603, 0.03517060726881027, 0.0010221692500635982, 0.08631154149770737, -0.05562550947070122, 0.004723070189356804, -0.026295483112335205, -0.05464145913720131, -0.018296901136636734, 0.04388975724577904, 0.04326256737112999, 0.029390152543783188, -0.023920075967907906, -0.046655185520648956, 0.02011312171816826, 0.06319905817508698, 0.025821179151535034, 0.02263498306274414, -0.02750956267118454, -0.017240945249795914, 0.0267245601862669, 0.05024998262524605, -0.05280954763293266, -0.04809386283159256, -0.010844608768820763, 0.04203611612319946, -0.028078217059373856, 0.004552619066089392, -0.036085162311792374, 0.012604533694684505, -0.04516981542110443, -0.06589280813932419, 0.06024056673049927, 0.019146185368299484, -0.029029812663793564, 0.032098688185214996, -0.018409166485071182, 0.013835404999554157, 0.0035982797853648663, 0.026519332081079483, 0.00965573638677597, -0.049240995198488235, -0.0014063933631405234, 0.024082696065306664, 0.050597600638866425, -0.06043305620551109, 0.03680599480867386, -0.018496358767151833, 0.0037703290581703186, 0.023751964792609215, -0.03884703293442726, 0.02953403815627098, 0.043067798018455505, 0.036741919815540314, -0.058400556445121765, 0.044303227216005325, -0.007824979722499847, 0.02796994335949421, 0.041312433779239655, 0.0031931751873344183, 0.05303303897380829, 0.008323249407112598, 0.02466263622045517, 0.07721612602472305, 0.03375272452831268, 0.029296256601810455, 0.026157865300774574, 0.05184990540146828, 0.004751956555992365, -0.011930325999855995, 0.07128066569566727, -0.03765188157558441, 0.013991896994411945, -0.03719453141093254, 0.0069823795929551125, 0.014628958888351917, -0.0024425380397588015, 0.024557441473007202, -0.017189383506774902, -0.013109097257256508, -0.0017452306346967816, 0.007289407774806023, 0.004721750970929861, 0.05009893327951431, 0.0065533765591681, 0.012180580757558346, -0.019390271976590157, -0.04527757316827774, -0.006871731486171484, -0.05998129025101662, -0.0551627092063427, 0.0138082355260849, -0.04129549488425255, 0.0006886994233354926, -0.0890968069434166, -0.02677837386727333, -0.07055243104696274, -0.004479778464883566, 0.037811219692230225, 0.01844518817961216, -0.009735753759741783, -0.02517392300069332, 0.01545067597180605, -0.01882394589483738, -0.060455504804849625, -0.06092941015958786, -0.04257422313094139, -0.04278223216533661, -0.06128277629613876, 0.04541148990392685, 0.03757711127400398, 0.02816525474190712, -0.019072076305747032, 0.011447968892753124, -0.029287582263350487, -0.03251799941062927, 0.04571918770670891, 0.040359243750572205, -0.04717767983675003, -0.022524334490299225, 0.016474155709147453, -0.0009020856814458966, 0.03747401386499405, 0.0299021378159523, -0.03968712314963341, 0.07498560100793839, 0.06609335541725159, 0.0037457302678376436, 0.032745350152254105, 0.02598671428859234, -0.034320101141929626, -0.06303612142801285, -0.02546444907784462, -0.028716471046209335, 0.006638484075665474, -0.0409085713326931, -0.06378676742315292, -0.021662801504135132, -0.03461223095655441, 0.010683305561542511, -0.00997692346572876, 0.003579591168090701, 0.003513408126309514, 0.028327779844403267, 0.030017275363206863, 0.02310185879468918, -0.013541093096137047, -0.013708548620343208, 0.07197494804859161, 0.020550712943077087, 0.012077595107257366, -0.07513640820980072, -0.015709785744547844, 0.035776492208242416, 0.0656878650188446, 0.014296170324087143, -0.013339938595890999, 0.08710739016532898, 0.018115714192390442, -0.0033671301789581776, -0.018176253885030746, 0.0024147836957126856, -0.06719347089529037, -0.0058323685079813, -0.0014059130335226655, -0.0019363529281690717, -0.058568596839904785, -0.02866785041987896, 0.028778396546840668, 0.025109080597758293, -0.08057186752557755, -0.033895619213581085, -0.007203010842204094, 0.013000943697988987, 0.0360645055770874, -0.009507313370704651, -0.06660846620798111, 0.005889454856514931, -0.03105185367166996, -0.05926266312599182, 0.017577331513166428, 0.0157576072961092, 0.036822568625211716, 0.041345398873090744, 0.03974952548742294, -0.02815445140004158, 0.03085440956056118, 0.028262494131922722, 0.056646522134542465, 0.018753759562969208, -0.05702630802989006, 0.031111732125282288, -0.03888513147830963, 0.0035798074677586555, 0.0033252129796892405, -0.02755691483616829, -0.05488058552145958, -0.08457031846046448, -0.008792637847363949, 0.02414631098508835, 0.01219847984611988, -0.005926736164838076, 0.033488307148218155, -0.004206931218504906, -0.011089613661170006, -0.019894996657967567, 0.004181895405054092, 0.02444387413561344, -0.045044269412755966, 0.06669263541698456, -0.00484585203230381, 0.022749649360775948, -0.08614017069339752, 0.0199222881346941, -0.04429518058896065, -0.03521467372775078, -0.0012768511660397053, 0.047220341861248016, 0.036550525575876236, 0.013015001080930233, 0.07092083990573883, 0.015053967945277691, -0.039186302572488785, 0.04504839703440666, 0.03251134231686592, 0.0071389698423445225, -0.03085741214454174, -0.030012324452400208, -0.02423759736120701, -0.0415363572537899, -0.01740144193172455, -0.028578082099556923, 0.019343961030244827, 0.025675909593701363, 0.009305153042078018, -0.03436696529388428, 0.0039426423609256744, 0.002252609468996525, -0.017528437077999115, -0.072129026055336, -0.018328264355659485, -0.012601600028574467, -0.025621170178055763, 0.04840671643614769, 0.03668741136789322, -0.014559569768607616, 0.0650390088558197, 0.015064705163240433, -0.014922583475708961, -0.011039234697818756, 0.040609780699014664, 0.029895102605223656, -0.05105969309806824, -0.05944592133164406, -0.04765498265624046, 0.04790448024868965, 0.06481929868459702, 0.010959641076624393, -0.08855357766151428, 0.00038274467806331813, 0.06509795784950256, -0.0379796102643013, 0.0646381601691246, -0.018539296463131905, 0.06477651000022888, 0.07275638729333878, -0.02711860090494156, 0.01669822260737419, -0.043531619012355804, 0.009782013483345509, -0.0031628322321921587, 0.04795337840914726, -0.04722052067518234, -0.04081861302256584, -0.035071104764938354, 0.023989273235201836, 0.01376819796860218, 0.03851112723350525, 0.033538032323122025, -0.04748484492301941, -0.04291072487831116, 0.032704517245292664, 0.04343894496560097, -0.06275539100170135, 0.0390116386115551, 0.026111654937267303, 0.050262097269296646, -0.05645336955785751, -0.0362592451274395, -0.0054812924936413765, -0.010112754069268703, 0.03142235800623894, 0.012420851737260818, -0.023239273577928543, -0.08066582679748535, 0.01488866750150919, -0.014862817712128162, -0.019747193902730942, -0.09748214483261108, 0.025660986080765724, -0.014086049981415272, -0.023838473483920097, 0.05049055814743042, 0.023360485211014748, 0.021292369812726974, 0.0481572300195694, -0.01152930036187172, -0.017809126526117325, -0.05039478838443756, 0.01602187752723694, -0.056185655295848846, -0.005449048709124327, -0.010007797740399837, -0.01997881382703781, -0.014792896807193756, -0.031943485140800476, -0.04253317415714264, -0.051218681037425995, -0.0007238318212330341, 0.039119902998209, -0.009438787586987019, 0.001904238830320537, -0.019177129492163658, 0.03215925768017769, -0.034321725368499756, -0.04116786643862724, -0.029409965500235558, -0.023753901943564415, -0.05044550448656082, -0.05137133225798607, 0.013405016623437405, -0.014966471120715141, 0.015865089371800423, 0.01666530966758728, -0.004628486465662718, 0.0090809790417552, -0.007942535914480686, -0.0332924984395504, 0.0019019795581698418, 0.01413170900195837, -0.05089721083641052, -0.022897394374012947, 0.01597565971314907, 0.0091610262170434, 0.04559320583939552, -0.04048369079828262, 0.0509675033390522, 0.022436190396547318, -0.017167506739497185, -0.01701248623430729, 0.018034854903817177, 0.02788805402815342, -0.08654613047838211, -0.054479677230119705, -0.014623221941292286, -0.04590480402112007, 0.03383679687976837, -0.03288258612155914, -0.010466629639267921, 0.03794349357485771, 0.021719979122281075, 0.03627363592386246, 0.009905188344419003, -0.03592604398727417, 0.022355208173394203, -0.04004354774951935, 0.034614309668540955, -0.05034099891781807, 0.03440555930137634, -0.027365906164050102, 0.031037168577313423, -0.003326012985780835, -0.030798763036727905, -0.04226076975464821, 0.04939668998122215, -0.022408325225114822, -0.012135078199207783, -0.0008967785397544503, 0.030336707830429077, -0.011456278152763844, 0.022462183609604836, -0.03190239146351814, 0.028406571596860886, 0.0048750233836472034, 0.05100323259830475, -0.05222326144576073, -0.02306380681693554, -0.032337237149477005, 0.03234480693936348, -0.05295907333493233, 0.013835401274263859, 0.019337721168994904, -0.03064163774251938, 0.010213442146778107, 0.017794042825698853, 0.02593952603638172, 0.018242204561829567, -0.03999308496713638, -0.002077782526612282, 0.022757872939109802, -0.04132600128650665, -0.003987553063780069, 0.008847604505717754, -0.015000920742750168, -0.013459933921694756, 0.0615391731262207, 0.033161286264657974, -0.07804635912179947, -0.06637779623270035, 0.04986496642231941, 0.007859348319470882, -0.016457421705126762, -0.011521843262016773, 0.02373584359884262, -0.002830513520166278, 0.03160913288593292, -0.014376328326761723, 0.0013580081285908818, -0.013607699424028397, -0.024828989058732986, 0.003009343519806862, -0.002879135077819228, 0.03359352797269821, 0.01391560398042202, -0.018920786678791046, -0.045567113906145096, 0.05307330936193466, -0.0023586442694067955, 0.017691439017653465, -0.015436350367963314, -0.02562684379518032, 0.031188536435365677, 0.01651913672685623, -0.0487825945019722, 0.00570308743044734, 0.026027586311101913, -0.03125256672501564, 0.08447857201099396, -0.012243945151567459, 0.021359339356422424, 0.058953240513801575, 0.033162325620651245, -0.029279232025146484, 0.05729695037007332, -0.019628703594207764, -0.00975722074508667, 0.05684218183159828, -0.05130026489496231, 0.0025864671915769577, -0.0304005965590477, 0.06791017204523087, -0.042081113904714584, 0.05004046484827995, 0.03963133320212364, 0.01907130517065525, 0.04047662019729614, -0.06020151823759079, -0.015213757753372192, 0.0010480426717549562, -0.06819890439510345, 0.06162647530436516, -0.004901378881186247, -0.057413674890995026, 0.07356899976730347, 0.03041328676044941, -0.05535273626446724, 0.022306760773062706, 0.04426779970526695, 0.03240859881043434, -0.0015222044894471765, 0.016064846888184547, -0.03930646926164627, 0.004687508102506399, -0.052468590438365936, 0.015179138630628586, -0.05086158215999603, -0.009511809796094894, 0.015218796208500862, -0.012148603796958923, 0.005821158178150654, 0.036477554589509964, -0.025857482105493546, -0.017999356612563133, 0.05548005551099777, -0.0540921650826931, -0.043582651764154434, 0.004524794407188892, 0.01698538288474083, -0.027917567640542984, 0.02260761335492134, -0.04348162189126015, 0.008423198014497757, 0.01956908032298088, -0.015419749543070793, -0.027828413993120193, 0.0037683220580220222, 0.032988354563713074, -0.05530092492699623, -0.05217108875513077, 0.01933698169887066, 0.003815673990175128, -0.03299420326948166, 0.03979531303048134, 0.002432876965031028, -0.0046579851768910885, 0.0264976117759943, 0.009672923013567924, 0.00746576115489006, -0.020043930038809776, -0.02424878254532814, -0.006531435530632734, 0.019484715536236763, 0.037971071898937225, -0.005638382863253355, 0.02326037362217903, 0.03288038447499275, 0.03913428634405136, -0.005243930034339428, -0.05743084102869034, -0.03765280172228813, 0.016150252893567085, -0.04174824059009552, -0.0011144921882078052, 0.004500305280089378, -0.05995647609233856, -0.0330737940967083, -0.00932735949754715, -0.016708889976143837, 0.030671630054712296, -0.06694652885198593, 0.025479603558778763, 0.037132877856492996, 0.010783476755023003, -0.05443220213055611, -0.07182285934686661, -0.017281008884310722, -0.03276217356324196, 0.012420869432389736, 0.01104065403342247, -0.010665912181138992, 0.019352173432707787, -0.016319885849952698, -0.04688788205385208, 0.030598005279898643, 0.020987670868635178, -0.07020540535449982, 0.06796910613775253, 0.03103427030146122, -0.0620984248816967, -0.0177033469080925, 0.012219447642564774, -0.031344860792160034, 0.01890755258500576, 0.00452568382024765, 0.008297697640955448, 0.019334182143211365, 0.04466879367828369, -0.03563676401972771, -0.022602712735533714, -0.07230231165885925, -0.045135874301195145, -0.0197431780397892, 0.01536980364471674, 0.07859661430120468 ]