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
Dayout/test
[]
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 datasets: - cnn_dailymail metrics: - rouge model-index: - name: t5-small-finetuned-cnn-wei0 results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: cnn_dailymail type: cnn_dailymail args: 3.0.0 metrics: - name: Rouge1 type: rouge value: 24.2324 --- <!-- 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. --> # t5-small-finetuned-cnn-wei0 This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the cnn_dailymail dataset. It achieves the following results on the evaluation set: - Loss: 1.7149 - Rouge1: 24.2324 - Rouge2: 11.7178 - Rougel: 20.0508 - Rougelsum: 22.8698 - Gen Len: 19.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: 2e-05 - train_batch_size: 12 - eval_batch_size: 12 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | 1.9068 | 1.0 | 4786 | 1.7149 | 24.2324 | 11.7178 | 20.0508 | 22.8698 | 19.0 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.017304211854934692, -0.011188381351530552, 0.000001462899831494724, 0.04005670174956322, 0.04171878099441528, -0.00009762680565472692, -0.028877386823296547, -0.027574505656957626, -0.029121840372681618, 0.056232649832963943, 0.011915137991309166, -0.01413054671138525, -0.00048433899064548314, 0.03152879327535629, -0.035164132714271545, -0.0348081961274147, -0.01657523214817047, -0.016361292451620102, -0.01938704587519169, 0.006540991831570864, 0.021779952570796013, 0.005709326360374689, -0.013503224588930607, -0.009988341480493546, -0.013716164045035839, 0.011855830438435078, -0.004114972427487373, 0.025502333417534828, 0.029485834762454033, -0.07797463238239288, 0.016345292329788208, -0.04622722044587135, -0.04305705428123474, -0.030227335169911385, -0.011470665223896503, -0.0006003787857480347, -0.0015635467134416103, 0.0064467377960681915, 0.014765582978725433, 0.05925023928284645, 0.0009970527607947588, 0.006029126234352589, -0.01362766232341528, -0.008758755400776863, 0.05042191594839096, 0.0017780393827706575, -0.04330103099346161, 0.012040174566209316, 0.046510908752679825, -0.03608210012316704, -0.07114772498607635, -0.06952977925539017, -0.007827837951481342, 0.02237730100750923, -0.03681153431534767, -0.026430251076817513, -0.06953386962413788, 0.010645591653883457, 0.07360541075468063, -0.03175848722457886, -0.04859373718500137, 0.00691267242655158, -0.06505877524614334, 0.021572599187493324, 0.03355003893375397, -0.027152052149176598, 0.02090805396437645, -0.0316142700612545, 0.03245988488197327, -0.015374254435300827, 0.03736716881394386, -0.015066617168486118, 0.023174447938799858, -0.0806749239563942, -0.0032626893371343613, -0.010168538428843021, 0.038790732622146606, 0.05295613408088684, -0.03502204641699791, 0.03640346601605415, 0.03838729113340378, -0.007111530750989914, 0.04591701924800873, -0.007641587406396866, -0.008709916844964027, 0.021668827161192894, -0.04237909987568855, 0.004258273635059595, 0.022991903126239777, 0.02862757444381714, -0.02951877936720848, -0.033504217863082886, -0.031171295791864395, -0.04010503739118576, -0.030093027278780937, 0.02701479010283947, 0.04041179642081261, -0.009474562481045723, 0.04406469687819481, 0.02476130612194538, 0.025297563523054123, 0.03812900558114052, -0.014046235010027885, 0.06676311045885086, -0.02186046727001667, 0.0007633172208443284, -0.012527848593890667, -0.04048999771475792, -0.060095932334661484, 0.05070902779698372, 0.0004339667211752385, -0.05659691244363785, -0.06236175447702408, 0.030655739828944206, 0.0024221274070441723, -0.020576732233166695, 0.05048210173845291, -0.019938264042139053, -0.05262982100248337, -0.04489811137318611, 0.021912921220064163, 0.020203333348035812, 0.004888235591351986, 0.018444769084453583, -0.04677198454737663, 0.0012800251133739948, -0.023584887385368347, -0.04744584113359451, -0.020450174808502197, 0.005490801762789488, -0.009840562008321285, 0.07044927775859833, 0.003454009536653757, -0.0703960582613945, -0.012029048055410385, -0.005339659750461578, -0.06906674802303314, 0.05409134551882744, 0.02233591489493847, 0.10617709159851074, -0.05513187497854233, -0.07069572806358337, 0.018198618665337563, -0.00041945406701415777, -0.03832074999809265, 0.020886700600385666, 0.019990224391222, -0.055455468595027924, -0.010741055943071842, -0.007126315031200647, 0.054184116423130035, -0.05874139070510864, 0.013017752207815647, 0.053088974207639694, 0.018443746492266655, 0.02323170006275177, -0.05955735966563225, -0.024010896682739258, 0.014594935812056065, -0.013354604132473469, -0.00958081055432558, 0.04002609848976135, -0.005443457048386335, -0.0015715471236035228, -0.05843454226851463, -0.06988558173179626, -0.0005329486448317766, 0.07804490625858307, -0.0027235746383666992, -0.0327938012778759, -0.007191578391939402, 0.04040390998125076, 0.06387928873300552, 0.03519050031900406, -0.004908544011414051, 0.02759760245680809, 0.04661232605576515, 0.05180550739169121, -0.02022627741098404, 0.049651920795440674, 0.008844215422868729, -0.03529483824968338, -0.037221215665340424, 0.012688565999269485, -0.0047939131036400795, -0.04261801391839981, 0.024189094081521034, 0.02981135994195938, 0.015860455110669136, -0.038698021322488785, -0.040570709854364395, 0.046078409999608994, -0.011930729262530804, -0.004148412495851517, -0.021315211430191994, 0.004950686823576689, -0.029691267758607864, 0.05903740972280502, -0.0009380970732308924, 0.01519344188272953, -0.03591817989945412, -0.04466782510280609, 0.010433666408061981, 0.021733591333031654, 0.02844524197280407, 0.05720878392457962, -0.01682557724416256, 0.053333744406700134, -0.02959022857248783, 0.023838786408305168, -0.03887809440493584, -0.05751281976699829, 0.01627180352807045, 0.06641505658626556, 0.032913271337747574, 0.06727959960699081, -0.0005376661429181695, -0.04425268620252609, 0.02998908795416355, 0.07008343189954758, 0.04120640456676483, 0.015714053064584732, -0.030765624716877937, -0.01615324057638645, 0.03743133693933487, 0.05703263357281685, -0.06646639853715897, -0.02833821065723896, 0.024145541712641716, 0.03966187685728073, -0.02416001446545124, 0.006228613667190075, -0.01389702782034874, 0.022161807864904404, -0.06434828788042068, -0.05946586653590202, 0.040134087204933167, 0.014186208136379719, 0.018099620938301086, 0.011765023693442345, -0.009450678713619709, -0.008113207295536995, 0.030627869069576263, -0.0005842722021043301, -0.0007272789953276515, -0.0533665306866169, 0.009371336549520493, -0.0034718757960945368, 0.02625192701816559, -0.04506537318229675, 0.013702240772545338, -0.029882745817303658, -0.002173026790842414, 0.025380361825227737, -0.026777220889925957, 0.007005216088145971, 0.05728975683450699, 0.04674215614795685, -0.024787992238998413, -0.006095066666603088, 0.026533981785178185, 0.04944822937250137, 0.044078223407268524, -0.005323031451553106, 0.07025241106748581, -0.0029714435804635286, 0.04302597790956497, 0.07907485961914062, 0.021227989345788956, 0.02015652135014534, 0.032372839748859406, 0.07143376767635345, 0.02816162072122097, 0.0015550819225609303, 0.07323035597801208, -0.059716418385505676, 0.01824285089969635, -0.051606014370918274, 0.010652360506355762, -0.024843979626893997, 0.0024640592746436596, 0.025666190311312675, 0.02084217220544815, -0.02199489250779152, 0.003513195551931858, -0.030466631054878235, -0.017953258007764816, 0.00825874786823988, -0.015955274924635887, -0.0020725440699607134, -0.010397515259683132, -0.02576158381998539, -0.0030337704811245203, -0.033490125089883804, -0.033351026475429535, -0.008046822622418404, -0.037524301558732986, -0.023207368329167366, -0.09449346363544464, -0.018127694725990295, -0.06591381132602692, -0.00648807967081666, 0.041838616132736206, 0.019712049514055252, 0.006677087862044573, -0.04776481166481972, 0.03445211052894592, -0.03893096745014191, -0.04702950268983841, -0.04253668710589409, -0.03610047698020935, -0.02706201747059822, -0.058929193764925, 0.03497045487165451, 0.0470389686524868, 0.0298643596470356, 0.009493655525147915, 0.022717248648405075, -0.0081856744363904, -0.0006298887310549617, 0.05650448054075241, 0.03857188671827316, -0.04027437046170235, -0.05014245957136154, 0.022270549088716507, -0.01417987048625946, 0.01773439347743988, -0.01833733171224594, -0.023376954719424248, 0.060734376311302185, 0.059349313378334045, 0.013439505361020565, 0.02281317673623562, -0.01478272583335638, -0.06608272343873978, -0.0588710643351078, -0.009181144647300243, -0.02860994264483452, -0.04910442978143692, -0.025052890181541443, -0.03770928829908371, -0.014888966456055641, -0.043718062341213226, -0.0032587717287242413, -0.0011912428308278322, 0.00007789939263602719, 0.026056382805109024, 0.01654915325343609, 0.030961478129029274, 0.03124137967824936, -0.042511504143476486, -0.05935213714838028, 0.053779203444719315, 0.010503549128770828, 0.006785515230149031, -0.08704399317502975, -0.024972055107355118, 0.03653903678059578, 0.00855366513133049, 0.02127300575375557, 0.0003249968867748976, 0.08832450211048126, 0.01632291078567505, -0.00019646751752588898, 0.019738107919692993, -0.012419120408594608, 0.007054946385324001, 0.007192991673946381, 0.0213699322193861, -0.028755467385053635, -0.0581689216196537, -0.026465460658073425, 0.0017423609970137477, 0.05341150984168053, -0.04151079058647156, -0.052673425525426865, -0.019231950864195824, 0.02528696320950985, 0.025243520736694336, -0.005902056582272053, -0.04143353924155235, -0.01999719813466072, -0.06957178562879562, -0.01514686644077301, 0.02906106598675251, 0.025291595607995987, 0.005798802245408297, 0.050329335033893585, 0.022160565480589867, -0.01698731817305088, 0.03010307252407074, 0.02938212640583515, 0.07255628705024719, 0.025701912119984627, -0.05778134614229202, 0.02090100385248661, -0.028921641409397125, 0.03757542371749878, 0.004940027836710215, -0.011978980153799057, -0.053358905017375946, -0.07964576035737991, -0.024514546617865562, 0.0019373504910618067, -0.006399210076779127, -0.022352760657668114, 0.04850560426712036, -0.005084862932562828, -0.007706388831138611, -0.0180558692663908, 0.016239138320088387, 0.04455900564789772, -0.06908299028873444, 0.04059003293514252, -0.0038748960942029953, 0.023884138092398643, -0.06456173211336136, -0.0007746503688395023, -0.0034419663716107607, 0.0030268400441855192, 0.004820741713047028, 0.06261127442121506, -0.0011513078352436423, 0.07158838957548141, 0.07269025593996048, 0.020274033769965172, -0.03667043522000313, 0.018842186778783798, 0.07690254598855972, -0.013288196176290512, -0.03650901839137077, 0.007712574675679207, 0.0075630806386470795, -0.02600669115781784, -0.0042497506365180016, -0.007642284035682678, 0.03302863612771034, 0.035537246614694595, -0.017486296594142914, -0.0024127415381371975, 0.019366230815649033, -0.0189824141561985, -0.035020265728235245, -0.05721423029899597, -0.016007304191589355, -0.011167631484568119, -0.037506598979234695, 0.005772633943706751, 0.047173865139484406, 0.01558670587837696, 0.07700038701295853, 0.05774441361427307, -0.027332115918397903, -0.04673121124505997, 0.034016624093055725, 0.0294264554977417, -0.025825001299381256, -0.07299120724201202, -0.017318351194262505, 0.024261701852083206, 0.030907796695828438, -0.006113716866821051, -0.05698707327246666, 0.009604454040527344, 0.08272581547498703, -0.03800435736775398, 0.04357422888278961, 0.0018024294404312968, 0.025894200429320335, 0.04926179721951485, -0.012034435756504536, 0.04176626354455948, -0.02381240390241146, 0.01487671211361885, 0.0013575751800090075, 0.034206047654151917, -0.044555019587278366, -0.01507688406854868, -0.06642214953899384, 0.033411454409360886, 0.014468611218035221, 0.029301179572939873, 0.03653552755713463, -0.022515326738357544, -0.031203756108880043, 0.026571253314614296, 0.04489922150969505, -0.04975544661283493, 0.0006729056476615369, 0.0146560063585639, 0.03579169511795044, -0.029456662014126778, -0.026516664773225784, -0.027249889448285103, -0.0035053815227001905, 0.04763009026646614, -0.02182178385555744, -0.052751678973436356, -0.02003231830894947, 0.03966774418950081, 0.010413634590804577, -0.019690535962581635, -0.07201392948627472, 0.04253445193171501, -0.019559944048523903, 0.00303112855181098, 0.033323984593153, 0.03670347109436989, 0.014654073864221573, 0.05285238102078438, 0.019097600132226944, 0.03720904514193535, -0.03121788054704666, 0.04508141428232193, -0.036315713077783585, -0.030216097831726074, -0.0032692516688257456, -0.046839162707328796, -0.030204541981220245, -0.020301979035139084, -0.055980339646339417, -0.05049731954932213, -0.0307024996727705, 0.018470432609319687, -0.00582117261365056, -0.002792037557810545, -0.026383187621831894, 0.02867528609931469, -0.028875164687633514, -0.02169685810804367, -0.014726642519235611, -0.029386572539806366, -0.08052586764097214, -0.06364452093839645, 0.01665983535349369, 0.02411608025431633, 0.03919484093785286, 0.018177183344960213, 0.007593974005430937, 0.02819111943244934, 0.007164684124290943, -0.02580733597278595, 0.03599395602941513, -0.006967341527342796, -0.018393540754914284, -0.035284701734781265, 0.00023854280880186707, 0.011708322912454605, 0.041006457060575485, -0.02983166091144085, 0.04142225533723831, 0.03187655657529831, -0.007027038838714361, 0.0029430906288325787, 0.02220521681010723, 0.0014400582294911146, -0.08038144558668137, -0.044996920973062515, -0.017711549997329712, -0.023679262027144432, 0.05115039646625519, -0.026051923632621765, -0.012401754036545753, -0.008214573375880718, 0.013171356171369553, 0.03611642122268677, -0.015100810676813126, -0.029951108619570732, 0.03098572976887226, -0.026069989427924156, 0.005327706690877676, -0.04892963916063309, 0.04202056676149368, -0.04066852107644081, -0.0010723159648478031, -0.01960885152220726, -0.001921830466017127, -0.0504019521176815, 0.04201195761561394, -0.014189817942678928, -0.009606932289898396, 0.0050268834456801414, 0.05261377617716789, -0.012456477619707584, 0.04385914281010628, -0.021445738151669502, 0.026162365451455116, -0.04081960767507553, 0.07279159128665924, -0.033693164587020874, 0.0016477740136906505, -0.032343823462724686, 0.005765907466411591, -0.030446220189332962, -0.012940614484250546, -0.02906453050673008, -0.0299148540943861, 0.03070485033094883, 0.05077516287565231, 0.026702353730797768, 0.025255536660552025, -0.014405806548893452, -0.001919200294651091, 0.005207933019846678, -0.07152272015810013, -0.0331869013607502, 0.0034614121541380882, 0.0005878802621737123, -0.017703482881188393, 0.049245983362197876, 0.05374017730355263, -0.04032839089632034, -0.053722623735666275, 0.037123728543519974, 0.004135578405112028, 0.0006449079955928028, 0.00559540931135416, 0.026812484487891197, 0.031231118366122246, 0.03882795572280884, -0.06700533628463745, -0.004779460374265909, -0.01123947836458683, -0.03740779310464859, 0.046897921711206436, -0.0070599582977592945, 0.027707256376743317, 0.019820578396320343, -0.019774524495005608, -0.0125786317512393, 0.06859022378921509, 0.025266477838158607, 0.020576834678649902, -0.01552553940564394, -0.03403545916080475, 0.031040804460644722, -0.020718935877084732, -0.027655191719532013, 0.013032466173171997, 0.021053439006209373, -0.03803384304046631, 0.05828722566366196, -0.0073473392985761166, 0.006153194233775139, 0.06874550879001617, 0.03965134918689728, -0.017905529588460922, 0.05554252490401268, -0.020370395854115486, 0.009576985612511635, 0.047470543533563614, -0.07052744179964066, -0.0005904193385504186, -0.044396039098501205, 0.09273237735033035, -0.04801623150706291, 0.03152044117450714, 0.04658728465437889, 0.013847648166120052, 0.03126337751746178, -0.016996001824736595, -0.058295149356126785, 0.006370364688336849, -0.04592548683285713, 0.08181441575288773, 0.022195737808942795, -0.06591862440109253, 0.0655052661895752, 0.00824332982301712, -0.04544493183493614, 0.04931029677391052, 0.04536988213658333, 0.0307372584939003, 0.021921036764979362, 0.032586805522441864, -0.049097299575805664, -0.00815508235245943, -0.041807856410741806, 0.03808233514428139, -0.06013287976384163, -0.014163940213620663, 0.04697081074118614, -0.04258633032441139, -0.04355901852250099, 0.049632955342531204, -0.013788188807666302, -0.019939037039875984, 0.046394363045692444, -0.04413269832730293, -0.028735326603055, 0.027509650215506554, 0.025695420801639557, -0.04939224570989609, -0.0013034510193392634, -0.04465671256184578, 0.01463580783456564, 0.012823359109461308, 0.0006406332249753177, -0.021282406523823738, 0.00885998085141182, 0.011356829665601254, -0.0652465745806694, -0.03519218787550926, 0.032076265662908554, -0.013027028180658817, -0.010988390073180199, 0.017014307901263237, 0.0002916258526965976, 0.019752459600567818, 0.017628856003284454, 0.0016065537929534912, 0.05772363767027855, -0.05545457452535629, -0.0011959441471844912, 0.007795153651386499, -0.002822304842993617, 0.03437091037631035, -0.003287225030362606, 0.05729794502258301, 0.03444070369005203, -0.0021076586563140154, -0.0021797646768391132, -0.01839825138449669, -0.046414606273174286, 0.032665640115737915, -0.03521234169602394, 0.017332926392555237, 0.009815292432904243, -0.05267710983753204, -0.03000480867922306, -0.03430125489830971, -0.04523263871669769, 0.014945612289011478, -0.060443297028541565, -0.014971223659813404, 0.03336222469806671, -0.009923399426043034, -0.052147217094898224, -0.09932215511798859, -0.018110200762748718, -0.030697178095579147, 0.02873808704316616, 0.02593482844531536, -0.06458885222673416, 0.027821844443678856, -0.047151293605566025, -0.07728958129882812, 0.04099603369832039, 0.014753628522157669, -0.039140552282333374, 0.047938644886016846, 0.03962552919983864, -0.031030384823679924, 0.013103426434099674, 0.040643639862537384, -0.053048644214868546, 0.036013372242450714, 0.045047495514154434, 0.032357919961214066, 0.028158169239759445, 0.011363388039171696, -0.01048059482127428, -0.01618325524032116, -0.06802799552679062, -0.037340197712183, -0.03944682702422142, 0.0038282170426100492, 0.05653838440775871 ]
Dazai/Ko
[]
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 datasets: - cnn_dailymail metrics: - rouge model-index: - name: t5-small-finetuned-cnn-wei1 results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: cnn_dailymail type: cnn_dailymail args: 3.0.0 metrics: - name: Rouge1 type: rouge value: 41.1796 --- <!-- 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. --> # t5-small-finetuned-cnn-wei1 This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the cnn_dailymail dataset. It achieves the following results on the evaluation set: - Loss: 1.6819 - Rouge1: 41.1796 - Rouge2: 18.9426 - Rougel: 29.2338 - Rougelsum: 38.4087 - Gen Len: 72.7607 ## 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: 4e-05 - train_batch_size: 12 - eval_batch_size: 12 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | 1.8582 | 1.0 | 23927 | 1.6819 | 41.1796 | 18.9426 | 29.2338 | 38.4087 | 72.7607 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.017857683822512627, -0.009319695644080639, 0.0003960503381676972, 0.04034646600484848, 0.04111466929316521, 0.00006418622069759294, -0.028806136921048164, -0.028506625443696976, -0.02917960099875927, 0.055036935955286026, 0.012159271165728569, -0.014564767479896545, -0.0013874853029847145, 0.03206288069486618, -0.0349830687046051, -0.03438349440693855, -0.016535891219973564, -0.017566006630659103, -0.020889973267912865, 0.006660790648311377, 0.020943811163306236, 0.005728301592171192, -0.012559152208268642, -0.011122477240860462, -0.013257903046905994, 0.010924236848950386, -0.003339572111144662, 0.027546659111976624, 0.029073525220155716, -0.07891585677862167, 0.017184816300868988, -0.04683075100183487, -0.04447866976261139, -0.028333693742752075, -0.011137356050312519, 0.001191861229017377, -0.001306273858062923, 0.004967088811099529, 0.016036201268434525, 0.06030840426683426, 0.0005687654484063387, 0.005525758024305105, -0.013129549100995064, -0.00821375846862793, 0.05075556039810181, 0.0017784247174859047, -0.042318545281887054, 0.012342157773673534, 0.045788995921611786, -0.036892686039209366, -0.07226148247718811, -0.06874822825193405, -0.00821372028440237, 0.02187485806643963, -0.03556220233440399, -0.027528708800673485, -0.06807079911231995, 0.0111937765032053, 0.07213566452264786, -0.030863814055919647, -0.049296051263809204, 0.008338422514498234, -0.06456209719181061, 0.02031792141497135, 0.032679878175258636, -0.026011813431978226, 0.019521769136190414, -0.03334449604153633, 0.03178063780069351, -0.014668285846710205, 0.0360177718102932, -0.01439709309488535, 0.023836372420191765, -0.08073705434799194, -0.0042107258923351765, -0.008312038145959377, 0.039373818784952164, 0.0536944642663002, -0.036824263632297516, 0.03729579970240593, 0.03974992781877518, -0.005497477017343044, 0.04703831672668457, -0.009043946862220764, -0.008655864745378494, 0.02237561158835888, -0.04124242812395096, 0.0030416976660490036, 0.023713290691375732, 0.0280167106539011, -0.029926277697086334, -0.034070249646902084, -0.03296574205160141, -0.03930700570344925, -0.028820829465985298, 0.026043374091386795, 0.041654061526060104, -0.008827008306980133, 0.044639263302087784, 0.023714963346719742, 0.027776069939136505, 0.03708856180310249, -0.013468489050865173, 0.0669485479593277, -0.02468698099255562, 0.000737125868909061, -0.014054094441235065, -0.04014262557029724, -0.060596585273742676, 0.05167850852012634, 0.00013247951574157923, -0.05675633251667023, -0.0631081834435463, 0.029501834884285927, 0.0017007151618599892, -0.022013042122125626, 0.05146462470293045, -0.02109047770500183, -0.05206800252199173, -0.04251761734485626, 0.02004246599972248, 0.019119298085570335, 0.004825324285775423, 0.01707935333251953, -0.0482739619910717, 0.0004541274975053966, -0.02369019016623497, -0.04768041893839836, -0.01787078194320202, 0.0051790098659694195, -0.009733530692756176, 0.07154634594917297, 0.0030786176212131977, -0.07187183201313019, -0.01285360474139452, -0.004147706087678671, -0.06786103546619415, 0.05427386611700058, 0.020903635770082474, 0.10572700947523117, -0.055031199008226395, -0.07012338936328888, 0.020180001854896545, -0.0013845728244632483, -0.04047229886054993, 0.020962748676538467, 0.019411923363804817, -0.054703809320926666, -0.01132480800151825, -0.007867314852774143, 0.05415333807468414, -0.059319522231817245, 0.012248272076249123, 0.05341789126396179, 0.019359219819307327, 0.022698016837239265, -0.05869206413626671, -0.025304140523076057, 0.013296341523528099, -0.01286236196756363, -0.008890960365533829, 0.0395214818418026, -0.005098140332847834, -0.0013982628006488085, -0.05862440541386604, -0.0700392872095108, -0.0008390189614146948, 0.07846567034721375, -0.0007070623687468469, -0.03243117406964302, -0.005787692964076996, 0.04094252362847328, 0.06424196064472198, 0.03421146795153618, -0.004795611370354891, 0.028371712192893028, 0.04691147431731224, 0.05277778580784798, -0.019312512129545212, 0.046513255685567856, 0.00824942160397768, -0.03625402972102165, -0.03790649399161339, 0.013915710151195526, -0.005253425799310207, -0.0410999096930027, 0.02424691803753376, 0.029940538108348846, 0.01684517227113247, -0.038149453699588776, -0.041116636246442795, 0.04497624933719635, -0.011596869677305222, -0.0033724491950124502, -0.0198708213865757, 0.00198791129514575, -0.031168745830655098, 0.057618528604507446, -0.0009133666753768921, 0.015998903661966324, -0.037141017615795135, -0.043450068682432175, 0.010583657771348953, 0.02039165608584881, 0.025625476613640785, 0.059476640075445175, -0.017560862004756927, 0.05270083621144295, -0.03146517276763916, 0.02367730252444744, -0.03795278072357178, -0.05848142132163048, 0.01587468758225441, 0.06680517643690109, 0.03418014943599701, 0.06884302943944931, -0.0011188460048288107, -0.045057352632284164, 0.032593514770269394, 0.06984185427427292, 0.040158700197935104, 0.01405995525419712, -0.029020844027400017, -0.014601451344788074, 0.03783512860536575, 0.056883443146944046, -0.0647861585021019, -0.028529036790132523, 0.022932440042495728, 0.041204169392585754, -0.022592058405280113, 0.004863130860030651, -0.01450579334050417, 0.022012604400515556, -0.06466767936944962, -0.05946244299411774, 0.03941619396209717, 0.016136394813656807, 0.017246894538402557, 0.012506261467933655, -0.009904983453452587, -0.007809982635080814, 0.0313953272998333, -0.0006410681526176631, -0.0014610296348109841, -0.05300123617053032, 0.007711940910667181, -0.003607996506616473, 0.026255937293171883, -0.04388640820980072, 0.015069227665662766, -0.03037082776427269, -0.0013661949196830392, 0.026862429454922676, -0.027028780430555344, 0.007344409823417664, 0.05673644691705704, 0.0458531528711319, -0.025483515113592148, -0.0071534388698637486, 0.027058424428105354, 0.04927366226911545, 0.045058656483888626, -0.004011016339063644, 0.06817347556352615, -0.0028773690573871136, 0.04341724142432213, 0.07893271744251251, 0.021070081740617752, 0.0183419119566679, 0.031558435410261154, 0.06980960071086884, 0.028514407575130463, 0.0005569389904849231, 0.07189851999282837, -0.059312622994184494, 0.01958666369318962, -0.053208671510219574, 0.010220424272119999, -0.026081787422299385, 0.003835885552689433, 0.02715565450489521, 0.022533001378178596, -0.021536432206630707, 0.0027825378347188234, -0.029321637004613876, -0.018635258078575134, 0.007428580429404974, -0.016436085104942322, -0.0033212595153599977, -0.011112211272120476, -0.024965457618236542, -0.001533300383016467, -0.03285069018602371, -0.030957158654928207, -0.007396964821964502, -0.03865600377321243, -0.02449854090809822, -0.09593695402145386, -0.01808246038854122, -0.06439086049795151, -0.007744358386844397, 0.042568329721689224, 0.019224850460886955, 0.005573571193963289, -0.048957448452711105, 0.03234272450208664, -0.03964243829250336, -0.046259861439466476, -0.044288519769907, -0.03526151552796364, -0.028526926413178444, -0.058778680860996246, 0.034220363944768906, 0.04963940754532814, 0.029604626819491386, 0.0067385281436145306, 0.023160193115472794, -0.009213801473379135, -0.0005771021242253482, 0.05732031539082527, 0.037917327135801315, -0.03842500224709511, -0.049658503383398056, 0.023006975650787354, -0.01581398956477642, 0.017249077558517456, -0.018296703696250916, -0.023026907816529274, 0.06030638515949249, 0.058420658111572266, 0.0131179578602314, 0.02359049580991268, -0.016022246330976486, -0.06652071326971054, -0.05886536464095116, -0.009204811416566372, -0.028214775025844574, -0.04786407947540283, -0.02626612037420273, -0.03852434456348419, -0.01501135528087616, -0.04350580275058746, -0.0017712643602862954, 0.0005840692901983857, 0.0016726322937756777, 0.02836417593061924, 0.016087306663393974, 0.030843013897538185, 0.031020481139421463, -0.04254227131605148, -0.06074676290154457, 0.05414969474077225, 0.010000134818255901, 0.007282949052751064, -0.08728946000337601, -0.024020962417125702, 0.03570074215531349, 0.008767865598201752, 0.022018464282155037, 0.0005933453794568777, 0.08797676116228104, 0.01583912782371044, -0.00022869005624670535, 0.021028578281402588, -0.011236002668738365, 0.0059944079257547855, 0.006818445399403572, 0.020524803549051285, -0.027107417583465576, -0.05619406700134277, -0.025110818445682526, 0.000987304258160293, 0.05344583839178085, -0.041610341519117355, -0.05395202338695526, -0.01964576169848442, 0.02473779208958149, 0.024275438860058784, -0.004520168527960777, -0.042154617607593536, -0.019946422427892685, -0.06974627822637558, -0.015204496681690216, 0.031120019033551216, 0.025239503011107445, 0.006573235150426626, 0.05033549293875694, 0.02231576479971409, -0.015471410937607288, 0.02861078269779682, 0.028460483998060226, 0.07244652509689331, 0.025055423378944397, -0.05904217064380646, 0.01987595111131668, -0.029632048681378365, 0.03492257371544838, 0.005510963965207338, -0.013447281904518604, -0.05357254669070244, -0.08031071722507477, -0.024186154827475548, 0.0031088239047676325, -0.007907684892416, -0.022303711622953415, 0.04663664475083351, -0.004500548355281353, -0.0085370484739542, -0.017972342669963837, 0.0158817358314991, 0.044451821595430374, -0.06891879439353943, 0.04089773818850517, -0.004292118828743696, 0.022141320630908012, -0.06418246030807495, -0.0029366500675678253, -0.0030918975826352835, 0.002231073332950473, 0.005285961087793112, 0.06280241906642914, 0.0005014572525396943, 0.07353055477142334, 0.0712159052491188, 0.021192021667957306, -0.036114420741796494, 0.02140449546277523, 0.07876236736774445, -0.013545848429203033, -0.03679808974266052, 0.006356213241815567, 0.01007241290062666, -0.0252663753926754, -0.004032490774989128, -0.007340221665799618, 0.03272445872426033, 0.03483426570892334, -0.016979975625872612, -0.0003686687268782407, 0.018601229414343834, -0.020574349910020828, -0.03514840453863144, -0.05838828906416893, -0.018428746610879898, -0.009526064619421959, -0.03687453642487526, 0.00812438689172268, 0.04813668131828308, 0.014802872203290462, 0.07623638212680817, 0.05682992935180664, -0.026814712211489677, -0.04460582509636879, 0.0341637022793293, 0.02968631125986576, -0.025160230696201324, -0.07223725318908691, -0.019462089985609055, 0.023554857820272446, 0.03126246854662895, -0.006502438802272081, -0.0575791671872139, 0.009357975795865059, 0.08236052095890045, -0.03796755522489548, 0.04398203641176224, 0.0018655796302482486, 0.02681746706366539, 0.050509482622146606, -0.013390238396823406, 0.04238124191761017, -0.02371116727590561, 0.014552842825651169, 0.0018364260904490948, 0.031587809324264526, -0.045730944722890854, -0.014737121760845184, -0.0661030188202858, 0.03338396176695824, 0.014748366549611092, 0.029653368517756462, 0.03927842527627945, -0.022136805579066277, -0.029512690380215645, 0.02540922537446022, 0.04530322551727295, -0.049297429621219635, 0.0007393481791950762, 0.015652839094400406, 0.036540571600198746, -0.029112759977579117, -0.026962846517562866, -0.02934953197836876, -0.003057190217077732, 0.0481753870844841, -0.020716596394777298, -0.0546826608479023, -0.019178025424480438, 0.04006041958928108, 0.008792908862233162, -0.020041517913341522, -0.07230407744646072, 0.044037047773599625, -0.018745869398117065, 0.0013404828496277332, 0.03400659188628197, 0.035058874636888504, 0.015030838549137115, 0.05326773598790169, 0.01887616142630577, 0.03694266080856323, -0.03129226714372635, 0.04402866214513779, -0.03695987910032272, -0.029378317296504974, -0.003886495716869831, -0.047573599964380264, -0.029143651947379112, -0.018481649458408356, -0.055109258741140366, -0.050651438534259796, -0.031575288623571396, 0.018010495230555534, -0.005426006857305765, -0.0033569294027984142, -0.02623467892408371, 0.028220603242516518, -0.02950536645948887, -0.02196444943547249, -0.01603620871901512, -0.031599365174770355, -0.08069393038749695, -0.06386350840330124, 0.016905982047319412, 0.023802602663636208, 0.03835512697696686, 0.01778673753142357, 0.007841523736715317, 0.02844163216650486, 0.007026204373687506, -0.02627686783671379, 0.034287016838788986, -0.00828404352068901, -0.01753070205450058, -0.035738568753004074, 0.00015020447608549148, 0.01125258393585682, 0.04249216616153717, -0.028603387996554375, 0.040805697441101074, 0.030280662700533867, -0.00604716781526804, 0.0015364899300038815, 0.023465003818273544, 0.003249675501137972, -0.08034688979387283, -0.044414639472961426, -0.019614016637206078, -0.02281300723552704, 0.048980869352817535, -0.028392387554049492, -0.012012538500130177, -0.010522115044295788, 0.013308912515640259, 0.035416264086961746, -0.01457532960921526, -0.030765166506171227, 0.028645582497119904, -0.027681861072778702, 0.004883425775915384, -0.04807489365339279, 0.04397369176149368, -0.04012291505932808, -0.0012829448096454144, -0.020152106881141663, -0.0021964143961668015, -0.04993382841348648, 0.042511820793151855, -0.01224547903984785, -0.008835572749376297, 0.003946188371628523, 0.05272539332509041, -0.010979948565363884, 0.04393526539206505, -0.021139390766620636, 0.026352960616350174, -0.040782712399959564, 0.0735996887087822, -0.033472172915935516, 0.0019115388859063387, -0.03510865941643715, 0.006181401666253805, -0.03173185884952545, -0.012172265909612179, -0.029209580272436142, -0.030001696199178696, 0.030940793454647064, 0.051698505878448486, 0.02700786478817463, 0.02446623332798481, -0.012577955611050129, -0.002442077035084367, 0.006943711545318365, -0.07198640704154968, -0.0332772359251976, 0.004380797501653433, 0.0006893585668876767, -0.018551908433437347, 0.049933549016714096, 0.05498026683926582, -0.03995891287922859, -0.05371841788291931, 0.03672673925757408, 0.002719396958127618, 0.00027928868075832725, 0.005359959322959185, 0.02618439681828022, 0.03088066354393959, 0.03826409950852394, -0.06534824520349503, -0.0037005434278398752, -0.011227221228182316, -0.03731349855661392, 0.04702308401465416, -0.007499196566641331, 0.027275919914245605, 0.01993524469435215, -0.018860260024666786, -0.013467974960803986, 0.06735416501760483, 0.025861328467726707, 0.019989971071481705, -0.015143521130084991, -0.03404860943555832, 0.03204360231757164, -0.019606420770287514, -0.029069671407341957, 0.012739064171910286, 0.022231418639421463, -0.03696689382195473, 0.058060549199581146, -0.006029326934367418, 0.006468282546848059, 0.06800112128257751, 0.040059857070446014, -0.0175711028277874, 0.05546305701136589, -0.018974266946315765, 0.010601047426462173, 0.048261672258377075, -0.0705377459526062, -0.0015376067021861672, -0.04578721150755882, 0.09211622923612595, -0.04937290772795677, 0.032362163066864014, 0.04529505595564842, 0.013557037338614464, 0.03349746763706207, -0.016648143529891968, -0.05897879600524902, 0.0064099938608706, -0.04760105535387993, 0.08231800049543381, 0.022610357031226158, -0.06521490216255188, 0.0667579397559166, 0.0074931601993739605, -0.04536517709493637, 0.05031470209360123, 0.046993982046842575, 0.031732600182294846, 0.02064908668398857, 0.033401619642972946, -0.04731963574886322, -0.007820641621947289, -0.041895393282175064, 0.0388658344745636, -0.059563882648944855, -0.014665788039565086, 0.04620107263326645, -0.04288565367460251, -0.04145145043730736, 0.0502103827893734, -0.013357539661228657, -0.02071504294872284, 0.04555970057845116, -0.043387822806835175, -0.028891324996948242, 0.026635516434907913, 0.02644299902021885, -0.05018841102719307, -0.0007791721727699041, -0.04461341351270676, 0.015334093943238258, 0.011755981482565403, -0.000737764174118638, -0.019968267530202866, 0.00735109020024538, 0.011466488242149353, -0.06423144787549973, -0.03551334887742996, 0.03278562054038048, -0.013047920539975166, -0.013458591885864735, 0.01685730740427971, 0.0019807403441518545, 0.019747301936149597, 0.018143925815820694, -0.000316697551170364, 0.056010257452726364, -0.05414915457367897, -0.001841244869865477, 0.008903531357645988, -0.0036584080662578344, 0.03440190851688385, -0.002052590949460864, 0.05740879103541374, 0.03585519641637802, -0.0013333786046132445, -0.0034367486368864775, -0.016803083941340446, -0.04667012393474579, 0.031704653054475784, -0.03467371687293053, 0.016389405354857445, 0.00918100867420435, -0.05259070172905922, -0.029977921396493912, -0.032996758818626404, -0.0455290712416172, 0.014656503684818745, -0.06134101375937462, -0.014158493839204311, 0.03282808139920235, -0.010918470099568367, -0.0512414388358593, -0.0983722060918808, -0.015128162689507008, -0.029843656346201897, 0.03028278984129429, 0.02457256428897381, -0.0656907856464386, 0.02743627317249775, -0.04606098681688309, -0.0764552503824234, 0.04176543653011322, 0.015560872852802277, -0.039033081382513046, 0.048462726175785065, 0.04075421020388603, -0.03126227483153343, 0.01250691432505846, 0.03929254412651062, -0.05187518522143364, 0.034132666885852814, 0.045604463666677475, 0.03177458047866821, 0.02784150280058384, 0.010052772238850594, -0.011801974847912788, -0.016030114144086838, -0.06790011376142502, -0.03769651800394058, -0.040437858551740646, 0.005014488007873297, 0.057000499218702316 ]
Dbluciferm3737/Idk
[]
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 datasets: - xsum metrics: - rouge model-index: - name: t5-small-finetuned-xsum-wei0 results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: xsum type: xsum args: default metrics: - name: Rouge1 type: rouge value: 25.7398 --- <!-- 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. --> # t5-small-finetuned-xsum-wei0 This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the xsum dataset. It achieves the following results on the evaluation set: - Loss: 2.6289 - Rouge1: 25.7398 - Rouge2: 6.1361 - Rougel: 19.8262 - Rougelsum: 19.8284 - Gen Len: 18.7984 ## 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: 12 - eval_batch_size: 12 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:| | 2.858 | 1.0 | 1701 | 2.6289 | 25.7398 | 6.1361 | 19.8262 | 19.8284 | 18.7984 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.008204996585845947, -0.011245423927903175, 0.0069961706176400185, 0.03547726571559906, 0.03513891622424126, 0.002174068009480834, -0.03026658110320568, -0.025546513497829437, -0.03044109232723713, 0.050370048731565475, 0.018004965037107468, -0.013375341892242432, -0.004546537064015865, 0.03517798334360123, -0.040716756135225296, -0.040896497666835785, -0.012830392457544804, -0.022090822458267212, -0.023784354329109192, 0.013599026016891003, 0.016179729253053665, 0.007866418920457363, -0.016984740272164345, 0.0029130398761481047, -0.004082052037119865, 0.016782913357019424, -0.013503588736057281, 0.02988080494105816, 0.03849932178854942, -0.07845176011323929, 0.018279150128364563, -0.03096502274274826, -0.044981684535741806, -0.036687999963760376, -0.0072255623526871204, 0.003077572910115123, -0.005632564891129732, 0.0062245894223451614, 0.019851991906762123, 0.06495481729507446, -0.0028800202999264, 0.02082066610455513, -0.018709292635321617, -0.007860633544623852, 0.041953086853027344, 0.0061273714527487755, -0.02867189794778824, -0.007264136802405119, 0.03624637797474861, -0.027452843263745308, -0.0720810517668724, -0.06542975455522537, -0.006277391221374273, 0.024616841226816177, -0.030891327187418938, -0.024675555527210236, -0.05909315496683121, 0.021777266636490822, 0.07448964565992355, -0.04625887796282768, -0.05246601998806, -0.003378844354301691, -0.06292238086462021, 0.03770371899008751, 0.032931458204984665, -0.038461972028017044, 0.018222477287054062, -0.032864443957805634, 0.04401861131191254, -0.012274579145014286, 0.03493104875087738, -0.009048939682543278, 0.023983817547559738, -0.09351131319999695, 0.0021488263737410307, -0.013355790637433529, 0.02585848979651928, 0.05342349037528038, -0.042919084429740906, 0.05284051224589348, 0.046980198472738266, -0.01582876406610012, 0.04849802702665329, 0.005440946668386459, 0.0015564674977213144, 0.035002853721380234, -0.033332277089357376, 0.01157470140606165, 0.012909116223454475, 0.0333249606192112, -0.031238293275237083, -0.035953957587480545, -0.030067799612879753, -0.03389601409435272, -0.01961173675954342, 0.02865768037736416, 0.03664877265691757, -0.011795983649790287, 0.04799720644950867, 0.017144272103905678, 0.02410508692264557, 0.03290097787976265, -0.019874393939971924, 0.05978148430585861, -0.007481689099222422, 0.0008346856920979917, -0.007078014779835939, -0.03577401861548424, -0.04179169610142708, 0.05205380171537399, 0.012668127194046974, -0.04558470845222473, -0.06002375856041908, 0.03223163262009621, -0.006211508996784687, -0.031680330634117126, 0.059255246073007584, -0.023451151326298714, -0.049270741641521454, -0.04413914307951927, 0.03306702896952629, 0.020921844989061356, 0.013863586820662022, 0.01580515131354332, -0.05120396614074707, -0.010682179592549801, -0.01536769513040781, -0.04544622823596001, -0.011787349358201027, 0.01795095019042492, -0.01067106518894434, 0.06403301656246185, 0.0019470804836601019, -0.06299065798521042, -0.011105968616902828, -0.002126623410731554, -0.06813613325357437, 0.052709829062223434, 0.0229949951171875, 0.11830507218837738, -0.036217186599969864, -0.08112110197544098, 0.01765713281929493, -0.012603940442204475, -0.043066106736660004, 0.027799472212791443, 0.01047543529421091, -0.0577029250562191, -0.008754802867770195, -0.013507761992514133, 0.045570507645606995, -0.06004529073834419, 0.0017356369644403458, 0.058528125286102295, 0.009331386536359787, 0.0150901535525918, -0.04929981380701065, -0.012837707065045834, 0.023171158507466316, -0.028508655726909637, 0.00043056014692410827, 0.03367196395993233, -0.013642283156514168, -0.005743260029703379, -0.05336408317089081, -0.06637139618396759, -0.0017958120442926884, 0.08157231658697128, 0.00008853275357978418, -0.017988992854952812, -0.014324471354484558, 0.04008525609970093, 0.05322040989995003, 0.051839232444763184, -0.009615695104002953, 0.03145294263958931, 0.040718019008636475, 0.03890993818640709, -0.02194114215672016, 0.0437781885266304, 0.015070689842104912, -0.028222955763339996, -0.03352411463856697, 0.005805469583719969, 0.004945581313222647, -0.034986283630132675, 0.025879574939608574, 0.03677747771143913, 0.02689221128821373, -0.03864418342709541, -0.036083023995161057, 0.03856293857097626, -0.014887318015098572, 0.0035626301541924477, -0.01231377013027668, 0.0032362272031605244, -0.030327705666422844, 0.060635343194007874, -0.0034834800753742456, 0.011959563009440899, -0.038600049912929535, -0.05053693801164627, 0.009745730087161064, 0.027244172990322113, 0.029357295483350754, 0.05325235426425934, -0.01580098457634449, 0.06361153721809387, -0.0192827470600605, 0.025161605328321457, -0.0334337092936039, -0.05037762224674225, 0.019086124375462532, 0.06325022131204605, 0.03364265710115433, 0.05779489874839783, -0.0017212085658684373, -0.042473986744880676, 0.023027103394269943, 0.0747082382440567, 0.04167003929615021, 0.022984296083450317, -0.036169134080410004, -0.02190709300339222, 0.037262722849845886, 0.0567999929189682, -0.07082843780517578, -0.03629560023546219, 0.035372525453567505, 0.03612968325614929, -0.012051843106746674, 0.017835961654782295, -0.009932571090757847, 0.027264535427093506, -0.06434373557567596, -0.05467768758535385, 0.039518553763628006, 0.00024242751533165574, 0.009667068719863892, 0.02106318436563015, 0.0010085150133818388, -0.01371824648231268, 0.03418393433094025, 0.008392048068344593, -0.004907236900180578, -0.047866325825452805, 0.009426066651940346, 0.0001685221359366551, 0.04108605161309242, -0.03779003396630287, 0.018931979313492775, -0.02603200078010559, 0.004522437229752541, 0.03913063183426857, -0.040108438581228256, 0.005363764241337776, 0.06820575892925262, 0.028094477951526642, -0.024333612993359566, -0.0021342001855373383, 0.04179743677377701, 0.052022770047187805, 0.04812350869178772, -0.005569094326347113, 0.08013977855443954, -0.005213542841374874, 0.04637693241238594, 0.08305674046278, 0.011237341910600662, 0.019388413056731224, 0.028927592560648918, 0.08074793964624405, 0.017382021993398666, 0.0005032109911553562, 0.06773313134908676, -0.06186584755778313, 0.023657549172639847, -0.024240117520093918, 0.0028170885052531958, -0.026387345045804977, -0.0007743924506939948, 0.03290972486138344, 0.012705812230706215, -0.02065245620906353, 0.0006540212198160589, -0.030518926680088043, -0.02291104942560196, 0.0033870066981762648, -0.019162993878126144, -0.0025230227038264275, 0.0011646558996289968, -0.021940235048532486, -0.0067324284464120865, -0.04476150870323181, -0.03216765820980072, -0.012166211381554604, -0.02879791334271431, -0.019760964438319206, -0.0817292183637619, -0.008324163034558296, -0.07102556526660919, -0.021923214197158813, 0.029301924630999565, 0.009171828627586365, 0.009130163118243217, -0.04856010898947716, 0.03561222925782204, -0.03420131281018257, -0.032852835953235626, -0.034338969737291336, -0.04883047565817833, -0.029424050822854042, -0.051938533782958984, 0.039281997829675674, 0.04421564191579819, 0.03356409817934036, 0.014998821541666985, 0.02186366729438305, -0.006818752270191908, -0.01220008172094822, 0.06321165710687637, 0.047082409262657166, -0.038350921124219894, -0.04612821713089943, 0.02983076684176922, -0.01164980512112379, 0.009983019903302193, -0.020228227600455284, -0.03158791735768318, 0.0788080021739006, 0.05338367819786072, 0.012995224446058273, 0.00763264624401927, -0.005998340435326099, -0.061042651534080505, -0.06768181174993515, -0.016026392579078674, -0.03552725538611412, -0.04345639795064926, -0.01947563700377941, -0.03483078256249428, -0.024637486785650253, -0.03258059173822403, 0.00565109308809042, -0.012640440836548805, 0.011296005919575691, 0.033415477722883224, 0.01374020241200924, 0.03228360787034035, 0.024412814527750015, -0.04960286617279053, -0.053595248609781265, 0.055040087550878525, 0.012368394993245602, -0.009809855371713638, -0.0800301656126976, -0.03353436663746834, 0.031226253136992455, 0.01885809935629368, 0.03447195515036583, 0.001447629532776773, 0.07667969167232513, 0.006577563006430864, 0.0011670286767184734, 0.024288181215524673, -0.018981855362653732, -0.014344981871545315, 0.006370964460074902, 0.03290441259741783, -0.02343909628689289, -0.07012688368558884, -0.015295065008103848, -0.0012129676761105657, 0.05200210213661194, -0.034076496958732605, -0.04114393889904022, -0.010894736275076866, 0.02941267006099224, 0.03623178228735924, -0.014460619539022446, -0.0295887254178524, -0.018443260341882706, -0.06159365549683571, -0.024272486567497253, 0.032097745686769485, 0.011668713763356209, 0.013152621686458588, 0.04769913852214813, 0.022615401074290276, -0.021645456552505493, 0.026843875646591187, 0.03660240396857262, 0.07914286106824875, 0.02485976368188858, -0.048718422651290894, 0.01154252327978611, -0.036883678287267685, 0.038279496133327484, 0.0037610677536576986, -0.012821132317185402, -0.04453456401824951, -0.0882163718342781, -0.028214529156684875, 0.0030012852512300014, 0.004316995851695538, -0.00719022611156106, 0.05595171079039574, -0.0024022492580115795, -0.015081292949616909, -0.01112515851855278, 0.0020176786929368973, 0.04604117199778557, -0.06111777573823929, 0.039070501923561096, 0.002255316125229001, 0.011125967837870121, -0.05912875756621361, 0.005059161223471165, -0.016493653878569603, -0.0009756680810824037, -0.007024606689810753, 0.06193613260984421, -0.00127713184338063, 0.0659509003162384, 0.07093808799982071, 0.0134968850761652, -0.03809240087866783, 0.016825493425130844, 0.06286586076021194, -0.013442291878163815, -0.04728211835026741, 0.022821500897407532, 0.006531091406941414, -0.01471764873713255, -0.01365252211689949, -0.01944969967007637, 0.03709685057401657, 0.04431716352701187, -0.01146255899220705, -0.006895273923873901, 0.017971646040678024, -0.023430045694112778, -0.03358907625079155, -0.05814327672123909, -0.014004314318299294, -0.006738550961017609, -0.04101436212658882, 0.0031457950826734304, 0.0507170744240284, 0.023583510890603065, 0.06581952422857285, 0.06583663821220398, -0.03498696908354759, -0.044894739985466, 0.025020781904459, 0.029930222779512405, -0.02678029239177704, -0.08037407696247101, -0.011385207995772362, 0.021458884701132774, 0.026798326522111893, -0.0006763656274415553, -0.05256006121635437, 0.006754349451512098, 0.07064872980117798, -0.041043415665626526, 0.04776151105761528, 0.002151140011847019, 0.03580427169799805, 0.0516834519803524, -0.006327745970338583, 0.036418888717889786, -0.0008332973229698837, 0.013450834900140762, -0.0021738940849900246, 0.02559874765574932, -0.028763404116034508, -0.015572557225823402, -0.06977000087499619, 0.03166060894727707, 0.014790493994951248, 0.030924061313271523, 0.02776077389717102, -0.024533554911613464, -0.04847298189997673, 0.031944021582603455, 0.05023152753710747, -0.04971436783671379, 0.013423774391412735, 0.025458088144659996, 0.03728146851062775, -0.034949563443660736, -0.018997294828295708, -0.03191837668418884, 0.006498163565993309, 0.04853803291916847, -0.019908802583813667, -0.03916311636567116, -0.017259791493415833, 0.03630727529525757, 0.01074505690485239, -0.026715945452451706, -0.07154379785060883, 0.04353299364447594, -0.025753485038876534, -0.0018985675415024161, 0.052361007779836655, 0.039269011467695236, 0.011938146315515041, 0.051592763513326645, 0.02067912183701992, 0.03822881728410721, -0.03409295156598091, 0.05415055528283119, -0.043360281735658646, -0.02960604801774025, -0.00016762649465817958, -0.03297339752316475, -0.045030150562524796, -0.029537398368120193, -0.04303576052188873, -0.04667910560965538, -0.03441977500915527, 0.02298872545361519, -0.002238354180008173, 0.0008570713689550757, -0.021739602088928223, 0.032615453004837036, -0.019542980939149857, -0.01995331235229969, -0.011110179126262665, -0.03041682206094265, -0.07670904695987701, -0.046922020614147186, 0.022139230743050575, 0.022938266396522522, 0.04188944771885872, 0.024958420544862747, -0.0034811387304216623, 0.03310644254088402, 0.017515795305371284, -0.01658090017735958, 0.0296643003821373, -0.013288714922964573, -0.025497309863567352, -0.04016124829649925, -0.0012916958658024669, 0.01632179692387581, 0.04563458636403084, -0.0325157605111599, 0.05134802684187889, 0.029102319851517677, -0.00703923124819994, 0.011655044741928577, 0.006683805026113987, 0.013089410029351711, -0.08323812484741211, -0.05462391674518585, -0.007411628495901823, -0.03614504635334015, 0.02947300300002098, -0.03183145448565483, -0.007837535813450813, 0.009138829074800014, 0.014128507114946842, 0.03559744730591774, -0.007196727208793163, -0.03197977691888809, 0.02568683587014675, -0.017399877309799194, 0.0056242141872644424, -0.06303564459085464, 0.034755341708660126, -0.04426773265004158, 0.0026990999467670918, -0.01947285234928131, 0.004964454099535942, -0.041713494807481766, 0.046287499368190765, -0.017436368390917778, -0.016213061287999153, 0.0002361793303862214, 0.04659576341509819, -0.02334900014102459, 0.034684211015701294, -0.013480447232723236, 0.013510340824723244, -0.03649994730949402, 0.06460528075695038, -0.0269100833684206, 0.011513037607073784, -0.030976222828030586, 0.01121005043387413, -0.030292604118585587, -0.012848959304392338, -0.014236019924283028, -0.04144458845257759, 0.03653248772025108, 0.06715038418769836, 0.03800016641616821, 0.02163444459438324, -0.018467970192432404, -0.010103804059326649, 0.001712603960186243, -0.0567043200135231, -0.03007211908698082, -0.00028604752151295543, 0.008207480423152447, -0.02039404585957527, 0.043181173503398895, 0.048317790031433105, -0.04061228781938553, -0.05056066811084747, 0.0404205285012722, 0.004205030854791403, -0.00022803789761383086, 0.0005824173567816615, 0.03927619010210037, 0.03183571249246597, 0.04411512240767479, -0.05642648786306381, 0.014190840534865856, -0.014683539979159832, -0.03253137320280075, 0.051152002066373825, -0.014399989508092403, 0.023175256326794624, 0.01661163754761219, -0.013175180181860924, -0.013824802823364735, 0.06935366988182068, 0.03754458948969841, 0.026537103578448296, -0.015056860633194447, -0.029839420691132545, 0.03220284730195999, -0.012014087289571762, -0.02690657041966915, 0.017254071310162544, 0.01952212117612362, -0.037956733256578445, 0.0573795847594738, -0.018696220591664314, 0.013156691566109657, 0.06320513784885406, 0.025899043306708336, -0.026295598596334457, 0.05935726314783096, -0.0180677343159914, 0.011153199709951878, 0.06320972740650177, -0.06784387677907944, -0.0012752474285662174, -0.04168958589434624, 0.07680334895849228, -0.050058506429195404, 0.035319067537784576, 0.03403100743889809, 0.014039525762200356, 0.029239635914564133, -0.01626862958073616, -0.04787226393818855, 0.002591431140899658, -0.05420135334134102, 0.07786428183317184, 0.019921837374567986, -0.06929892301559448, 0.06215657293796539, 0.002976431278511882, -0.04584786295890808, 0.05212884023785591, 0.030944770202040672, 0.03300001472234726, 0.027367165312170982, 0.0394219346344471, -0.06206357106566429, 0.007568586617708206, -0.034300196915864944, 0.041516877710819244, -0.060596682131290436, -0.012651660479605198, 0.05322358012199402, -0.04486191272735596, -0.0407116524875164, 0.05362356826663017, -0.001434074598364532, -0.020258290693163872, 0.04061735421419144, -0.04729095473885536, -0.042959343641996384, 0.03783627972006798, 0.03913145884871483, -0.046496253460645676, 0.005666034761816263, -0.048253849148750305, 0.01915053464472294, 0.01648431457579136, 0.011536632664501667, -0.02452889271080494, 0.003033061744645238, 0.02275504358112812, -0.06493677198886871, -0.03779792785644531, 0.024550827220082283, -0.007134577725082636, -0.00955143105238676, 0.017427682876586914, 0.012643183581531048, 0.019914524629712105, 0.023641012609004974, -0.0007768945652060211, 0.04942510277032852, -0.04435916617512703, -0.012806789949536324, 0.0063712201081216335, -0.006151153240352869, 0.032020747661590576, -0.0038109070155769587, 0.057501692324876785, 0.031138362362980843, 0.011149142868816853, 0.002716181566938758, -0.02214200608432293, -0.036337707191705704, 0.03713156282901764, -0.03419995680451393, 0.016806526109576225, 0.0030203054193407297, -0.04985591396689415, -0.038247015327215195, -0.024862365797162056, -0.039682596921920776, 0.020910296589136124, -0.068987175822258, 0.00008853925828589126, 0.040886349976062775, -0.016622580587863922, -0.05820503458380699, -0.10419712215662003, -0.028251098468899727, -0.03655420243740082, 0.02558610402047634, 0.03378324210643768, -0.057064540684223175, 0.02578219398856163, -0.04597491770982742, -0.07279813289642334, 0.0411454476416111, 0.004481825977563858, -0.03454703837633133, 0.04908668249845505, 0.03577006235718727, -0.041619036346673965, 0.0011697610607370734, 0.04488915205001831, -0.0491802953183651, 0.03180461376905441, 0.050050999969244, 0.02390165627002716, 0.03616945445537567, -0.0021877067629247904, -0.02885185368359089, -0.010625364258885384, -0.07106667757034302, -0.04378926381468773, -0.04589150473475456, 0.013797602616250515, 0.061130721122026443 ]
Dbluciferm3737/U
[]
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
20% of the training data --- license: apache-2.0 tags: - generated_from_trainer datasets: - xsum metrics: - rouge model-index: - name: t5-small-finetuned-xsum-wei1 results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: xsum type: xsum args: default metrics: - name: Rouge1 type: rouge value: 27.5875 --- <!-- 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. --> # t5-small-finetuned-xsum-wei1 This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the xsum dataset. It achieves the following results on the evaluation set: - Loss: 2.5287 - Rouge1: 27.5875 - Rouge2: 7.4083 - Rougel: 21.5654 - Rougelsum: 21.5716 - Gen Len: 18.8205 ## 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: 12 - eval_batch_size: 12 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 2 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:| | 2.7677 | 1.0 | 3401 | 2.5441 | 27.4235 | 7.2208 | 21.3535 | 21.3636 | 18.8311 | | 2.735 | 2.0 | 6802 | 2.5287 | 27.5875 | 7.4083 | 21.5654 | 21.5716 | 18.8205 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.010748190805315971, -0.007981876842677593, 0.008845209144055843, 0.03644418716430664, 0.0320843867957592, 0.0011826854897662997, -0.030687907710671425, -0.02225000225007534, -0.02866758219897747, 0.04899544268846512, 0.016192873939871788, -0.01848134584724903, -0.0041006989777088165, 0.0371495746076107, -0.04096819460391998, -0.039817024022340775, -0.015182188712060452, -0.023193122819066048, -0.022654742002487183, 0.014499930664896965, 0.017139416188001633, 0.010733895935118198, -0.013937707059085369, 0.0028729268815368414, -0.0008274780120700598, 0.018620403483510017, -0.013726002536714077, 0.029497360810637474, 0.04203367978334427, -0.07694818079471588, 0.02026684395968914, -0.03206459432840347, -0.04758523777127266, -0.03636672720313072, -0.005103753414005041, 0.0036308991257101297, -0.005321751814335585, 0.003919465932995081, 0.023800790309906006, 0.06390371173620224, -0.002737208968028426, 0.019620727747678757, -0.019556056708097458, -0.00790278147906065, 0.041843730956315994, 0.007710432633757591, -0.02933848462998867, -0.008728792890906334, 0.03392773121595383, -0.025618771091103554, -0.0705493614077568, -0.06433229893445969, -0.004988426808267832, 0.024517372250556946, -0.028230808675289154, -0.027029328048229218, -0.058173298835754395, 0.022158363834023476, 0.07570457458496094, -0.0447206050157547, -0.053350456058979034, -0.0024511951487511396, -0.06275131553411484, 0.03424713760614395, 0.03229951485991478, -0.03970745578408241, 0.01911250688135624, -0.03470280393958092, 0.042105235159397125, -0.011107656173408031, 0.034598737955093384, -0.010372784920036793, 0.02365708351135254, -0.09626425802707672, 0.0026438881177455187, -0.012029406614601612, 0.025134054943919182, 0.05683182552456856, -0.044348325580358505, 0.054756294935941696, 0.04842465743422508, -0.014760411344468594, 0.049251966178417206, 0.004919413477182388, -0.0002747879771050066, 0.037828825414180756, -0.03503952920436859, 0.0120957987383008, 0.01355709508061409, 0.0346529595553875, -0.029228731989860535, -0.03503166884183884, -0.030828680843114853, -0.03485516458749771, -0.017785178497433662, 0.025771180167794228, 0.03676579147577286, -0.008699962869286537, 0.05007162690162659, 0.017134472727775574, 0.027963945642113686, 0.029760150238871574, -0.022665604948997498, 0.06096678599715233, -0.008802705444395542, 0.0003155499289277941, -0.011772065423429012, -0.03617449849843979, -0.04601195827126503, 0.050081443041563034, 0.009882784448564053, -0.04539986327290535, -0.05620749667286873, 0.031146325170993805, -0.00845387764275074, -0.0345047265291214, 0.06192522123456001, -0.027500124648213387, -0.05099741742014885, -0.04080710932612419, 0.028989341109991074, 0.01889127865433693, 0.011135139502584934, 0.011738420464098454, -0.054561056196689606, -0.012186599895358086, -0.010963492095470428, -0.044045716524124146, -0.010792150162160397, 0.017125530168414116, -0.00797780230641365, 0.06375514715909958, 0.0014248598599806428, -0.06398841738700867, -0.013877791352570057, 0.0009703419636934996, -0.06850208342075348, 0.0487552136182785, 0.021835727617144585, 0.11815722286701202, -0.036094121634960175, -0.08243034780025482, 0.01768365316092968, -0.011271207593381405, -0.039760518819093704, 0.030724309384822845, 0.012658846564590931, -0.058106742799282074, -0.008107458241283894, -0.01518629677593708, 0.04709746316075325, -0.05934382975101471, -0.0008021614048629999, 0.06063768267631531, 0.008673092350363731, 0.0158858485519886, -0.050443388521671295, -0.014221157878637314, 0.020005183294415474, -0.028961019590497017, 0.0035710439551621675, 0.03317617252469063, -0.015410691499710083, -0.003028637496754527, -0.054325878620147705, -0.0644228458404541, -0.0007963072857819498, 0.08373579382896423, -0.0004216714878566563, -0.02007884345948696, -0.017954597249627113, 0.040016647428274155, 0.054466214030981064, 0.05221634358167648, -0.012178447097539902, 0.033329255878925323, 0.03851857781410217, 0.040593188256025314, -0.02448667213320732, 0.04328833892941475, 0.017369329929351807, -0.028691768646240234, -0.03493746742606163, 0.005413088481873274, 0.004764440935105085, -0.03807612136006355, 0.023727262392640114, 0.03537965193390846, 0.02887793630361557, -0.036183521151542664, -0.037261757999658585, 0.036164965480566025, -0.01544574461877346, 0.0006090875249356031, -0.009864328429102898, 0.0026193191297352314, -0.031820692121982574, 0.0569041408598423, -0.003660018090158701, 0.009924993850290775, -0.03872465714812279, -0.049062058329582214, 0.010445713065564632, 0.02867775410413742, 0.02680828981101513, 0.053445324301719666, -0.017653927206993103, 0.06364903599023819, -0.018209047615528107, 0.025604423135519028, -0.0306378323584795, -0.051398761570453644, 0.01748865284025669, 0.06211816146969795, 0.03797597438097, 0.060153014957904816, -0.0013265436282381415, -0.04678792133927345, 0.025797126814723015, 0.07236295938491821, 0.04481865093111992, 0.023969894275069237, -0.034654099494218826, -0.019939931109547615, 0.035677433013916016, 0.05489850416779518, -0.06803835183382034, -0.0347052738070488, 0.03430480882525444, 0.03801928460597992, -0.01190521102398634, 0.015809625387191772, -0.012023579329252243, 0.030076751485466957, -0.06430826336145401, -0.05230818688869476, 0.03497963398694992, 0.0016166649293154478, 0.008966474793851376, 0.02273009903728962, -0.001042010961100459, -0.012914958409965038, 0.03213667497038841, 0.009302482940256596, -0.0057415287010371685, -0.0460783876478672, 0.006958375684916973, -0.003042378928512335, 0.03935503587126732, -0.03734869137406349, 0.021466761827468872, -0.02711634151637554, 0.0037738406099379063, 0.03782511129975319, -0.03479832410812378, 0.007700628601014614, 0.07183434069156647, 0.03004060499370098, -0.02311214804649353, -0.0037171109579503536, 0.04148656874895096, 0.052146561443805695, 0.04622407257556915, -0.004667440429329872, 0.0811847448348999, -0.004892549943178892, 0.048354607075452805, 0.08368279039859772, 0.010311474092304707, 0.02085181698203087, 0.031730975955724716, 0.08109688758850098, 0.018484629690647125, 0.0011575958924368024, 0.06289876997470856, -0.06509952992200851, 0.02436179853975773, -0.025267187505960464, 0.003632579930126667, -0.026525912806391716, 0.0007038747426122427, 0.037792786955833435, 0.013215483166277409, -0.017624981701374054, -0.0005428566364571452, -0.029677068814635277, -0.024351203814148903, 0.006655811332166195, -0.018648294731974602, -0.0019411238608881831, -0.0007385089993476868, -0.020919984206557274, -0.006836549378931522, -0.0416661761701107, -0.03330336883664131, -0.013078630901873112, -0.03289118781685829, -0.020511232316493988, -0.08203281462192535, -0.00825605820864439, -0.06837279349565506, -0.023163650184869766, 0.029093468561768532, 0.007689619902521372, 0.012152723036706448, -0.049325183033943176, 0.034573350101709366, -0.03338439017534256, -0.03205272555351257, -0.03521449491381645, -0.049318406730890274, -0.028912991285324097, -0.050591953098773956, 0.03923138231039047, 0.04451296478509903, 0.0326957069337368, 0.01560906507074833, 0.023060042411088943, -0.006452660076320171, -0.012028563767671585, 0.05869796872138977, 0.04700010269880295, -0.03983180224895477, -0.04804126173257828, 0.028805838897824287, -0.009464197792112827, 0.01092824712395668, -0.022622454911470413, -0.03304627910256386, 0.07974530756473541, 0.0532538928091526, 0.01359073631465435, 0.007830346003174782, -0.00411637919023633, -0.06312296539545059, -0.06838248670101166, -0.018447091802954674, -0.03414415940642357, -0.040560439229011536, -0.021589508280158043, -0.03517216444015503, -0.027229389175772667, -0.033467069268226624, 0.0071192532777786255, -0.010506892576813698, 0.01263604685664177, 0.03364482894539833, 0.015371669083833694, 0.030740777030587196, 0.0212720837444067, -0.04660628363490105, -0.05423364043235779, 0.05437500402331352, 0.010454992763698101, -0.010919892229139805, -0.08019184321165085, -0.033398453146219254, 0.03049924224615097, 0.019349217414855957, 0.03376025706529617, 0.00013644287537317723, 0.08269958198070526, 0.007728059776127338, 0.0016299420967698097, 0.023275943472981453, -0.01771518774330616, -0.01370023749768734, 0.008560399524867535, 0.032618679106235504, -0.022311078384518623, -0.0723896250128746, -0.016010098159313202, -0.0029836304020136595, 0.0510798916220665, -0.037620510905981064, -0.04258214682340622, -0.012952366843819618, 0.02938215807080269, 0.03501995652914047, -0.01562783494591713, -0.028363103047013283, -0.017682738602161407, -0.06204560771584511, -0.02339751645922661, 0.033541228622198105, 0.012617436237633228, 0.015379314310848713, 0.048128098249435425, 0.02264520153403282, -0.02314474619925022, 0.03019464574754238, 0.03364245221018791, 0.08340764045715332, 0.024365222081542015, -0.05063893646001816, 0.01208608690649271, -0.0332304872572422, 0.03877582773566246, 0.00100346386898309, -0.013475197367370129, -0.04371598735451698, -0.0876540094614029, -0.030537068843841553, 0.0026122108101844788, 0.003515138290822506, -0.005198572296649218, 0.0581844337284565, -0.0012804680736735463, -0.015230086632072926, -0.0126310670748353, 0.003004126949235797, 0.048191383481025696, -0.06017931178212166, 0.03898626193404198, 0.004125375300645828, 0.007709518074989319, -0.05704013630747795, 0.002561652334406972, -0.01991228573024273, -0.004343289416283369, -0.008421246893703938, 0.0642404705286026, -0.0043512131087481976, 0.06479699909687042, 0.07153277844190598, 0.012616008520126343, -0.03620507940649986, 0.019251862540841103, 0.062076590955257416, -0.015846557915210724, -0.04233967885375023, 0.021752240136265755, 0.008399276062846184, -0.01699284464120865, -0.01236813049763441, -0.016232162714004517, 0.03794539347290993, 0.046259913593530655, -0.015113197267055511, -0.0040593273006379604, 0.02142774872481823, -0.025839688256382942, -0.0318598598241806, -0.05666466802358627, -0.01564650982618332, -0.005973679479211569, -0.04120320826768875, 0.003669777186587453, 0.04712975025177002, 0.02229914627969265, 0.06409764289855957, 0.06319503486156464, -0.032941676676273346, -0.04563430696725845, 0.02460344135761261, 0.026554085314273834, -0.0256879273802042, -0.07991039752960205, -0.012424837797880173, 0.024155210703611374, 0.026562266051769257, -0.00015756058564875275, -0.05328092351555824, 0.004869351163506508, 0.06842157244682312, -0.04453132301568985, 0.04880846291780472, 0.007030702196061611, 0.03355290740728378, 0.04817640408873558, -0.007753248792141676, 0.036035653203725815, -0.0022584456019103527, 0.013906341046094894, -0.00022328317572828382, 0.022601135075092316, -0.027659934014081955, -0.013732373714447021, -0.06857231259346008, 0.02964162640273571, 0.016110679134726524, 0.03009212389588356, 0.029881676658988, -0.027496248483657837, -0.04511265456676483, 0.03352956473827362, 0.04960813745856285, -0.04838071018457413, 0.014568598009645939, 0.0250584427267313, 0.035619281232357025, -0.03761058673262596, -0.02097688987851143, -0.03508004918694496, 0.003267270978540182, 0.046893537044525146, -0.02031599171459675, -0.0417448990046978, -0.016383206471800804, 0.033993642777204514, 0.011738516390323639, -0.022856760770082474, -0.0739421546459198, 0.04320892319083214, -0.025017399340867996, -0.005081209819763899, 0.050738319754600525, 0.04020135477185249, 0.011494449339807034, 0.05190073326230049, 0.02177293226122856, 0.03791493922472, -0.03308729827404022, 0.05351334065198898, -0.04291091486811638, -0.02858196757733822, -0.0006315135397017002, -0.033781230449676514, -0.04699254408478737, -0.031076248735189438, -0.03909711539745331, -0.04912484064698219, -0.034087423235177994, 0.019933512434363365, -0.004983484745025635, 0.0015837447717785835, -0.021704427897930145, 0.03266561031341553, -0.01703452318906784, -0.022088421508669853, -0.012879491783678532, -0.03166831657290459, -0.07544896751642227, -0.04622376710176468, 0.02481207065284252, 0.02136240154504776, 0.04075898975133896, 0.026565982028841972, -0.0027280948124825954, 0.029096301645040512, 0.01401353906840086, -0.01983736827969551, 0.028392327949404716, -0.011169330216944218, -0.0211021788418293, -0.03819722682237625, -0.0029092791955918074, 0.018193364143371582, 0.042814578860998154, -0.03618483990430832, 0.05085606127977371, 0.029708033427596092, -0.00529599841684103, 0.01087088230997324, 0.01109715923666954, 0.012230648659169674, -0.07968611270189285, -0.055409397929906845, -0.0068203723058104515, -0.03315417841076851, 0.02932935766875744, -0.03442107513546944, -0.0035579774994403124, 0.007900686003267765, 0.016971871256828308, 0.03519865870475769, -0.006281238980591297, -0.03310856223106384, 0.02382609061896801, -0.019715409725904465, 0.00830373540520668, -0.062305256724357605, 0.03615500405430794, -0.044800300151109695, 0.0015335932839661837, -0.019322847947478294, 0.008701829239726067, -0.040025610476732254, 0.04635065048933029, -0.022148752585053444, -0.01541394367814064, -0.003110758261755109, 0.048256270587444305, -0.023896411061286926, 0.03707241266965866, -0.015432795509696007, 0.015777455642819405, -0.041075870394706726, 0.06614847481250763, -0.026485877111554146, 0.013542876578867435, -0.029309963807463646, 0.009446326643228531, -0.030969006940722466, -0.012693802826106548, -0.015515824779868126, -0.041608743369579315, 0.036717530339956284, 0.0664483830332756, 0.04131687059998512, 0.020151736214756966, -0.01578766107559204, -0.0106447022408247, 0.006627237889915705, -0.05570298433303833, -0.03288094699382782, -0.00038853337173350155, 0.00696826446801424, -0.017691170796751976, 0.04249958693981171, 0.048898495733737946, -0.041353724896907806, -0.05202554538846016, 0.03906781226396561, 0.006457269191741943, 0.0029517076909542084, 0.000271480530500412, 0.03961209952831268, 0.030493147671222687, 0.04166240990161896, -0.05186816677451134, 0.009556830860674381, -0.017598744481801987, -0.03188081458210945, 0.04840295761823654, -0.013152827508747578, 0.02399285137653351, 0.015600335784256458, -0.012931611388921738, -0.016969481483101845, 0.07213947921991348, 0.03592607378959656, 0.026491397991776466, -0.012013087049126625, -0.02937631867825985, 0.03347209841012955, -0.007674911059439182, -0.02574211172759533, 0.01933300867676735, 0.017710909247398376, -0.03507493808865547, 0.055973805487155914, -0.019461702555418015, 0.014042816124856472, 0.06150531396269798, 0.0278889499604702, -0.02798207476735115, 0.05946631729602814, -0.016133269295096397, 0.009817663580179214, 0.0638827234506607, -0.07100559771060944, 0.0006402938743121922, -0.0421689935028553, 0.07814424484968185, -0.048214372247457504, 0.03739142045378685, 0.03358033299446106, 0.012563812546432018, 0.029228271916508675, -0.017330428585410118, -0.05015482380986214, -0.0005977086257189512, -0.05369550734758377, 0.0773119330406189, 0.02038264460861683, -0.06518369168043137, 0.06147996336221695, 0.0031070581171661615, -0.043099455535411835, 0.049580443650484085, 0.03126838430762291, 0.03244752809405327, 0.02465716190636158, 0.040265001356601715, -0.06035561114549637, 0.005244750063866377, -0.03411291912198067, 0.041027434170246124, -0.05760674178600311, -0.015619250014424324, 0.052912451326847076, -0.04477529227733612, -0.038439057767391205, 0.05488467961549759, -0.0013466088566929102, -0.020779093727469444, 0.041378818452358246, -0.04311353713274002, -0.04420606046915054, 0.03717552125453949, 0.04006552696228027, -0.04562631994485855, 0.006023102439939976, -0.05008166283369064, 0.017130501568317413, 0.017593923956155777, 0.010062072426080704, -0.02159762568771839, 0.004217187408357859, 0.02073580212891102, -0.06419789046049118, -0.038451533764600754, 0.022791460156440735, -0.008152586407959461, -0.009450132958590984, 0.018591610714793205, 0.010958636179566383, 0.01917039044201374, 0.026465777307748795, -0.0010564789408817887, 0.04651390388607979, -0.042982347309589386, -0.014111832715570927, 0.0065766614861786366, -0.0056788502261042595, 0.0333167240023613, -0.003531024791300297, 0.057250238955020905, 0.03297515586018562, 0.014369040727615356, 0.0038874635938555002, -0.018769646063447, -0.03871328756213188, 0.03574236109852791, -0.036228131502866745, 0.017131291329860687, 0.0008181629818864167, -0.04955485090613365, -0.03604612872004509, -0.02340814284980297, -0.04107744246721268, 0.020814280956983566, -0.06570754945278168, -0.0007704016170464456, 0.03976012393832207, -0.01663823053240776, -0.0592929981648922, -0.1038934513926506, -0.026756567880511284, -0.03558345511555672, 0.02617468684911728, 0.03419119119644165, -0.05688798800110817, 0.026079751551151276, -0.046670857816934586, -0.06912318617105484, 0.041248977184295654, 0.004056744277477264, -0.03910611569881439, 0.05137825384736061, 0.03780089318752289, -0.04580853134393692, -0.00043772527715191245, 0.04573243483901024, -0.05017545819282532, 0.030752962455153465, 0.049167171120643616, 0.02055547572672367, 0.036292050033807755, -0.00143227051012218, -0.03121153637766838, -0.01250318344682455, -0.07505160570144653, -0.045699916779994965, -0.049645453691482544, 0.017950579524040222, 0.06112330034375191 ]
Ddarkros/Test
[]
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 datasets: - xsum metrics: - rouge model-index: - name: t5-small-finetuned-xsum-wei2 results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: xsum type: xsum args: default metrics: - name: Rouge1 type: rouge value: 29.2287 --- <!-- 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. --> # t5-small-finetuned-xsum-wei2 This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the xsum dataset. It achieves the following results on the evaluation set: - Loss: 2.4131 - Rouge1: 29.2287 - Rouge2: 8.4073 - Rougel: 23.0934 - Rougelsum: 23.0954 - Gen Len: 18.8236 ## 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: 4e-05 - train_batch_size: 12 - eval_batch_size: 12 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:-----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:| | 2.633 | 1.0 | 17004 | 2.4131 | 29.2287 | 8.4073 | 23.0934 | 23.0954 | 18.8236 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.009035194292664528, -0.013954097405076027, 0.008187501691281796, 0.03377922996878624, 0.03658948466181755, 0.002306102542206645, -0.029617944732308388, -0.02441135048866272, -0.029220184311270714, 0.0495365709066391, 0.0169821809977293, -0.007778993807733059, -0.0038083174731582403, 0.03548702597618103, -0.0421978197991848, -0.040186576545238495, -0.013039940968155861, -0.022779246792197227, -0.02130300924181938, 0.01260505523532629, 0.015139466151595116, 0.007307442370802164, -0.01728871837258339, 0.006752323359251022, -0.0035695042461156845, 0.013049153611063957, -0.012032922357320786, 0.031857963651418686, 0.03759683296084404, -0.07698281109333038, 0.018975354731082916, -0.03183165565133095, -0.04377419874072075, -0.037262413650751114, -0.00859602726995945, 0.00213511916808784, -0.011373069137334824, 0.008128851652145386, 0.021064892411231995, 0.06196163594722748, -0.004089016932994127, 0.02306397445499897, -0.02224697917699814, -0.006541616749018431, 0.042475927621126175, 0.00795116275548935, -0.029433850198984146, -0.009117132052779198, 0.0371658131480217, -0.028120066970586777, -0.073667511343956, -0.06563425064086914, -0.0037567135877907276, 0.02491811104118824, -0.030162541195750237, -0.023141078650951385, -0.05873158946633339, 0.02401680499315262, 0.07493268698453903, -0.048134561628103256, -0.05226925387978554, -0.004720150027424097, -0.06215553358197212, 0.03853727504611015, 0.034953195601701736, -0.041593998670578, 0.0213813167065382, -0.02883676253259182, 0.04350832477211952, -0.013078339397907257, 0.03643083572387695, -0.010255386121571064, 0.025608308613300323, -0.09584137797355652, 0.0012976090656593442, -0.013663473539054394, 0.028359847143292427, 0.05183887481689453, -0.04306035116314888, 0.053230274468660355, 0.05067563056945801, -0.013705533929169178, 0.04617512226104736, 0.006260307040065527, 0.0019763573072850704, 0.0364094041287899, -0.034611817449331284, 0.01312056090682745, 0.01262595783919096, 0.03553681820631027, -0.031847354024648666, -0.034647781401872635, -0.03088545612990856, -0.03384856507182121, -0.020772945135831833, 0.028848085552453995, 0.036303192377090454, -0.011375198140740395, 0.04795354604721069, 0.020331015810370445, 0.021745169535279274, 0.031476978212594986, -0.020630458369851112, 0.06080716848373413, -0.0022486206144094467, 0.001108538475818932, -0.009226790629327297, -0.035296641290187836, -0.043907951563596725, 0.05024596303701401, 0.01448463462293148, -0.04595853015780449, -0.05809275433421135, 0.03262220323085785, -0.008609035052359104, -0.031560201197862625, 0.06089122220873833, -0.023747971281409264, -0.049524515867233276, -0.045925986021757126, 0.033060573041439056, 0.020017575472593307, 0.013453030027449131, 0.01979808323085308, -0.05086290091276169, -0.010026468895375729, -0.016449537128210068, -0.043434035032987595, -0.009939955547451973, 0.016252819448709488, -0.011195231229066849, 0.061316244304180145, 0.0023477617651224136, -0.06447527557611465, -0.012214215472340584, -0.0004751424421556294, -0.07039503753185272, 0.04880528151988983, 0.023370681330561638, 0.1173865869641304, -0.03816727548837662, -0.07971297949552536, 0.01406942494213581, -0.01535286195576191, -0.03955146297812462, 0.027542434632778168, 0.010423388332128525, -0.058512624353170395, -0.008673693984746933, -0.017170729115605354, 0.04733429104089737, -0.0650990828871727, 0.001671478385105729, 0.05946445092558861, 0.006220104172825813, 0.016355184838175774, -0.05131969973444939, -0.010386426001787186, 0.022638684138655663, -0.026090888306498528, 0.0024916105903685093, 0.03789908438920975, -0.012154311873018742, -0.0027640508487820625, -0.05504656210541725, -0.06614211946725845, -0.003667321754619479, 0.08492909371852875, 0.0006193452863954008, -0.01936022937297821, -0.016776543110609055, 0.041068948805332184, 0.05391326919198036, 0.05273646488785744, -0.007624313700944185, 0.03398328647017479, 0.03846491873264313, 0.04090891405940056, -0.021861085668206215, 0.0438714399933815, 0.013654764741659164, -0.02845524065196514, -0.03293558582663536, 0.003373021725565195, 0.006775675341486931, -0.03521858528256416, 0.026359988376498222, 0.037145886570215225, 0.02814588136970997, -0.03929748013615608, -0.03581613674759865, 0.03927735239267349, -0.016174999997019768, 0.0014288588427007198, -0.011923818849027157, 0.0023745442740619183, -0.031113184988498688, 0.0618392676115036, -0.0036823509726673365, 0.009396282024681568, -0.03836929798126221, -0.04761091247200966, 0.008446200750768185, 0.02955440804362297, 0.03041619062423706, 0.05284427851438522, -0.01526761706918478, 0.06274963915348053, -0.01685052178800106, 0.027839990332722664, -0.031774237751960754, -0.05016964673995972, 0.014895603992044926, 0.0623830184340477, 0.03204302489757538, 0.057887762784957886, 0.00022841058671474457, -0.04067934304475784, 0.02323356829583645, 0.0750846341252327, 0.044751182198524475, 0.029026402160525322, -0.032687991857528687, -0.02342844009399414, 0.034246813505887985, 0.05694501847028732, -0.06985577940940857, -0.03789890184998512, 0.036132752895355225, 0.03736795112490654, -0.01101898867636919, 0.01685495674610138, -0.010262391529977322, 0.02780000865459442, -0.06214300915598869, -0.05610649660229683, 0.037277545779943466, -0.00043587727122940123, 0.010363544337451458, 0.02242952771484852, -0.00149680080357939, -0.01419599074870348, 0.0322151780128479, 0.007826767861843109, -0.004651855211704969, -0.047775570303201675, 0.008342008106410503, 0.002924797823652625, 0.041780851781368256, -0.037852928042411804, 0.0185715202242136, -0.025454115122556686, 0.003937885165214539, 0.035838909447193146, -0.04112181439995766, 0.006475862581282854, 0.06876552104949951, 0.028966065496206284, -0.02385016903281212, -0.002907603746280074, 0.04397880285978317, 0.050997428596019745, 0.04669199138879776, -0.0021640330087393522, 0.08105634152889252, -0.004287789110094309, 0.04819292202591896, 0.08025234192609787, 0.013431494124233723, 0.019050199538469315, 0.030292697250843048, 0.08018713444471359, 0.014972435310482979, -0.0008471422479487956, 0.06443186849355698, -0.06440988183021545, 0.025070812553167343, -0.02704726718366146, 0.0029130917973816395, -0.027369562536478043, -0.0029597245156764984, 0.03220812603831291, 0.014623474329710007, -0.019180504605174065, 0.001923189964145422, -0.032031845301389694, -0.025524524971842766, 0.004312926437705755, -0.019935589283704758, 0.001259360695257783, 0.003678783541545272, -0.02032496966421604, -0.008817968890070915, -0.04512619972229004, -0.03128065541386604, -0.013066613115370274, -0.02884060889482498, -0.017644116654992104, -0.07743920385837555, -0.006290351040661335, -0.07188556343317032, -0.021309757605195045, 0.02984139323234558, 0.009237946942448616, 0.012226522900164127, -0.04881778359413147, 0.03694019839167595, -0.03455612435936928, -0.0337662547826767, -0.032032135874032974, -0.046893659979104996, -0.02959447354078293, -0.05140247195959091, 0.03757269307971001, 0.04518416151404381, 0.03397202119231224, 0.016218960285186768, 0.020260021090507507, -0.005154200829565525, -0.01194102130830288, 0.06481778621673584, 0.046981073915958405, -0.04030745476484299, -0.046373844146728516, 0.032818086445331573, -0.009996803477406502, 0.00822562724351883, -0.019902970641851425, -0.02935817837715149, 0.07530172914266586, 0.055119868367910385, 0.014733907766640186, 0.0091314185410738, -0.004114939831197262, -0.05943644791841507, -0.06976210325956345, -0.014755187556147575, -0.03449923172593117, -0.041803281754255295, -0.02157731167972088, -0.03367717191576958, -0.02448076754808426, -0.03530386462807655, 0.001809491659514606, -0.014208249747753143, 0.009547166526317596, 0.03314240276813507, 0.012508263811469078, 0.031490590423345566, 0.022359618917107582, -0.0490146279335022, -0.051215093582868576, 0.05622641369700432, 0.009417900815606117, -0.010316017083823681, -0.08011484146118164, -0.035576898604631424, 0.032222818583250046, 0.019637376070022583, 0.03342978656291962, 0.0030553066171705723, 0.07547557353973389, 0.0062000444158911705, 0.0024838941171765327, 0.02596639096736908, -0.021025002002716064, -0.01282515749335289, 0.005614686291664839, 0.03398212045431137, -0.021731894463300705, -0.0703672245144844, -0.014840709045529366, -0.0031048499513417482, 0.052755411714315414, -0.03480767086148262, -0.04007873684167862, -0.009196799248456955, 0.031300097703933716, 0.03273556008934975, -0.013917315751314163, -0.028428398072719574, -0.019585542380809784, -0.0611693374812603, -0.024875037372112274, 0.02948998101055622, 0.011243761517107487, 0.010699214413762093, 0.046384699642658234, 0.025273920968174934, -0.02329893782734871, 0.03261112421751022, 0.03393515199422836, 0.07905411720275879, 0.024233713746070862, -0.049649257212877274, 0.01163395680487156, -0.03463495150208473, 0.038263022899627686, 0.005132806487381458, -0.013021296821534634, -0.04558069258928299, -0.09086759388446808, -0.02808419056236744, -0.0007523398962803185, 0.00425123143941164, -0.009541087783873081, 0.05294395238161087, -0.00035467150155454874, -0.01473292801529169, -0.013002868741750717, 0.0023744928184896708, 0.0500541627407074, -0.05843612551689148, 0.03916044160723686, 0.0044493237510323524, 0.012952842749655247, -0.05949724093079567, 0.00308499438688159, -0.019510861486196518, -0.0038899767678231, -0.008734377101063728, 0.0628628358244896, -0.00434747152030468, 0.0631837546825409, 0.072377048432827, 0.01282187644392252, -0.03613719344139099, 0.017770234495401382, 0.060892220586538315, -0.014526468701660633, -0.047768205404281616, 0.023069795221090317, 0.005692525766789913, -0.015601522289216518, -0.01314542442560196, -0.017227595672011375, 0.041073523461818695, 0.04422193020582199, -0.014089508913457394, -0.0061505683697760105, 0.017346374690532684, -0.02139105461537838, -0.03238377720117569, -0.05589412525296211, -0.010383691638708115, -0.0047890846617519855, -0.043382007628679276, -0.0007612940389662981, 0.047234632074832916, 0.023432886227965355, 0.06462412327528, 0.06575251370668411, -0.03345396742224693, -0.04716076701879501, 0.02552710846066475, 0.030959075316786766, -0.02744770236313343, -0.07775333523750305, -0.00850335881114006, 0.026135509833693504, 0.024070631712675095, -0.002444193232804537, -0.052346136420965195, 0.006072111893445253, 0.07094646245241165, -0.04372992366552353, 0.0475100614130497, 0.00187578028999269, 0.031426046043634415, 0.05235247686505318, -0.0064759571105241776, 0.03247801214456558, 0.00301178521476686, 0.01265155989676714, 0.00124169432092458, 0.02674064226448536, -0.02961224876344204, -0.014965269714593887, -0.06941711157560349, 0.03193986043334007, 0.01612134836614132, 0.032282277941703796, 0.02705160342156887, -0.025845184922218323, -0.0466572605073452, 0.03212172910571098, 0.05070933699607849, -0.04639117792248726, 0.011757366359233856, 0.027249101549386978, 0.037299107760190964, -0.03498388081789017, -0.021257733926177025, -0.030907467007637024, 0.00988934189081192, 0.0507114976644516, -0.020357463508844376, -0.037878476083278656, -0.02113199606537819, 0.03557352349162102, 0.014111879281699657, -0.026564892381429672, -0.0713718980550766, 0.04406509920954704, -0.026401950046420097, -0.0013559528160840273, 0.050087884068489075, 0.04075289145112038, 0.012317252345383167, 0.05208984389901161, 0.02094821073114872, 0.03873816505074501, -0.03239327669143677, 0.0512210950255394, -0.04466284066438675, -0.03177642077207565, 0.0018134979763999581, -0.030101928859949112, -0.04897640645503998, -0.0262907724827528, -0.04031801223754883, -0.04949619621038437, -0.03534586727619171, 0.025626424700021744, -0.003582501318305731, 0.0036529209464788437, -0.021086104214191437, 0.034640826284885406, -0.017237549647688866, -0.021954696625471115, -0.011891760863363743, -0.031096244230866432, -0.07712271064519882, -0.04766376316547394, 0.02229890786111355, 0.019289499148726463, 0.03941750526428223, 0.02672537788748741, -0.0017362013459205627, 0.033531926572322845, 0.017906179651618004, -0.020042784512043, 0.02977760322391987, -0.01379583589732647, -0.0253354050219059, -0.041734952479600906, 0.0010097294580191374, 0.015639973804354668, 0.04220829904079437, -0.033334311097860336, 0.05012492090463638, 0.029216425493359566, -0.007714776787906885, 0.012059232220053673, 0.008043283596634865, 0.012765188701450825, -0.08247160911560059, -0.0518367737531662, -0.007543853484094143, -0.03414648771286011, 0.03315817937254906, -0.03142911195755005, -0.005968383047729731, 0.009386349469423294, 0.014781764708459377, 0.034675437957048416, -0.00649597030133009, -0.031133772805333138, 0.028083739802241325, -0.018407713621854782, 0.004080875776708126, -0.06351961195468903, 0.03337522968649864, -0.04404205456376076, 0.0024708944838494062, -0.019328603520989418, 0.007633018773049116, -0.0430123545229435, 0.04518209770321846, -0.016503581777215004, -0.013501382432878017, -0.0018316976493224502, 0.04577476531267166, -0.02389473281800747, 0.031919680535793304, -0.01355909276753664, 0.014422161504626274, -0.036081474274396896, 0.06555968523025513, -0.026621095836162567, 0.00886148028075695, -0.030776720494031906, 0.012264255434274673, -0.03093750774860382, -0.011696361936628819, -0.014599456451833248, -0.040980566293001175, 0.034677814692258835, 0.06773540377616882, 0.038987476378679276, 0.01838192529976368, -0.02186981961131096, -0.009379028342664242, 0.0034683546982705593, -0.05421406403183937, -0.027775919064879417, -0.0034816705156117678, 0.007928639650344849, -0.01945897936820984, 0.04254913702607155, 0.04872383177280426, -0.044485073536634445, -0.050515592098236084, 0.0424933098256588, 0.005627510603517294, 0.00162825349252671, -0.0011603289749473333, 0.03764550760388374, 0.03297032043337822, 0.04415730759501457, -0.05529889836907387, 0.015412709675729275, -0.016238754615187645, -0.032238513231277466, 0.05312854051589966, -0.013078136369585991, 0.019661489874124527, 0.014265237376093864, -0.014034646563231945, -0.012486702762544155, 0.06870677322149277, 0.03755177929997444, 0.027249591425061226, -0.015083104372024536, -0.029671574011445045, 0.032188888639211655, -0.012676423415541649, -0.02396729588508606, 0.015154645778238773, 0.01764577254652977, -0.04086707904934883, 0.05566258355975151, -0.019945412874221802, 0.010883864015340805, 0.061535101383924484, 0.026286175474524498, -0.027339152991771698, 0.060812562704086304, -0.01796932891011238, 0.014469553716480732, 0.06461755186319351, -0.07057453691959381, -0.0014818999916315079, -0.040766797959804535, 0.07377628982067108, -0.05113775655627251, 0.03481993079185486, 0.03598032519221306, 0.014706567861139774, 0.028882239013910294, -0.016812456771731377, -0.04724550247192383, 0.0030962664168328047, -0.055751651525497437, 0.0805494636297226, 0.018464649096131325, -0.06659691780805588, 0.060520950704813004, 0.0020836794283241034, -0.043725740164518356, 0.05052421614527702, 0.030637409538030624, 0.03352683410048485, 0.028737518936395645, 0.04260354861617088, -0.06037796288728714, 0.00618390180170536, -0.034138940274715424, 0.03722216188907623, -0.05998476967215538, -0.01413670089095831, 0.05447733774781227, -0.04452965408563614, -0.04218479245901108, 0.05398820713162422, -0.0002671325346454978, -0.02131359651684761, 0.03816332295536995, -0.046972643584012985, -0.042318448424339294, 0.04003391042351723, 0.039577558636665344, -0.04545297101140022, 0.00316506321541965, -0.04596712067723274, 0.017822308465838432, 0.020100576803088188, 0.014012749306857586, -0.021573178470134735, 0.005460998509079218, 0.025998029857873917, -0.06526573747396469, -0.03700284659862518, 0.024862756952643394, -0.008420493453741074, -0.008095894008874893, 0.018316062167286873, 0.012442652136087418, 0.01958034746348858, 0.026131514459848404, 0.0008917548111639917, 0.047901809215545654, -0.04112372174859047, -0.0138876186683774, 0.006125062704086304, -0.00798451155424118, 0.03072463907301426, -0.0037232229951769114, 0.05621498078107834, 0.027400996536016464, 0.009879106655716896, 0.0042144544422626495, -0.019728418439626694, -0.03575099632143974, 0.03463687002658844, -0.03302541747689247, 0.01695087179541588, -0.00021921144798398018, -0.050899289548397064, -0.04138532653450966, -0.02454754337668419, -0.03671865165233612, 0.0208211001008749, -0.06761152297258377, 0.0003681810630951077, 0.03961185738444328, -0.016845934092998505, -0.05729168653488159, -0.10491248965263367, -0.027964217588305473, -0.03696564957499504, 0.027426671236753464, 0.03536168113350868, -0.05652327835559845, 0.027800265699625015, -0.046077191829681396, -0.0737333744764328, 0.04003586247563362, 0.0019936710596084595, -0.036897577345371246, 0.051744747906923294, 0.03760954365134239, -0.04201884940266609, -0.0016148355789482594, 0.04606075584888458, -0.04936918616294861, 0.031908754259347916, 0.0512351356446743, 0.02728325128555298, 0.03638581931591034, -0.0020306447986513376, -0.030563414096832275, -0.010161257348954678, -0.07186304032802582, -0.044739726930856705, -0.04581644386053085, 0.012850290164351463, 0.06001659855246544 ]
DeadBeast/marathi-roberta-base
[]
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: fa license: apache-2.0 tags: - farsi - persian --- # GPT2-Persian bolbolzaban/gpt2-persian is gpt2 language model that is trained with hyper parameters similar to standard gpt2-medium with following differences: 1. The context size is reduced from 1024 to 256 sub words in order to make the training affordable 2. Instead of BPE, google sentence piece tokenizor is used for tokenization. 3. The training dataset only include Persian text. All non-persian characters are replaced with especial tokens (e.g [LAT], [URL], [NUM]) Please refer to this [blog post](https://medium.com/@khashei/a-not-so-dangerous-ai-in-the-persian-language-39172a641c84) for further detail. Also try the model [here](https://huggingface.co/bolbolzaban/gpt2-persian?text=%D8%AF%D8%B1+%DB%8C%DA%A9+%D8%A7%D8%AA%D9%81%D8%A7%D9%82+%D8%B4%DA%AF%D9%81%D8%AA+%D8%A7%D9%86%DA%AF%DB%8C%D8%B2%D8%8C+%D9%BE%DA%98%D9%88%D9%87%D8%B4%DA%AF%D8%B1%D8%A7%D9%86) or on [Bolbolzaban.com](http://www.bolbolzaban.com/text). ## How to use You can use this model directly with a pipeline for text generation: ```python from transformers import pipeline, AutoTokenizer, GPT2LMHeadModel tokenizer = AutoTokenizer.from_pretrained('bolbolzaban/gpt2-persian') model = GPT2LMHeadModel.from_pretrained('bolbolzaban/gpt2-persian') generator = pipeline('text-generation', model, tokenizer=tokenizer, config={'max_length':256}) sample = generator('در یک اتفاق شگفت انگیز، پژوهشگران') ``` If you are using Tensorflow import TFGPT2LMHeadModel instead of GPT2LMHeadModel. ## Fine-tuning Find a basic fine-tuning example on this [Github Repo](https://github.com/khashei/bolbolzaban-gpt2-persian). ## Special Tokens gpt-persian is trained for the purpose of research on Persian poetry. Because of that all english words and numbers are replaced with special tokens and only standard Persian alphabet is used as part of input text. Here is one example: Original text: اگر آیفون یا آیپد شما دارای سیستم عامل iOS 14.3 یا iPadOS 14.3 یا نسخه‌های جدیدتر باشد Text used in training: اگر آیفون یا آیپد شما دارای سیستم عامل [LAT] [NUM] یا [LAT] [NUM] یا نسخه‌های جدیدتر باشد Please consider normalizing your input text using [Hazm](https://github.com/sobhe/hazm) or similar libraries and ensure only Persian characters are provided as input. If you want to use classical Persian poetry as input use [BOM] (begining of mesra) at the beginning of each verse (مصرع) followed by [EOS] (end of statement) at the end of each couplet (بیت). See following links for example: [[BOM] توانا بود](https://huggingface.co/bolbolzaban/gpt2-persian?text=%5BBOM%5D+%D8%AA%D9%88%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF) [[BOM] توانا بود هر که دانا بود [BOM]](https://huggingface.co/bolbolzaban/gpt2-persian?text=%5BBOM%5D+%D8%AA%D9%88%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF+%D9%87%D8%B1+%DA%A9%D9%87+%D8%AF%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF+%5BBOM%5D) [[BOM] توانا بود هر که دانا بود [BOM] ز دانش دل پیر](https://huggingface.co/bolbolzaban/gpt2-persian?text=%5BBOM%5D+%D8%AA%D9%88%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF+%D9%87%D8%B1+%DA%A9%D9%87+%D8%AF%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF+%5BBOM%5D+%D8%B2+%D8%AF%D8%A7%D9%86%D8%B4+%D8%AF%D9%84+%D9%BE%DB%8C%D8%B1) [[BOM] توانا بود هر که دانا بود [BOM] ز دانش دل پیربرنا بود [EOS]](https://huggingface.co/bolbolzaban/gpt2-persian?text=%5BBOM%5D+%D8%AA%D9%88%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF+%D9%87%D8%B1+%DA%A9%D9%87+%D8%AF%D8%A7%D9%86%D8%A7+%D8%A8%D9%88%D8%AF+%5BBOM%5D+%D8%B2+%D8%AF%D8%A7%D9%86%D8%B4+%D8%AF%D9%84+%D9%BE%DB%8C%D8%B1%D8%A8%D8%B1%D9%86%D8%A7+%D8%A8%D9%88%D8%AF++%5BEOS%5D) If you like to know about structure of classical Persian poetry refer to these [blog posts](https://medium.com/@khashei). ## Acknowledgment This project is supported by Cloud TPUs from Google’s TensorFlow Research Cloud (TFRC). ## Citation and Reference Please reference "bolbolzaban.com" website if you are using gpt2-persian in your research or commertial application. ## Contacts Please reachout on [Linkedin](https://www.linkedin.com/in/khashei/) or [Telegram](https://t.me/khasheia) if you have any question or need any help to use the model. Follow [Bolbolzaban](http://bolbolzaban.com/about) on [Twitter](https://twitter.com/bolbol_zaban), [Telegram](https://t.me/bolbol_zaban) or [Instagram](https://www.instagram.com/bolbolzaban/)
[ 0.008300927467644215, -0.04748300090432167, 0.0034935851581394672, 0.06071002408862114, 0.028111211955547333, 0.028546929359436035, -0.003673974657431245, 0.0000575894009671174, -0.04124988988041878, 0.04576269909739494, 0.018253374844789505, -0.015776731073856354, 0.006235329434275627, 0.02332002855837345, -0.023815520107746124, -0.022143937647342682, -0.014870712533593178, -0.010800258256494999, -0.04714132845401764, -0.016154462471604347, -0.014384635724127293, 0.004054016899317503, -0.010247403755784035, 0.016921641305088997, -0.004764910321682692, 0.020853189751505852, -0.014548344537615776, 0.029905522242188454, 0.022031795233488083, -0.07514077425003052, 0.0019804956391453743, -0.02256409265100956, -0.027914943173527718, -0.039908528327941895, -0.049530789256095886, -0.0150914853438735, -0.002936387900263071, -0.007475221063941717, 0.02090902253985405, 0.06481809169054031, -0.0031934939324855804, 0.0053386325016617775, 0.0010021849302574992, -0.04813530296087265, 0.02244887687265873, -0.0029065152630209923, -0.05169248580932617, 0.020299406722187996, 0.03686381131410599, -0.02489428035914898, -0.01678924262523651, -0.0653381198644638, -0.043929677456617355, 0.005819073878228664, -0.010538550093770027, -0.034254662692546844, -0.04903243109583855, -0.016241613775491714, 0.07323582470417023, -0.06785407662391663, -0.012511376291513443, 0.005145418923348188, -0.06662102043628693, 0.037992946803569794, 0.03780800476670265, -0.018541844561696053, 0.01441396214067936, -0.0556018203496933, 0.02145262435078621, -0.02423865720629692, 0.047230225056409836, -0.04048527404665947, 0.022049488499760628, -0.10040812194347382, 0.0001309677609242499, -0.03806035593152046, 0.027298234403133392, 0.04079772159457207, -0.02229565940797329, 0.09078343212604523, 0.050454262644052505, 0.0014512643683701754, 0.02906424179673195, 0.011859365738928318, -0.026034420356154442, 0.03243517503142357, -0.04195089638233185, -0.02698480896651745, 0.01834813691675663, 0.06510742008686066, -0.043908100575208664, -0.052980415523052216, -0.021819250658154488, -0.026320772245526314, -0.00997566431760788, 0.015442885458469391, 0.02881670370697975, -0.022692829370498657, 0.06000392884016037, 0.02393692545592785, 0.018332108855247498, 0.034185539931058884, -0.01531630102545023, 0.055706948041915894, 0.009764707647264004, -0.016194161027669907, -0.021833928301930428, -0.043217480182647705, -0.042773451656103134, 0.01481257751584053, 0.024091869592666626, -0.03764945641160011, -0.059879593551158905, 0.04534001648426056, 0.01877722330391407, -0.013992082327604294, 0.05136500671505928, -0.030533645302057266, -0.04355326667428017, -0.05385184288024902, 0.017902366816997528, 0.009589292109012604, -0.0018838602118194103, 0.00927935540676117, -0.05024068430066109, 0.02679697796702385, -0.03844291716814041, -0.018772950395941734, -0.0017674809787422419, 0.04497439041733742, -0.02749277651309967, 0.02564968355000019, 0.020299173891544342, -0.04762906953692436, 0.00437228474766016, 0.005386435426771641, -0.08101002871990204, 0.033009566366672516, 0.02700835093855858, 0.10505138337612152, -0.08090457320213318, -0.05081143602728844, 0.01239848043769598, -0.0019793128594756126, -0.029767589643597603, -0.00159697444178164, 0.008626854047179222, -0.05560735985636711, -0.027722693979740143, -0.015228253789246082, 0.056075967848300934, -0.04987486079335213, -0.019352974370121956, 0.0645926222205162, -0.012796067632734776, 0.030236821621656418, -0.04575908184051514, -0.016134528443217278, 0.028915055096149445, -0.003934786655008793, -0.030576463788747787, 0.011898641474545002, -0.005212714429944754, -0.019411923363804817, -0.052952926605939865, -0.040898166596889496, 0.021354155614972115, 0.09772105515003204, 0.015202883630990982, -0.010196623392403126, -0.017378175631165504, 0.014909005723893642, 0.02484864927828312, 0.008349742740392685, -0.022684121504426003, 0.02783069759607315, 0.03587275743484497, 0.00824128556996584, -0.015823619440197945, 0.08503144234418869, 0.022662092000246048, -0.02335098385810852, -0.01848394237458706, -0.02027297392487526, -0.0040420349687337875, -0.011735089123249054, 0.032759856432676315, 0.026302499696612358, -0.01704048179090023, -0.0366269126534462, 0.022760285064578056, 0.05738794058561325, -0.014339976944029331, 0.02379755862057209, -0.013301795348525047, -0.00802044477313757, -0.04174135997891426, 0.0730632022023201, -0.026107918471097946, 0.008084097877144814, -0.012113338336348534, -0.017417732626199722, -0.0003025219193659723, 0.01400079671293497, 0.04478328302502632, 0.027713842689990997, -0.029276544228196144, 0.08171454817056656, -0.01940184086561203, 0.010926415212452412, -0.04737105593085289, -0.04712953791022301, -0.016917362809181213, 0.02644144929945469, 0.027758805081248283, 0.044326961040496826, 0.01820519007742405, -0.03431341052055359, 0.01939743384718895, 0.035357650369405746, 0.06094089522957802, 0.02914334647357464, -0.030249495059251785, 0.01840033568441868, 0.0434831902384758, 0.08362846076488495, -0.0358162485063076, -0.04492497071623802, 0.04350583627820015, 0.03364276885986328, -0.025790365412831306, 0.01653248444199562, -0.01523927878588438, 0.029555585235357285, -0.03749595582485199, -0.06116955727338791, 0.028712481260299683, 0.010746266692876816, 0.03365674987435341, 0.009442806243896484, 0.01738237962126732, -0.005930635612457991, 0.02659522369503975, 0.008820817805826664, 0.0013021579943597317, -0.07199685275554657, 0.005798184312880039, 0.03385934233665466, 0.05534171313047409, -0.039259687066078186, 0.03550060838460922, -0.005374235566705465, -0.006229982245713472, 0.034147173166275024, -0.03538207337260246, 0.003337592352181673, 0.029296301305294037, 0.03261582925915718, -0.04177363961935043, -0.003705804469063878, -0.011611271649599075, 0.017358025535941124, 0.05285521224141121, -0.004000435117632151, 0.07745885848999023, -0.014755483716726303, 0.06648483872413635, 0.08231023699045181, 0.012254727073013783, 0.01871558092534542, 0.019081497564911842, 0.06642703711986542, 0.01133259478956461, -0.009106487967073917, 0.05125877633690834, -0.04294333606958389, 0.015010974369943142, -0.04992854222655296, 0.04291560873389244, 0.0005704654031433165, -0.006145382300019264, 0.054677240550518036, 0.017163297161459923, 0.004486610181629658, 0.014938988722860813, -0.012521264143288136, -0.008719045668840408, 0.03437848761677742, -0.020103715360164642, 0.0064780437387526035, -0.003187082475051284, -0.025309592485427856, 0.017096009105443954, -0.07491409778594971, -0.045728281140327454, -0.0067291767336428165, -0.02110493741929531, -0.00802500732243061, -0.08893325179815292, -0.019377009943127632, -0.0503971166908741, -0.005469175521284342, 0.02472168393433094, 0.04088408872485161, 0.013679769821465015, -0.03970732167363167, 0.006653951480984688, -0.04262429103255272, -0.013543090783059597, -0.04174225032329559, -0.06364275515079498, -0.04240364953875542, -0.05613918602466583, 0.03155113384127617, 0.041647184640169144, 0.028492512181401253, 0.007460072636604309, 0.005213536322116852, 0.011947520077228546, -0.029232323169708252, 0.0330042839050293, 0.03217865154147148, -0.023844290524721146, -0.08062662184238434, 0.030895063653588295, -0.013327737338840961, 0.00318481819704175, -0.002611227333545685, -0.028881128877401352, 0.06449181586503983, 0.08226094394922256, 0.02523459866642952, 0.022695908322930336, -0.029677748680114746, -0.06981799751520157, -0.04205988720059395, -0.032521024346351624, -0.05040303245186806, -0.025903362780809402, -0.011073221452534199, -0.04923366755247116, -0.020110556855797768, -0.045849449932575226, -0.022368067875504494, 0.015024203807115555, 0.033941417932510376, 0.035563141107559204, 0.06391450017690659, 0.03879127651453018, 0.043099671602249146, -0.03367416188120842, 0.0012190371053293347, 0.07418278604745865, -0.010767316445708275, 0.012029693461954594, -0.05955757945775986, -0.03388381749391556, 0.042744167149066925, 0.0001838577736634761, -0.005241355858743191, 0.006435416638851166, 0.06313890963792801, 0.01883953996002674, 0.005555582698434591, 0.006893085781484842, -0.031844187527894974, -0.051337964832782745, -0.021075790748000145, 0.000444797653472051, -0.0188978873193264, -0.04639213904738426, -0.02007705718278885, -0.024530718103051186, 0.05965292081236839, -0.05921453237533569, -0.07539108395576477, -0.01969880796968937, 0.020243218168616295, 0.0066371182911098, -0.010297385975718498, -0.0347391776740551, 0.01930311508476734, -0.0448903925716877, -0.038506269454956055, 0.007170819211751223, -0.025882592424750328, 0.000966562598478049, 0.0652141273021698, 0.028821222484111786, -0.004014717414975166, 0.046512335538864136, 0.029404766857624054, 0.0760565847158432, 0.02128705009818077, -0.035788096487522125, 0.03303946554660797, -0.0050798882730305195, 0.04976356402039528, 0.017960214987397194, -0.027921956032514572, -0.04895591363310814, -0.0827237144112587, -0.007320906966924667, 0.01573912240564823, -0.03894507512450218, -0.02101392112672329, 0.04964344576001167, -0.011447911150753498, -0.013454752042889595, 0.002253251150250435, 0.024044200778007507, 0.041453201323747635, -0.058630235493183136, 0.05479353666305542, -0.006474731024354696, 0.039112191647291183, -0.038480423390865326, 0.009131673723459244, -0.01829894632101059, -0.03304783254861832, -0.009185729548335075, 0.05634219944477081, 0.04596897214651108, 0.02003929391503334, 0.06513899564743042, 0.04117811843752861, -0.006382120307534933, 0.05515776574611664, 0.05104338005185127, -0.006604168564081192, -0.05001135542988777, -0.019386516883969307, -0.003271158318966627, -0.024919645860791206, -0.002155624097213149, -0.017305796965956688, 0.022910334169864655, 0.0369713231921196, 0.006952393334358931, -0.016770092770457268, -0.025412002578377724, -0.02561725117266178, -0.03544388711452484, -0.06489358842372894, -0.002563170623034239, 0.02336868830025196, 0.0010631594341248274, 0.01923227868974209, 0.029591288417577744, 0.03087984025478363, 0.08070503175258636, 0.056883081793785095, 0.0015590646071359515, -0.04437367618083954, 0.0018109362572431564, 0.015695709735155106, -0.039969511330127716, -0.060204919427633286, -0.07017659395933151, 0.035866569727659225, 0.032574404031038284, -0.01739555411040783, -0.0835319235920906, 0.022856347262859344, 0.03710201755166054, -0.019550923258066177, 0.058312736451625824, -0.021398408338427544, 0.025303764268755913, 0.06343867629766464, -0.010638962499797344, 0.038009535521268845, -0.03895670920610428, 0.007311203051358461, -0.006411740556359291, 0.05019523203372955, -0.01946062035858631, -0.001977639738470316, -0.06517459452152252, 0.025418613106012344, 0.010895105078816414, 0.038751598447561264, 0.047581348568201065, -0.00977967120707035, -0.05032368004322052, 0.009346751496195793, 0.0191151425242424, -0.040749311447143555, 0.0011824234388768673, 0.01387143786996603, 0.033174991607666016, -0.042817696928977966, -0.037932731211185455, -0.031826574355363846, 0.007832885719835758, 0.04299609735608101, -0.016941385343670845, -0.015834957361221313, -0.05550381913781166, 0.002379564568400383, -0.03437941148877144, 0.0018760968232527375, -0.06502436846494675, 0.03587993234395981, -0.012009378522634506, -0.00809395220130682, 0.04369650408625603, 0.026610981673002243, 0.04308251291513443, 0.03422727435827255, 0.01387050561606884, 0.044446319341659546, -0.04412877559661865, 0.04064323380589485, -0.021750112995505333, -0.01727374456822872, -0.03951413929462433, -0.07547079771757126, 0.0014981294516474009, -0.024783743545413017, -0.03522338345646858, -0.035978369414806366, -0.044533081352710724, 0.014752157032489777, -0.013959476724267006, 0.004535852465778589, -0.005617090035229921, 0.05552341043949127, -0.024522894993424416, -0.035819537937641144, -0.01702835038304329, -0.029893046244978905, -0.08993379771709442, -0.03881758078932762, 0.021123377606272697, -0.0007097203051671386, 0.019852405413985252, -0.00695238821208477, 0.02542634680867195, 0.022564273327589035, 0.003596344729885459, -0.016240734606981277, 0.038755033165216446, 0.005553881637752056, -0.018887074664235115, -0.04906078055500984, 0.029651416465640068, 0.014670755714178085, 0.02851206623017788, -0.006670973263680935, 0.011964037083089352, 0.023193633183836937, -0.033364102244377136, -0.002894217614084482, 0.019388165324926376, 0.027900373563170433, -0.065098837018013, -0.04518609866499901, -0.005016139708459377, -0.04387906193733215, 0.02300908975303173, 0.008267863653600216, -0.00833448488265276, 0.017551880329847336, 0.0318555012345314, 0.03590364009141922, 0.028380965813994408, -0.02646261267364025, 0.021211469545960426, -0.005611155182123184, 0.021749060600996017, -0.04925013706088066, 0.03373472020030022, -0.0352681428194046, 0.011201363056898117, -0.02332611009478569, -0.0034276978112757206, -0.027664367109537125, 0.01631442829966545, 0.0016724789747968316, 0.01139031257480383, -0.016085296869277954, 0.016694635152816772, -0.011911125853657722, 0.03378024324774742, 0.003681829897686839, 0.030033180490136147, -0.06200416386127472, 0.029755400493741035, -0.05164645239710808, -0.008752917870879173, -0.00908928643912077, 0.012064015492796898, -0.025155026465654373, -0.0050996760837733746, -0.015549653209745884, -0.04155786335468292, 0.037525832653045654, 0.016561010852456093, 0.015077503398060799, 0.03979512304067612, -0.0162627212703228, 0.022055741399526596, 0.0036759169306606054, -0.042549535632133484, -0.02813854068517685, -0.02617877535521984, -0.003196422476321459, -0.014208395034074783, 0.06397480517625809, 0.0385822132229805, -0.049687422811985016, -0.047982629388570786, 0.05153985321521759, 0.030544735491275787, 0.0017652324168011546, 0.0009547960944473743, 0.04178224876523018, 0.059491634368896484, 0.04500072821974754, -0.020756233483552933, -0.006039030384272337, -0.02443816512823105, -0.026127809658646584, 0.04264665022492409, 0.015930015593767166, 0.007754310499876738, 0.03012891113758087, -0.05723264813423157, -0.019569993019104004, 0.05305479094386101, 0.05466904863715172, 0.013077914714813232, -0.015162027440965176, -0.04128412529826164, 0.02264498546719551, -0.0024093061219900846, -0.04355036839842796, -0.0178193598985672, 0.004747405648231506, -0.013903657905757427, 0.0652773454785347, -0.04106110706925392, 0.015447315759956837, 0.04907345399260521, 0.019984427839517593, -0.017346005886793137, 0.060899268835783005, -0.03812495246529579, 0.006888477131724358, 0.01387862116098404, -0.06278369575738907, -0.0037362880539149046, -0.0270548053085804, 0.08916505426168442, -0.060165174305438995, 0.03474873676896095, 0.04835345968604088, -0.00016579535440541804, 0.009936155751347542, -0.05738535523414612, -0.05902368947863579, 0.028314068913459778, -0.058024924248456955, 0.08744976669549942, 0.0032085832208395004, -0.05469943955540657, 0.053752169013023376, 0.026836302131414413, -0.07515869289636612, 0.06042807549238205, 0.07163301855325699, 0.035074491053819656, 0.02869766391813755, 0.0306111928075552, -0.055847592651844025, 0.018729625269770622, -0.023726746439933777, 0.03423531726002693, -0.07881768047809601, 0.0005359238130040467, 0.022310273721814156, -0.03380481153726578, -0.012197821401059628, 0.038969118148088455, 0.00966925173997879, -0.02423720993101597, 0.005551906768232584, -0.04170476645231247, -0.051478758454322815, 0.008609503507614136, 0.018919484689831734, -0.021070316433906555, 0.004666064865887165, -0.03511035442352295, 0.021034283563494682, -0.010130339302122593, 0.009887190535664558, -0.022160831838846207, 0.01044540386646986, 0.042204223573207855, -0.062218260020017624, -0.024136187508702278, 0.048488799482584, 0.007133870385587215, -0.003924477845430374, 0.024470435455441475, 0.000014645621376985218, 0.020726187154650688, 0.028355522081255913, -0.002061891835182905, 0.01862441748380661, -0.046605780720710754, -0.01989399828016758, 0.01493107620626688, 0.011983726173639297, 0.026261646300554276, -0.006905259098857641, 0.0165189690887928, 0.053959839046001434, 0.031385648995637894, 0.03149833902716637, -0.04253476858139038, -0.02027389220893383, 0.01817016303539276, -0.085665263235569, 0.0124343391507864, 0.005358187481760979, -0.04864330589771271, -0.02899920381605625, -0.02807638794183731, -0.0064137461595237255, 0.036078184843063354, -0.020474713295698166, -0.0018294218461960554, 0.022625481709837914, 0.007158148568123579, -0.041165873408317566, -0.08671905100345612, -0.025565894320607185, -0.051149580627679825, 0.045128632336854935, 0.03772090747952461, -0.048660825937986374, 0.05443806201219559, -0.053680308163166046, -0.0717918649315834, 0.03916977345943451, 0.02352936565876007, -0.04834171384572983, 0.05616261810064316, 0.04340442642569542, -0.03352074697613716, 0.004898907616734505, 0.027517041191458702, -0.04524093493819237, 0.009451066143810749, 0.029360752552747726, -0.0010736332042142749, 0.028364820405840874, 0.057597506791353226, -0.024853354319930077, -0.021534308791160583, -0.0455806739628315, -0.02082759328186512, -0.04499544948339462, 0.00475898664444685, 0.07526542246341705 ]
DeadBeast/mbert-base-cased-finetuned-bengali-fakenews
[ "pytorch", "bert", "text-classification", "bengali", "dataset:BanFakeNews", "transformers", "license:apache-2.0" ]
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 } } }
37
null
--- tags: - conversational --- # Personal DialoGPT Model
[ -0.04038895666599274, 0.020808806642889977, 0.01483664195984602, 0.020423978567123413, 0.008151528425514698, 0.012629185803234577, 0.0007900876807980239, 0.028249075636267662, -0.011988434009253979, 0.016457494348287582, 0.02734471671283245, -0.04324967786669731, 0.015800876542925835, 0.031784575432538986, -0.04260634630918503, -0.022361906245350838, -0.03749389201402664, 0.0005008548614569008, -0.027176963165402412, -0.025120845064520836, 0.029007447883486748, 0.0015845962334424257, -0.02784481830894947, 0.020912420004606247, -0.00043421724694781005, 0.03306424617767334, -0.0034390841610729694, 0.0014457064680755138, 0.024892332032322884, -0.023618537932634354, 0.010040953755378723, -0.049999553710222244, -0.022366797551512718, -0.017792772501707077, -0.03457573801279068, -0.044562265276908875, 0.020957788452506065, -0.022247962653636932, -0.014011343009769917, 0.03185345232486725, -0.021013464778661728, -0.015476659871637821, -0.006620475091040134, -0.03526204451918602, 0.06662721186876297, -0.009559430181980133, -0.04183908924460411, -0.017629969865083694, 0.019037893041968346, -0.025001317262649536, -0.03339290991425514, -0.06698774546384811, -0.05397719144821167, -0.027145452797412872, 0.007415641564875841, -0.060266073793172836, -0.06723953783512115, -0.018861833959817886, 0.10707081854343414, -0.012757258489727974, -0.007977021858096123, 0.012014813721179962, -0.07790900021791458, 0.004903733730316162, 0.019852587953209877, -0.0728829875588417, 0.013086867518723011, -0.05066537484526634, 0.010676849633455276, -0.03733028098940849, 0.05844259634613991, -0.0499875582754612, 0.013179888017475605, -0.07607007771730423, -0.01502069178968668, 0.0019347192719578743, 0.04672123119235039, 0.05048507824540138, -0.03349323943257332, 0.0588800348341465, 0.04474690929055214, 0.010446576401591301, 0.05998607352375984, 0.0034647558350116014, -0.024206973612308502, 0.04455730319023132, -0.05207118019461632, 0.00044196119415573776, 0.002074525225907564, 0.024966994300484657, -0.030451379716396332, -0.05795900523662567, -0.028158223256468773, -0.015400134958326817, 0.002352643758058548, 0.04278978705406189, 0.019489187747240067, -0.04472997039556503, 0.02324710413813591, 0.04027999937534332, 0.024677809327840805, 0.047126054763793945, -0.0357099324464798, 0.0290540661662817, -0.008077526465058327, 0.034336697310209274, 0.02174576371908188, -0.028455255553126335, -0.04686717316508293, 0.022777017205953598, 0.0070637804456055164, -0.047114498913288116, -0.03099246695637703, 0.042401883751153946, 0.006118578836321831, -0.004620554856956005, 0.05602148920297623, -0.026515180245041847, -0.016995660960674286, -0.06029529869556427, 0.0486295223236084, -0.008893703110516071, -0.010919047519564629, -0.0017037475481629372, -0.050920743495225906, -0.004013850819319487, -0.04636743664741516, -0.01268890779465437, -0.005047535989433527, -0.0022609408479183912, 0.017526714131236076, 0.02934746816754341, -0.028883593156933784, -0.06098814681172371, 0.00481925206258893, 0.033923640847206116, -0.0724814310669899, -0.003280185628682375, 0.036705825477838516, 0.09216438233852386, -0.07735473662614822, -0.03734773397445679, -0.018150566145777702, 0.015113039873540401, -0.023132191970944405, -0.007161514367908239, -0.003936903551220894, 0.0016516587929800153, -0.04060082510113716, -0.015450225211679935, 0.016072630882263184, -0.05296902358531952, -0.005016972776502371, 0.05619101971387863, 0.01999013125896454, 0.03584757819771767, -0.023303963243961334, 0.00022019987227395177, -0.00010851478873519227, -0.038882117718458176, -0.061730749905109406, 0.03915725275874138, -0.028358478099107742, -0.0466192364692688, -0.0429130420088768, -0.03180772066116333, 0.020928451791405678, 0.06768705695867538, 0.007529467344284058, -0.016079770401120186, -0.018790228292346, 0.03267805278301239, 0.06430293619632721, 0.045778293162584305, -0.01595298945903778, 0.012699589133262634, 0.05035776644945145, 0.017917245626449585, -0.03499872609972954, 0.0804830864071846, -0.0013276472454890609, -0.03118482045829296, -0.05560756102204323, -0.022273117676377296, 0.03109695576131344, -0.02396402880549431, 0.01800314523279667, 0.04342997446656227, -0.03144410252571106, -0.033532142639160156, 0.020019177347421646, 0.04042451083660126, -0.027161074802279472, -0.0023206383921205997, -0.030138492584228516, -0.03302941471338272, -0.030326824635267258, 0.016769180074334145, -0.03329361230134964, -0.011269769631326199, -0.03378501906991005, -0.006541858427226543, 0.03138892352581024, 0.002423468278720975, 0.016031576320528984, 0.0466206818819046, -0.014052648097276688, 0.04829607531428337, -0.044653862714767456, 0.015821801498532295, -0.04872812703251839, -0.025382259860634804, -0.034508977085351944, 0.03975289687514305, 0.015079349279403687, 0.0494619645178318, -0.04261070117354393, -0.05368470400571823, 0.02809249609708786, 0.06095268949866295, 0.0458063967525959, 0.023224489763379097, -0.02647245302796364, -0.0002442755503579974, 0.03698178753256798, 0.03590059280395508, -0.043260443955659866, 0.009888650849461555, 0.0060152518562972546, 0.023927699774503708, -0.02729264833033085, -0.018204284831881523, -0.04239702597260475, 0.006846543867141008, -0.05007263273000717, -0.07085509598255157, 0.04017376899719238, 0.03403617441654205, -0.008360523730516434, 0.03989298641681671, -0.011930086649954319, -0.010844877921044827, 0.041206881403923035, 0.0008088184404186904, -0.00026873324532061815, -0.08373401314020157, 0.0030008507892489433, 0.03290417045354843, 0.09142336994409561, -0.05536992847919464, 0.01269211620092392, 0.01499128621071577, 0.01934647746384144, 0.029168782755732536, -0.020400963723659515, 0.04425438866019249, 0.038822241127491, 0.04763325676321983, -0.020050272345542908, 0.030816450715065002, -0.000056064407544909045, 0.031583841890096664, 0.05666571483016014, -0.006628958974033594, 0.06824976205825806, -0.009134571067988873, 0.023289639502763748, 0.05698414519429207, 0.023402338847517967, -0.018635179847478867, 0.026303241029381752, 0.06181297451257706, -0.009538643062114716, 0.029428506270051003, 0.04668587073683739, 0.00395816657692194, -0.012117384001612663, -0.045123543590307236, 0.004511010367423296, 0.0037168054841458797, -0.03190486505627632, 0.06416109204292297, -0.0001753854303387925, -0.01054760254919529, 0.006499973125755787, -0.017716631293296814, 0.002834249986335635, 0.05000874772667885, 0.002717953408136964, -0.02833014726638794, 0.01262694876641035, -0.03406607732176781, 0.027634501457214355, -0.04386099800467491, -0.0447879321873188, -0.02113431878387928, -0.06563876569271088, -0.005966151598840952, -0.09075316041707993, -0.0417722724378109, -0.05798008665442467, -0.02630876936018467, 0.050340794026851654, 0.024860477074980736, 0.031016618013381958, 0.01138591580092907, 0.004972378723323345, -0.01583501137793064, -0.055939048528671265, -0.05454811453819275, -0.033168140798807144, -0.01263791136443615, -0.04479389265179634, 0.04139183834195137, 0.037299297749996185, 0.03337358683347702, 0.007088634185492992, -0.028033465147018433, -0.042824886739254, -0.03052041493356228, 0.047686073929071426, 0.021753011271357536, -0.05063395947217941, -0.03720501810312271, 0.00527067668735981, 0.008404133841395378, 0.0006001950823701918, -0.02709897793829441, -0.044015225023031235, 0.07513844221830368, 0.03589537367224693, 0.0071501960046589375, 0.02415637858211994, -0.009597553871572018, -0.03485669195652008, -0.019108561798930168, -0.051171060651540756, -0.029387405142188072, -0.005846553947776556, -0.02319066971540451, -0.05159752815961838, -0.024327607825398445, -0.04540221020579338, -0.015844983980059624, 0.005029004067182541, 0.010747614316642284, 0.026580482721328735, 0.0189067255705595, 0.03047984652221203, 0.022999489679932594, -0.013518020510673523, -0.018656300380825996, 0.03671710938215256, -0.020864225924015045, -0.003979649860411882, -0.07412075251340866, -0.04928235337138176, 0.02737046591937542, 0.00566420191898942, -0.008592677302658558, -0.01848072186112404, 0.033038973808288574, 0.04520523175597191, 0.0001984325353987515, 0.035459697246551514, -0.06295056641101837, -0.005483395420014858, -0.048092953860759735, -0.030180681496858597, -0.04093494638800621, -0.03184356912970543, -0.009630242362618446, -0.012837443500757217, 0.03354885056614876, -0.09408604353666306, -0.03262743353843689, -0.02331005223095417, 0.009866997599601746, 0.04263890162110329, -0.0012773409252986312, -0.0607549287378788, -0.00791875459253788, -0.030122945085167885, -0.023693524301052094, -0.004927941597998142, -0.014754202216863632, 0.005211974959820509, 0.0313047394156456, 0.011761533096432686, -0.025900501757860184, 0.053313467651605606, 0.014743435196578503, 0.07589136809110641, 0.04912807047367096, -0.01591319404542446, 0.025844156742095947, -0.029277553781867027, 0.03247477859258652, -0.006283534690737724, -0.03205671161413193, -0.046268824487924576, -0.10833706706762314, -0.04345371574163437, 0.024528667330741882, -0.01353535521775484, 0.006978316232562065, 0.03896317631006241, -0.048175595700740814, -0.0055174631997942924, -0.0012155824806541204, 0.04219253733754158, 0.037505969405174255, -0.03579317033290863, 0.057270679622888565, 0.0226376261562109, 0.02275129407644272, -0.06220274418592453, 0.002236777450889349, -0.04740793630480766, -0.015023455955088139, -0.00007660222036065534, 0.05090945214033127, 0.015304557979106903, 0.06477020680904388, 0.08219309151172638, 0.03449728712439537, -0.035885006189346313, 0.05599799007177353, 0.07742112129926682, -0.03248363360762596, -0.03792690113186836, -0.0062604499980807304, -0.006782591342926025, -0.02213837020099163, -0.0007822138140909374, -0.03301125392317772, 0.034369926899671555, 0.0372745655477047, -0.009300791658461094, -0.0030660100746899843, 0.004915784113109112, -0.0452830046415329, -0.020315518602728844, -0.06453587114810944, -0.018646061420440674, 0.001834689755924046, -0.00989412609487772, 0.058875277638435364, 0.042167339473962784, 0.011049116961658001, 0.06582153588533401, 0.010400251485407352, -0.01639234647154808, -0.05626491457223892, 0.03231600299477577, 0.019512444734573364, -0.04281700402498245, -0.047327540814876556, -0.054939884692430496, 0.029037078842520714, 0.04223698005080223, -0.031798917800188065, -0.08597680181264877, 0.02010008692741394, 0.052957531064748764, -0.02252150885760784, 0.0616103820502758, -0.01143835112452507, 0.04979647323489189, 0.03040291927754879, 0.0180676206946373, 0.04568978399038315, -0.06961523741483688, 0.029299484565854073, -0.020854156464338303, 0.02265932224690914, -0.05281158536672592, -0.05150650441646576, -0.05966855213046074, 0.043697770684957504, 0.018971404060721397, 0.01516771037131548, 0.021936776116490364, -0.037538573145866394, -0.04136605188250542, 0.0033682382199913263, 0.029022961854934692, -0.01580461859703064, 0.017301686108112335, 0.03300401195883751, 0.05930158868432045, -0.05571991205215454, 0.016366712749004364, 0.017108507454395294, 0.020525425672531128, 0.012898542918264866, -0.015451065264642239, -0.03504687175154686, -0.012240920215845108, 0.02501811645925045, -0.04376813769340515, -0.02744317427277565, -0.07972140610218048, 0.011434066109359264, -0.03208461031317711, -0.043172985315322876, 0.06584250926971436, 0.06439279019832611, 0.06454678624868393, 0.061672668904066086, -0.00818230863660574, 0.05085035786032677, -0.029720071703195572, 0.016339948400855064, -0.028158748522400856, -0.034308526664972305, -0.006790498737245798, -0.07869575172662735, -0.03331192210316658, -0.05062801018357277, -0.04169399291276932, -0.03212924301624298, 0.011430695652961731, 0.012573515065014362, -0.007858093827962875, -0.014405781403183937, 0.009109952487051487, 0.021792707964777946, -0.028540385887026787, -0.030288826674222946, 0.00021088492940180004, -0.0176803357899189, -0.07925771176815033, -0.06589464843273163, 0.01361496839672327, -0.02407657727599144, -0.0035533455666154623, -0.006413131952285767, 0.012153852730989456, 0.05022547394037247, -0.010533654130995274, -0.023202277719974518, 0.02392498217523098, 0.035518452525138855, -0.02973249927163124, -0.024540379643440247, 0.013373592868447304, 0.020135264843702316, 0.009171067737042904, -0.02347530424594879, 0.032172348350286484, 0.005033827852457762, -0.06290945410728455, -0.017781279981136322, 0.02938627079129219, 0.02215694636106491, -0.07515308260917664, -0.011179080232977867, -0.043185826390981674, -0.028531476855278015, 0.011403118260204792, -0.05018285661935806, -0.02018001675605774, -0.012818736024200916, 0.0428222119808197, 0.023646971210837364, 0.006337972357869148, -0.028433190658688545, 0.0042480663396418095, -0.013137122616171837, 0.004280058667063713, -0.06464217603206635, 0.022468606010079384, -0.03252248838543892, 0.013695781119167805, -0.009842503815889359, 0.015649335458874702, -0.03646804764866829, 0.04275713860988617, -0.017738770693540573, 0.003639553440734744, -0.0039332895539700985, -0.017729857936501503, 0.006884156260639429, 0.053457632660865784, 0.02117956429719925, -0.0031678008381277323, -0.0349559523165226, 0.07184920459985733, -0.04892777279019356, 0.0036772359162569046, -0.0035569234751164913, -0.03206038847565651, -0.027813773602247238, -0.0017276615835726261, 0.009145734831690788, -0.06089457869529724, 0.030298838391900063, 0.026860270649194717, 0.020228777080774307, 0.045184146612882614, -0.005919664166867733, 0.014871428720653057, 0.02283988520503044, -0.054611630737781525, -0.032264336943626404, -0.0029973273631185293, 0.0007124022813513875, 0.023945048451423645, 0.0625995323061943, 0.023044392466545105, -0.05686279386281967, -0.022709796205163002, 0.030511176213622093, 0.016903722658753395, 0.02180035598576069, 0.010719764977693558, 0.0430389828979969, 0.05735750123858452, 0.06022654473781586, -0.0007265002350322902, -0.011118007823824883, 0.022119689732789993, -0.017915286123752594, -0.022171830758452415, -0.002513952786102891, 0.002834280952811241, 0.006171121262013912, -0.032078370451927185, -0.032471295446157455, 0.06192529946565628, -0.011353676207363605, 0.001056011882610619, -0.015777524560689926, -0.03716040030121803, 0.06384622305631638, -0.004165966995060444, -0.04309200495481491, -0.016486242413520813, 0.04526190832257271, -0.018177635967731476, 0.03523992374539375, -0.026867322623729706, 0.011186277493834496, 0.06378637254238129, 0.026991870254278183, 0.009774615056812763, 0.009177670814096928, -0.011247535236179829, -0.010655477643013, 0.009689324535429478, -0.045357972383499146, -0.009152630344033241, -0.029026314616203308, 0.07745732367038727, -0.045389458537101746, 0.052906185388565063, 0.03032209351658821, 0.04899188503623009, 0.017271459102630615, -0.054107118397951126, -0.041140470653772354, -0.019558904692530632, -0.03585464879870415, 0.06189428269863129, 0.0024033384397625923, -0.036750346422195435, 0.061742763966321945, 0.03525064140558243, -0.08237644284963608, 0.03420710191130638, 0.036461349576711655, 0.04980330541729927, 0.024565795436501503, 0.04603054001927376, -0.04471848905086517, 0.022656036540865898, -0.018894286826252937, 0.006358899176120758, -0.042779844254255295, -0.003557744901627302, -0.030611073598265648, -0.046845801174640656, -0.0052264039404690266, 0.03857538849115372, -0.03607257455587387, 0.005317720118910074, 0.020013315603137016, -0.023519132286310196, -0.05044274032115936, -0.004384052474051714, 0.023208478465676308, -0.013211683370172977, -0.02041029743850231, -0.03621983528137207, 0.01753006875514984, 0.0410182923078537, -0.009777081198990345, -0.05480365827679634, 0.01330050639808178, -0.015434478409588337, -0.06633374094963074, -0.05414741486310959, 0.05783899128437042, 0.025236541405320168, -0.006029443349689245, -0.008074533194303513, 0.037050604820251465, 0.018534371629357338, 0.03748830407857895, -0.01848282478749752, 0.009532383643090725, -0.0716458410024643, 0.007066619582474232, 0.02036931738257408, 0.013740245252847672, 0.0010199426906183362, -0.0101943239569664, 0.029764804989099503, 0.08563464134931564, 0.04656551405787468, 0.011546057648956776, -0.04889656975865364, -0.02661805786192417, 0.0007802457548677921, -0.04189754277467728, 0.043566711246967316, 0.009366734884679317, -0.06317849457263947, -0.021678851917386055, -0.025476109236478806, 0.008504001423716545, 0.03002346307039261, -0.03091569058597088, 0.015337961725890636, 0.026390772312879562, -0.0013080061180517077, -0.03702295571565628, -0.09744831174612045, -0.036573149263858795, -0.011908593587577343, 0.034446291625499725, 0.03488512709736824, -0.06134660169482231, 0.02462591789662838, -0.035127971321344376, -0.010626553557813168, 0.059563037008047104, -0.017309820279479027, -0.013154069893062115, 0.07257123291492462, 0.06665665656328201, -0.04144955053925514, 0.06083562597632408, 0.026129567995667458, -0.024530790746212006, 0.05499868094921112, 0.009808667004108429, 0.03466951474547386, 0.01620914414525032, 0.027894992381334305, -0.010660206899046898, -0.007188268005847931, -0.011026296764612198, -0.03392540663480759, 0.00250429380685091, 0.0007260481943376362, 0.05026410147547722 ]
Dean/summarsiation
[]
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 license: apache-2.0 tags: - audio-classification - generated_from_trainer metrics: - accuracy - f1 model-index: - name: distil-wav2vec2-adult-child-cls-37m results: [] --- # DistilWav2Vec2 Adult/Child Speech Classifier 37M DistilWav2Vec2 Adult/Child Speech Classifier is an audio classification model based on the [wav2vec 2.0](https://arxiv.org/abs/2006.11477) architecture. This model is a distilled version of [wav2vec2-adult-child-cls](https://huggingface.co/bookbot/wav2vec2-adult-child-cls) on a private adult/child speech classification dataset. This model was trained using HuggingFace's PyTorch framework. All training was done on a Tesla P100, provided by Kaggle. Training metrics were logged via Tensorboard. ## Model | Model | #params | Arch. | Training/Validation data (text) | | ------------------------------------- | ------- | ----------- | ----------------------------------------- | | `distil-wav2vec2-adult-child-cls-37m` | 37M | wav2vec 2.0 | Adult/Child Speech Classification Dataset | ## Evaluation Results The model achieves the following results on evaluation: | Dataset | Loss | Accuracy | F1 | | --------------------------------- | ------ | -------- | ------ | | Adult/Child Speech Classification | 0.1431 | 95.89% | 0.9624 | ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - `learning_rate`: 3e-05 - `train_batch_size`: 32 - `eval_batch_size`: 32 - `seed`: 42 - `gradient_accumulation_steps`: 4 - `total_train_batch_size`: 128 - `optimizer`: Adam with `betas=(0.9,0.999)` and `epsilon=1e-08` - `lr_scheduler_type`: linear - `lr_scheduler_warmup_ratio`: 0.1 - `num_epochs`: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | | :-----------: | :---: | :--: | :-------------: | :------: | :----: | | 0.2586 | 1.0 | 96 | 0.2257 | 0.9298 | 0.9363 | | 0.1917 | 2.0 | 192 | 0.1743 | 0.9460 | 0.9500 | | 0.1568 | 3.0 | 288 | 0.1701 | 0.9511 | 0.9545 | | 0.0965 | 4.0 | 384 | 0.1501 | 0.9548 | 0.9584 | | 0.1179 | 5.0 | 480 | 0.1431 | 0.9589 | 0.9624 | ## Disclaimer Do consider the biases which came from pre-training datasets that may be carried over into the results of this model. ## Authors DistilWav2Vec2 Adult/Child Speech Classifier was trained and evaluated by [Ananto Joyoadikusumo](https://anantoj.github.io/). All computation and development are done on Kaggle. ### Framework versions - Transformers 4.16.2 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.10.3
[ -0.03194785490632057, -0.01561844814568758, -0.02467329055070877, 0.043775491416454315, 0.05922158807516098, 0.01673833653330803, -0.009310967288911343, -0.0011054662754759192, -0.014528044499456882, 0.0703643187880516, 0.03148140758275986, -0.01142758596688509, 0.008724922314286232, 0.02876151166856289, -0.02966482937335968, -0.03495333716273308, -0.022666018456220627, -0.01533422153443098, -0.037635404616594315, -0.008770904503762722, 0.002741365460678935, 0.011189326643943787, -0.013756738044321537, 0.030675437301397324, 0.009078982286155224, 0.01315252110362053, -0.004156394861638546, 0.018781039863824844, 0.03395489603281021, -0.03907359391450882, -0.003441974287852645, -0.06235935539007187, -0.06029024347662926, -0.029215112328529358, -0.018960140645503998, -0.008455227129161358, 0.004292584490031004, 0.02819177694618702, 0.003921491093933582, 0.030921118333935738, 0.006116819102317095, 0.01732824370265007, -0.022362325340509415, 0.009691721759736538, 0.048508595675230026, -0.005310426466166973, -0.02984350360929966, -0.02882358990609646, 0.029249992221593857, -0.039701011031866074, -0.0358935110270977, -0.06496883928775787, -0.02342219091951847, 0.027076279744505882, -0.025769229978322983, -0.03486759960651398, -0.06077165901660919, -0.013416512869298458, 0.074093297123909, -0.039042338728904724, -0.005909438244998455, 0.018056701868772507, -0.06698207557201385, 0.005899757146835327, 0.03267718479037285, -0.06462609767913818, 0.016618894413113594, -0.04191422834992409, 0.024804329499602318, -0.02038620039820671, 0.07306347787380219, -0.041911154985427856, 0.01546162087470293, -0.09604329615831375, 0.0235583633184433, -0.015981238335371017, 0.03686818480491638, 0.03945549950003624, -0.03700615093111992, 0.045631833374500275, 0.03677443414926529, 0.01121809147298336, 0.025962891057133675, -0.02344067022204399, 0.017437152564525604, 0.04971103370189667, -0.05256837233901024, 0.014106892980635166, 0.002885838272050023, 0.04983372613787651, -0.034328192472457886, -0.049634866416454315, -0.043280161917209625, -0.06007945537567139, -0.00539796520024538, 0.06347700208425522, 0.027257665991783142, -0.023203708231449127, 0.033641267567873, 0.05086043104529381, 0.02861071191728115, 0.03921178728342056, -0.045713845640420914, 0.060838598757982254, -0.016618771478533745, 0.0014933283673599362, -0.0018136701546609402, -0.02118743397295475, -0.058643072843551636, 0.014066197909414768, 0.02371402084827423, -0.022488677874207497, -0.047060683369636536, 0.0465821698307991, -0.00577785586938262, -0.002740154042840004, 0.058059390634298325, -0.03304023668169975, -0.022265279665589333, -0.041193779557943344, 0.038004070520401, 0.023512382060289383, -0.00830797664821148, -0.014491655863821507, -0.040033962577581406, 0.00561333866789937, -0.04209865257143974, -0.01619093492627144, -0.004342911299318075, 0.0046774824149906635, 0.014553327113389969, 0.07243014872074127, 0.020438028499484062, -0.046281956136226654, -0.015954814851284027, 0.02841104567050934, -0.06675345450639725, 0.008091514930129051, 0.030445488169789314, 0.10087516903877258, -0.06687325239181519, -0.057722918689250946, 0.00436685374006629, 0.014194485731422901, -0.019200757145881653, 0.029161527752876282, 0.005047457758337259, -0.022694217041134834, -0.023658573627471924, -0.007073246408253908, 0.026393551379442215, -0.05677829682826996, 0.002301665022969246, 0.050586819648742676, -0.03909976780414581, 0.05819246172904968, -0.041904281824827194, 0.006818793248385191, 0.004925861954689026, -0.018725302070379257, -0.03905405476689339, 0.03450927510857582, -0.009007944725453854, -0.021158777177333832, -0.034023553133010864, -0.044974178075790405, 0.004323286470025778, 0.06173470616340637, -0.0025783893652260303, -0.0015648903790861368, -0.031995389610528946, 0.018207624554634094, 0.043656546622514725, 0.0339164175093174, -0.021279264241456985, 0.00803438387811184, 0.045400507748126984, 0.039125923067331314, -0.01887439750134945, 0.05947474390268326, 0.02318405918776989, -0.031180983409285545, -0.03555155545473099, -0.011321872472763062, 0.00541387964040041, -0.04335620999336243, 0.0030291166622191668, 0.036156173795461655, 0.0021683890372514725, -0.045696157962083817, -0.04368794709444046, 0.0667157992720604, -0.01740485616028309, -0.015057969838380814, -0.006382029037922621, -0.004200120456516743, -0.03591115027666092, 0.034856993705034256, -0.02884509228169918, 0.009703327901661396, -0.030369417741894722, -0.021294277161359787, 0.002251336118206382, 0.00454834895208478, 0.020430656149983406, 0.04371798783540726, -0.008845768868923187, 0.07877849042415619, -0.037704966962337494, 0.003991331905126572, -0.02138638123869896, -0.05804091691970825, 0.004631005693227053, 0.04987451806664467, 0.03522187098860741, 0.0736696794629097, -0.0056171175092458725, -0.05914229899644852, 0.04112120345234871, 0.0793277695775032, 0.08327209204435349, 0.012637275271117687, -0.026125425472855568, 0.0015413048677146435, 0.025505149737000465, 0.050466977059841156, -0.064121775329113, -0.008699992671608925, 0.008344780653715134, 0.026638243347406387, -0.00977502204477787, 0.02515537664294243, -0.023327011615037918, 0.03472188860177994, -0.06235409155488014, -0.08309103548526764, 0.049770060926675797, 0.010581701062619686, -0.007035177666693926, 0.025742365047335625, -0.014675569720566273, 0.011000256054103374, 0.030267130583524704, 0.02404419519007206, 0.010890928097069263, -0.028896695002913475, 0.012566911987960339, 0.008618437685072422, 0.0682697594165802, -0.06829768419265747, 0.023879818618297577, -0.03120271861553192, -0.003397268708795309, 0.03809114545583725, -0.04785872623324394, 0.03843695670366287, 0.03376581519842148, 0.003887078259140253, -0.034621912986040115, 0.04702954366803169, 0.0019416897557675838, 0.0661211684346199, 0.04571153223514557, 0.005907554179430008, 0.07756765186786652, 0.010263996198773384, 0.047561030834913254, 0.09865310043096542, 0.020055605098605156, 0.011864721775054932, 0.021215006709098816, 0.05904417857527733, 0.0031045880168676376, -0.010451842099428177, 0.0717792734503746, -0.04537633806467056, 0.018080104142427444, -0.028485039249062538, 0.001706416835077107, -0.004146180581301451, -0.002105092164129019, 0.015185412019491196, 0.020401043817400932, -0.011814095079898834, 0.0032558904495090246, -0.02083742246031761, -0.028915632516145706, 0.03782276436686516, -0.012031984515488148, -0.006496351212263107, -0.010457944124937057, -0.014706172049045563, -0.015749966725707054, -0.09083502739667892, -0.06321652233600616, -0.026109352707862854, -0.03775682672858238, 0.01437927596271038, -0.05323858931660652, -0.02894139662384987, -0.08777860552072525, -0.0031033491250127554, 0.03748316690325737, 0.025934744626283646, 0.00438443711027503, -0.029850967228412628, 0.015469925478100777, -0.0393243245780468, -0.0351581871509552, -0.05308401957154274, -0.05533694475889206, -0.018803538754582405, -0.049759965389966965, 0.0386185459792614, 0.029448524117469788, 0.025406453758478165, 0.006353175733238459, 0.004206742625683546, -0.019352072849869728, -0.034943580627441406, 0.04640034958720207, 0.06508897244930267, -0.05865216255187988, -0.06033015623688698, 0.02647124044597149, -0.012562677264213562, 0.00931526254862547, -0.0006969046662561595, -0.027839699760079384, 0.054996050894260406, 0.06350624561309814, 0.020833076909184456, 0.03492230176925659, -0.028502102941274643, -0.054263681173324585, -0.06369862705469131, -0.02308182790875435, -0.035559143871068954, -0.028708036988973618, -0.03899644687771797, -0.04374244809150696, -0.024873925372958183, -0.019370149821043015, -0.016243120655417442, -0.029077526181936264, -0.0070489696227014065, 0.026787063106894493, 0.04414893686771393, 0.03241066634654999, 0.019430110231041908, -0.039625383913517, -0.03953604772686958, 0.05685456097126007, 0.02491806633770466, -0.015887340530753136, -0.08659885078668594, -0.03797012194991112, 0.002936166012659669, 0.028046080842614174, -0.012837031856179237, -0.004238514695316553, 0.07430306077003479, -0.01449492946267128, -0.0010655223159119487, 0.017687104642391205, -0.02278522402048111, -0.012523675337433815, -0.011936637572944164, -0.0075385659001767635, -0.0007054549059830606, -0.05020512640476227, -0.020495451986789703, -0.002084065228700638, 0.05382486432790756, -0.04723222181200981, -0.037448953837156296, -0.01031069178134203, 0.033787619322538376, 0.04118354618549347, -0.026294780895113945, -0.033312901854515076, -0.0042931754142045975, -0.0748404711484909, -0.00952019914984703, 0.01808921992778778, 0.011152795515954494, 0.0237057413905859, 0.06693128496408463, 0.016646116971969604, -0.02274594083428383, 0.04944385960698128, 0.03217892348766327, 0.0827014222741127, 0.023823563009500504, -0.05865946412086487, 0.0011646827915683389, -0.03448549658060074, 0.027438314631581306, -0.004925284069031477, -0.02434704080224037, -0.042598944157361984, -0.09240717440843582, -0.03853733465075493, 0.01173951756209135, -0.002181462710723281, -0.009197178296744823, 0.04683863744139671, -0.016904707998037338, -0.005291506182402372, 0.013928304426372051, 0.02985033579170704, 0.04020890220999718, -0.038259174674749374, 0.05670768767595291, 0.004285845439881086, 0.010297735221683979, -0.06855781376361847, 0.009249917231500149, -0.02580803819000721, -0.03516681119799614, -0.005840134806931019, 0.06986907869577408, 0.0034721260890364647, 0.030796347185969353, 0.07294966280460358, 0.027917873114347458, -0.04788672551512718, 0.04418989643454552, 0.04321739077568054, -0.03621748089790344, -0.060265302658081055, 0.021838204935193062, -0.008666190318763256, -0.025727247819304466, -0.008898381143808365, -0.010731745511293411, 0.03542063385248184, 0.05749233439564705, -0.006995632313191891, -0.017254259437322617, 0.02481047622859478, -0.02633572928607464, -0.01174492109566927, -0.04284471273422241, -0.035405319184064865, 0.009067950770258904, -0.014321314170956612, 0.03435182571411133, 0.02894638665020466, 0.026532087475061417, 0.08104093372821808, 0.02136405184864998, -0.02656039223074913, -0.027077652513980865, 0.03905713930726051, 0.01938576065003872, -0.04843839257955551, -0.055456746369600296, -0.02864176407456398, 0.043478887528181076, 0.02741241455078125, -0.012929754331707954, -0.07612569630146027, -0.0005673926789313555, 0.0457913763821125, -0.05309624224901199, 0.07367333024740219, -0.011769654229283333, 0.0377928800880909, 0.045481305569410324, 0.005149125587195158, 0.026407241821289062, -0.006465521175414324, -0.0014748073881492019, -0.0016626770375296474, 0.025424692779779434, -0.009498626925051212, -0.026080505922436714, -0.06908653676509857, 0.02176021784543991, 0.030008237808942795, 0.02761354111135006, 0.03143956884741783, -0.038481205701828, -0.05630621314048767, 0.005786494351923466, 0.028874864801764488, -0.022253043949604034, 0.034904465079307556, 0.013324695639312267, 0.027206778526306152, -0.04532117769122124, -0.0293798316270113, -0.009289326146245003, -0.0091921491548419, 0.02295965887606144, 0.01813437044620514, -0.03658397123217583, -0.027157995849847794, 0.006610711570829153, -0.01343532744795084, -0.014262109994888306, -0.08181458711624146, 0.02911360375583172, -0.01858063042163849, 0.0005795076140202582, 0.04912148788571358, 0.03787614777684212, 0.06562549620866776, 0.037904344499111176, 0.022110244259238243, 0.02276751957833767, -0.03273377567529678, 0.050371624529361725, -0.043004561215639114, -0.026845380663871765, 0.004991358146071434, -0.02499384619295597, -0.03930404782295227, -0.02931494265794754, -0.05551410838961601, -0.04722200334072113, -0.012318730354309082, 0.04496455192565918, -0.022675756365060806, -0.024088488891720772, -0.024739140644669533, 0.014436275698244572, -0.017110653221607208, -0.010638607665896416, -0.02821435034275055, -0.015497901476919651, -0.05063211917877197, -0.04510505124926567, 0.02858378365635872, -0.023091545328497887, 0.010931974276900291, -0.0007672919309698045, 0.015132862143218517, 0.029967280104756355, 0.005660366266965866, -0.007951599545776844, 0.03126060962677002, -0.002775454195216298, -0.03524018079042435, -0.023179056122899055, 0.02413073554635048, 0.009331516921520233, 0.035632699728012085, -0.01728469505906105, 0.029027104377746582, 0.010254641994833946, -0.029102593660354614, -0.028189362958073616, 0.014554295688867569, 0.018966466188430786, -0.06653166562318802, -0.03245636448264122, -0.004435733892023563, -0.03162771463394165, 0.023441879078745842, -0.01338548120111227, 0.00779739860445261, 0.02279941365122795, 0.01035318709909916, 0.05054926499724388, -0.03702973946928978, -0.0390046201646328, 0.022771848365664482, -0.02561056986451149, 0.030841734260320663, -0.0500178337097168, 0.060259148478507996, -0.03836861997842789, 0.00781961902976036, -0.018073637038469315, 0.015141275711357594, -0.04108970984816551, 0.01219575572758913, -0.012238679453730583, -0.006545213982462883, -0.019005756825208664, 0.012009816244244576, -0.02445652335882187, 0.023707851767539978, 0.0013725351309403777, 0.029496071860194206, -0.048133157193660736, 0.06696164608001709, -0.031231721863150597, 0.0023439754731953144, -0.025102948769927025, -0.014952708967030048, -0.03432272747159004, -0.022364534437656403, -0.013129087164998055, -0.038014449179172516, 0.03153499960899353, 0.05936187878251076, 0.03472449257969856, 0.03561186417937279, -0.037685759365558624, -0.002190019004046917, 0.0028054406866431236, -0.04266110807657242, -0.016574108973145485, 0.013586529530584812, 0.03442917764186859, 0.018920443952083588, 0.04073357209563255, 0.03733721747994423, -0.05450143665075302, -0.06854140758514404, 0.04114851728081703, 0.022635428234934807, -0.00747179938480258, 0.034254420548677444, 0.04519367590546608, 0.020624704658985138, 0.02742619439959526, -0.031978871673345566, -0.019903745502233505, -0.0020572482608258724, -0.036295872181653976, 0.027812164276838303, -0.016562966629862785, 0.013557950966060162, 0.012398348189890385, -0.020453358069062233, -0.022902071475982666, 0.04985475540161133, 0.04117431119084358, 0.013278224505484104, -0.003711291356012225, -0.04003159701824188, -0.002995437243953347, -0.006148308515548706, -0.05259610339999199, 0.028341952711343765, 0.004080123733729124, -0.01794658601284027, 0.07218501716852188, -0.020043691620230675, 0.009689944796264172, 0.0324980728328228, 0.045165982097387314, -0.013986622914671898, 0.060503602027893066, -0.007803807500749826, -0.001843543373979628, 0.050135768949985504, -0.060945309698581696, -0.009042327292263508, -0.03412691503763199, 0.07485240697860718, -0.07934365421533585, 0.04312698543071747, 0.0424148254096508, 0.021921101957559586, 0.0339350588619709, -0.041188351809978485, -0.049294229596853256, 0.03518058359622955, -0.05426885932683945, 0.06947162747383118, 0.021342912688851357, -0.0715838223695755, 0.08206424117088318, 0.024408746510744095, -0.09309317171573639, 0.039642754942178726, 0.024839885532855988, 0.02731294184923172, 0.014512164518237114, 0.05210001766681671, -0.057727307081222534, -0.018463045358657837, -0.03693285584449768, 0.02819041907787323, -0.04763244464993477, 0.0011362230870872736, 0.014717315323650837, -0.06814975291490555, -0.008425979875028133, 0.016471879556775093, -0.012172006070613861, -0.003700036322697997, 0.013164162635803223, -0.055071234703063965, -0.03446463868021965, 0.004169396590441465, 0.01991654746234417, -0.03990664333105087, -0.0018562617478892207, -0.02210252545773983, 0.006702371407300234, 0.013228194788098335, 0.001011513639241457, -0.033277444541454315, -0.031657010316848755, 0.011450612917542458, -0.05813205614686012, -0.05844380706548691, 0.042409420013427734, 0.005096880253404379, -0.020182453095912933, 0.031053652986884117, 0.013246850110590458, 0.030279379338026047, 0.02853992208838463, -0.009882520884275436, 0.040502674877643585, -0.05420784279704094, -0.02862682193517685, -0.0073393043130636215, 0.017870137467980385, 0.01499599777162075, -0.00267399731092155, 0.03986991196870804, 0.06774275749921799, 0.01745743118226528, 0.01087866723537445, -0.02706747315824032, -0.008371942676603794, 0.021834617480635643, -0.04491427168250084, 0.02825494296848774, 0.03202800825238228, -0.0436134934425354, -0.02386479079723358, -0.0152621790766716, 0.0023388362023979425, 0.030521154403686523, -0.06389166414737701, -0.0011781657813116908, 0.026730049401521683, -0.02134179323911667, -0.051242388784885406, -0.08411798626184464, -0.03475617617368698, -0.038180891424417496, 0.053537603467702866, 0.0423184409737587, -0.04771963879466057, 0.027924029156565666, -0.043340686708688736, -0.056595560163259506, 0.03208937123417854, 0.024465177208185196, -0.03154207393527031, 0.05882390961050987, 0.03341250121593475, -0.06701041013002396, 0.03501799702644348, 0.028414612635970116, -0.036574557423591614, 0.025639798492193222, 0.004063738975673914, 0.02338513545691967, 0.031163185834884644, 0.017087964341044426, -0.036367952823638916, -0.0071203759871423244, -0.06694665551185608, -0.04209069162607193, -0.034528207033872604, 0.005787830799818039, 0.04565862938761711 ]
DecafNosebleed/DialoGPT-small-ScaraBot
[ "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 } } }
15
2022-02-24T05:56:43Z
--- language: en license: apache-2.0 tags: - audio-classification - generated_from_trainer metrics: - accuracy - f1 model-index: - name: distil-wav2vec2-adult-child-cls-52m results: [] --- # DistilWav2Vec2 Adult/Child Speech Classifier 52M DistilWav2Vec2 Adult/Child Speech Classifier is an audio classification model based on the [wav2vec 2.0](https://arxiv.org/abs/2006.11477) architecture. This model is a distilled version of [wav2vec2-adult-child-cls](https://huggingface.co/bookbot/wav2vec2-adult-child-cls) on a private adult/child speech classification dataset. This model was trained using HuggingFace's PyTorch framework. All training was done on a Tesla P100, provided by Kaggle. Training metrics were logged via Tensorboard. ## Model | Model | #params | Arch. | Training/Validation data (text) | | ------------------------------------- | ------- | ----------- | ----------------------------------------- | | `distil-wav2vec2-adult-child-cls-52m` | 52M | wav2vec 2.0 | Adult/Child Speech Classification Dataset | ## Evaluation Results The model achieves the following results on evaluation: | Dataset | Loss | Accuracy | F1 | | --------------------------------- | ------ | -------- | ------ | | Adult/Child Speech Classification | 0.1301 | 96.03% | 0.9639 | ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - `learning_rate`: 3e-05 - `train_batch_size`: 32 - `eval_batch_size`: 32 - `seed`: 42 - `gradient_accumulation_steps`: 4 - `total_train_batch_size`: 128 - `optimizer`: Adam with `betas=(0.9,0.999)` and `epsilon=1e-08` - `lr_scheduler_type`: linear - `lr_scheduler_warmup_ratio`: 0.1 - `num_epochs`: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | | :-----------: | :---: | :--: | :-------------: | :------: | :----: | | 0.212 | 1.0 | 96 | 0.1561 | 0.9561 | 0.9596 | | 0.1523 | 2.0 | 192 | 0.1408 | 0.9575 | 0.9616 | | 0.0844 | 3.0 | 288 | 0.1301 | 0.9603 | 0.9639 | ## Disclaimer Do consider the biases which came from pre-training datasets that may be carried over into the results of this model. ## Authors DistilWav2Vec2 Adult/Child Speech Classifier was trained and evaluated by [Wilson Wongso](https://w11wo.github.io/). All computation and development are done on Kaggle. ## Framework versions - Transformers 4.16.2 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.10.3
[ -0.030724335461854935, -0.014983574859797955, -0.024202007800340652, 0.04239369183778763, 0.05943473428487778, 0.015814434736967087, -0.010698492638766766, -0.0012043986935168505, -0.014452370814979076, 0.0714111328125, 0.030264342203736305, -0.012660844251513481, 0.007614170666784048, 0.02919904887676239, -0.030263999477028847, -0.03498845174908638, -0.02245323918759823, -0.01480710506439209, -0.03725191950798035, -0.009515411220490932, 0.002743251621723175, 0.010617479681968689, -0.013314708136022091, 0.03091089054942131, 0.009752397425472736, 0.011672182008624077, -0.0031182612292468548, 0.01905389316380024, 0.03297310695052147, -0.039452988654375076, -0.0032150207553058863, -0.06257395446300507, -0.06050996854901314, -0.02846246026456356, -0.01877446100115776, -0.007962388917803764, 0.0033239468466490507, 0.02789931930601597, 0.005059358198195696, 0.029594093561172485, 0.005766444373875856, 0.01745878905057907, -0.02397010661661625, 0.010645691305398941, 0.04898519814014435, -0.005324516445398331, -0.03001387044787407, -0.029068050906062126, 0.028289247304201126, -0.03955622389912605, -0.03602081537246704, -0.06447311490774155, -0.02373197115957737, 0.027741024270653725, -0.02620440348982811, -0.03493264317512512, -0.06315907090902328, -0.013252470642328262, 0.07365056127309799, -0.03875574469566345, -0.005283146630972624, 0.017283430323004723, -0.06782136857509613, 0.005436731968075037, 0.03195590525865555, -0.06592109799385071, 0.01505330577492714, -0.04107433557510376, 0.025223247706890106, -0.019578855484724045, 0.07175706326961517, -0.04286053404211998, 0.015070950612425804, -0.0957074910402298, 0.023522550240159035, -0.015784719958901405, 0.03488069772720337, 0.04021618887782097, -0.0371873676776886, 0.04384474456310272, 0.03611426800489426, 0.01041253563016653, 0.02557717077434063, -0.0230662003159523, 0.01779063418507576, 0.05022503808140755, -0.05286020785570145, 0.012999857775866985, 0.0029997029341757298, 0.05041368678212166, -0.03372988849878311, -0.05028870329260826, -0.042426697909832, -0.059197165071964264, -0.004367851186543703, 0.06368988007307053, 0.027549346908926964, -0.02223258651793003, 0.03364615887403488, 0.051047053188085556, 0.029250988736748695, 0.03998759388923645, -0.045015253126621246, 0.06264672428369522, -0.01715010777115822, 0.0011486606672406197, -0.0022830574307590723, -0.021938003599643707, -0.05848083645105362, 0.013607732951641083, 0.024652060121297836, -0.022388402372598648, -0.046752069145441055, 0.04706453159451485, -0.006410122849047184, -0.0031786360777914524, 0.05901135876774788, -0.033040743321180344, -0.022131122648715973, -0.04048190265893936, 0.03730297461152077, 0.024168912321329117, -0.007561447098851204, -0.015084648504853249, -0.040202751755714417, 0.005169422831386328, -0.04236479103565216, -0.015034557320177555, -0.0028184782713651657, 0.005912970285862684, 0.013583982363343239, 0.07264981418848038, 0.02047516405582428, -0.04667426273226738, -0.01589062809944153, 0.027676545083522797, -0.06633716821670532, 0.007116849534213543, 0.03147527948021889, 0.09999807924032211, -0.06508113443851471, -0.05788663029670715, 0.005014579743146896, 0.013808438554406166, -0.019509386271238327, 0.029002783820033073, 0.00547431968152523, -0.022080985829234123, -0.022306079044938087, -0.005769774317741394, 0.027411676943302155, -0.05580244958400726, 0.002749272622168064, 0.050828032195568085, -0.03952768072485924, 0.058270737528800964, -0.041927535086870193, 0.006208472885191441, 0.005066497717052698, -0.01949390210211277, -0.038416385650634766, 0.03473895043134689, -0.009038329124450684, -0.02241111919283867, -0.03386753797531128, -0.04471491649746895, 0.003900840412825346, 0.0612780936062336, -0.0025500922929495573, -0.0024149029050022364, -0.0325041189789772, 0.01815059781074524, 0.044138722121715546, 0.03424306586384773, -0.021570850163698196, 0.009177660569548607, 0.045615293085575104, 0.0390765406191349, -0.01809227652847767, 0.05873887985944748, 0.02303881198167801, -0.030770041048526764, -0.035333842039108276, -0.011355331167578697, 0.006870189681649208, -0.043586354702711105, 0.0022530569694936275, 0.03564629703760147, 0.001750158960931003, -0.04596295952796936, -0.04346972703933716, 0.06627073884010315, -0.01810448244214058, -0.01395219936966896, -0.007344921585172415, -0.0037701695691794157, -0.035541702061891556, 0.034465428441762924, -0.029713047668337822, 0.009749309159815311, -0.030319366604089737, -0.021342501044273376, 0.0017657059943303466, 0.005154398735612631, 0.02080787718296051, 0.04424621909856796, -0.007937652990221977, 0.07901237159967422, -0.03777295723557472, 0.0038073668256402016, -0.021482329815626144, -0.057139426469802856, 0.0041011618450284, 0.05067600682377815, 0.034863319247961044, 0.07388447225093842, -0.005440784618258476, -0.05887894332408905, 0.04130992293357849, 0.07908167690038681, 0.08397158980369568, 0.013300112448632717, -0.02666306123137474, 0.00007733661914244294, 0.025357061997056007, 0.04952405020594597, -0.06524823606014252, -0.008098237216472626, 0.006697592791169882, 0.027148745954036713, -0.009956360794603825, 0.02525876648724079, -0.02391202561557293, 0.0353710912168026, -0.06180080771446228, -0.08147680759429932, 0.049616821110248566, 0.010221283882856369, -0.006705897860229015, 0.02560589462518692, -0.014708958566188812, 0.012486288323998451, 0.029846707358956337, 0.02540469914674759, 0.010710053145885468, -0.027957657352089882, 0.01361748855561018, 0.009064868092536926, 0.06832192093133926, -0.06863889843225479, 0.024763787165284157, -0.031492095440626144, -0.00364178279414773, 0.038130030035972595, -0.04769282788038254, 0.03827948123216629, 0.034506700932979584, 0.0033205021172761917, -0.03424276411533356, 0.0456070713698864, 0.0023821135982871056, 0.06582747399806976, 0.045553117990493774, 0.0062800925225019455, 0.07732485979795456, 0.010545723140239716, 0.04748190939426422, 0.09949621558189392, 0.019787292927503586, 0.011240516789257526, 0.021647881716489792, 0.0592283196747303, 0.003424889873713255, -0.01018162164837122, 0.07035864889621735, -0.04615144804120064, 0.017956120893359184, -0.02875533699989319, 0.0018688556738197803, -0.0038860521744936705, -0.002067922381684184, 0.016269151121377945, 0.021391363814473152, -0.012245116755366325, 0.0029967434238642454, -0.022805608808994293, -0.028668997809290886, 0.03875992074608803, -0.013253794051706791, -0.006870847195386887, -0.009417973458766937, -0.013728663325309753, -0.0157008096575737, -0.09126734733581543, -0.06481269747018814, -0.026352999731898308, -0.03627469018101692, 0.014951135031878948, -0.054241303354501724, -0.02920691668987274, -0.08793433755636215, -0.0035389636177569628, 0.036775264889001846, 0.025725578889250755, 0.0037550260312855244, -0.028463849797844887, 0.01594027876853943, -0.037971530109643936, -0.03470916673541069, -0.051601238548755646, -0.0550956204533577, -0.019090643152594566, -0.04984506219625473, 0.03748318925499916, 0.02993960678577423, 0.025874806568026543, 0.006972916424274445, 0.004154018592089415, -0.020075928419828415, -0.03507709130644798, 0.04642506688833237, 0.06469231098890305, -0.05941280350089073, -0.059280555695295334, 0.028050873428583145, -0.012002131901681423, 0.00838973093777895, -0.0003853544476442039, -0.027132630348205566, 0.05600713938474655, 0.06321490556001663, 0.021550005301833153, 0.0347895585000515, -0.028127465397119522, -0.05394182354211807, -0.06326968967914581, -0.02352570928633213, -0.03418884426355362, -0.02835903689265251, -0.03962159529328346, -0.04423273354768753, -0.024219296872615814, -0.019981535151600838, -0.016801904886960983, -0.02870645932853222, -0.007757740095257759, 0.029371263459324837, 0.043302565813064575, 0.03244525566697121, 0.019741615280508995, -0.03937290608882904, -0.0396120548248291, 0.057906877249479294, 0.02601080760359764, -0.01591421850025654, -0.08719377964735031, -0.03733191266655922, 0.004168999381363392, 0.02789408713579178, -0.012525152415037155, -0.003867365187034011, 0.07414635270833969, -0.014601560309529305, -0.0018335627391934395, 0.01731939986348152, -0.023709924891591072, -0.011864135041832924, -0.012793140485882759, -0.008673926815390587, -0.0019193405751138926, -0.05048244446516037, -0.021652480587363243, -0.003229207592085004, 0.05433664843440056, -0.047503456473350525, -0.03799719363451004, -0.010016773827373981, 0.034370433539152145, 0.04048430547118187, -0.026979835703969002, -0.03407811373472214, -0.004914852324873209, -0.07496365159749985, -0.0088195214048028, 0.017964808270335197, 0.011820200830698013, 0.02338254079222679, 0.06650402396917343, 0.0167152788490057, -0.021110376343131065, 0.049448978155851364, 0.032445408403873444, 0.08222419768571854, 0.024185236543416977, -0.058939866721630096, 0.0011829594150185585, -0.03460171818733215, 0.02736586518585682, -0.005606065504252911, -0.02468925155699253, -0.04239244386553764, -0.09229876846075058, -0.03922000527381897, 0.012026112526655197, -0.0016835714923217893, -0.010159661062061787, 0.046520765870809555, -0.015618904493749142, -0.005031850188970566, 0.013526593334972858, 0.030383989214897156, 0.041130583733320236, -0.03891550377011299, 0.0560426339507103, 0.006149620749056339, 0.011293217539787292, -0.06774819642305374, 0.00935494713485241, -0.025569604709744453, -0.03507950156927109, -0.005450598429888487, 0.0706862211227417, 0.003715876489877701, 0.030583545565605164, 0.07402816414833069, 0.028600094839930534, -0.04832727089524269, 0.04433281719684601, 0.043956488370895386, -0.037131890654563904, -0.06059565767645836, 0.021775156259536743, -0.007649771869182587, -0.02556791342794895, -0.008007081225514412, -0.010816289111971855, 0.035488177090883255, 0.05733073502779007, -0.007706441450864077, -0.015905095264315605, 0.02524765580892563, -0.025208480656147003, -0.011738746426999569, -0.04329490289092064, -0.033160895109176636, 0.009284392930567265, -0.015298792161047459, 0.03401447832584381, 0.0284228827804327, 0.027524840086698532, 0.08086895197629929, 0.020900867879390717, -0.02724204771220684, -0.027070723474025726, 0.03750969097018242, 0.019032660871744156, -0.04832148924469948, -0.053873684257268906, -0.028286894783377647, 0.044124774634838104, 0.02727660909295082, -0.012412545271217823, -0.07698401063680649, 0.00025686199660412967, 0.04597627744078636, -0.05358165130019188, 0.07316762953996658, -0.011082684621214867, 0.037735842168331146, 0.04432915896177292, 0.0049661388620734215, 0.026373624801635742, -0.005777423735707998, -0.0005097358371131122, -0.0020446879789233208, 0.025150416418910027, -0.008777759037911892, -0.02644125185906887, -0.0688806027173996, 0.021120579913258553, 0.02922964282333851, 0.02853471226990223, 0.03156209737062454, -0.03987860679626465, -0.05721033364534378, 0.006365039851516485, 0.027912205085158348, -0.022755075246095657, 0.034351494163274765, 0.013024396263062954, 0.026484467089176178, -0.04466759040951729, -0.02854381874203682, -0.009743320755660534, -0.009383308701217175, 0.024551067501306534, 0.017873968929052353, -0.03591082617640495, -0.02688559703528881, 0.007977809756994247, -0.013135609216988087, -0.01451093889772892, -0.08191188424825668, 0.028085770085453987, -0.018281904980540276, 0.0012538767186924815, 0.04839198291301727, 0.038175154477357864, 0.0657055452466011, 0.038782667368650436, 0.02211608923971653, 0.02267402410507202, -0.031992893666028976, 0.04972335696220398, -0.04368818551301956, -0.025540178641676903, 0.004887680057436228, -0.023895014077425003, -0.039193760603666306, -0.028469504788517952, -0.056910306215286255, -0.04726773127913475, -0.012244871817529202, 0.04438568279147148, -0.022299712523818016, -0.024517664685845375, -0.025444090366363525, 0.015326430089771748, -0.0183798186480999, -0.01060028187930584, -0.027629831805825233, -0.014913900755345821, -0.05164920166134834, -0.043905410915613174, 0.02899947389960289, -0.02298274077475071, 0.012342728674411774, -0.0019706508610397577, 0.015612400136888027, 0.03058360517024994, 0.0058820853009819984, -0.007407891098409891, 0.03261649236083031, -0.0011806103866547346, -0.03557915985584259, -0.022963400930166245, 0.024675525724887848, 0.008987074717879295, 0.03467941656708717, -0.01732274331152439, 0.029962321743369102, 0.010806422680616379, -0.028662852942943573, -0.027815505862236023, 0.014772087335586548, 0.019193626940250397, -0.06617576628923416, -0.03264780342578888, -0.004391323309391737, -0.03251238167285919, 0.022698331624269485, -0.013510806486010551, 0.007485055364668369, 0.02208445779979229, 0.010194223374128342, 0.050735585391521454, -0.03903229162096977, -0.038188282400369644, 0.022513538599014282, -0.02505970001220703, 0.030791791155934334, -0.050858329981565475, 0.06042342633008957, -0.037902187556028366, 0.005421132314950228, -0.018109148368239403, 0.01474551297724247, -0.041190654039382935, 0.01324463076889515, -0.013505675829946995, -0.007338113617151976, -0.017998870462179184, 0.01238070148974657, -0.0240684375166893, 0.02444743551313877, 0.001936817541718483, 0.0297525804489851, -0.04878416657447815, 0.06683875620365143, -0.03133789077401161, 0.003224360290914774, -0.02644478529691696, -0.014817044138908386, -0.03262512385845184, -0.021956507116556168, -0.014558407478034496, -0.03784319758415222, 0.03106475993990898, 0.06024529039859772, 0.03539872169494629, 0.03547082468867302, -0.037333402782678604, -0.0015012547373771667, 0.0021908474154770374, -0.04218372330069542, -0.01733013615012169, 0.01320507563650608, 0.03357122093439102, 0.018442045897245407, 0.04120061174035072, 0.03650571405887604, -0.055053673684597015, -0.06864646077156067, 0.038917504251003265, 0.02199719101190567, -0.005780634004622698, 0.03353141248226166, 0.04618043452501297, 0.02140890061855316, 0.026832904666662216, -0.032815661281347275, -0.02024039439857006, -0.001887167221866548, -0.0365900844335556, 0.0281512551009655, -0.016527891159057617, 0.013196596875786781, 0.013021043501794338, -0.019395221024751663, -0.022766398265957832, 0.048708103597164154, 0.04106110706925392, 0.01321252342313528, -0.0032335224095731974, -0.04040788114070892, -0.00426303269341588, -0.0060717142187058926, -0.05235033109784126, 0.029148563742637634, 0.0037975895684212446, -0.017213793471455574, 0.07349216192960739, -0.020335348322987556, 0.008315060287714005, 0.032631248235702515, 0.04517868161201477, -0.014221793971955776, 0.061715226620435715, -0.008376321755349636, -0.0011219402076676488, 0.050404973328113556, -0.061166226863861084, -0.007983106188476086, -0.03378847986459732, 0.07281749695539474, -0.08017543703317642, 0.043596819043159485, 0.04305953159928322, 0.02304215542972088, 0.03339489549398422, -0.040307216346263885, -0.05036531388759613, 0.03438875079154968, -0.05389443784952164, 0.07051558047533035, 0.02132621593773365, -0.0711759552359581, 0.08210262656211853, 0.025426536798477173, -0.09299517422914505, 0.040063969790935516, 0.025757618248462677, 0.028693342581391335, 0.014339134097099304, 0.05156240239739418, -0.05663207918405533, -0.01772921159863472, -0.036004528403282166, 0.028572270646691322, -0.047715697437524796, 0.0004896611790172756, 0.014953093603253365, -0.06806929409503937, -0.007667283993214369, 0.017046744003891945, -0.012990009970963001, -0.004356771241873503, 0.012670125812292099, -0.05576477572321892, -0.034112147986888885, 0.004658285062760115, 0.01935320533812046, -0.04033316671848297, -0.0009593200520612299, -0.02205665409564972, 0.006665071472525597, 0.013450566679239273, 0.001403388218022883, -0.03389463573694229, -0.03261260315775871, 0.012135758996009827, -0.05827903375029564, -0.05839502811431885, 0.04300525039434433, 0.005352746695280075, -0.020981252193450928, 0.031431544572114944, 0.01321501936763525, 0.029664108529686928, 0.028478167951107025, -0.010214765556156635, 0.041235726326704025, -0.05410206317901611, -0.027694469317793846, -0.007327086292207241, 0.017703337594866753, 0.01403557788580656, -0.0014862248208373785, 0.040203966200351715, 0.06710855662822723, 0.018195750191807747, 0.011634735390543938, -0.02552824839949608, -0.008014234714210033, 0.021220749244093895, -0.04461173340678215, 0.027340324595570564, 0.03233138471841812, -0.04349683225154877, -0.023622065782546997, -0.015987569466233253, 0.004088874906301498, 0.031219206750392914, -0.0643848404288292, -0.00167816539760679, 0.026652958244085312, -0.02081052027642727, -0.05125268176198006, -0.08401160687208176, -0.03450567275285721, -0.03934997320175171, 0.053115274757146835, 0.04308800771832466, -0.049449510872364044, 0.027830999344587326, -0.043265450745821, -0.05671297013759613, 0.031128933653235435, 0.023323483765125275, -0.03109484165906906, 0.058325689285993576, 0.0323578305542469, -0.06641523540019989, 0.03433673828840256, 0.02868673950433731, -0.037047360092401505, 0.025612877681851387, 0.0038524698466062546, 0.02289257012307644, 0.0310672577470541, 0.016211509704589844, -0.03576352447271347, -0.0077074626460671425, -0.06691092252731323, -0.04246818274259567, -0.033859193325042725, 0.006007930263876915, 0.045463431626558304 ]
DecafNosebleed/ScaraBot
[]
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 license: apache-2.0 tags: - audio-classification - generated_from_trainer metrics: - accuracy - f1 model-index: - name: distil-wav2vec2-xls-r-adult-child-cls-64m results: [] --- # DistilWav2Vec2 XLS-R Adult/Child Speech Classifier 64M DistilWav2Vec2 XLS-R Adult/Child Speech Classifier is an audio classification model based on the [XLS-R](https://arxiv.org/abs/2111.09296) architecture. This model is a distilled version of [wav2vec2-xls-r-adult-child-cls](https://huggingface.co/bookbot/wav2vec2-xls-r-adult-child-cls) on a private adult/child speech classification dataset. This model was trained using HuggingFace's PyTorch framework. All training was done on a Tesla P100, provided by Kaggle. Training metrics were logged via Tensorboard. ## Model | Model | #params | Arch. | Training/Validation data (text) | | ------------------------------------------- | ------- | ----- | ----------------------------------------- | | `distil-wav2vec2-xls-r-adult-child-cls-64m` | 64M | XLS-R | Adult/Child Speech Classification Dataset | ## Evaluation Results The model achieves the following results on evaluation: | Dataset | Loss | Accuracy | F1 | | --------------------------------- | ------ | -------- | ------ | | Adult/Child Speech Classification | 0.2571 | 93.86% | 0.9425 | ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - `learning_rate`: 3e-05 - `train_batch_size`: 16 - `eval_batch_size`: 16 - `seed`: 42 - `gradient_accumulation_steps`: 4 - `total_train_batch_size`: 64 - `optimizer`: Adam with `betas=(0.9,0.999)` and `epsilon=1e-08` - `lr_scheduler_type`: linear - `lr_scheduler_warmup_ratio`: 0.1 - `num_epochs`: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | | :-----------: | :---: | :--: | :-------------: | :------: | :----: | | 0.5509 | 1.0 | 191 | 0.3685 | 0.9086 | 0.9131 | | 0.4543 | 2.0 | 382 | 0.3113 | 0.9247 | 0.9285 | | 0.409 | 3.0 | 573 | 0.2723 | 0.9372 | 0.9418 | | 0.3024 | 4.0 | 764 | 0.2786 | 0.9381 | 0.9417 | | 0.3103 | 5.0 | 955 | 0.2571 | 0.9386 | 0.9425 | ## Disclaimer Do consider the biases which came from pre-training datasets that may be carried over into the results of this model. ## Authors DistilWav2Vec2 XLS-R Adult/Child Speech Classifier was trained and evaluated by [Ananto Joyoadikusumo](https://anantoj.github.io/). All computation and development are done on Kaggle. ## Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.036528732627630234, -0.014808999374508858, -0.024092642590403557, 0.04207529500126839, 0.059029873460531235, 0.01984974555671215, -0.013153829611837864, 0.001753676333464682, -0.008600098080933094, 0.06963381916284561, 0.028066318482160568, -0.016798755154013634, 0.008112329058349133, 0.028349589556455612, -0.026041705161333084, -0.0296623632311821, -0.02158445678651333, -0.018088439479470253, -0.04670511931180954, -0.011980177834630013, 0.0033191421534866095, 0.009686400182545185, -0.012677507475018501, 0.02995416149497032, 0.005256987176835537, 0.007774965837597847, -0.006902135908603668, 0.022927051410079002, 0.03584481403231621, -0.035677049309015274, -0.0020380476489663124, -0.056435540318489075, -0.05742873623967171, -0.03418494388461113, -0.014205696061253548, -0.0077710701152682304, 0.006179529242217541, 0.024429110810160637, 0.007681124843657017, 0.030679702758789062, 0.001427417853847146, 0.02367234416306019, -0.02133813500404358, 0.008596029132604599, 0.0443190298974514, -0.005631762091070414, -0.02277601696550846, -0.03303026780486107, 0.023722775280475616, -0.036847710609436035, -0.030767038464546204, -0.06777997314929962, -0.02330886758863926, 0.02743358351290226, -0.02333809621632099, -0.03329910337924957, -0.057408735156059265, -0.011041521094739437, 0.0809057429432869, -0.03517736494541168, -0.007117488421499729, 0.01477855071425438, -0.0719204768538475, 0.004246782511472702, 0.033203814178705215, -0.060257427394390106, 0.01502208597958088, -0.04263516515493393, 0.021317703649401665, -0.019185278564691544, 0.07677857577800751, -0.040900059044361115, 0.016302701085805893, -0.09378807246685028, 0.017923953011631966, -0.02022259496152401, 0.0372139997780323, 0.03802904859185219, -0.03946496173739433, 0.0450771190226078, 0.035458631813526154, 0.007481961045414209, 0.025842035189270973, -0.023146748542785645, 0.01697884127497673, 0.04781588166952133, -0.054901495575904846, 0.006257094442844391, 0.007804905064404011, 0.044194310903549194, -0.03379153460264206, -0.055635932832956314, -0.03762917220592499, -0.062182679772377014, -0.0012838335242122412, 0.06667579710483551, 0.029197173193097115, -0.02315429039299488, 0.04044938087463379, 0.04912462458014488, 0.02971089817583561, 0.029193490743637085, -0.040608685463666916, 0.05712965130805969, -0.014795443043112755, -0.005303714424371719, -0.0034558249171823263, -0.020473551005125046, -0.056353501975536346, 0.017374301329255104, 0.018657824024558067, -0.024656221270561218, -0.04979370906949043, 0.043941058218479156, -0.004730178974568844, -0.005521098151803017, 0.061438556760549545, -0.037584301084280014, -0.020724285393953323, -0.04147126525640488, 0.034395888447761536, 0.020540202036499977, 0.0005102419527247548, -0.018575742840766907, -0.04502425715327263, 0.0021213688887655735, -0.04103962332010269, -0.014609478414058685, -0.004987148102372885, 0.0012195060262456536, 0.01343543827533722, 0.07434488087892532, 0.022303946316242218, -0.048991452902555466, -0.014635897241532803, 0.031130343675613403, -0.06655328720808029, 0.019380729645490646, 0.025490088388323784, 0.09924706071615219, -0.06416185945272446, -0.05865439027547836, 0.0027086366899311543, 0.01645437255501747, -0.025042489171028137, 0.027718378230929375, 0.003764613764360547, -0.02565467171370983, -0.030162330716848373, -0.010762241668999195, 0.020431682467460632, -0.05503540486097336, 0.001304049277678132, 0.053324777632951736, -0.046285130083560944, 0.05702121555805206, -0.0395524688065052, 0.015313394367694855, 0.0072905756533145905, -0.014372880570590496, -0.03443153575062752, 0.036065854132175446, -0.007871744222939014, -0.018979106098413467, -0.03571042791008949, -0.05033070221543312, 0.010691693983972073, 0.061033014208078384, -0.0058485837653279305, -0.000897629011888057, -0.03354867547750473, 0.019985780119895935, 0.04168626666069031, 0.028131607919931412, -0.025855770334601402, 0.0033135516569018364, 0.04619833827018738, 0.04033636301755905, -0.021475110203027725, 0.05626412108540535, 0.019018074497580528, -0.030960312113165855, -0.03884269669651985, -0.010216251946985722, 0.00723013561218977, -0.041184864938259125, 0.0010737469419836998, 0.03535822778940201, 0.003444803413003683, -0.04361395910382271, -0.0418543815612793, 0.063056081533432, -0.017547322437167168, -0.020791709423065186, -0.00889638252556324, -0.008518703281879425, -0.03369426727294922, 0.034885723143815994, -0.03384803235530853, 0.009364297613501549, -0.028962086886167526, -0.022028697654604912, 0.002521984977647662, 0.006435551214963198, 0.027826309204101562, 0.04302782192826271, -0.005281520076096058, 0.07795531302690506, -0.03753989189863205, 0.004350499249994755, -0.020397434011101723, -0.06509172916412354, 0.006073879078030586, 0.05152817815542221, 0.03576803207397461, 0.06810262799263, -0.0010973671451210976, -0.06603769212961197, 0.039325132966041565, 0.08233065903186798, 0.07992146164178848, 0.007064759265631437, -0.02790790982544422, 0.0013972257729619741, 0.03335614874958992, 0.046107541769742966, -0.06186690181493759, -0.012657920829951763, 0.009767917916178703, 0.024264182895421982, -0.01135425828397274, 0.02736854739487171, -0.02267546020448208, 0.03595605865120888, -0.06329595297574997, -0.08017884939908981, 0.0450754314661026, 0.01170796062797308, 0.0014227014034986496, 0.025108791887760162, -0.018344467505812645, 0.008126860484480858, 0.02398804947733879, 0.022671788930892944, 0.015332009643316269, -0.030506741255521774, 0.01596922241151333, 0.0028691543266177177, 0.06064572557806969, -0.07168980687856674, 0.027729688212275505, -0.026568595319986343, -0.002261762274429202, 0.04280324652791023, -0.043624911457300186, 0.038407374173402786, 0.027705222368240356, 0.0015199000481516123, -0.03602459281682968, 0.04915943741798401, 0.0032796747982501984, 0.06403559446334839, 0.0491626113653183, 0.005332612432539463, 0.0719415619969368, 0.01274777390062809, 0.047433413565158844, 0.1056126281619072, 0.011950060725212097, 0.009920591488480568, 0.023403050377964973, 0.06285452097654343, 0.008360499516129494, -0.010476293973624706, 0.06991459429264069, -0.0390639491379261, 0.02158583700656891, -0.02443476766347885, -0.002533474937081337, -0.006823438685387373, 0.0004762297903653234, 0.02197612076997757, 0.021667128428816795, -0.011807226575911045, 0.007003869861364365, -0.02528804913163185, -0.03134685754776001, 0.04113522917032242, -0.017345821484923363, -0.008357148617506027, -0.012236639857292175, -0.010132303461432457, -0.019460557028651237, -0.09197438508272171, -0.0601554736495018, -0.025639737024903297, -0.04024282097816467, 0.014907578937709332, -0.049210526049137115, -0.02210526168346405, -0.09163502603769302, -0.00815943069756031, 0.03284633532166481, 0.017812956124544144, 0.005662685260176659, -0.03219091147184372, 0.02005213499069214, -0.03609727695584297, -0.033947017043828964, -0.05368310958147049, -0.052130427211523056, -0.014459346421062946, -0.04851724952459335, 0.037755660712718964, 0.02492637373507023, 0.030994923785328865, 0.006738938856869936, -0.00028616352938115597, -0.019662776961922646, -0.04079156741499901, 0.04762201011180878, 0.06507039070129395, -0.05472289025783539, -0.05847437307238579, 0.028965793550014496, -0.01723952777683735, 0.01190787274390459, -0.010362492874264717, -0.027305854484438896, 0.052285101264715195, 0.060951922088861465, 0.021494373679161072, 0.03098040074110031, -0.030535534024238586, -0.05352358520030975, -0.06267239898443222, -0.023526543751358986, -0.03328927233815193, -0.029533104971051216, -0.041137900203466415, -0.04158007353544235, -0.026670150458812714, -0.016343599185347557, -0.01868441514670849, -0.0313296839594841, 0.0006404807209037244, 0.026460424065589905, 0.03961331397294998, 0.03639943525195122, 0.021752849221229553, -0.04150043800473213, -0.04497615993022919, 0.058749131858348846, 0.028499042615294456, -0.015926137566566467, -0.08713560551404953, -0.04382540285587311, 0.006691018585115671, 0.029955539852380753, -0.01489852275699377, -0.0033851265907287598, 0.07914448529481888, -0.013966599479317665, 0.0012815076624974608, 0.015789993107318878, -0.023434724658727646, -0.0065692877396941185, -0.014648436568677425, -0.007752495817840099, 0.0020849870052188635, -0.0583333745598793, -0.02134695090353489, -0.0051477327942848206, 0.050695162266492844, -0.042309630662202835, -0.033748380839824677, -0.007425729185342789, 0.04301165044307709, 0.037652865052223206, -0.025415809825062752, -0.031027862802147865, 0.003327832091599703, -0.07581725716590881, -0.00763910636305809, 0.01651587150990963, 0.010478027164936066, 0.027555137872695923, 0.0669187679886818, 0.01943926326930523, -0.019229969009757042, 0.0519239604473114, 0.03205103054642677, 0.08353529125452042, 0.02303321287035942, -0.0619482696056366, 0.0010765301994979382, -0.024928174912929535, 0.03288387507200241, -0.008138211444020271, -0.02713000401854515, -0.043303489685058594, -0.0908314511179924, -0.0356171689927578, 0.012048658914864063, 0.0003886569757014513, -0.010607466101646423, 0.04177405312657356, -0.01720920391380787, -0.0076621780171990395, 0.01613844558596611, 0.031578972935676575, 0.03530692309141159, -0.04449792951345444, 0.0555901974439621, 0.009120016358792782, 0.007700310088694096, -0.06988586485385895, 0.0145044457167387, -0.024950776249170303, -0.03600511699914932, -0.0024535125121474266, 0.06575994193553925, -0.0005156765691936016, 0.02809641696512699, 0.07372082769870758, 0.026469768956303596, -0.054159995168447495, 0.043620459735393524, 0.039210930466651917, -0.03773309290409088, -0.0605405755341053, 0.020241305232048035, -0.008442088961601257, -0.0269134771078825, -0.012879431247711182, -0.01375766471028328, 0.037332311272621155, 0.0496210977435112, -0.004731997847557068, -0.02188054658472538, 0.028161967173218727, -0.02772238850593567, -0.011435892432928085, -0.0392889678478241, -0.03817933425307274, 0.014410494826734066, -0.014335978776216507, 0.030995234847068787, 0.03331870585680008, 0.02646438032388687, 0.07809043675661087, 0.022422248497605324, -0.03195742517709732, -0.03187866136431694, 0.04027019441127777, 0.016057521104812622, -0.05247955024242401, -0.05119946971535683, -0.028357965871691704, 0.039823777973651886, 0.021585697308182716, -0.010989381931722164, -0.0725846216082573, 0.004493134096264839, 0.04376015067100525, -0.05177674442529678, 0.07096201926469803, -0.0054351454600691795, 0.043804097920656204, 0.0489206500351429, 0.0008335426682606339, 0.028215976431965828, -0.00577709823846817, -0.0029893589671701193, -0.004251556005328894, 0.020209848880767822, -0.00777699239552021, -0.02563478797674179, -0.06933063268661499, 0.02972729504108429, 0.028161758556962013, 0.029520342126488686, 0.0314631462097168, -0.03833195939660072, -0.05557943880558014, -0.0006103775813244283, 0.02996217831969261, -0.015137533657252789, 0.0325160026550293, 0.0160190612077713, 0.023845287039875984, -0.04402545839548111, -0.030655836686491966, -0.01332074124366045, -0.012602074071764946, 0.02205566130578518, 0.013179953210055828, -0.03609905019402504, -0.02461373247206211, 0.006389325484633446, -0.01884731836616993, -0.013834876008331776, -0.0832766517996788, 0.03290911391377449, -0.015049124136567116, -0.0026110506150871515, 0.05382677912712097, 0.04255940392613411, 0.06629298627376556, 0.03376021608710289, 0.025921521708369255, 0.025829769670963287, -0.03165183961391449, 0.0470929890871048, -0.03593362867832184, -0.0251164473593235, 0.00475790211930871, -0.024744488298892975, -0.03631499782204628, -0.03090807795524597, -0.049632348120212555, -0.04269160330295563, -0.013353481888771057, 0.04619145020842552, -0.020067300647497177, -0.026079416275024414, -0.02195126563310623, 0.011494775302708149, -0.01424358319491148, -0.0013723181327804923, -0.027458442375063896, -0.008437462151050568, -0.048797257244586945, -0.038774605840444565, 0.030462617054581642, -0.026770256459712982, 0.008621003478765488, -0.003998143598437309, 0.01419041771441698, 0.028871916234493256, -0.00015140723553486168, -0.0069380272179841995, 0.03608417138457298, -0.00521047180518508, -0.03008621744811535, -0.02107170782983303, 0.018475763499736786, 0.008213227614760399, 0.042002707719802856, -0.015175431035459042, 0.025628693401813507, 0.010596917010843754, -0.031782254576683044, -0.02345215156674385, 0.013287677429616451, 0.0201247651129961, -0.06649892032146454, -0.03741409257054329, -0.01018826849758625, -0.02739114500582218, 0.02594830095767975, -0.0058953347615897655, 0.009990150108933449, 0.01970238797366619, 0.012529616244137287, 0.049906451255083084, -0.03603547811508179, -0.03236989676952362, 0.019775917753577232, -0.030354421585798264, 0.035066213458776474, -0.05432099476456642, 0.06206498667597771, -0.03291149064898491, 0.005950054153800011, -0.01992238685488701, 0.014177666045725346, -0.04179619625210762, 0.003923565149307251, -0.01122492365539074, -0.00555782113224268, -0.0163064394146204, 0.014468387700617313, -0.01721792109310627, 0.019341040402650833, 0.00620895903557539, 0.032170988619327545, -0.04987156391143799, 0.06719288975000381, -0.030478326603770256, 0.006517460104078054, -0.026100831106305122, -0.0144348731264472, -0.035445455461740494, -0.023667527362704277, -0.009983770549297333, -0.0471244640648365, 0.035150256007909775, 0.06593608856201172, 0.042606305330991745, 0.03259462118148804, -0.040994878858327866, 0.0022674996871501207, 0.006506312172859907, -0.036166153848171234, -0.015493983402848244, 0.019016306847333908, 0.0381615087389946, 0.014808498322963715, 0.02780744433403015, 0.030568746849894524, -0.05069426819682121, -0.06863439083099365, 0.04376991465687752, 0.022539714351296425, -0.014540045522153378, 0.0285043865442276, 0.04299095645546913, 0.02233329974114895, 0.028980398550629616, -0.0362614169716835, -0.021090250462293625, 0.00016325968317687511, -0.0384768545627594, 0.029288526624441147, -0.016663599759340286, 0.012190457433462143, 0.013262877240777016, -0.018898988142609596, -0.01993327960371971, 0.0563257597386837, 0.04269614443182945, 0.01248200237751007, -0.0070629115216434, -0.03834887966513634, -0.001010821433737874, -0.004099038429558277, -0.05346083268523216, 0.0264369398355484, 0.007081245072185993, -0.013309643603861332, 0.07471741735935211, -0.018398568034172058, 0.009578455239534378, 0.026950275525450706, 0.042694274336099625, -0.015884941443800926, 0.06064533069729805, -0.0056611173786222935, 0.0007763993344269693, 0.043024834245443344, -0.062042150646448135, -0.00854438729584217, -0.03371273726224899, 0.07483190298080444, -0.08347274363040924, 0.044841837137937546, 0.04094431921839714, 0.022154293954372406, 0.030184432864189148, -0.034993406385183334, -0.05049271509051323, 0.03681836649775505, -0.054241422563791275, 0.06650235503911972, 0.017138630151748657, -0.06962163001298904, 0.07968297600746155, 0.025284728035330772, -0.08777046203613281, 0.0414239801466465, 0.02392026223242283, 0.030194008722901344, 0.014426210895180702, 0.04264536872506142, -0.06070522964000702, -0.015799159184098244, -0.040261659771203995, 0.022046199068427086, -0.04275115579366684, 0.0014606212498620152, 0.019696462899446487, -0.0703180730342865, -0.008167640306055546, 0.018314188346266747, -0.010844985023140907, -0.0033461826387792826, 0.01364420261234045, -0.05017114803195, -0.03828378766775131, 0.004390595015138388, 0.016773691400885582, -0.043992314487695694, -0.004668417386710644, -0.01972333900630474, 0.0048967041075229645, 0.012890918180346489, 0.0048993732780218124, -0.034710779786109924, -0.036211173981428146, 0.018874038010835648, -0.06103306636214256, -0.06231338158249855, 0.03848228231072426, 0.006247194018214941, -0.02345854975283146, 0.029711922630667686, 0.008293603546917439, 0.030653800815343857, 0.02999635599553585, -0.01767408661544323, 0.04905890300869942, -0.0595971904695034, -0.03606155887246132, -0.011564048938453197, 0.022977089509367943, 0.016799602657556534, -0.01028046477586031, 0.043172117322683334, 0.06468086689710617, 0.019706571474671364, 0.01970473676919937, -0.026669401675462723, -0.007574773393571377, 0.02502826228737831, -0.03973031044006348, 0.026186833158135414, 0.031026823446154594, -0.04536072909832001, -0.020323846489191055, -0.013582736253738403, 0.00015750109741929919, 0.02671605534851551, -0.05505519360303879, -0.0006041200831532478, 0.03303055092692375, -0.02365187183022499, -0.05469308793544769, -0.08523573726415634, -0.035404693335294724, -0.035820771008729935, 0.04671206325292587, 0.04698989912867546, -0.05178532376885414, 0.026765527203679085, -0.044843677431344986, -0.056641966104507446, 0.026719065383076668, 0.022024333477020264, -0.03349422663450241, 0.06499265134334564, 0.03153422102332115, -0.06630782783031464, 0.041899677366018295, 0.031112845987081528, -0.03754428029060364, 0.024360088631510735, 0.007269248832017183, 0.02640608325600624, 0.040225885808467865, 0.012235903181135654, -0.036063939332962036, -0.012361768633127213, -0.06635844707489014, -0.04438561201095581, -0.03792543336749077, 0.002642522333189845, 0.04768071696162224 ]
DecafNosebleed/scarabot-model
[ "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 } } }
6
null
--- language: en license: apache-2.0 tags: - audio-classification - generated_from_trainer metrics: - accuracy - f1 model-index: - name: distil-wav2vec2-xls-r-adult-child-cls-89m results: [] --- # DistilWav2Vec2 XLS-R Adult/Child Speech Classifier 89M DistilWav2Vec2 XLS-R Adult/Child Speech Classifier is an audio classification model based on the [XLS-R](https://arxiv.org/abs/2111.09296) architecture. This model is a distilled version of [wav2vec2-xls-r-adult-child-cls](https://huggingface.co/bookbot/wav2vec2-xls-r-adult-child-cls) on a private adult/child speech classification dataset. This model was trained using HuggingFace's PyTorch framework. All training was done on a Tesla P100, provided by Kaggle. Training metrics were logged via Tensorboard. ## Model | Model | #params | Arch. | Training/Validation data (text) | | ------------------------------------------- | ------- | ----- | ----------------------------------------- | | `distil-wav2vec2-xls-r-adult-child-cls-89m` | 89M | XLS-R | Adult/Child Speech Classification Dataset | ## Evaluation Results The model achieves the following results on evaluation: | Dataset | Loss | Accuracy | F1 | | --------------------------------- | ------ | -------- | ------ | | Adult/Child Speech Classification | 0.3048 | 93.54% | 0.9420 | ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - `learning_rate`: 3e-05 - `train_batch_size`: 32 - `eval_batch_size`: 32 - `seed`: 42 - `gradient_accumulation_steps`: 4 - `total_train_batch_size`: 128 - `optimizer`: Adam with `betas=(0.9,0.999)` and `epsilon=1e-08` - `lr_scheduler_type`: linear - `lr_scheduler_warmup_ratio`: 0.1 - `num_epochs`: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | | :-----------: | :---: | :--: | :-------------: | :------: | :----: | | 0.7711 | 1.0 | 96 | 0.5413 | 0.9017 | 0.9156 | | 0.5551 | 2.0 | 192 | 0.4627 | 0.9164 | 0.9272 | | 0.4166 | 3.0 | 288 | 0.3832 | 0.9261 | 0.9352 | | 0.3928 | 4.0 | 384 | 0.3242 | 0.9331 | 0.9406 | | 0.3622 | 5.0 | 480 | 0.3048 | 0.9354 | 0.9420 | ## Disclaimer Do consider the biases which came from pre-training datasets that may be carried over into the results of this model. ## Authors DistilWav2Vec2 XLS-R Adult/Child Speech Classifier was trained and evaluated by [Wilson Wongso](https://w11wo.github.io/). All computation and development are done on Kaggle. ## Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.034427814185619354, -0.015422252006828785, -0.02420479618012905, 0.043050989508628845, 0.05810302123427391, 0.01949266530573368, -0.014839080162346363, 0.0004431883280631155, -0.010138412937521935, 0.06993900239467621, 0.02645537443459034, -0.01666950434446335, 0.007200752850621939, 0.026531687006354332, -0.026164256036281586, -0.030756324529647827, -0.020485343411564827, -0.01852448657155037, -0.04706751927733421, -0.01277737133204937, 0.002693900605663657, 0.011468293145298958, -0.012318539433181286, 0.02821984887123108, 0.005403283517807722, 0.009544925764203072, -0.007856633514165878, 0.02451152540743351, 0.03668104484677315, -0.03605128452181816, -0.0029534685891121626, -0.05478493124246597, -0.056276895105838776, -0.032526012510061264, -0.014948341995477676, -0.007902216166257858, 0.0059762317687273026, 0.02515666000545025, 0.008538740687072277, 0.031160177662968636, 0.0005993680097162724, 0.025397347286343575, -0.021447179839015007, 0.010748938657343388, 0.04510689899325371, -0.00473405234515667, -0.022666096687316895, -0.03194218873977661, 0.0261877179145813, -0.03452084958553314, -0.03064728155732155, -0.06737738102674484, -0.023235995322465897, 0.028738034889101982, -0.02270379662513733, -0.03193053603172302, -0.0577126070857048, -0.011300376616418362, 0.07991179823875427, -0.03521517291665077, -0.007756579667329788, 0.013385900296270847, -0.07175052911043167, 0.004330476280301809, 0.0328872911632061, -0.059557899832725525, 0.01343955285847187, -0.04150447994470596, 0.021132109686732292, -0.01996944472193718, 0.07797499001026154, -0.040303800255060196, 0.01686788722872734, -0.09395653754472733, 0.017848491668701172, -0.019304977729916573, 0.03793671354651451, 0.03651680797338486, -0.03788486123085022, 0.044169772416353226, 0.03755787014961243, 0.006989944726228714, 0.02435261383652687, -0.021976105868816376, 0.0169677734375, 0.04799703136086464, -0.0555715374648571, 0.0057328976690769196, 0.008526208810508251, 0.04416169971227646, -0.033329855650663376, -0.055983226746320724, -0.03837718069553375, -0.06185483932495117, -0.0027424711734056473, 0.06540932506322861, 0.029209904372692108, -0.022862687706947327, 0.03930582478642464, 0.04736731946468353, 0.031075824052095413, 0.028876300901174545, -0.040794357657432556, 0.057438381016254425, -0.015255652368068695, -0.005327119491994381, -0.0024964322801679373, -0.021366365253925323, -0.05704566463828087, 0.016887662932276726, 0.01748288981616497, -0.024414198473095894, -0.051409829407930374, 0.045507028698921204, -0.0037585042882710695, -0.00510912062600255, 0.06150508299469948, -0.03767350688576698, -0.02179970033466816, -0.044085703790187836, 0.03200826048851013, 0.021561510860919952, 0.0013171498430892825, -0.015947360545396805, -0.04453015327453613, 0.002360287355259061, -0.041663799434900284, -0.014703015796840191, -0.0042894151993095875, 0.0010246809106320143, 0.012482562102377415, 0.07310087233781815, 0.021942317485809326, -0.04830313101410866, -0.014789470471441746, 0.029307857155799866, -0.06762969493865967, 0.019305787980556488, 0.023942358791828156, 0.10020812600851059, -0.06396020948886871, -0.058604057878255844, 0.00281134364195168, 0.016486046835780144, -0.02458665892481804, 0.02651411108672619, 0.003614414017647505, -0.02513287030160427, -0.028733378276228905, -0.00904830638319254, 0.023189907893538475, -0.05625233054161072, 0.0011267882073298097, 0.05417117848992348, -0.0454770028591156, 0.05845847725868225, -0.03971407189965248, 0.014089212752878666, 0.006612380966544151, -0.013892312534153461, -0.03493771329522133, 0.037028875201940536, -0.007891732268035412, -0.01852066069841385, -0.034573569893836975, -0.05053577199578285, 0.010874828323721886, 0.06137130782008171, -0.004992597736418247, -0.0001488008419983089, -0.032973695546388626, 0.019854865968227386, 0.040474943816661835, 0.026972012594342232, -0.02521020732820034, 0.005198610946536064, 0.047132108360528946, 0.0413672998547554, -0.021128511056303978, 0.056356798857450485, 0.018153540790081024, -0.02989964932203293, -0.03911091759800911, -0.011904791928827763, 0.006816045381128788, -0.0396510548889637, 0.0023120001424103975, 0.034091588109731674, 0.0018793839262798429, -0.04228617623448372, -0.042041853070259094, 0.06398042291402817, -0.01655237004160881, -0.021475598216056824, -0.010324087925255299, -0.007854952476918697, -0.03414253890514374, 0.03535562753677368, -0.03460480645298958, 0.009502457454800606, -0.029792482033371925, -0.02154632657766342, 0.0008363787201233208, 0.006699356250464916, 0.028136327862739563, 0.04314552620053291, -0.006846819072961807, 0.07900121062994003, -0.036754071712493896, 0.005849605891853571, -0.021395867690443993, -0.06474949419498444, 0.005175819154828787, 0.05241074040532112, 0.03406435623764992, 0.06844426691532135, -0.0008040329557843506, -0.06578819453716278, 0.03815111145377159, 0.07930591702461243, 0.07998514175415039, 0.0076575810089707375, -0.0277705155313015, 0.0011798569466918707, 0.03370705619454384, 0.04572327062487602, -0.0621473528444767, -0.013088916428387165, 0.007618048693984747, 0.02478707954287529, -0.011753689497709274, 0.02623008005321026, -0.02274925820529461, 0.03762095794081688, -0.06386812031269073, -0.07970211654901505, 0.04461714252829552, 0.011863118037581444, 0.002067538443952799, 0.024322407320141792, -0.017579715698957443, 0.007900822907686234, 0.02557835355401039, 0.022079667076468468, 0.014831745065748692, -0.030432185158133507, 0.015971099957823753, 0.003246933687478304, 0.06061141565442085, -0.07175695896148682, 0.029241394251585007, -0.025739027187228203, -0.0022309627383947372, 0.04341715946793556, -0.044956885278224945, 0.038222573697566986, 0.028583601117134094, 0.004189842380583286, -0.03812388703227043, 0.0493415929377079, 0.002588878385722637, 0.06416790187358856, 0.04806014895439148, 0.004617084749042988, 0.07138340920209885, 0.0109143927693367, 0.04852074012160301, 0.10640367865562439, 0.011716177687048912, 0.007001606747508049, 0.02354215458035469, 0.062129441648721695, 0.008552931249141693, -0.010558325797319412, 0.06815516948699951, -0.03995296359062195, 0.020215915516018867, -0.025559542700648308, -0.0010882647475227714, -0.007624149322509766, -0.0008193292887881398, 0.02321183867752552, 0.022259948775172234, -0.011547232046723366, 0.006958550773561001, -0.024718254804611206, -0.030630696564912796, 0.041943348944187164, -0.016757501289248466, -0.009051493369042873, -0.01088475901633501, -0.009440322406589985, -0.020221570506691933, -0.09241918474435806, -0.05925806611776352, -0.02567428909242153, -0.04031060263514519, 0.013336516916751862, -0.050335489213466644, -0.02130451798439026, -0.09124618023633957, -0.008219853043556213, 0.03177643567323685, 0.019353004172444344, 0.00497905258089304, -0.03275222331285477, 0.020099131390452385, -0.03708086162805557, -0.033441267907619476, -0.05138643458485603, -0.05287429317831993, -0.015005949884653091, -0.04790496826171875, 0.039499711245298386, 0.02610931172966957, 0.0300873052328825, 0.006182457786053419, 0.0010695832315832376, -0.018290577456355095, -0.04017028957605362, 0.0467584952712059, 0.06657623499631882, -0.0552116259932518, -0.05851657688617706, 0.030478158965706825, -0.018667731434106827, 0.012019557878375053, -0.01008259505033493, -0.028070339933037758, 0.05178694427013397, 0.06314627826213837, 0.02254774421453476, 0.03051658719778061, -0.030781522393226624, -0.05469794198870659, -0.06466380506753922, -0.021651724353432655, -0.03119993396103382, -0.0270245261490345, -0.040141236037015915, -0.04157034680247307, -0.026029428467154503, -0.014103044755756855, -0.017605431377887726, -0.0299538467079401, 0.0016363861504942179, 0.02866268716752529, 0.03930949419736862, 0.03745662048459053, 0.0231991708278656, -0.04213208332657814, -0.046383924782276154, 0.05794958397746086, 0.027105409651994705, -0.015212742611765862, -0.08721783012151718, -0.04381018504500389, 0.007412582635879517, 0.03007565625011921, -0.01482584048062563, -0.004825832787901163, 0.07850384712219238, -0.014479255303740501, 0.0018540623132139444, 0.014051869511604309, -0.02403881400823593, -0.0069819544441998005, -0.014566884376108646, -0.007237601559609175, 0.0013664771104231477, -0.059165772050619125, -0.021410513669252396, -0.004048677161335945, 0.05128118395805359, -0.043493229895830154, -0.03543917462229729, -0.0071275257505476475, 0.04483627527952194, 0.03757719695568085, -0.02468176931142807, -0.03132731467485428, 0.0026276486460119486, -0.0776139497756958, -0.006382566876709461, 0.01884073205292225, 0.011564534157514572, 0.02851429022848606, 0.06672430038452148, 0.019733665511012077, -0.018100297078490257, 0.05067134648561478, 0.03331024944782257, 0.08215250819921494, 0.021847939118742943, -0.06325945258140564, -0.00012400251580402255, -0.025206703692674637, 0.03124813921749592, -0.007663800846785307, -0.028194917365908623, -0.041933413594961166, -0.09156433492898941, -0.03550983965396881, 0.010706478729844093, -0.0002415196067886427, -0.010716957040131092, 0.041735634207725525, -0.016139725223183632, -0.006710452027618885, 0.0170475784689188, 0.03203528746962547, 0.035038720816373825, -0.04341389238834381, 0.05543043464422226, 0.008842719718813896, 0.006802698131650686, -0.06869415938854218, 0.014672715216875076, -0.02585591748356819, -0.0361994132399559, -0.002884729765355587, 0.06575959175825119, -0.00039498889236710966, 0.029081307351589203, 0.07262919098138809, 0.027330350130796432, -0.053445786237716675, 0.044443584978580475, 0.040633752942085266, -0.03852958232164383, -0.060966555029153824, 0.019962027668952942, -0.008491818793118, -0.027858512476086617, -0.012929309159517288, -0.014562449418008327, 0.03648605942726135, 0.04961393028497696, -0.0038578184321522713, -0.020977310836315155, 0.026730269193649292, -0.02868153713643551, -0.012286501005291939, -0.038209620863199234, -0.03668328374624252, 0.01614593341946602, -0.012873906642198563, 0.029455874115228653, 0.03331701084971428, 0.027344584465026855, 0.07996322214603424, 0.02358965575695038, -0.030940460041165352, -0.03180217370390892, 0.038880202919244766, 0.015737392008304596, -0.05253997817635536, -0.05152015760540962, -0.026973456144332886, 0.04040580987930298, 0.02113458700478077, -0.011532186530530453, -0.07194054871797562, 0.0042185173369944096, 0.04421166703104973, -0.05128622427582741, 0.07120931148529053, -0.0067618004977703094, 0.04327467456459999, 0.05051463469862938, -0.00039857314550317824, 0.029087921604514122, -0.004068616311997175, -0.0027395423967391253, -0.003058294067159295, 0.020245425403118134, -0.009304762817919254, -0.026438815519213676, -0.06813473254442215, 0.030243057757616043, 0.029916638508439064, 0.02972429431974888, 0.03143325075507164, -0.03744614124298096, -0.0548737607896328, -0.0003398338449187577, 0.03175485134124756, -0.014011566527187824, 0.031843844801187515, 0.015163291245698929, 0.024019144475460052, -0.04424253851175308, -0.029906751587986946, -0.013045176863670349, -0.013335103169083595, 0.02223682403564453, 0.013276638463139534, -0.03606725484132767, -0.025412557646632195, 0.006088715512305498, -0.018965447321534157, -0.01224297285079956, -0.08130727708339691, 0.03439607843756676, -0.014850216917693615, -0.0025689282920211554, 0.05469609797000885, 0.04429003596305847, 0.06497828662395477, 0.03331958130002022, 0.025510238483548164, 0.02486446313560009, -0.032423969358205795, 0.04710359498858452, -0.0369613841176033, -0.02406749129295349, 0.004950980190187693, -0.02507377229630947, -0.03631402924656868, -0.03253290057182312, -0.0495670884847641, -0.043471917510032654, -0.014249042607843876, 0.045310117304325104, -0.020346615463495255, -0.0262092724442482, -0.02249934710562229, 0.01102109719067812, -0.015795227140188217, -0.0041532875038683414, -0.027460716664791107, -0.009118195623159409, -0.04901536554098129, -0.039858151227235794, 0.030067889019846916, -0.02611006796360016, 0.00821426510810852, -0.002477658446878195, 0.014553521759808064, 0.0280983354896307, -0.00048153731040656567, -0.008425219915807247, 0.03624047338962555, -0.005458378698676825, -0.030783068388700485, -0.022966163232922554, 0.019652146846055984, 0.008479009382426739, 0.039989881217479706, -0.01519583910703659, 0.02629232034087181, 0.011018902063369751, -0.032253723591566086, -0.02382040210068226, 0.012721879407763481, 0.020961804315447807, -0.06623044610023499, -0.03838036209344864, -0.01070575974881649, -0.02868877910077572, 0.026015358045697212, -0.005182456690818071, 0.010279023088514805, 0.020451396703720093, 0.012948933988809586, 0.04867463931441307, -0.03608318418264389, -0.03179482743144035, 0.019931042566895485, -0.03127960115671158, 0.03459307551383972, -0.05408943071961403, 0.06243481859564781, -0.03557630255818367, 0.005938486196100712, -0.01928023062646389, 0.014364265836775303, -0.04204048588871956, 0.004509188700467348, -0.01226644404232502, -0.005452997051179409, -0.015364238992333412, 0.013988996855914593, -0.017622020095586777, 0.019265808165073395, 0.005670700687915087, 0.033932529389858246, -0.04800448194146156, 0.06679170578718185, -0.029019655659794807, 0.007707109674811363, -0.025286316871643066, -0.012982061132788658, -0.034151963889598846, -0.02275778539478779, -0.010254215449094772, -0.04719092324376106, 0.03535781428217888, 0.06371360272169113, 0.04193918779492378, 0.0323931910097599, -0.041688598692417145, 0.002058157231658697, 0.003935805056244135, -0.03748282045125961, -0.015975991263985634, 0.019322870299220085, 0.035914164036512375, 0.012899625115096569, 0.029709357768297195, 0.03069433569908142, -0.05003073811531067, -0.06995619833469391, 0.04248284175992012, 0.02194036915898323, -0.014370745047926903, 0.028120489791035652, 0.04286753758788109, 0.02090977318584919, 0.02868681028485298, -0.037216585129499435, -0.02286195568740368, -0.0011545139132067561, -0.038561850786209106, 0.02807634510099888, -0.01687818393111229, 0.013132262974977493, 0.012735075317323208, -0.020050253719091415, -0.02107556164264679, 0.05431228131055832, 0.041457194834947586, 0.013174450956285, -0.005880897399038076, -0.037438370287418365, -0.00022527015244122595, -0.005175774451345205, -0.052956871688365936, 0.024636607617139816, 0.0072355857118964195, -0.014050238765776157, 0.07427145540714264, -0.01668439619243145, 0.009232079610228539, 0.02700696513056755, 0.042909909039735794, -0.015239279717206955, 0.06253177672624588, -0.006466979160904884, 0.003589256200939417, 0.042401161044836044, -0.060544759035110474, -0.009945225901901722, -0.03223969414830208, 0.0752093642950058, -0.08251366019248962, 0.04386279731988907, 0.04354255273938179, 0.023602308705449104, 0.029869256541132927, -0.036019694060087204, -0.05015454813838005, 0.03718867525458336, -0.05461419001221657, 0.06718961149454117, 0.01854223571717739, -0.06890127062797546, 0.0809183344244957, 0.024904996156692505, -0.08842490613460541, 0.0413343571126461, 0.02556787058711052, 0.03125142678618431, 0.014940297231078148, 0.04573972150683403, -0.06117019057273865, -0.015948085114359856, -0.03915141150355339, 0.02198626473546028, -0.044099874794483185, 0.0020034878980368376, 0.018735241144895554, -0.07039570063352585, -0.007132531609386206, 0.0182158462703228, -0.009140930138528347, -0.004462649580091238, 0.013635027222335339, -0.05150251463055611, -0.036976613104343414, 0.00392915541306138, 0.0175575353205204, -0.042473647743463516, -0.00465755071491003, -0.02102585695683956, 0.0060953847132623196, 0.013105462305247784, 0.006235589738935232, -0.03527481481432915, -0.036526065319776535, 0.020118894055485725, -0.06071240082383156, -0.06224510073661804, 0.038198523223400116, 0.006217124871909618, -0.02386641502380371, 0.0304368045181036, 0.009111386723816395, 0.03198118135333061, 0.03035811148583889, -0.019113676622509956, 0.04844215139746666, -0.06117229908704758, -0.035372305661439896, -0.011004804633557796, 0.02098207361996174, 0.0173345897346735, -0.009560663253068924, 0.04240734502673149, 0.06400775909423828, 0.01981733739376068, 0.01845095492899418, -0.027750350534915924, -0.008388515561819077, 0.02451941929757595, -0.039532020688056946, 0.027486825361847878, 0.030633244663476944, -0.046352364122867584, -0.018950330093503, -0.01163624506443739, -0.00009637707989895716, 0.02848314493894577, -0.056313853710889816, -0.0004456080205272883, 0.03343472257256508, -0.022458042949438095, -0.05555418133735657, -0.08524850755929947, -0.036147188395261765, -0.033905066549777985, 0.04754893109202385, 0.047438476234674454, -0.05161404609680176, 0.025436731055378914, -0.04538953676819801, -0.056129079312086105, 0.025929076597094536, 0.0234979297965765, -0.032963257282972336, 0.06494411826133728, 0.031998563557863235, -0.06474180519580841, 0.04089786857366562, 0.030278608202934265, -0.03560289368033409, 0.023009760305285454, 0.0061890725046396255, 0.023930639028549194, 0.039867665618658066, 0.013434834778308868, -0.03664069622755051, -0.009449128992855549, -0.06840689480304718, -0.04387857764959335, -0.03991543874144554, 0.002679259516298771, 0.047544460743665695 ]
Declan/Reuters_model_v5
[ "pytorch", "bert", "fill-mask", "transformers", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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
# [models/cnstd](models/cnstd) 存放 [cnstd](https://github.com/breezedeus/cnstd) 中使用的模型。 # [models/cnocr](models/cnocr) 存放 [cnocr](https://github.com/breezedeus/cnocr) 中使用的模型。
[ -0.03673394024372101, -0.010174162685871124, -0.02147333137691021, 0.013128085993230343, 0.035948093980550766, 0.02805088646709919, -0.017117151990532875, -0.0169986542314291, -0.048055026680231094, 0.038709331303834915, 0.02311701513826847, 0.00022309576161205769, 0.013823335990309715, 0.05666624754667282, -0.020820071920752525, -0.028430547565221786, -0.01960020884871483, -0.00680740037932992, -0.07913628965616226, -0.04459783062338829, 0.045222003012895584, 0.008220631629228592, -0.015266701579093933, -0.007473025470972061, -0.0005256849690340459, 0.005284900777041912, 0.016296491026878357, 0.0399140939116478, 0.029247112572193146, -0.05348866805434227, 0.000025232695406884886, -0.03858198970556259, -0.033641792833805084, -0.031318895518779755, -0.007268714252859354, 0.026679085567593575, 0.007347903214395046, -0.002145141363143921, 0.016414564102888107, 0.03708934038877487, -0.025411877781152725, 0.03159230574965477, -0.035412393510341644, -0.0005801354418508708, 0.07271234691143036, -0.005008948501199484, -0.03609491139650345, -0.03967854753136635, 0.037562884390354156, -0.017597422003746033, -0.04782167449593544, -0.06753375381231308, 0.0031549849081784487, 0.021477635949850082, -0.018030405044555664, -0.03767131641507149, -0.0701967254281044, -0.009674939326941967, 0.06099775433540344, -0.038041986525058746, -0.023100141435861588, 0.008914937265217304, -0.0812399610877037, -0.010328378528356552, 0.02176174707710743, -0.030393540859222412, 0.010749326087534428, -0.015255817212164402, 0.016345283016562462, 0.0020681051537394524, 0.044933442026376724, -0.05105668678879738, -0.0040020691230893135, -0.05814150720834732, -0.016409706324338913, -0.015905719250440598, 0.0633099228143692, 0.021091986447572708, -0.033528394997119904, 0.032322000712156296, 0.030765395611524582, 0.016037484630942345, 0.034956734627485275, 0.022120904177427292, -0.014890509657561779, 0.03522195294499397, -0.038599271327257156, -0.011329138651490211, -0.004309801384806633, 0.04547126963734627, -0.04081393778324127, -0.05485392361879349, 0.010123683139681816, -0.03823976218700409, -0.022866321727633476, 0.021603742614388466, 0.0664931908249855, -0.018556348979473114, 0.013707641512155533, 0.028828563168644905, 0.038844652473926544, 0.019081750884652138, -0.005256371106952429, 0.04893404245376587, -0.006451444234699011, 0.011876482516527176, -0.028102854266762733, -0.03299989923834801, -0.03260992467403412, 0.03840477019548416, 0.013844549655914307, -0.020330727100372314, -0.03170290216803551, 0.010506842285394669, 0.005235813092440367, -0.028291063383221626, 0.046956490725278854, -0.03576212748885155, -0.049787040799856186, -0.047043245285749435, 0.03904203325510025, 0.031087515875697136, -0.018558619543910027, -0.009611918590962887, -0.05258798226714134, 0.02189343236386776, -0.040028978139162064, -0.0194613728672266, -0.022678937762975693, 0.019088011234998703, 0.011655512265861034, 0.03260238468647003, 0.05000520870089531, -0.09793924540281296, 0.01296191941946745, 0.00569197116419673, -0.06143146753311157, 0.05345441773533821, -0.016612837091088295, 0.09602705389261246, -0.06190488860011101, -0.059697166085243225, 0.016872597858309746, -0.00015477633860427886, -0.026708707213401794, 0.012209732085466385, 0.005214899778366089, -0.06492581963539124, -0.03261594474315643, -0.025599626824259758, 0.0770280659198761, -0.04071831703186035, -0.0032583873253315687, 0.043993014842271805, 0.021229859441518784, 0.03770019859075546, -0.04278796166181564, -0.021274384111166, 0.006533674895763397, 0.006128694396466017, -0.03453671559691429, 0.04408353194594383, -0.01969156786799431, -0.0403447300195694, -0.02078353241086006, -0.06348199397325516, 0.004439154174178839, 0.07027114182710648, -0.003244733205065131, -0.013635402545332909, -0.029363827779889107, 0.02275083214044571, 0.02561882510781288, 0.04107361659407616, -0.02918008156120777, 0.03516997769474983, 0.05437524616718292, 0.025946136564016342, -0.02666749432682991, 0.062069084495306015, 0.03325166925787926, -0.05172985792160034, -0.020558031275868416, 0.00032492505852133036, 0.02914779633283615, -0.007932508364319801, -0.010696067474782467, 0.05561479553580284, -0.023032035678625107, -0.06647663563489914, -0.02589641883969307, 0.03168578818440437, -0.01212582178413868, -0.027533438056707382, -0.020492129027843475, -0.036978282034397125, -0.02027750574052334, 0.025709811598062515, 0.007452444173395634, -0.0055139390751719475, -0.03630348667502403, -0.02245517633855343, 0.01150073017925024, 0.026590866968035698, 0.018247919157147408, 0.05038541927933693, -0.013447985053062439, 0.07088080793619156, -0.05387740209698677, 0.014475250616669655, -0.04527921602129936, -0.04661959037184715, -0.03173401206731796, 0.06191640719771385, 0.036003466695547104, 0.027804285287857056, -0.033857736736536026, -0.03700163587927818, 0.06647777557373047, 0.05635426193475723, 0.05000534653663635, 0.015143714845180511, -0.0020034511107951403, -0.0028301605489104986, 0.03146789222955704, 0.04062369838356972, -0.04153357073664665, -0.04188070073723793, 0.038463447242975235, 0.022515499964356422, -0.04689076915383339, -0.0018178373575210571, -0.021084358915686607, 0.0234226044267416, -0.028169965371489525, -0.08522246032953262, 0.057227689772844315, 0.032066069543361664, 0.02091895043849945, 0.02381286583840847, -0.025670038536190987, 0.010854246094822884, 0.024985797703266144, 0.018753796815872192, 0.0003468042123131454, -0.04611843079328537, 0.029933186247944832, 0.025140821933746338, 0.031006818637251854, -0.06439359486103058, 0.02624387852847576, 0.0014975157100707293, 0.024770183488726616, 0.02704167179763317, -0.04849238321185112, 0.02548649162054062, 0.07011181861162186, 0.034283824265003204, -0.03860427439212799, 0.026734475046396255, 0.0034494739957153797, 0.03378032520413399, 0.058556199073791504, -0.011910328641533852, 0.05095553770661354, -0.04434853792190552, 0.02561023272573948, 0.06367471069097519, 0.027971819043159485, 0.00839187204837799, 0.0019088702974840999, 0.06276015937328339, -0.01621457189321518, 0.02892044559121132, 0.07633271813392639, -0.036702800542116165, 0.0027543872129172087, -0.04549337178468704, 0.00044495612382888794, -0.02078637294471264, -0.012419633567333221, 0.039353929460048676, 0.009778364561498165, -0.04999161884188652, 0.005413660779595375, -0.004227000754326582, 0.002606085268780589, 0.014986339956521988, -0.00499166501685977, -0.016515672206878662, -0.0014354137238115072, -0.014352296479046345, -0.01615227945148945, -0.06024222448468208, -0.029401130974292755, -0.03802648186683655, -0.052124716341495514, -0.011207656003534794, -0.05774203687906265, -0.024665383622050285, -0.08736632019281387, -0.012164209969341755, 0.03971831500530243, 0.012022165581583977, -0.010662487708032131, -0.027862366288900375, 0.04706753045320511, -0.04848876968026161, -0.06038342043757439, -0.06757690012454987, -0.04805300012230873, -0.0236833319067955, -0.06789672374725342, 0.04415128380060196, 0.026293814182281494, 0.014924366027116776, 0.009837556630373001, -0.00033376619103364646, -0.0081323878839612, -0.022109203040599823, 0.04776044189929962, 0.04953644424676895, -0.0005942229763604701, -0.009486807510256767, 0.02883138507604599, -0.004361649043858051, 0.006465588696300983, -0.051969822496175766, -0.03721223399043083, 0.03592733293771744, 0.06791596114635468, -0.007315874099731445, 0.02326168306171894, 0.021436169743537903, -0.05688650533556938, -0.04511274769902229, -0.03775259107351303, -0.03342951461672783, 0.002358710626140237, -0.047298550605773926, -0.008584724739193916, -0.008096606470644474, -0.029351893812417984, -0.03376973420381546, -0.03707204386591911, 0.004753917455673218, 0.02979085221886635, 0.02175849676132202, 0.03283855691552162, 0.02652362734079361, -0.04095856845378876, -0.047138761729002, 0.049481868743896484, -0.005032561719417572, 0.01158055942505598, -0.0641111433506012, -0.0456567220389843, 0.03350938856601715, 0.0035894231405109167, 0.0017849633004516363, -0.03282494097948074, 0.07165110856294632, -0.0004413626156747341, 0.0006690316367894411, -0.003248316701501608, 0.003157527418807149, 0.02350376360118389, 0.013929658569395542, 0.005070962943136692, -0.007865501567721367, -0.03424752503633499, -0.008577347733080387, 0.008402777835726738, 0.05508040636777878, -0.043308839201927185, -0.06915023177862167, 0.016312401741743088, -0.0002743470249697566, 0.028051238507032394, 0.0245048925280571, -0.06271324306726456, -0.006181368138641119, -0.03706581890583038, -0.00726217869669199, 0.009948719292879105, 0.010139599442481995, 0.024930084124207497, 0.05242801457643509, 0.02976694144308567, -0.027233557775616646, 0.013647736050188541, 0.038163863122463226, 0.009481794200837612, 0.0072057368233799934, -0.0432957299053669, -0.0013275186065584421, -0.033843718469142914, 0.005906124133616686, 0.02712612971663475, -0.014241408556699753, -0.03996414691209793, -0.06322342902421951, -0.05578706040978432, 0.03179468214511871, -0.01797688938677311, 0.010546318255364895, 0.03622064366936684, -0.011572676710784435, -0.025957992300391197, -0.006533883977681398, 0.029697300866246223, 0.018852032721042633, -0.043977510184049606, 0.05591077357530594, 0.005038877483457327, -0.018064303323626518, -0.057170573621988297, -0.015672776848077774, -0.03929884731769562, -0.012260784395039082, 0.005923796910792589, 0.03973071649670601, 0.02486995793879032, 0.06622810661792755, 0.07799683511257172, -0.0030431002378463745, -0.018047504127025604, 0.039168570190668106, 0.05947096645832062, -0.025468548759818077, -0.05616619065403938, 0.022127652540802956, 0.012579732574522495, -0.02414424531161785, 0.020916568115353584, 0.007466031238436699, 0.04257351532578468, 0.04183010384440422, -0.00399289233610034, 0.007967624813318253, -0.003680706024169922, -0.01117431465536356, -0.047952886670827866, -0.057151298969984055, -0.02076874114573002, 0.023124203085899353, -0.03975681588053703, 0.014746933244168758, 0.06971020251512527, 0.00810247752815485, 0.05786667391657829, 0.035005975514650345, -0.03144087642431259, -0.054011646658182144, 0.05033601447939873, 0.03489234298467636, -0.047742702066898346, -0.06556098908185959, -0.030112730339169502, 0.02716982178390026, 0.03024403564631939, -0.017040153965353966, -0.04620436206459999, 0.020831316709518433, 0.07347436994314194, -0.05256302282214165, 0.05045701190829277, -0.003264450700953603, 0.04157896712422371, 0.05681660771369934, -0.051634494215250015, 0.037208326160907745, -0.04600558802485466, 0.010976587422192097, 0.004513529594987631, 0.0069001782685518265, -0.007706077303737402, -0.06880269199609756, -0.030815623700618744, 0.051499851047992706, 0.018760958686470985, 0.0340924933552742, 0.04590059071779251, -0.0464518666267395, -0.05149378627538681, -0.022666554898023605, 0.054046157747507095, -0.04834472015500069, 0.030487094074487686, 0.060592345893383026, 0.025167835876345634, -0.04271183907985687, -0.06129246950149536, -0.01949288509786129, -0.008507655002176762, 0.010970864444971085, -0.019741525873541832, -0.04899640381336212, -0.03218434378504753, 0.00667510787025094, -0.0013725992757827044, -0.0026005886029452085, -0.08346354961395264, 0.023170512169599533, -0.03127828985452652, -0.04302714765071869, 0.041097164154052734, 0.05533135309815407, 0.050622571259737015, 0.07085972279310226, -0.003690579207614064, -0.020022045820951462, -0.03374776616692543, 0.022404933348298073, -0.03611677139997482, -0.029166746884584427, -0.0007058695773594081, -0.03889342024922371, -0.03861328586935997, -0.011708885431289673, -0.04846782982349396, -0.02851804345846176, -0.016867119818925858, 0.0466560535132885, -0.012756035663187504, -0.005241252947598696, -0.013319128192961216, 0.0069093843922019005, -0.018425969406962395, -0.04400504380464554, -0.041526585817337036, -0.03958356752991676, -0.06242140009999275, -0.05377823859453201, 0.021302932873368263, -0.0026669383514672518, 0.017860593274235725, 0.01283529493957758, 0.032498978078365326, 0.027216391637921333, 0.023578280583024025, -0.0340825691819191, 0.025478847324848175, 0.030857717618346214, -0.03275163471698761, -0.040547363460063934, -0.013261414133012295, 0.044514719396829605, 0.06734266877174377, -0.03166840225458145, 0.042237941175699234, 0.022024353966116905, -0.03987451270222664, -0.036320362240076065, 0.05991116538643837, 0.024009283632040024, -0.025102220475673676, -0.0076681459322571754, -0.006980168633162975, -0.03297322243452072, 0.05521610379219055, -0.03592952340841293, -0.03200113773345947, 0.0031319516710937023, 0.010595940053462982, 0.049473777413368225, -0.013377198949456215, -0.052923545241355896, 0.005073979031294584, -0.054559871554374695, 0.003940860275179148, -0.022729096934199333, 0.010391980409622192, -0.03588731214404106, 0.03610832616686821, -0.026609089225530624, -0.0014110025949776173, -0.036722294986248016, 0.04428812488913536, -0.023806635290384293, -0.03467148169875145, -0.014212292619049549, 0.03425559028983116, -0.021398836746811867, 0.06764839589595795, -0.013424597680568695, 0.017430264502763748, -0.00637859245762229, 0.0657186359167099, -0.029263410717248917, 0.0036754009779542685, -0.05048568919301033, -0.008391795679926872, -0.06628940999507904, -0.026106009259819984, -0.006683482322841883, -0.05068699270486832, 0.03063858672976494, 0.045451413840055466, 0.008696988224983215, 0.02282811515033245, -0.017914092168211937, -0.00869569182395935, 0.007451831828802824, -0.042228780686855316, -0.025373995304107666, -0.03160438314080238, 0.012496164068579674, -0.009617323987185955, 0.029663030058145523, 0.030412187799811363, -0.06519162654876709, -0.035431310534477234, 0.06673324108123779, 0.026943573728203773, 0.007385926321148872, 0.0072420937940478325, 0.016076212748885155, 0.02086235210299492, 0.029034536331892014, -0.034016627818346024, -0.0013431061524897814, -0.008055027574300766, -0.035631343722343445, 0.025224367156624794, -0.010775767266750336, 0.029241833835840225, -0.0023464811965823174, -0.02246236428618431, -0.016337880864739418, 0.08388491719961166, 0.006679085083305836, 0.004557486157864332, -0.012151245027780533, -0.023560987785458565, 0.05204213410615921, 0.010135413147509098, -0.034398049116134644, 0.03587660565972328, 0.04339678958058357, -0.0439106747508049, 0.07614213973283768, 0.014662671834230423, 0.021275851875543594, 0.00281581305898726, 0.05267535150051117, -0.02060934714972973, 0.0633150264620781, -0.040201738476753235, 0.03488072007894516, 0.04599464312195778, -0.049219485372304916, 0.0059425318613648415, -0.04338011518120766, 0.06255106627941132, -0.09937020391225815, 0.06471224129199982, 0.05778844282031059, 0.005805251654237509, -0.005357860121876001, -0.029606683179736137, -0.029537223279476166, -0.0013515464961528778, -0.04979153349995613, 0.056086745113134384, -0.016917159780859947, -0.04531756415963173, 0.09710384905338287, 0.015183021314442158, -0.07917562127113342, 0.03794301673769951, 0.033142413944005966, 0.014474696479737759, 0.038723234087228775, 0.03496840223670006, -0.037521909922361374, 0.01609887182712555, -0.028436698019504547, 0.04102278873324394, -0.025621220469474792, -0.021129440516233444, 0.033357296139001846, -0.04618830606341362, -0.020870475098490715, 0.05197248235344887, 0.009529801085591316, 0.013560752384364605, 0.04692864418029785, -0.042733561247587204, -0.04438881203532219, 0.01658737286925316, 0.07942700386047363, 0.005374082364141941, -0.020094919949769974, -0.00005429557495517656, 0.00932149775326252, 0.02195391058921814, 0.0005674893618561327, -0.04478577896952629, 0.007092630956321955, 0.031984634697437286, -0.06600923091173172, -0.023279566317796707, 0.02593841217458248, -0.013111023232340813, -0.03531859070062637, 0.053930722177028656, -0.0030004538130015135, 0.05373629182577133, 0.004859598353505135, -0.007799300830811262, 0.01895637810230255, -0.04030343145132065, -0.0410957895219326, 0.020634710788726807, 0.0010986855486407876, 0.03792146220803261, -0.028900204226374626, 0.016714831814169884, 0.051796481013298035, 0.01585661619901657, 0.011115423403680325, -0.02696409821510315, -0.026196876540780067, 0.014243856072425842, -0.04228964075446129, -0.00011233553232159466, -0.024419130757451057, -0.04853557050228119, -0.04302431270480156, -0.007706350646913052, -0.02411002106964588, 0.04883117228746414, -0.06385660916566849, 0.011208061128854752, 0.030551724135875702, -0.00039849101449362934, -0.07254121452569962, -0.05868925154209137, -0.02775423415005207, -0.027734356001019478, 0.011097981594502926, -0.002127254381775856, -0.029702898114919662, 0.027223430573940277, -0.04595986008644104, -0.06886764615774155, 0.024749523028731346, 0.04742325097322464, -0.037705451250076294, 0.03380535915493965, 0.0855560451745987, -0.01790878362953663, -0.006484244484454393, 0.022219182923436165, -0.04051189497113228, 0.02874680422246456, -0.02677878551185131, 0.007197580765932798, 0.045660350471735, 0.006026008632034063, -0.008314738050103188, -0.011091139167547226, -0.019977955147624016, -0.05930027365684509, -0.017972249537706375, -0.010703816078603268, 0.027147740125656128 ]
Declan/test_model
[]
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 --- # RickBot built for [Chai](https://chai.ml/) Make your own [here](https://colab.research.google.com/drive/1o5LxBspm-C28HQvXN-PRQavapDbm5WjG?usp=sharing)
[ -0.014600611291825771, 0.011047574691474438, -0.002505706623196602, 0.025152774527668953, 0.023659538477659225, -0.0032209819182753563, -0.010315196588635445, 0.020202822983264923, -0.03274944797158241, 0.03555113822221756, 0.047901928424835205, 0.0015214524464681745, 0.016969917342066765, 0.05027349293231964, -0.03197212517261505, -0.03320442885160446, -0.021389419212937355, 0.01704474911093712, -0.04423084110021591, -0.00039335936889983714, 0.04222455620765686, 0.007099492009729147, -0.008334524929523468, 0.0403171144425869, 0.00683333957567811, 0.012694485485553741, -0.008937549777328968, 0.010656015016138554, 0.009842606261372566, -0.05196663737297058, 0.00910602230578661, -0.04352019354701042, -0.010615527629852295, -0.053650278598070145, -0.027114301919937134, -0.03540773317217827, 0.018701869994401932, -0.010653214529156685, -0.010191046632826328, 0.038860078901052475, -0.011663883924484253, -0.003949979320168495, 0.013400653377175331, -0.049292176961898804, 0.08727540075778961, 0.006584783550351858, -0.05303487554192543, -0.015082619152963161, 0.0035565467551350594, -0.04329835996031761, -0.057070571929216385, -0.0656714141368866, -0.052059393376111984, -0.006903468165546656, 0.0018430821364745498, -0.04861997067928314, -0.06268256902694702, 0.0024326585698872805, 0.08292404562234879, -0.050103191286325455, -0.014444184489548206, -0.009790277108550072, -0.08573908358812332, 0.024392176419496536, 0.02708612009882927, -0.07459419965744019, 0.018035385757684708, -0.04511769115924835, 0.0008611963712610304, -0.03901916369795799, 0.06156758964061737, -0.040940795093774796, 0.011024088598787785, -0.07292535156011581, -0.023147936910390854, -0.023551715537905693, 0.034111637622117996, 0.06640744209289551, -0.04251047596335411, 0.037112150341272354, 0.050704505294561386, 0.0023623572196811438, 0.06890673190355301, -0.02411239594221115, -0.01986541599035263, 0.0415768101811409, -0.05036459490656853, 0.004160416312515736, 0.01656780019402504, 0.04476805403828621, -0.025318671017885208, -0.05160239338874817, -0.02618142031133175, -0.008014408871531487, 0.003082353388890624, 0.03467965126037598, 0.043378956615924835, -0.005577972624450922, 0.02768385037779808, 0.034362249076366425, 0.028749462217092514, 0.06408089399337769, -0.0007537167402915657, 0.030690645799040794, -0.006015969906002283, 0.013826068490743637, 0.012907564640045166, -0.008940943516790867, -0.0561952069401741, 0.029694214463233948, 0.01203091535717249, -0.043827690184116364, -0.03228285536170006, 0.017330924049019814, 0.0183087307959795, 0.003051956184208393, 0.025983478873968124, -0.04499928280711174, -0.05010392144322395, -0.058273497968912125, 0.05364581197500229, -0.019732940942049026, -0.02616148814558983, 0.00744111742824316, -0.03807489573955536, -0.0033460527192801237, -0.0481918565928936, -0.01735825650393963, -0.015369842760264874, 0.0014962614513933659, 0.023509014397859573, 0.04948761314153671, -0.028772344812750816, -0.05839237943291664, -0.005560579244047403, 0.04690755531191826, -0.06438268721103668, 0.010278222151100636, 0.04492159187793732, 0.0790366604924202, -0.0909191444516182, -0.04158732667565346, 0.00901452824473381, 0.02142244204878807, -0.044230010360479355, -0.01217513345181942, 0.004027326591312885, -0.002050253562629223, -0.0308722872287035, -0.004294304177165031, 0.044578950852155685, -0.054867181926965714, -0.009748340584337711, 0.04013894125819206, 0.02354101836681366, 0.018986286595463753, -0.03556482866406441, -0.016606660559773445, 0.029904203489422798, -0.015546685084700584, -0.03682180866599083, 0.02794996090233326, -0.019971217960119247, -0.03522299975156784, -0.012835323810577393, -0.023277947679162025, -0.00838204100728035, 0.09156812727451324, 0.0029816976748406887, -0.014473220333456993, -0.03378395736217499, 0.03259490802884102, 0.058222901076078415, 0.01303185150027275, -0.0005627094651572406, 0.01917291060090065, 0.05986018478870392, 0.0376887209713459, -0.035131193697452545, 0.06743834912776947, 0.028364380821585655, -0.029653102159500122, -0.026519721373915672, -0.009903829544782639, 0.035931382328271866, -0.015185383148491383, 0.021882956847548485, 0.050306592136621475, -0.015872379764914513, -0.046294912695884705, 0.019958559423685074, 0.05321120843291283, 0.005247099790722132, -0.015259441919624805, -0.006653659511357546, -0.03847343474626541, -0.03536972030997276, 0.02969229407608509, -0.0062578096985816956, -0.011828402988612652, -0.03759871423244476, -0.007603915873914957, 0.034796785563230515, -0.023902438580989838, -0.0010705039603635669, 0.048124052584171295, -0.04291706159710884, 0.0752495527267456, -0.023766446858644485, 0.01648438349366188, -0.0267549566924572, -0.02627047337591648, -0.02052784524857998, 0.06580726057291031, 0.0033784506376832724, 0.04956388846039772, -0.03650621324777603, -0.03408382833003998, 0.029165759682655334, 0.06305708736181259, 0.04073897376656532, 0.026911016553640366, -0.013191957026720047, 0.007200056686997414, 0.022239070385694504, 0.0480312705039978, -0.04634479060769081, 0.010399363934993744, 0.006034792400896549, 0.041117113083601, -0.034217700362205505, -0.019461216405034065, -0.015475514344871044, 0.016523417085409164, -0.03244590759277344, -0.04715999960899353, 0.07058336585760117, 0.027330033481121063, 0.005566149950027466, 0.04346577078104019, 0.015786178410053253, -0.015925301238894463, 0.033547259867191315, 0.01933411881327629, 0.028408095240592957, -0.07856114953756332, 0.01698230393230915, 0.0510275661945343, 0.09848354011774063, -0.03098617121577263, 0.024258509278297424, 0.010875081643462181, 0.012115753255784512, 0.015664972364902496, -0.03341587632894516, 0.04125399515032768, 0.06665333360433578, 0.044545698910951614, -0.007144693750888109, 0.03880475088953972, 0.00027204558136872947, -0.0033204315695911646, 0.03791751340031624, -0.008245392702519894, 0.07861877977848053, -0.03053354099392891, 0.02702101692557335, 0.052046410739421844, 0.013137053698301315, 0.0014330155681818724, 0.016295095905661583, 0.0786224901676178, 0.030855407938361168, 0.017108209431171417, 0.04366545379161835, -0.00545542174950242, 0.01314342487603426, -0.04932519420981407, -0.0077408249489963055, -0.0032790740951895714, -0.020670371130108833, 0.02865469828248024, 0.01520523801445961, -0.008825462311506271, -0.011028144508600235, -0.009922852739691734, -0.021908694878220558, 0.05934324860572815, 0.00817012321203947, -0.007614027243107557, 0.004373573698103428, -0.0031543243676424026, 0.03499405086040497, -0.06438570469617844, -0.04416617006063461, -0.0019822714384645224, -0.03455831855535507, 0.0006366192828863859, -0.08293754607439041, -0.03263435140252113, -0.074194997549057, -0.00719909742474556, 0.048886120319366455, 0.030322497710585594, -0.0015067311469465494, 0.007680969312787056, 0.006686506327241659, -0.03362894058227539, -0.07045594602823257, -0.05355895310640335, -0.032578904181718826, -0.005073937121778727, -0.06594733148813248, 0.025630827993154526, 0.028977543115615845, 0.04169340804219246, -0.0028377447742968798, -0.017924094572663307, -0.058155156672000885, -0.010731675662100315, 0.0425751730799675, 0.012595737352967262, -0.049525171518325806, -0.03373142331838608, 0.032245367765426636, 0.001586852129548788, -0.014023179188370705, -0.0013640440301969647, -0.03607999160885811, 0.05596945807337761, 0.04278383031487465, -0.011419547721743584, 0.0031497282907366753, -0.021024588495492935, -0.04438798502087593, -0.027459822595119476, -0.03553791716694832, -0.022913798689842224, -0.029436785727739334, -0.033954281359910965, -0.04540269821882248, -0.03467952832579613, -0.04035324603319168, -0.02246931940317154, 0.0028250047471374273, -0.011228175833821297, 0.04187529534101486, 0.01721084676682949, 0.035388652235269547, 0.021708816289901733, -0.027174189686775208, -0.018007682636380196, 0.06154059246182442, -0.02045731246471405, -0.017568938434123993, -0.07079003006219864, -0.047535333782434464, 0.051774002611637115, 0.01067118439823389, 0.003637705696746707, -0.005221022292971611, 0.030658068135380745, 0.041954003274440765, -0.017883578315377235, 0.0280594602227211, -0.039782360196113586, -0.008930508978664875, -0.013506545685231686, -0.025084251537919044, -0.05270431190729141, -0.039532411843538284, 0.00008843912655720487, -0.016442829743027687, 0.02043694444000721, -0.06724558025598526, -0.06247962638735771, -0.027392368763685226, -0.02329036220908165, 0.015232316218316555, -0.0086740180850029, -0.04647872596979141, 0.004681467078626156, -0.03134524077177048, 0.0015075559495016932, 0.007513371761888266, -0.03181521221995354, -0.00259776902385056, 0.0248101893812418, 0.0011452710023149848, -0.013833041302859783, 0.0653301551938057, 0.005482525564730167, 0.06392186135053635, 0.037237320095300674, -0.03896776959300041, 0.035501036792993546, -0.01780220866203308, 0.0174389835447073, -0.022749511525034904, -0.015182663686573505, -0.016536062583327293, -0.10178786516189575, -0.044979192316532135, 0.03803550451993942, -0.028690576553344727, -0.0025797602720558643, 0.03394385054707527, -0.044084470719099045, -0.016801543533802032, 0.0010560681112110615, 0.056300777941942215, 0.027000825852155685, -0.011775797232985497, 0.03872869163751602, 0.002610765863209963, 0.033397845923900604, -0.05083189159631729, -0.00836121290922165, -0.04257342219352722, 0.012444471940398216, 0.008587844669818878, 0.05379966273903847, -0.0007860356708988547, 0.056764867156744, 0.07648720592260361, 0.01718868501484394, -0.03400811553001404, 0.036127038300037384, 0.05629492178559303, -0.0181921124458313, -0.05599229410290718, 0.015882335603237152, 0.01194740366190672, 0.001854289905168116, -0.025860140100121498, -0.04539831355214119, 0.017916690558195114, 0.03335064649581909, 0.010383188724517822, 0.018785031512379646, 0.0036837675143033266, -0.02362241968512535, -0.03425310552120209, -0.058501940220594406, -0.01731552556157112, 0.001326345489360392, -0.03679497167468071, 0.046021077781915665, 0.05677812546491623, 0.03169843554496765, 0.057251788675785065, 0.028377657756209373, -0.0468849316239357, -0.03518415987491608, 0.024537233635783195, 0.033914126455783844, -0.038836464285850525, -0.04906079173088074, -0.003748892107978463, 0.026662051677703857, 0.02692103385925293, -0.02353738248348236, -0.08369853347539902, 0.022860171273350716, 0.05755460262298584, -0.04720103740692139, 0.042828258126974106, 0.002151227556169033, 0.04736388847231865, 0.05274908244609833, -0.0026942866388708353, 0.045298755168914795, -0.06467120349407196, 0.02298889309167862, -0.02271474339067936, 0.025884879752993584, -0.029506606981158257, -0.028900550678372383, -0.03992215916514397, 0.03097454458475113, 0.01859569363296032, 0.028551766648888588, 0.044277504086494446, -0.06710480898618698, -0.04094039648771286, -0.00008050387987168506, 0.05238020792603493, -0.03437545523047447, 0.03300006687641144, 0.04006244242191315, 0.06459933519363403, -0.05769387260079384, 0.0011292330455034971, 0.009262013249099255, 0.02261083386838436, 0.027010280638933182, -0.02531551755964756, -0.02719615399837494, -0.012905524112284184, 0.035082098096609116, -0.017885636538267136, -0.005641531199216843, -0.09153807908296585, 0.04719427973031998, -0.004074550233781338, -0.033202577382326126, 0.07422077655792236, 0.018429173156619072, 0.05950893461704254, 0.06991331279277802, -0.013627110049128532, 0.04566991701722145, -0.027818135917186737, 0.027299167588353157, -0.04764504358172417, -0.024245470762252808, 0.006456244271248579, -0.0569785051047802, -0.03928264603018761, -0.022639542818069458, -0.06218373775482178, -0.031169090420007706, -0.025591284036636353, 0.02364252880215645, 0.011897825635969639, 0.012109353207051754, 0.01144466269761324, 0.01681833155453205, -0.013722619041800499, -0.009300983510911465, -0.0060041495598852634, -0.022404655814170837, -0.0682169497013092, -0.04624158889055252, 0.022077936679124832, -0.004332409705966711, 0.0031294513028115034, 0.018887201324105263, 0.0018763692351058125, 0.060247331857681274, -0.00481414282694459, -0.022903170436620712, 0.018974285572767258, 0.030901964753866196, -0.06807495653629303, -0.017536034807562828, 0.02397863194346428, -0.004949411377310753, 0.03347938135266304, -0.01715380698442459, 0.03961405158042908, 0.008871485479176044, -0.05184810981154442, -0.028531573712825775, 0.021867981180548668, 0.009229026734828949, -0.07194000482559204, -0.0035161226987838745, -0.022678488865494728, -0.03524269908666611, 0.019290108233690262, -0.03938629478216171, -0.04347431659698486, 0.0035911602899432182, 0.038412924855947495, 0.02380186878144741, -0.00855958554893732, -0.01947884075343609, 0.007946169935166836, -0.01658337563276291, 0.011523852124810219, -0.04177529364824295, 0.015008051879703999, -0.025016844272613525, 0.006761107128113508, -0.010285650379955769, -0.0019150993321090937, -0.056709203869104385, 0.06998702883720398, -0.032682280987501144, -0.010819168761372566, 0.009865112602710724, 0.012214736081659794, -0.010295132175087929, 0.04733997583389282, 0.020154166966676712, 0.00814060214906931, -0.04999484866857529, 0.05410650372505188, -0.06862945109605789, 0.0027677055913954973, 0.0066104186698794365, -0.02067173458635807, -0.012414063327014446, 0.0013473880244418979, -0.010030348785221577, -0.047419559210538864, 0.027229774743318558, 0.02606828324496746, 0.030391700565814972, 0.043615102767944336, 0.019692962989211082, 0.0029361757915467024, 0.014117555692791939, -0.05029810220003128, -0.04326289892196655, 0.007066570688039064, -0.010458797216415405, 0.0031869015656411648, 0.04853784665465355, 0.04974264279007912, -0.05636368691921234, -0.03264101222157478, 0.03132621571421623, 0.029995739459991455, 0.0030368324369192123, -0.0014226726489141583, 0.03327711299061775, 0.048386771231889725, 0.030685966834425926, -0.022602517157793045, 0.008271118625998497, 0.017684170976281166, -0.007349461317062378, 0.018664158880710602, -0.0005216815625317395, -0.003673277562484145, -0.02665768563747406, -0.03267459571361542, -0.037241801619529724, 0.08001306653022766, -0.017452172935009003, -0.0029822546057403088, -0.01985870487987995, -0.04793885350227356, 0.05068349093198776, -0.005690626800060272, -0.03422395512461662, -0.00445881811901927, 0.04051532968878746, -0.025160258635878563, 0.03972732648253441, -0.023783469572663307, 0.02057420276105404, 0.05407322570681572, 0.036895059049129486, -0.018790608271956444, 0.007620174903422594, -0.006244007032364607, 0.0099001070484519, 0.03658099099993706, -0.06330917775630951, 0.004708828404545784, -0.05581427738070488, 0.05800563469529152, -0.06747889518737793, 0.06664463132619858, 0.02770785056054592, 0.04055015742778778, 0.011000094003975391, -0.03372561186552048, -0.05790729448199272, -0.02576752007007599, -0.06919346004724503, 0.06345061212778091, -0.017324628308415413, -0.051946379244327545, 0.061414625495672226, 0.019526338204741478, -0.09919016808271408, 0.039869796484708786, 0.042135387659072876, 0.021540092304348946, 0.0313507579267025, 0.014164836145937443, -0.0393211655318737, 0.020771779119968414, -0.0368681401014328, 0.028504762798547745, -0.035748597234487534, -0.0019884740468114614, -0.020646164193749428, -0.04318907856941223, -0.005175619851797819, 0.01791263557970524, -0.004358827136456966, -0.0025802087038755417, 0.0012359839165583253, -0.028902459889650345, -0.07276978343725204, 0.024854637682437897, 0.031190836802124977, -0.009897109121084213, -0.0018455971730872989, -0.015086175873875618, 0.010063796304166317, 0.046626683324575424, 0.0010060358326882124, -0.05480503663420677, 0.009520384483039379, 0.019383657723665237, -0.09329525381326675, -0.04621134698390961, 0.07161478698253632, -0.0037224958650767803, -0.014421318657696247, -0.01678064651787281, 0.011866944842040539, 0.01568143628537655, 0.00012612091086339206, -0.010486863553524017, 0.006730643101036549, -0.09586390107870102, -0.008038436993956566, 0.05312586948275566, 0.0030297040939331055, -0.02551107108592987, -0.00407059770077467, 0.036756061017513275, 0.07422725111246109, 0.030893292278051376, -0.013316255994141102, -0.024805136024951935, -0.03234262019395828, 0.0010669457260519266, -0.04406144842505455, 0.042894549667835236, -0.0033596493303775787, -0.06681444495916367, -0.01879381202161312, -0.0318099781870842, -0.009036037139594555, 0.029198599979281425, -0.042617067694664, 0.02684583142399788, 0.023119676858186722, -0.03003769740462303, -0.04621996730566025, -0.10928243398666382, -0.05498285964131355, -0.026260485872626305, -0.001929940888658166, 0.04239312559366226, -0.03621179237961769, -0.005813153926283121, -0.011112439446151257, -0.017373504117131233, 0.04496360942721367, -0.004249246791005135, -0.043525297194719315, 0.06510826200246811, 0.0648571252822876, 0.0008408855064772069, 0.028458941727876663, 0.0007848720415495336, -0.02591719664633274, 0.024559469893574715, -0.02325141802430153, 0.028088565915822983, 0.03200656175613403, 0.02134496159851551, -0.014270247891545296, -0.013657627627253532, -0.03355933353304863, -0.02523878961801529, -0.013561252504587173, 0.004483079072088003, 0.07695004343986511 ]
DeepPavlov/bert-base-multilingual-cased-sentence
[ "pytorch", "jax", "bert", "feature-extraction", "multilingual", "arxiv:1704.05426", "arxiv:1809.05053", "arxiv:1908.10084", "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 } } }
140
null
--- language: en datasets: COCA --- # docusco-bert ## Model description **docusco-bert** is a fine-tuned BERT model that is ready to use for **token classification**. The model was trained on data sampled from the Corpus of Contemporary American English ([COCA](https://www.english-corpora.org/coca/)) and classifies tokens and token sequences according to a system developed for the [**DocuScope**](https://www.cmu.edu/dietrich/english/research-and-publications/docuscope.html) dictionary-based tagger. Descriptions of the categories are included in a table below. ## About DocuScope DocuScope is a dicitonary-based tagger that has been developed at Carnegie Mellon University by **David Kaufer** and **Suguru Ishizaki** since the early 2000s. Its categories are rhetorical in their orientation (as opposed to part-of-speech tags, for example, which are morphosyntactic). DocuScope has been been used in [a wide variety of studies](https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=docuscope&btnG=). Here, for example, is [a short analysis of King Lear](https://graphics.cs.wisc.edu/WP/vep/2017/02/14/guest-post-data-mining-king-lear/), and here is [a published study of Tweets](https://journals.sagepub.com/doi/full/10.1177/2055207619844865). ## Intended uses & limitations #### How to use The model was trained on data with tags formatted using [IOB](https://en.wikipedia.org/wiki/Inside%E2%80%93outside%E2%80%93beginning_(tagging)), like those used in common tasks like Named Entity Recogition (NER). Thus, you can use this model with a Transformers NER *pipeline*. ```python from transformers import AutoTokenizer, AutoModelForTokenClassification from transformers import pipeline tokenizer = AutoTokenizer.from_pretrained("browndw/docusco-bert") model = AutoModelForTokenClassification.from_pretrained("browndw/docusco-bert") nlp = pipeline("ner", model=model, tokenizer=tokenizer) example = "Globalization is the process of interaction and integration among people, companies, and governments worldwide." ds_results = nlp(example) print(ds_results) ``` #### Limitations and bias This model is limited by its training dataset of American English texts. Moreover, the current version is trained on only a small subset of the corpus. The goal is to train later versions on more data, which should increase accuracy. ## Training data This model was fine-tuned on data from the Corpus of Contemporary American English ([COCA](https://www.english-corpora.org/coca/)). The training data contain chunks of text randomly sampled of 5 text-types: Academic, Fiction, Magazine, News, and Spoken. Typically, BERT models are trained on sentence segments. However, DocuScope tags can span setences. Thus, data were split into chunks that don't split **B + I** sequences and end with sentence-final punctuation marks (i.e., period, quesiton mark or exclamaiton point). Additionally, the order of the chunks was randomized prior to sampling, and statified sampling was used to provide enough training data for low-frequency caegories. The resulting training data consist of: * 21,460,177 tokens * 15,796,305 chunks The specific counts for each category appear in the following table. Category|Count -|- O|3528038 Syntactic Complexity|2032808 Character|1413771 Description|1224744 Narrative|1159201 Negative|651012 Academic Terms|620932 Interactive|594908 Information Exposition|578228 Positive|463914 Force Stressed|432631 Information Topics|394155 First Person|249744 Metadiscourse Cohesive|240822 Strategic|238255 Public Terms|234213 Reasoning|213775 Information Place|187249 Information States|173146 Information ReportVerbs|119092 Confidence High|112861 Confidence Hedged|110008 Future|96101 Inquiry|94995 Contingent|94860 Information Change|89063 Metadiscourse Interactive|84033 Updates|81424 Citation|71241 Facilitate|50451 Uncertainty|35644 Academic WritingMoves|29352 Information ChangePositive|28475 Responsibility|25362 Citation Authority|22414 Information ChangeNegative|15612 Confidence Low|2876 Citation Hedged|895 -|- Total|15796305 ## Training procedure This model was trained on a single 2.3 GHz Dual-Core Intel Core i5 with recommended hyperparameters from the [original BERT paper](https://arxiv.org/pdf/1810.04805). ## Eval results ### Overall metric|test -|- f1 |.927 accuracy |.943 ### By category category|precision|recall|f1-score|support -|-|-|-|- AcademicTerms|0.91|0.92|0.92|486399 AcademicWritingMoves|0.76|0.82|0.79|20017 Character|0.94|0.95|0.94|1260272 Citation|0.92|0.94|0.93|50812 CitationAuthority|0.86|0.88|0.87|17798 CitationHedged|0.91|0.94|0.92|632 ConfidenceHedged|0.94|0.96|0.95|90393 ConfidenceHigh|0.92|0.94|0.93|113569 ConfidenceLow|0.79|0.81|0.80|2556 Contingent|0.92|0.94|0.93|81366 Description|0.87|0.89|0.88|1098598 Facilitate|0.87|0.90|0.89|41760 FirstPerson|0.96|0.98|0.97|330658 ForceStressed|0.93|0.94|0.93|436188 Future|0.90|0.93|0.92|93365 InformationChange|0.88|0.91|0.89|72813 InformationChangeNegative|0.83|0.85|0.84|12740 InformationChangePositive|0.82|0.86|0.84|22994 InformationExposition|0.94|0.95|0.95|468078 InformationPlace|0.95|0.96|0.96|147688 InformationReportVerbs|0.91|0.93|0.92|95563 InformationStates|0.95|0.95|0.95|139429 InformationTopics|0.90|0.92|0.91|328152 Inquiry|0.85|0.89|0.87|79030 Interactive|0.95|0.96|0.95|602857 MetadiscourseCohesive|0.97|0.98|0.98|195548 MetadiscourseInteractive|0.92|0.94|0.93|73159 Narrative|0.92|0.94|0.93|1023452 Negative|0.88|0.89|0.88|645810 Positive|0.87|0.89|0.88|409775 PublicTerms|0.91|0.92|0.91|184108 Reasoning|0.93|0.95|0.94|169208 Responsibility|0.83|0.87|0.85|21819 Strategic|0.88|0.90|0.89|193768 SyntacticComplexity|0.95|0.96|0.96|1635918 Uncertainty|0.87|0.91|0.89|33684 Updates|0.91|0.93|0.92|77760 -|-|-|-|- micro avg|0.92|0.93|0.93|10757736 macro avg|0.90|0.92|0.91|10757736 weighted avg|0.92|0.93|0.93|10757736 ## DocuScope Category Descriptions Category (Cluster)|Description|Examples -|-|- Academic Terms|Abstract, rare, specialized, or disciplinary-specific terms that are indicative of informationally dense writing|*market price*, *storage capacity*, *regulatory*, *distribution* Academic Writing Moves|Phrases and terms that indicate academic writing moves, which are common in research genres and are derived from the work of Swales (1981) and Cotos et al. (2015, 2017)|*in the first section*, *the problem is that*, *payment methodology*, *point of contention* Character|References multiple dimensions of a character or human being as a social agent, both individual and collective|*Pauline*, *her*, *personnel*, *representatives* Citation|Language that indicates the attribution of information to, or citation of, another source.|*according to*, *is proposing that*, *quotes from* Citation Authorized|Referencing the citation of another source that is represented as true and not arguable|*confirm that*, *provide evidence*, *common sense* Citation Hedged|Referencing the citation of another source that is presented as arguable|*suggest that*, *just one opinion* Confidence Hedged|Referencing language that presents a claim as uncertain|*tends to get*, *maybe*, *it seems that* Confidence High|Referencing language that presents a claim with certainty|*most likely*, *ensure that*, *know that*, *obviously* Confidence Low|Referencing language that presents a claim as extremely unlikely|*unlikely*, *out of the question*, *impossible* Contingent|Referencing contingency, typically contingency in the world, rather than contingency in one's knowledge|*subject to*, *if possible*, *just in case*, *hypothetically* Description|Language that evokes sights, sounds, smells, touches and tastes, as well as scenes and objects|*stay quiet*, *gas-fired*, *solar panels*, *soft*, *on my desk* Facilitate|Language that enables or directs one through specific tasks and actions|*let me*, *worth a try*, *I would suggest* First Person|This cluster captures first person.|*I*, *as soon as I*, *we have been* Force Stressed|Language that is forceful and stressed, often using emphatics, comparative forms, or superlative forms|*really good*, *the sooner the better*, *necessary* Future|Referencing future actions, states, or desires|*will be*, *hope to*, *expected changes* Information Change|Referencing changes of information, particularly changes that are more neutral|*changes*, *revised*, *growth*, *modification to* Information Change Negative|Referencing negative change|*going downhill*, *slow erosion*, *get worse* Information Change Positive|Referencing positive change|*improving*, *accrued interest*, *boost morale* Information Exposition|Information in the form of expository devices, or language that describes or explains, frequently in regards to quantities and comparisons|*final amount*, *several*, *three*, *compare*, *80%* Information Place|Language designating places|*the city*, *surrounding areas*, *Houston*, *home* Information Report Verbs|Informational verbs and verb phrases of reporting|*report*, *posted*, *release*, *point out* Information States|Referencing information states, or states of being|*is*, *are*, *existing*, *been* Information Topics|Referencing topics, usually nominal subjects or objects, that indicate the “aboutness” of a text|*time*, *money*, *stock price*, *phone interview* Inquiry|Referencing inquiry, or language that points to some kind of inquiry or investigation|*find out*, *let me know if you have any questions*, *wondering if* Interactive|Addresses from the author to the reader or from persons in the text to other persons. The address comes in the language of everyday conversation, colloquy, exchange, questions, attention-getters, feedback, interactive genre markers, and the use of the second person.|*can you*, *thank you for*, *please see*, *sounds good to me* Metadiscourse Cohesive|The use of words to build cohesive markers that help the reader navigate the text and signal linkages in the text, which are often additive or contrastive|*or*, *but*, *also*, *on the other hand*, *notwithstanding*, *that being said* Metadiscourse Interactive|The use of words to build cohesive markers that interact with the reader|*I agree*, *let’s talk*, *by the way* Narrative|Language that involves people, description, and events extending in time|*today*, *tomorrow*, *during the*, *this weekend* Negative|Referencing dimensions of negativity, including negative acts, emotions, relations, and values|*does not*, *sorry for*, *problems*, *confusion* Positive|Referencing dimensions of positivity, including actions, emotions, relations, and values|*thanks*, *approval*, *agreement*, *looks good* Public Terms|Referencing public terms, concepts from public language, media, the language of authority, institutions, and responsibility|*discussion*, *amendment*, *corporation*, *authority*, *settlement* Reasoning|Language that has a reasoning focus, supporting inferences about cause, consequence, generalization, concession, and linear inference either from premise to conclusion or conclusion to premise|*because*, *therefore*, *analysis*, *even if*, *as a result*, *indicating that* Responsibility|Referencing the language of responsibility|*supposed to*, *requirements*, *obligations* Strategic|This dimension is active when the text structures strategies activism, advantage-seeking, game-playing cognition, plans, and goal-seeking.|*plan*, *trying to*, *strategy*, *decision*, *coordinate*, *look at the* Syntactic Complexity|The features in this category are often what are called “function words,” like determiners and prepositions.|*the*, *to*, *for*, *in*, *a lot of* Uncertainty|References uncertainty, when confidence levels are unknown|*kind of*, *I have no idea*, *for some reason* Updates|References updates that anticipate someone searching for information and receiving it|*already*, *a new*, *now that*, *here are some* ### BibTeX entry and citation info ``` @incollection{ishizaki2012computer, title = {Computer-aided rhetorical analysis}, author = {Ishizaki, Suguru and Kaufer, David}, booktitle= {Applied natural language processing: Identification, investigation and resolution}, pages = {276--296}, year = {2012}, publisher= {IGI Global}, url = {https://www.igi-global.com/chapter/content/61054} } ``` ``` @article{DBLP:journals/corr/abs-1810-04805, author = {Jacob Devlin and Ming{-}Wei Chang and Kenton Lee and Kristina Toutanova}, title = {{BERT:} Pre-training of Deep Bidirectional Transformers for Language Understanding}, journal = {CoRR}, volume = {abs/1810.04805}, year = {2018}, url = {http://arxiv.org/abs/1810.04805}, archivePrefix = {arXiv}, eprint = {1810.04805}, timestamp = {Tue, 30 Oct 2018 20:39:56 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-1810-04805.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ 0.012958626262843609, -0.018148375675082207, -0.01034619752317667, 0.05025665834546089, 0.06069623678922653, 0.030544959008693695, -0.04294877126812935, -0.006281575653702021, -0.0411139614880085, 0.049654483795166016, 0.018874265253543854, 0.007779527921229601, 0.00005739144398830831, 0.03082294389605522, -0.026743905618786812, -0.05078471451997757, -0.011654739268124104, 0.0026244588661938906, -0.05347801372408867, -0.019327232614159584, 0.022855330258607864, -0.001179163926281035, -0.02046189457178116, 0.02573506534099579, 0.0042435647919774055, 0.016480283811688423, -0.0069560580886900425, 0.05206157639622688, 0.04349440336227417, -0.058899205178022385, -0.01553545705974102, -0.013543287292122841, -0.04190923646092415, -0.005406762007623911, -0.01011580042541027, 0.005369671620428562, 0.02729063853621483, 0.021162373945116997, 0.039962369948625565, 0.04792076349258423, 0.005633688066154718, 0.021296054124832153, 0.010360217653214931, -0.05662687495350838, 0.06273337453603745, -0.014450457878410816, -0.04752824455499649, -0.026311321184039116, 0.022134721279144287, -0.04170215502381325, -0.0790741816163063, -0.08686748892068863, -0.015345311723649502, 0.023817917332053185, 0.006320641376078129, -0.03590890020132065, -0.05098404735326767, -0.007748100440949202, 0.08263855427503586, -0.046829480677843094, -0.009469862096011639, 0.0025146822445094585, -0.0697779655456543, 0.038030464202165604, 0.01932717114686966, -0.0476425439119339, 0.016352040693163872, -0.02645856887102127, 0.019384095445275307, -0.02409486472606659, 0.051608607172966, -0.033974356949329376, 0.010966281406581402, -0.06856222450733185, -0.014534073881804943, -0.011543670669198036, 0.04842487722635269, 0.041058558970689774, -0.026699014008045197, 0.07870662957429886, 0.012943246401846409, 0.02305085025727749, 0.0415329784154892, -0.020765608176589012, 0.01008631382137537, 0.052242543548345566, -0.05952232703566551, 0.013339919969439507, 0.025649355724453926, 0.043536387383937836, -0.03175368532538414, -0.0316789373755455, -0.026744093745946884, -0.01741071790456772, -0.03171336650848389, 0.027786241844296455, 0.030140012502670288, -0.00654065515846014, 0.01798878237605095, 0.016467377543449402, 0.01672801561653614, 0.04345884174108505, -0.015881113708019257, 0.05480284243822098, -0.022762462496757507, 0.0036627831868827343, 0.00831279531121254, -0.03476451337337494, -0.032439783215522766, 0.05809430778026581, 0.009490096010267735, -0.027908489108085632, -0.06681355834007263, 0.04542548581957817, 0.02106012962758541, -0.017896447330713272, 0.05376749485731125, -0.008625504560768604, -0.037777144461870193, -0.03339282423257828, 0.03696991130709648, -0.018361080437898636, 0.012680957093834877, -0.007806433830410242, -0.04815094545483589, 0.00008997150143841282, -0.0463552288711071, -0.026681361719965935, -0.009612583555281162, 0.02706308476626873, -0.018983451649546623, 0.03226323053240776, 0.011500658467411995, -0.061633963137865067, 0.0013852904085069895, 0.042720578610897064, -0.08106248825788498, 0.047687992453575134, 0.03352830559015274, 0.10827380418777466, -0.06317629665136337, -0.0352189838886261, 0.02735436148941517, 0.009558597579598427, -0.006321894004940987, -0.011816452257335186, 0.004355743061751127, -0.016521623358130455, -0.032654229551553726, 0.013278964906930923, 0.02564549446105957, -0.07598425447940826, 0.025746719911694527, 0.05581061169505119, -0.0015496002743020654, 0.0690222755074501, -0.051416683942079544, -0.0006219419883564115, -0.0013875534059479833, -0.010917499661445618, -0.050697796046733856, 0.052255917340517044, -0.006305586080998182, -0.0018441430293023586, -0.028138862922787666, -0.03826485201716423, -0.009218623861670494, 0.10394611209630966, 0.0018905333708971739, 0.00026307397638447583, -0.06030385196208954, 0.006459809839725494, 0.07393717020750046, 0.017148515209555626, -0.02096460945904255, 0.016070043668150902, 0.058934181928634644, 0.038293786346912384, -0.02077973447740078, 0.05790210887789726, 0.005680698435753584, -0.03381133824586868, -0.04082154110074043, 0.02369149960577488, 0.014471077360212803, -0.02252672240138054, 0.014325534924864769, 0.03737490251660347, -0.007754083257168531, -0.023304233327507973, -0.012905232608318329, 0.0728975236415863, -0.014187129214406013, -0.004301363602280617, 0.00041258279816247523, -0.005373105872422457, -0.04496988281607628, 0.05144732818007469, -0.040538240224123, 0.008413413539528847, 0.0015873584197834134, -0.04367978870868683, -0.006651715375483036, 0.038856666535139084, 0.022545427083969116, 0.02660456858575344, 0.0013309208443388343, 0.08649922162294388, -0.043315690010786057, 0.015100521966814995, -0.040533397346735, -0.03363662213087082, -0.0031221830286085606, 0.025799501687288284, 0.014048396609723568, 0.04108932614326477, -0.011571156792342663, -0.047068819403648376, 0.014048522338271141, 0.06464357674121857, 0.035175636410713196, 0.004954835399985313, -0.02286619506776333, -0.010921119712293148, 0.03468186408281326, 0.046995099633932114, -0.03987569734454155, -0.044449333101511, 0.014024890027940273, 0.0382976159453392, -0.020774848759174347, -0.014632453210651875, -0.023153092712163925, -0.0018227651016786695, -0.03887847065925598, -0.07013177871704102, 0.05248408019542694, 0.028648741543293, 0.01929260790348053, 0.013745316304266453, -0.0254365224391222, -0.004107365384697914, 0.016314132139086723, 0.003399730660021305, -0.008885099552571774, -0.04880253225564957, -0.0005976094398647547, 0.005477026104927063, 0.07278724014759064, -0.062078651040792465, 0.029756411910057068, -0.014701918698847294, -0.009600095450878143, 0.06604675203561783, -0.022771304473280907, 0.05149950087070465, 0.050197817385196686, 0.003563228063285351, -0.03193168342113495, 0.02689354494214058, 0.00346568925306201, 0.018397705629467964, 0.06534286588430405, 0.01109231822192669, 0.04693961888551712, -0.008084523491561413, 0.031391747295856476, 0.06473949551582336, 0.009595412760972977, -0.009783130139112473, 0.02601396106183529, 0.06877975910902023, -0.011660825461149216, -0.030811257660388947, 0.08533671498298645, -0.03876122087240219, 0.0183124840259552, -0.04030316695570946, 0.00041944425902329385, -0.03227083012461662, -0.03546608239412308, 0.0477423258125782, 0.039936281740665436, -0.025602614507079124, 0.01034490205347538, 0.010520106181502342, -0.010075552389025688, 0.047366026788949966, -0.004299358930438757, 0.0097851837053895, -0.00006020063301548362, -0.02761400118470192, 0.024835437536239624, -0.047646354883909225, -0.04649519547820091, 0.0025002355687320232, -0.022443074733018875, -0.0003545124491211027, -0.10024770349264145, -0.03825618699193001, -0.07059913128614426, -0.02280069701373577, 0.05104736238718033, 0.01292580459266901, 0.0014670304954051971, -0.008896308951079845, 0.0019218545639887452, -0.03604825586080551, -0.04835444688796997, -0.057198166847229004, -0.05635388195514679, -0.040542855858802795, -0.056963153183460236, 0.04432234913110733, 0.03393089771270752, 0.008467987179756165, 0.02341645210981369, -0.010128862224519253, -0.03644987568259239, 0.001390057266689837, 0.048513349145650864, 0.015527479350566864, -0.03788331151008606, -0.024323759600520134, 0.01704486645758152, -0.009860704652965069, 0.011693183332681656, 0.010757268406450748, -0.04610779508948326, 0.05970820039510727, 0.0647885650396347, 0.04073801264166832, -0.0006724209524691105, -0.018902065232396126, -0.03472277149558067, -0.043255750089883804, -0.018635794520378113, -0.03495199233293533, -0.007315387949347496, -0.055159345269203186, -0.05849400907754898, -0.010180605575442314, -0.02878410369157791, -0.010144069790840149, -0.030563607811927795, 0.015846697613596916, 0.04262756183743477, 0.02868305705487728, 0.025850996375083923, 0.02794788032770157, -0.028284570202231407, -0.018207766115665436, 0.08385759592056274, 0.008740520104765892, -0.004661194048821926, -0.09539096802473068, -0.0435100719332695, 0.029444335028529167, 0.017612747848033905, 0.01861974038183689, -0.009580940939486027, 0.05582761391997337, 0.005696756299585104, 0.00014308589743450284, -0.0058830357156693935, 0.006927519105374813, -0.02209591306746006, -0.006857754196971655, -0.0019437777809798717, -0.03039574809372425, -0.04111970216035843, -0.030435500666499138, 0.008068090304732323, 0.05113298073410988, -0.0823763981461525, -0.025173721835017204, -0.004622034262865782, 0.029444748535752296, 0.022242683917284012, 0.015316056087613106, -0.03736664354801178, -0.012917320244014263, -0.05265146121382713, -0.016657590866088867, 0.007553200237452984, 0.011100772768259048, 0.008968478068709373, 0.03550521284341812, 0.01591912843286991, -0.01627403497695923, 0.05928454548120499, 0.041827764362096786, 0.05698498710989952, 0.03097343258559704, -0.05431807413697243, 0.024708634242415428, -0.02294796146452427, 0.015138733200728893, -0.01279511209577322, -0.031319089233875275, -0.06399674713611603, -0.06848067790269852, 0.007538212463259697, 0.0026877298951148987, -0.008621598593890667, -0.010363955982029438, 0.031283605843782425, -0.024624375626444817, -0.007514673285186291, -0.010938231833279133, 0.028566867113113403, 0.04899143800139427, -0.034603603184223175, 0.0704168751835823, 0.005017068237066269, 0.02986310049891472, -0.05180823802947998, 0.0009209038107655942, -0.059062663465738297, -0.008266911841928959, 0.01681298017501831, 0.06388295441865921, 0.009398030117154121, 0.04249049350619316, 0.06993045657873154, 0.019931169226765633, -0.030332639813423157, 0.05555378273129463, 0.048463158309459686, -0.01864929310977459, -0.04877157881855965, 0.011745131574571133, -0.021949417889118195, -0.03657045587897301, 0.011618324555456638, -0.04385202378034592, 0.030172372236847878, 0.03193679079413414, -0.01703900657594204, -0.021461494266986847, 0.009807959198951721, -0.012647719122469425, -0.02372567355632782, -0.06474333256483078, -0.046658676117658615, -0.027186140418052673, -0.04538467526435852, 0.04477538540959358, 0.0515144057571888, -0.002138171810656786, 0.0645357146859169, 0.04509681463241577, -0.04252447187900543, -0.019832823425531387, 0.041017577052116394, 0.04340805485844612, -0.05994918942451477, -0.05354192852973938, -0.05418787896633148, 0.06170251592993736, 0.0447721891105175, -0.01183074526488781, -0.08737868070602417, 0.01503713708370924, 0.05202631279826164, -0.03834252431988716, 0.0846356600522995, 0.0042194826528429985, 0.05089867487549782, 0.03934652730822563, -0.007751802913844585, 0.038326602429151535, -0.0243047084659338, 0.003028410952538252, 0.011977971531450748, 0.03819882124662399, -0.030275573953986168, -0.03957138583064079, -0.019917938858270645, 0.053009845316410065, 0.019864605739712715, 0.04559288173913956, 0.027882851660251617, -0.04239330068230629, -0.06474435329437256, 0.011650941334664822, 0.0344398133456707, -0.05627954751253128, 0.0011312991846352816, 0.01609700731933117, 0.05636678263545036, -0.054575011134147644, -0.03325797989964485, -0.016742803156375885, -0.005026559345424175, 0.036097243428230286, 0.024820948019623756, -0.03586481511592865, -0.06853944063186646, 0.021481506526470184, -0.009425441734492779, -0.01833188347518444, -0.07189039140939713, 0.03458765521645546, 0.004122699610888958, -0.009257473982870579, 0.041118305176496506, 0.03174568712711334, 0.0650339350104332, 0.04956122860312462, -0.001594887929968536, 0.008705750107765198, -0.03235738351941109, 0.019601106643676758, -0.019031301140785217, -0.02546186000108719, -0.009909690357744694, -0.05102291703224182, -0.009562624618411064, -0.03842710703611374, -0.04941830411553383, -0.04703844338655472, -0.007828764617443085, 0.027404887601733208, -0.015136315487325191, 0.004890054930001497, -0.04765550047159195, 0.03125467151403427, -0.024430938065052032, 0.0014347872929647565, -0.020335422828793526, -0.023090606555342674, -0.07371783256530762, -0.02818916365504265, -0.012450700625777245, -0.007884228602051735, 0.044632069766521454, 0.03014937788248062, 0.016904907301068306, 0.009484643116593361, -0.00503080477938056, -0.03412497788667679, 0.020412765443325043, 0.012377103790640831, -0.04506002739071846, -0.031115811318159103, 0.022681277245283127, 0.00662586884573102, 0.01315416768193245, -0.039007969200611115, 0.022210603579878807, 0.03612936660647392, -0.04148147255182266, -0.027063583955168724, 0.015393927693367004, 0.02266124077141285, -0.08107541501522064, -0.048396289348602295, -0.02622194215655327, -0.02950797788798809, 0.03438912704586983, -0.018828975036740303, -0.013174974359571934, 0.004762451630085707, 0.016240889206528664, 0.025187207385897636, -0.024655088782310486, -0.03145315870642662, -0.00916563905775547, -0.011979473754763603, 0.03014368936419487, -0.06019405275583267, 0.04212713614106178, -0.05759524926543236, -0.005660069175064564, 0.0009150799596682191, 0.002211547689512372, -0.05297444760799408, 0.029863419011235237, 0.02321077324450016, -0.024694552645087242, -0.021234741434454918, 0.00846156943589449, -0.013001976534724236, 0.0035786854568868876, 0.007305985316634178, 0.001690394594334066, 0.005633586086332798, 0.07085184007883072, -0.07635635882616043, -0.006588934455066919, -0.030956273898482323, -0.004868814256042242, -0.047345053404569626, -0.037207528948783875, -0.0035710297524929047, -0.05099952220916748, 0.021187065169215202, 0.028874138370156288, 0.024079373106360435, 0.0374269038438797, -0.015244587324559689, 0.009229802526533604, 0.052171867340803146, -0.07206389307975769, -0.021445803344249725, 0.009355618618428707, -0.0013771748635917902, 0.005287328269332647, 0.03863751143217087, 0.03421693295240402, -0.04912039265036583, -0.05604522302746773, 0.050053320825099945, 0.025932790711522102, 0.013736626133322716, -0.011521338485181332, 0.03057236224412918, 0.024855002760887146, 0.047952957451343536, -0.03595201298594475, -0.011529537849128246, 0.024303913116455078, -0.0331990122795105, -0.0027977440040558577, 0.012932569719851017, 0.019645946100354195, -0.003549013752490282, -0.03178539499640465, -0.035935960710048676, 0.06165788322687149, 0.02971869893372059, 0.012483938597142696, -0.011599925346672535, -0.04720102250576019, 0.024364067241549492, 0.0002901896077673882, -0.061904922127723694, -0.014886886812746525, 0.00810833927243948, -0.05175924301147461, 0.06293760240077972, -0.018751073628664017, 0.020236842334270477, 0.018005607649683952, 0.03577926382422447, -0.003575469134375453, 0.006435363553464413, -0.03336678445339203, 0.007709737867116928, 0.022277608513832092, -0.039278555661439896, -0.011565586552023888, -0.02234409749507904, 0.03787391632795334, -0.06804901361465454, 0.05202469602227211, 0.05133027955889702, 0.01990574225783348, -0.009644935838878155, -0.015144102275371552, -0.015186704695224762, 0.02406933344900608, -0.042009077966213226, 0.07954229414463043, -0.0035139769315719604, -0.07164895534515381, 0.07878541201353073, 0.04416055232286453, -0.05967288464307785, 0.03800493851304054, 0.019642500206828117, 0.03915330395102501, -0.006483109667897224, 0.05201241746544838, -0.020973622798919678, 0.013978106901049614, -0.060493215918540955, 0.016081612557172775, -0.049204472452402115, -0.02394668385386467, 0.02701452746987343, -0.033567801117897034, -0.0037955506704747677, 0.03220917657017708, -0.039151158183813095, -0.016312677413225174, 0.012551657855510712, -0.04226256161928177, -0.03428184986114502, -0.0005227486835792661, 0.015974488109350204, -0.029915407299995422, -0.015392403118312359, -0.0023302447516471148, 0.016138143837451935, 0.008424495346844196, -0.029949404299259186, -0.03177938237786293, -0.01069337222725153, 0.02461995929479599, -0.064856618642807, -0.054344505071640015, 0.05999859422445297, 0.01630714163184166, -0.032714031636714935, 0.0175382848829031, 0.0010689202463254333, 0.01601490192115307, 0.014417942613363266, -0.018577877432107925, 0.011470773257315159, -0.05698080733418465, 0.004530336242169142, 0.012271636165678501, 0.030467625707387924, 0.031512994319200516, -0.027022233232855797, 0.048184242099523544, 0.046591293066740036, 0.03947551175951958, -0.022049322724342346, -0.009399643167853355, -0.017729727551341057, 0.027508968487381935, -0.0455029234290123, 0.015636790543794632, -0.013766705058515072, -0.06020454317331314, -0.018538331612944603, -0.0049266512505710125, -0.01748085394501686, 0.03753190487623215, -0.08368701487779617, -0.0023921867832541466, 0.019735585898160934, -0.03800471872091293, -0.027133503928780556, -0.07484371960163116, -0.05406639724969864, -0.033333588391542435, -0.0002478479582350701, 0.00330492970533669, -0.01933928392827511, -0.008252686820924282, -0.03257277235388756, -0.03589620441198349, 0.03786105662584305, 0.022023912519216537, -0.02903265319764614, 0.05518318712711334, 0.06300709396600723, -0.06380987912416458, 0.020835772156715393, 0.039560701698064804, -0.016519347205758095, 0.03240940719842911, -0.01776145212352276, 0.004883208312094212, 0.03063538670539856, 0.054792385548353195, -0.026803383603692055, -0.019966965541243553, -0.032535891979932785, -0.04384458065032959, -0.030166475102305412, -0.007038269191980362, 0.05054425820708275 ]
DeepPavlov/rubert-base-cased-sentence
[ "pytorch", "jax", "bert", "feature-extraction", "ru", "arxiv:1508.05326", "arxiv:1809.05053", "arxiv:1908.10084", "transformers", "has_space" ]
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 } } }
46,991
null
--- tags: - generated_from_trainer metrics: - precision - recall - f1 - accuracy model-index: - name: biobertpt-all-finetuned-ner 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. --> # biobertpt-all-finetuned-ner This model is a fine-tuned version of [pucpr/biobertpt-all](https://huggingface.co/pucpr/biobertpt-all) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 2.3721 - Precision: 0.0179 - Recall: 0.0149 - F1: 0.0163 - Accuracy: 0.6790 ## 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: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | No log | 1.0 | 1 | 2.7864 | 0.0091 | 0.0448 | 0.0152 | 0.3339 | | No log | 2.0 | 2 | 2.5096 | 0.0097 | 0.0149 | 0.0118 | 0.6292 | | No log | 3.0 | 3 | 2.3721 | 0.0179 | 0.0149 | 0.0163 | 0.6790 | ### Framework versions - Transformers 4.12.0.dev0 - Pytorch 1.9.1+cu102 - Datasets 1.13.3 - Tokenizers 0.10.3
[ -0.003965149167925119, 0.006449248641729355, -0.002794701838865876, 0.009388045407831669, 0.014029869809746742, 0.02592523954808712, -0.011740300804376602, -0.034530237317085266, -0.030133793130517006, 0.045985087752342224, 0.032646454870700836, -0.03577154502272606, 0.02792355790734291, 0.0372680127620697, -0.031890131533145905, -0.04511179029941559, -0.00676065543666482, -0.014078705571591854, -0.03678199648857117, 0.004868492484092712, 0.0017164006130769849, 0.002621998079121113, 0.013466470874845982, 0.011853267438709736, 0.008756210096180439, 0.009462564252316952, -0.0019329808419570327, -0.00008256707951659337, 0.03157354146242142, -0.06341925263404846, 0.0006924043991602957, -0.0356973372399807, -0.051219675689935684, -0.027164990082383156, -0.014043383300304413, -0.00016043137293308973, -0.00931116845458746, 0.012080971151590347, 0.03692038357257843, 0.07839535921812057, 0.00010719473357312381, 0.0204266756772995, -0.012761088088154793, -0.0144469253718853, 0.03917909786105156, -0.012164886109530926, -0.04171795770525932, -0.020528757944703102, 0.049716923385858536, -0.030360575765371323, -0.06467008590698242, -0.06433077156543732, -0.02533491887152195, 0.008161179721355438, -0.026310337707400322, -0.003081131959334016, -0.06651037931442261, -0.0019126280676573515, 0.07761337608098984, -0.04490307345986366, -0.0566377192735672, 0.0346233993768692, -0.057005543261766434, 0.007758172228932381, 0.033133614808321, -0.011005586013197899, 0.020055359229445457, -0.04676490277051926, 0.04560141637921333, -0.029522860422730446, 0.05807400494813919, -0.02325749769806862, 0.019697275012731552, -0.07603657245635986, -0.007783669047057629, 0.0028799916617572308, 0.0550912581384182, 0.04004772752523422, -0.022869711741805077, 0.027926426380872726, 0.0338110513985157, -0.00410228269174695, 0.054643694311380386, -0.020865898579359055, 0.017077645286917686, 0.02415946125984192, -0.04003417491912842, 0.018656905740499496, 0.028879439458251, 0.013397835195064545, -0.036023929715156555, -0.01743980497121811, -0.046760573983192444, -0.02767782285809517, -0.01511001493781805, 0.000686953600961715, 0.025346912443637848, 0.018017593771219254, 0.02525506541132927, 0.002601337619125843, 0.026173846796154976, 0.05276021361351013, -0.010897064581513405, 0.1015438586473465, 0.0006393770454451442, -0.016735590994358063, -0.02694241888821125, -0.01767396181821823, -0.03319745510816574, 0.01829027198255062, 0.042478837072849274, -0.02571159414947033, -0.031765323132276535, 0.04410964623093605, -0.001306056627072394, -0.015895336866378784, 0.06197132170200348, -0.012604731135070324, -0.03190679848194122, -0.028027335181832314, 0.02248729206621647, 0.032982148230075836, 0.03477713465690613, 0.00032110241590999067, -0.04087941721081734, -0.019017547369003296, -0.008436011150479317, -0.021818283945322037, -0.0028559756465256214, 0.015101293101906776, -0.008517628535628319, 0.04467461630702019, 0.017736798152327538, -0.06932171434164047, 0.0005253119161352515, 0.009908660314977169, -0.054820235818624496, 0.033726803958415985, 0.014125692658126354, 0.12413474172353745, -0.034913867712020874, -0.06926263123750687, 0.01587083376944065, 0.00819400418549776, -0.014728544279932976, 0.02036377787590027, 0.027065154165029526, -0.037207428365945816, -0.014435595832765102, -0.0013712383806705475, 0.04083216190338135, -0.05842091888189316, -0.00802755355834961, 0.06089281290769577, -0.000771541555877775, 0.04743042588233948, -0.05975706875324249, -0.031011322513222694, 0.0023644540924578905, -0.030209945514798164, -0.004867001436650753, 0.03554048016667366, -0.03172112628817558, 0.008614557795226574, -0.013512074947357178, -0.04498014971613884, -0.006665902677923441, 0.0639684870839119, -0.0032972977496683598, -0.030107377097010612, -0.02440529130399227, 0.015724366530776024, 0.047659605741500854, 0.04994773864746094, -0.02212313562631607, 0.04757168889045715, 0.04570944234728813, 0.026063261553645134, -0.03871927410364151, 0.024694228544831276, -0.0005894599598832428, -0.03513063117861748, -0.031473442912101746, 0.025028377771377563, -0.010757002979516983, -0.0463065505027771, 0.04158303886651993, 0.020289668813347816, 0.015844976529479027, -0.050843123346567154, -0.045223940163850784, 0.04371843487024307, 0.003985569346696138, 0.006446297280490398, 0.004549182485789061, 0.0029293103143572807, -0.014389385469257832, 0.04158063232898712, -0.02100115455687046, 0.023069115355610847, -0.021928463131189346, -0.04195794835686684, 0.003215344389900565, 0.0020681347232311964, 0.040707893669605255, 0.04969099909067154, -0.01880599744617939, 0.07772355526685715, -0.03894564509391785, 0.03521084412932396, -0.04002900421619415, -0.029919764026999474, 0.016082342714071274, 0.06021839380264282, 0.02212907373905182, 0.038176603615283966, 0.006030017510056496, -0.03400610387325287, 0.040578268468379974, 0.056140169501304626, 0.057477179914712906, 0.0066622463054955006, -0.041137754917144775, -0.014128359034657478, 0.04716261103749275, 0.050819020718336105, -0.06436293572187424, -0.020048610866069794, 0.014276786707341671, 0.022696075960993767, 0.009596052579581738, 0.019495457410812378, -0.02402229607105255, 0.04766181483864784, -0.05549713969230652, -0.05812706798315048, 0.04369938001036644, 0.01438029482960701, -0.0094745559617877, 0.05090450868010521, -0.004712640307843685, -0.007544080261141062, 0.015652410686016083, 0.023838263005018234, -0.02465856447815895, -0.040208783000707626, 0.012344087474048138, 0.0056839557364583015, 0.0525553822517395, -0.058677881956100464, 0.046963512897491455, -0.023707157000899315, 0.025269977748394012, 0.030130397528409958, -0.04838878661394119, 0.0075282021425664425, 0.04147886112332344, 0.0359967015683651, -0.023539593443274498, 0.023977112025022507, 0.01016718614846468, 0.036756303161382675, 0.048251885920763016, -0.010488736443221569, 0.07423747330904007, -0.005045637488365173, 0.03901027888059616, 0.06648296862840652, 0.014327672310173512, 0.01877526007592678, 0.02424580790102482, 0.0619766004383564, 0.01527339220046997, -0.02728790044784546, 0.04568761959671974, -0.05118860676884651, 0.024256767705082893, -0.05180733650922775, 0.009072966873645782, -0.013651394285261631, -0.00445147417485714, 0.04025786370038986, 0.03379024192690849, -0.013093410059809685, -0.02941861003637314, 0.01102515496313572, -0.010484952479600906, 0.03295239433646202, -0.009072944521903992, -0.00451288977637887, 0.003725568763911724, 0.006814906839281321, -0.019285768270492554, -0.05563124641776085, -0.038521744310855865, -0.016298042610287666, -0.026623312383890152, -0.02054610475897789, -0.0938490480184555, -0.012863140553236008, -0.09864369034767151, -0.03072902001440525, 0.030945364385843277, 0.041959669440984726, -0.01936154253780842, -0.034435197710990906, 0.015522968024015427, -0.06440464407205582, -0.0416107252240181, -0.05987648665904999, -0.04697301238775253, -0.04610290750861168, -0.07361646741628647, 0.0338452123105526, 0.042242929339408875, 0.01996265910565853, 0.006311429664492607, 0.024287575855851173, 0.002746057463809848, -0.013786775059998035, 0.0664222463965416, 0.06359592825174332, -0.04371267184615135, -0.02941417507827282, 0.03512875363230705, -0.008862869814038277, 0.00967834796756506, 0.004205622710287571, -0.030796879902482033, 0.0706482082605362, 0.07986228168010712, 0.012118574231863022, 0.018354790285229683, -0.039780404418706894, -0.04183312505483627, -0.05514954403042793, -0.017274824902415276, -0.052249159663915634, -0.012571687810122967, -0.051484446972608566, -0.03837398439645767, 0.000813982158433646, -0.05497360974550247, -0.006959098391234875, -0.01175018958747387, 0.027393849566578865, 0.038514554500579834, 0.04495033249258995, 0.01386060006916523, 0.04149121418595314, -0.03603416308760643, -0.05126217380166054, 0.05257439613342285, -0.012453059665858746, -0.0051472666673362255, -0.08304475247859955, 0.003874684451147914, 0.03307988494634628, 0.019821912050247192, 0.024129299446940422, -0.00985568668693304, 0.0858449935913086, -0.0038090404123067856, -0.0018475739052519202, 0.007609100546687841, -0.015296895056962967, -0.028992466628551483, -0.023618243634700775, 0.012533241882920265, -0.0010735767427831888, -0.04302232712507248, -0.018196921795606613, 0.009666653349995613, 0.02986113168299198, -0.06307945400476456, -0.049163687974214554, -0.011236336082220078, 0.025378065183758736, 0.04181719943881035, -0.004630232695490122, -0.05583862215280533, -0.034377600997686386, -0.07034208625555038, -0.00213588192127645, 0.02912271022796631, 0.014164456166327, 0.004198161885142326, 0.04651911184191704, 0.021374912932515144, -0.01397461537271738, 0.04167204350233078, 0.050738830119371414, 0.060374535620212555, -0.007514529395848513, -0.048711393028497696, 0.007104822900146246, -0.029108041897416115, 0.043548937886953354, -0.00709584541618824, -0.03164077177643776, -0.028191477060317993, -0.08295547962188721, -0.015796035528182983, -0.008285053074359894, -0.008998561650514603, -0.006503984797745943, 0.02626010961830616, -0.0022308453917503357, -0.005867149215191603, -0.0058842371217906475, 0.010086029767990112, 0.032150089740753174, -0.04300212860107422, 0.06432965397834778, -0.004577595740556717, 0.010125686414539814, -0.04337730258703232, 0.008488671854138374, -0.04737401381134987, -0.027619468048214912, 0.026423810049891472, 0.03378501906991005, -0.005875152535736561, 0.05216384679079056, 0.08115806430578232, 0.02037470042705536, -0.03911137953400612, 0.029261434450745583, 0.05757887288928032, -0.027930598706007004, -0.05241299048066139, 0.003690753597766161, -0.008427822962403297, -0.029278505593538284, -0.005349734798073769, -0.004753580316901207, 0.045877210795879364, 0.036983221769332886, -0.007666376885026693, 0.029770556837320328, -0.01489273365586996, 0.005871833302080631, -0.022205941379070282, -0.04391083866357803, -0.0008064199355430901, 0.012948530726134777, -0.019828123971819878, 0.022458139806985855, 0.016735056415200233, 0.006494410336017609, 0.08098556101322174, 0.05623031035065651, -0.025605225935578346, -0.027250468730926514, 0.0352010540664196, 0.013068455271422863, -0.03521883115172386, -0.07297392189502716, -0.02309310808777809, 0.04582761973142624, 0.04838119447231293, -0.03779597207903862, -0.051652178168296814, 0.004441628698259592, 0.06602039188146591, -0.04299429431557655, 0.0604763887822628, -0.0018376236548647285, 0.061910632997751236, 0.07043761014938354, 0.0007206125883385539, 0.030416851863265038, -0.01812855713069439, -0.01761392503976822, 0.0009486781200394034, 0.03003169409930706, -0.027219673618674278, -0.03598180040717125, -0.037955690175294876, 0.03708957880735397, 0.04487321898341179, 0.04651543125510216, 0.039826568216085434, -0.028931165114045143, -0.023750195279717445, 0.02547110803425312, 0.04652933031320572, -0.041908055543899536, 0.0037728555034846067, 0.040499474853277206, 0.05617634207010269, -0.05166733264923096, -0.04400164261460304, -0.045169051736593246, -0.02798665501177311, 0.035188380628824234, 0.02332468330860138, -0.0640423595905304, -0.04508797079324722, 0.02084178477525711, 0.005216702818870544, 0.002064724452793598, -0.051243722438812256, 0.05714401975274086, -0.009405268356204033, -0.026593061164021492, 0.035522740334272385, 0.03017793968319893, 0.033702462911605835, 0.05765398591756821, 0.04281854256987572, -0.003732219571247697, -0.04057254269719124, 0.04882322624325752, -0.048800330609083176, -0.02957150526344776, -0.00977479387074709, -0.022830259054899216, -0.027243511751294136, -0.019826442003250122, -0.04819708690047264, -0.04855334758758545, -0.032199762761592865, 0.0034674161579459906, 0.017387423664331436, -0.009272200055420399, 0.004957123659551144, 0.049339406192302704, -0.010374736972153187, -0.021227968856692314, -0.031708892434835434, -0.021334093064069748, -0.07054059952497482, -0.06396707892417908, 0.020388497039675713, 0.011350388638675213, 0.0305698923766613, 0.049069248139858246, 0.01932869851589203, 0.010674950666725636, 0.027232959866523743, -0.05068077892065048, 0.014347520656883717, -0.01104899775236845, -0.02501850388944149, -0.02489292249083519, 0.0280107744038105, 0.02003074437379837, 0.015098369680345058, -0.030338827520608902, 0.03993118181824684, 0.00956050120294094, 0.0033844246063381433, -0.0039020006079226732, 0.020182637497782707, 0.011481765657663345, -0.06372996419668198, -0.02224758081138134, -0.008359341882169247, -0.020959045737981796, 0.03794831037521362, -0.03789648041129112, -0.01798492856323719, -0.00023851089645177126, -0.004428866785019636, 0.04139583930373192, -0.001745851943269372, -0.034406628459692, 0.014051666483283043, -0.003333596047013998, 0.01706509292125702, -0.03618819639086723, 0.05785714462399483, -0.05940310284495354, 0.014542865566909313, -0.030306071043014526, 0.008907645009458065, -0.032135117799043655, 0.02713683992624283, -0.01791549101471901, -0.022545907646417618, -0.016194336116313934, 0.039444781839847565, -0.04163338616490364, 0.03595656156539917, -0.0289854034781456, 0.038948822766542435, -0.032196689397096634, 0.07041310518980026, -0.03461311385035515, 0.0011013654293492436, -0.01768978126347065, 0.02452639676630497, -0.027597080916166306, 0.010055607184767723, 0.0059342943131923676, -0.013008195906877518, 0.03361885994672775, 0.03849863260984421, 0.03508071228861809, 0.028563272207975388, -0.026946386322379112, -0.015467911027371883, 0.02533857896924019, -0.0491907112300396, -0.022028658539056778, -0.013397237285971642, -0.0019145425176247954, -0.016416946426033974, 0.06964868307113647, 0.058837082237005234, -0.05376876890659332, -0.05674746632575989, 0.017103787511587143, 0.0040282318368554115, 0.015502708964049816, -0.006009814329445362, 0.06397585570812225, 0.03454842418432236, 0.0460197739303112, -0.03885108232498169, -0.0061177900061011314, -0.008657579310238361, -0.06063390523195267, 0.04119448736310005, -0.010317264124751091, 0.03557048738002777, 0.024116884917020798, -0.03971948102116585, -0.0018847307655960321, 0.0638357549905777, 0.027739737182855606, 0.022700238972902298, -0.01886877603828907, -0.04563092440366745, 0.028422456234693527, -0.005932720378041267, -0.044707465916872025, 0.016487084329128265, 0.021721679717302322, -0.02708062343299389, 0.06149454414844513, -0.004041746258735657, 0.010841292329132557, 0.06802117824554443, 0.03894087299704552, 0.005113536491990089, 0.07303881645202637, -0.017153900116682053, 0.01920229010283947, 0.0484454408288002, -0.088326096534729, -0.007747377268970013, -0.052573271095752716, 0.08221843093633652, -0.05819724500179291, 0.03238026052713394, 0.05801531299948692, 0.004449833184480667, -0.0034274812787771225, -0.0369945652782917, -0.03678204119205475, 0.007159337401390076, -0.026506703346967697, 0.08841386437416077, -0.0013925294624641538, -0.06507119536399841, 0.0491965189576149, 0.0037331879138946533, -0.0650530457496643, 0.04467342048883438, 0.024999894201755524, 0.060025542974472046, 0.02664179354906082, 0.04048899933695793, -0.036082178354263306, 0.013323175720870495, -0.0435992032289505, 0.03508755937218666, -0.04307631775736809, -0.011172166094183922, 0.04285051301121712, -0.029185805469751358, -0.015808429569005966, 0.07109540700912476, -0.02404697798192501, -0.019859669730067253, 0.05596127733588219, -0.03631209954619408, -0.03717261180281639, 0.02488245815038681, 0.013259758241474628, -0.025503328070044518, 0.0016434000572189689, -0.03696570172905922, 0.03348361700773239, 0.008211491629481316, 0.005859792698174715, -0.016512656584382057, -0.01303563266992569, 0.026399819180369377, -0.06511398404836655, -0.02657019905745983, 0.01260298676788807, -0.018324758857488632, -0.008858428336679935, 0.02596476674079895, 0.01663053408265114, 0.012423903681337833, 0.009624622762203217, -0.004242553375661373, 0.008987979963421822, -0.04299291595816612, -0.008865848183631897, -0.006842036731541157, 0.006675130687654018, 0.03158167377114296, -0.0016210823087021708, 0.052784595638513565, 0.05361449718475342, 0.029434360563755035, 0.012020816095173359, -0.028181511908769608, -0.03228099271655083, 0.029763970524072647, -0.027800126001238823, -0.004859387408941984, -0.012527182698249817, -0.059129443019628525, -0.02883024327456951, 0.006610850337892771, -0.036169786006212234, 0.03771914169192314, -0.062340009957551956, 0.035781219601631165, 0.04452744871377945, 0.004887648858129978, -0.06553135067224503, -0.11612460762262344, -0.0330195315182209, -0.03540563955903053, -0.004797845147550106, 0.024220049381256104, -0.017294256016612053, 0.03710654377937317, -0.0460682213306427, -0.03472135215997696, 0.05006425455212593, 0.025257620960474014, -0.04566702991724014, 0.03524482250213623, 0.04868493601679802, -0.047461286187171936, 0.011516962200403214, 0.032822832465171814, -0.041594505310058594, 0.02200823463499546, 0.009266404435038567, 0.0005819740472361445, 0.016136538237333298, 0.035300079733133316, -0.05815696716308594, -0.028209691867232323, -0.05732688307762146, -0.02112671174108982, -0.04978611692786217, 0.01118030957877636, 0.07051520049571991 ]
DeepPavlov/xlm-roberta-large-en-ru-mnli
[ "pytorch", "xlm-roberta", "text-classification", "en", "ru", "dataset:glue", "dataset:mnli", "transformers", "xlm-roberta-large", "xlm-roberta-large-en-ru", "xlm-roberta-large-en-ru-mnli", "has_space" ]
text-classification
{ "architectures": [ "XLMRobertaForSequenceClassification" ], "model_type": "xlm-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 } } }
227
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. It achieves the following results on the evaluation set: - Loss: 0.4779 - Wer: 0.3453 ## 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: 30 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 3.4307 | 4.0 | 500 | 1.4129 | 0.9980 | | 0.626 | 8.0 | 1000 | 0.4605 | 0.4499 | | 0.2199 | 12.0 | 1500 | 0.4457 | 0.3898 | | 0.1303 | 16.0 | 2000 | 0.4418 | 0.3771 | | 0.0851 | 20.0 | 2500 | 0.4647 | 0.3548 | | 0.0604 | 24.0 | 3000 | 0.4603 | 0.3499 | | 0.0461 | 28.0 | 3500 | 0.4779 | 0.3453 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.10.0+cu111 - Datasets 1.18.3 - Tokenizers 0.10.3
[ -0.02576413005590439, -0.0049885851331055164, -0.015178893692791462, 0.020025191828608513, 0.03816827014088631, 0.016248254105448723, 0.0006943831103853881, 0.0031831497326493263, -0.031544994562864304, 0.043314844369888306, 0.02234872244298458, -0.027826569974422455, 0.0019827492069453, 0.03310355916619301, -0.04005896672606468, -0.05850515514612198, -0.03443305939435959, 0.008316184394061565, -0.017026066780090332, 0.005458161234855652, 0.008108156733214855, -0.009085551835596561, -0.015532438643276691, 0.029376041144132614, 0.007194686681032181, 0.01445560622960329, -0.003001956967636943, 0.015736887231469154, 0.0043029338121414185, -0.06768565624952316, -0.012579808942973614, -0.0483497679233551, -0.056415289640426636, -0.037825968116521835, -0.007749857846647501, 0.004084396176040173, -0.009135017171502113, 0.03235935792326927, 0.039579056203365326, 0.047881126403808594, 0.02288181334733963, 0.022275501862168312, -0.03135254979133606, -0.013821030035614967, 0.05735696107149124, -0.0013382756151258945, -0.03198215365409851, -0.01952127180993557, 0.03344511613249779, -0.05287745222449303, -0.07583524286746979, -0.05467391759157181, -0.009797679260373116, 0.032842546701431274, -0.018341533839702606, -0.02519279345870018, -0.055508680641651154, -0.003994922619313002, 0.0729268342256546, -0.05273217707872391, -0.020641367882490158, 0.01274863351136446, -0.07429586350917816, 0.023544425144791603, 0.023420607671141624, -0.03353678435087204, 0.014664645306766033, -0.035375092178583145, 0.045039184391498566, 0.005268525332212448, 0.04189440608024597, -0.016889676451683044, 0.015795759856700897, -0.07489524036645889, -0.006837863475084305, 0.0015574464341625571, 0.03081778809428215, 0.0697048082947731, -0.03824301064014435, 0.048038799315690994, 0.03142530098557472, 0.008375153876841068, 0.02899784781038761, -0.019508767873048782, 0.021015025675296783, 0.04340866953134537, -0.05626293644309044, 0.03342334181070328, 0.0074625699780881405, 0.03234218433499336, -0.02155778370797634, -0.020601589232683182, -0.029719218611717224, -0.03714586794376373, -0.016281425952911377, 0.03914795443415642, 0.0363578274846077, 0.007158149965107441, 0.019765956327319145, 0.018903370946645737, 0.028470167890191078, 0.03279002383351326, -0.031112628057599068, 0.0642329528927803, -0.02302313968539238, -0.012670681811869144, -0.008065255358815193, -0.013703959994018078, -0.0396835133433342, 0.015571155585348606, 0.03304116055369377, -0.028142286464571953, -0.0302890557795763, 0.0394202284514904, -0.0032460892107337713, 0.0025508590042591095, 0.04565613716840744, -0.03728115186095238, -0.03667379915714264, -0.021987726911902428, 0.04655196890234947, 0.03215203806757927, -0.029682502150535583, -0.0000375183553842362, -0.061613038182258606, 0.0076945750042796135, -0.023851625621318817, -0.04773396626114845, -0.00022122562222648412, 0.012812172994017601, -0.010273572988808155, 0.047577835619449615, 0.0337420254945755, -0.07461941987276077, -0.0006411820068024099, 0.0064043463207781315, -0.04641197249293327, 0.02034616284072399, 0.007961087860167027, 0.09118428081274033, -0.06199963018298149, -0.06487761437892914, -0.00043796160025522113, -0.011892290785908699, -0.005165875423699617, 0.030723098665475845, 0.01267870981246233, -0.007925450801849365, -0.001591041567735374, -0.013502446934580803, 0.03667829558253288, -0.07216661423444748, -0.01159176230430603, 0.07633516192436218, -0.013296511024236679, 0.044179439544677734, -0.03313799947500229, -0.019632356241345406, 0.010414469987154007, -0.025326721370220184, -0.010038694366812706, 0.031603388488292694, 0.0037427579518407583, -0.022130215540528297, -0.02093231864273548, -0.04664937034249306, -0.01258423924446106, 0.0992497131228447, 0.001250659697689116, -0.01759723387658596, -0.03603929653763771, 0.023991281166672707, 0.04615755379199982, 0.043772824108600616, -0.036471445113420486, 0.044396061450242996, 0.04795223847031593, 0.026996014639735222, -0.03526078537106514, 0.05746764317154884, 0.03610730171203613, -0.03501605615019798, -0.0510973185300827, 0.02125723473727703, 0.019131138920783997, -0.07253353297710419, 0.011982262134552002, 0.03622674569487572, 0.025732986629009247, -0.03789867088198662, -0.03623296692967415, 0.044906243681907654, -0.017049450427293777, -0.00900125689804554, 0.01476493664085865, 0.0034726890735328197, -0.036939822137355804, 0.043285079300403595, -0.03429744765162468, -0.008617107756435871, -0.020492348819971085, -0.019826127216219902, -0.0001693348167464137, -0.001379168825224042, 0.034702543169260025, 0.04978141188621521, -0.017540274187922478, 0.10251494497060776, -0.0433148592710495, -0.000022996084226178937, -0.009129136800765991, -0.0495799258351326, 0.02172030508518219, 0.07623089104890823, 0.03185947611927986, 0.07838340848684311, -0.012307072058320045, -0.04003613814711571, 0.03709090128540993, 0.08922465145587921, 0.05566012114286423, -0.014222612604498863, -0.03533496335148811, -0.01820453256368637, 0.0218321792781353, 0.033368777483701706, -0.07211562991142273, -0.02537316456437111, 0.019022122025489807, 0.04314696416258812, -0.020874863490462303, 0.03257310017943382, -0.028032300993800163, 0.036278992891311646, -0.05351293087005615, -0.06888143718242645, 0.04876212030649185, 0.020437320694327354, -0.0019145800033584237, 0.022166486829519272, 0.0006147657986730337, 0.0030103602912276983, 0.0006853683153167367, 0.021416084840893745, -0.002497714012861252, -0.016343317925930023, 0.024106882512569427, 0.019664781168103218, 0.0590563528239727, -0.06830272823572159, 0.030679505318403244, -0.036106258630752563, 0.024722984060645103, 0.04290859028697014, -0.030381157994270325, 0.03376929461956024, 0.05151364579796791, 0.01843310333788395, -0.025983400642871857, -0.0026918998919427395, 0.010645458474755287, 0.04847687855362892, 0.02300087921321392, 0.01505991630256176, 0.06635243445634842, 0.03186449408531189, 0.03458132594823837, 0.06721596419811249, 0.02600036934018135, 0.025242440402507782, 0.03913872316479683, 0.08154605329036713, 0.018929583951830864, -0.01667109690606594, 0.05579284951090813, -0.0646858885884285, 0.029265429824590683, -0.03420343995094299, -0.0043389443308115005, -0.03477103263139725, -0.0039556496776640415, 0.026427434757351875, 0.002416299656033516, -0.013846615329384804, -0.03561888635158539, -0.020070064812898636, -0.02922971546649933, 0.02254040166735649, -0.009508932940661907, -0.01554448064416647, -0.004094402771443129, 0.007484215311706066, -0.00525397015735507, -0.06994709372520447, -0.012839284725487232, -0.011282703839242458, -0.030505163595080376, -0.008882625959813595, -0.08316192030906677, -0.012201138772070408, -0.07273439317941666, -0.026473715901374817, 0.0331682413816452, 0.00012683709792327136, 0.004554287530481815, -0.051619116216897964, 0.00020807386317756027, -0.04756816476583481, -0.05648376792669296, -0.050317540764808655, -0.06338802725076675, -0.02356419898569584, -0.07511764764785767, 0.03414526209235191, 0.06254439055919647, 0.01840103790163994, 0.0003075860149692744, 0.025688765570521355, 0.007275461684912443, -0.02135564014315605, 0.046152301132678986, 0.05604404956102371, -0.02935938537120819, -0.0642223060131073, 0.027236483991146088, -0.010612080805003643, -0.006669522263109684, -0.006780341733247042, -0.02157846838235855, 0.0977836549282074, 0.048817019909620285, 0.029858268797397614, 0.02914758399128914, -0.02135477401316166, -0.056125860661268234, -0.0594387948513031, -0.02802514284849167, -0.05410141125321388, -0.021932452917099, -0.05753456801176071, -0.017306512221693993, -0.036461710929870605, -0.019426990300416946, 0.030313411727547646, -0.025670254603028297, -0.024195922538638115, 0.02211509272456169, 0.033422473818063736, 0.013970835134387016, 0.031735487282276154, -0.011315744370222092, -0.06645245850086212, 0.0439879335463047, 0.0038886971306055784, -0.02309076301753521, -0.07799552381038666, 0.003133030142635107, 0.011242153123021126, 0.010383508168160915, 0.014294488355517387, 0.006630635354667902, 0.09019433706998825, 0.0003145596128888428, -0.021705511957406998, 0.02486288920044899, -0.019723733887076378, -0.004606903064996004, -0.033858928829431534, -0.004022817127406597, -0.0144780483096838, -0.05432654917240143, 0.021872512996196747, -0.011509525589644909, 0.04188931733369827, -0.07048887759447098, -0.051804691553115845, -0.014481249265372753, 0.024800388142466545, 0.041423145681619644, 0.0031752646900713444, -0.012610077857971191, -0.02283504419028759, -0.05506468936800957, -0.012730751186609268, 0.03709150478243828, 0.015623221173882484, 0.006337511818856001, 0.04809853434562683, 0.014209450222551823, -0.01737922430038452, 0.0472392663359642, 0.04078192636370659, 0.07248356938362122, 0.041223037987947464, -0.043516919016838074, 0.019239041954278946, -0.022526243701577187, 0.01936565339565277, -0.02530551515519619, -0.026674047112464905, -0.04032836854457855, -0.1059255599975586, -0.037692464888095856, 0.009052403271198273, -0.002196698682382703, -0.011607188731431961, 0.04470714554190636, 0.013613676652312279, -0.015403219498693943, 0.0030990466475486755, 0.02307629957795143, 0.044826481491327286, -0.0328640379011631, 0.044409751892089844, -0.008372562937438488, 0.013619545847177505, -0.07641170918941498, 0.008768183179199696, -0.038951534777879715, -0.013185810297727585, 0.01164666935801506, 0.04036938026547432, -0.02236972376704216, 0.05577722564339638, 0.07743356376886368, 0.019787203520536423, -0.04153655469417572, 0.039591919630765915, 0.06638381630182266, -0.04011118412017822, -0.04993213713169098, 0.015468932688236237, -0.008562417700886726, -0.0370466522872448, -0.0009370557381771505, 0.00019068369874730706, 0.03954792022705078, 0.0378219373524189, -0.022928351536393166, 0.0158417746424675, 0.006384209264069796, -0.008937140926718712, -0.015289823524653912, -0.04803267866373062, -0.039673563092947006, -0.009476459585130215, -0.04236915335059166, 0.03544243425130844, 0.03487563505768776, 0.018883654847741127, 0.054019778966903687, 0.03345621004700661, -0.061851322650909424, -0.02283445931971073, 0.007625141181051731, 0.018495727330446243, -0.016280384734272957, -0.08491475135087967, -0.02867041528224945, 0.05570981279015541, 0.029966169968247414, -0.013107581064105034, -0.06718716025352478, -0.000056914959714049473, 0.05504344776272774, -0.06400669366121292, 0.040337711572647095, 0.01732231117784977, 0.04344971105456352, 0.04914573207497597, 0.003971383441239595, 0.03815697133541107, -0.016942910850048065, 0.0057861702516674995, -0.0036763937678188086, 0.022574806585907936, -0.023607861250638962, -0.02204178087413311, -0.06781725585460663, 0.0030224856454879045, 0.05518181622028351, 0.04120013490319252, 0.02377484366297722, -0.03297179564833641, -0.027451874688267708, 0.01456197164952755, 0.02397087775170803, -0.04906267672777176, 0.0005284760263748467, 0.017907163128256798, 0.031349461525678635, -0.035683099180459976, -0.007214117329567671, -0.018271982669830322, -0.0016980854561552405, 0.02238214761018753, 0.0032807006500661373, -0.043622083961963654, -0.039043549448251724, 0.04823256656527519, 0.030504923313856125, -0.01781475357711315, -0.0872361958026886, 0.02617706172168255, -0.012659651227295399, -0.01110120303928852, 0.027537664398550987, 0.022436335682868958, 0.031640052795410156, 0.05211494863033295, 0.028927605599164963, 0.02154596894979477, -0.023121723905205727, 0.029318610206246376, -0.033920083194971085, -0.023553602397441864, -0.0005865151179023087, -0.027662919834256172, -0.03540967032313347, -0.0055164252407848835, -0.06013239175081253, -0.027126507833600044, -0.017763668671250343, 0.018506543710827827, -0.005482500419020653, -0.008072073571383953, -0.01929185353219509, 0.06506047397851944, -0.018297316506505013, -0.024582529440522194, -0.03698350116610527, -0.014700070954859257, -0.06427325308322906, -0.044096291065216064, 0.04194765165448189, 0.013844845816493034, 0.05782883241772652, 0.03219238296151161, 0.020720461383461952, 0.017249859869480133, 0.01342901773750782, -0.028606828302145004, 0.007749948184937239, 0.003652105573564768, -0.026981297880411148, -0.009801317937672138, 0.0191987082362175, 0.009454970248043537, 0.013089412823319435, -0.04320693016052246, 0.02084282971918583, 0.017722634598612785, -0.018403463065624237, -0.021403251215815544, 0.00860787183046341, 0.013483553193509579, -0.06966200470924377, -0.028896188363432884, -0.008596601895987988, -0.04108045995235443, 0.01728637143969536, -0.03698401153087616, -0.016197524964809418, 0.005246294196695089, 0.020582757890224457, 0.0457041934132576, -0.019683875143527985, -0.018963057547807693, 0.011348956264555454, -0.025524349883198738, -0.0038350780960172415, -0.059788767248392105, 0.049621857702732086, -0.031021112576127052, 0.005672818515449762, -0.028278278186917305, 0.020276086404919624, -0.05527113378047943, 0.03715992718935013, -0.022781696170568466, 0.00015856137906666845, -0.018006011843681335, 0.060167450457811356, -0.0269565861672163, 0.02621653862297535, 0.004007202573120594, 0.026508139446377754, -0.05992935970425606, 0.05813775584101677, -0.02639871835708618, 0.02363116480410099, -0.02914799191057682, -0.003322180360555649, -0.03401775658130646, 0.005229487083852291, -0.024548575282096863, -0.028149493038654327, 0.03531257435679436, 0.060760125517845154, 0.056548912078142166, 0.03324359282851219, -0.0233136173337698, -0.03436919301748276, 0.0314716100692749, -0.033887285739183426, -0.01581399142742157, -0.0018732284661382437, -0.005028650630265474, -0.007395639084279537, 0.04363822564482689, 0.031038925051689148, -0.0634230300784111, -0.06134622171521187, 0.038296010345220566, -0.003633735468611121, 0.01715458557009697, 0.02619657665491104, 0.02515224739909172, 0.038886770606040955, 0.06079500913619995, -0.021137863397598267, 0.006336656399071217, -0.013088035397231579, -0.03197207301855087, 0.040131062269210815, -0.0241087693721056, 0.03135589510202408, 0.01688169129192829, -0.03741132840514183, -0.007571676280349493, 0.03658303618431091, 0.028991442173719406, 0.03750549256801605, -0.00914463959634304, -0.03407660871744156, 0.013916973024606705, -0.00474089290946722, -0.05231719836592674, 0.028366977348923683, -0.0032411827705800533, -0.02975541725754738, 0.06521889567375183, -0.03727344796061516, 0.013334650546312332, 0.05365952104330063, 0.03667560592293739, -0.02030959166586399, 0.06239863485097885, -0.027592072263360023, 0.0002444073907099664, 0.07258056849241257, -0.0702790915966034, 0.005913578439503908, -0.012010711245238781, 0.07503090053796768, -0.07680787146091461, 0.02764497883617878, 0.059249285608530045, -0.002460946561768651, 0.020200271159410477, -0.04901998117566109, -0.03698977082967758, 0.016583438962697983, -0.04345547407865524, 0.0966096818447113, 0.008490679785609245, -0.061662666499614716, 0.036919496953487396, 0.01706162467598915, -0.07079921662807465, 0.04431421309709549, 0.020771127194166183, 0.032574597746133804, 0.037445638328790665, 0.047860872000455856, -0.04345693066716194, 0.020011693239212036, -0.04061417654156685, 0.042999520897865295, -0.059760693460702896, -0.005712498445063829, 0.033555176109075546, -0.03282765671610832, -0.03396700695157051, 0.0366479866206646, -0.0185654629021883, -0.018721355125308037, 0.04385615512728691, -0.04994409903883934, -0.038304343819618225, 0.016051964834332466, 0.03262327238917351, -0.033550746738910675, 0.006308903452008963, -0.04015500470995903, -0.005951150320470333, 0.005620165728032589, 0.00681130588054657, -0.027536749839782715, -0.013815226964652538, 0.011805684305727482, -0.0491897277534008, -0.042190276086330414, 0.0303721334785223, -0.02312142588198185, -0.011837393045425415, 0.034151364117860794, 0.016860751435160637, -0.002662409795448184, 0.027378039434552193, 0.008929253555834293, 0.026429571211338043, -0.03728918358683586, -0.03447352722287178, 0.0017636221600696445, -0.003870454616844654, 0.025604480877518654, 0.016633257269859314, 0.044314395636320114, 0.01415643747895956, -0.0065763541497290134, 0.0034388829953968525, -0.01988842338323593, -0.028109699487686157, 0.024239661172032356, -0.039924897253513336, 0.002141950186342001, -0.0011334700975567102, -0.04495266452431679, -0.05835539102554321, -0.022784747183322906, -0.02646207995712757, 0.00978224165737629, -0.05562714859843254, -0.014615340158343315, 0.05103401094675064, -0.026722468435764313, -0.057906996458768845, -0.07881055027246475, -0.03510273993015289, -0.050950195640325546, 0.01916239969432354, 0.03222452849149704, -0.031434573233127594, 0.04485764726996422, -0.052125297486782074, -0.05069109797477722, 0.037543054670095444, 0.017536770552396774, -0.030340062454342842, 0.032702650874853134, 0.04565972462296486, -0.04730449989438057, -0.0025889715179800987, 0.05356007069349289, -0.04715777933597565, 0.01556819211691618, 0.013325870968401432, 0.026711056008934975, 0.02959691919386387, 0.0064109074883162975, -0.059637218713760376, -0.034545376896858215, -0.052318964153528214, -0.03597985580563545, -0.04801568016409874, 0.002121188212186098, 0.04685570299625397 ]
DeltaHub/adapter_t5-3b_cola
[ "pytorch", "transformers" ]
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 } } }
3
null
# Work In Progress # How to use? This model can only generate regular text. # Training details We continued the pre-training of [gpt2](https://huggingface.co/gpt2). Dataset:[Natural_Questions_HTML_reduced_all](https://huggingface.co/datasets/SaulLu/Natural_Questions_HTML_reduced_all) 100% of the examples were just plain text. Training example: ``` start up firms to succeed.[4] Firms like power companies, cable television companies and wireless communication companies with large start up costs fall within this category. A company wishing to enter such industries must have the financial ability to spend millions of dollars before starting operations and generating any revenue.[5] Similarly established firms also have a competitive advantage over new firms. An established firm threatened by a new competitor can lower prices to drive out the competition. Microsoft is a firm that has substantial pricing or market power due to technological superiority in its design and production processes.[4] Finally government created barriers to entry can be a source of market power. A prime example are patents granted to pharmaceutical companies. These patents give the drug companies a virtual monopoly in the protected product for the term of the patent. Measurement[edit] Concentration ratios are the most common measures of market power.[6] The four-firm concentration ratio measures the percentage of total industry output attributable to the top four companies. For monopolies the four firm ratio is 100 per cent while the ratio is zero for perfect competition.[7] The four firm concentration domestic (U.S) ratios for cigarettes is 93%; for automobiles, 84% and for beer, 85%.[8] Another measure of concentration is the Herfindahl-Hirschman Index (HHI) which is calculated by "summing the squares of the percentage market shares of all participants in the market".[8] The HHI index for perfect competition is zero; for monopoly, 10,000. U.S. courts almost never consider a firm to possess market power if it has a market share of less than 50 percent.[9] Elasticity of demand[edit] Market power is the ability to raise price above marginal cost (MC) and earn a positive profit.[10] The degree to which a firm can raise price (P) above marginal cost depends on the shape of the demand curve at the profit maximizing output.[10] That is, elasticity is the critical factor in determining market power. The relationship between market power and the price elasticity of demand (PED) can be summarized by the equation: P M C = P E D 1 + P E D. {\displaystyle {\frac {P}{MC}}={\frac {PED}{1+PED}}.} Note that PED will be negative, so the ratio is always greater than one. The higher the P/MC ratio, the more market power the firm possesses. As PED increases in magnitude, the P/MC ratio approaches one, and market power approaches zero.[11] The equation is derived from the monopolist pricing rule: P − M C P = − 1 P E D. {\displaystyle {\frac {P-MC}{P}}=-{\frac {1}{PED}}.} Nobel Memorial Prize[edit] Jean Tirole was awarded the 2014 Nobel Memorial Prize in Economic Sciences for his analysis of market power and economic regulation. See also[edit] Bargaining power Imperfect competition Market concentration Natural monopoly Predatory pricing Price discrimination Dominance (economics) References[edit] Jump up ^ Vatiero Massimiliano (2010). "The Ordoliberal notion of market power: an institutionalist reassessment". European Competition Journal. 6 (3): 689–707. doi:10.5235/ecj.v6n3.689. Jump up ^ Vatiero M. (2009), "An Institutionalist Explanation of Market Dominances". World Competition. Law and Economics Review, 32(2):221–226. Jump up ^ If the power company raised rates the customer either pays the increase or does without power. ^ Jump up to: a b c d e Krugman & Wells, Microeconomics 2d ed. (Worth 2009) Jump up ^ Often such natural monopolies will also have the benefit of government granted monopolies. Jump up ^ Samuelson & Nordhaus, Microeconomics, 17th ed. (McGraw-Hill 2001) at 183–184. Jump up ^ Samuelson & Nordhaus, Microeconomics, 17th ed. (McGraw-Hill 2001) at 183. ^ Jump up to: a b Samuelson & Nordhaus, Microeconomics, 17th ed. (McGraw-Hill 2001) at 184. Jump up ^ J. Gregory Sidak & Hal J. Singer, Überregulation Without Economics: The World Trade Organization’s Decision in the U.S.-Mexico Arbitration on Telecommunications Services, General Agreement on Trade in Services, GATS, 57 FED. COMM. L.J. 1, 34 (2004), http://www.repository.law.indiana.edu/cgi/viewcontent.cgi?article=1388&context=fclj. ^ Jump up to: a b ```
[ 0.004051442723721266, 0.020120887085795403, -0.013964107260107994, -0.0013945065438747406, 0.044284213334321976, 0.0218490082770586, 0.0010506517719477415, 0.02017415128648281, -0.02028707228600979, 0.031626615673303604, 0.00633478257805109, -0.01074937917292118, 0.020126355811953545, 0.02677909843623638, -0.025709431618452072, -0.033566709607839584, -0.033464763313531876, -0.025893278419971466, -0.04742717370390892, -0.02978045493364334, 0.030918238684535027, -0.016348622739315033, -0.016385946422815323, 0.008666283451020718, -0.022061700001358986, 0.005448679439723492, 0.012135554105043411, 0.034565333276987076, 0.013697300106287003, -0.08382132649421692, 0.00677592633292079, -0.0838036984205246, -0.0398828350007534, -0.03083520382642746, -0.017590757459402084, 0.014331365004181862, 0.04010428488254547, -0.016889428719878197, 0.035460855811834335, 0.010048210620880127, 0.0010545124532654881, -0.005935704335570335, 0.010300799272954464, -0.026913972571492195, -0.007920685224235058, -0.0008491856278851628, -0.019246770069003105, -0.028442537412047386, 0.042136985808610916, -0.0034326633904129267, -0.059327904134988785, -0.07183872908353806, 0.007349188905209303, -0.015339597128331661, -0.023220738396048546, -0.03198994696140289, -0.02871597185730934, 0.014511989429593086, 0.06104641407728195, -0.044008854776620865, -0.060783546417951584, 0.024706268683075905, -0.07708922028541565, 0.021759159862995148, 0.0172564759850502, -0.038526058197021484, -0.0015962225152179599, -0.033223967999219894, 0.02980365790426731, -0.01403424795717001, 0.0551571249961853, -0.024312809109687805, 0.023334359750151634, -0.08404836058616638, -0.011797911487519741, -0.034549541771411896, 0.002523725386708975, 0.04870443418622017, -0.05625380575656891, 0.033824365586042404, 0.013882571831345558, 0.02543513849377632, 0.0531236007809639, -0.013629407621920109, -0.02336340956389904, 0.03454361855983734, -0.005036893300712109, 0.004065550863742828, 0.016123827546834946, 0.027250101789832115, -0.009940477088093758, -0.02882607840001583, -0.04015812277793884, -0.047448016703128815, -0.014183332212269306, 0.018472842872142792, 0.043076444417238235, 0.020303893834352493, 0.010168482549488544, 0.02333207242190838, 0.03199756518006325, 0.035462379455566406, 0.003183535998687148, 0.043353769928216934, -0.0017667270731180906, -0.012943132780492306, 0.008982541970908642, -0.014485782012343407, -0.06094186007976532, 0.019707784056663513, -0.01230685692280531, -0.0298628993332386, -0.009311210364103317, 0.005879634525626898, 0.002616073004901409, -0.034008484333753586, 0.009535343386232853, -0.027245037257671356, -0.05127289891242981, -0.056306563317775726, 0.04140416532754898, 0.02497369982302189, -0.003509522881358862, 0.014390219934284687, -0.010259410366415977, -0.004835713654756546, -0.029769187793135643, -0.0018698867643252015, -0.013681657612323761, -0.007166148629039526, -0.003799621481448412, 0.052444301545619965, 0.029278747737407684, -0.06688660383224487, 0.03931068256497383, -0.0032808866817504168, -0.05719546601176262, 0.03808707371354103, 0.018241839483380318, 0.08741199225187302, -0.06409277766942978, -0.03574416786432266, 0.016341883689165115, 0.026291070505976677, -0.012518709525465965, -0.011957932263612747, -0.026211915537714958, -0.05559925362467766, -0.023717526346445084, -0.002925420179963112, 0.06189991906285286, -0.028726033866405487, -0.015685373917222023, 0.06750937551259995, -0.015782317146658897, 0.062221527099609375, -0.03870732709765434, -0.00874894019216299, -0.013236170634627342, -0.022433392703533173, -0.0287491325289011, 0.06860964000225067, -0.032967545092105865, -0.0042378040961921215, -0.019983001053333282, -0.03093213029205799, 0.008822736330330372, 0.07455430179834366, -0.026404010131955147, -0.03807573392987251, -0.07576075196266174, 0.019620392471551895, 0.03948041424155235, 0.024097181856632233, -0.04525859281420708, 0.020118072628974915, 0.04327883943915367, 0.01891821250319481, -0.025418978184461594, 0.05044420808553696, 0.06018707528710365, -0.02389485202729702, -0.03471042215824127, 0.015558028593659401, 0.03760581836104393, -0.017593925818800926, 0.011500579304993153, 0.04449976980686188, 0.014110014773905277, -0.032428041100502014, -0.02881765365600586, 0.017185380682349205, -0.032688792794942856, -0.008268083445727825, 0.013337220996618271, -0.008118384517729282, -0.0402013435959816, 0.027148868888616562, -0.019671637564897537, 0.009847915731370449, -0.019620776176452637, -0.03612546622753143, 0.05366044491529465, 0.013509775511920452, 0.01976390741765499, 0.04534897953271866, 0.008363315835595131, 0.08843955397605896, -0.033185407519340515, -0.007876432500779629, -0.07767000049352646, -0.022949889302253723, -0.028958134353160858, 0.04385136067867279, 0.031182922422885895, 0.06014920771121979, -0.025230200961232185, -0.048741620033979416, 0.03084654174745083, 0.04024907574057579, 0.03891008719801903, 0.015420672483742237, -0.022668970748782158, 0.022375859320163727, 0.027162104845046997, 0.043437015265226364, -0.029078727588057518, -0.0438966378569603, -0.013866360299289227, 0.06526897847652435, -0.0182055477052927, 0.030086606740951538, -0.015383723191916943, 0.007755792234092951, -0.030792197212576866, -0.07735728472471237, 0.04272998124361038, 0.016616491600871086, 0.008950017392635345, 0.013339241035282612, -0.015160532668232918, 0.024980789050459862, 0.016517793759703636, 0.008319484069943428, 0.013325031846761703, -0.07045166939496994, 0.0030301446095108986, 0.019296711310744286, 0.027233518660068512, -0.0514160580933094, 0.046376217156648636, 0.02410869114100933, 0.003573309164494276, -0.010904540307819843, -0.045923467725515366, 0.022826384752988815, 0.06521213054656982, 0.0075228591449558735, -0.021587641909718513, 0.03908154368400574, 0.006486160680651665, 0.0026419584173709154, 0.06524106860160828, -0.005272261798381805, 0.09264569729566574, -0.03659136965870857, 0.05820689722895622, 0.07652285695075989, 0.018368544057011604, -0.000055232107115443796, 0.04470187798142433, 0.06205141544342041, 0.007585144601762295, -0.019720647484064102, 0.040245287120342255, -0.0706600770354271, 0.02860262617468834, -0.02699982188642025, 0.030069366097450256, -0.00002495320040907245, -0.0009523557382635772, 0.04954185336828232, 0.040446311235427856, -0.04122234508395195, 0.02326900139451027, -0.016253754496574402, -0.0035181904677301645, 0.023250440135598183, -0.025273367762565613, 0.0266016386449337, -0.047883253544569016, -0.052645184099674225, -0.00810396671295166, -0.08689329028129578, -0.01521595660597086, -0.015943022444844246, -0.018231410533189774, -0.005959663540124893, -0.08700954914093018, 0.0006826885510236025, -0.08646851778030396, -0.025138452649116516, 0.0971146672964096, 0.03635275736451149, 0.006154002156108618, -0.08668220788240433, 0.027540333569049835, -0.04614825174212456, -0.025488007813692093, -0.060360658913850784, -0.03425430506467819, -0.05990263819694519, -0.10884420573711395, 0.0327003188431263, 0.016130924224853516, 0.035197727382183075, 0.017109794542193413, 0.01276778057217598, -0.020719092339277267, 0.004089041613042355, 0.03421063348650932, 0.063028983771801, -0.004130194894969463, -0.027413133531808853, 0.04895477369427681, -0.029466385021805763, -0.0037758543621748686, 0.0015751742757856846, -0.03434314578771591, 0.09529104083776474, 0.047369495034217834, 0.02781875804066658, 0.010059857740998268, 0.007943334057927132, -0.05330026149749756, -0.06355886161327362, -0.02253025770187378, -0.024307193234562874, -0.013317728415131569, -0.05104226619005203, -0.02780894935131073, 0.013407856225967407, -0.024761248379945755, 0.004274326376616955, -0.026655348017811775, 0.005937708076089621, 0.023582054302096367, 0.05826214328408241, 0.03578619658946991, 0.02074439264833927, -0.0395207442343235, -0.05119777470827103, 0.07115761935710907, 0.004236444365233183, -0.010382422246038914, -0.08198569715023041, -0.05890989303588867, 0.020195098593831062, 0.04186159744858742, 0.014946242794394493, -0.035101257264614105, 0.05563433840870857, -0.00000845619615574833, -0.010592116974294186, 0.03477122634649277, -0.03382398560643196, -0.02673911675810814, -0.017508700489997864, 0.013785026036202908, -0.049426138401031494, -0.04083993285894394, -0.02612985111773014, -0.01636325567960739, 0.04947163537144661, -0.024536598473787308, -0.06112108752131462, -0.0005553482915274799, 0.037583306431770325, 0.022686798125505447, -0.017320310696959496, -0.005973330698907375, -0.01948048174381256, -0.058130666613578796, -0.029489697888493538, 0.011188083328306675, 0.013445529155433178, 0.006484511774033308, 0.023574067279696465, 0.018425345420837402, -0.011990024708211422, 0.038086406886577606, 0.025413254275918007, 0.02971908636391163, 0.0141062056645751, -0.05864981189370155, 0.020276371389627457, -0.03221774101257324, 0.023035256192088127, -0.0110088512301445, -0.03070894628763199, -0.04442770779132843, -0.08575846999883652, -0.011353181675076485, 0.014135160483419895, 0.0009993533603847027, -0.013790772296488285, 0.04821816831827164, -0.0063825431279838085, -0.021359067410230637, 0.010110489092767239, 0.019000979140400887, 0.010725134052336216, -0.04871628060936928, 0.07758955657482147, -0.008747926913201809, 0.013736971653997898, -0.05031827092170715, -0.020564595237374306, -0.044015880674123764, -0.014621836133301258, 0.04251502826809883, 0.05599500983953476, 0.03297963738441467, 0.03917235881090164, 0.055951666086912155, 0.05878531560301781, -0.020598560571670532, 0.00657908758148551, 0.0655040591955185, -0.0609680600464344, -0.06123730167746544, -0.00020612780645024031, -0.04248674213886261, -0.02880394272506237, -0.004617980215698481, -0.037848759442567825, 0.02531011402606964, 0.038319770246744156, 0.003072647610679269, -0.05380982905626297, -0.004238262306898832, -0.005334828980267048, -0.04412973299622536, -0.07764779031276703, -0.012547851540148258, 0.002082093385979533, -0.006770472042262554, -0.005181487649679184, 0.03263382986187935, 0.02950715273618698, 0.05849422514438629, 0.014611290767788887, -0.025720292702317238, -0.037849340587854385, 0.02243819832801819, 0.022006899118423462, -0.06192339211702347, -0.03504757583141327, -0.015679914504289627, 0.045587264001369476, 0.03092658519744873, 0.011479618959128857, -0.08244000375270844, 0.04020039364695549, 0.04968791455030441, -0.04654683545231819, 0.049901966005563736, -0.008814672939479351, 0.049480538815259933, 0.038437820971012115, 0.0035993847995996475, 0.04866120591759682, -0.0332198292016983, -0.0044365436770021915, -0.02502433955669403, 0.028773359954357147, -0.029274754226207733, -0.0437755286693573, -0.02094658836722374, 0.031189987435936928, 0.007911072112619877, 0.02670123055577278, 0.03277267888188362, -0.02557947114109993, -0.021473607048392296, 0.019365014508366585, 0.018873760476708412, -0.0450519360601902, 0.0348067469894886, 0.03609265014529228, 0.03717465698719025, -0.05376787111163139, -0.04132510721683502, -0.0017077212687581778, 0.022864678874611855, 0.045964665710926056, -0.006234984379261732, -0.009860890917479992, -0.053518254309892654, 0.01743667759001255, 0.030881205573678017, -0.03208285570144653, -0.08417334407567978, 0.05153960362076759, 0.006221713498234749, -0.03714843839406967, 0.027242321521043777, 0.022670332342386246, 0.020558491349220276, 0.07625850290060043, 0.009438547305762768, 0.018473483622074127, -0.018826864659786224, 0.04410259425640106, -0.019129954278469086, -0.027207719162106514, 0.012417737394571304, -0.04524907097220421, -0.003437386592850089, -0.014453968964517117, -0.019459683448076248, -0.03130006045103073, -0.033372435718774796, 0.029293658211827278, 0.011417149566113949, -0.0007142465328797698, 0.00586024671792984, 0.01960357278585434, 0.0031251031905412674, -0.03801934793591499, -0.030100757256150246, -0.022509770467877388, -0.08088946342468262, -0.03964674845337868, 0.04338527098298073, 0.01674090512096882, 0.005049630533903837, 0.007138504646718502, 0.021810367703437805, 0.007116468157619238, 0.0267623458057642, -0.006343702785670757, 0.029640434309840202, -0.024434471502900124, -0.03480720892548561, -0.03593064844608307, 0.0031194400507956743, 0.011108458042144775, 0.010821396484971046, -0.011939541436731815, 0.049766942858695984, 0.011907516978681087, 0.0030267436522990465, -0.04757633060216904, 0.03867996484041214, 0.032524459064006805, -0.06014084070920944, -0.03590938076376915, -0.028343433514237404, -0.04350448027253151, 0.0370783694088459, -0.038758695125579834, -0.04173341765999794, 0.02123730257153511, 0.03825144097208977, 0.03864282742142677, -0.015576064586639404, -0.04561175778508186, -0.0009542486513964832, 0.0015385932056233287, 0.02964521385729313, -0.048932451754808426, 0.07299560308456421, -0.026948167011141777, 0.04102208465337753, -0.01578187569975853, -0.0026706301141530275, -0.04797029122710228, 0.05551707372069359, -0.03363196551799774, -0.014127315953373909, 0.0001235954841831699, 0.01800457015633583, -0.014826713129878044, 0.013061256147921085, -0.01702764816582203, 0.013740471564233303, -0.011816978454589844, 0.07499333471059799, -0.017446352168917656, -0.02201366238296032, -0.005245878826826811, 0.016550598666071892, -0.050339747220277786, -0.007116710301488638, -0.024609167128801346, -0.0350571945309639, 0.013637063093483448, 0.014342199079692364, 0.034345317631959915, 0.04655963554978371, -0.03948712348937988, -0.012426909059286118, 0.007278169970959425, -0.05402810871601105, -0.03084457479417324, -0.021513784304261208, -0.00984503235667944, -0.009041122160851955, 0.03844025731086731, 0.028824996203184128, -0.05676380917429924, -0.05344472825527191, 0.06894592940807343, 0.038519296795129776, 0.005846549291163683, -0.035540636628866196, 0.01614811271429062, 0.03944019228219986, 0.024527188390493393, -0.04831733927130699, 0.016460038721561432, -0.009725186042487621, -0.0030802323017269373, 0.062050674110651016, 0.011050349101424217, 0.03991713002324104, 0.004325444344431162, -0.029033562168478966, -0.006027191877365112, 0.09018954634666443, 0.012139231897890568, 0.013804513029754162, 0.0004616280784830451, -0.03491029143333435, 0.0546799935400486, 0.02285008318722248, -0.030619364231824875, 0.007029173895716667, 0.009357607923448086, -0.038083963096141815, 0.033050596714019775, 0.007195333484560251, -0.00540435453876853, 0.0685507208108902, -0.01848607510328293, 0.0020174675155431032, 0.06254524737596512, -0.009793072007596493, 0.03332412615418434, 0.03947792947292328, -0.07866404950618744, -0.014110137708485126, -0.04801639914512634, 0.05511043593287468, -0.0750170573592186, 0.05883711203932762, 0.03733156993985176, -0.012112091295421124, 0.02180038020014763, -0.01575324684381485, -0.05461742728948593, 0.027071906253695488, -0.015927905216813087, 0.06429982930421829, -0.011011343449354172, -0.06547675281763077, 0.06971948593854904, 0.03166293725371361, -0.07846304774284363, 0.02621409483253956, 0.036419160664081573, 0.0368349552154541, 0.023693883791565895, 0.060791462659835815, -0.04758043959736824, -0.017747579142451286, -0.030726319178938866, 0.015611788257956505, -0.013090766966342926, -0.022853855043649673, 0.011454623192548752, -0.04657062143087387, -0.04748496040701866, 0.020603768527507782, 0.02079605497419834, -0.010797065682709217, 0.024109959602355957, -0.03701625391840935, -0.0033091381192207336, 0.014098059386014938, 0.022333746775984764, -0.00860180240124464, -0.019851163029670715, -0.043576404452323914, 0.01995217241346836, 0.037614285945892334, 0.01952270418405533, -0.012635955587029457, -0.025388451293110847, 0.007357399445027113, -0.08310636878013611, -0.02434586174786091, 0.038252755999565125, 0.0554860457777977, -0.021712526679039, 0.03752770647406578, -0.0009595636511221528, 0.012884586118161678, 0.026125768199563026, -0.014364169910550117, -0.0005027418374083936, -0.03790242597460747, -0.029194138944149017, 0.023895621299743652, -0.0007878749165683985, 0.041148290038108826, -0.0007295291870832443, 0.031099587678909302, 0.04493333771824837, 0.019591914489865303, 0.009132365696132183, -0.02762906812131405, -0.036654479801654816, 0.013736321590840816, -0.06012091785669327, -0.001006393344141543, -0.014634345658123493, -0.06119862571358681, -0.031149443238973618, -0.015282133594155312, -0.025205114856362343, 0.031411461532115936, -0.020869029685854912, 0.008811427280306816, 0.06719216704368591, 0.0024045531172305346, -0.062070783227682114, -0.09092874825000763, -0.0007450748234987259, -0.06908220052719116, 0.005181343760341406, 0.015040287747979164, -0.02738538198173046, 0.00895423162728548, -0.038808904588222504, -0.033358048647642136, 0.02431376837193966, 0.0015296994242817163, -0.04958396032452583, 0.026975547894835472, 0.006034020334482193, -0.025390323251485825, 0.0060810851864516735, 0.05379409343004227, -0.04551703482866287, 0.024355269968509674, 0.01705791987478733, 0.030195044353604317, 0.042394109070301056, -0.0015958041185513139, -0.03132092207670212, -0.02412242256104946, -0.03353416547179222, -0.035228192806243896, -0.03653203323483467, 0.0037321692798286676, 0.09193169325590134 ]
DemangeJeremy/4-sentiments-with-flaubert
[ "pytorch", "flaubert", "text-classification", "fr", "transformers", "sentiments", "french", "flaubert-large" ]
text-classification
{ "architectures": [ "FlaubertForSequenceClassification" ], "model_type": "flaubert", "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 } } }
226
null
--- tags: autonlp language: en widget: - text: "I love AutoNLP 🤗" datasets: - bshlgrs/autonlp-data-classification --- # Model Trained Using AutoNLP - Problem type: Multi-class Classification - Model ID: 9522090 ## Validation Metrics - Loss: 0.3541755676269531 - Accuracy: 0.8759671179883946 - Macro F1: 0.5330133182738012 - Micro F1: 0.8759671179883946 - Weighted F1: 0.8482773065757196 - Macro Precision: 0.537738108882869 - Micro Precision: 0.8759671179883946 - Weighted Precision: 0.8241048710814852 - Macro Recall: 0.5316621214820499 - Micro Recall: 0.8759671179883946 - Weighted Recall: 0.8759671179883946 ## Usage You can use cURL to access this model: ``` $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/bshlgrs/autonlp-classification-9522090 ``` Or Python API: ``` from transformers import AutoModelForSequenceClassification, AutoTokenizer model = AutoModelForSequenceClassification.from_pretrained("bshlgrs/autonlp-classification-9522090", use_auth_token=True) tokenizer = AutoTokenizer.from_pretrained("bshlgrs/autonlp-classification-9522090", use_auth_token=True) inputs = tokenizer("I love AutoNLP", return_tensors="pt") outputs = model(**inputs) ```
[ -0.021156178787350655, -0.021364184096455574, -0.008133715018630028, 0.04447191581130028, 0.019024057313799858, 0.01945333741605282, -0.026464272290468216, -0.018193062394857407, -0.0316966250538826, 0.08043587952852249, 0.0237029567360878, 0.007928778417408466, -0.004335551057010889, 0.02822098508477211, -0.017842525616288185, -0.02271438203752041, -0.00157420604955405, -0.011293767020106316, -0.031834498047828674, -0.011928469873964787, -0.028391152620315552, 0.00780673511326313, -0.005108551122248173, 0.01821242645382881, -0.007987838238477707, 0.014001469127833843, -0.03575092554092407, 0.04024328291416168, 0.01436560694128275, -0.06534089893102646, -0.0010997900972142816, -0.01148183736950159, -0.042189206928014755, -0.004534473642706871, -0.013444900512695312, 0.0002697620657272637, 0.02012445218861103, 0.02013135515153408, 0.0020426397677510977, 0.04483987018465996, 0.014524875208735466, 0.01044292002916336, 0.012126064859330654, -0.0037014379631727934, 0.05997803062200546, 0.000597712118178606, -0.04274173453450203, -0.007769431918859482, 0.04304274544119835, -0.023729905486106873, -0.05912141129374504, -0.0682772845029831, -0.04211736097931862, 0.02384832873940468, -0.0335252620279789, -0.02473871223628521, -0.04740215465426445, -0.02315104939043522, 0.07654624432325363, -0.07275690883398056, -0.03799573332071304, 0.006943451706320047, -0.1067708432674408, 0.03710645064711571, 0.03201870992779732, -0.02931966446340084, -0.00015191004786174744, -0.03631371259689331, 0.008785964921116829, -0.025908751413226128, 0.06413338333368301, -0.03812310844659805, 0.013030987232923508, -0.0893261656165123, 0.011684576980769634, -0.00044325992348603904, 0.04364142194390297, 0.02774057537317276, -0.01084856502711773, 0.029863061383366585, 0.055009324103593826, -0.0020628157071769238, 0.023370971903204918, -0.01466439664363861, -0.011333880946040154, 0.0400388278067112, -0.057422373443841934, 0.0006195488967932761, -0.00014365624519996345, 0.03693631291389465, -0.04855421558022499, -0.04793053865432739, -0.007578637450933456, -0.02724185772240162, -0.031733375042676926, 0.03070276416838169, 0.0394580103456974, -0.019727392122149467, 0.03792102634906769, 0.017572103068232536, 0.037538133561611176, 0.03935161232948303, -0.024188075214624405, 0.07756040245294571, -0.001280948519706726, -0.037433844059705734, 0.002977802185341716, -0.03721800819039345, -0.04047670587897301, 0.051164738833904266, 0.04613257944583893, -0.01848636381328106, -0.056159134954214096, 0.04308231920003891, 0.028256038203835487, -0.010356240905821323, 0.04504093900322914, -0.02859870158135891, -0.04750129207968712, -0.05988936126232147, 0.02663477323949337, 0.0033126818016171455, -0.010624808259308338, -0.02397606335580349, -0.050635360181331635, 0.008221646770834923, -0.039654407650232315, -0.016541972756385803, -0.005030550993978977, 0.01622355729341507, -0.007433019578456879, 0.03459899127483368, 0.01746406964957714, -0.030808744952082634, -0.002431717701256275, 0.02512977458536625, -0.054075729101896286, 0.04250996559858322, 0.02467811107635498, 0.10587741434574127, -0.051604803651571274, -0.06841985881328583, 0.03525634482502937, -0.0036430242471396923, -0.02814890816807747, 0.00991256907582283, 0.00289677525870502, -0.043846990913152695, -0.031938571482896805, -0.010608353652060032, 0.05196526274085045, -0.07158207893371582, 0.0028627081774175167, 0.045791130512952805, 0.0004388921952340752, 0.06587304919958115, -0.04336445406079292, 0.0014928806340321898, -0.002152298577129841, -0.024034051224589348, -0.01952172815799713, 0.0266852006316185, -0.010110956616699696, -0.026005981490015984, -0.026413068175315857, -0.04436817020177841, 0.011110963299870491, 0.09274556487798691, 0.004618851467967033, 0.01617315225303173, -0.03523821383714676, 0.03301379084587097, 0.02409023977816105, -0.000687787018250674, -0.02281072363257408, 0.04302918165922165, 0.05473915860056877, 0.026538729667663574, -0.030310655012726784, 0.053474485874176025, 0.0164729543030262, -0.008850449696183205, -0.030573967844247818, -0.011639011092483997, -0.015382345765829086, -0.028700323775410652, 0.014463626779615879, 0.03678883984684944, -0.005833781324326992, -0.02196875400841236, 0.020828280597925186, 0.06545599550008774, 0.016320111230015755, 0.002350874012336135, -0.02905837818980217, -0.008349173702299595, -0.0004739988362416625, 0.05108856037259102, 0.01062308344990015, -0.0004416039737407118, -0.01785453036427498, -0.06042955815792084, 0.027343502268195152, 0.008367574773728848, 0.045813869684934616, 0.041673190891742706, -0.013995666988193989, 0.08348733186721802, -0.056581780314445496, 0.016189828515052795, -0.04756674915552139, -0.03984760865569115, 0.01952110044658184, 0.056180451065301895, 0.03864874318242073, 0.03819148242473602, -0.015997476875782013, -0.024135686457157135, 0.025805635377764702, 0.05577605962753296, 0.061594393104314804, 0.017636312171816826, -0.0384373776614666, -0.03441657871007919, 0.008878310211002827, 0.0602022148668766, -0.08692103624343872, -0.0448746420443058, 0.00023557549866382033, 0.047077421098947525, -0.044987861067056656, 0.019163314253091812, -0.017419617623090744, 0.017509445548057556, -0.0525747649371624, -0.06232621520757675, 0.03672391176223755, 0.038638871163129807, 0.033480364829301834, 0.03915872424840927, 0.008655549958348274, 0.0012832581996917725, 0.026243945583701134, 0.0016179687809199095, -0.012158242054283619, -0.03530456870794296, -0.0011226856149733067, 0.03165920451283455, 0.04200207442045212, -0.044146936386823654, 0.023902835324406624, 0.001262035919353366, 0.03235827758908272, 0.04670710489153862, -0.05601159855723381, 0.043189819902181625, 0.04244430363178253, 0.004965353291481733, -0.02676803059875965, 0.031174303963780403, -0.015206977725028992, 0.02654101885855198, 0.042078156024217606, -0.016845980659127235, 0.0557202473282814, -0.0008601227309554815, 0.032666850835084915, 0.1085541769862175, 0.026937860995531082, -0.009954560548067093, 0.023920657113194466, 0.07082781195640564, 0.0033040291164070368, -0.01977856270968914, 0.058191873133182526, -0.030647065490484238, 0.04095204547047615, -0.02886861003935337, 0.023556608706712723, -0.019870946183800697, -0.012296413071453571, 0.04213210195302963, 0.024658160284161568, -0.02521010860800743, 0.012769568711519241, 0.008185318671166897, 0.0008919875835999846, 0.027671311050653458, 0.012132061645388603, -0.01501525193452835, 0.006708527449518442, 0.0031949011608958244, 0.014173366129398346, -0.0599992498755455, -0.05780118331313133, -0.00929022952914238, -0.025610648095607758, -0.000743517535738647, -0.08219399303197861, -0.019270455464720726, -0.06470955163240433, -0.010258045978844166, 0.031797729432582855, 0.01894078403711319, 0.0048774415627121925, -0.046561483293771744, 0.012130715884268284, -0.041990332305431366, -0.03598693013191223, -0.0380515493452549, -0.06302005797624588, -0.0284896083176136, -0.08326582610607147, 0.05087241157889366, 0.007081147748976946, 0.017127960920333862, -0.004225405398756266, -0.007148816715925932, -0.0262085422873497, -0.024791525676846504, 0.03766358271241188, 0.0603499561548233, -0.013862520456314087, -0.037318844348192215, -0.000783576222602278, -0.026844440028071404, 0.003087042598053813, -0.017236704006791115, -0.02207375504076481, 0.06276498734951019, 0.07352856546640396, 0.022080980241298676, 0.008458341471850872, -0.050154220312833786, -0.043691545724868774, -0.0005456935614347458, -0.04295646771788597, -0.03434734791517258, -0.01324770599603653, -0.04401223361492157, -0.04364660009741783, 0.03320283442735672, -0.02668297477066517, -0.02226845733821392, -0.00886455737054348, 0.022762514650821686, 0.01794768124818802, 0.06257389485836029, 0.03820250183343887, 0.057288553565740585, -0.028948931023478508, -0.038908038288354874, 0.06101773679256439, -0.00830819085240364, 0.003422047942876816, -0.07341286540031433, -0.03259285166859627, 0.03202085942029953, 0.030802268534898758, 0.012590899132192135, -0.005679099354892969, 0.09102435410022736, 0.012425417080521584, -0.02478560246527195, -0.0133858323097229, 0.0011345335515215993, -0.02329164184629917, -0.029855642467737198, -0.032356515526771545, -0.007609258405864239, -0.046510085463523865, -0.03301447629928589, -0.019101552665233612, 0.04150119423866272, -0.0740705281496048, -0.047136660665273666, -0.02253575809299946, 0.035752326250076294, 0.022389886900782585, 0.03159079700708389, -0.064075767993927, 0.005921296309679747, -0.0711025521159172, -0.015390649437904358, 0.025222135707736015, 0.0345948301255703, 0.008269013836979866, 0.06486106663942337, 0.028084224089980125, -0.04364284873008728, 0.02838059701025486, 0.024895554408431053, 0.058710504323244095, 0.014755732379853725, -0.059169281274080276, -0.0030385616701096296, -0.009076965041458607, 0.00023162708384916186, -0.005288123153150082, -0.03563684597611427, -0.04859299957752228, -0.07955864071846008, -0.010492519475519657, -0.010685130953788757, -0.005073401611298323, -0.0321822352707386, 0.05357229709625244, -0.004794713109731674, -0.007107146084308624, -0.0023191487416625023, 0.016268646344542503, 0.01629551500082016, -0.04469667002558708, 0.04650111496448517, 0.02664133347570896, 0.0027726551052182913, -0.04562222585082054, 0.009075004607439041, -0.01716320775449276, -0.01702399179339409, 0.012096308171749115, 0.031078284606337547, 0.03393706679344177, 0.08453045040369034, 0.02692515030503273, 0.004982274491339922, -0.06281130015850067, 0.05176393687725067, 0.05526569113135338, -0.017118938267230988, -0.06439249217510223, 0.014679227024316788, -0.00692339614033699, -0.01972883753478527, -0.009299632161855698, -0.008917811326682568, 0.02315678633749485, 0.06105626001954079, -0.018533889204263687, -0.017038455232977867, 0.012874767184257507, -0.0117447255179286, -0.016146406531333923, -0.0699000433087349, -0.0028396639972925186, 0.021460752934217453, -0.023651598021388054, 0.02493048645555973, 0.04031238332390785, 0.039469871670007706, 0.046858321875333786, 0.051202502101659775, -0.015801504254341125, -0.05259038880467415, 0.029279200360178947, 0.04036704823374748, -0.041757162660360336, -0.07006416469812393, -0.035064131021499634, 0.06663914024829865, 0.043604422360658646, -0.023077594116330147, -0.06698832660913467, -0.013578396290540695, 0.04660545662045479, -0.03651237115263939, 0.07868167757987976, -0.012944209389388561, 0.01451287791132927, 0.06142980977892876, -0.018399406224489212, 0.02993309684097767, -0.019725866615772247, 0.002765725366771221, 0.018595488741993904, 0.007885662838816643, -0.03693825751543045, -0.03823821619153023, -0.030635066330432892, 0.033074602484703064, 0.024068541824817657, 0.06519419699907303, 0.059491436928510666, -0.02208918146789074, -0.0721244141459465, 0.003053859109058976, 0.041987426578998566, -0.006911409553140402, 0.013819989748299122, 0.02103755809366703, 0.0359533317387104, -0.06259588897228241, -0.026032408699393272, -0.016314426437020302, -0.02109924890100956, 0.028486358001828194, 0.02316317707300186, -0.043754879385232925, -0.022971704602241516, 0.006500433199107647, -0.0353882871568203, 0.0034588139969855547, -0.044568538665771484, 0.03933141753077507, -0.025119416415691376, -0.009695027954876423, 0.026370931416749954, 0.048229705542325974, 0.04331091046333313, 0.03191313147544861, 0.0068724616430699825, 0.0024254771415144205, -0.01453873235732317, 0.04161514714360237, -0.043493691831827164, -0.020822862163186073, -0.0042305621318519115, -0.07410118728876114, 0.013216675259172916, -0.04047391563653946, -0.04863813519477844, -0.06289022415876389, -0.0012645579408854246, 0.013064737431704998, -0.00027148693334311247, -0.006660304497927427, -0.02105226367712021, 0.0341617614030838, -0.042066290974617004, -0.03323562070727348, -0.038005731999874115, -0.028947260230779648, -0.07760109007358551, -0.06283609569072723, 0.029909538105130196, -0.009972888976335526, 0.04974083974957466, 0.0010415940778329968, 0.024392401799559593, 0.03154262155294418, -0.0006149765686132014, -0.038819439709186554, 0.019426148384809494, 0.004405532497912645, -0.032648637890815735, -0.026547744870185852, 0.030190255492925644, 0.007467620074748993, 0.047105662524700165, -0.01837734691798687, 0.013398797251284122, 0.03223876655101776, -0.053175609558820724, -0.021656468510627747, 0.02849395014345646, 0.019178351387381554, -0.04984411224722862, -0.015553789213299751, -0.01069924607872963, -0.06089434027671814, 0.02202143706381321, -0.00185749854426831, -0.005796268116682768, -0.005346587393432856, 0.0105417026206851, 0.02965610846877098, -0.02166537195444107, -0.03475140035152435, -0.005597642157226801, -0.055356767028570175, 0.02731570415198803, -0.041944246739149094, 0.06157434359192848, -0.041961200535297394, 0.009287377819418907, -0.0018404739676043391, -0.029876064509153366, -0.04937966540455818, 0.040730200707912445, -0.00910793524235487, -0.02088874764740467, -0.005904802121222019, 0.036131881177425385, -0.037928879261016846, 0.037883903831243515, -0.005117430817335844, 0.027848979458212852, -0.018018195405602455, 0.05088232085108757, -0.04122418165206909, 0.0027144630439579487, -0.035890836268663406, 0.005787053611129522, -0.015286092646420002, -0.008874647319316864, -0.03230496495962143, -0.01822717860341072, 0.02112008072435856, 0.051385171711444855, 0.03261786326766014, 0.030158884823322296, -0.048193227499723434, 0.022421007975935936, -0.006125014740973711, -0.05365193635225296, -0.02255619317293167, 0.00268820789642632, 0.04282988980412483, -0.012470660731196404, 0.06247556209564209, 0.033093612641096115, -0.044334642589092255, -0.039855293929576874, 0.04570714756846428, 0.022263236343860626, 0.00294514955021441, 0.015856213867664337, 0.016327042132616043, 0.017160987481474876, 0.021913543343544006, -0.0308991651982069, -0.007914586924016476, 0.010570215992629528, -0.0420251302421093, 0.008295761421322823, -0.01089478936046362, 0.03286908194422722, -0.0029656339902430773, -0.0382828488945961, -0.02082531712949276, 0.05659586563706398, 0.027428913861513138, 0.01173370610922575, -0.0017542048590257764, -0.021293237805366516, 0.018111804500222206, -0.021996505558490753, -0.07016142457723618, 0.007003899663686752, 0.0017127314349636436, -0.018638988956809044, 0.06706419587135315, -0.010728989727795124, 0.008204974234104156, 0.047494132071733475, 0.03935348242521286, -0.018823137506842613, 0.07238615304231644, -0.04005596041679382, 0.008795836009085178, 0.04149533063173294, -0.04875698313117027, 0.0019978834316134453, -0.018442615866661072, 0.08212486654520035, -0.05381898954510689, 0.06550067663192749, 0.0467815101146698, 0.01779036596417427, 0.02923179417848587, -0.0424407497048378, -0.05522766709327698, 0.021498866379261017, -0.06109858676791191, 0.07730726897716522, 0.02095980942249298, -0.05380525439977646, 0.060535892844200134, 0.030053338035941124, -0.07060389220714569, 0.015436788089573383, 0.03159891068935394, 0.024550190195441246, 0.015539432875812054, 0.05303846299648285, -0.030000194907188416, 0.03674301505088806, -0.03873341158032417, 0.0562925785779953, -0.0454411581158638, -0.02383757382631302, -0.0090359877794981, -0.06377135217189789, -0.026111092418432236, 0.0601910799741745, -0.010471554473042488, -0.025812767446041107, 0.020962368696928024, -0.040234871208667755, -0.032163362950086594, -0.007732361555099487, 0.004851832054555416, -0.0067844451405107975, 0.027433430776000023, -0.038387730717659, 0.01234209444373846, -0.005595776252448559, 0.013614928349852562, -0.03268950805068016, -0.004549128003418446, 0.03182576224207878, -0.07066933810710907, -0.03724085912108421, 0.02844129130244255, -0.009508965536952019, -0.008084646426141262, -0.0016668562311679125, 0.005926602520048618, 0.017056668177247047, 0.029648616909980774, -0.01090963464230299, 0.016597701236605644, -0.05911576375365257, -0.020780524238944054, 0.01692846789956093, 0.01191961020231247, 0.017491180449724197, -0.004910389427095652, 0.04556351900100708, 0.03610123693943024, 0.024519773200154305, 0.002526267198845744, -0.03889030963182449, -0.028489794582128525, 0.018113555386662483, -0.04797658696770668, 0.019724758341908455, 0.011498048901557922, -0.03889656439423561, -0.03556806221604347, -0.004511795472353697, -0.030903756618499756, 0.04484713822603226, -0.045850664377212524, 0.005007728934288025, 0.022155573591589928, 0.0021190692204982042, -0.04281453788280487, -0.07872030884027481, -0.027379071339964867, -0.03657962381839752, 0.045212507247924805, 0.020172733813524246, -0.04178622364997864, -0.009564151987433434, -0.03904511407017708, -0.07393653690814972, 0.033449091017246246, 0.032221172004938126, -0.011213469319045544, 0.04444720223546028, 0.04940040782094002, -0.049851030111312866, 0.030289098620414734, 0.019642291590571404, -0.051883481442928314, -0.007781301625072956, 0.007790450472384691, 0.0015607993118464947, 0.03575776517391205, 0.031114131212234497, -0.04742912948131561, -0.02186613902449608, -0.06363672763109207, -0.030151616781949997, -0.033508382737636566, -0.011645744554698467, 0.07979737967252731 ]
DheerajPranav/Dialo-GPT-Rick-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-09-20T08:38:53Z
--- language: "en" tags: - bert - medical - clinical - assertion - negation - text-classification widget: - text: "Patient denies [entity] SOB [entity]." --- # Clinical Assertion / Negation Classification BERT ## Model description The Clinical Assertion and Negation Classification BERT is introduced in the paper [Assertion Detection in Clinical Notes: Medical Language Models to the Rescue? ](https://aclanthology.org/2021.nlpmc-1.5/). The model helps structure information in clinical patient letters by classifying medical conditions mentioned in the letter into PRESENT, ABSENT and POSSIBLE. The model is based on the [ClinicalBERT - Bio + Discharge Summary BERT Model](https://huggingface.co/emilyalsentzer/Bio_Discharge_Summary_BERT) by Alsentzer et al. and fine-tuned on assertion data from the [2010 i2b2 challenge](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3168320/). #### How to use the model You can load the model via the transformers library: ``` from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline tokenizer = AutoTokenizer.from_pretrained("bvanaken/clinical-assertion-negation-bert") model = AutoModelForSequenceClassification.from_pretrained("bvanaken/clinical-assertion-negation-bert") ``` The model expects input in the form of spans/sentences with one marked entity to classify as `PRESENT(0)`, `ABSENT(1)` or `POSSIBLE(2)`. The entity in question is identified with the special token `[entity]` surrounding it. Example input and inference: ``` input = "The patient recovered during the night and now denies any [entity] shortness of breath [entity]." classifier = TextClassificationPipeline(model=model, tokenizer=tokenizer) classification = classifier(input) # [{'label': 'ABSENT', 'score': 0.9842607378959656}] ``` ### Cite When working with the model, please cite our paper as follows: ```bibtex @inproceedings{van-aken-2021-assertion, title = "Assertion Detection in Clinical Notes: Medical Language Models to the Rescue?", author = "van Aken, Betty and Trajanovska, Ivana and Siu, Amy and Mayrdorfer, Manuel and Budde, Klemens and Loeser, Alexander", booktitle = "Proceedings of the Second Workshop on Natural Language Processing for Medical Conversations", year = "2021", address = "Online", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2021.nlpmc-1.5", doi = "10.18653/v1/2021.nlpmc-1.5" } ```
[ 0.002442210679873824, -0.018534811213612556, -0.019093379378318787, 0.04152008891105652, 0.03557441756129265, 0.03323344513773918, -0.04008350148797035, -0.03599047288298607, -0.033554557710886, 0.043817486613988876, 0.031075909733772278, -0.019093148410320282, 0.0201000664383173, 0.06927856057882309, 0.0044161127880215645, -0.016209375113248825, -0.013712052255868912, -0.018366508185863495, -0.0448659248650074, -0.016105107963085175, 0.01343517191708088, -0.0028463872149586678, 0.005620019510388374, 0.004555626306682825, -0.006823647767305374, 0.023252803832292557, -0.006707415916025639, 0.03996574878692627, 0.034160126000642776, -0.036372341215610504, -0.011794165708124638, -0.03142140805721283, -0.043117862194776535, -0.022552868351340294, -0.03240131959319115, -0.002376784337684512, -0.0014018449001014233, -0.0002132806257577613, 0.006839883979409933, 0.04458976909518242, 0.013842452317476273, 0.022772232070565224, 0.002217895584180951, -0.02215583622455597, 0.049779295921325684, 0.011046342551708221, -0.037522587925195694, -0.02414475940167904, 0.042808499187231064, -0.0424693338572979, -0.05136583372950554, -0.08505149930715561, -0.011134752072393894, 0.02500014938414097, -0.0016346522606909275, -0.01875142939388752, -0.05493878573179245, -0.031670209020376205, 0.05404011532664299, -0.023613007739186287, -0.04264090955257416, 0.018767157569527626, -0.06894252449274063, 0.004217326641082764, 0.021628502756357193, -0.02730223722755909, -0.008584851399064064, -0.06106123700737953, 0.015241716057062149, -0.031510960310697556, 0.0361398383975029, -0.003912807442247868, 0.0399155467748642, -0.08667944371700287, -0.012149238958954811, -0.009728600271046162, 0.07474347949028015, 0.030056685209274292, -0.004959029145538807, 0.03503459319472313, 0.04465564340353012, -0.000379564065951854, 0.03281301259994507, -0.008536901324987411, -0.010401706211268902, 0.05171199515461922, -0.03673965856432915, -0.012360320426523685, 0.01765586994588375, 0.03960683196783066, -0.035666655749082565, -0.017443539574742317, -0.01579376496374607, -0.018519800156354904, -0.02884107269346714, 0.01904083788394928, 0.0299718976020813, -0.0313897468149662, 0.03143170103430748, 0.050156597048044205, 0.04757348820567131, 0.029880529269576073, -0.016654936596751213, 0.05284806713461876, -0.013877728953957558, 0.004529652651399374, -0.013807665556669235, -0.04820580407977104, -0.0319005623459816, 0.03451034054160118, 0.017856299877166748, -0.02692801132798195, -0.022121325135231018, 0.027845066040754318, 0.02751060761511326, -0.009438766166567802, 0.05546810105443001, -0.0161930862814188, -0.0380985364317894, -0.04382875934243202, 0.02021443098783493, 0.014170763082802296, 0.0055007124319672585, -0.006209501065313816, -0.05371173098683357, 0.00237281434237957, -0.04686702415347099, -0.03569584712386131, -0.005175513681024313, 0.03900551423430443, -0.007880293764173985, 0.02794334478676319, 0.012031975202262402, -0.06333998590707779, 0.02300700545310974, 0.029770422726869583, -0.06553401052951813, 0.04336948320269585, 0.015228581614792347, 0.11172331124544144, -0.03838241845369339, -0.035440731793642044, 0.019184550270438194, 0.015228010714054108, -0.01973525807261467, -0.0002515095111448318, 0.02250523678958416, -0.05470811575651169, -0.013276650570333004, -0.004808611236512661, 0.05601603910326958, -0.07162287086248398, 0.0024630373809486628, 0.044801704585552216, -0.011446931399405003, 0.03915014490485191, -0.03477497398853302, -0.012218033894896507, -0.03691037744283676, -0.015652505680918694, -0.020827289670705795, 0.055582452565431595, -0.03118959441781044, -0.03965733200311661, -0.03522295132279396, -0.050216663628816605, -0.02294011600315571, 0.08482568711042404, -0.0052670375443995, 0.010694357566535473, -0.04479936137795448, -0.0010779963340610266, 0.03743334859609604, 0.04668644815683365, -0.02544749528169632, 0.012719773687422276, 0.052350666373968124, 0.022184738889336586, -0.017343847081065178, 0.06470812112092972, -0.01243744045495987, -0.04245653375983238, -0.022289613261818886, -0.02025233395397663, 0.009197921492159367, -0.021644609048962593, 0.003555175382643938, 0.03720363229513168, -0.01836783066391945, -0.020482933148741722, -0.0012737575452774763, 0.03971516713500023, -0.0011985644232481718, -0.006289591081440449, 0.005119787994772196, -0.002212114166468382, -0.030329087749123573, 0.020782381296157837, -0.019227638840675354, 0.03743375092744827, -0.04009830579161644, -0.026041341945528984, 0.00689894612878561, -0.008970783092081547, 0.05417457967996597, 0.07307343184947968, -0.022614894434809685, 0.08887503296136856, -0.05809047073125839, 0.005415696185082197, -0.05541932210326195, -0.047812268137931824, -0.008711353875696659, 0.0504266731441021, 0.03198770061135292, 0.074314646422863, -0.026675604283809662, -0.05497905984520912, 0.02992047555744648, 0.05130356550216675, 0.0731714740395546, 0.03637903183698654, -0.034403808414936066, 0.007748457137495279, 0.03670363500714302, 0.04040757566690445, -0.05229250714182854, -0.03356356918811798, 0.026445547118782997, 0.04261389002203941, -0.04773196950554848, 0.00497165322303772, -0.017378531396389008, 0.030114639550447464, -0.04359990730881691, -0.09087323397397995, 0.03063776344060898, 0.043125417083501816, 0.00721338763833046, 0.05370659753680229, -0.011713054962456226, -0.020445559173822403, 0.016621626913547516, 0.030976636335253716, -0.010596086271107197, -0.03357121720910072, 0.013223756104707718, 0.004435049369931221, 0.03721626102924347, -0.05201193317770958, 0.03235648199915886, -0.0017257735598832369, 0.014326323755085468, 0.038746509701013565, -0.01901710219681263, 0.034689951688051224, 0.026933033019304276, 0.0014038945082575083, -0.04509633779525757, 0.0448150634765625, -0.014454787597060204, 0.019584406167268753, 0.05062495172023773, -0.019514983519911766, 0.062135372310876846, -0.017971886321902275, 0.02645936794579029, 0.07396481186151505, 0.0003026509075425565, 0.017000600695610046, 0.047319114208221436, 0.05711996182799339, -0.03627503663301468, -0.013681595213711262, 0.060733191668987274, -0.04099312052130699, 0.0149332694709301, -0.06504853814840317, 0.03895937651395798, 0.007338589057326317, -0.007472733501344919, 0.026350954547524452, 0.015081897377967834, -0.03435033559799194, 0.03326977789402008, 0.007838970981538296, 0.001919876434840262, 0.009273706004023552, -0.010236701928079128, 0.025367332622408867, 0.009375045076012611, -0.031194737181067467, 0.0088279377669096, -0.05096648633480072, -0.013208836317062378, -0.008004795759916306, -0.06203284487128258, -0.016667820513248444, -0.08569275587797165, -0.02963325008749962, -0.0637696385383606, 0.000549309712368995, 0.015474396757781506, 0.021151741966605186, 0.006060516927391291, -0.012308810837566853, 0.036707405000925064, -0.022817647084593773, -0.031742993742227554, -0.05908195301890373, -0.025055035948753357, -0.057261496782302856, -0.08200927078723907, 0.03159242123365402, 0.02213360369205475, 0.020435402169823647, 0.009656197391450405, 0.00005595846232608892, -0.015759166330099106, -0.02876380831003189, 0.048076607286930084, 0.0260446947067976, -0.04013509675860405, -0.021964414045214653, 0.020821191370487213, -0.025530681014060974, 0.02518744207918644, -0.01248147152364254, 0.0018709870055317879, 0.0787697434425354, 0.08264194428920746, 0.012496755458414555, -0.03460855036973953, -0.0008352111908607185, -0.054132092744112015, -0.05437994375824928, -0.0165504589676857, -0.02998947724699974, -0.011726543307304382, -0.05148213356733322, -0.007595618721097708, -0.026090960949659348, -0.04832274839282036, 0.006392378825694323, -0.00581187242642045, 0.027882548049092293, 0.0597282275557518, 0.03944722190499306, 0.005404970142990351, 0.031886279582977295, -0.013654014095664024, -0.026558715850114822, 0.0744083896279335, 0.0149613032117486, 0.03587905317544937, -0.1030074954032898, -0.019784975796937943, 0.01725529134273529, 0.029521167278289795, -0.002569454489275813, -0.027255181223154068, 0.08025792986154556, 0.012344077229499817, -0.012031792663037777, -0.0068181599490344524, -0.007783037144690752, -0.02476343885064125, -0.00549593148753047, -0.036466922610998154, -0.01758703775703907, -0.03509820997714996, -0.03465694934129715, -0.022287549450993538, 0.03079787641763687, -0.06054948270320892, -0.04213540628552437, 0.0061307442374527454, 0.04360456392168999, 0.0387166291475296, -0.0025100542698055506, -0.0506167896091938, -0.022147269919514656, -0.05285484343767166, -0.013353568501770496, 0.01666836440563202, -0.0028392730746418238, 0.0041192639619112015, 0.05691162496805191, 0.0408296212553978, -0.03903243690729141, 0.056577034294605255, 0.04597228392958641, 0.04502684995532036, -0.0001954402105184272, -0.06743583083152771, 0.023508507758378983, -0.01998191885650158, 0.040510378777980804, 0.0037978331092745066, -0.040953077375888824, -0.040654439479112625, -0.08367741107940674, 0.002034159144386649, 0.010786095634102821, -0.000158408991410397, 0.003459668019786477, 0.015631940215826035, -0.021536706015467644, -0.0033859992399811745, -0.03306307643651962, 0.009985031560063362, 0.006752060726284981, -0.037850044667720795, 0.045306332409381866, -0.013785459101200104, 0.033282093703746796, -0.06829587370157242, 0.0027113661635667086, -0.053228653967380524, -0.02862337790429592, -0.018358057364821434, 0.06765338778495789, 0.0006939520826563239, 0.01996968314051628, 0.05612147971987724, 0.020662672817707062, -0.04006238281726837, 0.06586717069149017, 0.043951187282800674, -0.03172706067562103, -0.05771789327263832, -0.007937923073768616, 0.007613225840032101, -0.04564274474978447, 0.018283646553754807, -0.034546662122011185, -0.008962240070104599, 0.03385116904973984, 0.008470992557704449, -0.014909325167536736, 0.0024488477502018213, -0.04840609058737755, -0.01765279844403267, -0.03320048004388809, -0.031572841107845306, -0.015678508207201958, 0.0034840551670640707, 0.035896118730306625, 0.03682843968272209, -0.010669475421309471, 0.10410407930612564, 0.031351473182439804, -0.02168448269367218, -0.03579144552350044, 0.04497876018285751, 0.024426719173789024, -0.03807873651385307, -0.09097116440534592, -0.053626447916030884, 0.03909865766763687, 0.04831085354089737, -0.02613610215485096, -0.08993133902549744, -0.026530368253588676, 0.059130825102329254, -0.036482617259025574, 0.08954713493585587, -0.021577918902039528, 0.05530237406492233, 0.05033507198095322, -0.014904079027473927, 0.03196236863732338, -0.03957701846957207, -0.0060808658599853516, -0.010213714092969894, 0.03894519805908203, -0.029034852981567383, -0.04018300026655197, -0.03480328992009163, 0.05328623205423355, 0.01553261000663042, 0.05024077370762825, 0.04210517928004265, -0.013666912913322449, -0.0640372782945633, 0.0061541893519461155, 0.012363404966890812, -0.024674175307154655, 0.005628189537674189, 0.03327946364879608, 0.04860756918787956, -0.06638622283935547, -0.02619747631251812, -0.014638513326644897, -0.028427235782146454, 0.006936416495591402, 0.009650272317230701, -0.047552820295095444, -0.04435833543539047, 0.003966245334595442, -0.0029043755494058132, -0.02595820650458336, -0.06030155345797539, 0.03424250707030296, -0.04973394796252251, -0.030087368562817574, 0.04721647500991821, 0.037126462906599045, 0.030608808621764183, 0.05954642593860626, -0.017974495887756348, -0.005241507664322853, -0.017346719279885292, 0.03503986448049545, -0.0023256377317011356, -0.03135090693831444, -0.03347981721162796, -0.0451883003115654, -0.02463434636592865, -0.02628065086901188, -0.013026866130530834, -0.06369784474372864, -0.013488474301993847, 0.011554920114576817, -0.011951470747590065, -0.0023058997467160225, -0.023607179522514343, 0.028759058564901352, -0.035735949873924255, -0.04717240855097771, -0.02994556352496147, -0.03196168318390846, -0.0847531110048294, -0.04812241718173027, 0.014080066233873367, 0.010346765629947186, 0.01395068597048521, 0.030221031978726387, 0.0314154326915741, 0.0025445830542594194, -0.04259810969233513, -0.041821300983428955, 0.030149443075060844, 0.002646141452714801, -0.028700577095150948, -0.037787314504384995, 0.010401413775980473, 0.02968493103981018, 0.026081401854753494, -0.03151755779981613, 0.007020353339612484, 0.03609341010451317, -0.04096958041191101, -0.02515517733991146, 0.0352884940803051, 0.011773343198001385, -0.06091523915529251, -0.04016469791531563, -0.01649843528866768, -0.035933613777160645, 0.047564636915922165, -0.002597218146547675, -0.03544958680868149, -0.0009213314624503255, 0.03245760500431061, 0.034655120223760605, -0.013204109854996204, -0.024800999090075493, 0.024773163720965385, -0.03367795795202255, 0.02420676313340664, -0.03627707436680794, 0.048403169959783554, -0.061304789036512375, -0.0024821844417601824, -0.01596522331237793, 0.01766464114189148, -0.04890058934688568, 0.044420208781957626, -0.03127642720937729, -0.019488580524921417, 0.008536147885024548, 0.033772364258766174, -0.02647392265498638, 0.04699564352631569, -0.018327580764889717, -0.00457985233515501, -0.009835012257099152, 0.042259737849235535, -0.03585934266448021, 0.0014951167395338416, -0.020759347826242447, -0.013077136129140854, -0.03958780691027641, -0.020105252042412758, -0.007697340101003647, -0.04763573035597801, 0.04878458380699158, 0.038273103535175323, 0.020709827542304993, 0.06937135756015778, -0.013942928984761238, 0.012587767094373703, 0.0027717372868210077, -0.06287721544504166, -0.02168288081884384, -0.010999126359820366, 0.019705254584550858, -0.018639231100678444, 0.036850668489933014, 0.04787564277648926, -0.013317846693098545, -0.030490025877952576, 0.056757036596536636, 0.03617138788104057, -0.005904318764805794, -0.007917682640254498, 0.027420373633503914, 0.0015380526892840862, 0.02005530335009098, -0.02984904870390892, -0.03546768054366112, 0.02026679925620556, -0.02892705798149109, -0.003434510203078389, -0.024403683841228485, 0.01902168244123459, 0.03447882458567619, -0.04130249843001366, -0.02590245008468628, 0.07621271908283234, 0.004370409529656172, 0.006864412222057581, 0.005050510633736849, -0.03286384046077728, 0.003233341034501791, -0.009860515594482422, -0.06582680344581604, 0.03676070645451546, 0.026945842429995537, -0.02619137614965439, 0.06807485222816467, -0.00888861808925867, 0.013172767125070095, 0.04172453284263611, 0.01549433171749115, -0.02379576489329338, 0.0509207621216774, -0.02676495537161827, 0.002227255841717124, 0.039708249270915985, -0.05529544875025749, 0.01964801736176014, -0.017935331910848618, 0.06904139369726181, -0.06273163855075836, 0.03208693116903305, 0.04121549427509308, 0.007394570391625166, 0.0013973404420539737, -0.045900821685791016, -0.02321677841246128, 0.030585018917918205, -0.028344009071588516, 0.06040184572339058, 0.002592545235529542, -0.06554630398750305, 0.07941119372844696, 0.03794075921177864, -0.07828330993652344, 0.037811946123838425, 0.03328005224466324, 0.01728241518139839, 0.012948543764650822, 0.061497271060943604, -0.04181328043341637, 0.014417000114917755, -0.027301596477627754, 0.024070080369710922, -0.04381463676691055, -0.020492088049650192, 0.019464412704110146, -0.04986095055937767, -0.02594328671693802, 0.026831258088350296, -0.017081988975405693, -0.005509360693395138, 0.0402175635099411, -0.053136151283979416, -0.026382150128483772, 0.0100326519459486, 0.008509731851518154, -0.028412124142050743, -0.00031677779043093324, -0.05383006110787392, 0.021417267620563507, 0.008403189480304718, -0.010841406881809235, -0.03717615827918053, -0.01155077014118433, 0.01756346970796585, -0.03499216213822365, -0.040290750563144684, 0.009576384909451008, 0.0007024486549198627, -0.024639079347252846, 0.03971297666430473, 0.04451481252908707, 0.010714796371757984, 0.029513319954276085, 0.018021216616034508, 0.012783787213265896, -0.06245756521821022, 0.00655791163444519, 0.020346151664853096, 0.015522935427725315, 0.058706510812044144, -0.03513765335083008, 0.028241576626896858, 0.05024903640151024, 0.05555952340364456, 0.022307123988866806, -0.04101281240582466, -0.014896215870976448, 0.012982376851141453, -0.04186231270432472, -0.013296954333782196, -0.009714522399008274, -0.03415348380804062, -0.006811204366385937, -0.020033489912748337, -0.020738566294312477, 0.031921107321977615, -0.06931401044130325, -0.02039959467947483, 0.06031186506152153, -0.00896234530955553, -0.05630253627896309, -0.09024611115455627, -0.028112398460507393, -0.03439212217926979, 0.04276229441165924, 0.012534263543784618, -0.020754097029566765, 0.009527376852929592, -0.05006520077586174, -0.06993798166513443, 0.026526659727096558, 0.0280033890157938, -0.01362529955804348, 0.06447269022464752, 0.02354111708700657, -0.04395149275660515, 0.011277604848146439, 0.03514787554740906, -0.04243770241737366, 0.038967348635196686, -0.006673332303762436, 0.027068693190813065, 0.015238724648952484, 0.05834268778562546, -0.019767219200730324, -0.003140014596283436, -0.07521946728229523, -0.020197900012135506, -0.044309101998806, -0.016444820910692215, 0.07110666483640671 ]
Dibyaranjan/nl_image_search
[]
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: - espnet - audio - automatic-speech-recognition language: en datasets: - librispeech license: cc-by-4.0 --- ## Example ESPnet2 ASR model ### `Shinji Watanabe/librispeech_asr_train_asr_transformer_e18_raw_bpe_sp_valid.acc.best` ♻️ Imported from https://zenodo.org/record/3966501 This model was trained by Shinji Watanabe using librispeech recipe in [espnet](https://github.com/espnet/espnet/). ### Demo: How to use in ESPnet2 ```python # coming soon ``` ### Citing ESPnet ```BibTex @inproceedings{watanabe2018espnet, author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson {Enrique Yalta Soplin} and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai}, title={{ESPnet}: End-to-End Speech Processing Toolkit}, year={2018}, booktitle={Proceedings of Interspeech}, pages={2207--2211}, doi={10.21437/Interspeech.2018-1456}, url={http://dx.doi.org/10.21437/Interspeech.2018-1456} } @inproceedings{hayashi2020espnet, title={{Espnet-TTS}: Unified, reproducible, and integratable open source end-to-end text-to-speech toolkit}, author={Hayashi, Tomoki and Yamamoto, Ryuichi and Inoue, Katsuki and Yoshimura, Takenori and Watanabe, Shinji and Toda, Tomoki and Takeda, Kazuya and Zhang, Yu and Tan, Xu}, booktitle={Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)}, pages={7654--7658}, year={2020}, organization={IEEE} } ``` or arXiv: ```bibtex @misc{watanabe2018espnet, title={ESPnet: End-to-End Speech Processing Toolkit}, author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Enrique Yalta Soplin and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai}, year={2018}, eprint={1804.00015}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.030844315886497498, -0.0077314218506217, -0.01956341601908207, 0.029674313962459564, 0.057467639446258545, 0.016832012683153152, -0.002661459380760789, -0.009359761141240597, -0.0618676133453846, 0.056576211005449295, 0.012750117108225822, -0.003886782331392169, 0.01734326034784317, 0.010760800912976265, -0.04117361083626747, -0.041629958897829056, -0.0016614742344245315, -0.00991812814027071, -0.026193570345640182, -0.014009017497301102, 0.02465851977467537, 0.02256428822875023, -0.008100846782326698, 0.03684519976377487, -0.0044743092730641365, 0.0013926650863140821, -0.014012050814926624, -0.0008533254731446505, 0.008446001447737217, -0.048214565962553024, -0.00006081912943045609, -0.034671325236558914, -0.03523385152220726, -0.039612848311662674, -0.024600986391305923, -0.0020352473948150873, -0.002992234192788601, -0.008571685291826725, 0.0311258714646101, 0.03228434547781944, -0.029073579236865044, 0.0276559479534626, -0.01144454162567854, 0.008392072282731533, 0.042093995958566666, 0.01227654330432415, -0.034061238169670105, -0.032577693462371826, 0.013402441516518593, -0.03285617753863335, -0.04431615769863129, -0.06243766471743584, -0.012853565625846386, 0.0173648614436388, -0.02105436474084854, -0.03243148326873779, -0.04573855921626091, -0.03644438832998276, 0.08684155344963074, -0.04312986135482788, -0.043794795870780945, 0.023094991222023964, -0.09015550464391708, 0.014053910039365292, 0.039803892374038696, -0.0534069798886776, 0.004307530354708433, -0.07503288984298706, -0.005825544707477093, -0.0172733087092638, 0.03740430250763893, -0.022493641823530197, 0.015857936814427376, -0.09160622209310532, -0.01772032305598259, -0.019428445026278496, 0.028523383662104607, 0.036604490131139755, -0.029756715521216393, 0.06235209107398987, 0.04500480741262436, -0.007152891717851162, 0.024196531623601913, -0.023015635088086128, -0.013598375022411346, 0.06802190095186234, -0.03877292573451996, 0.014075339771807194, 0.013850567862391472, 0.0196028221398592, -0.049398425966501236, -0.030700642615556717, -0.016457658261060715, -0.0339408703148365, -0.00008590963261667639, 0.040088895708322525, 0.04971036687493324, -0.016529301181435585, 0.04981348291039467, 0.00869451928883791, 0.039466120302677155, 0.03512875363230705, -0.02122974395751953, 0.04952671751379967, -0.026943635195493698, 0.009419851936399937, 0.0039144898764789104, -0.030314920470118523, -0.04776686429977417, 0.047029394656419754, 0.01709061674773693, -0.025585297495126724, -0.04193616285920143, 0.051223721355199814, 0.002530113561078906, -0.029651127755641937, 0.04092450812458992, -0.03390318527817726, -0.03439406678080559, -0.061391543596982956, 0.026339169591665268, 0.018163414672017097, -0.0009686382254585624, 0.02213265188038349, -0.06705909222364426, 0.011468078009784222, -0.03199944645166397, -0.034701500087976456, -0.001591840642504394, 0.01840589940547943, 0.013057448901236057, 0.024211185052990913, 0.01906426250934601, -0.050700992345809937, 0.015631260350346565, 0.016794908791780472, -0.08075772970914841, 0.030296241864562035, 0.04409141466021538, 0.09802302718162537, -0.045985449105501175, -0.027023669332265854, -0.015152644366025925, 0.01113393995910883, -0.0016482375795021653, 0.007280369754880667, 0.028442706912755966, -0.03411215916275978, -0.040873900055885315, -0.018655523657798767, 0.06277404725551605, -0.0760454311966896, -0.0014765115920454264, 0.04388033598661423, -0.014211826026439667, 0.04428042471408844, -0.029585592448711395, -0.013218579813838005, -0.027361465618014336, -0.010174491442739964, -0.026816926896572113, 0.03534533828496933, -0.019837334752082825, -0.01887906901538372, -0.05289516970515251, -0.05112200975418091, -0.015935758128762245, 0.06849230825901031, -0.0037533140275627375, -0.019684983417391777, -0.04016740247607231, -0.004321415442973375, 0.07204344123601913, 0.03307406231760979, -0.051190946251153946, 0.022643357515335083, 0.06485514342784882, 0.06301242113113403, -0.034956663846969604, 0.06601746380329132, 0.007751188240945339, -0.027787381783127785, -0.02700907550752163, 0.006813859101384878, 0.027895763516426086, -0.018753523007035255, 0.012490528635680676, 0.0398402102291584, -0.005250999238342047, -0.02404024824500084, -0.04836736246943474, 0.06189589947462082, -0.007016405928879976, -0.002265150425955653, -0.006157516967505217, -0.0324382409453392, -0.040019478648900986, 0.04759833589196205, -0.012855651788413525, 0.0022896365262567997, -0.005889974534511566, -0.04023738205432892, 0.01008546445518732, 0.023389821872115135, 0.033512819558382034, 0.051898591220378876, 0.02572757937014103, 0.0775071233510971, -0.016213268041610718, 0.031026754528284073, -0.04246200993657112, -0.050471704453229904, -0.0007942914380691946, 0.0673639252781868, 0.027939312160015106, 0.06787563115358353, -0.0019359523430466652, -0.054645705968141556, 0.044771432876586914, 0.04869820922613144, 0.02413404919207096, 0.018968142569065094, -0.05667869374155998, -0.009444210678339005, 0.024990539997816086, 0.0721270963549614, -0.03625936806201935, -0.03707140311598778, 0.02772422879934311, 0.011698097921907902, 0.006364766508340836, 0.012972433120012283, -0.037455543875694275, 0.05152404308319092, -0.07498563826084137, -0.09748996794223785, 0.043463148176670074, 0.0373983234167099, 0.013598475605249405, 0.021093711256980896, -0.025528574362397194, -0.0033000349067151546, 0.03421923145651817, 0.011959053575992584, 0.035068027675151825, -0.053264204412698746, 0.020277464762330055, 0.01686285063624382, 0.037836093455553055, -0.048331353813409805, 0.03853544592857361, 0.007363403681665659, -0.012687978334724903, 0.011735760606825352, -0.024953238666057587, 0.04433474689722061, 0.003748123301193118, 0.017128897830843925, -0.044958680868148804, 0.012189028784632683, 0.00016444754146505147, 0.04155293479561806, 0.06284904479980469, -0.012274795211851597, 0.06785484403371811, 0.00227783783338964, 0.03141957148909569, 0.07751207053661346, 0.014085852541029453, 0.011862906627357006, 0.0268346406519413, 0.07250220328569412, 0.020237702876329422, -0.006234141997992992, 0.07778899371623993, -0.02928204834461212, 0.006394138094037771, -0.018490564078092575, 0.011526395566761494, -0.02076587826013565, 0.014541550539433956, 0.03260734677314758, 0.00944464560598135, -0.010765830054879189, -0.00164827611297369, -0.013453252613544464, 0.013765249401330948, 0.04104354977607727, -0.00583404116332531, -0.013448474928736687, 0.005274320021271706, 0.010941162705421448, -0.010205462574958801, -0.0727270096540451, -0.0243973471224308, -0.01643494702875614, -0.02150561474263668, 0.020060008391737938, -0.06991191953420639, -0.015194346196949482, -0.07944390177726746, -0.0009509566589258611, 0.015760479494929314, 0.014913379214704037, -0.004545064177364111, -0.028359439224004745, -0.0008358355844393373, -0.033449843525886536, -0.051287371665239334, -0.02694050781428814, -0.031685374677181244, -0.011825020425021648, -0.06631329655647278, 0.03268815949559212, 0.041199129074811935, 0.03251082822680473, 0.0070902882143855095, -0.009708184748888016, -0.008665637113153934, -0.05192755162715912, 0.07240667939186096, 0.030448338016867638, -0.02942042425274849, -0.07285502552986145, 0.02070179209113121, 0.0003541673067957163, 0.007804498076438904, 0.002050004666671157, -0.015391183085739613, 0.048037607222795486, 0.07329928129911423, 0.015578857623040676, 0.026891008019447327, -0.01982068456709385, -0.04250359535217285, -0.0650867149233818, -0.034319523721933365, -0.05322371423244476, -0.027066007256507874, -0.028051722794771194, -0.044858168810606, -0.03575398400425911, -0.030068697407841682, 0.007286899723112583, -0.011997886933386326, -0.006278833374381065, 0.057701755315065384, 0.042205844074487686, 0.03064756840467453, 0.03892290219664574, -0.06132711097598076, -0.02510170266032219, 0.05223493278026581, 0.022413071244955063, -0.0053934757597744465, -0.08694389462471008, -0.008223114535212517, 0.025977425277233124, 0.029456591233611107, 0.0038700434379279613, -0.013211730867624283, 0.08532404899597168, -0.0027474218513816595, -0.02042231895029545, 0.022928141057491302, -0.010886906646192074, -0.038822274655103683, -0.02824479527771473, -0.00886117946356535, -0.015122571960091591, -0.06719162315130234, -0.00947981420904398, -0.00041208614129573107, 0.026977669447660446, -0.06623228639364243, -0.048916466534137726, -0.017438704147934914, 0.025736641138792038, 0.029302965849637985, -0.01618478260934353, -0.03160965442657471, -0.0008547847392037511, -0.04999871924519539, -0.03782326355576515, -0.0045546903274953365, 0.0009760009124875069, 0.016894036903977394, 0.03731893002986908, 0.032786544412374496, -0.014789685606956482, 0.06669687479734421, 0.01715228520333767, 0.06486769765615463, 0.024101966992020607, -0.056205395609140396, 0.02408469282090664, -0.013191603124141693, 0.024377040565013885, 0.015423390083014965, -0.020274387672543526, -0.03458941727876663, -0.07913168519735336, -0.02019481547176838, 0.009955218061804771, -0.025498732924461365, -0.010282778181135654, 0.03373327478766441, -0.02522076852619648, 0.02401529811322689, 0.0014795674942433834, 0.015994086861610413, 0.034676410257816315, -0.04501110687851906, 0.023038269951939583, -0.01147983968257904, 0.0374830961227417, -0.07130815088748932, 0.021133027970790863, -0.03363927826285362, -0.02860831655561924, 0.011144524440169334, 0.08325837552547455, 0.022326307371258736, 0.03787854686379433, 0.07477413862943649, 0.04293091222643852, -0.05410304665565491, 0.04284220561385155, 0.04415201395750046, -0.00997387245297432, -0.07099667191505432, -0.009631840512156487, -0.027780329808592796, -0.0375053845345974, -0.0017433890607208014, -0.027046363800764084, 0.0388011671602726, 0.02593536674976349, -0.01120647881180048, -0.010746212676167488, 0.012136968784034252, -0.03418327122926712, 0.0037690093740820885, -0.05500616878271103, -0.010948006063699722, -0.005539781413972378, -0.017770549282431602, 0.0503624863922596, 0.009551404044032097, 0.007052144967019558, 0.037651851773262024, 0.03970980644226074, -0.02922026440501213, -0.02686961181461811, 0.03186992183327675, 0.017148712649941444, -0.07116229087114334, -0.0720130056142807, -0.012081588618457317, 0.04941176250576973, 0.04460708424448967, -0.004576872568577528, -0.08091413229703903, 0.014810379594564438, 0.03712320700287819, -0.03063509240746498, 0.053754664957523346, -0.023607170209288597, 0.062338508665561676, 0.04698411375284195, -0.007382771000266075, 0.01947448030114174, -0.030382340773940086, -0.015624035149812698, -0.007895486429333687, 0.03249489888548851, -0.03058544173836708, -0.04379397630691528, -0.07862895727157593, 0.03608756884932518, 0.029438862577080727, 0.033050261437892914, 0.05178487300872803, -0.03224771097302437, -0.027245499193668365, -0.009335337206721306, 0.025316258892416954, -0.036271557211875916, 0.022927625104784966, 0.017364125698804855, 0.05409516021609306, -0.04542998597025871, -0.04166893661022186, -0.009600586257874966, 0.0015533356927335262, 0.041854288429021835, 0.01616698130965233, -0.05878797918558121, -0.03985779732465744, -0.0024730593431741, -0.03605679050087929, -0.008786281570792198, -0.0921747013926506, 0.018316004425287247, -0.008282622322440147, -0.019416484981775284, 0.05488201603293419, 0.045492835342884064, 0.02353857457637787, 0.05562114343047142, 0.009292062371969223, 0.00897154863923788, -0.027914904057979584, 0.03185063600540161, -0.0067871855571866035, -0.019510336220264435, -0.030216321349143982, -0.017768433317542076, -0.02339576929807663, -0.03269112855195999, -0.031101461499929428, -0.04531770572066307, -0.007225301116704941, 0.027310511097311974, -0.023447075858712196, -0.0010293519590049982, -0.01741609536111355, 0.041473567485809326, -0.02735757827758789, -0.039916425943374634, -0.012409682385623455, -0.03244652599096298, -0.06819858402013779, -0.06296814978122711, 0.029464973136782646, -0.01236969605088234, 0.009856176562607288, 0.020356904715299606, 0.020686322823166847, 0.01601334474980831, 0.006907749455422163, -0.044229865074157715, 0.016956593841314316, -0.005371604580432177, -0.06230567768216133, -0.04121352732181549, 0.017587658017873764, 0.003387709613889456, 0.03934919089078903, -0.008525662124156952, 0.034423161298036575, 0.005543135572224855, -0.019299034029245377, -0.010867373086512089, 0.0010200774995610118, 0.025197608396410942, -0.060827139765024185, -0.03184240311384201, -0.013811829499900341, -0.043585892766714096, 0.048145029693841934, 0.021160513162612915, -0.0051389429718256, 0.023365378379821777, 0.02617737092077732, 0.030261976644396782, -0.0011998810805380344, -0.02992727980017662, 0.025271017104387283, -0.0225080456584692, 0.023756040260195732, -0.05132463574409485, 0.049860551953315735, -0.03665671497583389, 0.016637615859508514, 0.008428208529949188, 0.004911002703011036, -0.040732141584157944, 0.04223726689815521, -0.020169343799352646, -0.0007033735746517777, -0.006353834643959999, 0.0016771081136539578, -0.0162946879863739, 0.052928317338228226, -0.016081789508461952, 0.020506585016846657, -0.026408793404698372, 0.05260102078318596, -0.01617308147251606, 0.00608760816976428, -0.0319305956363678, -0.005738915875554085, -0.01836589351296425, -0.0258452370762825, 0.0030611709225922823, -0.04465289041399956, 0.01843513362109661, 0.0584258958697319, 0.025387192144989967, 0.043329063802957535, -0.03156965598464012, -0.027037974447011948, 0.021791383624076843, -0.05338708683848381, -0.010480795055627823, -0.003930650185793638, 0.03546703979372978, -0.006938918959349394, 0.05774229019880295, 0.03927995264530182, -0.06015662103891373, -0.03865218162536621, 0.04621066525578499, -0.00022479944163933396, 0.012614027597010136, -0.018647653982043266, 0.0379619300365448, 0.023972252383828163, 0.05221116915345192, -0.03635761886835098, -0.003580749034881592, -0.01458658091723919, -0.022810891270637512, -0.00425727991387248, 0.0012455461546778679, -0.0011464376002550125, 0.0075421761721372604, -0.023151684552431107, -0.022139092907309532, 0.05082979425787926, 0.028718655928969383, 0.015663862228393555, -0.019739029929041862, -0.04743019863963127, 0.018678443506360054, -0.018968619406223297, -0.06740030646324158, 0.031756021082401276, 0.019452715292572975, -0.026883359998464584, 0.10803160816431046, -0.019906051456928253, 0.016100432723760605, 0.04041863605380058, 0.012721873819828033, -0.023138437420129776, 0.04262623190879822, -0.04029932618141174, 0.028122948482632637, 0.04622618108987808, -0.050580862909555435, -0.02067689783871174, -0.02887321449816227, 0.07864189893007278, -0.047893695533275604, 0.03851277008652687, 0.05191844329237938, 0.025470353662967682, 0.007097502704709768, -0.05293794348835945, -0.031235141679644585, 0.05463907867670059, -0.043089158833026886, 0.076456718146801, 0.017739249393343925, -0.07823312282562256, 0.04977363348007202, 0.008369925431907177, -0.10117599368095398, 0.036719270050525665, 0.016154536977410316, 0.012409694492816925, 0.04202442243695259, 0.055502038449048996, -0.06337146461009979, -0.004621456377208233, -0.03823273256421089, 0.008865037932991982, -0.048649467527866364, 0.00662778876721859, 0.013945012353360653, -0.03741278499364853, -0.009743604809045792, -0.0013926043175160885, -0.0317910760641098, -0.012837615795433521, 0.017741402611136436, -0.05914930999279022, -0.03492181375622749, -0.014732969924807549, 0.027165377512574196, -0.03972070664167404, 0.013670875690877438, -0.021740596741437912, 0.011826541274785995, 0.023107485845685005, 0.022299887612462044, -0.0389259047806263, -0.01583736203610897, 0.01839521713554859, -0.06888840347528458, -0.022871654480695724, 0.06222382187843323, 0.030458293855190277, -0.03039432503283024, 0.036963459104299545, 0.0015442479634657502, 0.04076973721385002, 0.026770489290356636, 0.0022751898504793644, 0.03183319792151451, -0.060301586985588074, -0.004595633130520582, 0.02039487473666668, 0.018673354759812355, 0.023199640214443207, -0.004698202945291996, 0.047073688358068466, 0.03653489053249359, 0.033163975924253464, -0.00009396260429639369, -0.04251430556178093, -0.034554995596408844, 0.02527567557990551, -0.03534189239144325, 0.039510130882263184, 0.011258192360401154, -0.044004857540130615, -0.045161787420511246, -0.013188846409320831, -0.022297333925962448, 0.027080608531832695, -0.04905545338988304, 0.004530690144747496, 0.011563475243747234, -0.0044612037017941475, -0.047404393553733826, -0.10088612884283066, -0.035851262509822845, -0.010898586362600327, 0.03779827430844307, 0.0149142537266016, -0.020560773089528084, 0.016029758378863335, -0.01720113307237625, -0.06957222521305084, 0.0444519966840744, 0.006483887787908316, -0.03648163378238678, 0.054264556616544724, 0.0531957633793354, -0.04282781109213829, 0.02831077016890049, 0.041121773421764374, -0.03448587283492088, 0.013815997168421745, -0.00042765086982399225, 0.0319870300590992, 0.02271115779876709, 0.045562028884887695, -0.022078987210989, -0.026411419734358788, -0.05928484722971916, -0.03641620650887489, -0.01958126202225685, -0.016254110261797905, 0.05519631877541542 ]
Waynehillsdev/Waynehills_summary_tensorflow
[ "tf", "t5", "text2text-generation", "transformers", "generated_from_keras_callback", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "T5ForConditionalGeneration" ], "model_type": "t5", "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 } } }
5
null
# GPT2 Fine Tuned on UrbanDictionary Honestly a little horrifying, but still funny. ## Usage Use with GPT2Tokenizer. Pad token should be set to the EOS token. Inputs should be of the form "define <your word>: ". ## Training Data All training data was obtained from [Urban Dictionary Words And Definitions on Kaggle](https://www.kaggle.com/therohk/urban-dictionary-words-dataset). Data was additionally filtered, normalized, and spell-checked. ## Bias This model was trained on public internet data and will almost definitely produce offensive results. Some efforts were made to reduce this (i.e definitions with ethnic / gender-based slurs were removed), but the final model should not be trusted to produce non-offensive definitions.
[ -0.035750605165958405, 0.003874868620187044, -0.012705355882644653, 0.043021682649850845, 0.023898286744952202, 0.03547777235507965, 0.011149992235004902, 0.03738638013601303, -0.032403819262981415, 0.018653780221939087, 0.03516809269785881, 0.01767575740814209, 0.01407704222947359, 0.030172819271683693, -0.06350060552358627, -0.021361662074923515, -0.019789395853877068, 0.01392438355833292, -0.04340466856956482, -0.0016588704893365502, 0.008246006444096565, 0.004961655009537935, -0.0014698869781568646, 0.0072534047067165375, -0.0360322967171669, 0.04941326379776001, -0.0009956638095900416, 0.01574348285794258, 0.03990587219595909, -0.04831696301698685, -0.01195018645375967, -0.017693541944026947, -0.0516473688185215, -0.011403597891330719, -0.025229651480913162, 0.0043448046781122684, -0.002701979363337159, 0.01354607380926609, 0.04498717188835144, 0.055957842618227005, -0.01546650193631649, -0.0035407983232289553, 0.008934248238801956, -0.08563109487295151, 0.04296689108014107, -0.0035222754813730717, -0.035452377051115036, -0.006800705101341009, 0.02419404126703739, -0.031460609287023544, -0.044951505959033966, -0.08378322422504425, -0.035580769181251526, 0.023348340764641762, 0.008545298129320145, -0.017642199993133545, -0.05411920323967934, -0.01386722270399332, 0.06408281624317169, -0.05520428717136383, -0.03110116720199585, 0.008949599228799343, -0.08237414807081223, 0.009103571064770222, 0.024677623063325882, -0.03832708299160004, 0.03158506378531456, -0.019070211797952652, 0.029242269694805145, -0.03458933159708977, 0.050166018307209015, -0.04785379022359848, 0.02967853844165802, -0.0915873646736145, -0.020749814808368683, -0.0022477859165519476, 0.06606245785951614, 0.03746836632490158, -0.045876145362854004, 0.05428767204284668, 0.05806547403335571, 0.047393668442964554, 0.03797047212719917, -0.013937614858150482, -0.010974165052175522, -0.006354496348649263, -0.07061783969402313, 0.019558055326342583, -0.00401310995221138, 0.026700381189584732, -0.04492419585585594, -0.03654402866959572, -0.015046092681586742, -0.05367424339056015, -0.04732842370867729, 0.009824754670262337, 0.014483927749097347, -0.015628192573785782, 0.0512550063431263, 0.04880460724234581, 0.02979104034602642, 0.0464940220117569, -0.014882433228194714, 0.05768081545829773, -0.0004330881347414106, 0.029330143705010414, -0.01710771769285202, -0.02969643846154213, -0.04948794096708298, 0.03260571137070656, 0.030000466853380203, -0.04707947000861168, -0.05457879975438118, 0.011157134547829628, -0.003956095781177282, 0.011245284229516983, 0.04207366704940796, -0.03710637986660004, -0.03474384546279907, -0.01410614512860775, 0.035024456679821014, 0.01957816258072853, 0.0024069163482636213, 0.009876986965537071, -0.04120291396975517, 0.010628312826156616, -0.02541794627904892, -0.05259120464324951, -0.011213133111596107, 0.04441371560096741, 0.0007474430603906512, 0.051446281373500824, 0.03735697269439697, -0.053035590797662735, 0.014633826911449432, 0.04595313221216202, -0.05434970185160637, 0.028261227533221245, 0.0404183603823185, 0.12499240785837173, -0.06251494586467743, -0.0440501905977726, 0.005573142319917679, -0.00043924403144046664, -0.03004433587193489, 0.016336670145392418, 0.012812601402401924, -0.017864814028143883, -0.0501510314643383, 0.004494292661547661, 0.03133966401219368, -0.028252681717276573, -0.002430963097140193, 0.05883937329053879, -0.0071723563596606255, 0.0774853527545929, -0.057334382086992264, 0.008086185902357101, 0.016257261857390404, -0.009412141516804695, -0.03410249203443527, 0.024248776957392693, -0.011390537954866886, -0.008412081748247147, -0.049890387803316116, -0.04710797965526581, 0.012578660622239113, 0.08378678560256958, 0.0036201863549649715, -0.01662927120923996, -0.07016205787658691, 0.03983788564801216, 0.03891412913799286, 0.02810247242450714, -0.007932707667350769, 0.01587153598666191, 0.0332428477704525, 0.03405997157096863, -0.014756624586880207, 0.041566379368305206, 0.02035221830010414, -0.02527172863483429, -0.0227301437407732, 0.0076330313459038734, 0.02476867288351059, -0.027996361255645752, -0.008644374087452888, 0.029745254665613174, 0.014827596955001354, -0.04112909361720085, -0.015874581411480904, 0.04596635699272156, 0.0030487377662211657, 0.0028782610315829515, 0.03084905445575714, -0.025891833007335663, -0.037149664014577866, 0.04332099109888077, -0.038072846829891205, -0.005184342619031668, -0.05682109668850899, -0.011550607159733772, -0.0014435937628149986, -0.0002213328261859715, 0.0050214906223118305, 0.017379211261868477, -0.014207610860466957, 0.049748845398426056, 0.020182492211461067, -0.005129985976964235, -0.04768581688404083, -0.060052841901779175, -0.0141813475638628, 0.035193707793951035, 0.04935392364859581, 0.035771444439888, -0.00790381245315075, -0.050026267766952515, 0.01078724768012762, 0.05569322407245636, 0.034887272864580154, 0.039372824132442474, -0.011505893431603909, 0.016945108771324158, 0.03356484696269035, 0.049604736268520355, -0.030226387083530426, -0.05385687202215195, 0.02329315058887005, 0.04087553545832634, -0.014692232012748718, 0.024538466706871986, -0.03016052395105362, 0.006874844431877136, -0.04825817421078682, -0.06727568805217743, 0.03532027825713158, 0.03855286166071892, -0.01561355497688055, 0.030130736529827118, -0.029186658561229706, 0.00788186490535736, 0.034072015434503555, 0.011176317930221558, 0.003917531576007605, -0.052566252648830414, -0.010831495746970177, 0.01166823785752058, 0.05053623393177986, -0.059287186712026596, 0.04469757154583931, -0.015509520657360554, -0.002133504021912813, 0.05903959646821022, -0.03184949606657028, 0.04707067832350731, 0.04105093330144882, 0.026322316378355026, -0.012278124690055847, 0.0064379931427538395, 0.009725738316774368, 0.03206752613186836, 0.03821644186973572, 0.014803715981543064, 0.09138590097427368, -0.013209103606641293, 0.05102141201496124, 0.07774870842695236, 0.03272917494177818, -0.009891802445054054, 0.016765423119068146, 0.07470197975635529, -0.006224398966878653, -0.02224399521946907, 0.06101265549659729, -0.04652940109372139, 0.009796751663088799, -0.032883983105421066, 0.05889121815562248, -0.023556869477033615, -0.052817121148109436, 0.030116967856884003, 0.017253967002034187, -0.02427402138710022, 0.020290616899728775, -0.0146361468359828, -0.024057593196630478, 0.007176809944212437, -0.018333125859498978, 0.011936664581298828, -0.01013583317399025, -0.05653269216418266, 0.028846904635429382, -0.07879095524549484, -0.029269898310303688, -0.012657149694859982, -0.029979942366480827, -0.00445586908608675, -0.0989016592502594, -0.017639830708503723, -0.025693893432617188, -0.03037823922932148, 0.04818180948495865, 0.03058982640504837, 0.02338629774749279, -0.03565474972128868, 0.017944494262337685, -0.0607285350561142, -0.04823526740074158, -0.04932452365756035, -0.0679369568824768, -0.03249886631965637, -0.024310892447829247, 0.05241493880748749, 0.05706765502691269, 0.007409924641251564, 0.035170502960681915, -0.002207724144682288, -0.014212343841791153, -0.024154629558324814, 0.019259028136730194, 0.04456516355276108, -0.043883901089429855, -0.0488663874566555, 0.018473785370588303, 0.025061070919036865, -0.0021307466086000204, -0.0034149407874792814, -0.01926521211862564, 0.0658445954322815, 0.0852932333946228, 0.018036819994449615, 0.02901608683168888, 0.006542157381772995, -0.04955398663878441, -0.07077508419752121, -0.02922091633081436, -0.04462166503071785, -0.013403529301285744, -0.020151076838374138, -0.037592459470033646, 0.002664618892595172, -0.06194714456796646, -0.03705171123147011, -0.024425355717539787, 0.015877701342105865, -0.010742218233644962, 0.035309553146362305, 0.009753759019076824, 0.028448408469557762, -0.04813985899090767, -0.0328173004090786, 0.05199325457215309, -0.032557252794504166, 0.016295628622174263, -0.07103928923606873, -0.031018728390336037, 0.042469900101423264, -0.00986056961119175, 0.009229552000761032, -0.014927253127098083, 0.06545607000589371, -0.012762016616761684, 0.02010979875922203, 0.008579321205615997, -0.021132392808794975, -0.01796893961727619, -0.000338254205416888, 0.0062913065776228905, 0.0008556455140933394, -0.03478900343179703, -0.0073044635355472565, -0.029887812212109566, 0.03392191231250763, -0.05931924656033516, -0.04306943342089653, 0.006608233787119389, 0.03380879759788513, 0.05417804792523384, -0.012478286400437355, -0.015132082626223564, -0.048080746084451675, -0.06913254410028458, 0.00033010030165314674, -0.008515038527548313, -0.01691894792020321, 0.010810187086462975, 0.03682311624288559, 0.006327283103018999, -0.030588483437895775, 0.04928271472454071, 0.03522589057683945, 0.05735955387353897, 0.03462657704949379, -0.031026948243379593, 0.027182703837752342, -0.025568887591362, 0.03466331958770752, -0.00994846411049366, -0.01517730113118887, -0.02505655400454998, -0.08338941633701324, -0.011088913306593895, -0.008761661127209663, -0.009462728165090084, -0.0267825685441494, 0.06682910770177841, 0.0038859976921230555, -0.010710109956562519, 0.008006397634744644, 0.01606922410428524, 0.05436655133962631, -0.03457895293831825, 0.03188823536038399, -0.013115796260535717, 0.04154445230960846, -0.06335383653640747, 0.023083852604031563, -0.01932917907834053, -0.046972375363111496, -0.008377840742468834, 0.0781683474779129, 0.017672713845968246, 0.020580558106303215, 0.09110332280397415, 0.023705046623945236, -0.04204937443137169, 0.008658047765493393, 0.07073251903057098, -0.013106775470077991, -0.018119702115654945, -0.002520135371014476, -0.021387943997979164, -0.02891971729695797, -0.02760542929172516, -0.03712161257863045, 0.022852156311273575, 0.044072225689888, -0.022793542593717575, 0.004571284633129835, 0.017129244282841682, -0.03356627747416496, -0.05616920068860054, -0.08180790394544601, -0.03196301311254501, -0.013220494613051414, -0.03120511583983898, 0.009874179027974606, 0.039542291313409805, -0.019827144220471382, 0.05688433721661568, 0.03390790894627571, -0.029452359303832054, -0.051964275538921356, 0.0020942329429090023, 0.03205736353993416, -0.07272204011678696, -0.06857046484947205, -0.06889926642179489, 0.052808672189712524, 0.049497708678245544, -0.010513070970773697, -0.05400107428431511, -0.021677304059267044, 0.03668925166130066, -0.02920190431177616, 0.08283434808254242, 0.025450449436903, 0.03979437053203583, 0.041551683098077774, -0.017935846000909805, 0.019043436273932457, -0.046308789402246475, 0.007404980715364218, 0.022671779617667198, 0.02768240123987198, -0.01598219759762287, -0.03827519714832306, -0.033912189304828644, 0.041167762130498886, 0.0385630801320076, 0.04053407162427902, 0.01352374255657196, -0.023160366341471672, -0.028252432122826576, 0.017521021887660027, 0.058794986456632614, -0.034628286957740784, 0.02437017299234867, 0.022547829896211624, 0.06196596100926399, -0.051791124045848846, -0.05802509933710098, -0.04701961949467659, -0.002015088452026248, 0.04056837409734726, -0.013803837820887566, -0.02223656326532364, -0.04083070904016495, -0.0030445309821516275, 0.020994359627366066, -0.021517924964427948, -0.0794612243771553, 0.027256391942501068, 0.015980320051312447, -0.03918295353651047, 0.026764225214719772, 0.027045508846640587, 0.051477301865816116, 0.07094790786504745, -0.0030237457249313593, 0.019932527095079422, -0.05447423458099365, 0.045276299118995667, -0.026170112192630768, -0.03157367184758186, -0.008060065098106861, -0.03652871027588844, -0.02480684407055378, -0.04146185517311096, -0.033232953399419785, -0.05085739865899086, -0.03643525764346123, 0.01643078401684761, -0.02206237055361271, 0.02238117903470993, 0.031862035393714905, 0.026223737746477127, 0.01350374985486269, -0.02547585591673851, -0.008785054087638855, -0.033393315970897675, -0.04562275856733322, -0.04649095982313156, -0.021474290639162064, -0.01740548573434353, 0.033240366727113724, 0.001177766709588468, 0.0042185913771390915, -0.022457052022218704, 0.028575226664543152, -0.02431386150419712, 0.019733324646949768, 0.01278744637966156, -0.026197608560323715, -0.007285570725798607, 0.002587623195722699, 0.015622789971530437, 0.021728169173002243, -0.01319326926022768, 0.0024195958394557238, 0.016776934266090393, -0.02891477756202221, -0.026093171909451485, -0.003150347853079438, 0.0014529110630974174, -0.06729290634393692, -0.039012521505355835, 0.005974773317575455, -0.03666340932250023, 0.02811151184141636, -0.030174637213349342, -0.017580516636371613, 0.03686952590942383, 0.01989697478711605, 0.043783459812402725, 0.006704394239932299, -0.02538227289915085, 0.03660018369555473, -0.01738990843296051, 0.02378791570663452, -0.04697476327419281, 0.025554394349455833, -0.05023102089762688, 0.015616062097251415, -0.018328364938497543, 0.006575596984475851, -0.05600858852267265, 0.016598131507635117, 0.007245271932333708, -0.009735899977385998, -0.014290855266153812, 0.002613247139379382, -0.048789408057928085, 0.006098576821386814, -0.030024975538253784, 0.01419542171061039, -0.02648492157459259, 0.05696112662553787, -0.06399413198232651, -0.007171873934566975, -0.03611340746283531, 0.020436862483620644, -0.01874893717467785, -0.017253199592232704, 0.009657450951635838, -0.06865142285823822, 0.04122696444392204, 0.00620358856394887, 0.01471731811761856, 0.05413326621055603, -0.026937834918498993, 0.009695753455162048, 0.017215440049767494, -0.061388567090034485, -0.005250413436442614, -0.009956969879567623, 0.0026933099143207073, -0.0032874015159904957, 0.05883047357201576, 0.03294368460774422, -0.05257130786776543, -0.050713762640953064, 0.05382177233695984, 0.004856412764638662, 0.02797888219356537, 0.008418980054557323, 0.013114284723997116, 0.03711118549108505, 0.027123814448714256, -0.030338425189256668, -0.04658766835927963, -0.011830062605440617, -0.05864540860056877, 0.009766582399606705, -0.016609665006399155, 0.002908904105424881, 0.02593025378882885, -0.03469467908143997, -0.03279929980635643, 0.0563272126019001, 0.0600162111222744, -0.008383449167013168, 0.00835301075130701, -0.05903921276330948, 0.035499222576618195, -0.00732450932264328, -0.027572767809033394, -0.0062736268155276775, 0.01747739687561989, -0.027026383206248283, 0.05775684863328934, -0.021975284442305565, 0.010999036952853203, 0.024152938276529312, 0.03435562178492546, -0.035907115787267685, -0.0021006499882787466, 0.0032771830447018147, -0.014126282185316086, 0.06430104374885559, -0.02956324629485607, -0.008105007000267506, -0.03437843546271324, 0.06963439285755157, -0.052038177847862244, 0.027971042320132256, 0.04984227195382118, -0.03674069792032242, 0.004041026812046766, -0.02704576589167118, -0.038587864488363266, 0.0012269786093384027, -0.028057603165507317, 0.06858423352241516, 0.00286438618786633, -0.07431954145431519, 0.047839876264333725, 0.004302577115595341, -0.02463892288506031, 0.02819041535258293, 0.046736523509025574, 0.03619883954524994, 0.012296710163354874, 0.05466819927096367, -0.03371477499604225, -0.008740327320992947, -0.04380529746413231, 0.02117106318473816, -0.0463806688785553, -0.028566567227244377, -0.0002910059702116996, -0.033965788781642914, -0.034818485379219055, 0.048444714397192, -0.03199993073940277, 0.0052619073539972305, 0.014101346954703331, -0.057393331080675125, -0.04702664911746979, -0.0006648707203567028, 0.03240548446774483, -0.02723163366317749, -0.01061963476240635, -0.028635093942284584, 0.01529719214886427, 0.008670265786349773, -0.006340964697301388, 0.0000500246933370363, 0.023700321093201637, -0.012463701888918877, -0.04848957434296608, -0.04060317575931549, 0.04593724012374878, 0.010134563781321049, 0.006289142183959484, 0.021528836339712143, -0.00027806885191239417, 0.02022457867860794, 0.019839389249682426, -0.007229773327708244, 0.042071908712387085, -0.06108816713094711, -0.039668161422014236, 0.0034054347779601812, 0.03829977661371231, -0.01646958477795124, -0.027634428814053535, 0.027499383315443993, 0.06761597096920013, 0.03749629855155945, -0.01613941416144371, -0.02573215588927269, -0.030897513031959534, 0.0005742015200667083, -0.05127052590250969, 0.031563468277454376, -0.010093651711940765, -0.08777812123298645, -0.04305827617645264, 0.013363588601350784, -0.012546361424028873, 0.076839379966259, -0.06213412061333656, -0.014915648847818375, 0.04529248923063278, -0.008143139071762562, -0.07110756635665894, -0.08671923726797104, -0.021159624680876732, -0.06023983657360077, 0.03763145953416824, 0.04341578483581543, -0.048728398978710175, 0.030495477840304375, -0.036046016961336136, -0.03273017704486847, 0.027520645409822464, 0.047723401337862015, -0.004743116907775402, 0.06365374475717545, 0.02533026412129402, -0.03959181159734726, 0.012384145520627499, 0.01374787651002407, -0.028388740494847298, 0.02207356132566929, 0.0016970954602584243, 0.013749359175562859, 0.024374142289161682, 0.01524895429611206, -0.012513553723692894, -0.035573553293943405, -0.03514445200562477, -0.027572061866521835, -0.055065322667360306, 0.01805226504802704, 0.04236874729394913 ]
DoyyingFace/bert-asian-hate-tweets-asian-clean-with-unclean-valid
[ "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 } } }
29
null
--- language: "id" license: "mit" datasets: - Indonesian Wikipedia widget: - text: "Pulau Dewata sering dikunjungi" --- # Indonesian GPT2 small model ## Model description It is GPT2-small model pre-trained with indonesian Wikipedia using a causal language modeling (CLM) objective. This model is uncased: it does not make a difference between indonesia and Indonesia. This is one of several other language models that have been pre-trained with indonesian datasets. More detail about its usage on downstream tasks (text classification, text generation, etc) is available at [Transformer based Indonesian Language Models](https://github.com/cahya-wirawan/indonesian-language-models/tree/master/Transformers) ## Intended uses & limitations ### How to use You can use this model directly with a pipeline for text generation. Since the generation relies on some randomness, we set a seed for reproducibility: ```python >>> from transformers import pipeline, set_seed >>> generator = pipeline('text-generation', model='cahya/gpt2-small-indonesian-522M') >>> set_seed(42) >>> generator("Kerajaan Majapahit adalah", max_length=30, num_return_sequences=5, num_beams=10) [{'generated_text': 'Kerajaan Majapahit adalah sebuah kerajaan yang pernah berdiri di Jawa Timur pada abad ke-14 hingga abad ke-15. Kerajaan ini berdiri pada abad ke-14'}, {'generated_text': 'Kerajaan Majapahit adalah sebuah kerajaan yang pernah berdiri di Jawa Timur pada abad ke-14 hingga abad ke-16. Kerajaan ini berdiri pada abad ke-14'}, {'generated_text': 'Kerajaan Majapahit adalah sebuah kerajaan yang pernah berdiri di Jawa Timur pada abad ke-14 hingga abad ke-15. Kerajaan ini berdiri pada abad ke-15'}, {'generated_text': 'Kerajaan Majapahit adalah sebuah kerajaan yang pernah berdiri di Jawa Timur pada abad ke-14 hingga abad ke-16. Kerajaan ini berdiri pada abad ke-15'}, {'generated_text': 'Kerajaan Majapahit adalah sebuah kerajaan yang pernah berdiri di Jawa Timur pada abad ke-14 hingga abad ke-15. Kerajaan ini merupakan kelanjutan dari Kerajaan Majapahit yang'}] ``` Here is how to use this model to get the features of a given text in PyTorch: ```python from transformers import GPT2Tokenizer, GPT2Model model_name='cahya/gpt2-small-indonesian-522M' tokenizer = GPT2Tokenizer.from_pretrained(model_name) model = GPT2Model.from_pretrained(model_name) text = "Silakan diganti dengan text apa saja." encoded_input = tokenizer(text, return_tensors='pt') output = model(**encoded_input) ``` and in Tensorflow: ```python from transformers import GPT2Tokenizer, TFGPT2Model model_name='cahya/gpt2-small-indonesian-522M' tokenizer = GPT2Tokenizer.from_pretrained(model_name) model = TFGPT2Model.from_pretrained(model_name) text = "Silakan diganti dengan text apa saja." encoded_input = tokenizer(text, return_tensors='tf') output = model(encoded_input) ``` ## Training data This model was pre-trained with 522MB of indonesian Wikipedia. The texts are tokenized using a byte-level version of Byte Pair Encoding (BPE) (for unicode characters) and a vocabulary size of 52,000. The inputs are sequences of 128 consecutive tokens.
[ -0.009125498123466969, -0.032037779688835144, -0.013796799816191196, 0.04405874013900757, 0.045682281255722046, 0.03400171175599098, 0.021609339863061905, -0.019304800778627396, -0.010717070661485195, 0.08360957354307175, 0.027652312070131302, -0.034553974866867065, -0.028905007988214493, 0.037294335663318634, -0.03588511422276497, -0.013344870880246162, -0.013980145566165447, -0.0006383694708347321, -0.03455062955617905, -0.021982630714774132, -0.010688073933124542, -0.0014643389731645584, 0.00968299712985754, -0.005173604004085064, -0.012424398213624954, 0.02551889605820179, -0.010234535671770573, 0.004797424655407667, 0.03407549113035202, -0.08796042948961258, -0.0026168781332671642, -0.022622037678956985, -0.017885345965623856, -0.01868404634296894, -0.049321498721838, -0.02636645920574665, 0.010984493419528008, 0.009913317859172821, 0.026377711445093155, 0.056763749569654465, -0.03077954240143299, 0.021572887897491455, -0.014777514152228832, -0.02608983777463436, 0.037916455417871475, 0.002191566163673997, -0.04155919700860977, -0.005075848661363125, 0.03562649339437485, -0.007626886013895273, -0.06026959419250488, -0.08891619741916656, -0.06534440815448761, 0.03222682327032089, -0.011191442608833313, -0.025635257363319397, -0.07832976430654526, -0.033597592264413834, 0.05256672576069832, -0.03465086221694946, -0.029376331716775894, 0.006147613283246756, -0.07196389883756638, 0.024730900302529335, 0.019379978999495506, -0.04777668043971062, -0.009016122668981552, -0.05048036202788353, 0.041912466287612915, -0.026332629844546318, 0.0544445626437664, -0.0338292121887207, 0.025751100853085518, -0.1001550480723381, -0.012901620008051395, -0.003869368927553296, 0.015227844938635826, 0.03832309693098068, -0.02766321413218975, 0.06090079993009567, 0.023958416655659676, 0.007863026112318039, 0.015971118584275246, 0.0074233850464224815, -0.00897173210978508, 0.03018639050424099, -0.046357907354831696, -0.014170548878610134, 0.003484142478555441, 0.055734310299158096, -0.05369273200631142, -0.028942519798874855, -0.015088187530636787, -0.02545085735619068, -0.031166840344667435, 0.013872489333152771, 0.00995559711009264, -0.009435481391847134, 0.05122291296720505, 0.0334196574985981, 0.02279043197631836, 0.05478208139538765, -0.016738180071115494, 0.05978558585047722, 0.026837686076760292, 0.0009573206771165133, -0.005876990035176277, -0.04690789058804512, -0.05177908390760422, 0.026867123320698738, 0.025461716577410698, -0.044665735214948654, -0.04984370246529579, 0.03008607216179371, 0.02348283678293228, -0.02517658658325672, 0.03825485333800316, -0.021648012101650238, -0.04621982201933861, -0.07257400453090668, 0.04702560603618622, 0.01217616442590952, 0.015185646712779999, 0.03847223147749901, -0.041830167174339294, 0.017542259767651558, -0.031889889389276505, -0.02744124084711075, 0.003949991427361965, 0.0035030257422477007, -0.03959796205163002, 0.03888176381587982, 0.030703619122505188, -0.04122690111398697, 0.004175581969320774, 0.02635912224650383, -0.0650508850812912, 0.06270188838243484, 0.020487867295742035, 0.0963701531291008, -0.07178450375795364, -0.028830476105213165, 0.0028385347686707973, 0.00047260490828193724, -0.01866970956325531, -0.0062107304111123085, 0.007041625212877989, -0.05183609575033188, -0.007098603527992964, -0.00993181113153696, 0.05323806032538414, -0.03464582934975624, -0.0170309878885746, 0.04730230197310448, 0.0035538121592253447, 0.017097678035497665, -0.03481874242424965, -0.012332121841609478, 0.021957600489258766, 0.021784460172057152, -0.04402278736233711, 0.0249947439879179, 0.01758585497736931, -0.017568960785865784, -0.05425139516592026, -0.03846587613224983, -0.013017207384109497, 0.08332870155572891, -0.0005921706324443221, -0.021927345544099808, -0.006989478599280119, 0.028749004006385803, 0.05946958437561989, 0.025514334440231323, -0.030850956216454506, 0.032341379672288895, 0.0558696910738945, 0.03151298686861992, -0.02483222633600235, 0.07808972895145416, 0.014013785868883133, -0.017916008830070496, -0.026956550776958466, 0.026329318061470985, 0.0071337525732815266, -0.04090002179145813, 0.018081363290548325, 0.03136793151497841, 0.01721310243010521, -0.021255655214190483, -0.005824612453579903, 0.03856473043560982, -0.00772995175793767, -0.017632773146033287, 0.007375988177955151, 0.009774481877684593, -0.02325182594358921, 0.03328164666891098, -0.031684331595897675, 0.011607829481363297, -0.01963753253221512, -0.013497735373675823, 0.011597876437008381, 0.057104405015707016, 0.04352051019668579, 0.03360289707779884, -0.020159803330898285, 0.08001164346933365, -0.027681851759552956, 0.009994935244321823, -0.04660807177424431, -0.03729584813117981, 0.004033912904560566, 0.020050201565027237, -0.023989548906683922, 0.05091838911175728, 0.02008986286818981, -0.022471077740192413, 0.029000183567404747, 0.0777011588215828, 0.05892929062247276, 0.04388895258307457, -0.015370090492069721, -0.006219842936843634, 0.029148023575544357, 0.06862173229455948, -0.05592969059944153, -0.04644861817359924, 0.017619626596570015, 0.041245728731155396, -0.0353330560028553, 0.021180927753448486, -0.00016124974354170263, 0.01934421807527542, -0.022439856082201004, -0.03881039097905159, 0.023047415539622307, 0.019323574379086494, 0.027029456570744514, 0.0010919756023213267, 0.0010358234867453575, -0.0072019388899207115, 0.02653292380273342, -0.0005677463486790657, 0.006390312686562538, -0.045950036495923996, 0.015814291313290596, 0.02288980223238468, 0.057093892246484756, -0.03392866998910904, 0.03939882665872574, -0.002133870031684637, 0.011256006546318531, 0.045841626822948456, -0.03446776047348976, 0.01883545331656933, 0.018452085554599762, 0.01059162151068449, -0.03444063290953636, 0.016794582828879356, 0.0006058402941562235, 0.027366628870368004, 0.048377811908721924, 0.027691185474395752, 0.05512676015496254, -0.01073425356298685, 0.07354645431041718, 0.11379238218069077, 0.017937177792191505, 0.0019155985210090876, 0.02691059187054634, 0.075898677110672, 0.00216135336086154, 0.0022789468057453632, 0.03618021309375763, -0.03598327934741974, 0.023573819547891617, -0.05301950126886368, 0.023912832140922546, -0.015369449742138386, -0.00825630221515894, 0.04452596604824066, 0.018600935116410255, -0.017613485455513, 0.028396159410476685, -0.028456861153244972, -0.006258302368223667, 0.017004583030939102, -0.007897124625742435, -0.006491411942988634, 0.000841484812553972, -0.010478147305548191, 0.01216481626033783, -0.07531912624835968, -0.026523491367697716, -0.015557887963950634, -0.038548972457647324, -0.013154679909348488, -0.07184910029172897, -0.018745452165603638, -0.07894931733608246, -0.03029944933950901, 0.043808210641145706, 0.042156949639320374, -0.010732908733189106, -0.02978714182972908, 0.000860747299157083, -0.03370308876037598, -0.03058960661292076, -0.03381090238690376, -0.04687289893627167, -0.01486937329173088, -0.08046599477529526, 0.01535915769636631, 0.02894161082804203, 0.011182848364114761, 0.0014419930521398783, 0.021446218714118004, -0.001960531109943986, -0.022421132773160934, 0.025424126535654068, 0.05513286590576172, -0.022173596546053886, -0.042453039437532425, 0.059642255306243896, -0.022503012791275978, 0.032376568764448166, -0.02446756139397621, -0.018490469083189964, 0.08544833213090897, 0.05282820761203766, 0.000951659691054374, 0.016723597422242165, -0.0224057137966156, -0.06097768619656563, -0.05166460946202278, -0.025308871641755104, -0.045118823647499084, -0.023615505546331406, -0.012367136776447296, -0.048667266964912415, -0.008316920138895512, -0.029757987707853317, -0.01662701740860939, 0.0077293990179896355, 0.020039739087224007, 0.04502471536397934, 0.04910611733794212, 0.0474068783223629, 0.0538850873708725, -0.016030943021178246, -0.014730696566402912, 0.05639344081282616, 0.026682982221245766, 0.00421857088804245, -0.05573127791285515, -0.03421008959412575, 0.03931387886404991, 0.03795542195439339, -0.006773549132049084, -0.00591631792485714, 0.09100071340799332, 0.026093615218997, 0.018053730949759483, -0.000904944259673357, -0.02986069768667221, -0.038011565804481506, -0.012706057168543339, -0.004677491262555122, -0.03963058814406395, -0.061829838901758194, -0.007528878748416901, -0.015783080831170082, 0.055194731801748276, -0.0601549968123436, -0.046812817454338074, -0.0034355910029262304, 0.04444359987974167, 0.007150158751755953, 0.01088621560484171, -0.025075063109397888, 0.003123454749584198, -0.03560356795787811, -0.038895007222890854, 0.026990467682480812, 0.0019899725448340178, 0.009825339540839195, 0.04504363238811493, 0.02717444859445095, -0.02835671976208687, 0.0316745862364769, 0.02223329432308674, 0.044043876230716705, 0.007681884802877903, -0.0457572303712368, -0.0017473101615905762, -0.031612396240234375, 0.034079261124134064, -0.01890425942838192, -0.021089181303977966, -0.03630863502621651, -0.08985531330108643, -0.016188403591513634, -0.008998081088066101, -0.04627346619963646, -0.015219902619719505, 0.055809006094932556, -0.0021067813504487276, -0.010924283415079117, 0.027714237570762634, 0.030002925544977188, 0.04019082337617874, -0.045291718095541, 0.04213766008615494, -0.004850013181567192, 0.02626846544444561, -0.06743995100259781, -0.00024363392731174827, -0.021040722727775574, -0.004009146708995104, 0.00018084206385537982, 0.04666917771100998, 0.028148585930466652, 0.050398342311382294, 0.06060103327035904, 0.01283266395330429, -0.02359926886856556, 0.03561599180102348, 0.034319717437028885, -0.0115099111571908, -0.04766608774662018, 0.0057653868570923805, -0.021958138793706894, -0.04538756236433983, 0.0002625675988383591, -0.05345071107149124, 0.04790108650922775, -0.005403529386967421, 0.009946885518729687, -0.008178435266017914, -0.008508441969752312, 0.00021533091785386205, -0.052584242075681686, -0.05696658790111542, -0.017375722527503967, -0.015842527151107788, -0.023011216893792152, 0.00659561762586236, 0.03289685398340225, 0.024072157219052315, 0.07171779125928879, 0.04163806140422821, -0.027963608503341675, -0.0687912106513977, 0.02134658582508564, 0.035454630851745605, -0.016150178387761116, -0.07767830044031143, -0.045337092131376266, 0.03505124896764755, 0.030972037464380264, -0.01565307192504406, -0.08932820707559586, 0.011696468107402325, 0.03616798296570778, -0.040292270481586456, 0.05446290224790573, -0.025350233539938927, 0.04476216062903404, 0.07642645388841629, -0.037143461406230927, 0.012560692615807056, -0.020433004945516586, 0.015979710966348648, -0.0042376406490802765, 0.045162562280893326, -0.031201452016830444, -0.03604057431221008, -0.05142129212617874, 0.04171357303857803, 0.022234288975596428, 0.05309978127479553, 0.005735558457672596, -0.0006398194818757474, -0.06566973030567169, 0.005828050430864096, 0.0376087948679924, -0.022562673315405846, 0.008476833812892437, 0.023212512955069542, 0.034053727984428406, -0.02786249667406082, -0.030411820858716965, -0.014766671694815159, 0.0032806158997118473, 0.03450976312160492, -0.0009343713754788041, -0.03453405201435089, -0.046018458902835846, 0.012392478063702583, 0.0037015248090028763, -0.020746400579810143, -0.09812654554843903, 0.0200798436999321, -0.013714062981307507, -0.03378814458847046, 0.04727902263402939, 0.05124540254473686, 0.008577118627727032, 0.05355672538280487, 0.008666327223181725, 0.025499533861875534, -0.05107583478093147, 0.03754417225718498, -0.03806065395474434, 0.006332824472337961, -0.007587903179228306, -0.06392830610275269, -0.00535409152507782, -0.02492089755833149, -0.04191414639353752, -0.0409700833261013, -0.028600886464118958, 0.017996132373809814, -0.008810839615762234, -0.006001658737659454, -0.0017911167815327644, 0.04230551794171333, -0.04532752186059952, -0.03509415686130524, -0.043342601507902145, -0.03659564256668091, -0.0931548997759819, -0.04529865086078644, 0.015701541677117348, 0.050273455679416656, 0.019975846633315086, -0.007670491933822632, 0.0019032495329156518, 0.012459256686270237, 0.008426329120993614, -0.01256649848073721, 0.046475403010845184, -0.0026589895132929087, -0.025166098028421402, -0.04787445440888405, 0.011069594882428646, 0.012792316265404224, 0.022221911698579788, -0.001264591934159398, 0.031314924359321594, 0.008982466533780098, -0.019158313050866127, -0.009354562498629093, 0.012442466802895069, 0.032883960753679276, -0.0735611766576767, -0.029145678505301476, -0.0006900589214637876, -0.048385899513959885, 0.03310725837945938, -0.022113922983407974, -0.03955603390932083, 0.0060137794353067875, 0.020280420780181885, 0.04057333618402481, 0.0032127038575708866, -0.027333613485097885, 0.03175642341375351, -0.017138736322522163, -0.009410345926880836, -0.06499578803777695, 0.060347024351358414, -0.028632503002882004, 0.020389873534440994, -0.00848808791488409, -0.02302243933081627, -0.0393342450261116, 0.03619790077209473, 0.001051649684086442, -0.014058860950171947, -0.02182682603597641, 0.0020512340124696493, -0.03465952351689339, 0.04179921746253967, -0.010180623270571232, 0.03458426147699356, -0.0114249587059021, 0.030006397515535355, -0.03342413529753685, 0.011717655695974827, -0.024113841354846954, -0.013813978992402554, -0.029733408242464066, -0.04340621829032898, -0.04729500785470009, -0.06073171645402908, 0.04367274418473244, 0.00368214282207191, 0.03211658447980881, 0.013047613203525543, -0.00445184763520956, 0.01426746603101492, 0.0022827330976724625, -0.08442985266447067, -0.017441093921661377, -0.009382587857544422, 0.007844747044146061, 0.0023141102865338326, 0.054522592574357986, 0.0304451584815979, -0.051600754261016846, -0.036792781203985214, 0.03702274709939957, 0.018053611740469933, 0.0014973536599427462, 0.006520024500787258, 0.01546461321413517, 0.030315160751342773, 0.04588540643453598, -0.05193871259689331, 0.0036456261295825243, -0.02371206134557724, -0.032414041459560394, 0.04618535563349724, 0.012925558723509312, 0.019020086154341698, 0.012299478985369205, -0.04365741088986397, -0.009613610804080963, 0.07446838170289993, 0.03513257950544357, 0.02737586945295334, 0.012430915609002113, -0.05454712733626366, 0.014110712334513664, -0.0043267556466162205, -0.030020538717508316, -0.020424989983439445, 0.016470571979880333, -0.05448179692029953, 0.10054220259189606, -0.004677271004766226, -0.00699278712272644, 0.04095519334077835, 0.009279261343181133, -0.026756200939416885, 0.03480394557118416, -0.05119425803422928, -0.006015083286911249, 0.038472920656204224, -0.04468894377350807, -0.00006315371138043702, 0.0016754899406805634, 0.06311497837305069, -0.051779985427856445, 0.035835061222314835, 0.03539988026022911, 0.03332561254501343, 0.02475680038332939, -0.0443919338285923, -0.047966256737709045, 0.015408465638756752, -0.046982184052467346, 0.07492305338382721, -0.01753922738134861, -0.039235182106494904, 0.08222313225269318, 0.013189299032092094, -0.07949178665876389, 0.05191829428076744, 0.052403878420591354, 0.03806198760867119, 0.04931836202740669, 0.04527842253446579, -0.06404697149991989, 0.005208358634263277, -0.016573814675211906, 0.02692033164203167, -0.05598710849881172, -0.004072360694408417, 0.016716379672288895, -0.047734860330820084, -0.025068864226341248, 0.020774660632014275, 0.0010045089293271303, -0.026507096365094185, 0.013235589489340782, -0.054204609245061874, -0.06334863603115082, -0.010916000232100487, 0.03851998224854469, -0.049608200788497925, -0.01157159823924303, -0.03712223097681999, 0.03128189966082573, -0.00962840672582388, 0.005546628497540951, -0.05054641142487526, 0.021195029839873314, 0.03458798676729202, -0.08057033270597458, -0.015690553933382034, 0.03476525470614433, 0.01347833126783371, -0.029412414878606796, 0.041131529957056046, -0.00427400553599, 0.02307608537375927, 0.013043899089097977, 0.007165714167058468, 0.024970537051558495, -0.05462510511279106, -0.01929786056280136, 0.006435001268982887, -0.008094122633337975, 0.05036985129117966, -0.011576629243791103, 0.016034860163927078, 0.018302371725440025, 0.019487133249640465, 0.02376144379377365, -0.06039760634303093, -0.023215854540467262, 0.008539043366909027, -0.06824398040771484, 0.0009570907568559051, 0.025447186082601547, -0.05691411718726158, -0.0299079492688179, -0.025122815743088722, -0.021436307579278946, 0.03734331950545311, -0.04835210368037224, 0.023813879117369652, 0.03649337217211723, -0.014079217799007893, -0.03490665182471275, -0.07414872199296951, -0.022720234468579292, -0.030001239851117134, 0.021274486556649208, 0.027105500921607018, -0.049179427325725555, 0.06880763173103333, -0.05820155888795853, -0.059371720999479294, 0.020318537950515747, 0.024341871961951256, -0.05451923981308937, 0.055395327508449554, 0.07036501169204712, -0.009379096329212189, 0.03145388513803482, 0.01204715482890606, -0.036572471261024475, 0.045658230781555176, 0.027249591425061226, 0.00516177574172616, 0.014140239916741848, 0.015319247730076313, -0.03513358160853386, -0.018527276813983917, -0.06952329725027084, -0.033653367310762405, -0.04427308216691017, -0.0008018941734917462, 0.05270707234740257 ]
albert-base-v1
[ "pytorch", "tf", "safetensors", "albert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1909.11942", "transformers", "exbert", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "AlbertForMaskedLM" ], "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 } } }
38,156
2022-02-02T15:26:05Z
--- language: - tr license: apache-2.0 tags: - automatic-speech-recognition - mozilla-foundation/common_voice_7_0 - generated_from_trainer datasets: - common_voice model-index: - name: '' 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. --> # This model is a fine-tuned version of [cahya/wav2vec2-base-turkish-artificial](https://huggingface.co/cahya/wav2vec2-base-turkish-artificial) on the MOZILLA-FOUNDATION/COMMON_VOICE_7_0 - TR dataset. It achieves the following results on the evaluation set: - Loss: 0.2893 - Wer: 0.2713 ## 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.0003 - train_batch_size: 128 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 512 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 100 - num_epochs: 100.0 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 1.8647 | 14.28 | 200 | 0.2758 | 0.2568 | | 1.3376 | 28.56 | 400 | 0.2754 | 0.2722 | | 1.1975 | 42.84 | 600 | 0.2929 | 0.2901 | | 1.1024 | 57.14 | 800 | 0.2904 | 0.2928 | | 1.0257 | 71.42 | 1000 | 0.2915 | 0.2823 | | 0.9628 | 85.7 | 1200 | 0.2936 | 0.2749 | | 0.9109 | 99.98 | 1400 | 0.2893 | 0.2713 | ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.04335255175828934, -0.0025547423865646124, -0.022908909246325493, 0.04185551032423973, 0.04161522909998894, 0.024467436596751213, 0.0030040170531719923, -0.018709907308220863, -0.03007758967578411, 0.06115938350558281, 0.01780184544622898, -0.048013005405664444, 0.0002282711211591959, 0.02578345499932766, -0.036735787987709045, -0.04141460731625557, -0.027654878795146942, 0.009096639230847359, -0.04405130073428154, -0.00861367117613554, -0.008955267257988453, 0.0074823033064603806, -0.006778012029826641, 0.019738784059882164, -0.00605129124596715, 0.020001353695988655, -0.009244311600923538, 0.004480799660086632, 0.028134701773524284, -0.050769273191690445, 0.0002958399127237499, -0.06501453369855881, -0.054609935730695724, -0.029800845310091972, -0.009523440152406693, 0.01845843531191349, 0.0033112666569650173, 0.03198402002453804, 0.04011485353112221, 0.05656765401363373, -0.021264109760522842, 0.019015735015273094, -0.0026320586912333965, -0.014733603224158287, 0.03868486359715462, -0.0006033274112269282, -0.03400791063904762, -0.019448818638920784, 0.022530963644385338, -0.038886819034814835, -0.043419308960437775, -0.03476756438612938, -0.02146780863404274, 0.027469327673316002, -0.025599228218197823, -0.033811748027801514, -0.05204946547746658, -0.027496684342622757, 0.07725264877080917, -0.04897947981953621, -0.020460590720176697, 0.027156904339790344, -0.07399789243936539, 0.010759668424725533, 0.036872539669275284, -0.06161179021000862, 0.023689694702625275, -0.0561717264354229, 0.028571035712957382, -0.020616313442587852, 0.04454175755381584, -0.004808776080608368, 0.0008641316671855748, -0.08787764608860016, -0.00433769216760993, -0.007821786217391491, 0.03232017531991005, 0.07672884315252304, -0.027502626180648804, 0.06368979811668396, 0.011437703855335712, 0.009859207086265087, 0.03987392410635948, -0.010782052762806416, 0.04008368402719498, 0.04919350519776344, -0.027908291667699814, 0.013796464540064335, 0.01910870335996151, 0.036608077585697174, -0.028166649863123894, -0.03280307725071907, -0.010079490952193737, -0.05053773522377014, -0.01063957717269659, 0.03355993330478668, 0.03062281757593155, -0.001972982194274664, 0.047788187861442566, 0.019109420478343964, 0.01149159949272871, 0.015756482258439064, -0.03508549928665161, 0.06620489060878754, -0.047817863523960114, -0.005068844649940729, -0.02051226794719696, -0.03496955335140228, -0.02972450666129589, 0.01599329337477684, 0.034533947706222534, -0.051027458161115646, -0.034252095967531204, 0.04096323624253273, 0.01332045253366232, -0.03048492781817913, 0.052261631935834885, -0.04222109168767929, -0.036781515926122665, -0.04110557958483696, 0.03866872563958168, 0.02057502791285515, 0.006342435255646706, 0.015805820003151894, -0.04333972930908203, 0.014777671545743942, -0.04028908908367157, -0.04256002977490425, 0.024316471070051193, 0.013740369118750095, -0.006751557346433401, 0.06664007902145386, 0.007943657226860523, -0.07222617417573929, -0.004326164722442627, 0.00027604016941040754, -0.05482218414545059, 0.01855662278831005, -0.0008884425042197108, 0.07962096482515335, -0.06681986898183823, -0.07178604602813721, 0.004277307540178299, -0.0016613707412034273, -0.013336768373847008, 0.02774025872349739, 0.04288532957434654, -0.0038126858416944742, -0.032012633979320526, 0.006940667517483234, 0.051927726715803146, -0.06608813256025314, -0.02128664404153824, 0.06729356199502945, -0.02794291451573372, 0.036103591322898865, -0.021698204800486565, -0.014759502373635769, 0.004645048640668392, -0.022410348057746887, -0.007303478661924601, 0.028694309294223785, -0.01115522999316454, -0.01950175128877163, -0.049427278339862823, -0.040204599499702454, -0.014944846741855145, 0.0736829861998558, 0.0038880878128111362, -0.009932644665241241, -0.02267143875360489, 0.0285713542252779, 0.03226267546415329, 0.028430134057998657, -0.05531182885169983, 0.051261670887470245, 0.06237213686108589, 0.040324945002794266, -0.025214238092303276, 0.08313975483179092, 0.020980633795261383, -0.019891586154699326, -0.02993636578321457, 0.019039157778024673, 0.0108415512368083, -0.049146030098199844, 0.0006308273877948523, 0.04528992995619774, 0.00455601466819644, -0.049501530826091766, -0.034077588468790054, 0.05855018272995949, -0.011175798252224922, -0.014604189433157444, 0.004049844574183226, -0.012772397138178349, -0.03693673387169838, 0.038294196128845215, -0.0245190542191267, 0.002885282039642334, -0.022250529378652573, -0.024485331028699875, -0.008649973198771477, 0.02103562280535698, 0.018331358209252357, 0.0646253451704979, -0.009865759871900082, 0.07387171685695648, -0.029529789462685585, 0.009083641692996025, -0.025097154080867767, -0.04531370848417282, -0.010278880596160889, 0.06896931678056717, 0.0416099838912487, 0.08036531507968903, -0.004932394251227379, -0.04860210046172142, 0.030841544270515442, 0.08048581331968307, 0.06328672170639038, 0.010173301212489605, -0.02894853614270687, -0.01752503775060177, 0.02399204485118389, 0.06323911249637604, -0.06186792254447937, -0.03558140620589256, 0.006574281957000494, 0.04153900220990181, -0.009679863229393959, 0.008923728950321674, -0.01945599727332592, 0.058034829795360565, -0.033053215593099594, -0.070188507437706, 0.06650340557098389, 0.022067034617066383, -0.008302688598632812, 0.02758002281188965, 0.001413849531672895, 0.0019354962278157473, 0.017448022961616516, 0.012355933897197247, 0.0024700940120965242, -0.046367887407541275, 0.016275741159915924, 0.021460210904479027, 0.05135033279657364, -0.06490270048379898, 0.04357685521245003, -0.022716274484992027, 0.0013049780391156673, 0.0196875911206007, -0.046268630772829056, 0.04644116386771202, 0.023111704736948013, 0.013976160436868668, -0.04543190822005272, 0.01824898086488247, 0.012526211328804493, 0.055728551000356674, 0.030176879838109016, 0.010812214575707912, 0.05633336305618286, 0.014873418025672436, 0.04583107680082321, 0.07407837361097336, 0.03913732245564461, 0.012924190610647202, 0.008107185363769531, 0.06254834681749344, 0.015744615346193314, -0.01322164572775364, 0.07082314789295197, -0.056546516716480255, 0.016978174448013306, -0.04907228797674179, 0.015373069792985916, -0.0026190041098743677, -0.00036178206210024655, 0.03976662456989288, -0.009355895221233368, -0.00448917830362916, 0.0020505336578935385, -0.04984830319881439, -0.0290494617074728, 0.03459501639008522, -0.0020953703206032515, -0.025337547063827515, -0.014086185023188591, -0.013482315465807915, -0.006737319752573967, -0.08752867579460144, -0.016157813370227814, -0.012991010211408138, -0.05588061362504959, 0.010853365994989872, -0.07205230742692947, -0.01145059335976839, -0.043309394270181656, -0.020998764783143997, 0.02755868248641491, 0.004947759211063385, 0.007152154576033354, -0.047215625643730164, 0.008703368715941906, -0.04819778352975845, -0.053058985620737076, -0.050755687057971954, -0.04264967888593674, -0.022717835381627083, -0.057635173201560974, 0.02939697727560997, 0.03401339054107666, 0.0355086587369442, -0.0023498993832618, 0.004822620190680027, -0.015558360144495964, -0.02491013891994953, 0.0321853868663311, 0.045890938490629196, -0.04378890618681908, -0.061422187834978104, 0.029153842478990555, -0.02863132953643799, 0.013531487435102463, 0.0003709368465933949, -0.02715708129107952, 0.08420412242412567, 0.055725447833538055, 0.02222452685236931, 0.03803885355591774, -0.019013777375221252, -0.06010768935084343, -0.05194712057709694, -0.02166879177093506, -0.04608728736639023, -0.01099616102874279, -0.03294454887509346, -0.03930019587278366, -0.03075573593378067, -0.029301408678293228, -0.004290692508220673, 0.00347680551931262, -0.0072724539786577225, 0.030963122844696045, 0.02854839153587818, 0.018400996923446655, 0.018440982326865196, -0.015411222353577614, -0.04047991707921028, 0.06423357874155045, 0.014589134603738785, 0.009834961034357548, -0.06458210945129395, -0.023410605266690254, 0.02279386669397354, 0.025590095669031143, -0.012628640979528427, -0.006379818078130484, 0.09198885411024094, -0.017831450328230858, -0.014971727505326271, 0.0257958322763443, -0.03528675436973572, -0.05020837485790253, -0.020151864737272263, 0.0005796434707008302, -0.013202287256717682, -0.0619017519056797, 0.0033923897426575422, 0.005086349789053202, 0.06681591272354126, -0.06286045908927917, -0.04364671930670738, -0.03308968245983124, 0.04461725428700447, 0.03462100028991699, -0.004444771911948919, -0.03089352510869503, -0.0012226295657455921, -0.06242964044213295, -0.036011770367622375, 0.04015294462442398, 0.014865357428789139, 0.027349641546607018, 0.05914447084069252, -0.009915727190673351, -0.02709314040839672, 0.05435015633702278, 0.044511016458272934, 0.06305146962404251, 0.022190550342202187, -0.04276736080646515, 0.005986969918012619, -0.047354429960250854, 0.02727573551237583, -0.008934061042964458, -0.03786635771393776, -0.046597402542829514, -0.09065953642129898, -0.042342670261859894, 0.009272116236388683, -0.01447970699518919, -0.012705758213996887, 0.034679245203733444, 0.0016155451303347945, 0.008420988917350769, -0.001700983732007444, 0.03224951773881912, 0.044421348720788956, -0.048439834266901016, 0.035362888127565384, -0.010803619399666786, 0.04412141442298889, -0.0787898376584053, 0.01638447307050228, -0.02141505293548107, -0.03802596405148506, 0.010068457573652267, 0.07425183057785034, 0.008009545505046844, 0.03947826847434044, 0.0924782007932663, 0.03498347848653793, -0.04189251363277435, 0.03405823931097984, 0.06324361264705658, -0.021253712475299835, -0.04943517968058586, 0.009416589513421059, 0.003163892077282071, -0.045134156942367554, -0.008609271608293056, -0.02858106419444084, 0.046950098127126694, 0.04986899718642235, -0.02843417227268219, 0.005377958063036203, 0.010685884393751621, -0.021161604672670364, -0.011819390580058098, -0.057778794318437576, -0.04260459542274475, 0.010583215393126011, -0.024723589420318604, 0.03966978192329407, 0.02147086337208748, -0.003473580116406083, 0.04818009212613106, 0.028942309319972992, -0.0356433168053627, -0.03132457286119461, 0.0348544716835022, 0.021835695952177048, -0.027963444590568542, -0.054088376462459564, -0.021526437252759933, 0.04818113148212433, 0.03572354093194008, -0.008404247462749481, -0.07716502994298935, -0.0007850862457416952, 0.05001479387283325, -0.03747996687889099, 0.05716397240757942, -0.03285078704357147, 0.0326981246471405, 0.05274612456560135, -0.009324138052761555, 0.05113736167550087, -0.021113580092787743, 0.010210756212472916, 0.00509952288120985, 0.012265770696103573, -0.010197030380368233, -0.019206319004297256, -0.05858614668250084, 0.01721295341849327, 0.04452605918049812, 0.013678035698831081, 0.047280196100473404, -0.027669629082083702, -0.026305364444851875, 0.009740373119711876, 0.016394689679145813, -0.04672849923372269, 0.010915141552686691, 0.02496498078107834, 0.030189277604222298, -0.023264054208993912, -0.0026695341803133488, -0.014542239718139172, -0.0041335891000926495, 0.015110919252038002, 0.008350178599357605, -0.044186923652887344, -0.029540767893195152, 0.03497689589858055, -0.008103611879050732, -0.03232962265610695, -0.08141299337148666, 0.03690193220973015, -0.02303580567240715, -0.007169009651988745, 0.04596761614084244, 0.015485777519643307, 0.04147058725357056, 0.04401887580752373, 0.020460179075598717, 0.011309918016195297, -0.039675235748291016, 0.041916921734809875, -0.03307752683758736, -0.0347849540412426, -0.014829806983470917, -0.03626914322376251, -0.012391753494739532, -0.02590426616370678, -0.030481502413749695, -0.04586326330900192, -0.006177793722599745, 0.042150501161813736, -0.030495835468173027, -0.005885177291929722, -0.0190516859292984, 0.03950156271457672, -0.04419991746544838, -0.036854639649391174, -0.026615405455231667, -0.03588933125138283, -0.06930667906999588, -0.04921899735927582, 0.038179364055395126, -0.023189442232251167, 0.03672948107123375, 0.01626184768974781, 0.02306928113102913, 0.02194398082792759, -0.010782651603221893, -0.009940722957253456, 0.020151637494564056, -0.009839655831456184, -0.04237359017133713, -0.034230634570121765, 0.044228363782167435, 0.014147560112178326, 0.050506044179201126, -0.024512188509106636, 0.03170178085565567, 0.02906491421163082, -0.03129204362630844, -0.004153670743107796, 0.005938254296779633, 0.035755276679992676, -0.06276562809944153, -0.041888970881700516, -0.01168762892484665, -0.05346379429101944, 0.014836745336651802, -0.025194058194756508, 0.00036768135032616556, 0.018448133021593094, 0.012444086372852325, 0.03793841972947121, -0.002577663864940405, -0.02429931052029133, 0.023791100829839706, -0.012088299728929996, 0.023162594065070152, -0.04673841595649719, 0.05382202938199043, -0.03528827801346779, 0.004548927303403616, -0.009233755059540272, 0.01602288708090782, -0.0507563017308712, 0.03876363858580589, -0.017529794946312904, -0.006762550212442875, -0.0013359049335122108, 0.038068026304244995, -0.021297946572303772, 0.016722241416573524, -0.02060559019446373, 0.023160725831985474, -0.039733629673719406, 0.0616132877767086, -0.029842978343367577, 0.013619008474051952, -0.026761138811707497, 0.010505189187824726, -0.024333341047167778, 0.004002694506198168, -0.00832054391503334, -0.026756038889288902, 0.037757758051157, 0.054047103971242905, 0.043910909444093704, 0.03755316138267517, -0.01912495493888855, -0.012294020503759384, 0.012753578834235668, -0.024914277717471123, -0.014872572384774685, 0.010272610932588577, 0.028084568679332733, 0.0025840376038104296, 0.056355591863393784, 0.03268350288271904, -0.060608185827732086, -0.08174455910921097, 0.030902452766895294, 0.0076560224406421185, 0.019553815945982933, 0.0293192770332098, 0.032833948731422424, 0.02330506220459938, 0.05888085067272186, -0.019542371854186058, -0.0025621738750487566, -0.02743450738489628, -0.032529983669519424, 0.027953913435339928, -0.019652608782052994, 0.014585936442017555, 0.0020522403065115213, -0.03713633492588997, -0.03673269599676132, 0.030163412913680077, 0.005596223287284374, 0.03155200928449631, -0.02632656693458557, -0.05363810807466507, 0.009332153014838696, -0.0157077107578516, -0.05029414966702461, 0.015624376013875008, -0.010711402632296085, -0.02618083357810974, 0.07487738877534866, -0.017311830073595047, 0.008732850663363934, 0.04418908804655075, 0.014810193330049515, -0.01953369379043579, 0.0748172476887703, -0.02869287319481373, -0.015566087327897549, 0.043998800218105316, -0.06695900112390518, -0.0012408372713252902, -0.03321242332458496, 0.07252336293458939, -0.06417284160852432, 0.02638276480138302, 0.058987632393836975, -0.000525884737726301, 0.037495244294404984, -0.05619848892092705, -0.04143991693854332, 0.02799200266599655, -0.03586110100150108, 0.07758045941591263, 0.019585708156228065, -0.03859274834394455, 0.04305742681026459, 0.024478109553456306, -0.09298861026763916, 0.044408757239580154, 0.03531773388385773, 0.03805822134017944, 0.030686745420098305, 0.04327789694070816, -0.043901365250349045, 0.009485284797847271, -0.039460621774196625, 0.027432756498456, -0.060735445469617844, 0.002185202669352293, 0.03111984394490719, -0.03411261737346649, -0.010654862970113754, 0.024058153852820396, -0.02104245312511921, -0.03507765382528305, 0.04746369272470474, -0.053658269345760345, -0.02918730117380619, 0.005478703882545233, 0.025782614946365356, -0.04437599703669548, 0.019910113885998726, -0.0368683747947216, 0.005340439733117819, 0.02604183740913868, 0.006774986628443003, -0.021478893235325813, -0.0019823811016976833, 0.01729893684387207, -0.05500994250178337, -0.05349801480770111, 0.0479467511177063, 0.011000889353454113, -0.023868318647146225, 0.03310762718319893, 0.025434935465455055, 0.011684969067573547, 0.025322942063212395, 0.012873495928943157, 0.009845461696386337, -0.053613800555467606, -0.031930435448884964, 0.004517595749348402, 0.000506782322190702, 0.03392823413014412, -0.001928347279317677, 0.04213694855570793, 0.06870118528604507, 0.009623657912015915, 0.0031250729225575924, -0.033263158053159714, -0.03396208584308624, 0.03200409188866615, -0.04115090146660805, 0.01592937856912613, 0.0016653096536174417, -0.03816014528274536, -0.04095267131924629, -0.01701441965997219, 0.0008934767683967948, 0.02473565936088562, -0.06157173588871956, -0.0028544969391077757, 0.030286723747849464, -0.02809024043381214, -0.041436683386564255, -0.08132865279912949, -0.03047645464539528, -0.054621241986751556, 0.02256801538169384, 0.02438265085220337, -0.035903483629226685, 0.020133396610617638, -0.0470915213227272, -0.043953388929367065, 0.03724253550171852, 0.01783733069896698, -0.040367819368839264, 0.0347612164914608, 0.03556450456380844, -0.05574345588684082, 0.007024399004876614, 0.049707796424627304, -0.03850424289703369, 0.022556684911251068, 0.019900329411029816, 0.0222761332988739, 0.02898450568318367, 0.02465645596385002, -0.04835284873843193, -0.013509866781532764, -0.08516708016395569, -0.0403321199119091, -0.04039996117353439, 0.0036588481161743402, 0.05509920418262482 ]
albert-base-v2
[ "pytorch", "tf", "jax", "rust", "safetensors", "albert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1909.11942", "transformers", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "AlbertForMaskedLM" ], "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 } } }
4,785,283
2022-02-04T14:21:16Z
--- language: - tr tags: - automatic-speech-recognition - mozilla-foundation/common_voice_8_0 - generated_from_trainer datasets: - common_voice model-index: - name: '' 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. --> # This model is a fine-tuned version of [./checkpoint-1000](https://huggingface.co/./checkpoint-1000) on the MOZILLA-FOUNDATION/COMMON_VOICE_8_0 - TR dataset. It achieves the following results on the evaluation set: - Loss: 0.3282 - Wer: 0.2836 ## 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.0003 - train_batch_size: 96 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 2 - total_train_batch_size: 192 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 100 - num_epochs: 100.0 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:-----:|:---------------:|:------:| | 1.0671 | 2.04 | 200 | 0.3079 | 0.2752 | | 0.6433 | 4.08 | 400 | 0.2728 | 0.2848 | | 0.5687 | 6.12 | 600 | 0.2882 | 0.3036 | | 0.5355 | 8.16 | 800 | 0.2778 | 0.2920 | | 0.5116 | 10.2 | 1000 | 0.2906 | 0.3014 | | 0.5313 | 9.16 | 1200 | 0.2984 | 0.3273 | | 0.4996 | 10.69 | 1400 | 0.3170 | 0.3344 | | 0.4845 | 12.21 | 1600 | 0.3202 | 0.3634 | | 0.5092 | 13.74 | 1800 | 0.3167 | 0.3373 | | 0.4777 | 15.27 | 2000 | 0.3292 | 0.3386 | | 0.4651 | 16.79 | 2200 | 0.3070 | 0.3427 | | 0.461 | 18.32 | 2400 | 0.3149 | 0.3561 | | 0.4481 | 19.85 | 2600 | 0.3292 | 0.3441 | | 0.4479 | 21.37 | 2800 | 0.3142 | 0.3209 | | 0.4305 | 22.9 | 3000 | 0.3525 | 0.3547 | | 0.4254 | 24.43 | 3200 | 0.3414 | 0.3400 | | 0.4066 | 25.95 | 3400 | 0.3118 | 0.3207 | | 0.4043 | 27.48 | 3600 | 0.3418 | 0.3483 | | 0.3985 | 29.01 | 3800 | 0.3254 | 0.3166 | | 0.3982 | 30.53 | 4000 | 0.3306 | 0.3453 | | 0.3929 | 32.06 | 4200 | 0.3262 | 0.3229 | | 0.378 | 33.59 | 4400 | 0.3546 | 0.3336 | | 0.4062 | 35.11 | 4600 | 0.3174 | 0.3457 | | 0.3648 | 36.64 | 4800 | 0.3377 | 0.3357 | | 0.3609 | 38.17 | 5000 | 0.3346 | 0.3520 | | 0.3483 | 39.69 | 5200 | 0.3350 | 0.3526 | | 0.3548 | 41.22 | 5400 | 0.3330 | 0.3406 | | 0.3446 | 42.75 | 5600 | 0.3398 | 0.3372 | | 0.3346 | 44.27 | 5800 | 0.3449 | 0.3288 | | 0.3309 | 45.8 | 6000 | 0.3320 | 0.3144 | | 0.326 | 47.33 | 6200 | 0.3400 | 0.3279 | | 0.3189 | 48.85 | 6400 | 0.3400 | 0.3150 | | 0.3165 | 50.38 | 6600 | 0.3359 | 0.2995 | | 0.3132 | 51.91 | 6800 | 0.3343 | 0.3096 | | 0.3092 | 53.44 | 7000 | 0.3224 | 0.3029 | | 0.2995 | 54.96 | 7200 | 0.3205 | 0.2985 | | 0.304 | 56.49 | 7400 | 0.3523 | 0.3034 | | 0.2952 | 58.02 | 7600 | 0.3289 | 0.2934 | | 0.2875 | 59.54 | 7800 | 0.3350 | 0.3008 | | 0.2868 | 61.07 | 8000 | 0.3537 | 0.3227 | | 0.2875 | 62.6 | 8200 | 0.3389 | 0.2970 | | 0.2778 | 64.12 | 8400 | 0.3370 | 0.2960 | | 0.2706 | 65.65 | 8600 | 0.3250 | 0.2802 | | 0.2669 | 67.18 | 8800 | 0.3351 | 0.2903 | | 0.2615 | 68.7 | 9000 | 0.3382 | 0.2989 | | 0.2563 | 70.23 | 9200 | 0.3312 | 0.2975 | | 0.2546 | 71.76 | 9400 | 0.3212 | 0.3003 | | 0.2482 | 73.28 | 9600 | 0.3337 | 0.3091 | | 0.2504 | 74.81 | 9800 | 0.3308 | 0.3110 | | 0.2456 | 76.34 | 10000 | 0.3157 | 0.3118 | | 0.2363 | 77.86 | 10200 | 0.3251 | 0.3144 | | 0.2319 | 79.39 | 10400 | 0.3253 | 0.3038 | | 0.2266 | 80.92 | 10600 | 0.3374 | 0.3038 | | 0.2279 | 82.44 | 10800 | 0.3268 | 0.2964 | | 0.2231 | 83.97 | 11000 | 0.3278 | 0.2950 | | 0.2185 | 85.5 | 11200 | 0.3462 | 0.2981 | | 0.2245 | 87.02 | 11400 | 0.3311 | 0.2895 | | 0.223 | 88.55 | 11600 | 0.3325 | 0.2877 | | 0.2121 | 90.08 | 11800 | 0.3337 | 0.2828 | | 0.2126 | 91.6 | 12000 | 0.3325 | 0.2808 | | 0.2027 | 93.13 | 12200 | 0.3277 | 0.2820 | | 0.2058 | 94.66 | 12400 | 0.3308 | 0.2827 | | 0.1991 | 96.18 | 12600 | 0.3279 | 0.2820 | | 0.1991 | 97.71 | 12800 | 0.3300 | 0.2822 | | 0.1986 | 99.24 | 13000 | 0.3285 | 0.2835 | ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.2+cu102 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.030002254992723465, -0.0010092741576954722, -0.009873820468783379, 0.03546174243092537, 0.04489229619503021, 0.02513236366212368, 0.007346614729613066, -0.014021591283380985, -0.03451750800013542, 0.06685464829206467, 0.0139388432726264, -0.04685332253575325, 0.011341013014316559, 0.02150857076048851, -0.025149216875433922, -0.05605567619204521, -0.03068464621901512, -0.00749538280069828, -0.029968323186039925, -0.00705338642001152, 0.010737977921962738, 0.024325169622898102, -0.015077432617545128, 0.02326063998043537, -0.010968148708343506, 0.03358379006385803, -0.010540849529206753, 0.008015946485102177, 0.019365325570106506, -0.05267183482646942, -0.005263589322566986, -0.04587486758828163, -0.04384933039546013, -0.03076319769024849, -0.007249516434967518, 0.012845465913414955, 0.011580674909055233, 0.02427915669977665, 0.03267085179686546, 0.06307701021432877, -0.004808591213077307, 0.023755310103297234, 0.0008584128227084875, -0.010718836449086666, 0.03760595619678497, -0.013536352664232254, -0.03448054566979408, -0.023302314803004265, 0.024152612313628197, -0.020113389939069748, -0.05043410509824753, -0.04028904810547829, 0.0015206844545900822, 0.010821409523487091, -0.01885262317955494, -0.027367504313588142, -0.056398481130599976, -0.013025442138314247, 0.08584296703338623, -0.03849135711789131, -0.041034966707229614, 0.032143134623765945, -0.05385580286383629, 0.003531803609803319, 0.028254210948944092, -0.06898657977581024, 0.018717452883720398, -0.07047393172979355, 0.018738532438874245, -0.023503471165895462, 0.05488714203238487, -0.012501535937190056, 0.005367050878703594, -0.08817686885595322, -0.0025085769593715668, -0.008329233154654503, 0.05148974806070328, 0.05511140450835228, -0.025364326313138008, 0.06056042015552521, 0.01032625325024128, 0.006598800420761108, 0.04869396239519119, -0.008582313545048237, 0.02835405245423317, 0.02726959064602852, -0.03745218366384506, 0.00991793256253004, 0.02996821328997612, 0.03565019369125366, -0.03596785292029381, -0.03139074146747589, -0.02437967248260975, -0.05071406438946724, -0.011263887397944927, 0.04594661295413971, 0.04882829263806343, -0.0252248365432024, 0.044379010796546936, -0.002568792551755905, 0.018475564196705818, 0.038447096943855286, -0.02429298870265484, 0.05704940855503082, -0.04576026275753975, 0.00512353889644146, -0.02049371600151062, -0.022147970274090767, -0.03622673079371452, 0.0229366272687912, 0.03207070380449295, -0.04182363674044609, -0.028641264885663986, 0.03922528028488159, 0.01980436034500599, -0.025347013026475906, 0.05382360517978668, -0.03856270760297775, -0.03812485560774803, -0.046941570937633514, 0.04120459407567978, 0.034953050315380096, 0.005371519364416599, 0.02323722653090954, -0.0487087219953537, 0.01770186983048916, -0.032486315816640854, -0.04001951590180397, 0.026283826678991318, -0.01049607340246439, 0.012589862570166588, 0.056886959820985794, -0.008320908062160015, -0.05784175172448158, -0.004182879813015461, -0.006997180171310902, -0.05051915720105171, 0.016606338322162628, -0.008077327162027359, 0.08766987174749374, -0.06862321496009827, -0.07226909697055817, 0.01861652173101902, 0.0039342050440609455, -0.01343703642487526, 0.036591555923223495, 0.036217253655195236, -0.0006895385449752212, -0.02371039241552353, 0.011456748470664024, 0.05251524597406387, -0.07267101854085922, -0.01565292291343212, 0.056658785790205, -0.01031882967799902, 0.04436548799276352, -0.028244636952877045, -0.028384728357195854, 0.026152072474360466, -0.019061187282204628, -0.010138893499970436, 0.022109322249889374, -0.015259381383657455, -0.01403991598635912, -0.03865744173526764, -0.040732044726610184, 0.0077859084121882915, 0.05517648160457611, -0.00556992506608367, -0.013246720656752586, -0.03327418118715286, 0.02074379287660122, 0.030197227373719215, 0.04589786008000374, -0.044968292117118835, 0.037735145539045334, 0.05837637558579445, 0.04203036427497864, -0.03184882178902626, 0.06649199873209, 0.006839347537606955, -0.016317171975970268, -0.04717545211315155, 0.02931458130478859, -0.00845981016755104, -0.04155702143907547, -0.0026937949005514383, 0.025049319490790367, -0.007771539036184549, -0.059407033026218414, -0.04000168293714523, 0.049878813326358795, -0.01106619369238615, -0.016451124101877213, -0.005195013713091612, -0.019687676802277565, -0.02459920197725296, 0.03986378014087677, -0.01460109930485487, 0.010938668623566628, -0.03238349407911301, -0.0333961620926857, 0.0015256899641826749, 0.014952525496482849, 0.02252180129289627, 0.0701538696885109, -0.010442117229104042, 0.07301501929759979, -0.04046178236603737, 0.03132004663348198, -0.03378009423613548, -0.0501302070915699, 0.005157330073416233, 0.05764778330922127, 0.04758571833372116, 0.06408992409706116, -0.005750788375735283, -0.066049724817276, 0.02287786826491356, 0.07125969231128693, 0.05738237872719765, -0.002434289315715432, -0.043026939034461975, -0.014758487232029438, 0.033673327416181564, 0.0626583844423294, -0.06522370874881744, -0.033659614622592926, 0.007729108911007643, 0.031279902905225754, -0.014377489686012268, 0.012887751683592796, -0.017250150442123413, 0.050765957683324814, -0.061726123094558716, -0.06778734177350998, 0.07194311171770096, 0.02229687198996544, -0.01334858313202858, 0.03274752199649811, -0.010573691688477993, 0.004659966565668583, 0.036314431577920914, 0.0038367256056517363, 0.01155767124146223, -0.04706743359565735, 0.018864743411540985, 0.020342793315649033, 0.032289788126945496, -0.06491317600011826, 0.05272376909852028, -0.010376207530498505, 0.007538625039160252, 0.030791474506258965, -0.0410640574991703, 0.043120890855789185, 0.03130155801773071, 0.023931322619318962, -0.05970706045627594, 0.0066469027660787106, 0.00948465894907713, 0.04919843003153801, 0.04000597074627876, -0.007073982618749142, 0.07007690519094467, 0.005116865038871765, 0.03689831122756004, 0.07289747893810272, 0.028119239956140518, 0.0012999273603782058, 0.018153846263885498, 0.06051647663116455, 0.014619681984186172, -0.014440987259149551, 0.06068830192089081, -0.05426492914557457, 0.021822556853294373, -0.04985843226313591, 0.005743120331317186, -0.00047583956620655954, -0.0049728224985301495, 0.02160961553454399, 0.005252287723124027, -0.0265230480581522, -0.003326243255287409, -0.03777910768985748, -0.02747737430036068, 0.02491377294063568, -0.005196628626435995, -0.02572820708155632, -0.004987698048353195, -0.014676759019494057, -0.0026760557666420937, -0.0814555287361145, -0.029485076665878296, -0.018764326348900795, -0.05070049315690994, 0.0046022129245102406, -0.07749879360198975, -0.015831882134079933, -0.07096055895090103, -0.009901914745569229, 0.024766696617007256, 0.00824594683945179, -0.0005324003286659718, -0.027821628376841545, 0.017670273780822754, -0.05285712331533432, -0.019050972536206245, -0.05912312865257263, -0.028622258454561234, -0.028106261044740677, -0.06732288002967834, 0.03210846707224846, 0.028094198554754257, 0.03305470570921898, -0.0016658261884003878, -0.004581789020448923, -0.022222094237804413, -0.030143344774842262, 0.04568635672330856, 0.04199846088886261, -0.04194863885641098, -0.050856415182352066, 0.036925990134477615, -0.04358391463756561, 0.02496863156557083, -0.008889513090252876, -0.022683607414364815, 0.09289199858903885, 0.0518340989947319, 0.00766544695943594, 0.02848183736205101, -0.02609386295080185, -0.05715631693601608, -0.054273173213005066, -0.03664960339665413, -0.039876680821180344, -0.01599014364182949, -0.03624714910984039, -0.042962148785591125, -0.01583154872059822, -0.027079954743385315, -0.004582214634865522, -0.010366735979914665, -0.001680737012065947, 0.038572046905756, 0.017998946830630302, 0.021175442263484, 0.022547321394085884, -0.030383845791220665, -0.040684010833501816, 0.07462956011295319, 0.012978632934391499, 0.0018912022933363914, -0.07586487382650375, -0.015960805118083954, 0.021671781316399574, 0.018893729895353317, -0.0050149294547736645, 0.0014524630969390273, 0.07972140610218048, -0.010795998387038708, 0.002693022368475795, 0.029044711962342262, -0.03271510452032089, -0.031619489192962646, -0.00745798833668232, -0.0050687771290540695, -0.01614217460155487, -0.05681150034070015, -0.012789284810423851, 0.003083451185375452, 0.05736035853624344, -0.060657065361738205, -0.03554873540997505, -0.01975029893219471, 0.04284098744392395, 0.03003797121345997, -0.02256334386765957, -0.04048267379403114, -0.0040367222391068935, -0.045772429555654526, -0.019635509699583054, 0.02763156034052372, 0.01738366112112999, 0.03543192520737648, 0.04043503478169441, -0.0023019632790237665, -0.017484737560153008, 0.0357930026948452, 0.05102436617016792, 0.04521091282367706, 0.021850580349564552, -0.053294070065021515, 0.003509650705382228, -0.030851634219288826, 0.0256024319678545, -0.012692667543888092, -0.016062043607234955, -0.03709159791469574, -0.10518323630094528, -0.024648645892739296, 0.018177108839154243, -0.008477240800857544, 0.001415014616213739, 0.04087349399924278, -0.0013361767632886767, 0.0063250004313886166, 0.0006939050508663058, 0.012551245279610157, 0.03683440759778023, -0.05108717828989029, 0.03721080720424652, -0.01684805192053318, 0.03360605984926224, -0.06629502773284912, 0.021030858159065247, -0.03824608027935028, -0.034571725875139236, 0.012156418524682522, 0.059741221368312836, -0.0006721362587995827, 0.06314846128225327, 0.0786992534995079, 0.02508394792675972, -0.05160178616642952, 0.023695649579167366, 0.06387384980916977, -0.03277924656867981, -0.04975587874650955, 0.026811843737959862, -0.004146019462496042, -0.016672318801283836, -0.010396389290690422, -0.023556923493742943, 0.04222889244556427, 0.05715272203087807, -0.019900666549801826, 0.0053503792732954025, 0.011309042572975159, -0.019030004739761353, -0.018494348973035812, -0.05304115638136864, -0.03535643592476845, -0.0036663643550127745, -0.012103530578315258, 0.052039213478565216, 0.022419072687625885, 0.004189121071249247, 0.050031352788209915, 0.041027896106243134, -0.03614375740289688, -0.02096012979745865, 0.04158341512084007, 0.018235130235552788, -0.03436507284641266, -0.06057825684547424, -0.015007411129772663, 0.04537469148635864, 0.032140228897333145, -0.02217589132487774, -0.0740685909986496, -0.006603368557989597, 0.07273472845554352, -0.019994691014289856, 0.061504215002059937, -0.03262454271316528, 0.03583657369017601, 0.058762069791555405, -0.002837338950484991, 0.04913296177983284, -0.023791372776031494, 0.012222258374094963, -0.00073749985313043, 0.012313518673181534, -0.006585873197764158, -0.038943834602832794, -0.06611970067024231, 0.027927551418542862, 0.050782494246959686, 0.02061280608177185, 0.05044162645936012, -0.036518387496471405, -0.024469677358865738, -0.005389626603573561, 0.026469888165593147, -0.03557303920388222, 0.011870655231177807, 0.020826222375035286, 0.04022216796875, -0.024838529527187347, -0.014713729731738567, -0.02158965729176998, -0.00300933001562953, 0.03368883952498436, -0.007793543394654989, -0.054707638919353485, -0.019208982586860657, 0.04511302337050438, -0.00627905922010541, -0.02719332091510296, -0.07432714104652405, 0.033798426389694214, -0.016851937398314476, -0.007499391213059425, 0.048488061875104904, 0.023477666079998016, 0.04909704998135567, 0.06803765892982483, 0.013584102503955364, 0.0167273860424757, -0.047181401401758194, 0.05994875356554985, -0.036508556455373764, -0.03320147842168808, -0.014037500135600567, -0.03722456842660904, -0.011116161942481995, -0.033407993614673615, -0.03439909592270851, -0.04554782807826996, -0.022001812234520912, 0.04929199442267418, -0.024808872491121292, -0.004837125539779663, -0.001330406405031681, 0.025288058444857597, -0.029681874439120293, -0.03596387058496475, -0.006399656180292368, -0.03393549844622612, -0.055657923221588135, -0.05765209719538689, 0.04865558445453644, -0.017038244754076004, 0.033386409282684326, 0.03384352847933769, 0.01138264499604702, 0.025980578735470772, 0.007583702448755503, 0.003939792513847351, 0.030054928734898567, -0.0006509955856017768, -0.05128788948059082, -0.032883960753679276, 0.03293948993086815, 0.013076347298920155, 0.04610028490424156, -0.024448351934552193, 0.029003288596868515, 0.029329275712370872, -0.04544943943619728, -0.01018186379224062, 0.021960748359560966, 0.032533835619688034, -0.07513520866632462, -0.044568292796611786, -0.017111634835600853, -0.05963205173611641, 0.015786996111273766, -0.026839375495910645, -0.014095979742705822, 0.016688646748661995, 0.019277704879641533, 0.047770850360393524, -0.006464249920099974, -0.03287516161799431, 0.021473947912454605, -0.015039638616144657, 0.018327170982956886, -0.04415735974907875, 0.059971924871206284, -0.047245774418115616, 0.02579498291015625, -0.015005791559815407, 0.011269462294876575, -0.049028098583221436, 0.037910327315330505, -0.010972827672958374, 0.00029461391386575997, -0.00018798920791596174, 0.03749233856797218, -0.01911330781877041, 0.01712912879884243, -0.025002600625157356, 0.02898087352514267, -0.041515957564115524, 0.07984643429517746, -0.028818370774388313, 0.023792676627635956, -0.017024289816617966, 0.0022695616353303194, -0.0026833591982722282, 0.015060232020914555, -0.000808813376352191, -0.02939445525407791, 0.03264632448554039, 0.05731711536645889, 0.04954548180103302, 0.025007814168930054, -0.020043611526489258, -0.013718406669795513, 0.026905490085482597, -0.03351902589201927, -0.019894065335392952, 0.007321599870920181, 0.031801845878362656, -0.002773368265479803, 0.04700026288628578, 0.03726913407444954, -0.05311877280473709, -0.07744413614273071, 0.03773488476872444, 0.0119265615940094, 0.01549004390835762, 0.03467700630426407, 0.036869388073682785, 0.03523913025856018, 0.04370787739753723, -0.015200156718492508, 0.004358133301138878, -0.029558399692177773, -0.028095249086618423, 0.022766627371311188, -0.016020765528082848, 0.022039545699954033, 0.005864888895303011, -0.030141957104206085, -0.032077644020318985, 0.03168654069304466, -0.003282422199845314, 0.028096433728933334, -0.04277346655726433, -0.0545976497232914, 0.015438857488334179, -0.011278776451945305, -0.04522225633263588, 0.010796665214002132, -0.013163002207875252, -0.01621275395154953, 0.06143202632665634, -0.024316543713212013, 0.01080387644469738, 0.05566345527768135, 0.026213206350803375, -0.01161003764718771, 0.06829746067523956, -0.01051248423755169, -0.005029840394854546, 0.04940428212285042, -0.06568782776594162, -0.018512941896915436, -0.052307192236185074, 0.07434669882059097, -0.05495014786720276, 0.025876296684145927, 0.0492071658372879, 0.017341453582048416, 0.03955778107047081, -0.025522781535983086, -0.051168352365493774, 0.009839908219873905, -0.032818932086229324, 0.06398170441389084, 0.030369950458407402, -0.046762511134147644, 0.05171278119087219, 0.025637004524469376, -0.09647885710000992, 0.03794068470597267, 0.04219317063689232, 0.036120835691690445, 0.03468497097492218, 0.04325207322835922, -0.05039363354444504, -0.0035854820162057877, -0.04658762365579605, 0.0382826067507267, -0.06427127122879028, 0.00002123660124198068, 0.02484225481748581, -0.03850346431136131, -0.016638416796922684, 0.03403198719024658, -0.01000951323658228, -0.024408388882875443, 0.04268677532672882, -0.06095772609114647, -0.04083144664764404, 0.0027729440480470657, 0.017940452322363853, -0.041571568697690964, 0.009714256972074509, -0.03975683078169823, 0.01535583846271038, 0.013989271596074104, -0.0009234532481059432, -0.019515488296747208, -0.01872526854276657, 0.022775357589125633, -0.06916993111371994, -0.06016688048839569, 0.04275241121649742, -0.0006405960884876549, -0.035605259239673615, 0.03463633358478546, 0.02992074377834797, 0.012513062916696072, 0.020390929654240608, 0.004189676605165005, 0.01673075556755066, -0.05391886830329895, -0.02465129643678665, -0.005506357178092003, 0.01282158587127924, 0.018296368420124054, -0.002019238192588091, 0.048941720277071, 0.04588795825839043, -0.007583483122289181, -0.0061875092796981335, -0.0436575673520565, -0.03659621253609657, 0.034333109855651855, -0.023870743811130524, 0.007681213319301605, -0.0021141718607395887, -0.049200866371393204, -0.027788423001766205, -0.024375777691602707, -0.01633586175739765, 0.025745313614606857, -0.06494377553462982, -0.0003535495779942721, 0.03819810971617699, -0.03788936138153076, -0.061254844069480896, -0.09734588116407394, -0.030311262235045433, -0.05166128650307655, 0.019894862547516823, 0.031365036964416504, -0.037333063781261444, 0.012649662792682648, -0.05017852783203125, -0.039090972393751144, 0.035748377442359924, 0.026318838819861412, -0.03196839988231659, 0.03893250599503517, 0.035318583250045776, -0.06014218553900719, 0.02653568424284458, 0.03423507511615753, -0.036752570420503616, 0.024726705625653267, 0.017631806433200836, 0.019093677401542664, 0.029323505237698555, 0.029379988089203835, -0.041642628610134125, -0.013419616967439651, -0.07329057902097702, -0.043242279440164566, -0.03968827798962593, 0.006361145991832018, 0.03691016882658005 ]
albert-large-v1
[ "pytorch", "tf", "albert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1909.11942", "transformers", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "AlbertForMaskedLM" ], "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 } } }
687
2022-01-28T08:43:52Z
--- language: - tr license: apache-2.0 tags: - automatic-speech-recognition - common_voice - generated_from_trainer - hf-asr-leaderboard - robust-speech-event - tr datasets: - mozilla-foundation/common_voice_7_0 model-index: - name: Wav2Vec2 Base Turkish by Cahya results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 6.1 type: mozilla-foundation/common_voice_7_0 args: tr metrics: - name: Test WER type: wer value: 9.437 - name: Test CER type: cer value: 3.325 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 7 type: mozilla-foundation/common_voice_7_0 args: tr metrics: - name: Test WER type: wer value: 8.147 - name: Test CER type: cer value: 2.802 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Dev Data type: speech-recognition-community-v2/dev_data args: tr metrics: - name: Test WER type: wer value: 28.011 - name: Test CER type: cer value: 10.66 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Robust Speech Event - Test Data type: speech-recognition-community-v2/eval_data args: tr metrics: - name: Test WER type: wer value: 33.62 --- # This model is a fine-tuned version of [cahya/wav2vec2-base-turkish-artificial-cv](https://huggingface.co/cahya/wav2vec2-base-turkish-artificial-cv) on the COMMON_VOICE - TR dataset. It achieves the following results on the evaluation set: | | Dataset | WER | CER | |---|-------------------------------|---------|----------| | 1 | Common Voice 6.1 | 9.437 | 3.325 | | 2 | Common Voice 7.0 | 8.147 | 2.802 | | 3 | Common Voice 8.0 | 8.335 | 2.336 | | 4 | Speech Recognition Community | 28.011 | 10.66 | ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data The following datasets were used for finetuning: - [Common Voice 7.0 TR](https://huggingface.co/datasets/mozilla-foundation/common_voice_7_0) 'train', 'validation' and 'other' split were used for training. - [Media Speech](https://www.openslr.org/108/) - [Magic Hub](https://magichub.com/) ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 7.5e-06 - train_batch_size: 6 - eval_batch_size: 2 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 24 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 2000 - num_epochs: 5.0 ### Training results | Training Loss | Epoch | Step | Validation Loss | Wer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 1.1224 | 3.45 | 500 | 0.1641 | 0.1396 | ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.1+cu102 - Datasets 1.18.2 - Tokenizers 0.10.3
[ -0.02205009013414383, -0.018789688125252724, -0.023184284567832947, 0.04072440788149834, 0.04906010627746582, 0.014601854607462883, -0.002739331917837262, -0.02355344220995903, -0.04519142955541611, 0.058514729142189026, 0.014378082007169724, -0.047854844480752945, 0.007302673999220133, 0.01855391263961792, -0.031331777572631836, -0.0349535308778286, -0.028931569308042526, 0.006199399475008249, -0.06483695656061172, -0.021055525168776512, -0.002933371579274535, 0.030927659943699837, -0.011817874386906624, 0.0403888113796711, 0.0044026863761246204, 0.013513253070414066, -0.010928484611213207, 0.015546517446637154, 0.005324097350239754, -0.07061123847961426, -0.0058345976285636425, -0.05244770273566246, -0.039011914283037186, -0.03800638020038605, -0.023617349565029144, 0.00726307975128293, -0.0033130650408566, 0.024553345516324043, 0.03539014980196953, 0.05605562776327133, -0.024644581601023674, 0.02388913556933403, 0.01260583195835352, -0.020434673875570297, 0.037522196769714355, 0.0008884756243787706, -0.043309226632118225, -0.01125663984566927, 0.019777823239564896, -0.04933251067996025, -0.03419908881187439, -0.04778549447655678, -0.03570979833602905, 0.028558744117617607, -0.016179144382476807, -0.04481997340917587, -0.06509388983249664, -0.026403672993183136, 0.07224797457456589, -0.05820451304316521, -0.010708515532314777, 0.011020568199455738, -0.0848083570599556, 0.006293682847172022, 0.022824376821517944, -0.059710852801799774, 0.01012108102440834, -0.04243787005543709, 0.03159065917134285, -0.018217679113149643, 0.04029173403978348, -0.022859113290905952, 0.013314883224666119, -0.07855577766895294, 0.0032405955716967583, -0.015353662893176079, 0.024548258632421494, 0.06667335331439972, -0.032090745866298676, 0.061381589621305466, 0.019476046785712242, -0.004562366288155317, 0.03475801646709442, -0.012598910368978977, 0.015091086737811565, 0.03877764195203781, -0.021148106083273888, 0.011997676454484463, 0.0051375487819314, 0.05097338557243347, -0.028478452935814857, -0.0373515710234642, -0.014330200850963593, -0.04144774004817009, -0.01382325030863285, 0.04996618628501892, 0.035085439682006836, -0.010819791816174984, 0.03438420593738556, 0.024549728259444237, 0.009347337298095226, 0.03050162084400654, -0.03733445331454277, 0.05108553171157837, -0.03085355833172798, -0.012737974524497986, -0.013581447303295135, -0.04440224543213844, -0.026780882850289345, 0.02013370208442211, 0.03893272206187248, -0.037335313856601715, -0.04029087349772453, 0.036153413355350494, 0.0014387040864676237, -0.038438830524683, 0.037658579647541046, -0.04813658073544502, -0.03444498032331467, -0.044124454259872437, 0.04050210118293762, 0.03185078874230385, -0.0035868226550519466, 0.0073399050161242485, -0.03057176060974598, 0.027985990047454834, -0.05169141665101051, -0.028328537940979004, 0.01998765952885151, 0.02742576226592064, -0.01705203950405121, 0.05227028578519821, 0.012132345698773861, -0.07230774313211441, 0.0018346543656662107, -0.005538873374462128, -0.0698462575674057, 0.01879272796213627, 0.014415732584893703, 0.07232404500246048, -0.053516145795583725, -0.04699353873729706, -0.0003278395452070981, 0.012553831562399864, -0.018196536228060722, 0.02278227172791958, 0.03164344280958176, -0.006864221300929785, -0.03917134180665016, -0.004020002670586109, 0.05227281525731087, -0.07300921529531479, 0.0023760227486491203, 0.05603417381644249, -0.02686806581914425, 0.028721272945404053, -0.026174204424023628, -0.009942494332790375, 0.00862201489508152, -0.011325512081384659, -0.012587299570441246, 0.02995804324746132, 0.0049028717912733555, -0.030483167618513107, -0.06159551069140434, -0.041879452764987946, -0.008013441227376461, 0.07945703715085983, 0.0050013065338134766, -0.0021085215266793966, -0.03646431118249893, 0.015759000554680824, 0.027453070506453514, 0.013365245424211025, -0.029273366555571556, 0.044812045991420746, 0.06765460968017578, 0.05971866846084595, -0.0215042345225811, 0.0813852921128273, 0.023638200014829636, -0.02050156146287918, -0.01989595964550972, 0.012881682254374027, 0.0198986679315567, -0.028791166841983795, 0.011415772140026093, 0.0646827220916748, -0.00009642779332352802, -0.04569702595472336, -0.01065458171069622, 0.07036294043064117, -0.010480917058885098, -0.010240118019282818, 0.0018820681143552065, -0.024561259895563126, -0.05060826614499092, 0.04335295036435127, -0.022742386907339096, 0.0006417413242161274, -0.01838436909019947, -0.008067570626735687, 0.0002881728287320584, 0.027961213141679764, 0.02088386006653309, 0.04082316532731056, -0.006437104661017656, 0.08981126546859741, -0.031129542738199234, 0.0009197831386700273, -0.029944559559226036, -0.05425431951880455, -0.010778035968542099, 0.054485585540533066, 0.04729310795664787, 0.08126990497112274, -0.007042513694614172, -0.02926846593618393, 0.029519954696297646, 0.07263147085905075, 0.06429373472929001, 0.03232436999678612, -0.02234327606856823, -0.012342916801571846, 0.03653712198138237, 0.06652048230171204, -0.055825985968112946, -0.03579485043883324, 0.016813192516565323, 0.02794865146279335, -0.01978740282356739, 0.0013771441299468279, -0.019437169656157494, 0.06249630078673363, -0.03108585625886917, -0.08259572088718414, 0.0761827677488327, 0.02123541384935379, 0.0031655533239245415, 0.00949075911194086, -0.0067812795750796795, 0.02216924913227558, 0.01431561354547739, 0.023202255368232727, 0.004566374234855175, -0.03798620030283928, 0.014112860895693302, 0.012937113642692566, 0.06722401827573776, -0.04944336786866188, 0.0192700382322073, -0.022977188229560852, 0.016224153339862823, 0.02381485514342785, -0.049073975533246994, 0.03251068294048309, 0.00618633721023798, 0.019009962677955627, -0.03930681198835373, 0.019116036593914032, 0.003535141469910741, 0.036153409630060196, 0.04297329857945442, 0.005905319005250931, 0.05241306126117706, -0.00041906896512955427, 0.044904474169015884, 0.08550447225570679, 0.025911908596754074, 0.012351902201771736, -0.0022826455533504486, 0.06048258766531944, 0.004322005435824394, 0.0010017331223934889, 0.07575337588787079, -0.045634109526872635, 0.028157517313957214, -0.055042658001184464, 0.022059084847569466, 0.0019070826238021255, 0.00195319508202374, 0.031599290668964386, -0.005426308605819941, -0.013733899220824242, 0.014761907048523426, -0.034934040158987045, -0.01666557602584362, 0.04434453323483467, -0.012330733239650726, -0.020480992272496223, 0.0027602778282016516, -0.021139521151781082, 0.0011336721945554018, -0.07324742525815964, -0.02377025969326496, -0.026390813291072845, -0.04121238738298416, 0.028913719579577446, -0.057146333158016205, -0.02302531898021698, -0.04381643235683441, -0.016502827405929565, 0.022930298000574112, 0.021311070770025253, 0.004250378347933292, -0.02903897874057293, -0.006387913599610329, -0.05429372191429138, -0.0685383602976799, -0.03210664540529251, -0.04945865273475647, -0.01927325129508972, -0.057209912687540054, 0.022706514224410057, 0.0266107190400362, 0.03925810381770134, 0.006566473748534918, 0.0049487147480249405, -0.03392690792679787, -0.019542181864380836, 0.029079973697662354, 0.03567388281226158, -0.031582463532686234, -0.05564039945602417, 0.023512858897447586, -0.018113063648343086, 0.0016850644024088979, 0.02118895947933197, -0.04045993089675903, 0.07199110090732574, 0.0789051204919815, 0.028154397383332253, 0.035839661955833435, -0.007251083850860596, -0.05863208696246147, -0.04248438775539398, -0.011620040982961655, -0.04719468206167221, -0.013032404705882072, -0.03365384042263031, -0.04456089064478874, -0.02513129636645317, -0.022053036838769913, -0.01566261239349842, -0.017707178369164467, -0.0053204200230538845, 0.04042014479637146, 0.042617883533239365, 0.031177256256341934, 0.032158661633729935, -0.023068711161613464, -0.03110046498477459, 0.06752101331949234, 0.013870508410036564, 0.012785651721060276, -0.06149616092443466, -0.02727426216006279, 0.02698071114718914, 0.012997807003557682, -0.01698162779211998, -0.011240893043577671, 0.08004026114940643, -0.01587524078786373, -0.021999040618538857, 0.007578573189675808, -0.034119538962841034, -0.04632754623889923, -0.027549942955374718, -0.005578937940299511, -0.006041655316948891, -0.057906508445739746, 0.013166258111596107, 0.010111118666827679, 0.06929170340299606, -0.06426359713077545, -0.05129401385784149, -0.036780282855033875, 0.03620239719748497, 0.01698222942650318, 0.0006172412540763617, -0.036538220942020416, 0.007755537983030081, -0.07150423526763916, -0.038578588515520096, 0.025963805615901947, 0.002725336467847228, 0.01922454871237278, 0.07346687465906143, 0.0021614248398691416, -0.04011421278119087, 0.058458361774683, 0.04438807815313339, 0.06188612058758736, 0.019627664238214493, -0.02886168658733368, 0.0023757414892315865, -0.03300079330801964, 0.01122082769870758, 0.008465813472867012, -0.042198073118925095, -0.06002797186374664, -0.07873893529176712, -0.04746868461370468, 0.01349999476224184, -0.02657613530755043, -0.02939804270863533, 0.044257842004299164, 0.0032496589701622725, 0.022117337211966515, 0.0032387678511440754, 0.03739026188850403, 0.03521985560655594, -0.04520483314990997, 0.04369557648897171, -0.0178267490118742, 0.0550084225833416, -0.09777563810348511, 0.017494993284344673, -0.01166935358196497, -0.021904025226831436, -0.004841579124331474, 0.061979807913303375, 0.016819411888718605, 0.024262171238660812, 0.08021312206983566, 0.030083201825618744, -0.03130106255412102, 0.04492909088730812, 0.04347211495041847, -0.015810156241059303, -0.06252032518386841, 0.005175602622330189, 0.008418508805334568, -0.05220862105488777, -0.0072072041220963, -0.03130196034908295, 0.027320915833115578, 0.04498736560344696, -0.013739526271820068, -0.003873318899422884, 0.028147831559181213, -0.03837217390537262, -0.02226903662085533, -0.054109811782836914, -0.03828689083456993, 0.023460904136300087, -0.026254018768668175, 0.024700243026018143, 0.04427221044898033, -0.00043052822002209723, 0.0608970932662487, 0.04090344160795212, -0.031717173755168915, -0.04187654331326485, 0.03832618147134781, 0.02933449111878872, -0.026235375553369522, -0.05548704415559769, -0.020782699808478355, 0.05435863882303238, 0.025972580537199974, 0.005507958121597767, -0.08027627319097519, 0.018848342821002007, 0.03287523612380028, -0.03633829578757286, 0.05505378171801567, -0.022983508184552193, 0.03747967630624771, 0.046048641204833984, -0.021207883954048157, 0.036137331277132034, -0.03659830987453461, 0.005242316052317619, -0.001384162693284452, 0.005715701263397932, -0.011832907795906067, -0.00827440619468689, -0.05680457875132561, 0.009141632355749607, 0.046605147421360016, 0.0274977944791317, 0.03391626849770546, -0.029051555320620537, -0.022987626492977142, 0.014868546277284622, 0.021350419148802757, -0.06724073737859726, 0.02992274984717369, 0.024661146104335785, 0.030216172337532043, -0.025935685262084007, -0.025894980877637863, -0.008703324943780899, 0.009075201116502285, 0.024975089356303215, 0.012215163558721542, -0.027152538299560547, -0.03786503151059151, 0.027891742065548897, -0.0171059500426054, -0.03478727117180824, -0.08812516927719116, 0.02541302889585495, -0.022826040163636208, 0.005057191476225853, 0.04394940659403801, 0.020450087264180183, 0.039121951907873154, 0.03223240748047829, 0.009786637499928474, 0.0019547089468687773, -0.033692046999931335, 0.0442085899412632, -0.03283488005399704, -0.02314211055636406, -0.017456360161304474, -0.04146704450249672, -0.007192045915871859, -0.04337906092405319, -0.03937394544482231, -0.030423669144511223, 0.00262894993647933, 0.06013420596718788, -0.03647788241505623, -0.0018307302379980683, -0.028260013088583946, 0.0394168496131897, -0.032353680580854416, -0.03187698498368263, -0.02418757975101471, -0.031195376068353653, -0.06534173339605331, -0.04966544359922409, 0.01992206834256649, -0.020884420722723007, 0.031920019537210464, -0.004537386819720268, 0.03722773492336273, 0.022282039746642113, -0.015031692571938038, -0.015160204842686653, 0.024656418710947037, -0.0071204123087227345, -0.04831593856215477, -0.04336767643690109, 0.040196195244789124, 0.00404356000944972, 0.07171773165464401, -0.01987907476723194, 0.027282921597361565, 0.029517699033021927, -0.04488812014460564, -0.0005796438199467957, -0.0028095543384552, 0.03624335303902626, -0.050773631781339645, -0.04889966920018196, 0.009913328103721142, -0.04819044470787048, 0.02005165070295334, -0.025394003838300705, -0.018121255561709404, 0.03315677121281624, 0.012635520659387112, 0.04225455969572067, -0.002588655101135373, -0.017716318368911743, 0.015390967950224876, 0.006121794693171978, 0.006446195766329765, -0.05348071828484535, 0.05219143629074097, -0.026805030182003975, 0.008070406503975391, -0.0011367298429831862, -0.007216169498860836, -0.04936790093779564, 0.02318841964006424, -0.011057952418923378, -0.006437006406486034, 0.010474731214344501, 0.042981695383787155, -0.025934483855962753, 0.02569788321852684, -0.02997848577797413, 0.005505389999598265, -0.042003996670246124, 0.051514558494091034, -0.043080683797597885, -0.009334536269307137, -0.03746238723397255, -0.006163374055176973, -0.03284487873315811, 0.008241692557930946, -0.007741434033960104, -0.04840661585330963, 0.04230417311191559, 0.04101961478590965, 0.021405037492513657, 0.0515514574944973, -0.02923792228102684, -0.0010129399597644806, -0.0027258156333118677, -0.02223573438823223, -0.011049587279558182, -0.01385363470762968, 0.01683298870921135, -0.006710954941809177, 0.05271628871560097, 0.04634593427181244, -0.07195436954498291, -0.06249607726931572, 0.03297517076134682, -0.0003814426308963448, 0.007965097203850746, 0.035613544285297394, 0.024549027904868126, 0.026749467477202415, 0.053511910140514374, -0.023729173466563225, 0.008520570583641529, -0.029662974178791046, -0.019337723031640053, 0.017192572355270386, -0.029163092374801636, 0.012384681962430477, -0.0027152560651302338, -0.03608184680342674, -0.026625966653227806, 0.055929068475961685, 0.019148312509059906, 0.02295386791229248, -0.01959131844341755, -0.03749734163284302, 0.013223480433225632, -0.006726840976625681, -0.06156875565648079, -0.00019106181571260095, -0.004758238326758146, -0.02136632800102234, 0.092254638671875, -0.025134386494755745, 0.019750380888581276, 0.04297452047467232, 0.009036022238433361, -0.023165510967373848, 0.056558575481176376, -0.02555529959499836, -0.00285984855145216, 0.04713666811585426, -0.06447995454072952, 0.010528766550123692, -0.03331438824534416, 0.061981189996004105, -0.08826535940170288, 0.02975892834365368, 0.06233172118663788, 0.010027741082012653, 0.03741065412759781, -0.03983044996857643, -0.028421390801668167, 0.04857150465250015, -0.03449394926428795, 0.07636824250221252, 0.005957925226539373, -0.0375397615134716, 0.060195762664079666, 0.02038237638771534, -0.1021808311343193, 0.04139021784067154, 0.03696402534842491, 0.019710170105099678, 0.022989550605416298, 0.053483374416828156, -0.04576186463236809, 0.013410908170044422, -0.02555702067911625, 0.03479523956775665, -0.05759098008275032, 0.0055490718223154545, 0.022348646074533463, -0.048045892268419266, -0.01084111351519823, 0.00199721148237586, -0.01835525780916214, -0.03135198727250099, 0.02010483853518963, -0.05777714028954506, -0.036329176276922226, 0.008055332116782665, 0.045628052204847336, -0.03803730756044388, 0.013474659062922001, -0.039499953389167786, 0.022266538813710213, 0.034835927188396454, 0.007320673204958439, -0.023281006142497063, -0.01734820194542408, 0.021369794383645058, -0.06494159996509552, -0.04891841858625412, 0.04319562017917633, 0.017105933278799057, -0.009256962686777115, 0.03462189435958862, 0.01722542755305767, 0.020376531407237053, 0.02166900970041752, 0.011375484056770802, 0.020172685384750366, -0.05772674083709717, -0.024270670488476753, 0.0010995612246915698, 0.01552664302289486, 0.020187504589557648, -0.0050042252987623215, 0.04157906398177147, 0.06869375705718994, 0.009721653535962105, 0.008740079589188099, -0.0374874509871006, -0.024341264739632607, 0.03693395480513573, -0.062312327325344086, 0.03856051713228226, 0.010941779240965843, -0.049048829823732376, -0.04274946078658104, -0.01991601288318634, 0.015331081114709377, 0.03365471214056015, -0.05435384437441826, 0.003950027283281088, 0.02023082599043846, -0.01952964812517166, -0.028995906934142113, -0.07539995014667511, -0.03017839975655079, -0.06167049705982208, 0.025252100080251694, 0.022689636796712875, -0.04328067973256111, 0.01245944108814001, -0.045657478272914886, -0.05888686329126358, 0.01998133957386017, 0.012782096862792969, -0.038873154670000076, 0.04145306348800659, 0.04402792826294899, -0.06392168253660202, 0.0192789975553751, 0.0477706678211689, -0.03261544555425644, 0.021471701562404633, 0.007778648752719164, 0.02315456233918667, 0.03007250279188156, 0.050294872373342514, -0.0359036885201931, -0.015908578410744667, -0.06140940263867378, -0.048055652529001236, -0.023632004857063293, -0.01463228277862072, 0.05534636601805687 ]
albert-xlarge-v1
[ "pytorch", "tf", "albert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1909.11942", "transformers", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "AlbertForMaskedLM" ], "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 } } }
341
2021-04-04T16:35:23Z
--- language: eu datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Basque by Cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice eu type: common_voice args: eu metrics: - name: Test WER type: wer value: 12.44 --- # Wav2Vec2-Large-XLSR-Basque This is the model for Wav2Vec2-Large-XLSR-Basque, a fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) model on the [Basque Common Voice dataset](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", "eu", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-basque") model = Wav2Vec2ForCTC.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-basque") # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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 as follows on the Basque 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", "eu", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-basque") model = Wav2Vec2ForCTC.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-basque") model.to("cuda") chars_to_ignore_regex = '[\,\¿\?\.\¡\!\-\;\:\"\“\%\‘\”\\…\’\ː\'\‹\›\`\´\®\—\→]' # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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**: 12.44 % ## Training The Common Voice `train`, `validation`, and ... datasets were used for training as well as ... and ... # TODO The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition)
[ -0.032536257058382034, -0.024029167369008064, 0.0021611249540001154, 0.0422186553478241, 0.046060215681791306, 0.026047654449939728, -0.0184983778744936, -0.003648454323410988, -0.037108808755874634, 0.06158403307199478, 0.01367376372218132, -0.02547205425798893, -0.019560527056455612, 0.03039545938372612, -0.026157008484005928, -0.03909248113632202, -0.017901752144098282, -0.010313279926776886, -0.07222994416952133, -0.006884241476655006, -0.009214320220053196, 0.014636521227657795, -0.013232351280748844, 0.03181273117661476, -0.007099066860973835, 0.008115191012620926, -0.010882300324738026, 0.015759071335196495, 0.009119768626987934, -0.05785757303237915, -0.009704790078103542, -0.03181135281920433, -0.026350943371653557, -0.055321622639894485, -0.014519430696964264, -0.009580912999808788, -0.0020819357596337795, 0.01836782693862915, 0.024711010977625847, 0.03394873067736626, -0.024967534467577934, 0.013796895742416382, -0.0162076186388731, 0.0033620113972574472, 0.016476694494485855, 0.009819607250392437, -0.0409703254699707, -0.011593379080295563, 0.023498503491282463, -0.025575153529644012, -0.03879827260971069, -0.0744950920343399, 0.0017125618178397417, 0.024679111316800117, -0.026066195219755173, -0.029411539435386658, -0.063967265188694, -0.015958895906805992, 0.07724200189113617, -0.050581350922584534, -0.02208028733730316, 0.022922025993466377, -0.07161857187747955, 0.004963256418704987, 0.029359271749854088, -0.03777969256043434, -0.010873168706893921, -0.03277571499347687, 0.0326782688498497, -0.02386745810508728, 0.060576554387807846, -0.034024663269519806, 0.005062200594693422, -0.07916833460330963, 0.017898406833410263, -0.02055991441011429, 0.03234834596514702, 0.039789050817489624, -0.031070619821548462, 0.050567518919706345, 0.026452921330928802, 0.0012230328284204006, 0.015870584174990654, -0.02877645194530487, -0.000284345616819337, 0.05497075989842415, -0.041925061494112015, 0.01422501727938652, 0.028877921402454376, 0.039038777351379395, -0.03689049556851387, -0.03775598481297493, -0.01907375641167164, -0.050974998623132706, 0.0225540604442358, 0.03716335818171501, 0.03636588528752327, -0.024224432185292244, 0.037365950644016266, 0.028477702289819717, -0.003431973047554493, 0.018144996836781502, -0.01448506023734808, 0.06777278333902359, -0.026269802823662758, -0.0019297251710668206, -0.005341535434126854, -0.039049457758665085, -0.025085503235459328, 0.010309440083801746, 0.048913586884737015, -0.03915989026427269, -0.04363781213760376, 0.04940975084900856, 0.010852198116481304, -0.013891702517867088, 0.03159789741039276, -0.04427840933203697, -0.039706964045763016, -0.06223059445619583, 0.026352109387516975, 0.012869182974100113, 0.004292799159884453, 0.0010171934263780713, -0.0439598448574543, 0.020974377170205116, -0.0330575592815876, -0.030099613592028618, -0.003286962863057852, 0.013262334279716015, -0.017223559319972992, 0.031150775030255318, 0.020703662186861038, -0.04719638079404831, 0.007636957801878452, 0.000053240873967297375, -0.06866763532161713, 0.02420513704419136, 0.0137416310608387, 0.09014097601175308, -0.04419318214058876, -0.03384764492511749, 0.016170894727110863, -0.01225108839571476, 0.0037445572670549154, 0.01979355327785015, 0.005732997786253691, -0.016720062121748924, -0.03372352942824364, -0.006244294811040163, 0.04848557710647583, -0.06310277432203293, -0.011114041320979595, 0.03569860756397247, -0.029690127819776535, 0.038296233862638474, -0.031304024159908295, -0.0011838912032544613, 0.02459794282913208, -0.0138167105615139, -0.0056547196581959724, 0.03882918134331703, -0.00007061091309878975, -0.04610182344913483, -0.025586450472474098, -0.04869988188147545, -0.020863126963377, 0.07909639179706573, 0.0028797402046620846, 0.004992429632693529, -0.01005402859300375, 0.02567608840763569, 0.032472915947437286, 0.02449190244078636, -0.035253770649433136, 0.029957003891468048, 0.06026213988661766, 0.03358824923634529, -0.0158834308385849, 0.08888798207044601, 0.033923592418432236, -0.03160848841071129, -0.031847938895225525, -0.009417897090315819, 0.009157891385257244, -0.02398841083049774, 0.0027663488872349262, 0.04755672812461853, -0.009380635805428028, -0.014719325117766857, -0.0166841521859169, 0.0496143214404583, -0.017391828820109367, -0.0016148864524438977, -0.016391925513744354, -0.014629626646637917, -0.02681509219110012, 0.04734420403838158, -0.028072526678442955, 0.006743984762579203, -0.018007487058639526, -0.02848914824426174, -0.02067876234650612, 0.02900010347366333, 0.019867099821567535, 0.054280947893857956, 0.007660235278308392, 0.09540402144193649, -0.03842390701174736, 0.004991218447685242, -0.05701202526688576, -0.046304792165756226, -0.008607184514403343, 0.05678070709109306, 0.030836623162031174, 0.06252707540988922, -0.011582760140299797, -0.046262502670288086, 0.01985372044146061, 0.06863037496805191, 0.06382505595684052, 0.02278744801878929, -0.029615921899676323, -0.004523403476923704, 0.03845062479376793, 0.05325479432940483, -0.06791690737009048, -0.02180369570851326, 0.009658041410148144, 0.023226577788591385, -0.0212105680257082, 0.008910749107599258, -0.014370273798704147, 0.048090290278196335, -0.050634656101465225, -0.10048320144414902, 0.06231068819761276, 0.020542718470096588, 0.025171425193548203, 0.018063854426145554, -0.022223835811018944, 0.007708436343818903, 0.025249307975172997, 0.01086121890693903, -0.01124644372612238, -0.042666494846343994, 0.0018136765575036407, 0.002234590705484152, 0.04216430336236954, -0.07992012053728104, 0.03597097843885422, -0.032653216272592545, 0.008621526882052422, 0.03853185474872589, -0.03849950432777405, 0.03147915378212929, 0.023477261886000633, 0.004473359789699316, -0.030330264940857887, 0.0074615259654819965, 0.0038150919135659933, 0.026681702584028244, 0.06364388763904572, 0.006700968369841576, 0.05772825703024864, 0.0011075509246438742, 0.04403955116868019, 0.0865480974316597, 0.03920833766460419, -0.012589682824909687, 0.019108593463897705, 0.06762140989303589, -0.011618727818131447, -0.02552962303161621, 0.07001249492168427, -0.04159523546695709, 0.03182906657457352, -0.025301123037934303, -0.008297250606119633, 0.007141288369894028, -0.00040475139394402504, 0.017471613362431526, 0.015604892745614052, -0.01625722087919712, -0.002645633416250348, -0.015685532242059708, -0.02250126749277115, 0.0414237380027771, -0.010537631809711456, -0.016659805551171303, -0.0006544173811562359, -0.008832425810396671, 0.005654789041727781, -0.0650944784283638, -0.039360590279102325, -0.017417125403881073, -0.04982893168926239, 0.014487345702946186, -0.053759511560201645, -0.04019591212272644, -0.05786435306072235, -0.00981027353554964, 0.02103326842188835, 0.012887159362435341, 0.006894784979522228, -0.03194659948348999, 0.021281227469444275, -0.052640076726675034, -0.034714944660663605, -0.05078576132655144, -0.044618889689445496, -0.016549721360206604, -0.06123371422290802, 0.040114376693964005, 0.033050406724214554, 0.0412214994430542, 0.005455558188259602, 0.009309479966759682, -0.02054530568420887, -0.022089296951889992, 0.046906765550374985, 0.03418983146548271, -0.03891616314649582, -0.06860244274139404, 0.03041011467576027, -0.02947758510708809, 0.015395157970488071, 0.00795766245573759, -0.03875796124339104, 0.06348367780447006, 0.06875164061784744, 0.03383590281009674, 0.017483828589320183, -0.02256936952471733, -0.037735991179943085, -0.05143170803785324, -0.023755323141813278, -0.04691954702138901, -0.01024580281227827, -0.01487115491181612, -0.02925950288772583, -0.023339053615927696, 0.005625247489660978, -0.004663214553147554, -0.006519322283565998, 0.01090401690453291, 0.058273281902074814, 0.050235237926244736, 0.021359208971261978, 0.03172757476568222, -0.04265772923827171, -0.04627729207277298, 0.07015826553106308, 0.023959903046488762, 0.007986024022102356, -0.06351657956838608, -0.03469573333859444, 0.020338060334324837, 0.017337046563625336, -0.014078749343752861, -0.0021151236724108458, 0.10142701864242554, -0.005502341315150261, -0.012385820969939232, 0.02802332118153572, -0.015625469386577606, -0.035425782203674316, 0.00009464730828767642, -0.016714803874492645, -0.0027501247823238373, -0.07905200868844986, -0.0015437154797837138, 0.030262276530265808, 0.046517837792634964, -0.06542512774467468, -0.0522061251103878, -0.023875730112195015, 0.04468517750501633, 0.03415214642882347, -0.02124013379216194, -0.04688958823680878, 0.0076352874748408794, -0.04849513992667198, -0.03672892227768898, 0.01015435066074133, 0.014960087835788727, 0.017850741744041443, 0.05359476059675217, 0.014653555117547512, -0.04386822134256363, 0.047124702483415604, 0.04444018006324768, 0.08187146484851837, 0.01868179254233837, -0.05925076827406883, 0.0014313035644590855, -0.028192078694701195, 0.02161354199051857, -0.004552286583930254, -0.019890179857611656, -0.03518066182732582, -0.08204236626625061, -0.02575768157839775, 0.031238285824656487, -0.020271051675081253, -0.02844775840640068, 0.04101945087313652, -0.0021726812701672316, 0.008639601059257984, -0.016782332211732864, 0.013526427559554577, 0.03866773843765259, -0.059698086231946945, 0.047833431512117386, 0.015829388052225113, 0.03736552596092224, -0.072524294257164, 0.02899879775941372, -0.010363349691033363, -0.020965684205293655, -0.010544710792601109, 0.0666634738445282, 0.028904292732477188, 0.045939650386571884, 0.07405777275562286, 0.017621269449591637, -0.04051222652196884, 0.06262131035327911, 0.024700656533241272, -0.05668613687157631, -0.0608321912586689, -0.0019979672506451607, -0.015117838978767395, -0.05312054604291916, 0.01129518635571003, -0.036107562482357025, 0.05384116619825363, 0.01855766400694847, -0.006078433711081743, -0.029401380568742752, -0.00944941770285368, -0.02238699235022068, -0.02843634784221649, -0.029669325798749924, -0.03670242056250572, 0.014696531929075718, -0.02891622483730316, 0.034005314111709595, 0.03421246260404587, -0.00800689309835434, 0.07210948318243027, 0.04029588773846626, -0.02176264487206936, -0.040553729981184006, 0.013365681283175945, 0.03136609494686127, -0.03838770091533661, -0.06106003746390343, -0.03597429767251015, 0.048939283937215805, 0.022581564262509346, 0.01984950341284275, -0.07180298864841461, -0.0008428329019807279, 0.05636424571275711, -0.029516370967030525, 0.061021704226732254, -0.023833610117435455, 0.057433560490608215, 0.06353197991847992, -0.02059500850737095, 0.011700981296598911, -0.0324120856821537, 0.017514094710350037, 0.00486375205218792, 0.02079201675951481, -0.00016117696941364557, -0.027879130095243454, -0.07899933308362961, 0.02481190487742424, 0.03650058060884476, 0.03598278760910034, 0.04048975184559822, -0.013192719779908657, -0.06807155162096024, -0.007050784770399332, 0.03133988752961159, -0.03975095599889755, 0.026454167440533638, 0.023251771926879883, 0.03194618597626686, -0.027556898072361946, -0.005718968342989683, -0.002833788748830557, 0.01112386304885149, 0.024011334404349327, 0.0231532733887434, -0.054920777678489685, -0.034520238637924194, 0.001955375075340271, -0.025934839621186256, -0.036507099866867065, -0.07033757120370865, 0.017726819962263107, -0.01902475208044052, 0.004030690528452396, 0.053280677646398544, 0.04025229066610336, 0.05680482089519501, 0.03304966166615486, 0.0020220372825860977, 0.0006180730415508151, -0.033478330820798874, 0.0328427255153656, -0.03036610409617424, -0.026511263102293015, -0.0216122567653656, -0.03106403537094593, -0.017791787162423134, -0.03780986741185188, -0.05541075021028519, -0.0516548678278923, 0.003013840178027749, 0.05129058286547661, -0.010949503630399704, -0.008372399024665356, -0.025843322277069092, 0.028834549710154533, -0.03479960188269615, -0.03182726725935936, -0.03342926502227783, -0.015993459150195122, -0.06280166655778885, -0.050577789545059204, 0.03062300570309162, -0.02304687350988388, 0.039649900048971176, 0.02140919305384159, 0.015251039527356625, 0.01638823188841343, -0.01043790951371193, -0.0013305501779541373, 0.03403685241937637, -0.015255064703524113, -0.057541754096746445, -0.03450917452573776, 0.01929936371743679, 0.018576588481664658, 0.07517862319946289, -0.02130313217639923, 0.026528136804699898, 0.029491612687706947, -0.039094701409339905, 0.0038481266237795353, 0.013887060806155205, 0.04784535616636276, -0.056196317076683044, -0.05937083438038826, 0.00299562094733119, -0.07841905951499939, 0.019194968044757843, -0.010461055673658848, 0.019473636522889137, 0.028018364682793617, 0.012454083189368248, 0.05049119517207146, -0.007705122232437134, -0.031245915219187737, 0.013445420190691948, -0.006242138799279928, 0.008923057466745377, -0.05629586800932884, 0.05539465323090553, -0.03601459413766861, 0.01854357309639454, 0.0004337230639066547, -0.01588289998471737, -0.03253781422972679, 0.03607292100787163, -0.015105195343494415, -0.018881715834140778, -0.004647161811590195, 0.017808111384510994, -0.009518884122371674, 0.021279240027070045, -0.03385002538561821, 0.013917140662670135, -0.03173907846212387, 0.05731964483857155, -0.012043804861605167, 0.02861308865249157, -0.02262851968407631, -0.013679390773177147, -0.03857729956507683, -0.020100222900509834, -0.0043184272944927216, -0.05513377860188484, 0.03791488707065582, 0.053748004138469696, 0.03647744655609131, 0.018787670880556107, -0.03693126514554024, -0.007360084448009729, -0.00013495434541255236, -0.049027346074581146, -0.005269767716526985, 0.0007450238335877657, 0.04469400271773338, 0.017926737666130066, 0.049620747566223145, 0.021708985790610313, -0.07181388139724731, -0.054223958402872086, 0.054820287972688675, 0.01057926844805479, 0.006076649762690067, 0.012896009720861912, 0.04455221816897392, 0.020555350929498672, 0.04784867912530899, -0.027666602283716202, 0.01657392829656601, -0.015538151375949383, -0.036816757172346115, 0.029416346922516823, -0.02188156358897686, 0.012241876684129238, 0.016419541090726852, -0.03749033436179161, -0.010302439332008362, 0.0700235441327095, 0.026737039908766747, 0.011313957162201405, -0.03758959099650383, -0.03293044865131378, 0.0029344551730901003, -0.013902193866670132, -0.05950485169887543, 0.015087616629898548, -0.01125563308596611, -0.033821869641542435, 0.08901109546422958, -0.016885539516806602, -0.008789300918579102, 0.025268487632274628, 0.021779611706733704, -0.02366127446293831, 0.051408156752586365, -0.012342777103185654, 0.024857351556420326, 0.044383469969034195, -0.07546067237854004, -0.009012110531330109, -0.027966687455773354, 0.07036706060171127, -0.07025668025016785, 0.036534857004880905, 0.06256895512342453, 0.02275358885526657, 0.028386367484927177, -0.03938926383852959, -0.04131117835640907, 0.04052786901593208, -0.043062206357717514, 0.07244052737951279, 0.021007826551795006, -0.06463279575109482, 0.08269970864057541, 0.027498066425323486, -0.09297716617584229, 0.03609462454915047, 0.04724987968802452, 0.01745879277586937, 0.019430384039878845, 0.05276448652148247, -0.06146806851029396, -0.001434958423487842, -0.037842705845832825, 0.031154649332165718, -0.05237087607383728, 0.009582164697349072, 0.01572127267718315, -0.04649942368268967, -0.005763181950896978, 0.021052181720733643, -0.02027415670454502, -0.013033788651227951, 0.0040745860897004604, -0.05181920900940895, -0.027427049353718758, -0.01751946285367012, 0.03021274320781231, -0.05552314966917038, -0.00766119547188282, -0.03418193385004997, 0.018917536363005638, 0.030700258910655975, 0.009126497432589531, -0.019660621881484985, -0.015166818164288998, 0.0033385800197720528, -0.07619362324476242, -0.058892153203487396, 0.03510768711566925, 0.018900638446211815, -0.01903906837105751, 0.054139263927936554, 0.013605893589556217, 0.016981372609734535, 0.03162819519639015, 0.010310742072761059, 0.024107009172439575, -0.07155795395374298, -0.029802020639181137, -0.004175226204097271, 0.011205215007066727, 0.020922617986798286, -0.009914666414260864, 0.05290134251117706, 0.029133079573512077, 0.00076662766514346, 0.026491375640034676, -0.025121768936514854, -0.01653434708714485, 0.021787796169519424, -0.047572486102581024, 0.022666601464152336, 0.02098224312067032, -0.04411960393190384, -0.024322260171175003, -0.003917256835848093, 0.004680254962295294, 0.025510387495160103, -0.052053339779376984, -0.007350041996687651, 0.013157914392650127, -0.0347258634865284, -0.0436745211482048, -0.08022990077733994, -0.041215695440769196, -0.03616435453295708, 0.03574403375387192, 0.022498155012726784, -0.06549355387687683, 0.009024939499795437, -0.04711487889289856, -0.05117648094892502, 0.004971776157617569, 0.01261642761528492, -0.03066483698785305, 0.05920323356986046, 0.05146056413650513, -0.07216143608093262, 0.012562727555632591, 0.03176571801304817, -0.013971325010061264, 0.01990581676363945, 0.0015037943376228213, 0.01791398599743843, 0.04738449305295944, 0.020586730912327766, -0.043787673115730286, -0.019266029819846153, -0.05914783477783203, -0.03794068470597267, -0.027243774384260178, -0.010891063138842583, 0.06556139141321182 ]
albert-xxlarge-v1
[ "pytorch", "tf", "albert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1909.11942", "transformers", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "AlbertForMaskedLM" ], "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 } } }
7,091
2021-04-19T13:30:28Z
--- language: id datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Indonesian with Artificial Voice by Cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice id type: common_voice args: id metrics: - name: Test WER type: wer value: 51.69 --- # Wav2Vec2-Large-XLSR-Indonesian Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the [Indonesian Artificial Common Voice dataset](https://cloud.uncool.ai/index.php/f/2165181). 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", "id", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") 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 as follows on the Indonesian 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", "id", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") 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**: 51.69 % ## Training The Artificial Common Voice `train`, `validation`, and ... datasets were used for training. The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition) (will be available soon)
[ -0.03189922869205475, -0.02474183589220047, -0.016648955643177032, 0.033668264746665955, 0.052953071892261505, 0.03405364602804184, -0.016107721254229546, -0.0204140767455101, -0.02534521371126175, 0.06989043205976486, 0.03780997917056084, -0.026540502905845642, -0.009517663158476353, 0.031220709905028343, -0.025981029495596886, -0.05188007280230522, -0.015374217182397842, -0.008581068366765976, -0.06561850011348724, -0.015902752056717873, 0.004572385922074318, 0.025828169658780098, -0.014786607585847378, 0.014861899428069592, -0.006619452964514494, 0.002011829987168312, -0.010008429177105427, 0.02255694568157196, 0.013665529899299145, -0.06583691388368607, -0.011208782903850079, -0.03444301337003708, -0.023173170164227486, -0.05051049217581749, -0.01964554935693741, -0.007928956300020218, 0.00022391382663045079, 0.02630547434091568, 0.027044162154197693, 0.033190637826919556, -0.02573641762137413, 0.01258851122111082, -0.017795877531170845, 0.002218291163444519, 0.02930082194507122, -0.0014961735578253865, -0.03219734504818916, -0.007607173640280962, 0.024642134085297585, -0.023189373314380646, -0.028894688934087753, -0.07313425093889236, -0.016997216269373894, 0.02284405194222927, -0.023611973971128464, -0.025606852024793625, -0.053893569856882095, -0.037563372403383255, 0.059434037655591965, -0.04979472979903221, -0.018904313445091248, 0.008249936625361443, -0.07580206543207169, 0.02125287801027298, 0.020098373293876648, -0.05417774245142937, -0.005344395060092211, -0.04796993359923363, 0.02797248400747776, -0.019911447539925575, 0.05581942945718765, -0.03785519674420357, 0.012815856374800205, -0.09429565072059631, 0.015704898163676262, -0.015322740189731121, 0.03470033407211304, 0.04117118567228317, -0.030036086216568947, 0.05991385877132416, 0.02399672381579876, 0.004000229761004448, 0.019800947979092598, -0.025493664667010307, 0.0037646840792149305, 0.03735683113336563, -0.03567172959446907, 0.014551358297467232, 0.010047754272818565, 0.040747515857219696, -0.038097672164440155, -0.05034446716308594, -0.011412651278078556, -0.048123765736818314, -0.00747135141864419, 0.030632711946964264, 0.03174705058336258, -0.01284111849963665, 0.042109958827495575, 0.03384698927402496, 0.013947338797152042, 0.03269583359360695, -0.02627064473927021, 0.06897833198308945, -0.02003156580030918, -0.006645169109106064, -0.0135680316016078, -0.0388718843460083, -0.036257486790418625, 0.01911025494337082, 0.04477947577834129, -0.05294371768832207, -0.05105530843138695, 0.03506812825798988, 0.01465843990445137, -0.01221053209155798, 0.040923312306404114, -0.0433322973549366, -0.04249022901058197, -0.06038845703005791, 0.03188219293951988, 0.00767901074141264, 0.009147437289357185, 0.00799945555627346, -0.0473034642636776, 0.028000108897686005, -0.04133201390504837, -0.03161599114537239, 0.010878467001020908, 0.01553248893469572, -0.012881881557404995, 0.03714124858379364, 0.012586063705384731, -0.047193124890327454, -0.010415006428956985, 0.013536041602492332, -0.06657145172357559, 0.02276688814163208, 0.0068869986571371555, 0.07680191844701767, -0.05324234813451767, -0.049479976296424866, 0.02041512355208397, -0.0006465913029387593, -0.0039043964352458715, 0.022091394290328026, 0.015715232118964195, -0.015840670093894005, -0.037915416061878204, -0.012700404971837997, 0.048262760043144226, -0.06532537937164307, -0.0068219383247196674, 0.052943937480449677, -0.018641291186213493, 0.04095543175935745, -0.022725895047187805, -0.0022534807212650776, 0.019344830885529518, 0.0000565365407965146, -0.008630313910543919, 0.04447287321090698, -0.0009578457102179527, -0.036859992891550064, -0.02996927686035633, -0.04186035320162773, -0.017275122925639153, 0.08734868466854095, 0.004784869030117989, 0.013272712007164955, -0.013467165641486645, 0.034412503242492676, 0.052031490951776505, 0.027465468272566795, -0.03596045821905136, 0.03484338894486427, 0.07610132545232773, 0.041937876492738724, -0.011660880409181118, 0.0867188572883606, 0.027873767539858818, -0.02362930029630661, -0.019713852554559708, -0.0015516993589699268, 0.011890644207596779, -0.026348093524575233, -0.0002481087576597929, 0.0508393831551075, -0.005482313223183155, -0.02839849144220352, -0.0168699249625206, 0.057012468576431274, -0.013354421593248844, -0.020369455218315125, -0.018205568194389343, -0.005047268699854612, -0.03473665565252304, 0.03334338963031769, -0.03247431665658951, 0.009193704463541508, -0.02650268003344536, -0.019846435636281967, -0.011778159998357296, 0.04226778447628021, 0.02358873002231121, 0.049441445618867874, -0.007908124476671219, 0.08694089204072952, -0.03572363778948784, 0.001850662985816598, -0.049207206815481186, -0.04010405018925667, -0.009312953799962997, 0.05087852478027344, 0.015471626073122025, 0.06489985436201096, -0.0036658146418631077, -0.026585811749100685, 0.03124556876718998, 0.06471256166696548, 0.07288757711648941, 0.029886815696954727, -0.010963761247694492, -0.012392689473927021, 0.03113371878862381, 0.060226019471883774, -0.08212576806545258, -0.03599037602543831, 0.010567710734903812, 0.02283543162047863, -0.02231278270483017, 0.015449406579136848, -0.010521862655878067, 0.04082242771983147, -0.05183650180697441, -0.07331528514623642, 0.053933802992105484, 0.019488275051116943, 0.025265434756875038, 0.027937833219766617, -0.02278820425271988, -0.0066754939034581184, 0.03646675497293472, 0.003274373710155487, -0.00129133730661124, -0.023294012993574142, 0.006482285913079977, 0.010935680009424686, 0.04312536120414734, -0.06816482543945312, 0.03888702765107155, -0.026512235403060913, 0.00909254141151905, 0.033403415232896805, -0.04027608782052994, 0.0396496020257473, 0.016499798744916916, 0.001860882039181888, -0.027442941442131996, 0.024849608540534973, -0.007054375950247049, 0.03676532208919525, 0.05083957314491272, 0.018739640712738037, 0.04911446571350098, 0.003334733424708247, 0.04935869202017784, 0.10577254742383957, 0.02399648353457451, -0.003074083011597395, 0.016698693856596947, 0.07806314527988434, 0.000788896344602108, -0.020041218027472496, 0.07509595155715942, -0.04201051965355873, 0.03408101573586464, -0.03520190343260765, 0.014109771698713303, -0.017275109887123108, -0.0007948473212309182, 0.028582045808434486, 0.013823634944856167, -0.009973892010748386, 0.009881982579827309, -0.023193081840872765, -0.01692764274775982, 0.04142339155077934, -0.023413503542542458, -0.023007890209555626, -0.000036749061109730974, -0.006685587577521801, -0.005542912054806948, -0.09124967455863953, -0.03199188783764839, -0.013512328267097473, -0.04518114775419235, 0.0028196508064866066, -0.07414314150810242, -0.027753369882702827, -0.06765344738960266, -0.019716227427124977, 0.021466432139277458, 0.023329230025410652, 0.013239376246929169, -0.031593482941389084, 0.017304858192801476, -0.059527523815631866, -0.04209383949637413, -0.0450190044939518, -0.04113306105136871, -0.014051414094865322, -0.07303223758935928, 0.033350806683301926, 0.01925540156662464, 0.0425102524459362, 0.0037850351072847843, -0.0009601067868061364, -0.01553218625485897, -0.029596572741866112, 0.04319341853260994, 0.048038046807050705, -0.046308308839797974, -0.06884939968585968, 0.045388996601104736, -0.0361829549074173, 0.017015457153320312, -0.0034432383254170418, -0.037695880979299545, 0.07593191415071487, 0.057218603789806366, 0.01607358269393444, 0.021924670785665512, -0.02392483502626419, -0.05279761180281639, -0.056132860481739044, -0.02394048497080803, -0.04873689264059067, -0.026874758303165436, -0.011896593496203423, -0.03552214801311493, -0.01420843880623579, 0.0008289561956189573, -0.02093631774187088, -0.012363809160888195, 0.008605374954640865, 0.053720515221357346, 0.054334890097379684, 0.027163906022906303, 0.042153604328632355, -0.03218575939536095, -0.046639617532491684, 0.07218277454376221, 0.031096521764993668, 0.012426384724676609, -0.06964997202157974, -0.037912607192993164, 0.021645184606313705, 0.022731497883796692, -0.020789002999663353, -0.0008778672199696302, 0.09226424247026443, 0.00007403625932056457, -0.005783433560281992, 0.003281644079834223, -0.01697671413421631, -0.024263108149170876, -0.020250998437404633, -0.020969899371266365, -0.0010996914934366941, -0.06998823583126068, 0.0036162373144179583, 0.0004156575887463987, 0.05338301137089729, -0.06648748368024826, -0.05398213490843773, -0.010508243925869465, 0.055482376366853714, 0.031059615314006805, -0.016989467665553093, -0.036264825612306595, -0.006076700985431671, -0.053471386432647705, -0.039147794246673584, 0.018797555938363075, 0.016678979620337486, 0.018764058127999306, 0.048109136521816254, -0.0010949214920401573, -0.03308045491576195, 0.048765432089567184, 0.04022356867790222, 0.06621140241622925, 0.01388079859316349, -0.05870415270328522, -0.007077948655933142, -0.016761548817157745, 0.010554072447121143, -0.011344376020133495, -0.021909451112151146, -0.0357002355158329, -0.08481793105602264, -0.015501352027058601, 0.015756957232952118, -0.021241215988993645, -0.033255405724048615, 0.03894871473312378, 0.010684004984796047, 0.015291000716388226, 0.006762200966477394, 0.024936493486166, 0.03464007005095482, -0.044767800718545914, 0.03179507702589035, 0.003223210107535124, 0.03920278698205948, -0.0776953175663948, 0.017205677926540375, -0.012586097232997417, -0.01596323773264885, -0.0005936732632108033, 0.05749116092920303, 0.023209847509860992, 0.03641514107584953, 0.0728946402668953, 0.013237778097391129, -0.03400973975658417, 0.05365382507443428, 0.04049643874168396, -0.04105714336037636, -0.06706684827804565, 0.0008322422509081662, -0.02028660848736763, -0.04890964925289154, 0.001853306544944644, -0.047983963042497635, 0.05878254398703575, 0.01617363654077053, -0.0100668054074049, -0.02568119391798973, 0.0066934749484062195, -0.02584991417825222, -0.02056182734668255, -0.034229520708322525, -0.049193717539310455, 0.03287571296095848, -0.03252242133021355, 0.026802165433764458, 0.02367985062301159, 0.013153646141290665, 0.07549464702606201, 0.0451783649623394, -0.03142809495329857, -0.043300092220306396, 0.03024465963244438, 0.038037192076444626, -0.030886607244610786, -0.06852330267429352, -0.03401626646518707, 0.05108248442411423, 0.025436021387577057, 0.002603397471830249, -0.07672585546970367, -0.004480771254748106, 0.05454010143876076, -0.03506822511553764, 0.05549636483192444, -0.029442016035318375, 0.04974748566746712, 0.06750555336475372, -0.017100272700190544, 0.011355365626513958, -0.024601856246590614, 0.014803332276642323, 0.011790513060986996, 0.029010945931077003, -0.010994039475917816, -0.030634481459856033, -0.07196151465177536, 0.019073445349931717, 0.0454699769616127, 0.030193088576197624, 0.03138289600610733, -0.0072917756624519825, -0.05282459408044815, 0.002512400969862938, 0.03787410631775856, -0.02108629234135151, 0.022834831848740578, 0.020591815933585167, 0.03021947108209133, -0.027826102450489998, -0.009494196623563766, -0.0063559515401721, 0.006813281215727329, 0.02464245818555355, 0.01479663047939539, -0.042472828179597855, -0.03762052580714226, 0.011499986983835697, -0.009093007072806358, -0.039924781769514084, -0.07390587776899338, 0.03112635761499405, -0.025483138859272003, -0.007739546243101358, 0.046346455812454224, 0.035470135509967804, 0.05218908190727234, 0.029042452573776245, 0.009809119626879692, 0.016555706039071083, -0.037257228046655655, 0.03737305477261543, -0.029510820284485817, -0.014068521559238434, -0.015816204249858856, -0.04115070775151253, -0.019113952293992043, -0.018290672451257706, -0.04982680082321167, -0.04315655305981636, -0.012676025740802288, 0.03861769288778305, -0.013422534801065922, -0.017730923369526863, -0.017256129533052444, 0.05032356083393097, -0.03285214304924011, -0.03416411951184273, -0.032866720110177994, -0.0239119753241539, -0.06678987294435501, -0.05894603580236435, 0.019983019679784775, 0.0019819692242890596, 0.02660997584462166, 0.009840277954936028, 0.018526919186115265, 0.02215125970542431, -0.0015655363677069545, 0.003226950764656067, 0.03773116692900658, -0.016722705215215683, -0.05275193974375725, -0.04303102195262909, 0.023241959512233734, 0.004984118044376373, 0.06400466710329056, -0.012400084175169468, 0.029479991644620895, 0.018848193809390068, -0.036714039742946625, -0.00690304022282362, 0.012382009997963905, 0.055140770971775055, -0.06149213761091232, -0.04298141226172447, -0.00100805948022753, -0.05929766967892647, 0.008830426260828972, -0.013102849014103413, 0.0050492496229708195, 0.023314764723181725, 0.00945248082280159, 0.04673995077610016, -0.002424724632874131, -0.02985646203160286, 0.014510982669889927, -0.0008311165729537606, -0.006290119141340256, -0.05999131500720978, 0.06032403185963631, -0.026921210810542107, 0.012628729455173016, 0.004815084394067526, -0.020483622327446938, -0.049609992653131485, 0.02726399153470993, 0.00028086546808481216, -0.01825125887989998, -0.001552200992591679, 0.0070551722310483456, -0.014356529340147972, 0.03589678555727005, -0.019294872879981995, 0.026301108300685883, -0.030085109174251556, 0.05873711407184601, -0.008142702281475067, 0.01717427372932434, -0.006496766582131386, -0.011836806312203407, -0.03880065307021141, -0.017129598185420036, -0.013765906915068626, -0.04822499677538872, 0.04803089797496796, 0.04919271171092987, 0.047764889895915985, 0.03140870854258537, -0.019952716305851936, 0.0009443279705010355, -0.00927720032632351, -0.05546310171484947, -0.007199630606919527, 0.004336181096732616, 0.04978235438466072, 0.02234741300344467, 0.04667951539158821, 0.023581363260746002, -0.06815307587385178, -0.05135716497898102, 0.04748615249991417, 0.012049836106598377, 0.006533616688102484, 0.012390540912747383, 0.035554416477680206, 0.03535035252571106, 0.0520426370203495, -0.025462057441473007, -0.0031826605554670095, -0.016192320734262466, -0.03013346716761589, 0.04027629271149635, -0.009250017814338207, 0.005776995327323675, 0.0022030239924788475, -0.03949672728776932, -0.012447282671928406, 0.058453552424907684, 0.02097071334719658, 0.018761426210403442, -0.024879034608602524, -0.0401780866086483, 0.0014278895687311888, -0.014745964668691158, -0.048471931368112564, 0.0014271228574216366, -0.0056355963461101055, -0.02916058525443077, 0.09137590229511261, -0.002592449076473713, 0.013647316955029964, 0.02161114662885666, 0.016659509390592575, -0.02366630546748638, 0.040845416486263275, -0.019540054723620415, 0.017203351482748985, 0.03452529013156891, -0.06179773807525635, -0.0027497420087456703, -0.02441919781267643, 0.06169739365577698, -0.08909804373979568, 0.03846165910363197, 0.051477957516908646, 0.018124263733625412, 0.03552895411849022, -0.027841083705425262, -0.04834090918302536, 0.05117584392428398, -0.04516707360744476, 0.07871680706739426, 0.022679274901747704, -0.04882901906967163, 0.07541192322969437, 0.01652332954108715, -0.10611925274133682, 0.055083874613046646, 0.04643925651907921, 0.02784072607755661, 0.03661571815609932, 0.05150884389877319, -0.05493463575839996, 0.007402221672236919, -0.050916638225317, 0.030873626470565796, -0.05911627039313316, 0.005826606415212154, 0.013343621045351028, -0.04820241779088974, -0.03034401871263981, 0.01481392327696085, -0.0010113553144037724, -0.022668112069368362, 0.005067218095064163, -0.0558990053832531, -0.04331912472844124, -0.014958289451897144, 0.0315542109310627, -0.05445966497063637, -0.010612322948873043, -0.039645321667194366, 0.017793413251638412, 0.017623085528612137, 0.011295153759419918, -0.03048943169414997, -0.023404231294989586, 0.025070179253816605, -0.05343443527817726, -0.039233919233083725, 0.03399382904171944, 0.01654665917158127, -0.029973331838846207, 0.06202555447816849, 0.009683214128017426, 0.022728165611624718, 0.02137116529047489, 0.009959672577679157, 0.03395528346300125, -0.07660618424415588, -0.03176169469952583, -0.003712013829499483, 0.005346484016627073, 0.02198297530412674, -0.010861196555197239, 0.0549723282456398, 0.045305151492357254, -0.005148119293153286, 0.013508283533155918, -0.025499461218714714, -0.02893473021686077, 0.02556302584707737, -0.042356934398412704, 0.02206839807331562, 0.007612617686390877, -0.04537363722920418, -0.018155936151742935, -0.010155834257602692, -0.013866544701159, 0.035286158323287964, -0.06242728978395462, 0.004153483547270298, 0.02296125330030918, -0.0361161008477211, -0.03562761843204498, -0.058316394686698914, -0.04303454980254173, -0.03137364611029625, 0.03660145774483681, 0.02147124893963337, -0.048179734498262405, 0.010881670750677586, -0.05732890963554382, -0.06096116825938225, -0.005761268548667431, 0.019258776679635048, -0.03235923871397972, 0.057986851781606674, 0.04936646297574043, -0.050326209515333176, 0.02174210548400879, 0.03428148850798607, -0.01844555325806141, 0.04122677072882652, -0.0002203617914346978, 0.013156414031982422, 0.04509975016117096, 0.022484371438622475, -0.03992094099521637, -0.027827339246869087, -0.06194235756993294, -0.038257114589214325, -0.02541125938296318, -0.014976763166487217, 0.046370796859264374 ]
albert-xxlarge-v2
[ "pytorch", "tf", "safetensors", "albert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1909.11942", "transformers", "exbert", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "AlbertForMaskedLM" ], "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 } } }
42,640
null
--- language: id datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Indonesian Mix by Cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice id type: common_voice args: id metrics: - name: Test WER type: wer value: 19.36 --- # Wav2Vec2-Large-XLSR-Indonesian Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the [Indonesian Common Voice dataset](https://huggingface.co/datasets/common_voice) and synthetic voices generated using [Artificial Common Voicer](https://github.com/cahya-wirawan/artificial-commonvoice), which again based on Google Text To Speech. 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", "id", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian-mix") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian-mix") # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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 as follows on the Indonesian 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", "id", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian-mix") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian-mix") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\'\”\�]' # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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**: 19.36 % ## Training The Common Voice `train`, `validation`, and ... datasets were used for training as well as ... and ... # TODO The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition)
[ -0.02645350806415081, -0.02240404672920704, -0.014018881134688854, 0.028349032625555992, 0.05848892778158188, 0.042620569467544556, -0.016326025128364563, -0.01864660158753395, -0.01589842326939106, 0.06185330078005791, 0.03696999326348305, -0.031186725944280624, -0.0017991563072428107, 0.023387448862195015, -0.024667920544743538, -0.04731510207056999, -0.017630847170948982, -0.0034599113278090954, -0.06368870288133621, -0.017595935612916946, 0.0029153204523026943, 0.03727131336927414, -0.015306849032640457, 0.014742069877684116, -0.00409244280308485, 0.010344643145799637, -0.012451336719095707, 0.02125791274011135, 0.012673882767558098, -0.06504929810762405, -0.008570412173867226, -0.042003776878118515, -0.02648555487394333, -0.04616715386509895, -0.02664012275636196, -0.008028285577893257, 0.006811230909079313, 0.023539463058114052, 0.022729773074388504, 0.03197447583079338, -0.027137383818626404, 0.019178250804543495, 0.0000882121967151761, -0.010553776286542416, 0.034677959978580475, -0.0057089123874902725, -0.032832276076078415, -0.007655773311853409, 0.021427704021334648, -0.017098888754844666, -0.025298021733760834, -0.07508750259876251, -0.03032495081424713, 0.016893621534109116, -0.016715247184038162, -0.028030550107359886, -0.0487820990383625, -0.03505652770400047, 0.06023164093494415, -0.042597729712724686, -0.021081820130348206, 0.013702748343348503, -0.0729965940117836, 0.01610630378127098, 0.0161045640707016, -0.06282069534063339, -0.003543298924341798, -0.051403239369392395, 0.026652449741959572, -0.026679130271077156, 0.05965946614742279, -0.037853289395570755, 0.017441393807530403, -0.09899992495775223, 0.00963400024920702, -0.012721915729343891, 0.032929591834545135, 0.043609123677015305, -0.0298304446041584, 0.06831477582454681, 0.016670284792780876, 0.009444630704820156, 0.022385258227586746, -0.025511955842375755, -0.0022352191153913736, 0.03135601431131363, -0.0364261157810688, 0.015503103844821453, 0.012393523938953876, 0.03770788386464119, -0.03127364069223404, -0.05442878231406212, -0.013917422853410244, -0.04476846382021904, -0.011578044854104519, 0.03320547565817833, 0.03044002875685692, -0.017659436911344528, 0.0442049466073513, 0.03436504676938057, 0.01449617650359869, 0.03534475713968277, -0.033761318773031235, 0.06222585216164589, -0.01924280822277069, 0.0015316166682168841, -0.013635735027492046, -0.04299190267920494, -0.04026985168457031, 0.014162533916532993, 0.036440346390008926, -0.05126515030860901, -0.04937738925218582, 0.03260413184762001, 0.015075120143592358, -0.020443864166736603, 0.04642048478126526, -0.047848403453826904, -0.04065866768360138, -0.05534501373767853, 0.043264396488666534, 0.01612604595720768, 0.016201533377170563, 0.015070862136781216, -0.0452004075050354, 0.032925575971603394, -0.038155414164066315, -0.028315067291259766, 0.012717333622276783, 0.006451258901506662, -0.007807597052305937, 0.03386056423187256, 0.0029510061722248793, -0.03925427421927452, -0.006429939530789852, 0.01207202859222889, -0.059815920889377594, 0.028295857831835747, 0.0038552070036530495, 0.08305387198925018, -0.058002859354019165, -0.05022364482283592, 0.01741817593574524, 0.006511830724775791, -0.00490841967985034, 0.025434743613004684, 0.021033596247434616, -0.00900545995682478, -0.04509534314274788, -0.008671365678310394, 0.048015061765909195, -0.06418990343809128, -0.002514806343242526, 0.051575254648923874, -0.018638528883457184, 0.040138326585292816, -0.018118983134627342, 0.003458150429651141, 0.022558940574526787, -0.0038230603095144033, -0.005326069891452789, 0.040541719645261765, 0.002684646751731634, -0.039173126220703125, -0.03420776501297951, -0.04424604773521423, -0.012639746069908142, 0.08361481130123138, 0.006327061448246241, 0.009869094006717205, -0.020588714629411697, 0.03626995161175728, 0.045930881053209305, 0.033852413296699524, -0.04011186957359314, 0.03311144933104515, 0.07752548158168793, 0.04846722632646561, -0.014371538534760475, 0.08469595015048981, 0.02331632375717163, -0.015681812539696693, -0.024436473846435547, 0.002138781361281872, 0.011189564131200314, -0.02460213378071785, 0.0033622137270867825, 0.05503547191619873, -0.005316299386322498, -0.034987546503543854, -0.015203452669084072, 0.05801944434642792, -0.013107594102621078, -0.021763771772384644, -0.015491705387830734, -0.012644816190004349, -0.03914833441376686, 0.04069900140166283, -0.03672340139746666, 0.008865761570632458, -0.02798788622021675, -0.017635853961110115, 0.004435692448168993, 0.037851206958293915, 0.023975899443030357, 0.051307205110788345, -0.01222891267389059, 0.08090964704751968, -0.03651385009288788, 0.006840171292424202, -0.049157921224832535, -0.037249717861413956, -0.01350234542042017, 0.04753642529249191, 0.017895858734846115, 0.0630478784441948, -0.0063547701574862, -0.021722303703427315, 0.02457117848098278, 0.056496307253837585, 0.0743725523352623, 0.03594766557216644, -0.011616986244916916, -0.00796493049710989, 0.031209131702780724, 0.06390400230884552, -0.07205548882484436, -0.04636209085583687, 0.009335245937108994, 0.027458587661385536, -0.01609663851559162, 0.011897657997906208, -0.013190513476729393, 0.03795702010393143, -0.051067423075437546, -0.06948710232973099, 0.055916041135787964, 0.01591137796640396, 0.018677769228816032, 0.02514585293829441, -0.03258274868130684, -0.0065236627124249935, 0.043263498693704605, 0.005433363374322653, 0.0009650966385379434, -0.030052218586206436, 0.004453049972653389, 0.02079511061310768, 0.048471804708242416, -0.06264836341142654, 0.037964191287755966, -0.028515519574284554, 0.017651619389653206, 0.030203891918063164, -0.03914496302604675, 0.03501339629292488, 0.008590568788349628, 0.000908586778678, -0.025373488664627075, 0.024516157805919647, -0.004063066560775042, 0.04205526039004326, 0.054457779973745346, 0.015459973365068436, 0.045438218861818314, 0.005549107678234577, 0.049941085278987885, 0.11033259332180023, 0.022766519337892532, 0.00492672948166728, 0.02231777459383011, 0.08077119290828705, 0.00006149593536974862, -0.016446497291326523, 0.07470386475324631, -0.04177526384592056, 0.035866353660821915, -0.03697599470615387, 0.011236222460865974, -0.015559247694909573, 0.0016415101708844304, 0.03200661018490791, 0.012649654410779476, -0.008703447878360748, 0.016818329691886902, -0.0204205010086298, -0.0184661615639925, 0.038487598299980164, -0.02566000260412693, -0.023577867075800896, -0.005054648034274578, -0.00847590435296297, -0.001375695806927979, -0.09549491852521896, -0.027527177706360817, -0.016475455835461617, -0.042176030576229095, 0.007019788958132267, -0.07499180734157562, -0.0335131473839283, -0.07116304337978363, -0.020722560584545135, 0.026218922808766365, 0.031125055626034737, 0.009171453304588795, -0.03823224455118179, 0.010359055362641811, -0.061789337545633316, -0.05094307288527489, -0.05000924691557884, -0.04040247201919556, -0.012201330624520779, -0.07475458830595016, 0.0303706806153059, 0.01843022182583809, 0.04423069953918457, 0.0024482375010848045, -0.010408877395093441, -0.027506642043590546, -0.029219970107078552, 0.043586332350969315, 0.04765935614705086, -0.046845704317092896, -0.07006192207336426, 0.043164316564798355, -0.03757520020008087, 0.010443788953125477, -0.010517608374357224, -0.04148288443684578, 0.07837443798780441, 0.060276541858911514, 0.017999809235334396, 0.0309169739484787, -0.027416285127401352, -0.05516909062862396, -0.0523238331079483, -0.02401082031428814, -0.04667559638619423, -0.026450270786881447, -0.016559191048145294, -0.03890833631157875, -0.013410293497145176, -0.0038121743127703667, -0.02172156237065792, -0.00872951652854681, 0.014319873414933681, 0.05272567644715309, 0.05394420400261879, 0.03312594071030617, 0.04147038236260414, -0.03208130598068237, -0.04011781886219978, 0.06973971426486969, 0.026772141456604004, 0.005275860894471407, -0.07308828830718994, -0.041528355330228806, 0.017805669456720352, 0.022299373522400856, -0.02230699360370636, 0.004919576458632946, 0.09272598475217819, 0.004912042524665594, -0.005314472131431103, -0.0014183677267283201, -0.02212691493332386, -0.027373217046260834, -0.021219415590167046, -0.020582422614097595, -0.005898044910281897, -0.06342683732509613, 0.008659034967422485, -0.009458178654313087, 0.06103275716304779, -0.06939953565597534, -0.05083184689283371, -0.011667845770716667, 0.05308341607451439, 0.03271440416574478, -0.017616596072912216, -0.027442438527941704, -0.005101736634969711, -0.05698829144239426, -0.039975181221961975, 0.011933867819607258, 0.016518302261829376, 0.02142847515642643, 0.052598439157009125, -0.0007778846775181592, -0.02534608542919159, 0.04411490634083748, 0.03612705320119858, 0.05907292664051056, 0.01598994992673397, -0.0531773716211319, -0.0035892201121896505, -0.020446348935365677, 0.017098333686590195, -0.005266144871711731, -0.022843357175588608, -0.04319207742810249, -0.08801613748073578, -0.0094500333070755, 0.01580951362848282, -0.019894389435648918, -0.03062545508146286, 0.050045572221279144, 0.01148297544568777, 0.012432332150638103, 0.004305866081267595, 0.026099834591150284, 0.038539182394742966, -0.04679916426539421, 0.03536522388458252, -0.0023344713263213634, 0.043937455862760544, -0.07434097677469254, 0.014491760171949863, -0.016049353405833244, -0.01762765273451805, -0.0022352144587785006, 0.06283900886774063, 0.02486126497387886, 0.039307888597249985, 0.0732903927564621, 0.009468857198953629, -0.03547710180282593, 0.04728786647319794, 0.04105699807405472, -0.03902389109134674, -0.06810473650693893, 0.0006382050924003124, -0.02114935778081417, -0.05492844060063362, -0.006950923707336187, -0.054327886551618576, 0.05692843720316887, 0.018212301656603813, -0.008347480557858944, -0.022515980526804924, 0.015005873516201973, -0.03207281604409218, -0.017864326015114784, -0.04372170567512512, -0.05680413916707039, 0.024300256744027138, -0.026350680738687515, 0.024591391906142235, 0.02484334260225296, 0.010814902372658253, 0.07137393206357956, 0.048286885023117065, -0.0313316285610199, -0.047707293182611465, 0.03834304213523865, 0.0382881760597229, -0.02982867881655693, -0.06653201580047607, -0.039868950843811035, 0.0513421967625618, 0.025330811738967896, 0.0018841538112610579, -0.07252886891365051, -0.006724964361637831, 0.05510241165757179, -0.03551581874489784, 0.049584146589040756, -0.032532352954149246, 0.04515095427632332, 0.06473740935325623, -0.0075417631305754185, 0.016879504546523094, -0.028304573148489, 0.010090801864862442, 0.006613143719732761, 0.026745285838842392, -0.013431611470878124, -0.029656486585736275, -0.06920626014471054, 0.01948941871523857, 0.04559849202632904, 0.026052433997392654, 0.02820499613881111, -0.0003529879613779485, -0.04383903741836548, -0.00023775735462550074, 0.03488717973232269, -0.021536175161600113, 0.025307567790150642, 0.018530402332544327, 0.0401126891374588, -0.029703881591558456, -0.0099570881575346, -0.007086645811796188, 0.009577802382409573, 0.027971936389803886, 0.00963897630572319, -0.036916978657245636, -0.03632189705967903, 0.010927801951766014, -0.012623739428818226, -0.03892257437109947, -0.07038423418998718, 0.024097591638565063, -0.027068402618169785, -0.008486280217766762, 0.04697221517562866, 0.03045305423438549, 0.05026618018746376, 0.029101230204105377, 0.011441517621278763, 0.02265552617609501, -0.03461878374218941, 0.03937375545501709, -0.025215299800038338, -0.021483708173036575, -0.01938491500914097, -0.04381247237324715, -0.014099612832069397, -0.02241871878504753, -0.04006616026163101, -0.04248270392417908, -0.013552439399063587, 0.03464521840214729, -0.023440593853592873, -0.018346326425671577, -0.014999736100435257, 0.04127462953329086, -0.03301993012428284, -0.03433157876133919, -0.02887849509716034, -0.020942827686667442, -0.06571988761425018, -0.05833789333701134, 0.01598353683948517, -0.0066421302035450935, 0.02204965613782406, 0.013240001164376736, 0.027141148224473, 0.019738340750336647, 0.0019347240449860692, 0.002907640766352415, 0.038677580654621124, -0.01865561679005623, -0.05323854461312294, -0.039880961179733276, 0.022865163162350655, 0.014793222770094872, 0.06678593158721924, -0.007013837341219187, 0.03129372373223305, 0.02761131525039673, -0.037204939872026443, -0.00440563540905714, 0.01857633888721466, 0.043866876512765884, -0.06356640160083771, -0.039819926023483276, -0.0033863866701722145, -0.0521632619202137, 0.00785289891064167, -0.0208516176789999, -0.002697444986552, 0.030998002737760544, 0.029033930972218513, 0.05064646527171135, 0.0016440198523923755, -0.024906784296035767, 0.009852771647274494, -0.007311190012842417, -0.0034673097543418407, -0.058096397668123245, 0.056945979595184326, -0.03332972899079323, 0.010967683978378773, -0.0004367629298940301, -0.013467011041939259, -0.051203373819589615, 0.031523123383522034, 0.002985892118886113, -0.010235381312668324, -0.0014166589826345444, 0.010044297203421593, -0.017282437533140182, 0.03227824345231056, -0.024899236857891083, 0.02231808379292488, -0.034237828105688095, 0.060216959565877914, -0.01751948706805706, 0.012177209369838238, -0.011095680296421051, -0.01151796244084835, -0.03975046053528786, -0.021584874019026756, -0.011479966342449188, -0.045911163091659546, 0.0538705475628376, 0.04955768585205078, 0.04535922780632973, 0.02962327189743519, -0.016030006110668182, 0.009607060812413692, -0.0014787983382120728, -0.052863288670778275, -0.004136668052524328, 0.004778241738677025, 0.046290915459394455, 0.016172494739294052, 0.04556892067193985, 0.022431038320064545, -0.06450491398572922, -0.050217144191265106, 0.048883333802223206, 0.009395820088684559, 0.006427244283258915, 0.012735679745674133, 0.03532355651259422, 0.04049087315797806, 0.04697282239794731, -0.02726832590997219, -0.010872550308704376, -0.018298210576176643, -0.02273431606590748, 0.0361035093665123, -0.011569987051188946, 0.0038616058882325888, -0.0008499590330757201, -0.0402962900698185, -0.018735231831669807, 0.05745129659771919, 0.013866031542420387, 0.02152756042778492, -0.017995061352849007, -0.039642225950956345, 0.0038841692730784416, -0.008105486631393433, -0.038495756685733795, 0.0017922293627634645, 0.001899263239465654, -0.025142833590507507, 0.09028031677007675, -0.00392602663487196, 0.014917729422450066, 0.027252666652202606, 0.009478751569986343, -0.021541759371757507, 0.0455431267619133, -0.019208762794733047, 0.011087417602539062, 0.03820926696062088, -0.056823041290044785, -0.008653438650071621, -0.023874716833233833, 0.05924506485462189, -0.09230536967515945, 0.04111131280660629, 0.04444066807627678, 0.021262193098664284, 0.032935138791799545, -0.03063841350376606, -0.041459131985902786, 0.04481353238224983, -0.052394796162843704, 0.0811915174126625, 0.01753801666200161, -0.04167582839727402, 0.07103138417005539, 0.018780848011374474, -0.10505976527929306, 0.05485544353723526, 0.0485868826508522, 0.02821681834757328, 0.03399597480893135, 0.04921892657876015, -0.04249513894319534, 0.008399744518101215, -0.05391694977879524, 0.03715074807405472, -0.054028842598199844, 0.0019895476289093494, 0.0030525282490998507, -0.050302475690841675, -0.02754405327141285, 0.016983725130558014, -0.0053185587748885155, -0.019493889063596725, 0.005657494999468327, -0.05399443581700325, -0.05118407681584358, -0.007319046184420586, 0.03986743092536926, -0.05975808575749397, -0.014178577810525894, -0.03929249197244644, 0.013115130364894867, 0.014455469325184822, 0.011160092428326607, -0.028651393949985504, -0.02108847163617611, 0.02084415964782238, -0.048977382481098175, -0.040760587900877, 0.045446284115314484, 0.017457960173487663, -0.031000051647424698, 0.04724014922976494, 0.007397359237074852, 0.02817428670823574, 0.026576649397611618, 0.009908859618008137, 0.0318421833217144, -0.07677102833986282, -0.0324241928756237, -0.012614070437848568, 0.007556273136287928, 0.02113374136388302, -0.005460452754050493, 0.04713466763496399, 0.045591916888952255, -0.002142328768968582, 0.017424538731575012, -0.030326008796691895, -0.029694298282265663, 0.029065657407045364, -0.04437079653143883, 0.02417696639895439, 0.01217463705688715, -0.04448722302913666, -0.01975509151816368, -0.004517038352787495, -0.005013575311750174, 0.04086647555232048, -0.06108997017145157, 0.006707381457090378, 0.03241056203842163, -0.03553052619099617, -0.029672354459762573, -0.06296993046998978, -0.039032839238643646, -0.03825939819216728, 0.03621905297040939, 0.022616470232605934, -0.04798850789666176, 0.010697879828512669, -0.05559160187840462, -0.05887628346681595, -0.0015806218143552542, 0.018626414239406586, -0.03661471977829933, 0.04375583305954933, 0.04879184067249298, -0.05167558044195175, 0.02153809368610382, 0.03732006996870041, -0.01802678033709526, 0.046057574450969696, 0.006418260280042887, 0.009484367445111275, 0.035865556448698044, 0.028176598250865936, -0.04139232262969017, -0.023519113659858704, -0.066324383020401, -0.043365802615880966, -0.02086132951080799, -0.006041037384420633, 0.04783210903406143 ]
bert-base-cased-finetuned-mrpc
[ "pytorch", "tf", "jax", "bert", "fill-mask", "transformers", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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 } } }
11,644
2021-03-20T06:15:02Z
--- language: id datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Indonesian by cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice id type: common_voice args: id metrics: - name: Test WER type: wer value: 25.86 --- # Wav2Vec2-Large-XLSR-Indonesian Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the [Indonesian Common Voice dataset](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", "id", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") 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 as follows on the Indonesian 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", "id", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-indonesian") 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**: 25.86 % ## Training The Common Voice `train`, `validation`, and ... datasets were used for training as well as ... and ... # TODO The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition) (will be available soon)
[ -0.034249454736709595, -0.0274265818297863, -0.014105534180998802, 0.03374805673956871, 0.04969670623540878, 0.0309185441583395, -0.017061308026313782, -0.02100168913602829, -0.026669817045331, 0.0696888342499733, 0.03523674234747887, -0.026418903842568398, -0.010171330533921719, 0.034188009798526764, -0.027245569974184036, -0.05395560339093208, -0.022509651258587837, -0.0030825433786958456, -0.06475090980529785, -0.011248650960624218, 0.009221179410815239, 0.022393811494112015, -0.016298068687319756, 0.015438086353242397, -0.005508655682206154, 0.0033569142688065767, -0.0119174188002944, 0.021001365035772324, 0.016808083280920982, -0.0664539560675621, -0.0139567656442523, -0.03582141175866127, -0.02185528352856636, -0.052997514605522156, -0.020142674446105957, -0.006223376374691725, 0.0026146136224269867, 0.027377299964427948, 0.025675445795059204, 0.033418815582990646, -0.02674175798892975, 0.01438008900731802, -0.01775396056473255, 0.0034337337128818035, 0.024652061983942986, -0.0020188067574054003, -0.037566766142845154, -0.011267714202404022, 0.02249029092490673, -0.021532412618398666, -0.024905921891331673, -0.07753565162420273, -0.013291541486978531, 0.022506950423121452, -0.020321302115917206, -0.02371668815612793, -0.05253338813781738, -0.03611568734049797, 0.06030646339058876, -0.048166997730731964, -0.018206380307674408, 0.009603701531887054, -0.0743786171078682, 0.01714208908379078, 0.020955903455615044, -0.0508870929479599, -0.0058978223241865635, -0.04591548070311546, 0.027421578764915466, -0.0182973500341177, 0.0545688197016716, -0.040725335478782654, 0.01693214662373066, -0.0964805856347084, 0.014405041933059692, -0.014434663578867912, 0.037896186113357544, 0.040624313056468964, -0.0266258604824543, 0.06126682832837105, 0.023154087364673615, 0.004980717319995165, 0.01999223604798317, -0.02420671097934246, 0.002427594503387809, 0.04078725725412369, -0.03301384672522545, 0.02275041863322258, 0.009012040682137012, 0.03817465156316757, -0.03515457734465599, -0.048966098576784134, -0.012216736562550068, -0.04727878421545029, -0.006466986145824194, 0.03360365703701973, 0.032635122537612915, -0.014504742808640003, 0.04200997203588486, 0.031957224011421204, 0.012561120092868805, 0.03170417994260788, -0.02646472305059433, 0.0670434981584549, -0.019860953092575073, -0.001481829211115837, -0.016661621630191803, -0.03973083570599556, -0.035976286977529526, 0.02088167704641819, 0.04622550308704376, -0.048599448055028915, -0.05350448936223984, 0.0388658381998539, 0.013825160451233387, -0.01675787754356861, 0.03911825641989708, -0.04465092718601227, -0.03742801398038864, -0.056010209023952484, 0.0323668047785759, 0.010227575898170471, 0.002681771293282509, 0.0048510292544960976, -0.04626218602061272, 0.027878955006599426, -0.037639547139406204, -0.033957723528146744, 0.013092602603137493, 0.012567136436700821, -0.009098909795284271, 0.0333251878619194, 0.011437038891017437, -0.04885289818048477, -0.005693041253834963, 0.009668349288403988, -0.06688164174556732, 0.027759719640016556, 0.010605798102915287, 0.07666833698749542, -0.05142854526638985, -0.04804490506649017, 0.02054518274962902, -0.0010787196224555373, -0.005000587552785873, 0.026666849851608276, 0.016439517959952354, -0.02458624355494976, -0.03878851607441902, -0.011568011716008186, 0.048890434205532074, -0.06482291966676712, -0.006351891905069351, 0.05057137459516525, -0.02242792397737503, 0.04081802815198898, -0.023752884939312935, -0.0015046391636133194, 0.02247754856944084, -0.0007113228202797472, -0.0065741101279854774, 0.04176502674818039, 0.00007510665454901755, -0.0386473573744297, -0.031908970326185226, -0.0450955294072628, -0.015068404376506805, 0.08473800867795944, 0.0027917218394577503, 0.01274831686168909, -0.015270956791937351, 0.036828894168138504, 0.05140618234872818, 0.024956166744232178, -0.03484780341386795, 0.02877168171107769, 0.07527999579906464, 0.03609546273946762, -0.014346495270729065, 0.08487807959318161, 0.030562497675418854, -0.02467173896729946, -0.017389986664056778, -0.006802166812121868, 0.012340099550783634, -0.028866086155176163, -0.006663535721600056, 0.046821679919958115, -0.003749750554561615, -0.023176608607172966, -0.02019272930920124, 0.05348973348736763, -0.016818957403302193, -0.017168475314974785, -0.018582897260785103, -0.009425854310393333, -0.03117354027926922, 0.02828693762421608, -0.03167901560664177, 0.008728600107133389, -0.02557782083749771, -0.01755453459918499, -0.012142947874963284, 0.042961932718753815, 0.017760105431079865, 0.052159667015075684, -0.007197516039013863, 0.0902918204665184, -0.0358361154794693, 0.0032671205699443817, -0.05152907222509384, -0.04156702756881714, -0.010313065722584724, 0.04834059625864029, 0.02270740084350109, 0.0687660351395607, -0.002338506281375885, -0.03407049551606178, 0.029180599376559258, 0.06243784353137016, 0.07067812979221344, 0.029219552874565125, -0.011866474524140358, -0.01592225208878517, 0.028858473524451256, 0.0611112006008625, -0.08048738539218903, -0.03438267856836319, 0.00986519455909729, 0.023441648110747337, -0.02176835760474205, 0.018445150926709175, -0.01107021700590849, 0.039413534104824066, -0.051804013550281525, -0.07658598572015762, 0.0560588575899601, 0.02391277439892292, 0.026529286056756973, 0.026804499328136444, -0.024320168420672417, -0.005154755897819996, 0.035800740122795105, 0.004388639237731695, -0.00004260660716681741, -0.0246866624802351, 0.003957446198910475, 0.008163785561919212, 0.04524223506450653, -0.07216430455446243, 0.03384307026863098, -0.02600293606519699, 0.01235801912844181, 0.029479220509529114, -0.04172993823885918, 0.04435311630368233, 0.019174549728631973, 0.0034361802972853184, -0.026221122592687607, 0.02414831705391407, -0.00804449524730444, 0.037110619246959686, 0.05148478224873543, 0.01682606339454651, 0.04908500239253044, 0.006096160504966974, 0.0475456565618515, 0.10300355404615402, 0.02317637763917446, 0.001868869992904365, 0.017534831538796425, 0.07798057794570923, -0.0005403844988904893, -0.02090032957494259, 0.07811208814382553, -0.04084394872188568, 0.03480415418744087, -0.030768295750021935, 0.008472757413983345, -0.017406709492206573, 0.0004050364368595183, 0.029415849596261978, 0.013910822570323944, -0.007385569624602795, 0.005857289303094149, -0.021980805322527885, -0.01761925406754017, 0.038206908851861954, -0.023076169192790985, -0.027516204863786697, 0.0038708988577127457, -0.010275645181536674, -0.008105184882879257, -0.08692226558923721, -0.03447006642818451, -0.01318349502980709, -0.04404104873538017, 0.0031893039122223854, -0.07131817191839218, -0.029528053477406502, -0.06860402226448059, -0.02204296551644802, 0.023837324231863022, 0.01992676593363285, 0.01152899581938982, -0.03101319447159767, 0.017392726615071297, -0.05904558300971985, -0.040339577943086624, -0.04698360338807106, -0.038587700575590134, -0.012849525548517704, -0.07196402549743652, 0.030934272333979607, 0.02085045725107193, 0.0422288179397583, 0.005068068392574787, -0.0048534078523516655, -0.015489480458199978, -0.03029049001634121, 0.0425855927169323, 0.04757465794682503, -0.044814687222242355, -0.0682421624660492, 0.04342375695705414, -0.030825192108750343, 0.013483795337378979, -0.004900156054645777, -0.038592591881752014, 0.07573208212852478, 0.056153468787670135, 0.01879986748099327, 0.017324263229966164, -0.028723573312163353, -0.054193802177906036, -0.058457937091588974, -0.02471011132001877, -0.047100067138671875, -0.025192586705088615, -0.013834972865879536, -0.03515678644180298, -0.017418546602129936, 0.0016087376279756427, -0.016632771119475365, -0.011877265758812428, 0.013947760686278343, 0.057701632380485535, 0.052520204335451126, 0.025697967037558556, 0.04338083043694496, -0.03472818434238434, -0.0527980774641037, 0.07376159727573395, 0.02957329712808132, 0.00999759417027235, -0.06924453377723694, -0.03996310383081436, 0.02421247959136963, 0.02094525471329689, -0.02194339781999588, 0.0020125906448811293, 0.08852191269397736, -0.00395420053973794, -0.005736730061471462, 0.006528210826218128, -0.01845191977918148, -0.020308515056967735, -0.018898094072937965, -0.017853235825896263, 0.0018110048258677125, -0.07354681938886642, 0.003935941495001316, 0.002306463196873665, 0.05011417716741562, -0.0703902468085289, -0.0547291524708271, -0.009194906800985336, 0.05482812225818634, 0.029761193320155144, -0.019325578585267067, -0.03733181208372116, -0.0030759007204324007, -0.0520801804959774, -0.03842039033770561, 0.016173172742128372, 0.01327271293848753, 0.01996031031012535, 0.04619423672556877, -0.003325714962556958, -0.031670473515987396, 0.04770314320921898, 0.03978126496076584, 0.07053712010383606, 0.017441237345337868, -0.05784730985760689, -0.007186947390437126, -0.016662877053022385, 0.014754729345440865, -0.00724332919344306, -0.025473449379205704, -0.03172893822193146, -0.08503328263759613, -0.01574258878827095, 0.01248833816498518, -0.019081179052591324, -0.031185997650027275, 0.041263628751039505, 0.010115813463926315, 0.007978233508765697, 0.009726950898766518, 0.022494535893201828, 0.0307606291025877, -0.04459642991423607, 0.03233056887984276, 0.006356032099574804, 0.03803153708577156, -0.07620713114738464, 0.019188351929187775, -0.014940598979592323, -0.019570618867874146, 0.0010023143840953708, 0.06065183877944946, 0.023287365213036537, 0.03644733875989914, 0.07009949535131454, 0.011345306411385536, -0.0347168855369091, 0.059351157397031784, 0.04067827761173248, -0.04508693516254425, -0.067332424223423, -0.003875043708831072, -0.019773874431848526, -0.04864624887704849, 0.003459690138697624, -0.04859241470694542, 0.05358556658029556, 0.018395328894257545, -0.012646052986383438, -0.025199873372912407, 0.00767868384718895, -0.023238692432641983, -0.020299382507801056, -0.03291471675038338, -0.04932725057005882, 0.02654467709362507, -0.03415268287062645, 0.02286602184176445, 0.02492527849972248, 0.009606235660612583, 0.07809305936098099, 0.04204811155796051, -0.031776685267686844, -0.04667770117521286, 0.02612769603729248, 0.04051710292696953, -0.03341735899448395, -0.07015662640333176, -0.03590133786201477, 0.04676581919193268, 0.023477744311094284, 0.005596897564828396, -0.07857702672481537, -0.0029579719994217157, 0.05453919991850853, -0.036291006952524185, 0.05328179523348808, -0.027541907504200935, 0.050359271466732025, 0.06439501792192459, -0.016088392585515976, 0.008808644488453865, -0.026190176606178284, 0.0148248840123415, 0.012616080231964588, 0.025230273604393005, -0.01608360931277275, -0.028428075835108757, -0.07689563930034637, 0.021170422434806824, 0.046566806733608246, 0.027470024302601814, 0.03326864540576935, -0.010567264631390572, -0.055403925478458405, 0.00306494883261621, 0.03730824217200279, -0.022819718345999718, 0.02391859143972397, 0.017061853781342506, 0.025035470724105835, -0.028648309409618378, -0.01095159538090229, -0.003514908952638507, 0.0072594149969518185, 0.02632535621523857, 0.01367174368351698, -0.04560224711894989, -0.036117348819971085, 0.013044152408838272, -0.008824286051094532, -0.04121703654527664, -0.07436225563287735, 0.03236573934555054, -0.023352915421128273, -0.009148644283413887, 0.04890412092208862, 0.03354867547750473, 0.05262445658445358, 0.028480805456638336, 0.007136271335184574, 0.016186082735657692, -0.03838980570435524, 0.03791084885597229, -0.03342695161700249, -0.014549972489476204, -0.0166554544121027, -0.04164315387606621, -0.024053523316979408, -0.017745008692145348, -0.048801034688949585, -0.040606532245874405, -0.0032422770746052265, 0.03975154459476471, -0.019109230488538742, -0.015682823956012726, -0.01641330122947693, 0.04862994700670242, -0.03262213245034218, -0.033292755484580994, -0.033105913549661636, -0.019828664138913155, -0.06518876552581787, -0.05911368876695633, 0.026236576959490776, -0.002651213901117444, 0.0329110249876976, 0.010279329493641853, 0.019713161513209343, 0.025608805939555168, -0.0004451955028343946, 0.005106293596327305, 0.0329139344394207, -0.013727228157222271, -0.05075030028820038, -0.04590700939297676, 0.024135205894708633, 0.005326171405613422, 0.06207950413227081, -0.017399903386831284, 0.02947544865310192, 0.01694135181605816, -0.038523368537425995, -0.006945904344320297, 0.013955721631646156, 0.05789073929190636, -0.060564372688531876, -0.04123087227344513, -0.006162184290587902, -0.0614495612680912, 0.006639591883867979, -0.011082008481025696, 0.009147897362709045, 0.02186495065689087, 0.011506542563438416, 0.04780764877796173, -0.003778753336519003, -0.031231112778186798, 0.010293879546225071, 0.00014377073966898024, -0.004602632950991392, -0.0630447193980217, 0.05372053012251854, -0.0273161418735981, 0.014702937565743923, 0.0009756056824699044, -0.018424535170197487, -0.04696387052536011, 0.02943558804690838, 0.0006564621580764651, -0.01837076246738434, -0.005204301793128252, 0.004876242950558662, -0.012714505195617676, 0.041420888155698776, -0.022326190024614334, 0.02673276513814926, -0.029227765277028084, 0.05863283947110176, -0.011877826415002346, 0.020526424050331116, -0.010048704221844673, -0.011367188766598701, -0.040494874119758606, -0.020328063517808914, -0.012237627059221268, -0.048502497375011444, 0.04636590555310249, 0.05139559507369995, 0.05055207759141922, 0.02941143326461315, -0.022596703842282295, -0.0029370973352342844, -0.010887750424444675, -0.056101977825164795, -0.007327299565076828, 0.004222237970679998, 0.04770972952246666, 0.024081017822027206, 0.042307257652282715, 0.024194568395614624, -0.06734897941350937, -0.04653459042310715, 0.04915428161621094, 0.010976371355354786, 0.010267817415297031, 0.01490469928830862, 0.03818678855895996, 0.03533396124839783, 0.05654965341091156, -0.02740926295518875, -0.00011247672227909788, -0.01750359497964382, -0.031008338555693626, 0.04020971059799194, -0.010601024143397808, 0.005097072571516037, -0.0006923502660356462, -0.03829047083854675, -0.014875021763145924, 0.060856882482767105, 0.022034136578440666, 0.021193206310272217, -0.029627541080117226, -0.041183795779943466, 0.0019976540934294462, -0.013191656209528446, -0.0484415702521801, 0.007560414727777243, -0.005536713171750307, -0.02752012573182583, 0.09227902442216873, 0.0002177686692448333, 0.013892200775444508, 0.015279035083949566, 0.02199350669980049, -0.027943097054958344, 0.04123733937740326, -0.021714115515351295, 0.015843553468585014, 0.040089067071676254, -0.05693504586815834, -0.006985933519899845, -0.027004066854715347, 0.060634344816207886, -0.08620674163103104, 0.03700907155871391, 0.04701698198914528, 0.014164676889777184, 0.03684272617101669, -0.03164790943264961, -0.0439855232834816, 0.051688749343156815, -0.04151791334152222, 0.07532654702663422, 0.021368389949202538, -0.04717538505792618, 0.07657546550035477, 0.014020416885614395, -0.10069814324378967, 0.05255855619907379, 0.04502410069108009, 0.03132684528827667, 0.03591981530189514, 0.05460977554321289, -0.052948933094739914, 0.005080294795334339, -0.052549540996551514, 0.029416712000966072, -0.06500882655382156, 0.004641587845981121, 0.018552584573626518, -0.04738735035061836, -0.029156159609556198, 0.01735405996441841, -0.004229898098856211, -0.022176433354616165, 0.00300955050624907, -0.0597204864025116, -0.03758793696761131, -0.012922904454171658, 0.03521199896931648, -0.05574951693415642, -0.011756816878914833, -0.04051866754889488, 0.012988422065973282, 0.01650363579392433, 0.009258829988539219, -0.024382973089814186, -0.024558885022997856, 0.021758871152997017, -0.051734790205955505, -0.041384756565093994, 0.029869556427001953, 0.01626753993332386, -0.028820255771279335, 0.062220823019742966, 0.011968175880610943, 0.028423279523849487, 0.02203487604856491, 0.01111395563930273, 0.03714466467499733, -0.07303771376609802, -0.03188053518533707, -0.005342700053006411, 0.0063880011439323425, 0.017689373344182968, -0.011501645669341087, 0.05780265852808952, 0.04348594322800636, -0.006365979555994272, 0.016684498637914658, -0.0252520889043808, -0.029921894893050194, 0.029654819518327713, -0.039138175547122955, 0.021929310634732246, 0.012027647346258163, -0.043565042316913605, -0.0179477259516716, -0.003574114991351962, -0.011036126874387264, 0.03830082342028618, -0.06311855465173721, 0.0034170367289334536, 0.022181782871484756, -0.036825962364673615, -0.038110919296741486, -0.05628642812371254, -0.040928661823272705, -0.03115004487335682, 0.04084892198443413, 0.022036943584680557, -0.053496405482292175, 0.011725680902600288, -0.060863807797431946, -0.06104607135057449, -0.0017539570108056068, 0.015113841742277145, -0.03502858430147171, 0.0603829026222229, 0.051431357860565186, -0.05697738006711006, 0.024008672684431076, 0.03403943404555321, -0.020837919786572456, 0.04231008514761925, -0.0001402326306561008, 0.014950052835047245, 0.043483246117830276, 0.019283192232251167, -0.04313720762729645, -0.02681393176317215, -0.06034592539072037, -0.03489936143159866, -0.023028021678328514, -0.014836118556559086, 0.048341792076826096 ]
bert-base-cased
[ "pytorch", "tf", "jax", "safetensors", "bert", "fill-mask", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1810.04805", "transformers", "exbert", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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 } } }
8,621,271
2021-03-27T12:25:36Z
--- language: jv datasets: - openslr metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Javanese by cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: OpenSLR High quality TTS data for Javanese type: OpenSLR args: jv metrics: - name: Test WER type: wer value: 17.61 --- # Wav2Vec2-Large-XLSR-Javanese Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the [OpenSLR High quality TTS data for Javanese](https://openslr.org/41/). 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, load_metric, Dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor from datasets.utils.download_manager import DownloadManager from pathlib import Path import pandas as pd def load_dataset_javanese(): urls = [ "https://www.openslr.org/resources/41/jv_id_female.zip", "https://www.openslr.org/resources/41/jv_id_male.zip" ] dm = DownloadManager() download_dirs = dm.download_and_extract(urls) data_dirs = [ Path(download_dirs[0])/"jv_id_female/wavs", Path(download_dirs[1])/"jv_id_male/wavs", ] filenames = [ Path(download_dirs[0])/"jv_id_female/line_index.tsv", Path(download_dirs[1])/"jv_id_male/line_index.tsv", ] dfs = [] dfs.append(pd.read_csv(filenames[0], sep='\t', names=["path", "sentence"])) dfs.append(pd.read_csv(filenames[1], sep='\t', names=["path", "client_id", "sentence"])) dfs[1] = dfs[1].drop(["client_id"], axis=1) for i, dir in enumerate(data_dirs): dfs[i]["path"] = dfs[i].apply(lambda row: str(data_dirs[i]) + "/" + row + ".wav", axis=1) df = pd.concat(dfs) # df = df.sample(frac=1, random_state=1).reset_index(drop=True) dataset = Dataset.from_pandas(df) dataset = dataset.remove_columns('__index_level_0__') return dataset.train_test_split(test_size=0.1, seed=1) dataset = load_dataset_javanese() test_dataset = dataset['test'] processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-javanese") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-javanese") 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 as follows or using this [notebook](https://github.com/cahya-wirawan/indonesian-speech-recognition/blob/main/XLSR_Wav2Vec2_for_Indonesian_Evaluation-Javanese.ipynb) ```python import torch import torchaudio from datasets import load_dataset, load_metric, Dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re from datasets.utils.download_manager import DownloadManager from pathlib import Path import pandas as pd def load_dataset_javanese(): urls = [ "https://www.openslr.org/resources/41/jv_id_female.zip", "https://www.openslr.org/resources/41/jv_id_male.zip" ] dm = DownloadManager() download_dirs = dm.download_and_extract(urls) data_dirs = [ Path(download_dirs[0])/"jv_id_female/wavs", Path(download_dirs[1])/"jv_id_male/wavs", ] filenames = [ Path(download_dirs[0])/"jv_id_female/line_index.tsv", Path(download_dirs[1])/"jv_id_male/line_index.tsv", ] dfs = [] dfs.append(pd.read_csv(filenames[0], sep='\t', names=["path", "sentence"])) dfs.append(pd.read_csv(filenames[1], sep='\t', names=["path", "client_id", "sentence"])) dfs[1] = dfs[1].drop(["client_id"], axis=1) for i, dir in enumerate(data_dirs): dfs[i]["path"] = dfs[i].apply(lambda row: str(data_dirs[i]) + "/" + row + ".wav", axis=1) df = pd.concat(dfs) # df = df.sample(frac=1, random_state=1).reset_index(drop=True) dataset = Dataset.from_pandas(df) dataset = dataset.remove_columns('__index_level_0__') return dataset.train_test_split(test_size=0.1, seed=1) dataset = load_dataset_javanese() test_dataset = dataset['test'] wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-javanese") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-javanese") 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**: 17.61 % ## Training [OpenSLR High quality TTS data for Javanese](https://openslr.org/41/) was used for training. The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition/blob/main/XLSR_Wav2Vec2_for_Indonesian_Evaluation-Javanese.ipynb) and to [evaluate it](https://github.com/cahya-wirawan/indonesian-speech-recognition/blob/main/XLSR_Wav2Vec2_for_Indonesian_Evaluation-Javanese.ipynb)
[ -0.024656031280755997, -0.03604091331362724, -0.019639335572719574, 0.04475624859333038, 0.053629398345947266, 0.02738947793841362, 0.004469562787562609, -0.009829715825617313, -0.0207561906427145, 0.07330473512411118, 0.03480994701385498, -0.038219552487134933, 0.0020503588020801544, 0.04023187234997749, -0.026492368429899216, -0.04873816668987274, -0.004187550395727158, -0.014299056492745876, -0.06544402241706848, -0.002095490228384733, 0.022092305123806, 0.02502361126244068, -0.017647992819547653, 0.025017214938998222, -0.015818575397133827, -0.003624272532761097, 0.008585875853896141, 0.009047156199812889, 0.0027170279063284397, -0.05154404789209366, -0.031617421656847, -0.029462648555636406, -0.013461957685649395, -0.04973761737346649, -0.02253309078514576, -0.017476893961429596, 0.00010313837265130132, 0.012324242852628231, 0.021107835695147514, 0.031518276780843735, -0.026045024394989014, -0.0068125417456030846, -0.018488241359591484, 0.01164442952722311, 0.031132612377405167, -0.002107380423694849, -0.031034130603075027, -0.0033576732967048883, 0.024183306843042374, -0.019562844187021255, -0.01724144257605076, -0.09163889288902283, -0.029038695618510246, 0.013243590481579304, -0.029555844143033028, -0.03509356826543808, -0.053598735481500626, -0.02583063393831253, 0.06205437332391739, -0.06515367329120636, -0.024982597678899765, 0.006726013496518135, -0.08164530992507935, 0.01181061752140522, 0.014706045389175415, -0.04076610505580902, -0.02141610160470009, -0.042306866496801376, 0.036849360913038254, -0.016746385022997856, 0.052666712552309036, -0.039321016520261765, 0.027236321941018105, -0.08562155067920685, 0.0043696267530322075, -0.017663484439253807, 0.02983742207288742, 0.048465218394994736, -0.03584491088986397, 0.05337635427713394, 0.029240606352686882, 0.00386618310585618, 0.02209809422492981, -0.01777152717113495, -0.016811314970254898, 0.032933369278907776, -0.03159872069954872, 0.016353700309991837, 0.008049719035625458, 0.041171278804540634, -0.041026391088962555, -0.054819442331790924, -0.02472209930419922, -0.036408934742212296, -0.018143462017178535, 0.026923498138785362, 0.030822305008769035, -0.031807515770196915, 0.04854639247059822, 0.03537682816386223, 0.013640422374010086, 0.034955672919750214, -0.008071730844676495, 0.06613591313362122, -0.004026464186608791, -0.013270325027406216, -0.009818268939852715, -0.049579329788684845, -0.03934585675597191, 0.016791826114058495, 0.03691418841481209, -0.06046871840953827, -0.04723374918103218, 0.05477859824895859, 0.02840716764330864, -0.020949088037014008, 0.03482510894536972, -0.02678997814655304, -0.03503876179456711, -0.06290534138679504, 0.03343814238905907, 0.021450955420732498, 0.00024276463955175132, 0.005423858296126127, -0.05252273380756378, 0.028231240808963776, -0.035073958337306976, -0.032025571912527084, 0.012485231272876263, 0.020085707306861877, -0.028825543820858, 0.032626714557409286, 0.03177836164832115, -0.03842303156852722, -0.004948090761899948, -0.003077256726101041, -0.057678960263729095, 0.02733742818236351, 0.01777474954724312, 0.08302374929189682, -0.05264067277312279, -0.05259798839688301, 0.024402854964137077, 0.009541720151901245, -0.006540617439895868, 0.026690855622291565, -0.008652974851429462, -0.031019052490592003, -0.03499649837613106, -0.0423218198120594, 0.045743800699710846, -0.05483017489314079, -0.005696039646863937, 0.04633930325508118, -0.02712045982480049, 0.03518998250365257, -0.026975117623806, -0.015758559107780457, 0.02520734816789627, 0.0023246314376592636, -0.006675779819488525, 0.031941819936037064, 0.0016810724046081305, -0.032988857477903366, -0.031282417476177216, -0.03937666490674019, -0.01891263946890831, 0.10130944103002548, 0.001038495684042573, 0.007244538515806198, -0.018236011266708374, 0.015566930174827576, 0.03910273313522339, 0.01658213883638382, -0.019712282344698906, 0.03397173061966896, 0.06667976081371307, 0.02225484699010849, -0.013758805580437183, 0.08747147768735886, 0.03235027939081192, -0.009785342030227184, -0.02235504798591137, 0.00554234255105257, 0.02371751330792904, -0.02400195598602295, -0.0012460845755413175, 0.0426943339407444, 0.0009351893095299602, -0.015859032049775124, -0.002983109327033162, 0.06597268581390381, -0.001590637257322669, -0.02252904884517193, -0.013321438804268837, 0.005367662291973829, -0.029172062873840332, 0.0291077122092247, -0.030507326126098633, -0.0006286879652179778, -0.030321184545755386, -0.01720369979739189, -0.009735812433063984, 0.051338158547878265, 0.014978880994021893, 0.02926000952720642, -0.0001865608210209757, 0.07781632244586945, -0.025702452287077904, 0.005020643584430218, -0.049408718943595886, -0.036662761121988297, -0.014955825172364712, 0.03987021744251251, 0.020881760865449905, 0.05940651148557663, -0.008744683116674423, -0.02680065855383873, 0.027439219877123833, 0.06520199775695801, 0.06809312105178833, 0.031199779361486435, -0.030578598380088806, -0.011520776897668839, 0.03285978361964226, 0.06785820424556732, -0.0823153704404831, -0.03715132549405098, 0.02766854129731655, 0.03526277840137482, -0.022378720343112946, 0.02457381971180439, -0.00021871001808904111, 0.034450456500053406, -0.04295894131064415, -0.09860579669475555, 0.04277624189853668, 0.038085199892520905, 0.02749600261449814, 0.01853279210627079, -0.011261969804763794, 0.003980523906648159, 0.03304223716259003, 0.005695474334061146, -0.003182728076353669, -0.026538847014307976, 0.0009863227605819702, 0.009219121187925339, 0.057802215218544006, -0.0497795045375824, 0.017352422699332237, -0.014266826212406158, 0.027068128809332848, 0.027149688452482224, -0.043603815138339996, 0.02080591954290867, 0.024470364674925804, -0.0016742793377488852, -0.019219305366277695, 0.020374951884150505, 0.020237425342202187, 0.028023473918437958, 0.0384996235370636, 0.005991475190967321, 0.062155112624168396, 0.0005896216025575995, 0.06349682807922363, 0.11190483719110489, 0.018377013504505157, 0.008763810619711876, 0.008578379638493061, 0.07909125089645386, -0.007491296157240868, 0.0009767860174179077, 0.08734957873821259, -0.03176422044634819, 0.026638465002179146, -0.028892921283841133, -0.001825443934649229, -0.0033787121064960957, -0.001121318549849093, 0.00997658260166645, 0.019601792097091675, -0.027656054124236107, -0.0067760394886136055, -0.019152704626321793, -0.01441437192261219, 0.03155149519443512, -0.036923155188560486, -0.023216743022203445, 0.0070401933044195175, -0.0077689820900559425, -0.004306195303797722, -0.06938746571540833, -0.046778373420238495, -0.006022694054991007, -0.03335955739021301, -0.0045648072846233845, -0.08639238029718399, -0.03025009110569954, -0.07315979897975922, -0.013996390625834465, 0.03618113696575165, 0.024273717775940895, -0.0002217431174358353, -0.024200906977057457, 0.02044995315372944, -0.051373839378356934, -0.027506975457072258, -0.04411192983388901, -0.05719940364360809, -0.023550814017653465, -0.06546004861593246, 0.021436171606183052, 0.028873758390545845, 0.0354798249900341, 0.006546925753355026, 0.01822006143629551, -0.017110148444771767, -0.04661748930811882, 0.027662424370646477, 0.04103350266814232, -0.03610154613852501, -0.05320749804377556, 0.05180817469954491, -0.019054023548960686, 0.015013719908893108, 0.009254679083824158, -0.029394594952464104, 0.08125130832195282, 0.05657614767551422, 0.01510531920939684, 0.010293482802808285, -0.028665216639637947, -0.04665379598736763, -0.05508283153176308, -0.038551539182662964, -0.06069314852356911, -0.03489536792039871, -0.021241161972284317, -0.02876218594610691, -0.018162759020924568, -0.008787132799625397, -0.024005046114325523, -0.020308732986450195, 0.011879133991897106, 0.058671146631240845, 0.06457868218421936, 0.03941064700484276, 0.04444598779082298, -0.0475597120821476, -0.03476857766509056, 0.07931238412857056, 0.00693677831441164, 0.0014325740048661828, -0.06324514001607895, -0.043888188898563385, 0.026508642360568047, 0.010953295044600964, -0.020601896569132805, -0.0038048140704631805, 0.08489439636468887, 0.018387161195278168, -0.0031279227696359158, 0.01420997828245163, -0.020632512867450714, -0.02252385765314102, -0.020526589825749397, -0.02192750759422779, 0.0006087828078307211, -0.07124247401952744, 0.004340325016528368, -0.004861989989876747, 0.04521089792251587, -0.05170214921236038, -0.057108230888843536, 0.0048740762285888195, 0.04729308933019638, 0.020780231803655624, -0.017632994800806046, -0.022371690720319748, 0.0013039663899689913, -0.05371016263961792, -0.044575512409210205, 0.012831959873437881, 0.015247141011059284, 0.013306842185556889, 0.0537736639380455, 0.00345612526871264, -0.02949322573840618, 0.04328080639243126, 0.031380217522382736, 0.06259866058826447, 0.022591181099414825, -0.044768478721380234, -0.0057211462408304214, -0.021620096638798714, 0.017659936100244522, 0.0020730881951749325, -0.01818385347723961, -0.03350801020860672, -0.0635322853922844, -0.005198054015636444, 0.02207944169640541, -0.015828078612685204, -0.03364459052681923, 0.04617214575409889, -0.0006572680431418121, 0.008854054845869541, 0.0010471356799826026, 0.03172725811600685, 0.03376783803105354, -0.050032880157232285, 0.037960853427648544, 0.007702309172600508, 0.03772309795022011, -0.08196040242910385, 0.007610456086695194, -0.014812925830483437, -0.010892312973737717, 0.006158952135592699, 0.054195586591959, 0.025010470300912857, 0.033717188984155655, 0.07590174674987793, 0.02226516418159008, -0.03662945330142975, 0.06618361920118332, 0.03802965581417084, -0.04557393118739128, -0.06578844785690308, -0.013709667138755322, -0.03416319563984871, -0.037041231989860535, 0.001950071775354445, -0.04754970967769623, 0.04776088520884514, 0.017438190057873726, -0.02054067887365818, -0.012256589718163013, 0.000678305106703192, -0.011880429461598396, -0.02145650051534176, -0.036732010543346405, -0.04579567909240723, 0.014852751046419144, -0.034997887909412384, 0.01002653781324625, 0.028286587446928024, 0.021248871460556984, 0.06771489977836609, 0.049004752188920975, -0.02834498882293701, -0.03993752598762512, 0.021784570068120956, 0.03951799497008324, -0.025167172774672508, -0.0624668151140213, -0.0370945930480957, 0.05569523200392723, 0.02061135694384575, -0.003264699364081025, -0.08317799866199493, 0.012119222432374954, 0.035754699259996414, -0.03660135716199875, 0.0492769293487072, -0.0193724874407053, 0.06699736416339874, 0.06722105294466019, -0.02495967224240303, 0.005829552188515663, -0.032780472189188004, 0.009899847209453583, 0.007546136621385813, 0.01765136793255806, -0.018269410356879234, -0.019342390820384026, -0.07780084013938904, 0.011965234763920307, 0.04080915451049805, 0.03232019767165184, 0.02850358933210373, -0.011677471920847893, -0.059167053550481796, -0.008352909237146378, 0.0316096730530262, -0.02864348515868187, 0.0426056794822216, 0.01957027055323124, 0.013528788462281227, -0.018959159031510353, -0.012997843325138092, -0.005369348451495171, 0.014724642969667912, 0.026135727763175964, 0.013597223907709122, -0.04398480802774429, -0.040762487798929214, 0.019283106550574303, -0.0019918123725801706, -0.03418447822332382, -0.07787355035543442, 0.04179934039711952, -0.0265934020280838, -0.00025560849462635815, 0.04546663537621498, 0.03899755701422691, 0.023594167083501816, 0.030333178117871284, 0.01143339741975069, 0.01834888570010662, -0.04942597076296806, 0.031044673174619675, -0.024505799636244774, -0.014455658383667469, -0.022086333483457565, -0.051980823278427124, -0.0313342809677124, -0.024666890501976013, -0.0653279647231102, -0.031678978353738785, -0.012957390397787094, 0.033073537051677704, -0.02709493786096573, -0.018230043351650238, -0.003913105931133032, 0.05095747485756874, -0.03978285193443298, -0.03893270343542099, -0.02924943156540394, -0.03367007151246071, -0.0768282562494278, -0.049118466675281525, 0.02869109995663166, 0.008327172137796879, 0.025234214961528778, 0.01626141555607319, 0.009174657985568047, 0.027405861765146255, 0.0022088438272476196, 0.004894491285085678, 0.030907748267054558, -0.0085335373878479, -0.042314425110816956, -0.03213057294487953, 0.007177514024078846, 0.0007162699475884438, 0.041383981704711914, -0.0035456111654639244, 0.014033697545528412, 0.01393737643957138, -0.03542822226881981, 0.003583122044801712, 0.006414366420358419, 0.06139739975333214, -0.06382552534341812, -0.057236336171627045, 0.009131021797657013, -0.053384944796562195, 0.00871557742357254, -0.033217135816812515, -0.02401619590818882, 0.022165611386299133, 0.00834633782505989, 0.04227595403790474, -0.006680492777377367, -0.024607418105006218, 0.033042944967746735, 0.0035007591359317303, -0.010233058594167233, -0.055157922208309174, 0.06032906845211983, -0.017554614692926407, 0.011400425806641579, -0.003666816046461463, -0.03344639763236046, -0.04921751841902733, 0.024689029902219772, 0.007521085441112518, -0.01988326944410801, -0.003326746169477701, 0.024626467376947403, -0.011074154637753963, 0.03730727359652519, -0.008715106174349785, 0.025735601782798767, -0.04797700420022011, 0.04626944288611412, -0.024492885917425156, 0.03070855513215065, 0.0015150756807997823, -0.008091328665614128, -0.03698095306754112, -0.012099623680114746, -0.009254991076886654, -0.05392467603087425, 0.03208569064736366, 0.05523256957530975, 0.04445016384124756, 0.03685757890343666, -0.015329886227846146, 0.0029201165307313204, -0.003754338249564171, -0.06388136744499207, 0.002342475578188896, -0.007612402550876141, 0.03757442906498909, 0.015038290992379189, 0.04492764174938202, 0.03384539484977722, -0.057441532611846924, -0.027461284771561623, 0.04835169389843941, 0.014698989689350128, -0.008452080190181732, -0.0007765222690068185, 0.013409307226538658, 0.03582318127155304, 0.04315341264009476, -0.04216213896870613, 0.0008186388295143843, -0.008359318599104881, -0.025537431240081787, 0.030902454629540443, -0.014596359804272652, 0.004224141128361225, 0.01263849064707756, -0.0527932234108448, -0.004101558122783899, 0.06706758588552475, 0.033134445548057556, 0.041298262774944305, -0.01926722377538681, -0.03044377826154232, -0.004276715684682131, -0.009343898855149746, -0.050476159900426865, -0.005846105050295591, 0.006985485553741455, -0.017368577420711517, 0.09660017490386963, -0.016750440001487732, 0.0150816785171628, 0.028285404667258263, 0.02301398478448391, -0.023126406595110893, 0.037693195044994354, -0.022873926907777786, 0.006973307114094496, 0.06370087713003159, -0.06380268186330795, -0.007430737372487783, -0.0368773527443409, 0.06497126072645187, -0.09992843866348267, 0.039407115429639816, 0.05646927282214165, 0.00863573793321848, 0.0312078557908535, -0.016045302152633667, -0.034735798835754395, 0.05488498881459236, -0.04441431164741516, 0.08407402038574219, 0.01783939078450203, -0.056996919214725494, 0.07152674347162247, 0.011674915440380573, -0.09851014614105225, 0.03998785838484764, 0.04600294306874275, 0.026061618700623512, 0.033261556178331375, 0.054533571004867554, -0.052792638540267944, 0.012949546799063683, -0.0594283752143383, 0.03620531037449837, -0.05398620665073395, -0.004314522724598646, 0.03180769830942154, -0.044632233679294586, -0.03924895077943802, 0.021317865699529648, -0.014985705725848675, -0.022399181500077248, 0.0030495712999254465, -0.04883120208978653, -0.051545966416597366, -0.014217844232916832, 0.045698970556259155, -0.05686594545841217, -0.011081195436418056, -0.03685822710394859, 0.02182582952082157, 0.025819724425673485, 0.02058444917201996, -0.03561712056398392, -0.02179858274757862, 0.03872573375701904, -0.06460494548082352, -0.028099555522203445, 0.030975941568613052, 0.01428841333836317, -0.026164889335632324, 0.06446325778961182, 0.0012507060309872031, 0.02178202010691166, 0.014484683983027935, -0.0050045643001794815, 0.045533694326877594, -0.07540034502744675, -0.028563961386680603, 0.006963557098060846, -0.005985077004879713, 0.029933694750070572, 0.00005082400457467884, 0.0506933368742466, 0.030543843284249306, 0.014479657635092735, 0.010802146047353745, -0.03637953847646713, -0.027990035712718964, 0.03614724054932594, -0.04168723523616791, 0.0382159985601902, 0.03178991749882698, -0.037156350910663605, -0.034774091094732285, -0.013787459582090378, -0.006417092867195606, 0.028938405215740204, -0.05963429808616638, 0.003539950819686055, 0.01635054498910904, -0.041859544813632965, -0.027125120162963867, -0.05933148041367531, -0.03876771032810211, -0.035436391830444336, 0.03939434513449669, 0.024269910529255867, -0.04672323539853096, 0.016067057847976685, -0.05200152471661568, -0.06981755048036575, -0.007334566675126553, 0.028818443417549133, -0.03656657040119171, 0.034781377762556076, 0.05437179654836655, -0.028446199372410774, 0.027435358613729477, 0.034772034734487534, -0.03390267863869667, 0.03430989757180214, -0.002445749705657363, 0.015907373279333115, 0.034765906631946564, 0.037873756140470505, -0.03160225600004196, -0.0321042537689209, -0.06579018384218216, -0.03056616522371769, -0.028739143162965775, -0.007823213934898376, 0.03878307342529297 ]
bert-base-chinese
[ "pytorch", "tf", "jax", "safetensors", "bert", "fill-mask", "zh", "arxiv:1810.04805", "transformers", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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,377,486
2021-03-27T12:25:49Z
--- language: su datasets: - openslr metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Sundanese by cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: OpenSLR High quality TTS data for Sundanese type: OpenSLR args: su metrics: - name: Test WER type: wer value: 6.19 --- # Wav2Vec2-Large-XLSR-Sundanese Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the [OpenSLR High quality TTS data for Sundanese](https://openslr.org/44/). 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, load_metric, Dataset from datasets.utils.download_manager import DownloadManager from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor from pathlib import Path import pandas as pd def load_dataset_sundanese(): urls = [ "https://www.openslr.org/resources/44/su_id_female.zip", "https://www.openslr.org/resources/44/su_id_male.zip" ] dm = DownloadManager() download_dirs = dm.download_and_extract(urls) data_dirs = [ Path(download_dirs[0])/"su_id_female/wavs", Path(download_dirs[1])/"su_id_male/wavs", ] filenames = [ Path(download_dirs[0])/"su_id_female/line_index.tsv", Path(download_dirs[1])/"su_id_male/line_index.tsv", ] dfs = [] dfs.append(pd.read_csv(filenames[0], sep='\t4?\t', names=["path", "sentence"])) dfs.append(pd.read_csv(filenames[1], sep='\t\t', names=["path", "sentence"])) for i, dir in enumerate(data_dirs): dfs[i]["path"] = dfs[i].apply(lambda row: str(data_dirs[i]) + "/" + row + ".wav", axis=1) df = pd.concat(dfs) # df = df.sample(frac=1, random_state=1).reset_index(drop=True) dataset = Dataset.from_pandas(df) dataset = dataset.remove_columns('__index_level_0__') return dataset.train_test_split(test_size=0.1, seed=1) dataset = load_dataset_sundanese() test_dataset = dataset['test'] processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-sundanese") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-sundanese") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the audio 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 as follows or using the [notebook](https://github.com/cahya-wirawan/indonesian-speech-recognition/blob/main/XLSR_Wav2Vec2_for_Indonesian_Evaluation-Sundanese.ipynb). ```python import torch import torchaudio from datasets import load_dataset, load_metric, Dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor from datasets.utils.download_manager import DownloadManager import re from pathlib import Path import pandas as pd def load_dataset_sundanese(): urls = [ "https://www.openslr.org/resources/44/su_id_female.zip", "https://www.openslr.org/resources/44/su_id_male.zip" ] dm = DownloadManager() download_dirs = dm.download_and_extract(urls) data_dirs = [ Path(download_dirs[0])/"su_id_female/wavs", Path(download_dirs[1])/"su_id_male/wavs", ] filenames = [ Path(download_dirs[0])/"su_id_female/line_index.tsv", Path(download_dirs[1])/"su_id_male/line_index.tsv", ] dfs = [] dfs.append(pd.read_csv(filenames[0], sep='\t4?\t', names=["path", "sentence"])) dfs.append(pd.read_csv(filenames[1], sep='\t\t', names=["path", "sentence"])) for i, dir in enumerate(data_dirs): dfs[i]["path"] = dfs[i].apply(lambda row: str(data_dirs[i]) + "/" + row + ".wav", axis=1) df = pd.concat(dfs) # df = df.sample(frac=1, random_state=1).reset_index(drop=True) dataset = Dataset.from_pandas(df) dataset = dataset.remove_columns('__index_level_0__') return dataset.train_test_split(test_size=0.1, seed=1) dataset = load_dataset_sundanese() test_dataset = dataset['test'] wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-sundanese") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-sundanese") 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 audio 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**: 6.19 % ## Training [OpenSLR High quality TTS data for Sundanese](https://openslr.org/44/) was used for training. The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition/blob/main/XLSR_Wav2Vec2_for_Indonesian_Evaluation-Sundanese.ipynb) and to [evaluate it](https://github.com/cahya-wirawan/indonesian-speech-recognition/blob/main/XLSR_Wav2Vec2_for_Indonesian_Evaluation-Sundanese.ipynb)
[ -0.023829780519008636, -0.03831968829035759, -0.00973806157708168, 0.050032325088977814, 0.05796811357140541, 0.0343003049492836, -0.008125795982778072, -0.008776718750596046, -0.05042232945561409, 0.0779620110988617, 0.03688029944896698, -0.016065753996372223, 0.008391084149479866, 0.03668692708015442, -0.021443098783493042, -0.05049468204379082, -0.00615034531801939, -0.027665521949529648, -0.07031312584877014, -0.0004848359676543623, 0.01394108310341835, 0.027321282774209976, -0.013289378955960274, 0.010671678930521011, -0.0033808222506195307, -0.0007400456815958023, -0.004816258326172829, 0.013236389495432377, -0.009363837540149689, -0.05648206174373627, -0.021457871422171593, -0.029957108199596405, -0.020727157592773438, -0.060738641768693924, -0.006757199298590422, -0.021539995446801186, 0.001312217558734119, -0.00016884977230802178, 0.01944626122713089, 0.042066726833581924, -0.027372287586331367, -0.002664366737008095, -0.018041647970676422, 0.008319991640746593, 0.02857263945043087, 0.003815955016762018, -0.040979355573654175, -0.004600045271217823, 0.02158842422068119, -0.034073133021593094, -0.023381533101201057, -0.08463070541620255, -0.022073164582252502, 0.027343621477484703, -0.03172879293560982, -0.03475210815668106, -0.03833647072315216, -0.008142286911606789, 0.0651286318898201, -0.05670817196369171, -0.034633032977581024, 0.003499040612950921, -0.06423281133174896, 0.010999532416462898, 0.019291069358587265, -0.027490101754665375, -0.021191850304603577, -0.05178872495889664, 0.03059653751552105, -0.02626124583184719, 0.05769689008593559, -0.05567774176597595, 0.009931054897606373, -0.07787436991930008, -0.005282718688249588, -0.008612388744950294, 0.018526440486311913, 0.04024540260434151, -0.03643632307648659, 0.060199130326509476, 0.04746874049305916, -0.021132728084921837, 0.02584470994770527, -0.012311913073062897, -0.013938751071691513, 0.05295237526297569, -0.021260512992739677, 0.006228442303836346, 0.00867542065680027, 0.03577110543847084, -0.038779117166996, -0.056872524321079254, -0.012845457531511784, -0.043145645409822464, -0.015376986004412174, 0.027200428768992424, 0.020619763061404228, -0.0284571573138237, 0.03827885910868645, 0.03681137412786484, 0.019457656890153885, 0.026802631095051765, -0.017184052616357803, 0.06848704814910889, 0.006746201775968075, 0.007777199149131775, -0.008359186351299286, -0.047349877655506134, -0.04628462716937065, 0.018197549507021904, 0.03957974165678024, -0.05745907872915268, -0.03808227926492691, 0.03731897473335266, 0.016097111627459526, -0.01721823215484619, 0.032805703580379486, -0.05022260174155235, -0.04650900140404701, -0.07679732888936996, 0.030014974996447563, 0.014908845536410809, -0.0031660282984375954, 0.007532668299973011, -0.03747455030679703, 0.031170478090643883, -0.03785034641623497, -0.04418955743312836, 0.009222954511642456, 0.030755219981074333, -0.024021295830607414, 0.03180946782231331, 0.03150274232029915, -0.042727090418338776, -0.0011836427729576826, -0.0031152672600001097, -0.06121450290083885, 0.028257928788661957, 0.01977979950606823, 0.10108969360589981, -0.05692752078175545, -0.03647173196077347, 0.02064298465847969, 0.013662340119481087, -0.013359054923057556, 0.030004799365997314, 0.0028179644141346216, -0.031408149749040604, -0.02482934668660164, -0.036491651087999344, 0.04369237273931503, -0.04805327206850052, -0.008862391114234924, 0.04078371822834015, -0.02254977636039257, 0.023108424618840218, -0.020293105393648148, -0.015103662386536598, 0.017878388985991478, 0.010353120043873787, -0.008857447654008865, 0.05111418291926384, 0.01317857950925827, -0.031406305730342865, -0.026031019166111946, -0.03092714212834835, -0.014774431474506855, 0.08653783798217773, -0.020426468923687935, 0.00507475296035409, -0.006379193160682917, 0.027368471026420593, 0.04895653575658798, 0.012540197931230068, -0.02120169997215271, 0.03504861891269684, 0.06850845366716385, 0.029071254655718803, -0.011662676930427551, 0.08471792936325073, 0.023749133571982384, -0.04086639732122421, -0.0186137892305851, 0.007793552242219448, 0.024711083620786667, -0.021733734756708145, 0.007619693409651518, 0.06049422174692154, 0.010085520334541798, -0.01145627535879612, -0.015972476452589035, 0.0594375878572464, -0.014810626395046711, -0.01917308010160923, -0.013852615840733051, 0.008523997850716114, -0.023875387385487556, 0.04092023894190788, -0.02122284099459648, 0.0005235687713138759, -0.02583804726600647, -0.013519823551177979, -0.006890987046062946, 0.04395186901092529, 0.0028092439752072096, 0.031013570725917816, -0.005316403228789568, 0.09785650670528412, -0.027859121561050415, -0.0026529382448643446, -0.04554928466677666, -0.03777139261364937, -0.013537927530705929, 0.04170888289809227, 0.03566667437553406, 0.05728121101856232, -0.008233771659433842, -0.03813012316823006, 0.03131391853094101, 0.05704788863658905, 0.06457558274269104, 0.034377627074718475, -0.017047712579369545, 0.005523798055946827, 0.021274693310260773, 0.06581728160381317, -0.07206892967224121, -0.04636250436306, 0.02255120500922203, 0.020391490310430527, -0.025548778474330902, 0.018772108480334282, -0.00720912404358387, 0.03447607904672623, -0.039950892329216, -0.0833393931388855, 0.04391883686184883, 0.010552318766713142, 0.02569504640996456, 0.028307076543569565, -0.011833510361611843, 0.003199075348675251, 0.02589661069214344, 0.02352435700595379, 0.0007665623561479151, -0.03178650140762329, 0.01124734990298748, 0.0005186257185414433, 0.05173202231526375, -0.04955287650227547, 0.025689492002129555, -0.023439917713403702, 0.0007955547189339995, 0.03696349635720253, -0.06660622358322144, 0.023617787286639214, 0.04186297208070755, 0.006536491680890322, -0.030861910432577133, 0.021891266107559204, 0.008652115240693092, 0.03126993402838707, 0.052757326513528824, 0.005799719598144293, 0.05967134237289429, 0.00035462784580886364, 0.051590170711278915, 0.11008274555206299, 0.01810384914278984, 0.005088524427264929, 0.01712859235703945, 0.076821468770504, -0.0038723500911146402, -0.006304093636572361, 0.08685655146837234, -0.03334605321288109, 0.03193724900484085, -0.023888157680630684, -0.01901259645819664, -0.030301867052912712, -0.004443685058504343, 0.024659497663378716, 0.01503968145698309, -0.02321767248213291, 0.0008049675961956382, -0.01210995763540268, 0.00440628919750452, 0.029735319316387177, -0.026178333908319473, -0.005682190414518118, 0.0025213833432644606, -0.013748561032116413, -0.01077002938836813, -0.06644493341445923, -0.03912957012653351, -0.02291782945394516, -0.04155247285962105, 0.009801988489925861, -0.08128584921360016, -0.015967590734362602, -0.07715031504631042, -0.015270895324647427, 0.025922885164618492, 0.02177712693810463, 0.021531444042921066, -0.024875156581401825, 0.015145224519073963, -0.05216202512383461, -0.026868565008044243, -0.03608885779976845, -0.0582561232149601, -0.016324274241924286, -0.07428321987390518, 0.03121916390955448, 0.03819407522678375, 0.04120853170752525, -0.010912780649960041, 0.00923710223287344, -0.032815657556056976, -0.037706658244132996, 0.04848688840866089, 0.04321178421378136, -0.027054008096456528, -0.06112608313560486, 0.025520917028188705, -0.02997637912631035, 0.016532903537154198, 0.004826404619961977, -0.02737884595990181, 0.06582041829824448, 0.0688241496682167, 0.011201208457350731, 0.010156473144888878, -0.031172987073659897, -0.06480751931667328, -0.05301157385110855, -0.04138696566224098, -0.055288780480623245, -0.03213871642947197, -0.019813956692814827, -0.026830866932868958, -0.02292194403707981, -2.0299299308135232e-7, -0.028500352054834366, -0.012359978631138802, 0.008009208366274834, 0.07122911512851715, 0.06785576790571213, 0.03797391802072525, 0.05419732257723808, -0.05961419269442558, -0.018885640427470207, 0.07831647992134094, 0.00833627488464117, 0.01251745130866766, -0.06535927951335907, -0.036145567893981934, 0.023087799549102783, 0.005980926100164652, -0.024374891072511673, 0.004304019268602133, 0.08666834980249405, 0.007520701270550489, -0.013735825195908546, 0.0024582950863987207, -0.01550043560564518, -0.03135233372449875, -0.014842635951936245, -0.026216302067041397, 0.0019086949760094285, -0.053742632269859314, -0.005807923153042793, -0.0019491474376991391, 0.034562353044748306, -0.04027356207370758, -0.051557544618844986, -0.010588555596768856, 0.027760595083236694, 0.022946927696466446, -0.015874721109867096, -0.030833501368761063, 0.0014012373285368085, -0.042228035628795624, -0.038592271506786346, 0.013534246943891048, 0.01615298166871071, 0.008488090708851814, 0.060568977147340775, 0.013752305880188942, -0.03714483976364136, 0.034570932388305664, 0.0170158538967371, 0.07138250023126602, 0.009418227709829807, -0.04014715179800987, 0.007981822825968266, -0.023024793714284897, 0.021123623475432396, 0.0062978207133710384, -0.024197204038500786, -0.03879813849925995, -0.07940191775560379, -0.024149134755134583, 0.022432250902056694, -0.015450362116098404, -0.03848719969391823, 0.046266041696071625, -0.003836487652733922, 0.0065297274850308895, 0.014416808262467384, 0.021574988961219788, 0.03399394452571869, -0.060969769954681396, 0.04238011687994003, 0.01740281470119953, 0.006144781596958637, -0.06799457967281342, 0.01875918358564377, -0.012390438467264175, -0.004958033096045256, -0.000878779508639127, 0.039836909621953964, 0.015714731067419052, 0.03645722568035126, 0.06555842608213425, 0.00844899658113718, -0.03642836958169937, 0.0585818812251091, 0.027387917041778564, -0.044690463691949844, -0.0699954479932785, -0.00969261396676302, -0.02190220169723034, -0.03617115691304207, 0.002010794123634696, -0.053916677832603455, 0.03894955292344093, 0.02329075150191784, -0.012849572114646435, -0.037110812962055206, 0.0041684419848024845, -0.018165752291679382, -0.023684408515691757, -0.03965930640697479, -0.046533092856407166, 0.017819738015532494, -0.03884202241897583, 0.022437065839767456, 0.043278492987155914, 0.008373118937015533, 0.06439249217510223, 0.04644777625799179, -0.011477000080049038, -0.040276456624269485, 0.03898249566555023, 0.04490673914551735, -0.03517776355147362, -0.0541834756731987, -0.03332403674721718, 0.05340315029025078, 0.010941235348582268, 0.0008513806969858706, -0.08513237535953522, -0.0015570434043183923, 0.04603390768170357, -0.05162687972187996, 0.058824922889471054, -0.02488233707845211, 0.05921591445803642, 0.06433673948049545, -0.022920766845345497, 0.012255797162652016, -0.03178121894598007, 0.020362764596939087, 0.008295859210193157, 0.028315246105194092, -0.014521281234920025, -0.011052873916924, -0.05938034504652023, 0.02793176658451557, 0.02840643934905529, 0.02703111059963703, 0.0299176424741745, -0.016267981380224228, -0.059186067432165146, 0.00201383326202631, 0.046569496393203735, -0.05270964652299881, 0.028133580461144447, 0.02883552573621273, 0.011427735909819603, -0.035790279507637024, -0.01917208917438984, -0.015328885987401009, 0.017134470865130424, 0.0366014689207077, 0.018594758585095406, -0.04095765948295593, -0.05115251615643501, 0.0140951257199049, -0.0072730290703475475, -0.03336170315742493, -0.07131282985210419, 0.03427160903811455, -0.012091705575585365, -0.00016587282880209386, 0.036673612892627716, 0.05711799114942551, 0.03666054084897041, 0.03851313143968582, 0.022709062322974205, 0.019189344719052315, -0.04332684352993965, 0.02963392063975334, -0.022748762741684914, -0.01910288631916046, -0.013929394073784351, -0.042338594794273376, -0.02913723513484001, -0.010502314195036888, -0.05746932700276375, -0.043133966624736786, -0.02727114036679268, 0.039989352226257324, -0.018140656873583794, -0.027684753760695457, -0.00935217086225748, 0.05503328517079353, -0.03299302980303764, -0.03603736311197281, -0.02558302693068981, -0.028028300032019615, -0.06303171813488007, -0.04575705528259277, 0.019813213497400284, 0.00030473433434963226, 0.018569421023130417, 0.008172073401510715, 0.016233135014772415, 0.02870924398303032, 0.0010032935533672571, 0.015276994556188583, 0.03153127059340477, -0.019571596756577492, -0.04816458374261856, -0.03233635053038597, -0.004624475259333849, 0.0023156297393143177, 0.06743896007537842, -0.008043332025408745, 0.016047097742557526, 0.020558254793286324, -0.045581743121147156, -0.005492730997502804, 0.005233436357229948, 0.06326144188642502, -0.07272690534591675, -0.060502756386995316, 0.01197535078972578, -0.04771527647972107, 0.01614471711218357, -0.016143986955285072, -0.007983659394085407, 0.012113711796700954, 0.004331557080149651, 0.03899690881371498, -0.01270406972616911, -0.03790564835071564, 0.047809477895498276, 0.009192907251417637, -0.008618129417300224, -0.058456920087337494, 0.05592967942357063, -0.009701861999928951, 0.01915421336889267, -0.013369488529860973, -0.01563524827361107, -0.03877963498234749, 0.0235117357224226, 0.004697255324572325, -0.0046511124819517136, 0.012747625820338726, 0.013035104610025883, -0.00437851483002305, 0.038072746247053146, -0.016925454139709473, 0.017294613644480705, -0.06172329559922218, 0.04085582122206688, -0.004893470089882612, 0.026350112631917, -0.005508435424417257, 0.014161857776343822, -0.04111882299184799, -0.020967897027730942, -0.0013523898087441921, -0.05894045904278755, 0.044700466096401215, 0.05239110067486763, 0.025464413687586784, 0.02925403043627739, -0.01921873353421688, -0.002114333212375641, -0.008329898118972778, -0.06079896166920662, -0.0018938796129077673, -0.012689327821135521, 0.028462940827012062, 0.0032540075480937958, 0.05034831911325455, 0.03865396976470947, -0.06402764469385147, -0.03914937004446983, 0.03143855184316635, 0.008122722618281841, -0.019582930952310562, 0.014008689671754837, 0.010666605085134506, 0.023873120546340942, 0.05064287781715393, -0.030572490766644478, 0.0018491102382540703, -0.013678323477506638, -0.023976817727088928, 0.042447928339242935, -0.00315935630351305, 0.008632379584014416, 0.006448676344007254, -0.04618727043271065, -0.018764756619930267, 0.06473006308078766, 0.03638342767953873, 0.026217404752969742, -0.027181260287761688, -0.03272532299160957, 0.006543696857988834, -0.015921397134661674, -0.04500989988446236, 0.005742749664932489, 0.017083527520298958, -0.014734202064573765, 0.09079946577548981, -0.01355436909943819, 0.014544965699315071, 0.021965572610497475, 0.0304768867790699, -0.03476068750023842, 0.03879448398947716, -0.029675759375095367, 0.01929171197116375, 0.05600036308169365, -0.07612615823745728, -0.004595750477164984, -0.02886388637125492, 0.07378681749105453, -0.08568264544010162, 0.045852381736040115, 0.07009755820035934, 0.019626230001449585, 0.02730858512222767, -0.023618964478373528, -0.03771180287003517, 0.059229619801044464, -0.04973408579826355, 0.08498834818601608, 0.02988763526082039, -0.057721834629774094, 0.08268362283706665, 0.005743575748056173, -0.0895538181066513, 0.04779229313135147, 0.05152041092514992, 0.021730398759245872, 0.042922958731651306, 0.04185115173459053, -0.05568725988268852, 0.014452711679041386, -0.06337335705757141, 0.03895818814635277, -0.06226944550871849, -0.007935442961752415, 0.04154856875538826, -0.04286305978894234, -0.031624194234609604, 0.03338976576924324, -0.011853532865643501, -0.01215570978820324, 0.011917972937226295, -0.050263095647096634, -0.041663654148578644, -0.01913498155772686, 0.048823025077581406, -0.034927938133478165, -0.006987906061112881, -0.0267292782664299, 0.024502413347363472, 0.01948711648583412, 0.028207426890730858, -0.02919113263487816, -0.0026811063289642334, 0.030588224530220032, -0.05650963634252548, -0.008060590364038944, 0.016373861581087112, 0.019133109599351883, -0.036267537623643875, 0.07056419551372528, 0.003136089537292719, 0.034733694046735764, 0.01720297522842884, -0.00033040379639714956, 0.04151647537946701, -0.05726027116179466, -0.027962226420640945, 0.006779014132916927, 0.00020997111278120428, 0.030347589403390884, -0.006559679750353098, 0.051787808537483215, 0.03646668419241905, 0.011691548861563206, 0.018086394295096397, -0.03621591627597809, -0.02369491010904312, 0.028688333928585052, -0.03452574461698532, 0.043190039694309235, 0.02052324078977108, -0.046557217836380005, -0.017340680584311485, -0.007103745359927416, -0.003723009256646037, 0.03331388533115387, -0.044420622289180756, -0.013034137897193432, 0.007852718234062195, -0.025510424748063087, -0.03191666305065155, -0.06117020174860954, -0.03624451905488968, -0.026620052754878998, 0.047598112374544144, 0.019439956173300743, -0.05708661302924156, 0.020443858578801155, -0.053617510944604874, -0.06452864408493042, 0.002281961729750037, 0.02405758760869503, -0.030895445495843887, 0.05017545074224472, 0.055898912250995636, -0.032965391874313354, 0.017969990149140358, 0.03144139051437378, -0.03784481808543205, 0.03424227237701416, -0.0006058616563677788, 0.0022959639318287373, 0.033499058336019516, 0.026902947574853897, -0.02849089726805687, -0.018636660650372505, -0.0618649497628212, -0.03180869668722153, -0.026111727580428123, -0.020334843546152115, 0.045826561748981476 ]
bert-base-german-cased
[ "pytorch", "tf", "jax", "safetensors", "bert", "fill-mask", "de", "transformers", "exbert", "license:mit", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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 } } }
175,983
2021-04-22T15:24:32Z
--- language: tr datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Turkish by Cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice tr type: common_voice args: tr metrics: - name: Test WER type: wer value: 14.61 --- # Wav2Vec2-Large-XLSR-Turkish This is the model for Wav2Vec2-Large-XLSR-Turkish-Artificial-CV, a fine-tuned [cahya/wav2vec2-large-xlsr-turkish-artificial](https://huggingface.co/cahya/wav2vec2-large-xlsr-turkish-artificial) model on [Turkish Common Voice dataset](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", "tr", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial-cv") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial-cv") # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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 as follows on the Turkish 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", "tr", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial-cv") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial-cv") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\‘\”\'\`…\’»«]' # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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**: 14.61 % ## Training The Common Voice `train`, `validation`, other and invalidated The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition)
[ -0.02927514538168907, -0.014398552477359772, -0.013892566785216331, 0.042699918150901794, 0.04996030777692795, 0.03591254726052284, -0.011112876236438751, -0.015376321040093899, -0.03935648128390312, 0.06769413501024246, 0.016942506656050682, -0.030637413263320923, -0.012298018671572208, 0.02657986246049404, -0.0205853134393692, -0.04377979785203934, -0.019691118970513344, -0.008702139370143414, -0.07896600663661957, -0.0228413213044405, -0.014539569616317749, 0.0265588890761137, -0.00788043811917305, 0.021948620676994324, -0.003031626809388399, -0.001238567871041596, -0.0010260900016874075, 0.013809720985591412, 0.010543283075094223, -0.07787426561117172, -0.007726662792265415, -0.04360783472657204, -0.027672193944454193, -0.04818185046315193, -0.015810567885637283, 0.0006471520755439997, -0.006864899769425392, 0.010467307642102242, 0.03193448856472969, 0.0413602851331234, -0.028432805091142654, 0.017333414405584335, -0.0004926655674353242, -0.004773693159222603, 0.03369612619280815, 0.004277451429516077, -0.038070060312747955, -0.009082578122615814, 0.02308664470911026, -0.0327707938849926, -0.03090571239590645, -0.05661666393280029, -0.02515820413827896, 0.03587181866168976, -0.02087441459298134, -0.03676063194870949, -0.05237453803420067, -0.03335609659552574, 0.06268621981143951, -0.04703442379832268, -0.02593366988003254, 0.018960382789373398, -0.07792270928621292, 0.013508668169379234, 0.01986141875386238, -0.043227240443229675, -0.004485734272748232, -0.05003653094172478, 0.024724289774894714, -0.016221320256590843, 0.05154108628630638, -0.020675361156463623, 0.011135089211165905, -0.09329655766487122, 0.016460565850138664, -0.01682978682219982, 0.02269962802529335, 0.04309946298599243, -0.039089787751436234, 0.04774610325694084, 0.026192236691713333, -0.0033253266010433435, 0.025032833218574524, -0.025908641517162323, 0.006421671714633703, 0.05297398567199707, -0.025453858077526093, 0.006745999213308096, 0.005858138669282198, 0.0518132746219635, -0.03729726001620293, -0.049331601709127426, -0.012447507120668888, -0.05375111848115921, -0.0054916273802518845, 0.041415195912122726, 0.033718403428792953, -0.010917496867477894, 0.03873574733734131, 0.032598502933979034, 0.014142466709017754, 0.016172967851161957, -0.026885230094194412, 0.054064199328422546, -0.02294018492102623, -0.005693817511200905, -0.010576188564300537, -0.04814489185810089, -0.028309060260653496, 0.02321482263505459, 0.04246532917022705, -0.042557861655950546, -0.04100215435028076, 0.03827693685889244, 0.009673994965851307, -0.019335975870490074, 0.04109794273972511, -0.04674538969993591, -0.03728573024272919, -0.05038299039006233, 0.027377866208553314, 0.016505783423781395, 0.010092460550367832, 0.00531469751149416, -0.046944115310907364, 0.026389753445982933, -0.047813817858695984, -0.031258758157491684, 0.013699606992304325, 0.02592521347105503, -0.02142779715359211, 0.043902527540922165, 0.01933002471923828, -0.060762323439121246, 0.000485393829876557, 0.016077609732747078, -0.06568529456853867, 0.03682929277420044, 0.010673568584024906, 0.08343491703271866, -0.052378714084625244, -0.05424872040748596, 0.011682904325425625, 0.006218253169208765, -0.010607155971229076, 0.019488168880343437, 0.02025308832526207, -0.018507814034819603, -0.053130824118852615, -0.009463289752602577, 0.06084822490811348, -0.06782325357198715, -0.0004699889977928251, 0.04365430772304535, -0.020847750827670097, 0.036405064165592194, -0.02777007594704628, -0.0006966145010665059, 0.012844536453485489, -0.00599469430744648, -0.017275964841246605, 0.04049709066748619, -0.004923762287944555, -0.033920224756002426, -0.03513321280479431, -0.04104065150022507, -0.015505830757319927, 0.07925769686698914, -0.0012300813104957342, 0.014572013169527054, -0.015851793810725212, 0.02877279929816723, 0.028398552909493446, 0.03001447021961212, -0.04225093498826027, 0.043738704174757004, 0.06970980018377304, 0.04191179573535919, -0.017552373930811882, 0.0889633521437645, 0.028117820620536804, -0.022103598341345787, -0.014726624824106693, 0.003548186272382736, 0.015285303816199303, -0.020073913037776947, 0.006148620508611202, 0.05580436810851097, -0.012324775569140911, -0.03597692772746086, -0.007351547013968229, 0.06078819930553436, 0.003103964263573289, -0.008911233395338058, -0.012928676791489124, -0.02375732734799385, -0.04747064784169197, 0.03794785216450691, -0.03761328384280205, 0.0008842791430652142, -0.02227403223514557, -0.01768435351550579, -0.011674050241708755, 0.030403004959225655, 0.029475143179297447, 0.07081665098667145, -0.00881989300251007, 0.07770342379808426, -0.03627347946166992, -0.0041165705770254135, -0.04455655813217163, -0.050825636833906174, -0.008980768732726574, 0.05637504905462265, 0.02426905930042267, 0.061046402901411057, -0.0035975321661680937, -0.03238407149910927, 0.018246248364448547, 0.06479105353355408, 0.07135966420173645, 0.021536068990826607, -0.008524956181645393, -0.013249481096863747, 0.024677859619259834, 0.06918686628341675, -0.06605076789855957, -0.040903475135564804, 0.013198213651776314, 0.02750431001186371, -0.017334358766674995, 0.019833920523524284, -0.022859027609229088, 0.057721950113773346, -0.04147010296583176, -0.0789433941245079, 0.05935657024383545, 0.0299469456076622, 0.010486004874110222, 0.025441287085413933, -0.015292037278413773, 0.010162044316530228, 0.018448583781719208, 0.00038675221730954945, -0.0037065809592604637, -0.03362379968166351, 0.007995286956429482, 0.014565193094313145, 0.04247722402215004, -0.0562070868909359, 0.027250200510025024, -0.02007157728075981, 0.0028746468015015125, 0.029527869075536728, -0.05652252957224846, 0.035619717091321945, 0.003279541153460741, 0.013928620144724846, -0.03256499767303467, 0.020748363807797432, -0.00656680716201663, 0.04100187495350838, 0.05540226772427559, 0.005700867157429457, 0.03592060133814812, 0.0018353505292907357, 0.052106473594903946, 0.10302862524986267, 0.02007187344133854, -0.005472193006426096, 0.010413890704512596, 0.06497287005186081, 0.008740794844925404, -0.013570408336818218, 0.08047494292259216, -0.04388877749443054, 0.028003884479403496, -0.04387221485376358, 0.008424673229455948, 0.002322984393686056, 0.0017868957947939634, 0.030559683218598366, 0.009377127513289452, -0.006766334176063538, 0.01829620450735092, -0.030598320066928864, -0.02131487987935543, 0.043776653707027435, -0.023269878700375557, -0.023269513621926308, 0.0018367939628660679, -0.015570634044706821, -0.008306218311190605, -0.07963543385267258, -0.02654208615422249, -0.02267345041036606, -0.04884715378284454, 0.012398849241435528, -0.07057605683803558, -0.024428250268101692, -0.06238529086112976, -0.019161486998200417, 0.021822135895490646, 0.007145747542381287, 0.004001714289188385, -0.03926354646682739, 0.014265108853578568, -0.0650608092546463, -0.051196105778217316, -0.04298356920480728, -0.04595908895134926, -0.026828918606042862, -0.06200185418128967, 0.02920730598270893, 0.018666232004761696, 0.03279907628893852, 0.00027362076798453927, 0.003564719809219241, -0.03973984718322754, -0.028363164514303207, 0.03863665089011192, 0.03240528702735901, -0.038573604077100754, -0.0628545880317688, 0.03621087968349457, -0.04016175866127014, 0.009831884875893593, 0.012827849015593529, -0.04716683179140091, 0.07145550101995468, 0.07666045427322388, 0.03504190966486931, 0.032340411096811295, -0.02553524635732174, -0.06199563667178154, -0.0524127334356308, -0.018520468845963478, -0.051143497228622437, -0.009878242388367653, -0.021598955616354942, -0.03621730953454971, -0.02527625858783722, -0.005278685130178928, -0.027168968692421913, -0.016030816361308098, 0.005664157215505838, 0.04741518199443817, 0.051940180361270905, 0.03611774370074272, 0.04016323760151863, -0.03423788398504257, -0.04909643158316612, 0.07041244208812714, 0.019803060218691826, 0.010727068409323692, -0.06783384829759598, -0.03141248971223831, 0.019549919292330742, 0.016589714214205742, -0.023539725691080093, -0.0022046808153390884, 0.08431924879550934, -0.014343693852424622, -0.02226928249001503, 0.010277959518134594, -0.020832769572734833, -0.02600478194653988, -0.022291794419288635, -0.006276106461882591, 0.000057670964451972395, -0.06380196660757065, -0.002386838663369417, 0.010997926816344261, 0.06394895166158676, -0.05336438864469528, -0.06386438012123108, -0.017170878127217293, 0.055679939687252045, 0.017412275075912476, 0.000550510419998318, -0.04167676344513893, 0.002570471726357937, -0.06517308205366135, -0.03504668176174164, 0.02843105047941208, 0.015575594268739223, 0.025873718783259392, 0.059767719358205795, -0.0003581953642424196, -0.03509388864040375, 0.06070716679096222, 0.04663110896945, 0.06709957122802734, 0.00916395802050829, -0.04817696660757065, -0.0063827866688370705, -0.028149966150522232, 0.013813357800245285, -0.0007886418025009334, -0.03251615911722183, -0.053830716758966446, -0.0809154212474823, -0.03138415887951851, 0.018679244443774223, -0.024758784100413322, -0.029050592333078384, 0.032514967024326324, 0.006893939338624477, 0.012407875619828701, 0.003008631756529212, 0.03129503130912781, 0.03566800057888031, -0.05064263194799423, 0.037514615803956985, 0.008654766716063023, 0.036669790744781494, -0.08546067774295807, 0.02068626880645752, -0.008734249509871006, -0.020931415259838104, -0.002319129416719079, 0.05715952068567276, 0.03272183611989021, 0.04266117140650749, 0.07589934766292572, 0.023152407258749008, -0.03886149451136589, 0.04482072591781616, 0.040236927568912506, -0.033918969333171844, -0.06536661088466644, -0.0022277410607784986, -0.005947825964540243, -0.05018201470375061, -0.0029133018106222153, -0.030437743291258812, 0.04584094136953354, 0.03434782847762108, -0.011298988945782185, -0.01924942061305046, 0.009461166337132454, -0.037621382623910904, -0.02226853556931019, -0.03746503219008446, -0.05730500444769859, 0.03951510414481163, -0.02314954809844494, 0.027873802930116653, 0.04348722845315933, -0.0021290723234415054, 0.07355742156505585, 0.042565152049064636, -0.02258392423391342, -0.04360868036746979, 0.036886997520923615, 0.03373061865568161, -0.036394696682691574, -0.05718201398849487, -0.03178848326206207, 0.05265986919403076, 0.02834814228117466, 0.009056906215846539, -0.08198091387748718, 0.002298006322234869, 0.045883968472480774, -0.02693738229572773, 0.06853897124528885, -0.02002691850066185, 0.047699857503175735, 0.06282229721546173, -0.029841288924217224, 0.024314207956194878, -0.029203256592154503, 0.008394076488912106, 0.011382435448467731, 0.012561721727252007, -0.007419003639370203, -0.020127860829234123, -0.0687975138425827, 0.013397163711488247, 0.037186261266469955, 0.03127044066786766, 0.04168494790792465, -0.020493272691965103, -0.05000080168247223, 0.008436140604317188, 0.03656267374753952, -0.04786218702793121, 0.02846611849963665, 0.02095457725226879, 0.02660229429602623, -0.02997581847012043, -0.017626633867621422, -0.015660863369703293, 0.0079596396535635, 0.019328206777572632, 0.019321897998452187, -0.03897962346673012, -0.040995579212903976, 0.008426904678344727, -0.023561863228678703, -0.03245491907000542, -0.07459134608507156, 0.034891072660684586, -0.020636098459362984, -0.0004914029850624502, 0.048807255923748016, 0.03020818717777729, 0.048681966960430145, 0.02190363220870495, 0.013391531072556973, 0.006545561365783215, -0.027789229527115822, 0.03169877082109451, -0.03253544494509697, -0.020375121384859085, -0.01869308575987816, -0.0405413955450058, -0.013481578789651394, -0.03493912145495415, -0.044322166591882706, -0.03991007059812546, -0.006683283485472202, 0.04647982865571976, -0.012599018402397633, -0.011664646677672863, -0.02469947747886181, 0.04617654159665108, -0.03469433635473251, -0.033023104071617126, -0.025334365665912628, -0.020651495084166527, -0.05964019522070885, -0.05332401394844055, 0.012217839248478413, -0.013179437257349491, 0.022165050730109215, 0.0008184709004126489, 0.021120229735970497, 0.012238421477377415, -0.012599668465554714, -0.00023435577168129385, 0.03248890861868858, -0.015250235795974731, -0.04176531732082367, -0.041391558945178986, 0.028083572164177895, 0.00020871999731753021, 0.060763753950595856, -0.013034738600254059, 0.029947815462946892, 0.03345711529254913, -0.033732157200574875, -0.0012246877886354923, 0.00533040938898921, 0.04775993153452873, -0.060533344745635986, -0.04765709489583969, -0.002590927993878722, -0.06623951345682144, 0.016536757349967957, -0.007733636535704136, 0.004488882143050432, 0.02581954561173916, 0.011598976328969002, 0.04132548347115517, -0.006699617486447096, -0.016469022259116173, 0.014425558038055897, -0.011177453212440014, 0.0022321082651615143, -0.05958898738026619, 0.04991595819592476, -0.025978703051805496, 0.010553360916674137, 0.00011685185017995536, -0.017617955803871155, -0.03456934541463852, 0.02454652264714241, -0.009939777664840221, -0.003369156504049897, 0.0029801425989717245, 0.025746719911694527, -0.014215720817446709, 0.02265424281358719, -0.0247594453394413, 0.016979798674583435, -0.02937113121151924, 0.05904042348265648, -0.02736443653702736, 0.015614989213645458, -0.02688383124768734, -0.010790269821882248, -0.028362933546304703, -0.020047741010785103, -0.005665221717208624, -0.06171848252415657, 0.05365406721830368, 0.055212318897247314, 0.03363152593374252, 0.03702319785952568, -0.021240558475255966, 0.008993559516966343, -0.01108405739068985, -0.03639509901404381, -0.0129229836165905, -0.01178046502172947, 0.027573611587285995, -0.0006170861888676882, 0.05160950496792793, 0.030794860795140266, -0.06565019488334656, -0.060153778642416, 0.04508737474679947, 0.002664299448952079, 0.0029970661271363497, 0.01836499385535717, 0.02869778871536255, 0.02418820559978485, 0.0559532456099987, -0.02059454657137394, 0.007938850671052933, -0.01701156236231327, -0.025627922266721725, 0.03357077017426491, -0.018791625276207924, 0.012877747416496277, 0.0010371804237365723, -0.041051194071769714, -0.013994828797876835, 0.06502480804920197, 0.01830478012561798, 0.016079293563961983, -0.020209001377224922, -0.026431668549776077, 0.008130619302392006, -0.015195010229945183, -0.05802236124873161, 0.004874878562986851, -0.0031161976512521505, -0.019381174817681313, 0.09416224807500839, -0.010025931522250175, 0.009714307263493538, 0.026815177872776985, 0.009751337580382824, -0.02326781675219536, 0.05131658911705017, -0.023004068061709404, 0.02530372329056263, 0.038659851998090744, -0.06529846787452698, 0.004169898107647896, -0.02349710837006569, 0.06240945681929588, -0.08651826530694962, 0.03879794850945473, 0.05389212816953659, 0.019043779000639915, 0.031425684690475464, -0.034434664994478226, -0.033377427607774734, 0.05541025847196579, -0.04205400124192238, 0.0826411172747612, 0.022268062457442284, -0.04749045893549919, 0.07997814565896988, 0.007786283735185862, -0.10774681717157364, 0.05840494483709335, 0.045914407819509506, 0.0316515751183033, 0.028875041753053665, 0.05355294421315193, -0.047274596989154816, 0.0012290350859984756, -0.035544488579034805, 0.025948336347937584, -0.05087364837527275, 0.0116420928388834, 0.023374740034341812, -0.04467343911528587, -0.018314534798264503, 0.015598572790622711, -0.009853590279817581, -0.024991704151034355, 0.015247287228703499, -0.05645214393734932, -0.02564464882016182, -0.009265122003853321, 0.04460586979985237, -0.051929980516433716, 0.012869950383901596, -0.043209467083215714, 0.022355595603585243, 0.027867382392287254, 0.005374677944928408, -0.029257766902446747, -0.02081618830561638, 0.027463525533676147, -0.06337574124336243, -0.057057563215494156, 0.030868593603372574, 0.024949360638856888, -0.014152713119983673, 0.05532485619187355, 0.013057715259492397, 0.02050577662885189, 0.023861322551965714, 0.011407874524593353, 0.03342248126864433, -0.05551446974277496, -0.02635546214878559, -0.009678402915596962, 0.016300704330205917, 0.02866874635219574, -0.014606175012886524, 0.05331326276063919, 0.05567889288067818, 0.005062950775027275, 0.012775705195963383, -0.03296278044581413, -0.02375883422791958, 0.024157309904694557, -0.04831830412149429, 0.025249889120459557, 0.01219052542001009, -0.042531225830316544, -0.02562931552529335, -0.016267741098999977, 0.001870515407063067, 0.03394899517297745, -0.05551941692829132, 0.005622373893857002, 0.029003016650676727, -0.03394685685634613, -0.03302891552448273, -0.06893014907836914, -0.02753296308219433, -0.04117191210389137, 0.03412242606282234, 0.01834048144519329, -0.05053791031241417, 0.0075369724072515965, -0.04964398965239525, -0.05302298441529274, 0.015165436081588268, 0.020412102341651917, -0.03060317598283291, 0.05256156623363495, 0.046483706682920456, -0.05056505650281906, 0.02381541021168232, 0.04135813191533089, -0.02485995925962925, 0.02131144516170025, 0.0053327870555222034, 0.021324990317225456, 0.037944942712783813, 0.030529696494340897, -0.03580768406391144, -0.024058666080236435, -0.061534006148576736, -0.03804630786180496, -0.02834457717835903, -0.024753926321864128, 0.049203936010599136 ]
bert-base-german-dbmdz-cased
[ "pytorch", "jax", "bert", "fill-mask", "de", "transformers", "license:mit", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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,814
2021-04-22T05:12:54Z
--- language: tr datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Turkish with Artificial Voices by Cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice tr type: common_voice args: tr metrics: - name: Test WER type: wer value: 66.98 --- # Wav2Vec2-Large-XLSR-Turkish Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the [Turkish Artificial Common Voice dataset](https://cloud.uncool.ai/index.php/f/2165181). 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", "tr", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial") # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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 as follows on the Turkish 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", "tr", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial") model = Wav2Vec2ForCTC.from_pretrained("cahya/wav2vec2-large-xlsr-turkish-artificial") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\‘\”\'\`…\’»«]' # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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**: 66.98 % ## Training The Artificial Common Voice `train`, `validation` is used to fine tune the model The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition)
[ -0.02927267737686634, -0.01804654486477375, -0.01764902099967003, 0.04809293523430824, 0.050440795719623566, 0.04795083403587341, -0.008773082867264748, -0.01024838536977768, -0.04911995679140091, 0.06454751640558243, 0.03103814087808132, -0.019928494468331337, -0.011108734644949436, 0.019560787826776505, -0.027360569685697556, -0.046597667038440704, -0.019026031717658043, -0.011165644973516464, -0.0654236227273941, -0.017366651445627213, -0.0035492985043674707, 0.02472482994198799, -0.007799170445650816, 0.03272661194205284, -0.008985583670437336, 0.001927951700054109, -0.004993889946490526, 0.01859431527554989, 0.006698729004710913, -0.07016298919916153, 0.0015741586685180664, -0.037653859704732895, -0.030973846092820168, -0.041068803519010544, -0.01982167735695839, 0.001528063090518117, -0.0011172234080731869, 0.006819549482315779, 0.03412368893623352, 0.030750613659620285, -0.022358259186148643, 0.0076292091980576515, -0.004806281998753548, -0.006706844549626112, 0.03553207963705063, -0.0034085961524397135, -0.04140834882855415, -0.008388223126530647, 0.02652764692902565, -0.03853447362780571, -0.029552074149250984, -0.0627155601978302, -0.015280862338840961, 0.029764307662844658, -0.024933962151408195, -0.03942977264523506, -0.04647264629602432, -0.025571564212441444, 0.0652889758348465, -0.04984240233898163, -0.018753334879875183, 0.021632591262459755, -0.06913765519857407, 0.016637971624732018, 0.025395948439836502, -0.04526490718126297, -0.0006448021740652621, -0.045952506363391876, 0.018859827890992165, -0.01700793020427227, 0.041871003806591034, -0.02827279642224312, 0.013091705739498138, -0.08800123631954193, 0.02055973932147026, -0.019028635695576668, 0.03384134918451309, 0.04516124725341797, -0.03977906331419945, 0.0587400421500206, 0.023847367614507675, -0.00157773622777313, 0.022289689630270004, -0.01936008408665657, 0.001630143029615283, 0.05188286304473877, -0.027223078534007072, 0.009380281902849674, 0.0063096461817622185, 0.047516118735075, -0.043687306344509125, -0.04995604231953621, -0.01810098998248577, -0.057211343199014664, 0.0017595421522855759, 0.04460979998111725, 0.02897021733224392, -0.0106161804869771, 0.03196345642209053, 0.031443361192941666, 0.01607091911137104, 0.01946141943335533, -0.029185554012656212, 0.05947326123714447, -0.0199482012540102, -0.008311000652611256, -0.0033543447498232126, -0.04573335126042366, -0.027314025908708572, 0.01826470158994198, 0.04039614275097847, -0.039919931441545486, -0.04563966020941734, 0.044486455619335175, 0.01791984960436821, -0.017361383885145187, 0.03552170842885971, -0.04590266942977905, -0.03447607159614563, -0.04004312679171562, 0.030377570539712906, 0.010926133021712303, 0.006448487751185894, -0.0033268576953560114, -0.043452370911836624, 0.03674415498971939, -0.041477661579847336, -0.03527016192674637, 0.011659328825771809, 0.03108316846191883, -0.01065556239336729, 0.039524469524621964, 0.02402300015091896, -0.05122050642967224, -0.007493641227483749, 0.015843957662582397, -0.07197674363851547, 0.02731494978070259, 0.015292657539248466, 0.09237892180681229, -0.05610272288322449, -0.052470613270998, 0.018545687198638916, 0.0027943996246904135, -0.010625788941979408, 0.01849048212170601, 0.01897534169256687, -0.017879171296954155, -0.046695828437805176, -0.0033931825309991837, 0.0500614158809185, -0.0688551738858223, -0.012596748769283295, 0.04544556140899658, -0.01438493374735117, 0.042060356587171555, -0.029686104506254196, 0.0004236527893226594, 0.018643086776137352, -0.006625092588365078, -0.01845485530793667, 0.045038994401693344, -0.002532686572521925, -0.0347399078309536, -0.03143550083041191, -0.046159032732248306, -0.004293604288250208, 0.07862246781587601, 0.0018482632003724575, 0.012843964621424675, -0.01444556936621666, 0.02677694335579872, 0.0404263399541378, 0.02361469343304634, -0.04192313179373741, 0.040361564606428146, 0.06291957944631577, 0.0345546118915081, -0.018688291311264038, 0.08853769302368164, 0.026953183114528656, -0.0286847036331892, -0.014427201822400093, 0.0031494467984884977, 0.01172940619289875, -0.01976345293223858, 0.002745090052485466, 0.04900962486863136, -0.007905984297394753, -0.023279709741473198, -0.014744271524250507, 0.05436187610030174, 0.002506809076294303, -0.006492174230515957, -0.016653116792440414, -0.011467781849205494, -0.042406924068927765, 0.03049013577401638, -0.03418269008398056, 0.009277976118028164, -0.01650126650929451, -0.020566601306200027, -0.011072627268731594, 0.03135531023144722, 0.02745824307203293, 0.06836818903684616, -0.0017456869827583432, 0.08972721546888351, -0.038399383425712585, -0.005392587743699551, -0.050211988389492035, -0.050464335829019547, -0.015175309032201767, 0.05203764885663986, 0.034652434289455414, 0.06769243627786636, -0.0060951183550059795, -0.040302954614162445, 0.020448049530386925, 0.06482238322496414, 0.07243334501981735, 0.02043142542243004, -0.009488706476986408, -0.006420284043997526, 0.031033629551529884, 0.07778751105070114, -0.06306243687868118, -0.037576425820589066, 0.013292047195136547, 0.026001131162047386, -0.009726949967443943, 0.01986759901046753, -0.019306551665067673, 0.049829140305519104, -0.04722122848033905, -0.08589310944080353, 0.0672675147652626, 0.026545966044068336, 0.017383506521582603, 0.020617378875613213, -0.015377004630863667, 0.008487650193274021, 0.025063900277018547, 0.0027391824405640364, -0.004112691152840853, -0.029987065121531487, 0.0014059387613087893, 0.01623864471912384, 0.0457124300301075, -0.06850970536470413, 0.02615906298160553, -0.0249712485820055, -0.002480766735970974, 0.03135848417878151, -0.05754920840263367, 0.04110632464289665, 0.015384248457849026, 0.013150151818990707, -0.03382967785000801, 0.02350998856127262, -0.0060227601788938046, 0.04478929191827774, 0.058753278106451035, 0.003397342748939991, 0.044780097901821136, 0.008879759348928928, 0.04933931678533554, 0.09602080285549164, 0.026694737374782562, 0.0010821220930665731, 0.015016504563391209, 0.06262728571891785, 0.006051008123904467, -0.012962495908141136, 0.0790938287973404, -0.05259313806891441, 0.02789962850511074, -0.0400894358754158, 0.011357327923178673, -0.0038071242161095142, 0.0008409137954004109, 0.02794492244720459, 0.020567627623677254, -0.0046103703789412975, 0.01777987740933895, -0.023604748770594597, -0.015004107728600502, 0.05020134150981903, -0.019744185730814934, -0.017511049285531044, -0.0012201345525681973, -0.01663806475698948, -0.008670372888445854, -0.07892923802137375, -0.030058689415454865, -0.026254763826727867, -0.04696948081254959, 0.009649316780269146, -0.07711834460496902, -0.030014436691999435, -0.05737491697072983, -0.016692744567990303, 0.025673680007457733, 0.009857622906565666, 0.012827785685658455, -0.03564351797103882, 0.01889154687523842, -0.06373690813779831, -0.03980214521288872, -0.04671914875507355, -0.04144490137696266, -0.018022825941443443, -0.06286057084798813, 0.03063083067536354, 0.02317729964852333, 0.03400963172316551, 0.0074183763936161995, -0.00019519960915204138, -0.03521078824996948, -0.026577472686767578, 0.04166083782911301, 0.03488823026418686, -0.04365669563412666, -0.06685400754213333, 0.03204570338129997, -0.03034958243370056, 0.021829860284924507, 0.015527799725532532, -0.046991415321826935, 0.06771929562091827, 0.0687616690993309, 0.02609904482960701, 0.028744470328092575, -0.024066217243671417, -0.05638205632567406, -0.05825083702802658, -0.023295843973755836, -0.04936476796865463, -0.013080143369734287, -0.018882991746068, -0.038760650902986526, -0.02956635132431984, -0.006239386275410652, -0.021983053535223007, -0.008609650656580925, 0.010066274553537369, 0.04896823689341545, 0.052206579595804214, 0.02505272813141346, 0.034722086042165756, -0.03787653148174286, -0.04306614026427269, 0.07332712411880493, 0.01947866380214691, 0.01123197190463543, -0.07313623279333115, -0.028619373217225075, 0.019411034882068634, 0.01612881012260914, -0.017873283475637436, 0.005543056409806013, 0.0840228945016861, -0.007209757808595896, -0.006348996423184872, 0.00868311058729887, -0.024196604266762733, -0.021990355104207993, -0.014153276570141315, -0.012124462053179741, -0.0011560367420315742, -0.06710565835237503, -0.011947640217840672, 0.01464699488133192, 0.0519479475915432, -0.0687117725610733, -0.06162083521485329, -0.02157898247241974, 0.0542401559650898, 0.02396809495985508, -0.01241533737629652, -0.04597211629152298, 0.004005876369774342, -0.05264142528176308, -0.03634538874030113, 0.01977277733385563, 0.015785517171025276, 0.02630564756691456, 0.053984321653842926, -0.003572306130081415, -0.03334028273820877, 0.05844122916460037, 0.05066192150115967, 0.07255199551582336, 0.01303708553314209, -0.049892839044332504, 0.0014712624251842499, -0.02112714760005474, 0.017918042838573456, -0.0008251904509961605, -0.036022964864969254, -0.03923140838742256, -0.07678171992301941, -0.03806711733341217, 0.012020131573081017, -0.025043336674571037, -0.026763157919049263, 0.031783636659383774, 0.009339269250631332, 0.00392188923433423, 0.0032973058987408876, 0.03229638561606407, 0.02999204955995083, -0.04322214424610138, 0.03656386211514473, 0.004318879451602697, 0.04065139219164848, -0.08822669088840485, 0.021167021244764328, -0.015648525208234787, -0.021678725257515907, 0.0011947352904826403, 0.06796447932720184, 0.0316120982170105, 0.04328877478837967, 0.07612935453653336, 0.023119201883673668, -0.03583981841802597, 0.05807686224579811, 0.041376322507858276, -0.031015213578939438, -0.058192409574985504, -0.004224609117954969, -0.009581048041582108, -0.04705524817109108, 0.00283143762499094, -0.03145512193441391, 0.04069758206605911, 0.03053516522049904, -0.007430954836308956, -0.021399810910224915, 0.0033472655341029167, -0.03470056504011154, -0.01957486942410469, -0.0369236059486866, -0.051996998488903046, 0.03778567537665367, -0.02706681564450264, 0.02579050324857235, 0.039677415043115616, -0.0008901448454707861, 0.08074770867824554, 0.03596796095371246, -0.02661389298737049, -0.034261174499988556, 0.03137766197323799, 0.032289281487464905, -0.040602415800094604, -0.06488808244466782, -0.02900429256260395, 0.04839332029223442, 0.03618675470352173, 0.003966221120208502, -0.08357132226228714, -0.001804468221962452, 0.04768018797039986, -0.024872876703739166, 0.0692250207066536, -0.017665624618530273, 0.04442353919148445, 0.06026747077703476, -0.023918814957141876, 0.019821897149086, -0.02973421849310398, 0.019194500520825386, 0.006157116964459419, 0.013211720623075962, -0.006700786296278238, -0.02416636236011982, -0.06923417001962662, 0.014807157218456268, 0.03854713216423988, 0.028129752725362778, 0.044391728937625885, -0.023183446377515793, -0.05178716033697128, 0.016663499176502228, 0.035941630601882935, -0.039643943309783936, 0.031738996505737305, 0.020817095413804054, 0.02776884101331234, -0.04024965688586235, -0.01504406239837408, -0.012398583814501762, 0.009914741851389408, 0.020378779619932175, 0.01346161775290966, -0.04042590782046318, -0.04229205474257469, 0.009795640595257282, -0.020805280655622482, -0.03710896521806717, -0.07625262439250946, 0.02909284271299839, -0.015470798127353191, -0.0018319301307201385, 0.0491253025829792, 0.03213335573673248, 0.05992421135306358, 0.028643092140555382, 0.008790655992925167, 0.01371513307094574, -0.03254975005984306, 0.039010703563690186, -0.03152721747756004, -0.01742527447640896, -0.015490653924643993, -0.040061693638563156, -0.011607909575104713, -0.03455764800310135, -0.05065569654107094, -0.04773754999041557, -0.0064837452955543995, 0.03758414089679718, -0.01775672659277916, -0.011999914422631264, -0.026936694979667664, 0.046084512025117874, -0.03649090975522995, -0.03218049556016922, -0.027315901592373848, -0.029096782207489014, -0.05651245638728142, -0.04899122565984726, 0.02271975949406624, -0.01587275229394436, 0.027323361486196518, 0.0056945690885186195, 0.026262907311320305, 0.0174887515604496, -0.013912113383412361, 0.006518821697682142, 0.029424136504530907, -0.019159238785505295, -0.042697563767433167, -0.04839177802205086, 0.03226562961935997, 0.003158319042995572, 0.06215440854430199, -0.014601903967559338, 0.03320122882723808, 0.028882626444101334, -0.037030912935733795, -0.005523170344531536, 0.008433375507593155, 0.051006268709897995, -0.05809872969985008, -0.05113423243165016, -0.005553846713155508, -0.06062515452504158, 0.0098264180123806, -0.003006678307428956, 0.009938929229974747, 0.025584597140550613, 0.01956336200237274, 0.04374917224049568, -0.002427582396194339, -0.02789601869881153, 0.014949372969567776, -0.0028498300816863775, 0.00588566530495882, -0.06037217751145363, 0.04951136186718941, -0.022876836359500885, 0.011380326934158802, 0.0007474349113181233, -0.011281277984380722, -0.029761096462607384, 0.028813986107707024, -0.009180446155369282, -0.012526963837444782, -0.006338085513561964, 0.01896577700972557, -0.014879283495247364, 0.03242332488298416, -0.024365372955799103, 0.014305301010608673, -0.03229299187660217, 0.05788329988718033, -0.026040351018309593, 0.01684522069990635, -0.027617525309324265, -0.010336408391594887, -0.02653689682483673, -0.019480179995298386, 0.0008860378293320537, -0.05357053875923157, 0.05534172058105469, 0.05544905737042427, 0.033360227942466736, 0.04229448363184929, -0.023554310202598572, 0.0034994911402463913, -0.009132621809840202, -0.0394626185297966, -0.011317573487758636, -0.0057624224573373795, 0.03632798418402672, 0.014460353180766106, 0.05000820383429527, 0.02523595467209816, -0.07155845314264297, -0.05986819416284561, 0.038559529930353165, 0.009707153774797916, 0.002870944794267416, 0.013826271519064903, 0.030337238684296608, 0.029187241569161415, 0.06140461564064026, -0.02043561078608036, 0.003933541476726532, -0.025961676612496376, -0.02166385017335415, 0.03038257546722889, -0.019091876223683357, 0.007963823154568672, 0.0005119052948430181, -0.04254886880517006, -0.012152725830674171, 0.058777403086423874, 0.0203613992780447, 0.018201252445578575, -0.028958093374967575, -0.03844060003757477, 0.0063003674149513245, -0.014563650824129581, -0.05609793961048126, 0.006475272122770548, -0.004238120745867491, -0.021589132025837898, 0.09411264210939407, -0.007446602452546358, 0.011089743115007877, 0.027624528855085373, 0.012569194659590721, -0.020683210343122482, 0.046885956078767776, -0.02156401239335537, 0.02095234952867031, 0.028530951589345932, -0.061584893614053726, -0.0001040153147187084, -0.02447897009551525, 0.06759756058454514, -0.07621590793132782, 0.032982707023620605, 0.047853291034698486, 0.017799008637666702, 0.03242158517241478, -0.027885351330041885, -0.04107511788606644, 0.053646814078092575, -0.038921110332012177, 0.08428896963596344, 0.021396325901150703, -0.0484420545399189, 0.07772992551326752, 0.012409805320203304, -0.10642342269420624, 0.050587207078933716, 0.04494216665625572, 0.02591351605951786, 0.01967737078666687, 0.058278221637010574, -0.04924182966351509, 0.00530178053304553, -0.04081645980477333, 0.020192794501781464, -0.05553825572133064, 0.009654347784817219, 0.01898019015789032, -0.043542638421058655, -0.01941901445388794, 0.0109085189178586, -0.012067841365933418, -0.02083473652601242, 0.016695912927389145, -0.05117311328649521, -0.024972451850771904, -0.009966807439923286, 0.04304222762584686, -0.05217331275343895, 0.013396074995398521, -0.03661686182022095, 0.018132533878087997, 0.02309524267911911, 0.005945764947682619, -0.021761124953627586, -0.016592200845479965, 0.012637223117053509, -0.05614268034696579, -0.052063051611185074, 0.030904894694685936, 0.027395835146307945, -0.01773742400109768, 0.05799882113933563, 0.010699056088924408, 0.025610698387026787, 0.021320443600416183, 0.011549092829227448, 0.03004417009651661, -0.06355046480894089, -0.01851276308298111, -0.010716444812715054, 0.021490301936864853, 0.02185470052063465, -0.01950477622449398, 0.058188822120428085, 0.049108147621154785, -0.001955485437065363, 0.008790784515440464, -0.028437064960598946, -0.027324894443154335, 0.04003826156258583, -0.05170295760035515, 0.02600022591650486, 0.01255921833217144, -0.044047463685274124, -0.024515599012374878, -0.009217516519129276, -0.007023968733847141, 0.03266433998942375, -0.056684788316488266, 0.009536934085190296, 0.0171185415238142, -0.03285321965813637, -0.04341233894228935, -0.06471928209066391, -0.03134448081254959, -0.045463141053915024, 0.036148831248283386, 0.022098924964666367, -0.05023282393813133, 0.008751210756599903, -0.05125538632273674, -0.05713870748877525, 0.007819270715117455, 0.01784399151802063, -0.03248177468776703, 0.056308772414922714, 0.04507613554596901, -0.061827100813388824, 0.022076984867453575, 0.0515098050236702, -0.024036845192313194, 0.03197671100497246, 0.011059571988880634, 0.01305754017084837, 0.041696175932884216, 0.03395894169807434, -0.039961520582437515, -0.03135481849312782, -0.05710325762629509, -0.03750234469771385, -0.026745373383164406, -0.016908906400203705, 0.055065982043743134 ]
bert-base-german-dbmdz-uncased
[ "pytorch", "jax", "safetensors", "bert", "fill-mask", "de", "transformers", "license:mit", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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 } } }
68,305
2021-04-18T17:34:05Z
--- language: tr datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Turkish by Cahya results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice tr type: common_voice args: tr metrics: - name: Test WER type: wer value: 21.13 --- # Wav2Vec2-Large-XLSR-Turkish This is the model for Wav2Vec2-Large-XLSR-Turkish, a fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) model on the [Turkish Common Voice dataset](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", "tr", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish") model = Wav2Vec2ForCTC.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish") # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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 as follows on the Turkish 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", "tr", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish") model = Wav2Vec2ForCTC.from_pretrained("cahya-wirawan/wav2vec2-large-xlsr-turkish") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\‘\”\'\`…\’»«]' # 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"]) resampler = torchaudio.transforms.Resample(sampling_rate, 16_000) 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**: 21.13 % ## Training The Common Voice `train`, `validation`, other and invalidated The script used for training can be found [here](https://github.com/cahya-wirawan/indonesian-speech-recognition)
[ -0.029273729771375656, -0.01549365371465683, -0.013177645392715931, 0.04645615816116333, 0.048721399158239365, 0.043550338596105576, -0.015035365708172321, -0.011898644268512726, -0.04279197379946709, 0.07236763834953308, 0.02311798930168152, -0.0249653197824955, -0.011971927247941494, 0.02338169701397419, -0.019849661737680435, -0.0489220917224884, -0.02359405905008316, -0.011621979996562004, -0.0740869790315628, -0.01946726255118847, -0.01529831811785698, 0.025411807000637054, -0.0087662935256958, 0.02348441630601883, -0.0014235492562875152, 0.005747085437178612, -0.01014864630997181, 0.019606461748480797, 0.008480891585350037, -0.07519765198230743, -0.005253382492810488, -0.03800992667675018, -0.022878415882587433, -0.046897582709789276, -0.016731426119804382, 0.0006105610518716276, -0.0012915219413116574, 0.007643708493560553, 0.033817652612924576, 0.038877952843904495, -0.023492006585001945, 0.01438455656170845, -0.0003966285730712116, -0.008181127719581127, 0.03364281356334686, 0.0032451238948851824, -0.042090024799108505, -0.010375811718404293, 0.02999938651919365, -0.03782638534903526, -0.03144558519124985, -0.059505946934223175, -0.01805899664759636, 0.03103136084973812, -0.02235991880297661, -0.03899137303233147, -0.04482293128967285, -0.03194702789187431, 0.06001027673482895, -0.04823948070406914, -0.0271240696310997, 0.020193716511130333, -0.06480509042739868, 0.015708886086940765, 0.01750771887600422, -0.04247527942061424, -0.0045466856099665165, -0.04701830446720123, 0.02890939451754093, -0.02077750489115715, 0.049454450607299805, -0.026264039799571037, 0.012445475906133652, -0.09025514870882034, 0.020826706662774086, -0.014801988378167152, 0.03092210181057453, 0.04107586666941643, -0.0371873676776886, 0.055070895701646805, 0.029437800869345665, 0.0010490400018170476, 0.024596644565463066, -0.02396360971033573, 0.0007518748170696199, 0.053756456822156906, -0.02769964188337326, 0.014568655751645565, 0.007455746177583933, 0.04862109199166298, -0.036820098757743835, -0.05142877623438835, -0.0147105036303401, -0.053377311676740646, -0.003388042328879237, 0.04522605240345001, 0.034244753420352936, -0.010575446300208569, 0.03031257353723049, 0.030507775023579597, 0.015032652765512466, 0.01684119924902916, -0.02619873359799385, 0.054179251194000244, -0.025681862607598305, -0.006184662226587534, -0.0027037272229790688, -0.046191103756427765, -0.030940430238842964, 0.020131347700953484, 0.04033213108778, -0.046530865132808685, -0.04408063367009163, 0.03826041892170906, 0.008557837456464767, -0.017562136054039, 0.03669346496462822, -0.05078113079071045, -0.0360979288816452, -0.04444420337677002, 0.027410242706537247, 0.012018362991511822, 0.011424279771745205, -0.0032388800755143166, -0.05021774396300316, 0.0320107564330101, -0.042765963822603226, -0.03366518020629883, 0.009866876527667046, 0.023782338947057724, -0.019158953800797462, 0.04137525334954262, 0.024227147921919823, -0.051507528871297836, -0.003218511352315545, 0.016631128266453743, -0.060951072722673416, 0.030959641560912132, 0.015050601214170456, 0.08295001834630966, -0.053921204060316086, -0.05472053587436676, 0.015280927531421185, 0.010113355703651905, -0.009600356221199036, 0.02208433300256729, 0.017168831080198288, -0.014551982283592224, -0.0507025308907032, -0.011328058317303658, 0.054477158933877945, -0.06876737624406815, -0.0010412484407424927, 0.044720713049173355, -0.017352664843201637, 0.03782288730144501, -0.02856535091996193, -0.0002739329356700182, 0.01707489602267742, -0.0051969559863209724, -0.0208759643137455, 0.04463707283139229, 0.001663658767938614, -0.0350942388176918, -0.027008919045329094, -0.040329817682504654, -0.010975672863423824, 0.0773722380399704, -0.001659238594584167, 0.015973862260580063, -0.010747628286480904, 0.031235678121447563, 0.0393158458173275, 0.026379480957984924, -0.03868288919329643, 0.04289533197879791, 0.06895196437835693, 0.03894737362861633, -0.02079114317893982, 0.0859578475356102, 0.02740834839642048, -0.025433793663978577, -0.016994936391711235, -0.0020769371185451746, 0.009839262813329697, -0.021701404824852943, 0.0024058017879724503, 0.05636925622820854, -0.007684548385441303, -0.029919765889644623, -0.011652196757495403, 0.05554744228720665, -0.004959659185260534, -0.004736786708235741, -0.013772139325737953, -0.019862620159983635, -0.04748327657580376, 0.033964455127716064, -0.038737352937459946, 0.0026636633556336164, -0.01641572266817093, -0.02227647975087166, -0.014921550638973713, 0.030482182279229164, 0.027451306581497192, 0.06644994765520096, -0.011286531575024128, 0.08478935062885284, -0.04161263257265091, -0.004513513296842575, -0.04567336291074753, -0.04912756010890007, -0.013445609249174595, 0.05185101926326752, 0.025266680866479874, 0.06476397812366486, -0.0038581218104809523, -0.03832167387008667, 0.021133704110980034, 0.06512881070375443, 0.0745803639292717, 0.01975499652326107, -0.003768834751099348, -0.007654511835426092, 0.030769795179367065, 0.06764015555381775, -0.06872519850730896, -0.03769996389746666, 0.009952169843018055, 0.028433624655008316, -0.014581299386918545, 0.01772291399538517, -0.022922609001398087, 0.05003565922379494, -0.05009116232395172, -0.08284930139780045, 0.06227971613407135, 0.02786215953528881, 0.011364413425326347, 0.02452067844569683, -0.018545422703027725, 0.005926182959228754, 0.023254336789250374, -0.0035697894636541605, -0.00210732058621943, -0.03014068305492401, 0.0001458589540561661, 0.01284515205770731, 0.04272323474287987, -0.06478304415941238, 0.023725014179944992, -0.0196695514023304, -0.0013727318728342652, 0.036153774708509445, -0.05441686511039734, 0.03558138385415077, 0.007989618927240372, 0.015277567319571972, -0.0333050973713398, 0.02083682082593441, -0.006384233012795448, 0.03991986811161041, 0.0548391155898571, 0.006657503545284271, 0.03767313435673714, 0.005633562803268433, 0.05233189836144447, 0.0983709990978241, 0.02671690657734871, -0.0029123895801603794, 0.012271408922970295, 0.0657418891787529, 0.009575219824910164, -0.019013457000255585, 0.08127174526453018, -0.04131627827882767, 0.031764768064022064, -0.043136537075042725, 0.011008470319211483, -0.0009569477988407016, 0.000046176635805750266, 0.03161563724279404, 0.009657306596636772, -0.005694801919162273, 0.015584532171487808, -0.028293436393141747, -0.020171213895082474, 0.047848183661699295, -0.02025657519698143, -0.021849172189831734, -0.0011543097207322717, -0.019054103642702103, -0.007429699879139662, -0.08017892390489578, -0.023338036611676216, -0.02271820232272148, -0.04727557301521301, 0.01023328397423029, -0.06947387754917145, -0.029679814353585243, -0.0619177371263504, -0.017114514485001564, 0.026191966608166695, 0.007988730445504189, 0.011306722648441792, -0.03616323694586754, 0.015737297013401985, -0.06529922783374786, -0.044040851294994354, -0.04458502680063248, -0.043381333351135254, -0.021385280415415764, -0.06177069619297981, 0.03275845944881439, 0.02056991308927536, 0.03158516809344292, 0.005578846670687199, 0.006064876448363066, -0.040768928825855255, -0.02679714560508728, 0.04021335765719414, 0.031155185773968697, -0.037822674959897995, -0.06476657092571259, 0.03501607105135918, -0.041998088359832764, 0.01343400776386261, 0.009561002254486084, -0.04591573774814606, 0.0734153762459755, 0.07088066637516022, 0.032368119806051254, 0.033593762665987015, -0.02401166409254074, -0.05548990145325661, -0.054266978055238724, -0.023666078224778175, -0.04851355776190758, -0.0072042872197926044, -0.017437990754842758, -0.039033591747283936, -0.02620598115026951, -0.00029302953043952584, -0.019481787458062172, -0.015057542361319065, 0.009494546800851822, 0.05189410597085953, 0.05621552839875221, 0.03823927789926529, 0.038791339844465256, -0.033602699637413025, -0.05180603638291359, 0.07441428303718567, 0.018342681229114532, 0.009072399698197842, -0.06944852322340012, -0.03375405818223953, 0.018946398049592972, 0.02045794017612934, -0.016609661281108856, -0.001844921032898128, 0.08371443301439285, -0.012281359173357487, -0.015912139788269997, 0.013844382017850876, -0.0223989374935627, -0.019270561635494232, -0.01684933714568615, -0.013033730909228325, 0.0058866203762590885, -0.06781024485826492, -0.006250739563256502, 0.011340555734932423, 0.05982334911823273, -0.05982384458184242, -0.06323516368865967, -0.020624229684472084, 0.054900750517845154, 0.028228264302015305, -0.005734842270612717, -0.04536806792020798, 0.0023212654050439596, -0.0629984438419342, -0.034640442579984665, 0.026337536051869392, 0.01999860629439354, 0.02832300402224064, 0.0567510724067688, 0.0036920281127095222, -0.035672761499881744, 0.0558205246925354, 0.04762382060289383, 0.07484988868236542, 0.014638549648225307, -0.04739042744040489, -0.0023118818644434214, -0.0246360432356596, 0.016340170055627823, -0.0005433725891634822, -0.03268607333302498, -0.04647551104426384, -0.08012212067842484, -0.031020181253552437, 0.015947017818689346, -0.01965394988656044, -0.025279028341174126, 0.031018313020467758, 0.010479015298187733, 0.007296346127986908, 0.007388873491436243, 0.031946662813425064, 0.02895500510931015, -0.04625006765127182, 0.03338320553302765, 0.005810110364109278, 0.03265994042158127, -0.08277041465044022, 0.018960054963827133, -0.007194065023213625, -0.02095157839357853, -0.0000917275101528503, 0.057621926069259644, 0.031947556883096695, 0.04118628054857254, 0.07703748345375061, 0.02103985846042633, -0.03621356934309006, 0.052338775247335434, 0.0440896637737751, -0.03747124597430229, -0.06578344851732254, -0.006949143949896097, -0.009627227671444416, -0.05040537938475609, -0.0009125751093961298, -0.029540251940488815, 0.0466674268245697, 0.030800268054008484, -0.0030948473140597343, -0.022090313956141472, 0.005821152590215206, -0.03746463730931282, -0.021976863965392113, -0.041414570063352585, -0.05390312895178795, 0.03917870670557022, -0.03387025371193886, 0.025530345737934113, 0.046174559742212296, -0.0002226947108283639, 0.08020161092281342, 0.04221602901816368, -0.026587212458252907, -0.04135856032371521, 0.03344396501779556, 0.03418925404548645, -0.0370660200715065, -0.05793095380067825, -0.03583573177456856, 0.0515286922454834, 0.029536444693803787, 0.0026880817022174597, -0.08145897835493088, -0.00034100687480531633, 0.04526933282613754, -0.02706022746860981, 0.06799091398715973, -0.01682186685502529, 0.04226420819759369, 0.05982430651783943, -0.028396883979439735, 0.02053367719054222, -0.02927268296480179, 0.01548381894826889, 0.009690607897937298, 0.01611187867820263, -0.011880090460181236, -0.022418038919568062, -0.06660585850477219, 0.009111359715461731, 0.03650650754570961, 0.030907616019248962, 0.04468609765172005, -0.01589818112552166, -0.05179775133728981, 0.0046697091311216354, 0.037881121039390564, -0.042600758373737335, 0.02599457837641239, 0.019315706565976143, 0.026884587481617928, -0.03408895805478096, -0.01537813525646925, -0.009399759583175182, 0.00838027335703373, 0.019287701696157455, 0.015157842077314854, -0.04436158016324043, -0.040623217821121216, 0.006016042083501816, -0.023576047271490097, -0.03400810435414314, -0.0768577978014946, 0.03491005674004555, -0.016416430473327637, 0.0013086311519145966, 0.04976411908864975, 0.03259091079235077, 0.049075253307819366, 0.02331017702817917, 0.01046730950474739, 0.013850221410393715, -0.028388073667883873, 0.03298336640000343, -0.0349995419383049, -0.015283225104212761, -0.015448329038918018, -0.04161059111356735, -0.011360013857483864, -0.032402150332927704, -0.0462481826543808, -0.04682593420147896, -0.005020268727093935, 0.03892384469509125, -0.014071950688958168, -0.00864983256906271, -0.027129879221320152, 0.047342024743556976, -0.04211268201470375, -0.03381740674376488, -0.025587864220142365, -0.026179321110248566, -0.059247445315122604, -0.047853734344244, 0.01768333651125431, -0.0108734630048275, 0.025649292394518852, 0.0053910440765321255, 0.019914695993065834, 0.014292840845882893, -0.011506160721182823, 0.0016523023368790746, 0.03369737043976784, -0.016401661559939384, -0.03956526890397072, -0.04524223506450653, 0.018419228494167328, -0.0012123123742640018, 0.0641089603304863, -0.014210512861609459, 0.0310190562158823, 0.037089936435222626, -0.03689175844192505, -0.005806941073387861, 0.01261758990585804, 0.04956080764532089, -0.05771953985095024, -0.050188127905130386, -0.004612321499735117, -0.06315771490335464, 0.0136195607483387, -0.009380191564559937, 0.008733474649488926, 0.022951878607273102, 0.012678507715463638, 0.04121990129351616, -0.007877407595515251, -0.020144233480095863, 0.014123653993010521, -0.006219096481800079, -0.000539311149623245, -0.05998282507061958, 0.05477060377597809, -0.021388661116361618, 0.013986391946673393, -0.0021742393728345633, -0.016978170722723007, -0.03351088985800743, 0.02556752972304821, -0.009861210361123085, -0.008082086220383644, -0.0018009141786023974, 0.021097267046570778, -0.014286705292761326, 0.023697445169091225, -0.025690868496894836, 0.0130863506346941, -0.033211544156074524, 0.056998588144779205, -0.02393132448196411, 0.02082819491624832, -0.024268146604299545, -0.00977662019431591, -0.03408854827284813, -0.020507484674453735, -0.00720413401722908, -0.059539370238780975, 0.054541442543268204, 0.05499764904379845, 0.032005712389945984, 0.040384117513895035, -0.024688223376870155, 0.008534098044037819, -0.011654608882963657, -0.04139043390750885, -0.006810151040554047, -0.00821337103843689, 0.03315432742238045, 0.008675345219671726, 0.05235377699136734, 0.024685226380825043, -0.058834947645664215, -0.0625840350985527, 0.044333361089229584, 0.0015186285600066185, 0.0030241769272834063, 0.01411838922649622, 0.02475089021027088, 0.023200251162052155, 0.059438638389110565, -0.01758890226483345, 0.0068785385228693485, -0.020080219954252243, -0.028591156005859375, 0.03459951654076576, -0.016404081135988235, 0.00939159281551838, 0.00027453387156128883, -0.044028762727975845, -0.011494318023324013, 0.06314141303300858, 0.023665660992264748, 0.021168669685721397, -0.020665621384978294, -0.03361070901155472, 0.008757147006690502, -0.01494261808693409, -0.05824652314186096, 0.00409867987036705, -0.002010350814089179, -0.02260609343647957, 0.09119528532028198, -0.004525260999798775, 0.008061720058321953, 0.03067953512072563, 0.01100305188447237, -0.02444191463291645, 0.04819503799080849, -0.01941341906785965, 0.02489534579217434, 0.037803903222084045, -0.06776731461286545, -0.0031519948970526457, -0.022581780329346657, 0.06523638218641281, -0.08582225441932678, 0.040325041860342026, 0.05082269757986069, 0.01476079598069191, 0.030761895701289177, -0.029133502393960953, -0.03832429647445679, 0.056529417634010315, -0.03892344608902931, 0.08313658833503723, 0.01943638175725937, -0.05090618506073952, 0.07569335401058197, 0.013357199728488922, -0.10253483057022095, 0.056211862713098526, 0.04687182977795601, 0.029039356857538223, 0.02472149021923542, 0.056243330240249634, -0.05557094141840935, 0.005593855399638414, -0.03502556309103966, 0.022595027461647987, -0.05338078364729881, 0.013199089094996452, 0.02054176665842533, -0.04804776608943939, -0.018557589501142502, 0.014184233732521534, -0.010277142748236656, -0.02378561906516552, 0.011447940021753311, -0.05080268532037735, -0.02118045836687088, -0.01175195723772049, 0.040246203541755676, -0.05102964863181114, 0.009830578230321407, -0.040521398186683655, 0.018306296318769455, 0.0260545015335083, 0.0034405526239424944, -0.02470131404697895, -0.02060674875974655, 0.02229534648358822, -0.0567544586956501, -0.053398992866277695, 0.026343265548348427, 0.023813730105757713, -0.017566053196787834, 0.05981086567044258, 0.011235078796744347, 0.020005986094474792, 0.030334018170833588, 0.011419192887842655, 0.031660936772823334, -0.061412129551172256, -0.01875193789601326, -0.013693495653569698, 0.015292233787477016, 0.028808042407035828, -0.017832426354289055, 0.056682635098695755, 0.054047320038080215, -0.0019521679496392608, 0.014618923887610435, -0.03543105721473694, -0.027388015761971474, 0.030192947015166283, -0.047940079122781754, 0.02401285618543625, 0.01419069617986679, -0.04398714005947113, -0.02784324809908867, -0.016283871605992317, -0.0058989142999053, 0.03286197409033775, -0.06034443899989128, 0.00435643782839179, 0.028574297204613686, -0.03589465469121933, -0.04095296189188957, -0.06326983869075775, -0.027718432247638702, -0.03479335457086563, 0.03920472413301468, 0.017709342762827873, -0.05262001231312752, 0.009448067285120487, -0.050417210906744, -0.055367354303598404, 0.006601972505450249, 0.02332601696252823, -0.027893461287021637, 0.06306177377700806, 0.04060210660099983, -0.05721060559153557, 0.022654825821518898, 0.04647666960954666, -0.021138520911335945, 0.027725137770175934, 0.01070439163595438, 0.013383294455707073, 0.04304629936814308, 0.02855728752911091, -0.04086904600262642, -0.02752479910850525, -0.0620356909930706, -0.040065161883831024, -0.02948322892189026, -0.02456195093691349, 0.05212407559156418 ]
bert-base-multilingual-cased
[ "pytorch", "tf", "jax", "safetensors", "bert", "fill-mask", "multilingual", "af", "sq", "ar", "an", "hy", "ast", "az", "ba", "eu", "bar", "be", "bn", "inc", "bs", "br", "bg", "my", "ca", "ceb", "ce", "zh", "cv", "hr", "cs", "da", "nl", "en", "et", "fi", "fr", "gl", "ka", "de", "el", "gu", "ht", "he", "hi", "hu", "is", "io", "id", "ga", "it", "ja", "jv", "kn", "kk", "ky", "ko", "la", "lv", "lt", "roa", "nds", "lm", "mk", "mg", "ms", "ml", "mr", "mn", "min", "ne", "new", "nb", "nn", "oc", "fa", "pms", "pl", "pt", "pa", "ro", "ru", "sco", "sr", "scn", "sk", "sl", "aze", "es", "su", "sw", "sv", "tl", "tg", "th", "ta", "tt", "te", "tr", "uk", "ud", "uz", "vi", "vo", "war", "cy", "fry", "pnb", "yo", "dataset:wikipedia", "arxiv:1810.04805", "transformers", "license:apache-2.0", "autotrain_compatible", "has_space" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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,749,504
2022-02-07T08:47:31Z
--- language: lg datasets: - mozilla-foundation/common_voice_7_0 metrics: - wer tags: - audio - automatic-speech-recognition - common_voice - hf-asr-leaderboard - lg - robust-speech-event - speech license: apache-2.0 model-index: - name: Wav2Vec2 Luganda by Indonesian-NLP results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice lg type: common_voice args: lg metrics: - name: Test WER type: wer value: 9.332 - name: Test CER type: cer value: 1.987 - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice 7 type: mozilla-foundation/common_voice_7_0 args: lg metrics: - name: Test WER type: wer value: 13.844 - name: Test CER type: cer value: 2.68 --- # Automatic Speech Recognition for Luganda This is the model built for the [Mozilla Luganda Automatic Speech Recognition competition](https://zindi.africa/competitions/mozilla-luganda-automatic-speech-recognition). It is a fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) model on the [Luganda Common Voice dataset](https://huggingface.co/datasets/common_voice) version 7.0. We also provide a [live demo](https://huggingface.co/spaces/indonesian-nlp/luganda-asr) to test the model. 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", "lg", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("indonesian-nlp/wav2vec2-luganda") model = Wav2Vec2ForCTC.from_pretrained("indonesian-nlp/wav2vec2-luganda") 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): if "audio" in batch: speech_array = torch.tensor(batch["audio"]["array"]) else: 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 as follows on the Indonesian 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", "lg", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("indonesian-nlp/wav2vec2-luganda") model = Wav2Vec2ForCTC.from_pretrained("indonesian-nlp/wav2vec2-luganda") model.to("cuda") chars_to_ignore = [",", "?", ".", "!", "-", ";", ":", '""', "%", "'", '"', "�", "‘", "’", "’"] chars_to_ignore_regex = f'[{"".join(chars_to_ignore)}]' resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the audio files as arrays def speech_file_to_array_fn(batch): batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() if "audio" in batch: speech_array = torch.tensor(batch["audio"]["array"]) else: 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 audio 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"]))) ``` WER without KenLM: 15.38 % WER With KenLM: **Test Result**: 7.53 % ## Training The Common Voice `train`, `validation`, and ... datasets were used for training as well as ... and ... # TODO The script used for training can be found [here](https://github.com/indonesian-nlp/luganda-asr)
[ -0.0041457428596913815, -0.02205149456858635, -0.020844068378210068, 0.018444418907165527, 0.0661553367972374, 0.020112749189138412, -0.01742696389555931, -0.02426457405090332, -0.03357454389333725, 0.07808171957731247, 0.03509008511900902, -0.050650060176849365, -0.010316010564565659, 0.028810277581214905, -0.01521393284201622, -0.05455145239830017, -0.025734204798936844, -0.007542070001363754, -0.0762442871928215, -0.018165213987231255, -0.00798131711781025, 0.04144252464175224, -0.03351186215877533, 0.023694796487689018, 0.0008965456509031355, 0.02021162211894989, -0.0038905860856175423, 0.01373477652668953, -0.006873030681163073, -0.07972314208745956, 0.0017152080545201898, -0.005970988422632217, -0.03341052308678627, -0.047130413353443146, -0.02031688205897808, -0.007425946649163961, 0.023378804326057434, 0.026425058022141457, 0.031190453097224236, 0.046742767095565796, -0.004524156451225281, 0.018871070817112923, 0.00814482755959034, -0.03314053639769554, 0.018066829070448875, -0.0006813994259573519, -0.05367569997906685, -0.02843652106821537, 0.019871095195412636, -0.018623225390911102, -0.03399194777011871, -0.07868053019046783, -0.004746865946799517, 0.015497640706598759, 0.004295677877962589, -0.016389993950724602, -0.03585020452737808, -0.024773500859737396, 0.063050776720047, -0.06190960854291916, -0.03023569844663143, 0.007898884825408459, -0.06750497967004776, 0.007737467531114817, 0.015339182689785957, -0.055490169674158096, -0.006206715479493141, -0.036666855216026306, 0.04197588562965393, -0.02269645780324936, 0.06902552396059036, -0.04919867217540741, 0.005170052871108055, -0.09379543364048004, 0.007536811754107475, -0.024630984291434288, 0.03941262885928154, 0.04469690099358559, -0.02827347442507744, 0.0665675699710846, 0.021225525066256523, 0.02339835837483406, 0.01063238363713026, -0.028565650805830956, 0.0010237350361421704, 0.010795021429657936, -0.03287515416741371, 0.02831181138753891, 0.032668586820364, 0.03765898942947388, -0.03240194544196129, -0.03923771157860756, -0.00546302879229188, -0.045997023582458496, 0.00872670765966177, 0.03109327144920826, 0.0344713069498539, -0.03044048696756363, 0.02225881814956665, 0.01492348127067089, 0.009175857529044151, 0.03405965492129326, -0.035537805408239365, 0.07076004892587662, -0.01793687231838703, 0.00173297303263098, -0.013469032943248749, -0.030832689255475998, -0.06059877201914787, 0.02446153573691845, 0.031583767384290695, -0.0553828626871109, -0.04186808317899704, 0.019437724724411964, -0.003713182406499982, -0.02853289432823658, 0.05968623608350754, -0.052577536553144455, -0.045055221766233444, -0.0577218197286129, 0.03795819357037544, 0.01924777217209339, 0.009323165751993656, 0.017686007544398308, -0.03993421420454979, 0.03243119642138481, -0.04961147904396057, -0.038350265473127365, 0.002300352556630969, 0.002892746590077877, 0.0043225414119660854, 0.03558381274342537, 0.01909952610731125, -0.053264960646629333, 0.010832540690898895, -0.010171576403081417, -0.05418029800057411, 0.007832266390323639, -0.001088114338926971, 0.0771477222442627, -0.04396859556436539, -0.06108209490776062, 0.028423039242625237, 0.002493022009730339, 0.013976383022964, 0.020548706874251366, 0.004772827960550785, -0.008730472065508366, -0.024496925994753838, -0.013063672930002213, 0.04575790464878082, -0.06460434943437576, 0.006230194121599197, 0.07742691040039062, -0.015077820047736168, 0.05294564366340637, -0.009841148741543293, -0.008796234615147114, 0.001476893899962306, -0.013154254294931889, 0.006972752511501312, 0.047427501529455185, -0.005892355460673571, -0.03960054740309715, -0.02365020662546158, -0.03787856921553612, -0.007498080376535654, 0.07315012067556381, 0.007335849106311798, 0.00497567979618907, -0.02626851573586464, 0.036535684019327164, 0.05746353417634964, 0.02454010583460331, -0.03225770220160484, 0.016817156225442886, 0.06611675024032593, 0.03332521766424179, -0.013686838559806347, 0.06154876574873924, 0.027941834181547165, -0.010230437852442265, -0.05895090103149414, -0.006845938041806221, 0.020616808906197548, -0.02636113204061985, -0.0102100083604455, 0.050189387053251266, 0.012869351543486118, -0.0238517876714468, -0.020118748769164085, 0.06238942965865135, -0.035670164972543716, -0.024314584210515022, 0.0017006886191666126, -0.013801361434161663, -0.028584720566868782, 0.05315379425883293, -0.02036759816110134, 0.011815645731985569, -0.025343695655465126, -0.03004726581275463, -0.004967883694916964, 0.035344891250133514, 0.017564848065376282, 0.03654148057103157, 0.00577889708802104, 0.06419604271650314, -0.04378180205821991, 0.005140991881489754, -0.051287874579429626, -0.04182636737823486, -0.02068280056118965, 0.060913246124982834, 0.03262767568230629, 0.06881917268037796, -0.009825972840189934, -0.0557577982544899, 0.0226945411413908, 0.07026194036006927, 0.07209209352731705, 0.012907616794109344, -0.01470616739243269, -0.010845703072845936, 0.029689829796552658, 0.056424591690301895, -0.05971335619688034, -0.04789910838007927, 0.013656526803970337, 0.04174159839749336, -0.022559547796845436, 0.018910197541117668, -0.01709534414112568, 0.02187737450003624, -0.03254466503858566, -0.08368075639009476, 0.05545856058597565, 0.02768019773066044, 0.01718447171151638, 0.03971362113952637, -0.028164705261588097, 0.00983423925936222, 0.02445320039987564, 0.01931590773165226, 0.0036798659712076187, -0.02092849649488926, 0.002841175301000476, 0.00673871161416173, 0.06205010786652565, -0.050946518778800964, 0.04672125354409218, -0.029325420036911964, 0.005555904936045408, 0.029774684458971024, -0.030290504917502403, 0.03596155345439911, 0.036195237189531326, 0.001783032901585102, -0.027964912354946136, 0.019430337473750114, 0.004314892925322056, 0.062471359968185425, 0.02837357111275196, 0.01267232559621334, 0.06549075245857239, 0.015711599960923195, 0.05609119310975075, 0.09289538115262985, 0.01890375092625618, -0.012828518636524677, 0.01140811387449503, 0.07008440047502518, -0.013719826936721802, -0.037820003926754, 0.0633331760764122, -0.02080758661031723, 0.021282678470015526, -0.026073070243000984, -0.006123330909758806, -0.03784710541367531, -0.018183456733822823, 0.012066327966749668, 0.0028101704083383083, -0.017916442826390266, 0.0010746752377599478, -0.007917284034192562, -0.011624476872384548, 0.050397343933582306, -0.039465319365262985, -0.013078011572360992, -0.020669355988502502, -0.02099403366446495, 0.026527687907218933, -0.07230725884437561, -0.03909279778599739, 0.0009427188197150826, -0.046882592141628265, 0.008157393895089626, -0.08227132260799408, -0.027361078187823296, -0.044841088354587555, -0.016528842970728874, 0.03239458054304123, 0.0369398258626461, 0.003096071071922779, -0.021295957267284393, -0.00012094245903426781, -0.06315331906080246, -0.028129305690526962, -0.056957002729177475, -0.02309390902519226, -0.019218111410737038, -0.048683587461709976, 0.031383875757455826, 0.0356709323823452, 0.06503969430923462, 0.003231520066037774, 0.0038242607843130827, -0.02961662970483303, -0.03349658101797104, 0.038359761238098145, 0.05424071475863457, -0.037666041404008865, -0.06294166296720505, 0.029177583754062653, -0.020942505449056625, 0.016985682770609856, -0.0022192986216396093, -0.03322340175509453, 0.09792638570070267, 0.04694758728146553, -0.0025418552104383707, 0.002494484419003129, -0.02405787818133831, -0.057220056653022766, -0.04364145174622536, -0.040388237684965134, -0.028443636372685432, -0.008954435586929321, -0.027977729216217995, -0.03199224919080734, -0.0030459456611424685, -0.0028923251666128635, -0.00462654372677207, -0.03222373500466347, -0.002455033827573061, 0.03618398308753967, 0.03340267762541771, 0.029045825824141502, 0.050590042024850845, -0.045300014317035675, -0.04487769678235054, 0.07678704708814621, 0.034878671169281006, 0.006154390051960945, -0.061232972890138626, -0.03535023331642151, 0.0032828005496412516, 0.02474565990269184, -0.016486823558807373, -0.005338739138096571, 0.10156235843896866, 0.022953635081648827, -0.010700800456106663, -0.009683177806437016, -0.03256506845355034, -0.03407716378569603, -0.035117797553539276, -0.025483597069978714, -0.014060144312679768, -0.07110222429037094, 0.02890157140791416, -0.014931422658264637, 0.049137573689222336, -0.06998178362846375, -0.048740535974502563, -0.0256733987480402, 0.046282004565000534, 0.017197132110595703, -0.016514310613274574, -0.04288214072585106, 0.000057304976508021355, -0.05228768661618233, -0.012732851319015026, 0.0072069852612912655, 0.037067096680402756, 0.007161577232182026, 0.06101067364215851, 0.02926609292626381, -0.012384040281176567, 0.02565116435289383, 0.04287078604102135, 0.07194336503744125, 0.020376868546009064, -0.04771461337804794, 0.00011158111010445282, -0.019948016852140427, 0.023398680612444878, -0.01802423968911171, -0.030461855232715607, -0.03321068361401558, -0.08035625517368317, -0.01090388186275959, 0.016089366748929024, -0.021026700735092163, -0.03322208672761917, 0.0492660328745842, 0.007877259515225887, 0.003129769815132022, 0.00966733880341053, 0.027065953239798546, 0.026098506525158882, -0.058121129870414734, 0.030954690650105476, 0.0042350273579359055, 0.035154178738594055, -0.061234649270772934, 0.009357109665870667, -0.01403376366943121, -0.01971888542175293, 0.010663643479347229, 0.059275493025779724, 0.01967744342982769, 0.03426522761583328, 0.05780516192317009, 0.006550503429025412, -0.03563679754734039, 0.055701982229948044, 0.038143713027238846, -0.04073083773255348, -0.043515805155038834, -0.0005635252455249429, -0.0283791683614254, -0.06479176133871078, -0.02750704623758793, -0.037781018763780594, 0.06348861753940582, 0.027433272451162338, 0.001983798574656248, -0.023886168375611305, 0.01632232777774334, -0.029558053240180016, -0.03367823734879494, -0.04618470370769501, -0.055760156363248825, 0.017358077690005302, -0.050006307661533356, 0.024260876700282097, 0.039896558970212936, 0.03677335008978844, 0.05779219791293144, 0.02768932469189167, -0.038078539073467255, -0.02545362338423729, 0.029839729890227318, 0.002615757519379258, -0.038961369544267654, -0.058128759264945984, -0.027476618066430092, 0.04654145613312721, 0.023004576563835144, 0.013415760360658169, -0.08042290806770325, -0.004976104479283094, 0.044019851833581924, -0.04628843069076538, 0.0393306203186512, -0.018656590953469276, 0.040122080594301224, 0.05117480084300041, -0.0019953413866460323, 0.02884218655526638, -0.04075910523533821, 0.016563134267926216, 0.008947810158133507, 0.026223590597510338, -0.012821543030440807, -0.014433542266488075, -0.047283727675676346, 0.02318478189408779, 0.040524087846279144, 0.02276737056672573, 0.03459881246089935, -0.035573720932006836, -0.06351319700479507, -0.004319700878113508, 0.020519744604825974, -0.042547255754470825, 0.034391216933727264, -0.0036598488222807646, 0.025768745690584183, -0.03704538568854332, -0.016785627231001854, 0.003447818337008357, 0.02445344254374504, 0.049988795071840286, 0.008327375166118145, -0.047506943345069885, -0.03306616470217705, 0.02726990170776844, -0.00842571072280407, -0.04243154078722, -0.06927187740802765, 0.014701994135975838, -0.015682052820920944, -0.012238767929375172, 0.029387224465608597, 0.03813084587454796, 0.05128505825996399, 0.03809511289000511, 0.013604586943984032, -0.004014370962977409, -0.042634017765522, 0.03276601806282997, -0.027195757254958153, -0.004847667180001736, -0.008195610716938972, -0.03037615865468979, -0.018100546672940254, -0.011325590312480927, -0.0556221604347229, -0.041475407779216766, 0.0042341165244579315, 0.052175700664520264, -0.03341243043541908, -0.0175724346190691, -0.0057028657756745815, 0.06199611350893974, -0.02993663400411606, -0.027532925829291344, -0.0291792843490839, -0.014898279681801796, -0.06190234795212746, -0.028152966871857643, 0.026883428916335106, -0.010862234979867935, 0.033186301589012146, 0.021183833479881287, 0.014353511855006218, 0.028989780694246292, 0.014856981113553047, 0.0029383765067905188, 0.014499310404062271, -0.00907949823886156, -0.06216878071427345, -0.016848545521497726, 0.019376568496227264, 0.017925113439559937, 0.07768074423074722, -0.013881055638194084, 0.025584373623132706, 0.027648715302348137, -0.06028612703084946, 0.005269586108624935, 0.02212432399392128, 0.04792310297489166, -0.04428551346063614, -0.046836260706186295, -0.00876854732632637, -0.04209578409790993, 0.012458941899240017, -0.018430031836032867, -0.012860460206866264, 0.01500825583934784, 0.030971717089414597, 0.0355653278529644, -0.004003146663308144, -0.03383121266961098, 0.020241154357790947, -0.022701701149344444, -0.01720879226922989, -0.023163408041000366, 0.06475987285375595, -0.02831508219242096, 0.02331659570336342, 0.002085580490529537, -0.03293618932366371, -0.06410694122314453, 0.02762235887348652, -0.014881613664329052, -0.0011761016212403774, 0.009442737326025963, 0.009981170296669006, -0.015337810851633549, 0.01592935621738434, -0.035750314593315125, 0.00019504399097058922, -0.0361345149576664, 0.057807233184576035, -0.0247338879853487, 0.012456860393285751, 0.0016257286770269275, -0.0018596758600324392, -0.03984823450446129, -0.0019645814318209887, -0.012264403514564037, -0.05092068761587143, 0.04039089009165764, 0.05504296347498894, 0.03321799263358116, 0.03402178734540939, -0.012228022329509258, 0.0000761896517360583, -0.011551749892532825, -0.05088295415043831, 0.0022608793806284666, 0.012806064449250698, 0.03032311610877514, 0.010395790450274944, 0.045614104717969894, 0.04137999936938286, -0.0706719383597374, -0.05296874791383743, 0.03448959439992905, 0.01577058434486389, 0.012641331180930138, 0.011312483809888363, 0.026646828278899193, 0.053492601960897446, 0.05857192724943161, -0.03838284686207771, -0.009370365180075169, -0.02099698968231678, -0.047822754830121994, 0.03616386651992798, -0.01703518070280552, 0.024071337655186653, -0.0054053873755037785, -0.04383678361773491, -0.02854013815522194, 0.06607799977064133, 0.0016109818825498223, 0.015927065163850784, -0.009399228729307652, -0.034593645483255386, -0.008142624981701374, -0.01545187458395958, -0.036705538630485535, 0.027050379663705826, 0.0071409004740417, -0.03662026673555374, 0.07493756711483002, -0.012063663452863693, 0.0008927083108574152, 0.048136528581380844, 0.01818554475903511, -0.023520441725850105, 0.045920684933662415, -0.023175831884145737, -0.004107161890715361, 0.03576163947582245, -0.05414645001292229, -0.006349261850118637, -0.039027273654937744, 0.06428486108779907, -0.09222185611724854, 0.04502787068486214, 0.04967593401670456, 0.010841438546776772, 0.03979729861021042, -0.030120179057121277, -0.03901372477412224, 0.03365009278059006, -0.04264996200799942, 0.09679964929819107, 0.02009197324514389, -0.048885542899370193, 0.053492408245801926, 0.03418843075633049, -0.0860978364944458, 0.049223337322473526, 0.04743218049407005, 0.03209427371621132, 0.0234678965061903, 0.058878593146800995, -0.05292162671685219, 0.02759484201669693, -0.031380146741867065, 0.05016713589429855, -0.0718504786491394, -0.006730519700795412, 0.012154176831245422, -0.05893145501613617, -0.04254020377993584, 0.03319874405860901, -0.011680946685373783, -0.0390545055270195, 0.01361957099288702, -0.05471387505531311, -0.04764748737215996, 0.005042097996920347, 0.025761717930436134, -0.0406821109354496, -0.03839855641126633, -0.04605599865317345, 0.019864901900291443, 0.016815461218357086, 0.017196636646986008, -0.04397522658109665, -0.007153574842959642, 0.02869068644940853, -0.0490100122988224, -0.002782258437946439, 0.04316733032464981, -0.0016485981177538633, -0.04820888116955757, 0.033936358988285065, -0.00043418965651653707, 0.013188122771680355, 0.028919091448187828, -0.0020615682005882263, 0.017679976299405098, -0.058365363627672195, -0.029590731486678123, 0.007073978893458843, 0.014562344178557396, 0.006035827100276947, -0.02467992529273033, 0.044194191694259644, 0.04406348988413811, 0.014228381216526031, 0.01490184385329485, -0.02775408700108528, -0.010645108297467232, 0.04174536466598511, -0.04601174220442772, 0.023963119834661484, 0.006114345043897629, -0.04842298850417137, -0.02518434263765812, -0.006845930125564337, -0.004672643728554249, 0.028852960094809532, -0.04777149483561516, 0.005575533956289291, 0.026395779103040695, -0.013993151485919952, -0.04006188362836838, -0.06998278200626373, -0.032900139689445496, -0.019859490916132927, 0.03306656330823898, -0.004537034779787064, -0.04083992540836334, -0.01113020908087492, -0.06496071815490723, -0.06098603084683418, 0.01615471951663494, 0.03399931639432907, -0.044942617416381836, 0.04588693752884865, 0.033193107694387436, -0.0562993660569191, 0.021927565336227417, 0.04149875044822693, -0.024752434343099594, 0.03752570599317551, 0.013262887485325336, 0.006747824139893055, 0.02509269304573536, 0.02240164577960968, -0.042233604937791824, -0.03296561539173126, -0.07679765671491623, -0.03519377484917641, -0.020672129467129707, 0.0007250671042129397, 0.054497960954904556 ]
bert-large-uncased-whole-word-masking-finetuned-squad
[ "pytorch", "tf", "jax", "safetensors", "bert", "question-answering", "en", "dataset:bookcorpus", "dataset:wikipedia", "arxiv:1810.04805", "transformers", "license:apache-2.0", "autotrain_compatible", "has_space" ]
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 } } }
480,510
2022-01-28T07:34:48Z
--- language: - ab tags: - ab - automatic-speech-recognition - generated_from_trainer - hf-asr-leaderboard - mozilla-foundation/common_voice_7_0 - robust-speech-event datasets: - mozilla-foundation/common_voice_7_0 model-index: - name: '' 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. --> # This model is a fine-tuned version of [hf-test/xls-r-dummy](https://huggingface.co/hf-test/xls-r-dummy) on the MOZILLA-FOUNDATION/COMMON_VOICE_7_0 - AB dataset. It achieves the following results on the evaluation set: - Loss: 135.4675 - 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.0003 - train_batch_size: 2 - eval_batch_size: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - training_steps: 100 ### Training results ### Framework versions - Transformers 4.17.0.dev0 - Pytorch 1.10.1+cu102 - Datasets 1.18.2.dev0 - Tokenizers 0.10.3
[ -0.03955406695604324, -0.009506291709840298, -0.02601340413093567, 0.04517793282866478, 0.038116440176963806, 0.03586740419268608, -0.01833944208920002, -0.016237815842032433, -0.036528605967760086, 0.06041742116212845, 0.03316429257392883, -0.02553180605173111, -0.006239871494472027, 0.01988416165113449, -0.04550406336784363, -0.03880194574594498, -0.027824368327856064, -0.00717115355655551, -0.03635772317647934, -0.009932637214660645, 0.013931536115705967, 0.016860701143741608, -0.003045310266315937, 0.02142086625099182, -0.009919705800712109, 0.025275664404034615, -0.023076752200722694, 0.01876862719655037, 0.025019535794854164, -0.048225484788417816, -0.005144946277141571, -0.05236959457397461, -0.04915635287761688, -0.0065791308879852295, -0.0109026450663805, 0.010554545558989048, -0.004566110670566559, 0.02298327349126339, 0.037643998861312866, 0.04676303267478943, -0.006725498009473085, 0.028653372079133987, -0.009600999765098095, -0.01387591939419508, 0.039810825139284134, 0.0009370695916004479, -0.021493257954716682, -0.03906594216823578, 0.032031383365392685, -0.035015132278203964, -0.04837004840373993, -0.05388491973280907, -0.010551481507718563, 0.02555585466325283, -0.02330300398170948, -0.015810256823897362, -0.052567608654499054, -0.005905130412429571, 0.07629432529211044, -0.046829406172037125, -0.03856423497200012, 0.023673666641116142, -0.05898367613554001, 0.004318422172218561, 0.044111862778663635, -0.04066809266805649, 0.023774467408657074, -0.036949969828128815, 0.02665114402770996, -0.028913993388414383, 0.0611150898039341, -0.007860276848077774, 0.01572137512266636, -0.08603163808584213, -0.0011679113376885653, -0.014291651546955109, 0.04575660452246666, 0.05704339221119881, -0.022487018257379532, 0.0477389432489872, 0.020947013050317764, 0.002717125229537487, 0.053528640419244766, -0.024816147983074188, 0.015155795961618423, 0.035425469279289246, -0.044202808290719986, 0.006255015265196562, 0.020831981673836708, 0.029439998790621758, -0.0431613065302372, -0.0397065095603466, -0.018579833209514618, -0.05137856304645538, -0.026267945766448975, 0.04047482833266258, 0.05099860951304436, -0.010427636094391346, 0.05649231746792793, 0.01419394463300705, 0.0354955829679966, 0.016559764742851257, -0.02149922214448452, 0.05958225205540657, -0.0169904176145792, -0.013214276172220707, -0.009740374982357025, -0.021137798205018044, -0.03497666120529175, 0.036831747740507126, 0.01685529388487339, -0.032100751996040344, -0.039950817823410034, 0.02253093011677265, 0.016705578193068504, -0.03351800516247749, 0.06436072289943695, -0.03946385532617569, -0.036992911249399185, -0.04155074805021286, 0.05180700495839119, 0.013027449138462543, 0.01803714595735073, 0.016086265444755554, -0.041793834418058395, 0.002022746717557311, -0.03919405862689018, -0.04251336678862572, 0.015755929052829742, -0.0019471982959657907, 0.011885527521371841, 0.06831277161836624, 0.010838241316378117, -0.058319032192230225, -0.00795825570821762, 0.004637280013412237, -0.046362921595573425, 0.03586285188794136, -0.015573778189718723, 0.10420088469982147, -0.06271760910749435, -0.07451041042804718, 0.017298372462391853, 0.0011178975692018867, -0.012357178144156933, 0.020080208778381348, 0.030494216829538345, -0.016835348680615425, -0.03957103565335274, -0.0008809685823507607, 0.039071645587682724, -0.06378689408302307, -0.023181358352303505, 0.05499832332134247, -0.016928236931562424, 0.04452179744839668, -0.030728496611118317, -0.009449148550629616, 0.00498428288847208, -0.0182347372174263, -0.014198211953043938, 0.04194535315036774, -0.01838948205113411, -0.007254116702824831, -0.037787970155477524, -0.03755437582731247, 0.011592394672334194, 0.06243530288338661, -0.004940730053931475, -0.008703346364200115, -0.03110986202955246, 0.034072231501340866, 0.044060152024030685, 0.026636788621544838, -0.053856052458286285, 0.04444309324026108, 0.06960783153772354, 0.03319085016846657, -0.02384444884955883, 0.06080255284905434, -0.0007950267754495144, -0.03240414336323738, -0.04176756739616394, 0.027662325650453568, -0.005291017238050699, -0.047248274087905884, -0.0006414290401153266, 0.02960224449634552, -0.004670339170843363, -0.042068611830472946, -0.03921683877706528, 0.04727692902088165, -0.01832408457994461, -0.003671499667689204, 0.0021166319493204355, -0.013140958733856678, -0.03328893706202507, 0.03305676952004433, -0.029886333271861076, 0.007621189579367638, -0.03778623789548874, -0.03152799978852272, 0.009653537534177303, 0.015979474410414696, 0.031036049127578735, 0.07076004147529602, -0.0019370184745639563, 0.0742441713809967, -0.04106979817152023, 0.0163290873169899, -0.0354624018073082, -0.05287043750286102, 0.009846873581409454, 0.05730149894952774, 0.05348759889602661, 0.06265593320131302, 0.0019392160465940833, -0.06727529317140579, 0.03900735080242157, 0.05979086831212044, 0.06104797124862671, 0.015447333455085754, -0.03437237814068794, -0.008435561321675777, 0.025681495666503906, 0.06199411675333977, -0.058939192444086075, -0.03111294098198414, 0.0010112931486219168, 0.04623449593782425, -0.00519167073071003, 0.021487122401595116, -0.01739601232111454, 0.03992300108075142, -0.05525587126612663, -0.07519404590129852, 0.06136814504861832, 0.030321551486849785, -0.001646613352932036, 0.035239096730947495, -0.005428756587207317, 0.003903877455741167, 0.010990426875650883, 0.012419013306498528, -0.0047887954860925674, -0.0469164215028286, 0.008520078845322132, 0.015231279656291008, 0.02285504713654518, -0.05596021190285683, 0.05015537515282631, -0.020345650613307953, -0.0055536325089633465, 0.018830666318535805, -0.04595738276839256, 0.0351388081908226, 0.020391276106238365, 0.027086492627859116, -0.05253400281071663, 0.027110878378152847, 0.008998955599963665, 0.054745957255363464, 0.029841745272278786, 0.007917964830994606, 0.07100099325180054, 0.02082746848464012, 0.0463174432516098, 0.08573426306247711, 0.03949929401278496, 0.027445737272500992, 0.035049282014369965, 0.06740828603506088, 0.007234575692564249, -0.022990567609667778, 0.0686812698841095, -0.04545120149850845, 0.02340863272547722, -0.046490829437971115, -0.003044627606868744, -0.023534677922725677, -0.006721018813550472, 0.04043202102184296, 0.01384673360735178, -0.011007452383637428, -0.005320865195244551, -0.03589344397187233, -0.02238665148615837, 0.039297934621572495, -0.008559884503483772, -0.012996077537536621, 0.0012921782908961177, 0.0017083752900362015, -0.008755545131862164, -0.07973238080739975, -0.022239798679947853, -0.005687980446964502, -0.04087834432721138, 0.00030020764097571373, -0.07917048782110214, -0.006001994479447603, -0.05272023007273674, -0.01620977371931076, 0.02414799854159355, -0.001578436465933919, 0.00846777856349945, -0.04668558016419411, 0.017781216651201248, -0.06306928396224976, -0.0340530090034008, -0.06466465443372726, -0.03186004236340523, -0.04359045252203941, -0.057952847331762314, 0.041594248265028, 0.03468773514032364, 0.0407257117331028, -0.013559943065047264, -0.015591692179441452, -0.026129137724637985, -0.0315135233104229, 0.05928117781877518, 0.04265858978033066, -0.04239045828580856, -0.05237409844994545, 0.010499896481633186, -0.02712763100862503, 0.025635212659835815, 0.003128164215013385, -0.022401370108127594, 0.09986373037099838, 0.0662238597869873, 0.014370540156960487, 0.020975757390260696, -0.044706057757139206, -0.06257409602403641, -0.06468772888183594, -0.02365754172205925, -0.03389882668852806, -0.02011258900165558, -0.02295881137251854, -0.04183022305369377, -0.013499160297214985, -0.011535083875060081, -0.0058851540088653564, -0.0004714980605058372, 0.007818317040801048, 0.03456147387623787, 0.03179735690355301, 0.018894709646701813, 0.020313194021582603, -0.02521650306880474, -0.0489414744079113, 0.06958985328674316, 0.01566481962800026, 0.007113341242074966, -0.08484993129968643, -0.024355553090572357, 0.03880436718463898, 0.0241331085562706, -0.01677250862121582, -0.012131561525166035, 0.08682809770107269, -0.00022342886950355023, -0.014123493805527687, 0.01278137881308794, -0.01710982248187065, -0.02829721011221409, -0.0057774679735302925, -0.00642875861376524, -0.005021871067583561, -0.06583154946565628, -0.023867040872573853, 0.007931237109005451, 0.053105175495147705, -0.07167566567659378, -0.03667018562555313, -0.027269819751381874, 0.043654900044202805, 0.03746430203318596, -0.006147168111056089, -0.03683985397219658, -0.0005592501838691533, -0.06367373466491699, -0.024597881361842155, 0.011493110097944736, 0.024350516498088837, 0.014576731249690056, 0.028640206903219223, 0.009373290464282036, -0.028870293870568275, 0.04570261389017105, 0.042045723646879196, 0.04470903053879738, 0.024348685517907143, -0.07204817235469818, 0.007107680197805166, -0.015435725450515747, 0.013852211646735668, -0.0017648286884650588, -0.0169536005705595, -0.03572027385234833, -0.10462144017219543, -0.017918210476636887, -0.0028759432025253773, -0.01265342254191637, -0.006774124223738909, 0.03163972496986389, -0.015922939404845238, -0.010101156309247017, -0.0030951283406466246, 0.024606572464108467, 0.038316234946250916, -0.0480293408036232, 0.04803251475095749, -0.010683500207960606, 0.03788621723651886, -0.06476329267024994, 0.02507247030735016, -0.016798797994852066, -0.036165788769721985, 0.007578042335808277, 0.08285228908061981, 0.009118159301578999, 0.04735090956091881, 0.08099668473005295, 0.04379701241850853, -0.056734245270490646, 0.03151359781622887, 0.05894789099693298, -0.027422714978456497, -0.03799155354499817, 0.016761792823672295, -0.015393545851111412, -0.035526275634765625, -0.008259330876171589, -0.033851709216833115, 0.028573205694556236, 0.04376116022467613, -0.0028860834427177906, -0.0016683758003637195, 0.009340133517980576, -0.015104424208402634, -0.013919457793235779, -0.05992458760738373, -0.03050268441438675, 0.010481514036655426, -0.020317796617746353, 0.03386920318007469, 0.02223832532763481, 0.018757032230496407, 0.06384702771902084, 0.04368598014116287, -0.03832045942544937, -0.025696659460663795, 0.02937975898385048, 0.026802247390151024, -0.02574828825891018, -0.07229001820087433, -0.03240501880645752, 0.03686254099011421, 0.038235440850257874, -0.012574853375554085, -0.07078234106302261, -0.013031210750341415, 0.04860546067357063, -0.02975638024508953, 0.04628733918070793, -0.03373148664832115, 0.038340821862220764, 0.06515323370695114, -0.0287630632519722, 0.04352247342467308, -0.025233833119273186, 0.011484560556709766, 0.011715536005795002, 0.03293987363576889, -0.010741621255874634, -0.035526253283023834, -0.0553736537694931, 0.024820495396852493, 0.043779123574495316, 0.02575262077152729, 0.057165589183568954, -0.02912078984081745, -0.031547099351882935, 0.0015010418137535453, 0.03049660287797451, -0.034127965569496155, 0.006985973101109266, 0.029398363083600998, 0.037953611463308334, -0.03015025518834591, -0.020116226747632027, -0.026552220806479454, -0.016348548233509064, 0.014174007810652256, -0.003663561539724469, -0.05202985182404518, -0.03822702541947365, 0.030065424740314484, -0.011237449012696743, -0.03063388727605343, -0.0837855264544487, 0.04708898812532425, -0.008803856559097767, -0.013343360275030136, 0.0626692920923233, 0.028043856844305992, 0.03918687254190445, 0.05533899366855621, 0.019473237916827202, 0.0230027437210083, -0.02678300067782402, 0.03353823721408844, -0.03978683799505234, -0.017358707264065742, 0.00026014528702944517, -0.03364676237106323, 0.001791559043340385, -0.03422842174768448, -0.03445759415626526, -0.04172470420598984, -0.010166426189243793, 0.03540952876210213, -0.013087340630590916, -0.02311081811785698, -0.011226020753383636, 0.02856185846030712, -0.03582840785384178, -0.039393600076436996, -0.02573617920279503, -0.03109927847981453, -0.06905683875083923, -0.06857258081436157, 0.03836667165160179, -0.009999673813581467, 0.027766503393650055, 0.027454184368252754, 0.01925869844853878, 0.03968481346964836, -0.010987583547830582, -0.010740237310528755, 0.010689741931855679, -0.017149798572063446, -0.03717927262187004, -0.02426106482744217, 0.027797779068350792, 0.014827271923422813, 0.037835799157619476, -0.029821529984474182, 0.024258675053715706, 0.013338210061192513, -0.029984090477228165, -0.015118036419153214, 0.013730976730585098, 0.031130539253354073, -0.07358233630657196, -0.034090183675289154, -0.016301309689879417, -0.053448788821697235, 0.017278118059039116, -0.02712080255150795, -0.0053374576382339, 0.00564484391361475, 0.01751859299838543, 0.03494717553257942, -0.017334287986159325, -0.024938764050602913, 0.01601005345582962, -0.028249815106391907, 0.03240115940570831, -0.03409090265631676, 0.04896647110581398, -0.02699090726673603, -0.001972756115719676, -0.008041683584451675, 0.01488023903220892, -0.05936126038432121, 0.046080082654953, -0.021413529291749, -0.02799103781580925, 0.004993022885173559, 0.017131540924310684, -0.024968929588794708, 0.025146014988422394, -0.02276517078280449, 0.018956337124109268, -0.04441547393798828, 0.07232411205768585, -0.024663005024194717, 0.012678819708526134, -0.020719274878501892, 0.020866991952061653, -0.004033598583191633, 0.004970934242010117, 0.01468636840581894, -0.03350089117884636, 0.038720473647117615, 0.04969600960612297, 0.03807994723320007, 0.02083214744925499, -0.021706577390432358, -0.0009307606378570199, 0.01745605282485485, -0.03845548257231712, -0.01626715436577797, 0.013450808823108673, 0.018343770876526833, 0.007178636267781258, 0.044219013303518295, 0.03765841946005821, -0.051770277321338654, -0.06861217319965363, 0.0300750732421875, 0.024189509451389313, -0.010473248548805714, 0.011999650858342648, 0.039259642362594604, 0.029780330136418343, 0.05343368276953697, -0.025470681488513947, -0.009068919345736504, -0.02513979747891426, -0.029026275500655174, 0.025954829528927803, -0.0020983347203582525, 0.01830560341477394, 0.001596926711499691, -0.033517397940158844, -0.03826022893190384, 0.060183972120285034, -0.0011568526970222592, 0.012754921801388264, -0.03062484599649906, -0.05288463458418846, 0.015529489144682884, -0.01213501114398241, -0.05194687843322754, 0.01682531088590622, 0.003150281962007284, -0.021296542137861252, 0.07003630697727203, -0.00748315267264843, 0.008280141279101372, 0.044388916343450546, 0.020109357312321663, -0.014641594141721725, 0.05115226283669472, -0.018488798290491104, 0.0029213486704975367, 0.03707745298743248, -0.059157755225896835, -0.028369642794132233, -0.030598368495702744, 0.06519564241170883, -0.06163330748677254, 0.031780634075403214, 0.04151351377367973, 0.004677173215895891, 0.035440217703580856, -0.03176703676581383, -0.054966896772384644, 0.026343969628214836, -0.0447695218026638, 0.06885985285043716, 0.014614969491958618, -0.053011100739240646, 0.05256209149956703, 0.010754989460110664, -0.09115005284547806, 0.03653664514422417, 0.03838782757520676, 0.049079298973083496, 0.014693791046738625, 0.052577678114175797, -0.053393248468637466, 0.0006342167616821826, -0.04096535965800285, 0.011650223284959793, -0.0531003400683403, -0.0038679286371916533, 0.047130364924669266, -0.04336722567677498, -0.01957632228732109, 0.03795505687594414, -0.015207407996058464, -0.018051695078611374, 0.032874155789613724, -0.05895828828215599, -0.041132327169179916, 0.01774032786488533, -0.002931730356067419, -0.047051187604665756, 0.01962151564657688, -0.04712929576635361, 0.016344046220183372, 0.0173912663012743, -0.004638404119759798, -0.03031252883374691, -0.012036052532494068, 0.01687280647456646, -0.05298696085810661, -0.053583573549985886, 0.0475427508354187, -0.000032875581382540986, -0.030455149710178375, 0.034568022936582565, 0.026792708784341812, 0.02956424281001091, 0.02372113987803459, 0.00805128924548626, 0.01720297522842884, -0.04683147743344307, -0.023102054372429848, 0.00778074748814106, 0.019887706264853477, 0.04332340136170387, -0.004213495180010796, 0.05212181434035301, 0.04078163206577301, 0.018140947446227074, -0.013985016383230686, -0.025426046922802925, -0.03517952933907509, 0.02117888815701008, -0.03155634179711342, 0.014258826151490211, -0.002964109880849719, -0.04692200571298599, -0.048822540789842606, -0.026753557845950127, -0.01785305328667164, 0.020225539803504944, -0.05365265905857086, -0.012664327397942543, 0.04126666858792305, -0.02705596759915352, -0.04805032163858414, -0.0914650484919548, -0.025004977360367775, -0.04536035284399986, 0.03293696790933609, 0.03346144035458565, -0.05147983133792877, 0.01876639947295189, -0.04034631326794624, -0.039667364209890366, 0.035291336476802826, 0.02545849420130253, -0.03675631061196327, 0.05427145957946777, 0.032729391008615494, -0.06005946546792984, 0.021313278004527092, 0.03577664867043495, -0.039511196315288544, 0.017517950385808945, 0.02707185409963131, 0.018982239067554474, 0.043928757309913635, 0.019487325102090836, -0.04029538109898567, -0.030399564653635025, -0.09900988638401031, -0.04563060402870178, -0.04256190359592438, 0.007990118116140366, 0.06360440701246262 ]
ctrl
[ "pytorch", "tf", "ctrl", "en", "arxiv:1909.05858", "arxiv:1910.09700", "transformers", "license:bsd-3-clause", "has_space" ]
null
{ "architectures": null, "model_type": "ctrl", "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 } } }
17,007
2021-11-18T23:19:46Z
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: bert-base-uncased-finetuned-md 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. --> # bert-base-uncased-finetuned-md This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.3329 ## 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: 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: 3.0 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 0.2415 | 1.0 | 1044 | 0.2084 | | 0.1244 | 2.0 | 2088 | 0.2903 | | 0.0427 | 3.0 | 3132 | 0.3329 | ### Framework versions - Transformers 4.15.0 - Pytorch 1.10.0+cu111 - Tokenizers 0.10.3
[ -0.021109070628881454, 0.0007809957605786622, -0.009210022166371346, 0.036250222474336624, 0.035551417618989944, 0.019627168774604797, -0.01768295280635357, -0.024199826642870903, -0.03125354275107384, 0.04229620844125748, 0.026915010064840317, -0.023465901613235474, 0.020079880952835083, 0.05124335736036301, -0.010400108993053436, -0.03888825699687004, 0.004029083997011185, -0.004922670312225819, -0.0466202013194561, 0.004864197690039873, 0.010905979201197624, 0.0028305132873356342, 0.0023982664570212364, 0.01823553256690502, 0.005628854967653751, 0.013004807755351067, -0.016213838011026382, 0.018299616873264313, 0.03887712582945824, -0.05977810174226761, 0.0038755228742957115, -0.03216060250997543, -0.045423801988363266, -0.02523510903120041, -0.014014540240168571, 0.006435789633542299, 0.009941074065864086, 0.01980421133339405, 0.03672279044985771, 0.04936163127422333, -0.006629963405430317, 0.026106832548975945, 0.019304724410176277, -0.024283679202198982, 0.04864230751991272, 0.006020664237439632, -0.029356522485613823, -0.005745693575590849, 0.0523126944899559, -0.019551604986190796, -0.07353506237268448, -0.06853893399238586, -0.026730762794613838, 0.038613900542259216, -0.016904275864362717, 0.002738361479714513, -0.05167180299758911, 0.0032597321551293135, 0.06560951471328735, -0.036441925913095474, -0.037113361060619354, 0.02326056733727455, -0.06252659857273102, 0.030018385499715805, 0.0359325185418129, -0.019287563860416412, 0.014342770911753178, -0.044591184705495834, 0.04539759084582329, -0.029594875872135162, 0.05522451177239418, -0.013290642760694027, 0.015276885591447353, -0.08165371417999268, -0.018100617453455925, -0.0043725562281906605, 0.05981471762061119, 0.05291347950696945, -0.029178006574511528, 0.0596296526491642, 0.018408166244626045, -0.0036605673376470804, 0.044901929795742035, -0.03411977365612984, 0.011893754824995995, 0.03349721059203148, -0.02001863904297352, 0.014137107878923416, 0.024869296699762344, 0.029824504628777504, -0.03268503025174141, -0.02223922312259674, -0.04762468859553337, -0.023232273757457733, -0.014001531526446342, 0.026637721806764603, 0.0281683336943388, 0.018671274185180664, 0.03440377488732338, 0.024621717631816864, 0.027613835409283638, 0.04255535081028938, -0.013599330559372902, 0.07469123601913452, 0.0014308399986475706, -0.01258714310824871, -0.005083562806248665, -0.02144460752606392, -0.025665931403636932, 0.03424149006605148, 0.04241938516497612, -0.02809619903564453, -0.03509989753365517, 0.03910887986421585, 0.01044793613255024, -0.00920931063592434, 0.08103674650192261, -0.01661773771047592, -0.04630063846707344, -0.03505972772836685, 0.03359152749180794, 0.003486290108412504, 0.010165312327444553, 0.00947137176990509, -0.03561484068632126, -0.024825433269143105, -0.033487021923065186, -0.020646270364522934, -0.015374596230685711, 0.020191986113786697, 0.004899212624877691, 0.05882953107357025, 0.018101291730999947, -0.07493549585342407, -0.0010846089571714401, 0.020669331774115562, -0.05760185793042183, 0.052389465272426605, 0.003989849239587784, 0.12494317442178726, -0.061900246888399124, -0.06771226227283478, 0.017165811732411385, 0.001011442975141108, -0.029538827016949654, 0.012187786400318146, 0.017305150628089905, -0.04802491143345833, 0.0009409580961801112, 0.0005945617449469864, 0.053408365696668625, -0.041420817375183105, -0.008579112589359283, 0.070452980697155, -0.00521642342209816, 0.03280267491936684, -0.04734717682003975, -0.02455313690006733, 0.006609691306948662, -0.021400250494480133, -0.035012565553188324, 0.057583894580602646, -0.024998199194669724, -0.0179616566747427, -0.011322819627821445, -0.04571380466222763, 0.009458006359636784, 0.08238919824361801, 0.0043808999471366405, -0.020918190479278564, -0.011394389905035496, 0.02349800430238247, 0.03809972107410431, 0.04250812903046608, -0.03754589706659317, 0.04750934615731239, 0.060015734285116196, 0.01927405223250389, -0.02431706339120865, 0.028575167059898376, 0.010912705212831497, -0.027987917885184288, -0.02428468130528927, 0.021187497302889824, -0.013014811091125011, -0.04429700970649719, 0.039295926690101624, 0.02536095306277275, -0.00446882052347064, -0.05784885212779045, -0.029735276475548744, 0.04560244828462601, 0.0022052957210689783, 0.004256796557456255, 0.021771011874079704, -0.003043142147362232, -0.01515284739434719, 0.04836273193359375, -0.01683771051466465, 0.013163840398192406, -0.0315757654607296, -0.03049931675195694, 0.014532797038555145, -0.017092997208237648, 0.02792104333639145, 0.053050898015499115, -0.019341206178069115, 0.08737748861312866, -0.04301893338561058, 0.025334613397717476, -0.04465097934007645, -0.039085958153009415, 0.030434001237154007, 0.06876463443040848, 0.047894351184368134, 0.046218208968639374, 0.0014112736098468304, -0.05376647412776947, 0.023564167320728302, 0.05363772436976433, 0.04060881584882736, 0.013177013024687767, -0.034435901790857315, -0.010711794719099998, 0.05217965692281723, 0.05019878223538399, -0.056618914008140564, -0.02622423693537712, 0.0070787048898637295, 0.026742970570921898, 0.0020286417566239834, 0.02461528405547142, -0.020858878269791603, 0.027378518134355545, -0.05054474249482155, -0.06796810030937195, 0.05412128567695618, 0.03128468990325928, -0.011201681569218636, 0.026467327028512955, 0.0001888649130705744, 0.0006105509237386286, 0.018057899549603462, 0.027089934796094894, -0.0013368964428082108, -0.044613316655159, 0.014792009256780148, 0.014546903781592846, 0.04681939259171486, -0.06356922537088394, 0.04070587456226349, -0.02778918296098709, 0.020041896030306816, 0.032780010253190994, -0.04711632803082466, 0.01732531562447548, 0.04235835373401642, 0.02484254166483879, -0.02969544753432274, 0.020835695788264275, 0.012831701897084713, 0.04700824245810509, 0.04164234548807144, 0.0029502641409635544, 0.06793949753046036, -0.008498885668814182, 0.04477565363049507, 0.07626402378082275, 0.024593936279416084, 0.04837055131793022, 0.014698629267513752, 0.06352893263101578, 0.020072096958756447, -0.02515425905585289, 0.06291177868843079, -0.05421314015984535, 0.020869171246886253, -0.03478456661105156, -0.003396160202100873, -0.02182532288134098, -0.012480909936130047, 0.037638332694768906, 0.01998291164636612, -0.00981881283223629, -0.020085470750927925, 0.012267164885997772, -0.0039878226816654205, 0.017545292153954506, 0.005095855798572302, 0.004649477079510689, -0.0021791053004562855, -0.011397114023566246, -0.027126453816890717, -0.058608587831258774, -0.043474454432725906, -0.010853174142539501, -0.028852295130491257, -0.015086712315678596, -0.09317681193351746, -0.021987970918416977, -0.0837240144610405, -0.017424097284674644, 0.0420859232544899, 0.013548476621508598, -0.013246809132397175, -0.05303693935275078, 0.024297144263982773, -0.04801562801003456, -0.045587603002786636, -0.06352737545967102, -0.045652635395526886, -0.04928953945636749, -0.07400896400213242, 0.03604502975940704, 0.023836463689804077, 0.016060931608080864, -0.0076362211257219315, 0.0227604191750288, -0.003984875977039337, -0.02103603072464466, 0.056062791496515274, 0.047430723905563354, -0.043957602232694626, -0.04860023036599159, 0.026658236980438232, -0.004996403120458126, 0.01344287022948265, 0.022765355184674263, -0.03212583810091019, 0.09337016195058823, 0.06135229393839836, 0.01756834052503109, 0.02348881959915161, -0.011934688314795494, -0.05398314446210861, -0.05845291167497635, -0.02064586989581585, -0.04535937309265137, -0.014640897512435913, -0.035041991621255875, -0.04240618273615837, -0.015409402549266815, -0.03718644380569458, 0.011560778133571148, -0.008326011709868908, 0.033408261835575104, 0.01481496449559927, 0.03854617103934288, 0.023771343752741814, 0.023259907960891724, -0.03984471410512924, -0.050255656242370605, 0.04758830368518829, 0.009390170685946941, -0.0011788239935413003, -0.09284874051809311, -0.013142203912138939, 0.032159674912691116, 0.03215740993618965, 0.024040622636675835, -0.0017418540082871914, 0.05447235703468323, -0.0007555411430075765, 0.00009709178993944079, 0.02090957947075367, -0.016609279438853264, -0.019884303212165833, -0.0070933629758656025, 0.011631159111857414, 0.0011327266693115234, -0.04052894562482834, -0.02785981073975563, 0.010196099989116192, 0.04177602007985115, -0.05705215409398079, -0.053009457886219025, -0.01122218370437622, 0.021690070629119873, 0.052357643842697144, 0.003069119295105338, -0.06257166713476181, -0.02869068644940853, -0.06219182908535004, -0.01152892131358385, 0.03337319195270538, 0.005882455036044121, 0.01643742248415947, 0.032574016600847244, 0.026290642097592354, -0.025192990899086, 0.016032511368393898, 0.0480307973921299, 0.07215303927659988, 0.003081696340814233, -0.07404356449842453, 0.0022002283949404955, -0.020586393773555756, 0.027681056410074234, -0.0034839806612581015, -0.027645699679851532, -0.02414507232606411, -0.10313358902931213, -0.03296186402440071, -0.002259796252474189, -0.003376846434548497, -0.012513440102338791, 0.022840261459350586, -0.0071918354369699955, -0.012295559979975224, 0.004634976387023926, 0.0065668500028550625, 0.04606914147734642, -0.0248585008084774, 0.05884764343500137, -0.022725047543644905, 0.012264348566532135, -0.04180847480893135, 0.006412918213754892, -0.03663310781121254, -0.02014974318444729, 0.010949729941785336, 0.056960757821798325, 0.0019049934344366193, 0.058510877192020416, 0.07799911499023438, 0.030534373596310616, -0.04516935348510742, 0.039491668343544006, 0.06534342467784882, -0.028717759996652603, -0.04369732737541199, 0.018992913886904716, -0.021873096004128456, -0.0296796802431345, -0.0038694755639880896, -0.02368290163576603, 0.04228001832962036, 0.040841370820999146, -0.005431745201349258, 0.00811760500073433, -0.007333323359489441, -0.0025043014902621508, -0.049790509045124054, -0.058107275515794754, -0.021471047773957253, 0.002106833504512906, -0.03506678715348244, 0.027809638530015945, 0.03395376726984978, 0.014579962939023972, 0.0782938078045845, 0.04293619841337204, -0.02619658224284649, -0.028009498491883278, 0.03150893375277519, 0.01303447037935257, -0.02342245727777481, -0.07932869344949722, -0.04098019748926163, 0.02820104919373989, 0.05203576013445854, -0.018898367881774902, -0.06449420750141144, 0.013510684482753277, 0.05763460695743561, -0.03677816316485405, 0.0675274133682251, -0.025761617347598076, 0.06037909910082817, 0.06681469827890396, -0.016200629994273186, 0.040711745619773865, -0.018035588786005974, -0.017280180007219315, 0.009125004522502422, 0.02791997604072094, -0.02863917499780655, -0.04489156976342201, -0.0445760041475296, 0.018861722201108932, 0.05717248097062111, 0.03309608995914459, 0.04442668333649635, -0.03311317414045334, -0.03915805369615555, 0.007150278426706791, 0.04518803209066391, -0.051437027752399445, -0.0012822439894080162, 0.025079121813178062, 0.03212588280439377, -0.05173749849200249, -0.03271869197487831, -0.04581195116043091, -0.024817228317260742, 0.031065458431839943, 0.01065900269895792, -0.04531222581863403, -0.044626448303461075, 0.03854609653353691, 0.012668555602431297, -0.029556695371866226, -0.059260204434394836, 0.054430048912763596, -0.01030026189982891, -0.01413674745708704, 0.05259004235267639, 0.025254542008042336, 0.03547990322113037, 0.05711228400468826, 0.02926972135901451, 0.0091936606913805, -0.038338303565979004, 0.032452065497636795, -0.034664493054151535, -0.03554990887641907, 0.006588706746697426, -0.03622276708483696, -0.02263081818819046, -0.011764011345803738, -0.04814650118350983, -0.04929249361157417, -0.02056831680238247, 0.008400484919548035, -0.002893074881285429, -0.008427045308053493, -0.005838682875037193, 0.03028428927063942, -0.019200103357434273, -0.02883068099617958, -0.030993927270174026, -0.03224102780222893, -0.062162213027477264, -0.05713145062327385, 0.005478622857481241, 0.021242139860987663, 0.0278145931661129, 0.03204905614256859, 0.009303680621087551, 0.00009214201418217272, 0.014073288068175316, -0.04569704830646515, 0.008615671657025814, -0.0007053031586110592, -0.03436148911714554, -0.021985838189721107, 0.04772229865193367, 0.02320014126598835, 0.021905502304434776, -0.02895159088075161, 0.050378940999507904, 0.018671728670597076, 0.0011851458111777902, -0.017166728153824806, 0.03168612718582153, 0.011582822538912296, -0.06737562268972397, -0.02676662802696228, -0.01631946489214897, -0.03287447988986969, 0.03600084409117699, -0.048035480082035065, -0.015130436979234219, 0.011688574217259884, 0.02113257348537445, 0.04760133847594261, -0.006560404784977436, -0.013708211481571198, 0.018917443230748177, -0.014054597355425358, 0.01780754141509533, -0.05205007642507553, 0.05586880445480347, -0.05623213201761246, 0.032404594123363495, -0.028286399319767952, 0.010690385475754738, -0.05166199803352356, 0.04503444954752922, -0.02111579105257988, -0.020311595872044563, -0.008552144281566143, 0.05583634972572327, -0.024995537474751472, 0.027613261714577675, -0.014577935449779034, 0.031149407848715782, -0.01807052083313465, 0.06394641101360321, -0.02839071676135063, 0.011931954883038998, -0.036442942917346954, 0.03578486666083336, -0.03452645242214203, 0.001449449686333537, 0.006537208799272776, -0.023834092542529106, 0.04334811866283417, 0.052887991070747375, 0.03707338497042656, 0.027662217617034912, -0.0083036869764328, -0.01377873308956623, 0.027530958876013756, -0.05737828463315964, -0.021936755627393723, -0.003777999896556139, 0.014770133420825005, -0.006968755275011063, 0.05477524921298027, 0.04719389230012894, -0.0526726171374321, -0.05497685819864273, 0.05481305718421936, 0.010470723733305931, 0.0005569245549850166, 0.007247435860335827, 0.03487517684698105, 0.025353850796818733, 0.049176156520843506, -0.0277152918279171, -0.010561028495430946, 0.0018683880334720016, -0.052588000893592834, 0.03781769797205925, -0.004292840603739023, 0.042291298508644104, 0.028661254793405533, -0.03968815132975578, -0.01572989672422409, 0.06078562140464783, 0.02831883542239666, 0.031153662130236626, -0.011212925426661968, -0.053134024143218994, 0.03454238921403885, 0.0021594215650111437, -0.0347493439912796, 0.011341184377670288, 0.025013744831085205, -0.03267538174986839, 0.05749364197254181, 0.002547473879531026, 0.011877618730068207, 0.030843660235404968, 0.030877934768795967, -0.007197534199804068, 0.07783009111881256, -0.03462456911802292, 0.02896636165678501, 0.042696740478277206, -0.07707954198122025, -0.010661251842975616, -0.04533499851822853, 0.07136525213718414, -0.06214309483766556, 0.009578700177371502, 0.044020432978868484, 0.000046315999497892335, 0.0146082928404212, -0.0363132618367672, -0.06435514241456985, 0.02504892274737358, -0.04381781071424484, 0.06302180886268616, -0.001245136489160359, -0.07199806720018387, 0.05934261158108711, 0.0022790543735027313, -0.06206316500902176, 0.05323266610503197, 0.03510010242462158, 0.05141047388315201, 0.02564992569386959, 0.043263595551252365, -0.056521937251091, 0.020355427637696266, -0.054632771760225296, 0.032225482165813446, -0.05748797208070755, -0.017141299322247505, 0.043898988515138626, -0.022817453369498253, -0.016622032970190048, 0.0517185814678669, -0.015536149963736534, -0.007457465399056673, 0.046753354370594025, -0.03276071324944496, -0.022671522572636604, 0.0005266512162052095, 0.007934645749628544, -0.032757800072431564, -0.006970250979065895, -0.045551642775535583, 0.004338507074862719, 0.003063720418140292, 0.007392365485429764, -0.016319796442985535, -0.006484513636678457, 0.037773098796606064, -0.0445876270532608, -0.026862142607569695, 0.023401206359267235, 0.0020479941740632057, -0.030795281752943993, 0.03731837123632431, 0.023379990831017494, 0.008846668526530266, 0.014429830014705658, 0.0009934866102412343, 0.017641041427850723, -0.028223417699337006, -0.01929870806634426, 0.008535142987966537, -0.013542503118515015, 0.05678978189826012, -0.014418045990169048, 0.044087257236242294, 0.037544917315244675, 0.027116045355796814, -0.01297697238624096, -0.03931150585412979, -0.03085819073021412, 0.018406163901090622, -0.027463819831609726, -0.0028163068927824497, -0.017199844121932983, -0.037817712873220444, -0.03389330208301544, 0.010349005460739136, -0.03378728777170181, 0.029077742248773575, -0.06723669916391373, 0.01682375743985176, 0.045723650604486465, -0.011325397528707981, -0.07212819159030914, -0.09965715557336807, -0.0125808110460639, -0.030893996357917786, 0.006249828729778528, 0.02246205508708954, -0.016642868518829346, 0.0232558511197567, -0.04110918194055557, -0.04307679459452629, 0.05386307090520859, 0.023442234843969345, -0.04989057406783104, 0.056142304092645645, 0.04688524082303047, -0.04206050559878349, 0.0009446638287045062, 0.015425060875713825, -0.037327077239751816, 0.01410585455596447, 0.0051180520094931126, 0.014835275709629059, 0.018861975520849228, 0.015909936279058456, -0.054905228316783905, -0.02942369133234024, -0.07010228931903839, -0.028406236320734024, -0.03639965504407883, 0.0072163469158113, 0.0737655907869339 ]
Ab0/keras-dummy-sequential-demo
[ "keras" ]
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-01-20T11:35:08Z
--- language: en tags: - timelms - twitter license: mit datasets: - twitter-api --- # Twitter September 2020 (RoBERTa-base, 103M) This is a RoBERTa-base model trained on 102.86M tweets until the end of September 2020. More details and performance scores are available in the [TimeLMs paper](https://arxiv.org/abs/2202.03829). Below, we provide some usage examples using the standard Transformers interface. For another interface more suited to comparing predictions and perplexity scores between models trained at different temporal intervals, check the [TimeLMs repository](https://github.com/cardiffnlp/timelms). For other models trained until different periods, check this [table](https://github.com/cardiffnlp/timelms#released-models). ## Preprocess Text Replace usernames and links for placeholders: "@user" and "http". If you're interested in retaining verified users which were also retained during training, you may keep the users listed [here](https://github.com/cardiffnlp/timelms/tree/main/data). ```python def preprocess(text): preprocessed_text = [] for t in text.split(): if len(t) > 1: t = '@user' if t[0] == '@' and t.count('@') == 1 else t t = 'http' if t.startswith('http') else t preprocessed_text.append(t) return ' '.join(preprocessed_text) ``` ## Example Masked Language Model ```python from transformers import pipeline, AutoTokenizer MODEL = "cardiffnlp/twitter-roberta-base-sep2020" fill_mask = pipeline("fill-mask", model=MODEL, tokenizer=MODEL) tokenizer = AutoTokenizer.from_pretrained(MODEL) def pprint(candidates, n): for i in range(n): token = tokenizer.decode(candidates[i]['token']) score = candidates[i]['score'] print("%d) %.5f %s" % (i+1, score, token)) texts = [ "So glad I'm <mask> vaccinated.", "I keep forgetting to bring a <mask>.", "Looking forward to watching <mask> Game tonight!", ] for text in texts: t = preprocess(text) print(f"{'-'*30}\n{t}") candidates = fill_mask(t) pprint(candidates, 5) ``` Output: ``` ------------------------------ So glad I'm <mask> vaccinated. 1) 0.55215 not 2) 0.16466 getting 3) 0.08991 fully 4) 0.05542 being 5) 0.01733 still ------------------------------ I keep forgetting to bring a <mask>. 1) 0.18145 mask 2) 0.04476 book 3) 0.03751 knife 4) 0.03713 laptop 5) 0.02873 bag ------------------------------ Looking forward to watching <mask> Game tonight! 1) 0.53243 the 2) 0.24435 The 3) 0.04717 End 4) 0.02421 this 5) 0.00958 Championship ``` ## Example Tweet Embeddings ```python from transformers import AutoTokenizer, AutoModel, TFAutoModel import numpy as np from scipy.spatial.distance import cosine from collections import Counter def get_embedding(text): # naive approach for demonstration text = preprocess(text) encoded_input = tokenizer(text, return_tensors='pt') features = model(**encoded_input) features = features[0].detach().cpu().numpy() return np.mean(features[0], axis=0) MODEL = "cardiffnlp/twitter-roberta-base-sep2020" tokenizer = AutoTokenizer.from_pretrained(MODEL) model = AutoModel.from_pretrained(MODEL) query = "The book was awesome" tweets = ["I just ordered fried chicken 🐣", "The movie was great", "What time is the next game?", "Just finished reading 'Embeddings in NLP'"] sims = Counter() for tweet in tweets: sim = 1 - cosine(get_embedding(query), get_embedding(tweet)) sims[tweet] = sim print('Most similar to: ', query) print(f"{'-'*30}") for idx, (tweet, sim) in enumerate(sims.most_common()): print("%d) %.5f %s" % (idx+1, sim, tweet)) ``` Output: ``` Most similar to: The book was awesome ------------------------------ 1) 0.99045 The movie was great 2) 0.96650 Just finished reading 'Embeddings in NLP' 3) 0.95947 I just ordered fried chicken 🐣 4) 0.95707 What time is the next game? ``` ## Example Feature Extraction ```python from transformers import AutoTokenizer, AutoModel, TFAutoModel import numpy as np MODEL = "cardiffnlp/twitter-roberta-base-sep2020" tokenizer = AutoTokenizer.from_pretrained(MODEL) text = "Good night 😊" text = preprocess(text) # Pytorch model = AutoModel.from_pretrained(MODEL) encoded_input = tokenizer(text, return_tensors='pt') features = model(**encoded_input) features = features[0].detach().cpu().numpy() features_mean = np.mean(features[0], axis=0) #features_max = np.max(features[0], axis=0) # # Tensorflow # model = TFAutoModel.from_pretrained(MODEL) # encoded_input = tokenizer(text, return_tensors='tf') # features = model(encoded_input) # features = features[0].numpy() # features_mean = np.mean(features[0], axis=0) # #features_max = np.max(features[0], axis=0) ```
[ -0.017443692311644554, -0.045669928193092346, -0.01523946225643158, 0.04980604723095894, 0.04614662006497383, 0.02853495441377163, -0.020491868257522583, -0.008241936564445496, -0.04786024987697601, 0.05891617387533188, 0.04804107919335365, 0.0026359702460467815, -0.0363142304122448, 0.021334638819098473, -0.018739305436611176, -0.050323717296123505, -0.020374132320284843, -0.01829800382256508, -0.015345055609941483, -0.03188912943005562, -0.009371871128678322, -0.0010437199380248785, -0.001956995576620102, 0.008181647397577763, 0.013012805953621864, -0.0021745481062680483, -0.009790606796741486, 0.025479253381490707, 0.001887754537165165, -0.07635319977998734, -0.020644165575504303, -0.027225909754633904, -0.0351310670375824, 0.0036817360669374466, -0.0305798277258873, -0.03517695143818855, 0.007800842169672251, 0.024450579658150673, 0.04001932963728905, 0.07368425279855728, 0.01300318818539381, -0.005989186465740204, -0.013570858165621758, -0.05412264168262482, 0.047571614384651184, 0.01851385273039341, -0.041497960686683655, -0.009447095915675163, 0.043845370411872864, -0.01592971757054329, -0.03963983803987503, -0.06746430695056915, -0.03554694727063179, 0.037067048251628876, -0.024665694683790207, -0.0003663398092612624, -0.04812975227832794, -0.007852711714804173, 0.054247256368398666, -0.037440672516822815, -0.02462550811469555, 0.03153599053621292, -0.04236309230327606, 0.032891325652599335, 0.054028768092393875, -0.043668411672115326, -0.0011843867832794785, -0.057012565433979034, 0.0398961640894413, -0.017726363614201546, 0.05981804430484772, -0.025991369038820267, 0.028358396142721176, -0.06310781091451645, -0.00516694039106369, -0.025121506303548813, 0.03871259093284607, 0.036419328302145004, -0.009335785172879696, 0.0681513324379921, 0.0340077169239521, 0.002064920263364911, 0.03446004539728165, -0.01502807904034853, -0.00037983516813255847, 0.030939070507884026, -0.0642068088054657, 0.010161209851503372, 0.004918090533465147, 0.06145690008997917, -0.04819400608539581, -0.04785645753145218, -0.05056891217827797, -0.024951182305812836, -0.025174912065267563, 0.026661871001124382, 0.03376106172800064, -0.00042520553688518703, 0.030837886035442352, 0.02785787358880043, 0.05385396629571915, 0.042467936873435974, -0.00023835831962060183, 0.03865410014986992, -0.03209837153553963, -0.004094540607184172, 0.016157394275069237, -0.04703560099005699, -0.020317992195487022, 0.0566149540245533, 0.041139908134937286, -0.07100551575422287, -0.054538145661354065, 0.06628379225730896, 0.044183604419231415, -0.012921865098178387, 0.04960363358259201, -0.02755974605679512, -0.0366758294403553, -0.030367674306035042, 0.04131630063056946, -0.013971853069961071, -0.01953522488474846, -0.0020968543831259012, -0.05960605666041374, 0.020556539297103882, -0.051311396062374115, -0.039957720786333084, 0.02790653519332409, 0.017968466505408287, -0.016589004546403885, 0.012823302298784256, 0.02849648706614971, -0.029358820989727974, 0.028030069544911385, 0.03117387928068638, -0.04368431493639946, 0.05506691336631775, 0.03795795142650604, 0.10898154228925705, -0.0792241171002388, -0.05304880067706108, 0.00988286454230547, -0.014680658467113972, -0.059358302503824234, 0.003645689692348242, 0.008013550192117691, -0.01601172797381878, -0.022949276491999626, -0.034531764686107635, 0.027946986258029938, -0.061661604791879654, -0.008896692655980587, 0.033860743045806885, 0.004177972208708525, 0.05431627482175827, -0.043471161276102066, 0.0167953222990036, 0.00281603098846972, -0.014741799794137478, -0.0500585176050663, 0.048454951494932175, 0.007152467034757137, 0.009170680306851864, -0.03184476122260094, -0.024226415902376175, -0.0026997101958841085, 0.07220514118671417, -0.000933558214455843, 0.00041655555833131075, -0.0014391877921298146, 0.014551457948982716, 0.028529083356261253, 0.04163960739970207, -0.03313690423965454, 0.05503396689891815, 0.05068931728601456, 0.04562022536993027, 0.0003613508597481996, 0.060326434671878815, 0.03472898527979851, -0.024586061015725136, -0.04718444123864174, 0.008385163731873035, -0.013749504461884499, -0.03225149214267731, 0.03457360714673996, 0.02130458876490593, -0.018111545592546463, -0.015153066255152225, -0.009667834267020226, 0.03781129792332649, -0.024273036047816277, 0.0013522206572815776, -0.01835913583636284, 0.010732300579547882, -0.039553143084049225, 0.05259723961353302, -0.01842675916850567, -0.019908390939235687, 0.011647852137684822, -0.04016448184847832, -0.027193916961550713, 0.025110995396971703, 0.036373525857925415, 0.04791544750332832, -0.01725389063358307, 0.10916569083929062, -0.03471856191754341, 0.017511874437332153, -0.026169195771217346, -0.05617166683077812, 0.019953638315200806, 0.04446151480078697, 0.022010300308465958, 0.038780055940151215, -0.006572278682142496, -0.04131695628166199, 0.026370637118816376, 0.0756671205163002, 0.05312864109873772, 0.0182820912450552, -0.028234938159585, 0.008367640897631645, -0.0002730978303588927, 0.07013609260320663, -0.059969332069158554, -0.05493544787168503, 0.008212716318666935, 0.04304458945989609, -0.027105646207928658, 0.014105714857578278, -0.020922766998410225, 0.016448993235826492, -0.03771703690290451, -0.05950292572379112, 0.04810762405395508, 0.030877891927957535, 0.0005173959070816636, 0.0037174031604081392, -0.003254152135923505, 0.008286375552415848, 0.021063759922981262, -0.032933309674263, -0.016029877588152885, -0.034705374389886856, -0.00809511262923479, 0.03538213297724724, 0.053485382348299026, -0.06386066973209381, 0.020486973226070404, -0.0060189394280314445, -0.019446872174739838, 0.05407059192657471, -0.028578558936715126, 0.014223863370716572, 0.04574320837855339, 0.021243374794721603, -0.02219349332153797, 0.013198875822126865, -0.023279307410120964, 0.02536836639046669, 0.07705440372228622, 0.012742120772600174, 0.06611114740371704, 0.01938610151410103, 0.044770531356334686, 0.0770125612616539, 0.010480680502951145, 0.015232830308377743, 0.03349074348807335, 0.0663716197013855, 0.013980792835354805, 0.007007936015725136, 0.05099710822105408, -0.04208289086818695, 0.02052433416247368, -0.019087983295321465, 0.021634118631482124, -0.009438707493245602, -0.029368484392762184, 0.03571930155158043, 0.030008619651198387, 0.0026563541032373905, 0.01702471263706684, -0.014561512507498264, 0.00010651032789610326, 0.051877062767744064, -0.01734537072479725, -0.009248158894479275, -0.02906525321304798, -0.0261672493070364, 0.014636525884270668, -0.06684928387403488, -0.017499489709734917, -0.015416898764669895, -0.020075472071766853, -0.0034082941710948944, -0.08201013505458832, -0.02967178262770176, -0.06671523302793503, -0.026906972751021385, 0.029097381979227066, -0.011086305603384972, -0.02046791836619377, -0.03921788930892944, 0.027444925159215927, -0.035622838884592056, -0.033925071358680725, -0.03641410917043686, -0.0659463107585907, -0.026210974901914597, -0.06727205961942673, 0.023785894736647606, 0.03499963879585266, -0.005195294972509146, -0.012674013152718544, 0.00873222853988409, -0.03569431230425835, -0.02004416100680828, 0.058424223214387894, 0.006909335032105446, -0.004776582587510347, -0.05532220005989075, 0.02937738224864006, -0.026036154478788376, 0.037842974066734314, 0.010596554726362228, -0.03282301127910614, 0.06378529965877533, 0.04492655023932457, 0.02617364190518856, 0.0008869013981893659, -0.035066261887550354, -0.04404821991920471, -0.07359356433153152, -0.0538971908390522, -0.04166253283619881, 0.0026446697302162647, -0.013948124833405018, -0.04136575013399124, -0.01964936964213848, -0.02138991840183735, 0.003090401878580451, -0.015789495781064034, 0.028280707076191902, 0.03791958838701248, 0.04382791742682457, 0.065769724547863, 0.043855950236320496, -0.03008217178285122, -0.03097718581557274, 0.05684969201683998, 0.018189668655395508, 0.023217372596263885, -0.06958267837762833, -0.012915697880089283, 0.04212401434779167, 0.042022090405225754, 0.0145442895591259, -0.020116209983825684, 0.07846028357744217, 0.014415444806218147, -0.007323726080358028, -0.0066704596392810345, -0.004517382476478815, -0.002184830140322447, -0.016645602881908417, -0.019382936879992485, -0.029637861996889114, -0.034094128757715225, -0.031495027244091034, -0.01165395975112915, 0.04696425795555115, -0.07396526634693146, -0.051925189793109894, -0.01955230161547661, 0.024347785860300064, 0.03680501878261566, 0.02297857217490673, -0.04782213643193245, 0.012890542857348919, -0.04545515403151512, -0.047034867107868195, 0.05224698781967163, 0.01980806142091751, 0.02589581534266472, 0.009411010891199112, 0.03068169392645359, -0.031666647642850876, 0.021588148549199104, 0.018749939277768135, 0.06488901376724243, 0.025268374010920525, -0.056312158703804016, 0.023692656308412552, -0.0177475493401289, 0.0463721938431263, 0.01226621214300394, -0.0252299252897501, -0.04408114776015282, -0.07989271730184555, -0.0034684352576732635, 0.01559593714773655, -0.023745985701680183, -0.0055192806757986546, 0.03316148743033409, -0.016242165118455887, -0.010161644779145718, -0.01373413484543562, 0.030701465904712677, 0.04902190715074539, -0.043962329626083374, 0.04642386734485626, -0.0011038611410185695, 0.03133956715464592, -0.06118008494377136, 0.016985999420285225, -0.036910198628902435, 0.008387390524148941, 0.004090488888323307, 0.04100681468844414, 0.0325111486017704, 0.06274842470884323, 0.09436167031526566, 0.03400203585624695, -0.04137079790234566, 0.02985667996108532, 0.03784114867448807, -0.007359572686254978, -0.021873407065868378, -0.000994746689684689, -0.008793914690613747, -0.049497444182634354, 0.004018852487206459, -0.014481639489531517, 0.03612491115927696, 0.01645173691213131, -0.0018771060276776552, -0.009846456348896027, 0.0002768804843071848, -0.014976161532104015, -0.02199038863182068, -0.08162178099155426, -0.02063712105154991, 0.011370440013706684, -0.019619161263108253, 0.039120614528656006, 0.02038671262562275, 0.007060738280415535, 0.06548691540956497, 0.020343203097581863, -0.038514282554388046, -0.03396240994334221, 0.024765338748693466, 0.02455032430589199, -0.046458128839731216, -0.07432210445404053, -0.05574047565460205, 0.03141972795128822, 0.06030226871371269, -0.0247635655105114, -0.06726360321044922, 0.020793825387954712, 0.027352944016456604, -0.04628852382302284, 0.06569812446832657, 0.001898790942505002, 0.03636663407087326, 0.0507684163749218, -0.03371778503060341, 0.030229583382606506, -0.03573000431060791, 0.0033964277245104313, 0.012139524333178997, 0.06268928945064545, -0.030272038653492928, -0.021177560091018677, -0.06105347350239754, 0.042250994592905045, 0.041764434427022934, 0.06736396998167038, 0.054160673171281815, -0.009134248830378056, -0.060968391597270966, 0.019364770501852036, 0.03003425896167755, -0.040064409375190735, 0.017898157238960266, 0.02260943129658699, 0.03800000995397568, -0.03912883251905441, -0.03737439960241318, -0.008204752579331398, -0.022314326837658882, 0.016526566818356514, 0.015405318699777126, -0.05588127300143242, -0.06116613745689392, 0.01910790614783764, -0.029964234679937363, -0.006031946279108524, -0.08696547895669937, 0.02938627265393734, -0.005764412228018045, -0.020911123603582382, 0.06396538019180298, 0.052140358835458755, 0.038057610392570496, 0.03786862641572952, 0.0121614346280694, 0.024946309626102448, -0.046149879693984985, 0.01715931110084057, -0.023761162534356117, -0.023792486637830734, 0.012686868198215961, -0.047839317470788956, -0.001730557531118393, -0.03357050195336342, -0.04892696812748909, -0.04742784798145294, -0.03700179606676102, -0.022617917507886887, 0.012223202735185623, 0.020721176639199257, -0.023372136056423187, 0.048658326268196106, -0.035624973475933075, -0.007282836828380823, -0.012287372723221779, -0.03917929530143738, -0.0839022696018219, -0.059083063155412674, 0.0034174940083175898, 0.007894251495599747, 0.02797131985425949, -0.01474749855697155, -0.0014307618839666247, 0.016100825741887093, -0.004280452616512775, -0.025495614856481552, 0.03305096551775932, 0.00976375862956047, -0.02454119175672531, -0.025405995547771454, 0.022772720083594322, -0.0013492595171555877, 0.04410610720515251, -0.00877863634377718, 0.02323148027062416, 0.024437131360173225, -0.022264812141656876, -0.022772135213017464, -0.008287145756185055, 0.02905423566699028, -0.09261152893304825, -0.054216932505369186, -0.02616949751973152, -0.05490664765238762, 0.018301017582416534, -0.011088375002145767, -0.022978272289037704, 0.011482376605272293, 0.0313425213098526, 0.028367049992084503, 0.0009592026472091675, -0.030564576387405396, 0.0024888315238058567, -0.029810750856995583, 0.018449321389198303, -0.061391957104206085, 0.028630558401346207, -0.03482383117079735, 0.003981279209256172, -0.01973642036318779, -0.008938271552324295, -0.03889629617333412, 0.049715805798769, -0.020039884373545647, -0.007520823739469051, -0.018780287355184555, 0.019331462681293488, -0.021039560437202454, 0.042414434254169464, -0.012552986852824688, 0.019619004800915718, -0.038444533944129944, 0.035629019141197205, -0.07011717557907104, 0.01847853884100914, -0.00629894994199276, -0.005321922246366739, -0.028007633984088898, -0.04255642369389534, -0.05320414900779724, -0.03850788623094559, 0.027653856202960014, 0.025527233257889748, 0.01358774583786726, 0.02773757092654705, -0.0006671185255981982, 0.024108607321977615, 0.006898039951920509, -0.06087826192378998, -0.019508419558405876, -0.015179445967078209, -0.018183814361691475, -0.003914267290383577, 0.04926729574799538, 0.02002052031457424, -0.06428468972444534, -0.0708509013056755, 0.03140299394726753, 0.024588491767644882, -0.016413921490311623, -0.008625996299088001, 0.0188602302223444, 0.03581707924604416, 0.04144659265875816, -0.02278137393295765, -0.002601751359179616, -0.01642485335469246, -0.04608083516359329, 0.029165424406528473, -0.019610699266195297, 0.03114282339811325, -0.006239484529942274, -0.057951223105192184, -0.0078464699909091, 0.0522141307592392, 0.04737352207303047, 0.014162793755531311, 0.009432177990674973, -0.020366568118333817, 0.018485654145479202, 0.013638979755342007, -0.04867665097117424, -0.012782739475369453, -0.00110877666156739, -0.03973071277141571, 0.0735030546784401, -0.013075361959636211, 0.02123427577316761, 0.04835982248187065, 0.022378625348210335, -0.009101435542106628, 0.03191075846552849, -0.043790217489004135, 0.04869438335299492, 0.03328739479184151, -0.03562873229384422, 0.0020661158487200737, 0.0036597377620637417, 0.06534816324710846, -0.053959015756845474, 0.051357049494981766, 0.034468065947294235, 0.03378857672214508, 0.011296161450445652, -0.02851930260658264, -0.05587983876466751, 0.01160420011729002, -0.047351546585559845, 0.07541482895612717, -0.00482241902500391, -0.06383851170539856, 0.06777199357748032, 0.03299993649125099, -0.0951719582080841, 0.03015519492328167, 0.044724173843860626, 0.0013577730860561132, 0.005349396727979183, 0.0167145524173975, -0.05189624801278114, 0.021206550300121307, -0.04244000464677811, -0.006559569388628006, -0.03932461887598038, 0.004818029701709747, 0.025029217824339867, -0.023432612419128418, -0.030878251418471336, 0.04249873384833336, 0.009134507738053799, -0.010202598758041859, 0.02191835083067417, -0.05863729491829872, -0.035050589591264725, -0.008629283867776394, 0.019181864336133003, -0.01517045684158802, 0.03027850016951561, -0.03424400836229324, 0.015563389286398888, 0.0054006390273571014, -0.013962836004793644, -0.05383608117699623, -0.011989916674792767, 0.024730883538722992, -0.053536269813776016, -0.023610200732946396, 0.056123945862054825, 0.019101418554782867, -0.01638258807361126, 0.03039463423192501, -0.04008530452847481, -0.0021660844795405865, 0.03853398934006691, -0.02146366983652115, 0.03916846215724945, -0.03256451338529587, -0.01583237200975418, 0.016377363353967667, 0.01565561443567276, 0.019199101254343987, -0.017731811851263046, 0.0464114286005497, 0.01763036660850048, 0.038789525628089905, -0.008811579085886478, -0.019333304837346077, -0.039131514728069305, 0.0062575084157288074, -0.05392009764909744, -0.008466089144349098, 0.03298305347561836, -0.04029043763875961, -0.02779637649655342, -0.012482425197958946, -0.014099505729973316, 0.021637756377458572, -0.03166279196739197, 0.015449684113264084, 0.051069289445877075, -0.015686670318245888, -0.03581768646836281, -0.09075361490249634, -0.029305972158908844, -0.017695005983114243, 0.012423869222402573, 0.016035588458180428, -0.0488494411110878, -0.004086815286427736, -0.04594578593969345, -0.03893304988741875, 0.052702490240335464, 0.0228898823261261, -0.02244342491030693, 0.04597627371549606, 0.039887093007564545, -0.03373328968882561, 0.018025657162070274, 0.03364558890461922, -0.06863465160131454, 0.02542906440794468, 0.01852313242852688, 0.004087361507117748, 0.011006010696291924, 0.057406362146139145, -0.037893638014793396, -0.022302869707345963, -0.07274449616670609, -0.03417472168803215, -0.04835740104317665, -0.006038777995854616, 0.0559103786945343 ]
AbhijeetA/PIE
[]
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-04-16T23:30:00Z
--- language: multilingual widget: - text: "🤗" - text: "T'estimo! ❤️" - text: "I love you!" - text: "I hate you 🤮" - text: "Mahal kita!" - text: "사랑해!" - text: "난 너가 싫어" - text: "😍😍😍" --- # twitter-XLM-roBERTa-base for Sentiment Analysis This is a multilingual XLM-roBERTa-base model trained on ~198M tweets and finetuned for sentiment analysis. The sentiment fine-tuning was done on 8 languages (Ar, En, Fr, De, Hi, It, Sp, Pt) but it can be used for more languages (see paper for details). - Paper: [XLM-T: A Multilingual Language Model Toolkit for Twitter](https://arxiv.org/abs/2104.12250). - Git Repo: [XLM-T official repository](https://github.com/cardiffnlp/xlm-t). This model has been integrated into the [TweetNLP library](https://github.com/cardiffnlp/tweetnlp). ## Example Pipeline ```python from transformers import pipeline model_path = "cardiffnlp/twitter-xlm-roberta-base-sentiment" sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path) sentiment_task("T'estimo!") ``` ``` [{'label': 'Positive', 'score': 0.6600581407546997}] ``` ## Full classification example ```python from transformers import AutoModelForSequenceClassification from transformers import TFAutoModelForSequenceClassification from transformers import AutoTokenizer, AutoConfig import numpy as np from scipy.special import softmax # Preprocess text (username and link placeholders) def preprocess(text): new_text = [] for t in text.split(" "): t = '@user' if t.startswith('@') and len(t) > 1 else t t = 'http' if t.startswith('http') else t new_text.append(t) return " ".join(new_text) MODEL = f"cardiffnlp/twitter-xlm-roberta-base-sentiment" tokenizer = AutoTokenizer.from_pretrained(MODEL) config = AutoConfig.from_pretrained(MODEL) # PT model = AutoModelForSequenceClassification.from_pretrained(MODEL) model.save_pretrained(MODEL) text = "Good night 😊" text = preprocess(text) encoded_input = tokenizer(text, return_tensors='pt') output = model(**encoded_input) scores = output[0][0].detach().numpy() scores = softmax(scores) # # TF # model = TFAutoModelForSequenceClassification.from_pretrained(MODEL) # model.save_pretrained(MODEL) # text = "Good night 😊" # encoded_input = tokenizer(text, return_tensors='tf') # output = model(encoded_input) # scores = output[0][0].numpy() # scores = softmax(scores) # Print labels and scores ranking = np.argsort(scores) ranking = ranking[::-1] for i in range(scores.shape[0]): l = config.id2label[ranking[i]] s = scores[ranking[i]] print(f"{i+1}) {l} {np.round(float(s), 4)}") ``` Output: ``` 1) Positive 0.7673 2) Neutral 0.2015 3) Negative 0.0313 ```
[ -0.012629460543394089, -0.030180716887116432, -0.008790033869445324, 0.05554962530732155, 0.054266542196273804, 0.0572948195040226, -0.009203340858221054, -0.019845759496092796, -0.04398100823163986, 0.04844171553850174, 0.024928003549575806, -0.030366193503141403, -0.011232282035052776, 0.029228486120700836, -0.014471888542175293, -0.038363900035619736, -0.04263785108923912, -0.04092366620898247, -0.028822729364037514, -0.013828851282596588, -0.017372675240039825, 0.009548056870698929, 0.004597119055688381, -0.007968015968799591, -0.016286350786685944, 0.017946995794773102, -0.02432967908680439, 0.04956357926130295, 0.024600040167570114, -0.06490634381771088, -0.011559966020286083, 0.007296536583453417, -0.013059444725513458, 0.004591475240886211, -0.018785297870635986, -0.013807118870317936, 0.015342791564762592, 0.010182068683207035, 0.030705176293849945, 0.05203926935791969, 0.011791132390499115, -0.009737322106957436, -0.023986687883734703, -0.039309062063694, 0.035687968134880066, -0.004747133702039719, -0.0450066439807415, 0.007764635141938925, 0.02398335188627243, -0.038017403334379196, -0.046522654592990875, -0.061956167221069336, -0.0363331101834774, 0.04277629032731056, -0.002860491396859288, -0.007761545479297638, -0.049817588180303574, -0.005160061176866293, 0.06610710918903351, -0.04817983880639076, -0.0443718247115612, 0.0162515789270401, -0.05097005143761635, 0.009084567427635193, 0.03578042611479759, -0.028649620711803436, -0.002374466508626938, -0.04127303510904312, 0.047915268689394, -0.017206566408276558, 0.06819278001785278, -0.024039659649133682, 0.0381786972284317, -0.05091750621795654, -0.034213192760944366, -0.01819862425327301, 0.04638708382844925, 0.0347108468413353, -0.032709114253520966, 0.06851565837860107, 0.03689951077103615, 0.0028933577705174685, 0.02392672188580036, -0.00328091811388731, -0.017780471593141556, 0.05238054320216179, -0.04719360172748566, 0.012691057287156582, 0.022713838145136833, 0.04990466684103012, -0.03694494441151619, -0.04787742346525192, -0.006587732583284378, -0.011224141344428062, -0.012666434980928898, 0.06316555291414261, 0.029872676357626915, -0.003952832892537117, 0.03939720615744591, 0.036675650626420975, 0.046028126031160355, 0.0334603451192379, -0.015935927629470825, 0.03604176267981529, -0.004758206661790609, -0.02283872291445732, -0.012153071351349354, -0.037648726254701614, -0.025406260043382645, 0.04566562548279762, 0.015386456623673439, -0.07300365716218948, -0.054501116275787354, 0.044216088950634, 0.021601170301437378, -0.030909599736332893, 0.02254103682935238, -0.0384712889790535, -0.03576871007680893, -0.053141769021749496, 0.05641800910234451, -0.0012786145089194179, 0.0017483958508819342, 0.0024763457477092743, -0.07513031363487244, 0.01630067266523838, -0.05200285091996193, -0.032266177237033844, 0.005567335058003664, 0.022376222535967827, -0.022529739886522293, 0.005983737763017416, 0.03338911756873131, -0.04689550772309303, 0.017005305737257004, 0.014345350675284863, -0.053283870220184326, 0.05820370092988014, 0.034984130412340164, 0.10746462643146515, -0.05022089183330536, -0.05977186560630798, 0.008302943781018257, -0.01803307794034481, -0.03580539673566818, 0.014235392212867737, 0.023529181256890297, -0.023350032046437263, -0.03637777641415596, -0.008244149386882782, 0.03852162882685661, -0.055283073335886, -0.025772836059331894, 0.04798221215605736, -0.0037240302190184593, 0.03184947371482849, -0.045294202864170074, 0.0004663412692025304, 0.011279052123427391, -0.01099726464599371, -0.04304732382297516, 0.04897250235080719, 0.013908427208662033, -0.03582208603620529, -0.04348818212747574, -0.03968629240989685, -0.000690312881488353, 0.07241092622280121, -0.011461764574050903, -0.01622292771935463, -0.0034738543909043074, 0.014292984269559383, 0.017622511833906174, 0.010327284224331379, -0.018805935978889465, 0.03905561938881874, 0.06438855826854706, 0.059915941208601, 0.00012484818580560386, 0.05080987513065338, 0.016375964507460594, -0.03708531707525253, -0.04341704398393631, -0.0018831348279491067, 0.005073814187198877, -0.029518915340304375, 0.040961794555187225, 0.04261665791273117, -0.013922935351729393, -0.027801470831036568, -0.010690678842365742, 0.061277035623788834, -0.016205741092562675, 0.005957372020930052, -0.017104672268033028, -0.0037592826411128044, -0.025715401396155357, 0.06987062096595764, -0.01209085900336504, -0.002996962983161211, -0.03037021867930889, -0.05875773727893829, -0.015500236302614212, 0.027615724131464958, 0.050232358276844025, 0.046140942722558975, -0.01975756324827671, 0.09741336852312088, -0.03532519191503525, 0.022687312215566635, -0.042537763714790344, -0.06989903748035431, 0.01880621537566185, 0.05014600232243538, 0.027658924460411072, 0.03790268301963806, 0.0021377394441515207, -0.038590338081121445, 0.009757005609571934, 0.06785933673381805, 0.043736208230257034, 0.022490371018648148, -0.03812404349446297, 0.011603938415646553, 0.013539405539631844, 0.04568953812122345, -0.0712876245379448, -0.06896785646677017, 0.013342788442969322, 0.04517374187707901, -0.02732212282717228, -0.0012064703041687608, -0.0170529056340456, -0.0021244792733341455, -0.03408461809158325, -0.08540039509534836, 0.06528642773628235, 0.02097986452281475, 0.041569799184799194, -0.007069519720971584, -0.006600697059184313, -0.02370023913681507, 0.011279841884970665, -0.003787138033658266, 0.003163606394082308, -0.03807641193270683, -0.02391684614121914, -0.0017761443741619587, 0.03877755254507065, -0.04783637449145317, 0.029449086636304855, 0.022714031860232353, 0.0006125501240603626, 0.0686759203672409, -0.04678491875529289, 0.036094725131988525, 0.037076231092214584, -0.005181716755032539, -0.02972830832004547, 0.0016384533373638988, 0.011414102278649807, 0.024201789870858192, 0.05688653513789177, -0.021450797095894814, 0.056791823357343674, 0.016882162541151047, 0.026510387659072876, 0.09517106413841248, 0.018777908757328987, 0.009405734948813915, 0.049508195370435715, 0.06310930848121643, 0.030780524015426636, -0.0125587722286582, 0.05463068559765816, -0.03927607834339142, 0.01680387370288372, -0.0279743243008852, 0.03476625308394432, 0.0013077299809083343, -0.02763434499502182, 0.03639640659093857, 0.011522426269948483, -0.03571527078747749, 0.006825530901551247, -0.02765563875436783, 0.007499124389141798, 0.04516031965613365, -0.025526590645313263, -0.010006475262343884, -0.0038932564202696085, -0.0405614897608757, 0.05387679114937782, -0.07257087528705597, -0.03233429417014122, 0.008616824634373188, -0.012152425944805145, 0.003315133508294821, -0.06297567486763, -0.060591861605644226, -0.05818548426032066, -0.0000970785622484982, 0.038963433355093, -0.008397708646953106, -0.024562420323491096, -0.02840648591518402, 0.00769181689247489, -0.03241795301437378, -0.035825490951538086, -0.018430273979902267, -0.08325304836034775, -0.003428537165746093, -0.07349862158298492, 0.04615195468068123, 0.02735128253698349, 0.011411713436245918, -0.013376348651945591, 0.029496431350708008, -0.02871735207736492, -0.019139893352985382, 0.0838492289185524, 0.04507403075695038, 0.006418047938495874, -0.055560462176799774, -0.00830867886543274, 0.0062593198381364346, 0.025575097650289536, 0.017639154568314552, -0.03222250938415527, 0.05481595918536186, 0.06172599643468857, 0.006691761780530214, 0.01109742745757103, -0.03454351797699928, -0.05695236846804619, -0.0335674025118351, -0.053607091307640076, -0.0348115935921669, -0.027188515290617943, -0.022210201248526573, -0.050157155841588974, -0.03350219130516052, -0.019455503672361374, -0.012511915527284145, -0.004645475186407566, 0.01377776451408863, 0.022200193256139755, 0.046241313219070435, 0.058450449258089066, 0.04811117425560951, -0.04712865129113197, -0.026522433385252953, 0.07410917431116104, 0.01731702871620655, -0.02051392011344433, -0.07384227216243744, -0.017177388072013855, 0.04278760775923729, 0.02036418579518795, -0.02256496250629425, -0.02519175037741661, 0.07450879365205765, 0.004947703797370195, 0.0013473306316882372, -0.021075040102005005, 0.0005513873184099793, -0.005288390442728996, -0.016806170344352722, -0.018604177981615067, -0.005756294820457697, -0.03268666937947273, -0.014785735867917538, -0.01377954427152872, 0.04993356391787529, -0.04026830941438675, -0.04763949662446976, -0.005289685446768999, 0.0503082200884819, 0.024595052003860474, 0.011603140272200108, -0.02982390485703945, 0.008465299382805824, -0.0576493926346302, -0.047378428280353546, 0.04509150609374046, -0.018564410507678986, 0.03661800175905228, 0.05025791376829147, 0.028566963970661163, -0.01775502599775791, 0.03487779572606087, 0.013051306828856468, 0.05825800448656082, 0.016155213117599487, -0.03838413208723068, 0.020584797486662865, -0.05441288277506828, 0.02454107254743576, -0.00374122173525393, -0.04701105132699013, -0.03544274717569351, -0.07421927899122238, -0.01562621258199215, -0.001273639965802431, -0.019940359517931938, -0.017501622438430786, 0.0424598827958107, 0.0029575161170214415, -0.016189975664019585, 0.005614251829683781, 0.020699840039014816, 0.053626589477062225, -0.05350698530673981, 0.06776322424411774, 0.005489550996571779, 0.019114090129733086, -0.0698774978518486, 0.002954171970486641, -0.03996125981211662, -0.012876296415925026, -0.009746553376317024, 0.051431648433208466, 0.017095208168029785, 0.04857784882187843, 0.06996684521436691, 0.03328230604529381, -0.04652547463774681, 0.04479815810918808, 0.023177213966846466, -0.02764136716723442, -0.040152471512556076, -0.004377043340355158, -0.0018725087866187096, -0.050770584493875504, -0.001714757876470685, -0.0309001337736845, 0.010864767245948315, 0.014537149108946323, 0.008614374324679375, -0.011716684326529503, 0.013276280835270882, -0.024472663179039955, -0.025881730020046234, -0.07876700162887573, -0.044069450348615646, 0.0240942370146513, -0.018790462985634804, 0.002284433227032423, 0.03244919702410698, -0.001647647120989859, 0.054098643362522125, 0.05833400785923004, -0.03170488029718399, -0.05502934008836746, 0.032225314527750015, 0.05017133802175522, -0.04325795918703079, -0.08317846059799194, -0.040253765881061554, 0.03568539395928383, 0.05937587469816208, -0.011025110259652138, -0.07220660895109177, 0.01821008324623108, 0.05057165399193764, -0.02325553074479103, 0.07137475907802582, -0.003038146998733282, 0.039754681289196014, 0.042030420154333115, -0.03511896729469299, 0.01794043928384781, -0.020518381148576736, 0.003943531308323145, 0.0007392160478048027, 0.03306416794657707, -0.022791661322116852, -0.009356541559100151, -0.057701412588357925, 0.03995295241475105, 0.03668719530105591, 0.05118687078356743, 0.04523852840065956, -0.014080333523452282, -0.04739876091480255, -0.00835372693836689, 0.04077999293804169, -0.03383997082710266, 0.0027921213768422604, 0.046633992344141006, 0.048415180295705795, -0.02998485043644905, -0.03909274563193321, -0.009359215386211872, -0.007315939292311668, 0.030995020642876625, -0.0025326390750706196, -0.041207779198884964, -0.040956851094961166, 0.04114871099591255, -0.024242766201496124, 0.005880347453057766, -0.07928105443716049, 0.014184018597006798, -0.003945440985262394, -0.002981629455462098, 0.04435568302869797, 0.03736597299575806, 0.042647019028663635, 0.025477418676018715, 0.0077027990482747555, 0.013213442638516426, -0.036730315536260605, 0.030171172693371773, 0.009816541336476803, -0.02072392962872982, -0.0002481244155205786, -0.04570578783750534, -0.0023230132646858692, -0.02116180583834648, -0.047268714755773544, -0.05063286051154137, -0.02882344275712967, 0.005194858182221651, -0.008092033676803112, 0.006013964302837849, -0.02276623249053955, 0.057765040546655655, -0.03396272659301758, -0.0011005785781890154, -0.04416343942284584, -0.0428544245660305, -0.07117623090744019, -0.05078337341547012, 0.012298785150051117, 0.029946791008114815, 0.02465260587632656, -0.0019006081856787205, 0.010598571971058846, 0.03682930767536163, -0.010093197226524353, -0.021534772589802742, 0.04777510464191437, 0.006230509374290705, -0.019516827538609505, -0.04045535996556282, 0.011609151028096676, 0.018159782513976097, 0.055192142724990845, -0.013817274011671543, 0.04695066437125206, 0.0248073972761631, -0.039111603051424026, -0.04445362836122513, -0.006212697830051184, 0.0441402867436409, -0.08301812410354614, -0.07651211321353912, -0.012885311618447304, -0.04653523862361908, 0.008978563360869884, -0.007514355704188347, -0.004138669464737177, 0.013593192212283611, 0.01913139969110489, 0.010991274379193783, -0.00962347537279129, -0.029895134270191193, 0.005497970152646303, -0.011496287770569324, 0.008819762617349625, -0.06899677962064743, 0.02957789972424507, -0.0459369458258152, -0.023276224732398987, -0.012024438939988613, -0.01831606961786747, -0.051747024059295654, 0.05321672558784485, 0.011615822091698647, -0.004932224750518799, 0.0010909269331023097, 0.024645397439599037, -0.005321348085999489, -0.0039696539752185345, -0.03617793321609497, 0.016119983047246933, -0.04462895542383194, 0.047339729964733124, -0.052009157836437225, 0.0009457620908506215, -0.029421593993902206, 0.02305479720234871, -0.027712838724255562, -0.04584310203790665, -0.019656797870993614, -0.0515674352645874, 0.03472889959812164, 0.038899585604667664, 0.03109496459364891, 0.03070790134370327, 0.0009802281856536865, 0.01690923050045967, 0.004761509131640196, -0.07925402373075485, -0.01912095956504345, -0.013039635494351387, 0.026590628549456596, -0.014737904071807861, 0.03728201612830162, 0.024421675130724907, -0.053579822182655334, -0.07449129223823547, 0.02708679810166359, 0.026628363877534866, 0.013158805668354034, -0.010026437230408192, 0.02659635618329048, 0.018719105049967766, 0.03354460000991821, -0.030157791450619698, -0.016672231256961823, -0.011747925542294979, -0.04853292927145958, 0.01703772507607937, -0.02014949917793274, -0.00027093396056443453, 0.017112290486693382, -0.05020035803318024, -0.004821658134460449, 0.05517919361591339, 0.0322103351354599, 0.012268492951989174, 0.037103746086359024, -0.041097383946180344, 0.027625439688563347, 0.007855859585106373, -0.06186048686504364, -0.015210146084427834, -0.024786463007330894, -0.03180418536067009, 0.06872238218784332, -0.01125252339988947, 0.011235038749873638, 0.03525984659790993, -0.0015183350769802928, -0.00994644220918417, 0.040537044405937195, -0.024077843874692917, 0.025561155751347542, 0.03611075505614281, -0.039948347955942154, -0.0033615354914218187, -0.019501134753227234, 0.07356221228837967, -0.06648179143667221, 0.06558822095394135, 0.04700946807861328, 0.012193028815090656, 0.016686035320162773, -0.02798767201602459, -0.03275873139500618, 0.024746131151914597, -0.030653372406959534, 0.06912869960069656, 0.009089527651667595, -0.07721246778964996, 0.06832832843065262, 0.030981263145804405, -0.06870946288108826, 0.04766262322664261, 0.04149246588349342, -0.003978589083999395, 0.00014822320372331887, 0.04366036131978035, -0.037311166524887085, 0.008531797677278519, -0.049132898449897766, 0.023998906835913658, -0.04587871953845024, -0.01577174849808216, 0.01444067433476448, -0.027978500351309776, -0.013292090967297554, 0.050926029682159424, -0.02590104565024376, -0.004522759933024645, 0.025633133947849274, -0.03167567402124405, -0.01577041670680046, -0.006255764979869127, 0.009579935111105442, -0.022406386211514473, 0.007256109733134508, -0.019401200115680695, 0.020113466307520866, 0.01456140074878931, 0.00927263405174017, -0.040287163108587265, -0.011016322299838066, 0.01169859990477562, -0.04595934599637985, -0.052976787090301514, 0.06297104805707932, 0.01745758391916752, -0.02044057287275791, 0.05389920249581337, -0.01559665147215128, 0.011176003143191338, 0.05239779129624367, -0.012833118438720703, 0.047150060534477234, -0.07453061640262604, 0.010538686998188496, 0.02090756967663765, 0.014235610142350197, 0.005041195545345545, -0.02922423742711544, 0.021280992776155472, 0.05104942247271538, 0.03974204510450363, 0.00543507793918252, -0.04464283585548401, -0.0282133761793375, 0.025729583576321602, -0.03464233875274658, -0.021449267864227295, 0.02838922291994095, -0.03976381570100784, -0.019940096884965897, -0.01608278974890709, 0.007413621060550213, 0.025765223428606987, -0.02169562131166458, 0.0010013531427830458, 0.057755082845687866, -0.02388717047870159, -0.038667868822813034, -0.059317562729120255, -0.04360717535018921, -0.01621854305267334, 0.0273493193089962, 0.006381448823958635, -0.045824818313121796, -0.0022286681924015284, -0.04023309424519539, -0.05479248985648155, 0.03217502683401108, 0.04712102562189102, -0.03678087145090103, 0.0664517804980278, 0.05507563427090645, -0.03671204298734665, 0.016285868361592293, 0.030141407623887062, -0.03888629376888275, 0.02195899188518524, 0.015014112927019596, 0.009000888094305992, 0.0224437415599823, 0.04460938647389412, -0.012907137162983418, -0.015921257436275482, -0.06018280237913132, -0.03402799367904663, -0.06052824854850769, -0.008393153548240662, 0.06590645760297775 ]
AdapterHub/bert-base-uncased-pf-mnli
[ "bert", "en", "dataset:multi_nli", "arxiv:2104.08247", "adapter-transformers", "text-classification", "adapterhub:nli/multinli" ]
text-classification
{ "architectures": null, "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 } } }
7
null
This model is converted from the original BPR [repo](https://github.com/studio-ousia/bpr) and fitted into Pyserini: > Ikuya Yamada, Akari Asai, and Hannaneh Hajishirzi. 2021. Efficient passage retrieval with hashing for open-domain question answering. arXiv:2106.00882.
[ 0.01084306463599205, -0.02798888087272644, -0.0038819939363747835, 0.058139704167842865, -0.0012102908222004771, 0.0022953092120587826, 0.016903458163142204, 0.022996941581368446, -0.04234258830547333, 0.019026942551136017, 0.06101697310805321, 0.011317132972180843, 0.027031855657696724, 0.013299454003572464, -0.04992331564426422, -0.026150044053792953, -0.009479193948209286, -0.0034863001201301813, -0.03946249932050705, 0.016902314499020576, 0.006911656353622675, 0.02534831315279007, 0.009855063632130623, 0.03619447350502014, -0.004400807898491621, 0.0018674053717404604, -0.021826332435011864, -0.008106384426355362, 0.010780060663819313, -0.07029412686824799, -0.006810115650296211, -0.06933493167161942, -0.05221104621887207, -0.01220401655882597, -0.00460027763620019, -0.011315695941448212, 0.010673918761312962, -0.016539135947823524, 0.022275790572166443, 0.04389207065105438, -0.04127601906657219, 0.012429525144398212, 0.004733013920485973, -0.006342768203467131, 0.02777266502380371, -0.01777995564043522, -0.026680247858166695, -0.008933630771934986, 0.029965970665216446, -0.04416831210255623, -0.04148118197917938, -0.08627914637327194, -0.044480644166469574, 0.003859983989968896, 0.007715635932981968, -0.022003240883350372, -0.045247964560985565, -0.0238471869379282, 0.07804205268621445, -0.05542338266968727, -0.028568008914589882, -0.02132149413228035, -0.055931080132722855, 0.016409140080213547, 0.04450444132089615, -0.04111349955201149, 0.03231744095683098, -0.06421598792076111, 0.012507360428571701, -0.04511755332350731, 0.07479766756296158, -0.03415793552994728, 0.030763115733861923, -0.08868788927793503, -0.0005305078229866922, -0.0051620397716760635, 0.050518352538347244, 0.03138235583901405, -0.0212148018181324, 0.07485435158014297, 0.006153034046292305, 0.018411917611956596, 0.024842219427227974, 0.007759504020214081, 0.0029911790043115616, 0.04037987440824509, -0.04635560140013695, -0.015431292355060577, -0.030558615922927856, 0.019835583865642548, -0.029465649276971817, -0.04339355230331421, -0.029796401038765907, -0.006315917707979679, 0.0010891386773437262, -0.017454488202929497, 0.012291339226067066, -0.014809278771281242, 0.00795107614248991, -0.013245605863630772, 0.027451908215880394, 0.04327872768044472, -0.012563439086079597, 0.04648714140057564, -0.010737616568803787, -0.008992550894618034, 0.013977820985019207, -0.033476442098617554, -0.031128698959946632, 0.004934788215905428, 0.04028128832578659, -0.04142379388213158, -0.016299288719892502, 0.04835377261042595, 0.03448180854320526, -0.01120805274695158, 0.028834203258156776, -0.029453478753566742, -0.026389796286821365, -0.04230685904622078, 0.02096814289689064, 0.010931883938610554, 0.015784360468387604, -0.027779316529631615, -0.05870424583554268, 0.011512861587107182, -0.055313825607299805, -0.023518795147538185, 0.042683809995651245, -0.00020433042664080858, 0.010272339917719364, 0.008528432808816433, 0.03838469460606575, -0.06848254054784775, -0.022503141313791275, 0.018324093893170357, -0.05801811441779137, -0.0001726546324789524, 0.0271748173981905, 0.07840897887945175, -0.05670545622706413, -0.025297589600086212, 0.016556350514292717, 0.011165464296936989, -0.00981163326650858, -0.012350272387266159, 0.01900601200759411, -0.04420347884297371, -0.023575833067297935, -0.02047191932797432, 0.08965164422988892, -0.055272478610277176, -0.015352485701441765, 0.016967445611953735, -0.023732386529445648, 0.009372100234031677, -0.06408697366714478, 0.02802867442369461, -0.005694450810551643, 0.011544699780642986, -0.041344281286001205, 0.03486724570393562, -0.030465584248304367, 0.02655637077987194, -0.07446080446243286, -0.0335821695625782, 0.00855162926018238, 0.1125016137957573, 0.01623065397143364, -0.024425730109214783, -0.037459973245859146, -0.00886624213308096, 0.051821958273649216, 0.057209573686122894, -0.02644536830484867, 0.06372267752885818, 0.014043797738850117, 0.02112572453916073, -0.015008733607828617, 0.05937981978058815, -0.01930253952741623, -0.05015382170677185, -0.02607784792780876, 0.0076636360026896, 0.014316068962216377, -0.012391925789415836, 0.04678846895694733, 0.02732079103589058, -0.004969761706888676, -0.012701279483735561, -0.0019951602444052696, 0.08031570166349411, -0.03781196475028992, -0.010746815241873264, 0.01826152577996254, 0.01385536789894104, -0.026710692793130875, 0.029522744938731194, -0.04491123557090759, -0.003944559022784233, 0.020197654142975807, 0.0014553124783560634, 0.022422751411795616, 0.0050615654326975346, -0.0007884806836955249, 0.029853280633687973, -0.026635656133294106, 0.08093634992837906, -0.04232067987322807, 0.01084601879119873, -0.04706737399101257, 0.010591195896267891, -0.004163980949670076, 0.04916558414697647, 0.04324145242571831, 0.038515422493219376, 0.011258564889431, -0.04658675193786621, 0.05033855140209198, 0.058289144188165665, 0.053488701581954956, 0.0485323891043663, -0.047629814594984055, 0.009271414019167423, 0.015853766351938248, 0.06391976773738861, -0.038259055465459824, -0.017085440456867218, 0.0017761880299076438, 0.04841740056872368, -0.017065290361642838, 0.018653417006134987, -0.004177636932581663, 0.03341052308678627, -0.014690528623759747, -0.08170591294765472, 0.05514640733599663, 0.03821674361824989, 0.003119706641882658, 0.02449382282793522, -0.017317956313490868, 0.01837131194770336, 0.019962167367339134, 0.023241283372044563, -0.003930373582988977, -0.05515184625983238, 0.001788883819244802, 0.012505510821938515, 0.055137619376182556, -0.07210545986890793, 0.010807693004608154, 0.009016463533043861, -0.005155378952622414, 0.024016164243221283, -0.034939367324113846, 0.014820505864918232, 0.06498917192220688, 0.015299591235816479, -0.02255493775010109, 0.04256436228752136, 0.011941122822463512, 0.0359167642891407, 0.09252272546291351, 0.0005090227932669222, 0.07071642577648163, -0.0024413387291133404, 0.023969171568751335, 0.0987001433968544, 0.012650510296225548, 0.008024274371564388, 0.023159727454185486, 0.0650377944111824, -0.01424758043140173, -0.012739615514874458, 0.04136285558342934, -0.049407970160245895, 0.02143073081970215, -0.04327593743801117, 0.022776268422603607, 0.006255080923438072, -0.013524589128792286, 0.06936166435480118, 0.01660286821424961, -0.009207164868712425, 0.024477176368236542, -0.0012899599969387054, -0.006189053878188133, 0.026654940098524094, 0.0009883091552183032, 0.00027596697327680886, -0.015360179357230663, 0.008015229366719723, 0.017341071739792824, -0.07022800296545029, -0.040390875190496445, -0.011075408197939396, -0.024856777861714363, 0.014169005677103996, -0.09518872946500778, -0.010789205320179462, -0.072098508477211, -0.029601167887449265, 0.05032186210155487, 0.021605219691991806, 0.026075005531311035, -0.020492004230618477, 0.008453140035271645, -0.026577923446893692, -0.019711287692189217, -0.04657530412077904, -0.029863199219107628, -0.010803090408444405, -0.08332297205924988, 0.03348841890692711, 0.024140305817127228, 0.024329757317900658, 0.0016036765882745385, -0.02174321934580803, -0.044253796339035034, -0.015351580455899239, 0.023624038323760033, 0.03042854182422161, -0.016789644956588745, -0.052851635962724686, 0.01555472519248724, -0.004441239405423403, 0.024928536266088486, -0.016990480944514275, -0.03623997047543526, 0.08492256700992584, 0.04648282006382942, 0.041976798325777054, 0.004607846960425377, -0.0005182251334190369, -0.03328477591276169, 0.003458470106124878, -0.05192897841334343, -0.059902895241975784, -0.037240542471408844, -0.059816841036081314, -0.06033051759004593, -0.026826804503798485, -0.03885975480079651, 0.0014831745065748692, 0.0026662207674235106, -0.008411734364926815, 0.050175923854112625, 0.0771993026137352, 0.025040363892912865, 0.050157010555267334, -0.028743576258420944, -0.032369282096624374, 0.05323262885212898, -0.016984643414616585, 0.018339775502681732, -0.06448858976364136, -0.06487736850976944, 0.06518818438053131, 0.0005521503044292331, 0.02269492670893669, -0.01728634163737297, 0.05692659690976143, -0.011429745703935623, -0.017854901030659676, 0.002693583955988288, -0.03235958144068718, -0.0159433763474226, 0.005866094492375851, -0.017040971666574478, -0.03328724205493927, -0.05679665133357048, -0.027195170521736145, -0.0043329158797860146, 0.022935044020414352, -0.059282757341861725, -0.04740285873413086, -0.006181392353028059, -0.004380708560347557, 0.02778753638267517, 0.009265457279980183, -0.0511862114071846, 0.018472721800208092, -0.054835688322782516, -0.060848139226436615, 0.025398878380656242, -0.01504981517791748, 0.02752574346959591, 0.04862024635076523, 0.01845143735408783, -0.006394459865987301, 0.03974171727895737, 0.025161558762192726, 0.05874728411436081, 0.016233297064900398, -0.0668451264500618, 0.01182754710316658, -0.024205917492508888, 0.016516810283064842, -0.01306364219635725, -0.01971372403204441, -0.04791852831840515, -0.03981638327240944, -0.014506961219012737, 0.01844370923936367, -0.012290447019040585, -0.0021921538282185793, 0.020935460925102234, -0.008948848582804203, -0.027282720431685448, 0.0033882020507007837, 0.034651171416044235, 0.023680364713072777, -0.04167808219790459, 0.03695967048406601, -0.002476735971868038, 0.028726518154144287, -0.018723363056778908, 0.019530143588781357, -0.04199199378490448, -0.024413498118519783, 0.033716727048158646, 0.06849121302366257, 0.03542698919773102, 0.05525568872690201, 0.07756105810403824, 0.04687264934182167, -0.03790215775370598, 0.03263160586357117, 0.05391094088554382, -0.006536173168569803, -0.058227889239788055, -0.006653756368905306, 0.020725594833493233, -0.0019477646565064788, -0.003915348090231419, -0.020848093554377556, 0.04174485430121422, 0.026358364149928093, -0.02379382587969303, 0.018310660496354103, 0.005543134640902281, -0.00797851849347353, -0.01604645512998104, -0.04092230647802353, 0.02349758706986904, -0.030344504863023758, 0.005591764580458403, 0.053405918180942535, 0.04361657425761223, -0.00742499902844429, 0.053873974829912186, 0.04877240210771561, 0.004532790742814541, -0.06711958348751068, 0.050180014222860336, 0.02938561886548996, -0.08131757378578186, -0.08760727941989899, -0.02520393580198288, 0.037226103246212006, 0.042032308876514435, 0.0029500857926905155, -0.0863633006811142, 0.04535720497369766, 0.039519648998975754, -0.030572598800063133, 0.038319867104291916, 0.00011998074478469789, 0.014744522981345654, 0.07186135649681091, -0.006787740159779787, 0.036231379956007004, -0.021968526765704155, 0.014741761609911919, 0.0114230215549469, 0.07096413522958755, -0.017752233892679214, -0.012732870876789093, -0.05164995416998863, 0.04142614081501961, 0.030678749084472656, 0.0435628741979599, 0.07160867005586624, -0.017679892480373383, -0.020677709951996803, -0.0006320991669781506, 0.01452705543488264, -0.022922607138752937, 0.02340976893901825, 0.062184739857912064, 0.013662371784448624, -0.06907890737056732, -0.06529104709625244, -0.02576657012104988, 0.012127228081226349, 0.02999476157128811, -0.024412140250205994, -0.034702666103839874, -0.04231204092502594, 0.0029883021488785744, -0.013191398233175278, -0.026977170258760452, -0.07620587199926376, 0.01241861842572689, -0.003689095377922058, -0.03397800773382187, 0.06468866020441055, 0.06299517303705215, 0.0338604710996151, 0.037391502410173416, -0.024787727743387222, 0.028011150658130646, -0.05348479375243187, 0.05473588407039642, -0.04511484131217003, -0.0329364538192749, -0.005841200239956379, -0.07232414931058884, -0.009698989801108837, -0.0352267324924469, -0.013048517517745495, -0.040077585726976395, -0.022686298936605453, 0.0186696108430624, -0.010455702431499958, 0.026658572256565094, -0.012226237915456295, 0.02479778602719307, -0.04879218712449074, -0.018280044198036194, -0.025748874992132187, -0.024367481470108032, -0.07193562388420105, -0.03941740840673447, 0.056517813354730606, -0.009909246116876602, 0.012505948543548584, 0.008868329226970673, 0.03927038237452507, 0.00236054346896708, 0.003691931953653693, -0.018430951982736588, 0.02721000462770462, 0.0032581922132521868, -0.04413706809282303, -0.06634509563446045, 0.021143494173884392, -0.007147587835788727, -0.003040562616661191, -0.01859753392636776, 0.017889779061079025, 0.011548934504389763, -0.003995960578322411, -0.022827062755823135, 0.007130189798772335, 0.002487015211954713, -0.06936625391244888, -0.02940629981458187, 0.005675796419382095, -0.031007247045636177, 0.05128747224807739, -0.015080525539815426, -0.034835513681173325, 0.015192818827927113, 0.024300817400217056, 0.050413962453603745, 0.01804523728787899, -0.050902679562568665, 0.01148216426372528, -0.015895498916506767, 0.030701352283358574, -0.04609277471899986, 0.021167756989598274, -0.011455375701189041, 0.016741110011935234, -0.006673686672002077, -0.005256535951048136, -0.04706360772252083, 0.06318502128124237, 0.00014017074136063457, -0.007231819909065962, -0.03765386715531349, 0.01110042817890644, -0.024120185524225235, 0.05715792998671532, -0.03215888887643814, 0.012432217597961426, -0.018822215497493744, 0.05117291584610939, -0.09128663688898087, -0.018878083676099777, -0.043739646673202515, -0.02209527976810932, -0.05042815953493118, 0.01146848127245903, -0.02794836275279522, -0.0033162229228764772, -0.0014980450505390763, 0.006076195277273655, 0.019578885287046432, 0.03655799850821495, -0.015659043565392494, 0.006079858634620905, 0.021410414949059486, -0.05993625894188881, -0.034490931779146194, -0.01873316802084446, -0.010156615637242794, 0.01172313280403614, 0.07689748704433441, 0.03486795723438263, -0.04206962138414383, -0.03662700951099396, 0.04341212287545204, 0.02403252199292183, -0.0036769541911780834, -0.0034041081089526415, 0.0034116129390895367, 0.058795489370822906, 0.03567267581820488, -0.045831456780433655, -0.020267004147171974, -0.01443760097026825, -0.03293725103139877, 0.0016562041128054261, -0.00450828718021512, 0.009576545096933842, 0.008728534914553165, -0.02157619222998619, -0.03801559656858444, 0.05060534551739693, 0.06310677528381348, 0.018662111833691597, 0.017991412431001663, -0.034581951797008514, 0.023123078048229218, 0.006999403703957796, -0.04610501229763031, 0.006414616480469704, -0.018947964534163475, -0.03518206998705864, 0.04269353672862053, -0.02064192295074463, 0.015760742127895355, 0.026192408055067062, 0.03291502594947815, -0.0469476580619812, 0.05849379301071167, -0.042893923819065094, 0.04271033778786659, 0.04730202630162239, -0.053399961441755295, 0.00398895563557744, -0.027715232223272324, 0.05407693609595299, -0.04502077400684357, 0.03337141126394272, 0.0429539792239666, 0.008854632265865803, 0.0058977738954126835, -0.027320625260472298, -0.013577964156866074, 0.011117687448859215, -0.02262711524963379, 0.07144966721534729, -0.012805651873350143, -0.012352287769317627, 0.06586761772632599, 0.007465661969035864, -0.06566020846366882, 0.03726985678076744, 0.025921940803527832, 0.046965327113866806, 0.03287537768483162, 0.020350381731987, -0.04840210825204849, 0.009091386571526527, -0.034286342561244965, 0.029921716079115868, -0.03779277950525284, -0.0373736210167408, 0.0317005030810833, -0.013013855554163456, -0.026859741657972336, 0.03300049901008606, -0.01179647445678711, 0.015141600742936134, 0.02514183707535267, -0.04379646107554436, -0.046069759875535965, 0.005092985462397337, 0.03325513005256653, -0.03472897782921791, 0.005460178945213556, -0.04440780356526375, 0.042922165244817734, 0.014958139508962631, 0.009862877428531647, -0.019847124814987183, 0.0035094243939965963, 0.0002529013727325946, -0.07404179126024246, -0.06342988461256027, 0.04691091179847717, 0.008643807843327522, -0.040099821984767914, 0.045825764536857605, -0.004851845093071461, 0.01749422773718834, 0.034385163336992264, 0.0007175824139267206, 0.028645023703575134, -0.03513475880026817, -0.008319527842104435, 0.025718603283166885, -0.007439253851771355, 0.06480521708726883, -0.02424049936234951, 0.021879518404603004, 0.02170983888208866, 0.05288424715399742, -0.0014264218043535948, -0.06027987226843834, -0.0182939525693655, 0.01560522522777319, -0.034966837614774704, 0.027824444696307182, -0.0046684774570167065, -0.04807644337415695, -0.039431750774383545, -0.02432645671069622, -0.042661964893341064, 0.030076928436756134, -0.047387801110744476, 0.02362905628979206, 0.01044185645878315, 0.0039696344174444675, -0.04933064058423042, -0.08154687285423279, -0.03347179666161537, -0.03468861058354378, 0.01467044372111559, 0.0017203402239829302, -0.022916601970791817, 0.029551099985837936, -0.04671517014503479, -0.0598454512655735, 0.01840052381157875, -0.008802260272204876, -0.05574965476989746, 0.06166628375649452, 0.044871240854263306, -0.037082891911268234, 0.047117799520492554, 0.06127995252609253, -0.03747571259737015, 0.009407548233866692, -0.009546838700771332, 0.026527952402830124, 0.015317687764763832, 0.043097201734781265, -0.040447480976581573, -0.03070324845612049, -0.03835386037826538, -0.021276116371154785, -0.020695697516202927, -0.004415452014654875, 0.07274371385574341 ]
AdapterHub/roberta-base-pf-comqa
[ "roberta", "en", "dataset:com_qa", "arxiv:2104.08247", "adapter-transformers", "question-answering" ]
question-answering
{ "architectures": null, "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 } } }
0
null
An NER model to detect company and person names from news articles.
[ -0.04270234704017639, 0.01001730840653181, 0.013318244367837906, 0.020408015698194504, 0.03718099370598793, 0.03478872776031494, -0.011660152114927769, -0.030012020841240883, -0.02205890230834484, 0.04504064470529556, 0.040328189730644226, 0.012451977469027042, 0.033205121755599976, 0.016852419823408127, -0.045913148671388626, -0.01295810379087925, -0.019576169550418854, -0.012747682631015778, -0.0267614908516407, -0.026635508984327316, 0.0399884432554245, 0.021718518808484077, 0.006331820040941238, -0.005345964338630438, -0.015383059158921242, 0.012548347003757954, 0.00001119266471505398, 0.06129449978470802, 0.0401313379406929, -0.036251895129680634, 0.02531244605779648, -0.04417989403009415, -0.03824019804596901, 0.0034498367458581924, -0.021124349907040596, -0.0022435663267970085, -0.005174233578145504, -0.013536659069359303, 0.0228897575289011, 0.05899538844823837, -0.04313904047012329, -0.009091782383620739, 0.006628550123423338, -0.05104581639170647, -0.008913544937968254, 0.021344317123293877, -0.037371523678302765, -0.04128177464008331, 0.04285122826695442, -0.0605878010392189, -0.05550004914402962, -0.05718173459172249, -0.026386747136712074, 0.016500631347298622, -0.04474081099033356, -0.04314229264855385, -0.013241026550531387, -0.005389527417719364, 0.05013459920883179, -0.039801161736249924, -0.046733587980270386, 0.014794303104281425, -0.048181187361478806, -0.0032502564135938883, 0.039677202701568604, -0.045436203479766846, 0.025971103459596634, -0.03046240843832493, 0.023321479558944702, -0.017324291169643402, 0.03862384334206581, -0.05411596968770027, 0.01490184385329485, -0.06443464756011963, -0.007518498692661524, -0.0067729586735367775, 0.05667028948664665, 0.05814816430211067, -0.04807195067405701, 0.035210929811000824, 0.0241734366863966, 0.014444973319768906, 0.02572214975953102, -0.04531312361359596, -0.00907228235155344, 0.02735130302608013, -0.016242967918515205, 0.02051088772714138, 0.021026592701673508, 0.0530904196202755, -0.03417259827256203, -0.015682796016335487, 0.02264220081269741, -0.013671615161001682, -0.044504813849925995, 0.020671922713518143, 0.027504026889801025, 0.002418894087895751, 0.01526667457073927, 0.0327632799744606, 0.05187865346670151, 0.04166826978325844, -0.01484164409339428, 0.04834763705730438, -0.023732377216219902, -0.03272620588541031, -0.024337012320756912, -0.03888416662812233, -0.06588365882635117, 0.016991719603538513, 0.004209968261420727, -0.059835486114025116, -0.0484190508723259, 0.015890058130025864, -0.017006417736411095, -0.009884103201329708, 0.037676852196455, -0.03399980813264847, -0.06311299651861191, -0.0058943135663867, 0.053523581475019455, -0.012634914368391037, 0.014119992032647133, -0.02910096012055874, -0.024473752826452255, 0.011839708313345909, -0.02775724045932293, -0.0015614824369549751, -0.004237937740981579, -0.00011406849807826802, 0.010608004406094551, 0.028520628809928894, 0.031217720359563828, -0.082488514482975, 0.01868067868053913, 0.017370838671922684, -0.0686994269490242, 0.0355752669274807, 0.021684661507606506, 0.09345140308141708, -0.06908205896615982, -0.06820464879274368, 0.014923992566764355, 0.042095962911844254, -0.02723119780421257, -0.008089270442724228, 0.016486255452036858, -0.04674556851387024, -0.028086436912417412, -0.023634307086467743, 0.03128461539745331, -0.0727725401520729, 0.01909218356013298, 0.06657484918832779, 0.006528814323246479, 0.04073833301663399, -0.027846062555909157, 0.010907774791121483, -0.015311077237129211, 0.046353474259376526, -0.035575274378061295, 0.07903579622507095, -0.0029062964022159576, 0.01534989569336176, -0.05874170735478401, -0.05661959946155548, -0.017189927399158478, 0.06834787130355835, -0.015449323691427708, -0.031084122136235237, -0.07021529227495193, 0.011543480679392815, 0.055152565240859985, 0.04035264253616333, -0.01678512804210186, 0.010515528731048107, 0.039921339601278305, 0.026759197935461998, -0.027910515666007996, 0.04713425040245056, 0.005774450954049826, -0.04050762951374054, -0.01418889220803976, 0.027820594608783722, 0.019365154206752777, -0.03503333777189255, 0.014721683226525784, 0.0641428679227829, -0.003119839122518897, -0.04847892373800278, -0.035800348967313766, 0.040062278509140015, -0.009106546640396118, 0.02188795991241932, 0.024029577150940895, 0.017772912979125977, -0.009927988052368164, 0.03399823606014252, -0.00459290063008666, 0.02272225357592106, -0.021818891167640686, -0.027235044166445732, 0.0024348353035748005, 0.020643606781959534, 0.04015762358903885, 0.05242496356368065, -0.004563502036035061, 0.04005569964647293, -0.07174472510814667, 0.025249110534787178, -0.040676016360521317, -0.015951309353113174, 0.0016225578729063272, 0.054133884608745575, 0.05150115489959717, 0.03847859054803848, -0.0028286539018154144, -0.05650161951780319, 0.014659278094768524, 0.027406437322497368, 0.03179601579904556, 0.034614838659763336, -0.02882516197860241, -0.005057442933320999, 0.006329238880425692, 0.029528848826885223, -0.04638822749257088, -0.04103429242968559, 0.005431836470961571, 0.027775216847658157, 0.005850493907928467, 0.0006368352333083749, -0.03819689527153969, 0.034817200154066086, -0.046979255974292755, -0.059488099068403244, 0.036525145173072815, 0.01764947548508644, -0.010040410794317722, 0.03414200246334076, -0.051886461675167084, 0.007006383500993252, 0.041095443069934845, 0.026131395250558853, 0.010952404700219631, -0.06170837953686714, -0.04075063765048981, 0.012647761031985283, 0.04212866351008415, -0.051455944776535034, 0.05374160036444664, 0.005708523094654083, -0.007714034523814917, 0.022442864254117012, -0.04144351929426193, 0.0650264173746109, 0.048799335956573486, -0.007336976006627083, -0.035779379308223724, 0.046459559351205826, 0.04231329634785652, 0.03396984934806824, 0.057916928082704544, 0.010652128607034683, 0.060387302190065384, -0.02600255236029625, 0.04515098035335541, 0.05079677700996399, 0.02460954524576664, -0.013263502158224583, 0.060784466564655304, 0.07112666219472885, -0.003128770738840103, -0.027614088729023933, 0.0449756383895874, -0.05235430970788002, -0.0008423859253525734, -0.046604834496974945, 0.0012932834215462208, -0.002158727264031768, -0.00460259523242712, 0.07237287610769272, 0.03834904730319977, -0.01302040833979845, -0.0031541669741272926, -0.019699063152074814, 0.00023153770598582923, 0.05580183491110802, -0.015219018794596195, 0.028019078075885773, -0.022068537771701813, -0.04283149540424347, -0.0071721915155649185, -0.0737735852599144, -0.02871209941804409, -0.01028019655495882, -0.03105051815509796, -0.024738414213061333, -0.09508910775184631, -0.011459285393357277, -0.06316351890563965, -0.034318018704652786, 0.03725515678524971, 0.024104898795485497, 0.043805018067359924, -0.04288758337497711, 0.01681707240641117, -0.030859196558594704, -0.06195838749408722, -0.08841486275196075, -0.008459541946649551, -0.0428725928068161, -0.07590189576148987, 0.01755472645163536, 0.029169434681534767, 0.041163310408592224, -0.022143416106700897, -0.01027524471282959, -0.04282553866505623, -0.0028846263885498047, 0.040354352444410324, 0.03686196357011795, -0.02782587707042694, -0.0036626544315367937, 0.03463021665811539, -0.004330971743911505, 0.044461291283369064, -0.0006164835067465901, -0.06199305132031441, 0.037471793591976166, 0.04538249969482422, 0.038308076560497284, 0.017081668600440025, 0.009351062588393688, -0.01547075342386961, -0.0723232626914978, -0.039825793355703354, -0.022111348807811737, -0.030283525586128235, -0.05976181849837303, -0.061093978583812714, -0.006687014829367399, -0.03513635694980621, -0.021107519045472145, -0.026806995272636414, -0.014400571584701538, 0.0030792178586125374, 0.028667565435171127, 0.027170510962605476, -0.003958320245146751, -0.008098658174276352, -0.06796980649232864, 0.048325397074222565, 0.008171231485903263, 0.005996802821755409, -0.09939100593328476, -0.0439470000565052, 0.04057617112994194, 0.049770135432481766, 0.03442414849996567, -0.017870919778943062, 0.06268125027418137, 0.012507237493991852, -0.008127388544380665, -0.016996067017316818, -0.02627561241388321, -0.039146970957517624, 0.023649288341403008, -0.002149036154150963, -0.027592487633228302, -0.026957759633660316, -0.055967845022678375, 0.017099516466259956, 0.03285007178783417, -0.05179242417216301, -0.03448749706149101, -0.01902659982442856, 0.008731970563530922, 0.03978968784213066, 0.006372237112373114, -0.014719564467668533, 0.012850630097091198, -0.03719092160463333, -0.037893760949373245, 0.013049181550741196, 0.019738545641303062, 0.05364592373371124, 0.03949296846985817, 0.020122453570365906, -0.022552205249667168, 0.018150046467781067, 0.029404332861304283, 0.03682761639356613, -0.005320841446518898, -0.02950456365942955, 0.05146275460720062, -0.02157101035118103, -0.009163656271994114, -0.01576347090303898, -0.00872677844017744, -0.05153178051114082, -0.06605758517980576, 0.011067476123571396, 0.02922232449054718, 0.003181248204782605, -0.0068815285339951515, 0.010369949974119663, 0.015901239588856697, 0.015148820355534554, -0.0009388217586092651, 0.01705043390393257, 0.009458922781050205, -0.03221173956990242, 0.038624633103609085, -0.04068131744861603, 0.024839701130986214, -0.04268696531653404, -0.03231378272175789, -0.051474492996931076, -0.01694190688431263, -0.0003262007376179099, 0.06339138001203537, 0.05612502619624138, 0.010615513660013676, 0.062113452702760696, 0.009556311182677746, -0.001681811991147697, 0.044914036989212036, 0.056748051196336746, -0.0016503663500770926, -0.047755543142557144, -0.0021029962226748466, 0.005483958870172501, -0.04332765191793442, -0.019109148532152176, -0.0367785319685936, 0.02817646972835064, 0.06122438609600067, 0.010501794517040253, -0.012697061523795128, 0.010918330401182175, -0.004660816863179207, 0.00039887300226837397, -0.08158773183822632, -0.003345347475260496, -0.003649502992630005, 0.006435398943722248, 0.012173837050795555, 0.02950933203101158, 0.006679858081042767, 0.07625194638967514, 0.021449994295835495, -0.002378718461841345, -0.037189166992902756, 0.04354023560881615, 0.043786343187093735, -0.06524063646793365, -0.05838346481323242, -0.05910785123705864, 0.04637182131409645, 0.0775393694639206, -0.04085317626595497, -0.10117828100919724, -0.00824985932558775, 0.06714770197868347, -0.05519647151231766, 0.08483295887708664, 0.017028257250785828, 0.048096027225255966, 0.03906252235174179, -0.025938432663679123, 0.039941199123859406, -0.044026050716638565, 0.003974495455622673, -0.015091096982359886, 0.03417762741446495, -0.043040551245212555, -0.0549701489508152, -0.007565527688711882, 0.017704201862215996, 0.01306251809000969, 0.03738604485988617, 0.06312450021505356, -0.03709543123841286, -0.035123664885759354, 0.01728186570107937, 0.04759867861866951, -0.013372675515711308, -0.006088091526180506, 0.039908647537231445, 0.04587409272789955, -0.035195380449295044, -0.05919529125094414, 0.04302987456321716, -0.002115979790687561, 0.03292810171842575, -0.019821271300315857, -0.046159353107213974, -0.05493214353919029, 0.01464972086250782, 0.008012840524315834, -0.02170083485543728, -0.0697195827960968, 0.027025649324059486, -0.0019973607268184423, -0.016872210428118706, 0.026698946952819824, 0.05948371812701225, 0.03426726534962654, 0.04292980208992958, -0.013087795116007328, 0.005781623534858227, -0.049275223165750504, 0.022769665345549583, -0.008889341726899147, -0.05844113975763321, -0.038751546293497086, -0.04639066010713577, -0.03817325457930565, -0.021028732880949974, -0.05047346279025078, -0.07756581157445908, -0.013281790539622307, 0.010943797416985035, -0.010323205962777138, 0.026995928958058357, -0.01689203828573227, 0.022301245480775833, -0.033286597579717636, -0.053132932633161545, -0.036599792540073395, -0.01870434544980526, -0.06219088286161423, -0.02480093576014042, 0.025588877499103546, -0.02340090647339821, -0.008988301269710064, 0.017636185511946678, 0.009661195799708366, 0.006510134786367416, 0.0021736049093306065, -0.0662698894739151, 0.02021503448486328, -0.01442032027989626, -0.00754679786041379, -0.011306303553283215, -0.0055229561403393745, 0.01149065513163805, 0.019157933071255684, -0.026973316445946693, 0.017833014950156212, 0.009024600498378277, -0.022050978615880013, -0.034981619566679, 0.045070141553878784, 0.018077341839671135, -0.051658716052770615, -0.019214484840631485, -0.03028108738362789, -0.0027623812202364206, 0.05027013272047043, -0.023232171311974525, -0.015464477241039276, -0.02094297856092453, 0.016204100102186203, 0.02632838487625122, -0.0020900547970086336, -0.04461045563220978, 0.027211889624595642, -0.04681161046028137, 0.04868669435381889, -0.03666834905743599, 0.03697219863533974, -0.027421971783041954, 0.03808675333857536, -0.011366549879312515, -0.03414527699351311, -0.06910150498151779, 0.043680377304553986, -0.01573757827281952, -0.026730267331004143, -0.015554807148873806, 0.04865333065390587, -0.020782819017767906, 0.032218992710113525, -0.022281508892774582, 0.009108640253543854, -0.014759643003344536, 0.05225067213177681, -0.030895588919520378, -0.004504750482738018, 0.008991438895463943, -0.011289347894489765, -0.0638190507888794, -0.024402551352977753, 0.025043578818440437, -0.039950743317604065, 0.04547102749347687, 0.03028116375207901, 0.010007468983530998, 0.02054273895919323, -0.03592119365930557, 0.006091099698096514, 0.010741038247942924, -0.05876569449901581, -0.014667416922748089, 0.014522437937557697, 0.03162970021367073, 0.01133684441447258, 0.05046694353222847, 0.03660549223423004, -0.050031498074531555, -0.03513463959097862, 0.04357128590345383, 0.04815174266695976, 0.016193227842450142, -0.019326793029904366, -0.00855197198688984, 0.02208898589015007, 0.01535418163985014, -0.035650867968797684, -0.009844197891652584, -0.0069099776446819305, -0.0318308025598526, 0.009476546198129654, -0.03527792543172836, 0.047464799135923386, -0.01086774654686451, -0.04525866359472275, -0.04182825982570648, 0.0712897852063179, 0.008085743524134159, -0.010180532932281494, -0.032253000885248184, -0.029577625915408134, 0.0553334541618824, 0.010990248993039131, -0.06538869440555573, 0.006144349928945303, 0.02691330760717392, -0.050475746393203735, 0.06478118151426315, 0.016009684652090073, 0.0036791309248656034, 0.04167257249355316, 0.016913238912820816, -0.0120406374335289, 0.05678962171077728, -0.034851960837841034, 0.002707704436033964, 0.013867677189409733, -0.0617256723344326, -0.013534463942050934, -0.04716158285737038, 0.05468578636646271, -0.06130495294928551, 0.06832427531480789, 0.026496930047869682, 0.01960720494389534, 0.04969374090433121, -0.05976397544145584, -0.036758314818143845, 0.007865381427109241, -0.02155662700533867, 0.05191083624958992, -0.01919332519173622, -0.03069903329014778, 0.06690242141485214, 0.047283049672842026, -0.04501023143529892, 0.006141089368611574, 0.029100030660629272, 0.0001358438457828015, 0.00877517368644476, 0.05686569586396217, -0.033601246774196625, 0.004635356832295656, -0.04388674348592758, 0.0009529716335237026, -0.05921737849712372, -0.004302771296352148, 0.0077565452083945274, -0.037108201533555984, -0.017860081046819687, 0.047311555594205856, -0.05785286799073219, -0.003284488571807742, 0.04703729972243309, -0.01800936833024025, -0.0484335757791996, 0.02019701898097992, 0.042540550231933594, 0.012337513267993927, 0.010755143128335476, -0.02268303744494915, -0.01753043569624424, 0.02538563497364521, -0.007025348488241434, -0.008624283596873283, 0.000990586238913238, 0.033639583736658096, -0.08184323459863663, -0.021894866600632668, 0.03985488414764404, 0.006819414906203747, -0.028833243995904922, 0.041820768266916275, 0.0027945248875766993, 0.022739561274647713, 0.023827241733670235, 0.009166644886136055, 0.01292913593351841, -0.0930292084813118, 0.0007731053046882153, 0.016617175191640854, 0.011299272067844868, 0.04628746584057808, 0.007272562477737665, 0.01921948976814747, 0.057517651468515396, 0.01867716945707798, 0.010429244488477707, -0.04988352954387665, -0.05404583737254143, 0.019684823229908943, -0.02522074431180954, 0.01117781363427639, -0.015357490628957748, -0.026807403191924095, -0.04437796771526337, -0.03392421454191208, -0.05505097657442093, 0.05503983050584793, -0.02437320165336132, 0.03596801310777664, 0.033543940633535385, 0.02374606765806675, -0.04238458350300789, -0.04358949139714241, -0.0057706222869455814, -0.0037948815152049065, -0.004940441809594631, 0.022964242845773697, -0.002009056508541107, 0.009749257005751133, -0.03125600889325142, -0.05208815261721611, 0.03973238170146942, 0.012167144566774368, -0.062105122953653336, 0.042549967765808105, 0.03718326985836029, -0.018111342564225197, -0.028338760137557983, 0.028035683557391167, -0.05930442363023758, 0.042100366204977036, -0.014602684415876865, 0.012411682866513729, 0.03248230740427971, 0.022746089845895767, -0.009446502663195133, -0.014683975838124752, -0.06107882410287857, -0.0645398274064064, -0.006202125921845436, -0.0072776563465595245, 0.04679716005921364 ]
AdapterHub/roberta-base-pf-hellaswag
[ "roberta", "en", "dataset:hellaswag", "arxiv:2104.08247", "adapter-transformers", "adapterhub:comsense/hellaswag" ]
null
{ "architectures": null, "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 } } }
0
null
--- language: en tags: - long context --- # LSG model **Transformers >= 4.23.1**\ **This model relies on a custom modeling file, you need to add trust_remote_code=True**\ **See [\#13467](https://github.com/huggingface/transformers/pull/13467)** LSG ArXiv [paper](https://arxiv.org/abs/2210.15497). \ Github/conversion script is available at this [link](https://github.com/ccdv-ai/convert_checkpoint_to_lsg). * [Usage](#usage) * [Parameters](#parameters) * [Sparse selection type](#sparse-selection-type) * [Tasks](#tasks) * [Training global tokens](#training-global-tokens) This model can handle long sequences but faster and more efficiently than Longformer or BigBird (from Transformers) and relies on Local + Sparse + Global attention (LSG). The model requires sequences whose length is a multiple of the block size. The model is "adaptive" and automatically pads the sequences if needed (adaptive=True in config). It is however recommended, thanks to the tokenizer, to truncate the inputs (truncation=True) and optionally to pad with a multiple of the block size (pad_to_multiple_of=...). \ The model is trained starting from a RoBERTa-base checkpoint on 16Gb of data (Wikipedia, Bookcorpus etc...) using the same number of parameters/layers and the same tokenizer. Support encoder-decoder and causal masking but I didnt test it extensively.\ Implemented in PyTorch. ![attn](attn.png) ## Usage The model relies on a custom modeling file, you need to add trust_remote_code=True to use it. ```python: from transformers import AutoModel, AutoTokenizer model = AutoModel.from_pretrained("ccdv/lsg-base-4096", trust_remote_code=True) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-base-4096") ``` ## Parameters You can change various parameters like : * the number of global tokens (num_global_tokens=1) * local block size (block_size=128) * sparse block size (sparse_block_size=128) * sparsity factor (sparsity_factor=2) * mask_first_token (mask first token since it is redundant with the first global token) * see config.json file Default parameters work well in practice. If you are short on memory, reduce block sizes, increase sparsity factor and remove dropout in the attention score matrix. ```python: from transformers import AutoModel model = AutoModel.from_pretrained("ccdv/lsg-base-4096", trust_remote_code=True, num_global_tokens=16, block_size=64, sparse_block_size=64, attention_probs_dropout_prob=0.0 sparsity_factor=4, sparsity_type="none", mask_first_token=True ) ``` ## Sparse selection type There are 5 different sparse selection patterns. The best type is task dependent. \ Note that for sequences with length < 2*block_size, the type has no effect. * sparsity_type="norm", select highest norm tokens * Works best for a small sparsity_factor (2 to 4) * Additional parameters: * None * sparsity_type="pooling", use average pooling to merge tokens * Works best for a small sparsity_factor (2 to 4) * Additional parameters: * None * sparsity_type="lsh", use the LSH algorithm to cluster similar tokens * Works best for a large sparsity_factor (4+) * LSH relies on random projections, thus inference may differ slightly with different seeds * Additional parameters: * lsg_num_pre_rounds=1, pre merge tokens n times before computing centroids * sparsity_type="stride", use a striding mecanism per head * Each head will use different tokens strided by sparsify_factor * Not recommended if sparsify_factor > num_heads * sparsity_type="block_stride", use a striding mecanism per head * Each head will use block of tokens strided by sparsify_factor * Not recommended if sparsify_factor > num_heads ## Tasks Fill mask example: ```python: from transformers import FillMaskPipeline, AutoModelForMaskedLM, AutoTokenizer model = AutoModelForMaskedLM.from_pretrained("ccdv/lsg-base-4096", trust_remote_code=True) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-base-4096") SENTENCES = ["Paris is the <mask> of France.", "The goal of life is <mask>."] pipeline = FillMaskPipeline(model, tokenizer) output = pipeline(SENTENCES, top_k=1) output = [o[0]["sequence"] for o in output] > ['Paris is the capital of France.', 'The goal of life is happiness.'] ``` Classification example: ```python: from transformers import AutoModelForSequenceClassification, AutoTokenizer model = AutoModelForSequenceClassification.from_pretrained("ccdv/lsg-base-4096", trust_remote_code=True, pool_with_global=True, # pool with a global token instead of first token ) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-base-4096") SENTENCE = "This is a test for sequence classification. " * 300 token_ids = tokenizer( SENTENCE, return_tensors="pt", #pad_to_multiple_of=... # Optional truncation=True ) output = model(**token_ids) > SequenceClassifierOutput(loss=None, logits=tensor([[-0.3051, -0.1762]], grad_fn=<AddmmBackward>), hidden_states=None, attentions=None) ``` ## Training global tokens To train global tokens and the classification head only: ```python: from transformers import AutoModelForSequenceClassification, AutoTokenizer model = AutoModelForSequenceClassification.from_pretrained("ccdv/lsg-base-4096", trust_remote_code=True, pool_with_global=True, # pool with a global token instead of first token num_global_tokens=16 ) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-base-4096") for name, param in model.named_parameters(): if "global_embeddings" not in name: param.requires_grad = False else: param.required_grad = True ```
[ -0.006076134275645018, -0.01892686076462269, 0.002398548647761345, 0.021563515067100525, 0.033750470727682114, 0.030730653554201126, -0.014236685819923878, -0.024247650057077408, -0.03408313915133476, 0.06678283214569092, 0.03952959179878235, -0.011878770776093006, -0.004369262605905533, 0.038965411484241486, -0.021152008324861526, -0.03993967920541763, -0.023351911455392838, -0.016847802326083183, -0.018938196823000908, -0.013216080144047737, 0.004748592618852854, -0.0017613121308386326, -0.002756888046860695, 0.027697818353772163, 0.022664226591587067, 0.024482164531946182, -0.01302500069141388, 0.021121269091963768, 0.004416967276483774, -0.09428225457668304, 0.007892180234193802, -0.020336676388978958, -0.04462558403611183, -0.00853754859417677, -0.029165741056203842, -0.03178434073925018, 0.017322557047009468, -0.003010517219081521, 0.011799576692283154, 0.05280730128288269, -0.010707112029194832, 0.021446922793984413, 0.011321786791086197, -0.04835550859570503, 0.022501716390252113, -0.018512824550271034, -0.06282838433980942, -0.012389625422656536, 0.03193813934922218, -0.021353483200073242, -0.05295294150710106, -0.06811191141605377, -0.03496919572353363, 0.025783700868487358, -0.02067672833800316, -0.017614470794796944, -0.06710776686668396, -0.019671348854899406, 0.07681971788406372, -0.0331043004989624, -0.027466392144560814, 0.007593920454382896, -0.03965520113706589, 0.018964575603604317, 0.008091052062809467, -0.018959704786539078, 0.0031726029701530933, -0.04852677136659622, 0.02495119348168373, -0.03382942080497742, 0.06992806494235992, -0.046307384967803955, 0.0074094864539802074, -0.08800383657217026, 0.008075856603682041, -0.009691659361124039, 0.031252421438694, 0.048748865723609924, -0.023343529552221298, 0.04420679062604904, 0.02444625273346901, -0.0078748082742095, 0.04365919902920723, 0.00829731673002243, -0.014027590863406658, 0.03280124440789223, -0.0451614186167717, 0.009637714363634586, -0.0013157411012798548, 0.0792454332113266, -0.037993818521499634, -0.026886815205216408, -0.031293757259845734, -0.01872384175658226, -0.04643910005688667, 0.030541149899363518, 0.0383661612868309, -0.017951149493455887, 0.0070305983535945415, 0.010115102864801884, 0.041342973709106445, 0.05505809187889099, -0.011467818170785904, 0.05216338485479355, 0.006402234546840191, -0.02100631408393383, 0.00198895251378417, -0.04646467790007591, -0.04664827510714531, 0.05447009205818176, 0.028809888288378716, -0.018351132050156593, -0.042246703058481216, 0.024777092039585114, 0.020897215232253075, -0.022983716800808907, 0.03434458747506142, -0.0054236301220953465, -0.05706171691417694, -0.047881804406642914, 0.05079703778028488, 0.008698537014424801, -0.02341754175722599, 0.0009152779239229858, -0.03354466333985329, 0.013402525335550308, -0.0331934355199337, -0.030739279463887215, 0.0120755136013031, 0.017001019790768623, -0.010633984580636024, 0.0482039712369442, 0.02640042081475258, -0.03491323068737984, 0.01431242935359478, 0.020375080406665802, -0.08818041533231735, 0.05901717022061348, 0.026246391236782074, 0.107094906270504, -0.06650292128324509, -0.044319264590740204, 0.022279782220721245, 0.023665057495236397, -0.013360509648919106, -0.008254732005298138, -0.0026228264905512333, -0.053914833813905716, -0.014855346642434597, -0.020848292857408524, 0.06590931862592697, -0.0531245656311512, -0.007230954244732857, 0.040787726640701294, -0.0030622645281255245, 0.036275774240493774, -0.058068688958883286, -0.00027776474598795176, 0.0201365128159523, 0.016513502225279808, -0.03142217546701431, 0.036119215190410614, -0.013675269670784473, -0.01437609363347292, -0.03223206475377083, -0.03167983889579773, 0.0011005648411810398, 0.09866927564144135, -0.0012177226599305868, -0.017122292891144753, -0.006642997730523348, 0.016582656651735306, 0.053083110600709915, 0.04482875391840935, -0.022343847900629044, 0.02927522361278534, 0.0528116412460804, 0.04282578453421593, -0.02134917676448822, 0.026094742119312286, 0.021725986152887344, -0.03836130350828171, -0.019947588443756104, 0.007901711389422417, -0.017899496480822563, -0.0373704731464386, 0.01339696068316698, 0.01694413647055626, -0.01048955786973238, -0.033315978944301605, -0.02000517211854458, 0.06571516394615173, 0.016530264168977737, -0.00297189480625093, -0.004696052521467209, -0.014246257022023201, -0.019680101424455643, 0.04805316403508186, -0.020226623862981796, 0.00375757715664804, -0.01909206621348858, -0.04406054690480232, 0.013952652923762798, 0.024570075795054436, 0.04632476717233658, 0.03345455229282379, -0.018126117065548897, 0.07840584963560104, -0.044224128127098083, 0.022541193291544914, -0.05459965392947197, -0.04298536106944084, 0.003312561195343733, 0.024356387555599213, 0.041697170585393906, 0.03067762218415737, 0.0039391834288835526, -0.03566013649106026, 0.01834919862449169, 0.055654991418123245, 0.021848579868674278, 0.04416072741150856, -0.02926616184413433, -0.010835114866495132, 0.008199077099561691, 0.0785674974322319, -0.04413909465074539, -0.04422188922762871, 0.026087382808327675, 0.03091941587626934, -0.02699510008096695, 0.014071129262447357, -0.026142345741391182, 0.018903199583292007, -0.04775647446513176, -0.07108531147241592, 0.05500511825084686, 0.04439520090818405, -0.00013110495638102293, 0.030375385656952858, 0.0034815389662981033, 0.002162508200854063, 0.020360445603728294, -0.016987206414341927, -0.0002804116520565003, -0.047651421278715134, 0.008151650428771973, 0.026064129546284676, 0.02641058899462223, -0.04610096663236618, 0.04347345232963562, 0.015176455490291119, 0.0041617220267653465, 0.019489867612719536, -0.019863611087203026, 0.019812343642115593, 0.054336272180080414, 0.030293317511677742, -0.03296840190887451, 0.011720490641891956, -0.02002611942589283, 0.027296394109725952, 0.07741251587867737, 0.0058785369619727135, 0.07957856357097626, -0.008278083056211472, 0.044064052402973175, 0.0695556029677391, 0.0053023905493319035, -0.001997726270928979, 0.05179543420672417, 0.0781640112400055, -0.0027303791139274836, -0.019146863371133804, 0.0632844939827919, -0.02287234179675579, 0.017932554706931114, -0.040121350437402725, 0.004075104836374521, -0.01860036887228489, -0.029931969940662384, 0.03958500549197197, 0.02596588432788849, -0.01953788660466671, 0.001483602449297905, -0.013325645588338375, -0.007713288068771362, 0.028508467599749565, 0.0028305319137871265, -0.0012365636648610234, -0.01879257708787918, -0.013173727318644524, 0.0031368567142635584, -0.06494616717100143, -0.06633388996124268, -0.01289029885083437, -0.03617257624864578, -0.010921742767095566, -0.10820990055799484, -0.02470920979976654, -0.08330812305212021, -0.02680104412138462, 0.0427110493183136, 0.019142698496580124, -0.02548840455710888, -0.028406428173184395, 0.010954399593174458, -0.04239572957158089, -0.017043616622686386, -0.05528334528207779, -0.0452364943921566, -0.04382415488362312, -0.06529226154088974, 0.026877492666244507, 0.023138364776968956, 0.01529903057962656, 0.015380396507680416, -0.025033600628376007, -0.04767007753252983, -0.028730902820825577, 0.060855843126773834, 0.03552547097206116, -0.007969174534082413, -0.04025542363524437, 0.03325267136096954, -0.038587845861911774, 0.034683819860219955, -0.013772361911833286, -0.025739388540387154, 0.07896298915147781, 0.07129048556089401, 0.0033401718828827143, 0.014300511218607426, -0.017760463058948517, -0.0559263601899147, -0.05677657946944237, -0.024882256984710693, -0.03993569314479828, -0.011200218461453915, -0.045363761484622955, -0.04626697301864624, 0.0013637380907312036, -0.02878813073039055, 0.006368190981447697, -0.02764647640287876, 0.022167349234223366, 0.040856651961803436, 0.03559335693717003, 0.04440750926733017, 0.021481286734342575, -0.04675913229584694, -0.03818792849779129, 0.08246051520109177, -0.00006071850657463074, -0.013563867658376694, -0.0881488174200058, -0.029752563685178757, 0.05293711647391319, 0.03491653874516487, -0.016390161588788033, 0.017392316833138466, 0.07024554163217545, 0.016210272908210754, -0.0015507014468312263, -0.0033220720943063498, -0.011415362358093262, -0.011314201168715954, -0.012513513676822186, 0.013086779974400997, -0.03151252493262291, -0.04994986578822136, -0.03397826477885246, -0.014161317609250546, 0.0515100471675396, -0.048889268189668655, -0.04432087764143944, -0.006136670242995024, 0.03667157515883446, 0.014686216600239277, -0.005874856375157833, -0.04406053572893143, 0.0002331045106984675, -0.022806046530604362, -0.020467005670070648, 0.018652142956852913, 0.010052784346044064, 0.00006958098674658686, 0.054222434759140015, 0.040661513805389404, -0.007338877767324448, 0.0557858906686306, 0.05229751393198967, 0.058622997254133224, 0.00897085852921009, -0.06217517331242561, 0.010181405581533909, -0.02637365274131298, 0.012424402870237827, 0.013055668212473392, -0.014126360416412354, -0.040606457740068436, -0.08188308775424957, -0.0063905054703354836, 0.012627748772501945, -0.015497617423534393, 0.002979766111820936, 0.038893502205610275, -0.0040384624153375626, -0.028914252296090126, -0.0006197537295520306, 0.018786516040563583, 0.04403950646519661, -0.05500699579715729, 0.04930244758725166, 0.030836153775453568, 0.02137102745473385, -0.03381677344441414, 0.001864532008767128, -0.03441205620765686, -0.005375538021326065, 0.01256097387522459, 0.047404106706380844, 0.04196674004197121, 0.06435971707105637, 0.05892225727438927, 0.03235998377203941, -0.03992312029004097, 0.0432044081389904, 0.03585418686270714, -0.017310352995991707, -0.04505765438079834, 0.03170169144868851, -0.006049442104995251, -0.02177308313548565, -0.014774251729249954, -0.030010759830474854, 0.03687852621078491, 0.03625684604048729, 0.012762014754116535, 0.002700245240703225, 0.008173085749149323, -0.0048824273981153965, -0.032347872853279114, -0.0488627664744854, -0.015657614916563034, -0.009654597379267216, -0.03360290080308914, 0.017729757353663445, 0.0302269384264946, 0.013056796975433826, 0.04875383898615837, 0.05953354015946388, -0.032141976058483124, -0.039998311549425125, 0.07034090906381607, 0.03308732062578201, -0.048549834638834, -0.04567483067512512, -0.01391866896301508, 0.032924335449934006, 0.03747282922267914, -0.022326793521642685, -0.1053398996591568, -0.004217592068016529, 0.05430535599589348, -0.03739117085933685, 0.05712248012423515, -0.014872209168970585, 0.044560447335243225, 0.05542514845728874, -0.004391055554151535, 0.045697350054979324, -0.02950926683843136, 0.02154431864619255, 0.011853672564029694, 0.05030039697885513, -0.015371507033705711, -0.0278343316167593, -0.04383233189582825, 0.03892464190721512, 0.04097757115960121, 0.03508777171373367, 0.028304381296038628, -0.024627139791846275, -0.05481604114174843, 0.003841689322143793, 0.04570759832859039, -0.0437045693397522, 0.017858417704701424, 0.0075012072920799255, 0.02604839578270912, -0.061047960072755814, -0.03485560417175293, -0.031011011451482773, 0.005345635581761599, 0.04950428754091263, -0.015217606909573078, -0.03564898297190666, -0.04553638771176338, 0.03110160119831562, -0.024369677528738976, -0.009195402264595032, -0.07411985844373703, 0.03926429525017738, 0.011805548332631588, 0.004139729775488377, 0.06194424256682396, 0.0267450213432312, 0.051869798451662064, 0.05345159396529198, -0.0067114573903381824, 0.005769023671746254, -0.06140527129173279, 0.053718503564596176, -0.05050608888268471, -0.01066751778125763, -0.001622512354515493, -0.04414679482579231, -0.0026701786555349827, -0.026459382846951485, -0.053514912724494934, -0.034474581480026245, -0.018983282148838043, 0.01549341157078743, 0.0008073583012446761, 0.0013630806934088469, -0.0004523714887909591, 0.05333258584141731, -0.03971157968044281, -0.02411087229847908, -0.012532304041087627, -0.02600114233791828, -0.06484878063201904, -0.04493455961346626, 0.012885062023997307, 0.0157687496393919, 0.03381295129656792, 0.01334619801491499, 0.01002039760351181, 0.011308494955301285, 0.014065181836485863, 0.005205561872571707, 0.03053775429725647, 0.00023622135631740093, -0.04719718545675278, -0.01320385280996561, 0.0234276931732893, 0.009471187368035316, 0.03724976256489754, -0.028508717194199562, 0.01725693792104721, 0.03232128545641899, -0.0373179093003273, -0.001060844981111586, 0.007257283665239811, 0.02230929583311081, -0.08420784771442413, -0.033882204443216324, -0.003959379158914089, -0.044666387140750885, 0.027122624218463898, -0.007240496575832367, -0.03673405572772026, 0.010992455296218395, 0.021795766428112984, 0.026820221915841103, -0.01549198105931282, -0.03614513948559761, 0.01171626802533865, -0.04103900119662285, 0.03201773017644882, -0.0693495124578476, 0.03833302855491638, -0.05139368772506714, 0.020772140473127365, -0.011436090804636478, -0.031860921531915665, -0.03046582266688347, 0.040714457631111145, 0.003049410879611969, -0.007106887176632881, -0.006275063846260309, 0.02511199191212654, -0.041911084204912186, 0.031280312687158585, -0.009397687390446663, 0.015523921698331833, -0.035475291311740875, 0.05046621710062027, -0.052141159772872925, 0.018861673772335052, -0.014605843462049961, -0.0051756747998297215, -0.019858429208397865, -0.027326535433530807, -0.0088862469419837, -0.02826250158250332, 0.02805756777524948, 0.04744461551308632, 0.031960830092430115, 0.021024003624916077, -0.011774355545639992, 0.01082310825586319, 0.010324356146156788, -0.07243720442056656, -0.05063769221305847, -0.009271196089684963, -0.003078666515648365, -0.029366150498390198, 0.06194968521595001, 0.05221528932452202, -0.04906919598579407, -0.025020794942975044, 0.039586033672094345, 0.0028454624116420746, -0.00047422200441360474, 0.0037736145313829184, 0.024986371397972107, 0.0444679781794548, 0.0514538511633873, -0.05628574267029762, -0.0035627270117402077, -0.010990282520651817, -0.02536717988550663, 0.0326298289000988, -0.011520588770508766, 0.032586872577667236, 0.009743070229887962, -0.053678952157497406, -0.035511936992406845, 0.07377377897500992, 0.017700621858239174, 0.014345343224704266, -0.013558411970734596, -0.041841406375169754, 0.027084151282906532, -0.009048424661159515, -0.06291227787733078, -0.00801137462258339, 0.01570647396147251, -0.04131602868437767, 0.0700390487909317, -0.007372213061898947, 0.019456647336483, 0.04162798449397087, 0.05045001208782196, -0.02498714253306389, 0.05254211649298668, -0.031578660011291504, 0.026007167994976044, 0.05930294841527939, -0.04145420715212822, -0.0024567334912717342, -0.028449872508645058, 0.07133030146360397, -0.050782933831214905, 0.05396236106753349, 0.0379144586622715, 0.02447456121444702, 0.012262369506061077, -0.00018095878476742655, -0.029396776109933853, -0.0015653209993615746, -0.038926444947719574, 0.08292395621538162, 0.00284409336745739, -0.06332716345787048, 0.08548463135957718, 0.001542892656289041, -0.078433096408844, 0.04067317396402359, 0.048318229615688324, 0.03171904757618904, 0.04608334228396416, 0.03347824886441231, -0.04995816946029663, 0.015982726588845253, -0.06521584093570709, 0.01531581487506628, -0.04127439111471176, 0.005089993588626385, 0.03610726073384285, -0.040899284183979034, -0.007759308908134699, 0.03192196413874626, -0.016030417755246162, -0.010767241939902306, 0.02283225767314434, -0.08106192201375961, -0.04046286270022392, -0.014816313050687313, 0.015792055055499077, -0.017607035115361214, 0.0175753366202116, -0.02472771890461445, 0.03993726894259453, 0.0021341494284570217, 0.008860189467668533, -0.04495485872030258, -0.0018031311919912696, 0.02243483066558838, -0.08771773427724838, -0.027975669130682945, 0.01774381659924984, 0.010196843184530735, -0.027107493951916695, 0.0373898409307003, -0.00703529454767704, 0.03574048727750778, 0.023935792967677116, 0.00405763229355216, 0.015006867237389088, -0.04772556945681572, 0.0011654800036922097, 0.02610846608877182, 0.009852929972112179, 0.031651075929403305, -0.00954617839306593, 0.035591788589954376, 0.016895564272999763, 0.013651721179485321, -0.0001520630466984585, -0.05971071496605873, -0.0029912125319242477, 0.029762113466858864, -0.032993465662002563, 0.0020026324782520533, -0.0029174135997891426, -0.05935070291161537, -0.04353747144341469, -0.03115501068532467, -0.0463004894554615, 0.042727030813694, -0.059403397142887115, 0.022820262238383293, 0.023208091035485268, -0.005435708910226822, -0.05989681929349899, -0.09670551866292953, -0.035657890141010284, -0.02007344365119934, 0.022300051525235176, 0.02772694267332554, -0.029669610783457756, 0.012873868457973003, -0.03695056587457657, -0.06526567041873932, 0.05047675594687462, 0.02528623677790165, -0.023339342325925827, 0.05406340956687927, 0.04064664617180824, -0.029522662982344627, 0.03703556954860687, 0.027322981506586075, -0.041190456598997116, 0.02644260600209236, 0.02566956914961338, 0.022251492366194725, 0.014770479872822762, 0.047209810465574265, -0.022841280326247215, -0.009407583624124527, -0.04579289257526398, -0.0322302021086216, -0.036660391837358475, -0.013875555247068405, 0.05710833519697189 ]
AdapterHub/roberta-base-pf-hotpotqa
[ "roberta", "en", "dataset:hotpot_qa", "arxiv:2104.08247", "adapter-transformers", "question-answering" ]
question-answering
{ "architectures": null, "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 } } }
35
null
--- tags: - summarization - pegasus - long context language: - en pipeline_tag: fill-mask --- # LSG model **Transformers >= 4.23.1**\ **This model relies on a custom modeling file, you need to add trust_remote_code=True**\ **See [\#13467](https://github.com/huggingface/transformers/pull/13467)** LSG ArXiv [paper](https://arxiv.org/abs/2210.15497). \ Github/conversion script is available at this [link](https://github.com/ccdv-ai/convert_checkpoint_to_lsg). * [Usage](#usage) * [Parameters](#parameters) * [Sparse selection type](#sparse-selection-type) * [Tasks](#tasks) This model is adapted from [Pegasus-large](https://huggingface.co/google/pegasus-large) for encoder-decoder tasks without additional pretraining. It uses the same number of parameters/layers and the same tokenizer. This model can handle long sequences but faster and more efficiently than Longformer (LED) or BigBird (Pegasus) from the hub and relies on Local + Sparse + Global attention (LSG). The model requires sequences whose length is a multiple of the block size. The model is "adaptive" and automatically pads the sequences if needed (adaptive=True in config). It is however recommended, thanks to the tokenizer, to truncate the inputs (truncation=True) and optionally to pad with a multiple of the block size (pad_to_multiple_of=...). \ Implemented in PyTorch. ![attn](attn.png) ## Usage The model relies on a custom modeling file, you need to add trust_remote_code=True to use it. ```python: from transformers import AutoModel, AutoTokenizer model = AutoModel.from_pretrained("ccdv/lsg-pegasus-large-4096", trust_remote_code=True) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-pegasus-large-4096") ``` ## Parameters You can change various parameters like : * the number of global tokens (num_global_tokens=1) * local block size (block_size=128) * sparse block size (sparse_block_size=128) * sparsity factor (sparsity_factor=2) * see config.json file Default parameters work well in practice. If you are short on memory, reduce block sizes, increase sparsity factor and remove dropout in the attention score matrix. ```python: from transformers import AutoModel model = AutoModel.from_pretrained("ccdv/lsg-pegasus-large-4096", trust_remote_code=True, num_global_tokens=16, block_size=64, sparse_block_size=64, attention_probs_dropout_prob=0.0 sparsity_factor=4, sparsity_type="none", mask_first_token=True ) ``` ## Sparse selection type There are 5 different sparse selection patterns. The best type is task dependent. \ Note that for sequences with length < 2*block_size, the type has no effect. * sparsity_type="norm", select highest norm tokens * Works best for a small sparsity_factor (2 to 4) * Additional parameters: * None * sparsity_type="pooling", use average pooling to merge tokens * Works best for a small sparsity_factor (2 to 4) * Additional parameters: * None * sparsity_type="lsh", use the LSH algorithm to cluster similar tokens * Works best for a large sparsity_factor (4+) * LSH relies on random projections, thus inference may differ slightly with different seeds * Additional parameters: * lsg_num_pre_rounds=1, pre merge tokens n times before computing centroids * sparsity_type="stride", use a striding mecanism per head * Each head will use different tokens strided by sparsify_factor * Not recommended if sparsify_factor > num_heads * sparsity_type="block_stride", use a striding mecanism per head * Each head will use block of tokens strided by sparsify_factor * Not recommended if sparsify_factor > num_heads ## Tasks Seq2Seq example for summarization: ```python: from transformers import AutoModelForSeq2SeqLM, AutoTokenizer model = AutoModelForSeq2SeqLM.from_pretrained("ccdv/lsg-pegasus-large-4096", trust_remote_code=True, pass_global_tokens_to_decoder=True, # Pass encoder global tokens to decoder ) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-pegasus-large-4096") SENTENCE = "This is a test sequence to test the model. " * 300 token_ids = tokenizer( SENTENCE, return_tensors="pt", #pad_to_multiple_of=... # Optional truncation=True ) output = model(**token_ids) ``` Classification example: ```python: from transformers import AutoModelForSequenceClassification, AutoTokenizer model = AutoModelForSequenceClassification.from_pretrained("ccdv/lsg-pegasus-large-4096", trust_remote_code=True, pass_global_tokens_to_decoder=True, # Pass encoder global tokens to decoder ) tokenizer = AutoTokenizer.from_pretrained("ccdv/lsg-pegasus-large-4096") SENTENCE = "This is a test sequence to test the model. " * 300 token_ids = tokenizer( SENTENCE, return_tensors="pt", padding="max_length", # Optional but recommended truncation=True # Optional but recommended ) output = model(**token_ids) > SequenceClassifierOutput(loss=None, logits=tensor([[-0.3051, -0.1762]], grad_fn=<AddmmBackward>), hidden_states=None, attentions=None) ``` **Pegasus** ``` @misc{zhang2019pegasus, title={PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization}, author={Jingqing Zhang and Yao Zhao and Mohammad Saleh and Peter J. Liu}, year={2019}, eprint={1912.08777}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```
[ -0.015920402482151985, -0.017430895939469337, 0.0035150412004441023, 0.012270186096429825, 0.041957031935453415, 0.008580786176025867, -0.013084083795547485, -0.01695259101688862, -0.02302081137895584, 0.07429565489292145, 0.030434684827923775, 0.004103350453078747, -0.0106596564874053, 0.05349975824356079, -0.007011192850768566, -0.038068223744630814, -0.03354959562420845, -0.009449253790080547, -0.03567508980631828, -0.00949197355657816, 0.004266538191586733, -0.007772461976855993, -0.013453026302158833, 0.03965212032198906, 0.019653402268886566, 0.028125982731580734, -0.015112600289285183, 0.01376910787075758, 0.012786255218088627, -0.08613581210374832, 0.002736646682024002, -0.019882485270500183, -0.05163012817502022, -0.01684129610657692, -0.023797398433089256, -0.02710914798080921, 0.015126542188227177, -0.00343454466201365, -0.0016033268766477704, 0.058191556483507156, -0.006912737153470516, 0.016005240380764008, 0.007679909002035856, -0.041005101054906845, 0.016942745074629784, -0.00974119734019041, -0.05466892942786217, -0.041438646614551544, 0.0139335747808218, -0.016578370705246925, -0.04748424142599106, -0.06618089973926544, -0.026527049019932747, 0.02107144519686699, -0.02180626057088375, -0.019563833251595497, -0.07447600364685059, -0.024787992238998413, 0.07143944501876831, -0.02798529714345932, -0.024042224511504173, 0.020303238183259964, -0.03793182224035263, 0.031343065202236176, -0.0055718934163451195, -0.02326628379523754, 0.0017971702618524432, -0.0542677603662014, 0.01801716908812523, -0.02611447125673294, 0.06803922355175018, -0.044958535581827164, 0.02201741561293602, -0.08420079201459885, 0.024416951462626457, -0.0010128491558134556, 0.028254421427845955, 0.017875032499432564, -0.010473052971065044, 0.060513533651828766, 0.04756776615977287, -0.021040424704551697, 0.03331807628273964, 0.016773885115981102, -0.003449088893830776, 0.03669944778084755, -0.04258102923631668, 0.020297683775424957, -0.0005935254157520831, 0.06299028545618057, -0.04143583029508591, -0.0444616824388504, -0.03418688103556633, -0.021026255562901497, -0.03951027989387512, 0.016571661457419395, 0.02257440984249115, -0.004978050943464041, 0.01810772530734539, 0.010315093211829662, 0.029910124838352203, 0.045312266796827316, -0.016709929332137108, 0.05523781478404999, 0.019510352984070778, -0.034897495061159134, -0.003388061420992017, -0.05386516451835632, -0.04640299826860428, 0.04757630452513695, 0.0313287228345871, -0.015096338465809822, -0.05108864977955818, 0.028082184493541718, 0.014471773989498615, -0.011867727153003216, 0.04510250687599182, -0.006260160356760025, -0.05619574338197708, -0.03299286589026451, 0.047065507620573044, -0.0018822751007974148, -0.017971614375710487, 0.006343947723507881, -0.04197366535663605, 0.006101187318563461, -0.03491778299212456, -0.02501881681382656, -0.0037497426383197308, 0.015017949976027012, 0.006470067426562309, 0.025269389152526855, 0.005955184809863567, -0.026635145768523216, 0.009361177682876587, 0.021255487576127052, -0.08451449871063232, 0.033643029630184174, 0.03967536613345146, 0.10437056422233582, -0.06881771981716156, -0.048098113387823105, 0.012257490307092667, 0.012420618906617165, -0.028592459857463837, -0.0034672929905354977, -0.017093181610107422, -0.0731411874294281, -0.017688795924186707, -0.030107909813523293, 0.054165054112672806, -0.03771654888987541, -0.0015576255973428488, 0.03243446350097656, -0.004164181184023619, 0.02550520747900009, -0.05160710588097572, 0.005637184716761112, 0.02012285403907299, -0.00011163111048517749, -0.028129765763878822, 0.035173360258340836, -0.018285652622580528, -0.024511799216270447, -0.03269001469016075, -0.030639491975307465, 0.01368302945047617, 0.09013719111680984, 0.006520590279251337, -0.0015835718950256705, -0.005797610152512789, 0.01974455825984478, 0.04515571519732475, 0.057120028883218765, -0.026661409065127373, 0.03699345141649246, 0.05434921383857727, 0.02914898283779621, -0.013854111544787884, 0.0351182296872139, 0.018975837156176567, -0.03291477635502815, -0.018515901640057564, -0.01840972527861595, -0.009125933982431889, -0.021689537912607193, 0.011250900104641914, 0.022470058873295784, 0.010027824901044369, -0.03165796399116516, -0.01661101169884205, 0.07738316804170609, 0.01829013042151928, 0.0014238236472010612, -0.016531895846128464, -0.00990611594170332, -0.013933309353888035, 0.0394425131380558, -0.031034547835588455, 0.0028815236873924732, -0.011212443932890892, -0.04986586421728134, 0.0162659864872694, 0.02838936634361744, 0.04482750594615936, 0.03260226547718048, -0.016662264242768288, 0.09190068393945694, -0.05516776069998741, 0.028926514089107513, -0.04810815677046776, -0.03825914114713669, 0.004866939038038254, 0.020415525883436203, 0.040515974164009094, 0.028439687564969063, -0.0037154373712837696, -0.03518083319067955, 0.02503967471420765, 0.053032223135232925, -0.0022799628786742687, 0.043739527463912964, -0.02540883608162403, -0.017351286485791206, 0.021927906200289726, 0.07651429623365402, -0.060092899948358536, -0.04528239369392395, 0.024347415193915367, 0.03557189181447029, -0.028559472411870956, 0.029827622696757317, -0.011402794159948826, 0.01701384223997593, -0.026864323765039444, -0.06566828489303589, 0.042069677263498306, 0.0413719080388546, -0.015203246846795082, 0.036917414516210556, -0.00313368858769536, -0.0035269400104880333, 0.040551748126745224, -0.010048733092844486, 0.006199676543474197, -0.04917992651462555, 0.007984714582562447, 0.021248184144496918, 0.03886348009109497, -0.060165803879499435, 0.03839707374572754, 0.02588845230638981, 0.01136566698551178, 0.02631843090057373, -0.02026490680873394, 0.022802120074629784, 0.06457528471946716, 0.03207910433411598, -0.010824514552950859, 0.04102003574371338, -0.006005410570651293, 0.030400779098272324, 0.08214548230171204, 0.003876962000504136, 0.09572339802980423, -0.010230223648250103, 0.04842234402894974, 0.06939361989498138, -0.0018485923064872622, -0.0034976170863956213, 0.051048800349235535, 0.09230250865221024, 0.004522035829722881, -0.01493526715785265, 0.04306427389383316, -0.02806045487523079, 0.027164233848452568, -0.03597130626440048, -0.0073280357755720615, -0.029651671648025513, -0.03358513489365578, 0.05274297669529915, 0.018227409571409225, -0.0024102525785565376, -0.007846488617360592, 0.0019993153400719166, -0.0036501919385045767, 0.028391031548380852, 0.00014113314682617784, 0.009230637922883034, 0.0047050099819898605, -0.030043629929423332, 0.021794181317090988, -0.06231610104441643, -0.06212451308965683, -0.024994121864438057, -0.032010193914175034, -0.0013705163728445768, -0.09979157894849777, -0.03161054477095604, -0.07946708798408508, -0.006792958360165358, 0.04636384919285774, 0.01849672943353653, 0.011839589104056358, -0.041277214884757996, 0.024401376023888588, -0.043481890112161636, -0.020048560574650764, -0.04726427048444748, -0.04333017021417618, -0.030841082334518433, -0.0506008043885231, 0.0242970809340477, 0.02690991573035717, 0.01251166220754385, 0.01841772347688675, -0.023943599313497543, -0.05425231531262398, -0.01605473831295967, 0.05510302633047104, 0.02422860823571682, 0.0006636742618866265, -0.035471316426992416, 0.03463644161820412, -0.039809707552194595, 0.010595000348985195, -0.028130773454904556, -0.0317363403737545, 0.08816029131412506, 0.071766197681427, 0.02243318036198616, 0.006393488496541977, -0.03468771651387215, -0.03919154405593872, -0.023920150473713875, -0.023188766092061996, -0.05092286318540573, -0.0102912075817585, -0.03290586918592453, -0.03339757025241852, -0.0057885474525392056, -0.026891205459833145, -0.017015600576996803, -0.026346154510974884, 0.022749928757548332, 0.04070737585425377, 0.029574159532785416, 0.03366225212812424, 0.024234551936388016, -0.04906707629561424, -0.025951137766242027, 0.09167789667844772, 0.006140872370451689, -0.001870801206678152, -0.08107011020183563, -0.03463152423501015, 0.04741987586021423, 0.011301016435027122, -0.0073984828777611256, 0.0011925946455448866, 0.06927626579999924, 0.02014780230820179, 0.0006469713989645243, 0.007705994416028261, -0.005098485853523016, -0.00798826850950718, -0.02698468416929245, 0.01453106477856636, -0.027453752234578133, -0.0487457774579525, -0.02308609150350094, -0.01737002097070217, 0.03650232031941414, -0.04240455850958824, -0.0552496574819088, -0.02629041112959385, 0.053533777594566345, 0.022267522290349007, 0.000300415646051988, -0.03357292711734772, 0.01094250287860632, -0.021859485656023026, -0.02076445333659649, 0.016022250056266785, 0.009876789525151253, 0.0013624753337353468, 0.05422017350792885, 0.051999133080244064, -0.01909678615629673, 0.0720793679356575, 0.04984303563833237, 0.07407794892787933, 0.023867808282375336, -0.042304784059524536, 0.004426721949130297, -0.02435825578868389, 0.022100316360592842, 0.0033243531361222267, -0.015351776033639908, -0.037591759115457535, -0.09929490089416504, -0.0032421143259853125, 0.011617232114076614, -0.02225308306515217, 0.0061206514947116375, 0.040820930153131485, -0.03408145159482956, -0.023629790171980858, -0.0034639097284525633, 0.009814677760004997, 0.050893425941467285, -0.04956509917974472, 0.05713806673884392, 0.03229377791285515, 0.006119542755186558, -0.011064194142818451, 0.01655571162700653, -0.03561732918024063, 0.009615366347134113, 0.012857981957495213, 0.03714499622583389, 0.041532475501298904, 0.06566667556762695, 0.05702470242977142, 0.0352412685751915, -0.02843324840068817, 0.04536869376897812, 0.045703478157520294, -0.021042238920927048, -0.055345457047224045, 0.03259085491299629, 0.010741006582975388, -0.019409308210015297, -0.01749875582754612, -0.025179067626595497, 0.024562077596783638, 0.040734607726335526, 0.011470013298094273, 0.009758406318724155, 0.02858881652355194, -0.0055062249302864075, -0.02936139889061451, -0.03636883199214935, -0.01580008864402771, -0.004836847074329853, -0.02306191995739937, 0.02815130352973938, 0.042848680168390274, 0.011227942071855068, 0.06244887039065361, 0.058235909789800644, -0.013736916705965996, -0.05403431877493858, 0.07223797589540482, 0.03652331605553627, -0.04551798850297928, -0.05127289518713951, -0.01876390539109707, 0.03507152199745178, 0.05710369348526001, 0.0024527243804186583, -0.09464003145694733, -0.009255989454686642, 0.06632236391305923, -0.03945396468043327, 0.058025144040584564, -0.016680747270584106, 0.034234996885061264, 0.05941144749522209, 0.0034962035715579987, 0.0275238286703825, -0.04811336100101471, 0.02425857074558735, 0.005654835142195225, 0.04343818500638008, -0.015603313222527504, -0.01618826575577259, -0.04434636980295181, 0.03868044912815094, 0.040354836732149124, 0.03454429656267166, 0.04221494123339653, -0.02636152319610119, -0.06460209935903549, 0.0018489464418962598, 0.061921365559101105, -0.05866672843694687, 0.011193358339369297, -0.004881435539573431, 0.03188207000494003, -0.0647076666355133, -0.03330051153898239, -0.03691774979233742, 0.0093785235658288, 0.054901301860809326, -0.010695306584239006, -0.02191564254462719, -0.054609790444374084, 0.03276790305972099, -0.027074001729488373, -0.02761945314705372, -0.08104866743087769, 0.037379346787929535, 0.00178720080293715, 0.0011549231130629778, 0.055895593017339706, 0.0541926845908165, 0.051150742918252945, 0.05860022455453873, -0.024696486070752144, 0.013689985498785973, -0.05577709525823593, 0.047188837081193924, -0.055227939039468765, -0.021710308268666267, 0.008116109296679497, -0.05534617230296135, -0.008432237431406975, -0.025067148730158806, -0.04196174815297127, -0.026155751198530197, -0.018884247168898582, -0.003725753864273429, -0.010038120672106743, 0.0025550962891429663, 0.0002390411391388625, 0.03475836291909218, -0.03278934583067894, -0.007784492336213589, -0.006323083769530058, -0.04056113585829735, -0.07078695297241211, -0.05487238988280296, 0.007124382071197033, 0.01908990927040577, 0.03152652457356453, 0.0011630328372120857, 0.022494852542877197, 0.01345811691135168, 0.02603122591972351, 0.0015598254976794124, 0.03360331803560257, 0.009057242423295975, -0.060556810349226, -0.010030712001025677, 0.02527252584695816, 0.007649004925042391, 0.04168077930808067, -0.032774731516838074, 0.021406421437859535, 0.019059453159570694, -0.032975904643535614, 0.015745285898447037, 0.01962985284626484, 0.0184954721480608, -0.089688241481781, -0.023549910634756088, -0.006201466079801321, -0.028746291995048523, 0.005480972584336996, -0.006470754276961088, -0.032332174479961395, -0.0028617591597139835, 0.03071252815425396, 0.022641772404313087, -0.013453071005642414, -0.02687413990497589, 0.004304985515773296, -0.03748374432325363, 0.03357907012104988, -0.05939336493611336, 0.036546431481838226, -0.028793243691325188, 0.01696457713842392, -0.0058130077086389065, -0.027170399203896523, -0.016993608325719833, 0.03511710837483406, -0.0020140751730650663, -0.013274161145091057, -0.0022453165147453547, 0.027956366539001465, -0.031526923179626465, 0.025590447708964348, 0.008888555690646172, 0.016086600720882416, -0.04879136383533478, 0.04454873129725456, -0.05700699985027313, 0.025996055454015732, 0.0029653264209628105, -0.009753625839948654, -0.009074614383280277, -0.048007018864154816, -0.008743347600102425, -0.04230155423283577, 0.03415979817509651, 0.05553985759615898, 0.022995034232735634, 0.004176023881882429, -0.025559645146131516, -0.005708612501621246, 0.004419180564582348, -0.06284716725349426, -0.05106140300631523, -0.02510301023721695, 0.0023414588067680597, -0.027685469016432762, 0.05822509527206421, 0.052301738411188126, -0.05054720491170883, -0.02944331429898739, 0.05112796276807785, -0.004575634840875864, 0.00210433267056942, 0.005654918495565653, 0.024893660098314285, 0.050065238028764725, 0.03759973868727684, -0.05283603444695473, -0.0004097401106264442, -0.010370757430791855, -0.026698892936110497, 0.017465142533183098, -0.011623220518231392, 0.040962155908346176, 0.0020882566459476948, -0.04238199070096016, -0.026399964466691017, 0.08326700329780579, 0.026267409324645996, 0.009951491840183735, -0.007030058186501265, -0.04147263988852501, 0.01881447806954384, -0.01414924580603838, -0.05587633326649666, -0.01702100969851017, 0.025500724092125893, -0.03718148544430733, 0.07134739309549332, -0.015062908641994, 0.019872615113854408, 0.03338831663131714, 0.029394779354333878, -0.030086854472756386, 0.04902830719947815, -0.04488210752606392, 0.02705291472375393, 0.05427650362253189, -0.06069024279713631, -0.0037122878711670637, -0.01659681834280491, 0.07188598811626434, -0.04772813245654106, 0.06273648887872696, 0.038298413157463074, 0.02909019961953163, 0.022822652012109756, 0.00017887126887217164, -0.032912157475948334, 0.007384556345641613, -0.0456489734351635, 0.06729622930288315, 0.004143578466027975, -0.05831845477223396, 0.07160746306180954, -0.009135722182691097, -0.07580702006816864, 0.046116795390844345, 0.04109228774905205, 0.04673093557357788, 0.044022414833307266, 0.030204273760318756, -0.04752979427576065, 0.024327604100108147, -0.05842988193035126, 0.024614041671156883, -0.05805937945842743, 0.004680688958615065, 0.03495677188038826, -0.03804781660437584, -0.016106706112623215, 0.05124186724424362, 0.002117970259860158, -0.01724780537188053, 0.024251563474535942, -0.07757675647735596, -0.028495602309703827, 0.001436649588868022, 0.03680207207798958, -0.013236897066235542, 0.03360018506646156, -0.02655116096138954, 0.033422861248254776, 0.0004928327980451286, -0.0029391993302851915, -0.03547258675098419, 0.018019752576947212, 0.02597649395465851, -0.08134784549474716, -0.008441001176834106, 0.013621815480291843, 0.007381986826658249, -0.01813577301800251, 0.01564597897231579, -0.011071775108575821, 0.04849623888731003, 0.031633246690034866, -0.004872022662311792, 0.01704404689371586, -0.042448773980140686, 0.003959232475608587, 0.005809571593999863, 0.015323279425501823, 0.02365783415734768, -0.018989136442542076, 0.037868682295084, 0.024479113519191742, 0.02204141952097416, 0.01181019376963377, -0.038765836507081985, -0.0024149504024535418, 0.03993050009012222, -0.033773601055145264, 0.009638255462050438, -0.010838190093636513, -0.04339085891842842, -0.04497237876057625, -0.012970555573701859, -0.031148036941885948, 0.031043779104948044, -0.0626460537314415, 0.04200023040175438, 0.02067970298230648, 0.012109994888305664, -0.05664941668510437, -0.0963602289557457, -0.01873590797185898, -0.023192284628748894, 0.039808016270399094, 0.0350736603140831, -0.02616172842681408, -0.0011583419982343912, -0.04363075643777847, -0.05912898853421211, 0.06340952217578888, 0.012375454418361187, -0.008364495821297169, 0.048985663801431656, 0.035682085901498795, -0.03377964347600937, 0.03535503149032593, 0.0245644673705101, -0.046494677662849426, 0.03386969119310379, 0.03540388494729996, 0.021532252430915833, 0.006202829536050558, 0.04985514283180237, -0.023985158652067184, -0.01964300312101841, -0.03763536736369133, -0.020229272544384003, -0.027264170348644257, -0.016373896971344948, 0.06345052272081375 ]
AdapterHub/roberta-base-pf-imdb
[ "roberta", "en", "dataset:imdb", "arxiv:2104.08247", "adapter-transformers", "text-classification", "adapterhub:sentiment/imdb" ]
text-classification
{ "architectures": null, "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 } } }
0
2021-05-25T21:35:58Z
--- language: ca datasets: - common_voice - parlament_parla metrics: - wer tags: - audio - automatic-speech-recognition - speech - speech-to-text license: apache-2.0 model-index: - name: Catalan VoxPopuli Wav2Vec2 Large results: - task: name: Speech Recognition type: automatic-speech-recognition datasets: - name: Common Voice ca type: common_voice args: ca - name: ParlamentParla url: https://www.openslr.org/59/ metrics: - name: Test WER type: wer value: 5.98 - name: Google Crowsourced Corpus WER type: wer value: 12.14 - name: Audiobook “La llegenda de Sant Jordi” WER type: wer value: 12.02 --- # Wav2Vec2-Large-100k-VoxPopuli-Català **⚠️NOTICE⚠️: THIS MODEL HAS BEEN MOVED TO THE FOLLOWING URL:** https://huggingface.co/softcatala/wav2vec2-large-100k-voxpopuli-catala Fine-tuned [facebook/wav2vec2-large-100k-voxpopuli](https://huggingface.co/facebook/wav2vec2-large-100k-voxpopuli) on Catalan language using the [Common Voice](https://huggingface.co/datasets/common_voice) and [ParlamentParla](https://www.openslr.org/59/) datasets. **Attention:** The split train/dev/test used does not fully map with the CommonVoice 6.1 dataset. A custom split was used combining both the CommonVoice and ParlamentParla dataset and can be found [here](https://github.com/ccoreilly/wav2vec2-catala). Evaluating on the CV test dataset will produce a biased WER as 1144 audio files of that dataset were used in training/evaluation of this model. WER was calculated using this [test.csv](https://github.com/ccoreilly/wav2vec2-catala/blob/master/test-filtered.csv) which was not seen by the model during training/evaluation. You can find training and evaluation scripts in the github repository [ccoreilly/wav2vec2-catala](https://github.com/ccoreilly/wav2vec2-catala) When using this model, make sure that your speech input is sampled at 16kHz. ## Results Word error rate was evaluated on the following datasets unseen by the model: | Dataset | WER | | ------- | --- | | [Test split CV+ParlamentParla]((https://github.com/ccoreilly/wav2vec2-catala/blob/master/test-filtered.csv)) | 5.98% | | [Google Crowsourced Corpus](https://www.openslr.org/69/) | 12.14% | | Audiobook “La llegenda de Sant Jordi” | 12.02% | ## 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", "ca", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("ccoreilly/wav2vec2-large-100k-voxpopuli-catala") model = Wav2Vec2ForCTC.from_pretrained("ccoreilly/wav2vec2-large-100k-voxpopuli-catala") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the audio 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]) ```
[ -0.02252441830933094, -0.0321662612259388, -0.00800546444952488, 0.045489516109228134, 0.04896094650030136, 0.012389794923365116, -0.010295635089278221, 0.007632271386682987, -0.02634049393236637, 0.049365732818841934, 0.03935196250677109, -0.02726629003882408, -0.009557290934026241, 0.02270415984094143, -0.03246629983186722, -0.03622058779001236, -0.021744459867477417, -0.017090827226638794, -0.06582575291395187, -0.02086492069065571, -0.002762171905487776, 0.005392346065491438, -0.027097955346107483, 0.03847126662731171, -0.011754835955798626, 0.019387265667319298, -0.011648006737232208, 0.009941098280251026, 0.013766659423708916, -0.06001763045787811, -0.004867323208600283, -0.04100003093481064, -0.04080378636717796, -0.020066911354660988, -0.00943826138973236, 0.012923166155815125, 0.005071362480521202, 0.02738754078745842, 0.013974673114717007, 0.03785882890224457, -0.0134388767182827, -0.001054213847965002, -0.015183121897280216, 0.0022961280774325132, 0.02597121335566044, 0.020255113020539284, -0.05484601482748985, -0.03070269338786602, 0.019795864820480347, -0.014530601911246777, -0.04404076561331749, -0.06318558752536774, -0.009900103323161602, 0.028466209769248962, -0.012210550718009472, -0.028613077476620674, -0.06085525080561638, 0.0019050093833357096, 0.08244594931602478, -0.04539287090301514, -0.004920655861496925, 0.02689867652952671, -0.08083933591842651, 0.004784048069268465, 0.020941274240612984, -0.06425745040178299, 0.011082245036959648, -0.02919667586684227, 0.03027816116809845, -0.012914802879095078, 0.06755499541759491, -0.046789318323135376, 0.013506283983588219, -0.08459287136793137, 0.013756472617387772, -0.01047925278544426, 0.01962239295244217, 0.04532988741993904, -0.03925325721502304, 0.049644459038972855, 0.021020447835326195, 0.02781156823039055, 0.024798724800348282, -0.0360170379281044, 0.014106819406151772, 0.06083689630031586, -0.03763468563556671, 0.017543235793709755, 0.02172093279659748, 0.006450294982641935, -0.014051100239157677, -0.0396365150809288, -0.01975412853062153, -0.058290112763643265, 0.01848193258047104, 0.0420602411031723, 0.05635087192058563, -0.025000588968396187, 0.02125590108335018, 0.0492146834731102, 0.011873630806803703, 0.015079548582434654, -0.034869492053985596, 0.04974023252725601, -0.032046809792518616, 0.004670742899179459, -0.005079449154436588, -0.030287381261587143, -0.044820379465818405, 0.013102734461426735, 0.03503642976284027, -0.03846322372555733, -0.03611990064382553, 0.014906279742717743, -0.014055302366614342, -0.016289956867694855, 0.05147001892328262, -0.0487150140106678, -0.04636551812291145, -0.07173997908830643, 0.038820866495370865, 0.018465634435415268, -0.008462256751954556, 0.027778394520282745, -0.049297358840703964, 0.034795090556144714, -0.024283617734909058, -0.03233245015144348, 0.022030329331755638, -0.005084202159196138, -0.008237862959504128, 0.02220119535923004, 0.020465001463890076, -0.06375852227210999, 0.02196716144680977, 0.012557939626276493, -0.0607328899204731, 0.00863552000373602, 0.020883098244667053, 0.08850225061178207, -0.04723827913403511, -0.030663205310702324, 0.01097695343196392, -0.0032821979839354753, 0.021488025784492493, 0.012527034617960453, 0.02056480012834072, -0.0026157789397984743, -0.031927987933158875, 0.004200079943984747, 0.03313537687063217, -0.07353977113962173, -0.006602107081562281, 0.07222111523151398, -0.040173742920160294, 0.05445422604680061, -0.03844189643859863, -0.008135206997394562, 0.026412762701511383, -0.003712737699970603, 0.0032767602242529392, 0.034004103392362595, 0.0026618537958711386, -0.032356251031160355, -0.02928551845252514, -0.0516749806702137, -0.025503436103463173, 0.08468775451183319, 0.012309784069657326, -0.010837764479219913, -0.0383836030960083, 0.015008817426860332, 0.043360721319913864, 0.02994587831199169, -0.029389481991529465, 0.029260316863656044, 0.05266394093632698, 0.05510057881474495, -0.00834360346198082, 0.08364904671907425, 0.004768496844917536, -0.025600695982575417, -0.050847653299570084, 0.019211942330002785, 0.028886692598462105, -0.040439166128635406, -0.007687102071940899, 0.05913221463561058, -0.0006069038063287735, -0.020197590813040733, -0.02940085157752037, 0.05455829203128815, -0.014853984117507935, -0.013890210539102554, 0.002416221657767892, -0.02749105542898178, -0.046098317950963974, 0.04979771748185158, -0.028132721781730652, -0.0029645615722984076, -0.02019069530069828, -0.03387971967458725, 0.008874155580997467, 0.02626938931643963, 0.007610417436808348, 0.04793478921055794, 0.004205363802611828, 0.09018062055110931, -0.028187695890665054, 0.0077398973517119884, -0.030888212844729424, -0.048182640224695206, -0.022052736952900887, 0.06726427376270294, 0.0005602343589998782, 0.05203297734260559, -0.017353670671582222, -0.04878244921565056, 0.04318695142865181, 0.05857488885521889, 0.08048497140407562, 0.031069787219166756, -0.05031943693757057, 0.002329857787117362, 0.0265232902020216, 0.042989637702703476, -0.06272589415311813, -0.036099690943956375, 0.005212270654737949, 0.037679415196180344, -0.02403438650071621, -0.008306085132062435, -0.025163423269987106, 0.03620420768857002, -0.040367595851421356, -0.0824635699391365, 0.06592351198196411, 0.004217552486807108, 0.006045580375939608, 0.016702471300959587, -0.04302738234400749, -0.00990278273820877, 0.018522243946790695, -0.009532760828733444, -0.01454849075525999, -0.0420144684612751, 0.004545230884104967, 0.007026852108538151, 0.0474088117480278, -0.0759190171957016, 0.04286748170852661, -0.02048306353390217, 0.004202221520245075, 0.05358917638659477, -0.035108063369989395, 0.039737433195114136, 0.027956053614616394, 0.005635953042656183, -0.03301701694726944, 0.013748393394052982, 0.00370037998072803, 0.05084355175495148, 0.06167798861861229, 0.030823267996311188, 0.062202803790569305, 0.0103650763630867, 0.04227026179432869, 0.07845619320869446, 0.038475051522254944, -0.012199614197015762, 0.021072685718536377, 0.05236450582742691, -0.015933433547616005, -0.019488034769892693, 0.06480278074741364, -0.04840117320418358, -0.0037221969105303288, -0.020520342513918877, -0.010851703584194183, 0.009623084217309952, -0.0055025056935846806, 0.0117152975872159, -0.014927716925740242, -0.01296515204012394, 0.004357905127108097, -0.03362732753157616, -0.01707180216908455, 0.0655859187245369, -0.02109731361269951, -0.014279315248131752, -0.0004979350487701595, -0.00688274297863245, 0.017748815938830376, -0.047748640179634094, -0.02958950400352478, -0.005201941356062889, -0.038362473249435425, 0.022661147639155388, -0.06138772889971733, -0.044674716889858246, -0.0727117508649826, -0.0035438023041933775, 0.026022525504231453, 0.025980474427342415, 0.0174761563539505, -0.023894567042589188, -0.021978165954351425, -0.05514558404684067, -0.04936258867383003, -0.053720247000455856, -0.04987272992730141, -0.034916143864393234, -0.06938733160495758, 0.02341519296169281, 0.027791239321231842, 0.041354019194841385, -0.001361256930977106, -0.006702770013362169, -0.03125924617052078, -0.011338864453136921, 0.052314624190330505, 0.05198052152991295, -0.024360546842217445, -0.05884319171309471, 0.028437089174985886, -0.021928444504737854, 0.0219193696975708, -0.009328656829893589, -0.06876642256975174, 0.06532666087150574, 0.06647876650094986, 0.04680813103914261, 0.029664762318134308, -0.02803804725408554, -0.03883141651749611, -0.0663510411977768, -0.012973910197615623, -0.03612898290157318, 0.000763762800488621, -0.041573889553546906, -0.0431598462164402, -0.011646288447082043, -0.028006605803966522, 0.016210142523050308, -0.024784110486507416, -0.004436841234564781, 0.05581469461321831, 0.045451316982507706, 0.026509113609790802, 0.0020769021939486265, -0.04125364124774933, -0.03777233138680458, 0.0731215849518776, 0.03638792037963867, -0.009541642852127552, -0.051758233457803726, -0.030498063191771507, 0.007992563769221306, 0.024411235004663467, -0.01978578232228756, 0.003289317712187767, 0.09903141111135483, -0.004945802967995405, -0.005350190214812756, 0.025158315896987915, -0.022463178262114525, -0.03073771484196186, -0.0138159254565835, -0.010951554402709007, -0.031063849106431007, -0.06071555241942406, 0.015279105864465237, 0.002928024623543024, 0.05142823979258537, -0.08630211651325226, -0.02924923226237297, -0.014941810630261898, 0.01614205166697502, 0.01131265889853239, 0.013616468757390976, -0.03746269270777702, 0.014115851372480392, -0.05167198181152344, -0.023131217807531357, 0.0007005111547186971, -0.0036489644553512335, 0.022403663024306297, 0.06500130891799927, 0.0025472338311374187, -0.02696651965379715, 0.05338454619050026, 0.025371868163347244, 0.07352247834205627, 0.030175503343343735, -0.0323079414665699, 0.01615905575454235, -0.0511130653321743, -0.00700625404715538, -0.006106310058385134, -0.02670503593981266, -0.050164077430963516, -0.08022115379571915, -0.022353770211338997, 0.022794226184487343, 0.002090787747874856, -0.02572559006512165, 0.03705219179391861, 0.013781767338514328, 0.0018907341873273253, -0.01811867766082287, 0.0203225277364254, 0.04406123235821724, -0.08581746369600296, 0.06734995543956757, 0.012632433325052261, 0.021327020600438118, -0.06726203858852386, 0.007260674145072699, -0.02736925520002842, -0.023155221715569496, -0.0015198213513940573, 0.06344935297966003, 0.004068239126354456, 0.06679965555667877, 0.0794484093785286, 0.02087992988526821, -0.023129155859351158, 0.036487117409706116, 0.035926055163145065, -0.04113338142633438, -0.0359879732131958, 0.014049229212105274, -0.004799473565071821, -0.05476570129394531, -0.012601358816027641, -0.03547343984246254, 0.05251064524054527, 0.021854160353541374, -0.009704170748591423, -0.0036170834209769964, 0.023112354800105095, -0.04239637032151222, -0.01454500574618578, -0.04482598602771759, -0.036561574786901474, -0.004840230569243431, -0.0267321914434433, 0.037547413259744644, 0.026540132239460945, -0.0027453158982098103, 0.03148788958787918, 0.03526826202869415, -0.02096320502460003, -0.025418557226657867, 0.022758444771170616, 0.03835977613925934, -0.029443155974149704, -0.053498201072216034, -0.02828499674797058, 0.05968407168984413, 0.020600050687789917, 0.01075043436139822, -0.0813322514295578, -0.006652363575994968, 0.06370079517364502, -0.04669424518942833, 0.0529160238802433, -0.03385994955897331, 0.03419791907072067, 0.035917557775974274, -0.004789167549461126, 0.02416957914829254, -0.030924653634428978, 0.0008914736681617796, -0.011383024975657463, 0.028004081919789314, 0.0004290830111131072, -0.04191908985376358, -0.06915482878684998, 0.03229541331529617, 0.02932834066450596, 0.03498700633645058, 0.046333812177181244, -0.03989429771900177, -0.04859813302755356, 0.009196314960718155, 0.02920342981815338, -0.03839122876524925, 0.026616383343935013, 0.025172607973217964, 0.03560303524136543, -0.016509851440787315, -0.03344976156949997, -0.012294812127947807, 0.0010538153583183885, 0.02569243684411049, -0.004533170256763697, -0.036366887390613556, -0.03871563449501991, 0.027254726737737656, -0.025175994262099266, -0.049224019050598145, -0.10083717852830887, 0.020036108791828156, -0.01648130640387535, 0.004906691610813141, 0.04941480979323387, 0.03960515931248665, 0.04111146181821823, 0.04162897914648056, -0.0019765293691307306, -0.018549714237451553, -0.029784733429551125, 0.03421248123049736, -0.015079216100275517, -0.02630321867763996, -0.011021551676094532, -0.027347218245267868, -0.022667983546853065, -0.024549752473831177, -0.03574397414922714, -0.028429578989744186, -0.0012100449530407786, 0.045996151864528656, -0.017511209473013878, -0.007587822154164314, -0.031973760575056076, 0.03155190497636795, -0.03182583302259445, -0.05147543549537659, -0.03142502158880234, -0.028990905731916428, -0.05593058839440346, -0.047995805740356445, 0.03278670832514763, -0.000391406036214903, 0.03774905577301979, 0.011218338273465633, 0.02833806350827217, 0.016395900398492813, 0.01215999573469162, -0.006940663326531649, 0.027715638279914856, 0.00011816103506134823, -0.04795724153518677, -0.02690408006310463, 0.025401776656508446, 0.02546609751880169, 0.05569911003112793, -0.029258301481604576, 0.021014723926782608, 0.02430727519094944, -0.04467723146080971, -0.012203666381537914, 0.018300313502550125, 0.034347984939813614, -0.0606110580265522, -0.053184881806373596, 0.00731196254491806, -0.04257645457983017, 0.025806207209825516, -0.03567406162619591, 0.011843162588775158, 0.017744118347764015, 0.014787359163165092, 0.04278947040438652, -0.018190698698163033, -0.028640124946832657, 0.014831510372459888, -0.0324646458029747, 0.010055331513285637, -0.03737346827983856, 0.06809695065021515, -0.03123798966407776, 0.011971891857683659, 0.000994938425719738, 0.000277837214525789, -0.0436713770031929, 0.0349871851503849, -0.0005552212824113667, -0.016769561916589737, 0.008567001670598984, -0.00047510056174360216, -0.007827771827578545, 0.0119827501475811, -0.037788376212120056, 0.00869645643979311, -0.044832345098257065, 0.08185626566410065, -0.04410835728049278, 0.006845290306955576, -0.03064059093594551, -0.0223081074655056, -0.044224850833415985, -0.014198408462107182, -0.00016381328168790787, -0.03378622978925705, 0.026047656312584877, 0.04169253259897232, 0.062299445271492004, 0.03238296881318092, -0.048903681337833405, -0.006890919059514999, 0.0121571971103549, -0.053391799330711365, -0.017392994835972786, -0.0033560676965862513, 0.043729446828365326, 0.014211047440767288, 0.05979394167661667, 0.029690364375710487, -0.07143858075141907, -0.0713564082980156, 0.05039289966225624, -0.010050198063254356, -0.0024772121105343103, -0.004777464084327221, 0.02340269647538662, 0.05390484258532524, 0.0495942160487175, -0.028463251888751984, -0.011447100900113583, -0.02202758751809597, -0.020402995869517326, 0.013020049780607224, -0.008476349525153637, 0.015641668811440468, 0.00598751800134778, -0.037483587861061096, -0.020604051649570465, 0.055181507021188736, 0.022621722891926765, 0.018372781574726105, -0.024466587230563164, -0.035824067890644073, -0.01750217191874981, -0.0031408583745360374, -0.051958680152893066, 0.020556258037686348, -0.010443196631968021, -0.03247246518731117, 0.05725083127617836, -0.025085128843784332, 0.011660690419375896, 0.03770514577627182, 0.017859045416116714, -0.02677886001765728, 0.04831162467598915, -0.006411839742213488, -0.02091861329972744, 0.054958418011665344, -0.059467364102602005, -0.002803262323141098, -0.003377332119271159, 0.060972291976213455, -0.08070705831050873, 0.051546450704336166, 0.07574769854545593, 0.03825907036662102, 0.036935366690158844, -0.035697415471076965, -0.022337542846798897, 0.014501473866403103, -0.05227791890501976, 0.07583358883857727, 0.023517994210124016, -0.06706992536783218, 0.08632221817970276, 0.033790577203035355, -0.08472313731908798, 0.03090096451342106, 0.033984310925006866, 0.004118866752833128, 0.02190641686320305, 0.02608092501759529, -0.05488380417227745, -0.0037700142711400986, -0.013377378694713116, 0.03211405128240585, -0.039711471647024155, -0.010824189521372318, 0.030793899670243263, -0.05054144561290741, -0.020493675023317337, 0.021404292434453964, -0.02423221617937088, -0.008478507399559021, 0.016889117658138275, -0.05247797444462776, -0.02502492442727089, -0.00035150081384927034, 0.03682135045528412, -0.047459427267313004, -0.0011074161157011986, -0.016755348071455956, 0.016682231798768044, 0.035522714257240295, 0.01409330777823925, -0.02359102852642536, -0.0017100689001381397, -0.007058410439640284, -0.04203438758850098, -0.05242679640650749, 0.048902805894613266, 0.013903006911277771, -0.025859273970127106, 0.04483592137694359, -0.010410932824015617, 0.005465588998049498, 0.027127303183078766, 0.005906766280531883, 0.011802926659584045, -0.06320639699697495, -0.022604670375585556, -0.0002919824910350144, 0.01598518341779709, 0.025594130158424377, 0.0019122707890346646, 0.03843770921230316, 0.03687114641070366, 0.014878032729029655, 0.010354452766478062, -0.00682280445471406, -0.002314267447218299, 0.01763591356575489, -0.03948308527469635, 0.02059021219611168, -0.006187759805470705, -0.04587933048605919, -0.026896806433796883, 0.0032195148523896933, 0.021409235894680023, 0.034952517598867416, -0.04832061752676964, -0.013441565446555614, 0.006868061143904924, -0.03281166031956673, -0.03306548669934273, -0.09549959003925323, -0.03233780339360237, -0.032816022634506226, 0.012301095761358738, 0.014159148558974266, -0.03923860937356949, 0.03259037062525749, -0.04816501960158348, -0.058839909732341766, 0.007758342660963535, 0.026005996391177177, -0.03813904523849487, 0.058797337114810944, 0.0462133064866066, -0.07960604876279831, 0.014877001754939556, 0.053498487919569016, -0.016264578327536583, 0.033393263816833496, 0.015317520126700401, 0.014042394235730171, 0.03760313615202904, 0.015564646571874619, -0.0386115163564682, -0.027900613844394684, -0.07181572169065475, -0.05220496654510498, -0.016519656404852867, 0.0032809304539114237, 0.03727550804615021 ]
AdapterHub/roberta-base-pf-mit_movie_trivia
[ "roberta", "en", "arxiv:2104.08247", "adapter-transformers", "token-classification", "adapterhub:ner/mit_movie_trivia" ]
token-classification
{ "architectures": null, "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 } } }
0
2021-03-27T22:36:00Z
--- language: ca datasets: - common_voice - parlament_parla metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: Catalan XLSR Wav2Vec2 Large results: - task: name: Speech Recognition type: automatic-speech-recognition datasets: - name: Common Voice ca type: common_voice args: ca - name: ParlamentParla url: https://www.openslr.org/59/ metrics: - name: Test WER type: wer value: 6.92 - name: Google Crowsourced Corpus WER type: wer value: 12.99 - name: Audiobook “La llegenda de Sant Jordi” WER type: wer value: 13.23 --- # Wav2Vec2-Large-XLSR-Català Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Catalan language using the [Common Voice](https://huggingface.co/datasets/common_voice) and [ParlamentParla](https://www.openslr.org/59/) datasets. **Attention:** The split train/dev/test used does not fully map with the CommonVoice 6.1 dataset. A custom split was used combining both the CommonVoice and ParlamentParla dataset and can be found [here](https://github.com/ccoreilly/wav2vec2-catala). Evaluating on the CV test dataset will produce a biased WER as 1144 audio files of that dataset were used in training/evaluation of this model. WER was calculated using this [test.csv](https://github.com/ccoreilly/wav2vec2-catala/blob/master/test.csv) which was not seen by the model during training/evaluation. You can find training and evaluation scripts in the github repository [ccoreilly/wav2vec2-catala](https://github.com/ccoreilly/wav2vec2-catala) When using this model, make sure that your speech input is sampled at 16kHz. ## Results Word error rate was evaluated on the following datasets unseen by the model: | Dataset | WER | | ------- | --- | | [Test split CV+ParlamentParla]((https://github.com/ccoreilly/wav2vec2-catala/blob/master/test.csv)) | 6.92% | | [Google Crowsourced Corpus](https://www.openslr.org/69/) | 12.99% | | Audiobook “La llegenda de Sant Jordi” | 13.23% | ## 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", "ca", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("ccoreilly/wav2vec2-large-xlsr-catala") model = Wav2Vec2ForCTC.from_pretrained("ccoreilly/wav2vec2-large-xlsr-catala") resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the audio 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]) ```
[ -0.025276217609643936, -0.022442664951086044, -0.01047773938626051, 0.048039041459560394, 0.05288132652640343, 0.013280508108437061, -0.011184879578649998, -0.00044302939204499125, -0.030175751075148582, 0.05470005050301552, 0.035332463681697845, -0.032068464905023575, -0.015297233127057552, 0.0221771951764822, -0.03578690066933632, -0.033393483608961105, -0.01741185411810875, -0.022953830659389496, -0.05646879971027374, -0.017861099913716316, 0.0015506617492064834, 0.006810183171182871, -0.02397785522043705, 0.037001896649599075, -0.016510754823684692, 0.01922723464667797, -0.009616557508707047, 0.019022036343812943, 0.008284368552267551, -0.054807282984256744, -0.00745020154863596, -0.038859475404024124, -0.04594682529568672, -0.019415581598877907, -0.003775213612243533, 0.018757527694106102, -0.009586300700902939, 0.030889827758073807, 0.01745997741818428, 0.03720703721046448, -0.011746494099497795, 0.0009276668424718082, -0.020026134327054024, -0.0007476249593310058, 0.014333276078104973, 0.019327491521835327, -0.04415567219257355, -0.030401427298784256, 0.022723892703652382, -0.01889036037027836, -0.044192954897880554, -0.06657189875841141, -0.011121416464447975, 0.03353847190737724, -0.01552681252360344, -0.03167317435145378, -0.05260253697633743, -0.005438514053821564, 0.08247186243534088, -0.04063321650028229, -0.010208315216004848, 0.026009229943156242, -0.07959581166505814, 0.003541944082826376, 0.015850050374865532, -0.058056045323610306, 0.0033233987633138895, -0.03842956945300102, 0.023160899057984352, -0.014417477883398533, 0.056600410491228104, -0.04754316061735153, 0.014344943687319756, -0.08630090951919556, 0.0053052157163619995, -0.009571426548063755, 0.02920643426477909, 0.04230647161602974, -0.038144778460264206, 0.049372728914022446, 0.020492257550358772, 0.026913007721304893, 0.02986331284046173, -0.031801287084817886, 0.01746436022222042, 0.06358415633440018, -0.03645037114620209, 0.016640424728393555, 0.02238171175122261, 0.006646132096648216, -0.01246823463588953, -0.03207405284047127, -0.016197562217712402, -0.05875948816537857, 0.01824992150068283, 0.04190332442522049, 0.057560671120882034, -0.024583082646131516, 0.041282445192337036, 0.04771165922284126, 0.013583746738731861, 0.015460781753063202, -0.03739139810204506, 0.04958789423108101, -0.03324463218450546, -0.00502789905294776, -0.002168659819290042, -0.0322309173643589, -0.051447052508592606, 0.019266607239842415, 0.028621233999729156, -0.03891696035861969, -0.04386119917035103, 0.0212163757532835, -0.013715026900172234, -0.028014177456498146, 0.05126768350601196, -0.04804501682519913, -0.03750825673341751, -0.06460832059383392, 0.032136715948581696, 0.006363450549542904, -0.00481426902115345, 0.02065337263047695, -0.048106275498867035, 0.030247587710618973, -0.024197878316044807, -0.04027698561549187, 0.01904720440506935, -0.008086643181741238, 0.0027310936711728573, 0.03167945519089699, 0.018023861572146416, -0.06159986928105354, 0.023777415975928307, 0.013425298035144806, -0.06698869913816452, 0.012478942982852459, 0.01409001462161541, 0.09366419166326523, -0.05002205818891525, -0.02839827723801136, 0.011223486624658108, 0.00019782385788857937, 0.021715674549341202, 0.016895730048418045, 0.02399861253798008, -0.00353338778950274, -0.03896566852927208, -0.0022471058182418346, 0.03885933756828308, -0.07228616625070572, -0.007941700518131256, 0.05849926173686981, -0.034482769668102264, 0.050819896161556244, -0.033974044024944305, -0.004509099759161472, 0.016478294506669044, -0.006704060360789299, 0.0020057817455381155, 0.02939341589808464, 0.0016828430816531181, -0.032923657447099686, -0.024126017466187477, -0.058980539441108704, -0.022759510204195976, 0.08295966684818268, 0.01162347849458456, -0.010431595146656036, -0.04457354545593262, 0.013276547193527222, 0.04233058542013168, 0.032688021659851074, -0.03618340194225311, 0.033859312534332275, 0.05641188099980354, 0.05262152850627899, -0.00873877014964819, 0.09258843958377838, 0.00439806142821908, -0.028198033571243286, -0.042349960654973984, 0.017388291656970978, 0.02391447126865387, -0.03252178430557251, -0.010288464836776257, 0.05522626265883446, -0.0018209778936579823, -0.019844545051455498, -0.037563662976026535, 0.05795920267701149, -0.012922042049467564, -0.014598500914871693, 0.0009703512769192457, -0.026117058470845222, -0.050645310431718826, 0.04450505971908569, -0.031430844217538834, 0.0025677671656012535, -0.017398016527295113, -0.028770452365279198, 0.0036958318669348955, 0.026366250589489937, 0.008289030753076077, 0.04968367889523506, 0.005049161612987518, 0.0850900337100029, -0.02577601745724678, 0.009948117658495903, -0.035639625042676926, -0.047452691942453384, -0.023563839495182037, 0.06436951458454132, 0.010283030569553375, 0.051574137061834335, -0.019848398864269257, -0.05260683596134186, 0.03556327894330025, 0.06104676425457001, 0.07248136401176453, 0.03139317408204079, -0.046451736241579056, 0.005726019386202097, 0.027271904051303864, 0.04957539215683937, -0.06579609215259552, -0.030658980831503868, 0.004579019267112017, 0.04073042795062065, -0.01148395799100399, -0.005798034369945526, -0.023203352466225624, 0.02978145331144333, -0.044443853199481964, -0.09203904867172241, 0.06157524511218071, 0.008331863209605217, 0.007242952473461628, 0.017949547618627548, -0.036668192595243454, -0.004394858609884977, 0.01581636629998684, 0.0018308787839487195, -0.006841032300144434, -0.047955472022295, 0.0067838579416275024, 0.00845261849462986, 0.043757956475019455, -0.07387581467628479, 0.04600138962268829, -0.019423063844442368, 0.007555214688181877, 0.04702596738934517, -0.03454082831740379, 0.04467769339680672, 0.01603889837861061, 0.0036992093082517385, -0.045446932315826416, 0.020081082358956337, 0.003928466234356165, 0.05730319023132324, 0.057208940386772156, 0.02176247537136078, 0.06621292233467102, 0.011589706875383854, 0.03862624987959862, 0.07579059153795242, 0.04076520353555679, -0.003466574940830469, 0.019843418151140213, 0.04970407113432884, -0.022185001522302628, -0.018331360071897507, 0.07684873044490814, -0.04919324070215225, 0.0011139009147882462, -0.02913631498813629, -0.015725329518318176, 0.0010446105152368546, 0.0012604363728314638, 0.013265414163470268, -0.013816074468195438, -0.014699163846671581, 0.0013030957197770476, -0.03161395341157913, -0.015884539112448692, 0.06096410006284714, -0.02157241478562355, -0.01370418630540371, -0.0034590894356369972, -0.006985824555158615, 0.019256863743066788, -0.049990225583314896, -0.028672389686107635, -0.0159614235162735, -0.04212197661399841, 0.01990584284067154, -0.07041196525096893, -0.05145036801695824, -0.07201041281223297, -0.002670637331902981, 0.02531251311302185, 0.021163638681173325, 0.016256386414170265, -0.028334280475974083, -0.01262685377150774, -0.04948348551988602, -0.04442020505666733, -0.057350967079401016, -0.04869858920574188, -0.03116399608552456, -0.06917884200811386, 0.030482569709420204, 0.03867446258664131, 0.038372572511434555, -0.0083846440538764, -0.005249050445854664, -0.03416498750448227, -0.01996360905468464, 0.05141839757561684, 0.05592736974358559, -0.027214430272579193, -0.06533133238554001, 0.02729354426264763, -0.02130063995718956, 0.01523653231561184, -0.008475345559418201, -0.06461381167173386, 0.06290499866008759, 0.06802979856729507, 0.0457591637969017, 0.031416215002536774, -0.02437986433506012, -0.0375179797410965, -0.06398867815732956, -0.020512232556939125, -0.04035046324133873, 0.005387382116168737, -0.043060053139925, -0.04298418015241623, -0.020851029083132744, -0.01924685575067997, 0.01601601392030716, -0.023880325257778168, 0.0043342579156160355, 0.05614069104194641, 0.04995506629347801, 0.025724520906805992, 0.009590295143425465, -0.044293973594903946, -0.04305432364344597, 0.07728585600852966, 0.028830766677856445, 0.0025788219645619392, -0.05781080573797226, -0.03326784446835518, 0.012735433876514435, 0.02927125245332718, -0.01981349289417267, 0.001118938555009663, 0.10398175567388535, -0.010036593303084373, -0.0026952235493808985, 0.02431662566959858, -0.011746738106012344, -0.03079710155725479, -0.010160583071410656, -0.004889827221632004, -0.03200694918632507, -0.06366422772407532, 0.008499423041939735, 0.0031937614548951387, 0.05068525671958923, -0.08628818392753601, -0.03584316745400429, -0.02062506228685379, 0.016377724707126617, 0.015315685421228409, 0.0014794388553127646, -0.037331510335206985, 0.014851467683911324, -0.05756186321377754, -0.03058219701051712, 0.003364600008353591, -0.0035247530322521925, 0.026444794610142708, 0.05873711034655571, 0.001175092882476747, -0.03094443492591381, 0.05550796538591385, 0.019085770472884178, 0.07188907265663147, 0.028785333037376404, -0.042865533381700516, 0.01764502003788948, -0.04656489938497543, -0.004382607061415911, -0.008917870000004768, -0.026838624849915504, -0.051049087196588516, -0.07223479449748993, -0.02883070334792137, 0.015320614911615849, -0.006268795114010572, -0.025902898982167244, 0.0315830335021019, 0.015014520846307278, 0.010491614229977131, -0.016515951603651047, 0.020178847014904022, 0.04229794442653656, -0.07982218265533447, 0.05556913837790489, 0.0020062781404703856, 0.01776755042374134, -0.07100702077150345, 0.017841506749391556, -0.030018065124750137, -0.0176309235394001, -0.00808984600007534, 0.07005912065505981, 0.008489647880196571, 0.05689706653356552, 0.07870420813560486, 0.02146279066801071, -0.030930202454328537, 0.03960081934928894, 0.03670534864068031, -0.045024193823337555, -0.036394234746694565, 0.004420309793204069, -0.003922963980585337, -0.05422971397638321, -0.003485614201053977, -0.041678208857774734, 0.052026208490133286, 0.023512346670031548, -0.007762867491692305, -0.010016689077019691, 0.02206401899456978, -0.043782103806734085, -0.016799848526716232, -0.04845789447426796, -0.04042506963014603, -0.00720655033364892, -0.02939913608133793, 0.03824032098054886, 0.02948077954351902, -0.0033883831929415464, 0.033519197255373, 0.03621162474155426, -0.02363627403974533, -0.01836361736059189, 0.026262199506163597, 0.0339682437479496, -0.03616849705576897, -0.06528224050998688, -0.027398759499192238, 0.04716162383556366, 0.025485705584287643, 0.010740786790847778, -0.08171641826629639, -0.009531346149742603, 0.05947230011224747, -0.04696441814303398, 0.048285532742738724, -0.033642660826444626, 0.0375090055167675, 0.03573549538850784, -0.0026825943496078253, 0.02362113818526268, -0.029760878533124924, 0.007233895361423492, -0.019065197557210922, 0.02462567761540413, -0.0032262851018458605, -0.04074607044458389, -0.07464306056499481, 0.03605973348021507, 0.021285545080900192, 0.03326565399765968, 0.04853745177388191, -0.036876898258924484, -0.040496643632650375, 0.009208334609866142, 0.020811574533581734, -0.03076738864183426, 0.023426149040460587, 0.02672639675438404, 0.04147681966423988, -0.01955401711165905, -0.03215222805738449, -0.013890840113162994, 0.0013651374028995633, 0.020648371428251266, -0.007534128148108721, -0.039504192769527435, -0.03835902735590935, 0.025077294558286667, -0.024917230010032654, -0.04372471198439598, -0.09506560862064362, 0.026194041594862938, -0.014150966890156269, -0.008367951028048992, 0.051422759890556335, 0.04471077397465706, 0.038721513003110886, 0.0447416678071022, 0.004605032037943602, -0.012786057777702808, -0.02843512035906315, 0.036943353712558746, -0.017337827011942863, -0.03147268295288086, -0.007729622535407543, -0.021106436848640442, -0.01637052744626999, -0.029320133849978447, -0.026395054534077644, -0.03748221695423126, -0.0003900544252246618, 0.04399055615067482, -0.01671930029988289, -0.011997858993709087, -0.0266129057854414, 0.03688365966081619, -0.02466071955859661, -0.05494798347353935, -0.02424141764640808, -0.027358120307326317, -0.05716947093605995, -0.050180833786726, 0.02765285037457943, -0.0032104572746902704, 0.023144254460930824, 0.009063135832548141, 0.02991936355829239, 0.008761239238083363, 0.01796126551926136, -0.011852327734231949, 0.02667159028351307, -0.006324737798422575, -0.045407507568597794, -0.025650056079030037, 0.01557452604174614, 0.016385961323976517, 0.05587343871593475, -0.0245998352766037, 0.02525344304740429, 0.017603827640414238, -0.03765930235385895, -0.008887343108654022, 0.021618064492940903, 0.037890784442424774, -0.06507477164268494, -0.05640845000743866, -0.0005521089769899845, -0.04634211212396622, 0.030915163457393646, -0.021846557036042213, 0.009249192662537098, 0.023493792861700058, 0.019178254529833794, 0.03741778805851936, -0.0217544324696064, -0.032265376299619675, 0.010284710675477982, -0.03416469693183899, 0.013711869716644287, -0.03162839263677597, 0.06869249045848846, -0.04203196242451668, 0.012137750163674355, -0.0018351307371631265, -0.0055308714509010315, -0.05016617476940155, 0.03310596942901611, 0.007012699265033007, -0.01635757088661194, 0.005675051361322403, 0.0012786684092134237, -0.007772425189614296, 0.017656631767749786, -0.04308026656508446, 0.011840051040053368, -0.0329209603369236, 0.0851777121424675, -0.04035373032093048, 0.011259757913649082, -0.032745685428380966, -0.018612289801239967, -0.04225441813468933, -0.021812062710523605, 0.0010774611728265882, -0.0387677438557148, 0.02020934969186783, 0.05056026950478554, 0.06326421350240707, 0.035749487578868866, -0.03949841484427452, -0.006999105680733919, 0.01066090352833271, -0.05127884820103645, -0.01636778563261032, 0.004802623763680458, 0.04836311191320419, 0.008350437507033348, 0.0608927384018898, 0.026739178225398064, -0.07661976665258408, -0.06450709700584412, 0.03912101313471794, -0.00817473791539669, -0.00326042203232646, 0.00003555109287844971, 0.027943722903728485, 0.04070531576871872, 0.04678170382976532, -0.028394117951393127, -0.013354050926864147, -0.01928425393998623, -0.028123194351792336, 0.009562752209603786, -0.009642479941248894, 0.00572193693369627, 0.005203519482165575, -0.030662912875413895, -0.031048929318785667, 0.060423098504543304, 0.018379179760813713, 0.02054191753268242, -0.024278992787003517, -0.03913932293653488, -0.01835358515381813, -0.004125716630369425, -0.04999125003814697, 0.020973626524209976, -0.0028376365080475807, -0.025887276977300644, 0.05749970301985741, -0.018929259851574898, 0.016883008182048798, 0.03568316251039505, 0.022955987602472305, -0.028037818148732185, 0.05464758351445198, -0.005921888165175915, -0.014010737650096416, 0.05336137115955353, -0.058326609432697296, -0.006947978399693966, -0.009166916832327843, 0.0672466978430748, -0.07948554307222366, 0.03950391709804535, 0.06701827794313431, 0.03842385485768318, 0.030983425676822662, -0.030132343992590904, -0.01884649135172367, 0.02570105902850628, -0.04680810868740082, 0.07518396526575089, 0.028562583029270172, -0.07103241980075836, 0.0814095214009285, 0.03551193326711655, -0.09745797514915466, 0.029050182551145554, 0.03328527882695198, 0.010972811840474606, 0.023650020360946655, 0.0295700840651989, -0.059140030294656754, -0.006271156016737223, -0.01644599623978138, 0.0249999538064003, -0.037202466279268265, -0.0032607177272439003, 0.029798414558172226, -0.06055198609828949, -0.02476741001009941, 0.020630046725273132, -0.029404612258076668, -0.015625586733222008, 0.012596645392477512, -0.05174540728330612, -0.040037721395492554, -0.0035480184014886618, 0.04340456798672676, -0.04755521938204765, 0.000669190427288413, -0.02116222307085991, 0.01277458481490612, 0.03144809603691101, 0.010969028808176517, -0.02375859208405018, -0.013440638780593872, -0.00764975231140852, -0.037608761340379715, -0.050949230790138245, 0.049094490706920624, 0.013347948901355267, -0.030855756253004074, 0.04556867852807045, -0.01442737691104412, 0.008261283859610558, 0.025898652151226997, 0.005245582200586796, 0.01926393061876297, -0.055958669632673264, -0.03031572513282299, 0.0021673867013305426, 0.017494594678282738, 0.02501526288688183, -0.0013064061058685184, 0.03990928828716278, 0.04407837986946106, 0.008728815242648125, 0.01554344967007637, -0.012086661532521248, -0.008167659863829613, 0.013641559518873692, -0.044248029589653015, 0.015116719529032707, 0.0007627304876223207, -0.04609185829758644, -0.02420959807932377, 0.004868083633482456, 0.007900971919298172, 0.033266689628362656, -0.059828393161296844, -0.011169339530169964, 0.009312838315963745, -0.04189620912075043, -0.03667840361595154, -0.08673414587974548, -0.03562178462743759, -0.026821639388799667, 0.018618637695908546, 0.01442878507077694, -0.037444423884153366, 0.030070772394537926, -0.049745894968509674, -0.05959426611661911, 0.0034856381826102734, 0.02467913180589676, -0.03285904601216316, 0.060266342014074326, 0.05040506646037102, -0.07812368124723434, 0.018616026267409325, 0.052535127848386765, -0.012219463475048542, 0.03174518048763275, 0.01850973628461361, 0.015038556419312954, 0.036695435643196106, 0.01331067830324173, -0.02935055084526539, -0.023249901831150055, -0.0712747797369957, -0.03962263464927673, -0.021738816052675247, 0.009326869621872902, 0.03748417645692825 ]
AdapterHub/roberta-base-pf-mnli
[ "roberta", "en", "dataset:multi_nli", "arxiv:2104.08247", "adapter-transformers", "text-classification", "adapterhub:nli/multinli" ]
text-classification
{ "architectures": null, "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 } } }
5
null
--- tags: - Text Generation --- # GIMPLEARN knows modeltest2 # To generate conversation use input such as Human: What should I do?\nAI:
[ -0.01243242435157299, -0.010120301507413387, -0.013374651782214642, 0.029473761096596718, 0.05045110732316971, 0.030896387994289398, -0.013194160535931587, 0.016212603077292442, -0.027132336050271988, 0.03643403574824333, 0.049087755382061005, -0.0015628674300387502, -0.005415001884102821, 0.03186151757836342, -0.043339602649211884, -0.029484057798981667, -0.018317624926567078, -0.007267382461577654, -0.03927496448159218, -0.009198347106575966, 0.010780252516269684, 0.0009916918352246284, -0.013082214631140232, 0.01876397244632244, -0.012925097718834877, 0.026336465030908585, -0.021823758259415627, 0.0073521994054317474, 0.04192746430635452, -0.055515144020318985, 0.0038973495829850435, -0.03907233476638794, -0.028622305020689964, -0.02435958757996559, -0.011339236050844193, -0.016265859827399254, 0.012893772684037685, -0.0026900472585111856, -0.005768644157797098, 0.029234420508146286, -0.0016271768836304545, 0.007110314909368753, 0.008462779223918915, -0.021123219281435013, 0.044142622500658035, 0.000810029567219317, -0.03624389320611954, -0.03418739512562752, 0.011664542369544506, -0.011242493987083435, -0.054324258118867874, -0.07150807976722717, -0.02746908739209175, -0.01754860021173954, -0.009616020135581493, -0.0563165582716465, -0.05472638085484505, 0.0031805920880287886, 0.08168604224920273, -0.040013596415519714, -0.02765023335814476, 0.0015697675989940763, -0.07024583965539932, 0.024912415072321892, 0.04970526322722435, -0.07441852241754532, 0.01355836447328329, -0.04675932601094246, -0.0036351026501506567, -0.02900087460875511, 0.05880163237452507, -0.03979954868555069, 0.0186681617051363, -0.09937592595815659, -0.025537744164466858, -0.03715101256966591, 0.05094223469495773, 0.06050175055861473, -0.03532974421977997, 0.04505680873990059, 0.05069733411073685, -0.006668467540293932, 0.004047736991196871, -0.00441450159996748, -0.01853821985423565, 0.021232714876532555, -0.040296997874975204, -0.006860307417809963, 0.002397461561486125, 0.029295234009623528, -0.04339265078306198, -0.04649614542722702, -0.008262223564088345, -0.025024155154824257, 0.006681498140096664, 0.022408345714211464, 0.0216013565659523, -0.017069004476070404, 0.0335082970559597, 0.042222362011671066, 0.01558766420930624, 0.03220716118812561, -0.019056139513850212, 0.05027437210083008, 0.00553091149777174, 0.0153345987200737, 0.006957306060940027, -0.02359067276120186, -0.07022437453269958, 0.02860090881586075, 0.01361856609582901, -0.05674811452627182, -0.025349240750074387, 0.05035298690199852, 0.020115550607442856, -0.02373424917459488, 0.07347995042800903, -0.049827102571725845, -0.043052513152360916, -0.047240909188985825, 0.06341671943664551, -0.01419128105044365, 0.006928515154868364, -0.011457365937530994, -0.03226352855563164, -0.006267831660807133, -0.024818111211061478, -0.010899675078690052, -0.013837707228958607, 0.00928786862641573, -0.00036630305112339556, 0.04961923882365227, -0.01418570801615715, -0.03899691253900528, 0.019952017813920975, 0.06067517027258873, -0.07325486838817596, -0.0005977795808576047, 0.017443357035517693, 0.119741290807724, -0.08235638588666916, -0.08050950616598129, -0.018240375444293022, 0.0027326950803399086, -0.04267432168126106, 0.0019536057952791452, 0.00008202225581044331, -0.004850329831242561, -0.028565820306539536, -0.011196094565093517, 0.04421060159802437, -0.06075286120176315, -0.030892785638570786, 0.04730035737156868, 0.03131529316306114, 0.03119814582169056, -0.03337599337100983, -0.004598234314471483, 0.009106893092393875, -0.013849198818206787, -0.028531569987535477, 0.05043501406908035, 0.0039021794218569994, -0.02164229191839695, -0.044217657297849655, -0.05403536558151245, 0.020622331649065018, 0.057413097470998764, 0.011923450045287609, -0.009609454311430454, -0.013961916789412498, 0.03404970467090607, 0.038695935159921646, 0.03560173511505127, -0.03419550880789757, 0.026665277779102325, 0.036575574427843094, 0.02957833558320999, -0.029224708676338196, 0.07335594296455383, 0.024441765621304512, -0.03521794080734253, -0.02684895135462284, -0.008184045553207397, 0.027582483366131783, -0.01037820428609848, 0.02568318508565426, 0.054797615855932236, -0.010784337297081947, -0.045074861496686935, 0.004690632224082947, 0.04811110347509384, -0.004765429068356752, -0.0033169311936944723, -0.0122244693338871, -0.013183603063225746, -0.01876911334693432, 0.03729160502552986, -0.028158102184534073, -0.017229614779353142, -0.02150449901819229, -0.032885029911994934, 0.06063394621014595, -0.011349794454872608, 0.0019508905243128538, 0.04778348654508591, -0.026766134425997734, 0.07317658513784409, -0.039834801107645035, 0.010348300449550152, -0.0411030538380146, -0.030879735946655273, -0.024223314598202705, 0.03630174323916435, 0.017969822511076927, 0.05603840574622154, -0.018883001059293747, -0.04986521229147911, 0.04980793967843056, 0.04813951626420021, 0.06406848877668381, 0.03639357537031174, -0.013033946044743061, 0.013164217583835125, 0.014435219578444958, 0.05154046788811684, -0.033609285950660706, -0.025500142946839333, 0.021876275539398193, 0.040072809904813766, -0.0479753315448761, -0.005731928162276745, -0.037326641380786896, 0.013995358720421791, -0.023479357361793518, -0.048456668853759766, 0.03916320577263832, 0.02431262843310833, 0.008022713474929333, 0.035540126264095306, 0.009008527733385563, -0.008366819471120834, 0.0482168085873127, -0.006350970361381769, 0.031376875936985016, -0.08149293810129166, 0.001377327716909349, 0.030296150594949722, 0.07778836786746979, -0.04892890527844429, 0.03180902823805809, -0.016880664974451065, 0.010992176830768585, 0.02952597476541996, -0.005350162275135517, 0.04985705018043518, 0.05188886821269989, 0.03352697193622589, -0.018819700926542282, 0.04553885757923126, 0.0047025615349411964, 0.04522811993956566, 0.049636103212833405, -0.002418657997623086, 0.0737859308719635, 0.001439189538359642, 0.056663185358047485, 0.08613485097885132, 0.019838765263557434, -0.005091496277600527, 0.04936802014708519, 0.08547352999448776, 0.01288302056491375, -0.0025620446540415287, 0.024310069158673286, -0.02301400899887085, 0.015014982782304287, -0.03696851432323456, 0.008436588570475578, -0.005538473837077618, -0.020201774314045906, 0.07230892777442932, 0.018033744767308235, -0.011776184663176537, 0.025740398094058037, -0.0181385800242424, 0.012561202980577946, 0.04642145708203316, 0.012010391801595688, 0.026837341487407684, 0.01073856744915247, -0.021501893177628517, 0.032755959779024124, -0.06742805242538452, -0.027299923822283745, -0.025819094851613045, -0.04945854842662811, -0.01097755879163742, -0.11207625269889832, -0.029928108677268028, -0.06348305940628052, -0.005919929128140211, 0.043095119297504425, 0.01784754917025566, 0.014418251812458038, -0.03702789545059204, -0.00043281965190544724, -0.04290590062737465, -0.0488470159471035, -0.050389304757118225, -0.025522688403725624, -0.03352278098464012, -0.051144931465387344, 0.01462883222848177, 0.023650789633393288, 0.029085012152791023, -0.01292639784514904, -0.0279389675706625, -0.04711397737264633, -0.001781162223778665, 0.05605338141322136, 0.034345317631959915, -0.03777168691158295, -0.07112371176481247, 0.0007306252955459058, -0.012328541837632656, 0.01996651478111744, -0.021060055121779442, -0.03545065596699715, 0.09885886311531067, 0.04861295595765114, 0.017048709094524384, 0.025816988199949265, 0.00045712522114627063, -0.05398821085691452, -0.02335725538432598, -0.01076666358858347, -0.05758712813258171, -0.025836916640400887, -0.02182932384312153, -0.04194093123078346, -0.05028560385107994, -0.05869297310709953, -0.04961099103093147, 0.008208664134144783, 0.019162064418196678, 0.034590426832437515, 0.038075365126132965, 0.027873387560248375, 0.02496088109910488, -0.029662100598216057, -0.022459933534264565, 0.02735339291393757, -0.026516376063227654, -0.0004167311708442867, -0.05539645999670029, -0.025789493694901466, 0.031038830056786537, 0.013057032600045204, -0.00861880462616682, -0.00167248141951859, 0.08346536010503769, 0.03399073705077171, -0.007499087136238813, 0.02663613110780716, -0.045684896409511566, 0.004662771709263325, -0.01512501947581768, 0.005729086697101593, -0.04590097442269325, -0.05539999529719353, -0.030140336602926254, -0.016726598143577576, 0.03387472406029701, -0.08049242198467255, -0.04123441129922867, -0.026193084195256233, 0.004513467662036419, 0.04389548301696777, 0.00041492973105050623, -0.04981658235192299, 0.0004087473498657346, -0.02539518103003502, -0.051376067101955414, 0.010967573150992393, -0.009217954240739346, 0.020425204187631607, 0.02109437622129917, 0.0319632962346077, -0.018162159249186516, 0.03942424803972244, 0.025846686214208603, 0.06831561774015427, 0.030933743342757225, -0.03729178383946419, 0.02654458023607731, 0.0009630777640268207, 0.04644845798611641, 0.001301210024394095, -0.013762196525931358, -0.0410039946436882, -0.12985023856163025, -0.012276173569262028, 0.004078911151736975, -0.02977738156914711, 0.022922368720173836, 0.0640575960278511, -0.031123878434300423, -0.0064848680049180984, -0.010595383122563362, 0.02969365566968918, 0.03754301741719246, -0.02507624961435795, 0.05512690916657448, 0.003215101780369878, 0.029770921915769577, -0.06790854036808014, 0.0008760403725318611, -0.04365271329879761, -0.01497202180325985, -0.020982109010219574, 0.06000081077218056, 0.02339036390185356, 0.05385163053870201, 0.05478639900684357, 0.01891282945871353, -0.023285480216145515, 0.04912204295396805, 0.05026848614215851, -0.007885122671723366, -0.049750182777643204, 0.008613073267042637, 0.0010084884706884623, -0.011443299241364002, 0.005974097643047571, -0.035401180386543274, 0.017858296632766724, 0.05177157372236252, -0.005900585558265448, 0.013503559865057468, -0.013675158843398094, -0.030632473528385162, -0.0039001472759991884, -0.08413051813840866, -0.007018278352916241, -0.0060149733908474445, -0.008083169348537922, 0.04081396013498306, 0.04587933421134949, 0.037662945687770844, 0.03720535337924957, 0.03860260918736458, -0.018771478906273842, -0.03638722002506256, 0.03844370320439339, 0.04227132350206375, -0.05928589776158333, -0.0751900002360344, -0.0453723780810833, 0.03425523266196251, 0.037940576672554016, -0.023760627955198288, -0.09158404916524887, 0.009539344348013401, 0.035255029797554016, -0.07459632307291031, 0.07070449739694595, -0.002931578317657113, 0.03314201533794403, 0.043608229607343674, -0.003941951785236597, 0.041410598903894424, -0.022624030709266663, 0.020450085401535034, -0.0052163987420499325, 0.017551476135849953, -0.022695189341902733, -0.041164230555295944, -0.04349292069673538, 0.047023240476846695, 0.006604888942092657, 0.036973919719457626, 0.02895776741206646, -0.04152411222457886, -0.0634569376707077, -0.0024745026603341103, 0.054534751921892166, -0.000015326811990235, 0.02570350281894207, 0.020609933882951736, 0.05740871652960777, -0.05629318952560425, 0.001992948353290558, -0.00936070829629898, -0.0016017291927710176, 0.026049964129924774, -0.008265599608421326, -0.027948515489697456, -0.04622983559966087, -0.002345113316550851, -0.032207515090703964, -0.01427351962774992, -0.07510943710803986, 0.021331744268536568, -0.0023910256568342447, -0.03490126132965088, 0.049787234514951706, 0.038426775485277176, 0.05753561109304428, 0.05779299512505531, -0.013415643945336342, 0.010222932323813438, -0.01581846922636032, 0.005594495218247175, -0.04983903095126152, -0.035470034927129745, -0.004485272336751223, -0.06680340319871902, -0.037626080214977264, -0.025099605321884155, -0.033727750182151794, -0.0437578447163105, 0.002262149238958955, 0.02002943865954876, 0.00033735408214852214, 0.0126718208193779, 0.001579660689458251, 0.007988737896084785, -0.028688831254839897, -0.015005532652139664, -0.014399376697838306, -0.018032493069767952, -0.09714214503765106, -0.05042482912540436, 0.00762382335960865, 0.0021636735182255507, 0.011807712726294994, -0.02025485597550869, 0.02045215666294098, 0.05113236978650093, 0.02878129854798317, -0.024787332862615585, 0.002329518087208271, 0.004445571918040514, -0.04407086968421936, -0.007057846989482641, 0.029876185581088066, 0.02017366513609886, 0.024866146966814995, -0.015240424312651157, 0.033240966498851776, -0.008910978212952614, -0.028533628210425377, -0.01731652393937111, 0.004124869592487812, 0.007924670353531837, -0.06661303341388702, -0.030707338824868202, -0.045639168471097946, -0.04228389635682106, 0.03432537987828255, -0.0005983900045976043, -0.03611304238438606, 0.01088429894298315, 0.024143069982528687, 0.01464665774255991, 0.01864897459745407, -0.022577913478016853, -0.00486820749938488, -0.041321173310279846, 0.012863866053521633, -0.04953562095761299, 0.05029519647359848, -0.023053841665387154, -0.007127889897674322, -0.026086512953042984, 0.025293581187725067, -0.04578092321753502, 0.059360288083553314, -0.015975942835211754, -0.012040501460433006, -0.009136945940554142, 0.0036021557170897722, -0.013317444361746311, 0.05015211179852486, 0.022095996886491776, 0.03438811004161835, -0.06117886304855347, 0.013729485683143139, -0.05119054391980171, -0.001819613273255527, -0.00796557031571865, -0.003093850566074252, -0.020726429298520088, -0.0076520987786352634, 0.0022348114289343357, -0.059233058243989944, 0.040591806173324585, 0.03751896321773529, 0.01967281848192215, 0.036850180476903915, -0.0034563203807920218, 0.020021021366119385, 0.022667434066534042, -0.040979497134685516, -0.02168908156454563, -0.01152325514703989, -0.017417341470718384, 0.014036121778190136, 0.04441051185131073, 0.0169081874191761, -0.06697116047143936, -0.04166353866457939, 0.0389007031917572, 0.031737495213747025, 0.017672039568424225, 0.002638234756886959, 0.007136883679777384, 0.060540296137332916, 0.037262141704559326, -0.014175964519381523, -0.015570866875350475, -0.005090092308819294, -0.029443426057696342, 0.02490161545574665, -0.0004939353675581515, 0.007054731249809265, -0.014215179719030857, -0.031002817675471306, -0.02766241878271103, 0.06848818063735962, 0.0003994848229922354, 0.0007284624152816832, 0.0026322421617805958, -0.04655919224023819, 0.030521690845489502, 0.019742388278245926, -0.0464167483150959, -0.011191725730895996, 0.03338322415947914, -0.015304181724786758, 0.052853286266326904, -0.02774091251194477, -0.021007126197218895, 0.05175112187862396, -0.003947615623474121, -0.025296272709965706, 0.027573633939027786, -0.026530912145972252, 0.019465167075395584, 0.021304048597812653, -0.03720638528466225, -0.023052047938108444, -0.024086548015475273, 0.05519542470574379, -0.048509448766708374, 0.05556309223175049, 0.03594774752855301, 0.03290675953030586, 0.020538808777928352, -0.05156346410512924, -0.04722054302692413, -0.006924614775925875, -0.06784561276435852, 0.04746658727526665, -0.017659654840826988, -0.04060259833931923, 0.07664509117603302, 0.025214318186044693, -0.06088946387171745, 0.02689148113131523, 0.05564666911959648, 0.025132207199931145, 0.01170089840888977, 0.033922672271728516, -0.031209608539938927, 0.01955638825893402, -0.018995651975274086, 0.022797755897045135, -0.058597974479198456, -0.023378372192382812, 0.006442305166274309, -0.056988488882780075, -0.012189486995339394, 0.026842588558793068, -0.016313154250383377, -0.0007511519361287355, 0.026508217677474022, -0.03674948588013649, -0.07510699331760406, 0.004955597687512636, 0.024904562160372734, -0.01677907444536686, 0.01992192305624485, -0.03553604334592819, 0.029772544279694557, 0.017328331246972084, -0.0354832224547863, -0.04738334193825722, 0.029520824551582336, 0.007827479392290115, -0.05623633787035942, -0.041293248534202576, 0.0652991309762001, 0.02065858244895935, -0.025358645245432854, 0.00302015314809978, 0.021659232676029205, 0.029832057654857635, 0.01189546100795269, -0.012778776697814465, -0.0009360032854601741, -0.08066464960575104, -0.006334521807730198, 0.0031193974427878857, 0.016104942187666893, 0.00664849067106843, -0.0318857878446579, 0.017892194911837578, 0.027476884424686432, 0.034052662551403046, 0.0037328663747757673, -0.024502664804458618, 0.004593883641064167, 0.014885451644659042, -0.04825679212808609, 0.06399354338645935, -0.004482686519622803, -0.056392963975667953, -0.037552643567323685, -0.011071217246353626, -0.013484913855791092, 0.028325408697128296, -0.028916750103235245, 0.005634614732116461, 0.05604838952422142, 0.0052716052159667015, -0.031142858788371086, -0.10347040742635727, -0.028339728713035583, -0.02073940820991993, 0.025862161070108414, 0.0528351329267025, -0.06343002617359161, 0.0169981736689806, -0.03246767818927765, -0.02463541366159916, 0.05647570267319679, -0.016369294375181198, -0.0382295660674572, 0.036927592009305954, 0.056147750467061996, -0.028405291959643364, 0.027487875893712044, 0.01028781570494175, -0.019415291026234627, 0.019402263686060905, 0.04131226986646652, 0.01999969780445099, 0.0311566349118948, 0.04434160515666008, -0.03241478279232979, -0.006060721352696419, -0.055531635880470276, -0.05872948095202446, -0.05159667879343033, -0.008757865987718105, 0.04835624247789383 ]
AdapterHub/roberta-base-pf-record
[ "roberta", "en", "arxiv:2104.08247", "adapter-transformers", "text-classification", "adapterhub:rc/record" ]
text-classification
{ "architectures": null, "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 } } }
0
null
--- language: - zh tags: - bert - pytorch - environment - multi-class - classification --- 中文环境文本分类模型,1.6M的数据集,在env-bert-chinese上进行fine-tuning。 分为环境影响评价与控制、碳排放控制、水污染控制、大气污染控制、土壤污染控制、环境生态、固体废物、环境毒理与健康、环境微生物、环境政策与经济10类。 项目正在进行中,后续会陆续更新相关内容。 清华大学环境学院课题组 有相关需求、建议,联系bi.huaibin@foxmail.com
[ -0.03325580805540085, -0.023708593100309372, -0.005685693584382534, 0.036427728831768036, 0.06151842325925827, 0.02464408427476883, -0.01480785384774208, -0.015280512161552906, -0.02706669084727764, 0.05838044732809067, 0.02316104806959629, 0.007319489493966103, 0.02573767490684986, 0.041172172874212265, -0.04487864673137665, -0.021656299009919167, 0.0005336835747584701, -0.054181430488824844, -0.0632472038269043, -0.021897923201322556, 0.0014537317911162972, 0.01289054099470377, -0.02644171379506588, 0.04973653703927994, 0.03230459243059158, 0.019320346415042877, -0.01292724534869194, 0.04916241765022278, 0.042188242077827454, -0.04089360684156418, -0.02092626877129078, -0.018866701051592827, -0.03848404437303543, -0.035214584320783615, -0.022246230393648148, -0.023572152480483055, 0.005070725921541452, 0.013131965883076191, 0.014894344843924046, 0.03552297502756119, -0.02797611989080906, 0.0007137639913707972, -0.016721967607736588, -0.049083542078733444, 0.041140444576740265, 0.019721385091543198, -0.011277981102466583, -0.029071863740682602, 0.026045382022857666, -0.0402597151696682, -0.043374475091695786, -0.08519148826599121, -0.04685889184474945, 0.006030346732586622, -0.008398824371397495, -0.029640451073646545, -0.050253309309482574, 0.021458864212036133, 0.07625828683376312, -0.041740912944078445, -0.046236302703619, -0.0036169798113405704, -0.0752951055765152, 0.020978286862373352, 0.03329762443900108, -0.04441341385245323, 0.01965637318789959, -0.02775171399116516, 0.024475786834955215, -0.029074138030409813, 0.08419942855834961, -0.019601397216320038, 0.018158823251724243, -0.07024307548999786, -0.014198299497365952, -0.02073972299695015, 0.04465625435113907, 0.0286702997982502, -0.02545906975865364, 0.05067738518118858, 0.009808452799916267, -0.0003504285414237529, 0.040755245834589005, -0.026064004749059677, -0.017560744658112526, 0.012894237414002419, -0.021103790029883385, 0.009570538066327572, 0.026466064155101776, 0.04747084900736809, -0.029334764927625656, -0.02171499654650688, 0.0005889178719371557, -0.0047728936187922955, -0.03264977037906647, 0.034621208906173706, 0.04150388017296791, -0.04023313149809837, 0.02579781413078308, 0.05699171870946884, 0.025256352499127388, 0.05456900596618652, -0.003718850901350379, 0.03333209455013275, 0.0037648100405931473, 0.0030714457388967276, -0.025123747065663338, -0.010256811045110226, -0.04256496950984001, 0.03176375478506088, 0.04188147187232971, -0.026035873219370842, -0.040983378887176514, 0.06611105054616928, 0.011381836608052254, -0.02088214084506035, 0.06866834312677383, -0.0330011285841465, -0.02219078317284584, -0.04985852167010307, 0.05627687647938728, 0.004701030440628529, 0.013964430429041386, 0.025068504735827446, -0.046893004328012466, -0.0034003336913883686, -0.047295548021793365, -0.008713753893971443, -0.01840962842106819, 0.02056054212152958, 0.0032066660933196545, 0.035039618611335754, -0.010185379534959793, -0.036991018801927567, 0.014263257384300232, -0.010346708819270134, -0.04784548282623291, 0.06719497591257095, 0.008166244253516197, 0.11153549700975418, -0.03613367676734924, -0.04253619164228439, -0.005772702395915985, 0.017011580988764763, -0.04199787601828575, 0.030707867816090584, -0.012905457988381386, -0.05805550888180733, -0.021473700180649757, -0.0409230962395668, 0.05587126314640045, -0.04792033135890961, -0.002438562922179699, 0.05375046655535698, 0.007260969839990139, 0.049815595149993896, -0.04021909832954407, 0.010808865539729595, 0.0017269933596253395, -0.011301570571959019, -0.033936262130737305, 0.03882787376642227, 0.013293365016579628, -0.010656709782779217, -0.04129823297262192, -0.07270192354917526, 0.010462566278874874, 0.07340718060731888, 0.003146973205730319, -0.021323584020137787, -0.015408985316753387, 0.019359635189175606, 0.06624728441238403, 0.04048936441540718, -0.022598879411816597, 0.027286238968372345, 0.054135747253894806, 0.0122499018907547, -0.02166714332997799, 0.09546134620904922, 0.032286304980516434, -0.04492073878645897, -0.01738944835960865, 0.013910219073295593, 0.01864703558385372, -0.029372641816735268, -0.0008955147350206971, 0.0518733412027359, -0.007309268694370985, -0.03642341494560242, -0.006015087477862835, 0.04042663052678108, 0.0029069059528410435, -0.005927184596657753, 0.018196923658251762, -0.002230416052043438, -0.02497265487909317, 0.05325271189212799, -0.027718303725123405, 0.005445050075650215, -0.015530768781900406, -0.027501745149493217, 0.013567433692514896, 0.04475144296884537, 0.018780136480927467, 0.042434364557266235, -0.02559826895594597, 0.04771021381020546, -0.01995670050382614, 0.004374399781227112, -0.03732144087553024, -0.04517548531293869, -0.010512378998100758, 0.039612140506505966, 0.040668606758117676, 0.03458159416913986, -0.008654667995870113, -0.05443601682782173, 0.04824337363243103, 0.04292213171720505, 0.07217426598072052, 0.022710498422384262, -0.011458182707428932, -0.01890188828110695, 0.029386602342128754, 0.036525994539260864, -0.0775272399187088, -0.012643571011722088, 0.02725723572075367, 0.04336639866232872, -0.03401392698287964, 0.007460093125700951, -0.0031111957505345345, 0.02936614863574505, -0.04156471788883209, -0.06090913340449333, 0.02901504561305046, 0.01255645789206028, 0.0044333841651678085, 0.02075304090976715, -0.01740117557346821, 0.001880316762253642, 0.03950025141239166, 0.02345390059053898, 0.005621574819087982, -0.07484077662229538, 0.013072391040623188, 0.0054609086364507675, 0.05887223035097122, -0.04771034047007561, -0.00105192547198385, -0.004189520142972469, 0.01281613390892744, 0.03652755171060562, -0.05101636424660683, 0.02911124750971794, 0.020658079534769058, 0.025440912693738937, -0.030457444489002228, 0.039726730436086655, 0.008432084694504738, 0.022687595337629318, 0.08729378879070282, -0.0047660586424171925, 0.06141545996069908, -0.020929742604494095, 0.059362322092056274, 0.07738135755062103, 0.02889748476445675, 0.04417906329035759, 0.018583793193101883, 0.04385354742407799, 0.007349121384322643, 0.00010138374636881053, 0.07389660179615021, -0.033929821103811264, -0.013590846210718155, -0.04024537652730942, 0.013321170583367348, -0.012660621665418148, -0.009163180366158485, 0.03439001366496086, -0.023243142291903496, -0.017386823892593384, 0.00013062582002021372, -0.007003548089414835, 0.018562279641628265, 0.062117863446474075, 0.004130105022341013, -0.007086144760251045, 0.008709579706192017, -0.027050400152802467, -0.0032247297931462526, -0.05227462202310562, -0.0553341768682003, 0.011114959605038166, -0.028109360486268997, 0.00827377662062645, -0.05917137488722801, -0.0467505007982254, -0.07002311944961548, -0.02300317771732807, 0.08092179894447327, 0.04263462871313095, 0.011569647118449211, -0.042654309421777725, 0.03239581733942032, -0.04164174571633339, -0.036997243762016296, -0.020816748961806297, -0.03903866186738014, -0.018838398158550262, -0.05977796018123627, 0.05232103168964386, 0.017680151388049126, 0.037738002836704254, 0.028498828411102295, -0.0011000687954947352, -0.03519801050424576, -0.025887154042720795, 0.05597252771258354, 0.05532711744308472, -0.047081589698791504, -0.0484437458217144, 0.012975011020898819, 0.02032914198935032, 0.0024585656356066465, -0.002414705930277705, -0.06554814428091049, 0.07167095690965652, 0.0877072662115097, 0.011060900054872036, -0.008337686769664288, 0.020572995766997337, -0.050881195813417435, -0.05830681696534157, -0.004548640921711922, -0.04584405571222305, -0.014272036030888557, -0.022570066154003143, -0.03391542658209801, -0.015407213941216469, -0.0433359369635582, -0.015896162018179893, -0.014954237267374992, -0.001554325339384377, 0.01003127358853817, 0.04928315803408623, 0.02610645443201065, 0.0436163954436779, -0.03749995678663254, -0.010552030988037586, 0.059438176453113556, -0.01874772645533085, -0.01999592036008835, -0.059298325330019, -0.020732112228870392, 0.044493161141872406, 0.008032375015318394, -0.000492389197461307, -0.017384380102157593, 0.04755295068025589, 0.010178993456065655, 0.015124051831662655, 0.01012779213488102, -0.03812825307250023, -0.002948146080598235, -0.011208093725144863, -0.00395687622949481, -0.010959256440401077, -0.06820034980773926, -0.02195296250283718, 0.012992112897336483, 0.044761814177036285, -0.06625720113515854, -0.05482105910778046, -0.019768403843045235, 0.003728350391611457, 0.009680308401584625, -0.020329726859927177, -0.04605511948466301, 0.018386906012892723, -0.05379050225019455, -0.03503932058811188, 0.0046350425109267235, -0.021182499825954437, -0.0026136194355785847, 0.05930664390325546, 0.029768509790301323, -0.02767237089574337, 0.03880399093031883, 0.022575819864869118, 0.06070048734545708, 0.019723670557141304, -0.034290213137865067, 0.006073620170354843, -0.020991623401641846, 0.041969846934080124, 0.019894074648618698, -0.04369618371129036, -0.03903878852725029, -0.09616366028785706, 0.0018050983780995011, 0.006023256108164787, -0.004965030122548342, -0.018939055502414703, 0.08292335271835327, -0.025748591870069504, -0.004368550609797239, -0.011439349502325058, 0.02435917779803276, 0.045308515429496765, -0.026313234120607376, 0.06708960235118866, -0.033028215169906616, 0.031729232519865036, -0.023863648995757103, 0.003288176842033863, -0.029632005840539932, -0.009485702030360699, -0.014506522566080093, 0.05904989317059517, 0.04526222124695778, 0.04016740620136261, 0.07124630361795425, 0.036623504012823105, -0.038062382489442825, 0.08010824024677277, 0.024821722880005836, -0.016715239733457565, -0.03959080949425697, -0.006590467412024736, -0.024211464449763298, -0.004988264758139849, -0.006961554754525423, -0.023413389921188354, -0.012512996792793274, 0.033360179513692856, 0.010825945995748043, -0.014116350561380386, -0.006593380123376846, -0.012397709302604198, -0.02652822993695736, -0.044151924550533295, 0.00580676319077611, 0.003077586181461811, -0.033014293760061264, 0.014038722030818462, 0.04947475343942642, -0.02096915803849697, 0.06926129758358002, 0.040828775614500046, -0.025676973164081573, -0.058312367647886276, 0.03641914576292038, 0.013475337997078896, -0.046508755534887314, -0.05610451474785805, -0.032180000096559525, 0.03227458521723747, 0.03385300934314728, 0.01926426589488983, -0.06210492178797722, 0.018008200451731682, 0.058379124850034714, -0.04491749033331871, 0.08209940791130066, -0.01120590791106224, 0.037708718329668045, 0.07577980309724808, -0.011596676893532276, 0.010972303338348866, -0.014302271418273449, 0.025996651500463486, -0.002142832148820162, 0.018560508266091347, -0.032322973012924194, -0.036709077656269073, -0.03159512206912041, 0.02117159590125084, 0.02666468173265457, 0.03057442419230938, 0.04555667191743851, -0.04949479177594185, -0.03784910589456558, 0.008825474418699741, 0.042795371264219284, -0.05504076927900314, 0.03336362913250923, 0.03660798445343971, 0.052734870463609695, -0.03450806066393852, -0.01969265751540661, -0.013680350966751575, 0.004282948095351458, 0.02453750930726528, -0.008463325910270214, -0.02277066558599472, -0.05575735494494438, 0.026562649756669998, -0.009460406377911568, -0.031112337484955788, -0.06409508734941483, 0.025463644415140152, -0.043012700974941254, -0.0037078787572681904, 0.06604316085577011, 0.03396149352192879, 0.03975284844636917, 0.03248685598373413, 0.0022904451470822096, 0.016834598034620285, -0.0344858355820179, 0.039120230823755264, -0.035962920635938644, -0.03629123419523239, -0.0024417920503765345, -0.05003078281879425, -0.02685382030904293, -0.0362241305410862, -0.05249539017677307, -0.041765015572309494, 0.0053087323904037476, 0.03419627249240875, -0.013839776627719402, -0.02120913751423359, -0.016963407397270203, 0.009999009780585766, -0.005770912393927574, -0.02194088138639927, 0.004158277064561844, -0.011513779871165752, -0.08886799216270447, -0.055960606783628464, 0.010605866089463234, -0.009145370684564114, -0.00654379790648818, -0.01661103218793869, 0.011909169144928455, 0.033840958029031754, -0.0022456427104771137, -0.024503331631422043, -0.007024469319730997, -0.023761581629514694, -0.014961227774620056, -0.009417694993317127, 0.018753167241811752, -0.011551039293408394, 0.032086338847875595, -0.020097769796848297, 0.044733330607414246, 0.032514993101358414, -0.02138463407754898, -0.03208916634321213, 0.01582399569451809, 0.011125038377940655, -0.08234263211488724, -0.06147342547774315, -0.021431732922792435, -0.038709498941898346, 0.03814944624900818, -0.0433560386300087, -0.04268044978380203, 0.02606464922428131, 0.042270150035619736, 0.030579382553696632, -0.0222951527684927, -0.02076253481209278, 0.03897973522543907, -0.03270807862281799, -0.007360896561294794, -0.06749110668897629, 0.02782152034342289, -0.018116341903805733, 0.016431087628006935, -0.0252761822193861, -0.003281957935541868, -0.05121629685163498, 0.024212077260017395, -0.012554246932268143, -0.03424692153930664, 0.002349656308069825, 0.009584151208400726, -0.03606240451335907, 0.015809878706932068, 0.00955957267433405, 0.016294987872242928, -0.018001480028033257, 0.01581842266023159, -0.05186877027153969, 0.00105566275306046, -0.003784473054111004, 0.010949229821562767, -0.044916339218616486, -0.02094173990190029, -0.012924879789352417, -0.05447849631309509, 0.02403995208442211, 0.019042719155550003, 0.004430318716913462, 0.012079642154276371, 0.009676611982285976, 0.004504029173403978, 0.018465427681803703, -0.05491640418767929, -0.014409958384931087, -0.027326589450240135, 0.0024753210600465536, 0.01684565842151642, 0.05355670675635338, 0.055344611406326294, -0.06789077073335648, -0.049079880118370056, 0.05459019914269447, 0.02131476067006588, -0.021356534212827682, 0.0010158623335883021, 0.04103713110089302, 0.04213021323084831, 0.048694781959056854, -0.027482083067297935, -0.014484028331935406, -0.01165394764393568, -0.024756349623203278, 0.017897510901093483, -0.005418118555098772, 0.019542856141924858, 0.02482345513999462, -0.025565333664417267, -0.03030746430158615, 0.10656259208917618, 0.019015967845916748, 0.030389605090022087, -0.017191588878631592, -0.02860037237405777, 0.026951611042022705, 0.01798386313021183, -0.043130237609148026, 0.006457467097789049, 0.020856553688645363, -0.04591033607721329, 0.07243801653385162, -0.00037314934888854623, 0.022661542519927025, 0.038841377943754196, 0.018733005970716476, 0.009295223280787468, 0.050493475049734116, -0.04000250622630119, 0.00930161401629448, 0.017501354217529297, -0.05136207863688469, -0.0005467034643515944, -0.02937549538910389, 0.05950243026018143, -0.040929071605205536, 0.04836411029100418, 0.06697108596563339, 0.02491733245551586, 0.0430159866809845, -0.042491380125284195, -0.018569814041256905, 0.026617830619215965, -0.05241411179304123, 0.055460527539253235, -0.013049575500190258, -0.07143408060073853, 0.0714958980679512, 0.005475893616676331, -0.08871985226869583, 0.03539310768246651, 0.020671501755714417, 0.0265507772564888, 0.029694655910134315, 0.017019663006067276, -0.04432041198015213, 0.01833733730018139, -0.050561148673295975, 0.028779271990060806, -0.0620708093047142, -0.010505830869078636, 0.010833075270056725, -0.027834853157401085, -0.014371496625244617, 0.033881671726703644, -0.013663842342793941, -0.013268484733998775, 0.009313497692346573, -0.04081445187330246, -0.049413297325372696, 0.01535480935126543, 0.024260642006993294, -0.005161258392035961, -0.021416710689663887, -0.04144546762108803, -0.004659863654524088, 0.011875979602336884, -0.010834503918886185, -0.013137049041688442, -0.011797938495874405, 0.03597351536154747, -0.07811688631772995, -0.02687499299645424, 0.03445525839924812, 0.04016532748937607, -0.0329681821167469, 0.008997268974781036, -0.012613208964467049, 0.017459630966186523, 0.021090319380164146, -0.0032449313439428806, 0.03385108336806297, -0.05768118053674698, -0.0004529097059275955, 0.013826723210513592, 0.002473524073138833, -0.008901672437787056, -0.018205959349870682, 0.02031887322664261, 0.04287934675812721, 0.052001819014549255, -0.0019764979369938374, -0.05548790469765663, -0.030104560777544975, 0.03371705487370491, -0.0344647653400898, 0.03879169374704361, 0.01051298901438713, -0.08160858601331711, -0.04490692541003227, 0.014901889488101006, 0.007923232391476631, 0.0549628920853138, -0.033360932022333145, 0.017206065356731415, 0.035624030977487564, -0.01669931784272194, -0.04140741750597954, -0.09417121857404709, -0.03945354372262955, -0.02761988900601864, 0.03274991363286972, 0.032076314091682434, -0.03734641522169113, 0.005863117519766092, -0.01470854226499796, -0.05550552159547806, 0.02552410028874874, -0.016899840906262398, -0.044878315180540085, 0.06667914241552353, 0.08045512437820435, -0.040719736367464066, 0.02046576701104641, 0.04275628924369812, -0.06874629110097885, 0.06455184519290924, 0.01242068037390709, 0.013695643283426762, 0.020860766991972923, 0.03694361075758934, 0.014944978058338165, -0.006748238578438759, -0.06132134422659874, -0.034256890416145325, -0.01857159473001957, -0.014595678076148033, 0.06495299190282822 ]
AdapterHub/roberta-base-pf-rte
[ "roberta", "en", "arxiv:2104.08247", "adapter-transformers", "text-classification", "adapterhub:nli/rte" ]
text-classification
{ "architectures": null, "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
2022-01-10T07:20:45Z
--- language: zh widget: - text: "美国退出《巴黎协定》" - text: "污水处理厂中的功耗需要减少" tags: - pretrain - pytorch - environment - classification - topic classification --- 话题分类模型,使用某乎"环境"话题下所有子话题,过滤后得69类。 top1 acc 60.7, top3 acc 81.6, 可以用于中文环境文本挖掘的预处理步骤。 标签: "生态环境","水污染", "野生动物保护", "太阳能", "环保经济", "污水处理", "绿色建筑", "水处理", "噪音污染", "温室效应", "净水设备", "净水器", "自来水", "生活", "环境评估", "空气污染", "环境评价", "工业污染", "雾霾", "植树", "环保行业", "水处理工程", "沙漠治理", "巴黎协定", "核能", "噪音", "环评工程师", "二氧化碳", "低碳", "自然环境", "沙尘暴", "环境工程", "秸秆焚烧", "PM 2.5", "太空垃圾", "穹顶之下(纪录片)", "垃圾", "环境科学", "净水", "污水排放", "室内空气污染", "环境污染", "全球变暖", "邻居噪音", "土壤污染", "生物多样性", "碳交易", "污染治理", "雾霾治理", "碳金融", "建筑节能", "风能及风力发电", "温室气体", "环境保护", "碳排放", "垃圾处理器", "气候变化", "化学污染", "地球一小时", "环保组织", "物种多样性", "节能减排", "核污染", "环保督查", "垃圾处理", "垃圾分类", "重金属污染", "环境伦理学", "垃圾焚烧"
[ 0.007643199525773525, -0.02310299128293991, -0.005133107304573059, 0.04349574074149132, 0.03510604426264763, 0.006511223502457142, 0.0013080944772809744, 0.0027343204710632563, -0.05120255425572395, 0.04865620285272598, 0.01541389711201191, -0.0161370187997818, 0.013459084555506706, 0.018349232152104378, -0.024217452853918076, -0.020960241556167603, -0.01076213177293539, -0.04456373676657677, -0.0569021962583065, -0.007951812818646431, 0.002954337280243635, 0.023141566663980484, -0.020527036860585213, 0.049331460148096085, 9.35283253511443e-7, 0.019969375804066658, -0.0009407825418747962, 0.025737648829817772, 0.036883823573589325, -0.04970720410346985, -0.009519309736788273, -0.03660807013511658, -0.0555713027715683, -0.05539552494883537, -0.02331242524087429, -0.019670655950903893, -0.005972819868475199, -0.007080715149641037, 0.011014631018042564, 0.04548018425703049, 0.0019766315817832947, -0.0010913987644016743, -0.011925441212952137, -0.05057525262236595, 0.032532669603824615, -0.0002586112532299012, -0.0270092710852623, -0.01400342583656311, 0.04297562688589096, -0.019489705562591553, -0.05862009525299072, -0.06887324154376984, -0.04559510201215744, -0.00925906840711832, -0.028210526332259178, -0.011511293239891529, -0.03976595401763916, 0.013118306174874306, 0.061047837138175964, -0.0484396368265152, -0.03206752985715866, 0.020153990015387535, -0.0925426036119461, 0.04028426483273506, 0.031982921063899994, -0.04207964614033699, 0.030774015933275223, -0.03989400342106819, 0.043120644986629486, -0.04287004843354225, 0.05548267439007759, -0.054960742592811584, 0.01691516675055027, -0.08502740412950516, 0.0018268562853336334, -0.019306207075715065, 0.03159639239311218, 0.02724403142929077, -0.03939756006002426, 0.06905575096607208, 0.024885913357138634, -0.025634711608290672, 0.04252944141626358, -0.0008215350098907948, -0.04319430887699127, 0.04004741087555885, -0.05690301954746246, 0.013260728679597378, 0.020864050835371017, 0.07665053755044937, -0.02157728746533394, -0.031397297978401184, -0.009412786923348904, -0.0192395132035017, -0.03349437564611435, 0.0336272157728672, 0.03671293705701828, -0.02044110931456089, 0.04862842336297035, 0.03882622718811035, 0.0252238679677248, 0.03612341359257698, -0.00863744132220745, 0.03307783603668213, -0.0016741547733545303, -0.0030331132002174854, -0.021798621863126755, -0.017135538160800934, -0.044422928243875504, 0.014481808990240097, 0.0065363082103431225, -0.05342615395784378, -0.022670317441225052, 0.0450596809387207, 0.021830158308148384, -0.032668501138687134, 0.0459168441593647, -0.03153343126177788, -0.038365818560123444, -0.046156905591487885, 0.07303937524557114, 0.037227798253297806, -0.020527128130197525, 0.025745054706931114, -0.028859470039606094, 0.009706633165478706, -0.03767005354166031, -0.0037329706829041243, -0.00035470962757244706, 0.01957295835018158, -0.009248068556189537, 0.03550507873296738, 0.022377802059054375, -0.0814925953745842, 0.006545525509864092, -0.014010945335030556, -0.04627513140439987, 0.040870554745197296, 0.01113280188292265, 0.09342532604932785, -0.05564213916659355, -0.0566534698009491, -0.016391752287745476, 0.012702899053692818, -0.03134848177433014, 0.019950982183218002, -0.0049996147863566875, -0.03355628252029419, -0.01628435216844082, -0.03870178759098053, 0.05230709910392761, -0.0493314228951931, -0.009409826248884201, 0.0714402049779892, 0.00208451971411705, 0.04342487081885338, -0.037022583186626434, -0.010882710106670856, 0.01626124605536461, -0.016284750774502754, -0.025565549731254578, 0.019549651071429253, 0.02640775963664055, -0.002419975819066167, -0.07261853665113449, -0.045913100242614746, -0.002443549456074834, 0.0594853013753891, -0.015115322545170784, -0.021286191418766975, -0.0255909264087677, 0.003732868703082204, 0.04604191333055496, 0.012680230662226677, -0.03332880511879921, 0.04894445464015007, 0.04544926434755325, 0.05893630534410477, -0.015691326931118965, 0.06610746681690216, 0.025075504556298256, -0.0432981513440609, -0.005163903348147869, 0.02134174294769764, 0.039393678307533264, -0.011957629583775997, 0.011539123021066189, 0.0489216223359108, 0.004391360096633434, -0.03478367626667023, -0.007159224711358547, 0.06374987959861755, -0.011907074600458145, -0.002938444260507822, -0.005672911182045937, -0.014520354568958282, -0.028127161785960197, 0.053686656057834625, -0.021314440295100212, 0.00905271153897047, -0.02050025574862957, -0.025177516043186188, 0.034407589584589005, 0.056421175599098206, 0.021086791530251503, 0.04452630132436752, -0.03295965865254402, 0.08705315738916397, 0.005546459462493658, 0.02145194448530674, -0.03781362250447273, -0.06640801578760147, -0.026967039331793785, 0.03446434810757637, 0.0440593846142292, 0.05146858096122742, 0.012203245423734188, -0.025731677189469337, 0.03722689673304558, 0.04244829714298248, 0.0585317462682724, 0.03065698966383934, -0.016368787735700607, 0.009482846595346928, 0.0436536930501461, 0.04803087189793587, -0.05237136781215668, -0.04435466229915619, 0.029555683955550194, 0.059213947504758835, -0.022247055545449257, -0.004930222872644663, -0.011712353676557541, 0.02296391688287258, -0.04066751152276993, -0.05206325650215149, 0.03984859585762024, 0.008951938711106777, 0.020153887569904327, 0.010941321030259132, 0.009933375753462315, 0.023666193708777428, 0.03659067302942276, 0.02526075392961502, 0.01984388753771782, -0.0502479150891304, -0.013598010875284672, 0.02093871682882309, 0.04385474696755409, -0.02770133689045906, 0.01836571656167507, -0.008322230540215969, 0.014122690074145794, 0.0344073586165905, -0.06720937043428421, 0.014716069214046001, 0.0073292250744998455, 0.03422469273209572, -0.035658061504364014, 0.028271561488509178, 0.007996488362550735, -0.0009481725282967091, 0.06887007504701614, -0.01707247644662857, 0.04883561655879021, -0.02627233974635601, 0.06487298756837845, 0.06538581103086472, 0.022374821826815605, 0.028271082788705826, 0.007469991222023964, 0.08020024001598358, -0.011733832769095898, 0.00217041396535933, 0.057530418038368225, -0.05257580056786537, -0.00460329744964838, -0.03488563373684883, 0.035699617117643356, 0.01408151164650917, 0.006899941246956587, 0.006004851311445236, 0.0034224221017211676, -0.017063863575458527, 0.019628183916211128, -0.008423274382948875, 0.0031160099897533655, 0.02591344341635704, -0.0327894501388073, 0.006560182198882103, -0.015457271598279476, -0.00377315329387784, 0.03224556893110275, -0.07363491505384445, -0.051416583359241486, -0.011865422129631042, -0.022239727899432182, 0.0009982287883758545, -0.056565482169389725, -0.02817446179687977, -0.05718417838215828, -0.013841954059898853, 0.06237374246120453, 0.0351092629134655, 0.0021716610062867403, -0.04397863149642944, 0.01486669760197401, -0.05025516450405121, -0.026407772675156593, -0.05169985070824623, -0.03919197991490364, -0.03319426253437996, -0.06412006914615631, 0.027260443195700645, 0.024392681196331978, 0.028195830062031746, 0.01727823168039322, 0.030658744275569916, -0.01455712877213955, -0.028692981228232384, 0.07466822862625122, 0.04892313852906227, -0.013006075285375118, -0.01345850806683302, 0.0669444128870964, 0.005462533328682184, 0.01117674633860588, -0.007011177483946085, -0.03550991415977478, 0.06793777644634247, 0.10237596184015274, 0.016709495335817337, 0.01591975800693035, 0.017658565193414688, -0.0828934982419014, -0.054447274655103683, -0.03049098514020443, -0.0217856727540493, -0.022480558604002, -0.052377667278051376, -0.06369377672672272, -0.010820242576301098, -0.030095646157860756, -0.01732461154460907, 0.002958287950605154, 0.009918887168169022, 0.028600560501217842, 0.039892278611660004, 0.051599692553281784, 0.04194663465023041, -0.029091520234942436, -0.004194308537989855, 0.0669218972325325, -0.01249502133578062, 0.022199556231498718, -0.0689876601099968, -0.02658494934439659, 0.022849183529615402, -0.004998444579541683, -0.010893145576119423, -0.03603173792362213, 0.05271954461932182, -0.007232141215354204, 0.013770907185971737, 0.004925580695271492, -0.042691536247730255, -0.00859233271330595, 0.00628138380125165, 0.0054930103942751884, -0.00482647679746151, -0.04242114722728729, 0.007672192063182592, -0.00863826833665371, 0.04203825443983078, -0.05962701514363289, -0.08462647348642349, -0.015618582256138325, 0.0073875244706869125, 0.005215666256844997, -0.0017654781695455313, -0.03779587522149086, 0.0074926442466676235, -0.05036599934101105, -0.03818199411034584, 0.010131334885954857, 0.012207145802676678, -0.008967545814812183, 0.055916037410497665, 0.041029129177331924, -0.024516992270946503, 0.033959150314331055, 0.021465890109539032, 0.06738395988941193, 0.02198076993227005, -0.021910889074206352, 0.03299064561724663, -0.006040902808308601, 0.01898154243826866, 0.006832183804363012, -0.026938987895846367, -0.016486816108226776, -0.10161065310239792, -0.031996890902519226, 0.025729423388838768, -0.011817002668976784, -0.008788279257714748, 0.0434173122048378, -0.03302079811692238, -0.013759098015725613, -0.00012270650768186897, 0.02725844271481037, 0.05642715096473694, -0.04081987217068672, 0.0372467078268528, -0.018066242337226868, 0.040186576545238495, -0.0692584440112114, -0.01573973149061203, -0.015197406522929668, -0.008842185139656067, 0.005628794897347689, 0.0695708841085434, 0.027539242058992386, 0.03563530743122101, 0.07816912978887558, 0.0235658697783947, -0.01305176131427288, 0.05356481671333313, 0.058200903236866, 0.00655874889343977, -0.05761295184493065, 0.013115557841956615, -0.0197613388299942, -0.009094282984733582, 0.019476089626550674, -0.021560419350862503, 0.019557133316993713, 0.032124053686857224, 0.011042417027056217, -0.01963856816291809, -0.00017197155102621764, -0.05235692858695984, -0.02228284440934658, -0.04032444953918457, -0.022227099165320396, 0.014061183668673038, -0.020418841391801834, 0.013277467340230942, 0.03908650949597359, 0.019464191049337387, 0.0708763375878334, 0.03675892576575279, -0.027288401499390602, -0.023509139195084572, 0.03324051946401596, 0.027005428448319435, -0.07527751475572586, -0.060519371181726456, -0.03585007041692734, 0.05637061595916748, 0.029677901417016983, -0.009543194435536861, -0.07717196643352509, 0.039204154163599014, 0.05512568727135658, -0.03653492033481598, 0.052741292864084244, 0.0019323345040902495, 0.018626490607857704, 0.04076973721385002, -0.011781949549913406, 0.00574082974344492, -0.016722984611988068, 0.021224837750196457, -0.014819181524217129, 0.059870120137929916, -0.00761017482727766, -0.03069855459034443, -0.04354897886514664, 0.03276747465133667, 0.010254939086735249, 0.027582261711359024, 0.042067233473062515, -0.03682273253798485, -0.04021051898598671, 0.019231630489230156, 0.034487880766391754, -0.07146351039409637, 0.02300005964934826, 0.0421389564871788, 0.022407233715057373, -0.046936195343732834, -0.031594857573509216, 0.002293138299137354, 0.0161038339138031, 0.04427875205874443, -0.03920844569802284, -0.013084717094898224, -0.041380852460861206, 0.027582945302128792, -0.00349032087251544, -0.037796083837747574, -0.09013067930936813, 0.03850463032722473, -0.027245210483670235, -0.020186608657240868, 0.05700128525495529, 0.021086107939481735, 0.02681882493197918, 0.04770450294017792, 0.012360943481326103, 0.018552914261817932, -0.0451812669634819, 0.05338461697101593, -0.020937839522957802, -0.002527509583160281, -0.0018817884847521782, -0.04394516721367836, -0.014177225530147552, -0.03407738357782364, -0.053681813180446625, -0.01740597002208233, -0.0020455517806112766, 0.035219836980104446, -0.003042445983737707, -0.0071506560780107975, -0.01829376444220543, 0.020899929106235504, -0.00534666096791625, -0.05651428550481796, -0.0007558983052149415, -0.03243140131235123, -0.07119086384773254, -0.06271535903215408, 0.016780991107225418, -0.007411953527480364, 0.013293151743710041, 0.00048042842536233366, 0.020813092589378357, 0.04495681822299957, -0.015395212918519974, -0.01608053222298622, 0.02563847415149212, -0.009947279468178749, -0.034097764641046524, -0.05202697589993477, 0.0014345274539664388, 0.013333327136933804, 0.03899480029940605, -0.026065003126859665, 0.03498721495270729, 0.016875306144356728, -0.015454750508069992, -0.00420936057344079, 0.003867542836815119, 0.015549696981906891, -0.07064907997846603, -0.05945662036538124, 0.002976279007270932, -0.045539360493421555, 0.02755950391292572, -0.03374604880809784, -0.02132440358400345, 0.03613460063934326, 0.02847588062286377, 0.02212444692850113, -0.0018157886806875467, -0.023556120693683624, 0.05055214837193489, -0.010697629302740097, -0.011511722579598427, -0.06990659981966019, 0.016481613740324974, -0.01619209535419941, 0.013129063881933689, -0.008276008069515228, -0.012307727709412575, -0.0414777509868145, 0.022361336275935173, -0.004707622807472944, -0.014981393702328205, 0.005548527464270592, 0.01290886476635933, -0.035011619329452515, 0.0479547493159771, -0.0058288839645683765, 0.03369845077395439, -0.025045063346624374, 0.03237810358405113, -0.04657689481973648, -0.00374133069999516, -0.0022854579146951437, -0.014299185946583748, -0.04740622267127037, -0.0058449385687708855, -0.042019106447696686, -0.05896628275513649, 0.025578228756785393, 0.03217804431915283, -0.008389849215745926, 0.04438021034002304, -0.017056506127119064, 0.006016829051077366, 0.010343346744775772, -0.0699598416686058, -0.010885550640523434, -0.044001780450344086, -0.03305010870099068, 0.007449580822139978, 0.042640190571546555, 0.04694643244147301, -0.05086589232087135, -0.058353543281555176, 0.03671489283442497, 0.02701694332063198, -0.01344001479446888, 0.028126442804932594, 0.02465718239545822, 0.038357071578502655, 0.049541112035512924, -0.03544571250677109, -0.005017775110900402, -0.033101268112659454, -0.012320215813815594, 0.04647629335522652, 0.0010317438282072544, -0.0024325186386704445, -0.018042894080281258, -0.02155856043100357, -0.014917545951902866, 0.08109784871339798, 0.0356299951672554, 0.04508736729621887, -0.022966871038079262, -0.042530354112386703, 0.056717656552791595, 0.027226418256759644, -0.05174128711223602, 0.0016826697392389178, 0.016271574422717094, -0.024814318865537643, 0.061282671988010406, -0.012312923558056355, 0.027587657794356346, 0.06914538145065308, 0.022245630621910095, -0.0033894700463861227, 0.06657423079013824, -0.025600764900445938, -0.0074046035297214985, 0.02436096780002117, -0.04240732640028, 0.017586184665560722, -0.05884624272584915, 0.07633846998214722, -0.04952586442232132, 0.048657484352588654, 0.06185295060276985, 0.018026500940322876, 0.029428286477923393, -0.000758159498218447, -0.0416136309504509, 0.04658081755042076, -0.02391456998884678, 0.05796418711543083, 0.01065756008028984, -0.07067576050758362, 0.0734243094921112, 0.012695912271738052, -0.09375759214162827, 0.03794313222169876, 0.014361174777150154, 0.018936721608042717, 0.04121376946568489, 0.045057427138090134, -0.036098528653383255, -0.015080795623362064, 0.011377224698662758, 0.017498547211289406, -0.049552999436855316, -0.008675167337059975, 0.01841977797448635, -0.03217683359980583, -0.031176773831248283, 0.010352972894906998, 0.007516205310821533, -0.0039031472988426685, 0.024633057415485382, -0.057640496641397476, -0.0340983085334301, 0.01722198724746704, 0.044304799288511276, -0.005641261115670204, -0.014348296448588371, -0.03646038845181465, 0.0391308069229126, 0.03231270611286163, 0.000652529124636203, -0.02048550173640251, 0.015560580417513847, 0.02692636288702488, -0.1076306626200676, -0.010973894037306309, 0.050936199724674225, 0.024893268942832947, -0.014051033183932304, 0.025207456201314926, 0.026770709082484245, 0.018762540072202682, 0.009856226854026318, -0.011135280132293701, -0.0057673645205795765, -0.04490848258137703, -0.017031798139214516, 0.014939950779080391, 0.0035565916914492846, 0.003406970528885722, -0.013918801210820675, 0.017316177487373352, 0.05780304968357086, 0.027650296688079834, 0.004941475111991167, -0.048448823392391205, -0.014568552374839783, 0.027283700183033943, -0.05206049233675003, 0.0402931347489357, 0.017113912850618362, -0.06416158378124237, -0.041716016829013824, -0.011770465411245823, 0.020423201844096184, 0.040412988513708115, -0.005147826392203569, -0.013087021186947823, 0.008354045450687408, -0.008081385865807533, -0.019430480897426605, -0.08949071913957596, -0.04357392340898514, -0.0428926981985569, 0.03680574893951416, 0.03303687646985054, -0.042114175856113434, 0.030983861535787582, -0.05208735167980194, -0.06709299236536026, 0.03291366994380951, 0.020635729655623436, -0.02820713073015213, 0.047734394669532776, 0.048646025359630585, -0.015307893045246601, 0.0469101257622242, 0.03762225806713104, -0.04589664191007614, 0.03127937763929367, 0.011664272285997868, 0.024948839098215103, 0.03911269083619118, 0.060916852205991745, 0.026800287887454033, -0.0105783985927701, -0.037779077887535095, -0.043408188968896866, -0.014158137142658234, 0.00616912916302681, 0.05530184879899025 ]
AdapterHub/roberta-base-pf-snli
[ "roberta", "en", "dataset:snli", "arxiv:2104.08247", "adapter-transformers", "text-classification" ]
text-classification
{ "architectures": null, "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
tags: - array - of - tags license: "any valid license identifier"
[ -0.0443255789577961, -0.010335332714021206, 0.00021907473274040967, -0.006104329600930214, 0.03919951245188713, 0.0013829036615788937, 0.0005407857825048268, 0.02831130102276802, -0.0049122110940515995, 0.05339493975043297, 0.029790177941322327, 0.03880786895751953, 0.018473688513040543, 0.038678769022226334, -0.031706687062978745, -0.031552378088235855, -0.0038667016196995974, -0.03336154296994209, -0.06276190280914307, 0.022914351895451546, 0.02764684520661831, -0.004628582391887903, -0.039633847773075104, 0.053291868418455124, 0.008936339057981968, -0.007174518425017595, -0.0199742391705513, 0.0235019288957119, 0.04965294152498245, -0.0491412878036499, -0.01598142832517624, -0.036349378526210785, -0.04736820235848427, -0.06446205824613571, -0.018666474148631096, 0.0035681752488017082, 0.016262497752904892, 0.011204523034393787, 0.009756792336702347, 0.042616311460733414, -0.003331395797431469, 0.048740044236183167, 0.005355454981327057, -0.04591808468103409, 0.050187546759843826, -0.011708458885550499, -0.032605960965156555, -0.06291553378105164, 0.023780016228556633, -0.02724391780793667, -0.08582203090190887, -0.063200943171978, -0.02182830311357975, -0.007038088049739599, -0.002856613602489233, -0.038555361330509186, -0.03366440534591675, 0.017464451491832733, 0.07707866281270981, -0.0511033870279789, -0.024583224207162857, 0.021223565563559532, -0.07360275834798813, 0.023155024275183678, 0.027071190997958183, -0.06157930940389633, 0.03550219535827637, -0.036056999117136, 0.003507146378979087, -0.016659919172525406, 0.05634850263595581, -0.029172370210289955, -0.001268045394681394, -0.048607293516397476, -0.02506822720170021, -0.007340668234974146, 0.03230956196784973, 0.012875030748546124, -0.03751587122678757, 0.04486917331814766, 0.04326143115758896, 0.008038671687245369, 0.04284346103668213, -0.024205664172768593, -0.012950817123055458, 0.03534660488367081, -0.018935607746243477, 0.000642347673419863, -0.0036043557338416576, 0.013997443951666355, -0.030288951471447945, -0.02741207741200924, 0.006228701677173376, -0.004594382829964161, -0.030537916347384453, 0.012808673083782196, 0.05748705193400383, -0.002438338240608573, -0.01342170499265194, 0.025158073753118515, 0.024812201038002968, 0.045215118676424026, -0.021331438794732094, 0.05119841545820236, 0.017674842849373817, -0.03095349483191967, 0.02503209561109543, 0.00807306356728077, -0.02159125544130802, 0.03204365074634552, 0.0245052482932806, -0.009078280068933964, -0.04213686287403107, 0.027374036610126495, 0.0252247117459774, 0.014813157729804516, 0.07991424202919006, -0.030750015750527382, -0.017663490027189255, -0.029189353808760643, 0.06388646364212036, -0.005019104108214378, -0.028086626902222633, -0.02458585798740387, -0.012244953773915768, -0.01934397593140602, -0.045988548547029495, -0.028308622539043427, 0.010901490226387978, -0.016882535070180893, -0.004475054796785116, 0.08501943200826645, -0.0024627421516925097, -0.04767419397830963, 0.003161786589771509, 0.03923432156443596, -0.03877631574869156, 0.03591499850153923, 0.03215242922306061, 0.09790941327810287, -0.060170892626047134, -0.0573854073882103, -0.019691437482833862, 0.026329010725021362, -0.03762957081198692, 0.00004386387445265427, -0.010286702774465084, -0.03915446251630783, -0.03933946043252945, -0.029151443392038345, 0.01388823613524437, -0.055283889174461365, 0.009793922305107117, 0.06768130511045456, 0.0156274251639843, 0.03042006306350231, -0.014695652760565281, 0.01737675815820694, 0.004213050473481417, -0.0026385539676994085, -0.039713114500045776, 0.030354272574186325, -0.008659868501126766, 0.019628003239631653, -0.017968421801924706, -0.023209933191537857, -0.015222745947539806, 0.04637397453188896, 0.01226919423788786, -0.004826432093977928, -0.06859834492206573, 0.019261889159679413, 0.06351836025714874, 0.0362386554479599, -0.010385928675532341, 0.041168227791786194, 0.04771186783909798, 0.014738977886736393, -0.018299700692296028, 0.05927588790655136, 0.0019853876437991858, -0.03945282846689224, -0.05028640106320381, -0.018567804247140884, 0.02840389683842659, -0.002247260883450508, 0.011713620275259018, 0.045428600162267685, 0.014715030789375305, -0.05972568690776825, -0.007474631071090698, 0.052309099584817886, -0.013685532845556736, 0.005698603577911854, 0.008628088980913162, -0.00547818886116147, -0.028118779882788658, 0.045705318450927734, -0.011144179850816727, -0.009168090298771858, -0.015979496762156487, 0.008107421919703484, 0.042159553617239, 0.020265083760023117, 0.027399661019444466, 0.012710193172097206, 0.004162508528679609, 0.06992363184690475, -0.0564037449657917, -0.004757266025990248, -0.002787400735542178, -0.01109585352241993, -0.017490506172180176, 0.049182962626218796, 0.029474422335624695, 0.02058936469256878, -0.006529903504997492, -0.05532975122332573, 0.02024855464696884, 0.061506640166044235, 0.045241549611091614, 0.008854728192090988, -0.041425272822380066, -0.024919582530856133, 0.04834245890378952, 0.027075471356511116, -0.04016481712460518, -0.02753198891878128, 0.023249562829732895, 0.06277036666870117, -0.019630540162324905, -0.014034814201295376, -0.0125019745901227, -0.020981814712285995, -0.03827155381441116, -0.03268083930015564, 0.0031322042923420668, 0.010929098352789879, -0.03179777413606644, 0.0026035832706838846, -0.029594924300909042, 0.02252611517906189, 0.05552288889884949, 0.0073395040817558765, 0.021124279126524925, -0.05592053011059761, 0.02075052447617054, 0.0021829651668667793, 0.08828774839639664, -0.05060723423957825, 0.039626315236091614, 0.00206430209800601, 0.035868413746356964, 0.013498243875801563, -0.055292289704084396, 0.04741985350847244, 0.05604316666722298, 0.05004090815782547, -0.0130716348066926, 0.044928379356861115, 0.009542872197926044, 0.019346868619322777, 0.0873306468129158, 0.02545468509197235, 0.07895131409168243, 0.0005137028638273478, 0.05469658970832825, 0.05755386874079704, 0.012221059761941433, -0.009728104807436466, 0.016339778900146484, 0.0602867417037487, -0.029280735179781914, 0.000930912618059665, 0.05859145149588585, -0.03153977915644646, 0.030795998871326447, -0.042925894260406494, -0.011486214585602283, -0.028605373576283455, -0.03264357149600983, 0.05518590286374092, -0.0005267489468678832, -0.04293518885970116, 0.025105804204940796, -0.0038374043069779873, 0.007114690262824297, 0.039436738938093185, 0.022263068705797195, 0.02306702733039856, -0.007275278680026531, -0.0006218813941814005, 0.047504305839538574, -0.0537165105342865, -0.04492741450667381, -0.013937260024249554, -0.04375052824616432, -0.029399245977401733, -0.07129325717687607, -0.030298063531517982, -0.0649474710226059, -0.024867353960871696, 0.06073097512125969, 0.03401584178209305, 0.007763719651848078, -0.023249154910445213, 0.003487655660137534, -0.0028617121279239655, -0.06893648952245712, -0.07099135965108871, -0.0626966655254364, -0.02259284444153309, -0.06311178207397461, 0.0287393219769001, 0.007371619809418917, 0.025901593267917633, 0.03353875130414963, -0.01455346867442131, -0.05623587593436241, -0.021896276623010635, 0.04350360482931137, 0.017099453136324883, -0.043950896710157394, 0.0028461155015975237, 0.013883913867175579, 0.0075551304034888744, -0.009077931754291058, -0.026144355535507202, -0.057492535561323166, 0.08074666559696198, 0.014300222508609295, 0.027296526357531548, -0.02185872755944729, -0.01763678528368473, -0.030404306948184967, 0.0031024289783090353, -0.025060581043362617, -0.024075822904706, -0.031234467402100563, -0.043174341320991516, -0.04641996696591377, -0.018049806356430054, -0.045741233974695206, -0.03720030561089516, -0.013255879282951355, 0.018489394336938858, 0.015764497220516205, 0.04041808843612671, 0.040179479867219925, 0.01796557940542698, -0.013035884127020836, -0.016004348173737526, 0.06525298953056335, -0.012236797250807285, -0.016767846420407295, -0.056922007352113724, -0.03634218871593475, 0.043051157146692276, 0.005188168492168188, 0.02789963223040104, -0.0055097173899412155, 0.053682491183280945, -0.012195544317364693, -0.008728843182325363, 0.017807338386774063, -0.04708710312843323, -0.0035482796374708414, -0.023106468841433525, -0.0017137934919446707, -0.02650751732289791, -0.04860083758831024, 0.009704328142106533, -0.01753656007349491, 0.02888324111700058, -0.0617898590862751, -0.029580602422356606, -0.02303146943449974, 0.013327986933290958, 0.058012254536151886, 0.0008008253644220531, -0.06481774896383286, 0.003705542301759124, -0.044038332998752594, -0.02476928010582924, 0.02174803987145424, 0.010161885991692543, 0.020972246304154396, 0.024928921833634377, 0.016139786690473557, -0.04989812523126602, 0.07146124541759491, 0.04350760579109192, 0.04806368425488472, 0.05952705070376396, -0.049262601882219315, 0.03293365240097046, -0.0032811686396598816, 0.01877102442085743, -0.010583488270640373, -0.025884386152029037, -0.05330813676118851, -0.10364200919866562, -0.017615145072340965, 0.00735818687826395, 0.0011527960887178779, 0.00399831123650074, 0.06664946675300598, -0.04876589775085449, 0.009250661358237267, -0.006908731069415808, 0.018879424780607224, 0.0395890437066555, -0.022145483642816544, 0.02300547994673252, -0.01215256005525589, 0.03260128200054169, -0.01615886203944683, 0.0037220753729343414, -0.02393631637096405, -0.02355337142944336, 0.021316412836313248, 0.038258012384176254, 0.03721219673752785, 0.04893035441637039, 0.048700276762247086, -0.0029614418745040894, -0.028737029060721397, 0.0750236064195633, 0.07430434972047806, -0.02825634740293026, -0.07718098163604736, 0.011112747713923454, 0.006288683973252773, 0.0024964078329503536, -0.025483258068561554, -0.02056150883436203, 0.032737597823143005, 0.05440027639269829, -0.01842574030160904, 0.010066859424114227, 0.0007246257155202329, -0.010436523705720901, -0.03443154692649841, -0.06768066436052322, 0.006300528068095446, 0.015215061604976654, -0.05422414094209671, 0.02033272199332714, 0.042081329971551895, 0.022439969703555107, 0.04956436902284622, 0.027073806151747704, -0.06733469665050507, -0.035832107067108154, 0.04977722465991974, 0.042565468698740005, -0.05362710729241371, -0.08151261508464813, -0.045894041657447815, 0.038815487176179886, 0.03541284799575806, -0.010596639476716518, -0.0828566923737526, 0.01973896659910679, 0.033795636147260666, -0.05645585432648659, 0.08001235127449036, 0.02696256898343563, 0.03144299238920212, 0.05374213308095932, -0.021848898380994797, 0.03126544505357742, -0.04829729348421097, 0.02853020653128624, -0.009636931121349335, 0.004492694046348333, -0.028302831575274467, -0.03403737396001816, -0.03329012542963028, 0.03458163142204285, 0.0020733659621328115, 0.023519285023212433, 0.035760778933763504, -0.055925581604242325, -0.0763016790151596, -0.02184985764324665, 0.05493279546499252, -0.045145183801651, 0.007799901068210602, 0.04309386387467384, 0.06340854614973068, -0.04702896997332573, -0.02255908213555813, -0.013002200983464718, 0.01383025199174881, 0.03899787738919258, -0.01861613430082798, -0.028892632573843002, -0.047534238547086716, 0.03157365322113037, -0.03321021422743797, -0.03890348970890045, -0.11270610243082047, 0.028432756662368774, -0.004291477147489786, -0.02477242797613144, 0.04444986954331398, 0.04838353767991066, 0.053925734013319016, 0.05214576795697212, -0.008923896588385105, 0.03123466856777668, -0.015587861649692059, 0.035661712288856506, -0.023702580481767654, -0.03569654002785683, 0.017563046887516975, -0.05137547478079796, -0.018291834741830826, -0.005271349102258682, -0.03765740618109703, -0.019259197637438774, 0.019304029643535614, 0.0006796473753638566, 0.007140067871659994, 0.02193508669734001, 0.013717766851186752, -0.019766271114349365, -0.008401783183217049, -0.0033525358885526657, 0.02446492202579975, 0.002124905353412032, -0.09828583896160126, -0.033750295639038086, 0.046349089592695236, -0.034462202340364456, 0.03734177350997925, -0.0009060829179361463, 0.037608999758958817, 0.041525110602378845, -0.007436355575919151, -0.0329844132065773, 0.001655704458244145, 0.020204858854413033, -0.0517868846654892, -0.01109390240162611, 0.023214342072606087, 0.01379512157291174, 0.0356333926320076, -0.03831574320793152, 0.0101204514503479, 0.021890971809625626, -0.032350093126297, -0.021133851259946823, 0.004887379240244627, -0.0091890012845397, -0.06389891356229782, -0.011052149347960949, -0.03278009966015816, -0.030923813581466675, 0.021862998604774475, -0.02623867243528366, -0.026544686406850815, -0.018642442300915718, 0.04426928982138634, 0.022264521569013596, -0.008408613502979279, -0.035280436277389526, -0.016510680317878723, -0.05820238217711449, 0.04521801695227623, -0.06048301234841347, 0.03593073785305023, -0.0009813890792429447, 0.017964808270335197, -0.021535171195864677, 0.009460704401135445, -0.03672923892736435, 0.06481356173753738, 0.01325132418423891, -0.015048488043248653, -0.0026813256554305553, 0.02763250283896923, -0.009874471463263035, 0.016098732128739357, 0.010003113187849522, 0.005239322781562805, -0.00288143171928823, 0.009315543808043003, -0.0559379905462265, 0.03063703514635563, -0.026500198990106583, -0.007512696553021669, -0.025083260610699654, -0.04325636103749275, -0.00009992012201109901, -0.04105892777442932, 0.01566176488995552, 0.038530319929122925, 0.026951856911182404, 0.015243378467857838, -0.011142192408442497, 0.021856829524040222, 0.03493896871805191, -0.04623889923095703, -0.021011829376220703, -0.0005139642162248492, 0.007853880524635315, 0.01023930124938488, 0.05713323503732681, 0.02465043030679226, -0.035150934010744095, -0.06549473106861115, 0.050667040050029755, -0.004094244446605444, -0.0015979973832145333, 0.013617045246064663, 0.0309185478836298, 0.10385952889919281, 0.04324820265173912, -0.01424086932092905, 0.021923786029219627, 0.00030413924832828343, -0.006100708618760109, -0.023140419274568558, -0.008651765994727612, 0.017723018303513527, -0.013496527448296547, -0.039523229002952576, -0.0051091513596475124, 0.06926301121711731, 0.02701581083238125, 0.023771125823259354, -0.018530206754803658, -0.043583523482084274, 0.0683818906545639, 0.010609506629407406, -0.03240692615509033, -0.0038364005740731955, 0.050595998764038086, -0.055851470679044724, 0.05090685933828354, -0.013499208725988865, 0.012763956561684608, 0.02697974257171154, 0.03442240133881569, -0.0017206480260938406, 0.018864432349801064, -0.03300444781780243, -0.004859718959778547, 0.025982262566685677, -0.03665177896618843, -0.006430158391594887, -0.007367264479398727, 0.04983533173799515, -0.039653003215789795, 0.042035143822431564, 0.03493885695934296, 0.00992300920188427, 0.03917286545038223, -0.036587513983249664, -0.019127044826745987, 0.00941633339971304, -0.048919472843408585, 0.036277856677770615, -0.03101172298192978, -0.08222052454948425, 0.04406563937664032, 0.01987820491194725, -0.08969142287969589, 0.019109191372990608, 0.0131294634193182, 0.03799312934279442, 0.0053759063594043255, -0.00782302487641573, -0.027918895706534386, 0.036259833723306656, -0.052805397659540176, 0.027789980173110962, -0.07094545662403107, -0.01400072779506445, -0.01330725196748972, -0.022813895717263222, -0.0073081511072814465, 0.04642992466688156, -0.03803793340921402, -0.0035781206097453833, 0.014186856336891651, -0.012939460575580597, -0.029777852818369865, 0.009945099242031574, 0.046865276992321014, 0.022332068532705307, -0.002249520504847169, -0.008334817364811897, 0.03253942355513573, 0.03128208592534065, 0.0012116406578570604, -0.059336017817258835, 0.0181429460644722, 0.0047274245880544186, -0.07297918200492859, -0.031789977103471756, 0.04638261720538139, 0.0007566348649561405, -0.03166600316762924, -0.009484188631176949, 0.011081160977482796, 0.06124790757894516, 0.028896508738398552, -0.03545977175235748, 0.009568982757627964, -0.054461847990751266, 0.0198020339012146, 0.014270013198256493, 0.03932993859052658, 0.025070233270525932, -0.01183766033500433, 0.0365237221121788, 0.05481990799307823, 0.05709303915500641, -0.022309226915240288, -0.009619396179914474, -0.014488736167550087, 0.027472008019685745, -0.04317097365856171, 0.043782301247119904, -0.004100283142179251, -0.049330998212099075, -0.06418202817440033, 0.029474448412656784, -0.03301931172609329, 0.019565097987651825, -0.06458421796560287, 0.0345655158162117, 0.018940327689051628, 0.007465904578566551, -0.06462342292070389, -0.1143842414021492, -0.030095845460891724, -0.025327395647764206, 0.007515069097280502, 0.03153960034251213, -0.05094046890735626, -0.008103007450699806, -0.023385077714920044, -0.030636761337518692, 0.0641903504729271, -0.026613250374794006, -0.028611650690436363, 0.05776260793209076, 0.05279073491692543, -0.034689921885728836, 0.0419246107339859, 0.013595040887594223, -0.05681101977825165, 0.02999664656817913, 0.0007489722920581698, 0.029226837679743767, 0.028917387127876282, 0.03976292535662651, -0.026354292407631874, -0.036770302802324295, -0.03770710900425911, -0.019654080271720886, 0.010118232108652592, -0.0027385829016566277, 0.06986244022846222 ]
Adarsh123/distilbert-base-uncased-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
--- language: tr datasets: - common_voice metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week license: apache-2.0 model-index: - name: XLSR Wav2Vec2 Turkish by Ceyda Cinarel results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice tr type: common_voice args: tr metrics: - name: Test WER type: wer value: 27.59 --- # Wav2Vec2-Large-XLSR-53-Turkish Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on Turkish 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", "tr", split="test[:2%]") processor = Wav2Vec2Processor.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turkish") model = Wav2Vec2ForCTC.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turkish") 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 Turkish 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", "tr", split="test") wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turkish") model = Wav2Vec2ForCTC.from_pretrained("ceyda/wav2vec2-large-xlsr-53-turkish") model.to("cuda") chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\‘\”\'\`…\]\[\’»«]' resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the audio 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**: 27.59 % ## Training The Common Voice `train`, `validation` datasets were used for training. The script used for training can be found [here](https://github.com/cceyda/wav2vec2)
[ -0.026459986343979836, -0.013187034986913204, -0.015357470139861107, 0.04768109321594238, 0.049165643751621246, 0.0424639955163002, -0.010272638872265816, -0.012317794375121593, -0.0449359193444252, 0.0703558549284935, 0.025946730747818947, -0.026852082461118698, -0.017745990306138992, 0.026470260694622993, -0.022669417783617973, -0.04388256371021271, -0.024349825456738472, -0.008020644076168537, -0.06821604818105698, -0.021679168567061424, -0.011167396791279316, 0.025677068158984184, -0.012127597816288471, 0.02638511173427105, -0.0065816836431622505, 0.010031661950051785, -0.010929064825177193, 0.023375364020466805, 0.012021616101264954, -0.06973997503519058, -0.001232219161465764, -0.03056247904896736, -0.02070043236017227, -0.041740383952856064, -0.019694769755005836, -0.0035759983584284782, 0.007141799665987492, 0.007964704185724258, 0.034938182681798935, 0.033757925033569336, -0.023306280374526978, 0.017593318596482277, 0.0010293909581378102, -0.009248129092156887, 0.031977925449609756, 0.0020295698195695877, -0.04486929252743721, -0.00847402960062027, 0.027841048315167427, -0.043036285787820816, -0.03375648707151413, -0.059135086834430695, -0.019425885751843452, 0.030196690931916237, -0.023015236482024193, -0.03832795470952988, -0.04663217440247536, -0.02272665500640869, 0.06225912645459175, -0.04812006652355194, -0.02399124950170517, 0.026595082134008408, -0.06730961054563522, 0.0171370729804039, 0.021694296970963478, -0.04015376418828964, 0.0006821512943133712, -0.049274902790784836, 0.02881217747926712, -0.018901174888014793, 0.048303328454494476, -0.027123641222715378, 0.013084442354738712, -0.08681338280439377, 0.018932485952973366, -0.01460347417742014, 0.03152332827448845, 0.044619373977184296, -0.03673356771469116, 0.052541375160217285, 0.02726900577545166, 0.0007142435642890632, 0.029444009065628052, -0.02194916270673275, 0.0003880320582538843, 0.05379285290837288, -0.029528973624110222, 0.01532116811722517, 0.007660110015422106, 0.04786994308233261, -0.03755689412355423, -0.05093654990196228, -0.015963677316904068, -0.05378919839859009, 0.0014311153208836913, 0.047086916863918304, 0.03174258768558502, -0.006720003206282854, 0.032825786620378494, 0.03230048343539238, 0.013141890056431293, 0.017430050298571587, -0.026533395051956177, 0.05046520754694939, -0.025217389687895775, -0.004172161221504211, 0.0014943103305995464, -0.0470951683819294, -0.03287479281425476, 0.026936136186122894, 0.03668489307165146, -0.04823771119117737, -0.039654266089200974, 0.03915627300739288, 0.011131678707897663, -0.01884215697646141, 0.039905283600091934, -0.04921950399875641, -0.03524869307875633, -0.036215201020240784, 0.028251580893993378, 0.011184674687683582, 0.009363538585603237, -0.006632823497056961, -0.048765793442726135, 0.0345524437725544, -0.040234681218862534, -0.030270515009760857, 0.011299063451588154, 0.023150639608502388, -0.013266617432236671, 0.04079146683216095, 0.025436485186219215, -0.05055129528045654, -0.0006275924388319254, 0.017809638753533363, -0.060527510941028595, 0.02979038655757904, 0.017199598252773285, 0.08426111191511154, -0.05313120782375336, -0.05412318557500839, 0.015410240739583969, 0.0021239095367491245, -0.01168955210596323, 0.02349235676229, 0.016422830522060394, -0.022773683071136475, -0.051553722470998764, -0.007435351610183716, 0.05349716544151306, -0.07224792242050171, -0.004763877019286156, 0.046873342245817184, -0.020440222695469856, 0.03513237088918686, -0.026771221309900284, 0.0019069304689764977, 0.021094687283039093, -0.004353966563940048, -0.01806158758699894, 0.045676518231630325, 0.001609781407751143, -0.03080320917069912, -0.029545461758971214, -0.04601176455616951, -0.007927989587187767, 0.07655227929353714, -0.0007163808331824839, 0.011701994575560093, -0.014109151437878609, 0.030811669304966927, 0.04141547530889511, 0.023889629170298576, -0.03871573880314827, 0.04175686091184616, 0.06677701324224472, 0.03637976944446564, -0.023470303043723106, 0.0851273164153099, 0.026089780032634735, -0.028422106057405472, -0.013624751940369606, -0.004264806397259235, 0.008409869857132435, -0.021391792222857475, -0.004060887731611729, 0.053063374012708664, -0.007515151519328356, -0.022452030330896378, -0.015750549733638763, 0.05199194699525833, -0.005591389257460833, -0.003851725487038493, -0.011740286834537983, -0.015064742416143417, -0.047158993780612946, 0.03083089552819729, -0.03815232589840889, 0.006721775513142347, -0.01622259058058262, -0.022270066663622856, -0.014368748292326927, 0.02932264655828476, 0.02355341427028179, 0.06314444541931152, -0.005106559954583645, 0.08458668738603592, -0.04199869558215141, -0.003543669590726495, -0.046429336071014404, -0.04800883308053017, -0.012663260102272034, 0.05055532231926918, 0.032969146966934204, 0.06651251763105392, -0.006645717658102512, -0.0431966669857502, 0.022216670215129852, 0.06584513187408447, 0.07004562020301819, 0.01873517967760563, -0.005790499038994312, -0.012662895023822784, 0.034696515649557114, 0.06973914057016373, -0.06645359098911285, -0.03844881430268288, 0.009534221142530441, 0.02885487675666809, -0.007538284175097942, 0.021380966529250145, -0.0246793981641531, 0.04790426045656204, -0.049435149878263474, -0.08667534589767456, 0.06550754606723785, 0.024306902661919594, 0.014265570789575577, 0.023649660870432854, -0.018972642719745636, 0.012266457080841064, 0.0204643402248621, -0.0035798733588308096, 0.0009334004716947675, -0.031081797555088997, -0.0010987810092046857, 0.012740653939545155, 0.04601411893963814, -0.06423542648553848, 0.024908656254410744, -0.018800394609570503, -0.0018231088761240244, 0.036816924810409546, -0.056280575692653656, 0.03863087669014931, 0.011594320647418499, 0.018719127401709557, -0.03273874893784523, 0.021944815292954445, -0.008931159973144531, 0.04452499747276306, 0.054868344217538834, 0.00407654233276844, 0.040321316570043564, 0.010099691338837147, 0.05075232312083244, 0.09495001286268234, 0.028104625642299652, -0.005900964140892029, 0.015687864273786545, 0.06653189659118652, 0.009220791980624199, -0.017034994438290596, 0.07918310910463333, -0.04268394783139229, 0.02987600676715374, -0.04398542270064354, 0.0073517095297575, -0.0033401360269635916, 0.0030611720867455006, 0.027797019109129906, 0.011684654280543327, -0.00679853605106473, 0.019139142706990242, -0.030355066061019897, -0.01798173598945141, 0.04886110872030258, -0.025593100115656853, -0.02059708908200264, 0.000057595174439484254, -0.01902988739311695, -0.009058627299964428, -0.07477190345525742, -0.026008013635873795, -0.02352127991616726, -0.045792680233716965, 0.008049774914979935, -0.07388047873973846, -0.025950754061341286, -0.05519259348511696, -0.01329610776156187, 0.026592029258608818, 0.005854698363691568, 0.012722472660243511, -0.030426647514104843, 0.013421976938843727, -0.059836018830537796, -0.04153164476156235, -0.04743361100554466, -0.040621355175971985, -0.023465769365429878, -0.057786379009485245, 0.030458981171250343, 0.02605738863348961, 0.033169738948345184, 0.0058380793780088425, 0.0049508982338011265, -0.04268227145075798, -0.02738463506102562, 0.039920173585414886, 0.029348183423280716, -0.0379805825650692, -0.06482617557048798, 0.03449731320142746, -0.040025051683187485, 0.018427301198244095, 0.014671043492853642, -0.04544855281710625, 0.07723869383335114, 0.07216622680425644, 0.035738714039325714, 0.029745975509285927, -0.024169642478227615, -0.058178022503852844, -0.05680248141288757, -0.02580692060291767, -0.044925983995199203, -0.00864257849752903, -0.017403466627001762, -0.04210160672664642, -0.031092999503016472, -0.0060827177949249744, -0.01931009627878666, -0.0035573558416217566, 0.01145703811198473, 0.047653671354055405, 0.051541272550821304, 0.03312525525689125, 0.035694267600774765, -0.03622569143772125, -0.052322860807180405, 0.0776301920413971, 0.019457921385765076, 0.009382547810673714, -0.06982982158660889, -0.029303666204214096, 0.019037451595067978, 0.015556497499346733, -0.015030410140752792, 0.007956577464938164, 0.08067532628774643, -0.01078118197619915, -0.013879862613976002, 0.014296433888375759, -0.021680757403373718, -0.025485774502158165, -0.011723495088517666, -0.010140754282474518, 0.003252185182645917, -0.07123507559299469, -0.010502168908715248, 0.014402840286493301, 0.05645722150802612, -0.06684839725494385, -0.06046508997678757, -0.0256669744849205, 0.054189179092645645, 0.022712714970111847, -0.005807565059512854, -0.044585563242435455, 0.010251163505017757, -0.06168753281235695, -0.037276800721883774, 0.02493341825902462, 0.02100771851837635, 0.027243193238973618, 0.05807214975357056, 0.0035676166880875826, -0.03597675636410713, 0.06159254163503647, 0.04721299558877945, 0.07846496999263763, 0.020349733531475067, -0.043608617037534714, 0.000462903204606846, -0.029092835262417793, 0.015963219106197357, 0.007611772511154413, -0.03711521252989769, -0.044902872294187546, -0.08341088891029358, -0.03492765501141548, 0.016681166365742683, -0.020951908081769943, -0.024239862337708473, 0.030826540663838387, 0.010166524909436703, 0.005467134993523359, 0.004917282611131668, 0.02731265500187874, 0.028068531304597855, -0.05019930377602577, 0.03136579692363739, 0.005751871969550848, 0.036885395646095276, -0.08459047228097916, 0.02124466747045517, -0.008815686218440533, -0.024333786219358444, -0.0035601116251200438, 0.06249062344431877, 0.029932066798210144, 0.038734450936317444, 0.07852640748023987, 0.018163273110985756, -0.03870798647403717, 0.05401952192187309, 0.04070363938808441, -0.037666913121938705, -0.061224836856126785, -0.012507052160799503, -0.005492263939231634, -0.046324294060468674, 0.00177104864269495, -0.03340664133429527, 0.040385209023952484, 0.03127165883779526, -0.004101556725800037, -0.02699057199060917, 0.004156424198299646, -0.036070600152015686, -0.022180156782269478, -0.04592040553689003, -0.051065463572740555, 0.03732748329639435, -0.028845282271504402, 0.02289174683392048, 0.04546957463026047, -0.0017138405237346888, 0.08032814413309097, 0.0411764495074749, -0.02595532312989235, -0.04500981420278549, 0.029937157407402992, 0.03598569333553314, -0.037798717617988586, -0.06643262505531311, -0.03844128176569939, 0.048109281808137894, 0.03544140234589577, 0.0031470288522541523, -0.0872308611869812, -0.0008405342814512551, 0.0445375069975853, -0.02566405013203621, 0.06853531301021576, -0.011768749915063381, 0.04286238178610802, 0.05345432087779045, -0.024324705824255943, 0.019030189141631126, -0.030028540641069412, 0.015877891331911087, 0.004234337713569403, 0.01853581890463829, -0.011902389116585255, -0.028380203992128372, -0.067862868309021, 0.011455853469669819, 0.037354446947574615, 0.03173234686255455, 0.04452044144272804, -0.023869588971138, -0.05541139841079712, 0.007581491954624653, 0.037176989018917084, -0.04350341856479645, 0.027863502502441406, 0.014814482070505619, 0.029410332441329956, -0.03979187831282616, -0.014527915045619011, -0.006380905397236347, 0.007188600022345781, 0.024188540875911713, 0.01336142048239708, -0.045669980347156525, -0.04199495539069176, 0.011623667553067207, -0.02876785211265087, -0.03486446663737297, -0.07742848247289658, 0.030436264351010323, -0.01590607687830925, -0.002682517049834132, 0.04928408935666084, 0.030113549903035164, 0.04782693833112717, 0.02667686529457569, 0.012186885811388493, 0.013167084194719791, -0.032718438655138016, 0.035054951906204224, -0.03457631170749664, -0.013048107735812664, -0.013576862402260303, -0.03962082788348198, -0.00808717217296362, -0.03374282270669937, -0.04681612178683281, -0.04761375114321709, -0.0017592186341062188, 0.0373661182820797, -0.01714937388896942, -0.008486219681799412, -0.02359624020755291, 0.0533866323530674, -0.043605539947748184, -0.03658270463347435, -0.026220884174108505, -0.02646826021373272, -0.05810565873980522, -0.0423697866499424, 0.019326742738485336, -0.013170828111469746, 0.026028387248516083, 0.004411486443132162, 0.021307416260242462, 0.01648753508925438, -0.015360360965132713, 0.004211924970149994, 0.03044971637427807, -0.014509915374219418, -0.03464999049901962, -0.038451679050922394, 0.022022275254130363, 0.0013906370149925351, 0.0630357414484024, -0.016131369397044182, 0.030333418399095535, 0.032739948481321335, -0.03303052857518196, -0.010641559027135372, 0.007437094580382109, 0.047861047089099884, -0.05748828873038292, -0.045730143785476685, -0.008738528937101364, -0.06216534599661827, 0.008929703384637833, -0.005104334093630314, 0.009571961127221584, 0.02326635643839836, 0.014563646167516708, 0.04028535261750221, -0.0038600019179284573, -0.021232789382338524, 0.01027700211852789, -0.0017490290338173509, 0.006353478878736496, -0.06259603053331375, 0.05076608806848526, -0.020386449992656708, 0.01009420771151781, -0.00733356736600399, -0.010636089369654655, -0.03079080954194069, 0.02375723607838154, -0.013119569979608059, -0.012361696921288967, -0.004646975081413984, 0.020514722913503647, -0.013268926180899143, 0.0298120379447937, -0.025188401341438293, 0.016200950369238853, -0.03226596117019653, 0.058682505041360855, -0.03271067515015602, 0.022846411913633347, -0.029563460499048233, -0.006214168854057789, -0.027790291234850883, -0.019393520429730415, -0.0033713700249791145, -0.05959279462695122, 0.055029913783073425, 0.05681542679667473, 0.03019050508737564, 0.040114015340805054, -0.02860790304839611, 0.0005110399215482175, -0.011600070632994175, -0.04502152279019356, -0.0076300231739878654, -0.009800998494029045, 0.03470945730805397, 0.007700876332819462, 0.04572230204939842, 0.02000313065946102, -0.05757814273238182, -0.061990268528461456, 0.03893926367163658, 0.0043504489585757256, 0.004119705408811569, 0.018079938367009163, 0.020474061369895935, 0.024202801287174225, 0.061913665384054184, -0.02031797543168068, 0.007899940013885498, -0.020062539726495743, -0.02747063711285591, 0.027044765651226044, -0.013815166428685188, 0.013203253038227558, -0.00010917724284809083, -0.04449089244008064, -0.014631833881139755, 0.06497219949960709, 0.026957636699080467, 0.022734057158231735, -0.026951642706990242, -0.03755354508757591, 0.007019438780844212, -0.012160426937043667, -0.0591825507581234, 0.009904979728162289, -0.0074511943385005, -0.023689914494752884, 0.09304717183113098, -0.009125949814915657, 0.0029722980689257383, 0.0315743125975132, 0.010358252562582493, -0.025758851319551468, 0.04578201100230217, -0.01318096648901701, 0.019788336008787155, 0.035159554332494736, -0.06437745690345764, -0.002842191606760025, -0.02045341581106186, 0.061476387083530426, -0.07852394878864288, 0.03509370610117912, 0.04837798699736595, 0.013426801189780235, 0.032055992633104324, -0.03158576413989067, -0.035852622240781784, 0.05735623836517334, -0.0326114222407341, 0.08555436134338379, 0.019269855692982674, -0.04537861421704292, 0.06837429851293564, 0.016715295612812042, -0.10482299327850342, 0.05341995134949684, 0.044314075261354446, 0.029340554028749466, 0.025493260473012924, 0.06444018334150314, -0.05422927066683769, 0.008459048345685005, -0.03808384761214256, 0.02035013772547245, -0.06087764725089073, 0.010321958921849728, 0.025645531713962555, -0.05130314826965332, -0.017910508438944817, 0.011286232620477676, -0.01826205477118492, -0.026157919317483902, 0.009410591796040535, -0.054887961596250534, -0.01582842506468296, -0.011772888712584972, 0.03925749659538269, -0.05183858051896095, 0.016771748661994934, -0.03889142721891403, 0.013291426934301853, 0.0256439708173275, -0.0014440227532759309, -0.020003970712423325, -0.016857368871569633, 0.01087288185954094, -0.05692409351468086, -0.05563734471797943, 0.02229399047791958, 0.025631045922636986, -0.017223147675395012, 0.05883825570344925, 0.01165870949625969, 0.020511820912361145, 0.025986099615693092, 0.012234838679432869, 0.02793295867741108, -0.06255928426980972, -0.021910933777689934, -0.013787989504635334, 0.02198527753353119, 0.02501104399561882, -0.01673269458115101, 0.05887340009212494, 0.052792131900787354, -0.0014318606117740273, 0.015314447693526745, -0.03447025641798973, -0.029862018302083015, 0.04073837026953697, -0.050829190760850906, 0.021096384152770042, 0.016758129000663757, -0.044922325760126114, -0.029566476121544838, -0.010778378695249557, -0.006653433199971914, 0.0357794351875782, -0.06460672616958618, 0.008353492245078087, 0.02383124828338623, -0.03341368958353996, -0.044064268469810486, -0.06262142211198807, -0.027408400550484657, -0.0386015959084034, 0.04336341470479965, 0.024620139971375465, -0.049972839653491974, 0.010426674969494343, -0.050311725586652756, -0.05359186604619026, 0.01254953071475029, 0.020276134833693504, -0.032628752291202545, 0.06450846791267395, 0.04329478368163109, -0.059510182589292526, 0.024015001952648163, 0.05029328167438507, -0.0193194430321455, 0.02778761275112629, 0.016744021326303482, 0.0140934307128191, 0.045660294592380524, 0.031532734632492065, -0.03769189119338989, -0.028430407866835594, -0.06185163930058479, -0.03515779227018356, -0.029914697632193565, -0.01759018935263157, 0.04952474310994148 ]
Advertisement/FischlUWU
[]
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 --- # Rick DialoGPT model
[ -0.028888659551739693, 0.033706724643707275, 0.007824822328984737, 0.015386172570288181, 0.018671132624149323, 0.014146198518574238, -0.0017690325621515512, 0.021557044237852097, -0.007772370707243681, 0.019675742834806442, 0.03969733044505119, -0.029889648780226707, 0.01553419977426529, 0.040638938546180725, -0.04222702980041504, -0.029669350013136864, -0.019344596192240715, 0.011676670052111149, -0.03179194778203964, -0.017220912501215935, 0.02744896523654461, 0.004485345911234617, -0.01914559118449688, 0.022769158706068993, 0.007261708844453096, 0.017737390473484993, -0.005163039546459913, 0.008354921825230122, 0.018823495134711266, -0.03237411752343178, 0.019296331331133842, -0.05122454836964607, -0.0067878603003919125, -0.02080271579325199, -0.038940295577049255, -0.04625352472066879, 0.035089943557977676, -0.018817558884620667, -0.012959279119968414, 0.03566287085413933, -0.01872270554304123, -0.002809254452586174, 0.009761068969964981, -0.03650636970996857, 0.07090841233730316, -0.013900385238230228, -0.0507630929350853, -0.03408893197774887, 0.02617393434047699, -0.038434188812971115, -0.03694343566894531, -0.05562477558851242, -0.05879143625497818, -0.014998977072536945, 0.019073789939284325, -0.06485400348901749, -0.06855128705501556, -0.02619001641869545, 0.10190906375646591, -0.010278970003128052, -0.0036578956060111523, -0.007213950157165527, -0.07527308911085129, 0.010293177329003811, 0.02796981669962406, -0.07707038521766663, 0.011013375595211983, -0.04729523882269859, 0.021984010934829712, -0.029168864712119102, 0.053507380187511444, -0.04162692651152611, 0.014685098081827164, -0.08538515120744705, -0.02370273694396019, -0.004902830813080072, 0.04725288599729538, 0.06441238522529602, -0.045109618455171585, 0.03221313655376434, 0.04691842198371887, 0.004382100887596607, 0.06072834134101868, -0.01661013998091221, -0.03246738016605377, 0.049648985266685486, -0.04750123620033264, 0.0085619380697608, -0.0006531053222715855, 0.029094763100147247, -0.017034992575645447, -0.06098886579275131, -0.02610470913350582, -0.007211497984826565, -0.0012024719035252929, 0.04033733531832695, 0.025213763117790222, -0.02903152070939541, 0.016262369230389595, 0.0353219173848629, 0.034323979169130325, 0.04855182021856308, -0.022262226790189743, 0.020026659592986107, -0.0007268761983141303, 0.031357292085886, 0.03116578795015812, -0.014095627702772617, -0.05124920234084129, 0.023758571594953537, 0.01957736164331436, -0.051199693232774734, -0.026406675577163696, 0.03360380232334137, -0.002202729694545269, 0.013540603220462799, 0.05814724788069725, -0.041088398545980453, -0.03741629794239998, -0.057600293308496475, 0.05355909839272499, -0.011099500581622124, -0.006569446995854378, -0.004498342052102089, -0.05595851689577103, -0.006432943977415562, -0.044903963804244995, -0.006830174010246992, -0.018691571429371834, -0.004439475946128368, 0.019483665004372597, 0.02854139357805252, -0.022338131442666054, -0.05612809211015701, -0.002391065703704953, 0.0495024248957634, -0.0695173516869545, 0.0012599971378222108, 0.04900509864091873, 0.08926659822463989, -0.0793752521276474, -0.04578406363725662, -0.004695556126534939, 0.018740370869636536, -0.027500620111823082, -0.010581797920167446, 0.005281226243823767, -0.013922001235187054, -0.03402964398264885, -0.01099624577909708, 0.02813011221587658, -0.049898210912942886, 0.0011726564262062311, 0.05307890102267265, 0.01397815439850092, 0.012264267541468143, -0.018171880394220352, 0.005199642386287451, -0.011567388661205769, -0.026325466111302376, -0.06116334721446037, 0.04480363801121712, -0.03022025339305401, -0.05330507829785347, -0.0359547920525074, -0.029741980135440826, 0.016696305945515633, 0.0659090206027031, 0.02297564037144184, -0.007384478114545345, -0.025103894993662834, 0.030834302306175232, 0.05637446418404579, 0.04001687467098236, -0.010944304056465626, 0.021580904722213745, 0.05329786241054535, 0.011954070068895817, -0.049819543957710266, 0.07788892090320587, 0.01398660521954298, -0.02868090383708477, -0.05115233361721039, -0.012565482407808304, 0.02701685018837452, -0.02826395072042942, 0.01774345524609089, 0.04439760372042656, -0.019344864413142204, -0.02873685024678707, 0.0024202638305723667, 0.04455263167619705, -0.012267508544027805, 0.001332560321316123, -0.020756207406520844, -0.0264042466878891, -0.028049204498529434, 0.009273985400795937, -0.03466648608446121, -0.007084450218826532, -0.029773395508527756, -0.009367180056869984, 0.040688641369342804, -0.013437396846711636, 0.011092145927250385, 0.05154476687312126, -0.02089187502861023, 0.05628197640180588, -0.03247498348355293, 0.02361123636364937, -0.03694426268339157, -0.014127177186310291, -0.0374419130384922, 0.039675354957580566, 0.017357926815748215, 0.05108211189508438, -0.04564942046999931, -0.05094810202717781, 0.02858908474445343, 0.0597718171775341, 0.03364112228155136, 0.028308764100074768, -0.01706133969128132, 0.0020018955692648888, 0.03594131022691727, 0.022839656099677086, -0.038099173456430435, 0.02320897951722145, 0.007653624285012484, 0.022022031247615814, -0.017549682408571243, -0.02111794240772724, -0.04631844162940979, 0.013805808499455452, -0.05043850839138031, -0.05739320442080498, 0.04947005957365036, 0.036976344883441925, -0.010013941675424576, 0.05606146901845932, -0.0007209612522274256, -0.006740081589668989, 0.038406290113925934, 0.005950422957539558, 0.015210961923003197, -0.08525510877370834, 0.011709356680512428, 0.03630044311285019, 0.09403462707996368, -0.04398137331008911, 0.010888354852795601, 0.018360812216997147, 0.027889925986528397, 0.01921890676021576, -0.018842142075300217, 0.0399516224861145, 0.049377042800188065, 0.0508723184466362, -0.01470103021711111, 0.031592316925525665, 0.0011413188185542822, 0.017253287136554718, 0.0577457994222641, -0.01751857064664364, 0.06786078214645386, -0.01844915561378002, 0.015107984654605389, 0.05054056644439697, 0.015568382106721401, -0.02909799851477146, 0.018208421766757965, 0.07027953118085861, 0.004706938285380602, 0.02473856694996357, 0.037666015326976776, -0.004024547524750233, -0.002599333878606558, -0.04047979786992073, -0.010696887969970703, 0.0011493060737848282, -0.03229812532663345, 0.058525457978248596, 0.012776750139892101, -0.011445855721831322, 0.004776237066835165, -0.0048950002528727055, -0.005515565630048513, 0.05322578549385071, -0.0015128781087696552, -0.02269374579191208, -0.0009528960799798369, -0.015352594666182995, 0.021681206300854683, -0.04099620133638382, -0.03508566692471504, -0.016634685918688774, -0.059086594730615616, -0.007827164605259895, -0.08928006887435913, -0.0504579097032547, -0.07432805746793747, -0.021358666941523552, 0.04064299166202545, 0.01790601946413517, 0.018369995057582855, 0.015111529268324375, -0.00147305428981781, -0.013333456590771675, -0.06826567649841309, -0.048641957342624664, -0.021833272650837898, -0.014412730932235718, -0.041618701070547104, 0.03102121874690056, 0.034063488245010376, 0.03145114332437515, 0.0008196098497137427, -0.019723551347851753, -0.041486043483018875, -0.02241140604019165, 0.03580097481608391, 0.020821448415517807, -0.053304702043533325, -0.04649936780333519, 0.008670756593346596, -0.0003474674595054239, -0.01054142415523529, -0.019487272948026657, -0.04689638689160347, 0.0681111291050911, 0.0452469065785408, 0.004062335006892681, 0.013261399231851101, -0.005245580803602934, -0.03083982691168785, -0.0233624130487442, -0.06282272934913635, -0.032466109842061996, -0.014898928813636303, -0.02641410194337368, -0.04739205911755562, -0.025143355131149292, -0.03601605072617531, -0.00519795436412096, -0.0045235175639390945, -0.00227486714720726, 0.03462772071361542, 0.015848364681005478, 0.03183649480342865, 0.01720038428902626, -0.015929747372865677, -0.028800824657082558, 0.03702004626393318, -0.021014723926782608, -0.008578441105782986, -0.06797640770673752, -0.04468488320708275, 0.03613397106528282, 0.013035859912633896, 0.0010921821231022477, -0.02573630027472973, 0.029012398794293404, 0.04054699093103409, 0.00366011681035161, 0.025281650945544243, -0.06413283199071884, 0.0015065560583025217, -0.04323814436793327, -0.030452674254775047, -0.047505106776952744, -0.02912236750125885, -0.008074487559497356, -0.00817693118005991, 0.033972907811403275, -0.08293408900499344, -0.029953084886074066, -0.02626904658973217, 0.008341388776898384, 0.05329754576086998, -0.0034229003358632326, -0.04642381891608238, -0.007451536133885384, -0.03656071797013283, -0.016384022310376167, 0.0010679361876100302, -0.019309986382722855, -0.0061695086769759655, 0.027697265148162842, 0.00725013529881835, -0.019827062264084816, 0.04943602904677391, 0.012003358453512192, 0.068802110850811, 0.051384374499320984, -0.033920351415872574, 0.03785459324717522, -0.036035727709531784, 0.03098267689347267, -0.02185620553791523, -0.025990722700953484, -0.03251568228006363, -0.10860896110534668, -0.053420085459947586, 0.03581668809056282, -0.015949999913573265, 0.01302108820527792, 0.027622150257229805, -0.05282055586576462, 0.007691194303333759, 0.013991865329444408, 0.0444876104593277, 0.03861801698803902, -0.0336473286151886, 0.058440349996089935, 0.007673573214560747, 0.02898772433400154, -0.05609894171357155, -0.011382423341274261, -0.06512383371591568, -0.018432293087244034, -0.004417541436851025, 0.05187803879380226, 0.0023373893927782774, 0.06033332273364067, 0.07581473141908646, 0.031898096203804016, -0.045294757932424545, 0.04507879912853241, 0.07440565526485443, -0.03098621405661106, -0.02741687372326851, -0.005302061792463064, 0.005484981928020716, -0.01845180056989193, -0.01197285670787096, -0.03323062136769295, 0.045657671988010406, 0.028906023129820824, -0.01086952444165945, 0.012690216302871704, 0.004462912678718567, -0.03376592695713043, -0.027175428345799446, -0.0721861943602562, -0.014651896432042122, -0.007792256772518158, -0.019657861441373825, 0.048346247524023056, 0.04568038880825043, 0.012744016945362091, 0.05688555911183357, 0.01879297010600567, -0.019111711531877518, -0.05215637758374214, 0.03072313405573368, 0.01894162967801094, -0.04748747870326042, -0.04296841844916344, -0.04381483793258667, 0.023407725617289543, 0.04792198911309242, -0.03343423828482628, -0.08735617250204086, 0.021490061655640602, 0.050405167043209076, -0.04222630336880684, 0.05581720173358917, 0.004874924197793007, 0.05991319194436073, 0.028466278687119484, 0.006164533086121082, 0.05164564773440361, -0.07039649784564972, 0.028380438685417175, -0.016400543972849846, 0.012867500074207783, -0.054129645228385925, -0.04751630127429962, -0.04884440824389458, 0.03687206655740738, 0.024988293647766113, 0.014277907088398933, 0.018999852240085602, -0.0445261113345623, -0.049035318195819855, 0.0037583012599498034, 0.041303202509880066, -0.014843480661511421, 0.026467273011803627, 0.031551994383335114, 0.048258695751428604, -0.058456387370824814, 0.0067580989561975, 0.009266369976103306, 0.015880851075053215, 0.024848053231835365, -0.018000174313783646, -0.043304938822984695, -0.0021161793265491724, 0.023410702124238014, -0.044472064822912216, -0.028379082679748535, -0.08559440076351166, 0.018573807552456856, -0.022483035922050476, -0.028252670541405678, 0.07562384009361267, 0.06401278078556061, 0.060366470366716385, 0.06673048436641693, -0.006136574782431126, 0.050804827362298965, -0.03152680769562721, 0.015620728023350239, -0.03371419757604599, -0.031608469784259796, -0.0007862126803956926, -0.06259450316429138, -0.03692774474620819, -0.03929075226187706, -0.04378955066204071, -0.031169423833489418, 0.016785725951194763, 0.01082234364002943, -0.0019387471256777644, -0.011506118811666965, 0.0137564055621624, 0.008544184267520905, -0.012591112405061722, -0.029583998024463654, -0.00278680631890893, -0.018009530380368233, -0.06706033647060394, -0.06100413203239441, 0.027641763910651207, -0.02205219678580761, 0.010857612825930119, 0.00907212495803833, 0.02009928598999977, 0.041094809770584106, -0.016109684482216835, -0.03105255402624607, 0.020540181547403336, 0.03228015452623367, -0.028306931257247925, -0.02128135785460472, 0.009211713448166847, 0.019344491884112358, 0.02873331867158413, -0.03280329704284668, 0.04802070930600166, 0.0056960200890898705, -0.05619974806904793, -0.026384977623820305, 0.02937365509569645, 0.0050371247343719006, -0.06401390582323074, -0.02063768357038498, -0.04686685651540756, -0.03709203377366066, 0.007203295826911926, -0.06251075863838196, -0.013961746357381344, -0.012727731838822365, 0.04914044588804245, 0.033429067581892014, 0.0012428974732756615, -0.017659304663538933, 0.0005448991432785988, -0.017046010121703148, 0.01144016720354557, -0.0725039690732956, 0.024105368182063103, -0.03551269322633743, 0.022239040583372116, -0.02156372368335724, 0.018423089757561684, -0.03996071591973305, 0.047573965042829514, -0.026035090908408165, -0.010657376609742641, -0.00714662903919816, -0.02407398447394371, -0.0024934380780905485, 0.05038398876786232, 0.01590277999639511, 0.013261020183563232, -0.038175929337739944, 0.07513818889856339, -0.0422712117433548, 0.010551674291491508, -0.014845436438918114, -0.03165879845619202, -0.019910583272576332, -0.00321132130920887, 0.007446122355759144, -0.06441941857337952, 0.027702121064066887, 0.035164691507816315, 0.04120422899723053, 0.04483199492096901, 0.003930895589292049, 0.0060156723484396935, 0.023900391533970833, -0.059469014406204224, -0.04141658917069435, -0.0013632741756737232, -0.007386820390820503, 0.03063441812992096, 0.047648631036281586, 0.03282887861132622, -0.05049746483564377, -0.021849818527698517, 0.02456081658601761, 0.011939766816794872, 0.01417178101837635, 0.0005980996647849679, 0.04245617240667343, 0.05509785935282707, 0.05403297394514084, -0.01045047678053379, 0.00980458129197359, 0.0327184721827507, -0.016730591654777527, -0.016509730368852615, 0.0015012879157438874, 0.013963771052658558, 0.015048527158796787, -0.02710523083806038, -0.03690819442272186, 0.07585334032773972, -0.020845409482717514, -0.0006725311395712197, -0.01777353323996067, -0.04694274440407753, 0.07709971815347672, -0.01152396947145462, -0.03318779543042183, -0.008970720693469048, 0.03819390386343002, -0.010049973614513874, 0.039007846266031265, -0.01836378686130047, 0.010385788045823574, 0.06095774844288826, 0.02736661024391651, 0.004896695259958506, 0.0020545274019241333, -0.005328095983713865, -0.005876207258552313, 0.019841497763991356, -0.04587894305586815, -0.022436028346419334, -0.044671256095170975, 0.07460470497608185, -0.03899042308330536, 0.04989809915423393, 0.02604706771671772, 0.04199336841702461, 0.0269757229834795, -0.048213981091976166, -0.049242209643125534, -0.022003674879670143, -0.03832103684544563, 0.05612857639789581, -0.013193023391067982, -0.03943552449345589, 0.06176340579986572, 0.024618864059448242, -0.09296494722366333, 0.04300712049007416, 0.04061981290578842, 0.0379461944103241, 0.033293481916189194, 0.04568229243159294, -0.055453673005104065, 0.02719905972480774, -0.029665503650903702, 0.011232377029955387, -0.03251631557941437, -0.0014236349379643798, -0.02736901491880417, -0.04441651329398155, 0.0065196058712899685, 0.035640861839056015, -0.02180355042219162, 0.00386217818595469, 0.005381155759096146, -0.014192215166985989, -0.0630960613489151, -0.0014067525044083595, 0.0267782062292099, -0.002209051977843046, -0.020268650725483894, -0.03810764104127884, 0.02027449570596218, 0.04161125421524048, -0.003831492504104972, -0.04653605818748474, 0.013166513293981552, -0.0205653365701437, -0.0808444544672966, -0.060771916061639786, 0.06529968976974487, 0.007708521094173193, -0.003088957630097866, 0.00824215542525053, 0.036405470222234726, 0.012753107585012913, 0.03219461068511009, -0.014408400282263756, 0.00019446341320872307, -0.08998620510101318, 0.003529634326696396, 0.025952965021133423, 0.0158756822347641, -0.00779622420668602, 0.0010258897673338652, 0.029984883964061737, 0.09030231833457947, 0.04053906723856926, -0.005806890316307545, -0.05922045186161995, -0.023055827245116234, -0.0033478131517767906, -0.030880557373166084, 0.04308747500181198, 0.013248526491224766, -0.06357918679714203, -0.020767629146575928, -0.0183346476405859, 0.00408555194735527, 0.042823877185583115, -0.032854966819286346, 0.03256338834762573, 0.015100032091140747, -0.0004051969153806567, -0.046234890818595886, -0.10023607313632965, -0.0529482401907444, -0.007785910740494728, 0.021473994478583336, 0.03401326760649681, -0.04592093825340271, 0.012375104241073132, -0.029794538393616676, 0.0014456608332693577, 0.053075820207595825, -0.016875941306352615, -0.01400790922343731, 0.08006268739700317, 0.07427632063627243, -0.03312988951802254, 0.05804673209786415, 0.02998318150639534, -0.031385209411382675, 0.05132690444588661, 0.0011012242175638676, 0.010860324837267399, 0.013015463016927242, 0.012747176922857761, -0.01762470230460167, -0.0041170199401676655, -0.007634298410266638, -0.03097711130976677, -0.0067527759820222855, -0.0032527989242225885, 0.04597537964582443 ]
AetherIT/DialoGPT-small-Hal
[ "conversational" ]
conversational
{ "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 --- # DialoGPT Medium JAB
[ -0.03134142979979515, 0.02003323659300804, -0.0004307293856982142, 0.009628614410758018, 0.023770606145262718, 0.016412675380706787, -0.00422436511144042, 0.037367843091487885, -0.0051212795078754425, 0.01947127841413021, 0.015662837773561478, -0.03999720513820648, 0.008005203679203987, 0.03644464910030365, -0.06223815307021141, -0.006886488292366266, -0.039597079157829285, -0.0030206628143787384, -0.022784244269132614, -0.01614389196038246, 0.04363200068473816, 0.00442085275426507, -0.0427912101149559, 0.027810566127300262, -0.001211167429573834, 0.03535504266619682, -0.01277521625161171, 0.011970404535531998, 0.03135240823030472, -0.012970628216862679, 0.011616426520049572, -0.04646677523851395, -0.025085225701332092, -0.021339526399970055, -0.028238924220204353, -0.03432910516858101, 0.01518440805375576, 0.0003677515487652272, -0.012939561158418655, 0.034402571618556976, -0.013996955007314682, -0.004017324652522802, 0.011644438840448856, -0.04049554094672203, 0.05485124886035919, -0.012859616428613663, -0.04515362158417702, -0.021753719076514244, 0.017147613689303398, -0.046180207282304764, -0.04910826310515404, -0.06635510176420212, -0.05342564731836319, -0.028517525643110275, 0.019549598917365074, -0.0447399839758873, -0.06358062475919724, -0.01273637730628252, 0.08391790091991425, -0.017745688557624817, -0.007724930066615343, 0.008118766359984875, -0.09383600950241089, 0.011021587066352367, 0.011545561254024506, -0.07144765555858612, 0.01060309074819088, -0.047289736568927765, 0.013408685103058815, -0.02444593608379364, 0.04934614524245262, -0.04417208954691887, 0.030917346477508545, -0.06671015918254852, -0.009052137844264507, -0.01170026883482933, 0.042873211205005646, 0.06750348210334778, -0.03609869256615639, 0.05181112885475159, 0.032717540860176086, 0.026628956198692322, 0.05783378332853317, -0.008058080449700356, -0.03149088844656944, 0.03298705816268921, -0.04516748711466789, 0.008799622766673565, 0.010426027700304985, 0.018345870077610016, -0.013293827883899212, -0.060461048036813736, -0.032590996474027634, -0.011374101974070072, 0.0027976809069514275, 0.053126171231269836, 0.0246292632073164, -0.0458642840385437, 0.02782701887190342, 0.0427340567111969, 0.019498974084854126, 0.051590483635663986, -0.0271147433668375, 0.03154073283076286, -0.004947984125465155, 0.02960127964615822, 0.008188099600374699, -0.025289257988333702, -0.04504713788628578, 0.03299996256828308, 0.005475706420838833, -0.053161077201366425, -0.020549891516566277, 0.04484235867857933, 0.004561068955808878, -0.010048543103039265, 0.05660901963710785, -0.018435252830386162, -0.020930083468556404, -0.05767114460468292, 0.05893406271934509, -0.0039665051735937595, -0.023464512079954147, -0.00033795612398535013, -0.04127763211727142, 0.005646261386573315, -0.04063015058636665, -0.025403082370758057, -0.003535389667376876, -0.017147529870271683, 0.01149006374180317, 0.04159703105688095, -0.029817963019013405, -0.0560835525393486, 0.011151359416544437, 0.024288009852170944, -0.0638895332813263, 0.002511323429644108, 0.0344461165368557, 0.08196132630109787, -0.06558907777070999, -0.04688354209065437, -0.024423018097877502, 0.02713604085147381, -0.014094924554228783, -0.010850904509425163, 0.007394677028059959, 0.0004701424913946539, -0.03565705567598343, -0.010333308018743992, 0.020441725850105286, -0.06479386240243912, -0.007621582131832838, 0.0498930849134922, 0.018173158168792725, 0.023259237408638, -0.029186520725488663, 0.0034792821388691664, 0.005620002280920744, -0.03376806154847145, -0.052856963127851486, 0.028353385627269745, -0.01922360062599182, -0.05028323829174042, -0.04075212776660919, -0.04390067234635353, 0.005198404658585787, 0.07170187681913376, 0.024305419996380806, -0.024852266535162926, -0.013793686404824257, 0.02628929540514946, 0.06168682873249054, 0.04117657616734505, -0.01249709166586399, 0.013236590661108494, 0.05012055113911629, 0.01656930148601532, -0.03284349665045738, 0.0792003720998764, 0.007763997185975313, -0.017516935244202614, -0.06044524535536766, -0.02303588017821312, 0.036709655076265335, -0.032180774956941605, 0.00902633462101221, 0.02867913991212845, -0.018756503239274025, -0.033714521676301956, 0.00980454869568348, 0.05003559589385986, -0.023948853835463524, -0.004327604081481695, -0.0231556985527277, -0.03933851793408394, -0.041991084814071655, 0.014925670810043812, -0.04497366026043892, -0.027358265593647957, -0.02706362120807171, -0.002120123477652669, 0.0383860282599926, 0.010280633345246315, 0.00830251444131136, 0.04066196456551552, -0.010541708208620548, 0.048569753766059875, -0.04806977137923241, 0.011035981588065624, -0.03078000433743, -0.021018410101532936, -0.027461133897304535, 0.05226089805364609, 0.02355400286614895, 0.04337748885154724, -0.04778854921460152, -0.04626118391752243, 0.02328755520284176, 0.054056234657764435, 0.024565311148762703, 0.02582745999097824, -0.02669554017484188, -0.005652439780533314, 0.037360988557338715, 0.025718022137880325, -0.04628676921129227, 0.00399004528298974, 0.02070891484618187, 0.026896880939602852, -0.027419812977313995, -0.01610923931002617, -0.03927256166934967, -0.0021584450732916594, -0.040956050157547, -0.06340436637401581, 0.041335102170705795, 0.031115036457777023, -0.0185001902282238, 0.0351049080491066, -0.005700001493096352, -0.011701656505465508, 0.03264974430203438, 0.005174471065402031, 0.002591241616755724, -0.07471750676631927, 0.0020664765033870935, 0.02290780283510685, 0.0895547866821289, -0.05282336473464966, 0.004805258009582758, 0.004027517978101969, 0.02340039797127247, 0.024784503504633904, -0.007835485972464085, 0.04554354026913643, 0.03792539983987808, 0.047735486179590225, -0.013535480946302414, 0.017133016139268875, 0.006800790783017874, 0.026589784771203995, 0.06577721238136292, -0.005582746118307114, 0.06637188047170639, -0.02289414405822754, 0.03781507909297943, 0.049248311668634415, 0.019464176148176193, -0.003410801524296403, 0.031001754105091095, 0.07035301625728607, 0.006523988209664822, 0.011321448720991611, 0.0388055145740509, 0.01142833661288023, 0.0011733785504475236, -0.03926549106836319, -0.001617241301573813, 0.003119370434433222, -0.036854710429906845, 0.0655997097492218, -0.00915539637207985, -0.015266827307641506, 0.00034534779842942953, -0.012847336940467358, -0.0038551404140889645, 0.04222242906689644, -0.02027720771729946, -0.005600585602223873, 0.018199162557721138, -0.02307899296283722, 0.037816956639289856, -0.03835197538137436, -0.03847585245966911, -0.012162229977548122, -0.04989571124315262, -0.01510535553097725, -0.09139477461576462, -0.034977711737155914, -0.059893444180488586, -0.02444586157798767, 0.062207337468862534, 0.01932368613779545, 0.023760521784424782, -0.002199755050241947, 0.01233076024800539, -0.007722265552729368, -0.0611853152513504, -0.057869892567396164, -0.03528004512190819, -0.007230077404528856, -0.044852882623672485, 0.03128468990325928, 0.04908357560634613, 0.033959537744522095, 0.001404776587150991, -0.01919679529964924, -0.04490560665726662, -0.031099768355488777, 0.04535668343305588, 0.01544835977256298, -0.040598202496767044, -0.03606846183538437, 0.004833487328141928, 0.019443409517407417, -0.0025763914454728365, -0.019357340410351753, -0.0535297617316246, 0.07905473560094833, 0.02361340820789337, 0.00874300953000784, 0.017148638144135475, -0.0015358154196292162, -0.03513424098491669, -0.022609835490584373, -0.043510474264621735, -0.021811118349432945, -0.0077433655969798565, -0.00980874802917242, -0.05772780254483223, -0.03835856541991234, -0.055749837309122086, -0.005470966454595327, 0.003447191556915641, 0.010048612020909786, 0.03538218513131142, 0.024132443591952324, 0.03331708908081055, 0.031155766919255257, -0.005253858398646116, -0.01197731401771307, 0.05685185268521309, -0.02369442582130432, -0.0032712824176996946, -0.058865737169981, -0.0506494976580143, 0.03864681348204613, 0.009392252191901207, -0.002584989881142974, -0.022549493238329887, 0.04483143240213394, 0.05276167765259743, -0.008639674633741379, 0.03228605538606644, -0.054466698318719864, -0.0034835764672607183, -0.0323999784886837, -0.01880907639861107, -0.046907950192689896, -0.03258508816361427, -0.006295328959822655, -0.008681719191372395, 0.043757710605859756, -0.0846651941537857, -0.03488378971815109, -0.02897326834499836, 0.0010071147698909044, 0.0413527637720108, -0.009989519603550434, -0.054131653159856796, -0.006599778309464455, -0.03612270578742027, -0.021237889304757118, -0.007252123672515154, -0.014250424690544605, 0.001841781777329743, 0.02991565503180027, 0.016458170488476753, -0.021713733673095703, 0.06252074241638184, 0.009545091539621353, 0.07274468243122101, 0.05946369841694832, -0.02348942868411541, 0.032389674335718155, -0.018828509375452995, 0.032865699380636215, -0.0029220604337751865, -0.027804939076304436, -0.04286549612879753, -0.10250105708837509, -0.038413047790527344, 0.02796207182109356, -0.010897215455770493, 0.004950673785060644, 0.049728237092494965, -0.04352043196558952, 0.0011288211680948734, -0.01522562000900507, 0.03391101956367493, 0.03819151595234871, -0.029276972636580467, 0.06454382836818695, -0.0007629339233972132, 0.04315797984600067, -0.06216370314359665, -0.01666448451578617, -0.056378304958343506, -0.018757252022624016, 0.010511444881558418, 0.05517139285802841, 0.006612782366573811, 0.03678926080465317, 0.07632408291101456, 0.048116862773895264, -0.04435787722468376, 0.05619780346751213, 0.06567852944135666, -0.015581266023218632, -0.032581835985183716, -0.005721008870750666, -0.007767024915665388, -0.023855363950133324, 0.00012356751540210098, -0.040124889463186264, 0.010838380083441734, 0.04121774062514305, -0.006174253299832344, 0.022165870293974876, 0.01077493466436863, -0.03405705466866493, -0.0305414330214262, -0.06568507105112076, -0.020421994850039482, 0.002395329065620899, -0.024520965293049812, 0.07043725997209549, 0.044726159423589706, 0.022096924483776093, 0.07713078707456589, 0.02930578961968422, -0.027068931609392166, -0.06460188329219818, 0.030304504558444023, 0.017845192924141884, -0.036311112344264984, -0.057693276554346085, -0.05026121437549591, 0.026795372366905212, 0.031710434705019, -0.017517130821943283, -0.08998286724090576, 0.029117830097675323, 0.05038857460021973, -0.02709144540131092, 0.06797119230031967, -0.0029397595208138227, 0.04972041770815849, 0.025594785809516907, 0.007481693755835295, 0.045720916241407394, -0.07396908104419708, 0.026911446824669838, -0.035453662276268005, 0.022561315447092056, -0.04965502768754959, -0.05216514691710472, -0.06106486916542053, 0.04438198730349541, 0.01934129372239113, 0.005390805192291737, 0.01670408435165882, -0.04206036776304245, -0.03814917802810669, -0.012341656722128391, 0.030979802832007408, -0.02758653461933136, 0.01105318870395422, 0.020149128511548042, 0.06519187241792679, -0.04789240285754204, 0.0035948650911450386, 0.032900121062994, 0.011925476603209972, 0.030783580616116524, -0.023205403238534927, -0.0386832058429718, -0.007482155691832304, 0.036184750497341156, -0.030580919235944748, -0.03309887647628784, -0.10830532014369965, 0.03999396041035652, -0.027020208537578583, -0.027658801525831223, 0.06177077069878578, 0.049661144614219666, 0.053951919078826904, 0.06894510984420776, -0.008295800536870956, 0.049651604145765305, -0.026300672441720963, 0.01585795357823372, -0.0433821976184845, -0.03613196685910225, -0.006203555501997471, -0.07707848399877548, -0.0437411330640316, -0.031327374279499054, -0.03497227653861046, -0.025753440335392952, 0.016962936148047447, 0.017839310690760612, 0.002877989783883095, -0.013757112435996532, -0.0005724199581891298, 0.011359261348843575, -0.020290952175855637, -0.0330059677362442, 0.021047649905085564, -0.014950667507946491, -0.0963897556066513, -0.057390689849853516, 0.025192195549607277, -0.023186028003692627, 0.010091690346598625, 0.0026875503826886415, 0.014453008770942688, 0.05574396997690201, -0.0029631718061864376, -0.024267766624689102, 0.018181638792157173, 0.030795222148299217, -0.016812346875667572, -0.014778402633965015, 0.012663129717111588, 0.024700557813048363, 0.017201080918312073, -0.02268366515636444, 0.025609824806451797, -0.016013531014323235, -0.0662127360701561, -0.016886398196220398, 0.011596919037401676, 0.01282105315476656, -0.0714947059750557, -0.02016115002334118, -0.04435484856367111, -0.024009551852941513, 0.010245418176054955, -0.0637228861451149, -0.03609535098075867, 0.009418300352990627, 0.043704744428396225, 0.026452483609318733, 0.005995908286422491, -0.024190109223127365, 0.006050832103937864, -0.009837818332016468, -0.007327395956963301, -0.077431820333004, 0.016513822600245476, -0.024710867553949356, -0.00521291047334671, -0.028145430609583855, 0.008607285097241402, -0.03314729034900665, 0.0503496453166008, -0.004757177550345659, 0.003511519869789481, 0.0029946009162813425, -0.0034088778775185347, -0.0016794948605820537, 0.03663337975740433, 0.022940954193472862, 0.0010544487740844488, -0.026364529505372047, 0.05808757245540619, -0.061984170228242874, -0.0020560219418257475, 0.00938634667545557, -0.038623012602329254, -0.015389738604426384, -0.0005267349188216031, -0.0013818095903843641, -0.054919131100177765, 0.027097593992948532, 0.03561992198228836, 0.022522952407598495, 0.025969764217734337, -0.007934176363050938, 0.004950912203639746, 0.036873847246170044, -0.06526771932840347, -0.025863807648420334, 0.0038263730239123106, -0.0011848871363326907, 0.006159213837236166, 0.057770129293203354, 0.021655676886439323, -0.05068741738796234, -0.011997891589999199, 0.03409593179821968, 0.0176751259714365, 0.015214704908430576, 0.005212131422013044, 0.04651849344372749, 0.07204518467187881, 0.058488622307777405, -0.012219813652336597, -0.010365908965468407, 0.02539779618382454, -0.007513013668358326, -0.02315356768667698, -0.002375236712396145, -0.0030301986262202263, -0.006096294149756432, -0.027107415720820427, -0.03451602905988693, 0.06836114823818207, -0.017176428809762, 0.01763906516134739, -0.02253786101937294, -0.05007446929812431, 0.06311933696269989, 0.015160070732235909, -0.033111438155174255, -0.005100185051560402, 0.042320605367422104, -0.030894245952367783, 0.03829870745539665, -0.03638477250933647, 0.01782149448990822, 0.06284096837043762, 0.02796689234673977, 0.008319185115396976, 0.00013272002979647368, -0.013391535729169846, -0.004888567607849836, 0.017343461513519287, -0.049156028777360916, -0.012147792614996433, -0.034998342394828796, 0.06962679326534271, -0.04690470173954964, 0.061282508075237274, 0.029030058532953262, 0.03260956332087517, 0.03334014117717743, -0.03730021417140961, -0.037410005927085876, -0.0072050997987389565, -0.020198367536067963, 0.06672714650630951, -0.013395559974014759, -0.05525542050600052, 0.06177092343568802, 0.041142530739307404, -0.09670819342136383, 0.04052260145545006, 0.03848540037870407, 0.03636419400572777, 0.0264667347073555, 0.03590136393904686, -0.04256803169846535, 0.03479396179318428, -0.04191439598798752, 0.011741094291210175, -0.038841959089040756, -0.003064344637095928, -0.027333136647939682, -0.039747461676597595, -0.009407725185155869, 0.025065800175070763, -0.02349439449608326, 0.006251461338251829, 0.0071273730136454105, -0.01810746267437935, -0.054666925221681595, 0.009361405856907368, 0.03183799982070923, -0.030247706919908524, -0.019092915579676628, -0.04142842814326286, 0.012948115356266499, 0.046985503286123276, -0.007759398780763149, -0.05449512600898743, -0.0009501305758021772, -0.009633776731789112, -0.08003801852464676, -0.04217485338449478, 0.06614802032709122, 0.02938394621014595, -0.009388795122504234, -0.007084666285663843, 0.018861565738916397, 0.01851601153612137, 0.036887962371110916, -0.022135652601718903, 0.009275279939174652, -0.07804705947637558, 0.004551935009658337, 0.021828362718224525, 0.014890873804688454, 0.00018390023615211248, -0.014809442684054375, 0.03479635342955589, 0.07912372797727585, 0.0484742671251297, 0.020222486928105354, -0.026343008503317833, -0.03599514812231064, 0.012107668444514275, -0.03829843923449516, 0.048932574689388275, 0.016190625727176666, -0.04495929181575775, -0.028005113825201988, -0.034643612802028656, -0.010821724310517311, 0.03742067143321037, -0.026224931702017784, 0.013157818466424942, 0.02259761095046997, -0.006148088723421097, -0.030620934441685677, -0.11347305774688721, -0.054212965071201324, -0.024093616753816605, 0.03406747803092003, 0.03537287563085556, -0.065156489610672, 0.021087324246764183, -0.011142226867377758, -0.005672410596162081, 0.06536109000444412, -0.006018646061420441, -0.020390255376696587, 0.05475499480962753, 0.06698678433895111, -0.04031701758503914, 0.058316223323345184, 0.02322598546743393, -0.03116999752819538, 0.0607280433177948, 0.02069295570254326, 0.04041317477822304, 0.021252507343888283, 0.03753681480884552, 0.004487151745706797, -0.0074899992905557156, -0.005468873772770166, -0.035316646099090576, 0.0046362606808543205, 0.009022670798003674, 0.05197525769472122 ]
AethiQs-Max/AethiQs_GemBERT_bertje_50k
[ "pytorch", "bert", "fill-mask", "transformers", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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 } } }
11
null
--- tags: - conversational --- # DialoGPT Small JAB
[ -0.026996871456503868, 0.02385319583117962, 0.004143011290580034, 0.013253722339868546, 0.018887925893068314, 0.011020536534488201, -0.0007883617072366178, 0.04123678803443909, -0.010254443623125553, 0.021343501284718513, 0.008677981793880463, -0.03637906163930893, 0.005970771424472332, 0.03804904595017433, -0.0605374239385128, -0.009354296140372753, -0.03649064153432846, -0.002933929907158017, -0.024016035720705986, -0.014605112373828888, 0.037791866809129715, -0.0008044287096709013, -0.029687710106372833, 0.03024897538125515, -0.012669784016907215, 0.03815874829888344, -0.0028279449325054884, 0.005812252406030893, 0.03874550387263298, -0.02242094837129116, 0.01493600569665432, -0.035380974411964417, -0.023737650364637375, -0.028348831459879875, -0.039538245648145676, -0.03960343822836876, 0.024287495762109756, -0.005635811015963554, -0.007148986682295799, 0.03588550537824631, -0.010599376633763313, -0.00025458380696363747, 0.01712828502058983, -0.03210679441690445, 0.05317732319235802, -0.011512893252074718, -0.04351996257901192, -0.012978257611393929, 0.01727340742945671, -0.04175135865807533, -0.053185272961854935, -0.06875357776880264, -0.05466640368103981, -0.024290839210152626, 0.015238573774695396, -0.051268357783555984, -0.07131027430295944, -0.011065030470490456, 0.09843724220991135, -0.020121000707149506, -0.014658104628324509, -0.0011916455114260316, -0.08771826326847076, 0.008221350610256195, 0.007854520343244076, -0.06433956325054169, 0.018296509981155396, -0.043935343623161316, 0.015330664813518524, -0.026152098551392555, 0.044188350439071655, -0.04455714300274849, 0.02896871045231819, -0.07025852054357529, -0.0036983126774430275, -0.008377877064049244, 0.04068401828408241, 0.06763163954019547, -0.036542389541864395, 0.04925146698951721, 0.02655259519815445, 0.0243919026106596, 0.06549114733934402, 0.0017812518635764718, -0.025951741263270378, 0.034411896020174026, -0.046451907604932785, 0.009431830607354641, -0.005924224387854338, 0.023232441395521164, -0.015057578682899475, -0.05686698481440544, -0.036468733102083206, -0.013663585297763348, 0.002921095583587885, 0.05406832695007324, 0.030822740867733955, -0.04492063820362091, 0.03076923079788685, 0.043012604117393494, 0.016746092587709427, 0.049816448241472244, -0.024792207404971123, 0.028683170676231384, 0.002360380021855235, 0.03155641257762909, 0.012114430777728558, -0.021580016240477562, -0.0495113730430603, 0.03487623482942581, 0.0010435304138809443, -0.04811268672347069, -0.022219721227884293, 0.04643712937831879, 0.015622205100953579, -0.009511915035545826, 0.06144045665860176, -0.016366450116038322, -0.011380594223737717, -0.05749114602804184, 0.06306250393390656, -0.008065958507359028, -0.024617770686745644, -0.0014236742863431573, -0.04601123929023743, 0.0021067329216748476, -0.04046589136123657, -0.01786762662231922, -0.012368358671665192, -0.009798157028853893, 0.016465315595269203, 0.045889995992183685, -0.023677006363868713, -0.05218128859996796, 0.009101535193622112, 0.0330505296587944, -0.06890707463026047, 0.00810104887932539, 0.04632183164358139, 0.08885584026575089, -0.06541420519351959, -0.0378924161195755, -0.023375151678919792, 0.018687840551137924, -0.017419487237930298, -0.021393727511167526, 0.006069910246878862, -0.0018006979953497648, -0.039549291133880615, -0.0037492772098630667, 0.015117553062736988, -0.059645842760801315, -0.0049967109225690365, 0.043735697865486145, 0.019776709377765656, 0.021379267796874046, -0.03198110684752464, 0.004289668053388596, 0.004319022409617901, -0.034554366022348404, -0.05006035044789314, 0.030469102784991264, -0.023675089702010155, -0.04166939854621887, -0.03614027425646782, -0.03808559104800224, 0.0034285325091332197, 0.07449138164520264, 0.01833167113363743, -0.02965044416487217, -0.009150980040431023, 0.031528323888778687, 0.06023089960217476, 0.04958117753267288, -0.011586269363760948, 0.015619004145264626, 0.04770277813076973, 0.019508419558405876, -0.03208743408322334, 0.07831627875566483, 0.013902533799409866, -0.0250614732503891, -0.06275136023759842, -0.011535408906638622, 0.03798775374889374, -0.03206438571214676, 0.014778302051126957, 0.025806725025177002, -0.01567627117037773, -0.03489584103226662, 0.01007716916501522, 0.04516465216875076, -0.020035499706864357, -0.0012832650681957603, -0.02622588351368904, -0.029070591554045677, -0.0344945453107357, 0.02397163398563862, -0.04761772230267525, -0.01778690330684185, -0.033489104360342026, -0.005193676799535751, 0.04143998771905899, 0.013397670350968838, 0.01462216954678297, 0.03984707593917847, -0.0168094914406538, 0.05427605286240578, -0.0424618236720562, 0.011829230934381485, -0.034973617643117905, -0.018043912947177887, -0.018035151064395905, 0.04387772083282471, 0.02278788946568966, 0.036002617329359055, -0.04241688549518585, -0.033875953406095505, 0.018246840685606003, 0.06349711865186691, 0.029034720733761787, 0.03025476261973381, -0.030477367341518402, 0.0012646846007555723, 0.03663138300180435, 0.02315015345811844, -0.035666920244693756, 0.009118366055190563, 0.01753508299589157, 0.030274497345089912, -0.026200659573078156, -0.014460412785410881, -0.0316879041492939, -0.013829105533659458, -0.042573824524879456, -0.05980594456195831, 0.03693481534719467, 0.027400266379117966, -0.01998266950249672, 0.029089154675602913, -0.012741300277411938, -0.00585926091298461, 0.0316614992916584, 0.0037488823290914297, 0.0021903631277382374, -0.08083346486091614, -0.0010673848446458578, 0.02043980360031128, 0.08410900086164474, -0.04727991297841072, 0.001197573496028781, 0.0019428960513323545, 0.020550858229398727, 0.028834940865635872, -0.005491324700415134, 0.043312810361385345, 0.04470476508140564, 0.060036905109882355, -0.014580266550183296, 0.025574542582035065, 0.017136503010988235, 0.03337639197707176, 0.06606405228376389, -0.01078819576650858, 0.0757707878947258, -0.0278314296156168, 0.03140728920698166, 0.05212828516960144, 0.011284435167908669, 0.0005813699681311846, 0.025706913322210312, 0.06981466710567474, 0.0017474882770329714, 0.023240581154823303, 0.049536917358636856, 0.007619560230523348, 0.007773253135383129, -0.042116228491067886, -0.012382255867123604, 0.009612972848117352, -0.030564209446310997, 0.05178976058959961, -0.012156357057392597, -0.02165340818464756, -0.004869822412729263, -0.01708901673555374, -0.009371665306389332, 0.042036570608615875, -0.013123791664838791, 0.00040795429958961904, 0.020914098247885704, -0.02692248858511448, 0.03707856684923172, -0.03858298435807228, -0.046191856265068054, -0.01756841503083706, -0.04457723721861839, -0.019551247358322144, -0.09077035635709763, -0.03055022470653057, -0.0629032775759697, -0.021216370165348053, 0.058019787073135376, 0.020926659926772118, 0.019445985555648804, 0.0011883919360116124, 0.015024402178823948, -0.01256516668945551, -0.05791030824184418, -0.05174960196018219, -0.04099416360259056, -0.004604651127010584, -0.043280504643917084, 0.027535028755664825, 0.04840359091758728, 0.02984577603638172, 0.002500614384189248, -0.012256811372935772, -0.05154877528548241, -0.029298698529601097, 0.044057056307792664, 0.011165278032422066, -0.043920326977968216, -0.03267640992999077, 0.005596306640654802, 0.024327006191015244, -0.009773164056241512, -0.01747247949242592, -0.054828036576509476, 0.0814514011144638, 0.0356338694691658, 0.003640531562268734, 0.017619282007217407, 0.003592074615880847, -0.0379633866250515, -0.018473325297236443, -0.04550463706254959, -0.01705241948366165, -0.010168848559260368, -0.02453150972723961, -0.05707581713795662, -0.03303184732794762, -0.05923674628138542, -0.009768689051270485, -0.0033884141594171524, 0.010667739436030388, 0.03336085006594658, 0.025412708520889282, 0.03259555995464325, 0.026024293154478073, -0.007176557090133429, -0.006325951777398586, 0.04904889687895775, -0.028751730918884277, -0.008804727345705032, -0.06366657465696335, -0.04919679835438728, 0.03701383247971535, 0.00242439704015851, 0.0011483929120004177, -0.022097272798419, 0.035787682980298996, 0.05275469273328781, 0.000025859768356895074, 0.03484373539686203, -0.05587095022201538, -0.0013100587530061603, -0.023534899577498436, -0.02120755799114704, -0.0451209582388401, -0.029777832329273224, -0.002857334678992629, -0.023989640176296234, 0.039784930646419525, -0.08734198659658432, -0.02951263263821602, -0.030316632241010666, 0.005771614145487547, 0.03555746749043465, -0.01126672700047493, -0.05539047345519066, -0.00636887876316905, -0.0419207364320755, -0.015851160511374474, -0.016325972974300385, -0.013328082859516144, 0.0032154980581253767, 0.027985038235783577, 0.012347842566668987, -0.018794098868966103, 0.06319615989923477, 0.010414430871605873, 0.07258780300617218, 0.05856391787528992, -0.02293345518410206, 0.03057853691279888, -0.024082722142338753, 0.025206545367836952, -0.003827432170510292, -0.029579050838947296, -0.046647533774375916, -0.10092653334140778, -0.04153117164969444, 0.02123100310564041, -0.014314706437289715, 0.01689685694873333, 0.04828383028507233, -0.04266473278403282, -0.004300542641431093, -0.010608591139316559, 0.031542398035526276, 0.04173058271408081, -0.02819707989692688, 0.06934339553117752, -0.005936630070209503, 0.04436162859201431, -0.06494642049074173, -0.025097128003835678, -0.06071024760603905, -0.010287375189363956, 0.010742336511611938, 0.06329479068517685, 0.009748895652592182, 0.044675637036561966, 0.06976012885570526, 0.04444514214992523, -0.04078063368797302, 0.05013700947165489, 0.06927960366010666, -0.015406308695673943, -0.025881508365273476, -0.0007543722749687731, -0.012174769304692745, -0.024193571880459785, 0.0006100484752096236, -0.0348532497882843, 0.01636905036866665, 0.045929260551929474, -0.0031542391516268253, 0.022978007793426514, 0.012352876365184784, -0.02893352136015892, -0.033957816660404205, -0.0651179775595665, -0.019933480769395828, -0.0013285847380757332, -0.02976704016327858, 0.05771660432219505, 0.048411451280117035, 0.02568468265235424, 0.07777275145053864, 0.03224795684218407, -0.026749251410365105, -0.056819040328264236, 0.030440110713243484, 0.02715626358985901, -0.04261988401412964, -0.058097027242183685, -0.047889307141304016, 0.028537863865494728, 0.028697103261947632, -0.013715027831494808, -0.09177138656377792, 0.028626127168536186, 0.03243252635002136, -0.023090790957212448, 0.06972071528434753, -0.0009002063306979835, 0.053068336099386215, 0.023449840024113655, 0.00886235199868679, 0.048967957496643066, -0.06909750401973724, 0.025772016495466232, -0.027919692918658257, 0.027588235214352608, -0.04959257319569588, -0.05556114763021469, -0.057091739028692245, 0.043153487145900726, 0.013272878713905811, 0.005151236429810524, 0.017400167882442474, -0.042410511523485184, -0.036810118705034256, -0.005337041802704334, 0.026411760598421097, -0.01939805969595909, 0.019202452152967453, 0.019910603761672974, 0.06892079859972, -0.04814864322543144, 0.004012554418295622, 0.02525457553565502, 0.008532092906534672, 0.02748981863260269, -0.03427695482969284, -0.035138972103595734, -0.011223409324884415, 0.04011130705475807, -0.028703249990940094, -0.035001907497644424, -0.11061369627714157, 0.03751588985323906, -0.021082675084471703, -0.02119433879852295, 0.05976415053009987, 0.04472385346889496, 0.050328001379966736, 0.0655241459608078, -0.011516222730278969, 0.053335387259721756, -0.030216854065656662, 0.018662746995687485, -0.04170791432261467, -0.03863239288330078, -0.000871857802849263, -0.07744041830301285, -0.03738962486386299, -0.027999959886074066, -0.04169202968478203, -0.02455095946788788, 0.015236605890095234, 0.017240889370441437, 0.003489301074296236, -0.011218071915209293, -0.0012829969637095928, 0.00801521074026823, -0.02247803844511509, -0.03392966836690903, 0.019914750009775162, -0.01234954409301281, -0.08851519972085953, -0.04642010107636452, 0.02690083533525467, -0.022361142560839653, 0.013060338795185089, -0.0005629277438856661, 0.015209754928946495, 0.053048402070999146, 0.00013128702994436026, -0.017794111743569374, 0.014236027374863625, 0.032669294625520706, -0.01812734641134739, -0.01255789678543806, 0.0030665479134768248, 0.02585429698228836, 0.014565161429345608, -0.024103349074721336, 0.03295562416315079, -0.002939264988526702, -0.05830816179513931, -0.01740952953696251, 0.018415264785289764, 0.007968143559992313, -0.0767604187130928, -0.01871678978204727, -0.0394015908241272, -0.020588165149092674, 0.014012032188475132, -0.06377798318862915, -0.033113993704319, 0.009777822531759739, 0.04252872243523598, 0.02159513346850872, -0.001673152786679566, -0.02720925211906433, 0.011944128200411797, -0.014913148246705532, -0.0038384830113500357, -0.07243731617927551, 0.02193455956876278, -0.01946062594652176, 0.00014258008741308004, -0.02867395244538784, 0.012820721603929996, -0.03117413818836212, 0.047110725194215775, -0.008841712959110737, -0.0009359440882690251, 0.0067247129045426846, 0.007447579875588417, -0.0006776461377739906, 0.03964325040578842, 0.02927655726671219, -0.008413644507527351, -0.03262241184711456, 0.05642459914088249, -0.06855913251638412, 0.0032611277420073748, -0.0015868359478190541, -0.03874324634671211, -0.02118632383644581, -0.002317434875294566, 0.0025747756008058786, -0.05772239714860916, 0.027125414460897446, 0.0363893136382103, 0.01648791693150997, 0.02565339207649231, -0.004551361780613661, 0.0019751342479139566, 0.030506417155265808, -0.07230276614427567, -0.03651273250579834, 0.002676275558769703, 0.0009133924613706768, 0.008452855981886387, 0.05941816046833992, 0.02417656220495701, -0.05511012673377991, -0.02284017950296402, 0.029303990304470062, 0.02486548386514187, 0.019473403692245483, 0.007437503896653652, 0.046827301383018494, 0.06044295057654381, 0.06258554756641388, -0.012787899933755398, 0.004596604034304619, 0.030319929122924805, -0.006299449130892754, -0.026142938062548637, -0.005392565857619047, 0.003919502254575491, 0.00016831904940772802, -0.030304158106446266, -0.03438829258084297, 0.07489773631095886, -0.012385300360620022, 0.018111005425453186, -0.01510892529040575, -0.05230659618973732, 0.0636443942785263, 0.005483054555952549, -0.030252791941165924, 0.0007925647660158575, 0.044634826481342316, -0.027368977665901184, 0.03361663222312927, -0.03885416314005852, 0.005904396064579487, 0.05634799227118492, 0.030180195346474648, 0.007179331965744495, 0.005565168336033821, -0.01577952317893505, -0.0070829796604812145, 0.02135162241756916, -0.041689351201057434, -0.012089385651051998, -0.034942541271448135, 0.07356530427932739, -0.03986047953367233, 0.07471173256635666, 0.02752794697880745, 0.03426039218902588, 0.03904429450631142, -0.03030429221689701, -0.036630041897296906, -0.01650163158774376, -0.028346944600343704, 0.0638325959444046, -0.004042620770633221, -0.05870939791202545, 0.058629218488931656, 0.047694843262434006, -0.08599495887756348, 0.032282065600156784, 0.03384336829185486, 0.04674162715673447, 0.026217307895421982, 0.03971589729189873, -0.04949307069182396, 0.01516790222376585, -0.03421599417924881, 0.008266758173704147, -0.03385680168867111, -0.008665536530315876, -0.027290688827633858, -0.03987865895032883, -0.012810339219868183, 0.038964707404375076, -0.023656578734517097, 0.011211001314222813, 0.007410029415041208, -0.026125891134142876, -0.07006547600030899, 0.01299877930432558, 0.03641355037689209, -0.03421001136302948, -0.01253545843064785, -0.038971755653619766, 0.016815686598420143, 0.04053162783384323, -0.016016434878110886, -0.058224648237228394, 0.0018886937759816647, -0.007781542371958494, -0.08109501749277115, -0.043006230145692825, 0.0687900260090828, 0.0250093974173069, -0.002961112651973963, -0.006883974652737379, 0.024976208806037903, 0.030481748282909393, 0.03551884740591049, -0.022275486961007118, 0.007125547621399164, -0.07223621010780334, -0.0014356151223182678, 0.025950351729989052, 0.01868409290909767, 0.004693219438195229, -0.012917067855596542, 0.029207943007349968, 0.07917766273021698, 0.04849078133702278, 0.01859823800623417, -0.028277738019824028, -0.03227245807647705, 0.01536555029451847, -0.03771321102976799, 0.050729770213365555, 0.020556308329105377, -0.05336565151810646, -0.032642707228660583, -0.03934523090720177, -0.006870966404676437, 0.032941922545433044, -0.03135259076952934, 0.010879827663302422, 0.028766974806785583, -0.00938731525093317, -0.028186388313770294, -0.11899254471063614, -0.05292100831866264, -0.03347811847925186, 0.021937351673841476, 0.042002636939287186, -0.059362784028053284, 0.03606746345758438, -0.014961084350943565, -0.014194325543940067, 0.05819721147418022, -0.00102941261138767, -0.017320962622761726, 0.050216179341077805, 0.0735040009021759, -0.04018900543451309, 0.05622061342000961, 0.017662907019257545, -0.03660061955451965, 0.0628955066204071, 0.012346568517386913, 0.038372527807950974, 0.0219635721296072, 0.030501816421747208, -0.007953383028507233, -0.0050249723717570305, -0.003572814865037799, -0.033005982637405396, 0.010629869066178799, 0.014604851603507996, 0.04518335312604904 ]
AethiQs-Max/cross_encoder
[]
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 metrics: - rouge model-index: - name: bart-base-finetuned-kaggglenews-baseline-final 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. --> # bart-base-finetuned-kaggglenews-baseline-final This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 1.6942 - Rouge1: 28.581 - Rouge2: 16.3417 - Rougel: 24.1277 - Rougelsum: 25.9797 - Gen Len: 20.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.0002 - 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 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | No log | 1.0 | 495 | 1.7514 | 27.911 | 15.7038 | 23.6466 | 25.2111 | 20.0 | | 2.0585 | 2.0 | 990 | 1.6655 | 28.7581 | 16.4875 | 24.2669 | 26.1676 | 20.0 | | 1.4173 | 3.0 | 1485 | 1.6942 | 28.581 | 16.3417 | 24.1277 | 25.9797 | 20.0 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.02208101563155651, -0.02347257360816002, -0.004866383504122496, 0.033721473067998886, 0.029802726581692696, 0.021587137132883072, -0.018878716975450516, -0.009842773899435997, -0.041720982640981674, 0.05994416028261185, 0.023203065618872643, -0.0324421152472496, 0.01959763467311859, 0.012225281447172165, -0.030145302414894104, -0.049228399991989136, -0.003576126415282488, -0.021631687879562378, -0.03447471186518669, 0.002527891658246517, 0.014229868538677692, -0.0003175907186232507, -0.003250607755035162, 0.023265616968274117, 0.006692566443234682, 0.0029043175745755434, -0.01633269712328911, 0.03183741122484207, 0.056930169463157654, -0.05927978456020355, -0.0011936076916754246, -0.03617304563522339, -0.04608199745416641, -0.02983454428613186, 0.00556030822917819, -0.00007140834350138903, -0.004420978017151356, 0.02845636196434498, 0.028209516778588295, 0.05142752453684807, 0.008033563382923603, 0.00866018794476986, -0.01269539725035429, -0.02304214984178543, 0.04759581759572029, -0.008200912736356258, -0.05179787799715996, 0.0073933652602136135, 0.0662381649017334, -0.028039468452334404, -0.04934655502438545, -0.053682152181863785, -0.015630686655640602, 0.03402014821767807, -0.004072775598615408, -0.006202704273164272, -0.06379181146621704, 0.02772616222500801, 0.07346300035715103, -0.03753839060664177, -0.06101488694548607, 0.017185525968670845, -0.05895696580410004, 0.021291665732860565, 0.011367164552211761, -0.038798265159130096, 0.023058893159031868, -0.04576617851853371, 0.032022926956415176, -0.013133084401488304, 0.05792081728577614, -0.032219819724559784, 0.02621501125395298, -0.07212294638156891, 0.006462686695158482, -0.006517286878079176, 0.04466446116566658, 0.05727402865886688, -0.033448658883571625, 0.05378785729408264, 0.027196353301405907, 0.009777055121958256, 0.029748257249593735, -0.01718105748295784, -0.02456101030111313, 0.02399774082005024, -0.05685616657137871, 0.023376302793622017, 0.03284969925880432, 0.021474847570061684, -0.03903121128678322, -0.040593471378088, -0.047771383076906204, -0.018085652962327003, -0.01141916960477829, 0.02522788755595684, 0.03164602816104889, 0.02142196334898472, 0.02698259800672531, 0.004193453583866358, 0.03068648651242256, 0.027612818405032158, -0.012386028654873371, 0.09299514442682266, -0.028619958087801933, -0.027343574911355972, -0.028725119307637215, -0.0005108353216201067, -0.06188533455133438, 0.01689574122428894, 0.018941517919301987, -0.037454087287187576, -0.052857596427202225, 0.02197290025651455, 0.0036117846611887217, -0.006866229232400656, 0.05600034445524216, -0.02957788296043873, -0.052277516573667526, -0.02506997436285019, 0.0436113066971302, 0.005286247469484806, -0.0055315736681222916, -0.006013590842485428, -0.058799952268600464, -0.0027794900815933943, -0.02647891454398632, -0.04477300867438316, -0.02584661729633808, 0.012674273923039436, -0.013131631538271904, 0.07166825234889984, 0.02688044309616089, -0.062160320580005646, -0.0007605564314872026, 0.00008428742148680612, -0.05906770005822182, 0.04956454411149025, 0.023925991728901863, 0.12138990312814713, -0.06319399923086166, -0.07249969989061356, 0.005808708723634481, 0.012613038532435894, -0.03257842734456062, 0.020101740956306458, -0.0006412026705220342, -0.02171489968895912, -0.013961689546704292, -0.008485923521220684, 0.04314705356955528, -0.045310527086257935, -0.007355883717536926, 0.07232633233070374, -0.001487122499383986, 0.029142113402485847, -0.046891454607248306, -0.01687511056661606, 0.012678486295044422, -0.025033384561538696, -0.0075638010166585445, 0.0402277447283268, 0.00518693495541811, -0.017511174082756042, -0.03946917504072189, -0.05184431001543999, -0.013591839000582695, 0.08152974396944046, -0.006751288194209337, -0.014596640132367611, -0.023005766794085503, 0.027645347639918327, 0.03400798887014389, 0.02202184870839119, -0.006369524635374546, 0.009838605299592018, 0.047753382474184036, 0.03549804911017418, -0.03994658589363098, 0.02647014521062374, 0.03355168178677559, -0.015886252745985985, -0.03203238174319267, 0.023354582488536835, -0.018758460879325867, -0.03291728347539902, 0.03456636145710945, 0.031900156289339066, 0.028347257524728775, -0.050082869827747345, -0.04605282098054886, 0.023653730750083923, -0.0003415975661482662, -0.015248283743858337, 0.006269721779972315, -0.012082221917808056, -0.01752784103155136, 0.03636272996664047, -0.008705870248377323, 0.007102591916918755, -0.027497805655002594, -0.04507860168814659, 0.018637968227267265, -0.007002663798630238, 0.036032918840646744, 0.0356532484292984, -0.006167675834149122, 0.0777285024523735, -0.0426698699593544, 0.02505766786634922, -0.020901605486869812, -0.0524919293820858, 0.006739718373864889, 0.056824941188097, 0.0479145422577858, 0.06449209898710251, 0.003930137492716312, -0.054343242198228836, 0.005163873545825481, 0.054862406104803085, 0.035125732421875, 0.006490195635706186, -0.029066791757941246, -0.013202976435422897, 0.056917816400527954, 0.030828360468149185, -0.04306294769048691, -0.022943951189517975, 0.020320190116763115, 0.034529123455286026, -0.014968072064220905, 0.008665898814797401, -0.013365852646529675, 0.04286828264594078, -0.06703410297632217, -0.05736555904150009, 0.05353758484125137, 0.02884097769856453, -0.013386102393269539, 0.011717412620782852, -0.0024331731256097555, -0.00265177502296865, 0.02741871401667595, 0.012320544570684433, -0.01309359073638916, -0.05318446084856987, 0.003082101931795478, 0.022497354075312614, 0.050189413130283356, -0.037618182599544525, 0.038628462702035904, -0.02583485282957554, 0.01429808884859085, 0.026276130229234695, -0.037541333585977554, 0.019315673038363457, 0.06411228328943253, 0.025829752907156944, -0.0330549031496048, 0.019160721451044083, 0.04093894362449646, 0.05762587860226631, 0.04438307136297226, -0.006810411345213652, 0.05568070709705353, -0.004786715377122164, 0.03729217126965523, 0.08894718438386917, 0.023584328591823578, 0.019953075796365738, 0.019351499155163765, 0.07969469577074051, 0.007401288487017155, -0.011144190095365047, 0.05111236497759819, -0.07919800281524658, 0.02072831802070141, -0.03309093415737152, 0.005332123953849077, -0.016668066382408142, -0.006523948162794113, 0.013209332711994648, 0.013227473013103008, -0.02130863256752491, -0.023904960602521896, 0.0019543906673789024, -0.015576074831187725, 0.031040742993354797, -0.0017276800936087966, -0.0012162417406216264, -0.007208582013845444, -0.03169817849993706, 0.00967194139957428, -0.05978214368224144, -0.05104123428463936, -0.00858318991959095, -0.021637560799717903, -0.010336039587855339, -0.09419721364974976, -0.018670279532670975, -0.08812913298606873, -0.016923733055591583, 0.023960545659065247, 0.021551813930273056, -0.004015027545392513, -0.06109930947422981, 0.03672218695282936, -0.04194479435682297, -0.048255790024995804, -0.05171126127243042, -0.04928188398480415, -0.031655728816986084, -0.06804634630680084, 0.02021951787173748, 0.039312638342380524, 0.026152564212679863, -0.006284412462264299, 0.026143144816160202, 0.012829224579036236, -0.008328059688210487, 0.03576672077178955, 0.0630730390548706, -0.03524089232087135, -0.0372990146279335, 0.02818552777171135, -0.008017952553927898, 0.016307538375258446, 0.01106399018317461, -0.043549973517656326, 0.06739551573991776, 0.05506205931305885, 0.027877170592546463, 0.016930818557739258, -0.012872908264398575, -0.051066167652606964, -0.07917776703834534, -0.034216538071632385, -0.038331080228090286, -0.012883312068879604, -0.03869215026497841, -0.030445067211985588, -0.012794839218258858, -0.03230617567896843, 0.014409387484192848, -0.02667006477713585, 0.018725352361798286, 0.015268288552761078, 0.02078152447938919, 0.022699138149619102, 0.043148383498191833, -0.0194933470338583, -0.0849231407046318, 0.059333138167858124, 0.014598285779356956, 0.0072793723084032536, -0.061846598982810974, -0.02627546526491642, 0.02746698632836342, 0.02267894521355629, 0.020812317728996277, -0.007766281720250845, 0.09471751749515533, 0.006516074296087027, 0.012502007186412811, 0.026762349531054497, -0.02393224649131298, -0.007584641687572002, 0.00484358100220561, 0.004024133086204529, -0.00660223513841629, -0.05273360013961792, -0.017753154039382935, 0.01590578630566597, 0.0346442274749279, -0.06313193589448929, -0.044403232634067535, -0.020706791430711746, 0.016272399574518204, 0.06593041121959686, -0.024148982018232346, -0.049116287380456924, -0.01876211166381836, -0.06306618452072144, 0.005981755908578634, 0.03243201598525047, 0.00760248675942421, 0.02201419696211815, 0.05074426531791687, 0.02696617878973484, 0.0030727272387593985, 0.0199282206594944, 0.053417548537254333, 0.07007695734500885, 0.01587446592748165, -0.06321209669113159, 0.02433590590953827, -0.011729508638381958, 0.04551631584763527, -0.0060274237766861916, -0.026089288294315338, -0.02649620547890663, -0.08052709698677063, -0.02848280966281891, 0.012261454947292805, -0.00676198024302721, -0.012117874808609486, 0.043655477464199066, -0.002520620357245207, -0.02472713403403759, 0.003204505192115903, 0.005838316399604082, 0.0363004095852375, -0.025375675410032272, 0.06741324812173843, -0.04662148654460907, 0.0015546416398137808, -0.05873537063598633, -0.0013927316758781672, -0.032155487686395645, -0.00860294047743082, 0.019115298986434937, 0.04651150107383728, -0.007720766123384237, 0.06772533059120178, 0.06294947862625122, 0.02276586927473545, -0.04062361642718315, 0.030381394550204277, 0.06852953881025314, -0.032104384154081345, -0.04562344774603844, 0.016405442729592323, 0.0007302227313630283, -0.03487301617860794, -0.006572385784238577, 0.003585208673030138, 0.041144151240587234, 0.0207686610519886, -0.001601587631739676, 0.018645167350769043, 0.01155831292271614, -0.011789381504058838, -0.030699538066983223, -0.05299743264913559, -0.005720019806176424, -0.0070592924021184444, -0.04139463230967522, 0.000044298722059465945, 0.04533546790480614, 0.020016632974147797, 0.07701393216848373, 0.027660628780722618, -0.040703896433115005, -0.018068505451083183, 0.018222684040665627, -0.0025746645405888557, -0.03102630190551281, -0.07671485841274261, -0.037143003195524216, 0.036025021225214005, 0.040139731019735336, -0.026439962908625603, -0.025921950116753578, -0.004719711374491453, 0.06276241689920425, -0.054193105548620224, 0.05795269459486008, 0.03190923109650612, 0.03977597877383232, 0.04607773199677467, -0.0020405035465955734, 0.0481356717646122, -0.020667899399995804, -0.00710775563493371, -0.005878562573343515, 0.024693474173545837, -0.017691366374492645, -0.014468612149357796, -0.038048647344112396, 0.010634997859597206, 0.021748343482613564, 0.04214557632803917, 0.02653673104941845, -0.028035135939717293, -0.029342224821448326, 0.00765230692923069, 0.05218537524342537, -0.05190151184797287, 0.004442133940756321, 0.013044198043644428, 0.0265467818826437, -0.044354524463415146, -0.03625471144914627, -0.01865271106362343, -0.021712539717555046, 0.03334413096308708, -0.012992904521524906, -0.04451877623796463, -0.02789994701743126, 0.03461889550089836, 0.014164301566779613, -0.008104575797915459, -0.07208704203367233, 0.0353325679898262, -0.014189718291163445, 0.0029850853607058525, 0.0425226129591465, 0.02437307871878147, 0.012415410950779915, 0.04041672125458717, 0.0318162739276886, 0.007594498340040445, -0.036708682775497437, 0.02062337100505829, -0.04296493157744408, -0.036591459065675735, -0.010586335323750973, -0.0437539704144001, -0.04300158470869064, -0.021077755838632584, -0.054868750274181366, -0.052089888602495193, -0.023465948179364204, -0.00023934659839142114, -0.00810399278998375, 0.014090434648096561, -0.014106064103543758, 0.02867312915623188, -0.008249242790043354, -0.05219947546720505, -0.025391679257154465, -0.02867075242102146, -0.060727812349796295, -0.037816476076841354, 0.011340192519128323, 0.00892444234341383, 0.039714377373456955, 0.05002393200993538, 0.007525693625211716, 0.01581713557243347, 0.020383888855576515, -0.07721615582704544, 0.020648369565606117, -0.006904148031026125, -0.01975024864077568, -0.02720438502728939, 0.018013296648859978, 0.02610759623348713, 0.04771549999713898, -0.039443161338567734, 0.03373496234416962, 0.03325344994664192, -0.027808982878923416, -0.007540812250226736, 0.01552752684801817, 0.016430357471108437, -0.03960422798991203, -0.039268191903829575, -0.000042015737562906, -0.01632547564804554, 0.021809585392475128, -0.04632040113210678, -0.004913064651191235, 0.00612463615834713, 0.006267631892114878, 0.04611653462052345, -0.002420896664261818, -0.024725202471017838, 0.027780650183558464, -0.014950976707041264, 0.026403600350022316, -0.07057113945484161, 0.04646913707256317, -0.036341335624456406, 0.011792118661105633, -0.02283928170800209, 0.012470126152038574, -0.06050492823123932, 0.03636006638407707, -0.011526175774633884, -0.026409482583403587, -0.017388323321938515, 0.04666920751333237, -0.02438989095389843, 0.019446484744548798, -0.017483992502093315, 0.03089122846722603, -0.021249983459711075, 0.0586424395442009, -0.025239067152142525, 0.009534968994557858, -0.022541530430316925, 0.014503872953355312, -0.057676516473293304, 0.02299223095178604, -0.023728705942630768, -0.029905011877417564, 0.034875549376010895, 0.027157295495271683, 0.06093569099903107, 0.023565614596009254, -0.014770323410630226, -0.010302615351974964, 0.025942137464880943, -0.039291128516197205, -0.024277430027723312, 0.02097116969525814, 0.01701394096016884, -0.004048241302371025, 0.05480440333485603, 0.043769802898168564, -0.04057398810982704, -0.052465084940195084, 0.05010296031832695, 0.001481128390878439, 0.009675447829067707, -0.0017644960898905993, 0.05264647677540779, 0.04518880322575569, 0.04452149197459221, -0.043799180537462234, -0.022173762321472168, -0.023889290168881416, -0.04421471431851387, 0.04832279309630394, -0.04634739086031914, 0.03803364560008049, 0.02276625484228134, -0.023374715819954872, -0.01533872727304697, 0.06131935864686966, 0.02579655684530735, 0.04684528335928917, -0.005254421383142471, -0.037661150097846985, 0.024605749174952507, 0.01470686960965395, -0.03758438676595688, 0.02337651140987873, 0.01875600591301918, -0.027329230681061745, 0.05947728827595711, 0.004063846077769995, 0.004593214485794306, 0.05374385789036751, 0.03877938911318779, -0.0028324725572019815, 0.07308726757764816, -0.014207304455339909, 0.04015224054455757, 0.0544079914689064, -0.06972559541463852, -0.0018428930779919028, -0.05676668882369995, 0.07296789437532425, -0.06756297498941422, 0.04258657991886139, 0.05923480540513992, -0.0003612563305068761, 0.04103409871459007, -0.04607716202735901, -0.06003524363040924, 0.0024176924489438534, -0.05349643528461456, 0.07196957617998123, 0.009924528189003468, -0.05058034509420395, 0.06324703991413116, 0.023245716467499733, -0.03876810893416405, 0.034904804080724716, 0.04702991247177124, 0.02973717823624611, 0.013262744061648846, 0.03113122284412384, -0.05580036714673042, 0.008971630595624447, -0.03277163580060005, 0.04407498612999916, -0.04102541506290436, -0.02855108678340912, 0.045072171837091446, -0.05480039864778519, -0.016457002609968185, 0.033701732754707336, -0.007084736134856939, -0.01107084657996893, 0.058549825102090836, -0.017095040529966354, -0.04003613069653511, 0.024981537833809853, 0.019285354763269424, -0.030613288283348083, -0.027128534391522408, -0.04723221808671951, -0.0012904389295727015, 0.0128395427018404, 0.019861100241541862, -0.013874953612685204, 0.006498856004327536, 0.02364715375006199, -0.06110246479511261, -0.050695616751909256, 0.03281503543257713, -0.01670265384018421, -0.030611978843808174, 0.013326110318303108, 0.002345513319596648, 0.03173813223838806, 0.027448460459709167, -0.009312061592936516, 0.03539126366376877, -0.0661139115691185, -0.008855930529534817, 0.0066104247234761715, -0.020980145782232285, 0.03697746619582176, -0.00038532810867764056, 0.026463989168405533, 0.04613510146737099, 0.002660740166902542, -0.006232323125004768, -0.05143586918711662, -0.036892231553792953, 0.011577864177525043, -0.028513958677649498, 0.006969962734729052, 0.011806696653366089, -0.041752807796001434, -0.045591749250888824, 0.004456499125808477, -0.050940148532390594, 0.01920364983379841, -0.04744317755103111, 0.01474025472998619, 0.02793114073574543, 0.0067070405930280685, -0.07781367748975754, -0.1238311305642128, -0.023462222889065742, -0.026433201506733894, 0.011245079338550568, 0.027894822880625725, -0.03443470224738121, 0.01736455410718918, -0.0482046939432621, -0.059363801032304764, 0.039402883499860764, 0.044119395315647125, -0.04607762396335602, 0.05627951771020889, 0.03407924249768257, -0.04720727726817131, 0.0010717393597587943, 0.0227003563195467, -0.030901120975613594, 0.022239677608013153, 0.03770239278674126, 0.013681969605386257, 0.029436789453029633, 0.022933516651391983, -0.053149402141571045, -0.01919974759221077, -0.07673715054988861, -0.07084174454212189, -0.03509165719151497, 0.012770062312483788, 0.06005781888961792 ]
AidenGO/KDXF_Bert4MaskedLM
[ "pytorch", "bert", "fill-mask", "transformers", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "BertForMaskedLM" ], "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 } } }
5
null
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: bart-base-finetuned-kaggglenews-fact-corrector-II 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. --> # bart-base-finetuned-kaggglenews-fact-corrector-II This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-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.0002 - 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: 1 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | No log | 1.0 | 305 | 1.5749 | 27.9313 | 15.1004 | 23.3282 | 25.2336 | 20.0 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.02717125415802002, -0.027763597667217255, -0.005557043012231588, 0.04783821105957031, 0.024000726640224457, 0.03661811351776123, -0.019956158474087715, -0.01201366726309061, -0.03782904893159866, 0.06711073219776154, 0.030158650130033493, -0.011966522783041, 0.019416585564613342, 0.008794574998319149, -0.03794783353805542, -0.03866265341639519, -0.0001396973675582558, -0.016327371820807457, -0.024514982476830482, -0.007687267381697893, -0.0005201808526180685, -0.006143295671790838, -0.01955847069621086, 0.02463815174996853, 0.008692177943885326, 0.005203430540859699, -0.0011551654897630215, 0.029588844627141953, 0.051638513803482056, -0.05673719570040703, 0.0023057470098137856, -0.032863862812519073, -0.040258366614580154, -0.010321962647140026, 0.0034663735423237085, 0.012350880540907383, 0.006659732200205326, 0.03297818824648857, 0.027495112270116806, 0.04587748274207115, 0.018860727548599243, 0.008819319307804108, -0.01140971202403307, -0.027995659038424492, 0.06520342826843262, 0.009401066228747368, -0.0572906918823719, -0.00035880180075764656, 0.06847421079874039, -0.02945381961762905, -0.04811125993728638, -0.05898837372660637, -0.02725829929113388, 0.03482991084456444, -0.011026528663933277, -0.013262972235679626, -0.08029148727655411, 0.0057528940960764885, 0.05315195024013519, -0.023470548912882805, -0.03940673917531967, 0.030334683135151863, -0.06935276091098785, 0.02066199481487274, 0.006612226366996765, -0.02605397440493107, 0.024121014401316643, -0.0497966930270195, 0.03726296126842499, -0.03103531524538994, 0.05390666797757149, -0.03794896602630615, 0.031078975647687912, -0.08107518404722214, 0.005290388595312834, -0.01257450319826603, 0.05394517630338669, 0.056126918643713, -0.03575432673096657, 0.046231187880039215, 0.028825858607888222, 0.016240274533629417, 0.03283333033323288, -0.0270658191293478, -0.0027138609439134598, 0.02837686985731125, -0.057087019085884094, 0.005109741352498531, 0.030692562460899353, 0.02386801689863205, -0.037098631262779236, -0.038187939673662186, -0.037294454872608185, -0.016796201467514038, -0.012616683728992939, 0.017074014991521835, 0.02497244067490101, 0.028942974284291267, 0.021181464195251465, 0.016816312447190285, 0.0449269562959671, 0.024863416329026222, -0.01623529940843582, 0.0705292746424675, -0.02506292425096035, -0.00992327556014061, -0.03092154674232006, -0.0006490624509751797, -0.055329807102680206, 0.01943804882466793, 0.028645411133766174, -0.03355752304196358, -0.053667206317186356, 0.012061500921845436, 0.012296240776777267, -0.013600430451333523, 0.05760612338781357, -0.022943910211324692, -0.048142753541469574, -0.02778789959847927, 0.05458250269293785, 0.008163069374859333, 0.008410228416323662, 0.008707351982593536, -0.047877855598926544, 0.0007745849434286356, -0.03532468527555466, -0.044975027441978455, -0.018055954948067665, 0.012891837395727634, -0.01933916099369526, 0.05956067517399788, 0.015949416905641556, -0.059758421033620834, -0.016373097896575928, 0.01940193586051464, -0.05059259757399559, 0.05088060349225998, 0.03453205153346062, 0.11386486887931824, -0.061580248177051544, -0.061710599809885025, -0.0012706390116363764, 0.002287086797878146, -0.014396234415471554, 0.011444213800132275, 0.017771024256944656, -0.020041460171341896, -0.011808431707322598, 0.004825342446565628, 0.05573691427707672, -0.051528267562389374, -0.0038986681029200554, 0.06032944470643997, -0.016750384122133255, 0.028437724336981773, -0.04627086594700813, 0.00041028275154531, 0.02697039768099785, -0.0009119617752730846, -0.017539754509925842, 0.05060242488980293, 0.013382656499743462, -0.013345309533178806, -0.039611224085092545, -0.047535620629787445, -0.012058280408382416, 0.10210498422384262, -0.012174963019788265, -0.017024535685777664, -0.01982506737112999, 0.023140357807278633, 0.03998011723160744, 0.031310293823480606, -0.023570425808429718, 0.02712986432015896, 0.057772811502218246, 0.05276227369904518, -0.029944030568003654, 0.027576150372624397, 0.009321929886937141, -0.026059256866574287, -0.03376379236578941, 0.03923897445201874, -0.016986992210149765, -0.038550782948732376, 0.04444444179534912, 0.018725091591477394, 0.008776496164500713, -0.0527273491024971, -0.042657867074012756, 0.04486170783638954, 0.006336953956633806, -0.003487944370135665, 0.012649642303586006, -0.032212089747190475, -0.010916663333773613, 0.02951057069003582, -0.03569355979561806, 0.010694468393921852, -0.03267410397529602, -0.03384329006075859, 0.006002587731927633, -0.001218221615999937, 0.0373113788664341, 0.024107467383146286, 0.00008954195800470188, 0.09928622841835022, -0.0443754717707634, 0.023475712165236473, -0.022852608934044838, -0.0543648861348629, 0.012067572213709354, 0.05704023316502571, 0.04208376258611679, 0.05421837046742439, 0.005130989942699671, -0.04487656429409981, 0.00447419285774231, 0.05388467013835907, 0.037181634455919266, 0.0045069362968206406, -0.008483116514980793, -0.016991525888442993, 0.05371193587779999, 0.051252737641334534, -0.04589276388287544, -0.028067156672477722, -0.004273769445717335, 0.039681605994701385, -0.004256685730069876, 0.01951303519308567, -0.015879658982157707, 0.031648747622966766, -0.0603228397667408, -0.06034402549266815, 0.04254039004445076, 0.028578367084264755, -0.011907193809747696, 0.03855538368225098, -0.017623303458094597, 0.0018139549065381289, 0.022498715668916702, 0.0032652621157467365, -0.008870301768183708, -0.06191980838775635, 0.003194259013980627, 0.02603740058839321, 0.06306828558444977, -0.04200367256999016, 0.0328197218477726, -0.030089516192674637, 0.016027750447392464, 0.03005344420671463, -0.037361424416303635, 0.0337197482585907, 0.048805270344018936, 0.03427436575293541, -0.027138996869325638, 0.021821368485689163, 0.03834320232272148, 0.06388571858406067, 0.046767380088567734, 0.007945445366203785, 0.0504610612988472, 0.0010607162257656455, 0.05782542750239372, 0.08204335719347, 0.027333026751875877, 0.017175287008285522, 0.027503330260515213, 0.08374890685081482, 0.007709505967795849, -0.02807779610157013, 0.045717835426330566, -0.08977585285902023, 0.031636666506528854, -0.0418391227722168, 0.001975004095584154, -0.006217057816684246, -0.0053307246416807175, 0.008229321800172329, 0.020591234788298607, -0.004479824565351009, -0.014197581447660923, -0.004924449138343334, -0.027501309290528297, 0.04455159604549408, 0.0061394511722028255, 0.013454357162117958, -0.020764194428920746, -0.038527730852365494, -0.00027687379042617977, -0.06448733061552048, -0.06896845251321793, 0.003269441658630967, -0.00842253491282463, -0.00865933857858181, -0.083841972053051, -0.022794216871261597, -0.09612380713224411, -0.03229369968175888, 0.02156345173716545, 0.021852605044841766, -0.006197826471179724, -0.056349243968725204, 0.0322556234896183, -0.04855843260884285, -0.04721352458000183, -0.06348583102226257, -0.05663555860519409, -0.037138763815164566, -0.06825409084558487, 0.010721287690103054, 0.025198929011821747, 0.02925468422472477, -0.02032758854329586, 0.027862390503287315, -0.004833899438381195, 0.007909953594207764, 0.030986251309514046, 0.07645833492279053, -0.04482316970825195, -0.04050625488162041, 0.03626114875078201, -0.01905200257897377, 0.019131720066070557, 0.00113657396286726, -0.034408409148454666, 0.05566179379820824, 0.06403150409460068, 0.024051519110798836, 0.017708593979477882, -0.01040463987737894, -0.04119684547185898, -0.06624060124158859, -0.0300343856215477, -0.037146374583244324, 0.0028665733989328146, -0.036009546369314194, -0.03754696249961853, -0.011545591056346893, -0.052740491926670074, 0.000643272593151778, -0.03963768109679222, 0.0354415699839592, 0.022774240002036095, 0.03898054361343384, 0.022680362686514854, 0.03690574690699577, -0.018444208428263664, -0.07098682969808578, 0.06069578975439072, -0.0002875260543078184, 0.007535985670983791, -0.07070423662662506, -0.029232509434223175, 0.037619661539793015, 0.02886313945055008, 0.012896274216473103, 0.0009079818264581263, 0.08825578540563583, 0.0028150537982583046, 0.00588647136464715, 0.019361522048711777, -0.028187135234475136, -0.009341239929199219, 0.009730163030326366, 0.0065307654440402985, -0.012462114915251732, -0.040491241961717606, -0.032350730150938034, 0.022058796137571335, 0.04160689562559128, -0.07793125510215759, -0.04273280128836632, -0.02098786272108555, 0.031135378405451775, 0.05369153991341591, -0.0001536515774205327, -0.07091318070888519, -0.009717618115246296, -0.04834504798054695, 0.003267202991992235, 0.02779855951666832, 0.008627035655081272, 0.021015457808971405, 0.053275082260370255, 0.019288526847958565, -0.009277885779738426, 0.01939210295677185, 0.04551764577627182, 0.06819473206996918, 0.008865010924637318, -0.0576789453625679, 0.03201557323336601, 0.006674178875982761, 0.026107989251613617, -0.019218947738409042, -0.026708276942372322, -0.02532406710088253, -0.08142531663179398, -0.006556574255228043, 0.006306250113993883, -0.003913193009793758, -0.018715789541602135, 0.022404424846172333, -0.00515381246805191, -0.032680779695510864, 0.00280818366445601, 0.009384917095303535, 0.05957962945103645, -0.03416971117258072, 0.08143649995326996, -0.03958440199494362, 0.009861609898507595, -0.055604487657547, -0.008678769692778587, -0.03353293240070343, -0.010159450583159924, 0.021116314455866814, 0.05062241852283478, 0.0002459427050780505, 0.06063951924443245, 0.06075393408536911, 0.019042566418647766, -0.022151833400130272, 0.04164561629295349, 0.060232631862163544, -0.01938956044614315, -0.028115535154938698, 0.015534969046711922, -0.0073160938918590546, -0.04825512319803238, -0.013139719143509865, -0.007227445021271706, 0.04149864614009857, 0.03079836815595627, -0.004204519093036652, 0.014726566150784492, 0.003079964080825448, 0.013779889792203903, -0.040142789483070374, -0.06451369822025299, 0.002177988877519965, -0.012863055802881718, -0.04022069647908211, 0.011640258133411407, 0.025777949020266533, 0.013946074061095715, 0.07356643676757812, 0.024428552016615868, -0.04633009806275368, -0.015778133645653725, 0.017221765592694283, 0.014738203026354313, -0.03105234168469906, -0.06588180363178253, -0.041904110461473465, 0.03523913025856018, 0.03575288504362106, -0.03338034078478813, -0.032252270728349686, -0.00447579612955451, 0.03469620645046234, -0.02053285762667656, 0.08234564960002899, 0.02578304335474968, 0.041304249316453934, 0.07294139266014099, -0.0026278796140104532, 0.0463390052318573, -0.02334105409681797, -0.009083074517548084, 0.004109847359359264, 0.02456996776163578, -0.02458125725388527, -0.01719842664897442, -0.04047819599509239, 0.013319840654730797, 0.018764445558190346, 0.040159326046705246, 0.037885189056396484, -0.014481761492788792, -0.03451939672231674, 0.012014802545309067, 0.04481787979602814, -0.03481303155422211, 0.011632783338427544, 0.016058577224612236, 0.020273622125387192, -0.03466997295618057, -0.04566361382603645, -0.02494943141937256, -0.013518929481506348, 0.027989773079752922, -0.00981195829808712, -0.04371681436896324, -0.03283687308430672, 0.03440473601222038, 0.014864826574921608, -0.01249957736581564, -0.06360555440187454, 0.03717855364084244, -0.0031270275358110666, 0.002778062131255865, 0.03718948736786842, 0.02069077454507351, 0.03665844723582268, 0.02804535999894142, 0.04112672060728073, 0.014009365811944008, -0.03740664944052696, 0.004766024649143219, -0.04732336103916168, -0.027271078899502754, -0.004066149238497019, -0.049509983509778976, -0.03396400064229965, -0.023625772446393967, -0.05184619873762131, -0.06753356754779816, -0.003838889766484499, -0.0014017889043316245, -0.021181320771574974, 0.018755856901407242, -0.0098577830940485, 0.034277088940143585, -0.025635166093707085, -0.03904711827635765, -0.03184211626648903, -0.02544361539185047, -0.056375786662101746, -0.03175676614046097, 0.009254091419279575, -0.004520987160503864, 0.042652662843465805, 0.03332950919866562, 0.008686723187565804, 0.006841880269348621, 0.009230499155819416, -0.07630127668380737, 0.015338110737502575, 0.007755095139145851, -0.01582730934023857, -0.018756350502371788, 0.024896331131458282, 0.020726792514324188, 0.034913357347249985, -0.03924969583749771, 0.027873486280441284, 0.028847087174654007, -0.022245774045586586, -0.016901548951864243, 0.0130405742675066, 0.011753949336707592, -0.051613762974739075, -0.02359081245958805, 0.0029751486144959927, -0.020999589934945107, 0.015183946117758751, -0.04241203889250755, -0.016843318939208984, 0.012895098887383938, -0.007850727997720242, 0.045027244836091995, -0.019265174865722656, -0.011570385657250881, 0.04470497742295265, -0.025711344555020332, 0.03967930004000664, -0.05879083275794983, 0.040212132036685944, -0.028154434636235237, 0.008234073407948017, -0.020338689908385277, 0.025564095005393028, -0.06486263126134872, 0.04121534526348114, -0.007679555099457502, -0.02930997870862484, -0.025919979438185692, 0.04499804601073265, -0.032331813126802444, 0.02389124408364296, -0.0036822622641921043, 0.019687572494149208, -0.033892855048179626, 0.03843571990728378, -0.035200487822294235, 0.008505379781126976, -0.027607880532741547, 0.027493901550769806, -0.047908175736665726, 0.0026749579701572657, -0.02053659036755562, -0.03297428786754608, 0.03925889730453491, 0.030855828896164894, 0.06524638831615448, 0.015216348692774773, -0.019176337867975235, -0.004942443687468767, 0.02817451022565365, -0.02792508900165558, -0.013634434901177883, 0.01434163935482502, 0.02694513462483883, -0.0005215322598814964, 0.04437505453824997, 0.05011319741606712, -0.036348920315504074, -0.06244862824678421, 0.05348702147603035, 0.0013517437037080526, 0.02132648043334484, 0.006664568558335304, 0.05891614034771919, 0.032370675355196, 0.045126743614673615, -0.04204344376921654, -0.019926564767956734, -0.03333663195371628, -0.047700297087430954, 0.03401811793446541, -0.028136758133769035, 0.02964397892355919, 0.021137576550245285, -0.02865455485880375, -0.026468457654118538, 0.06437893956899643, -0.0016293526859954, 0.05236872658133507, 0.00955812819302082, -0.059626419097185135, 0.02322307974100113, 0.016396671533584595, -0.03987939655780792, 0.02934439107775688, 0.018666308373212814, -0.03826148808002472, 0.07329893112182617, 0.009069341234862804, -0.009630683809518814, 0.024583136662840843, 0.045021526515483856, 0.009954161010682583, 0.06416667252779007, -0.022648043930530548, 0.04003607854247093, 0.05086631700396538, -0.08110971003770828, 0.009587515145540237, -0.029935792088508606, 0.07340715825557709, -0.05628450587391853, 0.04778974503278732, 0.058386676013469696, 0.0013962221564725041, 0.044742289930582047, -0.055039774626493454, -0.0435890294611454, -0.001219773548655212, -0.0445842407643795, 0.07926494628190994, 0.0005720313638448715, -0.032022494822740555, 0.06982006132602692, 0.009218696504831314, -0.035896748304367065, 0.028046883642673492, 0.03745824098587036, 0.04062480479478836, 0.0009277856443077326, 0.022708669304847717, -0.04626568779349327, 0.0008274928550235927, -0.05633661895990372, 0.017555294558405876, -0.055013637989759445, -0.03027716651558876, 0.04083586484193802, -0.0666922852396965, -0.009602407924830914, 0.050621382892131805, -0.007640423718839884, -0.008064662106335163, 0.04068165645003319, -0.02281494252383709, -0.029766235500574112, 0.03001415729522705, 0.018697526305913925, -0.03234993666410446, -0.013357337564229965, -0.03899848833680153, -0.00038181088166311383, 0.009536392986774445, 0.011427533812820911, -0.010967673733830452, 0.00804681982845068, 0.020780423656105995, -0.04268113523721695, -0.05109727010130882, 0.026333877816796303, -0.008419251069426537, -0.0240941159427166, 0.03812380135059357, 0.009797438979148865, 0.035487353801727295, 0.027141178026795387, 0.007924608886241913, 0.039995770901441574, -0.05979765206575394, 0.002545054769143462, 0.015451643615961075, -0.014121780171990395, 0.03898134455084801, 0.004825270734727383, 0.015181029215455055, 0.0345267578959465, 0.017273126170039177, -0.0022959476336836815, -0.070278100669384, -0.03843870386481285, 0.0007416385342366993, -0.015368190594017506, 0.00675306236371398, 0.01611272618174553, -0.03837134316563606, -0.04306739941239357, -0.002290766453370452, -0.02291141077876091, 0.02674771286547184, -0.06757531315088272, 0.006576157175004482, 0.03093346208333969, 0.027782607823610306, -0.07450662553310394, -0.11536430567502975, -0.021488405764102936, -0.02723863534629345, 0.0116791483014822, 0.02691437304019928, -0.016803117468953133, 0.01473516970872879, -0.04368354752659798, -0.0540330708026886, 0.041843559592962265, 0.03695879131555557, -0.050114549696445465, 0.049846552312374115, 0.03094586357474327, -0.05596048757433891, 0.0017692135879769921, 0.037733010947704315, -0.028119182214140892, 0.02564322203397751, 0.03107064962387085, 0.007486688904464245, 0.02644617296755314, 0.02583887428045273, -0.0671759843826294, -0.015478603541851044, -0.06224682554602623, -0.04428236186504364, -0.04629650339484215, 0.00366473407484591, 0.052371591329574585 ]
AigizK/wav2vec2-large-xls-r-300m-bashkir-cv7_no_lm
[]
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 metrics: - rouge model-index: - name: bart-base-finetuned-kaggglenews 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. --> # bart-base-finetuned-kaggglenews This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 1.6240 - Rouge1: 28.3618 - Rouge2: 15.9828 - Rougel: 24.078 - Rougelsum: 25.565 - Gen Len: 20.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: 2e-05 - train_batch_size: 4 - eval_batch_size: 4 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:------:|:---------:|:-------:| | 1.9433 | 1.0 | 989 | 1.6240 | 28.3618 | 15.9828 | 24.078 | 25.565 | 20.0 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.10.0+cu102 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.02609572745859623, -0.025441793724894524, -0.005606331396847963, 0.031615979969501495, 0.03191697970032692, 0.028148388490080833, -0.016316913068294525, -0.011733174324035645, -0.04200488701462746, 0.06517380475997925, 0.0335153192281723, -0.025046244263648987, 0.01523549947887659, 0.019190583378076553, -0.030801894143223763, -0.052545174956321716, -0.0006608969997614622, -0.02092781476676464, -0.03776328265666962, -0.002508246572688222, 0.009303001686930656, -0.0009395537199452519, 0.0007836390868760645, 0.021406732499599457, 0.011316009797155857, 0.002331619383767247, -0.012142368592321873, 0.029683420434594154, 0.050416674464941025, -0.06604422628879547, -0.001295706257224083, -0.03596751391887665, -0.04532831534743309, -0.02121383138000965, 0.003728385316208005, -0.0016353233950212598, -0.00421547144651413, 0.02719525620341301, 0.03371059522032738, 0.049296122044324875, 0.011476168408989906, 0.011588559485971928, -0.017513351514935493, -0.025078803300857544, 0.05473162606358528, 0.002742617391049862, -0.05305992439389229, 0.01090424507856369, 0.06506305187940598, -0.026048069819808006, -0.04801330342888832, -0.05930646136403084, -0.023079784587025642, 0.03268657997250557, -0.004925163928419352, -0.004657763056457043, -0.06828416138887405, 0.012986729852855206, 0.07029562443494797, -0.037613727152347565, -0.05331796780228615, 0.02353680692613125, -0.057620566338300705, 0.032981812953948975, 0.01352863758802414, -0.03521352261304855, 0.026475533843040466, -0.0451694093644619, 0.03520651161670685, -0.020355651155114174, 0.0626177191734314, -0.04098730534315109, 0.02502511814236641, -0.07784373313188553, 0.01419306080788374, -0.013431096449494362, 0.043354589492082596, 0.05117868632078171, -0.03323279321193695, 0.046161700040102005, 0.02365758828818798, 0.011953356675803661, 0.025529006496071815, -0.025698598474264145, -0.026837678626179695, 0.029633700847625732, -0.05409255251288414, 0.021963054314255714, 0.02973310276865959, 0.02917923778295517, -0.04073154181241989, -0.04219048470258713, -0.04935165494680405, -0.019735217094421387, -0.012856343761086464, 0.02369481883943081, 0.032466061413288116, 0.020780272781848907, 0.025908082723617554, 0.005805945489555597, 0.03862256184220314, 0.02277340739965439, -0.011808597482740879, 0.09152596443891525, -0.02285231091082096, -0.028512194752693176, -0.02549637295305729, -0.0016983507666736841, -0.06019076332449913, 0.013952167704701424, 0.024784250184893608, -0.02854449860751629, -0.05494024604558945, 0.016698110848665237, 0.0038596317172050476, -0.009136778302490711, 0.05753382667899132, -0.032296281307935715, -0.05239773914217949, -0.023846613243222237, 0.05237800255417824, 0.008260807022452354, -0.006711855996400118, 0.00030309605062939227, -0.053499653935432434, -0.003716272534802556, -0.028102492913603783, -0.043414220213890076, -0.026860184967517853, 0.01570671610534191, -0.01053593959659338, 0.07026317715644836, 0.02630668319761753, -0.04825901985168457, -0.0073699066415429115, 0.007828323170542717, -0.052861906588077545, 0.05568791180849075, 0.02660796046257019, 0.12252704054117203, -0.06487233191728592, -0.06850416958332062, 0.008851410821080208, 0.012985924258828163, -0.025723617523908615, 0.01899060048162937, 0.0012182175414636731, -0.0247357040643692, -0.01748843304812908, -0.005713336635380983, 0.04794367775321007, -0.04614473506808281, -0.011142753064632416, 0.061339251697063446, -0.001203959807753563, 0.03238682448863983, -0.04841010645031929, -0.012173835188150406, 0.011397840455174446, -0.02146035246551037, -0.014829275198280811, 0.04589412361383438, 0.007580257952213287, -0.01679140143096447, -0.03275756910443306, -0.05243523418903351, -0.008850648999214172, 0.0859769657254219, -0.006458744872361422, -0.018020914867520332, -0.011482268571853638, 0.03337736800312996, 0.03379826620221138, 0.02853786014020443, -0.013920229859650135, 0.013990574516355991, 0.04921817034482956, 0.03132617101073265, -0.04028300940990448, 0.028321528807282448, 0.03510173410177231, -0.020799780264496803, -0.029307348653674126, 0.021497508510947227, -0.024299463257193565, -0.04016681760549545, 0.0337490439414978, 0.027442000806331635, 0.01966969296336174, -0.05288904160261154, -0.04085306078195572, 0.024855230003595352, 0.004931993316859007, -0.00990898534655571, 0.01057854387909174, -0.01637500710785389, -0.0171118825674057, 0.04248403385281563, -0.015834882855415344, 0.009118019603192806, -0.029290100559592247, -0.04038415476679802, 0.01630481146275997, -0.013181911781430244, 0.03268709406256676, 0.03763870522379875, -0.006681309547275305, 0.07482733577489853, -0.039255380630493164, 0.02243993803858757, -0.018367983400821686, -0.05372513830661774, 0.012450025416910648, 0.059465911239385605, 0.04940539598464966, 0.05760165676474571, 0.012619847431778908, -0.05437687784433365, 0.006775312591344118, 0.051148124039173126, 0.040824104100465775, 0.009346027858555317, -0.03183763101696968, -0.01595379039645195, 0.05279760807752609, 0.037854380905628204, -0.04646224156022072, -0.018299374729394913, 0.011062262579798698, 0.03141997382044792, -0.014521436765789986, 0.015036436729133129, -0.011277957819402218, 0.04471924901008606, -0.06875694543123245, -0.060535069555044174, 0.0539897084236145, 0.029991881921887398, -0.009054488502442837, 0.011107808910310268, 0.0015568481758236885, -0.003197705838829279, 0.020889148116111755, 0.009771997109055519, -0.018392466008663177, -0.0550096333026886, 0.0030830451287329197, 0.02378457598388195, 0.05355135723948479, -0.04013087600469589, 0.035268962383270264, -0.027701715007424355, 0.01326977089047432, 0.029658695682883263, -0.04007735103368759, 0.018257495015859604, 0.05790073424577713, 0.03007817268371582, -0.025728514418005943, 0.021131709218025208, 0.034489165991544724, 0.05939681828022003, 0.048981111496686935, -0.008715098723769188, 0.05798806622624397, 0.001252484624274075, 0.03678157180547714, 0.08863979578018188, 0.02438155561685562, 0.027798069640994072, 0.022343125194311142, 0.08318920433521271, 0.009674552828073502, -0.016997545957565308, 0.05324658378958702, -0.07894088327884674, 0.020563732832670212, -0.029932711273431778, 0.0025691825430840254, -0.018459906801581383, -0.007403016090393066, 0.013883909210562706, 0.01235346868634224, -0.01425984688103199, -0.024059563875198364, 0.002921315608546138, -0.021773962303996086, 0.036053743213415146, 0.0035360350739210844, -0.005423536524176598, -0.009096570312976837, -0.02916579134762287, 0.0074931550770998, -0.06269265711307526, -0.055342480540275574, -0.005690911319106817, -0.017844833433628082, -0.01160254143178463, -0.09725236892700195, -0.01995326764881611, -0.08812806010246277, -0.01961875520646572, 0.03135685995221138, 0.025931144133210182, -0.00331069971434772, -0.0643329992890358, 0.034878697246313095, -0.04422077164053917, -0.04315953701734543, -0.05973978713154793, -0.046517472714185715, -0.028749369084835052, -0.07013003528118134, 0.02243022806942463, 0.02869311347603798, 0.023455113172531128, -0.012655993923544884, 0.02829066850244999, 0.0003506702487356961, -0.004408472217619419, 0.03625727817416191, 0.06357688456773758, -0.03410687670111656, -0.038478296250104904, 0.028646433725953102, -0.007014177273958921, 0.014545569196343422, 0.01683940179646015, -0.04587164521217346, 0.07534712553024292, 0.05939963459968567, 0.02592300996184349, 0.02229815348982811, -0.019860034808516502, -0.05319303274154663, -0.07441411167383194, -0.02887098118662834, -0.038417086005210876, -0.008061136119067669, -0.03305773809552193, -0.03588460758328438, -0.01616746187210083, -0.034749992191791534, 0.002992154797539115, -0.028527546674013138, 0.02486816979944706, 0.013409596867859364, 0.031989846378564835, 0.02385091409087181, 0.03635081276297569, -0.019516630098223686, -0.07731716334819794, 0.05884374678134918, 0.0100809121504426, -0.0024597577285021544, -0.06645077466964722, -0.028875822201371193, 0.02789142355322838, 0.02716420218348503, 0.011696400120854378, -0.005143291782587767, 0.08506877720355988, 0.0034694927744567394, 0.012256174348294735, 0.026650192216038704, -0.02138715237379074, -0.001772266929037869, 0.010172135196626186, 0.004353703930974007, -0.009836573153734207, -0.05144510790705681, -0.01913919672369957, 0.015641331672668457, 0.03804229199886322, -0.06387605518102646, -0.05167278274893761, -0.022769082337617874, 0.021311357617378235, 0.06385776400566101, -0.017581716179847717, -0.05320880934596062, -0.011129740625619888, -0.06442728638648987, 0.005644323769956827, 0.041007254272699356, 0.012073088437318802, 0.02330448292195797, 0.05211455374956131, 0.03230227530002594, -0.004002015572041273, 0.017383655533194542, 0.054006244987249374, 0.07317187637090683, 0.014443773776292801, -0.06464854627847672, 0.021444818004965782, -0.00849189329892397, 0.04649369791150093, -0.005324845667928457, -0.025350039824843407, -0.025053197517991066, -0.08484751731157303, -0.023925594985485077, 0.004632276948541403, -0.013074585236608982, -0.014610989019274712, 0.04602649062871933, -0.002579777268692851, -0.03267093002796173, 0.0036405690480023623, 0.005688623059540987, 0.041258860379457474, -0.021846789866685867, 0.07158806174993515, -0.043044935911893845, 0.0041939448565244675, -0.053221188485622406, -0.002788012381643057, -0.02940192259848118, -0.007484057452529669, 0.012732459232211113, 0.0466943122446537, 0.0010290141217410564, 0.07090923190116882, 0.06453432142734528, 0.022524578496813774, -0.040923506021499634, 0.029386984184384346, 0.060399580746889114, -0.03061942383646965, -0.033044494688510895, 0.017983300611376762, -0.009877542033791542, -0.035375405102968216, -0.014215754345059395, 0.008529393933713436, 0.03911120072007179, 0.026477789506316185, 0.00491566676646471, 0.018862374126911163, 0.013028083369135857, -0.00280153751373291, -0.03856365382671356, -0.058468058705329895, -0.004264174494892359, -0.005222850479185581, -0.03635077178478241, -0.0009105948847718537, 0.04692525789141655, 0.01817084103822708, 0.07783582806587219, 0.03250974044203758, -0.03770473971962929, -0.01858578994870186, 0.014977110549807549, 0.0002593438548501581, -0.03223532810807228, -0.07653587311506271, -0.04037170857191086, 0.03083692118525505, 0.04168747738003731, -0.026604730635881424, -0.028093306347727776, -0.002237125067040324, 0.05937398970127106, -0.046250585466623306, 0.06427279859781265, 0.030430108308792114, 0.04276194050908089, 0.05340629070997238, -0.009417138062417507, 0.046524759382009506, -0.02315286360681057, -0.004842936526983976, -0.0031903155613690615, 0.01935814507305622, -0.016064703464508057, -0.017769018188118935, -0.042947687208652496, 0.008713859133422375, 0.026131005957722664, 0.04485037550330162, 0.03320717811584473, -0.02379733882844448, -0.03359631448984146, 0.006801084615290165, 0.05232544615864754, -0.049351029098033905, 0.009875829331576824, 0.010530909523367882, 0.026907028630375862, -0.04634181782603264, -0.039688590914011, -0.022847432643175125, -0.023813145235180855, 0.03099999576807022, -0.009535362012684345, -0.042760927230119705, -0.02666592039167881, 0.03898091986775398, 0.009252307936549187, -0.005316106602549553, -0.07141504436731339, 0.03860771283507347, -0.008058324456214905, 0.010523763485252857, 0.04832712188363075, 0.019122974947094917, 0.012449143454432487, 0.03425771743059158, 0.030582638457417488, 0.0136919766664505, -0.03881201520562172, 0.015273933298885822, -0.043978381901979446, -0.0368371456861496, -0.0087061058729887, -0.045196037739515305, -0.04069407284259796, -0.024972138926386833, -0.058833036571741104, -0.05245593562722206, -0.01812700182199478, -0.006607378367334604, -0.010118256323039532, 0.011937943287193775, -0.017131328582763672, 0.03006533905863762, -0.01158461906015873, -0.04301767796278, -0.028727000579237938, -0.029381457716226578, -0.05403316766023636, -0.03879261761903763, 0.007253558840602636, 0.006747186649590731, 0.04381134733557701, 0.04250897467136383, 0.005891828332096338, 0.01984507218003273, 0.018623217940330505, -0.07229290157556534, 0.017066510394215584, -0.003629154758527875, -0.018372152000665665, -0.024559570476412773, 0.01810356415808201, 0.024304775521159172, 0.04763738811016083, -0.035736773163080215, 0.03536899387836456, 0.025769859552383423, -0.019489070400595665, -0.006949229631572962, 0.014401046559214592, 0.012393872253596783, -0.047670748084783554, -0.03413845971226692, -0.000013016040611546487, -0.019378989934921265, 0.01828647218644619, -0.0480927899479866, -0.00796091090887785, 0.007395341992378235, 0.010890359058976173, 0.045311182737350464, -0.005315819755196571, -0.01920069195330143, 0.028401216492056847, -0.0182992871850729, 0.02501319721341133, -0.07025579363107681, 0.03829053044319153, -0.031077507883310318, 0.013931374996900558, -0.022697417065501213, 0.020460212603211403, -0.06520593911409378, 0.03654007986187935, -0.01136788073927164, -0.02668430656194687, -0.01906408928334713, 0.04321753606200218, -0.02625318430364132, 0.017294257879257202, -0.018835118040442467, 0.028436588123440742, -0.023438766598701477, 0.04990767315030098, -0.030662711709737778, 0.0074629345908761024, -0.02530447021126747, 0.015302665531635284, -0.05227247625589371, 0.01647857576608658, -0.018131066113710403, -0.027664372697472572, 0.032857075333595276, 0.02876364067196846, 0.05953051149845123, 0.018047714605927467, -0.014972778037190437, -0.01142089907079935, 0.02358921989798546, -0.038623128086328506, -0.020735619589686394, 0.022759240120649338, 0.008381923660635948, -0.0019151410087943077, 0.04926969110965729, 0.04300450533628464, -0.034310705959796906, -0.05297927185893059, 0.04228705167770386, 0.005727263633161783, 0.011921600438654423, 0.0013832645490765572, 0.04901741072535515, 0.04145408421754837, 0.044728152453899384, -0.04070175811648369, -0.014740509912371635, -0.023951752111315727, -0.0405096635222435, 0.04320507496595383, -0.044502194970846176, 0.041664693504571915, 0.021623514592647552, -0.023020483553409576, -0.019387394189834595, 0.07045239210128784, 0.02450033836066723, 0.046808142215013504, 0.004695704206824303, -0.037193767726421356, 0.02906632609665394, 0.01136966235935688, -0.034128569066524506, 0.020665833726525307, 0.02136075310409069, -0.0324273407459259, 0.06302567571401596, 0.009471973404288292, -0.0016178478254005313, 0.040996063500642776, 0.04203247278928757, 0.005341696087270975, 0.07345407456159592, -0.018413040786981583, 0.039346739649772644, 0.055303044617176056, -0.06664180755615234, -0.005777781829237938, -0.04835681989789009, 0.07203781604766846, -0.06284289807081223, 0.04382948577404022, 0.0547625757753849, 0.001577285467647016, 0.04129733517765999, -0.05159877985715866, -0.058161795139312744, 0.006703206337988377, -0.05552070587873459, 0.07020873576402664, 0.005201696418225765, -0.054211560636758804, 0.06678314507007599, 0.021684546023607254, -0.04529082402586937, 0.038184575736522675, 0.042788926512002945, 0.034382957965135574, 0.011409302242100239, 0.030933227390050888, -0.05940234288573265, 0.007830416783690453, -0.03386448696255684, 0.04540180042386055, -0.0453452430665493, -0.021758731454610825, 0.03964662551879883, -0.05574770271778107, -0.016291242092847824, 0.03712092712521553, -0.0037287583108991385, -0.006445769220590591, 0.04910001531243324, -0.022227821871638298, -0.04028020426630974, 0.019897330552339554, 0.019126970320940018, -0.02669118531048298, -0.02100260928273201, -0.04498335346579552, 0.00120216712821275, 0.013807350769639015, 0.013318220153450966, -0.01196411531418562, 0.007399647030979395, 0.0197202917188406, -0.057489484548568726, -0.05284973233938217, 0.02078031748533249, -0.019836047664284706, -0.026334252208471298, 0.0155852772295475, 0.008393188007175922, 0.04198363050818443, 0.024002550169825554, -0.010916241444647312, 0.03805280104279518, -0.06306999176740646, -0.004292209167033434, 0.003090559970587492, -0.0179999228566885, 0.0408453531563282, 0.003064181189984083, 0.025385163724422455, 0.04010508954524994, 0.007696942891925573, -0.010740394704043865, -0.054709672927856445, -0.0425722561776638, 0.010515850968658924, -0.02870994806289673, 0.010471773333847523, 0.01982691138982773, -0.03925576061010361, -0.05104507878422737, 0.006271550431847572, -0.046707235276699066, 0.02436877228319645, -0.052735961973667145, 0.012496400624513626, 0.026709306985139847, 0.0075968480668962, -0.08139052242040634, -0.12304878979921341, -0.026845641434192657, -0.025503452867269516, 0.011791869066655636, 0.03195437043905258, -0.03689270094037056, 0.01760934479534626, -0.047018807381391525, -0.05520721152424812, 0.0420834943652153, 0.041268862783908844, -0.04270597919821739, 0.0529768243432045, 0.0336589552462101, -0.05066042020916939, 0.0013107345439493656, 0.02092670649290085, -0.03164646402001381, 0.023200923576951027, 0.036927033215761185, 0.008398942649364471, 0.029803777113556862, 0.019631551578640938, -0.05337166786193848, -0.01774582639336586, -0.08208420127630234, -0.06526528298854828, -0.036542270332574844, 0.00811128132045269, 0.05452572554349899 ]
AigizK/wav2vec2-large-xls-r-300m-bashkir-cv7_opt
[ "pytorch", "wav2vec2", "automatic-speech-recognition", "ba", "dataset:mozilla-foundation/common_voice_7_0", "transformers", "generated_from_trainer", "hf-asr-leaderboard", "mozilla-foundation/common_voice_7_0", "robust-speech-event", "license:apache-2.0", "model-index", "has_space" ]
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 } } }
64
null
--- license: apache-2.0 tags: - generated_from_trainer metrics: - rouge model-index: - name: bart-base-finetuned-kagglenews-entityfiltering 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. --> # bart-base-finetuned-kagglenews-entityfiltering This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset. It achieves the following results on the evaluation set: - Loss: 1.5703 - Rouge1: 28.2719 - Rouge2: 15.6883 - Rougel: 24.0674 - Rougelsum: 25.616 - Gen Len: 20.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: 2e-05 - train_batch_size: 4 - eval_batch_size: 4 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:| | 1.9187 | 1.0 | 863 | 1.5703 | 28.2719 | 15.6883 | 24.0674 | 25.616 | 20.0 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.10.0+cu102 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.029636181890964508, -0.0160287544131279, -0.006108276546001434, 0.02892266772687435, 0.025189749896526337, 0.03629655763506889, -0.013721554540097713, -0.014539705589413643, -0.04680701345205307, 0.0593203529715538, 0.020729685202240944, -0.02147609181702137, 0.018197692930698395, 0.014882235787808895, -0.032185252755880356, -0.04634135216474533, -0.008980891667306423, -0.02402651123702526, -0.034463055431842804, -0.014045306481420994, -0.0051600090228021145, 0.0014884421834722161, 0.004691736306995153, 0.010776675306260586, 0.011000163853168488, 0.009117601439356804, -0.015804721042513847, 0.03835180774331093, 0.044415734708309174, -0.06676402688026428, 0.007655670866370201, -0.03610917180776596, -0.048147451132535934, -0.018317723646759987, 0.007641306146979332, 0.008053239434957504, -0.004701825324445963, 0.010936700738966465, 0.033836085349321365, 0.04826826974749565, 0.005771517753601074, 0.0008669905946590006, -0.01863204501569271, -0.036243513226509094, 0.04851523041725159, -0.0006862183217890561, -0.04862440377473831, 0.003833079244941473, 0.05907440930604935, -0.03800597041845322, -0.05739884823560715, -0.0556112676858902, -0.03534747660160065, 0.026984039694070816, -0.010678276419639587, -0.004206150304526091, -0.05793140456080437, 0.008730866946280003, 0.072259820997715, -0.03416164964437485, -0.05434221774339676, 0.023005079478025436, -0.04951062798500061, 0.029297063127160072, 0.00845394842326641, -0.0409427136182785, 0.01763523556292057, -0.062122538685798645, 0.028661340475082397, -0.02059796452522278, 0.05450147017836571, -0.04373958706855774, 0.017997704446315765, -0.08307825773954391, 0.007040733005851507, -0.010577432811260223, 0.03835662454366684, 0.05546711012721062, -0.023760434240102768, 0.0470246896147728, 0.017711346969008446, 0.02020666003227234, 0.01937108114361763, -0.019406970590353012, -0.021781131625175476, 0.029906312003731728, -0.06897012144327164, 0.0073309121653437614, 0.01938227005302906, 0.030163686722517014, -0.04315841570496559, -0.03374630957841873, -0.03519398346543312, -0.019463788717985153, -0.015222161076962948, 0.026065515354275703, 0.03651585429906845, 0.02180604450404644, 0.02552226558327675, 0.017578868195414543, 0.04146784916520119, 0.027102220803499222, -0.021201565861701965, 0.09155064821243286, -0.03044433891773224, -0.022110044956207275, -0.026006516069173813, 0.003012972418218851, -0.0628240779042244, 0.017313718795776367, 0.02195579931139946, -0.03522353991866112, -0.06619413197040558, 0.015596185810863972, 0.00585860526189208, 0.0017948199529200792, 0.06857918947935104, -0.029058214277029037, -0.048977211117744446, -0.01570551097393036, 0.059359338134527206, 0.008879357017576694, -0.0034934431314468384, -0.007824781350791454, -0.05482413247227669, 0.0006263474933803082, -0.02599334716796875, -0.03472248092293739, -0.03079221397638321, 0.01793953962624073, -0.009207217022776604, 0.07296539098024368, 0.03043370693922043, -0.04571342095732689, -0.0017888093134388328, 0.008790433406829834, -0.058540988713502884, 0.061275746673345566, 0.03553922101855278, 0.12042417377233505, -0.0632367804646492, -0.06926202028989792, -0.005022001918405294, 0.018236851319670677, -0.034652721136808395, 0.01511386688798666, 0.0037461332976818085, -0.02600923366844654, -0.026154333725571632, -0.009583302773535252, 0.043241310864686966, -0.04638989269733429, -0.008055934682488441, 0.057707659900188446, -0.012745547108352184, 0.028838034719228745, -0.05104340612888336, -0.005141949746757746, 0.011371219530701637, -0.014617697335779667, -0.007996371947228909, 0.044339098036289215, 0.007373569533228874, -0.005930620711296797, -0.03399159014225006, -0.049118731170892715, -0.01611119508743286, 0.08729030191898346, -0.0008996605756692588, -0.017388835549354553, -0.024603715166449547, 0.03575827181339264, 0.03673889860510826, 0.030643614009022713, -0.016858430579304695, 0.0015629174886271358, 0.04985567927360535, 0.03124130330979824, -0.027048880234360695, 0.021657530218362808, 0.04459618777036667, -0.017277203500270844, -0.020031088963150978, 0.020171696320176125, -0.02524191327393055, -0.045728761702775955, 0.030277635902166367, 0.024300893768668175, 0.012703723274171352, -0.05582430213689804, -0.03620569407939911, 0.03398926556110382, 0.006611803080886602, -0.005463690962642431, 0.006685125175863504, -0.01394746545702219, -0.017612114548683167, 0.04807611554861069, -0.017470166087150574, 0.02285953052341938, -0.03497549146413803, -0.04575897753238678, 0.014645537361502647, -0.013091931119561195, 0.02742384746670723, 0.039640069007873535, -0.008595388382673264, 0.06094731390476227, -0.043091557919979095, 0.017108576372265816, -0.020573606714606285, -0.05934395641088486, 0.016264596953988075, 0.05052982643246651, 0.044045496731996536, 0.05701630190014839, 0.009233335964381695, -0.0502624548971653, 0.0032177865505218506, 0.04749533534049988, 0.037128813564777374, 0.016541259363293648, -0.021115195006132126, -0.010630076751112938, 0.04879909008741379, 0.037073519080877304, -0.03975991904735565, -0.021316014230251312, 0.022739646956324577, 0.04442483186721802, -0.01831592619419098, 0.01220855675637722, -0.015195196494460106, 0.04156730696558952, -0.07607290893793106, -0.05181800574064255, 0.050717927515506744, 0.03626726195216179, -0.014524000696837902, 0.01780560612678528, 0.007037481293082237, -0.01211539562791586, 0.026690371334552765, 0.013966340571641922, -0.015526100061833858, -0.05175703018903732, 0.0018853326328098774, 0.020419891923666, 0.054837487637996674, -0.041216738522052765, 0.03840915113687515, -0.02009926363825798, 0.02579439990222454, 0.024269767105579376, -0.028109198436141014, 0.030429383739829063, 0.047307830303907394, 0.02433907613158226, -0.03704389929771423, 0.006339008919894695, 0.026929453015327454, 0.04227171838283539, 0.055954329669475555, -0.011105483397841454, 0.05699894204735756, -0.00446622259914875, 0.035753026604652405, 0.08402051031589508, 0.02201901562511921, 0.030287200585007668, 0.03182218223810196, 0.08533993363380432, 0.012871760874986649, -0.011619468219578266, 0.059765808284282684, -0.07104207575321198, 0.02763562649488449, -0.039141278713941574, 0.012723424471914768, -0.018969733268022537, -0.014130296185612679, 0.018496355041861534, 0.006883980240672827, -0.006078805774450302, -0.015640443190932274, -0.0005919315735809505, -0.020284036174416542, 0.04033558815717697, -0.0026768886018544436, 0.00522410636767745, -0.013214066624641418, -0.033113401383161545, 0.0075969393365085125, -0.06267424672842026, -0.052984315901994705, -0.007442012429237366, -0.03121975064277649, -0.007797310594469309, -0.08756179362535477, -0.012313846498727798, -0.09023777395486832, -0.015801602974534035, 0.03242202475667, 0.03427877277135849, 0.002147527178749442, -0.07214780896902084, 0.042406946420669556, -0.041629619896411896, -0.04739433899521828, -0.0554412305355072, -0.03504105657339096, -0.02799108996987343, -0.0807608887553215, 0.027773382142186165, 0.029130395501852036, 0.020177306607365608, -0.01941080205142498, 0.02074408158659935, -0.010275868698954582, -0.0000027213000066694804, 0.03264961764216423, 0.06306187808513641, -0.0345807746052742, -0.022447409108281136, 0.027168629691004753, -0.006051947362720966, 0.011683709919452667, 0.005957106128334999, -0.04797644913196564, 0.07546482235193253, 0.05491374433040619, 0.029405992478132248, 0.023808004334568977, -0.002965509658679366, -0.04914208501577377, -0.07387645542621613, -0.04071838781237602, -0.03258531913161278, -0.009283521212637424, -0.03723632171750069, -0.040317509323358536, -0.01941882260143757, -0.04957185685634613, 0.006169498898088932, -0.018299594521522522, 0.0223779808729887, 0.010697883553802967, 0.03693777695298195, 0.025441695004701614, 0.03668006509542465, -0.01800205558538437, -0.07795081287622452, 0.0580173134803772, 0.012577120214700699, 0.007010511122643948, -0.06706814467906952, -0.023928098380565643, 0.03348173201084137, 0.033379536122083664, 0.020914562046527863, -0.005914254579693079, 0.08926747739315033, -0.004530538804829121, 0.004023080691695213, 0.02986316755414009, -0.014814029447734356, -0.020034147426486015, 0.005820149555802345, 0.01201312243938446, -0.015469422563910484, -0.03733179718255997, -0.027955306693911552, 0.010574309155344963, 0.04051467403769493, -0.055537860840559006, -0.0460396483540535, -0.026804344728589058, 0.028203316032886505, 0.07014906406402588, -0.0023606070317327976, -0.05535861849784851, -0.01732676848769188, -0.05000556260347366, -0.006759141571819782, 0.0463767908513546, 0.015797045081853867, 0.0276652742177248, 0.044863391667604446, 0.03233516961336136, -0.00247871782630682, 0.021314097568392754, 0.04606163874268532, 0.06390081346035004, 0.012664747424423695, -0.04735998064279556, 0.026896856725215912, -0.016557123512029648, 0.042173247784376144, -0.0005331083666533232, -0.025696109980344772, -0.025876207277178764, -0.09009642899036407, -0.02339777909219265, 0.007257547695189714, -0.013382009230554104, -0.017235517501831055, 0.048515401780605316, 0.005376431625336409, -0.02591480128467083, 0.00841979868710041, 0.012208016589283943, 0.037141624838113785, -0.0285323578864336, 0.0659315437078476, -0.05497606098651886, 0.0075552877970039845, -0.0514250248670578, -0.0065024723298847675, -0.021669503301382065, -0.015721268951892853, 0.0119010079652071, 0.04563645273447037, 0.015853874385356903, 0.06639101356267929, 0.061758097261190414, 0.02704690396785736, -0.04336590692400932, 0.028424253687262535, 0.059179190546274185, -0.026143232360482216, -0.038413725793361664, 0.017770906910300255, -0.0105048893019557, -0.03590337932109833, -0.013660705648362637, 0.00015403995348606259, 0.04096413403749466, 0.02767808362841606, 0.014954030513763428, 0.00917067565023899, 0.009977605193853378, -0.02166685461997986, -0.033310044556856155, -0.0672791600227356, -0.0008043543784879148, -0.004131018184125423, -0.032358694821596146, -0.006068173795938492, 0.05005205050110817, 0.022638622671365738, 0.07449211180210114, 0.026861676946282387, -0.037744972854852676, -0.011593598872423172, 0.01007826253771782, 0.007031955290585756, -0.04194888100028038, -0.0711565837264061, -0.0429847277700901, 0.037651583552360535, 0.05036616325378418, -0.03028210811316967, -0.04164215177297592, -0.00010907910473179072, 0.05989252030849457, -0.04424438625574112, 0.07331950217485428, 0.02410641312599182, 0.03886308893561363, 0.04771614819765091, -0.00809482391923666, 0.039709728211164474, -0.021244321018457413, -0.00033506928593851626, -0.012080706655979156, 0.03204081580042839, -0.023625625297427177, -0.019453564658761024, -0.03669033572077751, 0.011520189233124256, 0.030060037970542908, 0.03826073184609413, 0.03559602051973343, -0.02596694976091385, -0.03338763862848282, 0.009476599283516407, 0.048092249780893326, -0.04297275096178055, 0.0030027413740754128, 0.011042696423828602, 0.03251609206199646, -0.05330352112650871, -0.02492033876478672, -0.0066182175651192665, -0.030100904405117035, 0.03332442045211792, -0.014229645021259785, -0.0423276349902153, -0.025194885209202766, 0.04140402376651764, 0.002801978262141347, -0.00748533895239234, -0.07633335888385773, 0.034650012850761414, -0.022589242085814476, 0.008189132437109947, 0.053721070289611816, 0.019280748441815376, 0.012312504462897778, 0.041131798177957535, 0.020670264959335327, 0.015117782168090343, -0.038710515946149826, 0.01306602917611599, -0.048566706478595734, -0.03293917328119278, -0.009529604576528072, -0.05301706865429878, -0.03797273710370064, -0.01748722419142723, -0.06258178502321243, -0.051323387771844864, -0.021511010825634003, -0.008688382804393768, -0.00829805713146925, 0.009088440798223019, -0.015446669422090054, 0.028991544619202614, -0.03370536491274834, -0.05296323448419571, -0.022251702845096588, -0.03071471117436886, -0.05936222895979881, -0.038005951792001724, 0.0007088520796969533, 0.005473752040416002, 0.040198586881160736, 0.05158859118819237, 0.008521519601345062, 0.012831255793571472, 0.02461109310388565, -0.08159218728542328, 0.018078695982694626, -0.003535923780873418, -0.017690246924757957, -0.03807833045721054, 0.006387413013726473, 0.023776736110448837, 0.05068555474281311, -0.03291767090559006, 0.020799871534109116, 0.030717015266418457, -0.023684702813625336, -0.012322159484028816, 0.016820760443806648, 0.012864856980741024, -0.05659853667020798, -0.0398377850651741, -0.008953290991485119, -0.01843387819826603, 0.02358437515795231, -0.030028341338038445, -0.011597891338169575, 0.008602265268564224, -0.005440148524940014, 0.04186342656612396, -0.005653045605868101, -0.02248971164226532, 0.03056616708636284, -0.017078928649425507, 0.03822832927107811, -0.06767470389604568, 0.029998822137713432, -0.03019222989678383, 0.0078574875369668, -0.028281133621931076, 0.021112974733114243, -0.05457792803645134, 0.03893866017460823, -0.0038951558526605368, -0.024870725348591805, -0.006205518264323473, 0.040166109800338745, -0.03998029604554176, 0.014866264536976814, -0.024247262626886368, 0.02954999729990959, -0.010796026326715946, 0.04931185394525528, -0.031923189759254456, 0.004383706022053957, -0.026042528450489044, 0.02214817702770233, -0.056325893849134445, 0.014621375128626823, -0.02051970176398754, -0.027973085641860962, 0.036253973841667175, 0.028695279732346535, 0.04547286406159401, 0.020299343392252922, -0.025587908923625946, -0.013146434910595417, 0.03429194167256355, -0.03370916470885277, -0.010959364473819733, 0.024473154917359352, 0.008729427121579647, -0.00368936313316226, 0.05763532593846321, 0.04182212054729462, -0.03144071623682976, -0.04729690030217171, 0.04147743433713913, 0.004344328306615353, 0.003252178430557251, -0.0071950615383684635, 0.03969817981123924, 0.051864683628082275, 0.03873661532998085, -0.041509438306093216, -0.017326466739177704, -0.026490263640880585, -0.03703480213880539, 0.028080524876713753, -0.03621148690581322, 0.033097684383392334, 0.017520148307085037, -0.025753043591976166, -0.012295841239392757, 0.0711217001080513, 0.004300822503864765, 0.04883737117052078, 0.005946462973952293, -0.03377038240432739, 0.032298654317855835, 0.008299943059682846, -0.045591458678245544, 0.014987434260547161, 0.020451335236430168, -0.02880970761179924, 0.06955403834581375, 0.016174674034118652, 0.003891066648066044, 0.043672483414411545, 0.02598949708044529, 0.008345403708517551, 0.07250544428825378, -0.02149222232401371, 0.028676826506853104, 0.05390859395265579, -0.05898492783308029, 0.0002597235725261271, -0.051943253725767136, 0.07245784997940063, -0.06667020171880722, 0.04040869325399399, 0.04628172516822815, -0.007466549519449472, 0.03964070603251457, -0.05593462288379669, -0.054913513362407684, 0.000013033582035859581, -0.05142046883702278, 0.07170068472623825, 0.011339899152517319, -0.056263744831085205, 0.06071562319993973, 0.028630414977669716, -0.04572581872344017, 0.033889077603816986, 0.04333142563700676, 0.037998948246240616, 0.010015919804573059, 0.03418094292283058, -0.057944413274526596, 0.005212050396949053, -0.040850598365068436, 0.037260688841342926, -0.05052349716424942, -0.02180771343410015, 0.03558230400085449, -0.056262336671352386, -0.02189701609313488, 0.03033217415213585, -0.011757140047848225, -0.01866869255900383, 0.044740479439496994, -0.027317609637975693, -0.030657624825835228, 0.01845553144812584, 0.023237532004714012, -0.019992228597402573, -0.02010457217693329, -0.04445816949009895, 0.00041228922782465816, 0.006668040528893471, 0.015710702165961266, -0.011530877090990543, 0.010240049101412296, 0.018841376528143883, -0.05307881906628609, -0.04074373468756676, 0.02184842713177204, -0.019625931978225708, -0.016716307029128075, 0.015317325480282307, -0.014698670245707035, 0.04310091212391853, 0.038167279213666916, 0.0008989041089080274, 0.03533002734184265, -0.06304515153169632, -0.0005020558019168675, 0.011352191679179668, -0.010434357449412346, 0.025516154244542122, 0.004816870205104351, 0.02434360980987549, 0.04999565705657005, 0.003374486928805709, -0.010294619016349316, -0.060846999287605286, -0.0492541640996933, 0.01226369384676218, -0.028333116322755814, 0.009285870008170605, 0.017362205311655998, -0.03436216339468956, -0.05854622274637222, 0.006450411397963762, -0.04637003690004349, 0.03322616219520569, -0.04464974254369736, 0.011793711222708225, 0.03269224986433983, 0.007569570094347, -0.09099007397890091, -0.11425617337226868, -0.012706718407571316, -0.02631402760744095, 0.006752875167876482, 0.02859027124941349, -0.03115488775074482, 0.020728304982185364, -0.05840287730097771, -0.054271627217531204, 0.050398122519254684, 0.04106471687555313, -0.05128619074821472, 0.061855610460042953, 0.028253579512238503, -0.04683397337794304, 0.0018482333980500698, 0.01399405486881733, -0.042678311467170715, 0.02235843613743782, 0.042639147490262985, 0.012729381211102009, 0.02328350767493248, 0.025153275579214096, -0.06636365503072739, -0.019644061103463173, -0.0773051530122757, -0.06230109557509422, -0.04201095551252365, -0.0015822815475985408, 0.0593976192176342 ]
Akira-Yana/distilbert-base-uncased-finetuned-cola
[]
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 --- #Chizuru Ichinose~ DialoGPT Model
[ -0.017416732385754585, -0.00019676174269989133, 0.03269241005182266, 0.0175984725356102, 0.020595237612724304, -0.003165357280522585, -0.005714084953069687, 0.024953454732894897, -0.013105456717312336, 0.027639858424663544, 0.03883175551891327, -0.015761438757181168, 0.016494300216436386, 0.03305159509181976, -0.04413231834769249, -0.030969928950071335, -0.022171495482325554, -0.004781248513609171, -0.03547673299908638, -0.02551041543483734, 0.04546191543340683, 0.01548937987536192, -0.027097761631011963, 0.029967768117785454, 0.013269553892314434, 0.023750482127070427, -0.014237208291888237, 0.00379955698736012, 0.027471113950014114, -0.03264285624027252, 0.009610947221517563, -0.036637961864471436, -0.02535848505795002, -0.04362772777676582, -0.026949496939778328, -0.0402040109038353, 0.02411063201725483, -0.014033695682883263, -0.004770731553435326, 0.029594605788588524, -0.01826029270887375, -0.00059013586724177, 0.0034310875926166773, -0.012495563365519047, 0.06400732696056366, -0.0042977770790457726, -0.04155561700463295, -0.012291091494262218, 0.0303267203271389, -0.031421903520822525, -0.038188327103853226, -0.08106726408004761, -0.05497542396187782, -0.03176939859986305, 0.019096773117780685, -0.05602925270795822, -0.07216203212738037, -0.010328907519578934, 0.08265824615955353, -0.03389992192387581, -0.024152303114533424, -0.009740488603711128, -0.08040260523557663, 0.02560676448047161, 0.017248868942260742, -0.06863554567098618, 0.01935262233018875, -0.051489945501089096, 0.00960149522870779, -0.047171249985694885, 0.04577482491731644, -0.04476303234696388, 0.023706870153546333, -0.0772894024848938, -0.0368361696600914, 0.01103744562715292, 0.03837061673402786, 0.06720919162034988, -0.03293997421860695, 0.06612133979797363, 0.040162015706300735, 0.0032839206978678703, 0.06662432104349136, 0.004190579988062382, -0.047224681824445724, 0.05077911540865898, -0.048640429973602295, 0.009256117977201939, 0.004854725673794746, 0.016393383964896202, -0.02725278027355671, -0.053522612899541855, -0.020839935168623924, -0.0014642608584836125, 0.0022726894821971655, 0.03228608891367912, 0.026666242629289627, -0.02831442467868328, 0.022838426753878593, 0.03411988541483879, 0.03215545043349266, 0.04475834220647812, -0.014712715521454811, 0.028905991464853287, -0.029660969972610474, 0.037906914949417114, 0.011387607082724571, -0.024868063628673553, -0.044292379170656204, 0.021222520619630814, 0.004353484604507685, -0.040263671427965164, -0.025105774402618408, 0.04238554462790489, 0.016797354444861412, -0.009733290411531925, 0.059622276574373245, -0.043793685734272, -0.010767029598355293, -0.06673131138086319, 0.04350341856479645, -0.009808243252336979, -0.03330351412296295, 0.007313655689358711, -0.04940176010131836, 0.006981490179896355, -0.03983289748430252, -0.01156074833124876, -0.016684385016560555, 0.007969080470502377, 0.015211793594062328, 0.021390914916992188, -0.032965704798698425, -0.054272573441267014, 0.00018402296700514853, 0.048967376351356506, -0.07596080750226974, -0.0009100320166908205, 0.03969505429267883, 0.08486142754554749, -0.08271999657154083, -0.023152440786361694, -0.017310291528701782, 0.017922982573509216, -0.02572542615234852, -0.004032597411423922, 0.01442771591246128, -0.016819898039102554, -0.03525376692414284, -0.012882630340754986, 0.03180339187383652, -0.04109770432114601, -0.01787693239748478, 0.04762633889913559, 0.008460063487291336, 0.026392227038741112, -0.02469639480113983, -0.007916254922747612, -0.00818173959851265, -0.025351593270897865, -0.05000869929790497, 0.032313402742147446, -0.02111753262579441, -0.04794948548078537, -0.046969372779130936, -0.043194569647312164, 0.0022067497484385967, 0.06217428669333458, 0.005783099681138992, -0.021204616874456406, -0.014728419482707977, 0.04090029373764992, 0.06584426015615463, 0.06291139125823975, -0.02026376500725746, 0.03587926924228668, 0.06582358479499817, 0.036741241812705994, -0.023479554802179337, 0.06773988902568817, 0.023418880999088287, -0.030708778649568558, -0.057027705013751984, -0.02523641474545002, 0.036940623074769974, -0.022897765040397644, 0.013950799591839314, 0.02910699136555195, -0.03941495344042778, -0.0642232745885849, 0.011057940311729908, 0.05008827894926071, -0.028758151456713676, -0.006945088040083647, -0.021931936964392662, -0.031726494431495667, -0.02715667337179184, 0.033096782863140106, -0.03504110127687454, -0.018693337216973305, -0.03198757395148277, 0.004158640280365944, 0.035000354051589966, 0.008887706324458122, 0.01391901820898056, 0.045582301914691925, -0.016293855383992195, 0.04991697892546654, -0.03407323732972145, 0.022943362593650818, -0.0288075041025877, -0.018333492800593376, -0.023949839174747467, 0.040545836091041565, 0.026562560349702835, 0.04622828587889671, -0.04676446691155434, -0.04025355353951454, 0.04242878407239914, 0.056309424340724945, 0.03732157498598099, 0.009745802730321884, -0.029034240171313286, 0.0003986670635640621, 0.027507999911904335, 0.034552767872810364, -0.037412554025650024, 0.013259240426123142, 0.02338339388370514, 0.006822291295975447, -0.027870813384652138, -0.034400574862957, -0.03847093507647514, 0.0025394433178007603, -0.053066354244947433, -0.06704136729240417, 0.025617361068725586, 0.03829292207956314, -0.009969335980713367, 0.040682896971702576, 0.015082619152963161, -0.006640691310167313, 0.029842449352145195, 0.0036188967060297728, 0.00651954859495163, -0.10837994515895844, 0.018728867173194885, 0.0353471077978611, 0.08269677311182022, -0.049661312252283096, 0.010719211772084236, 0.014348188415169716, 0.011078136041760445, 0.014368869364261627, -0.018530871719121933, 0.05073747783899307, 0.02175029180943966, 0.05357211455702782, -0.03524794057011604, 0.03169649839401245, 0.008553269319236279, 0.025923142209649086, 0.06612050533294678, -0.003388449316844344, 0.06599412113428116, -0.009527509100735188, 0.011936669237911701, 0.05498574674129486, 0.029417606070637703, -0.0073443264700472355, 0.022663284093141556, 0.06874783337116241, 0.0006997149903327227, 0.029616961255669594, 0.0363965705037117, 0.01705499365925789, 0.011116618290543556, -0.0368533656001091, -0.012425661087036133, -0.0010965033434331417, -0.02862960658967495, 0.058749739080667496, 0.0016479425830766559, -0.01425392460078001, 0.01301142480224371, 0.0055800797417759895, 0.01075627002865076, 0.04997782036662102, 0.002350521506741643, -0.022701309993863106, 0.0253620408475399, -0.026494881138205528, 0.01535727921873331, -0.05491359159350395, -0.04174333065748215, -0.011899343691766262, -0.060979221016168594, -0.009600738063454628, -0.09138676524162292, -0.01936420612037182, -0.06611691415309906, -0.025365181267261505, 0.045678284019231796, 0.030163366347551346, 0.012624537572264671, 0.015588984824717045, 0.01498468965291977, -0.015325646847486496, -0.06084463372826576, -0.04454221576452255, -0.03577714040875435, -0.007731955498456955, -0.050726644694805145, 0.03505808115005493, 0.03835572674870491, 0.0333552248775959, 0.005589562002569437, -0.0199004914611578, -0.027966465801000595, -0.028475364670157433, 0.054921239614486694, 0.011488182470202446, -0.04495828598737717, -0.030696818605065346, 0.017107298597693443, -0.005788557697087526, -0.02635147236287594, -0.025912167504429817, -0.04544536769390106, 0.05572034791111946, 0.03244652971625328, -0.006345554254949093, 0.022618792951107025, -0.0013352121459320188, -0.02104928344488144, -0.010631900280714035, -0.06895803660154343, -0.03660645708441734, 0.00179790158290416, -0.026898030191659927, -0.05784350633621216, -0.026949219405651093, -0.04060596600174904, 0.004418276250362396, -0.008009515702724457, -0.005396985448896885, 0.03558707982301712, 0.008309324271976948, 0.03654779866337776, 0.02674509957432747, -0.014960822649300098, -0.017630867660045624, 0.03136289119720459, -0.011787245981395245, -0.0011848879512399435, -0.0808136835694313, -0.03935562074184418, 0.03866957873106003, 0.00516580231487751, 0.0018902161391451955, -0.02636493183672428, 0.038445938378572464, 0.0225761067122221, -0.010074788704514503, 0.029303837567567825, -0.07281026989221573, 0.02287054993212223, -0.03283856064081192, -0.015510247088968754, -0.02317994274199009, -0.028011301532387733, -0.012924928218126297, 0.0017094017239287496, 0.02880951017141342, -0.08663294464349747, -0.04181839898228645, -0.028028080239892006, 0.002107146428897977, 0.040744297206401825, -0.007241475395858288, -0.06267750263214111, -0.0016158521175384521, -0.042285021394491196, -0.018341179937124252, -0.00014980570995248854, -0.014574178494513035, 0.004995463881641626, 0.0423118881881237, 0.005419646855443716, -0.02261335588991642, 0.052454594522714615, 0.014957526698708534, 0.0695105716586113, 0.061081428080797195, -0.023528413847088814, 0.03245333954691887, -0.012380150146782398, 0.0240224190056324, -0.00027861338458023965, -0.018642093986272812, -0.041992925107479095, -0.09946601092815399, -0.04978632554411888, 0.032764874398708344, -0.02346520870923996, 0.008531693369150162, 0.04250458627939224, -0.051069073379039764, 0.006695053074508905, -0.004771347623318434, 0.05122252181172371, 0.048403795808553696, -0.04074772819876671, 0.060462549328804016, 0.023874470964074135, 0.01184130646288395, -0.05976134538650513, -0.020356539636850357, -0.05056000128388405, -0.006594874430447817, -0.0027317036874592304, 0.06185149401426315, 0.019047139212489128, 0.0521240308880806, 0.07916546612977982, 0.038734667003154755, -0.03781295195221901, 0.05119461566209793, 0.07187779992818832, -0.0272153839468956, -0.04594472795724869, -0.00519765168428421, -0.0164467915892601, -0.01929437182843685, -0.005857409443706274, -0.04266961291432381, 0.03348243236541748, 0.03263997659087181, -0.0011428686557337642, 0.010371350683271885, 0.004914263729006052, -0.03632334619760513, -0.014205900020897388, -0.07043052464723587, -0.0010405262000858784, 0.011216037906706333, -0.03156910464167595, 0.05047692731022835, 0.04831615835428238, 0.011264466680586338, 0.06260905414819717, 0.010709838941693306, -0.028253033757209778, -0.05636576563119888, 0.024118563160300255, 0.013305455446243286, -0.044989340007305145, -0.06267553567886353, -0.03360981121659279, 0.04242426156997681, 0.04159187152981758, -0.03108160011470318, -0.0947650894522667, 0.023599771782755852, 0.038044679909944534, -0.044054508209228516, 0.06349651515483856, -0.007838568650186062, 0.05961087718605995, 0.03439589589834213, 0.014979323372244835, 0.038497839123010635, -0.05777065455913544, 0.010409567505121231, -0.01948538050055504, 0.04324036464095116, -0.052446264773607254, -0.03951983153820038, -0.05126304179430008, 0.04608382657170296, 0.009702934883534908, 0.002252895152196288, 0.015259778127074242, -0.041814833879470825, -0.034848522394895554, -0.009739539586007595, 0.029375070706009865, -0.016485854983329773, 0.016641469672322273, 0.029995022341609, 0.05893627554178238, -0.054156627506017685, -0.0038824130315333605, 0.006694378796964884, 0.012606341391801834, 0.023405058309435844, 0.0006373068899847567, -0.03705894947052002, 0.0044323476031422615, 0.019198007881641388, -0.0280743557959795, -0.03160865604877472, -0.08630067855119705, 0.029575631022453308, -0.033039700239896774, -0.029351478442549706, 0.08122234046459198, 0.0663207396864891, 0.07433266192674637, 0.08028922975063324, -0.010504653677344322, 0.046803027391433716, -0.02968752384185791, 0.01598888263106346, -0.02961745671927929, -0.03572776913642883, -0.010422713123261929, -0.06868624687194824, -0.03913912922143936, -0.034686487168073654, -0.028372259810566902, -0.03650200366973877, -0.005985287018120289, 0.016824018210172653, -0.013027222827076912, -0.013244163244962692, 0.01310078427195549, 0.0012769921449944377, -0.03334618732333183, -0.024626487866044044, -0.0013993870234116912, -0.007214052602648735, -0.08182576298713684, -0.06883849203586578, 0.016930531710386276, -0.01424108911305666, -0.005572131369262934, 0.008360435254871845, 0.018605832010507584, 0.040216222405433655, -0.007165933959186077, -0.01581658236682415, 0.011666025966405869, 0.03737013787031174, -0.025953475385904312, -0.023936016485095024, 0.014320556074380875, 0.017918318510055542, 0.03571363911032677, -0.03223883733153343, 0.0353013277053833, 0.00027305170078761876, -0.03961001709103584, -0.02997884713113308, 0.030366435647010803, 0.006388936657458544, -0.07710576802492142, -0.01612546667456627, -0.02483922429382801, -0.022041259333491325, 0.01116410456597805, -0.04853443801403046, -0.036401744931936264, -0.004961345344781876, 0.03899162635207176, 0.02516525611281395, -0.018879521638154984, -0.022469915449619293, 0.015122216194868088, -0.0024671610444784164, 0.0035172756761312485, -0.0643099918961525, 0.009826323948800564, -0.023985378444194794, 0.006967243272811174, -0.00466743391007185, 0.013295311480760574, -0.04861054569482803, 0.05407470464706421, -0.009996439330279827, -0.003788288915529847, 0.0000430886066169478, -0.01900540664792061, 0.00456509692594409, 0.05722678080201149, 0.014139714650809765, -0.01056509930640459, -0.027393192052841187, 0.05651528015732765, -0.044169262051582336, 0.008666538633406162, -0.008582371287047863, -0.013775751926004887, -0.04064575582742691, 0.0075856358744204044, 0.010252770967781544, -0.05614349991083145, 0.019514018669724464, 0.03766760975122452, 0.019065581262111664, 0.030459001660346985, 0.008566069416701794, 0.004740545991808176, 0.02745124325156212, -0.06174755096435547, -0.05042525380849838, 0.003493486437946558, -0.001744888024404645, 0.027210529893636703, 0.05528617650270462, 0.0324675515294075, -0.04584045335650444, -0.03194607421755791, 0.03858911991119385, 0.034105394035577774, 0.012370948679745197, -0.005382727365940809, 0.043208129703998566, 0.04833387956023216, 0.05762167647480965, -0.015671996399760246, -0.017985492944717407, 0.02253652922809124, -0.02179083041846752, -0.011561930179595947, 0.005442890804260969, 0.009439505636692047, -0.01640276238322258, -0.017957648262381554, -0.027922719717025757, 0.05879800394177437, -0.01484087947756052, 0.008157921954989433, -0.015129324980080128, -0.0514385811984539, 0.06282903254032135, 0.0017026799032464623, -0.028654729947447777, -0.004820423666387796, 0.02891617827117443, -0.03283993899822235, 0.03685024380683899, -0.026858940720558167, 0.009573202580213547, 0.07593265920877457, 0.020564397796988487, 0.0005738292238675058, 0.00897152628749609, -0.0208949726074934, -0.01255419384688139, 0.007962064817547798, -0.03784524276852608, -0.00890882033854723, -0.04742336645722389, 0.061672601848840714, -0.0486682690680027, 0.06813133507966995, 0.03984280675649643, 0.03082250989973545, 0.010276381857693195, -0.05507686734199524, -0.03989303484559059, -0.022325461730360985, -0.020678948611021042, 0.06687486916780472, -0.011424554511904716, -0.046297356486320496, 0.06300801783800125, 0.028155149891972542, -0.08444970101118088, 0.03899674490094185, 0.05038371682167053, 0.042657021433115005, 0.01566549576818943, 0.06400373578071594, -0.04434809461236, 0.023100243881344795, -0.019656911492347717, 0.02003043331205845, -0.04264894872903824, -0.016177771613001823, -0.016673117876052856, -0.04850509762763977, -0.011415417306125164, 0.008453687652945518, -0.013610013760626316, 0.014875523746013641, 0.02131342887878418, -0.013786311261355877, -0.055684540420770645, 0.005200387444347143, 0.03278519585728645, 0.0057665626518428326, -0.02158910594880581, -0.018899869173765182, 0.016432348638772964, 0.030883019790053368, -0.024270636960864067, -0.06361258774995804, 0.025271544232964516, 0.015873881056904793, -0.08057991415262222, -0.033255286514759064, 0.05573446676135063, 0.018194839358329773, -0.02658083662390709, 0.012722160667181015, 0.03691418841481209, 0.03248105198144913, 0.03201108053326607, -0.006569678895175457, 0.014989166520535946, -0.07395701855421066, 0.0009877579286694527, 0.021072551608085632, 0.012580408714711666, 0.007828227244317532, -0.022197896614670753, 0.023643657565116882, 0.08312679827213287, 0.047797828912734985, 0.005491735879331827, -0.053056247532367706, -0.04153040051460266, -0.003931790124624968, -0.03616320714354515, 0.05375193431973457, -0.00257902592420578, -0.06101697310805321, -0.03613005205988884, -0.03190165013074875, -0.008999081328511238, 0.03481963276863098, -0.030959099531173706, 0.0023982503917068243, 0.02465602569282055, 0.004399446304887533, -0.03220655396580696, -0.09929405897855759, -0.043626267462968826, -0.009868597611784935, 0.018540944904088974, 0.01947191171348095, -0.062026623636484146, 0.03446226567029953, -0.020378369837999344, -0.013495367020368576, 0.04755289852619171, -0.009904362261295319, -0.022874310612678528, 0.06836885958909988, 0.07322310656309128, -0.03543619066476822, 0.06733597069978714, 0.02261599898338318, -0.036614056676626205, 0.04162998124957085, 0.008487996645271778, 0.03664529323577881, 0.017475999891757965, 0.02029942162334919, -0.0002607567294035107, -0.023410236462950706, -0.029977338388562202, -0.034368846565485, 0.011247910559177399, 0.0009755378705449402, 0.05050090700387955 ]
AlchemistDude/DialoGPT-medium-Gon
[]
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 metrics: - rouge model-index: - name: bart-large-commentaries_hdwriter 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. --> # bart-large-commentaries_hdwriter This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 3.1619 - Rouge1: 26.1101 - Rouge2: 9.928 - Rougel: 22.9007 - Rougelsum: 23.117 - Gen Len: 15.9536 ## 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: 1 - eval_batch_size: 1 - 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 | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len | |:-------------:|:-----:|:-----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:| | 2.6237 | 1.0 | 5072 | 2.5309 | 26.4063 | 9.1795 | 22.6699 | 22.9125 | 17.3103 | | 1.8808 | 2.0 | 10144 | 2.5049 | 25.3706 | 8.7568 | 21.8594 | 22.1233 | 15.8579 | | 1.3084 | 3.0 | 15216 | 2.6680 | 26.6284 | 9.9914 | 23.1477 | 23.3625 | 16.8832 | | 0.9247 | 4.0 | 20288 | 2.8923 | 26.3827 | 9.8217 | 22.9524 | 23.1651 | 15.4529 | | 0.692 | 5.0 | 25360 | 3.1619 | 26.1101 | 9.928 | 22.9007 | 23.117 | 15.9536 | ### Framework versions - Transformers 4.15.0 - Pytorch 1.10.0+cu111 - Datasets 1.17.0 - Tokenizers 0.10.3
[ 0.00013723310257773846, -0.0020543644204735756, -0.027347030118107796, 0.061224985867738724, 0.032662298530340195, 0.010483600199222565, -0.0399906225502491, -0.03693823516368866, -0.020197657868266106, 0.05639044567942619, 0.042606934905052185, -0.022923462092876434, -0.0030208949465304613, 0.036460161209106445, -0.01583727076649666, -0.023690400645136833, -0.007417247164994478, -0.021024996414780617, -0.032337840646505356, -0.012956407852470875, 0.003654940752312541, 0.007419257424771786, -0.015113341622054577, 0.020800931379199028, 0.024532295763492584, -0.010075160302221775, -0.005376686807721853, 0.04280403256416321, 0.031778931617736816, -0.07676222175359726, 0.014329053461551666, -0.028599465265870094, -0.05246491730213165, -0.01609373465180397, -0.004923966713249683, 0.002843222813680768, -0.008678225800395012, 0.020062420517206192, 0.03059036284685135, 0.02398916520178318, 0.012562697753310204, 0.007552469614893198, -0.02546331286430359, -0.03763039410114288, 0.039811622351408005, -0.024125630035996437, -0.06948501616716385, -0.022903205826878548, 0.0621928833425045, -0.02986096777021885, -0.04372316598892212, -0.07309552282094955, 0.003323271404951811, 0.02463637851178646, -0.007585686165839434, -0.021123096346855164, -0.04142170026898384, 0.02369043231010437, 0.068913035094738, -0.03546181321144104, -0.045715492218732834, -0.003323368728160858, -0.0508752167224884, 0.0313253216445446, 0.020428093150258064, -0.05026329308748245, 0.024857938289642334, -0.04493189603090286, 0.05013369023799896, 0.0020368548575788736, 0.06017262861132622, -0.05570121482014656, 0.0222955159842968, -0.08625137060880661, 0.005143941380083561, -0.0066666072234511375, 0.0430833175778389, 0.040783803910017014, -0.049644291400909424, 0.05999148637056351, 0.0259496308863163, 0.012109044007956982, 0.037312403321266174, -0.028112325817346573, -0.017548933625221252, 0.03307631239295006, -0.03843916580080986, 0.01061953790485859, 0.03562410920858383, 0.03492259606719017, -0.04152315855026245, -0.06046554073691368, -0.03733309358358383, -0.016918553039431572, -0.014909841120243073, 0.021716250106692314, 0.031086862087249756, -0.0230427086353302, 0.004612726625055075, 0.01707840897142887, 0.037004660815000534, 0.03639955073595047, -0.0024289998691529036, 0.10182395577430725, -0.02191266044974327, -0.006374294403940439, -0.03600901737809181, -0.0014107839670032263, -0.03674648329615593, 0.024566516280174255, 0.023048099130392075, -0.04718011990189552, -0.03600678592920303, 0.03540780767798424, 0.005977455992251635, -0.009146673604846, 0.0673973560333252, -0.038356583565473557, -0.0680849701166153, -0.024229343980550766, 0.011014080606400967, 0.0013419180177152157, -0.012289369478821754, -0.001732048811390996, -0.07449247688055038, -0.0032800869084894657, -0.026135951280593872, -0.053820934146642685, 0.0054095229133963585, 0.011314066126942635, -0.013355421833693981, 0.06604426354169846, 0.003934663254767656, -0.06836902350187302, -0.014976918697357178, 0.011286692693829536, -0.04229340702295303, 0.04193740338087082, 0.011145009659230709, 0.11641658842563629, -0.052947137504816055, -0.06987316161394119, 0.015443190932273865, 0.032556213438510895, -0.02137908525764942, 0.023902522400021553, 0.014900543726980686, -0.004434880334883928, -0.034296710044145584, -0.005750189535319805, 0.03737041726708412, -0.06566435843706131, -0.020611630752682686, 0.07453954964876175, 0.00016325157776009291, 0.03382852301001549, -0.05155329406261444, -0.011975137516856194, 0.024281177669763565, -0.038656096905469894, -0.010082839988172054, 0.041567809879779816, 0.006322660017758608, 0.011549554765224457, -0.030367732048034668, -0.0486760176718235, -0.016652164980769157, 0.09884724020957947, 0.0018011467764154077, -0.015531737357378006, -0.030498234555125237, 0.029276398941874504, 0.040365107357501984, 0.04904444143176079, -0.02052411623299122, 0.013683310709893703, 0.053318485617637634, 0.052982643246650696, -0.038863297551870346, 0.02403288707137108, 0.020051835104823112, -0.03906433284282684, -0.027934454381465912, 0.058455564081668854, 0.0065840152092278, -0.044408008456230164, 0.03788870573043823, 0.023917118087410927, 0.025629829615354538, -0.03317887336015701, -0.027206799015402794, 0.05231107398867607, 0.0033138140570372343, -0.022272180765867233, 0.008890930563211441, 0.003404132090508938, -0.011456962674856186, 0.033494170755147934, -0.021954137831926346, 0.006115332245826721, -0.011444661766290665, -0.0503254234790802, 0.010674766264855862, -0.009722422808408737, 0.021265292540192604, 0.04947332665324211, -0.02157590538263321, 0.0561269149184227, -0.05928272753953934, 0.027245327830314636, -0.028381938114762306, -0.035460732877254486, -0.02113797701895237, 0.042009588330984116, 0.026004085317254066, 0.06466241180896759, -0.007719349581748247, -0.05866382643580437, 0.009833063930273056, 0.06378205120563507, 0.050688330084085464, 0.012692928314208984, -0.018714195117354393, -0.030100716277956963, 0.02928200736641884, 0.057630378752946854, -0.056200090795755386, -0.034645695239305496, 0.02151373215019703, 0.04687299206852913, -0.018635554239153862, 0.01779831200838089, -0.03285329416394234, 0.028099140152335167, -0.053774334490299225, -0.04364714026451111, 0.056082963943481445, 0.021262267604470253, -0.0020998953841626644, 0.023200903087854385, 0.0018165302462875843, 0.004744303412735462, 0.03432087600231171, 0.017251338809728622, 0.018034756183624268, -0.03888705000281334, -0.0015784082934260368, 0.019637292250990868, 0.034127458930015564, -0.04515833407640457, 0.027726158499717712, -0.016853971406817436, 0.0013503361260518432, 0.03268371894955635, -0.021003954112529755, 0.027294985949993134, 0.07401716709136963, 0.022275373339653015, -0.025736752897500992, 0.013167500495910645, 0.024770040065050125, 0.02913562022149563, 0.05259711667895317, -0.004223101306706667, 0.05694975703954697, 0.007803748827427626, 0.047967251390218735, 0.08430357277393341, 0.03700941428542137, 0.02837468311190605, 0.02769523486495018, 0.06372800469398499, 0.016804911196231842, -0.029826300218701363, 0.029980678111314774, -0.06275872886180878, 0.027666673064231873, -0.03697012737393379, 0.008808659389615059, -0.014665973372757435, -0.009539349004626274, 0.04316950589418411, 0.02402009814977646, -0.010507320053875446, -0.021194500848650932, -0.018567344173789024, -0.017175305634737015, 0.03547179698944092, -0.01855246163904667, -0.008945790119469166, -0.00858296174556017, -0.02678080089390278, 0.019406503066420555, -0.051574431359767914, -0.03232135251164436, 0.0013833267148584127, -0.02153654955327511, -0.01040041632950306, -0.10764456540346146, -0.013209410011768341, -0.08026432991027832, -0.008515739813446999, 0.05239567160606384, 0.009045219048857689, -0.014155038632452488, -0.03896714001893997, 0.01859842799603939, -0.0354873426258564, -0.021818537265062332, -0.0506463348865509, -0.042290303856134415, -0.03247795253992081, -0.09001652151346207, 0.033166129142045975, 0.03727978840470314, 0.03230822831392288, 0.012161174789071083, 0.013303468935191631, -0.008992531336843967, -0.03173953667283058, 0.04440705105662346, 0.049754418432712555, -0.037114422768354416, -0.04654368385672569, 0.011107262223958969, -0.019053468480706215, 0.017215972766280174, -0.006155258510261774, -0.051887646317481995, 0.06700562685728073, 0.054697852581739426, 0.01847352460026741, 0.009253982454538345, -0.03223380446434021, -0.06088010594248772, -0.03619639202952385, -0.024603217840194702, -0.018906369805336, -0.01468491181731224, -0.053049080073833466, -0.0401783250272274, -0.02941768430173397, -0.04090769588947296, 0.0000679607765050605, -0.01231201458722353, -0.0002597307611722499, 0.0357944518327713, 0.021171456202864647, 0.01015490759164095, 0.03958842530846596, -0.01924547739326954, -0.05643913149833679, 0.09521576017141342, 0.004018407315015793, -0.005546736530959606, -0.051111701875925064, -0.01935422234237194, 0.015583477914333344, 0.022579755634069443, 0.006202534306794405, 0.004040929023176432, 0.06668088585138321, 0.005259308032691479, -0.0056657446548342705, 0.01563853584229946, -0.01387996319681406, -0.0040694489143788815, -0.04009535536170006, -0.010413089767098427, -0.008933046832680702, -0.04456842690706253, -0.021701911464333534, -0.0061819651164114475, 0.04476618021726608, -0.06664061546325684, -0.054462309926748276, -0.004474549554288387, 0.016879094764590263, 0.06946228444576263, -0.015355936251580715, -0.06048569455742836, -0.02262902446091175, -0.06765866279602051, -0.011226644739508629, 0.045010972768068314, 0.010577263310551643, 0.028261516243219376, 0.05285423994064331, 0.03287191316485405, 0.02094559744000435, 0.04529966413974762, 0.041150838136672974, 0.06976532191038132, 0.017248544842004776, -0.07461772859096527, 0.024867940694093704, -0.014957495965063572, 0.02041572332382202, -0.009599976241588593, -0.011859779246151447, -0.027029430493712425, -0.09061992913484573, -0.007876023650169373, 0.012501404620707035, -0.014992325566709042, -0.011721254326403141, 0.04270412027835846, -0.018021756783127785, -0.04270855709910393, -0.014589154161512852, 0.019287841394543648, 0.01903635449707508, -0.044504061341285706, 0.038683824241161346, -0.011979561299085617, 0.020438244566321373, -0.04627980664372444, 0.003259103512391448, -0.02886345051229, -0.013070021755993366, 0.02758384868502617, 0.05911851301789284, -0.002652779221534729, 0.06320927292108536, 0.07470951974391937, 0.038915567100048065, -0.031041070818901062, 0.02212410233914852, 0.05202670767903328, -0.029437987133860588, -0.03418779373168945, -0.0021951955277472734, -0.012265296652913094, -0.01966184377670288, -0.024268846958875656, 0.00384476687759161, 0.03538684546947479, 0.01985560543835163, 0.002627941779792309, 0.006914685480296612, 0.019445734098553658, -0.004968983121216297, -0.030985943973064423, -0.06057851389050484, -0.008048328571021557, -0.014263207092881203, -0.0416465699672699, 0.020289346575737, 0.02954600565135479, 0.022355876863002777, 0.05943895876407623, 0.04706847295165062, -0.04620620980858803, -0.004930459428578615, 0.020092597231268883, 0.008307527750730515, -0.03375904634594917, -0.06006534770131111, -0.009877515956759453, 0.037357397377491, 0.026806997135281563, -0.02521178498864174, -0.0663277879357338, 0.002333563519641757, 0.07620080560445786, -0.05349953472614288, 0.03238482400774956, 0.03632325306534767, 0.03410995006561279, 0.05404292419552803, 0.00513722887262702, 0.03224046900868416, -0.024848056957125664, -0.008269932121038437, -0.004218714311718941, 0.027733201161026955, -0.01902313530445099, -0.02829774282872677, -0.03595537319779396, 0.016932612285017967, 0.019529839977622032, 0.049883436411619186, 0.029934190213680267, -0.020681019872426987, -0.041544314473867416, -0.0028103196527808905, 0.04522300139069557, -0.05022774264216423, -0.013126825913786888, 0.011188806965947151, 0.033210232853889465, -0.017082935199141502, -0.03164496645331383, -0.017641590908169746, -0.033094171434640884, 0.05115580931305885, -0.00945803988724947, -0.024125168099999428, -0.04583975672721863, 0.027345867827534676, -0.008153512142598629, -0.020977936685085297, -0.05829624459147453, 0.03516827151179314, -0.007118680980056524, 0.00307989539578557, 0.022826971486210823, 0.00739747378975153, 0.016688207164406776, 0.05773221701383591, 0.026910431683063507, 0.004591803066432476, -0.03560177609324455, 0.03175365924835205, -0.050761181861162186, -0.023654956370592117, 0.0060600703582167625, -0.04700271412730217, -0.030923794955015182, -0.025444524362683296, -0.04103991016745567, -0.017461951822042465, -0.014869092963635921, -0.0034184674732387066, -0.008273884654045105, -0.0034053309354931116, -0.014936582185328007, 0.019280962646007538, -0.01444183848798275, -0.0396941676735878, -0.04060425981879234, -0.03168567270040512, -0.0674964115023613, -0.036452557891607285, 0.013787709176540375, 0.016587695106863976, 0.041543420404195786, 0.029658228158950806, 0.03092891164124012, 0.01145102921873331, -0.0015063394093886018, -0.04135432839393616, 0.04169899597764015, -0.001998073887079954, -0.029851019382476807, -0.05598714202642441, 0.014893936924636364, 0.027381308376789093, 0.04266294091939926, -0.019887106493115425, 0.030230695381760597, 0.021611515432596207, -0.025677504017949104, -0.010498215444386005, 0.03972776234149933, 0.019187506288290024, -0.05913754180073738, -0.0440109446644783, 0.006314842030405998, -0.01969418302178383, 0.036641284823417664, -0.03656775504350662, -0.01770857721567154, 0.014877795241773129, 0.014639119617640972, 0.043254610151052475, -0.0048344191163778305, -0.021001197397708893, 0.014729447662830353, -0.022321568801999092, 0.022314388304948807, -0.07469014078378677, 0.04418081417679787, -0.044298846274614334, 0.015109923668205738, -0.006671990733593702, 0.017514638602733612, -0.03950316086411476, 0.04539727419614792, -0.006380062084645033, -0.006030506920069456, -0.011632761918008327, 0.051971398293972015, -0.016740873456001282, 0.012355659157037735, -0.037719640880823135, 0.049853239208459854, -0.025101734325289726, 0.058537475764751434, -0.04680618643760681, 0.0005116325919516385, -0.023270295932888985, 0.009291388094425201, -0.04429331794381142, 0.0004133330367039889, -0.02820395864546299, -0.0329606719315052, 0.02437552995979786, 0.056262847036123276, 0.05520738661289215, 0.0306656826287508, -0.030392596498131752, -0.018388913944363594, 0.023354047909379005, -0.05374604091048241, -0.03324055299162865, 0.0019480155315250158, 0.0034722674172371626, -0.009385379031300545, 0.06273354589939117, 0.04679698497056961, -0.04970783740282059, -0.04054955020546913, 0.05414346605539322, -0.0037319096736609936, -0.004482246935367584, -0.023819614201784134, 0.012906160205602646, 0.0456695482134819, 0.049802813678979874, -0.04637409374117851, -0.0015356477815657854, -0.02096342109143734, -0.0028262666892260313, 0.0395442359149456, -0.02117910608649254, 0.02190583385527134, 0.02253596857190132, -0.03783799707889557, -0.023520752787590027, 0.07095452398061752, 0.04056286811828613, 0.029183819890022278, -0.005621909163892269, -0.030087139457464218, 0.039256829768419266, -0.0008709403336979449, -0.043787114322185516, 0.03301328048110008, 0.014377161860466003, -0.022668514400720596, 0.07322297990322113, 0.021464277058839798, 0.002831961726769805, 0.05827067419886589, 0.04631468653678894, -0.01287134550511837, 0.05643223598599434, -0.02898011915385723, 0.03411967307329178, 0.03398551791906357, -0.07860144227743149, -0.011915616691112518, -0.043837059289216995, 0.05926194041967392, -0.07208520174026489, 0.058188434690237045, 0.05950651690363884, 0.013775005005300045, 0.023496005684137344, -0.050925690680742264, -0.04994815215468407, -0.006896513979882002, -0.05394641309976578, 0.06808583438396454, 0.0031699107494205236, -0.05623534321784973, 0.06459236145019531, 0.026522347703576088, -0.070844866335392, 0.05656655877828598, 0.061287034302949905, 0.021536091342568398, 0.019128870218992233, 0.03370162844657898, -0.038627561181783676, 0.012683085165917873, -0.045279983431100845, 0.04730737954378128, -0.029755055904388428, -0.011930959299206734, 0.025369716808199883, -0.020940648391842842, -0.018063612282276154, 0.038527000695466995, -0.033706650137901306, -0.013869019225239754, 0.06705901771783829, -0.03281978517770767, -0.05032780393958092, 0.014794167131185532, 0.031601227819919586, -0.03349335864186287, -0.02038927935063839, -0.027820460498332977, 0.012036287225782871, -0.005877124145627022, 0.003933032508939505, -0.013696014881134033, -0.005200011655688286, 0.04107867553830147, -0.06843096762895584, -0.03300175815820694, 0.030588844791054726, 0.004804430063813925, -0.01091156154870987, 0.0017257254803553224, -0.020733864977955818, 0.007665492594242096, 0.03021451085805893, -0.01385093666613102, 0.006464974023401737, -0.050940632820129395, -0.022518187761306763, 0.02133496291935444, -0.005804742686450481, 0.02103518322110176, -0.007197959814220667, 0.022888997569680214, 0.02648746222257614, 0.023798659443855286, -0.01299724169075489, -0.03790077194571495, -0.04471607506275177, 0.032667845487594604, -0.031498827040195465, 0.0051874578930437565, 0.003793482668697834, -0.04553079605102539, -0.0578826367855072, -0.00013972960005048662, -0.053579460829496384, 0.038538601249456406, -0.04666503891348839, 0.009434226900339127, 0.023309793323278427, -0.009990716353058815, -0.07519920915365219, -0.11203723400831223, -0.0344223789870739, -0.024207497015595436, 0.023932086303830147, 0.03595251962542534, -0.03776756674051285, 0.03521612659096718, -0.04120142012834549, -0.05037118121981621, 0.04310192912817001, 0.0048089888878166676, -0.047235485166311264, 0.050925735384225845, 0.02785024233162403, -0.04285842180252075, 0.0050250208005309105, 0.05281449481844902, -0.04152313992381096, 0.010810839012265205, 0.0397728756070137, 0.02341003343462944, 0.021659495308995247, 0.03778156265616417, -0.02152308262884617, -0.020383495837450027, -0.08227317780256271, -0.0454229936003685, -0.03782017156481743, 0.003938616253435612, 0.047197047621011734 ]
Ale/Alen
[]
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 model-index: - name: distilgpt2-sgnews 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-sgnews This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the None dataset. It achieves the following results on the evaluation set: - Loss: 3.1516 ## 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 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:-----:|:---------------:| | 3.3558 | 1.0 | 23769 | 3.2316 | | 3.2558 | 2.0 | 47538 | 3.1683 | | 3.2321 | 3.0 | 71307 | 3.1516 | ### Framework versions - Transformers 4.11.3 - Pytorch 1.9.0+cu111 - Datasets 1.14.0 - Tokenizers 0.10.3
[ -0.025961603969335556, -0.015496108680963516, -0.023803967982530594, 0.03401517495512962, 0.052918244153261185, 0.016526099294424057, -0.0061565786600112915, -0.003737644525244832, -0.05098135396838188, 0.06730972230434418, 0.019341034814715385, -0.011732318438589573, 0.0010696640238165855, 0.039953649044036865, -0.02815120480954647, -0.0447724387049675, -0.011567162349820137, -0.018053270876407623, -0.02815386652946472, 0.0008750210399739444, 0.017245471477508545, -0.006152111571282148, -0.012391695752739906, 0.00032166027813218534, -0.007054668851196766, 0.022470202296972275, 0.00688660703599453, 0.013927028514444828, 0.0338338278234005, -0.06403011828660965, 0.010102599859237671, -0.06102189049124718, -0.049048710614442825, -0.012376459315419197, -0.010921617969870567, -0.01377191673964262, -0.008043715730309486, 0.012603924609720707, 0.028046276420354843, 0.05215004086494446, -0.007089750375598669, 0.03328387439250946, -0.006737705320119858, -0.008312422782182693, 0.06079411134123802, 0.014884959906339645, -0.038244616240262985, -0.007526782341301441, 0.04531256482005119, -0.026903895661234856, -0.07010208070278168, -0.06056756526231766, -0.02360016293823719, 0.03294681757688522, -0.028199229389429092, -0.03537990152835846, -0.08091634511947632, 0.001562472665682435, 0.055712226778268814, -0.04132569581270218, -0.03870660439133644, 0.014485256746411324, -0.08333899080753326, 0.005068982020020485, 0.034663744270801544, -0.014162649400532246, 0.017903883010149002, -0.0448031909763813, 0.02286442741751671, -0.012759958393871784, 0.05878615751862526, -0.01684166118502617, 0.01426854357123375, -0.0865074098110199, -0.020611904561519623, -0.013297724537551403, 0.021756477653980255, 0.050228822976350784, -0.022899702191352844, 0.04381942376494408, 0.03152206912636757, -0.008317702449858189, 0.04295765236020088, -0.017579371109604836, 0.0016797606367617846, 0.033211227506399155, -0.05334961786866188, -0.003594764741137624, 0.0131320059299469, 0.049723464995622635, -0.04558629170060158, -0.04172924906015396, -0.018758976832032204, -0.0319623127579689, -0.013639752753078938, 0.019276876002550125, 0.022368574514985085, 0.02378022111952305, 0.04069642350077629, 0.010126396082341671, 0.04094889387488365, 0.02668539434671402, -0.02153424173593521, 0.07280828803777695, 0.0007099669310264289, -0.026502661406993866, -0.029916323721408844, -0.02582525834441185, -0.0777725875377655, 0.027114592492580414, 0.014783536083996296, -0.03343873843550682, -0.037499018013477325, 0.007275726180523634, 0.003045216202735901, 0.011611862108111382, 0.08004879206418991, -0.04636833816766739, -0.033122360706329346, -0.018012844026088715, 0.024400655180215836, 0.019236065447330475, -0.014422002248466015, -0.00526304030790925, -0.03487528860569, -0.002459300449118018, -0.02417556755244732, -0.024775424972176552, -0.012635990977287292, 0.01295569445937872, -0.004923086613416672, 0.05622406676411629, 0.03312003239989281, -0.06363851577043533, -0.016115235164761543, 0.017794542014598846, -0.04929819330573082, 0.052191127091646194, 0.034239329397678375, 0.09145437180995941, -0.06852758675813675, -0.07473767548799515, 0.0014426828129217029, -0.0009426144533790648, -0.02899058349430561, 0.017785096541047096, -0.003380080685019493, -0.05453289672732353, -0.009930562227964401, -0.004637713544070721, 0.06397000700235367, -0.04299050197005272, -0.011499013751745224, 0.05997360125184059, 0.007276469375938177, 0.035890910774469376, -0.039535507559776306, -0.03670046478509903, 0.016779709607362747, -0.001029268023557961, -0.02908754162490368, 0.05535409227013588, -0.011102027259767056, 0.0024541199672967196, -0.024090977385640144, -0.03469407185912132, -0.0017758577596396208, 0.08067795634269714, -0.007214162964373827, -0.03710779920220375, -0.014400461688637733, 0.02995673380792141, 0.04404310882091522, 0.04830629378557205, -0.02152652107179165, 0.012722348794341087, 0.0500706247985363, 0.04224911704659462, -0.03165043145418167, 0.041646361351013184, 0.032458655536174774, -0.013813537545502186, -0.010856013745069504, 0.0029015913605690002, 0.004981804173439741, -0.0550416000187397, 0.019519953057169914, 0.020935725420713425, 0.005590318236500025, -0.06971431523561478, -0.03260057047009468, 0.04278320446610451, 0.004247135017067194, -0.004692521411925554, -0.007922066375613213, -0.00158165383618325, -0.025403659790754318, 0.04271000251173973, -0.017825692892074585, 0.0077133141458034515, -0.02858807146549225, -0.014341769739985466, 0.0043561444617807865, 0.0052895862609148026, 0.03815283998847008, 0.041564635932445526, -0.02176995389163494, 0.09012143313884735, -0.044953640550374985, 0.013574200682342052, -0.02609889581799507, -0.04511646181344986, 0.007152096834033728, 0.048867423087358475, 0.055645652115345, 0.05794493108987808, 0.018147217109799385, -0.041311826556921005, 0.05051109194755554, 0.06789882481098175, 0.04179169237613678, 0.02389376424252987, -0.029405100271105766, 0.005700545851141214, 0.0405714213848114, 0.05376157537102699, -0.0489877350628376, -0.02158462628722191, 0.02418707124888897, 0.02646941877901554, -0.01601993292570114, 0.009891511872410774, -0.031056683510541916, 0.05392926186323166, -0.05288799852132797, -0.056849583983421326, 0.034362584352493286, 0.013972870074212551, -0.0015444430755451322, 0.01603638380765915, 0.006689123343676329, 0.0077935694716870785, 0.022452356293797493, 0.01640118658542633, 0.01043824665248394, -0.04723064601421356, 0.023269735276699066, 0.02363503910601139, 0.04910338297486305, -0.04470503330230713, 0.03525957837700844, -0.012514499016106129, 0.0007383862393908203, 0.04324030503630638, -0.04303671047091484, 0.028860947117209435, 0.05883113294839859, 0.037818267941474915, -0.04254612699151039, 0.023439494892954826, -0.0072938743978738785, 0.04391021654009819, 0.033519916236400604, 0.005587362684309483, 0.06373796612024307, -0.003476842073723674, 0.04799026995897293, 0.08454256504774094, 0.025823574513196945, 0.03449277579784393, 0.03274550661444664, 0.08458710461854935, 0.007701076101511717, -0.0029857847839593887, 0.057751353830099106, -0.05232178792357445, 0.0138905243948102, -0.050913359969854355, 0.0009741078247316182, -0.032539647072553635, -0.010263576172292233, 0.0504918172955513, 0.02029360458254814, -0.029843075200915337, 0.00014813357847742736, -0.004225908778607845, -0.013769133016467094, 0.0074246907606720924, -0.008872074075043201, -0.009461315348744392, -0.008742628619074821, -0.02018686756491661, -0.016166744753718376, -0.0706842914223671, -0.04618712142109871, -0.0385342538356781, -0.015848038718104362, -0.03910728543996811, -0.0957597866654396, -0.005982742644846439, -0.07811907678842545, -0.020043859258294106, 0.03495810925960541, 0.0011795705650001764, 0.007561036851257086, -0.02866150438785553, 0.03276430442929268, -0.048052828758955, -0.05388074368238449, -0.04724828526377678, -0.06222822144627571, -0.032444681972265244, -0.08341719955205917, 0.03330482542514801, 0.027036741375923157, 0.0045627872459590435, 0.00893882755190134, 0.013353916816413403, 0.00939259398728609, -0.022625138983130455, 0.03737061098217964, 0.0533965639770031, -0.0327267199754715, -0.04376321658492088, 0.04757437855005264, -0.016402825713157654, 0.00961930863559246, 0.015755195170640945, -0.03317803516983986, 0.08616477996110916, 0.06640102714300156, 0.014222677797079086, 0.009668450802564621, -0.02109983004629612, -0.06630481779575348, -0.06567005068063736, -0.03052699938416481, -0.03432267904281616, -0.012439476326107979, -0.021985843777656555, -0.050440713763237, -0.027962954714894295, -0.039201732724905014, -0.004120237194001675, -0.008241168223321438, 0.02317296899855137, 0.03317023441195488, 0.02866935543715954, 0.02884799800813198, 0.029290122911334038, -0.023084117099642754, -0.045461494475603104, 0.05231231078505516, 0.00682993046939373, 0.015158835798501968, -0.07635360211133957, -0.019075389951467514, 0.04033089801669121, 0.01975690945982933, 0.00009108409722102806, -0.004754093941301107, 0.0815405622124672, -0.0017666330095380545, -0.0024170945398509502, 0.028725555166602135, -0.0174486692994833, -0.016603045165538788, 0.01982841081917286, 0.003386100986972451, -0.025521891191601753, -0.027757782489061356, -0.027418961748480797, -0.028139524161815643, 0.03816962614655495, -0.06031731516122818, -0.06661722809076309, -0.01785752736032009, 0.027081098407506943, 0.058024391531944275, -0.008279664441943169, -0.03510689735412598, -0.0004285277973394841, -0.08118344098329544, 0.01574816182255745, 0.04794807732105255, 0.025982143357396126, 0.022289780899882317, 0.05525955185294151, 0.005805456079542637, -0.010159237310290337, 0.026098523288965225, 0.04384997487068176, 0.08218413591384888, 0.010753775015473366, -0.07042648643255234, -0.004382001701742411, -0.01992160454392433, 0.024571865797042847, -0.003608477534726262, 0.005109243094921112, -0.023662889376282692, -0.10783842951059341, -0.03042425960302353, 0.012024866417050362, -0.006081561092287302, -0.00790371187031269, 0.03340452164411545, -0.005027953535318375, -0.02091270498931408, 0.006879194639623165, 0.01600128784775734, 0.04069535806775093, -0.05264050513505936, 0.03576026111841202, -0.022517206147313118, 0.010967716574668884, -0.055819109082221985, -0.0012111495016142726, -0.03703737631440163, -0.010335306636989117, 0.0012993478449061513, 0.04899466782808304, -0.010796320624649525, 0.0497361458837986, 0.07914530485868454, 0.025336774066090584, -0.03191140294075012, 0.041844867169857025, 0.07401005923748016, -0.05008676275610924, -0.05624692142009735, -0.0017562868306413293, -0.001246134052053094, -0.011070418171584606, -0.0019375922856852412, -0.005723436363041401, 0.04007551074028015, 0.0473313070833683, 0.01087015587836504, 0.006961047183722258, 0.012341826222836971, -0.005839455407112837, -0.025674987584352493, -0.03954264894127846, -0.027174441143870354, -0.004969668108969927, -0.024139126762747765, -0.014803171157836914, 0.02940887026488781, 0.03851986676454544, 0.0846324935555458, 0.02262481115758419, -0.04186965897679329, -0.024797966703772545, 0.01678456738591194, 0.02100570686161518, -0.02194836735725403, -0.07147470116615295, -0.036375224590301514, 0.023620421066880226, 0.03664136305451393, -0.023254208266735077, -0.04937881976366043, -0.0021718039643019438, 0.03861613944172859, -0.04313087463378906, 0.06354731321334839, 0.005998201202601194, 0.028881218284368515, 0.05870228633284569, -0.0215517058968544, 0.03573508560657501, -0.02204011008143425, 0.009265277534723282, -0.005042852368205786, 0.04159804806113243, -0.015126478858292103, -0.030997013673186302, -0.04382219910621643, 0.0168182160705328, 0.03498290479183197, 0.03240445256233215, 0.04098048806190491, -0.03545365482568741, -0.05220676213502884, 0.0025935564190149307, 0.047179531306028366, -0.041716136038303375, -0.007510538678616285, 0.024165617302060127, 0.03447554633021355, -0.04685770720243454, -0.030019834637641907, -0.02242254465818405, -0.013576793484389782, 0.040478259325027466, -0.019950738176703453, -0.021947063505649567, -0.029557732865214348, 0.04071547091007233, 0.0025357927661389112, -0.010732251219451427, -0.06796468794345856, 0.053760070353746414, -0.013099106028676033, -0.01758848875761032, 0.058149538934230804, 0.04443597048521042, 0.02493900991976261, 0.0634811595082283, 0.027827471494674683, 0.05708933249115944, -0.032374147325754166, 0.028166290372610092, -0.045079555362463, -0.017039593309164047, 0.0035463115200400352, -0.029156560078263283, -0.03569555655121803, -0.02295440062880516, -0.05090055614709854, -0.038007952272892, -0.03443581238389015, 0.004867914132773876, -0.0028312529902905226, -0.014104578644037247, 0.0028032215777784586, 0.046386972069740295, -0.016023796051740646, -0.03381599113345146, -0.033454373478889465, -0.019317815080285072, -0.06595861166715622, -0.07055466622114182, 0.011782784946262836, -0.0013159008231014013, 0.044914137572050095, 0.024613618850708008, 0.02805447205901146, 0.012821956537663937, 0.013247307389974594, -0.039005961269140244, 0.020525885745882988, 0.017979100346565247, -0.023608770221471786, -0.021091775968670845, 0.016893872991204262, 0.006908233743160963, 0.026741530746221542, -0.02244848757982254, 0.027328651398420334, 0.012062990106642246, -0.016303876414895058, -0.00936916284263134, 0.008652400225400925, 0.029123689979314804, -0.0659354105591774, -0.031650345772504807, 0.0012910480145365, -0.03337553143501282, 0.00938576553016901, -0.0217528585344553, -0.007504987996071577, -0.014416877180337906, 0.010788128711283207, 0.03564831614494324, -0.032199569046497345, -0.02661842294037342, 0.023160314187407494, -0.02285877987742424, 0.024765565991401672, -0.05601958557963371, 0.05054350942373276, -0.026021229103207588, 0.020312413573265076, -0.0241852980107069, 0.02018703892827034, -0.03837225213646889, 0.04347478598356247, 0.00043050028034485877, -0.013679210096597672, -0.016191555187106133, 0.04021145775914192, -0.021833470091223717, 0.044007498770952225, -0.0052566127851605415, 0.03037812002003193, -0.03386138752102852, 0.06900249421596527, -0.03241130709648132, 0.03176577761769295, -0.0320180244743824, 0.03244435787200928, -0.014436447992920876, -0.00010099492646986619, -0.020429011434316635, -0.02609090507030487, 0.021377814933657646, 0.06337965279817581, 0.028541646897792816, 0.00907173939049244, -0.012377522885799408, -0.0049639856442809105, 0.011338534764945507, -0.043098218739032745, -0.011720274575054646, -0.001126981107518077, -0.01579609327018261, -0.02570393681526184, 0.051057297736406326, 0.04696072265505791, -0.039301738142967224, -0.06591783463954926, 0.027809347957372665, 0.012468562461435795, 0.0027427924796938896, -0.0006211051950231194, 0.038177572190761566, 0.024334315210580826, 0.04831183701753616, -0.028048649430274963, 0.007311290130019188, -0.020077211782336235, -0.034133557230234146, 0.032053392380476, -0.0071614570915699005, 0.031896237283945084, 0.007991212420165539, -0.03859254717826843, -0.015114187262952328, 0.059174057096242905, 0.03379882499575615, 0.01983756385743618, -0.00010276123794028535, -0.047537606209516525, 0.03586070239543915, 0.004140178207308054, -0.04839213192462921, 0.02474687434732914, 0.01622016355395317, -0.01837753690779209, 0.0702662244439125, -0.019380170851945877, 0.0058791907504200935, 0.04169965535402298, 0.028561029583215714, -0.017239471897482872, 0.06804151833057404, -0.03225743770599365, 0.011944002471864223, 0.05392588675022125, -0.07191959768533707, 0.0031766737811267376, -0.03941323235630989, 0.05374426394701004, -0.058432530611753464, 0.020220201462507248, 0.052371859550476074, 0.012392807751893997, 0.034911561757326126, -0.05847807228565216, -0.052306272089481354, 0.009031473658978939, -0.03973941504955292, 0.08178538829088211, 0.007251972332596779, -0.03307414427399635, 0.071533203125, -0.006249428726732731, -0.05866062641143799, 0.05073272064328194, 0.05047367885708809, 0.04877161234617233, 0.034867510199546814, 0.04143095761537552, -0.03967401757836342, -0.006544440984725952, -0.030294144526124, 0.013673528097569942, -0.05450563132762909, -0.012614036910235882, 0.038186054676771164, -0.050423506647348404, -0.035932447761297226, 0.034456852823495865, -0.016599023714661598, -0.02869546227157116, 0.05673778057098389, -0.06122326850891113, -0.03913164511322975, 0.023166581988334656, 0.038428910076618195, -0.03326580673456192, -0.0015873489901423454, -0.03790529817342758, -0.004607911221683025, 0.012367826886475086, 0.012079388834536076, -0.010802343487739563, 0.004694094881415367, 0.03705954924225807, -0.04770858585834503, -0.03652629628777504, 0.019431130960583687, 0.0013745259493589401, -0.017416832968592644, 0.04541397467255592, 0.018417689949274063, 0.04196237400174141, 0.027875587344169617, -0.020592989400029182, 0.02635565958917141, -0.04934684932231903, -0.011926509439945221, 0.01260201632976532, -0.009474274702370167, 0.04267338663339615, -0.0009712749160826206, 0.0351845882833004, 0.02868625894188881, 0.021010154858231544, 0.00009796662925509736, -0.04511592909693718, -0.03751407936215401, -0.0010805490892380476, -0.047577571123838425, 0.022531507536768913, 0.009734226390719414, -0.046079207211732864, -0.03882994502782822, -0.01589244231581688, -0.048694971948862076, 0.03750975430011749, -0.057185471057891846, -0.0019260570406913757, 0.025973428040742874, 0.01085930597037077, -0.06182774901390076, -0.0918995663523674, -0.020994087681174278, -0.042404115200042725, 0.017813967540860176, 0.04167290776968002, -0.04026297852396965, 0.0566343255341053, -0.04998091608285904, -0.03947518393397331, 0.0344058983027935, 0.03759302943944931, -0.03664547950029373, 0.05744415521621704, 0.06111025810241699, -0.04736441746354103, 0.02510906010866165, 0.017905790358781815, -0.050516385585069656, 0.00885521899908781, 0.010530436411499977, -0.00820827018469572, 0.0297233946621418, 0.011451344937086105, -0.0416187085211277, -0.00779033312574029, -0.0924101397395134, -0.05301467329263687, -0.0436892956495285, -0.0012189270928502083, 0.054845910519361496 ]
AlekseyKorshuk/horror-scripts
[ "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 } } }
19
null
--- tags: - generated_from_trainer model-index: - name: finetune-paraphrase-model 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. --> # finetune-paraphrase-model This model is a fine-tuned version of [coderpotter/adversarial-paraphrasing-detector](https://huggingface.co/coderpotter/adversarial-paraphrasing-detector) on an unknown 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: 0.1 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | No log | 0.1 | 200 | 3.0116 | ### Framework versions - Transformers 4.15.0 - Pytorch 1.10.0+cu111 - Datasets 1.17.0 - Tokenizers 0.10.3
[ -0.031045299023389816, -0.02296588383615017, -0.022458339110016823, 0.04375327378511429, 0.047959934920072556, 0.027813196182250977, -0.00266585242934525, -0.011408108286559582, -0.041581131517887115, 0.06351807713508606, 0.04281877726316452, 0.0008022625697776675, 0.01564956270158291, 0.03606896847486496, -0.01882764883339405, -0.05503113195300102, -0.03777270019054413, -0.0015224115923047066, -0.029612842947244644, -0.002469054888933897, 0.01055866852402687, -0.011539372615516186, -0.0040150904096663, 0.0006049032672308385, -0.0026102145202457905, -0.011700446717441082, -0.028039079159498215, -0.0014719413593411446, 0.022457720711827278, -0.0631362646818161, 0.011832755990326405, -0.043157968670129776, -0.031337570399045944, -0.020750146359205246, -0.021331679075956345, 0.023722168058156967, -0.01216854713857174, 0.0356401726603508, 0.03284958377480507, 0.05645573139190674, -0.005111203528940678, 0.030424019321799278, 0.011531519703567028, -0.015925254672765732, 0.044423434883356094, 0.014871812425553799, -0.04134071618318558, -0.006239523179829121, 0.05004660412669182, -0.0364006869494915, -0.03114081360399723, -0.07545267790555954, -0.027233710512518883, 0.027853144332766533, -0.00948889460414648, -0.006241369992494583, -0.07746878266334534, -0.0309000127017498, 0.06817969679832458, -0.04125973954796791, -0.02821112796664238, 0.007748147007077932, -0.069029800593853, 0.0203940998762846, 0.029020655900239944, -0.04185735806822777, 0.023896079510450363, -0.043787892907857895, 0.02281433902680874, -0.023674918338656425, 0.05599236488342285, -0.03597297891974449, 0.05101701244711876, -0.10068187862634659, -0.010373842902481556, -0.007345161400735378, 0.03621133044362068, 0.037572406232357025, -0.041292283684015274, 0.05591510981321335, 0.03203659504652023, 0.003933720290660858, 0.03004545345902443, -0.031676363199949265, 0.007354742847383022, 0.050653304904699326, -0.019953709095716476, 0.0050550056621432304, 0.012097419239580631, 0.035827331244945526, -0.039000269025564194, -0.03906767815351486, -0.028946712613105774, -0.02875218354165554, -0.023003028705716133, 0.016639478504657745, 0.06011941656470299, 0.010696456767618656, 0.03840726241469383, 0.00358483730815351, 0.034674543887376785, 0.03660787642002106, -0.030757904052734375, 0.07434844970703125, 0.0002455721842125058, -0.012196850962936878, -0.01731790043413639, -0.043275680392980576, -0.02978913113474846, 0.05960540100932121, 0.02513691410422325, -0.03289863467216492, -0.05257853865623474, 0.033274371176958084, 0.021860115230083466, 0.00904802605509758, 0.04854780063033104, -0.0359896644949913, -0.03364661708474159, -0.04538211226463318, 0.025530915707349777, 0.022076748311519623, 0.01554090529680252, -0.00574283255264163, -0.03830387815833092, 0.013597849756479263, -0.029617007821798325, -0.06647312641143799, -0.022939573973417282, 0.022693293169140816, -0.012349124997854233, 0.05352955684065819, 0.018575772643089294, -0.045280471444129944, -0.013706947676837444, 0.01588735729455948, -0.06401683390140533, 0.01903088577091694, 0.02277773804962635, 0.10486543923616409, -0.05684640631079674, -0.08180594444274902, -0.004343245178461075, -0.007774006109684706, -0.02209663949906826, 0.01662103645503521, -0.0022342174779623747, -0.06591567397117615, -0.013562921434640884, 0.01930929906666279, 0.06985346972942352, -0.035389866679906845, 0.003473870921880007, 0.044288650155067444, 0.0004935351898893714, 0.044810112565755844, -0.04155121371150017, -0.010142151266336441, -0.009757556021213531, 0.006935359910130501, -0.04228001460433006, 0.050698645412921906, -0.015289237722754478, -0.006394659169018269, -0.03561950847506523, -0.03813447058200836, -0.01650465652346611, 0.07661367207765579, -0.00794336386024952, -0.028223853558301926, -0.036307912319898605, 0.03715675324201584, 0.04299187287688255, 0.042141854763031006, -0.02121199108660221, 0.057033561170101166, 0.04033956676721573, 0.04577840864658356, -0.015078812837600708, 0.0362367257475853, 0.0025683902204036713, -0.039480410516262054, -0.012594977393746376, 0.010912303812801838, -0.0031751065980643034, -0.04221935570240021, 0.03628717362880707, 0.02586720883846283, -0.0249549001455307, -0.06450827419757843, -0.03041030652821064, 0.04142962023615837, 0.009442825801670551, 0.026362154632806778, 0.009691566228866577, 0.002839517081156373, -0.016044754534959793, 0.04572312906384468, -0.016211021691560745, 0.015583021566271782, -0.014710438437759876, -0.04918606951832771, -0.00401517516002059, 0.021256018429994583, 0.013153799809515476, 0.05242300406098366, -0.0076321447268128395, 0.08396482467651367, -0.029040010645985603, 0.015760723501443863, -0.030767088755965233, -0.05658113583922386, 0.02681722491979599, 0.05916979908943176, 0.009706873446702957, 0.05913963168859482, -0.012689809314906597, -0.05489548668265343, 0.03311082720756531, 0.05604689568281174, 0.02679704874753952, 0.03196332976222038, -0.03135696426033974, 0.0001183902204502374, 0.03967629373073578, 0.04887734353542328, -0.03631054610013962, -0.025351330637931824, 0.010863728821277618, 0.023818546906113625, -0.0012091631069779396, 0.026100346818566322, -0.008779045194387436, 0.03682117164134979, -0.06112828850746155, -0.06255142390727997, 0.039044830948114395, 0.055402860045433044, -0.03187071904540062, 0.044431980699300766, 0.0026064265985041857, 0.011971717700362206, 0.030896199867129326, 0.004122526850551367, 0.008026381023228168, -0.0715802013874054, 0.007343145087361336, 0.007803641725331545, 0.051747631281614304, -0.05641922354698181, 0.03383886441588402, -0.012681555934250355, 0.011246071197092533, 0.04628131538629532, -0.06475716829299927, 0.017153574153780937, 0.06160193681716919, 0.04340304434299469, -0.041148874908685684, 0.03243334963917732, 0.020650887861847878, 0.06393299996852875, 0.04421616345643997, -0.014252252876758575, 0.071517713367939, -0.008604397065937519, 0.040437594056129456, 0.08252953737974167, 0.035205669701099396, 0.006369434297084808, 0.019268060103058815, 0.03739100322127342, 0.01744985021650791, 0.000026028064894489944, 0.05018894746899605, -0.07223419100046158, 0.04694109782576561, -0.05132603272795677, 0.027905218303203583, -0.03485254943370819, -0.0064079915173351765, 0.05388110131025314, 0.027589304372668266, -0.025421200320124626, -0.008157958276569843, -0.0294449832290411, -0.03658498451113701, -0.0006941086612641811, -0.000907834037207067, -0.013507087714970112, -0.005887495819479227, -0.013674566522240639, -0.014552800916135311, -0.0866369679570198, -0.042992185801267624, 0.013374144211411476, -0.01596004143357277, -0.010174281895160675, -0.09206236898899078, -0.03351537138223648, -0.04440820962190628, -0.013207409530878067, 0.03274991363286972, 0.03724208101630211, 0.01721000112593174, -0.032201167196035385, 0.017754076048731804, -0.04033958911895752, -0.030313700437545776, -0.07820688933134079, -0.03049083799123764, -0.016819734126329422, -0.06417869031429291, 0.020885393023490906, 0.018380476161837578, 0.008953193202614784, -0.0014823958044871688, 0.005963597912341356, -0.009797119535505772, 0.01929054595530033, 0.06306742131710052, 0.05232982337474823, -0.015697091817855835, -0.02444157935678959, 0.025735976174473763, 0.007441284600645304, 0.013918961398303509, -0.012589073739945889, -0.04516075551509857, 0.08903497457504272, 0.07090767472982407, 0.025247523561120033, 0.013124975375831127, -0.033162474632263184, -0.05173865705728531, -0.031056426465511322, -0.026903929188847542, -0.06742854416370392, -0.018777431920170784, -0.025031208992004395, -0.03609392046928406, -0.02556426078081131, -0.038868535310029984, -0.008180541917681694, 0.00644063763320446, 0.020651081576943398, 0.05085310339927673, 0.047030236572027206, 0.030922580510377884, 0.007760838605463505, -0.0505986325442791, -0.044006235897541046, 0.058909885585308075, 0.002367929555475712, -0.00237359874881804, -0.08014575392007828, -0.02922329120337963, 0.041622012853622437, 0.011623800732195377, 0.026967670768499374, 0.003830023342743516, 0.07962579280138016, -0.008748393505811691, -0.007326387334614992, 0.019292909651994705, -0.005020688753575087, -0.0054596359841525555, -0.0013625395949929953, -0.006396136712282896, -0.0056665134616196156, -0.043725136667490005, -0.02840624935925007, -0.016285717487335205, 0.04851426184177399, -0.07183830440044403, -0.03878277912735939, -0.015963509678840637, 0.021179350093007088, 0.06021906062960625, 0.003509209956973791, -0.06454025954008102, -0.027743710204958916, -0.0614284910261631, -0.0053164600394666195, 0.03347298130393028, 0.007487053517252207, 0.01953715831041336, 0.02444412186741829, 0.02789929509162903, -0.023093171417713165, 0.02802906557917595, 0.02959129959344864, 0.06008372828364372, 0.020755045115947723, -0.023695891723036766, 0.020305253565311432, -0.00689489021897316, 0.04184073954820633, -0.015403480269014835, -0.01747620850801468, -0.03780768811702728, -0.08033720403909683, -0.04248113930225372, -0.0016470452537760139, -0.01018272340297699, -0.01101886946707964, 0.03314324468374252, -0.03257216513156891, -0.02350848726928234, 0.011555503122508526, 0.012785213068127632, 0.0670977532863617, -0.05638568848371506, 0.07904258370399475, -0.009838413447141647, 0.019125554710626602, -0.03973822295665741, 0.025985661894083023, -0.026273660361766815, -0.02299007587134838, 0.027457015588879585, 0.06151856109499931, -0.001830117660574615, 0.06360464543104172, 0.07589051127433777, 0.03930581733584404, -0.031704869121313095, 0.034998439252376556, 0.05879088491201401, -0.010140744969248772, -0.058012139052152634, 0.00002777253757813014, -0.009213508106768131, -0.03337943181395531, 0.005592929664999247, -0.02229134365916252, 0.036130063235759735, 0.0353480689227581, -0.0028353866655379534, 0.009098565205931664, 0.007944964803755283, 0.005942958872765303, -0.03647357225418091, -0.05384429544210434, -0.015983235090970993, -0.003506746608763933, -0.00952830445021391, 0.018762340769171715, 0.02418496087193489, 0.0027263478841632605, 0.06478336453437805, 0.04569253697991371, -0.02822963148355484, -0.033834073692560196, 0.016920600086450577, -0.0011406401172280312, -0.042261216789484024, -0.06988197565078735, -0.03627948835492134, 0.041875991970300674, 0.0441364161670208, -0.016968563199043274, -0.06094754487276077, -0.012153180316090584, 0.034325167536735535, -0.019920937716960907, 0.05202130973339081, -0.028575249016284943, 0.03369078040122986, 0.06294243037700653, -0.007412233855575323, 0.028001438826322556, -0.02112615667283535, -0.010333415120840073, -0.0019028920214623213, 0.03437091037631035, -0.048823125660419464, -0.04017204791307449, -0.05405404791235924, 0.030586300417780876, 0.0631444975733757, 0.03674731403589249, 0.033249638974666595, -0.03443276882171631, -0.044557761400938034, 0.006301254965364933, 0.025564121082425117, -0.04104537144303322, 0.011951116845011711, 0.0238430667668581, 0.04988502711057663, -0.041037097573280334, -0.037067558616399765, -0.04086127132177353, -0.005186229944229126, 0.017737336456775665, -0.003526944201439619, -0.04190312698483467, -0.029877934604883194, 0.038781821727752686, 0.006612631492316723, -0.02027914673089981, -0.09017033129930496, 0.022432319819927216, 0.0020024743862450123, -0.014603517949581146, 0.06234607845544815, 0.03187600523233414, 0.034902434796094894, 0.03340638056397438, 0.029591860249638557, 0.04049785062670708, -0.03383959084749222, 0.04396824911236763, -0.022510992363095284, -0.03247326612472534, 0.0037087267264723778, -0.05797538161277771, -0.041371967643499374, -0.029115334153175354, -0.023131340742111206, -0.05052538216114044, -0.028813594952225685, -0.009421574883162975, -0.00551664037629962, 0.0017798979533836246, -0.017089374363422394, 0.043623536825180054, -0.005449030548334122, -0.00498943543061614, -0.012534381821751595, -0.01980516128242016, -0.06010783091187477, -0.03556039184331894, 0.031364940106868744, 0.006493691820651293, 0.043730899691581726, 0.015804726630449295, 0.004590457770973444, 0.022619498893618584, 0.04484311863780022, -0.03646707162261009, 0.025832563638687134, -0.011292684823274612, -0.02257775142788887, -0.0132822934538126, 0.022131137549877167, 0.01195155456662178, -0.0076989466324448586, -0.020636746659874916, 0.051328837871551514, 0.005880099255591631, -0.009353815577924252, -0.023213554173707962, 0.03127659857273102, 0.024920636788010597, -0.08356224000453949, -0.030994683504104614, 0.005294864531606436, -0.046986982226371765, 0.024245265871286392, -0.01985522359609604, -0.016766587272286415, -0.01874658279120922, 0.0032505220733582973, 0.025549236685037613, -0.018930912017822266, -0.020742207765579224, 0.01961074024438858, -0.01715151034295559, 0.04029063507914543, -0.057012371718883514, 0.04430576413869858, -0.040802646428346634, -0.0018081724410876632, -0.023993460461497307, 0.0042615546844899654, -0.0641927644610405, 0.05391306057572365, -0.008125607855618, -0.019298367202281952, -0.019679732620716095, 0.030984148383140564, -0.02860265038907528, 0.026174860075116158, -0.039012208580970764, 0.025309273973107338, -0.042643215507268906, 0.06499017775058746, -0.036799605935811996, 0.006528194062411785, -0.04117988422513008, 0.012160547077655792, -0.027732865884900093, -0.0034632489550858736, -0.017344484105706215, -0.043728359043598175, 0.043886780738830566, 0.040552835911512375, 0.04672684520483017, 0.03849349170923233, 0.0015948006184771657, -0.0174088254570961, 0.02747960016131401, -0.046697117388248444, -0.04054074361920357, -0.0023540849797427654, 0.02314557321369648, 0.01406974159181118, 0.048688020557165146, 0.046807143837213516, -0.03740669786930084, -0.07111119478940964, 0.05663653835654259, 0.008183447644114494, 0.02571835368871689, 0.02651035040616989, 0.027653755620121956, 0.024314116686582565, 0.042780693620443344, -0.04979845508933067, -0.007186866365373135, -0.015338664874434471, -0.04836350306868553, 0.025494176894426346, -0.016706259921193123, 0.025832269340753555, 0.017214873805642128, -0.03090871125459671, -0.02458944357931614, 0.03442180156707764, 0.03575251251459122, 0.036438267678022385, -0.008538181893527508, -0.05823575332760811, 0.020755872130393982, -0.009103087708353996, -0.053575363010168076, -0.0016284775920212269, 0.00546928821131587, -0.027214640751481056, 0.05272817239165306, 0.0009945383062586188, 0.01632460206747055, 0.03750233352184296, 0.04004177823662758, 0.0011860295198857784, 0.04128004610538483, -0.02771022543311119, 0.021577399224042892, 0.047977007925510406, -0.08780055493116379, -0.01494936365634203, -0.042919714003801346, 0.08116702735424042, -0.03800287842750549, 0.021643923595547676, 0.052776891738176346, 0.023562032729387283, -0.012262651696801186, -0.033743519335985184, -0.07300470024347305, 0.004701612051576376, -0.028460146859288216, 0.07982748001813889, 0.0050659747794270515, -0.06597719341516495, 0.07535623013973236, 0.0008079935796558857, -0.06875529140233994, 0.057412974536418915, 0.04285856708884239, 0.05235268548130989, 0.019457805901765823, 0.032582513988018036, -0.06677672266960144, -0.006455280352383852, -0.03757194057106972, 0.012204699218273163, -0.06904937326908112, -0.0156328734010458, 0.02832191437482834, -0.029928147792816162, -0.02136077731847763, 0.044853296130895615, 0.001897851936519146, -0.009760323911905289, 0.03782816231250763, -0.04920201748609543, -0.012552102096378803, 0.008868483826518059, -0.003184772562235594, -0.037652526050806046, 0.009482325986027718, -0.014063782058656216, 0.008963731117546558, 0.01374985184520483, 0.00796515867114067, 0.003224440384656191, 0.0076741985976696014, 0.018611151725053787, -0.031073134392499924, -0.029048863798379898, 0.023391414433717728, -0.015605737455189228, -0.013309294357895851, 0.024020826444029808, 0.010206722654402256, 0.013113231398165226, 0.005968839395791292, 0.0024041547439992428, 0.030998243018984795, -0.06379619985818863, -0.023297104984521866, 0.012129274196922779, -0.004484167322516441, 0.04127233847975731, 0.0051255133002996445, 0.060522232204675674, 0.03260163962841034, 0.010996446013450623, 0.00017286183719988912, -0.023736193776130676, -0.0456872321665287, 0.013587253168225288, 0.000927060202229768, 0.011918877251446247, 0.004296062048524618, -0.046359285712242126, -0.031475331634283066, -0.0006506554782390594, -0.022429481148719788, 0.023280754685401917, -0.06842141598463058, -0.007444774731993675, 0.03357392176985741, -0.002737687900662422, -0.07164685428142548, -0.08675152063369751, -0.030867086723446846, -0.027752110734581947, 0.028599761426448822, 0.033502884209156036, -0.042475491762161255, 0.018336618319153786, -0.05050810053944588, -0.05515376105904579, 0.04139396920800209, 0.010744144208729267, -0.024143090471625328, 0.03883763402700424, 0.019931552931666374, -0.031096797436475754, 0.02214336022734642, 0.029466960579156876, -0.03485025838017464, 0.01248854398727417, 0.016576141119003296, 0.028388483449816704, 0.03174474090337753, 0.0076872496865689754, -0.0406019501388073, -0.02199881337583065, -0.05378714203834534, -0.014484362676739693, -0.048243775963783264, 0.017356308177113533, 0.06604716181755066 ]
AlgoveraAI/dcgan
[ "pytorch", "transformers" ]
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 } } }
12
null
--- language: th datasets: - common_voice tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning license: apache-2.0 --- # Wav2Vec2-Large-XLSR-53 in Thai Language (Train with deepcut tokenizer)
[ -0.04103774204850197, -0.020559443160891533, -0.002822194481268525, 0.01462589856237173, 0.0682651698589325, 0.021648207679390907, -0.02281256765127182, 0.02053099311888218, -0.019260628148913383, 0.039301399141550064, 0.02519819140434265, -0.018370915204286575, 0.006741341669112444, 0.02262544259428978, -0.03209473937749863, -0.037677500396966934, -0.04396701976656914, -0.020789744332432747, -0.05945239216089249, -0.004618171136826277, 0.027468902990221977, 0.043934956192970276, -0.013676351867616177, 0.054155368357896805, 0.007674723397940397, 0.02924119494855404, -0.04776922985911369, 0.034906055778265, 0.03243112564086914, -0.04678775742650032, -0.0010808054357767105, -0.027470411732792854, -0.009058479219675064, -0.05890154838562012, -0.018549088388681412, -0.0127803860232234, 0.01910681650042534, 0.028055675327777863, 0.0343250073492527, 0.03936600312590599, -0.03194006532430649, 0.018163345754146576, 0.0033315669279545546, -0.05018587037920952, 0.015493741258978844, -0.022456234320998192, -0.005703467410057783, -0.02603238634765148, -0.0058562252670526505, -0.021597610786557198, -0.04970882833003998, -0.07183334231376648, -0.00929478369653225, 0.002988409250974655, -0.0007608070154674351, -0.021774660795927048, -0.03789461404085159, -0.006159682758152485, 0.05088433623313904, -0.04601706564426422, -0.013137551955878735, -0.004428570624440908, -0.07217441499233246, 0.01014318224042654, 0.02131524309515953, -0.09329260140657425, 0.015323697589337826, -0.05872562155127525, 0.01406050380319357, -0.007351230829954147, 0.05558719485998154, -0.01701556146144867, 0.003806568682193756, -0.09055090695619583, -0.02086799591779709, -0.025772318243980408, 0.03661684691905975, 0.05028541758656502, -0.05205940082669258, 0.06754390150308609, 0.01662476547062397, 0.022108737379312515, 0.029989711940288544, -0.018091654404997826, -0.005846984218806028, 0.04862358421087265, -0.0144836800172925, 0.016062239184975624, 0.016780110076069832, 0.03844401240348816, -0.030939485877752304, -0.04829234257340431, -0.00877494364976883, -0.035710763186216354, 0.008396698161959648, 0.048231709748506546, 0.054828062653541565, -0.0009951668325811625, 0.02214869111776352, 0.03688150271773338, 0.041256289929151535, 0.022504379972815514, -0.04554274305701256, 0.029238594695925713, -0.001025571720674634, 0.008443549275398254, -0.011735467240214348, -0.028364600613713264, -0.03965165466070175, 0.042434100061655045, 0.0249235350638628, -0.060918793082237244, -0.03590694069862366, 0.040581170469522476, 0.02052077278494835, -0.02927590347826481, 0.044987209141254425, -0.066527359187603, -0.02664586529135704, -0.04827224090695381, 0.047998711466789246, 0.0028973130974918604, -0.007048628758639097, -0.009736227802932262, -0.04081005975604057, 0.025981871411204338, -0.044447094202041626, -0.03631095588207245, 0.0013226981973275542, -0.01149626076221466, -0.005250133574008942, 0.06599999964237213, -0.015988964587450027, -0.04211213067173958, -0.0032822599168866873, 0.013280177488923073, -0.05758935213088989, 0.035554785281419754, 0.008682352490723133, 0.07686040550470352, -0.049117039889097214, -0.061781492084264755, 0.010521456599235535, 0.014805499464273453, -0.012084360234439373, 0.03432223200798035, 0.02480361796915531, -0.04200926423072815, -0.028117503970861435, -0.04562732204794884, 0.049152109771966934, -0.08373380452394485, -0.006129980552941561, 0.0618426539003849, -0.015248594805598259, 0.03704698383808136, -0.00044957990758121014, 0.014620723202824593, 0.010281483642756939, -0.002635698765516281, -0.014990314841270447, 0.04625675827264786, 0.005912011954933405, -0.005411871708929539, -0.05380956456065178, -0.059100665152072906, 0.003229674184694886, 0.07242826372385025, 0.00430541206151247, -0.01086985319852829, -0.043635085225105286, 0.01743163727223873, 0.047191012650728226, 0.02726707234978676, -0.039253540337085724, 0.02420615963637829, 0.0823000892996788, 0.051003340631723404, -0.018589649349451065, 0.06704747676849365, 0.018153419718146324, -0.0329861082136631, -0.04666956141591072, 0.01039100531488657, 0.025168010964989662, -0.049613501876592636, -0.023873578757047653, 0.030919231474399567, -0.008174994960427284, -0.02338310517370701, -0.0100265396758914, 0.047893695533275604, -0.01932639442384243, -0.01734055019915104, 0.014588220976293087, -0.03880316764116287, -0.03387542814016342, 0.04343648627400398, -0.028096366673707962, -0.002458254573866725, -0.030938351526856422, -0.015312828123569489, -0.001099210581742227, 0.021370362490415573, 0.0383574403822422, 0.059975918382406235, -0.017245303839445114, 0.0828186422586441, -0.027840033173561096, 0.0004829230601899326, -0.011639310047030449, -0.057030461728572845, -0.001985988114029169, 0.04701553285121918, 0.038736119866371155, 0.05335719883441925, -0.0010880565969273448, -0.05953684821724892, 0.022387182340025902, 0.06742175668478012, 0.060798004269599915, 0.04067648947238922, -0.03066273033618927, 0.008456598967313766, 0.006050471682101488, 0.06053343415260315, -0.04074578359723091, -0.030296292155981064, 0.023335425183176994, 0.040169235318899155, -0.0022083288058638573, -0.007447028998285532, -0.012624691240489483, 0.030667753890156746, -0.05618668347597122, -0.0671338140964508, 0.03944361209869385, 0.006308069918304682, 0.020077375695109367, 0.022693902254104614, -0.03323819488286972, 0.006111363880336285, 0.03561461716890335, 0.000549988413695246, 0.015886928886175156, -0.046042345464229584, -0.006780981086194515, -0.021297898143529892, 0.031668733805418015, -0.04870050773024559, 0.034908588975667953, -0.004911834839731455, 0.010616745799779892, 0.042676232755184174, -0.034295205026865005, 0.05600972846150398, 0.024013660848140717, 0.016135215759277344, -0.03994213789701462, 0.03235545754432678, -0.003963653929531574, 0.0513308160007, 0.0829506367444992, 0.007938213646411896, 0.049063749611377716, -0.01874108612537384, 0.05882309004664421, 0.06936603039503098, 0.017834104597568512, 0.03296305239200592, 0.026317551732063293, 0.05898119509220123, 0.009016649797558784, -0.013545649126172066, 0.0640701949596405, -0.03992891311645508, 0.042493317276239395, -0.03632962331175804, -0.0053592645563185215, -0.037694767117500305, 0.0073353019542992115, 0.02465260587632656, -0.008908811025321484, -0.003481530351564288, 0.013194547034800053, -0.030058233067393303, -0.011533844284713268, 0.058502715080976486, -0.011832539923489094, -0.014424252323806286, 0.0023741070181131363, -0.01211975421756506, 0.023473331704735756, -0.0677456334233284, -0.03718189150094986, -0.0006090683164075017, -0.04300125688314438, 0.04634224250912666, -0.08387496322393417, -0.04275651276111603, -0.08158040046691895, -0.02017504721879959, 0.04249657317996025, 0.04731058329343796, 0.015831846743822098, -0.043021541088819504, 0.019237346947193146, -0.047874484211206436, -0.029016578570008278, -0.06293094158172607, -0.04055125638842583, -0.008927742019295692, -0.062357835471630096, 0.050966452807188034, 0.036755695939064026, 0.05838191509246826, 0.011169745586812496, -0.01915651001036167, -0.05264798924326897, -0.03424893319606781, 0.060249973088502884, 0.0359695665538311, -0.04753110185265541, -0.041046589612960815, 0.021287595853209496, -0.025980012491345406, -0.001515800948254764, -0.014245538040995598, -0.02646082639694214, 0.07843999564647675, 0.05594916641712189, 0.036578673869371414, 0.013666290789842606, -0.02202601172029972, -0.07140683382749557, -0.04680360481142998, -0.03016013465821743, -0.029854832217097282, -0.017633171752095222, -0.014021637849509716, -0.034910112619400024, -0.01440373808145523, -0.03892362490296364, -0.016290493309497833, -0.0020073677878826857, 0.007269600406289101, 0.04337277635931969, 0.04886951670050621, 0.025247471407055855, 0.026777802035212517, -0.03447214886546135, -0.019090794026851654, 0.04853156954050064, 0.003960330039262772, -0.024609548971056938, -0.06691116094589233, -0.03673773631453514, 0.036337804049253464, 0.021447792649269104, -0.010886533185839653, 0.014986497350037098, 0.07040349394083023, -0.023464223369956017, -0.00798281840980053, 0.013172867707908154, -0.048524223268032074, 0.005187558941543102, -0.007320626638829708, 0.0032276147976517677, -0.008572567254304886, -0.06574051082134247, 0.029249785467982292, 0.018886899575591087, 0.058260947465896606, -0.05624150112271309, -0.037615325301885605, -0.017537163570523262, 0.022226247936487198, 0.03817824646830559, -0.02289440855383873, -0.035752829164266586, 0.01105634868144989, -0.039888933300971985, -0.024321142584085464, 0.01272526290267706, 0.0005642877658829093, 0.02629762701690197, 0.05709431320428848, 0.01055928599089384, -0.002727092243731022, 0.0479801744222641, 0.03179233521223068, 0.08089157938957214, 0.04065779224038124, -0.0335075818002224, 0.014162355102598667, -0.011644820682704449, 0.025371048599481583, -0.020729191601276398, -0.034027621150016785, -0.05334369093179703, -0.07567266374826431, -0.03380277752876282, 0.019813774153590202, -0.03196825459599495, -0.01930844597518444, 0.05213038995862007, 0.0002164240286219865, 0.02441233955323696, 0.01636160910129547, 0.02304353564977646, 0.04835043475031853, -0.039175208657979965, 0.03831974416971207, -0.005088775418698788, 0.03644295409321785, -0.06597231328487396, -0.00829711277037859, -0.03188799321651459, -0.01987350732088089, 0.003642826108261943, 0.07514231652021408, 0.009590145200490952, 0.038469430059194565, 0.07597969472408295, 0.008362269029021263, -0.051542527973651886, 0.06316855549812317, 0.04295589029788971, -0.02328277751803398, -0.05262153223156929, 0.015205158852040768, -0.016721736639738083, -0.03804919123649597, 0.002612930489704013, -0.06685328483581543, 0.021533899009227753, 0.06837839633226395, -0.008860988542437553, -0.009325787425041199, 0.015131908468902111, -0.043498747050762177, -0.04711741954088211, -0.022886408492922783, -0.04726659879088402, 0.02234964445233345, -0.0332883857190609, 0.046133339405059814, 0.04363233968615532, 0.01428272295743227, 0.06857261806726456, 0.045454949140548706, -0.06220803037285805, -0.0315752737224102, 0.03992264345288277, 0.030273107811808586, -0.052469998598098755, -0.06371863931417465, -0.05090094730257988, 0.017328673973679543, 0.03030184470117092, -0.00910642184317112, -0.0672331228852272, 0.03238086774945259, 0.023426273837685585, -0.02788669429719448, 0.06954874843358994, 0.00028405978810042143, 0.02670852281153202, 0.05537896603345871, 0.010061034932732582, 0.02169596590101719, -0.01637479104101658, 0.01074578333646059, -0.0075130462646484375, -0.00030917004914954305, -0.03464822098612785, -0.026335179805755615, -0.05716932192444801, 0.012535842135548592, 0.0246858149766922, 0.04043107479810715, 0.03834998235106468, -0.0404471680521965, -0.03053445741534233, -0.007824870757758617, 0.03276263177394867, -0.04515305906534195, 0.023372242227196693, 0.028713945299386978, 0.04730141535401344, -0.014429007656872272, -0.02035124972462654, 0.000554606900550425, 0.0014096383238211274, 0.02558809146285057, -0.03136367350816727, -0.038546040654182434, -0.04171207547187805, 0.020489675924181938, -0.02059769630432129, -0.043370459228754044, -0.08155597746372223, 0.013542656786739826, -0.003931975923478603, -0.02765294350683689, 0.07636391371488571, 0.023261938244104385, 0.07385263592004776, 0.009697862900793552, 0.01727467030286789, 0.06439310312271118, -0.02832534722983837, 0.04276493191719055, -0.020864754915237427, -0.019725896418094635, -0.002333288546651602, -0.021862847730517387, -0.03270742669701576, -0.015418726950883865, -0.03677599877119064, -0.028102440759539604, 0.0009061746532097459, 0.025967132300138474, -0.020729444921016693, 0.008798347786068916, -0.008921471424400806, 0.0225917287170887, -0.002894928678870201, -0.033776458352804184, -0.0056222910061478615, -0.008538777008652687, -0.06337370723485947, -0.018132686614990234, 0.031145088374614716, -0.009694195352494717, -0.004453996196389198, -0.016804860904812813, 0.015638526529073715, 0.03272521495819092, -0.02226102538406849, -0.010343656875193119, 0.038636572659015656, 0.00031710771145299077, -0.025488203391432762, -0.02222135290503502, 0.032082002609968185, 0.009392254054546356, 0.01702461577951908, -0.027125686407089233, 0.024734435603022575, 0.016601601615548134, -0.033483121544122696, -0.01737927831709385, -0.015244790352880955, 0.036125052720308304, -0.0718211978673935, -0.041249923408031464, -0.014665463007986546, -0.0419926717877388, 0.0131861986592412, -0.02902156487107277, 0.006446033716201782, 0.025126302614808083, 0.031585317105054855, 0.03745884448289871, 0.012040975503623486, -0.03144048526883125, 0.02539413794875145, -0.01737983524799347, 0.012410085648298264, -0.05206006020307541, 0.0335751548409462, -0.020691534504294395, 0.006794442422688007, -0.012761719524860382, 0.016091544181108475, -0.04278593137860298, 0.03876408934593201, 0.012643103487789631, 0.021388906985521317, -0.01646733283996582, 0.012134644202888012, -0.018933366984128952, 0.02816241793334484, -0.007655811961740255, 0.030335331335663795, -0.02714230678975582, 0.05327659100294113, -0.034844014793634415, 0.019866349175572395, -0.00460153678432107, 0.009946979582309723, -0.04856524243950844, -0.02895152010023594, 0.016306715086102486, -0.05756182223558426, 0.04356912896037102, 0.05762677639722824, 0.025425195693969727, 0.028057733550667763, -0.02358521707355976, -0.008344900794327259, 0.029429469257593155, -0.047632522881031036, -0.013547803275287151, 0.005864622071385384, 0.04026429355144501, -0.004166771192103624, 0.04203100875020027, 0.011517813429236412, -0.04319864884018898, -0.06001342087984085, 0.020481407642364502, 0.0044220564886927605, 0.013483376242220402, 0.01238939631730318, 0.026936540380120277, 0.033705249428749084, 0.06662389636039734, -0.004013596568256617, 0.0020342436619102955, -0.01841811276972294, 0.005343958269804716, 0.011734619736671448, 0.001934507628902793, -0.009502042084932327, -0.018537968397140503, -0.03644772619009018, -0.03820737823843956, 0.062455907464027405, 0.010042393580079079, 0.036486849188804626, -0.0336897112429142, -0.06426528841257095, 0.023629169911146164, 0.01030840165913105, -0.04338672757148743, 0.002959062810987234, 0.00012278551002964377, -0.014389160089194775, 0.05535617098212242, 0.006021751556545496, 0.03648018091917038, 0.020334450528025627, 0.02156611904501915, -0.019035818055272102, 0.025947654619812965, -0.03057538904249668, 0.022114234045147896, 0.03148757293820381, -0.04325262829661369, -0.011771224439144135, -0.028898784890770912, 0.06130102276802063, -0.06221405416727066, 0.04807613790035248, 0.04541550204157829, 0.026719817891716957, 0.05049623176455498, -0.02506062388420105, -0.02581380307674408, 0.013543880544602871, -0.023484349250793457, 0.07142822444438934, 0.03199543431401253, -0.06393445283174515, 0.051077380776405334, 0.02222416363656521, -0.10055175423622131, 0.037132278084754944, 0.002250266494229436, 0.01977933757007122, 0.03024187870323658, 0.0275044534355402, -0.043021105229854584, 0.023492714390158653, -0.04473166540265083, 0.006082735490053892, -0.06241750717163086, 0.009749210439622402, 0.0037140515632927418, -0.049107443541288376, -0.030330024659633636, 0.006273315288126469, -0.05330917611718178, -0.0054217735305428505, 0.01878889836370945, -0.033148426562547684, -0.05993450805544853, -0.015464600175619125, 0.03442016988992691, -0.04720272868871689, -0.002548990771174431, -0.02947806380689144, -0.0019210579339414835, 0.04039314389228821, 0.010045383125543594, -0.025125496089458466, -0.01970997452735901, 0.015832630917429924, -0.03992876410484314, -0.05750252306461334, 0.04848473519086838, 0.043529003858566284, -0.03334137052297592, 0.0288075003772974, 0.001434994861483574, 0.04410213977098465, 0.034342456609010696, 0.008583411574363708, 0.04829555004835129, -0.0653875395655632, -0.011109287850558758, -0.019528169184923172, 0.04574530944228172, 0.01524476706981659, -0.0191102996468544, 0.05134539306163788, 0.06048076972365379, 0.023254934698343277, 0.012269524857401848, -0.028977347537875175, -0.03157772868871689, 0.0173039548099041, -0.04365571215748787, 0.03137891739606857, 0.009976943954825401, -0.05320858955383301, -0.013562208041548729, 0.0014923233538866043, -0.024242036044597626, 0.04407408460974693, -0.04922919347882271, 0.0190273467451334, 0.02174702286720276, -0.022148307412862778, -0.04356411099433899, -0.0648326501250267, -0.03520236164331436, -0.03423226997256279, 0.037652578204870224, 0.013035289011895657, -0.050115641206502914, 0.0073382738046348095, -0.03810228407382965, -0.054299309849739075, 0.03831666707992554, 0.01361185684800148, -0.03989985212683678, 0.06571109592914581, 0.06599272042512894, -0.046226635575294495, 0.024846021085977554, 0.04062066227197647, -0.042162079364061356, 0.0614776611328125, 0.01688341610133648, 0.03160357475280762, 0.04172737896442413, 0.04434715956449509, -0.023114416748285294, -0.03897642344236374, -0.063819520175457, -0.028170304372906685, -0.031657446175813675, -0.01300733257085085, 0.053911395370960236 ]
AliReza/distilbert-emotion
[]
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
Test English-Dhivehi/Dhivehi-English NMT Would need a lot more data to get accurate translations.
[ -0.01565507799386978, 0.00729999877512455, 0.015713920816779137, 0.029175302013754845, 0.060937125235795975, 0.024909721687436104, 0.004488389007747173, -0.021275270730257034, -0.027835765853524208, 0.0271078459918499, 0.03505760431289673, -0.02505544386804104, 0.032700315117836, 0.03877302259206772, -0.02878257818520069, -0.002806619042530656, -0.04214654117822647, -0.030997732654213905, -0.04391897842288017, -0.027677670121192932, 0.01105156634002924, -0.017600394785404205, -0.00380062498152256, 0.011170771904289722, 0.01679718680679798, 0.01997801847755909, -0.024005930870771408, 0.008006970398128033, 0.0257266815751791, -0.04175218939781189, 0.008869527839124203, -0.04441056400537491, -0.03103993460536003, -0.03292607143521309, -0.03472936525940895, 0.005154305137693882, 0.007930561900138855, 0.020978357642889023, 0.058662205934524536, 0.060922518372535706, -0.00030610518297180533, 0.020142868161201477, -0.01337628997862339, -0.020256901159882545, 0.0226970836520195, 0.002437020419165492, -0.03246700018644333, -0.03066280297935009, 0.010691041126847267, -0.040045734494924545, -0.02989986538887024, -0.06299781799316406, -0.0311761312186718, -0.00009202660294249654, 0.030403444543480873, -0.04063383862376213, -0.044926367700099945, 0.009567300789058208, 0.043533727526664734, -0.051031049340963364, -0.010060908272862434, -0.013996722176671028, -0.04767835512757301, 0.006775582209229469, 0.012705565430223942, -0.06794983893632889, 0.018118469044566154, -0.03101198934018612, 0.03598377853631973, -0.04114774614572525, 0.018178790807724, -0.03220638632774353, 0.0400390550494194, -0.09769558161497116, -0.03977914899587631, -0.021380098536610603, 0.04045011103153229, 0.045384593307971954, -0.0444764569401741, 0.05875448137521744, 0.011913605965673923, -0.010946916416287422, 0.027537239715456963, -0.01242360845208168, -0.0055520376190543175, 0.042157646268606186, -0.02914351411163807, 0.015328725799918175, -0.0002523275907151401, 0.021115627139806747, -0.057927653193473816, -0.028923632577061653, -0.007090809289366007, -0.01438105572015047, 0.00250102486461401, 0.00870630331337452, 0.05047731101512909, -0.006863281596451998, 0.026122743263840675, 0.08209259063005447, 0.026033757254481316, 0.05011468753218651, -0.02657398022711277, 0.03794294223189354, 0.0003128463285975158, 0.00869570579379797, -0.010555051267147064, -0.030284453183412552, -0.022763866931200027, -0.0023106944281607866, -0.003992456942796707, -0.048189908266067505, -0.03176407516002655, 0.05838778242468834, 0.007135309744626284, -0.05335551127791405, 0.044369108974933624, -0.05991141498088837, -0.05618260055780411, -0.06284096091985703, 0.03448000177741051, -0.002160439733415842, -0.042088933289051056, -0.006986657623201609, -0.05460432544350624, 0.014919809997081757, -0.02035088837146759, -0.03569570556282997, -0.01206677220761776, -0.003809364279732108, -0.020761290565133095, 0.04368658736348152, 0.019111163914203644, -0.073048897087574, 0.021245354786515236, 0.020391972735524178, -0.041467200964689255, 0.024168608710169792, 0.02426188625395298, 0.07392199337482452, -0.03626132756471634, -0.03197897970676422, 0.007315248250961304, 0.011891396716237068, -0.016616880893707275, 0.007432813290506601, -0.007016231771558523, -0.037580329924821854, -0.040034081786870956, -0.0005103484727442265, 0.04743792489171028, -0.05879037454724312, 0.024784669280052185, 0.052517119795084, 0.0020867432467639446, 0.013932621106505394, -0.046577587723731995, -0.0008338817278854549, -0.02220573090016842, -0.020002014935016632, -0.055378302931785583, 0.04775300621986389, 0.01052271481603384, -0.015995986759662628, -0.07199868559837341, -0.04757429286837578, 0.01307558361440897, 0.08660543709993362, 0.0037375562824308872, -0.03956183046102524, -0.04429033026099205, 0.04512634500861168, 0.04651322588324547, 0.023930748924613, -0.009259887039661407, 0.004548053257167339, 0.04264542832970619, 0.04589416831731796, -0.011474743485450745, 0.06037580594420433, 0.027218729257583618, -0.050692230463027954, -0.021492253988981247, 0.008123300038278103, 0.03593042120337486, -0.04024381935596466, -0.0025171111337840557, 0.03222713991999626, -0.00913017988204956, -0.016294103115797043, 0.0048154923133552074, 0.054851874709129333, 0.0011801326181739569, -0.001800216850824654, 0.0361672081053257, -0.007863631471991539, -0.016142670065164566, 0.05238356068730354, -0.025517791509628296, 0.02954229898750782, -0.04017692804336548, 0.028635956346988678, 0.015003875829279423, 0.01957213133573532, 0.03023087978363037, 0.03255712613463402, -0.016201714053750038, 0.08506961911916733, -0.02390397898852825, -0.0100817596539855, -0.04937661439180374, -0.04500139132142067, 0.00723947724327445, 0.042277559638023376, 0.03009115532040596, 0.02108645811676979, -0.030457649379968643, -0.06531203538179398, 0.05760130658745766, 0.08323639631271362, 0.056912969797849655, 0.036344170570373535, -0.015529329888522625, 0.03168327361345291, 0.006131049711257219, 0.012465626932680607, -0.07452355325222015, -0.07053171098232269, 0.027065010741353035, 0.0085539435967803, -0.004165226593613625, -0.00786180142313242, 0.000013832448530592956, 0.021384814754128456, -0.04031733050942421, -0.07082048058509827, 0.02118857204914093, 0.028233062475919724, -0.00826158095151186, 0.017995711416006088, 0.012527992948889732, 0.019856072962284088, 0.04857274144887924, 0.017573000863194466, 0.03898191824555397, -0.05045945197343826, 0.006391892209649086, -0.009025377221405506, 0.03305229917168617, -0.045423202216625214, 0.015620628371834755, -0.0035582934506237507, 0.010924678295850754, 0.08149724453687668, -0.027471261098980904, 0.009710979647934437, 0.0341513492166996, -0.01622748374938965, -0.07854320108890533, 0.03413569927215576, 0.018619509413838387, 0.033072009682655334, 0.08553174883127213, 0.023561302572488785, 0.06460470706224442, -0.00022027800150681287, 0.03342905268073082, 0.06207255646586418, 0.022391323000192642, 0.014344501309096813, 0.023083064705133438, 0.0688544362783432, -0.009371985681355, -0.010297327302396297, 0.050886932760477066, -0.07255031168460846, 0.04025762900710106, -0.051659952849149704, 0.037953052669763565, -0.0003239598881918937, -0.010328422300517559, 0.05391436442732811, -0.006008055992424488, -0.04085032641887665, 0.033695120364427567, 0.008071006275713444, -0.013371963985264301, 0.03369949385523796, 0.003588722087442875, 0.01355605386197567, -0.02685825154185295, -0.034568943083286285, 0.031011860817670822, -0.09001675993204117, -0.028799887746572495, -0.0009308758890256286, -0.05141196399927139, 0.013482846319675446, -0.126444473862648, -0.01565973274409771, -0.018885746598243713, -0.023107891902327538, 0.039276640862226486, 0.03241204842925072, 0.03527838736772537, 0.01530370581895113, 0.0028058758471161127, -0.024097636342048645, -0.020798126235604286, -0.06315898150205612, -0.036083683371543884, -0.03728387877345085, -0.06123117357492447, 0.030138365924358368, 0.054806679487228394, 0.016792574897408485, 0.023072252050042152, 0.004594666417688131, -0.0017782734939828515, -0.007500701118260622, 0.04550732672214508, 0.0571686252951622, -0.03834705427289009, -0.03783319890499115, 0.015343427658081055, 0.020020335912704468, 0.01763775758445263, -0.019383467733860016, -0.06347409635782242, 0.06893114000558853, 0.05183536186814308, 0.031676311045885086, -0.0006449851207435131, -0.0039049522019922733, -0.046001698821783066, -0.047570206224918365, -0.014453301206231117, -0.06056927517056465, -0.030649608001112938, -0.018023520708084106, -0.0643034279346466, -0.03569212928414345, -0.051958486437797546, -0.02528167888522148, 0.002992520807310939, 0.028433600440621376, 0.03940918296575546, 0.05812802165746689, 0.04872225224971771, 0.004424868151545525, -0.017349334433674812, 0.010643585585057735, 0.05255217105150223, -0.015785180032253265, -0.0248248428106308, -0.047092173248529434, -0.039923522621393204, 0.0437774695456028, 0.0396597757935524, -0.008664912544190884, -0.033449240028858185, 0.0792262852191925, 0.015769237652420998, 0.02668779157102108, 0.016771966591477394, -0.027861518785357475, -0.021750088781118393, 0.019188053905963898, 0.02973025105893612, -0.02257615141570568, -0.028257295489311218, 0.011485438793897629, 0.014557357877492905, 0.051941994577646255, -0.05936316400766373, -0.04010678827762604, -0.025614816695451736, 0.01202351599931717, 0.026085952296853065, -0.006216199137270451, -0.025228068232536316, -0.0192275308072567, -0.017409345135092735, -0.02435234934091568, -0.014536603353917599, -0.030955757945775986, 0.008971268311142921, 0.05665889009833336, 0.012751402333378792, -0.027820425108075142, 0.03450395539402962, 0.036283671855926514, 0.03976285457611084, 0.04746844992041588, -0.004470454528927803, 0.019099939614534378, -0.010553709231317043, -0.02638298086822033, 0.002334058750420809, -0.02725374698638916, -0.05215989053249359, -0.08065932244062424, -0.0069050551392138, 0.020632270723581314, -0.0386417992413044, -0.015414020046591759, 0.03835594654083252, -0.0056458692997694016, -0.033566638827323914, -0.017791250720620155, 0.025421658530831337, 0.030369833111763, -0.05269346013665199, 0.047448430210351944, -0.0031576023902744055, 0.03476695716381073, -0.0462355837225914, -0.0139719657599926, -0.04185087978839874, -0.00215006060898304, -0.018658144399523735, 0.06791773438453674, -0.006164843682199717, 0.027636561542749405, 0.07281270623207092, -0.014946307986974716, -0.03994942456483841, 0.041437290608882904, 0.035910461097955704, 0.009366851300001144, -0.043218910694122314, -0.007852033711969852, -0.0004223376454319805, -0.018997937440872192, -0.03815973550081253, -0.0511787086725235, 0.00824081338942051, 0.02818048745393753, 0.000638493977021426, 0.007519665639847517, -0.0028871791437268257, -0.022309280931949615, -0.03475762903690338, -0.07572435587644577, -0.009420782327651978, 0.014920283108949661, -0.013766633346676826, 0.02922477386891842, 0.033981554210186005, -0.0107131851837039, 0.05447927117347717, 0.06165052950382233, -0.02954031713306904, -0.053354404866695404, 0.02249949239194393, 0.014007027260959148, -0.05852079391479492, -0.04602521285414696, -0.05561666563153267, 0.016746552661061287, 0.02510710060596466, -0.017703581601381302, -0.07869917899370193, 0.014094258658587933, 0.04555099084973335, -0.046393983066082, 0.04748934507369995, -0.022316550835967064, 0.06032766401767731, 0.041348084807395935, -0.009700105525553226, -0.02711719460785389, -0.03753771260380745, 0.0003430523502174765, -0.013011796399950981, 0.011227299459278584, -0.0397074893116951, -0.058704670518636703, -0.06136835739016533, 0.004548379685729742, 0.03172376751899719, 0.0456729419529438, 0.04890352860093117, -0.028892748057842255, -0.033521976321935654, 0.003623738419264555, 0.035280175507068634, -0.04042953997850418, 0.015190741047263145, 0.0836620181798935, 0.0646706074476242, -0.038313064724206924, -0.046530067920684814, 0.01606442779302597, 0.022541897371411324, 0.03929741308093071, -0.02713203802704811, -0.033155445009469986, -0.0327436700463295, 0.019856441766023636, -0.029854755848646164, -0.03819771111011505, -0.10681875795125961, 0.012428737245500088, -0.027900846675038338, -0.04574111849069595, 0.06312040984630585, 0.0494430772960186, 0.027789654210209846, 0.034122250974178314, -0.029972018674016, 0.02831527404487133, -0.03681298345327377, 0.07969963550567627, 0.0018427020404487848, 0.001404364942573011, 0.01115784328430891, -0.04008856788277626, -0.022095391526818275, -0.03663500025868416, -0.010004579089581966, -0.05328774452209473, -0.013261573389172554, 0.026170169934630394, -0.004262498114258051, 0.012046773917973042, -0.0030520991422235966, 0.033248793333768845, -0.012283914722502232, -0.017037125304341316, -0.003173302859067917, -0.043052297085523605, -0.09472860395908356, -0.04381667450070381, 0.03417675197124481, -0.016230493783950806, 0.011554156430065632, -0.007409560959786177, 0.01445069070905447, 0.027130799368023872, 0.006916605867445469, -0.017188360914587975, 0.04231683164834976, 0.04359119012951851, -0.04513857886195183, -0.0225052647292614, -0.02458675391972065, 0.01160166785120964, 0.004415880423039198, -0.058292586356401443, 0.04583049938082695, -0.003627973608672619, -0.03703952208161354, -0.03448843955993652, 0.0022276942618191242, 0.029071087017655373, -0.06271076947450638, -0.06414368748664856, -0.010095047764480114, -0.015177751891314983, 0.048690661787986755, -0.03804906830191612, -0.043315641582012177, 0.044872526079416275, 0.013316798023879528, -0.008958845399320126, 0.019804896786808968, -0.050358355045318604, 0.048183079808950424, -0.002715755021199584, -0.0008314168080687523, -0.059384290128946304, 0.0006121231708675623, -0.04143660143017769, 0.03916502371430397, -0.029277201741933823, 0.020744703710079193, -0.028285596519708633, 0.03776752948760986, -0.030264511704444885, -0.025469956919550896, -0.038788698613643646, 0.008192343637347221, -0.03161805495619774, 0.032286614179611206, -0.0356968455016613, -0.007502179127186537, -0.03580928593873978, 0.03786260634660721, -0.043454453349113464, -0.006264810916036367, -0.012394416145980358, -0.033673763275146484, -0.019623560830950737, -0.011102655902504921, -0.005150787066668272, -0.05214234068989754, 0.007923309691250324, 0.008197292685508728, 0.03652608022093773, 0.06045667082071304, -0.01056769397109747, 0.021187853068113327, 0.028493765741586685, -0.019616624340415, -0.01343207061290741, -0.02442205138504505, 0.011363648809492588, 0.002746672835201025, 0.03920811414718628, 0.017197757959365845, -0.053308382630348206, -0.048403553664684296, 0.035641785711050034, 0.022269081324338913, 0.006104267667979002, 0.017832309007644653, 0.03214642405509949, 0.03700831159949303, 0.03172624111175537, -0.02161606214940548, -0.05287864804267883, -0.05240762233734131, -0.029414193704724312, 0.022730369120836258, -0.001745400601066649, -0.021050643175840378, -0.025039933621883392, -0.019077852368354797, -0.03675507754087448, 0.09053124487400055, 0.010011844336986542, 0.020634416490793228, -0.004957040771842003, -0.045674700289964676, 0.050806041806936264, 0.012757822871208191, -0.046677857637405396, 0.0019574095495045185, 0.024205364286899567, -0.03522085025906563, 0.06266669183969498, -0.0033866760786622763, 0.02568107098340988, 0.08784812688827515, 0.0031412530224770308, -0.007528509013354778, 0.03553621098399162, -0.026953715831041336, -0.0052605923265218735, 0.01924847811460495, -0.05219442769885063, -0.027870437130331993, -0.014357632957398891, 0.04941368103027344, -0.058357562869787216, 0.06431695818901062, 0.027239583432674408, 0.009755059145390987, 0.01340526808053255, -0.05486760288476944, 0.014126135967671871, 0.011351414024829865, -0.0046859607100486755, 0.06859275698661804, 0.015137851238250732, -0.04695925489068031, 0.05982446298003197, 0.022532869130373, -0.07796569168567657, 0.03851361200213432, 0.045625973492860794, 0.01832692325115204, 0.04015016555786133, 0.01940644532442093, -0.029884740710258484, 0.013915667310357094, -0.015118869952857494, -0.002634254517033696, -0.0765104740858078, -0.020110804587602615, 0.0024567903019487858, -0.06844247877597809, 0.0015283719403669238, 0.022862624377012253, -0.007928336970508099, 0.03373146802186966, 0.02331561967730522, -0.03819702938199043, -0.04234393313527107, 0.022163843736052513, 0.0367857851088047, -0.029566094279289246, -0.016767650842666626, -0.03490674868226051, -0.0009383991127833724, 0.029441948980093002, -0.0017750730039551854, -0.03269168734550476, 0.007098766043782234, 0.03638012334704399, -0.06202944368124008, -0.01293207611888647, 0.027770573273301125, 0.013174325227737427, -0.021895460784435272, 0.05001005902886391, -0.02428082562983036, -0.0007467371760867536, 0.03516346216201782, 0.0004313219105824828, 0.06936212629079819, -0.08216366916894913, 0.0062675755470991135, 0.01667294278740883, 0.0008259214228019118, -0.001930657890625298, -0.023620374500751495, 0.025741901248693466, 0.03845874220132828, 0.012794366106390953, 0.029936114326119423, -0.060000982135534286, -0.020529000088572502, 0.012447413988411427, -0.025716174393892288, 0.01575206033885479, -0.01861451379954815, -0.04922769218683243, -0.019766587764024734, -0.02260497771203518, -0.0026751235127449036, 0.059373438358306885, -0.007405668031424284, -0.010910619981586933, 0.020339634269475937, 0.02595684863626957, -0.04499250277876854, -0.0566592738032341, -0.03833594545722008, -0.03618985414505005, 0.01932062767446041, 0.005157404113560915, -0.03093700483441353, 0.06407669931650162, -0.03430438041687012, -0.06635794043540955, -0.00011204502516193315, 0.021109946072101593, -0.034252893179655075, 0.03366789594292641, 0.04942981153726578, -0.042792707681655884, 0.003033348824828863, 0.06361228972673416, -0.026534585282206535, 0.061221301555633545, -0.00949783530086279, -0.01018959004431963, -0.018665678799152374, 0.02497287094593048, -0.009829392656683922, -0.03558961674571037, -0.05898347496986389, -0.02895120531320572, -0.004124261438846588, -0.018379593268036842, 0.05489325150847435 ]
Aliraza47/BERT
[]
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-03-26T09:33:33Z
--- language: fon datasets: - fon_dataset metrics: - wer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week - hf-asr-leaderboard license: apache-2.0 model-index: - name: Fon XLSR Wav2Vec2 Large 53 results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: fon type: fon_dataset args: fon metrics: - name: Test WER type: wer value: 14.97 --- # Wav2Vec2-Large-XLSR-53-Fon Fine-tuned [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on [Fon (or Fongbe)](https://en.wikipedia.org/wiki/Fon_language) using the [Fon Dataset](https://github.com/laleye/pyFongbe/tree/master/data). 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 json import random import torch import torchaudio from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor #Load test_dataset from saved files in folder from datasets import load_dataset, load_metric #for test for root, dirs, files in os.walk(test/): test_dataset= load_dataset("json", data_files=[os.path.join(root,i) for i in files],split="train") #Remove unnecessary chars chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”]' def remove_special_characters(batch): batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() + " " return batch test_dataset = test_dataset.map(remove_special_characters) processor = Wav2Vec2Processor.from_pretrained("chrisjay/wav2vec2-large-xlsr-53-fon") model = Wav2Vec2ForCTC.from_pretrained("chrisjay/wav2vec2-large-xlsr-53-fon") #No need for resampling because audio dataset already at 16kHz #resampler = torchaudio.transforms.Resample(48_000, 16_000) # Preprocessing the datasets. # We need to read the audio 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(): 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 our unique Fon test data. ```python import torch import torchaudio from datasets import load_dataset, load_metric from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor import re for root, dirs, files in os.walk(test/): test_dataset = load_dataset("json", data_files=[os.path.join(root,i) for i in files],split="train") chars_to_ignore_regex = '[\\,\\?\\.\\!\\-\\;\\:\\"\\“\\%\\‘\\”]' batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower() + " " return batch test_dataset = test_dataset.map(remove_special_characters) wer = load_metric("wer") processor = Wav2Vec2Processor.from_pretrained("chrisjay/wav2vec2-large-xlsr-53-fon") model = Wav2Vec2ForCTC.from_pretrained("chrisjay/wav2vec2-large-xlsr-53-fon") model.to("cuda") # 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[0].numpy() batch["sampling_rate"] = sampling_rate batch["target_text"] = batch["sentence"] return batch test_dataset = test_dataset.map(speech_file_to_array_fn) #Evaluation on test dataset 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**: 14.97 % ## Training The [Fon dataset](https://github.com/laleye/pyFongbe/tree/master/data) was split into `train`(8235 samples), `validation`(1107 samples), and `test`(1061 samples). The script used for training can be found [here](https://colab.research.google.com/drive/11l6qhJCYnPTG1TQZ8f3EvKB9z12TQi4g?usp=sharing) # Collaborators on this project - Chris C. Emezue ([Twitter](https://twitter.com/ChrisEmezue))|(chris.emezue@gmail.com) - Bonaventure F.P. Dossou (HuggingFace Username: [bonadossou](https://huggingface.co/bonadossou))|([Twitter](https://twitter.com/bonadossou))|(femipancrace.dossou@gmail.com) ## This is a joint project continuing our research on [OkwuGbé: End-to-End Speech Recognition for Fon and Igbo](https://arxiv.org/abs/2103.07762)
[ -0.041519101709127426, -0.02253654971718788, -0.009554845280945301, 0.04567952826619148, 0.020519737154245377, 0.02790321409702301, -0.028621461242437363, -0.016916021704673767, -0.043118588626384735, 0.051175009459257126, 0.047255173325538635, 0.00668687978759408, -0.010946953669190407, 0.015031040646135807, -0.028401503339409828, -0.05559154972434044, -0.019139494746923447, -0.013903279788792133, -0.06570099294185638, -0.0031095538288354874, 0.01220274344086647, 0.02701365016400814, -0.011894285678863525, 0.0264639463275671, 0.001895615947432816, 0.016799017786979675, -0.009636815637350082, 0.020557766780257225, 0.009717468172311783, -0.05509936064481735, -0.04370748624205589, -0.04307414963841438, -0.04746169224381447, -0.0475485622882843, -0.023329703137278557, -0.011836627498269081, -0.00858245324343443, 0.02529418095946312, 0.02634354494512081, 0.04375807195901871, 0.008481736294925213, 0.0029528045561164618, -0.006574029102921486, -0.004792866297066212, 0.029287394136190414, 0.00626665772870183, -0.05477079749107361, -0.010641815140843391, 0.02257136069238186, -0.030909519642591476, -0.024486886337399483, -0.07108335196971893, -0.011107861064374447, 0.04150457680225372, -0.018164370208978653, -0.03632711246609688, -0.0592404343187809, -0.0015787448501214385, 0.053972840309143066, -0.03445980325341225, -0.02278544381260872, 0.012264623306691647, -0.06251300126314163, 0.007195889484137297, 0.025471944361925125, -0.016097616404294968, 0.004353972617536783, -0.02376338467001915, 0.028726505115628242, -0.013310804963111877, 0.056962642818689346, -0.024960560724139214, 0.012883305549621582, -0.09233347326517105, 0.013645930215716362, -0.01079966314136982, 0.0447075329720974, 0.04910383000969887, -0.047913335263729095, 0.044715918600559235, 0.02635101228952408, 0.015493129380047321, 0.02058539353311062, -0.01946365460753441, -0.0015454792883247137, 0.028453847393393517, -0.04694081097841263, 0.03012979030609131, 0.011794460006058216, 0.03763279691338539, -0.02608962543308735, -0.05076475068926811, -0.011271607130765915, -0.042399898171424866, 0.006086132023483515, 0.03615914657711983, 0.036678992211818695, -0.025356508791446686, 0.03693176805973053, 0.025324253365397453, 0.004780162125825882, 0.009166022762656212, -0.013758148066699505, 0.06025967001914978, 0.0004813161795027554, 0.002836105413734913, -0.0004553021863102913, -0.04064621776342392, -0.04286262392997742, 0.018903158605098724, 0.04648277163505554, -0.036527108401060104, -0.0318913608789444, 0.053124960511922836, 0.015609298832714558, -0.012962257489562035, 0.03371739014983177, -0.03805220499634743, -0.04737701267004013, -0.05628648400306702, 0.04582683742046356, 0.014989334158599377, -0.0010103657841682434, -0.016339488327503204, -0.043308280408382416, 0.03611304983496666, -0.03239709511399269, -0.03765473514795303, -0.0021678360644727945, 0.012896430678665638, -0.014511479064822197, 0.027115941047668457, 0.03349188342690468, -0.05082663893699646, -0.018814394250512123, 0.007464885711669922, -0.07865521311759949, 0.030724670737981796, 0.0048230597749352455, 0.09556929022073746, -0.05008460581302643, -0.056252796202898026, 0.007891790941357613, 0.004911284428089857, -0.012273606844246387, 0.016694270074367523, 0.005645181052386761, -0.040818341076374054, -0.039139606058597565, -0.012054809369146824, 0.03326639160513878, -0.06917869299650192, -0.017456650733947754, 0.05992485210299492, -0.045417215675115585, 0.050682585686445236, -0.04010164365172386, 0.016183875501155853, 0.021445205435156822, 0.002518259221687913, -0.0077776978723704815, 0.04730060324072838, -0.002001719083636999, -0.03150438144803047, -0.023871390148997307, -0.058324672281742096, -0.01813654415309429, 0.08802606910467148, -0.007708930876106024, -0.0007818921003490686, -0.03629300370812416, 0.02080620266497135, 0.04315665736794472, 0.020618660375475883, -0.04289337247610092, 0.044062431901693344, 0.050120167434215546, 0.027839409187436104, -0.014986736699938774, 0.06910818815231323, 0.04237224906682968, -0.053398679941892624, -0.03245461732149124, 0.015099847689270973, 0.005101535003632307, -0.03629438206553459, 0.009645645506680012, 0.06835369020700455, -0.004037855193018913, -0.01079848874360323, -0.015622683800756931, 0.058795928955078125, 0.009316477924585342, 0.0021857728715986013, -0.017904356122016907, -0.004524292424321175, -0.017749076709151268, 0.04305631294846535, -0.042893607169389725, 0.009673853404819965, -0.02579006366431713, -0.03203869238495827, -0.01133098267018795, 0.026927918195724487, 0.022609112784266472, 0.0364668183028698, -0.0007660526316612959, 0.09398612380027771, -0.03568784147500992, 0.027400828897953033, -0.05151771754026413, -0.03509820997714996, -0.030510496348142624, 0.05021900683641434, 0.01576593518257141, 0.059233006089925766, -0.015863103792071342, -0.053846318274736404, 0.024054856970906258, 0.05346265435218811, 0.05014391243457794, 0.017173053696751595, -0.021534062922000885, 0.012070488184690475, 0.04150457680225372, 0.05261153727769852, -0.06319404393434525, -0.032143380492925644, 0.001108693890273571, 0.02535039372742176, -0.014962066896259785, 0.010287487879395485, -0.014638666063547134, 0.028260456398129463, -0.061188019812107086, -0.1038372665643692, 0.043363600969314575, 0.03388962522149086, 0.035079170018434525, 0.02174166589975357, -0.023259108886122704, 0.002548967720940709, 0.006482242606580257, 0.00006675891927443445, -0.0017791824648156762, -0.038328032940626144, -0.007376871537417173, 0.021906448528170586, 0.052136942744255066, -0.08829537779092789, 0.027528079226613045, -0.03847193717956543, 0.01265210472047329, 0.04031672701239586, -0.047926802188158035, 0.035856012254953384, 0.045785561203956604, 0.0062815165147185326, -0.033163268119096756, 0.018900413066148758, 0.011119485832750797, 0.0694388821721077, 0.060772478580474854, 0.012749974615871906, 0.06749025732278824, 0.016657846048474312, 0.035754524171352386, 0.07098488509654999, 0.03218648210167885, 0.01552177406847477, 0.026513811200857162, 0.07361678034067154, -0.004701951984316111, -0.02206769585609436, 0.06999105215072632, -0.04420488327741623, 0.022622736170887947, -0.018010811880230904, -0.0002499269030522555, -0.0011078071547672153, -0.028919560834765434, 0.005488426890224218, 0.021130267530679703, -0.0197525005787611, -0.00930236466228962, -0.008348433300852776, -0.003707415657117963, 0.04405688866972923, -0.030392318964004517, -0.00785763654857874, -0.0007413740386255085, 0.0005863119149580598, 0.006719321012496948, -0.06554539501667023, -0.04130221903324127, -0.010784209705889225, -0.03993002325296402, 0.00926746055483818, -0.07960377633571625, -0.01942075416445732, -0.06658090651035309, -0.0074865254573524, 0.03523080423474312, 0.03175587207078934, 0.025600923225283623, -0.03551997244358063, 0.011044809594750404, -0.0683140903711319, -0.04284902662038803, -0.053621843457221985, -0.035875964909791946, -0.029849184677004814, -0.06240701675415039, 0.0426696352660656, 0.021944379433989525, 0.040198516100645065, 0.01223471574485302, -0.005003775004297495, -0.0320633240044117, -0.020313886925578117, 0.04872119054198265, 0.032264288514852524, -0.04624703526496887, -0.07320176810026169, 0.02917415462434292, -0.020654544234275818, 0.025547416880726814, 0.007239436265081167, -0.04172530770301819, 0.05041639879345894, 0.07173807919025421, 0.010800087824463844, 0.02116107940673828, -0.026658160611987114, -0.054539408534765244, -0.06080787628889084, -0.02136223390698433, -0.04421073943376541, -0.022055527195334435, -0.02989058382809162, -0.021887939423322678, -0.006170033942908049, -0.007292719557881355, -0.01031514909118414, -0.012288895435631275, 0.0023577664978802204, 0.03907020390033722, 0.05703994631767273, 0.012899336405098438, 0.04642147570848465, -0.05376525595784187, -0.043004587292671204, 0.07837679237127304, 0.000024875002054614015, -0.025632450357079506, -0.07963621616363525, -0.037796396762132645, 0.018537458032369614, 0.010497495532035828, -0.023540422320365906, -0.006684883963316679, 0.08251108974218369, 0.014773208647966385, -0.01416420191526413, 0.0032894043251872063, -0.03699906915426254, -0.013917268253862858, -0.019706955179572105, -0.007162127643823624, 0.00433172844350338, -0.07085435092449188, -0.005360061768442392, -0.0016763414023444057, 0.0352896973490715, -0.06489752233028412, -0.052678465843200684, -0.016588937491178513, 0.035159237682819366, 0.04733365774154663, -0.016157053411006927, -0.03241630643606186, -0.01795605756342411, -0.053179819136857986, -0.03180590271949768, -0.009941643103957176, 0.018457094207406044, 0.029960209503769875, 0.05032750964164734, 0.0309086162596941, -0.03017490915954113, 0.04266199469566345, 0.020440220832824707, 0.0657910481095314, 0.016197144985198975, -0.055597782135009766, 0.019638214260339737, -0.018939953297376633, 0.01161901280283928, -0.0009595909505151212, -0.030424045398831367, -0.04395149275660515, -0.0739310085773468, -0.022837026044726372, 0.0300541203469038, -0.0032762789633125067, -0.020000655204057693, 0.02029167115688324, -0.01796077750623226, -0.0014594948152080178, 0.0023828865960240364, 0.025176366791129112, 0.04727555438876152, -0.06838652491569519, 0.045719392597675323, -0.000028903683414682746, 0.031091615557670593, -0.07156167179346085, 0.01368425041437149, -0.0070777516812086105, -0.028235847130417824, 0.009451186284422874, 0.06049277260899544, 0.023766009137034416, 0.03477143123745918, 0.07992960512638092, 0.01714452914893627, -0.03226816654205322, 0.05627439543604851, 0.03226393461227417, -0.021974418312311172, -0.05116225779056549, 0.006232878193259239, -0.03477334603667259, -0.03724402189254761, -0.012248275801539421, -0.03994625806808472, 0.05276050046086311, 0.030156685039401054, -0.011514633893966675, -0.022568797692656517, 0.021034132689237595, -0.017696252092719078, -0.008907522074878216, -0.042972683906555176, -0.041862402111291885, 0.012179703451693058, -0.04331674426794052, 0.033239565789699554, 0.030085444450378418, -0.008664262481033802, 0.06212008744478226, 0.0317867249250412, -0.02497684396803379, -0.019615696743130684, 0.03666289523243904, 0.03207433968782425, -0.04713335260748863, -0.07264141738414764, -0.02752993255853653, 0.04812249541282654, 0.03012574464082718, 0.009516469202935696, -0.05953475087881088, -0.020861495286226273, 0.06772393733263016, -0.044482097029685974, 0.0848899781703949, -0.0059066275134682655, 0.05563781410455704, 0.05736880004405975, -0.007600610144436359, 0.0276244655251503, -0.03907505050301552, 0.02544885128736496, 0.021494925022125244, 0.01937863603234291, -0.009460958652198315, -0.03554785996675491, -0.058106742799282074, 0.01696363091468811, 0.04591770097613335, 0.037326108664274216, 0.03362780436873436, -0.018024656921625137, -0.06865014135837555, -0.009675431065261364, 0.033358003944158554, -0.04790349304676056, 0.016656212508678436, 0.02847086451947689, 0.035359155386686325, -0.052725162357091904, -0.015947578474879265, -0.021882178261876106, 0.028774941340088844, 0.012294234707951546, 0.0021828957833349705, -0.06202932074666023, -0.04166295751929283, 0.013324804604053497, 0.0006922655738890171, -0.02456885576248169, -0.07485390454530716, 0.01304740458726883, -0.014773426577448845, -0.011511534452438354, 0.039055150002241135, 0.03260551765561104, 0.061349689960479736, 0.01082342304289341, 0.01774143986403942, 0.006161718163639307, -0.03643132001161575, 0.020604850724339485, -0.031154390424489975, -0.029649896547198296, 0.0009175842860713601, -0.025455312803387642, -0.01675243303179741, -0.028294669464230537, -0.06720339506864548, -0.04825562611222267, 0.004979916848242283, 0.03440835699439049, -0.027867188677191734, -0.006088745314627886, -0.020576240494847298, 0.04533397778868675, -0.02111143060028553, -0.018068308010697365, -0.033070944249629974, -0.03088458627462387, -0.05347883701324463, -0.03896469995379448, 0.029127364978194237, -0.013840168714523315, 0.049335818737745285, 0.02562635764479637, 0.014208580367267132, 0.02097332663834095, -0.0024365405552089214, 0.0054026274010539055, 0.019433774054050446, -0.010044722817838192, -0.04215056076645851, -0.0037833689711987972, 0.02772532030940056, -0.0008364993846043944, 0.03875933215022087, -0.022922147065401077, 0.029557205736637115, 0.022291887551546097, -0.03374689444899559, -0.009678011760115623, 0.019183114171028137, 0.04577680304646492, -0.06265523284673691, -0.04329392686486244, 0.006890010554343462, -0.0518447607755661, 0.013394338078796864, -0.02826438657939434, -0.0051926616579294205, 0.041816480457782745, 0.02458888106048107, 0.056313108652830124, -0.013555855490267277, -0.03279414027929306, 0.032988764345645905, -0.014744514599442482, 0.0054475548677146435, -0.05773138999938965, 0.042297154664993286, -0.03724706918001175, 0.019778598099946976, -0.004552279133349657, -0.003583921818062663, -0.04762711748480797, 0.020123852416872978, 0.0026110850740224123, -0.00723494915291667, -0.0198520477861166, 0.007344632409512997, -0.01938815228641033, 0.02497311308979988, -0.03101859986782074, 0.017349407076835632, -0.05217739939689636, 0.038788482546806335, -0.018422624096274376, 0.0021832939237356186, -0.012551718391478062, 0.00014778683544136584, -0.02646729163825512, -0.023209504783153534, 0.00018287166312802583, -0.0461285263299942, 0.044294845312833786, 0.05986389145255089, 0.028526097536087036, 0.026202348992228508, -0.025860454887151718, 0.01896500214934349, 0.009991814382374287, -0.05077400058507919, 0.0008622120949439704, -0.009553523734211922, 0.034551240503787994, 0.01814228482544422, 0.0323212556540966, 0.04556155949831009, -0.08679896593093872, -0.04854831099510193, 0.03875734284520149, 0.02651725336909294, -0.0034587529953569174, 0.01090452540665865, 0.023302139714360237, 0.04854845255613327, 0.05183311924338341, -0.02926294505596161, -0.003093269420787692, -0.004516607616096735, -0.030240362510085106, 0.01903809979557991, 0.0053680166602134705, 0.01657858118414879, -0.00981177669018507, -0.02622779831290245, -0.013669590465724468, 0.07387759536504745, 0.026916656643152237, 0.00869491696357727, -0.014440241269767284, -0.033101197332143784, 0.007355161476880312, -0.01965983211994171, -0.05359208956360817, 0.007341255433857441, 0.005272014066576958, -0.020178329199552536, 0.08930964767932892, 0.011151040904223919, 0.02423001267015934, 0.020754415541887283, 0.028459032997488976, -0.029803283512592316, 0.046894751489162445, -0.025898348540067673, 0.021116742864251137, 0.031844548881053925, -0.061463866382837296, -0.005244291387498379, -0.03362521156668663, 0.0722116157412529, -0.06930601596832275, 0.015259156934916973, 0.05320165678858757, 0.0064140320755541325, 0.03298312425613403, -0.021875426173210144, -0.061140403151512146, 0.03974780812859535, -0.05170802026987076, 0.07446983456611633, 0.018813300877809525, -0.050076235085725784, 0.06584843248128891, 0.01690944842994213, -0.09314759820699692, 0.037898093461990356, 0.051409218460321426, 0.009616232477128506, 0.030240701511502266, 0.06430631875991821, -0.04385446012020111, 0.009166131727397442, -0.07009617239236832, 0.023463500663638115, -0.05397644639015198, 0.007215849589556456, 0.031749382615089417, -0.05080714821815491, -0.022643372416496277, 0.04276296868920326, -0.02454286627471447, -0.014552653767168522, 0.027764393016695976, -0.04503137245774269, -0.02552981488406658, 0.0024722886737436056, 0.04016026109457016, -0.05285350978374481, -0.01140133198350668, -0.040892962366342545, 0.018107373267412186, 0.006255410611629486, -0.00045218472951091826, -0.04145796224474907, -0.010852580890059471, 0.010903187096118927, -0.04524312540888786, -0.029295161366462708, 0.05991347134113312, 0.00803824421018362, -0.019793398678302765, 0.05411965399980545, 0.013545055873692036, 0.002817667555063963, 0.02567347325384617, 0.023541182279586792, 0.041664816439151764, -0.06670251488685608, -0.016081677749753, 0.005576568190008402, 0.008280949667096138, 0.02907489612698555, -0.021748460829257965, 0.04812619462609291, 0.023947779089212418, -0.006048352923244238, 0.02208152785897255, -0.039650388062000275, -0.022167420014739037, 0.03505696356296539, -0.02646913379430771, 0.03683800622820854, 0.004829253535717726, -0.04960547760128975, -0.04801742732524872, -0.007118136156350374, 0.006841158028692007, 0.012526068836450577, -0.04211423173546791, 0.006929658818989992, 0.030815202742815018, -0.040947556495666504, -0.0382552407681942, -0.06217558681964874, -0.051964372396469116, -0.03455563262104988, 0.05735577642917633, 0.019377581775188446, -0.058903466910123825, 0.00806062389165163, -0.05796799063682556, -0.04857619106769562, 0.011550528928637505, 0.007014613598585129, -0.022237975150346756, 0.04635166376829147, 0.048151854425668716, -0.05629507452249527, 0.029382525011897087, 0.0550231859087944, -0.02218726836144924, 0.029681624844670296, -0.014986214227974415, 0.00953875295817852, 0.039078012108802795, 0.019921010360121727, -0.03631272539496422, -0.031301192939281464, -0.053815342485904694, -0.017637915909290314, -0.03508269786834717, -0.021717067807912827, 0.06528817862272263 ]
Alireza-rw/testbot
[]
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-17T20:31:21Z
--- language: african-languages tags: - african-languages - machine-translation - text license: apache-2.0 model-index: - name: Masakhane Benchmark Models results: - task: name: Machine Translation type: machine-translation dataset: name: masakhane benchmarks args: african-languages --- # Interacting with the Masakhane Benchmark Models I created this demo for very easy interaction with the [benchmark models on Masakhane](https://github.com/masakhane-io/masakhane-mt/tree/master/benchmarks) which were trained with [JoeyNMT](https://github.com/chrisemezue/joeynmt)(my forked version). To access the space click [here](https://huggingface.co/spaces/chrisjay/masakhane-benchmarks). To include your language, all you need to do is: 1. Create a folder in the format *src-tgt/main* for your language pair, if it does not exist. 2. Inside the *main* folder put the following files: 1. model checkpoint. Rename it to `best.ckpt`. 2. `config.yaml` file. This is the JoeyNMT config file which loads the model an pre-processing parameters. 3. `src_vocab.txt` file. 4. `trg_vocab.txt` file. The space currently supports these languages: | source language | target language | |:---------------:|:---------------:| | English | Swahili | | English | Afrikaans | | English | Arabic | | English | Urhobo | | English | Ẹ̀dó | | Efik | English | | English | Hausa | | English | Igbo | | English | Fon | | English | Twi | | English | Dendi | | English | Ẹ̀sán | | English | Isoko | | English | Kamba | | English | Luo | | English | Southern Ndebele | | English | Tshivenda | | Shona | English | | Swahili | English | | Yoruba | English | TO DO: 1. Include more languages from the benchmark.
[ -0.03557154908776283, -0.014421152882277966, -0.010228783823549747, 0.02895415760576725, 0.06532606482505798, 0.03296853229403496, 0.004679167177528143, -0.012693945318460464, -0.06414113193750381, 0.06868887692689896, 0.00549318129196763, -0.02621910348534584, 0.013752544298768044, 0.0476805604994297, -0.01682847924530506, -0.029996570199728012, 0.00044210348278284073, -0.028073903173208237, -0.04219246283173561, -0.004336211830377579, 0.00347290956415236, 0.005130139645189047, -0.02658659964799881, 0.009349647909402847, 0.0020166062749922276, 0.0069863987155258656, -0.00044830492697656155, 0.03207382932305336, 0.008084392175078392, -0.061581533402204514, -0.01776648312807083, -0.010051854886114597, -0.0008372525917366147, -0.03020118549466133, -0.02584325149655342, -0.010158218443393707, -0.006417902652174234, -0.008233867585659027, 0.034283410757780075, 0.06135201081633568, -0.02140839956700802, 0.0005883160629309714, -0.0015601556515321136, -0.02071315236389637, 0.046021897345781326, -0.005799740087240934, -0.05234459042549133, -0.0025060446932911873, 0.022720497101545334, 0.018358856439590454, -0.029551150277256966, -0.06702331453561783, -0.027431664988398552, 0.00439878273755312, 0.006290497723966837, -0.027386464178562164, -0.040932122617959976, -0.031022049486637115, 0.049853574484586716, -0.08253704756498337, -0.022160904482007027, -0.004354916978627443, -0.056524209678173065, 0.009745060466229916, 0.048632849007844925, -0.011040587909519672, 0.0017960799159482121, -0.04060297831892967, 0.027668194845318794, -0.023167848587036133, 0.03281758725643158, -0.045950137078762054, 0.01238327007740736, -0.08357275277376175, -0.03867507353425026, -0.031130369752645493, 0.04747672379016876, 0.046718843281269073, -0.044844433665275574, 0.07381727546453476, 0.009812952019274235, -0.000785545795224607, 0.011118708178400993, 0.01653810776770115, -0.0349433571100235, 0.046456415206193924, -0.021432746201753616, -0.004684533458203077, 0.004457881208509207, 0.025380009785294533, -0.05115446448326111, -0.053132038563489914, -0.0018740167142823339, -0.044034238904714584, 0.016198256984353065, 0.03201128914952278, 0.045256972312927246, -0.03455348312854767, 0.04862331226468086, 0.01183386892080307, 0.012682488188147545, 0.038410484790802, 0.029085569083690643, 0.07534481585025787, -0.009397751651704311, -0.0029157677199691534, -0.04541277885437012, -0.048186544328927994, -0.021453984081745148, 0.010925219394266605, 0.01718304306268692, -0.04460202157497406, -0.054158058017492294, 0.05877108871936798, 0.01175683829933405, -0.032602161169052124, 0.036728691309690475, -0.034177616238594055, -0.041897669434547424, -0.06514019519090652, 0.017476022243499756, 0.005241827107965946, -0.017753029242157936, -0.005327765829861164, -0.06676767766475677, 0.02925911173224449, -0.0432714968919754, -0.037159617990255356, -0.003605145262554288, 0.03727136179804802, -0.03101557306945324, 0.05818196013569832, -0.005709642078727484, -0.05544937029480934, -0.0007884494261816144, -0.025641359388828278, -0.029982198029756546, 0.0418173111975193, 0.01438981480896473, 0.08993159234523773, -0.04208265244960785, -0.043080199509859085, 0.025785040110349655, -0.0035211362410336733, -0.016540255397558212, 0.01572098210453987, 0.00792854093015194, -0.021813390776515007, -0.017459452152252197, -0.023648953065276146, 0.07406232506036758, -0.041266173124313354, -0.005926827900111675, 0.053549569100141525, 0.0033989439252763987, 0.027545958757400513, -0.031223390251398087, -0.022747108712792397, 0.02470056526362896, -0.01849403791129589, -0.026191875338554382, 0.0029804075602442026, -0.0015722026582807302, -0.021019846200942993, -0.02685599960386753, -0.05585820600390434, -0.0027398671954870224, 0.06453145295381546, 0.011605313047766685, -0.015831686556339264, 0.01806752197444439, 0.012263067997992039, 0.04307740926742554, 0.008534028194844723, -0.04156976193189621, 0.01689944975078106, 0.04615945369005203, 0.0019890321418642998, -0.019700102508068085, 0.06949642300605774, 0.026637373492121696, 0.0057456353679299355, -0.04197612777352333, -0.007703958544880152, 0.0036686628591269255, -0.023801704868674278, 0.00053537538042292, 0.03855374827980995, -0.011951446533203125, -0.018026821315288544, 0.0024416493251919746, 0.048860955983400345, 0.008744359947741032, -0.0032800522167235613, -0.021094156429171562, 0.006016171537339687, -0.022274628281593323, 0.04798883944749832, -0.020533142611384392, -0.01321656908839941, -0.035397324711084366, -0.0068536605685949326, 0.0021316802594810724, 0.030160261318087578, 0.04344487935304642, 0.056140799075365067, -0.02325606718659401, 0.08943700045347214, -0.021963194012641907, 0.017205677926540375, -0.05388091132044792, -0.03759784996509552, 0.0011301259510219097, 0.07705607265233994, 0.01720988005399704, 0.036529045552015305, -0.004390043206512928, -0.040978409349918365, 0.027426827698946, 0.08191460371017456, 0.06684412807226181, 0.01618940196931362, -0.03308768942952156, 0.01688443124294281, 0.012699584476649761, 0.05930069833993912, -0.045242998749017715, -0.05228757858276367, 0.040268417447805405, 0.05861760675907135, -0.02445261739194393, 0.013238638639450073, -0.00981792900711298, 0.029999297112226486, -0.042376577854156494, -0.08418615907430649, 0.04702679067850113, 0.04735170677304268, 0.027859320864081383, 0.03557070717215538, 0.010370489209890366, 0.008529767394065857, 0.024293269962072372, -0.004288706928491592, -0.011229464784264565, -0.048496346920728683, -0.0013197605730965734, -0.002416879404336214, 0.06571420282125473, -0.03588191419839859, 0.03763158619403839, 0.016321077942848206, -0.010736541822552681, 0.04718087986111641, -0.06320686638355255, 0.018025338649749756, 0.03390892222523689, 0.007086091674864292, -0.053585126996040344, -0.022341672331094742, 0.012710243463516235, 0.04014335200190544, 0.07352719455957413, -0.023005202412605286, 0.06311588734388351, -0.014976808801293373, 0.03731367364525795, 0.06579679995775223, 0.021858572959899902, 0.003954298794269562, 0.004590456373989582, 0.08992257714271545, 0.019896678626537323, 0.001212322385981679, 0.06808905303478241, -0.0412098728120327, -0.0028343982994556427, -0.0406828336417675, 0.029627656564116478, 0.012521455995738506, -0.01905292458832264, 0.00028492300771176815, 0.01793690025806427, -0.02704501710832119, -0.005709684453904629, -0.00987276155501604, -0.012621432542800903, 0.03429381549358368, -0.037032291293144226, -0.016680192202329636, 0.005004283972084522, -0.029575452208518982, 0.025158436968922615, -0.06784060597419739, -0.05019540339708328, -0.019689826294779778, -0.05407005175948143, 0.012352378107607365, -0.07039892673492432, -0.01579836755990982, -0.05330658331513405, -0.002970790257677436, 0.026881782338023186, 0.010500596836209297, -0.004695368465036154, -0.02574933134019375, 0.011015256866812706, -0.05964696779847145, -0.013644013553857803, -0.05857408419251442, -0.03931187838315964, -0.031738538295030594, -0.05347927287220955, 0.04615836963057518, 0.03305929899215698, 0.02973916009068489, 0.0046578398905694485, -0.002290701260790229, 0.02990655228495598, -0.03225119039416313, 0.052337050437927246, 0.025979867205023766, -0.03233872354030609, -0.044849369674921036, 0.03641383722424507, -0.02374265529215336, -0.013486448675394058, 0.006474602036178112, -0.04026855528354645, 0.08643250912427902, 0.0603562667965889, 0.0065901088528335094, 0.0008490681648254395, 0.010012965649366379, -0.0457758866250515, -0.05067254975438118, -0.04327744245529175, -0.05195944756269455, -0.008257702924311161, -0.0115831783041358, -0.034972939640283585, -0.030904924497008324, -0.030737897381186485, -0.0017028668662533164, -0.01015943568199873, 0.031606778502464294, 0.03288241848349571, 0.04193124175071716, 0.04271595925092697, 0.06841913610696793, -0.04615741968154907, 0.0016089840792119503, 0.07305572181940079, 0.0021823723800480366, -0.010776149109005928, -0.0410146601498127, -0.03384529799222946, 0.04922989010810852, 0.014657788909971714, -0.01409945823252201, -0.002806774340569973, 0.07543089985847473, 0.04988741874694824, -0.011350619606673717, 0.025604506954550743, -0.039754219353199005, -0.025108767673373222, -0.016043443232774734, 0.0006215655012056231, -0.04375097155570984, -0.04528270289301872, -0.024490002542734146, 0.0052682096138596535, 0.0497032031416893, -0.04801007732748985, -0.08025284856557846, -0.010476172901690006, 0.03814421221613884, -0.0007499192142859101, 0.0007714235689491034, -0.029752975329756737, 0.0020392569713294506, -0.022230712696909904, -0.01926935650408268, 0.010004542768001556, -0.014707396738231182, 0.020456716418266296, 0.04626854509115219, 0.00991979893296957, -0.020502155646681786, 0.025492509827017784, 0.010887699201703072, 0.045676089823246, 0.023633459582924843, -0.013511053286492825, 0.004870693664997816, -0.017442651093006134, 0.03237970918416977, -0.008279304951429367, -0.045010924339294434, -0.028080562129616737, -0.09185808897018433, -0.013355697505176067, 0.01912529021501541, -0.019150514155626297, -0.02314763516187668, 0.027599044144153595, -0.02084684930741787, -0.0011757872998714447, -0.011869062669575214, 0.031366970390081406, 0.02274995855987072, -0.05269019678235054, 0.05254361405968666, 0.0193546824157238, 0.032218270003795624, -0.04667528718709946, 0.006631460040807724, -0.01785571686923504, -0.017050817608833313, 0.00550112035125494, 0.05242571607232094, 0.03155994787812233, 0.03465038910508156, 0.07277731597423553, 0.03925041854381561, -0.0389365516602993, 0.05912051349878311, 0.03653127700090408, -0.006175521295517683, -0.05855513736605644, 0.000150814070366323, -0.021147217601537704, -0.03831148520112038, -0.009373034350574017, -0.020754510536789894, 0.021012471988797188, 0.039517100900411606, -0.003188023343682289, -0.0015340253012254834, -0.01623791642487049, -0.03464613854885101, -0.045446645468473434, -0.047075606882572174, -0.005076781380921602, 0.026573041453957558, -0.03333921357989311, 0.03721795231103897, 0.03709595650434494, 0.02358126826584339, 0.06539761275053024, 0.06811251491308212, -0.029784832149744034, -0.047280117869377136, 0.003425886854529381, 0.033203139901161194, -0.03799918666481972, -0.07405982166528702, -0.04112694784998894, 0.02980625256896019, 0.035002775490283966, -0.0033890202175825834, -0.06529593467712402, 0.029352398589253426, 0.03816049546003342, -0.022109318524599075, 0.056197233498096466, -0.01622435636818409, 0.05379682406783104, 0.02910713292658329, -0.027214711531996727, 0.009395177476108074, -0.026725895702838898, 0.00750636775046587, -0.010758623480796814, 0.02805422991514206, -0.017265746369957924, -0.03937327489256859, -0.0833645910024643, 0.010029791854321957, 0.041563406586647034, 0.04667938873171806, 0.05801215395331383, -0.02318985015153885, -0.06091160699725151, -0.02642623521387577, 0.025127070024609566, -0.043149154633283615, 0.019806746393442154, 0.022541511803865433, 0.029086552560329437, -0.03731971234083176, -0.02308216132223606, -0.027786312624812126, -0.0047638798132538795, 0.025658300146460533, -0.009173977188766003, -0.042020268738269806, -0.03402811661362648, 0.006439444608986378, -0.02496907114982605, -0.006933774333447218, -0.07690741121768951, 0.0199978519231081, -0.007613163907080889, -0.00004378833546070382, 0.08222730457782745, 0.029915252700448036, 0.03213922306895256, 0.02682960405945778, 0.0012215491151437163, 0.009722680784761906, -0.04117412865161896, 0.04779928922653198, -0.018526719883084297, 0.00948533695191145, 0.0032239723950624466, -0.04559159278869629, -0.03433077037334442, -0.024545662105083466, -0.05813819542527199, -0.0272656437009573, -0.03264421969652176, 0.06060850992798805, -0.017030863091349602, -0.0016592413885518909, -0.016986742615699768, 0.0329044945538044, -0.04913026839494705, -0.02287217788398266, 0.0022003049962222576, -0.01957179419696331, -0.06674519181251526, -0.05629647895693779, 0.025535915046930313, 0.005092797335237265, 0.017645282670855522, -0.0015272725140675902, 0.007605409249663353, 0.02886209450662136, 0.0411318838596344, -0.0052481056191027164, 0.015439813956618309, -0.009801925159990788, -0.04438374191522598, -0.056144703179597855, -0.005535189528018236, 0.016961079090833664, 0.04118324816226959, -0.013434596359729767, 0.05089953541755676, 0.052395980805158615, -0.03775351122021675, 0.0021883829031139612, 0.008191710337996483, 0.04498754069209099, -0.04619470238685608, -0.046788159757852554, -0.0173188503831625, -0.05467480793595314, 0.03360094502568245, 0.010816839523613453, -0.030888313427567482, 0.026487845927476883, 0.020109636709094048, 0.05832728371024132, 0.015864728018641472, -0.023769838735461235, 0.023242803290486336, -0.019977103918790817, -0.014589819125831127, -0.0541614294052124, 0.04023869335651398, -0.060620542615652084, 0.013801922090351582, -0.007705208845436573, -0.012602063827216625, -0.04565592482686043, 0.05576826259493828, -0.011126578785479069, -0.02535669133067131, -0.019862845540046692, 0.02328571118414402, -0.020039863884449005, 0.033072780817747116, -0.005138772074133158, 0.017120519652962685, -0.013960667885839939, 0.03202304244041443, -0.051127854734659195, 0.03104773908853531, -0.019450165331363678, -0.01161342766135931, -0.013834504410624504, 0.0024179311003535986, -0.021102160215377808, -0.03156067058444023, 0.02629638835787773, 0.021025193855166435, 0.02554427459836006, 0.03230396658182144, -0.02717391401529312, 0.01974654570221901, 0.01263989694416523, -0.03866133838891983, -0.011726475320756435, -0.027069294825196266, 0.04897642508149147, -0.013913036324083805, 0.0765252485871315, 0.035449448972940445, -0.0391475185751915, -0.05389999598264694, 0.05652610957622528, 0.032717928290367126, 0.021148359403014183, -0.012006345205008984, 0.021691245958209038, 0.06574943661689758, 0.05936587229371071, -0.022644994780421257, 0.0030101279262453318, -0.01906575821340084, -0.0441005676984787, 0.029904335737228394, -0.012582926079630852, -0.0020280559547245502, -0.011940627358853817, -0.03744107857346535, -0.04370242729783058, 0.060712553560733795, 0.024896392598748207, 0.0006105387001298368, -0.00562739884480834, -0.0031261960975825787, 0.025852013379335403, 0.018834242597222328, -0.048698052763938904, -0.011172103695571423, 0.006127174943685532, -0.03470424935221672, 0.0599675178527832, -0.030278261750936508, 0.016757048666477203, 0.04024427384138107, 0.02480444312095642, 0.008620154112577438, 0.04341888800263405, -0.035261645913124084, 0.027590014040470123, 0.055475033819675446, -0.06353818625211716, -0.013578293845057487, -0.03752397745847702, 0.07605250179767609, -0.08541086316108704, 0.041484132409095764, 0.03544263541698456, 0.02888568304479122, 0.02502175234258175, -0.02805582992732525, -0.037008047103881836, 0.031128082424402237, -0.026751477271318436, 0.06728217750787735, 0.03464581072330475, -0.07390469312667847, 0.0547497533261776, 0.043739985674619675, -0.09979584813117981, 0.05964615195989609, 0.06819409132003784, 0.02889994904398918, 0.048029232770204544, 0.032050345093011856, -0.05998455360531807, 0.0322415865957737, -0.02336267940700054, 0.03647913411259651, -0.07880959659814835, -0.008470213040709496, -0.012661945074796677, -0.06449730694293976, -0.008683113381266594, 0.00444575073197484, 0.01408211700618267, -0.018359186127781868, 0.02092539705336094, -0.06504520028829575, -0.047938670963048935, -0.0026213652454316616, 0.02390684001147747, -0.02564268745481968, 0.020181406289339066, -0.0474887490272522, 0.036806900054216385, 0.0038814786821603775, 0.008905665017664433, -0.029636304825544357, -0.014753450639545918, 0.03772147372364998, -0.06641977280378342, -0.02380416914820671, 0.060391511768102646, 0.01340196281671524, -0.03414638340473175, 0.04476721212267876, -0.008148880675435066, 0.015066657215356827, 0.020027663558721542, -0.01862638257443905, 0.054468024522066116, -0.07495439052581787, -0.004077882971614599, 0.02150265872478485, -0.0006025416078045964, 0.00461723655462265, -0.014145123772323132, 0.04173488914966583, 0.041030723601579666, 0.009853427298367023, 0.006286741700023413, -0.046062421053647995, -0.03401827812194824, 0.0034830563236027956, -0.04346681013703346, 0.012494606897234917, -0.007332272827625275, -0.03718361258506775, -0.023300383239984512, -0.027983585372567177, 0.0232396237552166, 0.037353139370679855, -0.05504092946648598, -0.022951381281018257, 0.03226390480995178, -0.029173653572797775, -0.04853137955069542, -0.08340379595756531, -0.014762974344193935, -0.02796143665909767, 0.043200165033340454, 0.014140713959932327, -0.06254357099533081, 0.024151554331183434, -0.03702589496970177, -0.06517094373703003, 0.0455787219107151, 0.033756937831640244, -0.03429598733782768, 0.05186750739812851, 0.06468364596366882, -0.034347422420978546, 0.013684738427400589, 0.04020930454134941, -0.04890620335936546, 0.0325993075966835, 0.0043433536775410175, 0.0051307776011526585, 0.006871935445815325, 0.0365547351539135, 0.006067123729735613, -0.003343570278957486, -0.06161835789680481, -0.0510663203895092, -0.022675715386867523, -0.004239034838974476, 0.0571507066488266 ]
Alireza1044/albert-base-v2-mrpc
[ "pytorch", "tensorboard", "albert", "text-classification", "en", "dataset:glue", "transformers", "generated_from_trainer", "license:apache-2.0" ]
text-classification
{ "architectures": [ "AlbertForSequenceClassification" ], "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 } } }
204
null
--- tags: - spacy - token-classification language: - en license: mit model-index: - name: en_stylecheck results: [] --- Check style on English text (currently passive text). | Feature | Description | | --- | --- | | **Name** | `en_stylecheck` | | **Version** | `0.0.1` | | **spaCy** | `>=3.1.1,<3.2.0` | | **Default Pipeline** | `tok2vec`, `tagger`, `parser`, `attribute_ruler`, `lemmatizer`, `ner`, `stylecheck` | | **Components** | `tok2vec`, `tagger`, `parser`, `senter`, `attribute_ruler`, `lemmatizer`, `ner`, `stylecheck` | | **Vectors** | 684830 keys, 20000 unique vectors (300 dimensions) | | **Sources** | n/a | | **License** | `MIT` | | **Author** | [Explosion](https://explosion.ai) | ### Label Scheme <details> <summary>View label scheme (115 labels for 5 components)</summary> | Component | Labels | | --- | --- | | **`tagger`** | `$`, `''`, `,`, `-LRB-`, `-RRB-`, `.`, `:`, `ADD`, `AFX`, `CC`, `CD`, `DT`, `EX`, `FW`, `HYPH`, `IN`, `JJ`, `JJR`, `JJS`, `LS`, `MD`, `NFP`, `NN`, `NNP`, `NNPS`, `NNS`, `PDT`, `POS`, `PRP`, `PRP$`, `RB`, `RBR`, `RBS`, `RP`, `SYM`, `TO`, `UH`, `VB`, `VBD`, `VBG`, `VBN`, `VBP`, `VBZ`, `WDT`, `WP`, `WP$`, `WRB`, `XX`, ```` | | **`parser`** | `ROOT`, `acl`, `acomp`, `advcl`, `advmod`, `agent`, `amod`, `appos`, `attr`, `aux`, `auxpass`, `case`, `cc`, `ccomp`, `compound`, `conj`, `csubj`, `csubjpass`, `dative`, `dep`, `det`, `dobj`, `expl`, `intj`, `mark`, `meta`, `neg`, `nmod`, `npadvmod`, `nsubj`, `nsubjpass`, `nummod`, `oprd`, `parataxis`, `pcomp`, `pobj`, `poss`, `preconj`, `predet`, `prep`, `prt`, `punct`, `quantmod`, `relcl`, `xcomp` | | **`senter`** | `I`, `S` | | **`ner`** | `CARDINAL`, `DATE`, `EVENT`, `FAC`, `GPE`, `LANGUAGE`, `LAW`, `LOC`, `MONEY`, `NORP`, `ORDINAL`, `ORG`, `PERCENT`, `PERSON`, `PRODUCT`, `QUANTITY`, `TIME`, `WORK_OF_ART` | | **`entity_ruler`** | `PASSIVE` | </details>
[ 0.0006800133269280195, -0.014915714971721172, 0.005481187254190445, 0.03159687668085098, 0.04940805211663246, 0.023657970130443573, -0.005325698759406805, -0.0018540698802098632, -0.023936953395605087, 0.044085435569286346, 0.021522734314203262, 0.0008587396005168557, 0.015989534556865692, 0.05479872226715088, -0.051119886338710785, -0.025827903300523758, -0.031096195802092552, -0.013065365143120289, -0.04793301224708557, -0.014482327736914158, 0.014321006834506989, -0.0013465230586007237, -0.006489484570920467, 0.037790656089782715, 0.0074274493381381035, 0.016833271831274033, -0.00897120125591755, 0.03324513882398605, 0.03621494397521019, -0.06163475662469864, -0.017273223027586937, -0.04343718662858009, -0.06690551340579987, -0.039160024374723434, -0.029647229239344597, 0.001753715449012816, 0.0017372408183291554, 0.007772477343678474, 0.001851269626058638, 0.062127165496349335, 0.000989721273072064, 0.02672484889626503, -0.039614759385585785, -0.03187307342886925, 0.05867677554488182, 0.013225352391600609, -0.03207935392856598, -0.04420115798711777, 0.028744032606482506, -0.04697192460298538, -0.07900072634220123, -0.07023564726114273, -0.0262102410197258, -0.0016785606276243925, -0.0337289460003376, -0.010466840118169785, -0.06577762961387634, 0.009481878019869328, 0.04641098901629448, -0.028325136750936508, -0.03030419908463955, 0.028113607317209244, -0.08226087689399719, 0.019337406381964684, 0.03869282081723213, -0.037304144352674484, -0.0005457157967612147, -0.028064625337719917, 0.03274102881550789, -0.008485226891934872, 0.03386491909623146, -0.027852891013026237, 0.006894445512443781, -0.08176834881305695, 0.0032548559829592705, -0.005256510805338621, 0.026619795709848404, 0.029008446261286736, -0.05391181260347366, 0.05419398099184036, 0.03374353423714638, -0.019738463684916496, 0.04509846493601799, -0.018383068963885307, -0.026372874155640602, 0.03931371867656708, -0.03321179375052452, -0.0050128549337387085, 0.022844260558485985, 0.05169518291950226, -0.04846964403986931, -0.02640792913734913, -0.008791803382337093, -0.042035747319459915, -0.03968488797545433, 0.019662316888570786, 0.035640764981508255, -0.007913794368505478, 0.00890984944999218, 0.0361643061041832, 0.028614584356546402, 0.04592789709568024, -0.004158433992415667, 0.06472781300544739, 0.009643283672630787, -0.010805554687976837, -0.007374190259724855, -0.020687295123934746, -0.0461125448346138, 0.05640093982219696, 0.010048682801425457, -0.013243934139609337, -0.03738747537136078, 0.029161568731069565, 0.019530048593878746, -0.014016618020832539, 0.06810081750154495, -0.02600649558007717, -0.04384065046906471, -0.039461784064769745, 0.04962366819381714, 0.01959918439388275, 0.01406868826597929, 0.02381841279566288, -0.021281063556671143, -0.0061540682800114155, -0.04471264034509659, -0.004867428448051214, 0.00009441051952308044, 0.017205120995640755, -0.008242117241024971, 0.05137517675757408, 0.009006615728139877, -0.07700823992490768, 0.01625504158437252, -0.003889826824888587, -0.038256652653217316, 0.05863292142748833, 0.012141777202486992, 0.10044567286968231, -0.047000158578157425, -0.029320990666747093, 0.01928788051009178, 0.004645893815904856, -0.04629098251461983, -0.0022634787019342184, -0.003438993589952588, -0.046354036778211594, -0.02019062079489231, -0.021352548152208328, 0.04741426557302475, -0.07122598588466644, 0.0039033289067447186, 0.0490778349339962, -0.011261353269219398, 0.0469481386244297, -0.037360452115535736, -0.0073370542377233505, 0.009064423851668835, 0.007959245704114437, -0.03597966581583023, 0.036793988198041916, -0.004061177838593721, -0.015807174146175385, -0.028590412810444832, -0.03685701638460159, -0.01605737768113613, 0.06818709522485733, -0.02206253446638584, -0.010796022601425648, -0.060988880693912506, -0.010492762550711632, 0.03898637741804123, 0.016962768509984016, -0.010289313271641731, 0.022649133577942848, 0.05705956742167473, 0.05641232430934906, -0.015589483082294464, 0.05508645251393318, 0.01677701435983181, -0.0393948070704937, -0.0303510669618845, 0.02330162562429905, 0.04574599862098694, -0.013133609667420387, 0.004517786204814911, 0.04638579115271568, 0.03956296667456627, -0.03882889449596405, -0.023866161704063416, 0.05716218426823616, 0.002950752153992653, -0.01182889100164175, 0.006459759082645178, -0.03763749450445175, -0.041040677577257156, 0.04813774302601814, -0.018042806535959244, 0.00611359067261219, -0.011817106045782566, -0.04331212490797043, 0.031872350722551346, 0.02260657213628292, 0.04381435737013817, 0.019702332094311714, 0.009357454255223274, 0.09628956764936447, -0.060406070202589035, 0.011539471335709095, -0.044901009649038315, -0.04702475666999817, 0.002197044203057885, 0.03530086204409599, 0.04100842401385307, 0.03726845979690552, 0.002693314803764224, -0.031048651784658432, 0.0195140540599823, 0.057855263352394104, 0.011920626275241375, 0.03564862906932831, -0.029334191232919693, -0.014738380908966064, 0.030881276354193687, 0.052116911858320236, -0.052293337881565094, -0.019197585061192513, 0.026657605543732643, 0.02703932113945484, -0.03653203696012497, 0.03530385345220566, -0.013940336182713509, 0.03238410875201225, -0.056610189378261566, -0.04443187639117241, 0.03191528841853142, 0.010655920952558517, 0.009411758743226528, 0.010388108901679516, -0.024721842259168625, 0.0041587380692362785, 0.02185288444161415, 0.011885890737175941, 0.004536786582320929, -0.05202200636267662, 0.018046727403998375, 0.023673344403505325, 0.02266036532819271, -0.048737142235040665, 0.03227034956216812, -0.007495763711631298, 0.020040113478899002, 0.04071476683020592, -0.062096673995256424, 0.024305861443281174, 0.04766710847616196, 0.015958834439516068, -0.03194831684231758, 0.024812158197164536, 0.020121026784181595, 0.0042149159125983715, 0.05297092720866203, 0.0027824530843645334, 0.0699540302157402, -0.01955818198621273, 0.061239030212163925, 0.09428705275058746, 0.015009740367531776, 0.004322393797338009, 0.045517560094594955, 0.06668498367071152, -0.005580654367804527, -0.03602808713912964, 0.0746179074048996, -0.034335535019636154, 0.01580403372645378, -0.025050906464457512, 0.015555308200418949, -0.019435854628682137, 0.00020712254627142102, 0.017232200130820274, 0.0022891685366630554, -0.03447398170828819, -0.01391370315104723, -0.024265632033348083, 0.0018019863637164235, 0.032351911067962646, -0.02110525593161583, -0.014338511042296886, 0.013975809328258038, -0.017847390845417976, 0.014942589215934277, -0.06005893647670746, -0.04022564738988876, -0.028421340510249138, -0.02476821281015873, 0.008204993791878223, -0.07341698557138443, -0.034448374062776566, -0.07719390839338303, -0.0254043061286211, 0.025746064260601997, 0.005420642904937267, -0.017705727368593216, -0.04656517505645752, 0.035001177340745926, -0.05619269981980324, -0.06292633712291718, -0.0728176087141037, -0.0422414131462574, -0.03529362380504608, -0.09558657556772232, 0.043446555733680725, 0.0021996465511620045, 0.010105389170348644, 0.019319061189889908, 0.011668465100228786, -0.016980862244963646, -0.028506843373179436, 0.046597160398960114, 0.05130079388618469, -0.02608542889356613, -0.016129978001117706, 0.031582627445459366, -0.0103991087526083, -0.019011693075299263, -0.023040683940052986, -0.03897572681307793, 0.07702251523733139, 0.08435079455375671, -0.0004437716561369598, 0.01968279480934143, 0.027282511815428734, -0.05857880786061287, -0.06179236248135567, -0.024408604949712753, -0.020227503031492233, -0.01531732827425003, -0.04790985956788063, -0.02799857221543789, -0.0325777605175972, -0.0271447766572237, -0.026227453723549843, -0.017459159716963768, -0.00007357513823080808, 0.04128434881567955, 0.03424970060586929, 0.0395524762570858, 0.023896466940641403, -0.03231189772486687, -0.039480261504650116, 0.06095525249838829, 0.008405075408518314, -0.006782924756407738, -0.06484578549861908, -0.030906548723578453, 0.03929729014635086, 0.0002400559460511431, -0.0053163389675319195, -0.017403196543455124, 0.062398478388786316, 0.013345656916499138, 0.001863087061792612, 0.010829787701368332, -0.011776815168559551, 0.0005781275103799999, 0.0032070388551801443, -0.01789131388068199, -0.02585548348724842, -0.05717713385820389, 0.0019867257215082645, -0.02907256968319416, 0.038055118173360825, -0.06086549535393715, -0.07802052795886993, -0.011441616341471672, 0.03371387720108032, 0.03995148837566376, 0.03138779476284981, -0.036557938903570175, -0.012713488191366196, -0.0714307501912117, -0.012448917143046856, 0.01754295639693737, 0.0009279933292418718, -0.00204010889865458, 0.043708521872758865, 0.031057083979249, -0.021179668605327606, 0.06270330399274826, 0.056969743221998215, 0.037259481847286224, 0.020501412451267242, -0.059056609869003296, 0.022335026413202286, -0.019991513341665268, 0.021250037476420403, 0.00497193168848753, -0.010488273575901985, -0.03637881204485893, -0.1136595755815506, -0.0036357103381305933, 0.02168109454214573, -0.011905028484761715, 0.005739874672144651, 0.03881124407052994, -0.016176395118236542, -0.0027510139625519514, -0.011700286529958248, 0.016362950205802917, 0.039974212646484375, -0.03478601574897766, 0.05616588890552521, -0.019187573343515396, 0.03251885250210762, -0.04840047284960747, -0.0010501098586246371, -0.025108810514211655, -0.0060570272617042065, 0.022128736600279808, 0.05235348269343376, 0.018896933645009995, 0.057065509259700775, 0.07887094467878342, 0.022723037749528885, -0.023633116856217384, 0.03655325621366501, 0.05272058770060539, -0.010395180433988571, -0.06561356782913208, 0.02148592844605446, -0.02958713285624981, -0.013132302090525627, 0.012829035520553589, -0.04062151163816452, 0.020699910819530487, 0.03383798152208328, -0.001042012358084321, 0.0021946008782833815, 0.019309306517243385, -0.02884732000529766, -0.029259590432047844, -0.039007894694805145, -0.01872842200100422, 0.012668096460402012, -0.022689566016197205, 0.028429359197616577, 0.02307071164250374, 0.02380404993891716, 0.07234400510787964, 0.0425809770822525, -0.022279879078269005, -0.03324112668633461, 0.024775924161076546, 0.01747928000986576, -0.05019192770123482, -0.052941612899303436, -0.01008162833750248, 0.05457887053489685, 0.019226910546422005, -0.01742042973637581, -0.06879160553216934, 0.0036452943459153175, 0.06968139857053757, -0.02517961896955967, 0.07328343391418457, 0.0071726227179169655, 0.04601435363292694, 0.05722719430923462, -0.028451835736632347, 0.01512813288718462, -0.03167662397027016, 0.013895669020712376, -0.010024679824709892, 0.027005083858966827, -0.027575330808758736, -0.04876808822154999, -0.026422712951898575, 0.021114271134138107, 0.026270242407917976, 0.06376641988754272, 0.03273991867899895, -0.03886536881327629, -0.06012755632400513, 0.002877185121178627, 0.0312301404774189, -0.0656820610165596, 0.025279158726334572, 0.04841562733054161, 0.035554300993680954, -0.03779231011867523, -0.04593566060066223, -0.02112588845193386, -0.015941035002470016, 0.02842581644654274, -0.018767205998301506, -0.03513036295771599, -0.03760567680001259, 0.018476450815796852, 0.005282191094011068, -0.02354738488793373, -0.07473348826169968, 0.03963852673768997, -0.04417971521615982, -0.013171914033591747, 0.056000567972660065, 0.013915156945586205, 0.04519207403063774, 0.04680757597088814, -0.004007479175925255, 0.016655417159199715, -0.031311746686697006, 0.048785436898469925, -0.028560733422636986, -0.0064912475645542145, -0.0009697757195681334, -0.025550205260515213, -0.011043303646147251, -0.004016082268208265, -0.07463378459215164, -0.026297127828001976, -0.0246511809527874, 0.02753673493862152, 0.014490115456283092, -0.027392590418457985, -0.016414005309343338, 0.017648231238126755, -0.00870045367628336, -0.03828136995434761, -0.019999481737613678, -0.03313971683382988, -0.07162599265575409, -0.061673570424318314, 0.014999582432210445, -0.008516911417245865, 0.029827645048499107, 0.016301725059747696, 0.013885687105357647, 0.027672456577420235, -0.001462880172766745, -0.01719011925160885, 0.04390374943614006, 0.009522983804345131, -0.03254127502441406, -0.01790301688015461, 0.014907116070389748, 0.014025543816387653, 0.04768110066652298, -0.02220229059457779, 0.02920759655535221, 0.019239181652665138, -0.02420186623930931, -0.01323766727000475, 0.01676332950592041, 0.006598541047424078, -0.052665822207927704, -0.039059046655893326, -0.013416310772299767, -0.041452232748270035, 0.026977697387337685, -0.014808807522058487, -0.03409562632441521, 0.0020027621649205685, 0.04369775578379631, 0.035533081740140915, -0.023745618760585785, -0.01698203943669796, 0.013325149193406105, -0.022260459139943123, 0.014802797697484493, -0.07350520044565201, 0.011739319190382957, -0.02683001570403576, 0.007847986184060574, -0.007231628987938166, -0.024659289047122, -0.0432361476123333, 0.02031063102185726, -0.011238577775657177, -0.033150043338537216, 0.00029605088639073074, 0.027727913111448288, -0.03200153633952141, 0.03675471991300583, 0.027716834098100662, 0.011529562063515186, -0.009471312165260315, 0.05829113721847534, -0.06399231404066086, -0.010554665699601173, -0.021372854709625244, 0.0007655019289813936, -0.04444228857755661, -0.028161518275737762, -0.022540384903550148, -0.0549706295132637, 0.02785203419625759, 0.04428570345044136, -0.0036243239883333445, 0.03241575136780739, -0.024188926443457603, 0.008853321895003319, 0.03137082979083061, -0.07040680199861526, -0.03966887667775154, -0.009354106150567532, -0.029524197801947594, -0.03348880633711815, 0.04859621822834015, 0.024757981300354004, -0.05192705616354942, -0.05477001890540123, 0.052812907844781876, 0.0035241914447396994, 0.0021034840028733015, -0.004939413629472256, 0.03624113276600838, 0.025518788024783134, 0.045972488820552826, -0.054050348699092865, -0.007594026159495115, 0.025912469252943993, -0.006226415745913982, 0.026006154716014862, 0.001744937035255134, 0.03761332482099533, -0.002269536489620805, -0.0249861441552639, -0.003913773223757744, 0.10304725915193558, 0.053870730102062225, 0.021812813356518745, -0.006813852582126856, -0.03198526054620743, 0.03380069136619568, 0.013661244884133339, -0.06979064643383026, 0.00800864864140749, 0.04477832838892937, -0.049937475472688675, 0.06298210471868515, -0.005032947286963463, 0.012510889209806919, 0.04269871115684509, 0.04531356692314148, -0.018103236332535744, 0.06554228812456131, -0.0273935217410326, 0.00815324205905199, 0.03397693857550621, -0.06238723546266556, 0.005888114683330059, -0.027857903391122818, 0.05356316268444061, -0.07542884349822998, 0.044262632727622986, 0.04391573742032051, 0.03583573177456856, 0.014430609531700611, -0.0312860906124115, -0.04317500442266464, 0.03572312742471695, -0.04382013902068138, 0.07591140270233154, 0.00917010847479105, -0.07871155440807343, 0.06158427894115448, -0.0038642568979412317, -0.08437959104776382, 0.026614634320139885, 0.0347454808652401, 0.03079012781381607, 0.0465569794178009, 0.04284587875008583, -0.04767081141471863, 0.016150984913110733, -0.02724478766322136, 0.015059522353112698, -0.03757442533969879, -0.0077642276883125305, 0.030630649998784065, -0.027157729491591454, -0.03337344527244568, 0.04906582459807396, -0.028632378205657005, -0.004650885704904795, 0.044492583721876144, -0.04058663174510002, -0.04178838059306145, 0.02850610390305519, 0.030389145016670227, -0.026469657197594643, 0.004371591843664646, -0.019862698391079903, 0.020941833034157753, 0.039551734924316406, 0.007677397225052118, -0.025274954736232758, -0.0031651591416448355, 0.061288513243198395, -0.08720860630273819, -0.02604333683848381, 0.02378072775900364, 0.021681472659111023, -0.02705494873225689, 0.016789807006716728, 0.0078616663813591, 0.03428806737065315, -0.013026359491050243, -0.02145199291408062, -0.00750826857984066, -0.054376378655433655, 0.01083536259829998, -0.0018867837497964501, 0.011079197749495506, 0.010256689041852951, -0.021100526675581932, 0.047920111566782, 0.023761508986353874, 0.04590372368693352, -0.002504803705960512, -0.02395109087228775, -0.028514044359326363, 0.018041206523776054, -0.05977730080485344, 0.018805723637342453, 0.014107792638242245, -0.0569852776825428, -0.05096447840332985, -0.010509955696761608, 0.005651769693940878, 0.03572700545191765, -0.037496086210012436, 0.004112230613827705, 0.04571112245321274, -0.014786753803491592, -0.04506387561559677, -0.08664548397064209, -0.05286354199051857, -0.03434127941727638, 0.014928851276636124, 0.02253768779337406, -0.03244256228208542, 0.01243723277002573, -0.02734382078051567, -0.0723552331328392, 0.027978789061307907, 0.01461427565664053, -0.02620474249124527, 0.04460691660642624, 0.06576254963874817, -0.04317702725529671, 0.04151001572608948, 0.03688526898622513, -0.04065898433327675, 0.05367429554462433, -0.00878790020942688, 0.029667071998119354, 0.026621757075190544, 0.032285790890455246, -0.009000069461762905, -0.029167406260967255, -0.0542990081012249, -0.03668317571282387, -0.03689184412360191, 0.003845897503197193, 0.0483475998044014 ]
Alireza1044/albert-base-v2-qqp
[ "pytorch", "albert", "text-classification", "en", "dataset:glue", "transformers", "generated_from_trainer", "license:apache-2.0" ]
text-classification
{ "architectures": [ "AlbertForSequenceClassification" ], "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 } } }
37
null
--- language: "en" tags: - gpt2 - arxiv - transformers datasets: - https://github.com/staeiou/arxiv_archive/tree/v1.0.1 --- # ArXiv AI GPT-2 ## Model description This GPT-2 (774M) model is capable of generating abstracts given paper titles. It was trained using all research paper titles and abstracts under artificial intelligence (AI), machine learning (LG), computation and language (CL), and computer vision and pattern recognition (CV) on arXiv. ## Intended uses & limitations #### How to use To generate paper abstracts, use the provided `generate.py` [here](https://gist.github.com/chrisliu298/ccb8144888eace069da64ad3e6472d64). This is very similar to the HuggingFace's `run_generation.py` [here](https://github.com/huggingface/transformers/tree/master/examples/text-generation). You can simply replace the text with with your own model path (line 89) and change the input string to your paper title (line 127). If you want to use your own script, make sure to prepend `<|startoftext|> ` at the front and append ` <|sep|>` at the end of the paper title. ## Training data I selected a subset of the [arXiv Archive](https://github.com/staeiou/arxiv_archive) dataset (Geiger, 2019) as the training and evaluation data to fine-tune GPT-2. The original arXiv Archive dataset contains a full archive of metadata about papers on arxiv.org, from the start of the site in 1993 to the end of 2019. Our subset includes all the paper titles (query) and abstracts (context) under the Artificial Intelligence (cs.AI), Machine Learning (cs.LG), Computation and Language (cs.CL), and Computer Vision and Pattern Recognition (cs.CV) categories. I provide the information of the sub-dataset and the distribution of the training and evaluation dataset as follows. | Splits | Count | Percentage (%) | BPE Token Count | | :--------: | :--------: | :------------: | :-------------: | | Train | 90,000 | 90.11 | 20,834,012 | | Validation | 4,940 | 4.95 | 1,195,056 | | Test | 4,940 | 4.95 | 1,218,754 | | **Total** | **99,880** | **100** | **23,247,822** | The original dataset is in the format of a tab-separated value, so we wrote a simple preprocessing script to convert it into a text file format, which is the input file type (a document) of the GPT-2 model. An example of a paper’s title and its abstract is shown below. ```text <|startoftext|> Some paper title <|sep|> Some paper abstract <|endoftext|> ``` Because there are a lot of cross-domain papers in the dataset, I deduplicate the dataset using the arXiv ID, which is unique for every paper. I sort the paper by submission date, by doing so, one can examine GPT-2’s ability to use learned terminologies when it is prompted with paper titles from the “future.” ## Training procedure I used block size = 512, batch size = 1, gradidnet accumulation = 1, learning rate = 1e-5, epochs = 5, and everything else follows the default model configuration. ## Eval results The resulting GPT-2 large model's perplexity score on the test set is **14.9413**. ## Reference ```bibtex @dataset{r_stuart_geiger_2019_2533436, author= {R. Stuart Geiger}, title={{ArXiV Archive: A tidy and complete archive of metadata for papers on arxiv.org, 1993-2019}}, month=jan, year= 2019, publisher={Zenodo}, version= {v1.0.1}, doi={10.5281/zenodo.2533436}, url={https://doi.org/10.5281/zenodo.2533436} } ```
[ -0.013011593371629715, -0.02741966024041176, 0.018928885459899902, 0.0719522163271904, 0.037195488810539246, 0.018212858587503433, 0.008231920190155506, -0.03058374859392643, -0.01979946717619896, 0.031669825315475464, 0.03417927026748657, 0.019161691889166832, -0.009425034746527672, 0.026815110817551613, -0.01848176307976246, -0.03745485842227936, -0.030430126935243607, -0.015102573670446873, -0.023383330553770065, -0.0015277202473953366, -0.004457908682525158, -0.000844963826239109, -0.016862424090504646, 0.009705428965389729, 0.0014162128791213036, 0.0042739491909742355, -0.008531180210411549, 0.0001938776986207813, 0.011234727688133717, -0.07505019009113312, 0.004477259237319231, -0.018663084134459496, -0.02165033668279648, -0.025156432762742043, -0.029374750331044197, -0.012372106313705444, -0.025480171665549278, -0.0029121257830411196, 0.03541528806090355, 0.06404337286949158, -0.035531409084796906, 0.021434560418128967, 0.013700997456908226, -0.03077659010887146, 0.03544843569397926, 0.020802713930606842, -0.05883823707699776, -0.04607729613780975, 0.047401152551174164, -0.017026683315634727, -0.06472313404083252, -0.08359573781490326, -0.04945513606071472, 0.029812024906277657, -0.01599268428981304, -0.02238064631819725, -0.04995374754071236, -0.008226227946579456, 0.06605158746242523, -0.04913003370165825, -0.05499418452382088, 0.022020729258656502, -0.04964843764901161, -0.00026039883960038424, 0.04620329663157463, -0.022387338802218437, 0.01025746762752533, -0.03956860303878784, 0.003815966658294201, -0.042197104543447495, 0.046864718198776245, -0.027256833389401436, 0.03296525403857231, -0.10774008184671402, -0.010196560993790627, -0.014946368522942066, 0.01448687445372343, 0.040663886815309525, -0.0460512712597847, 0.04342004656791687, 0.01818239502608776, 0.011105077341198921, 0.0177858117967844, 0.013350426219403744, -0.009776330552995205, 0.05296485126018524, -0.03568287938833237, -0.010289503261446953, -0.0031915558502078056, 0.08043717592954636, -0.0446028895676136, -0.030729662626981735, -0.04936572164297104, -0.020937606692314148, -0.01410617958754301, 0.027420440688729286, 0.025569748133420944, -0.03305435553193092, 0.013590126298367977, 0.02023322694003582, 0.02273424156010151, 0.07462736964225769, -0.012198065407574177, 0.056568391621112823, 0.02334371767938137, -0.0013787848874926567, -0.035212911665439606, -0.029856190085411072, -0.04828140139579773, 0.028202181681990623, 0.041017480194568634, -0.030508091673254967, -0.05088839679956436, 0.041663575917482376, -0.0024088944774121046, -0.01546973641961813, 0.05214415118098259, -0.021195318549871445, -0.04510975256562233, -0.0651230588555336, 0.026730697602033615, 0.02190856821835041, -0.018023446202278137, 0.016128621995449066, -0.026188472285866737, 0.032236114144325256, -0.04803674295544624, -0.011574368923902512, 0.002771299099549651, 0.0068898932076990604, -0.03767675533890724, 0.0331389456987381, 0.06380856782197952, -0.060767143964767456, 0.02245776355266571, 0.005590769927948713, -0.06221746280789375, 0.056109391152858734, 0.06251607090234756, 0.11095688492059708, -0.07866909354925156, -0.024373143911361694, 0.034078046679496765, 0.006320158950984478, -0.0447511225938797, 0.005113254766911268, 0.011919146403670311, -0.03668981418013573, -0.03708859905600548, -0.015994412824511528, 0.06287034600973129, -0.050268497318029404, -0.008030742406845093, 0.041948750615119934, -0.007289777975529432, 0.048852141946554184, -0.03484271839261055, 0.018278833478689194, -0.011481029912829399, 0.010049354285001755, -0.047297004610300064, 0.03337953984737396, -0.006332863122224808, -0.001761405961588025, -0.03863215446472168, -0.04076016694307327, -0.016494454815983772, 0.06855122745037079, -0.004394713323563337, -0.024221627041697502, -0.02812773920595646, -0.019234025850892067, 0.05390674248337746, 0.04206189885735512, -0.010503602214157581, 0.038496945053339005, 0.04538116604089737, 0.058131132274866104, -0.02827228605747223, 0.04852261394262314, -0.005619719158858061, -0.01508903969079256, -0.02193683385848999, 0.01933985762298107, 0.012304209172725677, -0.015985144302248955, 0.028057575225830078, 0.022202124819159508, 0.003967083524912596, -0.032845497131347656, 0.007446253672242165, 0.04403643682599068, -0.021457543596625328, -0.003978997003287077, 0.003972548525780439, -0.005683692172169685, -0.0008549211779609323, 0.04774009436368942, -0.028046924620866776, 0.019870104268193245, -0.01685762219130993, -0.040203917771577835, 0.02473323419690132, 0.04663952812552452, 0.029048124328255653, 0.0034888340160250664, -0.01754041761159897, 0.06448493897914886, -0.03215763345360756, 0.02400510013103485, -0.037397172302007675, -0.03060353547334671, 0.00126881233882159, 0.025573670864105225, 0.032263949513435364, 0.05258430540561676, -0.008444621227681637, -0.03998766094446182, 0.028048356994986534, 0.05902087688446045, 0.027300382032990456, 0.06409922987222672, -0.03815844655036926, -0.0066609433852136135, 0.051126763224601746, 0.07296694815158844, -0.018291624262928963, -0.03406434506177902, 0.019666118547320366, 0.047585975378751755, -0.021957317367196083, -0.0004945080727338791, -0.021079543977975845, 0.032620809972286224, -0.04185406491160393, -0.04904823377728462, 0.011950802057981491, 0.04402834549546242, 0.011282410472631454, 0.00851611327379942, -0.01202972698956728, 0.01694558933377266, 0.014780090190470219, 0.009489236399531364, 0.02349664457142353, -0.045335277915000916, 0.039275068789720535, 0.023784009739756584, 0.06146710738539696, -0.023908179253339767, 0.058786649256944656, -0.009901115670800209, 0.020231761038303375, 0.006080646999180317, -0.03578900545835495, 0.035052210092544556, 0.013111731968820095, 0.04298841580748558, -0.03902633860707283, 0.027372637763619423, -0.006744067650288343, 0.013434874825179577, 0.08294238150119781, 0.024395177140831947, 0.05944973602890968, -0.004590014461427927, 0.052681248635053635, 0.10129999369382858, 0.00642263051122427, 0.020349999889731407, 0.02547173947095871, 0.05824555084109306, 0.0035231192596256733, -0.00506537826731801, 0.0426507368683815, -0.04661276936531067, 0.030527597293257713, -0.047834206372499466, 0.015540423803031445, -0.016297413036227226, -0.006528227590024471, 0.042163293808698654, 0.023221129551529884, -0.023716775700449944, 0.04395424947142601, 0.00232324143871665, -0.016172178089618683, 0.028267603367567062, -0.00838086474686861, 0.00450462382286787, 0.005316786002367735, 0.003535615745931864, -0.008372004143893719, -0.06684422492980957, -0.03629918396472931, -0.002633266383782029, -0.02601661905646324, -0.010734821669757366, -0.09642177820205688, 0.009244679473340511, -0.09006190299987793, -0.017705118283629417, 0.038399726152420044, 0.019985070452094078, 0.007234320975840092, -0.05360156297683716, -0.01725953444838524, -0.021333875134587288, -0.040136709809303284, -0.03945251554250717, -0.038176871836185455, -0.03540333732962608, -0.07043591141700745, 0.04017503187060356, -0.002422851277515292, 0.04413272812962532, -0.0027431007474660873, -0.0031930492259562016, -0.031018594279885292, -0.02309994399547577, 0.06328153610229492, 0.011601200327277184, -0.034795671701431274, -0.023520968854427338, 0.02616259828209877, -0.01437845267355442, -0.008045707829296589, 0.0106150321662426, -0.04198966175317764, 0.06416738033294678, 0.10089042782783508, 0.036463458091020584, 0.020397167652845383, -0.0341852605342865, -0.026641715317964554, -0.08028007298707962, -0.06582549214363098, -0.02818736433982849, -0.05241209641098976, -0.05923028662800789, -0.042491473257541656, -0.024843962863087654, -0.02866715006530285, 0.010176624171435833, -0.013988659717142582, -0.006987939588725567, 0.04529242590069771, 0.020095650106668472, 0.04264536127448082, 0.01992649771273136, -0.02782491035759449, -0.03165055066347122, 0.052744682878255844, 0.017712265253067017, 0.003062236588448286, -0.04652678966522217, -0.03892333433032036, 0.04422315955162048, 0.027306808158755302, 0.04033849015831947, -0.0064868140034377575, 0.06257263571023941, 0.024532634764909744, 0.014498632401227951, 0.010460679419338703, -0.008849122561514378, -0.018932223320007324, -0.02141169272363186, -0.015750903636217117, -0.035899147391319275, -0.02457519806921482, -0.05266933515667915, -0.013460228219628334, 0.04808736592531204, -0.07175692915916443, -0.07099562883377075, -0.001598145579919219, 0.02085362933576107, 0.029609503224492073, 0.00520365871489048, -0.02721877582371235, 0.011730198748409748, -0.05219278484582901, -0.028185369446873665, 0.016949310898780823, 0.0028323126025497913, 0.010756772942841053, 0.030187198892235756, 0.05129748582839966, -0.029661575332283974, 0.05487538129091263, 0.03272390365600586, 0.06165112927556038, 0.00068931735586375, -0.04017501324415207, 0.017912734299898148, -0.012000066228210926, 0.027359614148736, -0.003650734666734934, -0.0058204177767038345, -0.0500035434961319, -0.08109146356582642, -0.0028051857370883226, -0.011543036438524723, 0.01843874715268612, 0.005473478697240353, 0.04882088303565979, -0.029350271448493004, -0.01686946302652359, 0.03590027615427971, 0.012430408038198948, 0.041069451719522476, -0.04768088087439537, 0.034901414066553116, 0.004102954640984535, 0.016876371577382088, -0.05467713251709938, -0.009678875096142292, -0.04168675094842911, -0.012706817127764225, -0.004651881288737059, 0.08269514888525009, 0.019715353846549988, 0.040617916733026505, 0.0469764843583107, 0.03656554967164993, -0.020541749894618988, 0.022501211613416672, 0.025346511974930763, -0.021265510469675064, -0.04846474155783653, 0.0014192670350894332, -0.0003170365234836936, -0.004332438111305237, -0.021960163488984108, -0.016492241993546486, 0.0374540351331234, 0.02618771232664585, 0.007868440821766853, 0.011764955706894398, -0.005743000190705061, -0.03671211376786232, -0.02963484823703766, -0.027324868366122246, 0.012386682443320751, 0.0014264386845752597, -0.008467459119856358, -0.003440011525526643, 0.03904549404978752, 0.011272835545241833, 0.06891728937625885, 0.05326694995164871, -0.031899165362119675, -0.02011815831065178, 0.04259172081947327, 0.058199960738420486, -0.03603376820683479, -0.03921877220273018, -0.04402333125472069, 0.047959402203559875, 0.044065408408641815, -0.016137398779392242, -0.0974871814250946, 0.00955781526863575, 0.03247714787721634, -0.051086217164993286, 0.055453646928071976, -0.01311162207275629, 0.04067559912800789, 0.06479868292808533, 0.01510563213378191, 0.01655435934662819, -0.028967758640646935, -0.005226391367614269, -0.007849941961467266, 0.07492069154977798, -0.056872088462114334, -0.029585111886262894, -0.052929218858480453, 0.051212430000305176, 0.006377173122018576, 0.05842265859246254, 0.024518191814422607, -0.026607969775795937, -0.05064183101058006, 0.05018848553299904, 0.021210726350545883, -0.03495723754167557, 0.036105554550886154, 0.02024240791797638, 0.05333776772022247, -0.04717910289764404, -0.043393295258283615, -0.02802160568535328, -0.02100496180355549, 0.03400411456823349, -0.02284412831068039, -0.024892985820770264, -0.05247608199715614, -0.0017670098459348083, -0.023004934191703796, -0.025612464174628258, -0.09933178871870041, 0.04431722313165665, 0.013605277985334396, -0.03416772559285164, 0.05934937670826912, 0.041194990277290344, 0.02098875492811203, 0.0663793534040451, 0.009199414402246475, 0.021915456280112267, -0.06543400883674622, 0.02531558647751808, -0.041923005133867264, -0.026198018342256546, -0.01186369825154543, -0.02238173596560955, -0.01146423164755106, -0.03939429298043251, -0.04945987090468407, -0.024977469816803932, -0.014828772284090519, 0.020198797807097435, 0.001810255809687078, -0.004614083096385002, -0.003646839177235961, 0.04172958433628082, -0.011379729025065899, -0.004992515780031681, -0.048057202249765396, -0.03982272371649742, -0.054042235016822815, -0.041881710290908813, 0.023458510637283325, 0.0027625940274447203, 0.01749342866241932, 0.013266411609947681, 0.022032875567674637, -0.0064764791168272495, 0.011160200461745262, -0.02543678693473339, 0.05750998109579086, -0.011461855843663216, -0.033743686974048615, -0.058302413672208786, 0.0351940281689167, 0.016648057848215103, 0.004670300986617804, 0.003981288056820631, 0.022047705948352814, 0.027607306838035583, -0.024952972307801247, -0.006271681748330593, 0.027599845081567764, -0.01786811836063862, -0.04989483579993248, -0.013260471634566784, -0.00955305527895689, -0.028975769877433777, 0.040373723953962326, 0.02000340074300766, -0.022833330556750298, -0.033678509294986725, 0.03314578905701637, 0.04053669422864914, 0.017344051972031593, -0.037668995559215546, 0.002344733104109764, -0.06422307342290878, 0.034515928477048874, -0.06373928487300873, 0.06021957844495773, -0.037320174276828766, -0.003869690466672182, -0.025015192106366158, 0.005987741518765688, -0.02126334421336651, 0.0571594312787056, -0.0030958543065935373, 0.005369974300265312, -0.01486646942794323, 0.004717628471553326, -0.031207114458084106, 0.04391518607735634, -0.02479918673634529, 0.035082194954156876, -0.016148246824741364, 0.048872966319322586, -0.0381748303771019, -0.015607303939759731, -0.038554608821868896, -0.020939091220498085, -0.0431654155254364, -0.008074766024947166, -0.0039469595067203045, -0.020629946142435074, 0.040307264775037766, 0.022742649540305138, 0.0301080122590065, 0.018024113029241562, -0.01291702687740326, 0.010340660810470581, 0.04320067912340164, -0.038258809596300125, -0.01397092454135418, 0.0036506694741547108, -0.011200516484677792, -0.02540566772222519, 0.06428084522485733, 0.05611313134431839, -0.036337725818157196, -0.03162849321961403, 0.03251706436276436, 0.009011104702949524, -0.00007241396087920293, -0.016818497329950333, 0.009814703837037086, 0.03280041739344597, 0.03017030656337738, -0.062356192618608475, 0.020887427031993866, -0.008622007444500923, -0.03961307555437088, 0.024303091689944267, 0.005194386467337608, 0.03338538110256195, 0.006754136644303799, -0.031003329902887344, -0.003988926764577627, 0.07275772839784622, 0.022793326526880264, 0.001864806399680674, -0.025724228471517563, -0.026595424860715866, 0.032505474984645844, 0.02740650810301304, -0.0509539395570755, 0.0014006691053509712, 0.01380066853016615, -0.02778228558599949, 0.07967996597290039, -0.04082096368074417, 0.013927118852734566, 0.04589167237281799, 0.009005834348499775, -0.01611114665865898, 0.039643339812755585, -0.005621295887976885, -0.01076111476868391, 0.03257479518651962, -0.02591482549905777, -0.03471427410840988, -0.05443968623876572, 0.07714979350566864, -0.05333814024925232, 0.039033446460962296, 0.03864036500453949, 0.013956902548670769, 0.011526384390890598, -0.03999025374650955, -0.029923325404524803, 0.013937794603407383, -0.06423047930002213, 0.0740298479795456, -0.007806105073541403, -0.07313024997711182, 0.07020887732505798, 0.014530286192893982, -0.0784790888428688, 0.019099034368991852, 0.058068547397851944, 0.030049314722418785, 0.02264571189880371, 0.04245861992239952, -0.031081799417734146, 0.021515391767024994, -0.04165175184607506, 0.03132978454232216, -0.027284884825348854, -0.0020065749995410442, 0.013258792459964752, -0.036225125193595886, -0.015349473804235458, 0.04290573671460152, -0.0196521058678627, -0.017953576520085335, 0.018396561965346336, -0.0636477842926979, -0.05918954312801361, -0.01469710934907198, 0.02983621135354042, -0.009562840685248375, 0.01708288863301277, -0.05340255796909332, 0.034365080296993256, 0.008942470885813236, 0.008563990704715252, -0.03386397287249565, 0.007250053342431784, 0.027148772031068802, -0.09624727815389633, -0.03543036803603172, 0.020390095189213753, 0.024702174589037895, -0.025058669969439507, -0.00006328695599222556, -0.006450281012803316, 0.024993732571601868, 0.0041691758669912815, -0.003533728187903762, 0.00024700441281311214, -0.04446466639637947, 0.015902286395430565, 0.027377627789974213, -0.020714404061436653, 0.05837952345609665, -0.020096423104405403, 0.0364588126540184, 0.04196302220225334, 0.04187534376978874, 0.005426426883786917, -0.02097756788134575, -0.019192803651094437, 0.01742740161716938, -0.04492758587002754, 0.02417171560227871, -0.0008596021216362715, -0.05993809923529625, -0.05024618282914162, -0.023262562230229378, -0.025209639221429825, 0.03925453498959541, -0.025518417358398438, 0.0011521015549078584, 0.03419191762804985, -0.0029534792993217707, -0.043024942278862, -0.09446542710065842, -0.03255955129861832, -0.02052849531173706, 0.01193956471979618, 0.023574618622660637, -0.02896488457918167, 0.05299198254942894, -0.0559476874768734, -0.06639506667852402, 0.024194765836000443, 0.03345399722456932, -0.057128433138132095, 0.03594905138015747, 0.029749169945716858, -0.009168426506221294, 0.008386501111090183, 0.0020700579043477774, -0.029049081727862358, -0.017077768221497536, 0.020651496946811676, 0.031596291810274124, 0.017275173217058182, 0.0441022664308548, -0.04606238007545471, -0.04533759132027626, -0.05875857546925545, -0.03859914094209671, -0.027612395584583282, -0.007319396361708641, 0.07080939412117004 ]
Amba/wav2vec2-large-xls-r-300m-tr-colab
[]
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: - pytorch - coai pipeline_tag: conversational --- [blenderbot-400M-distill](https://huggingface.co/facebook/blenderbot-400M-distill) fine-tuned on the [ESConv dataset](https://github.com/thu-coai/Emotional-Support-Conversation). Usage example: ```python import torch from transformers import AutoTokenizer from transformers.models.blenderbot import BlenderbotTokenizer, BlenderbotForConditionalGeneration def _norm(x): return ' '.join(x.strip().split()) tokenizer = BlenderbotTokenizer.from_pretrained('thu-coai/blenderbot-400M-esconv') model = BlenderbotForConditionalGeneration.from_pretrained('thu-coai/blenderbot-400M-esconv') model.eval() utterances = [ "I am having a lot of anxiety about quitting my current job. It is too stressful but pays well", "What makes your job stressful for you?", "I have to deal with many people in hard financial situations and it is upsetting", "Do you help your clients to make it to a better financial situation?", "I do, but often they are not going to get back to what they want. Many people are going to lose their home when safeguards are lifted", ] input_sequence = ' '.join([' ' + e for e in utterances]) + tokenizer.eos_token # add space prefix and separate utterances with two spaces input_ids = tokenizer.convert_tokens_to_ids(tokenizer.tokenize(input_sequence))[-128:] input_ids = torch.LongTensor([input_ids]) model_output = model.generate(input_ids, num_beams=1, do_sample=True, top_p=0.9, num_return_sequences=5, return_dict=False) generation = tokenizer.batch_decode(model_output, skip_special_tokens=True) generation = [_norm(e) for e in generation] print(generation) utterances.append(generation[0]) # for future loop ``` Please kindly cite the [original paper](https://arxiv.org/abs/2106.01144) if you use this model: ```bib @inproceedings{liu-etal-2021-towards, title={Towards Emotional Support Dialog Systems}, author={Liu, Siyang and Zheng, Chujie and Demasi, Orianna and Sabour, Sahand and Li, Yu and Yu, Zhou and Jiang, Yong and Huang, Minlie}, booktitle={Proceedings of the 59th annual meeting of the Association for Computational Linguistics}, year={2021} } ```
[ -0.027097063139081, -0.02607802115380764, -0.0054330178536474705, 0.027079952880740166, 0.04720376059412956, 0.03934575244784355, -0.022799568250775337, 0.014623923227190971, -0.047034647315740585, 0.05551532655954361, 0.018055958673357964, 0.00012665442773140967, 0.02462313324213028, 0.03144600987434387, -0.044431421905756, -0.03500254079699516, -0.06014098972082138, -0.003284867387264967, -0.05291135609149933, -0.03484174609184265, 0.01037385780364275, 0.028056146577000618, 0.010176735930144787, 0.020878350362181664, 0.009451902471482754, 0.003180011175572872, -0.035246383398771286, 0.012367604300379753, 0.01067641843110323, -0.026348203420639038, 0.012945204973220825, -0.02742513082921505, -0.033978112041950226, -0.01583794131875038, -0.035259198397397995, 0.020632483065128326, 0.014454228803515434, 0.010390130802989006, 0.012713792733848095, 0.06872133165597916, 0.005442851223051548, -0.02038750797510147, -0.020555591210722923, -0.013973117806017399, 0.04314704239368439, -0.00585855171084404, -0.03789934888482094, 0.0192983727902174, 0.019328702241182327, -0.020508738234639168, -0.02205582521855831, -0.08143956959247589, -0.0021532485261559486, 0.021544072777032852, 0.002049003029242158, -0.04550495371222496, -0.07437905669212341, -0.027125243097543716, 0.07310482859611511, -0.034718189388513565, -0.029543258249759674, 0.03501800075173378, -0.07208801805973053, 0.007877873256802559, 0.016417590901255608, -0.03909357264637947, -0.009612581692636013, -0.031151991337537766, -0.009885079227387905, -0.02999260276556015, 0.04466657340526581, -0.03930044546723366, 0.005759318824857473, -0.06577157974243164, 0.0016730193747207522, -0.034722700715065, 0.0634876936674118, 0.026308875530958176, -0.015720047056674957, 0.045623861253261566, 0.04258664697408676, -0.008998339995741844, 0.03720124065876007, -0.004323515575379133, -0.006278981454670429, 0.01901829242706299, -0.017005424946546555, -0.011731060221791267, 0.02463456802070141, 0.06814668327569962, -0.044745542109012604, -0.05175010487437248, -0.003844705643132329, -0.027286797761917114, -0.010280070826411247, 0.04821723327040672, 0.05904478207230568, 0.006273132748901844, 0.026183685287833214, 0.010091272182762623, 0.028207845985889435, 0.0505484864115715, -0.03218859061598778, 0.052535612136125565, -0.021058516576886177, -0.005774037446826696, -0.001678071916103363, -0.04385169968008995, -0.04136313498020172, 0.03631681203842163, 0.022805020213127136, -0.01799437589943409, -0.04905014857649803, 0.012769750319421291, 0.02090446464717388, -0.03173327073454857, 0.025561721995472908, -0.035576339811086655, -0.056857891380786896, -0.041109222918748856, 0.04194597154855728, -0.014062179252505302, -0.02546619437634945, -0.0003705673443619162, -0.07027479261159897, 0.032497506588697433, -0.0315508171916008, -0.025552917271852493, -0.0058953710831701756, 0.026980267837643623, 0.009563306346535683, 0.0437212698161602, -0.006039268337190151, -0.046651873737573624, 0.009084689430892467, 0.0021931109949946404, -0.0740378126502037, 0.04229312762618065, 0.023972656577825546, 0.09772948920726776, -0.06795216351747513, -0.07618780434131622, 0.013200968503952026, 0.027165161445736885, -0.043818868696689606, 0.0006541915354318917, 0.026146888732910156, -0.016893619671463966, -0.04933197796344757, 0.02160590887069702, 0.06600122898817062, -0.056591473519802094, -0.010089737363159657, 0.040859710425138474, 0.015550108626484871, 0.05600905418395996, -0.028581181541085243, -0.024174237623810768, 0.020329486578702927, -0.0024019554257392883, -0.028038226068019867, 0.047673314809799194, -0.0049893357791006565, -0.03385024517774582, -0.034533318132162094, -0.05083804205060005, 0.02383054420351982, 0.07227011770009995, -0.01715429127216339, -0.02728245034813881, -0.02917894721031189, 0.03245920687913895, 0.06687412410974503, 0.021045289933681488, -0.017013557255268097, 0.028251325711607933, 0.0585738942027092, 0.044256001710891724, -0.029678625985980034, 0.07201841473579407, 0.019868409261107445, -0.048762448132038116, -0.014167279936373234, -0.001789859845302999, 0.012595687992870808, -0.03859461098909378, 0.012243762612342834, 0.039849571883678436, -0.04697047173976898, -0.053412064909935, 0.009517310187220573, 0.04706321656703949, 0.014361918903887272, -0.004112563095986843, -0.012799608521163464, -0.0359007865190506, -0.01838533952832222, 0.034196507185697556, -0.004230691585689783, 0.007720836903899908, -0.03921179845929146, -0.04186933860182762, 0.01383852120488882, 0.014992456883192062, 0.031495437026023865, 0.0575651079416275, -0.040263380855321884, 0.07255588471889496, -0.05116282030940056, -0.0019965197425335646, -0.03610779345035553, -0.042447131127119064, -0.008293264545500278, 0.06139899790287018, 0.03340775892138481, 0.06611844897270203, -0.020132848992943764, -0.036516789346933365, 0.010870479978621006, 0.05715443938970566, 0.06418917328119278, 0.008139272220432758, -0.010127004235982895, 0.011594586074352264, 0.032898787409067154, 0.06755398958921432, -0.04110565781593323, -0.024157129228115082, 0.011021233163774014, 0.03608304634690285, -0.03621287643909454, -0.012676049955189228, -0.01526535302400589, 0.005277005955576897, -0.05685829743742943, -0.0878279060125351, 0.08374642580747604, 0.03850505128502846, 0.007793586701154709, 0.03317153826355934, -0.01495999377220869, -0.005403769668191671, 0.04102650657296181, -0.002229702426120639, 0.00484285457059741, -0.037903476506471634, 0.0014976094244048, 0.002303516259416938, 0.04340445622801781, -0.060537442564964294, 0.044463250786066055, 0.020892323926091194, 0.025929752737283707, 0.055310893803834915, -0.04352919012308121, 0.05655399709939957, 0.016301030293107033, 0.026395754888653755, -0.0041122338734567165, 0.02639380842447281, 0.020595010370016098, 0.038054849952459335, 0.044281478971242905, -0.012754594907164574, 0.05881446599960327, 0.019906507804989815, 0.029677381739020348, 0.06872089207172394, 0.019289253279566765, 0.006316309794783592, 0.009582352824509144, 0.05117129534482956, 0.017369655892252922, -0.0019408015068620443, 0.05594868212938309, -0.055130962282419205, 0.015448179095983505, -0.016562769189476967, 0.0456526055932045, 0.012269624508917332, -0.01847025938332081, 0.05287333205342293, 0.02369663678109646, -0.03566817566752434, -0.002603404223918915, -0.02442346327006817, -0.010358717292547226, 0.03906664997339249, 0.0032287915237247944, -0.009006091393530369, 0.006802121177315712, -0.03981504961848259, 0.03797932341694832, -0.07506246119737625, -0.0375543013215065, 0.018641017377376556, -0.06453393399715424, -0.0002716608578339219, -0.07399609684944153, -0.04759401082992554, -0.054100796580314636, -0.0040380945429205894, 0.0657435804605484, 0.02854815311729908, 0.02576955407857895, 0.004758080933243036, 0.013969674706459045, -0.07816515117883682, -0.03278065100312233, -0.047212012112140656, -0.05069632828235626, -0.0212335754185915, -0.07393965870141983, 0.03306480124592781, 0.019385168328881264, 0.0517495758831501, 0.006057419814169407, -0.027299892157316208, -0.04985683038830757, -0.006574127823114395, 0.048904482275247574, 0.015953483060002327, -0.049235206097364426, -0.030128389596939087, 0.02146616391837597, 0.0050644828006625175, 0.012663581408560276, -0.01733360067009926, -0.023678548634052277, 0.07626662403345108, 0.07676496356725693, 0.0014761857455596328, 0.003414144506677985, -0.033572617918252945, -0.03521396592259407, -0.029877614229917526, -0.0068266079761087894, -0.025291550904512405, 0.003112196922302246, -0.008896208368241787, -0.05046244338154793, -0.03344130516052246, -0.029683323577046394, -0.0238442812114954, -0.015150950290262699, 0.023514455184340477, 0.029552098363637924, 0.038514818996191025, 0.031844690442085266, 0.0251394622027874, -0.04109698906540871, -0.025996560230851173, 0.05342227965593338, -0.004988116677850485, 0.023654412478208542, -0.08820435404777527, -0.04098079726099968, 0.03690801188349724, 0.025040974840521812, -0.025295034050941467, -0.018638160079717636, 0.07007797807455063, 0.054902493953704834, -0.023406488820910454, -0.003130550729110837, -0.02280157245695591, 0.005574306473135948, -0.016858810558915138, -0.020095132291316986, -0.010078908875584602, -0.03473573923110962, -0.0025615824852138758, -0.05167495086789131, 0.016028104349970818, -0.05003790929913521, -0.05364479124546051, -0.009687419049441814, 0.031209006905555725, 0.03323409706354141, -0.006248983088880777, -0.017445888370275497, -0.007785213645547628, -0.047738995403051376, -0.03311117738485336, 0.004728871397674084, -0.020485686138272285, 0.012399929575622082, 0.051047466695308685, 0.02476012520492077, -0.011564424261450768, 0.031052207574248314, 0.0431707464158535, 0.05837017297744751, 0.03010079450905323, -0.032971810549497604, 0.019021987915039062, -0.01880568265914917, 0.02229468710720539, -0.013874448835849762, -0.030954793095588684, -0.04444175213575363, -0.08530104905366898, -0.02107296884059906, -0.004988242406398058, -0.016121920198202133, 0.016088005155324936, 0.0246888417750597, -0.02137468196451664, -0.037318091839551926, -0.01924522966146469, 0.03518904745578766, 0.04267503693699837, -0.05834085866808891, 0.06803065538406372, -0.004056971985846758, 0.04477459192276001, -0.04172271117568016, 0.017426786944270134, -0.028925824910402298, -0.007827553898096085, -0.02667141892015934, 0.06663750857114792, 0.029331546276807785, 0.056962985545396805, 0.054661352187395096, 0.02551320567727089, -0.0375913605093956, 0.05932836979627609, 0.02789645455777645, -0.03128517046570778, -0.04870707169175148, 0.003281498095020652, 0.003094472223892808, -0.03719918057322502, -0.0010636679362505674, -0.04444252327084541, 0.0009102693875320256, 0.03234178200364113, -0.002182790543884039, -0.014348036609590054, -0.0010023952927440405, -0.03372131288051605, -0.032540660351514816, -0.050924066454172134, -0.049845676869153976, 0.020436037331819534, -0.013019127771258354, 0.033036280423402786, 0.035901989787817, 0.01894836127758026, 0.04205484688282013, 0.03646112233400345, -0.014886409044265747, -0.05164680257439613, 0.04711174592375755, 0.050079748034477234, -0.03595321625471115, -0.05485610291361809, -0.039295654743909836, 0.03731650486588478, 0.05571543425321579, -0.030704857781529427, -0.0772661417722702, 0.01886162720620632, 0.0650765523314476, -0.03546305000782013, 0.07253366708755493, -0.02276167832314968, 0.026698756963014603, 0.036948394030332565, 0.009997498244047165, 0.040155079215765, -0.059823859483003616, 0.030678564682602882, 0.012987013906240463, 0.012722979299724102, -0.04001731798052788, -0.03195285052061081, -0.06017420440912247, 0.03389985114336014, 0.04153016582131386, 0.04144640266895294, 0.02385486476123333, -0.021783268079161644, -0.05102138966321945, -0.016807448118925095, 0.060000788420438766, -0.04473559185862541, 0.03840721771121025, 0.03840723633766174, 0.06157418712973595, -0.04713573306798935, -0.028009355068206787, 0.0009741593967191875, 0.007411705330014229, 0.024438461288809776, 0.0009551310213282704, -0.008417352102696896, -0.01999972201883793, 0.013287805020809174, -0.025777656584978104, -0.024617871269583702, -0.0640610009431839, 0.004797790665179491, -0.016580820083618164, -0.029664285480976105, 0.04921917989850044, 0.010739298537373543, 0.03908485174179077, 0.046920791268348694, -0.012476467527449131, 0.01787407509982586, -0.03909919410943985, 0.006185984238982201, -0.03148367628455162, -0.03103507310152054, -0.02707257680594921, -0.06399539113044739, 0.0003587016835808754, -0.034989431500434875, -0.0470619797706604, -0.0537850596010685, -0.0054378570057451725, 0.028012095019221306, -0.013414387591183186, -0.0002818881184794009, -0.018606359139084816, 0.035099294036626816, -0.03586035221815109, -0.010595453903079033, -0.028246229514479637, -0.028987595811486244, -0.05543382093310356, -0.053705986589193344, 0.011768294498324394, 0.023118842393159866, 0.04035530984401703, 0.00234290212392807, 0.002898194594308734, 0.0425601489841938, 0.005825739353895187, -0.022172972559928894, 0.029615147039294243, -0.01641741581261158, -0.06806183606386185, -0.045530542731285095, 0.009377969428896904, 0.0003696185303851962, 0.044233884662389755, -0.025926966220140457, 0.05278788506984711, 0.007277877535670996, -0.05008760839700699, -0.04188433662056923, 0.013079795986413956, 0.05591238662600517, -0.05822942778468132, -0.030672842636704445, -0.0017227856442332268, -0.03986479341983795, 0.02118230052292347, -0.020445477217435837, 0.005950507707893848, -0.002642955631017685, 0.02548576518893242, 0.03719770908355713, -0.004300279077142477, -0.03497462719678879, 0.01032460667192936, -0.02685650810599327, 0.024345586076378822, -0.06359188258647919, 0.03659510985016823, -0.04379555955529213, -0.009178685955703259, -0.0023828842677176, 0.006467493250966072, -0.05340690165758133, 0.04946469888091087, -0.005378585308790207, -0.0035924583207815886, -0.007992174476385117, -0.011667796410620213, -0.045700591057538986, 0.03942849114537239, -0.010860498063266277, 0.022409673780202866, -0.0564800500869751, 0.06170258671045303, -0.05266554653644562, 0.005182220600545406, 0.007032758556306362, 0.0021165625657886267, -0.026334529742598534, -0.01600312441587448, -0.002399186370894313, -0.060995589941740036, 0.01765434443950653, 0.014312583953142166, 0.008883456699550152, 0.035095009952783585, -0.01502592209726572, 0.01807411015033722, -0.0050378949381411076, -0.06108983978629112, -0.04396980628371239, 0.009839089587330818, 0.005536080803722143, -0.03504810482263565, 0.04838661104440689, 0.032548874616622925, -0.05668893828988075, -0.0324331633746624, 0.053415697067976, 0.039855919778347015, 0.03057614341378212, 0.00878317840397358, 0.04123951867222786, 0.024184467270970345, 0.05271477252244949, -0.022900156676769257, -0.017635606229305267, 0.009444760158658028, -0.03242269530892372, 0.0031570452265441418, -0.010480731725692749, -0.006506638135761023, 0.004867125768214464, -0.03748851642012596, -0.035067204385995865, 0.05785972625017166, 0.0043425168842077255, 0.0067067863419651985, 0.016313867643475533, -0.04271033778786659, 0.007985042408108711, -0.0025760645512491465, -0.06628619879484177, -0.018744947388768196, 0.01147033367305994, -0.04023684933781624, 0.05929282680153847, -0.009494621306657791, 0.0035983198322355747, 0.04028700664639473, 0.01444652583450079, -0.010376235470175743, 0.037195514887571335, -0.008084256201982498, 0.042173124849796295, 0.015989260748028755, -0.043824777007102966, 0.007886390201747417, -0.037900108844041824, 0.07295650243759155, -0.059156522154808044, 0.04211325943470001, 0.05103139579296112, -0.006952762603759766, -0.0003305581340100616, -0.03859616070985794, -0.06542746722698212, 0.015440710820257664, -0.05817925184965134, 0.07409409433603287, 0.004576466046273708, -0.07113060355186462, 0.07181396335363388, 0.026340795680880547, -0.10297341644763947, 0.03737733140587807, 0.04728120192885399, -0.004601938184350729, 0.016565490514039993, 0.027247313410043716, -0.04145166650414467, 0.019135497510433197, -0.01612027920782566, 0.040120821446180344, -0.04775316268205643, -0.014143344014883041, -0.00488429656252265, -0.04328096657991409, -0.0219282153993845, 0.030534017831087112, -0.02591692842543125, -0.016010025516152382, 0.010950240306556225, -0.05009221285581589, -0.031257033348083496, 0.002467525191605091, 0.013355591334402561, -0.031023461371660233, 0.006199339870363474, -0.02559177204966545, 0.020163102075457573, 0.020467275753617287, 0.004556369502097368, -0.0416768416762352, -0.0015858171973377466, 0.015015794895589352, -0.05511178821325302, -0.034988485276699066, 0.038879405707120895, -0.0007674336666241288, -0.01028156466782093, 0.03182987868785858, 0.01847347989678383, 0.02738131769001484, 0.0041479067876935005, -0.03222525119781494, 0.027990812435746193, -0.07847616821527481, -0.007742980029433966, 0.0068174246698617935, 0.047555070370435715, 0.015272514894604683, 0.0036234271246939898, 0.043887533247470856, 0.031551532447338104, 0.004383972845971584, -0.009191000834107399, -0.01832764223217964, -0.048317793756723404, 0.022650014609098434, -0.030713748186826706, 0.005716038402169943, 0.011348686181008816, -0.0522657185792923, -0.042038094252347946, 0.00558012118563056, 0.003085481468588114, 0.0068456497974693775, -0.031139789149165154, -0.001020836178213358, 0.08265454322099686, -0.019502608105540276, -0.03845483809709549, -0.06896431744098663, -0.0350799560546875, -0.034577421844005585, 0.05271507799625397, 0.0281925480812788, -0.04581087827682495, -0.005819679703563452, -0.04800810292363167, -0.030201036483049393, 0.047234103083610535, 0.022700510919094086, -0.025126079097390175, 0.04993076249957085, 0.04867664352059364, -0.03685582056641579, 0.04123794287443161, 0.021543478593230247, -0.024543359875679016, 0.05948345363140106, 0.0029503314290195704, 0.020020991563796997, 0.052411023527383804, 0.037933945655822754, -0.014155155047774315, -0.02631167694926262, -0.05386055260896683, -0.041443996131420135, -0.0371762178838253, -0.008444981649518013, 0.055634960532188416 ]
Amirosein/distilbert_v1
[ "pytorch", "distilbert", "fill-mask", "transformers", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "DistilBertForMaskedLM" ], "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 } } }
6
null
--- language: - ru - en --- ## EnDR-BERT EnDR-BERT - Multilingual, Cased, which pretrained on the english collection of consumer comments on drug administration from [2]. Pre-training was based on the [original BERT code](https://github.com/google-research/bert) provided by Google. In particular, Multi-BERT was for used for initialization and all the parameters are the same as in Multi-BERT. Training details are described in our paper. \ link: https://yadi.sk/d/-PTn0xhk1PqvgQ ## Citing & Authors If you find this repository helpful, feel free to cite our publication: [1] Tutubalina E, Alimova I, Miftahutdinov Z, et al. The Russian Drug Reaction Corpus and Neural Models for Drug Reactions and Effectiveness Detection in User Reviews.//Bioinformatics. - 2020. preprint: https://arxiv.org/abs/2004.03659 ``` @article{10.1093/bioinformatics/btaa675, author = {Tutubalina, Elena and Alimova, Ilseyar and Miftahutdinov, Zulfat and Sakhovskiy, Andrey and Malykh, Valentin and Nikolenko, Sergey}, title = "{The Russian Drug Reaction Corpus and Neural Models for Drug Reactions and Effectiveness Detection in User Reviews}", journal = {Bioinformatics}, year = {2020}, month = {07}, issn = {1367-4803}, doi = {10.1093/bioinformatics/btaa675}, url = {https://doi.org/10.1093/bioinformatics/btaa675}, note = {btaa675}, eprint = {https://academic.oup.com/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btaa675/33539752/btaa675.pdf}, } ``` [2] Tutubalina, EV and Miftahutdinov, Z Sh and Nugmanov, RI and Madzhidov, TI and Nikolenko, SI and Alimova, IS and Tropsha, AE Using semantic analysis of texts for the identification of drugs with similar therapeutic effects.//Russian Chemical Bulletin. – 2017. – Т. 66. – №. 11. – С. 2180-2189. [link to paper](https://www.researchgate.net/profile/Elena_Tutubalina/publication/323751823_Using_semantic_analysis_of_texts_for_the_identification_of_drugs_with_similar_therapeutic_effects/links/5bf7cfc3299bf1a0202cbc1f/Using-semantic-analysis-of-texts-for-the-identification-of-drugs-with-similar-therapeutic-effects.pdf) ``` @article{tutubalina2017using, title={Using semantic analysis of texts for the identification of drugs with similar therapeutic effects}, author={Tutubalina, EV and Miftahutdinov, Z Sh and Nugmanov, RI and Madzhidov, TI and Nikolenko, SI and Alimova, IS and Tropsha, AE}, journal={Russian Chemical Bulletin}, volume={66}, number={11}, pages={2180--2189}, year={2017}, publisher={Springer} } ```
[ -0.00993719045072794, 0.0015155533328652382, 0.002698515774682164, 0.0588076114654541, 0.0183950737118721, 0.05383146554231644, -0.02905166894197464, -0.023389006033539772, -0.029068542644381523, 0.0377812460064888, 0.03699110075831413, -0.01725867949426174, 0.0036039927508682013, 0.0322384350001812, -0.04932541772723198, -0.02310439758002758, -0.03795424848794937, 0.0016398095758631825, -0.03238334506750107, -0.02690529264509678, 0.006336321588605642, 0.020238960161805153, -0.008571214973926544, 0.027512935921549797, 0.023314643651247025, 0.018801184371113777, -0.012536897324025631, 0.03432079032063484, 0.0019081088248640299, -0.06002847105264664, 0.0031917570158839226, -0.021955108270049095, -0.0443306565284729, -0.022023923695087433, -0.0072502573020756245, -0.012999702244997025, 0.012768813408911228, 0.00177695881575346, 0.027970289811491966, 0.013992526568472385, -0.009288940578699112, -0.006928102113306522, 0.01056369487196207, -0.039735522121191025, 0.00925119686871767, 0.01257267501205206, -0.05895490199327469, -0.017773054540157318, 0.032365068793296814, -0.05760232359170914, -0.042310960590839386, -0.06705693155527115, -0.025339903309941292, 0.019714338704943657, -0.0033537899143993855, -0.030878599733114243, -0.025210710242390633, 0.014410561881959438, 0.034550122916698456, -0.03011666238307953, -0.06431037932634354, 0.004510580562055111, -0.07722639292478561, 0.004009335767477751, 0.01733759604394436, -0.03741651028394699, 0.006856666412204504, -0.051328063011169434, 0.03702075406908989, -0.016791166737675667, 0.05214565247297287, -0.03342115506529808, 0.042105019092559814, -0.05438992753624916, -0.03196580708026886, 0.001037002308294177, 0.044397879391908646, 0.029358388856053352, -0.01581239514052868, 0.01000411156564951, 0.015294602140784264, -0.016226140782237053, 0.0643998309969902, -0.045572228729724884, -0.023609114810824394, 0.046615149825811386, -0.03626484051346779, -0.012164771556854248, -0.014498847536742687, 0.0324864536523819, -0.034990306943655014, -0.0319548137485981, -0.008569956757128239, 0.000681744480971247, -0.018421892076730728, 0.03496970608830452, 0.020189525559544563, -0.042227111756801605, 0.023456739261746407, 0.023265976458787918, 0.03966309130191803, 0.04220886155962944, -0.017095116898417473, 0.056617774069309235, -0.02867301180958748, 0.0050365314818918705, -0.010821744799613953, -0.01924261264503002, -0.05250954255461693, 0.045856501907110214, 0.03435962647199631, -0.03577554598450661, -0.03634802624583244, 0.027656491845846176, -0.01898275315761566, -0.010805008932948112, 0.057678595185279846, -0.034811630845069885, -0.02822147123515606, -0.040720950812101364, 0.01860947720706463, 0.006708851549774408, 0.004814404994249344, 0.016065165400505066, -0.023226423189044, 0.005386427976191044, -0.04726660996675491, -0.01577967219054699, 0.018017340451478958, 0.024635285139083862, -0.0121262576431036, 0.033970605581998825, 0.037100400775671005, -0.06142468750476837, 0.008117800578474998, 0.022579826414585114, -0.07386047393083572, 0.03647979721426964, 0.04096846282482147, 0.12857285141944885, -0.06657899916172028, -0.04012671858072281, 0.02202312834560871, 0.02957039140164852, -0.007857897318899632, -0.0212507713586092, 0.019896673038601875, -0.014419392682611942, -0.026524128392338753, -0.014160910621285439, 0.023725904524326324, -0.05192487686872482, -0.04535958915948868, 0.04342947155237198, -0.014047537930309772, 0.05297939106822014, -0.023983679711818695, -0.012595649808645248, -0.027203906327486038, -0.0193954948335886, -0.015556786209344864, 0.03763138875365257, 0.024498343467712402, -0.007620319724082947, -0.04944012314081192, -0.05294903367757797, 0.002855873666703701, 0.08031809329986572, 0.032789673656225204, -0.03454718366265297, -0.03784210979938507, -0.0005214227712713182, 0.052265558391809464, 0.030592724680900574, -0.031043054535984993, 0.04111132398247719, 0.054396696388721466, 0.033943139016628265, 0.021519696339964867, 0.05019686371088028, 0.00017868801660370082, -0.06732704490423203, -0.013795530423521996, 0.009620053693652153, 0.00593433016911149, -0.02257719822227955, 0.004686934407800436, 0.023403607308864594, 0.00964611116796732, -0.01599152572453022, -0.04493322595953941, 0.04628982022404671, -0.026481524109840393, -0.024576550349593163, 0.018756771460175514, 0.0023327749222517014, -0.04087447002530098, 0.0657050833106041, -0.004698178265243769, 0.020440828055143356, -0.010795539245009422, -0.023080941289663315, 0.020755987614393234, -0.004846563097089529, 0.026257306337356567, 0.05247434973716736, -0.005588228348642588, 0.08514760434627533, -0.04366341233253479, -0.010892748832702637, -0.036610618233680725, -0.05033000186085701, -0.006131274159997702, 0.04226367175579071, 0.047081612050533295, 0.06088763847947121, -0.036725446581840515, -0.04006551206111908, 0.022199522703886032, 0.06090930849313736, 0.08185631036758423, 0.01789424754679203, 0.002545645460486412, 0.004378830548375845, 0.012314796447753906, 0.04399901628494263, -0.06892131268978119, -0.04812150448560715, 0.017322350293397903, 0.03175434097647667, -0.01963682845234871, 0.0052551510743796825, -0.027420038357377052, 0.05229627713561058, -0.020498381927609444, -0.05134191736578941, 0.07687187194824219, 0.025420356541872025, 0.012840473093092442, 0.03376804664731026, 0.0009910350199788809, -0.0004342788306530565, 0.016791485249996185, 0.03893497586250305, 0.005099182482808828, -0.03325597196817398, 0.014295298606157303, 0.021931372582912445, 0.050009917467832565, -0.04369025304913521, 0.04684179648756981, 0.008361872285604477, 0.004941086284816265, 0.03154858946800232, -0.027337491512298584, 0.023146022111177444, 0.0184128750115633, 0.011323908343911171, -0.01982608251273632, 0.009757871739566326, 0.006205494981259108, 0.015172394923865795, 0.07002779096364975, -0.031046969816088676, 0.061341069638729095, 0.012072736397385597, 0.018999189138412476, 0.10757981240749359, 0.013865943998098373, 0.011668607592582703, 0.03800960257649422, 0.08903694152832031, -0.009060406126081944, 0.003460710169747472, 0.047459926456213, -0.04927094280719757, 0.012916882522404194, -0.05489863082766533, 0.015685567632317543, 0.0008441947866231203, -0.00433768704533577, 0.04997911676764488, 0.024095922708511353, -0.01910255290567875, 0.013759984634816647, 0.015145773999392986, -0.004463775083422661, 0.05592934042215347, -0.003175834659487009, 0.011790156364440918, -0.008486920036375523, -0.06547702848911285, 0.016236647963523865, -0.05734628066420555, -0.0123819625005126, 0.015550870448350906, -0.01924588903784752, -0.002253361279144883, -0.07021759450435638, -0.05912856385111809, -0.07284970581531525, -0.016803070902824402, 0.021115737035870552, 0.012594601139426231, -0.012220246717333794, -0.04719119146466255, 0.023274267092347145, -0.019114647060632706, -0.02125757746398449, -0.036994460970163345, -0.04697741940617561, -0.020779507234692574, -0.09859636425971985, 0.03980541601777077, 0.022601939737796783, 0.04846421256661415, -0.00997684895992279, 0.007851120084524155, 0.005661626812070608, -0.05406314507126808, 0.03651273250579834, 0.05799601972103119, -0.031219052150845528, -0.04480106383562088, 0.007845578715205193, -0.0019283860456198454, 0.013511113822460175, 0.013331376947462559, -0.03443256765604019, 0.07095438241958618, 0.07731734961271286, 0.01638459973037243, -0.007538266479969025, 0.02028903178870678, -0.040382497012615204, -0.06508063524961472, -0.03439665213227272, -0.024779407307505608, -0.012046915479004383, -0.05810552090406418, -0.05362841859459877, -0.03865841031074524, -0.04602895677089691, 0.015358486212790012, -0.003417041851207614, 0.02530139498412609, 0.04430229961872101, 0.04764091223478317, 0.03779011219739914, 0.02418222650885582, -0.008350719697773457, -0.01616206392645836, 0.08171585202217102, 0.010249292477965355, 0.014961195178329945, -0.0657007247209549, -0.014216738753020763, 0.02281300723552704, 0.03968575596809387, -0.0014861656818538904, -0.016943154856562614, 0.06206830218434334, 0.025491507723927498, -0.009172148071229458, 0.0033490487840026617, -0.03482193872332573, -0.01741848886013031, -0.005239441059529781, -0.018126294016838074, -0.015367560088634491, -0.039803169667720795, -0.028024986386299133, -0.006270431447774172, 0.06266319006681442, -0.06516196578741074, -0.046369414776563644, -0.0013597410870715976, 0.020183546468615532, 0.016267839819192886, -0.009484739042818546, -0.039263300597667694, -0.03358425945043564, -0.06673868745565414, -0.022653184831142426, 0.004052986856549978, -0.01247282512485981, 0.0020427301060408354, 0.055294230580329895, 0.018545126542448997, 0.014283768832683563, 0.06505686789751053, 0.0315922312438488, 0.02864108793437481, 0.00310327997431159, -0.06352811306715012, 0.027066370472311974, -0.03040621057152748, 0.026776833459734917, 0.04262496903538704, -0.03712547570466995, -0.04902871698141098, -0.06122822314500809, -0.0038936047349125147, 0.009614037349820137, 0.020998334512114525, -0.027475843206048012, 0.05124871805310249, -0.01082511618733406, -0.0010732285445556045, -0.0320354700088501, 0.033438194543123245, 0.0220499150454998, -0.04869364947080612, 0.053155478090047836, -0.017894897609949112, 0.0530073456466198, -0.033890943974256516, 0.0036461101844906807, -0.04241551086306572, -0.05251156911253929, 0.0014945520088076591, 0.04257964715361595, 0.04790450632572174, 0.05193581059575081, 0.0781913548707962, 0.008514662273228168, -0.040579453110694885, 0.028921661898493767, 0.033158473670482635, -0.03987051174044609, -0.04251260682940483, -0.013203869573771954, -0.004797309171408415, -0.034004513174295425, -0.017301348969340324, -0.030280226841568947, 0.031028881669044495, 0.0397927351295948, 0.01246741134673357, 0.008450914174318314, 0.0018851346103474498, -0.039581120014190674, -0.061560433357954025, -0.08577335625886917, -0.0345035046339035, 0.003577974857762456, 0.0038891909644007683, 0.034648045897483826, 0.026938267052173615, 0.012108853086829185, 0.0668744221329689, 0.0417330302298069, -0.029754871502518654, -0.03537653759121895, 0.00433754688128829, 0.027811218053102493, -0.03580651059746742, -0.06514176726341248, -0.03800453245639801, 0.0377279669046402, 0.027228116989135742, -0.03198787942528725, -0.0841960534453392, 0.01422081422060728, 0.03911617398262024, -0.03256242349743843, 0.06294485926628113, -0.0008266192744486034, 0.03912016749382019, 0.07787627726793289, -0.006565451622009277, -0.005390889942646027, -0.011783280409872532, 0.011797570623457432, -0.023808153346180916, 0.05111868306994438, -0.023919973522424698, -0.05676588788628578, -0.05067047104239464, 0.031677182763814926, 0.0371466726064682, 0.04383159056305885, 0.030548587441444397, -0.02141260728240013, -0.02383004128932953, -0.002476960886269808, 0.04119223728775978, -0.04155530408024788, 0.0038838600739836693, 0.037894874811172485, 0.05231165513396263, -0.057009488344192505, -0.054949235171079636, 0.01284862495958805, -0.0213045384734869, 0.043221574276685715, -0.02133118361234665, -0.039362646639347076, -0.07524687051773071, 0.027044739574193954, -0.040286239236593246, -0.02181529998779297, -0.07243211567401886, 0.02607620693743229, -0.031143682077527046, -0.033714354038238525, 0.02556593343615532, 0.007377265021204948, 0.03324510157108307, 0.05734138563275337, 0.008242095820605755, -0.0009047688217833638, -0.03751081973314285, -0.004081315826624632, -0.02397584728896618, -0.013027363456785679, -0.013196158222854137, -0.018816204741597176, -0.02698662132024765, -0.008577240630984306, -0.034189578145742416, -0.07165264338254929, -0.009590466506779194, 0.02667124569416046, 0.00141197070479393, 0.024387801066040993, -0.022853519767522812, 0.011286677792668343, -0.006867256481200457, -0.027655983343720436, -0.03002147749066353, -0.008278143592178822, -0.06720784306526184, -0.04027465730905533, 0.0029301117174327374, -0.012768572196364403, 0.018502261489629745, 0.012872738763689995, -0.006388580892235041, 0.001074999338015914, 0.012466992251574993, -0.012289606034755707, 0.03985070809721947, -0.025922711938619614, -0.028702497482299805, -0.03071589022874832, 0.007605003658682108, 0.028970157727599144, 0.02577519603073597, 0.014346174895763397, 0.03516201302409172, 0.01911943219602108, -0.036601025611162186, -0.026652418076992035, 0.015993615612387657, -0.008813743479549885, -0.06813277304172516, -0.03599982708692551, 0.0004392791888676584, -0.02799193747341633, 0.047053173184394836, -0.00397174246609211, -0.059223026037216187, 0.03582446649670601, 0.012964174151420593, 0.043517597019672394, 0.019445350393652916, -0.037905823439359665, -0.012897519394755363, -0.00472332863137126, 0.03287798538804054, -0.06783520430326462, 0.05115867033600807, -0.05186771973967552, 0.0177584420889616, -0.02314414642751217, 0.023172583431005478, -0.0761384665966034, 0.04501986876130104, -0.009587550535798073, -0.02208045683801174, -0.002395532326772809, 0.03435849770903587, -0.032643720507621765, 0.02123747579753399, -0.04744222015142441, 0.008695137687027454, -0.011162289418280125, 0.07808825373649597, -0.06743218004703522, -0.010205792263150215, -0.03404466435313225, 0.01764630526304245, -0.04374226555228233, -0.01545308530330658, -0.02173222415149212, -0.04794866964221001, 0.03343185409903526, 0.026538683101534843, 0.04229006543755531, 0.061376482248306274, -0.041197653859853745, -0.01165096741169691, -0.01899966411292553, -0.051568493247032166, -0.04968494176864624, -0.029596546664834023, 0.0159685630351305, -0.004640858620405197, 0.05842458829283714, 0.0355507954955101, -0.039937883615493774, -0.02616874873638153, 0.051413316279649734, 0.005797962192445993, 0.012573721818625927, -0.007192140910774469, -0.0012212101137265563, 0.01694442331790924, 0.030308639630675316, -0.05778922885656357, -0.017926357686519623, 0.027637453749775887, -0.008472342975437641, 0.030259348452091217, -0.022453002631664276, 0.014429034665226936, 0.0037046505603939295, -0.05125280097126961, 0.001563344500027597, 0.06325243413448334, 0.02918594889342785, 0.02077031508088112, 0.01675352081656456, -0.047954194247722626, 0.03933073207736015, 0.0028631791938096285, -0.06076936051249504, 0.00325976824387908, 0.011381343007087708, -0.0312479417771101, 0.0818244069814682, 0.007989483885467052, 0.016287634149193764, 0.06921109557151794, 0.0281542781740427, -0.026584526523947716, 0.03392757847905159, -0.005546646658331156, 0.0020524091087281704, 0.026691481471061707, -0.05027597397565842, -0.012236734852194786, -0.03127420321106911, 0.05822901055216789, -0.06442242115736008, 0.060618795454502106, 0.03533883020281792, -0.010690907947719097, 0.004189200233668089, -0.05534094199538231, -0.013165178708732128, 0.020408794283866882, -0.02788487635552883, 0.07041236758232117, 0.0060970294289290905, -0.07060602307319641, 0.04874638468027115, 0.01667151413857937, -0.1069333478808403, 0.03693587705492973, 0.05294554680585861, 0.017985135316848755, 0.01590333692729473, 0.05622966215014458, -0.04780372977256775, 0.053070761263370514, -0.03415573015809059, 0.03328581526875496, -0.03507485240697861, -0.010707387700676918, 0.026578271761536598, -0.029663845896720886, -0.030510179698467255, 0.030421970412135124, -0.039033155888319016, 0.021665379405021667, 0.032712675631046295, -0.04616169258952141, -0.06319800764322281, 0.01755792275071144, 0.021525943651795387, -0.02995150350034237, -0.021126406267285347, -0.018058598041534424, 0.04909611493349075, 0.03699365258216858, -0.007134967017918825, -0.01737457513809204, -0.027466105297207832, -0.002861236222088337, -0.04568144679069519, -0.03093567304313183, 0.014381222426891327, 0.004368302877992392, -0.02001202665269375, 0.024387149140238762, 0.014470274560153484, 0.007155055180191994, 0.016133543103933334, -0.01273256354033947, -0.0024319833610206842, -0.046030327677726746, -0.0002903287240769714, 0.0292533989995718, 0.01501229777932167, 0.02156870812177658, -0.02407088875770569, 0.03811509907245636, 0.05235152319073677, 0.023813240230083466, -0.0367276705801487, -0.0380617156624794, -0.03025640919804573, 0.002145877806469798, -0.032328058034181595, -0.007842812687158585, -0.00956762209534645, -0.050332631915807724, -0.0422305092215538, -0.02052144519984722, -0.005009558517485857, 0.041068583726882935, -0.035421308130025864, 0.01437605731189251, 0.021114619448781013, -0.008128036744892597, -0.04293479770421982, -0.08837039023637772, -0.048395898193120956, -0.027348270639777184, 0.03600190207362175, 0.0030721216462552547, -0.025761187076568604, 0.002979662036523223, -0.03503197059035301, -0.053294237703084946, 0.036908041685819626, 0.03422634303569794, -0.013991791754961014, 0.06734427064657211, 0.04299043118953705, -0.029287219047546387, -0.004089678637683392, 0.06742626428604126, -0.04930161312222481, 0.04007121920585632, 0.04567568749189377, 0.02185649424791336, 0.014924331568181515, 0.07259399443864822, -0.029044881463050842, -0.005479552783071995, -0.04970960319042206, -0.01744774729013443, -0.029081357643008232, -0.0019031973788514733, 0.0707349181175232 ]
Amirosein/roberta
[ "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 } } }
6
null
--- language: - ru - en --- ## EnRuDR-BERT EnRuDR-BERT - Multilingual, Cased, which pretrained on the raw part of the RuDReC corpus (1.4M reviews) and english collection of consumer comments on drug administration from [2]. Pre-training was based on the [original BERT code](https://github.com/google-research/bert) provided by Google. In particular, Multi-BERT was for used for initialization; vocabulary of Russian subtokens and parameters are the same as in Multi-BERT. Training details are described in our paper. \ link: https://yadi.sk/d/-PTn0xhk1PqvgQ ## Citing & Authors If you find this repository helpful, feel free to cite our publication: [1] Tutubalina E, Alimova I, Miftahutdinov Z, et al. The Russian Drug Reaction Corpus and Neural Models for Drug Reactions and Effectiveness Detection in User Reviews.//Bioinformatics. - 2020. preprint: https://arxiv.org/abs/2004.03659 ``` @article{10.1093/bioinformatics/btaa675, author = {Tutubalina, Elena and Alimova, Ilseyar and Miftahutdinov, Zulfat and Sakhovskiy, Andrey and Malykh, Valentin and Nikolenko, Sergey}, title = "{The Russian Drug Reaction Corpus and Neural Models for Drug Reactions and Effectiveness Detection in User Reviews}", journal = {Bioinformatics}, year = {2020}, month = {07}, issn = {1367-4803}, doi = {10.1093/bioinformatics/btaa675}, url = {https://doi.org/10.1093/bioinformatics/btaa675}, note = {btaa675}, eprint = {https://academic.oup.com/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btaa675/33539752/btaa675.pdf}, } ``` [2] Tutubalina, EV and Miftahutdinov, Z Sh and Nugmanov, RI and Madzhidov, TI and Nikolenko, SI and Alimova, IS and Tropsha, AE Using semantic analysis of texts for the identification of drugs with similar therapeutic effects.//Russian Chemical Bulletin. – 2017. – Т. 66. – №. 11. – С. 2180-2189. [link to paper](https://www.researchgate.net/profile/Elena_Tutubalina/publication/323751823_Using_semantic_analysis_of_texts_for_the_identification_of_drugs_with_similar_therapeutic_effects/links/5bf7cfc3299bf1a0202cbc1f/Using-semantic-analysis-of-texts-for-the-identification-of-drugs-with-similar-therapeutic-effects.pdf) ``` @article{tutubalina2017using, title={Using semantic analysis of texts for the identification of drugs with similar therapeutic effects}, author={Tutubalina, EV and Miftahutdinov, Z Sh and Nugmanov, RI and Madzhidov, TI and Nikolenko, SI and Alimova, IS and Tropsha, AE}, journal={Russian Chemical Bulletin}, volume={66}, number={11}, pages={2180--2189}, year={2017}, publisher={Springer} } ```
[ -0.008128320798277855, -0.0009913153480738401, 0.0004374696873128414, 0.057170506566762924, 0.01873146742582321, 0.05279254540801048, -0.03124435618519783, -0.02914692461490631, -0.03388078138232231, 0.034946590662002563, 0.041029416024684906, -0.012918123044073582, -0.001902078278362751, 0.03379715979099274, -0.04535793513059616, -0.027953749522566795, -0.039281003177165985, 0.002163136377930641, -0.03433059900999069, -0.025265108793973923, 0.0031531949061900377, 0.018502652645111084, -0.01034778356552124, 0.02975749596953392, 0.024474427103996277, 0.021385634317994118, -0.014946434646844864, 0.03502529114484787, 0.006342360749840736, -0.06271999329328537, 0.002101619029417634, -0.02354777418076992, -0.04525938630104065, -0.019769979640841484, -0.0020807981491088867, -0.013251829892396927, 0.01311574038118124, 0.005278791766613722, 0.029744494706392288, 0.01670633815228939, -0.007500106934458017, -0.007474794518202543, 0.013302973471581936, -0.04441659525036812, 0.005134298466145992, 0.009441469796001911, -0.059213269501924515, -0.013441981747746468, 0.03447740152478218, -0.056710004806518555, -0.04014391079545021, -0.06541971117258072, -0.02669813111424446, 0.01863452047109604, -0.0025548834819346666, -0.029622433707118034, -0.024361804127693176, 0.008815834298729897, 0.03231678158044815, -0.034892287105321884, -0.06405636668205261, 0.007589864544570446, -0.07533297687768936, 0.006449607200920582, 0.0187264122068882, -0.03571787104010582, 0.005840943660587072, -0.05028843134641647, 0.037680014967918396, -0.011422492563724518, 0.05171371251344681, -0.03401435911655426, 0.040386080741882324, -0.0560588538646698, -0.030836863443255424, 0.0016967911506071687, 0.040418293327093124, 0.03013330139219761, -0.017010806128382683, 0.008308657445013523, 0.0172004085034132, -0.017800530418753624, 0.06283900141716003, -0.04686659201979637, -0.017311403527855873, 0.04823874682188034, -0.029911234974861145, -0.009327838197350502, -0.015103369019925594, 0.031944457441568375, -0.02926027402281761, -0.03153180330991745, -0.004472342319786549, 0.0020977521780878305, -0.021949920803308487, 0.04017161950469017, 0.023739004507660866, -0.047241322696208954, 0.025724388659000397, 0.021262414753437042, 0.04106198623776436, 0.038643889129161835, -0.017094383016228676, 0.05546841025352478, -0.028093598783016205, 0.002811616053804755, -0.007720674388110638, -0.01644851639866829, -0.05104418843984604, 0.0486847423017025, 0.035558413714170456, -0.03773403540253639, -0.04063216596841812, 0.026354370638728142, -0.024810919538140297, -0.003185089211910963, 0.062210388481616974, -0.04057101905345917, -0.027591601014137268, -0.04367996007204056, 0.01933322474360466, 0.007003210484981537, -0.0003609022533055395, 0.02009432762861252, -0.019578896462917328, 0.007247731555253267, -0.04771491140127182, -0.016412455588579178, 0.01956629566848278, 0.024052757769823074, -0.015718089416623116, 0.03561753034591675, 0.033995844423770905, -0.06179007887840271, 0.006255897227674723, 0.025174027308821678, -0.07507727295160294, 0.03696087747812271, 0.03726345673203468, 0.12754474580287933, -0.06637409329414368, -0.04202605411410332, 0.02551642246544361, 0.029550986364483833, -0.0003748925810214132, -0.018178045749664307, 0.01992463320493698, -0.016086570918560028, -0.033228665590286255, -0.011898577213287354, 0.022030342370271683, -0.049009766429662704, -0.048536524176597595, 0.0444868728518486, -0.018113702535629272, 0.048346277326345444, -0.02102006785571575, -0.006661298219114542, -0.027035528793931007, -0.019507063552737236, -0.013559701852500439, 0.04336399585008621, 0.027199622243642807, -0.0036881824489682913, -0.05151623487472534, -0.052920982241630554, 0.004353678319603205, 0.07892318069934845, 0.036214154213666916, -0.03171387314796448, -0.038775380700826645, -0.001742925145663321, 0.050237949937582016, 0.02989014983177185, -0.027599532157182693, 0.03715311363339424, 0.04988107457756996, 0.030706847086548805, 0.023829385638237, 0.056694913655519485, 0.004303785972297192, -0.06802868098020554, -0.012879920192062855, 0.010912175290286541, 0.008474089205265045, -0.020790111273527145, -0.002750125015154481, 0.028369393199682236, 0.00919492356479168, -0.01507058460265398, -0.04528340697288513, 0.049295805394649506, -0.029135556891560555, -0.02596133016049862, 0.01888609491288662, 0.005440997891128063, -0.037683118134737015, 0.07408329099416733, -0.003918606322258711, 0.017455417662858963, -0.008679119870066643, -0.021427873522043228, 0.017297949641942978, -0.003015391528606415, 0.01970730908215046, 0.05319984257221222, -0.0069616795517504215, 0.08458835631608963, -0.039842527359724045, -0.010011508129537106, -0.03635135665535927, -0.05137396603822708, -0.0030572025571018457, 0.04383289813995361, 0.0505887046456337, 0.05990331619977951, -0.03770483657717705, -0.044703491032123566, 0.016646813601255417, 0.06273389607667923, 0.07982636988162994, 0.021395031362771988, 0.0037657571956515312, -0.00022179962252266705, 0.011783508583903313, 0.04100177809596062, -0.0663885623216629, -0.04561694711446762, 0.018018336966633797, 0.034303706139326096, -0.02013833075761795, 0.009924628771841526, -0.027399223297834396, 0.04919799789786339, -0.018098672851920128, -0.052305128425359726, 0.07613120228052139, 0.020877154543995857, 0.01296002697199583, 0.033222462981939316, -0.0010587385622784495, 0.006445808336138725, 0.015838520601391792, 0.03869089484214783, 0.006383042316883802, -0.032593391835689545, 0.013800108805298805, 0.019279656931757927, 0.05324104055762291, -0.04118785262107849, 0.049200497567653656, 0.0074025047942996025, 0.006933580152690411, 0.034400757402181625, -0.02621125616133213, 0.015795189887285233, 0.02454575151205063, 0.012567593716084957, -0.022103093564510345, 0.011697700247168541, 0.005615378729999065, 0.0187090914696455, 0.07283148914575577, -0.03487592190504074, 0.058750227093696594, 0.011152826249599457, 0.01650490052998066, 0.101544089615345, 0.012496228329837322, 0.01048219669610262, 0.03667580336332321, 0.08456169068813324, -0.006204196717590094, 0.0023025295231491327, 0.05186218023300171, -0.04814258590340614, 0.005928777623921633, -0.05503356084227562, 0.01644437201321125, -0.0054513514041900635, -0.010105116292834282, 0.05174225568771362, 0.022158291190862656, -0.01526232436299324, 0.013379150070250034, 0.01368960365653038, -0.007086460012942553, 0.05206991359591484, 0.0016029630787670612, 0.01109057292342186, -0.009967328980565071, -0.06444840133190155, 0.017438123002648354, -0.06099545583128929, -0.019013304263353348, 0.013885870575904846, -0.017185600474476814, -0.0012146327644586563, -0.0731903612613678, -0.06376069039106369, -0.06368280202150345, -0.022804981097579002, 0.022171951830387115, 0.012794315814971924, -0.006518363021314144, -0.04655555263161659, 0.022552883252501488, -0.015383407473564148, -0.020176377147436142, -0.0359635166823864, -0.04695020243525505, -0.02087503857910633, -0.0954330787062645, 0.045147787779569626, 0.020049892365932465, 0.05185316130518913, -0.004250297788530588, 0.01003355160355568, 0.00569494254887104, -0.049528513103723526, 0.03568166121840477, 0.05602638050913811, -0.03512967750430107, -0.04149026423692703, 0.010429082438349724, 0.00003761015977943316, 0.0121906828135252, 0.015842057764530182, -0.03603280335664749, 0.07006438076496124, 0.08019691705703735, 0.022709384560585022, -0.007253382820636034, 0.02487083710730076, -0.042514681816101074, -0.06167634576559067, -0.029542403295636177, -0.025353314355015755, -0.01627223752439022, -0.0616828016936779, -0.054540809243917465, -0.03504610434174538, -0.04251241683959961, 0.022450467571616173, -0.002993625123053789, 0.02036726102232933, 0.03752584755420685, 0.048757124692201614, 0.035696446895599365, 0.020512063056230545, -0.005143993068486452, -0.013205613009631634, 0.08320135623216629, 0.008652526885271072, 0.014294364489614964, -0.061446577310562134, -0.015713920816779137, 0.02085280790925026, 0.03931751474738121, -0.00017519992252346128, -0.022722521796822548, 0.055835459381341934, 0.025613034144043922, -0.008116628043353558, 0.0017264173366129398, -0.03668638691306114, -0.01734771952033043, -0.003980154637247324, -0.019797049462795258, -0.017707014456391335, -0.03791492059826851, -0.030239958316087723, -0.009736740961670876, 0.06308335810899734, -0.05938195064663887, -0.04404185339808464, -0.0009938996518030763, 0.021906983107328415, 0.014176631346344948, -0.011482113972306252, -0.03670033812522888, -0.032412681728601456, -0.0727246105670929, -0.018596339970827103, 0.0011388041311874986, -0.01605435088276863, 0.0025399201549589634, 0.06276966631412506, 0.022459205240011215, 0.011147534474730492, 0.06910329312086105, 0.025216402485966682, 0.029323510825634003, 0.009491548873484135, -0.06389905512332916, 0.023473668843507767, -0.03647064417600632, 0.023732053115963936, 0.04564829170703888, -0.03512750566005707, -0.05104205012321472, -0.06269477307796478, -0.002400017809122801, 0.010899921879172325, 0.0216269101947546, -0.029356036335229874, 0.04725663736462593, -0.009917384013533592, 0.0008498793467879295, -0.03213280439376831, 0.03431324660778046, 0.023596661165356636, -0.04868192970752716, 0.04905449599027634, -0.015254388563334942, 0.05835035443305969, -0.03278758376836777, 0.002532011130824685, -0.04390956088900566, -0.05233676731586456, -0.000762535200919956, 0.04248454421758652, 0.04895034059882164, 0.04843132197856903, 0.07818027585744858, 0.013429294340312481, -0.04205465689301491, 0.028893031179904938, 0.03728366643190384, -0.03595434129238129, -0.041109077632427216, -0.011366466991603374, -0.006079993210732937, -0.032877322286367416, -0.01682141050696373, -0.03238397836685181, 0.031513236463069916, 0.04812956601381302, 0.010402008891105652, 0.008095476776361465, 0.00400913879275322, -0.03955651819705963, -0.0649937242269516, -0.08278988301753998, -0.03550275042653084, 0.011058944277465343, -0.00048577148118056357, 0.0336809903383255, 0.03359205648303032, 0.01225934736430645, 0.068327397108078, 0.041531920433044434, -0.030603626742959023, -0.03507252037525177, 0.0012774993665516376, 0.03168737515807152, -0.032631248235702515, -0.0671037957072258, -0.03960749879479408, 0.03441059961915016, 0.02230793610215187, -0.0330575555562973, -0.08570852130651474, 0.010815124958753586, 0.0406007245182991, -0.033891212195158005, 0.06385069340467453, 0.002920650178566575, 0.042652539908885956, 0.07417181134223938, -0.009210971184074879, -0.010507907718420029, -0.012885376811027527, 0.017150186002254486, -0.01902247592806816, 0.04903116077184677, -0.01977635733783245, -0.05275924876332283, -0.053310494869947433, 0.02249056100845337, 0.03401733934879303, 0.044634848833084106, 0.029642533510923386, -0.023992549628019333, -0.025079745799303055, -0.002522827126085758, 0.04005294665694237, -0.04653947800397873, 0.008182186633348465, 0.0382319912314415, 0.05287801846861839, -0.05253329128026962, -0.05784377083182335, 0.010023362003266811, -0.020273596048355103, 0.047818247228860855, -0.022645574063062668, -0.03976118937134743, -0.07587429136037827, 0.03092224709689617, -0.03556322306394577, -0.024933556094765663, -0.07059487700462341, 0.0272616446018219, -0.027761533856391907, -0.034109361469745636, 0.029106704518198967, 0.007065208628773689, 0.02613813802599907, 0.056374888867139816, 0.008930985815823078, 0.001196722500026226, -0.03866280987858772, -0.0018057801062241197, -0.028661297634243965, -0.015050573274493217, -0.010283472016453743, -0.02005166932940483, -0.027199378237128258, -0.009332203306257725, -0.03266094997525215, -0.07308370620012283, -0.00925699807703495, 0.030831309035420418, -0.00279607274569571, 0.028843237087130547, -0.023250669240951538, 0.013310287147760391, -0.00407670671120286, -0.029746584594249725, -0.028508294373750687, -0.01063426025211811, -0.06401289999485016, -0.03668731451034546, 0.004754678811877966, -0.011701960116624832, 0.020637942478060722, 0.008267909288406372, -0.013731585815548897, 0.005007786676287651, 0.012780018150806427, -0.014244494959712029, 0.04143498092889786, -0.02242628112435341, -0.023335754871368408, -0.02836483158171177, 0.008687675930559635, 0.027766620740294456, 0.028004758059978485, 0.007833508774638176, 0.03546922653913498, 0.014977493323385715, -0.033298417925834656, -0.028994794934988022, 0.01834041438996792, -0.009630176238715649, -0.06679661571979523, -0.04111587628722191, -0.0043960860930383205, -0.02329288236796856, 0.046529170125722885, -0.006519027054309845, -0.061329491436481476, 0.03570069000124931, 0.01027366891503334, 0.04150737449526787, 0.020600026473402977, -0.03493330627679825, -0.013210389763116837, -0.003828125772997737, 0.03125765174627304, -0.06477023661136627, 0.050692640244960785, -0.04751114919781685, 0.02078193426132202, -0.02506418526172638, 0.0168759822845459, -0.07327736914157867, 0.04174843430519104, -0.005991329904645681, -0.022432787343859673, -0.0025673697236925364, 0.035394057631492615, -0.03128756582736969, 0.02167491242289543, -0.04788791015744209, 0.012331923469901085, -0.006941243540495634, 0.07533570379018784, -0.07061224430799484, -0.006950458511710167, -0.0350320041179657, 0.018986286595463753, -0.04080694913864136, -0.01769918203353882, -0.02096809633076191, -0.04799392819404602, 0.0300434660166502, 0.03086348995566368, 0.03898406773805618, 0.059145376086235046, -0.03949661925435066, -0.01156710647046566, -0.022236593067646027, -0.05316276103258133, -0.050679560750722885, -0.031662631779909134, 0.009571644477546215, -0.007846414111554623, 0.05341275781393051, 0.035994112491607666, -0.0375414714217186, -0.03328150510787964, 0.052406907081604004, 0.004178049974143505, 0.013173088431358337, -0.00935264304280281, 0.0016120100626721978, 0.019000278785824776, 0.03146374225616455, -0.05812131240963936, -0.01195676252245903, 0.03264699503779411, -0.0025289375334978104, 0.034842461347579956, -0.02777538076043129, 0.016969984397292137, -0.004028855357319117, -0.05661466717720032, -0.006465306039899588, 0.06719914823770523, 0.028427081182599068, 0.02352691814303398, 0.023341184481978416, -0.04948647320270538, 0.03813071548938751, 0.0026653793174773455, -0.0581398569047451, 0.005098072811961174, 0.0075341868214309216, -0.031420908868312836, 0.07665611058473587, 0.004486855585128069, 0.02120843715965748, 0.06751815229654312, 0.03225623443722725, -0.027640074491500854, 0.03498627990484238, -0.00843394361436367, -0.0010309923673048615, 0.025836626067757607, -0.04771287739276886, -0.015511585399508476, -0.03419291600584984, 0.056656163185834885, -0.06569316983222961, 0.05533497780561447, 0.03706769272685051, -0.008771765977144241, 0.005736028775572777, -0.05303697660565376, -0.010711709037423134, 0.021516861394047737, -0.030548736453056335, 0.06739737838506699, 0.006856770720332861, -0.07537620514631271, 0.048713319003582, 0.01613108068704605, -0.10762034356594086, 0.03192582353949547, 0.04633577540516853, 0.016233079135417938, 0.01841646246612072, 0.057801298797130585, -0.04929046332836151, 0.05347409471869469, -0.03185063600540161, 0.03444206714630127, -0.04097716137766838, -0.008494077250361443, 0.026468856260180473, -0.024076376110315323, -0.03331443667411804, 0.028789324685931206, -0.04362178221344948, 0.028603654354810715, 0.03117425926029682, -0.04905499145388603, -0.0672498568892479, 0.02131575159728527, 0.025149812921881676, -0.02863280475139618, -0.020749088376760483, -0.01884453184902668, 0.04812078922986984, 0.03491843864321709, -0.008781243115663528, -0.017562175169587135, -0.02510041929781437, -0.001674368162639439, -0.048285726457834244, -0.030620556324720383, 0.012609115801751614, 0.006183943711221218, -0.021784542128443718, 0.03097672015428543, 0.018821803852915764, 0.002765968441963196, 0.015495375730097294, -0.016026856377720833, -0.004144533537328243, -0.045400578528642654, 0.00045284698717296124, 0.024661583825945854, 0.018405528739094734, 0.02343333512544632, -0.02207988314330578, 0.03590616583824158, 0.05258224532008171, 0.022424645721912384, -0.03754548355937004, -0.0338301919400692, -0.030211256816983223, 0.0006780215189792216, -0.026266640052199364, -0.0031952012795954943, -0.011096944101154804, -0.04972335696220398, -0.04500404745340347, -0.02180929109454155, -0.0034886503126472235, 0.04152239114046097, -0.04231785610318184, 0.013184355571866035, 0.017559876665472984, -0.011780153028666973, -0.04100021719932556, -0.08572152256965637, -0.04881676658987999, -0.025128139182925224, 0.03919082507491112, 0.0044103446416556835, -0.022355586290359497, -0.003786074463278055, -0.03574226051568985, -0.05628446117043495, 0.03126261383295059, 0.03732497617602348, -0.014499961398541927, 0.07367990165948868, 0.04521922022104263, -0.03232801705598831, -0.0060853296890854836, 0.06574147194623947, -0.04546484723687172, 0.04275687411427498, 0.044787097722291946, 0.020318975672125816, 0.016389915719628334, 0.0695231482386589, -0.02338114194571972, -0.010122778825461864, -0.04859882593154907, -0.01760650984942913, -0.02621631696820259, -0.006661234889179468, 0.06717179715633392 ]
Amit29/t5-small-finetuned-xsum
[]
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
2020-07-09T14:44:58Z
## RuDR-BERT RuDR-BERT - Multilingual, Cased, which pretrained on the raw part of the RuDReC corpus (1.4M reviews). Pre-training was based on the [original BERT code](https://github.com/google-research/bert) provided by Google. In particular, Multi-BERT was for used for initialization; vocabulary of Russian subtokens and parameters are the same as in Multi-BERT. Training details are described in our paper. \ link: https://yadi.sk/d/-PTn0xhk1PqvgQ ## Citing & Authors If you find this repository helpful, feel free to cite our publication: [1] Tutubalina E, Alimova I, Miftahutdinov Z, et al. The Russian Drug Reaction Corpus and Neural Models for Drug Reactions and Effectiveness Detection in User Reviews. preprint: https://arxiv.org/abs/2004.03659 ``` @article{10.1093/bioinformatics/btaa675, author = {Tutubalina, Elena and Alimova, Ilseyar and Miftahutdinov, Zulfat and Sakhovskiy, Andrey and Malykh, Valentin and Nikolenko, Sergey}, title = "{The Russian Drug Reaction Corpus and Neural Models for Drug Reactions and Effectiveness Detection in User Reviews}", journal = {Bioinformatics}, year = {2020}, month = {07}, issn = {1367-4803}, doi = {10.1093/bioinformatics/btaa675}, url = {https://doi.org/10.1093/bioinformatics/btaa675}, note = {btaa675}, eprint = {https://academic.oup.com/bioinformatics/advance-article-pdf/doi/10.1093/bioinformatics/btaa675/33539752/btaa675.pdf}, } ``` [2] Tutubalina, EV and Miftahutdinov, Z Sh and Nugmanov, RI and Madzhidov, TI and Nikolenko, SI and Alimova, IS and Tropsha, AE Using semantic analysis of texts for the identification of drugs with similar therapeutic effects. [link to paper](https://www.researchgate.net/profile/Elena_Tutubalina/publication/323751823_Using_semantic_analysis_of_texts_for_the_identification_of_drugs_with_similar_therapeutic_effects/links/5bf7cfc3299bf1a0202cbc1f/Using-semantic-analysis-of-texts-for-the-identification-of-drugs-with-similar-therapeutic-effects.pdf) ``` @article{tutubalina2017using, title={Using semantic analysis of texts for the identification of drugs with similar therapeutic effects}, author={Tutubalina, EV and Miftahutdinov, Z Sh and Nugmanov, RI and Madzhidov, TI and Nikolenko, SI and Alimova, IS and Tropsha, AE}, journal={Russian Chemical Bulletin}, volume={66}, number={11}, pages={2180--2189}, year={2017}, publisher={Springer} } ```
[ -0.007563106715679169, -0.004824533127248287, 0.000038659149140585214, 0.05944770947098732, 0.016299929469823837, 0.04886171221733093, -0.031892940402030945, -0.03740192577242851, -0.03467268869280815, 0.03636502847075462, 0.04009756073355675, -0.012051555328071117, -0.002567671239376068, 0.040172699838876724, -0.040568865835666656, -0.032112814486026764, -0.030470922589302063, 0.005694273859262466, -0.037608638405799866, -0.026439309120178223, 0.010537637397646904, 0.017710983753204346, -0.0064766244031488895, 0.032225679606199265, 0.029177090153098106, 0.017066868022084236, -0.011745715513825417, 0.026536542922258377, 0.00900703202933073, -0.06243100389838219, 0.0054410407319664955, -0.022124668583273888, -0.049354344606399536, -0.019263114780187607, -0.003197569167241454, -0.01293798815459013, 0.010224979370832443, 0.0018834788352251053, 0.022175287827849388, 0.020877353847026825, -0.010298599489033222, -0.004401220008730888, 0.013309567235410213, -0.04884568601846695, 0.007077282294631004, 0.00521303853020072, -0.06110439449548721, -0.01362520083785057, 0.03911292180418968, -0.05886353179812431, -0.03939388692378998, -0.07060042768716812, -0.03470255434513092, 0.022091252729296684, 0.0031994429882615805, -0.027982939034700394, -0.023134710267186165, 0.007234523538500071, 0.03458824008703232, -0.03218155354261398, -0.06567834317684174, 0.003117295680567622, -0.07390137016773224, 0.007428754586726427, 0.023597953841090202, -0.03247540071606636, 0.005987498909235001, -0.04991001635789871, 0.03545444458723068, -0.018912363797426224, 0.046668339520692825, -0.02844640053808689, 0.03928494080901146, -0.05422119423747063, -0.03219731152057648, 0.0022387683857232332, 0.03694341704249382, 0.04257257655262947, -0.016981203109025955, 0.005348742473870516, 0.016153540462255478, -0.013854436576366425, 0.05924464017152786, -0.04549684002995491, -0.010282815434038639, 0.04902411997318268, -0.02835822105407715, -0.003801447106525302, -0.013801544904708862, 0.026187913492321968, -0.028918389230966568, -0.02540440857410431, -0.008999410085380077, 0.001995296683162451, -0.03199212625622749, 0.03799936920404434, 0.025328366085886955, -0.053043317049741745, 0.025615807622671127, 0.01678125187754631, 0.03516664728522301, 0.03894488140940666, -0.01828240230679512, 0.046036940068006516, -0.02831597812473774, -0.003332050982862711, -0.0049215746112167835, -0.021229635924100876, -0.04950394481420517, 0.04547171667218208, 0.03761832043528557, -0.03921864181756973, -0.04492040351033211, 0.02292693592607975, -0.020361080765724182, 0.004498796537518501, 0.05998454988002777, -0.04418531432747841, -0.024255914613604546, -0.045112695544958115, 0.020670276135206223, 0.00729970121756196, -0.0012628502445295453, 0.02498534694314003, -0.016224028542637825, 0.006108386907726526, -0.05445418134331703, -0.016114313155412674, 0.01648602820932865, 0.028460970148444176, -0.01597742550075054, 0.03462786599993706, 0.04121154174208641, -0.06227511167526245, 0.007622746285051107, 0.029373425990343094, -0.07498283684253693, 0.044966746121644974, 0.04028185084462166, 0.13116542994976044, -0.06902235746383667, -0.04413139820098877, 0.03784995526075363, 0.028363589197397232, 0.007721363566815853, -0.023612648248672485, 0.02007351629436016, -0.018746398389339447, -0.028515078127384186, -0.016962140798568726, 0.025867052376270294, -0.04711594805121422, -0.04590274393558502, 0.042589981108903885, -0.02050812542438507, 0.05264405533671379, -0.01860993169248104, -0.007302253041416407, -0.027319787070155144, -0.02048133872449398, -0.013032766990363598, 0.04350730776786804, 0.0221974179148674, -0.01001785509288311, -0.05204366147518158, -0.04852992668747902, 0.005937541835010052, 0.08375971764326096, 0.03954556584358215, -0.030756745487451553, -0.03750373423099518, -0.004401851911097765, 0.04798382520675659, 0.03277497738599777, -0.02471243590116501, 0.034628935158252716, 0.04510052874684334, 0.024437392130494118, 0.020052535459399223, 0.05415995046496391, 0.002777999499812722, -0.06265492737293243, -0.013493622653186321, 0.010796462185680866, 0.0077067487873137, -0.019626468420028687, 0.0012419407721608877, 0.030537137761712074, 0.0034654890187084675, -0.023642797023057938, -0.038524847477674484, 0.0498003251850605, -0.025550078600645065, -0.026460427790880203, 0.016840090975165367, 0.008311989717185497, -0.030345037579536438, 0.07710649073123932, -0.005768382456153631, 0.012639486230909824, -0.005536971148103476, -0.024489155039191246, 0.012474735267460346, 0.0009129995014518499, 0.020576946437358856, 0.05865573510527611, -0.003956688102334738, 0.08729477226734161, -0.039248909801244736, -0.010492276400327682, -0.04391336068511009, -0.05010625347495079, -0.002797309774905443, 0.042306359857320786, 0.052031971514225006, 0.05592246726155281, -0.037479888647794724, -0.0482739619910717, 0.008221966214478016, 0.05854259803891182, 0.080680251121521, 0.02310890704393387, 0.0013026875676587224, -0.006191082298755646, 0.005988212302327156, 0.045549314469099045, -0.05913739651441574, -0.04284730181097984, 0.01591327041387558, 0.035293783992528915, -0.02111361362040043, 0.012770429253578186, -0.03290519863367081, 0.044154562056064606, -0.020474256947636604, -0.051526736468076706, 0.07475477457046509, 0.019151316955685616, 0.013426304794847965, 0.032971687614917755, -0.005394034553319216, 0.009953882545232773, 0.012505754828453064, 0.039783790707588196, 0.0037412913516163826, -0.028105223551392555, 0.01195644959807396, 0.024372674524784088, 0.05412543565034866, -0.04078075662255287, 0.042330123484134674, 0.009553803130984306, 0.014172917231917381, 0.03206492215394974, -0.026131412014365196, 0.005013148300349712, 0.024992840364575386, 0.015749001875519753, -0.022403478622436523, 0.011293836869299412, 0.0042390055023133755, 0.024153167381882668, 0.06688809394836426, -0.03814387694001198, 0.048128824681043625, 0.014852498658001423, 0.01482579205185175, 0.10050622373819351, 0.012196552008390427, 0.016575828194618225, 0.03285902366042137, 0.08496735990047455, -0.0041875410825014114, 0.0005314454319886863, 0.057344984263181686, -0.045281462371349335, 0.0038167196325957775, -0.055426642298698425, 0.0037333087529987097, -0.004701279569417238, -0.013929920271039009, 0.053236011415719986, 0.02454102411866188, -0.017449824139475822, 0.020698169246315956, 0.022589953616261482, -0.008603773079812527, 0.05453725904226303, -0.00034569736453704536, 0.016407793387770653, -0.005508244503289461, -0.061157867312431335, 0.007116819266229868, -0.06426504254341125, -0.01908237487077713, 0.010303625836968422, -0.00953590590506792, -0.0011702284682542086, -0.08009001612663269, -0.062312234193086624, -0.06550443172454834, -0.029186254367232323, 0.016784388571977615, 0.006245865952223539, -0.010490859858691692, -0.04518279805779457, 0.026829537004232407, -0.015494175255298615, -0.020779363811016083, -0.03864830359816551, -0.04308057576417923, -0.02734103612601757, -0.09213705360889435, 0.04758782684803009, 0.021133633330464363, 0.057439014315605164, 0.003311863401904702, 0.01117010973393917, 0.011020413599908352, -0.05378851294517517, 0.036728635430336, 0.05580988526344299, -0.03364338353276253, -0.037890806794166565, 0.007844670675694942, -0.0026469072327017784, 0.006396743468940258, 0.020676886662840843, -0.037845853716135025, 0.06796486675739288, 0.07953818887472153, 0.02651030942797661, -0.0017506612930446863, 0.03019597753882408, -0.041610993444919586, -0.06544296443462372, -0.03274068608880043, -0.030108701437711716, -0.013613589107990265, -0.07181697338819504, -0.060302555561065674, -0.030511492863297462, -0.039761804044246674, 0.032511044293642044, -0.002840735949575901, 0.01965918019413948, 0.04206167533993721, 0.043841004371643066, 0.037140194326639175, 0.018300648778676987, -0.0009895911207422614, -0.014976895414292812, 0.08815213292837143, 0.011426866054534912, 0.015109595842659473, -0.062009915709495544, -0.015494473278522491, 0.023904381319880486, 0.03721597045660019, 0.006900371052324772, -0.020394327118992805, 0.05823240429162979, 0.022986825555562973, -0.0007075904868543148, -0.0013153591426089406, -0.03147995099425316, -0.02393217757344246, 0.004802430514246225, -0.023524681106209755, -0.01802811212837696, -0.032291848212480545, -0.04107077047228813, -0.008340793661773205, 0.06217019632458687, -0.06372172385454178, -0.04527800902724266, -0.005609720479696989, 0.021952280774712563, 0.015511279925704002, -0.010093938559293747, -0.0363982617855072, -0.03202829882502556, -0.07079114764928818, -0.028977781534194946, 0.0003991632256656885, -0.01429454144090414, 0.007131136953830719, 0.05944445729255676, 0.01971466839313507, 0.007377459201961756, 0.0663323625922203, 0.0269488338381052, 0.027900373563170433, -0.0011803607922047377, -0.07215607911348343, 0.016501331701874733, -0.036454204469919205, 0.016214914619922638, 0.04240510240197182, -0.03183239698410034, -0.0561865009367466, -0.06021661311388016, 0.0013355460250750184, 0.003380765439942479, 0.023036042228341103, -0.02891308069229126, 0.04304995760321617, -0.00437776418402791, 0.0011183494934812188, -0.025368133559823036, 0.03038991056382656, 0.02925666980445385, -0.04604151472449303, 0.047978539019823074, -0.011932266876101494, 0.04779523238539696, -0.03159086033701897, 0.009079333394765854, -0.047227222472429276, -0.04552972689270973, 0.0008179814903996885, 0.04553738236427307, 0.053059276193380356, 0.048704106360673904, 0.0724974125623703, 0.016579849645495415, -0.04598381742835045, 0.029446523636579514, 0.04306108132004738, -0.03619709610939026, -0.036114394664764404, -0.015528676100075245, -0.008619544096291065, -0.028208019211888313, -0.022480372339487076, -0.026752421632409096, 0.03738086298108101, 0.045639682561159134, 0.014578595757484436, 0.009253724478185177, 0.0042077964171767235, -0.04299817606806755, -0.06755171716213226, -0.07570061087608337, -0.033156223595142365, 0.014928610995411873, 0.0057761999778449535, 0.030529331415891647, 0.038765110075473785, 0.015109996311366558, 0.07192828506231308, 0.042841587215662, -0.03031393513083458, -0.03394439071416855, 0.0014014922780916095, 0.024420125409960747, -0.025876540690660477, -0.06729396432638168, -0.052291762083768845, 0.028743090108036995, 0.030866548418998718, -0.03720718249678612, -0.08196494728326797, 0.014524981379508972, 0.04450350999832153, -0.027983253821730614, 0.06340144574642181, 0.0008317810134030879, 0.047322675585746765, 0.07655737549066544, -0.017152393236756325, -0.005132644437253475, -0.008938831277191639, 0.0160665363073349, -0.019598837941884995, 0.05628321319818497, -0.017770569771528244, -0.05011553689837456, -0.05067295581102371, 0.023571062833070755, 0.03308786824345589, 0.04142708703875542, 0.029353013262152672, -0.029856698587536812, -0.02077358402311802, 0.005263916682451963, 0.039362646639347076, -0.04638306424021721, 0.011601931415498257, 0.03817242011427879, 0.04498838633298874, -0.05509088933467865, -0.05641501024365425, 0.005964134354144335, -0.015507752075791359, 0.043053314089775085, -0.017230527475476265, -0.041811343282461166, -0.07290498912334442, 0.03111683391034603, -0.032717738300561905, -0.023918356746435165, -0.07145137339830399, 0.029775241389870644, -0.027383923530578613, -0.029229214414954185, 0.03532594442367554, 0.00999162532389164, 0.02767704427242279, 0.05856736749410629, 0.016466377303004265, 0.0006990818656049669, -0.038006674498319626, 0.007212734315544367, -0.026537712663412094, -0.01434971671551466, -0.01643260009586811, -0.012803759425878525, -0.03274127095937729, -0.015404756180942059, -0.03379903361201286, -0.07419179379940033, -0.01147905271500349, 0.031357571482658386, -0.00442751869559288, 0.027450518682599068, -0.019141798838973045, 0.01413507666438818, 0.0019493326544761658, -0.03235245868563652, -0.029170215129852295, -0.011900507844984531, -0.057322341948747635, -0.04080445319414139, 0.007264358457177877, -0.004048208240419626, 0.015603790059685707, 0.014615113846957684, -0.013351798057556152, 0.0017971923807635903, 0.012445236556231976, -0.020756248384714127, 0.037044674158096313, -0.013624163344502449, -0.016171887516975403, -0.02401740849018097, 0.013629589229822159, 0.030236827209591866, 0.021738769486546516, -0.0019387860083952546, 0.042382560670375824, 0.020280523225665092, -0.03214605152606964, -0.025248417630791664, 0.020547855645418167, -0.01493100356310606, -0.0648210421204567, -0.035910677164793015, -0.008281967602670193, -0.0216225516051054, 0.05267345905303955, -0.015401463955640793, -0.059457916766405106, 0.040771059691905975, 0.014593355357646942, 0.04993114992976189, 0.01828809455037117, -0.03076772578060627, -0.015915727242827415, -0.0025578865315765142, 0.03034905157983303, -0.065603107213974, 0.04402532801032066, -0.05257748067378998, 0.015483071096241474, -0.026542851701378822, 0.011982416734099388, -0.07166411727666855, 0.03729704022407532, -0.004462825134396553, -0.029091445729136467, -0.006378830876201391, 0.028145143762230873, -0.030151095241308212, 0.02265797182917595, -0.04465102031826973, 0.013218861073255539, 0.0010523567907512188, 0.07935573160648346, -0.06609733402729034, -0.006878123618662357, -0.03485681861639023, 0.014334269799292088, -0.03537144511938095, -0.015781089663505554, -0.01697101816534996, -0.04704342782497406, 0.0345865823328495, 0.03389335796236992, 0.04257607087492943, 0.060197729617357254, -0.04018385708332062, -0.011323765851557255, -0.021108301356434822, -0.05361643061041832, -0.0450926348567009, -0.02644963748753071, 0.007167867850512266, -0.0010273248190060258, 0.05205338075757027, 0.036714859306812286, -0.03574630618095398, -0.028289904817938805, 0.04782318323850632, 0.002931827213615179, 0.012860861606895924, -0.012803865596652031, 0.004323138389736414, 0.022767864167690277, 0.031400155276060104, -0.06266274303197861, -0.0072675785049796104, 0.03348461538553238, -0.004282807465642691, 0.0346439853310585, -0.020895643159747124, 0.023228615522384644, -0.004992381669580936, -0.05771297588944435, -0.014116737991571426, 0.07279994338750839, 0.01924181915819645, 0.028498880565166473, 0.026812352240085602, -0.05034920945763588, 0.03856315836310387, -0.000521194189786911, -0.05037868395447731, 0.006855370942503214, 0.004987938795238733, -0.02923775650560856, 0.07444609701633453, 0.007536540273576975, 0.022232042625546455, 0.0620729923248291, 0.03488463908433914, -0.02644718997180462, 0.03362008184194565, -0.0137771125882864, -0.0009386837482452393, 0.02593558095395565, -0.04295364394783974, -0.01992499642074108, -0.04050718992948532, 0.05198531597852707, -0.07084167748689651, 0.04540136829018593, 0.025102239102125168, -0.011624379083514214, 0.010700026527047157, -0.05160975456237793, -0.00940112303942442, 0.017899898812174797, -0.03293425589799881, 0.06845298409461975, 0.008108852431178093, -0.07218941301107407, 0.0523679219186306, 0.010298515670001507, -0.10743511468172073, 0.033903319388628006, 0.04489617422223091, 0.01846856251358986, 0.018648849800229073, 0.04971970617771149, -0.043814919888973236, 0.055529411882162094, -0.034614719450473785, 0.034791506826877594, -0.04082439839839935, -0.011446721851825714, 0.03156251460313797, -0.019607847556471825, -0.03179188072681427, 0.030322358012199402, -0.04531445354223251, 0.030754657462239265, 0.034969378262758255, -0.057704608887434006, -0.07077401131391525, 0.02215716615319252, 0.025634845718741417, -0.025671707466244698, -0.023021608591079712, -0.02010679431259632, 0.045161664485931396, 0.04328234866261482, -0.012632100842893124, -0.018141008913517, -0.023536302149295807, -0.0011608974309638143, -0.04815096780657768, -0.03630215674638748, 0.01553997490555048, 0.007908322848379612, -0.025114556774497032, 0.035568103194236755, 0.017478641122579575, 0.002758289687335491, 0.012559403665363789, -0.0159094650298357, -0.012720935046672821, -0.04593268036842346, 0.0014829158317297697, 0.022365516051650047, 0.015946174040436745, 0.034700412303209305, -0.01947709545493126, 0.037011414766311646, 0.05347079038619995, 0.01992431841790676, -0.035560596734285355, -0.03393087163567543, -0.032157883048057556, 0.0017585541354492307, -0.02321501448750496, -0.010428210720419884, -0.014056180603802204, -0.056107573211193085, -0.04288666695356369, -0.02516298182308674, -0.008966244757175446, 0.043167855590581894, -0.0506926029920578, 0.01665811985731125, 0.011468132957816124, -0.008151186630129814, -0.04141106456518173, -0.08219710737466812, -0.04392785206437111, -0.0255106370896101, 0.03598645329475403, 0.00764880608767271, -0.02325606532394886, -0.001634933170862496, -0.037830889225006104, -0.05448576435446739, 0.02998669072985649, 0.0365268737077713, -0.02437663823366165, 0.07749461382627487, 0.03547629714012146, -0.030920526012778282, -0.006561082787811756, 0.05584443733096123, -0.04400002583861351, 0.04347236081957817, 0.04184121638536453, 0.0120561383664608, 0.014452505856752396, 0.06583424657583237, -0.02242966927587986, -0.014623657800257206, -0.05174725130200386, -0.016076883301138878, -0.022457918152213097, -0.008834545500576496, 0.05672866478562355 ]
Amitabh/doc-classification
[]
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: - sw tags: - generated_from_trainer datasets: - tydiqa model-index: - name: afriberta_base-finetuned-tydiqa 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. --> # afriberta_base-finetuned-tydiqa This model is a fine-tuned version of [castorini/afriberta_base](https://huggingface.co/castorini/afriberta_base) on the tydiqa dataset. It achieves the following results on the evaluation set: - Loss: 2.3728 ## 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: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | No log | 1.0 | 192 | 2.1359 | | No log | 2.0 | 384 | 2.3409 | | 0.8353 | 3.0 | 576 | 2.3728 | ### Framework versions - Transformers 4.14.1 - Pytorch 1.10.0+cu111 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.01870669610798359, -0.01840740256011486, -0.005008591338992119, 0.03709406778216362, 0.04952145367860794, 0.024171527475118637, -0.010098885744810104, -0.013118663802742958, -0.04078584536910057, 0.042642321437597275, 0.027003580704331398, -0.03121076710522175, -0.015666058287024498, 0.050092410296201706, -0.053711894899606705, -0.04286263510584831, -0.00932313036173582, -0.016706299036741257, -0.020162684842944145, -0.009150302037596703, 0.0035085980780422688, -0.01465714443475008, 0.005098825320601463, 0.015807943418622017, -0.004820459056645632, 0.0249246284365654, -0.02761843614280224, 0.022370686754584312, 0.02999657578766346, -0.05948466807603836, 0.01549161970615387, -0.035779085010290146, -0.038672368973493576, -0.010572723113000393, -0.015358950011432171, 0.011172509752213955, 0.006256869062781334, 0.02855519764125347, 0.042432595044374466, 0.04704294353723526, 0.0008555107633583248, 0.029510915279388428, -0.008269734680652618, -0.03710845857858658, 0.05432317778468132, -0.012023807503283024, -0.05824459716677666, -0.00045564293395727873, 0.04551812633872032, -0.04215788468718529, -0.05700790509581566, -0.07904677838087082, -0.03127330169081688, 0.01525930780917406, -0.026754101738333702, -0.005182208493351936, -0.068369559943676, -0.006591839250177145, 0.057716235518455505, -0.0579918771982193, -0.014655422419309616, 0.030739128589630127, -0.0905178114771843, 0.018247878178954124, 0.03554493561387062, -0.014894791878759861, 0.01083617378026247, -0.034594789147377014, 0.04977109283208847, -0.022139685228466988, 0.06235818564891815, -0.008585612289607525, 0.019634826108813286, -0.05791169032454491, 0.00040030357195064425, -0.020044181495904922, 0.01642213761806488, 0.052944522351026535, -0.037711504846811295, 0.04607357829809189, 0.02744898945093155, -0.007003199774771929, 0.030942225828766823, 0.0037393311504274607, 0.008333425037562847, 0.05301059037446976, -0.022586436942219734, 0.00778102595359087, 0.026284759864211082, 0.029653223231434822, -0.05365750938653946, -0.0382595919072628, -0.029109172523021698, -0.019555913284420967, -0.0038800358306616545, 0.03720887377858162, 0.03168266639113426, 0.006628752686083317, 0.04316861927509308, 0.017437275499105453, 0.014896559529006481, 0.031184004619717598, -0.024083852767944336, 0.079315185546875, -0.016670217737555504, -0.00230596330948174, -0.008383028209209442, -0.023990683257579803, -0.017247088253498077, 0.03851277753710747, 0.026192976161837578, -0.04063579440116882, -0.026165835559368134, 0.03240138664841652, 0.005892585497349501, 0.004749797284603119, 0.061391428112983704, -0.03491082414984703, -0.05575614795088768, -0.042752671986818314, 0.030444921925663948, 0.034215882420539856, 0.007658067625015974, -0.0037371257785707712, -0.01538371853530407, -0.017997009679675102, -0.026714449748396873, -0.04248805344104767, -0.0130635816603899, 0.02025204710662365, -0.013527870178222656, 0.05086132884025574, 0.03438296169042587, -0.06109091266989708, -0.004158396273851395, 0.007723479066044092, -0.060688335448503494, 0.04132739081978798, 0.010687817819416523, 0.10690940171480179, -0.08255201578140259, -0.070572130382061, 0.006510095205157995, -0.010926083661615849, -0.013692832551896572, 0.014599639922380447, 0.013239082880318165, -0.045546889305114746, -0.013606682419776917, 0.008238916285336018, 0.07230325788259506, -0.046352628618478775, 0.006925611756742001, 0.055357228964567184, -0.006846912670880556, 0.04697037115693092, -0.04796740040183067, -0.03423355519771576, 0.007394637446850538, -0.001962149515748024, -0.028739122673869133, 0.042130567133426666, -0.005772254429757595, 0.00015086935309227556, -0.03255220130085945, -0.04358486086130142, -0.006130161229521036, 0.09899801760911942, 0.013172825798392296, -0.02090313658118248, -0.010839520022273064, 0.025602122768759727, 0.02536311186850071, 0.02419363148510456, -0.024822957813739777, 0.0491778664290905, 0.04367836192250252, 0.0288348700851202, -0.011692333035171032, 0.023935148492455482, 0.027712466195225716, -0.04024596884846687, -0.02362075261771679, 0.0031979696359485388, -0.0010450412519276142, -0.040984608232975006, 0.03340377286076546, 0.01725730113685131, -0.005053079687058926, -0.05418630689382553, -0.043070219457149506, 0.07488176971673965, -0.004291720222681761, 0.0277311559766531, 0.010388609021902084, -0.012927001342177391, -0.025455277413129807, 0.0515722818672657, -0.017275964841246605, 0.006482334807515144, -0.04792555049061775, -0.03093138337135315, 0.0009615144808776677, -0.007969223894178867, 0.0016635386273264885, 0.040247656404972076, 0.0016990966396406293, 0.09400715678930283, -0.022248929366469383, 0.009026389569044113, -0.05221495032310486, -0.04557518661022186, 0.033324792981147766, 0.06404940783977509, 0.050940725952386856, 0.05129377916455269, 0.00947125069797039, -0.06271948665380478, 0.026781173422932625, 0.05130695551633835, 0.04736946150660515, 0.011410667560994625, -0.02210688777267933, -0.006486603524535894, 0.041532449424266815, 0.04551473632454872, -0.05457306280732155, -0.018635502085089684, 0.008909915573894978, 0.003201946849003434, -0.00740945665165782, 0.017216872423887253, -0.00864232238382101, 0.044803325086832047, -0.07126197218894958, -0.08021458983421326, 0.05845548212528229, 0.05359131842851639, -0.004413668066263199, 0.026956643909215927, 0.006874443497508764, 0.016370203346014023, -0.008834273554384708, 0.00472108181566, -0.010637071914970875, -0.041404418647289276, 0.026439214125275612, 0.015887705609202385, 0.05257873982191086, -0.06860847026109695, 0.016671137884259224, -0.0076125976629555225, 0.012270106002688408, 0.04355928674340248, -0.06631366908550262, 0.02109481394290924, 0.056438010185956955, 0.027833741158246994, -0.03605183959007263, 0.019766895100474358, 0.012201119214296341, 0.03573485463857651, 0.043835218995809555, 0.0008242345065809786, 0.06112799420952797, -0.013324778527021408, 0.022182587534189224, 0.07313095778226852, 0.014554604887962341, 0.032124992460012436, 0.020910359919071198, 0.058787256479263306, 0.02891010418534279, -0.01415978092700243, 0.037664372473955154, -0.05980173125863075, 0.031910546123981476, -0.048366278409957886, 0.006183777004480362, -0.038810066878795624, -0.0004714186943601817, 0.04655616357922554, 0.02066717855632305, -0.017708973959088326, -0.0161125548183918, -0.02271149307489395, -0.01811910606920719, 0.029377726837992668, -0.025880135595798492, -0.004387887194752693, -0.008530860766768456, 0.012238547205924988, -0.036811310797929764, -0.059228237718343735, -0.03513621166348457, -0.022150781005620956, -0.02748303860425949, -0.033531010150909424, -0.08324429392814636, -0.003594042267650366, -0.045550454407930374, -0.03284091874957085, 0.03576057776808739, 0.027765339240431786, -0.009375439025461674, -0.04007060453295708, 0.01012203935533762, -0.059815630316734314, -0.04936138540506363, -0.05365725979208946, -0.05229649320244789, -0.046870265156030655, -0.06680499017238617, 0.04576335847377777, 0.029952311888337135, 0.02389460988342762, 0.01819894090294838, 0.02878437377512455, -0.00013422127813100815, -0.014918732456862926, 0.04123328998684883, 0.04854118824005127, -0.022746257483959198, -0.05787503719329834, 0.03076358698308468, 0.005178818944841623, 0.0012079901061952114, 0.01836344413459301, -0.03627261146903038, 0.09780114889144897, 0.05900419503450394, 0.023183783516287804, 0.01992448978126049, -0.020122738555073738, -0.07365787029266357, -0.022212576121091843, -0.014094122685492039, -0.036220066249370575, -0.006369201932102442, -0.019723230972886086, -0.027680009603500366, -0.022553913295269012, -0.026859764009714127, 0.005636477377265692, -0.0048266826197505, 0.016293922439217567, 0.03262360766530037, 0.041153568774461746, 0.031966522336006165, 0.037937626242637634, -0.027211405336856842, -0.04606225714087486, 0.03247734531760216, -0.008335974998772144, 0.021558472886681557, -0.08687906712293625, -0.016772324219346046, 0.05539218708872795, 0.007365431636571884, 0.007657436653971672, 0.0004230562481097877, 0.08063727617263794, -0.007278473116457462, -0.010608464479446411, 0.01953480951488018, -0.016218196600675583, -0.009935520589351654, -0.001336746383458376, 0.018596535548567772, 0.00048709887778386474, -0.04917722940444946, -0.007792049553245306, 0.004982287995517254, 0.062109265476465225, -0.06931359320878983, -0.04965749382972717, -0.023356113582849503, 0.043494388461112976, 0.038174450397491455, 0.0008907599840313196, -0.05144307017326355, -0.025754617527127266, -0.07777312397956848, -0.01960819959640503, 0.05649257078766823, 0.0269327312707901, 0.01391192153096199, 0.029488973319530487, 0.03255777433514595, -0.0304462481290102, 0.04756181687116623, 0.04920748993754387, 0.0702706128358841, 0.016488943248987198, -0.05353538691997528, -0.015057251788675785, -0.022518226876854897, 0.027558648958802223, 0.00039079246926121414, -0.012607472017407417, -0.03328166902065277, -0.09183841198682785, -0.04694271460175514, -0.020332856103777885, -0.016697240993380547, -0.02321883849799633, 0.029815083369612694, -0.008097788318991661, -0.02339668571949005, 0.005492212250828743, 0.009276165626943111, 0.05166977271437645, -0.05377941578626633, 0.05052533000707626, -0.009553937241435051, 0.01576353795826435, -0.02366356924176216, 0.019921962171792984, -0.030554382130503654, -0.03146164119243622, -0.0193849615752697, 0.03196514770388603, -0.005474389996379614, 0.0455738864839077, 0.08018720149993896, 0.01782236061990261, -0.03385143354535103, 0.042904313653707504, 0.06272371113300323, -0.02997783198952675, -0.030007928609848022, 0.006143443752080202, -0.01997436210513115, -0.02722446620464325, -0.02437111735343933, -0.01677984558045864, 0.036556631326675415, 0.048909991979599, 0.007095239590853453, 0.02422347292304039, -0.006029827054589987, -0.007471391465514898, -0.05660763755440712, -0.0437428317964077, -0.012223531492054462, 0.0327971912920475, -0.030615435913205147, -0.00024778436636552215, 0.03642454370856285, 0.021241767331957817, 0.0660644993185997, 0.04194922372698784, -0.04093065485358238, -0.052635882049798965, 0.017107317224144936, 0.012981226667761803, -0.03371194377541542, -0.08426781743764877, -0.03826756775379181, 0.01713637448847294, 0.03487294167280197, -0.025654220953583717, -0.06329447031021118, -0.0032493032049387693, 0.032776396721601486, -0.026208708062767982, 0.05310342460870743, -0.03828005865216255, 0.02279770001769066, 0.05514814332127571, -0.04573236405849457, 0.01975264586508274, -0.027626100927591324, -0.003927493467926979, -0.001652429811656475, 0.03370620682835579, -0.02757495455443859, -0.015297734178602695, -0.0570000559091568, 0.03163671866059303, 0.06355515122413635, 0.032958418130874634, 0.03866324573755264, -0.00434432877227664, -0.0492793433368206, 0.016912171617150307, 0.03439681977033615, -0.0434691496193409, 0.017213428393006325, 0.022461464628577232, 0.031705766916275024, -0.04735536873340607, -0.046599846333265305, -0.023462044075131416, -0.02254488319158554, 0.03745313733816147, -0.011663658544421196, -0.0514732301235199, -0.03777792677283287, 0.03290412947535515, -0.006830287165939808, -0.015906190499663353, -0.06509202718734741, 0.046927254647016525, 0.002711108885705471, 0.0006627432303503156, 0.07259304076433182, 0.02551134116947651, 0.010358353145420551, 0.039817940443754196, 0.035525448620319366, 0.013449898920953274, -0.0332212820649147, 0.04687872156500816, -0.03923999145627022, -0.013568121008574963, -0.008412623777985573, -0.04773056507110596, -0.03155122697353363, -0.012090150266885757, -0.0458124503493309, -0.03868415579199791, -0.02690153941512108, 0.0054284450598061085, 0.0037236709613353014, -0.0007336721755564213, -0.010504387319087982, 0.051500722765922546, -0.021813970059156418, -0.013539348728954792, -0.040147360414266586, -0.04157188907265663, -0.05664419010281563, -0.052161961793899536, 0.015665411949157715, 0.01687553897500038, 0.04906369745731354, 0.026110608130693436, 0.02538781799376011, 0.009403220377862453, 0.0083501897752285, -0.05554158240556717, 0.007792995776981115, -0.0013582886895164847, -0.016330992802977562, -0.05890204384922981, 0.02667909488081932, 0.019991125911474228, 0.03327123075723648, -0.012239123694598675, 0.04867855831980705, 0.0150016313418746, -0.006628070492297411, -0.0014591062208637595, 0.004620749969035387, 0.017112040892243385, -0.0737406313419342, -0.02276386134326458, 0.012410507537424564, -0.03917010873556137, 0.01475939154624939, -0.017741015180945396, -0.020335210487246513, 0.0004235032538417727, -0.016164371743798256, 0.03218069672584534, -0.011958841234445572, -0.03218454867601395, 0.016316205263137817, -0.021196480840444565, 0.02165401354432106, -0.05123858153820038, 0.049949973821640015, -0.0229216068983078, -0.007222780026495457, -0.032051343470811844, 0.017746321856975555, -0.04890485852956772, 0.04505264386534691, -0.00740430410951376, -0.015031359158456326, -0.010168575681746006, 0.0520387701690197, -0.03240760415792465, 0.00868337880820036, -0.02147725783288479, 0.023891277611255646, -0.021040400490164757, 0.05284653976559639, -0.023069728165864944, 0.014928152784705162, -0.04599794000387192, 0.008355616591870785, -0.030286679044365883, 0.00022852513939142227, -0.012917148880660534, -0.031221210956573486, 0.024455778300762177, 0.05918078124523163, 0.042317770421504974, 0.015548630617558956, 0.008913984522223473, -0.003774254349991679, 0.014066770672798157, -0.061098646372556686, -0.033167194575071335, 0.0006240989896468818, 0.016912449151277542, -0.019976070150732994, 0.06274282187223434, 0.03285088762640953, -0.03842708468437195, -0.07260295748710632, 0.04906214401125908, 0.019487885758280754, 0.01755414716899395, 0.012078242376446724, 0.04652408882975578, 0.0052080294117331505, 0.03507469594478607, -0.0394616425037384, 0.0036997704301029444, -0.012296611443161964, -0.04355061426758766, 0.041188862174749374, -0.0261705219745636, 0.02661638706922531, -0.0015015723183751106, -0.04183438420295715, -0.0028113839216530323, 0.04606214165687561, 0.03952848166227341, 0.02931136265397072, -0.018711401149630547, -0.047186244279146194, 0.0295049250125885, -0.007947289384901524, -0.03920016065239906, 0.011558957397937775, 0.016038576140999794, -0.05980035290122032, 0.05935236066579819, 0.0005811676383018494, 0.002603759290650487, 0.020838048309087753, 0.04686364158987999, 0.0005648658843711019, 0.06450069695711136, -0.028151359409093857, 0.026582585647702217, 0.053569093346595764, -0.07962515205144882, 0.000005038231392973103, -0.03678235784173012, 0.06830017268657684, -0.04552314803004265, 0.014611980877816677, 0.041654255241155624, -0.008819371461868286, 0.015964364632964134, -0.02192109264433384, -0.036026813089847565, 0.012991202995181084, -0.037903573364019394, 0.07497673481702805, -0.00602489011362195, -0.0747879296541214, 0.0627247616648674, 0.013489478267729282, -0.07321380078792572, 0.054019615054130554, 0.051716528832912445, 0.06542234122753143, 0.047261159867048264, 0.06082972511649132, -0.04664706066250801, -0.0015593789285048842, -0.02256367914378643, 0.013302735984325409, -0.05712903290987015, -0.010332547128200531, 0.05458669364452362, -0.02949625626206398, -0.02787870354950428, 0.03865043818950653, 0.01704239472746849, -0.006947359535843134, 0.04010035842657089, -0.04086752608418465, -0.014779649674892426, 0.018582778051495552, 0.018494760617613792, -0.049160946160554886, 0.00799634400755167, -0.04284340515732765, 0.014728661626577377, 0.0135965496301651, 0.0001180506733362563, -0.01779361441731453, 0.009360918775200844, 0.01659061387181282, -0.0613466314971447, -0.03353654965758324, 0.02147705852985382, -0.009219960309565067, -0.02117382176220417, 0.030020074918866158, 0.011203858070075512, 0.01906939409673214, 0.02247132547199726, -0.00319808186031878, 0.01312706433236599, -0.0481245219707489, -0.016722872853279114, 0.005550118628889322, -0.02033240720629692, 0.03724151849746704, -0.0017331895651295781, 0.04981357976794243, 0.048080336302518845, 0.010087710805237293, -0.018008850514888763, -0.023942062631249428, -0.03751688823103905, 0.028593480587005615, -0.016878517344594002, -0.0057739382609725, 0.008481943979859352, -0.04103195294737816, -0.05738179385662079, -0.017659105360507965, -0.0381418876349926, 0.03374195098876953, -0.06160873919725418, -0.007359704468399286, 0.021341804414987564, -0.006196834612637758, -0.0585581511259079, -0.09673810750246048, -0.023508774116635323, -0.03488080948591232, 0.003107498399913311, 0.02575308457016945, -0.043265968561172485, 0.040093980729579926, -0.05553848668932915, -0.06257656961679459, 0.045578278601169586, 0.029631566256284714, -0.047846775501966476, 0.03916749730706215, 0.058013562113046646, -0.05094735324382782, 0.01816062442958355, 0.02215436100959778, -0.029567046090960503, -0.015717310830950737, 0.014686509035527706, 0.030533744022250175, 0.024388298392295837, -0.004168627317994833, -0.04807574674487114, -0.01850251853466034, -0.06248289346694946, -0.03637467324733734, -0.050565432757139206, 0.025418708100914955, 0.07804878056049347 ]
Anamika/autonlp-Feedback1-479512837
[ "pytorch", "xlm-roberta", "text-classification", "unk", "dataset:Anamika/autonlp-data-Feedback1", "transformers", "autonlp", "co2_eq_emissions" ]
text-classification
{ "architectures": [ "XLMRobertaForSequenceClassification" ], "model_type": "xlm-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 } } }
34
null
--- license: mit tags: - generated_from_keras_callback model-index: - name: nlu_sherlock_model results: [] --- <!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. --> # nlu_sherlock_model This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset. It achieves the following results on the evaluation set: ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 2e-05, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': -947, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '__passive_serialization__': True}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01} - training_precision: float32 ### Training results ### Framework versions - Transformers 4.16.2 - TensorFlow 2.8.0 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.036742448806762695, -0.014282157644629478, -0.006302390247583389, 0.03210623562335968, 0.02664133533835411, 0.026735303923487663, -0.02981479838490486, -0.014268048107624054, -0.04775286465883255, 0.06321219354867935, 0.020549776032567024, -0.03710903599858284, 0.02473795786499977, 0.042299672961235046, -0.03289681300520897, -0.03739210218191147, -0.01386312860995531, -0.021832797676324844, -0.028533630073070526, -0.007063175551593304, -0.004253604914993048, -0.001142157823778689, -0.01365667674690485, 0.014889671467244625, -0.012290234677493572, -0.002053722972050309, 0.0017866428242996335, 0.017968283966183662, 0.03798336908221245, -0.07149237394332886, 0.01843751221895218, -0.05164413899183273, -0.053690917789936066, -0.035151250660419464, -0.004216876346617937, -0.0009240314248017967, -0.00020432338351383805, 0.014462068676948547, 0.02438000775873661, 0.03707996755838394, 0.00009247221169061959, 0.012822525575757027, -0.014473413117229939, -0.027882669121026993, 0.0326564721763134, 0.0033129791263490915, -0.04390702769160271, -0.01026687677949667, 0.04404385760426521, -0.02118143066763878, -0.06587709486484528, -0.0550273135304451, -0.022880541160702705, 0.029343584552407265, -0.04489188268780708, -0.001754584489390254, -0.03484652563929558, 0.00778162619099021, 0.07457183301448822, -0.050361450761556625, -0.06487594544887543, 0.032676566392183304, -0.08555760234594345, 0.022868189960718155, 0.03907347097992897, -0.02293163165450096, 0.017945049330592155, -0.029931630939245224, 0.04358581453561783, -0.018589487299323082, 0.0642540231347084, -0.02310732938349247, 0.0021701857913285494, -0.08962966501712799, -0.00178180739749223, -0.01171193178743124, 0.041403770446777344, 0.04879169911146164, -0.03401597589254379, 0.05092724412679672, 0.02739625982940197, -0.01253524236381054, 0.047463979572057724, -0.020139139145612717, -0.014212693087756634, 0.0350118987262249, -0.0519179105758667, 0.007848205976188183, 0.011780334636569023, 0.03134981915354729, -0.03566008061170578, -0.022151343524456024, -0.015336605720221996, -0.018817763775587082, -0.022579019889235497, 0.011390368454158306, 0.04623756185173988, -0.001791801187209785, 0.034663449972867966, 0.02581031434237957, 0.01897449605166912, 0.02962421625852585, -0.022453300654888153, 0.06837130337953568, 0.0042842235416173935, -0.023274607956409454, -0.0035140179097652435, -0.013651765882968903, -0.037166401743888855, 0.01675211451947689, 0.01368145365267992, -0.04315938428044319, -0.045073166489601135, 0.046773482114076614, 0.00914114248007536, -0.0035662672016769648, 0.07495226711034775, -0.022095708176493645, -0.049523819237947464, -0.05083250626921654, 0.03880481794476509, 0.00389563525095582, -0.0029378978069871664, 0.007381939794868231, -0.05085516721010208, 0.006128143984824419, -0.037507567554712296, -0.040599524974823, 0.0028520473279058933, 0.028821906074881554, -0.005906697362661362, 0.04672180488705635, 0.02893894538283348, -0.09343982487916946, -0.011993486434221268, 0.018640389665961266, -0.02212076634168625, 0.04547527804970741, 0.003953981213271618, 0.1285974532365799, -0.06353253126144409, -0.060349199920892715, 0.02918015792965889, 0.0037439761217683554, -0.03198763728141785, 0.019369710236787796, -0.018154455348849297, -0.030425693839788437, -0.01027827337384224, -0.01454124040901661, 0.056916844099760056, -0.04752758890390396, -0.007873883470892906, 0.053161054849624634, 0.0031555320601910353, 0.03968518599867821, -0.05889127403497696, -0.01997358165681362, -0.009469838812947273, 0.006179457996040583, -0.006518963724374771, 0.03884396702051163, -0.03077201545238495, -0.004458374809473753, -0.025321075692772865, -0.03085951879620552, 0.005806521978229284, 0.08238328993320465, -0.014802778139710426, -0.017823031172156334, -0.02212410420179367, 0.0356617346405983, 0.041704632341861725, 0.03922824561595917, -0.03188055753707886, 0.034333378076553345, 0.04536391794681549, 0.02362816594541073, -0.019995883107185364, 0.03291025757789612, 0.020474793389439583, -0.03432074189186096, -0.014893616549670696, 0.02372664026916027, 0.024753209203481674, -0.029420819133520126, 0.01858219876885414, 0.027160760015249252, -0.0013957238988950849, -0.052759669721126556, -0.040847066789865494, 0.052879542112350464, -0.009816776029765606, -0.041987091302871704, 0.008213347755372524, 0.0073177102021873, -0.024196932092308998, 0.050073783844709396, -0.0074817887507379055, 0.010394963435828686, -0.0034374273382127285, -0.03485178202390671, 0.028117161244153976, 0.023846786469221115, 0.02058573067188263, 0.06232135742902756, 0.00414125295355916, 0.08837678283452988, -0.03077077493071556, 0.028848376125097275, -0.04274984076619148, -0.04130445793271065, 0.010385017842054367, 0.06286308914422989, 0.057280439883470535, 0.036712635308504105, -0.0016978018684312701, -0.04681325703859329, 0.03357375040650368, 0.05767189711332321, 0.03987282142043114, 0.010974100790917873, -0.021810924634337425, -0.02657683752477169, 0.01760094426572323, 0.05300388112664223, -0.057690124958753586, -0.03340224549174309, 0.024845613166689873, 0.060827210545539856, 0.0015089744701981544, 0.025425197556614876, -0.0006548924138769507, 0.02977004647254944, -0.045392680913209915, -0.08040304481983185, 0.03774658590555191, 0.012253728695213795, -0.008559069596230984, 0.021095264703035355, 0.01368717011064291, 0.004786995239555836, 0.02189989760518074, 0.022341791540384293, 0.0030367043800652027, -0.03441308066248894, 0.014867743477225304, 0.017758458852767944, 0.04868486523628235, -0.039165426045656204, 0.054245296865701675, 0.010595982894301414, 0.01236517820507288, 0.02321145310997963, -0.04255557060241699, 0.02007289230823517, 0.06172000989317894, 0.03604869917035103, -0.03129693493247032, 0.023455388844013214, 0.006196384318172932, 0.058090511709451675, 0.04447093978524208, -0.014727962203323841, 0.058558329939842224, 0.004293530248105526, 0.04437025263905525, 0.07957451045513153, 0.017776941880583763, 0.03171863406896591, 0.04062449187040329, 0.09035233408212662, -0.002721604658290744, -0.01545607391744852, 0.06408645212650299, -0.05193186178803444, 0.0015441881259903312, -0.02807844989001751, 0.009921878576278687, -0.015424663200974464, -0.009058192372322083, 0.026822952553629875, 0.014329886063933372, -0.04181424155831337, -0.0018276183400303125, -0.0019424473866820335, -0.01963968016207218, 0.006173888221383095, -0.008714779280126095, 0.011617870070040226, -0.025790035724639893, -0.002470606006681919, -0.017719188705086708, -0.08955782651901245, -0.04766695573925972, -0.012832663021981716, -0.02473938837647438, -0.030481817200779915, -0.0913391187787056, -0.0056276991963386536, -0.06160695105791092, -0.01920001208782196, 0.021895503625273705, -0.004630196839570999, -0.0034957968164235353, -0.044051215052604675, 0.030555061995983124, -0.04049161449074745, -0.04417920112609863, -0.04552767425775528, -0.04824142903089523, -0.043902572244405746, -0.07787751406431198, 0.031178418546915054, 0.023372795432806015, 0.03601384535431862, -0.0019919532351195812, 0.007064327131956816, 0.002575408900156617, -0.03557169437408447, 0.05588246136903763, 0.07012476772069931, -0.033868253231048584, -0.04024888575077057, 0.020124666392803192, -0.00482600973919034, 0.016155775636434555, -0.005626177415251732, -0.019611647352576256, 0.09208503365516663, 0.06452471762895584, 0.01560499332845211, 0.008210653439164162, -0.02397986687719822, -0.04588290676474571, -0.06390438228845596, -0.027275873348116875, -0.04400704428553581, -0.015340270474553108, -0.04916396737098694, -0.03163743391633034, -0.01970958337187767, -0.035224683582782745, 0.002336489036679268, -0.024537473917007446, 0.0008608318748883903, 0.03139014542102814, 0.04689206928014755, 0.036624059081077576, 0.032445501536130905, -0.03972878307104111, -0.050278037786483765, 0.06349256634712219, 0.013210640288889408, 0.008311945013701916, -0.07267741858959198, -0.030783893540501595, 0.017230022698640823, 0.02308453619480133, 0.008943285793066025, -0.003310594242066145, 0.07238351553678513, 0.007690010592341423, -0.001056333421729505, 0.011066694743931293, -0.001782157807610929, -0.035086020827293396, 0.015100043267011642, -0.00450415164232254, -0.016171427443623543, -0.04326470196247101, -0.0206020325422287, -0.010001124814152718, 0.05003035441040993, -0.050005681812763214, -0.049451008439064026, -0.00387199386022985, 0.0405166894197464, 0.05713895708322525, -0.023165684193372726, -0.04059791564941406, -0.010085011832416058, -0.04286758601665497, -0.010432771407067776, 0.042077746242284775, 0.012088964693248272, 0.011879722587764263, 0.05117202177643776, 0.006026148796081543, -0.03550123795866966, 0.04522949457168579, 0.046716272830963135, 0.06200333312153816, 0.00745944632217288, -0.07062872499227524, 0.00899635348469019, -0.03577089682221413, 0.024881362915039062, 0.006480094511061907, -0.022149229422211647, -0.023495854809880257, -0.10191269218921661, -0.015913087874650955, 0.002587002469226718, -0.00047181890113279223, -0.018250998109579086, 0.0397067628800869, 0.0020616461988538504, -0.03306463733315468, 0.006828234996646643, 0.01729969121515751, 0.03449086844921112, -0.03942451626062393, 0.03468731418251991, -0.006525900214910507, 0.003768676659092307, -0.03073541820049286, 0.00963832251727581, -0.03883182257413864, -0.006788508500903845, 0.015600576996803284, 0.06065455451607704, 0.0022983818780630827, 0.0702238604426384, 0.09068340808153152, 0.019821306690573692, -0.055216532200574875, 0.0339512825012207, 0.06696614623069763, -0.03820965066552162, -0.05355275049805641, -0.0006858413107693195, -0.013720354996621609, -0.010539347305893898, -0.015238064341247082, -0.0034550426062196493, 0.06282036751508713, 0.04359719157218933, -0.010624046437442303, 0.014623409137129784, 0.004432773217558861, -0.006740477867424488, -0.0053909956477582455, -0.045898810029029846, -0.009491688571870327, -0.002630655886605382, -0.023871080949902534, 0.009514275006949902, 0.03794045001268387, 0.009081938304007053, 0.06562682241201401, 0.04049605876207352, -0.03172444924712181, -0.03893918916583061, 0.03682040050625801, 0.018288884311914444, -0.045924652367830276, -0.07039240002632141, -0.03087458573281765, 0.04839865118265152, 0.034861303865909576, -0.015457164496183395, -0.0518348403275013, 0.0036062756553292274, 0.06184927746653557, -0.0605151541531086, 0.024624083191156387, -0.0001933259190991521, 0.03126334771513939, 0.04360692575573921, -0.010767142288386822, 0.02683429978787899, -0.007948741316795349, 0.011668408289551735, 0.0028503574430942535, 0.05408639460802078, 0.0037433835677802563, -0.0380413793027401, -0.06054254248738289, 0.015618698671460152, 0.02666376158595085, 0.04792653024196625, 0.041421446949243546, -0.03959127143025398, -0.043160513043403625, 0.02235322818160057, 0.042972855269908905, -0.031819771975278854, 0.0056984820403158665, 0.0360257551074028, 0.020606111735105515, -0.05956205353140831, -0.04526083171367645, -0.02805306576192379, -0.011171507649123669, 0.015487541444599628, -0.0029831198044121265, -0.05167495459318161, -0.03997687250375748, 0.032169632613658905, 0.010976902209222317, -0.0005381527007557452, -0.06760627031326294, 0.055519476532936096, -0.0035910557489842176, -0.019946739077568054, 0.04832015559077263, 0.03592293709516525, 0.02955683320760727, 0.0751764103770256, 0.013353045098483562, 0.007338228635489941, -0.02936471626162529, 0.060855913907289505, -0.04145616665482521, -0.02173578180372715, 0.0005284937215037644, -0.04954918473958969, -0.02819558046758175, -0.030212614685297012, -0.052725329995155334, -0.06476797163486481, -0.014994475059211254, 0.021472739055752754, 0.00009786811278900132, -0.02239125408232212, -0.024634946137666702, 0.04718279838562012, -0.009304000064730644, -0.061125192791223526, -0.02810242958366871, -0.031003134325146675, -0.050530947744846344, -0.04277237877249718, 0.023915931582450867, 0.005141867324709892, 0.021810075268149376, 0.02122151106595993, 0.016849331557750702, 0.01567918434739113, 0.0024013605434447527, -0.034647319465875626, 0.007305690553039312, -0.019410546869039536, -0.017507020384073257, -0.030340561643242836, 0.01676022820174694, 0.019436264410614967, 0.018772585317492485, -0.02849561534821987, 0.038194961845874786, 0.039748579263687134, -0.0059503717347979546, -0.0037083581555634737, 0.044060785323381424, 0.027008265256881714, -0.05839597433805466, -0.02533816732466221, 0.011220362968742847, -0.037413567304611206, 0.028290292248129845, -0.02897857315838337, -0.011795246973633766, 0.010002695955336094, 0.011164761148393154, 0.026347201317548752, -0.016870196908712387, -0.025311078876256943, 0.026490114629268646, -0.026510419324040413, 0.01961596868932247, -0.05706038698554039, 0.05209142714738846, -0.04336869344115257, 0.024122729897499084, -0.011366636492311954, 0.00002201650568167679, -0.04704350605607033, 0.050960950553417206, -0.02664409577846527, -0.027925223112106323, -0.006662228610366583, 0.04882251098752022, -0.022021926939487457, 0.03717945143580437, -0.012292207218706608, 0.019699499011039734, -0.05905890092253685, 0.0919637680053711, -0.03645801916718483, 0.017805056646466255, -0.028654329478740692, 0.005147065967321396, -0.02711046114563942, 0.02533511258661747, -0.02238985151052475, -0.015906110405921936, 0.020168328657746315, 0.061902400106191635, 0.042095523327589035, 0.030545486137270927, 0.0014495697105303407, -0.004080942831933498, 0.011949250474572182, -0.0536482036113739, -0.031557030975818634, -0.0053235446102917194, 0.0013698750408366323, -0.018300773575901985, 0.06310288608074188, 0.029710818082094193, -0.07050270587205887, -0.0526384599506855, 0.04093625769019127, 0.010908002965152264, -0.021203622221946716, 0.006951636169105768, 0.013086086139082909, 0.03154214099049568, 0.044200580567121506, -0.041477665305137634, -0.00968994665890932, 0.004652014002203941, -0.049284160137176514, 0.04488515481352806, -0.009586868807673454, 0.02479277364909649, 0.013223267160356045, -0.028342464938759804, -0.014106056652963161, 0.07300546765327454, 0.017504407092928886, 0.011791788041591644, -0.004944477695971727, -0.04330523684620857, 0.028192054480314255, 0.0018542808247730136, -0.039609458297491074, 0.010782829485833645, 0.008502835407853127, -0.028742235153913498, 0.05854146182537079, -0.0006263830582611263, 0.0030500544235110283, 0.059783935546875, 0.031042885035276413, -0.02628735825419426, 0.07022702693939209, -0.017321573570370674, 0.03861398994922638, 0.052979644387960434, -0.06419424712657928, -0.016160408034920692, -0.03545760735869408, 0.06878987699747086, -0.07974826544523239, 0.039329733699560165, 0.05343739315867424, 0.009650901891291142, 0.021656857803463936, -0.02291581965982914, -0.041150305420160294, 0.021201414987444878, -0.050382934510707855, 0.07478471845388412, 0.022866753861308098, -0.05392329394817352, 0.05398493632674217, -0.0016755139222368598, -0.06500391662120819, 0.03750193864107132, 0.030183954164385796, 0.02896389365196228, 0.042623165994882584, 0.029723769053816795, -0.05162818729877472, 0.014842969365417957, -0.04500305652618408, 0.033731404691934586, -0.047874487936496735, -0.020678050816059113, 0.05094300955533981, -0.02876109816133976, -0.03593840450048447, 0.040416568517684937, 0.007422505412250757, -0.017759861424565315, 0.05455200374126434, -0.049678120762109756, -0.038813523948192596, -0.008990812115371227, 0.017757266759872437, -0.022116534411907196, 0.01001656986773014, -0.0393669493496418, -0.0038553974591195583, 0.01294314581900835, 0.011621249839663506, -0.006975614465773106, 0.008394656702876091, 0.05790366232395172, -0.0573367141187191, -0.036502353847026825, 0.023690734058618546, 0.006346169393509626, -0.021993624046444893, 0.04173849895596504, 0.014954744838178158, 0.02468637377023697, 0.019247284159064293, -0.006653474178165197, 0.01565997488796711, -0.035411980003118515, -0.020873699337244034, 0.007230831775814295, -0.008422575891017914, 0.03756743296980858, 0.006225729361176491, 0.029960302636027336, 0.038004834204912186, 0.02374217100441456, -0.01035379059612751, -0.029668640345335007, -0.02689935639500618, 0.028298374265432358, -0.0166765209287405, -0.0003478079743217677, -0.009450184181332588, -0.029807209968566895, -0.04081413894891739, -0.010613864287734032, -0.050952572375535965, 0.02096056193113327, -0.06966224312782288, 0.015845706686377525, 0.014763917773962021, -0.02318967878818512, -0.053383246064186096, -0.08020187169313431, -0.02612689696252346, -0.028523480519652367, 0.0013331908266991377, 0.026188522577285767, -0.02133827656507492, 0.04073794558644295, -0.02758532576262951, -0.05598658323287964, 0.04534350708127022, 0.04576384276151657, -0.04080028459429741, 0.05933137238025665, 0.03308580070734024, -0.03881826996803284, -0.003969370387494564, 0.038828253746032715, -0.04806524142622948, 0.0028444984927773476, 0.003011199412867427, 0.009314490482211113, 0.019641436636447906, -0.004545263014733791, -0.05313161015510559, -0.015734674409031868, -0.06689586490392685, -0.05438312143087387, -0.04880625754594803, 0.014837932772934437, 0.0769825205206871 ]
Anamika/autonlp-fa-473312409
[ "pytorch", "roberta", "text-classification", "en", "dataset:Anamika/autonlp-data-fa", "transformers", "autonlp", "co2_eq_emissions" ]
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 } } }
35
2022-02-20T09:01:48Z
--- license: mit tags: - generated_from_keras_callback model-index: - name: nlu_sherlock_model_20220220 results: [] --- <!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. --> # nlu_sherlock_model_20220220 This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset. It achieves the following results on the evaluation set: ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 2e-05, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': -955, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '__passive_serialization__': True}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01} - training_precision: float32 ### Training results ### Framework versions - Transformers 4.16.2 - TensorFlow 2.8.0 - Datasets 1.18.3 - Tokenizers 0.11.0
[ -0.03829817473888397, -0.014247788116335869, -0.007264568004757166, 0.03268781676888466, 0.023943888023495674, 0.025811854749917984, -0.026616595685482025, -0.012436472810804844, -0.045750848948955536, 0.06015957146883011, 0.02273002825677395, -0.03864942491054535, 0.02601623348891735, 0.04171852767467499, -0.03028119169175625, -0.037647031247615814, -0.013407662510871887, -0.019710723310709, -0.028580352663993835, -0.007259801961481571, -0.0000331774826918263, 0.00031504337675869465, -0.013082090765237808, 0.011839726008474827, -0.011049440130591393, -0.001161055639386177, 0.0013434207066893578, 0.015725793316960335, 0.03790086880326271, -0.0716840922832489, 0.013644285500049591, -0.053577814251184464, -0.05517128109931946, -0.034943606704473495, -0.00432021077722311, -0.0004392008122522384, -0.0011151640210300684, 0.014153256081044674, 0.024889321997761726, 0.0385747104883194, -0.001574423280544579, 0.01733374036848545, -0.016923198476433754, -0.027733631432056427, 0.03760411590337753, -0.0019306776812300086, -0.04361841455101967, -0.0059292991645634174, 0.0470442920923233, -0.019206667318940163, -0.06553830206394196, -0.055382970720529556, -0.024445833638310432, 0.027901675552129745, -0.04292125999927521, 0.0013019978068768978, -0.03756077587604523, 0.007516211364418268, 0.07776294648647308, -0.050496190786361694, -0.060471825301647186, 0.03384298086166382, -0.08333573490381241, 0.022541925311088562, 0.04013555496931076, -0.025382479652762413, 0.020630845800042152, -0.030472155660390854, 0.04517173394560814, -0.01876833476126194, 0.06529697775840759, -0.022902756929397583, 0.003338069887831807, -0.09171473979949951, -0.004535019863396883, -0.012710489332675934, 0.041610315442085266, 0.05531008914113045, -0.031387366354465485, 0.05331937596201897, 0.025504376739263535, -0.009946348145604134, 0.0472864955663681, -0.017256958410143852, -0.014725993387401104, 0.03486664965748787, -0.05003220587968826, 0.010748476721346378, 0.010358580388128757, 0.03349004313349724, -0.033621516078710556, -0.024060890078544617, -0.017841842025518417, -0.02002171240746975, -0.024683963507413864, 0.012675805017352104, 0.049598705023527145, -0.0019357034470885992, 0.03373567387461662, 0.027700450271368027, 0.017351476475596428, 0.02913358435034752, -0.022731652483344078, 0.06803309172391891, 0.008356353268027306, -0.02585340477526188, -0.005339845549315214, -0.014119042083621025, -0.035512592643499374, 0.0183115117251873, 0.01609606295824051, -0.03975730761885643, -0.04475611075758934, 0.046416256576776505, 0.007676470093429089, -0.0047713955864310265, 0.07081107050180435, -0.019032638520002365, -0.04955143481492996, -0.047905124723911285, 0.040264107286930084, 0.008929078467190266, -0.005311464890837669, 0.007536834571510553, -0.049456097185611725, 0.0011205915361642838, -0.033052243292331696, -0.03712892159819603, 0.0045056636445224285, 0.02871878072619438, -0.004055728670209646, 0.04856390506029129, 0.031980905681848526, -0.0946907177567482, -0.009951152838766575, 0.017339596524834633, -0.025758499279618263, 0.04481647536158562, 0.002917687641456723, 0.12590201199054718, -0.06073962152004242, -0.059372805058956146, 0.026569731533527374, 0.0035746670328080654, -0.030544983223080635, 0.016765911132097244, -0.010766809806227684, -0.03472418338060379, -0.011023652739822865, -0.012010225094854832, 0.055367015302181244, -0.04866986349225044, -0.009341266006231308, 0.05720747262239456, 0.00022252724738791585, 0.036924097687006, -0.06036815047264099, -0.021775534376502037, -0.008668873459100723, 0.002314147772267461, -0.0071524386294186115, 0.03875413164496422, -0.030073381960392, -0.006147331092506647, -0.028673667460680008, -0.028248462826013565, 0.005458774510771036, 0.08310581743717194, -0.013822962529957294, -0.019848864525556564, -0.023147115483880043, 0.033512014895677567, 0.045324377715587616, 0.04101193696260452, -0.033243998885154724, 0.03518150746822357, 0.045796580612659454, 0.025524942204356194, -0.019491519778966904, 0.030111027881503105, 0.01988930068910122, -0.035914771258831024, -0.017046703025698662, 0.027023056522011757, 0.022076135501265526, -0.030178707093000412, 0.01884937845170498, 0.028271157294511795, -0.00012735115888062865, -0.05239873379468918, -0.04128241166472435, 0.050293710082769394, -0.012232464738190174, -0.04115971922874451, 0.007926096208393574, 0.007962076924741268, -0.02412273734807968, 0.05193490907549858, -0.008850494399666786, 0.010481767356395721, -0.003210179740563035, -0.03690469637513161, 0.02779998444020748, 0.021733131259679794, 0.02251298911869526, 0.059342630207538605, 0.0006700808298774064, 0.0905829668045044, -0.028399476781487465, 0.02799089439213276, -0.043440356850624084, -0.04025654122233391, 0.00982468482106924, 0.06343269348144531, 0.05471363291144371, 0.040277592837810516, -0.0023207871709018946, -0.043918244540691376, 0.033842820674180984, 0.058054953813552856, 0.03560090810060501, 0.01576179638504982, -0.02286212518811226, -0.02617649734020233, 0.019880913197994232, 0.04988905042409897, -0.05702255666255951, -0.032677553594112396, 0.02595508098602295, 0.05785717815160751, -0.00043406258919276297, 0.023767104372382164, -0.0013383706100285053, 0.035091545432806015, -0.049951668828725815, -0.07856889814138412, 0.03801939636468887, 0.009045636281371117, -0.00885567907243967, 0.021062664687633514, 0.011851497925817966, 0.005583037156611681, 0.021670235320925713, 0.021119099110364914, 0.0048317634500563145, -0.035718824714422226, 0.018169865012168884, 0.01654130406677723, 0.053073201328516006, -0.03915302827954292, 0.05527857691049576, 0.010968352667987347, 0.014095723628997803, 0.025078153237700462, -0.04178879037499428, 0.01770273968577385, 0.05970301479101181, 0.03829469159245491, -0.031789615750312805, 0.0241997092962265, 0.012015776708722115, 0.051795706152915955, 0.046193961054086685, -0.012804660946130753, 0.0591481477022171, -0.0010827734367921948, 0.04419266805052757, 0.07977153360843658, 0.019164100289344788, 0.035873670130968094, 0.03810146823525429, 0.08906394988298416, -0.0066609494388103485, -0.013971750624477863, 0.06451939046382904, -0.05283792316913605, 0.005834837444126606, -0.02817237749695778, 0.00899677537381649, -0.01836523972451687, -0.011256535537540913, 0.02810503914952278, 0.01181213092058897, -0.04276743531227112, -0.004427257459610701, -0.00535211618989706, -0.02006860449910164, 0.008210009895265102, -0.0053741722367703915, 0.007425205782055855, -0.02053782157599926, -0.0011709494283422828, -0.017801586538553238, -0.0895746722817421, -0.045375678688287735, -0.014641703106462955, -0.02455725707113743, -0.02883870340883732, -0.0902223140001297, -0.0047217244282364845, -0.06251192837953568, -0.022837840020656586, 0.01951625756919384, -0.0050918119959533215, -0.0027455948293209076, -0.047391463071107864, 0.028272951021790504, -0.03754919767379761, -0.04873389005661011, -0.04514939337968826, -0.049953896552324295, -0.04224007949233055, -0.07246804237365723, 0.030499115586280823, 0.024423953145742416, 0.03611193597316742, 0.0007065437384881079, 0.006957832723855972, 0.00609039468690753, -0.03600290045142174, 0.05601552501320839, 0.07104530185461044, -0.0349164679646492, -0.039284832775592804, 0.020174911245703697, -0.004080184735357761, 0.01958555541932583, -0.00427972711622715, -0.019677216187119484, 0.08970340341329575, 0.06603670120239258, 0.016115449368953705, 0.012412484735250473, -0.022292491048574448, -0.04585626721382141, -0.0591120608150959, -0.027966046705842018, -0.043944351375103, -0.019716588780283928, -0.052181828767061234, -0.03487805277109146, -0.017779069021344185, -0.036213625222444534, 0.0016934002051129937, -0.02336343377828598, 0.0019425436621531844, 0.0339483916759491, 0.04583517089486122, 0.0362742654979229, 0.028807226568460464, -0.032094668596982956, -0.05267957225441933, 0.0626651793718338, 0.012072013691067696, 0.00370850064791739, -0.07457005977630615, -0.030558962374925613, 0.018595483154058456, 0.020938323810696602, 0.010362816043198109, -0.005839974153786898, 0.07026130706071854, 0.0024088448844850063, -0.0018784779822453856, 0.01169308926910162, -0.002364616608247161, -0.03524716570973396, 0.014635161496698856, -0.0051757534965872765, -0.014841185882687569, -0.04702586680650711, -0.019794438034296036, -0.0054710498079657555, 0.04993652552366257, -0.05028488114476204, -0.05053470656275749, -0.0038851406425237656, 0.04344485327601433, 0.05882736295461655, -0.023430516943335533, -0.03723562881350517, -0.012384006753563881, -0.04179779067635536, -0.014919275417923927, 0.04323936253786087, 0.011406069621443748, 0.008940967731177807, 0.051446061581373215, 0.00891745463013649, -0.03426840156316757, 0.04586155712604523, 0.04814303293824196, 0.062387581914663315, 0.01050422340631485, -0.06604229658842087, 0.009839203208684921, -0.037540458142757416, 0.028120096772909164, 0.010763846337795258, -0.020411886274814606, -0.026317816227674484, -0.09741438180208206, -0.018991585820913315, 0.0022394824773073196, 0.0016581647796556354, -0.018802162259817123, 0.042407918721437454, 0.002138474490493536, -0.03063247725367546, 0.006752755027264357, 0.01706400141119957, 0.036684028804302216, -0.03867688402533531, 0.03642483428120613, -0.008197911083698273, 0.00756712956354022, -0.03245886042714119, 0.0074227130971848965, -0.03752654045820236, -0.009892355650663376, 0.01598856970667839, 0.06054374948143959, -0.002230171812698245, 0.0642014816403389, 0.09452365338802338, 0.024249978363513947, -0.053358450531959534, 0.03189695626497269, 0.06940837949514389, -0.034517232328653336, -0.05148586258292198, 0.0026790231931954622, -0.01348505262285471, -0.013693542219698429, -0.012991193681955338, -0.0016855302965268493, 0.06655244529247284, 0.04575454443693161, -0.01091923750936985, 0.016756786033511162, 0.006045856513082981, -0.005550970323383808, -0.009340422227978706, -0.04943619668483734, -0.009455535560846329, -0.004390436224639416, -0.02222558669745922, 0.008359541185200214, 0.03477959334850311, 0.008233658969402313, 0.06756562739610672, 0.04301183670759201, -0.03065894916653633, -0.039828021079301834, 0.04009098932147026, 0.017280958592891693, -0.04485604539513588, -0.07211682945489883, -0.03372584283351898, 0.04496486857533455, 0.03391314297914505, -0.01712716557085514, -0.05046667531132698, 0.0052504646591842175, 0.06018158793449402, -0.06066589802503586, 0.027413612231612206, -0.0010191671317443252, 0.03682967275381088, 0.042113468050956726, -0.010707180015742779, 0.028427697718143463, -0.009416444227099419, 0.006541422102600336, 0.0028329226188361645, 0.054869964718818665, 0.005537890829145908, -0.0413285531103611, -0.059689395129680634, 0.015511882491409779, 0.026056142523884773, 0.04687429219484329, 0.040487468242645264, -0.04068876802921295, -0.03944706171751022, 0.023312970995903015, 0.038580749183893204, -0.034553635865449905, 0.008916260674595833, 0.03806378319859505, 0.01870644837617874, -0.058273691684007645, -0.04352497681975365, -0.03151826933026314, -0.008222555741667747, 0.015758376568555832, -0.0071853636763989925, -0.051554400473833084, -0.03710559383034706, 0.03253715857863426, 0.0073938830755651, -0.0009046819759532809, -0.06984445452690125, 0.05664240941405296, -0.0028076216112822294, -0.020612651482224464, 0.052363939583301544, 0.03475603088736534, 0.025558941066265106, 0.07399754971265793, 0.0172562375664711, 0.008894706144928932, -0.032555244863033295, 0.058795977383852005, -0.04314849525690079, -0.0209006667137146, -0.0019077850738540292, -0.048520028591156006, -0.029038909822702408, -0.03238287195563316, -0.05059850960969925, -0.0623617023229599, -0.015294715762138367, 0.021152814850211143, -0.0006229581194929779, -0.022860156372189522, -0.026056207716464996, 0.0443761870265007, -0.007164022419601679, -0.056278835982084274, -0.028116406872868538, -0.032701801508665085, -0.05447586253285408, -0.041548315435647964, 0.02717551775276661, 0.0015797754749655724, 0.02131158672273159, 0.02669236995279789, 0.01632443256676197, 0.018126312643289566, -0.0007305980543605983, -0.03904608264565468, 0.008752496913075447, -0.019059045240283012, -0.018891969695687294, -0.03343680128455162, 0.01735318824648857, 0.021763870492577553, 0.020714586600661278, -0.03069290891289711, 0.03845570236444473, 0.0342971608042717, -0.007053477223962545, -0.006268718745559454, 0.04290445148944855, 0.023892568424344063, -0.05820423364639282, -0.023327818140387535, 0.010719748213887215, -0.03544658422470093, 0.028877055272459984, -0.029268771409988403, -0.01515418291091919, 0.011653035879135132, 0.011009489186108112, 0.02865196205675602, -0.015096893534064293, -0.0231473445892334, 0.02675260603427887, -0.023508934304118156, 0.01918022707104683, -0.05643528327345848, 0.05458243936300278, -0.044717200100421906, 0.022270087152719498, -0.012355157174170017, 0.003139335894957185, -0.043383266776800156, 0.04948001727461815, -0.02789382077753544, -0.030369943007826805, -0.008020888082683086, 0.05354917421936989, -0.021203843876719475, 0.03481733426451683, -0.011401279829442501, 0.017871154472231865, -0.05530637502670288, 0.09239121526479721, -0.03598383069038391, 0.015989456325769424, -0.03165191039443016, 0.0036952628288418055, -0.028607526794075966, 0.02442420832812786, -0.022429417818784714, -0.015334666706621647, 0.020742513239383698, 0.060615964233875275, 0.04098150506615639, 0.027488332241773605, -0.0011672605760395527, -0.00604708306491375, 0.017600342631340027, -0.05392595753073692, -0.028807764872908592, -0.005800903774797916, 0.0011403164826333523, -0.012650701217353344, 0.060999732464551926, 0.028715310618281364, -0.06565965712070465, -0.05313291400671005, 0.0414302684366703, 0.010044192895293236, -0.019752148538827896, 0.007104193326085806, 0.014975171536207199, 0.03540526330471039, 0.04477035626769066, -0.04087938368320465, -0.00782358180731535, 0.00675744004547596, -0.05027370899915695, 0.040083084255456924, -0.008931592106819153, 0.026024507358670235, 0.01292975153774023, -0.03135555610060692, -0.013628018088638783, 0.07025671005249023, 0.020193107426166534, 0.013103576377034187, -0.003803613828495145, -0.045461490750312805, 0.02991509810090065, 0.005065686069428921, -0.04177089035511017, 0.008547605946660042, 0.008078601211309433, -0.02805665135383606, 0.05913000553846359, -0.0003041459422092885, 0.005641370080411434, 0.06020276993513107, 0.03160923719406128, -0.02720663882791996, 0.0721113532781601, -0.01646607182919979, 0.033239174634218216, 0.05270076543092728, -0.065438412129879, -0.01721036434173584, -0.036180365830659866, 0.07100516557693481, -0.07767556607723236, 0.038191091269254684, 0.05462678521871567, 0.006186874117702246, 0.02049834281206131, -0.02137633226811886, -0.045462630689144135, 0.020907538011670113, -0.05093248933553696, 0.07546525448560715, 0.019611530005931854, -0.054574791342020035, 0.05793166533112526, -0.001420885673724115, -0.0651421919465065, 0.03998952731490135, 0.02724894881248474, 0.029185518622398376, 0.04113563522696495, 0.027302775532007217, -0.05179957300424576, 0.015318943187594414, -0.04318675771355629, 0.034087106585502625, -0.04498128220438957, -0.02243804931640625, 0.04914175719022751, -0.0277284923940897, -0.03405258432030678, 0.03387351334095001, 0.0068613397888839245, -0.014486344531178474, 0.05534641817212105, -0.04663502052426338, -0.03547872602939606, -0.010806063190102577, 0.012180269695818424, -0.024086378514766693, 0.01018910575658083, -0.040948327630758286, 0.0016185741405934095, 0.017135364934802055, 0.009673744440078735, -0.0074249207973480225, 0.008183503523468971, 0.053398098796606064, -0.06089683249592781, -0.039654020220041275, 0.02468620054423809, 0.004605547059327364, -0.02184026874601841, 0.04296857863664627, 0.016507329419255257, 0.025095831602811813, 0.022343015298247337, -0.005503753200173378, 0.015904400497674942, -0.0363619364798069, -0.02511456236243248, 0.009894398972392082, -0.010016809217631817, 0.03896225988864899, 0.006035287864506245, 0.031979359686374664, 0.03813517838716507, 0.02373826690018177, -0.013788572512567043, -0.030121268704533577, -0.029031401500105858, 0.030259113758802414, -0.02199145220220089, 0.0017042558174580336, -0.011653788387775421, -0.032859109342098236, -0.04403868317604065, -0.00995873473584652, -0.04717708379030228, 0.02031651698052883, -0.06942423433065414, 0.017083294689655304, 0.017305612564086914, -0.023779965937137604, -0.05351688340306282, -0.08500124514102936, -0.028555290773510933, -0.03022424317896366, -0.0039078546687960625, 0.03010254167020321, -0.02243649959564209, 0.04202023148536682, -0.02749120630323887, -0.0561349131166935, 0.044157080352306366, 0.04393462836742401, -0.03807942196726799, 0.05705612897872925, 0.030483325943350792, -0.03960094973444939, -0.005256068427115679, 0.043526895344257355, -0.045252829790115356, 0.0026199030689895153, 0.0031409868970513344, 0.01060391403734684, 0.018114391714334488, -0.0008459928794763982, -0.05640314146876335, -0.01597093977034092, -0.06405390799045563, -0.05524054542183876, -0.051340337842702866, 0.015826504677534103, 0.07339326292276382 ]
Anders/itu-ams-summa
[]
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
2020-12-14T07:29:42Z
--- language: - zh thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png tags: - pytorch - token-classification - albert - zh license: gpl-3.0 --- # CKIP ALBERT Base Chinese This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition). 這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。 ## Homepage - https://github.com/ckiplab/ckip-transformers ## Contributers - [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer) ## Usage Please use BertTokenizerFast as tokenizer instead of AutoTokenizer. 請使用 BertTokenizerFast 而非 AutoTokenizer。 ``` from transformers import ( BertTokenizerFast, AutoModel, ) tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese') model = AutoModel.from_pretrained('ckiplab/albert-base-chinese-ner') ``` For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers. 有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。
[ -0.04202787205576897, -0.020093321800231934, -0.014257206581532955, 0.03669353574514389, 0.041352108120918274, 0.005202284548431635, -0.003258654149249196, -0.004217070993036032, -0.048515863716602325, 0.06257696449756622, 0.014748452231287956, -0.008014198392629623, -0.012226521037518978, 0.04574018716812134, -0.022997595369815826, -0.028670012950897217, -0.02043965458869934, -0.010175114497542381, -0.04867054149508476, -0.03327620401978493, -0.01293885800987482, 0.007084020413458347, 0.00637006526812911, -0.0003721121174748987, -0.007987039163708687, 0.026292316615581512, -0.0014113591751083732, 0.02085494063794613, 0.044232822954654694, -0.06909594684839249, -0.009615730494260788, -0.042572021484375, -0.028597524389624596, -0.014043561182916164, -0.03707015886902809, -0.009139571338891983, 0.0200659167021513, -0.004474373999983072, 0.037244029343128204, 0.060704976320266724, -0.008602311834692955, -0.009329286403954029, 0.0019623846746981144, -0.04166833311319351, 0.051300887018442154, 0.014886129647493362, -0.024155985563993454, 0.0090712271630764, 0.05069836974143982, -0.011097061447799206, -0.055347517132759094, -0.04322333633899689, -0.046837832778692245, 0.02264677919447422, -0.018569838255643845, -0.022953396663069725, -0.07111364603042603, -0.02982325479388237, 0.06957221776247025, -0.04654989391565323, -0.031202144920825958, 0.0048037245869636536, -0.06319552659988403, 0.03486809879541397, 0.03224118426442146, -0.04004058241844177, 0.0156394075602293, -0.015361380763351917, 0.040167711675167084, -0.02260250598192215, 0.05336866155266762, -0.016027400270104408, -0.0011577177792787552, -0.1036863774061203, 0.0037823026068508625, -0.02077629044651985, 0.02644512616097927, 0.03286340460181236, -0.03141921013593674, 0.03450478985905647, 0.014491808600723743, 0.00987121183425188, 0.027409439906477928, -0.03514987975358963, -0.008993915282189846, 0.03773599490523338, -0.05268637463450432, 0.013790180906653404, 0.022530995309352875, 0.06969267874956131, -0.04649624228477478, -0.036001358181238174, -0.020597614347934723, -0.01707160845398903, -0.030859675258398056, 0.00836229044944048, 0.05869589000940323, 0.00002690688233997207, 0.03955969959497452, 0.03378380835056305, 0.044176775962114334, 0.04847092181444168, -0.006023196037858725, 0.03370627015829086, 0.007983057759702206, -0.004894223064184189, -0.0020578070543706417, -0.021610185503959656, -0.04192109405994415, 0.0529564805328846, 0.042411189526319504, -0.024528557434678078, -0.029898200184106827, 0.032135166227817535, 0.021828986704349518, -0.02798382192850113, 0.04497385025024414, -0.022650238126516342, -0.02537589520215988, -0.06158071756362915, 0.05988176167011261, 0.011275879107415676, 0.016046574339270592, -0.009905318729579449, -0.031096456572413445, 0.02063770219683647, -0.044141098856925964, -0.020154446363449097, -0.012435130774974823, 0.02272016927599907, -0.0076474943198263645, 0.04640192165970802, 0.013682634569704533, -0.029180681332945824, 0.018878735601902008, 0.026563653722405434, -0.052295882254838943, 0.07972985506057739, 0.009756187908351421, 0.09712588042020798, -0.07792213559150696, -0.036678511649370193, 0.01430624257773161, -0.000845717906486243, -0.027753621339797974, 0.0018166927620768547, 0.024382198229432106, -0.05981983616948128, -0.029894156381487846, -0.014437511563301086, 0.05868490785360336, -0.058616094291210175, 0.005021362565457821, 0.04902644082903862, -0.021373175084590912, 0.03596843034029007, -0.03934909775853157, 0.00019347795750945807, -0.006120711099356413, -0.01151510514318943, -0.06811625510454178, 0.046417731791734695, -0.015123548917472363, -0.006775521207600832, -0.056175168603658676, -0.031924083828926086, 0.008570529520511627, 0.09460664540529251, 0.006851592101156712, -0.014879412017762661, -0.02215290442109108, 0.03294488415122032, 0.045492541044950485, 0.023713570088148117, -0.04471803829073906, 0.04230056703090668, 0.06670540571212769, 0.034340277314186096, -0.0315471887588501, 0.08333928138017654, 0.02893638052046299, -0.04090630263090134, -0.0196392685174942, 0.007981841452419758, -0.0070342267863452435, -0.03435121476650238, 0.008928212337195873, 0.034890998154878616, -0.012557418085634708, -0.04597335308790207, -0.00030721889925189316, 0.05628775805234909, 0.00906744971871376, 0.006300267763435841, 0.009956405498087406, -0.006341855973005295, -0.016618145629763603, 0.03712605684995651, -0.04104432091116905, -0.01506603229790926, -0.026649804785847664, -0.021802613511681557, -0.011376677080988884, 0.0319511778652668, 0.04889398813247681, 0.04973622038960457, -0.005210139788687229, 0.06227664276957512, -0.01970355585217476, 0.0010393039556220174, -0.04111139848828316, -0.038408320397138596, 0.023152675479650497, 0.03375524654984474, 0.01348655391484499, 0.047142233699560165, 0.0007801406900398433, -0.037553008645772934, 0.031347453594207764, 0.052864909172058105, 0.04539145901799202, 0.03777829930186272, -0.03249967843294144, -0.007328821811825037, 0.01109301671385765, 0.05956088379025459, -0.07979381829500198, -0.03216439485549927, 0.02684693969786167, 0.049045298248529434, -0.007689943071454763, 0.048376016318798065, -0.007608075626194477, 0.010305636562407017, -0.06344515085220337, -0.06543813645839691, 0.04366390034556389, 0.017732547596096992, 0.012113149277865887, 0.04212146997451782, -0.014383264817297459, 0.006472879089415073, -0.005713321268558502, 0.013064495287835598, 0.002130236243829131, -0.048034071922302246, 0.0010213447967544198, 0.028495343402028084, 0.039482325315475464, -0.0390113964676857, 0.043857838958501816, -0.005228626076132059, 0.028300799429416656, 0.04233319312334061, -0.022689322009682655, 0.03011305443942547, -0.0014031963655725121, 0.015089519321918488, -0.024567456915974617, 0.04759085550904274, -0.018131960183382034, 0.03357941284775734, 0.07473800331354141, 0.012740157544612885, 0.0594046413898468, -0.017582952976226807, 0.058659400790929794, 0.07810022681951523, 0.024689145386219025, 0.037074893712997437, 0.046774111688137054, 0.07761207967996597, 0.019018778577446938, -0.008638513274490833, 0.07463539391756058, -0.008412585593760014, 0.016421863809227943, -0.05873356759548187, 0.022100571542978287, -0.008468634448945522, -0.026537861675024033, 0.024850238114595413, -0.00175226922146976, 0.002152238506823778, 0.011008969508111477, -0.022688092663884163, -0.0014157536206766963, 0.0668334886431694, 0.01930375024676323, -0.0029111704789102077, 0.027267305180430412, -0.023811034858226776, -0.006846381351351738, -0.09075271338224411, -0.04442419111728668, 0.001860794727690518, -0.037458814680576324, 0.011908684857189655, -0.08159790188074112, -0.012284901924431324, -0.06591630727052689, -0.02014729753136635, 0.03856006637215614, 0.026295827701687813, 0.003934913314878941, -0.044014547020196915, 0.042340684682130814, -0.057976145297288895, -0.01984698884189129, -0.045678120106458664, -0.03538232296705246, -0.024604203179478645, -0.07723262161016464, 0.04069836810231209, -0.00676190247759223, 0.013952765613794327, 0.01152742002159357, -0.010901174508035183, -0.03556342050433159, -0.013826985843479633, 0.05079597234725952, 0.03659913316369057, -0.04393409192562103, -0.040253061801195145, 0.02767789363861084, -0.022092066705226898, 0.028074737638235092, 0.013044953346252441, -0.022008195519447327, 0.08693113923072815, 0.09031887352466583, 0.007995139807462692, 0.005841095931828022, -0.01735767349600792, -0.04892153665423393, -0.04943247511982918, -0.02714076079428196, -0.04090815782546997, -0.002318852348253131, -0.0228237546980381, -0.03840215504169464, -0.0119994031265378, -0.033794552087783813, -0.012449928559362888, 0.001728323521092534, 0.00653394591063261, 0.025059601292014122, 0.046944838017225266, 0.02637687511742115, 0.03951415792107582, -0.01746705174446106, -0.03700772300362587, 0.0636487603187561, 0.00460422970354557, 0.004546013195067644, -0.08800625801086426, -0.021395009011030197, 0.055222149938344955, 0.03373553603887558, 0.004762168508023024, -0.027988692745566368, 0.07330944389104843, 0.006342075299471617, -0.015328161418437958, 0.0021169797983020544, -0.014350969344377518, -0.009610500186681747, -0.011945716105401516, -0.007065704558044672, -0.017040684819221497, -0.0562867596745491, -0.03108140639960766, -0.005151741672307253, 0.04209155589342117, -0.07059478014707565, -0.05731486529111862, -0.02327658236026764, 0.04459449648857117, 0.00036393970367498696, -0.003278751391917467, -0.04320595785975456, 0.0066506280563771725, -0.049972016364336014, -0.030711961910128593, -0.010463467799127102, 0.0020377126056700945, 0.014729125425219536, 0.06189648434519768, 0.024206344038248062, -0.03229391202330589, 0.012981503270566463, 0.04242945834994316, 0.06575552374124527, 0.01832840032875538, -0.048147302120923996, 0.006895603612065315, -0.0205279141664505, 0.02663484215736389, -0.006693491246551275, -0.034215785562992096, -0.03829971328377724, -0.07997725903987885, -0.007541942410171032, -0.013287844136357307, -0.022056730464100838, -0.014073161408305168, 0.036668889224529266, -0.02510696090757847, 0.0167215708643198, 0.019800633192062378, 0.033866848796606064, 0.04951329156756401, -0.05166930705308914, 0.07124247401952744, -0.0009501189342699945, 0.060851842164993286, -0.04481890797615051, 0.010276870802044868, -0.03501460701227188, 0.005468409042805433, -0.022700242698192596, 0.05452067032456398, 0.033102452754974365, 0.033891163766384125, 0.06965140253305435, 0.020918933674693108, -0.043161410838365555, 0.03664175793528557, 0.03214651346206665, 0.003085511038079858, -0.04511752352118492, 0.01269934605807066, -0.029899904504418373, -0.04469739645719528, 0.0163919348269701, -0.02694004774093628, 0.009092194028198719, 0.05032498016953468, 0.015231797471642494, -0.00010690092312870547, 0.01577102579176426, 0.002450760221108794, -0.04791659489274025, -0.07949104905128479, -0.006956583354622126, 0.022861042991280556, -0.03316701203584671, 0.005197030957788229, 0.03521748632192612, 0.01592227816581726, 0.06345554441213608, 0.04623127728700638, -0.01554153487086296, -0.03381707891821861, 0.0481518916785717, 0.03187363222241402, -0.047321490943431854, -0.0735451951622963, -0.05126890912652016, 0.04288762807846069, 0.04945052042603493, -0.00538422167301178, -0.07555204629898071, 0.011860083788633347, 0.05062705650925636, -0.03790733963251114, 0.07813470810651779, -0.01227751187980175, 0.027462920174002647, 0.05967524275183678, -0.031155947595834732, 0.010425908491015434, -0.024557746946811676, -0.0017030651215463877, 0.010126582346856594, 0.034456174820661545, -0.05352995917201042, -0.05306254327297211, -0.03832362964749336, 0.015036730095744133, 0.03358643501996994, 0.04833593592047691, 0.038412246853113174, -0.027539115399122238, -0.05953967198729515, 0.03098389320075512, 0.030906131491065025, -0.040806397795677185, 0.015282552689313889, 0.020981116220355034, 0.05509629845619202, -0.040162812918424606, -0.03338705003261566, -0.019412780180573463, -0.0004189623869024217, 0.03334292396903038, 0.008664085529744625, -0.037066809833049774, -0.03590173274278641, 0.02785317972302437, -0.021699747070670128, -0.009209353476762772, -0.07558660954236984, 0.030676444992423058, -0.03217624872922897, -0.013621672056615353, 0.07205165922641754, 0.028156407177448273, 0.032500240951776505, 0.035698648542165756, 0.003068096935749054, 0.0047686477191746235, -0.045436080545186996, 0.030882660299539566, -0.02651817910373211, -0.007832057774066925, -0.010716752149164677, -0.025946898385882378, 0.008503513410687447, -0.030301766470074654, -0.06773068010807037, -0.04484933987259865, 0.0005193005199544132, 0.03323566913604736, -0.01169567834585905, -0.0047621289268136024, -0.008879480883479118, 0.03833647444844246, -0.0390947163105011, -0.024705689400434494, -0.043949078768491745, -0.0273977592587471, -0.06872177869081497, -0.05441168323159218, 0.002815166488289833, 0.017931275069713593, 0.04393669217824936, -0.015412699431180954, 0.003575555281713605, 0.019619792699813843, -0.015270438976585865, -0.022865772247314453, 0.029882516711950302, 0.011748977936804295, -0.034530047327280045, -0.024168625473976135, 0.0127719696611166, 0.011905083432793617, 0.015953293070197105, -0.025248514488339424, 0.02416291832923889, 0.029515651986002922, -0.01609443500638008, -0.027819799259305, -0.005936737172305584, 0.007441823370754719, -0.09131000936031342, -0.04624132439494133, -0.014127851463854313, -0.0412602499127388, 0.02906588651239872, -0.04292093589901924, -0.03760095313191414, 0.02321959286928177, 0.03523441404104233, 0.036551106721162796, -0.01993407867848873, 0.0004314332618378103, 0.02176954597234726, -0.024525951594114304, 0.03459778055548668, -0.03697316348552704, 0.03946864604949951, -0.025658156722784042, 0.012787997722625732, -0.015174491330981255, -0.000527181604411453, -0.052442844957113266, 0.026034926995635033, -0.019133636727929115, -0.02785414457321167, -0.010268718004226685, 0.013075495138764381, -0.05054839700460434, 0.02728116698563099, -0.0048157465644180775, 0.03735547512769699, -0.0253231730312109, 0.043649256229400635, -0.054140906780958176, 0.005035875830799341, -0.027087349444627762, 0.01578492857515812, -0.037487030029296875, -0.03812027350068092, 0.008002488873898983, -0.03916796296834946, 0.03405402600765228, 0.03912632539868355, 0.012956274673342705, 0.007902608253061771, -0.01577887497842312, 0.007549858186393976, 0.02083076536655426, -0.06745284795761108, -0.018409697338938713, -0.03144286200404167, -0.004906909540295601, -0.007005870807915926, 0.02742782048881054, 0.043646059930324554, -0.044809740036726, -0.047063957899808884, 0.03969729319214821, 0.026627179235219955, 0.015586430206894875, -0.004614183213561773, 0.0541560985147953, 0.02760307304561138, 0.03690117597579956, -0.026064984500408173, 0.01706530712544918, -0.0014837568160146475, -0.03188959136605263, 0.026147162541747093, 0.012956126593053341, 0.049322064965963364, -0.010174766182899475, -0.02189960516989231, -0.04487476870417595, 0.09256283938884735, 0.027431853115558624, 0.027892986312508583, 0.0038983067497611046, -0.05517036095261574, 0.025638079270720482, -0.010602936148643494, -0.04910524934530258, 0.00265857158228755, 0.02146804891526699, -0.04933551326394081, 0.08359985053539276, -0.01211007870733738, 0.02052658423781395, 0.0037423360627144575, 0.012543918564915657, 0.017740193754434586, 0.031370941549539566, -0.04597273841500282, 0.008150377310812473, -0.0003782629792112857, -0.03925589472055435, -0.011561169289052486, -0.01716478355228901, 0.041212525218725204, -0.05161614716053009, 0.05046439170837402, 0.04939643666148186, 0.014546528458595276, 0.008699174970388412, -0.033828310668468475, -0.029879970476031303, 0.037496358156204224, -0.05433393642306328, 0.06778692454099655, -0.013865851797163486, -0.08022977411746979, 0.041487596929073334, 0.03575855493545532, -0.0620771162211895, 0.03619670122861862, 0.04451106861233711, 0.03521381691098213, 0.03227311000227928, 0.052584465593099594, -0.05926518514752388, 0.001748338807374239, -0.05867929756641388, 0.013571982271969318, -0.07469647377729416, -0.009717445820569992, 0.027754535898566246, -0.026678765192627907, -0.02471407689154148, 0.032767403870821, -0.006006079725921154, -0.00006701809616060928, 0.01717494986951351, -0.051983803510665894, -0.048219550400972366, -0.0014087463496252894, 0.009937367402017117, -0.017488762736320496, 0.02327084168791771, -0.03405856341123581, 0.019254891201853752, 0.0039859977550804615, -0.003989665303379297, -0.03735894709825516, 0.024461381137371063, 0.040255334228277206, -0.04895611107349396, -0.054347213357686996, 0.0537649542093277, 0.006148962769657373, -0.0297312680631876, 0.04254252836108208, -0.02574992924928665, 0.024644101038575172, 0.008924514055252075, 0.026204098016023636, 0.010084032081067562, -0.038974177092313766, -0.010457638651132584, 0.0042513152584433556, 0.037014491856098175, 0.01864578388631344, -0.0025965627282857895, 0.02814859338104725, 0.0370059609413147, 0.03514118120074272, -0.0011872780742123723, -0.04117437079548836, -0.02701832540333271, 0.037054743617773056, -0.02152923122048378, 0.031241361051797867, 0.025403091683983803, -0.057865340262651443, -0.041993334889411926, -0.01935727894306183, -0.01037091389298439, 0.05240083485841751, -0.030481673777103424, 0.004704888444393873, 0.040820542722940445, 0.0014031215105205774, -0.035927075892686844, -0.06707586348056793, -0.015004835091531277, -0.041590359061956406, 0.015408823266625404, 0.02724979817867279, -0.04336221516132355, 0.00406714528799057, -0.03855561465024948, -0.0706062838435173, 0.03595411777496338, 0.020197372883558273, -0.043029166758060455, 0.06973496824502945, 0.04136105999350548, -0.03666836768388748, 0.004854787606745958, 0.00009556281293043867, -0.056290749460458755, 0.02439161203801632, 0.02054651640355587, 0.01222203578799963, 0.053103744983673096, 0.022778861224651337, 0.00465034507215023, -0.02757612057030201, -0.07030564546585083, -0.012550336308777332, -0.03991401195526123, -0.006199807394295931, 0.05491747707128525 ]
Andi/bert-tt-ner-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
null
--- language: - zh thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png tags: - pytorch - token-classification - albert - zh license: gpl-3.0 --- # CKIP ALBERT Base Chinese This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition). 這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。 ## Homepage - https://github.com/ckiplab/ckip-transformers ## Contributers - [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer) ## Usage Please use BertTokenizerFast as tokenizer instead of AutoTokenizer. 請使用 BertTokenizerFast 而非 AutoTokenizer。 ``` from transformers import ( BertTokenizerFast, AutoModel, ) tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese') model = AutoModel.from_pretrained('ckiplab/albert-base-chinese-pos') ``` For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers. 有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。
[ -0.04145118221640587, -0.019832292571663857, -0.013752064667642117, 0.035559989511966705, 0.04182784631848335, 0.0047996132634580135, -0.0028374232351779938, -0.0033502529840916395, -0.04852652922272682, 0.06280720978975296, 0.014394762925803661, -0.008061532862484455, -0.012325002811849117, 0.04591122642159462, -0.02219340391457081, -0.029553301632404327, -0.020103536546230316, -0.009805681183934212, -0.04859567806124687, -0.03334891423583031, -0.012623792514204979, 0.006000880617648363, 0.00553875882178545, -0.0015133434208109975, -0.009160102345049381, 0.026222312822937965, -0.0016191318864002824, 0.020528119057416916, 0.04408859834074974, -0.06982747465372086, -0.009939996525645256, -0.04231017082929611, -0.028377866372466087, -0.014340543188154697, -0.03778458014130592, -0.009377297013998032, 0.020365076139569283, -0.004978466778993607, 0.03798136115074158, 0.061537887901067734, -0.009412532672286034, -0.009792952798306942, 0.002264724811539054, -0.04229351878166199, 0.051445916295051575, 0.014700996689498425, -0.02437225542962551, 0.00902722030878067, 0.05117597430944443, -0.010080418549478054, -0.05545938387513161, -0.04179804027080536, -0.046344686299562454, 0.021849598735570908, -0.018366850912570953, -0.02355780079960823, -0.0707133486866951, -0.02956501767039299, 0.06967289745807648, -0.04597765579819679, -0.0324125699698925, 0.0036628555972129107, -0.06340470165014267, 0.03537951782345772, 0.031230006366968155, -0.040082234889268875, 0.015474884770810604, -0.015490309335291386, 0.04063522815704346, -0.022597715258598328, 0.05297102779150009, -0.015258721075952053, -0.0014098577667027712, -0.10421248525381088, 0.0038821331690996885, -0.02097744308412075, 0.02603418380022049, 0.0327942930161953, -0.03131343796849251, 0.03440087288618088, 0.015074449591338634, 0.01032256055623293, 0.027569135650992393, -0.033924736082553864, -0.009125412441790104, 0.03721172362565994, -0.05282541364431381, 0.013471285812556744, 0.0221683531999588, 0.06992045789957047, -0.045213501900434494, -0.035889361053705215, -0.020551616325974464, -0.017255088314414024, -0.030508978292346, 0.008364499546587467, 0.05945812910795212, -0.0005213721306063235, 0.04013292118906975, 0.03377770259976387, 0.04286478832364082, 0.04963910952210426, -0.006514131557196379, 0.0332815982401371, 0.008358906023204327, -0.003840035293251276, -0.0023574000224471092, -0.02197052724659443, -0.0425320640206337, 0.053954076021909714, 0.04244383051991463, -0.02359921485185623, -0.030193161219358444, 0.031727276742458344, 0.021710222586989403, -0.0279841385781765, 0.044535279273986816, -0.02303311787545681, -0.024926505982875824, -0.061933644115924835, 0.060717031359672546, 0.011563423089683056, 0.01593872904777527, -0.010416208766400814, -0.031466491520404816, 0.020821277052164078, -0.04456902667880058, -0.020018741488456726, -0.011991743929684162, 0.023507116362452507, -0.007372989784926176, 0.045158497989177704, 0.013825942762196064, -0.029137838631868362, 0.019583337008953094, 0.02635928802192211, -0.05279890447854996, 0.07927811145782471, 0.00985597912222147, 0.09624125063419342, -0.0778736025094986, -0.03639266639947891, 0.015034004114568233, -0.0009801981505006552, -0.028155643492937088, 0.0015728884609416127, 0.025219397619366646, -0.05965371057391167, -0.029466578736901283, -0.014312965795397758, 0.059700556099414825, -0.058278150856494904, 0.004955639597028494, 0.04904765635728836, -0.02199734002351761, 0.03560822457075119, -0.03928040713071823, -0.0004121045640204102, -0.005615066271275282, -0.012278742156922817, -0.06796190142631531, 0.04671204835176468, -0.015102285891771317, -0.006177856121212244, -0.056768499314785004, -0.031079500913619995, 0.008443714119493961, 0.09399743378162384, 0.006330123636871576, -0.015153435990214348, -0.022092340514063835, 0.03286842629313469, 0.045528363436460495, 0.023564202710986137, -0.04597407951951027, 0.04151381924748421, 0.0667310357093811, 0.03286897391080856, -0.031975071877241135, 0.0839727371931076, 0.029421215876936913, -0.04106100648641586, -0.01982981525361538, 0.008033921010792255, -0.00677443016320467, -0.03511862829327583, 0.008772277273237705, 0.03400186821818352, -0.012489221058785915, -0.04545852914452553, -0.0003959950990974903, 0.056335896253585815, 0.009015806019306183, 0.0069516366347670555, 0.010039271786808968, -0.0074277715757489204, -0.016205795109272003, 0.03736206144094467, -0.04047330841422081, -0.015050855465233326, -0.02627384476363659, -0.02235794998705387, -0.011094041168689728, 0.03287876769900322, 0.048971083015203476, 0.05032810941338539, -0.005017714109271765, 0.06239556893706322, -0.019591206684708595, 0.0012213585432618856, -0.04141973331570625, -0.03772192448377609, 0.023074530065059662, 0.033386632800102234, 0.013658499345183372, 0.04702023044228554, 0.0009749641176313162, -0.0371815487742424, 0.032339658588171005, 0.053026825189590454, 0.04463443160057068, 0.03832520917057991, -0.032691482454538345, -0.00609952537342906, 0.01100259367376566, 0.058916185051202774, -0.07950267195701599, -0.0322149358689785, 0.02775556594133377, 0.050044022500514984, -0.009363974444568157, 0.047433216124773026, -0.00730277132242918, 0.01071076188236475, -0.06314311921596527, -0.06486218422651291, 0.04393838718533516, 0.017599251121282578, 0.012185858562588692, 0.042338836938142776, -0.01455209031701088, 0.00613844720646739, -0.0045487284660339355, 0.012824506498873234, 0.0019511986756697297, -0.04735909774899483, 0.001029765116982162, 0.029103180393576622, 0.03943171724677086, -0.03847283869981766, 0.0434141531586647, -0.0047370963729918, 0.028548631817102432, 0.04321214184165001, -0.022371819242835045, 0.030399370938539505, 0.00025559720234014094, 0.014872726052999496, -0.02420937269926071, 0.04801230505108833, -0.018732791766524315, 0.032783348113298416, 0.07515280693769455, 0.01331940945237875, 0.06008591875433922, -0.01822473295032978, 0.0576636902987957, 0.07822500914335251, 0.02458229660987854, 0.03769379481673241, 0.04668913036584854, 0.07835835963487625, 0.019656985998153687, -0.008509635925292969, 0.07469173520803452, -0.008935141377151012, 0.016587506979703903, -0.05902468040585518, 0.022609997540712357, -0.008446942083537579, -0.02674800716340542, 0.0254848450422287, -0.001724685775116086, 0.0016752970404922962, 0.010608652606606483, -0.022691814228892326, -0.0028069010004401207, 0.06659426540136337, 0.019559631124138832, -0.002647091168910265, 0.02781755104660988, -0.02277868427336216, -0.006286422722041607, -0.09098388254642487, -0.04420488327741623, 0.0013255049707368016, -0.037746526300907135, 0.012163073755800724, -0.08223866671323776, -0.011591406539082527, -0.06596056371927261, -0.019518470391631126, 0.03815380483865738, 0.025886673480272293, 0.004070291295647621, -0.04384782910346985, 0.042145173996686935, -0.05773737281560898, -0.019446751102805138, -0.04563488811254501, -0.03556131199002266, -0.02506984770298004, -0.07682380825281143, 0.04092257469892502, -0.006905352231115103, 0.012897083535790443, 0.012071904726326466, -0.010137893259525299, -0.03547848016023636, -0.012545307166874409, 0.0509977862238884, 0.036455947905778885, -0.04321986809372902, -0.04036335647106171, 0.029015617445111275, -0.022192945703864098, 0.028262941166758537, 0.013436608016490936, -0.021967994049191475, 0.08738796412944794, 0.08962775766849518, 0.007726146839559078, 0.006127526052296162, -0.017443528398871422, -0.04954902455210686, -0.04912784323096275, -0.028352314606308937, -0.040444616228342056, -0.0016577891074120998, -0.022250359877943993, -0.03822856396436691, -0.01208589132875204, -0.03333931043744087, -0.011946718208491802, 0.0015094648115336895, 0.007533429190516472, 0.025540582835674286, 0.04694490507245064, 0.025788336992263794, 0.03955652937293053, -0.017517898231744766, -0.03687211498618126, 0.06389780342578888, 0.004849315620958805, 0.004110881593078375, -0.08753092586994171, -0.02182278409600258, 0.05490446835756302, 0.03348410502076149, 0.005383655428886414, -0.028062954545021057, 0.07256149500608444, 0.006574621424078941, -0.015222104266285896, 0.0026819738559424877, -0.014175434596836567, -0.010255364701151848, -0.011142412200570107, -0.007445241324603558, -0.017374031245708466, -0.05614707991480827, -0.030512593686580658, -0.00579766184091568, 0.041674256324768066, -0.07052511721849442, -0.058202989399433136, -0.02300425060093403, 0.04495377093553543, -0.00009305326966568828, -0.0029007454868406057, -0.042819544672966, 0.006369499955326319, -0.04968998208642006, -0.030710017308592796, -0.010775923728942871, 0.00292014516890049, 0.0150774409994483, 0.06108400225639343, 0.024029728025197983, -0.03217557445168495, 0.012548382394015789, 0.0428142249584198, 0.06620445847511292, 0.017825517803430557, -0.04757395386695862, 0.007830474525690079, -0.021246222779154778, 0.026191527023911476, -0.007104778196662664, -0.03365654498338699, -0.0379529669880867, -0.08053356409072876, -0.007198995910584927, -0.013667047023773193, -0.022084442898631096, -0.013402086682617664, 0.036866430193185806, -0.02476281113922596, 0.01585131138563156, 0.019773464649915695, 0.032605450600385666, 0.04961581155657768, -0.051574043929576874, 0.07168887555599213, -0.0011449940502643585, 0.06106642261147499, -0.044077105820178986, 0.010742949321866035, -0.03481152653694153, 0.005231359973549843, -0.023265447467565536, 0.05500870943069458, 0.03392304480075836, 0.033590637147426605, 0.06949035823345184, 0.021344872191548347, -0.043353207409381866, 0.03702152147889137, 0.032245926558971405, 0.0031502738129347563, -0.04555559530854225, 0.012346827425062656, -0.02940632961690426, -0.04403231292963028, 0.01702801324427128, -0.026605984196066856, 0.009397337213158607, 0.05084853619337082, 0.015585476532578468, -0.0002902341657318175, 0.015088710933923721, 0.0023076748475432396, -0.04851532354950905, -0.0807422399520874, -0.008945303037762642, 0.022222595289349556, -0.032694168388843536, 0.004653676878660917, 0.035159632563591, 0.015599634498357773, 0.06340978294610977, 0.045837242156267166, -0.01544919889420271, -0.03407443314790726, 0.04745165631175041, 0.03255630284547806, -0.046794891357421875, -0.07309018820524216, -0.05283631756901741, 0.04301537573337555, 0.049240730702877045, -0.005058285314589739, -0.07582154870033264, 0.011269144713878632, 0.050308339297771454, -0.037358060479164124, 0.07850077748298645, -0.011767259798943996, 0.027133671566843987, 0.05858370661735535, -0.03135859593749046, 0.010243509896099567, -0.02456895262002945, -0.002301863394677639, 0.010361488908529282, 0.03428230062127113, -0.053573984652757645, -0.05292731896042824, -0.0378243662416935, 0.01520546618849039, 0.03280513361096382, 0.04885437712073326, 0.0388345792889595, -0.027824556455016136, -0.05997146666049957, 0.030106669291853905, 0.03000052273273468, -0.041689492762088776, 0.01464264839887619, 0.02086360566318035, 0.05475635081529617, -0.04043611139059067, -0.03288713097572327, -0.01900745928287506, -0.00039345238474197686, 0.03341907635331154, 0.008616258390247822, -0.03764818608760834, -0.035909634083509445, 0.028015688061714172, -0.022178519517183304, -0.009839263744652271, -0.07591433823108673, 0.03096052072942257, -0.03231971338391304, -0.012984031811356544, 0.0716821476817131, 0.027611810714006424, 0.03225606307387352, 0.03707423806190491, 0.0024500989820808172, 0.005420409142971039, -0.046053897589445114, 0.030727097764611244, -0.026011599227786064, -0.007795762736350298, -0.009995515458285809, -0.02669595554471016, 0.008618718944489956, -0.03012184239923954, -0.06820342689752579, -0.045168641954660416, 0.0006107459194026887, 0.03293830156326294, -0.011375763453543186, -0.005036625079810619, -0.008754739537835121, 0.03829699754714966, -0.037875574082136154, -0.02402850054204464, -0.04339514300227165, -0.027875816449522972, -0.06871915608644485, -0.05478707700967789, 0.002934928284958005, 0.018089551478624344, 0.044897209852933884, -0.014929201453924179, 0.0034827457275241613, 0.01987563818693161, -0.01508923526853323, -0.02161678858101368, 0.029687700793147087, 0.011775015853345394, -0.033877983689308167, -0.02421479858458042, 0.012325560674071312, 0.012719336897134781, 0.01630586013197899, -0.025534121319651604, 0.02394655905663967, 0.029623879119753838, -0.016213294118642807, -0.02827460691332817, -0.005406410899013281, 0.006752815563231707, -0.09108195453882217, -0.04652921110391617, -0.014070667326450348, -0.041168127208948135, 0.028910282999277115, -0.04307912290096283, -0.038595374673604965, 0.022656911984086037, 0.03597826883196831, 0.03639936447143555, -0.01938067004084587, -0.00003433664096519351, 0.020769333466887474, -0.024979624897241592, 0.034215305000543594, -0.03643234074115753, 0.03929397091269493, -0.025373177602887154, 0.012229318730533123, -0.013975278474390507, -0.000937583448830992, -0.05224987119436264, 0.025719044730067253, -0.017450956627726555, -0.028111113235354424, -0.011858628131449223, 0.013349196873605251, -0.04992612078785896, 0.02733764797449112, -0.004644078202545643, 0.03791947662830353, -0.02508178912103176, 0.0430358350276947, -0.05416055768728256, 0.0054347217082977295, -0.02714339643716812, 0.016621874645352364, -0.038334671407938004, -0.0380161814391613, 0.008319005370140076, -0.03979627415537834, 0.03310220688581467, 0.03849010914564133, 0.013785822317004204, 0.007421633694320917, -0.015498725697398186, 0.00700994860380888, 0.021827315911650658, -0.06794974207878113, -0.018034586682915688, -0.031289055943489075, -0.005895968060940504, -0.006228496786206961, 0.026729028671979904, 0.04397319629788399, -0.04368174821138382, -0.047360341995954514, 0.038811177015304565, 0.027601366862654686, 0.01632753573358059, -0.004992245230823755, 0.054043836891651154, 0.028876174241304398, 0.036538250744342804, -0.026515590026974678, 0.0181027352809906, -0.0008790718275122344, -0.03128810226917267, 0.02588271163403988, 0.014039617963135242, 0.050457846373319626, -0.009951510466635227, -0.022380830720067024, -0.04424617439508438, 0.09175286442041397, 0.02690972201526165, 0.027947761118412018, 0.003500455291941762, -0.0548490434885025, 0.02617243118584156, -0.010330434888601303, -0.04989788681268692, 0.002498436253517866, 0.02117231674492359, -0.049151334911584854, 0.08404296636581421, -0.012959405779838562, 0.020933957770466805, 0.0036520897410809994, 0.012147597968578339, 0.017903165891766548, 0.0314357653260231, -0.04542844370007515, 0.008558142930269241, -0.00005315056478139013, -0.03951650485396385, -0.011740350164473057, -0.017102865502238274, 0.04100606590509415, -0.05130809172987938, 0.050448473542928696, 0.049441780894994736, 0.01453160960227251, 0.00842563807964325, -0.03241917863488197, -0.030914710834622383, 0.037121981382369995, -0.05431929975748062, 0.06758038699626923, -0.014044258743524551, -0.0805024802684784, 0.041147179901599884, 0.03556167706847191, -0.06114343926310539, 0.03635783493518829, 0.04472772777080536, 0.03559018671512604, 0.03267183527350426, 0.05217214673757553, -0.05869400128722191, 0.0013547431444749236, -0.05897083878517151, 0.01398514024913311, -0.07540787756443024, -0.009411754086613655, 0.027122531086206436, -0.02619362063705921, -0.024434702470898628, 0.033079881221055984, -0.005041515454649925, -0.00032759440364316106, 0.017380088567733765, -0.05197649449110031, -0.049024105072021484, -0.0011007008142769337, 0.009627089835703373, -0.01757756620645523, 0.023623866960406303, -0.034845028072595596, 0.019459981471300125, 0.0037344670854508877, -0.004795994609594345, -0.03763360530138016, 0.025106394663453102, 0.04068458080291748, -0.04976274073123932, -0.05527607351541519, 0.05379844829440117, 0.0054542249999940395, -0.029967067763209343, 0.04282572865486145, -0.025452278554439545, 0.024255547672510147, 0.009352046065032482, 0.02604089304804802, 0.010816024616360664, -0.03907875344157219, -0.010196778923273087, 0.00520892022177577, 0.0360507033765316, 0.017991220578551292, -0.0032658549025654793, 0.027674326673150063, 0.03715347498655319, 0.03591141849756241, -0.0019796148408204317, -0.040700752288103104, -0.026693347841501236, 0.037229184061288834, -0.020932219922542572, 0.03160945698618889, 0.02494973875582218, -0.058049362152814865, -0.042904358357191086, -0.019681135192513466, -0.010054887272417545, 0.05096910148859024, -0.02975194714963436, 0.004464286845177412, 0.041739899665117264, 0.0009317981894128025, -0.035904113203287125, -0.06722838431596756, -0.01498244609683752, -0.042346637696027756, 0.015988623723387718, 0.02728138118982315, -0.04314837232232094, 0.0037979651242494583, -0.038999926298856735, -0.07068002969026566, 0.03649728000164032, 0.020099127665162086, -0.042277298867702484, 0.06878367066383362, 0.041751690208911896, -0.0366082489490509, 0.005194113589823246, 0.000409211526857689, -0.05571479722857475, 0.02418440952897072, 0.02063470333814621, 0.012367095798254013, 0.05312544107437134, 0.022888805717229843, 0.004627247806638479, -0.026740172877907753, -0.06972800195217133, -0.012021385133266449, -0.04016859084367752, -0.005951560568064451, 0.05428316444158554 ]
Andranik/TestPytorchClassification
[ "pytorch", "distilbert", "text-classification", "transformers" ]
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 } } }
36
2020-12-14T07:29:31Z
--- language: - zh thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png tags: - pytorch - token-classification - albert - zh license: gpl-3.0 --- # CKIP ALBERT Base Chinese This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition). 這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。 ## Homepage - https://github.com/ckiplab/ckip-transformers ## Contributers - [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer) ## Usage Please use BertTokenizerFast as tokenizer instead of AutoTokenizer. 請使用 BertTokenizerFast 而非 AutoTokenizer。 ``` from transformers import ( BertTokenizerFast, AutoModel, ) tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese') model = AutoModel.from_pretrained('ckiplab/albert-base-chinese-ws') ``` For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers. 有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。
[ -0.041798610240221024, -0.020059727132320404, -0.014812401495873928, 0.03677421808242798, 0.041712380945682526, 0.004997536074370146, -0.0029577126260846853, -0.0035736162681132555, -0.048415254801511765, 0.06336137652397156, 0.014903366565704346, -0.007637072820216417, -0.012310721911489964, 0.04627110809087753, -0.02249954268336296, -0.02880074828863144, -0.020607031881809235, -0.010258810594677925, -0.04844704270362854, -0.03335679695010185, -0.013112408109009266, 0.005921505857259035, 0.006110931746661663, -0.001081216731108725, -0.008138931356370449, 0.026784859597682953, -0.0019649812020361423, 0.020426608622074127, 0.04439837485551834, -0.06904255598783493, -0.009313344024121761, -0.042407549917697906, -0.0286924596875906, -0.013723844662308693, -0.0368572473526001, -0.008964242413640022, 0.02020942233502865, -0.004841943737119436, 0.037348922342061996, 0.06011320278048515, -0.008176916278898716, -0.009332387708127499, 0.002251614583656192, -0.04133501276373863, 0.050999369472265244, 0.015148013830184937, -0.02430558018386364, 0.009362188167870045, 0.050834883004426956, -0.010888958349823952, -0.05558650568127632, -0.0433398112654686, -0.04679391160607338, 0.02269660122692585, -0.018275603652000427, -0.02295784279704094, -0.07111470401287079, -0.029563331976532936, 0.06953232735395432, -0.04662683233618736, -0.03152770921587944, 0.004394530784338713, -0.06310828030109406, 0.035560183227062225, 0.03219909965991974, -0.04015519097447395, 0.016243696212768555, -0.015190630219876766, 0.040096670389175415, -0.02288842760026455, 0.05320572853088379, -0.015766756609082222, -0.0010752708185464144, -0.10416222363710403, 0.0036858171224594116, -0.02102426439523697, 0.025856079533696175, 0.03286600857973099, -0.03198615834116936, 0.03447098284959793, 0.01443833764642477, 0.010488846339285374, 0.027447793632745743, -0.035228244960308075, -0.00905205775052309, 0.03858881816267967, -0.05247095599770546, 0.014023803174495697, 0.021955015137791634, 0.06960976123809814, -0.046208493411540985, -0.03557363152503967, -0.02038395218551159, -0.017252257093787193, -0.030898666009306908, 0.008276188746094704, 0.058944445103406906, -0.000009185759154206607, 0.03992511332035065, 0.034101977944374084, 0.043838728219270706, 0.04839431121945381, -0.006325222551822662, 0.03355841338634491, 0.008057624101638794, -0.0046295952051877975, -0.0017273536650463939, -0.020957639440894127, -0.041917670518159866, 0.052966270595788956, 0.04216989874839783, -0.02426707185804844, -0.03019237332046032, 0.03202317655086517, 0.02180340513586998, -0.027963431552052498, 0.044930599629879, -0.022334963083267212, -0.02493654377758503, -0.06192172318696976, 0.06003544479608536, 0.011481829918920994, 0.016233863309025764, -0.009764361195266247, -0.031295306980609894, 0.020747317001223564, -0.04457404837012291, -0.019999731332063675, -0.012736091390252113, 0.022893302142620087, -0.007613064255565405, 0.04592183977365494, 0.014741245657205582, -0.02944822609424591, 0.018504489213228226, 0.026411613449454308, -0.053001269698143005, 0.07955686002969742, 0.009562588296830654, 0.09641896933317184, -0.07823596894741058, -0.036731161177158356, 0.014032619073987007, -0.0011682291515171528, -0.027673300355672836, 0.0016021229093894362, 0.025096168741583824, -0.05959907919168472, -0.030008787289261818, -0.014154038392007351, 0.0586550273001194, -0.05831877887248993, 0.00481132697314024, 0.04845656827092171, -0.02125714346766472, 0.036060430109500885, -0.03908882662653923, -0.000008595756298745982, -0.006393506191670895, -0.011549309827387333, -0.06923653930425644, 0.04668330401182175, -0.01502278447151184, -0.007239842787384987, -0.056612223386764526, -0.03129452466964722, 0.008212463930249214, 0.09458867460489273, 0.006142674013972282, -0.014942662790417671, -0.02217818610370159, 0.0330037884414196, 0.045639995485544205, 0.023804984986782074, -0.04469180852174759, 0.041931383311748505, 0.06636262685060501, 0.034587446600198746, -0.03161248192191124, 0.08355378359556198, 0.02911205030977726, -0.04131031408905983, -0.019676581025123596, 0.008175610564649105, -0.006903655827045441, -0.03432154282927513, 0.00931831356137991, 0.034923095256090164, -0.012391693890094757, -0.046228811144828796, -0.000573268043808639, 0.05691505968570709, 0.008682584390044212, 0.005987798795104027, 0.009791758842766285, -0.005858241580426693, -0.0161836426705122, 0.03724105656147003, -0.04120635613799095, -0.01511472649872303, -0.026643769815564156, -0.022478414699435234, -0.010864895768463612, 0.0320892371237278, 0.04905601590871811, 0.0501113161444664, -0.005101790186017752, 0.06211509183049202, -0.019621988758444786, 0.000638711906503886, -0.04109103977680206, -0.03807108476758003, 0.02307720109820366, 0.033435482531785965, 0.013528445735573769, 0.047003597021102905, 0.0007022609352134168, -0.03743848204612732, 0.03149985149502754, 0.0526946485042572, 0.04516308754682541, 0.037867672741413116, -0.03232872486114502, -0.007338166702538729, 0.010865050368010998, 0.05969700589776039, -0.07960290461778641, -0.03215416520833969, 0.02724899724125862, 0.049482934176921844, -0.00810092594474554, 0.048379190266132355, -0.006892986595630646, 0.009985673241317272, -0.06333918124437332, -0.06506237387657166, 0.04348323866724968, 0.01785282976925373, 0.011894283816218376, 0.04197979345917702, -0.014388034120202065, 0.006535368040204048, -0.005478542298078537, 0.012867199257016182, 0.0018107956275343895, -0.04796857386827469, 0.0013258237158879638, 0.028850490227341652, 0.03934910148382187, -0.03879602625966072, 0.04371625557541847, -0.004702246747910976, 0.02852647379040718, 0.04250971972942352, -0.022670961916446686, 0.03035362809896469, -0.0013903016224503517, 0.015180046670138836, -0.024493563920259476, 0.04780812934041023, -0.018106553703546524, 0.033311761915683746, 0.07556179165840149, 0.012939666397869587, 0.05912623554468155, -0.017033450305461884, 0.05831075832247734, 0.07839277386665344, 0.0240976270288229, 0.03709951415657997, 0.04689465090632439, 0.07814361900091171, 0.01918213628232479, -0.00866952445358038, 0.07502446323633194, -0.008297073654830456, 0.016502389684319496, -0.058670371770858765, 0.022158578038215637, -0.008609870448708534, -0.026940172538161278, 0.024714648723602295, -0.002282695611938834, 0.0021627245005220175, 0.011096414178609848, -0.023078950121998787, -0.0018879355629906058, 0.06685961782932281, 0.01987353153526783, -0.0026253978721797466, 0.02757064439356327, -0.023839110508561134, -0.006699374411255121, -0.09070724248886108, -0.04435205087065697, 0.0019334742100909352, -0.037744663655757904, 0.012384339235723019, -0.08156589418649673, -0.012248087674379349, -0.0654897540807724, -0.02018463984131813, 0.03879944235086441, 0.026085052639245987, 0.003713908838108182, -0.04360290244221687, 0.0419556088745594, -0.057936087250709534, -0.019540227949619293, -0.0457613542675972, -0.035404715687036514, -0.02481154538691044, -0.07721681892871857, 0.040849506855010986, -0.0070810867473483086, 0.013316687196493149, 0.01213553361594677, -0.010819276794791222, -0.03573695570230484, -0.01352740079164505, 0.05039193853735924, 0.036514535546302795, -0.043130479753017426, -0.040184035897254944, 0.027531201019883156, -0.02211116813123226, 0.028056226670742035, 0.012960615567862988, -0.02143258973956108, 0.08719922602176666, 0.0900203287601471, 0.008283630013465881, 0.006159546319395304, -0.01753447949886322, -0.04915541782975197, -0.04962645098567009, -0.027573350816965103, -0.04095594212412834, -0.00203396356664598, -0.023104356601834297, -0.038852039724588394, -0.012062868103384972, -0.033429887145757675, -0.012081600725650787, 0.002031930722296238, 0.007421736605465412, 0.024773860350251198, 0.0467996746301651, 0.02666335180401802, 0.03893270716071129, -0.017200825735926628, -0.03641046583652496, 0.0639338344335556, 0.005003736820071936, 0.0045752632431685925, -0.08772382140159607, -0.0220941212028265, 0.05536617338657379, 0.03375251218676567, 0.004525313153862953, -0.02807353436946869, 0.0735711008310318, 0.006518056150525808, -0.01570967771112919, 0.0024143666960299015, -0.013637576252222061, -0.009522199630737305, -0.011947142891585827, -0.007135999854654074, -0.017517875880002975, -0.05610450729727745, -0.030958252027630806, -0.005750851705670357, 0.04228416457772255, -0.07044295966625214, -0.05765354633331299, -0.023224003612995148, 0.045011404901742935, 0.00025201437529176474, -0.002554742619395256, -0.043066877871751785, 0.006608318537473679, -0.050428591668605804, -0.030490051954984665, -0.010484862141311169, 0.0019772774539887905, 0.014213955961167812, 0.06154012680053711, 0.024080296978354454, -0.03251081705093384, 0.012858288362622261, 0.04212801530957222, 0.06591638922691345, 0.017996013164520264, -0.04824990779161453, 0.007147357799112797, -0.02046298049390316, 0.02623077854514122, -0.006851908750832081, -0.03396903723478317, -0.038827065378427505, -0.0804499089717865, -0.0076470454223454, -0.013831030577421188, -0.021891165524721146, -0.013947535306215286, 0.03693125769495964, -0.025473877787590027, 0.01605275459587574, 0.019773708656430244, 0.034011442214250565, 0.04929667338728905, -0.051790110766887665, 0.07182475179433823, -0.0010952989105135202, 0.06073278933763504, -0.04468826577067375, 0.010377619415521622, -0.0350518524646759, 0.005738976877182722, -0.02288198471069336, 0.05485266447067261, 0.032928064465522766, 0.034064292907714844, 0.06969254463911057, 0.02109064906835556, -0.04359981045126915, 0.03601917624473572, 0.032027680426836014, 0.0032752943225204945, -0.044653892517089844, 0.01271071843802929, -0.030167965218424797, -0.044662702828645706, 0.01669570617377758, -0.02680807001888752, 0.009521255269646645, 0.04989800602197647, 0.015512826852500439, -0.0003128443204332143, 0.01566406339406967, 0.0026862509548664093, -0.04837808758020401, -0.07992062717676163, -0.006943109445273876, 0.023050552234053612, -0.032869767397642136, 0.005377090070396662, 0.034857168793678284, 0.015890520066022873, 0.06309302151203156, 0.04634452238678932, -0.015511215664446354, -0.03379727154970169, 0.04735030606389046, 0.031917769461870193, -0.047422926872968674, -0.07347920536994934, -0.05167736858129501, 0.04285319894552231, 0.04967961087822914, -0.005494358949363232, -0.07636526972055435, 0.011637003161013126, 0.05024797469377518, -0.0381169430911541, 0.0781557634472847, -0.011993644759058952, 0.027861282229423523, 0.059167806059122086, -0.031096361577510834, 0.010317032225430012, -0.024273613467812538, -0.0016991993179544806, 0.010463574901223183, 0.034546516835689545, -0.05368967354297638, -0.053070276975631714, -0.03842674940824509, 0.015558168292045593, 0.03330708667635918, 0.04877282679080963, 0.038549426943063736, -0.027748821303248405, -0.05933399498462677, 0.03110235370695591, 0.030549632385373116, -0.040075622498989105, 0.015046321786940098, 0.02091251127421856, 0.05521509796380997, -0.04015002027153969, -0.033218421041965485, -0.019179213792085648, -0.0003843930026050657, 0.033375248312950134, 0.008797102607786655, -0.03645453229546547, -0.03559759259223938, 0.028077585622668266, -0.021874764934182167, -0.009304624982178211, -0.07607866823673248, 0.03014412522315979, -0.03241221234202385, -0.013104784302413464, 0.07194643467664719, 0.028343908488750458, 0.03250589966773987, 0.035598814487457275, 0.0027514167595654726, 0.004730769898742437, -0.045136138796806335, 0.03029821626842022, -0.025756914168596268, -0.007295630872249603, -0.01018490083515644, -0.026112385094165802, 0.00844831857830286, -0.030453376471996307, -0.06803279370069504, -0.04479878023266792, 0.0006013604579493403, 0.03333720564842224, -0.011385871097445488, -0.005108246114104986, -0.008699356578290462, 0.03853745013475418, -0.03867363557219505, -0.02418219856917858, -0.043654412031173706, -0.027485065162181854, -0.0685247927904129, -0.05447167530655861, 0.002460915595293045, 0.01876184344291687, 0.044418178498744965, -0.015818076208233833, 0.00343906506896019, 0.019524656236171722, -0.015567120164632797, -0.022671498358249664, 0.02968382090330124, 0.01242703665047884, -0.03450702503323555, -0.024388832971453667, 0.01249229721724987, 0.011921762488782406, 0.015745166689157486, -0.025699222460389137, 0.023862730711698532, 0.029350848868489265, -0.016046518459916115, -0.02829470857977867, -0.006093246396631002, 0.006936094257980585, -0.09131426364183426, -0.04626527801156044, -0.014191550202667713, -0.041328754276037216, 0.029594380408525467, -0.04294358938932419, -0.03830227628350258, 0.02306419238448143, 0.03499218448996544, 0.03642074391245842, -0.0196747574955225, 0.0003539678582455963, 0.021166253834962845, -0.025146599858999252, 0.03448585048317909, -0.03694517910480499, 0.03950193524360657, -0.025243178009986877, 0.011981639079749584, -0.015445627272129059, -0.0006572205456905067, -0.05326954647898674, 0.026050832122564316, -0.019053414463996887, -0.028163466602563858, -0.010204688645899296, 0.012987853027880192, -0.05055966228246689, 0.027335628867149353, -0.004587771836668253, 0.03805693984031677, -0.025316420942544937, 0.04406452924013138, -0.054012760519981384, 0.004917819518595934, -0.027201123535633087, 0.015511280857026577, -0.037839096039533615, -0.03830938786268234, 0.007474369369447231, -0.03889499232172966, 0.0335022397339344, 0.03975881636142731, 0.01331847533583641, 0.00823422521352768, -0.015263454988598824, 0.007396525237709284, 0.0210231002420187, -0.06726350635290146, -0.01846059039235115, -0.03157626837491989, -0.005846916697919369, -0.007037365343421698, 0.026705186814069748, 0.04332512989640236, -0.04438970237970352, -0.04713929444551468, 0.039634380489587784, 0.027303220704197884, 0.01547569502145052, -0.004923942964524031, 0.054328661412000656, 0.027481066063046455, 0.036813024431467056, -0.025691119953989983, 0.017514284700155258, -0.0012783765560016036, -0.0317092090845108, 0.025946233421564102, 0.013923855498433113, 0.0494128055870533, -0.009983005002140999, -0.02181301638484001, -0.045076578855514526, 0.09173372387886047, 0.027833012863993645, 0.028419148176908493, 0.004290801007300615, -0.05481463298201561, 0.025628171861171722, -0.010670389048755169, -0.04929269105195999, 0.002908414928242564, 0.021134641021490097, -0.049327556043863297, 0.08377796411514282, -0.012581314891576767, 0.020107965916395187, 0.003598421346396208, 0.012319188565015793, 0.017532682046294212, 0.030869951471686363, -0.046139396727085114, 0.008309433236718178, -0.00036906488821841776, -0.03919098526239395, -0.011598087847232819, -0.016779614612460136, 0.040510762482881546, -0.05194253847002983, 0.050846297293901443, 0.0490046963095665, 0.01485100481659174, 0.008735597133636475, -0.03319021314382553, -0.029582742601633072, 0.03737927973270416, -0.05424124747514725, 0.0677228793501854, -0.013792350888252258, -0.0800422951579094, 0.0412122905254364, 0.03528209030628204, -0.06186595931649208, 0.03609007969498634, 0.04456522315740585, 0.03574710339307785, 0.03237194940447807, 0.052326735109090805, -0.05858574062585831, 0.0017193530220538378, -0.0586794950067997, 0.01330308336764574, -0.07475034892559052, -0.009848657064139843, 0.0278405100107193, -0.026699211448431015, -0.02474842220544815, 0.032506249845027924, -0.0055344621650874615, 0.0003510267415549606, 0.017167212441563606, -0.05211670696735382, -0.047973498702049255, -0.001394687220454216, 0.010093231685459614, -0.01810186542570591, 0.023112758994102478, -0.03394506871700287, 0.018990829586982727, 0.0041642943397164345, -0.004392439965158701, -0.037667758762836456, 0.025228118523955345, 0.04011750966310501, -0.048805125057697296, -0.05457010865211487, 0.05456165969371796, 0.005672315135598183, -0.029319914057850838, 0.042554162442684174, -0.02627643570303917, 0.02409866265952587, 0.008763537742197514, 0.026228588074445724, 0.010258784517645836, -0.03869110345840454, -0.010469668544828892, 0.004679912701249123, 0.03674021735787392, 0.018471471965312958, -0.002560789231210947, 0.027716247364878654, 0.03704170137643814, 0.03552712872624397, -0.0015924257459118962, -0.04103191941976547, -0.02719332091510296, 0.0371781624853611, -0.02092490717768669, 0.03111150674521923, 0.024963779374957085, -0.05779873579740524, -0.04256828874349594, -0.01901133917272091, -0.010188743472099304, 0.05202547088265419, -0.030446358025074005, 0.004427626729011536, 0.04058920964598656, 0.0015264477115124464, -0.036299727857112885, -0.0666104331612587, -0.015129332430660725, -0.04125924035906792, 0.015804151073098183, 0.027133915573358536, -0.0432019904255867, 0.004329687915742397, -0.03897343575954437, -0.07046064734458923, 0.03608214855194092, 0.0201431792229414, -0.04290390387177467, 0.06933610141277313, 0.0415557362139225, -0.03628206625580788, 0.0048439111560583115, 0.0001807102089514956, -0.05596822127699852, 0.02386953867971897, 0.020517967641353607, 0.01279257982969284, 0.0535467229783535, 0.022293878719210625, 0.00478841969743371, -0.027623292058706284, -0.06986884027719498, -0.01276436261832714, -0.03933660313487053, -0.0063901543617248535, 0.05477219074964523 ]
AndreLiu1225/t5-news
[ "pytorch", "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: " } } }
18
null
--- language: - zh thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png tags: - pytorch - token-classification - albert - zh license: gpl-3.0 --- # CKIP ALBERT Tiny Chinese This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition). 這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。 ## Homepage - https://github.com/ckiplab/ckip-transformers ## Contributers - [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer) ## Usage Please use BertTokenizerFast as tokenizer instead of AutoTokenizer. 請使用 BertTokenizerFast 而非 AutoTokenizer。 ``` from transformers import ( BertTokenizerFast, AutoModel, ) tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese') model = AutoModel.from_pretrained('ckiplab/albert-tiny-chinese-ws') ``` For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers. 有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。
[ -0.03816862031817436, -0.01772848330438137, -0.010661340318620205, 0.03849225491285324, 0.04342012479901314, -0.0002814674226101488, -0.004473463166505098, -0.003525932552292943, -0.04659321531653404, 0.06564469635486603, 0.012929357588291168, -0.005301682744175196, -0.009715487249195576, 0.0480072945356369, -0.020977888256311417, -0.025363538414239883, -0.025367356836795807, -0.009682847186923027, -0.04373401403427124, -0.031542062759399414, -0.011957373470067978, 0.004599798936396837, 0.0071928235702216625, -0.003555936273187399, -0.009967438876628876, 0.02664235234260559, 0.0005830287700518966, 0.019116584211587906, 0.043720878660678864, -0.07338188588619232, -0.0058736116625368595, -0.04096093028783798, -0.027193179354071617, -0.01933087408542633, -0.04086603969335556, -0.010634358040988445, 0.020260538905858994, -0.0068537285551428795, 0.036064643412828445, 0.05845364183187485, -0.0050293076783418655, -0.010682541877031326, 0.003807008732110262, -0.03752867132425308, 0.05129687488079071, 0.018724655732512474, -0.02666435018181801, 0.015216846950352192, 0.04900847002863884, -0.013218458741903305, -0.056709952652454376, -0.046202994883060455, -0.04383216053247452, 0.023989655077457428, -0.019180143252015114, -0.025936437770724297, -0.06870188564062119, -0.030544832348823547, 0.07045008987188339, -0.04575804993510246, -0.03281866014003754, 0.0017585031455382705, -0.06298164278268814, 0.03427566960453987, 0.03401811793446541, -0.03524012118577957, 0.020634189248085022, -0.014886788092553616, 0.04306357353925705, -0.023890474811196327, 0.051741596311330795, -0.017923148348927498, -0.0024586969520896673, -0.10540448874235153, 0.00465049734339118, -0.02428026683628559, 0.02545234002172947, 0.02884403057396412, -0.03724854812026024, 0.030954761430621147, 0.017217600718140602, 0.010398915968835354, 0.02853965386748314, -0.03856613487005234, -0.006039844825863838, 0.036593079566955566, -0.04964613541960716, 0.011911064386367798, 0.01757202111184597, 0.06804124265909195, -0.0466504842042923, -0.03505329042673111, -0.02439548820257187, -0.02016807720065117, -0.03369642421603203, 0.01049397699534893, 0.05898153781890869, -0.0046570803970098495, 0.04369765892624855, 0.03822114318609238, 0.04311750829219818, 0.04910002648830414, -0.0035794414579868317, 0.0330236442387104, 0.01029577199369669, -0.006375990808010101, 0.001173150260001421, -0.025108760222792625, -0.042278189212083817, 0.05242972448468208, 0.04201372712850571, -0.023748690262436867, -0.029443489387631416, 0.03226243332028389, 0.024164438247680664, -0.025940431281924248, 0.04983773082494736, -0.021084818989038467, -0.022020941600203514, -0.06106549873948097, 0.060460008680820465, 0.012418693862855434, 0.02010243386030197, -0.008896720595657825, -0.028133228421211243, 0.02148798108100891, -0.041222307831048965, -0.016554903239011765, -0.016223635524511337, 0.01916995644569397, -0.007764107547700405, 0.04921820014715195, 0.015801547095179558, -0.027446920052170753, 0.011381941847503185, 0.030599579215049744, -0.05482173711061478, 0.0768355280160904, 0.011897284537553787, 0.09698626399040222, -0.0736575573682785, -0.03605242818593979, 0.010927409864962101, 0.00041817474993877113, -0.02688645012676716, -0.0030018591787666082, 0.029985053464770317, -0.061039842665195465, -0.030414089560508728, -0.009592716582119465, 0.05360369756817818, -0.05928384140133858, 0.008994256146252155, 0.04485631734132767, -0.01718198135495186, 0.03217489644885063, -0.04672789201140404, -0.000568763236515224, -0.008802095428109169, -0.009143811650574207, -0.07129478454589844, 0.04551762714982033, -0.013021297752857208, -0.0028061307966709137, -0.056390173733234406, -0.03613792732357979, 0.005847061984241009, 0.0925513207912445, 0.004859048407524824, -0.01774344965815544, -0.015772681683301926, 0.03705864027142525, 0.045087553560733795, 0.02922513522207737, -0.04167456924915314, 0.041732057929039, 0.06314647942781448, 0.036306753754615784, -0.03117980808019638, 0.08041319251060486, 0.025986824184656143, -0.04337234050035477, -0.023624850437045097, 0.010018370114266872, -0.0032905424013733864, -0.03727909177541733, 0.0084011135622859, 0.03254544362425804, -0.008880918845534325, -0.04909025505185127, -0.0014392815064638853, 0.0610322542488575, 0.011700814589858055, 0.007535064592957497, 0.007630044128745794, -0.003627803875133395, -0.016039593145251274, 0.03804381936788559, -0.04018230736255646, -0.012613692320883274, -0.03385051712393761, -0.02400369755923748, -0.008870985358953476, 0.034422438591718674, 0.04832940548658371, 0.05284615233540535, -0.008748126216232777, 0.057040538638830185, -0.018845532089471817, 0.0014470660826191306, -0.04179205000400543, -0.04002770036458969, 0.028132136911153793, 0.03225849196314812, 0.009074464440345764, 0.044002071022987366, -0.0026385197415947914, -0.037270620465278625, 0.030124757438898087, 0.05822449550032616, 0.050533294677734375, 0.03437918424606323, -0.03210900351405144, -0.004097782075405121, 0.011372363194823265, 0.05964783579111099, -0.08158156275749207, -0.031687941402196884, 0.028616540133953094, 0.04580595716834068, -0.008354070596396923, 0.0501272976398468, -0.007125253789126873, 0.0025707578752189875, -0.06466922909021378, -0.06214621290564537, 0.0393713153898716, 0.014610983431339264, 0.01209938246756792, 0.04178369790315628, -0.017800958827137947, 0.006751891691237688, -0.0028330518398433924, 0.012574022635817528, 0.0034114455338567495, -0.04752207174897194, -0.00012047146447002888, 0.02728332206606865, 0.03565749153494835, -0.03663059324026108, 0.036012034863233566, -0.005817711353302002, 0.023523375391960144, 0.04359451308846474, -0.023822220042347908, 0.030855605378746986, 0.0008554902742616832, 0.01908750645816326, -0.01736162230372429, 0.04940294846892357, -0.014150255359709263, 0.03479699045419693, 0.0759441927075386, 0.015250439755618572, 0.061528339982032776, -0.021938662976026535, 0.05863737314939499, 0.07969951629638672, 0.01989947445690632, 0.03502815589308739, 0.04467704892158508, 0.08082345128059387, 0.022008724510669708, -0.008841944858431816, 0.07669581472873688, -0.00589548796415329, 0.015990426763892174, -0.056687187403440475, 0.019509363919496536, -0.00816275179386139, -0.024539420381188393, 0.024822166189551353, -0.0029355117585510015, 0.0038762781769037247, 0.012064453214406967, -0.02571512758731842, -0.003995263483375311, 0.06504114717245102, 0.019201604649424553, -0.0014358586631715298, 0.025662610307335854, -0.029073836281895638, -0.006262381561100483, -0.08794083446264267, -0.0480043925344944, 0.002252937527373433, -0.03476151451468468, 0.01241367682814598, -0.08158852905035019, -0.013097061775624752, -0.06904233992099762, -0.018584445118904114, 0.04155176877975464, 0.029414238408207893, 0.0031643237452954054, -0.044801171869039536, 0.04093526303768158, -0.06008540838956833, -0.01657094992697239, -0.042900845408439636, -0.0307414960116148, -0.02195700630545616, -0.07686200737953186, 0.038392066955566406, -0.001863929908722639, 0.012012285180389881, 0.0132610984146595, -0.007934337481856346, -0.036107998341321945, -0.010590248741209507, 0.04884278401732445, 0.03258994221687317, -0.04337059333920479, -0.03916943818330765, 0.02596675232052803, -0.02048506587743759, 0.02511536329984665, 0.009813900105655193, -0.027472028508782387, 0.0860539898276329, 0.09163753688335419, 0.007767657283693552, 0.007395888213068247, -0.018718130886554718, -0.05376328527927399, -0.04908914119005203, -0.02497185952961445, -0.03405502438545227, -0.004466579295694828, -0.02351163700222969, -0.04225091636180878, -0.013903707265853882, -0.03499195724725723, -0.013955291360616684, 0.0001665963645791635, 0.007665970362722874, 0.021016042679548264, 0.049517448991537094, 0.030265239998698235, 0.0410507470369339, -0.01874619908630848, -0.0352022647857666, 0.06315004080533981, 0.006085498258471489, 0.00035555014619603753, -0.0903453379869461, -0.01883734203875065, 0.05142786726355553, 0.03125957027077675, 0.008641092106699944, -0.02711193449795246, 0.0710836872458458, 0.006966495420783758, -0.01915309950709343, 0.0019015839789062738, -0.012979035265743732, 0.00040502287447452545, -0.010335365310311317, -0.00404336815699935, -0.016958223655819893, -0.05341065302491188, -0.030419044196605682, -0.010569844394922256, 0.04270589351654053, -0.07038580626249313, -0.05618130788207054, -0.020631106570363045, 0.04629947617650032, -0.002826086711138487, -0.0019698708783835173, -0.04468013346195221, 0.00512836966663599, -0.05466382950544357, -0.026689285412430763, -0.01403423398733139, 0.004038240294903517, 0.01757149212062359, 0.06100429967045784, 0.024581866338849068, -0.026414310559630394, 0.015708189457654953, 0.04123089835047722, 0.06522268056869507, 0.016521424055099487, -0.04517523571848869, 0.006968323141336441, -0.01810939610004425, 0.025288298726081848, -0.007310566492378712, -0.03281491994857788, -0.04404987394809723, -0.07961951941251755, -0.004698556382209063, -0.015808403491973877, -0.02416285127401352, -0.013059437274932861, 0.040635883808135986, -0.029334142804145813, 0.016473349183797836, 0.0233765859156847, 0.035656072199344635, 0.04890407249331474, -0.055234476923942566, 0.07444192469120026, 0.0011185178300365806, 0.05634108930826187, -0.045000117272138596, 0.009039562195539474, -0.03629608824849129, 0.00529154296964407, -0.01986636593937874, 0.06031588464975357, 0.03273523598909378, 0.034211669117212296, 0.06512545049190521, 0.017537424340844154, -0.0406961590051651, 0.031522154808044434, 0.036339495331048965, 0.006622451823204756, -0.04537828639149666, 0.011933133006095886, -0.03504731506109238, -0.04674619063735008, 0.013537641614675522, -0.024205360561609268, 0.008951609022915363, 0.04842804744839668, 0.015468786470592022, -0.0001844732032623142, 0.016605820506811142, 0.0013385318452492356, -0.05048586428165436, -0.07878036797046661, -0.006721396464854479, 0.02039756067097187, -0.030319437384605408, 0.007332143373787403, 0.03495214879512787, 0.018496880307793617, 0.06500589102506638, 0.05121447890996933, -0.014202270656824112, -0.03201507031917572, 0.047449104487895966, 0.03807300701737404, -0.04735967516899109, -0.07450693100690842, -0.04677214473485947, 0.04330537095665932, 0.04859207943081856, -0.0037560083437711, -0.08183512091636658, 0.012210965156555176, 0.04697107523679733, -0.03442394360899925, 0.08021792769432068, -0.011980859562754631, 0.022810550406575203, 0.059426721185445786, -0.03119063749909401, 0.01148810051381588, -0.022244665771722794, -0.0010903903748840094, 0.011219142936170101, 0.03519211336970329, -0.053370095789432526, -0.050818607211112976, -0.041461870074272156, 0.012905473820865154, 0.02553737908601761, 0.049893658608198166, 0.03919833153486252, -0.02585287019610405, -0.06062166020274162, 0.03389856964349747, 0.033886414021253586, -0.0372200645506382, 0.012645648792386055, 0.020062625408172607, 0.05719534680247307, -0.03890780732035637, -0.030366098508238792, -0.016108855605125427, -0.003340089926496148, 0.03638647496700287, 0.007659862283617258, -0.03423970937728882, -0.03551654517650604, 0.027935365214943886, -0.020682277157902718, -0.00751538947224617, -0.07581133395433426, 0.030917232856154442, -0.031399354338645935, -0.01275833509862423, 0.0645480826497078, 0.029542215168476105, 0.03203066438436508, 0.031669046729803085, 0.001541624660603702, 0.011273344978690147, -0.03993755578994751, 0.033547695726156235, -0.025581153109669685, -0.005759031977504492, -0.00848272256553173, -0.025861091911792755, 0.0035793581046164036, -0.027721796184778214, -0.06912007927894592, -0.04607413709163666, -0.0014238295843824744, 0.03171299770474434, -0.006831785663962364, -0.007434132508933544, -0.006487963255494833, 0.040305450558662415, -0.042326055467128754, -0.019189991056919098, -0.040374334901571274, -0.02307759039103985, -0.064335897564888, -0.052158329635858536, 0.006201854906976223, 0.02312786877155304, 0.04898940771818161, -0.02085180953145027, 0.004050801042467356, 0.01901262253522873, -0.013928723521530628, -0.016956880688667297, 0.033856622874736786, 0.012628921307623386, -0.03237191587686539, -0.02112310752272606, 0.010332203470170498, 0.012997828423976898, 0.0170819740742445, -0.02635161764919758, 0.029142018407583237, 0.030461441725492477, -0.009873971343040466, -0.02821129374206066, -0.0042989300563931465, 0.0045222388580441475, -0.09114060550928116, -0.04385039210319519, -0.013934669084846973, -0.04167964681982994, 0.030623136088252068, -0.04548504948616028, -0.037075769156217575, 0.02172483503818512, 0.03357118368148804, 0.035239726305007935, -0.023349925875663757, -0.0005378657369874418, 0.02305825985968113, -0.024797607213258743, 0.03171444311738014, -0.03470761701464653, 0.038978639990091324, -0.020720552653074265, 0.01566058024764061, -0.019494319334626198, 0.001750516938045621, -0.05075545608997345, 0.024783553555607796, -0.021449828520417213, -0.024512331932783127, -0.007927874103188515, 0.01606614515185356, -0.04854446277022362, 0.02824447676539421, -0.004618471954017878, 0.03618897870182991, -0.02918025106191635, 0.0488521009683609, -0.0504387803375721, 0.003721820656210184, -0.030279776081442833, 0.012006867676973343, -0.03426938131451607, -0.04171763360500336, 0.009119433350861073, -0.04114864394068718, 0.03567800298333168, 0.044595398008823395, 0.010706000030040741, 0.008435674011707306, -0.020743513479828835, 0.0068773007951676846, 0.019417591392993927, -0.06712285429239273, -0.02253396064043045, -0.03269251435995102, -0.0033766604028642178, -0.00370100443251431, 0.030104266479611397, 0.04809964820742607, -0.042829688638448715, -0.052339352667331696, 0.03742547333240509, 0.028527766466140747, 0.015726082026958466, -0.004355402663350105, 0.056682709604501724, 0.025580910965800285, 0.03791743889451027, -0.025319688022136688, 0.01686811074614525, -0.001973737496882677, -0.02960275299847126, 0.025369908660650253, 0.017974508926272392, 0.0489606074988842, -0.00846682209521532, -0.019658416509628296, -0.039790425449609756, 0.09374725818634033, 0.03222054988145828, 0.030932873487472534, 0.007248762995004654, -0.055336955934762955, 0.026954950764775276, -0.015341361984610558, -0.04993598163127899, 0.008529388345777988, 0.02511536329984665, -0.04520881921052933, 0.08159998059272766, -0.01406735647469759, 0.018611975014209747, 0.0026315811555832624, 0.014091779477894306, 0.019233068451285362, 0.02641618438065052, -0.04259167239069939, 0.007715222425758839, -0.0004032930883113295, -0.03772343322634697, -0.008547271601855755, -0.013640386052429676, 0.04589049518108368, -0.048173435032367706, 0.05336085706949234, 0.0477679967880249, 0.01677745021879673, 0.008999979123473167, -0.031762681901454926, -0.032116979360580444, 0.034085340797901154, -0.053555384278297424, 0.06901931017637253, -0.00914828386157751, -0.08048367500305176, 0.04334266483783722, 0.03324060142040253, -0.06152920424938202, 0.03922056779265404, 0.043812740594148636, 0.03374473750591278, 0.032927948981523514, 0.056435201317071915, -0.05371560901403427, -0.0026734592393040657, -0.057724613696336746, 0.014000735245645046, -0.07175997644662857, -0.013126782141625881, 0.026114465668797493, -0.027769804000854492, -0.028775891289114952, 0.035974934697151184, -0.0060925972647964954, -0.00029086830909363925, 0.01658456400036812, -0.052770502865314484, -0.04919230565428734, 0.007474008947610855, 0.013466608710587025, -0.020793523639440536, 0.02556745707988739, -0.030894074589014053, 0.02091268077492714, 0.0032063915859907866, -0.006413348950445652, -0.03586139529943466, 0.02539534494280815, 0.03939546272158623, -0.049174606800079346, -0.053055137395858765, 0.0554501973092556, 0.0023182209115475416, -0.025976726785302162, 0.04077883064746857, -0.028435751795768738, 0.026827719062566757, 0.005764538887888193, 0.02867426536977291, 0.011497768573462963, -0.041430965065956116, -0.011309358291327953, 0.00657023536041379, 0.042063917964696884, 0.02282899059355259, -0.002615593606606126, 0.027317102998495102, 0.04061303287744522, 0.037668827921152115, 0.0029497784562408924, -0.04021068662405014, -0.023380428552627563, 0.036271702498197556, -0.01923881471157074, 0.03468708321452141, 0.02668023481965065, -0.06060417369008064, -0.042856838554143906, -0.020272212103009224, -0.014744903892278671, 0.053397055715322495, -0.03527010232210159, 0.006098377518355846, 0.04366367682814598, 0.0015807257732376456, -0.03429089114069939, -0.06945403665304184, -0.01609533652663231, -0.04233647510409355, 0.01562758907675743, 0.028010742738842964, -0.0434049591422081, 0.006275427993386984, -0.040164828300476074, -0.07264088094234467, 0.036284346133470535, 0.017694592475891113, -0.04236747324466705, 0.0643291026353836, 0.04495878517627716, -0.03514939174056053, 0.003110873280093074, -0.00107948190998286, -0.05496611073613167, 0.02953842468559742, 0.01957564614713192, 0.009952247142791748, 0.05477392300963402, 0.018369106575846672, 0.006056071259081364, -0.024137089028954506, -0.06945744901895523, -0.009995952248573303, -0.03163481503725052, -0.005816684104502201, 0.049511075019836426 ]
Andres2015/HiggingFaceTest
[]
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: - zh thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png tags: - pytorch - lm-head - albert - zh license: gpl-3.0 --- # CKIP ALBERT Tiny Chinese This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition). 這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。 ## Homepage - https://github.com/ckiplab/ckip-transformers ## Contributers - [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer) ## Usage Please use BertTokenizerFast as tokenizer instead of AutoTokenizer. 請使用 BertTokenizerFast 而非 AutoTokenizer。 ``` from transformers import ( BertTokenizerFast, AutoModel, ) tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese') model = AutoModel.from_pretrained('ckiplab/albert-tiny-chinese') ``` For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers. 有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。
[ -0.04002498462796211, -0.016664693132042885, -0.007977429777383804, 0.036281369626522064, 0.038187138736248016, 0.003090230282396078, -0.0008985296008177102, -0.004673531744629145, -0.04874287545681, 0.06509824842214584, 0.01161581464111805, -0.010691603645682335, -0.0077020940370857716, 0.04576416313648224, -0.020898589864373207, -0.02474013715982437, -0.02962392382323742, -0.003979898989200592, -0.046420153230428696, -0.03260200843214989, -0.013703064993023872, 0.009789160452783108, 0.005006670020520687, -0.003587438026443124, -0.010726257227361202, 0.028705723583698273, -0.0008611070807091892, 0.01846381463110447, 0.03631279617547989, -0.07685684412717819, -0.00690804747864604, -0.04531877860426903, -0.021241962909698486, -0.01955394260585308, -0.04035772383213043, -0.011911618523299694, 0.017316460609436035, -0.0105154262855649, 0.03709843009710312, 0.05869936943054199, -0.004225237760692835, -0.01365280244499445, 0.0012834033695980906, -0.03401963785290718, 0.04692791774868965, 0.022824782878160477, -0.028001826256513596, 0.013873548246920109, 0.04911569878458977, -0.005904339253902435, -0.05259351432323456, -0.04888125881552696, -0.038464754819869995, 0.020389243960380554, -0.01909451372921467, -0.026881759986281395, -0.06830129027366638, -0.03408048301935196, 0.07395482808351517, -0.047028787434101105, -0.03572164848446846, 0.006001652218401432, -0.06288650631904602, 0.02821769006550312, 0.03475223109126091, -0.030234290286898613, 0.02240113541483879, -0.014878363348543644, 0.04682863876223564, -0.02574111707508564, 0.05089915543794632, -0.01694323495030403, -0.0039792731404304504, -0.11057964712381363, 0.004489322192966938, -0.02309914119541645, 0.02355153299868107, 0.029019154608249664, -0.03979898616671562, 0.030330229550600052, 0.016004614531993866, 0.006455136928707361, 0.022645821794867516, -0.03982498496770859, -0.003059548093006015, 0.034455087035894394, -0.05199432000517845, 0.009914422407746315, 0.01738416776061058, 0.06802141666412354, -0.047405440360307693, -0.0361730195581913, -0.02141357772052288, -0.02143731154501438, -0.030043642967939377, 0.005454579368233681, 0.0605141706764698, -0.0038276957347989082, 0.04325772076845169, 0.04060235247015953, 0.04262259975075722, 0.04687159135937691, -0.002271817997097969, 0.03458460420370102, 0.007381019648164511, -0.004780174233019352, 0.0012125830398872495, -0.024173187091946602, -0.04490368440747261, 0.046649493277072906, 0.041935671120882034, -0.028551436960697174, -0.027040589600801468, 0.037023868411779404, 0.02336033433675766, -0.021644923835992813, 0.04606805369257927, -0.02292979508638382, -0.02492654323577881, -0.06298831850290298, 0.0653129443526268, 0.0125968549400568, 0.017791641876101494, -0.003853684524074197, -0.030815642327070236, 0.026165258139371872, -0.03875045105814934, -0.01335974782705307, -0.014404162764549255, 0.020404500886797905, -0.009152946062386036, 0.042982667684555054, 0.018770843744277954, -0.030541935935616493, 0.011517230421304703, 0.030659541487693787, -0.05455462634563446, 0.07165054231882095, 0.018083631992340088, 0.09944140911102295, -0.07561265677213669, -0.036091506481170654, 0.007673119660466909, -0.0014467027503997087, -0.026978399604558945, -0.0009346182341687381, 0.02794029377400875, -0.055784981697797775, -0.030521761626005173, -0.011866425164043903, 0.056949153542518616, -0.058579809963703156, 0.0029159202240407467, 0.04588870704174042, -0.015680203214287758, 0.03204391151666641, -0.04329352453351021, 0.00021474978711921722, -0.008870723657310009, -0.008715572766959667, -0.06891321390867233, 0.0434451587498188, -0.017452072352170944, -0.006304483860731125, -0.05604098364710808, -0.03427445888519287, 0.007829202339053154, 0.08754084259271622, 0.0030346193816512823, -0.01906477101147175, -0.012431001290678978, 0.042082592844963074, 0.04394323751330376, 0.031078532338142395, -0.04759874567389488, 0.04477271810173988, 0.06088453158736229, 0.03177110478281975, -0.02623940259218216, 0.07895264029502869, 0.02894553169608116, -0.04291822016239166, -0.01911555416882038, 0.006549001671373844, -0.005769070703536272, -0.040120989084243774, 0.005604206118732691, 0.03318498656153679, -0.012031725607812405, -0.05290638282895088, -0.000610855408012867, 0.055396854877471924, 0.01211053691804409, 0.007359825540333986, 0.009047542698681355, -0.005861870013177395, -0.018194131553173065, 0.039713334292173386, -0.03754039481282234, -0.012498954311013222, -0.031419787555933, -0.023128965869545937, -0.010555208660662174, 0.036105845123529434, 0.04949251934885979, 0.05864013358950615, -0.009407497011125088, 0.05149010941386223, -0.019759396091103554, 0.0038836130406707525, -0.0449182391166687, -0.03806321322917938, 0.03023442253470421, 0.03587748855352402, 0.007099747192114592, 0.0419064462184906, -0.003879991825670004, -0.03828364610671997, 0.028910653665661812, 0.06231505423784256, 0.05482308194041252, 0.034369517117738724, -0.032201290130615234, -0.006284664385020733, 0.0117946183308959, 0.059817440807819366, -0.08223416656255722, -0.03423655405640602, 0.026562592014670372, 0.047492146492004395, -0.005506713408976793, 0.04946272075176239, -0.00847138836979866, 0.0017589674098417163, -0.06223491579294205, -0.0610601082444191, 0.03907191380858421, 0.018092889338731766, 0.017016932368278503, 0.04403648152947426, -0.006679014302790165, 0.008153420872986317, -0.002415858209133148, 0.011262105777859688, 0.004563826601952314, -0.04989022761583328, -0.004348206799477339, 0.030660713091492653, 0.03782236576080322, -0.03602386638522148, 0.040476635098457336, -0.004230094142258167, 0.026905490085482597, 0.03820369020104408, -0.024000756442546844, 0.0314006507396698, -0.000542312627658248, 0.022450612857937813, -0.01472585927695036, 0.04550115391612053, -0.014382821507751942, 0.03761688619852066, 0.07295206189155579, 0.011541138403117657, 0.06514227390289307, -0.017638346180319786, 0.05818909406661987, 0.077908456325531, 0.020866326987743378, 0.038077350705862045, 0.044443801045417786, 0.08186228573322296, 0.020491642877459526, -0.006272024009376764, 0.0740831047296524, -0.008759383112192154, 0.01623700186610222, -0.058778177946805954, 0.02188473381102085, -0.006926048547029495, -0.02790887840092182, 0.02568332478404045, -0.00355273368768394, 0.012616392225027084, 0.011284098029136658, -0.028310095891356468, -0.003696372266858816, 0.06353859603404999, 0.012945006601512432, -0.0027994029223918915, 0.02412511594593525, -0.033327408134937286, -0.008004667237401009, -0.09230366349220276, -0.048824675381183624, 0.0038100590463727713, -0.03481752425432205, 0.016550207510590553, -0.07956442981958389, -0.01064447034150362, -0.07319631427526474, -0.02027568593621254, 0.0387803316116333, 0.028573034331202507, 0.004149018786847591, -0.04641411826014519, 0.040781550109386444, -0.06165667995810509, -0.012708215974271297, -0.04580196365714073, -0.02858530543744564, -0.01910111866891384, -0.07166767120361328, 0.03425733745098114, 0.003583179321140051, 0.00987202487885952, 0.006381617393344641, -0.005239234771579504, -0.03123369812965393, -0.009130808524787426, 0.048658717423677444, 0.028635971248149872, -0.04190851375460625, -0.03967391699552536, 0.02999492920935154, -0.020971175283193588, 0.0258906502276659, 0.004231669940054417, -0.02942998893558979, 0.08743128925561905, 0.09403660148382187, 0.00737844780087471, 0.00917420256882906, -0.022021761164069176, -0.053914498537778854, -0.049278467893600464, -0.028765421360731125, -0.04108254238963127, -0.00441514840349555, -0.022518379613757133, -0.04301420971751213, -0.011902818456292152, -0.035172831267118454, -0.01580526866018772, -0.0026132671628147364, 0.004082509782165289, 0.02154426835477352, 0.050839439034461975, 0.03184313699603081, 0.04383186250925064, -0.020497262477874756, -0.03110717050731182, 0.06610595434904099, 0.006171732675284147, 0.001679432694800198, -0.09103112667798996, -0.015168469399213791, 0.051944080740213394, 0.033019594848155975, 0.010108532384037971, -0.03242175653576851, 0.07099751383066177, 0.009412792511284351, -0.0159893911331892, 0.0018609919352456927, -0.014801337383687496, 0.00010800876043504104, -0.010133025236427784, -0.001141096348874271, -0.019992711022496223, -0.05465095117688179, -0.029013104736804962, -0.01021936908364296, 0.040999241173267365, -0.06846827268600464, -0.061872247606515884, -0.019505629315972328, 0.04627169668674469, -0.0045763407833874226, -0.0030579937156289816, -0.04207589477300644, 0.008656222373247147, -0.050262559205293655, -0.027294816449284554, -0.009486985392868519, 0.0019786767661571503, 0.015787208452820778, 0.06102212890982628, 0.025440096855163574, -0.025561368092894554, 0.012839346192777157, 0.04478834941983223, 0.06409208476543427, 0.017162136733531952, -0.042615391314029694, 0.007763667032122612, -0.021754493936896324, 0.025283437222242355, -0.006089380476623774, -0.030578603968024254, -0.04418468475341797, -0.07927577942609787, -0.0063006700947880745, -0.013720890507102013, -0.026301372796297073, -0.012729777954518795, 0.04292980208992958, -0.02867690846323967, 0.019128458574414253, 0.02442137524485588, 0.03232140466570854, 0.04628080129623413, -0.05326659232378006, 0.0731465071439743, 0.00019430778047535568, 0.05250094085931778, -0.04198014363646507, 0.012711596675217152, -0.03987551108002663, 0.008786641992628574, -0.013402880169451237, 0.05767979845404625, 0.036364685744047165, 0.04103286564350128, 0.06296464055776596, 0.016863949596881866, -0.037181269377470016, 0.02835521474480629, 0.03699934482574463, 0.010711709037423134, -0.04685084521770477, 0.011271626688539982, -0.03681286424398422, -0.045617688447237015, 0.010149631649255753, -0.02422196790575981, 0.012971634976565838, 0.04198073223233223, 0.015806909650564194, 0.0021310006268322468, 0.015523980371654034, 0.000557033927179873, -0.05053548514842987, -0.0746343806385994, -0.008359161205589771, 0.013779380358755589, -0.027502108365297318, 0.011491742916405201, 0.03301924467086792, 0.021161630749702454, 0.06441204249858856, 0.04881039634346962, -0.009722711518406868, -0.030701199546456337, 0.048812028020620346, 0.03675118088722229, -0.05150572583079338, -0.07414428144693375, -0.04300989955663681, 0.04167691990733147, 0.053890835493803024, -0.001671053352765739, -0.08438217639923096, 0.013631363399326801, 0.050930850207805634, -0.031359508633613586, 0.07238318771123886, -0.01429166179150343, 0.02679905667901039, 0.05855938792228699, -0.03319259732961655, 0.009614492766559124, -0.02304508164525032, 0.0009635859751142561, 0.009050820022821426, 0.03808607906103134, -0.050791118294000626, -0.04943443834781647, -0.044661447405815125, 0.008624240756034851, 0.024376962333917618, 0.04818537086248398, 0.040508933365345, -0.023890526965260506, -0.059951793402433395, 0.03387059271335602, 0.03232111781835556, -0.03501001372933388, 0.013159225694835186, 0.01803184673190117, 0.05270583555102348, -0.04321354255080223, -0.029931331053376198, -0.01515593845397234, -0.0012331907637417316, 0.03769654408097267, 0.004086144734174013, -0.033200815320014954, -0.037794653326272964, 0.030064698308706284, -0.02263057976961136, -0.007980534806847572, -0.07593431323766708, 0.027836032211780548, -0.029649978503584862, -0.01548948884010315, 0.05963733047246933, 0.029430579394102097, 0.031535614281892776, 0.03334497660398483, 0.002450419357046485, 0.010555436834692955, -0.04350179061293602, 0.0348937101662159, -0.026063047349452972, -0.00567023828625679, -0.008101926185190678, -0.023305248469114304, 0.0010610604658722878, -0.028840551152825356, -0.0710291787981987, -0.04521918296813965, -0.003434440353885293, 0.0331706628203392, -0.006435203831642866, -0.007071755826473236, -0.000656997668556869, 0.03963382914662361, -0.03911450132727623, -0.020761260762810707, -0.040536072105169296, -0.025237342342734337, -0.06672761589288712, -0.051996055990457535, 0.006253966595977545, 0.02273954637348652, 0.048256512731313705, -0.01878798007965088, 0.000684030179399997, 0.014956703409552574, -0.008417892269790173, -0.014481456018984318, 0.03851274028420448, 0.009735449217259884, -0.04027390852570534, -0.027362799271941185, 0.006999127566814423, 0.01201331801712513, 0.015126087702810764, -0.02942316047847271, 0.032076817005872726, 0.025388428941369057, -0.007602601312100887, -0.027127694338560104, -0.003630705876275897, 0.007747780531644821, -0.09014391899108887, -0.04410272091627121, -0.014569409191608429, -0.044806260615587234, 0.03476790338754654, -0.04537069424986839, -0.04038727283477783, 0.025391217321157455, 0.03610484302043915, 0.037164106965065, -0.019433580338954926, -0.0036538331769406796, 0.021539947018027306, -0.02433912642300129, 0.03135538846254349, -0.0324847586452961, 0.03381666541099548, -0.02412843517959118, 0.023969030007719994, -0.016376512125134468, 0.0001851303968578577, -0.04803604260087013, 0.027085192501544952, -0.025343608111143112, -0.021379662677645683, -0.010378439910709858, 0.016400575637817383, -0.04755570739507675, 0.036704447120428085, -0.0038391000125557184, 0.03446162864565849, -0.03411996737122536, 0.04931830242276192, -0.0471944734454155, 0.004568625241518021, -0.028817934915423393, 0.011092562228441238, -0.03311371058225632, -0.0407278910279274, 0.010330409742891788, -0.04197962209582329, 0.0351196713745594, 0.04250257462263107, 0.007601678371429443, 0.00672938721254468, -0.01953299529850483, 0.008420995436608791, 0.012475178577005863, -0.06546977907419205, -0.022848213091492653, -0.03332436457276344, -0.0028647808358073235, 0.000987608334980905, 0.030084766447544098, 0.046813514083623886, -0.04601694270968437, -0.048575613647699356, 0.03709468990564346, 0.02640959434211254, 0.01733727753162384, -0.004547023680061102, 0.05598500743508339, 0.029216298833489418, 0.04012126475572586, -0.026273351162672043, 0.02144729346036911, -0.005722634494304657, -0.03266793116927147, 0.025996264070272446, 0.019672831520438194, 0.04408277943730354, -0.0035452302545309067, -0.016367141157388687, -0.038237012922763824, 0.09376592934131622, 0.027448413893580437, 0.028957625851035118, 0.0073542059399187565, -0.05573870986700058, 0.027261195704340935, -0.015247836709022522, -0.046795863658189774, 0.00878414697945118, 0.025244982913136482, -0.04311954602599144, 0.0812496542930603, -0.012618801556527615, 0.016028502956032753, 0.007772583980113268, 0.013386562466621399, 0.014105403795838356, 0.02938825450837612, -0.038764920085668564, 0.010073956102132797, 0.0034795254468917847, -0.03682486340403557, -0.00990422535687685, -0.015359404496848583, 0.04860628396272659, -0.05171850323677063, 0.05587329342961311, 0.05078846216201782, 0.019672313705086708, 0.00928694661706686, -0.0353248156607151, -0.035784609615802765, 0.02920662984251976, -0.05134234204888344, 0.06774517893791199, -0.012993734329938889, -0.07980404794216156, 0.04397101327776909, 0.028760172426700592, -0.05898500978946686, 0.045002568513154984, 0.043167367577552795, 0.03225753828883171, 0.03431610390543938, 0.05775336176156998, -0.05611341819167137, 0.0003029984945897013, -0.05116648226976395, 0.010342787019908428, -0.07185529172420502, -0.008651791140437126, 0.02836761623620987, -0.028349682688713074, -0.03154788911342621, 0.033601295202970505, -0.002661137841641903, -0.0008636600687168539, 0.018471727147698402, -0.05453195050358772, -0.05261581018567085, 0.006062876433134079, 0.015552847646176815, -0.018844034522771835, 0.023146823048591614, -0.03003827854990959, 0.02746984362602234, 0.003743388457223773, -0.0014094057260081172, -0.03680277615785599, 0.02253103069961071, 0.037598617374897, -0.056988928467035294, -0.049756743013858795, 0.05804022029042244, -0.0031698953825980425, -0.021850233897566795, 0.04027930274605751, -0.03178500756621361, 0.027485599741339684, 0.007055460941046476, 0.028752924874424934, 0.014230889268219471, -0.03622034192085266, -0.01669381931424141, 0.005273539572954178, 0.036954671144485474, 0.022382214665412903, -0.0026967069134116173, 0.025143397971987724, 0.03965983912348747, 0.03498373553156853, 0.007628222927451134, -0.045946039259433746, -0.024524202570319176, 0.03765322268009186, -0.02063813991844654, 0.03348743915557861, 0.02631840482354164, -0.05791948735713959, -0.041018031537532806, -0.023735998198390007, -0.0157422237098217, 0.05418228730559349, -0.03406708687543869, 0.00898652896285057, 0.04555842652916908, 0.0012349218595772982, -0.03665240481495857, -0.06834016740322113, -0.019724642857909203, -0.04297196865081787, 0.017072929069399834, 0.02762673608958721, -0.04568576440215111, 0.010766658931970596, -0.04150939732789993, -0.07664402574300766, 0.03756184130907059, 0.018473627045750618, -0.040955401957035065, 0.061692461371421814, 0.03927331417798996, -0.029953790828585625, -0.0011007154826074839, 0.002878963015973568, -0.056902870535850525, 0.02806376852095127, 0.02209252491593361, 0.008312616497278214, 0.054497238248586655, 0.015740616247057915, 0.004869484342634678, -0.025370948016643524, -0.06992268562316895, -0.010648028925061226, -0.03386983647942543, -0.003408208955079317, 0.05310302600264549 ]
AndrewMcDowell/wav2vec2-xls-r-300m-arabic
[ "pytorch", "wav2vec2", "automatic-speech-recognition", "ar", "dataset:mozilla-foundation/common_voice_7_0", "transformers", "generated_from_trainer", "hf-asr-leaderboard", "mozilla-foundation/common_voice_7_0", "robust-speech-event", "license:apache-2.0", "model-index" ]
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
--- language: - zh thumbnail: https://ckip.iis.sinica.edu.tw/files/ckip_logo.png tags: - pytorch - lm-head - gpt2 - zh license: gpl-3.0 --- # CKIP GPT2 Base Chinese This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition). 這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。 ## Homepage - https://github.com/ckiplab/ckip-transformers ## Contributers - [Mu Yang](https://muyang.pro) at [CKIP](https://ckip.iis.sinica.edu.tw) (Author & Maintainer) ## Usage Please use BertTokenizerFast as tokenizer instead of AutoTokenizer. 請使用 BertTokenizerFast 而非 AutoTokenizer。 ``` from transformers import ( BertTokenizerFast, AutoModel, ) tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese') model = AutoModel.from_pretrained('ckiplab/gpt2-base-chinese') ``` For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers. 有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。
[ -0.041787296533584595, -0.020582951605319977, -0.01060518715530634, 0.03359359875321388, 0.03541715443134308, 0.011889385990798473, 0.00025439803721383214, -0.0023917825892567635, -0.048548441380262375, 0.061184611171483994, 0.010114938020706177, -0.01285957358777523, -0.009137476794421673, 0.04524663835763931, -0.019161179661750793, -0.031054753810167313, -0.02358030155301094, -0.003143362468108535, -0.05175244063138962, -0.03683072701096535, -0.015193518251180649, 0.01076548919081688, 0.004633646924048662, 0.00021166331134736538, -0.008256119675934315, 0.024892039597034454, -0.0010691341012716293, 0.019160816445946693, 0.03541025519371033, -0.07568598538637161, -0.010347293689846992, -0.0489516407251358, -0.02273593656718731, -0.01169149111956358, -0.03650341555476189, -0.012521276250481606, 0.014523422345519066, -0.011109813116490841, 0.039383210241794586, 0.06096496805548668, -0.006039884872734547, -0.0108297448605299, -0.0023831860162317753, -0.04061809182167053, 0.04381990805268288, 0.018995188176631927, -0.02579367719590664, 0.00644307816401124, 0.0507984459400177, -0.0017659802688285708, -0.0482858270406723, -0.04810546338558197, -0.0388026088476181, 0.015541690401732922, -0.017205024138092995, -0.02609638310968876, -0.07363269478082657, -0.033488478511571884, 0.07359195500612259, -0.04638073965907097, -0.035906728357076645, 0.007925096899271011, -0.0619184784591198, 0.031327228993177414, 0.031200477853417397, -0.03715534880757332, 0.017590466886758804, -0.012875520624220371, 0.043672457337379456, -0.02640443667769432, 0.051783446222543716, -0.017091570422053337, -0.001965140923857689, -0.1160779744386673, 0.001735028112307191, -0.02030908688902855, 0.02379283495247364, 0.031130241230130196, -0.03321288526058197, 0.035315509885549545, 0.017244422808289528, 0.00708505604416132, 0.02230771631002426, -0.03447382152080536, -0.003143495647236705, 0.03515546768903732, -0.05343373492360115, 0.012057429179549217, 0.023240379989147186, 0.07005833834409714, -0.04682121425867081, -0.03653799369931221, -0.018283244222402573, -0.020185060799121857, -0.026470638811588287, 0.0008860325324349105, 0.05961709842085838, 0.003271543188020587, 0.03779967501759529, 0.03964487463235855, 0.041560497134923935, 0.04467080906033516, -0.0046051274985075, 0.03367074579000473, 0.005306750535964966, 0.00007848269160604104, -0.0024435974191874266, -0.02288063056766987, -0.048438165336847305, 0.04421670734882355, 0.039067406207323074, -0.03061503916978836, -0.028758440166711807, 0.03763016313314438, 0.017814798280596733, -0.023516850546002388, 0.041993554681539536, -0.025339163839817047, -0.028565896674990654, -0.06556295603513718, 0.06606429070234299, 0.01314629428088665, 0.0146827707067132, -0.004410772118717432, -0.036596816033124924, 0.02606559544801712, -0.04280341789126396, -0.01673182286322117, -0.009444404393434525, 0.02588549256324768, -0.011209394782781601, 0.03768550977110863, 0.020079975947737694, -0.032130759209394455, 0.019969068467617035, 0.02528943121433258, -0.05386381968855858, 0.07299646735191345, 0.021920159459114075, 0.09396472573280334, -0.08032071590423584, -0.036020513623952866, 0.009398791939020157, -0.0024882592260837555, -0.024599259719252586, 0.0037938840687274933, 0.0205649696290493, -0.05774360150098801, -0.029717231169342995, -0.01762634515762329, 0.062244005501270294, -0.057883091270923615, -0.0013479931512847543, 0.04951217398047447, -0.020696518942713737, 0.03772503137588501, -0.03591751679778099, -0.0010419910540804267, -0.004290492739528418, -0.009758926928043365, -0.06462784111499786, 0.045241694897413254, -0.01950334571301937, -0.009690141305327415, -0.05798618867993355, -0.028288748115301132, 0.010949287563562393, 0.09044428914785385, 0.0021717974450439215, -0.017499355599284172, -0.01826263964176178, 0.039256878197193146, 0.046660661697387695, 0.02741626277565956, -0.051876671612262726, 0.044043831527233124, 0.06048685684800148, 0.030840767547488213, -0.022594381123781204, 0.08540578186511993, 0.031888850033283234, -0.04189959168434143, -0.015308661386370659, 0.000010348609066568315, -0.008979713544249535, -0.038408711552619934, 0.0037196048069745302, 0.03498319536447525, -0.01627131924033165, -0.05156828463077545, 0.0018854232039302588, 0.052027102559804916, 0.011128276586532593, 0.007204893510788679, 0.012893164530396461, -0.010220363736152649, -0.01934419758617878, 0.04272559657692909, -0.036351799964904785, -0.010825897566974163, -0.02388785406947136, -0.01906472072005272, -0.01554229948669672, 0.033990006893873215, 0.05295456945896149, 0.05243746563792229, -0.01038928423076868, 0.05221832916140556, -0.0170889999717474, 0.003304020268842578, -0.04100282862782478, -0.039542973041534424, 0.020619124174118042, 0.03429657965898514, 0.00899304449558258, 0.04414571449160576, 0.0007972568273544312, -0.038501035422086716, 0.03172991797327995, 0.05627002194523811, 0.05369319021701813, 0.0401420034468174, -0.03403003513813019, -0.0069685508497059345, 0.011573582887649536, 0.059762369841337204, -0.0805535688996315, -0.03875751793384552, 0.023110531270503998, 0.052509136497974396, -0.007367993239313364, 0.04500850290060043, -0.011096755973994732, 0.011409803293645382, -0.05942599102854729, -0.06542477011680603, 0.04079432412981987, 0.019071917980909348, 0.017774797976017, 0.04383999854326248, -0.003322253003716469, 0.007594275753945112, -0.005918039008975029, 0.006284665782004595, 0.004565304145216942, -0.05106859654188156, -0.00404502684250474, 0.03609446436166763, 0.0414741188287735, -0.035776425153017044, 0.046400465071201324, -0.0013445414369925857, 0.028984323143959045, 0.04177198186516762, -0.027354875579476357, 0.026927314698696136, -0.00397981982678175, 0.019213812425732613, -0.021555479615926743, 0.041359685361385345, -0.021033339202404022, 0.03589430823922157, 0.07301714271306992, 0.01176785584539175, 0.06427548825740814, -0.013439138419926167, 0.058383211493492126, 0.07616417109966278, 0.02419349178671837, 0.039618078619241714, 0.047020044177770615, 0.07848592847585678, 0.014756795018911362, -0.00403172941878438, 0.07231608033180237, -0.01316499151289463, 0.01273687556385994, -0.061818111687898636, 0.028667954728007317, -0.006917343009263277, -0.031258076429367065, 0.025013921782374382, -0.0029581361450254917, 0.011011108756065369, 0.013979203999042511, -0.02637799084186554, -0.00411831121891737, 0.06476610153913498, 0.009352458640933037, -0.0036783134564757347, 0.028304336592555046, -0.030110696330666542, -0.00709417974576354, -0.09285918623209, -0.04625726863741875, 0.0030629460234194994, -0.04013969376683235, 0.017594730481505394, -0.08086059987545013, -0.008138218894600868, -0.06967367231845856, -0.02196022868156433, 0.03818167373538017, 0.02859688550233841, 0.008497463539242744, -0.043125081807374954, 0.0424918569624424, -0.05857531726360321, -0.015665344893932343, -0.04845631495118141, -0.03367186710238457, -0.025535136461257935, -0.07395652681589127, 0.036135949194431305, 0.002473232802003622, 0.012087726965546608, 0.00989188440144062, -0.006544419098645449, -0.027646927163004875, -0.007955437526106834, 0.05270653963088989, 0.03326638787984848, -0.04347621649503708, -0.03987247124314308, 0.03556111827492714, -0.025673074647784233, 0.026324467733502388, 0.005594504997134209, -0.025083713233470917, 0.08883842080831528, 0.09309408813714981, 0.00916341133415699, 0.008160234428942204, -0.02110627479851246, -0.05118972435593605, -0.04991568252444267, -0.031652748584747314, -0.0483824759721756, 0.0004391655093058944, -0.02115633897483349, -0.03931453824043274, -0.007114185951650143, -0.03424545004963875, -0.01624184474349022, -0.000985658960416913, 0.0043291873298585415, 0.028005946427583694, 0.04792189225554466, 0.02679923176765442, 0.04247327148914337, -0.02195233479142189, -0.026836108416318893, 0.066682830452919, 0.00537472078576684, 0.0073938993737101555, -0.08813177794218063, -0.01753949373960495, 0.05390094965696335, 0.03501443564891815, 0.006749811582267284, -0.029845410957932472, 0.0757945105433464, 0.008907978422939777, -0.012097339145839214, 0.003299470292404294, -0.018526822328567505, -0.006801657844334841, -0.01307634450495243, -0.0013088230043649673, -0.026068495586514473, -0.057310689240694046, -0.027634957805275917, -0.008765040896832943, 0.04008965566754341, -0.06752437353134155, -0.06444138288497925, -0.018416907638311386, 0.04546847194433212, -0.002918141195550561, -0.0014652581885457039, -0.03760816156864166, 0.009822249412536621, -0.04402879998087883, -0.03247583657503128, -0.0051460848189890385, 0.0024567299988120794, 0.014474399387836456, 0.0628332793712616, 0.028804389759898186, -0.03333183750510216, 0.010244273580610752, 0.044488951563835144, 0.06818357855081558, 0.01862606592476368, -0.04398857802152634, 0.00529044633731246, -0.02527613192796707, 0.026106534525752068, -0.006675270851701498, -0.030217761173844337, -0.039799612015485764, -0.08178471028804779, -0.00925775058567524, -0.01475546695291996, -0.02170751243829727, -0.01407545991241932, 0.03773537650704384, -0.022975757718086243, 0.017339501529932022, 0.020556963980197906, 0.029902659356594086, 0.04748294875025749, -0.04974498972296715, 0.06947033852338791, -0.00045093559310771525, 0.0555696114897728, -0.04217211902141571, 0.014187775552272797, -0.03970293328166008, 0.009382568299770355, -0.01435136329382658, 0.0527200810611248, 0.03736650198698044, 0.04247475787997246, 0.07144149392843246, 0.018555637449026108, -0.03920922055840492, 0.03217808157205582, 0.032414160668849945, 0.006225903052836657, -0.04632067307829857, 0.008669093251228333, -0.032172709703445435, -0.04303983971476555, 0.009924666956067085, -0.027281276881694794, 0.015205648727715015, 0.04316247999668121, 0.015690278261899948, 0.00030851102201268077, 0.01746828481554985, -0.00034248511656187475, -0.04759961739182472, -0.07333231717348099, -0.012471559457480907, 0.011959054507315159, -0.031054140999913216, 0.005554179660975933, 0.03135068342089653, 0.015464359894394875, 0.06259129196405411, 0.045389432460069656, -0.009835165925323963, -0.03238094225525856, 0.04466181620955467, 0.03174392133951187, -0.05525092035531998, -0.06959106028079987, -0.0484430268406868, 0.04211243614554405, 0.052387140691280365, -0.0051118447445333, -0.07614576071500778, 0.013767135329544544, 0.052484095096588135, -0.03117441013455391, 0.07430047541856766, -0.01601005718111992, 0.028419358655810356, 0.053077369928359985, -0.030476318672299385, 0.005566783249378204, -0.024717072024941444, 0.0026023234240710735, 0.008495203219354153, 0.037664756178855896, -0.05256110429763794, -0.04941217228770256, -0.03984817862510681, 0.01222258247435093, 0.03143537417054176, 0.05210886895656586, 0.04227519780397415, -0.026095086708664894, -0.05891931429505348, 0.03291235491633415, 0.025403259322047234, -0.037800613790750504, 0.017073411494493484, 0.01571095548570156, 0.0493135005235672, -0.04371202737092972, -0.03464098647236824, -0.018881799653172493, 0.0009438727865926921, 0.035518668591976166, 0.004582553636282682, -0.03436686843633652, -0.040049485862255096, 0.028170542791485786, -0.021145829930901527, -0.004704785533249378, -0.07538995146751404, 0.028234850615262985, -0.030811697244644165, -0.015744920819997787, 0.06507616490125656, 0.030490832403302193, 0.033829472959041595, 0.03644654527306557, 0.0050594015046954155, 0.008023837581276894, -0.050383709371089935, 0.028752893209457397, -0.02915613353252411, -0.008959401398897171, -0.009367818012833595, -0.020365426316857338, 0.0043532405979931355, -0.03216021880507469, -0.06733518093824387, -0.0477408729493618, -0.0011995980748906732, 0.03133334964513779, -0.014939573593437672, -0.003693351289257407, -0.0010138580109924078, 0.03861888125538826, -0.03165239840745926, -0.02604367956519127, -0.04333923012018204, -0.03184445574879646, -0.07028273493051529, -0.0555388368666172, 0.005439457483589649, 0.016071539372205734, 0.042162638157606125, -0.012422224506735802, -0.0021774908527731895, 0.013673108071088791, -0.011110792867839336, -0.019583962857723236, 0.03770015016198158, 0.009095653891563416, -0.037660546600818634, -0.030710479244589806, 0.008211197331547737, 0.009233377873897552, 0.010655026882886887, -0.024290161207318306, 0.028702670708298683, 0.02521119825541973, -0.011467144824564457, -0.024712862446904182, -0.002249546581879258, 0.012491620145738125, -0.08995822817087173, -0.050559088587760925, -0.012248518876731396, -0.04252798855304718, 0.03617922216653824, -0.043573178350925446, -0.042474415153265, 0.024118272587656975, 0.039980076253414154, 0.04016001150012016, -0.014423085376620293, -0.0044249179773032665, 0.020229630172252655, -0.02528146654367447, 0.029080243781208992, -0.0326867401599884, 0.03547400236129761, -0.031166018918156624, 0.02313498966395855, -0.010783647187054157, -0.0016375435516238213, -0.04750548675656319, 0.02674425207078457, -0.016526849940419197, -0.021499576047062874, -0.012193292379379272, 0.011192630976438522, -0.04760786145925522, 0.03421267122030258, -0.003918892703950405, 0.03245067968964577, -0.030946975573897362, 0.04598022624850273, -0.05041760951280594, 0.0036505304742604494, -0.025596197694540024, 0.01663191430270672, -0.035501569509506226, -0.038502439856529236, 0.005830259528011084, -0.04192972928285599, 0.03020547516644001, 0.03563215211033821, 0.0072568487375974655, 0.0044114296324551105, -0.016019294038414955, 0.010326181538403034, 0.015798162668943405, -0.06778116524219513, -0.016839047893881798, -0.03449026122689247, -0.007951151579618454, -0.003561323042958975, 0.024654295295476913, 0.04221569001674652, -0.04770524054765701, -0.04267432913184166, 0.03718837350606918, 0.022320711985230446, 0.016551459208130836, -0.0034512325655668974, 0.05019073933362961, 0.031002605333924294, 0.04124821722507477, -0.025785816833376884, 0.02136964350938797, -0.003972576931118965, -0.03319341316819191, 0.02782564051449299, 0.01658271625638008, 0.04100316762924194, -0.0047690547071397305, -0.019377971068024635, -0.03958062827587128, 0.08937476575374603, 0.024743780493736267, 0.02519596740603447, 0.007622516248375177, -0.05864233896136284, 0.02392498217523098, -0.009164362214505672, -0.04499681293964386, 0.0002703636419028044, 0.01747177727520466, -0.04714914783835411, 0.08608387410640717, -0.014027193188667297, 0.015669124200940132, 0.01230938732624054, 0.011198778636753559, 0.011756896041333675, 0.03385627642273903, -0.038381222635507584, 0.009528696537017822, 0.006170765496790409, -0.03943030908703804, -0.0092927822843194, -0.014916031621396542, 0.045279908925294876, -0.05503976717591286, 0.05368370562791824, 0.04839532822370529, 0.02024029567837715, 0.0070555852726101875, -0.038631655275821686, -0.03362107276916504, 0.029908372089266777, -0.04891181364655495, 0.07194122672080994, -0.01986462064087391, -0.0789685770869255, 0.043851256370544434, 0.0261334627866745, -0.05725780874490738, 0.04546157643198967, 0.046598002314567566, 0.03293796256184578, 0.034612711519002914, 0.05367729812860489, -0.061065156012773514, 0.005102200899273157, -0.049803610891103745, 0.005666773300617933, -0.077179454267025, -0.002962849335744977, 0.03064347244799137, -0.028220677748322487, -0.026874616742134094, 0.033374618738889694, -0.002597113372758031, -0.002901750151067972, 0.019633373245596886, -0.055447522550821304, -0.04780052602291107, -0.0026983681600540876, 0.01428199838846922, -0.013319576159119606, 0.018293846398591995, -0.03334585204720497, 0.02628655917942524, 0.007584987208247185, 0.0020407254341989756, -0.03276484087109566, 0.022103555500507355, 0.03817126527428627, -0.058067526668310165, -0.04962967708706856, 0.055646978318691254, 0.0048277187161147594, -0.02250107377767563, 0.045165881514549255, -0.032832082360982895, 0.026512086391448975, 0.011045396327972412, 0.02587568573653698, 0.015771951526403427, -0.030822208151221275, -0.014834788627922535, -0.00020786782260984182, 0.031230831518769264, 0.020044593140482903, -0.005170665681362152, 0.025759365409612656, 0.03526759147644043, 0.035127829760313034, 0.0021301056258380413, -0.046605054289102554, -0.027562808245420456, 0.0327296108007431, -0.02260218746960163, 0.028893616050481796, 0.024741027504205704, -0.058821726590394974, -0.03973791003227234, -0.021277716383337975, -0.007190616801381111, 0.054349374026060104, -0.028416529297828674, 0.009554781951010227, 0.044513680040836334, 0.0044489395804703236, -0.038487035781145096, -0.06304926425218582, -0.020684441551566124, -0.04287057742476463, 0.022152910009026527, 0.02615935541689396, -0.0447034016251564, 0.009920263662934303, -0.04100870341062546, -0.07548428326845169, 0.035103678703308105, 0.021887952461838722, -0.040355194360017776, 0.06930999457836151, 0.0339125357568264, -0.03215411305427551, 0.001581507851369679, 0.005785195156931877, -0.05971277505159378, 0.024708561599254608, 0.02409161999821663, 0.010029067285358906, 0.05093909427523613, 0.0199691504240036, 0.00505409762263298, -0.031117042526602745, -0.07026197016239166, -0.009023411199450493, -0.04211033880710602, -0.005637891590595245, 0.05699721351265907 ]
Andrija/M-bert-NER
[ "pytorch", "bert", "token-classification", "hr", "sr", "multilingual", "dataset:hr500k", "transformers", "license:apache-2.0", "autotrain_compatible" ]
token-classification
{ "architectures": [ "BertForTokenClassification" ], "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 } } }
8
null
--- language: ja license: cc-by-sa-4.0 datasets: - wikipedia widget: - text: 東北大学で[MASK]の研究をしています。 --- # BERT base Japanese (character-level tokenization with whole word masking, jawiki-20200831) This is a [BERT](https://github.com/google-research/bert) model pretrained on texts in the Japanese language. This version of the model processes input texts with word-level tokenization based on the Unidic 2.1.2 dictionary (available in [unidic-lite](https://pypi.org/project/unidic-lite/) package), followed by character-level tokenization. Additionally, the model is trained with the whole word masking enabled for the masked language modeling (MLM) objective. The codes for the pretraining are available at [cl-tohoku/bert-japanese](https://github.com/cl-tohoku/bert-japanese/tree/v2.0). ## Model architecture The model architecture is the same as the original BERT base model; 12 layers, 768 dimensions of hidden states, and 12 attention heads. ## Training Data The models are trained on the Japanese version of Wikipedia. The training corpus is generated from the Wikipedia Cirrussearch dump file as of August 31, 2020. The generated corpus files are 4.0GB in total, containing approximately 30M sentences. We used the [MeCab](https://taku910.github.io/mecab/) morphological parser with [mecab-ipadic-NEologd](https://github.com/neologd/mecab-ipadic-neologd) dictionary to split texts into sentences. ## Tokenization The texts are first tokenized by MeCab with the Unidic 2.1.2 dictionary and then split into characters. The vocabulary size is 6144. We used [`fugashi`](https://github.com/polm/fugashi) and [`unidic-lite`](https://github.com/polm/unidic-lite) packages for the tokenization. ## Training The models are trained with the same configuration as the original BERT; 512 tokens per instance, 256 instances per batch, and 1M training steps. For training of the MLM (masked language modeling) objective, we introduced whole word masking in which all of the subword tokens corresponding to a single word (tokenized by MeCab) are masked at once. For training of each model, we used a v3-8 instance of Cloud TPUs provided by [TensorFlow Research Cloud program](https://www.tensorflow.org/tfrc/). The training took about 5 days to finish. ## Licenses The pretrained models are distributed under the terms of the [Creative Commons Attribution-ShareAlike 3.0](https://creativecommons.org/licenses/by-sa/3.0/). ## Acknowledgments This model is trained with Cloud TPUs provided by [TensorFlow Research Cloud](https://www.tensorflow.org/tfrc/) program.
[ 0.00557156465947628, -0.04243990406394005, -0.02222471497952938, 0.0628863200545311, 0.018213307484984398, 0.03363632783293724, 0.007884202525019646, -0.01624836027622223, -0.031637854874134064, 0.06630123406648636, 0.00924568623304367, -0.015823250636458397, 0.02560633048415184, 0.03789801895618439, -0.04544352740049362, -0.03274872526526451, -0.013954383321106434, -0.007335267029702663, -0.04342170059680939, -0.01934416964650154, 0.010221429169178009, 0.011702485382556915, -0.005895024631172419, 0.025757143273949623, 0.0014719093451276422, 0.016988703981041908, -0.016061851754784584, 0.024567047134041786, 0.019239824265241623, -0.06511268764734268, -0.009942302480340004, -0.02711344137787819, -0.051861826330423355, -0.012732875533401966, -0.028548749163746834, -0.02944120578467846, -0.018194686621427536, 0.002559691434726119, 0.017172308638691902, 0.056527622044086456, -0.017268890514969826, 0.017232967540621758, -0.0017891202587634325, -0.026486152783036232, 0.02633313648402691, 0.009620536118745804, -0.027900829911231995, -0.0016355217667296529, 0.045844193547964096, -0.027176745235919952, -0.049067456275224686, -0.07174263149499893, -0.03424963727593422, 0.025600986555218697, -0.01312411017715931, -0.006870515178889036, -0.0642305314540863, -0.006553024984896183, 0.05610250309109688, -0.03903137892484665, -0.048625070601701736, 0.012888502329587936, -0.04967043176293373, 0.03822760656476021, 0.017910579219460487, -0.03220681473612785, 0.00883319228887558, -0.052080005407333374, 0.043771225959062576, -0.021320268511772156, 0.03548726439476013, -0.05481846630573273, 0.011932646855711937, -0.10741361230611801, -0.022586576640605927, 0.005479088518768549, 0.032674867659807205, 0.03503388166427612, -0.038152750581502914, 0.06395966559648514, 0.008128386922180653, 0.003609344130381942, 0.020380107685923576, -0.014622182585299015, -0.007952763698995113, 0.049606554210186005, -0.03088102862238884, -0.00302180927246809, -0.006568533834069967, 0.046611182391643524, -0.04043811932206154, -0.013584994710981846, -0.023423926904797554, -0.010235530324280262, -0.015735451132059097, 0.03344451263546944, 0.024586066603660583, -0.013856261968612671, 0.04624295234680176, 0.015201443806290627, 0.019643917679786682, 0.035121019929647446, -0.013012344017624855, 0.05800354480743408, -0.0153909120708704, -0.0004199666727799922, -0.030325066298246384, -0.030194716528058052, -0.05057986453175545, 0.03539671003818512, 0.020189551636576653, -0.04483203962445259, -0.05646204948425293, 0.02834845334291458, 0.03560928627848625, -0.03802058845758438, 0.02900068461894989, -0.012095004320144653, -0.036371733993291855, -0.049073442816734314, 0.04601094499230385, 0.008608890697360039, 0.0009961153846234083, 0.007062636781483889, -0.050513509660959244, 0.04879823327064514, -0.034312766045331955, -0.00013343610044103116, 0.0014445692067965865, 0.0196105744689703, -0.017666341736912727, 0.0240364708006382, 0.04127857834100723, -0.0434778667986393, -0.010248763486742973, 0.007629530504345894, -0.08659882098436356, 0.029916414991021156, 0.025417709723114967, 0.10875231772661209, -0.05776219442486763, -0.026591872796416283, 0.0020066567230969667, 0.020456349477171898, -0.0017556129023432732, 0.002164904261007905, 0.005543125793337822, -0.02919112518429756, -0.007827757857739925, -0.023208526894450188, 0.05499262735247612, -0.035249482840299606, -0.013142233714461327, 0.06131715327501297, -0.01712343841791153, 0.058477744460105896, -0.049091827124357224, 0.008372762240469456, 0.012616042979061604, 0.00613000662997365, -0.037673480808734894, 0.03576546162366867, -0.003455465193837881, -0.027368318289518356, -0.03863564878702164, -0.04524432495236397, -0.018728798255324364, 0.06881589442491531, -0.0121954046189785, -0.023481125012040138, -0.04773668572306633, 0.023165907710790634, 0.06336621195077896, 0.05006788671016693, -0.01943700946867466, 0.030946195125579834, 0.03790535777807236, 0.05035437270998955, -0.015184816904366016, 0.05303916335105896, 0.003276793286204338, -0.023142032325267792, -0.0359545573592186, 0.026129836216568947, 0.009951579384505749, -0.04319612681865692, 0.024952096864581108, 0.027842894196510315, -0.0019030236871913075, -0.03535769507288933, -0.021831339225172997, 0.08039669692516327, -0.0007087395060807467, -0.003024297533556819, 0.017138781026005745, 0.00011566104512894526, -0.03506074473261833, 0.02627200447022915, -0.033544156700372696, -0.015471667051315308, -0.011760528199374676, -0.03480038046836853, 0.009604744613170624, 0.029597491025924683, 0.042706120759248734, 0.04618818685412407, 0.029630297794938087, 0.06667551398277283, -0.02217929996550083, 0.027453266084194183, -0.04644250497221947, -0.04211116209626198, 0.007782080676406622, 0.03608733043074608, 0.03698030114173889, 0.05114659667015076, -0.0049925995990633965, -0.009635263122618198, 0.019064676016569138, 0.0703435018658638, 0.06106885150074959, 0.0237200278788805, -0.03706543892621994, 0.0004857823078054935, 0.025251522660255432, 0.07433523237705231, -0.0445563979446888, -0.030351778492331505, 0.026917455717921257, 0.03185813128948212, -0.021690214052796364, 0.01895292103290558, 0.003475021570920944, 0.023521779105067253, -0.03970275819301605, -0.07807032763957977, 0.038523584604263306, 0.03597159683704376, 0.002453384455293417, 0.020279783755540848, 0.0009248021524399519, 0.027563102543354034, 0.03294064849615097, 0.03541012480854988, 0.008814455941319466, -0.05543011426925659, -0.0010205344296991825, 0.04330669343471527, 0.053587108850479126, -0.058479197323322296, 0.042096398770809174, -0.009298600256443024, 0.004300737753510475, 0.010993312112987041, -0.028777098283171654, 0.026152726262807846, 0.01978343538939953, -0.004890759475529194, -0.05376489832997322, 0.020255468785762787, 0.026677235960960388, 0.04943355172872543, 0.08085325360298157, 0.019674986600875854, 0.055683549493551254, 0.018392905592918396, 0.05302542820572853, 0.08594828844070435, 0.018300175666809082, 0.022355442866683006, 0.02447930909693241, 0.06885222345590591, -0.0063076261430978775, -0.011379565112292767, 0.07451952248811722, -0.03401311859488487, 0.0025354858953505754, -0.024787917733192444, 0.009012940339744091, -0.004923902917653322, -0.015165760181844234, 0.014522310346364975, 0.02299031987786293, 0.00013444534852169454, 0.0011147750774398446, -0.01578456722199917, -0.006223644595593214, 0.03843730315566063, 0.0024523537140339613, 0.010454876348376274, 0.002894203644245863, -0.05140649154782295, -0.00669854786247015, -0.08711588382720947, -0.06054189056158066, 0.01635598950088024, -0.02673156186938286, -0.009157397784292698, -0.08084917068481445, -0.017260471358895302, -0.06705697625875473, -0.028379088267683983, 0.041920535266399384, 0.03277718648314476, -0.025288904085755348, -0.023137055337429047, -0.0014240226009860635, -0.034431762993335724, -0.03835887461900711, -0.0517047755420208, -0.03576532006263733, -0.04148931801319122, -0.08737634122371674, 0.0299649890512228, 0.03530075028538704, 0.01341125275939703, -0.007869735360145569, 0.004464536905288696, -0.008675538003444672, -0.029441753402352333, 0.03688069060444832, 0.03950547054409981, -0.020318573340773582, -0.031371474266052246, 0.04048317298293114, -0.023150134831666946, 0.026568228378891945, -0.008346928283572197, -0.00379716488532722, 0.05257014185190201, 0.0705503523349762, 0.01866176165640354, 0.002447310369461775, -0.005829964764416218, -0.032185494899749756, -0.08326878398656845, -0.05442125350236893, -0.04789458587765694, -0.02902148850262165, -0.04716445505619049, -0.06154991686344147, 0.007540159858763218, -0.030373694375157356, 0.016253694891929626, -0.007211233023554087, 0.024953287094831467, 0.033505748957395554, 0.03801538050174713, 0.03247688338160515, 0.04080626741051674, -0.03344480320811272, -0.019573256373405457, 0.09103722125291824, 0.013810797594487667, 0.029401462525129318, -0.056864965707063675, -0.027377093210816383, 0.03730897232890129, 0.019576961174607277, -0.017032673582434654, -0.02009235881268978, 0.06258761882781982, 0.022534772753715515, -0.006119209341704845, -0.00015158405585680157, -0.018362989649176598, -0.025567106902599335, 0.011668873950839043, -0.015651477500796318, -0.022663036361336708, -0.04667847976088524, -0.036533500999212265, -0.002721679164096713, 0.035821445286273956, -0.07267015427350998, -0.05415697023272514, -0.013388339430093765, 0.02062836103141308, 0.020172441378235817, -0.008373569697141647, -0.029951639473438263, 0.009210189804434776, -0.046681810170412064, -0.03144649788737297, 0.01566024124622345, -0.020248468965291977, 0.02230571024119854, 0.05694567784667015, 0.02203528769314289, -0.015195847488939762, 0.04837554320693016, 0.01727445051074028, 0.04943478852510452, 0.01417070347815752, -0.06338859349489212, 0.018516840413212776, -0.02491382695734501, 0.020913343876600266, -0.007458022329956293, 0.00013253832003101707, -0.042572684586048126, -0.062100816518068314, -0.010445552878081799, 0.006604074966162443, -0.0025509160477668047, -0.01646147295832634, 0.042873747646808624, -0.02686070092022419, -0.0008888831362128258, 0.005132380407303572, 0.024913493543863297, 0.03419185429811478, -0.05129582807421684, 0.06571970134973526, 0.013523509725928307, 0.02662910893559456, -0.09701646864414215, -0.01998295821249485, -0.04012245312333107, -0.005668644327670336, 0.016066255047917366, 0.07375310361385345, 0.022504663094878197, 0.04408028721809387, 0.07518650591373444, 0.046466052532196045, -0.033857107162475586, 0.02964164689183235, 0.03296952694654465, 0.025599077343940735, -0.02609769068658352, 0.001095602405257523, -0.025170570239424706, -0.02512381225824356, 0.012143641710281372, -0.03315751627087593, 0.03725375980138779, 0.008665598928928375, -0.004602042958140373, -0.019542519003152847, 0.012228659354150295, -0.023320332169532776, -0.03292013332247734, -0.08913306146860123, -0.0024146847426891327, 0.0006246502744033933, -0.022924503311514854, 0.028525536879897118, 0.007684389594942331, 0.007629975210875273, 0.060144875198602676, 0.04866413772106171, -0.025691311806440353, -0.024886146187782288, 0.03767624869942665, 0.019293740391731262, -0.04537021741271019, -0.06101981922984123, -0.05367429926991463, 0.045429911464452744, 0.060450803488492966, -0.03338019922375679, -0.08916156738996506, -0.01310220081359148, 0.03182273730635643, -0.0454741008579731, 0.0578029602766037, 0.0005006979336030781, 0.06055362895131111, 0.07330799102783203, -0.01617150567471981, 0.03789696469902992, -0.014044349081814289, 0.0012799529358744621, -0.011128297075629234, 0.04261402040719986, -0.012802120298147202, -0.05066795274615288, -0.03378111869096756, 0.025011099874973297, 0.031229723244905472, 0.038487013429403305, 0.02069191262125969, -0.02195492945611477, -0.04857528209686279, 0.006373226176947355, 0.022269681096076965, -0.04246600717306137, -0.009131071157753468, 0.03500574082136154, 0.044387977570295334, -0.07006438821554184, -0.03821571543812752, -0.039219629019498825, 0.010774480178952217, 0.026451990008354187, 0.004750698804855347, -0.03235187754034996, -0.07070399075746536, 0.020424185320734978, -0.004728234373033047, -0.006368165835738182, -0.09683942049741745, 0.027602670714259148, -0.0033880278933793306, -0.014936510473489761, 0.04888447746634483, 0.04034954681992531, 0.04579782858490944, 0.0592670738697052, -0.010872680693864822, 0.004527146462351084, -0.051902949810028076, 0.023598195984959602, -0.024935591965913773, 0.004251398146152496, -0.0005346597172319889, -0.04616434872150421, 0.002248571952804923, -0.024042006582021713, -0.042103223502635956, -0.0659034326672554, -0.0201236754655838, 0.03948114812374115, -0.02061276137828827, 0.004660775884985924, -0.00429636100307107, 0.036087680608034134, -0.0389498807489872, -0.04231392964720726, -0.021594103425741196, -0.021268604323267937, -0.057120319455862045, -0.04515431076288223, 0.01585868000984192, 0.02678811177611351, 0.008084628731012344, 0.011274010874330997, 0.005938577465713024, 0.01690467819571495, -0.004746326245367527, -0.05192350596189499, 0.016740407794713974, 0.007450072094798088, -0.046656787395477295, -0.03090512752532959, 0.0219243373721838, 0.02692100778222084, 0.02592252939939499, -0.03958403691649437, 0.012395170517265797, 0.007949208840727806, -0.021910768002271652, -0.03602076694369316, 0.01507922075688839, 0.03922736644744873, -0.07499246299266815, -0.05544527247548103, 0.0066689238883554935, -0.05185987800359726, 0.04175714775919914, -0.03712627291679382, -0.0339319184422493, 0.03533734381198883, 0.016612274572253227, 0.0463499054312706, -0.011840596795082092, -0.029201606288552284, 0.043163761496543884, -0.0076304092071950436, 0.018634071573615074, -0.05999158322811127, 0.024335481226444244, -0.039735812693834305, 0.004659111611545086, -0.015183353796601295, -0.001683607930317521, -0.04863507300615311, 0.019098836928606033, -0.002098719123750925, -0.028949836269021034, -0.00812274869531393, -0.0008460067328996956, -0.04121946915984154, 0.04535501077771187, -0.016280652955174446, 0.021202905103564262, -0.012685840018093586, 0.053937509655952454, -0.06021226942539215, 0.006414818577468395, -0.017608700320124626, 0.0034170481376349926, -0.0600561760365963, -0.03181327134370804, -0.030006222426891327, -0.044688284397125244, 0.022145790979266167, 0.04121212288737297, 0.027364879846572876, 0.03193376213312149, -0.007477148901671171, 0.0026654363609850407, 0.024876493960618973, -0.059464581310749054, -0.027618426829576492, -0.007017604075372219, 0.018898699432611465, 0.0022107025142759085, 0.06451456248760223, 0.06770455092191696, -0.06629259884357452, -0.050034355372190475, 0.04958001896739006, 0.01561553031206131, 0.003917913418263197, -0.0105289863422513, 0.031227733939886093, 0.03166792914271355, 0.04270242154598236, -0.052468057721853256, -0.014206646010279655, -0.022173354402184486, -0.03112063556909561, 0.021298779174685478, -0.002057495294138789, 0.020788077265024185, 0.01347232423722744, -0.016648033633828163, -0.04778954014182091, 0.04685289040207863, 0.01801176927983761, 0.03655475005507469, 0.0018146333750337362, -0.051255349069833755, 0.01962830126285553, 0.0028817388229072094, -0.07394949346780777, 0.015441004186868668, 0.015941336750984192, -0.014115311205387115, 0.052359577268362045, 0.001804330968298018, 0.02381284348666668, 0.03788081929087639, 0.01638108305633068, -0.03593859821557999, 0.043533798307180405, -0.03901465982198715, 0.008018935099244118, 0.04764072597026825, -0.031147336587309837, -0.035561107099056244, -0.03171144425868988, 0.05551670119166374, -0.06924407929182053, 0.04262465611100197, 0.033510997891426086, 0.009895836003124714, 0.01520343217998743, -0.019004574045538902, -0.04786926135420799, 0.022043898701667786, -0.017609471455216408, 0.08682477474212646, 0.01786314696073532, -0.045352451503276825, 0.07754354923963547, 0.003283451311290264, -0.0890561118721962, 0.031216733157634735, 0.046135313808918, 0.047587521374225616, 0.024216730147600174, 0.0646769180893898, -0.04211164265871048, 0.012570280581712723, -0.049235615879297256, 0.01904390938580036, -0.0396028533577919, -0.014020164497196674, 0.033338762819767, -0.039132244884967804, -0.006830638740211725, 0.01659131981432438, -0.022768106311559677, -0.0021192729473114014, 0.03026415966451168, -0.06356947124004364, -0.05181334912776947, -0.00962925422936678, 0.03491290286183357, -0.017081860452890396, -0.024144534021615982, -0.02816232666373253, 0.017408305779099464, 0.013432173058390617, -0.014756840653717518, -0.05044752359390259, 0.002218926325440407, 0.02990858443081379, -0.0876992791891098, -0.04248952120542526, 0.04463455080986023, 0.01894472725689411, -0.04521114379167557, 0.046088460832834244, -0.00425261864438653, 0.004407711327075958, 0.024120213463902473, 0.004753775894641876, 0.025899307802319527, -0.052156757563352585, -0.0005576055264100432, 0.018913494423031807, 0.009542306885123253, 0.04767836630344391, -0.009597054682672024, 0.004266750533133745, 0.030895281583070755, 0.03651006892323494, -0.003471778705716133, -0.08406133949756622, -0.012081787921488285, 0.029972251504659653, -0.05872928351163864, 0.01583452895283699, -0.012681390158832073, -0.04840907081961632, -0.05787935107946396, -0.012788024730980396, -0.028155125677585602, 0.04072990640997887, -0.05328397452831268, 0.024032920598983765, 0.009332600980997086, -0.016894936561584473, -0.042667098343372345, -0.07810288667678833, -0.0227192435413599, -0.01910432055592537, 0.023461556062102318, 0.013414840213954449, -0.025756124407052994, 0.012710249051451683, -0.04685496166348457, -0.0636131539940834, 0.027124829590320587, 0.021722489967942238, -0.03587828204035759, 0.035797640681266785, 0.03418081998825073, -0.035843320190906525, 0.0053422278724610806, 0.03968135640025139, -0.02831079810857773, 0.03284652158617973, 0.001620241324417293, 0.001776767778210342, 0.026284324005246162, 0.029826190322637558, -0.00999478716403246, -0.013952071778476238, -0.06298960745334625, -0.051698870956897736, -0.01918654888868332, -0.003058153437450528, 0.06064456328749657 ]
Anirbanbhk/Hate-speech-Pretrained-movies
[ "tf", "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 } } }
20
2021-05-21T11:21:07Z
--- language: - hr - bs - sr - cnr - hbs tags: - masked-lm widget: - text: "Zovem se Marko i radim u [MASK]." license: apache-2.0 --- # BERTić&ast; [bert-ich] /bɜrtitʃ/ - A transformer language model for Bosnian, Croatian, Montenegrin and Serbian &ast; The name should resemble the facts (1) that the model was trained in Zagreb, Croatia, where diminutives ending in -ić (as in fotić, smajlić, hengić etc.) are very popular, and (2) that most surnames in the countries where these languages are spoken end in -ić (with diminutive etymology as well). This is the smaller generator of the main [discriminator model](https://huggingface.co/classla/bcms-bertic), useful if you want to continue pre-training the discriminator model. If you use the model, please cite the following paper: ``` @inproceedings{ljubesic-lauc-2021-bertic, title = "{BERT}i{\'c} - The Transformer Language Model for {B}osnian, {C}roatian, {M}ontenegrin and {S}erbian", author = "Ljube{\v{s}}i{\'c}, Nikola and Lauc, Davor", booktitle = "Proceedings of the 8th Workshop on Balto-Slavic Natural Language Processing", month = apr, year = "2021", address = "Kiyv, Ukraine", publisher = "Association for Computational Linguistics", url = "https://www.aclweb.org/anthology/2021.bsnlp-1.5", pages = "37--42", } ```
[ -0.004083240870386362, 0.008734144270420074, -0.021036537364125252, 0.05380821228027344, 0.03470023721456528, 0.055501095950603485, 0.006387544330209494, 0.009149889461696148, -0.055592190474271774, 0.06207788735628128, 0.021936481818556786, -0.0278308242559433, -0.0000037550628348981263, 0.0501757450401783, -0.02607819065451622, -0.004735564347356558, -0.02546575851738453, -0.020757917314767838, -0.063472218811512, -0.01343651581555605, -0.018185751512646675, 0.00494717201218009, -0.0016736863180994987, 0.037508636713027954, 0.0049735307693481445, 0.014846691861748695, -0.026401802897453308, 0.024552153423428535, 0.01127795223146677, -0.05822891369462013, 0.032088812440633774, -0.025937026366591454, -0.03576434403657913, -0.04634156450629234, -0.03971334919333458, -0.01820284128189087, 0.01630854792892933, 0.01844966411590576, 0.036973580718040466, 0.0830278992652893, 0.0034404241014271975, -0.0005778719205409288, -0.02364618517458439, -0.030453737825155258, 0.03469805791974068, 0.023032141849398613, -0.05013933777809143, -0.007687050849199295, 0.02992456965148449, -0.03591514751315117, -0.03007197380065918, -0.07010969519615173, -0.01974497176706791, 0.01654847525060177, -0.03229004144668579, -0.024233562871813774, -0.04687066748738289, -0.004433123394846916, 0.054280832409858704, -0.04898998513817787, -0.029286829754710197, 0.013583177700638771, -0.06214386597275734, 0.03219187259674072, 0.03610895574092865, -0.02405853383243084, 0.019111715257167816, -0.026712173596024513, 0.04140337556600571, -0.020148711279034615, 0.05216051638126373, -0.030113589018583298, -0.00630355766043067, -0.05654038116335869, 0.0074075860902667046, -0.014957443810999393, 0.047853291034698486, 0.06832007318735123, -0.019656090065836906, 0.035788461565971375, 0.009809408336877823, 0.002245208714157343, 0.03150887042284012, -0.0360649973154068, 0.017164530232548714, 0.0581415593624115, -0.048882585018873215, 0.011311364360153675, 0.022251751273870468, 0.058250077068805695, -0.03262554854154587, -0.0304730124771595, -0.014995448291301727, -0.038518812507390976, 0.003446608316153288, 0.011925451457500458, 0.03029213286936283, -0.005324764642864466, 0.06059820577502251, 0.02914925292134285, 0.009954024106264114, 0.04915422573685646, -0.017431501299142838, 0.029187237843871117, -0.025698324665427208, -0.012042021378874779, 0.005495521239936352, -0.031045611947774887, -0.04856022074818611, 0.005787732545286417, 0.02202317677438259, -0.052486490458250046, -0.0321916788816452, 0.046996328979730606, 0.010476273484528065, -0.023476531729102135, 0.06941808015108109, -0.03115021623671055, -0.05323294550180435, -0.05659490078687668, 0.01648520678281784, 0.004626570735126734, 0.012078379280865192, 0.004790368489921093, -0.056958165019750595, 0.03410563990473747, -0.021005745977163315, -0.02016233466565609, 0.0038891390431672335, 0.010833072476089, -0.001787553890608251, 0.05264899879693985, 0.035946302115917206, -0.06224850192666054, -0.001051799627020955, 0.01930924691259861, -0.05236576870083809, 0.04632650688290596, 0.028904246166348457, 0.11128569394350052, -0.04334373399615288, -0.04862360656261444, -0.000821352587081492, 0.0036997036077082157, -0.04220075160264969, 0.011145442724227905, 0.015626657754182816, -0.05048918351531029, 0.004374891985207796, -0.012612305581569672, 0.04376846179366112, -0.052558720111846924, 0.004425351042300463, 0.07948143780231476, -0.025096099823713303, 0.012042620219290257, -0.028345705941319466, -0.029438624158501625, -0.004885333590209484, -0.005982544273138046, -0.024262523278594017, 0.016975700855255127, -0.009499689564108849, -0.007768834009766579, -0.032710202038288116, -0.037824805825948715, 0.01348673366010189, 0.09997481107711792, 0.02418728545308113, -0.010574222542345524, -0.009293385781347752, -0.0027046874165534973, 0.03550940006971359, -0.003269017208367586, -0.04402971640229225, 0.02403552643954754, 0.0355471633374691, 0.022775495424866676, -0.02388693392276764, 0.05150531604886055, 0.004727096762508154, -0.042014505714178085, -0.03799682855606079, 0.011258838698267937, 0.02299029380083084, -0.03603031486272812, 0.01942279562354088, 0.05736862123012543, -0.006280708592385054, -0.033938970416784286, -0.009029352106153965, 0.04163376986980438, -0.011648251675069332, 0.0059515261091291904, 0.0338272750377655, -0.0003680845838971436, -0.03147147223353386, 0.06633111834526062, -0.017646020278334618, -0.0015898161800578237, -0.03575923666357994, -0.021580327302217484, 0.008148960769176483, 0.032165903598070145, 0.028689906001091003, 0.02401343546807766, -0.03356745094060898, 0.046643320471048355, -0.026735126972198486, 0.017643215134739876, -0.06265489757061005, -0.03947388008236885, 0.0002573800156824291, 0.04627551883459091, 0.002355750650167465, 0.05383297801017761, -0.02151716686785221, -0.04202966019511223, 0.0064156996086239815, 0.040951136499643326, 0.08347239345312119, -0.002374969655647874, -0.015412979759275913, 0.0009472842211835086, -0.016822323203086853, 0.053682852536439896, -0.05113231763243675, -0.03798196092247963, 0.013851574622094631, 0.049042388796806335, -0.014886516146361828, 0.03771206736564636, 0.0022531107533723116, 0.025528714060783386, -0.0371149443089962, -0.066827692091465, 0.05416956543922424, 0.02210433967411518, 0.02091091312468052, 0.04074738174676895, -0.02439262345433235, 0.01383889652788639, -0.0019525488605722785, 0.015095545910298824, -0.012856553308665752, -0.03376133739948273, -0.017265865579247475, 0.0007117066998034716, 0.06758114695549011, -0.04991349205374718, 0.032217565923929214, -0.016207993030548096, 0.01294492557644844, 0.04851536080241203, -0.04321090504527092, 0.02701612561941147, 0.024907715618610382, 0.017722051590681076, -0.02402631938457489, -0.000060054269852116704, 0.0053533827885985374, 0.04720913991332054, 0.06481998413801193, -0.01242996659129858, 0.07797539979219437, -0.01879248209297657, 0.0667605996131897, 0.08156241476535797, 0.017705095931887627, 0.0047519574873149395, 0.02554061822593212, 0.06591925024986267, -0.0047440784983336926, -0.01192245539277792, 0.057785239070653915, -0.042941365391016006, 0.016983753070235252, -0.0609259270131588, 0.010066080838441849, 0.005629409570246935, -0.02795976959168911, 0.037090741097927094, 0.010828113183379173, -0.017087865620851517, 0.010595838539302349, -0.02375388890504837, -0.002723035402595997, 0.05379767715930939, -0.020598851144313812, 0.021659446880221367, -0.01261463388800621, -0.04805222526192665, -0.01642879657447338, -0.062239550054073334, -0.05756556615233421, -0.006386287044733763, -0.03809371590614319, -0.006772476248443127, -0.0724618211388588, -0.012865347787737846, -0.031777523458004, -0.01724848710000515, 0.039520565420389175, 0.023166341707110405, 0.010517480783164501, -0.03118530474603176, 0.024225162342190742, -0.039404358714818954, -0.0370066836476326, -0.04749283567070961, -0.028690584003925323, -0.03671085834503174, -0.04628967493772507, 0.03963683918118477, 0.032305631786584854, 0.042033158242702484, -0.007238413672894239, 0.014438170939683914, -0.01380687765777111, -0.06032424792647362, 0.014075595885515213, 0.04817672446370125, -0.05343563109636307, -0.04948964715003967, 0.03368609398603439, -0.00047344673657789826, 0.01714075356721878, 0.004101582337170839, -0.03718284144997597, 0.08196078985929489, 0.08026277273893356, 0.025012120604515076, -0.003884010249748826, 0.0012309184530749917, -0.06758435070514679, -0.07149751484394073, -0.024385664612054825, -0.06036445498466492, -0.011339823715388775, -0.03503619506955147, -0.039207424968481064, -0.016748307272791862, -0.0398414209485054, -0.004902558401226997, -0.015608387999236584, 0.00862603448331356, 0.025686712935566902, 0.043250810354948044, 0.02492530085146427, 0.0389750637114048, -0.011232364922761917, -0.019311999902129173, 0.04509934410452843, 0.015179941430687904, -0.009576890617609024, -0.07625778764486313, -0.02408605068922043, 0.017142662778496742, 0.03498171269893646, 0.02092800848186016, -0.028912998735904694, 0.0782720223069191, 0.024560529738664627, -0.0026703146286308765, -0.01647387631237507, -0.007972252555191517, -0.05041467398405075, -0.0027816782239824533, -0.02091110683977604, -0.00810413621366024, -0.06860917061567307, -0.03267345204949379, 0.010139121674001217, 0.041450656950473785, -0.06177295371890068, -0.049184489995241165, -0.00822855532169342, 0.018118025735020638, 0.013717861846089363, 0.010882114991545677, -0.04370800033211708, 0.011897459626197815, -0.039014942944049835, -0.05253017693758011, -0.0016404847847297788, -0.0009795547230169177, 0.016883298754692078, 0.02635241113603115, 0.026292288675904274, -0.03241686895489693, 0.012688099406659603, 0.054292429238557816, 0.06488430500030518, 0.017011703923344612, -0.05708349868655205, 0.014345617964863777, -0.05702833831310272, 0.04478558897972107, -0.0240945965051651, -0.035038091242313385, -0.047053322196006775, -0.08684752881526947, -0.011995046399533749, 0.01080914493650198, -0.03234952688217163, -0.0071641020476818085, 0.0331946536898613, -0.016627872362732887, -0.0028592273592948914, -0.0140053266659379, 0.030578790232539177, 0.04210387170314789, -0.07892154157161713, 0.057526689022779465, 0.015528252348303795, 0.07488301396369934, -0.06036156415939331, 0.024020252749323845, -0.032284822314977646, -0.035559430718421936, -0.003492891788482666, 0.05462189018726349, 0.04436279088258743, 0.011874652467668056, 0.08120430260896683, 0.005459502339363098, -0.037112414836883545, 0.03808380290865898, 0.032754939049482346, -0.02123306505382061, -0.06616944819688797, -0.007803816813975573, -0.025641705840826035, -0.027001293376088142, -0.011236407794058323, -0.04942551255226135, 0.010443850420415401, 0.015927748754620552, 0.03012942522764206, -0.028703739866614342, -0.0031439659651368856, -0.03938136622309685, -0.03426756709814072, -0.06809357553720474, -0.017961135134100914, 0.0259102750569582, -0.03052574209868908, 0.036662179976701736, 0.04626323655247688, 0.0006636259495280683, 0.07786563783884048, 0.03458079323172569, -0.017778700217604637, -0.053147170692682266, 0.012701363302767277, 0.021038999781012535, -0.04210909456014633, -0.08712565153837204, -0.03694427013397217, 0.040174245834350586, 0.03822467476129532, -0.0074959914200007915, -0.06896776705980301, 0.018226059153676033, 0.046480946242809296, -0.007908996194601059, 0.06434161216020584, -0.0151529461145401, 0.07480155676603317, 0.035650186240673065, -0.03224284574389458, 0.003450519172474742, -0.04240410774946213, 0.003552472684532404, 0.0006712907925248146, 0.04702306166291237, -0.01966203562915325, -0.04362751543521881, -0.04265426844358444, 0.028079023584723473, 0.02577919512987137, 0.03796164318919182, 0.03300256282091141, -0.04428022727370262, -0.07053860276937485, -0.010563838295638561, 0.03047807887196541, -0.03959842771291733, 0.0319782979786396, 0.022990304976701736, 0.04624512791633606, -0.03401346132159233, -0.04692458361387253, -0.009116045199334621, -0.012748556211590767, 0.032718222588300705, 0.004507048521190882, -0.07892756909132004, -0.052377697080373764, 0.00994584709405899, -0.01956155337393284, -0.03620922565460205, -0.07979375123977661, 0.012758815661072731, -0.013598007149994373, -0.028078189119696617, 0.03696761652827263, 0.042204078286886215, 0.046848442405462265, 0.04809033125638962, 0.010731798596680164, -0.015539516694843769, -0.05201747640967369, 0.05798415094614029, -0.03018801286816597, -0.007117634639143944, -0.030100341886281967, -0.034865859895944595, -0.0029081932734698057, -0.026607932522892952, -0.03805366903543472, -0.047024842351675034, -0.003415158484131098, 0.003160408465191722, -0.00798770971596241, -0.005350737366825342, -0.029150644317269325, 0.023123502731323242, -0.03052404522895813, -0.038205623626708984, -0.03874256834387779, -0.006169230677187443, -0.0714901015162468, -0.0401812419295311, 0.011694559827446938, 0.0026797500904649496, 0.02753383107483387, 0.00970819965004921, -0.00506280642002821, 0.03190933167934418, -0.010344220325350761, -0.019713615998625755, 0.022139323875308037, 0.006300991866737604, -0.05939117446541786, -0.014547382481396198, -0.0016739421989768744, -0.0012165544321760535, 0.04112069681286812, -0.020849652588367462, 0.022930661216378212, 0.016859417781233788, -0.03813142329454422, -0.022337865084409714, 0.028598343953490257, 0.011500400491058826, -0.06170852482318878, -0.05218251794576645, -0.0027224193327128887, -0.03768482431769371, 0.050117865204811096, -0.0262519009411335, -0.0412992388010025, 0.054525475949048996, 0.01575552299618721, 0.05368579179048538, -0.00638546934351325, -0.017884759232401848, 0.03436936438083649, -0.00968038197606802, 0.024377217516303062, -0.04615860804915428, 0.04662511497735977, -0.043617650866508484, 0.031199131160974503, -0.014473209157586098, -0.015819327905774117, -0.07027237117290497, 0.03582485392689705, -0.039763614535331726, -0.003581168595701456, -0.019603431224822998, 0.03291810676455498, -0.031157489866018295, 0.03258531168103218, -0.022136962041258812, 0.008067202754318714, -0.03187176212668419, 0.06052662804722786, -0.045526642352342606, 0.014132106676697731, -0.03318784385919571, 0.011781491339206696, -0.03950302675366402, -0.0165399219840765, 0.0032766659278422594, -0.04848576337099075, 0.04534021392464638, 0.0003123673959635198, 0.011727928183972836, 0.04338614270091057, -0.015178130939602852, 0.002868144540116191, 0.0038349174428731203, -0.08139630407094955, 0.002606083871796727, -0.024327803403139114, 0.04439013451337814, 0.009976213797926903, 0.05025586113333702, 0.008041535504162312, -0.05868913233280182, -0.05785168334841728, 0.04596119001507759, 0.02271106466650963, -0.013207405805587769, -0.009907635860145092, 0.01756235770881176, 0.026831114664673805, 0.05482896789908409, -0.03253546729683876, -0.02308611199259758, -0.008737681433558464, -0.052888549864292145, 0.02051440440118313, -0.0067278300411999226, 0.03665599972009659, -0.0029072961769998074, -0.03376028686761856, -0.05993865057826042, 0.08627277612686157, 0.009456571191549301, 0.006600923370569944, 0.0035955957137048244, -0.04607762396335602, 0.005206190049648285, -0.00850109662860632, -0.05397761985659599, 0.0022671837359666824, -0.022393813356757164, -0.05024312809109688, 0.06265419721603394, -0.028043212369084358, 0.00471002422273159, 0.03912852704524994, 0.022154422476887703, -0.03535910323262215, 0.02477690391242504, 0.005417373031377792, -0.006328442599624395, 0.006098926533013582, -0.05299492925405502, -0.008849117904901505, -0.04842628538608551, 0.06588992476463318, -0.047292422503232956, 0.03246248885989189, 0.07061826437711716, 0.020685866475105286, 0.030818406492471695, -0.04402923583984375, -0.03663039952516556, 0.04070030897855759, -0.03915426507592201, 0.04413142427802086, -0.006056223530322313, -0.08435384184122086, 0.050612922757864, 0.028016474097967148, -0.07099629193544388, 0.043184589594602585, 0.04832635447382927, 0.018818112090229988, 0.009954608976840973, 0.03515080362558365, -0.04576795548200607, 0.0121602239087224, -0.018958814442157745, 0.03129589185118675, -0.059485625475645065, 0.0014676096616312861, 0.025496935471892357, -0.01217143889516592, -0.008553454652428627, 0.032617174088954926, -0.023534536361694336, -0.00614716624841094, 0.01603979989886284, -0.052429649978876114, -0.04582079499959946, -0.007775609847158194, 0.032743435353040695, -0.029157353565096855, -0.01323450542986393, -0.04421408474445343, 0.016808031126856804, 0.02199394814670086, -0.018686184659600258, -0.05346111208200455, -0.0010390684474259615, 0.02405158430337906, -0.08114878833293915, -0.025173893198370934, 0.04276208579540253, 0.013265063986182213, -0.026448991149663925, 0.046136386692523956, 0.00974180269986391, -0.005812492687255144, 0.028386469930410385, -0.010262039490044117, -0.005088476929813623, -0.0494789257645607, -0.02709394507110119, 0.01217698585242033, 0.014092469587922096, 0.025473544374108315, 0.0011179923312738538, 0.02211342379450798, 0.053331248462200165, 0.02361355908215046, 0.007252769079059362, -0.03151299059391022, -0.04125114530324936, 0.03179871663451195, -0.06948211789131165, -0.00022539624478667974, 0.03884267061948776, -0.05698327347636223, -0.028595322743058205, -0.026002561673521996, -0.0036098144482821226, 0.0511595644056797, -0.055263567715883255, 0.011435288935899734, 0.03050796501338482, -0.016666866838932037, -0.060375384986400604, -0.049890752881765366, -0.024109182879328728, -0.03246966004371643, 0.021571293473243713, 0.02409283071756363, -0.046290092170238495, 0.012987026944756508, -0.03984444960951805, -0.0568772591650486, 0.033759865909814835, 0.020682791247963905, -0.023603644222021103, 0.04441634565591812, 0.04630408436059952, -0.05272888019680977, 0.008267882280051708, 0.01325212512165308, -0.020698094740509987, 0.02487018145620823, -0.000044026914110872895, 0.006682504899799824, 0.024151453748345375, 0.030973831191658974, -0.024470577016472816, -0.02522040717303753, -0.05740799754858017, 0.0112620173022151, -0.035112135112285614, 0.02090402878820896, 0.0562298409640789 ]
Ankitha/DialoGPT-small-harrypottery
[]
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" license: "cc-by-sa-4.0" tags: - text-classification - hate-speech widget: - text: "Gay is okay." --- # roberta-base-frenk-hate Text classification model based on [`roberta-base`](https://huggingface.co/roberta-base) and fine-tuned on the [FRENK dataset](https://www.clarin.si/repository/xmlui/handle/11356/1433) comprising of LGBT and migrant hatespeech. Only the English subset of the data was used for fine-tuning and the dataset has been relabeled for binary classification (offensive or acceptable). ## Fine-tuning hyperparameters Fine-tuning was performed with `simpletransformers`. Beforehand a brief hyperparameter optimisation was performed and the presumed optimal hyperparameters are: ```python model_args = { "num_train_epochs": 6, "learning_rate": 3e-6, "train_batch_size": 69} ``` ## Performance The same pipeline was run with two other transformer models and `fasttext` for comparison. Accuracy and macro F1 score were recorded for each of the 6 fine-tuning sessions and post festum analyzed. | model | average accuracy | average macro F1| |---|---|---| |roberta-base-frenk-hate|0.7915|0.7785| |xlm-roberta-large |0.7904|0.77876| |xlm-roberta-base |0.7577|0.7402| |fasttext|0.725 |0.707 | From recorded accuracies and macro F1 scores p-values were also calculated: Comparison with `xlm-roberta-base`: | test | accuracy p-value | macro F1 p-value| | --- | --- | --- | |Wilcoxon|0.00781|0.00781| |Mann Whithney U-test|0.00108|0.00108| |Student t-test | 1.35e-08 | 1.05e-07| Comparison with `xlm-roberta-large` yielded inconclusive results. `roberta-base` has average accuracy 0.7915, while `xlm-roberta-large` has average accuracy of 0.7904. If macro F1 scores were to be compared, `roberta-base` actually has lower average than `xlm-roberta-large`: 0.77852 vs 0.77876 respectively. The same statistical tests were performed with the premise that `roberta-base` has greater metrics, and the results are given below. | test | accuracy p-value | macro F1 p-value| | --- | --- | --- | |Wilcoxon|0.188|0.406| |Mann Whithey|0.375|0.649| |Student t-test | 0.681| 0.934| With reversed premise (i.e., that `xlm-roberta-large` has greater statistics) the Wilcoxon p-value for macro F1 scores for this case reaches 0.656, Mann-Whithey p-value is 0.399, and of course the Student p-value stays the same. It was therefore concluded that performance of the two models are not statistically significantly different from one another. ## Use examples ```python from simpletransformers.classification import ClassificationModel model_args = { "num_train_epochs": 6, "learning_rate": 3e-6, "train_batch_size": 69} model = ClassificationModel( "roberta", "5roop/roberta-base-frenk-hate", use_cuda=True, args=model_args ) predictions, logit_output = model.predict(["Build the wall", "Build the wall of trust"] ) predictions ### Output: ### array([1, 0]) ``` ## Citation If you use the model, please cite the following paper on which the original model is based: ``` @article{DBLP:journals/corr/abs-1907-11692, author = {Yinhan Liu and Myle Ott and Naman Goyal and Jingfei Du and Mandar Joshi and Danqi Chen and Omer Levy and Mike Lewis and Luke Zettlemoyer and Veselin Stoyanov}, title = {RoBERTa: {A} Robustly Optimized {BERT} Pretraining Approach}, journal = {CoRR}, volume = {abs/1907.11692}, year = {2019}, url = {http://arxiv.org/abs/1907.11692}, archivePrefix = {arXiv}, eprint = {1907.11692}, timestamp = {Thu, 01 Aug 2019 08:59:33 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-1907-11692.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` and the dataset used for fine-tuning: ``` @misc{ljubešić2019frenk, title={The FRENK Datasets of Socially Unacceptable Discourse in Slovene and English}, author={Nikola Ljubešić and Darja Fišer and Tomaž Erjavec}, year={2019}, eprint={1906.02045}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/1906.02045} } ```
[ 0.0016638803062960505, 0.003356826724484563, 0.01500608492642641, 0.03871269151568413, 0.04351599141955376, 0.018507428467273712, -0.032804131507873535, -0.005006065592169762, -0.0417901985347271, 0.05469515547156334, 0.026374947279691696, -0.024078505113720894, 0.01912917010486126, 0.03283729776740074, -0.06641930341720581, -0.042864926159381866, -0.017306115478277206, -0.030137822031974792, -0.04278592765331268, 0.004426434636116028, -0.021820686757564545, -0.004753568675369024, -0.010190429165959358, 0.012709506787359715, 0.016055544838309288, 0.030146347358822823, -0.035184573382139206, 0.030404942110180855, 0.03337134048342705, -0.04107249900698662, 0.00810634158551693, -0.03178207948803902, -0.04577386751770973, 0.002925568725913763, -0.0466415099799633, 0.003894062014296651, 0.022010043263435364, -0.0013782812748104334, 0.03294883295893669, 0.07515645027160645, 0.026405246928334236, -0.004402210470288992, -0.027640201151371002, -0.020014487206935883, 0.030099034309387207, -0.012712831608951092, -0.05341119319200516, -0.016292855143547058, 0.02755190245807171, -0.05314502865076065, -0.03546205535531044, -0.08278082311153412, -0.02860325574874878, 0.034448400139808655, -0.004055761732161045, -0.006866128649562597, -0.06744085997343063, 0.021832697093486786, 0.041439685970544815, -0.03631271421909332, -0.021802349016070366, 0.01914088800549507, -0.04684571549296379, 0.009689518250524998, 0.02324221096932888, -0.03559030964970589, -0.01941610313951969, -0.021071268245577812, 0.053107280284166336, -0.021399561315774918, 0.07680438458919525, -0.024659207090735435, 0.055524762719869614, -0.07150673121213913, -0.007878324016928673, -0.035389453172683716, 0.05245485156774521, 0.052152231335639954, -0.023099444806575775, 0.0654621571302414, 0.03606849163770676, 0.03208805248141289, 0.014511944726109505, -0.004052008967846632, 0.00357501907274127, 0.04196421429514885, -0.05755067616701126, 0.0010304925963282585, -0.0009595012525096536, 0.0678744912147522, -0.05190245062112808, -0.028167741373181343, -0.008236437104642391, -0.015342429280281067, -0.021074114367365837, 0.023984737694263458, 0.016065053641796112, -0.022352751344442368, 0.027584092691540718, 0.035670205950737, 0.029286302626132965, 0.047940801829099655, -0.02250838465988636, 0.055778104811906815, -0.025928352028131485, -0.0015994353452697396, -0.01960337720811367, -0.023543749004602432, -0.04265565052628517, 0.032160382717847824, 0.02700595185160637, -0.04885118454694748, -0.04673321172595024, 0.046030834317207336, -0.0009735724306665361, 0.00008220406743930653, 0.059317685663700104, -0.0354766845703125, -0.03834374248981476, -0.04129108041524887, 0.012876482680439949, 0.007526683155447245, 0.027090489864349365, 0.004484349396079779, -0.060579244047403336, 0.009236049838364124, -0.027946101501584053, -0.06141894310712814, -0.002611415460705757, 0.022128181532025337, 0.006552237551659346, 0.04977891594171524, 0.024502763524651527, -0.03178505226969719, -0.008044815622270107, 0.03426770120859146, -0.08805570751428604, 0.04192878305912018, 0.030695093795657158, 0.12127357721328735, -0.06658583879470825, -0.04079582169651985, -0.01510341465473175, -0.006741648074239492, -0.03564062714576721, 0.015190605074167252, 0.024139422923326492, -0.04283897206187248, -0.025704238563776016, -0.012350164353847504, 0.03376220539212227, -0.057486001402139664, -0.011809910647571087, 0.04945177212357521, -0.01899106055498123, 0.011797435581684113, -0.048133380711078644, -0.010084785521030426, 0.0010467245010659099, -0.017510471865534782, -0.01990676112473011, 0.019288545474410057, 0.01009094063192606, -0.010534362867474556, -0.019979817792773247, -0.06570221483707428, -0.007289475295692682, 0.10557694733142853, 0.0008043820271268487, -0.02276201918721199, -0.03495931252837181, 0.010456305928528309, 0.02727578580379486, 0.019373523071408272, -0.010348285548388958, 0.023025833070278168, 0.05493370443582535, 0.028638681396842003, 0.002508164383471012, 0.06513150781393051, 0.009378219023346901, -0.03565790131688118, -0.045864980667829514, 0.00022971646103542298, -0.002177283400669694, -0.05229700356721878, 0.030114591121673584, 0.04265968129038811, 0.02215849794447422, -0.01013076864182949, -0.032116636633872986, 0.05315440893173218, -0.020227521657943726, -0.018222156912088394, 0.01547553762793541, -0.019671563059091568, -0.0283017810434103, 0.035906292498111725, -0.03254231438040733, -0.011806582100689411, -0.03221268951892853, -0.05404714122414589, 0.008002487011253834, -0.020605141296982765, -0.000028978665795875713, 0.03142669424414635, -0.019890423864126205, 0.0696745440363884, -0.019932914525270462, 0.012117177248001099, -0.04865332692861557, -0.05029292404651642, 0.006822856608778238, 0.06010035052895546, 0.040165502578020096, 0.03169473633170128, -0.007545717526227236, -0.07611192017793655, 0.012996524572372437, 0.05759086832404137, 0.048042044043540955, 0.025404617190361023, -0.02905960939824581, -0.004292172845453024, 0.02839704230427742, 0.028447225689888, -0.053071554750204086, -0.05204353854060173, 0.012776656076312065, 0.06224068999290466, 0.000016039251931943, 0.027327269315719604, -0.02007470466196537, 0.007635391317307949, -0.06513544917106628, -0.057977769523859024, 0.04298139736056328, 0.039420418441295624, 0.0003136848972644657, 0.03188367560505867, 0.0016121601220220327, 0.0015812647761777043, 0.014988401904702187, 0.0021501968149095774, -0.00973318237811327, -0.05732491984963417, 0.013922121375799179, 0.01892559416592121, 0.03627905622124672, -0.047473955899477005, 0.0399860143661499, -0.014048762619495392, -0.016229575499892235, 0.05310992896556854, -0.04617878422141075, 0.041436631232500076, 0.054732080549001694, 0.00230527319945395, -0.032996442168951035, 0.010777506045997143, 0.004378149751573801, 0.021598689258098602, 0.0424821563065052, -0.012297089211642742, 0.07417096942663193, -0.013799924403429031, 0.05392584949731827, 0.11443737149238586, 0.03339431434869766, 0.01827419176697731, 0.059419166296720505, 0.03674441948533058, 0.024884233251214027, -0.026530951261520386, 0.05737109109759331, -0.061434537172317505, 0.03423766419291496, -0.043429795652627945, 0.015585747547447681, -0.0014590180944651365, -0.022318683564662933, 0.02837170660495758, 0.01787881925702095, -0.01345918420702219, 0.00072291778633371, -0.007162932306528091, -0.016418486833572388, 0.05394386500120163, -0.009425441734492779, 0.000024052535081864335, -0.008056405931711197, -0.024112069979310036, 0.034713078290224075, -0.05512868985533714, -0.006323062814772129, -0.004936156794428825, -0.03492090851068497, -0.015719644725322723, -0.06824024021625519, -0.047366607934236526, -0.0547458678483963, 0.00017785512318369, 0.05553518980741501, 0.021564671769738197, 0.0014068587915971875, -0.02767685055732727, -0.008861454203724861, -0.033340055495500565, -0.06612002849578857, -0.038880228996276855, -0.06879281252622604, -0.02058306150138378, -0.045134562999010086, 0.06491833925247192, 0.04457365348935127, 0.03361549228429794, -0.02306065335869789, 0.003683717455714941, -0.008936000987887383, -0.020435834303498268, 0.03800024464726448, 0.04337173327803612, -0.035442598164081573, -0.06657849252223969, 0.005623334087431431, -0.002187581267207861, 0.02275088056921959, 0.01539341825991869, -0.06511472910642624, 0.08208783715963364, 0.07693757861852646, 0.008859151974320412, 0.033338047564029694, 0.00764676695689559, -0.06333620846271515, -0.07244867831468582, -0.027351582422852516, -0.022191079333424568, -0.010828983038663864, -0.019945478066802025, -0.04697775840759277, -0.018538592383265495, -0.04571903124451637, -0.022504054009914398, 0.012534575536847115, 0.027658451348543167, 0.0038135945796966553, 0.04218669980764389, 0.035224832594394684, 0.0185566246509552, -0.030594496056437492, -0.04644662141799927, 0.07210022211074829, -0.006807420402765274, 0.0029576171655207872, -0.07669322192668915, -0.009220254607498646, 0.03104531578719616, 0.0057818214409053326, 0.009732570499181747, -0.01819283328950405, 0.0767359808087349, 0.015901882201433182, 0.03267310932278633, -0.007813219912350178, -0.02205050364136696, 0.006091825198382139, -0.013913883827626705, -0.009256542660295963, -0.012593487277626991, -0.06047288328409195, -0.0171604473143816, -0.010810323059558868, 0.06121391803026199, -0.06300602853298187, -0.0476531907916069, -0.025314951315522194, 0.033240899443626404, 0.051937658339738846, -0.007483501452952623, -0.0468553751707077, -0.006434938870370388, -0.043403126299381256, -0.029237868264317513, 0.02098352648317814, 0.0033630207180976868, 0.006313682999461889, 0.03285624459385872, 0.028866317123174667, -0.024167761206626892, 0.02286504954099655, 0.03598208725452423, 0.0870114415884018, 0.002406603191047907, -0.058390405029058456, 0.011665040627121925, -0.031585000455379486, 0.04496582970023155, 0.0007464414229616523, -0.03630730137228966, -0.013173085637390614, -0.08947227150201797, -0.037468329071998596, -0.002497282112017274, -0.011880481615662575, -0.016773391515016556, 0.050142351537942886, -0.006099214311689138, -0.004586405586451292, 0.0031682346016168594, 0.008908554911613464, 0.051629021763801575, -0.05938536301255226, 0.04967165365815163, 0.012750260531902313, 0.026284685358405113, -0.03525075688958168, 0.025220099836587906, -0.03257017210125923, -0.038019414991140366, 0.015414650551974773, 0.06346722692251205, 0.026629161089658737, 0.06138080358505249, 0.09289443492889404, 0.003547951113432646, -0.024307984858751297, 0.03825697302818298, 0.0509711317718029, 0.009714027866721153, -0.03977028280496597, 0.007808908820152283, -0.01513107679784298, -0.04115056246519089, 0.010819032788276672, -0.046170804649591446, 0.04152524098753929, 0.016894889995455742, -0.0021040705032646656, -0.014736579731106758, -0.016307031735777855, -0.005229519214481115, -0.019095662981271744, -0.05725550651550293, -0.017666872590780258, 0.0018089450895786285, -0.02205035835504532, -0.0008212176617234945, 0.04717690125107765, 0.011587169952690601, 0.05970039218664169, 0.020230719819664955, -0.02100726030766964, -0.04236828163266182, 0.005039541982114315, 0.026491208001971245, -0.052703239023685455, -0.08063643425703049, -0.051766399294137955, 0.023960992693901062, 0.03348107263445854, 0.0020773771684616804, -0.05213119089603424, 0.019734658300876617, 0.07040385901927948, -0.04157286882400513, 0.057724758982658386, -0.004289515316486359, 0.03453192114830017, 0.04684455320239067, -0.02065882831811905, 0.017003411427140236, -0.015350676141679287, 0.0010596653446555138, 0.012717241421341896, 0.05013810470700264, -0.010023037903010845, -0.02449972927570343, -0.0502365417778492, 0.04761142283678055, 0.031382448971271515, 0.03680570423603058, 0.04187031462788582, -0.01089988648891449, -0.018946710973978043, 0.025801261886954308, 0.04517935961484909, -0.04796300828456879, -0.01300686877220869, 0.03825876861810684, 0.04982629418373108, -0.025283081457018852, -0.07352788001298904, -0.01374758966267109, 0.016207750886678696, 0.018659640103578568, -0.01464704517275095, -0.0460657961666584, -0.04939943924546242, 0.023279497399926186, -0.02216949686408043, -0.032991331070661545, -0.09204848110675812, 0.0029672104865312576, -0.005621759686619043, -0.027388298884034157, 0.06060181185603142, 0.010331874713301659, 0.02716180868446827, 0.029104093089699745, -0.015124291181564331, 0.005799462553113699, -0.05371519550681114, 0.04244637116789818, -0.03660876676440239, -0.008239740505814552, -0.004184375982731581, -0.042890071868896484, -0.03028174303472042, -0.011810533702373505, -0.0375014953315258, -0.03788895159959793, -0.015066021122038364, -0.00638499716296792, -0.0018123064655810595, 0.023517979308962822, -0.029709186404943466, 0.03192325308918953, -0.014725334011018276, -0.00946462620049715, -0.015674352645874023, -0.028640083968639374, -0.06907626986503601, -0.057026252150535583, 0.00022022397024556994, 0.016811685636639595, 0.0339139960706234, 0.021860025823116302, 0.009790580719709396, 0.0017762319184839725, 0.019027363508939743, -0.015099008567631245, 0.01428193598985672, 0.0034051004331558943, -0.03991222009062767, -0.020782580599188805, 0.017120571807026863, 0.015156267210841179, 0.03858964517712593, -0.01387089490890503, 0.044711656868457794, 0.02438177540898323, -0.026810316368937492, -0.02619854174554348, 0.015138725750148296, 0.04141582176089287, -0.08399044722318649, -0.06582045555114746, -0.01780817285180092, -0.049172744154930115, 0.036497846245765686, -0.02436154894530773, 0.03258991241455078, 0.0447009839117527, 0.019387809559702873, 0.03592166677117348, -0.00003882133023580536, -0.017292482778429985, 0.005557759199291468, -0.013405094854533672, 0.02812505140900612, -0.045534804463386536, 0.03518494591116905, -0.02746468037366867, 0.0004605390131473541, -0.011939541436731815, -0.020219573751091957, -0.05824687331914902, 0.04035230353474617, -0.013346375897526741, -0.0228299368172884, -0.019409304484725, -0.010897206142544746, -0.03454528748989105, -0.0005275017465464771, -0.02050619013607502, -0.002153315581381321, -0.03439464792609215, 0.056211188435554504, -0.039520371705293655, 0.010349737480282784, -0.0337064266204834, 0.008691110648214817, -0.029112419113516808, -0.03341607004404068, -0.021450117230415344, -0.03335530683398247, 0.04769330099225044, 0.016038401052355766, 0.029797114431858063, 0.02851351536810398, -0.006895953789353371, 0.013383514247834682, 0.014635429717600346, -0.07326889038085938, -0.030137494206428528, 0.008567272685468197, 0.01591677963733673, -0.00376589922234416, 0.04280807450413704, 0.006010429468005896, -0.06329993903636932, -0.0714031457901001, 0.03948453813791275, 0.017601193860173225, 0.006588621065020561, 0.003770428476855159, 0.007438771426677704, 0.027331653982400894, 0.03910144791007042, -0.024247879162430763, -0.035863906145095825, -0.04353634640574455, -0.05813482776284218, 0.036019667983055115, -0.0036514694802463055, 0.03318566456437111, 0.03982536122202873, -0.05797518417239189, -0.006881372071802616, 0.05685241520404816, 0.02932208590209484, 0.013305943459272385, -0.0024082702584564686, -0.057718731462955475, 0.013562988489866257, 0.01335771195590496, -0.043335381895303726, -0.009618086740374565, 0.021086271852254868, -0.008354374207556248, 0.07144688069820404, 0.0049872444942593575, -0.005073752719908953, 0.03451398015022278, 0.015249318443238735, -0.015649640932679176, 0.0666562169790268, -0.016212601214647293, 0.004440723452717066, 0.037698596715927124, -0.06094217300415039, -0.0015974190318956971, -0.034822143614292145, 0.08778508752584457, -0.05217864364385605, 0.043994974344968796, 0.06422994285821915, 0.0028121143113821745, 0.04554367437958717, -0.03912413492798805, -0.04402489587664604, 0.01059122197329998, -0.031209217384457588, 0.06181603670120239, 0.02498876117169857, -0.0658852756023407, 0.07290130853652954, 0.0259435772895813, -0.03817030414938927, 0.015502111054956913, 0.047169242054224014, 0.023773757740855217, 0.020432712510228157, 0.01045372523367405, -0.042690735310316086, -0.01887505315244198, -0.0325988307595253, -0.0018216453026980162, -0.05118810012936592, -0.0039444006979465485, 0.008084042929112911, -0.021671324968338013, 0.005265720188617706, 0.05711343139410019, -0.01677478291094303, -0.01570095680654049, 0.02484918013215065, -0.02978975512087345, -0.00897210743278265, -0.006310360040515661, -0.001923855161294341, -0.05065480247139931, -0.005713767372071743, -0.047558560967445374, 0.013454805128276348, 0.018218275159597397, -0.00487141078338027, -0.020365485921502113, -0.017145806923508644, 0.018966857343912125, -0.05247730016708374, -0.040988583117723465, 0.05925067514181137, -0.018434245139360428, -0.028751328587532043, 0.01845291629433632, 0.009605991654098034, 0.012841619551181793, 0.03352373465895653, 0.0007661929121240973, 0.039477307349443436, -0.03803423419594765, -0.023639466613531113, -0.006501512601971626, 0.008252808824181557, 0.009561609476804733, -0.010714084841310978, 0.024017075076699257, 0.04454338550567627, 0.016674673184752464, 0.023023972287774086, -0.035942573100328445, -0.06503831595182419, 0.0436013862490654, -0.025350816547870636, 0.008503345772624016, -0.007497721817344427, -0.042298536747694016, -0.04694231599569321, -0.012373119592666626, 0.003069335361942649, 0.03359202295541763, -0.005800741259008646, 0.000611413735896349, 0.037771452218294144, -0.02186368778347969, -0.04944717884063721, -0.0730641782283783, -0.04282237961888313, -0.012701255269348621, 0.016278840601444244, 0.04226503148674965, -0.02547011710703373, 0.03041774034500122, -0.03879435360431671, -0.06967663019895554, 0.024857303127646446, 0.027994802221655846, -0.05586816743016243, 0.06354279816150665, 0.0536780059337616, -0.048052430152893066, 0.002692212350666523, 0.012987654656171799, -0.04679189249873161, -0.005386006087064743, 0.027151430025696754, 0.017132941633462906, 0.026226140558719635, 0.04472378268837929, -0.03779052197933197, -0.03335265442728996, -0.045334748923778534, -0.02617233619093895, -0.06330621987581253, 0.007203311193734407, 0.07411409169435501 ]
Ann2020/distilbert-base-uncased-finetuned-ner
[ "pytorch", "tensorboard", "distilbert", "token-classification", "dataset:conll2003", "transformers", "generated_from_trainer", "license:apache-2.0", "autotrain_compatible" ]
token-classification
{ "architectures": [ "DistilBertForTokenClassification" ], "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 } } }
4
null
--- language: "sl" license: "cc-by-sa-4.0" tags: - text-classification - hate-speech widget: - text: "Silva, ti si grda in neprijazna" --- Text classification model based on `EMBEDDIA/sloberta` and fine-tuned on the [FRENK dataset](https://www.clarin.si/repository/xmlui/handle/11356/1433) comprising of LGBT and migrant hatespeech. Only the slovenian subset of the data was used for fine-tuning and the dataset has been relabeled for binary classification (offensive or acceptable). ## Fine-tuning hyperparameters Fine-tuning was performed with `simpletransformers`. Beforehand a brief hyperparameter optimisation was performed and the presumed optimal hyperparameters are: ```python model_args = { "num_train_epochs": 14, "learning_rate": 1e-5, "train_batch_size": 21, } ``` ## Performance The same pipeline was run with two other transformer models and `fasttext` for comparison. Accuracy and macro F1 score were recorded for each of the 6 fine-tuning sessions and post festum analyzed. | model | average accuracy | average macro F1| |---|---|---| |sloberta-frenk-hate|0.7785|0.7764| |EMBEDDIA/crosloengual-bert |0.7616|0.7585| |xlm-roberta-base |0.686|0.6827| |fasttext|0.709 |0.701 | From recorded accuracies and macro F1 scores p-values were also calculated: Comparison with `crosloengual-bert`: | test | accuracy p-value | macro F1 p-value| | --- | --- | --- | |Wilcoxon|0.00781|0.00781| |Mann Whithney U test|0.00163|0.00108| |Student t-test |0.000101|3.95e-05| Comparison with `xlm-roberta-base`: | test | accuracy p-value | macro F1 p-value| | --- | --- | --- | |Wilcoxon|0.00781|0.00781| |Mann Whithney U test|0.00108|0.00108| |Student t-test |9.46e-11|6.94e-11| ## Use examples ```python from simpletransformers.classification import ClassificationModel model_args = { "num_train_epochs": 6, "learning_rate": 3e-6, "train_batch_size": 69} model = ClassificationModel( "camembert", "5roop/sloberta-frenk-hate", use_cuda=True, args=model_args ) predictions, logit_output = model.predict(["Silva, ti si grda in neprijazna", "Naša hiša ima dimnik"]) predictions ### Output: ### array([1, 0]) ``` ## Citation If you use the model, please cite the following paper on which the original model is based: ``` @article{DBLP:journals/corr/abs-1907-11692, author = {Yinhan Liu and Myle Ott and Naman Goyal and Jingfei Du and Mandar Joshi and Danqi Chen and Omer Levy and Mike Lewis and Luke Zettlemoyer and Veselin Stoyanov}, title = {RoBERTa: {A} Robustly Optimized {BERT} Pretraining Approach}, journal = {CoRR}, volume = {abs/1907.11692}, year = {2019}, url = {http://arxiv.org/abs/1907.11692}, archivePrefix = {arXiv}, eprint = {1907.11692}, timestamp = {Thu, 01 Aug 2019 08:59:33 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-1907-11692.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` and the dataset used for fine-tuning: ``` @misc{ljubešić2019frenk, title={The FRENK Datasets of Socially Unacceptable Discourse in Slovene and English}, author={Nikola Ljubešić and Darja Fišer and Tomaž Erjavec}, year={2019}, eprint={1906.02045}, archivePrefix={arXiv}, primaryClass={cs.CL}, url={https://arxiv.org/abs/1906.02045} } ```
[ 0.005485378671437502, -0.001892072963528335, 0.005730954930186272, 0.04538213089108467, 0.05313374102115631, 0.022849688306450844, -0.024831613525748253, 0.007179263513535261, -0.05275723338127136, 0.0617569275200367, 0.02514902874827385, -0.02496183104813099, 0.02133513055741787, 0.04235030338168144, -0.0557495653629303, -0.033625759184360504, -0.02924450673162937, -0.03215103596448898, -0.043461013585329056, -0.0027624114882200956, -0.023039037361741066, -0.003195815486833453, -0.0038958119694143534, 0.01600385643541813, 0.0046882000751793385, 0.0287457387894392, -0.03171255439519882, 0.01496177352964878, 0.03286532312631607, -0.036437034606933594, 0.02408430725336075, -0.019641293212771416, -0.05289985612034798, -0.0032069236040115356, -0.04777371138334274, 0.0006880118162371218, 0.012464804574847221, 0.013349507935345173, 0.02888215146958828, 0.07516639679670334, 0.024188417941331863, 0.0034904927015304565, -0.030986998230218887, -0.020679088309407234, 0.01889275386929512, -0.003376553999260068, -0.056829798966646194, -0.018938643857836723, 0.009604692459106445, -0.046528592705726624, -0.041648250073194504, -0.08738280832767487, -0.026635058224201202, 0.02969656139612198, -0.02073078416287899, -0.01470309216529131, -0.07128559052944183, 0.021219627931714058, 0.045316703617572784, -0.043150730431079865, -0.018005799502134323, 0.022566376253962517, -0.047212500125169754, 0.017994370311498642, 0.0255531445145607, -0.02638990804553032, -0.013226310722529888, -0.02918369695544243, 0.04901963099837303, -0.019551923498511314, 0.0704483836889267, -0.030440714210271835, 0.05096827447414398, -0.06737484037876129, -0.004848416894674301, -0.025747420266270638, 0.039969008415937424, 0.05434304475784302, -0.019802970811724663, 0.06162629276514053, 0.03685934841632843, 0.03555082902312279, 0.017619570717215538, -0.01116916537284851, 0.008498397655785084, 0.048320237547159195, -0.05340094864368439, 0.00487317331135273, -0.0002646718348842114, 0.06598230451345444, -0.044250596314668655, -0.02323342300951481, -0.021538598462939262, -0.03249581530690193, -0.01790510304272175, 0.020117750391364098, 0.014843685552477837, -0.019135523587465286, 0.03964420408010483, 0.0387272834777832, 0.03663354739546776, 0.03497684746980667, -0.028101392090320587, 0.052460286766290665, -0.02509390003979206, 0.007333904039114714, -0.016026129946112633, -0.025038830935955048, -0.0458945594727993, 0.018903307616710663, 0.014583349227905273, -0.048553287982940674, -0.05025065690279007, 0.04134277254343033, 0.0030302489176392555, -0.00403094245120883, 0.0630597472190857, -0.03259610757231712, -0.03284402936697006, -0.04510543867945671, 0.010361053980886936, 0.010034100152552128, 0.022472647950053215, 0.01461237296462059, -0.0578104592859745, 0.01938372291624546, -0.028386516496539116, -0.06346144527196884, -0.0015880727441981435, 0.01833927445113659, 0.019803809002041817, 0.06501073390245438, 0.02313830889761448, -0.0441332645714283, -0.008464678190648556, 0.03919140249490738, -0.09381632506847382, 0.03880761191248894, 0.03355284407734871, 0.11323121935129166, -0.07148222625255585, -0.04610012099146843, -0.020365364849567413, -0.01250429730862379, -0.025488628074526787, 0.02126617170870304, 0.019298283383250237, -0.05100665241479874, -0.012549682520329952, -0.010582124814391136, 0.0479956679046154, -0.05984054133296013, -0.018143313005566597, 0.05735115334391594, -0.017794232815504074, 0.0015452492516487837, -0.04439482092857361, -0.019131524488329887, -0.004434456117451191, -0.006072542164474726, -0.01374582014977932, 0.011268706992268562, -0.010416463948786259, -0.005949748679995537, -0.01563205197453499, -0.05701085925102234, 0.0017792358994483948, 0.10582033544778824, 0.009237282909452915, -0.019811119884252548, -0.03441457077860832, 0.010112865827977657, 0.028288038447499275, 0.014806052669882774, -0.009572524577379227, 0.020483840256929398, 0.049254029989242554, 0.029207993298768997, -0.0006974684656597674, 0.05376800149679184, 0.008114115335047245, -0.03908338397741318, -0.032346781343221664, -0.006508516613394022, 0.0025205169804394245, -0.04697500914335251, 0.018049171194434166, 0.03427612781524658, 0.011379564180970192, -0.016853053122758865, -0.034212250262498856, 0.04960940405726433, -0.02189178392291069, -0.011989370919764042, 0.02687949687242508, -0.012252449057996273, -0.030144330114126205, 0.03795713558793068, -0.02484695427119732, -0.01499601174145937, -0.03341829031705856, -0.06083189696073532, 0.0093768909573555, -0.011060643009841442, -0.0017498331144452095, 0.028116866946220398, -0.021342683583498, 0.0582047738134861, -0.01837916672229767, 0.013646925799548626, -0.04081983491778374, -0.058587782084941864, -0.00043234933400526643, 0.05702079087495804, 0.027732839807868004, 0.03947184979915619, -0.0020651225931942463, -0.07897603511810303, 0.013185527175664902, 0.046481166034936905, 0.04389282688498497, 0.020236171782016754, -0.03073413111269474, -0.007202563341706991, 0.011502240784466267, 0.0425054132938385, -0.046134304255247116, -0.054654765874147415, 0.019668452441692352, 0.06005312502384186, -0.009943941608071327, 0.030574237927794456, -0.012660177424550056, 0.01602422632277012, -0.05459747463464737, -0.05847073346376419, 0.0474030040204525, 0.0471210740506649, 0.003367045195773244, 0.02474445104598999, -0.0050030844286084175, 0.0018406629096716642, 0.012555037625133991, 0.0010858944151550531, -0.019476039335131645, -0.06001647561788559, 0.011942658573389053, 0.010503559373319149, 0.0341280959546566, -0.04819091409444809, 0.03798774257302284, -0.014917976222932339, -0.02164793573319912, 0.05000713840126991, -0.04517913982272148, 0.04845298081636429, 0.054260093718767166, 0.00965479202568531, -0.027397597208619118, 0.00020253354159649462, -0.000463318545371294, 0.03249611705541611, 0.05351744219660759, -0.017336515709757805, 0.08078807592391968, -0.01501200720667839, 0.062342897057533264, 0.11004181951284409, 0.03112921305000782, 0.014160336926579475, 0.059529270976781845, 0.04479682818055153, 0.013319246470928192, -0.021403398364782333, 0.05594319477677345, -0.06462892144918442, 0.024767020717263222, -0.03366892412304878, 0.002712877932935953, 0.005940435454249382, -0.018019534647464752, 0.033375274389982224, 0.00811852514743805, -0.012438120320439339, -0.005485004745423794, -0.012523721903562546, -0.021329199895262718, 0.046312879770994186, -0.021143117919564247, 0.0034245250280946493, -0.009544615633785725, -0.03318974748253822, 0.019029691815376282, -0.05006793513894081, -0.026241227984428406, -0.010819108225405216, -0.033233143389225006, -0.008644243702292442, -0.07276615500450134, -0.0331348180770874, -0.054994191974401474, 0.006398065481334925, 0.061467040330171585, 0.032301437109708786, 0.0031700176186859608, -0.02785988710820675, 0.003096755128353834, -0.03355752304196358, -0.059766799211502075, -0.04222479462623596, -0.05277886986732483, -0.02477598376572132, -0.04527362808585167, 0.0631677433848381, 0.037640590220689774, 0.044269632548093796, -0.023663761094212532, 0.010427582077682018, -0.012946492061018944, -0.029653282836079597, 0.0398264043033123, 0.0515432208776474, -0.03466601297259331, -0.06986308842897415, 0.022114917635917664, 0.0014711274998262525, 0.026905106380581856, 0.006886575371026993, -0.06371380388736725, 0.08506526798009872, 0.08260349929332733, 0.010846959426999092, 0.01885349676012993, 0.012323463335633278, -0.08501345664262772, -0.07578068971633911, -0.0339469313621521, -0.023105131462216377, -0.014174378477036953, -0.01423402689397335, -0.05932984501123428, -0.018868956714868546, -0.04895147681236267, -0.029613783583045006, -0.0019745586905628443, 0.029026806354522705, 0.005985839292407036, 0.046328745782375336, 0.038011584430933, 0.016328951343894005, -0.03679465129971504, -0.04010187089443207, 0.06281833350658417, -0.0013417156878858805, 0.005084348376840353, -0.07655411958694458, -0.010365786962211132, 0.020294036716222763, 0.005243194289505482, 0.005263818893581629, -0.0181889645755291, 0.08143780380487442, 0.01990360952913761, 0.025995464995503426, -0.014490810222923756, -0.022969158366322517, -0.006664806976914406, -0.014266165904700756, -0.008712860755622387, -0.005383688025176525, -0.0678548738360405, -0.007169465534389019, -0.008050736039876938, 0.07055806368589401, -0.06340862810611725, -0.04835325852036476, -0.011169688776135445, 0.03374700993299484, 0.04547661170363426, 0.00020061212126165628, -0.05365292727947235, -0.011724904179573059, -0.044197630137205124, -0.03379062935709953, 0.027460450306534767, 0.016666727140545845, 0.008496049791574478, 0.023763632401823997, 0.024607663974165916, -0.024271737784147263, 0.016397614032030106, 0.03781411424279213, 0.08483930677175522, 0.005942073184996843, -0.05892113596200943, 0.005081072449684143, -0.031097834929823875, 0.04734751209616661, 0.004840716253966093, -0.04451189190149307, -0.02183583937585354, -0.09646101295948029, -0.04836788773536682, -0.00005880566459381953, -0.010997171513736248, -0.02060316503047943, 0.03941352292895317, -0.009936049580574036, -0.01676080748438835, -0.0019720743875950575, 0.014073049649596214, 0.05053500086069107, -0.07446469366550446, 0.04305468499660492, 0.012072484008967876, 0.03513669595122337, -0.03889191150665283, 0.016504397615790367, -0.03019382432103157, -0.03960680589079857, 0.013420350849628448, 0.0526837594807148, 0.04014096409082413, 0.05944649130105972, 0.0907556489109993, -0.013179530389606953, -0.0230939332395792, 0.02953489124774933, 0.041569992899894714, 0.002312783617526293, -0.0358295738697052, 0.0016067982651293278, -0.009876609779894352, -0.029624903574585915, 0.004751461558043957, -0.05072599649429321, 0.03692113980650902, 0.014726911671459675, 0.009449344128370285, -0.02107771299779415, -0.022091154009103775, -0.015032044611871243, -0.014773247763514519, -0.06277255713939667, -0.022181546315550804, 0.01648503541946411, -0.02837326191365719, 0.00976249948143959, 0.053747616708278656, 0.008497340604662895, 0.051545049995183945, 0.02301553264260292, -0.02487305924296379, -0.04612119123339653, 0.0029601778369396925, 0.013884884305298328, -0.060836561024188995, -0.0805254653096199, -0.04442152380943298, 0.02961006946861744, 0.02488664723932743, -0.0012790049659088254, -0.05474703013896942, 0.010404743254184723, 0.07046540081501007, -0.0288104061037302, 0.060087256133556366, -0.00024168762320186943, 0.04875749349594116, 0.03947357088327408, -0.01322958804666996, 0.008832713589072227, -0.02279769629240036, -0.003174282144755125, 0.009051616303622723, 0.05473051592707634, -0.00005597359631792642, -0.016463138163089752, -0.04567151144146919, 0.05782638117671013, 0.02809653989970684, 0.03886728733778, 0.04559047520160675, -0.018481412902474403, -0.027792759239673615, 0.006049369461834431, 0.05047319456934929, -0.055624913424253464, -0.012856774963438511, 0.03718214109539986, 0.0545198991894722, -0.019019484519958496, -0.06620261073112488, -0.004359093029052019, 0.004915454890578985, 0.020583176985383034, -0.010984682478010654, -0.05921163782477379, -0.055141132324934006, 0.024530598893761635, -0.012217854149639606, -0.03281335532665253, -0.0926041305065155, -0.0012698763748630881, -0.013433974236249924, -0.028109341859817505, 0.0520443394780159, 0.03464484214782715, 0.03001498058438301, 0.04099170118570328, -0.013525925576686859, -0.0009237442282028496, -0.0535406656563282, 0.04891970008611679, -0.02951999567449093, 0.001084050047211349, -0.0002958003606181592, -0.044998906552791595, -0.020858854055404663, -0.012328987009823322, -0.030553467571735382, -0.035252008587121964, -0.02165762335062027, -0.009306483902037144, 0.004621795378625393, 0.009834777563810349, -0.02721305564045906, 0.03858796879649162, -0.01598525606095791, -0.018767043948173523, -0.023995209485292435, -0.02155221253633499, -0.05862592160701752, -0.05668362230062485, 0.0033410312607884407, 0.014329945668578148, 0.04077010601758957, 0.019647277891635895, 0.006581525783985853, -0.0017127003520727158, 0.017933202907443047, -0.006162586621940136, 0.014787239953875542, 0.01339390967041254, -0.03979259729385376, -0.01631372608244419, 0.006761983968317509, 0.010641982778906822, 0.04569070786237717, -0.009629965759813786, 0.04385668411850929, 0.021178288385272026, -0.033353641629219055, -0.02089502662420273, 0.0195432398468256, 0.04340019449591637, -0.08562455326318741, -0.06915836036205292, -0.011885990388691425, -0.044817741960287094, 0.03816547617316246, -0.012876085005700588, 0.01867498829960823, 0.04367531090974808, 0.013590704649686813, 0.03208879381418228, 0.004312449134886265, -0.02960522286593914, 0.014740223065018654, -0.014957696199417114, 0.023135358467698097, -0.04143402352929115, 0.029304420575499535, -0.02882162481546402, 0.005368771497160196, -0.015438158996403217, -0.018489792943000793, -0.06547398120164871, 0.04477996006608009, -0.017777392640709877, 0.0006831768550910056, -0.016649965196847916, -0.008166646584868431, -0.038549795746803284, 0.015014106407761574, -0.008664863184094429, 0.0002958313561975956, -0.03755958750844002, 0.05353632941842079, -0.03841831535100937, 0.015892066061496735, -0.033895093947649, -0.0018024913733825088, -0.02707623317837715, -0.028853949159383774, -0.02353815920650959, -0.03549918532371521, 0.04034151881933212, 0.020978042855858803, 0.02951490692794323, 0.042582809925079346, -0.010832555592060089, -0.0030633562710136175, 0.00509862694889307, -0.07293224334716797, -0.026665298268198967, 0.0035131704062223434, 0.022154483944177628, -0.016959302127361298, 0.03828394040465355, 0.010457378812134266, -0.06362124532461166, -0.0758114606142044, 0.028454650193452835, 0.019563082605600357, -0.00029490902670659125, -0.0004799641901627183, 0.002024591900408268, 0.032191626727581024, 0.049535609781742096, -0.017487170174717903, -0.04202987253665924, -0.04939926788210869, -0.05829155072569847, 0.037690725177526474, 0.0012063781032338738, 0.029282214120030403, 0.031199615448713303, -0.05671555548906326, -0.011040681041777134, 0.04596215486526489, 0.033025313168764114, 0.01841292716562748, 0.0017152921063825488, -0.05704103782773018, 0.010369018651545048, 0.0004496150359045714, -0.037306759506464005, -0.007883005775511265, 0.014524582773447037, -0.02902507595717907, 0.0756751075387001, -0.0035368138924241066, -0.005036893300712109, 0.025641465559601784, 0.020487891510128975, -0.02542048506438732, 0.05578821524977684, -0.014122501946985722, -0.004437385126948357, 0.03813552483916283, -0.0572989359498024, 0.0025310213677585125, -0.04198307916522026, 0.08527717739343643, -0.043141987174749374, 0.030545763671398163, 0.0719156414270401, 0.0027884377632290125, 0.04280926287174225, -0.03940485417842865, -0.04256051406264305, 0.02038620598614216, -0.03135858476161957, 0.060494277626276016, 0.022532610222697258, -0.06392599642276764, 0.06727401912212372, 0.016272570937871933, -0.04197873920202255, 0.021130338311195374, 0.05015760287642479, 0.01825658045709133, 0.02074262499809265, 0.008334660902619362, -0.03709930181503296, -0.03318507596850395, -0.028856053948402405, -0.0034450071398168802, -0.04961276799440384, 0.002753905951976776, 0.004666863474994898, -0.013374418951570988, 0.009461337700486183, 0.05187857151031494, -0.01580347865819931, -0.015832334756851196, 0.02375696785748005, -0.03551947697997093, -0.010584831237792969, -0.006742529571056366, 0.004595695063471794, -0.049126747995615005, -0.012543747201561928, -0.04563894122838974, 0.01234291773289442, 0.015530096367001534, 0.0006540152244269848, -0.03332260623574257, -0.018080173060297966, 0.009315919131040573, -0.06086357682943344, -0.023621894419193268, 0.04611431434750557, -0.009435631334781647, -0.025893427431583405, 0.024728769436478615, 0.007738963700830936, 0.006367843132466078, 0.039035648107528687, 0.0025858047883957624, 0.02651214227080345, -0.040531616657972336, -0.025066588073968887, -0.0037227433640509844, 0.0003284502017777413, 0.020500198006629944, -0.014118640683591366, 0.02578074485063553, 0.048850540071725845, 0.017889942973852158, 0.02656649984419346, -0.034719258546829224, -0.059135373681783676, 0.03022642247378826, -0.03228890895843506, 0.0046834941022098064, 0.006892326287925243, -0.05036923289299011, -0.036477938294410706, -0.018935855478048325, 0.011887554079294205, 0.03362549468874931, 0.0002778262132778764, -0.0109943225979805, 0.035510655492544174, -0.017694000154733658, -0.06020066887140274, -0.06304798275232315, -0.04271030053496361, -0.01323445700109005, 0.02976026013493538, 0.03377407416701317, -0.02151852659881115, 0.03552674502134323, -0.04962000250816345, -0.06280330568552017, 0.02502519264817238, 0.023029031231999397, -0.04643738269805908, 0.062411870807409286, 0.058077216148376465, -0.06265941262245178, 0.009469249285757542, 0.01978619024157524, -0.03929172456264496, -0.0040847971104085445, 0.025913055986166, 0.025780143216252327, 0.028411297127604485, 0.03351636603474617, -0.024596014991402626, -0.03483158349990845, -0.04976874217391014, -0.013289228081703186, -0.07268953323364258, 0.01290709339082241, 0.06808549165725708 ]
Ann2020/rubert-base-cased-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
--- language: hr datasets: - parlaspeech-hr tags: - audio - automatic-speech-recognition - parlaspeech widget: - example_title: example 1 src: https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/1800.m4a - example_title: example 2 src: https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/00020578b.flac.wav --- # wav2vec2-xls-r-parlaspeech-hr This model for Croatian ASR is based on the [facebook/wav2vec2-xls-r-300m model](https://huggingface.co/facebook/wav2vec2-xls-r-300m) and was fine-tuned with 300 hours of recordings and transcripts from the ASR Croatian parliament dataset [ParlaSpeech-HR v1.0](http://hdl.handle.net/11356/1494). If you use this model, please cite the following paper: Nikola Ljubešić, Danijel Koržinek, Peter Rupnik, Ivo-Pavao Jazbec. ParlaSpeech-HR -- a freely available ASR dataset for Croatian bootstrapped from the ParlaMint corpus. http://www.lrec-conf.org/proceedings/lrec2022/workshops/ParlaCLARINIII/pdf/2022.parlaclariniii-1.16.pdf ## Metrics Evaluation is performed on the dev and test portions of the [ParlaSpeech-HR v1.0](http://hdl.handle.net/11356/1494) dataset. |split|CER|WER| |---|---|---| |dev|0.0335|0.1046| |test|0.0234|0.0761| There are multiple models available, and in terms of CER and WER, the best-performing model is [wav2vec2-large-slavic-parlaspeech-hr-lm](https://huggingface.co/classla/wav2vec2-large-slavic-parlaspeech-hr-lm). ## Usage in `transformers` ```python from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC import soundfile as sf import torch import os device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") # load model and tokenizer processor = Wav2Vec2Processor.from_pretrained( "classla/wav2vec2-xls-r-parlaspeech-hr") model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-parlaspeech-hr") # download the example wav files: os.system("wget https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/00020570a.flac.wav") # read the wav file speech, sample_rate = sf.read("00020570a.flac.wav") input_values = processor(speech, sampling_rate=sample_rate, return_tensors="pt").input_values.to(device) # remove the raw wav file os.system("rm 00020570a.flac.wav") # retrieve logits logits = model.to(device)(input_values).logits # take argmax and decode predicted_ids = torch.argmax(logits, dim=-1) transcription = processor.decode(predicted_ids[0]).lower() # transcription: 'veliki broj poslovnih subjekata posluje sa minusom velik dio' ``` ## Training hyperparameters In fine-tuning, the following arguments were used: | arg | value | |-------------------------------|-------| | `per_device_train_batch_size` | 16 | | `gradient_accumulation_steps` | 4 | | `num_train_epochs` | 8 | | `learning_rate` | 3e-4 | | `warmup_steps` | 500 |
[ -0.007855071686208248, -0.020113512873649597, -0.031723152846097946, 0.05573881044983864, 0.04440751671791077, 0.010486237704753876, -0.0035723636392503977, 0.012877005152404308, -0.052487391978502274, 0.0775187537074089, 0.03089994378387928, -0.042418163269758224, 0.006497119087725878, 0.026609238237142563, -0.01994132623076439, -0.03296985477209091, -0.026065334677696228, -0.0014271503314375877, -0.05730645731091499, -0.009963071905076504, 0.00705775385722518, 0.0161091648042202, -0.02572653442621231, 0.02983850985765457, -0.02362850122153759, 0.005852057598531246, -0.013366675935685635, -0.004324557725340128, 0.01341453567147255, -0.04050809144973755, -0.009744272567331791, -0.04006450995802879, -0.0388026162981987, -0.028009852394461632, -0.007545383647084236, -0.001231451635248959, 0.012418942525982857, 0.019329985603690147, 0.011331356130540371, 0.06918258219957352, -0.005634656175971031, 0.0018872685031965375, -0.025541778653860092, -0.02557269297540188, 0.030050240457057953, 0.011351383291184902, -0.05255253240466118, -0.0378437414765358, 0.024634357541799545, -0.02085014246404171, -0.019324418157339096, -0.07434075325727463, 0.006846516393125057, 0.023738836869597435, -0.02250353991985321, -0.03576871380209923, -0.05292161554098129, -0.014046833850443363, 0.07551980763673782, -0.05976575240492821, 0.0015189601108431816, 0.027298040688037872, -0.0804072692990303, 0.03224695101380348, 0.030292116105556488, -0.05617479234933853, -0.01396378967911005, -0.03689778596162796, 0.02863338775932789, -0.013218019157648087, 0.04422929510474205, -0.042950913310050964, 0.026976769790053368, -0.07073888182640076, 0.01632472313940525, -0.007430844474583864, 0.04084014892578125, 0.05826402083039284, -0.0261743925511837, 0.046781398355960846, 0.022313062101602554, 0.012034345418214798, 0.031303394585847855, -0.036126308143138885, 0.008044423535466194, 0.07148993015289307, -0.03339570015668869, 0.009084825403988361, 0.02664734236896038, 0.024714970961213112, -0.04124987870454788, -0.02500932104885578, -0.046026814728975296, -0.05540655553340912, 0.011867769993841648, 0.03047654591500759, 0.04989118501543999, -0.024522945284843445, 0.04970378428697586, 0.0434810034930706, 0.001635093824006617, 0.023523682728409767, -0.03828781470656395, 0.056367177516222, -0.012019142508506775, -0.007993443869054317, -0.0003814337542280555, -0.028273819014430046, -0.046049248427152634, 0.024172116070985794, 0.026721229776740074, -0.034148577600717545, -0.04454455524682999, 0.03067365661263466, 0.0071620154194533825, -0.03257269784808159, 0.014323251321911812, -0.023097796365618706, -0.03182659670710564, -0.06154836341738701, 0.010563155636191368, 0.025407128036022186, -0.012675533071160316, 0.01069324929267168, -0.05260803550481796, 0.04243658855557442, -0.032083116471767426, -0.0398603118956089, 0.014215600676834583, -0.004951763432472944, 0.01270686462521553, 0.05463187396526337, 0.028644762933254242, -0.06554622203111649, 0.00011784899106714875, 0.015388207510113716, -0.07155688852071762, 0.012440580874681473, 0.034860990941524506, 0.09808918833732605, -0.03180452436208725, -0.01634247787296772, 0.01570805534720421, -0.00022457874729298055, -0.002212605904787779, 0.022053120657801628, 0.008738601580262184, -0.012396625243127346, -0.020396878942847252, -0.008751357905566692, 0.05008076876401901, -0.06432051211595535, -0.0011571141658350825, 0.05210883915424347, -0.02389609068632126, 0.03441166877746582, -0.02133616991341114, -0.032517869025468826, 0.001665969379246235, -0.017376229166984558, -0.016527671366930008, 0.024761062115430832, -0.022920452058315277, -0.017698712646961212, -0.030848301947116852, -0.02790624089539051, 0.0026967767626047134, 0.07368316501379013, 0.021533796563744545, -0.010661523789167404, -0.055530793964862823, 0.014874326065182686, 0.04448331519961357, 0.005745951551944017, -0.016871925443410873, 0.02260902151465416, 0.036216527223587036, 0.04152153059840202, -0.014141962863504887, 0.08584968745708466, -0.004675677511841059, -0.03166729956865311, -0.02904663048684597, 0.005949109792709351, 0.019060978665947914, -0.01540527492761612, -0.0014834693865850568, 0.04648268222808838, -0.005134407430887222, -0.007052240893244743, -0.04931774362921715, 0.06010232865810394, -0.04471611976623535, -0.015393450856208801, 0.012154879048466682, 0.007560056634247303, -0.028463246300816536, 0.038127753883600235, -0.02803911082446575, 0.0023333767894655466, -0.010374677367508411, -0.040046244859695435, 0.013548181392252445, 0.048911988735198975, 0.010427642613649368, 0.047673020511865616, -0.00003451354132266715, 0.08324693143367767, -0.015948377549648285, 0.00278685986995697, -0.048566579818725586, -0.056822940707206726, -0.033248741179704666, 0.040064677596092224, 0.023996300995349884, 0.07285802811384201, -0.020479552447795868, -0.06107931211590767, 0.036315497010946274, 0.04622166231274605, 0.06438170373439789, 0.04268624633550644, -0.03337130695581436, -0.0017184998141601682, 0.00019176743808202446, 0.06988794356584549, -0.05281224846839905, -0.02646535262465477, 0.004256811458617449, 0.03113621659576893, -0.021028174087405205, 0.036681387573480606, -0.0076058004051446915, 0.03137796372175217, -0.02922903746366501, -0.1012321338057518, 0.07622111588716507, 0.0459965243935585, 0.005282399244606495, 0.02945878729224205, -0.027000674977898598, 0.011204411275684834, 0.0034506875090301037, 0.002383325481787324, 0.007235971745103598, -0.04716730862855911, -0.012536512687802315, -0.0018766742432489991, 0.06780754029750824, -0.054596759378910065, 0.03145412355661392, -0.012042977847158909, 0.001522706006653607, 0.03982438147068024, -0.03147220239043236, 0.02573012188076973, 0.05456576868891716, 0.005125842988491058, -0.04472428187727928, 0.030817730352282524, 0.004146814811974764, 0.06022734194993973, 0.0602310486137867, -0.006334489211440086, 0.07382234185934067, 0.004882787354290485, 0.04039803147315979, 0.08391500264406204, 0.01880674436688423, -0.012699583545327187, 0.019234895706176758, 0.058866847306489944, -0.005912546068429947, -0.004260250832885504, 0.08532106876373291, -0.06435530632734299, 0.01878935843706131, -0.029868528246879578, -0.0019464987562969327, 0.011386496014893055, -0.009414047934114933, 0.018211236223578453, 0.0046511380933225155, -0.008364896290004253, 0.0005727006937377155, -0.025201302021741867, -0.007683615665882826, 0.05860662832856178, -0.021633410826325417, 0.0023541850969195366, -0.02561505138874054, -0.01736951433122158, 0.002301524393260479, -0.05788658931851387, -0.041410040110349655, -0.011181364767253399, -0.025538433343172073, 0.02774188481271267, -0.0793505311012268, -0.03774234652519226, -0.051449187099933624, 0.015020015649497509, 0.03516002744436264, 0.036006685346364975, 0.025888022035360336, -0.027951883152127266, 0.006502504926174879, -0.03432830050587654, -0.024198109284043312, -0.049572497606277466, -0.017226705327630043, -0.026047470048069954, -0.04919800907373428, 0.03883206844329834, 0.033750999718904495, 0.04155512899160385, 0.006940721534192562, 0.010572369210422039, -0.028060274198651314, -0.04148481786251068, 0.02528855949640274, 0.057643815875053406, -0.03075115568935871, -0.046795204281806946, 0.036477334797382355, 0.010202833451330662, 0.02810909040272236, -0.0025614220649003983, -0.05443704128265381, 0.07098489999771118, 0.07324109971523285, 0.032303351908922195, 0.016350308433175087, 0.012857919558882713, -0.05375010892748833, -0.04783105105161667, -0.03973205015063286, -0.041677601635456085, -0.023139646276831627, -0.05218492075800896, -0.03660839796066284, -0.016897425055503845, 0.0003730418102350086, -0.0051149954088032246, -0.03174620866775513, 0.0018261321820318699, 0.04102719575166702, 0.03572099655866623, 0.03226245567202568, 0.024685805663466454, -0.022676248103380203, -0.03047552891075611, 0.0812879130244255, 0.03950190916657448, 0.009658083319664001, -0.0529017336666584, -0.052907321602106094, 0.012515299022197723, 0.03188224136829376, -0.011160282418131828, -0.014685285277664661, 0.08509838581085205, 0.011546807363629341, 0.002655311254784465, -0.005032749380916357, -0.01584816910326481, -0.04005452245473862, -0.014547821134328842, -0.02783345617353916, -0.014753418043255806, -0.0912080928683281, 0.004580213222652674, 0.001818796736188233, 0.06693345308303833, -0.08631773293018341, -0.05597490817308426, -0.011795857921242714, 0.016950685530900955, 0.004938894417136908, -0.028024911880493164, -0.032283931970596313, 0.014869026839733124, -0.039054688066244125, -0.04774775728583336, 0.006094989832490683, 0.017978735268115997, 0.01242266595363617, 0.05309554189443588, 0.011680450290441513, -0.003699052147567272, 0.04156951606273651, 0.04341988265514374, 0.06835758686065674, 0.03767581656575203, -0.03539693355560303, 0.0182485468685627, -0.036675795912742615, 0.024510135874152184, -0.005415032152086496, -0.05207507312297821, -0.0375877283513546, -0.06941097974777222, -0.030880512669682503, 0.013733022846281528, -0.0044227237813174725, -0.0237209964543581, 0.02041376382112503, -0.03131759166717529, -0.0025507546961307526, -0.009837476536631584, 0.02762645110487938, 0.02883174456655979, -0.08262775838375092, 0.04389427974820137, 0.003029211424291134, 0.037631843239068985, -0.07741422951221466, 0.009405155666172504, -0.02633284404873848, -0.03472854569554329, 0.004212243016809225, 0.06948243826627731, 0.009636707603931427, 0.0445302315056324, 0.07970383018255234, 0.006221500691026449, -0.025402721017599106, 0.02422258071601391, 0.025357261300086975, -0.008809966966509819, -0.04464741051197052, -0.02357501909136772, 0.002759666880592704, -0.03554844111204147, -0.006802475545555353, -0.03894291818141937, 0.03817243501543999, 0.02310798689723015, 0.009654881432652473, 0.0030421754345297813, 0.011715813539922237, -0.053928859531879425, -0.02215626835823059, -0.06989134848117828, -0.04888268932700157, 0.012190340086817741, -0.01738516427576542, 0.030201226472854614, 0.0451398640871048, 0.0007849470712244511, 0.0522906593978405, 0.03639572113752365, -0.03451633080840111, -0.044955626130104065, 0.01806928589940071, 0.0246103648096323, -0.06482378393411636, -0.06890922784805298, -0.020591003820300102, 0.05897953361272812, 0.033227887004613876, 0.01524404902011156, -0.08462654054164886, -0.0051320018246769905, 0.04398941993713379, -0.009550600312650204, 0.051038723438978195, -0.010098641738295555, 0.06559762358665466, 0.0314655564725399, -0.016024399548768997, 0.018121829256415367, -0.04940205439925194, 0.015571939758956432, -0.016963770613074303, 0.031648728996515274, -0.004618962295353413, -0.018691960722208023, -0.05430182069540024, 0.03276163712143898, 0.020657692104578018, 0.021657463163137436, 0.05565513297915459, -0.03969866782426834, -0.037703417241573334, -0.0035251255612820387, 0.033057212829589844, -0.053663406521081924, 0.0503695122897625, 0.022365981712937355, 0.036717042326927185, -0.03105473704636097, -0.04484179615974426, 0.005182729102671146, 0.017497971653938293, 0.008123058825731277, -0.0002309926348971203, -0.07314998656511307, -0.03878377377986908, 0.015094312839210033, -0.02483886294066906, -0.02013503946363926, -0.10663151741027832, 0.003943087067455053, -0.01930816099047661, -0.020702842622995377, 0.05559663474559784, 0.05809955671429634, 0.05431538447737694, 0.049420762807130814, 0.003567283507436514, 0.0025021808687597513, -0.031687770038843155, 0.0471789613366127, -0.01001767348498106, -0.010515718720853329, 0.0001423364446964115, -0.026684671640396118, -0.0036289161071181297, -0.042090099304914474, -0.028716793283820152, -0.042916953563690186, 0.007513354066759348, 0.032916031777858734, -0.03432707116007805, -0.009660986252129078, -0.027864232659339905, 0.04316134378314018, -0.012450125999748707, -0.047548845410346985, -0.02824481390416622, -0.021351076662540436, -0.04331139102578163, -0.03691095486283302, 0.038618993014097214, -0.001437657163478434, 0.03236129879951477, 0.012125639244914055, -0.001094845705665648, 0.018850069493055344, -0.006390457972884178, -0.015011085197329521, 0.04181341826915741, -0.016162458807229996, -0.036061543971300125, -0.04146064445376396, -0.015256046317517757, -0.008419663645327091, 0.059076614677906036, -0.013253876939415932, 0.03874418884515762, 0.009981051087379456, -0.053117942065000534, 0.009341631084680557, 0.025505496188998222, 0.03050173819065094, -0.05473867803812027, -0.06995188444852829, -0.001655895379371941, -0.029657918959856033, 0.02206275425851345, -0.01760009676218033, -0.016916414722800255, 0.0310868788510561, 0.029773708432912827, 0.03657994791865349, 0.008905913680791855, -0.049324750900268555, 0.027984725311398506, -0.028007199987769127, 0.009418735280632973, -0.037352293729782104, 0.054617248475551605, -0.028068935498595238, 0.006503596436232328, -0.01215021125972271, -0.005882218945771456, -0.05623917654156685, 0.02417730912566185, -0.01745227351784706, -0.0071325758472085, -0.006936200894415379, -0.003474370576441288, -0.022387327626347542, 0.046104587614536285, -0.00037519470788538456, 0.015368463471531868, -0.047742679715156555, 0.08228450268507004, -0.040708642452955246, 0.011974281631410122, -0.0431540310382843, -0.016327761113643646, -0.04171814024448395, -0.013328158296644688, -0.0021822736598551273, -0.05228602886199951, 0.01627487502992153, 0.04661013185977936, 0.05013243108987808, 0.06577770411968231, -0.05232453718781471, -0.014553682878613472, -0.007349336054176092, -0.04685936123132706, -0.0014249024679884315, -0.015380768105387688, 0.03919845446944237, 0.014394266530871391, 0.043044138699769974, 0.022105947136878967, -0.05819724500179291, -0.0588453933596611, 0.02210526540875435, 0.0025674020871520042, -0.0008027488365769386, -0.006951984949409962, 0.0320589542388916, 0.0519304983317852, 0.046960748732089996, -0.0391986109316349, -0.008770695887506008, -0.011992949061095715, -0.027545064687728882, 0.009550231508910656, 0.005254254676401615, 0.0020640622824430466, 0.009406433440744877, -0.041847310960292816, -0.02310948073863983, 0.06650098413228989, 0.019063256680965424, 0.00978583749383688, -0.0031997961923480034, -0.05088886618614197, -0.009734208695590496, 0.0031940953340381384, -0.05466194078326225, 0.00843455083668232, 0.002492353552952409, -0.02778642624616623, 0.0659213587641716, -0.04428361356258392, 0.013981862924993038, 0.03160686790943146, 0.020863469690084457, -0.027466394007205963, 0.04269082471728325, -0.005311094224452972, -0.004439950920641422, 0.044414132833480835, -0.055043987929821014, -0.019286971539258957, -0.03744238615036011, 0.06411659717559814, -0.054972223937511444, 0.02451700158417225, 0.06858965009450912, 0.023219162598252296, 0.025454027578234673, -0.02661973610520363, -0.029986971989274025, 0.037143345922231674, -0.024644579738378525, 0.05966069921851158, 0.016509419307112694, -0.06915607303380966, 0.05886293575167656, 0.03196186572313309, -0.10572660714387894, 0.03272191807627678, 0.03242066130042076, 0.02065521664917469, -0.0004451267304830253, 0.040962476283311844, -0.043983131647109985, -0.005079067777842283, 0.00045421801041811705, 0.037288617342710495, -0.05289033055305481, 0.018932536244392395, 0.02767527848482132, -0.03368218615651131, -0.014796833507716656, 0.03009721077978611, -0.029039515182375908, 0.0001879332703538239, 0.012849342077970505, -0.03664533793926239, -0.05240759626030922, -0.006926012225449085, 0.041064050048589706, -0.05490540340542793, -0.00502203032374382, -0.041120417416095734, 0.013246948830783367, 0.017110448330640793, 0.011902334168553352, -0.0298383180052042, -0.021690480411052704, -0.007735995575785637, -0.0818210244178772, -0.04630996286869049, 0.0371055081486702, 0.01331162266433239, -0.012365159578621387, 0.047173336148262024, 0.003993196878582239, 0.02393917925655842, 0.03498470410704613, 0.008884376846253872, 0.01998424530029297, -0.05849172919988632, -0.02064664103090763, 0.020409423857927322, 0.01575673371553421, 0.013864001259207726, -0.008926834911108017, 0.040739286690950394, 0.07376234233379364, 0.012729921378195286, 0.01090675313025713, -0.019122999161481857, -0.018369965255260468, 0.02506517991423607, -0.059699490666389465, 0.013837460428476334, 0.030093368142843246, -0.051791321486234665, -0.015657758340239525, -0.03357858210802078, 0.013493492268025875, 0.031267259269952774, -0.03397426754236221, -0.005356882233172655, 0.01121243555098772, -0.022151866927742958, -0.039659928530454636, -0.06571868807077408, -0.032068002969026566, -0.02086269110441208, 0.021721018478274345, 0.001414208090864122, -0.023773595690727234, 0.015217822045087814, -0.04504020884633064, -0.051528964191675186, 0.005930974613875151, 0.009024379774928093, -0.03150571137666702, 0.05739561840891838, 0.04548933729529381, -0.07536786049604416, 0.002674815244972706, 0.050535090267658234, -0.0036871416959911585, 0.039199214428663254, -0.0020755124278366566, 0.015917951241135597, 0.026438109576702118, 0.02262772060930729, -0.023379608988761902, -0.03579701855778694, -0.05322178825736046, -0.017118602991104126, -0.03768589720129967, 0.02125275693833828, 0.035210832953453064 ]
AnonymousSub/EManuals_RoBERTa_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
2022-03-01T12:18:32Z
--- language: - de - fr - it pipeline_tag: fill-mask license: cc-by-nc-sa-4.0 tags: - legal - fairlex widget: - text: "Aus seinem damaligen strafbaren Verhalten resultierte eine Forderung der Nachlassverwaltung eines <mask>, worüber eine aussergerichtliche Vereinbarung über Fr. 500'000." - text: " Elle avait pour but social les <mask> dans le domaine des changes, en particulier l'exploitation d'une plateforme internet." - text: "Il Pretore ha accolto la petizione con sentenza 16 luglio 2015, accordando all'attore l'importo <mask>, con interessi di mora a partire dalla notifica del precetto esecutivo, e ha rigettato in tale misura l'opposizione interposta a quest'ultimo." --- # FairLex: A multilingual benchmark for evaluating fairness in legal text processing We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP. --- Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland. --- ## Pre-training details For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC). We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads. We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019). For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC). ## Models list | Model name | Training corpora | Language | |-----------------------------------|------------------|--------------------| | `coastalcph/fairlex-ecthr-minlm` | ECtHR | `en` | | `coastalcph/fairlex-scotus-minlm` | SCOTUS | `en` | | `coastalcph/fairlex-fscs-minlm` | FSCS | [`de`, `fr`, `it`] | | `coastalcph/fairlex-cail-minlm` | CAIL | `zh` | ## Load Pretrained Model ```python from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-fscs-minlm") model = AutoModel.from_pretrained("coastalcph/fairlex-fscs-minlm") ``` ## Evaluation on downstream tasks Consider the experiments in the article: _Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland._ ## Author - Publication ``` @inproceedings{chalkidis-2022-fairlex, author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders}, title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing}, booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics}, year={2022}, address={Dublin, Ireland} } ``` Ilias Chalkidis on behalf of [CoAStaL NLP Group](https://coastalcph.github.io) | Github: [@ilias.chalkidis](https://github.com/iliaschalkidis) | Twitter: [@KiddoThe2B](https://twitter.com/KiddoThe2B) |
[ 0.01938518136739731, -0.01949930191040039, -0.004697038792073727, 0.026251327246427536, 0.05150503292679787, 0.020629646256566048, 0.008928125724196434, -0.0012827792670577765, -0.029539009556174278, 0.05592061206698418, 0.030047446489334106, -0.0032869146671146154, 0.019749512895941734, 0.018200458958745003, -0.06626345217227936, -0.05589798837900162, -0.002374485833570361, -0.035514459013938904, -0.0388205461204052, -0.027865422889590263, 0.01865415833890438, -0.0013771323719993234, -0.013221200555562973, 0.0086014773696661, 0.0049946000799536705, 0.0024002138525247574, -0.018468482419848442, 0.016936911270022392, 0.016433674842119217, -0.05861837416887283, -0.002850449178367853, -0.013052486814558506, -0.032113395631313324, -0.03646019101142883, -0.02664511278271675, -0.0021218599285930395, 0.010387619957327843, 0.007977881468832493, 0.021346954628825188, 0.04933468624949455, 0.003623213618993759, -0.014471656642854214, -0.013426557183265686, -0.03778113052248955, 0.032024215906858444, -0.008173834532499313, -0.03038707748055458, -0.031841326504945755, 0.0023614370729774237, -0.03913848474621773, -0.04763937368988991, -0.05370280519127846, -0.007600357290357351, 0.010763444937765598, -0.004510143771767616, -0.027827344834804535, -0.07583540678024292, 0.027439408004283905, 0.05173473432660103, -0.05094526335597038, -0.05001775920391083, 0.026467081159353256, -0.07170814275741577, 0.015513399615883827, 0.02442094311118126, -0.06690285354852676, 0.004900605417788029, -0.05526287853717804, 0.027820762246847153, 0.010248051024973392, 0.06006427854299545, -0.044101789593696594, 0.018402040004730225, -0.08200818300247192, 0.0026999274268746376, -0.027819452807307243, 0.038266655057668686, 0.024189084768295288, -0.037716370075941086, 0.03242138400673866, 0.019421955570578575, 0.015557803213596344, 0.049686454236507416, -0.03594820946455002, -0.008437645621597767, 0.03655022010207176, -0.0471925251185894, -0.015320339240133762, 0.03149234876036644, 0.030390147119760513, -0.031339552253484726, -0.04252234846353531, -0.019640088081359863, -0.01605783775448799, -0.016334988176822662, 0.01137939840555191, 0.058867283165454865, -0.008836779743432999, 0.036422256380319595, 0.043345820158720016, 0.014980645850300789, 0.04087264463305473, -0.02971523068845272, 0.031956996768713, -0.02552379108965397, -0.006365691311657429, -0.012750578112900257, -0.04661073908209801, -0.06688281893730164, 0.050399549305438995, 0.008645582012832165, -0.036736879497766495, -0.0534982793033123, 0.03427944704890251, 0.012008284218609333, -0.028913360089063644, 0.04523804038763046, -0.0377083346247673, -0.03579338639974594, -0.04032807797193527, 0.025396497920155525, -0.0027425780426710844, 0.003345586359500885, 0.014797055162489414, -0.051746875047683716, 0.026354799047112465, -0.03248261287808418, -0.05604937672615051, 0.0075525459833443165, 0.029657617211341858, 0.01425807736814022, 0.047958239912986755, 0.025399817153811455, -0.06331419944763184, 0.011954475194215775, -0.011030927300453186, -0.08450870215892792, 0.03666958957910538, 0.03789327293634415, 0.12477175891399384, -0.02425374649465084, -0.019029242917895317, -0.000051046768930973485, 0.02371205762028694, -0.0219939686357975, -0.011337564326822758, 0.0009543109335936606, -0.05851775035262108, -0.01615222357213497, 0.004336657002568245, 0.047425832599401474, -0.06268350034952164, 0.010586007498204708, 0.06089048087596893, -0.006750567816197872, 0.05578006058931351, -0.03523459658026695, -0.001112835481762886, 0.012302085757255554, -0.023150106891989708, -0.031611692160367966, 0.03895671293139458, -0.005669906735420227, -0.004256494343280792, -0.04714134708046913, -0.052990321069955826, 0.0026345960795879364, 0.05915454402565956, -0.007193694356828928, -0.019313182681798935, -0.04672284051775932, 0.019868630915880203, 0.05435199663043022, 0.005072642583400011, -0.025866331532597542, 0.03548639640212059, 0.03198394551873207, 0.04277282953262329, 0.006594195030629635, 0.07102225720882416, 0.0315767265856266, -0.03289699926972389, -0.04414467513561249, -0.01594346947968006, 0.03259909152984619, -0.00489138625562191, 0.009551966562867165, 0.047416653484106064, 0.015620863996446133, -0.002389538800343871, -0.0316268652677536, 0.04916384816169739, -0.020002899691462517, -0.010973365977406502, -0.002749856561422348, 0.011622168123722076, -0.04658295586705208, 0.03353019058704376, -0.021163450554013252, 0.010704215615987778, -0.019048606976866722, -0.039744071662425995, 0.03548440337181091, 0.01613481342792511, 0.020033719018101692, 0.05395146459341049, -0.002306888112798333, 0.08425881713628769, -0.02225656248629093, 0.023406807333230972, -0.034650202840566635, -0.04462683945894241, -0.007392364554107189, 0.0660380944609642, 0.025105325505137444, 0.06264597177505493, -0.02331395447254181, -0.0627831369638443, 0.025043748319149017, 0.05228916183114052, 0.0571458674967289, 0.013432960025966167, -0.029555149376392365, 0.005660185590386391, 0.05467093363404274, 0.05051710456609726, -0.0445578470826149, -0.03812233731150627, 0.01250122208148241, 0.06727287918329239, -0.011344442144036293, 0.0020530985202640295, -0.013550772331655025, 0.015243654139339924, -0.042114388197660446, -0.06512176245450974, 0.04079940542578697, 0.004752715118229389, 0.008501801639795303, 0.026291752234101295, 0.0027308049611747265, 0.011777102015912533, 0.016831785440444946, 0.0142664210870862, 0.0031634385231882334, -0.04894160479307175, 0.005757315084338188, 0.01683419942855835, 0.04405182972550392, -0.05354086309671402, 0.050410304218530655, 0.007922166027128696, 0.009282689541578293, 0.031890805810689926, -0.046009987592697144, 0.03482227399945259, 0.03431117907166481, -0.0249681007117033, -0.03578023612499237, 0.023400040343403816, 0.02727661468088627, 0.043070919811725616, 0.09564212709665298, -0.0030936305411159992, 0.09545274078845978, -0.001735081896185875, 0.05801284685730934, 0.08093127608299255, 0.057138390839099884, -0.0029726545326411724, 0.027900665998458862, 0.043907392770051956, 0.0035979708191007376, -0.00026026018895208836, 0.06600422412157059, -0.06177119165658951, 0.018641633912920952, -0.036924973130226135, 0.019193703308701515, 0.0007400278118439019, -0.00782513152807951, 0.032657165080308914, 0.019402693957090378, -0.021641027182340622, 0.010327938944101334, -0.025646250694990158, 0.003003785153850913, 0.06886439025402069, -0.020616883412003517, 0.021889373660087585, -0.01691427454352379, -0.015057153068482876, 0.02198721095919609, -0.07288677990436554, -0.028925277292728424, -0.015536213293671608, -0.019362198188900948, -0.018146539106965065, -0.06571538746356964, -0.035363513976335526, -0.057293470948934555, -0.0008825233671814203, 0.04135087877511978, 0.02663321979343891, -0.00312113668769598, -0.04691922292113304, 0.018123958259820938, -0.03135398402810097, -0.011183416470885277, -0.07423432916402817, -0.03336726874113083, -0.03485054895281792, -0.08053920418024063, 0.030893949791789055, 0.013709301128983498, 0.05030088126659393, 0.01158932875841856, 0.014488418586552143, -0.038693711161613464, -0.02535787969827652, 0.026429174467921257, 0.027538372203707695, -0.02012999728322029, -0.011979717761278152, 0.02920934371650219, 0.00034358518314547837, 0.04149601235985756, 0.009707772172987461, -0.05699411407113075, 0.08466179668903351, 0.04931081086397171, 0.02561417780816555, 0.02440320886671543, -0.014563554897904396, -0.044225238263607025, -0.0685381293296814, -0.039287250488996506, -0.04150928929448128, -0.019986191764473915, -0.014382291585206985, -0.037360817193984985, -0.04210829362273216, -0.017672155052423477, 0.005591374356299639, -0.01938028819859028, 0.02306562289595604, 0.04787277802824974, 0.03700749948620796, 0.04378070309758186, 0.03583020716905594, -0.06746634840965271, -0.024951450526714325, 0.08134803920984268, 0.0003836171526927501, 0.016667457297444344, -0.09030812978744507, -0.030266597867012024, 0.03736322745680809, 0.03789433464407921, 0.017929602414369583, -0.014448491856455803, 0.07524165511131287, -0.0029787467792630196, -0.013872209005057812, 0.028076114133000374, -0.022727394476532936, -0.048474084585905075, 0.008881987072527409, -0.000458974129287526, -0.054933175444602966, -0.04793582856655121, -0.018638795241713524, -0.006616637576371431, 0.04962368682026863, -0.050379678606987, -0.02519952692091465, -0.019234726205468178, 0.028621423989534378, 0.019852878525853157, -0.015689006075263023, -0.03665229305624962, 0.018170936033129692, -0.034124184399843216, -0.04480274021625519, 0.004180628340691328, 0.018333036452531815, 0.01429015677422285, 0.03999356925487518, 0.025426406413316727, -0.03460875153541565, 0.0074292924255132675, 0.03076321631669998, 0.05842692032456398, 0.025254162028431892, -0.04920899495482445, 0.05520230904221535, -0.028915323317050934, 0.02504943683743477, -0.020682381466031075, -0.02209724485874176, -0.048024337738752365, -0.0695926621556282, 0.018912697210907936, 0.017632167786359787, -0.0036744929384440184, 0.005622424650937319, 0.0596608929336071, -0.03455212712287903, -0.009570318274199963, 0.017346395179629326, 0.00935013685375452, 0.05087953060865402, -0.07696188986301422, 0.05179528146982193, -0.03578665107488632, 0.03126046806573868, -0.033250536769628525, 0.032595206052064896, -0.01618923991918564, -0.02154337242245674, 0.012447753921151161, 0.07982764393091202, 0.02747732400894165, 0.035196878015995026, 0.0824522152543068, 0.021524149924516678, -0.04585746303200722, 0.028423910960555077, 0.03732142969965935, -0.03149666264653206, -0.047459546476602554, -0.004086913540959358, -0.0014060685643926263, -0.027439501136541367, -0.031835246831178665, -0.052238933742046356, 0.036270856857299805, 0.012565461918711662, 0.00734358187764883, -0.03547792136669159, 0.02933451160788536, -0.04357298091053963, -0.007610226050019264, -0.0592571385204792, -0.009300422854721546, -0.008408594876527786, -0.0369284525513649, 0.030080487951636314, 0.025102967396378517, 0.017617233097553253, 0.05162442475557327, 0.03283034265041351, -0.039886850863695145, -0.03492145240306854, 0.019326714798808098, 0.023469259962439537, -0.037987660616636276, -0.06989476829767227, -0.04542868956923485, 0.032590124756097794, 0.05235914885997772, -0.008886606432497501, -0.08824225515127182, 0.011234203353524208, 0.05735117942094803, -0.02038354054093361, 0.03417805954813957, -0.028983483090996742, 0.00663014454767108, 0.034205738455057144, -0.0026776795275509357, 0.032237082719802856, -0.003033443819731474, 0.023100396618247032, -0.018975531682372093, 0.03987066447734833, -0.007079169154167175, -0.015512341633439064, -0.03882923349738121, 0.03836052119731903, 0.01460283249616623, 0.04916395992040634, 0.045303672552108765, -0.029093094170093536, -0.04053128883242607, 0.01721428893506527, 0.035809580236673355, -0.050937119871377945, 0.03235147148370743, 0.015405707992613316, 0.07552051544189453, -0.03732200711965561, -0.04253237694501877, 0.001772618037648499, 0.013018064200878143, 0.021688126027584076, -0.024817902594804764, -0.03034929931163788, -0.054130617529153824, 0.00785500556230545, -0.04228677973151207, -0.021888379007577896, -0.07696475833654404, 0.02746841125190258, -0.012540928088128567, -0.027569571509957314, 0.06185971200466156, 0.014859980903565884, 0.048186834901571274, 0.04781990870833397, -0.0071244738064706326, 0.03544596582651138, -0.06524643301963806, 0.05264827609062195, -0.011400354094803333, -0.008238982409238815, 0.015094036236405373, -0.052364643663167953, 0.006932999938726425, -0.009653201326727867, -0.054605305194854736, -0.05130982771515846, -0.007651730440557003, 0.009704932570457458, -0.014605761505663395, 0.048613835126161575, -0.03703432157635689, 0.036535535007715225, -0.005245651118457317, -0.013588427565991879, 0.006539138965308666, -0.05729249492287636, -0.07227984070777893, -0.02197294495999813, 0.025324827060103416, 0.0348471999168396, 0.03302065655589104, 0.005384479649364948, -0.005156975705176592, 0.014728154055774212, 0.029191145673394203, -0.015647925436496735, 0.04203630983829498, -0.019698366522789, -0.04480481147766113, -0.031904950737953186, -0.014217168092727661, 0.000036458524846239015, 0.032277073711156845, -0.014593993313610554, 0.05771246924996376, 0.009245815686881542, -0.02277928777039051, -0.011409501545131207, 0.015627019107341766, 0.032832153141498566, -0.08392445743083954, -0.04465659707784653, -0.034818004816770554, -0.03416780009865761, 0.05883391574025154, 0.004589560441672802, -0.003205995075404644, 0.03836854174733162, 0.036105502396821976, 0.029873769730329514, -0.0053627220913767815, -0.04066028445959091, -0.0020523639395833015, 0.004723326303064823, 0.013003106229007244, -0.05670607462525368, 0.04924766346812248, -0.03659406304359436, -0.002074906136840582, -0.02104862406849861, -0.007425319869071245, -0.062443915754556656, 0.06790074706077576, 0.0007282329024747014, -0.030099261552095413, 0.002498355694115162, 0.006821015849709511, -0.03933393210172653, 0.015925120562314987, -0.05881814658641815, 0.00753414910286665, -0.014428186230361462, 0.047837574034929276, -0.039756420999765396, -0.01789216697216034, -0.0260371845215559, -0.008691703900694847, -0.0522315613925457, -0.00020197461708448827, -0.015808792784810066, -0.04546396806836128, 0.02657478302717209, 0.037626221776008606, 0.026902176439762115, 0.0060328771360218525, -0.027449941262602806, 0.024221643805503845, -0.0009699874208308756, -0.05331332981586456, 0.012227104976773262, -0.002683185273781419, 0.01531542744487524, -0.013345724903047085, 0.05374200642108917, 0.000797466782387346, -0.06266116350889206, -0.05920170247554779, 0.038359057158231735, -0.007369761820882559, 0.004876574035733938, -0.012554292567074299, 0.015537052415311337, 0.05334456264972687, 0.025020163506269455, -0.03442193195223808, -0.01908082701265812, -0.012532437220215797, -0.0254786666482687, 0.015314619056880474, -0.0012210187269374728, 0.004907679744064808, 0.008377709425985813, -0.024558179080486298, -0.0020024627447128296, 0.055472489446401596, 0.007521145511418581, -0.007163941394537687, -0.013396898284554482, -0.0373222753405571, 0.015813367441296577, 0.007138477172702551, -0.02756534516811371, 0.00008343212539330125, 0.009707401506602764, -0.03135811537504196, 0.04743228107690811, 0.005334627348929644, 0.003008013591170311, 0.07414073497056961, -0.001432596007362008, 0.0013244939036667347, 0.05212021246552467, -0.032316919416189194, 0.011919839307665825, 0.049595728516578674, -0.0750647708773613, -0.013326575979590416, -0.025140933692455292, 0.08456485718488693, -0.052037421613931656, 0.028729120269417763, 0.033970907330513, 0.02701929584145546, 0.026182468980550766, -0.02250109426677227, -0.05364533141255379, 0.025199299678206444, -0.017250115051865578, 0.07933464646339417, 0.00999697670340538, -0.0821198970079422, 0.0854133665561676, 0.04117698594927788, -0.08503523468971252, 0.03931654244661331, 0.04106537252664566, 0.04065176099538803, 0.01711423322558403, 0.0071656242944300175, -0.023333735764026642, -0.00920884869992733, -0.03591276705265045, 0.0029399963095784187, -0.049247294664382935, -0.007509190589189529, -0.007868895307183266, -0.06321769207715988, -0.01648983359336853, 0.01671973057091236, -0.025025295093655586, -0.003929741680622101, 0.0328090563416481, -0.03271850198507309, -0.03227145969867706, 0.013201594352722168, 0.00907821673899889, -0.04124762862920761, -0.004611534997820854, -0.03864815831184387, 0.04452941566705704, 0.003360753646120429, -0.005537580233067274, -0.04151594638824463, 0.003086959943175316, -0.0038653116207569838, -0.05227578431367874, -0.027581147849559784, 0.03823520243167877, 0.02876676432788372, -0.04889737442135811, 0.023913588374853134, -0.020831579342484474, 0.001112312194891274, 0.029975298792123795, -0.00597715750336647, 0.01640060916543007, -0.059184733778238297, 0.010351931676268578, 0.022557493299245834, -0.0006954273558221757, 0.011806526221334934, -0.026756757870316505, 0.03515800088644028, 0.04213733226060867, 0.0368962287902832, -0.02271309308707714, -0.017930857837200165, -0.032646168023347855, 0.026866761967539787, -0.010647994466125965, 0.010857192799448967, 0.007519968785345554, -0.036913324147462845, -0.03803649917244911, -0.01959499716758728, -0.00561916409060359, 0.000056862118071876466, -0.033110134303569794, -0.008864792063832283, 0.03949123993515968, -0.032482896000146866, -0.045056555420160294, -0.09510067105293274, -0.012698167935013771, -0.03971124440431595, 0.027142947539687157, -0.00392675818875432, -0.04508792608976364, 0.014851993881165981, -0.04342488944530487, -0.04735872149467468, 0.0233675017952919, 0.006296430714428425, -0.032652221620082855, 0.024222085252404213, 0.037818543612957, -0.04519950971007347, 0.027307774871587753, 0.0428057461977005, -0.041911639273166656, 0.04820914566516876, 0.046636760234832764, 0.015536361373960972, 0.024959072470664978, 0.012281481176614761, -0.013896414078772068, -0.02444164827466011, -0.06613054126501083, -0.0318610817193985, -0.02744150720536709, 0.0010380242019891739, 0.09205158799886703 ]
AnonymousSub/EManuals_RoBERTa_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 } } }
29
null
--- language: en pipeline_tag: fill-mask license: cc-by-nc-sa-4.0 tags: - legal - fairlex widget: - text: "Because the Court granted <mask> before judgment, the Court effectively stands in the shoes of the Court of Appeals and reviews the defendants’ appeals." --- # FairLex: A multilingual benchmark for evaluating fairness in legal text processing We present a benchmark suite of four datasets for evaluating the fairness of pre-trained legal language models and the techniques used to fine-tune them for downstream tasks. Our benchmarks cover four jurisdictions (European Council, USA, Swiss, and Chinese), five languages (English, German, French, Italian and Chinese) and fairness across five attributes (gender, age, nationality/region, language, and legal area). In our experiments, we evaluate pre-trained language models using several group-robust fine-tuning techniques and show that performance group disparities are vibrant in many cases, while none of these techniques guarantee fairness, nor consistently mitigate group disparities. Furthermore, we provide a quantitative and qualitative analysis of our results, highlighting open challenges in the development of robustness methods in legal NLP. --- Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. FairLex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland. --- ## Pre-training details For the purpose of this work, we release four domain-specific BERT models with continued pre-training on the corpora of the examined datasets (ECtHR, SCOTUS, FSCS, SPC). We train mini-sized BERT models with 6 Transformer blocks, 384 hidden units, and 12 attention heads. We warm-start all models from the public MiniLMv2 (Wang et al., 2021) using the distilled version of RoBERTa (Liu et al., 2019). For the English datasets (ECtHR, SCOTUS) and the one distilled from XLM-R (Conneau et al., 2021) for the rest (trilingual FSCS, and Chinese SPC). ## Models list | Model name | Training corpora | Language | |-----------------------------------|------------------|--------------------| | `coastalcph/fairlex-ecthr-minlm` | ECtHR | `en` | | `coastalcph/fairlex-scotus-minlm` | SCOTUS | `en` | | `coastalcph/fairlex-fscs-minlm` | FSCS | [`de`, `fr`, `it`] | | `coastalcph/fairlex-cail-minlm` | CAIL | `zh` | ## Load Pretrained Model ```python from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("coastalcph/fairlex-scotus-minlm") model = AutoModel.from_pretrained("coastalcph/fairlex-scotus-minlm") ``` ## Evaluation on downstream tasks Consider the experiments in the article: _Ilias Chalkidis, Tommaso Passini, Sheng Zhang, Letizia Tomada, Sebastian Felix Schwemer, and Anders Søgaard. 2022. Fairlex: A multilingual bench-mark for evaluating fairness in legal text processing. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, Dublin, Ireland._ ## Author - Publication ``` @inproceedings{chalkidis-2022-fairlex, author={Chalkidis, Ilias and Passini, Tommaso and Zhang, Sheng and Tomada, Letizia and Schwemer, Sebastian Felix and Søgaard, Anders}, title={FairLex: A Multilingual Benchmark for Evaluating Fairness in Legal Text Processing}, booktitle={Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics}, year={2022}, address={Dublin, Ireland} } ``` Ilias Chalkidis on behalf of [CoAStaL NLP Group](https://coastalcph.github.io) | Github: [@ilias.chalkidis](https://github.com/iliaschalkidis) | Twitter: [@KiddoThe2B](https://twitter.com/KiddoThe2B) |
[ 0.006935381796211004, -0.0026589687913656235, -0.020184528082609177, 0.04202311858534813, 0.0445866584777832, 0.02980673685669899, 0.003974351100623608, -0.010812667198479176, -0.033917758613824844, 0.056276559829711914, 0.028277963399887085, -0.01260597538203001, 0.030615264549851418, 0.018943870440125465, -0.06278327852487564, -0.0415540374815464, -0.009031503461301327, -0.013845463283360004, -0.03418337553739548, -0.022568857297301292, 0.014423204585909843, -0.005792423151433468, -0.004883056506514549, 0.018291626125574112, 0.017274506390094757, 0.00829827319830656, -0.013601589016616344, 0.03461702540516853, 0.008324499242007732, -0.06800542026758194, 0.008366813883185387, -0.0271991528570652, -0.029089881107211113, -0.03758672624826431, -0.022543910890817642, -0.009862757287919521, 0.00945250317454338, 0.010734029114246368, 0.03146279230713844, 0.053608790040016174, -0.0035978718660771847, -0.013099498115479946, -0.014337141998112202, -0.0499349981546402, 0.01991046965122223, -0.0017237226711586118, -0.026108205318450928, -0.03242550045251846, 0.010777242481708527, -0.03222084045410156, -0.04225952550768852, -0.07185182720422745, 0.003026185091584921, 0.016244273632764816, -0.003990928176790476, -0.017228733748197556, -0.07568662613630295, 0.012022272683680058, 0.06075524911284447, -0.045539744198322296, -0.037887897342443466, 0.029693135991692543, -0.05431031435728073, 0.020077675580978394, 0.030608849599957466, -0.043702155351638794, 0.009657439775764942, -0.04269969463348389, 0.032727524638175964, 0.01280885562300682, 0.05668829381465912, -0.04466887563467026, 0.005911426618695259, -0.0795225203037262, 0.0007317043491639197, -0.024412674829363823, 0.03992278128862381, 0.0222462210804224, -0.04984881728887558, 0.02515999786555767, 0.01812620647251606, 0.010025208815932274, 0.05168730765581131, -0.03593117743730545, 0.0012749269371852279, 0.03737252578139305, -0.04417533427476883, -0.0238188486546278, 0.03228084370493889, 0.03786779195070267, -0.032351378351449966, -0.029560511931777, -0.03577585145831108, -0.0119217149913311, -0.0223506148904562, 0.01641780510544777, 0.05902411416172981, -0.007936160080134869, 0.04033895581960678, 0.03938370943069458, 0.029495645314455032, 0.035427480936050415, -0.03518468141555786, 0.02507237158715725, -0.03152128681540489, -0.027527334168553352, -0.015640536323189735, -0.05119438096880913, -0.07105529308319092, 0.0454605296254158, 0.008140352554619312, -0.036517754197120667, -0.06054973229765892, 0.03107873722910881, 0.011632580310106277, -0.034656770527362823, 0.05350981652736664, -0.03030301444232464, -0.0403006486594677, -0.03388601914048195, 0.029567686840891838, -0.006140317767858505, -0.004917769692838192, 0.013925755396485329, -0.055108442902565, 0.023380262777209282, -0.02546973153948784, -0.053497325628995895, 0.0030753961764276028, 0.014116584323346615, 0.014943461865186691, 0.047489870339632034, 0.021776588633656502, -0.0605715736746788, 0.006907896138727665, 0.005817789118736982, -0.08300484716892242, 0.04466751217842102, 0.03472113981842995, 0.11279172450304031, -0.02869955077767372, -0.0325138233602047, 0.008763736113905907, 0.019778983667492867, -0.013604371808469296, -0.008202940225601196, 0.007897142320871353, -0.05108077451586723, -0.02094089798629284, -0.008624638430774212, 0.05228558927774429, -0.05614553019404411, 0.002303875982761383, 0.05574803799390793, -0.011969718150794506, 0.060056451708078384, -0.04167040064930916, 0.0063618943095207214, 0.0050398423336446285, -0.010122982785105705, -0.03628062084317207, 0.05177432671189308, -0.009456129744648933, -0.011038532480597496, -0.04601088538765907, -0.057216472923755646, -0.008171404711902142, 0.06407541036605835, -0.0017760655609890819, -0.010252142325043678, -0.04260660707950592, 0.023310113698244095, 0.049907051026821136, 0.007224953733384609, -0.02397528849542141, 0.023870814591646194, 0.030247310176491737, 0.037588659673929214, 0.00732172979041934, 0.06436749547719955, 0.025698138400912285, -0.031912822276353836, -0.04430742934346199, -0.006866286043077707, 0.022662242874503136, -0.002643949817866087, 0.010021096095442772, 0.049556221812963486, 0.006976721342653036, -0.004395472817122936, -0.03902338817715645, 0.04595130681991577, -0.01143255177885294, -0.011916217394173145, -0.0011111405910924077, 0.012110987678170204, -0.04229412227869034, 0.02313842438161373, -0.03395458310842514, 0.02308613620698452, -0.03560825437307358, -0.03123011253774166, 0.033585283905267715, 0.009380972012877464, 0.03256741166114807, 0.057055097073316574, -0.0027051514480262995, 0.08259382098913193, -0.03230991214513779, 0.02685936912894249, -0.050444189459085464, -0.04453716427087784, 0.0019242633134126663, 0.05240635946393013, 0.02355898730456829, 0.047769416123628616, -0.015750298276543617, -0.061040326952934265, 0.020899994298815727, 0.06171075627207756, 0.06367233395576477, 0.012784164398908615, -0.0393843799829483, 0.0038617278914898634, 0.04648464173078537, 0.05806855857372284, -0.041254736483097076, -0.03368359059095383, 0.015572896227240562, 0.06818784028291702, -0.00008297253953060135, 0.0037865370977669954, -0.015565496869385242, 0.010053754784166813, -0.038909342139959335, -0.06984702497720718, 0.03431537747383118, 0.011236656457185745, 0.009133130311965942, 0.01708628609776497, 0.00621557142585516, 0.013539955019950867, 0.012819778174161911, 0.028730513527989388, 0.002022279892116785, -0.05347670242190361, 0.01219191588461399, 0.00952618382871151, 0.03952133283019066, -0.05812938138842583, 0.04967450723052025, 0.005613616667687893, 0.00714533869177103, 0.032441504299640656, -0.02229013666510582, 0.02899562194943428, 0.042047951370477676, -0.007381218019872904, -0.029950493946671486, 0.02613108418881893, 0.030685435980558395, 0.0537094883620739, 0.09546910971403122, 0.002482500160112977, 0.08909168839454651, -0.0064369370229542255, 0.060249585658311844, 0.06976617872714996, 0.05658937245607376, 0.0072739277966320515, 0.0419529564678669, 0.05503768473863602, -0.008420833386480808, 0.0002536170359235257, 0.0785999521613121, -0.05910564213991165, 0.02153545804321766, -0.04040451720356941, 0.02258647419512272, 0.00042658083839342, -0.018077965825796127, 0.03226470574736595, 0.030198274180293083, -0.01481945626437664, -0.0009691721643321216, -0.02666550874710083, 0.004439749289304018, 0.06931211799383163, -0.009204435162246227, 0.029817570000886917, -0.022331183776259422, -0.023899532854557037, 0.009126350283622742, -0.06792841851711273, -0.03219442814588547, -0.010255738161504269, -0.02974648028612137, -0.007498564198613167, -0.06755290180444717, -0.036778103560209274, -0.05683670938014984, -0.013896265998482704, 0.05132459104061127, 0.02120971493422985, -0.005228471476584673, -0.0516313761472702, 0.02311144955456257, -0.041995614767074585, -0.018595445901155472, -0.07264796644449234, -0.03940170258283615, -0.01863684691488743, -0.08414070308208466, 0.03443646803498268, 0.019114261493086815, 0.04844251647591591, 0.005708081182092428, 0.007220241706818342, -0.023969952017068863, -0.028569353744387627, 0.021559694781899452, 0.03558693826198578, -0.03170071169734001, -0.006958528887480497, 0.025888031348586082, 0.0031691445037722588, 0.04814176633954048, -0.0015661701327189803, -0.03458748012781143, 0.08317243307828903, 0.06163058802485466, 0.02714250236749649, 0.02521657571196556, -0.01054877694696188, -0.06370940059423447, -0.06675578653812408, -0.03876551240682602, -0.053990308195352554, -0.007260083220899105, -0.027891812846064568, -0.04068184271454811, -0.031758181750774384, -0.013825490139424801, 0.005115428473800421, -0.01376748364418745, 0.02484893798828125, 0.03441763296723366, 0.047197356820106506, 0.042278192937374115, 0.032832611352205276, -0.05994817987084389, -0.0199186522513628, 0.08305337280035019, -0.007661991287022829, 0.02519236132502556, -0.09184671938419342, -0.03384639322757721, 0.030620301142334938, 0.045677196234464645, 0.022203294560313225, -0.007362212985754013, 0.08151158690452576, -0.0014933808706700802, -0.011136599816381931, 0.03512237221002579, -0.016099264845252037, -0.03505145385861397, 0.011132331565022469, 0.0040476638823747635, -0.054952044039964676, -0.05787871778011322, -0.027642425149679184, -0.024929754436016083, 0.0502813346683979, -0.04565673694014549, -0.030214084312319756, -0.022303879261016846, 0.026867592707276344, 0.018297934904694557, -0.021669238805770874, -0.026681657880544662, 0.023211512714624405, -0.027151038870215416, -0.04097956418991089, -0.011121537536382675, 0.01148953940719366, 0.021017257124185562, 0.03866957500576973, 0.022845586761832237, -0.024160731583833694, 0.014493785798549652, 0.0349075086414814, 0.06734811514616013, 0.026704983785748482, -0.06636596471071243, 0.041641246527433395, -0.03694770857691765, 0.03669102489948273, -0.024104619398713112, -0.023600254207849503, -0.04313551262021065, -0.06667563319206238, 0.013674717396497726, 0.007726834621280432, -0.013778134249150753, 0.010213307105004787, 0.048655226826667786, -0.030351558700203896, -0.011113897897303104, 0.013001585379242897, 0.013078593648970127, 0.042995013296604156, -0.06499553471803665, 0.045637983828783035, -0.01389617845416069, 0.018707340583205223, -0.038311272859573364, 0.02185741253197193, -0.026799844577908516, -0.021459894254803658, 0.01931900903582573, 0.07876662909984589, 0.025903619825839996, 0.04142608493566513, 0.07988013327121735, 0.018485231325030327, -0.04253804311156273, 0.02554311603307724, 0.04852757602930069, -0.019301310181617737, -0.04564512521028519, -0.0017598920967429876, -0.022056158632040024, -0.03137972578406334, -0.02357306517660618, -0.051211755722761154, 0.040539924055337906, 0.020323598757386208, 0.0102920513600111, -0.0287636611610651, 0.017386136576533318, -0.03955509513616562, -0.014561512507498264, -0.05962085723876953, -0.006996269803494215, -0.011344683356583118, -0.032475441694259644, 0.03524310514330864, 0.023313244804739952, 0.019012296572327614, 0.06467261910438538, 0.0407695472240448, -0.0328606553375721, -0.034346211701631546, 0.027594447135925293, 0.024174563586711884, -0.0452214814722538, -0.06470609456300735, -0.039240315556526184, 0.034418366849422455, 0.05716722458600998, -0.013063712045550346, -0.07337063550949097, -0.0022064074873924255, 0.05763005092740059, -0.009935902431607246, 0.044634509831666946, -0.03124360740184784, 0.02068372815847397, 0.04185255616903305, -0.0043479944579303265, 0.03761442005634308, -0.01847277581691742, 0.020815135911107063, -0.00553431361913681, 0.04182262718677521, -0.012640364468097687, -0.015341962687671185, -0.04834826663136482, 0.03681763634085655, 0.013557027094066143, 0.05205240845680237, 0.0523638054728508, -0.028579698875546455, -0.039488937705755234, 0.026113178580999374, 0.03498958423733711, -0.04260988533496857, 0.029415767639875412, 0.015585034154355526, 0.06875144690275192, -0.042062751948833466, -0.04292052611708641, -0.00391554506495595, 0.011992882005870342, 0.015912678092718124, -0.026303226128220558, -0.03252024948596954, -0.05849548801779747, 0.009318845346570015, -0.04747939854860306, -0.01729162409901619, -0.08464328199625015, 0.03233501687645912, -0.008863508701324463, -0.034870803356170654, 0.06137014180421829, 0.022752990946173668, 0.04976741597056389, 0.05013179033994675, -0.00689011812210083, 0.016514068469405174, -0.06959620118141174, 0.041160695254802704, -0.01560571976006031, -0.014134048484265804, 0.023178325966000557, -0.045012105256319046, 0.007648212369531393, -0.02269018441438675, -0.05075957626104355, -0.05624973028898239, -0.012933463789522648, -0.003283165395259857, -0.014087260700762272, 0.05288619548082352, -0.017275551334023476, 0.038131121546030045, 0.0019589627627283335, -0.01995730958878994, 0.005260225851088762, -0.048993028700351715, -0.07117301225662231, -0.02416548691689968, 0.022365286946296692, 0.033756788820028305, 0.022108271718025208, 0.006650357041507959, -0.017551280558109283, 0.007305740844458342, 0.01042970735579729, -0.028607867658138275, 0.036720164120197296, -0.020010441541671753, -0.05275190994143486, -0.024524228647351265, -0.0037286144215613604, 0.005499822553247213, 0.028078977018594742, -0.018789183348417282, 0.05495278537273407, 0.009375966154038906, -0.01015250850468874, -0.009199009276926517, 0.026452234014868736, 0.036143094301223755, -0.08576267957687378, -0.039228107780218124, -0.03157523646950722, -0.03658195585012436, 0.05624386668205261, 0.0016996298218145967, -0.0033543885219842196, 0.05263316258788109, 0.03656570985913277, 0.034317586570978165, -0.009883481077849865, -0.0400179922580719, -0.004402779974043369, 0.009698668494820595, 0.013515437953174114, -0.055784255266189575, 0.0497080497443676, -0.05376081168651581, -0.0015876905526965857, -0.029317406937479973, -0.004407098516821861, -0.0717625841498375, 0.05382800102233887, -0.002904151100665331, -0.024009719491004944, -0.0010393507545813918, 0.017707128077745438, -0.04294052720069885, 0.007694306783378124, -0.056905586272478104, -0.0027935404796153307, -0.004472246393561363, 0.05584253743290901, -0.03853316977620125, -0.012440502643585205, -0.03359604626893997, -0.002468741498887539, -0.053003959357738495, -0.008331927470862865, -0.006326787639409304, -0.01438107155263424, 0.024635260924696922, 0.04013466089963913, 0.024381818249821663, 0.021564025431871414, -0.015414698980748653, 0.02204187959432602, 0.007577634882181883, -0.06201610714197159, 0.0039749532006680965, -0.005343632306903601, 0.013158564455807209, -0.009461252018809319, 0.056459762156009674, -0.008669608272612095, -0.06121791526675224, -0.0639304518699646, 0.03905201703310013, -0.0006359497783705592, 0.007241329178214073, -0.01521789375692606, 0.01881673000752926, 0.04432716965675354, 0.039042290300130844, -0.0308525413274765, -0.023032309487462044, -0.01672825776040554, -0.022321656346321106, 0.00595074612647295, -0.0018256264738738537, 0.003131583333015442, 0.010739819146692753, -0.025026734918355942, -0.026274558156728745, 0.05647024139761925, 0.003787274705246091, 0.004329876508563757, -0.013759088702499866, -0.041975267231464386, 0.005544372834265232, 0.0009345023427158594, -0.02711101993918419, -0.005457335151731968, -0.0006446389015763998, -0.025013690814375877, 0.05229843035340309, 0.005756104830652475, 0.011043583042919636, 0.06179135665297508, 0.004897865932434797, -0.001981870736926794, 0.05699457228183746, -0.023233283311128616, 0.0042448448948562145, 0.04417119175195694, -0.06660547852516174, -0.01812717132270336, -0.027536708861589432, 0.0889660120010376, -0.051905836910009384, 0.03405582904815674, 0.03675329312682152, 0.03460292890667915, 0.021555611863732338, -0.026520103216171265, -0.05435309559106827, 0.032687120139598846, -0.005001634359359741, 0.07938257604837418, 0.00996272824704647, -0.08007180690765381, 0.07429985702037811, 0.037837330251932144, -0.08454161137342453, 0.035633865743875504, 0.04317360371351242, 0.05462688207626343, 0.012316185049712658, 0.0007933459128253162, -0.023108061403036118, -0.012743628583848476, -0.036788277328014374, -0.0013006145600229502, -0.04160500317811966, -0.003277570242062211, -0.0033326405100524426, -0.05649789422750473, -0.009293261915445328, 0.026376284658908844, -0.03855263814330101, -0.01169548649340868, 0.02985239028930664, -0.03533335030078888, -0.04477006569504738, 0.006352557800710201, 0.007295213174074888, -0.02969892881810665, -0.0012188204564154148, -0.04442191496491432, 0.048941899091005325, -0.0002700629411265254, 0.004922742024064064, -0.03402235731482506, -0.0033381623215973377, -0.010760008357465267, -0.04622107744216919, -0.02559978887438774, 0.03063160739839077, 0.024727270007133484, -0.05152631923556328, 0.04148159548640251, -0.019933953881263733, -0.0004625227302312851, 0.032586708664894104, 0.0030480343848466873, 0.018211012706160545, -0.04874144867062569, 0.009446248412132263, 0.025833986699581146, 0.012831331230700016, 0.027747532352805138, -0.01716425269842148, 0.030369814485311508, 0.04140613228082657, 0.04115096479654312, -0.01952098309993744, -0.031151756644248962, -0.02366952784359455, 0.0253792405128479, -0.017992623150348663, 0.017666755244135857, 0.006209386046975851, -0.032629773020744324, -0.03779179975390434, -0.026981784030795097, -0.00830765813589096, 0.0004485415411181748, -0.04357746243476868, -0.003162373322993517, 0.03820711374282837, -0.021631108596920967, -0.05792612582445145, -0.09275151789188385, -0.0235945712774992, -0.040767867118120193, 0.030370671302080154, -0.0034885089844465256, -0.0344955213367939, 0.009795132093131542, -0.0495758056640625, -0.04329770430922508, 0.03054453618824482, 0.01682608388364315, -0.035862017422914505, 0.0367286391556263, 0.030353479087352753, -0.04328741878271103, 0.012923299334943295, 0.028918011114001274, -0.05060886964201927, 0.05383140966296196, 0.04498247429728508, 0.020189013332128525, 0.023014811798930168, 0.019546136260032654, -0.016004258766770363, -0.018730875104665756, -0.05682656168937683, -0.022779354825615883, -0.025827402248978615, 0.007663344964385033, 0.09666208177804947 ]
AnonymousSub/SR_EManuals-RoBERTa
[ "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
null
HIYACCENT: An Improved Nigerian-Accented Speech Recognition System Based on Contrastive Learning The global objective of this research was to develop a more robust model for the Nigerian English Speakers whose English pronunciations are heavily affected by their mother tongue. For this, the Wav2Vec-HIYACCENT model was proposed which introduced a new layer to the Novel Facebook Wav2vec to capture the disparity between the baseline model and Nigerian English Speeches. A CTC loss was also inserted on top of the model which adds flexibility to the speech-text alignment. This resulted in over 20% improvement in the performance for NAE.T Fine-tuned facebook/wav2vec2-large on English using the UISpeech Corpus. When using this model, make sure that your speech input is sampled at 16kHz. The script used for training can be found here: https://github.com/amceejay/HIYACCENT-NE-Speech-Recognition-System ##Usage: The model can be used directly (without a language model) as follows... #Using the ASRecognition library: from asrecognition import ASREngine asr = ASREngine("fr", model_path="codeceejay/HIYACCENT_Wav2Vec2") audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"] transcriptions = asr.transcribe(audio_paths) ##Writing your own inference speech: import torch import librosa from datasets import load_dataset from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor LANG_ID = "en" MODEL_ID = "codeceejay/HIYACCENT_Wav2Vec2" SAMPLES = 10 #You can use common_voice/timit or Nigerian Accented Speeches can also be found here: https://openslr.org/70/ test_dataset = load_dataset("common_voice", LANG_ID, split=f"test[:{SAMPLES}]") processor = Wav2Vec2Processor.from_pretrained(MODEL_ID) model = Wav2Vec2ForCTC.from_pretrained(MODEL_ID) # Preprocessing the datasets. # We need to read the audio files as arrays def speech_file_to_array_fn(batch): speech_array, sampling_rate = librosa.load(batch["path"], sr=16_000) batch["speech"] = speech_array batch["sentence"] = batch["sentence"].upper() return batch test_dataset = test_dataset.map(speech_file_to_array_fn) inputs = processor(test_dataset["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) predicted_sentences = processor.batch_decode(predicted_ids) for i, predicted_sentence in enumerate(predicted_sentences): print("-" * 100) print("Reference:", test_dataset[i]["sentence"]) print("Prediction:", predicted_sentence)
[ -0.0396508127450943, -0.017943674698472023, -0.026973219588398933, 0.021700292825698853, 0.0377751886844635, 0.04897633567452431, -0.011149784550070763, -0.023036351427435875, -0.02523300237953663, 0.03720458596944809, 0.03731316700577736, -0.018139373511075974, 0.017307166010141373, 0.035789940506219864, -0.03934367746114731, -0.013466366566717625, -0.027750113978981972, 0.001848829910159111, -0.05283462256193161, -0.013683664612472057, 0.009951340034604073, 0.02282101660966873, -0.02076837792992592, 0.047584060579538345, 0.015466708689928055, 0.01046533603221178, 0.005307844839990139, 0.008824778720736504, 0.03959888964891434, -0.05724027752876282, -0.005861462093889713, -0.05119270086288452, -0.025283245369791985, -0.02616346813738346, -0.01979454606771469, 0.02170475386083126, -0.010897684842348099, 0.03715040534734726, 0.03949214145541191, 0.03641137108206749, -0.02396804466843605, 0.019781308248639107, 0.010049457661807537, -0.02867400459945202, 0.04807906225323677, 0.004439956974238157, -0.051356807351112366, -0.009562026709318161, 0.015563279390335083, -0.04181448742747307, -0.03286119922995567, -0.06769858300685883, 0.0017719941679388285, 0.020598309114575386, 0.015618962235748768, -0.028039880096912384, -0.05440976470708847, -0.03411700949072838, 0.08413319289684296, -0.07262974232435226, -0.0025410661473870277, 0.013423400931060314, -0.06443525850772858, 0.028525710105895996, 0.05326835811138153, -0.0666557028889656, 0.021210510283708572, -0.046255823224782944, 0.04259098693728447, -0.012762544676661491, 0.003001975594088435, -0.0511331781744957, 0.026068691164255142, -0.06555704027414322, 0.009419233538210392, -0.02362862601876259, 0.03948986902832985, 0.05339235067367554, -0.067298524081707, 0.06902970373630524, -0.010837103240191936, 0.03252153843641281, 0.03213363513350487, -0.023344459012150764, 0.015519353561103344, 0.030155815184116364, -0.038993898779153824, 0.013103436678647995, 0.01737889274954796, 0.014490468427538872, -0.048040639609098434, -0.03429955989122391, 0.0019437901210039854, -0.03273623436689377, -0.003141622059047222, 0.02497396059334278, 0.024613136425614357, -0.01753353886306286, 0.06979451328516006, 0.023876454681158066, 0.019550973549485207, 0.05734960734844208, -0.0040165432728827, 0.040054164826869965, -0.01603505201637745, 0.026744499802589417, -0.020430518314242363, -0.04213586077094078, -0.048111315816640854, 0.021648207679390907, 0.03701245039701462, -0.022582300007343292, -0.031102081760764122, 0.05593588948249817, -0.020686758682131767, -0.02659885585308075, 0.039820313453674316, -0.059023287147283554, -0.0490754060447216, -0.0407232791185379, 0.02095639519393444, 0.010513529181480408, 0.00357239181175828, -0.025079309940338135, -0.04935764521360397, 0.028109246864914894, -0.04389219731092453, -0.0610838308930397, -0.036876529455184937, 0.024128299206495285, 0.006811345461755991, 0.04298492521047592, 0.01701132208108902, -0.03494042903184891, -0.02269105613231659, 0.03080817498266697, -0.07455044239759445, 0.011575114913284779, 0.03285476565361023, 0.07963237166404724, -0.05209294334053993, -0.027580952271819115, -0.004679800011217594, 0.0042860559187829494, -0.005362305324524641, 0.016799073666334152, 0.011956654489040375, -0.038012489676475525, -0.03117254003882408, -0.015379814431071281, 0.06615908443927765, -0.05462535098195076, 0.00021844990260433406, 0.0773339569568634, -0.012368771247565746, 0.062316715717315674, -0.046534791588783264, 0.007284945342689753, 0.0033959057182073593, -0.013797508552670479, -0.007370346691459417, 0.03960533067584038, -0.0028722051065415144, -0.009716820903122425, -0.04873126372694969, -0.04180539771914482, -0.00842688325792551, 0.060695718973875046, -0.006922028958797455, -0.006880943197757006, -0.033410727977752686, 0.04464930668473244, 0.018127474933862686, 0.022821132093667984, -0.0455060675740242, 0.005946462508291006, 0.03929593786597252, 0.01854679360985756, -0.01616576872766018, 0.08299998939037323, 0.031109411269426346, -0.02493661642074585, -0.04733680188655853, -0.01673494279384613, 0.01575557142496109, -0.048612963408231735, 0.007439597975462675, 0.0574171356856823, -0.016317566856741905, -0.026465892791748047, -0.030071664601564407, 0.09361888468265533, 0.0012459001736715436, -0.016973575577139854, 0.007957888767123222, -0.015069874934852123, -0.026154588907957077, 0.04964008554816246, -0.01592336595058441, -0.003866626648232341, -0.05455227568745613, 0.0017959197284653783, -0.024459553882479668, -0.005576798226684332, 0.02202574349939823, 0.038426678627729416, -0.014682501554489136, 0.07679769396781921, -0.017857473343610764, 0.022732321172952652, -0.0457024872303009, -0.038001157343387604, -0.011657125316560268, 0.06812301278114319, 0.04061103239655495, 0.06862985342741013, -0.00784902460873127, -0.04981193318963051, 0.039402566850185394, 0.07313448935747147, 0.0742851197719574, 0.04105542227625847, -0.035763923078775406, 0.0008531416533514857, -0.00011381928925402462, 0.0465310700237751, -0.06927615404129028, -0.04108220711350441, 0.020863614976406097, 0.01705436408519745, -0.010110068134963512, 0.008203077130019665, -0.02767179161310196, 0.046060435473918915, -0.0455298125743866, -0.057316239923238754, 0.06490135937929153, 0.043772369623184204, 0.012614920735359192, 0.032717231661081314, -0.0008951447671279311, -0.00033361255191266537, 0.025104252621531487, 0.014276457950472832, -0.0035175152588635683, -0.042070236057043076, 0.0036546068731695414, -0.012420080602169037, 0.04181466996669769, -0.06391575932502747, 0.052605487406253815, -0.018432658165693283, -0.02319849468767643, 0.018776938319206238, -0.007985287345945835, 0.04603061452507973, 0.033773183822631836, 0.008054458536207676, -0.05108432471752167, 0.011470180936157703, 0.007996123284101486, 0.07539260387420654, 0.05920211598277092, 0.005703517235815525, 0.08749735355377197, 0.003280051052570343, 0.03414476662874222, 0.044027023017406464, 0.03186313807964325, -0.024275796487927437, 0.019112244248390198, 0.07069035619497299, -0.0021384062711149454, -0.015337526798248291, 0.05457451194524765, -0.054027557373046875, 0.03667259216308594, -0.04610998183488846, 0.010066810064017773, -0.028959762305021286, -0.02030051499605179, 0.053295284509658813, 0.004824353381991386, 0.001847520237788558, 0.0015144216595217586, -0.015045290812849998, -0.01176778320223093, 0.0209268257021904, -0.012636859901249409, -0.015226077288389206, -0.032508473843336105, -0.026716409251093864, -0.0031611707527190447, -0.0736420527100563, -0.03200872614979744, -0.017584046348929405, -0.04423461854457855, -0.0050904396921396255, -0.10456159710884094, -0.027774663642048836, -0.03917490318417549, -0.010365133173763752, 0.024415085092186928, 0.027908599004149437, 0.03580889105796814, -0.02574950084090233, 0.018329354003071785, -0.040777456015348434, -0.006727488711476326, -0.06278035044670105, -0.0452914834022522, -0.005121784284710884, -0.06509310007095337, 0.0415555015206337, 0.032662373036146164, 0.04377611353993416, 0.016471650451421738, -0.004910833202302456, 0.0025373296812176704, -0.03722960129380226, 0.009047400206327438, 0.03610413521528244, -0.04014613851904869, -0.07593342661857605, 0.017192509025335312, 0.02188415639102459, 0.003477041842415929, -0.02436780370771885, -0.03764328733086586, 0.04436326026916504, 0.07457919418811798, 0.037657056003808975, 0.02581523358821869, -0.001025503734126687, -0.041939638555049896, -0.03783189877867699, -0.02795523591339588, -0.06467651575803757, -0.014372587203979492, -0.0272367000579834, -0.027997728437185287, -0.029347244650125504, -0.027605237439274788, 0.004532015882432461, -0.016926409676671028, -0.014843935146927834, 0.012217146344482899, 0.029391994699835777, 0.017665576189756393, 0.03534368425607681, -0.028226833790540695, -0.04159707948565483, 0.05774325504899025, -0.004651716444641352, 0.002642917912453413, -0.07004256546497345, -0.04521071910858154, 0.03349550440907478, 0.033239301294088364, -0.00039873417699709535, -0.016101697459816933, 0.10897612571716309, 0.03222358226776123, -0.02233339473605156, -0.003966874908655882, -0.018484508618712425, -0.01854896731674671, -0.028821095824241638, -0.0038579029496759176, -0.029695842415094376, -0.04818039759993553, -0.021259671077132225, 0.0006542730843648314, 0.051717713475227356, -0.07077886909246445, -0.0463404580950737, -0.006583422888070345, 0.04624258726835251, 0.018406346440315247, -0.016373388469219208, -0.028852583840489388, -0.007114759646356106, -0.04360803961753845, -0.015717260539531708, -0.018625542521476746, 0.014352807775139809, 0.04732043296098709, 0.05642257630825043, 0.007322072982788086, -0.022807247936725616, 0.03450275957584381, 0.03247763589024544, 0.07136599719524384, 0.026306333020329475, -0.03343667462468147, 0.02900034375488758, -0.03517827019095421, 0.0031073775608092546, 0.010460498742759228, -0.011628000997006893, -0.04958018288016319, -0.05784532427787781, -0.02508811093866825, 0.008561219088733196, -0.00942079909145832, -0.04123467579483986, 0.012366434559226036, -0.012783345766365528, 0.007982917129993439, 0.002353064715862274, 0.007358446717262268, 0.043885502964258194, -0.0439804345369339, 0.04083746299147606, 0.03298613056540489, 0.049882110208272934, -0.04527813941240311, 0.015606717206537724, -0.03117954730987549, -0.013150527141988277, 0.0009359389659948647, 0.07007810473442078, 0.02444278635084629, 0.00802807230502367, 0.08049190044403076, 0.023008348420262337, -0.02670213021337986, 0.03008565492928028, 0.0441770926117897, -0.015672503039240837, -0.05367659404873848, 0.00043135855230502784, -0.030134836211800575, -0.05072738230228424, -0.009651685133576393, -0.03674297034740448, 0.03786636143922806, 0.05328444018959999, -0.029188791289925575, 0.0022066172678023577, -0.0010565543780103326, 0.005136763211339712, -0.031093303114175797, -0.07541903853416443, -0.027308162301778793, 0.007265291176736355, -0.03817058354616165, 0.03837813436985016, 0.022225840017199516, 0.010444357991218567, 0.06217259168624878, 0.06013665348291397, -0.03130856528878212, -0.05213296040892601, 0.0284429881721735, 0.004565370734781027, -0.05282484367489815, -0.06375786662101746, -0.016717491671442986, 0.029210781678557396, 0.032889366149902344, -0.014873316511511803, -0.0789264515042305, -0.018015697598457336, 0.0546894371509552, -0.02973596751689911, 0.03515773266553879, -0.016745297238230705, 0.03556360304355621, 0.06224111467599869, -0.01803739182651043, 0.024031775072216988, -0.011414386332035065, 0.000408443360356614, -0.0030407493468374014, 0.019013429060578346, -0.003244449384510517, -0.01600472629070282, -0.05207743123173714, -0.013980792835354805, 0.04209968447685242, 0.01528655830770731, 0.026458678767085075, -0.00972539559006691, -0.026115911081433296, -0.00044071534648537636, 0.022244902327656746, -0.02446378953754902, 0.018299005925655365, 0.030704373493790627, 0.023265037685632706, -0.035585273057222366, -0.01781795173883438, -0.0008336281171068549, 0.015291460789740086, 0.02168424054980278, -0.00870070792734623, -0.04859878495335579, -0.037610795348882675, -0.0056954943574965, -0.017289455980062485, -0.02139976993203163, -0.07623468339443207, 0.018811501562595367, -0.00027670696727000177, -0.003668746445327997, 0.03656129166483879, 0.016047954559326172, 0.058139413595199585, 0.054463941603899, -0.003984510432928801, 0.0006265151314437389, -0.05246054381132126, 0.04912187159061432, -0.008003192953765392, -0.035987488925457, -0.03466599062085152, -0.029294468462467194, -0.03962153568863869, -0.034688372164964676, -0.03875834122300148, -0.056609850376844406, -0.006524030584841967, 0.033619225025177, -0.04213594272732735, -0.0008842980023473501, -0.016676118597388268, 0.030820760875940323, -0.024391653016209602, -0.02231551706790924, -0.0331653468310833, -0.028797011822462082, -0.06841974705457687, -0.04389201104640961, 0.025623882189393044, -0.01182900182902813, 0.019141240045428276, 0.023122020065784454, 0.02427995763719082, 0.012163753621280193, 0.02294297143816948, -0.029210101813077927, 0.006249819416552782, 0.002465409692376852, -0.04973289743065834, -0.03706342354416847, 0.015893500298261642, 0.030293097719550133, 0.041503213346004486, -0.032024629414081573, 0.03304150328040123, 0.04396304488182068, -0.028328565880656242, -0.010153752751648426, 0.02340361475944519, 0.007317899260669947, -0.06325577944517136, -0.04481500759720802, -0.009530995972454548, -0.04218986630439758, 0.027401508763432503, -0.009953559376299381, 0.00541375856846571, 0.03513745591044426, 0.02729080803692341, 0.05249570310115814, -0.016932111233472824, -0.027020342648029327, 0.06111806631088257, -0.025075849145650864, 0.009367972612380981, -0.050059232860803604, 0.02693045698106289, -0.044564854353666306, 0.02555418573319912, -0.010858237743377686, 0.00465385289862752, -0.053023941814899445, 0.04352759197354317, -0.025540653616189957, 0.005128828343003988, -0.025769704952836037, 0.024493902921676636, -0.02731996774673462, 0.010928687639534473, -0.03966658189892769, -0.011534147895872593, -0.03522087261080742, 0.019552340731024742, -0.02138868160545826, 0.0029756869189441204, -0.020550085231661797, -0.018992165103554726, -0.037812717258930206, -0.026488248258829117, -0.028594039380550385, -0.04122036695480347, 0.04627332091331482, 0.04441704601049423, 0.04805385693907738, 0.03284505382180214, -0.019470566883683205, 0.007778200786560774, 0.0012615305604413152, -0.052122294902801514, -0.010643478482961655, 0.018446184694767, 0.045202143490314484, 0.029692471027374268, 0.0253002867102623, 0.035155732184648514, -0.05994727835059166, -0.0700458362698555, 0.04353829100728035, 0.05475926771759987, 0.00898362509906292, 0.007137732580304146, 0.057601965963840485, 0.04353707656264305, 0.047313474118709564, -0.031265776604413986, -0.016604438424110413, -0.03655267134308815, -0.051581837236881256, 0.023769348859786987, -0.014420829713344574, 0.011795101687312126, 0.016963955014944077, -0.03774293139576912, -0.04900044947862625, 0.06914129108190536, 0.020979393273591995, -0.00238645332865417, 0.006569449324160814, -0.047506120055913925, 0.032142993062734604, -0.01834372617304325, -0.0420927070081234, 0.000948881555814296, 0.002181573770940304, -0.0535556860268116, 0.06941646337509155, -0.0053884065710008144, 0.04753805324435234, 0.038308996707201004, 0.022091850638389587, -0.02014087326824665, 0.03236660733819008, -0.03239697962999344, 0.01608916185796261, 0.02817390114068985, -0.07545219361782074, -0.029715677723288536, -0.03029906563460827, 0.06318201124668121, -0.04987242445349693, 0.020994897931814194, 0.04675690084695816, -0.0014827644918113947, 0.026666101068258286, -0.05218783766031265, -0.028383243829011917, 0.028477314859628677, -0.04788300767540932, 0.05202631279826164, -0.013352576643228531, -0.06571142375469208, 0.06294604390859604, 0.05318613350391388, -0.09588416665792465, 0.036964647471904755, 0.03233470022678375, 0.02310437336564064, 0.007826166227459908, 0.045540474355220795, -0.038386378437280655, -0.004240589682012796, -0.04952729493379593, 0.01647312380373478, -0.06546963006258011, -0.005909709259867668, 0.025345582515001297, -0.043447885662317276, -0.019737783819437027, 0.04102340340614319, -0.004313413519412279, -0.003851877525448799, 0.03253411874175072, -0.06951701641082764, -0.030923062935471535, -0.02923857606947422, 0.0578409768640995, -0.05401826649904251, 0.0030499997083097696, -0.041078709065914154, 0.005582829006016254, 0.017723804339766502, -0.0032675794791430235, -0.006282827351242304, -0.015603860840201378, 0.012326722033321857, -0.040677759796381, -0.015004295855760574, 0.033322352916002274, 0.010383601300418377, -0.020087378099560738, 0.05699339509010315, 0.003314595902338624, 0.02329345978796482, 0.03213530406355858, 0.0110557209700346, 0.05782373622059822, -0.07161314785480499, -0.025955041870474815, -0.007207010872662067, 0.012051638215780258, 0.0064722029492259026, -0.011484546586871147, 0.03263118863105774, 0.06471315026283264, 0.0032603899016976357, 0.010009543970227242, -0.03955153003334999, -0.04330611601471901, 0.0044284057803452015, -0.027710309252142906, 0.03292214125394821, 0.010545819997787476, -0.04572445899248123, -0.02162071317434311, -0.02119990810751915, -0.010416326113045216, 0.04031437262892723, -0.07552642375230789, -0.01782556250691414, 0.028502920642495155, -0.0031642885878682137, -0.03536488488316536, -0.06753690540790558, -0.05333995446562767, -0.0409296452999115, 0.027270641177892685, 0.023996585980057716, -0.04242078959941864, 0.018649620935320854, -0.01773983985185623, -0.050270963460206985, 0.019208023324608803, 0.017534740269184113, -0.04772050678730011, 0.04788080230355263, 0.03922296315431595, -0.06856179237365723, 0.01520639006048441, 0.0445847325026989, -0.02403728850185871, 0.05125109851360321, 0.016120724380016327, 0.0032874089665710926, 0.019120411947369576, 0.039146844297647476, -0.03389605134725571, -0.012501339428126812, -0.06810159981250763, -0.03012208826839924, -0.03881361335515976, -0.011513412930071354, 0.036704085767269135 ]
AnonymousSub/SR_SDR_HF_model_base
[ "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
null
--- language: "ca" tags: - masked-lm - catalan - exbert license: mit --- # Calbert: a Catalan Language Model ## Introduction CALBERT is an open-source language model for Catalan pretrained on the ALBERT architecture. It is now available on Hugging Face in its `tiny-uncased` version and `base-uncased` (the one you're looking at) as well, and was pretrained on the [OSCAR dataset](https://traces1.inria.fr/oscar/). For further information or requests, please go to the [GitHub repository](https://github.com/codegram/calbert) ## Pre-trained models | Model | Arch. | Training data | | ----------------------------------- | -------------- | ---------------------- | | `codegram` / `calbert-tiny-uncased` | Tiny (uncased) | OSCAR (4.3 GB of text) | | `codegram` / `calbert-base-uncased` | Base (uncased) | OSCAR (4.3 GB of text) | ## How to use Calbert with HuggingFace #### Load Calbert and its tokenizer: ```python from transformers import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("codegram/calbert-base-uncased") model = AutoModel.from_pretrained("codegram/calbert-base-uncased") model.eval() # disable dropout (or leave in train mode to finetune ``` #### Filling masks using pipeline ```python from transformers import pipeline calbert_fill_mask = pipeline("fill-mask", model="codegram/calbert-base-uncased", tokenizer="codegram/calbert-base-uncased") results = calbert_fill_mask("M'agrada [MASK] això") # results # [{'sequence': "[CLS] m'agrada molt aixo[SEP]", 'score': 0.614592969417572, 'token': 61}, # {'sequence': "[CLS] m'agrada moltíssim aixo[SEP]", 'score': 0.06058056280016899, 'token': 4867}, # {'sequence': "[CLS] m'agrada més aixo[SEP]", 'score': 0.017195818945765495, 'token': 43}, # {'sequence': "[CLS] m'agrada llegir aixo[SEP]", 'score': 0.016321714967489243, 'token': 684}, # {'sequence': "[CLS] m'agrada escriure aixo[SEP]", 'score': 0.012185849249362946, 'token': 1306}] ``` #### Extract contextual embedding features from Calbert output ```python import torch # Tokenize in sub-words with SentencePiece tokenized_sentence = tokenizer.tokenize("M'és una mica igual") # ['▁m', "'", 'es', '▁una', '▁mica', '▁igual'] # 1-hot encode and add special starting and end tokens encoded_sentence = tokenizer.encode(tokenized_sentence) # [2, 109, 7, 71, 36, 371, 1103, 3] # NB: Can be done in one step : tokenize.encode("M'és una mica igual") # Feed tokens to Calbert as a torch tensor (batch dim 1) encoded_sentence = torch.tensor(encoded_sentence).unsqueeze(0) embeddings, _ = model(encoded_sentence) embeddings.size() # torch.Size([1, 8, 768]) embeddings.detach() # tensor([[[-0.0261, 0.1166, -0.1075, ..., -0.0368, 0.0193, 0.0017], # [ 0.1289, -0.2252, 0.9881, ..., -0.1353, 0.3534, 0.0734], # [-0.0328, -1.2364, 0.9466, ..., 0.3455, 0.7010, -0.2085], # ..., # [ 0.0397, -1.0228, -0.2239, ..., 0.2932, 0.1248, 0.0813], # [-0.0261, 0.1165, -0.1074, ..., -0.0368, 0.0193, 0.0017], # [-0.1934, -0.2357, -0.2554, ..., 0.1831, 0.6085, 0.1421]]]) ``` ## Authors CALBERT was trained and evaluated by [Txus Bach](https://twitter.com/txustice), as part of [Codegram](https://www.codegram.com)'s applied research. <a href="https://huggingface.co/exbert/?model=codegram/calbert-base-uncased&modelKind=bidirectional&sentence=M%27agradaria%20força%20saber-ne%20més"> <img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png"> </a>
[ -0.020261919125914574, -0.004388103261590004, -0.008977018296718597, 0.054116714745759964, 0.038838379085063934, 0.016855210065841675, -0.05507390946149826, -0.016573188826441765, -0.016976019367575645, 0.0642920657992363, -0.01137654110789299, -0.03562365472316742, 0.0033527796622365713, 0.038429535925388336, -0.0033668901305645704, 0.015066319145262241, -0.022218283265829086, -0.015139967203140259, -0.031867947429418564, -0.00885638128966093, -0.003633670276030898, -0.014200568199157715, -0.015598260797560215, 0.01587798073887825, 0.017204059287905693, 0.03038674406707287, -0.0014926643343642354, 0.04718581959605217, 0.04761438071727753, -0.07847078889608383, -0.006493948400020599, -0.025512754917144775, -0.02656034752726555, -0.0070730396546423435, -0.030507152900099754, 0.006188070401549339, 0.015285983681678772, 0.01856856606900692, 0.023921065032482147, 0.04180330038070679, -0.004224108997732401, 0.0019950903952121735, -0.006873229518532753, -0.006308593321591616, 0.036225829273462296, 0.011621871031820774, -0.056047290563583374, -0.012838690541684628, 0.029773157089948654, -0.02118394337594509, -0.044117849320173264, -0.06042482703924179, -0.048685722053050995, 0.03747687116265297, 0.011003484018146992, -0.016283882781863213, -0.0574350468814373, 0.006585175171494484, 0.0940374806523323, -0.034931086003780365, -0.04708142578601837, 0.012895673513412476, -0.05912414938211441, 0.026031047105789185, 0.04876496270298958, -0.012409289367496967, 0.023877350613474846, -0.031902018934488297, 0.021742919459939003, -0.015140595845878124, 0.0362987257540226, -0.04582386091351509, 0.009720703586935997, -0.08447309583425522, -0.0013637937372550368, -0.014880586415529251, 0.06285853683948517, 0.04188604652881622, -0.01856425777077675, 0.05354414880275726, 0.02282446250319481, 0.005507596302777529, 0.015546332113444805, -0.028502989560365677, -0.008663072250783443, 0.05394364893436432, -0.04472031816840172, 0.0014599383575841784, 0.005169849377125502, 0.027910705655813217, -0.03246275335550308, -0.025609947741031647, -0.042351920157670975, -0.028806254267692566, -0.004548062104731798, 0.04092475399374962, 0.0532599575817585, -0.012766527011990547, 0.06639586389064789, 0.035522039979696274, 0.02388894185423851, 0.04259449243545532, -0.01351743470877409, 0.0493541844189167, -0.01585153304040432, -0.017449723556637764, -0.01980702206492424, -0.027298133820295334, -0.041420310735702515, 0.0338224321603775, 0.048565950244665146, -0.026280827820301056, -0.05245213210582733, 0.057362668216228485, -0.012965375557541847, -0.033711813390254974, 0.0610848069190979, -0.02540094219148159, -0.04064824432134628, -0.05868794769048691, 0.024150319397449493, -0.001803395338356495, -0.034982357174158096, -0.002883734880015254, -0.0672655999660492, 0.008132506161928177, -0.0343451090157032, -0.016603466123342514, -0.005279300734400749, 0.017852310091257095, 0.00437841285020113, 0.033910494297742844, 0.004669100511819124, -0.04996834695339203, 0.015334640629589558, 0.030880333855748177, -0.06166248396039009, 0.03324244171380997, 0.013024279847741127, 0.13489283621311188, -0.055063530802726746, -0.019289856776595116, 0.006593331694602966, 0.01160590909421444, -0.02895735763013363, -0.027756541967391968, 0.01913265325129032, -0.013860980048775673, -0.018636589869856834, 0.003678287146613002, 0.042023174464702606, -0.06676732748746872, 0.007382234558463097, 0.06217360496520996, 0.001534403651021421, 0.03942571207880974, -0.06407859921455383, 0.002800581743940711, -0.006873288191854954, -0.008361170999705791, -0.03251674398779869, 0.029668068513274193, 0.009242028929293156, -0.04008691385388374, -0.02974497526884079, -0.0549100823700428, -0.00019275984959676862, 0.07523010671138763, 0.004586125258356333, -0.021761538460850716, -0.01566884107887745, 0.02103707566857338, 0.029571864753961563, 0.032388731837272644, -0.029296796768903732, 0.02313314937055111, 0.059029072523117065, 0.030259883031249046, -0.018860794603824615, 0.05127347260713577, -0.0141505291685462, -0.035642269998788834, -0.031953390687704086, 0.02036239393055439, 0.001755952020175755, -0.03182993084192276, 0.05153416842222214, 0.026839809492230415, -0.005355499219149351, -0.009804446250200272, -0.022120453417301178, 0.025285981595516205, -0.002668598899617791, -0.020088551566004753, 0.0004022199718747288, -0.01160851027816534, -0.020906448364257812, 0.04805178567767143, -0.025831690058112144, 0.00895205419510603, -0.03482398763298988, -0.02253815159201622, 0.030613811686635017, 0.01591469533741474, 0.0465981550514698, 0.045175470411777496, -0.0104075837880373, 0.09271359443664551, -0.04153720661997795, 0.009975787252187729, -0.06935011595487595, -0.04646603763103485, 0.02099398523569107, 0.03154326602816582, 0.04160791262984276, 0.0302055012434721, -0.004376723896712065, -0.04402405768632889, 0.022287407889962196, 0.07895390689373016, 0.04859206825494766, 0.002732972614467144, -0.05474872514605522, -0.012641572393476963, 0.029039179906249046, 0.05952555313706398, -0.06566494703292847, -0.016416262835264206, 0.023078570142388344, 0.028966600075364113, -0.015334192663431168, 0.015051756985485554, -0.03517944738268852, 0.014324067160487175, -0.03308136388659477, -0.0763256773352623, 0.06307794153690338, 0.0378134548664093, 0.011216681450605392, 0.025989986956119537, -0.031120598316192627, -0.009028198197484016, 0.005030492320656776, -0.0019519501365721226, -0.01828284189105034, -0.05112708732485771, 0.01364485826343298, 0.015621050260961056, 0.07082090526819229, -0.05208209156990051, 0.03827856108546257, 0.010625847615301609, 0.020527832210063934, 0.03139500319957733, -0.010883498936891556, 0.04085449501872063, 0.03559602051973343, 0.018220674246549606, -0.038605231791734695, 0.03300270810723305, 0.0047441693022847176, 0.04839518293738365, 0.03724358230829239, 0.005324087105691433, 0.05115554854273796, -0.017926108092069626, 0.04265661537647247, 0.060967255383729935, 0.014292982406914234, 0.007232490461319685, -0.00004390011235955171, 0.06308493763208389, -0.004572616890072823, -0.02506023459136486, 0.06741894036531448, -0.034703079611063004, 0.007312295958399773, -0.03641682118177414, 0.001831375528126955, -0.009932495653629303, -0.009380551055073738, 0.02042556181550026, -0.010474258102476597, -0.012167992070317268, -0.01337368879467249, 0.0040697441436350346, -0.004774564411491156, 0.0796494111418724, -0.0019263606518507004, -0.017123010009527206, -0.005481936037540436, -0.022796275094151497, 0.013273772783577442, -0.04781000316143036, -0.05342671647667885, -0.012496518902480602, -0.03803849220275879, -0.0070617045275866985, -0.0787384882569313, -0.04545722156763077, -0.0868985578417778, -0.005680959206074476, 0.00047232542419806123, 0.016318852081894875, -0.011157896369695663, -0.04518962651491165, 0.014890081249177456, -0.04006463661789894, -0.03513867408037186, -0.03525342419743538, -0.052563153207302094, -0.019624939188361168, -0.07369061559438705, 0.021836889907717705, 0.01919429562985897, 0.01733754575252533, -0.0070436205714941025, -0.015283173881471157, -0.026056131348013878, -0.009800557978451252, 0.052037160843610764, 0.05754712224006653, -0.012413466349244118, -0.07379373908042908, -0.010278777219355106, -0.0009203233639709651, -0.008526567369699478, -0.009439701214432716, -0.03583379462361336, 0.09783972799777985, 0.0796377956867218, 0.034523773938417435, 0.019215205684304237, -0.025896336883306503, -0.05058876425027847, -0.05572684481739998, -0.01104568038135767, -0.03797156363725662, 0.0036909934133291245, -0.02273012325167656, -0.04695579409599304, -0.015109783969819546, -0.022445129230618477, 0.008210869506001472, -0.025791950523853302, 0.009107634425163269, 0.017318204045295715, 0.03998258709907532, 0.04583732783794403, 0.04695377126336098, -0.029071392491459846, -0.061755888164043427, 0.07827724516391754, 0.01600240170955658, -0.0037728233728557825, -0.051245737820863724, -0.038498230278491974, 0.04249860718846321, 0.04147619381546974, -0.018686415627598763, -0.01084952987730503, 0.08373675495386124, 0.0137322461232543, -0.009334920905530453, 0.011424791067838669, 0.00429120846092701, -0.015150051563978195, -0.02783784456551075, -0.003788132918998599, -0.031794413924217224, -0.04828433319926262, -0.02596277743577957, 0.015395871363580227, 0.04405898228287697, -0.07456620782613754, -0.05262523144483566, -0.03797132894396782, 0.019312459975481033, 0.0034373418893665075, 0.004120160825550556, -0.06366903334856033, 0.010419967584311962, -0.06034436076879501, -0.004241551738232374, -0.0016199728706851602, -0.022543299943208694, 0.03299470245838165, 0.04394307732582092, 0.017804617062211037, -0.025940759107470512, 0.013098027557134628, 0.03331710398197174, 0.05586739256978035, 0.009468854404985905, -0.06217107176780701, 0.01722465455532074, -0.021761588752269745, -0.007906164042651653, -0.004613406024873257, -0.03835813328623772, -0.056003257632255554, -0.08030752837657928, -0.023289838805794716, -0.007400233764201403, -0.0017573408549651504, -0.019609276205301285, 0.046899501234292984, -0.016650082543492317, -0.014089561998844147, 0.0017837652703747153, -0.0014062452828511596, 0.045771047472953796, -0.05755944177508354, 0.09110728651285172, 0.010791626758873463, 0.011762772686779499, -0.03601082041859627, 0.030830908566713333, -0.04421930015087128, -0.015069437213242054, -0.021025121212005615, 0.04803983494639397, 0.03519763797521591, 0.0643172562122345, 0.05277705192565918, 0.046677105128765106, -0.04747329652309418, 0.05248311161994934, 0.0351124070584774, -0.017354218289256096, -0.03608012944459915, -0.009184801019728184, -0.008520089089870453, -0.030437583103775978, -0.0059607732109725475, 0.006532179191708565, 0.016421737149357796, 0.036258514970541, 0.022595034912228584, 0.001171627314761281, 0.01309491228312254, -0.022588862106204033, -0.028692519292235374, -0.07022378593683243, -0.020801624283194542, 0.00215657870285213, -0.04371725022792816, 0.037425585091114044, 0.04372460022568703, 0.02218339778482914, 0.05542860925197601, 0.03605831041932106, 0.005924363620579243, -0.030707741156220436, 0.039369236677885056, 0.013699596747756004, -0.005975482054054737, -0.06981321424245834, -0.0565163716673851, 0.02701123058795929, 0.042621489614248276, 0.02209026739001274, -0.049531884491443634, -0.002139690099284053, 0.03535313904285431, -0.049474287778139114, 0.06310544162988663, -0.02581702172756195, 0.06326642632484436, 0.05286732688546181, -0.01300903782248497, 0.04091523960232735, -0.02631327137351036, -0.000767940073274076, 0.0011775343446061015, 0.009699729271233082, -0.03477318584918976, -0.04002278670668602, -0.06616974622011185, 0.025618767365813255, 0.031836219131946564, 0.02855631895363331, 0.03814452141523361, -0.04528380185365677, -0.03259863704442978, 0.012059057131409645, 0.04519670084118843, -0.0346980020403862, 0.009810826741158962, 0.03935537114739418, 0.05513656511902809, -0.04810129851102829, -0.015233929269015789, -0.02626848593354225, -0.007441284600645304, 0.041927315294742584, 0.025459183380007744, -0.026720834895968437, -0.06581971049308777, 0.0037923564668744802, -0.029144268482923508, -0.038962822407484055, -0.06401754915714264, 0.016400905326008797, -0.019211620092391968, -0.019773634150624275, 0.029620550572872162, 0.04172053933143616, 0.01702633872628212, 0.04362199828028679, 0.003136466722935438, -0.019373519346117973, -0.029074599966406822, 0.029723159968852997, -0.014355100691318512, -0.02688448131084442, -0.015603974461555481, -0.05367278307676315, -0.007067706435918808, -0.0227764081209898, -0.03237636014819145, -0.049702007323503494, -0.0045666624791920185, 0.04004328325390816, -0.0067132399417459965, 0.00736724678426981, -0.03939468413591385, 0.02957843989133835, -0.024904640391469002, -0.03140614181756973, -0.03727934882044792, -0.01017681509256363, -0.0653279647231102, -0.06331746280193329, -0.00224433746188879, 0.0034187985584139824, 0.026611896231770515, -0.002119988901540637, 0.021050406619906425, 0.01285912748426199, 0.011567576788365841, -0.040188416838645935, 0.01435395423322916, 0.017746543511748314, -0.04235634580254555, -0.0230192132294178, 0.028773829340934753, 0.032731812447309494, 0.05901673063635826, -0.040875788778066635, 0.029001735150814056, 0.011023608967661858, -0.017437441274523735, -0.026166876778006554, 0.01802702434360981, 0.009691429324448109, -0.06652069836854935, -0.030274074524641037, -0.02711574174463749, -0.02922520786523819, 0.04073544964194298, -0.037145160138607025, -0.01904948242008686, 0.029297010973095894, 0.031179631128907204, 0.05144135281443596, -0.02831214852631092, 0.004441934172064066, -0.0005748208495788276, -0.04353022947907448, 0.009958476759493351, -0.059108927845954895, 0.04711465910077095, -0.055446505546569824, 0.018603233620524406, -0.015150745399296284, 0.0018978433217853308, -0.047200758010149, 0.029589220881462097, -0.008182302117347717, -0.02835855819284916, 0.004194877576082945, 0.03267034515738487, -0.013847796246409416, 0.03365905210375786, -0.034289903938770294, 0.02370293438434601, -0.03363215550780296, 0.05616482347249985, -0.06456597149372101, 0.010667274706065655, -0.025585081428289413, 0.006059964187443256, -0.04124259948730469, -0.025809066370129585, 0.0009518129518255591, -0.038686200976371765, 0.03671662136912346, 0.03151616454124451, 0.03959892317652702, 0.00625108415260911, -0.035239510238170624, 0.0018281902885064483, 0.0004017953178845346, -0.07816402614116669, -0.03974168002605438, -0.007209019735455513, 0.01750829815864563, 0.01927490346133709, 0.06704367697238922, 0.03561318293213844, -0.05623437464237213, -0.06289655715227127, 0.06410158425569534, 0.01665087603032589, -0.012000797316432, -0.011566750705242157, 0.04571260139346123, 0.023816267028450966, 0.05523162707686424, -0.0166585985571146, 0.0030000784900039434, 0.004877613857388496, -0.02081768400967121, 0.011973707936704159, -0.012361983768641949, 0.029053358361124992, 0.021381791681051254, -0.018861820921301842, -0.061415400356054306, 0.08569960296154022, 0.030951954424381256, 0.028268205001950264, -0.007676748558878899, -0.026416322216391563, 0.000979313044808805, 0.011069846339523792, -0.03865840658545494, 0.004468302242457867, -0.0027939926367253065, -0.03659473732113838, 0.0639772117137909, -0.024487590417265892, 0.025396348908543587, 0.029879119247198105, 0.01847974583506584, -0.018920427188277245, 0.04664492607116699, -0.041453972458839417, 0.022118033841252327, 0.035679154098033905, -0.03089950792491436, -0.009444208815693855, -0.034408655017614365, 0.06686467677354813, -0.07359227538108826, 0.07050010561943054, 0.046558868139982224, 0.013715184293687344, 0.03201760724186897, -0.04880022257566452, -0.018674811348319054, 0.020923679694533348, -0.06493297964334488, 0.07919806241989136, 0.0003303902631159872, -0.07094976305961609, 0.06700873374938965, 0.04180283099412918, -0.062137577682733536, 0.021871043369174004, 0.03657861426472664, 0.01662178710103035, 0.006760746240615845, 0.028550101444125175, -0.052174199372529984, 0.0010919829364866018, -0.04151102155447006, 0.0259865652769804, -0.03596772253513336, -0.026322580873966217, 0.017095452174544334, -0.05789187178015709, -0.01600531116127968, 0.027994664385914803, -0.009842650964856148, -0.00599485170096159, 0.026043705642223358, -0.0767684206366539, -0.045728232711553574, -0.018804825842380524, 0.0002303073852090165, -0.02350042015314102, -0.000439561961684376, -0.015881173312664032, 0.0009562213672325015, 0.009419955313205719, -0.007160965818911791, -0.05637939274311066, -0.0180656835436821, 0.02169550582766533, -0.037360310554504395, -0.044416770339012146, 0.051010679453611374, 0.0009359366376884282, -0.026781093329191208, 0.02553984895348549, -0.010476048104465008, 0.017321432009339333, 0.017543798312544823, -0.0017867631977424026, 0.002132286550477147, -0.009608444757759571, -0.0248955599963665, 0.01886114664375782, 0.0205060001462698, 0.01594754494726658, -0.0029650286305695772, 0.017799150198698044, 0.04086068645119667, 0.04362282156944275, -0.009553219191730022, -0.04751788079738617, -0.030919140204787254, 0.01599259488284588, -0.03203428164124489, 0.021936262026429176, 0.005941831972450018, -0.04032794013619423, -0.043300408869981766, 0.010807966813445091, -0.0038993635680526495, 0.04004263877868652, -0.03227480500936508, 0.003446312854066491, 0.03405075892806053, -0.02537527307868004, -0.022951418533921242, -0.10509897023439407, -0.017922865226864815, -0.05013967305421829, 0.0025619075167924166, 0.05231543630361557, -0.055743418633937836, 0.01846124604344368, -0.04383805766701698, -0.03697940707206726, 0.061851248145103455, 0.03047795780003071, -0.06660041958093643, 0.0568263940513134, 0.05399347469210625, -0.06610209494829178, 0.004689161200076342, -0.001241051941178739, -0.04382053017616272, 0.025074686855077744, 0.022475045174360275, 0.0021385042928159237, 0.03535385802388191, 0.027456875890493393, -0.010200638324022293, -0.006522186566144228, -0.05719264969229698, -0.05532773211598396, -0.03127974644303322, 0.008534778840839863, 0.07836896181106567 ]
AnonymousSub/SR_bert-base-uncased
[ "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: "ca" tags: - masked-lm - catalan - exbert license: mit --- # Calbert: a Catalan Language Model ## Introduction CALBERT is an open-source language model for Catalan pretrained on the ALBERT architecture. It is now available on Hugging Face in its `tiny-uncased` version (the one you're looking at) and `base-uncased` as well, and was pretrained on the [OSCAR dataset](https://traces1.inria.fr/oscar/). For further information or requests, please go to the [GitHub repository](https://github.com/codegram/calbert) ## Pre-trained models | Model | Arch. | Training data | | ----------------------------------- | -------------- | ---------------------- | | `codegram` / `calbert-tiny-uncased` | Tiny (uncased) | OSCAR (4.3 GB of text) | | `codegram` / `calbert-base-uncased` | Base (uncased) | OSCAR (4.3 GB of text) | ## How to use Calbert with HuggingFace #### Load Calbert and its tokenizer: ```python from transformers import AutoModel, AutoTokenizer tokenizer = AutoTokenizer.from_pretrained("codegram/calbert-tiny-uncased") model = AutoModel.from_pretrained("codegram/calbert-tiny-uncased") model.eval() # disable dropout (or leave in train mode to finetune ``` #### Filling masks using pipeline ```python from transformers import pipeline calbert_fill_mask = pipeline("fill-mask", model="codegram/calbert-tiny-uncased", tokenizer="codegram/calbert-tiny-uncased") results = calbert_fill_mask("M'agrada [MASK] això") # results # [{'sequence': "[CLS] m'agrada molt aixo[SEP]", 'score': 0.4403671622276306, 'token': 61}, # {'sequence': "[CLS] m'agrada més aixo[SEP]", 'score': 0.050061386078596115, 'token': 43}, # {'sequence': "[CLS] m'agrada veure aixo[SEP]", 'score': 0.026286985725164413, 'token': 157}, # {'sequence': "[CLS] m'agrada bastant aixo[SEP]", 'score': 0.022483550012111664, 'token': 2143}, # {'sequence': "[CLS] m'agrada moltíssim aixo[SEP]", 'score': 0.014491282403469086, 'token': 4867}] ``` #### Extract contextual embedding features from Calbert output ```python import torch # Tokenize in sub-words with SentencePiece tokenized_sentence = tokenizer.tokenize("M'és una mica igual") # ['▁m', "'", 'es', '▁una', '▁mica', '▁igual'] # 1-hot encode and add special starting and end tokens encoded_sentence = tokenizer.encode(tokenized_sentence) # [2, 109, 7, 71, 36, 371, 1103, 3] # NB: Can be done in one step : tokenize.encode("M'és una mica igual") # Feed tokens to Calbert as a torch tensor (batch dim 1) encoded_sentence = torch.tensor(encoded_sentence).unsqueeze(0) embeddings, _ = model(encoded_sentence) embeddings.size() # torch.Size([1, 8, 312]) embeddings.detach() # tensor([[[-0.2726, -0.9855, 0.9643, ..., 0.3511, 0.3499, -0.1984], # [-0.2824, -1.1693, -0.2365, ..., -3.1866, -0.9386, -1.3718], # [-2.3645, -2.2477, -1.6985, ..., -1.4606, -2.7294, 0.2495], # ..., # [ 0.8800, -0.0244, -3.0446, ..., 0.5148, -3.0903, 1.1879], # [ 1.1300, 0.2425, 0.2162, ..., -0.5722, -2.2004, 0.4045], # [ 0.4549, -0.2378, -0.2290, ..., -2.1247, -2.2769, -0.0820]]]) ``` ## Authors CALBERT was trained and evaluated by [Txus Bach](https://twitter.com/txustice), as part of [Codegram](https://www.codegram.com)'s applied research. <a href="https://huggingface.co/exbert/?model=codegram/calbert-tiny-uncased&modelKind=bidirectional&sentence=M%27agradaria%20força%20saber-ne%20més"> <img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png"> </a>
[ -0.020725196227431297, -0.004248461220413446, -0.007793853059411049, 0.05347356200218201, 0.0395960696041584, 0.018486814573407173, -0.05515886843204498, -0.01743515208363533, -0.01535842940211296, 0.06508583575487137, -0.010741393081843853, -0.03786983713507652, 0.006896212697029114, 0.04122955724596977, -0.0026396019384264946, 0.01632956974208355, -0.023209484294056892, -0.014073564670979977, -0.03474140539765358, -0.008668893948197365, -0.0043739150278270245, -0.014192062430083752, -0.013812743127346039, 0.014713604934513569, 0.018829133361577988, 0.03025823086500168, -0.00006506778299808502, 0.0461905412375927, 0.04803088307380676, -0.07525021582841873, -0.007466656155884266, -0.024965493008494377, -0.02533021755516529, -0.008518736809492111, -0.029481174424290657, 0.006842597387731075, 0.014244542457163334, 0.016353508457541466, 0.022996563464403152, 0.04090428724884987, -0.005617531482130289, 0.0033104189205914736, -0.007833854295313358, -0.005537663586437702, 0.03630272299051285, 0.010778490453958511, -0.0564441941678524, -0.012329942546784878, 0.03181670606136322, -0.02099033258855343, -0.04333195835351944, -0.06099192053079605, -0.04920218512415886, 0.03752586618065834, 0.00955910887569189, -0.01766902022063732, -0.05489850416779518, 0.004156570415943861, 0.09491859376430511, -0.03571341559290886, -0.04989271238446236, 0.012946957722306252, -0.060360025614500046, 0.02549787610769272, 0.04573914036154747, -0.012167705222964287, 0.023429950699210167, -0.03068837895989418, 0.021849073469638824, -0.015665747225284576, 0.03582502529025078, -0.046643052250146866, 0.011331786401569843, -0.08739148825407028, -0.00012843517470173538, -0.01649058610200882, 0.06327228993177414, 0.0366029255092144, -0.018844574689865112, 0.05373810976743698, 0.023664923384785652, 0.007103078067302704, 0.015259667299687862, -0.02861098386347294, -0.008034317754209042, 0.05548422783613205, -0.04272494092583656, 0.0024048727937042713, 0.003607860067859292, 0.028604375198483467, -0.03192950412631035, -0.025611290708184242, -0.04509976878762245, -0.03149603679776192, -0.0064706928096711636, 0.041923318058252335, 0.053348883986473083, -0.012569783255457878, 0.06757786870002747, 0.03501957654953003, 0.02456008829176426, 0.04531095176935196, -0.01585005596280098, 0.04987361282110214, -0.01665276475250721, -0.014898031018674374, -0.018118901178240776, -0.02893744222819805, -0.04315571486949921, 0.03490481898188591, 0.048354923725128174, -0.024009132757782936, -0.05062168464064598, 0.0573427677154541, -0.012628419324755669, -0.034227050840854645, 0.05988363176584244, -0.025557469576597214, -0.040368691086769104, -0.05870410054922104, 0.026331106200814247, -0.0014338541077449918, -0.031106218695640564, -0.001951826037839055, -0.06793010234832764, 0.007331546861678362, -0.03402373194694519, -0.014929989352822304, -0.003636480076238513, 0.019027795642614365, 0.006678701378405094, 0.03349955752491951, 0.0051751104183495045, -0.04908242076635361, 0.01591496728360653, 0.03287624567747116, -0.0589340515434742, 0.033150095492601395, 0.0136728435754776, 0.13486957550048828, -0.05468541011214256, -0.01902930624783039, 0.006002225913107395, 0.01275426521897316, -0.027688506990671158, -0.0268255565315485, 0.02010759711265564, -0.013125247322022915, -0.01969725638628006, 0.0040272935293614864, 0.04183989390730858, -0.06629770249128342, 0.009233486838638783, 0.0631982684135437, 0.001594753935933113, 0.03767579793930054, -0.06337796896696091, -0.00010830467363120988, -0.0062310160137712955, -0.00834609754383564, -0.034098315984010696, 0.029110075905919075, 0.008107687346637249, -0.040706973522901535, -0.029341241344809532, -0.053878460079431534, 0.003978554159402847, 0.07667912542819977, 0.002935354830697179, -0.020635448396205902, -0.014197885058820248, 0.022529372945427895, 0.0324595607817173, 0.032472334802150726, -0.02905568853020668, 0.02271351031959057, 0.06014304608106613, 0.02560187689960003, -0.020297687500715256, 0.052858348935842514, -0.013576303608715534, -0.0319695770740509, -0.03198568895459175, 0.02034197561442852, 0.00303748925216496, -0.029823007062077522, 0.052107635885477066, 0.027199482545256615, -0.005111228208988905, -0.011495641432702541, -0.021613650023937225, 0.024178743362426758, -0.004735017195343971, -0.02139248512685299, -0.0016398325096815825, -0.00649002380669117, -0.023096879944205284, 0.04543595761060715, -0.02738337405025959, 0.007721337955445051, -0.03584994003176689, -0.02088741958141327, 0.030529694631695747, 0.014893918298184872, 0.042842499911785126, 0.04792013764381409, -0.012201082892715931, 0.08949461579322815, -0.0414925292134285, 0.009590055793523788, -0.0683174580335617, -0.04590049758553505, 0.02008233778178692, 0.03181052207946777, 0.04151424765586853, 0.03151872754096985, -0.0030086699407547712, -0.043787192553281784, 0.021544018760323524, 0.0793403834104538, 0.05279264599084854, 0.0020353947766125202, -0.0539356991648674, -0.012040823698043823, 0.027845706790685654, 0.05945055931806564, -0.06822597980499268, -0.0181172676384449, 0.02285071089863777, 0.03183361142873764, -0.015008660964667797, 0.015218733809888363, -0.033780116587877274, 0.01577409729361534, -0.033941276371479034, -0.07390116900205612, 0.06272649019956589, 0.035082150250673294, 0.009954012930393219, 0.026804378256201744, -0.032498281449079514, -0.007597255986183882, 0.005046417471021414, -0.002237112959846854, -0.01814381778240204, -0.0498894639313221, 0.012830854393541813, 0.014659079723060131, 0.07012832909822464, -0.05128464102745056, 0.03774387016892433, 0.012769280932843685, 0.01927671954035759, 0.02865641564130783, -0.0128234988078475, 0.03892166540026665, 0.032039303332567215, 0.019016431644558907, -0.03758168965578079, 0.035193007439374924, 0.0036478564143180847, 0.05050395801663399, 0.03635258600115776, 0.005671006627380848, 0.05303235724568367, -0.020014692097902298, 0.04244816675782204, 0.06139087677001953, 0.010554460808634758, 0.00721188448369503, 0.0023891455493867397, 0.06375876814126968, -0.004250472877174616, -0.022795818746089935, 0.07157239317893982, -0.03464358672499657, 0.005742751061916351, -0.03589702025055885, 0.002402751473709941, -0.012714157812297344, -0.0104439165443182, 0.02388850413262844, -0.009317752905189991, -0.01167813315987587, -0.012490694411098957, 0.005245390348136425, -0.004790819715708494, 0.07965046912431717, -0.0015503468457609415, -0.017064061015844345, -0.0069320667535066605, -0.02576039545238018, 0.010879327543079853, -0.047855909913778305, -0.054409630596637726, -0.01484680362045765, -0.03974303975701332, -0.008051730692386627, -0.0800267681479454, -0.0445304811000824, -0.08742460608482361, -0.008023638278245926, 0.0018908486235886812, 0.015369502827525139, -0.008841120637953281, -0.043763261288404465, 0.014366671442985535, -0.04374314472079277, -0.0348355658352375, -0.03511171042919159, -0.05176971107721329, -0.018425866961479187, -0.07180164754390717, 0.018764587119221687, 0.019398711621761322, 0.017208628356456757, -0.007520186714828014, -0.014292328618466854, -0.022183341905474663, -0.013043826445937157, 0.05177942290902138, 0.05773882195353508, -0.013707175850868225, -0.0757838785648346, -0.011817090213298798, 0.002827900927513838, -0.007103425450623035, -0.009050303138792515, -0.03374423086643219, 0.09603452682495117, 0.07940183579921722, 0.03579435124993324, 0.020606813952326775, -0.02821234054863453, -0.051414091140031815, -0.05539581924676895, -0.015382193960249424, -0.037628743797540665, 0.0004122540121898055, -0.025278588756918907, -0.04810301214456558, -0.014866458252072334, -0.022498849779367447, 0.007288305088877678, -0.02682274952530861, 0.011554605327546597, 0.017161870375275612, 0.04199908301234245, 0.0470108836889267, 0.04746713116765022, -0.029223745688796043, -0.05669789016246796, 0.07632336020469666, 0.014002089388668537, -0.005609349347651005, -0.05371231585741043, -0.036319587379693985, 0.04109060764312744, 0.041849177330732346, -0.01704091578722, -0.010072284378111362, 0.08220299333333969, 0.013922041282057762, -0.009057052433490753, 0.011122507974505424, 0.003685415256768465, -0.014202299527823925, -0.031538356095552444, -0.005680951289832592, -0.029902152717113495, -0.04547826200723648, -0.026536308228969574, 0.013893957249820232, 0.04631159082055092, -0.0733545795083046, -0.052366044372320175, -0.035967838019132614, 0.01951940543949604, 0.003212098265066743, 0.004665323067456484, -0.0638606920838356, 0.008827741257846355, -0.06276566535234451, -0.004135823808610439, -0.002267631236463785, -0.02411024458706379, 0.03300029784440994, 0.042103588581085205, 0.017137112095952034, -0.0290761049836874, 0.012559053488075733, 0.03278077766299248, 0.054615989327430725, 0.008593198843300343, -0.06234468147158623, 0.016492057591676712, -0.022985700517892838, -0.008106108754873276, -0.004352164454758167, -0.0407230481505394, -0.054409127682447433, -0.08121326565742493, -0.019011981785297394, -0.009354804642498493, -0.0009946487843990326, -0.021670401096343994, 0.044311393052339554, -0.017055325210094452, -0.013011099770665169, 0.0009761687251739204, -0.0017014127224683762, 0.04555216059088707, -0.05467723682522774, 0.09256507456302643, 0.010042321868240833, 0.008338048122823238, -0.034517135471105576, 0.027228619903326035, -0.04465209320187569, -0.013093782588839531, -0.0205859262496233, 0.04853856936097145, 0.036104124039411545, 0.06264583021402359, 0.050183895975351334, 0.04649936035275459, -0.047717273235321045, 0.05298420041799545, 0.03784364089369774, -0.01716088317334652, -0.03741630166769028, -0.006997745484113693, -0.01333361305296421, -0.03464961796998978, -0.006882500369101763, 0.006961873732507229, 0.014704843983054161, 0.03738126531243324, 0.021728193387389183, -0.002155635040253401, 0.013645459897816181, -0.02229231409728527, -0.029395099729299545, -0.0680999755859375, -0.021466562524437904, 0.000794108840636909, -0.04488881304860115, 0.037249352782964706, 0.04381673410534859, 0.023577647283673286, 0.05700751394033432, 0.03887571394443512, 0.008910994976758957, -0.029619388282299042, 0.039158158004283905, 0.01394480187445879, -0.009529647417366505, -0.07041112333536148, -0.05928410589694977, 0.029100684449076653, 0.042975977063179016, 0.023588743060827255, -0.05087694898247719, -0.001411296078003943, 0.03439358249306679, -0.05069820582866669, 0.0615072138607502, -0.02875848114490509, 0.06292424350976944, 0.052383530884981155, -0.013126836158335209, 0.04122171550989151, -0.026233425363898277, -0.00401912909001112, 0.002467917278409004, 0.00962063018232584, -0.03249858319759369, -0.04097192734479904, -0.06859788298606873, 0.02244788222014904, 0.033363889902830124, 0.029487760737538338, 0.04220638796687126, -0.04579964652657509, -0.033256255090236664, 0.013463973067700863, 0.0451945960521698, -0.03291456028819084, 0.00892659928649664, 0.038414761424064636, 0.05486641824245453, -0.04848265275359154, -0.01379688922315836, -0.026036381721496582, -0.007771395146846771, 0.0403272770345211, 0.02622072398662567, -0.027905670925974846, -0.06513981521129608, 0.002942634979262948, -0.028932776302099228, -0.03988288342952728, -0.06151624768972397, 0.0172658059746027, -0.020258808508515358, -0.019909417256712914, 0.02717430703341961, 0.042951107025146484, 0.018772302195429802, 0.04345322772860527, 0.0010715661337599158, -0.01779826730489731, -0.029100146144628525, 0.0308174267411232, -0.01636415347456932, -0.026431238278746605, -0.015342437662184238, -0.051766712218523026, -0.00842421967536211, -0.022017305716872215, -0.03450121358036995, -0.04815876483917236, -0.00481438497081399, 0.04060830920934677, -0.008763241581618786, 0.005487093701958656, -0.03825519233942032, 0.029150215908885002, -0.02516440860927105, -0.029910728335380554, -0.0351422093808651, -0.010435119271278381, -0.0658591091632843, -0.06472084671258926, -0.003635931760072708, 0.002671390539035201, 0.028216466307640076, -0.003281884826719761, 0.023608317598700523, 0.012354529462754726, 0.008890215307474136, -0.04070472717285156, 0.013778784312307835, 0.01783089153468609, -0.04127778857946396, -0.02554669789969921, 0.026880858466029167, 0.032551832497119904, 0.058667104691267014, -0.03837582468986511, 0.03052292764186859, 0.010895601473748684, -0.014642542228102684, -0.025471679866313934, 0.018834885209798813, 0.011499023996293545, -0.06666675955057144, -0.02906140871345997, -0.02652890980243683, -0.029662899672985077, 0.03843435272574425, -0.03861622512340546, -0.01940072886645794, 0.02966020442545414, 0.031097237020730972, 0.0507979691028595, -0.028661595657467842, 0.003091690829023719, -0.004824719857424498, -0.04419558867812157, 0.008400702849030495, -0.05713793262839317, 0.049099814146757126, -0.05695977807044983, 0.021362824365496635, -0.015433304943144321, 0.0031581369694322348, -0.04846253618597984, 0.02735224738717079, -0.005261993035674095, -0.027620501816272736, 0.006732967682182789, 0.033089593052864075, -0.01402437873184681, 0.03265216946601868, -0.03399694710969925, 0.024679703637957573, -0.03415866196155548, 0.05677616223692894, -0.0657481774687767, 0.01060926541686058, -0.023987332358956337, 0.00403255270794034, -0.037298962473869324, -0.02832625061273575, 0.0010870342375710607, -0.03955690935254097, 0.03720782324671745, 0.03280599042773247, 0.0393228717148304, 0.006281478796154261, -0.03535468131303787, 0.002193426713347435, -0.0009291523019783199, -0.08022218197584152, -0.03776274621486664, -0.008512243628501892, 0.018218183889985085, 0.020049380138516426, 0.06747570633888245, 0.038428179919719696, -0.055508702993392944, -0.060301799327135086, 0.06415800750255585, 0.01918146014213562, -0.011576971970498562, -0.009978635236620903, 0.04425671324133873, 0.022560965269804, 0.05550161749124527, -0.014510557986795902, 0.001543909078463912, 0.004919725935906172, -0.0210566446185112, 0.010813923552632332, -0.010901635512709618, 0.027724605053663254, 0.021415535360574722, -0.019497977569699287, -0.062104493379592896, 0.08774174749851227, 0.03217516839504242, 0.02920065075159073, -0.0017987958854064345, -0.026045197620987892, 0.0021615277510136366, 0.007356044836342335, -0.03740176931023598, 0.00513287540525198, -0.00162674265448004, -0.033845528960227966, 0.061006419360637665, -0.023478353396058083, 0.024658706039190292, 0.02744266204535961, 0.019473757594823837, -0.018134066835045815, 0.04485483467578888, -0.044506870210170746, 0.023337585851550102, 0.03355814516544342, -0.03016282245516777, -0.011151259765028954, -0.03496159240603447, 0.0659760981798172, -0.07571130245923996, 0.06855501979589462, 0.043491996824741364, 0.014619637280702591, 0.030461851507425308, -0.047837018966674805, -0.017549581825733185, 0.019610563293099403, -0.06449338048696518, 0.07691946625709534, -0.00039187140646390617, -0.07134920358657837, 0.06979963928461075, 0.039785075932741165, -0.06318989396095276, 0.022710802033543587, 0.035341162234544754, 0.01775961183011532, 0.010099649429321289, 0.031025273725390434, -0.052405305206775665, 0.0008464637794531882, -0.04173582047224045, 0.026828624308109283, -0.038413092494010925, -0.028315693140029907, 0.01741543412208557, -0.05909917876124382, -0.01858142390847206, 0.02764352597296238, -0.012511255219578743, -0.005534052383154631, 0.026094742119312286, -0.08026044815778732, -0.047410748898983, -0.018798647448420525, 0.002785918302834034, -0.0211854949593544, -0.0006488784565590322, -0.015287468209862709, 0.0019624510314315557, 0.008852635510265827, -0.008095410652458668, -0.057630643248558044, -0.019618572667241096, 0.022590601816773415, -0.037342414259910583, -0.04284707084298134, 0.04945109412074089, 0.00010391310934210196, -0.026367951184511185, 0.027206726372241974, -0.011244731955230236, 0.019490353763103485, 0.01595650613307953, -0.002957353601232171, 0.0019207897130399942, -0.011407194659113884, -0.02169007435441017, 0.016863880679011345, 0.018451204523444176, 0.017087718471884727, -0.0024252603761851788, 0.017842993140220642, 0.04433649033308029, 0.043084435164928436, -0.010490931570529938, -0.04541713744401932, -0.03062993846833706, 0.015535613521933556, -0.031694915145635605, 0.022433258593082428, 0.004926302935928106, -0.039288610219955444, -0.04206976294517517, 0.012473426759243011, -0.005094547756016254, 0.04285895451903343, -0.034566719084978104, 0.0036599086597561836, 0.03690633922815323, -0.028508318588137627, -0.021397095173597336, -0.10111577063798904, -0.01704881712794304, -0.04804961010813713, 0.0017383759841322899, 0.05386931821703911, -0.054533280432224274, 0.01973864622414112, -0.04504154995083809, -0.0385148860514164, 0.061744388192892075, 0.03128237649798393, -0.06578574329614639, 0.056854236871004105, 0.0562426932156086, -0.06748668849468231, 0.0028842363972216845, -0.001381763955578208, -0.045092564076185226, 0.026874776929616928, 0.021903155371546745, 0.0007299231947399676, 0.03309956565499306, 0.02794262021780014, -0.011709075421094894, -0.003433685516938567, -0.053843799978494644, -0.05525263771414757, -0.029343534260988235, 0.008729574270546436, 0.07652588188648224 ]
AnonymousSub/SR_consert
[ "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
This model is a paraphraser designed for the Adversarial Paraphrasing Task described and used in this paper: https://aclanthology.org/2021.acl-long.552/. Please refer to `nap_generation.py` on the github repository for ways to better utilize this model using concepts of top-k sampling and top-p sampling. The demo on huggingface will output only one sentence which will most likely be the same as the input sentence since the model is supposed to output using beam search and sampling. Github repository: https://github.com/Advancing-Machine-Human-Reasoning-Lab/apt.git Please cite the following if you use this model: ```bib @inproceedings{nighojkar-licato-2021-improving, title = "Improving Paraphrase Detection with the Adversarial Paraphrasing Task", author = "Nighojkar, Animesh and Licato, John", booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)", month = aug, year = "2021", address = "Online", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2021.acl-long.552", pages = "7106--7116", abstract = "If two sentences have the same meaning, it should follow that they are equivalent in their inferential properties, i.e., each sentence should textually entail the other. However, many paraphrase datasets currently in widespread use rely on a sense of paraphrase based on word overlap and syntax. Can we teach them instead to identify paraphrases in a way that draws on the inferential properties of the sentences, and is not over-reliant on lexical and syntactic similarities of a sentence pair? We apply the adversarial paradigm to this question, and introduce a new adversarial method of dataset creation for paraphrase identification: the Adversarial Paraphrasing Task (APT), which asks participants to generate semantically equivalent (in the sense of mutually implicative) but lexically and syntactically disparate paraphrases. These sentence pairs can then be used both to test paraphrase identification models (which get barely random accuracy) and then improve their performance. To accelerate dataset generation, we explore automation of APT using T5, and show that the resulting dataset also improves accuracy. We discuss implications for paraphrase detection and release our dataset in the hope of making paraphrase detection models better able to detect sentence-level meaning equivalence.", } ```
[ -0.013902448117733002, -0.014077062718570232, -0.043246541172266006, 0.06956557929515839, 0.03801001235842705, 0.020158428698778152, -0.004503154661506414, -0.023607157170772552, -0.029585182666778564, 0.0483868233859539, 0.03565202280879021, 0.009144853800535202, 0.015429290942847729, 0.03816848248243332, -0.02384568378329277, -0.03740039840340614, -0.04542961344122887, -0.003929158207029104, -0.013476182706654072, 0.0035506095737218857, 0.005999315530061722, -0.013687296770513058, -0.011497736908495426, 0.013165080919861794, 0.003985365387052298, 0.0052282544784247875, -0.02129317820072174, 0.023105984553694725, -0.006880707107484341, -0.057761404663324356, 0.010233020409941673, -0.0430864542722702, -0.018637722358107567, 0.008092298172414303, -0.004650770220905542, 0.027570590376853943, -0.016378013417124748, -0.009212831035256386, 0.017483508214354515, 0.0388953797519207, -0.035587653517723083, -0.005653944797813892, -0.0038522544782608747, -0.001707480987533927, 0.039514634758234024, 0.01498407032340765, -0.0433640256524086, -0.02286813035607338, 0.036945004016160965, -0.011984151788055897, -0.027472076937556267, -0.082593634724617, -0.019835706800222397, 0.03334047272801399, 0.0009175444138236344, -0.027651766315102577, -0.05702171474695206, -0.02761363796889782, 0.08654378354549408, -0.04778043553233147, -0.016999421641230583, -0.020791709423065186, -0.055425841361284256, 0.012347410432994366, 0.023646067827939987, -0.06346270442008972, 0.01823057234287262, -0.03926295414566994, -0.008057575672864914, -0.030819915235042572, 0.044494617730379105, -0.03419182449579239, 0.04763137176632881, -0.10134100914001465, 0.009229585528373718, -0.027125338092446327, 0.045271579176187515, 0.03813474625349045, -0.035402245819568634, 0.047577131539583206, 0.027215102687478065, 0.0018502292223274708, 0.027720170095562935, -0.018957776948809624, 0.020965252071619034, 0.06095774844288826, -0.03545890748500824, 0.00827762857079506, -0.0006281578098423779, 0.04195934534072876, -0.040720388293266296, -0.04475785046815872, -0.022517280653119087, -0.028402816504240036, -0.022490229457616806, 0.005623905453830957, 0.04811844974756241, -0.021197473630309105, 0.03817562386393547, 0.005688113160431385, 0.02794930897653103, 0.03830064833164215, -0.030428223311901093, 0.05802910774946213, -0.004581283777952194, -0.005930481944233179, -0.015899281948804855, -0.051998067647218704, -0.052008528262376785, 0.06139369681477547, 0.038625940680503845, -0.027927450835704803, -0.058037169277668, 0.04172336310148239, -0.0015903380699455738, -0.00817839615046978, 0.05576087534427643, -0.02441546879708767, -0.031757112592458725, -0.04186179116368294, 0.023573480546474457, 0.0012858998961746693, -0.015178070403635502, -0.019935209304094315, -0.0701116994023323, 0.04133289307355881, -0.04087691381573677, -0.055957116186618805, 0.00836903601884842, 0.021570812910795212, -0.016873592510819435, 0.02164103463292122, 0.044106848537921906, -0.05536931753158569, 0.009458639658987522, 0.004900209605693817, -0.06469371914863586, 0.0067633287981152534, 0.0526457279920578, 0.10757402330636978, -0.05174538120627403, -0.05318693816661835, 0.004807565826922655, 0.01059673447161913, -0.02223920449614525, -0.0001843981008278206, 0.023114336654543877, -0.04159550368785858, -0.03218991309404373, 0.0012762869009748101, 0.08068036288022995, -0.04155605658888817, 0.01749514602124691, 0.04059499502182007, -0.01875150389969349, 0.0687357559800148, -0.05345520004630089, 0.005467197857797146, -0.025770654901862144, 0.019704213365912437, -0.0379037968814373, 0.03931473568081856, -0.029122592881321907, -0.006595337763428688, -0.046404894441366196, -0.02382565662264824, -0.007842267863452435, 0.07231156527996063, -0.008845663629472256, -0.036700256168842316, -0.062259167432785034, 0.0038641204591840506, 0.06414934247732162, 0.04072020947933197, -0.024042051285505295, 0.029884617775678635, 0.0738523080945015, 0.0430491641163826, -0.03208637610077858, 0.048773638904094696, -0.007979543879628181, -0.031178509816527367, 0.0011484307469800115, -0.00679900124669075, 0.014029066078364849, -0.015593125484883785, 0.030664201825857162, 0.04345736652612686, -0.027787810191512108, -0.016606852412223816, -0.026130586862564087, 0.03834296390414238, -0.0265814196318388, 0.009049339219927788, 0.00635937275364995, -0.0013869513059034944, -0.013526296243071556, 0.027521640062332153, -0.015429040417075157, 0.0024642464704811573, 0.0018384690629318357, -0.02835528738796711, 0.014376151375472546, 0.024286003783345222, 0.023935096338391304, 0.03304055333137512, -0.002366323722526431, 0.0544452965259552, -0.02596208080649376, 0.0019155743066221476, -0.05945998802781105, -0.032138194888830185, -0.012370780110359192, 0.03804386779665947, 0.028149651363492012, 0.06497376412153244, -0.00167657935526222, -0.053765784949064255, 0.040159326046705246, 0.03021012805402279, 0.03949841856956482, 0.05381731688976288, -0.028489649295806885, -0.007184919901192188, 0.028360111638903618, 0.07270260900259018, -0.028557194396853447, -0.022824393585324287, 0.016199970617890358, 0.030445383861660957, -0.009788601659238338, 0.001219230587594211, -0.012810911051928997, 0.03117997758090496, -0.04356972873210907, -0.06532923877239227, 0.028848497197031975, 0.03465823829174042, -0.019162068143486977, 0.04638770595192909, -0.02415337972342968, 0.013710380531847477, 0.046387411653995514, -0.0111666489392519, 0.01757807657122612, -0.07137623429298401, -0.00865772645920515, 0.007407788652926683, 0.06039629876613617, -0.0206628255546093, 0.05274822190403938, 0.006192185916006565, 0.016980381682515144, 0.0218315701931715, -0.0029864527750760317, 0.04572775587439537, 0.06554190814495087, -0.006336422171443701, -0.02641756646335125, 0.05155869945883751, 0.0014867365825921297, 0.04453589394688606, 0.046033505350351334, -0.037223223596811295, 0.08836378902196884, 0.007110434118658304, 0.0351819172501564, 0.08423309773206711, 0.012372037395834923, 0.004008658230304718, 0.03255303204059601, 0.0489552840590477, 0.00488691171631217, 0.00786498747766018, 0.04185761883854866, -0.05127270147204399, 0.036726418882608414, -0.04819795861840248, 0.06207892298698425, -0.03549666330218315, -0.015825361013412476, 0.07205883413553238, 0.022548796609044075, -0.017019806429743767, 0.017417877912521362, -0.031173603609204292, -0.015412281267344952, 0.031779661774635315, -0.016546905040740967, 0.007788235787302256, -0.007423116359859705, -0.031843289732933044, -0.007805349305272102, -0.1076924055814743, -0.03360360115766525, 0.023186389356851578, -0.030913397669792175, -0.010534130036830902, -0.10046438127756119, -0.0313744992017746, -0.05422336608171463, -0.020879914984107018, 0.02944999188184738, 0.012264116667211056, 0.015260381624102592, -0.01135942805558443, 0.019242506474256516, -0.01965123601257801, -0.004542463459074497, -0.07205144315958023, -0.02110958658158779, -0.024225518107414246, -0.04177035763859749, 0.011289282701909542, 0.022168254479765892, 0.02708294801414013, 0.012969909235835075, -0.011199332773685455, -0.03893235698342323, -0.010368125513195992, 0.06204894185066223, 0.01992623321712017, -0.015050176531076431, -0.07190735638141632, 0.021946188062429428, 0.020067349076271057, 0.004809859208762646, -0.022294029593467712, -0.0301909688860178, 0.0775991752743721, 0.06890295445919037, 0.024798396974802017, 0.009657098911702633, -0.014190714806318283, -0.037660133093595505, -0.02532205916941166, -0.05348725989460945, -0.07830293476581573, -0.04022984579205513, -0.05021512880921364, -0.031850650906562805, -0.011173440143465996, -0.029349789023399353, -0.010559880174696445, 0.024901214987039566, 0.003934306092560291, 0.0764865055680275, 0.049894075840711594, 0.020387833938002586, 0.009869091212749481, -0.036458589136600494, -0.018574301153421402, 0.08053272217512131, -0.014476150274276733, 0.00888510700315237, -0.07436361163854599, -0.05836934596300125, 0.026164352893829346, 0.012162646278738976, 0.026554370298981667, -0.02989252097904682, 0.08602175116539001, 0.011647132225334644, -0.019080640748143196, -0.004424017854034901, 0.010135093703866005, -0.01263677142560482, 0.024708271026611328, -0.016036896035075188, -0.028416305780410767, -0.048882074654102325, -0.016341054812073708, -0.06536014378070831, 0.057374317198991776, -0.05923335999250412, -0.03675898164510727, -0.013724048621952534, 0.03374476358294487, 0.05132640153169632, -0.01800806261599064, -0.03798400238156319, -0.009804601781070232, -0.05153018981218338, -0.011366828344762325, 0.013701695017516613, -0.012930790893733501, 0.022058896720409393, 0.04293689876794815, 0.020262878388166428, -0.025621728971600533, 0.01785636879503727, 0.017538059502840042, 0.06172240898013115, 0.030415434390306473, -0.03593788668513298, 0.03336351737380028, 0.007878582924604416, 0.032622676342725754, -0.012301303446292877, -0.01261288020759821, -0.05768367275595665, -0.06873595714569092, -0.008860156871378422, 0.017548061907291412, -0.007245509885251522, -0.006503850221633911, 0.054788731038570404, -0.04701623693108559, -0.008834877982735634, 0.012422522529959679, -0.002488708356395364, 0.04022984206676483, -0.05779387801885605, 0.04665185138583183, -0.00720180943608284, 0.030360976234078407, -0.03375384584069252, 0.01692148484289646, -0.045123420655727386, -0.008606444112956524, 0.008937732316553593, 0.08784306794404984, 0.02677464485168457, 0.039729997515678406, 0.05375196412205696, 0.045432254672050476, -0.032295189797878265, 0.05092935264110565, 0.044605933129787445, -0.006516049616038799, -0.04653259739279747, -0.018810389563441277, 0.011994311586022377, -0.028120003640651703, -0.01577543281018734, -0.02187771163880825, 0.03789047524333, 0.05134561285376549, -0.0026621075812727213, -0.021178504452109337, 0.03461923077702522, -0.02111622877418995, -0.020717404782772064, -0.05475872382521629, -0.017941929399967194, -0.013075408525764942, -0.009198040701448917, 0.034021712839603424, 0.03536967560648918, 0.010936357080936432, 0.05642522871494293, 0.03791634738445282, -0.021701104938983917, -0.050740428268909454, 0.049034617841243744, 0.021177828311920166, -0.053815264254808426, -0.06113256886601448, -0.07505843043327332, 0.03750498592853546, 0.04314380884170532, -0.01247232872992754, -0.08580587804317474, 0.005884381011128426, 0.03138510882854462, -0.03511394187808037, 0.031548019498586655, -0.025314394384622574, 0.038568515330553055, 0.0517636239528656, 0.021121392026543617, 0.030595770105719566, -0.019453629851341248, 0.005413629114627838, -0.011291665025055408, 0.04885716363787651, -0.04452510178089142, -0.05038616806268692, -0.05670167878270149, 0.042878877371549606, 0.04928964748978615, 0.04607749357819557, 0.04161491245031357, -0.0365484282374382, -0.046265605837106705, 0.016554763540625572, 0.007559055462479591, -0.0334622897207737, 0.031929098069667816, 0.031193960458040237, 0.04438347741961479, -0.05410381406545639, -0.04468341916799545, -0.031390637159347534, 0.013357196003198624, 0.024942025542259216, -0.022173777222633362, -0.018233593553304672, -0.04049107804894447, 0.015302171930670738, -0.019982317462563515, -0.026668060570955276, -0.08500823378562927, 0.01858176290988922, 0.009870256297290325, -0.0336943194270134, 0.04974992945790291, 0.03654397651553154, 0.048909761011600494, 0.038574498146772385, -0.014149639755487442, 0.012207766994833946, -0.05677705630660057, 0.06019817292690277, -0.008425211533904076, -0.028166158124804497, 0.0022816138807684183, -0.05156490579247475, -0.011788605712354183, -0.042253781110048294, -0.018503183498978615, -0.043355830013751984, -0.02002950757741928, 0.02638391964137554, -0.02236161381006241, 0.017423588782548904, -0.020034749060869217, 0.02603372558951378, -0.007761610671877861, 0.0050104642286896706, -0.014420431107282639, -0.029662949964404106, -0.05204411968588829, -0.013409635983407497, 0.014892885461449623, -0.028104109689593315, 0.020095843821763992, 0.021051129326224327, 0.022492894902825356, 0.009250628761947155, 0.02318345569074154, -0.024414241313934326, 0.054326631128787994, -0.015599613077938557, -0.04979494586586952, -0.028592336922883987, 0.010245687328279018, 0.0016928993863984942, 0.03600609302520752, -0.025860074907541275, 0.053735412657260895, 0.011434366926550865, -0.030929414555430412, -0.031008444726467133, 0.03205689415335655, 0.01822694018483162, -0.07083092629909515, -0.05090095475316048, 0.009825758635997772, -0.03197033703327179, 0.028433742001652718, 0.006932929623872042, -0.026977824047207832, 0.0039007633458822966, 0.022325361147522926, 0.008876003324985504, -0.008991949260234833, -0.03941474109888077, 0.009497430175542831, -0.022079525515437126, 0.029377395287156105, -0.06952007114887238, 0.04243496060371399, -0.032775603234767914, -0.014321555383503437, -0.003973291255533695, -0.004916251637041569, -0.050832927227020264, 0.040626201778650284, 0.0021784629207104445, -0.022035833448171616, -0.01166781410574913, 0.014353417791426182, -0.03635023534297943, 0.05324798449873924, -0.046427734196186066, 0.0062804510816931725, -0.058196403086185455, 0.057494644075632095, -0.05153961107134819, -0.011535734869539738, -0.01763608679175377, -0.009164759889245033, -0.05429249256849289, -0.01145318616181612, -0.01430920884013176, -0.03063095360994339, 0.03265684098005295, 0.043773796409368515, 0.05017571896314621, 0.04790444299578667, 0.0005416483036242425, 0.004592297598719597, 0.01042206585407257, -0.06681042909622192, -0.028069397434592247, -0.013177898712456226, 0.030042363330721855, 0.012001747265458107, 0.04782061278820038, 0.03288967162370682, -0.030744152143597603, -0.04464851692318916, 0.05718252435326576, 0.006501760799437761, 0.010606752708554268, 0.009133056737482548, 0.01988089457154274, 0.021832529455423355, 0.015272904187440872, -0.037803247570991516, -0.013245192356407642, 0.0026717123109847307, -0.024458471685647964, 0.023844653740525246, -0.01272424403578043, 0.01427748054265976, 0.00753492908552289, -0.023908808827400208, -0.05614723265171051, 0.04706894978880882, 0.04516331106424332, 0.007211244665086269, -0.009666109457612038, -0.04811989888548851, -0.0001909598067868501, 0.004910870920866728, -0.06342630088329315, 0.003844787832349539, -0.014815492555499077, -0.02250216156244278, 0.05527916178107262, -0.017882052809000015, 0.017938802018761635, 0.04330029338598251, 0.03880348429083824, -0.032229986041784286, 0.02461446449160576, -0.04166858270764351, 0.025016622617840767, 0.0503205843269825, -0.05695253610610962, -0.026555165648460388, -0.03700999543070793, 0.07832349091768265, -0.05426625907421112, 0.05945196747779846, 0.0492502860724926, 0.0079475287348032, 0.002112223766744137, -0.023026829585433006, -0.04733477905392647, 0.006466712802648544, -0.03635658696293831, 0.08446580916643143, 0.019533440470695496, -0.05671832337975502, 0.0729125514626503, 0.03075876273214817, -0.05440663918852806, 0.040722984820604324, 0.03885246813297272, 0.030560769140720367, 0.022853698581457138, 0.0032582422718405724, -0.06893277913331985, -0.008445985615253448, -0.031707171350717545, 0.03631088137626648, -0.06603950262069702, -0.012397336773574352, -0.003875486785545945, -0.04234354943037033, -0.0181504525244236, 0.018082257360219955, -0.003405295079573989, 0.004068133421242237, 0.02518264576792717, -0.09148545563220978, -0.05664697661995888, -0.022729650139808655, -0.010777074843645096, -0.046823423355817795, 0.009562430903315544, -0.037457432597875595, 0.008112285286188126, 0.01376499142497778, 0.007849635556340218, -0.014698176644742489, 0.015244023874402046, 0.014218796975910664, -0.051435425877571106, -0.01743479073047638, 0.030877534300088882, -0.005771429743617773, -0.010513604618608952, 0.011883512139320374, -0.024432940408587456, 0.020977741107344627, 0.014255424961447716, -0.008453465066850185, 0.018289413303136826, -0.04923578351736069, -0.009720503352582455, 0.045820076018571854, -0.009162813425064087, 0.03801806643605232, 0.004721974488347769, 0.038122329860925674, 0.026566654443740845, 0.029712406918406487, 0.004961978644132614, -0.02409873902797699, -0.018114564940333366, 0.030543694272637367, -0.016505789011716843, 0.031216900795698166, -0.00030451983911916614, -0.03769931197166443, -0.02505352348089218, -0.0238786730915308, -0.001975561957806349, 0.030192429199814796, -0.04421650245785713, -0.010873292572796345, 0.04968994855880737, -0.018207982182502747, -0.044982507824897766, -0.08273708075284958, -0.03621438518166542, -0.034602340310811996, 0.058618780225515366, 0.0220590028911829, -0.04388676956295967, 0.008938093669712543, -0.050116803497076035, -0.057784151285886765, 0.03417770937085152, 0.026464048773050308, -0.03612286597490311, 0.031297553330659866, -0.0028025752399116755, -0.04207570105791092, 0.018518945202231407, 0.041612885892391205, -0.039849426597356796, 0.01479424349963665, 0.028277011588215828, 0.0316542312502861, 0.0217587947845459, 0.03715863451361656, -0.03190489485859871, -0.015011122450232506, -0.03299110755324364, -0.02526211179792881, -0.05497506260871887, 0.020765485242009163, 0.06799571961164474 ]
AnonymousSub/SR_declutr
[ "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
This model is a paraphrase detector trained on the Adversarial Paraphrasing datasets described and used in this paper: https://aclanthology.org/2021.acl-long.552/. Github repository: https://github.com/Advancing-Machine-Human-Reasoning-Lab/apt.git Please cite the following if you use this model: ```bib @inproceedings{nighojkar-licato-2021-improving, title = "Improving Paraphrase Detection with the Adversarial Paraphrasing Task", author = "Nighojkar, Animesh and Licato, John", booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)", month = aug, year = "2021", address = "Online", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2021.acl-long.552", pages = "7106--7116", abstract = "If two sentences have the same meaning, it should follow that they are equivalent in their inferential properties, i.e., each sentence should textually entail the other. However, many paraphrase datasets currently in widespread use rely on a sense of paraphrase based on word overlap and syntax. Can we teach them instead to identify paraphrases in a way that draws on the inferential properties of the sentences, and is not over-reliant on lexical and syntactic similarities of a sentence pair? We apply the adversarial paradigm to this question, and introduce a new adversarial method of dataset creation for paraphrase identification: the Adversarial Paraphrasing Task (APT), which asks participants to generate semantically equivalent (in the sense of mutually implicative) but lexically and syntactically disparate paraphrases. These sentence pairs can then be used both to test paraphrase identification models (which get barely random accuracy) and then improve their performance. To accelerate dataset generation, we explore automation of APT using T5, and show that the resulting dataset also improves accuracy. We discuss implications for paraphrase detection and release our dataset in the hope of making paraphrase detection models better able to detect sentence-level meaning equivalence.", } ```
[ -0.014599298126995564, -0.01638096012175083, -0.04959472641348839, 0.07242245227098465, 0.05142044648528099, 0.030625831335783005, 0.0002435759815853089, -0.01355777308344841, -0.034626103937625885, 0.043116163462400436, 0.03967176750302315, 0.013405595906078815, 0.010201278142631054, 0.030712153762578964, -0.029323503375053406, -0.041996367275714874, -0.04402398318052292, -0.004826476331800222, -0.010077986866235733, -0.004864684771746397, 0.005211784504354, -0.0173296257853508, -0.006563643924891949, 0.009525492787361145, -0.005145606584846973, -0.01146263349801302, -0.012978984043002129, 0.030437663197517395, 0.00005142940062796697, -0.058360349386930466, 0.01074849534779787, -0.03214161843061447, -0.020088179036974907, -0.0004520281217992306, 0.0009559960453771055, 0.03552098199725151, -0.01752266101539135, 0.005602634511888027, 0.018092170357704163, 0.04177229478955269, -0.030784904956817627, 0.00325673446059227, 0.008571046404540539, -0.015988437458872795, 0.0455147884786129, 0.014898131601512432, -0.0327531173825264, -0.018528876826167107, 0.030410826206207275, -0.006111500319093466, -0.03970947861671448, -0.07675851881504059, -0.009122934192419052, 0.028624527156352997, 0.004794897511601448, -0.021325889974832535, -0.05446447804570198, -0.01972704753279686, 0.0900045707821846, -0.04926016554236412, -0.012099546380341053, -0.011998841539025307, -0.04673522710800171, 0.010515805333852768, 0.02158975414931774, -0.07247726619243622, 0.01813465729355812, -0.05366567522287369, -0.00003460649895714596, -0.026861168444156647, 0.053052958101034164, -0.032289229333400726, 0.05156145617365837, -0.10040582716464996, 0.0012479315046221018, -0.02428484708070755, 0.04362749680876732, 0.04356194660067558, -0.044561561197042465, 0.05149737000465393, 0.032436858862638474, 0.0118187814950943, 0.028596825897693634, -0.022844955325126648, 0.026324594393372536, 0.07086538523435593, -0.03487227484583855, 0.0019118412164971232, 0.004350066184997559, 0.0363738052546978, -0.03849231079220772, -0.03865950554609299, -0.02125336416065693, -0.024594470858573914, -0.01550613809376955, -0.003051855368539691, 0.06160369887948036, -0.026400087401270866, 0.03411825746297836, 0.0056128366850316525, 0.034403953701257706, 0.0393211729824543, -0.02940279059112072, 0.05111249163746834, -0.006644110195338726, 0.002647845074534416, -0.013217978179454803, -0.04964316263794899, -0.040671736001968384, 0.061133574694395065, 0.03412730619311333, -0.03386760503053665, -0.04718310385942459, 0.03875017911195755, 0.0017226829659193754, -0.0059777493588626385, 0.051281917840242386, -0.016736190766096115, -0.03616342321038246, -0.03783651813864708, 0.03166235610842705, -0.006542201153934002, -0.01232240442186594, -0.004602626897394657, -0.06492076814174652, 0.036646030843257904, -0.04898466542363167, -0.05934981629252434, -0.0020504321437329054, 0.026616832241415977, -0.014434868469834328, 0.03137276694178581, 0.042460955679416656, -0.047293566167354584, 0.007058111950755119, 0.009242188185453415, -0.07220374047756195, 0.0066427499987185, 0.04512800648808479, 0.10063439607620239, -0.057307515293359756, -0.04484371095895767, 0.006202036049216986, 0.0039969440549612045, -0.017265474423766136, -0.0015810314798727632, 0.014973936602473259, -0.038617148995399475, -0.029050728306174278, 0.0027665048837661743, 0.07949493080377579, -0.04565322771668434, 0.02241036295890808, 0.03609300032258034, -0.01957542821764946, 0.07860766351222992, -0.04473714530467987, 0.0065001798793673515, -0.022055644541978836, 0.017002912238240242, -0.04544186219573021, 0.04252512753009796, -0.03532456234097481, 0.00599845964461565, -0.04538734629750252, -0.014708123169839382, -0.01288990955799818, 0.08056230843067169, -0.010894356295466423, -0.03666236996650696, -0.07319480925798416, 0.002646596636623144, 0.06721808016300201, 0.03682025149464607, -0.028984300792217255, 0.04152805730700493, 0.0650058388710022, 0.04571947455406189, -0.033586643636226654, 0.056781888008117676, -0.003059287089854479, -0.03577202558517456, -0.0011551093775779009, -0.00039678614120930433, 0.015034131705760956, -0.008718425408005714, 0.025157505646348, 0.04084604233503342, -0.02576569840312004, -0.016621805727481842, -0.027399463579058647, 0.0405217669904232, -0.02594047226011753, 0.01151968538761139, 0.007820477709174156, -0.00030949650681577623, -0.02709079161286354, 0.03096800483763218, -0.02298964560031891, -0.0009231673320755363, 0.005005361046642065, -0.022658752277493477, 0.006411776877939701, 0.022459570318460464, 0.02248801290988922, 0.023463649675250053, -0.00039441679837182164, 0.05753341317176819, -0.021905383095145226, 0.00023451213201042265, -0.05652165412902832, -0.03712497651576996, -0.014537851326167583, 0.03512333706021309, 0.007069407030940056, 0.057318054139614105, -0.015548234805464745, -0.050764214247465134, 0.042259395122528076, 0.02970299869775772, 0.041243501007556915, 0.05168669670820236, -0.026496121659874916, -0.0003485034976620227, 0.016952574253082275, 0.061942875385284424, -0.023310035467147827, -0.029540998861193657, 0.014409362338483334, 0.032861799001693726, -0.009536447003483772, 0.0030460755806416273, -0.014225990511476994, 0.023613333702087402, -0.04156213253736496, -0.06307416409254074, 0.016319969668984413, 0.037232428789138794, -0.015860121697187424, 0.048056211322546005, -0.010830391198396683, 0.0046150535345077515, 0.04234836623072624, -0.012799368239939213, 0.024811111390590668, -0.07888520509004593, -0.010598152875900269, 0.012999591417610645, 0.05360028147697449, -0.026894498616456985, 0.05336123704910278, 0.004352124873548746, 0.012112502939999104, 0.031778767704963684, -0.00009179433982353657, 0.04869312793016434, 0.06258992850780487, -0.00319902366027236, -0.025195570662617683, 0.037616703659296036, 0.0002580061263870448, 0.032795995473861694, 0.06255971640348434, -0.029750030487775803, 0.0849953442811966, 0.015003749169409275, 0.02982013300061226, 0.07568266987800598, 0.009698977693915367, 0.0015811511548236012, 0.027042387053370476, 0.0471731536090374, 0.002137179719284177, 0.0115807568654418, 0.03267720341682434, -0.06078248843550682, 0.03864002600312233, -0.044828202575445175, 0.06533977389335632, -0.031382426619529724, -0.011047622188925743, 0.07294870913028717, 0.02100139670073986, -0.025970323011279106, 0.022541895508766174, -0.040261510759592056, -0.013176714070141315, 0.01668909750878811, -0.01742437109351158, 0.0023499897215515375, -0.011794645339250565, -0.033374376595020294, -0.005856918171048164, -0.1047120913863182, -0.02928396500647068, 0.02789057418704033, -0.034198008477687836, -0.012041477486491203, -0.09966041147708893, -0.032049644738435745, -0.05678669363260269, -0.02151370793581009, 0.03670717775821686, 0.007972854189574718, 0.005559584125876427, 0.007756023667752743, 0.020433617755770683, -0.018660349771380424, 0.0037697271909564734, -0.07240498811006546, -0.02053721807897091, -0.03056318499147892, -0.04531829431653023, 0.013694260269403458, 0.026034943759441376, 0.019924703985452652, 0.015838630497455597, -0.014589224010705948, -0.03631707653403282, -0.0055707721039652824, 0.059145744889974594, 0.021954858675599098, -0.01934417150914669, -0.057180728763341904, 0.03651149570941925, 0.012164154089987278, 0.009441951289772987, -0.01526376698166132, -0.026076920330524445, 0.0700036957859993, 0.07409685105085373, 0.01760593242943287, 0.0014986724127084017, -0.021527357399463654, -0.04099791869521141, -0.03486001119017601, -0.04615386947989464, -0.07975783944129944, -0.03514702245593071, -0.04939213767647743, -0.029988231137394905, -0.016327952966094017, -0.03251944109797478, -0.004962821025401354, 0.026020018383860588, 0.009610597975552082, 0.08907017111778259, 0.052043087780475616, 0.027324384078383446, 0.004926114808768034, -0.04222917929291725, -0.009035815484821796, 0.0812210887670517, -0.012469615787267685, 0.01524810679256916, -0.07624484598636627, -0.04713812842965126, 0.024852922186255455, 0.011938799172639847, 0.032710447907447815, -0.02354534901678562, 0.08853105455636978, 0.00955270603299141, -0.0067801084369421005, 0.006188884377479553, 0.013556056655943394, -0.015249636024236679, 0.024307619780302048, -0.022363170981407166, -0.030338235199451447, -0.04855026304721832, -0.020619694143533707, -0.06657848507165909, 0.057203952223062515, -0.06332846730947495, -0.04054511338472366, -0.0042652529664337635, 0.03298397734761238, 0.04221286252140999, -0.01588478311896324, -0.036025334149599075, -0.005691071040928364, -0.03970380872488022, -0.01728050410747528, 0.02099562995135784, -0.016554465517401695, 0.016823234036564827, 0.04070572927594185, 0.014531201682984829, -0.023746514692902565, 0.0210835263133049, 0.016687747091054916, 0.04719289392232895, 0.03731083497405052, -0.03672748804092407, 0.03816527500748634, 0.0024559868033975363, 0.03527302294969559, -0.011825124733150005, -0.020395547151565552, -0.053446944802999496, -0.061941053718328476, -0.01357228122651577, 0.017413944005966187, -0.014757836237549782, -0.013201725669205189, 0.04272109642624855, -0.04519031569361687, -0.006759453099220991, 0.003024128032848239, 0.0021626856178045273, 0.03897607699036598, -0.05238400772213936, 0.04509942978620529, -0.012191541492938995, 0.03444178029894829, -0.04235260933637619, 0.010427793487906456, -0.04887739568948746, -0.024109208956360817, 0.021317224949598312, 0.08059078454971313, 0.0096957478672266, 0.03984345495700836, 0.07180947810411453, 0.051975347101688385, -0.020762935280799866, 0.03853530064225197, 0.049867063760757446, -0.013545999303460121, -0.04985295981168747, -0.01586953178048134, 0.013849235139787197, -0.02580430544912815, -0.007499996572732925, -0.032381266355514526, 0.046392232179641724, 0.038606032729148865, -0.009949926286935806, -0.02706238441169262, 0.02118035778403282, -0.020302144810557365, -0.0232461579144001, -0.04955936223268509, -0.012776619754731655, -0.0043141599744558334, 0.003146924078464508, 0.03817028924822807, 0.031637419015169144, 0.0092750433832407, 0.05440085008740425, 0.028403714299201965, -0.025586538016796112, -0.03489106148481369, 0.04851355403661728, 0.015187659300863743, -0.05715451017022133, -0.058772213757038116, -0.06009836867451668, 0.042908038944005966, 0.04057775065302849, -0.01900588534772396, -0.0935678631067276, -0.00015541004540864378, 0.030684426426887512, -0.031035354360938072, 0.032334648072719574, -0.0219707228243351, 0.0400116853415966, 0.05049958452582359, 0.016098378226161003, 0.034697484225034714, -0.018775833770632744, -0.000481835741084069, -0.013109477236866951, 0.050489261746406555, -0.04806046187877655, -0.057717498391866684, -0.051799338310956955, 0.04932310804724693, 0.04417018964886665, 0.05172690749168396, 0.03777354210615158, -0.03515004739165306, -0.0424942672252655, 0.019442889839410782, 0.0005954005173407495, -0.02432742528617382, 0.02208881266415119, 0.0374634824693203, 0.04562109708786011, -0.04785547032952309, -0.037292372435331345, -0.03350237011909485, 0.011508587747812271, 0.016948236152529716, -0.018737424165010452, -0.01661698706448078, -0.04892747104167938, 0.02520567551255226, -0.022033382207155228, -0.030009716749191284, -0.09754457324743271, 0.023791758343577385, 0.0015525156632065773, -0.03790108114480972, 0.05794233828783035, 0.03192274644970894, 0.052880823612213135, 0.04603687673807144, -0.014284119941294193, 0.026731302961707115, -0.04758928716182709, 0.06402430683374405, 0.006277274806052446, -0.02641393058001995, 0.014108543284237385, -0.05310481786727905, -0.02050846815109253, -0.03289905935525894, -0.011177596636116505, -0.03901416435837746, -0.030435634776949883, 0.02234167791903019, -0.015532557852566242, 0.013730373233556747, -0.024502700194716454, 0.03651857748627663, -0.003880289848893881, 0.0021482955198735, -0.006023835856467485, -0.02269970253109932, -0.05948084220290184, -0.009249546565115452, 0.012496579438447952, -0.021945714950561523, 0.027160504832863808, 0.023353980854153633, 0.022708425298333168, 0.015606936067342758, 0.019206689670681953, -0.028331538662314415, 0.05276252329349518, -0.009695605374872684, -0.040775496512651443, -0.028986094519495964, 0.00541693763807416, -0.005912949331104755, 0.01604807935655117, -0.022690851241350174, 0.050260771065950394, 0.023649735376238823, -0.03085881657898426, -0.021786490455269814, 0.028810231015086174, 0.026005977764725685, -0.07625487446784973, -0.07094753533601761, 0.008597474545240402, -0.03737973794341087, 0.030582793056964874, 0.014919408597052097, -0.028529854491353035, 0.000362975726602599, 0.02597116306424141, 0.0049362401477992535, -0.004309720825403929, -0.031149396672844887, 0.013981042429804802, -0.013230839744210243, 0.03632989525794983, -0.05722368136048317, 0.04107850790023804, -0.03219929337501526, -0.024467799812555313, -0.0009334572241641581, 0.000220491157961078, -0.05466113239526749, 0.04755372181534767, -0.004131113179028034, -0.02684677764773369, -0.016505777835845947, 0.014164203777909279, -0.030600761994719505, 0.04911535233259201, -0.03801685944199562, 0.0029145122971385717, -0.048391953110694885, 0.06048944219946861, -0.05794116482138634, -0.0013696664245799184, -0.019443001598119736, -0.0009761137189343572, -0.047026876360177994, -0.004148919600993395, -0.0083243940025568, -0.03761247918009758, 0.031062820926308632, 0.038890495896339417, 0.05196205899119377, 0.05519610270857811, 0.004439561162143946, 0.004360162187367678, 0.015730591490864754, -0.06313849985599518, -0.03807413950562477, -0.021041875705122948, 0.03085710108280182, -0.0021968912333250046, 0.04422469064593315, 0.027288099750876427, -0.0263290386646986, -0.05586719140410423, 0.05490756034851074, 0.009762370027601719, 0.0026840672362595797, 0.008656173944473267, 0.01763918809592724, 0.023216336965560913, 0.022160924971103668, -0.03647930547595024, -0.008053071796894073, -0.01092454232275486, -0.02334672585129738, 0.015099389478564262, -0.0183743704110384, 0.0002631329698488116, 0.009819500148296356, -0.031830694526433945, -0.05652398616075516, 0.04486759752035141, 0.04246754199266434, 0.014081411063671112, -0.018976550549268723, -0.04613931477069855, -0.003305469872429967, 0.007043040357530117, -0.06041853874921799, 0.0034386140760034323, -0.01857249066233635, -0.02466217242181301, 0.055541668087244034, -0.01810184121131897, 0.020783215761184692, 0.050163209438323975, 0.04205736145377159, -0.024412598460912704, 0.023144973441958427, -0.030514167621731758, 0.01212192140519619, 0.042776480317115784, -0.05831296741962433, -0.010954270139336586, -0.03113122470676899, 0.07967987656593323, -0.051556117832660675, 0.05771317332983017, 0.04654042795300484, 0.0211879201233387, -0.0034045062493532896, -0.028066424652934074, -0.05410224571824074, 0.00372791918925941, -0.02678343839943409, 0.08548138290643692, 0.018267875537276268, -0.0558348223567009, 0.06900988519191742, 0.0347745344042778, -0.06188492476940155, 0.048715975135564804, 0.05118684843182564, 0.031110646203160286, 0.025305110961198807, -0.0011788003612309694, -0.07749785482883453, -0.013246503658592701, -0.029378928244113922, 0.03104526177048683, -0.07901918888092041, -0.0128507474437356, -0.008085323497653008, -0.03527370095252991, -0.014576603658497334, 0.006118422374129295, -0.01136151421815157, 0.008863292634487152, 0.022095877677202225, -0.08697188645601273, -0.06344388425350189, -0.021868044510483742, -0.010084087960422039, -0.04899919033050537, 0.0164936613291502, -0.029747143387794495, 0.006335235666483641, 0.019245943054556847, 0.010175834409892559, -0.008533393032848835, 0.004657904151827097, 0.014109157957136631, -0.05192975327372551, -0.01787104643881321, 0.03229750692844391, -0.012368261814117432, -0.0006880413857288659, 0.011740070767700672, -0.029735365882515907, 0.012181384488940239, 0.0037305746227502823, -0.0013876698212698102, 0.01398435328155756, -0.06895272433757782, 0.0006532827392220497, 0.051719408482313156, -0.014147084206342697, 0.040044043213129044, 0.0001952340971911326, 0.0383748821914196, 0.02896122820675373, 0.029485132545232773, 0.004257099702954292, -0.02013319358229637, -0.01468211691826582, 0.025247709825634956, -0.01500671450048685, 0.02976556122303009, 0.0003735744976438582, -0.04268511012196541, -0.01550897303968668, -0.026089517399668694, 0.00716570345684886, 0.023774195462465286, -0.04528955742716789, -0.018308503553271294, 0.04421637952327728, -0.022911254316568375, -0.051807619631290436, -0.08312729746103287, -0.04527747258543968, -0.03255161643028259, 0.04119567200541496, 0.01968410052359104, -0.033226992934942245, 0.0090853376314044, -0.05452911555767059, -0.07184364646673203, 0.02266320027410984, 0.025559453293681145, -0.03191126510500908, 0.04353966563940048, -0.00011458144581411034, -0.03289411962032318, 0.026176221668720245, 0.05504537746310234, -0.039805568754673004, 0.023270564153790474, 0.027959782630205154, 0.028091587126255035, 0.02558663673698902, 0.04161280393600464, -0.024012235924601555, -0.01684473641216755, -0.03556474670767784, -0.01394044328480959, -0.05974740535020828, 0.01916465349495411, 0.057961609214544296 ]
AnonymousSub/SR_rule_based_bert_triplet_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 } } }
6
null
--- license: apache-2.0 tags: - generated_from_trainer datasets: - conll2003 metrics: - precision - recall - f1 - accuracy model_index: - name: distilbert-base-uncased-finetuned-ner results: - task: name: Token Classification type: token-classification dataset: name: conll2003 type: conll2003 args: conll2003 metric: name: Accuracy type: accuracy value: 0.9843042559613643 --- <!-- 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. --> # distilbert-base-uncased-finetuned-ner This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the conll2003 dataset. It achieves the following results on the evaluation set: - Loss: 0.0611 - Precision: 0.9272 - Recall: 0.9382 - F1: 0.9327 - Accuracy: 0.9843 ## 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: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | 0.2432 | 1.0 | 878 | 0.0689 | 0.9132 | 0.9203 | 0.9168 | 0.9813 | | 0.0507 | 2.0 | 1756 | 0.0608 | 0.9208 | 0.9346 | 0.9276 | 0.9835 | | 0.03 | 3.0 | 2634 | 0.0611 | 0.9272 | 0.9382 | 0.9327 | 0.9843 | ### Framework versions - Transformers 4.9.1 - Pytorch 1.9.0+cu102 - Datasets 1.10.2 - Tokenizers 0.10.3
[ -0.0029980000108480453, 0.014791256748139858, -0.03590837121009827, 0.03812703862786293, 0.04993610829114914, 0.01637003943324089, -0.029769882559776306, -0.03940870612859726, -0.038659267127513885, 0.06196923926472664, 0.03661484271287918, -0.022397994995117188, 0.012441202998161316, 0.028022177517414093, -0.030920157209038734, -0.03862316906452179, 0.005539728328585625, -0.016196051612496376, -0.03608743101358414, -0.0154450424015522, 0.011708561331033707, -0.012319284491240978, 0.003182594198733568, 0.0004815271240659058, -0.009603881277143955, 0.008921641856431961, 0.00808954332023859, 0.03100164607167244, 0.045173417776823044, -0.07538022845983505, 0.0022543922532349825, -0.0374024473130703, -0.05704336240887642, -0.01929297484457493, -0.010624428279697895, 0.004248560406267643, 0.011613947339355946, 0.027682460844516754, 0.020290320739150047, 0.05499431490898132, -0.007857386954128742, 0.025166042149066925, 0.00335273751989007, -0.03133620321750641, 0.04731743037700653, -0.005163912195712328, -0.04504571855068207, 0.009209467098116875, 0.047166839241981506, -0.03811998665332794, -0.0760689228773117, -0.04833870381116867, -0.021873699501156807, 0.034990642219781876, -0.019948558881878853, -0.01339264027774334, -0.05527915805578232, -0.005927876103669405, 0.05899034067988396, -0.04236864671111107, -0.03360382094979286, 0.013208802789449692, -0.06625846028327942, 0.014801661483943462, 0.02676103636622429, -0.009582113474607468, 0.004648524336516857, -0.05461714044213295, 0.044168949127197266, -0.007568192668259144, 0.05535650625824928, -0.028670191764831543, 0.019517160952091217, -0.06307033449411392, -0.0060111526399850845, -0.016841337084770203, 0.047480374574661255, 0.06394108384847641, -0.02020682394504547, 0.034512244164943695, 0.031012173742055893, 0.008544818498194218, 0.056921083480119705, -0.024605190381407738, 0.005950403865426779, 0.01307301688939333, -0.037383828312158585, 0.0114973159506917, 0.033376544713974, 0.010776367038488388, -0.026022812351584435, -0.0341421402990818, -0.04348371922969818, -0.03402501717209816, -0.0029099783860147, 0.021213553845882416, 0.038410138338804245, 0.02430880255997181, 0.032911516726017, 0.0071527692489326, 0.03654783219099045, 0.04062965139746666, -0.03048711270093918, 0.061463821679353714, -0.007204764056950808, -0.010942494496703148, -0.002060128375887871, -0.024524588137865067, -0.04826544225215912, 0.042793482542037964, 0.03090868517756462, -0.014063541777431965, -0.034322239458560944, 0.0291005726903677, 0.001092039979994297, -0.013319947756826878, 0.07806933671236038, -0.010470938868820667, -0.03490644320845604, -0.03260481730103493, 0.0171810332685709, 0.0215813796967268, 0.009983938187360764, 0.010909130796790123, -0.03658515587449074, -0.024022778496146202, -0.02437545731663704, -0.039217524230480194, -0.010056262835860252, 0.01106012612581253, 0.008829851634800434, 0.05965227633714676, 0.017451535910367966, -0.08795380592346191, 0.012614814564585686, 0.012605125084519386, -0.037213463336229324, 0.046854957938194275, 0.025531062856316566, 0.1120927557349205, -0.047581955790519714, -0.06782428175210953, 0.005877275485545397, 0.0055216168984770775, -0.031660787761211395, 0.007554028183221817, 0.01756923459470272, -0.046955592930316925, -0.004874158184975386, 0.014062144793570042, 0.056999143213033676, -0.056271616369485855, 0.004176860209554434, 0.07051055878400803, -0.0022802550811320543, 0.03613724559545517, -0.058351486921310425, -0.030036507174372673, 0.010712157003581524, -0.018297720700502396, -0.034851107746362686, 0.05815708264708519, -0.015547876246273518, -0.006962750107049942, -0.019567759707570076, -0.03240514546632767, -0.0033752727322280407, 0.07394208759069443, -0.005612925626337528, -0.03273836150765419, -0.029435327276587486, 0.022074144333600998, 0.041806209832429886, 0.049603983759880066, -0.021540721878409386, 0.028254348784685135, 0.060303475707769394, 0.041869860142469406, -0.02836863324046135, 0.02792157419025898, 0.007446717470884323, -0.02163010835647583, -0.02007897011935711, 0.008722669444978237, -0.007266858126968145, -0.05664556100964546, 0.041593682020902634, -0.0012110244715586305, 0.010115450248122215, -0.05859389901161194, -0.05116145685315132, 0.03937028720974922, -0.0038687032647430897, 0.004713357891887426, 0.012562339194118977, 0.01738547347486019, -0.013369472697377205, 0.04836402088403702, -0.004181714728474617, 0.020685557276010513, -0.03772320970892906, -0.025075040757656097, 0.0031113780569285154, -0.015525258146226406, 0.04323364421725273, 0.04344826564192772, -0.02177695743739605, 0.08782777935266495, -0.04431068152189255, 0.02083265595138073, -0.04850110411643982, -0.04351073130965233, 0.019600775092840195, 0.06387165933847427, 0.03195708617568016, 0.0504915788769722, -0.001502147875726223, -0.03218155354261398, 0.0418776236474514, 0.07420478761196136, 0.03859301283955574, 0.006103374529629946, -0.03555871546268463, -0.016071481630206108, 0.062110163271427155, 0.05764683708548546, -0.06844665110111237, -0.013970417901873589, 0.0032133536878973246, 0.02390516735613346, 0.012537466362118721, 0.006650933530181646, -0.03219951316714287, 0.03699342533946037, -0.05734432861208916, -0.05750516802072525, 0.04848529398441315, 0.010062535293400288, -0.005188883747905493, 0.030232954770326614, 0.017874032258987427, 0.004298653453588486, 0.023415502160787582, 0.01918351650238037, -0.003405441530048847, -0.06565117090940475, 0.026391590014100075, -0.004368561785668135, 0.046574126929044724, -0.06328513473272324, 0.02472429722547531, -0.02842632122337818, 0.015342218801379204, 0.045628372579813004, -0.04535045847296715, 0.024739501997828484, 0.04511803016066551, 0.03536699712276459, -0.039646875113248825, 0.031228413805365562, 0.005621000658720732, 0.04584087058901787, 0.04440361261367798, 0.010867921635508537, 0.06472113728523254, 0.006079464685171843, 0.04256943613290787, 0.06269462406635284, 0.02819923684000969, 0.02410210482776165, 0.00820388738065958, 0.058740243315696716, 0.027169615030288696, -0.010760572738945484, 0.06544353812932968, -0.04962794482707977, 0.030055107548832893, -0.05374976620078087, -0.005892002955079079, -0.027429692447185516, -0.004995320923626423, 0.04729101434350014, 0.04043176770210266, -0.028148721903562546, -0.022429419681429863, 0.012097103521227837, 0.00040283860289491713, 0.0236559696495533, -0.001232564216479659, -0.0036617000587284565, -0.006127074360847473, -0.016087543219327927, -0.037436701357364655, -0.06916247308254242, -0.03873690590262413, -0.023963814601302147, -0.018360145390033722, -0.020633159205317497, -0.09041023254394531, -0.007429350633174181, -0.07569645345211029, -0.032261379063129425, 0.03779594600200653, 0.03493760526180267, -0.016917362809181213, -0.025586126372218132, 0.021797578781843185, -0.06105465441942215, -0.042006634175777435, -0.056422047317028046, -0.04240746051073074, -0.05607327073812485, -0.0715816393494606, 0.03892822563648224, 0.029558371752500534, 0.010141045786440372, 0.014342058449983597, 0.026212774217128754, -0.009175888262689114, -0.012741053476929665, 0.04456448554992676, 0.06366144865751266, -0.03310433402657509, -0.036090485751628876, 0.026347681879997253, -0.003710830118507147, 0.021564852446317673, 0.019681932404637337, -0.02647431008517742, 0.07596288621425629, 0.08257408440113068, 0.02315244823694229, 0.023297762498259544, -0.010123911313712597, -0.06028485670685768, -0.07347714900970459, -0.017118968069553375, -0.04709726572036743, -0.014908136799931526, -0.049395207315683365, -0.03419221565127373, -0.014519917778670788, -0.0390038900077343, 0.0033138964790850878, -0.017087744548916817, 0.03224414214491844, 0.023569803684949875, 0.030773378908634186, 0.01600116677582264, 0.03478924185037613, -0.03739609196782112, -0.05022364854812622, 0.0367870032787323, 0.007391189690679312, 0.012483962811529636, -0.09479785710573196, -0.015487942844629288, 0.03291461616754532, 0.014898916706442833, 0.007594060618430376, -0.008019823580980301, 0.06953798979520798, -0.010977255180478096, -0.003749544033780694, 0.009415258653461933, -0.02112174592912197, -0.002884521847590804, 0.006259314715862274, 0.007921863347291946, 0.004468192812055349, -0.02457062341272831, -0.0321279801428318, 0.012323375791311264, 0.03624655306339264, -0.05823491886258125, -0.040369078516960144, -0.017782004550099373, 0.031149262562394142, 0.047946199774742126, 0.0021243146620690823, -0.05347432568669319, -0.01564215123653412, -0.07485238462686539, -0.017624061554670334, 0.03485143929719925, 0.026564540341496468, 0.011822490952908993, 0.04361415654420853, 0.012317445129156113, -0.014711659401655197, 0.023387553170323372, 0.058744996786117554, 0.07628410309553146, 0.00263921357691288, -0.07185680419206619, -0.011666009202599525, -0.03028985857963562, 0.020135750994086266, 0.003997933119535446, -0.02261502295732498, -0.024601250886917114, -0.08535562455654144, -0.0261927992105484, 0.008963353000581264, 0.0011272963602095842, -0.016370605677366257, 0.017645372077822685, 0.013012770563364029, -0.01747368834912777, 0.011052501387894154, 0.020338304340839386, 0.042089544236660004, -0.02237415686249733, 0.05978921800851822, -0.016775967553257942, 0.013223552145063877, -0.061891332268714905, -0.0012950198724865913, -0.04191547632217407, -0.018679115921258926, 0.006798688787966967, 0.05389706790447235, -0.025634855031967163, 0.03951174393296242, 0.08536400645971298, 0.030519584193825722, -0.049882613122463226, 0.03629613295197487, 0.07147501409053802, -0.03965741768479347, -0.03933175280690193, -0.014853058382868767, -0.00405218917876482, -0.033125266432762146, -0.004138232208788395, -0.02021525613963604, 0.04595942422747612, 0.053286802023649216, 0.0007956158369779587, 0.010496971197426319, -0.001720636384561658, -0.0035267493221908808, -0.03181750327348709, -0.0714835673570633, -0.035904936492443085, 0.015139201655983925, -0.044195834547281265, 0.026418423280119896, 0.03354208543896675, 0.02914554439485073, 0.07423277944326401, 0.03125015273690224, -0.028118856251239777, -0.021299544721841812, 0.029807738959789276, 0.014953114092350006, -0.03150871768593788, -0.06368590891361237, -0.0410880409181118, 0.0288636963814497, 0.05212628096342087, -0.021670063957571983, -0.06060594692826271, 0.003255941439419985, 0.04012805223464966, -0.042542509734630585, 0.07332837581634521, -0.010111401788890362, 0.04772203415632248, 0.05018344894051552, -0.007199186831712723, 0.04200603440403938, -0.033691003918647766, -0.014440189115703106, 0.01572120375931263, 0.03364857658743858, -0.02880563959479332, -0.03578813001513481, -0.036156732589006424, 0.029582858085632324, 0.04182877391576767, 0.039939966052770615, 0.03870471566915512, -0.030424004420638084, -0.03392975032329559, 0.020059915259480476, 0.027874557301402092, -0.04102927818894386, -0.0072912671603262424, 0.03046596422791481, 0.041268300265073776, -0.04563714936375618, -0.018867475911974907, -0.03570813313126564, -0.016669783741235733, 0.03613419458270073, 0.01242041029036045, -0.03499162569642067, -0.04072662815451622, 0.034478724002838135, -0.013261779211461544, -0.014867081306874752, -0.06954465806484222, 0.06092088297009468, 0.005415931344032288, -0.02012544497847557, 0.051067229360342026, 0.037824537605047226, 0.038562651723623276, 0.06452248245477676, 0.040652625262737274, 0.0018876923713833094, -0.04568198323249817, 0.03283645957708359, -0.040086984634399414, -0.03240206465125084, 0.003794384188950062, -0.04490840807557106, -0.02450215257704258, -0.006246265955269337, -0.05463578179478645, -0.04356832802295685, -0.02113565243780613, 0.02478797547519207, 0.010770808905363083, -0.007887652143836021, -0.00687055429443717, 0.04912073537707329, -0.018393468111753464, -0.03774510696530342, -0.04283927008509636, -0.025001103058457375, -0.07474195212125778, -0.051961466670036316, -0.0024930534418672323, 0.004381927661597729, 0.026308922097086906, 0.03650902211666107, 0.024485096335411072, 0.016676446422934532, 0.02991088293492794, -0.04414965584874153, 0.005472681485116482, 0.01233767718076706, -0.03157532587647438, -0.01905841939151287, 0.03434373810887337, 0.011448012664914131, 0.030351785942912102, -0.028463391587138176, 0.04049687087535858, 0.007240429054945707, -0.006032425910234451, -0.02002047188580036, 0.01705550216138363, 0.028515446931123734, -0.06962768733501434, -0.03534175083041191, -0.01589476875960827, -0.015667596831917763, 0.028853725641965866, -0.0336286760866642, -0.019458651542663574, 0.004064615815877914, -0.004626866430044174, 0.03507201001048088, -0.033292505890131, -0.01849491149187088, 0.03145372495055199, 0.0013149072183296084, 0.03461489826440811, -0.034070566296577454, 0.0764433890581131, -0.04517239332199097, 0.026170574128627777, -0.029566213488578796, 0.003198853461071849, -0.030001329258084297, 0.012216860428452492, -0.014198166318237782, -0.016510291025042534, -0.0018841830315068364, 0.04787285253405571, -0.03409840911626816, 0.01947137340903282, -0.028670817613601685, 0.03939181938767433, -0.016391579061746597, 0.06477382779121399, -0.04783010482788086, 0.018593069165945053, -0.032011985778808594, 0.040714919567108154, -0.04246727377176285, 0.010635269805788994, -0.001057333778589964, -0.016618827357888222, 0.04068415239453316, 0.06021633371710777, 0.02426123060286045, 0.031708624213933945, -0.00640848046168685, -0.013838451355695724, 0.025044476613402367, -0.05155171826481819, -0.010910317301750183, -0.015203922986984253, 0.014865526929497719, -0.027180954813957214, 0.06008315086364746, 0.04048147052526474, -0.04683631286025047, -0.07114439457654953, 0.03662462905049324, 0.01934715546667576, 0.013111406937241554, 0.010500075295567513, 0.059137895703315735, 0.02565702609717846, 0.035618044435977936, -0.023150674998760223, -0.01090629305690527, 0.0016757822595536709, -0.0444415882229805, 0.019474035128951073, -0.01130780391395092, 0.02899777516722679, 0.005921762436628342, -0.03802655264735222, -0.02671799436211586, 0.05438236519694328, 0.025712814182043076, 0.030998051166534424, -0.011041570454835892, -0.05197426304221153, 0.017132438719272614, -0.009693201631307602, -0.038048792630434036, 0.022846607491374016, 0.015657369047403336, -0.04047977551817894, 0.05193279683589935, 0.00473854411393404, 0.015604667365550995, 0.053275078535079956, 0.026012225076556206, -0.0157441608607769, 0.05463286489248276, -0.044074300676584244, 0.017795821651816368, 0.03238576278090477, -0.07856007665395737, 0.0013453460996970534, -0.0568111427128315, 0.0628742128610611, -0.054950062185525894, 0.03219834342598915, 0.04728608578443527, -0.007484095171093941, 0.02677907980978489, -0.047424305230379105, -0.0658617913722992, 0.012096676044166088, -0.03126341477036476, 0.08039705455303192, -0.0012950266245752573, -0.04973927512764931, 0.056913603097200394, 0.022498397156596184, -0.05482848361134529, 0.033692631870508194, 0.024469850584864616, 0.06820511817932129, 0.027732811868190765, 0.05940009653568268, -0.041653309017419815, 0.0005268504610285163, -0.044883377850055695, 0.007231438532471657, -0.051993660628795624, -0.010646823793649673, 0.037437453866004944, -0.04136313125491142, -0.022486789152026176, 0.04758317396044731, -0.02921043522655964, -0.020433459430933, 0.052556708455085754, -0.03698037564754486, -0.033947523683309555, 0.022109216079115868, 0.006972293369472027, -0.03989206254482269, -0.003472682321444154, -0.032276980578899384, 0.01689455285668373, 0.0009228285634890199, 0.0010642932029441, -0.013763053342700005, -0.0227840393781662, 0.03716914355754852, -0.03358670324087143, -0.028076445683836937, 0.033941883593797684, -0.006468755193054676, -0.020737452432513237, 0.03837399184703827, 0.010966225527226925, 0.012579932808876038, 0.02830633334815502, -0.0006718200747855008, 0.012406688183546066, -0.03902524709701538, -0.019436055794358253, 0.020840412005782127, 0.0036293864250183105, 0.029938967898488045, 0.007991345599293709, 0.04536223039031029, 0.05456342175602913, 0.015926681458950043, -0.005891763139516115, -0.03483324125409126, -0.013891179114580154, 0.023847604170441628, -0.032070036977529526, 0.006388995796442032, 0.0004362344043329358, -0.05377061292529106, -0.013272984884679317, 0.0063868314027786255, -0.047560326755046844, 0.0333649218082428, -0.07304279506206512, 0.02125277929008007, 0.0450911670923233, -0.0003246554988436401, -0.05446593835949898, -0.10187263786792755, -0.00909677054733038, -0.032973941415548325, -0.008054083213210106, 0.026293164119124413, -0.016905643045902252, 0.02851974219083786, -0.03402088209986687, -0.032886382192373276, 0.03835977613925934, 0.04887372627854347, -0.05449046939611435, 0.06424432247877121, 0.042598430067300797, -0.05112187936902046, 0.012193816713988781, 0.014908624812960625, -0.04210798814892769, 0.013863055035471916, 0.014927836135029793, 0.0036711341235786676, 0.03330598771572113, 0.01326550729572773, -0.0632733702659607, -0.02628949284553528, -0.0737360268831253, -0.03478489816188812, -0.0404839888215065, 0.0058755832724273205, 0.03972237929701805 ]
AnonymousSub/SR_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
This is a RoBERTa-large classifier trained on the CoLA corpus [Warstadt et al., 2019](https://www.mitpressjournals.org/doi/pdf/10.1162/tacl_a_00290), which contains sentences paired with grammatical acceptability judgments. The model can be used to evaluate fluency of machine-generated English sentences, e.g. for evaluation of text style transfer. The model was trained in the paper [Krishna et al, 2020. Reformulating Unsupervised Style Transfer as Paraphrase Generation](https://arxiv.org/abs/2010.05700), and its original version is available at [their project page](http://style.cs.umass.edu). We converted this model from Fairseq to Transformers format. All credit goes to the authors of the original paper. ## Citation If you found this model useful and refer to it, please cite the original work: ``` @inproceedings{style20, author={Kalpesh Krishna and John Wieting and Mohit Iyyer}, Booktitle = {Empirical Methods in Natural Language Processing}, Year = "2020", Title={Reformulating Unsupervised Style Transfer as Paraphrase Generation}, } ```
[ -0.02032887376844883, -0.002844699425622821, -0.020202666521072388, 0.07289672642946243, 0.055848170071840286, 0.04920826107263565, -0.019521746784448624, 0.012760252691805363, -0.03543738275766373, 0.057384852319955826, 0.020416568964719772, -0.013842145912349224, 0.01631275936961174, 0.020175758749246597, -0.03505556285381317, -0.044503286480903625, -0.017610611394047737, 0.0004031354037579149, -0.007397732697427273, -0.04197429120540619, 0.005685202311724424, -0.015555198304355145, -0.01258240919560194, -0.004226386547088623, 0.006863291375339031, 0.004845012910664082, -0.010751399211585522, 0.006441465113312006, 0.022325562313199043, -0.056031983345746994, 0.017787333577871323, -0.04461246728897095, -0.04208773002028465, 0.01372332964092493, -0.024073636159300804, 0.022482698783278465, 0.019731098785996437, -0.0024406162556260824, 0.023370737209916115, 0.04140942171216011, -0.011988988146185875, 0.03470097854733467, -0.017573118209838867, -0.03170325234532356, 0.054194364696741104, -0.006638167891651392, -0.03971412777900696, -0.03356529027223587, 0.028154857456684113, -0.032845210283994675, -0.03577136993408203, -0.061342496424913406, -0.025416862219572067, 0.02254372276365757, -0.003537713550031185, -0.018162801861763, -0.0441151037812233, -0.028595635667443275, 0.061622295528650284, -0.051214031875133514, -0.011543050408363342, 0.02178298309445381, -0.06105318292975426, 0.0494791716337204, 0.042062222957611084, -0.05693616345524788, 0.0034480884205549955, -0.0348406620323658, 0.004564580041915178, -0.006281007546931505, 0.048104796558618546, -0.037565167993307114, 0.021858902648091316, -0.10247883945703506, -0.02031589113175869, -0.0173216313123703, 0.03842133283615112, 0.047328587621450424, -0.05831531062722206, 0.07471658289432526, 0.0004501196672208607, 0.0060831536538898945, 0.011328497901558876, -0.025353282690048218, 0.021383659914135933, 0.06211116164922714, -0.05285050347447395, -0.02513572946190834, 0.008873645216226578, 0.043627478182315826, -0.052393838763237, -0.05439208075404167, -0.027158470824360847, -0.04296965152025223, -0.030284656211733818, 0.02487190067768097, 0.04812493175268173, -0.015469729900360107, 0.03322308883070946, 0.019162118434906006, 0.03880558907985687, 0.04538389667868614, -0.03519018366932869, 0.01311617624014616, -0.01602262258529663, 0.024785203859210014, 0.000820478773675859, -0.02740044891834259, -0.03418773040175438, 0.05145321786403656, 0.03050919808447361, -0.04286978393793106, -0.05131915211677551, 0.04136727377772331, 0.01078655943274498, -0.03279276192188263, 0.05044291540980339, -0.020702125504612923, -0.043941304087638855, -0.06416843831539154, 0.0483827143907547, 0.025123607367277145, -0.011846652254462242, 0.012853630818426609, -0.046042680740356445, 0.03927384689450264, -0.03780660033226013, -0.05072763189673424, -0.007450360804796219, 0.03489554673433304, -0.020296858623623848, 0.03306380659341812, 0.022034985944628716, -0.058696530759334564, -0.00009985956421587616, 0.0378098227083683, -0.0733284130692482, 0.029172953218221664, 0.03889428824186325, 0.08779709041118622, -0.0662442073225975, -0.03169212490320206, 0.008273149840533733, 0.038669198751449585, -0.017820483073592186, 0.0015954215778037906, 0.03777191415429115, -0.04065283387899399, -0.01804324984550476, -0.00766435731202364, 0.07368054986000061, -0.0627221092581749, -0.006039696745574474, 0.04981592297554016, -0.026248812675476074, 0.05662015825510025, -0.047320012003183365, 0.006937325466424227, 0.003149588592350483, 0.003458114806562662, -0.06220507621765137, 0.028128281235694885, -0.02203839085996151, 0.0048972745425999165, -0.03405182063579559, -0.02741873264312744, 0.0038967367727309465, 0.0911673828959465, -0.010447254404425621, -0.036504339426755905, -0.03386737406253815, -0.0030371956527233124, 0.04430891200900078, 0.014560326933860779, -0.03811918944120407, 0.02565936930477619, 0.04710191488265991, 0.042707763612270355, -0.020233584567904472, 0.07412682473659515, 0.01588737778365612, -0.04089122638106346, -0.02679351530969143, 0.03726447373628616, -0.0025600548833608627, -0.03897939622402191, 0.031210221350193024, 0.06422584503889084, -0.02434445545077324, 0.009393032640218735, -0.02345559000968933, 0.06500980257987976, -0.015845637768507004, -0.0056588430888950825, 0.0017357929609715939, 0.0006276526837609708, -0.026004411280155182, 0.061786722391843796, -0.0422937385737896, 0.02892017737030983, -0.028852853924036026, -0.04143655300140381, 0.01657748408615589, 0.03773839399218559, 0.02607838623225689, 0.026593072339892387, -0.031993113458156586, 0.08723054826259613, -0.04731251671910286, 0.0198606476187706, -0.05523945763707161, -0.07436191290616989, -0.011432681232690811, 0.027721324935555458, -0.00432093208655715, 0.06842079013586044, 0.0185807216912508, -0.050585124641656876, 0.008687869645655155, 0.0647810697555542, 0.045500244945287704, 0.0461454838514328, -0.01894403249025345, -0.010905121453106403, 0.010083772242069244, 0.0550653338432312, -0.03659886494278908, -0.03521085903048515, 0.01944669894874096, 0.06508776545524597, -0.011553841643035412, 0.017408328130841255, -0.010609578341245651, 0.03247625380754471, -0.04108034446835518, -0.03755537420511246, 0.029422372579574585, 0.027809079736471176, -0.002709411783143878, 0.03974900022149086, -0.010609124787151814, -0.013078262098133564, 0.017132489010691643, -0.002743735909461975, -0.002311612479388714, -0.04982598125934601, -0.004333920311182737, 0.02019883506000042, 0.05240922421216965, -0.039623189717531204, 0.059671081602573395, -0.0038445594254881144, 0.01075657643377781, 0.024584244936704636, -0.004321545362472534, 0.027449410408735275, 0.06312496960163116, 0.023780202493071556, -0.011070145294070244, 0.011527023278176785, 0.008519318886101246, 0.045168083161115646, 0.053402189165353775, -0.004720789380371571, 0.05404933542013168, 0.009617743082344532, 0.05407553166151047, 0.08892533928155899, 0.01832856796681881, 0.00703336950391531, 0.06167389452457428, 0.06610464304685593, 0.018511159345507622, 0.00007212416676338762, 0.06731516122817993, -0.061528529971838, 0.03662232309579849, -0.041215818375349045, 0.046634022146463394, -0.013902081176638603, -0.03552849218249321, 0.05152968689799309, 0.02812512218952179, -0.014689801260828972, 0.034259676933288574, -0.021498989313840866, -0.004875653889030218, 0.04505673795938492, -0.0048453230410814285, 0.006395912729203701, -0.007525901310145855, -0.015167769975960255, -0.0024281723890453577, -0.0682651549577713, -0.05577582120895386, 0.009860626421868801, -0.040619298815727234, 0.011217045597732067, -0.06809680163860321, -0.034045953303575516, -0.056753650307655334, -0.04265227168798447, 0.030536962673068047, 0.01612735353410244, 0.013842560350894928, 0.00009201564535032958, 0.005923095159232616, -0.025231650099158287, -0.025770457461476326, -0.055447787046432495, -0.03817269578576088, -0.012415572069585323, -0.053569596260786057, 0.02391253225505352, 0.0030074326787143946, 0.028757145628333092, 0.001857881317846477, -0.007750142365694046, -0.043014366179704666, -0.023212814703583717, 0.06426695734262466, 0.03824375942349434, -0.016504935920238495, -0.006874632090330124, -0.0036671122070401907, -0.01576053909957409, 0.009774609468877316, -0.027151204645633698, -0.039030708372592926, 0.062196772545576096, 0.059188902378082275, 0.05507415533065796, 0.009016427211463451, -0.004988315515220165, -0.05812815949320793, -0.021255310624837875, -0.04073914512991905, -0.03831704333424568, -0.013452837243676186, -0.027270929887890816, -0.03864673525094986, -0.03389456868171692, 0.00274360878393054, -0.02336840331554413, -0.009718593209981918, 0.007572307251393795, 0.04937111586332321, 0.04289678856730461, 0.048402778804302216, -0.013750710524618626, -0.03215423598885536, -0.014005748555064201, 0.06293578445911407, 0.02163267694413662, 0.013993319123983383, -0.08594157546758652, -0.04080013185739517, 0.05487672612071037, 0.04888864979147911, 0.016625218093395233, -0.0005424640257842839, 0.06874652951955795, 0.018139008432626724, 0.005915651563555002, 0.02012210339307785, 0.010305444709956646, -0.008530722931027412, -0.003918622620403767, -0.036533255130052567, -0.05620592460036278, -0.05198480933904648, -0.039959363639354706, -0.05075819790363312, 0.07381545752286911, -0.07318092882633209, -0.04786808043718338, -0.011724523268640041, 0.035057201981544495, 0.03499915078282356, 0.018303046002984047, -0.019165093079209328, 0.005468366667628288, -0.042731814086437225, -0.02959216944873333, 0.015577457845211029, 0.006154350936412811, 0.023686911910772324, 0.02906898409128189, 0.02907085232436657, -0.022125989198684692, 0.02728952467441559, 0.01405445858836174, 0.03589654341340065, 0.021120168268680573, -0.04206320270895958, 0.045931532979011536, -0.027865782380104065, 0.044244538992643356, 0.0018630556296557188, -0.025616556406021118, -0.0552937388420105, -0.058987364172935486, -0.01598614640533924, -0.0065593840554356575, -0.014048813842236996, -0.020495671778917313, 0.03510180115699768, -0.023748327046632767, -0.020883819088339806, -0.008981343358755112, 0.009806886315345764, 0.05167105048894882, -0.05230585113167763, 0.027025386691093445, -0.002262287773191929, 0.0425942987203598, -0.05336510017514229, -0.016104435548186302, -0.04223325103521347, -0.05288226529955864, 0.02795947715640068, 0.05962279438972473, 0.021658241748809814, 0.0452304407954216, 0.07686509191989899, 0.025191916152834892, -0.0445912703871727, 0.03183254599571228, 0.05040348693728447, 0.00787519570440054, -0.042416512966156006, -0.0019290029304102063, -0.026193466037511826, -0.047118544578552246, -0.021439529955387115, -0.025519780814647675, 0.02869192138314247, 0.030535077676177025, 0.011379308067262173, -0.012232808396220207, 0.002268487587571144, -0.02131563238799572, -0.02038925513625145, -0.09162173420190811, -0.020959626883268356, -0.03552723675966263, -0.0023835371248424053, 0.035165417939424515, 0.037505995482206345, 0.009812035597860813, 0.06338689476251602, 0.04832592234015465, -0.032186541706323624, -0.03612411767244339, 0.026990871876478195, 0.017348837107419968, -0.04643247649073601, -0.029749102890491486, -0.06756339222192764, 0.03318687528371811, 0.025635231286287308, -0.04637590050697327, -0.09214522689580917, -0.0010672686621546745, 0.07017876952886581, -0.0348660834133625, 0.037863679230213165, 0.009484698995947838, 0.0386899895966053, 0.05205123499035835, -0.014563907869160175, 0.03654533252120018, -0.028888311237096786, -0.011298912577331066, -0.01420365460216999, 0.046655841171741486, -0.03651818633079529, -0.024212729185819626, -0.05976342037320137, 0.05161941051483154, 0.03163230046629906, 0.049873676151037216, 0.0565774105489254, -0.00982474721968174, -0.05242184177041054, 0.016191823408007622, 0.00723685696721077, -0.021796923130750656, 0.02639007940888405, 0.02198493480682373, 0.03759188577532768, -0.024659110233187675, -0.03672034665942192, -0.00952819548547268, 0.014699798077344894, 0.01429732982069254, -0.011748678982257843, -0.019266173243522644, -0.04230917617678642, 0.019711067900061607, 0.006569491699337959, -0.0162405576556921, -0.08868931978940964, 0.026242084801197052, 0.015247134491801262, -0.01815066486597061, 0.041724078357219696, 0.011152364313602448, 0.052531130611896515, 0.03895103931427002, -0.00033231484121643007, 0.05323603376746178, -0.029490618035197258, 0.019436046481132507, -0.019551025703549385, -0.027431942522525787, -0.010345375165343285, -0.047285761684179306, -0.022821804508566856, -0.04545177146792412, -0.05902981758117676, -0.05264628678560257, -0.010869942605495453, 0.01244522538036108, -0.040629494935274124, 0.009418874979019165, -0.013898364268243313, 0.02516765706241131, -0.01941811293363571, 0.0080381128937006, -0.019068550318479538, -0.053413327783346176, -0.07943437993526459, -0.011559679172933102, 0.02094578742980957, 0.01412317156791687, 0.025100525468587875, 0.00020482108811847866, -0.013040708377957344, 0.013493405655026436, -0.010869565419852734, -0.03400402516126633, 0.03613629937171936, -0.00415967358276248, -0.04173625633120537, -0.04198618605732918, -0.005123945884406567, 0.006793302018195391, -0.009450679644942284, -0.02323467656970024, 0.020534241572022438, 0.02112014964222908, -0.013705414719879627, -0.0114678293466568, 0.03542443737387657, -0.0008478567469865084, -0.0903107076883316, -0.056924208998680115, -0.014949620701372623, -0.032379064708948135, 0.03915432095527649, 0.016529003158211708, -0.0191696397960186, 0.013471278361976147, 0.04747117683291435, 0.03365550562739372, 0.006550496444106102, -0.023063456639647484, -0.007157537620514631, -0.03164033964276314, 0.035496145486831665, -0.06695950776338577, 0.024945750832557678, -0.05157320573925972, -0.010355329141020775, -0.01672488823533058, 0.013177516870200634, -0.06669588387012482, 0.037983570247888565, -0.011704500764608383, 0.00925539992749691, -0.022979769855737686, 0.04780510440468788, -0.039847783744335175, 0.02253429964184761, -0.007342594210058451, 0.027521353214979172, -0.02943589724600315, 0.06840759515762329, -0.04855099320411682, -0.004048535134643316, -0.033458221703767776, 0.015021433122456074, -0.03463196009397507, -0.03570731356739998, -0.01067445334047079, -0.0427800677716732, 0.03479134663939476, 0.04895823448896408, 0.024791507050395012, 0.040423668920993805, 0.006369460839778185, 0.008645267225801945, 0.02521967887878418, -0.06353490054607391, -0.016703207045793533, -0.004228340927511454, 0.012924565002322197, -0.013529457151889801, 0.052400581538677216, 0.010243825614452362, -0.06692571938037872, -0.05297674238681793, 0.03015005588531494, -0.006908444222062826, 0.01570051908493042, -0.001591784879565239, 0.03548042103648186, 0.0367543026804924, 0.04516139253973961, -0.04250505194067955, -0.021419445052742958, -0.026106111705303192, -0.01860283687710762, 0.0003649489372037351, -0.009882086887955666, 0.007780922576785088, 0.007623841054737568, -0.039133280515670776, -0.04899986460804939, 0.07076413184404373, 0.018947985023260117, 0.016743436455726624, 0.018839599564671516, -0.06628049165010452, -0.005984486546367407, -0.0039634695276618, -0.027880094945430756, -0.01632598415017128, -0.004639217164367437, -0.044969119131565094, 0.06347840279340744, 0.004082018043845892, 0.00325501780025661, 0.0455850213766098, 0.00787246786057949, -0.02052639052271843, 0.023659413680434227, -0.04257076233625412, -0.005631968379020691, 0.030870601534843445, -0.07634910941123962, -0.03644629567861557, -0.02495393715798855, 0.06550291180610657, -0.03918246552348137, 0.043076690286397934, 0.04591989889740944, 0.03953086957335472, 0.0009051028755493462, -0.03564760461449623, -0.04503335431218147, 0.02282840944826603, -0.025887012481689453, 0.060337599366903305, -0.003869705367833376, -0.060479387640953064, 0.06127046421170235, 0.03056836687028408, -0.1115705817937851, 0.014867085963487625, 0.032094404101371765, 0.042609747499227524, 0.022489827126264572, 0.030726486817002296, -0.057800330221652985, 0.04592091590166092, -0.030640611425042152, 0.023333942517638206, -0.06203268840909004, -0.014593353495001793, 0.013281462714076042, -0.01009807176887989, -0.013410243205726147, 0.04389551654458046, -0.040270157158374786, 0.017482882365584373, 0.02698570117354393, -0.04670285806059837, -0.05294796824455261, -0.015008597634732723, -0.024322479963302612, -0.041813451796770096, 0.009614599868655205, -0.031911104917526245, 0.02013014443218708, 0.015699733048677444, -0.011027359403669834, -0.026596201583743095, -0.0028078353498131037, 0.0507136695086956, -0.049267590045928955, -0.018775910139083862, 0.01848171092569828, 0.015816515311598778, -0.015284410677850246, 0.03436879813671112, -0.03414536640048027, 0.001660477719269693, 0.011901668272912502, -0.00893543753772974, 0.02281167171895504, -0.04530487209558487, 0.0144155602902174, 0.019617246463894844, 0.0008474765345454216, 0.02109687402844429, -0.0010281488066539168, 0.03368251025676727, 0.04595934599637985, 0.0029816196765750647, 0.004790338221937418, -0.03155222162604332, -0.055858585983514786, 0.008233805187046528, -0.016254335641860962, 0.02532629854977131, 0.003908292856067419, -0.04726668447256088, -0.030957873910665512, -0.0480254590511322, -0.013885872438549995, 0.030145419761538506, -0.04358718916773796, -0.01139878574758768, 0.04627515748143196, -0.031806524842977524, -0.047981180250644684, -0.03391679376363754, -0.047462206333875656, -0.016336290165781975, 0.006401303224265575, 0.013952719047665596, -0.014259153977036476, -0.006490499712526798, -0.05286490172147751, -0.05289383977651596, 0.037247348576784134, 0.017114458605647087, -0.02910616248846054, 0.04402219504117966, 0.014595512300729752, -0.04202939569950104, 0.006983830593526363, 0.038248367607593536, -0.04913625493645668, 0.0276360921561718, -0.010029463097453117, 0.043948881328105927, 0.013212857767939568, 0.03672969341278076, -0.00989551842212677, -0.042065538465976715, -0.04533780738711357, -0.01594233699142933, -0.05552568659186363, 0.015211053192615509, 0.04114334285259247 ]
AnonymousSub/SR_rule_based_roberta_bert_triplet_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: ["ru"] tags: - sentence-similarity - text-classification datasets: - merionum/ru_paraphraser --- This is a version of paraphrase detector by DeepPavlov ([details in the documentation](http://docs.deeppavlov.ai/en/master/features/overview.html#ranking-model-docs)) ported to the `Transformers` format. All credit goes to the authors of DeepPavlov. The model has been trained on the dataset from http://paraphraser.ru/. It classifies texts as paraphrases (class 1) or non-paraphrases (class 0). ```python import torch from transformers import AutoModelForSequenceClassification, BertTokenizer model_name = 'cointegrated/rubert-base-cased-dp-paraphrase-detection' model = AutoModelForSequenceClassification.from_pretrained(model_name).cuda() tokenizer = BertTokenizer.from_pretrained(model_name) def compare_texts(text1, text2): batch = tokenizer(text1, text2, return_tensors='pt').to(model.device) with torch.inference_mode(): proba = torch.softmax(model(**batch).logits, -1).cpu().numpy() return proba[0] # p(non-paraphrase), p(paraphrase) print(compare_texts('Сегодня на улице хорошая погода', 'Сегодня на улице отвратительная погода')) # [0.7056226 0.2943774] print(compare_texts('Сегодня на улице хорошая погода', 'Отличная погодка сегодня выдалась')) # [0.16524374 0.8347562 ] ``` P.S. In the DeepPavlov repository, the tokenizer uses `max_seq_length=64`. This model, however, uses `model_max_length=512`. Therefore, the results on long texts may be inadequate.
[ -0.012960421852767467, -0.02615983411669731, -0.02105661854147911, 0.07469900697469711, 0.05464973673224449, 0.027028823271393776, -0.013006331399083138, -0.007289721630513668, -0.0545818954706192, 0.06528136134147644, 0.03580419719219208, 0.001456957426853478, -0.014544409699738026, 0.033409636467695236, -0.00883327517658472, -0.03859073668718338, -0.04327453672885895, -0.007151676807552576, -0.03520387038588524, -0.01145508699119091, -0.02106805518269539, -0.019212014973163605, -0.00570526672527194, 0.016837777569890022, 0.001391120720654726, 0.015329749323427677, -0.01961134374141693, 0.0066360412165522575, 0.02395014651119709, -0.05744507536292076, 0.011891327798366547, -0.029474887996912003, -0.05079370364546776, -0.014116460457444191, -0.014847226440906525, 0.0047322469763457775, 0.00027726171538233757, 0.019953642040491104, 0.009580886922776699, 0.05596834421157837, 0.0011519163381308317, -0.018271680921316147, 0.013955557718873024, -0.03599125146865845, 0.03239082172513008, 0.009566244669258595, -0.039527639746665955, -0.010147406719624996, 0.04343368485569954, -0.02660873532295227, -0.030467258766293526, -0.07115558534860611, -0.0304599367082119, 0.01241031102836132, -0.008452595211565495, -0.013285147957503796, -0.05478527396917343, -0.003758764360100031, 0.07025562226772308, -0.04649141803383827, -0.022104507312178612, 0.009791655465960503, -0.05223497375845909, 0.03588123247027397, 0.0262745413929224, -0.05176903307437897, 0.015098812989890575, -0.05641574785113335, 0.020450614392757416, -0.033377472311258316, 0.06483101844787598, -0.03226137161254883, 0.05332498624920845, -0.10320742428302765, -0.00006997504533501342, -0.017464343458414078, 0.0319620743393898, 0.04430563747882843, -0.025899874046444893, 0.06717662513256073, 0.016232265159487724, -0.00010726591426646337, 0.03484851121902466, -0.033889248967170715, -0.01109723374247551, 0.08226718753576279, -0.016318397596478462, -0.009468484669923782, -0.00908864289522171, 0.04471955448389053, -0.04075078293681145, -0.020979631692171097, -0.02656400203704834, -0.03844928741455078, -0.00711405836045742, 0.03423953801393509, 0.057668477296829224, -0.033566851168870926, 0.029671160504221916, 0.003876701695844531, 0.025286376476287842, 0.05453254282474518, -0.007627884391695261, 0.040607914328575134, -0.010121133178472519, 0.002203752752393484, -0.02043393813073635, -0.032478779554367065, -0.05088126286864281, 0.026122521609067917, 0.043021392077207565, -0.038375500589609146, -0.04623463377356529, 0.04108458384871483, 0.013190770521759987, -0.005311139859259129, 0.045344509184360504, -0.03231000527739525, -0.043459370732307434, -0.060097504407167435, 0.0441226102411747, -0.0023089649621397257, 0.010355685837566853, 0.012827822007238865, -0.042304977774620056, 0.03457286208868027, -0.07047790288925171, -0.04946929216384888, -0.006105437874794006, 0.02774186246097088, -0.012843381613492966, 0.02778262458741665, 0.023672550916671753, -0.0431365929543972, 0.0018998405430465937, -0.0057205012999475, -0.06698032468557358, 0.037497829645872116, 0.03896714001893997, 0.10520104318857193, -0.04961853474378586, -0.03141402080655098, 0.019066477194428444, 0.005427021533250809, -0.020011503249406815, 0.016147660091519356, 0.0040651243180036545, -0.024395376443862915, -0.03406507521867752, 0.0036758240312337875, 0.05745365098118782, -0.04372863844037056, 0.006930515170097351, 0.043605737388134, -0.01586567610502243, 0.03628954291343689, -0.028575019910931587, 0.006593523547053337, 0.01073100883513689, -0.012436837889254093, -0.049222432076931, 0.029206765815615654, 0.01778254844248295, -0.0004990827292203903, -0.039434708654880524, -0.03725437819957733, 0.009647360071539879, 0.0798870325088501, 0.010272171348333359, -0.027768511325120926, -0.038313157856464386, -0.0017017258796840906, 0.054132938385009766, 0.03479378670454025, -0.02136905863881111, 0.030124278739094734, 0.05286481976509094, 0.036862362176179886, -0.0002526826865505427, 0.05517742782831192, -0.0044990647584199905, -0.05961582064628601, -0.007908075116574764, 0.01856142096221447, -0.005555896088480949, -0.018316594883799553, 0.0289913397282362, 0.0458347387611866, -0.020685449242591858, -0.037415776401758194, -0.001031258376315236, 0.05725685507059097, -0.018841849640011787, -0.0073014614172279835, 0.011763648129999638, -0.009183586575090885, -0.022312285378575325, 0.06774324178695679, -0.007981006987392902, -0.01515805535018444, -0.005646626930683851, -0.026419689878821373, 0.012660113163292408, 0.032376907765865326, 0.0029177581891417503, 0.03778503090143204, -0.025540759786963463, 0.08835721760988235, -0.02120877429842949, 0.00832910742610693, -0.05832203850150108, -0.05157472938299179, -0.009315812028944492, 0.013097364455461502, 0.029466059058904648, 0.06080474704504013, 0.005581946112215519, -0.042290911078453064, 0.03378036990761757, 0.035981595516204834, 0.051525041460990906, 0.029273688793182373, -0.03133055195212364, 0.020073849707841873, -0.0056723435409367085, 0.0584581196308136, -0.01632857136428356, -0.040079209953546524, 0.021418504416942596, 0.04780932888388634, -0.015357347205281258, 0.019582346081733704, 0.006675136741250753, 0.010751329362392426, -0.02645045518875122, -0.0652693659067154, 0.05088441073894501, 0.028861084952950478, 0.01069692149758339, 0.011626023799180984, -0.014564696699380875, 0.008802780881524086, 0.0374327190220356, 0.008954349905252457, -0.018103547394275665, -0.0680224820971489, -0.01424894854426384, 0.025799307972192764, 0.045575570315122604, -0.03382374346256256, 0.028928117826581, 0.0006821118295192719, 0.011471516452729702, 0.032415613532066345, -0.030711578205227852, 0.008105002343654633, 0.03734401986002922, 0.016063103452324867, -0.02828936278820038, 0.0024270121939480305, -0.005010808352380991, 0.02861812710762024, 0.0865141898393631, -0.04914854094386101, 0.04936759173870087, 0.0107549037784338, 0.023346606642007828, 0.09714975208044052, 0.02710249274969101, 0.00931279081851244, 0.02961958386003971, 0.07022802531719208, -0.008900251239538193, -0.010205241851508617, 0.053888674825429916, -0.04842481017112732, 0.023753581568598747, -0.043855104595422745, 0.03578430786728859, -0.020105041563510895, -0.015183850191533566, 0.04790826141834259, 0.01890590600669384, -0.023294320330023766, 0.013872969895601273, -0.01463503111153841, -0.02129759080708027, 0.01877903752028942, 0.008523295633494854, 0.010027121752500534, 0.008925523608922958, -0.02279055118560791, 0.018164558336138725, -0.08659490942955017, -0.04834772273898125, 0.019177762791514397, -0.02808048203587532, 0.018307823687791824, -0.07773978263139725, -0.07994711399078369, -0.06560026109218597, -0.022385140880942345, 0.03761563450098038, 0.025571364909410477, 0.013752086088061333, -0.010970544070005417, 0.012734751217067242, -0.030233893543481827, -0.006044171284884214, -0.05102234333753586, -0.006405480671674013, -0.034777212888002396, -0.06906228512525558, 0.025974642485380173, -0.0034889692906290293, 0.04703561216592789, 0.0107810627669096, -0.010823794640600681, -0.026030953973531723, -0.016548549756407738, 0.04668552428483963, 0.045456551015377045, -0.010675627738237381, -0.044832706451416016, 0.027931997552514076, -0.016118161380290985, 0.013591659255325794, -0.004162766970694065, -0.04031308367848396, 0.07885895669460297, 0.07697948813438416, 0.01701277494430542, 0.009590666741132736, 0.007970189675688744, -0.06190613657236099, -0.029950376600027084, -0.02145605906844139, -0.06813225895166397, -0.035663727670907974, -0.04690684750676155, -0.05079302564263344, -0.028774015605449677, -0.018914733082056046, -0.02440730296075344, 0.016209755092859268, 0.007645878940820694, 0.06771500408649445, 0.05249078944325447, 0.03033086471259594, 0.013965236023068428, -0.03407154232263565, -0.0006206246907822788, 0.08727683871984482, 0.0018487144261598587, 0.008796877227723598, -0.07336068898439407, -0.023626316338777542, 0.02296658605337143, 0.03237125650048256, -0.007330885156989098, -0.038369521498680115, 0.05773545056581497, 0.017239829525351524, 0.016459759324789047, 0.00548609858378768, -0.015197120606899261, -0.015681622549891472, -0.0028150242287665606, -0.0331219919025898, -0.021401038393378258, -0.037141043692827225, -0.05006488412618637, -0.025672009214758873, 0.04900972172617912, -0.06922277063131332, -0.05447165668010712, -0.007863346487283707, 0.03465244174003601, 0.016837235540151596, 0.0072252401150763035, -0.04035858064889908, 0.012038149870932102, -0.05679446458816528, -0.03575240820646286, 0.013240838423371315, -0.021076487377285957, 0.023938201367855072, 0.05874631181359291, 0.011344676837325096, -0.042944539338350296, 0.02407296746969223, 0.03590145334601402, 0.0393795520067215, 0.01909627392888069, -0.03912157565355301, 0.026309097185730934, -0.0167199969291687, 0.03048977069556713, -0.01995226740837097, -0.03147462382912636, -0.049655575305223465, -0.07615910470485687, -0.01267800759524107, 0.0017327704699710011, -0.008388380520045757, -0.022280089557170868, 0.02669072337448597, -0.03989088162779808, -0.017367364838719368, 0.00803288072347641, 0.03608853369951248, 0.0468907505273819, -0.04660108685493469, 0.04842659831047058, 0.0045548914931714535, 0.043062128126621246, -0.03812624514102936, 0.014755568467080593, -0.029076851904392242, -0.029395518824458122, 0.019370367750525475, 0.07379363477230072, 0.01909507066011429, 0.055399373173713684, 0.08411519974470139, 0.02972269058227539, -0.037065181881189346, 0.04903854429721832, 0.050866227596998215, 0.004405405838042498, -0.0503268763422966, -0.0013701390707865357, -0.008409632369875908, -0.03543778508901596, 0.004067814443260431, -0.034506652504205704, 0.027101151645183563, 0.04319372400641441, 0.021382996812462807, -0.02302085980772972, -0.006149861495941877, -0.04324701428413391, -0.0453919880092144, -0.060490015894174576, -0.0391959473490715, 0.0018530788365751505, 0.004062599502503872, 0.029476990923285484, 0.0550246387720108, 0.011094317771494389, 0.05833221599459648, 0.047605108469724655, -0.017207706347107887, -0.02762547694146633, 0.024718983098864555, 0.03177005052566528, -0.04399609938263893, -0.06585612148046494, -0.05593331158161163, 0.03841017186641693, 0.03710009157657623, -0.02050820365548134, -0.08074679970741272, 0.012449098750948906, 0.046195175498723984, -0.036825720220804214, 0.0557224303483963, 0.00454730587080121, 0.03834500536322594, 0.05640273168683052, 0.005054405424743891, 0.01281540747731924, -0.011978402733802795, 0.00602295808494091, 0.01270606741309166, 0.07162105292081833, -0.03745797276496887, -0.049230050295591354, -0.045495208352804184, 0.04415483400225639, 0.03928544372320175, 0.04724200814962387, 0.036177463829517365, -0.020955534651875496, -0.04686621576547623, 0.010871004313230515, 0.019325824454426765, -0.06832633912563324, 0.027463126927614212, 0.03358842059969902, 0.043521542102098465, -0.028259361162781715, -0.036744531244039536, -0.017262784764170647, 0.010010035708546638, 0.02754954807460308, 0.011896009556949139, -0.039467744529247284, -0.06119740754365921, 0.033637214452028275, -0.008937069214880466, -0.031003648415207863, -0.09795398265123367, 0.012906581163406372, -0.013964888639748096, -0.023127978667616844, 0.044997673481702805, 0.03110671043395996, 0.035734765231609344, 0.02514020726084709, -0.003631586441770196, 0.022504398599267006, -0.03396426886320114, 0.040926817804574966, -0.018543140962719917, -0.01539598498493433, -0.009448682889342308, -0.06351785361766815, -0.01562210638076067, -0.016665197908878326, -0.01840902678668499, -0.041354063898324966, -0.02315240167081356, 0.015011962503194809, -0.014831447042524815, -0.001725339563563466, -0.024993769824504852, 0.04149359464645386, -0.022007733583450317, 0.006182166747748852, -0.006440605502575636, -0.026386059820652008, -0.046564117074012756, -0.043689046055078506, 0.006899763364344835, -0.015453850850462914, 0.04423047602176666, 0.019917085766792297, -0.007875565439462662, 0.03976857662200928, 0.01128010731190443, -0.008825375698506832, 0.05359567329287529, 0.0069577619433403015, -0.046156253665685654, -0.045774661004543304, 0.023925617337226868, -0.002880164422094822, 0.020626956596970558, -0.01505376398563385, 0.03260597959160805, 0.025972506031394005, -0.032997015863657, -0.03130551800131798, 0.017965706065297127, 0.016946779564023018, -0.09070208668708801, -0.05943414196372032, -0.008484872058033943, -0.0439111702144146, 0.03106614015996456, -0.0007404236821457744, -0.023138102144002914, -0.000916149525437504, 0.04475647956132889, 0.025642281398177147, -0.007475789170712233, -0.01374832633882761, 0.016960861161351204, 0.009595261886715889, 0.030224693939089775, -0.07672183960676193, 0.022724749520421028, -0.012062683701515198, 0.0036881184205412865, -0.018148137256503105, -0.012460212223231792, -0.04482119157910347, 0.0437573678791523, -0.012045317329466343, -0.025081945583224297, -0.028930487111210823, 0.02465060167014599, -0.03120487742125988, 0.05658648908138275, -0.009892198257148266, 0.024756858125329018, -0.020924795418977737, 0.05202054977416992, -0.06867797672748566, -0.003907707519829273, -0.03169279918074608, -0.007472215220332146, -0.033360373228788376, 0.00011537675891304389, -0.031592220067977905, -0.04110303148627281, 0.0318559929728508, 0.025284988805651665, 0.032721903175115585, 0.05074209347367287, -0.0029449949506670237, 0.005442976951599121, 0.015666432678699493, -0.06361054629087448, -0.05436643585562706, -0.03151789307594299, 0.00876353494822979, -0.012672402895987034, 0.043638817965984344, 0.04088021442294121, -0.04527658596634865, -0.04367067664861679, 0.03701172024011612, 0.001544256112538278, -0.007529622409492731, 0.005465935915708542, 0.006647511851042509, 0.03350711986422539, 0.04430929943919182, -0.03415646776556969, 0.014434551820158958, -0.013484214432537556, -0.01789899356663227, 0.034616030752658844, -0.011368696577847004, 0.016992315649986267, -0.019696934148669243, -0.03860695660114288, -0.042147401720285416, 0.060632284730672836, 0.044580742716789246, 0.03342553228139877, 0.01309514231979847, -0.04419449716806412, 0.017057200893759727, 0.012064432725310326, -0.056341320276260376, -0.022199071943759918, -0.008941738866269588, -0.011311315931379795, 0.07368186861276627, -0.024477973580360413, 0.018938686698675156, 0.058803386986255646, 0.024623392149806023, -0.01691010221838951, 0.0329449400305748, -0.013854160904884338, 0.0031773168593645096, 0.049300048500299454, -0.05957360193133354, -0.011562667787075043, -0.049156103283166885, 0.07209035009145737, -0.06680899113416672, 0.05989233776926994, 0.05169332027435303, 0.04028930887579918, 0.013208532705903053, -0.02056867815554142, -0.03576738387346268, 0.025116894394159317, -0.06296369433403015, 0.07827182859182358, 0.022767050191760063, -0.044645071029663086, 0.07715088129043579, 0.009456900879740715, -0.0903848186135292, 0.06659941375255585, 0.06193776801228523, 0.010178308002650738, 0.04289622604846954, 0.02214893512427807, -0.05644090473651886, 0.014050856232643127, -0.026612721383571625, 0.02895577810704708, -0.07668858766555786, 0.0015028510242700577, -0.021262401714920998, -0.020274315029382706, -0.01285581011325121, 0.02978687547147274, -0.027989592403173447, 0.01324487291276455, 0.027636609971523285, -0.05469392240047455, -0.05655445158481598, 0.006876654457300901, 0.0202583447098732, -0.02131018042564392, 0.012443820014595985, -0.027339383959770203, 0.02224559523165226, 0.03503526747226715, -0.015553154051303864, -0.02032313123345375, 0.004688284359872341, 0.005343826487660408, -0.06406501680612564, -0.02308221347630024, 0.03247401863336563, -0.002218523295596242, -0.012421390041708946, 0.03657505661249161, -0.001523856888525188, 0.015307492576539516, 0.02775006741285324, 0.003639100817963481, 0.011615430936217308, -0.051514994353055954, 0.014153294265270233, 0.022581590339541435, -0.004292002879083157, 0.0376434400677681, -0.021277641877532005, 0.039168283343315125, 0.0359068289399147, 0.016298694536089897, -0.02231847308576107, -0.036313705146312714, -0.03801180422306061, -0.0028866950888186693, -0.03395557403564453, 0.04324489086866379, 0.012065512128174305, -0.03293822333216667, -0.03230556845664978, 0.0008876555366441607, 0.01954539865255356, 0.04108214005827904, -0.04244372993707657, -0.005279035307466984, 0.03985336795449257, -0.029255954548716545, -0.021762074902653694, -0.08746612817049026, -0.04357418045401573, -0.03881623595952988, 0.05490453168749809, 0.03714883327484131, -0.0435197688639164, -0.00899961031973362, -0.0314442478120327, -0.056204382330179214, 0.018299512565135956, 0.028376508504152298, -0.054578494280576706, 0.07015067338943481, 0.02172953076660633, -0.049233052879571915, 0.022478468716144562, 0.04491320997476578, -0.04719971492886543, 0.04033859446644783, 0.0326024554669857, 0.030171625316143036, 0.030704179778695107, 0.03654761612415314, -0.021896038204431534, -0.024119703099131584, -0.047299690544605255, 0.0038232479710131884, -0.019244519993662834, -0.00601417850703001, 0.03797397017478943 ]
AnonymousSub/SR_rule_based_roberta_hier_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 } } }
2
null
--- language: ru pipeline_tag: zero-shot-classification tags: - rubert - russian - nli - rte - zero-shot-classification widget: - text: "Я хочу поехать в Австралию" candidate_labels: "спорт,путешествия,музыка,кино,книги,наука,политика" hypothesis_template: "Тема текста - {}." --- # RuBERT for NLI (natural language inference) This is the [DeepPavlov/rubert-base-cased](https://huggingface.co/DeepPavlov/rubert-base-cased) fine-tuned to predict the logical relationship between two short texts: entailment, contradiction, or neutral. ## Usage How to run the model for NLI: ```python # !pip install transformers sentencepiece --quiet import torch from transformers import AutoTokenizer, AutoModelForSequenceClassification model_checkpoint = 'cointegrated/rubert-base-cased-nli-threeway' tokenizer = AutoTokenizer.from_pretrained(model_checkpoint) model = AutoModelForSequenceClassification.from_pretrained(model_checkpoint) if torch.cuda.is_available(): model.cuda() text1 = 'Сократ - человек, а все люди смертны.' text2 = 'Сократ никогда не умрёт.' with torch.inference_mode(): out = model(**tokenizer(text1, text2, return_tensors='pt').to(model.device)) proba = torch.softmax(out.logits, -1).cpu().numpy()[0] print({v: proba[k] for k, v in model.config.id2label.items()}) # {'entailment': 0.009525929, 'contradiction': 0.9332064, 'neutral': 0.05726764} ``` You can also use this model for zero-shot short text classification (by labels only), e.g. for sentiment analysis: ```python def predict_zero_shot(text, label_texts, model, tokenizer, label='entailment', normalize=True): label_texts tokens = tokenizer([text] * len(label_texts), label_texts, truncation=True, return_tensors='pt', padding=True) with torch.inference_mode(): result = torch.softmax(model(**tokens.to(model.device)).logits, -1) proba = result[:, model.config.label2id[label]].cpu().numpy() if normalize: proba /= sum(proba) return proba classes = ['Я доволен', 'Я недоволен'] predict_zero_shot('Какая гадость эта ваша заливная рыба!', classes, model, tokenizer) # array([0.05609814, 0.9439019 ], dtype=float32) predict_zero_shot('Какая вкусная эта ваша заливная рыба!', classes, model, tokenizer) # array([0.9059292 , 0.09407079], dtype=float32) ``` Alternatively, you can use [Huggingface pipelines](https://huggingface.co/transformers/main_classes/pipelines.html) for inference. ## Sources The model has been trained on a series of NLI datasets automatically translated to Russian from English. Most datasets were taken [from the repo of Felipe Salvatore](https://github.com/felipessalvatore/NLI_datasets): [JOCI](https://github.com/sheng-z/JOCI), [MNLI](https://cims.nyu.edu/~sbowman/multinli/), [MPE](https://aclanthology.org/I17-1011/), [SICK](http://www.lrec-conf.org/proceedings/lrec2014/pdf/363_Paper.pdf), [SNLI](https://nlp.stanford.edu/projects/snli/). Some datasets obtained from the original sources: [ANLI](https://github.com/facebookresearch/anli), [NLI-style FEVER](https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md), [IMPPRES](https://github.com/facebookresearch/Imppres). ## Performance The table below shows ROC AUC (one class vs rest) for five models on the corresponding *dev* sets: - [tiny](https://huggingface.co/cointegrated/rubert-tiny-bilingual-nli): a small BERT predicting entailment vs not_entailment - [twoway](https://huggingface.co/cointegrated/rubert-base-cased-nli-twoway): a base-sized BERT predicting entailment vs not_entailment - [threeway](https://huggingface.co/cointegrated/rubert-base-cased-nli-threeway) (**this model**): a base-sized BERT predicting entailment vs contradiction vs neutral - [vicgalle-xlm](https://huggingface.co/vicgalle/xlm-roberta-large-xnli-anli): a large multilingual NLI model - [facebook-bart](https://huggingface.co/facebook/bart-large-mnli): a large multilingual NLI model |model |add_one_rte|anli_r1|anli_r2|anli_r3|copa|fever|help|iie |imppres|joci|mnli |monli|mpe |scitail|sick|snli|terra|total | |------------------------|-----------|-------|-------|-------|----|-----|----|-----|-------|----|-----|-----|----|-------|----|----|-----|------| |n_observations |387 |1000 |1000 |1200 |200 |20474|3355|31232|7661 |939 |19647|269 |1000|2126 |500 |9831|307 |101128| |tiny/entailment |0.77 |0.59 |0.52 |0.53 |0.53|0.90 |0.81|0.78 |0.93 |0.81|0.82 |0.91 |0.81|0.78 |0.93|0.95|0.67 |0.77 | |twoway/entailment |0.89 |0.73 |0.61 |0.62 |0.58|0.96 |0.92|0.87 |0.99 |0.90|0.90 |0.99 |0.91|0.96 |0.97|0.97|0.87 |0.86 | |threeway/entailment |0.91 |0.75 |0.61 |0.61 |0.57|0.96 |0.56|0.61 |0.99 |0.90|0.91 |0.67 |0.92|0.84 |0.98|0.98|0.90 |0.80 | |vicgalle-xlm/entailment |0.88 |0.79 |0.63 |0.66 |0.57|0.93 |0.56|0.62 |0.77 |0.80|0.90 |0.70 |0.83|0.84 |0.91|0.93|0.93 |0.78 | |facebook-bart/entailment|0.51 |0.41 |0.43 |0.47 |0.50|0.74 |0.55|0.57 |0.60 |0.63|0.70 |0.52 |0.56|0.68 |0.67|0.72|0.64 |0.58 | |threeway/contradiction | |0.71 |0.64 |0.61 | |0.97 | | |1.00 |0.77|0.92 | |0.89| |0.99|0.98| |0.85 | |threeway/neutral | |0.79 |0.70 |0.62 | |0.91 | | |0.99 |0.68|0.86 | |0.79| |0.96|0.96| |0.83 | For evaluation (and for training of the [tiny](https://huggingface.co/cointegrated/rubert-tiny-bilingual-nli) and [twoway](https://huggingface.co/cointegrated/rubert-base-cased-nli-twoway) models), some extra datasets were used: [Add-one RTE](https://cs.brown.edu/people/epavlick/papers/ans.pdf), [CoPA](https://people.ict.usc.edu/~gordon/copa.html), [IIE](https://aclanthology.org/I17-1100), and [SCITAIL](https://allenai.org/data/scitail) taken from [the repo of Felipe Salvatore](https://github.com/felipessalvatore/NLI_datasets) and translatted, [HELP](https://github.com/verypluming/HELP) and [MoNLI](https://github.com/atticusg/MoNLI) taken from the original sources and translated, and Russian [TERRa](https://russiansuperglue.com/ru/tasks/task_info/TERRa).
[ 0.0010384186170995235, -0.009759664535522461, -0.01054628286510706, 0.05291391536593437, 0.04497133195400238, 0.030494324862957, -0.0156507957726717, -0.015929020941257477, -0.03925864025950432, 0.0536755733191967, 0.02024698257446289, -0.01944279484450817, 0.007053868845105171, 0.04225387051701546, -0.018049785867333412, -0.03175206109881401, -0.038292959332466125, -0.016816159710288048, -0.028949765488505363, -0.027294345200061798, -0.025917086750268936, -0.013962969183921814, 0.021652432158589363, 0.011216836050152779, -0.01547290664166212, 0.05520517751574516, -0.019341357052326202, 0.039045531302690506, 0.027115758508443832, -0.07132411003112793, 0.01585078053176403, -0.017109332606196404, -0.021082153543829918, -0.011560289189219475, 0.0026324873324483633, -0.01381120178848505, -0.000008884079761628527, 0.011763020418584347, -0.006543240509927273, 0.058801405131816864, 0.020383432507514954, -0.00011459479719633237, 0.012277909554541111, -0.023561447858810425, 0.04440460726618767, 0.011619508266448975, -0.04411952942609787, 0.00831523071974516, 0.041729871183633804, -0.015406097285449505, -0.04594123736023903, -0.05706356465816498, -0.030800199136137962, 0.01674511283636093, -0.027596890926361084, -0.01008579134941101, -0.05722296983003616, 0.015449520200490952, 0.06507744640111923, -0.033799976110458374, -0.05527485907077789, -0.0005378570058383048, -0.05639965832233429, 0.02400447055697441, 0.017061689868569374, -0.03818847984075546, -0.007055516354739666, -0.06952371448278427, 0.013082589954137802, -0.005398728884756565, 0.04383234307169914, -0.004201850853860378, 0.048167530447244644, -0.08053774386644363, 0.005434039514511824, -0.005933336913585663, 0.04382246360182762, 0.02730846032500267, -0.02363663725554943, 0.03521718829870224, 0.014621490612626076, 0.0057420129887759686, 0.027474233880639076, 0.004758342634886503, 0.01633782684803009, 0.06123843789100647, -0.011657408438622952, -0.012258445844054222, 0.0300137922167778, 0.04039862006902695, -0.03343063220381737, -0.03865525871515274, -0.006299148313701153, -0.03980979323387146, -0.02041757106781006, 0.021427182480692863, 0.0525997169315815, -0.033272117376327515, 0.05277882143855095, 0.016688620671629906, 0.02519989013671875, 0.057320427149534225, -0.013745361939072609, 0.042700886726379395, -0.02124471217393875, -0.005639101844280958, 0.01622341200709343, -0.054427020251750946, -0.04665462300181389, 0.04004383087158203, 0.001201348495669663, -0.03384321928024292, -0.04645596072077751, 0.05343013256788254, 0.016842249780893326, 0.0008173188543878496, 0.05478879064321518, -0.039161741733551025, -0.04388929903507233, -0.05926286056637764, 0.03526593744754791, -0.024490924552083015, -0.012447185814380646, 0.02149549126625061, -0.05727880075573921, 0.007282949518412352, -0.053211428225040436, -0.029625244438648224, -0.03569910675287247, 0.022275961935520172, -0.006830117665231228, 0.02497037686407566, 0.037173591554164886, -0.04550374671816826, -0.0019285432063043118, 0.017687899991869926, -0.07359358668327332, 0.051356393843889236, 0.019642725586891174, 0.12802757322788239, -0.07131028175354004, -0.053612012416124344, 0.04329657927155495, 0.017177963629364967, -0.023045163601636887, 0.002872028388082981, 0.006004876922816038, -0.01898925192654133, -0.007267380133271217, -0.014310210011899471, 0.06021937355399132, -0.06880180537700653, 0.006037795450538397, 0.04989314824342728, -0.005818788427859545, 0.028656475245952606, -0.05826747044920921, -0.00876277219504118, -0.01204476598650217, -0.014907101169228554, -0.035072192549705505, 0.03565957024693489, -0.01764974743127823, -0.014865033328533173, -0.05438240244984627, -0.035642385482788086, -0.010190973989665508, 0.07926805317401886, -0.013263095170259476, -0.01148783229291439, -0.028983036056160927, 0.002652672352269292, 0.041161518543958664, 0.03973063454031944, -0.021476786583662033, 0.017506038770079613, 0.0572458915412426, 0.03454327583312988, -0.034767597913742065, 0.07088588178157806, 0.005606184247881174, -0.04458245262503624, -0.023349057883024216, -0.0018162124324589968, -0.002612419193610549, -0.0177503302693367, 0.026718292385339737, 0.03215499594807625, -0.015296774916350842, -0.03309343010187149, 0.017826413735747337, 0.05190794914960861, -0.009054766036570072, -0.009940948337316513, -0.00041606102604418993, -0.008797329850494862, -0.013068852946162224, 0.044836461544036865, -0.010141706094145775, -0.008096646517515182, -0.02533762715756893, -0.024872666224837303, 0.006004978436976671, -0.0037021285388618708, 0.03484803065657616, 0.037411440163850784, -0.02184864692389965, 0.07817435264587402, -0.033563945442438126, 0.017603399232029915, -0.06453428417444229, -0.051063764840364456, 0.0022726564202457666, 0.03550470247864723, 0.05269273370504379, 0.058508291840553284, 0.004484806675463915, -0.028418317437171936, 0.010841202922165394, 0.05979989841580391, 0.05050303786993027, 0.016389107331633568, -0.04076334461569786, 0.013835170306265354, -0.008305062539875507, 0.03799757361412048, -0.0504240058362484, -0.03738474100828171, 0.01985233649611473, 0.054241031408309937, -0.02624608390033245, -0.0002092270296998322, -0.004290163516998291, 0.007068547420203686, -0.034972913563251495, -0.04016939923167229, 0.03808483108878136, 0.02976374514400959, 0.0298012625426054, 0.029612518846988678, -0.01631908491253853, 0.019896192476153374, 0.02656153030693531, -0.0108405239880085, 0.005128263030201197, -0.06498311460018158, -0.02118173986673355, 0.028775712475180626, 0.042437970638275146, -0.02943292260169983, 0.04129232466220856, 0.00020285314531065524, 0.016950402408838272, 0.0581294409930706, -0.024928493425250053, 0.04347663000226021, 0.04651342332363129, 0.027488481253385544, -0.05242320895195007, 0.005293211434036493, -0.0074425917118787766, 0.03342919424176216, 0.07309990376234055, -0.02590986154973507, 0.06971714645624161, -0.028768401592969894, 0.03111025132238865, 0.08565516769886017, 0.0109952287748456, -0.009380402974784374, 0.029980655759572983, 0.05010441318154335, -0.0155172199010849, -0.020028088241815567, 0.06560059636831284, -0.04477005824446678, 0.028790857642889023, -0.031276002526283264, 0.0213322751224041, -0.024234497919678688, -0.013864656910300255, 0.0494241826236248, 0.01153121143579483, -0.013521946966648102, 0.01829400472342968, -0.03863542154431343, -0.017525607720017433, 0.014093632809817791, -0.007231398951262236, 0.0019467921229079366, 0.003970464691519737, -0.03589737042784691, 0.03416256979107857, -0.07543187588453293, -0.07097610086202621, 0.006986222695559263, -0.02317965216934681, -0.011385982856154442, -0.08283476531505585, -0.057278018444776535, -0.059034839272499084, -0.016760511323809624, 0.04315653070807457, 0.0019579031504690647, 0.00361854350194335, -0.018546167761087418, 0.03536011278629303, -0.030576448887586594, -0.011795120313763618, -0.04746571555733681, -0.03320886567234993, -0.052290040999650955, -0.043015290051698685, 0.03609318658709526, 0.007665295619517565, 0.05053681135177612, 0.014425528235733509, -0.009450105018913746, -0.021379895508289337, -0.029123356565833092, 0.0433933287858963, 0.042018551379442215, -0.019294854253530502, -0.03762095794081688, 0.02111824043095112, -0.01888166554272175, 0.02533814311027527, -0.0315900593996048, -0.03936178237199783, 0.08236449956893921, 0.06284373253583908, 0.022150620818138123, 0.021582307294011116, 0.007936009205877781, -0.06308077275753021, -0.043608833104372025, -0.028347868472337723, -0.059494417160749435, -0.028006378561258316, -0.03612670674920082, -0.03208928182721138, -0.026638757437467575, -0.019995564594864845, 0.0017748787067830563, -0.011062832549214363, 0.00473715178668499, 0.04616384953260422, 0.03227551281452179, 0.021343810483813286, 0.033073790371418, -0.038071565330028534, -0.018697043880820274, 0.07563895732164383, 0.005095097701996565, 0.009569268673658371, -0.08844031393527985, -0.02179115079343319, 0.02852870151400566, 0.02112201787531376, 0.007310220506042242, -0.019607555121183395, 0.08636436611413956, 0.022189782932400703, 0.014012912288308144, 0.011257108300924301, -0.010280074551701546, -0.027134303003549576, -0.007778148166835308, -0.01569780707359314, -0.014553629793226719, -0.029851827770471573, -0.03060757741332054, -0.03454163298010826, 0.034464623779058456, -0.0584162101149559, -0.061377450823783875, 0.004554235842078924, 0.03994807228446007, -0.010402053594589233, 0.0015048824716359377, -0.04579496383666992, -0.005136912688612938, -0.03915810585021973, -0.034652404487133026, -0.016929330304265022, -0.0026791582349687815, 0.022846568375825882, 0.0569457970559597, 0.040056150406599045, -0.02804703824222088, 0.03484191745519638, 0.03986051306128502, 0.04547300934791565, 0.0225976575165987, -0.054067160934209824, 0.03305888921022415, -0.01849512755870819, 0.02834690734744072, -0.009839829988777637, -0.03730814903974533, -0.05302267521619797, -0.09181150048971176, 0.009750131517648697, -0.007083490956574678, -0.009634245187044144, 0.008312982507050037, 0.015673911198973656, -0.027226964011788368, -0.0077405935153365135, -0.008849232457578182, 0.01855139620602131, 0.038359977304935455, -0.05442255362868309, 0.04937152937054634, -0.006966696586459875, 0.03286555036902428, -0.03413000330328941, 0.032487429678440094, -0.04400157928466797, -0.022200647741556168, -0.005861240904778242, 0.053432077169418335, 0.015019210055470467, 0.04288361966609955, 0.06236500293016434, 0.02261103317141533, -0.05855558440089226, 0.06516256183385849, 0.05076481029391289, -0.02863248996436596, -0.05300454422831535, 0.020198343321681023, 0.02356719598174095, -0.01923281140625477, 0.010620532557368279, -0.03682674840092659, 0.01922796480357647, 0.04030201584100723, 0.020207714289426804, -0.023256532847881317, -0.0003543462953530252, -0.03147086128592491, -0.03144485875964165, -0.04317654296755791, -0.01113139558583498, 0.00124613125808537, -0.026935748755931854, 0.04281900078058243, 0.054873183369636536, -0.0081821633502841, 0.05885188654065132, 0.04917381331324577, -0.017832309007644653, -0.04329480603337288, 0.04364044591784477, 0.047010213136672974, -0.04709969833493233, -0.07880893349647522, -0.038536958396434784, 0.031319793313741684, 0.041341837495565414, -0.03262579068541527, -0.09997393190860748, -0.0018679517088457942, 0.05072023719549179, -0.030082475394010544, 0.05619535222649574, -0.008783488534390926, 0.03304242342710495, 0.05126569792628288, -0.0034867404028773308, 0.01946546882390976, -0.017815088853240013, 0.004445766098797321, 0.013911417685449123, 0.046175889670848846, -0.02537599205970764, -0.05573505163192749, -0.04717104136943817, 0.02887575700879097, 0.02380768582224846, 0.05432363227009773, 0.03459751978516579, -0.02886633202433586, -0.05240869149565697, 0.0007174963830038905, 0.029466845095157623, -0.033615466207265854, 0.010141471400856972, 0.0334981344640255, 0.04307758808135986, -0.04554300755262375, -0.012815529480576515, -0.0026685469783842564, 0.002550582867115736, 0.03896333649754524, 0.007662937976419926, -0.033810894936323166, -0.05399271100759506, 0.026011498644948006, -0.020741961896419525, -0.019544405862689018, -0.07941591739654541, 0.01625952124595642, -0.028345122933387756, -0.019783388823270798, 0.029971061274409294, 0.043954961001873016, 0.02716214582324028, 0.030441943556070328, -0.005641705822199583, 0.012155469506978989, -0.013425243087112904, 0.050608810037374496, -0.032748300582170486, -0.020945563912391663, -0.01234131958335638, -0.06536099314689636, -0.01837550476193428, -0.008311671204864979, -0.033288467675447464, -0.06335506588220596, -0.04577922821044922, 0.016089709475636482, -0.0017382277874276042, -0.0005416797939687967, -0.01077456958591938, 0.040865231305360794, -0.03251331299543381, -0.023855356499552727, -0.012599806301295757, -0.02189057692885399, -0.07439926266670227, -0.0451698899269104, 0.004081989638507366, 0.02183304727077484, 0.046348053961992264, 0.015770282596349716, -0.013736077584326267, 0.02836994081735611, 0.0012396584497764707, -0.023831848055124283, 0.037830453366041183, 0.02440359815955162, -0.021558009088039398, -0.04735745117068291, 0.02366691268980503, 0.007742284797132015, 0.0235376488417387, -0.038217656314373016, 0.03270815685391426, 0.015580805949866772, -0.04640410467982292, -0.029963331297039986, 0.02756440080702305, 0.011809810996055603, -0.08296836912631989, -0.03837990388274193, -0.03130393102765083, -0.04230399429798126, 0.0436728335916996, -0.010474433191120625, -0.03302320837974548, 0.018377212807536125, 0.04415439814329147, 0.01093943789601326, -0.02695080079138279, -0.03168164938688278, 0.020531175658106804, -0.03445729985833168, 0.0315568745136261, -0.07048537582159042, 0.03546883538365364, -0.030888309702277184, 0.0191018246114254, -0.015961047261953354, -0.0010053578298538923, -0.04245199263095856, 0.03526114672422409, -0.0021939845755696297, -0.02337256632745266, -0.009391315281391144, 0.009786596521735191, -0.033537738025188446, 0.05967620015144348, -0.0006953231059014797, 0.009829413145780563, -0.02663513645529747, 0.04150415584445, -0.07859417051076889, 0.0010124014224857092, -0.037136346101760864, -0.013246778398752213, -0.03145928308367729, -0.011474507860839367, -0.026776811107993126, -0.046044521033763885, 0.040895652025938034, 0.017910853028297424, 0.03843437507748604, 0.04114898294210434, -0.0024332415778189898, 0.027809547260403633, 0.008466841652989388, -0.0698654055595398, -0.045346979051828384, -0.021583780646324158, 0.012499832548201084, -0.019238682463765144, 0.05473387613892555, 0.03424891084432602, -0.067019984126091, -0.06084078550338745, 0.061814483255147934, 0.01834876649081707, -0.005800272338092327, 0.003142315661534667, 0.030442630872130394, 0.034176360815763474, 0.02553563565015793, -0.010461397469043732, -0.013117928989231586, 0.032497890293598175, -0.032388657331466675, 0.014242148026823997, -0.018134821206331253, 0.018715744838118553, 0.0042737266048789024, -0.03473547101020813, -0.02575337141752243, 0.08543739467859268, 0.03487628698348999, 0.02436760999262333, 0.007020989432930946, -0.025487275794148445, 0.005991917569190264, 0.014130092225968838, -0.0627766028046608, -0.0024336017668247223, -0.020293615758419037, -0.028857069090008736, 0.07020727545022964, -0.02810410037636757, 0.017694439738988876, 0.07183794677257538, 0.02034611999988556, -0.017083583399653435, 0.024853741750121117, -0.0037673853803426027, 0.024783726781606674, 0.04787566140294075, -0.044828228652477264, 0.000464506825665012, -0.016976144164800644, 0.07741284370422363, -0.07337628304958344, 0.07170248031616211, 0.025221841409802437, 0.04456406831741333, 0.031917378306388855, -0.007326065097004175, -0.043986499309539795, 0.0251789391040802, -0.05419924482703209, 0.058002203702926636, 0.005737016908824444, -0.03754500672221184, 0.07231656461954117, 0.018921466544270515, -0.05646717548370361, 0.04344390705227852, 0.042321041226387024, 0.0103444280102849, 0.034686099737882614, 0.04709668084979057, -0.048993490636348724, 0.007161052897572517, -0.023811548948287964, 0.022250764071941376, -0.061585403978824615, -0.010305068455636501, 0.0016226324951276183, -0.03312200307846069, -0.026263413950800896, 0.04324929416179657, -0.008926890790462494, 0.003042194526642561, 0.035717301070690155, -0.07031463831663132, -0.061283137649297714, -0.004289117641746998, 0.025977738201618195, -0.006103523075580597, 0.028744425624608994, -0.04254332184791565, 0.010237161070108414, 0.023080937564373016, -0.011951656080782413, -0.03531133756041527, -0.022005323320627213, 0.017472589388489723, -0.07506286352872849, -0.019931331276893616, 0.04215423762798309, 0.004542110953480005, -0.01745334453880787, 0.0353279784321785, 0.009806787595152855, 0.008002329617738724, 0.03416311368346214, -0.020487824454903603, 0.014281243085861206, -0.057748712599277496, 0.006652092561125755, 0.035234276205301285, 0.003248113440349698, 0.03618641570210457, -0.010193957947194576, 0.028228964656591415, 0.03013969399034977, 0.021175304427742958, 0.007860712707042694, -0.047763120383024216, -0.01918107457458973, -0.020359786227345467, -0.032899145036935806, 0.014102856628596783, 0.007830417715013027, -0.03971559926867485, -0.020512277260422707, -0.024192504584789276, -0.000031031380785861984, 0.03300359472632408, -0.058770257979631424, -0.00014568254118785262, 0.05292983725667, -0.04191942885518074, -0.025993889197707176, -0.07733581960201263, -0.05120866373181343, -0.05936983600258827, 0.06490540504455566, 0.0296766497194767, -0.024118976667523384, 0.016336165368556976, -0.038046982139348984, -0.0409817174077034, 0.036574121564626694, 0.041245169937610626, -0.03663879260420799, 0.08080551028251648, 0.04372207447886467, -0.04098943620920181, 0.026662565767765045, 0.033153437077999115, -0.056691549718379974, 0.05791535973548889, 0.03965739533305168, 0.02581731602549553, 0.024363892152905464, 0.03035515733063221, -0.02209324575960636, -0.008733986876904964, -0.05477556213736534, 0.0009724963456392288, -0.03535298630595207, -0.02372867614030838, 0.036698684096336365 ]
AnonymousSub/SR_rule_based_roberta_only_classfn_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: ["ru"] tags: - russian - classification - toxicity - multilabel widget: - text: "Иди ты нафиг!" --- This is the [cointegrated/rubert-tiny](https://huggingface.co/cointegrated/rubert-tiny) model fine-tuned for classification of toxicity and inappropriateness for short informal Russian texts, such as comments in social networks. The problem is formulated as multilabel classification with the following classes: - `non-toxic`: the text does NOT contain insults, obscenities, and threats, in the sense of the [OK ML Cup](https://cups.mail.ru/ru/tasks/1048) competition. - `insult` - `obscenity` - `threat` - `dangerous`: the text is inappropriate, in the sense of [Babakov et.al.](https://arxiv.org/abs/2103.05345), i.e. it can harm the reputation of the speaker. A text can be considered safe if it is BOTH `non-toxic` and NOT `dangerous`. ## Usage The function below estimates the probability that the text is either toxic OR dangerous: ```python # !pip install transformers sentencepiece --quiet import torch from transformers import AutoTokenizer, AutoModelForSequenceClassification model_checkpoint = 'cointegrated/rubert-tiny-toxicity' tokenizer = AutoTokenizer.from_pretrained(model_checkpoint) model = AutoModelForSequenceClassification.from_pretrained(model_checkpoint) if torch.cuda.is_available(): model.cuda() def text2toxicity(text, aggregate=True): """ Calculate toxicity of a text (if aggregate=True) or a vector of toxicity aspects (if aggregate=False)""" with torch.no_grad(): inputs = tokenizer(text, return_tensors='pt', truncation=True, padding=True).to(model.device) proba = torch.sigmoid(model(**inputs).logits).cpu().numpy() if isinstance(text, str): proba = proba[0] if aggregate: return 1 - proba.T[0] * (1 - proba.T[-1]) return proba print(text2toxicity('я люблю нигеров', True)) # 0.9350118728093193 print(text2toxicity('я люблю нигеров', False)) # [0.9715758 0.0180863 0.0045551 0.00189755 0.9331106 ] print(text2toxicity(['я люблю нигеров', 'я люблю африканцев'], True)) # [0.93501186 0.04156357] print(text2toxicity(['я люблю нигеров', 'я люблю африканцев'], False)) # [[9.7157580e-01 1.8086294e-02 4.5550885e-03 1.8975559e-03 9.3311059e-01] # [9.9979788e-01 1.9048342e-04 1.5297388e-04 1.7452303e-04 4.1369814e-02]] ``` ## Training The model has been trained on the joint dataset of [OK ML Cup](https://cups.mail.ru/ru/tasks/1048) and [Babakov et.al.](https://arxiv.org/abs/2103.05345) with `Adam` optimizer, the learning rate of `1e-5`, and batch size of `64` for `15` epochs. A text was considered inappropriate if its inappropriateness score was higher than 0.8, and appropriate - if it was lower than 0.2. The per-label ROC AUC on the dev set is: ``` non-toxic : 0.9937 insult : 0.9912 obscenity : 0.9881 threat : 0.9910 dangerous : 0.8295 ```
[ 0.003559012897312641, -0.03023020550608635, 0.009100273251533508, 0.04325646162033081, 0.02902062237262726, 0.02477484568953514, -0.008743837475776672, -0.01894603669643402, -0.041675958782434464, 0.04601212590932846, 0.042866192758083344, 0.002980775898322463, 0.010570908896625042, 0.04212406277656555, -0.06051624193787575, -0.03864901512861252, -0.030348127707839012, -0.04099857062101364, -0.025439053773880005, -0.020937321707606316, 0.017499124631285667, -0.0030995516572147608, -0.006020070984959602, 0.021830465644598007, -0.0013875445583835244, 0.03996768966317177, -0.029870981350541115, 0.03774794563651085, 0.045142121613025665, -0.04250728338956833, 0.030806632712483406, -0.009002908132970333, -0.04862212762236595, -0.0006683510146103799, -0.0001901082432596013, -0.022046467289328575, 0.012243223376572132, 0.00329121807590127, 0.006146360654383898, 0.04723145067691803, 0.02936500683426857, -0.023812904953956604, -0.029958412051200867, -0.04502397030591965, 0.045999884605407715, 0.0004626988375093788, -0.059934910386800766, 0.0002899197570513934, 0.028058867901563644, -0.05321899801492691, -0.037347640842199326, -0.08099208027124405, -0.029384426772594452, 0.009253599680960178, -0.016124403104186058, -0.04022608697414398, -0.05931627377867699, -0.0027635954320430756, 0.05639208108186722, -0.030148038640618324, -0.05429304391145706, 0.02471800707280636, -0.059762585908174515, 0.027323052287101746, 0.026296881958842278, -0.058120232075452805, 0.004027078859508038, -0.06512649357318878, 0.0036647107917815447, -0.02062808722257614, 0.04914692044258118, -0.031111422926187515, 0.06481187790632248, -0.08095171302556992, 0.004414733499288559, -0.030763382092118263, 0.03728940337896347, 0.027844032272696495, -0.02170466259121895, 0.059429898858070374, 0.062482669949531555, 0.02639021910727024, 0.034542109817266464, -0.029054878279566765, -0.015641426667571068, 0.03420607000589371, -0.04251255840063095, -0.0015415470115840435, -0.00017244541959371418, 0.037682004272937775, -0.04490901902318001, -0.04331856966018677, -0.0016417286824434996, -0.013509939424693584, -0.044926270842552185, 0.03592269495129585, 0.02807372808456421, -0.038617510348558426, 0.05174015462398529, 0.012366349808871746, 0.03417784348130226, 0.035902854055166245, -0.019474441185593605, 0.040275320410728455, -0.03935394436120987, -0.006022764835506678, -0.028269149363040924, -0.029282094910740852, -0.044969599694013596, 0.03006923571228981, 0.010831828229129314, -0.030948013067245483, -0.06135757267475128, 0.014656285755336285, -0.0156518816947937, 0.006488645449280739, 0.05253125727176666, -0.03848063573241234, -0.020970642566680908, -0.036655817180871964, 0.002912946045398712, -0.005825676955282688, 0.028961028903722763, 0.010745899751782417, -0.022913401946425438, -0.003794351825490594, -0.043119776993989944, -0.04680675268173218, -0.022942088544368744, 0.05648999661207199, -0.0038281416054815054, 0.041313111782073975, 0.03914916142821312, -0.03211625665426254, -0.023496055975556374, 0.031314652413129807, -0.07937786728143692, 0.047755807638168335, 0.025736751034855843, 0.11448246985673904, -0.056085679680109024, -0.07629077136516571, 0.015041333623230457, 0.007845423184335232, -0.027935538440942764, 0.016814226284623146, -0.00016910646809265018, -0.033645469695329666, -0.015942156314849854, 0.01882854849100113, 0.0534568727016449, -0.06222094967961311, 0.002204456366598606, 0.026799548417329788, -0.008142764680087566, 0.03714831545948982, -0.06621555238962173, 0.01007144246250391, 0.013429143466055393, -0.017435116693377495, -0.06731051206588745, 0.02453755773603916, 0.0022784112952649593, -0.0041306838393211365, -0.038871414959430695, -0.049390461295843124, 0.047555919736623764, 0.06848885864019394, -0.012870540842413902, -0.013057705946266651, -0.021364953368902206, -0.005475678946822882, 0.054417189210653305, 0.027330521494150162, -0.016903238371014595, -0.007340378127992153, 0.03814557194709778, 0.030551062896847725, -0.011921842582523823, 0.07443084567785263, -0.009228445589542389, -0.05560527369379997, -0.020033547654747963, 0.013805059716105461, 0.023768402636051178, -0.03656402602791786, 0.02500518225133419, 0.0010471880668774247, 0.021690206602215767, -0.02181513048708439, 0.0026762390043586493, 0.026793166995048523, -0.013882567174732685, -0.006542815826833248, 0.01507534272968769, -0.012756572104990482, -0.04562855511903763, 0.07545711100101471, -0.021504364907741547, 0.003860879922285676, -0.03949586674571037, -0.03548089787364006, 0.004942197818309069, 0.006939279846847057, 0.036410119384527206, 0.03373260796070099, -0.03718116134405136, 0.08140687644481659, -0.026604752987623215, 0.0030286808032542467, -0.03962034359574318, -0.051800671964883804, -0.00810325052589178, 0.04219166934490204, 0.05302772298455238, 0.03262227028608322, 0.009524133056402206, -0.02374126948416233, 0.010153100825846195, 0.06177399680018425, 0.05198071151971817, 0.025697341188788414, -0.04024790599942207, 0.004949489608407021, 0.000049100206524599344, 0.04996535927057266, -0.04190967604517937, -0.027350900694727898, 0.019534675404429436, 0.07173153012990952, -0.02902311459183693, 0.013727660290896893, -0.021314041689038277, -0.009783530607819557, -0.054415520280599594, -0.06316404789686203, 0.06181652098894119, 0.025946252048015594, 0.02848035842180252, 0.006662183441221714, -0.008585365489125252, 0.015723900869488716, 0.030797921121120453, 0.017760872840881348, -0.002385962987318635, -0.05074320733547211, 0.0017349018016830087, 0.027810784056782722, 0.050174273550510406, -0.04179619252681732, 0.03978235274553299, -0.008095791563391685, -0.033002521842718124, 0.03277803584933281, -0.0512629896402359, 0.04792148247361183, 0.0287544634193182, 0.0017287725349888206, -0.022873617708683014, 0.002224935218691826, -0.005078931804746389, 0.013630294241011143, 0.0605873242020607, -0.031895726919174194, 0.05416048318147659, -0.01984182558953762, 0.04101547226309776, 0.1001744493842125, 0.018199928104877472, -0.0002822655369527638, 0.03580459952354431, 0.0543772391974926, -0.006778475362807512, -0.029247766360640526, 0.06183776259422302, -0.06135633960366249, 0.01929209753870964, -0.050051819533109665, 0.04440850019454956, 0.01206174399703741, -0.0464899055659771, 0.04267222061753273, 0.01828221045434475, -0.04075322672724724, 0.02723349817097187, -0.03387390449643135, -0.011485571973025799, 0.04206610471010208, -0.013223424553871155, 0.007892867550253868, -0.011296474374830723, -0.053242262452840805, 0.02440696582198143, -0.05855735018849373, -0.0016593531472608447, 0.013820248655974865, -0.02891138382256031, -0.022138146683573723, -0.07906810939311981, -0.04552166908979416, -0.03816934674978256, -0.02405986748635769, 0.04495534673333168, 0.008952675387263298, -0.00447470648214221, -0.041777852922677994, 0.01777764782309532, -0.03676991909742355, -0.028873611241579056, -0.03526724874973297, -0.04118438437581062, -0.0132089052349329, -0.06694288551807404, 0.03306551277637482, 0.00827121827751398, 0.01306038349866867, 0.011145241558551788, -0.006679072044789791, -0.03900320082902908, -0.03635944053530693, 0.023271694779396057, 0.024548891931772232, -0.021907227113842964, -0.06729868054389954, 0.03008124604821205, 0.01611325889825821, 0.009406744502484798, 0.0004457061004359275, -0.024197613820433617, 0.08203177154064178, 0.0766056478023529, 0.006320379674434662, 0.019332880154252052, -0.00309471576474607, -0.04993199184536934, -0.05859685689210892, -0.02546379528939724, -0.013942048884928226, -0.03908329829573631, -0.03560894727706909, -0.04136841371655464, -0.03703199326992035, -0.021957464516162872, -0.019298788160085678, -0.0036257829051464796, 0.01808674819767475, 0.04275576397776604, 0.040310755372047424, 0.03650825470685959, -0.005996349733322859, -0.04210609570145607, -0.019731659442186356, 0.061928220093250275, -0.022898182272911072, 0.0037625522818416357, -0.0921541303396225, -0.03322915360331535, 0.03608362376689911, 0.001071491395123303, -0.006829916499555111, -0.014280452392995358, 0.05599158629775047, 0.00216186442412436, 0.009962612763047218, 0.020451534539461136, -0.030972668901085854, -0.007899433374404907, 0.0005190874799154699, -0.012882386334240437, -0.01743687316775322, -0.030664434656500816, -0.04185115918517113, -0.028723834082484245, 0.04830984026193619, -0.07877477258443832, -0.03504336625337601, -0.017008742317557335, 0.0386577732861042, 0.03214626759290695, -0.0010228194296360016, -0.046007171273231506, -0.022642530500888824, -0.053686801344156265, -0.03851854056119919, -0.011396517045795918, -0.012577487155795097, 0.012293322011828423, 0.06849264353513718, 0.042034704238176346, -0.03949054703116417, 0.06436550617218018, 0.0158756822347641, 0.06065334752202034, -0.005612861830741167, -0.06921597570180893, 0.01850312389433384, -0.033486925065517426, 0.03294096142053604, 0.012419910170137882, -0.02332465909421444, -0.03087572380900383, -0.12592996656894684, 0.007951293140649796, -0.01687808148562908, 0.004443801008164883, -0.015171585604548454, 0.03695924952626228, -0.015079758130013943, -0.00836742389947176, -0.014389663934707642, 0.014696198515594006, 0.05138150602579117, -0.0737544596195221, 0.05160953104496002, -0.008256088010966778, 0.048674069344997406, -0.02836558222770691, 0.006101078819483519, -0.02175774797797203, -0.025989869609475136, -0.014736116863787174, 0.048917610198259354, 0.01784401759505272, 0.052537061274051666, 0.08478129655122757, 0.020754368975758553, -0.03927254304289818, 0.046674568206071854, 0.0337604284286499, -0.04371901974081993, -0.0349382683634758, 0.01935921423137188, 0.010867506265640259, -0.02941705845296383, -0.008393330499529839, -0.05468807741999626, 0.0167259331792593, 0.04389233887195587, 0.017655521631240845, -0.02352057211101055, 0.005270184483379126, -0.055797774344682693, -0.0382101908326149, -0.08064982295036316, -0.01838589832186699, 0.013806563802063465, -0.003457706654444337, 0.010954955592751503, 0.03467096760869026, -0.00041770536336116493, 0.06742659211158752, 0.04393719881772995, -0.027410928159952164, -0.041002821177244186, 0.0038058136124163866, 0.024821365252137184, -0.027321724221110344, -0.0695105791091919, -0.06716945022344589, 0.023587753996253014, 0.05298198387026787, -0.027696518227458, -0.09190297871828079, 0.026610979810357094, 0.06958019733428955, -0.050888583064079285, 0.07138113677501678, 0.0040308814495801926, 0.028456222265958786, 0.04259822517633438, -0.023651015013456345, 0.008695009164512157, 0.0008763899677433074, 0.02268555574119091, 0.01771930418908596, 0.027625136077404022, -0.01392196025699377, -0.031643565744161606, -0.06523466855287552, 0.018558820709586143, 0.01457271073013544, 0.04629391059279442, 0.03612668812274933, -0.013035397045314312, -0.04811491072177887, 0.019078329205513, 0.04374857619404793, -0.0377371609210968, 0.04430711269378662, 0.03061389923095703, 0.03787141293287277, -0.0511845164000988, -0.029378047212958336, -0.0031553443986922503, 0.022734113037586212, 0.03678997606039047, -0.014173614792525768, -0.010401406325399876, -0.05031713843345642, 0.03758106380701065, 0.0018126715440303087, -0.025042129680514336, -0.06278268247842789, 0.019584527239203453, -0.02543618716299534, -0.024162303656339645, 0.0499601885676384, -0.005733992904424667, 0.05080818384885788, 0.042037732899188995, 0.013270718045532703, 0.02299516089260578, -0.03670765459537506, 0.01977500319480896, -0.03274611756205559, -0.021915774792432785, -0.026313364505767822, -0.042463142424821854, -0.008959909901022911, -0.010656059719622135, -0.024982526898384094, -0.05877547338604927, -0.02807743288576603, 0.002055533928796649, 0.008734948001801968, 0.023959625512361526, -0.03250784054398537, 0.019110506400465965, -0.0022854155395179987, -0.010669070295989513, -0.03610695153474808, -0.03581240400671959, -0.06953905522823334, -0.05291420966386795, 0.0067432294599711895, 0.022229963913559914, 0.06416323035955429, 0.018039967864751816, -0.010701294988393784, 0.03227999806404114, -0.005008243955671787, 0.027076030150055885, 0.044607602059841156, -0.006409157998859882, -0.030207153409719467, -0.048458755016326904, 0.024623526260256767, 0.014355381019413471, 0.010554959066212177, -0.016224365681409836, 0.023714745417237282, 0.010270756669342518, -0.04479990527033806, -0.032919950783252716, 0.02633821591734886, 0.011524119414389133, -0.07008755207061768, -0.0722133070230484, -0.021873123943805695, -0.03017013892531395, 0.016488725319504738, 0.004954298958182335, 0.004371109884232283, 0.02464817278087139, 0.03781480714678764, 0.036933060735464096, 0.007807171903550625, 0.0025848837103694677, 0.016119334846735, -0.013884047046303749, 0.023692427203059196, -0.053741272538900375, 0.02962954342365265, -0.026334108784794807, 0.012221177108585835, -0.02420533262193203, 0.0031285977456718683, -0.06550184637308121, 0.0523427277803421, -0.00285411742515862, -0.006887487135827541, -0.011365442536771297, 0.009423593990504742, -0.042544715106487274, 0.03117471933364868, -0.024718811735510826, 0.004003132227808237, -0.025540638715028763, 0.045203108340501785, -0.06707397848367691, 0.0029108659364283085, -0.030666830018162727, -0.002423706464469433, -0.03325210139155388, -0.025085432454943657, -0.024261612445116043, -0.04802710935473442, 0.04124828800559044, 0.04817984625697136, 0.0253790020942688, 0.03604467213153839, -0.005981895606964827, 0.01082785613834858, 0.006121593527495861, -0.05340693145990372, -0.018950611352920532, -0.03462893143296242, -0.014921043068170547, 0.00038606312591582537, 0.034645918756723404, 0.03577059879899025, -0.05662187933921814, -0.07349070906639099, 0.050629355013370514, 0.020846238359808922, 0.00644095242023468, 0.004757986404001713, 0.043220631778240204, 0.028631260618567467, 0.013196232728660107, -0.013869778253138065, -0.006818932946771383, -0.009601593017578125, -0.021360263228416443, 0.021395929157733917, -0.01186615414917469, 0.01644805260002613, 0.03273311257362366, -0.03669334948062897, -0.025294041261076927, 0.06207827106118202, 0.048553574830293655, 0.016441013664007187, 0.012699542567133904, -0.019983012229204178, 0.026883605867624283, -0.001145467977039516, -0.05821629613637924, 0.019993873313069344, 0.006160441320389509, -0.024263082072138786, 0.07162631303071976, -0.0314020961523056, 0.017084887251257896, 0.0511413998901844, 0.01718650758266449, 0.0005376860499382019, 0.016997279599308968, -0.044300951063632965, 0.0019108600681647658, 0.04410738870501518, -0.02390151098370552, -0.021556830033659935, -0.012882471084594727, 0.07525569945573807, -0.06598005443811417, 0.05738641694188118, 0.038338471204042435, 0.009993731044232845, 0.016138756647706032, -0.023564927279949188, -0.05659358948469162, -0.0004718032432720065, -0.04095590487122536, 0.049222301691770554, 0.021515406668186188, -0.060616377741098404, 0.07557150721549988, 0.026922881603240967, -0.06267877668142319, 0.05634605884552002, 0.04830264672636986, 0.013852514326572418, 0.005255802534520626, 0.053575094789266586, -0.053210802376270294, -0.0239552054554224, -0.02234807424247265, 0.017361370846629143, -0.023756474256515503, -0.006552407052367926, 0.006490448489785194, -0.021516451612114906, -0.01987835206091404, 0.029711086302995682, -0.021507350727915764, 0.005735508631914854, 0.012140234000980854, -0.04834781959652901, -0.05019208788871765, 0.018198611214756966, 0.021951183676719666, -0.012180639430880547, -0.015895068645477295, -0.025531580671668053, 0.022283479571342468, 0.015589598566293716, -0.00013501779176294804, -0.019786952063441277, -0.015105853788554668, 0.010396518744528294, -0.04748561233282089, -0.026185685768723488, 0.031135575845837593, 0.00029366271337494254, -0.027480432763695717, 0.03329981863498688, 0.03570808470249176, 0.005096757784485817, 0.008002229034900665, -0.013314024545252323, 0.030065838247537613, -0.07420588284730911, 0.007299304008483887, 0.011017832905054092, 0.016942312940955162, 0.018195807933807373, -0.023307204246520996, 0.02719898521900177, 0.04944964870810509, 0.008497261442244053, 0.002982731442898512, -0.0189244132488966, -0.039924606680870056, 0.009554291144013405, -0.05259401723742485, 0.01159638911485672, 0.0017227872740477324, -0.049912501126527786, -0.03580654039978981, -0.02095324546098709, 0.014662988483905792, 0.033242497593164444, -0.05210813507437706, -0.011963313445448875, 0.06764544546604156, -0.026391368359327316, -0.026732124388217926, -0.06672350317239761, -0.05804959684610367, -0.05117904394865036, 0.07123623788356781, 0.02805889956653118, -0.04407763108611107, 0.023306498304009438, -0.03481987118721008, -0.06668398529291153, 0.029034078121185303, 0.011541229672729969, -0.047374289482831955, 0.06091901287436485, 0.0698244720697403, -0.053553011268377304, 0.00238520884886384, 0.033265434205532074, -0.046826645731925964, 0.03204287216067314, 0.033560995012521744, 0.014731768518686295, 0.018750283867120743, 0.04705722630023956, -0.013867001049220562, 0.006507231388241053, -0.04402179643511772, -0.008967050351202488, -0.03148019313812256, -0.011645098216831684, 0.021780267357826233 ]
AnonymousSub/SR_rule_based_roberta_only_classfn_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
--- language: - ru - en tags: - russian - fill-mask - pretraining - embeddings - masked-lm - tiny - feature-extraction - sentence-similarity license: mit widget: - text: Миниатюрная модель для [MASK] разных задач. pipeline_tag: fill-mask --- This is a very small distilled version of the [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) model for Russian and English (45 MB, 12M parameters). There is also an **updated version of this model**, [rubert-tiny2](https://huggingface.co/cointegrated/rubert-tiny2), with a larger vocabulary and better quality on practically all Russian NLU tasks. This model is useful if you want to fine-tune it for a relatively simple Russian task (e.g. NER or sentiment classification), and you care more about speed and size than about accuracy. It is approximately x10 smaller and faster than a base-sized BERT. Its `[CLS]` embeddings can be used as a sentence representation aligned between Russian and English. It was trained on the [Yandex Translate corpus](https://translate.yandex.ru/corpus), [OPUS-100](https://huggingface.co/datasets/opus100) and [Tatoeba](https://huggingface.co/datasets/tatoeba), using MLM loss (distilled from [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased)), translation ranking loss, and `[CLS]` embeddings distilled from [LaBSE](https://huggingface.co/sentence-transformers/LaBSE), [rubert-base-cased-sentence](https://huggingface.co/DeepPavlov/rubert-base-cased-sentence), Laser and USE. There is a more detailed [description in Russian](https://habr.com/ru/post/562064/). Sentence embeddings can be produced as follows: ```python # pip install transformers sentencepiece import torch from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny") model = AutoModel.from_pretrained("cointegrated/rubert-tiny") # model.cuda() # uncomment it if you have a GPU def embed_bert_cls(text, model, tokenizer): t = tokenizer(text, padding=True, truncation=True, return_tensors='pt') with torch.no_grad(): model_output = model(**{k: v.to(model.device) for k, v in t.items()}) embeddings = model_output.last_hidden_state[:, 0, :] embeddings = torch.nn.functional.normalize(embeddings) return embeddings[0].cpu().numpy() print(embed_bert_cls('привет мир', model, tokenizer).shape) # (312,) ```
[ -0.00855315662920475, -0.009540126658976078, -0.008625865913927555, 0.06875134259462357, 0.05829108878970146, 0.024911556392908096, -0.023262623697519302, -0.02033841237425804, -0.062239497900009155, 0.07155715674161911, 0.010607649572193623, -0.02833530306816101, -0.0020980637054890394, 0.04521686211228371, 0.002426158869639039, -0.022046197205781937, -0.016515979543328285, -0.00245452206581831, -0.055012959986925125, -0.03543064370751381, -0.04386339336633682, -0.0017119725234806538, -0.010143697261810303, 0.008290647529065609, 0.005659919232130051, 0.038207631558179855, -0.015233438462018967, 0.017554529011249542, 0.031272199004888535, -0.06334026157855988, 0.011019086465239525, -0.016670314595103264, -0.04035672917962074, -0.024397481232881546, -0.0058243232779204845, -0.0213742908090353, -0.009599934332072735, -0.003030120860785246, 0.02396210841834545, 0.05847134068608284, -0.010245198383927345, -0.02458295412361622, -0.013117904774844646, -0.036858536303043365, 0.021644912660121918, 0.0195996705442667, -0.05350682511925697, 0.0026998580433428288, 0.039471764117479324, -0.0283636674284935, -0.029790472239255905, -0.052481889724731445, -0.03713403642177582, 0.0029139406979084015, -0.010326444171369076, -0.02420487441122532, -0.03677321970462799, -0.009335336275398731, 0.056791141629219055, -0.05329044535756111, -0.0551847442984581, -0.0003192590666003525, -0.04915381222963333, 0.01225523091852665, 0.025124695152044296, -0.027666937559843063, 0.005006611347198486, -0.052681658416986465, 0.035849347710609436, -0.023329708725214005, 0.05458969250321388, -0.02613586187362671, 0.016298266127705574, -0.0853973999619484, 0.0024553020484745502, -0.006565092597156763, 0.037932030856609344, 0.042041804641485214, -0.02207990549504757, 0.04519103467464447, 0.022072553634643555, -0.01875275745987892, 0.026052270084619522, -0.026891183108091354, -0.0067669302225112915, 0.04576246440410614, -0.025964487344026566, -0.022499054670333862, 0.011889684945344925, 0.04561096802353859, -0.033159978687763214, -0.01248043030500412, -0.017582137137651443, -0.04166407510638237, -0.010347039438784122, 0.036254219710826874, 0.041850242763757706, -0.02589358203113079, 0.028881335631012917, 0.008627664297819138, 0.005834735929965973, 0.05369114130735397, -0.01489153690636158, 0.048350073397159576, -0.027028659358620644, -0.01921234279870987, -0.01565265655517578, -0.03750041872262955, -0.035334233194589615, 0.012274614535272121, 0.04200291633605957, -0.03794602304697037, -0.05807038024067879, 0.054377272725105286, 0.000709102547261864, -0.03199148550629616, 0.05295608937740326, -0.025819892063736916, -0.0257562305778265, -0.0666218027472496, 0.03494615852832794, -0.01755877025425434, 0.013161195442080498, 0.01232201885432005, -0.04625546559691429, 0.03223942592740059, -0.0543782114982605, -0.018403666093945503, -0.006967609748244286, 0.03683977574110031, 0.0006187173421494663, 0.033728793263435364, 0.029697349295020103, -0.06970914453268051, 0.004728599917143583, 0.0016733775846660137, -0.058062274008989334, 0.05241641774773598, 0.017909148707985878, 0.12972725927829742, -0.038989726454019547, -0.057849615812301636, 0.028021229431033134, 0.037391066551208496, -0.02442248910665512, 0.003151675220578909, 0.0206584595143795, -0.012878961861133575, -0.021483903750777245, -0.003624976146966219, 0.052318114787340164, -0.051805462688207626, -0.002042775973677635, 0.05280882120132446, -0.011353476904332638, 0.02771349437534809, -0.03984927758574486, -0.005402448121458292, 0.010515227913856506, -0.03177319094538689, -0.024869486689567566, 0.028542563319206238, 0.0050902338698506355, -0.039019908756017685, -0.0352897047996521, -0.042017899453639984, 0.02314663678407669, 0.06414788216352463, 0.014564568176865578, -0.011341989040374756, -0.024501409381628036, 0.007358879316598177, 0.03171135485172272, 0.03339690342545509, -0.03316003084182739, 0.00554712675511837, 0.04518930986523628, 0.012147162109613419, 0.005221154540777206, 0.06548254936933517, 0.004607405047863722, -0.03742920979857445, -0.02351868338882923, 0.006771520711481571, -0.00600479869171977, -0.04041142389178276, 0.022944621741771698, 0.051970839500427246, 0.005355235189199448, -0.04887957498431206, -0.012762842699885368, 0.057705141603946686, -0.008742419071495533, -0.012501288205385208, 0.005140513647347689, -0.020528728142380714, -0.01580982841551304, 0.07526569068431854, -0.007344344165176153, -0.01303147803992033, -0.02949286252260208, -0.0421924851834774, 0.0007332339882850647, 0.028917653486132622, 0.035911403596401215, 0.043887972831726074, -0.027609553188085556, 0.08528120815753937, -0.026219667866826057, 0.015607908368110657, -0.06715639680624008, -0.050374701619148254, 0.007124210707843304, 0.041780196130275726, 0.035644449293613434, 0.06490284949541092, 0.00927917193621397, -0.03531878814101219, 0.007854292169213295, 0.08061106503009796, 0.06860729306936264, 0.0018822537967935205, -0.032522283494472504, -0.005488742142915726, -0.00431521562859416, 0.045752014964818954, -0.05888595059514046, -0.03400052338838577, 0.015414061024785042, 0.04880383983254433, -0.02464977279305458, 0.00947555061429739, -0.008435464464128017, 0.011810828931629658, -0.025169670581817627, -0.058283694088459015, 0.049569010734558105, 0.014832017943263054, -0.0027510563377290964, 0.020163696259260178, -0.011743996292352676, 0.01584850251674652, 0.02910839393734932, 0.018728511407971382, -0.011210881173610687, -0.039744600653648376, -0.009549777954816818, 0.02462860569357872, 0.0546996146440506, -0.02895485609769821, 0.014792198315262794, 0.00795179046690464, 0.013177300803363323, 0.04787486791610718, -0.03283416107296944, 0.02753133326768875, 0.0312792994081974, -0.0012079804437234998, -0.018748758360743523, 0.008883917704224586, 0.011202332563698292, 0.018083790317177773, 0.07285425066947937, -0.02942226454615593, 0.04588529095053673, 0.01575358211994171, 0.03810615465044975, 0.10349814593791962, 0.03180826082825661, 0.01205580122768879, 0.024417944252490997, 0.07075779139995575, 0.009254335425794125, -0.013764954172074795, 0.08346007019281387, -0.03643831983208656, -0.004612567834556103, -0.04598875716328621, 0.027116650715470314, 0.002947238739579916, -0.007992164231836796, 0.037123844027519226, 0.004923740867525339, -0.009280819445848465, 0.003210303606465459, 0.002245465060696006, -0.01673097349703312, 0.03217058628797531, 0.017087969928979874, 0.00349403265863657, -0.007981294766068459, -0.0443507619202137, 0.01681073009967804, -0.08573848754167557, -0.08038506656885147, 0.011963242664933205, -0.017189087346196175, 0.007748614065349102, -0.05888327583670616, -0.045169975608587265, -0.05800294131040573, -0.008701321668922901, 0.0389520525932312, 0.027442600578069687, 0.014565513469278812, -0.019436011090874672, 0.012607925571501255, -0.027222605422139168, -0.005390995182096958, -0.04770208150148392, -0.027264589443802834, -0.02203182876110077, -0.056080713868141174, 0.03247271105647087, 0.007106284610927105, 0.049509353935718536, -0.0006971329567022622, 0.024889133870601654, -0.0051789069548249245, -0.03436657041311264, 0.036141399294137955, 0.04126843810081482, -0.024671480059623718, -0.04264688864350319, 0.01844075322151184, -0.001030568266287446, 0.016174253076314926, -0.013670978136360645, -0.017475074157118797, 0.08447329699993134, 0.08381480723619461, 0.030598832294344902, 0.009281040169298649, 0.006496483460068703, -0.05843386799097061, -0.0366743765771389, -0.035452213138341904, -0.05872216075658798, -0.0177034679800272, -0.0419624038040638, -0.06397359818220139, -0.013170942664146423, -0.004400426987558603, -0.0036822152324020863, -0.0056878081522881985, 0.004662866238504648, 0.044643837958574295, 0.043826181441545486, 0.021458642557263374, 0.029581991955637932, -0.025820311158895493, -0.00395058561116457, 0.09366725385189056, 0.02204163372516632, 0.017709316685795784, -0.06400661915540695, -0.014673947356641293, 0.026375871151685715, 0.03596741706132889, -0.01588764600455761, -0.027090320363640785, 0.08197551220655441, 0.011883963830769062, 0.01584012620151043, -0.00047507250565104187, -0.0057870736345648766, -0.03462013229727745, -0.00046732809278182685, -0.011957034468650818, -0.018874481320381165, -0.03552618622779846, -0.04513337463140488, -0.006107562221586704, 0.041130006313323975, -0.06403779238462448, -0.055494774132966995, -0.01871533691883087, 0.03908780589699745, 0.006314252968877554, -0.01561375055462122, -0.041739366948604584, 0.0039104195311665535, -0.0473053902387619, -0.040046751499176025, 0.008682774379849434, -0.0061546084471046925, 0.03195991367101669, 0.05943245440721512, 0.02377275563776493, -0.04324857145547867, 0.05120217055082321, 0.0449652336537838, 0.035474758595228195, 0.017453625798225403, -0.056793298572301865, 0.033856626600027084, -0.024991171434521675, 0.021809367462992668, 0.004181320779025555, -0.045790910720825195, -0.055761054158210754, -0.09136808663606644, 0.027714552357792854, -0.007675550412386656, -0.014615693129599094, -0.025142047554254532, 0.0441160574555397, -0.011834077537059784, -0.004791736137121916, -0.018615182489156723, 0.03102678433060646, 0.038319528102874756, -0.054762955754995346, 0.06249238923192024, -0.01035314705222845, 0.04657977446913719, -0.03688233718276024, 0.030804306268692017, -0.022263426333665848, -0.014185614883899689, 0.01970289647579193, 0.06549355387687683, 0.05084414780139923, 0.025316255167126656, 0.06911912560462952, 0.01488208957016468, -0.06312640756368637, 0.06030478700995445, 0.032534316182136536, -0.007092741783708334, -0.04236895218491554, 0.0015648389235138893, -0.008014229126274586, -0.04194359853863716, -0.0257802065461874, -0.03010416217148304, 0.016150200739502907, 0.04641576483845711, 0.025736700743436813, -0.011343642137944698, 0.005390602629631758, -0.059707533568143845, -0.03988824412226677, -0.06319764256477356, -0.038721151649951935, 0.0192271675914526, -0.013704243116080761, 0.04927575960755348, 0.05218878760933876, 0.002949107438325882, 0.05516840144991875, 0.05818992108106613, -0.011484856717288494, -0.042488060891628265, 0.033066362142562866, 0.034274280071258545, -0.026274297386407852, -0.08184324204921722, -0.04095989465713501, 0.0515628419816494, 0.04563695192337036, -0.018879102542996407, -0.08289943635463715, 0.002983591752126813, 0.05465688183903694, -0.031758181750774384, 0.04758850485086441, -0.00992122758179903, 0.04955814406275749, 0.05362122878432274, -0.014768288470804691, -0.0035659116692841053, -0.006231504492461681, 0.03238241374492645, 0.007426182273775339, 0.056286416947841644, -0.02172977104783058, -0.03692847862839699, -0.04951516538858414, 0.015898706391453743, 0.0313662551343441, 0.04063364490866661, 0.05863765999674797, -0.020857885479927063, -0.053317323327064514, -0.002021550899371505, 0.04113879054784775, -0.07885110378265381, 0.012537783943116665, 0.029410945251584053, 0.05693027004599571, -0.03073306195437908, -0.02625550515949726, -0.0228392593562603, 0.0012564844219014049, 0.025363268330693245, 0.008805999532341957, -0.029546938836574554, -0.07590486854314804, 0.023983865976333618, -0.0336168110370636, -0.03208119422197342, -0.08191040903329849, 0.01655411161482334, -0.018005985766649246, -0.009276878088712692, 0.014766977168619633, 0.0187122393399477, 0.04566187411546707, 0.029480958357453346, 0.0054263826459646225, 0.00859319418668747, -0.04675312340259552, 0.027375759556889534, -0.02726726606488228, -0.005109418649226427, -0.010820302180945873, -0.03866718336939812, 0.000848417985253036, -0.013370939530432224, -0.03877700865268707, -0.07370207458734512, -0.017378389835357666, 0.0262038242071867, -0.009049798361957073, 0.006854482926428318, -0.031333062797784805, 0.02713203988969326, -0.032116569578647614, -0.010870599187910557, -0.004994626622647047, -0.01916581392288208, -0.05734837427735329, -0.06351897865533829, 0.0021081173326820135, -0.00782239343971014, 0.03547074645757675, 0.017582008615136147, -0.011415082961320877, 0.03260805830359459, 0.024356601759791374, -0.032942574471235275, 0.0449029803276062, 0.002865835092961788, -0.0384119376540184, -0.027185993269085884, 0.0227096825838089, 0.016223978251218796, 0.043071404099464417, -0.028481246903538704, 0.0367104709148407, 0.012830234132707119, -0.0317465178668499, -0.030045339837670326, 0.03638793155550957, 0.012364840134978294, -0.08792326599359512, -0.04625560715794563, -0.02279711328446865, -0.03120977059006691, 0.04429830238223076, -0.011656339280307293, -0.03706085681915283, 0.026732275262475014, 0.0304485484957695, 0.03523283079266548, 0.008245037868618965, -0.01891421154141426, 0.015227672643959522, -0.0037510741967707872, 0.017506569623947144, -0.07463688403367996, 0.03954911604523659, -0.03462136909365654, 0.02227749116718769, -0.012916953302919865, -0.022556224837899208, -0.029475420713424683, 0.028132395818829536, -0.01828502118587494, -0.023215146735310555, -0.02356792241334915, 0.024919146671891212, -0.023363221436738968, 0.04843943193554878, -0.01852204091846943, 0.03356350585818291, -0.01637423224747181, 0.055746208876371384, -0.05938286706805229, -0.008036389946937561, -0.02791629172861576, -0.004316988866776228, -0.03512541577219963, -0.02208039164543152, -0.01908230036497116, -0.057495661079883575, 0.02751983515918255, 0.027180466800928116, 0.016678672283887863, 0.03976759314537048, -0.008194093592464924, 0.012521390803158283, 0.017191991209983826, -0.05282103270292282, -0.028821101412177086, -0.016299471259117126, 0.01800490729510784, -0.015136673115193844, 0.05933629348874092, 0.0449460931122303, -0.06608223915100098, -0.06461774557828903, 0.04434788227081299, 0.00635576294735074, -0.00036214408464729786, 0.006240139249712229, 0.028881052508950233, 0.046222805976867676, 0.044502660632133484, -0.028556711971759796, -0.018910236656665802, 0.011229300871491432, -0.03554747998714447, 0.023197054862976074, -0.0010702749714255333, 0.0068990085273981094, -0.016370942816138268, -0.02670155093073845, -0.04213054105639458, 0.07375331223011017, 0.022127078846096992, 0.019774459302425385, 0.022570880129933357, -0.02658896893262863, 0.025463206693530083, 0.0065546496771276, -0.04640978202223778, -0.004437362775206566, 0.008276445791125298, -0.033264510333538055, 0.082400843501091, -0.016335105523467064, 0.015599208883941174, 0.06340905278921127, 0.013972930610179901, -0.01813591457903385, 0.03785023093223572, -0.02636781893670559, 0.013971628621220589, 0.0417148619890213, -0.04772789776325226, -0.007905754260718822, -0.0428960919380188, 0.06521691381931305, -0.08306174725294113, 0.05342830717563629, 0.0408705435693264, 0.01777004450559616, 0.019240563735365868, -0.0200041551142931, -0.03633258864283562, 0.022495530545711517, -0.043651025742292404, 0.06651130318641663, 0.021868225187063217, -0.08181727677583694, 0.058200445026159286, -0.0006836469983682036, -0.06757289916276932, 0.04474707320332527, 0.0396035872399807, 0.01098671369254589, 0.017349733039736748, 0.03283889964222908, -0.06537206470966339, 0.026306532323360443, -0.03716297075152397, 0.039174992591142654, -0.060981202870607376, 0.002571796765550971, 0.002238563960418105, -0.03925788030028343, -0.017490096390247345, 0.022765664383769035, -0.03774351626634598, -0.0003276693169027567, 0.025737982243299484, -0.05169939994812012, -0.053858425468206406, 0.02396351471543312, 0.028717204928398132, -0.015544137917459011, 0.00807162094861269, -0.03956681489944458, 0.021037084981799126, 0.019894644618034363, -0.02074413374066353, -0.04939398542046547, -0.004880078602582216, 0.030205316841602325, -0.06625473499298096, -0.037071965634822845, 0.03248225897550583, 0.0005346944089978933, -0.03182072192430496, 0.042717017233371735, 0.006856979802250862, -0.008719430305063725, 0.03235466033220291, 0.003627004101872444, 0.030541496351361275, -0.04457659274339676, -0.002505356213077903, 0.02108646184206009, 0.012486898340284824, 0.010097717866301537, -0.01643596775829792, 0.025193335488438606, 0.04629755765199661, 0.03379305452108383, -0.009381892159581184, -0.03399314731359482, -0.01763974130153656, 0.015053892508149147, -0.046328105032444, -0.002594211371615529, 0.0070780375972390175, -0.04733109474182129, -0.0301322303712368, -0.009719852358102798, 0.02043234184384346, 0.05152057856321335, -0.05648885294795036, -0.0025646924041211605, 0.05132327973842621, -0.05052361637353897, -0.034695982933044434, -0.058527786284685135, -0.01474936492741108, -0.030979270115494728, 0.06383046507835388, 0.019969651475548744, -0.04268059879541397, -0.007096444256603718, -0.02385309338569641, -0.05449281260371208, 0.03205481916666031, 0.0429004542529583, -0.051295895129442215, 0.08145121484994888, 0.02340983785688877, -0.05155932903289795, -0.0013620683457702398, 0.0339616984128952, -0.06106516346335411, 0.04823517054319382, 0.018119994550943375, 0.023157309740781784, 0.015527167357504368, 0.03118741139769554, -0.01806376501917839, -0.023726629093289375, -0.05436186119914055, -0.01533411629498005, -0.014262900687754154, -0.00857486855238676, 0.05705752968788147 ]
AnonymousSub/SR_rule_based_roberta_twostage_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 } } }
4
null
--- language: ["ru"] tags: - russian - summarization datasets: - IlyaGusev/gazeta - csebuetnlp/xlsum - mlsum - wiki_lingua license: mit widget: - text: "Высота башни составляет 324 метра (1063 фута), примерно такая же высота, как у 81-этажного здания, и самое высокое сооружение в Париже. Его основание квадратно, размером 125 метров (410 футов) с любой стороны. Во время строительства Эйфелева башня превзошла монумент Вашингтона, став самым высоким искусственным сооружением в мире, и этот титул она удерживала в течение 41 года до завершения строительство здания Крайслер в Нью-Йорке в 1930 году. Это первое сооружение которое достигло высоты 300 метров. Из-за добавления вещательной антенны на вершине башни в 1957 году она сейчас выше здания Крайслер на 5,2 метра (17 футов). За исключением передатчиков, Эйфелева башня является второй самой высокой отдельно стоящей структурой во Франции после виадука Мийо." --- This is a model for abstractive Russian summarization, based on [cointegrated/rut5-base-multitask](https://huggingface.co/cointegrated/rut5-base-multitask) and fine-tuned on 4 datasets. It can be used as follows: ```python import torch from transformers import T5ForConditionalGeneration, T5Tokenizer MODEL_NAME = 'cointegrated/rut5-base-absum' model = T5ForConditionalGeneration.from_pretrained(MODEL_NAME) tokenizer = T5Tokenizer.from_pretrained(MODEL_NAME) model.cuda(); model.eval(); def summarize( text, n_words=None, compression=None, max_length=1000, num_beams=3, do_sample=False, repetition_penalty=10.0, **kwargs ): """ Summarize the text The following parameters are mutually exclusive: - n_words (int) is an approximate number of words to generate. - compression (float) is an approximate length ratio of summary and original text. """ if n_words: text = '[{}] '.format(n_words) + text elif compression: text = '[{0:.1g}] '.format(compression) + text x = tokenizer(text, return_tensors='pt', padding=True).to(model.device) with torch.inference_mode(): out = model.generate( **x, max_length=max_length, num_beams=num_beams, do_sample=do_sample, repetition_penalty=repetition_penalty, **kwargs ) return tokenizer.decode(out[0], skip_special_tokens=True) text = """Высота башни составляет 324 метра (1063 фута), примерно такая же высота, как у 81-этажного здания, и самое высокое сооружение в Париже. Его основание квадратно, размером 125 метров (410 футов) с любой стороны. Во время строительства Эйфелева башня превзошла монумент Вашингтона, став самым высоким искусственным сооружением в мире, и этот титул она удерживала в течение 41 года до завершения строительство здания Крайслер в Нью-Йорке в 1930 году. Это первое сооружение которое достигло высоты 300 метров. Из-за добавления вещательной антенны на вершине башни в 1957 году она сейчас выше здания Крайслер на 5,2 метра (17 футов). За исключением передатчиков, Эйфелева башня является второй самой высокой отдельно стоящей структурой во Франции после виадука Мийо.""" print(summarize(text)) # Эйфелева башня достигла высоты 300 метров. print(summarize(text, n_words=10)) # Французская Эйфелева башня достигла высоты 300 метров. ```
[ -0.00025270693004131317, -0.02728981524705887, -0.004218671470880508, 0.037540510296821594, 0.06733092665672302, 0.008877532556653023, -0.013876081444323063, -0.006477358750998974, -0.07815832644701004, 0.044977929443120956, 0.043790776282548904, -0.021114671602845192, 0.011197579093277454, 0.04579082131385803, -0.006987887434661388, -0.04378226399421692, -0.026789378374814987, 0.00031901412876322865, -0.06764085590839386, -0.017579110339283943, 0.006389705464243889, -0.0017207764321938157, -0.000044416145101422444, 0.03265630826354027, 0.015536733902990818, 0.03657590225338936, -0.009799730032682419, 0.015000705607235432, 0.046516839414834976, -0.05050135403871536, 0.018987400457262993, -0.03668900951743126, -0.055178456008434296, -0.061064671725034714, -0.018293477594852448, -0.010696176439523697, -0.023113848641514778, 0.012926911935210228, 0.00942583940923214, 0.046502735465765, -0.01868264377117157, 0.0009644374949857593, 0.00145906419493258, -0.029354415833950043, 0.03108825348317623, 0.010573465377092361, -0.052755631506443024, -0.012417596764862537, 0.023432554677128792, -0.004730967339128256, -0.04450194910168648, -0.05365411192178726, -0.03187083080410957, -0.019585035741329193, -0.031103327870368958, -0.030723202973604202, -0.05522927641868591, 0.019097600132226944, 0.06045171990990639, -0.07397396117448807, -0.05562784895300865, 0.028571778908371925, -0.08623641729354858, 0.03189258277416229, 0.026257062330842018, -0.03582547605037689, 0.03215097263455391, -0.04975903779268265, 0.0387725830078125, -0.016950109973549843, 0.044812969863414764, -0.03652741014957428, 0.04662301391363144, -0.07407743483781815, 0.000714207359123975, 0.0020226684864610434, 0.010548271238803864, 0.04444946348667145, -0.04644614830613136, 0.06837581098079681, 0.03608037531375885, -0.03676188737154007, 0.04102712869644165, -0.02655204012989998, -0.03425184264779091, 0.0510372631251812, -0.05514407157897949, -0.022813407704234123, 0.008836984634399414, 0.07871545106172562, -0.045224543660879135, -0.026198698207736015, -0.02882009744644165, -0.02422085404396057, -0.004251646809279919, 0.036428291350603104, 0.047061365097761154, -0.028101246803998947, 0.021410930901765823, 0.01093875803053379, 0.020596124231815338, 0.04959295690059662, -0.020723853260278702, 0.03437834233045578, 0.021453775465488434, 0.00006876965198898688, -0.008874084800481796, -0.016032375395298004, -0.05006810650229454, 0.013203267008066177, 0.013359887525439262, -0.04469570890069008, -0.03948759287595749, 0.042716603726148605, -0.0042966753244400024, -0.006873681675642729, 0.04967184737324715, -0.014057145453989506, -0.04599463939666748, -0.057206425815820694, 0.017078526318073273, 0.03302207961678505, 0.0013909502886235714, 0.02959306165575981, -0.009019897319376469, 0.013797611929476261, -0.056471794843673706, -0.009417290799319744, -0.0004695239767897874, 0.0231818575412035, 0.01381321344524622, 0.021423637866973877, 0.0655774250626564, -0.08593849837779999, -0.006208624225109816, 0.015154516324400902, -0.04738575965166092, 0.023437388241291046, 0.002877396298572421, 0.11010537296533585, -0.055359113961458206, -0.06019504740834236, 0.0017148717306554317, 0.014932808466255665, -0.017543254420161247, 0.009753345511853695, 0.010356348007917404, -0.01204585935920477, -0.022203881293535233, -0.01901327073574066, 0.03520570695400238, -0.0362497940659523, -0.023442227393388748, 0.06308015435934067, -0.030523493885993958, 0.007609244901686907, -0.029025254771113396, 0.005373508203774691, 0.0031148388516157866, -0.007725653704255819, -0.03770894184708595, 0.028767095878720284, 0.0004088009300176054, -0.028771406039595604, -0.04743577912449837, -0.04146107658743858, -0.010467355139553547, 0.07672647386789322, -0.004123919177800417, -0.03106951154768467, -0.05010076239705086, -0.0030526123009622097, 0.0325227752327919, 0.036366790533065796, -0.02886348031461239, 0.03993501514196396, 0.020743822678923607, 0.03743193671107292, 0.006621712818741798, 0.04671328887343407, 0.009058080613613129, -0.03410838544368744, -0.013792653568089008, 0.024838730692863464, 0.03613576292991638, -0.031509507447481155, 0.010719258338212967, 0.04314977303147316, 0.02312820591032505, -0.04856424033641815, -0.009557466953992844, 0.05765412375330925, 0.003136283252388239, -0.03399882838129997, 0.03066917322576046, -0.042306605726480484, -0.049723945558071136, 0.06449670344591141, -0.010403132066130638, -0.008945113979279995, -0.007065834477543831, -0.029628321528434753, 0.0017321849009022117, 0.032945211976766586, 0.023261427879333496, 0.044675059616565704, -0.02267279103398323, 0.0945592075586319, -0.012002144008874893, 0.009317785501480103, -0.03916236013174057, -0.08540555089712143, -0.017000028863549232, 0.0428701788187027, 0.021338364109396935, 0.07173211127519608, -0.013413081876933575, -0.03572998568415642, 0.027742404490709305, 0.07181470096111298, 0.03388739004731178, 0.013101274147629738, -0.027606802061200142, -0.004893629811704159, 0.02712094411253929, 0.04074588790535927, -0.027234435081481934, -0.039197325706481934, 0.026588262990117073, 0.035707660019397736, -0.04021187126636505, 0.006581941153854132, -0.0029422249644994736, 0.026990925893187523, -0.026803836226463318, -0.060521386563777924, 0.05114567279815674, 0.004515358246862888, 0.02179396152496338, 0.01689114421606064, -0.030763348564505577, 0.03172983229160309, 0.02858603186905384, 0.018721871078014374, 0.007216255646198988, -0.050554510205984116, 0.010783106088638306, 0.013313980773091316, 0.058112066239118576, -0.028781209141016006, 0.03709276020526886, 0.01965925469994545, 0.023870741948485374, 0.020875144749879837, -0.05682818219065666, 0.00895410031080246, 0.0422399565577507, 0.020904541015625, -0.045998819172382355, 0.0034046568907797337, 0.018863342702388763, 0.0008879530359990895, 0.09217623621225357, -0.03569910675287247, 0.017740976065397263, -0.0012015521060675383, 0.04117124155163765, 0.11407149583101273, 0.02730877511203289, 0.016388848423957825, 0.023101892322301865, 0.0792321115732193, -0.009580934420228004, -0.011250914074480534, 0.04876432567834854, -0.027711082249879837, 0.014068400487303734, -0.01744534820318222, -0.003481179941445589, -0.01294180378317833, 0.008381664752960205, 0.02380000241100788, 0.0071447440423071384, -0.013735156506299973, -0.0009589723777025938, -0.00111088075209409, -0.01609281450510025, 0.021302007138729095, 0.010184494778513908, 0.00702835014089942, 0.0017176546389237046, -0.04202481731772423, -0.0005382786621339619, -0.056924570351839066, -0.054649919271469116, -0.013127158395946026, -0.0045896368101239204, 0.020303644239902496, -0.04912988841533661, -0.02687888592481613, -0.05731929838657379, -0.0271594375371933, 0.03211762756109238, 0.03877069056034088, -0.005977578926831484, -0.017857925966382027, 0.0176013745367527, -0.026422875002026558, -0.027546141296625137, -0.03937063366174698, -0.030183671042323112, -0.024215595796704292, -0.06695151329040527, 0.006854211445897818, 0.014035997912287712, 0.05782491713762283, -0.0018218314507976174, 0.01641354151070118, -0.01698063686490059, -0.023824064061045647, 0.04632234573364258, 0.056304171681404114, -0.019123854115605354, -0.03459273278713226, 0.05666626617312431, 0.015211242251098156, 0.02063431404531002, -0.01788480579853058, -0.03504104167222977, 0.05096113681793213, 0.1073397547006607, 0.016154693439602852, 0.02089124359190464, 0.041412603110075, -0.055409494787454605, -0.03627962991595268, -0.049746233969926834, -0.046985603868961334, -0.011719864793121815, -0.03861922398209572, -0.04879314824938774, -0.02397005818784237, -0.008044346235692501, -0.006515295710414648, 0.009686915203928947, -0.00305972364731133, 0.05795068293809891, 0.03900276869535446, 0.032087668776512146, 0.00968630425632, -0.057887203991413116, -0.018927142024040222, 0.08426930010318756, 0.0342324897646904, 0.003921850584447384, -0.04230461269617081, -0.01788872666656971, 0.020281020551919937, 0.012650501914322376, -0.013544519431889057, -0.03992298245429993, 0.03381643444299698, 0.013492465950548649, 0.02729976363480091, 0.00399246858432889, -0.03344001993536949, -0.05423422157764435, 0.012825338169932365, -0.00892073754221201, -0.02466006949543953, -0.035234320908784866, -0.03238778933882713, 0.0037462692707777023, 0.030720476061105728, -0.06089480221271515, -0.05960358679294586, -0.003511636285111308, 0.043386828154325485, -0.013857563957571983, 0.00793498195707798, -0.04967173561453819, 0.007815646007657051, -0.04824871942400932, -0.01688425801694393, 0.018727006390690804, -0.006349991075694561, 0.0015600655460730195, 0.05176260322332382, 0.060840219259262085, -0.022997519001364708, 0.056593142449855804, 0.036711208522319794, 0.03920997306704521, 0.015971802175045013, -0.047114014625549316, 0.02108287438750267, -0.017085948958992958, 0.014560407027602196, 0.022267675027251244, -0.042393241077661514, -0.031967613846063614, -0.0947282537817955, -0.011266871355473995, 0.03295151889324188, -0.0025551978033035994, -0.041014764457941055, 0.03418632596731186, -0.023658327758312225, -0.018484925851225853, -0.023609846830368042, 0.02569759078323841, 0.051056988537311554, -0.05444345995783806, 0.06373186409473419, -0.002008488867431879, 0.031115569174289703, -0.04262860119342804, -0.006114410702139139, -0.027318552136421204, 0.0021379312966018915, 0.018821915611624718, 0.06511779129505157, 0.03501168265938759, 0.02801457792520523, 0.07452209293842316, -0.016220124438405037, -0.039245955646038055, 0.0611129105091095, 0.029429065063595772, -0.004715428687632084, -0.042528897523880005, 0.014305024407804012, 0.004242701455950737, -0.028002019971609116, -0.008228207938373089, -0.027686428278684616, 0.027705904096364975, 0.048382364213466644, 0.049627408385276794, -0.01603395864367485, 0.003709923243150115, -0.0474943108856678, -0.02660779096186161, -0.017228785902261734, -0.015551396645605564, 0.04069819301366806, 0.001533970469608903, 0.016605863347649574, 0.04556424543261528, 0.012478509917855263, 0.058958880603313446, 0.009740592911839485, -0.029107455164194107, -0.021864181384444237, 0.0311176348477602, 0.02203330583870411, -0.050513725727796555, -0.0552150122821331, -0.029154259711503983, 0.04731062427163124, 0.02821820043027401, -0.02644207701086998, -0.08051194995641708, -0.016451898962259293, 0.04055655002593994, -0.03652605041861534, 0.0319606177508831, 0.008269129320979118, 0.05338398367166519, 0.06148725748062134, -0.02794872224330902, -0.010120184160768986, -0.015573892742395401, 0.02414887025952339, 0.00013150961603969336, 0.048915795981884, 0.006167519371956587, -0.03439469635486603, -0.02947414107620716, 0.02872682362794876, 0.027346279472112656, 0.044601667672395706, 0.023969290778040886, -0.029788658022880554, -0.018823089078068733, -0.018467877060174942, 0.05595914274454117, -0.09737630933523178, 0.03121228516101837, 0.037688858807086945, 0.03252611681818962, -0.037183862179517746, -0.031218333169817924, 0.0028782032895833254, 0.013501275330781937, 0.06319651752710342, -0.017656546086072922, -0.02655278705060482, -0.07510552555322647, 0.03807017579674721, 0.006988571956753731, -0.05005347356200218, -0.07683117687702179, 0.0548953153192997, -0.019552677869796753, -0.031347379088401794, 0.03225576877593994, 0.032101552933454514, 0.037268973886966705, 0.04757054150104523, 0.026311619207262993, 0.021847710013389587, -0.04526858404278755, 0.02747800573706627, -0.048020120710134506, 0.007064230274409056, -0.01067629549652338, -0.02167276293039322, -0.0016670384211465716, -0.012899118475615978, -0.06203676760196686, -0.04399887099862099, -0.03203098103404045, 0.022049978375434875, 0.013985317200422287, -0.023997824639081955, -0.010372355580329895, 0.022504203021526337, 0.0022588407155126333, -0.008905294351279736, -0.009168051183223724, -0.04143465682864189, -0.04038897901773453, -0.05074519291520119, 0.030997995287179947, -0.024139484390616417, 0.021390708163380623, 0.03558658808469772, -0.017497755587100983, 0.02953704074025154, 0.021577468141913414, -0.0337296761572361, 0.05477822199463844, 0.009824446402490139, -0.04916233941912651, -0.041630055755376816, 0.023610945791006088, 0.008094285614788532, 0.04676961898803711, -0.03547048196196556, 0.037154749035835266, -0.004585359711199999, -0.014689127914607525, -0.02940061129629612, 0.03783313184976578, 0.004697096534073353, -0.06657014042139053, -0.05325916409492493, 0.004543587565422058, -0.01806383952498436, 0.03399102762341499, -0.010820993222296238, -0.050421085208654404, 0.008039000444114208, 0.042354583740234375, 0.04087945073843002, 0.038169920444488525, -0.01516890898346901, 0.04347734898328781, -0.01088978722691536, 0.0004906094982288778, -0.07332908362150192, 0.031636662781238556, -0.010813667438924313, 0.018536556512117386, -0.017143268138170242, -0.013881217688322067, -0.039728738367557526, 0.010418136604130268, -0.02335597574710846, -0.013472937978804111, -0.005735540296882391, 0.032020073384046555, -0.02891034260392189, 0.043367840349674225, 0.009404885582625866, 0.03556277975440025, -0.025532765313982964, 0.04425371065735817, -0.04276105761528015, 0.007525194901973009, -0.016081463545560837, -0.004716774914413691, -0.05196709930896759, -0.0007406761287711561, -0.024120774120092392, -0.06594213098287582, 0.024932295083999634, 0.039605580270290375, 0.008686717599630356, 0.008640514686703682, -0.013534744270145893, -0.020133258774876595, 0.013013435527682304, -0.046739883720874786, -0.028743669390678406, -0.031189337372779846, -0.01926395297050476, -0.024960732087492943, 0.03179996460676193, 0.03382382169365883, -0.06474728137254715, -0.04836636036634445, 0.039431627839803696, -0.002192532876506448, -0.006986628286540508, -0.011727551929652691, 0.01866120845079422, 0.03605096414685249, 0.0465870127081871, -0.019895853474736214, -0.00515473959967494, -0.029530111700296402, -0.0162141565233469, 0.013956623151898384, -0.0012683627428486943, 0.022923680022358894, -0.018329842016100883, -0.032690998166799545, -0.016182398423552513, 0.07244512438774109, 0.05317157134413719, 0.05187780037522316, -0.0006102822371758521, -0.02705427259206772, 0.03046244941651821, 0.023519689217209816, -0.029559975489974022, 0.04275739938020706, 0.020580818876624107, -0.014369339682161808, 0.08679895102977753, -0.02125125750899315, 0.024579554796218872, 0.06792198121547699, 0.03385801613330841, -0.03883518651127815, 0.035357553511857986, -0.022904308512806892, 0.02156285010278225, 0.037717826664447784, -0.0562005378305912, 0.012199413031339645, -0.060601793229579926, 0.054356642067432404, -0.09409556537866592, 0.05354949086904526, 0.03610452264547348, 0.01572066731750965, 0.008145742118358612, -0.021993102505803108, -0.012885600328445435, 0.03808637708425522, -0.05251204967498779, 0.06175536289811134, 0.01961260475218296, -0.0645323321223259, 0.08217702805995941, -0.038961101323366165, -0.07599012553691864, 0.05544031783938408, 0.031169995665550232, 0.024056648835539818, 0.05145946145057678, 0.028186367824673653, -0.04815852642059326, 0.023177795112133026, -0.017062027007341385, 0.02149897813796997, -0.031374622136354446, -0.0059921336360275745, 0.01217623334378004, -0.02317071333527565, -0.030089862644672394, 0.003552120178937912, -0.034134723246097565, 0.009809192270040512, 0.032070256769657135, -0.028601273894309998, -0.059566546231508255, 0.04364551603794098, 0.049572013318538666, -0.023688877001404762, -0.006663621868938208, -0.042147476226091385, 0.01611987315118313, 0.03727142885327339, -0.0030890507623553276, -0.029360240325331688, 0.0008027313160710037, 0.027128785848617554, -0.09981225430965424, -0.023844510316848755, 0.028689948841929436, -0.007580417208373547, -0.018127739429473877, 0.031389269977808, 0.021153850480914116, -0.004557161126285791, 0.03128466382622719, 0.012997180223464966, 0.012119444087147713, -0.021197307854890823, -0.00610860250890255, 0.012932313606142998, -0.00467060599476099, 0.019389983266592026, -0.009517109952867031, 0.030054688453674316, 0.034092094749212265, 0.03708285838365555, -0.009159442968666553, -0.04425334185361862, -0.010298917070031166, 0.005709418095648289, -0.05170794576406479, 0.01501163188368082, 0.0017262211767956614, -0.06522966921329498, -0.03933939337730408, 0.0005420724046416581, 0.017697105184197426, 0.019268464297056198, -0.04763052612543106, 0.005383634474128485, 0.0079472865909338, -0.0015774224884808064, -0.026904862374067307, -0.06564182788133621, -0.042984675616025925, -0.05369521304965019, 0.03688555583357811, 0.025523986667394638, -0.028040330857038498, -0.0006803729920648038, -0.02437359280884266, -0.08648892492055893, 0.015402562916278839, 0.007726320065557957, -0.04071071371436119, 0.05125252902507782, 0.043873921036720276, -0.06128162890672684, -0.0031286722514778376, 0.06251126527786255, -0.037910010665655136, 0.03749224171042442, 0.005942784249782562, 0.03136403113603592, 0.050744835287332535, 0.06617914885282516, -0.01574825309216976, -0.020340079441666603, -0.04227316379547119, -0.03581129387021065, -0.011685030534863472, 0.013349597342312336, 0.06011369824409485 ]
AnonymousSub/SR_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 } } }
4
null
--- language: - ru - en - multilingual license: mit tags: - russian --- This is a smaller version of the [google/mt5-base](https://huggingface.co/google/mt5-base) model with only Russian and some English embeddings left. * The original model has 582M parameters, with 384M of them being input and output embeddings. * After shrinking the `sentencepiece` vocabulary from 250K to 30K (top 10K English and top 20K Russian tokens) the number of model parameters reduced to 244M parameters, and model size reduced from 2.2GB to 0.9GB - 42% of the original one. The creation of this model is described in the post [How to adapt a multilingual T5 model for a single language](https://cointegrated.medium.com/how-to-adapt-a-multilingual-t5-model-for-a-single-language-b9f94f3d9c90) along with the source code.
[ -0.019272014498710632, -0.034335605800151825, -0.0019656363874673843, 0.03960728272795677, 0.03914353623986244, 0.01984787918627262, -0.015444120392203331, -0.0025703951250761747, -0.04893851280212402, 0.06145564094185829, 0.03263791650533676, -0.025844411924481392, 0.01644020527601242, 0.04259108379483223, -0.007522717118263245, -0.008064494468271732, -0.025282755494117737, -0.010432180017232895, -0.0584552176296711, -0.016998857259750366, -0.008772232569754124, -0.0009649815037846565, -0.016161007806658745, 0.016107624396681786, 0.008408665657043457, 0.04311595484614372, -0.01578562892973423, 0.02789127826690674, 0.018751366063952446, -0.06012160703539848, 0.017776016145944595, -0.04268336296081543, -0.034382544457912445, -0.03840209171175957, -0.0015115432906895876, -0.011360450647771358, -0.01218458078801632, -0.0019959097262471914, 0.020081624388694763, 0.03935879096388817, -0.019071444869041443, -0.0025724456645548344, -0.01219232752919197, -0.044989213347435, 0.04118891805410385, 0.010607860051095486, -0.04367423802614212, -0.010848251171410084, 0.044788848608732224, -0.024168802425265312, -0.03037109225988388, -0.07447544485330582, -0.02263210527598858, -0.0055968062952160835, -0.015163354575634003, -0.03799145668745041, -0.06852423399686813, -0.0018492161761969328, 0.06710551679134369, -0.0586358942091465, -0.03942488878965378, 0.01433706283569336, -0.057173945009708405, 0.02238588221371174, 0.0380239300429821, -0.01934659108519554, 0.013480890542268753, -0.05329986661672592, 0.04639153927564621, -0.004093666095286608, 0.029993372038006783, -0.01714641973376274, 0.023520853370428085, -0.09423083066940308, -0.016433799639344215, -0.015727544203400612, 0.02027333714067936, 0.04032579064369202, -0.035467393696308136, 0.06074422597885132, 0.02173548750579357, -0.025831155478954315, 0.024742107838392258, -0.0007744156755506992, -0.03372747078537941, 0.050011809915304184, -0.02654489316046238, -0.025322459638118744, -0.009839754551649094, 0.045557137578725815, -0.06637588143348694, -0.025033660233020782, -0.012582019902765751, -0.0361802913248539, -0.002413278678432107, 0.023090217262506485, 0.059276338666677475, -0.04109782353043556, 0.03116394393146038, 0.012004555203020573, 0.026016458868980408, 0.058230552822351456, -0.004627063870429993, 0.045186273753643036, -0.01116565614938736, 0.008274481631815434, -0.012416647747159004, -0.024687564000487328, -0.025605496019124985, 0.04040997475385666, 0.024517517536878586, -0.03719136491417885, -0.05680383741855621, 0.04955907166004181, 0.003891261061653495, -0.03201304003596306, 0.04598257690668106, -0.030261589214205742, -0.02101997658610344, -0.05780477449297905, 0.04388091713190079, -0.0019446321530267596, 0.022461827844381332, 0.0035675291437655687, -0.051004037261009216, 0.03470715507864952, -0.05404093489050865, -0.0385746955871582, -0.003106033895164728, 0.025582654401659966, -0.012345103546977043, 0.02481083944439888, 0.05203815922141075, -0.061488572508096695, -0.001990772783756256, -0.0049173468723893166, -0.05360772833228111, 0.06454025954008102, 0.014601684175431728, 0.1078469306230545, -0.044901661574840546, -0.060272932052612305, 0.026833422482013702, 0.015119098126888275, -0.027404077351093292, 0.004388910718262196, 0.012688077054917812, -0.03133782371878624, -0.026237230747938156, -0.015096231363713741, 0.052876539528369904, -0.03143002465367317, 0.0020942992996424437, 0.024305790662765503, 0.00019321838044561446, 0.022176971659064293, -0.03156008943915367, -0.014315640553832054, 0.01603727415204048, -0.017819350585341454, -0.036639947444200516, 0.024182161316275597, 0.01007516123354435, -0.02355431206524372, -0.04272496700286865, -0.025629127398133278, 0.04961991682648659, 0.05885648727416992, 0.017855118960142136, -0.011909774504601955, -0.030891643837094307, 0.012924566864967346, 0.046020179986953735, 0.03192364424467087, -0.029581161215901375, 0.019599685445427895, 0.03008364886045456, 0.01618778519332409, 0.011554572731256485, 0.06200840324163437, 0.010357233695685863, -0.030311496928334236, -0.012791747227311134, 0.019171850755810738, 0.008203555829823017, -0.04209233447909355, 0.009717295877635479, 0.05857427790760994, -0.004469935782253742, -0.049446091055870056, -0.004017288330942392, 0.059509918093681335, -0.006451865192502737, -0.005953742656856775, -0.002320377854630351, -0.01774887554347515, -0.03565102443099022, 0.06908903270959854, -0.0074792359955608845, -0.0082554267719388, -0.03418581187725067, -0.0357348695397377, -0.006252128165215254, 0.044065527617931366, 0.03702563792467117, 0.03852016478776932, -0.018563229590654373, 0.07152082026004791, -0.02249753475189209, -0.01354339811950922, -0.050098780542612076, -0.05971531569957733, -0.0012549394741654396, 0.06167043745517731, 0.02623012661933899, 0.04769778251647949, -0.0037417192943394184, -0.03888489678502083, 0.007918670773506165, 0.08730662614107132, 0.06095075607299805, 0.002927882131189108, -0.01769852265715599, -0.007058584596961737, 0.016519388183951378, 0.06132166460156441, -0.05568907782435417, -0.0161446426063776, 0.031680166721343994, 0.045322734862565994, -0.030860180035233498, 0.007352497894316912, -0.002181609394028783, 0.025756636634469032, -0.04284856840968132, -0.04754861444234848, 0.04428665339946747, 0.01954607293009758, 0.012328919023275375, 0.015148559585213661, -0.019019687548279762, 0.031027594581246376, 0.03756313398480415, -0.004347953479737043, -0.0050587947480380535, -0.04314260557293892, -0.002676054835319519, 0.007909247651696205, 0.048974405974149704, -0.025592640042304993, 0.024917522445321083, 0.0019549524877220392, 0.002035005483776331, 0.04040725901722908, -0.06153373792767525, 0.0041498951613903046, 0.034726932644844055, 0.0017940091202035546, -0.035599175840616226, 0.014156272634863853, 0.014464304782450199, 0.024138253182172775, 0.07895585149526596, -0.011005411855876446, 0.03459280729293823, 0.022614598274230957, 0.0333474799990654, 0.11419200897216797, 0.03046543523669243, 0.012071921490132809, 0.021233076229691505, 0.07780485600233078, -0.0014370583230629563, 0.016309529542922974, 0.08348200470209122, -0.05195336788892746, 0.008230906911194324, -0.039635591208934784, 0.02494795061647892, -0.009223331697285175, -0.0105246277526021, 0.04233100637793541, -0.007262428291141987, -0.01947266235947609, 0.022335631772875786, -0.018018871545791626, -0.015086434781551361, 0.023556005209684372, 0.009314100258052349, -0.011387065052986145, -0.017446357756853104, -0.04253125190734863, 0.031244099140167236, -0.07854088395833969, -0.041019096970558167, -0.0035048106219619513, -0.01579882763326168, 0.03564072772860527, -0.05417780578136444, -0.04389600083231926, -0.046575456857681274, -0.022583281621336937, 0.038936469703912735, 0.029658423736691475, 0.015049658715724945, -0.02782449871301651, 0.0240788534283638, -0.03254172205924988, -0.008768164552748203, -0.05534681677818298, -0.028802143409848213, -0.005663774907588959, -0.06453248113393784, 0.04275676608085632, 0.010293891653418541, 0.044893529266119, 0.014048471115529537, 0.02684733271598816, -0.016829345375299454, -0.05158675089478493, 0.04776241257786751, 0.037146471440792084, -0.025401191785931587, -0.04093721881508827, 0.03010091371834278, 0.0022763353772461414, 0.004089662339538336, -0.02213498018682003, -0.028206299990415573, 0.07300159335136414, 0.0701296254992485, 0.02683252841234207, 0.02138083428144455, 0.020832715556025505, -0.058934133499860764, -0.06083260104060173, -0.023884231224656105, -0.05800427123904228, -0.018898174166679382, -0.019106311723589897, -0.046483155339956284, -0.014177166856825352, -0.024497458711266518, -0.0035461809020489454, -0.00105249451007694, -0.006028985138982534, 0.052810970693826675, 0.03970813751220703, 0.03951011598110199, 0.02355026826262474, -0.041001055389642715, -0.0003296754730399698, 0.07648726552724838, 0.04761255905032158, -0.008246268145740032, -0.04506738856434822, -0.03488708660006523, 0.03143838047981262, 0.02298564650118351, -0.005586874671280384, -0.017002156004309654, 0.07095009833574295, 0.014553159475326538, 0.004094114527106285, 0.015960343182086945, -0.029547307640314102, -0.02959868311882019, 0.023157596588134766, -0.010767119005322456, -0.020959144458174706, -0.034539274871349335, -0.03423799201846123, 0.006325818132609129, 0.05347107723355293, -0.07083752751350403, -0.06033293157815933, -0.02489945851266384, 0.020815549418330193, 0.015175068750977516, -0.02149025909602642, -0.03474131599068642, -0.0036851370241492987, -0.04330246523022652, -0.0332607626914978, 0.009443715214729309, -0.006413930561393499, 0.0330074317753315, 0.06303396821022034, 0.03383059427142143, -0.018672430887818336, 0.04555035009980202, 0.029788602143526077, 0.03079119138419628, 0.03020375408232212, -0.03137865662574768, 0.024707281962037086, -0.03607175499200821, 0.027330435812473297, 0.033517494797706604, -0.03877909854054451, -0.051125310361385345, -0.09023575484752655, -0.007278629578649998, -0.0029881333466619253, -0.008854174986481667, -0.014746966771781445, 0.054710883647203445, -0.01798289828002453, -0.010489728301763535, -0.022590789943933487, 0.03877323120832443, 0.051627472043037415, -0.07721882313489914, 0.059327416121959686, 0.003946113400161266, 0.052994463592767715, -0.043018888682127, 0.009115309454500675, -0.005321791395545006, -0.010140781290829182, -0.00030237098690122366, 0.06364172697067261, 0.046870701014995575, 0.07122745364904404, 0.08463209122419357, 0.0077386400662362576, -0.05077924579381943, 0.06037532165646553, 0.049718163907527924, -0.0013764697359874845, -0.03231547027826309, -0.0060500833205878735, -0.007885974831879139, -0.040152572095394135, -0.008521740324795246, -0.03397176042199135, 0.018119974061846733, 0.05036533623933792, 0.0042447615414857864, 0.0014739884063601494, -0.006157110445201397, -0.04447152838110924, -0.051650773733854294, -0.06443537026643753, -0.03749340772628784, 0.020078381523489952, -0.018770849332213402, 0.03892476111650467, 0.05672844499349594, 0.015190239995718002, 0.049339041113853455, 0.04289660230278969, -0.03266361355781555, -0.05922037363052368, 0.00797286443412304, 0.03224209323525429, -0.03568895533680916, -0.08200046420097351, -0.03742433339357376, 0.04694979637861252, 0.045293014496564865, 0.002098425757139921, -0.07631834596395493, 0.0096876360476017, 0.03858131542801857, -0.02234109304845333, 0.04868941381573677, -0.03294140473008156, 0.04730644449591637, 0.040114328265190125, -0.01599258743226528, 0.0017179865390062332, -0.016515549272298813, 0.0359850637614727, -0.00870056077837944, 0.05131572484970093, -0.015073915012180805, -0.04557148739695549, -0.07380154728889465, 0.019957739859819412, 0.01889886148273945, 0.034161072224378586, 0.04405706375837326, -0.012161998078227043, -0.06254297494888306, 0.012860151939094067, 0.02239038795232773, -0.074050672352314, 0.020486392080783844, 0.033930905163288116, 0.02839360013604164, -0.04423904791474342, -0.02274438738822937, -0.02840641513466835, 0.0010421528713777661, 0.027979768812656403, -0.001589399529621005, -0.03308399021625519, -0.05956098437309265, 0.016314106062054634, -0.03145430237054825, -0.03217069432139397, -0.0888216644525528, -0.0009961208561435342, -0.04007476940751076, -0.01916291005909443, 0.045747771859169006, 0.022859305143356323, 0.024484435096383095, 0.04504454508423805, 0.009105166420340538, 0.020030351355671883, -0.03661711886525154, 0.03293658420443535, -0.00544323306530714, 0.004085850436240435, -0.015585499815642834, -0.047054849565029144, -0.01514857541769743, -0.03686964139342308, -0.05452265217900276, -0.048944998532533646, -0.026119770482182503, 0.017267754301428795, -0.021250126883387566, 0.005584470462054014, -0.02462157793343067, 0.026587510481476784, -0.03632264956831932, -0.023416316136717796, -0.004626078065484762, -0.037490081042051315, -0.06169334426522255, -0.06323175877332687, 0.016449030488729477, -0.005782931111752987, 0.05927559733390808, 0.0075365230441093445, -0.0012255939655005932, 0.03824140876531601, 0.006494693923741579, -0.010033135302364826, 0.04306386411190033, -0.010986559092998505, -0.03139205649495125, -0.03873266652226448, -0.00254050106741488, 0.035587992519140244, 0.039755161851644516, -0.027870090678334236, 0.034270405769348145, 0.02659846469759941, -0.009111274965107441, -0.028783414512872696, 0.0157356858253479, 0.011991282925009727, -0.08196065574884415, -0.03886137157678604, -0.02044784277677536, -0.039369478821754456, 0.02473720721900463, -0.020170528441667557, -0.020488452166318893, 0.024108335375785828, 0.03999419882893562, 0.04154083877801895, 0.02006945013999939, -0.029130499809980392, 0.025178851559758186, -0.008960677310824394, 0.007214242592453957, -0.06191719323396683, 0.035254113376140594, -0.014550848864018917, 0.01389720942825079, -0.026230238378047943, -0.0057456823997199535, -0.04390856251120567, 0.02726011723279953, -0.015544156543910503, -0.02935776486992836, -0.010634336620569229, 0.0127564100548625, -0.0251924991607666, 0.05700536444783211, -0.013666979968547821, 0.015394276939332485, -0.02304251678287983, 0.0701223760843277, -0.045102182775735855, -0.001641490962356329, -0.04225952550768852, -0.003014784073457122, -0.026407765224575996, -0.04196431115269661, -0.02115015499293804, -0.05953989923000336, 0.03320488706231117, 0.02772199921309948, 0.017522983253002167, 0.04592880234122276, -0.021866600960493088, 0.011395847424864769, 0.011054947972297668, -0.06671015918254852, -0.023053226992487907, -0.014571876265108585, 0.022921664640307426, -0.002259419998154044, 0.06619066745042801, 0.03486257046461105, -0.04946744069457054, -0.044314950704574585, 0.03779191896319389, -0.0017730494728311896, -0.0025972980074584484, 0.01240791566669941, 0.03102298453450203, 0.03259895369410515, 0.047589655965566635, -0.03214637190103531, -0.008121849969029427, 0.0008310902048833668, -0.022419089451432228, 0.02461240068078041, 0.011776362545788288, 0.010930824093520641, -0.008838336914777756, -0.028537044301629066, -0.01961052417755127, 0.06040383130311966, 0.03365958854556084, 0.030451003462076187, 0.005002305377274752, -0.03621320053935051, 0.03573644906282425, 0.01199362426996231, -0.04392591491341591, -0.010623273439705372, 0.033933889120817184, -0.023102283477783203, 0.07143954187631607, -0.02580813318490982, 0.016939112916588783, 0.0632234513759613, 0.02016226202249527, -0.01897505670785904, 0.03886093944311142, -0.025454876944422722, -0.002611282281577587, 0.04236152768135071, -0.045779213309288025, 0.005659985356032848, -0.051520366221666336, 0.07867764681577682, -0.06614909321069717, 0.04640505835413933, 0.05226115882396698, 0.006672089919447899, 0.005589253734797239, -0.012551611289381981, -0.055370595306158066, 0.003943583462387323, -0.03075692430138588, 0.056888021528720856, 0.01735163852572441, -0.06677589565515518, 0.08308099210262299, 0.0025915123987942934, -0.07448089867830276, 0.050612084567546844, 0.05081389099359512, 0.018293557688593864, 0.026260949671268463, 0.032080814242362976, -0.07835099846124649, 0.03090728260576725, -0.018665960058569908, 0.023719578981399536, -0.0642864853143692, -0.02216045930981636, 0.024675821885466576, -0.04878074675798416, -0.015907859429717064, 0.006084134336560965, -0.03441278263926506, 0.013647405430674553, 0.03792703151702881, -0.04788217693567276, -0.041855353862047195, 0.01244721096009016, 0.017574867233633995, -0.01579754613339901, -0.010555470362305641, -0.04645562171936035, 0.03688368201255798, 0.02253180369734764, -0.020022796466946602, -0.027215680107474327, 0.010977117344737053, 0.010858782567083836, -0.06594869494438171, -0.04430188238620758, 0.03483596816658974, -0.004999774973839521, -0.03560737147927284, 0.04423380643129349, -0.003290876280516386, 0.010922550223767757, 0.024275723844766617, 0.0018331989413127303, 0.03613101318478584, -0.047190144658088684, -0.011852334253489971, 0.020201776176691055, 0.013358025811612606, 0.018075982108712196, -0.01097231823951006, 0.028563296422362328, 0.04849889501929283, 0.015113727189600468, -0.024470442906022072, -0.03567264974117279, -0.01691492088139057, 0.015603777021169662, -0.06034615635871887, 0.004888113122433424, 0.006817657500505447, -0.05726594477891922, -0.03421446681022644, -0.026127099990844727, 0.02467292919754982, 0.04429882764816284, -0.04864739999175072, 0.0037514253053814173, 0.042730119079351425, -0.02824113331735134, -0.034329596906900406, -0.07188566774129868, -0.02074636146426201, -0.02787742204964161, 0.06109698861837387, 0.024275878444314003, -0.04411056265234947, 0.011406658217310905, -0.04202299937605858, -0.08951044827699661, 0.02569819800555706, 0.02204757370054722, -0.038853324949741364, 0.05917071923613548, 0.026754137128591537, -0.037131328135728836, -0.007993007078766823, 0.03295249864459038, -0.05715763196349144, 0.049680497497320175, 0.023832427337765694, 0.020037643611431122, 0.009177254512906075, 0.022010495886206627, -0.0270139891654253, -0.03770846873521805, -0.05335868522524834, -0.03647836297750473, -0.015022242441773415, 0.005085939075797796, 0.06917177885770798 ]