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
ArBert/albert-base-v2-finetuned-ner-gmm-twitter
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-05-23T16:27:51Z
--- language: - en tags: - punctuation license: mit datasets: - yelp_polarity metrics: - f1 --- # ✨ bert-restore-punctuation [![forthebadge](https://forthebadge.com/images/badges/gluten-free.svg)]() This a bert-base-uncased model finetuned for punctuation restoration on [Yelp Reviews](https://www.tensorflow.org/datasets/catalog/yelp_polarity_reviews). The model predicts the punctuation and upper-casing of plain, lower-cased text. An example use case can be ASR output. Or other cases when text has lost punctuation. This model is intended for direct use as a punctuation restoration model for the general English language. Alternatively, you can use this for further fine-tuning on domain-specific texts for punctuation restoration tasks. Model restores the following punctuations -- **[! ? . , - : ; ' ]** The model also restores the upper-casing of words. ----------------------------------------------- ## 🚋 Usage **Below is a quick way to get up and running with the model.** 1. First, install the package. ```bash pip install rpunct ``` 2. Sample python code. ```python from rpunct import RestorePuncts # The default language is 'english' rpunct = RestorePuncts() rpunct.punctuate("""in 2018 cornell researchers built a high-powered detector that in combination with an algorithm-driven process called ptychography set a world record by tripling the resolution of a state-of-the-art electron microscope as successful as it was that approach had a weakness it only worked with ultrathin samples that were a few atoms thick anything thicker would cause the electrons to scatter in ways that could not be disentangled now a team again led by david muller the samuel b eckert professor of engineering has bested its own record by a factor of two with an electron microscope pixel array detector empad that incorporates even more sophisticated 3d reconstruction algorithms the resolution is so fine-tuned the only blurring that remains is the thermal jiggling of the atoms themselves""") # Outputs the following: # In 2018, Cornell researchers built a high-powered detector that, in combination with an algorithm-driven process called Ptychography, set a world record by tripling the # resolution of a state-of-the-art electron microscope. As successful as it was, that approach had a weakness. It only worked with ultrathin samples that were a few atoms # thick. Anything thicker would cause the electrons to scatter in ways that could not be disentangled. Now, a team again led by David Muller, the Samuel B. # Eckert Professor of Engineering, has bested its own record by a factor of two with an Electron microscope pixel array detector empad that incorporates even more # sophisticated 3d reconstruction algorithms. The resolution is so fine-tuned the only blurring that remains is the thermal jiggling of the atoms themselves. ``` **This model works on arbitrarily large text in English language and uses GPU if available.** ----------------------------------------------- ## 📡 Training data Here is the number of product reviews we used for finetuning the model: | Language | Number of text samples| | -------- | ----------------- | | English | 560,000 | We found the best convergence around _**3 epochs**_, which is what presented here and available via a download. ----------------------------------------------- ## 🎯 Accuracy The fine-tuned model obtained the following accuracy on 45,990 held-out text samples: | Accuracy | Overall F1 | Eval Support | | -------- | ---------------------- | ------------------- | | 91% | 90% | 45,990 Below is a breakdown of the performance of the model by each label: | label | precision | recall | f1-score | support| | --------- | -------------|-------- | ----------|--------| | **!** | 0.45 | 0.17 | 0.24 | 424 | **!+Upper** | 0.43 | 0.34 | 0.38 | 98 | **'** | 0.60 | 0.27 | 0.37 | 11 | **,** | 0.59 | 0.51 | 0.55 | 1522 | **,+Upper** | 0.52 | 0.50 | 0.51 | 239 | **-** | 0.00 | 0.00 | 0.00 | 18 | **.** | 0.69 | 0.84 | 0.75 | 2488 | **.+Upper** | 0.65 | 0.52 | 0.57 | 274 | **:** | 0.52 | 0.31 | 0.39 | 39 | **:+Upper** | 0.36 | 0.62 | 0.45 | 16 | **;** | 0.00 | 0.00 | 0.00 | 17 | **?** | 0.54 | 0.48 | 0.51 | 46 | **?+Upper** | 0.40 | 0.50 | 0.44 | 4 | **none** | 0.96 | 0.96 | 0.96 |35352 | **Upper** | 0.84 | 0.82 | 0.83 | 5442 ----------------------------------------------- ## ☕ Contact Contact [Daulet Nurmanbetov](daulet.nurmanbetov@gmail.com) for questions, feedback and/or requests for similar models. -----------------------------------------------
[ 0.01774168200790882, 0.00039020998519845307, -0.0015723712276667356, 0.05788770318031311, 0.032101597636938095, 0.016574379056692123, -0.0011255599092692137, 0.0008222656324505806, -0.048568323254585266, 0.06046737730503082, 0.0020799338817596436, -0.014207765460014343, 0.03165232762694359, 0.03280458599328995, -0.0318855457007885, -0.03147338703274727, -0.031892236322164536, 0.00763689586892724, -0.02601674199104309, -0.018911516293883324, 0.015519543550908566, -0.014658698812127113, -0.008129565045237541, 0.0028823947068303823, -0.015471057035028934, 0.004487315192818642, -0.0016622584080323577, -0.015967287123203278, 0.038076210767030716, -0.065558061003685, 0.015191522426903248, -0.022520195692777634, -0.02805878035724163, -0.010800624266266823, -0.0584212951362133, 0.020915089175105095, 0.02150058187544346, 0.0140023622661829, 0.019335422664880753, 0.06224518641829491, -0.006974423304200172, 0.006715395487844944, -0.01394776999950409, -0.02360386587679386, 0.024544987827539444, 0.026058819144964218, -0.03346170485019684, -0.04913243651390076, 0.03658308461308479, -0.032500214874744415, -0.04805866256356239, -0.07260295003652573, 0.0043282839469611645, 0.01203193049877882, -0.01075223833322525, -0.016713840886950493, -0.05688365176320076, 0.0082854013890028, 0.09509853273630142, -0.03464319556951523, -0.032058775424957275, 0.027301980182528496, -0.0565682053565979, 0.003884417237713933, 0.028354540467262268, -0.062164194881916046, 0.0059511116705834866, -0.03378400579094887, 0.022894052788615227, -0.061564814299345016, 0.04168158024549484, -0.027325686067342758, 0.009614482522010803, -0.10216232389211655, -0.03223360329866409, 0.003624238772317767, 0.05582500249147415, 0.028068698942661285, -0.03847665712237358, 0.06657937169075012, 0.029144950211048126, -0.012561400420963764, 0.023945773020386696, -0.002763417549431324, -0.016992056742310524, 0.03373834490776062, -0.03742338716983795, -0.019287969917058945, 0.0149642089381814, 0.015022623352706432, -0.05466938018798828, -0.05068207159638405, -0.0343819335103035, -0.022983457893133163, -0.04002881795167923, 0.01593557931482792, 0.04167473688721657, -0.022571546956896782, 0.06599341332912445, 0.05720071867108345, 0.014859902672469616, 0.04953857883810997, -0.02721473015844822, 0.03241396322846413, -0.0059593478217720985, 0.04030171409249306, -0.024761829525232315, -0.020494548603892326, -0.053376276046037674, 0.02087012678384781, 0.04164664074778557, -0.05205221846699715, -0.05592190474271774, 0.022894887253642082, 0.0026709234807640314, -0.006778859533369541, 0.03978559002280235, -0.008724873885512352, -0.04337937757372856, -0.07475017011165619, 0.021390438079833984, 0.023259488865733147, 0.01745126210153103, -0.009338567033410072, -0.028920603916049004, 0.001897895708680153, -0.07187999039888382, -0.025239810347557068, -0.042960163205862045, 0.03249809145927429, 0.005342983175069094, 0.013143057934939861, 0.010358104482293129, -0.09074574708938599, -0.007079181261360645, 0.044893305748701096, -0.06456118822097778, 0.023270167410373688, 0.03179805725812912, 0.09537293761968613, -0.06904272735118866, -0.02215448021888733, 0.013573084026575089, 0.021200085058808327, -0.024872029200196266, 0.018523959442973137, 0.025216784328222275, -0.02388732321560383, -0.017004620283842087, 0.0046522365882992744, 0.04202417656779289, -0.048180676996707916, 0.0036969538778066635, 0.048090629279613495, -0.017338141798973083, 0.059236396104097366, -0.04737238213419914, 0.0017035641940310597, -0.013922559097409248, -0.006749532651156187, -0.024095019325613976, 0.031950224190950394, -0.030262503772974014, 0.0027958760038018227, -0.03495614230632782, -0.02548130415380001, 0.015583795495331287, 0.05762430652976036, -0.0034974494483321905, -0.010386087000370026, -0.002573689678683877, 0.004617595579475164, 0.013364266604185104, 0.03794277831912041, -0.02822953090071678, 0.020275801420211792, 0.041522327810525894, 0.023518798872828484, -0.024905871599912643, 0.08927813917398453, 0.012374321930110455, -0.042456597089767456, -0.02806132659316063, 0.03999031335115433, -0.028121763840317726, -0.012626067735254765, 0.044853176921606064, 0.042375221848487854, -0.028169091790914536, -0.013260564766824245, -0.02965301275253296, 0.042529068887233734, -0.049421679228544235, 0.008719022385776043, 0.0071402546018362045, 0.011723067611455917, -0.020738137885928154, 0.0470355860888958, -0.035792674869298935, 0.02199217490851879, -0.021700529381632805, -0.04377762973308563, -0.006351035088300705, 0.002062655985355377, 0.04379591345787048, 0.053083401173353195, -0.01312579121440649, 0.11214599013328552, -0.048903245478868484, 0.04428977146744728, -0.06665148586034775, -0.03699994087219238, -0.01003915723413229, 0.06708363443613052, 0.03607823699712753, 0.054710354655981064, 0.0012277958448976278, -0.0631808266043663, 0.009044423699378967, 0.03984909877181053, 0.05928074195981026, 0.03598223626613617, -0.03443387150764465, -0.022246655076742172, 0.03953363746404648, 0.03968881443142891, -0.0391126312315464, -0.04107286408543587, 0.009998364374041557, 0.013988620601594448, -0.01663167215883732, 0.010067513212561607, -0.018578404560685158, 0.0330435186624527, -0.04161180183291435, -0.05762787535786629, 0.04888737201690674, 0.036078207194805145, 0.0021509588696062565, 0.04087695851922035, -0.03648943826556206, -0.005243298597633839, 0.025125078856945038, 0.003740953281521797, 0.02808905765414238, -0.03351571783423424, -0.0156947560608387, 0.037920985370874405, 0.0490497462451458, -0.033203113824129105, 0.058815546333789825, 0.007756637874990702, -0.013915427960455418, 0.05364800989627838, -0.005138767417520285, 0.053028687834739685, 0.05285919830203056, 0.030069435015320778, 0.002733421977609396, 0.029107429087162018, 0.0065912180580198765, 0.041960448026657104, 0.03816051781177521, 0.030800722539424896, 0.0851905345916748, 0.0040213922038674355, 0.03047293983399868, 0.10758884996175766, 0.009461469016969204, 0.024649960920214653, 0.04421856254339218, 0.05037384107708931, 0.006529365200549364, -0.045396625995635986, 0.049963004887104034, -0.056900739669799805, 0.011777637526392937, -0.03581426665186882, 0.03295555338263512, -0.0034756187815219164, 0.00017972919158637524, 0.03834277018904686, 0.018776508048176765, -0.0003341828705742955, 0.02363675832748413, -0.004372843075543642, 0.005385342054069042, 0.017954781651496887, -0.002857159823179245, 0.0005041740369051695, 0.004857157357037067, -0.0439094603061676, -0.005016570445150137, -0.04623890295624733, -0.07022356241941452, -0.011233942583203316, -0.02585204876959324, -0.004365328699350357, -0.10133707523345947, -0.04438485950231552, -0.10140567272901535, -0.02593160793185234, 0.03963855281472206, 0.018675530329346657, -0.004065786954015493, 0.0033755518961697817, 0.0040532671846449375, -0.034068673849105835, -0.007217128295451403, -0.0349455289542675, -0.031294699758291245, -0.04636427387595177, -0.06340667605400085, 0.026376115158200264, -0.0007388211670331657, 0.008734691888093948, 0.0059370906092226505, 0.01530666183680296, -0.05205225199460983, 0.010280836373567581, 0.07005389779806137, 0.04087558016180992, -0.03571324050426483, -0.028313616290688515, 0.01625629886984825, -0.020624151453375816, 0.012487637810409069, -0.030632661655545235, -0.05275057628750801, 0.06692034006118774, 0.08102547377347946, 0.022323625162243843, 0.02746938355267048, -0.0025488506071269512, -0.052405472844839096, -0.03068552538752556, -0.02721838839352131, -0.031723443418741226, -0.024510901421308517, -0.026309039443731308, -0.04763790965080261, -0.012017738074064255, -0.020662758499383926, -0.016449134796857834, -0.025249095633625984, 0.0042939926497638226, 0.038063034415245056, 0.020672256126999855, 0.03323332965373993, 0.02912835031747818, -0.03144455328583717, -0.023070422932505608, 0.09033092111349106, 0.0005865255370736122, 0.011935528367757797, -0.094821035861969, -0.01754831336438656, 0.020136060193181038, 0.020865822210907936, 0.014316214248538017, -0.024976180866360664, 0.03811594471335411, 0.021616598591208458, 0.0003999389009550214, 0.007095553446561098, -0.01970747858285904, -0.04117049276828766, 0.008826830424368382, -0.020926596596837044, -0.02959100343286991, -0.05590946599841118, -0.0490289181470871, -0.019478891044855118, 0.04882694408297539, -0.07777541130781174, -0.04537293314933777, 0.015524696558713913, 0.04349658638238907, 0.026024529710412025, -0.016633544117212296, -0.07099161297082901, -0.021550899371504784, -0.04047398269176483, -0.027611739933490753, 0.005151689052581787, 0.018149882555007935, 0.00836927443742752, 0.03784159570932388, 0.023479150608181953, -0.05945888161659241, 0.04588116332888603, 0.007187664043158293, 0.036950331181287766, 0.00650682020932436, -0.05430588871240616, 0.05680101737380028, -0.019385062158107758, 0.01515024621039629, 0.01153575535863638, -0.03571523725986481, -0.046034764498472214, -0.06582847237586975, 0.005866216495633125, 0.005626047030091286, 0.03838265687227249, -0.027847370132803917, 0.002030164934694767, -0.007089059334248304, -0.037923894822597504, -0.009382435120642185, -0.014420985244214535, 0.044154632836580276, -0.033609017729759216, 0.05951116234064102, -0.01852339506149292, 0.025293083861470222, -0.04073472321033478, 0.005102796480059624, -0.023549959063529968, -0.029804652556777, 0.027557995170354843, 0.05026988685131073, -0.00567722599953413, 0.03269752115011215, 0.03064366616308689, 0.05220859870314598, -0.029173605144023895, 0.02946649305522442, 0.051927413791418076, 0.0005774929886683822, -0.04182758927345276, 0.012479983270168304, -0.026566587388515472, -0.02585328184068203, -0.02560555562376976, -0.041467711329460144, 0.039032451808452606, 0.021117374300956726, -0.0001855849550338462, -0.008275643922388554, -0.0005229511298239231, 0.00808496680110693, -0.03513685241341591, -0.07530971616506577, -0.022998163476586342, -0.008179937489330769, -0.005121767986565828, 0.035431280732154846, 0.03205852955579758, -0.017657997086644173, 0.0694611668586731, 0.024590713903307915, -0.00961375329643488, 0.006894808728247881, 0.020600300282239914, 0.023556167259812355, -0.08255292475223541, -0.05759761482477188, -0.044883836060762405, 0.013955501839518547, 0.03987335041165352, -0.04369351267814636, -0.07355082035064697, -0.009812199510633945, 0.059698764234781265, -0.007736725267022848, 0.05624143034219742, -0.00021173393179196864, 0.08066654950380325, 0.08630489557981491, 0.00033693277509883046, 0.039307158440351486, -0.03070453181862831, -0.016637226566672325, -0.001945778727531433, 0.03635818138718605, -0.028508706018328667, -0.014812367036938667, -0.018617186695337296, 0.05486602336168289, 0.020465092733502388, 0.053997065871953964, 0.07807677239179611, -0.013654707930982113, -0.05759840086102486, 0.022222191095352173, 0.024611419066786766, -0.03935679420828819, 0.021740879863500595, 0.0360465943813324, 0.03538685292005539, -0.03128647059202194, -0.03259400278329849, -0.026483796536922455, -0.014371474273502827, 0.033368296921253204, -0.022301770746707916, -0.04266558587551117, -0.049751363694667816, 0.014165526255965233, 0.01065332256257534, -0.04220259562134743, -0.06600571423768997, 0.048609014600515366, 0.023421285673975945, 0.0027381458785384893, 0.023765692487359047, 0.04324739798903465, 0.041578736156225204, 0.02980184368789196, -0.003355791326612234, 0.01180078275501728, -0.03600313887000084, 0.03698104992508888, -0.013628856278955936, -0.05627051740884781, 0.027797847986221313, -0.050933677703142166, -0.01387571170926094, -0.022740071639418602, -0.05174204707145691, -0.06370049715042114, -0.006278043147176504, 0.012466649524867535, -0.013653267174959183, 0.015866652131080627, -0.0022881419863551855, 0.03405215963721275, 0.006800446193665266, -0.023259013891220093, -0.017246484756469727, -0.018627075478434563, -0.09396962076425552, -0.040729448199272156, 0.01164760161191225, -0.03455748409032822, 0.028037386015057564, -0.0011681208852678537, -0.010644974187016487, -0.01609163172543049, -0.008407487533986568, -0.016115227714180946, 0.05766965448856354, 0.02539387159049511, -0.04395313560962677, -0.05262052267789841, 0.0032979364041239023, 0.014443335123360157, 0.019406724721193314, -0.02426338382065296, 0.0502173975110054, 0.004570931661874056, -0.009488833136856556, -0.02436496503651142, 0.03095424175262451, -0.020321611315011978, -0.08452204614877701, -0.043765660375356674, -0.03433077409863472, -0.014633014798164368, 0.04736686497926712, -0.028926635161042213, -0.036078259348869324, 0.0017254039412364364, 0.03250938653945923, 0.04988625645637512, 0.002367771929129958, -0.015201030299067497, 0.010850555263459682, -0.03111734800040722, 0.037478018552064896, -0.013131205923855305, 0.023757677525281906, -0.04397048428654671, 0.011187235824763775, -0.03752117604017258, 0.011331898160278797, -0.04351755976676941, 0.03174044191837311, -0.03094254620373249, 0.00998318288475275, -0.03370053321123123, 0.05008932203054428, -0.036273013800382614, 0.05008916184306145, -0.01222281064838171, 0.017536282539367676, -0.029774097725749016, 0.024382609874010086, -0.06293151527643204, -0.007745272014290094, -0.03571683168411255, -0.004518698900938034, -0.026516493409872055, -0.05870731547474861, 0.008577768690884113, -0.05077659711241722, 0.012905861251056194, 0.036539122462272644, -0.006269014906138182, 0.04422570765018463, 0.0009316387004218996, 0.0242365263402462, 0.037886276841163635, -0.06146903708577156, -0.011820883490145206, 0.001707501825876534, 0.018902987241744995, -0.000002015467998717213, 0.014123894274234772, 0.03017299622297287, -0.061203256249427795, -0.04137831926345825, 0.0316888801753521, 0.014250454492866993, 0.004587121307849884, 0.004128484986722469, 0.028868891298770905, 0.04657768830657005, 0.03350905701518059, -0.026500629261136055, 0.010937858372926712, 0.008953336626291275, -0.04820460081100464, 0.022615646943449974, -0.003679626388475299, 0.043104540556669235, -0.004496219102293253, -0.05200958251953125, -0.008331451565027237, 0.06807398796081543, 0.019501667469739914, 0.02273203246295452, -0.007680429611355066, -0.07473187148571014, 0.013848261907696724, -0.006555791012942791, -0.03658876568078995, 0.044044069945812225, 0.016200678423047066, -0.03032205067574978, 0.06131191924214363, -0.007264941465109587, -0.014797065407037735, 0.04556019976735115, 0.024422818794846535, -0.03782728686928749, 0.020422419533133507, -0.045498188585042953, 0.013041112571954727, 0.03366733342409134, -0.051379505544900894, -0.0484476163983345, -0.028622685000300407, 0.0657845064997673, -0.053525082767009735, 0.024405790492892265, 0.032224226742982864, 0.02035197988152504, 0.0290620606392622, 0.003954606130719185, -0.04428543150424957, 0.051512330770492554, -0.0292923953384161, 0.03829849883913994, 0.0024520796723663807, -0.032656650990247726, 0.05426281690597534, 0.008486184291541576, -0.06281283497810364, 0.017162948846817017, 0.00983718317002058, 0.033392950892448425, 0.037329185754060745, 0.026584655046463013, -0.03550011292099953, 0.011333249509334564, -0.05843836069107056, 0.013799523003399372, -0.05228526517748833, -0.000822174537461251, 0.0358317531645298, -0.017208237200975418, -0.015158158726990223, 0.07920628041028976, -0.027130428701639175, -0.0014282482443377376, 0.026430768892169, -0.03513168916106224, -0.03855201229453087, 0.006346288602799177, -0.006554275285452604, -0.05340127274394035, 0.0037417581770569086, -0.04888252913951874, 0.016138426959514618, 0.0017619874561205506, -0.017600728198885918, -0.02644294500350952, -0.021504148840904236, 0.030759582296013832, -0.07623594999313354, -0.02145841158926487, 0.05721302330493927, -0.006176656577736139, -0.007562736980617046, 0.0406612902879715, -0.006052076816558838, 0.0010109845316037536, 0.017404822632670403, -0.021325506269931793, 0.02954724058508873, -0.023390967398881912, -0.012898704968392849, 0.04342435672879219, 0.008105550892651081, 0.026472952216863632, -0.030043963342905045, 0.05560733377933502, 0.026294182986021042, 0.023238694295287132, -0.01029233168810606, -0.054919496178627014, -0.055994514375925064, 0.013652024790644646, -0.02079196833074093, 0.0205951277166605, -0.0012915005208924413, -0.050742898136377335, -0.018017373979091644, -0.021762682124972343, -0.008446800522506237, 0.008577017113566399, -0.062431398779153824, 0.0027094916440546513, 0.04422606900334358, -0.026747670024633408, -0.04005417227745056, -0.06575591117143631, -0.042415790259838104, -0.016646314412355423, 0.02217797376215458, 0.04136643558740616, -0.03417247533798218, 0.0023891401942819357, -0.066672682762146, -0.03980891779065132, 0.041013576090335846, 0.040944166481494904, -0.033615704625844955, 0.03875671699643135, 0.017644677311182022, -0.024616433307528496, 0.013301062397658825, 0.04387928545475006, -0.039558108896017075, 0.04248635470867157, -0.003691157093271613, 0.016214776784181595, 0.010466705076396465, 0.062201160937547684, -0.01599709317088127, -0.02453497424721718, -0.045573994517326355, -0.02271304279565811, -0.054854616522789, -0.018050195649266243, 0.031595051288604736 ]
ArBert/albert-base-v2-finetuned-ner-gmm
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2022-01-13T00:30:42Z
--- tags: - conversational --- # DioloGPT KaeyaBot model
[ -0.04039008170366287, 0.00723356194794178, 0.017341285943984985, 0.0112495431676507, 0.02993033267557621, 0.019221778959035873, 0.0012353671481832862, 0.027812901884317398, -0.030947646126151085, 0.024946337565779686, 0.028943920508027077, -0.018254289403557777, 0.01794712245464325, 0.028302432969212532, -0.033314112573862076, -0.024027615785598755, -0.0229063518345356, -0.006610408425331116, -0.03128301352262497, -0.014651595614850521, 0.01802508346736431, 0.0053222463466227055, -0.02720727026462555, 0.02256443165242672, 0.011972463689744473, 0.015458721667528152, -0.013535862788558006, 0.0013944904785603285, 0.017851851880550385, -0.03415008261799812, -0.003656218061223626, -0.038892485201358795, -0.02679825946688652, -0.016300270333886147, -0.02318345382809639, -0.02394082397222519, 0.012064924463629723, -0.009135396219789982, -0.011052449233829975, 0.03598153591156006, -0.020067624747753143, -0.018871592357754707, 0.0019051159033551812, -0.03498353809118271, 0.08606171607971191, -0.004760335199534893, -0.04981974512338638, -0.010683514177799225, 0.005175646860152483, -0.028048034757375717, -0.04406766965985298, -0.05434923619031906, -0.060627274215221405, -0.02008799836039543, 0.017983829602599144, -0.05403776839375496, -0.06350772082805634, -0.020018134266138077, 0.0948505848646164, -0.02993515133857727, -0.0018054586835205555, 0.004723560065031052, -0.06936918199062347, 0.007339955773204565, 0.0353219248354435, -0.07656427472829819, 0.004597984254360199, -0.03982706367969513, 0.002169472398236394, -0.04164321348071098, 0.05726620554924011, -0.0423128679394722, 0.011087218299508095, -0.08003900200128555, -0.015333699993789196, -0.009924063459038734, 0.04475068673491478, 0.0731651559472084, -0.028329690918326378, 0.055290330201387405, 0.04290076717734337, 0.011395704932510853, 0.05914643034338951, -0.011313119903206825, -0.025902433320879936, 0.049038857221603394, -0.048971179872751236, -0.003968318924307823, -0.0036094635725021362, 0.020973965525627136, -0.029267314821481705, -0.05860873684287071, -0.022736119106411934, -0.01035836897790432, -0.0007497587939724326, 0.04481741040945053, 0.03428652137517929, -0.03716418147087097, 0.0331486351788044, 0.043015047907829285, 0.031755153089761734, 0.04574248567223549, -0.03547751158475876, 0.04227789118885994, -0.01706063561141491, 0.018360992893576622, 0.013496827334165573, -0.01950843259692192, -0.03311010077595711, 0.025569861754775047, -0.006108852569013834, -0.046261608600616455, -0.03418614715337753, 0.044216983020305634, 0.020303761586546898, -0.0054137068800628185, 0.05274706333875656, -0.033023733645677567, -0.021924344822764397, -0.05663963779807091, 0.06531249731779099, -0.019464736804366112, -0.016394227743148804, -0.003892825683578849, -0.04157710820436478, 0.0059928614646196365, -0.03862610459327698, -0.0195170771330595, -0.0010715614771470428, 0.01672750525176525, 0.012328771874308586, 0.04581793397665024, -0.03629976883530617, -0.059768274426460266, 0.0037731057964265347, 0.05459274724125862, -0.06656216830015182, -0.002979187062010169, 0.02199271321296692, 0.08631671220064163, -0.07530497759580612, -0.03378628194332123, -0.020458197221159935, 0.020326072350144386, -0.03223640099167824, -0.010873830877244473, -0.007652300875633955, 0.004839099477976561, -0.053402192890644073, -0.023225298151373863, 0.035683587193489075, -0.0580383762717247, -0.0018441949505358934, 0.04261389374732971, 0.012253953143954277, 0.029423650354146957, -0.03146574646234512, 0.020160606130957603, 0.004226287826895714, -0.038043729960918427, -0.05994705110788345, 0.037342268973588943, -0.010327211581170559, -0.03725050017237663, -0.043077073991298676, -0.039434414356946945, -0.002263149479404092, 0.0863490104675293, 0.010775628499686718, -0.015169489197432995, -0.014419890008866787, 0.03836524114012718, 0.06020018458366394, 0.03723466396331787, -0.017267931252717972, 0.013312602415680885, 0.05187912657856941, 0.025390511378645897, -0.03215378150343895, 0.0714927688241005, 0.015044680796563625, -0.0409226231276989, -0.048309165984392166, -0.014103484340012074, 0.03241821005940437, -0.020244482904672623, 0.019024202600121498, 0.044321369379758835, -0.03144495189189911, -0.04345831647515297, 0.014244570396840572, 0.04694677144289017, -0.00881910976022482, -0.01007156353443861, -0.02792946808040142, -0.03438495099544525, -0.03446047380566597, 0.027294263243675232, -0.030913222581148148, -0.016720319166779518, -0.05340569093823433, -0.00628484645858407, 0.040018659085035324, -0.017266256734728813, 0.016818301752209663, 0.047266289591789246, -0.023145588114857674, 0.058598220348358154, -0.026667315512895584, 0.008015443570911884, -0.03714028373360634, -0.02964058518409729, -0.010640107095241547, 0.0418972373008728, 0.003518460551276803, 0.054315898567438126, -0.035262491554021835, -0.04173564910888672, 0.03777732327580452, 0.07124130427837372, 0.047234680503606796, 0.02479058876633644, -0.02006976120173931, -0.0013734467793256044, 0.02237848937511444, 0.035008322447538376, -0.05039658397436142, 0.016622787341475487, 0.010041916742920876, 0.04736684262752533, -0.019596701487898827, -0.03081236220896244, -0.03144517168402672, 0.004756959155201912, -0.042958252131938934, -0.06321918964385986, 0.0520273819565773, 0.029957739636301994, 0.009288148954510689, 0.0401621051132679, 0.0050979782827198505, -0.017187979072332382, 0.030825959518551826, 0.012057133950293064, -0.007734009064733982, -0.09092799574136734, 0.004606159869581461, 0.03223509341478348, 0.1017446219921112, -0.039956893771886826, 0.03392701596021652, 0.030214592814445496, 0.012895292602479458, 0.020280469208955765, -0.015201026573777199, 0.046604860574007034, 0.03920889273285866, 0.04074231907725334, -0.025133538991212845, 0.04166816174983978, -0.0012152190320193768, 0.02188405580818653, 0.04469078779220581, -0.0037725658621639013, 0.07630004733800888, -0.011011078022420406, 0.02472861483693123, 0.054509036242961884, 0.020252946764230728, -0.0073913992382586, 0.011960086412727833, 0.08334432542324066, 0.008925098925828934, 0.034161344170570374, 0.04506313428282738, -0.009291409514844418, 0.005571476649492979, -0.04713056981563568, 0.00855729915201664, -0.00433666817843914, -0.02094872109591961, 0.06719420105218887, -0.0001355824788333848, -0.005930193699896336, 0.0015980845782905817, -0.012448769062757492, 0.007174619473516941, 0.05849289149045944, 0.01048691663891077, -0.020038610324263573, 0.0015361690893769264, -0.030303359031677246, 0.029310589656233788, -0.06254356354475021, -0.04702804982662201, -0.024737754836678505, -0.05776066705584526, -0.0017750068800523877, -0.08963391184806824, -0.0351046584546566, -0.06061340495944023, -0.02319313772022724, 0.057088468223810196, 0.019225800409913063, 0.01956404745578766, -0.0061972057446837425, 0.008981104008853436, -0.030371595174074173, -0.05619874969124794, -0.04098552465438843, -0.03032829239964485, -0.015666760504245758, -0.04032266139984131, 0.026467792689800262, 0.03559758514165878, 0.04048265516757965, -0.002064365427941084, -0.03066577948629856, -0.0341375507414341, -0.01438016165047884, 0.03727662190794945, 0.018240949138998985, -0.037776876240968704, -0.03678872436285019, 0.011971347033977509, 0.008296091109514236, -0.004714862909168005, -0.018797609955072403, -0.049757733941078186, 0.07823852449655533, 0.03597104549407959, 0.001716078375466168, 0.017070095986127853, -0.00987589918076992, -0.04785249009728432, -0.011056507006287575, -0.0403091125190258, -0.04878818243741989, -0.006009247153997421, -0.017038268968462944, -0.05002078041434288, -0.0274724792689085, -0.04742323234677315, -0.00582584785297513, -0.0027358962688595057, -0.008335251361131668, 0.02399570867419243, 0.026368098333477974, 0.03458758443593979, 0.033976297825574875, -0.0020865730475634336, -0.01281550619751215, 0.03728729858994484, -0.022015389055013657, -0.005420288536697626, -0.08234840631484985, -0.030527684837579727, 0.04201711341738701, 0.005828385706990957, -0.00003723014015122317, -0.017176726832985878, 0.04722626879811287, 0.04025496169924736, -0.0082413824275136, 0.03754805028438568, -0.0690872073173523, 0.013161677867174149, -0.04980895668268204, -0.026901952922344208, -0.04919043928384781, -0.02836868353188038, -0.008952573873102665, -0.010103026404976845, 0.02935021184384823, -0.07907217741012573, -0.030244043096899986, -0.015609975904226303, -0.000047891920985421166, 0.04722083359956741, -0.007013739086687565, -0.05533498898148537, -0.015355600044131279, -0.03304464370012283, -0.02371692843735218, 0.009313722141087055, -0.014961719512939453, 0.010766913183033466, 0.029076682403683662, 0.012718738056719303, -0.01802872307598591, 0.06119146570563316, 0.01551514770835638, 0.06642811745405197, 0.047478221356868744, -0.02427099458873272, 0.024013826623558998, -0.019284093752503395, 0.028392083942890167, -0.009404405020177364, -0.027349455282092094, -0.04681805148720741, -0.10938728600740433, -0.05029202997684479, 0.024714697152376175, -0.026221927255392075, -0.008510048501193523, 0.038281749933958054, -0.035466086119413376, -0.008435394614934921, -0.004318921826779842, 0.0465419664978981, 0.04737208038568497, -0.02938055992126465, 0.06472457945346832, 0.01582491211593151, 0.01988149620592594, -0.047024451196193695, -0.017224550247192383, -0.06420132517814636, -0.009518289007246494, 0.0060986545868217945, 0.03302892670035362, 0.019769644364714622, 0.05857386067509651, 0.0715135708451271, 0.03004750981926918, -0.027263524010777473, 0.05776076763868332, 0.07603304833173752, -0.007353759836405516, -0.040284041315317154, 0.008408918976783752, -0.004849414341151714, -0.028012024238705635, -0.007169642485678196, -0.03182249888777733, 0.030040405690670013, 0.04275050759315491, -0.009359052404761314, 0.012649494223296642, 0.010715636424720287, -0.033942367881536484, -0.023704782128334045, -0.07150838524103165, -0.009395898319780827, -0.006427987013012171, -0.012399964034557343, 0.048238057643175125, 0.05394139513373375, 0.021367449313402176, 0.06182624027132988, 0.015395602211356163, -0.026596441864967346, -0.06242823228240013, 0.025367001071572304, 0.04586626961827278, -0.050240304321050644, -0.0672520250082016, -0.045620474964380264, 0.019686704501509666, 0.049843572080135345, -0.03872121870517731, -0.07926763594150543, 0.021193670108914375, 0.04402410238981247, -0.050903916358947754, 0.06771093606948853, -0.0032942004036158323, 0.040560249239206314, 0.03779969364404678, 0.014767252840101719, 0.04068071022629738, -0.06032577157020569, 0.005355558358132839, -0.01211303099989891, 0.029726633802056313, -0.04551786184310913, -0.05541505292057991, -0.06069975346326828, 0.035322610288858414, 0.026906199753284454, 0.02579219825565815, 0.016314800828695297, -0.040389228612184525, -0.0423102080821991, 0.01559219229966402, 0.04648277908563614, -0.023839164525270462, 0.020296618342399597, 0.02822341024875641, 0.04390833154320717, -0.06047266721725464, -0.008749019354581833, 0.00978113617748022, 0.013814631849527359, 0.01768958382308483, -0.01068539172410965, -0.038825877010822296, -0.03520594909787178, 0.01432222779840231, -0.03603960946202278, -0.01921406015753746, -0.09673676639795303, 0.029963543638586998, -0.0122006731107831, -0.02596450410783291, 0.0755624994635582, 0.05881573259830475, 0.0609448105096817, 0.04938641935586929, -0.01700243540108204, 0.05414298176765442, -0.019219424575567245, 0.006485923193395138, -0.044710371643304825, -0.03834908455610275, -0.0038601921405643225, -0.07928338646888733, -0.03686940670013428, -0.04300469905138016, -0.0513070784509182, -0.040914662182331085, 0.006360684055835009, 0.011432760395109653, -0.013094219379127026, -0.005338850896805525, 0.0017517738742753863, 0.015240957029163837, -0.033420633524656296, -0.019868116825819016, -0.017992768436670303, -0.014118136838078499, -0.06058891862630844, -0.0614931546151638, -0.0007692627259530127, -0.016350172460079193, 0.011077355593442917, 0.009412141516804695, 0.00417691795155406, 0.05327220633625984, -0.020564960315823555, -0.02485758252441883, 0.00862941425293684, 0.02430706098675728, -0.03331600874662399, -0.026920458301901817, 0.013216711580753326, 0.023691687732934952, 0.015159829519689083, -0.03177405893802643, 0.023658569902181625, 0.014782244339585304, -0.03754161670804024, -0.016045471653342247, 0.020736021921038628, 0.02309923619031906, -0.07884898781776428, -0.01301792822778225, -0.02503950707614422, -0.029363401234149933, 0.012467368505895138, -0.04508453980088234, -0.03378097340464592, -0.003515822347253561, 0.02290993370115757, 0.022994454950094223, -0.004347172100096941, -0.023033669218420982, 0.017489861696958542, -0.01067973393946886, 0.005474465433508158, -0.05808505788445473, 0.02018621377646923, -0.037313468754291534, 0.012565022334456444, -0.007889784872531891, 0.0022139400243759155, -0.03555942326784134, 0.05863480269908905, -0.013224160298705101, -0.0030102021992206573, 0.002244906732812524, -0.006615807767957449, -0.011142377741634846, 0.057217806577682495, 0.022783584892749786, -0.0034169747959822416, -0.04376448318362236, 0.0592820979654789, -0.05723109841346741, 0.008981443010270596, -0.0044376119039952755, -0.03394889086484909, -0.018801797181367874, -0.002192139159888029, 0.005517590790987015, -0.03835970163345337, 0.01609332673251629, 0.023207522928714752, 0.03134703263640404, 0.0392250157892704, 0.008341153152287006, 0.011453306302428246, 0.021838491782546043, -0.04450814053416252, -0.032790377736091614, 0.002429367508739233, 0.011411796323955059, 0.004078374709933996, 0.06246866658329964, 0.03848341107368469, -0.05426885187625885, -0.025045569986104965, 0.02610812708735466, 0.030719680711627007, 0.014336800202727318, -0.006466501392424107, 0.0299074649810791, 0.05303326994180679, 0.05626579746603966, -0.0025173588655889034, -0.013957786373794079, 0.026178697124123573, -0.019947590306401253, -0.016676252707839012, 0.0020201567094773054, -0.01800355687737465, -0.008818353526294231, -0.034599389880895615, -0.036354757845401764, 0.06480150669813156, -0.014535346068441868, -0.00147866306360811, -0.001179827842861414, -0.04007939249277115, 0.058450642973184586, -0.0013640777906402946, -0.03592400252819061, -0.021194783970713615, 0.04017367959022522, -0.03011391870677471, 0.04430598020553589, -0.03566707298159599, 0.016894308850169182, 0.05970250815153122, 0.03946023806929588, 0.0033181123435497284, 0.016837920993566513, -0.022210994735360146, 0.007287484128028154, 0.015368771739304066, -0.05147169157862663, -0.011179359629750252, -0.02662069909274578, 0.0547962486743927, -0.056329481303691864, 0.07058388739824295, 0.0339215025305748, 0.03832180052995682, 0.026305219158530235, -0.052518509328365326, -0.022842813283205032, -0.024565860629081726, -0.048869915306568146, 0.07289193570613861, -0.0012065843911841512, -0.03814324736595154, 0.06811244040727615, 0.026900174096226692, -0.07431644201278687, 0.0274126585572958, 0.03971758857369423, 0.03011934645473957, 0.010819246992468834, 0.040138691663742065, -0.04090601205825806, 0.015997707843780518, -0.030349742621183395, -0.0050092837773263454, -0.051990970969200134, -0.013892605900764465, -0.02316945232450962, -0.04880782589316368, -0.009427486918866634, 0.025509163737297058, -0.00543578527867794, 0.010261829942464828, 0.01508393231779337, -0.0325365886092186, -0.0744158998131752, 0.0029305412899702787, 0.03344416990876198, -0.02169583924114704, 0.01672547310590744, -0.01804010197520256, 0.029915964230895042, 0.0451807826757431, -0.004428336396813393, -0.04469604417681694, 0.014100351370871067, 0.016090411692857742, -0.0618586502969265, -0.05094332993030548, 0.07080455124378204, 0.010992145165801048, -0.02306218631565571, -0.009796010330319405, 0.03793523460626602, 0.022126955911517143, 0.016044981777668, -0.0024364676792174578, 0.01875588856637478, -0.07426237314939499, 0.0019388680811971426, 0.02506261132657528, 0.0008263838244602084, 0.00652949558570981, -0.016926715150475502, 0.03490584343671799, 0.08965031057596207, 0.04212930053472519, -0.006526303477585316, -0.05901974439620972, -0.03108052909374237, -0.00237481202930212, -0.03796355426311493, 0.04408864304423332, 0.011333422735333443, -0.054342664778232574, -0.03495006263256073, -0.02203301340341568, 0.005637301132082939, 0.0372612439095974, -0.031019290909171104, 0.02542046643793583, 0.04312404617667198, 0.0032030856236815453, -0.036728210747241974, -0.10746303200721741, -0.053150925785303116, -0.014921063557267189, 0.03168812394142151, 0.032088540494441986, -0.054579026997089386, 0.019425012171268463, -0.03291337192058563, -0.010367677547037601, 0.05491310730576515, 0.0006184019148349762, -0.015764668583869934, 0.07149830460548401, 0.07640575617551804, -0.022540511563420296, 0.044799886643886566, 0.01632990874350071, -0.03836571052670479, 0.05142343416810036, 0.007532397285103798, 0.02642497979104519, 0.012294872663915157, 0.04214561730623245, -0.020311860367655754, -0.008827188052237034, -0.012559488415718079, -0.03780395910143852, -0.004051419906318188, -0.008687322027981281, 0.05741890147328377 ]
ArBert/albert-base-v2-finetuned-ner-kmeans-twitter
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
10
2022-01-15T05:09:37Z
--- tags: - conversational --- # DioloGPT KaeyaBot model
[ -0.04039008170366287, 0.00723356194794178, 0.017341285943984985, 0.0112495431676507, 0.02993033267557621, 0.019221778959035873, 0.0012353671481832862, 0.027812901884317398, -0.030947646126151085, 0.024946337565779686, 0.028943920508027077, -0.018254289403557777, 0.01794712245464325, 0.028302432969212532, -0.033314112573862076, -0.024027615785598755, -0.0229063518345356, -0.006610408425331116, -0.03128301352262497, -0.014651595614850521, 0.01802508346736431, 0.0053222463466227055, -0.02720727026462555, 0.02256443165242672, 0.011972463689744473, 0.015458721667528152, -0.013535862788558006, 0.0013944904785603285, 0.017851851880550385, -0.03415008261799812, -0.003656218061223626, -0.038892485201358795, -0.02679825946688652, -0.016300270333886147, -0.02318345382809639, -0.02394082397222519, 0.012064924463629723, -0.009135396219789982, -0.011052449233829975, 0.03598153591156006, -0.020067624747753143, -0.018871592357754707, 0.0019051159033551812, -0.03498353809118271, 0.08606171607971191, -0.004760335199534893, -0.04981974512338638, -0.010683514177799225, 0.005175646860152483, -0.028048034757375717, -0.04406766965985298, -0.05434923619031906, -0.060627274215221405, -0.02008799836039543, 0.017983829602599144, -0.05403776839375496, -0.06350772082805634, -0.020018134266138077, 0.0948505848646164, -0.02993515133857727, -0.0018054586835205555, 0.004723560065031052, -0.06936918199062347, 0.007339955773204565, 0.0353219248354435, -0.07656427472829819, 0.004597984254360199, -0.03982706367969513, 0.002169472398236394, -0.04164321348071098, 0.05726620554924011, -0.0423128679394722, 0.011087218299508095, -0.08003900200128555, -0.015333699993789196, -0.009924063459038734, 0.04475068673491478, 0.0731651559472084, -0.028329690918326378, 0.055290330201387405, 0.04290076717734337, 0.011395704932510853, 0.05914643034338951, -0.011313119903206825, -0.025902433320879936, 0.049038857221603394, -0.048971179872751236, -0.003968318924307823, -0.0036094635725021362, 0.020973965525627136, -0.029267314821481705, -0.05860873684287071, -0.022736119106411934, -0.01035836897790432, -0.0007497587939724326, 0.04481741040945053, 0.03428652137517929, -0.03716418147087097, 0.0331486351788044, 0.043015047907829285, 0.031755153089761734, 0.04574248567223549, -0.03547751158475876, 0.04227789118885994, -0.01706063561141491, 0.018360992893576622, 0.013496827334165573, -0.01950843259692192, -0.03311010077595711, 0.025569861754775047, -0.006108852569013834, -0.046261608600616455, -0.03418614715337753, 0.044216983020305634, 0.020303761586546898, -0.0054137068800628185, 0.05274706333875656, -0.033023733645677567, -0.021924344822764397, -0.05663963779807091, 0.06531249731779099, -0.019464736804366112, -0.016394227743148804, -0.003892825683578849, -0.04157710820436478, 0.0059928614646196365, -0.03862610459327698, -0.0195170771330595, -0.0010715614771470428, 0.01672750525176525, 0.012328771874308586, 0.04581793397665024, -0.03629976883530617, -0.059768274426460266, 0.0037731057964265347, 0.05459274724125862, -0.06656216830015182, -0.002979187062010169, 0.02199271321296692, 0.08631671220064163, -0.07530497759580612, -0.03378628194332123, -0.020458197221159935, 0.020326072350144386, -0.03223640099167824, -0.010873830877244473, -0.007652300875633955, 0.004839099477976561, -0.053402192890644073, -0.023225298151373863, 0.035683587193489075, -0.0580383762717247, -0.0018441949505358934, 0.04261389374732971, 0.012253953143954277, 0.029423650354146957, -0.03146574646234512, 0.020160606130957603, 0.004226287826895714, -0.038043729960918427, -0.05994705110788345, 0.037342268973588943, -0.010327211581170559, -0.03725050017237663, -0.043077073991298676, -0.039434414356946945, -0.002263149479404092, 0.0863490104675293, 0.010775628499686718, -0.015169489197432995, -0.014419890008866787, 0.03836524114012718, 0.06020018458366394, 0.03723466396331787, -0.017267931252717972, 0.013312602415680885, 0.05187912657856941, 0.025390511378645897, -0.03215378150343895, 0.0714927688241005, 0.015044680796563625, -0.0409226231276989, -0.048309165984392166, -0.014103484340012074, 0.03241821005940437, -0.020244482904672623, 0.019024202600121498, 0.044321369379758835, -0.03144495189189911, -0.04345831647515297, 0.014244570396840572, 0.04694677144289017, -0.00881910976022482, -0.01007156353443861, -0.02792946808040142, -0.03438495099544525, -0.03446047380566597, 0.027294263243675232, -0.030913222581148148, -0.016720319166779518, -0.05340569093823433, -0.00628484645858407, 0.040018659085035324, -0.017266256734728813, 0.016818301752209663, 0.047266289591789246, -0.023145588114857674, 0.058598220348358154, -0.026667315512895584, 0.008015443570911884, -0.03714028373360634, -0.02964058518409729, -0.010640107095241547, 0.0418972373008728, 0.003518460551276803, 0.054315898567438126, -0.035262491554021835, -0.04173564910888672, 0.03777732327580452, 0.07124130427837372, 0.047234680503606796, 0.02479058876633644, -0.02006976120173931, -0.0013734467793256044, 0.02237848937511444, 0.035008322447538376, -0.05039658397436142, 0.016622787341475487, 0.010041916742920876, 0.04736684262752533, -0.019596701487898827, -0.03081236220896244, -0.03144517168402672, 0.004756959155201912, -0.042958252131938934, -0.06321918964385986, 0.0520273819565773, 0.029957739636301994, 0.009288148954510689, 0.0401621051132679, 0.0050979782827198505, -0.017187979072332382, 0.030825959518551826, 0.012057133950293064, -0.007734009064733982, -0.09092799574136734, 0.004606159869581461, 0.03223509341478348, 0.1017446219921112, -0.039956893771886826, 0.03392701596021652, 0.030214592814445496, 0.012895292602479458, 0.020280469208955765, -0.015201026573777199, 0.046604860574007034, 0.03920889273285866, 0.04074231907725334, -0.025133538991212845, 0.04166816174983978, -0.0012152190320193768, 0.02188405580818653, 0.04469078779220581, -0.0037725658621639013, 0.07630004733800888, -0.011011078022420406, 0.02472861483693123, 0.054509036242961884, 0.020252946764230728, -0.0073913992382586, 0.011960086412727833, 0.08334432542324066, 0.008925098925828934, 0.034161344170570374, 0.04506313428282738, -0.009291409514844418, 0.005571476649492979, -0.04713056981563568, 0.00855729915201664, -0.00433666817843914, -0.02094872109591961, 0.06719420105218887, -0.0001355824788333848, -0.005930193699896336, 0.0015980845782905817, -0.012448769062757492, 0.007174619473516941, 0.05849289149045944, 0.01048691663891077, -0.020038610324263573, 0.0015361690893769264, -0.030303359031677246, 0.029310589656233788, -0.06254356354475021, -0.04702804982662201, -0.024737754836678505, -0.05776066705584526, -0.0017750068800523877, -0.08963391184806824, -0.0351046584546566, -0.06061340495944023, -0.02319313772022724, 0.057088468223810196, 0.019225800409913063, 0.01956404745578766, -0.0061972057446837425, 0.008981104008853436, -0.030371595174074173, -0.05619874969124794, -0.04098552465438843, -0.03032829239964485, -0.015666760504245758, -0.04032266139984131, 0.026467792689800262, 0.03559758514165878, 0.04048265516757965, -0.002064365427941084, -0.03066577948629856, -0.0341375507414341, -0.01438016165047884, 0.03727662190794945, 0.018240949138998985, -0.037776876240968704, -0.03678872436285019, 0.011971347033977509, 0.008296091109514236, -0.004714862909168005, -0.018797609955072403, -0.049757733941078186, 0.07823852449655533, 0.03597104549407959, 0.001716078375466168, 0.017070095986127853, -0.00987589918076992, -0.04785249009728432, -0.011056507006287575, -0.0403091125190258, -0.04878818243741989, -0.006009247153997421, -0.017038268968462944, -0.05002078041434288, -0.0274724792689085, -0.04742323234677315, -0.00582584785297513, -0.0027358962688595057, -0.008335251361131668, 0.02399570867419243, 0.026368098333477974, 0.03458758443593979, 0.033976297825574875, -0.0020865730475634336, -0.01281550619751215, 0.03728729858994484, -0.022015389055013657, -0.005420288536697626, -0.08234840631484985, -0.030527684837579727, 0.04201711341738701, 0.005828385706990957, -0.00003723014015122317, -0.017176726832985878, 0.04722626879811287, 0.04025496169924736, -0.0082413824275136, 0.03754805028438568, -0.0690872073173523, 0.013161677867174149, -0.04980895668268204, -0.026901952922344208, -0.04919043928384781, -0.02836868353188038, -0.008952573873102665, -0.010103026404976845, 0.02935021184384823, -0.07907217741012573, -0.030244043096899986, -0.015609975904226303, -0.000047891920985421166, 0.04722083359956741, -0.007013739086687565, -0.05533498898148537, -0.015355600044131279, -0.03304464370012283, -0.02371692843735218, 0.009313722141087055, -0.014961719512939453, 0.010766913183033466, 0.029076682403683662, 0.012718738056719303, -0.01802872307598591, 0.06119146570563316, 0.01551514770835638, 0.06642811745405197, 0.047478221356868744, -0.02427099458873272, 0.024013826623558998, -0.019284093752503395, 0.028392083942890167, -0.009404405020177364, -0.027349455282092094, -0.04681805148720741, -0.10938728600740433, -0.05029202997684479, 0.024714697152376175, -0.026221927255392075, -0.008510048501193523, 0.038281749933958054, -0.035466086119413376, -0.008435394614934921, -0.004318921826779842, 0.0465419664978981, 0.04737208038568497, -0.02938055992126465, 0.06472457945346832, 0.01582491211593151, 0.01988149620592594, -0.047024451196193695, -0.017224550247192383, -0.06420132517814636, -0.009518289007246494, 0.0060986545868217945, 0.03302892670035362, 0.019769644364714622, 0.05857386067509651, 0.0715135708451271, 0.03004750981926918, -0.027263524010777473, 0.05776076763868332, 0.07603304833173752, -0.007353759836405516, -0.040284041315317154, 0.008408918976783752, -0.004849414341151714, -0.028012024238705635, -0.007169642485678196, -0.03182249888777733, 0.030040405690670013, 0.04275050759315491, -0.009359052404761314, 0.012649494223296642, 0.010715636424720287, -0.033942367881536484, -0.023704782128334045, -0.07150838524103165, -0.009395898319780827, -0.006427987013012171, -0.012399964034557343, 0.048238057643175125, 0.05394139513373375, 0.021367449313402176, 0.06182624027132988, 0.015395602211356163, -0.026596441864967346, -0.06242823228240013, 0.025367001071572304, 0.04586626961827278, -0.050240304321050644, -0.0672520250082016, -0.045620474964380264, 0.019686704501509666, 0.049843572080135345, -0.03872121870517731, -0.07926763594150543, 0.021193670108914375, 0.04402410238981247, -0.050903916358947754, 0.06771093606948853, -0.0032942004036158323, 0.040560249239206314, 0.03779969364404678, 0.014767252840101719, 0.04068071022629738, -0.06032577157020569, 0.005355558358132839, -0.01211303099989891, 0.029726633802056313, -0.04551786184310913, -0.05541505292057991, -0.06069975346326828, 0.035322610288858414, 0.026906199753284454, 0.02579219825565815, 0.016314800828695297, -0.040389228612184525, -0.0423102080821991, 0.01559219229966402, 0.04648277908563614, -0.023839164525270462, 0.020296618342399597, 0.02822341024875641, 0.04390833154320717, -0.06047266721725464, -0.008749019354581833, 0.00978113617748022, 0.013814631849527359, 0.01768958382308483, -0.01068539172410965, -0.038825877010822296, -0.03520594909787178, 0.01432222779840231, -0.03603960946202278, -0.01921406015753746, -0.09673676639795303, 0.029963543638586998, -0.0122006731107831, -0.02596450410783291, 0.0755624994635582, 0.05881573259830475, 0.0609448105096817, 0.04938641935586929, -0.01700243540108204, 0.05414298176765442, -0.019219424575567245, 0.006485923193395138, -0.044710371643304825, -0.03834908455610275, -0.0038601921405643225, -0.07928338646888733, -0.03686940670013428, -0.04300469905138016, -0.0513070784509182, -0.040914662182331085, 0.006360684055835009, 0.011432760395109653, -0.013094219379127026, -0.005338850896805525, 0.0017517738742753863, 0.015240957029163837, -0.033420633524656296, -0.019868116825819016, -0.017992768436670303, -0.014118136838078499, -0.06058891862630844, -0.0614931546151638, -0.0007692627259530127, -0.016350172460079193, 0.011077355593442917, 0.009412141516804695, 0.00417691795155406, 0.05327220633625984, -0.020564960315823555, -0.02485758252441883, 0.00862941425293684, 0.02430706098675728, -0.03331600874662399, -0.026920458301901817, 0.013216711580753326, 0.023691687732934952, 0.015159829519689083, -0.03177405893802643, 0.023658569902181625, 0.014782244339585304, -0.03754161670804024, -0.016045471653342247, 0.020736021921038628, 0.02309923619031906, -0.07884898781776428, -0.01301792822778225, -0.02503950707614422, -0.029363401234149933, 0.012467368505895138, -0.04508453980088234, -0.03378097340464592, -0.003515822347253561, 0.02290993370115757, 0.022994454950094223, -0.004347172100096941, -0.023033669218420982, 0.017489861696958542, -0.01067973393946886, 0.005474465433508158, -0.05808505788445473, 0.02018621377646923, -0.037313468754291534, 0.012565022334456444, -0.007889784872531891, 0.0022139400243759155, -0.03555942326784134, 0.05863480269908905, -0.013224160298705101, -0.0030102021992206573, 0.002244906732812524, -0.006615807767957449, -0.011142377741634846, 0.057217806577682495, 0.022783584892749786, -0.0034169747959822416, -0.04376448318362236, 0.0592820979654789, -0.05723109841346741, 0.008981443010270596, -0.0044376119039952755, -0.03394889086484909, -0.018801797181367874, -0.002192139159888029, 0.005517590790987015, -0.03835970163345337, 0.01609332673251629, 0.023207522928714752, 0.03134703263640404, 0.0392250157892704, 0.008341153152287006, 0.011453306302428246, 0.021838491782546043, -0.04450814053416252, -0.032790377736091614, 0.002429367508739233, 0.011411796323955059, 0.004078374709933996, 0.06246866658329964, 0.03848341107368469, -0.05426885187625885, -0.025045569986104965, 0.02610812708735466, 0.030719680711627007, 0.014336800202727318, -0.006466501392424107, 0.0299074649810791, 0.05303326994180679, 0.05626579746603966, -0.0025173588655889034, -0.013957786373794079, 0.026178697124123573, -0.019947590306401253, -0.016676252707839012, 0.0020201567094773054, -0.01800355687737465, -0.008818353526294231, -0.034599389880895615, -0.036354757845401764, 0.06480150669813156, -0.014535346068441868, -0.00147866306360811, -0.001179827842861414, -0.04007939249277115, 0.058450642973184586, -0.0013640777906402946, -0.03592400252819061, -0.021194783970713615, 0.04017367959022522, -0.03011391870677471, 0.04430598020553589, -0.03566707298159599, 0.016894308850169182, 0.05970250815153122, 0.03946023806929588, 0.0033181123435497284, 0.016837920993566513, -0.022210994735360146, 0.007287484128028154, 0.015368771739304066, -0.05147169157862663, -0.011179359629750252, -0.02662069909274578, 0.0547962486743927, -0.056329481303691864, 0.07058388739824295, 0.0339215025305748, 0.03832180052995682, 0.026305219158530235, -0.052518509328365326, -0.022842813283205032, -0.024565860629081726, -0.048869915306568146, 0.07289193570613861, -0.0012065843911841512, -0.03814324736595154, 0.06811244040727615, 0.026900174096226692, -0.07431644201278687, 0.0274126585572958, 0.03971758857369423, 0.03011934645473957, 0.010819246992468834, 0.040138691663742065, -0.04090601205825806, 0.015997707843780518, -0.030349742621183395, -0.0050092837773263454, -0.051990970969200134, -0.013892605900764465, -0.02316945232450962, -0.04880782589316368, -0.009427486918866634, 0.025509163737297058, -0.00543578527867794, 0.010261829942464828, 0.01508393231779337, -0.0325365886092186, -0.0744158998131752, 0.0029305412899702787, 0.03344416990876198, -0.02169583924114704, 0.01672547310590744, -0.01804010197520256, 0.029915964230895042, 0.0451807826757431, -0.004428336396813393, -0.04469604417681694, 0.014100351370871067, 0.016090411692857742, -0.0618586502969265, -0.05094332993030548, 0.07080455124378204, 0.010992145165801048, -0.02306218631565571, -0.009796010330319405, 0.03793523460626602, 0.022126955911517143, 0.016044981777668, -0.0024364676792174578, 0.01875588856637478, -0.07426237314939499, 0.0019388680811971426, 0.02506261132657528, 0.0008263838244602084, 0.00652949558570981, -0.016926715150475502, 0.03490584343671799, 0.08965031057596207, 0.04212930053472519, -0.006526303477585316, -0.05901974439620972, -0.03108052909374237, -0.00237481202930212, -0.03796355426311493, 0.04408864304423332, 0.011333422735333443, -0.054342664778232574, -0.03495006263256073, -0.02203301340341568, 0.005637301132082939, 0.0372612439095974, -0.031019290909171104, 0.02542046643793583, 0.04312404617667198, 0.0032030856236815453, -0.036728210747241974, -0.10746303200721741, -0.053150925785303116, -0.014921063557267189, 0.03168812394142151, 0.032088540494441986, -0.054579026997089386, 0.019425012171268463, -0.03291337192058563, -0.010367677547037601, 0.05491310730576515, 0.0006184019148349762, -0.015764668583869934, 0.07149830460548401, 0.07640575617551804, -0.022540511563420296, 0.044799886643886566, 0.01632990874350071, -0.03836571052670479, 0.05142343416810036, 0.007532397285103798, 0.02642497979104519, 0.012294872663915157, 0.04214561730623245, -0.020311860367655754, -0.008827188052237034, -0.012559488415718079, -0.03780395910143852, -0.004051419906318188, -0.008687322027981281, 0.05741890147328377 ]
ArBert/albert-base-v2-finetuned-ner-kmeans
[ "pytorch", "tensorboard", "albert", "token-classification", "transformers", "autotrain_compatible" ]
token-classification
{ "architectures": [ "AlbertForTokenClassification" ], "model_type": "albert", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2022-01-12T07:52:54Z
--- tags: - conversational --- # DioloGPT LisaBot model
[ -0.039642173796892166, 0.005732280667871237, -0.001525167841464281, 0.02723793499171734, 0.026098834350705147, 0.01858726143836975, -0.007833707146346569, 0.013104794546961784, -0.01975972205400467, 0.02919410541653633, 0.04763481765985489, -0.013671653345227242, 0.0019134165486320853, 0.04411417618393898, -0.03235296532511711, -0.019330289214849472, -0.019335856661200523, -0.006481294985860586, -0.033308058977127075, -0.01654747873544693, 0.029100703075528145, 0.002309130970388651, -0.01763343997299671, 0.028387708589434624, 0.0007550796144641936, 0.023723607882857323, -0.010864158160984516, 0.013631800189614296, 0.016069456934928894, -0.03370022773742676, 0.002005360322073102, -0.025736510753631592, -0.020142890512943268, -0.019975781440734863, -0.02462897263467312, -0.03790295496582985, 0.02127799019217491, -0.00708106579259038, -0.018964702263474464, 0.03714531287550926, -0.004988877102732658, -0.022324249148368835, -0.0038567720912396908, -0.03635049983859062, 0.07871628552675247, 0.005607319064438343, -0.046788621693849564, -0.018264109268784523, 0.012882662005722523, -0.02529606595635414, -0.04870086535811424, -0.06225062906742096, -0.037747159600257874, -0.007920049130916595, 0.014585680328309536, -0.049360938370227814, -0.06607096642255783, -0.014169245027005672, 0.09497252106666565, -0.02584942989051342, -0.009499352425336838, -0.0025331664364784956, -0.0696708932518959, 0.012128223665058613, 0.031190691515803337, -0.07548104971647263, 0.0063991970382630825, -0.04958413541316986, 0.005433055572211742, -0.030254364013671875, 0.0683298334479332, -0.04344391077756882, 0.01885358616709709, -0.07159852981567383, -0.021971184760332108, -0.001450675306841731, 0.052224066108465195, 0.07758264243602753, -0.03557860106229782, 0.054217442870140076, 0.04258013516664505, 0.006240561604499817, 0.06180290877819061, -0.014435616321861744, -0.03477698937058449, 0.032188091427087784, -0.046975284814834595, 0.010652673430740833, 0.0029040516819804907, 0.017001669853925705, -0.018730023875832558, -0.059134744107723236, -0.027469173073768616, -0.009196939878165722, 0.012110968120396137, 0.05448642373085022, 0.02414790354669094, -0.02802181802690029, 0.023191746324300766, 0.02995593473315239, 0.029754508286714554, 0.05463067814707756, -0.027915261685848236, 0.042908430099487305, -0.01759636588394642, 0.021303938701748848, 0.01765894517302513, -0.01627293974161148, -0.06126262992620468, 0.03338305652141571, 0.0073287347331643105, -0.05239411070942879, -0.01743483543395996, 0.03507952392101288, 0.011287778615951538, -0.019730810075998306, 0.06797313690185547, -0.02903975546360016, -0.021714674308896065, -0.06512272357940674, 0.06348434835672379, -0.024888167157769203, -0.021031415089964867, 0.0021447460167109966, -0.056061163544654846, 0.006336618214845657, -0.041237667202949524, -0.02245292253792286, 0.008720370940864086, 0.002059485064819455, 0.014115171507000923, 0.036091502755880356, -0.03234708681702614, -0.0548672080039978, -0.0035708958748728037, 0.05085254833102226, -0.07101763784885406, 0.006987013854086399, 0.028264643624424934, 0.10153698176145554, -0.07415249943733215, -0.035500116646289825, -0.01015513576567173, 0.011654406785964966, -0.047117363661527634, -0.007608811371028423, 0.013972487300634384, -0.002896102610975504, -0.04054640233516693, -0.01702187955379486, 0.04231464862823486, -0.059074174612760544, -0.0004472802684176713, 0.0503251850605011, 0.01167892012745142, 0.027401773259043694, -0.020174598321318626, 0.008632738143205643, -0.0014530662447214127, -0.03769656643271446, -0.05957901105284691, 0.050729162991046906, -0.015260769054293633, -0.03848814591765404, -0.04303453862667084, -0.037205275148153305, 0.011124307289719582, 0.09607049077749252, 0.009621018543839455, -0.012404653243720531, -0.013192882761359215, 0.04616103321313858, 0.060934796929359436, 0.03755714371800423, -0.019943801686167717, 0.020766567438840866, 0.06009956821799278, 0.025516357272863388, -0.03258397802710533, 0.0685715451836586, 0.014941224828362465, -0.03915616497397423, -0.03941437602043152, -0.005446928553283215, 0.03199238330125809, -0.024380987510085106, 0.02176537923514843, 0.03613155335187912, -0.027066396549344063, -0.04794016480445862, 0.003320829477161169, 0.04668796807527542, -0.006515849381685257, -0.011359874159097672, -0.015290163457393646, -0.03324649855494499, -0.026719046756625175, 0.018040165305137634, -0.031460411846637726, -0.016085688024759293, -0.0379546657204628, -0.018093181774020195, 0.035959310829639435, -0.020961306989192963, 0.01530216820538044, 0.04682713747024536, -0.01896710880100727, 0.04582585021853447, -0.05058520287275314, 0.017268085852265358, -0.03721203655004501, -0.026997264474630356, -0.013642272911965847, 0.04497851803898811, 0.013600151054561138, 0.06035478040575981, -0.041049689054489136, -0.04889148101210594, 0.03868052735924721, 0.06905306130647659, 0.04956705495715141, 0.024765342473983765, -0.022330835461616516, -0.009014750830829144, 0.019506970420479774, 0.03399280086159706, -0.0474272146821022, 0.0027695088647305965, 0.0007413829443976283, 0.041335731744766235, -0.025176433846354485, -0.015485999174416065, -0.041788745671510696, -0.010053329169750214, -0.052513010799884796, -0.05656122788786888, 0.05262376368045807, 0.020929813385009766, 0.015415276400744915, 0.03742615133523941, 0.012606964446604252, -0.02053290605545044, 0.02713223174214363, 0.015981804579496384, -0.01043957844376564, -0.0935390517115593, 0.013034268282353878, 0.037263546139001846, 0.07420390844345093, -0.044397253543138504, 0.026851220056414604, 0.013093269430100918, 0.018155479803681374, 0.029153088107705116, -0.014468898996710777, 0.041192349046468735, 0.03289351239800453, 0.05112164840102196, -0.026488836854696274, 0.029380906373262405, -0.008518298156559467, 0.021490871906280518, 0.037621594965457916, -0.005095785949379206, 0.07344596832990646, -0.0027435498777776957, 0.030543893575668335, 0.05958409607410431, 0.027927562594413757, -0.00746823288500309, 0.012288887053728104, 0.07471199333667755, -0.004510477185249329, 0.01612326130270958, 0.04815877601504326, -0.0076386951841413975, 0.00865401141345501, -0.050707682967185974, -0.005729706492275, 0.0007642059936188161, -0.02269534394145012, 0.059062931686639786, 0.007373147178441286, -0.006967275869101286, -0.004719653632491827, -0.004795724526047707, 0.009423351846635342, 0.05464426428079605, 0.00596195925027132, -0.017275821417570114, 0.003996682353317738, -0.013193267397582531, 0.03497495502233505, -0.05296329781413078, -0.04208202660083771, -0.022685768082737923, -0.052284762263298035, -0.01215747557580471, -0.0954776480793953, -0.044972531497478485, -0.06645628809928894, -0.033184152096509933, 0.05825337767601013, 0.02180170640349388, 0.006421493366360664, 0.007042373530566692, 0.023433931171894073, -0.027084486559033394, -0.04037155956029892, -0.050679128617048264, -0.036653533577919006, -0.018094869330525398, -0.03779975324869156, 0.02490316703915596, 0.03356931358575821, 0.042827680706977844, -0.0009224406676366925, -0.029500393196940422, -0.04581054300069809, -0.02343321219086647, 0.03904090076684952, 0.028414443135261536, -0.04020248353481293, -0.041263315826654434, 0.014023961499333382, 0.002032811986282468, 0.0019697409588843584, -0.01235556323081255, -0.04352135211229324, 0.07201173901557922, 0.04138868674635887, -0.01445233728736639, 0.0032020327635109425, -0.004653364885598421, -0.047096237540245056, -0.011771759018301964, -0.051611579954624176, -0.027552908286452293, -0.0038412194699048996, -0.014459088444709778, -0.04346591979265213, -0.02210756577551365, -0.03742954134941101, -0.007101560477167368, -0.002074222080409527, -0.0043074944987893105, 0.02560165897011757, 0.024892617017030716, 0.023295210674405098, 0.02648700587451458, -0.021097427234053612, -0.022243816405534744, 0.03970780223608017, -0.018070567399263382, -0.011379710398614407, -0.06865117698907852, -0.02623649686574936, 0.03595435246825218, 0.009788230992853642, -0.0108550526201725, -0.019238853827118874, 0.041659656912088394, 0.034312501549720764, -0.004889794625341892, 0.015293066389858723, -0.06555702537298203, 0.023077545687556267, -0.044441599398851395, -0.043404996395111084, -0.04271060228347778, -0.04022494703531265, -0.006609837058931589, -0.019165921956300735, 0.02539151720702648, -0.08425780385732651, -0.025825638324022293, -0.022699235007166862, 0.004483507480472326, 0.04316731169819832, -0.0030736366752535105, -0.0653810054063797, -0.006837230641394854, -0.0456215962767601, -0.015730904415249825, 0.010440033860504627, -0.009654552675783634, -0.00037691896432079375, 0.03421444818377495, 0.016787264496088028, -0.019177980720996857, 0.04921066761016846, 0.012055881321430206, 0.07622362673282623, 0.04979011043906212, -0.039637982845306396, 0.03161641210317612, -0.027026642113924026, 0.01483316719532013, -0.012662827037274837, -0.022295216098427773, -0.032187893986701965, -0.1058850809931755, -0.04670008644461632, 0.024924077093601227, -0.04012134671211243, -0.0006726122228428721, 0.03918083757162094, -0.04988158494234085, -0.015157866291701794, 0.0007525260443799198, 0.04123605042695999, 0.0483892522752285, -0.028944818302989006, 0.06332790106534958, 0.008234470151364803, 0.035836949944496155, -0.0482863150537014, -0.020408323034644127, -0.05577325075864792, -0.014341849833726883, -0.002858651801943779, 0.040183912962675095, 0.018160318955779076, 0.06069420650601387, 0.07074090838432312, 0.03079182282090187, -0.041235510259866714, 0.06569057703018188, 0.07687553018331528, -0.01531262043863535, -0.029653586447238922, 0.0005657278816215694, -0.013714568689465523, -0.027771566063165665, -0.013915207237005234, -0.03442315012216568, 0.019956229254603386, 0.040745146572589874, -0.0054226284846663475, 0.008215718902647495, 0.005073546897619963, -0.034196771681308746, -0.01848292350769043, -0.07021579891443253, -0.012873705476522446, -0.011843896470963955, -0.015907395631074905, 0.05922526493668556, 0.04119374603033066, 0.02912614867091179, 0.05115453153848648, 0.023074889555573463, -0.01992591843008995, -0.049628108739852905, 0.019228626042604446, 0.03158633038401604, -0.036715246737003326, -0.06470105051994324, -0.046961333602666855, 0.014758129604160786, 0.039253804832696915, -0.027372634038329124, -0.09065181016921997, 0.018921740353107452, 0.04922450706362724, -0.04618224874138832, 0.0569147951900959, -0.001266959123313427, 0.03874489292502403, 0.03656238690018654, 0.011734671890735626, 0.04374255612492561, -0.0670592188835144, 0.01620117947459221, -0.014194706454873085, 0.030597776174545288, -0.055856991559267044, -0.05382739380002022, -0.04856400191783905, 0.03964150696992874, 0.021109718829393387, 0.029953623190522194, 0.029471898451447487, -0.047738008201122284, -0.05432600528001785, -0.007385783828794956, 0.04566991329193115, -0.020793767645955086, 0.01507954578846693, 0.028884563595056534, 0.04729491472244263, -0.046084534376859665, -0.009297944605350494, 0.017887039110064507, 0.0063134715892374516, 0.024709006771445274, -0.012674011290073395, -0.039361752569675446, -0.0293262992054224, 0.023248188197612762, -0.03294411301612854, -0.026484400033950806, -0.09666857123374939, 0.022338883951306343, -0.018319152295589447, -0.031813621520996094, 0.07475072890520096, 0.05415424332022667, 0.0535944327712059, 0.05895744264125824, -0.012851354666054249, 0.046709928661584854, -0.028322281315922737, 0.007993157021701336, -0.04404063895344734, -0.03732509911060333, 0.0012910077348351479, -0.06715729087591171, -0.025350328534841537, -0.029394568875432014, -0.05602738633751869, -0.03283316269516945, 0.011170665733516216, 0.0009955881396308541, -0.0009053035755641758, -0.0049684192053973675, 0.007521903607994318, 0.019450552761554718, -0.022497590631246567, -0.0159002672880888, -0.02425844967365265, -0.014315735548734665, -0.06970345228910446, -0.06159001216292381, 0.007467497140169144, -0.01207409892231226, 0.023982496932148933, 0.007254977244883776, 0.0013201037654653192, 0.05176764726638794, -0.015256992541253567, -0.015125889331102371, 0.021224437281489372, 0.030878661200404167, -0.041830457746982574, -0.009868979454040527, 0.015377386473119259, 0.017134079709649086, 0.021989010274410248, -0.03556400164961815, 0.028508802875876427, 0.0007301648729480803, -0.05242157727479935, -0.022182490676641464, 0.019796013832092285, 0.018039627000689507, -0.08163469284772873, -0.013785074464976788, -0.03138851374387741, -0.029287857934832573, 0.02404477633535862, -0.03838930279016495, -0.0349341556429863, -0.007292226422578096, 0.03224283456802368, 0.017249463126063347, -0.006973581854254007, -0.04105988144874573, 0.01465997751802206, -0.02213931828737259, 0.001568408333696425, -0.06416919082403183, 0.02180490270256996, -0.022243324667215347, -0.0030811545439064503, -0.0014066457515582442, 0.007186218164861202, -0.042115118354558945, 0.055049438029527664, -0.021896619349718094, -0.0007402741466648877, 0.017742302268743515, -0.011599660851061344, -0.003859915304929018, 0.04135822504758835, 0.01701539009809494, 0.01288218330591917, -0.04385029524564743, 0.06704942137002945, -0.05010725557804108, 0.00413915142416954, 0.00029183647711761296, -0.0331992506980896, -0.025370417162775993, 0.004296013154089451, 0.0016846671933308244, -0.05176618695259094, 0.022813264280557632, 0.0314071923494339, 0.05353303998708725, 0.027788130566477776, 0.010252856649458408, 0.004087118431925774, 0.013142755255103111, -0.05532580986618996, -0.036372970789670944, -0.007724516559392214, 0.0035375773441046476, 0.0039320336654782295, 0.04994356259703636, 0.02955172210931778, -0.06002245470881462, -0.018532613292336464, 0.025378335267305374, 0.02430533617734909, 0.011735772714018822, -0.00846684817224741, 0.045894891023635864, 0.05826037377119064, 0.06566312909126282, -0.004595552105456591, -0.01777457818388939, 0.02192988246679306, -0.010193543508648872, -0.017001701518893242, 0.005919252056628466, -0.00005670075552188791, -0.00035697160637937486, -0.03461947664618492, -0.03852924704551697, 0.06408745050430298, -0.02755320817232132, 0.00019343830354046077, 0.0024167418014258146, -0.04591056704521179, 0.06173381581902504, -0.0007427080417983234, -0.03814762458205223, -0.005547030363231897, 0.03265863656997681, -0.032272085547447205, 0.04073191434144974, -0.022596029564738274, 0.011148408986628056, 0.05210427939891815, 0.04167032241821289, -0.0009060654556378722, 0.002290277509018779, -0.0185661893337965, 0.007079932373017073, 0.022634195163846016, -0.04916943237185478, -0.01428603008389473, -0.026844756677746773, 0.0568898469209671, -0.041949592530727386, 0.06999903172254562, 0.03631161153316498, 0.04659093916416168, 0.03532511740922928, -0.05960313230752945, -0.03300459682941437, -0.03981735557317734, -0.04252592846751213, 0.06565594673156738, -0.0020747322123497725, -0.03263678029179573, 0.06856058537960052, 0.038141846656799316, -0.08116418123245239, 0.03460124880075455, 0.04983491078019142, 0.03280571475625038, 0.012086729519069195, 0.04105772078037262, -0.04624108970165253, 0.020828237757086754, -0.024883685633540154, -0.010874433442950249, -0.046518318355083466, -0.0008452591137029231, -0.015118264593183994, -0.04621493071317673, -0.00989681575447321, 0.031262096017599106, -0.01949579268693924, 0.012193712405860424, 0.020559772849082947, -0.015144532546401024, -0.06915278732776642, 0.006550897378474474, 0.015384160913527012, -0.017568979412317276, -0.0063804020173847675, -0.013309835456311703, 0.022602535784244537, 0.0318058580160141, 0.002014296827837825, -0.06088289991021156, 0.004497526679188013, 0.010768527165055275, -0.051102425903081894, -0.06029976159334183, 0.06337626278400421, 0.020338978618383408, -0.02040603943169117, -0.0014978930121287704, 0.032611407339572906, 0.018675999715924263, 0.023672103881835938, -0.006058468017727137, 0.005527209490537643, -0.06925027817487717, -0.008661136962473392, 0.022754661738872528, 0.002832397585734725, -0.0032472999300807714, -0.013518041931092739, 0.03491673991084099, 0.07367217540740967, 0.05007636547088623, -0.0019276482053101063, -0.05806279182434082, -0.018373362720012665, -0.005288380663841963, -0.025750944390892982, 0.04566023498773575, 0.009193295612931252, -0.06775529682636261, -0.030490150675177574, -0.03578924760222435, 0.004782758187502623, 0.03908883407711983, -0.026478737592697144, 0.023039115592837334, 0.04491520673036575, 0.007116565480828285, -0.033724717795848846, -0.11716444045305252, -0.042663026601076126, -0.008836743421852589, 0.026468561962246895, 0.027841169387102127, -0.06314373761415482, 0.017665892839431763, -0.023477623239159584, -0.006265922915190458, 0.05808180943131447, 0.0007960715447552502, -0.016154048964381218, 0.0797729417681694, 0.07279603183269501, -0.027677400037646294, 0.05946487560868263, 0.031728651374578476, -0.036018967628479004, 0.04592389985918999, 0.009246469475328922, 0.030361101031303406, 0.023290017619729042, 0.03472369536757469, -0.02507246844470501, -0.024692518636584282, -0.013822926208376884, -0.028032414615154266, -0.02121639996767044, -0.0073329126462340355, 0.05810754746198654 ]
ArBert/bert-base-uncased-finetuned-ner-agglo
[]
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-25T22:30:35Z
--- tags: - conversational --- # DioloGPT KaeyaBot model
[ -0.04039008170366287, 0.00723356194794178, 0.017341285943984985, 0.0112495431676507, 0.02993033267557621, 0.019221778959035873, 0.0012353671481832862, 0.027812901884317398, -0.030947646126151085, 0.024946337565779686, 0.028943920508027077, -0.018254289403557777, 0.01794712245464325, 0.028302432969212532, -0.033314112573862076, -0.024027615785598755, -0.0229063518345356, -0.006610408425331116, -0.03128301352262497, -0.014651595614850521, 0.01802508346736431, 0.0053222463466227055, -0.02720727026462555, 0.02256443165242672, 0.011972463689744473, 0.015458721667528152, -0.013535862788558006, 0.0013944904785603285, 0.017851851880550385, -0.03415008261799812, -0.003656218061223626, -0.038892485201358795, -0.02679825946688652, -0.016300270333886147, -0.02318345382809639, -0.02394082397222519, 0.012064924463629723, -0.009135396219789982, -0.011052449233829975, 0.03598153591156006, -0.020067624747753143, -0.018871592357754707, 0.0019051159033551812, -0.03498353809118271, 0.08606171607971191, -0.004760335199534893, -0.04981974512338638, -0.010683514177799225, 0.005175646860152483, -0.028048034757375717, -0.04406766965985298, -0.05434923619031906, -0.060627274215221405, -0.02008799836039543, 0.017983829602599144, -0.05403776839375496, -0.06350772082805634, -0.020018134266138077, 0.0948505848646164, -0.02993515133857727, -0.0018054586835205555, 0.004723560065031052, -0.06936918199062347, 0.007339955773204565, 0.0353219248354435, -0.07656427472829819, 0.004597984254360199, -0.03982706367969513, 0.002169472398236394, -0.04164321348071098, 0.05726620554924011, -0.0423128679394722, 0.011087218299508095, -0.08003900200128555, -0.015333699993789196, -0.009924063459038734, 0.04475068673491478, 0.0731651559472084, -0.028329690918326378, 0.055290330201387405, 0.04290076717734337, 0.011395704932510853, 0.05914643034338951, -0.011313119903206825, -0.025902433320879936, 0.049038857221603394, -0.048971179872751236, -0.003968318924307823, -0.0036094635725021362, 0.020973965525627136, -0.029267314821481705, -0.05860873684287071, -0.022736119106411934, -0.01035836897790432, -0.0007497587939724326, 0.04481741040945053, 0.03428652137517929, -0.03716418147087097, 0.0331486351788044, 0.043015047907829285, 0.031755153089761734, 0.04574248567223549, -0.03547751158475876, 0.04227789118885994, -0.01706063561141491, 0.018360992893576622, 0.013496827334165573, -0.01950843259692192, -0.03311010077595711, 0.025569861754775047, -0.006108852569013834, -0.046261608600616455, -0.03418614715337753, 0.044216983020305634, 0.020303761586546898, -0.0054137068800628185, 0.05274706333875656, -0.033023733645677567, -0.021924344822764397, -0.05663963779807091, 0.06531249731779099, -0.019464736804366112, -0.016394227743148804, -0.003892825683578849, -0.04157710820436478, 0.0059928614646196365, -0.03862610459327698, -0.0195170771330595, -0.0010715614771470428, 0.01672750525176525, 0.012328771874308586, 0.04581793397665024, -0.03629976883530617, -0.059768274426460266, 0.0037731057964265347, 0.05459274724125862, -0.06656216830015182, -0.002979187062010169, 0.02199271321296692, 0.08631671220064163, -0.07530497759580612, -0.03378628194332123, -0.020458197221159935, 0.020326072350144386, -0.03223640099167824, -0.010873830877244473, -0.007652300875633955, 0.004839099477976561, -0.053402192890644073, -0.023225298151373863, 0.035683587193489075, -0.0580383762717247, -0.0018441949505358934, 0.04261389374732971, 0.012253953143954277, 0.029423650354146957, -0.03146574646234512, 0.020160606130957603, 0.004226287826895714, -0.038043729960918427, -0.05994705110788345, 0.037342268973588943, -0.010327211581170559, -0.03725050017237663, -0.043077073991298676, -0.039434414356946945, -0.002263149479404092, 0.0863490104675293, 0.010775628499686718, -0.015169489197432995, -0.014419890008866787, 0.03836524114012718, 0.06020018458366394, 0.03723466396331787, -0.017267931252717972, 0.013312602415680885, 0.05187912657856941, 0.025390511378645897, -0.03215378150343895, 0.0714927688241005, 0.015044680796563625, -0.0409226231276989, -0.048309165984392166, -0.014103484340012074, 0.03241821005940437, -0.020244482904672623, 0.019024202600121498, 0.044321369379758835, -0.03144495189189911, -0.04345831647515297, 0.014244570396840572, 0.04694677144289017, -0.00881910976022482, -0.01007156353443861, -0.02792946808040142, -0.03438495099544525, -0.03446047380566597, 0.027294263243675232, -0.030913222581148148, -0.016720319166779518, -0.05340569093823433, -0.00628484645858407, 0.040018659085035324, -0.017266256734728813, 0.016818301752209663, 0.047266289591789246, -0.023145588114857674, 0.058598220348358154, -0.026667315512895584, 0.008015443570911884, -0.03714028373360634, -0.02964058518409729, -0.010640107095241547, 0.0418972373008728, 0.003518460551276803, 0.054315898567438126, -0.035262491554021835, -0.04173564910888672, 0.03777732327580452, 0.07124130427837372, 0.047234680503606796, 0.02479058876633644, -0.02006976120173931, -0.0013734467793256044, 0.02237848937511444, 0.035008322447538376, -0.05039658397436142, 0.016622787341475487, 0.010041916742920876, 0.04736684262752533, -0.019596701487898827, -0.03081236220896244, -0.03144517168402672, 0.004756959155201912, -0.042958252131938934, -0.06321918964385986, 0.0520273819565773, 0.029957739636301994, 0.009288148954510689, 0.0401621051132679, 0.0050979782827198505, -0.017187979072332382, 0.030825959518551826, 0.012057133950293064, -0.007734009064733982, -0.09092799574136734, 0.004606159869581461, 0.03223509341478348, 0.1017446219921112, -0.039956893771886826, 0.03392701596021652, 0.030214592814445496, 0.012895292602479458, 0.020280469208955765, -0.015201026573777199, 0.046604860574007034, 0.03920889273285866, 0.04074231907725334, -0.025133538991212845, 0.04166816174983978, -0.0012152190320193768, 0.02188405580818653, 0.04469078779220581, -0.0037725658621639013, 0.07630004733800888, -0.011011078022420406, 0.02472861483693123, 0.054509036242961884, 0.020252946764230728, -0.0073913992382586, 0.011960086412727833, 0.08334432542324066, 0.008925098925828934, 0.034161344170570374, 0.04506313428282738, -0.009291409514844418, 0.005571476649492979, -0.04713056981563568, 0.00855729915201664, -0.00433666817843914, -0.02094872109591961, 0.06719420105218887, -0.0001355824788333848, -0.005930193699896336, 0.0015980845782905817, -0.012448769062757492, 0.007174619473516941, 0.05849289149045944, 0.01048691663891077, -0.020038610324263573, 0.0015361690893769264, -0.030303359031677246, 0.029310589656233788, -0.06254356354475021, -0.04702804982662201, -0.024737754836678505, -0.05776066705584526, -0.0017750068800523877, -0.08963391184806824, -0.0351046584546566, -0.06061340495944023, -0.02319313772022724, 0.057088468223810196, 0.019225800409913063, 0.01956404745578766, -0.0061972057446837425, 0.008981104008853436, -0.030371595174074173, -0.05619874969124794, -0.04098552465438843, -0.03032829239964485, -0.015666760504245758, -0.04032266139984131, 0.026467792689800262, 0.03559758514165878, 0.04048265516757965, -0.002064365427941084, -0.03066577948629856, -0.0341375507414341, -0.01438016165047884, 0.03727662190794945, 0.018240949138998985, -0.037776876240968704, -0.03678872436285019, 0.011971347033977509, 0.008296091109514236, -0.004714862909168005, -0.018797609955072403, -0.049757733941078186, 0.07823852449655533, 0.03597104549407959, 0.001716078375466168, 0.017070095986127853, -0.00987589918076992, -0.04785249009728432, -0.011056507006287575, -0.0403091125190258, -0.04878818243741989, -0.006009247153997421, -0.017038268968462944, -0.05002078041434288, -0.0274724792689085, -0.04742323234677315, -0.00582584785297513, -0.0027358962688595057, -0.008335251361131668, 0.02399570867419243, 0.026368098333477974, 0.03458758443593979, 0.033976297825574875, -0.0020865730475634336, -0.01281550619751215, 0.03728729858994484, -0.022015389055013657, -0.005420288536697626, -0.08234840631484985, -0.030527684837579727, 0.04201711341738701, 0.005828385706990957, -0.00003723014015122317, -0.017176726832985878, 0.04722626879811287, 0.04025496169924736, -0.0082413824275136, 0.03754805028438568, -0.0690872073173523, 0.013161677867174149, -0.04980895668268204, -0.026901952922344208, -0.04919043928384781, -0.02836868353188038, -0.008952573873102665, -0.010103026404976845, 0.02935021184384823, -0.07907217741012573, -0.030244043096899986, -0.015609975904226303, -0.000047891920985421166, 0.04722083359956741, -0.007013739086687565, -0.05533498898148537, -0.015355600044131279, -0.03304464370012283, -0.02371692843735218, 0.009313722141087055, -0.014961719512939453, 0.010766913183033466, 0.029076682403683662, 0.012718738056719303, -0.01802872307598591, 0.06119146570563316, 0.01551514770835638, 0.06642811745405197, 0.047478221356868744, -0.02427099458873272, 0.024013826623558998, -0.019284093752503395, 0.028392083942890167, -0.009404405020177364, -0.027349455282092094, -0.04681805148720741, -0.10938728600740433, -0.05029202997684479, 0.024714697152376175, -0.026221927255392075, -0.008510048501193523, 0.038281749933958054, -0.035466086119413376, -0.008435394614934921, -0.004318921826779842, 0.0465419664978981, 0.04737208038568497, -0.02938055992126465, 0.06472457945346832, 0.01582491211593151, 0.01988149620592594, -0.047024451196193695, -0.017224550247192383, -0.06420132517814636, -0.009518289007246494, 0.0060986545868217945, 0.03302892670035362, 0.019769644364714622, 0.05857386067509651, 0.0715135708451271, 0.03004750981926918, -0.027263524010777473, 0.05776076763868332, 0.07603304833173752, -0.007353759836405516, -0.040284041315317154, 0.008408918976783752, -0.004849414341151714, -0.028012024238705635, -0.007169642485678196, -0.03182249888777733, 0.030040405690670013, 0.04275050759315491, -0.009359052404761314, 0.012649494223296642, 0.010715636424720287, -0.033942367881536484, -0.023704782128334045, -0.07150838524103165, -0.009395898319780827, -0.006427987013012171, -0.012399964034557343, 0.048238057643175125, 0.05394139513373375, 0.021367449313402176, 0.06182624027132988, 0.015395602211356163, -0.026596441864967346, -0.06242823228240013, 0.025367001071572304, 0.04586626961827278, -0.050240304321050644, -0.0672520250082016, -0.045620474964380264, 0.019686704501509666, 0.049843572080135345, -0.03872121870517731, -0.07926763594150543, 0.021193670108914375, 0.04402410238981247, -0.050903916358947754, 0.06771093606948853, -0.0032942004036158323, 0.040560249239206314, 0.03779969364404678, 0.014767252840101719, 0.04068071022629738, -0.06032577157020569, 0.005355558358132839, -0.01211303099989891, 0.029726633802056313, -0.04551786184310913, -0.05541505292057991, -0.06069975346326828, 0.035322610288858414, 0.026906199753284454, 0.02579219825565815, 0.016314800828695297, -0.040389228612184525, -0.0423102080821991, 0.01559219229966402, 0.04648277908563614, -0.023839164525270462, 0.020296618342399597, 0.02822341024875641, 0.04390833154320717, -0.06047266721725464, -0.008749019354581833, 0.00978113617748022, 0.013814631849527359, 0.01768958382308483, -0.01068539172410965, -0.038825877010822296, -0.03520594909787178, 0.01432222779840231, -0.03603960946202278, -0.01921406015753746, -0.09673676639795303, 0.029963543638586998, -0.0122006731107831, -0.02596450410783291, 0.0755624994635582, 0.05881573259830475, 0.0609448105096817, 0.04938641935586929, -0.01700243540108204, 0.05414298176765442, -0.019219424575567245, 0.006485923193395138, -0.044710371643304825, -0.03834908455610275, -0.0038601921405643225, -0.07928338646888733, -0.03686940670013428, -0.04300469905138016, -0.0513070784509182, -0.040914662182331085, 0.006360684055835009, 0.011432760395109653, -0.013094219379127026, -0.005338850896805525, 0.0017517738742753863, 0.015240957029163837, -0.033420633524656296, -0.019868116825819016, -0.017992768436670303, -0.014118136838078499, -0.06058891862630844, -0.0614931546151638, -0.0007692627259530127, -0.016350172460079193, 0.011077355593442917, 0.009412141516804695, 0.00417691795155406, 0.05327220633625984, -0.020564960315823555, -0.02485758252441883, 0.00862941425293684, 0.02430706098675728, -0.03331600874662399, -0.026920458301901817, 0.013216711580753326, 0.023691687732934952, 0.015159829519689083, -0.03177405893802643, 0.023658569902181625, 0.014782244339585304, -0.03754161670804024, -0.016045471653342247, 0.020736021921038628, 0.02309923619031906, -0.07884898781776428, -0.01301792822778225, -0.02503950707614422, -0.029363401234149933, 0.012467368505895138, -0.04508453980088234, -0.03378097340464592, -0.003515822347253561, 0.02290993370115757, 0.022994454950094223, -0.004347172100096941, -0.023033669218420982, 0.017489861696958542, -0.01067973393946886, 0.005474465433508158, -0.05808505788445473, 0.02018621377646923, -0.037313468754291534, 0.012565022334456444, -0.007889784872531891, 0.0022139400243759155, -0.03555942326784134, 0.05863480269908905, -0.013224160298705101, -0.0030102021992206573, 0.002244906732812524, -0.006615807767957449, -0.011142377741634846, 0.057217806577682495, 0.022783584892749786, -0.0034169747959822416, -0.04376448318362236, 0.0592820979654789, -0.05723109841346741, 0.008981443010270596, -0.0044376119039952755, -0.03394889086484909, -0.018801797181367874, -0.002192139159888029, 0.005517590790987015, -0.03835970163345337, 0.01609332673251629, 0.023207522928714752, 0.03134703263640404, 0.0392250157892704, 0.008341153152287006, 0.011453306302428246, 0.021838491782546043, -0.04450814053416252, -0.032790377736091614, 0.002429367508739233, 0.011411796323955059, 0.004078374709933996, 0.06246866658329964, 0.03848341107368469, -0.05426885187625885, -0.025045569986104965, 0.02610812708735466, 0.030719680711627007, 0.014336800202727318, -0.006466501392424107, 0.0299074649810791, 0.05303326994180679, 0.05626579746603966, -0.0025173588655889034, -0.013957786373794079, 0.026178697124123573, -0.019947590306401253, -0.016676252707839012, 0.0020201567094773054, -0.01800355687737465, -0.008818353526294231, -0.034599389880895615, -0.036354757845401764, 0.06480150669813156, -0.014535346068441868, -0.00147866306360811, -0.001179827842861414, -0.04007939249277115, 0.058450642973184586, -0.0013640777906402946, -0.03592400252819061, -0.021194783970713615, 0.04017367959022522, -0.03011391870677471, 0.04430598020553589, -0.03566707298159599, 0.016894308850169182, 0.05970250815153122, 0.03946023806929588, 0.0033181123435497284, 0.016837920993566513, -0.022210994735360146, 0.007287484128028154, 0.015368771739304066, -0.05147169157862663, -0.011179359629750252, -0.02662069909274578, 0.0547962486743927, -0.056329481303691864, 0.07058388739824295, 0.0339215025305748, 0.03832180052995682, 0.026305219158530235, -0.052518509328365326, -0.022842813283205032, -0.024565860629081726, -0.048869915306568146, 0.07289193570613861, -0.0012065843911841512, -0.03814324736595154, 0.06811244040727615, 0.026900174096226692, -0.07431644201278687, 0.0274126585572958, 0.03971758857369423, 0.03011934645473957, 0.010819246992468834, 0.040138691663742065, -0.04090601205825806, 0.015997707843780518, -0.030349742621183395, -0.0050092837773263454, -0.051990970969200134, -0.013892605900764465, -0.02316945232450962, -0.04880782589316368, -0.009427486918866634, 0.025509163737297058, -0.00543578527867794, 0.010261829942464828, 0.01508393231779337, -0.0325365886092186, -0.0744158998131752, 0.0029305412899702787, 0.03344416990876198, -0.02169583924114704, 0.01672547310590744, -0.01804010197520256, 0.029915964230895042, 0.0451807826757431, -0.004428336396813393, -0.04469604417681694, 0.014100351370871067, 0.016090411692857742, -0.0618586502969265, -0.05094332993030548, 0.07080455124378204, 0.010992145165801048, -0.02306218631565571, -0.009796010330319405, 0.03793523460626602, 0.022126955911517143, 0.016044981777668, -0.0024364676792174578, 0.01875588856637478, -0.07426237314939499, 0.0019388680811971426, 0.02506261132657528, 0.0008263838244602084, 0.00652949558570981, -0.016926715150475502, 0.03490584343671799, 0.08965031057596207, 0.04212930053472519, -0.006526303477585316, -0.05901974439620972, -0.03108052909374237, -0.00237481202930212, -0.03796355426311493, 0.04408864304423332, 0.011333422735333443, -0.054342664778232574, -0.03495006263256073, -0.02203301340341568, 0.005637301132082939, 0.0372612439095974, -0.031019290909171104, 0.02542046643793583, 0.04312404617667198, 0.0032030856236815453, -0.036728210747241974, -0.10746303200721741, -0.053150925785303116, -0.014921063557267189, 0.03168812394142151, 0.032088540494441986, -0.054579026997089386, 0.019425012171268463, -0.03291337192058563, -0.010367677547037601, 0.05491310730576515, 0.0006184019148349762, -0.015764668583869934, 0.07149830460548401, 0.07640575617551804, -0.022540511563420296, 0.044799886643886566, 0.01632990874350071, -0.03836571052670479, 0.05142343416810036, 0.007532397285103798, 0.02642497979104519, 0.012294872663915157, 0.04214561730623245, -0.020311860367655754, -0.008827188052237034, -0.012559488415718079, -0.03780395910143852, -0.004051419906318188, -0.008687322027981281, 0.05741890147328377 ]
ArBert/bert-base-uncased-finetuned-ner-gmm
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-12-04T16:52:22Z
--- license: apache-2.0 tags: - generated_from_trainer datasets: - wmt16 metrics: - bleu model-index: - name: opus-mt-de-en-finetuned-de-to-en-second results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: wmt16 type: wmt16 args: de-en metrics: - name: Bleu type: bleu value: 37.9762 --- <!-- 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. --> # opus-mt-de-en-finetuned-de-to-en-second This model is a fine-tuned version of [Helsinki-NLP/opus-mt-de-en](https://huggingface.co/Helsinki-NLP/opus-mt-de-en) on the wmt16 dataset. It achieves the following results on the evaluation set: - Loss: 1.2282 - Bleu: 37.9762 - Gen Len: 25.3696 ## 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: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len | |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:| | No log | 1.0 | 157 | 1.1837 | 38.8278 | 25.22 | | No log | 2.0 | 314 | 1.2057 | 38.3047 | 25.2908 | | No log | 3.0 | 471 | 1.2167 | 38.231 | 25.316 | | 1.4808 | 4.0 | 628 | 1.2256 | 37.9871 | 25.3556 | | 1.4808 | 5.0 | 785 | 1.2282 | 37.9762 | 25.3696 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu111 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.012923059053719044, -0.009188718162477016, 0.001025848905555904, 0.041741009801626205, 0.030522925779223442, 0.005742882844060659, -0.006983532104641199, -0.016554903239011765, -0.016244741156697273, 0.05279695615172386, 0.011730784550309181, -0.02300199307501316, -0.017659716308116913, 0.047630783170461655, -0.04884187877178192, -0.03789227828383446, -0.01533698569983244, -0.004903956316411495, -0.017188748344779015, -0.0023757987655699253, -0.009801622480154037, 0.0009428334888070822, -0.022427726536989212, 0.01699160225689411, -0.002657927805557847, 0.00006611768185393885, -0.020349852740764618, 0.016784800216555595, 0.017728015780448914, -0.07497619092464447, 0.0008849090081639588, -0.02753257192671299, -0.04838677868247032, 0.0011767183896154165, -0.028650598600506783, 0.0050561618991196156, 0.00901826098561287, 0.020840832963585854, 0.04675421118736267, 0.050617821514606476, 0.0054631889797747135, 0.01340403500944376, -0.022710096091032028, -0.01601722091436386, 0.031680889427661896, 0.004454572685062885, -0.025394735857844353, -0.01984073407948017, 0.021882200613617897, -0.03119594044983387, -0.07362490892410278, -0.0314478799700737, 0.010022325441241264, 0.03457487374544144, -0.012295099906623363, -0.010076084174215794, -0.07270802557468414, 0.0071006533689796925, 0.07958885282278061, -0.04759107530117035, -0.04804149270057678, 0.018467983230948448, -0.048756446689367294, 0.02073587104678154, 0.03893536701798439, -0.04755474627017975, 0.004519190173596144, -0.05022866651415825, 0.03218536823987961, -0.019710596650838852, 0.03581015393137932, -0.019790545105934143, 0.004387169145047665, -0.088252492249012, -0.028743261471390724, 0.006886976771056652, 0.04279685765504837, 0.05548372492194176, -0.03797164559364319, 0.05349554121494293, 0.033127058297395706, -0.01543461624532938, 0.03834713250398636, -0.0141405388712883, 0.003004614030942321, 0.039464060217142105, -0.032406505197286606, 0.01880360022187233, 0.021124213933944702, 0.03594920039176941, -0.03923162817955017, -0.02626623958349228, -0.022233715280890465, -0.03046802431344986, -0.006431392394006252, 0.02446865104138851, 0.033341582864522934, -0.006541948765516281, 0.03270864859223366, 0.028658293187618256, 0.010621298104524612, 0.04393710196018219, -0.013375701382756233, 0.06691069155931473, -0.016346808522939682, -0.005452200770378113, -0.02136654406785965, -0.024975186213850975, -0.05976578965783119, 0.018662497401237488, 0.013888739049434662, -0.044261228293180466, -0.03494824096560478, 0.055254995822906494, 0.0022148964926600456, -0.04492555931210518, 0.07471704483032227, -0.01619807258248329, -0.04809886962175369, -0.05294930562376976, 0.03396241366863251, 0.007039286661893129, 0.0073722111992537975, 0.00034595231409184635, -0.06942373514175415, 0.007638294715434313, -0.027414513751864433, -0.05165368318557739, -0.009034578688442707, 0.016557956114411354, -0.02103017084300518, 0.05297955125570297, 0.009790148586034775, -0.06764571368694305, -0.007521412800997496, -0.011293837800621986, -0.04603806138038635, 0.04620412737131119, 0.02269630879163742, 0.09793226420879364, -0.047452181577682495, -0.07592753320932388, 0.01658865064382553, -0.00338772963732481, -0.03768908604979515, 0.022885488346219063, -0.0129166841506958, -0.04628720507025719, -0.011220945045351982, -0.009051081724464893, 0.046518608927726746, -0.06767184287309647, -0.010527677834033966, 0.06144711375236511, -0.005128773394972086, 0.04672747105360031, -0.05440860241651535, -0.03212030231952667, 0.0075029474683105946, -0.02198023535311222, 0.0012170779518783092, 0.026882050558924675, -0.007591732777655125, 0.008275126107037067, -0.04301978647708893, -0.058281052857637405, 0.012036904692649841, 0.08013646304607391, -0.015179142355918884, -0.017171254381537437, -0.021966829895973206, 0.03541753068566322, 0.0531267374753952, 0.028349442407488823, -0.036601241677999496, 0.03250887244939804, 0.048842210322618484, 0.033842336386442184, -0.022410724312067032, 0.0540800541639328, 0.011456631124019623, -0.022754568606615067, -0.03438873961567879, 0.0031874829437583685, 0.02059374749660492, -0.03953041881322861, 0.005753373261541128, 0.018728064373135567, 0.029203183948993683, -0.03686581552028656, -0.04081754386425018, 0.07004360854625702, -0.007656189147382975, -0.0025795737747102976, 0.011797390878200531, -0.00020661212329287082, -0.020537760108709335, 0.05418584123253822, -0.016958756372332573, -0.00007395679858746007, -0.03917324170470238, -0.02833346650004387, 0.026907704770565033, 0.019223229959607124, 0.04373163357377052, 0.04771022871136665, -0.011482981964945793, 0.08909983187913895, -0.02839081548154354, 0.010549196973443031, -0.023823678493499756, -0.04153255745768547, 0.005888024345040321, 0.07188549637794495, 0.04391884431242943, 0.055584367364645004, -0.009437746368348598, -0.05847262591123581, 0.04339246079325676, 0.07003988325595856, 0.05218673124909401, 0.00837778765708208, -0.0436471588909626, -0.01679268851876259, 0.030616020783782005, 0.04233790561556816, -0.05567837506532669, -0.059496764093637466, 0.03650302812457085, 0.06517292559146881, -0.03743395209312439, 0.013484261929988861, -0.0263350922614336, 0.03032374568283558, -0.03932536020874977, -0.0694800317287445, 0.04450371861457825, 0.02346501126885414, 0.010776132345199585, 0.029368741437792778, 0.012540526688098907, -0.0014438609359785914, 0.03223622962832451, 0.01426201406866312, -0.009473348967730999, -0.03705216571688652, 0.016004690900444984, 0.011769281700253487, 0.05168452858924866, -0.0361972413957119, 0.04161705821752548, -0.03121461533010006, -0.0064110965467989445, 0.0315934419631958, -0.0525502935051918, 0.01967049017548561, 0.04657747969031334, 0.009357452392578125, -0.03321462869644165, -0.0107883857563138, 0.00945605244487524, 0.04274040088057518, 0.059612780809402466, -0.004810404498130083, 0.08717493712902069, 0.017575932666659355, 0.05563117191195488, 0.06367012113332748, 0.04378867149353027, 0.018820403143763542, 0.04105202853679657, 0.0820760577917099, -0.0012889126082882285, -0.01666826568543911, 0.04902556911110878, -0.04874219745397568, 0.020297084003686905, -0.026685187593102455, 0.013721096329391003, -0.0023438401985913515, -0.006797469221055508, 0.02512805163860321, 0.019037291407585144, -0.012826619669795036, -0.00384037708863616, -0.011602514423429966, -0.018647942692041397, 0.02137148007750511, -0.006501306779682636, 0.0026248416397720575, -0.014438020065426826, 0.0009104355704039335, 0.008130593225359917, -0.04775547981262207, -0.04712895676493645, 0.004909167066216469, -0.023051191121339798, -0.017750846222043037, -0.06819823384284973, -0.019982226192951202, -0.06154879555106163, -0.004094905685633421, 0.044334810227155685, 0.012144362553954124, 0.004084282089024782, -0.040189024060964584, 0.012191230431199074, -0.01876789517700672, -0.01986611820757389, -0.028851624578237534, -0.04319896548986435, -0.050969190895557404, -0.060164038091897964, 0.046162206679582596, 0.05158647894859314, 0.013518312014639378, 0.014273930341005325, 0.010890496894717216, -0.013560977764427662, -0.009912937879562378, 0.05825735256075859, 0.06284884363412857, -0.03515490144491196, -0.026843052357435226, 0.04391171410679817, -0.03573264926671982, 0.015906326472759247, -0.03217121958732605, -0.01998327672481537, 0.07708759605884552, 0.042180586606264114, 0.009656761772930622, -0.003349733306095004, -0.023642294108867645, -0.05901201069355011, -0.059866566210985184, -0.03429834172129631, -0.0361364521086216, -0.038732998073101044, -0.02182387001812458, -0.029848478734493256, -0.025318777188658714, -0.04182504490017891, 0.017240863293409348, -0.01740771159529686, 0.01705053076148033, 0.026291564106941223, 0.014573677442967892, 0.010824738070368767, 0.028420589864253998, -0.046322766691446304, -0.04493940621614456, 0.06815076619386673, 0.008509001694619656, 0.018693577498197556, -0.07525517046451569, -0.014821386896073818, 0.023907266557216644, 0.01564040780067444, 0.01572725921869278, 0.014622670598328114, 0.08913365751504898, 0.0009363200515508652, -0.0009820873383432627, 0.018677759915590286, -0.012284512631595135, -0.02678791806101799, -0.006753577850759029, 0.013118119910359383, -0.0364510752260685, -0.045152075588703156, -0.01019381545484066, 0.015054183080792427, 0.04537159577012062, -0.05235832929611206, -0.03183858469128609, 0.0005481709376908839, 0.03865274414420128, 0.01943928189575672, 0.00127974315546453, -0.017110202461481094, 0.002939791651442647, -0.06533709168434143, -0.010009212419390678, 0.016940930858254433, 0.0281965434551239, 0.01254442147910595, 0.055313725024461746, 0.024756817147135735, -0.035270560532808304, 0.04525149241089821, 0.022433849051594734, 0.07268550992012024, 0.024494344368577003, -0.05763242021203041, 0.02246122993528843, -0.02811940386891365, 0.024320879951119423, -0.021455038338899612, -0.009511887095868587, -0.04768984019756317, -0.08390188962221146, -0.005282788537442684, 0.009862723760306835, -0.015078102238476276, 0.012160289101302624, 0.040177393704652786, -0.04077031463384628, -0.0006930342060513794, 0.004893893841654062, 0.008568706922233105, 0.04364452138543129, -0.07135933637619019, 0.044801343232393265, -0.009289356879889965, 0.015816332772374153, -0.062202706933021545, 0.0174371600151062, -0.002393444301560521, -0.024372601881623268, 0.01676163822412491, 0.0710330381989479, 0.007123587187379599, 0.053582821041345596, 0.0850457027554512, 0.040813278406858444, -0.028927912935614586, 0.042996764183044434, 0.038630545139312744, -0.022933466359972954, -0.05097558721899986, 0.0021506191696971655, 0.007640759460628033, -0.035950981080532074, -0.00657471502199769, -0.003717052983120084, 0.03047594241797924, 0.034680385142564774, -0.01934589073061943, -0.006829294841736555, 0.004739566706120968, -0.026447126641869545, -0.03231421858072281, -0.05956616252660751, -0.02879977598786354, -0.01377820409834385, -0.029187297448515892, 0.033934883773326874, 0.04838991537690163, -0.005656692665070295, 0.0567798875272274, 0.06064094230532646, -0.026397908106446266, -0.0269657913595438, 0.016422951593995094, 0.03158167749643326, -0.02277453802525997, -0.06969814747571945, -0.023435279726982117, 0.04011967033147812, 0.0452992245554924, -0.014710008166730404, -0.07093514502048492, -0.009789825417101383, 0.07206908613443375, -0.032542552798986435, 0.04880359023809433, -0.00019741602591238916, 0.03035188652575016, 0.047768790274858475, -0.002752995118498802, 0.03103182278573513, -0.019957419484853745, 0.02651548571884632, 0.015350980684161186, 0.01259643118828535, -0.03540320694446564, -0.02050340548157692, -0.07789718359708786, 0.026980461552739143, 0.027257859706878662, 0.05510858818888664, 0.05097686126828194, -0.0346258170902729, -0.048229966312646866, -0.018140718340873718, 0.041562337428331375, -0.06417432427406311, -0.01056075468659401, 0.010420620441436768, 0.054368384182453156, -0.04825865477323532, -0.022695688530802727, -0.05114978551864624, -0.010654112324118614, 0.04311859607696533, 0.024571625515818596, -0.04776761308312416, -0.033282920718193054, 0.03508680313825607, -0.002432840643450618, -0.026490531861782074, -0.10086960345506668, 0.018672369420528412, -0.02304098941385746, -0.011672444641590118, 0.038312364369630814, 0.032660599797964096, 0.028470085933804512, 0.0686553493142128, 0.022655632346868515, 0.022966941818594933, -0.031010692939162254, 0.054746974259614944, -0.037010081112384796, -0.01770966872572899, 0.019478552043437958, -0.032865025103092194, -0.01803678460419178, -0.02925756759941578, -0.02411619760096073, -0.051751792430877686, -0.03246518224477768, 0.01063335221260786, -0.026013821363449097, -0.019419418647885323, -0.024282259866595268, 0.043690841645002365, -0.022654235363006592, -0.012198608368635178, -0.025860445573925972, -0.0518917515873909, -0.0678391382098198, -0.05124926567077637, 0.025391506031155586, 0.016250697895884514, 0.03531567007303238, 0.029459290206432343, 0.00952462013810873, 0.021771157160401344, 0.002318296581506729, -0.03597782552242279, 0.03933154419064522, -0.007976744323968887, -0.031840041279792786, -0.02642543986439705, 0.01719442941248417, 0.029852529987692833, 0.03520194813609123, -0.04419220983982086, 0.02779250778257847, 0.003316115587949753, -0.01614457741379738, -0.003507851390168071, 0.017604483291506767, 0.026022685691714287, -0.06810878962278366, -0.051051147282123566, -0.020589414983987808, -0.04959457367658615, 0.03832731768488884, -0.016967127099633217, -0.013935243710875511, 0.00016788681386969984, 0.008607001043856144, 0.024206899106502533, -0.009870498441159725, -0.045857254415750504, 0.02605566382408142, -0.013486931100487709, 0.0039646136574447155, -0.060644350945949554, 0.06011062487959862, -0.052375562489032745, 0.004392432048916817, -0.005656065884977579, -0.006873212289065123, -0.04088674858212471, 0.03997353836894035, -0.01499264594167471, -0.01783006079494953, -0.0021719448268413544, 0.016739128157496452, -0.03921074420213699, 0.049272432923316956, -0.00003092444239882752, 0.027825161814689636, -0.043636422604322433, 0.058693576604127884, -0.04805806651711464, 0.004784615710377693, -0.0313543938100338, 0.03158165141940117, -0.02302226796746254, 0.005211036652326584, -0.016588404774665833, -0.021622028201818466, -0.008079560473561287, 0.07315230369567871, 0.032373398542404175, 0.006062577478587627, -0.017363298684358597, 0.0008912261109799147, 0.03448130935430527, -0.050673261284828186, -0.008197169750928879, -0.00833660364151001, -0.005701042246073484, -0.014088385738432407, 0.05956235155463219, 0.030277594923973083, -0.04271259158849716, -0.0660143569111824, 0.04064914211630821, 0.017579305917024612, -0.007800810970366001, 0.007066245656460524, 0.02563033066689968, 0.02648075670003891, 0.049403250217437744, -0.044430993497371674, -0.014554467052221298, -0.00804658979177475, -0.03579706698656082, 0.032578371465206146, -0.004261987283825874, 0.020411090925335884, 0.022159408777952194, -0.01582610048353672, -0.013091019354760647, 0.06292442232370377, 0.019356630742549896, 0.001914482330903411, -0.010562466457486153, -0.032398615032434464, 0.015697846189141273, -0.004790288861840963, -0.050694048404693604, -0.01158788613975048, 0.02558855526149273, -0.04691053554415703, 0.06803936511278152, -0.03752554580569267, 0.01462114229798317, 0.07119283080101013, 0.028606673702597618, -0.018051335588097572, 0.059921327978372574, -0.006383942905813456, -0.0024937507696449757, 0.07038581371307373, -0.06980668008327484, 0.0007379919989034534, -0.013864854350686073, 0.08246369659900665, -0.05945596098899841, 0.04165679216384888, 0.042993806302547455, 0.01036163605749607, 0.021369993686676025, -0.028890948742628098, -0.0431549958884716, 0.015705715864896774, -0.03213369846343994, 0.08677376061677933, 0.036362722516059875, -0.043409544974565506, 0.042153071612119675, 0.0005473689525388181, -0.0698850154876709, 0.05252133309841156, 0.04312014952301979, 0.025982845574617386, 0.024131838232278824, 0.044270388782024384, -0.05128634721040726, 0.00840343814343214, -0.05510089546442032, 0.03464609012007713, -0.06759761273860931, 0.00012731453170999885, 0.034288566559553146, -0.048917800188064575, -0.020203422755002975, 0.029837947338819504, -0.03348094969987869, -0.004185083322227001, 0.03942751884460449, -0.05243270844221115, -0.032340481877326965, 0.02061699703335762, 0.036294519901275635, -0.04628027603030205, 0.017293965443968773, -0.043789464980363846, 0.004857590887695551, 0.012243559584021568, 0.031987953931093216, -0.035667043179273605, -0.003347175195813179, 0.020015642046928406, -0.06254005432128906, -0.028470298275351524, 0.020285412669181824, 0.0027050289791077375, -0.017683440819382668, 0.018375562503933907, 0.025276783853769302, -0.003132660174742341, 0.04190579801797867, -0.0014181735459715128, 0.031359728425741196, -0.04633364826440811, -0.017371896654367447, 0.020532190799713135, -0.004242671187967062, 0.022045517340302467, -0.00984592828899622, 0.03391263261437416, 0.01707015186548233, 0.023195117712020874, 0.009713754057884216, -0.0352090448141098, -0.024788260459899902, 0.024083690717816353, -0.03729084134101868, -0.003091555554419756, -0.0078109209425747395, -0.06205372139811516, -0.0477072075009346, 0.0002884372079279274, -0.03804933279752731, 0.008568496443331242, -0.05518760159611702, 0.008921343833208084, 0.027810459956526756, -0.028501469641923904, -0.038628578186035156, -0.0834222212433815, -0.01871868409216404, -0.031028542667627335, 0.03855180740356445, 0.019016796723008156, -0.04635896533727646, 0.026939045637845993, -0.055793121457099915, -0.03948657214641571, 0.05869809910655022, 0.004066754598170519, -0.030528970062732697, 0.04551240801811218, 0.043079450726509094, -0.052836254239082336, 0.02060963585972786, 0.06413421034812927, -0.04698091745376587, 0.023983731865882874, 0.024220682680606842, 0.03684878349304199, 0.01282256469130516, 0.012925809249281883, -0.043107498437166214, -0.03474583849310875, -0.08292932063341141, -0.050363942980766296, -0.0474574975669384, 0.0077459001913666725, 0.06387969851493835 ]
ArBert/roberta-base-finetuned-ner
[ "pytorch", "tensorboard", "roberta", "token-classification", "transformers", "generated_from_trainer", "license:mit", "autotrain_compatible" ]
token-classification
{ "architectures": [ "RobertaForTokenClassification" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
3
null
--- tags: - image-classification - pytorch - huggingpics metrics: - accuracy model-index: - name: rare-puppers results: - task: name: Image Classification type: image-classification metrics: - name: Accuracy type: accuracy value: 0.9861111044883728 --- # rare-puppers Autogenerated by HuggingPics🤗🖼️ Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb). Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics). ## Example Images #### corgi ![corgi](images/corgi.jpg) #### samoyed ![samoyed](images/samoyed.jpg) #### shiba inu ![shiba inu](images/shiba_inu.jpg)
[ -0.011200295761227608, -0.0023784900549799204, 0.030084464699029922, 0.0342315211892128, 0.03990105912089348, -0.009064875543117523, -0.026808910071849823, -0.020903410390019417, -0.02276984043419361, 0.05323948338627815, 0.025703635066747665, 0.001373463193885982, 0.004106628242880106, 0.03936067223548889, -0.009708089753985405, -0.019377024844288826, -0.02542487345635891, -0.0023056406062096357, -0.03680702671408653, 0.01394684985280037, 0.0026431065052747726, 0.020448122173547745, -0.006461373995989561, 0.03571391850709915, 0.0143240662291646, 0.012473463080823421, -0.0009391355561092496, 0.035692814737558365, 0.04087846726179123, -0.06165469065308571, 0.0363103412091732, -0.05152677372097969, -0.06235983967781067, -0.018530752509832382, -0.020160594955086708, 0.008334919810295105, 0.01834258623421192, 0.021724868565797806, -0.007001331076025963, 0.06429841369390488, -0.002096944721415639, 0.029441146180033684, -0.003563969163224101, -0.016512447968125343, 0.03936496749520302, 0.0057222675532102585, -0.02371201477944851, -0.021826814860105515, 0.014900547452270985, -0.02941964380443096, -0.03722238540649414, -0.06521617621183395, -0.05132269859313965, 0.01698397286236286, -0.01794281415641308, -0.03465709090232849, -0.004364111926406622, -0.00043056116555817425, 0.06265474110841751, -0.05995073914527893, -0.04443672299385071, -0.005190145689994097, -0.0808425322175026, 0.021701447665691376, 0.019110022112727165, -0.019716676324605942, 0.010115355253219604, -0.025704512372612953, 0.008447847329080105, -0.03704142943024635, 0.09116937220096588, -0.05639573931694031, 0.030986782163381577, -0.061524055898189545, 0.007204333785921335, -0.030220679938793182, 0.05552837252616882, 0.050879333168268204, -0.008944484405219555, 0.05931100994348526, 0.04219726100564003, 0.0013661421835422516, 0.024753358215093613, -0.041614145040512085, -0.0020213962998241186, 0.03306368738412857, -0.025576215237379074, 0.005800758022814989, 0.005176931153982878, 0.030049743130803108, -0.0332789309322834, -0.030967362225055695, -0.0355248861014843, -0.025465330109000206, -0.026712099090218544, 0.040591780096292496, 0.03968007490038872, 0.015121442265808582, 0.0560273714363575, 0.03648417070508003, 0.032494597136974335, 0.059290532022714615, -0.010933812707662582, 0.04078136384487152, -0.0034215832129120827, -0.021923338994383812, -0.047651030123233795, -0.03805788606405258, -0.042807143181562424, 0.01708758808672428, 0.017408469691872597, -0.014625071547925472, -0.04169946163892746, 0.021074065938591957, -0.021003494039177895, -0.03792031854391098, 0.09244921058416367, -0.04327438771724701, -0.0194089338183403, -0.035946596413850784, 0.049656059592962265, 0.016104694455862045, -0.022027358412742615, -0.01859591342508793, -0.049688372761011124, -0.006568551529198885, -0.042606793344020844, -0.005949059035629034, -0.008355679921805859, 0.009161216206848621, 0.01636262983083725, 0.04415376856923103, 0.002738220850005746, -0.02553812600672245, 0.0065786829218268394, 0.02843112125992775, -0.050527989864349365, 0.02833893895149231, 0.014518463984131813, 0.11731327325105667, -0.053478725254535675, -0.04741925746202469, 0.019820567220449448, 0.03646606579422951, -0.03235740214586258, 0.01693638227880001, 0.04104417562484741, -0.03384159877896309, -0.03563542664051056, -0.018934126943349838, 0.012937950901687145, -0.056950464844703674, 0.019271869212388992, 0.03956034034490585, 0.0219247005879879, 0.03358489274978638, -0.055299028754234314, -0.023464862257242203, 0.007147298660129309, -0.01323262695223093, -0.015090148895978928, 0.034699730575084686, -0.0071068089455366135, -0.015631286427378654, -0.05073358491063118, -0.04838823899626732, 0.005067876540124416, 0.07322532683610916, -0.011676795780658722, -0.023664668202400208, -0.044975247234106064, 0.03899182379245758, 0.036689504981040955, 0.03851382061839104, -0.004441209603101015, 0.03261437639594078, 0.06441382318735123, 0.04580998048186302, -0.03303248807787895, 0.03235366567969322, 0.01221001148223877, -0.060756146907806396, -0.03813892602920532, -0.03202049434185028, 0.01653337851166725, -0.028425663709640503, 0.02973085083067417, 0.03469784930348396, -0.007382799405604601, -0.03594057634472847, 0.0001141008542617783, 0.06614893674850464, -0.027986248955130577, -0.01527455821633339, 0.0021425741724669933, -0.05235513299703598, 0.0019870686810463667, 0.048960473388433456, -0.03150823712348938, -0.023050619289278984, -0.03289571404457092, -0.027178529649972916, 0.036189477890729904, 0.007969423197209835, -0.0029631275683641434, 0.008217990398406982, -0.04131440445780754, 0.07637117803096771, -0.05130522698163986, 0.00737823685631156, -0.049542222172021866, -0.05357886478304863, -0.0068801091983914375, 0.030008403584361076, 0.06322786211967468, 0.05979027971625328, 0.0013876992743462324, -0.06139498949050903, 0.021493569016456604, 0.0272031519562006, 0.053519438952207565, 0.018303517252206802, -0.019830331206321716, -0.018768472597002983, 0.036789197474718094, 0.03537506237626076, -0.04138880595564842, -0.022019902244210243, 0.022231614217162132, 0.02579277753829956, 0.003667678916826844, 0.024996500462293625, -0.033190976828336716, -0.003718291176483035, -0.03308719024062157, -0.05443353205919266, 0.0478394441306591, 0.018834425136446953, 0.006428213324397802, 0.019349509850144386, -0.04359874501824379, 0.039614539593458176, 0.013504470698535442, 0.017725413665175438, 0.010615458711981773, -0.05065011605620384, 0.011425264179706573, 0.04889422655105591, 0.06813701242208481, -0.03542415052652359, 0.021517576649785042, 0.001152664772234857, 0.01252840831875801, 0.04095979034900665, -0.026558760553598404, 0.023655643686652184, 0.06904344260692596, 0.03279634565114975, -0.006668043322861195, 0.04879609867930412, 0.007783353794366121, 0.041715603321790695, 0.03597843647003174, -0.012392805889248848, 0.06679398566484451, -0.017534540966153145, 0.048893339931964874, 0.09399337321519852, -0.007822837680578232, -0.005381117109209299, 0.011215247213840485, 0.08373092859983444, 0.006508592050522566, -0.026345957070589066, 0.0618068166077137, -0.017555247992277145, 0.013236508704721928, -0.019185461103916168, 0.004319441504776478, -0.021871361881494522, -0.003230133792385459, 0.04757777228951454, 0.005930186714977026, -0.04590066522359848, -0.003929288126528263, 0.03333132341504097, -0.009912481531500816, 0.047714270651340485, -0.016903216019272804, -0.03280261158943176, 0.011861097067594528, 0.003946164157241583, 0.003935359884053469, -0.06132113188505173, -0.047721389681100845, -0.011455287225544453, -0.04510877653956413, -0.044024206697940826, -0.07486490160226822, -0.020324839279055595, -0.05094703286886215, -0.023897366598248482, 0.04967297986149788, 0.01861473359167576, 0.011082330718636513, -0.07013190537691116, 0.011230718344449997, -0.030660973861813545, -0.031631022691726685, -0.060648344457149506, -0.04462280124425888, -0.05270976200699806, -0.030289877206087112, 0.018805617466568947, 0.01805812492966652, 0.08500969409942627, 0.0009474616381339729, 0.007371101062744856, -0.06600794941186905, -0.016169007867574692, 0.027460403740406036, 0.045798368752002716, -0.03186691552400589, -0.0532149001955986, 0.026566917076706886, 0.0037790858186781406, -0.02557075396180153, -0.0009036585688591003, -0.033831637352705, 0.05930079147219658, 0.057888567447662354, 0.008335592225193977, -0.006717025768011808, -0.013163832016289234, -0.02969374880194664, -0.04391144588589668, -0.008472345769405365, -0.016871225088834763, -0.014779394492506981, -0.04509706795215607, -0.04842345044016838, -0.022906232625246048, -0.028845028951764107, -0.01198761910200119, -0.005194614175707102, -0.009857798926532269, -0.0031575884204357862, 0.03402593731880188, 0.024722108617424965, 0.033424101769924164, -0.028110481798648834, -0.030026283115148544, 0.03715675696730614, -0.018080104142427444, -0.02754162810742855, -0.07322914898395538, -0.02968517504632473, 0.044598281383514404, 0.007061435375362635, 0.01911269500851631, -0.013864956796169281, 0.06815308332443237, 0.0032796154264360666, -0.03362293541431427, -0.006182800512760878, -0.02287372574210167, 0.0026719423476606607, -0.017669610679149628, 0.007742784917354584, -0.011560230515897274, -0.044057685881853104, -0.020871974527835846, -0.015164702199399471, 0.04482725262641907, -0.06515112519264221, -0.05048365145921707, -0.014234622940421104, 0.023820098489522934, 0.05124666541814804, 0.001496402663178742, -0.0511922687292099, -0.011384231969714165, -0.07467447966337204, 0.020335804671049118, 0.02978043258190155, -0.005496867932379246, 0.048196446150541306, 0.04611675441265106, 0.001201051869429648, 0.0027594207786023617, 0.03276430070400238, 0.035252269357442856, 0.05439532548189163, 0.018071163445711136, -0.03437107428908348, 0.006672082934528589, -0.007031857967376709, 0.029815608635544777, 0.008152786642313004, -0.019815657287836075, -0.0588582381606102, -0.08874437212944031, 0.004914690274745226, 0.008463975042104721, -0.008071408607065678, -0.011024261824786663, 0.07746874541044235, -0.0062335641123354435, -0.02307048812508583, 0.028152795508503914, 0.0026792087592184544, 0.04567624256014824, -0.04935673624277115, 0.04452085122466087, 0.004371988587081432, 0.011430705897510052, -0.0379849374294281, 0.010152365081012249, -0.04558238759636879, -0.036734439432621, -0.03161309286952019, 0.047952812165021896, 0.0028450286481529474, 0.029453130438923836, 0.049980707466602325, 0.014397918246686459, -0.03642776608467102, 0.04255352169275284, 0.058432456105947495, -0.020603714510798454, -0.052610624581575394, -0.01174685638397932, 0.00481896847486496, 0.0012369847390800714, -0.04165010154247284, 0.009537305682897568, -0.0013234129874035716, 0.06693520396947861, -0.009296038188040257, -0.026764938607811928, 0.009788556024432182, -0.04633169248700142, -0.04172133654356003, -0.05075603350996971, -0.004361787810921669, 0.016383912414312363, -0.006214066408574581, -0.027836283668875694, 0.06669119000434875, 0.02177310921251774, 0.05178846791386604, 0.026081351563334465, -0.009514783509075642, -0.07067215442657471, 0.035315752029418945, 0.05225300043821335, -0.031902849674224854, -0.06582944840192795, -0.0475195050239563, 0.028590630739927292, 0.0047087287530303, 0.00571154709905386, -0.05970686301589012, 0.005655477289110422, 0.060909468680620193, -0.09250405430793762, 0.059079959988594055, 0.014228196814656258, 0.04150630161166191, 0.06897728145122528, 0.013022265397012234, 0.049767959862947464, -0.030773669481277466, 0.00543255265802145, 0.019325753673911095, 0.030717387795448303, -0.0065167793072760105, -0.021823812276124954, -0.046983301639556885, 0.050885338336229324, 0.012085492722690105, 0.029031768441200256, 0.04703393206000328, -0.03417562320828438, -0.04812327399849892, 0.0043571689166128635, 0.05068424716591835, -0.037064943462610245, 0.045030612498521805, 0.008036790415644646, 0.06701204180717468, -0.058017414063215256, -0.04195249080657959, -0.03847536817193031, -0.002840781817212701, 0.0489843524992466, 0.02901073731482029, -0.03564383089542389, -0.020987214520573616, 0.018272725865244865, -0.0065687475726008415, -0.01740211620926857, -0.07329609990119934, 0.025217795744538307, -0.0012263210956007242, -0.005033064167946577, 0.017110802233219147, 0.03246433287858963, 0.056683581322431564, 0.04133195802569389, 0.01655220426619053, 0.029489152133464813, -0.04214026778936386, 0.025375500321388245, -0.0502934455871582, -0.02822030708193779, 0.00867689773440361, -0.031392693519592285, -0.015419185161590576, -0.02852347306907177, -0.044137999415397644, -0.04280928894877434, -0.01686970517039299, 0.020796800032258034, -0.034246429800987244, -0.028324583545327187, -0.009530398063361645, 0.009232774376869202, -0.0338958278298378, -0.01607302762567997, -0.030171148478984833, -0.010244064033031464, -0.06861688196659088, -0.05750042572617531, 0.03363744542002678, -0.049002788960933685, 0.027563124895095825, -0.004642594140022993, 0.03525364398956299, 0.03496569022536278, 0.009416167624294758, -0.013818464241921902, 0.024405356496572495, 0.02259390987455845, -0.006808336824178696, -0.010688813403248787, 0.019663963466882706, 0.00920788198709488, 0.0670434832572937, -0.009172937832772732, 0.02411373145878315, 0.03803592175245285, -0.0182554442435503, -0.03200608119368553, 0.021347034722566605, 0.0007000814657658339, -0.06106956675648689, -0.0068060834892094135, 0.012323222123086452, -0.012510648928582668, 0.02444104477763176, -0.05694742128252983, -0.037954915314912796, 0.023670602589845657, 0.0194082073867321, 0.044913213700056076, -0.03641381487250328, -0.014711758121848106, -0.01198668498545885, -0.05151316523551941, 0.00865459069609642, -0.04765978455543518, 0.023348309099674225, -0.0485713966190815, -0.007074068300426006, -0.017130829393863678, 0.01266916561871767, -0.05950147658586502, 0.029678475111722946, -0.02704707719385624, -0.03388165310025215, -0.029496094211935997, 0.033972688019275665, -0.026968788355588913, 0.016256898641586304, 0.008098122663795948, 0.010362970642745495, -0.02554241754114628, 0.06436866521835327, -0.03048078529536724, 0.012767359614372253, -0.011216848157346249, 0.005057184956967831, -0.052100010216236115, -0.012985684908926487, -0.028292078524827957, -0.0206461064517498, 0.02054412104189396, 0.056972067803144455, 0.04091240465641022, 0.020813480019569397, -0.03370983526110649, 0.0008634290425106883, 0.02297811582684517, -0.05035358667373657, -0.02847128175199032, -0.007032197434455156, 0.0049272398464381695, -0.002509698271751404, 0.0508885458111763, 0.07248490303754807, -0.04131026193499565, -0.03004894033074379, 0.05964289978146553, 0.0268318559974432, -0.0027936475817114115, 0.01859268918633461, 0.02055535465478897, 0.030442850664258003, 0.035005923360586166, -0.058332499116659164, -0.013545198366045952, 0.000936439202632755, -0.033225033432245255, 0.034788791090250015, -0.011326649226248264, 0.029697183519601822, -0.0037439807783812284, -0.005630251951515675, -0.05477333068847656, 0.0814301148056984, 0.04184703901410103, 0.02230834774672985, -0.00216411123983562, -0.05449334904551506, 0.031801316887140274, 0.014880354516208172, -0.05470826104283333, 0.03304162248969078, 0.004617816768586636, -0.00159849738702178, 0.07466737926006317, -0.045803699642419815, -0.006853054743260145, 0.020372604951262474, 0.04343678429722786, -0.0375630185008049, 0.03585640713572502, -0.03297426924109459, 0.045253686606884, 0.03470594808459282, -0.06300505995750427, -0.059331364929676056, -0.04996431991457939, 0.04556462913751602, -0.07169633358716965, 0.07461979985237122, 0.04362469166517258, -0.022482039406895638, 0.019971249625086784, -0.021790191531181335, -0.01658722385764122, 0.026709219440817833, -0.06019902974367142, 0.06199917942285538, -0.0025564241223037243, -0.053761065006256104, 0.0869169756770134, 0.02581270970404148, -0.05948463827371597, 0.04372333735227585, 0.04605350270867348, 0.023800775408744812, 0.018276717513799667, 0.030620118603110313, -0.007200642954558134, 0.013236016035079956, -0.05786376819014549, 0.06761875748634338, -0.06521382182836533, -0.05987241491675377, -0.007814418524503708, -0.039993543177843094, -0.00031434130505658686, 0.05686776712536812, -0.0030384820420295, 0.005626837257295847, -0.001161701395176351, -0.045472871512174606, -0.04372645169496536, 0.02499162033200264, -0.011338211596012115, 0.01640217937529087, -0.009979483671486378, -0.02899913303554058, 0.0073304567486047745, 0.0004080853541381657, -0.00374511256814003, -0.021002808585762978, -0.005604053847491741, 0.015398788265883923, -0.07051224261522293, -0.05002724751830101, 0.013469376601278782, 0.014108195900917053, -0.03107958845794201, 0.004574057180434465, 0.02566966973245144, 0.03284330666065216, 0.021761979907751083, -0.005074198357760906, 0.017937012016773224, -0.03612755984067917, -0.010544026270508766, 0.04821217432618141, 0.00986911728978157, 0.0218533705919981, -0.013349891640245914, 0.025914693251252174, 0.04417535290122032, 0.04879332706332207, 0.009058015421032906, -0.0032303465995937586, -0.02383938618004322, 0.028931407257914543, -0.038057442754507065, 0.03429747745394707, -0.0030130017548799515, -0.05240248888731003, -0.04257063940167427, 0.016910292208194733, -0.00554053857922554, 0.04265616461634636, -0.03962206840515137, -0.004587893839925528, 0.05090706795454025, 0.015737280249595642, -0.02705090306699276, -0.0980168953537941, -0.03110908530652523, -0.06153733283281326, 0.043109145015478134, 0.05397815257310867, -0.06479359418153763, 0.0022909638937562704, -0.012836596928536892, -0.04005007818341255, 0.03516649082303047, 0.027442948892712593, -0.0339730903506279, 0.03574353829026222, 0.07222060114145279, -0.0475294291973114, 0.0024191082920879126, 0.0026352228596806526, -0.062471579760313034, 0.0057321214117109776, 0.0010449254186823964, -0.0035823180805891752, 0.013872366398572922, 0.014423270709812641, -0.019332965835928917, -0.01588723063468933, -0.035523414611816406, -0.03430961072444916, -0.0337253212928772, 0.02349134162068367, 0.062483955174684525 ]
ArJakusz/DialoGPT-small-stark
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- language: fi license: cc-by-4.0 --- # FinBERT fine-tuned with the FinnSentiment dataset This is a FinBERT model fine-tuned with the [FinnSentiment dataset](https://arxiv.org/pdf/2012.02613.pdf). 90% of sentences were used for training and 10% for evaluation. ## Evaluation results |Metric|Score| |--|--| |Accuracy|0.8639028475711893| |F1-score|0.8643024701696561| |Precision|0.8653866541244811| |Recall|0.8639028475711893| |Matthews|0.6764924917164834| ![kuva.png](https://s3.amazonaws.com/moonup/production/uploads/1661156173672-61561a042387f285c1f8aec3.png) ## License FinBERT-FinnSentiment is licensed under the [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/deed.en) (same as FinBERT and the FinnSentiment dataset).
[ -0.009489765390753746, -0.03707502782344818, -0.01898464933037758, 0.04153982177376747, 0.038708146661520004, 0.023326219990849495, -0.003112401347607374, -0.0041402303613722324, -0.0721631869673729, 0.05241847410798073, 0.025671888142824173, -0.013960440643131733, 0.022004254162311554, 0.032970868051052094, -0.05052494630217552, -0.005844315513968468, -0.003322877222672105, -0.025794371962547302, -0.03590330854058266, 0.008536778390407562, 0.003932812716811895, 0.03257139027118683, -0.021339036524295807, 0.030368031933903694, 0.005919995252043009, 0.027066994458436966, -0.030529407784342766, 0.03112475574016571, 0.022728903219103813, -0.06527001410722733, 0.0001248685730388388, -0.023549964651465416, -0.05130864679813385, -0.027403932064771652, -0.004888813942670822, 0.010769671760499477, -0.006519487593322992, 0.01924941875040531, 0.04202524945139885, 0.051935113966464996, -0.010522429831326008, 0.02632523514330387, -0.04143749922513962, -0.025400590151548386, 0.03670651465654373, 0.0163943599909544, -0.03808155283331871, -0.021962838247418404, 0.028664661571383476, -0.03548562154173851, -0.035845257341861725, -0.06590592861175537, -0.006904036737978458, 0.018689729273319244, -0.003497191471979022, -0.0032070784363895655, -0.05656709522008896, 0.003964829724282026, 0.07584209740161896, -0.041982877999544144, -0.0505194328725338, 0.028523681685328484, -0.058955125510692596, 0.006353985983878374, 0.03934040665626526, -0.04825515300035477, 0.0006228222628124058, -0.0479525551199913, 0.014701819978654385, -0.0037009897641837597, 0.037233710289001465, -0.02889888361096382, 0.022728322073817253, -0.07343271374702454, -0.04055417329072952, -0.017984449863433838, 0.03772920370101929, 0.03588882088661194, -0.03908523544669151, 0.06200344115495682, 0.04309052601456642, -0.016752054914832115, 0.03508835285902023, -0.005636503454297781, -0.002359313890337944, 0.01748630777001381, -0.037460457533597946, 0.0047235870733857155, -0.004297188017517328, 0.04861384630203247, -0.07048671692609787, -0.0226091668009758, -0.009961620904505253, -0.04590331017971039, -0.0021273107267916203, 0.017011964693665504, 0.026860417798161507, -0.00813213363289833, 0.0322156585752964, 0.012761206366121769, 0.026690611615777016, 0.05692557245492935, -0.04180508479475975, 0.059289850294589996, -0.012093031778931618, 0.006574792321771383, -0.02483956702053547, -0.029782874509692192, -0.0774959996342659, 0.03138856217265129, 0.008659432642161846, -0.03646961972117424, -0.020839639008045197, 0.0141600351780653, -0.00008841264934744686, -0.04453897476196289, 0.05004098266363144, -0.01055200770497322, -0.03277283161878586, -0.06426136195659637, 0.031792473047971725, 0.009882459416985512, 0.0021111376117914915, 0.0044924598187208176, -0.049901269376277924, 0.03318120911717415, -0.029122598469257355, -0.02595483511686325, -0.014245585538446903, 0.020965898409485817, -0.005099742207676172, 0.020775705575942993, 0.023020857945084572, -0.07287324965000153, 0.01351941004395485, 0.011933361180126667, -0.04750388115644455, 0.0022608954459428787, 0.025472991168498993, 0.1277286559343338, -0.04293638840317726, -0.050967808812856674, 0.0022569659631699324, 0.01562357135117054, 0.004900154657661915, 0.019817816093564034, 0.011838057078421116, -0.04109399765729904, -0.015236928127706051, 0.00634101452305913, 0.03486073389649391, -0.07161018997430801, -0.0010842480696737766, 0.05562213435769081, -0.007342009339481592, 0.03686147928237915, -0.03919670730829239, -0.03023456037044525, 0.006355719640851021, -0.012416668236255646, -0.0007346101920120418, 0.03104572929441929, -0.00991539005190134, -0.003796342760324478, -0.03670314699411392, -0.06232056766748428, 0.011194617487490177, 0.07944787293672562, -0.006895457394421101, -0.03397894278168678, -0.04864651709794998, 0.0012401810381561518, 0.04918782040476799, 0.02023901604115963, -0.0347965843975544, 0.017679134383797646, 0.042514294385910034, 0.021440375596284866, 0.004235034342855215, 0.052378345280885696, -0.009916868060827255, -0.03455415740609169, -0.025633854791522026, 0.01715017855167389, 0.019631652161478996, -0.022730929777026176, 0.019096625968813896, 0.046507686376571655, -0.01394815556704998, -0.04548083245754242, -0.0598578155040741, 0.05704810097813606, -0.022303318604826927, -0.0028691296465694904, -0.00006623276567552239, -0.010605291463434696, -0.04679292067885399, 0.05064035952091217, 0.010450572706758976, 0.0026567482855170965, -0.052624572068452835, -0.04118358716368675, 0.025516588240861893, 0.015180927701294422, 0.02303209714591503, 0.022219285368919373, 0.015740232542157173, 0.09491771459579468, -0.022227389737963676, 0.012564030475914478, -0.03729119896888733, -0.07054795324802399, 0.019086305052042007, 0.07129079103469849, 0.04616715386509895, 0.055516842752695084, 0.00934232585132122, -0.04595382884144783, 0.01638443022966385, 0.06070112809538841, 0.057483650743961334, 0.03559934347867966, -0.010989886708557606, -0.008113259449601173, 0.036292895674705505, 0.040187641978263855, -0.05804486945271492, -0.04784079268574715, 0.004597179125994444, 0.034064821898937225, -0.0021606492809951305, -0.004658767953515053, 0.010255067609250546, 0.040605977177619934, -0.03561817854642868, -0.09347133338451385, 0.048038989305496216, 0.005703081376850605, -0.007904165424406528, 0.02213902585208416, 0.005607808940112591, 0.016606155782938004, 0.03526615723967552, 0.012845123186707497, 0.0023080334067344666, -0.03511704131960869, 0.008636556565761566, 0.024529673159122467, 0.06269263476133347, -0.05193159356713295, 0.017190251499414444, -0.008839133195579052, 0.015477320179343224, 0.0180489644408226, -0.04071275144815445, 0.01894434168934822, 0.045858487486839294, 0.01634928025305271, -0.029259104281663895, 0.017691168934106827, 0.024199308827519417, 0.037221845239400864, 0.05615202337503433, -0.017917077988386154, 0.062341514974832535, 0.01997878961265087, 0.04822545871138573, 0.08074215799570084, 0.02157215215265751, 0.0181777011603117, 0.017278136685490608, 0.07130967825651169, -0.000002201004235757864, -0.013354767113924026, 0.06635595113039017, -0.08183643221855164, 0.01554124429821968, -0.03628804162144661, 0.04434391111135483, -0.02210916578769684, 0.012457712553441525, 0.03029712103307247, 0.025129366666078568, -0.013039523735642433, -0.0010882883798331022, -0.004159138537943363, -0.001036135945469141, 0.032102812081575394, -0.004982332699000835, 0.01865372247993946, 0.000015099375559657346, -0.03374883159995079, -0.00915084220468998, -0.06239873170852661, -0.07025439292192459, -0.00979545246809721, -0.01196777168661356, -0.001030282350257039, -0.07996246218681335, -0.03698131442070007, -0.04089750349521637, -0.0070723588578403, 0.01219057198613882, 0.03967035561800003, 0.006978398654609919, -0.006612397264689207, 0.009202011860907078, -0.039980776607990265, -0.026868198066949844, -0.039870548993349075, -0.03003130853176117, -0.04013891890645027, -0.05799023061990738, 0.05271278694272041, 0.01784467324614525, 0.013639825396239758, -0.00950299296528101, 0.00909880269318819, -0.02339775487780571, -0.021438924595713615, 0.03446399047970772, 0.04516739770770073, -0.04946871101856232, -0.045166049152612686, 0.013162415474653244, -0.0004830227990169078, 0.017794601619243622, -0.037146907299757004, -0.01015486940741539, 0.06630783528089523, 0.07202111184597015, 0.014941617846488953, 0.016855929046869278, 0.005063456017524004, -0.05756426975131035, -0.06613999605178833, -0.018996495753526688, -0.023067884147167206, -0.01193227805197239, -0.03478367626667023, -0.04517251253128052, -0.04215871915221214, -0.034969475120306015, -0.014200551435351372, -0.013755163177847862, -0.009760728105902672, 0.03828750178217888, 0.050693679600954056, 0.023776307702064514, 0.01975986547768116, -0.042975448071956635, -0.013562506064772606, 0.0712192952632904, -0.016879893839359283, 0.011159732937812805, -0.08479954302310944, -0.02925475314259529, 0.027304362505674362, 0.02373281493782997, 0.002435320056974888, -0.02699888125061989, 0.09284358471632004, 0.005438076797872782, 0.0002937730751000345, 0.004030407872051001, -0.001702780369669199, -0.021587932482361794, 0.011539492756128311, -0.005755043122917414, -0.022111225873231888, -0.0572708435356617, -0.009117512963712215, -0.02396460436284542, 0.048585258424282074, -0.06774840503931046, -0.025463731959462166, 0.0058507416397333145, 0.04318021610379219, 0.027771076187491417, -0.02530277706682682, -0.04197404533624649, -0.0002845088311005384, -0.054822131991386414, -0.026320507749915123, 0.01391563005745411, 0.005734081845730543, 0.011885261163115501, 0.05126667395234108, 0.029612934216856956, -0.04262598231434822, 0.05599604547023773, 0.01974877342581749, 0.04180515930056572, 0.0030477994587272406, -0.055405035614967346, 0.03777839615941048, -0.04419100657105446, -0.0023460406810045242, 0.011326214298605919, -0.044247690588235855, -0.051269542425870895, -0.08379461616277695, -0.0024708490818738937, -0.0027779077645391226, -0.020529471337795258, -0.0134185291826725, 0.03155151382088661, -0.01906241662800312, -0.0006748196901753545, -0.017201175913214684, 0.007763708475977182, 0.04374753683805466, -0.06287191063165665, 0.058419980108737946, -0.024144789204001427, 0.03570162504911423, -0.05571402609348297, 0.005273580085486174, -0.023160666227340698, -0.053208451718091965, 0.013060417957603931, 0.07574322074651718, 0.0005140916910022497, 0.030917149037122726, 0.08241475373506546, 0.03163415566086769, -0.041613899171352386, 0.044142089784145355, 0.035468921065330505, -0.002908051246777177, -0.054650161415338516, -0.010264565236866474, -0.013212528079748154, -0.05144800990819931, -0.02152266725897789, -0.035234030336141586, 0.04409424588084221, 0.02976016327738762, -0.002969651482999325, -0.0028341819997876883, -0.005585927516222, -0.033698808401823044, -0.03681753948330879, -0.05763654038310051, -0.03055718168616295, 0.029413597658276558, -0.01422533392906189, 0.04655500873923302, 0.04007566720247269, 0.03316672146320343, 0.027882186695933342, 0.034131526947021484, -0.006181522272527218, -0.0282061155885458, 0.024572839960455894, 0.02573305368423462, -0.06656170636415482, -0.048158515244722366, -0.0198871698230505, 0.0388198085129261, 0.046422213315963745, -0.022735608741641045, -0.08756721019744873, 0.017313528805971146, 0.0762408971786499, -0.018825244158506393, 0.06997312605381012, -0.019095957279205322, 0.040691353380680084, 0.04762163385748863, -0.007233631331473589, -0.0014560858253389597, -0.02302529662847519, 0.008444503881037235, -0.005841278936713934, 0.04808655381202698, -0.029247749596834183, -0.03531888872385025, -0.053392693400382996, 0.025191565975546837, 0.04239364713430405, 0.05112287402153015, 0.04460214078426361, -0.026623159646987915, -0.043362416326999664, 0.01516052708029747, 0.010291731916368008, -0.0643182247877121, 0.011982408352196217, 0.02030782960355282, 0.06952783465385437, -0.04808837175369263, -0.05701972544193268, -0.013880577869713306, 0.010512210428714752, 0.035063229501247406, -0.004154843743890524, -0.032432492822408676, -0.05186803266406059, 0.025366533547639847, -0.005025913473218679, -0.015638260170817375, -0.07762672752141953, 0.0024314553011208773, -0.015953246504068375, -0.02540653757750988, 0.03577931225299835, 0.016461607068777084, 0.04032116383314133, 0.04713379219174385, 0.005937902256846428, -0.000491010257974267, -0.04462286829948425, 0.022418532520532608, -0.005008508916944265, -0.022656217217445374, -0.004688448738306761, -0.04615325108170509, -0.04128488898277283, -0.017465336248278618, -0.049154337495565414, -0.05589773505926132, -0.04871589317917824, 0.01095257792621851, -0.011392082087695599, -0.006216781679540873, -0.006069834344089031, 0.040156424045562744, -0.020855778828263283, -0.02619611658155918, -0.02581891603767872, -0.05235256999731064, -0.05316045507788658, -0.050063975155353546, 0.016164032742381096, -0.006573359481990337, 0.02523520216345787, 0.02059730514883995, -0.013493127189576626, 0.0290435291826725, 0.02017248421907425, -0.04466941952705383, 0.04624071344733238, -0.007532918360084295, -0.046130407601594925, -0.034990713000297546, -0.005824970081448555, 0.022105496376752853, 0.04000294208526611, -0.024694722145795822, 0.034236058592796326, 0.00142203108407557, -0.04346814751625061, -0.011480096727609634, 0.027232805266976357, 0.03389308601617813, -0.05862613022327423, -0.04103546962141991, 0.00996824074536562, -0.043311696499586105, 0.03819359093904495, -0.025324979797005653, -0.006181607488542795, 0.033003926277160645, 0.02979397214949131, 0.01979539357125759, 0.015106038190424442, -0.041175056248903275, 0.021594638004899025, 0.01160274539142847, 0.018745118752121925, -0.059711750596761703, 0.0449707955121994, -0.040136244148015976, 0.009905904531478882, -0.027701586484909058, 0.010030967183411121, -0.05098261684179306, 0.04602199047803879, -0.010492424480617046, 0.001958234002813697, -0.005294356495141983, 0.010602353140711784, -0.053864751011133194, 0.027218027040362358, -0.023832999169826508, 0.018825626000761986, -0.042854588478803635, 0.05399538576602936, -0.04926232248544693, -0.026127103716135025, -0.03043752908706665, -0.0068080914206802845, -0.04908067733049393, -0.020226430147886276, 0.016382666304707527, -0.08023475110530853, 0.013289205729961395, 0.043800607323646545, 0.034804895520210266, 0.028139492496848106, 0.00909629836678505, -0.020704684779047966, 0.014072113670408726, -0.055877625942230225, -0.006682426668703556, -0.012731269001960754, 0.024658208712935448, -0.031403690576553345, 0.059264808893203735, 0.03915979340672493, -0.06396294385194778, -0.06153351813554764, 0.022871054708957672, 0.028621256351470947, -0.005696116480976343, 0.004238048102706671, 0.03587499260902405, 0.0475386306643486, 0.011912430636584759, -0.03413926437497139, -0.01872875913977623, -0.024132126942276955, -0.02251320704817772, 0.012351113371551037, -0.008107888512313366, 0.012749016284942627, 0.009798774495720863, -0.027284439653158188, -0.017912523820996284, 0.05695849657058716, 0.007096192333847284, 0.03273008391261101, 0.004920941777527332, -0.06890758872032166, 0.019710581749677658, 0.005304541438817978, -0.039598118513822556, -0.010692483745515347, 0.02853754535317421, -0.02818066067993641, 0.061796367168426514, -0.0052475277334451675, 0.03452041372656822, 0.06357566267251968, 0.0008088076137937605, -0.018835803493857384, 0.02100183069705963, -0.0038560761604458094, -0.004225798882544041, 0.0581984706223011, -0.07257212698459625, 0.004252873361110687, -0.06056395545601845, 0.07723518460988998, -0.06246210262179375, 0.025704246014356613, 0.04248794540762901, 0.020236441865563393, -0.002947151195257902, -0.03263327106833458, -0.04601672664284706, 0.050849393010139465, -0.03395392745733261, 0.07262691855430603, 0.023179970681667328, -0.07802709937095642, 0.06468863040208817, -0.0016893093707039952, -0.11043810844421387, 0.049650486558675766, 0.035489391535520554, 0.012411382049322128, 0.044624678790569305, 0.04441213607788086, -0.06116411089897156, 0.010686444118618965, -0.019915802404284477, 0.041054219007492065, -0.0534580796957016, -0.008202800527215004, 0.031061610206961632, -0.0640469342470169, -0.02999555505812168, 0.058535631746053696, -0.039850909262895584, 0.0013622725382447243, 0.012932194396853447, -0.02036469243466854, -0.031026804819703102, 0.03282665088772774, 0.012551389634609222, -0.03177599236369133, -0.032833606004714966, -0.03525397554039955, 0.02032715640962124, 0.027585133910179138, 0.003979383036494255, -0.04033757746219635, -0.020167121663689613, 0.015081304125487804, -0.044919826090335846, -0.017092064023017883, 0.029661450535058975, -0.0005775121389888227, -0.03212788701057434, 0.024918487295508385, 0.011902030557394028, 0.009617801755666733, 0.027831939980387688, -0.030577445402741432, 0.019237713888287544, -0.06533562391996384, -0.005166665185242891, 0.003270374145358801, -0.003739507170394063, 0.006854442413896322, -0.015834307298064232, 0.03809813782572746, 0.027680274099111557, 0.009222126565873623, 0.0017798590706661344, -0.04127389192581177, -0.027128426358103752, 0.009534605778753757, -0.029321901500225067, 0.017296841368079185, -0.018799712881445885, -0.04747927933931351, -0.037640929222106934, -0.014083368703722954, 0.004573930520564318, 0.03440149128437042, -0.0416918508708477, -0.0006450396031141281, 0.026297956705093384, -0.03582528606057167, -0.03320935741066933, -0.08637506514787674, -0.026406187564134598, -0.03412088751792908, 0.026257364079356194, 0.024539154022932053, -0.0231781005859375, 0.017003905028104782, -0.041604120284318924, -0.034542910754680634, 0.028413502499461174, 0.04107655957341194, -0.05610651895403862, 0.07311803102493286, 0.020171796903014183, -0.0350864976644516, -0.0009579003090038896, 0.03500407189130783, -0.04305160418152809, 0.04775117710232735, 0.006245394237339497, 0.037294428795576096, 0.01760038174688816, 0.02650841884315014, -0.02935708500444889, -0.01987973041832447, -0.06565872579813004, -0.030352244153618813, -0.021533899009227753, 0.0239858515560627, 0.06239689886569977 ]
Aran/DialoGPT-medium-harrypotter
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- license: apache-2.0 tags: - generated_from_trainer datasets: - emotion metrics: - accuracy - f1 model-index: - name: distilbert-base-uncased-finetuned-emotion results: - task: name: Text Classification type: text-classification dataset: name: emotion type: emotion args: split metrics: - name: Accuracy type: accuracy value: 0.9265 - name: F1 type: f1 value: 0.9264826040883781 --- <!-- 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-emotion This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset. It achieves the following results on the evaluation set: - Loss: 0.2108 - Accuracy: 0.9265 - F1: 0.9265 ## Model description More information needed ## Intended uses & limitations More information needed ## Training and evaluation data More information needed ## Training procedure ### Training hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 64 - eval_batch_size: 64 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 2 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:| | 0.8108 | 1.0 | 250 | 0.3101 | 0.903 | 0.8995 | | 0.2423 | 2.0 | 500 | 0.2108 | 0.9265 | 0.9265 | ### Framework versions - Transformers 4.13.0 - Pytorch 1.13.1+cu116 - Datasets 2.8.0 - Tokenizers 0.10.3
[ -0.009605995379388332, 0.009178994223475456, -0.0291032362729311, 0.037222716957330704, 0.06028740853071213, 0.032829850912094116, -0.023748332634568214, -0.03514128178358078, -0.033764008432626724, 0.05590621009469032, 0.020757708698511124, -0.045360710471868515, 0.034566279500722885, 0.044349271804094315, -0.013479727320373058, -0.03402712196111679, -0.03158927708864212, -0.012074189260601997, -0.023068685084581375, -0.0012550523970276117, 0.0015508047072216868, 0.026311475783586502, -0.0025585617404431105, -0.009970281273126602, -0.008919707499444485, 0.011687190271914005, -0.013217252679169178, 0.015237950719892979, 0.03128765895962715, -0.05971444398164749, 0.014088385738432407, -0.03839930519461632, -0.051498956978321075, -0.004401229787617922, -0.022485127672553062, 0.016140170395374298, 0.007003661245107651, 0.020035214722156525, 0.014693168923258781, 0.028016315773129463, 0.010963965207338333, 0.009705095551908016, -0.000970447261352092, -0.014312502928078175, 0.04617777839303017, 0.012105880305171013, -0.04121146723628044, 0.0006954800919629633, 0.028333740308880806, -0.02150304615497589, -0.07201319187879562, -0.05469119921326637, -0.002425349550321698, 0.03509311378002167, -0.0005443599075078964, -0.0050373501144349575, -0.052748117595911026, 0.0110666174441576, 0.06312554329633713, -0.04401027411222458, -0.025810418650507927, 0.011895421892404556, -0.0510740652680397, 0.004157133400440216, 0.02502289041876793, -0.029752157628536224, 0.004263233859091997, -0.03735974431037903, 0.032201021909713745, -0.02956022135913372, 0.04589539021253586, -0.026321711018681526, 0.029079098254442215, -0.07821261882781982, -0.016047971323132515, -0.010666189715266228, 0.06749606877565384, 0.06120076775550842, -0.019022256135940552, 0.060332439839839935, 0.0325477160513401, 0.010784540325403214, 0.03388368710875511, -0.01226816512644291, 0.010857321321964264, 0.0236616563051939, -0.045885443687438965, 0.01718756929039955, 0.015216135419905186, 0.02760598249733448, -0.03224598988890648, -0.042415801435709, -0.02848004177212715, -0.024331314489245415, -0.007771913893520832, 0.03527671843767166, 0.028277505189180374, 0.0271102637052536, 0.03719373047351837, 0.0311732180416584, 0.018006008118391037, 0.038147933781147, -0.03950224816799164, 0.06634171307086945, -0.015826255083084106, -0.011350005865097046, -0.005643949378281832, -0.023722246289253235, -0.052064452320337296, 0.02756326273083687, 0.01286090724170208, -0.02282497100532055, -0.03337521478533745, 0.011007251217961311, -0.015766607597470284, -0.030791286379098892, 0.058946896344423294, -0.030034057796001434, -0.04935498535633087, -0.043457090854644775, 0.02657916396856308, 0.02084971033036709, -0.0026637485716491938, 0.0030223329085856676, -0.06118413433432579, -0.007383793126791716, -0.03506866842508316, -0.0037065555807203054, -0.03385980427265167, 0.011844522319734097, 0.019111743196845055, 0.061498574912548065, 0.021327698603272438, -0.0947575494647026, 0.0006899430300109088, 0.01567683555185795, -0.05592956766486168, 0.03358403965830803, 0.032810769975185394, 0.12832219898700714, -0.05348585546016693, -0.05593462660908699, 0.007828419096767902, 0.0056794313713908195, -0.05048300698399544, 0.016813045367598534, 0.023998815566301346, -0.0396604984998703, -0.01683499477803707, 0.0046224514953792095, 0.04860543832182884, -0.04625746235251427, -0.006242202594876289, 0.07150982320308685, 0.019214361906051636, 0.03855385258793831, -0.04749113693833351, -0.03343111649155617, 0.009319338947534561, -0.029650138691067696, -0.03333164379000664, 0.05508679151535034, -0.020151454955339432, -0.030936503782868385, -0.016478048637509346, -0.03651640564203262, 0.016917800530791283, 0.07182317227125168, -0.01005102414637804, -0.036381155252456665, -0.025798358023166656, 0.025153668597340584, 0.03660624101758003, 0.03316279873251915, -0.015059471130371094, 0.01565907895565033, 0.06760357320308685, 0.04476359859108925, -0.02759251557290554, 0.029691901057958603, -0.0004306866030674428, -0.03111208789050579, -0.025160852819681168, 0.006524736527353525, -0.003623916069045663, -0.05181356891989708, 0.053187787532806396, 0.005947203375399113, -0.006777691654860973, -0.04903296008706093, -0.041061196476221085, 0.05328092351555824, -0.013188594952225685, -0.0006683607352897525, 0.007118115667253733, -0.00548115698620677, -0.0188613124191761, 0.05027596652507782, -0.015917416661977768, 0.01937190070748329, -0.03887424245476723, -0.025195756927132607, 0.03034237027168274, -0.03437851741909981, 0.04055318608880043, 0.036905910819768906, -0.022488294169306755, 0.08394733816385269, -0.05336623638868332, 0.023416191339492798, -0.05812918394804001, -0.045695215463638306, 0.029140926897525787, 0.05911598354578018, 0.03733348473906517, 0.060830503702163696, 0.006002313923090696, -0.05438742786645889, 0.019763141870498657, 0.06649582833051682, 0.053123533725738525, 0.0027222183998674154, -0.018765730783343315, -0.007825590670108795, 0.056696128100156784, 0.06029043346643448, -0.060599472373723984, -0.011153013445436954, 0.003743573324754834, 0.021513769403100014, -0.007709636352956295, 0.009024090133607388, -0.028639355674386024, 0.03239184617996216, -0.04373573139309883, -0.07351252436637878, 0.06788138300180435, 0.02149134874343872, -0.007281485479325056, 0.02139052376151085, 0.023109035566449165, -0.004464026540517807, 0.008834929205477238, 0.013405813835561275, 0.006519257556647062, -0.044144656509160995, 0.01621927320957184, -0.0005627409555017948, 0.07388343662023544, -0.04736799746751785, 0.03710441291332245, -0.00661864411085844, 0.0339960940182209, 0.04618401452898979, -0.05351995304226875, 0.03651697561144829, 0.03829551860690117, 0.029554512351751328, -0.039974942803382874, 0.01034159678965807, 0.021161656826734543, 0.049530915915966034, 0.022019995376467705, -0.012949783354997635, 0.07585101574659348, 0.017864646390080452, 0.033078521490097046, 0.07158727198839188, 0.021489817649126053, 0.03335002809762955, 0.008917669765651226, 0.05174247547984123, 0.02671210654079914, -0.027980661019682884, 0.05811994522809982, -0.0549699030816555, 0.01737474650144577, -0.04321497678756714, 0.014797990210354328, -0.0059740361757576466, -0.00004370163878775202, 0.04612932354211807, 0.024076610803604126, -0.04038407653570175, -0.02220151014626026, 0.014581691473722458, -0.006087788846343756, 0.03209457919001579, 0.005267726723104715, 0.0020463899709284306, -0.010744228959083557, -0.04110296443104744, -0.008829143829643726, -0.06983598321676254, -0.051922474056482315, -0.011480767279863358, -0.03354416415095329, -0.03317879140377045, -0.09047162532806396, -0.038091398775577545, -0.06926261633634567, -0.00517955981194973, 0.04074022173881531, 0.02342347614467144, -0.013575716875493526, -0.043513815850019455, 0.016452012583613396, -0.04995376989245415, -0.053927477449178696, -0.039396997541189194, -0.035418808460235596, -0.037836749106645584, -0.07130718976259232, 0.028019219636917114, 0.02601836621761322, 0.02229318395256996, 0.0018936146516352892, 0.011710218153893948, -0.008765586651861668, -0.02535083517432213, 0.05451499670743942, 0.06156061217188835, -0.037916745990514755, -0.06239001080393791, 0.014687842689454556, 0.0060116020031273365, 0.01694217137992382, 0.027006300166249275, -0.020774198696017265, 0.09402748197317123, 0.07200349867343903, 0.010933495126664639, 0.03521471470594406, -0.020656783133745193, -0.06468470394611359, -0.05706042796373367, -0.017818724736571312, -0.04671613872051239, -0.025612952187657356, -0.04031967371702194, -0.04125795140862465, -0.03835161402821541, -0.025826802477240562, 0.0026166094467043877, -0.01452327985316515, 0.02507416531443596, 0.0010427214438095689, 0.030519461259245872, 0.026099711656570435, 0.03910644352436066, -0.03471684083342552, -0.03691532835364342, 0.04609289765357971, 0.010792589746415615, 0.0033713437151163816, -0.09179463237524033, -0.009010005742311478, 0.01960126869380474, 0.023064013570547104, -0.01654190383851528, -0.004653659649193287, 0.08385378122329712, 0.005610923748463392, -0.00539093092083931, 0.014530865475535393, 0.0009980341419577599, -0.01254277303814888, -0.017855361104011536, -0.009699014015495777, 0.013375245966017246, -0.026481930166482925, -0.04036552459001541, -0.0045728012919425964, 0.04589294269680977, -0.04881324991583824, -0.04330584406852722, -0.016594575718045235, 0.028476381674408913, 0.05522269755601883, -0.003795723896473646, -0.045427992939949036, -0.017072413116693497, -0.08516097068786621, -0.010162935592234135, 0.036277253180742264, 0.0006373244686983526, 0.01700642891228199, 0.030881162732839584, 0.014069661498069763, -0.01728452555835247, 0.027896631509065628, 0.03714130446314812, 0.06543661653995514, 0.0005363618256524205, -0.06477274745702744, 0.0013923372607678175, -0.03459198400378227, 0.02091466635465622, -0.010311680845916271, -0.02531406469643116, -0.0340946801006794, -0.08514352887868881, -0.031143659725785255, 0.0036200613249093294, 0.003982144873589277, -0.0037336908280849457, 0.02723885141313076, -0.009236263111233711, -0.03220250457525253, 0.013672391884028912, 0.0163350161164999, 0.05644063651561737, -0.03161942958831787, 0.05808509886264801, -0.02663031406700611, 0.010837976820766926, -0.061162106692790985, 0.013766735792160034, -0.029607290402054787, -0.030311154201626778, 0.0038894114550203085, 0.044169746339321136, -0.006267582066357136, 0.04313366115093231, 0.06760759651660919, 0.04399421438574791, -0.059684012085199356, 0.03183697164058685, 0.06764811277389526, -0.03793049231171608, -0.046250440180301666, -0.004831618629395962, -0.0012507200008258224, -0.005899890325963497, -0.011407490819692612, -0.014509184285998344, 0.04088620841503143, 0.015377802774310112, -0.000751701183617115, 0.0003297361545264721, 0.0049005839973688126, -0.04569292813539505, -0.028854334726929665, -0.06251443177461624, -0.03877481073141098, -0.003302929922938347, -0.027092721313238144, 0.015860281884670258, 0.029006877914071083, 0.020394492894411087, 0.06624454259872437, 0.02994915097951889, -0.02667713537812233, -0.013789174146950245, 0.022868560627102852, 0.01917918026447296, -0.037806056439876556, -0.07411850988864899, -0.050535064190626144, 0.0323275551199913, 0.06590460985898972, -0.01988743618130684, -0.05760079622268677, 0.018350591883063316, 0.047227464616298676, -0.06498870253562927, 0.046927858144044876, -0.020743634551763535, 0.055995140224695206, 0.051231324672698975, 0.017876939848065376, 0.049434177577495575, -0.026896988973021507, -0.017248963937163353, 0.016686663031578064, 0.039604008197784424, -0.035101283341646194, -0.030054325237870216, -0.056288864463567734, 0.02987855300307274, 0.041005250066518784, 0.02802181988954544, 0.037192899733781815, -0.02640196494758129, -0.03034570813179016, 0.007265051826834679, 0.026914743706583977, -0.04189842566847801, -0.00461528729647398, 0.03843509778380394, 0.04641777276992798, -0.03969469293951988, -0.016582351177930832, -0.0367293618619442, -0.0024783294647932053, 0.04317241534590721, -0.007906852290034294, -0.025460634380578995, -0.028962349519133568, 0.037702567875385284, -0.013105377554893494, -0.027832191437482834, -0.05749430134892464, 0.0443471260368824, -0.008146639913320541, -0.00857700314372778, 0.04689580574631691, 0.03211555629968643, 0.03255672752857208, 0.07604396343231201, 0.0236712284386158, 0.008747103624045849, -0.024696096777915955, 0.03453245386481285, -0.03148272633552551, -0.01543126069009304, 0.009764156304299831, -0.037237491458654404, -0.034016795456409454, -0.01370230596512556, -0.0485508106648922, -0.04514014720916748, -0.026887044310569763, 0.030110696330666542, -0.0020015621557831764, -0.011497311294078827, 0.00436274753883481, 0.03434305265545845, -0.010247563943266869, -0.018966438248753548, -0.05485105141997337, -0.03346677124500275, -0.05020160973072052, -0.06192648783326149, -0.01617206633090973, 0.006331685930490494, 0.025389637798070908, 0.037374597042798996, 0.033633142709732056, 0.01982184685766697, 0.021820200607180595, -0.052005548030138016, 0.003805391024798155, 0.02497842162847519, -0.04400811344385147, -0.035708796232938766, 0.017384039238095284, 0.020926661789417267, 0.02935129404067993, -0.02789555862545967, 0.049163248389959335, 0.008829580619931221, -0.014391771517693996, -0.038519006222486496, 0.029354283586144447, 0.03651128336787224, -0.06646464765071869, -0.04208449274301529, -0.014483307488262653, -0.013990670442581177, 0.028115781024098396, -0.030345194041728973, -0.006659034173935652, 0.03365675359964371, 0.00953539926558733, 0.039490099996328354, -0.0334312841296196, -0.009125767275691032, 0.028858324512839317, -0.013094200752675533, 0.017120100557804108, -0.053986456245183945, 0.05599876865744591, -0.05803154408931732, 0.009138424880802631, -0.01168159767985344, -0.004006247501820326, -0.03064444288611412, 0.03880814462900162, -0.0031658303923904896, -0.011408491991460323, 0.0036588646471500397, 0.04530860856175423, -0.011530994437634945, 0.018689963966608047, -0.032314784824848175, 0.03205011039972305, -0.020042454823851585, 0.06925708800554276, -0.02907620184123516, 0.013153173960745335, -0.02974286489188671, 0.01826358772814274, -0.047175586223602295, 0.006999005097895861, -0.0054766032844781876, -0.02509145252406597, 0.021749284118413925, 0.04356684163212776, 0.025674549862742424, 0.03888678178191185, -0.007481771986931562, -0.008521742187440395, 0.01183727104216814, -0.056646063923835754, -0.019478579983115196, -0.010698437690734863, 0.008680564351379871, -0.020386235788464546, 0.06233352795243263, 0.02955419197678566, -0.05629376322031021, -0.06978081911802292, 0.04023858904838562, 0.017677066847682, 0.021611569449305534, -0.002114855218678713, 0.04302157834172249, 0.02354188822209835, 0.029077161103487015, -0.015361415222287178, -0.011669150553643703, 0.021930037066340446, -0.04543014615774155, 0.009390367195010185, -0.0032256064005196095, 0.006253449711948633, 0.028917068615555763, -0.04951971396803856, -0.009472433477640152, 0.045305635780096054, 0.02482657879590988, 0.025195961818099022, 0.019430560991168022, -0.055228911340236664, 0.02450701780617237, 0.01094874832779169, -0.04984503239393234, 0.00023623692686669528, 0.021804245188832283, -0.030359208583831787, 0.05597550421953201, -0.005939885508269072, 0.0032910145819187164, 0.04243868216872215, 0.0134320929646492, -0.022751666605472565, 0.04933765158057213, -0.018677903339266777, 0.028287794440984726, 0.04584340751171112, -0.07439712435007095, -0.012556108646094799, -0.06412670761346817, 0.07077159732580185, -0.05998598039150238, 0.03637109696865082, 0.042314667254686356, -0.01441416796296835, 0.016195915639400482, -0.04610712453722954, -0.05760517716407776, 0.030604438856244087, -0.03968770429491997, 0.06015826389193535, 0.019298624247312546, -0.0787423700094223, 0.04426396265625954, 0.008624116890132427, -0.05448814854025841, 0.03261444345116615, 0.03387513384222984, 0.05874130502343178, 0.007982601411640644, 0.04829556122422218, -0.022278066724538803, -0.004070596303790808, -0.04262883588671684, 0.03218325227499008, -0.054807551205158234, -0.02881782315671444, 0.02844378352165222, -0.0408988781273365, -0.011161746457219124, 0.04835886135697365, -0.02821223810315132, -0.016579408198595047, 0.043897662311792374, -0.03667154908180237, -0.027240604162216187, 0.00854532327502966, -0.017829105257987976, -0.04019039869308472, -0.004138030577450991, -0.034406863152980804, 0.01977711170911789, 0.00448189303278923, -0.009620275348424911, -0.01924154721200466, -0.013444227166473866, 0.03243633732199669, -0.03760034590959549, -0.039725471287965775, 0.029143504798412323, -0.022054024040699005, -0.018875746056437492, 0.038966163992881775, 0.04495978727936745, -0.0006417311960831285, 0.03510420396924019, -0.01736310124397278, 0.013996328227221966, -0.05024300143122673, -0.025631221011281013, 0.015240399166941643, -0.002857776125892997, 0.02913125790655613, -0.015022356063127518, 0.03183445334434509, 0.0525059811770916, 0.018215220421552658, -0.0011984289158135653, -0.03667273744940758, -0.03453544154763222, 0.0308756772428751, -0.03826380893588066, 0.016006095334887505, -0.007650976534932852, -0.04475565254688263, -0.034411098808050156, 0.010580253787338734, -0.028245791792869568, 0.032316312193870544, -0.04644938185811043, -0.00198392104357481, 0.07540715485811234, -0.02364538051187992, -0.05147668719291687, -0.10055577009916306, 0.0029178790282458067, -0.027339186519384384, 0.000155323970830068, 0.04501533508300781, -0.045309245586395264, 0.041848551481962204, -0.07379624992609024, -0.021071381866931915, 0.04620211943984032, 0.03537274897098541, -0.052963465452194214, 0.07118110358715057, 0.048696521669626236, -0.053181275725364685, 0.014290259219706059, 0.008097687736153603, -0.03939416632056236, 0.011035959236323833, 0.01833280548453331, 0.016760963946580887, 0.020360827445983887, 0.009019137360155582, -0.05612320080399513, -0.028768178075551987, -0.0664738193154335, -0.03740796819329262, -0.04430386424064636, 0.01008185651153326, 0.06461233645677567 ]
Aravinth/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
2021-12-03T02:26:55Z
--- tags: - generated_from_trainer datasets: - wmt16_en_ro_pre_processed model-index: - name: t5-tiny-random-length-128-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro 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. --> # t5-tiny-random-length-128-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro This model is a fine-tuned version of [patrickvonplaten/t5-tiny-random](https://huggingface.co/patrickvonplaten/t5-tiny-random) on the wmt16_en_ro_pre_processed 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: 1 ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.03173207491636276, -0.010517417453229427, 0.004532607272267342, 0.02500823140144348, 0.03486567735671997, 0.010300656780600548, -0.002356917830184102, -0.01035445649176836, -0.027078332379460335, 0.0579642578959465, 0.04309791326522827, -0.02555752731859684, -0.010427786968648434, 0.052658677101135254, -0.03363000974059105, -0.019671445712447166, -0.02761613205075264, 0.006197650451213121, -0.026035841554403305, 0.016142722219228745, 0.012244046665728092, 0.0040192510932683945, 0.005051895044744015, 0.02358960546553135, 0.01039962749928236, 0.013291731476783752, -0.0013135656481608748, 0.017698032781481743, 0.009816642850637436, -0.08035868406295776, 0.00811702013015747, -0.040977831929922104, -0.04317763075232506, -0.020981917157769203, -0.00936826877295971, -0.007574006915092468, 0.0032176729291677475, -0.013986429199576378, 0.03497123718261719, 0.04960966110229492, 0.0058061000891029835, 0.02192671224474907, -0.018921414390206337, -0.035196494311094284, 0.05627903342247009, -0.003601295640692115, -0.062199562788009644, 0.0004675914824474603, 0.036619678139686584, -0.029304737225174904, -0.07153231650590897, -0.06245499476790428, -0.021177414804697037, 0.016261041164398193, -0.02401043102145195, -0.020830878987908363, -0.07756941765546799, -0.007053007837384939, 0.0753905177116394, -0.04339161142706871, -0.01986689306795597, 0.013330117799341679, -0.07106759399175644, 0.02826966531574726, 0.041290804743766785, -0.014291511848568916, 0.016323542222380638, -0.041067417711019516, 0.03919989988207817, -0.00933025497943163, 0.05941521376371384, -0.010086673311889172, -0.008660517632961273, -0.09281769394874573, -0.019914861768484116, -0.01711532287299633, 0.025486668571829796, 0.04537548869848251, -0.05102446675300598, 0.0405462309718132, 0.0492776595056057, -0.0004939710488542914, 0.05598021298646927, -0.03619156405329704, -0.0039022404234856367, 0.03825803101062775, -0.02961910143494606, -0.0028748486656695604, -0.01876666396856308, 0.045092690736055374, -0.029915334656834602, -0.014623905532062054, -0.045417096465826035, -0.03624465689063072, -0.02585362270474434, 0.03754815459251404, 0.03764699399471283, -0.004894834943115711, 0.03929782286286354, 0.01712336577475071, 0.05001949146389961, 0.05443558469414711, -0.006934690289199352, 0.05896551534533501, 0.0015565550420433283, -0.021287012845277786, -0.003943442367017269, -0.03971539065241814, -0.027031395584344864, 0.04714350029826164, 0.011951383203268051, -0.03763226047158241, -0.037558361887931824, 0.034828461706638336, -0.003790956921875477, -0.02089913748204708, 0.0636659786105156, -0.02087152563035488, -0.04306841641664505, -0.027282653376460075, 0.04452798515558243, 0.007317228242754936, 0.01543084904551506, -0.005402698181569576, -0.04764280840754509, -0.011080061085522175, -0.029641980305314064, -0.036719366908073425, -0.009739586152136326, 0.008393972180783749, 0.006778298411518335, 0.048306290060281754, 0.035775136202573776, -0.045729927718639374, -0.02217184565961361, 0.019152410328388214, -0.04318726435303688, 0.07031967490911484, 0.015119544230401516, 0.09777646511793137, -0.05731954425573349, -0.07805933803319931, 0.00553527707234025, -0.006375438068062067, -0.030301114544272423, 0.015307960100471973, 0.011148717254400253, -0.06338658183813095, -0.017232375219464302, 0.0047206818126142025, 0.036981094628572464, -0.04172758758068085, -0.008442988619208336, 0.03388036787509918, 0.016636287793517113, 0.015583590604364872, -0.06072445586323738, -0.02583497390151024, 0.009317455813288689, 0.007807041518390179, -0.034267108887434006, 0.030572695657610893, -0.0037200264632701874, 0.003008634550496936, -0.0357699990272522, -0.041002534329891205, 0.003087676130235195, 0.0665818527340889, -0.00843504536896944, -0.031075742095708847, -0.01158372312784195, 0.04027527943253517, 0.056527506560087204, 0.049677133560180664, -0.032582126557826996, 0.061777155846357346, 0.0538284033536911, 0.04013335332274437, -0.01691574975848198, 0.0376390665769577, 0.019610201939940453, -0.024372683838009834, -0.03295831382274628, 0.025763459503650665, 0.00882861390709877, -0.05610334873199463, 0.007633225992321968, 0.024117425084114075, 0.013690389692783356, -0.04631951451301575, -0.024556228891015053, 0.05836518853902817, 0.004798148293048143, -0.0011792826699092984, 0.0072990888729691505, -0.007686316967010498, -0.021899355575442314, 0.03765537962317467, -0.009105107747018337, 0.002750059589743614, -0.02460518479347229, -0.0258785467594862, 0.0025013440754264593, 0.01799471117556095, 0.029099153354763985, 0.05711924284696579, -0.02395908534526825, 0.05988685414195061, -0.022830141708254814, 0.017306922003626823, -0.04274848476052284, -0.049433283507823944, 0.018885135650634766, 0.06528908014297485, 0.028574403375387192, 0.03841158375144005, 0.009384220466017723, -0.048776622861623764, 0.03328029066324234, 0.06806769222021103, 0.04152233526110649, 0.0061299460940063, -0.03671601787209511, -0.00913646537810564, 0.03283679857850075, 0.059186846017837524, -0.06543271988630295, -0.010701249353587627, 0.014361079782247543, 0.038020383566617966, -0.01695883460342884, 0.017942972481250763, -0.014533070847392082, 0.026576198637485504, -0.0756186917424202, -0.04828638583421707, 0.03150051459670067, 0.013810697942972183, 0.0070016696117818356, 0.023142874240875244, -0.008301190100610256, 0.01696440763771534, 0.018912911415100098, -0.005897651892155409, -0.005082338582724333, -0.051866911351680756, 0.018093321472406387, 0.005656183231621981, 0.026082314550876617, -0.04736317694187164, 0.027004610747098923, -0.01970791071653366, -0.01136376615613699, 0.06088876724243164, -0.05586933717131615, 0.0025339038111269474, 0.03690602630376816, 0.05457829684019089, -0.029160477221012115, 0.02064533159136772, 0.0218475591391325, 0.04873311519622803, 0.02933546155691147, 0.009136329405009747, 0.06783963739871979, -0.0036936721298843622, 0.04020778834819794, 0.08652998507022858, 0.022129017859697342, 0.02620540000498295, 0.04025137424468994, 0.0854131430387497, 0.02321706712245941, -0.003217746037989855, 0.07156383991241455, -0.05055481567978859, 0.008728453889489174, -0.042888179421424866, 0.010286793112754822, -0.029944978654384613, -0.009593640454113483, 0.03856297954916954, 0.015450587496161461, -0.01467005256563425, -0.007821917533874512, -0.030430328100919724, -0.02956589125096798, 0.0242457315325737, -0.011150771751999855, -0.026473913341760635, -0.009682188741862774, -0.012498307973146439, -0.007155153434723616, -0.046593017876148224, -0.030958207324147224, -0.026694973930716515, -0.014065324328839779, -0.021196946501731873, -0.07804321497678757, -0.02552051842212677, -0.0685771107673645, -0.03507966920733452, 0.03225482255220413, 0.009500537998974323, -0.0022026437800377607, -0.0525069423019886, 0.01678214780986309, -0.03837361931800842, -0.04999065399169922, -0.05175704509019852, -0.048654187470674515, -0.04103580862283707, -0.08966272324323654, 0.05298718437552452, 0.04279608279466629, 0.024064360186457634, 0.01888303831219673, 0.025619450956583023, -0.013941073790192604, -0.013615118339657784, 0.047673411667346954, 0.04446978494524956, -0.05276717245578766, -0.05650373175740242, 0.022670496255159378, 0.00169513956643641, 0.009073958732187748, -0.016210295259952545, -0.025751367211341858, 0.07974081486463547, 0.07082275301218033, 0.003966107964515686, 0.025797875598073006, -0.014724867418408394, -0.052698008716106415, -0.0619303323328495, -0.0035450132563710213, -0.023092562332749367, -0.016802838072180748, -0.03854356333613396, -0.03810269013047218, -0.010862654075026512, -0.0386403426527977, 0.0016933087026700377, 0.0006897826679050922, 0.0027502700686454773, 0.029850345104932785, 0.05600655823945999, 0.02476147748529911, 0.009403674863278866, -0.023750795051455498, -0.03861289843916893, 0.03547215461730957, -0.0037914072163403034, -0.02801535464823246, -0.09348056465387344, -0.03243154287338257, 0.03918807581067085, 0.026685120537877083, 0.015040853060781956, 0.02083422616124153, 0.07630620896816254, -0.0038744299672544003, -0.026278449222445488, 0.023918701335787773, -0.014391629956662655, 0.0013052703579887748, -0.005031585227698088, 0.010062623769044876, -0.0008492078050039709, -0.04124993085861206, -0.018675660714507103, -0.015967093408107758, 0.045645780861377716, -0.0484173484146595, -0.055740538984537125, -0.018403232097625732, 0.030077937990427017, 0.039607223123311996, 0.011033493094146252, -0.04969848692417145, -0.011798596940934658, -0.06465305387973785, -0.000781769456807524, 0.04710027575492859, 0.01831413060426712, 0.027666928246617317, 0.03873002156615257, 0.019254006445407867, -0.02289377711713314, 0.04399493709206581, 0.03498738259077072, 0.05605608969926834, 0.01892445795238018, -0.046257250010967255, -0.004388825502246618, -0.03150658681988716, 0.029982253909111023, -0.0004488010599743575, -0.008218225091695786, -0.03560362383723259, -0.0917205885052681, -0.020756665617227554, 0.003330869134515524, -0.020235110074281693, -0.01910206489264965, 0.053949132561683655, -0.008201465010643005, -0.026727523654699326, -0.0025439271703362465, 0.02841882035136223, 0.05657795071601868, -0.06025277450680733, 0.0452720932662487, 0.015833869576454163, 0.021819159388542175, -0.04952264577150345, 0.007097633555531502, -0.015189248137176037, -0.01508375070989132, 0.001248685410246253, 0.05497542768716812, 0.016287120059132576, 0.07161761075258255, 0.0722140520811081, 0.022406939417123795, -0.05333518236875534, 0.03785783424973488, 0.07731415331363678, -0.020637905225157738, -0.043465033173561096, 0.006054012104868889, -0.022744378075003624, -0.028572015464305878, -0.013563691638410091, -0.013624160550534725, 0.039951808750629425, 0.05569101870059967, -0.007743691559880972, 0.02821759134531021, 0.01233510859310627, -0.0024242191575467587, -0.05016855150461197, -0.04371423274278641, -0.01669606938958168, 0.0006446338957175612, -0.03131802752614021, 0.012014953419566154, 0.03671856224536896, 0.010183725506067276, 0.05879848822951317, 0.04371153935790062, -0.048602551221847534, -0.04479464143514633, 0.01701522246003151, 0.01879171095788479, -0.018150966614484787, -0.06951191276311874, -0.013149134814739227, 0.028193457052111626, 0.0425972081720829, -0.008424164727330208, -0.06882250308990479, 0.00913800485432148, 0.04023720696568489, -0.03313798829913139, 0.05726436898112297, -0.008972801268100739, 0.035847797989845276, 0.05600453168153763, -0.016274278983473778, 0.04617069661617279, -0.027271898463368416, 0.010355065576732159, -0.0027103701140731573, 0.016170475631952286, -0.014796527102589607, -0.038539037108421326, -0.07251208275556564, 0.02965421974658966, 0.016847487539052963, 0.051393017172813416, 0.042153920978307724, -0.02350195311009884, -0.06634251028299332, 0.02575787715613842, 0.029670439660549164, -0.04172296077013016, 0.024890916422009468, 0.02426176704466343, 0.035721518099308014, -0.03346142917871475, -0.03301762044429779, -0.03704434260725975, -0.006736047100275755, 0.03058457560837269, 0.0001725006295600906, -0.04925619438290596, -0.023403901606798172, 0.04264245182275772, -0.009167815558612347, -0.004061389248818159, -0.08099382370710373, 0.0350826121866703, -0.014094211161136627, -0.007190261501818895, 0.036325134336948395, 0.0397295206785202, 0.018823184072971344, 0.057474758476018906, 0.03289686515927315, 0.050042834132909775, -0.0275314599275589, 0.04261999577283859, -0.055849768221378326, -0.0019825054332613945, 0.00729307159781456, -0.03914332389831543, -0.032476555556058884, -0.032200831919908524, -0.0640709400177002, -0.04266025871038437, -0.025381000712513924, -0.011492038145661354, 0.002777160843834281, -0.010868372395634651, 0.003093450330197811, 0.04410643130540848, -0.04011697322130203, -0.029224442318081856, -0.03071030229330063, -0.033212415874004364, -0.0689002126455307, -0.05813569575548172, 0.030639154836535454, 0.019253799691796303, 0.053202662616968155, 0.015492891892790794, 0.012630831450223923, 0.03296774625778198, 0.0044191982597112656, -0.004772442393004894, 0.011994260363280773, -0.007084951736032963, -0.013544080778956413, -0.013524942100048065, 0.022513896226882935, 0.00773719372227788, 0.029025044292211533, -0.017285309731960297, 0.05784381181001663, 0.02412824146449566, 0.017481913790106773, -0.014736082404851913, 0.01617562770843506, -0.0011694898130372167, -0.08035097271203995, -0.019232669845223427, 0.016674011945724487, -0.04369184747338295, 0.01567220687866211, -0.044322025030851364, -0.025591367855668068, -0.006294283550232649, -0.0011527015594765544, 0.02778748981654644, -0.024103140458464622, -0.02765304036438465, 0.04059917479753494, -0.04303181543946266, 0.026246551424264908, -0.04650743678212166, 0.043407365679740906, -0.029483918100595474, 0.011252248659729958, -0.027656149119138718, 0.008894815109670162, -0.034580737352371216, 0.03414203226566315, -0.027548540383577347, -0.02167498879134655, -0.005408232565969229, 0.04637923464179039, -0.023696575313806534, 0.04335982725024223, -0.0156711358577013, 0.0197081808000803, -0.025804858654737473, 0.07702450454235077, -0.0294549111276865, 0.02627156302332878, -0.05395931378006935, 0.01323538925498724, -0.03025510162115097, -0.018731189891695976, -0.0019492574501782656, -0.019273856654763222, 0.0386795699596405, 0.06384243071079254, 0.04644589126110077, 0.029551038518548012, -0.02302348054945469, -0.024192720651626587, 0.02224159985780716, -0.053669415414333344, -0.04880746454000473, -0.02090476080775261, -0.008656534366309643, -0.00047526624985039234, 0.05579213798046112, 0.05656132474541664, -0.036065179854631424, -0.05579577386379242, 0.036422912031412125, 0.013242391869425774, 0.0008094715885818005, 0.01674766279757023, 0.02955067716538906, 0.007089476566761732, 0.04524017497897148, -0.042602330446243286, 0.006012890487909317, -0.010078560560941696, -0.02760002203285694, 0.044147949665784836, 0.007092027924954891, 0.032781243324279785, 0.007002923637628555, -0.045261450111866, -0.018384769558906555, 0.0718134418129921, 0.03026711754500866, 0.03270765393972397, -0.0033085017930716276, -0.04459954798221588, 0.042911186814308167, -0.002467281883582473, -0.047054845839738846, 0.025303203612565994, 0.04240899533033371, -0.017974309623241425, 0.07059191912412643, -0.019016146659851074, -0.0017454613698646426, 0.04364369064569473, 0.04994853213429451, -0.013372231274843216, 0.057146139442920685, -0.03490527719259262, 0.016670826822519302, 0.04708736017346382, -0.060401469469070435, 0.0001879849733086303, -0.02100573666393757, 0.08677208423614502, -0.038410406559705734, 0.03687015920877457, 0.05045076087117195, 0.012291638180613518, 0.011361447162926197, -0.027339888736605644, -0.06131703779101372, -0.008835086598992348, -0.04216062277555466, 0.07871536910533905, 0.01656852476298809, -0.05756940320134163, 0.06705787032842636, -0.0074468692764639854, -0.06478070467710495, 0.04488193243741989, 0.02902611717581749, 0.04342662915587425, 0.040778111666440964, 0.04981793835759163, -0.043235573917627335, 0.008310547098517418, -0.03964442014694214, 0.03914569318294525, -0.047313570976257324, -0.025637375190854073, 0.041054617613554, -0.04757621884346008, -0.028145145624876022, 0.04659035801887512, -0.012362919747829437, -0.017742203548550606, 0.05465603247284889, -0.05232832580804825, -0.03860269859433174, 0.012327204458415508, 0.010294273495674133, -0.02919965237379074, 0.007216764613986015, -0.029865093529224396, 0.04117225855588913, 0.017759062349796295, -0.004446547944098711, -0.019996915012598038, 0.008552389219403267, 0.019354572519659996, -0.06067749112844467, -0.03579748049378395, 0.013012210838496685, -0.018019571900367737, -0.007659447379410267, 0.0403253436088562, -0.00016107899136841297, 0.021906785666942596, 0.013096985407173634, 0.018596045672893524, 0.0431964211165905, -0.0502559095621109, -0.013426058925688267, 0.025130094960331917, 0.02632666565477848, 0.03978309780359268, -0.004418179392814636, 0.05395837128162384, 0.030864551663398743, 0.022693151608109474, -0.002847786294296384, -0.018824059516191483, -0.028515208512544632, 0.02692258544266224, -0.03813144192099571, 0.010435964912176132, 0.00597698800265789, -0.04618370905518532, -0.046399202197790146, -0.022300096228718758, -0.04634840041399002, 0.02995765209197998, -0.06792064011096954, 0.00819754134863615, 0.041384898126125336, 0.0025602979585528374, -0.049804992973804474, -0.09291607141494751, -0.03582943603396416, -0.04458168148994446, 0.003383216680958867, 0.025368735194206238, -0.05434943735599518, 0.04262447729706764, -0.03367381542921066, -0.05585500970482826, 0.04481989145278931, 0.019963588565587997, -0.047911204397678375, 0.04261603206396103, 0.05245249718427658, -0.02759671024978161, -0.007933197543025017, 0.019696537405252457, -0.045326683670282364, 0.006705398205667734, 0.025728875771164894, -0.005949942860752344, 0.030202941969037056, 0.009871224872767925, -0.03684375435113907, -0.018763858824968338, -0.06859052181243896, -0.02653767727315426, -0.04717801511287689, 0.019576920196413994, 0.05356229096651077 ]
ArcQ/gpt-experiments
[]
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: - generated_from_trainer datasets: - wmt16_en_ro_pre_processed metrics: - bleu model-index: - name: t5-tiny-random-length-96-learning_rate-0.0002-weight_decay-0.01-finetuned-en-to-ro results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: wmt16_en_ro_pre_processed type: wmt16_en_ro_pre_processed args: enro metrics: - name: Bleu type: bleu value: 0.0617 --- <!-- 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-tiny-random-length-96-learning_rate-0.0002-weight_decay-0.01-finetuned-en-to-ro This model is a fine-tuned version of [patrickvonplaten/t5-tiny-random](https://huggingface.co/patrickvonplaten/t5-tiny-random) on the wmt16_en_ro_pre_processed dataset. It achieves the following results on the evaluation set: - Loss: 4.6426 - Bleu: 0.0617 - Gen Len: 8.9895 ## 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: 8 ### Training results | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len | |:-------------:|:-----:|:------:|:---------------:|:------:|:-------:| | 4.5828 | 1.0 | 76290 | 5.5397 | 0.0089 | 8.981 | | 4.187 | 2.0 | 152580 | 5.2241 | 0.0172 | 8.989 | | 3.9612 | 3.0 | 228870 | 5.0092 | 0.034 | 8.988 | | 3.8151 | 4.0 | 305160 | 4.8688 | 0.0365 | 8.9865 | | 3.7162 | 5.0 | 381450 | 4.7656 | 0.0469 | 8.9865 | | 3.6498 | 6.0 | 457740 | 4.6874 | 0.0531 | 8.9885 | | 3.6147 | 7.0 | 534030 | 4.6612 | 0.0585 | 8.9875 | | 3.5972 | 8.0 | 610320 | 4.6426 | 0.0617 | 8.9895 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.024862729012966156, -0.002244529314339161, -0.0038128376472741365, 0.04468337446451187, 0.027375876903533936, 0.0023250426165759563, -0.006554397754371166, -0.01925668679177761, -0.02483893558382988, 0.0607730895280838, 0.014678901992738247, -0.03418739512562752, -0.028568895533680916, 0.04757850617170334, -0.034409526735544205, -0.017474278807640076, -0.030438954010605812, -0.004350155591964722, -0.02727597951889038, 0.011767069809138775, 0.0006349444738589227, 0.0036850234027951956, 0.003626873018220067, 0.01282546017318964, 0.006363550666719675, 0.009987544268369675, -0.025001276284456253, 0.01196079421788454, 0.00721923541277647, -0.07799679785966873, -0.0029268066864460707, -0.026089930906891823, -0.04863472655415535, -0.005934217944741249, -0.002909377682954073, -0.006951943505555391, 0.004176716320216656, -0.009322448633611202, 0.0239301435649395, 0.04950502887368202, 0.01568007469177246, 0.016832761466503143, -0.031705234199762344, -0.02914353273808956, 0.03669561445713043, -0.007835297845304012, -0.05269636958837509, 0.0022100508213043213, 0.028554696589708328, -0.026595497503876686, -0.08271147310733795, -0.04770596697926521, 0.000026459765649633482, 0.016508696600794792, -0.01493172999471426, -0.03455755114555359, -0.07179160416126251, 0.010574014857411385, 0.07987026125192642, -0.03644395247101784, -0.03584296628832817, 0.01823507621884346, -0.05645851790904999, 0.013543766923248768, 0.028682829812169075, -0.04049701988697052, -0.00022070607519708574, -0.04430987313389778, 0.033375974744558334, -0.008394160307943821, 0.04931645840406418, -0.016861554235219955, -0.01228344440460205, -0.08656580001115799, -0.01468708273023367, -0.0009183610673062503, 0.031346146017313004, 0.04857927933335304, -0.039981890469789505, 0.040870483964681625, 0.04349838197231293, -0.015703579410910606, 0.053093548864126205, -0.016741467639803886, -0.005591980181634426, 0.029162298887968063, -0.03348025679588318, 0.006862564943730831, 0.00485181761905551, 0.02599926106631756, -0.017277084290981293, -0.019002223387360573, -0.03355247154831886, -0.03046957589685917, -0.01561165601015091, 0.030876606702804565, 0.03216848522424698, -0.005775495897978544, 0.03824080154299736, 0.017123086377978325, 0.011761174537241459, 0.047486286610364914, -0.010839708149433136, 0.06360927224159241, -0.003365547861903906, -0.007562065031379461, -0.002317711478099227, -0.03424105420708656, -0.04215603694319725, 0.027123328298330307, 0.020881295204162598, -0.03240574151277542, -0.04293687641620636, 0.05043137073516846, -0.013788285665214062, -0.029302459210157394, 0.052141014486551285, -0.014717644080519676, -0.0527816079556942, -0.053177833557128906, 0.034272078424692154, 0.009476007893681526, 0.017581967636942863, 0.007742197718471289, -0.06394985318183899, -0.0033611541148275137, -0.029081914573907852, -0.042184580117464066, -0.01987307146191597, 0.012967321090400219, -0.008767726831138134, 0.05873988941311836, 0.01276995800435543, -0.05484243482351303, -0.013004885986447334, -0.005080333910882473, -0.055011529475450516, 0.05909597501158714, 0.02181091159582138, 0.10006535053253174, -0.049048781394958496, -0.07572676986455917, 0.01030669454485178, 0.003021608106791973, -0.04228752478957176, 0.01335795409977436, -0.003641219111159444, -0.052157752215862274, -0.008821223862469196, 0.00364665943197906, 0.03678429126739502, -0.048274196684360504, -0.008798227645456791, 0.0447959266602993, 0.017364608123898506, 0.029784921556711197, -0.07386409491300583, -0.03878660127520561, 0.01263168454170227, -0.005578448064625263, -0.016152476891875267, 0.01370207779109478, -0.014039426110684872, -0.008976814337074757, -0.043195877224206924, -0.04064924269914627, -0.0017957058735191822, 0.06463862955570221, -0.010750049725174904, -0.026677604764699936, -0.01195580791682005, 0.04363369196653366, 0.0579378567636013, 0.035602930933237076, -0.028717130422592163, 0.05269370600581169, 0.06223084032535553, 0.0397699698805809, -0.025568652898073196, 0.04979690536856651, 0.01577332615852356, -0.029358822852373123, -0.05046838894486427, 0.018039898946881294, 0.00250739767216146, -0.03902970254421234, 0.014878482557833195, 0.02011270821094513, 0.02064838446676731, -0.037134651094675064, -0.030962251126766205, 0.07184883952140808, 0.000024720706278458238, -0.006181803997606039, 0.00879627838730812, 0.012246552854776382, -0.026459868997335434, 0.055943094193935394, -0.009468473494052887, 0.0008452454349026084, -0.028228823095560074, -0.031139058992266655, 0.01720796898007393, 0.023254506289958954, 0.030631378293037415, 0.051592178642749786, -0.011087990365922451, 0.06142923980951309, -0.028282202780246735, 0.025824684649705887, -0.042429205030202866, -0.05150654911994934, 0.008601857349276543, 0.06286139041185379, 0.028258483856916428, 0.05615932121872902, -0.00796976312994957, -0.05118529871106148, 0.037264637649059296, 0.08020161092281342, 0.04449385777115822, 0.00338254333473742, -0.039932575076818466, -0.014115330763161182, 0.049262143671512604, 0.05588293448090553, -0.0679401382803917, -0.03460249304771423, 0.027838880196213722, 0.04980477690696716, -0.027650011703372, 0.003503203857690096, -0.014915257692337036, 0.032534241676330566, -0.060559552162885666, -0.05907813459634781, 0.04129008948802948, 0.021848488599061966, 0.01869840733706951, 0.023157358169555664, 0.008441477082669735, 0.001457366393879056, 0.027345210313796997, 0.002140380209311843, -0.009140312671661377, -0.04672614112496376, 0.01853235252201557, -0.004314915277063847, 0.025899237021803856, -0.04066667705774307, 0.033363260328769684, -0.025986146181821823, -0.0013206101721152663, 0.04690604656934738, -0.03720845654606819, 0.0027154244016855955, 0.036401666700839996, 0.038742795586586, -0.020339567214250565, -0.021892886608839035, 0.02155172824859619, 0.048399604856967926, 0.03322375938296318, -0.0027517410926520824, 0.08250011503696442, 0.005731204990297556, 0.04603540152311325, 0.07192078232765198, 0.03553984686732292, 0.018351737409830093, 0.029945414513349533, 0.09057876467704773, 0.015691928565502167, -0.005334098357707262, 0.06253574043512344, -0.05218401178717613, 0.02310343086719513, -0.035868480801582336, 0.017583681270480156, -0.0052703567780554295, -0.011479870416224003, 0.03314676135778427, 0.022827474400401115, -0.011927305720746517, -0.0019739926792681217, -0.017011770978569984, -0.019514475017786026, 0.019038880243897438, -0.015940971672534943, -0.013600790873169899, -0.0058765416033566, -0.0031348452903330326, -0.006585932802408934, -0.025569802150130272, -0.040658608078956604, -0.016422579064965248, -0.017016790807247162, -0.01604866050183773, -0.08441855758428574, -0.0316222719848156, -0.06970473378896713, -0.010661485604941845, 0.03616108000278473, 0.014987376518547535, -0.001639511901885271, -0.047937165945768356, 0.01596570946276188, -0.033076997846364975, -0.03903769701719284, -0.031107384711503983, -0.03928519785404205, -0.05245920643210411, -0.0677855983376503, 0.05207515507936478, 0.0514037124812603, 0.01516046840697527, 0.021451370790600777, 0.02118276245892048, -0.0196443572640419, -0.01200184877961874, 0.042087286710739136, 0.04244588688015938, -0.04593411087989807, -0.041722506284713745, 0.019873492419719696, -0.02029053121805191, 0.029789509251713753, -0.02833488956093788, -0.02541276067495346, 0.07845822721719742, 0.06415622681379318, -0.008572613820433617, 0.004660327453166246, -0.023039409890770912, -0.05115238577127457, -0.058720558881759644, 0.0002245026407763362, -0.03260984271764755, -0.03591904789209366, -0.04229056090116501, -0.027723610401153564, -0.01463346928358078, -0.04114104434847832, 0.008659472689032555, 0.005327162798494101, -0.002175107365474105, 0.038551636040210724, 0.03297685086727142, 0.013537752442061901, 0.0175259318202734, -0.032843366265296936, -0.044229861348867416, 0.05230758339166641, 0.00685433205217123, 0.0007452024728991091, -0.09452913701534271, -0.028018129989504814, 0.030218658968806267, 0.022250423207879066, 0.01464000903069973, 0.010839899070560932, 0.10050693899393082, 0.006572718266397715, -0.01736360974609852, 0.008386255241930485, -0.007791445590555668, -0.023904019966721535, -0.0032725222408771515, 0.011917966417968273, -0.0028897281736135483, -0.052028704434633255, -0.014153326861560345, -0.0032113867346197367, 0.046010877937078476, -0.04193617403507233, -0.05656001344323158, -0.015671761706471443, 0.03351880982518196, 0.03468521684408188, 0.009694091975688934, -0.0324094183743, -0.0018186884699389338, -0.05921269208192825, -0.009693275205790997, 0.030936473980545998, 0.021328624337911606, 0.0021811334881931543, 0.04666935279965401, 0.020282626152038574, -0.03223101794719696, 0.03855980187654495, 0.039850104600191116, 0.06106282025575638, 0.02151937037706375, -0.04625387489795685, 0.014661523513495922, -0.02283181995153427, 0.03931238502264023, -0.0006951445247977972, -0.0022434801794588566, -0.04399200156331062, -0.0888146385550499, -0.015854094177484512, 0.006014436949044466, -0.011495228856801987, -0.011469783261418343, 0.05461575463414192, -0.0305323489010334, -0.014141896739602089, -0.0074953073635697365, 0.022553101181983948, 0.04339323192834854, -0.07511631399393082, 0.04791733995079994, -0.0027761568780988455, 0.026842720806598663, -0.061309412121772766, 0.007002979516983032, -0.004638941027224064, -0.0212356299161911, 0.0013360854936763644, 0.058856427669525146, 0.011656600050628185, 0.06915164738893509, 0.06385130435228348, 0.0344013012945652, -0.049229174852371216, 0.0336490124464035, 0.05706165358424187, -0.026040172204375267, -0.039652932435274124, 0.0010207414161413908, 0.009125685319304466, -0.03364883363246918, -0.00859944149851799, -0.009004422463476658, 0.03116138093173504, 0.031704097986221313, -0.021075811237096786, 0.022430695593357086, 0.008948476985096931, -0.03064047358930111, -0.042069803923368454, -0.05047464743256569, -0.026402559131383896, -0.022597840055823326, -0.029878932982683182, 0.03371446952223778, 0.048848170787096024, -0.006780559197068214, 0.06815499067306519, 0.05452438071370125, -0.035702161490917206, -0.03831104934215546, 0.02333063818514347, 0.024303629994392395, -0.022624118253588676, -0.07193128019571304, -0.007598362397402525, 0.042040806263685226, 0.04061891883611679, 0.004591500852257013, -0.07914281636476517, 0.010576906614005566, 0.06040198728442192, -0.025183778256177902, 0.05979860946536064, 0.0038249827921390533, 0.04012960195541382, 0.047846224159002304, -0.01837666891515255, 0.04901885613799095, -0.02241569012403488, 0.015923848375678062, -0.0037434021942317486, 0.008467468433082104, -0.030704384669661522, -0.0172383114695549, -0.07133227586746216, 0.04755721986293793, 0.012611055746674538, 0.046433962881565094, 0.04508758708834648, -0.017578259110450745, -0.0652625560760498, 0.006788068450987339, 0.027637721970677376, -0.06550892442464828, 0.012597396038472652, 0.016205303370952606, 0.050574611872434616, -0.03747884929180145, -0.01660543493926525, -0.04785078391432762, -0.0016593936597928405, 0.030866090208292007, 0.007428406272083521, -0.05308321490883827, -0.0161890871822834, 0.03555670008063316, -0.012141917832195759, -0.009340779855847359, -0.09202179312705994, 0.03026985563337803, -0.016304589807987213, -0.006332181394100189, 0.02580326236784458, 0.04598897695541382, 0.02208968997001648, 0.05762040987610817, 0.02049877494573593, 0.03568320348858833, -0.0262756384909153, 0.0492413267493248, -0.04567772522568703, -0.01447857916355133, 0.002628555055707693, -0.03571121022105217, -0.018617670983076096, -0.0290563702583313, -0.041994091123342514, -0.04617512971162796, -0.02840747870504856, 0.00581028638407588, 0.00497039221227169, -0.02232508361339569, -0.01345299743115902, 0.03882855176925659, -0.04933645948767662, -0.0297026839107275, -0.03293125331401825, -0.04485013708472252, -0.06418918818235397, -0.0564308725297451, 0.029750719666481018, 0.00988764874637127, 0.0522712767124176, 0.024671712890267372, 0.012575030326843262, 0.03706783056259155, 0.004280208144336939, -0.007118760142475367, 0.03903603553771973, -0.01095123216509819, -0.02753480337560177, -0.0300116166472435, 0.00875709019601345, 0.00602703494951129, 0.037648919969797134, -0.022040564566850662, 0.044962186366319656, 0.014472962357103825, -0.008659923449158669, -0.0028270906768739223, 0.017593106254935265, 0.0035967673175036907, -0.07292870432138443, -0.04890590161085129, -0.004923099651932716, -0.04302522912621498, 0.04298722371459007, -0.021045297384262085, -0.04024503007531166, -0.015124275349080563, 0.005880841054022312, 0.03136628493666649, -0.017146416008472443, -0.03512777015566826, 0.035014212131500244, -0.029229747131466866, 0.011958770453929901, -0.05832335725426674, 0.05663636326789856, -0.05164701119065285, -0.0004041674255859107, -0.021098386496305466, -0.006996378302574158, -0.03685539960861206, 0.03560742363333702, -0.0206830445677042, -0.021050894632935524, -0.00021581162582151592, 0.043013472110033035, -0.026602063328027725, 0.046376027166843414, -0.01539900153875351, 0.025711053982377052, -0.030823929235339165, 0.07238902896642685, -0.036328040063381195, 0.010972783900797367, -0.037476375699043274, 0.018936553969979286, -0.027361853048205376, -0.013537011109292507, -0.001837612478993833, -0.028114940971136093, 0.023396926000714302, 0.06990423053503036, 0.034645892679691315, 0.030191365629434586, -0.015528558753430843, -0.01087854988873005, 0.0262458436191082, -0.04165702313184738, -0.03121795877814293, -0.014155369251966476, 0.00030792306642979383, -0.024164922535419464, 0.07351527363061905, 0.054212093353271484, -0.04606128856539726, -0.049496766179800034, 0.043033234775066376, -0.0007829933892935514, -0.005299094598740339, 0.018037427216768265, 0.025381607934832573, 0.03207484260201454, 0.04022208973765373, -0.05559733510017395, -0.002195598790422082, -0.006354456301778555, -0.041754286736249924, 0.02627876028418541, 0.02040218375623226, 0.023176632821559906, 0.018920063972473145, -0.031511735171079636, -0.016673488542437553, 0.08517181873321533, 0.013007981702685356, 0.010870477184653282, -0.0066384607926011086, -0.04360732063651085, 0.02729683741927147, -0.009871321730315685, -0.04619571566581726, 0.009339194744825363, 0.03072570636868477, -0.017210615798830986, 0.0694972574710846, -0.03665735572576523, 0.013083016499876976, 0.07617472857236862, 0.041762009263038635, -0.01591089740395546, 0.04495343193411827, -0.015604404732584953, 0.0102733438834548, 0.05322372168302536, -0.0706721842288971, 0.007812914438545704, -0.018682992085814476, 0.09473486244678497, -0.046109337359666824, 0.029981516301631927, 0.051350537687540054, 0.008755825459957123, 0.02362077683210373, -0.017972564324736595, -0.06374327093362808, 0.0010338779538869858, -0.035326868295669556, 0.08584530651569366, 0.04126773774623871, -0.05045223981142044, 0.05153905972838402, 0.0026937350630760193, -0.06932003796100616, 0.05372900143265724, 0.045706186443567276, 0.03501591831445694, 0.035080570727586746, 0.048872049897909164, -0.05154690891504288, 0.018989475443959236, -0.031041420996189117, 0.05410679802298546, -0.04964787885546684, -0.02389516681432724, 0.037762850522994995, -0.05990036949515343, -0.018390757963061333, 0.03330659866333008, -0.021332260221242905, -0.034670695662498474, 0.04726036265492439, -0.05329543352127075, -0.04897821322083473, 0.01614801399409771, 0.03572721406817436, -0.035974808037281036, 0.014443752355873585, -0.03902918100357056, 0.03910370543599129, 0.006482861004769802, 0.0003988297830801457, -0.022993121296167374, 0.009792209602892399, 0.006443781312555075, -0.079999640583992, -0.035466376692056656, 0.023056568577885628, -0.019829172641038895, 0.004202462267130613, 0.02492937073111534, 0.007941626943647861, 0.0036179444286972284, 0.02373664081096649, 0.017212646082043648, 0.023601647466421127, -0.05855396017432213, -0.000020047355064889416, 0.03469819575548172, 0.019314397126436234, 0.03274183347821236, -0.006236668676137924, 0.04833810403943062, 0.02426127903163433, 0.013930728659033775, 0.011923111975193024, -0.014074093662202358, -0.03006480634212494, 0.03507276251912117, -0.048343557864427567, 0.007947399280965328, 0.005188643466681242, -0.05328373238444328, -0.043880924582481384, -0.012331903912127018, -0.048112303018569946, 0.022556902840733528, -0.0706249326467514, 0.012715528719127178, 0.03329954668879509, -0.02963770367205143, -0.043944086879491806, -0.08894579857587814, -0.029242459684610367, -0.03884110599756241, 0.01737409457564354, 0.02005556784570217, -0.0538177527487278, 0.03205612674355507, -0.042440541088581085, -0.04489448666572571, 0.044707946479320526, 0.015327850356698036, -0.03265766799449921, 0.04141433164477348, 0.06172637641429901, -0.0376969613134861, 0.005199704319238663, 0.03376423940062523, -0.03240165486931801, 0.007000716868788004, 0.03892868012189865, 0.015749994665384293, 0.03047686628997326, 0.020898180082440376, -0.03651775047183037, -0.018725968897342682, -0.07559919357299805, -0.02871418371796608, -0.048262424767017365, 0.01349643711000681, 0.04825817048549652 ]
Arcktosh/DialoGPT-small-rick
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-12-03T02:26:05Z
--- tags: - generated_from_trainer datasets: - wmt16_en_ro_pre_processed model-index: - name: t5-tiny-random-length-96-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro 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. --> # t5-tiny-random-length-96-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro This model is a fine-tuned version of [patrickvonplaten/t5-tiny-random](https://huggingface.co/patrickvonplaten/t5-tiny-random) on the wmt16_en_ro_pre_processed 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: 1 ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.03084113448858261, -0.00912828091531992, 0.00270750536583364, 0.02400747500360012, 0.035204146057367325, 0.007629625033587217, -0.0014950030017644167, -0.009291362017393112, -0.026611967012286186, 0.056652430444955826, 0.04127531498670578, -0.028702596202492714, -0.011465133167803288, 0.053870223462581635, -0.032548774033784866, -0.019062740728259087, -0.030529309064149857, 0.0039600348100066185, -0.026549015194177628, 0.016757208853960037, 0.01290837861597538, 0.0037979406770318747, 0.004911551717668772, 0.02241530455648899, 0.009648667648434639, 0.01137595809996128, -0.00394654693081975, 0.01859247498214245, 0.010635904967784882, -0.08215316385030746, 0.011790087446570396, -0.040992800146341324, -0.03895692527294159, -0.022836919873952866, -0.011147103272378445, -0.007039953488856554, 0.0063977898098528385, -0.014733214862644672, 0.0344117097556591, 0.04562767595052719, 0.006806317251175642, 0.02299160696566105, -0.01899404078722, -0.0339314304292202, 0.05688963457942009, -0.005639091599732637, -0.06349702924489975, 0.0005186682101339102, 0.038278400897979736, -0.028939932584762573, -0.06808336824178696, -0.058582957834005356, -0.021721486002206802, 0.01565396599471569, -0.02403401955962181, -0.020044958218932152, -0.07874154299497604, -0.00677422434091568, 0.07481128722429276, -0.04298356920480728, -0.016679229214787483, 0.013457268476486206, -0.07156188040971756, 0.02487349696457386, 0.042819879949092865, -0.014476856216788292, 0.01472463458776474, -0.04167146980762482, 0.038842447102069855, -0.008793403394520283, 0.05636539310216904, -0.011544615961611271, -0.0061749680899083614, -0.09433479607105255, -0.02102651633322239, -0.018635079264640808, 0.02485152892768383, 0.043796297162771225, -0.05074296146631241, 0.03910059854388237, 0.049291450530290604, 0.0007101385854184628, 0.05453090742230415, -0.03761815279722214, -0.0053169517777860165, 0.03977411985397339, -0.032280392944812775, 0.00019487932149786502, -0.019856829196214676, 0.045859791338443756, -0.029900114983320236, -0.01478305272758007, -0.04436560720205307, -0.03738884627819061, -0.02932092174887657, 0.036575671285390854, 0.036869440227746964, -0.004330736119300127, 0.03939571976661682, 0.019160160794854164, 0.050299812108278275, 0.05258389189839363, -0.0076456316746771336, 0.05496760457754135, 0.001957449596375227, -0.023550566285848618, -0.002520534675568342, -0.04247477650642395, -0.02896645851433277, 0.048959773033857346, 0.00873421411961317, -0.03599705919623375, -0.03550906479358673, 0.03669944405555725, -0.0033760929945856333, -0.02116687223315239, 0.06545817106962204, -0.017871737480163574, -0.04468921571969986, -0.029253939166665077, 0.04289233684539795, 0.007043093908578157, 0.01793568767607212, -0.005282911937683821, -0.04740589112043381, -0.012562076561152935, -0.03242707625031471, -0.035031646490097046, -0.011266778223216534, 0.007423185743391514, 0.004584447480738163, 0.04916950687766075, 0.03681560978293419, -0.04519856348633766, -0.020419001579284668, 0.019112735986709595, -0.043773993849754333, 0.06884022802114487, 0.019663793966174126, 0.09949856251478195, -0.05649624764919281, -0.07563801109790802, 0.002908585360273719, -0.005824725609272718, -0.029581163078546524, 0.014442341402173042, 0.01289352960884571, -0.06583045423030853, -0.014316176064312458, 0.004461646545678377, 0.03667702153325081, -0.03931291401386261, -0.006844155490398407, 0.03547852858901024, 0.016590755432844162, 0.013497418724000454, -0.06267733126878738, -0.025897208601236343, 0.006898883264511824, 0.008359624072909355, -0.0347260981798172, 0.030436841771006584, -0.003559525590389967, 0.0011916107032448053, -0.03892968222498894, -0.0394056960940361, 0.0014846462290734053, 0.06960353255271912, -0.004623765591531992, -0.031228629872202873, -0.010914466343820095, 0.04236135631799698, 0.05759008973836899, 0.04852984845638275, -0.03272116184234619, 0.061825260519981384, 0.05563051253557205, 0.04114316776394844, -0.018594473600387573, 0.03460970148444176, 0.01770945079624653, -0.025754161179065704, -0.03723561763763428, 0.02470027655363083, 0.009775056503713131, -0.05613703653216362, 0.008539126254618168, 0.024861758574843407, 0.012716374360024929, -0.04440971091389656, -0.02349603734910488, 0.06076525151729584, 0.0049532135017216206, -0.0006437547854147851, 0.008730580098927021, -0.008363558910787106, -0.02055182494223118, 0.038295213133096695, -0.009292610920965672, 0.0018393489299342036, -0.026751799508929253, -0.027906246483325958, 0.005933351814746857, 0.02020464837551117, 0.03280159831047058, 0.05610889941453934, -0.02375701814889908, 0.059973616153001785, -0.022701198235154152, 0.015128200873732567, -0.042378056794404984, -0.047150950878858566, 0.01683521270751953, 0.06437686830759048, 0.02743162401020527, 0.03846968337893486, 0.009587783366441727, -0.04864911362528801, 0.03301367908716202, 0.0676945224404335, 0.040972210466861725, 0.005946426186710596, -0.03516734018921852, -0.007687302306294441, 0.03489124774932861, 0.059876713901758194, -0.0660703033208847, -0.010372726246714592, 0.014019411988556385, 0.03778316453099251, -0.017363598570227623, 0.0163606945425272, -0.01600804179906845, 0.023336617276072502, -0.07582265138626099, -0.047658201307058334, 0.030869364738464355, 0.012965071946382523, 0.008120697923004627, 0.02277599647641182, -0.00802060030400753, 0.017501631751656532, 0.018215889111161232, -0.008265596814453602, -0.0020857087802141905, -0.05176043510437012, 0.013931388035416603, 0.002535137115046382, 0.023262450471520424, -0.04750242456793785, 0.025585712864995003, -0.01895883120596409, -0.009295378811657429, 0.057774584740400314, -0.05363524705171585, 0.0006243724492378533, 0.03752017021179199, 0.05568519979715347, -0.028331458568572998, 0.020864225924015045, 0.022395001724362373, 0.048341263085603714, 0.030756689608097076, 0.009836508892476559, 0.06718830019235611, -0.003318123985081911, 0.040667999535799026, 0.08423589915037155, 0.020284583792090416, 0.025149572640657425, 0.03858691453933716, 0.08639747649431229, 0.02418348751962185, -0.000826854957267642, 0.06890854984521866, -0.05166967958211899, 0.009166067466139793, -0.04183424264192581, 0.01016267854720354, -0.028816035017371178, -0.010334884747862816, 0.03736191987991333, 0.015940679237246513, -0.015256105922162533, -0.007268175948411226, -0.03293701633810997, -0.02679215930402279, 0.021825550124049187, -0.01257835328578949, -0.024880418553948402, -0.010872232727706432, -0.01284854393452406, -0.005580945871770382, -0.04456109181046486, -0.034010350704193115, -0.02498587965965271, -0.012859877198934555, -0.02063043974339962, -0.08009885996580124, -0.029175110161304474, -0.06902698427438736, -0.033673156052827835, 0.031714290380477905, 0.008349563926458359, -0.005475353915244341, -0.05236032232642174, 0.013943354599177837, -0.03602143004536629, -0.05037940293550491, -0.05010881647467613, -0.049645308405160904, -0.040800321847200394, -0.08833722770214081, 0.0542338527739048, 0.04225623235106468, 0.025151334702968597, 0.020154273137450218, 0.026797372847795486, -0.014873030595481396, -0.013170823454856873, 0.04610775411128998, 0.044655267149209976, -0.0506780780851841, -0.05814815312623978, 0.022119207307696342, 0.002572060562670231, 0.010683771222829819, -0.01799769140779972, -0.02536688558757305, 0.07981529086828232, 0.0723194032907486, 0.005457451567053795, 0.025900695472955704, -0.013421135023236275, -0.053452372550964355, -0.061060186475515366, -0.0035114509519189596, -0.022931670770049095, -0.01737351156771183, -0.040463171899318695, -0.03821664676070213, -0.011670759879052639, -0.04158390313386917, 0.00404246523976326, 0.00023152623907662928, 0.004731034394353628, 0.029178591445088387, 0.057358477264642715, 0.026697715744376183, 0.00937001034617424, -0.0246600229293108, -0.04038713499903679, 0.037791088223457336, -0.0010407781228423119, -0.028932815417647362, -0.09714706242084503, -0.03354499489068985, 0.040466371923685074, 0.027313264086842537, 0.015560965985059738, 0.018869217485189438, 0.07548674941062927, -0.0031222954858094454, -0.02717091143131256, 0.02498231828212738, -0.013881154358386993, 0.0034998999908566475, -0.007220885716378689, 0.011857984587550163, -0.002197805093601346, -0.0415557399392128, -0.01644277386367321, -0.016409622505307198, 0.044810548424720764, -0.04746142774820328, -0.05516759306192398, -0.0171097069978714, 0.03052532486617565, 0.03768166899681091, 0.010314414277672768, -0.05016551539301872, -0.009880791418254375, -0.06286898255348206, -0.001367364195175469, 0.04455506056547165, 0.020432202145457268, 0.026466479524970055, 0.036760881543159485, 0.0207979679107666, -0.019720643758773804, 0.042208101600408554, 0.03421077877283096, 0.05667402967810631, 0.020363271236419678, -0.04424681514501572, -0.0017131497152149677, -0.030089428648352623, 0.02873048558831215, 0.00037953321589156985, -0.005060473456978798, -0.036297839134931564, -0.08975081890821457, -0.020118478685617447, 0.005189393647015095, -0.01995639130473137, -0.019181644544005394, 0.05190601572394371, -0.007619681302458048, -0.027239160612225533, -0.002140482421964407, 0.02985772304236889, 0.054904576390981674, -0.06325490027666092, 0.04355999454855919, 0.01811518706381321, 0.023026658222079277, -0.04872148483991623, 0.00628172792494297, -0.0149842519313097, -0.014591777697205544, 0.00160017772577703, 0.05902509391307831, 0.013916204683482647, 0.0701412707567215, 0.07205270230770111, 0.02161742001771927, -0.053350698202848434, 0.034505587071180344, 0.07806580513715744, -0.016491618007421494, -0.042805321514606476, 0.005313546396791935, -0.021656209602952003, -0.03361399099230766, -0.014082466252148151, -0.014063273556530476, 0.03996768221259117, 0.05482672154903412, -0.006879508960992098, 0.028866803273558617, 0.011092349886894226, -0.003635674249380827, -0.04924004524946213, -0.042409468442201614, -0.017412874847650528, -0.00012747057189699262, -0.03403812646865845, 0.015042154118418694, 0.03490372374653816, 0.00939825177192688, 0.05650949105620384, 0.04494438320398331, -0.049869172275066376, -0.044702500104904175, 0.017538374289870262, 0.018506750464439392, -0.022113211452960968, -0.07015375047922134, -0.011098532937467098, 0.02893386408686638, 0.04507805407047272, -0.00530210230499506, -0.07192737609148026, 0.011376586742699146, 0.03809909150004387, -0.033328305929899216, 0.05681564286351204, -0.007594749331474304, 0.03534601628780365, 0.05487264692783356, -0.01589887961745262, 0.04896597936749458, -0.024786576628684998, 0.009695776738226414, -0.003471063682809472, 0.01516078133136034, -0.014424013905227184, -0.03599958494305611, -0.07086917012929916, 0.026627760380506516, 0.01279141753911972, 0.051510825753211975, 0.043252650648355484, -0.01971583440899849, -0.06636443734169006, 0.02434408850967884, 0.029946796596050262, -0.04137856140732765, 0.02056827023625374, 0.023189932107925415, 0.03625461831688881, -0.031382109969854355, -0.032253094017505646, -0.035873014479875565, -0.005269323475658894, 0.03219036012887955, -0.0005378352361731231, -0.04804382845759392, -0.023796705529093742, 0.04364950582385063, -0.013492625206708908, -0.00416664220392704, -0.08149941265583038, 0.03311283513903618, -0.0137485945597291, -0.008118252269923687, 0.03661874681711197, 0.04286627471446991, 0.019448010250926018, 0.056459274142980576, 0.03239552676677704, 0.05078088119626045, -0.02474028989672661, 0.04238177835941315, -0.05463768169283867, -0.0015158419264480472, 0.007864262908697128, -0.03917646408081055, -0.03184661269187927, -0.03044799156486988, -0.06499376147985458, -0.04198512062430382, -0.022379614412784576, -0.011404131539165974, 0.0011432144092395902, -0.01139989122748375, 0.0038488181307911873, 0.04295291006565094, -0.042634010314941406, -0.02712070755660534, -0.030409881845116615, -0.03166431188583374, -0.07087992131710052, -0.05570846423506737, 0.03216596692800522, 0.021595727652311325, 0.05344283580780029, 0.013045023195445538, 0.011205878108739853, 0.03131498396396637, 0.004767445381730795, -0.004341749008744955, 0.014943847432732582, -0.005625722464174032, -0.016283275559544563, -0.016553590074181557, 0.018567966297268867, 0.009362274780869484, 0.02913726679980755, -0.017292127013206482, 0.05873417109251022, 0.023517638444900513, 0.017608799040317535, -0.01520500611513853, 0.018746139481663704, -0.0021989753004163504, -0.07970497757196426, -0.01938331499695778, 0.015351747162640095, -0.0440807119011879, 0.017737509682774544, -0.04385749623179436, -0.026325084269046783, -0.00276319682598114, 0.0014072525082156062, 0.026484789326786995, -0.022832291200757027, -0.029347090050578117, 0.042202722281217575, -0.044953539967536926, 0.025330733507871628, -0.04571821913123131, 0.0440775491297245, -0.028286313638091087, 0.01256947498768568, -0.027292128652334213, 0.00745198642835021, -0.035800665616989136, 0.03443795442581177, -0.02588234469294548, -0.01924760639667511, -0.005009482614696026, 0.04740791395306587, -0.02332427352666855, 0.04346240684390068, -0.01657821238040924, 0.020757507532835007, -0.028320664539933205, 0.07858341932296753, -0.030043352395296097, 0.025983216241002083, -0.05344497784972191, 0.012122562155127525, -0.030459409579634666, -0.01923527754843235, -0.0004314928373787552, -0.0212173480540514, 0.03894922509789467, 0.06413932144641876, 0.04982173815369606, 0.03179512545466423, -0.02272334322333336, -0.024396900087594986, 0.018011372536420822, -0.05465774983167648, -0.048808105289936066, -0.02109246514737606, -0.007322731893509626, -0.0016001998446881771, 0.057354386895895004, 0.05871492624282837, -0.03575440123677254, -0.05550149828195572, 0.03853241726756096, 0.00917874090373516, 0.0019113434245809913, 0.014691883698105812, 0.033084969967603683, 0.008972669951617718, 0.044994041323661804, -0.045104216784238815, 0.007092771120369434, -0.01039611455053091, -0.02865053527057171, 0.04430016875267029, 0.006610159762203693, 0.03292621299624443, 0.007964607328176498, -0.046280354261398315, -0.017833247780799866, 0.07286251336336136, 0.02982424572110176, 0.033690232783555984, -0.003262314246967435, -0.042929090559482574, 0.04678837209939957, -0.0013368810759857297, -0.04694515839219093, 0.02445247210562229, 0.04074261710047722, -0.01608407311141491, 0.07167483866214752, -0.01766308955848217, -0.003414965234696865, 0.04453268274664879, 0.04743688181042671, -0.012974463403224945, 0.05505264922976494, -0.03360115364193916, 0.017019355669617653, 0.04735516011714935, -0.059524960815906525, 0.00016220254474319518, -0.022198570892214775, 0.08892212808132172, -0.03832055255770683, 0.03616219758987427, 0.05195862427353859, 0.013088683597743511, 0.011274208314716816, -0.025118065997958183, -0.06170284003019333, -0.009838936850428581, -0.04275575280189514, 0.07923899590969086, 0.017034564167261124, -0.05607721954584122, 0.0669550746679306, -0.006629356183111668, -0.06353060901165009, 0.048563260585069656, 0.030724981799721718, 0.04343581944704056, 0.042337123304605484, 0.04967330023646355, -0.04145011678338051, 0.010346204042434692, -0.035544928163290024, 0.04169546812772751, -0.04420020058751106, -0.026050060987472534, 0.041285205632448196, -0.047479789704084396, -0.02734932117164135, 0.04774695262312889, -0.013993503525853157, -0.016252262517809868, 0.05672525241971016, -0.05440090224146843, -0.04048895835876465, 0.010998638346791267, 0.012713163159787655, -0.029053134843707085, 0.0029756410513073206, -0.029800215736031532, 0.043187715113162994, 0.01610080897808075, -0.0035213823430240154, -0.02247597463428974, 0.007970772683620453, 0.01878766156733036, -0.06414493173360825, -0.03475114703178406, 0.012288413941860199, -0.02005727030336857, -0.008094919845461845, 0.03847711905837059, -0.0012607465032488108, 0.023347942158579826, 0.0135047547519207, 0.020108718425035477, 0.040736060589551926, -0.05130922794342041, -0.01199046429246664, 0.02584252506494522, 0.024490777403116226, 0.04066537693142891, -0.0007289518835023046, 0.05221211165189743, 0.031082361936569214, 0.019306162372231483, -0.002019573235884309, -0.019519861787557602, -0.027428127825260162, 0.02703472413122654, -0.03820675238966942, 0.0115236546844244, 0.005676391534507275, -0.04423006623983383, -0.0472186803817749, -0.023412559181451797, -0.04967145621776581, 0.028644021600484848, -0.06687808036804199, 0.009906088933348656, 0.03985973820090294, 0.0019084762316197157, -0.04714417830109596, -0.09268344193696976, -0.03671204671263695, -0.0448022224009037, 0.003333458211272955, 0.024149587377905846, -0.05355686694383621, 0.044049009680747986, -0.0368364192545414, -0.05319901555776596, 0.044502075761556625, 0.021683666855096817, -0.046669166535139084, 0.0432988703250885, 0.053042300045490265, -0.024756858125329018, -0.008105801418423653, 0.020594077184796333, -0.04380299896001816, 0.008970770984888077, 0.025170378386974335, -0.004483800381422043, 0.03188886120915413, 0.009625231847167015, -0.03803257271647453, -0.01984325423836708, -0.0713571086525917, -0.02729024924337864, -0.045147817581892014, 0.020150192081928253, 0.052161384373903275 ]
ArenaGrenade/char-cnn
[]
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: - generated_from_trainer datasets: - wmt16_en_ro_pre_processed metrics: - bleu model-index: - name: t5-tiny-random-length-96-learning_rate-2e-05-weight_decay-0.02-finetuned-en-to-ro results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: wmt16_en_ro_pre_processed type: wmt16_en_ro_pre_processed args: enro metrics: - name: Bleu type: bleu value: 0.0002 --- <!-- 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-tiny-random-length-96-learning_rate-2e-05-weight_decay-0.02-finetuned-en-to-ro This model is a fine-tuned version of [patrickvonplaten/t5-tiny-random](https://huggingface.co/patrickvonplaten/t5-tiny-random) on the wmt16_en_ro_pre_processed dataset. It achieves the following results on the evaluation set: - Loss: 6.4854 - Bleu: 0.0002 - Gen Len: 9.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: 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 | Bleu | Gen Len | |:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:| | 6.2568 | 1.0 | 76290 | 6.4854 | 0.0002 | 9.0 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.02396003156900406, -0.0024613277055323124, -0.0016582284588366747, 0.04372338578104973, 0.029372477903962135, 0.0023171287029981613, -0.005960097536444664, -0.020343801006674767, -0.025860773399472237, 0.06101116165518761, 0.01437416858971119, -0.03493544086813927, -0.02872977778315544, 0.04802856966853142, -0.03219621255993843, -0.017594581469893456, -0.029259996488690376, -0.004157732706516981, -0.0263229887932539, 0.011990709230303764, 0.00015706838166806847, 0.0024812687188386917, 0.002842162735760212, 0.014047051779925823, 0.006838987115770578, 0.010734223760664463, -0.024065742269158363, 0.010584038682281971, 0.007970131002366543, -0.07817024737596512, -0.0029251161031425, -0.026727285236120224, -0.04760652780532837, -0.007631644140928984, -0.0019667029846459627, -0.00726940855383873, 0.00450549554079771, -0.007991218939423561, 0.023829583078622818, 0.04808798059821129, 0.015956806018948555, 0.02000713162124157, -0.03254455327987671, -0.029859591275453568, 0.03731265664100647, -0.007245616056025028, -0.05372462421655655, -0.00009980220056604594, 0.029419684782624245, -0.02845733053982258, -0.08268502354621887, -0.04940337687730789, 0.0002855093334801495, 0.01708042062819004, -0.015642020851373672, -0.033147696405649185, -0.07369758188724518, 0.010974527336657047, 0.08230001479387283, -0.036836668848991394, -0.036153919994831085, 0.02005190961062908, -0.05912845581769943, 0.014422263950109482, 0.028990354388952255, -0.041592568159103394, 0.0001676122919889167, -0.04445898160338402, 0.03383049741387367, -0.008207217790186405, 0.05094357207417488, -0.017746776342391968, -0.012965206056833267, -0.08667542040348053, -0.015458122827112675, -0.00012234767200425267, 0.031463515013456345, 0.050090909004211426, -0.039341267198324203, 0.04022857919335365, 0.04388691857457161, -0.01568860560655594, 0.052719078958034515, -0.016703663393855095, -0.005398481152951717, 0.02826891466975212, -0.03613368794322014, 0.0070365360006690025, 0.003514530137181282, 0.027109796181321144, -0.01854669861495495, -0.01864190772175789, -0.03506453335285187, -0.03030700981616974, -0.017919285222887993, 0.03226809948682785, 0.03205093368887901, -0.007833881303668022, 0.03767292574048042, 0.018425660207867622, 0.01096990518271923, 0.04779637232422829, -0.010273070074617863, 0.06213747709989548, -0.0029876092448830605, -0.0076972004026174545, 0.0003820890560746193, -0.03541249781847, -0.04198186472058296, 0.02728894166648388, 0.020138254389166832, -0.03238118439912796, -0.04410787299275398, 0.051341332495212555, -0.013742296025156975, -0.029242107644677162, 0.051592834293842316, -0.01467997208237648, -0.05223769322037697, -0.054483260959386826, 0.03366526588797569, 0.009246347472071648, 0.017451006919145584, 0.008154695853590965, -0.06393534690141678, -0.002906307578086853, -0.029376685619354248, -0.04318840429186821, -0.021143363788723946, 0.012657610699534416, -0.008917625993490219, 0.05682109668850899, 0.01321862731128931, -0.05397236719727516, -0.011646822094917297, -0.003286095568910241, -0.05732491612434387, 0.05975694954395294, 0.022554585710167885, 0.1010260134935379, -0.04818312078714371, -0.0748317614197731, 0.009463446214795113, 0.001464509405195713, -0.040587473660707474, 0.01364422682672739, -0.0031615588814020157, -0.05148652195930481, -0.006954103242605925, 0.005662763956934214, 0.03693440556526184, -0.04853499308228493, -0.0088049853220582, 0.04413754492998123, 0.018438957631587982, 0.03077377751469612, -0.07247612625360489, -0.03725161775946617, 0.011404640972614288, -0.004823819734156132, -0.01689673587679863, 0.015003412030637264, -0.01391582190990448, -0.010236306115984917, -0.042702630162239075, -0.041140854358673096, -0.0026022279635071754, 0.06383636593818665, -0.010056269355118275, -0.026727190241217613, -0.01145522017031908, 0.04299667477607727, 0.05674280598759651, 0.03700815886259079, -0.0295857023447752, 0.050811730325222015, 0.062034934759140015, 0.039214760065078735, -0.026711665093898773, 0.049974098801612854, 0.016260197386145592, -0.02867177501320839, -0.0498553141951561, 0.019432319328188896, 0.0031990495044738054, -0.04044168069958687, 0.013959166593849659, 0.022399306297302246, 0.02104598470032215, -0.03681951016187668, -0.03139693662524223, 0.07335744798183441, -0.00008083308057393879, -0.0054925549775362015, 0.007724579423666, 0.013173514977097511, -0.025427551940083504, 0.057430170476436615, -0.009761977009475231, 0.0013871316332370043, -0.027198486030101776, -0.02931158058345318, 0.0162364449352026, 0.0250704362988472, 0.031239712610840797, 0.050969209522008896, -0.011908255517482758, 0.06303877383470535, -0.027312317863106728, 0.02538968436419964, -0.04167152941226959, -0.052112702280282974, 0.00984940119087696, 0.06167341768741608, 0.029524095356464386, 0.05565381050109863, -0.009100099094212055, -0.050738375633955, 0.03757225349545479, 0.07968631386756897, 0.042854052037000656, 0.0056283739395439625, -0.03937486931681633, -0.014019467867910862, 0.05042253062129021, 0.055019162595272064, -0.06812529265880585, -0.03401578217744827, 0.028876347467303276, 0.050150398164987564, -0.028923820704221725, 0.0026875105686485767, -0.014394272118806839, 0.03272093087434769, -0.057581689208745956, -0.05906907096505165, 0.041199494153261185, 0.022911202162504196, 0.01840902492403984, 0.02324213832616806, 0.008750947192311287, 0.0018471386283636093, 0.027017943561077118, 0.0017440340016037226, -0.007874816656112671, -0.046887245029211044, 0.019789479672908783, -0.002344817854464054, 0.02762294001877308, -0.04008776694536209, 0.03349236398935318, -0.024229716509580612, -0.002014963887631893, 0.04539398476481438, -0.03550511598587036, 0.0009152237907983363, 0.03732006624341011, 0.041174620389938354, -0.018719984218478203, -0.019966943189501762, 0.02102944627404213, 0.0466514527797699, 0.03294036537408829, -0.003907304722815752, 0.08460019528865814, 0.005607197992503643, 0.04499501734972, 0.07252637296915054, 0.036340080201625824, 0.018966281786561012, 0.029836108908057213, 0.09054069966077805, 0.016923505812883377, -0.006000371649861336, 0.062481559813022614, -0.052992817014455795, 0.021696820855140686, -0.03561832383275032, 0.017812395468354225, -0.005699174478650093, -0.012559760361909866, 0.03339163959026337, 0.02328328602015972, -0.010215572081506252, -0.0008943624561652541, -0.01502484455704689, -0.019683144986629486, 0.018384667113423347, -0.015031056478619576, -0.014067643322050571, -0.00534359086304903, -0.004077838733792305, -0.005961191840469837, -0.026663759723305702, -0.04243939369916916, -0.01581888273358345, -0.014721134677529335, -0.016175242140889168, -0.083770252764225, -0.031467605382204056, -0.07109325379133224, -0.009870871901512146, 0.035480350255966187, 0.015560452826321125, 0.001127726281993091, -0.046117883175611496, 0.016471203416585922, -0.03338225930929184, -0.038902074098587036, -0.03118206188082695, -0.03903216868638992, -0.05111588165163994, -0.06971331685781479, 0.05376147851347923, 0.049852099269628525, 0.015134328976273537, 0.02215537615120411, 0.021887559443712234, -0.019416719675064087, -0.014481749385595322, 0.04326704144477844, 0.04166810214519501, -0.04684834182262421, -0.04314076527953148, 0.020122142508625984, -0.01960091106593609, 0.029217304661870003, -0.02752489410340786, -0.02587643265724182, 0.07780693471431732, 0.06349645555019379, -0.008756123483181, 0.005235097836703062, -0.022825486958026886, -0.05084550380706787, -0.0577891580760479, -0.000017642940292716958, -0.03202272579073906, -0.03591427579522133, -0.04010704904794693, -0.027797380462288857, -0.013746584765613079, -0.04243108257651329, 0.008555261418223381, 0.004522617906332016, -0.004637499339878559, 0.03859288990497589, 0.03265935182571411, 0.013535038568079472, 0.016748884692788124, -0.03152491897344589, -0.04132011532783508, 0.052125487476587296, 0.00915539637207985, 0.0018182042986154556, -0.09372164309024811, -0.026493921875953674, 0.030319567769765854, 0.022991061210632324, 0.013709399849176407, 0.010284220799803734, 0.09942589700222015, 0.008174585178494453, -0.01794244349002838, 0.008041325025260448, -0.00890476442873478, -0.021445270627737045, -0.003166885580867529, 0.011165453121066093, -0.004095661453902721, -0.05281590297818184, -0.01557100098580122, -0.003372183069586754, 0.043673302978277206, -0.04046351835131645, -0.05562448874115944, -0.01484510488808155, 0.03487535938620567, 0.03533945977687836, 0.008100802078843117, -0.03199083358049393, -0.0018734832992777228, -0.05932264029979706, -0.008416691794991493, 0.03221624717116356, 0.02117547206580639, 0.0014065285213291645, 0.04767896607518196, 0.020128291100263596, -0.033129699528217316, 0.0400945320725441, 0.03854545205831528, 0.0604674406349659, 0.021420618519186974, -0.046273961663246155, 0.01400644239038229, -0.0230273324996233, 0.03777581825852394, 0.002024480840191245, -0.001521990867331624, -0.04497833922505379, -0.0867171436548233, -0.015993012115359306, 0.007131157908588648, -0.011089670471847057, -0.011639327742159367, 0.05418257415294647, -0.029010789468884468, -0.01570238545536995, -0.007656898349523544, 0.02323276922106743, 0.04432513937354088, -0.07367008924484253, 0.046578072011470795, -0.0033669029362499714, 0.026822391897439957, -0.060344595462083817, 0.0066963667050004005, -0.003625986399129033, -0.019329935312271118, 0.0013439565664157271, 0.05725880339741707, 0.011868959292769432, 0.06860890984535217, 0.06415872275829315, 0.0336143858730793, -0.04770005866885185, 0.03400932997465134, 0.05736461654305458, -0.02723207138478756, -0.03777213394641876, 0.0003895815461874008, 0.008202622644603252, -0.033828604966402054, -0.009116915985941887, -0.009198120795190334, 0.032427430152893066, 0.03276125341653824, -0.022568564862012863, 0.02163815312087536, 0.009880634024739265, -0.02910183183848858, -0.04088065028190613, -0.05134471133351326, -0.02462448738515377, -0.024322248995304108, -0.029644569382071495, 0.032502926886081696, 0.04955671355128288, -0.006121991202235222, 0.06978362053632736, 0.05366199091076851, -0.03577909246087074, -0.03904636576771736, 0.02352789230644703, 0.02474711276590824, -0.023932648822665215, -0.07128848135471344, -0.006820729002356529, 0.04045265540480614, 0.040404126048088074, 0.0024321635719388723, -0.07974057644605637, 0.010112910531461239, 0.06117639318108559, -0.02532050758600235, 0.060585539788007736, 0.004018457606434822, 0.03933236747980118, 0.0477718748152256, -0.017389055341482162, 0.04949232190847397, -0.022299354895949364, 0.014525137841701508, -0.004816135391592979, 0.010111247189342976, -0.030278027057647705, -0.016814056783914566, -0.06979425996541977, 0.047611746937036514, 0.0119997039437294, 0.044489242136478424, 0.044451843947172165, -0.01696130819618702, -0.06676825135946274, 0.006960331927984953, 0.02785114012658596, -0.06645824015140533, 0.013749293051660061, 0.016042295843362808, 0.04993974417448044, -0.03758038580417633, -0.015288075432181358, -0.047394029796123505, -0.0004103680548723787, 0.030365098267793655, 0.006662307307124138, -0.0513065941631794, -0.015556403435766697, 0.03510190546512604, -0.010134070180356503, -0.008626962080597878, -0.09203944355249405, 0.03158530220389366, -0.015752380713820457, -0.006044220179319382, 0.025951756164431572, 0.04790852591395378, 0.022169217467308044, 0.057660575956106186, 0.019568536430597305, 0.03670588135719299, -0.026973893865942955, 0.049896489828825, -0.045261017978191376, -0.01428297720849514, 0.003285464597865939, -0.03758109360933304, -0.01901182159781456, -0.031035447493195534, -0.043833471834659576, -0.04748816043138504, -0.029320714995265007, 0.005564195103943348, 0.005003137979656458, -0.020141728222370148, -0.013719663955271244, 0.039646558463573456, -0.04819401353597641, -0.03058040328323841, -0.033539772033691406, -0.04603927955031395, -0.06473102420568466, -0.05604233965277672, 0.029802564531564713, 0.009934980422258377, 0.054568979889154434, 0.0242918748408556, 0.012468096800148487, 0.038083747029304504, 0.00390534452162683, -0.007159020751714706, 0.03933238610625267, -0.010824481025338173, -0.026814451441168785, -0.029852356761693954, 0.00802854634821415, 0.006434340495616198, 0.03852299228310585, -0.022692328318953514, 0.04455363750457764, 0.014434589073061943, -0.00700134364888072, -0.002390103181824088, 0.01652705855667591, 0.0017260009190067649, -0.07400447875261307, -0.048047471791505814, -0.006797569338232279, -0.0410294309258461, 0.04303668066859245, -0.019687557592988014, -0.03941754996776581, -0.013513513840734959, 0.005629262886941433, 0.029228802770376205, -0.0185586865991354, -0.03633510321378708, 0.03730093315243721, -0.028930360451340675, 0.010781960561871529, -0.058934085071086884, 0.05788678303360939, -0.050327934324741364, 0.0005922506097704172, -0.02126704715192318, -0.007392578292638063, -0.037418656051158905, 0.03674127534031868, -0.019745348021388054, -0.022495973855257034, -0.0005212511168792844, 0.04344617947936058, -0.026098327711224556, 0.04833463951945305, -0.01472676731646061, 0.024189507588744164, -0.03141651675105095, 0.07094184309244156, -0.03650627285242081, 0.012470103800296783, -0.03579106554389, 0.019945692270994186, -0.026563610881567, -0.01492039579898119, -0.001704439171589911, -0.028712192550301552, 0.022809822112321854, 0.07039961218833923, 0.03381273150444031, 0.02913692407310009, -0.015931708738207817, -0.010087096132338047, 0.026712553575634956, -0.04236041009426117, -0.03283875435590744, -0.012776530347764492, 0.002671772614121437, -0.024525627493858337, 0.07292090356349945, 0.053022708743810654, -0.04630817472934723, -0.049385447055101395, 0.04352826997637749, -0.0016144660767167807, -0.004760434851050377, 0.01641017012298107, 0.027366073802113533, 0.032094065099954605, 0.039696864783763885, -0.05746762827038765, -0.0017044413834810257, -0.006877203471958637, -0.041155535727739334, 0.026036422699689865, 0.020563416182994843, 0.023347679525613785, 0.01906946487724781, -0.03167209029197693, -0.016164010390639305, 0.08570876717567444, 0.013882617466151714, 0.01170231495052576, -0.0072886343114078045, -0.044633399695158005, 0.025957202538847923, -0.011021271347999573, -0.044466204941272736, 0.008460337296128273, 0.03071378357708454, -0.017099767923355103, 0.06791026890277863, -0.03722303360700607, 0.011704007163643837, 0.07583879679441452, 0.0417931042611599, -0.015276684425771236, 0.044491034001111984, -0.015597888268530369, 0.010318458080291748, 0.05399772897362709, -0.07030032575130463, 0.008643025532364845, -0.01828824169933796, 0.09423156082630157, -0.04410108923912048, 0.029757868498563766, 0.051122136414051056, 0.01015783753246069, 0.023792298510670662, -0.01868281699717045, -0.06286661326885223, -0.0010760476579889655, -0.03612283244729042, 0.08689296990633011, 0.04260765761137009, -0.053479768335819244, 0.05159231647849083, 0.0010916590690612793, -0.06895286589860916, 0.052114326506853104, 0.045591384172439575, 0.033913157880306244, 0.03343307971954346, 0.04801657423377037, -0.05146041512489319, 0.018947113305330276, -0.030523313209414482, 0.053046561777591705, -0.05014927312731743, -0.02451336570084095, 0.037991590797901154, -0.06052811071276665, -0.01750752329826355, 0.033227190375328064, -0.021911462768912315, -0.034616339951753616, 0.04685123264789581, -0.05341404676437378, -0.04919753968715668, 0.017097584903240204, 0.03579229861497879, -0.03503059595823288, 0.014679109677672386, -0.03965162858366966, 0.039019640535116196, 0.006358602084219456, 0.002200111048296094, -0.021000776439905167, 0.009825417771935463, 0.006988287437707186, -0.08133719861507416, -0.034952741116285324, 0.020824994891881943, -0.01929531618952751, 0.0038834705483168364, 0.025366676971316338, 0.0067038568668067455, 0.0039345212280750275, 0.023377535864710808, 0.017980681732296944, 0.023176563903689384, -0.05962410196661949, 0.0007182718254625797, 0.034893911331892014, 0.01897529512643814, 0.032652854919433594, -0.007557988166809082, 0.04780110344290733, 0.024346495047211647, 0.013684343546628952, 0.011432734318077564, -0.014813621528446674, -0.029221653938293457, 0.03505029156804085, -0.04737018793821335, 0.010184946469962597, 0.0035349647514522076, -0.0543520525097847, -0.043208424001932144, -0.013015645556151867, -0.04823622480034828, 0.02283228375017643, -0.07051938027143478, 0.013193119317293167, 0.03330535441637039, -0.027955789119005203, -0.04410199448466301, -0.08839572221040726, -0.029786057770252228, -0.037329141050577164, 0.016708943992853165, 0.019221102818846703, -0.05256987363100052, 0.03223245218396187, -0.040785279124975204, -0.047777291387319565, 0.04304981604218483, 0.015204809606075287, -0.033009130507707596, 0.042416468262672424, 0.0633833259344101, -0.03624971956014633, 0.005718385335057974, 0.03456742316484451, -0.03273439407348633, 0.008492203429341316, 0.03940568491816521, 0.01570441760122776, 0.02854965254664421, 0.02153775840997696, -0.036830902099609375, -0.020325496792793274, -0.07511719316244125, -0.027797510847449303, -0.04942675307393074, 0.013975022360682487, 0.04783802479505539 ]
AriakimTaiyo/DialoGPT-medium-Kumiko
[ "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
2021-11-30T13:59:00Z
--- tags: - generated_from_trainer datasets: - wmt16_en_ro_pre_processed metrics: - bleu model-index: - name: tiny-mbart-length-128-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: wmt16_en_ro_pre_processed type: wmt16_en_ro_pre_processed args: enro metrics: - name: Bleu type: bleu value: 0.0 --- <!-- 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. --> # tiny-mbart-length-128-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro This model is a fine-tuned version of [sshleifer/tiny-mbart](https://huggingface.co/sshleifer/tiny-mbart) on the wmt16_en_ro_pre_processed dataset. It achieves the following results on the evaluation set: - Loss: 8.4656 - Bleu: 0.0 - 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: 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 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len | |:-------------:|:-----:|:-----:|:---------------:|:----:|:-------:| | 8.2268 | 1.0 | 76290 | 8.4656 | 0.0 | 20.0 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.02828710339963436, 0.0011555827222764492, -0.013813146390020847, 0.05252525582909584, 0.022072408348321915, 0.004491174127906561, -0.029091933742165565, -0.025574535131454468, -0.03142891451716423, 0.06439241021871567, 0.007697241846472025, -0.0313149057328701, -0.0126119963824749, 0.05067567527294159, -0.035827670246362686, -0.032781463116407394, -0.019541479647159576, -0.014195133000612259, -0.030031902715563774, -0.003486146219074726, -0.00165477953851223, 0.002067705849185586, -0.00006396567914634943, 0.025155436247587204, 0.01208443846553564, 0.005249606445431709, -0.020489348098635674, 0.030069751664996147, 0.018046697601675987, -0.07147691398859024, 0.003560729557648301, -0.027326205745339394, -0.057047296315431595, -0.013459838926792145, -0.015667123720049858, 0.000887345289811492, -0.004741487558931112, 0.009181404486298561, 0.027812829241156578, 0.044450659304857254, 0.017686961218714714, 0.021239982917904854, -0.028512272983789444, -0.01773115247488022, 0.03404751420021057, 0.0006933319964446127, -0.039302513003349304, -0.009766259230673313, 0.03373980149626732, -0.030009910464286804, -0.06800147891044617, -0.057232052087783813, 0.0050176032818853855, 0.02932904101908207, -0.00998037401586771, -0.030435839667916298, -0.06498563289642334, 0.00487173767760396, 0.07964812964200974, -0.035526178777217865, -0.0479339137673378, 0.019611617550253868, -0.05067582428455353, 0.007031439803540707, 0.023489004001021385, -0.034579262137413025, 0.006958697456866503, -0.038691140711307526, 0.03292682766914368, -0.004997840616852045, 0.04954694211483002, -0.0174911767244339, -0.006119066849350929, -0.09233321249485016, -0.015500792302191257, 0.00031504034996032715, 0.03984130546450615, 0.051821790635585785, -0.04059820994734764, 0.05004940181970596, 0.032484330236911774, -0.019893229007720947, 0.05190989375114441, -0.01977384276688099, 0.0025503472425043583, 0.03177080675959587, -0.035531651228666306, 0.010044360533356667, 0.004663611296564341, 0.04083346948027611, -0.028349153697490692, -0.023957975208759308, -0.03467794135212898, -0.041677601635456085, -0.013463762588799, 0.023288974538445473, 0.03786180168390274, 0.009196841157972813, 0.04308093711733818, 0.023337246850132942, 0.01434354204684496, 0.03792742267251015, -0.0024347903672605753, 0.07094402611255646, -0.01326672825962305, -0.0022585466504096985, -0.006164479069411755, -0.02603239193558693, -0.0465022437274456, 0.024264218285679817, 0.006343029905110598, -0.03422798216342926, -0.04022189602255821, 0.06066508591175079, -0.009772357530891895, -0.0364387147128582, 0.06372421979904175, -0.005992908030748367, -0.04677151143550873, -0.0618608333170414, 0.029498303309082985, 0.007429252844303846, 0.002147665014490485, 0.011657312512397766, -0.06433577835559845, -0.00022632902255281806, -0.0275663360953331, -0.041105613112449646, -0.00670380424708128, 0.00837527122348547, -0.008176065981388092, 0.06779198348522186, 0.0043282657861709595, -0.05791456252336502, -0.00785689614713192, -0.003691267454996705, -0.058493707329034805, 0.05871949717402458, 0.02019522711634636, 0.10068682581186295, -0.046757619827985764, -0.07160510867834091, 0.0063672722317278385, 0.012353102676570415, -0.02926580235362053, 0.005490582901984453, 0.0006835100939497352, -0.034072618931531906, -0.025141935795545578, 0.005936213303357363, 0.03851809725165367, -0.058333296328783035, -0.01198643073439598, 0.046509742736816406, -0.004129554145038128, 0.04227408021688461, -0.07238782942295074, -0.043415963649749756, -0.0012222998775541782, -0.00654982216656208, -0.013370111584663391, 0.01672087237238884, -0.020540621131658554, 0.0038416122552007437, -0.029668496921658516, -0.05219818279147148, -0.009025261737406254, 0.08715113997459412, -0.010114307515323162, -0.02480529062449932, -0.008917761035263538, 0.04641668498516083, 0.04491979628801346, 0.03432459756731987, -0.026992257684469223, 0.029189934954047203, 0.05685672163963318, 0.04636272415518761, -0.037452682852745056, 0.043842948973178864, 0.021428296342492104, -0.03535468503832817, -0.039327748119831085, 0.014154559001326561, -0.010009325109422207, -0.024187201634049416, 0.01366314385086298, 0.027322452515363693, 0.010768246836960316, -0.04314656928181648, -0.039627306163311005, 0.06908993422985077, -0.005462510511279106, 0.0005780174396932125, 0.008397569879889488, 0.002701799850910902, -0.027899019420146942, 0.058136362582445145, -0.00961250439286232, 0.0002635692653711885, -0.02845078706741333, -0.028476549312472343, 0.004533747211098671, 0.02058938331902027, 0.036507491022348404, 0.051132410764694214, -0.008582506328821182, 0.060838278383016586, -0.023006075993180275, 0.02650229074060917, -0.033044926822185516, -0.05185600742697716, 0.0023906107526272535, 0.06410766392946243, 0.03588828444480896, 0.0635872408747673, -0.011597668752074242, -0.053589850664138794, 0.03663138300180435, 0.0820905938744545, 0.038091059774160385, 0.004039667546749115, -0.036388251930475235, -0.017524614930152893, 0.03903377056121826, 0.051407381892204285, -0.0726415291428566, -0.037905607372522354, 0.03515590727329254, 0.045257825404405594, -0.0377233624458313, 0.009897822514176369, -0.01694577932357788, 0.03486636281013489, -0.056399885565042496, -0.05923023819923401, 0.047994766384363174, 0.031682468950748444, 0.003628866048529744, 0.016994070261716843, 0.018577923998236656, -0.002107843989506364, 0.026904933154582977, 0.00796300545334816, -0.011531344614923, -0.050977710634469986, 0.010832683183252811, 0.013458188623189926, 0.036401115357875824, -0.04450337961316109, 0.03606317564845085, -0.014812340028584003, -0.004190017469227314, 0.032021414488554, -0.03992805629968643, 0.010998171754181385, 0.03615695610642433, 0.03352920711040497, -0.028618615120649338, -0.016339842230081558, 0.012450453825294971, 0.045954637229442596, 0.047295261174440384, -0.010681833140552044, 0.07359567284584045, -0.000650659843813628, 0.05163612589240074, 0.06279581040143967, 0.040182311087846756, 0.026941943913698196, 0.028180984780192375, 0.08308469504117966, 0.011515486985445023, -0.006009153090417385, 0.05731850117444992, -0.05334503948688507, 0.01232384704053402, -0.035469405353069305, 0.011024391278624535, -0.012115971185266972, -0.004096329677850008, 0.02793128602206707, 0.004063819535076618, -0.014526181854307652, -0.012551043182611465, -0.0017653631512075663, -0.016458848491311073, 0.01679018884897232, -0.00538589246571064, -0.0018377653323113918, -0.011099692434072495, -0.017081473022699356, -0.00010332680540159345, -0.04580642655491829, -0.05777232348918915, -0.011538361199200153, -0.013546212576329708, -0.006137214135378599, -0.07263854146003723, -0.012076742947101593, -0.06530516594648361, -0.004444808699190617, 0.043430257588624954, 0.024822531268000603, -0.009952970780432224, -0.03938041999936104, 0.01828475296497345, -0.04085414484143257, -0.04104236513376236, -0.03166063874959946, -0.045156143605709076, -0.05201008543372154, -0.06766130030155182, 0.04082759842276573, 0.04552438110113144, 0.010259339585900307, 0.02294652722775936, 0.017595212906599045, -0.004209767561405897, -0.017211783677339554, 0.05795280262827873, 0.051586490124464035, -0.03982319310307503, -0.04280828312039375, 0.02127041481435299, -0.027494588866829872, 0.02808995358645916, -0.01033711712807417, -0.03794851899147034, 0.07469591498374939, 0.05423200875520706, -0.001199284684844315, 0.0015364300925284624, -0.025762176141142845, -0.06451506912708282, -0.060577526688575745, -0.015759648755192757, -0.028088808059692383, -0.028853178024291992, -0.03782359138131142, -0.028431100770831108, -0.015822075307369232, -0.051000818610191345, 0.00630565732717514, -0.00559392711147666, 0.01496807485818863, 0.027355976402759552, 0.023343069478869438, 0.0044806115329265594, 0.04296555742621422, -0.038949087262153625, -0.03932594135403633, 0.07007518410682678, 0.008434615097939968, 0.002837830688804388, -0.08571505546569824, -0.01180578675121069, 0.026969220489263535, 0.033008355647325516, 0.004131725523620844, 0.00022588748834095895, 0.08939308673143387, 0.0064217704348266125, -0.006477148737758398, 0.004533848725259304, -0.0008752104477025568, -0.01936201937496662, 0.0043058814480900764, 0.019604504108428955, -0.010505124926567078, -0.04678475484251976, -0.023209543898701668, -0.0015617372700944543, 0.04109754413366318, -0.054756369441747665, -0.05309843644499779, -0.0012672952143475413, 0.03816604986786842, 0.03288033604621887, -0.01913316175341606, -0.032455287873744965, -0.0029700463637709618, -0.07015040516853333, -0.008605686947703362, 0.03127824515104294, 0.02094176784157753, 0.0022051935084164143, 0.04679838940501213, 0.015755586326122284, -0.03125987574458122, 0.043660178780555725, 0.0377209335565567, 0.06413552910089493, 0.018620267510414124, -0.06580659002065659, 0.020310506224632263, -0.022851116955280304, 0.02812168188393116, 0.004228901583701372, -0.01583211123943329, -0.04212203249335289, -0.08714359253644943, -0.009333447553217411, -0.0005242783227004111, -0.0007712566293776035, -0.009277939796447754, 0.056963447481393814, -0.038233254104852676, -0.02200932241976261, -0.009253688156604767, 0.02140311524271965, 0.03721754625439644, -0.06370273232460022, 0.04496587812900543, -0.01888877898454666, 0.019400132820010185, -0.06082230806350708, 0.0006939519662410021, -0.019922206178307533, -0.01081935502588749, 0.0028660371899604797, 0.0648907795548439, 0.013563185930252075, 0.06242998689413071, 0.07682774215936661, 0.028139282017946243, -0.05335332080721855, 0.02855873480439186, 0.04775993525981903, -0.02816896326839924, -0.04139106720685959, -0.008246996439993382, -0.00986859668046236, -0.03602271154522896, -0.016001997515559196, 0.00015797816740814596, 0.02655724808573723, 0.028682583943009377, -0.020007576793432236, 0.0059853848069906235, 0.0028121264185756445, -0.037529535591602325, -0.03665844723582268, -0.047230638563632965, -0.018085574731230736, -0.018758349120616913, -0.03354227542877197, 0.032571177929639816, 0.049348946660757065, 0.004247373901307583, 0.078895702958107, 0.07078403234481812, -0.027226444333791733, -0.04151467978954315, 0.03567662835121155, 0.027526380494236946, -0.04313017800450325, -0.07023093849420547, -0.012341727502644062, 0.03938823565840721, 0.04373210296034813, 0.00013826412032358348, -0.0624559111893177, 0.007665146142244339, 0.0620853416621685, -0.0194646418094635, 0.061718929558992386, -0.007029549218714237, 0.02648610807955265, 0.046835508197546005, -0.01406198088079691, 0.03611709177494049, -0.021882960572838783, 0.019532600417733192, -0.0017570016207173467, 0.026849335059523582, -0.024244626984000206, -0.021537864580750465, -0.06903261691331863, 0.03400725498795509, 0.010146765038371086, 0.03653354570269585, 0.05907539650797844, -0.015311699360609055, -0.048381201922893524, 0.0017680955352261662, 0.039383333176374435, -0.06613662093877792, -0.0014738708268851042, 0.012588776648044586, 0.050568148493766785, -0.04656391963362694, -0.014913808554410934, -0.04468543082475662, -0.007923049852252007, 0.0359521247446537, 0.0023012333549559116, -0.05691084638237953, -0.021434031426906586, 0.026455018669366837, -0.011707611382007599, -0.0018171489937230945, -0.088223397731781, 0.03213131055235863, -0.017385801300406456, -0.018902990967035294, 0.03569982945919037, 0.03727691248059273, 0.02368578314781189, 0.04539179429411888, 0.02522304281592369, 0.027595333755016327, -0.028362683951854706, 0.04434577748179436, -0.041706524789333344, -0.014426128938794136, 0.013119429349899292, -0.037083957344293594, -0.012063417583703995, -0.02598222717642784, -0.04595782980322838, -0.05720125883817673, -0.032117683440446854, 0.010420480743050575, 0.0001167334194178693, -0.006724806502461433, -0.022629087790846825, 0.03852997347712517, -0.03731904551386833, -0.034115325659513474, -0.0260362159460783, -0.035020582377910614, -0.0721246525645256, -0.06643469631671906, 0.01905246078968048, 0.007921083830296993, 0.043336864560842514, 0.033842477947473526, 0.01855783723294735, 0.03194526955485344, 0.0015842950670048594, -0.0261544119566679, 0.04137282818555832, -0.014266946353018284, -0.023915084078907967, -0.03121895343065262, 0.011952470988035202, 0.014210877008736134, 0.030731694772839546, -0.0288828294724226, 0.03312070295214653, 0.025659414008259773, -0.010993404313921928, -0.006574119906872511, 0.020788855850696564, 0.01560220681130886, -0.0732874721288681, -0.0419376865029335, -0.033432722091674805, -0.04614759609103203, 0.045740846544504166, -0.019292904064059258, -0.03043743222951889, -0.004833518527448177, 0.009484393522143364, 0.019745878875255585, -0.019797323271632195, -0.03256761282682419, 0.03207666054368019, -0.025922391563653946, 0.00606487225741148, -0.05238557606935501, 0.05145350098609924, -0.06271663308143616, 0.0066580865532159805, -0.020860450342297554, -0.003168828785419464, -0.04493861272931099, 0.03129223734140396, -0.029196767136454582, -0.016527175903320312, -0.005131610203534365, 0.038151271641254425, -0.027790362015366554, 0.03837230056524277, -0.00791084673255682, 0.02074958011507988, -0.036319419741630554, 0.06330714374780655, -0.03619745373725891, 0.00699422275647521, -0.023090483620762825, 0.01937813125550747, -0.025007104501128197, -0.0037828772328794003, -0.01305263303220272, -0.024128204211592674, 0.01508714072406292, 0.07251980155706406, 0.024821756407618523, 0.019109906628727913, -0.013576533645391464, -0.01685524918138981, 0.025726061314344406, -0.04428707808256149, -0.028203370049595833, -0.012488583102822304, 0.01719260960817337, -0.012389810755848885, 0.07018457353115082, 0.04731648042798042, -0.045121002942323685, -0.05098533630371094, 0.05788203701376915, 0.002358856610953808, -0.011391952633857727, 0.007998048327863216, 0.04662680625915527, 0.034785542637109756, 0.05142916366457939, -0.043723221868276596, -0.01848715730011463, -0.015320290811359882, -0.048828333616256714, 0.013246992602944374, 0.016383448615670204, 0.006577536463737488, 0.015722598880529404, -0.02515023946762085, -0.023053152486681938, 0.09164649248123169, 0.00851545762270689, 0.0084619065746665, -0.005194289609789848, -0.04924342781305313, 0.028900327160954475, -0.014665627852082253, -0.0313088558614254, 0.0014012438477948308, 0.029321806505322456, -0.019157348200678825, 0.07165571302175522, -0.02780061587691307, -0.00029371966957114637, 0.07339015603065491, 0.04605183005332947, -0.006575796753168106, 0.04380447790026665, -0.012815134599804878, 0.02649361453950405, 0.06484024971723557, -0.06876304000616074, -0.00028456817381083965, -0.012540583498775959, 0.07823272049427032, -0.04760083928704262, 0.03649027645587921, 0.059212904423475266, 0.003178096143528819, 0.03709062561392784, -0.03990156576037407, -0.05537635460495949, 0.0017880505183711648, -0.029956238344311714, 0.07939735800027847, 0.04589151218533516, -0.04304676875472069, 0.0532807819545269, 0.011472592130303383, -0.07254594564437866, 0.042002707719802856, 0.04596501216292381, 0.03252005577087402, 0.03604186326265335, 0.04431639984250069, -0.042761411517858505, 0.012587662786245346, -0.042386557906866074, 0.03917583078145981, -0.038430891931056976, -0.02079353854060173, 0.03917878493666649, -0.057905636727809906, -0.01439042016863823, 0.02602965757250786, -0.01419647317379713, -0.0351194329559803, 0.048895373940467834, -0.05387721583247185, -0.04294969514012337, 0.018042083829641342, 0.023954741656780243, -0.03118804097175598, 0.01286613754928112, -0.04177812114357948, 0.02281801402568817, 0.01045298483222723, 0.009431575424969196, -0.015494868159294128, -0.0017751028062775731, 0.01821807399392128, -0.08928564935922623, -0.039653826504945755, 0.02580677717924118, -0.011092052794992924, -0.001024109311401844, 0.02958095446228981, 0.006899050436913967, 0.007767369505017996, 0.029368888586759567, 0.006403010338544846, 0.014134690165519714, -0.04765354469418526, -0.00445793429389596, 0.03494817018508911, -0.001318669063039124, 0.03644637018442154, -0.010719425044953823, 0.03198901563882828, 0.027092818170785904, 0.02322130650281906, 0.002706000115722418, -0.03481263667345047, -0.02444758266210556, 0.021095948293805122, -0.038728099316358566, -0.003493012161925435, -0.00004867936877417378, -0.06194625422358513, -0.043074529618024826, -0.008048676885664463, -0.053305454552173615, 0.02596469782292843, -0.06631975620985031, 0.008739407174289227, 0.024168753996491432, -0.02606355771422386, -0.04893651232123375, -0.09227202832698822, -0.030636737123131752, -0.029524756595492363, 0.027178140357136726, 0.008736616000533104, -0.05263823643326759, 0.03327397629618645, -0.039616797119379044, -0.05216611549258232, 0.04842273145914078, 0.014039037749171257, -0.03752731531858444, 0.0407671257853508, 0.06436794996261597, -0.0568956583738327, 0.0021634013392031193, 0.05059748515486717, -0.03457796946167946, 0.017056241631507874, 0.037650156766176224, 0.034558869898319244, 0.01694137416779995, 0.027972321957349777, -0.044084854423999786, -0.020165516063570976, -0.08021669089794159, -0.0303850956261158, -0.04499990493059158, 0.009124111384153366, 0.055923737585544586 ]
AriakimTaiyo/DialoGPT-small-Rikka
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-11-30T17:09:09Z
--- tags: - generated_from_trainer datasets: - wmt16_en_ro_pre_processed metrics: - bleu model-index: - name: tiny-mbart-length-96-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro results: - task: name: Sequence-to-sequence Language Modeling type: text2text-generation dataset: name: wmt16_en_ro_pre_processed type: wmt16_en_ro_pre_processed args: enro metrics: - name: Bleu type: bleu value: 0.0 --- <!-- 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. --> # tiny-mbart-length-96-learning_rate-2e-05-weight_decay-0.01-finetuned-en-to-ro This model is a fine-tuned version of [sshleifer/tiny-mbart](https://huggingface.co/sshleifer/tiny-mbart) on the wmt16_en_ro_pre_processed dataset. It achieves the following results on the evaluation set: - Loss: 8.5137 - Bleu: 0.0 - 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: 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 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len | |:-------------:|:-----:|:-----:|:---------------:|:----:|:-------:| | 8.2817 | 1.0 | 76290 | 8.5137 | 0.0 | 20.0 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu102 - Datasets 1.15.1 - Tokenizers 0.10.3
[ -0.02914266660809517, 0.00437461631372571, -0.013275022618472576, 0.05014507845044136, 0.02079397812485695, -0.0022178576327860355, -0.02931501902639866, -0.02338334545493126, -0.03167606517672539, 0.06286732852458954, 0.006712201051414013, -0.03335222229361534, -0.014129561372101307, 0.052868664264678955, -0.03458457440137863, -0.03221672773361206, -0.02297702245414257, -0.018547138199210167, -0.030262021347880363, -0.0023528917226940393, -0.0006070942035876215, 0.0033603424672037363, -0.0007423574570566416, 0.026753416284918785, 0.010107828304171562, 0.003085186006501317, -0.020406004041433334, 0.031093312427401543, 0.019849160686135292, -0.07384683191776276, 0.009100385010242462, -0.027008850127458572, -0.051400888711214066, -0.017647264525294304, -0.01810329779982567, -0.0011072955094277859, -0.003974859602749348, 0.008311407640576363, 0.026770303025841713, 0.038378141820430756, 0.01917615905404091, 0.02185516431927681, -0.02679126337170601, -0.017465723678469658, 0.035855066031217575, -0.00020185430184938014, -0.04178665205836296, -0.00901961512863636, 0.0394069142639637, -0.028951991349458694, -0.06019212305545807, -0.05600250884890556, 0.0031586240511387587, 0.031585000455379486, -0.009314419701695442, -0.02974085882306099, -0.06693591922521591, 0.004406848922371864, 0.07950133085250854, -0.03572956472635269, -0.043125201016664505, 0.019075507298111916, -0.05138564482331276, 0.0009096324793063104, 0.023182742297649384, -0.030902015045285225, 0.0040609282441437244, -0.03870958834886551, 0.037043116986751556, -0.004797606263309717, 0.04824182391166687, -0.017563484609127045, -0.003922018222510815, -0.09202682226896286, -0.014803915284574032, -0.00398616399616003, 0.038766007870435715, 0.04706617817282677, -0.03972608223557472, 0.045808181166648865, 0.033763062208890915, -0.019972551614046097, 0.04948360472917557, -0.022791100665926933, 0.0029571193736046553, 0.03105931356549263, -0.036856960505247116, 0.0129008200019598, 0.0034180860966444016, 0.042943812906742096, -0.030337071046233177, -0.024012038484215736, -0.03461340069770813, -0.045037198811769485, -0.016870055347681046, 0.021167848259210587, 0.0356997512280941, 0.008899853564798832, 0.042497556656599045, 0.026021359488368034, 0.016324054449796677, 0.03608185797929764, -0.002345376182347536, 0.06623400002717972, -0.013843703083693981, -0.0017787555698305368, -0.0024294948671013117, -0.029452860355377197, -0.04661316052079201, 0.027356484904885292, 0.0013369471998885274, -0.03423040360212326, -0.036066312342882156, 0.06391549855470657, -0.00712495157495141, -0.0350288450717926, 0.06709442287683487, -0.0028997401241213083, -0.049408864229917526, -0.06357479840517044, 0.02737613581120968, 0.004802387207746506, 0.007614830508828163, 0.013283886946737766, -0.06446744501590729, -0.0040849498473107815, -0.030019134283065796, -0.038188617676496506, -0.007521289400756359, 0.00714291213080287, -0.008981692604720592, 0.0684109702706337, 0.004701871424913406, -0.05568213388323784, -0.008211255073547363, -0.003608816536143422, -0.05988720804452896, 0.05744123458862305, 0.025303637608885765, 0.10122739523649216, -0.0444316603243351, -0.06912529468536377, 0.0030629122629761696, 0.014812675304710865, -0.028390435501933098, 0.0031493750866502523, 0.0007884613587521017, -0.03493277356028557, -0.023059625178575516, 0.008443472906947136, 0.03607851639389992, -0.05555920675396919, -0.009964574128389359, 0.047129079699516296, -0.005580083001405001, 0.03762497007846832, -0.07551001757383347, -0.04369232803583145, -0.004118307959288359, -0.00756624061614275, -0.016500946134328842, 0.0176555085927248, -0.018577096983790398, 0.003273502690717578, -0.032350704073905945, -0.05093236640095711, -0.010413696989417076, 0.09465356916189194, -0.00658465875312686, -0.024684296920895576, -0.005571664776653051, 0.04903709143400192, 0.044173795729875565, 0.03269344940781593, -0.025552762672305107, 0.02996199019253254, 0.05911524221301079, 0.04867410659790039, -0.04050394147634506, 0.0403536856174469, 0.01888548769056797, -0.034855518490076065, -0.044447340071201324, 0.014863969758152962, -0.008905777707695961, -0.02330891229212284, 0.01338255126029253, 0.028761811554431915, 0.012268767692148685, -0.04277977719902992, -0.03931337222456932, 0.07428060472011566, -0.004748003091663122, 0.002929375972598791, 0.008405092172324657, -0.0015977834118530154, -0.025217613205313683, 0.0596141591668129, -0.010531567968428135, -0.0013259631814435124, -0.030176935717463493, -0.03028298169374466, 0.00679215881973505, 0.02243131771683693, 0.041061628609895706, 0.051663536578416824, -0.00940275751054287, 0.05848899856209755, -0.02044815756380558, 0.02435753494501114, -0.031292542815208435, -0.04931473731994629, 0.001269965898245573, 0.06623123586177826, 0.034233417361974716, 0.06415891647338867, -0.011246955022215843, -0.05227286368608475, 0.034714195877313614, 0.0819142535328865, 0.03928131237626076, -0.00046454023686237633, -0.033174749463796616, -0.014940889552235603, 0.041313134133815765, 0.052379824221134186, -0.07487811893224716, -0.036332618445158005, 0.033181920647621155, 0.04262283816933632, -0.04036976769566536, 0.008468668907880783, -0.01895071752369404, 0.029728757217526436, -0.05916745215654373, -0.056500982493162155, 0.04766901209950447, 0.028637900948524475, 0.005235616117715836, 0.01761137880384922, 0.015742719173431396, -0.0008292750571854413, 0.027303539216518402, 0.0037377707194536924, -0.009773928672075272, -0.04683033376932144, 0.006168792489916086, 0.008904876187443733, 0.03429355472326279, -0.043198030441999435, 0.034073203802108765, -0.015668023377656937, -0.003981436137109995, 0.02939804643392563, -0.03855173662304878, 0.00727130426093936, 0.03743329644203186, 0.03912593424320221, -0.025929199531674385, -0.015535817481577396, 0.012475557625293732, 0.04499492421746254, 0.04680943861603737, -0.006989253219217062, 0.07047242671251297, -0.0003849253407679498, 0.05312792956829071, 0.06220831349492073, 0.035804975777864456, 0.026561236009001732, 0.026267994195222855, 0.08183150738477707, 0.013451093807816505, -0.004774778615683317, 0.05437546223402023, -0.05447832867503166, 0.010545225813984871, -0.03647454455494881, 0.009434778243303299, -0.013112257234752178, -0.0031186677515506744, 0.027319524437189102, 0.003182926680892706, -0.01455365028232336, -0.011464445851743221, -0.004335291683673859, -0.013756878674030304, 0.015324641019105911, -0.005980923771858215, -0.0018189060501754284, -0.011790905147790909, -0.01934053748846054, 0.001979977358132601, -0.04366082698106766, -0.06131017953157425, -0.010260718874633312, -0.01377829723060131, -0.005421310197561979, -0.07441917806863785, -0.01498262956738472, -0.0675365999341011, -0.003632777137681842, 0.040841277688741684, 0.02519666962325573, -0.01468080934137106, -0.04044557735323906, 0.01167125441133976, -0.04081254452466965, -0.04307590052485466, -0.02859383448958397, -0.04702233150601387, -0.050367746502161026, -0.06430961191654205, 0.04180331155657768, 0.045624952763319016, 0.013246608898043633, 0.026684219017624855, 0.022324485704302788, -0.00293178204447031, -0.015425699763000011, 0.056126318871974945, 0.04955190420150757, -0.03927399218082428, -0.04496235027909279, 0.019329797476530075, -0.025181643664836884, 0.03078409470617771, -0.012212036177515984, -0.03972364217042923, 0.07333389669656754, 0.05577243119478226, -0.0013403024058789015, 0.0025593359023332596, -0.024314602836966515, -0.06841206550598145, -0.05729783698916435, -0.015096434392035007, -0.028414709493517876, -0.027828188613057137, -0.03696639835834503, -0.026770196855068207, -0.019578829407691956, -0.05601013824343681, 0.00749795138835907, -0.005073165521025658, 0.018068967387080193, 0.025341376662254333, 0.028011592105031013, 0.007959372363984585, 0.04574176296591759, -0.038730233907699585, -0.040089718997478485, 0.07348109781742096, 0.012159259058535099, -0.000054443928092950955, -0.08816833049058914, -0.010518714785575867, 0.02717595174908638, 0.033734872937202454, 0.0038076434284448624, -0.000633792660664767, 0.08847076445817947, 0.006186302751302719, -0.007503234315663576, 0.005332153756171465, 0.0014663516776636243, -0.015817862004041672, 0.0006963839987292886, 0.021912358701229095, -0.008806497789919376, -0.04487137496471405, -0.021772507578134537, -0.0016351976664736867, 0.039186883717775345, -0.05329911783337593, -0.05321629345417023, -0.0010091278236359358, 0.037785764783620834, 0.029707100242376328, -0.02158678136765957, -0.03389275446534157, -0.0012580762850120664, -0.07040522992610931, -0.007466589100658894, 0.028722010552883148, 0.023386970162391663, 0.00205074530094862, 0.044897083193063736, 0.018899407237768173, -0.02658079005777836, 0.04322625696659088, 0.03616314381361008, 0.06436189264059067, 0.020188460126519203, -0.06429439783096313, 0.019864501431584358, -0.020130138844251633, 0.023943020030856133, 0.0012580297188833356, -0.014513170346617699, -0.04223739355802536, -0.08421799540519714, -0.00618162052705884, 0.0016832130495458841, -0.0008199118892662227, -0.011521953158080578, 0.05590849369764328, -0.04022795334458351, -0.020607268437743187, -0.010005736723542213, 0.025509800761938095, 0.03642088174819946, -0.06932464987039566, 0.04332276061177254, -0.016445009037852287, 0.019716709852218628, -0.059391263872385025, -0.00018998031737282872, -0.019523221999406815, -0.009907908737659454, 0.00369732896797359, 0.06867455691099167, 0.010934816673398018, 0.06274192035198212, 0.07484101504087448, 0.02775212936103344, -0.05264671519398689, 0.024567347019910812, 0.04881995916366577, -0.023202059790492058, -0.04212155193090439, -0.009775366634130478, -0.011455431580543518, -0.04165571182966232, -0.01719629019498825, -0.0015358092496171594, 0.026025967672467232, 0.02775896154344082, -0.01811329275369644, 0.0064170570112764835, 0.0010553670581430197, -0.041461288928985596, -0.036903150379657745, -0.04556696489453316, -0.01920255832374096, -0.018049417063593864, -0.03482285514473915, 0.0352976955473423, 0.04542052000761032, 0.004376306664198637, 0.07815472036600113, 0.0729980394244194, -0.030491730198264122, -0.03910793364048004, 0.03841216489672661, 0.028525767847895622, -0.0469638966023922, -0.06969677656888962, -0.010610665194690228, 0.03963393345475197, 0.04635593667626381, 0.00513804703950882, -0.0645856261253357, 0.010542246513068676, 0.056974973529577255, -0.017906730994582176, 0.060858920216560364, -0.0072984700091183186, 0.02446063794195652, 0.0455583818256855, -0.012192128226161003, 0.038686297833919525, -0.020109232515096664, 0.017621131613850594, -0.004274231381714344, 0.02501918002963066, -0.02506522461771965, -0.019809847697615623, -0.06988155841827393, 0.030073946341872215, 0.006300047971308231, 0.038709696382284164, 0.0593486949801445, -0.01177655067294836, -0.04896506667137146, 0.0014326183591037989, 0.04066677764058113, -0.06385134160518646, -0.007032576948404312, 0.009524817578494549, 0.050797853618860245, -0.042744848877191544, -0.016402000561356544, -0.040966056287288666, -0.008416056632995605, 0.03853751718997955, 0.002008749172091484, -0.05433833226561546, -0.022060953080654144, 0.027475528419017792, -0.016474289819598198, -0.00043810944771394134, -0.08717622607946396, 0.029866574332118034, -0.017928533256053925, -0.019921712577342987, 0.03703823685646057, 0.04133371636271477, 0.021413715556263924, 0.04242613539099693, 0.025021394714713097, 0.030037343502044678, -0.021995484828948975, 0.044663358479738235, -0.03897876292467117, -0.01270085945725441, 0.01440542284399271, -0.038055311888456345, -0.014243398793041706, -0.023607222363352776, -0.04636133462190628, -0.05701635777950287, -0.030110344290733337, 0.009970556013286114, -0.0004774712142534554, -0.004832737147808075, -0.01940642111003399, 0.03662711754441261, -0.040171001106500626, -0.0305637214332819, -0.0246893297880888, -0.0323881171643734, -0.07174846529960632, -0.062433451414108276, 0.018162252381443977, 0.012484672479331493, 0.04580463096499443, 0.030719798058271408, 0.017295844852924347, 0.028302038088440895, 0.0016322401352226734, -0.027149353176355362, 0.045104097574949265, -0.012088161893188953, -0.02592559903860092, -0.03420868143439293, 0.009216678328812122, 0.015165607444941998, 0.02794397808611393, -0.030455807223916054, 0.03274914622306824, 0.028835302218794823, -0.009602793492376804, -0.00715544493868947, 0.024190252646803856, 0.01652582362294197, -0.07106387615203857, -0.044634561985731125, -0.030586300417780876, -0.045945897698402405, 0.04744773358106613, -0.021455397829413414, -0.02681463398039341, 0.0005911593325436115, 0.011747502721846104, 0.016711624339222908, -0.01984798163175583, -0.0332464724779129, 0.03209665045142174, -0.02675769478082657, 0.004874681122601032, -0.049829237163066864, 0.05136410892009735, -0.060208771377801895, 0.009180857799947262, -0.021263359114527702, -0.003499187296256423, -0.04316294193267822, 0.03029467537999153, -0.02667234092950821, -0.013805392198264599, -0.007335095200687647, 0.039406392723321915, -0.027152836322784424, 0.036967553198337555, -0.008926008827984333, 0.02325522154569626, -0.038620609790086746, 0.06710296124219894, -0.033988453447818756, 0.0068415869027376175, -0.024103371426463127, 0.017888765782117844, -0.02422013320028782, -0.0051009091548621655, -0.011155525222420692, -0.025511225685477257, 0.017461223527789116, 0.07367576658725739, 0.028076453134417534, 0.02042325586080551, -0.014510823413729668, -0.017693910747766495, 0.018264539539813995, -0.045443344861269, -0.029973063617944717, -0.011273416690528393, 0.02012745849788189, -0.011412245221436024, 0.07233540713787079, 0.05085304379463196, -0.04391658306121826, -0.05022246763110161, 0.06099240481853485, -0.0004191921616438776, -0.010051840916275978, 0.006825071293860674, 0.050717566162347794, 0.03603031113743782, 0.05037590488791466, -0.04375527799129486, -0.018166139721870422, -0.01651296392083168, -0.05183775722980499, 0.009849345311522484, 0.01554949302226305, 0.005752368830144405, 0.016729088500142097, -0.027005521580576897, -0.022183934226632118, 0.0927458107471466, 0.009212189354002476, 0.009117157198488712, -0.0015814516227692366, -0.04860807582736015, 0.03522980585694313, -0.011686312966048717, -0.030724726617336273, 0.003140269545838237, 0.03074827790260315, -0.01273775938898325, 0.07198406010866165, -0.02483745664358139, -0.0039436714723706245, 0.07461725920438766, 0.0434432253241539, -0.004898373037576675, 0.040753673762083054, -0.01466325018554926, 0.03123546577990055, 0.06455215811729431, -0.06809738278388977, -0.00040215018088929355, -0.014844544231891632, 0.08047336339950562, -0.0477285198867321, 0.03681311011314392, 0.06324823200702667, 0.004516586195677519, 0.034880347549915314, -0.03949049115180969, -0.0570245236158371, -0.002471861895173788, -0.030378123745322227, 0.0776401236653328, 0.047769490629434586, -0.04222026839852333, 0.053710222244262695, 0.010718200355768204, -0.06984389573335648, 0.04686874523758888, 0.04629004746675491, 0.0342557393014431, 0.03911140188574791, 0.04504770413041115, -0.041133590042591095, 0.014781381003558636, -0.037492893636226654, 0.04446522146463394, -0.0345831960439682, -0.021758906543254852, 0.039636678993701935, -0.05512576922774315, -0.013775683008134365, 0.02904457226395607, -0.014603689312934875, -0.03402481973171234, 0.05473179742693901, -0.05498161166906357, -0.0450403168797493, 0.018579788506031036, 0.02349231392145157, -0.02947480045258999, 0.007609691470861435, -0.04076657071709633, 0.025469176471233368, 0.009018490090966225, 0.011326532810926437, -0.020211637020111084, -0.002711699577048421, 0.017702775076031685, -0.09132838249206543, -0.04194222390651703, 0.025392131879925728, -0.014127488248050213, -0.004129366017878056, 0.027718281373381615, 0.006681554950773716, 0.010295490734279156, 0.02936830185353756, 0.008233283646404743, 0.01351981982588768, -0.050078146159648895, -0.003391302190721035, 0.03883513808250427, -0.0022789263166487217, 0.03610053285956383, -0.007546217646449804, 0.028200440108776093, 0.027241868898272514, 0.021938657388091087, 0.004748326726257801, -0.03483853489160538, -0.020066440105438232, 0.022925343364477158, -0.03766447678208351, -0.001665244810283184, -0.001991189317777753, -0.06172536313533783, -0.042677126824855804, -0.008933031931519508, -0.058394014835357666, 0.023751113563776016, -0.06519533693790436, 0.011890661902725697, 0.024539075791835785, -0.02568911388516426, -0.04394824802875519, -0.09312455356121063, -0.03241489455103874, -0.02881345897912979, 0.02595488913357258, 0.004769597202539444, -0.051175788044929504, 0.03515744209289551, -0.04295031726360321, -0.050746284425258636, 0.04787716642022133, 0.015538214705884457, -0.03837336599826813, 0.040504392236471176, 0.06430508941411972, -0.05291236191987991, 0.0017263832269236445, 0.05072314292192459, -0.03273646906018257, 0.018639812245965004, 0.035943616181612015, 0.03511175513267517, 0.018106862902641296, 0.02741115726530552, -0.0431281141936779, -0.02211787737905979, -0.08309571444988251, -0.029852278530597687, -0.03955896943807602, 0.009167608805000782, 0.05458132177591324 ]
Aries/T5_question_answering
[ "pytorch", "jax", "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: " } } }
5
2022-01-30T21:17:59Z
--- language: - en datasets: - c4 - squad tags: - text2text-generation widget: - text: "question: What is the atomic number for oxygen? context: Oxygen is a chemical element with symbol O and atomic number 8." - text: "question: What is the chemical symbol of Oxygen? context: Oxygen is a chemical element with symbol O and atomic number 8." license: apache-2.0 --- T5-small for QA --- [Google's T5-small](https://ai.googleblog.com/2020/02/exploring-transfer-learning-with-t5.html) pre-trained on the [C4](https://huggingface.co/datasets/c4) dataset, fine-tuned for Question-Answering on [SQuAD v2](https://huggingface.co/datasets/squad_v2) with the following hyperparameters: ``` optimizer=adamw_hf learning_rate=3e-5 adam_beta1=0.9 adam_beta2=0.999 adam_epsilon=1e-08 num_train_epochs=2 per_device_train_batch_size=12 ``` Usage --- The input [context and question] has to be prepared in a specific way as follows: ```python from transformers import pipeline def prep_input(_context, _question): return " ".join(["question:", _question.strip(), "context:", _context.strip()]) t5qa = pipeline("text2text-generation", "fgaim/t5-small-squad-v2") context = """ Oxygen is a chemical element with symbol O and atomic number 8. It is a member of the chalcogen group on the periodic table and is a highly reactive nonmetal and oxidizing agent that readily forms compounds (notably oxides) with most elements. By mass, oxygen is the third-most abundant element in the universe, after hydrogen and helium. At standard temperature and pressure, two atoms of the element bind to form dioxygen, a colorless and odorless diatomic gas with the formula O. """ t5qa(prep_input(context, "How many atoms combine to form dioxygen?")) # [{'generated_text': 'two'}] t5qa(prep_input(context, "What element makes up almost half of the earth's crust by mass?")) # [{'generated_text': 'oxygen'}] t5qa(prep_input(context, "What are the most abundent elements of the universe by mass?")) # [{'generated_text': 'hydrogen and helium'}] ```
[ -0.00759549718350172, -0.03256579861044884, -0.009070897474884987, 0.04526215046644211, 0.030816402286291122, 0.014090877026319504, -0.015304284170269966, 0.015487858094274998, -0.05335683375597, 0.03177729621529579, -0.0024424190632998943, 0.03065699152648449, 0.009701338596642017, 0.03921177610754967, -0.05743306130170822, -0.034441206604242325, -0.019657619297504425, -0.0036812089383602142, -0.04324043169617653, -0.043778352439403534, -0.006401628255844116, 0.016454307362437248, -0.0005753072910010815, -0.010258263908326626, 0.006419729441404343, 0.01305164024233818, -0.01043868437409401, -0.0017358972690999508, 0.01878334954380989, -0.06130457669496536, 0.011775021441280842, -0.026946498081088066, -0.041901420801877975, -0.017099836841225624, -0.016568757593631744, -0.026934100314974785, 0.016104014590382576, -0.00041898773633874953, 0.01613773964345455, 0.05548184737563133, -0.008808203041553497, -0.0037133293226361275, 0.015741169452667236, -0.011908856220543385, 0.04317231476306915, 0.00992859248071909, -0.028669798746705055, -0.0071397339925169945, 0.017103906720876694, -0.031067945063114166, -0.06602058559656143, -0.08244380354881287, -0.04672569781541824, 0.0010177894728258252, -0.011211556382477283, -0.018278922885656357, -0.07115542143583298, 0.005872970446944237, 0.09656094014644623, -0.04924387112259865, -0.026207953691482544, 0.005563489161431789, -0.04861602187156677, -0.010027538053691387, 0.017308542504906654, -0.04241874814033508, 0.007719170767813921, -0.03436918929219246, 0.010303372517228127, -0.05707086995244026, 0.08194483071565628, -0.03309699520468712, 0.03677962347865105, -0.0822250247001648, 0.00017793578444980085, -0.003430308075621724, 0.03235582634806633, 0.039881568402051926, -0.028169795870780945, 0.07172475010156631, 0.05063202232122421, 0.014930522069334984, 0.02140641026198864, -0.038061708211898804, -0.01821863278746605, 0.012633999809622765, -0.038299310952425, -0.013961599208414555, -0.011120514012873173, 0.06252255290746689, -0.024046216160058975, -0.04856252297759056, -0.04280458763241768, -0.03565030172467232, -0.006466275081038475, 0.02283494733273983, 0.02881000004708767, -0.0032997310627251863, 0.02467525750398636, 0.016148017719388008, 0.044950395822525024, 0.05407407134771347, -0.009004338644444942, 0.04263649880886078, -0.015589563176035881, 0.024350915104150772, 0.014352526515722275, -0.035667456686496735, -0.053315985947847366, 0.03582782298326492, 0.022606614977121353, -0.04506585747003555, -0.02474105730652809, -0.0017397728515788913, 0.04003603383898735, -0.02829296514391899, 0.06169512867927551, -0.024933628737926483, -0.04004247859120369, -0.028627261519432068, 0.04229510575532913, 0.010300131514668465, -0.006010399665683508, -0.00011985578021267429, -0.03343649208545685, 0.0155083779245615, -0.03926742076873779, -0.028455134481191635, 0.0016432789852842689, 0.013083342462778091, 0.02225334197282791, 0.04807262122631073, 0.00951187964528799, -0.03819757699966431, 0.004046905320137739, 0.009092983789741993, -0.06442750245332718, 0.03689335286617279, 0.021822072565555573, 0.09359919279813766, -0.06791242212057114, -0.061134178191423416, 0.022490017116069794, 0.03667879104614258, -0.023832716047763824, -0.02801206149160862, -0.03419048339128494, -0.01390839647501707, -0.030875038355588913, 0.012905248440802097, 0.09951777011156082, -0.03671415522694588, 0.014263174496591091, 0.005263876169919968, 0.0028405298944562674, 0.034603051841259, -0.04665391147136688, 0.013629398308694363, 0.019929133355617523, 0.006204051431268454, -0.043204743415117264, 0.030056459829211235, -0.021462032571434975, -0.009670996107161045, -0.03804105147719383, -0.04467103257775307, 0.02407824620604515, 0.09194417297840118, 0.009565322659909725, -0.03192106634378433, -0.01249779388308525, 0.006941522471606731, 0.03654179349541664, 0.04117925465106964, -0.017788566648960114, 0.03146502375602722, 0.052368488162755966, 0.03735218197107315, -0.013623124919831753, 0.04292501509189606, 0.04139527678489685, -0.021162910386919975, -0.019937364384531975, 0.02228415198624134, -0.007027547340840101, 0.006259009707719088, 0.0606759712100029, 0.0034400851000100374, -0.02339753694832325, -0.007267553824931383, -0.015969065949320793, 0.06350558996200562, -0.006613683886826038, -0.005877763498574495, -0.02423262782394886, -0.01616690307855606, -0.030705854296684265, 0.059952594339847565, -0.02833648957312107, 0.01282383594661951, -0.029008548706769943, -0.030985336750745773, 0.03452223911881447, -0.004471457563340664, 0.02134609967470169, 0.0783671960234642, -0.015770085155963898, 0.10149775445461273, -0.03481968864798546, 0.005748129915446043, -0.055424198508262634, -0.02551410347223282, 0.00969367753714323, 0.055367231369018555, 0.026638220995664597, 0.049803171306848526, 0.0027179510798305273, -0.02425573579967022, 0.028496120125055313, 0.07328633964061737, 0.05517935752868652, -0.0025003410410135984, -0.01832825131714344, 0.024403166025877, 0.013389344327151775, 0.07651034742593765, -0.05036858096718788, -0.022318366914987564, 0.022083815187215805, 0.027294889092445374, -0.01349608600139618, 0.009258105419576168, -0.010085251182317734, 0.005316815339028835, -0.03658606857061386, -0.05748090520501137, 0.05007496848702431, 0.014756067655980587, 0.006861664354801178, 0.03287029638886452, 0.0002816039777826518, -0.01727140322327614, 0.04480336606502533, -0.0025425932835787535, 0.007517026737332344, -0.01699628122150898, 0.012598100118339062, 0.01741642691195011, 0.06298641860485077, -0.050252463668584824, 0.017897428944706917, 0.010818621143698692, 0.012866438366472721, 0.053499430418014526, -0.029653184115886688, 0.03654300421476364, 0.036219190806150436, 0.020514177158474922, -0.003783032763749361, 0.027378126978874207, 0.019838258624076843, 0.0061604417860507965, 0.08673922717571259, 0.010557156056165695, 0.05631386488676071, 0.013262136839330196, 0.026908982545137405, 0.09883661568164825, 0.002896060235798359, 0.0012745603453367949, 0.0248557161539793, 0.08196752518415451, 0.00622884277254343, 0.006108056288212538, 0.008162222802639008, -0.07296750694513321, 0.01731596142053604, -0.02135980874300003, 0.02498108521103859, -0.01399989053606987, -0.000527651165612042, 0.05422830209136009, 0.03276617079973221, -0.03949376568198204, 0.028367718681693077, 0.004497657995671034, -0.009838918223977089, 0.030362922698259354, -0.01854640617966652, 0.0052240523509681225, -0.013898368924856186, -0.03540370240807533, 0.015059496276080608, -0.06509468704462051, -0.05025823041796684, -0.003561590798199177, -0.02621370367705822, -0.02062125876545906, -0.04837683588266373, -0.022402780130505562, -0.06252220273017883, -0.055595919489860535, 0.050665125250816345, 0.011825335212051868, -0.007205407600849867, -0.017884016036987305, 0.024385226890444756, -0.04423623904585838, -0.030995037406682968, -0.018486041575670242, -0.040972888469696045, -0.03380721062421799, -0.07959791272878647, 0.05769208446145058, 0.041484761983156204, 0.022129585966467857, 0.006485373247414827, -0.01087506115436554, -0.042004842311143875, 0.0028704931028187275, 0.04101306200027466, 0.045234303921461105, -0.044317685067653656, -0.061958927661180496, 0.03131565451622009, -0.012333475984632969, 0.02757326327264309, -0.0276847742497921, -0.032886944711208344, 0.08594371378421783, 0.0667232945561409, 0.01283272448927164, -0.007729367818683386, -0.027921054512262344, -0.03218688443303108, -0.027730466797947884, -0.0389198362827301, -0.01847059465944767, -0.010340148583054543, -0.02478514052927494, -0.0604260116815567, -0.015357124619185925, -0.009904681704938412, -0.00571060087531805, -0.007934019900858402, 0.013829125091433525, 0.0486283004283905, 0.05897504836320877, 0.029799779877066612, 0.02446446195244789, -0.03401494398713112, -0.015368642285466194, 0.04874470829963684, -0.011151573620736599, 0.03836485743522644, -0.04218149185180664, -0.032370101660490036, 0.04857387766242027, 0.007456499617546797, -0.008071905001997948, 0.000856995873618871, 0.07380574941635132, 0.0033264232333749533, -0.01722770743072033, 0.01591632142663002, -0.00423828512430191, -0.013597526587545872, -0.01406011637300253, 0.0033631909172981977, -0.033599067479372025, -0.0628461092710495, -0.025925882160663605, -0.024092160165309906, 0.03617715463042259, -0.05475828796625137, -0.06439339369535446, -0.035760313272476196, 0.026158910244703293, -0.006317757070064545, 0.02487351931631565, -0.02884514629840851, -0.0040525346994400024, -0.04012448340654373, -0.022390054538846016, 0.01431990321725607, 0.013881843537092209, -0.016462139785289764, 0.038740988820791245, 0.022626297548413277, 0.0028267218731343746, 0.04408503696322441, 0.02362046018242836, 0.0308802742511034, 0.005503767170011997, -0.05626042187213898, 0.014508668333292007, -0.022579362615942955, 0.031920429319143295, -0.004950289614498615, -0.020490655675530434, -0.026122385635972023, -0.08881410211324692, 0.00525039853528142, 0.013719521462917328, -0.04186680540442467, -0.001686458825133741, 0.04304682835936546, -0.017453331500291824, -0.01937590166926384, -0.022414201870560646, 0.03968743979930878, 0.03393632918596268, -0.03507368266582489, 0.07277858257293701, 0.01668834500014782, 0.046756356954574585, -0.03327926993370056, 0.010021558962762356, -0.006385568529367447, -0.03798516467213631, 0.022474167868494987, 0.033397745341062546, 0.028450705111026764, 0.06798046827316284, 0.046739593148231506, 0.046507664024829865, -0.0449163056910038, 0.058568794280290604, 0.05239758640527725, -0.013881715945899487, -0.047944843769073486, 0.008328218013048172, 0.01967049576342106, -0.023295681923627853, 0.002255501225590706, -0.029742330312728882, 0.006163713522255421, 0.04097516089677811, -0.0006474605179391801, -0.014387683942914009, -0.008017542771995068, -0.02550431713461876, -0.04945731908082962, -0.048102006316185, 0.006828083656728268, -0.0029003929812461138, 0.01601460948586464, 0.03219199180603027, 0.03650585189461708, 0.003971556667238474, 0.04144306480884552, 0.055195074528455734, -0.00396047392860055, -0.0456724613904953, 0.036120593547821045, 0.04405459761619568, -0.05352442339062691, -0.05594934895634651, -0.04533883184194565, 0.048332106322050095, 0.03508247435092926, -0.0150982104241848, -0.08951354026794434, 0.047990527004003525, 0.04435861483216286, -0.04878487437963486, 0.07644087076187134, -0.007663333788514137, 0.017099836841225624, 0.07984550297260284, -0.0074361576698720455, 0.016217399388551712, -0.021299349144101143, 0.04474560543894768, 0.006686998065561056, 0.07119952142238617, -0.049167610704898834, -0.03340228646993637, -0.08737999200820923, 0.05911950767040253, 0.05363168194890022, 0.057324666529893875, 0.030432162806391716, -0.010059904307126999, -0.05662832781672478, -0.005877227056771517, 0.04274997487664223, -0.02044561505317688, 0.029845844954252243, 0.027708357200026512, 0.032158493995666504, -0.05449694022536278, -0.01663268357515335, -0.009134822525084019, 0.02357393503189087, 0.05354813113808632, -0.01205245591700077, -0.004595071543008089, -0.06990119069814682, 0.033931031823158264, -0.009372605010867119, -0.042579878121614456, -0.07710681110620499, 0.043259743601083755, -0.02416360005736351, -0.0180545374751091, 0.06561090052127838, 0.027232138440012932, 0.0505928099155426, 0.0549103207886219, -0.008643864654004574, 0.011407819576561451, -0.018508082255721092, 0.033395614475011826, -0.058078963309526443, -0.020940829068422318, -0.002086584223434329, -0.04381068795919418, 0.007159796077758074, -0.029677294194698334, -0.042314257472753525, -0.05068309232592583, -0.031180888414382935, 0.03025243431329727, 0.008210105821490288, 0.006317457649856806, -0.009626593440771103, 0.029410123825073242, -0.0491756796836853, -0.021526629105210304, -0.00515545392408967, -0.013892136514186859, -0.043750520795583725, -0.04589072987437248, 0.01850765198469162, -0.004396719858050346, 0.023741835728287697, 0.013736322522163391, 0.034627560526132584, 0.028982462361454964, 0.012895879335701466, -0.016131974756717682, 0.014690344221889973, 0.005802699364721775, -0.03206289932131767, -0.014940878376364708, 0.0067631942220032215, -0.00870160385966301, 0.008649606257677078, -0.0073465220630168915, 0.02683478593826294, 0.019274014979600906, -0.028815308585762978, -0.03748348727822304, -0.006230075377970934, 0.02539035864174366, -0.08253034204244614, -0.02694450132548809, -0.01786976493895054, -0.06213492527604103, 0.02236170507967472, -0.017172612249851227, -0.03437773138284683, -0.0011305895168334246, 0.030960453674197197, 0.032867271453142166, 0.011014539748430252, -0.02584795467555523, 0.02051655948162079, -0.004542063921689987, 0.02297002635896206, -0.051000360399484634, 0.01177178043872118, -0.015233302488923073, -0.0025134920142591, -0.013079998083412647, -0.0028194566257297993, 0.0012261413503438234, 0.05086259916424751, -0.023683950304985046, -0.004798063077032566, -0.01363252755254507, 0.0040820990689098835, -0.044781383126974106, 0.04840618744492531, -0.003945994656533003, 0.021815184503793716, -0.06973636150360107, 0.0298196692019701, -0.06842045485973358, -0.0011813793098554015, -0.01931067183613777, -0.021253786981105804, -0.015124741941690445, 0.002420940436422825, -0.016969414427876472, -0.03468477725982666, 0.00020715832943096757, 0.011776119470596313, 0.04207255318760872, 0.00746664684265852, -0.010913281701505184, 0.01842891052365303, 0.002601457526907325, -0.050639182329177856, -0.022465620189905167, -0.010884310118854046, -0.038550008088350296, -0.028654776513576508, 0.04387342184782028, 0.04852478578686714, -0.061803679913282394, -0.039659447968006134, 0.05975288897752762, 0.02336985059082508, 0.0034673672635108232, -0.0017736839363351464, -0.006131839007139206, 0.035660188645124435, 0.013837599195539951, -0.020943239331245422, -0.0028565165121108294, -0.017377633601427078, -0.017231812700629234, 0.015989026054739952, -0.038965072482824326, 0.028246888890862465, -0.009115544147789478, -0.02043926902115345, -0.020042117685079575, 0.05624980479478836, 0.020344333723187447, 0.010720056481659412, 0.026023391634225845, -0.017587384209036827, 0.042278166860342026, 0.00888825673609972, -0.029558170586824417, 0.008353098295629025, -0.005337163340300322, -0.06747324764728546, 0.06139606982469559, -0.02162780612707138, 0.0012075691483914852, 0.04504278674721718, 0.02014121599495411, -0.018666468560695648, 0.06102753058075905, -0.04129186272621155, 0.0376381054520607, 0.02529299072921276, -0.06148228794336319, -0.004023170098662376, -0.031149765476584435, 0.06636755913496017, -0.052801135927438736, 0.04191398620605469, 0.02727605029940605, 0.005066032521426678, 0.02413281612098217, -0.015857499092817307, -0.0410076342523098, 0.022596828639507294, -0.0485580749809742, 0.0811208114027977, 0.006938050966709852, -0.03430234268307686, 0.07029735296964645, 0.027587706223130226, -0.06294537335634232, 0.021982312202453613, 0.046605732291936874, 0.040569815784692764, 0.05602862313389778, 0.040451955050230026, -0.09237253665924072, 0.001326331403106451, -0.028856923803687096, 0.044738441705703735, -0.03227861598134041, -0.052145346999168396, -0.0005100202397443354, -0.02758648246526718, -0.019649939611554146, 0.025252986699342728, 0.004293577745556831, 0.0035940471570938826, 0.001028883852995932, -0.0752711072564125, -0.05272470414638519, 0.0069669317454099655, 0.012744124978780746, -0.0549398809671402, 0.010270524770021439, -0.038006577640771866, 0.03621301427483559, 0.03234045207500458, 0.006529089529067278, -0.02872302569448948, -0.002688529435545206, 0.013635245151817799, -0.055802203714847565, -0.04651317745447159, 0.05025425925850868, 0.002882932312786579, -0.0360773503780365, 0.01995423436164856, -0.013725226745009422, 0.01258031651377678, 0.023317281156778336, -0.015698213130235672, 0.055145394057035446, -0.06043664738535881, 0.03101649507880211, 0.010913454927504063, 0.032372988760471344, 0.00997677817940712, -0.040220919996500015, 0.06419914960861206, 0.024791285395622253, 0.006003022193908691, -0.000052863728342344984, -0.03337448835372925, 0.008381043560802937, 0.041965123265981674, -0.04963364079594612, 0.03903209790587425, -0.013730963692069054, -0.07220195978879929, -0.031510308384895325, -0.02456582337617874, -0.007685410790145397, 0.02429085783660412, -0.018609749153256416, 0.005507729947566986, 0.06060044467449188, -0.012580057606101036, -0.024098966270685196, -0.09409291297197342, -0.01606549508869648, -0.04563907906413078, 0.050647322088479996, 0.04715440794825554, -0.05795654281973839, 0.005746108945459127, -0.05529583618044853, -0.04331584647297859, 0.057720500975847244, 0.012161824852228165, -0.04714435711503029, 0.0446896106004715, 0.04805857688188553, -0.04017629101872444, 0.04007368162274361, 0.035162996500730515, -0.03918576240539551, 0.0032995010260492563, -0.0018801346886903048, 0.027671540156006813, 0.04584827646613121, 0.026263469830155373, -0.02068699151277542, -0.03576073795557022, -0.042754385620355606, -0.014107837341725826, -0.03394583612680435, 0.007556686643511057, 0.0983416959643364 ]
Arina/Erine
[]
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: ti widget: - text: "ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር" datasets: - TLMD - NTC metrics: - f1 - precision - recall - accuracy model-index: - name: tielectra-small-pos results: - task: name: Token Classification type: token-classification metrics: - name: F1 type: f1 value: 0.9456 - name: Precision type: precision value: 0.9456 - name: Recall type: recall value: 0.9456 - name: Accuracy type: accuracy value: 0.9456 --- # Tigrinya POS tagging with TiELECTRA This model is a fine-tuned version of [TiELECTRA](https://huggingface.co/fgaim/tielectra-small) on the NTC-v1 dataset (Tedla et al. 2016). ## Basic usage ```python from transformers import pipeline ti_pos = pipeline("token-classification", model="fgaim/tielectra-small-pos") ti_pos("ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር") ``` ## Training ### Hyperparameters The following hyperparameters were used during training: - learning_rate: 5e-05 - train_batch_size: 8 - eval_batch_size: 32 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 10.0 ### Results The model achieves the following results on the test set: - Loss: 0.2236 - Adj Precision: 0.9148 - Adj Recall: 0.9192 - Adj F1: 0.9170 - Adj Number: 1670 - Adv Precision: 0.8228 - Adv Recall: 0.8058 - Adv F1: 0.8142 - Adv Number: 484 - Con Precision: 0.9793 - Con Recall: 0.9743 - Con F1: 0.9768 - Con Number: 972 - Fw Precision: 0.5 - Fw Recall: 0.3214 - Fw F1: 0.3913 - Fw Number: 28 - Int Precision: 0.64 - Int Recall: 0.6154 - Int F1: 0.6275 - Int Number: 26 - N Precision: 0.9525 - N Recall: 0.9587 - N F1: 0.9556 - N Number: 3992 - Num Precision: 0.9825 - Num Recall: 0.9372 - Num F1: 0.9593 - Num Number: 239 - N Prp Precision: 0.9132 - N Prp Recall: 0.9404 - N Prp F1: 0.9266 - N Prp Number: 470 - N V Precision: 0.9667 - N V Recall: 0.9760 - N V F1: 0.9713 - N V Number: 416 - Pre Precision: 0.9645 - Pre Recall: 0.9592 - Pre F1: 0.9619 - Pre Number: 907 - Pro Precision: 0.9395 - Pro Recall: 0.9079 - Pro F1: 0.9234 - Pro Number: 445 - Pun Precision: 1.0 - Pun Recall: 0.9994 - Pun F1: 0.9997 - Pun Number: 1607 - Unc Precision: 0.9286 - Unc Recall: 0.8125 - Unc F1: 0.8667 - Unc Number: 16 - V Precision: 0.7609 - V Recall: 0.8974 - V F1: 0.8235 - V Number: 78 - V Aux Precision: 0.9581 - V Aux Recall: 0.9786 - V Aux F1: 0.9682 - V Aux Number: 654 - V Ger Precision: 0.9183 - V Ger Recall: 0.9415 - V Ger F1: 0.9297 - V Ger Number: 513 - V Imf Precision: 0.9473 - V Imf Recall: 0.9442 - V Imf F1: 0.9458 - V Imf Number: 914 - V Imv Precision: 0.8163 - V Imv Recall: 0.5714 - V Imv F1: 0.6723 - V Imv Number: 70 - V Prf Precision: 0.8927 - V Prf Recall: 0.8776 - V Prf F1: 0.8851 - V Prf Number: 294 - V Rel Precision: 0.9535 - V Rel Recall: 0.9485 - V Rel F1: 0.9510 - V Rel Number: 757 - Overall Precision: 0.9456 - Overall Recall: 0.9456 - Overall F1: 0.9456 - Overall Accuracy: 0.9456 ### Framework versions - Transformers 4.10.3 - Pytorch 1.9.0+cu111 - Datasets 1.10.2 - Tokenizers 0.10.1 ## Citation If you use this model in your product or research, please cite as follows: ``` @article{Fitsum2021TiPLMs, author= {Fitsum Gaim and Wonsuk Yang and Jong C. Park}, title= {Monolingual Pre-trained Language Models for Tigrinya}, year= 2021, publisher= {WiNLP 2021/EMNLP 2021} } ``` ## References ``` Tedla, Y., Yamamoto, K. & Marasinghe, A. 2016. Tigrinya Part-of-Speech Tagging with Morphological Patterns and the New Nagaoka Tigrinya Corpus. International Journal Of Computer Applications 146 pp. 33-41 (2016). ```
[ 0.013449483551084995, -0.018903275951743126, 0.01833898201584816, 0.029100846499204636, 0.04648220166563988, 0.018929775804281235, -0.015153495594859123, -0.0029755912255495787, -0.032509174197912216, 0.06426961719989777, 0.020693626254796982, -0.0179572906345129, 0.0002550619246903807, 0.0458628349006176, -0.045678798109292984, -0.045984767377376556, -0.007695503067225218, -0.02214260771870613, -0.02560366503894329, -0.01983732171356678, -0.01788940280675888, 0.0011653194669634104, -0.010137439705431461, 0.023436326533555984, -0.005767811089754105, 0.03884858265519142, -0.008861585520207882, 0.030824758112430573, 0.039952319115400314, -0.07916700839996338, 0.017790451645851135, -0.012213991023600101, -0.03887468948960304, -0.02069469541311264, -0.039745304733514786, -0.012159803882241249, -0.007121943403035402, -0.0016282430151477456, 0.04375390708446503, 0.0541420616209507, -0.01419526245445013, 0.019230231642723083, -0.002818521810695529, -0.04807652160525322, 0.06318805366754532, 0.010008668527007103, -0.044659893959760666, 0.004657580051571131, 0.017931655049324036, -0.007182861678302288, -0.07334976643323898, -0.07500586658716202, -0.05093729496002197, 0.00918886624276638, -0.010115355253219604, -0.03154827654361725, -0.06497819721698761, -0.011174922809004784, 0.07006616145372391, -0.037800852209329605, -0.050105273723602295, 0.01095748133957386, -0.07163045555353165, 0.010428886860609055, 0.02444644272327423, 0.00015178471221588552, 0.01400846615433693, -0.05013040453195572, 0.03527604043483734, -0.018803033977746964, 0.04550720006227493, -0.023784823715686798, 0.006165327504277229, -0.08756241947412491, -0.002357003279030323, -0.012553483247756958, 0.01787329837679863, 0.023612268269062042, -0.05742483586072922, 0.04710008203983307, 0.046017300337553024, -0.015815535560250282, 0.04526040330529213, 0.0005646340432576835, -0.006261305417865515, 0.034689199179410934, -0.028607847169041634, -0.00028416624991223216, 0.0248553566634655, 0.07061539590358734, -0.045937083661556244, -0.0411151759326458, -0.03404752537608147, -0.03399172052741051, -0.006719040218740702, 0.04595506936311722, 0.042357828468084335, 0.006899002939462662, 0.06310483068227768, 0.006572325248271227, 0.043858859688043594, 0.05397690087556839, -0.010465733706951141, 0.061076853424310684, -0.008220060728490353, 0.0005466893198899925, -0.00123075011651963, -0.04065527766942978, -0.04359682649374008, 0.041747529059648514, 0.015534545294940472, -0.044869858771562576, -0.034212153404951096, 0.03330570086836815, 0.00777388783171773, -0.0369265079498291, 0.052330754697322845, -0.01750587858259678, -0.03535902127623558, -0.05154203251004219, 0.039907652884721756, 0.02284233644604683, 0.005205896217375994, 0.009588522836565971, -0.03727274015545845, -0.00027034973027184606, -0.024133389815688133, -0.014360059052705765, -0.004646955989301205, 0.003465779824182391, -0.008594900369644165, 0.022739041596651077, -0.006566530559211969, -0.053197767585515976, 0.007422224152833223, 0.012926475144922733, -0.07581131160259247, 0.035603005439043045, 0.02704823762178421, 0.08801394701004028, -0.04943858087062836, -0.059954095631837845, -0.0006179512129165232, -0.011335878632962704, -0.01020126324146986, 0.007426207885146141, 0.01010240986943245, -0.03972935304045677, -0.027689510956406593, 0.0028388043865561485, 0.05994453281164169, -0.08128573000431061, 0.014748107641935349, 0.05339504033327103, -0.005123242735862732, 0.03604966402053833, -0.04416820406913757, -0.02585422247648239, 0.02621590346097946, -0.022201145067811012, -0.03117739036679268, 0.034180305898189545, 0.00498945452272892, 0.006735468283295631, -0.04782000184059143, -0.041751787066459656, 0.016230305656790733, 0.08098980039358139, -0.0061341868713498116, -0.004371746443212032, -0.009674477390944958, 0.028721218928694725, 0.03963089734315872, 0.017014160752296448, -0.012574954889714718, 0.0343923419713974, 0.054184649139642715, 0.04757295921444893, -0.03285078704357147, 0.05345809459686279, 0.019514357671141624, -0.032522812485694885, -0.02009836956858635, -0.0003779522085096687, -0.010177423246204853, -0.02070847526192665, 0.033210914582014084, 0.008363262750208378, 0.01756051369011402, -0.03883962705731392, -0.01945396140217781, 0.05897846445441246, 0.031971387565135956, 0.01883593387901783, -0.023261189460754395, -0.017421942204236984, -0.02789643406867981, 0.03771053999662399, -0.0030282156076282263, -0.00039716478204354644, -0.02924414910376072, -0.03307044133543968, 0.00015658985648769885, 0.034022681415081024, 0.03465094789862633, 0.04847710207104683, -0.021739669144153595, 0.0741116851568222, -0.0481269545853138, 0.029236165806651115, -0.02926548197865486, -0.03789853677153587, 0.012165481224656105, 0.0614750050008297, 0.02464618906378746, 0.04874202609062195, 0.015475708059966564, -0.03182920068502426, 0.03080042637884617, 0.06119721755385399, 0.051882438361644745, 0.008620771579444408, -0.021550070494413376, 0.022616567090153694, 0.03743526712059975, 0.038450080901384354, -0.061813630163669586, -0.04480260983109474, 0.039291974157094955, 0.04275371879339218, -0.01079493947327137, 0.0018994229612872005, -0.026495441794395447, 0.017529217526316643, -0.06339514255523682, -0.048849597573280334, 0.03256489336490631, 0.018317636102437973, 0.011648009531199932, 0.027457429096102715, -0.008613779209554195, 0.018824143335223198, 0.04252607747912407, -0.018442252650856972, -0.00293408683501184, -0.03789930418133736, 0.00863802619278431, 0.0017145929159596562, 0.03966188058257103, -0.05082292854785919, 0.02331705018877983, -0.010337178595364094, -0.008938037790358067, 0.07179220020771027, -0.06962074339389801, 0.01718660071492195, 0.04249122738838196, 0.028511041775345802, -0.017917633056640625, 0.03149434179067612, -0.004028914030641317, 0.037373095750808716, 0.0589616484940052, 0.012263902463018894, 0.06219862774014473, -0.022550849243998528, 0.018313739448785782, 0.08261631429195404, 0.0012733886251226068, 0.0014000150840729475, 0.03451903536915779, 0.07111401855945587, 0.04102415591478348, -0.012081630527973175, 0.04100260138511658, -0.054483674466609955, 0.01705632358789444, -0.05252903327345848, 0.0015233700396493077, -0.01578667387366295, 0.007624197751283646, 0.040383197367191315, 0.015759596601128578, -0.031275685876607895, -0.004246136173605919, -0.012781070545315742, -0.02985634095966816, 0.03529792279005051, -0.013497750274837017, -0.01927788555622101, -0.008253956213593483, -0.00022102025104686618, 0.01289603766053915, -0.07805121690034866, -0.04077490419149399, -0.03761035203933716, -0.038709577172994614, -0.02131640538573265, -0.06603363156318665, -0.00689983693882823, -0.060767970979213715, -0.027005603536963463, 0.04818194359540939, 0.030679551884531975, 0.00038005091482773423, -0.022853607311844826, 0.01835349015891552, -0.06191125139594078, -0.041535403579473495, -0.043628860265016556, -0.03178590163588524, -0.03406906872987747, -0.07993931323289871, 0.028494413942098618, 0.027620911598205566, -0.005445650313049555, 0.025802193209528923, 0.02910207211971283, -0.0024471275974065065, -0.016710584983229637, 0.06388213485479355, 0.041401345282793045, -0.010504696518182755, -0.05162040889263153, 0.040559072047472, -0.029407821595668793, 0.023958684876561165, 0.005197510123252869, -0.057594697922468185, 0.09509720653295517, 0.06796839088201523, 0.026509450748562813, 0.011300906538963318, -0.011738743633031845, -0.06088738515973091, -0.04323592036962509, -0.04693349450826645, -0.0424775704741478, -0.003583247074857354, -0.015875017270445824, -0.06922043859958649, -0.0011118529364466667, -0.017646552994847298, 0.0029674081597477198, -0.0142826484516263, 0.02819215878844261, 0.036710336804389954, 0.04815264046192169, 0.0506465882062912, 0.04837185516953468, -0.0447518453001976, -0.018215954303741455, 0.03907660394906998, -0.002546563744544983, 0.0014390990836545825, -0.08280593156814575, -0.002890882082283497, 0.01636628806591034, 0.008875345811247826, 0.00710201496258378, 0.0012926479103043675, 0.0752766877412796, 0.012395349331200123, -0.013284945860505104, 0.00703459745272994, -0.015198218636214733, -0.009724926203489304, 0.004677291493862867, 0.017872119322419167, -0.007083709817379713, -0.04326812922954559, -0.016257595270872116, -0.035911232233047485, 0.038825370371341705, -0.06645619124174118, -0.05498158186674118, -0.014499184675514698, 0.04840944707393646, 0.0019492640858516097, 0.006981941871345043, -0.04076185077428818, -0.010906454175710678, -0.06821159273386002, -0.026079397648572922, 0.04831235483288765, 0.03416157141327858, 0.021329959854483604, 0.04099591448903084, 0.021405519917607307, -0.04509219899773598, 0.03420276939868927, 0.03805927932262421, 0.08404605835676193, -0.0037411642260849476, -0.029358630999922752, -0.013009447604417801, -0.02105986699461937, 0.006945989094674587, -0.014664150774478912, -0.019581003114581108, -0.03626935929059982, -0.10165926814079285, -0.03059208020567894, -0.0037541796918958426, -0.02830205112695694, -0.016477715224027634, 0.03555305674672127, 0.015626784414052963, -0.01630563661456108, -0.007984348572790623, 0.01370041910558939, 0.022531146183609962, -0.06315901130437851, 0.03165314346551895, 0.008563151583075523, 0.0127682164311409, -0.045659713447093964, -0.007714245934039354, -0.03978512063622475, -0.014121059328317642, -0.028867671266198158, 0.04713064804673195, 0.015148711390793324, 0.04572756960988045, 0.08470460772514343, 0.013579150661826134, -0.028611714020371437, 0.06578559428453445, 0.04799451306462288, -0.004105862230062485, -0.05115412920713425, -0.02480507642030716, -0.015223352238535881, -0.04252782091498375, -0.004666750319302082, -0.00972421932965517, 0.02379080094397068, 0.058393023908138275, -0.0019596794154495, -0.015677470713853836, -0.016220996156334877, -0.03113299421966076, -0.043374694883823395, -0.06898541003465652, -0.03827178478240967, 0.050438590347766876, -0.010334809310734272, 0.011708660051226616, 0.03373030573129654, 0.010342679917812347, 0.05594651401042938, 0.054426614195108414, -0.03723516687750816, -0.048524677753448486, 0.020575111731886864, 0.021487193182110786, -0.03573722019791603, -0.07912269979715347, -0.051706135272979736, 0.052414607256650925, 0.03501608595252037, -0.006310990080237389, -0.07877324521541595, -0.0030308151617646217, 0.04117576777935028, -0.0206657275557518, 0.09362752735614777, -0.025627706199884415, 0.009161333553493023, 0.04697120189666748, -0.015149205923080444, 0.016571851447224617, -0.03131844475865364, -0.010235447436571121, -0.004292237106710672, 0.032278548926115036, -0.03121848776936531, -0.008631857112050056, -0.04302874207496643, 0.03100811503827572, 0.035872939974069595, 0.0648677721619606, 0.026150841265916824, -0.025074366480112076, -0.057329416275024414, 0.017379121854901314, 0.04915381968021393, -0.04931621253490448, -0.011377873830497265, 0.01570209674537182, 0.04972826689481735, -0.044559042900800705, -0.029380470514297485, -0.017487844452261925, -0.009832889772951603, 0.03038416989147663, 0.011324530467391014, -0.03248446807265282, -0.055948495864868164, 0.020713381469249725, -0.03278582915663719, -0.012944688089191914, -0.0866791233420372, 0.038903288543224335, -0.013692921958863735, -0.005895522888749838, 0.035064395517110825, 0.03559792414307594, 0.019086752086877823, 0.03371121361851692, 0.0285919401794672, 0.011552195064723492, -0.03457818925380707, 0.04498319327831268, -0.03151773288846016, -0.005455286707729101, -0.012088196352124214, -0.06749635934829712, -0.001392704201862216, -0.02990599535405636, -0.05889841541647911, -0.04149812087416649, -0.02643890306353569, -0.0034749465994536877, 0.019340766593813896, -0.0025198101066052914, -0.018647031858563423, 0.047829769551754, -0.027193425223231316, -0.012253823690116405, -0.015109634958207607, -0.042336516082286835, -0.06993401795625687, -0.06593649834394455, 0.03777606785297394, 0.029124731197953224, 0.04566177725791931, 0.01563139073550701, 0.01239680964499712, 0.015313667245209217, 0.002151917200535536, -0.024761611595749855, 0.02071790210902691, -0.0032288790680468082, -0.00006465492333518341, -0.03417540714144707, 0.0028523036744445562, 0.01444168295711279, 0.053389862179756165, -0.025066249072551727, 0.04340442270040512, 0.020012542605400085, -0.007001095917075872, -0.00821089930832386, -0.008377080783247948, 0.014844266697764397, -0.053957752883434296, -0.033878620713949203, -0.002722077304497361, -0.05361468717455864, -0.006280281115323305, -0.022782152518630028, -0.010419859550893307, 0.0038177422247827053, 0.010599954053759575, 0.027088623493909836, -0.018905499950051308, -0.04924549534916878, 0.011799445375800133, -0.044253118336200714, -0.011101804673671722, -0.04620341584086418, 0.02692626230418682, -0.02703206054866314, 0.004356544930487871, -0.012818953953683376, -0.011427627876400948, -0.03553644195199013, 0.0133583452552557, -0.006933220662176609, -0.000029801791242789477, -0.016782844439148903, 0.03789409250020981, -0.032826315611600876, 0.031132956966757774, 0.013343427330255508, 0.025369862094521523, -0.008486669510602951, 0.04245222359895706, -0.04504694044589996, 0.021187812089920044, -0.018372854217886925, -0.0010483915684744716, -0.031282082200050354, -0.016561804339289665, -0.01589137688279152, -0.04046577587723732, 0.04287314787507057, 0.054333966225385666, 0.03399951010942459, 0.027255581691861153, -0.003528507659211755, -0.0016189171001315117, 0.016694532707333565, -0.044323861598968506, -0.02753615379333496, -0.03169992193579674, 0.0031533311121165752, -0.0193626768887043, 0.07121336460113525, 0.04902970418334007, -0.03604171797633171, -0.059055496007204056, 0.022019365802407265, 0.03401339799165726, 0.01204225979745388, -0.007291011046618223, 0.06055707484483719, 0.012606429867446423, 0.044685520231723785, -0.02985725924372673, 0.004705617669969797, -0.02279653400182724, -0.03726809844374657, 0.036803632974624634, -0.012768235057592392, 0.01560684759169817, -0.024924760684370995, -0.04757631942629814, 0.0028673314955085516, 0.05637022480368614, 0.03971308842301369, 0.019218698143959045, -0.016690125688910484, -0.028268611058592796, 0.021907100453972816, -0.02377430349588394, -0.04367666691541672, 0.0035997629165649414, 0.029944438487291336, -0.04649302735924721, 0.10024581849575043, -0.023143526166677475, -0.0006640522624365985, 0.045328784734010696, 0.03128882870078087, -0.012917985208332539, 0.045445285737514496, -0.020259955897927284, 0.02327588014304638, 0.049130670726299286, -0.07810940593481064, 0.009600500576198101, -0.006119195371866226, 0.06785359978675842, -0.04887505620718002, 0.04501716420054436, 0.044960252940654755, 0.019331779330968857, 0.017007499933242798, -0.01263138372451067, -0.04099184647202492, 0.010094071738421917, -0.048679620027542114, 0.07243391126394272, -0.0020219250582158566, -0.065486378967762, 0.07023549824953079, 0.040285032242536545, -0.08140216022729874, 0.04923173412680626, 0.03928248584270477, 0.036918655037879944, 0.056903623044490814, 0.06297294795513153, -0.031463757157325745, -0.00637134350836277, -0.03979512304067612, 0.015825120732188225, -0.0510016605257988, 0.011756164021790028, 0.01084077823907137, -0.04080117493867874, -0.014919370412826538, 0.03307219222187996, 0.027988236397504807, -0.019342098385095596, 0.02943313866853714, -0.06078939512372017, -0.03369564190506935, 0.02178916521370411, 0.04229598119854927, -0.023628979921340942, 0.044051215052604675, -0.03797164559364319, 0.045277900993824005, 0.0064944373443722725, -0.0068276990205049515, -0.02909581921994686, -0.019118761643767357, 0.031440917402505875, -0.061632830649614334, -0.030469387769699097, 0.02561957575380802, 0.005990528967231512, -0.02708243951201439, 0.05399078130722046, -0.0034757668618112803, 0.009242250584065914, 0.03450317680835724, 0.0053358725272119045, 0.046069614589214325, -0.06374268233776093, 0.0014019907684996724, -0.0018676072359085083, 0.021332943812012672, 0.023665744811296463, -0.02401740476489067, 0.040695201605558395, 0.04840165004134178, 0.02508852630853653, -0.007611772045493126, -0.03986138850450516, -0.013943382538855076, 0.01959802210330963, -0.05407891422510147, 0.012171805836260319, 0.009313324466347694, -0.048744019120931625, -0.044019099324941635, -0.036821551620960236, -0.01834985427558422, 0.024577558040618896, -0.032212670892477036, 0.017826402559876442, 0.04792012274265289, -0.011933313682675362, -0.039787743240594864, -0.07737699896097183, -0.023643221706151962, -0.030229557305574417, 0.029792621731758118, 0.013904265128076077, -0.032125748693943024, 0.017290521413087845, -0.02921144850552082, -0.06961097568273544, 0.01773509941995144, 0.03454333171248436, -0.008171525783836842, 0.06333029270172119, 0.06381964683532715, -0.053168654441833496, 0.024920832365751266, 0.028212295845150948, -0.04049310460686684, 0.02903243713080883, 0.01699364185333252, 0.01434322725981474, 0.026055915281176567, 0.028077691793441772, -0.012293863110244274, -0.013385854661464691, -0.05799238383769989, -0.028024908155202866, -0.033343128859996796, -0.006727207917720079, 0.07164733111858368 ]
ArjunKadya/HuggingFace
[]
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: ti widget: - text: "ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር" metrics: - f1 - precision - recall - accuracy model-index: - name: tielectra-small-sentiment results: - task: name: Text Classification type: text-classification metrics: - name: F1 type: f1 value: 0.8228962818003914 - name: Precision type: precision value: 0.8055555555555556 - name: Recall type: recall value: 0.841 - name: Accuracy type: accuracy value: 0.819 --- # Sentiment Analysis for Tigrinya with TiELECTRA small This model is a fine-tuned version of [TiELECTRA small](https://huggingface.co/fgaim/tielectra-small) on a YouTube comments Sentiment Analysis dataset for Tigrinya (Tela et al. 2020). ## Basic usage ```python from transformers import pipeline ti_sent = pipeline("sentiment-analysis", model="fgaim/tielectra-small-sentiment") ti_sent("ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር") ``` ## Training ### Hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 32 - eval_batch_size: 32 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 3.0 ### Results The model achieves the following results on the evaluation set: - F1: 0.8229 - Precision: 0.8056 - Recall: 0.841 - Accuracy: 0.819 - Loss: 0.4299 ### Framework versions - Transformers 4.10.3 - Pytorch 1.9.0+cu111 - Datasets 1.10.2 - Tokenizers 0.10.1 ## Citation If you use this model in your product or research, please cite as follows: ``` @article{Fitsum2021TiPLMs, author={Fitsum Gaim and Wonsuk Yang and Jong C. Park}, title={Monolingual Pre-trained Language Models for Tigrinya}, year=2021, publisher= {WiNLP 2021/EMNLP 2021} } ``` ## References ``` Tela, A., Woubie, A. and Hautamäki, V. 2020. Transferring Monolingual Model to Low-Resource Language: The Case of Tigrinya. ArXiv, abs/2006.07698. ```
[ -0.01290392316877842, -0.01807263121008873, -0.008419763296842575, 0.0489216186106205, 0.045418135821819305, 0.039126306772232056, -0.015181741677224636, -0.01060163602232933, -0.047445137053728104, 0.07472759485244751, 0.023222696036100388, -0.03163716197013855, 0.006488158833235502, 0.03541334345936775, -0.06224615126848221, -0.02219555899500847, -0.03781828656792641, -0.0260301623493433, -0.03135840967297554, -0.019878309220075607, -0.03617824614048004, 0.024822495877742767, 0.008067762479186058, 0.006277186796069145, -0.001748447772115469, 0.03750568628311157, -0.02867698296904564, 0.028881648555397987, 0.018095532432198524, -0.07741720229387283, 0.01574711687862873, -0.01871141791343689, -0.04203188791871071, -0.011121246963739395, -0.04257575049996376, -0.0018971514655277133, 0.002043396234512329, 0.011150435544550419, 0.02767472341656685, 0.04173175245523453, 0.0026379104238003492, 0.01272710133343935, -0.018873034045100212, -0.0384533628821373, 0.05233551934361458, 0.031677570194005966, -0.042717527598142624, 0.008124090731143951, 0.018034854903817177, -0.03349200636148453, -0.05357910692691803, -0.09414302557706833, -0.047210510820150375, 0.025882085785269737, -0.013030481524765491, -0.012049294076859951, -0.05261784419417381, -0.02036697417497635, 0.06897187232971191, -0.03506949543952942, -0.043499656021595, 0.01687399484217167, -0.06198232248425484, -0.009903503581881523, 0.023114414885640144, -0.014103048481047153, 0.012461839243769646, -0.040013376623392105, 0.04742956906557083, -0.04539555311203003, 0.05032970756292343, -0.0404885895550251, 0.03956654295325279, -0.08782365918159485, -0.016857177019119263, -0.02369457483291626, 0.022971587255597115, 0.027892496436834335, -0.03742063418030739, 0.04625146836042404, 0.031329791992902756, -0.015124429948627949, 0.04465096816420555, -0.0038560256361961365, -0.010323099792003632, 0.03901733085513115, -0.04860929399728775, -0.001540620345622301, 0.0014046423602849245, 0.06806507706642151, -0.050672437995672226, -0.04114668443799019, -0.0203370600938797, -0.03531607985496521, -0.026212310418486595, 0.050376683473587036, 0.013582396320998669, -0.0026321997866034508, 0.049386799335479736, 0.026816584169864655, 0.04585147649049759, 0.05377625674009323, -0.017691584303975105, 0.06309166550636292, 0.00675158528611064, -0.009967721998691559, -0.002823100658133626, -0.029701054096221924, -0.05237545445561409, 0.039359692484140396, -0.008175716735422611, -0.05679217353463173, -0.030279546976089478, 0.014197050593793392, 0.01208624616265297, -0.03936023265123367, 0.048183687031269073, -0.03362803906202316, -0.04048440605401993, -0.042528022080659866, 0.042149703949689865, 0.024075087159872055, -0.002237143227830529, 0.013360804878175259, -0.049690522253513336, 0.019184211269021034, -0.023672426119446754, -0.018314512446522713, -0.015537060797214508, 0.0034468197263777256, 0.009615102782845497, 0.026930421590805054, -0.0026090070605278015, -0.0332210399210453, -0.005804982036352158, 0.0261171143501997, -0.06404241919517517, 0.03574481979012489, 0.03892604634165764, 0.08610755950212479, -0.04536851495504379, -0.050793007016181946, -0.021005166694521904, -0.009335466660559177, -0.01655646786093712, 0.013291312381625175, 0.02206154353916645, -0.027863305062055588, -0.04477318003773689, 0.004856373183429241, 0.054791733622550964, -0.07160361856222153, -0.020582446828484535, 0.030524346977472305, 0.008928665891289711, 0.01797102764248848, -0.052515774965286255, -0.009791421703994274, 0.03149563446640968, -0.003014966147020459, -0.03633546456694603, 0.04144984483718872, 0.006986470427364111, -0.0046390751376748085, -0.04407694935798645, -0.04340219870209694, 0.006307472009211779, 0.07659171521663666, -0.0058093443512916565, -0.03040240705013275, 0.0030538244172930717, 0.02631697617471218, 0.03752166032791138, 0.009815888479351997, -0.01382397674024105, 0.031962618231773376, 0.0716148242354393, 0.06112608686089516, -0.0067313723266124725, 0.03967636823654175, 0.002830894896760583, -0.04134221747517586, -0.024267857894301414, 0.005794253200292587, -0.00000872497184900567, -0.03269151225686073, 0.04341929778456688, 0.0332244448363781, 0.006683065090328455, -0.012426149100065231, -0.024288000538945198, 0.05923845246434212, -0.006394512951374054, 0.015308473259210587, -0.008122196421027184, -0.004751219414174557, -0.03744800016283989, 0.04603556916117668, -0.013719115406274796, 0.004179209470748901, -0.0379134826362133, -0.03861675038933754, 0.010820982977747917, 0.008949333801865578, 0.01815587282180786, 0.02215970680117607, -0.041335541754961014, 0.08422496169805527, -0.043670449405908585, 0.013971026986837387, -0.032161690294742584, -0.05267714709043503, 0.010640083812177181, 0.06848730891942978, 0.017222357913851738, 0.05386674031615257, 0.023960057646036148, -0.04976736754179001, 0.0046874722465872765, 0.05881979316473007, 0.04830728843808174, 0.04165254905819893, -0.015090938657522202, 0.013384988531470299, 0.027242232114076614, 0.04964088648557663, -0.08102483302354813, -0.05327418074011803, 0.015423853881657124, 0.03812116011977196, -0.002334881341084838, -0.002656885189935565, -0.02253241464495659, 0.018269920721650124, -0.03143981099128723, -0.0778520405292511, 0.05368647351861, 0.019779551774263382, 0.013601742684841156, 0.01317350659519434, 0.00973542220890522, 0.003533755661919713, 0.028134221211075783, -0.017312629148364067, 0.005991053301841021, -0.040623001754283905, 0.008528139442205429, -0.006427189335227013, 0.0498020313680172, -0.0328742079436779, 0.02344396337866783, -0.001271864166483283, -0.013030667789280415, 0.05031570419669151, -0.05248863622546196, 0.022186407819390297, 0.021519873291254044, 0.024642501026391983, -0.019314654171466827, 0.01124504767358303, 0.015777062624692917, 0.03287453204393387, 0.06913720816373825, -0.007113362662494183, 0.055475957691669464, 0.004409330897033215, 0.029305651783943176, 0.0915537029504776, 0.009630263783037663, 0.02893228456377983, 0.03264337778091431, 0.0669909417629242, 0.0357535295188427, -0.023757006973028183, 0.03689592331647873, -0.05370214581489563, 0.02550821378827095, -0.04486549273133278, 0.018003663048148155, -0.015485983341932297, 0.0031540272757411003, 0.03358355909585953, 0.010280515067279339, -0.00685118930414319, 0.0008824138785712421, -0.017905594781041145, -0.008243611082434654, 0.05050969868898392, 0.0026998240500688553, -0.016833852976560593, -0.015292500145733356, -0.04392416402697563, 0.02974204160273075, -0.070872463285923, -0.025015752762556076, -0.013685299083590508, -0.03586313873529434, -0.020564747974276543, -0.06900060921907425, -0.05676678195595741, -0.05906812474131584, -0.008467309176921844, 0.0555439293384552, 0.042683232575654984, 0.005660066846758127, -0.03493497520685196, 0.018420524895191193, -0.05541302263736725, -0.03876806050539017, -0.02412908710539341, -0.0365779884159565, -0.007768351584672928, -0.08787225931882858, 0.03326784819364548, 0.02154294215142727, 0.011873100884258747, -0.014133106917142868, 0.022231118753552437, -0.026251429691910744, -0.027378972619771957, 0.062278229743242264, 0.040952712297439575, 0.0025998835917562246, -0.07049567252397537, 0.025893008336424828, -0.01182419154793024, 0.033129818737506866, 0.0036756889894604683, -0.04405863583087921, 0.08646910637617111, 0.07790008187294006, 0.015916084870696068, 0.01811036840081215, -0.019202644005417824, -0.052871380001306534, -0.03769729286432266, -0.039381321519613266, -0.03516868129372597, -0.021629054099321365, -0.015394601039588451, -0.06717720627784729, -0.026463942602276802, -0.011242391541600227, -0.013639235869050026, -0.007608634419739246, 0.012732142582535744, 0.022171441465616226, 0.0527871772646904, 0.0608316995203495, 0.03328605368733406, -0.038947075605392456, -0.0016758946003392339, 0.05693403631448746, -0.005471552722156048, 0.0013517480110749602, -0.09380031377077103, 0.014214558526873589, 0.02454390749335289, 0.0057380651123821735, -0.013393128290772438, -0.00829294789582491, 0.08151470869779587, 0.0032388775143772364, -0.007581472862511873, 0.004186759237200022, -0.00866242591291666, 0.006657967809587717, -0.016707582399249077, -0.0023956578224897385, -0.0002026641886914149, -0.03609037771821022, -0.014233246445655823, -0.05138525739312172, 0.040088992565870285, -0.05638076737523079, -0.04100304841995239, -0.005900631658732891, 0.049741536378860474, 0.010334092192351818, -0.002807678421959281, -0.04241477698087692, -0.00795217789709568, -0.08087722957134247, -0.021658068522810936, 0.07619436085224152, -0.012767624109983444, 0.025556281208992004, 0.04629339650273323, 0.024758022278547287, -0.022407568991184235, 0.041406162083148956, 0.018988395109772682, 0.07544326782226562, -0.01007010880857706, -0.04419678449630737, 0.008422713726758957, -0.04241242632269859, 0.014179857447743416, 0.016821520403027534, -0.03728384152054787, -0.03240878880023956, -0.0899251326918602, -0.025773128494620323, -0.0020016469061374664, -0.02782665565609932, -0.022625239565968513, 0.040832843631505966, -0.007427598349750042, -0.02998100407421589, 0.016448408365249634, 0.013925601728260517, 0.03734498843550682, -0.077919140458107, 0.047036413103342056, 0.0057157897390425205, 0.049853045493364334, -0.04996868968009949, -0.007081161253154278, -0.042631350457668304, -0.042600590735673904, -0.03350738808512688, 0.04087626934051514, 0.0072173322550952435, 0.04956014081835747, 0.07381764054298401, 0.026744386181235313, -0.02990354597568512, 0.04307686164975166, 0.03390638530254364, 0.004229394719004631, -0.04952150955796242, -0.02044590190052986, -0.01281040534377098, -0.04898572340607643, -0.006062941160053015, -0.016081789508461952, 0.02982626110315323, 0.027268439531326294, 0.01094916183501482, -0.003918371628969908, -0.0036693280562758446, -0.04426198825240135, -0.03688521310687065, -0.0737796276807785, -0.01988978683948517, 0.04130038246512413, -0.020904285833239555, 0.0017865373520180583, 0.022278854623436928, 0.01739596016705036, 0.06436243653297424, 0.047470297664403915, -0.017856061458587646, -0.045197732746601105, 0.025907771661877632, 0.03367790952324867, -0.04741574451327324, -0.08189935982227325, -0.03147768974304199, 0.035789892077445984, 0.033000245690345764, -0.009588098153471947, -0.08208608627319336, 0.011770188808441162, 0.04542163014411926, -0.027117663994431496, 0.0687754675745964, -0.020985480397939682, 0.022839738056063652, 0.06722037494182587, -0.01899787038564682, 0.00277886469848454, -0.03148156404495239, -0.021196085959672928, -0.0049413046799600124, 0.05217863619327545, -0.04237416386604309, -0.0037693753838539124, -0.0633624717593193, 0.02332279644906521, 0.03740490972995758, 0.04862653836607933, 0.014947222545742989, -0.0029481707606464624, -0.03579581901431084, 0.007141804788261652, 0.03467942401766777, -0.040882181376218796, -0.004849973600357771, 0.033774953335523605, 0.04261909797787666, -0.036952950060367584, -0.0508413165807724, 0.0012824260629713535, -0.0038650932256132364, 0.05011341720819473, -0.008931847289204597, -0.02236388996243477, -0.0463949590921402, 0.029100961983203888, -0.019755830988287926, -0.012163100764155388, -0.08521293848752975, 0.008940317668020725, -0.01433737576007843, -0.010296725668013096, 0.04555266723036766, 0.028899094089865685, 0.014393503777682781, 0.026942767202854156, 0.019745346158742905, 0.0028970902785658836, -0.03282063081860542, 0.030194275081157684, -0.02956799603998661, 0.006291483994573355, -0.010057416744530201, -0.07032980769872665, -0.010825708508491516, -0.019491931423544884, -0.04330027475953102, -0.024805031716823578, -0.045804791152477264, -0.0055609154514968395, 0.004545328672975302, -0.00770068122074008, -0.02378695458173752, 0.03889317438006401, -0.05342957749962807, -0.02586512826383114, -0.02471229061484337, -0.046128056943416595, -0.06024612858891487, -0.05705166235566139, 0.009584464132785797, 0.015554173849523067, 0.04189604893326759, -0.00013213221973273903, 0.021456031128764153, 0.022905418649315834, -0.015809614211320877, -0.021063679829239845, 0.04561585187911987, 0.004019394516944885, -0.0269977655261755, -0.05258207395672798, -0.022657107561826706, 0.015388723462820053, 0.06627096980810165, -0.0016602721298113465, 0.041305869817733765, 0.01506365742534399, -0.016423651948571205, -0.02378198876976967, -0.01700807362794876, 0.02342373877763748, -0.06846646964550018, -0.03553055226802826, 0.011214354075491428, -0.03598015755414963, 0.0016119148349389434, -0.013032433576881886, -0.013072976842522621, 0.026103409007191658, 0.01853770576417446, 0.02108093909919262, -0.006940493825823069, -0.046740226447582245, 0.036120735108852386, -0.02940359339118004, -0.009203856810927391, -0.06569354236125946, 0.024685749784111977, -0.02792544476687908, 0.007094017695635557, -0.015848606824874878, 0.00037442101165652275, -0.04696233943104744, 0.04339798912405968, -0.005682657938450575, 0.020862450823187828, 0.005238981451839209, 0.023025471717119217, -0.0364866629242897, 0.024733953177928925, -0.017230695113539696, 0.018996860831975937, -0.03961189463734627, 0.03792824596166611, -0.04890449345111847, 0.015309861861169338, -0.02953069657087326, -0.003169809002429247, -0.03456634655594826, -0.03725405037403107, -0.011699369177222252, -0.032174937427043915, 0.03487473353743553, 0.05142723396420479, 0.028418488800525665, 0.026423988863825798, -0.005400652065873146, -0.008927485905587673, 0.002105486812070012, -0.06185218319296837, -0.049391549080610275, -0.025626394897699356, 0.017752205953001976, -0.03139825165271759, 0.06420084834098816, 0.04572172462940216, -0.053603824228048325, -0.05861302465200424, 0.030771376565098763, 0.02603224292397499, 0.004096860997378826, -0.011650845408439636, 0.04253373295068741, 0.010342344641685486, 0.023745058104395866, -0.030719740316271782, -0.007566971704363823, -0.028188394382596016, -0.026968801394104958, 0.019879059866070747, -0.022205956280231476, -0.014929473400115967, -0.02091233618557453, -0.04758721962571144, 0.010730894282460213, 0.057287272065877914, 0.03948081284761429, 0.02279946580529213, 0.03113657608628273, -0.04564819112420082, 0.027366137132048607, -0.02034418098628521, -0.04053589701652527, -0.003912083338946104, 0.019970474764704704, -0.03490220382809639, 0.08633756637573242, -0.014696531929075718, -0.006065980531275272, 0.04813295975327492, 0.02631710097193718, -0.017373545095324516, 0.03860436752438545, -0.02942025102674961, 0.014433256350457668, 0.04954209923744202, -0.07129247486591339, 0.002675475785508752, -0.01572633534669876, 0.06756504625082016, -0.051322102546691895, 0.05218847468495369, 0.04628437012434006, 0.01045931875705719, 0.005738165695220232, -0.04092996194958687, -0.03511567786335945, 0.018188156187534332, -0.059705834835767746, 0.07049277424812317, -0.0019054545555263758, -0.06768713146448135, 0.07246619462966919, 0.020905954763293266, -0.08829012513160706, 0.04143466427922249, 0.056556329131126404, 0.016476184129714966, 0.03755251690745354, 0.055945031344890594, -0.04885292053222656, -0.01986115798354149, -0.02722979336977005, 0.016810759902000427, -0.034329988062381744, -0.0013940398348495364, -0.00042468562605790794, -0.035157620906829834, -0.019200675189495087, 0.030557209625840187, -0.002861510729417205, -0.01039729081094265, 0.026429519057273865, -0.048348318785429, -0.02447284199297428, 0.024125199764966965, 0.03707260265946388, -0.001073557767085731, 0.029954668134450912, -0.02668912336230278, 0.031471967697143555, -0.010787594132125378, -0.006791288033127785, -0.01833774335682392, -0.003638172522187233, 0.00620643375441432, -0.05020725354552269, -0.02311057597398758, 0.02045804262161255, 0.007468807976692915, -0.016104165464639664, 0.0493977852165699, -0.007082258351147175, 0.015274068340659142, 0.03812684118747711, 0.005067799706012011, 0.032438769936561584, -0.05300299823284149, -0.01257415022701025, 0.00355694442987442, 0.02063179388642311, 0.019387828186154366, -0.022246185690164566, 0.02998265251517296, 0.041286010295152664, 0.007787531707435846, -0.006594931706786156, -0.04851997271180153, -0.030194146558642387, 0.023823458701372147, -0.04814356192946434, 0.020647047087550163, 0.027973854914307594, -0.0497640036046505, -0.05191902443766594, -0.027650685980916023, 0.007637389004230499, 0.03954368457198143, -0.028868842869997025, 0.00461828988045454, 0.046556130051612854, -0.012397495098412037, -0.01934152841567993, -0.0743323341012001, -0.028211485594511032, -0.020638849586248398, 0.03864693269133568, 0.040639232844114304, -0.04042786732316017, 0.02980108931660652, -0.04452119767665863, -0.06737502664327621, 0.02379206381738186, 0.03459678962826729, -0.04319266974925995, 0.06768851727247238, 0.07906733453273773, -0.0341649129986763, 0.01697377860546112, 0.026247119531035423, -0.05808362737298012, 0.033320195972919464, 0.026104222983121872, 0.028708044439554214, 0.02086293324828148, 0.031948599964380264, -0.01574472151696682, -0.007144802249968052, -0.07574732601642609, -0.0243311058729887, -0.04887646809220314, 0.006605278234928846, 0.062120504677295685 ]
Arkadiusz/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
--- language: ti widget: - text: "ዓቕሚ መንእሰይ ኤርትራ [MASK] ተራእዩ" --- # Pre-trained ELECTRA small for Tigrinya Language We pre-train ELECTRA small on the [TLMD](https://zenodo.org/record/5139094) dataset, with over 40 million tokens. Contained are trained Flax and PyTorch models. ## Hyperparameters The hyperparameters corresponding to model sizes mentioned above are as follows: | Model Size | L | AH | HS | FFN | P | Seq | |------------|----|----|-----|------|------|------| | SMALL | 12 | 4 | 256 | 1024 | 14M | 512 | (L = number of layers; AH = number of attention heads; HS = hidden size; FFN = feedforward network dimension; P = number of parameters; Seq = maximum sequence length.) ### Framework versions - Transformers 4.12.0.dev0 - Pytorch 1.9.0+cu111 - Datasets 1.13.3 - Tokenizers 0.10.3 ## Citation If you use this model in your product or research, please cite as follows: ``` @article{Fitsum2021TiPLMs, author={Fitsum Gaim and Wonsuk Yang and Jong C. Park}, title={Monolingual Pre-trained Language Models for Tigrinya}, year=2021, publisher={WiNLP 2021 at EMNLP 2021} } ```
[ -0.02593524567782879, -0.039687272161245346, 0.0069176210090518, 0.061430029571056366, 0.05267823487520218, 0.02034738101065159, -0.0027099924627691507, -0.006472670938819647, -0.015086994506418705, 0.06330227106809616, 0.040166206657886505, -0.029656723141670227, 0.003671301295980811, 0.04142085835337639, -0.05911165848374367, -0.02416895516216755, -0.029179120436310768, -0.012433499097824097, -0.03144032880663872, 0.006739005446434021, 0.0004389145760796964, 0.0024870052002370358, 0.009930270723998547, 0.02541797235608101, 0.00036757829366251826, 0.03611566871404648, -0.02701468952000141, 0.0385596938431263, 0.029541486874222755, -0.08013916015625, 0.009642429649829865, -0.03359556198120117, -0.024820730090141296, -0.01502862200140953, -0.04563697427511215, -0.03214520215988159, 0.0032780515030026436, -0.012732510454952717, 0.03421284258365631, 0.052844662219285965, -0.0163996834307909, 0.006635637488216162, -0.0018725902773439884, -0.03960937634110451, 0.05293479561805725, 0.010268858633935452, -0.054379429668188095, -0.005122415255755186, 0.028742332011461258, -0.02398701198399067, -0.03493260592222214, -0.08316778391599655, -0.05398652330040932, 0.022791998460888863, -0.01682172156870365, -0.02653089538216591, -0.07815971970558167, -0.023463699966669083, 0.06655798107385635, -0.042315997183322906, -0.02509152702987194, 0.01158065814524889, -0.07134415209293365, 0.023620102554559708, 0.03876907378435135, -0.0005634069093503058, 0.0015867591137066483, -0.02897472120821476, 0.040233515202999115, -0.009624100290238857, 0.03515689820051193, -0.025707954540848732, -0.0033898120746016502, -0.09255857765674591, -0.021452615037560463, -0.01801750622689724, 0.024527518078684807, 0.00946907140314579, -0.05138928443193436, 0.04025059938430786, 0.04026344418525696, -0.0147568229585886, 0.0388309620320797, 0.001303396769799292, 0.0016336271073669195, 0.04846988990902901, -0.03157028928399086, 0.004338915925472975, 0.01718621887266636, 0.06492912769317627, -0.06477455794811249, -0.04486923664808273, -0.020193979144096375, -0.031539157032966614, -0.01209962647408247, 0.01724185235798359, 0.04050110653042793, 0.008251121267676353, 0.051703210920095444, 0.010105770081281662, 0.050743039697408676, 0.0445881262421608, -0.010596093721687794, 0.047012828290462494, 0.007369691506028175, -0.015982327982783318, -0.007407074794173241, -0.06330852210521698, -0.05035027489066124, 0.04266660660505295, 0.019580412656068802, -0.05185498297214508, -0.04758021607995033, 0.013739125803112984, 0.02237127162516117, -0.03307820111513138, 0.0334673672914505, -0.019660046324133873, -0.042281173169612885, -0.055839914828538895, 0.04891517013311386, 0.0007136844214983284, 0.008625202812254429, 0.011617770418524742, -0.049831364303827286, 0.020688071846961975, -0.027665484696626663, -0.019314398989081383, -0.010265398770570755, 0.006242385134100914, -0.03799745440483093, 0.01970023661851883, 0.01816071942448616, -0.02115582302212715, -0.01788828894495964, 0.006310073658823967, -0.08577979356050491, 0.04449497163295746, 0.02877887338399887, 0.08061530441045761, -0.045645926147699356, -0.04693257063627243, 0.016851479187607765, -0.015832848846912384, -0.028407128527760506, 0.0042392797768116, 0.013144146651029587, -0.0489606037735939, -0.018558090552687645, -0.008729146793484688, 0.05571383610367775, -0.07986538112163544, 0.016744233667850494, 0.05352579802274704, 0.0027436879463493824, 0.02568000927567482, -0.04483211413025856, -0.018668603152036667, -0.004385626409202814, 0.018408598378300667, -0.035765621811151505, 0.048375453799963, 0.019151708111166954, 0.0022304225713014603, -0.06579375267028809, -0.053247660398483276, 0.0002999351709149778, 0.0887477695941925, 0.0004131982568651438, 0.00444653769955039, 0.014227967709302902, 0.025184517726302147, 0.05988886207342148, 0.011474374681711197, -0.01630622148513794, 0.05087961256504059, 0.04423856362700462, 0.040911536663770676, -0.01816139556467533, 0.04185069724917412, -0.0008074258803389966, -0.03129620477557182, -0.03411262109875679, -0.002540633315220475, 0.010904853232204914, -0.02442769706249237, 0.020109524950385094, 0.02329639159142971, 0.013530033640563488, -0.037114012986421585, 0.014555616304278374, 0.05641188845038414, 0.002947402186691761, 0.018513556569814682, 0.0013613536721095443, -0.01617026887834072, -0.024875782430171967, 0.030120238661766052, -0.029349127784371376, 0.006361939013004303, -0.04292004555463791, -0.019346754997968674, -0.008796632289886475, 0.03415803238749504, 0.04146767035126686, 0.026861391961574554, -0.012419911101460457, 0.0672554299235344, -0.011897098273038864, 0.001866143778897822, -0.04868124797940254, -0.058146391063928604, 0.019130773842334747, 0.04775531217455864, 0.03183181956410408, 0.06228134408593178, 0.007156627252697945, -0.03473053500056267, 0.039633266627788544, 0.07417037338018417, 0.06507782638072968, 0.005356544628739357, -0.04476990923285484, 0.03024585358798504, 0.028781326487660408, 0.06923384964466095, -0.058689869940280914, -0.022924670949578285, 0.0270678848028183, 0.024088582023978233, -0.02423805370926857, 0.024672754108905792, -0.00920799095183611, 0.017148276790976524, -0.053167328238487244, -0.06826353073120117, 0.01887417770922184, 0.02290782332420349, 0.028165416792035103, 0.006092547904700041, -0.01915634423494339, 0.038167230784893036, 0.018589535728096962, -0.00006849597411928698, 0.003140508197247982, -0.04787560924887657, -0.0023520328104496002, 0.01078892033547163, 0.04317979887127876, -0.037904154509305954, 0.005798900965601206, -0.006557611282914877, -0.02512458898127079, 0.05707288533449173, -0.058426469564437866, 0.017001910135149956, 0.00836535356938839, 0.005251978524029255, -0.027607392519712448, 0.033985089510679245, -0.0002393787435721606, 0.0463046096265316, 0.06478749960660934, 0.022683147341012955, 0.0587119460105896, -0.013610605150461197, 0.02683561109006405, 0.08321065455675125, 0.006543549709022045, 0.002228566911071539, 0.03202097862958908, 0.06740717589855194, 0.030519206076860428, -0.006478540133684874, 0.0660451352596283, -0.05163123831152916, 0.01525847613811493, -0.03455149009823799, 0.0077508664689958096, -0.0161081925034523, -0.00013011472765356302, 0.045806050300598145, 0.007546484470367432, 0.008655164390802383, 0.0019936251919716597, -0.04077021777629852, -0.016977744176983833, 0.03801804408431053, -0.012812457047402859, -0.02192559838294983, -0.02190358005464077, -0.027103379368782043, 0.011025148443877697, -0.07265684008598328, -0.026864388957619667, -0.016968343406915665, -0.0327167883515358, -0.020716754719614983, -0.07427351921796799, -0.029519235715270042, -0.03892277926206589, -0.01575339213013649, 0.05697749927639961, 0.04245796054601669, 0.008070829324424267, -0.01828044094145298, 0.006331255659461021, -0.047808755189180374, -0.015286015346646309, -0.03206820413470268, -0.05210231989622116, -0.014207903295755386, -0.06738324463367462, 0.054310452193021774, 0.023784803226590157, 0.01566350646317005, 0.010683340951800346, 0.02160927653312683, -0.014723346568644047, -0.020870940759778023, 0.021803542971611023, 0.03618483990430832, -0.020541297271847725, -0.06612005084753036, 0.032305993139743805, -0.010937239043414593, 0.029239516705274582, 0.008999978192150593, -0.029417522251605988, 0.08513273298740387, 0.07095127552747726, 0.030286205932497978, 0.001832232577726245, 0.001172281801700592, -0.06351372599601746, -0.04259966313838959, -0.04260704293847084, -0.04409507289528847, -0.015007691457867622, -0.007977419532835484, -0.05009547993540764, 0.00737893907353282, -0.035065457224845886, -0.0005874228663742542, -0.0033860711846500635, 0.033598411828279495, 0.029187863692641258, 0.04147616773843765, 0.05719941481947899, 0.04332546517252922, -0.0538138747215271, -0.006030334625393152, 0.044626154005527496, 0.00878695398569107, 0.003683870891109109, -0.07084212452173233, -0.0247482992708683, 0.029508773237466812, 0.02045382373034954, -0.005799267906695604, -0.014777589589357376, 0.07550487667322159, 0.020720884203910828, -0.021217098459601402, -0.0035870459396392107, -0.03909341245889664, -0.0011972285574302077, 0.004927977919578552, 0.009003006853163242, -0.007990449666976929, -0.04849822074174881, -0.020573271438479424, -0.015332788228988647, 0.06507715582847595, -0.07290550321340561, -0.045187484472990036, -0.015643054619431496, 0.032211851328611374, 0.011367780156433582, -0.0011224562767893076, -0.04334695637226105, 0.0012449943460524082, -0.050843168050050735, -0.02480330318212509, 0.015580876730382442, 0.02393837459385395, 0.024176398292183876, 0.04844556748867035, 0.03626050800085068, -0.047094766050577164, 0.023735783994197845, 0.02006891369819641, 0.08840295672416687, 0.008657890371978283, -0.036989714950323105, -0.008329443633556366, -0.010582397691905499, 0.01565392129123211, -0.013402752578258514, -0.025986935943365097, -0.042254738509655, -0.07634232193231583, -0.03234907612204552, -0.0032303514890372753, -0.03575260192155838, -0.0021284581162035465, 0.03363991901278496, -0.010819640010595322, -0.010542402043938637, 0.010326695628464222, 0.007840422913432121, 0.03430360555648804, -0.08244239538908005, 0.04853242635726929, 0.007166316732764244, 0.03193318843841553, -0.03545419126749039, -0.0145657854154706, -0.016642874106764793, -0.0159860048443079, -0.01495592575520277, 0.06398386508226395, 0.02297344245016575, 0.040598064661026, 0.0833977535367012, 0.007301372475922108, -0.031617652624845505, 0.06918059289455414, 0.03983091935515404, -0.006011561490595341, -0.04274735599756241, -0.006846626289188862, -0.014423513785004616, -0.05752696096897125, -0.008505980484187603, -0.014703909866511822, 0.02333480305969715, 0.04782216623425484, 0.025356125086545944, -0.005203454289585352, 0.002019073348492384, -0.023720821365714073, -0.04710039496421814, -0.07136623561382294, -0.05052677169442177, 0.05474534258246422, -0.03469792380928993, 0.023218775168061256, 0.02005654387176037, 0.03070036694407463, 0.053276900202035904, 0.07127630710601807, -0.03944725915789604, -0.05972927436232567, 0.015774404630064964, 0.027788212522864342, -0.04280267655849457, -0.0646776333451271, -0.05214045196771622, 0.02914334088563919, 0.05218888819217682, 0.02666689082980156, -0.0772676095366478, 0.006567672360688448, 0.021529151126742363, -0.004995568655431271, 0.06595337390899658, -0.03327295184135437, 0.009079809300601482, 0.041287705302238464, -0.014711088500916958, 0.007210555486381054, -0.021212195977568626, -0.007423373870551586, -0.0007459286716766655, 0.04040635749697685, -0.034454476088285446, -0.011997498571872711, -0.043059200048446655, 0.0228970218449831, 0.045679982751607895, 0.0461396649479866, 0.028461812064051628, -0.02633293904364109, -0.06123131141066551, 0.018586980178952217, 0.03761078417301178, -0.03771304339170456, -0.0023967702873051167, 0.018770132213830948, 0.021816091611981392, -0.029614245519042015, -0.028895772993564606, -0.013422051444649696, 0.0020387957338243723, 0.021397234871983528, 0.0021372123155742884, -0.03745785355567932, -0.05140821635723114, 0.014219202101230621, -0.03208479657769203, -0.01364531833678484, -0.09076648950576782, 0.014199486002326012, -0.013251058757305145, -0.012893215753138065, 0.05053357779979706, 0.04798314347863197, 0.034543443471193314, 0.011836555786430836, 0.023242739960551262, 0.023333150893449783, -0.04425129294395447, 0.05353424325585365, -0.027072284370660782, 0.005810324568301439, -0.011361733078956604, -0.05558731406927109, -0.007437648251652718, -0.038884807378053665, -0.05214012786746025, -0.03660023584961891, -0.022024117410182953, -0.010538489557802677, 0.0008764023659750819, 0.014863744378089905, -0.010821870528161526, 0.07203657180070877, -0.04570779576897621, -0.018884437158703804, -0.022788049653172493, -0.033871933817863464, -0.08124782890081406, -0.06506770104169846, 0.03290250897407532, 0.031032469123601913, 0.053008921444416046, -0.022484980523586273, -0.007629851810634136, 0.02698986977338791, -0.023531023412942886, -0.005804060958325863, 0.035819824784994125, -0.0028918832540512085, -0.01172871794551611, -0.046616051346063614, 0.010422726161777973, 0.015727568417787552, 0.05506385490298271, -0.012673604302108288, 0.05221983417868614, 0.013618674129247665, -0.004733290057629347, 0.014968261122703552, -0.0246669240295887, 0.01648806408047676, -0.07242309302091599, -0.04260120540857315, 0.0028952332213521004, -0.049415331333875656, 0.010223212651908398, -0.01668987236917019, -0.009948408231139183, 0.023716159164905548, 0.011973674409091473, 0.038918305188417435, -0.018275218084454536, -0.045513443648815155, 0.03841933235526085, -0.02258968912065029, -0.013605269603431225, -0.045112814754247665, 0.02110240049660206, -0.025259872898459435, 0.0023404674138873816, -0.015534055419266224, 0.002910693408921361, -0.061855461448431015, 0.025111576542258263, -0.011554738506674767, 0.0015497407875955105, -0.00015542568871751428, -0.005199027247726917, -0.030560584738850594, 0.03353945538401604, -0.01871575601398945, 0.015465380623936653, -0.03353423997759819, 0.03861754760146141, -0.04540398344397545, 0.016350358724594116, -0.04044909402728081, 0.007895112968981266, -0.04609454795718193, -0.04090683162212372, 0.00006701840902678668, -0.023066384717822075, 0.02439495548605919, 0.051679641008377075, 0.02102608233690262, 0.014340446330606937, -0.001614235108718276, 0.0055977352894842625, 0.0001027156031341292, -0.07936321198940277, -0.02835395373404026, -0.020729409530758858, 0.02276049740612507, -0.004155866336077452, 0.06885695457458496, 0.047606680542230606, -0.028724364936351776, -0.06245950981974602, 0.03293464705348015, 0.01939881034195423, 0.014951867051422596, 0.002250886056572199, 0.05172169208526611, 0.0020782393403351307, 0.05821160227060318, -0.038145966827869415, -0.01349649764597416, -0.027365870773792267, -0.037589628249406815, 0.027534110471606255, -0.010268536396324635, 0.007038520183414221, -0.004450047388672829, -0.039430852979421616, -0.007081883493810892, 0.06496977061033249, 0.036002855747938156, 0.02359149418771267, -0.014754828065633774, -0.045371174812316895, 0.029849911108613014, -0.013931937515735626, -0.0564412958920002, -0.001820735982619226, 0.010817792266607285, -0.041184112429618835, 0.09098952263593674, -0.011051843874156475, 0.012774987146258354, 0.03184672072529793, 0.018529098480939865, -0.0040233260951936245, 0.017519021406769753, -0.031744133681058884, 0.017902366816997528, 0.041545458137989044, -0.030598770827054977, 0.0007365781930275261, -0.00527546601369977, 0.06062961742281914, -0.041240815073251724, 0.05097435787320137, 0.044627051800489426, 0.011154420673847198, 0.002909564645960927, -0.01667766645550728, -0.05873249098658562, 0.00005078750109532848, -0.028832904994487762, 0.06855236738920212, 0.00006181502976687625, -0.06812112778425217, 0.06956871598958969, 0.009069127030670643, -0.07552850246429443, 0.05171370878815651, 0.07179055362939835, 0.02082022652029991, 0.0524040162563324, 0.05169209465384483, -0.042329784482717514, 0.02614501304924488, -0.035167183727025986, 0.010522325523197651, -0.056112900376319885, 0.01586051471531391, 0.04161326587200165, -0.04203743860125542, -0.02905890718102455, 0.03166172653436661, 0.004573278594762087, -0.01766039803624153, 0.03070627897977829, -0.06102674826979637, -0.01955644227564335, 0.006463487166911364, 0.039008840918540955, -0.03448810800909996, 0.023821042850613594, -0.03693068400025368, 0.04826703667640686, 0.0014624038012698293, -0.0023902361281216145, -0.03407682105898857, 0.011192240752279758, 0.023500554263591766, -0.06368356198072433, -0.03593821823596954, 0.027426255866885185, 0.019913095980882645, -0.03551147133111954, 0.04603556916117668, -0.007547546178102493, 0.011630366556346416, 0.0375831201672554, -0.0005320970085449517, 0.04483192414045334, -0.05916444584727287, 0.0020266526844352484, 0.01808554120361805, 0.018028732389211655, 0.04954369738698006, -0.017442408949136734, 0.04349087178707123, 0.03984922170639038, 0.025326818227767944, -0.005359217058867216, -0.06208615377545357, -0.012615409679710865, -0.0027020801790058613, -0.05146818608045578, 0.020302848890423775, 0.042624156922101974, -0.05598817020654678, -0.044411055743694305, -0.036995016038417816, -0.006005561910569668, 0.034794289618730545, -0.049101777374744415, -0.006753249559551477, 0.030791157856583595, 0.010515941306948662, -0.03493278846144676, -0.06809614598751068, -0.03809509426355362, -0.01277834177017212, 0.05308821424841881, 0.006233918946236372, -0.043126653879880905, 0.013637716881930828, -0.03362664207816124, -0.0808262825012207, 0.02793917991220951, 0.019807063043117523, -0.01422847155481577, 0.05192655324935913, 0.0718974769115448, -0.05159211903810501, 0.007212234195321798, 0.014878688380122185, -0.036465466022491455, 0.05187494307756424, 0.013561179861426353, -0.0005863306578248739, 0.028878681361675262, 0.018805239349603653, 0.0045516337268054485, -0.003355215070769191, -0.06797023862600327, -0.018586767837405205, -0.025753632187843323, -0.003227401990443468, 0.07563775777816772 ]
ArnaudPannatier/MLPMixer
[]
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: ti widget: - text: "ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር" datasets: - TLMD - NTC metrics: - f1 - precision - recall - accuracy model-index: - name: tiroberta-base-pos results: - task: name: Token Classification type: token-classification metrics: - name: F1 type: f1 value: 0.9562 - name: Precision type: precision value: 0.9562 - name: Recall type: recall value: 0.9562 - name: Accuracy type: accuracy value: 0.9562 --- # Tigrinya POS tagging with TiRoBERTa This model is a fine-tuned version of [TiRoBERTa](https://huggingface.co/fgaim/tiroberta) on the NTC-v1 dataset (Tedla et al. 2016). ## Training ### Hyperparameters The following hyperparameters were used during training: - learning_rate: 5e-05 - train_batch_size: 8 - eval_batch_size: 32 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 10.0 ### Results The model achieves the following results on the test set: - Loss: 0.3194 - Adj Precision: 0.9219 - Adj Recall: 0.9335 - Adj F1: 0.9277 - Adj Number: 1670 - Adv Precision: 0.8297 - Adv Recall: 0.8554 - Adv F1: 0.8423 - Adv Number: 484 - Con Precision: 0.9844 - Con Recall: 0.9763 - Con F1: 0.9804 - Con Number: 972 - Fw Precision: 0.7895 - Fw Recall: 0.5357 - Fw F1: 0.6383 - Fw Number: 28 - Int Precision: 0.6552 - Int Recall: 0.7308 - Int F1: 0.6909 - Int Number: 26 - N Precision: 0.9650 - N Recall: 0.9662 - N F1: 0.9656 - N Number: 3992 - Num Precision: 0.9747 - Num Recall: 0.9665 - Num F1: 0.9706 - Num Number: 239 - N Prp Precision: 0.9308 - N Prp Recall: 0.9447 - N Prp F1: 0.9377 - N Prp Number: 470 - N V Precision: 0.9854 - N V Recall: 0.9736 - N V F1: 0.9794 - N V Number: 416 - Pre Precision: 0.9722 - Pre Recall: 0.9625 - Pre F1: 0.9673 - Pre Number: 907 - Pro Precision: 0.9448 - Pro Recall: 0.9236 - Pro F1: 0.9341 - Pro Number: 445 - Pun Precision: 1.0 - Pun Recall: 0.9994 - Pun F1: 0.9997 - Pun Number: 1607 - Unc Precision: 1.0 - Unc Recall: 0.875 - Unc F1: 0.9333 - Unc Number: 16 - V Precision: 0.8780 - V Recall: 0.9231 - V F1: 0.9 - V Number: 78 - V Aux Precision: 0.9685 - V Aux Recall: 0.9878 - V Aux F1: 0.9780 - V Aux Number: 654 - V Ger Precision: 0.9388 - V Ger Recall: 0.9571 - V Ger F1: 0.9479 - V Ger Number: 513 - V Imf Precision: 0.9634 - V Imf Recall: 0.9497 - V Imf F1: 0.9565 - V Imf Number: 914 - V Imv Precision: 0.8793 - V Imv Recall: 0.7286 - V Imv F1: 0.7969 - V Imv Number: 70 - V Prf Precision: 0.8960 - V Prf Recall: 0.9082 - V Prf F1: 0.9020 - V Prf Number: 294 - V Rel Precision: 0.9678 - V Rel Recall: 0.9538 - V Rel F1: 0.9607 - V Rel Number: 757 - Overall Precision: 0.9562 - Overall Recall: 0.9562 - Overall F1: 0.9562 - Overall Accuracy: 0.9562 ### Framework versions - Transformers 4.12.0.dev0 - Pytorch 1.9.0+cu111 - Datasets 1.13.3 - Tokenizers 0.10.3 ## Citation If you use this model in your product or research, please cite as follows: ``` @article{Fitsum2021TiPLMs, author={Fitsum Gaim and Wonsuk Yang and Jong C. Park}, title={Monolingual Pre-trained Language Models for Tigrinya}, year=2021, publisher={WiNLP 2021/EMNLP 2021} } ``` ## References ``` Tedla, Y., Yamamoto, K. & Marasinghe, A. 2016. Tigrinya Part-of-Speech Tagging with Morphological Patterns and the New Nagaoka Tigrinya Corpus. International Journal Of Computer Applications 146 pp. 33-41 (2016). ```
[ 0.022116445004940033, -0.022379182279109955, 0.0023461361415684223, 0.043258991092443466, 0.041859108954668045, 0.015975313261151314, -0.017732970416545868, -0.019599435850977898, -0.026729704812169075, 0.056451134383678436, 0.030986297875642776, -0.028044629842042923, -0.00234517571516335, 0.04466221109032631, -0.04634084179997444, -0.05047803372144699, -0.0008296450250782073, -0.0229646023362875, -0.046367108821868896, -0.019084123894572258, -0.0012360726250335574, 0.012343183159828186, -0.006783905904740095, 0.019278520718216896, 0.009294634684920311, 0.02783564105629921, -0.005986830685287714, 0.03575547784566879, 0.025511303916573524, -0.08931736648082733, 0.014346333220601082, -0.008164992555975914, -0.04303347319364548, -0.009962739422917366, -0.021288888528943062, -0.01622859016060829, 0.0017219169531017542, 0.001145911286585033, 0.04355291277170181, 0.05668767914175987, -0.01541155856102705, 0.012278886511921883, -0.007047723047435284, -0.05496611446142197, 0.05853523313999176, -0.009614892303943634, -0.05396929010748863, -0.004153887275606394, 0.025898048654198647, -0.013940577395260334, -0.06918831914663315, -0.06870754808187485, -0.041737597435712814, -0.0021209174301475286, -0.007912997156381607, -0.029873844236135483, -0.04856492578983307, 0.003179718740284443, 0.07889972627162933, -0.04294915124773979, -0.04904714226722717, 0.0017253749538213015, -0.06541302055120468, 0.013027764856815338, 0.035522036254405975, -0.014167174696922302, 0.02243194915354252, -0.04620381444692612, 0.03430481627583504, -0.017072176560759544, 0.04378852620720863, -0.03654051572084427, 0.00984023418277502, -0.0749228298664093, -0.004293974954634905, -0.011522085405886173, 0.02671762742102146, 0.04799570143222809, -0.04538401961326599, 0.047287020832300186, 0.04254024848341942, -0.02456103451550007, 0.051593177020549774, 0.0010710827773436904, -0.010019587352871895, 0.031224580481648445, -0.025102218613028526, -0.002765561221167445, 0.025532560423016548, 0.049445364624261856, -0.03584277257323265, -0.027309808880090714, -0.029068946838378906, -0.019435398280620575, -0.008436201140284538, 0.042809829115867615, 0.055857859551906586, 0.004059415776282549, 0.049133580178022385, -0.0057242815382778645, 0.03175860643386841, 0.0627710297703743, -0.01537481788545847, 0.059222228825092316, -0.011438633315265179, -0.009298697113990784, -0.008062339387834072, -0.03053455241024494, -0.05324234813451767, 0.040525540709495544, 0.02259119413793087, -0.04581345245242119, -0.02005569078028202, 0.0386899933218956, 0.0035353403072804213, -0.035508155822753906, 0.04191635549068451, -0.020879317075014114, -0.04155156388878822, -0.05625269562005997, 0.04682544618844986, 0.022022489458322525, 0.0036682630889117718, 0.01119451317936182, -0.05098841339349747, -0.00797194242477417, -0.017480988055467606, -0.022457366809248924, 0.011320122517645359, 0.0089871222153306, -0.009020556695759296, 0.021824954077601433, -0.0025510205887258053, -0.06245196610689163, 0.021931501105427742, 0.001129312440752983, -0.061063751578330994, 0.02866540104150772, 0.02316528558731079, 0.09738629311323166, -0.05053434148430824, -0.06494328379631042, 0.004818376153707504, -0.003693171078339219, 0.002710174536332488, 0.005405067000538111, 0.011540460400283337, -0.021540945395827293, -0.021351827308535576, 0.015203306451439857, 0.055915649980306625, -0.08564785122871399, 0.0138777457177639, 0.06855453550815582, 0.0008743088692426682, 0.036121565848588943, -0.040719207376241684, -0.033162083476781845, 0.020098362118005753, -0.031602174043655396, -0.03195049613714218, 0.03167114779353142, 0.0069129327312111855, 0.0016963627422228456, -0.04742344841361046, -0.034819576889276505, 0.017487460747361183, 0.08615028113126755, -0.008657925762236118, -0.007325862068682909, -0.020238559693098068, 0.014846732839941978, 0.05022088438272476, 0.016433637589216232, -0.010704469867050648, 0.03594281151890755, 0.06064430996775627, 0.0420965813100338, -0.03923674300312996, 0.05470716953277588, 0.01729314588010311, -0.037197649478912354, -0.022308195009827614, 0.017373859882354736, 0.001206937711685896, -0.03603333607316017, 0.03134031593799591, 0.016123339533805847, 0.014839963987469673, -0.04138694703578949, -0.0321408212184906, 0.058419786393642426, 0.010770570486783981, 0.015992458909749985, -0.015255505219101906, -0.005452101118862629, -0.030793936923146248, 0.04831012338399887, 0.004005326423794031, -0.001452091266401112, -0.018033703789114952, -0.02467341721057892, 0.008866915479302406, 0.02988401986658573, 0.027324307709932327, 0.040681514889001846, -0.02806045301258564, 0.07006655633449554, -0.05033944919705391, 0.03429172933101654, -0.03330755606293678, -0.025356439873576164, 0.014454099349677563, 0.07130251824855804, 0.03678467497229576, 0.05858458951115608, 0.009946705773472786, -0.03190433606505394, 0.03087524138391018, 0.056030407547950745, 0.06395359337329865, 0.015310557559132576, -0.017675546929240227, 0.004192964173853397, 0.03162417560815811, 0.04164943844079971, -0.059240058064460754, -0.04531669616699219, 0.033810168504714966, 0.04679093882441521, -0.006495892535895109, -0.007337754126638174, -0.036135513335466385, 0.024161923676729202, -0.06370177865028381, -0.05476377531886101, 0.047827836126089096, 0.010566214099526405, -0.0009568217792548239, 0.036971233785152435, -0.010116842575371265, 0.023280132561922073, 0.03465398773550987, -0.009250002913177013, -0.005739624612033367, -0.0338762030005455, 0.022489797323942184, -0.002325872192159295, 0.0535871759057045, -0.049567438662052155, 0.01332648005336523, -0.006982537917792797, -0.006244383752346039, 0.06809022277593613, -0.08190000802278519, 0.007204211317002773, 0.03738543763756752, 0.02438890002667904, -0.021970096975564957, 0.02489064820110798, -0.005073630250990391, 0.03629735857248306, 0.04791126027703285, 0.008281389251351357, 0.05701576918363571, -0.013573715463280678, 0.020287297666072845, 0.08725690096616745, 0.0017915032804012299, -0.0012586780358105898, 0.03141753748059273, 0.05932803824543953, 0.0501551628112793, -0.019654881209135056, 0.04425525292754173, -0.04650196433067322, 0.009694217704236507, -0.056142061948776245, 0.00902628991752863, -0.013624412938952446, -0.00020371336722746491, 0.04350350424647331, 0.017383934929966927, -0.033727001398801804, -0.014287359081208706, -0.003495190991088748, -0.026503989472985268, 0.04192519932985306, -0.011563405394554138, -0.018202070146799088, -0.0038401177152991295, 0.011057320050895214, 0.0007317983545362949, -0.0774972215294838, -0.03833054006099701, -0.025127576664090157, -0.03677726536989212, -0.031702920794487, -0.06550931930541992, -0.016473859548568726, -0.04932984709739685, -0.03692087531089783, 0.038492653518915176, 0.029164994135499, -0.004323731642216444, -0.026158876717090607, 0.0051588090136647224, -0.05603056773543358, -0.045452069491147995, -0.04261895269155502, -0.04138387739658356, -0.04074283316731453, -0.08008844405412674, 0.02346573956310749, 0.033602524548769, 0.008099764585494995, 0.02404664270579815, 0.02395477145910263, -0.010699678212404251, -0.029260138049721718, 0.06512697786092758, 0.05573676899075508, -0.01124504953622818, -0.043330010026693344, 0.034855108708143234, -0.013761344365775585, 0.024982964619994164, 0.00820709578692913, -0.05545584112405777, 0.09644665569067001, 0.07863970100879669, 0.028925815597176552, 0.02186797559261322, -0.013861286453902721, -0.05940303951501846, -0.04302077367901802, -0.0466524139046669, -0.04884767904877663, -0.008781848475337029, -0.048661623150110245, -0.06107829883694649, 0.00874385330826044, -0.010307801887392998, 0.01013376098126173, -0.01669011451303959, 0.023311959579586983, 0.04172613471746445, 0.04192468896508217, 0.04562373459339142, 0.055253662168979645, -0.030797626823186874, -0.018674157559871674, 0.04676546901464462, -0.014978860504925251, 0.0016465953085571527, -0.08712522685527802, 0.004971276503056288, 0.022359808906912804, 0.004983915947377682, 0.013094550929963589, 0.005818196572363377, 0.078113853931427, 0.0005273257265798748, -0.00827513076364994, -0.005617469549179077, -0.017353344708681107, -0.018252337351441383, -0.004241499584168196, 0.006283226888626814, -0.007699895650148392, -0.0375806950032711, -0.013888537883758545, -0.021614225581288338, 0.034394167363643646, -0.07556058466434479, -0.04876343160867691, -0.02258642204105854, 0.04215850308537483, 0.005310717970132828, -0.0020785266533493996, -0.03897615522146225, -0.008631739765405655, -0.07910679280757904, -0.027110079303383827, 0.04252181202173233, 0.02745269238948822, 0.013283772394061089, 0.0443156361579895, 0.024396425113081932, -0.0445932112634182, 0.03889165818691254, 0.04351145401597023, 0.07892394810914993, 0.000011349939995852765, -0.044275958091020584, -0.014903385192155838, -0.03056105598807335, -0.0002614438417367637, -0.011560758575797081, -0.032890141010284424, -0.04331158101558685, -0.09366554021835327, -0.017623862251639366, -0.00795183889567852, -0.00855584628880024, -0.012323603965342045, 0.03792053088545799, 0.01836082711815834, -0.004077862482517958, -0.008392189629375935, 0.015720149502158165, 0.01632813923060894, -0.05725383386015892, 0.04060005769133568, 0.0053903814405202866, 0.016375374048948288, -0.0482611209154129, 0.006988300941884518, -0.05091444402933121, -0.013610017485916615, -0.019593574106693268, 0.04252435266971588, 0.0057765282690525055, 0.04076816141605377, 0.0796777755022049, 0.01721585914492607, -0.0325409434735775, 0.0622270330786705, 0.05606469139456749, -0.012296988628804684, -0.05501747503876686, -0.030287807807326317, -0.00832740031182766, -0.04543949291110039, -0.014386837370693684, -0.01352221705019474, 0.022251784801483154, 0.05524572730064392, 0.0013103113742545247, -0.005343587137758732, -0.01119258813560009, -0.036406658589839935, -0.03622593730688095, -0.06291618943214417, -0.03547438979148865, 0.030927101150155067, -0.016398806124925613, 0.010142404586076736, 0.031229352578520775, 0.0048509929329156876, 0.05425018072128296, 0.059373803436756134, -0.03207896277308464, -0.03845283016562462, 0.028005188331007957, 0.015858419239521027, -0.02332380786538124, -0.07282797247171402, -0.05412876978516579, 0.06021413207054138, 0.03026755526661873, -0.017833013087511063, -0.07331590354442596, 0.0024036732502281666, 0.04529856517910957, -0.040302760899066925, 0.07232693582773209, -0.03158072382211685, 0.023766526952385902, 0.02923218533396721, -0.025295395404100418, 0.027357567101716995, -0.032757531851530075, -0.005420527420938015, -0.005508346948772669, 0.035492200404405594, -0.02208084985613823, -0.006959973834455013, -0.045896776020526886, 0.02321753278374672, 0.037384994328022, 0.05953722819685936, 0.022642308846116066, -0.032234929502010345, -0.04396168515086174, 0.029285015538334846, 0.03898901864886284, -0.06367860734462738, -0.007953516207635403, 0.026923565194010735, 0.05133262649178505, -0.043050721287727356, -0.03995874896645546, -0.011730726808309555, -0.0030333742033690214, 0.04099823161959648, 0.009365350939333439, -0.03792951628565788, -0.05732855573296547, 0.013283198699355125, -0.03156121075153351, -0.01663350500166416, -0.07573691755533218, 0.03832880035042763, -0.012683241628110409, -0.0033874879591166973, 0.03341669589281082, 0.024021118879318237, 0.01612921431660652, 0.03983191028237343, 0.03434431925415993, 0.0033565605990588665, -0.042493853718042374, 0.0372166708111763, -0.03047797828912735, -0.005557913798838854, -0.007481100037693977, -0.07178093492984772, -0.004735718481242657, -0.022111181169748306, -0.04315001517534256, -0.04564695805311203, -0.02842213585972786, 0.012768971733748913, 0.01691104844212532, 0.005142011679708958, -0.018074188381433487, 0.04946634918451309, -0.008731859736144543, -0.022055163979530334, -0.018122082576155663, -0.04464652016758919, -0.059882137924432755, -0.0736968144774437, 0.03952186554670334, 0.023629140108823776, 0.04237876087427139, 0.02899714931845665, 0.020551158115267754, 0.02187683805823326, 0.007371969986706972, -0.02692459337413311, 0.003057242603972554, -0.014205805025994778, -0.004924470093101263, -0.04039805009961128, 0.011201737448573112, 0.022747380658984184, 0.05946875736117363, -0.04273306578397751, 0.03971151262521744, 0.011485829018056393, -0.014875921420753002, -0.02156069688498974, -0.0007777268183417618, 0.021280722692608833, -0.053149059414863586, -0.03244340419769287, 0.007010397966951132, -0.043763335794210434, 0.005999011918902397, -0.03450002893805504, -0.016456644982099533, 0.00046443066094070673, 0.00936442706733942, 0.03213836997747421, -0.019081780686974525, -0.0443522073328495, -0.002747621387243271, -0.030232185497879982, -0.01367625966668129, -0.05260704830288887, 0.04470105096697807, -0.031090257689356804, 0.006996132433414459, -0.0077282339334487915, -0.028211476281285286, -0.03441900014877319, 0.01359003409743309, -0.010590651072561741, -0.010975944809615612, -0.018052736297249794, 0.04790259152650833, -0.029590116813778877, 0.028858771547675133, 0.00046274447231553495, 0.016773149371147156, -0.00522512337192893, 0.04879739135503769, -0.051436033099889755, 0.004679450299590826, -0.019225966185331345, 0.006672037299722433, -0.030253279954195023, -0.001458143931813538, -0.019001659005880356, -0.03870081156492233, 0.04108353704214096, 0.0589512474834919, 0.03548626974225044, 0.034432802349328995, 0.0030324780382215977, 0.0042131985537707806, 0.02518954873085022, -0.04669412225484848, -0.020955756306648254, -0.03546956554055214, -0.010076991282403469, -0.014659810811281204, 0.07087774574756622, 0.038789838552474976, -0.0344821959733963, -0.048380590975284576, 0.024951094761490822, 0.03331230208277702, 0.008773832581937313, -0.0015166386729106307, 0.0665799155831337, 0.027550697326660156, 0.03943456709384918, -0.027660038322210312, -0.004031435586512089, -0.017171069979667664, -0.03701990470290184, 0.040835436433553696, -0.006331340409815311, 0.01894836314022541, -0.012310168705880642, -0.05060950666666031, -0.012402099557220936, 0.05196884647011757, 0.02936752513051033, 0.016637828201055527, -0.009798097424209118, -0.024011356756091118, 0.016866318881511688, -0.005637766793370247, -0.048808395862579346, 0.008219047449529171, 0.019635222852230072, -0.05077529326081276, 0.08829344809055328, -0.026585202664136887, -0.00027426693122833967, 0.05599798262119293, 0.031211422756314278, -0.017425475642085075, 0.046566080302000046, -0.024621648713946342, 0.017096247524023056, 0.05094555392861366, -0.07733478397130966, 0.007931094616651535, -0.023753860965371132, 0.062019284814596176, -0.0626380443572998, 0.05133948475122452, 0.04431357979774475, 0.019340476021170616, 0.0228887889534235, -0.00929691456258297, -0.03714514151215553, 0.002729602623730898, -0.04284257814288139, 0.07548272609710693, -0.005192134063690901, -0.057726696133613586, 0.07420437783002853, 0.037533875554800034, -0.07922399789094925, 0.04890434071421623, 0.03671838715672493, 0.03674878552556038, 0.05625651776790619, 0.0694374367594719, -0.03178451210260391, 0.0036611242685467005, -0.046636536717414856, 0.028847476467490196, -0.04172752425074577, -0.004402376711368561, 0.011805004440248013, -0.03672352060675621, -0.018206223845481873, 0.021274711936712265, 0.014070532284677029, -0.011141935363411903, 0.04061421751976013, -0.046277888119220734, -0.03748457506299019, 0.021570542827248573, 0.03769329935312271, -0.019388163462281227, 0.032224252820014954, -0.03615476191043854, 0.05144768953323364, 0.014339097775518894, -0.004448944702744484, -0.03641289100050926, -0.024344639852643013, 0.03294547647237778, -0.06681488454341888, -0.031225021928548813, 0.03185121342539787, 0.005689281038939953, -0.0334739089012146, 0.04137163981795311, 0.0018529553199186921, 0.010057403706014156, 0.04393412172794342, 0.0044960742816329, 0.03647315129637718, -0.06993848085403442, -0.006724624428898096, 0.005720649845898151, 0.016311898827552795, 0.02503449283540249, -0.018391983583569527, 0.036941271275281906, 0.054256074130535126, 0.026519861072301865, -0.018143560737371445, -0.03230186179280281, -0.021699950098991394, 0.03662669286131859, -0.04945563152432442, -0.004483538214117289, 0.0017242219764739275, -0.05018826574087143, -0.036454226821660995, -0.03834938630461693, -0.03446710482239723, 0.023999042809009552, -0.03638485074043274, 0.018811406567692757, 0.03633951395750046, -0.029927922412753105, -0.028404414653778076, -0.08218230307102203, -0.022244034335017204, -0.03922088071703911, 0.015767674893140793, 0.010413500480353832, -0.030923496931791306, 0.020045381039381027, -0.03200191259384155, -0.053075551986694336, 0.020276201888918877, 0.04007837921380997, -0.02649928256869316, 0.05865125358104706, 0.05903654545545578, -0.05337269604206085, 0.021243562921881676, 0.03703475371003151, -0.04584464430809021, 0.03173268958926201, 0.003318609669804573, 0.008615938946604729, 0.02616598643362522, 0.030029132962226868, -0.0170797947794199, -0.020189251750707626, -0.05874739587306976, -0.04162931442260742, -0.030783826485276222, -0.003239518264308572, 0.06574966758489609 ]
Arnold/common_voiceha
[]
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: ti widget: - text: "ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር" datasets: - TLMD metrics: - accuracy - f1 - precision - recall model-index: - name: tiroberta-sentiment results: - task: name: Text Classification type: text-classification metrics: - name: Accuracy type: accuracy value: 0.828 - name: F1 type: f1 value: 0.8476527900797165 - name: Precision type: precision value: 0.760731319554849 - name: Recall type: recall value: 0.957 --- # Sentiment Analysis for Tigrinya with TiRoBERTa This model is a fine-tuned version of [TiRoBERTa](https://huggingface.co/fgaim/roberta-base-tigrinya) on a YouTube comments Sentiment Analysis dataset for Tigrinya (Tela et al. 2020). ## Basic usage ```python from transformers import pipeline ti_sent = pipeline("sentiment-analysis", model="fgaim/tiroberta-sentiment") ti_sent("ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር") ``` ## Training ### Hyperparameters The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 32 - eval_batch_size: 32 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 3.0 ### Results It achieves the following results on the evaluation set: - F1: 0.8477 - Precision: 0.7607 - Recall: 0.957 - Accuracy: 0.828 - Loss: 0.6796 ### Framework versions - Transformers 4.10.3 - Pytorch 1.9.0+cu111 - Datasets 1.10.2 - Tokenizers 0.10.1 ## Citation If you use this model in your product or research, please cite as follows: ``` @article{Fitsum2021TiPLMs, author={Fitsum Gaim and Wonsuk Yang and Jong C. Park}, title={Monolingual Pre-trained Language Models for Tigrinya}, year=2021, publisher={WiNLP 2021/EMNLP 2021} } ``` ## References ``` Tela, A., Woubie, A. and Hautamäki, V. 2020. Transferring Monolingual Model to Low-Resource Language: The Case of Tigrinya. ArXiv, abs/2006.07698. ```
[ -0.0010122337844222784, -0.029416188597679138, -0.019027533009648323, 0.054732248187065125, 0.04617612436413765, 0.045534197241067886, -0.017964299768209457, -0.014914533123373985, -0.0447751022875309, 0.07191670686006546, 0.028779052197933197, -0.03126470372080803, 0.007781622000038624, 0.037450872361660004, -0.05760733783245087, -0.024711452424526215, -0.03166637942194939, -0.02628929540514946, -0.04648511856794357, -0.01935894787311554, -0.031709108501672745, 0.02754693105816841, 0.012470565736293793, 0.008977852761745453, 0.0039444128051400185, 0.03943104296922684, -0.027413399890065193, 0.030728118494153023, 0.010753469541668892, -0.07870718091726303, 0.012514019384980202, -0.01594230905175209, -0.04082619026303291, 0.002312256256118417, -0.03546292707324028, -0.005719856824725866, 0.005976126063615084, 0.009516902267932892, 0.027127820998430252, 0.04135686904191971, -0.0030780555680394173, 0.013584479689598083, -0.01696702279150486, -0.04862762242555618, 0.047777894884347916, 0.016027765348553658, -0.05058865621685982, 0.0075137680396437645, 0.027349350973963737, -0.031958021223545074, -0.04770549386739731, -0.09350893646478653, -0.04298980534076691, 0.01809835247695446, -0.008623414672911167, -0.010148121975362301, -0.042868755757808685, -0.014497657306492329, 0.06882289052009583, -0.041729267686605453, -0.04166650399565697, 0.016456132754683495, -0.05485321208834648, -0.005865524522960186, 0.027311749756336212, -0.020319312810897827, 0.015453988686203957, -0.03623257949948311, 0.04608607664704323, -0.04010266438126564, 0.05131314694881439, -0.04814387857913971, 0.04185264930129051, -0.08607128262519836, -0.0188232883810997, -0.01848474331200123, 0.025222238153219223, 0.038303442299366, -0.02929036132991314, 0.05181705579161644, 0.029950538650155067, -0.013908249326050282, 0.04199821874499321, -0.0028033358976244926, -0.01716112159192562, 0.044423628598451614, -0.05138467252254486, -0.00015763619740027934, 0.007485534064471722, 0.0607895627617836, -0.0437355563044548, -0.03571804240345955, -0.01565314456820488, -0.0202830471098423, -0.020917696878314018, 0.04828425124287605, 0.016523979604244232, -0.0012035161489620805, 0.043169885873794556, 0.01389988698065281, 0.03520417958498001, 0.06145380064845085, -0.015730373561382294, 0.06580694019794464, 0.005402651149779558, -0.011802317574620247, -0.009289218112826347, -0.02485979162156582, -0.05597632750868797, 0.033654529601335526, -0.001534363953396678, -0.05826934054493904, -0.02423364482820034, 0.01868799701333046, 0.006125463172793388, -0.04196422919631004, 0.039648156613111496, -0.030789783224463463, -0.044435370713472366, -0.04825844243168831, 0.052947886288166046, 0.02426876313984394, -0.004343499429523945, 0.013825720176100731, -0.053571514785289764, 0.019367624074220657, -0.025429558008909225, -0.02381915971636772, -0.0011319819604977965, 0.010214590467512608, 0.008343342691659927, 0.021723153069615364, 0.00019510388665366918, -0.039975233376026154, 0.0020307577215135098, 0.026369668543338776, -0.05730856955051422, 0.03374318405985832, 0.04125518351793289, 0.0952712893486023, -0.04968573525547981, -0.05618507042527199, -0.014555888250470161, -0.003294816240668297, -0.01476068701595068, 0.009640205651521683, 0.018568268045783043, -0.019178954884409904, -0.039713505655527115, 0.010810952633619308, 0.05967351049184799, -0.07044434547424316, -0.026038307696580887, 0.03638734295964241, 0.009793495759367943, 0.02352217584848404, -0.0496867373585701, -0.016074305400252342, 0.02541065216064453, -0.009241894818842411, -0.04158554598689079, 0.04349625110626221, 0.00642595486715436, -0.00829052273184061, -0.04349658638238907, -0.03409133106470108, 0.014324760064482689, 0.08385416120290756, -0.004051084164530039, -0.02763618715107441, -0.00005208536458667368, 0.01814969629049301, 0.03798096999526024, 0.005737504921853542, -0.01505946833640337, 0.027467098087072372, 0.071616031229496, 0.056899942457675934, -0.011901019141077995, 0.03829376399517059, -0.0011501339031383395, -0.03706914559006691, -0.0210250336676836, 0.012309723533689976, 0.0023454686161130667, -0.03777109086513519, 0.04593297839164734, 0.039903368800878525, 0.00346598238684237, -0.009052925743162632, -0.029454708099365234, 0.055276159197092056, -0.012950937263667583, 0.016055963933467865, -0.01041700504720211, -0.0008441744721494615, -0.0382823646068573, 0.053708892315626144, -0.01163944136351347, -0.0015398029936477542, -0.02761313132941723, -0.032509028911590576, 0.018604574725031853, 0.009738732129335403, 0.01777312159538269, 0.017260530963540077, -0.042772792279720306, 0.08403964340686798, -0.044092755764722824, 0.01727648824453354, -0.032876964658498764, -0.04674455523490906, 0.01125737838447094, 0.06869915127754211, 0.021877842023968697, 0.06114163622260094, 0.02496803179383278, -0.048907700926065445, 0.0028921354096382856, 0.054550815373659134, 0.05282222852110863, 0.04348094388842583, -0.007151788100600243, 0.009564484469592571, 0.017061473801732063, 0.05427854508161545, -0.07788193225860596, -0.060748111456632614, 0.01582847721874714, 0.04239775612950325, 0.007528690621256828, -0.005567631684243679, -0.025347454473376274, 0.026673464104533195, -0.030369436368346214, -0.08152030408382416, 0.058758147060871124, 0.016724061220884323, 0.008508937433362007, 0.02352876402437687, 0.014397243969142437, 0.004514660220593214, 0.02278580330312252, -0.013280052691698074, 0.009345103986561298, -0.039779841899871826, 0.00924488715827465, -0.00606145802885294, 0.06048404797911644, -0.03426085039973259, 0.022315597161650658, 0.004585715942084789, -0.008350798860192299, 0.05180404335260391, -0.05273585766553879, 0.01500761043280363, 0.019126391038298607, 0.01672886684536934, -0.022186895832419395, 0.007760919630527496, 0.008312747813761234, 0.027858775109052658, 0.06017983332276344, -0.00972000602632761, 0.052972275763750076, 0.01338591706007719, 0.02967066317796707, 0.09074252843856812, 0.010573269799351692, 0.02548704668879509, 0.033102769404649734, 0.06001938879489899, 0.03906219080090523, -0.03313787654042244, 0.033735644072294235, -0.0484720915555954, 0.019009752199053764, -0.04307490587234497, 0.023935899138450623, -0.02033882960677147, -0.0017961589619517326, 0.03711765259504318, 0.019208509474992752, -0.005980087444186211, -0.007670987397432327, -0.011126388795673847, -0.0033693055156618357, 0.05392773821949959, 0.0011821043444797397, -0.015075421892106533, -0.01578732393682003, -0.03269725292921066, 0.023272482678294182, -0.07130099833011627, -0.026194071397185326, -0.014319516718387604, -0.023753032088279724, -0.023808281868696213, -0.07024247199296951, -0.06658200919628143, -0.05025940388441086, -0.01657799445092678, 0.04922732338309288, 0.039580319076776505, 0.0031473026610910892, -0.03714623302221298, 0.014803962782025337, -0.047889042645692825, -0.035057153552770615, -0.023436501622200012, -0.04040819779038429, -0.011662513948976994, -0.08986120671033859, 0.02877020835876465, 0.01962159387767315, 0.014746183529496193, -0.014912706799805164, 0.017676876857876778, -0.024106845259666443, -0.035064954310655594, 0.06186053901910782, 0.051856134086847305, 0.0017135681118816137, -0.06862078607082367, 0.026117201894521713, -0.006660396698862314, 0.03562680259346962, 0.010670490562915802, -0.043920859694480896, 0.09011074900627136, 0.08515933901071548, 0.017672952264547348, 0.019933128729462624, -0.01888963393867016, -0.04705427587032318, -0.0349515900015831, -0.038829609751701355, -0.0402425117790699, -0.021048476919531822, -0.02561814896762371, -0.0634135976433754, -0.012338327243924141, -0.00428399071097374, -0.008841117843985558, -0.00983455590903759, 0.013705050572752953, 0.029747124761343002, 0.05138365179300308, 0.05818260461091995, 0.0399995855987072, -0.036071427166461945, 0.0014043658738955855, 0.06046081334352493, -0.014198699034750462, 0.006098700221627951, -0.09182269126176834, 0.0158045906573534, 0.0265471413731575, 0.0015164421638473868, -0.012114739045500755, -0.006903238594532013, 0.08214940875768661, -0.001873063389211893, -0.001254420611076057, -0.007530326023697853, -0.009634739719331264, -0.0009975751163437963, -0.021056227385997772, -0.00932824332267046, -0.004219374619424343, -0.036791395395994186, -0.018932726234197617, -0.050009921193122864, 0.036186546087265015, -0.059637341648340225, -0.046445176005363464, -0.011706742458045483, 0.04868125915527344, 0.01222776249051094, -0.0036056810058653355, -0.04178636148571968, -0.003915501292794943, -0.0871199443936348, -0.027857035398483276, 0.08237544447183609, -0.014080160297453403, 0.02428581193089485, 0.043245382606983185, 0.02761922962963581, -0.021813618019223213, 0.0375334806740284, 0.021221134811639786, 0.0740526020526886, -0.008250085636973381, -0.06107490509748459, 0.007736541330814362, -0.049346648156642914, 0.015473312698304653, 0.01829126849770546, -0.04439886659383774, -0.03418205678462982, -0.08714154362678528, -0.017380446195602417, -0.007540424820035696, -0.022102931514382362, -0.01878765970468521, 0.037841424345970154, 0.002257895888760686, -0.02765951119363308, 0.014553787186741829, 0.011558745056390762, 0.03745601698756218, -0.07768741995096207, 0.053499799221754074, 0.0071264305151999, 0.05669865757226944, -0.049709271639585495, 0.0018771024188026786, -0.051354967057704926, -0.03683183342218399, -0.030142679810523987, 0.03320508077740669, 0.006693651434034109, 0.04412005841732025, 0.07251495122909546, 0.025680258870124817, -0.03334369510412216, 0.048063427209854126, 0.02875685878098011, 0.002489685546606779, -0.04995984211564064, -0.025799760594964027, -0.010757518000900745, -0.04906245693564415, -0.005862015299499035, -0.01968705654144287, 0.018746349960565567, 0.022048180922865868, 0.011789915151894093, 0.0005240829195827246, -0.00292211608029902, -0.05025282874703407, -0.03267538174986839, -0.07465243339538574, -0.017384761944413185, 0.034061454236507416, -0.02538372203707695, 0.0010621510446071625, 0.023721830919384956, 0.017052793875336647, 0.05786404758691788, 0.04893328621983528, -0.011116419918835163, -0.037733275443315506, 0.029728787019848824, 0.02270229160785675, -0.04185977578163147, -0.07392917573451996, -0.041635408997535706, 0.038221631199121475, 0.035262566059827805, -0.018686817958950996, -0.07787402719259262, 0.01841125451028347, 0.04490016773343086, -0.037079885601997375, 0.059605397284030914, -0.023885000497102737, 0.030111851170659065, 0.05792064592242241, -0.029011527076363564, 0.0032928602304309607, -0.03225339204072952, -0.017705898731946945, -0.0035095103085041046, 0.05373125150799751, -0.039223380386829376, -0.003903094446286559, -0.06414187699556351, 0.019808024168014526, 0.044242508709430695, 0.0537697933614254, 0.017059434205293655, -0.004386056214570999, -0.03494492173194885, 0.01138125266879797, 0.02972722426056862, -0.044999752193689346, -0.0038803122006356716, 0.03648347035050392, 0.04056303948163986, -0.03821885585784912, -0.05742494761943817, 0.006835403852164745, 0.0031563073862344027, 0.05625848099589348, -0.006898477673530579, -0.024186596274375916, -0.04883609712123871, 0.023893142119050026, -0.025706864893436432, -0.01798674650490284, -0.07670371234416962, 0.011855470016598701, -0.012530536390841007, -0.010293989442288876, 0.044794537127017975, 0.02051841840147972, 0.022695202380418777, 0.02978997677564621, 0.02618514560163021, -0.0035805795341730118, -0.039989858865737915, 0.02298644557595253, -0.029577210545539856, 0.010866018012166023, -0.014838285744190216, -0.07013831287622452, -0.009510439820587635, -0.015960313379764557, -0.03888140246272087, -0.029784685000777245, -0.04579998180270195, 0.0006179705378599465, 0.002584855305030942, -0.00660363957285881, -0.020985811948776245, 0.044307954609394073, -0.0416664220392704, -0.029924985021352768, -0.024419015273451805, -0.048897646367549896, -0.05771838128566742, -0.0635104551911354, 0.008164775557816029, 0.012744001112878323, 0.03946484252810478, 0.01084967702627182, 0.025270434096455574, 0.027403146028518677, -0.012585895135998726, -0.025569306686520576, 0.035538673400878906, -0.00307950540445745, -0.028832904994487762, -0.06421788036823273, -0.01660587266087532, 0.019294777885079384, 0.06547819077968597, -0.008352130651473999, 0.03514264151453972, 0.008261129260063171, -0.02526034601032734, -0.029538404196500778, -0.011835387907922268, 0.026202883571386337, -0.066639743745327, -0.04073632135987282, 0.011896170675754547, -0.027919458225369453, 0.0017270700773224235, -0.014375127851963043, -0.012658761814236641, 0.016338210552930832, 0.01552212331444025, 0.02347457781434059, -0.003500940278172493, -0.042297523468732834, 0.02782154083251953, -0.017137661576271057, -0.010843073949217796, -0.06938304752111435, 0.03917336091399193, -0.03022228181362152, 0.0036018239334225655, -0.014675711281597614, -0.01360988337546587, -0.050359830260276794, 0.044109296053647995, -0.0015789181925356388, 0.016300316900014877, -0.0016893341671675444, 0.02263040468096733, -0.03438926488161087, 0.02431979402899742, -0.020806076005101204, 0.01992015913128853, -0.04040970280766487, 0.036400020122528076, -0.05771762505173683, 0.010463555343449116, -0.027717584744095802, 0.006057624239474535, -0.0305610504001379, -0.031478576362133026, -0.016921840608119965, -0.025563156232237816, 0.0360470749437809, 0.051165420562028885, 0.029163837432861328, 0.02859807386994362, 0.00785819347947836, -0.001355474698357284, 0.00873371958732605, -0.06625962257385254, -0.04658486694097519, -0.031308092176914215, 0.00826099794358015, -0.03015725314617157, 0.06362821161746979, 0.042039964348077774, -0.051692940294742584, -0.0513964481651783, 0.028188269585371017, 0.028118621557950974, 0.006620913278311491, -0.011996716260910034, 0.044090788811445236, 0.021391764283180237, 0.02135482057929039, -0.031226322054862976, -0.01403582002967596, -0.02697697840631008, -0.02618999406695366, 0.024231694638729095, -0.019977539777755737, -0.017777422443032265, -0.020309152081608772, -0.05430414527654648, 0.0030070431530475616, 0.04738675802946091, 0.03504340350627899, 0.020524300634860992, 0.030575137585401535, -0.04566691815853119, 0.020394926890730858, -0.013615247793495655, -0.04022759571671486, -0.00770279485732317, 0.016764551401138306, -0.04089648276567459, 0.08442547917366028, -0.01389935053884983, -0.0021401175763458014, 0.05280467867851257, 0.027047377079725266, -0.02214806340634823, 0.036947041749954224, -0.031862251460552216, 0.01375332847237587, 0.05039402097463608, -0.06801818311214447, 0.0015931975794956088, -0.024955397471785545, 0.06457816809415817, -0.06192738190293312, 0.054409343749284744, 0.043341804295778275, 0.015173829160630703, 0.008966530673205853, -0.03619160130620003, -0.03683462366461754, 0.01680917851626873, -0.06394629925489426, 0.06898082792758942, -0.012226884253323078, -0.07193250209093094, 0.07698319852352142, 0.025087151676416397, -0.09130851924419403, 0.044797349721193314, 0.057353425770998, 0.012826111167669296, 0.0401027612388134, 0.05669466406106949, -0.04647203907370567, -0.009100565686821938, -0.038966305553913116, 0.016446487978100777, -0.033717844635248184, -0.0021060823928564787, 0.0036008122842758894, -0.03439990431070328, -0.023227563127875328, 0.02025621198117733, -0.0057322783395648, -0.0103846974670887, 0.029455462470650673, -0.04686194658279419, -0.028610816225409508, 0.018333911895751953, 0.03021697886288166, 0.0038362136110663414, 0.02579444833099842, -0.021905386820435524, 0.032533351331949234, -0.00855955109000206, -0.003945320378988981, -0.02610793150961399, -0.00024821999249979854, 0.015173081308603287, -0.04986133798956871, -0.025797873735427856, 0.023250184953212738, 0.013044011779129505, -0.017100932076573372, 0.045547328889369965, -0.007510089315474033, 0.012931465171277523, 0.04121127352118492, 0.0018221932696178555, 0.02943478710949421, -0.053744226694107056, -0.008684501983225346, -0.002820792142301798, 0.01954265870153904, 0.01237255148589611, -0.0241880863904953, 0.024584030732512474, 0.042761243879795074, 0.0072614578530192375, -0.012339512817561626, -0.042235054075717926, -0.028327520936727524, 0.029502136632800102, -0.045598339289426804, 0.01351623609662056, 0.02587057463824749, -0.04696127399802208, -0.045661091804504395, -0.02570660226047039, 0.0061273337341845036, 0.043056320399045944, -0.03300279751420021, 0.005777983460575342, 0.03477468341588974, -0.026586301624774933, -0.011519413441419601, -0.06841346621513367, -0.02651762031018734, -0.023739000782370567, 0.030027586966753006, 0.03690323978662491, -0.042241789400577545, 0.02483656071126461, -0.04386424645781517, -0.06496751308441162, 0.022498881444334984, 0.03990933671593666, -0.04879410192370415, 0.07094176858663559, 0.07166040688753128, -0.03275437280535698, 0.019798574969172478, 0.026827525347471237, -0.053747549653053284, 0.026012983173131943, 0.0206750500947237, 0.022667093202471733, 0.02144337072968483, 0.035799168050289154, -0.015900729224085808, -0.007187985349446535, -0.0722494050860405, -0.027367746457457542, -0.05078180134296417, 0.004318989347666502, 0.06579131633043289 ]
Arnold/wav2vec2-large-xlsr-turkish-demo-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: - text-classification - sentiment-analysis - sentiment-classification - targeted-sentiment-classification - target-depentent-sentiment-classification license: "apache-2.0" datasets: "fhamborg/news_sentiment_newsmtsc" --- # NewsSentiment: easy-to-use, high-quality target-dependent sentiment classification for news articles ## Important: [use our PyPI package](https://pypi.org/project/NewsSentiment/) instead of this model on the Hub The Huggingface Hub architecture currently [does not support](https://github.com/huggingface/transformers/issues/14785) target-dependent sentiment classification since you cannot provide the required inputs, i.e., sentence and target. Thus, we recommend that you use our easy-to-use [PyPI package NewsSentiment](https://pypi.org/project/NewsSentiment/). ## Description This model is the currently [best performing](https://aclanthology.org/2021.eacl-main.142.pdf) targeted sentiment classifier for news articles. In contrast to regular sentiment classification, targeted sentiment classification allows you to provide a target in a sentence. Only for this target, the sentiment is then predicted. This is more reliable in many cases, as demonstrated by the following simplistic example: "I like Bert, but I hate Robert." This model is also available as an easy-to-use PyPI package named [`NewsSentiment`](https://pypi.org/project/NewsSentiment/) and in its original GitHub repository named [`NewsMTSC`](https://github.com/fhamborg/NewsMTSC), where you will find the dataset the model was trained on, other models for sentiment classification, and a training and testing framework. More information on the model and the dataset (consisting of more than 10k sentences sampled from news articles, each labeled and agreed upon by at least 5 annotators) can be found in our [EACL paper](https://aclanthology.org/2021.eacl-main.142.pdf). The dataset, the model, and its source code can be viewed in our [GitHub repository](https://github.com/fhamborg/NewsMTSC). We recommend to use our [PyPI package](https://pypi.org/project/NewsSentiment/) for sentiment classification since the Huggingface Hub platform seems to [not support](https://github.com/huggingface/transformers/issues/14785) target-dependent sentiment classification. # How to cite If you use the dataset or model, please cite our [paper](https://www.aclweb.org/anthology/2021.eacl-main.142/) ([PDF](https://www.aclweb.org/anthology/2021.eacl-main.142.pdf)): ``` @InProceedings{Hamborg2021b, author = {Hamborg, Felix and Donnay, Karsten}, title = {NewsMTSC: (Multi-)Target-dependent Sentiment Classification in News Articles}, booktitle = {Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics (EACL 2021)}, year = {2021}, month = {Apr.}, location = {Virtual Event}, } ```
[ -0.034772176295518875, -0.018693841993808746, -0.018675250932574272, 0.08189937472343445, 0.03988397493958473, 0.050086211413145065, -0.006258457899093628, -0.022215653210878372, -0.023464055731892586, 0.06263568997383118, 0.0016322078881785274, 0.0019302339060232043, 0.02365707792341709, 0.03052794747054577, -0.009670036844909191, -0.007725354749709368, -0.008807227946817875, -0.01096335705369711, -0.01961846649646759, -0.009648461826145649, 0.016314316540956497, 0.013501747511327267, -0.0038245832547545433, 0.004372637253254652, 0.0021113490220159292, 0.035192400217056274, -0.028286747634410858, 0.030670063570141792, 0.009377646259963512, -0.06923279911279678, 0.005482831969857216, -0.018514839932322502, -0.035838186740875244, 0.008179071359336376, -0.015501369722187519, 0.009993317537009716, 0.015638120472431183, 0.006927689537405968, 0.015325653366744518, 0.05665765702724457, -0.012506338767707348, -0.003946882672607899, -0.026962151750922203, -0.011312752030789852, 0.03755940869450569, 0.003705482231453061, -0.04714345186948776, -0.010955145582556725, 0.039558786898851395, -0.04631868377327919, -0.05314596742391586, -0.0857519656419754, -0.029724132269620895, 0.03707718476653099, -0.008047725073993206, -0.017339153215289116, -0.07452517002820969, -0.011965558864176273, 0.028446121141314507, -0.044397152960300446, -0.057886455208063126, 0.010016152635216713, -0.04970627650618553, 0.006551719270646572, 0.009883519262075424, -0.04045889899134636, 0.0016414589481428266, -0.025093145668506622, 0.009594433940947056, -0.05618210509419441, 0.0616057924926281, -0.047839920967817307, 0.043795179575681686, -0.0739661455154419, -0.012613605707883835, -0.01875324361026287, 0.0474349670112133, 0.04039105400443077, 0.006484664510935545, 0.05039726942777634, 0.036331549286842346, 0.018839994445443153, 0.03780535236001015, -0.010333918035030365, -0.015830203890800476, 0.03987448289990425, -0.052235886454582214, -0.00926666334271431, 0.007146953139454126, 0.040662843734025955, -0.021888909861445427, -0.03306064382195473, -0.005782516673207283, -0.0037812343798577785, -0.033900998532772064, 0.03129943832755089, 0.009202939458191395, 0.01280329842120409, 0.035055600106716156, 0.03616577014327049, 0.0411519855260849, 0.050197783857584, -0.020330680534243584, 0.06324126571416855, -0.01960896886885166, -0.02271439880132675, -0.04405580461025238, -0.0214778371155262, -0.08998461067676544, 0.04133552685379982, 0.006674604490399361, -0.0420343391597271, -0.050921469926834106, 0.006358688231557608, 0.011977378278970718, -0.022599807009100914, 0.03835545852780342, -0.03689741715788841, -0.03467591851949692, -0.04254515469074249, 0.049380235373973846, -0.012138951569795609, -0.007610728032886982, -0.01425846666097641, -0.05496424064040184, 0.01995033025741577, -0.043676018714904785, -0.020877715200185776, -0.0213637575507164, 0.007618555799126625, 0.002455525565892458, 0.03707795962691307, 0.027831684798002243, -0.06043489649891853, -0.010282040573656559, 0.024998996406793594, -0.056795861572027206, 0.020900296047329903, 0.0715441182255745, 0.10535107553005219, -0.060957275331020355, -0.053232524544000626, 0.003292788751423359, 0.017756469547748566, -0.0502588115632534, 0.014355204068124294, 0.02612137794494629, -0.033229440450668335, -0.049893736839294434, -0.007579635828733444, 0.0551944226026535, -0.06583769619464874, -0.004108434543013573, 0.042695820331573486, 0.00309452204965055, 0.022230081260204315, -0.07032455503940582, -0.009818101301789284, 0.0066068475134670734, 0.017703168094158173, -0.005640209186822176, 0.05907237157225609, -0.015405889600515366, -0.010432679206132889, -0.015477383509278297, -0.03850601986050606, -0.014802008867263794, 0.055876363068819046, 0.0030360855162143707, -0.047004129737615585, -0.04850172623991966, 0.021072544157505035, 0.034956540912389755, 0.014737891033291817, -0.012476509436964989, -0.013780654408037663, 0.08297120034694672, 0.056311435997486115, -0.026544904336333275, 0.05688406527042389, -0.0015265432884916663, -0.027814529836177826, -0.01099281944334507, -0.0112312575802207, 0.010771824046969414, -0.02872682735323906, 0.06206075847148895, 0.0679849162697792, 0.007567062508314848, -0.023867493495345116, -0.029879732057452202, 0.05265877768397331, -0.01883022114634514, 0.011643411591649055, -0.018734320998191833, -0.026441192254424095, -0.02955615520477295, 0.025752857327461243, -0.013132518157362938, -0.0060742576606571674, -0.02002222090959549, -0.04376271739602089, 0.0061841388233006, 0.0075344061478972435, 0.03134377673268318, 0.029477886855602264, -0.01593540795147419, 0.06857478618621826, -0.04854990914463997, 0.02011003904044628, -0.028104938566684723, -0.039161138236522675, 0.00393767049536109, 0.04140794277191162, 0.03595437481999397, 0.06857215613126755, 0.03976787254214287, -0.05136413872241974, 0.005283229053020477, 0.06556042283773422, 0.04214673116803169, 0.06613514572381973, -0.01787213236093521, -0.01398131251335144, 0.028146523982286453, 0.026773696765303612, -0.06574074178934097, -0.04421722888946533, 0.0076911188662052155, 0.021961770951747894, -0.02451271377503872, -0.013223773799836636, -0.028859267011284828, 0.031068919226527214, -0.039864979684352875, -0.08373117446899414, 0.04475300386548042, 0.03569196164608002, 0.003715252736583352, 0.028630897402763367, -0.03174499794840813, -0.013877207413315773, 0.03486946225166321, 0.015079881995916367, 0.0029934251215308905, -0.0336088202893734, 0.0011098182294517756, 0.006034232210367918, 0.0623599998652935, -0.013896552845835686, 0.023661024868488312, 0.001978183165192604, -0.0008468610467389226, 0.03820493444800377, -0.04263368993997574, 0.02813570760190487, 0.03712587058544159, 0.002892621560022235, -0.012279102578759193, 0.029224248602986336, 0.009031658060848713, 0.036296628415584564, 0.052342284470796585, -0.015553777106106281, 0.06028728932142258, -0.02183504030108452, 0.04933187738060951, 0.10502512753009796, 0.020616786554455757, 0.05284577235579491, 0.03222441300749779, 0.04112051799893379, 0.013663403689861298, -0.011810504831373692, 0.06793219596147537, -0.03562174364924431, 0.023149223998188972, -0.047867968678474426, 0.05612686648964882, -0.010302453301846981, -0.011721360497176647, 0.03153484687209129, 0.007679190952330828, -0.043740157037973404, -0.0007078068447299302, -0.00022939864720683545, -0.008494646288454533, 0.05171891301870346, -0.016631552949547768, 0.011199574917554855, 0.0039312276057899, -0.04325868561863899, 0.030050890520215034, -0.07312934100627899, -0.04654103145003319, 0.00346664572134614, -0.024603741243481636, -0.02811506949365139, -0.09298966079950333, -0.046854324638843536, -0.06375127285718918, 0.008382337167859077, 0.03581227734684944, 0.01637682132422924, 0.030143987387418747, -0.035808395594358444, 0.0321439690887928, -0.020750312134623528, -0.05493973568081856, -0.020503662526607513, -0.05315350741147995, -0.005885480437427759, -0.08232449740171432, 0.03292156383395195, 0.03408602252602577, 0.05081741139292717, -0.03467753157019615, -0.021683141589164734, -0.04493366554379463, -0.005958083551377058, 0.06864160299301147, 0.04886408522725105, -0.024098997935652733, -0.05709542706608772, 0.020719734951853752, 0.008569919504225254, 0.009892662987112999, -0.011600825004279613, -0.04094800725579262, 0.05659380555152893, 0.0903361365199089, 0.025105170905590057, 0.0116500873118639, -0.00504810968413949, -0.053522512316703796, -0.025630544871091843, -0.02311861887574196, -0.020521152764558792, -0.014240013435482979, -0.036670614033937454, -0.06271658092737198, -0.013716558925807476, -0.023504208773374557, -0.0298575758934021, -0.011075163260102272, 0.015900228172540665, 0.01605580560863018, 0.03664274141192436, 0.03554873540997505, 0.02596096508204937, -0.012939984910190105, -0.03266870975494385, 0.08151943981647491, 0.00853570457547903, 0.015236549079418182, -0.07232366502285004, -0.023643532767891884, 0.034804511815309525, 0.013889574445784092, 0.0018420396372675896, -0.01942741684615612, 0.10320226848125458, 0.014447320252656937, -0.008823719806969166, -0.002774713793769479, 0.027639707550406456, -0.0007506162510253489, -0.009978876449167728, -0.022625379264354706, -0.014241918921470642, -0.035950254648923874, -0.03276919573545456, -0.03894923999905586, 0.03638804331421852, -0.030330413952469826, -0.05956253781914711, -0.009854033589363098, 0.026370109990239143, 0.048976171761751175, 0.0072226980701088905, -0.037651386111974716, 0.014281218871474266, -0.0670529454946518, 0.0012861777795478702, 0.031597111374139786, -0.01504216156899929, 0.03633519634604454, 0.03800584375858307, 0.03507581725716591, -0.030891774222254753, 0.0411079078912735, 0.0103922039270401, 0.06266812235116959, 0.00023423372476827353, -0.05329462140798569, 0.01645769365131855, -0.043273791670799255, 0.027704991400241852, 0.016423717141151428, -0.015330156311392784, -0.04306206479668617, -0.08783139288425446, 0.00946891587227583, -0.009847195819020271, -0.02187124826014042, -0.015085152350366116, 0.03006432205438614, -0.011742152273654938, -0.01724831759929657, 0.04141209274530411, 0.012492213398218155, 0.04248315095901489, -0.03452499583363533, 0.0485881082713604, -0.03141066059470177, 0.02954934909939766, -0.05225664749741554, 0.00823078490793705, -0.027119984850287437, -0.04116971045732498, -0.0029457607306540012, 0.05560801178216934, 0.03514479100704193, 0.02665557898581028, 0.045455269515514374, 0.03339580073952675, -0.04242047667503357, 0.0679013729095459, 0.03439757972955704, -0.012189188040792942, -0.06634140014648438, -0.02496880479156971, -0.005301875527948141, -0.030167484655976295, -0.0023903492838144302, -0.014083510264754295, 0.029891226440668106, 0.022700058296322823, 0.018354341387748718, 0.006105811335146427, -0.0015245868125930429, -0.036674484610557556, -0.017792465165257454, -0.06937290728092194, -0.027690406888723373, -0.012814432382583618, -0.02168840728700161, 0.0010280526475980878, 0.03651803731918335, 0.019366197288036346, 0.05877899378538132, 0.04469967633485794, -0.006048888433724642, -0.058607328683137894, 0.03464987501502037, 0.037611063569784164, -0.029216108843684196, -0.0753873959183693, -0.030932025983929634, 0.021668924018740654, 0.04349164664745331, -0.011167564429342747, -0.05220947414636612, 0.011632774956524372, 0.05428348481655121, -0.04710307717323303, 0.06299241632223129, 0.00950407050549984, 0.062325868755578995, 0.06347144395112991, -0.01450369507074356, 0.025396209210157394, -0.03642350807785988, -0.024622473865747452, -0.0031515038572251797, 0.0510781966149807, -0.054603785276412964, 0.006828169338405132, -0.049987707287073135, 0.027080703526735306, 0.013688250444829464, 0.03667449951171875, 0.032505713403224945, -0.035236015915870667, -0.03205067664384842, -0.000537194253411144, 0.03671126067638397, -0.043927151709795, -0.005252741277217865, 0.03138025850057602, 0.043036311864852905, -0.03273662179708481, -0.05931941047310829, -0.001708504743874073, -0.002321221400052309, 0.04583004489541054, -0.02698681503534317, -0.03692124783992767, -0.015148749575018883, 0.014578948728740215, -0.018229542300105095, -0.02307155169546604, -0.06461023539304733, 0.02206374891102314, -0.005182465072721243, 0.018593022599816322, 0.04361787065863609, 0.02747933566570282, 0.03442827984690666, 0.060850925743579865, -0.018087146803736687, -0.008236568421125412, -0.04629383236169815, 0.011004265397787094, -0.03330207243561745, -0.003010147949680686, -0.020967943593859673, -0.055080946534872055, -0.020416246727108955, -0.03089400753378868, -0.019765114411711693, -0.05379556491971016, -0.010076857171952724, 0.01903725042939186, -0.013084476813673973, 0.007295142859220505, 0.009500454179942608, 0.02685965783894062, -0.039375703781843185, -0.02645985037088394, -0.021655121818184853, -0.03886517137289047, -0.050470054149627686, -0.04921245202422142, 0.02281157113611698, -0.003751247888430953, 0.022935207933187485, 0.004905060864984989, 0.035383157432079315, 0.024821756407618523, -0.0034362860023975372, -0.024286851286888123, 0.019741270691156387, 0.006150845903903246, -0.05267631635069847, -0.023298224434256554, 0.0035018676426261663, 0.020005907863378525, 0.03737098351120949, -0.03293478116393089, 0.03375208377838135, 0.017062213271856308, -0.03411054238677025, -0.04902375862002373, 0.035256337374448776, 0.037530843168497086, -0.07005249708890915, -0.032302625477313995, 0.01125391200184822, -0.007400769740343094, 0.023322008550167084, -0.0192553773522377, 0.0010000942274928093, 0.023448359221220016, 0.019500067457556725, 0.01934703066945076, -0.029681222513318062, -0.06594990193843842, 0.018757205456495285, -0.0354493148624897, 0.013575432822108269, -0.06519272923469543, 0.028526250272989273, -0.043296802788972855, -0.016925053671002388, -0.017476975917816162, -0.0006707304273732007, -0.07097789645195007, 0.05788417160511017, 0.0065831453539431095, -0.0020220873411744833, -0.004253616090863943, 0.0005447054281830788, -0.022548845037817955, 0.006874566897749901, -0.02690807543694973, 0.012918801978230476, -0.02493983507156372, 0.03982526808977127, -0.053067680448293686, -0.009481485933065414, -0.020463231950998306, 0.014013673178851604, -0.04630552977323532, -0.021378174424171448, -0.016469890251755714, -0.031799450516700745, 0.022316910326480865, 0.021816518157720566, 0.03163456544280052, 0.019359445199370384, 0.0037076128646731377, 0.006965089123696089, 0.011973652988672256, -0.08762028813362122, -0.030348559841513634, 0.014395519159734249, 0.012740472331643105, 0.0016703626606613398, 0.04443855956196785, 0.036662742495536804, -0.0659012496471405, -0.05504046007990837, 0.032801419496536255, 0.026158703491091728, 0.001295761321671307, -0.0032717897556722164, 0.021540548652410507, 0.028988508507609367, 0.004962054081261158, -0.037321556359529495, -0.03699421510100365, 0.011234438978135586, -0.029820291325449944, 0.026362134143710136, -0.017828408628702164, 0.011939347721636295, 0.015289507806301117, -0.045705802738666534, -0.01104509923607111, 0.07969731092453003, 0.022601686418056488, 0.016827687621116638, 0.008836169727146626, -0.04100349172949791, 0.03090481460094452, 0.0001448939583497122, -0.058610763400793076, 0.006859420333057642, 0.017513390630483627, -0.01818034239113331, 0.1025371104478836, -0.005238629411906004, -0.015229875221848488, 0.0423378087580204, 0.017886312678456306, -0.024300839751958847, 0.04251828417181969, -0.013711685314774513, 0.016078494489192963, 0.06099119409918785, -0.06006251275539398, -0.01661660522222519, -0.0424480065703392, 0.06713547557592392, -0.06204716116189957, 0.067088283598423, 0.05691507086157799, 0.0014719805913046002, 0.040001582354307175, -0.03236400708556175, -0.05324588716030121, 0.03000921942293644, -0.04153654724359512, 0.07996734976768494, -0.0021069564390927553, -0.0682319849729538, 0.07064596563577652, 0.004845876712352037, -0.07585597783327103, 0.01246683206409216, 0.048952098935842514, 0.006250102538615465, -0.0006596242310479283, 0.05518454685807228, -0.035767316818237305, -0.025330955162644386, -0.0559537447988987, 0.0626310184597969, -0.049817461520433426, -0.011939204297959805, -0.010445776395499706, -0.04607895389199257, -0.011258544400334358, 0.05294964089989662, -0.025458822026848793, -0.023580770939588547, 0.02695314586162567, -0.03931320831179619, -0.029608193784952164, 0.004473356530070305, 0.015885433182120323, -0.004857357125729322, 0.007253978867083788, -0.03694259747862816, 0.00550142303109169, 0.030415751039981842, -0.0020176006946712732, -0.014281784184277058, 0.0019486111123114824, 0.020349157974123955, -0.044013410806655884, -0.033790744841098785, 0.030105458572506905, 0.018642783164978027, -0.008622963912785053, 0.032369464635849, 0.019778817892074585, 0.034957192838191986, 0.04718605428934097, -0.01489759236574173, 0.026071645319461823, -0.0607745498418808, -0.011743695475161076, 0.00622915755957365, 0.0012265063123777509, 0.028965122997760773, -0.027089925482869148, 0.026095809414982796, 0.03997061029076576, 0.03077748231589794, 0.012557531706988811, -0.03730108588933945, -0.04587321728467941, 0.006390503142029047, -0.04831533133983612, 0.014095292426645756, 0.030454318970441818, -0.03647560253739357, -0.0371093712747097, -0.01603974588215351, -0.010737255215644836, 0.04541125148534775, -0.017590563744306564, -0.0009283723193220794, 0.059545572847127914, -0.000346962217008695, -0.039844412356615067, -0.0736488327383995, -0.02164524421095848, -0.023689216002821922, 0.03219258040189743, 0.03971167653799057, -0.037205569446086884, 0.009347974322736263, -0.03926382213830948, -0.04842270165681839, 0.031864576041698456, 0.035619448870420456, -0.04687768220901489, 0.05723212659358978, 0.056954074651002884, -0.025828063488006592, -0.00414039334282279, 0.010663147084414959, -0.03276032209396362, 0.02045123092830181, 0.017829453572630882, 0.03045049123466015, 0.01260373368859291, 0.027752118185162544, -0.03189476579427719, 0.0033038484398275614, -0.05221891030669212, -0.06395991891622543, -0.06451337039470673, -0.011454434134066105, 0.06884101033210754 ]
Aron/distilbert-base-uncased-finetuned-emotion
[ "pytorch", "tensorboard", "distilbert", "text-classification", "dataset:emotion", "transformers", "generated_from_trainer", "license:apache-2.0", "model-index" ]
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
null
--- language: de license: cc-by-sa-4.0 datasets: - germeval_14 tags: - German - de - NER --- # BERT-DE-NER ## What is it? This is a German BERT model fine-tuned for named entity recognition. ## Base model & training This model is based on [bert-base-german-dbmdz-cased](https://huggingface.co/bert-base-german-dbmdz-cased) and has been fine-tuned for NER on the training data from [GermEval2014](https://sites.google.com/site/germeval2014ner). ## Model results The results on the test data from GermEval2014 are (entities only): | Precision | Recall | F1-Score | |----------:|-------:|---------:| | 0.817 | 0.842 | 0.829 | ## How to use ```Python >>> from transformers import pipeline >>> classifier = pipeline('ner', model="fhswf/bert_de_ner") >>> classifier('Von der Organisation „medico international“ hieß es, die EU entziehe sich seit vielen Jahren der Verantwortung für die Menschen an ihren Außengrenzen.') [{'word': 'med', 'score': 0.9996621608734131, 'entity': 'B-ORG', 'index': 6}, {'word': '##ico', 'score': 0.9995362162590027, 'entity': 'I-ORG', 'index': 7}, {'word': 'international', 'score': 0.9996932744979858, 'entity': 'I-ORG', 'index': 8}, {'word': 'eu', 'score': 0.9997008442878723, 'entity': 'B-ORG', 'index': 14}] ```
[ -0.020550915971398354, -0.01086833793669939, -0.001185087370686233, 0.033661797642707825, 0.04738764837384224, 0.028434673324227333, -0.014139543287456036, -0.010037899017333984, -0.05983502417802811, 0.07353052496910095, 0.014803079888224602, -0.01725481078028679, 0.00594489648938179, 0.03973013535141945, -0.027538705617189407, -0.018509546294808388, 0.005053829401731491, -0.016001807525753975, -0.07613113522529602, -0.017402341589331627, -0.014612816274166107, 0.008566169999539852, 0.01482128445059061, 0.02143055945634842, 0.01345548965036869, 0.015214726328849792, 0.004069581627845764, 0.05438847094774246, 0.04595787450671196, -0.05418599769473076, 0.0022937285248190165, -0.029278572648763657, -0.03907890245318413, -0.011865519918501377, -0.04455230012536049, -0.0158533938229084, 0.005520705599337816, 0.009621105156838894, 0.029385847970843315, 0.06545131653547287, -0.009254726581275463, 0.032356634736061096, -0.015051014721393585, -0.028287645429372787, 0.020574992522597313, 0.023984646424651146, -0.04014657810330391, -0.035600241273641586, 0.035616185516119, -0.045066650956869125, -0.042550187557935715, -0.07021272927522659, -0.03367096185684204, 0.04502001404762268, -0.01428132876753807, -0.023044509813189507, -0.07011604309082031, -0.012648138217628002, 0.06837498396635056, -0.059186410158872604, -0.052051641047000885, 0.026006150990724564, -0.06828516721725464, 0.013209862634539604, 0.030502839013934135, -0.027386467903852463, -0.007602655794471502, -0.04253127798438072, 0.03483385965228081, -0.015833601355552673, 0.05045030266046524, -0.030822155997157097, 0.010442527942359447, -0.07231015712022781, 0.0011870157904922962, -0.01966015435755253, 0.035282451659440994, 0.030946629121899605, -0.021557455882430077, 0.0361204668879509, 0.020707063376903534, 0.009774304926395416, 0.020820779725909233, -0.026620924472808838, 0.00404461519792676, 0.044019341468811035, -0.04716088995337486, -0.014252189546823502, 0.027433916926383972, 0.056048136204481125, -0.035817500203847885, -0.019504588097333908, 0.0013431370025500655, -0.03309082239866257, -0.026386793702840805, 0.028822338208556175, 0.026232436299324036, 0.016932208091020584, 0.02209923416376114, 0.02600269764661789, 0.011765522882342339, 0.048156481236219406, 0.0039196982979774475, 0.06031974405050278, -0.01964217610657215, -0.034561239182949066, 0.001379484194330871, -0.035216864198446274, -0.03311555087566376, 0.0175615381449461, 0.012779895216226578, -0.03434346988797188, -0.05101772025227547, 0.04231160879135132, 0.02034716308116913, -0.019936660304665565, 0.07571930438280106, -0.0304701067507267, -0.0355459600687027, -0.04882092401385307, 0.04255673661828041, 0.009692083112895489, -0.0007944605313241482, 0.02093612588942051, -0.027610428631305695, -0.010213273577392101, -0.05567837879061699, -0.027304215356707573, -0.004263586364686489, 0.013690769672393799, -0.006385600194334984, 0.050543397665023804, 0.03537624329328537, -0.04479106143116951, 0.019197488203644753, 0.0191821102052927, -0.058577027171850204, 0.05801233649253845, 0.027432091534137726, 0.10420883446931839, -0.044832199811935425, -0.06425627321004868, 0.005484065506607294, 0.030237261205911636, -0.017655320465564728, -0.01563490927219391, 0.025078700855374336, -0.030248083174228668, -0.03280407562851906, 0.007008235435932875, 0.05865807831287384, -0.05133984237909317, -0.00927028525620699, 0.04812294617295265, -0.023051470518112183, 0.04454198107123375, -0.049499157816171646, -0.01453156117349863, -0.01288426574319601, 0.0057261306792497635, -0.02690473198890686, 0.0331512913107872, -0.0017846263945102692, -0.007813140749931335, -0.03770090639591217, -0.04274127259850502, 0.012124506756663322, 0.09040039032697678, 0.006965455133467913, -0.010906413197517395, -0.03230411186814308, 0.0126164136454463, 0.03817790001630783, 0.06249832361936569, -0.02677459642291069, 0.028411854058504105, 0.04067320376634598, 0.03698946535587311, -0.0024655985180288553, 0.06637761741876602, 0.015953944995999336, -0.04399300366640091, -0.031177209690213203, 0.015592793002724648, -0.0179325882345438, -0.027883043512701988, 0.017011519521474838, 0.04573738947510719, -0.0038288664072752, -0.03272981941699982, -0.01495909970253706, 0.04841122776269913, 0.005229066126048565, 0.017339805141091347, -0.003439222229644656, 0.001998476916924119, -0.030318692326545715, 0.042184337973594666, -0.019644880667328835, 0.009726211428642273, -0.0410563126206398, -0.020782632753252983, 0.015984846279025078, 0.015847451984882355, 0.030585255473852158, 0.04437044635415077, -0.0164202768355608, 0.06444565951824188, -0.047566983848810196, 0.013472383841872215, -0.04375753924250603, -0.047218065708875656, 0.0028942031785845757, 0.04445089027285576, 0.03736037015914917, 0.04096782207489014, -0.014232643879950047, -0.0471804179251194, 0.015437792055308819, 0.03902512788772583, 0.05464441329240799, 0.015368286520242691, -0.027348771691322327, -0.00584501214325428, 0.028199760243296623, 0.05348195508122444, -0.06282145529985428, -0.05107022076845169, 0.004057351965457201, 0.03956795856356621, -0.013891912996768951, 0.02705083042383194, -0.02756541408598423, 0.03452061489224434, -0.054226454347372055, -0.07102770358324051, 0.040950238704681396, 0.01018862146884203, -0.0025392635725438595, 0.032042041420936584, 0.004964795894920826, 0.0006411400390788913, 0.009013676084578037, 0.02498083934187889, 0.018689125776290894, -0.058603644371032715, 0.006871708203107119, 0.0037259687669575214, 0.029389819130301476, -0.04456980898976326, 0.05308670178055763, -0.000006487284736067522, 0.026513155549764633, 0.044066738337278366, -0.044181495904922485, 0.02569478191435337, 0.02540229819715023, 0.026930736377835274, -0.04454328492283821, 0.020228374749422073, 0.021708397194743156, 0.013387777842581272, 0.061635926365852356, -0.007261879742145538, 0.07159595191478729, 0.003746848553419113, 0.03795669600367546, 0.08214828372001648, 0.039575401693582535, 0.025099653750658035, 0.044709574431180954, 0.07385743409395218, -0.0047983829863369465, -0.02505462057888508, 0.056178465485572815, -0.024455390870571136, 0.001022671116515994, -0.060454390943050385, 0.002654039766639471, -0.0025556820910423994, 0.008533960208296776, 0.043697867542505264, 0.02374567650258541, -0.018475452437996864, 0.02469179406762123, 0.0026949706953018904, 0.00456347456201911, 0.04424066096544266, 0.006132745649665594, 0.015507702715694904, 0.008248357102274895, -0.03430544584989548, 0.021361295133829117, -0.062497492879629135, -0.04547310248017311, -0.009374036453664303, -0.039505381137132645, -0.0028158877976238728, -0.05215882882475853, -0.04107850417494774, -0.053534477949142456, -0.01636550948023796, 0.03297067806124687, 0.026323746889829636, -0.00526921171694994, -0.04684438556432724, 0.025824112817645073, -0.0380922295153141, -0.054154492914676666, -0.06073204427957535, -0.04466564580798149, -0.04679369553923607, -0.09035403281450272, 0.03684018552303314, 0.026964010670781136, 0.04214350879192352, 0.0017442528624087572, -0.009442473761737347, -0.02150745876133442, -0.01712518371641636, 0.060837022960186005, 0.03700045496225357, -0.036729440093040466, -0.019262075424194336, 0.017720894888043404, -0.029621677473187447, 0.025647973641753197, -0.002045203233137727, -0.03524799644947052, 0.06777895987033844, 0.062077783048152924, 0.025541601702570915, 0.007297333329916, 0.004870998673141003, -0.031340986490249634, -0.051632724702358246, -0.03319163993000984, -0.02787884511053562, 0.005315711721777916, -0.034936707466840744, -0.039755914360284805, -0.020038405433297157, -0.05076415836811066, -0.000902076659258455, -0.005943782161921263, 0.017582768574357033, 0.013841344974935055, 0.04594624042510986, 0.020753556862473488, 0.02765367366373539, -0.02199563756585121, -0.03352605178952217, 0.07058797031641006, -0.0036660449113696814, 0.027615586295723915, -0.09698663651943207, -0.02047133259475231, 0.027815457433462143, 0.03528434783220291, 0.013267465867102146, -0.02689509280025959, 0.09019622206687927, 0.004919363185763359, -0.02275603450834751, -0.022039752453565598, -0.030182670801877975, -0.0445973239839077, 0.009310046210885048, 0.008937472477555275, -0.0266268253326416, -0.050038885325193405, -0.04240233451128006, 0.02700928971171379, 0.020995022729039192, -0.04137770086526871, -0.06864888966083527, -0.006494286935776472, 0.0447799414396286, 0.046462707221508026, 0.00022245313448365778, -0.04336794838309288, 0.011306512169539928, -0.0317167267203331, -0.05202432721853256, 0.02617506869137287, 0.008378987200558186, 0.02395121194422245, 0.04559091106057167, 0.02827187441289425, -0.053417086601257324, 0.01828169636428356, 0.0357874296605587, 0.042464178055524826, 0.014802425168454647, -0.03823927044868469, 0.005436662584543228, -0.03313520923256874, 0.013604680076241493, -0.002136792754754424, -0.04421396553516388, -0.03833317384123802, -0.08266713470220566, -0.0033883266150951385, -0.007675966247916222, -0.0003928516525775194, -0.0065139289945364, 0.013444013893604279, 0.014870806597173214, 0.021257303655147552, -0.003895520931109786, 0.011904673650860786, 0.03582622855901718, -0.04538777098059654, 0.05608314648270607, 0.003232298418879509, 0.019089534878730774, -0.05135984346270561, 0.013178577646613121, -0.038107000291347504, -0.018244605511426926, -0.013721671886742115, 0.06242815777659416, 0.01698746718466282, 0.0454457588493824, 0.08109096437692642, 0.016006965190172195, -0.04032400622963905, 0.036387357860803604, 0.042545296251773834, -0.013140822760760784, -0.04780774936079979, -0.014195847325026989, -0.030934009701013565, -0.05710570141673088, 0.0009803473949432373, -0.03130163997411728, 0.008812331594526768, 0.024827539920806885, 0.01672920398414135, -0.026663459837436676, -0.008748042397201061, 0.004187127575278282, -0.010834374465048313, -0.0913935974240303, -0.019580155611038208, 0.02084174193441868, 0.00033029456972144544, 0.03150887414813042, 0.042980510741472244, 0.019849037751555443, 0.08363909274339676, 0.031972166150808334, -0.020403828471899033, -0.05180424824357033, 0.026984145864844322, 0.01812426932156086, -0.05300386622548103, -0.06473208218812943, -0.038066137582063675, 0.05820334330201149, 0.062076568603515625, -0.02072695456445217, -0.08050566166639328, 0.0037938281893730164, 0.07252571731805801, -0.03544049710035324, 0.0966077372431755, -0.023574432358145714, 0.04796699807047844, 0.06590089946985245, -0.04694244638085365, 0.02211085520684719, -0.031846798956394196, 0.021253084763884544, -0.00240033445879817, 0.04962615668773651, -0.03360630199313164, -0.04863141104578972, -0.014659265987575054, 0.03557015582919121, 0.038559917360544205, 0.06979138404130936, 0.04183494299650192, -0.008360669016838074, -0.04933658614754677, 0.0021128582302480936, 0.04385077580809593, -0.044383421540260315, 0.019192874431610107, 0.026365112513303757, 0.056747324764728546, -0.050619352608919144, -0.04389540106058121, -0.01878569833934307, -0.0202783290296793, 0.01950107514858246, 0.020948396995663643, -0.028014065697789192, -0.07399416714906693, 0.0047144643031060696, -0.019131960347294807, -0.009583075530827045, -0.08173880726099014, 0.024962520226836205, -0.033239059150218964, -0.009836732409894466, 0.06130780652165413, 0.014399681240320206, 0.030190765857696533, 0.040582817047834396, -0.010460213758051395, -0.034937068819999695, -0.04881519079208374, 0.01835109107196331, -0.047889791429042816, -0.018548019230365753, -0.04589859023690224, -0.03392145037651062, -0.01409184094518423, -0.02466980740427971, -0.055967990309000015, -0.06015424057841301, -0.0017550658667460084, 0.01597730442881584, 0.0037789654452353716, -0.00018217499018646777, -0.014555128291249275, 0.027191059663891792, -0.04637261852622032, -0.04513068124651909, -0.027776595205068588, -0.023064224049448967, -0.07308557629585266, -0.044544849544763565, 0.02909931167960167, 0.00672019412741065, 0.019429147243499756, 0.010982743464410305, 0.011986495926976204, 0.010562016628682613, -0.007004642393440008, -0.05527004972100258, 0.02600625343620777, -0.006742903031408787, -0.02392634190618992, -0.013510710559785366, 0.016257088631391525, -0.002431171713396907, 0.027616260573267937, -0.02422850951552391, 0.005467566195875406, 0.01886243373155594, -0.03798522427678108, -0.01507335714995861, 0.02784474939107895, 0.03136060759425163, -0.0774562656879425, -0.047938503324985504, -0.013006054796278477, -0.043844129890203476, 0.02688930369913578, -0.033159203827381134, -0.016301440075039864, 0.014722203835844994, 0.015226919203996658, 0.00989295169711113, -0.03524894639849663, -0.03684338182210922, 0.018743282184004784, -0.021772010251879692, 0.03607427701354027, -0.0472288653254509, 0.04575495794415474, -0.020711451768875122, 0.013759578578174114, -0.017146866768598557, 0.00021962739992886782, -0.04922541603446007, 0.03756595775485039, -0.020774250850081444, -0.038773003965616226, -0.002342494670301676, -0.0058286190032958984, -0.030436258763074875, 0.023488299921154976, -0.019657548516988754, 0.02962253801524639, -0.005560337100178003, 0.047270767390728, -0.05600831285119057, -0.006073856260627508, -0.011585652828216553, 0.020566945895552635, -0.018152829259634018, -0.017701271921396255, 0.015459311194717884, -0.04165443778038025, 0.03684253245592117, 0.027251213788986206, 0.007250196300446987, 0.018691107630729675, -0.04451115429401398, 0.006824351381510496, 0.026677217334508896, -0.07033369690179825, -0.01462710089981556, -0.02049543708562851, 0.011060130782425404, -0.020564934238791466, 0.06777342408895493, 0.040051572024822235, -0.06291479617357254, -0.057607002556324005, 0.03428136929869652, 0.0205195602029562, -0.008725267834961414, -0.01025442685931921, 0.01677883416414261, 0.037724029272794724, 0.021695446223020554, -0.03582358732819557, -0.016958843916654587, -0.0011894665658473969, -0.02136714942753315, 0.005730206146836281, -0.0013607656583189964, 0.043568868190050125, 0.0002040795370703563, -0.02660740353167057, -0.03223579749464989, 0.054295238107442856, 0.033268216997385025, 0.01603376865386963, -0.014050185680389404, -0.035142626613378525, 0.010915199294686317, -0.00447270181030035, -0.053608041256666183, -0.024931112304329872, 0.027822405099868774, -0.040324579924345016, 0.07954765856266022, 0.0020394299644976854, 0.0004584045382216573, 0.051476314663887024, 0.0156510379165411, -0.012848352082073689, 0.06773506850004196, -0.01586383953690529, -0.003157741390168667, 0.03179573267698288, -0.07985701411962509, 0.017233561724424362, -0.037739165127277374, 0.07768923789262772, -0.061779920011758804, 0.04625420644879341, 0.0378585159778595, -0.004390112590044737, 0.03068557381629944, -0.05341560021042824, -0.03126848489046097, 0.015711860731244087, -0.04678671434521675, 0.06044606864452362, -0.010287935845553875, -0.06358470767736435, 0.07459249347448349, 0.023129016160964966, -0.07918991893529892, 0.015853168442845345, 0.04000303894281387, 0.020841259509325027, 0.03364866226911545, 0.06193464994430542, -0.06603117287158966, 0.018303006887435913, -0.027312204241752625, 0.027650155127048492, -0.0686519667506218, -0.01394094992429018, 0.011907832697033882, -0.04167644679546356, 0.003105191281065345, 0.048322394490242004, -0.024587396532297134, -0.017668258398771286, 0.016358308494091034, -0.05116014927625656, -0.02569739520549774, 0.008133568800985813, 0.016193658113479614, -0.002288008341565728, 0.024653123691678047, -0.04968848079442978, 0.021109791472554207, 0.016595615074038506, 0.005220345221459866, -0.007662772201001644, -0.005537062417715788, 0.041768692433834076, -0.06795822083950043, -0.026052340865135193, 0.03595315292477608, 0.006857328116893768, -0.016527323052287102, 0.04839528724551201, -0.009677908383309841, 0.018303193151950836, 0.018827009946107864, 0.016583722084760666, -0.0031333668157458305, -0.028499692678451538, 0.006372698582708836, -0.010462799109518528, 0.041020940989255905, 0.03327780216932297, -0.0012049577198922634, 0.026181867346167564, 0.021836968138813972, 0.029553672298789024, -0.004372147843241692, -0.057109083980321884, -0.03458939492702484, 0.015017971396446228, -0.04043062403798103, -0.005746125243604183, 0.004309484269469976, -0.04492916911840439, -0.03443329036235809, -0.006222448777407408, 0.003625641344115138, 0.05217939242720604, -0.050642166286706924, 0.025321515277028084, 0.04599951580166817, -0.00407419353723526, -0.03718588128685951, -0.07262620329856873, -0.02126563899219036, -0.02211388759315014, 0.012595064006745815, 0.03673778846859932, -0.030519353225827217, 0.015827035531401634, -0.039196502417325974, -0.042225632816553116, 0.04337885603308678, 0.024288931861519814, -0.032354071736335754, 0.07603802531957626, 0.025378501042723656, -0.0562925785779953, 0.012105615809559822, 0.023801498115062714, -0.04720236361026764, 0.031854137778282166, 0.014158573001623154, 0.004270394332706928, 0.024254828691482544, 0.030440375208854675, -0.0358884260058403, -0.03937167301774025, -0.08296515792608261, -0.030928725376725197, -0.025313155725598335, 0.012216535396873951, 0.0729377493262291 ]
Arpita/opus-mt-en-ro-finetuned-syn-to-react
[ "pytorch", "tensorboard", "marian", "text2text-generation", "transformers", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "MarianMTModel" ], "model_type": "marian", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
null
--- tags: - generated_from_trainer datasets: - ncbi_disease metrics: - precision - recall - f1 - accuracy model_index: - name: biobert_v1.1_pubmed-finetuned-ner-finetuned-ner results: - task: name: Token Classification type: token-classification dataset: name: ncbi_disease type: ncbi_disease args: ncbi_disease metric: name: Accuracy type: accuracy value: 0.9829142288061745 --- <!-- 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. --> # biobert_v1.1_pubmed-finetuned-ner-finetuned-ner This model is a fine-tuned version of [fidukm34/biobert_v1.1_pubmed-finetuned-ner](https://huggingface.co/fidukm34/biobert_v1.1_pubmed-finetuned-ner) on the ncbi_disease dataset. It achieves the following results on the evaluation set: - Loss: 0.0715 - Precision: 0.8464 - Recall: 0.8872 - F1: 0.8663 - Accuracy: 0.9829 ## 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: 1 ### Training results | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | No log | 1.0 | 340 | 0.0715 | 0.8464 | 0.8872 | 0.8663 | 0.9829 | ### Framework versions - Transformers 4.8.1 - Pytorch 1.9.0+cu102 - Datasets 1.11.0 - Tokenizers 0.10.3
[ 0.0033158871810883284, -0.009309353306889534, 0.003112299367785454, 0.002776843961328268, 0.020532507449388504, 0.016186034306883812, -0.024795493111014366, -0.04380791634321213, -0.03690202534198761, 0.04685873165726662, 0.03165888041257858, -0.016545778140425682, 0.030142150819301605, 0.05428645387291908, -0.02438167855143547, -0.03944095969200134, -0.011562325991690159, -0.013976488262414932, -0.02492954023182392, -0.00023816301836632192, 0.019813645631074905, 0.02133120782673359, 0.022750796750187874, 0.0073922500014305115, 0.017239468172192574, -0.01108677126467228, -0.02158159203827381, 0.01766219362616539, 0.0328826829791069, -0.04268456622958183, 0.005005613435059786, -0.02790582738816738, -0.04686656594276428, -0.01558763813227415, -0.0010834725107997656, 0.01487237960100174, 0.0006400234997272491, -0.004747784696519375, 0.023845268413424492, 0.04508216679096222, -0.0016190899768844247, 0.006659993436187506, 0.007552577182650566, -0.01773640513420105, 0.03771255165338516, -0.0039712307043373585, -0.058546051383018494, -0.012113776989281178, 0.05094204470515251, -0.055103600025177, -0.0661267638206482, -0.07371658831834793, -0.0188674945384264, 0.021941043436527252, -0.013765719719231129, -0.022264787927269936, -0.07142668217420578, -0.015491095371544361, 0.0683690756559372, -0.046105075627565384, -0.061371516436338425, 0.03178633749485016, -0.07310058921575546, 0.003765204455703497, 0.04177094250917435, -0.009243854321539402, 0.0011125473538413644, -0.04733285307884216, 0.036288563162088394, -0.03967195749282837, 0.034821923822164536, -0.019592536613345146, 0.01652560383081436, -0.07917550206184387, -0.015597406774759293, -0.003174109850078821, 0.0547492653131485, 0.05463984236121178, -0.032520994544029236, 0.014544210396707058, 0.03035983443260193, -0.005702990107238293, 0.054824113845825195, -0.009446840733289719, 0.006512579042464495, 0.02867940440773964, -0.040954191237688065, 0.027880975976586342, 0.017544114962220192, 0.012506267987191677, -0.014772987924516201, -0.008789212442934513, -0.02308366447687149, -0.024100137874484062, -0.02536959759891033, 0.011822680942714214, 0.03051912970840931, 0.009923991747200489, 0.010676027275621891, 0.018709396943449974, 0.05165116861462593, 0.037432290613651276, -0.004278848413378, 0.08627629280090332, -0.004874581005424261, -0.0032894837204366922, -0.021381691098213196, -0.024773379787802696, -0.025389255955815315, 0.03020714409649372, 0.042401716113090515, -0.009026347659528255, -0.02295478992164135, 0.018585292622447014, -0.007834222167730331, -0.014836041256785393, 0.07856705784797668, -0.014064682647585869, -0.019481800496578217, -0.018779754638671875, 0.017527088522911072, 0.03399733826518059, 0.04408230632543564, -0.009583836421370506, -0.03552214056253433, -0.014278807677328587, -0.013576085679233074, -0.026845412328839302, 0.0008560659480281174, 0.0054290383122861385, -0.012437957338988781, 0.04791845753788948, 0.020393770188093185, -0.07168020308017731, -0.00146959419362247, 0.008499988354742527, -0.06031353399157524, 0.03244516998529434, 0.014497069641947746, 0.13042400777339935, -0.027365924790501595, -0.0778876468539238, 0.025005435571074486, 0.016423925757408142, -0.00529088219627738, 0.021656179800629616, 0.039732057601213455, -0.04727271944284439, -0.009716004133224487, 0.00474048126488924, 0.03565390035510063, -0.04293262958526611, -0.010789516381919384, 0.05177481099963188, -0.0026248153299093246, 0.029187314212322235, -0.0455353707075119, -0.03151124715805054, -0.030075760558247566, -0.013982879929244518, -0.008504943922162056, 0.04965231195092201, -0.02258097566664219, 0.01245857309550047, -0.012956607155501842, -0.05298132821917534, -0.003404130693525076, 0.06089446321129799, 0.004115987569093704, -0.020670346915721893, -0.025306645780801773, 0.020195960998535156, 0.04322785139083862, 0.039447978138923645, -0.03221629932522774, 0.05276210606098175, 0.06344056874513626, 0.0313580185174942, -0.020708244293928146, 0.019471021369099617, -0.008403578773140907, -0.02467198483645916, -0.028528843075037003, -0.005399242974817753, -0.013698583468794823, -0.03734155744314194, 0.01609783247113228, 0.029652295634150505, 0.010796062648296356, -0.058522604405879974, -0.053479261696338654, 0.06216663122177124, 0.006168413441628218, 0.016337109729647636, 0.00699080154299736, 0.0008916865917854011, -0.009785291738808155, 0.03946826979517937, -0.018396560102701187, 0.020065030083060265, -0.024632776156067848, -0.043157197535037994, 0.006824925076216459, -0.001967437332496047, 0.05768474563956261, 0.050841644406318665, -0.023726699873805046, 0.0636420026421547, -0.030961887910962105, 0.03561027720570564, -0.034643884748220444, -0.03758421912789345, 0.0012879538116976619, 0.06659315526485443, 0.030158430337905884, 0.06115499511361122, -0.007393531035631895, -0.04035814106464386, 0.023386698216199875, 0.05489823594689369, 0.06035592406988144, 0.007270037662237883, -0.04796990752220154, -0.01579955406486988, 0.05671611800789833, 0.04639066383242607, -0.05540898069739342, -0.01916913129389286, 0.0254956241697073, 0.015327143482863903, 0.01675080507993698, -0.007310735061764717, -0.026107901707291603, 0.042234815657138824, -0.06728436052799225, -0.05008092522621155, 0.052616801112890244, 0.01871972158551216, -0.005986449308693409, 0.04427862912416458, -0.005564272403717041, -0.012700345367193222, 0.01603315770626068, 0.03200504556298256, -0.024836935102939606, -0.03318225219845772, 0.03301502764225006, 0.0047749788500368595, 0.043150268495082855, -0.056013260036706924, 0.05544435977935791, -0.02331549860537052, 0.00944740790873766, 0.01942119561135769, -0.055177316069602966, 0.00794211495667696, 0.025781625881791115, 0.02749001421034336, -0.014603767544031143, 0.019881384447216988, 0.027313830330967903, 0.045247677713632584, 0.056957509368658066, 0.0006839418783783913, 0.0837254449725151, -0.0014488529413938522, 0.036360666155815125, 0.07659072428941727, 0.010900051333010197, 0.00917529221624136, 0.034502461552619934, 0.05991043895483017, 0.004156379494816065, -0.02614472806453705, 0.04832908883690834, -0.055521853268146515, 0.015145637094974518, -0.05344567820429802, 0.008789443410933018, -0.009386968798935413, 0.003185172099620104, 0.03822413831949234, 0.022361233830451965, -0.024849025532603264, -0.0015798188978806138, -0.0012416074750944972, -0.008825203403830528, 0.030503125861287117, -0.004874026868492365, -0.011969070881605148, -0.011120944283902645, -0.011627656407654285, -0.008061426691710949, -0.048559028655290604, -0.019050925970077515, -0.002905773464590311, -0.04448433592915535, -0.023974958807229996, -0.1046062782406807, -0.02019062265753746, -0.08916280418634415, -0.0340752936899662, 0.026774374768137932, 0.04183823987841606, 0.0007142960093915462, -0.03297994285821915, 0.027498580515384674, -0.05874193459749222, -0.041285354644060135, -0.06575504690408707, -0.038767341524362564, -0.04767058417201042, -0.07172506302595139, 0.028883522376418114, 0.03593757003545761, 0.01647075079381466, 0.01835779659450054, 0.02341366559267044, 0.006063246633857489, -0.032137177884578705, 0.08343461900949478, 0.045459289103746414, -0.04460228979587555, -0.033212099224328995, 0.03495848923921585, -0.015790032222867012, 0.013305005617439747, 0.002270020544528961, -0.018722454085946083, 0.05332581698894501, 0.06776798516511917, 0.019929032772779465, 0.005160655826330185, -0.024035904556512833, -0.04291900619864464, -0.05647902935743332, -0.006856660824269056, -0.04851236566901207, -0.01098563801497221, -0.048246730118989944, -0.043741337954998016, -0.003740503918379545, -0.07401139289140701, -0.0032729189842939377, -0.017943408340215683, 0.03154253959655762, 0.047601647675037384, 0.031631797552108765, 0.014716379344463348, 0.028160950168967247, -0.033644404262304306, -0.047653928399086, 0.04946397617459297, -0.002760855481028557, 0.013988763093948364, -0.09028144180774689, -0.006048108451068401, 0.0451478436589241, 0.006572331767529249, 0.028206704184412956, -0.024817490950226784, 0.0891624391078949, 0.012807799503207207, -0.019591661170125008, -0.0087727727368474, -0.031309809535741806, -0.014010765589773655, -0.007323457859456539, 0.015102582983672619, 0.0078089311718940735, -0.04524105787277222, -0.029189791530370712, 0.006963165011256933, 0.045375801622867584, -0.06755360960960388, -0.03266318887472153, -0.005563190672546625, 0.03478763625025749, 0.05052390694618225, 0.008002309128642082, -0.06470135599374771, -0.04352423921227455, -0.07811156660318375, 0.0008370238356292248, 0.03544210270047188, 0.009788738563656807, -0.0006790092447772622, 0.03804778680205345, 0.021739134564995766, -0.03540588542819023, 0.023176155984401703, 0.0707784965634346, 0.055498041212558746, -0.013003917410969734, -0.05937695875763893, -0.0040528057143092155, -0.017581021413207054, 0.04656602814793587, 0.012089264579117298, -0.020692838355898857, -0.023653095588088036, -0.0796765387058258, -0.02867972105741501, 0.0006989510147832334, 0.014972307719290257, 0.0020193166565150023, 0.010024379938840866, -0.005286084022372961, 0.003117732470855117, -0.018561633303761482, 0.014257820323109627, 0.030133822932839394, -0.03937637433409691, 0.05934947729110718, 0.013375281356275082, 0.02793022245168686, -0.044042833149433136, 0.0010499547934159636, -0.046601708978414536, -0.015076959505677223, 0.023825420066714287, 0.03450110927224159, -0.013726718723773956, 0.026370730251073837, 0.06963275372982025, 0.004895705729722977, -0.039337676018476486, 0.048627033829689026, 0.06351014971733093, -0.03718944266438484, -0.04944867640733719, -0.00014869590813759714, -0.0005638062721118331, -0.048005107790231705, -0.00967353768646717, -0.015089980326592922, 0.03174436837434769, 0.04419803246855736, -0.022412482649087906, 0.02007029578089714, -0.018509574234485626, -0.007567929103970528, -0.03259531781077385, -0.04980120435357094, -0.00888130348175764, -0.004360424354672432, -0.023159272968769073, 0.03576260432600975, 0.017124004662036896, -0.0002963339793495834, 0.06654654443264008, 0.06333307176828384, -0.027126844972372055, -0.02478262409567833, 0.03583001717925072, 0.01441171020269394, -0.04462982714176178, -0.06142144650220871, -0.01801869459450245, 0.037814296782016754, 0.04717627167701721, -0.04080711305141449, -0.07316725701093674, 0.006670537870377302, 0.0711996853351593, -0.044920872896909714, 0.07309302687644958, -0.0009537264704704285, 0.0415327325463295, 0.06867706030607224, -0.006031624972820282, 0.043541353195905685, -0.03369999676942825, -0.010256631299853325, 0.01616087555885315, 0.030150271952152252, -0.0463174469769001, -0.029333733022212982, -0.029128791764378548, 0.041215673089027405, 0.03833906725049019, 0.04266848415136337, 0.0464746467769146, -0.03280391916632652, -0.014465169981122017, 0.017348380759358406, 0.03967874497175217, -0.034392569214105606, -0.0006391355418600142, 0.04315786436200142, 0.03987153246998787, -0.046025365591049194, -0.04434126615524292, -0.06476704031229019, -0.017363950610160828, 0.02162189409136772, 0.011903757229447365, -0.05751354247331619, -0.01675575040280819, 0.010166148655116558, 0.020087363198399544, -0.011765901930630207, -0.05340820178389549, 0.04021909460425377, 0.001166241243481636, -0.013827409595251083, 0.033973004668951035, 0.027942948043346405, 0.05868285894393921, 0.05203557014465332, 0.0207768976688385, -0.0022979266941547394, -0.050008099526166916, 0.048842981457710266, -0.035605382174253464, -0.023521259427070618, -0.013986865058541298, -0.022525716572999954, -0.026458945125341415, -0.018934929743409157, -0.03924824297428131, -0.06115030124783516, -0.014009339734911919, 0.006244900170713663, 0.026543455198407173, -0.012109815143048763, 0.014707084745168686, 0.027418870478868484, -0.02567526139318943, -0.020892096683382988, -0.02967446856200695, -0.028024666011333466, -0.06548022478818893, -0.0439305417239666, 0.02956858091056347, 0.0392635203897953, 0.024970322847366333, 0.04526345059275627, 0.032084912061691284, 0.004340268671512604, 0.01984906755387783, -0.0461895689368248, 0.010169166140258312, -0.009667722508311272, -0.025758028030395508, -0.02703023888170719, 0.04548342525959015, 0.02809079736471176, 0.03141722455620766, -0.02456461451947689, 0.03927672281861305, 0.02166011929512024, -0.00284172291867435, -0.004214704968035221, 0.029117846861481667, -0.005450120661407709, -0.05545865371823311, -0.028255317360162735, -0.0003621313953772187, -0.03841692581772804, 0.035757362842559814, -0.02560809813439846, -0.011942886747419834, -0.01979675516486168, -0.008451767265796661, 0.043554775416851044, -0.012497859075665474, -0.012953945435583591, 0.019393401220440865, -0.006931293290108442, 0.020650714635849, -0.03884563595056534, 0.049910593777894974, -0.06383292376995087, 0.00932135246694088, -0.020920371636748314, 0.01793736219406128, -0.04785536602139473, 0.029518121853470802, -0.02389654330909252, -0.022666748613119125, -0.0038501950912177563, 0.03073868714272976, -0.053911253809928894, 0.03173595666885376, -0.025177469477057457, -0.004907979629933834, -0.030103974044322968, 0.05619193613529205, -0.027609769254922867, -0.011560427024960518, -0.0370708666741848, 0.00805655401200056, -0.011086818762123585, 0.015102778561413288, -0.016619578003883362, -0.006530906539410353, 0.04050407558679581, 0.05700860172510147, 0.03918102756142616, 0.05582797899842262, -0.0200483538210392, -0.017297513782978058, 0.02900943160057068, -0.055491670966148376, -0.02922605723142624, -0.003523823106661439, 0.02006395533680916, -0.011881191283464432, 0.06375380605459213, 0.040002066642045975, -0.020848311483860016, -0.05258488282561302, 0.04370014742016792, 0.004104922991245985, 0.024127528071403503, 0.0036349263973534107, 0.056276921182870865, 0.02805226668715477, 0.04558410122990608, -0.05349087715148926, -0.029455257579684258, -0.014032538048923016, -0.059981707483530045, 0.04396599903702736, -0.012928388081490993, 0.025088554248213768, 0.028260892257094383, -0.0530293770134449, -0.024776309728622437, 0.05303578823804855, 0.02730044163763523, 0.02880430780351162, -0.012848115526139736, -0.0492723248898983, 0.03223442658782005, -0.0404692068696022, -0.06493493169546127, 0.02516542375087738, 0.03234294056892395, -0.040527552366256714, 0.055714450776576996, 0.0023124085273593664, 0.008489812724292278, 0.057240601629018784, 0.042635925114154816, -0.006497786846011877, 0.07414960116147995, -0.022923218086361885, 0.015848420560359955, 0.044801779091358185, -0.08866861462593079, -0.00719992071390152, -0.057633038610219955, 0.07278504222631454, -0.06178659200668335, 0.026176709681749344, 0.04211912304162979, -0.0073881023563444614, -0.00013811321696266532, -0.030628861859440804, -0.04765545204281807, 0.002937503159046173, -0.015481601469218731, 0.08099609613418579, 0.0018981390167027712, -0.07131155580282211, 0.06137778237462044, 0.018298501148819923, -0.0742647647857666, 0.04472179338335991, 0.026043515652418137, 0.036461226642131805, 0.03321775794029236, 0.048088330775499344, -0.04841761663556099, 0.02121097967028618, -0.024423178285360336, 0.025900157168507576, -0.041371364146471024, -0.022269560024142265, 0.044528037309646606, -0.041084811091423035, -0.02210867777466774, 0.04774007573723793, -0.03468354418873787, -0.0070086088962852955, 0.0353504903614521, -0.040692396461963654, -0.008269117213785648, 0.017868096008896828, 0.013803592883050442, -0.022313348948955536, 0.007874461822211742, -0.03157206252217293, 0.04058224707841873, 0.01925460621714592, 0.01917317695915699, -0.023672087118029594, 0.00972527451813221, 0.025342416018247604, -0.06302762776613235, -0.03467593714594841, 0.008444360457360744, -0.013974654488265514, -0.014805070124566555, 0.02861109748482704, 0.02026032656431198, 0.02292441576719284, 0.012350205332040787, 0.002344383392482996, 0.010026068426668644, -0.03059684857726097, 0.008090516552329063, 0.0016975627513602376, 0.012109383009374142, 0.0568874217569828, -0.01416008546948433, 0.04735869914293289, 0.06057405099272728, 0.03240635246038437, 0.017330307513475418, -0.01058929692953825, -0.0207245834171772, 0.029398802667856216, -0.021574340760707855, -0.011731362901628017, -0.01243545114994049, -0.05502460151910782, -0.02130112610757351, 0.008643316105008125, -0.03814910352230072, 0.04321233928203583, -0.0708259865641594, 0.013502304442226887, 0.054059624671936035, -0.0010000275215134025, -0.06551803648471832, -0.10829759389162064, -0.006703212391585112, -0.0218411423265934, 0.009234393946826458, 0.014588456600904465, -0.01720541901886463, 0.023757344111800194, -0.026917023584246635, -0.047725483775138855, 0.03692622855305672, 0.015312595292925835, -0.03947931155562401, 0.04272761940956116, 0.0651598870754242, -0.03440714254975319, -0.003109854646027088, 0.03319310396909714, -0.039186760783195496, 0.020401686429977417, 0.005175990983843803, 0.0005940205883234739, 0.02428082376718521, 0.027647901326417923, -0.048408739268779755, -0.013651496730744839, -0.07913675159215927, -0.02671670727431774, -0.04165135324001312, -0.012867373414337635, 0.07851149141788483 ]
Arpita/opus-mt-en-ro-finetuned-synthon-to-reactant
[]
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: - generated_from_trainer datasets: - ncbi_disease metrics: - precision - recall - f1 - accuracy model_index: - name: biobert_v1.1_pubmed-finetuned-ner results: - task: name: Token Classification type: token-classification dataset: name: ncbi_disease type: ncbi_disease args: ncbi_disease metric: name: Accuracy type: accuracy value: 0.9827274990663513 --- <!-- 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. --> # biobert_v1.1_pubmed-finetuned-ner This model is a fine-tuned version of [monologg/biobert_v1.1_pubmed](https://huggingface.co/monologg/biobert_v1.1_pubmed) on the ncbi_disease dataset. It achieves the following results on the evaluation set: - Loss: 0.0657 - Precision: 0.8338 - Recall: 0.8933 - F1: 0.8625 - Accuracy: 0.9827 ## 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 | 340 | 0.0612 | 0.8268 | 0.85 | 0.8382 | 0.9806 | | 0.0987 | 2.0 | 680 | 0.0604 | 0.8397 | 0.8848 | 0.8616 | 0.9829 | | 0.0272 | 3.0 | 1020 | 0.0657 | 0.8338 | 0.8933 | 0.8625 | 0.9827 | ### Framework versions - Transformers 4.8.1 - Pytorch 1.9.0 - Datasets 1.6.2 - Tokenizers 0.10.3
[ -0.0005436687497422099, -0.010373517870903015, 0.00434185890480876, 0.008292938582599163, 0.021849092096090317, 0.014073611237108707, -0.020195718854665756, -0.04843628406524658, -0.035757970064878464, 0.04471391439437866, 0.027906762436032295, -0.021252863109111786, 0.028703274205327034, 0.050066713243722916, -0.022444043308496475, -0.03439963608980179, -0.015077942982316017, -0.015194280073046684, -0.02534635178744793, 0.0038949756417423487, 0.025097213685512543, 0.019171075895428658, 0.022631745785474777, 0.010168122127652168, 0.022027311846613884, -0.007592444308102131, -0.02494294010102749, 0.02041766233742237, 0.025728769600391388, -0.040529463440179825, 0.0017581481952220201, -0.027655888348817825, -0.05084365978837013, -0.008272936567664146, -0.0033994438126683235, 0.013726141303777695, 0.005060061812400818, -0.008548307232558727, 0.022837087512016296, 0.046424973756074905, 0.00018780723621603101, -0.0010417553130537271, 0.0006510776001960039, -0.016125768423080444, 0.03390754014253616, -0.007765837945044041, -0.06134912744164467, -0.011057225055992603, 0.04909072443842888, -0.050990842282772064, -0.0657738745212555, -0.07221719622612, -0.017018429934978485, 0.016825886443257332, -0.01637338660657406, -0.02310227043926716, -0.06555024534463882, -0.015711143612861633, 0.06459887325763702, -0.04440703243017197, -0.0625590905547142, 0.031101908534765244, -0.08054880052804947, -0.002206242410466075, 0.04183274880051613, -0.010425623506307602, 0.0028267146553844213, -0.04532255604863167, 0.03653285279870033, -0.04147012159228325, 0.03742196783423424, -0.017034364864230156, 0.014029043726623058, -0.07793719321489334, -0.01680101826786995, -0.004646622575819492, 0.057085540145635605, 0.05659884586930275, -0.03235658258199692, 0.010962515138089657, 0.03139457851648331, -0.009688290767371655, 0.05323084443807602, -0.0017213055398315191, 0.004529708996415138, 0.02275087684392929, -0.04386894404888153, 0.024833539500832558, 0.01616176962852478, 0.013191781006753445, -0.017873547971248627, -0.00826931931078434, -0.02670944482088089, -0.0210573673248291, -0.02647235430777073, 0.007440451066941023, 0.032830700278282166, 0.0036057112738490105, 0.01110787782818079, 0.0198480486869812, 0.048532549291849136, 0.035012971609830856, -0.009030257351696491, 0.08674276620149612, -0.005545469932258129, -0.0028547351248562336, -0.02350664883852005, -0.030644508078694344, -0.02340678870677948, 0.01986592262983322, 0.044212114065885544, -0.007046653423458338, -0.022905075922608376, 0.02272668667137623, -0.005579065997153521, -0.01554184127599001, 0.07697533816099167, -0.012990719638764858, -0.019556177780032158, -0.02034582756459713, 0.015814559534192085, 0.0344109982252121, 0.03320030868053436, -0.0058399285189807415, -0.028977280482649803, -0.013882838189601898, -0.016598032787442207, -0.0208662748336792, 0.007377535104751587, 0.005901401396840811, -0.012303273193538189, 0.046339645981788635, 0.023797782137989998, -0.07055345177650452, 0.0029623459558933973, 0.0009510373347438872, -0.05781421437859535, 0.032699234783649445, 0.010001568123698235, 0.12961868941783905, -0.029536884278059006, -0.07915995270013809, 0.02956761047244072, 0.017608968541026115, -0.011101683601737022, 0.019377103075385094, 0.03775052726268768, -0.04461957886815071, -0.005363125819712877, 0.005498628597706556, 0.04224149510264397, -0.0445040762424469, -0.01395177561789751, 0.05349298566579819, -0.004511130042374134, 0.028794100508093834, -0.0480954684317112, -0.034845925867557526, -0.029592541977763176, -0.01456292625516653, -0.003994815517216921, 0.048457998782396317, -0.023986367508769035, 0.009843950159847736, -0.011924885213375092, -0.052883971482515335, -0.003229032503440976, 0.06021479517221451, 0.0023407877888530493, -0.02042829617857933, -0.024525558575987816, 0.015957629308104515, 0.043113525956869125, 0.03804810717701912, -0.03833150118589401, 0.048336129635572433, 0.06450121849775314, 0.031052282080054283, -0.021881960332393646, 0.021282151341438293, -0.005868082400411367, -0.029652010649442673, -0.026801133528351784, -0.0015393913490697742, -0.014717746526002884, -0.03282734006643295, 0.014863238669931889, 0.02619033120572567, 0.01454041339457035, -0.049573756754398346, -0.05528239160776138, 0.06093936040997505, 0.0054564811289310455, 0.01366194523870945, 0.007325410842895508, 0.007106573320925236, -0.009235559962689877, 0.03917304426431656, -0.013210172764956951, 0.023446550592780113, -0.022299805656075478, -0.04075993224978447, 0.01122989971190691, -0.003481286810711026, 0.06233830004930496, 0.045200008898973465, -0.02037602663040161, 0.06375162303447723, -0.03101603500545025, 0.03608915954828262, -0.03904138505458832, -0.03457391634583473, 0.0026181412395089865, 0.06661952286958694, 0.0360446572303772, 0.06259366124868393, -0.012381922453641891, -0.04029687121510506, 0.023120347410440445, 0.05594196543097496, 0.061126887798309326, 0.005916967988014221, -0.053630486130714417, -0.01620524562895298, 0.05232439562678337, 0.049714960157871246, -0.05481821671128273, -0.021022725850343704, 0.025486493483185768, 0.019496794790029526, 0.016591962426900864, -0.00277036614716053, -0.02764616161584854, 0.038503680378198624, -0.06896569579839706, -0.0551338829100132, 0.05215112492442131, 0.01452138926833868, -0.008020957000553608, 0.03916836902499199, -0.0046598478220403194, -0.012049711309373379, 0.013847318477928638, 0.03152242302894592, -0.02762644924223423, -0.032127708196640015, 0.03353123739361763, 0.0014358049957081676, 0.04103270545601845, -0.051380205899477005, 0.05622139200568199, -0.015280572697520256, 0.011394594796001911, 0.021225105971097946, -0.05518301576375961, 0.00688828295096755, 0.026548761874437332, 0.026857322081923485, -0.015575122088193893, 0.016984470188617706, 0.029399296268820763, 0.039725515991449356, 0.059244412928819656, -0.0017494955100119114, 0.08320210129022598, 0.0030953518580645323, 0.03613634780049324, 0.08531802892684937, 0.007095677778124809, 0.012577888555824757, 0.035720933228731155, 0.06036345288157463, -0.00015457271365448833, -0.02827133797109127, 0.0438058041036129, -0.04994402453303337, 0.014985121786594391, -0.05382908135652542, 0.008690995164215565, -0.008059052750468254, 0.002204589080065489, 0.032805196940898895, 0.020521318539977074, -0.028848662972450256, 0.0011574620148167014, -0.0029243682511150837, -0.008184205740690231, 0.028740929439663887, -0.005633838940411806, -0.01822703331708908, -0.008086305111646652, -0.008543821983039379, 0.00017832442244980484, -0.048041462898254395, -0.020650075748562813, -0.00516895717009902, -0.04411342740058899, -0.02599184401333332, -0.10322614759206772, -0.017721621319651604, -0.08820058405399323, -0.031317681074142456, 0.02827916294336319, 0.03653465956449509, -0.00813247449696064, -0.03245677053928375, 0.026877282187342644, -0.05512930080294609, -0.03927928954362869, -0.06202246621251106, -0.04496031999588013, -0.04590043053030968, -0.07618759572505951, 0.024173445999622345, 0.04003072902560234, 0.0149609986692667, 0.021184833720326424, 0.01958809792995453, 0.0047333212569355965, -0.03269484266638756, 0.07963361591100693, 0.044867683202028275, -0.04496770724654198, -0.0369088314473629, 0.03557566925883293, -0.015552633441984653, 0.016322758048772812, 0.007086806930601597, -0.01790775917470455, 0.0612725168466568, 0.0708540827035904, 0.01557837426662445, -0.0011787671828642488, -0.02321985736489296, -0.04302050918340683, -0.05859152227640152, -0.009664062410593033, -0.04660341143608093, -0.01202073972672224, -0.04938599839806557, -0.044232290238142014, 0.00037108888500370085, -0.06953724473714828, -0.004392243921756744, -0.01265634410083294, 0.03003927320241928, 0.052588753402233124, 0.029906341806054115, 0.01811201125383377, 0.02966262958943844, -0.03431102633476257, -0.04402647912502289, 0.05657724291086197, 0.004562997259199619, 0.010021264664828777, -0.08682893216609955, -0.007363899145275354, 0.043981097638607025, 0.0032981825061142445, 0.027081727981567383, -0.029487697407603264, 0.08486633002758026, 0.017454441636800766, -0.019691506400704384, -0.01017563696950674, -0.0317741259932518, -0.015542489476501942, -0.009551295079290867, 0.007744621951133013, 0.005574831273406744, -0.0470270998775959, -0.026698876172304153, 0.0052124070934951305, 0.042126480489969254, -0.0702778622508049, -0.03566191717982292, -0.00938443373888731, 0.035732194781303406, 0.04928804934024811, 0.010021336376667023, -0.061461638659238815, -0.044396743178367615, -0.08242908120155334, 0.0003391418431419879, 0.036037348210811615, 0.009245241992175579, -0.006724419072270393, 0.043116167187690735, 0.02241419441998005, -0.035102102905511856, 0.02584044635295868, 0.07237835973501205, 0.05283498391509056, -0.012785237282514572, -0.06269235908985138, -0.008586319163441658, -0.017372028902173042, 0.04812050238251686, 0.01146914716809988, -0.022696970030665398, -0.022854818031191826, -0.08335094898939133, -0.023804981261491776, 0.008614161983132362, 0.016012750566005707, 0.0016030165133997798, 0.013747316785156727, -0.007169447839260101, 0.0062074214220047, -0.020280735567212105, 0.0117879007011652, 0.022775696590542793, -0.03825749456882477, 0.056109193712472916, 0.014728493057191372, 0.030047107487916946, -0.04453635215759277, 0.009891319088637829, -0.050858642905950546, -0.014922283589839935, 0.02170111984014511, 0.032691407948732376, -0.016760917380452156, 0.023651638999581337, 0.06885098665952682, 0.0020053235348314047, -0.04185529053211212, 0.04582323506474495, 0.056850627064704895, -0.042737457901239395, -0.048929255455732346, -0.004567555617541075, -0.0006875706603750587, -0.048377875238657, -0.004141516517847776, -0.012158159166574478, 0.027112675830721855, 0.04501065984368324, -0.02035301737487316, 0.017584597691893578, -0.017738457769155502, -0.01024944894015789, -0.03129371628165245, -0.04540327191352844, -0.016055036336183548, -0.006264586001634598, -0.021528275683522224, 0.03193552419543266, 0.0149570032954216, -0.0017152999062091112, 0.0685763880610466, 0.057127345353364944, -0.03041267767548561, -0.028947914019227028, 0.04277960583567619, 0.01313230860978365, -0.04503396525979042, -0.05857078731060028, -0.019580982625484467, 0.03806363418698311, 0.04559672251343727, -0.04313812032341957, -0.07235634326934814, 0.007745219860225916, 0.0744817778468132, -0.04278438910841942, 0.07136943191289902, 0.0035174530930817127, 0.04067578166723251, 0.06000588834285736, -0.005960862617939711, 0.04585600271821022, -0.03606897592544556, -0.008109761402010918, 0.011589263565838337, 0.02975805103778839, -0.04672479256987572, -0.029591966420412064, -0.02800758183002472, 0.043179769068956375, 0.038214486092329025, 0.04421494901180267, 0.04161559417843819, -0.03781776875257492, -0.019125942140817642, 0.018715525045990944, 0.037709757685661316, -0.035535022616386414, 0.0035697445273399353, 0.04347870126366615, 0.04608822613954544, -0.04560833051800728, -0.043643344193696976, -0.06312020123004913, -0.014717311598360538, 0.01836182177066803, 0.013607977889478207, -0.055733852088451385, -0.016466431319713593, 0.008951127529144287, 0.019474735483527184, -0.009878160431981087, -0.05316152423620224, 0.03736225888133049, 0.000530596764292568, -0.01760869286954403, 0.03212250769138336, 0.028768207877874374, 0.05840035527944565, 0.04859918728470802, 0.021931936964392662, -0.0009331925539299846, -0.04818296805024147, 0.04961507394909859, -0.03463367372751236, -0.016215702518820763, -0.013575642369687557, -0.023755742236971855, -0.01866692677140236, -0.021613897755742073, -0.04127829521894455, -0.061188939958810806, -0.009068644605576992, 0.013226795941591263, 0.025708114728331566, -0.014039687812328339, 0.015506561845541, 0.030398953706026077, -0.022472422569990158, -0.02901102602481842, -0.031685199588537216, -0.024374600499868393, -0.06880214810371399, -0.046465855091810226, 0.03331800550222397, 0.03846690058708191, 0.025418177247047424, 0.045757193118333817, 0.0364750400185585, 0.0074010491371154785, 0.01478448137640953, -0.03781455010175705, 0.011449153535068035, -0.012914163060486317, -0.030933676287531853, -0.031125152483582497, 0.048604048788547516, 0.025142313912510872, 0.03234376758337021, -0.030230222269892693, 0.03921062499284744, 0.022367823868989944, -0.007267755921930075, -0.00627544242888689, 0.026464590802788734, -0.013013197109103203, -0.051377326250076294, -0.029792234301567078, 0.007130722515285015, -0.03682846203446388, 0.03390851244330406, -0.02295241877436638, -0.017002038657665253, -0.018054654821753502, -0.004222454037517309, 0.046427443623542786, -0.01635630615055561, -0.015590736642479897, 0.021318957209587097, -0.0036973406095057726, 0.014266186393797398, -0.037433188408613205, 0.05248909816145897, -0.06615331768989563, 0.009245088323950768, -0.020492717623710632, 0.01745457760989666, -0.04497465118765831, 0.025123581290245056, -0.028524208813905716, -0.027096198871731758, 0.000023246258933795616, 0.0344497486948967, -0.05352550745010376, 0.03464646264910698, -0.02378995530307293, -0.007708133663982153, -0.030399851500988007, 0.05446358397603035, -0.02518804557621479, -0.013959795236587524, -0.028480133041739464, 0.015869371592998505, -0.008624839596450329, 0.020534789189696312, -0.017378218472003937, -0.004953233525156975, 0.034817714244127274, 0.05960755795240402, 0.03685092553496361, 0.06000810116529465, -0.017687810584902763, -0.019298316910862923, 0.025067832320928574, -0.06202637031674385, -0.027770662680268288, -0.00802006758749485, 0.01926199533045292, -0.01246284507215023, 0.06776543706655502, 0.041336383670568466, -0.022065818309783936, -0.05152273178100586, 0.04034258425235748, 0.008457258343696594, 0.02400931902229786, 0.007261989172548056, 0.05823919549584389, 0.026248525828123093, 0.04381093382835388, -0.055311206728219986, -0.032493699342012405, -0.01307151559740305, -0.0606086328625679, 0.04029759392142296, -0.01550282258540392, 0.0247893575578928, 0.02650834619998932, -0.05621812865138054, -0.02739666774868965, 0.05450306832790375, 0.025697454810142517, 0.025189414620399475, -0.007709094788879156, -0.048037271946668625, 0.03235561028122902, -0.038755591958761215, -0.0628606528043747, 0.03182009980082512, 0.02970113232731819, -0.03557591885328293, 0.05548296496272087, 0.000895830278750509, 0.01025603711605072, 0.06638725847005844, 0.04772702977061272, -0.009984375908970833, 0.07636062055826187, -0.02619445137679577, 0.017588213086128235, 0.04450136795639992, -0.08594223856925964, -0.008920437656342983, -0.058439191430807114, 0.07317864149808884, -0.06481077522039413, 0.030227139592170715, 0.039390843361616135, -0.011048700660467148, 0.0005461719701997936, -0.026751283556222916, -0.04413248971104622, 0.003869918640702963, -0.01666070707142353, 0.08785312622785568, 0.0046973577700555325, -0.06616836041212082, 0.06393790990114212, 0.0230002012103796, -0.07937668263912201, 0.04238587245345116, 0.026836102828383446, 0.03333275392651558, 0.03603363409638405, 0.05141433700919151, -0.0513279102742672, 0.026651738211512566, -0.022913528606295586, 0.0308233629912138, -0.03946452587842941, -0.02405615709722042, 0.0412045381963253, -0.040584757924079895, -0.02158256433904171, 0.04299728944897652, -0.03407524526119232, -0.0094192735850811, 0.04389128088951111, -0.042360518127679825, -0.0069226548075675964, 0.016913682222366333, 0.012359396554529667, -0.01999495178461075, 0.006397909019142389, -0.031230637803673744, 0.04519343003630638, 0.017360378056764603, 0.018617266789078712, -0.025682007893919945, 0.007405485026538372, 0.026822352781891823, -0.05962496995925903, -0.03709379583597183, 0.013177323155105114, -0.0035439503844827414, -0.013602073304355145, 0.024612555280327797, 0.022255200892686844, 0.018889721482992172, 0.012160470709204674, 0.000817543244920671, 0.0025713294744491577, -0.027521220967173576, 0.009961784817278385, 0.00906960479915142, 0.01558824721723795, 0.057181213051080704, -0.012913292273879051, 0.047460295259952545, 0.05752696469426155, 0.0312084648758173, 0.017053760588169098, -0.010686318390071392, -0.02366606704890728, 0.03538380563259125, -0.026988951489329338, -0.014333926141262054, -0.008451856672763824, -0.055627573281526566, -0.018995121121406555, 0.005050551146268845, -0.03685614839196205, 0.04632958397269249, -0.06359940767288208, 0.015463962219655514, 0.05116315186023712, -0.002078825607895851, -0.06289408355951309, -0.11031291633844376, -0.014460384845733643, -0.025245225057005882, 0.011351673863828182, 0.01906527578830719, -0.01563151739537716, 0.023915821686387062, -0.02753046527504921, -0.04787049442529678, 0.03722227364778519, 0.016226045787334442, -0.039787791669368744, 0.043493207544088364, 0.06399093568325043, -0.036673661321401596, -0.0009186528041027486, 0.028423460200428963, -0.04387763887643814, 0.022449854761362076, 0.006376160308718681, -0.0029819258488714695, 0.02363363653421402, 0.03309182822704315, -0.04459097981452942, -0.014908851124346256, -0.0800509825348854, -0.027362432330846786, -0.043613702058792114, -0.01049464289098978, 0.07687970995903015 ]
ArtemisZealot/DialoGTP-small-Qkarin
[ "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 } } }
9
null
This model can measure semantic similarity between pairs of texts containing figurative language. As far as we know, this model works slightly better than sup-simCSE-roberta-base. For example : **sentence 1**: I have been in seventh heaven since Harry entered my life . **sentence 2**: I have been in very happy since Harry entered my life. the cosin score of simcse: 0.897 the cosin score of us: 0.897 ------------------------------------------------------------------- **sentence 1**: I have been in seventh heaven since Harry entered my life . **sentence 2**: I have been in pain since Harry entered my life . the cosin score of simcse: 0.846 the cosin score of us: 0.753 -------------------------------------------------- It's still a big challenge for us to measure semantic similarity of figurative language from the sentence embedding perspective. unsupvised models may useless as the key is to infer the literal meaning of the figurative expression, since the annotated is rare.
[ -0.024997662752866745, -0.02162082865834236, -0.018685121089220047, 0.054026369005441666, 0.03995312750339508, 0.026373786851763725, -0.023419523611664772, -0.013753783889114857, -0.05998450145125389, 0.03706086426973343, 0.03531632944941521, -0.014991979114711285, 0.01915169693529606, 0.02039833925664425, -0.004988440312445164, -0.04175867512822151, -0.0224536694586277, 0.007944484241306782, -0.027082832530140877, -0.043433789163827896, 0.0010059912456199527, 0.01316937617957592, 0.004889449570327997, 0.0025487858802080154, -0.027033766731619835, 0.007709084078669548, -0.015307958237826824, 0.023038672283291817, 0.01632494106888771, -0.05200850963592529, 0.011456924490630627, -0.015142416581511497, -0.051724858582019806, -0.0072531262412667274, -0.0252606812864542, 0.01669755019247532, 0.016822490841150284, 0.011055790819227695, -0.0017789402045309544, 0.06714870780706406, 0.003066096920520067, 0.028315868228673935, -0.03446625918149948, -0.030775759369134903, 0.023996634408831596, -0.0012743637198582292, -0.022262882441282272, -0.02844366617500782, 0.014920564368367195, -0.05874049291014671, -0.045230682939291, -0.09018445014953613, -0.01671505905687809, 0.02973506785929203, 0.033754922449588776, -0.0024180812761187553, -0.04703295975923538, -0.024030154570937157, 0.07436921447515488, -0.04344283416867256, -0.03280085325241089, 0.005002323072403669, -0.06462754309177399, 0.011282401159405708, 0.005381706170737743, -0.05016061291098595, 0.021958624944090843, -0.05009622499346733, 0.027736002579331398, -0.03347811847925186, 0.06494635343551636, -0.032797809690237045, 0.04588897153735161, -0.09474872797727585, -0.00009087067155633122, -0.02483823336660862, 0.022785959765315056, 0.05775059387087822, -0.04751330614089966, 0.06710880249738693, 0.009746585972607136, -0.01668594405055046, 0.02149028144776821, 0.016294529661536217, -0.0013149901060387492, 0.05049161985516548, -0.057934992015361786, -0.016173837706446648, -0.02270728535950184, 0.03288599103689194, -0.05809338018298149, -0.03651545196771622, 0.022908728569746017, -0.0445110946893692, -0.012613450177013874, 0.021954454481601715, 0.041935667395591736, -0.0179386455565691, 0.0338243767619133, 0.021972473710775375, -0.009537985548377037, 0.061144568026065826, -0.030062921345233917, 0.04882775619626045, 0.0006530351238325238, -0.00018878685659728944, -0.019998958334326744, -0.045775867998600006, -0.03601144999265671, 0.017378587275743484, -0.003194631077349186, -0.04302980378270149, -0.057834021747112274, 0.047690317034721375, 0.009528917260468006, -0.040616825222969055, 0.040493324398994446, -0.026512425392866135, -0.06488987058401108, -0.05170705169439316, 0.0411822646856308, -0.013314555399119854, 0.005869696848094463, -0.014244377613067627, -0.08204285055398941, 0.02019072324037552, -0.053411684930324554, -0.0555940642952919, 0.0014439740916714072, 0.020789848640561104, -0.02992103435099125, 0.045870617032051086, 0.02282705530524254, -0.06610123068094254, 0.008691893890500069, 0.03848160058259964, -0.06991402059793472, 0.030351603403687477, 0.030440887436270714, 0.09887561202049255, -0.04406324401497841, -0.033185116946697235, 0.03235689550638199, 0.010244803503155708, -0.03517748787999153, 0.018838323652744293, 0.01460181176662445, -0.04121159762144089, -0.046867869794368744, 0.0019298704573884606, 0.054048389196395874, -0.061088886111974716, 0.011827662587165833, 0.048497721552848816, -0.0019972084555774927, 0.015954025089740753, -0.04262766242027283, 0.02279512770473957, -0.004785513039678335, 0.009010573849081993, -0.027258068323135376, 0.05833028629422188, -0.02268351800739765, -0.02705380879342556, -0.04635059833526611, -0.02460639178752899, -0.013731081038713455, 0.07856819033622742, -0.01483865361660719, -0.014639890752732754, -0.058530863374471664, 0.012754406780004501, 0.05143149569630623, 0.018617989495396614, -0.021027766168117523, 0.002028514165431261, 0.05924154818058014, 0.03258316591382027, -0.017099756747484207, 0.060105424374341965, -0.012472385540604591, -0.027427444234490395, -0.02288024127483368, 0.03057151846587658, 0.017195923253893852, -0.02798081561923027, 0.038446202874183655, 0.07001352310180664, -0.018078774213790894, -0.021731918677687645, -0.0178731270134449, 0.06502381712198257, -0.031008608639240265, -0.019248556345701218, 0.009348096325993538, -0.018567528575658798, -0.043911781162023544, 0.05625978112220764, -0.02411561645567417, 0.0071730478666722775, -0.005183125846087933, -0.02601655386388302, 0.019757134839892387, 0.01989077404141426, 0.021461322903633118, 0.02608676627278328, -0.0022134752944111824, 0.08639564365148544, -0.03882277384400368, 0.029341304674744606, -0.07203427702188492, -0.009910381399095058, 0.004895741119980812, 0.020391257479786873, -0.002095987554639578, 0.05724126845598221, -0.019518624991178513, -0.0458584800362587, 0.020824065431952477, 0.04892026633024216, 0.025103505700826645, 0.053639087826013565, -0.03145064413547516, -0.01126555074006319, 0.005184606183320284, 0.05817089602351189, -0.0395357720553875, -0.023134354501962662, 0.03345518559217453, 0.04367903247475624, -0.030712535604834557, -0.00020198672427795827, -0.004677772056311369, 0.017758959904313087, -0.02446834370493889, -0.0714188814163208, 0.04148704558610916, 0.016395997256040573, -0.0040698302909731865, 0.006404523272067308, 0.007104514632374048, -0.005799473728984594, 0.026102203875780106, 0.015769055113196373, 0.0020665903575718403, -0.05354389548301697, -0.0038751268293708563, 0.011669221334159374, 0.05967919901013374, -0.02783588506281376, 0.02396230958402157, 0.013913532719016075, 0.008448629640042782, 0.048914834856987, -0.012501997873187065, 0.014065397903323174, 0.07920835167169571, -0.008390231989324093, -0.033413857221603394, 0.04500795900821686, 0.0051028854213654995, 0.020968539640307426, 0.06590128690004349, -0.012745538726449013, 0.06862438470125198, 0.022850878536701202, 0.012310800142586231, 0.05547509342432022, 0.018184002488851547, -0.011132348328828812, 0.034120820462703705, 0.05247853323817253, -0.01846182905137539, -0.023490754887461662, 0.07002080231904984, -0.07433521002531052, 0.03434518352150917, -0.02905423939228058, 0.0014994600787758827, -0.011802402324974537, -0.012172242626547813, 0.05473034828901291, -0.014913670718669891, -0.028054101392626762, 0.012747405096888542, -0.00822538323700428, -0.027319954708218575, 0.00842815451323986, -0.02393433451652527, 0.010709881782531738, -0.011011839844286442, -0.016910729929804802, 0.02275709994137287, -0.07752764225006104, 0.004959056619554758, 0.01674613356590271, -0.03373612090945244, 0.004322350025177002, -0.07834510505199432, -0.028726786375045776, -0.02880505472421646, -0.027865471318364143, 0.038891199976205826, -0.016510993242263794, 0.02274126559495926, 0.022618256509304047, 0.03183656558394432, -0.04076213762164116, -0.014013189822435379, -0.045664772391319275, -0.022238250821828842, -0.023456498980522156, -0.04550371691584587, 0.029318025335669518, 0.0245776679366827, 0.033758193254470825, 0.01373446173965931, -0.025082208216190338, -0.048390429466962814, -0.0067603313364088535, 0.062049854546785355, 0.03926019370555878, -0.0031179662328213453, -0.04025335609912872, 0.02362985350191593, 0.015517907217144966, 0.01892394758760929, -0.028384188190102577, -0.04300803691148758, 0.08438945561647415, 0.0515759214758873, 0.018381770700216293, 0.03021283820271492, -0.02131502516567707, -0.029127895832061768, -0.019219040870666504, -0.02600567415356636, -0.0605023093521595, -0.030767202377319336, -0.03963354229927063, -0.03840320557355881, -0.029045913368463516, -0.019271185621619225, -0.010768438689410686, -0.004277605097740889, 0.014150196686387062, 0.047481026500463486, 0.02536216750741005, 0.04256090521812439, 0.035944968461990356, -0.020592473447322845, -0.00638321228325367, 0.07696741074323654, 0.024474257603287697, -0.010745500214397907, -0.0869588851928711, -0.027225056663155556, -0.011329229921102524, 0.024839989840984344, -0.004804142750799656, -0.02359980344772339, 0.06951270252466202, 0.017503855749964714, 0.007686544209718704, 0.010271905921399593, 0.02023746818304062, -0.05121539533138275, -0.0022520767524838448, -0.02725723385810852, -0.0052047958597540855, -0.05749877914786339, -0.019695322960615158, -0.029654502868652344, 0.054421231150627136, -0.06045183911919594, -0.041085559874773026, 0.02348986454308033, 0.030053207650780678, 0.05146615952253342, -0.017824601382017136, -0.009754487313330173, -0.013164161704480648, -0.04561149328947067, -0.02043030969798565, 0.011639710515737534, -0.010354183614253998, 0.0046508037485182285, 0.06373598426580429, 0.026612592861056328, -0.025787627324461937, 0.04924606531858444, 0.022609682753682137, 0.012591748498380184, 0.02540242299437523, -0.020837612450122833, 0.026871537789702415, -0.03900797665119171, 0.015328433364629745, 0.020434878766536713, -0.05005363002419472, -0.05363454297184944, -0.08132228255271912, -0.03452451899647713, 0.03347521647810936, -0.023407593369483948, -0.003483683569356799, 0.03527146205306053, -0.04132479429244995, -0.031444765627384186, 0.012675353325903416, -0.01606813631951809, 0.010966469533741474, -0.05744863301515579, 0.045641619712114334, -0.0338297076523304, 0.03676874563097954, -0.04645123332738876, 0.0012098229490220547, -0.04635520651936531, -0.05421070009469986, 0.022768709808588028, 0.06158461049199104, 0.009342939592897892, 0.03887701407074928, 0.07344917953014374, 0.02131093479692936, -0.03354506194591522, 0.06816762685775757, 0.04000934213399887, 0.001130480319261551, -0.06354532390832901, 0.018433155491948128, -0.0014442640822380781, -0.02626097947359085, 0.007961568422615528, -0.01537550613284111, 0.023108720779418945, 0.03182924911379814, 0.012601871974766254, -0.01450407039374113, -0.007213365752249956, -0.03581967577338219, -0.007960333488881588, -0.07011792808771133, -0.026101693511009216, -0.028854012489318848, -0.022104190662503242, 0.03948646038770676, 0.040178410708904266, 0.004221117589622736, 0.06174078956246376, 0.04397988319396973, -0.011962692253291607, -0.051314231008291245, 0.04568145051598549, 0.03826568275690079, -0.05385108292102814, -0.054444048553705215, -0.047031283378601074, 0.036537863314151764, 0.04723706841468811, 0.013833524659276009, -0.09446410834789276, 0.01193370670080185, 0.06788908690214157, -0.057085201144218445, 0.03374895825982094, -0.012045761570334435, 0.03671997785568237, 0.04603438824415207, 0.004821850918233395, 0.04342913627624512, -0.014676489867269993, -0.009552568197250366, 0.0019492428982630372, 0.06191186234354973, -0.024755192920565605, -0.058507539331912994, -0.02785060741007328, 0.014587962068617344, 0.014310676604509354, 0.02438693307340145, 0.03158552572131157, -0.0189420897513628, -0.047544825822114944, 0.015328517183661461, -0.005476273130625486, -0.050799883902072906, 0.006516705267131329, 0.017319753766059875, 0.04287299886345863, -0.02714047208428383, -0.02781156450510025, -0.031453412026166916, 0.030202848836779594, 0.048739586025476456, -0.005132985766977072, -0.03530661761760712, -0.06783754378557205, 0.023698152974247932, 0.0076189967803657055, -0.030599482357501984, -0.08801013976335526, 0.001240827259607613, -0.011130566708743572, -0.022415144369006157, 0.06230669841170311, 0.04966861009597778, 0.03119838237762451, 0.04516490548849106, -0.010063201189041138, 0.04132157191634178, -0.020374683663249016, 0.05416430905461311, 0.0041789342649281025, -0.030601704493165016, 0.001915296888910234, -0.08772750198841095, -0.049804165959358215, -0.015818698331713676, -0.022533074021339417, -0.056004974991083145, -0.04788660630583763, 0.02704657055437565, -0.036538224667310715, 0.017648909240961075, -0.005594833288341761, 0.03467905521392822, -0.02253471501171589, -0.019276442006230354, -0.030918555334210396, -0.0608624592423439, -0.09588344395160675, -0.023841213434934616, 0.004067675676196814, 0.005778840277343988, 0.022864365950226784, 0.03542492166161537, 0.014441372826695442, 0.031004346907138824, -0.0036250825505703688, -0.02829936146736145, 0.03539729118347168, 0.006990318652242422, -0.03197290003299713, -0.0516054593026638, -0.014513012021780014, 0.02343473955988884, 0.01343118492513895, -0.02711796760559082, 0.046921245753765106, 0.013678362593054771, -0.044066622853279114, -0.044260114431381226, 0.036575183272361755, 0.01817251555621624, -0.07939735054969788, -0.04310387745499611, -0.012869981117546558, -0.038806188851594925, 0.02973290905356407, 0.001981152920052409, 0.02413254603743553, 0.019478611648082733, 0.029266517609357834, 0.0058407229371368885, -0.005651193670928478, -0.02004288136959076, -0.0002267202507937327, -0.012506948783993721, 0.00724920304492116, -0.07509768009185791, 0.025081926956772804, -0.03759074583649635, 0.020913492888212204, -0.017001209780573845, 0.005991925951093435, -0.024926256388425827, 0.0517699271440506, -0.021263310685753822, -0.026307187974452972, -0.010609385557472706, 0.0459236241877079, -0.010490242391824722, 0.02032041735947132, -0.01793779991567135, 0.000020774712538695894, -0.029166102409362793, 0.06069755554199219, -0.03310651332139969, -0.016788186505436897, -0.04424629360437393, -0.01603534258902073, -0.04112585633993149, -0.02118704654276371, -0.005910560023039579, -0.03173402324318886, 0.045235615223646164, 0.034643013030290604, 0.025740230455994606, 0.018974648788571358, 0.002249776851385832, 0.013588394038379192, 0.016025083139538765, -0.06404326856136322, -0.034648653119802475, -0.01165180653333664, 0.010214326903223991, -0.019256480038166046, 0.05013459548354149, 0.02087222971022129, -0.057287126779556274, -0.0468842089176178, 0.027931131422519684, 0.02933194302022457, -0.008848040364682674, 0.008310968987643719, 0.03260927274823189, 0.04261714220046997, 0.04439263418316841, -0.040630921721458435, 0.002650318667292595, 0.004071109462529421, -0.01750211976468563, 0.012274613603949547, -0.00048234264249913394, -0.004744785837829113, 0.030332433059811592, -0.05645017698407173, -0.01882573962211609, 0.08520306646823883, 0.03139704093337059, 0.006368749309331179, 0.023934414610266685, -0.038791049271821976, 0.023711085319519043, 0.028419027104973793, -0.05213050916790962, -0.0026730557437986135, -0.0024833574425429106, -0.021058756858110428, 0.03648350387811661, -0.025536242872476578, 0.01663385145366192, 0.05736370384693146, 0.0043546841479837894, -0.006172809284180403, 0.00872776284813881, -0.03540467470884323, 0.02165791764855385, 0.05235426872968674, -0.05168651044368744, -0.011324205435812473, -0.04196561500430107, 0.05949186906218529, -0.0578894168138504, 0.07740406692028046, 0.04371367022395134, 0.030608734115958214, -0.004112022463232279, -0.0260677020996809, -0.017970500513911247, 0.002941940911114216, -0.060605473816394806, 0.061042871326208115, -0.005223976913839579, -0.08168037980794907, 0.07889973372220993, 0.04240783303976059, -0.06848262995481491, 0.04265390336513519, 0.02676447667181492, 0.008616817183792591, 0.019874202087521553, 0.03955908119678497, -0.07322666049003601, 0.009680298157036304, -0.014366253279149532, 0.036641236394643784, -0.06102249398827553, -0.02890680357813835, 0.022035174071788788, -0.025300586596131325, 0.010596414096653461, 0.036439958959817886, -0.02643851563334465, 0.009803985245525837, 0.03716811537742615, -0.03325911611318588, -0.018725115805864334, -0.025366218760609627, 0.0009797274833545089, -0.0013856603763997555, 0.009827370755374432, -0.021257583051919937, 0.012524454854428768, -0.013337837532162666, -0.006903074681758881, -0.04875582084059715, 0.021564096212387085, 0.02484309673309326, -0.07034891843795776, -0.03679835796356201, 0.026114286854863167, 0.001905717421323061, -0.024634303525090218, 0.04845038801431656, -0.009225289337337017, 0.027425730600953102, 0.04164404049515724, -0.006484726443886757, 0.029042923822999, -0.06331496685743332, -0.0010555455228313804, 0.024618281051516533, -0.02524043619632721, 0.03938596323132515, -0.02300562523305416, 0.015848007053136826, 0.03614257648587227, 0.02152892015874386, 0.009246275760233402, -0.01722853071987629, -0.024385927245020866, 0.027013607323169708, -0.033936332911252975, 0.028143122792243958, -0.0066345613449811935, -0.031231800094246864, -0.03907715901732445, -0.008509255945682526, 0.016865035519003868, 0.04682386666536331, -0.04204220697283745, -0.005791675299406052, 0.059186749160289764, -0.035864029079675674, -0.041031256318092346, -0.06053462624549866, -0.04941588267683983, -0.019846448674798012, 0.03670429065823555, 0.038123078644275665, -0.023724259808659554, 0.011392924934625626, -0.03754385560750961, -0.0595327652990818, 0.017913132905960083, 0.023665769025683403, -0.036592159420251846, 0.06898080557584763, 0.008814348839223385, -0.04794331640005112, 0.01190165150910616, 0.04638222977519035, -0.04489419236779213, 0.046541307121515274, 0.006353707518428564, 0.012076710350811481, 0.014026119373738766, 0.044713716953992844, 0.020440692082047462, -0.004175370559096336, -0.06031964346766472, -0.040727440267801285, -0.06483901292085648, 0.0003271767345722765, 0.06117875128984451 ]
ArthurBaia/bert-base-portuguese-cased-finetuned-squad
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2022-02-17T08:38:12Z
This model can convert the literal expression to figurative/metaphorical expression. Below is the usage of our model: from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("figurative-nlp/t5-figurative-generation") model = AutoModelForSeq2SeqLM.from_pretrained("figurative-nlp/t5-figurative-generation") input_ids = tokenizer( "research is <m> very difficult </m> for me.", return_tensors="pt" ).input_ids # Batch size 1 outputs = model.generate(input_ids,beam_search = 5) result = tokenizer.decode(outputs[0], skip_special_tokens=True) #result : research is a tough nut to crack for me. For example (the &lt;m&gt; and &lt;/m&gt; is the mark that inform the model which literal expression we want to convert it as figurative expression): **Input**: as of a cloud that softly &lt;m&gt; covers &lt;/m&gt; the sun. **Output**: as of a cloud that softly drapes over the sun. **Input**: that car coming around the corner &lt;m&gt; surprised me. &lt;/m&gt; **Output**: that car coming around the corner knocked my socks off. Note: the figurative language here includes metaphor, idiom and simile. We don't guarantee that the results generated results are satisfactory to you. We are trying to improve the effect of the model.
[ -0.03752002865076065, -0.001749986200593412, -0.023968998342752457, 0.037766698747873306, 0.044606029987335205, 0.0379997193813324, -0.013973753899335861, -0.01062639057636261, -0.045536868274211884, 0.04830522462725639, 0.017846500501036644, -0.01274143997579813, 0.0012846383033320308, 0.028604423627257347, 0.0058703371323645115, -0.055562667548656464, -0.030963031575083733, 0.004392676986753941, -0.02357638068497181, -0.027877436950802803, -0.024240795522928238, 0.021594708785414696, -0.006491841748356819, -0.007151133846491575, -0.014861353673040867, -0.0025003820192068815, -0.014820124953985214, 0.010046884417533875, 0.009862415492534637, -0.05021955445408821, 0.012766042724251747, -0.012333199381828308, -0.014724453911185265, 0.0017420410877093673, -0.0546911247074604, 0.023777415975928307, 0.01492269430309534, 0.03213592246174812, 0.009040318429470062, 0.039053600281476974, 0.012598303146660328, 0.027340492233633995, -0.009263124316930771, 0.006208222825080156, 0.028661305084824562, 0.015550336800515652, -0.012794888578355312, -0.034465301781892776, 0.00597679428756237, -0.027053220197558403, -0.06255250424146652, -0.10085643827915192, -0.022215016186237335, 0.032456159591674805, 0.0015687750419601798, 0.002495002234354615, -0.07172849774360657, -0.02834193967282772, 0.07406017929315567, -0.04459555819630623, -0.009691741317510605, 0.018628990277647972, -0.06299782544374466, 0.029259636998176575, 0.02157680317759514, -0.03961740806698799, 0.025134053081274033, -0.0352233462035656, 0.014056779444217682, -0.050103504210710526, 0.05925901234149933, -0.03999926894903183, 0.02459028549492359, -0.10690058022737503, -0.013891227543354034, -0.009336867369711399, 0.01569407992064953, 0.04848457872867584, -0.05490892753005028, 0.06564914435148239, 0.04757091403007507, 0.01685933768749237, 0.010075841099023819, -0.010904728434979916, -0.02602468617260456, 0.040770236402750015, -0.0697999894618988, -0.01333239208906889, -0.007556559052318335, 0.052188001573085785, -0.045087508857250214, -0.05878516659140587, 0.0206819586455822, -0.046160705387592316, -0.025986427441239357, 0.01050247810781002, 0.05314863473176956, 0.005668801721185446, 0.036705806851387024, 0.004053756128996611, 0.03065318986773491, 0.03923659399151802, -0.021428307518363, 0.06762166321277618, -0.0023002580273896456, -0.0007702326984144747, -0.003923952579498291, -0.048623211681842804, -0.021593132987618446, 0.050424277782440186, 0.019379792734980583, -0.04833068698644638, -0.07511938363313675, 0.045098643749952316, 0.015218764543533325, -0.0042414478957653046, 0.04848858714103699, -0.0023562470450997353, -0.05505264177918434, -0.04193853586912155, 0.04561442509293556, -0.023148566484451294, 0.017197376117110252, -0.022602161392569542, -0.06284043937921524, 0.02531612291932106, -0.08403915166854858, -0.04953502491116524, -0.011117037385702133, 0.017829161137342453, -0.033641692250967026, 0.031028112396597862, 0.023996230214834213, -0.04436732828617096, -0.005608773790299892, 0.031873490661382675, -0.05166572704911232, 0.03554384037852287, 0.015306047163903713, 0.11502198874950409, -0.062064141035079956, -0.06497909128665924, 0.026895273476839066, -0.0019174818880856037, -0.03928583115339279, 0.007068152539432049, 0.018497297540307045, -0.05084516108036041, -0.027194606140255928, 0.02162066660821438, 0.07747054845094681, -0.041153013706207275, 0.005853806622326374, 0.03607615455985069, 0.01639648713171482, 0.028911063447594643, -0.03568733111023903, -0.010737462900578976, -0.011946323327720165, 0.012329960241913795, -0.04152286797761917, 0.06098727509379387, -0.02757589891552925, -0.015769915655255318, -0.03899048641324043, -0.03713550791144371, 0.021753868088126183, 0.08922429382801056, -0.023389311507344246, 0.00359506718814373, -0.0414988212287426, 0.03278472274541855, 0.026046160608530045, 0.005297615192830563, -0.02443154901266098, 0.022751763463020325, 0.07560110092163086, 0.03564411774277687, -0.04507770761847496, 0.044715460389852524, 0.01612461358308792, -0.03793904930353165, -0.021694572642445564, 0.013336867094039917, -0.006083042826503515, -0.024452298879623413, 0.03663522005081177, 0.04117075726389885, -0.03647362440824509, -0.006852320395410061, -0.009326191619038582, 0.05625038221478462, 0.010315018706023693, -0.001106335548684001, -0.008135821670293808, -0.051908090710639954, -0.03438998758792877, 0.053720250725746155, -0.0431588776409626, 0.010273379273712635, -0.025241669267416, -0.02455844171345234, -0.006997604388743639, 0.024160435423254967, 0.03642735630273819, 0.041249439120292664, -0.021010786294937134, 0.08161479234695435, -0.039901986718177795, 0.03219063952565193, -0.05916408449411392, -0.03855318948626518, 0.02350589819252491, 0.022057022899389267, -0.016241444274783134, 0.027501992881298065, -0.008150441572070122, -0.032016120851039886, 0.020999446511268616, 0.058935459703207016, 0.049634527415037155, 0.042673561722040176, -0.047239866107702255, -0.005773792043328285, -0.0012990642571821809, 0.07732441276311874, -0.01673831045627594, -0.03184398636221886, 0.038068681955337524, 0.06081473082304001, -0.024676688015460968, 0.005540338810533285, -0.0017757884925231338, 0.015451215207576752, -0.02989879623055458, -0.06792491674423218, 0.027320412918925285, 0.06335102021694183, -0.01184619590640068, 0.017767706885933876, 0.010681703686714172, -0.007188886404037476, 0.024876181036233902, 0.02665257826447487, 0.02395840734243393, -0.06012310832738876, -0.017835820093750954, 0.015925731509923935, 0.05858112871646881, -0.03972463682293892, 0.05734110251069069, -0.008239713497459888, 0.007947738282382488, 0.05429884418845177, -0.021907318383455276, 0.027205197140574455, 0.05548914521932602, 0.010092110373079777, -0.029645517468452454, 0.026943694800138474, -0.009086336009204388, 0.020141031593084335, 0.0670526772737503, -0.001578226569108665, 0.04988295957446098, 0.04017536714673042, 0.024350173771381378, 0.07427358627319336, 0.026941725984215736, -0.015352409332990646, 0.02461973950266838, 0.063890241086483, 0.010242555290460587, -0.028286434710025787, 0.07127612084150314, -0.060235410928726196, 0.021309509873390198, -0.026180842891335487, 0.030967285856604576, 0.0016982773086056113, -0.035280052572488785, 0.04592398926615715, 0.015431062318384647, -0.057883888483047485, 0.018112126737833023, -0.0026348624378442764, -0.02237785793840885, 0.03728945925831795, -0.014590495266020298, -0.006036199629306793, -0.019502142444252968, -0.0323229655623436, 0.005178477149456739, -0.08667474240064621, -0.006183661986142397, 0.023803580552339554, -0.024373289197683334, 0.01970728114247322, -0.05779796838760376, -0.015086393803358078, -0.03980259597301483, -0.005194927100092173, 0.04142836481332779, 0.017488747835159302, 0.008622287772595882, 0.023242808878421783, 0.020587794482707977, -0.06893201917409897, -0.015755532309412956, -0.07061811536550522, -0.03222505375742912, -0.02015155553817749, -0.050608739256858826, 0.03743835538625717, -0.0009225209942087531, 0.005208194721490145, 0.014443404972553253, -0.021847814321517944, -0.04914361611008644, 0.004476495552808046, 0.07951761037111282, 0.0098068593069911, -0.028142988681793213, -0.02869030274450779, 0.024125806987285614, 0.006908740382641554, 0.007630231790244579, -0.02284761518239975, -0.01702253334224224, 0.0891803577542305, 0.07374972850084305, 0.009725390933454037, 0.025733962655067444, -0.05418844521045685, -0.019773725420236588, -0.014297534711658955, -0.027212360873818398, -0.03615126386284828, -0.019916564226150513, 0.005846309941262007, -0.018011588603258133, -0.006033155135810375, -0.016841785982251167, -0.02440033107995987, 0.0007474521407857537, 0.03281920775771141, 0.05791570991277695, 0.06929755210876465, 0.046923812478780746, 0.018733296543359756, -0.03448314592242241, 0.0044356598518788815, 0.060127146542072296, 0.022859767079353333, 0.024159502238035202, -0.06952464580535889, -0.023514505475759506, -0.0012704029213637114, 0.03779808059334755, -0.0065032183192670345, -0.007365905214101076, 0.08579835295677185, 0.026605404913425446, -0.0020733110141009092, 0.001960841938853264, 0.011561932973563671, -0.02322942018508911, -0.01542291697114706, 0.003622949356213212, -0.011885808780789375, -0.04547625407576561, -0.02785688079893589, -0.04478912428021431, 0.036064647138118744, -0.05653321370482445, -0.05671215429902077, 0.004251666832715273, 0.03337964788079262, 0.044273462146520615, 0.011186495423316956, -0.028293803334236145, -0.02060059644281864, -0.051751669496297836, -0.009078542701900005, -0.007017564028501511, 0.0057913679629564285, -0.0009442388545721769, 0.0363166518509388, 0.021853633224964142, -0.030719419941306114, 0.021081777289509773, 0.012569681741297245, 0.03284503519535065, -0.007423558738082647, -0.028263531625270844, 0.002198947826400399, -0.010241547599434853, 0.012491888366639614, -0.0007309587672352791, -0.03889647126197815, -0.04128676652908325, -0.07968873530626297, -0.025700289756059647, 0.037545472383499146, -0.037494923919439316, -0.0001266348408535123, 0.04522993043065071, -0.018000507727265358, -0.027252523228526115, -0.0063989958725869656, 0.0008707472588866949, 0.05818258970975876, -0.07571560889482498, 0.033734798431396484, -0.04017745330929756, 0.031579963862895966, -0.05785245820879936, -0.0020837828051298857, -0.02522185631096363, -0.01870042271912098, -0.00819325353950262, 0.04258205369114876, 0.03522768244147301, 0.06291387975215912, 0.06438327580690384, 0.010747749358415604, -0.04044727981090546, 0.0639110654592514, 0.049990903586149216, -0.021834440529346466, -0.04981674626469612, 0.0323047935962677, -0.003828121582046151, -0.029697393998503685, 0.024045651778578758, -0.010697017423808575, -0.0046372017823159695, 0.04507476091384888, -0.02267305552959442, -0.025685932487249374, -0.0013080714270472527, -0.007133948616683483, 0.0006959494203329086, -0.043118301779031754, -0.023428035899996758, 0.011750984936952591, -0.015506427735090256, 0.01738763228058815, 0.02858072705566883, 0.01519950944930315, 0.06709408760070801, 0.05022601783275604, 0.004245355725288391, -0.050383295863866806, 0.02776983380317688, 0.03879427909851074, -0.05605421960353851, -0.048526935279369354, -0.05248640105128288, 0.028448300436139107, 0.04730909317731857, -0.008142812177538872, -0.09866151958703995, -0.014080891385674477, 0.03655160963535309, -0.04288060590624809, 0.05653055012226105, -0.02852674573659897, 0.007812870666384697, 0.06692448258399963, 0.003616375382989645, 0.023868277668952942, -0.033942122012376785, 0.0033027769532054663, 0.019384492188692093, 0.060443051159381866, -0.04221023619174957, -0.04451337456703186, -0.03789810836315155, 0.025079352781176567, 0.03171958774328232, 0.040865398943424225, 0.052502937614917755, -0.011847075074911118, -0.07808817923069, 0.015400514006614685, 0.007943762466311455, -0.04419911280274391, 0.0028057927265763283, 0.003980336710810661, 0.0388249009847641, -0.03196123614907265, -0.011585032567381859, -0.04753797873854637, 0.02178627997636795, 0.03202558308839798, 0.013194500468671322, -0.030531981959939003, -0.038383595645427704, 0.011089782230556011, -0.004640979692339897, -0.03429703414440155, -0.07317126542329788, 0.03909203037619591, -0.040660228580236435, -0.026534775272011757, 0.04846416041254997, 0.05360102280974388, 0.02454434707760811, 0.03292215242981911, 0.015228617936372757, 0.03445364534854889, -0.02693844772875309, 0.03216570243239403, -0.018658505752682686, -0.023304283618927002, 0.018282508477568626, -0.07362400740385056, -0.018231544643640518, -0.02628655731678009, -0.02089766412973404, -0.06404948979616165, -0.045539598912000656, 0.03507526218891144, -0.024968724697828293, 0.02803119271993637, -0.003370462218299508, 0.037384819239377975, -0.02438226528465748, -0.01736977882683277, -0.041057758033275604, -0.0657874345779419, -0.08663524687290192, -0.042225487530231476, 0.013578702695667744, 0.028248263522982597, 0.033514466136693954, 0.005157972685992718, 0.01540117897093296, 0.03270399570465088, -0.005429647397249937, -0.02987401746213436, 0.037378713488578796, 0.013997119851410389, -0.014101996086537838, -0.031861498951911926, -0.0017716259462758899, 0.013818222098052502, 0.01068640686571598, -0.0145542211830616, 0.04805533587932587, 0.024352729320526123, -0.024056077003479004, -0.016552336513996124, 0.01781548745930195, 0.024756459519267082, -0.06746506690979004, -0.03697484731674194, 0.004956609103828669, -0.03610503301024437, 0.021831218153238297, 0.008407331071794033, 0.01079668290913105, -0.010466857813298702, 0.019675632938742638, 0.017329730093479156, -0.02934158407151699, -0.008734273724257946, 0.00034198936191387475, -0.019193364307284355, 0.024749398231506348, -0.052877333015203476, 0.042862311005592346, -0.03843299299478531, 0.008935052901506424, -0.0029788673855364323, -0.0212257020175457, -0.03671807423233986, 0.038792144507169724, 0.0026618484407663345, -0.03216709569096565, -0.023128800094127655, 0.03019954077899456, -0.027741380035877228, 0.02342423051595688, -0.01446953322738409, 0.024414699524641037, -0.03505916893482208, 0.04210064187645912, -0.023884780704975128, -0.008529666811227798, -0.03951627016067505, 0.0064087179489433765, -0.030737197026610374, -0.02887687273323536, -0.00016018273890949786, -0.0389406643807888, 0.019367266446352005, 0.020729511976242065, 0.016404658555984497, 0.025600116699934006, -0.009059756062924862, 0.027143029496073723, 0.01816580444574356, -0.05309556797146797, -0.03156440705060959, -0.021911587566137314, 0.0008448216831311584, -0.012871043756604195, 0.03985219821333885, 0.02449813485145569, -0.0660441443324089, -0.027989119291305542, 0.044494472444057465, 0.00924431998282671, 0.009760962799191475, 0.02347116731107235, 0.023384055122733116, 0.025049082934856415, 0.03829097002744675, -0.05425846204161644, -0.005354243330657482, -0.016785087063908577, -0.03556416183710098, 0.0030648442916572094, -0.015949226915836334, 0.0016559354262426496, 0.009282955899834633, -0.05946135148406029, -0.025454942137002945, 0.09352543205022812, 0.027921972796320915, 0.000012315284038777463, 0.019521446898579597, -0.038313835859298706, 0.0017344397492706776, 0.00341609469614923, -0.05288900062441826, 0.0069296290166676044, -0.009113587439060211, -0.013836394064128399, 0.05706578493118286, -0.004144306760281324, 0.02163999155163765, 0.02875961922109127, 0.03834158927202225, -0.002418795833364129, 0.012571824714541435, -0.03273779898881912, 0.02423037588596344, 0.049601778388023376, -0.013635634444653988, -0.008307602256536484, -0.023830337449908257, 0.07910922914743423, -0.06910306215286255, 0.04528868943452835, 0.04068487882614136, 0.01606541872024536, -0.013577239587903023, -0.03745787963271141, -0.053010642528533936, 0.013968602754175663, -0.07825510948896408, 0.08225266635417938, 0.009368324652314186, -0.09129705280065536, 0.06287763267755508, 0.036926060914993286, -0.056393954902887344, 0.04925130680203438, 0.04623543843626976, 0.017089806497097015, 0.027090728282928467, 0.05518316850066185, -0.062158867716789246, -0.010294980369508266, -0.029046010226011276, 0.016113661229610443, -0.06798437237739563, -0.026550233364105225, 0.0018384689465165138, -0.03199349343776703, 0.005658344365656376, 0.02665441669523716, -0.026351850479841232, -0.021222304552793503, 0.02556515485048294, -0.030903616920113564, 0.0008768894476816058, -0.04252927377820015, -0.018203679472208023, -0.02196277119219303, 0.028320712968707085, -0.025158660486340523, 0.005986836738884449, 0.007249644957482815, 0.007686590310186148, -0.025558989495038986, 0.029646949842572212, 0.03307265788316727, -0.061349377036094666, -0.05437454953789711, 0.031413156539201736, -0.0007317897980101407, -0.016705654561519623, 0.02657422609627247, 0.004902577959001064, 0.03079972229897976, 0.021405022591352463, -0.0011825894471257925, 0.01715332455933094, -0.07572928816080093, -0.004599147476255894, 0.030174601823091507, 0.012887212447822094, 0.042338937520980835, -0.027286559343338013, 0.03283845633268356, 0.04104968532919884, 0.012034902349114418, -0.015236982144415379, -0.0062405383214354515, -0.003947260789573193, 0.008019753731787205, -0.02341911382973194, 0.03938945382833481, -0.005558008328080177, -0.02798963151872158, -0.031861208379268646, -0.004869535565376282, 0.008639165200293064, 0.028186453506350517, -0.049650393426418304, -0.0034142611548304558, 0.0705518051981926, -0.016238974407315254, -0.05192313715815544, -0.058033306151628494, -0.035873040556907654, -0.033190447837114334, 0.044774994254112244, 0.03248882666230202, -0.037298474460840225, 0.005015423055738211, -0.06261812150478363, -0.04823140799999237, 0.03926042839884758, 0.015032676979899406, -0.011605619452893734, 0.06468082964420319, 0.013508197851479053, -0.025350296869874, 0.029019024223089218, 0.019279224798083305, -0.049884285777807236, 0.04100799560546875, 0.004792673513293266, 0.011342708021402359, 0.02998889982700348, 0.05036533623933792, 0.005761965177953243, -0.01751476153731346, -0.06266546249389648, -0.055051401257514954, -0.08357816934585571, -0.018641967326402664, 0.06294380128383636 ]
Aruden/DialoGPT-medium-harrypotterall
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
import requests API_URL = "https://api-inference.huggingface.co/models/huggingface/prunebert-base-uncased-6-finepruned-w-distil-squad" headers = {"Authorization": "Bearer api_UXqrzQBiZKXaWxstVwEKcYvHQpGSGiQGbr"} def query(payload): response = requests.post(API_URL, headers=headers, json=payload) return response.json() output = query({ "inputs": { "question": "What's my name?", "context": "My name is Clara and I live in Berkeley.", }, })
[ -0.04408455267548561, -0.031925562769174576, -0.01915840432047844, 0.052723754197359085, 0.024157177656888962, -0.00904049165546894, -0.01906379871070385, -0.008683215826749802, -0.037052445113658905, 0.028141234070062637, 0.005988998804241419, 0.015921570360660553, 0.012200762517750263, 0.04770950600504875, -0.010014461353421211, -0.017870336771011353, -0.018614372238516808, 0.007532612420618534, -0.05078134685754776, 0.003130467375740409, -0.00669566635042429, 0.024668797850608826, -0.013284843415021896, -0.002226316835731268, -0.016935627907514572, 0.040136437863111496, -0.047034766525030136, 0.0294538214802742, 0.013910981826484203, -0.0636684000492096, -0.011435139924287796, -0.04983888193964958, -0.01973447948694229, -0.01726081408560276, -0.031174367293715477, -0.012411657720804214, 0.009600370191037655, 0.01777985878288746, -0.01086060144007206, 0.04503743723034859, 0.006003968417644501, -0.010363093577325344, 0.014952678233385086, 0.0032357480376958847, 0.026020653545856476, 0.017845071852207184, -0.03962041437625885, -0.030926141887903214, 0.06944265961647034, -0.009280786849558353, -0.05640774592757225, -0.07833675295114517, -0.0113395219668746, 0.01606919802725315, -0.01567646488547325, -0.026278793811798096, -0.0305049829185009, -0.002507369965314865, 0.06934476643800735, -0.05479852855205536, -0.052636995911598206, 0.0062101841904222965, -0.06670959293842316, 0.008474346250295639, 0.007562845479696989, -0.05131359398365021, 0.00671134190633893, -0.05125955864787102, 0.017691127955913544, -0.04240591451525688, 0.05899931490421295, -0.03823394700884819, 0.02367568202316761, -0.0717214047908783, -0.0038916603662073612, 0.0012720036320388317, 0.0588066540658474, 0.026243163272738457, -0.0020009493455290794, 0.06871289014816284, 0.013093682006001472, 0.00661669485270977, 0.007899266667664051, -0.016646677628159523, -0.006724213249981403, 0.03662922978401184, -0.03507165238261223, 0.01695789396762848, 0.005102371331304312, 0.03457481414079666, -0.042275283485651016, -0.05553353577852249, -0.022448290139436722, -0.04878583550453186, -0.013411298394203186, 0.020331716164946556, 0.018373707309365273, -0.004215817898511887, 0.020436912775039673, 0.013318393379449844, 0.011615229770541191, 0.05097750574350357, -0.012877896428108215, 0.06786604225635529, -0.017764894291758537, -0.017517616972327232, -0.01091847475618124, -0.040269024670124054, -0.04644743353128433, 0.029628727585077286, 0.0550483800470829, -0.0519489049911499, -0.0303859394043684, 0.026546454057097435, 0.020059289410710335, 0.0009510499075986445, 0.06567087769508362, -0.0252146627753973, -0.03350914269685745, -0.03836795315146446, 0.04696355015039444, 0.016019703820347786, -0.005962246097624302, -0.02254076860845089, -0.0555497407913208, 0.01761229708790779, -0.03293885663151741, -0.003287055529654026, 0.015937598422169685, 0.011021989397704601, 0.02478034235537052, 0.04009652137756348, 0.051020167768001556, -0.07236775755882263, -0.01983630657196045, 0.029222827404737473, -0.033391840755939484, 0.01042724959552288, 0.0018234102753922343, 0.11872488260269165, -0.08466336876153946, -0.04850980266928673, 0.03363889455795288, 0.02735847234725952, -0.029147811233997345, -0.017903786152601242, 0.01980472542345524, -0.02858470380306244, -0.03848212957382202, 0.00018772440671455115, 0.055675916373729706, -0.04570642113685608, 0.01559786032885313, 0.03514949232339859, -0.0247903224080801, 0.04353677108883858, -0.062326230108737946, 0.03145371377468109, -0.010570420883595943, 0.014092219062149525, -0.020333902910351753, 0.05487406626343727, -0.04484626650810242, -0.015704479068517685, -0.02128220722079277, -0.035597063601017, 0.023941710591316223, 0.08375120908021927, -0.0012111248215660453, 0.0019123072270303965, -0.03908558189868927, 0.026947850361466408, 0.03393726423382759, 0.03292831405997276, 0.011899873614311218, 0.03715727850794792, 0.04576948657631874, 0.012216530740261078, -0.014785035513341427, 0.037500832229852676, 0.013290303759276867, -0.04914534464478493, -0.024528592824935913, 0.004768277518451214, 0.010818412527441978, 0.008683726191520691, 0.04891505464911461, 0.0430581197142601, -0.0031080576591193676, -0.04122144728899002, 0.015878424048423767, 0.04111986979842186, -0.013604200445115566, -0.02693597786128521, 0.01420666091144085, -0.0010954478057101369, -0.0014376514591276646, 0.03886613994836807, -0.009464163333177567, -0.004796882625669241, -0.02740427665412426, -0.04714595153927803, 0.030280837789177895, 0.019962668418884277, -0.003835865529254079, 0.04258590191602707, -0.019266806542873383, 0.08933883160352707, -0.0406181626021862, 0.015383523888885975, -0.07433118671178818, -0.032284095883369446, 0.007796615362167358, 0.04468638449907303, 0.04813964664936066, 0.03576042503118515, -0.01044425554573536, -0.0272182896733284, 0.026425065472722054, 0.05994165316224098, 0.054116860032081604, 0.008590638637542725, -0.017942160367965698, -0.010533550754189491, 0.054626885801553726, 0.05598263069987297, -0.056832749396562576, -0.029041612520813942, -0.01879420503973961, 0.019782403483986855, -0.02970149740576744, 0.008116565644741058, -0.0009856917895376682, 0.016527807340025902, -0.05336328595876694, -0.08224479109048843, 0.05731666460633278, 0.04963335767388344, 0.020008474588394165, 0.04367362707853317, -0.018543701618909836, 0.020108290016651154, 0.02698994241654873, 0.01135316863656044, 0.0009123709169216454, -0.024812735617160797, 0.0017708067316561937, 0.030586417764425278, 0.07763694226741791, -0.08216282725334167, 0.018011773005127907, -0.008019908331334591, 0.04651718959212303, 0.03736089915037155, -0.031692516058683395, 0.029229555279016495, 0.06768843531608582, 0.013080021366477013, -0.005458081141114235, 0.05774340033531189, 0.01125356275588274, 0.04327625408768654, 0.059855490922927856, 0.018285412341356277, 0.05037463828921318, -0.0004266205651219934, 0.02827797271311283, 0.09178300946950912, 0.026368096470832825, -0.0027374750934541225, 0.00006462191959144548, 0.06078968942165375, -0.020742807537317276, 0.003467257134616375, 0.051286887377500534, -0.036424778401851654, 0.04482034966349602, -0.03550896793603897, -0.002050877781584859, -0.03178011253476143, -0.017007384449243546, 0.05903793126344681, 0.0040093944407999516, -0.016715027391910553, 0.016377916559576988, 0.018753033131361008, 0.004803499672561884, 0.016216911375522614, -0.01638428494334221, 0.0014797012554481626, 0.004178213886916637, -0.00856604240834713, 0.0030874579679220915, -0.07347917556762695, -0.06852760165929794, -0.03900638222694397, -0.029013758525252342, -0.010414548218250275, -0.08184559643268585, -0.01268005557358265, -0.07648226618766785, -0.010609482415020466, 0.038891226053237915, 0.01681860163807869, 0.022494472563266754, -0.035883985459804535, 0.008035475388169289, -0.027478355914354324, -0.04909047484397888, -0.04728158935904503, -0.03134002536535263, -0.038321707397699356, -0.06813519448041916, 0.03739035129547119, 0.0101877236738801, 0.053010761737823486, -0.007660380098968744, -0.007280849851667881, -0.03616069257259369, -0.0018611730774864554, 0.03053256869316101, 0.042817145586013794, -0.021362265571951866, -0.06393487751483917, 0.02132805995643139, -0.012309730052947998, 0.014902388677001, 0.004135394003242254, -0.042689599096775055, 0.08781493455171585, 0.05178479477763176, 0.0228405874222517, 0.002235840307548642, -0.018555371090769768, -0.013321764767169952, -0.021698761731386185, -0.03515540435910225, -0.03906361013650894, -0.029156312346458435, -0.06855104863643646, -0.038054902106523514, 0.011900907382369041, -0.027850713580846786, -0.009176889434456825, -0.013692928478121758, -0.0032364176586270332, 0.032637156546115875, 0.06024502217769623, 0.021575624123215675, 0.06661426275968552, -0.02968265861272812, -0.03492472320795059, 0.04341690614819527, -0.005805982742458582, 0.022301651537418365, -0.08264270424842834, -0.06639882177114487, 0.04379010573029518, 0.010817153379321098, 0.02185528352856636, -0.03248327597975731, 0.07227570563554764, 0.008274370804429054, -0.016193227842450142, -0.005865531973540783, 0.0035580741241574287, -0.034107331186532974, -0.0031319239642471075, -0.02704915963113308, -0.012672379612922668, -0.03694680333137512, -0.03014938160777092, -0.003923861309885979, 0.03405936807394028, -0.04609427601099014, -0.04124397411942482, -0.00995080079883337, 0.026614537462592125, 0.029679620638489723, -0.00641972292214632, -0.06654196977615356, -0.0007374639972113073, -0.0815376564860344, -0.02547375299036503, 0.01886519230902195, -0.01974845491349697, 0.03834645822644234, 0.04735857620835304, 0.03705097362399101, -0.016524380072951317, 0.03416198864579201, 0.02498534880578518, 0.03947855159640312, 0.003732062876224518, -0.06088500842452049, 0.004177491646260023, -0.020258387550711632, 0.017052970826625824, 0.0012990703107789159, -0.006348989903926849, -0.046107012778520584, -0.08515233546495438, -0.0009365614969283342, 0.020547252148389816, 0.017517654225230217, -0.0035527392756193876, 0.05692220479249954, 0.004307430703192949, -0.01810966618359089, 0.011475024744868279, 0.0011249033268541098, 0.024134986102581024, -0.04319772869348526, 0.0609554685652256, 0.009210585616528988, 0.0001357086730422452, -0.024107741191983223, 0.016993481665849686, -0.01650170609354973, -0.0072654616087675095, 0.006624159868806601, 0.04145554080605507, 0.01891745999455452, 0.07059266418218613, 0.042415324598550797, 0.015408557839691639, -0.04588839039206505, 0.042493194341659546, 0.04508665204048157, -0.02133701555430889, -0.06344066560268402, -0.013833113014698029, 0.014513679780066013, 0.0010595169151201844, -0.017395073547959328, 0.005030662287026644, 0.006975391414016485, 0.05845809727907181, -0.018343891948461533, 0.021829672157764435, -0.0016900434857234359, -0.03849801421165466, 0.010845858603715897, -0.04262614995241165, -0.009156918153166771, 0.0024966758210211992, 0.0014233689289540052, 0.017330871894955635, 0.04539026319980621, -0.00832361076027155, 0.046960216015577316, 0.03200860694050789, 0.021705754101276398, -0.06875233352184296, 0.03498313948512077, 0.039324671030044556, -0.024440692737698555, -0.07470089942216873, -0.06288670003414154, 0.035511311143636703, 0.034193310886621475, -0.010145310312509537, -0.06615592539310455, 0.03312590718269348, 0.04699103906750679, -0.06059953197836876, 0.058833859860897064, -0.03324846923351288, 0.039064064621925354, 0.0805685967206955, -0.009228290058672428, 0.022013509646058083, -0.0240330807864666, 0.011278847232460976, 0.025039877742528915, 0.053612131625413895, -0.03287586197257042, -0.03224405646324158, -0.04297446832060814, 0.041444264352321625, 0.04537404701113701, 0.03541433811187744, 0.03517380729317665, -0.01766345091164112, -0.05750346556305885, 0.011673870496451855, 0.04404141753911972, -0.01297394372522831, 0.05021575838327408, 0.03769981488585472, 0.028021950274705887, -0.07212955504655838, -0.050414446741342545, 0.011421163566410542, -0.0011802366934716702, 0.032687995582818985, -0.0029975022189319134, -0.024997705593705177, -0.03365824371576309, -0.0022306935861706734, -0.01441565714776516, -0.02786093018949032, -0.04209255799651146, 0.044149093329906464, -0.004340208135545254, -0.02998148463666439, 0.026545941829681396, 0.030528195202350616, 0.026308339089155197, 0.05717702582478523, -0.01757742464542389, -0.014944723807275295, -0.04764983057975769, 0.03728962317109108, -0.06351491808891296, -0.03279217705130577, -0.03287485986948013, -0.04654751345515251, 0.021455543115735054, -0.01691715233027935, -0.055031854659318924, -0.04996316507458687, -0.012764028273522854, 0.0320943221449852, 0.01095547154545784, 0.02018260955810547, -0.021921982988715172, 0.03282792493700981, -0.021557997912168503, -0.02692684903740883, -0.03700023517012596, -0.028215471655130386, -0.06996942311525345, -0.04045367240905762, 0.029470058158040047, -0.030182182788848877, 0.045334894210100174, -0.0024427224416285753, 0.025634439662098885, 0.02207854390144348, 0.01716703735291958, -0.040765710175037384, 0.03502631187438965, -0.005096553359180689, -0.053782835602760315, -0.03760876879096031, 0.020281601697206497, 0.013423185795545578, 0.05094180256128311, -0.00882513914257288, 0.004824712872505188, 0.002241225913167, -0.03502343222498894, -0.051550596952438354, 0.03752506151795387, 0.023929720744490623, -0.051897767931222916, -0.0000030309363410196966, 0.00133260537404567, -0.020853057503700256, 0.023411551490426064, -0.02949238009750843, -0.0494067445397377, 0.00908685103058815, 0.018211452290415764, 0.033593952655792236, 0.016848813742399216, -0.0420210100710392, 0.01737530343234539, -0.024579746648669243, 0.025920763611793518, -0.05604492872953415, 0.042603421956300735, -0.02789512276649475, 0.017644420266151428, -0.02659948542714119, -0.0011384980753064156, -0.039235226809978485, 0.051268015056848526, -0.008190860971808434, -0.02551434561610222, -0.03719305247068405, 0.0256593469530344, -0.03402654081583023, 0.02840588428080082, -0.029456492513418198, 0.022360453382134438, -0.04865380376577377, 0.06482011079788208, -0.0654117539525032, -0.010766657069325447, -0.04384512081742287, 0.010542471893131733, -0.07847321778535843, 0.011088262312114239, -0.009362558834254742, -0.01660006120800972, 0.02216241881251335, -0.00024639462935738266, 0.021517083048820496, 0.012072563171386719, -0.037028323858976364, 0.02605460397899151, -0.004545950330793858, -0.07909305393695831, 0.0032022527884691954, -0.009554626420140266, 0.016650890931487083, 0.008454672992229462, 0.049281951040029526, 0.05920841544866562, -0.032221246510744095, -0.03732524812221527, 0.08276599645614624, 0.02636810392141342, 0.009812039323151112, 0.014402195811271667, 0.0003112488775514066, 0.029269037768244743, -0.0038938578218221664, -0.036519620567560196, 0.003714004997164011, 0.01992606557905674, -0.030349889770150185, 0.028922904282808304, -0.012173657305538654, 0.03568597882986069, 0.009074179455637932, -0.007257294841110706, -0.029681676998734474, 0.04835586994886398, 0.014453940093517303, 0.025395458564162254, 0.012753840535879135, -0.03479115664958954, 0.016077371314167976, 0.006501626223325729, -0.04398402199149132, 0.03418197110295296, 0.004328635521233082, -0.012240988202393055, 0.06663770973682404, -0.03372667729854584, -0.0023106050211936235, 0.025809764862060547, 0.002678696531802416, -0.045270055532455444, 0.051838409155607224, -0.02915058843791485, 0.06019856035709381, 0.048557769507169724, -0.05309132859110832, -0.0141364224255085, -0.07489310950040817, 0.06894440203905106, -0.08056677132844925, 0.05412522330880165, 0.042375922203063965, -0.02113969251513481, 0.010008208453655243, -0.02361719310283661, -0.053879909217357635, 0.027109073475003242, -0.05969274789094925, 0.06985922157764435, -0.013786321505904198, -0.06800302863121033, 0.07364296168088913, 0.03625784441828728, -0.035772912204265594, 0.024505138397216797, 0.03884099796414375, 0.020985083654522896, 0.024797771126031876, 0.06090705096721649, -0.04206542298197746, 0.02793983742594719, -0.034171249717473984, 0.06251084059476852, -0.04086242988705635, -0.05971769988536835, 0.008493266999721527, -0.05430201068520546, -0.02910606376826763, 0.0487215556204319, 0.002961647231131792, -0.006088030990213156, 0.01530432514846325, -0.06482235342264175, -0.05566278100013733, -0.012486969120800495, 0.004734677728265524, -0.017312010750174522, -0.011137805879116058, -0.0505230687558651, 0.00044107306166552007, 0.0023795082233846188, -0.006271700374782085, -0.011899026110768318, 0.0018841802375391126, 0.012238879688084126, -0.05370950326323509, -0.056054119020700455, 0.04213749244809151, -0.01066338550299406, -0.04135473445057869, 0.016827303916215897, 0.01983926072716713, 0.020008983090519905, -0.0006640982464887202, -0.017499132081866264, 0.041457802057266235, -0.04221140965819359, -0.043067123740911484, 0.025836775079369545, -0.012523646466434002, 0.030531035736203194, -0.010960575193166733, 0.0469258613884449, 0.0382421538233757, 0.029157347977161407, 0.02432125248014927, -0.025576021522283554, -0.0059185936115682125, 0.020830465480685234, -0.03322961926460266, 0.015187479555606842, -0.01993279904127121, -0.040405046194791794, -0.03552183508872986, -0.004243309143930674, -0.02383146993815899, 0.037796806544065475, -0.043642252683639526, 0.027510330080986023, 0.04019710421562195, -0.007236615754663944, -0.0307687409222126, -0.08547968417406082, -0.017781676724553108, -0.05887189507484436, 0.02641885355114937, 0.03078329563140869, -0.03995872288942337, 0.016018372029066086, -0.05688862502574921, -0.03239567577838898, 0.031497497111558914, 0.01807287335395813, -0.04960755258798599, 0.03549465537071228, 0.04413696005940437, -0.021092481911182404, 0.030371123924851418, 0.0070961895398795605, -0.012413820251822472, -0.007796182297170162, 0.0029025429394096136, 0.011373684741556644, 0.030825840309262276, 0.025722883641719818, -0.06246582046151161, 0.0013130654115229845, -0.02805865928530693, -0.03951459005475044, -0.032733045518398285, 0.001237873686477542, 0.07911650836467743 ]
ArvinZhuang/BiTAG-t5-large
[ "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: " } } }
4
null
# GPT2 base style transfer paraphraser This is the trained base-model from the paper [Reformulating Unsupervised Style Transfer as Paraphrase Generation](https://arxiv.org/abs/2010.05700) by Krishna K. et al. Note that I (the uploader) am not the author of the paper. Permission to upload to Huggingface was given by the main author. ## Citation If you found this model useful, 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.019485248252749443, -0.0006082868785597384, -0.03060520626604557, 0.058488741517066956, 0.04496239870786667, 0.041181281208992004, 0.00843082182109356, 0.03538898378610611, -0.019620325416326523, 0.05434596538543701, 0.006601465400308371, -0.016553932800889015, 0.0265498086810112, 0.01981189101934433, -0.009623365476727486, -0.05242779478430748, -0.04273940622806549, 0.010446869768202305, -0.006783957593142986, -0.018808944150805473, 0.012903332710266113, -0.01697491854429245, -0.012321856804192066, 0.012578158639371395, 0.000733591674361378, 0.01118812058120966, -0.010588651522994041, -0.01629026234149933, 0.009288701228797436, -0.05821520462632179, 0.0008925323490984738, -0.030608655884861946, -0.029189705848693848, -0.007538130506873131, -0.03213731572031975, 0.018403589725494385, 0.0007596297655254602, 0.004968666005879641, 0.01837565377354622, 0.05005897209048271, -0.026934510096907616, 0.03309622406959534, 0.009380861185491085, -0.021830402314662933, 0.055737875401973724, 0.008065730333328247, -0.03462069854140282, -0.03348347172141075, 0.047817643731832504, -0.020797358825802803, -0.030835866928100586, -0.06643928587436676, -0.032027363777160645, 0.005978927481919527, 0.00516465911641717, -0.03407067805528641, -0.05465368181467056, -0.026661714538931847, 0.1019500270485878, -0.03447433188557625, -0.01145884208381176, 0.014461668208241463, -0.05458026006817818, 0.02631155215203762, 0.01989414542913437, -0.05827200040221214, 0.0009017664706334472, -0.02401195652782917, -0.0026446799747645855, -0.023816438391804695, 0.04195193201303482, -0.03101838380098343, 0.03240253031253815, -0.11958739161491394, -0.04474702849984169, -0.016011616215109825, 0.029405727982521057, 0.042101021856069565, -0.06539366394281387, 0.07934968173503876, 0.006554099265486002, -0.015166133642196655, 0.013718094676733017, -0.010136219672858715, 0.0004698372504208237, 0.05427151545882225, -0.03510643541812897, -0.021393613889813423, 0.0013888039393350482, 0.04588611051440239, -0.04741746559739113, -0.05172291025519371, -0.03265271335840225, -0.035275574773550034, -0.010055928491055965, 0.0024211383424699306, 0.042984869331121445, 0.018234502524137497, 0.028801478445529938, 0.015055129304528236, 0.025867408141493797, 0.042683497071266174, -0.015517975203692913, 0.003135079052299261, 0.005564610008150339, 0.042897339910268784, -0.011724978685379028, -0.03346637636423111, -0.03160950914025307, 0.04596512019634247, 0.04555291309952736, -0.039694644510746, -0.04663826897740364, 0.04405486583709717, -0.009128615260124207, -0.023990748450160027, 0.030070535838603973, -0.03694881126284599, -0.03746285289525986, -0.07011984288692474, 0.03165696561336517, 0.034359440207481384, -0.003302568569779396, -0.007518326863646507, -0.057102154940366745, 0.05396743491292, -0.05086401849985123, -0.03266037255525589, -0.019107747822999954, 0.030281981453299522, -0.03021220862865448, 0.03811567276716232, 0.0313669815659523, -0.058835435658693314, 0.02287689596414566, 0.020966220647096634, -0.060246750712394714, 0.02366071380674839, 0.05849785357713699, 0.0831521600484848, -0.06368954479694366, -0.032860465347766876, 0.013483572751283646, 0.014065038412809372, -0.03719814121723175, -0.01474209688603878, 0.020884858444333076, -0.053183265030384064, -0.018052197992801666, -0.015564707107841969, 0.08053986728191376, -0.038524385541677475, 0.003281697630882263, 0.05558310076594353, -0.027445638552308083, 0.04826761782169342, -0.05599598586559296, 0.007167567033320665, -0.006208735052496195, 0.0037290167529135942, -0.062358785420656204, 0.021097544580698013, -0.021081440150737762, -0.017681969329714775, -0.06073186546564102, -0.030882621183991432, 0.003023880999535322, 0.07020245492458344, -0.018806349486112595, -0.04515448212623596, -0.04041058197617531, -0.0049234842881560326, 0.05208967253565788, 0.028892291709780693, -0.02634923718869686, 0.0379185825586319, 0.04389307275414467, 0.052799321711063385, -0.026598291471600533, 0.06856201589107513, 0.007269343361258507, -0.025658445432782173, -0.028778960928320885, 0.019644923508167267, -0.008252552710473537, -0.015028263442218304, 0.03315473720431328, 0.050577957183122635, -0.02688966505229473, -0.02226300537586212, 0.0055189598351716995, 0.05873708054423332, -0.024068649858236313, 0.0025153460446745157, 0.00017115287482738495, -0.006466619670391083, 0.008235589601099491, 0.0578310526907444, -0.039589107036590576, 0.019955715164542198, -0.025216571986675262, -0.033312566578388214, 0.0069269342347979546, 0.03398002311587334, 0.04063015431165695, 0.020169897004961967, -0.009987841360270977, 0.08008803427219391, -0.043262507766485214, 0.02202669531106949, -0.05060219019651413, -0.04528457671403885, -0.02340277098119259, 0.03130149841308594, 0.005307530518621206, 0.07354340702295303, 0.0065835993736982346, -0.05238192528486252, 0.02058301493525505, 0.049777258187532425, 0.03416594862937927, 0.049513816833496094, -0.021874401718378067, 0.016795335337519646, 0.03714199736714363, 0.04834134876728058, -0.03274153545498848, -0.044064875692129135, 0.017394570633769035, 0.0364544615149498, -0.012894752435386181, 0.014419354498386383, -0.00915836077183485, 0.05672837793827057, -0.03066573478281498, -0.030664460733532906, 0.03331942483782768, 0.03589842468500137, -0.01840989477932453, 0.03080339916050434, -0.0028205951675772667, -0.0010101543739438057, 0.025233635678887367, 0.005886408034712076, 0.01707475632429123, -0.06448907405138016, -0.0031421182211488485, 0.021753614768385887, 0.05899384617805481, -0.04045197367668152, 0.05074304714798927, 0.004552118480205536, 0.04064221680164337, 0.035336099565029144, -0.018240712583065033, 0.017979832366108894, 0.04533116891980171, 0.02293894812464714, -0.02185077778995037, 0.03350575640797615, 0.004891448654234409, 0.04081279784440994, 0.054468851536512375, -0.02393399551510811, 0.08198276162147522, 0.0003766232985071838, 0.0523788183927536, 0.09908530861139297, 0.02723327837884426, 0.010632224380970001, 0.03697405755519867, 0.03833484277129173, 0.016927149146795273, 0.015958234667778015, 0.0617004930973053, -0.05443364381790161, 0.03539281338453293, -0.049054648727178574, 0.06452278047800064, -0.02493606135249138, -0.03526844084262848, 0.05399095267057419, 0.012288883328437805, -0.014120440930128098, 0.027715565636754036, -0.017154274508357048, -0.008816756308078766, 0.026693789288401604, -0.018948467448353767, -0.010275408625602722, 0.009525296278297901, -0.005880523473024368, 0.005151431541889906, -0.08339844644069672, -0.04661945998668671, 0.00976833701133728, -0.03800709545612335, 0.026078196242451668, -0.06911251693964005, -0.039189089089632034, -0.052872125059366226, -0.0134294917806983, 0.03080611675977707, 0.006267506163567305, 0.015113790519535542, 0.00339947990141809, 0.025834957137703896, -0.008364997804164886, -0.01808362826704979, -0.04115968942642212, -0.0354786142706871, 0.007461214903742075, -0.055555831640958786, 0.017917411401867867, -0.0005265816580504179, 0.02102813869714737, 0.01570432260632515, 0.00812448188662529, -0.025425273925065994, -0.010557465255260468, 0.07171381264925003, 0.023706933483481407, -0.030129190534353256, -0.03354542329907417, 0.0021783197298645973, -0.006274612620472908, -0.001219540019519627, -0.027994753792881966, -0.04182833060622215, 0.08468805253505707, 0.06188664212822914, 0.033784739673137665, 0.0232166089117527, -0.0010035585146397352, -0.052952639758586884, -0.014466488733887672, -0.05514543876051903, -0.06526906043291092, -0.03545023500919342, -0.03500420227646828, -0.03709704428911209, -0.031962379813194275, -0.03317923843860626, -0.03222791105508804, 0.0057763829827308655, -0.001171422190964222, 0.0648125410079956, 0.03496786952018738, 0.040335603058338165, 0.01317016314715147, -0.03182240575551987, -0.024248506873846054, 0.048712629824876785, 0.004664283245801926, 0.0007789962692186236, -0.07951360940933228, -0.04205741733312607, 0.05323667824268341, 0.029644666239619255, 0.03428947180509567, -0.003578877542167902, 0.07931093871593475, 0.01892688311636448, 0.00047800084576010704, 0.01967049017548561, 0.00406239926815033, -0.022721705958247185, -0.026055673137307167, -0.03289194777607918, -0.030027074739336967, -0.03424206003546715, -0.03850482031702995, -0.05358850955963135, 0.058733485639095306, -0.06997107714414597, -0.05157361179590225, -0.004779046401381493, 0.02413567714393139, 0.051995642483234406, -0.0030376515351235867, -0.030935127288103104, -0.003548368578776717, -0.05262988060712814, -0.019285034388303757, 0.013138880953192711, -0.005083530675619841, 0.027738012373447418, 0.027340326458215714, 0.03502186760306358, -0.028569452464580536, 0.011499915271997452, 0.039224375039339066, 0.06635023653507233, 0.006540362723171711, -0.01970733143389225, 0.043852295726537704, -0.015732860192656517, 0.04904035106301308, -0.023972515016794205, -0.017808949574828148, -0.043564774096012115, -0.07485337555408478, -0.03778225556015968, 0.004319143947213888, -0.009170998819172382, -0.009897375479340553, 0.04885488003492355, -0.0463789701461792, -0.025615524500608444, -0.007867804728448391, 0.008304123766720295, 0.05008372664451599, -0.034128010272979736, 0.0224163755774498, -0.0052590640261769295, 0.0386115126311779, -0.05616564303636551, -0.0009111405233852565, -0.04056377708911896, -0.04213467612862587, 0.01860795170068741, 0.05100245028734207, 0.01021487358957529, 0.053397197276353836, 0.0725797489285469, 0.011212129145860672, -0.034966085106134415, 0.035326965153217316, 0.05844283103942871, 0.0037246602587401867, -0.05951198562979698, -0.01580103300511837, -0.007958655245602131, -0.03659826144576073, -0.012149469926953316, -0.00832576584070921, 0.012326519936323166, 0.019931381568312645, -0.004832758568227291, -0.0011228463845327497, 0.007257923949509859, -0.012589764781296253, -0.032246388494968414, -0.07688713818788528, -0.0212238859385252, -0.030743027105927467, 0.0036893608048558235, 0.042502086609601974, 0.025156155228614807, -0.0012148229870945215, 0.07797163724899292, 0.03675161674618721, -0.030924245715141296, -0.05231069028377533, 0.03437628969550133, 0.013269634917378426, -0.056193456053733826, -0.03981694206595421, -0.09470769762992859, 0.04670633748173714, 0.03642533719539642, -0.030110707506537437, -0.08688892424106598, 0.0017422185046598315, 0.050648290663957596, -0.03359879180788994, 0.042286183685064316, -0.002387404441833496, 0.03837207332253456, 0.047016192227602005, -0.004005121998488903, 0.036090731620788574, -0.022380590438842773, -0.005946125835180283, -0.01559675857424736, 0.041186559945344925, -0.04457944631576538, -0.027630658820271492, -0.06140204146504402, 0.048076022416353226, 0.03155604377388954, 0.037420615553855896, 0.04975630342960358, -0.019078562036156654, -0.05639984831213951, 0.031320832669734955, -0.007196280173957348, -0.021612096577882767, 0.012897760607302189, 0.027849936857819557, 0.04578540101647377, -0.0276861023157835, -0.043051578104496, -0.024354394525289536, 0.008564147166907787, 0.025894934311509132, -0.022384539246559143, -0.015630340203642845, -0.031479306519031525, 0.003976212814450264, -0.006199567578732967, -0.016888244077563286, -0.08883324265480042, -0.003440879052504897, 0.023592237383127213, -0.030835162848234177, 0.04251999035477638, 0.01494730357080698, 0.04026378318667412, 0.035170990973711014, 0.016092900186777115, 0.05276769399642944, -0.0443071648478508, 0.028291668742895126, -0.007078604772686958, -0.04706384986639023, -0.007455537561327219, -0.04719237610697746, -0.026712367311120033, -0.061342090368270874, -0.034801267087459564, -0.051026612520217896, -0.015932491049170494, 0.021425174549221992, -0.04380038380622864, -0.00344693916849792, 0.0011505646398290992, 0.024943049997091293, -0.0006938970182090998, -0.0028820896986871958, -0.021286332979798317, -0.03726249188184738, -0.0817088782787323, -0.011933046393096447, 0.01641407236456871, -0.019135890528559685, 0.00920577347278595, -0.017641989514231682, 0.010902469046413898, 0.013220966793596745, 0.00317169725894928, -0.027102457359433174, 0.05757440999150276, -0.003983313217759132, -0.04477361962199211, -0.04340149462223053, -0.0036523917224258184, -0.00988764874637127, -0.004155372269451618, -0.013701524585485458, 0.02422034926712513, 0.04500826075673103, -0.024270225316286087, -0.022606205195188522, 0.03226609155535698, -0.0037431924138218164, -0.07409635186195374, -0.04768521338701248, -0.009374848566949368, -0.03760787844657898, 0.02909446693956852, 0.007058802992105484, -0.03824247792363167, 0.005606757942587137, 0.046207841485738754, 0.029662620276212692, -0.0025265279691666365, -0.025877006351947784, -0.003521606093272567, -0.025703640654683113, 0.02927166409790516, -0.07118280977010727, 0.027393704280257225, -0.062329795211553574, -0.01094450056552887, -0.008922179229557514, 0.011439468711614609, -0.04355500265955925, 0.031137360259890556, -0.017119072377681732, 0.00678168423473835, -0.028867622837424278, 0.04525486007332802, -0.02069055289030075, 0.035146381705999374, -0.013306659646332264, 0.016457710415124893, -0.027682548388838768, 0.05636075884103775, -0.04559413343667984, -0.01443573459982872, -0.044428080320358276, 0.004321089945733547, -0.04557479918003082, -0.02622384764254093, -0.011409343220293522, -0.037853971123695374, 0.03763433173298836, 0.03450397774577141, 0.01668763905763626, 0.03593591973185539, -0.0029340607579797506, -0.004336069338023663, 0.031899746507406235, -0.046643517911434174, -0.030783116817474365, -0.018865462392568588, 0.013561355881392956, -0.02884206362068653, 0.06192754581570625, 0.02902735397219658, -0.0619937926530838, -0.03592102974653244, 0.040608398616313934, -0.0023679400328546762, 0.03286588564515114, 0.015608633868396282, 0.03789030387997627, 0.02753899246454239, 0.04449038952589035, -0.060617655515670776, -0.01981469802558422, -0.009486464783549309, -0.048615388572216034, 0.002646171022206545, -0.0226421058177948, 0.01998741738498211, 0.011519389227032661, -0.021803660318255424, -0.044104572385549545, 0.06816335022449493, 0.03779229149222374, 0.012792048044502735, 0.012762028723955154, -0.07374498248100281, 0.01681208610534668, 0.010442793369293213, -0.01625748537480831, -0.028081433847546577, 0.0022627084981650114, -0.03718673065304756, 0.06477545201778412, -0.007826188579201698, -0.003972174599766731, 0.06471896916627884, 0.003568654879927635, -0.02665925957262516, 0.025646870955824852, -0.05263948440551758, 0.014454959891736507, 0.049143169075250626, -0.08322154730558395, -0.019907813519239426, -0.027080444619059563, 0.07252953946590424, -0.05246486887335777, 0.056135933846235275, 0.07615260034799576, 0.030636707320809364, 0.0010843606432899833, -0.03759477287530899, -0.046005550771951675, 0.009591847658157349, -0.00947481393814087, 0.05353107303380966, -0.003895763074979186, -0.05471334233880043, 0.047489915043115616, 0.0227578766644001, -0.08655554801225662, 0.03453396260738373, 0.04459189623594284, 0.05245940759778023, 0.04303254932165146, 0.017562158405780792, -0.07322940975427628, 0.03350997343659401, -0.03684280440211296, 0.028019018471240997, -0.06288869678974152, -0.016273045912384987, 0.006682625040411949, -0.039435505867004395, 0.0041367653757333755, 0.04950140416622162, -0.024433234706521034, 0.0031719624530524015, 0.05185511335730553, -0.05711526423692703, -0.044701579958200455, -0.01805948279798031, -0.035600367933511734, -0.04533291608095169, -0.007877428084611893, -0.029211675748229027, 0.01215825043618679, 0.009613792411983013, -0.006588405463844538, -0.003232657676562667, 0.013366754166781902, 0.04323485866189003, -0.052143849432468414, -0.015154524706304073, 0.013250057585537434, 0.012760170735418797, -0.02476971223950386, 0.025019889697432518, -0.02013423852622509, 0.012421298772096634, 0.022951336577534676, -0.01955469138920307, 0.02073753997683525, -0.037823356688022614, -0.005543600767850876, 0.018371041864156723, -0.006936559919267893, 0.018052438274025917, -0.01455375924706459, 0.03233512118458748, 0.03104698657989502, 0.008822198957204819, 0.006202545948326588, -0.04408327490091324, -0.04015558585524559, -0.007106226868927479, -0.020703349262475967, 0.006088311318308115, 0.0014764622319489717, -0.05690014362335205, -0.02469879575073719, -0.021349620074033737, -0.00968532171100378, 0.02954031527042389, -0.024874679744243622, -0.0063608428463339806, 0.061072543263435364, -0.016953961923718452, -0.06264735758304596, -0.05129982903599739, -0.02976766787469387, -0.013894696719944477, 0.030494308099150658, 0.021220460534095764, -0.03587421402335167, 0.008564120158553123, -0.04968995600938797, -0.054717566817998886, 0.0320642925798893, 0.01030937023460865, -0.03349936753511429, 0.027527140453457832, 0.01154076773673296, -0.03517739474773407, 0.01753905974328518, 0.028080951422452927, -0.03900947421789169, 0.006740137003362179, 0.008599742315709591, 0.04886123165488243, 0.012987887486815453, 0.037513263523578644, -0.031440842896699905, -0.05137289687991142, -0.03328023478388786, -0.01622806489467621, -0.05506334826350212, 0.021542740985751152, 0.06309228390455246 ]
Ateeb/asd
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-07-31T19:27:47Z
--- tags: - image-classification - pytorch - huggingpics metrics: - accuracy model-index: - name: llama_or_what results: - task: name: Image Classification type: image-classification metrics: - name: Accuracy type: accuracy value: 0.3125 --- # llama_or_what Autogenerated by HuggingPics🤗🖼️ Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb). Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics). ## Example Images #### alpaca ![alpaca](images/alpaca.jpg) #### guanaco ![guanaco](images/guanaco.jpg) #### llama ![llama](images/llama.jpg) #### vicuna ![vicuna](images/vicuna.jpg)
[ -0.019776608794927597, 0.0024382707197219133, 0.017591271549463272, 0.045438844710588455, 0.03108922764658928, -0.012316761538386345, -0.018600501120090485, -0.012364073656499386, 0.0030957760754972696, 0.055106159299612045, 0.019012076780200005, -0.0010351990349590778, 0.005725108552724123, 0.04183967411518097, -0.008516947738826275, -0.02584047242999077, -0.027718978002667427, -0.009165504015982151, -0.0329100675880909, 0.016283532604575157, 0.0013029121328145266, 0.0049462392926216125, -0.01014106534421444, 0.02678748592734337, 0.016123104840517044, 0.022992899641394615, -0.00040074283606372774, 0.03235889971256256, 0.03970317170023918, -0.0706014409661293, 0.021086469292640686, -0.04931841418147087, -0.04663866385817528, -0.017270563170313835, -0.0370815135538578, -0.00014874667976982892, 0.013340570963919163, -0.002311257878318429, -0.017386779189109802, 0.057054080069065094, -0.0035414895974099636, 0.029416970908641815, -0.0042279870249331, -0.030336696654558182, 0.04264692962169647, 0.00207696296274662, -0.040354903787374496, -0.027848388999700546, 0.016109025105834007, -0.0230884850025177, -0.05437283217906952, -0.053033310920000076, -0.052367545664310455, 0.022868935018777847, -0.026556652039289474, -0.02697211317718029, 0.009711605496704578, -0.012066083960235119, 0.049003276973962784, -0.050352197140455246, -0.037747822701931, -0.016373291611671448, -0.08157330751419067, 0.034543637186288834, 0.030198197811841965, -0.023820314556360245, 0.011983034200966358, -0.01175694353878498, 0.014765831641852856, -0.04133739694952965, 0.09564683586359024, -0.05224164202809334, 0.023335043340921402, -0.0657237246632576, 0.004820084199309349, -0.017540356144309044, 0.06200001388788223, 0.057579271495342255, -0.02329961024224758, 0.04690627381205559, 0.05412769690155983, 0.014999130740761757, 0.017855551093816757, -0.045163869857788086, -0.0063008819706737995, 0.012829374521970749, -0.045542437583208084, 0.011742204427719116, 0.03054497204720974, 0.04225723445415497, -0.031663842499256134, -0.017978768795728683, -0.019547445699572563, -0.033930324018001556, -0.018456406891345978, 0.047076378017663956, 0.041574764996767044, -0.0005195301491767168, 0.052676741033792496, 0.021635690703988075, 0.026812106370925903, 0.052302099764347076, -0.010938913561403751, 0.03757463023066521, -0.019577423110604286, -0.041278284043073654, -0.02265208214521408, -0.027744239196181297, -0.046349115669727325, 0.020102234557271004, 0.03915780782699585, -0.01200366485863924, -0.03725024685263634, 0.026416076347231865, -0.018270958214998245, -0.04570124298334122, 0.0992676317691803, -0.051490046083927155, -0.025417231023311615, -0.03445522487163544, 0.060568057000637054, 0.019106782972812653, -0.02952207438647747, -0.03318183869123459, -0.04828885570168495, -0.019314151257276535, -0.03897332400083542, -0.009893135167658329, -0.009292017668485641, 0.008380589075386524, 0.013040716759860516, 0.03504627197980881, -0.01015895139425993, -0.022615846246480942, 0.014721086248755455, 0.030654309317469597, -0.04843214154243469, 0.028432466089725494, 0.01821000874042511, 0.12348979711532593, -0.06166474148631096, -0.052257049828767776, 0.017973540350794792, 0.03702402114868164, -0.032448723912239075, 0.004451578948646784, 0.028555801138281822, -0.034142669290304184, -0.0383666455745697, -0.03006775863468647, 0.027769364416599274, -0.06369554251432419, 0.03371449559926987, 0.04088936001062393, 0.02446611598134041, 0.04545003920793533, -0.04816531762480736, -0.02064695581793785, 0.009253024123609066, -0.004899061284959316, -0.0018719368381425738, 0.03727182000875473, -0.003951120190322399, -0.019076140597462654, -0.04447907954454422, -0.04424454644322395, 0.018838832154870033, 0.06578560918569565, -0.010973773896694183, -0.019883155822753906, -0.02823973447084427, 0.032771509140729904, 0.03680744022130966, 0.027837127447128296, 0.0035935677587985992, 0.043664075434207916, 0.07497473806142807, 0.04082735627889633, -0.011713407002389431, 0.030556170269846916, 0.009821721352636814, -0.038549479097127914, -0.034723054617643356, -0.039433546364307404, 0.02021145634353161, -0.018673386424779892, 0.026369953528046608, 0.04097537323832512, 0.005050752777606249, -0.019894562661647797, 0.009650996886193752, 0.06301241368055344, -0.023723961785435677, -0.008620047941803932, -0.0005522523424588144, -0.04517398402094841, -0.007646342273801565, 0.02778305485844612, -0.03025020658969879, -0.013877490535378456, -0.018444187939167023, -0.014372318051755428, 0.02974063716828823, 0.010582167655229568, 0.00028554690652526915, 0.023397818207740784, -0.03053484484553337, 0.08330746740102768, -0.04395516216754913, 0.010951288044452667, -0.0513116680085659, -0.05916803330183029, 0.006249099504202604, 0.031042305752635002, 0.06099120154976845, 0.05553498864173889, 0.011921060271561146, -0.05246669054031372, 0.005057705100625753, 0.03399975225329399, 0.0601469911634922, 0.022471031174063683, -0.031149107962846756, -0.017698640003800392, 0.04275606572628021, 0.044504497200250626, -0.047386255115270615, -0.0270782969892025, 0.03182036057114601, 0.018634412437677383, -0.023567192256450653, 0.024027880281209946, -0.036742184311151505, 0.007620092015713453, -0.04228470101952553, -0.0768180713057518, 0.04743233323097229, 0.03926997631788254, 0.0061116390861570835, 0.03881724178791046, -0.027280019596219063, 0.043433673679828644, 0.017142420634627342, 0.010077357292175293, 0.012070144526660442, -0.06767793744802475, 0.012290417216718197, 0.03551016002893448, 0.05836666747927666, -0.031055711209774017, 0.0191107839345932, -0.005482369568198919, 0.02031017281115055, 0.04524100944399834, -0.024932637810707092, 0.027631139382719994, 0.05569414794445038, 0.014576911926269531, -0.0038813957944512367, 0.06005043536424637, -0.0034308363683521748, 0.03286043182015419, 0.01885315030813217, -0.02394123189151287, 0.05027179792523384, -0.011593816801905632, 0.04432303085923195, 0.09551563113927841, -0.0005568758933804929, -0.010515378788113594, 0.026082806289196014, 0.08660773932933807, 0.006098807789385319, -0.023578133434057236, 0.053388793021440506, -0.02193334884941578, 0.010537967085838318, -0.024366553872823715, 0.00337533513084054, -0.015112025663256645, -0.01281932182610035, 0.04575124755501747, -0.007435918319970369, -0.04190912842750549, 0.007219893857836723, 0.015843939036130905, -0.010394946672022343, 0.057472340762615204, -0.026776686310768127, -0.029573800042271614, 0.0003363137075211853, -0.003401963273063302, 0.011110139079391956, -0.0607827790081501, -0.026731248944997787, 0.0015321191167458892, -0.04885471612215042, -0.05909763649106026, -0.08231466263532639, -0.008697671815752983, -0.04570908471941948, -0.026102280244231224, 0.038432031869888306, 0.02214549109339714, 0.01705232821404934, -0.06025006249547005, 0.0027912110090255737, -0.03674297779798508, -0.05969777703285217, -0.03867143392562866, -0.05565520375967026, -0.022618481889367104, -0.027265919372439384, 0.010552650317549706, 0.009857612662017345, 0.0802740827202797, 0.0057474044151604176, -0.006299400702118874, -0.06464856117963791, -0.02799517847597599, 0.03006873093545437, 0.055925313383340836, -0.02107870951294899, -0.0676431879401207, 0.012600644491612911, 0.01955259218811989, -0.010348831303417683, -0.012541254051029682, -0.016986891627311707, 0.08487793058156967, 0.07051166146993637, 0.010728264227509499, -0.02693236619234085, -0.01379665918648243, -0.02347220480442047, -0.02980627864599228, -0.028597364202141762, -0.012004556134343147, -0.005134194623678923, -0.04370669648051262, -0.04407080262899399, -0.019889425486326218, -0.01387482974678278, -0.016293518245220184, -0.00716030178591609, -0.004372711293399334, 0.023069599643349648, 0.0426534004509449, 0.022034427151083946, 0.02398807369172573, -0.03557083010673523, -0.026629116386175156, 0.04033718258142471, -0.00874632503837347, -0.023596832528710365, -0.06716272979974747, -0.034126412123441696, 0.04917456582188606, 0.0030540816951543093, 0.005476196296513081, -0.008571477606892586, 0.06512396037578583, -0.006970675196498632, -0.040962573140859604, 0.010869264602661133, -0.03227658569812775, -0.013122165575623512, -0.018917080014944077, 0.0023848183918744326, -0.0030486274044960737, -0.0411166176199913, -0.021273629739880562, -0.01675889827311039, 0.05702238157391548, -0.07711060345172882, -0.038641855120658875, -0.03659244254231453, 0.030002793297171593, 0.0381021574139595, 0.0002452822227496654, -0.05970590561628342, -0.005008936859667301, -0.0679839551448822, 0.024358011782169342, 0.030779384076595306, -0.016323523595929146, 0.03257034346461296, 0.06448680907487869, 0.014336558990180492, -0.008691594004631042, 0.04517331346869469, 0.03189058601856232, 0.05584917590022087, 0.0020310210529714823, -0.024037102237343788, 0.00712205283343792, 0.005397540517151356, 0.024341702461242676, 0.00847665499895811, -0.008135623298585415, -0.05171525850892067, -0.08976206928491592, 0.01820068247616291, 0.017847955226898193, 0.000230586199904792, -0.010176114737987518, 0.08580958098173141, -0.01637006364762783, -0.026484761387109756, 0.01988491602241993, 0.003092779079452157, 0.03991658240556717, -0.05274607986211777, 0.05171946436166763, 0.0003313128254376352, 0.01527028065174818, -0.028100403025746346, 0.013746137730777264, -0.032318130135536194, -0.03071598894894123, -0.02603294886648655, 0.04986443743109703, 0.026789331808686256, 0.034873414784669876, 0.04025783762335777, 0.034090302884578705, -0.034620385617017746, 0.04913918301463127, 0.04681127890944481, -0.018466152250766754, -0.06741471588611603, -0.0005470215110108256, -0.005118310451507568, -0.0029555715154856443, -0.040761541575193405, 0.000822178553789854, 0.0024398404639214277, 0.06342538446187973, -0.003169179195538163, -0.008378869853913784, 0.020228318870067596, -0.0367264486849308, -0.03748293220996857, -0.05652419850230217, -0.008774527348577976, -0.00569212157279253, -0.031050002202391624, -0.03247043490409851, 0.0532861202955246, 0.023101234808564186, 0.05477529391646385, 0.053435008972883224, -0.011099402792751789, -0.05126997455954552, 0.04275697097182274, 0.03783745318651199, -0.014445403590798378, -0.07001551985740662, -0.05276653170585632, 0.04350745677947998, -0.0032343233469873667, 0.01530473493039608, -0.07553347200155258, 0.008608425036072731, 0.04188479110598564, -0.10674329102039337, 0.04582934081554413, 0.015637803822755814, 0.03881628066301346, 0.04703693464398384, 0.010981138795614243, 0.055117543786764145, -0.04491446167230606, 0.010585187934339046, 0.006436754483729601, 0.030225971713662148, -0.0035131992772221565, -0.010459224693477154, -0.049225546419620514, 0.04241868853569031, 0.004497294779866934, 0.03501952067017555, 0.04325331747531891, -0.04316246137022972, -0.06727594137191772, -0.010257615707814693, 0.05222639441490173, -0.04329133406281471, 0.042732276022434235, 0.012252718210220337, 0.04925695061683655, -0.05479441583156586, -0.024292724207043648, -0.02850351110100746, -0.0057425471022725105, 0.030510691925883293, 0.03390100598335266, -0.0316365510225296, -0.03300826624035835, 0.019724499434232712, -0.013746070675551891, -0.018665142357349396, -0.07753051817417145, 0.030738847330212593, -0.012453092262148857, -0.013778431341052055, 0.02433386817574501, 0.01870681904256344, 0.056001488119363785, 0.05422250181436539, 0.013415020890533924, 0.02435343526303768, -0.042392075061798096, 0.04223636910319328, -0.05129922553896904, -0.02057166025042534, 0.00537521718069911, -0.0379723496735096, -0.011721880175173283, -0.032888263463974, -0.04154569283127785, -0.03235848993062973, -0.00886079203337431, 0.03485004976391792, -0.001032582251355052, -0.011048800311982632, -0.003873845562338829, 0.025985531508922577, -0.036766842007637024, 0.005134018138051033, -0.03217632323503494, -0.007623416371643543, -0.062223512679338455, -0.031046591699123383, 0.03322679549455643, -0.04294706881046295, 0.026727795600891113, -0.019641051068902016, 0.034308165311813354, 0.029185499995946884, 0.008144587278366089, -0.019156262278556824, 0.013696209527552128, 0.025198765099048615, 0.0013432890409603715, -0.0011610689107328653, 0.009152110666036606, 0.007885949686169624, 0.06657122820615768, -0.01854815147817135, 0.01184341311454773, 0.035070352256298065, -0.017994390800595284, -0.020755210891366005, 0.017197683453559875, -0.0013148566940799356, -0.051427774131298065, -0.0033003604039549828, -0.005059164948761463, -0.016700206324458122, 0.03299017250537872, -0.04380255565047264, -0.043821047991514206, 0.004630622453987598, 0.013352612964808941, 0.023826980963349342, -0.03744328394532204, 0.0015655942261219025, -0.012772658839821815, -0.059255510568618774, -0.00416318466886878, -0.04381958395242691, 0.03464657813310623, -0.031067391857504845, -0.010548117570579052, -0.044826690107584, 0.0072725191712379456, -0.056148745119571686, 0.038958534598350525, -0.027456525713205338, -0.03756000101566315, -0.0018682434456422925, 0.03172154352068901, -0.041790056973695755, 0.015030426904559135, 0.000968205917160958, 0.013824203051626682, -0.05148765444755554, 0.0661352276802063, -0.04438520967960358, 0.00663739861920476, -0.010161607526242733, -0.0007645306177437305, -0.05302038416266441, -0.018977278843522072, -0.038452595472335815, -0.002393309259787202, 0.01667972467839718, 0.056268952786922455, 0.04909951612353325, 0.02248157560825348, -0.021069824695587158, 0.008020964451134205, 0.021658115088939667, -0.054457470774650574, -0.014823967590928078, -0.012222693301737309, 0.0047881328500807285, 0.008827963843941689, 0.04110622778534889, 0.07037167996168137, -0.05123915895819664, -0.04471098631620407, 0.07527396082878113, 0.018947966396808624, 0.005904990714043379, 0.023325497284531593, 0.017627641558647156, 0.029781091958284378, 0.027460120618343353, -0.03849354758858681, -0.0029125274159014225, 0.015545529313385487, -0.027449164539575577, 0.04118409752845764, -0.025871306657791138, 0.028733689337968826, -0.004754581488668919, -0.019907258450984955, -0.06326312571763992, 0.09031566977500916, 0.03863823786377907, 0.012246934697031975, 0.005177289713174105, -0.0518229641020298, 0.02660759910941124, 0.010243266820907593, -0.0624302513897419, 0.040173351764678955, 0.0032493111211806536, -0.005162001587450504, 0.05445164442062378, -0.03987604379653931, -0.0023186556063592434, 0.010326615534722805, 0.040331728756427765, -0.04040743410587311, 0.025974150747060776, -0.032500009983778, 0.039534684270620346, 0.025601433590054512, -0.049143534153699875, -0.029206998646259308, -0.03185786306858063, 0.0609106570482254, -0.07880467176437378, 0.07880781590938568, 0.03359179571270943, -0.020239900797605515, 0.02764236554503441, -0.01031691487878561, -0.024353398010134697, 0.01563686691224575, -0.05774013698101044, 0.06797296553850174, -0.008289585821330547, -0.0569237619638443, 0.07516065984964371, 0.027299927547574043, -0.058459892868995667, 0.024369794875383377, 0.040580857545137405, 0.025413304567337036, 0.011961914598941803, 0.03984929248690605, -0.004415800794959068, 0.04356537386775017, -0.05340336635708809, 0.06196759641170502, -0.05496940761804581, -0.04062632471323013, -0.0000826213727123104, -0.05865976959466934, -0.005966976284980774, 0.05118371173739433, -0.01738065481185913, -0.011145790107548237, -0.006662454456090927, -0.055062055587768555, -0.05660352110862732, 0.021445684134960175, -0.008424916304647923, 0.009633165784180164, -0.00907095242291689, -0.030504288151860237, 0.014224960468709469, 0.014691987074911594, -0.002634512260556221, -0.03374527394771576, -0.009498534724116325, 0.006703158840537071, -0.06862160563468933, -0.04356180503964424, 0.02292729541659355, 0.006535946857184172, -0.02276725508272648, -0.008887597359716892, 0.02345971018075943, 0.03131457418203354, 0.022174593061208725, -0.011491255834698677, 0.01653788611292839, -0.040903083980083466, -0.012125351466238499, 0.043169055134058, 0.02866707555949688, -0.0019094516756013036, -0.009282657876610756, 0.009814713150262833, 0.04941859468817711, 0.053639981895685196, 0.018406886607408524, -0.0007147327996790409, -0.01200364250689745, 0.026712626218795776, -0.01481300126761198, 0.05041825398802757, -0.0022989604622125626, -0.0698317214846611, -0.038053881376981735, 0.02506266161799431, 0.0012031293008476496, 0.058984868228435516, -0.03677801415324211, -0.01744978129863739, 0.046840112656354904, 0.005730912555009127, -0.0015446344623342156, -0.08878707885742188, -0.027963008731603622, -0.07227053493261337, 0.024253439158201218, 0.06220100820064545, -0.0702199935913086, 0.011636736802756786, -0.021986905485391617, -0.030690185725688934, 0.03263956308364868, 0.027677740901708603, -0.028791509568691254, 0.04655124619603157, 0.06039538234472275, -0.045797403901815414, 0.01971411146223545, -0.002118706936016679, -0.05387789383530617, -0.011463554576039314, 0.010620346292853355, -0.012338080443441868, 0.012048150412738323, 0.014992755837738514, -0.02263523079454899, -0.006850095000118017, -0.03616650775074959, -0.04251588135957718, -0.0572173036634922, 0.012468556873500347, 0.06621900200843811 ]
Augustvember/test
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
2021-01-13T18:59:56Z
--- tags: - flair - token-classification - sequence-tagger-model language: nl datasets: - conll2003 widget: - text: "George Washington ging naar Washington." --- # Dutch NER in Flair (default model) This is the standard 4-class NER model for Dutch that ships with [Flair](https://github.com/flairNLP/flair/). F1-Score: **92,58** (CoNLL-03) Predicts 4 tags: | **tag** | **meaning** | |---------------------------------|-----------| | PER | person name | | LOC | location name | | ORG | organization name | | MISC | other name | Based on Transformer embeddings and LSTM-CRF. --- # Demo: How to use in Flair Requires: **[Flair](https://github.com/flairNLP/flair/)** (`pip install flair`) ```python from flair.data import Sentence from flair.models import SequenceTagger # load tagger tagger = SequenceTagger.load("flair/ner-dutch") # make example sentence sentence = Sentence("George Washington ging naar Washington") # predict NER tags tagger.predict(sentence) # print sentence print(sentence) # print predicted NER spans print('The following NER tags are found:') # iterate over entities and print for entity in sentence.get_spans('ner'): print(entity) ``` This yields the following output: ``` Span [1,2]: "George Washington" [− Labels: PER (0.997)] Span [5]: "Washington" [− Labels: LOC (0.9996)] ``` So, the entities "*George Washington*" (labeled as a **person**) and "*Washington*" (labeled as a **location**) are found in the sentence "*George Washington ging naar Washington*". --- ### Training: Script to train this model The following Flair script was used to train this model: ```python from flair.data import Corpus from flair.datasets import CONLL_03_DUTCH from flair.embeddings import WordEmbeddings, StackedEmbeddings, FlairEmbeddings # 1. get the corpus corpus: Corpus = CONLL_03_DUTCH() # 2. what tag do we want to predict? tag_type = 'ner' # 3. make the tag dictionary from the corpus tag_dictionary = corpus.make_tag_dictionary(tag_type=tag_type) # 4. initialize embeddings embeddings = TransformerWordEmbeddings('wietsedv/bert-base-dutch-cased') # 5. initialize sequence tagger tagger: SequenceTagger = SequenceTagger(hidden_size=256, embeddings=embeddings, tag_dictionary=tag_dictionary, tag_type=tag_type) # 6. initialize trainer trainer: ModelTrainer = ModelTrainer(tagger, corpus) # 7. run training trainer.train('resources/taggers/ner-dutch', train_with_dev=True, max_epochs=150) ``` --- ### Cite Please cite the following paper when using this model. ``` @inproceedings{akbik-etal-2019-flair, title = "{FLAIR}: An Easy-to-Use Framework for State-of-the-Art {NLP}", author = "Akbik, Alan and Bergmann, Tanja and Blythe, Duncan and Rasul, Kashif and Schweter, Stefan and Vollgraf, Roland", booktitle = "Proceedings of the 2019 Conference of the North {A}merican Chapter of the Association for Computational Linguistics (Demonstrations)", year = "2019", url = "https://www.aclweb.org/anthology/N19-4010", pages = "54--59", } ``` --- ### Issues? The Flair issue tracker is available [here](https://github.com/flairNLP/flair/issues/).
[ -0.036577433347702026, -0.012662127614021301, 0.00232732854783535, 0.05542983487248421, 0.05547197908163071, 0.01499145943671465, 0.0037006631027907133, -0.023995235562324524, -0.04491182789206505, 0.06575097888708115, 0.01620243303477764, 0.023468326777219772, -0.0016974894097074866, 0.044228695333004, -0.06664619594812393, -0.028852803632616997, -0.010771294124424458, -0.01672905869781971, -0.02871536836028099, -0.04240225628018379, -0.013890625908970833, 0.02140279859304428, 0.013961092568933964, 0.029860328882932663, 0.02079583704471588, 0.018692057579755783, 0.01921851933002472, 0.03966790810227394, 0.025929097086191177, -0.06464298814535141, -0.005032068118453026, -0.02286946401000023, -0.04146766662597656, -0.015043719671666622, -0.02358747459948063, -0.013436033390462399, 0.01086654793471098, 0.0028982236981391907, 0.014103268273174763, 0.060952551662921906, -0.008026200346648693, 0.021554356440901756, -0.02220832370221615, -0.029501063749194145, 0.047897931188344955, 0.01249906700104475, -0.04357685148715973, -0.03994283080101013, 0.0299362950026989, -0.015305106528103352, -0.059851668775081635, -0.08481605350971222, -0.019881101325154305, -0.001475833123549819, -0.023461027070879936, -0.035628434270620346, -0.06149732694029808, -0.01771465316414833, 0.06069859489798546, -0.044162750244140625, -0.03746339678764343, 0.020251570269465446, -0.06401612609624863, 0.0315135195851326, 0.02839495986700058, -0.04009205475449562, -0.010777048766613007, -0.021832449361681938, 0.01739332266151905, -0.03873562440276146, 0.03640863671898842, -0.02062002755701542, -0.00008667179645271972, -0.05001275986433029, -0.015205579809844494, 0.001731246244162321, 0.045686714351177216, 0.040591392666101456, -0.03099587932229042, 0.04784756526350975, 0.023250294849276543, -0.007442904636263847, 0.038010887801647186, -0.04443218931555748, -0.005733151454478502, 0.05048684403300285, -0.04269091784954071, 0.009716047905385494, 0.02228899486362934, 0.055047597736120224, -0.036613065749406815, -0.01657780446112156, 0.01952999085187912, -0.027730857953429222, -0.03413720056414604, 0.028903178870677948, 0.03209754452109337, -0.0018746873829513788, 0.024143652990460396, 0.019032524898648262, 0.03354596719145775, 0.051301199942827225, -0.021791210398077965, 0.048276640474796295, -0.020248139277100563, -0.014225048944354057, -0.0025407650973647833, -0.0364387109875679, -0.03607708960771561, 0.046857696026563644, 0.028782084584236145, -0.02886824868619442, -0.04763743281364441, 0.050766248255968094, 0.04526142776012421, -0.025187870487570763, 0.07606495171785355, -0.03184046223759651, -0.05012673884630203, -0.051137328147888184, 0.037392906844615936, 0.004563897382467985, -0.009792516939342022, 0.008548883721232414, -0.04105747491121292, 0.008292009122669697, -0.03958592563867569, -0.02707633189857006, -0.031081339344382286, 0.01193653792142868, -0.009126015938818455, 0.04534858837723732, -0.02210213430225849, -0.04025930538773537, -0.004823716823011637, 0.0026456513442099094, -0.05839742720127106, 0.03569565340876579, 0.02325773984193802, 0.0980999544262886, -0.04027032479643822, -0.05800739675760269, 0.03102213144302368, 0.0043125879019498825, -0.03360886126756668, -0.00926973670721054, -0.020117375999689102, -0.02170718088746071, -0.029507730156183243, -0.026082998141646385, 0.04697679728269577, -0.05209719017148018, 0.0022701702546328306, 0.028464464470744133, 0.010193569585680962, 0.03963463753461838, -0.03812211751937866, 0.020878544077277184, 0.0007500639767386019, 0.005534249823540449, -0.02645289897918701, 0.04821816831827164, -0.0288090743124485, -0.012339705601334572, -0.009300097823143005, -0.024971751496195793, -0.025656403973698616, 0.05685396492481232, -0.0031482160557061434, -0.00019723307923413813, -0.032966699451208115, 0.028978871181607246, 0.05471635237336159, 0.05124926194548607, -0.03992851451039314, 0.031050512567162514, 0.06555067747831345, 0.027109621092677116, -0.028064066544175148, 0.05747491493821144, 0.020305795595049858, -0.016300611197948456, -0.046145807951688766, 0.0181032232940197, 0.01366607565432787, -0.005989360623061657, 0.0173406433314085, 0.047472916543483734, 0.002203400479629636, -0.03360005095601082, -0.015275431796908379, 0.04406881332397461, 0.01713077910244465, 0.003939909860491753, -0.021872911602258682, -0.008663075044751167, -0.019109947606921196, 0.015488197095692158, -0.020369896665215492, -0.0003912874963134527, -0.021445659920573235, -0.0405910350382328, 0.009504548273980618, 0.03197840601205826, 0.033928245306015015, 0.034776896238327026, 0.006607436574995518, 0.07413854449987411, -0.06908141821622849, 0.022528396919369698, -0.04750639200210571, -0.052454717457294464, -0.0048271529376506805, 0.024633310735225677, 0.017503660172224045, 0.045002542436122894, -0.005808780901134014, -0.05041787773370743, 0.03370649367570877, 0.05816728249192238, 0.04822266846895218, 0.039473071694374084, -0.020395085215568542, -0.0283329077064991, 0.024516230449080467, 0.05001399293541908, -0.04198695719242096, -0.030356906354427338, 0.027270693331956863, 0.06691323220729828, -0.01282505877315998, -0.0032492836471647024, -0.02395380474627018, 0.007069793529808521, -0.03387274593114853, -0.04827546700835228, 0.01425161026418209, 0.015492231585085392, 0.015846015885472298, 0.047165386378765106, -0.022808058187365532, -0.020282134413719177, 0.031926680356264114, 0.0027867823373526335, -0.013157595880329609, -0.060207922011613846, 0.01685362309217453, 0.010237125679850578, 0.0739390105009079, -0.03571689873933792, 0.037537865340709686, -0.012830046936869621, 0.02305716648697853, 0.03463050723075867, -0.04596920311450958, 0.032997097820043564, 0.03378157317638397, 0.025663867592811584, -0.0319337472319603, 0.029351813718676567, 0.006682396400719881, 0.02852167934179306, 0.04209987074136734, 0.01363210566341877, 0.0794207975268364, -0.004562505055218935, 0.021994974464178085, 0.07261255383491516, 0.05640966817736626, -0.0070610977709293365, 0.05825875326991081, 0.06796746701002121, -0.007711546495556831, -0.011488623917102814, 0.07938981056213379, -0.035785019397735596, 0.04280170053243637, -0.04742131382226944, 0.03243778273463249, -0.0023579858243465424, -0.01807180419564247, 0.01729450561106205, 0.026033643633127213, -0.019711731001734734, -0.005337657406926155, -0.02340889722108841, -0.014599581249058247, 0.05676301568746567, -0.004261760972440243, 0.03296099975705147, 0.00523071363568306, -0.030522294342517853, 0.04204758629202843, -0.07679091393947601, -0.05359424278140068, 0.000993465888313949, -0.03006012737751007, -0.020352648571133614, -0.10205969214439392, -0.04771161451935768, -0.056840356439352036, -0.02831570990383625, 0.03440127521753311, 0.025203803554177284, 0.023063713684678078, -0.03810952976346016, 0.04251464456319809, -0.01944143697619438, -0.0386364683508873, -0.04174179211258888, -0.02054733596742153, -0.03860287368297577, -0.061729107052087784, 0.04781951382756233, 0.01877024956047535, 0.029179729521274567, 0.002197813941165805, -0.013041621074080467, -0.03916511684656143, -0.0011958678951486945, 0.027547933161258698, 0.02385035902261734, -0.028657540678977966, 0.009713944047689438, 0.024011734873056412, -0.007360678631812334, 0.018399162217974663, -0.02128024213016033, -0.03387889266014099, 0.04775005578994751, 0.07940040528774261, 0.002861857181414962, -0.005884075537323952, -0.01072260458022356, -0.030034342780709267, -0.04158291220664978, -0.02811051532626152, -0.03072722628712654, -0.004988612607121468, -0.012309921905398369, -0.03550976514816284, -0.008473538793623447, -0.01505245640873909, -0.02047676406800747, -0.021007388830184937, 0.010248875245451927, 0.03299734741449356, 0.02537059225142002, 0.03868671879172325, 0.010927596129477024, -0.04226265102624893, -0.015659751370549202, 0.08624715358018875, -0.02291390672326088, 0.01452094130218029, -0.07882623374462128, -0.03552421182394028, 0.05108487233519554, 0.019540000706911087, 0.014067978598177433, -0.008314223028719425, 0.10562495142221451, 0.03743137791752815, -0.004693105351179838, 0.010104353539645672, -0.004428123123943806, -0.051448922604322433, -0.011889432556927204, -0.01842900924384594, -0.014347870834171772, -0.0635792687535286, -0.019476383924484253, -0.04371146485209465, 0.03861549496650696, -0.052085913717746735, -0.02986273728311062, -0.0312141515314579, 0.028847357258200645, 0.05239105969667435, 0.013654951006174088, -0.05512949824333191, 0.008524579927325249, -0.040692780166864395, -0.011421230621635914, 0.01345308218151331, -0.00241909921169281, 0.011960885487496853, 0.036920417100191116, 0.0503082200884819, -0.06304768472909927, 0.04008995369076729, 0.03146858513355255, 0.035996101796627045, 0.023051099851727486, -0.024698209017515182, 0.04415355250239372, -0.020161710679531097, 0.02882709540426731, -0.01023148000240326, -0.02708149328827858, -0.04647952690720558, -0.08387339115142822, 0.004878941457718611, 0.0032399105839431286, -0.026509074494242668, 0.01914156600832939, 0.02823464758694172, -0.042537201195955276, -0.0012551789404824376, -0.0009805170120671391, 0.031916771084070206, 0.0536746084690094, -0.05596334487199783, 0.04446284845471382, 0.01163098681718111, 0.03222127631306648, -0.04175999015569687, -0.004940235987305641, -0.031795620918273926, -0.015110603533685207, 0.012100527063012123, 0.049819182604551315, 0.029935447499155998, 0.027329904958605766, 0.05684463307261467, 0.029989153146743774, -0.04586305841803551, 0.07376392930746078, 0.04697779566049576, -0.0062142712995409966, -0.07627358287572861, -0.011316943913698196, -0.022440386936068535, -0.02045583538711071, -0.01629318855702877, -0.03003125637769699, 0.02130739763379097, 0.012849797494709492, 0.0041961390525102615, -0.01235152967274189, 0.01672455295920372, -0.02598312310874462, -0.012843983247876167, -0.06883836537599564, -0.021641450002789497, 0.0035805199295282364, -0.03360491618514061, 0.05034395679831505, 0.025141296908259392, -0.013390924781560898, 0.07145894318819046, 0.052468571811914444, -0.006411761045455933, -0.030688809230923653, 0.04377443715929985, 0.0468129925429821, -0.06225944682955742, -0.0572279691696167, -0.04133375361561775, 0.04842351749539375, 0.07084733247756958, 0.004603786859661341, -0.07946748286485672, -0.0014829904539510608, 0.06544311344623566, -0.02528514713048935, 0.06695032119750977, -0.0037358764093369246, 0.02375590242445469, 0.05702933296561241, -0.03670033439993858, 0.005168784409761429, -0.05323884263634682, 0.001898411544971168, -0.0014303920324891806, 0.028485702350735664, -0.05870036780834198, -0.051555294543504715, -0.005145855247974396, 0.033782199025154114, 0.016408853232860565, 0.06717762351036072, 0.0579373762011528, -0.061642829328775406, -0.07301151752471924, -0.012876375578343868, 0.014235658571124077, -0.03640211373567581, 0.02688080258667469, 0.009757804684340954, 0.059161845594644547, -0.06375468522310257, -0.0158582404255867, -0.037630461156368256, 0.005129239521920681, 0.017948085442185402, 0.0005933282081969082, -0.044014547020196915, -0.04845139756798744, 0.01341971941292286, -0.02408428303897381, -0.0007623712881468236, -0.09610182791948318, 0.009069060906767845, -0.011524061672389507, -0.015939917415380478, 0.046007029712200165, 0.043524369597435, 0.0507124699652195, 0.027078675106167793, -0.010452233254909515, 0.022617537528276443, -0.010292606428265572, 0.03490135446190834, -0.03658372163772583, -0.0077528259716928005, 0.0019147178390994668, -0.04302124306559563, -0.0034870896488428116, -0.031806204468011856, -0.0626719743013382, -0.05260471999645233, -0.008917516097426414, 0.02334236167371273, -0.022700492292642593, 0.005671551451086998, 0.014564608223736286, 0.03250216692686081, -0.017799247056245804, -0.020102178677916527, -0.010620583780109882, -0.03416018933057785, -0.06825271248817444, -0.038661517202854156, 0.038460567593574524, 0.019206959754228592, 0.007514904718846083, 0.01319178007543087, -0.008905450813472271, 0.03305647149682045, -0.016880616545677185, -0.018322309479117393, 0.028818456456065178, -0.0016577637288719416, -0.04626336321234703, -0.009666342288255692, 0.008061145432293415, 0.0003905173216480762, 0.022315561771392822, -0.014050722122192383, 0.0357198491692543, 0.046099308878183365, -0.03886110708117485, 0.003712618490681052, 0.019059516489505768, 0.04633944109082222, -0.07123450934886932, -0.006589696742594242, -0.01861698366701603, -0.04253338277339935, 0.017981871962547302, 0.010705670341849327, -0.035975199192762375, -0.010663745924830437, 0.01706012897193432, 0.001244480605237186, -0.027916166931390762, -0.026986725628376007, -0.007246098946779966, -0.019754670560359955, 0.014636130072176456, -0.04536544904112816, 0.027320949360728264, -0.037685323506593704, -0.002857375191524625, -0.018719850108027458, -0.028550297021865845, -0.039983343333005905, 0.027429206296801567, -0.03454238176345825, -0.007454326841980219, -0.00591761851683259, 0.011073588393628597, -0.03340088948607445, 0.023695876821875572, -0.020844485610723495, 0.015842076390981674, -0.004294118843972683, 0.03815142437815666, -0.06462398171424866, -0.01648653857409954, -0.02315054088830948, -0.009974046610295773, 0.007974217645823956, -0.003026215359568596, 0.006080424878746271, -0.039556536823511124, 0.028967253863811493, 0.055279213935136795, 0.011424677446484566, 0.025945767760276794, -0.0032855742610991, 0.023859556764364243, 0.02730504982173443, -0.060998573899269104, -0.021946342661976814, -0.009106675162911415, 0.029396314173936844, -0.015476475469768047, 0.050047606229782104, 0.03806915879249573, -0.0559091717004776, -0.052144069224596024, 0.06770990043878555, 0.011781109496951103, 0.0066917166113853455, -0.010097593069076538, 0.02814551442861557, 0.052289169281721115, 0.04844636097550392, -0.017810441553592682, -0.02278255484998226, 0.023344090208411217, -0.03226456791162491, 0.016904814168810844, -0.0017794739687815309, 0.03623640909790993, -0.016527464613318443, -0.030379757285118103, -0.029513807967305183, 0.07988496869802475, 0.008846945129334927, 0.004869324620813131, -0.012739354744553566, -0.046784259378910065, 0.014979872852563858, -0.017988508567214012, -0.06924877315759659, -0.02624938264489174, 0.03881227225065231, -0.026569096371531487, 0.07658951729536057, -0.008306922391057014, 0.024063611403107643, 0.08604662120342255, 0.02411511354148388, 0.0003776195226237178, 0.03753500431776047, -0.007687389384955168, 0.00268325163051486, 0.04726643115282059, -0.061818599700927734, -0.017225779592990875, -0.020497145131230354, 0.05798236280679703, -0.06972692161798477, 0.0381876640021801, 0.030864274129271507, 0.04239509254693985, 0.026197515428066254, -0.02592308260500431, -0.036414965987205505, 0.010121332481503487, -0.04743419587612152, 0.07400873303413391, 0.0035775445867329836, -0.05470287799835205, 0.06436072289943695, 0.0147077776491642, -0.08979244530200958, 0.022823287174105644, 0.03247206285595894, 0.03423769399523735, 0.019628550857305527, 0.057476531714200974, -0.06624937057495117, 0.004691774025559425, -0.017223790287971497, 0.03165334463119507, -0.0629238486289978, 0.0032045345287770033, -0.007561213802546263, -0.029205281287431717, -0.0411003939807415, 0.07607688754796982, -0.01410759799182415, -0.026668731123209, 0.017531484365463257, -0.053889211267232895, -0.046166837215423584, 0.021651068702340126, 0.029755251482129097, -0.005850675515830517, 0.037437841296195984, -0.03738751262426376, 0.01649058610200882, 0.01225301157683134, -0.026594484224915504, -0.05508188530802727, 0.021931739524006844, 0.018848123028874397, -0.03265603259205818, -0.01448371447622776, 0.04250562563538551, 0.02130395732820034, -0.03512784093618393, 0.026835666969418526, -0.017534779384732246, 0.020258445292711258, 0.02659711427986622, -0.0011742101050913334, 0.02863237075507641, -0.05565840005874634, 0.020133914425969124, 0.018706172704696655, 0.04350659251213074, 0.032981883734464645, -0.02917146496474743, 0.06732587516307831, 0.032389890402555466, 0.03921229764819145, -0.005128675140440464, -0.0388546846807003, -0.02852705493569374, 0.008323012851178646, -0.05048130825161934, 0.01290261372923851, 0.0024627663660794497, -0.05005774646997452, -0.03610922023653984, -0.02841179259121418, -0.012957407161593437, 0.04604538530111313, -0.06235324591398239, -0.007543184328824282, 0.040779080241918564, -0.020447207614779472, -0.0418221578001976, -0.06342673301696777, -0.021644363179802895, -0.03230462968349457, 0.0352780744433403, 0.020447032526135445, -0.03459008410573006, -0.003571068402379751, -0.033035699278116226, -0.0442718006670475, 0.05222703143954277, 0.020000671967864037, -0.04282534494996071, 0.048051491379737854, 0.0750017836689949, -0.04196722432971001, 0.022655438631772995, 0.023259488865733147, -0.061466481536626816, 0.032561369240283966, -0.0010678803082555532, 0.02676132507622242, 0.015272724442183971, 0.037235237658023834, -0.0012530937092378736, -0.06206831708550453, -0.07569567859172821, -0.04495576396584511, -0.029808619990944862, -0.004566283896565437, 0.050270404666662216 ]
Aviora/phobert-ner
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
null
--- tags: - flair - token-classification - sequence-tagger-model language: - en - de - nl - es datasets: - conll2003 widget: - text: "George Washington ging nach Washington" --- ## 4-Language NER in Flair (English, German, Dutch and Spanish) This is the fast 4-class NER model for 4 CoNLL-03 languages that ships with [Flair](https://github.com/flairNLP/flair/). Also kind of works for related languages like French. F1-Score: **91,51** (CoNLL-03 English), **85,72** (CoNLL-03 German revised), **86,22** (CoNLL-03 Dutch), **85,78** (CoNLL-03 Spanish) Predicts 4 tags: | **tag** | **meaning** | |---------------------------------|-----------| | PER | person name | | LOC | location name | | ORG | organization name | | MISC | other name | Based on [Flair embeddings](https://www.aclweb.org/anthology/C18-1139/) and LSTM-CRF. --- ### Demo: How to use in Flair Requires: **[Flair](https://github.com/flairNLP/flair/)** (`pip install flair`) ```python from flair.data import Sentence from flair.models import SequenceTagger # load tagger tagger = SequenceTagger.load("flair/ner-multi-fast") # make example sentence in any of the four languages sentence = Sentence("George Washington ging nach Washington") # predict NER tags tagger.predict(sentence) # print sentence print(sentence) # print predicted NER spans print('The following NER tags are found:') # iterate over entities and print for entity in sentence.get_spans('ner'): print(entity) ``` This yields the following output: ``` Span [1,2]: "George Washington" [− Labels: PER (0.9977)] Span [5]: "Washington" [− Labels: LOC (0.9895)] ``` So, the entities "*George Washington*" (labeled as a **person**) and "*Washington*" (labeled as a **location**) are found in the sentence "*George Washington ging nach Washington*". --- ### Training: Script to train this model The following Flair script was used to train this model: ```python from flair.data import Corpus from flair.datasets import CONLL_03, CONLL_03_GERMAN, CONLL_03_DUTCH, CONLL_03_SPANISH from flair.embeddings import WordEmbeddings, StackedEmbeddings, FlairEmbeddings # 1. get the multi-language corpus corpus: Corpus = MultiCorpus([ CONLL_03(), # English corpus CONLL_03_GERMAN(), # German corpus CONLL_03_DUTCH(), # Dutch corpus CONLL_03_SPANISH(), # Spanish corpus ]) # 2. what tag do we want to predict? tag_type = 'ner' # 3. make the tag dictionary from the corpus tag_dictionary = corpus.make_tag_dictionary(tag_type=tag_type) # 4. initialize each embedding we use embedding_types = [ # GloVe embeddings WordEmbeddings('glove'), # FastText embeddings WordEmbeddings('de'), # contextual string embeddings, forward FlairEmbeddings('multi-forward-fast'), # contextual string embeddings, backward FlairEmbeddings('multi-backward-fast'), ] # embedding stack consists of Flair and GloVe embeddings embeddings = StackedEmbeddings(embeddings=embedding_types) # 5. initialize sequence tagger from flair.models import SequenceTagger tagger = SequenceTagger(hidden_size=256, embeddings=embeddings, tag_dictionary=tag_dictionary, tag_type=tag_type) # 6. initialize trainer from flair.trainers import ModelTrainer trainer = ModelTrainer(tagger, corpus) # 7. run training trainer.train('resources/taggers/ner-multi-fast', train_with_dev=True, max_epochs=150) ``` --- ### Cite Please cite the following papers when using this model. ``` @misc{akbik2019multilingual, title={Multilingual sequence labeling with one model}, author={Akbik, Alan and Bergmann, Tanja and Vollgraf, Roland} booktitle = {{NLDL} 2019, Northern Lights Deep Learning Workshop}, year = {2019} } ``` ``` @inproceedings{akbik2018coling, title={Contextual String Embeddings for Sequence Labeling}, author={Akbik, Alan and Blythe, Duncan and Vollgraf, Roland}, booktitle = {{COLING} 2018, 27th International Conference on Computational Linguistics}, pages = {1638--1649}, year = {2018} } ```
[ -0.03250466659665108, -0.014311297796666622, 0.0023021986708045006, 0.06010136380791664, 0.047967590391635895, 0.014861724339425564, 0.00474105030298233, -0.01688529923558235, -0.0399375781416893, 0.06268958002328873, 0.01022825576364994, 0.019585825502872467, -0.015845898538827896, 0.03855139762163162, -0.06992916017770767, -0.025861361995339394, -0.002199192764237523, -0.019478334113955498, -0.03810004144906998, -0.04542243480682373, -0.012242226861417294, 0.024052204564213753, 0.011283793486654758, 0.029771266505122185, 0.024926846846938133, 0.018648123368620872, 0.012966332025825977, 0.03474840894341469, 0.01928008906543255, -0.05617294833064079, -0.004665703978389502, -0.01950272172689438, -0.03828110918402672, -0.01888238452374935, -0.026375941932201385, -0.014948701485991478, 0.01715676300227642, 0.005074897315353155, 0.014138727448880672, 0.05160611867904663, -0.008206277154386044, 0.01653509959578514, -0.03176351264119148, -0.01577666401863098, 0.05834959074854851, 0.003837717929854989, -0.05241991952061653, -0.04819612577557564, 0.02292594313621521, -0.020895084366202354, -0.04986971989274025, -0.07477715611457825, -0.02196311391890049, 0.005492321215569973, -0.017281722277402878, -0.052641984075307846, -0.06351915001869202, -0.005763500928878784, 0.05896279960870743, -0.04274272918701172, -0.04644395411014557, 0.016935262829065323, -0.07457000017166138, 0.025587651878595352, 0.03355557098984718, -0.04112938046455383, -0.007609765511006117, -0.01532393041998148, 0.011560074985027313, -0.03295832499861717, 0.03787931799888611, -0.018174773082137108, 0.0029034758917987347, -0.05058806762099266, -0.015208832919597626, -0.0045173633843660355, 0.04604094848036766, 0.04054564982652664, -0.038529593497514725, 0.044323138892650604, 0.03323065862059593, -0.0024871400091797113, 0.04397347569465637, -0.049772944301366806, -0.00812757108360529, 0.06124395877122879, -0.04239482432603836, 0.002596162259578705, 0.02813538908958435, 0.05544540658593178, -0.02580682933330536, -0.014567933045327663, 0.022829143330454826, -0.02593313902616501, -0.02985607273876667, 0.030994094908237457, 0.03855356201529503, -0.01689930073916912, 0.0274510495364666, 0.015909207984805107, 0.021978892385959625, 0.0541875995695591, -0.020488852635025978, 0.04320596158504486, -0.021913237869739532, -0.014117383398115635, -0.010285530239343643, -0.04627275839447975, -0.03537457808852196, 0.0486617274582386, 0.033374588936567307, -0.03332097455859184, -0.04902429133653641, 0.07128236442804337, 0.032993096858263016, -0.029906662181019783, 0.06868571788072586, -0.03935708478093147, -0.05479386821389198, -0.05062585696578026, 0.03298762068152428, 0.000526010524481535, -0.019577154889702797, 0.023889943957328796, -0.06255524605512619, 0.013094204477965832, -0.043302714824676514, -0.0251194778829813, -0.02583795227110386, 0.0009462149464525282, -0.02008034661412239, 0.0375671349465847, -0.019634194672107697, -0.04156225547194481, -0.005078217480331659, -0.010068483650684357, -0.05611254647374153, 0.03745177015662193, 0.0232522152364254, 0.09970265626907349, -0.03556079417467117, -0.04814377799630165, 0.019934099167585373, 0.005421600770205259, -0.04068902134895325, -0.009331359528005123, -0.024007176980376244, -0.021713512018322945, -0.030287133529782295, -0.021205242723226547, 0.0506276860833168, -0.06089411675930023, 0.011908886954188347, 0.0393085815012455, 0.005683269817382097, 0.04136179760098457, -0.03847884759306908, 0.019094139337539673, 0.0030400350224226713, 0.004566130228340626, -0.0265150498598814, 0.022111063823103905, -0.016951538622379303, -0.018213750794529915, -0.029918247833848, -0.03896266967058182, -0.017060494050383568, 0.06358718872070312, 0.005778979510068893, 0.0005143313319422305, -0.028181059285998344, 0.029711149632930756, 0.052730392664670944, 0.03831836208701134, -0.03575432300567627, 0.04396974295377731, 0.06090196967124939, 0.03641008958220482, -0.022136395797133446, 0.0631520003080368, 0.02221072092652321, -0.02004387229681015, -0.049269888550043106, 0.01318718958646059, 0.014186300337314606, -0.005758383776992559, -0.0004479397612158209, 0.06180490553379059, 0.004388831555843353, -0.024167755618691444, -0.013462652452290058, 0.0374881736934185, 0.008863940834999084, 0.0014528336469084024, -0.020945221185684204, -0.007636806927621365, -0.021285662427544594, 0.030612880364060402, -0.02485353872179985, -0.002274654572829604, -0.025906037539243698, -0.0353972464799881, 0.004831405822187662, 0.039018139243125916, 0.025093404576182365, 0.029841162264347076, -0.0029903012327849865, 0.07734551280736923, -0.0589861199259758, 0.02361559495329857, -0.045341476798057556, -0.05221734195947647, -0.00784655287861824, 0.04165984317660332, 0.025201965123414993, 0.049616340547800064, -0.023318426683545113, -0.059153445065021515, 0.04138893634080887, 0.06950663030147552, 0.043695226311683655, 0.030244270339608192, -0.02831237018108368, -0.033313002437353134, 0.029368415474891663, 0.049799222499132156, -0.0471097007393837, -0.04060201346874237, 0.02178027108311653, 0.062162309885025024, -0.013193938881158829, -0.010820900090038776, -0.02135530486702919, 0.01055868249386549, -0.02986723743379116, -0.05820051580667496, 0.016863234341144562, 0.017919674515724182, 0.01567692682147026, 0.0476493202149868, -0.022738466039299965, -0.020627576857805252, 0.030950214713811874, -0.0010468976106494665, -0.019216280430555344, -0.06280496716499329, 0.012077140621840954, 0.0008902268600650132, 0.06416256725788116, -0.038884326815605164, 0.03608082979917526, -0.005259216297417879, 0.01651148311793804, 0.029930053278803825, -0.03875065594911575, 0.03422647342085838, 0.03003724478185177, 0.027918297797441483, -0.02654218301177025, 0.020697154104709625, 0.009692243300378323, 0.02293962799012661, 0.05435420945286751, 0.009958735667169094, 0.07405587285757065, 0.002014364115893841, 0.019042452797293663, 0.06440603733062744, 0.04615756496787071, -0.0054176924750208855, 0.046940140426158905, 0.06678254902362823, -0.006343861576169729, -0.008133412338793278, 0.07780035585165024, -0.045360613614320755, 0.030236339196562767, -0.03815890848636627, 0.019122371450066566, -0.00017350986308883876, -0.009011045098304749, 0.019133033230900764, 0.02096175216138363, -0.02968132682144642, -0.0009545271168462932, -0.0135037237778306, -0.004453272093087435, 0.05212777107954025, -0.002353092422708869, 0.014263424091041088, 0.0031059773173183203, -0.016427254304289818, 0.04247210919857025, -0.054883189499378204, -0.059709783643484116, 0.004092948045581579, -0.037133995443582535, -0.015910882502794266, -0.09431558847427368, -0.0427103266119957, -0.06206506863236427, -0.020044149830937386, 0.028257213532924652, 0.021197069436311722, 0.025678444653749466, -0.03205053508281708, 0.038174692541360855, -0.028962256386876106, -0.05108613148331642, -0.04392315819859505, -0.027881871908903122, -0.031163891777396202, -0.06239213049411774, 0.04598772153258324, 0.019753066822886467, 0.04137827828526497, 0.011039507575333118, -0.005965678486973047, -0.02361849881708622, -0.013407379388809204, 0.03404536843299866, 0.033534757792949677, -0.018299607560038567, 0.007984330877661705, 0.017344798892736435, -0.0030997591093182564, 0.02847648598253727, -0.02284390479326248, -0.040949128568172455, 0.03846261277794838, 0.08388444036245346, 0.002945252461358905, -0.012359483167529106, -0.008476292714476585, -0.016057778149843216, -0.04583756998181343, -0.03917432576417923, -0.04073501378297806, 0.0021998591255396605, -0.005888693500310183, -0.03280392661690712, -0.010976839810609818, -0.019515203312039375, -0.00623822258785367, -0.019188445061445236, 0.016584230586886406, 0.03407543525099754, 0.021814586594700813, 0.04097399860620499, 0.0028619549702852964, -0.042127471417188644, -0.004470313899219036, 0.09125472605228424, -0.02322617545723915, 0.003079531481489539, -0.06444964557886124, -0.03197316825389862, 0.05581049621105194, 0.025211630389094353, -0.001151092117652297, -0.013474185951054096, 0.10893134772777557, 0.04908629506826401, 0.0018136511789634824, -0.0035954262129962444, -0.011062104254961014, -0.055520158261060715, -0.010364893823862076, -0.015348458662629128, -0.020301608368754387, -0.06825988739728928, -0.017975563183426857, -0.021615460515022278, 0.04524777829647064, -0.05379459634423256, -0.024886520579457283, -0.02558186464011669, 0.01675465889275074, 0.0421433262526989, 0.01203003991395235, -0.05012884736061096, 0.007785745896399021, -0.03595144301652908, -0.021107209846377373, 0.009035659953951836, -0.002972798189148307, 0.006027585361152887, 0.04673682525753975, 0.043779805302619934, -0.06771490722894669, 0.0457235686480999, 0.017987137660384178, 0.04384879395365715, 0.03676285594701767, -0.026172036305069923, 0.049913190305233, -0.028235435485839844, 0.011929951608181, -0.0009968335507437587, -0.026344681158661842, -0.049058329313993454, -0.08117396384477615, 0.007448590826243162, -0.0015014586970210075, -0.01825260929763317, 0.0051782503724098206, 0.03696516528725624, -0.03407738730311394, 0.012746507301926613, -0.013144753873348236, 0.02284439653158188, 0.0404495932161808, -0.06825479865074158, 0.056606292724609375, 0.017994657158851624, 0.028210386633872986, -0.037290554493665695, 0.0025899289175868034, -0.03060520812869072, -0.015910670161247253, 0.0037407276686280966, 0.050257403403520584, 0.026633968576788902, 0.02853280119597912, 0.06651435047388077, 0.025437097996473312, -0.03808886557817459, 0.07326683402061462, 0.03270248696208, -0.000691761786583811, -0.07564850896596909, -0.01794331520795822, -0.018334437161684036, -0.03680415824055672, -0.007539553102105856, -0.029062822461128235, 0.01926809549331665, 0.027461977675557137, -0.0013329676585271955, -0.014096657745540142, 0.01620085909962654, -0.025119619444012642, -0.01982959918677807, -0.06494635343551636, -0.018889548256993294, -0.004431489389389753, -0.03701794892549515, 0.05273302644491196, 0.021732253953814507, -0.01320439949631691, 0.06154555454850197, 0.05391981452703476, -0.00333997025154531, -0.03459682688117027, 0.047594793140888214, 0.035496361553668976, -0.05285182222723961, -0.057800184935331345, -0.03688982129096985, 0.0531039796769619, 0.06340929865837097, 0.011676141060888767, -0.08238951861858368, -0.011052138172090054, 0.07278865575790405, -0.02354937046766281, 0.05856600031256676, -0.0020623367745429277, 0.030512914061546326, 0.04453107714653015, -0.03218163177371025, 0.003777001518756151, -0.043024692684412, 0.013100836426019669, -0.008820164948701859, 0.018291452899575233, -0.05732690542936325, -0.04165543615818024, -0.024943748489022255, 0.031603168696165085, 0.013391788117587566, 0.059138067066669464, 0.043391186743974686, -0.0555201917886734, -0.07325440645217896, -0.0033626293297857046, 0.026864146813750267, -0.048170529305934906, 0.027954110875725746, 0.020615248009562492, 0.06607452034950256, -0.06299807131290436, -0.01673094555735588, -0.0337238684296608, 0.01223828550428152, 0.016877995803952217, 0.01376214250922203, -0.034378040581941605, -0.051702894270420074, 0.012737659737467766, -0.028140990063548088, 0.0034514954313635826, -0.09591221064329147, 0.000035961606045020744, -0.02238011173903942, -0.025924302637577057, 0.043410640209913254, 0.035866204649209976, 0.04853256046772003, 0.028760870918631554, -0.006468204315751791, 0.012856879271566868, -0.01937790773808956, 0.03701294958591461, -0.03697655349969864, -0.0004202825657557696, -0.001928558573126793, -0.0416133888065815, -0.004957195371389389, -0.03696509450674057, -0.05262226238846779, -0.04799608513712883, 0.004113955423235893, 0.03932860121130943, -0.030864864587783813, 0.013135995715856552, 0.010740437544882298, 0.02877412550151348, -0.019880296662449837, -0.017297567799687386, -0.0055677988566458225, -0.031934529542922974, -0.07560744136571884, -0.04999338462948799, 0.029933210462331772, 0.013352039270102978, 0.018197936937212944, 0.00881964061409235, -0.005684458650648594, 0.03113669715821743, -0.0188207495957613, -0.004466308280825615, 0.031867630779743195, 0.002896704012528062, -0.03936319053173065, -0.004123997874557972, 0.0069357967004179955, 0.00017705358914099634, 0.04167565330862999, -0.02284279465675354, 0.04203362390398979, 0.04456990957260132, -0.04110923781991005, 0.005021893884986639, 0.011319003067910671, 0.043509915471076965, -0.07647838443517685, -0.015655379742383957, -0.02373562380671501, -0.054474376142024994, 0.021430857479572296, 0.0003959357854910195, -0.0340222492814064, -0.006148336920887232, 0.009636699222028255, 0.010128150694072247, -0.022646073251962662, -0.03727605193853378, -0.006905864924192429, -0.017448026686906815, 0.015936005860567093, -0.04676284268498421, 0.029755113646388054, -0.04415116086602211, -0.006302229594439268, -0.01792389713227749, -0.03090679459273815, -0.04639780893921852, 0.026283269748091698, -0.03287564590573311, -0.02802424319088459, -0.0028881977777928114, 0.012914946302771568, -0.01868540793657303, 0.029943395406007767, -0.03315795585513115, 0.009314439259469509, -0.005622980650514364, 0.032393354922533035, -0.06684538722038269, -0.018124990165233612, -0.022389911115169525, -0.010332979261875153, 0.006856207270175219, -0.003110977355390787, 0.007685469463467598, -0.05305022373795509, 0.029157130047678947, 0.049213506281375885, 0.016272641718387604, 0.014758615754544735, -0.016365598887205124, 0.025014841929078102, 0.02950834482908249, -0.06924199312925339, -0.023974331095814705, -0.015327452681958675, 0.03220214322209358, -0.01150956004858017, 0.04203414171934128, 0.04677533730864525, -0.061471231281757355, -0.05065969377756119, 0.06543522328138351, 0.012870716862380505, 0.0014362008078023791, -0.0002242283953819424, 0.03474823385477066, 0.047828175127506256, 0.055306825786828995, -0.014456083998084068, -0.024410417303442955, 0.020218489691615105, -0.029058381915092468, 0.012926504015922546, 0.0018292120657861233, 0.027434518560767174, -0.012623407877981663, -0.01732059381902218, -0.028297360986471176, 0.08464877307415009, 0.013787191361188889, -0.0021212478168308735, -0.016198953613638878, -0.04562220722436905, 0.011530611664056778, -0.017053814604878426, -0.07155624777078629, -0.017764540389180183, 0.032725997269153595, -0.03029830940067768, 0.06846325099468231, -0.018049342557787895, 0.024917354807257652, 0.09163666516542435, 0.03095126897096634, -0.004953931551426649, 0.03565163165330887, -0.004698788281530142, -0.0027743822429329157, 0.03880268335342407, -0.06129496172070503, -0.021796487271785736, -0.019970005378127098, 0.06321703642606735, -0.0584067665040493, 0.04304361343383789, 0.03944306820631027, 0.03955500200390816, 0.03458660468459129, -0.017739197239279747, -0.03660377115011215, -0.008779614232480526, -0.05468616634607315, 0.07354295998811722, 0.0073572732508182526, -0.050768282264471054, 0.07326699793338776, 0.020331254228949547, -0.08481646329164505, 0.012189488857984543, 0.03696736320853233, 0.02331223525106907, 0.013680920004844666, 0.03820997104048729, -0.0739855021238327, 0.026486970484256744, -0.02320518158376217, 0.04051482677459717, -0.05924254655838013, -0.009661379270255566, -0.016272230073809624, -0.03620409592986107, -0.019325466826558113, 0.06873714923858643, -0.019333703443408012, -0.020799145102500916, 0.019195230677723885, -0.04613012820482254, -0.052648771554231644, 0.026172418147325516, 0.032935433089733124, -0.00993352197110653, 0.029241520911455154, -0.03311461582779884, 0.025463465601205826, 0.01593814045190811, -0.029127540066838264, -0.061508242040872574, 0.009046814404428005, 0.024938197806477547, -0.04128800705075264, -0.02146092616021633, 0.042813338339328766, 0.02010815031826496, -0.032923098653554916, 0.016133353114128113, -0.014435972087085247, 0.00815791729837656, 0.0333893783390522, -0.008907887153327465, 0.03139878809452057, -0.06632952392101288, 0.02241947315633297, 0.014690686948597431, 0.04136223718523979, 0.02667691744863987, -0.031947214156389236, 0.06453794240951538, 0.03440115600824356, 0.0420234315097332, -0.01051937323063612, -0.035407714545726776, -0.028843624517321587, 0.015224416740238667, -0.050458092242479324, 0.019121935591101646, 0.01008518971502781, -0.05442044883966446, -0.03493287041783333, -0.02563996985554695, 0.0020851746667176485, 0.03351694718003273, -0.06371378153562546, -0.012219075113534927, 0.02924545668065548, -0.022249804809689522, -0.039571020752191544, -0.059346314519643784, -0.02906777523458004, -0.023823697119951248, 0.038392096757888794, 0.010823482647538185, -0.04015079513192177, -0.01965867355465889, -0.01657167263329029, -0.04635204002261162, 0.04317368566989899, 0.0114882318302989, -0.04864741116762161, 0.04268808290362358, 0.08099354058504105, -0.050922941416502, 0.02046995609998703, 0.030467452481389046, -0.05331862345337868, 0.050144847482442856, 0.00015144571079872549, 0.021447913721203804, 0.014583835378289223, 0.028347747400403023, 0.013878953643143177, -0.0522344745695591, -0.07678087800741196, -0.04408154636621475, -0.02199651673436165, 0.0011643689358606935, 0.05929972976446152 ]
Ayah/GPT2-DBpedia
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
2021-02-23T20:39:54Z
--- tags: - flair - token-classification - sequence-tagger-model language: - en - de - fr - it - nl - pl - es - sv - da - no - fi - cs datasets: - ontonotes widget: - text: "Ich liebe Berlin, as they say." --- ## Multilingual Universal Part-of-Speech Tagging in Flair (fast model) This is the fast multilingual universal part-of-speech tagging model that ships with [Flair](https://github.com/flairNLP/flair/). F1-Score: **92,88** (12 UD Treebanks covering English, German, French, Italian, Dutch, Polish, Spanish, Swedish, Danish, Norwegian, Finnish and Czech) Predicts universal POS tags: | **tag** | **meaning** | |---------------------------------|-----------| |ADJ | adjective | | ADP | adposition | | ADV | adverb | | AUX | auxiliary | | CCONJ | coordinating conjunction | | DET | determiner | | INTJ | interjection | | NOUN | noun | | NUM | numeral | | PART | particle | | PRON | pronoun | | PROPN | proper noun | | PUNCT | punctuation | | SCONJ | subordinating conjunction | | SYM | symbol | | VERB | verb | | X | other | Based on [Flair embeddings](https://www.aclweb.org/anthology/C18-1139/) and LSTM-CRF. --- ### Demo: How to use in Flair Requires: **[Flair](https://github.com/flairNLP/flair/)** (`pip install flair`) ```python from flair.data import Sentence from flair.models import SequenceTagger # load tagger tagger = SequenceTagger.load("flair/upos-multi-fast") # make example sentence sentence = Sentence("Ich liebe Berlin, as they say. ") # predict NER tags tagger.predict(sentence) # print sentence print(sentence) # print predicted NER spans print('The following NER tags are found:') # iterate over entities and print for entity in sentence.get_spans('pos'): print(entity) ``` This yields the following output: ``` Span [1]: "Ich" [− Labels: PRON (0.9999)] Span [2]: "liebe" [− Labels: VERB (0.9999)] Span [3]: "Berlin" [− Labels: PROPN (0.9997)] Span [4]: "," [− Labels: PUNCT (1.0)] Span [5]: "as" [− Labels: SCONJ (0.9991)] Span [6]: "they" [− Labels: PRON (0.9998)] Span [7]: "say" [− Labels: VERB (0.9998)] Span [8]: "." [− Labels: PUNCT (1.0)] ``` So, the words "*Ich*" and "*they*" are labeled as **pronouns** (PRON), while "*liebe*" and "*say*" are labeled as **verbs** (VERB) in the multilingual sentence "*Ich liebe Berlin, as they say*". --- ### Training: Script to train this model The following Flair script was used to train this model: ```python from flair.data import MultiCorpus from flair.datasets import UD_ENGLISH, UD_GERMAN, UD_FRENCH, UD_ITALIAN, UD_POLISH, UD_DUTCH, UD_CZECH, \ UD_DANISH, UD_SPANISH, UD_SWEDISH, UD_NORWEGIAN, UD_FINNISH from flair.embeddings import StackedEmbeddings, FlairEmbeddings # 1. make a multi corpus consisting of 12 UD treebanks (in_memory=False here because this corpus becomes large) corpus = MultiCorpus([ UD_ENGLISH(in_memory=False), UD_GERMAN(in_memory=False), UD_DUTCH(in_memory=False), UD_FRENCH(in_memory=False), UD_ITALIAN(in_memory=False), UD_SPANISH(in_memory=False), UD_POLISH(in_memory=False), UD_CZECH(in_memory=False), UD_DANISH(in_memory=False), UD_SWEDISH(in_memory=False), UD_NORWEGIAN(in_memory=False), UD_FINNISH(in_memory=False), ]) # 2. what tag do we want to predict? tag_type = 'upos' # 3. make the tag dictionary from the corpus tag_dictionary = corpus.make_tag_dictionary(tag_type=tag_type) # 4. initialize each embedding we use embedding_types = [ # contextual string embeddings, forward FlairEmbeddings('multi-forward-fast'), # contextual string embeddings, backward FlairEmbeddings('multi-backward-fast'), ] # embedding stack consists of Flair and GloVe embeddings embeddings = StackedEmbeddings(embeddings=embedding_types) # 5. initialize sequence tagger from flair.models import SequenceTagger tagger = SequenceTagger(hidden_size=256, embeddings=embeddings, tag_dictionary=tag_dictionary, tag_type=tag_type, use_crf=False) # 6. initialize trainer from flair.trainers import ModelTrainer trainer = ModelTrainer(tagger, corpus) # 7. run training trainer.train('resources/taggers/upos-multi-fast', train_with_dev=True, max_epochs=150) ``` --- ### Cite Please cite the following paper when using this model. ``` @inproceedings{akbik2018coling, title={Contextual String Embeddings for Sequence Labeling}, author={Akbik, Alan and Blythe, Duncan and Vollgraf, Roland}, booktitle = {{COLING} 2018, 27th International Conference on Computational Linguistics}, pages = {1638--1649}, year = {2018} } ``` --- ### Issues? The Flair issue tracker is available [here](https://github.com/flairNLP/flair/issues/).
[ -0.03307361155748367, -0.014461923390626907, -0.005351843312382698, 0.04931405931711197, 0.03554728254675865, 0.02501092292368412, 0.013055921532213688, 0.005679044872522354, -0.04077470675110817, 0.05397678539156914, 0.008874365128576756, 0.008502311073243618, 0.0002466697769705206, 0.03325458988547325, -0.04917146638035774, -0.04454507306218147, -0.007671577390283346, -0.01602758653461933, -0.03747650235891342, -0.022146662697196007, -0.017201097682118416, 0.023393170908093452, -0.010515044443309307, 0.04351407289505005, 0.020628396421670914, 0.028868721798062325, -0.02686728723347187, 0.022433636710047722, 0.026721104979515076, -0.05558687075972557, 0.007768889423459768, -0.0036321019288152456, -0.03825242444872856, -0.020673977211117744, -0.0353676900267601, -0.019488906487822533, 0.02291405014693737, 0.011157562956213951, 0.021321870386600494, 0.055924855172634125, -0.0023503920529037714, 0.02512841671705246, -0.01843993179500103, -0.019127849489450455, 0.049208976328372955, 0.013034021481871605, -0.03524855151772499, -0.06178663298487663, 0.014675481244921684, -0.026223042979836464, -0.03537708893418312, -0.06554111838340759, -0.0072189983911812305, -0.006983221508562565, -0.0018727098358795047, -0.020896850153803825, -0.060301147401332855, 0.008274192921817303, 0.0699111819267273, -0.03600186109542847, -0.05828556790947914, 0.02156287431716919, -0.06307797878980637, 0.024743689224123955, 0.024298671633005142, -0.05922874063253403, -0.007913957349956036, -0.04037448391318321, 0.014171273447573185, -0.035944823175668716, 0.031227141618728638, -0.03585860878229141, 0.007594223599880934, -0.07125899195671082, -0.019790099933743477, 0.009394122287631035, 0.0434027723968029, 0.04505560174584389, -0.04306934028863907, 0.055705178529024124, 0.030726630240678787, -0.0025355180259793997, 0.033219341188669205, -0.03329396992921829, -0.01120605319738388, 0.06875978410243988, -0.047436732798814774, -0.0007594490889459848, 0.030817685648798943, 0.041397858411073685, -0.0328238308429718, -0.028117870911955833, 0.012304935604333878, -0.0408179834485054, -0.018510136753320694, 0.022766461595892906, 0.038250915706157684, -0.034828927367925644, 0.03515113517642021, 0.015678316354751587, 0.02724825032055378, 0.05143709108233452, -0.02213265374302864, 0.04758644104003906, -0.024297339841723442, 0.008424004539847374, -0.004223812837153673, -0.03731416165828705, -0.027673184871673584, 0.05653565376996994, 0.017840761691331863, -0.042300738394260406, -0.05709352716803551, 0.060632966458797455, 0.024022428318858147, -0.034003015607595444, 0.0639224424958229, -0.030810521915555, -0.028427232056856155, -0.06189853698015213, 0.05016587674617767, -0.018812980502843857, -0.0064141531474888325, 0.02306949347257614, -0.08079098910093307, 0.01909448765218258, -0.04263859614729881, -0.030217880383133888, -0.01653454266488552, 0.000849685980938375, -0.03021014668047428, 0.039828285574913025, -0.004457568284124136, -0.034355320036411285, -0.0008489651954732835, 0.00426076166331768, -0.05497657507658005, 0.007016479969024658, 0.026798458769917488, 0.09790102392435074, -0.04160090908408165, -0.04170459881424904, 0.031684163957834244, -0.002832790371030569, -0.02597394399344921, -0.004414007067680359, 0.006540524773299694, -0.016904117539525032, -0.028961176052689552, -0.0028529914561659098, 0.039108600467443466, -0.06647547334432602, 0.0022116308100521564, 0.04619000107049942, -0.010413606651127338, 0.05043119937181473, -0.04328826814889908, 0.001430827658623457, 0.00914821121841669, -0.0116198705509305, -0.041834548115730286, 0.020433710888028145, -0.018962407484650612, -0.018682727590203285, -0.04062942788004875, -0.029814019799232483, -0.005246891174465418, 0.05727628618478775, 0.002921655075624585, 0.0027731091249734163, -0.05661563202738762, 0.021104926243424416, 0.046128593385219574, 0.018941881135106087, -0.024568527936935425, 0.04559463635087013, 0.05372103303670883, 0.04442395642399788, -0.009991712868213654, 0.08617271482944489, 0.008501915261149406, -0.03238523006439209, -0.052304644137620926, 0.022184303030371666, 0.01816045492887497, -0.020724885165691376, 0.006225104909390211, 0.0632418543100357, -0.002869660034775734, -0.02032627910375595, 0.0023708315566182137, 0.027268052101135254, 0.009298236109316349, -0.0065187192521989346, -0.002099346835166216, -0.04171671345829964, -0.016125718131661415, 0.02972228452563286, -0.03400444611907005, -0.009576870128512383, -0.02733498066663742, -0.0410393550992012, -0.0036240587942302227, 0.04674551635980606, 0.02973933331668377, 0.03139282390475273, -0.010028128512203693, 0.08495844155550003, -0.053430069237947464, 0.01401905994862318, -0.05222868174314499, -0.04201210290193558, -0.00044266131590120494, 0.03446308150887489, 0.03199242055416107, 0.058204613626003265, -0.01961938478052616, -0.05955830588936806, 0.02100599929690361, 0.0803072452545166, 0.03989894688129425, 0.02645692229270935, -0.026474984362721443, -0.02433006651699543, 0.03296380490064621, 0.044583745300769806, -0.026572810485959053, -0.04386238753795624, 0.02122638188302517, 0.04306397587060928, -0.01689898408949375, -0.00655964994803071, -0.00705788005143404, -0.0021665128879249096, -0.016862479969859123, -0.03247692063450813, 0.033964600414037704, 0.01763126812875271, 0.004484753590077162, 0.04647412151098251, -0.02858167327940464, -0.012400787323713303, 0.029619671404361725, -0.00153412576764822, -0.005869919899851084, -0.05550087243318558, -0.00589829683303833, 0.006134194787591696, 0.08535706996917725, -0.047509048134088516, 0.029111547395586967, -0.001694312086328864, 0.0280360858887434, 0.049709901213645935, -0.04245443642139435, 0.039823565632104874, 0.05051961541175842, 0.026339706033468246, -0.012999989092350006, 0.02658016048371792, 0.011794967576861382, 0.03540220111608505, 0.054531268775463104, -0.009729902260005474, 0.08443339914083481, 0.01683219149708748, 0.023768192157149315, 0.07582736015319824, 0.035904619842767715, -0.01330993790179491, 0.05221634730696678, 0.0511012077331543, 0.00047544256085529923, -0.018941104412078857, 0.06789439171552658, -0.052894867956638336, 0.016799425706267357, -0.054990991950035095, 0.027826393023133278, 0.02179148606956005, -0.01458690781146288, 0.017268221825361252, 0.00872074905782938, -0.022378260269761086, 0.010404190979897976, -0.020883671939373016, -0.010872350074350834, 0.06528427451848984, -0.013306373730301857, 0.023563288152217865, 0.001066299737431109, -0.011434228159487247, 0.06363885849714279, -0.06798724085092545, -0.049694083631038666, 0.0042317709885537624, -0.03190537542104721, -0.0017291400581598282, -0.06602193415164948, -0.04478541016578674, -0.048772335052490234, -0.005040464922785759, 0.037312354892492294, 0.02851557917892933, 0.026081493124365807, -0.03239180147647858, 0.024162454530596733, -0.030733328312635422, -0.04322446510195732, -0.057062506675720215, -0.04698898270726204, -0.026543069630861282, -0.0521467849612236, 0.05610235035419464, 0.023007648065686226, 0.03312479332089424, 0.01764960028231144, 0.00047574358177371323, -0.0424763523042202, -0.01893533207476139, 0.058862876147031784, 0.028124041855335236, -0.03947218507528305, -0.009255005046725273, 0.02259143255650997, -0.0014965478330850601, 0.02540568821132183, -0.04142396152019501, -0.04282652586698532, 0.04857775196433067, 0.0828804075717926, -0.00611400930210948, -0.011797810904681683, -0.0031362799927592278, -0.03051748126745224, -0.035428766161203384, -0.04953347519040108, -0.03778500109910965, 0.02892008237540722, -0.006688739638775587, -0.0278098676353693, -0.028468362987041473, -0.015603526495397091, 0.0034102415665984154, -0.00014967643073759973, 0.008219335228204727, 0.03423423320055008, 0.023005621507763863, 0.02956709824502468, 0.006274530664086342, -0.03782132267951965, 0.004686925560235977, 0.09869735687971115, -0.018181087449193, -0.010022594593465328, -0.08275169134140015, -0.0197643730789423, 0.03206158056855202, 0.024877453222870827, 0.011129381135106087, -0.02722492627799511, 0.09200090169906616, 0.02367434650659561, 0.0017425107071176171, 0.008801726624369621, -0.005120714195072651, -0.04425034299492836, -0.013587321154773235, -0.013620947487652302, -0.007360059302300215, -0.06752273440361023, -0.021160181611776352, -0.015133108012378216, 0.029180189594626427, -0.0740651935338974, -0.04444928839802742, -0.03351868316531181, 0.0457288958132267, 0.029931383207440376, 0.01000811904668808, -0.06204291433095932, 0.01712857000529766, -0.036883849650621414, -0.01984143815934658, -0.010549678467214108, -0.0028161839582026005, 0.021152812987565994, 0.03704144060611725, 0.02329614944756031, -0.07199268043041229, 0.04765722155570984, 0.01250555831938982, 0.04836359620094299, 0.03806723281741142, -0.02367059327661991, 0.053609125316143036, -0.03172944113612175, 0.027503008022904396, -0.020650511607527733, -0.017361953854560852, -0.021197926253080368, -0.0828315019607544, 0.005150637589395046, 0.0051746186800301075, -0.03488101810216904, 0.012545619159936905, 0.033454518765211105, -0.025388741865754128, -0.004480728413909674, -0.00594870001077652, 0.025994887575507164, 0.039446622133255005, -0.0583217591047287, 0.03486955165863037, 0.004182552453130484, 0.03188746050000191, -0.05073302611708641, 0.01950458064675331, -0.040587082505226135, -0.029239609837532043, 0.0017272591358050704, 0.061089348047971725, 0.02416524849832058, 0.0485893078148365, 0.07683603465557098, 0.024740563705563545, -0.039207663387060165, 0.07581152766942978, 0.04195860028266907, -0.00346820498816669, -0.07728853076696396, -0.002064107684418559, -0.028735671192407608, -0.025552108883857727, 0.006751669105142355, -0.04314485937356949, 0.011430354788899422, 0.02122528851032257, -0.0019841264002025127, -0.012822145596146584, 0.012890727259218693, -0.027790812775492668, -0.02802158147096634, -0.06425562500953674, -0.0155143728479743, 0.006095238961279392, -0.013646984472870827, 0.04996656998991966, 0.031017081812024117, -0.002201167633756995, 0.05165809392929077, 0.047802697867155075, -0.028689168393611908, -0.030551346018910408, 0.038022514432668686, 0.03179974481463432, -0.05717751756310463, -0.07412693649530411, -0.04025053605437279, 0.054641857743263245, 0.04981830716133118, -0.002045559696853161, -0.07310374081134796, -0.009999248199164867, 0.06657527387142181, -0.014163543470203876, 0.05548470839858055, -0.007765132933855057, 0.04671972244977951, 0.050348810851573944, -0.015215321443974972, 0.001665737247094512, -0.030521215870976448, 0.01324992161244154, 0.004853467922657728, 0.024569286033511162, -0.040196049958467484, -0.031720083206892014, -0.013361806981265545, 0.02565729059278965, 0.02705961838364601, 0.055291131138801575, 0.04416006803512573, -0.04635608568787575, -0.06717973947525024, 0.004665746819227934, 0.015243501402437687, -0.05114836245775223, 0.027927609160542488, 0.02695442922413349, 0.06257595121860504, -0.034674596041440964, -0.023539723828434944, -0.035796936601400375, 0.007589714601635933, 0.02031194418668747, -0.007790979463607073, -0.05050112307071686, -0.055724285542964935, 0.013558395206928253, -0.03539244458079338, -0.010873259976506233, -0.10485811531543732, 0.005942216143012047, -0.02240663208067417, -0.034188222140073776, 0.06259569525718689, 0.02078372798860073, 0.06411479413509369, 0.023150473833084106, -0.006588320713490248, 0.005625208839774132, -0.018868520855903625, 0.03462843596935272, -0.023885777220129967, -0.022092320024967194, -0.0033138070721179247, -0.05798931419849396, -0.002995479153469205, -0.039755936712026596, -0.05292564630508423, -0.05659961327910423, 0.001190993469208479, 0.019281374290585518, -0.0340658538043499, 0.01990288682281971, 0.010461973957717419, 0.017325086519122124, -0.008753008209168911, -0.008902705274522305, -0.01231325976550579, -0.029355870559811592, -0.0792229101061821, -0.053272586315870285, 0.015706494450569153, 0.0036845712456852198, 0.02224554680287838, 0.010104437358677387, -0.006376105826348066, 0.03384692594408989, -0.01073419488966465, 0.00023050684831105173, 0.040932755917310715, 0.01042052824050188, -0.049339745193719864, -0.01548993494361639, 0.004802935291081667, 0.010326558724045753, 0.035080429166555405, -0.03582420200109482, 0.040436189621686935, 0.02702784352004528, -0.051896825432777405, -0.015771491453051567, 0.02701910212635994, 0.03389771282672882, -0.06638772040605545, -0.03832929581403732, -0.02359698712825775, -0.05012860149145126, 0.021800370886921883, 0.0016775265103206038, -0.024201180785894394, 0.02290921099483967, 0.0266887154430151, 0.01891789585351944, -0.023960858583450317, -0.028864996507763863, -0.005836151540279388, -0.012621836736798286, 0.029212210327386856, -0.057416461408138275, 0.02289828471839428, -0.027329452335834503, -0.017974233254790306, -0.007539350539445877, -0.0179757047444582, -0.05384392291307449, 0.03457197546958923, -0.015423987992107868, -0.02183535322546959, -0.003261040663346648, -0.010673134587705135, -0.021348046138882637, 0.012325678020715714, -0.007784956134855747, 0.0028204547706991434, -0.009755495935678482, 0.03660108894109726, -0.06274263560771942, -0.014027390629053116, -0.02513791061937809, -0.006170770153403282, 0.0012544828932732344, -0.015722012147307396, 0.0014326728414744139, -0.05824465677142143, 0.028814852237701416, 0.010973287746310234, 0.02272101491689682, 0.02447124384343624, -0.012780792079865932, 0.020746201276779175, 0.04267711937427521, -0.058636993169784546, -0.03551991283893585, -0.002375377109274268, 0.025479601696133614, -0.001988954609259963, 0.04428596794605255, 0.017335353419184685, -0.06621406227350235, -0.05157453939318657, 0.06216876581311226, 0.02417905069887638, 0.02102995291352272, 0.0010766350897029042, 0.03693925589323044, 0.05210254713892937, 0.0615023672580719, -0.01877877488732338, -0.015066028572618961, 0.003506253706291318, -0.029524454846978188, -0.008353879675269127, 0.01293919701129198, 0.027760405093431473, -0.0037749139592051506, -0.012923822738230228, -0.041015468537807465, 0.08007928729057312, 0.006093467585742474, 0.021908307448029518, -0.0005864948616363108, -0.0556677021086216, 0.026454543694853783, -0.01670156605541706, -0.05746445432305336, -0.021630391478538513, 0.02999395690858364, -0.030498048290610313, 0.0650072991847992, -0.012794474139809608, 0.02859584055840969, 0.06274585425853729, 0.03670846298336983, -0.01207461766898632, 0.015661604702472687, -0.00035188524634577334, -0.0049007972702383995, 0.04707476869225502, -0.06557358801364899, -0.027827639132738113, -0.023520218208432198, 0.07006704807281494, -0.04992805793881416, 0.04801565408706665, 0.05230412632226944, 0.04032617062330246, 0.025704821571707726, -0.03228025510907173, -0.033162012696266174, 0.008225534111261368, -0.037743356078863144, 0.05403441563248634, 0.02201339416205883, -0.04374133422970772, 0.05030190199613571, 0.006955734919756651, -0.08664702624082565, 0.02080121450126171, 0.03744130954146385, 0.0263078436255455, 0.00825915951281786, 0.02917894534766674, -0.0648292526602745, 0.014586949720978737, -0.01788070797920227, 0.03606615215539932, -0.07437597215175629, -0.0025531365536153316, -0.011431615799665451, -0.029553016647696495, -0.004314473830163479, 0.05819638818502426, -0.03713545203208923, -0.01410936750471592, 0.023081740364432335, -0.0540824756026268, -0.05290117859840393, 0.013877042569220066, 0.020047055557370186, -0.016294699162244797, 0.02762293629348278, -0.040123529732227325, 0.0315697081387043, 0.038200054317712784, -0.013844125904142857, -0.04047548398375511, 0.019361425191164017, 0.024196546524763107, -0.04142724350094795, -0.04430931806564331, 0.040615882724523544, 0.01468324102461338, -0.040180325508117676, 0.023930339142680168, -0.006179771851748228, -0.002566151786595583, 0.01956571266055107, -0.007903791964054108, 0.030272407457232475, -0.06498904526233673, 0.0009301858372054994, 0.01746312528848648, 0.04778129979968071, 0.00979518424719572, -0.023230183869600296, 0.06945643573999405, 0.04185175150632858, 0.06308776140213013, -0.0002765839162748307, -0.021114379167556763, -0.0386655367910862, 0.0013921556528657675, -0.018223587423563004, 0.022702552378177643, 0.016226211562752724, -0.06451965123414993, -0.02429787442088127, -0.019708359614014626, 0.019559290260076523, 0.03425576165318489, -0.050637900829315186, -0.01195398811250925, 0.04170866310596466, -0.02277885377407074, -0.04708075523376465, -0.06964214146137238, -0.04980326071381569, -0.03186019882559776, 0.031081562861800194, 0.021806862205266953, -0.051986679434776306, -0.03774191439151764, -0.030204162001609802, -0.04492371901869774, 0.018253574147820473, 0.003434219863265753, -0.034247491508722305, 0.07375987619161606, 0.05512618273496628, -0.049394622445106506, 0.03816607594490051, 0.03455172851681709, -0.04122822731733322, 0.05584617704153061, 0.008406668901443481, 0.014381068758666515, 0.015577194280922413, 0.03682030364871025, -0.004307221621274948, -0.04505467042326927, -0.06284962594509125, -0.020408721640706062, -0.03797934204339981, 0.010485348291695118, 0.06044337525963783 ]
Ayham/albert_gpt2_summarization_xsum
[ "pytorch", "tensorboard", "encoder-decoder", "text2text-generation", "dataset:xsum", "transformers", "generated_from_trainer", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "EncoderDecoderModel" ], "model_type": "encoder-decoder", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
7
2020-01-22T10:38:16Z
--- language: fr license: mit datasets: - flaubert metrics: - flue tags: - bert - language-model - flaubert - flue - french - flaubert-base - uncased --- # FlauBERT: Unsupervised Language Model Pre-training for French **FlauBERT** is a French BERT trained on a very large and heterogeneous French corpus. Models of different sizes are trained using the new CNRS (French National Centre for Scientific Research) [Jean Zay](http://www.idris.fr/eng/jean-zay/ ) supercomputer. Along with FlauBERT comes [**FLUE**](https://github.com/getalp/Flaubert/tree/master/flue): an evaluation setup for French NLP systems similar to the popular GLUE benchmark. The goal is to enable further reproducible experiments in the future and to share models and progress on the French language.For more details please refer to the [official website](https://github.com/getalp/Flaubert). ## FlauBERT models | Model name | Number of layers | Attention Heads | Embedding Dimension | Total Parameters | | :------: | :---: | :---: | :---: | :---: | | `flaubert-small-cased` | 6 | 8 | 512 | 54 M | | `flaubert-base-uncased` | 12 | 12 | 768 | 137 M | | `flaubert-base-cased` | 12 | 12 | 768 | 138 M | | `flaubert-large-cased` | 24 | 16 | 1024 | 373 M | **Note:** `flaubert-small-cased` is partially trained so performance is not guaranteed. Consider using it for debugging purpose only. ## Using FlauBERT with Hugging Face's Transformers ```python import torch from transformers import FlaubertModel, FlaubertTokenizer # Choose among ['flaubert/flaubert_small_cased', 'flaubert/flaubert_base_uncased', # 'flaubert/flaubert_base_cased', 'flaubert/flaubert_large_cased'] modelname = 'flaubert/flaubert_base_cased' # Load pretrained model and tokenizer flaubert, log = FlaubertModel.from_pretrained(modelname, output_loading_info=True) flaubert_tokenizer = FlaubertTokenizer.from_pretrained(modelname, do_lowercase=False) # do_lowercase=False if using cased models, True if using uncased ones sentence = "Le chat mange une pomme." token_ids = torch.tensor([flaubert_tokenizer.encode(sentence)]) last_layer = flaubert(token_ids)[0] print(last_layer.shape) # torch.Size([1, 8, 768]) -> (batch size x number of tokens x embedding dimension) # The BERT [CLS] token correspond to the first hidden state of the last layer cls_embedding = last_layer[:, 0, :] ``` **Notes:** if your `transformers` version is <=2.10.0, `modelname` should take one of the following values: ``` ['flaubert-small-cased', 'flaubert-base-uncased', 'flaubert-base-cased', 'flaubert-large-cased'] ``` ## References If you use FlauBERT or the FLUE Benchmark for your scientific publication, or if you find the resources in this repository useful, please cite one of the following papers: [LREC paper](http://www.lrec-conf.org/proceedings/lrec2020/pdf/2020.lrec-1.302.pdf) ``` @InProceedings{le2020flaubert, author = {Le, Hang and Vial, Lo\"{i}c and Frej, Jibril and Segonne, Vincent and Coavoux, Maximin and Lecouteux, Benjamin and Allauzen, Alexandre and Crabb\'{e}, Beno\^{i}t and Besacier, Laurent and Schwab, Didier}, title = {FlauBERT: Unsupervised Language Model Pre-training for French}, booktitle = {Proceedings of The 12th Language Resources and Evaluation Conference}, month = {May}, year = {2020}, address = {Marseille, France}, publisher = {European Language Resources Association}, pages = {2479--2490}, url = {https://www.aclweb.org/anthology/2020.lrec-1.302} } ``` [TALN paper](https://hal.archives-ouvertes.fr/hal-02784776/) ``` @inproceedings{le2020flaubert, title = {FlauBERT: des mod{\`e}les de langue contextualis{\'e}s pr{\'e}-entra{\^\i}n{\'e}s pour le fran{\c{c}}ais}, author = {Le, Hang and Vial, Lo{\"\i}c and Frej, Jibril and Segonne, Vincent and Coavoux, Maximin and Lecouteux, Benjamin and Allauzen, Alexandre and Crabb{\'e}, Beno{\^\i}t and Besacier, Laurent and Schwab, Didier}, booktitle = {Actes de la 6e conf{\'e}rence conjointe Journ{\'e}es d'{\'E}tudes sur la Parole (JEP, 31e {\'e}dition), Traitement Automatique des Langues Naturelles (TALN, 27e {\'e}dition), Rencontre des {\'E}tudiants Chercheurs en Informatique pour le Traitement Automatique des Langues (R{\'E}CITAL, 22e {\'e}dition). Volume 2: Traitement Automatique des Langues Naturelles}, pages = {268--278}, year = {2020}, organization = {ATALA} } ```
[ -0.019618749618530273, -0.00840558111667633, -0.009923654608428478, 0.05454116314649582, 0.026878422126173973, 0.02864888869225979, -0.012331620790064335, -0.02323702722787857, -0.02133011259138584, 0.055861473083496094, -0.0022036710288375616, -0.014773412607610226, 0.014739141799509525, 0.03766389191150665, -0.04877001419663429, -0.01611444540321827, -0.015672937035560608, -0.010565252974629402, -0.029697423800826073, -0.009758138097822666, -0.005100050009787083, 0.021134959533810616, -0.019018877297639847, 0.036659806966781616, 0.015799473971128464, 0.015083974227309227, -0.026936259120702744, 0.03359967842698097, 0.024623848497867584, -0.07182762771844864, 0.004709603730589151, -0.029851073399186134, -0.04283103346824646, -0.026890702545642853, -0.006440518423914909, -0.00883473176509142, -0.0077030290849506855, 0.007797266822308302, 0.026096751913428307, 0.03378468379378319, 0.016496920958161354, -0.013461098074913025, -0.0229325108230114, -0.014758019708096981, 0.03457111492753029, 0.011690247803926468, -0.04820938780903816, -0.03138077259063721, 0.02365613542497158, -0.04799686372280121, -0.04168076068162918, -0.07482548803091049, -0.011165429838001728, 0.03406490013003349, 0.01238548569381237, -0.006884382572025061, -0.0586492121219635, 0.010530369356274605, 0.06274969130754471, -0.03551134839653969, -0.04210515320301056, 0.025446981191635132, -0.052285753190517426, 0.02078060619533062, 0.039298634976148605, -0.030509451404213905, -0.0018981917528435588, -0.009292801842093468, 0.03761667385697365, 0.005889145657420158, 0.037764228880405426, -0.024900328367948532, 0.0074872542172670364, -0.08331410586833954, 0.002068915870040655, 0.0021918730344623327, 0.04466793313622475, 0.057208266109228134, -0.04847587272524834, 0.04148973152041435, 0.00709420396015048, -0.009468097239732742, 0.028540905565023422, -0.026625148952007294, -0.0116837527602911, 0.04429467022418976, -0.041382722556591034, 0.003158968174830079, 0.04597579687833786, 0.059470463544130325, -0.03982839733362198, -0.04559279978275299, -0.00251132994890213, -0.03836590424180031, 0.03011469356715679, 0.048242732882499695, 0.02970748394727707, -0.024033958092331886, 0.0381568968296051, 0.03105156682431698, 0.008647187612950802, 0.025503486394882202, -0.009738899767398834, 0.0664532333612442, -0.002754577435553074, -0.024680446833372116, -0.015241245739161968, -0.033318646252155304, -0.05081611126661301, 0.015473147854208946, 0.019795510917901993, -0.02607455849647522, -0.03679247200489044, 0.06825254112482071, 0.01430119015276432, -0.028378473594784737, 0.051338158547878265, -0.03467601537704468, -0.04193795844912529, -0.06718412786722183, 0.04262137413024902, 0.00851087924093008, 0.004349461290985346, 0.010125568136572838, -0.07427079230546951, 0.043129466474056244, -0.0173607487231493, -0.021781692281365395, -0.02158016338944435, 0.018601547926664352, -0.011512933298945427, 0.03266702964901924, 0.030888356268405914, -0.044553522020578384, -0.005522874183952808, -0.002535041654482484, -0.05894896760582924, 0.027879690751433372, 0.01716696470975876, 0.1280454844236374, -0.05778540298342705, -0.031997013837099075, 0.03716185316443443, 0.024032767862081528, -0.04784604161977768, 0.010565830394625664, 0.01324650552123785, -0.018842069432139397, -0.024113072082400322, -0.006750339642167091, 0.03914637118577957, -0.07778328657150269, -0.014552614651620388, 0.05148817226290703, -0.014565136283636093, 0.05345064029097557, -0.05004185810685158, -0.01446475088596344, 0.0070252916775643826, 0.0014107705792412162, -0.03602617233991623, 0.01820898987352848, -0.005419692024588585, -0.026461174711585045, -0.027341702952980995, -0.05550524964928627, 0.0029433616437017918, 0.0920279398560524, -0.009937240742146969, -0.004707322455942631, -0.025102900341153145, 0.03301142528653145, 0.04587344080209732, 0.039852824062108994, -0.025817451998591423, 0.04920348897576332, 0.04495055601000786, 0.032493676990270615, 0.001249676919542253, 0.06891101598739624, 0.03677002713084221, -0.030572665855288506, -0.045087482780218124, 0.012939751148223877, 0.008226122707128525, -0.04315828159451485, 0.025092892348766327, 0.027444230392575264, 0.020550144836306572, -0.03511688485741615, -0.028963686898350716, 0.04319463297724724, 0.014496811665594578, -0.021489588543772697, 0.013663853518664837, -0.009781709872186184, -0.044718172401189804, 0.032892514020204544, -0.019613316282629967, 0.022686846554279327, -0.05992541462182999, -0.03891517594456673, 0.023348940536379814, 0.013818553648889065, 0.04313839226961136, 0.04498188942670822, 0.0009639059426262975, 0.07281970232725143, -0.01973676308989525, 0.024245651438832283, -0.05955789238214493, -0.039964694529771805, 0.007966002449393272, 0.05498125031590462, 0.03893379867076874, 0.04902026429772377, -0.01499349158257246, -0.05378643795847893, 0.04349302127957344, 0.07539929449558258, 0.048412587493658066, 0.013456234708428383, -0.032862868160009384, -0.026125773787498474, 0.03871360048651695, 0.045589640736579895, -0.0522671602666378, -0.01992141827940941, 0.006825465243309736, 0.023991547524929047, -0.0020573479123413563, 0.012563379481434822, -0.020571373403072357, 0.01679302752017975, -0.024461008608341217, -0.06104131042957306, 0.045857589691877365, 0.05382069945335388, -0.002878927392885089, 0.0333651639521122, 0.01569852977991104, -0.012099528685212135, 0.005819793790578842, 0.02703282982110977, 0.014936279505491257, -0.05540559068322182, 0.0004247586475685239, 0.007412387058138847, 0.054777249693870544, -0.04620218649506569, 0.02182060293853283, -0.008823586627840996, 0.017932409420609474, 0.018362265080213547, -0.01100895181298256, 0.028271015733480453, 0.038268640637397766, 0.006875474005937576, -0.03280537202954292, 0.0009880607249215245, 0.003911850042641163, 0.06545962393283844, 0.06679191440343857, 0.006025503855198622, 0.06403443962335587, 0.01774756796658039, 0.04436164349317551, 0.07315897941589355, 0.03667658939957619, 0.011853009462356567, 0.042855460196733475, 0.05467284843325615, 0.011552772484719753, -0.0128018232062459, 0.06738786399364471, -0.04468422383069992, 0.011522794142365456, -0.03198131546378136, 0.021091654896736145, -0.0037206755951046944, -0.015807228162884712, 0.019000474363565445, 0.015791216865181923, -0.00740645220503211, 0.011777091771364212, 0.006312082055956125, -0.01887889765202999, 0.06227536126971245, 0.001107282703742385, 0.01261077355593443, -0.003897543530911207, -0.014537639915943146, 0.02291598543524742, -0.04334048926830292, -0.05465376749634743, 0.014794109389185905, -0.034611985087394714, -0.0038957789074629545, -0.09036467224359512, -0.028801603242754936, -0.049077920615673065, 0.003679826855659485, 0.03707077354192734, 0.03449573367834091, -0.0038077058270573616, -0.010425894521176815, 0.013307994231581688, -0.03271116688847542, -0.0236359890550375, -0.057350508868694305, -0.040962960571050644, -0.04056766629219055, -0.06153000146150589, 0.049123793840408325, 0.02618812955915928, 0.046260032802820206, -0.013746999204158783, 0.005189491435885429, -0.016480352729558945, -0.012050244025886059, 0.04756750538945198, 0.04471524804830551, -0.03858069330453873, -0.03546064347028732, -0.004571882542222738, -0.019727658480405807, 0.027348428964614868, -0.0048425025306642056, -0.060757897794246674, 0.08678235858678818, 0.06743253767490387, 0.03086034022271633, 0.0026802243664860725, -0.025019574910402298, -0.0526425801217556, -0.06640546768903732, -0.01529841497540474, -0.05391191691160202, -0.0033323669340461493, -0.027326203882694244, -0.01914309337735176, -0.026001937687397003, -0.033410511910915375, 0.020448878407478333, 0.006608303170651197, 0.0025322341825813055, -0.008111337199807167, 0.02735992893576622, 0.007646776735782623, 0.03753811493515968, -0.03319860249757767, -0.042589761316776276, 0.10319273918867111, 0.015310412272810936, 0.008037687279284, -0.05434384196996689, -0.01035391166806221, 0.036337051540613174, -0.000274069607257843, -0.009887490421533585, -0.01900636963546276, 0.08944640308618546, 0.023629846051335335, 0.010380877181887627, -0.02892439067363739, -0.016889629885554314, -0.013458522967994213, 0.010131835006177425, 0.014127803035080433, -0.028148125857114792, -0.057752225548028946, -0.037108395248651505, 0.02232406660914421, 0.03917594999074936, -0.06883394718170166, -0.066787950694561, -0.019855057820677757, 0.021553432568907738, 0.03833946958184242, -0.0241660475730896, -0.02846670150756836, 0.01502319611608982, -0.06287533044815063, -0.039280910044908524, -0.01414373517036438, -0.00559990806505084, 0.03118305467069149, 0.045515026897192, 0.022828824818134308, -0.0463997945189476, 0.03351803496479988, 0.02966991998255253, 0.07613249868154526, 0.03076060675084591, -0.06276538223028183, 0.024315765127539635, -0.01939481310546398, -0.0008836575434543192, -0.010538696311414242, -0.025509219616651535, -0.04704352095723152, -0.0748794823884964, -0.021837230771780014, -0.0004457816539797932, -0.005266952328383923, -0.010290202684700489, 0.04345694184303284, -0.0260601956397295, -0.003454450750723481, -0.0020743892528116703, -0.004023182671517134, 0.024774322286248207, -0.04810144007205963, 0.0646892562508583, -0.014288930222392082, 0.04078126326203346, -0.05480020493268967, 0.023572923615574837, -0.041217025369405746, -0.01981307752430439, -0.010626357980072498, 0.07646266371011734, 0.022230088710784912, 0.07342348247766495, 0.0728822723031044, 0.0344284288585186, -0.03782322257757187, 0.05143279209733009, 0.023119982331991196, 0.010147914290428162, -0.04232253134250641, -0.013397593051195145, 0.0014113782672211528, -0.02933434583246708, -0.019200582057237625, 0.001344876829534769, 0.015424486249685287, 0.009174484759569168, -0.0014326764503493905, 0.009642312303185463, 0.010227467864751816, -0.014306566677987576, -0.02877037785947323, -0.055588722229003906, -0.026034940034151077, 0.00485569704324007, -0.016554100438952446, 0.052670203149318695, 0.04444526135921478, 0.005276004783809185, 0.06633222103118896, 0.04255647212266922, -0.013762352988123894, -0.05417544022202492, 0.038340188562870026, 0.030493110418319702, -0.022669395431876183, -0.06441064178943634, -0.02123592048883438, 0.03326776251196861, 0.05534294992685318, -0.0023069404996931553, -0.06903328001499176, -0.004893941339105368, 0.07913349568843842, -0.03880397975444794, 0.06256884336471558, -0.007192176766693592, 0.02483108825981617, 0.05300607159733772, -0.009029878303408623, 0.009491126984357834, -0.02214066870510578, 0.022137317806482315, -0.006316913291811943, -0.012540359981358051, -0.03335719555616379, -0.02701464295387268, -0.07000456005334854, 0.011656953021883965, 0.04376688227057457, 0.03435636684298515, 0.03440451622009277, -0.02748970501124859, -0.058480627834796906, 0.015962334349751472, 0.05663708597421646, -0.03999476134777069, -0.006650249008089304, 0.024968646466732025, 0.05647031217813492, -0.051700759679079056, -0.023780731484293938, -0.032443977892398834, 0.008826073259115219, 0.022168293595314026, 0.018410269170999527, -0.02543075755238533, -0.06218725070357323, 0.029241519048810005, -0.04341055825352669, -0.002401603851467371, -0.0992438793182373, 0.001970222918316722, -0.021545086055994034, -0.014781054109334946, 0.04728652909398079, 0.021247198805212975, 0.058257099241018295, 0.0253666453063488, -0.024522341787815094, -0.005777575541287661, -0.03015468828380108, 0.03255034238100052, -0.03411034122109413, -0.02336454577744007, 0.005435917992144823, -0.04123124107718468, -0.021386783570051193, -0.04388823360204697, -0.04260055720806122, -0.053217045962810516, -0.012354551814496517, 0.010066364891827106, -0.019240593537688255, 0.0008400007500313222, -0.028263870626688004, 0.035075683146715164, 0.0033296006731688976, -0.015152836218476295, -0.01940258778631687, -0.026072246953845024, -0.0652453824877739, -0.06466557830572128, 0.01850663311779499, 0.01041764672845602, 0.009755291044712067, 0.014481593854725361, -0.005196103826165199, 0.015570186078548431, 0.017550703138113022, -0.0182342529296875, 0.027744285762310028, 0.011487304233014584, -0.04573429748415947, -0.01489383727312088, 0.01602867990732193, 0.0038809296675026417, 0.04117382690310478, -0.03887014836072922, 0.03629597648978233, -0.002269357442855835, -0.03427010029554367, -0.005967253819108009, 0.039299268275499344, 0.021963726729154587, -0.06827103346586227, -0.05660805478692055, -0.04036338999867439, -0.0382569283246994, 0.04923807084560394, -0.0250614695250988, -0.024070635437965393, 0.05281336233019829, 0.03775141388177872, 0.06901764124631882, -0.01015489548444748, -0.03660532087087631, 0.03543781861662865, -0.006440317258238792, 0.009773241356015205, -0.0592406801879406, 0.03388595953583717, -0.05917462334036827, 0.0058973985724151134, -0.003095493884757161, -0.005622203927487135, -0.05374842509627342, 0.031978264451026917, -0.023805825039744377, -0.019173450767993927, -0.030640525743365288, -0.0013126812409609556, -0.03856901451945305, 0.03164075314998627, -0.02812158688902855, 0.013940203934907913, -0.02132083848118782, 0.06720403581857681, -0.0638347640633583, -0.022312484681606293, -0.019435832276940346, 0.022875793278217316, -0.04021475464105606, -0.010753681883215904, -0.013470041565597057, -0.02033388987183571, 0.049417853355407715, 0.03210825100541115, 0.02545747347176075, 0.011873590759932995, -0.0027830670587718487, 0.012833811342716217, 0.016089359298348427, -0.046227943152189255, -0.02920250967144966, -0.01278232503682375, 0.020512543618679047, -0.008134267292916775, 0.06512930989265442, 0.0223472248762846, -0.06778114289045334, -0.049953050911426544, 0.0533469133079052, 0.025929482653737068, 0.006000807974487543, 0.01626187562942505, 0.03991195932030678, 0.04464620724320412, 0.05575628578662872, -0.041616249829530716, -0.03139079734683037, -0.0023341826163232327, -0.022634023800492287, 0.007637996692210436, -0.0012479149736464024, 0.013637017458677292, 0.00904140342026949, -0.01079203188419342, -0.029505768790841103, 0.08840326219797134, 0.0179615281522274, -0.0018476309487596154, -0.0070317755453288555, -0.03918197751045227, 0.006287906784564257, 0.0300520621240139, -0.04439399391412735, 0.008169206790626049, 0.010973747819662094, -0.02663504146039486, 0.06254463642835617, -0.0071871643885970116, 0.04016042500734329, 0.067478708922863, 0.021047072485089302, -0.01721814088523388, 0.0481385663151741, -0.0058166407980024815, 0.004722134210169315, 0.02546466700732708, -0.02915201149880886, -0.008242554031312466, -0.021144535392522812, 0.059946391731500626, -0.04424469918012619, 0.052688539028167725, 0.030565490946173668, 0.016008658334612846, 0.027880406007170677, -0.05517701432108879, -0.03696378320455551, 0.025884369388222694, -0.023828299716114998, 0.08218381553888321, 0.0013115541078150272, -0.050060827285051346, 0.05208226293325424, 0.010591634549200535, -0.09259726852178574, 0.0378270260989666, 0.048662953078746796, 0.007502466440200806, 0.001252113375812769, 0.04159891977906227, -0.06406881660223007, 0.01833394169807434, -0.03729219362139702, 0.02997240424156189, -0.06637954711914062, 0.006446317303925753, 0.02608349174261093, -0.042776141315698624, -0.018551817163825035, 0.029334383085370064, -0.022576430812478065, 0.011262829415500164, 0.0337517186999321, -0.044546157121658325, -0.03772204741835594, 0.016863089054822922, 0.01454250980168581, -0.006737031042575836, -0.00013533378660213202, -0.045689795166254044, 0.01834154687821865, 0.022130781784653664, -0.006834720727056265, -0.03056051954627037, -0.00637452770024538, 0.012644190341234207, -0.0645291730761528, -0.02863323502242565, 0.034683678299188614, 0.013897990807890892, -0.01709865778684616, 0.029214229434728622, 0.005042546894401312, 0.006944179069250822, 0.023797152563929558, -0.00023895184858702123, 0.030941763892769814, -0.0399915985763073, -0.019503509625792503, 0.012580813840031624, 0.014602483250200748, 0.01899750903248787, -0.030481696128845215, 0.03206203132867813, 0.032482750713825226, 0.04519157484173775, 0.009674209170043468, -0.049258727580308914, -0.048473481088876724, 0.003955396357923746, -0.018631504848599434, 0.0038898547645658255, 0.01627558097243309, -0.05286366119980812, -0.04430487006902695, -0.004667263478040695, -0.02128298394382, 0.03473779931664467, -0.02045789733529091, 0.0028468738310039043, 0.027205996215343475, -0.033065248280763626, -0.05327639356255531, -0.09799400717020035, -0.023078810423612595, -0.047231875360012054, 0.04988357052206993, 0.01658708229660988, -0.051587268710136414, -0.003343821968883276, -0.02115161530673504, -0.04091453179717064, 0.052362214773893356, 0.00664170365780592, -0.05195707082748413, 0.06535031646490097, 0.043041009455919266, -0.05393160879611969, 0.014185705222189426, 0.03973984718322754, -0.043189093470573425, 0.05942407622933388, 0.030948258936405182, 0.012978111393749714, 0.020436514168977737, 0.020682774484157562, -0.00840472150593996, -0.053281646221876144, -0.077033132314682, -0.02998809888958931, -0.02573671005666256, 0.015349342487752438, 0.08192773163318634 ]
AyushPJ/ai-club-inductions-21-nlp-distilBERT
[ "pytorch", "distilbert", "question-answering", "transformers", "generated_from_trainer", "autotrain_compatible" ]
question-answering
{ "architectures": [ "DistilBertForQuestionAnswering" ], "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 } } }
8
null
--- language: - - thumbnail: tags: - - - license: datasets: - - metrics: - - --- # GPT-2 GERMAN ## Model description See [Open AI's model card](https://github.com/openai/gpt-2/blob/master/model_card.md) and [Huggingface's model card](https://huggingface.co/gpt2) for the original model. ## Intended uses & limitations #### How to use ```python def foo(bar) bar +=1 return bar ``` #### Limitations and bias On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? ?? https://dl.acm.org/doi/10.1145/3442188.3445922 ``` @inproceedings{10.1145/3442188.3445922, author = {Bender, Emily M. and Gebru, Timnit and McMillan-Major, Angelina and Shmitchell, Shmargaret}, title = {On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? ??}, year = {2021}, isbn = {9781450383097}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, url = {https://doi.org/10.1145/3442188.3445922}, doi = {10.1145/3442188.3445922}, abstract = {The past 3 years of work in NLP have been characterized by the development and deployment of ever larger language models, especially for English. BERT, its variants, GPT-2/3, and others, most recently Switch-C, have pushed the boundaries of the possible both through architectural innovations and through sheer size. Using these pretrained models and the methodology of fine-tuning them for specific tasks, researchers have extended the state of the art on a wide array of tasks as measured by leaderboards on specific benchmarks for English. In this paper, we take a step back and ask: How big is too big? What are the possible risks associated with this technology and what paths are available for mitigating those risks? We provide recommendations including weighing the environmental and financial costs first, investing resources into curating and carefully documenting datasets rather than ingesting everything on the web, carrying out pre-development exercises evaluating how the planned approach fits into research and development goals and supports stakeholder values, and encouraging research directions beyond ever larger language models.}, booktitle = {Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency}, pages = {610?623}, numpages = {14}, location = {Virtual Event, Canada}, series = {FAccT '21} } ``` ## Training data https://huggingface.co/datasets/german-nlp-group/german_common_crawl ```json {'url': 'http://my-shop.ru/shop/books/545473.html', 'date_download': '2016-10-20T19:38:58Z', 'digest': 'sha1:F62EMGYLZDIKF4UL5JZYU47KWGGUBT7T', 'length': 1155, 'nlines': 4, 'source_domain': 'my-shop.ru', 'title': 'Grammatikalische Liebeslieder. Methodische Vorschläge', 'raw_content': 'Grammatikalische Liebeslieder. [....]', 'cc_segment': 'crawl-data/CC-MAIN-2016-44/segments/1476988717783.68/wet/CC-MAIN-20161020183837-00354-ip-10-171-6-4.ec2.internal.warc.wet.gz', 'original_nlines': 99, 'original_length': 2672, 'language': 'de', 'language_score': 1.0, 'perplexity': 283.0, 'bucket': 'head'}" ``` ## Training procedure TODO (See [training](training.md)) ## Eval results TODO: Self-BLEU, Diversity, and other metrics from https://arxiv.org/abs/1904.09751 ``` @inproceedings{DBLP:conf/iclr/HoltzmanBDFC20, author = {Ari Holtzman and Jan Buys and Li Du and Maxwell Forbes and Yejin Choi}, title = {The Curious Case of Neural Text Degeneration}, booktitle = {8th International Conference on Learning Representations, {ICLR} 2020, Addis Ababa, Ethiopia, April 26-30, 2020}, publisher = {OpenReview.net}, year = {2020}, url = {https://openreview.net/forum?id=rygGQyrFvH}, timestamp = {Thu, 21 Jan 2021 17:36:46 +0100}, biburl = {https://dblp.org/rec/conf/iclr/HoltzmanBDFC20.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` ### BibTeX entry and citation info Does the Huggingface hub generate DOIs? Otherwise maybe Kaggle or Zenodo to generate one. ```bibtex @inproceedings{..., year={2021} } ```
[ -0.026906847953796387, -0.01077385526150465, -0.011843573302030563, 0.059823427349328995, 0.03497881814837456, 0.012012389488518238, 0.003523818450048566, -0.009204358793795109, -0.026549383997917175, 0.053043048828840256, 0.02738303877413273, -0.0042788307182490826, 0.01295037753880024, 0.033090587705373764, -0.050695423036813736, -0.03155389055609703, 0.019575808197259903, -0.03206205368041992, -0.03725890442728996, -0.024679917842149734, -0.0022177882492542267, -0.0142068387940526, -0.010827294550836086, 0.020738644525408745, 0.0048544141463935375, 0.003084450261667371, -0.030041424557566643, 0.018250150606036186, 0.0014547175960615277, -0.08244775235652924, 0.0013080632779747248, -0.03789406269788742, -0.04292241483926773, -0.015202084556221962, -0.016302896663546562, -0.006276056636124849, 0.0022824418265372515, 0.03194637969136238, 0.023794475942850113, 0.031297046691179276, -0.00886355061084032, -0.006950804498046637, -0.006880887784063816, -0.030581342056393623, 0.03960460424423218, 0.0010243520373478532, -0.038316816091537476, -0.008363565430045128, 0.03452938050031662, -0.022847600281238556, -0.04350438714027405, -0.04833081737160683, -0.014074106700718403, 0.03281562775373459, 0.004707039799541235, -0.04282740131020546, -0.05448904633522034, -0.015051677823066711, 0.07733777165412903, -0.05350470915436745, -0.047486562281847, 0.015459205023944378, -0.06176779046654701, -0.006647592876106501, 0.03273632004857063, -0.03162263333797455, 0.011340183205902576, -0.05218907818198204, 0.03316834568977356, -0.024523302912712097, 0.030998699367046356, -0.036970533430576324, 0.002778459805995226, -0.10246539115905762, 0.0013942667283117771, -0.020879238843917847, 0.028117524459958076, 0.038097117096185684, -0.037709277123212814, 0.0444829948246479, 0.019655443727970123, 0.013339233584702015, 0.04427889361977577, -0.023605801165103912, 0.012498120777308941, 0.06291560083627701, -0.04257659986615181, -0.005771503318101168, 0.023273764178156853, 0.02187337726354599, -0.04833420738577843, -0.03813132643699646, -0.041413720697164536, -0.024539757519960403, -0.016821671277284622, 0.007332149893045425, 0.03648977726697922, -0.017436310648918152, 0.04736459627747536, 0.019891327247023582, 0.03902684524655342, 0.027517057955265045, -0.01244109682738781, 0.06122828647494316, -0.016548745334148407, -0.010277393274009228, -0.03720252588391304, -0.02942226268351078, -0.03923925757408142, 0.032063115388154984, 0.02220062166452408, -0.04861186817288399, -0.04806240648031235, 0.060518063604831696, 0.0023617891129106283, -0.01672334410250187, 0.048006147146224976, -0.02308517135679722, -0.0429423563182354, -0.06700123846530914, 0.02362060360610485, -0.011835921555757523, 0.0027969719376415014, 0.02862577885389328, -0.0896875262260437, 0.01903557777404785, -0.029130317270755768, -0.04408763721585274, 0.004036227706819773, 0.008560223504900932, -0.020478853955864906, 0.0522087998688221, 0.030291715636849403, -0.0633375346660614, -0.0017002709209918976, 0.011429684236645699, -0.059166956692934036, 0.039869487285614014, 0.0024382604751735926, 0.12704086303710938, -0.049610912799835205, -0.06098008155822754, 0.03741279989480972, 0.026503078639507294, -0.03503074124455452, -0.007985159754753113, 0.019737642258405685, -0.019047750160098076, -0.025466658174991608, -0.00426038121804595, 0.05615463852882385, -0.0682249441742897, -0.013521039858460426, 0.06226653605699539, -0.000292120996164158, 0.052761178463697433, -0.053231142461299896, -0.03315182030200958, -0.012455127201974392, -0.010960771702229977, -0.032083358615636826, 0.025572985410690308, -0.01571831852197647, -0.023085424676537514, -0.05628528073430061, -0.022617803886532784, 0.026206621900200844, 0.07425159215927124, -0.01893172413110733, -0.004071088973432779, -0.03590533882379532, 0.013898773118853569, 0.057413578033447266, 0.034581199288368225, -0.04334447532892227, 0.04400554299354553, 0.045450955629348755, 0.03266391530632973, -0.02437741309404373, 0.053191810846328735, -0.011688795872032642, -0.03445190191268921, -0.03780846297740936, 0.025234419852495193, 0.006807253696024418, -0.029392624273896217, 0.0219185221940279, 0.031543053686618805, -0.0045503475703299046, -0.04627664387226105, -0.023281138390302658, 0.05938045307993889, 0.018494199961423874, -0.005841247737407684, 0.001795011106878519, -0.003994577098637819, -0.02837526425719261, 0.02010446973145008, -0.027406685054302216, 0.00560442078858614, -0.025286005809903145, -0.05305607616901398, 0.0064300596714019775, 0.020360147580504417, 0.031216507777571678, 0.06093277409672737, 0.012197681702673435, 0.06031577289104462, -0.03326055780053139, 0.014454071410000324, -0.04244594648480415, -0.019864054396748543, -0.017487984150648117, 0.06115448847413063, 0.03057781234383583, 0.04747830703854561, -0.020228663459420204, -0.04695463180541992, 0.04338206723332405, 0.07269173860549927, 0.044050537049770355, 0.012370569631457329, -0.03433328494429588, -0.010916486382484436, 0.03131004050374031, 0.06761358678340912, -0.03496633097529411, -0.04128904640674591, 0.010877517983317375, 0.029961183667182922, -0.02978171780705452, 0.018251661211252213, -0.006021673325449228, 0.031945422291755676, -0.034185297787189484, -0.06242465227842331, 0.04115094244480133, 0.039421793073415756, 0.013735052198171616, 0.034188367426395416, -0.006623223889619112, 0.010213684290647507, 0.0477718710899353, 0.020287862047553062, -0.012452791444957256, -0.05297373607754707, 0.006393263582140207, 0.02071440778672695, 0.03573433309793472, -0.03394598886370659, 0.05310436338186264, -0.010490615852177143, -0.0063668000511825085, 0.025380661711096764, -0.03307599946856499, 0.03736169636249542, 0.03457765653729439, 0.014902953058481216, -0.03585125133395195, 0.033226530998945236, 0.02332988567650318, 0.042163390666246414, 0.059164680540561676, -0.0043542697094380856, 0.06262987852096558, 0.01351545937359333, 0.033657073974609375, 0.08216467499732971, 0.034423064440488815, 0.018565472215414047, 0.02015325054526329, 0.06250882148742676, 0.002263397676870227, -0.022277237847447395, 0.05489955469965935, -0.05759584531188011, 0.015389785170555115, -0.05102738365530968, 0.004645441193133593, 0.00861482322216034, -0.024127144366502762, 0.05103522166609764, 0.01568540185689926, -0.025080809369683266, 0.025318829342722893, -0.022407291457057, -0.024386383593082428, 0.053245119750499725, -0.0029268197249621153, 0.01237860880792141, -0.012323611415922642, -0.037849776446819305, 0.011661531403660774, -0.08430223166942596, -0.038225334137678146, -0.001106349634937942, -0.028711894527077675, -0.0029579612892121077, -0.08748962730169296, -0.021796243265271187, -0.06840135902166367, -0.006926233414560556, 0.03630911931395531, 0.022383686155080795, 0.00007455330342054367, -0.05077466368675232, 0.02062980830669403, -0.04920665919780731, -0.0012611857382580638, -0.04670660197734833, -0.055584389716386795, -0.05217445269227028, -0.05564352124929428, 0.04029187187552452, 0.04125248268246651, 0.023770425468683243, 0.015687456354498863, 0.009544864296913147, -0.01607554219663143, -0.02311582863330841, 0.05135618895292282, 0.04264654219150543, -0.03958917036652565, -0.0440562479197979, 0.024758355692029, -0.001959526212885976, 0.023255543783307076, -0.0016814053524285555, -0.03826718032360077, 0.08212501555681229, 0.07516463100910187, 0.016062764450907707, 0.0241332296282053, -0.03295055031776428, -0.06555919349193573, -0.05284854769706726, -0.02560415118932724, -0.04314985126256943, 0.006021063309162855, -0.0385858491063118, -0.022833507508039474, -0.02000684104859829, -0.04471150040626526, -0.010717084631323814, -0.013178340159356594, 0.005470144562423229, 0.03660652041435242, 0.03202276676893234, 0.013428696431219578, 0.019467659294605255, -0.030976777896285057, -0.0193634033203125, 0.08402877300977707, 0.007317280862480402, 0.006168433465063572, -0.07330387085676193, -0.03437879681587219, 0.041828662157058716, 0.030141450464725494, -0.0022051313426345587, -0.018733767792582512, 0.09058452397584915, 0.02250974252820015, 0.0003570455592125654, 0.010061835870146751, -0.016505995765328407, -0.052915532141923904, -0.013833584263920784, 0.01116106752306223, -0.024179786443710327, -0.031116502359509468, -0.029205309227108955, -0.009959193877875805, 0.05115431547164917, -0.06126027926802635, -0.06772983819246292, -0.009737776592373848, 0.036280520260334015, 0.026862576603889465, -0.0032637063413858414, -0.038412921130657196, -0.0008274457068182528, -0.04654815047979355, -0.01259977463632822, -0.0033370377495884895, -0.0031688858289271593, 0.022509707137942314, 0.046736445277929306, 0.02882862463593483, -0.032688748091459274, 0.04991840943694115, 0.03253064304590225, 0.05210243910551071, 0.010600234381854534, -0.03988764435052872, 0.0018144487403333187, -0.022365938872098923, 0.012404127977788448, -0.005922561511397362, -0.025845497846603394, -0.04661441221833229, -0.08943072706460953, 0.014564326032996178, 0.009742103517055511, -0.022928904742002487, -0.012868165969848633, 0.04442710429430008, -0.03272330015897751, -0.0012243717210367322, 0.005669581238180399, 0.014971507713198662, 0.027388552203774452, -0.052770353853702545, 0.06323321908712387, -0.006046623457223177, -0.0019759403076022863, -0.048776447772979736, 0.018561596050858498, -0.04784702509641647, -0.0042717549949884415, 0.007725267671048641, 0.06736075133085251, 0.036368612200021744, 0.059086550027132034, 0.10654562711715698, 0.04512401670217514, -0.048843882977962494, 0.04124794900417328, 0.03637190908193588, -0.03103603422641754, -0.043416813015937805, -0.008195089176297188, -0.019901568070054054, -0.017717963084578514, -0.027129989117383957, -0.011447100900113583, 0.03012756071984768, 0.030918503180146217, -0.008199803531169891, 0.0017472372855991125, 0.012397648766636848, -0.034889791160821915, -0.04165711998939514, -0.06683264672756195, -0.033090732991695404, 0.00823537539690733, -0.013688805513083935, 0.04864443838596344, 0.01169628370553255, 0.03005414828658104, 0.06685799360275269, 0.07222357392311096, -0.023264164105057716, -0.018112998455762863, 0.03494451195001602, 0.036590173840522766, -0.031465064734220505, -0.04810994118452072, -0.02174636349081993, 0.06351805478334427, 0.05824435502290726, 0.005376608110964298, -0.06592009961605072, -0.0005137016996741295, 0.05472103878855705, -0.02756739780306816, 0.04315362870693207, -0.009514675475656986, 0.04496477171778679, 0.047101814299821854, -0.019969727843999863, 0.03640175983309746, -0.01205330528318882, 0.012606743723154068, 0.00144781859125942, 0.006922274827957153, -0.013632364571094513, -0.04186433553695679, -0.036293793469667435, 0.030399136245250702, 0.007578912191092968, 0.04185822606086731, 0.06715298444032669, -0.02696017548441887, -0.048356130719184875, 0.010870550759136677, 0.0267865639179945, -0.03230128064751625, 0.008768117986619473, 0.020947061479091644, 0.042230404913425446, -0.0388767383992672, -0.03864339366555214, -0.04189347103238106, -0.011434662155807018, 0.029245510697364807, -0.0008199867443181574, -0.028014477342367172, -0.03943084925413132, 0.027448683977127075, -0.04205130785703659, -0.01544403936713934, -0.07511844485998154, 0.03567855805158615, -0.01798480562865734, -0.017762916162610054, 0.029091715812683105, 0.03305540233850479, 0.04675811156630516, 0.07129298150539398, 0.002489417092874646, 0.011416100896894932, -0.05306899920105934, 0.04590945318341255, -0.032052915543317795, -0.012539274990558624, -0.01621975377202034, -0.022223003208637238, -0.0015104018384590745, -0.055814921855926514, -0.038000334054231644, -0.03750722482800484, -0.011587394401431084, 0.009287795051932335, -0.002013196237385273, -0.0018564224010333419, -0.012926722876727581, 0.04836508631706238, -0.004249707795679569, -0.027086302638053894, -0.027348732575774193, -0.05183618888258934, -0.06645762920379639, -0.05694374442100525, 0.003784041851758957, 0.0007732834783382714, 0.044447991997003555, 0.007131064776331186, 0.02088581584393978, -0.00135193788446486, 0.0025721746496856213, -0.012962550856173038, 0.03559855744242668, -0.010504335165023804, -0.03770846128463745, -0.029637543484568596, 0.008572154678404331, 0.0023483301047235727, 0.02695315331220627, -0.0333721898496151, 0.042726069688797, 0.018165050074458122, -0.04068227857351303, -0.012043782509863377, 0.04387776926159859, 0.039084017276763916, -0.07026936113834381, -0.0477059930562973, -0.009804842062294483, -0.03807244077324867, 0.022528648376464844, -0.03036969155073166, -0.024721097201108932, 0.02069162391126156, 0.03151935338973999, 0.03557834401726723, -0.0034142101649194956, -0.03539513424038887, 0.0054945750162005424, -0.025223232805728912, 0.028965363278985023, -0.0483119897544384, 0.0575832799077034, -0.05062088370323181, -0.005461107473820448, 0.0046391356736421585, 0.00454357173293829, -0.04226614907383919, 0.029659217223525047, -0.02710679918527603, -0.011297418735921383, -0.021695084869861603, 0.0029402433428913355, -0.025665830820798874, 0.028856024146080017, -0.03533286973834038, 0.014270277693867683, -0.035465795546770096, 0.05667155981063843, -0.04011237248778343, 0.005954495165497065, -0.034542955458164215, 0.01924807019531727, -0.03922045975923538, -0.0014953550416976213, 0.008232582360506058, -0.03053613379597664, 0.014493981376290321, 0.03467973694205284, 0.041010741144418716, 0.047065168619155884, -0.020254401490092278, -0.013525538146495819, 0.014632616192102432, -0.04701319709420204, -0.026802198961377144, -0.002318872371688485, 0.010397328063845634, 0.0005297003081068397, 0.04555806145071983, 0.03598468378186226, -0.060120515525341034, -0.05739530920982361, 0.055854495614767075, 0.02346031181514263, 0.007850367575883865, 0.00020651851082220674, 0.04060867056250572, 0.020658960565924644, 0.03817673400044441, -0.029659096151590347, 0.003294143360108137, -0.008451202884316444, -0.03446591645479202, 0.015457033179700375, -0.001762802479788661, -0.005447310861200094, 0.02327250875532627, -0.01903749257326126, -0.030790871009230614, 0.07030148804187775, 0.006493734661489725, -0.00756208598613739, 0.014281932264566422, -0.042668040841817856, 0.01049384567886591, -0.004353828728199005, -0.05324443802237511, 0.0014115588273853064, -0.009239839389920235, -0.0267244353890419, 0.062248263508081436, -0.02216997742652893, 0.01677646115422249, 0.05971831455826759, 0.020762581378221512, 0.0007482744986191392, 0.03641548380255699, -0.016359515488147736, 0.025257986038923264, 0.03739793598651886, -0.06185226887464523, -0.018213847652077675, -0.024534711614251137, 0.08488383889198303, -0.042722657322883606, 0.0618460476398468, 0.0685218870639801, 0.016392650082707405, 0.024201728403568268, -0.02463100664317608, -0.055908020585775375, -0.000034326276363572106, -0.04513765871524811, 0.059545718133449554, 0.026219075545668602, -0.0504734106361866, 0.06266611814498901, 0.027976294979453087, -0.08415684103965759, 0.05793803930282593, 0.03963099420070648, 0.037598609924316406, 0.028966683894395828, 0.027552856132388115, -0.05406627804040909, -0.017458077520132065, -0.02948317676782608, 0.030866805464029312, -0.03552059456706047, -0.009857982397079468, 0.028278641402721405, -0.048908013850450516, -0.01862075738608837, 0.04615398123860359, -0.03220368176698685, -0.032884690910577774, 0.04896261543035507, -0.0721779614686966, -0.043838147073984146, 0.00044006953248754144, 0.020669829100370407, -0.045090194791555405, 0.009020162746310234, -0.03701956942677498, 0.05338745191693306, 0.009810209274291992, -0.0020926911383867264, -0.009999916888773441, 0.011127040721476078, 0.029294949024915695, -0.06080762296915054, -0.029977280646562576, 0.04012266919016838, 0.007135214749723673, -0.034367308020591736, 0.02304801717400551, -0.017520051449537277, 0.0003197177138645202, 0.01404536422342062, -0.009089097380638123, 0.009482798166573048, -0.04553314670920372, -0.012300804257392883, 0.02720269002020359, -0.0015900402795523405, 0.04778927564620972, -0.015697665512561798, 0.02912556380033493, 0.035195864737033844, 0.05784868076443672, -0.024770056828856468, -0.030988305807113647, -0.023860977962613106, 0.026380691677331924, -0.03607112541794777, -0.008248474448919296, -0.0026404568925499916, -0.059982556849718094, -0.04438433796167374, -0.016903329640626907, -0.014448294416069984, 0.02429819107055664, -0.06048942729830742, 0.0064059775322675705, 0.010269053280353546, -0.012234611436724663, -0.04325167089700699, -0.09772223979234695, -0.017613453790545464, -0.05133720859885216, 0.05051232501864433, 0.014558055438101292, -0.03485408052802086, 0.02888244204223156, -0.04822766035795212, -0.050668347626924515, 0.027273675426840782, 0.012657622806727886, -0.04109992831945419, 0.03424037620425224, 0.04129286855459213, -0.046412400901317596, 0.01688181422650814, 0.045382481068372726, -0.043226152658462524, 0.03021768480539322, 0.023641707375645638, 0.007462028879672289, 0.0225512832403183, 0.025895006954669952, -0.030689436942338943, -0.02936984784901142, -0.06714625656604767, -0.035416971892118454, -0.03752080723643303, 0.0219420175999403, 0.05049215257167816 ]
Bagus/wav2vec2-xlsr-japanese-speech-emotion-recognition
[ "pytorch", "wav2vec2", "audio-classification", "ja", "dataset:jtes", "transformers", "audio", "speech", "speech-emotion-recognition", "has_space" ]
audio-classification
{ "architectures": [ "HubertForSequenceClassification" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
26
null
--- language: "mn" thumbnail: "https://avatars.githubusercontent.com/u/43239645?s=60&v=4" tags: - gpt2 datasets: - oscar --- # Mongolian GPT2 Goal is to create a strong language generation model for Mongolian Since initial code and data is pretty much written by @patrickvonplaten and other huggingface members, it should not be so hard to get the first sense. ## Model Randomly initialized GPT2 model ## Datasets We can use OSCAR which is available through datasets ## Datasets A causal language modeling script for Flax is available here 1. It can be used pretty much without any required code changes. If there is time left, I’d love to try some private crawling and integrate it datasets. ## Expected Outcome Understandable Mongolian text generation model ## Challenges Lack of data → OSCAR Mongolian is just 2.2G. Maybe we need to research ways to acquire more data with this.
[ -0.014176750555634499, -0.029897674918174744, 0.014025229960680008, 0.05921613797545433, 0.04721527174115181, 0.007829664275050163, 0.004918461665511131, -0.025338536128401756, -0.030618984252214432, 0.055806323885917664, 0.05325795337557793, -0.02437828853726387, -0.00006607743125641719, 0.022828558459877968, -0.01806381158530712, -0.007751865312457085, -0.04312697425484657, -0.008955166675150394, -0.05989067256450653, 0.029806727543473244, 0.011815732344985008, 0.00864923931658268, -0.017960907891392708, 0.012485438026487827, -0.0008276645676232874, 0.04087487608194351, -0.018505489453673363, 0.01708235777914524, 0.024702776223421097, -0.06309141963720322, -0.02939918451011181, -0.039477284997701645, 0.004883522167801857, -0.011100351810455322, -0.04684769734740257, -0.006456337869167328, -0.01298736222088337, -0.016146278008818626, 0.02443370223045349, 0.056631967425346375, -0.033099234104156494, 0.005368054378777742, 0.012547523714601994, -0.03654959052801132, 0.022200830280780792, -0.016092374920845032, -0.028981436043977737, -0.03174857795238495, 0.04988236352801323, 0.00014997509424574673, -0.008188730105757713, -0.07289791852235794, -0.02882305532693863, 0.019870655611157417, 0.004088559187948704, -0.046510450541973114, -0.06860893964767456, 0.005416737403720617, 0.08434722572565079, -0.04825107008218765, -0.04749741405248642, 0.0009746331488713622, -0.028444845229387283, 0.03702860698103905, 0.06202937662601471, -0.018010981380939484, 0.0022261717822402716, -0.012153038755059242, 0.02621772140264511, -0.021196503192186356, 0.03142067790031433, -0.03986715152859688, 0.009247500449419022, -0.11822262406349182, -0.027139684185385704, -0.021297233179211617, 0.05223197862505913, 0.04250835254788399, -0.03414689749479294, 0.05986131727695465, 0.03938226401805878, -0.00949501059949398, 0.00020826113177463412, -0.011105185374617577, -0.01879819482564926, 0.046489160507917404, -0.01635395735502243, 0.02027529664337635, -0.012116208672523499, 0.04613419622182846, -0.05199805647134781, -0.03153761848807335, -0.05345708876848221, -0.022968772798776627, -0.008036880753934383, 0.019683342427015305, 0.01686578057706356, -0.0286023560911417, 0.04998249188065529, 0.04779841750860214, 0.015562127344310284, 0.039514102041721344, -0.010753880254924297, 0.04789842292666435, 0.0018975842976942658, -0.0011125726159662008, -0.02081996016204357, -0.061723046004772186, -0.05861753225326538, -0.011268338188529015, 0.0323307067155838, -0.05035143345594406, -0.03187284246087074, 0.04793263599276543, 0.01627195067703724, -0.03507542982697487, 0.038122523576021194, -0.023630529642105103, -0.050855252891778946, -0.08606789261102676, 0.041459571570158005, 0.011438473127782345, 0.006690617185086012, -0.002393864095211029, -0.06408841162919998, 0.058478761464357376, -0.044067662209272385, -0.0033231351990252733, -0.007088667247444391, 0.025477755814790726, -0.02805662341415882, 0.018905820325016975, 0.01540832407772541, -0.060197047889232635, 0.013801616616547108, 0.02031986601650715, -0.0628809854388237, 0.04540739580988884, 0.013887437991797924, 0.12250182777643204, -0.05548793822526932, -0.0399334616959095, 0.028039876371622086, 0.00031023251358419657, -0.0266129020601511, -0.00929222535341978, -0.016060281544923782, -0.0497010163962841, -0.010418345220386982, -0.03411120921373367, 0.03134884685277939, -0.0523032508790493, 0.018180465325713158, 0.05252595245838165, 0.017927082255482674, 0.044729676097631454, -0.020627249032258987, -0.018475841730833054, 0.007532650604844093, -0.0014265577774494886, -0.03465108200907707, 0.038942888379096985, 0.0044254641979932785, 0.0006813232903368771, -0.06172281876206398, -0.03616463765501976, 0.016614001244306564, 0.07645705342292786, 0.005192802753299475, -0.028517184779047966, 0.0028886632062494755, 0.029906049370765686, 0.03956611081957817, 0.04398873448371887, -0.03867264837026596, 0.03742537274956703, 0.04249892011284828, 0.005209363531321287, -0.02246319130063057, 0.09021344035863876, 0.002886703470721841, -0.02105836011469364, -0.029436947777867317, 0.007589512970298529, 0.022792775183916092, -0.01691746711730957, -0.0038417745381593704, 0.06962322443723679, 0.007751251105219126, 0.012104470282793045, 0.006181024480611086, 0.027385814115405083, -0.034050289541482925, -0.006249472964555025, 0.00871401745826006, 0.0059842560440301895, -0.007168642710894346, 0.05549677833914757, -0.034058455377817154, -0.0021363096311688423, -0.022444643080234528, -0.021864283829927444, 0.021903952583670616, 0.04223089665174484, 0.049612853676080704, 0.04285889491438866, -0.014654060825705528, 0.09351765364408493, 0.0021892432123422623, -0.023102648556232452, -0.06886621564626694, -0.04748346656560898, -0.026851043105125427, 0.03940699249505997, 0.010494852438569069, 0.03504805266857147, -0.01292005367577076, -0.06378202885389328, 0.02815135568380356, 0.06579412519931793, 0.08928374201059341, 0.038923438638448715, -0.038975559175014496, 0.019587447866797447, 0.023625869303941727, 0.05835030600428581, -0.05171642825007439, -0.05255088955163956, 0.032015345990657806, 0.03607358783483505, -0.047197092324495316, 0.028746958822011948, 0.0034186262637376785, 0.0327812097966671, -0.017112821340560913, -0.0821085050702095, 0.028717532753944397, 0.0346682071685791, 0.028898073360323906, 0.011663027107715607, -0.024108823388814926, 0.03715305030345917, 0.01436819788068533, -0.025845862925052643, -0.007315842434763908, -0.058040767908096313, -0.0016949842683970928, 0.036223217844963074, 0.06364097446203232, -0.03431439399719238, 0.028036681935191154, -0.0004031442804262042, 0.004800423979759216, 0.03253516927361488, -0.06557520478963852, 0.04019413888454437, 0.019143255427479744, 0.019500991329550743, -0.029090072959661484, 0.019731273874640465, 0.03203507140278816, 0.041010499000549316, 0.05277496948838234, -0.009392932057380676, 0.0649900734424591, -0.01454186998307705, 0.06369876861572266, 0.09104706346988678, 0.02226504683494568, 0.00361616350710392, 0.008432609960436821, 0.05864524841308594, 0.0020116132218390703, -0.015850983560085297, 0.05250353738665581, -0.04207756742835045, 0.009283621795475483, -0.01956779882311821, -0.006946665234863758, -0.005455085076391697, -0.006458144634962082, 0.03472395986318588, 0.0388406366109848, -0.010141581296920776, 0.028951341286301613, 0.0039399536326527596, -0.01652124710381031, 0.01876484416425228, 0.0005468856543302536, -0.0019553345628082752, -0.026748910546302795, -0.03300027176737785, 0.030769292265176773, -0.060847438871860504, -0.045867595821619034, 0.0025973066221922636, -0.03221458941698074, 0.020474128425121307, -0.09636833518743515, -0.029803847894072533, -0.05876310169696808, -0.012139023281633854, 0.03638358786702156, 0.04415302723646164, 0.022673794999718666, -0.042861804366111755, 0.006823561154305935, -0.04414566978812218, -0.007504596840590239, -0.040500860661268234, -0.03780035302042961, -0.009760607965290546, -0.05643636733293533, 0.03951103240251541, 0.035211581736803055, 0.02156428061425686, 0.011291495524346828, 0.0031834114342927933, -0.020350443199276924, -0.023495012894272804, 0.028240477666258812, 0.03841162472963333, -0.054705455899238586, -0.051028069108724594, 0.03948735445737839, 0.01094824355095625, 0.024936184287071228, -0.01302068866789341, -0.020001374185085297, 0.06992550939321518, 0.061772800981998444, 0.009213803336024284, -0.014944639056921005, 0.0036686169914901257, -0.035627927631139755, -0.04344967380166054, -0.03557076305150986, -0.048407942056655884, -0.03226425126194954, 0.003973498474806547, -0.03491681441664696, 0.002827549586072564, -0.006706962361931801, -0.018460623919963837, -0.010509088635444641, -0.009212883189320564, 0.027470972388982773, 0.04291355982422829, 0.03745654970407486, 0.02152281254529953, -0.041439954191446304, -0.0017896309727802873, 0.0653901919722557, -0.0010570406448096037, -0.019375763833522797, -0.04285204038023949, -0.05440162494778633, 0.042540792375802994, 0.03432462736964226, 0.01426891889423132, -0.012183472514152527, 0.04965287446975708, 0.020815296098589897, 0.01149468868970871, 0.034941866993904114, -0.05372578650712967, -0.05298365280032158, -0.008977342396974564, -0.0017193170497193933, -0.02304483763873577, -0.04269048944115639, 0.0025153409224003553, -0.018604826182127, 0.06620530039072037, -0.07045107334852219, -0.0432412251830101, -0.027755850926041603, -0.00579247297719121, 0.024407776072621346, 0.002138907089829445, -0.028759365901350975, 0.020403988659381866, -0.028619367629289627, -0.042798180133104324, -0.004231950268149376, -0.007206941023468971, 0.013371915556490421, 0.05655507743358612, 0.03248024359345436, -0.026094987988471985, 0.04050134867429733, 0.006697965320199728, 0.06455928087234497, 0.025713378563523293, -0.0340409129858017, 0.043949276208877563, -0.027799906209111214, 0.0432869978249073, -0.00007621905388077721, -0.04893796518445015, -0.06933179497718811, -0.0820152536034584, -0.02333374135196209, 0.016526024788618088, -0.021012788638472557, 0.009796452708542347, 0.055478136986494064, -0.026882566511631012, -0.009423375129699707, 0.00796437170356512, 0.015849193558096886, 0.0553835891187191, -0.06879463791847229, 0.06268788874149323, 0.008304440416395664, 0.02088891714811325, -0.06457145512104034, 0.005788308102637529, -0.022801773622632027, -0.018568838015198708, 0.01099693775177002, 0.04570235684514046, 0.027011295780539513, 0.018850762397050858, 0.05573458597064018, 0.03497610613703728, -0.028804579749703407, 0.061133742332458496, 0.008704506792128086, -0.0048859501257538795, -0.05548223853111267, -0.019352475181221962, -0.02691861428320408, -0.022578246891498566, -0.016266394406557083, -0.021620362997055054, 0.04086146876215935, 0.029502518475055695, 0.009032092988491058, -0.017215333878993988, -0.011900215409696102, -0.01986556686460972, -0.038247909396886826, -0.07826016843318939, -0.02343195490539074, -0.005126136355102062, -0.06128143146634102, 0.018767021596431732, 0.045242734253406525, 0.02083396725356579, 0.07169535011053085, 0.043944958597421646, -0.007165888324379921, -0.05112861096858978, 0.04049499332904816, 0.021595019847154617, -0.029198726639151573, -0.0452464260160923, -0.042804352939128876, 0.033206865191459656, 0.03181176260113716, 0.002366142813116312, -0.05653613060712814, 0.01699490286409855, 0.04326646402478218, -0.04077111557126045, 0.041194476187229156, -0.03849529102444649, 0.038189806044101715, 0.04596038907766342, -0.004372374154627323, 0.00482701463624835, -0.02715279906988144, 0.016807109117507935, -0.012880286201834679, 0.020389214158058167, -0.03315811976790428, -0.02038414776325226, -0.04440482705831528, 0.04195946455001831, 0.035647597163915634, 0.02486857958137989, 0.025742605328559875, -0.044070933014154434, -0.056250251829624176, -0.014006516896188259, 0.010143791325390339, -0.05981973186135292, 0.030257564038038254, 0.04808399826288223, 0.042751144617795944, -0.054360516369342804, -0.026615533977746964, -0.02446889877319336, 0.03620275482535362, 0.013212011195719242, -0.007278197444975376, -0.03501003980636597, -0.05531436577439308, 0.004178142175078392, 0.0011288558598607779, -0.03576679155230522, -0.08154196292161942, 0.011258509941399097, -0.029786381870508194, -0.045711152255535126, 0.03866546228528023, 0.05883975699543953, 0.016544073820114136, 0.0430593267083168, 0.015044469386339188, 0.021135618910193443, -0.03974677994847298, 0.041091613471508026, -0.013417021371424198, -0.014162936247885227, -0.006714958697557449, -0.03420951962471008, 0.012918530032038689, -0.04227609932422638, -0.0480828694999218, -0.04319857060909271, -0.003670463804155588, 0.040429480373859406, -0.033059973269701004, 0.00012087408686056733, -0.005675030872225761, 0.030980808660387993, -0.017558913677930832, -0.01868017017841339, -0.03021172247827053, -0.03610404580831528, -0.07204851508140564, -0.040981993079185486, 0.02465505339205265, -0.019144855439662933, 0.014548107050359249, -0.033583201467990875, -0.012109819799661636, 0.015624136663973331, -0.009867032989859581, 0.003913909196853638, 0.05394227057695389, -0.007237658835947514, -0.020507441833615303, -0.03431854397058487, 0.020259758457541466, 0.02000417187809944, 0.03945690020918846, -0.015203018672764301, 0.03294988349080086, 0.02337265945971012, -0.04411090537905693, -0.003420372260734439, -0.008883275091648102, 0.029678745195269585, -0.07196197658777237, -0.04914097115397453, -0.00015004738816060126, -0.030224470421671867, 0.02553695999085903, -0.03847259283065796, -0.04754243046045303, 0.001647762837819755, 0.039386775344610214, 0.03672800958156586, 0.026448799297213554, -0.016646014526486397, 0.02732088603079319, -0.020834464579820633, -0.014825532212853432, -0.03961494565010071, 0.0452386811375618, -0.04958176985383034, 0.031491149216890335, -0.027985259890556335, 0.009968387894332409, -0.04449157044291496, 0.03655460104346275, 0.002643889980390668, -0.0000701330354786478, 0.0064236936159431934, 0.013712950050830841, -0.03043222613632679, 0.022180361673235893, -0.01011950708925724, 0.020645225420594215, -0.036141086369752884, 0.032797738909721375, -0.026295935735106468, 0.00382654438726604, -0.024807868525385857, 0.00571080856025219, -0.027872305363416672, -0.013960098847746849, -0.016383040696382523, -0.040507614612579346, 0.025966953486204147, 0.029977668076753616, 0.018334578722715378, 0.022366708144545555, -0.0030490802600979805, 0.024909397587180138, 0.00865179393440485, -0.06142338365316391, -0.003795565804466605, -0.015676012262701988, -0.002294946927577257, 0.013524639420211315, 0.044872213155031204, 0.033054184168577194, -0.04852132126688957, -0.0616924874484539, 0.06021522730588913, 0.026096386834979057, -0.005684114061295986, -0.0022800439037382603, -0.00019151663582306355, 0.021562838926911354, 0.055975332856178284, -0.04857371374964714, -0.008134421892464161, -0.017076503485441208, -0.03210362046957016, 0.02914132922887802, 0.0034141228534281254, 0.019471747800707817, 0.01290359441190958, -0.0338423065841198, -0.03705805167555809, 0.06468841433525085, 0.03431246057152748, -0.00044504902325570583, 0.0017077659722417593, -0.06151442974805832, 0.030025051906704903, 0.006072843912988901, -0.04597746953368187, -0.01620417833328247, 0.028715044260025024, -0.022511279210448265, 0.0662190169095993, -0.06995170563459396, 0.02155284583568573, 0.06856629252433777, 0.015304689295589924, -0.0158145222812891, 0.039542436599731445, -0.043741170316934586, 0.014741053804755211, 0.02770165354013443, -0.03713342174887657, -0.010133965872228146, -0.0339701846241951, 0.07170172035694122, -0.03891833871603012, 0.03952069953083992, 0.049448464065790176, 0.0064524090848863125, 0.035278718918561935, -0.02615208737552166, -0.022909700870513916, -0.0015254932222887874, -0.025942044332623482, 0.06651654839515686, 0.005463637411594391, -0.03858864679932594, 0.08045317232608795, 0.0006751844193786383, -0.05880643054842949, 0.05806198716163635, 0.08174209296703339, 0.002632527844980359, 0.03288044407963753, 0.0237303227186203, -0.06501944363117218, 0.04869220778346062, -0.02280210331082344, 0.014417310245335102, -0.05657628923654556, -0.015205646865069866, 0.012736973352730274, -0.0495050847530365, -0.017441079020500183, 0.027449840679764748, -0.012233391404151917, -0.008657808415591717, 0.024485886096954346, -0.049436889588832855, -0.05610090121626854, 0.0018374525243416429, 0.028916072100400925, -0.03285515308380127, -0.010022459551692009, -0.05090098828077316, 0.026645207777619362, -0.000970141205471009, 0.012730298563838005, -0.01468626968562603, 0.04987937957048416, 0.01744401454925537, -0.07520424574613571, -0.024309411644935608, 0.06356564909219742, 0.04073434695601463, -0.02366339974105358, 0.045568354427814484, -0.0025222988333553076, 0.009619238786399364, 0.021595913916826248, -0.008082440122961998, 0.00968626607209444, -0.038281019777059555, -0.02100270614027977, 0.039837468415498734, 0.009555166587233543, 0.033801812678575516, -0.019977418705821037, 0.020703542977571487, 0.0299980565905571, 0.0032293216791003942, 0.007954473607242107, -0.06255166977643967, -0.013150710612535477, 0.016381829977035522, -0.050711967051029205, 0.029205741360783577, -0.012899566441774368, -0.08103157579898834, -0.01661396585404873, 0.0026094389613717794, 0.00038277465500868857, 0.039655011147260666, -0.019161777570843697, -0.00812600739300251, 0.01157539151608944, -0.00990304071456194, -0.016398388892412186, -0.08060850948095322, -0.023157326504588127, -0.032243762165308, 0.010498633608222008, 0.037305351346731186, -0.04808972403407097, 0.03408803418278694, -0.05744069814682007, -0.051337018609046936, 0.0509929321706295, 0.007156289182603359, -0.04176224395632744, 0.05686530843377113, 0.05459367483854294, -0.032349858433008194, -0.007699490990489721, 0.02300203964114189, -0.05832051485776901, 0.041579991579055786, 0.013308577239513397, -0.004785497207194567, 0.026082713156938553, 0.04391518980264664, -0.009420827031135559, -0.010201975703239441, -0.04730723425745964, -0.0408271849155426, -0.02900792472064495, 0.013191844336688519, 0.08686326444149017 ]
Bakkes/BakkesModWiki
[]
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
# IndicNLP Marathi News Classifier This model was fine-tuned using [Marathi RoBERTa](https://huggingface.co/flax-community/roberta-base-mr) on [IndicNLP Marathi News Dataset](https://github.com/AI4Bharat/indicnlp_corpus#indicnlp-news-article-classification-dataset) ## Dataset IndicNLP Marathi news dataset consists 3 classes - `['lifestyle', 'entertainment', 'sports']` - with following docs distribution as per classes: | train | eval | test | | ----- | ---- | ---- | | 9672 | 477 | 478 | 💯 Our **`mr-indicnlp-classifier`** model fine tuned from **roberta-base-mr** Pretrained Marathi RoBERTa model outperformed both classifier mentioned in [Arora, G. (2020). iNLTK](https://www.semanticscholar.org/paper/iNLTK%3A-Natural-Language-Toolkit-for-Indic-Languages-Arora/5039ed9e100d3a1cbbc25a02c82f6ee181609e83/figure/3) and [Kunchukuttan, Anoop et al. AI4Bharat-IndicNLP.](https://www.semanticscholar.org/paper/AI4Bharat-IndicNLP-Corpus%3A-Monolingual-Corpora-and-Kunchukuttan-Kakwani/7997d432925aff0ba05497d2893c09918298ca55/figure/4) | Dataset | FT-W | FT-WC | INLP | iNLTK | **roberta-base-mr 🏆** | | --------------- | ----- | ----- | ----- | ----- | --------------------- | | iNLTK Headlines | 83.06 | 81.65 | 89.92 | 92.4 | **97.48** |
[ -0.026275422424077988, -0.02153119258582592, -0.010204539634287357, 0.05011051148176193, 0.04166364669799805, 0.04010467976331711, -0.028278697282075882, -0.017929043620824814, -0.018041839823126793, 0.05761084333062172, 0.02155281975865364, -0.03095252998173237, 0.02125255949795246, 0.017581641674041748, -0.024419208988547325, -0.03257402405142784, 0.002556809224188328, -0.031008562073111534, -0.03533906489610672, -0.0015698247589170933, 0.001833285903558135, -0.006512574385851622, -0.01348115224391222, 0.008866209536790848, 0.0007576021016575396, 0.012646801769733429, -0.0025273296050727367, 0.024329865351319313, 0.03219993785023689, -0.04883402958512306, 0.007993395440280437, -0.028493482619524002, -0.013506533578038216, -0.005714992992579937, -0.017216116189956665, 0.012827843427658081, 0.029589712619781494, 0.013444253243505955, 0.012629223056137562, 0.05036453902721405, -0.018543250858783722, 0.001120397704653442, -0.00022621863172389567, -0.010305655188858509, 0.04355422407388687, -0.008614161983132362, -0.04407810792326927, 0.0035022555384784937, 0.04225751385092735, -0.02762923203408718, -0.05653928592801094, -0.041986133903265, -0.05266832187771797, 0.02072654478251934, -0.006118375342339277, -0.010599687695503235, -0.02469068206846714, -0.01179998554289341, 0.03754940629005432, -0.05633438378572464, -0.03546048328280449, 0.004835117142647505, -0.09863312542438507, 0.016130737960338593, 0.02419452928006649, -0.03161037340760231, -0.002768154488876462, -0.04027764871716499, 0.026524988934397697, -0.014587526209652424, 0.05669989064335823, -0.06550928205251694, 0.005516390781849623, -0.07407408207654953, -0.009990915656089783, -0.014013060368597507, 0.0364924818277359, 0.061653122305870056, -0.033024467527866364, 0.04929956793785095, 0.021427761763334274, 0.005740212742239237, 0.02473892644047737, -0.010868249461054802, 0.012417566031217575, 0.03130748122930527, -0.026956064626574516, -0.00769750727340579, 0.023523416370153427, 0.030882135033607483, -0.044420234858989716, -0.03670082241296768, 0.0025711769703775644, -0.011075310409069061, -0.01605873554944992, 0.034036777913570404, 0.06095209717750549, -0.012945715337991714, 0.034054603427648544, 0.03789915516972542, 0.03953459486365318, 0.05130564421415329, -0.03480056673288345, 0.06341402232646942, 0.0005349247949197888, 0.013179775327444077, -0.030822431668639183, -0.034030746668577194, -0.06473685055971146, 0.026492364704608917, 0.036361660808324814, -0.06442712247371674, -0.0381600446999073, 0.040993619710206985, -0.012083114124834538, -0.03780687600374222, 0.030622031539678574, -0.016501085832715034, -0.06609988212585449, -0.054910242557525635, 0.046943966299295425, -0.03156320005655289, -0.01603095419704914, -0.01689453423023224, -0.030638253316283226, 0.018068969249725342, -0.05648178979754448, -0.03293405845761299, -0.014463191851973534, 0.023176921531558037, -0.010910283774137497, 0.04544306918978691, 0.03179534897208214, -0.07249414920806885, 0.006695909425616264, 0.01086866669356823, -0.058060068637132645, 0.039542462676763535, 0.03583451360464096, 0.11150075495243073, -0.05671346187591553, -0.05233278125524521, 0.04000597447156906, 0.03217831999063492, -0.011084678582847118, 0.008005711250007153, 0.000850068056024611, -0.040221285074949265, -0.043392445892095566, -0.018598508089780807, 0.042197033762931824, -0.05815395340323448, 0.026082955300807953, 0.05768590047955513, -0.0053362236358225346, 0.047367606312036514, -0.027592528611421585, -0.02939392812550068, 0.0003888579667545855, -0.007099861279129982, -0.06117546558380127, 0.038413211703300476, 0.022398820146918297, -0.0072216312400996685, -0.03570494428277016, -0.04620234668254852, 0.012994286604225636, 0.07829273492097855, -0.0005153678357601166, -0.02881871536374092, -0.03656919300556183, 0.014865958131849766, 0.03264132887125015, -0.024439308792352676, -0.04916159808635712, 0.008656907826662064, 0.05951849743723869, 0.04590367153286934, -0.048918064683675766, 0.045077644288539886, 0.016330886632204056, -0.019098879769444466, -0.013564039953052998, 0.026223378255963326, 0.021664174273610115, -0.027720754966139793, 0.008064106106758118, 0.06502547115087509, 0.01986367627978325, -0.018764493986964226, -0.02501404844224453, 0.08579367399215698, -0.011411377228796482, -0.015139400027692318, -0.0016098733758553863, -0.01023072749376297, -0.026485184207558632, 0.051355209201574326, -0.016443584114313126, 0.0017119204858317971, -0.03291098028421402, -0.020613977685570717, 0.043288420885801315, 0.03697032108902931, 0.040792208164930344, 0.03273870423436165, -0.010076699778437614, 0.09343939274549484, -0.051467351615428925, 0.01115328911691904, -0.031660281121730804, -0.053269125521183014, -0.0020758123137056828, 0.04718444496393204, 0.022331636399030685, 0.06433878093957901, -0.002830430632457137, -0.04906823858618736, 0.030435409396886826, 0.0535053014755249, 0.05477624386548996, 0.03793320059776306, -0.0033317292109131813, 0.007149767596274614, 0.01365943718701601, 0.025973033159971237, -0.0427287295460701, -0.05788755416870117, 0.021857373416423798, 0.03851233050227165, -0.02910851687192917, 0.00770180206745863, -0.03311028331518173, 0.031982991844415665, -0.059318434447050095, -0.07967626303434372, 0.04940207675099373, 0.012797343544661999, 0.02306291088461876, 0.011998981237411499, -0.017481418326497078, 0.007115419954061508, 0.04756259173154831, 0.011129703372716904, 0.005503648426383734, -0.04774029925465584, -0.011103233322501183, 0.008919774554669857, 0.05107226222753525, -0.020548563450574875, 0.05490392446517944, -0.0011043896665796638, 0.002709799213334918, 0.03972569480538368, -0.050344306975603104, 0.024065496399998665, 0.038206785917282104, 0.007612459361553192, -0.03664460778236389, 0.02551181986927986, -0.0003745658614207059, 0.03673805296421051, 0.06414733827114105, -0.005581083241850138, 0.03685355186462402, -0.02030692808330059, 0.04139645770192146, 0.08300689607858658, -0.00817811954766512, 0.022382112219929695, 0.021602768450975418, 0.05234859138727188, 0.01643185317516327, -0.013228843919932842, 0.0808618888258934, -0.059288568794727325, 0.0166550874710083, -0.044799450784921646, 0.03624911606311798, 0.0009119432070292532, 0.005422765389084816, 0.04627962037920952, 0.032183773815631866, -0.04443638026714325, 0.020055903121829033, -0.0007028281688690186, 0.013660549186170101, 0.03996641933917999, -0.03180089220404625, -0.009802808053791523, -0.02108565904200077, -0.0035951093304902315, 0.046941936016082764, -0.07361078262329102, -0.05504437908530235, 0.0066970344632864, -0.028233632445335388, 0.0028212449979037046, -0.09076607972383499, 0.00003931426181225106, -0.05363907292485237, -0.022414591163396835, 0.05224745348095894, 0.038035064935684204, 0.025692474097013474, -0.032671283930540085, 0.015549905598163605, -0.03315357863903046, -0.03987915813922882, -0.07587554305791855, -0.062433235347270966, -0.03641800954937935, -0.09344643354415894, 0.039256975054740906, 0.013786512427031994, 0.022644616663455963, 0.0011193386744707823, -0.002834957093000412, 0.0073677292093634605, -0.030969534069299698, 0.060359593480825424, 0.060557615011930466, -0.02157589979469776, -0.041661541908979416, 0.031783364713191986, -0.020688090473413467, -0.0036116749979555607, -0.006434100214391947, -0.0420488603413105, 0.05332944914698601, 0.07513385266065598, 0.045817505568265915, 0.015338745899498463, -0.013445642776787281, -0.05525848641991615, -0.06653360277414322, -0.04661906138062477, -0.03621911630034447, -0.01941053569316864, -0.018993642181158066, -0.06057480350136757, -0.008400305174291134, -0.019173774868249893, -0.013687974773347378, -0.05297514796257019, 0.009395106695592403, 0.013955890201032162, 0.04437422752380371, 0.06057410687208176, 0.01802056096494198, -0.028492115437984467, -0.020805981010198593, 0.06469449400901794, 0.050362035632133484, -0.00312613183632493, -0.05098573863506317, -0.03491337224841118, 0.05203614756464958, 0.03483031690120697, 0.004282776266336441, -0.027192072942852974, 0.08944381028413773, 0.012876897118985653, 0.004399975296109915, 0.014900310896337032, -0.0027752004098147154, -0.035861335694789886, 0.0033453672658652067, -0.006440445780754089, -0.01232084445655346, -0.03266121447086334, -0.02408927120268345, 0.0031280224211513996, 0.06121867522597313, -0.04475042596459389, -0.052542559802532196, -0.008181854151189327, 0.03742119297385216, 0.01669764332473278, -0.0010211740154772997, -0.04570743069052696, 0.008434870280325413, -0.04802282899618149, -0.010377736762166023, 0.013176461681723595, -0.003922030795365572, 0.0013444204814732075, 0.04161262884736061, 0.031600628048181534, -0.0327652245759964, 0.02732641063630581, -0.000529305194504559, 0.05040358006954193, 0.00648115947842598, -0.06362070888280869, 0.044081296771764755, -0.012738289311528206, 0.001580042764544487, -0.018810732290148735, -0.02499334141612053, -0.03111284226179123, -0.06282608211040497, 0.01407057885080576, 0.005293239839375019, -0.014289570041000843, -0.030349936336278915, 0.03746896982192993, 0.002713599009439349, -0.024002712219953537, 0.0026853037998080254, 0.03424440696835518, 0.01779892109334469, -0.05600147321820259, 0.03600352630019188, -0.020748751237988472, 0.052293773740530014, -0.06350048631429672, -0.011087918654084206, -0.046010684221982956, -0.04462544620037079, 0.016341088339686394, 0.06452638655900955, 0.008413612842559814, 0.01722691021859646, 0.06026601046323776, 0.01764899678528309, -0.03234724700450897, 0.06265953928232193, 0.043908942490816116, -0.018221676349639893, -0.0496276393532753, -0.0012362709967419505, -0.014415044337511063, -0.04174819588661194, -0.051856961101293564, -0.03668065741658211, 0.04412585869431496, 0.04746859148144722, -0.016994934529066086, -0.003166164504364133, 0.026055917143821716, -0.03139735013246536, -0.006122236140072346, -0.05321139469742775, -0.01059766486287117, -0.007146361283957958, -0.04364136606454849, 0.01795412041246891, 0.018565179780125618, 0.01707446202635765, 0.04879239574074745, 0.049126360565423965, -0.04119718447327614, -0.034554243087768555, 0.021067094057798386, 0.02606639638543129, -0.07017304748296738, -0.016886122524738312, -0.02721080556511879, 0.03796442598104477, 0.04705653712153435, -0.036580197513103485, -0.07495512813329697, 0.0031362210866063833, 0.03461837023496628, -0.03936150670051575, 0.05391942337155342, 0.012468897737562656, 0.03384223207831383, 0.03436486795544624, -0.021570853888988495, 0.015154852531850338, -0.01852581463754177, -0.02387324534356594, -0.019180778414011, 0.045530762523412704, -0.0353696346282959, -0.04632268846035004, -0.03798950836062431, 0.02922842651605606, 0.014166516251862049, 0.05356437340378761, 0.06683727353811264, -0.04215453937649727, -0.04085129126906395, 0.0028551656287163496, 0.04118633270263672, -0.01796763576567173, 0.03395078703761101, 0.048608407378196716, 0.03826912119984627, -0.0371939092874527, -0.06284698098897934, 0.028401093557476997, -0.003282242687419057, 0.014123605564236641, -0.0008696686709299684, -0.042169760912656784, -0.04514084756374359, -0.0008929978357627988, -0.003671978134661913, -0.00612229947000742, -0.09017225354909897, 0.024864451959729195, -0.00572457630187273, -0.020327329635620117, 0.05179712548851967, 0.03998856246471405, 0.0358542837202549, 0.04062128812074661, -0.006468347739428282, 0.017944850027561188, -0.006626805756241083, 0.05301803722977638, -0.009392577223479748, -0.009836091659963131, -0.010372673161327839, -0.05400775745511055, -0.012870203703641891, -0.033053766936063766, -0.044467974454164505, -0.05307857319712639, -0.021664602681994438, 0.010465985164046288, -0.029878966510295868, 0.009454137645661831, 0.0044982233084738255, 0.05504729598760605, -0.027108803391456604, -0.05915001779794693, -0.05385277047753334, -0.02595638856291771, -0.05975213274359703, -0.05276499316096306, 0.02032211422920227, 0.00002283764843014069, 0.027783285826444626, 0.0022167570423334837, -0.010672740638256073, 0.021487807855010033, -0.0007668695761822164, -0.04712643101811409, 0.033318690955638885, 0.0034159664064645767, -0.03897758573293686, -0.04135148599743843, -0.0039662704803049564, 0.020461980253458023, 0.006440012715756893, -0.01921987719833851, 0.01095528993755579, 0.010783953592181206, -0.03414932265877724, -0.005505044478923082, 0.02349499799311161, 0.02919597364962101, -0.06358053535223007, -0.06624215841293335, -0.027639878913760185, -0.03591237589716911, 0.037100765854120255, -0.014328835532069206, -0.027373209595680237, 0.02327077090740204, 0.01341827679425478, 0.026346620172262192, -0.0018263851525261998, -0.05122683197259903, 0.011042198166251183, -0.03930522873997688, 0.0004647471650969237, -0.05311987176537514, 0.02308419905602932, -0.039946138858795166, 0.01034921407699585, -0.021432964131236076, -0.021934572607278824, -0.04723668098449707, 0.04357265308499336, -0.006975224241614342, 0.0010811259271577, -0.009643666446208954, 0.02458273246884346, -0.04200422018766403, 0.03312079980969429, -0.014888258650898933, 0.01483988668769598, -0.017560599371790886, 0.07554745674133301, -0.031967893242836, 0.010854954831302166, -0.023046275600790977, 0.01037681009620428, -0.011441304348409176, -0.014103705994784832, -0.021393809467554092, -0.029887577518820763, 0.017508728429675102, 0.02148529887199402, 0.05290180444717407, 0.046984147280454636, -0.008845632895827293, 0.023068858310580254, 0.0108967749401927, -0.06703190505504608, -0.009875960648059845, 0.0008385281544178724, 0.03179445490241051, -0.03145546466112137, 0.06414800137281418, 0.016927465796470642, -0.061870936304330826, -0.04155414551496506, 0.04325675591826439, 0.019616996869444847, 0.011932829394936562, 0.003058101050555706, 0.01845049485564232, 0.034490760415792465, 0.01963280886411667, -0.0392373763024807, -0.05451127141714096, -0.016321593895554543, -0.024200046434998512, 0.030590904876589775, -0.01127066183835268, 0.027653640136122704, 0.018523257225751877, -0.0316334068775177, -0.00881047360599041, 0.09327251464128494, 0.01699528470635414, -0.003511883784085512, -0.017607497051358223, -0.05874188616871834, 0.030540257692337036, 0.03333049267530441, -0.057137373834848404, -0.00020037119975313544, 0.0064539834856987, -0.03505631908774376, 0.06300011277198792, -0.01014599297195673, 0.0178211722522974, 0.051049843430519104, 0.028507059440016747, -0.007012168876826763, 0.08073271811008453, -0.03907697647809982, 0.007354447152465582, 0.033590078353881836, -0.05476786196231842, -0.024637768045067787, -0.041830942034721375, 0.061497971415519714, -0.0717228353023529, 0.05670233070850372, 0.03696896880865097, 0.02533317171037197, 0.019465191289782524, -0.04531499370932579, -0.03705396130681038, 0.01956695131957531, -0.008572042919695377, 0.060696110129356384, 0.03780404478311539, -0.06621269881725311, 0.05959022045135498, 0.03328411281108856, -0.08720283955335617, 0.03684977442026138, 0.04156411066651344, 0.012329911813139915, 0.02348635531961918, 0.020401163026690483, -0.05788165330886841, 0.0009721043170429766, -0.04298858344554901, 0.02895563840866089, -0.07509791851043701, -0.004290626849979162, 0.004241099115461111, -0.04280940815806389, -0.006075901910662651, 0.034950412809848785, -0.03181058168411255, 0.012539302930235863, 0.0396408848464489, -0.01070434134453535, -0.02813856117427349, 0.010309888049960136, 0.0067027476616203785, -0.028806928545236588, 0.003297229530289769, -0.03717833757400513, 0.00801936350762844, 0.020769478753209114, 0.010677698068320751, -0.03651832416653633, -0.014193371869623661, 0.042298346757888794, -0.059508658945560455, -0.03521515429019928, 0.04540598392486572, 0.020220663398504257, -0.042442526668310165, 0.01913341134786606, -0.02138068899512291, 0.027666185051202774, 0.04112410172820091, -0.011531787924468517, 0.03728902339935303, -0.07027479261159897, 0.0027851532213389874, 0.031453847885131836, -0.014263495802879333, 0.024540644139051437, 0.00484165083616972, 0.016379578039050102, 0.05792517960071564, 0.028132960200309753, 0.011331276036798954, -0.03672642633318901, -0.028890002518892288, 0.01607229933142662, -0.03244761750102043, 0.006017153616994619, 0.014681246131658554, -0.0237357746809721, -0.02494325116276741, -0.03482498601078987, -0.01829671673476696, 0.050345465540885925, -0.005783035885542631, -0.023306114599108696, 0.004461260046809912, -0.01505692582577467, -0.029304927214980125, -0.0694621279835701, 0.004183302633464336, -0.004163237754255533, 0.019933709874749184, 0.015468252822756767, 0.0001902327931020409, 0.02554093487560749, -0.023345045745372772, -0.051360394805669785, -0.0064293998293578625, 0.039335381239652634, -0.03571014478802681, 0.05863519385457039, 0.058162592351436615, -0.009967525489628315, -0.0003404243034310639, 0.03478957712650299, -0.057737406343221664, 0.04513457417488098, -0.022176241502165794, 0.008257114328444004, 0.0002536589454393834, 0.02563224546611309, -0.017482511699199677, -0.021875862032175064, -0.06557928770780563, -0.04793331399559975, -0.017064034938812256, -0.007765968795865774, 0.08466020971536636 ]
Barleysack/AERoberta
[ "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 } } }
7
null
--- language: sv widget: - text: "Det var en gång" --- # Nordic GPT2--wikipedia A Nordic GPT2 style model trained using Flax CLM pipeline on the Nordic parts part of the wiki40b dataset. https://huggingface.co/datasets/wiki40b ## Model series This model is part of a series of models training on TPU with Flax Jax during Huggingface Flax/Jax challenge. ## Gpt models ## Swedish Gpt https://huggingface.co/birgermoell/swedish-gpt/ ## Swedish gpt wiki https://huggingface.co/flax-community/swe-gpt-wiki # Nordic gpt wiki https://huggingface.co/flax-community/nordic-gpt-wiki ## Dansk gpt wiki https://huggingface.co/flax-community/dansk-gpt-wiki ## Norsk gpt wiki https://huggingface.co/flax-community/norsk-gpt-wiki ## Roberta models ## Nordic Roberta Wiki https://huggingface.co/flax-community/nordic-roberta-wiki ## Swe Roberta Wiki Oscar https://huggingface.co/flax-community/swe-roberta-wiki-oscar ## Roberta Swedish Scandi https://huggingface.co/birgermoell/roberta-swedish-scandi ## Roberta Swedish https://huggingface.co/birgermoell/roberta-swedish ## Swedish T5 model https://huggingface.co/birgermoell/t5-base-swedish ## Data cleaning and preprocessing The data was cleaned and preprocessed using the following script. Make sure to install depencies for beam_runner to make the dataset work. ```python from datasets import load_dataset def load_and_clean_wiki(): dataset = load_dataset('wiki40b', 'da', beam_runner='DirectRunner', split="train") #dataset = load_dataset('wiki40b', 'sv', beam_runner='DirectRunner') dataset = dataset.remove_columns(['wikidata_id', 'version_id']) filtered_dataset = dataset.map(filter_wikipedia) # filtered_dataset[:3] # print(filtered_dataset[:3]) return filtered_dataset def filter_wikipedia(batch): batch["text"] = " ".join(batch["text"].split("\ _START_SECTION_\ ")) batch["text"] = " ".join(batch["text"].split("\ _START_ARTICLE_\ ")) batch["text"] = " ".join(batch["text"].split("\ _START_ARTICLE_\ ")) batch["text"] = " ".join(batch["text"].split("\ _START_PARAGRAPH_\ ")) batch["text"] = " ".join(batch["text"].split("_NEWLINE_")) batch["text"] = " ".join(batch["text"].split("\xa0")) return batch ``` ## Training script The following training script was used to train the model. ```bash ./run_clm_flax.py --output_dir="${MODEL_DIR}" --model_type="gpt2" --config_name="${MODEL_DIR}" --tokenizer_name="${MODEL_DIR}" --dataset_name="wiki40b" --dataset_config_name="da" --do_train --do_eval --block_size="512" --per_device_train_batch_size="64" --per_device_eval_batch_size="64" --learning_rate="5e-3" --warmup_steps="1000" --adam_beta1="0.9" --adam_beta2="0.98" --weight_decay="0.01" --overwrite_output_dir --num_train_epochs="20" --logging_steps="500" --save_steps="1000" --eval_steps="2500" --push_to_hub ```
[ -0.010799095034599304, -0.027108829468488693, 0.022609714418649673, 0.03713516518473625, 0.03103969618678093, 0.0012233956949785352, -0.018069619312882423, -0.003480251645669341, -0.04046463221311569, 0.05306088179349899, -0.007726440671831369, -0.01668413355946541, 0.008439943194389343, 0.0464763417840004, -0.0291887279599905, -0.017286086454987526, -0.029629215598106384, -0.0008458314114250243, -0.031345613300800323, -0.0020133417565375566, -0.019910775125026703, 0.011547763831913471, -0.005146929528564215, 0.024152319878339767, 0.005038308445364237, 0.06029217317700386, 0.0023800486233085394, 0.04825926944613457, 0.03730112686753273, -0.0606079138815403, -0.013010649010539055, -0.04147749021649361, -0.05476246401667595, -0.020955001935362816, -0.024630863219499588, -0.04642392694950104, 0.012894815765321255, -0.0017246835632249713, 0.026499822735786438, 0.07901640236377716, -0.027570396661758423, 0.009622146375477314, -0.005629996303468943, -0.035028304904699326, 0.01766841858625412, 0.020011277869343758, -0.027662429958581924, 0.00502959918230772, 0.02892163209617138, -0.014513997361063957, -0.04385757818818092, -0.05983441323041916, -0.006967463064938784, 0.01799776591360569, 0.0011889750603586435, -0.037888575345277786, -0.07364898920059204, 0.023556247353553772, 0.08566775918006897, -0.03657341003417969, -0.07315710932016373, 0.01588832587003708, -0.05145075544714928, 0.009058084338903427, 0.022418521344661713, -0.02817024663090706, 0.018743902444839478, -0.045193448662757874, 0.033026713877916336, -0.01211896724998951, 0.04089402034878731, -0.044237446039915085, 0.014551403000950813, -0.10522902756929398, -0.03495677933096886, -0.006656952667981386, 0.022005880251526833, 0.03883931785821915, -0.04335784539580345, 0.06331738829612732, 0.010938694700598717, -0.02056209184229374, 0.02730703353881836, -0.021848410367965698, -0.021484121680259705, 0.04100063070654869, -0.05065266415476799, 0.013172745704650879, 0.02499510534107685, 0.0693448930978775, -0.04089057818055153, -0.02882743813097477, -0.024319062009453773, -0.009770514443516731, -0.0024707671254873276, 0.046968232840299606, 0.00013369935913942754, 0.005420726723968983, 0.04946598783135414, 0.018924742937088013, 0.030504295602440834, 0.03336530923843384, -0.018595678731799126, 0.04752996936440468, -0.003162224078550935, -0.02141517587006092, -0.017356187105178833, -0.05555311590433121, -0.050317149609327316, 0.02586517110466957, -0.006490637548267841, -0.0608021505177021, -0.033462949097156525, 0.01673821732401848, -0.0009076854330487549, -0.021991845220327377, 0.037438154220581055, -0.035393133759498596, -0.03907276317477226, -0.06121020019054413, 0.02935684286057949, 0.03829054906964302, 0.0020994432270526886, 0.0031815937254577875, -0.025889040902256966, 0.03423555940389633, -0.009802739135921001, 0.006571174133569002, 0.009947758167982101, 0.0012250656727701426, -0.03542888164520264, 0.010775215923786163, 0.027813203632831573, -0.07130823284387589, 0.014374367892742157, 0.009003181010484695, -0.05161993205547333, 0.03907660022377968, 0.013971369713544846, 0.1345881223678589, -0.05879412218928337, -0.05212532356381416, 0.008175930008292198, 0.026364164426922798, -0.010950310155749321, 0.00015080989396665245, 0.005570739042013884, -0.0399751178920269, -0.02649497799575329, -0.0013450795086100698, 0.026883697137236595, -0.04624483734369278, 0.021653564646840096, 0.06401993334293365, -0.010529330000281334, 0.03072240576148033, -0.0543481707572937, -0.011320369318127632, 0.018708234652876854, -0.01265803910791874, -0.005296946037560701, 0.03540821373462677, 0.0012577996822074056, 0.0022671916522085667, -0.05309868976473808, -0.06628427654504776, 0.021291159093379974, 0.08294013887643814, -0.007183349225670099, 0.000907005975022912, -0.06002593785524368, 0.017890796065330505, 0.046561285853385925, 0.03802791237831116, -0.004482617601752281, 0.02408207394182682, 0.04369359835982323, 0.044254038482904434, -0.009121998213231564, 0.04886156693100929, 0.000847395567689091, -0.037144750356674194, -0.023523148149251938, 0.022856805473566055, 0.02106403559446335, 0.008734144270420074, 0.00937601737678051, 0.04845111072063446, 0.0039429147727787495, -0.042973119765520096, -0.015471328049898148, 0.049521587789058685, -0.03245071694254875, -0.019999969750642776, 0.015164203941822052, -0.012392801232635975, -0.015056359581649303, 0.04963655397295952, -0.01482593547552824, -0.010827154852449894, -0.025053061544895172, -0.017455244436860085, 0.029957858845591545, 0.028508923947811127, 0.03273525834083557, 0.03202470764517784, -0.01215464249253273, 0.1033838540315628, -0.029726603999733925, 0.006461504381150007, -0.058827340602874756, -0.05806620791554451, -0.000408693915233016, 0.037912189960479736, 0.03549550101161003, 0.03846535086631775, 0.004826837684959173, -0.050946202129125595, 0.009691798128187656, 0.06750430911779404, 0.06559813767671585, 0.021630650386214256, -0.027844931930303574, 0.02364835888147354, 0.032124388962984085, 0.039365027099847794, -0.037210557609796524, -0.0424802340567112, 0.016055261716246605, 0.03958754613995552, -0.016339391469955444, 0.03099726140499115, -0.013959970325231552, 0.039725977927446365, -0.025241823866963387, -0.0780375748872757, 0.0412900485098362, 0.02867014706134796, 0.019901877269148827, 0.028987569734454155, -0.022424349561333656, 0.03361671790480614, 0.013141462579369545, -0.027926510199904442, -0.006849949713796377, -0.022309917956590652, 0.01156280655413866, 0.01700713112950325, 0.061743009835481644, -0.03342198580503464, 0.029134046286344528, 0.02147906832396984, 0.025282809510827065, 0.03193160146474838, -0.059596460312604904, 0.025589026510715485, 0.07102121412754059, 0.008105284534394741, -0.0337841734290123, 0.03609947860240936, 0.039440494030714035, 0.06314626336097717, 0.024457504972815514, 0.011370045132935047, 0.04647189751267433, -0.0045392573811113834, 0.06288567930459976, 0.08950192481279373, 0.005420502740889788, 0.019703974947333336, 0.022066542878746986, 0.055481038987636566, 0.011483303271234035, -0.017304273322224617, 0.05389980226755142, -0.0244243536144495, -0.0018585309153422713, -0.042480386793613434, -0.0036511297803372145, -0.02034129574894905, 0.015499521978199482, 0.03391524404287338, 0.017328761518001556, -0.028517160564661026, 0.009267284534871578, -0.016952337697148323, -0.00629501324146986, 0.06200946494936943, -0.024325352162122726, 0.004668127745389938, -0.012933251447975636, -0.014517530798912048, 0.01004314236342907, -0.048568710684776306, -0.046924710273742676, -0.013586665503680706, -0.020142722874879837, 0.012027961201965809, -0.08293516933917999, -0.01682833954691887, -0.05580915883183479, -0.04761659726500511, 0.024200618267059326, 0.0347297377884388, -0.00412652688100934, -0.039284560829401016, 0.006139527074992657, -0.04601221904158592, -0.050639256834983826, -0.0439104400575161, -0.06652110815048218, -0.04939683526754379, -0.05864585563540459, 0.03648527339100838, 0.05528849735856056, 0.022614963352680206, 0.005168409086763859, 0.0067478264681994915, -0.019472988322377205, -0.04303585737943649, 0.03599361702799797, 0.050509050488471985, -0.04144439473748207, -0.05618230253458023, 0.046874817460775375, 0.002859746105968952, 0.02148246206343174, -0.014469857327640057, 0.007392369210720062, 0.07646983116865158, 0.07398520410060883, 0.005159378983080387, -0.003922994248569012, -0.013889066874980927, -0.06106908991932869, -0.06753088533878326, -0.04186149686574936, -0.04234679415822029, -0.004832440055906773, -0.0007938431808724999, -0.05147220566868782, -0.004508910700678825, -0.024161944165825844, -0.013559259474277496, -0.03444638103246689, -0.017375482246279716, 0.01889047399163246, 0.04792964085936546, 0.03163355216383934, 0.04209543392062187, -0.03790765255689621, -0.047134123742580414, 0.05959406495094299, -0.03493021801114082, 0.003953241277486086, -0.06153307855129242, -0.03727450221776962, 0.045960891991853714, 0.0215215552598238, 0.00001577953116793651, -0.008890962228178978, 0.0776965320110321, -0.007754931226372719, -0.00394457345828414, -0.003347268793731928, -0.039226777851581573, -0.03142384812235832, -0.008760505355894566, 0.003044465323910117, -0.03230687603354454, -0.04704189673066139, -0.010521161369979382, -0.019893400371074677, 0.055707577615976334, -0.06571108847856522, -0.04342120140790939, 0.0024990204256027937, 0.015649398788809776, 0.018332326784729958, 0.014519878663122654, -0.04009123519062996, 0.022222599014639854, -0.06302900612354279, 0.0012714965268969536, 0.023260725662112236, 0.01422499306499958, 0.020142311230301857, 0.04161548614501953, 0.034386780112981796, -0.0340772345662117, 0.03765922412276268, 0.027639620006084442, 0.070865198969841, 0.014568667858839035, -0.029621925204992294, 0.03415609151124954, -0.02613811008632183, 0.031346581876277924, -0.027094129472970963, -0.03670583292841911, -0.056538503617048264, -0.07260891050100327, -0.005446078721433878, 0.016675099730491638, -0.01173157524317503, 0.00023970963957253844, 0.05688526853919029, 0.003304735291749239, 0.006115127354860306, 0.003108454402536154, 0.006031856872141361, 0.03359817713499069, -0.0810369923710823, 0.05315355211496353, 0.01224972028285265, -0.0008412274182774127, -0.06707323342561722, 0.010425456799566746, -0.037801939994096756, -0.016837460920214653, 0.01025447528809309, 0.051263973116874695, 0.009546380490064621, 0.04906727001070976, 0.06013818457722664, 0.0012680356157943606, -0.02176324650645256, 0.06051955744624138, 0.020300237461924553, -0.017782051116228104, -0.0491485521197319, -0.013500591740012169, -0.02357190102338791, -0.034210238605737686, -0.010611419565975666, -0.025879206135869026, 0.04200819879770279, 0.030538929626345634, -0.009547197259962559, 0.0005827500717714429, 0.02246723137795925, -0.02034640870988369, -0.04329276829957962, -0.06222532317042351, -0.02292589470744133, 0.013001762330532074, -0.032360486686229706, -0.01532917469739914, 0.05248129367828369, 0.011133551597595215, 0.05900632590055466, 0.025115881115198135, -0.016545895487070084, -0.0705515444278717, 0.03090980276465416, 0.01656281016767025, -0.016469117254018784, -0.05171126499772072, -0.03853752464056015, 0.042157042771577835, 0.042685896158218384, 0.011999459937214851, -0.06321953982114792, 0.008475135080516338, 0.042998913675546646, -0.05087842419743538, 0.05838390812277794, -0.0179634727537632, 0.06860464811325073, 0.05196473374962807, -0.023476682603359222, 0.0061547961086034775, -0.0388665534555912, 0.038577452301979065, 0.004220596514642239, 0.014433961361646652, -0.014822056517004967, -0.019428227096796036, -0.04107918590307236, 0.03145106881856918, 0.020459631457924843, 0.0384603776037693, 0.04151587560772896, -0.007706043776124716, -0.062148477882146835, 0.005855747032910585, 0.05813132971525192, -0.05139254406094551, 0.047901690006256104, 0.04438922554254532, 0.026195326820015907, -0.06837689876556396, -0.06333064287900925, -0.015699094161391258, 0.003846139181405306, 0.04597223922610283, -0.041406791657209396, -0.05791968107223511, -0.04442248120903969, 0.0060043903067708015, -0.012123185209929943, -0.012188459746539593, -0.07204724848270416, 0.00010336877312511206, -0.022186925634741783, -0.021628577262163162, 0.02563362754881382, 0.022958682850003242, 0.01680644042789936, 0.036157507449388504, 0.0070166997611522675, 0.0003376553941052407, -0.060972973704338074, 0.029368272051215172, -0.03060518205165863, -0.02385309524834156, -0.022135287523269653, -0.03312881663441658, 0.0090255755931139, -0.034514568746089935, -0.05020145699381828, -0.03422582149505615, -0.033178266137838364, 0.045571599155664444, 0.011397435329854488, 0.011793864890933037, 0.010352875106036663, 0.026432394981384277, -0.011443329975008965, -0.037858374416828156, -0.04177441820502281, -0.034785591065883636, -0.014776939526200294, -0.03786161169409752, 0.02126518450677395, 0.005435292609035969, 0.020308444276452065, -0.005502072628587484, -0.0003239530196879059, 0.003976976964622736, 0.020895713940262794, -0.01783662848174572, 0.022023746743798256, 0.007791034411638975, -0.03291391581296921, -0.030219633132219315, 0.003945442847907543, 0.022249450907111168, 0.05140437185764313, -0.017047535628080368, 0.016930120065808296, 0.023048918694257736, -0.030716244131326675, -0.02766132354736328, 0.011429853737354279, 0.05038745701313019, -0.040780600160360336, -0.03698798269033432, 0.014347678981721401, -0.040438078343868256, 0.008514509536325932, -0.053191885352134705, -0.036307528614997864, 0.03186153620481491, 0.008417448028922081, 0.028255747631192207, 0.02269216813147068, -0.015140379779040813, 0.021930374205112457, -0.03449572995305061, 0.012500272132456303, -0.06265581399202347, 0.0208427757024765, -0.017383364960551262, 0.013310769572854042, -0.0011388234561309218, -0.024623790755867958, -0.04865797981619835, 0.03313957527279854, -0.006776670925319195, -0.02458014339208603, 0.010925420559942722, 0.018058188259601593, -0.025943249464035034, 0.028732068836688995, -0.011031989008188248, 0.02258908934891224, -0.03407755494117737, 0.05953705683350563, -0.04946170747280121, 0.005527455359697342, -0.022955281659960747, -0.017629962414503098, -0.055150896310806274, -0.023978054523468018, -0.0026736401487141848, -0.06500089913606644, 0.049511514604091644, 0.03808504343032837, 0.028747308999300003, -0.014662105590105057, -0.013359635137021542, -0.0016260896809399128, 0.00208581006154418, -0.059266846626996994, -0.027347061783075333, -0.027191175147891045, -0.009156256914138794, -0.00804047379642725, 0.05008881539106369, 0.023410502821207047, -0.07064788788557053, -0.06574210524559021, 0.03663890063762665, 0.02935716137290001, 0.01701650582253933, -0.005205071531236172, 0.02966177649796009, 0.02313133142888546, 0.04691307619214058, -0.030592408031225204, -0.00027331680757924914, -0.02865576557815075, -0.026305535808205605, 0.041482143104076385, -0.007646357640624046, 0.0309398602694273, 0.017564356327056885, -0.0493289940059185, -0.0336841456592083, 0.06704101711511612, 0.03549797087907791, 0.018771598115563393, -0.005909067112952471, -0.05055927112698555, 0.008429689332842827, 0.031038617715239525, -0.04092896357178688, -0.00029367487877607346, 0.04063517600297928, -0.02157915197312832, 0.07409282773733139, -0.04398288205265999, 0.02352772280573845, 0.04851140081882477, 0.023041993379592896, -0.04377468302845955, 0.044842399656772614, -0.002374927746132016, 0.004252532031387091, 0.07206818461418152, -0.06767503172159195, 0.006952928379178047, -0.026744036003947258, 0.08460024744272232, -0.07070334255695343, 0.04153825715184212, 0.03550506755709648, -0.012498531490564346, 0.013945437036454678, -0.023968406021595, -0.018085936084389687, 0.01507064513862133, -0.02491268701851368, 0.07025326788425446, 0.014282974414527416, -0.04155391454696655, 0.07565941661596298, 0.0038957223296165466, -0.06175136938691139, 0.04371650516986847, 0.05098645016551018, 0.01792120933532715, 0.02717844769358635, 0.030329465866088867, -0.04456717520952225, -0.004668595734983683, -0.005426592193543911, 0.05019836127758026, -0.035697173327207565, -0.04156341403722763, 0.04479365050792694, -0.06448707729578018, -0.02367931231856346, 0.04889073222875595, -0.017976634204387665, -0.006773822009563446, 0.028521200641989708, -0.051031310111284256, -0.0717155784368515, 0.010079042986035347, 0.02311086095869541, -0.047300804406404495, -0.01856006123125553, -0.05563874915242195, 0.021778352558612823, 0.011480276472866535, -0.013259895145893097, -0.028915192931890488, -0.00177775789052248, 0.04247656837105751, -0.06894876807928085, -0.022802166640758514, 0.0456564836204052, 0.0008191194501705468, -0.03842439875006676, 0.041962653398513794, -0.011995745822787285, 0.014159787446260452, 0.032472383230924606, -0.007317712064832449, 0.016430219635367393, -0.022175779566168785, -0.01774528995156288, 0.00292009930126369, 0.006496255751699209, 0.021188288927078247, -0.018192531540989876, 0.03816349431872368, 0.01466702576726675, 0.04492052271962166, 0.019030602648854256, -0.0660082995891571, -0.014908852055668831, 0.012879570946097374, -0.04529082402586937, 0.013353858143091202, -0.017445648089051247, -0.06863531470298767, -0.03169381991028786, -0.014878478832542896, -0.015882203355431557, 0.05517667904496193, -0.027243534103035927, 0.01936297118663788, 0.02205010876059532, -0.0014271342661231756, -0.036347925662994385, -0.07727529108524323, -0.034017786383628845, -0.05680417641997337, 0.004624234978109598, 0.031062742695212364, -0.03502247482538223, 0.02563082054257393, -0.031718287616968155, -0.05803743377327919, 0.03267892822623253, 0.011308670975267887, -0.03918297588825226, 0.06848812103271484, 0.05470319464802742, -0.028782427310943604, 0.024402419105172157, 0.019232412800192833, -0.03384866192936897, 0.0345764197409153, 0.010602088645100594, 0.0031184540130198, 0.03695763275027275, 0.023432573303580284, -0.037028905004262924, -0.01463808212429285, -0.0663248598575592, -0.037441715598106384, -0.0426037423312664, -0.005219878163188696, 0.07569921761751175 ]
Barleysack/AERoberta2
[ "pytorch", "roberta", "question-answering", "transformers", "autotrain_compatible" ]
question-answering
{ "architectures": [ "RobertaForQuestionAnswering" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
2
null
--- language: sv license: cc-by-4.0 tags: - swedish - roberta pipeline_tag: fill-mask widget: - text: Meninged med livet är <mask>. --- # Nordic Roberta Wikipedia ## Description Nord roberta model trainined on the swedish danish and norwegian wikipedia. ## Evaluation Evaluation on Named Entity recognition in Danish. I finetuned each model on 3 epochs on DaNE, repeated it 5 times for each model, and calculated 95% confidence intervals for the means. Here are the results: xlm-roberta-base : 88.01 +- 0.43 flax-community/nordic-roberta-wiki: 85.75 +- 0.69 (this model) Maltehb/danish-bert-botxo: 85.38 +- 0.55 flax-community/roberta-base-danish: 80.14 +- 1.47 flax-community/roberta-base-scandinavian : 78.03 +- 3.02 Maltehb/-l-ctra-danish-electra-small-cased: 57.87 +- 3.19 NbAiLab/nb-bert-base : 30.24 +- 1.21 Randomly initialised RoBERTa model: 19.79 +- 2.00 Evaluation on Sentiment analysis in Dansish Here are the results on test set, where each model has been trained 5 times, and the “+-” refers to a 95% confidence interval of the mean score: Maltehb/danish-bert-botxo: 65.19 +- 0.53 NbAiLab/nb-bert-base : 63.80 +- 0.77 xlm-roberta-base : 63.55 +- 1.59 flax-community/nordic-roberta-wiki : 56.46 +- 1.77 flax-community/roberta-base-danish : 54.73 +- 8.96 flax-community/roberta-base-scandinavian : 44.28 +- 9.21 Maltehb/-l-ctra-danish-electra-small-cased : 47.78 +- 12.65 Randomly initialised RoBERTa model: 36.96 +- 1.02 Maltehb/roberta-base-scandinavian : 33.65 +- 8.32 ## Model series This model is part of a series of models training on TPU with Flax Jax during Huggingface Flax/Jax challenge. ## Gpt models ## Swedish Gpt https://huggingface.co/birgermoell/swedish-gpt/ ## Swedish gpt wiki https://huggingface.co/flax-community/swe-gpt-wiki # Nordic gpt wiki https://huggingface.co/flax-community/nordic-gpt-wiki ## Dansk gpt wiki https://huggingface.co/flax-community/dansk-gpt-wiki ## Norsk gpt wiki https://huggingface.co/flax-community/norsk-gpt-wiki ## Roberta models ## Nordic Roberta Wiki https://huggingface.co/flax-community/nordic-roberta-wiki ## Swe Roberta Wiki Oscar https://huggingface.co/flax-community/swe-roberta-wiki-oscar ## Roberta Swedish Scandi https://huggingface.co/birgermoell/roberta-swedish-scandi ## Roberta Swedish https://huggingface.co/birgermoell/roberta-swedish ## Swedish T5 model https://huggingface.co/birgermoell/t5-base-swedish
[ -0.008049344643950462, 0.0015057193813845515, -0.004243103321641684, 0.04210521653294563, 0.04560348764061928, 0.019082650542259216, -0.026995588093996048, -0.024467337876558304, -0.058444730937480927, 0.06666050851345062, 0.019230086356401443, -0.03414430469274521, -0.006877168547362089, 0.04356931149959564, -0.03030504658818245, -0.015118798241019249, -0.01127772219479084, -0.01021505519747734, -0.03985847905278206, -0.02982458285987377, -0.021856509149074554, 0.014582822099328041, -0.00007822272164048627, 0.0037540923804044724, 0.012958885170519352, 0.02766519784927368, -0.013722334988415241, 0.0514860525727272, 0.044530779123306274, -0.05702005326747894, -0.011841150000691414, -0.01833464577794075, -0.04815296828746796, -0.017883071675896645, -0.03071957640349865, -0.03765692189335823, 0.023789292201399803, 0.015074802562594414, 0.03192701190710068, 0.07775557041168213, -0.027746867388486862, 0.014208740554749966, -0.013152790255844593, -0.05723409354686737, 0.024210363626480103, 0.007469727657735348, -0.03367016837000847, -0.003272735746577382, 0.023165103048086166, -0.03494658321142197, -0.060671981424093246, -0.03236530348658562, 0.004086129833012819, 0.03450898453593254, -0.024064788594841957, -0.007786179892718792, -0.05065879225730896, 0.02007223851978779, 0.08745688945055008, -0.03935220092535019, -0.05327458679676056, -0.009674563072621822, -0.05407799035310745, 0.006788083352148533, 0.04594505578279495, -0.04261665791273117, 0.019219784066081047, -0.05545007437467575, 0.04364148899912834, -0.0006320676184259355, 0.05811922997236252, -0.04753119498491287, -0.0011502541601657867, -0.0693645179271698, -0.026109812781214714, -0.015361569821834564, 0.03239956870675087, 0.03488829731941223, -0.024221770465373993, 0.05295919254422188, 0.006693987175822258, -0.008932346478104591, 0.021975958719849586, -0.024750657379627228, 0.005185870453715324, 0.027954354882240295, -0.03804156929254532, -0.019638260826468468, 0.022970758378505707, 0.045151859521865845, -0.04344456270337105, -0.024691496044397354, 0.006480156444013119, -0.000989318359643221, 0.004241968039423227, 0.04935004562139511, 0.019081085920333862, -0.002595589030534029, 0.0342978909611702, 0.008704162202775478, 0.022339841350913048, 0.049063604325056076, -0.005854934919625521, 0.04826084524393082, -0.015432493761181831, -0.03501264378428459, -0.0062443045899271965, -0.04506213963031769, -0.05365610867738724, 0.03937302157282829, -0.005753459874540567, -0.04215835779905319, -0.02728213742375374, 0.025531774386763573, 0.013208531774580479, -0.0385710671544075, 0.048618897795677185, -0.03380809724330902, -0.05682150647044182, -0.07148454338312149, 0.06151096895337105, 0.012555391527712345, -0.011377214454114437, 0.01926543191075325, -0.038843948394060135, 0.014516878873109818, -0.019798479974269867, -0.006847403943538666, 0.014223144389688969, 0.007111997809261084, -0.015827806666493416, 0.028798028826713562, 0.02612529695034027, -0.06655584275722504, 0.008846686221659184, 0.01846059039235115, -0.06017844006419182, 0.05499421805143356, 0.011203814297914505, 0.14105327427387238, -0.03862392529845238, -0.06846894323825836, -0.0017236786661669612, 0.00339636392891407, -0.026649033650755882, 0.0005950049380771816, 0.005048264749348164, -0.028608104214072227, -0.02041073516011238, -0.007169811520725489, 0.03788337856531143, -0.0765719786286354, 0.02053355611860752, 0.06856808066368103, -0.014974026009440422, 0.03726714104413986, -0.045164112001657486, -0.024378208443522453, 0.011210792697966099, -0.01103232055902481, -0.020926913246512413, 0.0473189651966095, 0.01783481426537037, 0.004180619493126869, -0.04463981091976166, -0.049451373517513275, 0.005673167761415243, 0.08027492463588715, 0.0063474951311945915, -0.01467903982847929, -0.058670613914728165, 0.021291116252541542, 0.04940449073910713, 0.031549036502838135, -0.0284059327095747, 0.030595123767852783, 0.057225268334150314, 0.038717709481716156, -0.01796497032046318, 0.04164402186870575, 0.007526247296482325, -0.0379168801009655, -0.03383869677782059, 0.04870748147368431, 0.011688712053000927, -0.009518075734376907, 0.01796807162463665, 0.06226265802979469, 0.007954792119562626, -0.03700924664735794, -0.03458347171545029, 0.04984879493713379, -0.026226742193102837, -0.0009322644909843802, -0.005788156762719154, 0.014534317888319492, -0.03534742444753647, 0.05707145109772682, 0.013245993293821812, -0.010088423267006874, -0.030226940289139748, -0.03747864067554474, 0.038945235311985016, 0.01462174765765667, 0.025697357952594757, 0.023848192766308784, -0.011386431753635406, 0.08956649154424667, -0.03813713416457176, 0.01792502962052822, -0.06691320240497589, -0.04504429176449776, 0.016938937827944756, 0.05277005955576897, 0.021862493827939034, 0.05381801724433899, -0.006503717042505741, -0.044078223407268524, 0.02326084114611149, 0.048876360058784485, 0.06995183974504471, 0.008752366527915001, -0.023070188239216805, 0.018863141536712646, 0.00736432196572423, 0.03253854811191559, -0.050338637083768845, -0.05095640942454338, 0.006786597892642021, 0.0569785013794899, -0.01926790364086628, 0.007960301823914051, -0.0075020440854132175, 0.02689424902200699, -0.017634745687246323, -0.07360251247882843, 0.06445290148258209, 0.009256431832909584, 0.020596709102392197, 0.02868819236755371, -0.02081160992383957, 0.019921721890568733, 0.024372391402721405, 0.005271297879517078, 0.006867876276373863, -0.03092103637754917, 0.008659649640321732, 0.006041688844561577, 0.04787197336554527, -0.035340599715709686, 0.03428547456860542, 0.014096368104219437, 0.023099582642316818, 0.030636103823781013, -0.06136712431907654, 0.02289503999054432, 0.04959454759955406, 0.012499233707785606, -0.049443043768405914, 0.01627274788916111, 0.038635753095149994, 0.03985675051808357, 0.039140719920396805, 0.004614801146090031, 0.06529238820075989, 0.008581048808991909, 0.05884454399347305, 0.07148131728172302, 0.016421236097812653, 0.016564371064305305, 0.024116789922118187, 0.06665632128715515, 0.007608438841998577, -0.0225012619048357, 0.05900808051228523, -0.03657684102654457, 0.018749751150608063, -0.05437054857611656, 0.012643429450690746, -0.024328429251909256, 0.0170951709151268, 0.024948593229055405, 0.02691486105322838, -0.02869020588696003, 0.003652769373729825, -0.003999039530754089, 0.005612710490822792, 0.05101647600531578, 0.006571477744728327, 0.01660541445016861, -0.014930359087884426, -0.006571604870259762, 0.03300570696592331, -0.06174527108669281, -0.042207736521959305, -0.006309587974101305, -0.035211533308029175, -0.007560728117823601, -0.08157314360141754, -0.020527170971035957, -0.04704156517982483, -0.04425222799181938, 0.017704982310533524, 0.024913525208830833, -0.022709732875227928, -0.024584390223026276, 0.003215616103261709, -0.0469919890165329, -0.042231447994709015, -0.03881304711103439, -0.05260993912816048, -0.04883507266640663, -0.07589471340179443, 0.04078781604766846, 0.051932062953710556, 0.02554658055305481, -0.0003958703891839832, -0.001914124353788793, -0.006339740939438343, -0.0460846982896328, 0.0379871241748333, 0.046973567456007004, -0.03691612184047699, -0.0425780825316906, 0.03726138174533844, -0.02306881733238697, 0.03526194766163826, -0.0049859811551868916, -0.010362145490944386, 0.0710216611623764, 0.060534726828336716, 0.008790888823568821, 0.0005594668909907341, 0.020573215559124947, -0.05608152225613594, -0.06205226108431816, -0.04395334795117378, -0.029997985810041428, -0.01670183055102825, -0.03470654413104057, -0.042643431574106216, -0.007284224499017, -0.02827437035739422, -0.019801858812570572, -0.019683603197336197, -0.0034735864028334618, 0.01366367843002081, 0.05395972356200218, 0.038507841527462006, 0.043879490345716476, -0.025996243581175804, -0.05130479112267494, 0.06114697828888893, -0.01975172571837902, 0.004262121859937906, -0.0809536948800087, -0.021294616162776947, 0.043051984161138535, 0.0029697471763938665, 0.007393186911940575, -0.011703476309776306, 0.08466722816228867, -0.008330677635967731, -0.014022663235664368, -0.017715319991111755, -0.027268186211586, -0.045848164707422256, 0.006867908872663975, -0.028162935748696327, -0.02595710940659046, -0.05786160007119179, -0.015353013761341572, 0.001995266880840063, 0.046337343752384186, -0.05229128152132034, -0.042021945118904114, -0.008858414366841316, 0.021565793082118034, 0.05706080421805382, 0.009781894274055958, -0.03433012217283249, 0.01795988343656063, -0.03269029036164284, -0.030995050445199013, 0.0227368026971817, 0.010378238745033741, 0.013195573352277279, 0.055110055953264236, 0.03373529389500618, -0.02884523943066597, 0.03156367689371109, 0.029431449249386787, 0.03784610703587532, 0.0069607095792889595, -0.04349760711193085, 0.03337198123335838, -0.042216818779706955, 0.017391905188560486, -0.023787690326571465, -0.03907996416091919, -0.05839405581355095, -0.05527136102318764, 0.0178725253790617, 0.009292645379900932, -0.01001539546996355, -0.023726047948002815, 0.037954479455947876, 0.002578269923105836, 0.0257312823086977, -0.004566543735563755, 0.009896058589220047, 0.03945644572377205, -0.0679696798324585, 0.05173947662115097, -0.0019687574822455645, 0.007291313726454973, -0.06400956958532333, 0.004728646483272314, -0.05254404991865158, -0.023503104224801064, 0.011231252923607826, 0.0552283339202404, 0.030592314898967743, 0.024972567334771156, 0.060822613537311554, 0.009336867369711399, -0.029419831931591034, 0.050386279821395874, 0.03291073441505432, -0.0023307756055146456, -0.054646022617816925, -0.011185691691935062, -0.02895197458565235, -0.05635276809334755, 0.0027426988817751408, -0.05022795498371124, 0.03690073639154434, 0.018711689859628677, -0.00041051331209018826, -0.024708617478609085, 0.0028424463234841824, -0.019558338448405266, -0.03280244767665863, -0.08957900106906891, -0.021655544638633728, 0.0223049558699131, -0.015017182566225529, 0.01601766049861908, 0.02555163949728012, 0.019560562446713448, 0.055160876363515854, 0.03591397404670715, -0.0033803635742515326, -0.037459686398506165, 0.03403590992093086, 0.024694064632058144, -0.026958206668496132, -0.06420139968395233, -0.040323130786418915, 0.04363134130835533, 0.06943782418966293, -0.011121428571641445, -0.08149842917919159, 0.023508155718445778, 0.056515078991651535, -0.06348426640033722, 0.06718405336141586, -0.01177139114588499, 0.058232396841049194, 0.049631282687187195, -0.03293498232960701, 0.01762954518198967, -0.03027201071381569, 0.00837774109095335, 0.009399635717272758, 0.046007189899683, -0.0022767020855098963, -0.04637432470917702, -0.03395260125398636, 0.02436705119907856, 0.0198777224868536, 0.04577532038092613, 0.03725864738225937, -0.014254644513130188, -0.06229269132018089, -0.014911353588104248, 0.030460184440016747, -0.05662189796566963, 0.038616377860307693, 0.05113672837615013, 0.02833164669573307, -0.05099862068891525, -0.05664566531777382, 0.004735729191452265, -0.012966004200279713, 0.034246183931827545, -0.015186427161097527, -0.05310917645692825, -0.06595619022846222, 0.009866012260317802, -0.030606022104620934, 0.00134913413785398, -0.07267773151397705, -0.0013976430054754019, -0.021040862426161766, -0.008668186143040657, 0.03416840732097626, 0.009352849796414375, 0.027241172268986702, 0.030924230813980103, -0.011565273627638817, -0.010920016095042229, -0.043184779584407806, 0.02454429119825363, -0.02086365781724453, -0.008988548070192337, -0.02758209966123104, -0.033926643431186676, -0.016312800347805023, -0.005940555594861507, -0.058102477341890335, -0.04370640590786934, -0.009495190344750881, 0.025759128853678703, 0.013191737234592438, -0.013667288236320019, -0.013779575005173683, 0.03656817972660065, -0.0424688458442688, -0.03640022873878479, -0.02673129178583622, -0.028497017920017242, -0.04838414862751961, -0.03955802693963051, 0.012748638167977333, 0.01927458494901657, 0.03333915397524834, 0.0016046330565586686, -0.0070218839682638645, 0.015557311475276947, -0.0066206855699419975, -0.04002400487661362, 0.009625526145100594, -0.010747188702225685, -0.04783518612384796, -0.03661003336310387, 0.0028788165654987097, 0.021077189594507217, 0.04521986097097397, -0.030716432258486748, 0.022174080833792686, 0.02085266448557377, -0.04363417997956276, -0.04292472079396248, 0.0035437732003629208, 0.0517253652215004, -0.0447990819811821, -0.032794442027807236, 0.004741503857076168, -0.036077287048101425, 0.037656620144844055, -0.03301943466067314, -0.022842975333333015, 0.0350928008556366, 0.008273820392787457, 0.017276320606470108, 0.01017052587121725, -0.017816055566072464, 0.01818809099495411, -0.007030433509498835, 0.025527752935886383, -0.06027435511350632, 0.03094579093158245, -0.012004475109279156, 0.0126918600872159, -0.004373409319669008, -0.023471901193261147, -0.034321121871471405, 0.04659928381443024, -0.001966977957636118, -0.033764515072107315, 0.001172037678770721, 0.017231788486242294, -0.030880479142069817, 0.018117645755410194, -0.012951469980180264, 0.02621619403362274, -0.03280095010995865, 0.06640844792127609, -0.06022052839398384, 0.002202411647886038, -0.02416713908314705, -0.008359469473361969, -0.024724872782826424, -0.02493387460708618, 0.0046144756488502026, -0.05389882251620293, 0.050064485520124435, 0.0342780277132988, 0.02262934111058712, 0.010553521104156971, -0.02127361297607422, 0.0066697546280920506, -0.0014555132947862148, -0.06437566131353378, -0.01244217250496149, -0.026357905939221382, 0.016421088948845863, -0.016902653500437737, 0.06331896781921387, 0.020029721781611443, -0.05679558590054512, -0.059554778039455414, 0.028971809893846512, 0.03956788033246994, 0.011212904937565327, -0.023420991376042366, 0.015471985563635826, 0.04126472398638725, 0.027012638747692108, -0.037821751087903976, -0.015200022608041763, -0.021653981879353523, -0.02990310825407505, 0.02345040813088417, 0.004031314514577389, 0.023984981700778008, 0.0020945118740200996, -0.05958610028028488, -0.035331547260284424, 0.06369855999946594, 0.019841289147734642, 0.006488176994025707, 0.001372999045997858, -0.05273618921637535, 0.021238258108496666, 0.025163626298308372, -0.06002979725599289, -0.020126549527049065, 0.018849149346351624, -0.031224194914102554, 0.04977203533053398, -0.027016129344701767, 0.012317607179284096, 0.05222593620419502, 0.02356993593275547, -0.02581147663295269, 0.049685511738061905, -0.002482897136360407, 0.016335252672433853, 0.03336019068956375, -0.089287668466568, -0.002186212921515107, -0.04030780494213104, 0.06932151317596436, -0.07966166734695435, 0.03502762317657471, 0.04092012718319893, -0.01705509051680565, 0.01714714802801609, -0.03221183642745018, -0.021559014916419983, 0.013649323023855686, -0.03884899616241455, 0.07494468241930008, 0.026557516306638718, -0.058623332530260086, 0.07563573122024536, 0.030314112082123756, -0.08034402877092361, 0.05220385268330574, 0.03400486335158348, 0.012960879132151604, 0.026623837649822235, 0.03888486698269844, -0.04945554584264755, 0.024380704388022423, -0.014299837872385979, 0.03710779547691345, -0.05718926712870598, -0.03897959738969803, 0.035760145634412766, -0.052169088274240494, -0.02059798687696457, 0.045290399342775345, -0.04340646043419838, 0.011061576195061207, 0.011629704385995865, -0.0589185431599617, -0.06804906576871872, 0.007788565009832382, 0.01047972496598959, -0.0219230018556118, -0.017161428928375244, -0.0477951318025589, 0.022970018908381462, 0.019512172788381577, -0.01992911659181118, -0.04695494845509529, -0.014372887089848518, 0.037500280886888504, -0.06620403379201889, -0.027186674997210503, 0.061804477125406265, 0.00767472293227911, -0.03405098244547844, 0.04058971628546715, 0.003051592269912362, 0.013084284029901028, 0.030431097373366356, -0.000807342235930264, 0.01100783422589302, -0.05850781127810478, -0.008038519881665707, 0.01051367912441492, 0.01004834845662117, 0.032872483134269714, 0.006344877649098635, 0.01973404549062252, 0.03969832509756088, 0.0348864421248436, -0.0003242622478865087, -0.060102637857198715, -0.017088226974010468, 0.020143650472164154, -0.04395584762096405, -0.003102267161011696, -0.0039016392547637224, -0.05204789713025093, -0.04297415912151337, -0.008355201222002506, -0.014117478393018246, 0.05166316777467728, -0.03406113386154175, 0.021771298721432686, 0.02463514730334282, -0.03697902709245682, -0.03528635576367378, -0.07712986320257187, -0.042784593999385834, -0.03741873428225517, -0.00802511628717184, 0.029765604063868523, -0.026752544566988945, 0.01986093819141388, -0.0252849068492651, -0.04430833458900452, 0.043426986783742905, 0.03808274120092392, -0.036421939730644226, 0.0795145183801651, 0.05098627880215645, -0.012603102251887321, 0.0072842915542423725, 0.04452987387776375, -0.03443615138530731, 0.031615156680345535, -0.01568511687219143, 0.0008616063860245049, 0.02386344037950039, 0.0352383553981781, -0.035863883793354034, -0.0048698424361646175, -0.05349694564938545, -0.05253813415765762, -0.03163929656147957, 0.009137853980064392, 0.05587451905012131 ]
Batsy24/DialoGPT-medium-Twilight_BellaBot
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- language: pl tags: - text-generation widget: - text: "Najsmaczniejszy polski owoc to" --- # papuGaPT2 - Polish GPT2 language model [GPT2](https://d4mucfpksywv.cloudfront.net/better-language-models/language_models_are_unsupervised_multitask_learners.pdf) was released in 2019 and surprised many with its text generation capability. However, up until very recently, we have not had a strong text generation model in Polish language, which limited the research opportunities for Polish NLP practitioners. With the release of this model, we hope to enable such research. Our model follows the standard GPT2 architecture and training approach. We are using a causal language modeling (CLM) objective, which means that the model is trained to predict the next word (token) in a sequence of words (tokens). ## Datasets We used the Polish subset of the [multilingual Oscar corpus](https://www.aclweb.org/anthology/2020.acl-main.156) to train the model in a self-supervised fashion. ``` from datasets import load_dataset dataset = load_dataset('oscar', 'unshuffled_deduplicated_pl') ``` ## Intended uses & limitations The raw model can be used for text generation or fine-tuned for a downstream task. The model has been trained on data scraped from the web, and can generate text containing intense violence, sexual situations, coarse language and drug use. It also reflects the biases from the dataset (see below for more details). These limitations are likely to transfer to the fine-tuned models as well. At this stage, we do not recommend using the model beyond research. ## Bias Analysis There are many sources of bias embedded in the model and we caution to be mindful of this while exploring the capabilities of this model. We have started a very basic analysis of bias that you can see in [this notebook](https://huggingface.co/flax-community/papuGaPT2/blob/main/papuGaPT2_bias_analysis.ipynb). ### Gender Bias As an example, we generated 50 texts starting with prompts "She/He works as". The image below presents the resulting word clouds of female/male professions. The most salient terms for male professions are: teacher, sales representative, programmer. The most salient terms for female professions are: model, caregiver, receptionist, waitress. ![gender bias](https://huggingface.co/flax-community/papuGaPT2/raw/main/gender_bias.jpeg) ### Ethnicity/Nationality/Gender Bias We generated 1000 texts to assess bias across ethnicity, nationality and gender vectors. We created prompts with the following scheme: * Person - in Polish this is a single word that differentiates both nationality/ethnicity and gender. We assessed the following 5 nationalities/ethnicities: German, Romani, Jewish, Ukrainian, Neutral. The neutral group used generic pronounts ("He/She"). * Topic - we used 5 different topics: * random act: *entered home* * said: *said* * works as: *works as* * intent: Polish *niech* which combined with *he* would roughly translate to *let him ...* * define: *is* Each combination of 5 nationalities x 2 genders x 5 topics had 20 generated texts. We used a model trained on [Polish Hate Speech corpus](https://huggingface.co/datasets/hate_speech_pl) to obtain the probability that each generated text contains hate speech. To avoid leakage, we removed the first word identifying the nationality/ethnicity and gender from the generated text before running the hate speech detector. The following tables and charts demonstrate the intensity of hate speech associated with the generated texts. There is a very clear effect where each of the ethnicities/nationalities score higher than the neutral baseline. ![hate score by ethnicity](https://huggingface.co/flax-community/papuGaPT2/raw/main/hate_by_ethnicity.png) Looking at the gender dimension we see higher hate score associated with males vs. females. ![hate score by gender](https://huggingface.co/flax-community/papuGaPT2/raw/main/hate_by_gender.png) We don't recommend using the GPT2 model beyond research unless a clear mitigation for the biases is provided. ## Training procedure ### Training scripts We used the [causal language modeling script for Flax](https://github.com/huggingface/transformers/blob/master/examples/flax/language-modeling/run_clm_flax.py). We would like to thank the authors of that script as it allowed us to complete this training in a very short time! ### Preprocessing and Training Details The texts are tokenized using a byte-level version of Byte Pair Encoding (BPE) (for unicode characters) and a vocabulary size of 50,257. The inputs are sequences of 512 consecutive tokens. We have trained the model on a single TPUv3 VM, and due to unforeseen events the training run was split in 3 parts, each time resetting from the final checkpoint with a new optimizer state: 1. LR 1e-3, bs 64, linear schedule with warmup for 1000 steps, 10 epochs, stopped after 70,000 steps at eval loss 3.206 and perplexity 24.68 2. LR 3e-4, bs 64, linear schedule with warmup for 5000 steps, 7 epochs, stopped after 77,000 steps at eval loss 3.116 and perplexity 22.55 3. LR 2e-4, bs 64, linear schedule with warmup for 5000 steps, 3 epochs, stopped after 91,000 steps at eval loss 3.082 and perplexity 21.79 ## Evaluation results We trained the model on 95% of the dataset and evaluated both loss and perplexity on 5% of the dataset. The final checkpoint evaluation resulted in: * Evaluation loss: 3.082 * Perplexity: 21.79 ## How to use You can use the model either directly for text generation (see example below), by extracting features, or for further fine-tuning. We have prepared a notebook with text generation examples [here](https://huggingface.co/flax-community/papuGaPT2/blob/main/papuGaPT2_text_generation.ipynb) including different decoding methods, bad words suppression, few- and zero-shot learning demonstrations. ### Text generation Let's first start with the text-generation pipeline. When prompting for the best Polish poet, it comes up with a pretty reasonable text, highlighting one of the most famous Polish poets, Adam Mickiewicz. ```python from transformers import pipeline, set_seed generator = pipeline('text-generation', model='flax-community/papuGaPT2') set_seed(42) generator('Największym polskim poetą był') >>> [{'generated_text': 'Największym polskim poetą był Adam Mickiewicz - uważany za jednego z dwóch geniuszów języka polskiego. "Pan Tadeusz" był jednym z najpopularniejszych dzieł w historii Polski. W 1801 został wystawiony publicznie w Teatrze Wilama Horzycy. Pod jego'}] ``` The pipeline uses `model.generate()` method in the background. In [our notebook](https://huggingface.co/flax-community/papuGaPT2/blob/main/papuGaPT2_text_generation.ipynb) we demonstrate different decoding methods we can use with this method, including greedy search, beam search, sampling, temperature scaling, top-k and top-p sampling. As an example, the below snippet uses sampling among the 50 most probable tokens at each stage (top-k) and among the tokens that jointly represent 95% of the probability distribution (top-p). It also returns 3 output sequences. ```python from transformers import AutoTokenizer, AutoModelWithLMHead model = AutoModelWithLMHead.from_pretrained('flax-community/papuGaPT2') tokenizer = AutoTokenizer.from_pretrained('flax-community/papuGaPT2') set_seed(42) # reproducibility input_ids = tokenizer.encode('Największym polskim poetą był', return_tensors='pt') sample_outputs = model.generate( input_ids, do_sample=True, max_length=50, top_k=50, top_p=0.95, num_return_sequences=3 ) print("Output:\ " + 100 * '-') for i, sample_output in enumerate(sample_outputs): print("{}: {}".format(i, tokenizer.decode(sample_output, skip_special_tokens=True))) >>> Output: >>> ---------------------------------------------------------------------------------------------------- >>> 0: Największym polskim poetą był Roman Ingarden. Na jego wiersze i piosenki oddziaływały jego zamiłowanie do przyrody i przyrody. Dlatego też jako poeta w czasie pracy nad utworami i wierszami z tych wierszy, a następnie z poezji własnej - pisał >>> 1: Największym polskim poetą był Julian Przyboś, którego poematem „Wierszyki dla dzieci”. >>> W okresie międzywojennym, pod hasłem „Papież i nie tylko” Polska, jak większość krajów europejskich, była państwem faszystowskim. >>> Prócz >>> 2: Największym polskim poetą był Bolesław Leśmian, który był jego tłumaczem, a jego poezja tłumaczyła na kilkanaście języków. >>> W 1895 roku nakładem krakowskiego wydania "Scientio" ukazała się w języku polskim powieść W krainie kangurów ``` ### Avoiding Bad Words You may want to prevent certain words from occurring in the generated text. To avoid displaying really bad words in the notebook, let's pretend that we don't like certain types of music to be advertised by our model. The prompt says: *my favorite type of music is*. ```python input_ids = tokenizer.encode('Mój ulubiony gatunek muzyki to', return_tensors='pt') bad_words = [' disco', ' rock', ' pop', ' soul', ' reggae', ' hip-hop'] bad_word_ids = [] for bad_word in bad_words: ids = tokenizer(bad_word).input_ids bad_word_ids.append(ids) sample_outputs = model.generate( input_ids, do_sample=True, max_length=20, top_k=50, top_p=0.95, num_return_sequences=5, bad_words_ids=bad_word_ids ) print("Output:\ " + 100 * '-') for i, sample_output in enumerate(sample_outputs): print("{}: {}".format(i, tokenizer.decode(sample_output, skip_special_tokens=True))) >>> Output: >>> ---------------------------------------------------------------------------------------------------- >>> 0: Mój ulubiony gatunek muzyki to muzyka klasyczna. Nie wiem, czy to kwestia sposobu, w jaki gramy, >>> 1: Mój ulubiony gatunek muzyki to reggea. Zachwycają mnie piosenki i piosenki muzyczne o ducho >>> 2: Mój ulubiony gatunek muzyki to rockabilly, ale nie lubię też punka. Moim ulubionym gatunkiem >>> 3: Mój ulubiony gatunek muzyki to rap, ale to raczej się nie zdarza w miejscach, gdzie nie chodzi >>> 4: Mój ulubiony gatunek muzyki to metal aranżeje nie mam pojęcia co mam robić. Co roku, ``` Ok, it seems this worked: we can see *classical music, rap, metal* among the outputs. Interestingly, *reggae* found a way through via a misspelling *reggea*. Take it as a caution to be careful with curating your bad word lists! ### Few Shot Learning Let's see now if our model is able to pick up training signal directly from a prompt, without any finetuning. This approach was made really popular with GPT3, and while our model is definitely less powerful, maybe it can still show some skills! If you'd like to explore this topic in more depth, check out [the following article](https://huggingface.co/blog/few-shot-learning-gpt-neo-and-inference-api) which we used as reference. ```python prompt = """Tekst: "Nienawidzę smerfów!" Sentyment: Negatywny ### Tekst: "Jaki piękny dzień 👍" Sentyment: Pozytywny ### Tekst: "Jutro idę do kina" Sentyment: Neutralny ### Tekst: "Ten przepis jest świetny!" Sentyment:""" res = generator(prompt, max_length=85, temperature=0.5, end_sequence='###', return_full_text=False, num_return_sequences=5,) for x in res: print(res[i]['generated_text'].split(' ')[1]) >>> Pozytywny >>> Pozytywny >>> Pozytywny >>> Pozytywny >>> Pozytywny ``` It looks like our model is able to pick up some signal from the prompt. Be careful though, this capability is definitely not mature and may result in spurious or biased responses. ### Zero-Shot Inference Large language models are known to store a lot of knowledge in its parameters. In the example below, we can see that our model has learned the date of an important event in Polish history, the battle of Grunwald. ```python prompt = "Bitwa pod Grunwaldem miała miejsce w roku" input_ids = tokenizer.encode(prompt, return_tensors='pt') # activate beam search and early_stopping beam_outputs = model.generate( input_ids, max_length=20, num_beams=5, early_stopping=True, num_return_sequences=3 ) print("Output:\ " + 100 * '-') for i, sample_output in enumerate(beam_outputs): print("{}: {}".format(i, tokenizer.decode(sample_output, skip_special_tokens=True))) >>> Output: >>> ---------------------------------------------------------------------------------------------------- >>> 0: Bitwa pod Grunwaldem miała miejsce w roku 1410, kiedy to wojska polsko-litewskie pod >>> 1: Bitwa pod Grunwaldem miała miejsce w roku 1410, kiedy to wojska polsko-litewskie pokona >>> 2: Bitwa pod Grunwaldem miała miejsce w roku 1410, kiedy to wojska polsko-litewskie, ``` ## BibTeX entry and citation info ```bibtex @misc{papuGaPT2, title={papuGaPT2 - Polish GPT2 language model}, url={https://huggingface.co/flax-community/papuGaPT2}, author={Wojczulis, Michał and Kłeczek, Dariusz}, year={2021} } ```
[ -0.002785906894132495, -0.021958181634545326, -0.001944492687471211, 0.061998479068279266, 0.0472697839140892, 0.026085158810019493, 0.008182921446859837, -0.004325282294303179, -0.0228318739682436, 0.05184720456600189, 0.06440280377864838, -0.008618094027042389, -0.019650867208838463, 0.04631514847278595, -0.04757663235068321, -0.037209708243608475, -0.008150371722877026, -0.0011465023271739483, -0.0223681777715683, -0.006026544142514467, -0.022658634930849075, -0.01140441745519638, -0.006206701975315809, 0.00203767791390419, 0.0057806093245744705, 0.02546663209795952, -0.011723417788743973, 0.018319064751267433, 0.009471782483160496, -0.06127748638391495, -0.0021457572001963854, -0.022538907825946808, -0.033390436321496964, 0.011386769823729992, -0.028329914435744286, -0.02379535138607025, -0.0065552047453820705, 0.011498374864459038, 0.03379259258508682, 0.05708244815468788, -0.006981493439525366, 0.009229689836502075, -0.027232596650719643, -0.0365060456097126, 0.04473381116986275, 0.0006405232707038522, -0.03992781415581703, -0.03149119019508362, 0.03864501044154167, -0.029932528734207153, -0.035983677953481674, -0.07798273116350174, -0.01996573619544506, 0.019472163170576096, -0.004863913170993328, -0.03264923021197319, -0.08106742054224014, 0.007340460084378719, 0.08380371332168579, -0.03588733822107315, -0.045524537563323975, 0.019747644662857056, -0.06054519861936569, 0.002547381678596139, 0.051119476556777954, -0.033890072256326675, -0.0076022217981517315, -0.04541327804327011, 0.025318166241049767, -0.02925790287554264, 0.04094477370381355, -0.04198118671774864, 0.021525317803025246, -0.09791210293769836, -0.01753506250679493, -0.007670896593481302, 0.04304192587733269, 0.02965577132999897, -0.022731535136699677, 0.04670608416199684, 0.048314765095710754, 0.018666015937924385, 0.02367769181728363, -0.01739572174847126, -0.008134866133332253, 0.03858783841133118, -0.03164892643690109, -0.02221009135246277, 0.02656915783882141, 0.03416416049003601, -0.032123394310474396, -0.04117171838879585, -0.009778380393981934, -0.01701532118022442, -0.029156336560845375, -0.004868322052061558, 0.0332290381193161, -0.03148837387561798, 0.056153301149606705, 0.044008396565914154, 0.03426843136548996, 0.009205768816173077, -0.027119360864162445, 0.059677280485630035, -0.01998032070696354, 0.0035328492522239685, -0.004581151995807886, -0.02485610917210579, -0.052128326147794724, 0.013764100149273872, 0.01652257889509201, -0.0345647931098938, -0.06976152956485748, 0.05537279695272446, -0.005540682002902031, -0.006217543035745621, 0.03776949644088745, -0.03163086250424385, -0.021670248359441757, -0.05886860191822052, 0.02644435130059719, -0.0006502351025119424, 0.022199925035238266, 0.02521348185837269, -0.07277803868055344, 0.03165910765528679, -0.05752803012728691, -0.04740583524107933, -0.01638035848736763, 0.021642783656716347, -0.0343853197991848, 0.031210267916321754, 0.021884266287088394, -0.05827505141496658, 0.01409299485385418, 0.031660933047533035, -0.0667644590139389, 0.03298533335328102, 0.01934370957314968, 0.1372552365064621, -0.06616244465112686, -0.04450925439596176, 0.026244675740599632, 0.003023947821930051, -0.01969342865049839, -0.017333626747131348, -0.003742295317351818, -0.043656572699546814, -0.01714402623474598, -0.013493690639734268, 0.04708703234791756, -0.07407234609127045, 0.0017633129609748721, 0.08001231402158737, 0.014116890728473663, 0.04487990215420723, -0.03969277814030647, -0.030229344964027405, 0.006414785049855709, -0.0039886594749987125, -0.03854836896061897, 0.030479077249765396, 0.008308013901114464, -0.01641024835407734, -0.05928120017051697, -0.04676828533411026, 0.022520534694194794, 0.0592413954436779, 0.0012748392764478922, -0.0203170794993639, -0.019821647554636, 0.008006555028259754, 0.06557156890630722, 0.01689649000763893, -0.0361037477850914, 0.039362698793411255, 0.04804127663373947, 0.016630366444587708, -0.0011479755630716681, 0.07275218516588211, 0.018433021381497383, -0.023435423150658607, -0.029736755415797234, 0.00678835017606616, 0.013157276436686516, -0.02673395723104477, 0.009703947231173515, 0.030002137646079063, 0.005772426258772612, -0.028889227658510208, 0.009795507416129112, 0.06400647014379501, -0.017847469076514244, 0.0014694317942485213, -0.004917525220662355, 0.004763039294630289, -0.005924229975789785, 0.03415420278906822, -0.02498636767268181, 0.0061803096905350685, -0.03325718268752098, -0.04821235314011574, 0.010903086513280869, 0.04169972613453865, 0.05463741347193718, 0.03655657544732094, -0.023468635976314545, 0.0792350172996521, -0.017377831041812897, 0.013877861201763153, -0.048020873218774796, -0.030177181586623192, -0.010501507669687271, 0.047574300318956375, 0.003948810510337353, 0.041053518652915955, -0.002773925894871354, -0.057387229055166245, 0.026659782975912094, 0.06271134316921234, 0.05631028115749359, 0.02084912173449993, -0.050685495138168335, 0.002917677629739046, 0.013286678120493889, 0.05768775939941406, -0.015160639770328999, -0.049455676227808, 0.02142365276813507, 0.0604509636759758, -0.045821841806173325, 0.02410005033016205, -0.02494061551988125, 0.014951031655073166, -0.03001418523490429, -0.047044966369867325, 0.031167324632406235, 0.016382787376642227, 0.008839796297252178, 0.023602724075317383, -0.031619805842638016, 0.00891474261879921, 0.01457898411899805, -0.012163805775344372, 0.002539702458307147, -0.035352639853954315, 0.002087830100208521, 0.0337023101747036, 0.05902228504419327, -0.04673544317483902, 0.058727066963911057, -0.03338247537612915, -0.007105463184416294, 0.03468366712331772, -0.03941746801137924, 0.0517764687538147, 0.0358097068965435, 0.01477661170065403, -0.024959655478596687, 0.010378560051321983, 0.0030148664955049753, 0.05522817373275757, 0.040471263229846954, 0.0009481505840085447, 0.08021669089794159, -0.01312286127358675, 0.03997671976685524, 0.0882691740989685, 0.0253800917416811, -0.0050230263732373714, 0.05221984535455704, 0.05731996148824692, -0.0018593351123854518, -0.00402121851220727, 0.05150340124964714, -0.05529187247157097, -0.000553730467800051, -0.0340840145945549, 0.002451278967782855, 0.0033168643712997437, -0.030841374769806862, 0.06213996931910515, 0.023858215659856796, -0.01669248193502426, 0.0324845165014267, -0.006343303248286247, -0.032636724412441254, 0.03946581110358238, -0.0205350611358881, 0.009468095377087593, -0.00987146608531475, -0.03190416470170021, 0.03195641189813614, -0.05916452035307884, -0.0645148977637291, -0.007820882834494114, -0.03977300226688385, -0.008209896273911, -0.07724636048078537, -0.01796741411089897, -0.05711185187101364, -0.014730866998434067, 0.04177127033472061, 0.038092851638793945, 0.02517656609416008, -0.05388455465435982, -0.002448836574330926, -0.030467119067907333, -0.031132275238633156, -0.02690892107784748, -0.03908229619264603, -0.05078048259019852, -0.047245092689991, 0.03589934483170509, 0.01097936276346445, 0.022577883675694466, 0.018464701250195503, 0.01811048947274685, -0.01714465580880642, -0.03660719469189644, 0.05937297269701958, 0.047302909195423126, -0.050513021647930145, -0.03562741354107857, 0.020147543400526047, 0.014818768016994, 0.028343381360173225, -0.020557517185807228, -0.01388635579496622, 0.0618758350610733, 0.08100005239248276, 0.03586484491825104, -0.005653344094753265, -0.015709705650806427, -0.04987617954611778, -0.06410843878984451, -0.03807930648326874, -0.06542456895112991, -0.014221546240150928, -0.021432315930724144, -0.047212086617946625, -0.01088031381368637, -0.04395194724202156, -0.0007204563589766622, -0.01988258771598339, 0.014280538074672222, 0.01802799105644226, 0.015588771551847458, 0.02655744180083275, 0.019750507548451424, -0.040889546275138855, -0.006193243898451328, 0.0632271021604538, -0.0008903210400603712, 0.009131871163845062, -0.06631546467542648, -0.03899175673723221, 0.026573218405246735, 0.030333269387483597, -0.005879693664610386, -0.00010502874647499993, 0.09473484009504318, 0.027460362762212753, -0.0044907452538609505, 0.01430797390639782, -0.03018789552152157, -0.042764730751514435, -0.020543009042739868, -0.003906656056642532, -0.04246542230248451, -0.027005983516573906, -0.026344001293182373, -0.006231356877833605, 0.06021570414304733, -0.07775969058275223, -0.0422852598130703, -0.0008788693812675774, 0.03906700760126114, 0.01536171231418848, 0.005467762239277363, -0.019384853541851044, -0.010171149857342243, -0.019936658442020416, -0.010103104636073112, -0.03862842172384262, 0.006637020502239466, 0.015231622382998466, 0.03473413363099098, 0.012713802047073841, -0.046294111758470535, 0.04467252269387245, 0.021359028294682503, 0.04773784056305885, 0.016660498455166817, -0.04307449981570244, 0.03179742023348808, -0.018848367035388947, 0.03016759268939495, -0.01782984472811222, -0.012746486812829971, -0.05477187782526016, -0.09693487733602524, -0.015939898788928986, -0.0019865103531628847, -0.011871540918946266, -0.00013833724369760603, 0.03310873731970787, -0.030312247574329376, -0.010059698484838009, 0.007370814215391874, 0.017683004960417747, 0.0480063259601593, -0.08537053316831589, 0.05648314207792282, 0.004127515014261007, 0.02530074119567871, -0.042323894798755646, 0.0020365379750728607, -0.04573630169034004, -0.030247148126363754, -0.006816625129431486, 0.061541907489299774, 0.05925247445702553, 0.04299057647585869, 0.06364358216524124, 0.007768186740577221, -0.029438156634569168, 0.04454689472913742, 0.03128230199217796, -0.027922749519348145, -0.03196993097662926, -0.005709898192435503, -0.011454062536358833, -0.024759802967309952, -0.02001429721713066, -0.04651796445250511, 0.045972973108291626, 0.037036385387182236, 0.01710083708167076, -0.01507576834410429, 0.005107296165078878, -0.025524744763970375, -0.0379907451570034, -0.08334314823150635, -0.041283246129751205, -0.014194944873452187, -0.03230130299925804, 0.037566330283880234, 0.0371524877846241, 0.00849990826100111, 0.030129894614219666, 0.06222075596451759, -0.02537313476204872, -0.037992190569639206, -0.0034441009629517794, 0.03127797693014145, -0.05322694778442383, -0.08013767749071121, -0.05045616254210472, 0.047370485961437225, 0.042156048119068146, -0.0019121159566566348, -0.06469465047121048, -0.004834773018956184, 0.03016418032348156, -0.048839859664440155, 0.05366278067231178, 0.003771679475903511, 0.02414857968688011, 0.04807533696293831, 0.008204116486012936, 0.0047811600379645824, 0.004082425497472286, 0.021570328623056412, 0.03130609169602394, 0.05714647099375725, -0.012882157228887081, -0.03266841918230057, -0.050846293568611145, 0.04724324494600296, 0.023862160742282867, 0.02766428329050541, 0.032251644879579544, -0.03659480810165405, -0.06440848857164383, 0.01794007048010826, 0.026330111548304558, -0.05491050332784653, 0.013718031346797943, 0.043088607490062714, 0.040323127061128616, -0.04386333003640175, -0.04418754577636719, -0.018576765432953835, -0.012164821848273277, 0.012054186314344406, 0.0010483238147571683, -0.03245050087571144, -0.05946911498904228, 0.017640452831983566, -0.012157989665865898, -0.032828301191329956, -0.09939119219779968, 0.0019618524238467216, -0.007205344270914793, -0.040275584906339645, 0.02682165987789631, 0.056731853634119034, 0.038949012756347656, 0.053320106118917465, -0.010751998052001, 0.003015657886862755, -0.04018925502896309, 0.02857947163283825, -0.024337921291589737, -0.013207774609327316, -0.009264837019145489, -0.04688560962677002, 0.0036446733865886927, -0.041476644575595856, -0.00890935119241476, -0.060836490243673325, -0.01659303344786167, -0.002991989254951477, -0.02045264095067978, -0.0015305744018405676, -0.010976343415677547, 0.05594693496823311, -0.014288038946688175, -0.016063420102000237, -0.025481702759861946, -0.04535144940018654, -0.07009967416524887, -0.04590678960084915, 0.01595553383231163, -0.0003011053195223212, 0.04325646162033081, 0.006513967644423246, 0.016273541375994682, 0.0005837212665937841, -0.00693949731066823, -0.01746869832277298, 0.05401572957634926, 0.007921925745904446, -0.04635346308350563, -0.025128254666924477, 0.008936102502048016, 0.013382098637521267, 0.024089746177196503, -0.02876932919025421, 0.04661882668733597, -0.010926774702966213, -0.047000546008348465, -0.007248617708683014, -0.009424768388271332, 0.03532278165221214, -0.04925234615802765, -0.04629623889923096, -0.022615773603320122, -0.05537869781255722, 0.02543737180531025, 0.016975415870547295, -0.020231835544109344, 0.008140195161104202, 0.024771805852651596, 0.047197550535202026, -0.00853376928716898, -0.03434085473418236, 0.013752765953540802, -0.05847495049238205, 0.025012191385030746, -0.03875283524394035, 0.054941415786743164, -0.04726603627204895, 0.015802402049303055, -0.01121853943914175, -0.013285803608596325, -0.04388343170285225, 0.03096594661474228, -0.005383441224694252, -0.0034828928764909506, -0.01974990963935852, -0.019664853811264038, -0.02796114981174469, 0.05489649251103401, -0.011899021454155445, 0.03611374273896217, -0.025090942159295082, 0.04509418457746506, -0.043711427599191666, 0.010087206959724426, -0.033294111490249634, 0.006662959698587656, -0.029285743832588196, -0.009089718572795391, -0.017450083047151566, -0.03875928372144699, 0.028537312522530556, 0.018057620152831078, 0.02854398638010025, 0.03414168581366539, -0.020886201411485672, 0.015511213801801205, 0.01834316924214363, -0.04713552072644234, -0.009866924025118351, -0.020683879032731056, -0.003913031425327063, 0.009278845973312855, 0.04676179587841034, 0.011440659873187542, -0.061559148132801056, -0.0639418363571167, 0.05514273792505264, 0.034836240112781525, 0.030011020600795746, 0.004270658828318119, 0.0288846492767334, 0.030083538964390755, 0.06128505617380142, -0.03139244765043259, -0.008914531208574772, -0.01549792941659689, -0.041152190417051315, 0.02577829547226429, 0.004433024674654007, 0.03156624361872673, 0.016494980081915855, -0.034496475011110306, -0.02867310307919979, 0.0520997978746891, 0.026079578325152397, 0.007628980558365583, 0.019538460299372673, -0.030309943482279778, 0.03172224014997482, -0.00607952568680048, -0.051229093223810196, -0.015115625225007534, -0.0029724566265940666, -0.02556225284934044, 0.087491475045681, -0.038053929805755615, 0.007906319573521614, 0.05782411992549896, 0.009585011750459671, -0.013867909088730812, 0.030277715995907784, -0.02547682635486126, -0.012259876355528831, 0.04303416237235069, -0.03190933167934418, -0.03625398874282837, -0.019948318600654602, 0.06266860663890839, -0.052833426743745804, 0.048706717789173126, 0.052614133805036545, 0.029835235327482224, 0.0125126913189888, -0.02658938057720661, -0.03731018304824829, 0.016594886779785156, -0.024825258180499077, 0.07017646729946136, -0.003806658321991563, -0.040994059294462204, 0.06822940707206726, 0.01649291254580021, -0.07983461767435074, 0.0428018644452095, 0.04377796873450279, 0.014244990423321724, 0.014567242003977299, 0.038784950971603394, -0.03308228775858879, -0.0030681302305310965, -0.031023280695080757, 0.020243169739842415, -0.04626217484474182, 0.0001655997766647488, 0.02832745760679245, -0.04852696880698204, -0.0010903493966907263, 0.047372326254844666, -0.03682796284556389, 0.000624995562247932, 0.031139153987169266, -0.07701300084590912, -0.06447512656450272, 0.008167305961251259, 0.03425581380724907, -0.023837003856897354, 0.007878688164055347, -0.05331899970769882, 0.04413767158985138, 0.019266005605459213, -0.01379447989165783, -0.04085991531610489, -0.0013231189223006368, -0.004098269157111645, -0.06768475472927094, -0.04486042261123657, 0.031302351504564285, 0.014754259027540684, -0.03733339160680771, 0.03976079821586609, 0.010494361631572247, -0.007485308218747377, 0.026541678234934807, -0.003149213269352913, 0.041294243186712265, -0.04497533291578293, -0.01193500030785799, 0.0362776517868042, 0.018420860171318054, 0.02202482894062996, -0.01827029511332512, 0.029042016714811325, 0.046493083238601685, 0.023593557998538017, -0.004709620028734207, -0.023121410980820656, -0.03278115764260292, 0.010208112187683582, -0.052523575723171234, 0.015983328223228455, 0.012950748205184937, -0.06434611976146698, -0.032868482172489166, -0.0142812579870224, -0.0003755720390472561, 0.02964451164007187, -0.022962579503655434, 0.0013014200376346707, 0.037278108298778534, -0.03000643104314804, -0.04920568689703941, -0.05582050234079361, -0.031164104118943214, -0.03422772139310837, 0.06720864027738571, 0.019955674186348915, -0.03891540318727493, 0.04480796307325363, -0.05490325391292572, -0.04037021845579147, 0.028869422152638435, 0.013937105424702168, -0.03348061069846153, 0.06393551826477051, 0.040481358766555786, -0.036285772919654846, 0.015601560473442078, 0.05110680311918259, -0.05441083014011383, 0.050803348422050476, 0.019341852515935898, 0.013408714905381203, 0.03076368011534214, 0.02256838046014309, -0.014243300072848797, -0.012209027074277401, -0.05630107223987579, -0.03634672611951828, -0.04693536087870598, 0.0009263570536859334, 0.05279507115483284 ]
Batsy24/DialoGPT-small-Twilight_EdBot
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- language: nl datasets: - mC4 - Dutch_news --- # Pino (Dutch BigBird) base model Created by [Dat Nguyen](https://www.linkedin.com/in/dat-nguyen-49a641138/) & [Yeb Havinga](https://www.linkedin.com/in/yeb-havinga-86530825/) during the [Hugging Face community week](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104) (Not finished yet) BigBird, is a sparse-attention based transformer which extends Transformer based models, such as BERT to much longer sequences. Moreover, BigBird comes along with a theoretical understanding of the capabilities of a complete transformer that the sparse model can handle. It is a pretrained model on Dutch language using a masked language modeling (MLM) objective. It was introduced in this [paper](https://arxiv.org/abs/2007.14062) and first released in this [repository](https://github.com/google-research/bigbird). ## Model description BigBird relies on **block sparse attention** instead of normal attention (i.e. BERT's attention) and can handle sequences up to a length of 4096 at a much lower compute cost compared to BERT. It has achieved SOTA on various tasks involving very long sequences such as long documents summarization, question-answering with long contexts. ## How to use Here is how to use this model to get the features of a given text in PyTorch: ```python from transformers import BigBirdModel # by default its in `block_sparse` mode with num_random_blocks=3, block_size=64 model = BigBirdModel.from_pretrained("flax-community/pino-bigbird-roberta-base") # you can change `attention_type` to full attention like this: model = BigBirdModel.from_pretrained("flax-community/pino-bigbird-roberta-base", attention_type="original_full") # you can change `block_size` & `num_random_blocks` like this: model = BigBirdModel.from_pretrained("flax-community/pino-bigbird-roberta-base", block_size=16, num_random_blocks=2) ``` ## Training Data This model is pre-trained on four publicly available datasets: **mC4**, and scraped **Dutch news** from NRC en Nu.nl. It uses the the fast universal Byte-level BPE (BBPE) in contrast to the sentence piece tokenizer and vocabulary as RoBERTa (which is in turn borrowed from GPT2). ## Training Procedure The data is cleaned as follows: Remove texts containing HTML codes / javascript codes / loremipsum / policies Remove lines without end mark. Remove too short texts, words Remove too long texts, words Remove bad words ## BibTeX entry and citation info ```tex @misc{zaheer2021big, title={Big Bird: Transformers for Longer Sequences}, author={Manzil Zaheer and Guru Guruganesh and Avinava Dubey and Joshua Ainslie and Chris Alberti and Santiago Ontanon and Philip Pham and Anirudh Ravula and Qifan Wang and Li Yang and Amr Ahmed}, year={2021}, eprint={2007.14062}, archivePrefix={arXiv}, primaryClass={cs.LG} } ```
[ -0.04013003036379814, -0.016709454357624054, -0.013481133617460728, 0.031550996005535126, 0.02288847044110298, 0.02474263682961464, -0.005548090673983097, -0.03960854560136795, -0.008402841165661812, 0.05121447145938873, 0.024575909599661827, -0.015835760161280632, 0.010673750191926956, 0.05972585454583168, -0.03681744635105133, -0.01981380209326744, -0.015853215008974075, -0.001630102051422, -0.037100568413734436, 0.000654626521281898, 0.010568775236606598, -0.0028697638772428036, 0.013057502917945385, 0.012954654172062874, -0.0084195202216506, 0.005137803498655558, -0.01633065938949585, 0.029378000646829605, 0.018539365381002426, -0.08684904128313065, 0.006899210624396801, -0.04412617161870003, -0.053733278065919876, -0.007451820187270641, -0.017547376453876495, -0.024230526760220528, 0.02632790245115757, 0.00553425308316946, 0.03666967526078224, 0.05381906405091286, -0.013942896388471127, 0.002709395484998822, -0.007258867844939232, -0.0553414449095726, 0.036898739635944366, 0.014236346818506718, -0.06395205110311508, -0.024040814489126205, 0.012983175925910473, -0.021916698664426804, -0.04706008359789848, -0.09428700059652328, -0.047529567033052444, 0.022160107269883156, -0.00033168488880619407, -0.022442776709794998, -0.07785848528146744, -0.031136393547058105, 0.06670607626438141, -0.0473019964993, -0.037746597081422806, 0.021948322653770447, -0.03859555348753929, 0.00930169690400362, 0.024020759388804436, -0.01315444614738226, -0.0020924678537994623, -0.03033646196126938, 0.03948896750807762, -0.03941630944609642, 0.03957754373550415, -0.03952891007065773, 0.02928410843014717, -0.08233566582202911, 0.0009509595111012459, -0.01783502846956253, 0.031064679846167564, 0.037645407021045685, -0.0183061882853508, 0.05671131983399391, 0.015272718854248524, -0.022536570206284523, 0.011326035484671593, 0.006008449476212263, 0.006620483938604593, 0.045199841260910034, -0.04022182896733284, 0.011232687160372734, -0.005445555318146944, 0.04676327854394913, -0.027898497879505157, -0.03379875794053078, -0.02053900621831417, -0.02882583811879158, -0.016891837120056152, 0.026127705350518227, 0.01120859757065773, -0.01856953091919422, 0.024494199082255363, 0.02516537345945835, 0.029425455257296562, 0.037349164485931396, -0.0067227804102003574, 0.08720558136701584, 0.01075837854295969, -0.014974718913435936, -0.03005528636276722, -0.042308684438467026, -0.03922559320926666, 0.03695956990122795, 0.0324990339577198, -0.05796480551362038, -0.04261377453804016, 0.04698037728667259, 0.03285764530301094, -0.03516795486211777, 0.027944037690758705, -0.014754089526832104, -0.05437743291258812, -0.05508656054735184, 0.04251328483223915, 0.00444824481382966, 0.013357957825064659, 0.0030043506994843483, -0.047900088131427765, 0.017235031351447105, -0.01888587512075901, -0.03319590538740158, 0.005437113344669342, 0.026618773117661476, -0.023164572194218636, 0.04181214049458504, 0.027388686314225197, -0.0270284041762352, -0.004002576693892479, 0.018875565379858017, -0.07070120424032211, 0.04658707603812218, 0.03608149662613869, 0.12265961617231369, -0.06294184923171997, -0.04010631889104843, 0.014877411536872387, 0.003884954610839486, -0.009560142643749714, 0.0034689612220972776, 0.008108566515147686, -0.037003081291913986, -0.0023829545825719833, -0.01384491566568613, 0.057750750333070755, -0.06584981828927994, -0.006831736769527197, 0.03150499612092972, -0.00956236757338047, 0.02159048058092594, -0.04806023836135864, -0.00705815339460969, -0.005637770984321833, -0.007404343690723181, -0.05042697861790657, 0.051919810473918915, -0.005805533844977617, -0.02797369658946991, -0.042696185410022736, -0.04718868434429169, 0.006961266044527292, 0.08862356841564178, 0.0025483383797109127, -0.02815481834113598, -0.009577352553606033, 0.03151005506515503, 0.049268849194049835, 0.0533030703663826, -0.031755778938531876, 0.04117967560887337, 0.03788839653134346, 0.025586379691958427, -0.032915182411670685, 0.05315546318888664, -0.003696410683915019, -0.029943201690912247, -0.03472999855875969, 0.02007538080215454, -0.004473010543733835, -0.034325286746025085, 0.019084712490439415, 0.01823667250573635, -0.0059396796859800816, -0.02780800685286522, -0.027149025350809097, 0.06962209194898605, 0.0000676088166073896, -0.0011313306167721748, 0.00029651590739376843, -0.00046750728506594896, -0.00826474092900753, 0.033716339617967606, -0.027625571936368942, 0.01485123485326767, -0.01029827632009983, -0.045455578714609146, -0.004239025991410017, 0.02397897094488144, 0.04767489433288574, 0.04237075522542, -0.02011374570429325, 0.06964283436536789, -0.04191732034087181, 0.006944021210074425, -0.05158591642975807, -0.033447716385126114, 0.005346966441720724, 0.04036206752061844, 0.054473232477903366, 0.039408497512340546, 0.01663457602262497, -0.040071696043014526, 0.03646514192223549, 0.06858915090560913, 0.04223078116774559, 0.04106270149350166, -0.03363017737865448, -0.0022840106394141912, 0.020980633795261383, 0.0735769122838974, -0.04320589452981949, -0.03542955219745636, 0.014793860726058483, 0.02606324292719364, -0.025753023102879524, 0.01803637109696865, -0.01613907516002655, 0.02390960603952408, -0.028126195073127747, -0.07042047381401062, 0.06977731734514236, 0.02890767715871334, 0.024537252262234688, 0.011184708215296268, -0.019118191674351692, -0.016724279150366783, 0.024336189031600952, 0.0040608239360153675, -0.011916534043848515, -0.033700596541166306, 0.009718199260532856, 0.011680944822728634, 0.031037403270602226, -0.055855825543403625, 0.02974063530564308, -0.005192605312913656, -0.01509141270071268, 0.03694433346390724, -0.0072272904217243195, 0.018770519644021988, 0.05306202545762062, 0.00517217768356204, -0.027982966974377632, 0.016340075060725212, 0.01785464771091938, 0.030648961663246155, 0.08733928203582764, 0.01760028302669525, 0.07181407511234283, 0.002865656977519393, 0.061334967613220215, 0.08999902009963989, 0.02214238978922367, 0.01631888747215271, 0.061298079788684845, 0.06606104224920273, 0.00039050806662999094, -0.028819065541028976, 0.0647534430027008, -0.05228421092033386, 0.01691807433962822, -0.028557876124978065, 0.017251543700695038, 0.010435644537210464, -0.019753849133849144, 0.042380884289741516, 0.006706606596708298, -0.019308723509311676, 0.009861623868346214, -0.00942036509513855, -0.011993404477834702, 0.06150464341044426, -0.014323197305202484, 0.031880222260951996, -0.00716397725045681, -0.04219628497958183, 0.013776653446257114, -0.07748572528362274, -0.03999370336532593, -0.008004723116755486, -0.0500495545566082, -0.00862183514982462, -0.08805166929960251, -0.025897234678268433, -0.07246149331331253, -0.017139161005616188, 0.059736885130405426, 0.017602885141968727, -0.005196583457291126, -0.03494393825531006, -0.0011829809518530965, -0.041676416993141174, -0.02894117310643196, -0.04259829223155975, -0.042000215500593185, -0.03140764683485031, -0.06228106468915939, 0.03611769154667854, 0.034055937081575394, 0.020605197176337242, -0.018208565190434456, -0.00784474890679121, -0.034555692225694656, -0.002977894153445959, 0.038384810090065, 0.025714967399835587, -0.004972914233803749, -0.030429234728217125, 0.01751161552965641, -0.030365748330950737, 0.03317548707127571, -0.010663239285349846, -0.023122448474168777, 0.08530973643064499, 0.0779818594455719, 0.018179437145590782, -0.009290294721722603, -0.014980392530560493, -0.05261039733886719, -0.06366021186113358, -0.032238490879535675, -0.029687069356441498, -0.019323090091347694, -0.03511391952633858, -0.041876230388879776, -0.02232559770345688, -0.03702112287282944, 0.000825610535684973, 0.0015696961199864745, 0.016314582899212837, 0.015772895887494087, 0.030758248642086983, 0.03428396210074425, 0.006670355796813965, -0.036891043186187744, -0.030311021953821182, 0.09808676689863205, 0.01487704087048769, 0.02259972132742405, -0.06345774233341217, -0.04406977444887161, 0.038427673280239105, 0.03417833894491196, -0.002747842576354742, 0.0030167887452989817, 0.07874064892530441, 0.0406956821680069, -0.01974806934595108, 0.007841777056455612, -0.015912871807813644, -0.02139171212911606, -0.01043978426605463, 0.0014386373804882169, -0.04998375475406647, -0.04757547006011009, -0.04216502606868744, -0.005988216493278742, 0.04668177664279938, -0.05391461029648781, -0.075025774538517, -0.034773338586091995, 0.042335737496614456, 0.020487552508711815, 0.01694035902619362, -0.0375237911939621, 0.011503832414746284, -0.04500088468194008, -0.01892116665840149, 0.018755007535219193, 0.008163729682564735, 0.01373724639415741, 0.059371378272771835, 0.04248103126883507, -0.018642986193299294, 0.04920177161693573, 0.03097018226981163, 0.07305749505758286, 0.015067399479448795, -0.05548763647675514, 0.005337192676961422, -0.03421039506793022, 0.0273166261613369, -0.003906173398718238, -0.03544976934790611, -0.04048997536301613, -0.07663256675004959, -0.013587018474936485, 0.014667021110653877, -0.03408829867839813, -0.010936418548226357, 0.034573137760162354, -0.012761596590280533, -0.008356153964996338, 0.005316450726240873, 0.017180735245347023, 0.03607260063290596, -0.05892918258905411, 0.06582298874855042, 0.02275078371167183, 0.02098110131919384, -0.04131424427032471, 0.0038678180426359177, -0.05497739091515541, -0.007854594849050045, 0.02268977276980877, 0.06301027536392212, 0.04483657702803612, 0.0562051497399807, 0.06426388770341873, 0.060464661568403244, -0.038017839193344116, 0.03770234063267708, 0.03506111726164818, 0.006062147207558155, -0.03597966209053993, 0.013442019931972027, -0.003015669295564294, -0.028462925925850868, -0.01483834721148014, -0.02367374859750271, 0.03283154219388962, 0.01256586704403162, 0.016203483566641808, -0.0034326454624533653, 0.016960706561803818, -0.009557552635669708, -0.022943131625652313, -0.06419378519058228, -0.0048980615101754665, -0.002836663741618395, -0.013481306843459606, 0.033109236508607864, 0.03034830652177334, 0.014434841461479664, 0.05346408858895302, 0.07453178614377975, -0.0015703950775787234, -0.03982040286064148, 0.0436323881149292, 0.029939431697130203, -0.03761817514896393, -0.05150561034679413, -0.01670524850487709, 0.041128989309072495, 0.06286685913801193, 0.02166927233338356, -0.08800937235355377, 0.018928978592157364, 0.049439530819654465, -0.029550913721323013, 0.049171824008226395, -0.02020164020359516, 0.04323462396860123, 0.06880560517311096, -0.0012018687557429075, 0.0377415232360363, -0.032296277582645416, 0.007317476440221071, -0.002769864397123456, 0.03878418356180191, -0.033358026295900345, -0.02833741530776024, -0.05374784395098686, 0.025274567306041718, 0.039309412240982056, 0.0383019894361496, 0.04557337239384651, -0.01929476112127304, -0.05837833508849144, -0.0004051539581269026, 0.04730688035488129, -0.042242519557476044, 0.005052626132965088, 0.014046370051801205, 0.022755790501832962, -0.051643382757902145, -0.044642768800258636, -0.034794557839632034, -0.009298969060182571, 0.03925235942006111, -0.018306639045476913, -0.03657585009932518, -0.05971074476838112, 0.023918764665722847, -0.036595024168491364, -0.017995551228523254, -0.094410240650177, 0.0282181054353714, -0.0038341712206602097, 0.0028883940540254116, 0.0616668164730072, 0.06191596761345863, 0.027151722460985184, 0.04333706200122833, -0.03354008495807648, 0.006734533701092005, -0.03991077095270157, 0.044608693569898605, -0.03676176816225052, -0.015623608604073524, -0.011558671481907368, -0.057092372328042984, -0.015176689252257347, -0.03888275474309921, -0.054449260234832764, -0.02777726761996746, -0.029626548290252686, -0.0061904508620500565, -0.014463654719293118, -0.002737225964665413, -0.0058069415390491486, 0.03890704736113548, -0.040597669780254364, -0.01864265277981758, -0.04535328596830368, -0.041489001363515854, -0.03901274874806404, -0.027474692091345787, 0.023519465699791908, 0.016165487468242645, 0.0429539792239666, 0.0052165440283715725, 0.007849490270018578, 0.015547218732535839, -0.019615324214100838, -0.017899377271533012, 0.02518996223807335, 0.00008486276783514768, -0.056555621325969696, -0.014323918148875237, 0.013210910372436047, 0.018957197666168213, 0.03185610473155975, -0.020013434812426567, 0.03501036763191223, 0.013115594163537025, -0.02525414526462555, 0.002986646955832839, 0.017118016257882118, 0.03957263007760048, -0.07627566158771515, -0.04918830469250679, -0.00395419355481863, -0.038698840886354446, 0.044993069022893906, -0.015269964002072811, -0.030569275841116905, 0.049351878464221954, 0.02379455976188183, 0.056701768189668655, 0.010218718089163303, -0.02791869267821312, 0.02461741864681244, -0.03378374129533768, 0.029602428898215294, -0.060374658554792404, 0.056138571351766586, -0.043755870312452316, 0.004415824543684721, -0.004168660379946232, -0.0052158585749566555, -0.028605923056602478, 0.04764648154377937, -0.006645616143941879, -0.01443489734083414, -0.004523191601037979, -0.00910807866603136, -0.013955019414424896, -0.004611853044480085, -0.00779928220435977, 0.00994356069713831, -0.028652580454945564, 0.040290240198373795, -0.046768441796302795, 0.008740724064409733, -0.0244816392660141, -0.00784205086529255, -0.03234286978840828, -0.038092706352472305, -0.008204665966331959, -0.01824534870684147, 0.03627324849367142, 0.04249727353453636, 0.018238535150885582, 0.005240539088845253, -0.02950756438076496, -0.014314094558358192, 0.004896222148090601, -0.07181254029273987, -0.032529477030038834, -0.004442114848643541, 0.014022906310856342, -0.012124410830438137, 0.06147864833474159, 0.03811294212937355, -0.04131447896361351, -0.05156443640589714, 0.03499893471598625, 0.01908680982887745, 0.007217009551823139, -0.01916937157511711, 0.01653503254055977, 0.022356431931257248, 0.052703291177749634, -0.05015461519360542, -0.003211241913959384, -0.007516303565353155, -0.03609219938516617, 0.008403231389820576, -0.0014397099148482084, 0.030478402972221375, 0.01160463411360979, -0.03972345590591431, -0.03017895668745041, 0.07976038753986359, 0.017152991145849228, 0.014807494357228279, 0.014791814610362053, -0.04295899346470833, 0.020638728514313698, 0.010142565704882145, -0.06657031178474426, -0.018530091270804405, 0.015091649256646633, -0.016155865043401718, 0.08110597729682922, 0.010564031079411507, -0.003335806308314204, 0.032728035002946854, 0.029241817072033882, -0.001849696272984147, 0.04421160742640495, -0.04581405594944954, 0.02987428940832615, 0.05350454896688461, -0.06199042871594429, -0.021982884034514427, -0.009856363758444786, 0.06859719753265381, -0.06130996719002724, 0.0581752248108387, 0.04047376289963722, 0.011525627225637436, 0.009944716468453407, -0.016532137989997864, -0.025986799970269203, -0.011029827408492565, -0.011758842505514622, 0.06324012577533722, -0.00477977842092514, -0.057889726012945175, 0.08922760933637619, 0.005960394162684679, -0.07913155853748322, 0.04297938197851181, 0.05612686648964882, 0.03414883837103844, 0.030338667333126068, 0.032300934195518494, -0.05054064467549324, 0.0019325513858348131, -0.034146279096603394, 0.019638368859887123, -0.02826840430498123, -0.014472173526883125, 0.027564844116568565, -0.030267301946878433, -0.022902021184563637, 0.03445490449666977, -0.015954039990901947, -0.000457165006082505, 0.024602307006716728, -0.06598476320505142, -0.04039794206619263, -0.0006628905539400876, 0.046076856553554535, -0.03330652788281441, 0.023417502641677856, -0.044839780777692795, 0.04023060202598572, 0.010288958437740803, 0.0009504710324108601, -0.016926979646086693, 0.0035441501531749964, 0.008051494136452675, -0.08093071728944778, -0.053141407668590546, 0.03373406082391739, 0.02263966202735901, -0.021753685548901558, 0.03186529129743576, -0.025786152109503746, 0.020376022905111313, 0.021563366055488586, 0.0072387224063277245, 0.022035427391529083, -0.052915140986442566, 0.01949772611260414, 0.01282287947833538, 0.0237919632345438, 0.03908157721161842, -0.0073000346310436726, 0.02904360368847847, 0.03543328493833542, 0.0472448393702507, 0.007012811955064535, -0.03397310897707939, -0.010332105681300163, 0.03413848951458931, -0.048538532108068466, 0.011454081162810326, 0.007965173572301865, -0.04496735706925392, -0.02824392355978489, -0.034686654806137085, -0.03900207579135895, 0.05310806259512901, -0.03841378539800644, 0.031586527824401855, 0.04231814667582512, -0.006129696499556303, -0.04881703853607178, -0.09580818563699722, -0.0028648353181779385, -0.033441267907619476, 0.02669120952486992, 0.027342280372977257, -0.03272063657641411, 0.02079387940466404, -0.05235973000526428, -0.040027547627687454, 0.020947203040122986, 0.0002539748966228217, -0.03657659888267517, 0.03625879064202309, 0.03300148993730545, -0.039796993136405945, 0.017333582043647766, 0.03341029956936836, -0.04715719446539879, 0.03654320165514946, 0.02780326083302498, -0.0010283277370035648, 0.011967280879616737, 0.042829953134059906, -0.017849400639533997, -0.022726554423570633, -0.036042340099811554, -0.03987227380275726, -0.02825423888862133, -0.0087773771956563, 0.06195231154561043 ]
BatuhanYilmaz/bert-finetuned-mrpc
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-07-19T03:39:16Z
# Putting NeRF on a Diet: Semantically Consistent Few-Shot View Synthesis Implementation [![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://huggingface.co/spaces/flax-community/DietNerf-Demo) [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1etYeMTntw5mh3FvJv4Ubb7XUoTtt5J9G?usp=sharing) <p align="center"><img width="450" alt="스크린샷 2021-07-04 오후 4 11 51" src="https://user-images.githubusercontent.com/77657524/126361638-4aad58e8-4efb-4fc5-bf78-f53d03799e1e.png"></p> This project attempted to implement the paper **[Putting NeRF on a Diet](https://arxiv.org/abs/2104.00677)** (DietNeRF) in JAX/Flax. DietNeRF is designed for rendering quality novel views in few-shot learning scheme, a task that vanilla NeRF (Neural Radiance Field) struggles. To achieve this, the author coins **Semantic Consistency Loss** to supervise DietNeRF by prior knowledge from CLIP Vision Transformer. Such supervision enables DietNeRF to learn 3D scene reconstruction with CLIP's prior knowledge on 2D views. Besides this repo, you can check our write-up and demo here: - ✍️ **[Write-up in Notion](https://steep-cycle-f6b.notion.site/DietNeRF-Putting-NeRF-on-a-Diet-4aeddae95d054f1d91686f02bdb74745)**: more details of DietNeRF and our experiments - ✨ **[Demo in Hugging Face Space](https://huggingface.co/spaces/flax-community/DietNerf-Demo)**: showcase our trained DietNeRFs by Streamlit ## 🤩 Demo 1. You can check out [our demo in Hugging Face Space](https://huggingface.co/spaces/flax-community/DietNerf-Demo) 2. Or you can set up our Streamlit demo locally (model checkpoints will be fetched automatically upon startup) ```shell pip install -r requirements_demo.txt streamlit run app.py ``` <p align="center"><img width="600" height="400" alt="Streamlit Demo" src="assets/space_demo.png"></p> ## ✨ Implementation Our code is written in JAX/ Flax and mainly based upon [jaxnerf](https://github.com/google-research/google-research/tree/master/jaxnerf) from Google Research. The base code is highly optimized in GPU & TPU. For semantic consistency loss, we utilize pretrained CLIP Vision Transformer from [transformers](https://github.com/huggingface/transformers) library. To learn more about DietNeRF, our experiments and implementation, you are highly recommended to check out our very detailed **[Notion write-up](https://www.notion.so/DietNeRF-Putting-NeRF-on-a-Diet-4aeddae95d054f1d91686f02bdb74745)**! <p align="center"><img width="500" height="600" alt="스크린샷 2021-07-04 오후 4 11 51" src="assets/report_thumbnail.png"></p> ## 🤗 Hugging Face Model Hub Repo You can also find our project on the [Hugging Face Model Hub Repository](https://huggingface.co/flax-community/putting-nerf-on-a-diet/). Our JAX/Flax implementation currently supports: <table class="tg"> <thead> <tr> <th class="tg-0lax"><span style="font-weight:bold">Platform</span></th> <th class="tg-0lax" colspan="2"><span style="font-weight:bold">Single-Host GPU</span></th> <th class="tg-0lax" colspan="2"><span style="font-weight:bold">Multi-Device TPU</span></th> </tr> </thead> <tbody> <tr> <td class="tg-0lax"><span style="font-weight:bold">Type</span></td> <td class="tg-0lax">Single-Device</td> <td class="tg-0lax">Multi-Device</td> <td class="tg-0lax">Single-Host</td> <td class="tg-0lax">Multi-Host</td> </tr> <tr> <td class="tg-0lax"><span style="font-weight:bold">Training</span></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> </tr> <tr> <td class="tg-0lax"><span style="font-weight:bold">Evaluation</span></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> <td class="tg-0lax"><img src="http://storage.googleapis.com/gresearch/jaxnerf/check.png" alt="Supported" width=18px height=18px></td> </tr> </tbody> </table> ## 💻 Installation ```bash # Clone the repo git clone https://github.com/codestella/putting-nerf-on-a-diet # Create a conda environment, note you can use python 3.6-3.8 as # one of the dependencies (TensorFlow) hasn't supported python 3.9 yet. conda create --name jaxnerf python=3.6.12; conda activate jaxnerf # Prepare pip conda install pip; pip install --upgrade pip # Install requirements pip install -r requirements.txt # [Optional] Install GPU and TPU support for Jax # Remember to change cuda101 to your CUDA version, e.g. cuda110 for CUDA 11.0. !pip install --upgrade jax "jax[cuda110]" -f https://storage.googleapis.com/jax-releases/jax_releases.html # install flax and flax-transformer pip install flax transformers[flax] ``` ## ⚽ Dataset Download the datasets from the [NeRF official Google Drive](https://drive.google.com/drive/folders/128yBriW1IG_3NJ5Rp7APSTZsJqdJdfc1). Please download the `nerf_synthetic.zip` and unzip them in the place you like. Let's assume they are placed under `/tmp/jaxnerf/data/`. ## 💖 Methods * 👉👉 You can check VEEEERY detailed explanation about our project on [Notion Report](https://www.notion.so/DietNeRF-Putting-NeRF-on-a-Diet-4aeddae95d054f1d91686f02bdb74745) <p align="center"><img width="400" alt="스크린샷 2021-07-04 오후 4 11 51" src="https://user-images.githubusercontent.com/77657524/124376591-b312b780-dce2-11eb-80ad-9129d6f5eedb.png"></p> Based on the principle that “a bulldozer is a bulldozer from any perspective”, Our proposed DietNeRF supervises the radiance field from arbitrary poses (DietNeRF cameras). This is possible because we compute a semantic consistency loss in a feature space capturing high-level scene attributes, not in pixel space. We extract semantic representations of renderings using the CLIP Vision Transformer, then maximize similarity with representations of ground-truth views. In effect, we use prior knowledge about scene semantics learned by single-view 2D image encoders to constrain a 3D representation. You can check detail information on the author's paper. Also, you can check the CLIP based semantic loss structure on the following image. <p align="center"><img width="600" alt="스크린샷 2021-07-04 오후 4 11 51" src="https://user-images.githubusercontent.com/77657524/126386709-a4ce7ff8-2a68-442f-b4ed-26971fb90e51.png"></p> Our code used JAX/FLAX framework for implementation. So that it can achieve much speed up than other NeRF codes. At last, our code used hugging face, transformer, CLIP model library. ## 🤟 How to use ``` python -m train \ --data_dir=/PATH/TO/YOUR/SCENE/DATA \ % e.g., nerf_synthetic/lego --train_dir=/PATH/TO/THE/PLACE/YOU/WANT/TO/SAVE/CHECKPOINTS \ --config=configs/CONFIG_YOU_LIKE ``` You can toggle the semantic loss by “use_semantic_loss” in configuration files. ## 💎 Experimental Results ### ❗ Rendered Rendering images by 8-shot learned Diet-NeRF DietNeRF has a strong capacity to generalise on novel and challenging views with EXTREMELY SMALL TRAINING SAMPLES! ### HOTDOG / DRUM / SHIP / CHAIR / LEGO / MIC <img alt="" src="https://user-images.githubusercontent.com/77657524/126976706-caec6d6c-6126-45d0-8680-4c883f71f5bb.png" width="250"/></td><td><img alt="" src="https://user-images.githubusercontent.com/77657524/126976868-183af09a-47b3-4c76-ba20-90e9fef17bcc.png" width="250"/><td><img alt="" src="https://user-images.githubusercontent.com/77657524/126977843-18b4b077-1db0-4287-8e5c-baa10c46e647.png" width="250"/> <img alt="" src="https://user-images.githubusercontent.com/77657524/126977066-9c99a882-7a46-4a1d-921f-cdb0eee60f39.gif" width="250"/><img alt="" src="https://user-images.githubusercontent.com/77657524/126913553-19ebd2f2-c5f1-4332-a253-950e41cb5229.gif" width="300"/><img alt="" src="https://user-images.githubusercontent.com/77657524/126913559-dfce4b88-84a8-4a0a-91eb-ed12716ab328.gif" width="300"/> ### ❗ Rendered GIF by occluded 14-shot learned NeRF and Diet-NeRF We made artificial occlusion on the right side of image (Only picked left side training poses). The reconstruction quality can be compared with this experiment. DietNeRF shows better quality than Original NeRF when It is occluded. #### Training poses <img width="1400" src="https://user-images.githubusercontent.com/26036843/126111980-4f332c87-a7f0-42e0-a355-8e77621bbca4.png"> #### LEGO [DietNeRF] <img alt="" src="https://user-images.githubusercontent.com/77657524/126913404-800777f8-8f88-451a-92de-3dda25075206.gif" width="300"/> [NeRF] <img alt="" src="https://user-images.githubusercontent.com/77657524/126913412-f10dfb3e-e918-4ff4-aa2c-63529fec91d8.gif" width="300"/> #### SHIP [DietNeRF] <img alt="" src="https://user-images.githubusercontent.com/77657524/126913430-0014a904-6ca1-4a7b-9cd6-6f73b36552fb.gif" width="300"/> [NeRF] <img alt="" src="https://user-images.githubusercontent.com/77657524/126913439-2e3128ef-c7ef-4c21-8261-6e3b8fe51f86.gif" width="300"/> ## 👨‍👧‍👦 Our Teams | Teams | Members | |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------| | Project Managing | [Stella Yang](https://github.com/codestella) To Watch Our Project Progress, Please Check [Our Project Notion](https://www.notion.so/Putting-NeRF-on-a-Diet-e0caecea0c2b40c3996c83205baf870d) | | NeRF Team | [Stella Yang](https://github.com/codestella), [Alex Lau](https://github.com/riven314), [Seunghyun Lee](https://github.com/sseung0703), [Hyunkyu Kim](https://github.com/minus31), [Haswanth Aekula](https://github.com/hassiahk), [JaeYoung Chung](https://github.com/robot0321) | | CLIP Team | [Seunghyun Lee](https://github.com/sseung0703), [Sasikanth Kotti](https://github.com/ksasi), [Khali Sifullah](https://github.com/khalidsaifullaah) , [Sunghyun Kim](https://github.com/MrBananaHuman) | | Cloud TPU Team | [Alex Lau](https://github.com/riven314), [Aswin Pyakurel](https://github.com/masapasa), [JaeYoung Chung](https://github.com/robot0321), [Sunghyun Kim](https://github.com/MrBananaHuman) | * Extremely Don't Sleep Contributors 🤣: [Seunghyun Lee](https://github.com/sseung0703), [Alex Lau](https://github.com/riven314), [Stella Yang](https://github.com/codestella), [Haswanth Aekula](https://github.com/hassiahk) ## 😎 What we improved from original JAX-NeRF : Innovation - Neural rendering with fewshot images - Hugging face CLIP based semantic loss loop - You can choose coarse mlp / coarse + fine mlp training (coarse + fine is on the `main` branch / coarse is on the `coarse_only` branch) * coarse + fine : shows good geometric reconstruction * coarse : shows good PSNR/SSIM result - Make Video/GIF rendering result, `--generate_gif_only` arg can run fast rendering GIF. - Cleaning / refactoring the code - Made multiple models / colab / space for Nice demo ## 💞 Social Impact - Game Industry - Augmented Reality Industry - Virtual Reality Industry - Graphics Industry - Online shopping - Metaverse - Digital Twin - Mapping / SLAM ## 🌱 References This project is based on “JAX-NeRF”. ``` @software{jaxnerf2020github, author = {Boyang Deng and Jonathan T. Barron and Pratul P. Srinivasan}, title = {{JaxNeRF}: an efficient {JAX} implementation of {NeRF}}, url = {https://github.com/google-research/google-research/tree/master/jaxnerf}, version = {0.0}, year = {2020}, } ``` This project is based on “Putting NeRF on a Diet”. ``` @misc{jain2021putting, title={Putting NeRF on a Diet: Semantically Consistent Few-Shot View Synthesis}, author={Ajay Jain and Matthew Tancik and Pieter Abbeel}, year={2021}, eprint={2104.00677}, archivePrefix={arXiv}, primaryClass={cs.CV} } ``` ## 🔑 License [Apache License 2.0](https://github.com/codestella/putting-nerf-on-a-diet/blob/main/LICENSE) ## ❤️ Special Thanks Our Project is started in the [HuggingFace X GoogleAI (JAX) Community Week Event](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104). Thank you for our mentor Suraj and organizers in JAX/Flax Community Week! Our team grows up with this community learning experience. It was wonderful time! <img width="250" alt="스크린샷 2021-07-04 오후 4 11 51" src="https://user-images.githubusercontent.com/77657524/126369170-5664076c-ac99-4157-bc53-b91dfb7ed7e1.jpeg"> [Common Computer AI](https://comcom.ai/en/) sponsored multiple V100 GPUs for our project! Thank you so much for your support! <img width="250" alt="스크린샷" src="https://user-images.githubusercontent.com/77657524/126914984-d959be06-19f4-4228-8d3a-a855396b2c3f.jpeg">
[ 0.004888324066996574, 0.0018650612328201532, 0.01250896044075489, 0.027685683220624924, 0.02303415909409523, 0.001700014341622591, -0.02037268690764904, -0.03850987181067467, -0.0356336273252964, 0.05869670957326889, 0.03546130657196045, -0.010379436425864697, 0.008133896626532078, 0.0444074310362339, -0.02655533328652382, -0.06892618536949158, -0.021187173202633858, 0.020937813445925713, -0.01484631560742855, 0.018764885142445564, 0.03119487315416336, -0.014224705286324024, 0.022336740046739578, 0.032543860375881195, 0.003473336575552821, 0.014436922036111355, -0.0011309662368148565, -0.012633218429982662, 0.04256930947303772, -0.04014110565185547, 0.022295041009783745, -0.06461583077907562, -0.025593586266040802, 0.007799453102052212, -0.012116774916648865, 0.003350113285705447, 0.0224827378988266, -0.02394839935004711, 0.04708658158779144, 0.05099176988005638, 0.011021427810192108, 0.004303975496441126, -0.04892124608159065, -0.02881314791738987, 0.02478257566690445, 0.009359064511954784, -0.052150554955005646, -0.027503548189997673, 0.013995924964547157, -0.02212507650256157, -0.0732572078704834, -0.0754803791642189, -0.05681654438376427, 0.04351703077554703, -0.012132911011576653, -0.04826507717370987, -0.07469482719898224, 0.00027663266519084573, 0.05594763532280922, -0.043089572340250015, -0.010528909973800182, -0.013872799463570118, -0.056069593876600266, 0.03027450665831566, 0.024677634239196777, -0.03691962733864784, 0.004283729940652847, -0.024830149486660957, -0.0028712800703942776, -0.03162973001599312, -0.007326342165470123, -0.03723704814910889, -0.01219218224287033, -0.022518163546919823, 0.008703996427357197, -0.01649429090321064, 0.03885124251246452, 0.03526995703577995, -0.03787191957235336, 0.037329405546188354, 0.001538676442578435, -0.0017413521418347955, 0.003896514419466257, -0.03741944953799248, 0.019639573991298676, 0.01907920278608799, -0.0032630928326398134, 0.0036594076082110405, 0.013972774147987366, 0.03611256927251816, -0.054244622588157654, -0.017346397042274475, 0.002065161010250449, -0.025694090873003006, -0.04041902348399162, 0.026128683239221573, 0.056485455483198166, -0.00341499550268054, 0.04024001210927963, 0.023598628118634224, 0.05129959434270859, 0.032955415546894073, 0.022047527134418488, 0.05415022745728493, -0.028590835630893707, 0.005016723182052374, -0.012173748575150967, -0.052226778119802475, -0.03278346359729767, 0.020049620419740677, 0.0509805828332901, -0.01030229963362217, -0.027212252840399742, 0.04740545526146889, -0.004280952736735344, 0.029904721304774284, 0.03839552029967308, -0.01338956318795681, -0.02832336537539959, -0.06240514665842056, 0.039043545722961426, 0.0026646980550140142, 0.01971808262169361, 0.0025849570520222187, -0.03395277261734009, 0.05016323924064636, -0.024735629558563232, -0.04957154020667076, 0.007597506046295166, 0.034796204417943954, -0.005733913276344538, 0.02727043814957142, 0.04027107357978821, -0.04530175402760506, 0.009185566566884518, 0.005616227630525827, -0.08954693377017975, 0.047551240772008896, 0.029133154079318047, 0.0992969423532486, -0.08498282730579376, -0.07980737090110779, 0.04637705907225609, 0.03460143506526947, 0.013845205307006836, 0.0031835846602916718, -0.00733199855312705, -0.05095192417502403, -0.04134756699204445, -0.020694995298981667, 0.057183630764484406, -0.05461438372731209, -0.004543129820376635, 0.04824850708246231, -0.004086707718670368, 0.045277614146471024, -0.07600964605808258, -0.008350358344614506, -0.03173384070396423, 0.022108249366283417, -0.011355943977832794, 0.06657112389802933, -0.023590553551912308, -0.013064691796898842, -0.02818477526307106, -0.018972178921103477, -0.041084762662649155, 0.08033370226621628, -0.019975798204541206, -0.02126355841755867, -0.01914370432496071, 0.01188237126916647, 0.0313628613948822, 0.0526716373860836, -0.0018766815774142742, 0.04668119177222252, 0.09137972444295883, 0.025543490424752235, -0.04650847241282463, 0.0715966671705246, 0.03567712381482124, -0.02910911664366722, 0.013623031787574291, 0.014956692233681679, -0.0016993738245218992, -0.04072435572743416, 0.0024203432258218527, 0.029322514310479164, -0.013000628910958767, -0.060982733964920044, -0.025429783388972282, 0.05600550025701523, 0.025374196469783783, 0.008639692328870296, 0.012684755958616734, 0.004931658506393433, 0.0014759147306904197, 0.03220587596297264, -0.009812616743147373, 0.030212175101041794, -0.0061668576672673225, -0.0033615909051150084, 0.03434525057673454, -0.01585644856095314, 0.0182738546282053, 0.059256937354803085, 0.004646176937967539, 0.061956167221069336, -0.0008474236819893122, 0.01678468845784664, -0.042560044676065445, -0.040400851517915726, -0.006857595406472683, 0.02984919212758541, 0.055151376873254776, 0.005266728810966015, -0.0314340740442276, -0.038725364953279495, 0.022414768114686012, 0.06378769874572754, 0.028362518176436424, 0.03242434561252594, -0.008879558183252811, 0.004202564712613821, 0.0360700786113739, 0.054364439100027084, -0.036374177783727646, -0.03822072595357895, 0.031903281807899475, 0.010800352320075035, 0.01658483035862446, -0.008253706619143486, -0.03594677150249481, 0.03728073835372925, -0.02831428311765194, -0.04965249076485634, 0.022924987599253654, 0.06214778870344162, -0.001772696734406054, 0.03156169876456261, 0.0033585235942155123, 0.0005775187164545059, 0.048427361994981766, 0.017946114763617516, 0.031054794788360596, -0.01580781675875187, 0.0011174879036843777, 0.016811223700642586, 0.027473000809550285, -0.025251710787415504, 0.06187929958105087, 0.023511411622166634, 0.005499005317687988, -0.009236871264874935, 0.021109573543071747, 0.03855646401643753, 0.08290958404541016, 0.03744862973690033, -0.024401552975177765, 0.011027541011571884, 0.014989273622632027, 0.007415343541651964, 0.061152536422014236, -0.03355531394481659, 0.07252993434667587, -0.028417866677045822, 0.04189798980951309, 0.07791309803724289, 0.017794877290725708, 0.015419252216815948, 0.031188074499368668, 0.07204263657331467, -0.012083716690540314, -0.01499867346137762, 0.07041677087545395, -0.038509733974933624, 0.038920726627111435, -0.033494386821985245, -0.04774096980690956, 0.0002672178379725665, 0.0010670734336599708, 0.05691895633935928, 0.028915731236338615, -0.023642249405384064, -0.01364147663116455, 0.026170605793595314, -0.016198638826608658, 0.06868413835763931, -0.007026806473731995, 0.04101812466979027, 0.0188603475689888, -0.04556487873196602, -0.00219536991789937, -0.08413996547460556, -0.04921886697411537, 0.00507134897634387, -0.014365771785378456, -0.013909774832427502, -0.07351972907781601, -0.022632522508502007, -0.06471109390258789, -0.01859610714018345, 0.03756418451666832, 0.020123064517974854, 0.0059372978284955025, 0.017935849726200104, 0.04998008906841278, -0.05961684510111809, -0.06282231956720352, -0.05789575353264809, -0.04965740814805031, -0.050172895193099976, -0.05103946104645729, 0.05312385782599449, -0.003783989232033491, -0.005607622675597668, 0.01055959239602089, -0.010107939131557941, -0.032528333365917206, -0.012341560795903206, 0.04416012391448021, 0.005803610663861036, -0.020312264561653137, 0.012702847830951214, 0.011063099838793278, -0.004778560716658831, -0.028838641941547394, -0.00298746838234365, -0.04041409492492676, 0.07292226701974869, 0.05534252151846886, 0.04697432368993759, -0.006480484735220671, 0.024217095226049423, -0.05648288130760193, -0.06101736053824425, -0.026469368487596512, -0.028613684698939323, -0.02882285974919796, -0.031931787729263306, -0.025092031806707382, -0.020163310691714287, -0.027000894770026207, -0.015878131613135338, -0.025837654247879982, 0.009623820893466473, 0.0425368994474411, 0.02833276055753231, 0.016997694969177246, 0.009127196855843067, -0.02835077978670597, -0.012559167109429836, 0.047106679528951645, -0.017833370715379715, 0.034324273467063904, -0.05468360334634781, -0.031221702694892883, 0.017470654100179672, 0.0353819876909256, -0.025767937302589417, -0.01203460618853569, 0.07663126289844513, 0.03013867698609829, -0.05939607322216034, 0.015442975796759129, -0.005832848604768515, -0.03160054236650467, 0.03312680870294571, -0.02346840873360634, -0.01626456528902054, -0.028463944792747498, -0.017305249348282814, -0.05719250440597534, 0.06306733936071396, -0.05425678566098213, -0.10073574632406235, -0.02371964417397976, 0.05890650302171707, 0.022331977263092995, 0.029432974755764008, -0.04922797158360481, -0.0010620985412970185, -0.05283121392130852, 0.02879530005156994, 0.019989721477031708, -0.0005029725143685937, 0.018808096647262573, 0.02109873853623867, 0.030158478766679764, -0.0008088255999609828, 0.0292400810867548, 0.04916917160153389, 0.02300652116537094, 0.02498902939260006, -0.01929888315498829, 0.041214507073163986, -0.02929478883743286, 0.0200608242303133, 0.011534558609127998, -0.02685440517961979, -0.04415648430585861, -0.07364581525325775, 0.0017160637071356177, 0.009781144559383392, -0.011967364698648453, -0.005686111282557249, 0.04961983859539032, -0.006272861734032631, -0.0374344140291214, -0.0074912128038704395, 0.0069214291870594025, 0.045041900128126144, -0.02792404405772686, 0.04356299340724945, -0.019481457769870758, 0.06078958138823509, -0.03879876434803009, 0.027895759791135788, -0.04761406034231186, -0.031114159151911736, 0.001529294764623046, 0.04958304762840271, 0.03183665871620178, 0.03571050614118576, 0.029449069872498512, 0.004537147469818592, -0.03460894152522087, 0.05131707713007927, 0.04928404092788696, -0.011123761534690857, -0.06433321535587311, 0.021735593676567078, -0.024512657895684242, 0.016689976677298546, -0.026254579424858093, -0.0020403580274432898, 0.022042881697416306, 0.023934025317430496, -0.0010427634697407484, -0.017901837825775146, 0.01962711475789547, -0.00601930683478713, -0.05266331508755684, -0.05585625022649765, 0.030581936240196228, -0.04294862970709801, -0.0445641353726387, 0.02040659822523594, 0.032403819262981415, 0.035175859928131104, 0.042743295431137085, 0.03502827137708664, -0.019512951374053955, -0.05237767472863197, 0.06169634312391281, 0.01586887240409851, -0.023165695369243622, -0.037529926747083664, -0.0380389541387558, 0.037371762096881866, 0.05976805463433266, -0.029230397194623947, -0.10239186137914658, 0.004546414595097303, 0.042166516184806824, -0.03236187994480133, 0.06106381490826607, 0.01973831094801426, 0.04172381013631821, 0.042734768241643906, -0.00008287579839816317, 0.03882472962141037, -0.021915746852755547, -0.00307961436919868, -0.027386460453271866, 0.02787105180323124, -0.01976606622338295, -0.0220075361430645, -0.05091122165322304, 0.02816346101462841, 0.03584735468029976, 0.015086128376424313, 0.055984292179346085, -0.03987590968608856, -0.05697755888104439, -0.012187676504254341, 0.04257304593920708, -0.03759993985295296, 0.024177739396691322, 0.06279776990413666, 0.043955136090517044, -0.056655604392290115, -0.05907457321882248, -0.01180264726281166, -0.00999800767749548, 0.014257826842367649, -0.0033978656865656376, -0.008306962437927723, -0.06395114958286285, 0.020337456837296486, 0.009210272692143917, -0.020032605156302452, -0.09476831555366516, 0.04934085160493851, -0.04798600450158119, -0.04157020151615143, 0.035313595086336136, 0.020848583430051804, 0.0494069904088974, 0.06801271438598633, 0.0010778786381706595, -0.007726919837296009, -0.022378284484148026, 0.049142416566610336, -0.024694079533219337, -0.017984407022595406, 0.024637166410684586, -0.06069926917552948, -0.009560350328683853, -0.016891656443476677, -0.06735917925834656, -0.045123882591724396, -0.021344751119613647, 0.017964037135243416, -0.000369810382835567, 0.015334321185946465, -0.017272254452109337, 0.015117176808416843, -0.021908899769186974, -0.009232980199158192, -0.043147724121809006, -0.05150710046291351, -0.04943234845995903, -0.0010417366866022348, 0.04057280346751213, 0.0182176623493433, 0.024563007056713104, 0.03765459358692169, 0.021409040316939354, 0.018922986462712288, 0.0010701416758820415, -0.020579291507601738, 0.048536885529756546, 0.02151324599981308, -0.021863175556063652, -0.018045645207166672, 0.013430079445242882, 0.012865076772868633, 0.05384537950158119, -0.057551559060811996, 0.029058074578642845, 0.016460398212075233, 0.014007025398314, 0.003340818453580141, 0.02742117829620838, 0.020616283640265465, -0.045879922807216644, -0.04526963457465172, -0.010288190096616745, -0.040965646505355835, 0.04998185858130455, -0.03992093354463577, -0.03537333384156227, 0.003370427992194891, 0.007278949022293091, 0.014495935291051865, -0.023778246715664864, -0.02086539752781391, 0.04192512109875679, -0.004515661858022213, 0.04476960003376007, -0.07537074387073517, -0.01285803597420454, -0.04037294536828995, 0.025567730888724327, 0.0004820559697691351, 0.005253767594695091, -0.06020166352391243, 0.024282461032271385, 0.012384300120174885, -0.0034552908036857843, -0.013890160247683525, 0.0043480535969138145, -0.03086855448782444, 0.05369257554411888, -0.020669501274824142, 0.007960684597492218, -0.025397051125764847, 0.046680621802806854, -0.027552234008908272, -0.011756619438529015, -0.017704308032989502, -0.006105164531618357, -0.03101888671517372, -0.04157831892371178, 0.002860928187146783, -0.008747228421270847, 0.04371311888098717, 0.07010655105113983, 0.031410716474056244, 0.019088147208094597, -0.0035166037268936634, 0.019216375425457954, 0.039834924042224884, -0.057047151029109955, -0.0324648842215538, 0.01766243949532509, -0.021827619522809982, 0.01593657024204731, 0.036137789487838745, 0.018828410655260086, -0.0761464461684227, -0.03342375531792641, 0.041091661900281906, 0.010196208953857422, 0.029932312667369843, -0.018176982179284096, 0.03527474030852318, 0.053999971598386765, 0.016419989988207817, -0.025268521159887314, 0.0023733102716505527, -0.021398810669779778, -0.034909240901470184, -0.002500042552128434, -0.0009810589253902435, 0.034759167581796646, 0.005611237604171038, -0.03509480878710747, -0.006242775823920965, 0.07403863966464996, 0.05038754642009735, 0.05466967076063156, 0.005540649872273207, -0.06213253363966942, 0.03812170773744583, -0.011920465156435966, -0.056716304272413254, 0.014899896457791328, 0.02596861682832241, -0.06145469471812248, 0.05446894094347954, 0.025399142876267433, 0.02735019102692604, 0.04634323716163635, 0.024289622902870178, 0.0013722121948376298, 0.060325928032398224, -0.05986187979578972, 0.016481028869748116, 0.04106055200099945, -0.04355081543326378, -0.055513646453619, -0.023415537551045418, 0.08899161964654922, -0.04479248449206352, 0.031642086803913116, 0.05060107260942459, -0.03606349602341652, -0.0174820888787508, -0.04472440481185913, -0.05291164293885231, 0.02814740128815174, -0.03722969442605972, 0.07736512273550034, -0.0009753775666467845, -0.05257470905780792, 0.02169102616608143, -0.009420325979590416, -0.08057218790054321, 0.030316954478621483, 0.03975110873579979, 0.027427321299910545, 0.03524240106344223, 0.016857128590345383, -0.06194446235895157, -0.019592799246311188, -0.020797928795218468, 0.01175377331674099, -0.02975579723715782, -0.009994183667004108, -0.0005427232244983315, -0.04693019017577171, 0.004139519762247801, 0.03331447020173073, -0.019841521978378296, 0.015200658701360226, 0.036079391837120056, -0.048201046884059906, -0.054931290447711945, 0.009940065443515778, 0.016883138567209244, -0.027330316603183746, 0.0033180040773004293, -0.013626152649521828, 0.01974768377840519, -0.007149014621973038, 0.004281653091311455, -0.04194851964712143, 0.024817347526550293, -0.005708510056138039, -0.06243235245347023, 0.01621953397989273, 0.08029971271753311, -0.0008593086968176067, -0.01237508561462164, 0.03508632630109787, -0.024678179994225502, 0.004247510340064764, 0.047556448727846146, -0.012712787836790085, 0.009005335159599781, -0.011063273064792156, -0.018548831343650818, 0.04799805209040642, 0.005372996442019939, 0.0019078680779784918, -0.0008064308203756809, 0.021397434175014496, 0.021610261872410774, 0.041212815791368484, 0.0029178152326494455, -0.02913767844438553, -0.013456190936267376, 0.04028508812189102, -0.004533915314823389, -0.006620081607252359, 0.009731262922286987, -0.0492950864136219, -0.06217162683606148, -0.013573165982961655, -0.03815915435552597, 0.027070213109254837, -0.0846736803650856, 0.03465183824300766, 0.04468735679984093, -0.025631168857216835, -0.08032626658678055, -0.07243291288614273, -0.018635883927345276, -0.05969202145934105, 0.015297981910407543, 0.02992776781320572, -0.02078196033835411, 0.04476240649819374, -0.011811983771622181, -0.0420999750494957, 0.02959803305566311, 0.01991480402648449, -0.003305435413494706, 0.04121816158294678, 0.016811227425932884, -0.0036159937735646963, 0.019129972904920578, 0.018582729622721672, -0.04925282672047615, 0.03281385451555252, 0.013894214294850826, -0.0005693939165212214, 0.04828708991408348, 0.01186331082135439, -0.007134720217436552, -0.009017682634294033, -0.04659173637628555, -0.05867890268564224, -0.028951995074748993, 0.014775141142308712, 0.021028904244303703 ]
Beelow/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
--- language: sv license: cc-by-4.0 tags: - swedish - roberta pipeline_tag: fill-mask widget: - text: Meninged med livet är <mask>. --- # Swe Roberta Wiki Oscar ## Description This Roberta model was trained on the Swedish Wikipedia and Oscar datasets ## Model series This model is part of a series of models training on TPU with Flax Jax during Huggingface Flax/Jax challenge. ## Gpt models ## Swedish Gpt https://huggingface.co/birgermoell/swedish-gpt/ ## Swedish gpt wiki https://huggingface.co/flax-community/swe-gpt-wiki # Nordic gpt wiki https://huggingface.co/flax-community/nordic-gpt-wiki ## Dansk gpt wiki https://huggingface.co/flax-community/dansk-gpt-wiki ## Norsk gpt wiki https://huggingface.co/flax-community/norsk-gpt-wiki ## Roberta models ## Nordic Roberta Wiki https://huggingface.co/flax-community/nordic-roberta-wiki ## Swe Roberta Wiki Oscar https://huggingface.co/flax-community/swe-roberta-wiki-oscar ## Roberta Swedish Scandi https://huggingface.co/birgermoell/roberta-swedish-scandi ## Roberta Swedish https://huggingface.co/birgermoell/roberta-swedish ## Swedish T5 model https://huggingface.co/birgermoell/t5-base-swedish
[ -0.012005065567791462, -0.020339539274573326, 0.021323831751942635, 0.027323467656970024, 0.02433808706700802, 0.016660112887620926, -0.02977258712053299, -0.011831019073724747, -0.02859625034034252, 0.05922241881489754, -0.003692460712045431, -0.025535503402352333, 0.0006452946690842509, 0.0481516495347023, -0.017038339748978615, -0.019888387992978096, -0.022229909896850586, 0.005500266794115305, -0.03226229175925255, 0.012316103093326092, -0.0005802068626508117, 0.016773154959082603, -0.0026740427128970623, 0.015664763748645782, 0.002154822926968336, 0.04390593245625496, -0.002270558848977089, 0.03948582336306572, 0.03375309705734253, -0.06682531535625458, -0.016312584280967712, -0.026691287755966187, -0.04128583148121834, -0.013263347558677197, -0.01708805188536644, -0.032340407371520996, 0.022967074066400528, 0.0038557660300284624, 0.052661020308732986, 0.06680847704410553, -0.018451077863574028, -0.010744630359113216, -0.0076325866393744946, -0.03705872222781181, 0.02264239639043808, 0.0025161257945001125, -0.04178715497255325, 0.008601144887506962, 0.026163868606090546, -0.018025938421487808, -0.050914216786623, -0.06052703410387039, -0.01622195914387703, 0.02243330329656601, -0.01116627175360918, -0.03218471631407738, -0.06345705687999725, 0.009882191196084023, 0.07476788759231567, -0.036187876015901566, -0.08508379012346268, 0.009484648704528809, -0.048517774790525436, 0.014663288369774818, 0.03382918983697891, -0.03828589618206024, 0.006885651499032974, -0.04952302575111389, 0.036028631031513214, -0.0180717334151268, 0.039324112236499786, -0.0433378741145134, 0.003913433291018009, -0.09604418277740479, -0.025650756433606148, -0.012458918616175652, 0.029301773756742477, 0.04002545401453972, -0.03175543621182442, 0.06580600142478943, 0.009341632016003132, -0.024309631437063217, 0.035690706223249435, -0.028651956468820572, -0.006836979184299707, 0.02785438299179077, -0.040469422936439514, 0.001296871225349605, 0.03635129705071449, 0.06603889167308807, -0.037616368383169174, -0.026700133457779884, -0.02442219853401184, -0.012063693255186081, -0.006528958212584257, 0.03967585414648056, 0.013184024952352047, -0.00735532958060503, 0.04021269083023071, 0.000033343079849146307, 0.026432910934090614, 0.03892502933740616, 0.004184756428003311, 0.07239077240228653, -0.013514104299247265, -0.04179001599550247, -0.010537882335484028, -0.044398024678230286, -0.061594415456056595, 0.03344237431883812, -0.0027671547140926123, -0.04565151780843735, -0.019346317276358604, 0.026019282639026642, 0.0005568324704654515, -0.027280138805508614, 0.037150971591472626, -0.01892995275557041, -0.037426020950078964, -0.05735168978571892, 0.058441776782274246, 0.025410359725356102, 0.007913556881248951, 0.002299005165696144, -0.02826959267258644, 0.03243159130215645, -0.013599063269793987, -0.004243839532136917, 0.0312434583902359, 0.001872623455710709, -0.02859850600361824, 0.021530667319893837, 0.022729331627488136, -0.060347698628902435, 0.007340668234974146, 0.01624990999698639, -0.0572483129799366, 0.04342225566506386, 0.02362864464521408, 0.13475441932678223, -0.05543754994869232, -0.05503526329994202, 0.018834728747606277, 0.02575419843196869, -0.021544843912124634, -0.005298539996147156, 0.010957207530736923, -0.03471377491950989, -0.025966614484786987, -0.0016360071022063494, 0.029562214389443398, -0.06755859404802322, 0.01178192812949419, 0.05482521280646324, -0.011211247183382511, 0.04131122678518295, -0.052902739495038986, -0.028267165645956993, 0.019917966797947884, -0.014226105995476246, -0.021548064425587654, 0.02863433212041855, 0.00789213553071022, 0.012270615436136723, -0.039413437247276306, -0.05300052464008331, 0.029847318306565285, 0.08518018573522568, -0.005206263158470392, -0.015671897679567337, -0.05658186599612236, 0.008690275251865387, 0.05339508876204491, 0.014752467162907124, -0.006842160597443581, 0.0214247927069664, 0.047975774854421616, 0.037701450288295746, -0.02081601694226265, 0.04871774837374687, -0.0015312068862840533, -0.02753816545009613, -0.012443306855857372, 0.041995398700237274, 0.025886215269565582, 0.008061305619776249, 0.009497727267444134, 0.0512467622756958, 0.013132663443684578, -0.04044690728187561, -0.028001317754387856, 0.05505774915218353, -0.0257843267172575, -0.023192167282104492, -0.015080944634974003, -0.015514514409005642, -0.02367655374109745, 0.040698736906051636, -0.014841447584331036, -0.01515102107077837, -0.022343480959534645, -0.030861875042319298, 0.03260805830359459, 0.04687240719795227, 0.03167491778731346, 0.036169104278087616, -0.01006592158228159, 0.0988176092505455, -0.024131760001182556, 0.006579809356480837, -0.06143585592508316, -0.058602575212717056, 0.004970833659172058, 0.06312102824449539, 0.040435709059238434, 0.04344382882118225, 0.01066654734313488, -0.040667176246643066, 0.02330813929438591, 0.06040233001112938, 0.0681198313832283, 0.004936859477311373, -0.044143952429294586, 0.009390224702656269, 0.011060638353228569, 0.0400366373360157, -0.04177435114979744, -0.05133286118507385, 0.004862888716161251, 0.047681134194135666, -0.028803840279579163, 0.020192693918943405, -0.000545776798389852, 0.035545866936445236, -0.03096664696931839, -0.06343816965818405, 0.04960739240050316, 0.04051459953188896, 0.020562218502163887, 0.026955051347613335, -0.022469256073236465, 0.014667114242911339, 0.01989120990037918, -0.01908891461789608, 0.008069975301623344, -0.004687051754444838, 0.01852918602526188, 0.01649780198931694, 0.06879768520593643, -0.029701925814151764, 0.024894515052437782, 0.008265985175967216, 0.01400594599545002, 0.02325865998864174, -0.06351427733898163, 0.02457805722951889, 0.07918311655521393, 0.007358699571341276, -0.02601921372115612, 0.03163740411400795, 0.02286897599697113, 0.05067997798323631, 0.02531561069190502, 0.007088743150234222, 0.04366719350218773, -0.008587515912950039, 0.06665747612714767, 0.09319540858268738, -0.006465382408350706, 0.025628848001360893, 0.02819717489182949, 0.08423817902803421, 0.018709678202867508, -0.021577635779976845, 0.047505032271146774, -0.023799952119588852, -0.005254318937659264, -0.05038225278258324, -0.003303287550806999, -0.029191480949521065, 0.00507826404646039, 0.03128374367952347, 0.022126447409391403, -0.031098200008273125, 0.002552549121901393, -0.0036835838109254837, -0.00799122266471386, 0.07250824570655823, -0.023722033947706223, 0.009541099891066551, -0.025560999289155006, 0.0009464591275900602, 0.023909324780106544, -0.06345872581005096, -0.04615488648414612, -0.0010814379202201962, -0.02871231734752655, -0.008547093719244003, -0.07931116968393326, -0.023813536390662193, -0.057853877544403076, -0.05564739927649498, 0.029057973995804787, 0.032060544937849045, -0.019528083503246307, -0.041332319378852844, 0.003376926062628627, -0.04554113373160362, -0.04690897837281227, -0.046204935759305954, -0.06205220893025398, -0.04088661074638367, -0.07703417539596558, 0.03157693147659302, 0.04249919578433037, 0.028248514980077744, -0.006162497214972973, 0.012802915647625923, -0.016590513288974762, -0.04057535529136658, 0.04646443948149681, 0.06599033623933792, -0.03554580733180046, -0.06255476176738739, 0.03960777074098587, 0.001984810456633568, 0.010952728800475597, 0.00021319846564438194, 0.00475466251373291, 0.07595758885145187, 0.05464417487382889, 0.023542949929833412, -0.005677842069417238, -0.01632135547697544, -0.05257541686296463, -0.06261786818504333, -0.049411188811063766, -0.04817185550928116, -0.012527085840702057, -0.015795543789863586, -0.05870283767580986, -0.016214709728956223, -0.01613381877541542, -0.014661549590528011, -0.037763506174087524, -0.014648662880063057, 0.017233826220035553, 0.037225570529699326, 0.03702506422996521, 0.04475816711783409, -0.042422108352184296, -0.047555290162563324, 0.06241621822118759, -0.021069098263978958, -0.0005626900237984955, -0.06066402420401573, -0.03243373706936836, 0.045841116458177567, 0.015975259244441986, 0.0037909983657300472, -0.007676338776946068, 0.0729699656367302, -0.003685429459437728, -0.015000646933913231, -0.00033661266206763685, -0.028591787442564964, -0.02659781649708748, -0.004741998389363289, -0.010851575061678886, -0.03580062836408615, -0.057877469807863235, -0.01724236272275448, -0.008119706995785236, 0.0587351955473423, -0.055986370891332626, -0.051526885479688644, -0.009974934160709381, 0.02893407829105854, 0.026624904945492744, 0.014429346658289433, -0.03701765462756157, 0.017614269629120827, -0.07267586886882782, -0.013167619705200195, 0.02837006375193596, 0.0015013174852356315, 0.023881318047642708, 0.03621916100382805, 0.021803783252835274, -0.029023466631770134, 0.04066915065050125, 0.029999667778611183, 0.05353743955492973, 0.014681477099657059, -0.049300726503133774, 0.03754222020506859, -0.025497395545244217, 0.03821863606572151, -0.023924147710204124, -0.014107704162597656, -0.05977338179945946, -0.06667596101760864, 0.005378040485084057, 0.0196746326982975, -0.018845153972506523, -0.001379687455482781, 0.062173523008823395, -0.008094735443592072, 0.010488493368029594, -0.0005436760256998241, 0.0036090121138840914, 0.042423613369464874, -0.07210421562194824, 0.06357841193675995, 0.02170705236494541, -0.0034072990529239178, -0.06330263614654541, 0.01846565119922161, -0.04468793794512749, -0.02676483988761902, 0.008536484092473984, 0.04376991093158722, 0.014421072788536549, 0.05791317671537399, 0.05896032601594925, 0.017220810055732727, -0.03658387064933777, 0.0588076077401638, 0.018297279253602028, -0.011470869183540344, -0.05395181104540825, -0.005283514503389597, -0.027726754546165466, -0.04758758097887039, -0.020464206114411354, -0.02379411645233631, 0.036672089248895645, 0.023375602439045906, -0.012768978253006935, 0.0003882559831254184, 0.02363073080778122, -0.022456372156739235, -0.04267430678009987, -0.06971482187509537, -0.012241248972713947, 0.00813587848097086, -0.02337518148124218, -0.00624043820425868, 0.043940138071775436, 0.014741430059075356, 0.04886135458946228, 0.037850748747587204, -0.012822240591049194, -0.06004144623875618, 0.032984137535095215, 0.02608291245996952, 0.0028914979193359613, -0.05769648402929306, -0.0327746607363224, 0.053639207035303116, 0.040216103196144104, 0.00504695437848568, -0.06683044880628586, 0.02865549921989441, 0.05134878680109978, -0.05062393844127655, 0.052439700812101364, -0.007094313856214285, 0.047648027539253235, 0.058811478316783905, -0.03491025045514107, 0.02540193498134613, -0.02765786089003086, 0.030994653701782227, 0.002979740034788847, 0.02063784934580326, 0.0004575111379381269, -0.024293016642332077, -0.061260122805833817, 0.010895563289523125, 0.026351340115070343, 0.040707897394895554, 0.051958221942186356, -0.030120737850666046, -0.062456704676151276, -0.0060005104169249535, 0.05220508947968483, -0.04896286129951477, 0.05316309630870819, 0.056849390268325806, 0.020341532304883003, -0.06009950861334801, -0.06718014925718307, -0.016022533178329468, -0.005281166173517704, 0.03516774997115135, -0.016617927700281143, -0.0527348667383194, -0.05111682787537575, 0.01505135465413332, -0.016830183565616608, -0.011840042658150196, -0.06296870857477188, 0.007371885702013969, -0.0168717410415411, -0.0119932871311903, 0.015557362698018551, -0.0011875873897224665, 0.02680392935872078, 0.032857317477464676, 0.001713378238491714, -0.002706407103687525, -0.045693788677453995, 0.036239903420209885, -0.028284933418035507, -0.02967456728219986, -0.02893730066716671, -0.031963638961315155, -0.006014200858771801, -0.033486444503068924, -0.05496040731668472, -0.040088873356580734, -0.019427603110671043, 0.03354797139763832, 0.009498133324086666, 0.016600454226136208, -0.0030959651339799166, 0.022537343204021454, -0.013976352289319038, -0.021099699661135674, -0.03715961053967476, -0.037894267588853836, -0.01536257378757, -0.0363970622420311, 0.020156878978013992, 0.02214270643889904, 0.017104633152484894, 0.006331705488264561, -0.004881804343312979, 0.006775302812457085, 0.012383508495986462, -0.018011514097452164, 0.02400277741253376, 0.0018982248147949576, -0.0447658896446228, -0.03158605843782425, 0.014843957498669624, 0.02738630585372448, 0.04369444400072098, -0.01573055237531662, 0.031177328899502754, 0.008142074570059776, -0.025942934677004814, -0.024730365723371506, 0.00024371029576286674, 0.042026326060295105, -0.039377763867378235, -0.03459222987294197, 0.010910178534686565, -0.04149376600980759, 0.011353694833815098, -0.04678300395607948, -0.03990664333105087, 0.02112000808119774, 0.010473253205418587, 0.035495612770318985, 0.00985483918339014, -0.005094836000353098, 0.016484824940562248, -0.025135168805718422, 0.023948270827531815, -0.0632263794541359, 0.03129507601261139, -0.010077452287077904, 0.008452112786471844, 0.0005002440884709358, -0.020482657477259636, -0.04964642599225044, 0.04288044944405556, -0.006370385643094778, -0.042685944586992264, 0.0005359345232136548, 0.013531559146940708, -0.021841224282979965, 0.03008258156478405, -0.003349946578964591, 0.021351654082536697, -0.037670720368623734, 0.07337629050016403, -0.04994862154126167, -0.00023396855976898223, -0.003046768717467785, -0.017908062785863876, -0.03171657398343086, -0.013117753900587559, -0.01921490952372551, -0.05779607221484184, 0.04364832490682602, 0.03802848234772682, 0.0446685291826725, -0.009364248253405094, -0.02048475481569767, 0.012249917723238468, -0.005011876579374075, -0.0740489736199379, -0.019342146813869476, -0.02044851705431938, -0.01148573961108923, 0.0005797757185064256, 0.06001507490873337, 0.028227565810084343, -0.058905575424432755, -0.06392429769039154, 0.03305365890264511, 0.03851105272769928, 0.017918378114700317, -0.0068509322591125965, 0.033118318766355515, 0.007961777970194817, 0.03011941723525524, -0.04047197848558426, -0.003985938616096973, -0.02000933140516281, -0.016288211569190025, 0.04667453095316887, -0.018529370427131653, 0.030969835817813873, 0.012259372510015965, -0.04893363639712334, -0.02149074524641037, 0.07098300755023956, 0.037481728941202164, 0.019011646509170532, -0.007365820929408073, -0.03868940472602844, 0.017245996743440628, 0.025505052879452705, -0.05213477835059166, -0.004955744836479425, 0.02397577278316021, -0.02092694491147995, 0.06924900412559509, -0.039374466985464096, 0.015897033736109734, 0.05610117316246033, 0.018046852201223373, -0.035070907324552536, 0.03350013121962547, -0.004760160110890865, 0.02301873080432415, 0.05620831996202469, -0.058941613882780075, -0.013610372319817543, -0.03410420939326286, 0.06900148838758469, -0.07034748792648315, 0.048518091440200806, 0.035721730440855026, -0.004842042922973633, 0.02894645184278488, -0.03182804211974144, -0.021614233031868935, 0.0198312196880579, -0.030598996207118034, 0.07698643952608109, 0.024365311488509178, -0.057056304067373276, 0.07057897001504898, 0.018414031714200974, -0.07968541979789734, 0.03750858083367348, 0.030754877254366875, -0.0017706607468426228, 0.02767707221210003, 0.03175320476293564, -0.05129414051771164, 0.014094464480876923, -0.023382699117064476, 0.049846671521663666, -0.04925903305411339, -0.028216419741511345, 0.046537917107343674, -0.06386574357748032, -0.03358013182878494, 0.032046109437942505, -0.017296019941568375, 0.00037774944212287664, 0.02294662781059742, -0.05543174967169762, -0.06500545889139175, 0.008134311996400356, 0.014860368333756924, -0.05244318023324013, -0.014299088157713413, -0.045717861503362656, 0.01497377548366785, 0.02860473096370697, -0.0013766580959782004, -0.04359635338187218, -0.004153511952608824, 0.05273685231804848, -0.07139026373624802, -0.044542837888002396, 0.036138199269771576, 0.011966652236878872, -0.03214682638645172, 0.03899635747075081, -0.006328241899609566, 0.018915513530373573, 0.02269291691482067, -0.0031440856400877237, 0.019664911553263664, -0.03402651846408844, -0.009498274885118008, 0.016822271049022675, 0.007584996521472931, 0.027417592704296112, -0.010631570592522621, 0.0399092398583889, 0.018141495063900948, 0.04258045181632042, 0.014027408324182034, -0.045697249472141266, -0.03300977870821953, 0.027900174260139465, -0.04485754668712616, 0.008653886616230011, -0.006296439561992884, -0.05384782329201698, -0.03594202548265457, -0.013169098645448685, -0.018170079216361046, 0.05318041145801544, -0.027375241741538048, 0.025033023208379745, 0.038104522973299026, -0.02065925858914852, -0.03215893730521202, -0.07924705743789673, -0.030937770381569862, -0.05737941712141037, -0.004022988956421614, 0.030424196273088455, -0.042800698429346085, 0.015773635357618332, -0.03408294916152954, -0.046467624604701996, 0.04257344827055931, 0.007430247962474823, -0.04204454645514488, 0.062049541622400284, 0.051191460341215134, -0.03421030566096306, 0.01704578660428524, 0.03160225600004196, -0.032095689326524734, 0.02732340805232525, 0.00498910853639245, -0.005396988242864609, 0.03549625352025032, 0.024803489446640015, -0.03419980779290199, -0.00825212337076664, -0.059294380247592926, -0.04045930132269859, -0.050167735666036606, 0.005163373425602913, 0.08428575098514557 ]
Beelow/wav2vec2-ukrainian-model-large
[]
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: - summarization datasets: - cnn_dailymail model-index: - name: flax-community/t5-base-cnn-dm results: - task: type: summarization name: Summarization dataset: name: cnn_dailymail type: cnn_dailymail config: 3.0.0 split: test metrics: - type: rouge value: 24.2906 name: ROUGE-1 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzZkZmUwOTU5ZGJhYjk4MGVjMjk2ZjEzNDUwMDYyOGIxMDc0ZTI5ZTFkZDUxNTEwNDJkZGRhZTkyNzRjZDJjOSIsInZlcnNpb24iOjF9.6fiYZdYKwgNM5KXeDtEOP2m3OGsip3792OvKnMiSVJk0Pn-CbQQwKH7oZ76YaIxyvOUtCmggiQSDXZc9UKKKCw - type: rouge value: 11.1405 name: ROUGE-2 verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMDE0ZmZkMGQxYzQ2YjhiM2Y4NWE0NzY3M2I1OWYzYWE2NWI1MWNiYjBlOGRiNmJmMDJhYzU3MjkwYmM3Zjg4NyIsInZlcnNpb24iOjF9.kWdKlRb7j47d3RtAaqnQmY2-08RihES0UkyVXR32rDzpgy2hxmVcXdiaYE1sPuO6n_6Mx4xxFgxHyB9MNqBlBw - type: rouge value: 19.8442 name: ROUGE-L verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTkwNjkwZTk0NzEyNzQyYTE0OTFlNzQxMmJjYjU2YzkxZjUzZGRiODVmOTY0ZDk2Y2JiMzUzZWRiMGJiZWY5OSIsInZlcnNpb24iOjF9.1psy2C5BTqlfaBzM7VzxKA5TZ3zBxr3YFLzx4ClODILytwszfN8FTW0RTCIDCkdqh2QgXnrdC_K1Nyk82p2DDg - type: rouge value: 22.7556 name: ROUGE-LSUM verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNjYyNTcyNGNlYjcwYjBhMjgxZjkwMjU5YWRmNTQ1NmI3YzFiZGU0MjNkYzcyMDc1N2Q2YzY3YTE4NDNjNWVlNyIsInZlcnNpb24iOjF9.K9WzEm2ookzDPvl-LEknZPHc6g8OZ_uPGf07XzeIHoAwxBjgFpZ-Q2GMiS-UUseLP1Y3F0zE8t0QyNgMyUr4BA - type: loss value: 2.1426470279693604 name: loss verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNjk1YTU1ODljNzhmYmFjYmFjMGY5NGRmNmEwNzM0NTFkYWIwZTljZTExYTY5YjcxZTFhMWY1MTU0OWU4YzQzZiIsInZlcnNpb24iOjF9.3RiDEYMR4sJb8I12FZMuRaSrwHtvutDeRqMbk3QlK7Q5JzDUP1u4ZGjHIzyuTJl-S99EEobX0Dg0xw2yUcgRCg - type: gen_len value: 18.9993 name: gen_len verified: true verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNGY5YTYxZmZiYmY4NTZjNmMzMjllNWE1M2M2ZjA0MWM1MzBhZjc0MDM5ZGFiYTAzNjFiZjg5ZjMxYzlmOGYwMyIsInZlcnNpb24iOjF9.eXiPrQ-CeB3BWzlQzkTIA1q0xYP1GtFGIK9XyIneEmh5ajN5pCATxNDvn6n09d84OEr5432SoPJfdpNCd_UyCA --- # Model This model is fine-tuned from https://huggingface.co/flax-community/t5-base-openwebtext, fine-tuned on cnn_dailymail.
[ 0.00002675906944205053, -0.058096520602703094, -0.011768162250518799, 0.02625231258571148, 0.05100489780306816, -0.005962145980447531, -0.015894565731287003, -0.02393052726984024, -0.04843680188059807, 0.043740224093198776, 0.03371531143784523, -0.009739361703395844, 0.024510793387889862, 0.03650003299117088, -0.023444341495633125, -0.044466063380241394, -0.0161802526563406, -0.026796912774443626, -0.05120834335684776, 0.00444409716874361, 0.04632764309644699, 0.019342374056577682, -0.019512489438056946, 0.01495694275945425, -0.009317038580775261, -0.004769143182784319, 0.01949300244450569, 0.03548626974225044, 0.03036518022418022, -0.077522411942482, -0.006759755779057741, -0.035287898033857346, -0.04103141278028488, -0.05334660783410072, -0.01362372562289238, 0.0047609335742890835, 0.0016502346843481064, -0.006459776312112808, 0.006114915944635868, 0.04577610269188881, -0.023067982867360115, 0.003606062615290284, -0.0264551043510437, -0.02880721725523472, 0.07091230154037476, 0.0023083938285708427, -0.03594440966844559, -0.03355465829372406, 0.03176349028944969, -0.023139113560318947, -0.08097490668296814, -0.07852175831794739, -0.01968022808432579, 0.006719058379530907, -0.039289798587560654, -0.028386179357767105, -0.05522899702191353, 0.013041261583566666, 0.0459720753133297, -0.05521291494369507, -0.0343131348490715, 0.01647743210196495, -0.10169021785259247, -0.010803130455315113, 0.02281743474304676, -0.03258654475212097, 0.006246963050216436, -0.027104061096906662, 0.019318437203764915, -0.011994565837085247, 0.06061118468642235, -0.04369547218084335, 0.03515385836362839, -0.06847578287124634, -0.013465924188494682, -0.019282525405287743, 0.022287597879767418, 0.04250268638134003, -0.011068479157984257, 0.04339992254972458, 0.05440610647201538, -0.010038095526397228, 0.024459775537252426, 0.01119429524987936, -0.02485719881951809, -0.0031834247056394815, -0.0509556420147419, -0.0039311302825808525, -0.005935967899858952, 0.04491158202290535, -0.05536869913339615, -0.050744131207466125, -0.015416018664836884, -0.033407729119062424, -0.019296573475003242, 0.023955777287483215, 0.034549813717603683, -0.026005150750279427, 0.014534438028931618, 0.018459482118487358, 0.014659932814538479, 0.046094223856925964, 0.003514331066980958, 0.0718192383646965, 0.002980804769322276, 0.0059530907310545444, -0.014877420850098133, -0.039803821593523026, -0.04851940646767616, 0.008374764584004879, 0.01476119365543127, -0.05394754931330681, -0.0435827411711216, 0.021690696477890015, 0.014232846908271313, -0.02383771911263466, 0.029640071094036102, -0.01608322188258171, -0.056989636272192, -0.053195904940366745, 0.03213009238243103, 0.03179016336798668, 0.009318611584603786, 0.016131268814206123, -0.036018844693899155, -0.0026963006239384413, -0.056101106107234955, -0.01682036928832531, 0.0018107530195266008, 0.028921734541654587, 0.001807229476980865, 0.04874622821807861, 0.025480197742581367, -0.08717899024486542, 0.025269974023103714, -0.015271245501935482, -0.06105620414018631, 0.0460033193230629, 0.02712162584066391, 0.08014021813869476, -0.06697279214859009, -0.04010932892560959, 0.04514444246888161, -0.007387262303382158, -0.02687903866171837, 0.02481745555996895, 0.012749798595905304, -0.05572047457098961, -0.03105814941227436, -0.014871696010231972, 0.039309896528720856, -0.04418623819947243, 0.019299719482660294, 0.033279210329055786, -0.004181501921266317, 0.02167818509042263, -0.046736881136894226, -0.02566763572394848, 0.014129260554909706, -0.008056508377194405, -0.03227287158370018, 0.04094773158431053, 0.018925797194242477, -0.039084721356630325, -0.04333686828613281, -0.04588950797915459, 0.006482516881078482, 0.07319910824298859, 0.003095313673838973, -0.029831400141119957, -0.03560430184006691, 0.009925083257257938, 0.04298930615186691, 0.010208443738520145, -0.0024003456346690655, 0.016452450305223465, 0.053963568061590195, 0.05635567754507065, -0.005227589514106512, 0.05359910801053047, 0.02613762766122818, -0.01090885791927576, -0.022293446585536003, 0.017454184591770172, 0.011904015205800533, -0.010925955139100552, 0.012754692696034908, 0.04140932485461235, 0.012965980917215347, -0.03159730136394501, -0.024809561669826508, 0.055529892444610596, -0.000924936612136662, -0.018275415524840355, -0.023427633568644524, 0.0000055097457334341016, -0.028333202004432678, 0.05070827156305313, -0.0012474391842260957, -0.001313856104388833, -0.0035205543972551823, -0.030616261065006256, 0.016620932146906853, 0.03500913456082344, 0.017732536420226097, 0.04306033253669739, 0.000329655478708446, 0.08976222574710846, -0.04835790395736694, 0.008696441538631916, -0.022077616304159164, -0.05029391497373581, 0.0067780050449073315, 0.05229891091585159, 0.04961394518613815, 0.06348194926977158, -0.006058232393115759, -0.0016975092003121972, 0.030042558908462524, 0.043581485748291016, 0.02921457588672638, 0.038625556975603104, 0.0030868067406117916, -0.02045511081814766, 0.06744148582220078, 0.06709234416484833, -0.059046678245067596, -0.041685800999403, 0.006541078444570303, 0.010235512629151344, -0.03470909595489502, 0.005939085967838764, -0.028061518445611, 0.032339807599782944, -0.0823281928896904, -0.059313029050827026, 0.056465648114681244, 0.01457975897938013, 0.010993342846632004, 0.008388329297304153, -0.009466418996453285, 0.010378343053162098, 0.031822461634874344, 0.012493978254497051, 0.013665721751749516, -0.033019356429576874, 0.015269526280462742, -0.0033472590148448944, 0.051529448479413986, -0.05712595582008362, 0.008447249419987202, -0.015385240316390991, 0.025743955746293068, 0.015323961153626442, -0.07463829964399338, 0.016857657581567764, 0.022063937038183212, 0.017967786639928818, -0.03169393911957741, 0.018828274682164192, 0.020915955305099487, -0.004109179601073265, 0.05224396660923958, 0.007878102362155914, 0.04796990007162094, -0.0005375212640501559, 0.054747000336647034, 0.09012795984745026, -0.003304449375718832, 0.028958788141608238, 0.004380571190267801, 0.05559523031115532, 0.02459198608994484, 0.0027615216095000505, 0.05392064154148102, -0.048381317406892776, 0.011644765734672546, -0.03904794529080391, 0.0020283095072954893, -0.006566239055246115, -0.007812054827809334, 0.019307302311062813, 0.018473245203495026, -0.0584857314825058, 0.01642054133117199, 0.0014374011661857367, 0.0008060166728682816, 0.01198696717619896, -0.03738921880722046, -0.002120457822456956, 0.0077268644236028194, -0.02619626745581627, 0.01106947660446167, -0.06786435097455978, -0.03360858932137489, -0.026317307725548744, -0.029067790135741234, 0.0027960881125181913, -0.08144369721412659, -0.009645532816648483, -0.06634915620088577, -0.015197092667222023, 0.03814513236284256, 0.018466370180249214, -0.03101179003715515, -0.027410436421632767, 0.030298974364995956, -0.043820373713970184, -0.052074361592531204, -0.03318890556693077, -0.026998696848750114, -0.01956111565232277, -0.09089399874210358, 0.02914140187203884, 0.012868018820881844, 0.03975962847471237, -0.0027383386623114347, 0.01100622396916151, -0.031535886228084564, -0.023623274639248848, 0.04494043439626694, 0.054555028676986694, -0.033041104674339294, -0.04995186999440193, 0.037001270800828934, -0.014500168152153492, 0.0011499079409986734, 0.010214973241090775, -0.028052326291799545, 0.06365121901035309, 0.0776379331946373, 0.03379397839307785, -0.0009385987650603056, -0.0012160014593973756, -0.044983282685279846, -0.056233491748571396, -0.009555444121360779, -0.02107715606689453, -0.07830110192298889, -0.041266173124313354, -0.03437346592545509, -0.01839398965239525, -0.03069646842777729, -0.020813358947634697, -0.025379210710525513, 0.010414153337478638, 0.04658445715904236, 0.02039562724530697, 0.036310743540525436, 0.02436111308634281, -0.048853032290935516, -0.04638552665710449, 0.06264902651309967, 0.013177882879972458, 0.027808191254734993, -0.06989521533250809, -0.04017050564289093, 0.04614895209670067, -0.027053145691752434, 0.010055889375507832, -0.022639933973550797, 0.06043616682291031, 0.02557731419801712, -0.005896095186471939, 0.0308204498142004, -0.019306326285004616, -0.011590540409088135, 0.012862667441368103, -0.014114839024841785, -0.018237344920635223, -0.022083565592765808, -0.030904199928045273, 0.006268071010708809, 0.04650907963514328, -0.03904477879405022, -0.0616939477622509, -0.0012936550192534924, 0.03440827131271362, 0.020227113738656044, 0.0116639519110322, -0.023364951834082603, -0.0051073599606752396, -0.07033438235521317, -0.01814322918653488, 0.03270915895700455, 0.012387046590447426, -0.011607743799686432, 0.05541840195655823, 0.018258754163980484, -0.023239053785800934, 0.024784477427601814, 0.02630304917693138, 0.045922089368104935, 0.024639548733830452, -0.062439244240522385, -0.021486971527338028, -0.009173093363642693, 0.004056289326399565, 0.01910717785358429, -0.020945493131875992, -0.03520544245839119, -0.07098869234323502, -0.0013536521000787616, 0.06303782761096954, -0.01756335236132145, -0.04358991980552673, 0.01935524120926857, -0.005257028620690107, 0.003433586796745658, -0.0071272412315011024, 0.012554037384688854, 0.02769879810512066, -0.05660425126552582, 0.03225124254822731, -0.01968836784362793, 0.03054630756378174, -0.09251967072486877, -0.012473282404243946, -0.029374195262789726, 0.015277804806828499, 0.01471785083413124, 0.04633501172065735, -0.01066442672163248, 0.022178929299116135, 0.05872524902224541, 0.028646495193243027, -0.024066537618637085, 0.01890350691974163, 0.06599406152963638, -0.02454748935997486, -0.03621906414628029, 0.020558679476380348, 0.037155892699956894, -0.014294257387518883, 0.006156995426863432, -0.01596136763691902, 0.024981481954455376, 0.018126580864191055, -0.01866525039076805, 0.004645517561584711, 0.03644131124019623, -0.04803451523184776, -0.01711694896221161, -0.024605227634310722, -0.018530549481511116, -0.0017670835368335247, -0.04270375892519951, 0.0046852887608110905, 0.06573381274938583, 0.02533717267215252, 0.06454440951347351, 0.03317558392882347, -0.030829831957817078, -0.026103798300027847, 0.044828254729509354, 0.03365645930171013, -0.023022174835205078, -0.024227730929851532, -0.051296427845954895, 0.04108268395066261, 0.03444473445415497, -0.01033847127109766, -0.09699428081512451, 0.041170407086610794, 0.082746222615242, -0.026021549478173256, 0.04199450463056564, 0.010154744610190392, 0.036876361817121506, 0.03725843504071236, -0.035503022372722626, 0.0320056676864624, -0.023485951125621796, -0.0056040920317173, -0.032563671469688416, 0.03541470319032669, -0.02634800598025322, -0.03283173218369484, -0.037446532398462296, 0.025572234764695168, 0.027158118784427643, 0.05151969566941261, 0.0365905798971653, -0.03770189359784126, -0.03844822198152542, 0.017752500250935555, 0.05031290277838707, -0.03866339102387428, 0.030486058443784714, 0.029515061527490616, -0.004112474154680967, -0.034214019775390625, -0.042468730360269547, -0.007507227826863527, -0.00173430354334414, 0.05367681756615639, -0.03660218417644501, 0.0006210726569406688, -0.03754936903715134, 0.03470354154706001, -0.0026870917063206434, -0.024736110121011734, -0.059183716773986816, 0.07629664987325668, -0.025004198774695396, 0.013711843639612198, 0.04575078934431076, 0.04540156573057175, 0.01956806518137455, 0.058403000235557556, -0.0014854524051770568, 0.021881427615880966, -0.015218383632600307, 0.041244808584451675, -0.01867580972611904, -0.013429325073957443, -0.018172837793827057, -0.05442863330245018, -0.02375021018087864, -0.006406554952263832, -0.09634803980588913, -0.02248006872832775, -0.03866219520568848, 0.05278889462351799, -0.011154791340231895, -0.012728393077850342, -0.007089925464242697, 0.006664206273853779, -0.019153835251927376, -0.028865862637758255, -0.03907116875052452, -0.04343808442354202, -0.09036720544099808, -0.05931984633207321, 0.01073578279465437, 0.022721171379089355, 0.04235723614692688, 0.01607741415500641, 0.03380667045712471, 0.029370935633778572, 0.02109350450336933, -0.022039057686924934, 0.016845984384417534, -0.006758174393326044, -0.0672975704073906, -0.06413117796182632, -0.0076066176407039165, -0.0008632399840280414, 0.07110175490379333, -0.024726441130042076, 0.01782333478331566, 0.030216656625270844, -0.034113239496946335, 0.0037332228384912014, 0.03051854856312275, 0.02868289314210415, -0.057291582226753235, -0.051080286502838135, -0.002096615033224225, -0.010141993872821331, 0.02843189612030983, -0.011887160129845142, -0.04957421123981476, 0.009557733312249184, 0.011017957702279091, 0.03700008615851402, 0.003991026431322098, -0.03980875015258789, 0.018323108553886414, -0.018925288692116737, 0.005519383121281862, -0.05647861957550049, 0.05498092994093895, 0.013399208895862103, 0.012955991551280022, -0.011807583272457123, -0.01551442313939333, -0.03340699151158333, 0.04321398213505745, -0.00031497201416641474, -0.014937672764062881, 0.01868014596402645, 0.026112474501132965, -0.0099817318841815, 0.04468206316232681, -0.012386784888803959, 0.035407450050115585, -0.02143268659710884, 0.059311479330062866, -0.037903424352407455, -0.0072644297033548355, -0.012292023748159409, -0.014393377117812634, -0.05466701462864876, 0.014929935336112976, -0.02883465215563774, -0.043037790805101395, 0.03945237025618553, 0.0750073790550232, 0.01252732053399086, 0.013357484713196754, -0.021627502515912056, -0.00048329069977626204, 0.0016093634767457843, -0.07533818483352661, -0.003643014468252659, -0.02013201266527176, -0.0003908946819137782, -0.04027009755373001, 0.04561341553926468, 0.052550267428159714, -0.046691641211509705, -0.03898624703288078, 0.04922003298997879, 0.014403983019292355, -0.0009275214397348464, 0.004333765245974064, 0.03301480785012245, 0.05275309830904007, 0.014373434707522392, -0.05076896399259567, -0.004103397484868765, -0.01795298419892788, -0.038855116814374924, 0.012312826700508595, -0.03223869204521179, 0.03582111746072769, 0.003160706488415599, -0.0205498356372118, 0.010279246605932713, 0.06297806650400162, 0.0312642902135849, 0.037928443402051926, -0.01960565522313118, -0.014140778221189976, 0.035682834684848785, 0.024380313232541084, -0.0345318503677845, 0.022255565971136093, 0.028531022369861603, -0.01989498734474182, 0.0850759893655777, 0.0010385197820141912, 0.004747125320136547, 0.0636805072426796, 0.00669320672750473, -0.006741994526237249, 0.045249614864587784, -0.04410851001739502, 0.021909017115831375, 0.053344693034887314, -0.06900931894779205, 0.003964925184845924, -0.06349005550146103, 0.044444601982831955, -0.09798697382211685, 0.036006711423397064, 0.03832266479730606, 0.021591613069176674, 0.031208327040076256, -0.01424528006464243, -0.06430964171886444, 0.04510738328099251, -0.04301084950566292, 0.06138620525598526, 0.016413046047091484, -0.062276143580675125, 0.09921428561210632, 0.0060447524301707745, -0.06305624544620514, 0.036002013832330704, 0.039237938821315765, 0.036329831928014755, 0.024839332327246666, 0.04087724909186363, -0.041041743010282516, 0.008708097971975803, -0.038248103111982346, 0.029140856117010117, -0.02546578459441662, -0.02742196060717106, 0.032419029623270035, -0.046149659901857376, -0.02952060103416443, 0.011596999131143093, -0.024600747972726822, -0.01838809624314308, 0.030982157215476036, -0.050725020468235016, -0.03514809533953667, 0.026587801054120064, 0.04096963256597519, -0.04796794801950455, -0.005955647211521864, -0.04287218302488327, 0.033973488956689835, 0.016758548095822334, 0.015153881162405014, -0.004817808046936989, -0.0036480079870671034, 0.03576325252652168, -0.08637478947639465, -0.01991926319897175, 0.03364327922463417, 0.00009224274253938347, -0.0064199152402579784, 0.03815788775682449, 0.008985393680632114, 0.0237033199518919, 0.008000564761459827, -0.017163434997200966, 0.029612086713314056, -0.062459077686071396, 0.007245901972055435, -0.007126527838408947, -0.0034337646793574095, 0.021882008761167526, 0.006391528993844986, 0.06338942795991898, 0.03779998794198036, 0.0006131504778750241, -0.0039058616384863853, -0.006973988842219114, -0.016873769462108612, 0.029628053307533264, -0.03008330427110195, 0.05006019026041031, 0.0018939196597784758, -0.02867039106786251, -0.04068876802921295, -0.02725737728178501, -0.02290394902229309, 0.02634243294596672, -0.04138047248125076, -0.009700356051325798, 0.019035309553146362, -0.016265418380498886, -0.055454451590776443, -0.08445431292057037, -0.0035894375760108232, -0.043929629027843475, 0.010115747340023518, 0.04200680926442146, -0.051051340997219086, 0.017435621470212936, -0.06045178696513176, -0.08426109701395035, -0.00031532530556432903, 0.03614877536892891, -0.032669782638549805, 0.04880402609705925, 0.031120767816901207, -0.026609601452946663, 0.03325126692652702, 0.014131671749055386, -0.0547708123922348, 0.026218222454190254, 0.010711508803069592, 0.018607210367918015, 0.03304312750697136, 0.04694962874054909, -0.004120651166886091, -0.028910944238305092, -0.024736380204558372, -0.05705147236585617, -0.026927122846245766, -0.002231867518275976, 0.04988030344247818 ]
Belin/T5-Terms-and-Conditions
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-07-09T22:56:20Z
--- language: - dutch tags: - seq2seq - lm-head datasets: - yhavinga/mc4_nl_cleaned license: apache-2.0 inference: false --- # t5-base-dutch Created by [Yeb Havinga](https://www.linkedin.com/in/yeb-havinga-86530825/) & [Dat Nguyen](https://www.linkedin.com/in/dat-nguyen-49a641138/) during the [Hugging Face community week](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by [HuggingFace](https://huggingface.co/) and TPU usage sponsored by Google, for the project [Pre-train T5 from scratch in Dutch](https://discuss.huggingface.co/t/pretrain-t5-from-scratch-in-dutch/8109). See also the fine-tuned [t5-base-dutch-demo](https://huggingface.co/flax-community/t5-base-dutch-demo) model, and the demo application **[Netherformer 📰](https://huggingface.co/spaces/flax-community/netherformer)**, that are based on this model. **5 jan 2022: Model updated. Evaluation accuracy increased from 0.64 to 0.70.** **11 jan 2022: See also [yhavinga/t5-v1.1-base-dutch-cased](https://huggingface.co/yhavinga/t5-v1.1-base-dutch-cased) with eval acc 0.78** ## Model * Configuration based on `google/t5-base` * 12 layers, 12 heads * Dropout set to 0.1 ## Dataset This model was trained on the `full` configuration of [cleaned Dutch mC4](https://huggingface.co/datasets/yhavinga/mc4_nl_cleaned), which is the original mC4, except * Documents that contained words from a selection of the Dutch and English [List of Dirty Naught Obscene and Otherwise Bad Words](https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words) are removed * Sentences with less than 3 words are removed * Sentences with a word of more than 1000 characters are removed * Documents with less than 5 sentences are removed * Documents with "javascript", "lorum ipsum", "terms of use", "privacy policy", "cookie policy", "uses cookies", "use of cookies", "use cookies", "elementen ontbreken", "deze printversie" are removed. ## Tokenization A SentencePiece tokenizer was trained from scratch on this dataset. The total tokens of the `full` configuration is 34B ## Training The model was trained on the `full` mc4_nl_cleaned dataset configuration for 1 epoch, consisting of 34B tokens, for 528 482 steps with a batch size of 128 and took 57 hours. A triangle learning rate schedule was used, with peak learning rate 0.005. ## Evaluation * Loss: 1.38 * Accuracy: 0.70
[ -0.0312064029276371, -0.014896508306264877, 0.015104563906788826, 0.021522710099816322, 0.027470067143440247, 0.006966382265090942, -0.0257673691958189, -0.01607290841639042, -0.018429284915328026, 0.042582880705595016, -0.018681896850466728, -0.017648687586188316, 0.006056939251720905, 0.03853766620159149, -0.06215064972639084, -0.017923887819051743, -0.023717261850833893, 0.020621703937649727, -0.02948104962706566, 0.02557884156703949, 0.013211775571107864, 0.02068866603076458, -0.03832609951496124, 0.029958147555589676, -0.005067199934273958, 0.04712468013167381, 0.001622812356799841, 0.0602891631424427, 0.017434626817703247, -0.06648560613393784, -0.01033109799027443, -0.053476981818675995, -0.03552931174635887, -0.018897244706749916, -0.019212990999221802, -0.022277532145380974, 0.009018344804644585, 0.014660001732409, 0.05691279098391533, 0.057613685727119446, -0.0127384839579463, 0.010226554237306118, -0.011921493336558342, -0.03387007862329483, 0.04290745034813881, 0.023782087489962578, -0.045595839619636536, -0.01825745217502117, 0.0317777656018734, -0.02165924943983555, -0.05425473675131798, -0.09206072241067886, -0.019823390990495682, 0.008246428333222866, -0.024273695424199104, -0.03497985377907753, -0.06506632268428802, -0.008043181151151657, 0.06692202389240265, -0.04470308497548103, -0.021095825359225273, 0.025019759312272072, -0.07441238313913345, 0.0088909100741148, 0.04671409726142883, -0.03454497456550598, 0.002900528023019433, -0.017450833693146706, 0.029254941269755363, -0.032790832221508026, 0.03489089757204056, -0.009135110303759575, 0.003915333189070225, -0.06392651051282883, -0.02726980485022068, -0.00616791658103466, 0.04162650555372238, 0.0404660627245903, -0.046395692974328995, 0.04992290958762169, 0.02288644388318062, -0.009054668247699738, 0.032371245324611664, -0.010729212313890457, -0.024764830246567726, 0.026113327592611313, -0.0358804352581501, 0.020398270338773727, 0.03142330050468445, 0.049939848482608795, -0.04293837770819664, -0.030522946268320084, -0.01922130584716797, -0.04915009066462517, -0.014931932091712952, 0.03584299609065056, 0.04247481748461723, -0.01377713494002819, 0.026922600343823433, 0.011654416099190712, 0.02206931635737419, 0.04878116399049759, 0.006225119344890118, 0.05327441543340683, -0.02441939152777195, -0.03293399512767792, 0.004190400708466768, -0.04779357835650444, -0.048411671072244644, 0.03909186273813248, 0.016381708905100822, -0.04585706442594528, -0.046145204454660416, 0.056951556354761124, 0.009620090015232563, -0.0010807663202285767, 0.06050332263112068, -0.029468214139342308, -0.02926870621740818, -0.05120684206485748, 0.04212100803852081, 0.019710272550582886, 0.0028038998134434223, -0.02245679870247841, -0.058957651257514954, 0.01951766200363636, -0.014236440882086754, -0.03104364685714245, -0.006298526655882597, 0.010564041323959827, -0.01143892016261816, 0.04421921819448471, 0.018183045089244843, -0.051418788731098175, 0.002136785537004471, 0.004399749916046858, -0.042497098445892334, 0.05588550865650177, 0.024653706699609756, 0.13388511538505554, -0.06553975492715836, -0.05483715608716011, 0.030286945402622223, 0.010647810064256191, -0.039919376373291016, 0.009471898898482323, 0.015301731415092945, -0.024428658187389374, -0.0012872475199401379, -0.02416776306927204, 0.0486251637339592, -0.0786563828587532, 0.019664283841848373, 0.04716276377439499, -0.0063997237011790276, 0.03462626039981842, -0.03823757916688919, -0.007457973435521126, 0.00999402068555355, -0.01438973844051361, -0.013679392635822296, 0.040844302624464035, -0.0050276597030460835, -0.007099754177033901, -0.04458292946219444, -0.04872393608093262, 0.014893104322254658, 0.050580963492393494, 0.007121100090444088, -0.023853136226534843, -0.0495048463344574, 0.026835016906261444, 0.04830523207783699, 0.05345311388373375, -0.022315721958875656, 0.03993590176105499, 0.061193592846393585, 0.028079185634851456, -0.01730404607951641, 0.053738951683044434, 0.011626088991761208, -0.0023600279819220304, -0.029865043237805367, 0.009510639123618603, 0.018004639074206352, -0.030460916459560394, 0.0013211151817813516, 0.05404692515730858, 0.012821516022086143, -0.04852845147252083, -0.0372418649494648, 0.043869730085134506, -0.020814167335629463, -0.015063409693539143, 0.0017736630979925394, -0.027042189612984657, -0.021488426253199577, 0.040885452181100845, -0.011200165376067162, 0.0014994540251791477, -0.04428417980670929, -0.011930176056921482, 0.01353564765304327, 0.0504460334777832, 0.04233637824654579, 0.02113388665020466, -0.00669293524697423, 0.08010827749967575, -0.05251092463731766, 0.013663256540894508, -0.05883723124861717, -0.047870028764009476, 0.009409772232174873, 0.06926775723695755, 0.060410089790821075, 0.035230062901973724, -0.007298678159713745, -0.06362233310937881, 0.02226804383099079, 0.05981080234050751, 0.05004465952515602, 0.016660017892718315, -0.03000224009156227, -0.016272710636258125, 0.03572406619787216, 0.047838013619184494, -0.05856820568442345, -0.03848370537161827, 0.0025192981120198965, 0.058065809309482574, -0.0034316887613385916, 0.005349651910364628, -0.016607429832220078, 0.032682422548532486, -0.06892689317464828, -0.049793802201747894, 0.030256852507591248, 0.024498576298356056, 0.01938079297542572, 0.03164997324347496, -0.005744675174355507, 0.014302175492048264, 0.028420865535736084, -0.015210959129035473, 0.02861197292804718, -0.022199705243110657, 0.02580076828598976, 0.0038658117409795523, 0.06140356883406639, -0.03885749727487564, 0.029336322098970413, -0.0024692320730537176, 0.01390233263373375, 0.03144644573330879, -0.047983989119529724, 0.021350011229515076, 0.05783313512802124, 0.002369416644796729, -0.027960270643234253, 0.04003244638442993, 0.017172962427139282, 0.05596720054745674, 0.041308820247650146, 0.006524275057017803, 0.061794910579919815, 0.012836542911827564, 0.043340280652046204, 0.08175863325595856, 0.030075302347540855, 0.01520960871130228, 0.04079674556851387, 0.06991118937730789, 0.02624322660267353, 0.0003269704175181687, 0.06322341412305832, -0.05162288621068001, 0.016184138134121895, -0.035851363092660904, 0.016971291974186897, -0.005663948133587837, -0.008203345350921154, 0.045286066830158234, 0.014209022745490074, -0.021273700520396233, 0.003018928226083517, -0.018622616305947304, -0.018676932901144028, 0.06433974951505661, -0.029123833402991295, 0.0024562764447182417, -0.008882169611752033, -0.03265805542469025, 0.026463743299245834, -0.08412174135446548, -0.033493395894765854, -0.013609582558274269, -0.03490139916539192, -0.004309017676860094, -0.07294176518917084, -0.014296300709247589, -0.06730878353118896, -0.03156154602766037, 0.0544065497815609, -0.0014186727348715067, -0.009474499151110649, -0.047173477709293365, 0.013567746616899967, -0.03874141722917557, -0.03349047154188156, -0.0609990656375885, -0.06040582433342934, -0.025070292875170708, -0.07013261318206787, 0.04373808205127716, 0.01872515119612217, 0.04881490394473076, -0.0020285805221647024, 0.00870068371295929, -0.009609827771782875, -0.03699832409620285, 0.05776543915271759, 0.040225155651569366, -0.04040909186005592, -0.04796748608350754, 0.01459745317697525, 0.0031439862214028835, -0.004139338620007038, -0.02009991928935051, -0.033389996737241745, 0.0812414139509201, 0.059069130569696426, 0.01515897922217846, 0.014318562112748623, -0.0010013150749728084, -0.05785946920514107, -0.06012920290231705, -0.02376060001552105, -0.03972115367650986, -0.013422300107777119, -0.01601630076766014, -0.03918904811143875, -0.0407128632068634, -0.03484124690294266, -0.004129588138312101, -0.014380773529410362, -0.025320524349808693, 0.007866721600294113, 0.04069230705499649, 0.03410431370139122, 0.032084740698337555, -0.03430736064910889, -0.02741212584078312, 0.0640711635351181, -0.010085131973028183, -0.0017769061960279942, -0.06397359073162079, -0.03455270454287529, 0.039235495030879974, 0.007000934798270464, 0.023703625425696373, -0.007804096210747957, 0.09037309885025024, 0.02105310559272766, -0.014400043524801731, 0.02151937410235405, -0.027358395978808403, -0.025067808106541634, -0.002419154392555356, 0.008039203472435474, -0.02236628346145153, -0.04149937257170677, -0.0164103452116251, -0.0145695386454463, 0.0444798581302166, -0.05067578703165054, -0.04712468385696411, -0.026239167898893356, 0.027735939249396324, 0.046168193221092224, -0.008552773855626583, -0.04512318596243858, 0.006808497942984104, -0.06915662437677383, -0.015279996208846569, 0.03129908815026283, 0.006258723326027393, 0.02772926539182663, 0.021608129143714905, 0.02489483170211315, -0.024651706218719482, 0.048948269337415695, 0.04073261842131615, 0.07389476150274277, 0.04456879571080208, -0.03376549109816551, 0.010245135985314846, -0.029011983424425125, 0.03288654237985611, -0.012035978958010674, -0.024163955822587013, -0.03878558799624443, -0.08033437281847, -0.010494641959667206, 0.033119190484285355, -0.020998109132051468, 0.00036874477518722415, 0.08500044047832489, -0.00007292878581210971, -0.006050035357475281, -0.005041893571615219, 0.019024770706892014, 0.03500112518668175, -0.03987916186451912, 0.04310322180390358, 0.012712243013083935, 0.02364880032837391, -0.04088914394378662, 0.007505244575440884, -0.019740140065550804, -0.019787397235631943, 0.0008829032885842025, 0.04834868386387825, 0.03231188654899597, 0.07244379073381424, 0.05572610720992088, 0.012526893056929111, -0.056734006851911545, 0.06003566086292267, 0.04054376110434532, -0.022650109604001045, -0.0723176896572113, 0.001517077093012631, -0.014381890185177326, -0.013779067434370518, -0.010885423049330711, -0.0286994781345129, 0.04703375697135925, 0.0571763776242733, -0.010124311782419682, 0.007830627262592316, 0.03617179021239281, -0.021994594484567642, -0.00883500650525093, -0.05610905587673187, -0.012221238575875759, -0.0008963703876361251, -0.04013274982571602, 0.012162961065769196, 0.04863452911376953, 0.02082216553390026, 0.042939815670251846, 0.0563066266477108, -0.044894229620695114, -0.07097378373146057, 0.018081145361065865, 0.03628167510032654, -0.019796814769506454, -0.06078896299004555, -0.019236283376812935, 0.04116266220808029, 0.03878007456660271, 0.0026252311654388905, -0.05652952194213867, 0.029543530195951462, 0.05761801451444626, -0.0478481687605381, 0.03705761581659317, -0.023549722507596016, 0.031558018177747726, 0.054846689105033875, 0.002091290196403861, 0.014329647645354271, -0.0407063290476799, 0.009786446578800678, -0.006199758965522051, 0.02669653110206127, -0.05689084529876709, -0.023046664893627167, -0.058120064437389374, 0.02368668094277382, 0.0426725335419178, 0.03300229832530022, 0.03527269512414932, -0.028324637562036514, -0.059691138565540314, 0.0063161952421069145, 0.029793275520205498, -0.04518995061516762, 0.03441087529063225, 0.02340577356517315, 0.03108416311442852, -0.05865893512964249, -0.0523822158575058, -0.02320355549454689, -0.0018255860777571797, 0.040122319012880325, -0.019347138702869415, -0.0582413375377655, -0.03423241898417473, 0.018060607835650444, -0.03465205430984497, -0.0070534348487854, -0.08153758943080902, 0.007076269946992397, -0.014855809509754181, -0.01825433410704136, 0.040683601051568985, 0.04966406151652336, 0.02846630848944187, 0.0332610048353672, -0.008068762719631195, 0.005111828446388245, -0.03427419438958168, 0.043567921966314316, -0.041221439838409424, -0.017770670354366302, -0.015716901049017906, -0.03275064378976822, -0.019544824957847595, -0.03755217790603638, -0.04774777963757515, -0.03167380392551422, -0.019954975694417953, 0.014608299359679222, -0.01284108404070139, 0.009088610298931599, 0.005248591769486666, 0.024298153817653656, -0.016884595155715942, -0.026988595724105835, -0.03056909702718258, -0.04397605359554291, -0.059210240840911865, -0.05280168354511261, 0.03636894002556801, 0.0017087002051994205, 0.022923311218619347, 0.00016616392531432211, 0.011722573079168797, 0.021760422736406326, 0.015079195611178875, -0.015863481909036636, 0.021832596510648727, -0.02174609713256359, -0.03271711617708206, -0.0074325730092823505, 0.013170595280826092, 0.004344900604337454, 0.049591049551963806, -0.010809645988047123, 0.05628836899995804, 0.020694883540272713, -0.026495618745684624, 0.002278844593092799, 0.008110733702778816, 0.020424451678991318, -0.05544070154428482, -0.01977301947772503, -0.010371082462370396, -0.03872845321893692, 0.0012425106251612306, -0.02477903850376606, -0.02945268526673317, 0.029706057161092758, 0.011382480151951313, 0.0467495433986187, -0.007959217764437199, -0.021234462037682533, 0.024747775867581367, -0.020245738327503204, 0.01272265799343586, -0.0637773796916008, 0.04379964992403984, -0.042371682822704315, 0.007682980969548225, -0.020156217738986015, -0.008563094772398472, -0.05541606992483139, 0.04651618003845215, -0.029190678149461746, -0.01665261760354042, -0.011437861248850822, 0.01328584086149931, -0.023227768018841743, 0.01799318753182888, -0.01164450403302908, 0.013791334815323353, -0.037511445581912994, 0.0764395147562027, -0.04796769097447395, 0.011479082517325878, -0.03901614248752594, -0.012611635960638523, -0.026123974472284317, -0.017100989818572998, -0.003267200430855155, -0.03313671797513962, 0.04041530191898346, 0.06239897012710571, 0.01946439780294895, 0.000917403434868902, -0.011023754253983498, 0.00035712201497517526, 0.013781840912997723, -0.051910314708948135, -0.010174944996833801, 0.0032476780470460653, 0.016236431896686554, -0.012080436572432518, 0.046437472105026245, 0.0028442880138754845, -0.04151641204953194, -0.04773081839084625, 0.052078429609537125, 0.025377435609698296, 0.012263596057891846, 0.0030514313839375973, -0.0026001213118433952, 0.013446890749037266, 0.030752675607800484, -0.042813122272491455, -0.007648678962141275, -0.0012348132440820336, -0.038607120513916016, 0.03767267242074013, -0.019770829007029533, 0.02607019618153572, 0.006875056307762861, -0.023418057709932327, -0.0197836235165596, 0.0675550177693367, 0.0012281568488106132, 0.028484225273132324, -0.029256025329232216, -0.03102056123316288, 0.012996858917176723, 0.02918592281639576, -0.03779393807053566, 0.001468377304263413, 0.011808264069259167, -0.039897169917821884, 0.06131250038743019, -0.023937875404953957, 0.017324944958090782, 0.06758758425712585, 0.021038856357336044, -0.0111997090280056, 0.05132724344730377, -0.027897194027900696, 0.005601575598120689, 0.06896895170211792, -0.0471184067428112, -0.01760624162852764, -0.015217502601444721, 0.06666682660579681, -0.07349977642297745, 0.04291760176420212, 0.03649495914578438, -0.0009646496619097888, 0.014600004069507122, -0.034328632056713104, -0.027216624468564987, 0.01630411483347416, -0.020835209637880325, 0.06888340413570404, 0.014441042207181454, -0.07256002724170685, 0.060698918998241425, 0.023485707119107246, -0.06858006119728088, 0.02953673154115677, 0.0279392097145319, 0.001005589379929006, 0.016677824780344963, 0.03956083580851555, -0.05481204763054848, 0.010295222513377666, -0.025811003521084785, 0.04175165668129921, -0.048667214810848236, -0.007349273655563593, 0.01781095750629902, -0.0636836364865303, -0.03787192329764366, 0.028105122968554497, -0.0008334176382049918, -0.024122338742017746, 0.03568156436085701, -0.06713783740997314, -0.054260194301605225, 0.0013995282351970673, 0.028562121093273163, -0.051179926842451096, 0.015168949030339718, -0.055883049964904785, 0.005816851742565632, 0.03242293745279312, 0.00037110966513864696, -0.026610007509589195, -0.011147374287247658, 0.03328210487961769, -0.056132443249225616, -0.04941374808549881, 0.03505473583936691, 0.004049437586218119, -0.03500327095389366, 0.016038639470934868, -0.02520550601184368, 0.022987084463238716, 0.028877992182970047, -0.0061501325108110905, 0.04869546368718147, -0.03290595859289169, -0.007067251950502396, -0.00205766293220222, 0.03262180835008621, 0.00450961384922266, -0.02622237242758274, 0.05169547349214554, 0.038437068462371826, 0.02521396242082119, -0.008701411075890064, -0.02082723192870617, -0.03134330362081528, 0.04217568039894104, -0.04712047055363655, 0.019552268087863922, 0.0025421041063964367, -0.04875979945063591, -0.051679082214832306, -0.037036921828985214, -0.02722572162747383, 0.04896429926156998, -0.043046217411756516, 0.012384648434817791, 0.04774833843111992, -0.007727838587015867, -0.04235020652413368, -0.09373681247234344, -0.024817734956741333, -0.048056960105895996, 0.016408853232860565, 0.03900846838951111, -0.05689500272274017, 0.013288121670484543, -0.04545924440026283, -0.06829508394002914, 0.037920139729976654, 0.011671971529722214, -0.040297731757164, 0.03975015506148338, 0.041640326380729675, -0.03603585809469223, 0.029522262513637543, 0.017466960474848747, -0.057063423097133636, 0.03935173526406288, 0.030321335420012474, 0.00866854377090931, 0.014234589412808418, 0.02914116159081459, -0.02018369361758232, -0.02818814292550087, -0.07003969699144363, -0.055130988359451294, -0.05481506139039993, 0.0301029272377491, 0.07101025432348251 ]
BenGeorge/MyModel
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-07-01T21:17:02Z
# Covid19 Related Question Answering (Closed book question answering) In 2020, COVID-19 which is caused by a coronavirus called SARS-CoV-2 took over the world. It touched the lives of many people and caused a lot of hardship for humanity. There are still many questions in regards to COVID-19 and it is often difficult to get the right answers. The aim of this project is to finetune models for closed book question answering. In closed-book QA, we feed the model a question *without any context or access to external knowledge* and train it to predict the answer. Since the model doesn't receive any context, the primary way it can learn to answer these questions is based on the "knowledge" it obtained during pre-training [[1]](https://colab.research.google.com/github/google-research/text-to-text-transfer-transformer/blob/master/notebooks/t5-trivia.ipynb#scrollTo=zSeyoqE7WMwu) [[2]](https://arxiv.org/abs/2002.08910). The main goals of this project are: 1. Train a model for question answering in regards to COVID-19 2. Release the top performing models for further research and enhancement 3. Release all of the preprocessing and postprocessing scripts and findings for future research. ## TO DO LIST: - [x] Team members met and the following was discussed: - Data preparation script is prepared that mixes CORD-19 and Pubmed. - Agreed to finalize the training scripts by 9pm PDT 7/9/2021. - Tokenizer is now trained. - [ ] Setup the pretraining script - [ ] Prepare the finetuning tasks inspired from [T5 Trivia Colab](https://colab.research.google.com/github/google-research/text-to-text-transfer-transformer/blob/master/notebooks/t5-trivia.ipynb) - What datasets we want to go with? - [Covid-QA](https://huggingface.co/datasets/covid_qa_deepset) (Maybe as test set?) - [Trivia](https://huggingface.co/datasets/covid_qa_deepset) - [CDC-QA](https://www.cdc.gov/coronavirus/2019-ncov/faq.html) (We can scrape quickly using beautiful soup or something) - [More Medical Datasets](https://aclanthology.org/2020.findings-emnlp.289.pdf) (See the dataset section for inspiratio) ## 1. Model We will be using T5 model. ## 2. Datasets The following datasets would be used for finetuning the model. Note that the last dataset is optional and the model is evaluated only using Covid-QA. For **Intermediate Pre-Training**: 1. [CORD-19](https://allenai.org/data/cord-19) For **Fine-Tuning** : 1. [Covid-QA](https://huggingface.co/datasets/covid_qa_deepset) 2. [CDC-QA](https://www.cdc.gov/coronavirus/2019-ncov/faq.html) 4. Optional - [Trivia-QA](https://nlp.cs.washington.edu/triviaqa/) ## 3. Training Scripts We can make use of : 1. [For preprocessing and mixing datasets](https://colab.research.google.com/github/google-research/text-to-text-transfer-transformer/blob/master/notebooks/t5-trivia.ipynb#:~:text=In%20this%20notebook%2C%20we&#39;ll,it%20to%20predict%20the%20answer.) 2. [For T5 training](https://github.com/huggingface/transformers/blob/master/src/transformers/models/t5/modeling_flax_t5.py) ## 4. Additional Reading - [How Much Knowledge Can You Pack Into the Parameters of a Language Model?](https://arxiv.org/pdf/2002.08910.pdf)
[ 0.005401175934821367, -0.0154337789863348, -0.00908554345369339, 0.04440954700112343, 0.03975192829966545, 0.0032907859422266483, -0.028903866186738014, -0.017707644030451775, -0.03422246128320694, 0.01245025359094143, 0.05916523188352585, 0.0504152737557888, -0.010330903343856335, 0.05785241350531578, -0.05634362995624542, -0.0413052923977375, 0.00043208658462390304, -0.005566957872360945, -0.050885289907455444, -0.026369202882051468, 0.007676835171878338, 0.023352712392807007, 0.02932104282081127, 0.00003351681152707897, -0.008689837530255318, 0.023647654801607132, -0.01564685069024563, 0.01735011674463749, 0.008808160200715065, -0.06447335332632065, -0.0037939422763884068, -0.015038969926536083, -0.03172482177615166, -0.028853781521320343, 0.0065955244936048985, 0.0036623040214180946, 0.027479883283376694, -0.0080307237803936, 0.005637108813971281, 0.025749512016773224, -0.01171876210719347, 0.00629666680470109, 0.03151308372616768, -0.022312339395284653, 0.05555817112326622, -0.00397070636972785, -0.03665798157453537, -0.019990308210253716, 0.02671809494495392, -0.019502371549606323, -0.07367809861898422, -0.08191865682601929, -0.042629096657037735, 0.017138713970780373, 0.016354678198695183, -0.02980852499604225, -0.05455823615193367, -0.0030328857246786356, 0.05200686305761337, -0.028916707262396812, -0.03010428510606289, 0.011613303795456886, -0.06448408961296082, -0.0033148748334497213, 0.07059112936258316, -0.039818160235881805, 0.006793538574129343, -0.03768114745616913, 0.000261058536125347, -0.03680257126688957, 0.06707468628883362, -0.0419783890247345, 0.028842536732554436, -0.07916950434446335, -0.00531276548281312, -0.003105304902419448, 0.03791382536292076, 0.03487929329276085, -0.02402557246387005, 0.04969555139541626, 0.02708301693201065, 0.022095557302236557, 0.034449756145477295, -0.026087971404194832, -0.0003450378717388958, 0.014531047083437443, -0.03616849705576897, -0.016280248761177063, -0.02090613916516304, 0.026793692260980606, 0.015687528997659683, -0.05242622271180153, -0.03393153101205826, -0.00017832432058639824, -0.013856735080480576, 0.04014722630381584, 0.035525672137737274, -0.0300253015011549, -0.0009696625056676567, 0.019890477880835533, 0.05116448551416397, 0.04195951297879219, -0.022033782675862312, 0.045860808342695236, -0.021603230386972427, 0.02237529680132866, 0.011685331352055073, -0.01460896898061037, -0.042048610746860504, 0.04265051707625389, 0.033799078315496445, -0.05093036964535713, -0.01954314485192299, -0.0013104253448545933, 0.04124126210808754, -0.01923980936408043, 0.05761559680104256, -0.042539309710264206, -0.04635445028543472, -0.012587775476276875, 0.014933531172573566, 0.01825908198952675, -0.0004455826710909605, 0.020516661927103996, -0.03727073594927788, 0.021824384108185768, -0.04782978072762489, -0.03016381338238716, 0.03588537871837616, -0.001880102208815515, -0.008946784771978855, 0.05568348616361618, 0.008692704141139984, -0.06556253880262375, 0.014689773321151733, 0.040002282708883286, -0.07683254033327103, 0.00520169036462903, 0.02037239260971546, 0.11467348784208298, -0.0743909701704979, -0.06039062887430191, 0.028032023459672928, 0.03267815336585045, -0.0022185142152011395, 0.007347466889768839, -0.009008808061480522, -0.002220134250819683, -0.005157320760190487, 0.021750688552856445, 0.08956918120384216, -0.0318833626806736, -0.0009252640884369612, 0.007898854091763496, -0.01553252525627613, 0.00866582989692688, -0.01780126988887787, 0.008407783694565296, -0.025721142068505287, -0.0004942005616612732, -0.017680177465081215, 0.012065943330526352, -0.02830488793551922, 0.016766002401709557, -0.05197809264063835, -0.02535066194832325, -0.0072031267918646336, 0.11054117977619171, 0.015715863555669785, -0.02787759155035019, -0.04041384905576706, -0.011492687277495861, 0.04562106356024742, 0.048858217895030975, -0.049247294664382935, 0.05071290209889412, 0.038164328783750534, 0.0244761910289526, -0.015298621729016304, 0.03932018205523491, -0.008034461177885532, -0.04586830735206604, -0.01245435606688261, 0.03411271795630455, -0.022991344332695007, -0.02124101296067238, 0.019524091854691505, 0.050705436617136, -0.027328861877322197, -0.014117548242211342, -0.05217549577355385, 0.04967891797423363, -0.008733042515814304, 0.00654298672452569, -0.012261989526450634, 0.013293685391545296, -0.03918054699897766, 0.03281010314822197, -0.040844641625881195, 0.009325793012976646, -0.014404146000742912, -0.004046496469527483, 0.033811021596193314, 0.012554768472909927, 0.02393229492008686, 0.054154057055711746, -0.02575976587831974, 0.09424754232168198, -0.03443259373307228, 0.010660975240170956, -0.04433264955878258, -0.046035926789045334, -0.0028801870066672564, 0.051568128168582916, 0.05126504227519035, 0.04146924987435341, -0.010652553290128708, -0.016895776614546776, 0.04008723795413971, 0.08119676262140274, 0.0544731579720974, 0.002702756319195032, -0.028034357354044914, 0.011176000349223614, 0.023317841812968254, 0.07205487787723541, -0.027944721281528473, -0.007259704172611237, 0.03929602727293968, 0.027911148965358734, -0.03426220268011093, 0.015613660216331482, -0.024055082350969315, 0.03704197332262993, -0.037162475287914276, -0.08485521376132965, 0.028743986040353775, 0.034601666033267975, 0.02032393403351307, 0.018582694232463837, -0.014834226109087467, -0.004722923506051302, 0.015653133392333984, -0.006843900308012962, -0.001163015142083168, -0.02498396299779415, 0.023395169526338577, 0.03795881196856499, 0.05181508883833885, -0.04721074923872948, 0.027796916663646698, -0.0007753475802019238, 0.0002093489601975307, 0.02614988572895527, -0.03852970153093338, 0.02199437841773033, 0.06117267161607742, 0.03961872681975365, -0.002481074770912528, 0.005288424901664257, 0.026407470926642418, 0.017197631299495697, 0.0640413910150528, 0.03409756347537041, 0.029115891084074974, 0.004933243617415428, 0.009121542796492577, 0.08712998777627945, 0.008811712265014648, -0.0019137558992952108, -0.007425558753311634, 0.07317955791950226, -0.016584355384111404, -0.008520468138158321, 0.014146148227155209, -0.08362406492233276, 0.007728947792202234, -0.04742628335952759, 0.00015271625306922942, 0.008017582818865776, -0.001284557394683361, 0.0613253079354763, 0.049292802810668945, -0.02393682301044464, 0.03470679000020027, 0.0009778478415682912, -0.026926808059215546, 0.027224060148000717, -0.038923557847738266, 0.004761165007948875, -0.028792010620236397, -0.022512758150696754, -0.011254850775003433, -0.04936976730823517, -0.020951129496097565, -0.00022449821699410677, -0.045820001512765884, -0.0058633736334741116, -0.08436936885118484, -0.012444618158042431, -0.09034941345453262, -0.052530013024806976, 0.04002271220088005, 0.037165362387895584, 0.003575017210096121, -0.04140162840485573, 0.0034330696798861027, -0.046490032225847244, -0.06112463399767876, -0.043101757764816284, -0.04657953977584839, -0.049399182200431824, -0.06714612245559692, 0.04332618787884712, 0.04263443127274513, 0.03505556657910347, -0.00042549544014036655, -0.00664294371381402, -0.022298797965049744, -0.033885467797517776, 0.04063723608851433, 0.023333480581641197, -0.04327108711004257, -0.05891309678554535, 0.03135740011930466, 0.0012813924113288522, 0.04781324788928032, -0.046274781227111816, -0.014107626862823963, 0.06944727897644043, 0.052302997559309006, 0.03483184427022934, -0.0036264839582145214, 0.004880134481936693, -0.03772643953561783, -0.04320191219449043, -0.026457153260707855, -0.022026753053069115, -0.008933198638260365, -0.04706333205103874, -0.031683728098869324, -0.000765359029173851, -0.047036007046699524, 0.001407742965966463, -0.007939815521240234, -0.03128635510802269, 0.049653876572847366, 0.036660827696323395, 0.0324966162443161, 0.014967936091125011, -0.046835631132125854, -0.03922945633530617, 0.042684148997068405, 0.0026212721131742, 0.04763782396912575, -0.03266214579343796, -0.06218063086271286, 0.06129216402769089, 0.01394413597881794, 0.004485336598008871, -0.004086448345333338, 0.06817226111888885, 0.012045308947563171, -0.04228460043668747, -0.002566002542153001, -0.024649042636156082, -0.013247151859104633, 0.004961545579135418, 0.012106622569262981, -0.01827465370297432, -0.04416611045598984, -0.03482295572757721, -0.026663314551115036, 0.03352808579802513, -0.06582462042570114, -0.03944568708539009, -0.019571788609027863, -0.024745367467403412, 0.011701063252985477, 0.02077811397612095, -0.039072342216968536, -0.022910799831151962, -0.04760124161839485, -0.00919684674590826, -0.0014707474038004875, 0.018347477540373802, -0.02147231623530388, 0.04113024100661278, 0.017049508169293404, -0.0045062461867928505, 0.06280335038900375, 0.028912967070937157, 0.04314379766583443, 0.026807637885212898, -0.059782467782497406, -0.0010557080386206508, -0.034155845642089844, 0.011888803914189339, 0.017077157273888588, -0.0021756954956799746, -0.05828683078289032, -0.05813801661133766, -0.025395570322871208, 0.030909717082977295, 0.023578625172376633, -0.014669281430542469, 0.013207610696554184, -0.0004796995781362057, 0.0010498944902792573, -0.024178190156817436, 0.0317411869764328, 0.043554555624723434, -0.04580043628811836, 0.05200593173503876, 0.006436205003410578, 0.04703674465417862, -0.02068997360765934, 0.007793380878865719, -0.043059226125478745, -0.017051996663212776, 0.03531323000788689, 0.04076243191957474, -0.010087593458592892, 0.06775640696287155, 0.05081617087125778, 0.011097002774477005, -0.06153009086847305, 0.055009908974170685, 0.062006402760744095, -0.009293222799897194, -0.028544755652546883, -0.018823329359292984, -0.012600788846611977, -0.039801180362701416, 0.0017945783911272883, -0.018609343096613884, 0.06021006032824516, 0.043919749557971954, -0.015984678640961647, 0.007479006424546242, -0.010604599490761757, -0.022079039365053177, -0.05947195738554001, -0.040629446506500244, 0.00525833573192358, -0.0323454774916172, -0.005275989416986704, 0.03444202244281769, 0.033989839255809784, 0.014678439125418663, 0.037308789789676666, 0.03499959781765938, -0.0037267375737428665, -0.037103090435266495, 0.027383683249354362, 0.02408943511545658, -0.06491445004940033, -0.05119714513421059, -0.04833199456334114, 0.056268561631441116, 0.02816803939640522, -0.01406101044267416, -0.09282559901475906, 0.031816884875297546, 0.03342043608427048, -0.0768730640411377, 0.0557498000562191, 0.009981426410377026, 0.02578103356063366, 0.05438307300209999, -0.019223511219024658, 0.03411668911576271, -0.06259959936141968, 0.010112272575497627, 0.009208820760250092, 0.06844930350780487, -0.049451373517513275, -0.025160949677228928, -0.06023094803094864, 0.06034725904464722, 0.043962787836790085, 0.024946045130491257, 0.0036460624542087317, -0.017965560778975487, -0.03762146458029747, 0.010268409736454487, 0.03468102961778641, -0.03197471424937248, 0.012932186014950275, 0.062308963388204575, 0.010760626755654812, -0.08845915645360947, -0.026658086106181145, -0.020826788619160652, 0.012609743513166904, 0.03335173428058624, -0.026996292173862457, -0.05328322947025299, -0.04169103130698204, 0.03260096162557602, 0.003799967933446169, -0.009678768925368786, -0.08021233230829239, 0.021893249824643135, -0.011944735422730446, -0.05411276966333389, 0.05132356658577919, 0.06169063225388527, 0.030851876363158226, 0.07699459046125412, 0.010068733245134354, 0.0096055306494236, -0.03164681792259216, 0.027170684188604355, -0.0632590651512146, -0.0112605644389987, -0.0006878332933411002, -0.05565338581800461, -0.007986372336745262, -0.03744911402463913, -0.022701993584632874, -0.03422088176012039, -0.040275655686855316, 0.016009094193577766, 0.01675192080438137, 0.004015018232166767, 0.00979386456310749, 0.039771948009729385, -0.03302944079041481, -0.02332252264022827, -0.018519526347517967, -0.012670266442000866, -0.04759162291884422, -0.04897969588637352, 0.03634685277938843, -0.012887151911854744, 0.037159014493227005, 0.025290679186582565, 0.03250591456890106, 0.0004945169785059988, 0.020832110196352005, -0.022152721881866455, 0.01149519719183445, 0.021962236613035202, -0.02712216041982174, -0.010666719637811184, 0.01800518110394478, 0.004259965382516384, 0.029044894501566887, 0.0006613246514461935, -0.005211377050727606, 0.034278806298971176, -0.009309720247983932, -0.020271845161914825, 0.014873812906444073, 0.00989960040897131, -0.057102154940366745, -0.01556779257953167, -0.003695705207064748, -0.04760602116584778, 0.061556268483400345, -0.03048383630812168, -0.046266499906778336, -0.00790446251630783, 0.0038360997568815947, 0.05404803529381752, 0.009166950359940529, -0.032419051975011826, 0.019587401300668716, -0.023385826498270035, 0.038058433681726456, -0.05650409311056137, 0.010247957892715931, -0.017542781308293343, 0.0041284156031906605, -0.030965622514486313, -0.0021214408334344625, -0.03399891406297684, 0.06843555718660355, -0.03030511550605297, -0.030519044026732445, -0.01911858469247818, 0.0008468786254525185, -0.017188912257552147, 0.0647338256239891, 0.00188669771887362, 0.008238530717790127, -0.032611776143312454, 0.04466385394334793, -0.061052680015563965, -0.011225569061934948, -0.03210508078336716, -0.016570329666137695, -0.03856490179896355, 0.026047606021165848, -0.04670961573719978, -0.02009466663002968, 0.026552993804216385, 0.02540498971939087, 0.045256108045578, 0.036737676709890366, 0.01088298112154007, -0.020526057109236717, 0.028118418529629707, -0.06918580085039139, -0.03424017131328583, -0.02850651554763317, -0.01028095930814743, -0.0009756109211593866, 0.022616416215896606, 0.034126441925764084, -0.023944268003106117, -0.05243760347366333, 0.061296530067920685, 0.03560267388820648, 0.020189980044960976, 0.003219383303076029, 0.015400126576423645, 0.02701067551970482, 0.03132228925824165, -0.03663666173815727, -0.013080627657473087, -0.036299653351306915, -0.026469459757208824, 0.01993306167423725, -0.010734649375081062, 0.018024321645498276, 0.014941112138330936, -0.025215446949005127, -0.028900055214762688, 0.03759079426527023, 0.02787242829799652, 0.03204842284321785, 0.015013720840215683, -0.02050410583615303, 0.02321581356227398, -0.016857940703630447, -0.049308281391859055, 0.023108242079615593, -0.011324646882712841, -0.057078007608652115, 0.059865888208150864, -0.01155767496675253, 0.004596573766320944, 0.03916564956307411, 0.034521251916885376, -0.04181335121393204, 0.057066988199949265, -0.0448681078851223, 0.000864734931383282, 0.0475786030292511, -0.04733305051922798, 0.017224866896867752, -0.024851998314261436, 0.05509178340435028, -0.05247828736901283, 0.049159638583660126, 0.027209727093577385, -0.010904254391789436, 0.0034407093189656734, -0.009044764563441277, -0.02124534174799919, 0.014525511302053928, -0.031198687851428986, 0.08632612973451614, -0.020167667418718338, -0.03791520744562149, 0.07810744643211365, 0.019173922017216682, -0.06342059373855591, 0.02025112695991993, 0.0545337088406086, 0.01160867977887392, 0.05459921061992645, 0.04144437611103058, -0.07437268644571304, 0.017565222457051277, -0.017622942104935646, 0.0571090467274189, -0.020202280953526497, -0.06560176610946655, 0.015219205059111118, -0.025691909715533257, -0.01145104505121708, 0.006211440544575453, -0.0017985807498916984, 0.0020503306295722723, 0.006825493648648262, -0.07086004316806793, -0.0561615414917469, 0.02205807715654373, 0.033818360418081284, -0.043247248977422714, -0.026990843936800957, -0.03050093725323677, 0.03580036386847496, 0.0163138248026371, 0.009359283372759819, -0.022474003955721855, -0.012703008018434048, 0.004169494844973087, -0.07485867291688919, -0.04172615334391594, 0.044853370636701584, -0.013225380331277847, -0.030332501977682114, 0.027726899832487106, -0.015758784487843513, -0.0038875401951372623, 0.0185684897005558, -0.017612585797905922, 0.015200922265648842, -0.04863762855529785, 0.006773932836949825, 0.045416273176670074, 0.016590287908911705, 0.044554565101861954, -0.054829712957143784, 0.04883642494678497, 0.03925428166985512, 0.04515334963798523, -0.000025658886443125084, -0.026946362107992172, -0.0008458588854409754, 0.02755507081747055, -0.05542536452412605, 0.01256795134395361, -0.0029870462603867054, -0.07722722738981247, -0.0028435727581381798, -0.025108641013503075, -0.02091730572283268, 0.04027191549539566, -0.0542280375957489, -0.02624492533504963, 0.04392188787460327, 0.003916548099368811, -0.029263166710734367, -0.10082583129405975, -0.029378190636634827, -0.029054677113890648, 0.018731290474534035, 0.017465131357312202, -0.02575426734983921, 0.011677776463329792, -0.04824773967266083, -0.07187306880950928, 0.03899328038096428, 0.007124384865164757, -0.05474507436156273, 0.045185573399066925, 0.05782069265842438, -0.026427127420902252, 0.017761778086423874, 0.043181244283914566, -0.011183390393853188, 0.022545522078871727, -0.015515971928834915, 0.020746534690260887, 0.03275332599878311, 0.02728433907032013, -0.02257116511464119, -0.021508751437067986, -0.022310500964522362, -0.03714872524142265, -0.027045097202062607, -0.002746610203757882, 0.07582744210958481 ]
BenWitter/DialoGPT-small-Tyrion
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
2021-07-09T02:42:37Z
--- language: en tags: - seq2seq - t5 - text-generation - recipe-generation pipeline_tag: text2text-generation widget: - text: "provolone cheese, bacon, bread, ginger" - text: "sugar, crunchy jif peanut butter, cornflakes" - text: "sweet butter, confectioners sugar, flaked coconut, condensed milk, nuts, vanilla, dipping chocolate" - text: "macaroni, butter, salt, bacon, milk, flour, pepper, cream corn" - text: "hamburger, sausage, onion, regular, american cheese, colby cheese" - text: "chicken breasts, onion, garlic, great northern beans, black beans, green chilies, broccoli, garlic oil, butter, cajun seasoning, salt, oregano, thyme, black pepper, basil, worcestershire sauce, chicken broth, sour cream, chardonnay wine" - text: "serrano peppers, garlic, celery, oregano, canola oil, vinegar, water, kosher salt, salt, black pepper" --- ![avatar](chef-transformer.png) # Chef Transformer (T5) > This is part of the [Flax/Jax Community Week](https://discuss.huggingface.co/t/recipe-generation-model/7475), organized by [HuggingFace](https://huggingface.co/) and TPU usage sponsored by Google. Want to give it a try? Then what's the wait, head over to Hugging Face Spaces [here](https://huggingface.co/spaces/flax-community/chef-transformer). ## Team Members - Mehrdad Farahani ([m3hrdadfi](https://huggingface.co/m3hrdadfi)) - Kartik Godawat ([dk-crazydiv](https://huggingface.co/dk-crazydiv)) - Haswanth Aekula ([hassiahk](https://huggingface.co/hassiahk)) - Deepak Pandian ([rays2pix](https://huggingface.co/rays2pix)) - Nicholas Broad ([nbroad](https://huggingface.co/nbroad)) ## Dataset [RecipeNLG: A Cooking Recipes Dataset for Semi-Structured Text Generation](https://recipenlg.cs.put.poznan.pl/). This dataset contains **2,231,142** cooking recipes (>2 millions) with size of **2.14 GB**. It's processed in more careful way. ### Example ```json { "NER": [ "oyster crackers", "salad dressing", "lemon pepper", "dill weed", "garlic powder", "salad oil" ], "directions": [ "Combine salad dressing mix and oil.", "Add dill weed, garlic powder and lemon pepper.", "Pour over crackers; stir to coat.", "Place in warm oven.", "Use very low temperature for 15 to 20 minutes." ], "ingredients": [ "12 to 16 oz. plain oyster crackers", "1 pkg. Hidden Valley Ranch salad dressing mix", "1/4 tsp. lemon pepper", "1/2 to 1 tsp. dill weed", "1/4 tsp. garlic powder", "3/4 to 1 c. salad oil" ], "link": "www.cookbooks.com/Recipe-Details.aspx?id=648947", "source": "Gathered", "title": "Hidden Valley Ranch Oyster Crackers" } ``` ## How To Use ```bash # Installing requirements pip install transformers ``` ```python from transformers import FlaxAutoModelForSeq2SeqLM from transformers import AutoTokenizer MODEL_NAME_OR_PATH = "flax-community/t5-recipe-generation" tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME_OR_PATH, use_fast=True) model = FlaxAutoModelForSeq2SeqLM.from_pretrained(MODEL_NAME_OR_PATH) prefix = "items: " # generation_kwargs = { # "max_length": 512, # "min_length": 64, # "no_repeat_ngram_size": 3, # "early_stopping": True, # "num_beams": 5, # "length_penalty": 1.5, # } generation_kwargs = { "max_length": 512, "min_length": 64, "no_repeat_ngram_size": 3, "do_sample": True, "top_k": 60, "top_p": 0.95 } special_tokens = tokenizer.all_special_tokens tokens_map = { "<sep>": "--", "<section>": "\n" } def skip_special_tokens(text, special_tokens): for token in special_tokens: text = text.replace(token, "") return text def target_postprocessing(texts, special_tokens): if not isinstance(texts, list): texts = [texts] new_texts = [] for text in texts: text = skip_special_tokens(text, special_tokens) for k, v in tokens_map.items(): text = text.replace(k, v) new_texts.append(text) return new_texts def generation_function(texts): _inputs = texts if isinstance(texts, list) else [texts] inputs = [prefix + inp for inp in _inputs] inputs = tokenizer( inputs, max_length=256, padding="max_length", truncation=True, return_tensors="jax" ) input_ids = inputs.input_ids attention_mask = inputs.attention_mask output_ids = model.generate( input_ids=input_ids, attention_mask=attention_mask, **generation_kwargs ) generated = output_ids.sequences generated_recipe = target_postprocessing( tokenizer.batch_decode(generated, skip_special_tokens=False), special_tokens ) return generated_recipe ``` ```python items = [ "macaroni, butter, salt, bacon, milk, flour, pepper, cream corn", "provolone cheese, bacon, bread, ginger" ] generated = generation_function(items) for text in generated: sections = text.split("\n") for section in sections: section = section.strip() if section.startswith("title:"): section = section.replace("title:", "") headline = "TITLE" elif section.startswith("ingredients:"): section = section.replace("ingredients:", "") headline = "INGREDIENTS" elif section.startswith("directions:"): section = section.replace("directions:", "") headline = "DIRECTIONS" if headline == "TITLE": print(f"[{headline}]: {section.strip().capitalize()}") else: section_info = [f" - {i+1}: {info.strip().capitalize()}" for i, info in enumerate(section.split("--"))] print(f"[{headline}]:") print("\n".join(section_info)) print("-" * 130) ``` Output: ```text [TITLE]: Macaroni and corn [INGREDIENTS]: - 1: 2 c. macaroni - 2: 2 tbsp. butter - 3: 1 tsp. salt - 4: 4 slices bacon - 5: 2 c. milk - 6: 2 tbsp. flour - 7: 1/4 tsp. pepper - 8: 1 can cream corn [DIRECTIONS]: - 1: Cook macaroni in boiling salted water until tender. - 2: Drain. - 3: Melt butter in saucepan. - 4: Blend in flour, salt and pepper. - 5: Add milk all at once. - 6: Cook and stir until thickened and bubbly. - 7: Stir in corn and bacon. - 8: Pour over macaroni and mix well. ---------------------------------------------------------------------------------------------------------------------------------- [TITLE]: Grilled provolone and bacon sandwich [INGREDIENTS]: - 1: 2 slices provolone cheese - 2: 2 slices bacon - 3: 2 slices sourdough bread - 4: 2 slices pickled ginger [DIRECTIONS]: - 1: Place a slice of provolone cheese on one slice of bread. - 2: Top with a slice of bacon. - 3: Top with a slice of pickled ginger. - 4: Top with the other slice of bread. - 5: Heat a skillet over medium heat. - 6: Place the sandwich in the skillet and cook until the cheese is melted and the bread is golden brown. ---------------------------------------------------------------------------------------------------------------------------------- ``` ## Evaluation Since the test set is not available, we will evaluate the model based on a shared test set. This test set consists of 5% of the whole test (*= 5,000 records*), and we will generate five recipes for each input(*= 25,000 records*). The following table summarizes the scores obtained by the **Chef Transformer** and **RecipeNLG** as our baseline. | Model | COSIM | WER | ROUGE-2 | BLEU | GLEU | METEOR | |:------------------------------------------------------------------------:|:----------:|:----------:|:----------:|:----------:|:----------:|:----------:| | [RecipeNLG](https://huggingface.co/mbien/recipenlg) | 0.5723 | 1.2125 | 0.1354 | 0.1164 | 0.1503 | 0.2309 | | [Chef Transformer](huggingface.co/flax-community/t5-recipe-generation) * | **0.7282** | **0.7613** | **0.2470** | **0.3245** | **0.2624** | **0.4150** | *From the 5 generated recipes corresponding to each NER (food items), only the highest score was taken into account in the WER, COSIM, and ROUGE metrics. At the same time, BLEU, GLEU, Meteor were designed to have many possible references.* ## Copyright Special thanks to those who provided these fantastic materials. - [Anatomy](https://www.flaticon.com/free-icon) - [Chef Hat](https://www.vecteezy.com/members/jellyfishwater) - [Moira Nazzari](https://pixabay.com/photos/food-dessert-cake-eggs-butter-3048440/) - [Instagram Post](https://www.freepik.com/free-psd/recipes-ad-social-media-post-template_11520617.htm)
[ -0.026136744767427444, 0.00735808489844203, 0.008492495864629745, 0.03412480279803276, 0.029860811308026314, 0.008488298393785954, 0.0024498195853084326, 0.012623577378690243, -0.00887612160295248, 0.05074142664670944, 0.02370939962565899, 0.0033505395986139774, -0.004888992290943861, 0.012119673192501068, -0.032285451889038086, -0.017443645745515823, -0.06423260271549225, -0.006132117938250303, -0.029335688799619675, 0.004676429554820061, 0.02479904145002365, 0.0023026566486805677, -0.0034266074653714895, 0.009175809100270271, 0.022694803774356842, 0.02696942910552025, -0.01387271098792553, 0.01825319603085518, 0.012426282279193401, -0.063111312687397, -0.028276408091187477, -0.048639971762895584, -0.018158383667469025, -0.005981180816888809, -0.029580719769001007, 0.005199143663048744, 0.021212588995695114, 0.00023964786669239402, 0.0329374261200428, 0.031608592718839645, 0.026307715103030205, 0.005919934716075659, -0.04302698373794556, -0.052301276475191116, 0.023611651733517647, 0.02686033584177494, -0.035293098539114, -0.022354332730174065, 0.01516250241547823, -0.01959211379289627, -0.0701744481921196, -0.0912303477525711, -0.04380428045988083, -0.005542423110455275, -0.02459515817463398, -0.02238892950117588, -0.03969215229153633, 0.03882933408021927, 0.04602924361824989, -0.04640636220574379, -0.0021637282334268093, 0.006281920243054628, -0.0566030852496624, 0.03237312287092209, 0.02039523422718048, -0.055479634553194046, 0.008909379132091999, -0.04345320910215378, 0.004409578163176775, -0.04648208245635033, 0.05608801171183586, -0.020435187965631485, 0.002664913423359394, -0.04294249042868614, -0.013733985833823681, -0.01659507490694523, 0.04384217783808708, 0.05276479944586754, -0.031174231320619583, 0.036423735320568085, 0.05171729251742363, -0.03882107883691788, 0.031137077137827873, -0.011084232479333878, -0.03050908073782921, 0.032815732061862946, -0.04395527392625809, 0.010671178810298443, 0.029272018000483513, 0.04857083037495613, -0.03531629964709282, -0.04539823904633522, -0.025144368410110474, -0.041116904467344284, -0.023831063881516457, 0.029220327734947205, 0.02290467917919159, 0.00296889734454453, 0.017683254554867744, 0.015770727768540382, 0.02262786775827408, 0.038848619908094406, 0.0019775733817368746, 0.05313786491751671, 0.009114980697631836, -0.012664543464779854, 0.008755765855312347, -0.0253217164427042, -0.04790179058909416, 0.020021382719278336, 0.022715795785188675, -0.022708207368850708, -0.028042875230312347, 0.020514098927378654, -0.011077670380473137, -0.021646320819854736, 0.036457572132349014, -0.039396073669195175, -0.018597569316625595, -0.015540222637355328, 0.07602498680353165, 0.03809560462832451, -0.01851016841828823, 0.010926155373454094, -0.029165349900722504, 0.02967604249715805, -0.0239750687032938, -0.03918254375457764, -0.007965940982103348, 0.028344107791781425, 0.011447953060269356, 0.055114950984716415, 0.00846771989017725, -0.05401347577571869, 0.019959690049290657, 0.020286820828914642, -0.04543200507760048, 0.053477417677640915, 0.036289751529693604, 0.1325703114271164, -0.10170164704322815, -0.03128724917769432, 0.04333224147558212, 0.003161744447425008, -0.03002352826297283, 0.008450964465737343, 0.020458068698644638, -0.05095962435007095, -0.03295201435685158, -0.02152329497039318, 0.04810067266225815, -0.08453204482793808, -0.015146663412451744, 0.03977924957871437, -0.010873054154217243, 0.035819124430418015, -0.04414939880371094, -0.02908354066312313, 0.009008880704641342, 0.004994998220354319, -0.0352851040661335, 0.03263016790151596, 0.007664891425520182, -0.00006311499600997195, -0.04628712311387062, -0.036200739443302155, 0.007163988891988993, 0.07108883559703827, 0.025847097858786583, -0.015481317415833473, -0.015920966863632202, 0.033696405589580536, 0.02799045294523239, 0.054850853979587555, -0.025016603991389275, 0.04310978949069977, 0.0697098821401596, 0.0389535166323185, -0.03544402867555618, 0.05260913074016571, -0.002595781348645687, -0.03296218067407608, -0.018981991335749626, -0.0011750351404771209, 0.00047739953151904047, -0.035884302109479904, 0.02018456906080246, 0.0224517323076725, 0.0033469521440565586, -0.05536167696118355, -0.017013803124427795, 0.04027024656534195, -0.009551218710839748, -0.011332093738019466, -0.010439826175570488, -0.013235793448984623, -0.029897313565015793, 0.04396401718258858, -0.0376073382794857, -0.0030637457966804504, 0.0031499159522354603, -0.010444040410220623, 0.0471331924200058, -0.0016295557143166661, 0.04968724772334099, 0.03719716519117355, -0.009739361703395844, 0.06714583933353424, -0.020716587081551552, 0.0003687784483190626, -0.04922011122107506, -0.05243108421564102, 0.016616487875580788, 0.04584764316678047, 0.037523284554481506, 0.03011930175125599, -0.012565672397613525, -0.024586308747529984, 0.02190840058028698, 0.06798439472913742, 0.05268755182623863, 0.021179324015975, 0.0037948181852698326, 0.0037032123655080795, 0.03557338938117027, 0.06520897895097733, -0.02914794534444809, -0.026901358738541603, 0.03771216422319412, 0.041620030999183655, 0.0046194689348340034, 0.017771698534488678, -0.008321646600961685, 0.021496087312698364, -0.05941548943519592, -0.06757617741823196, 0.039669521152973175, 0.03570166230201721, -0.0033057760447263718, 0.019528502598404884, 0.011631411500275135, -0.02012757398188114, 0.032800182700157166, -0.008165987208485603, 0.00588929932564497, -0.04882475361227989, -0.00046241251402534544, 0.005314220208674669, 0.07067663222551346, -0.031215889379382133, 0.009196651168167591, 0.0027631998527795076, 0.008732366375625134, 0.027606548741459846, -0.050631336867809296, 0.024970918893814087, 0.032297272235155106, 0.015449129045009613, 0.006032431963831186, -0.0004505263932514936, 0.017388204112648964, 0.034798040986061096, 0.03841995447874069, -0.013434014283120632, 0.07755748927593231, -0.0028462419286370277, 0.03742842376232147, 0.06989247351884842, 0.018305692821741104, 0.0105685293674469, 0.06914833188056946, 0.0741872638463974, 0.016292652115225792, -0.00955983716994524, 0.004265121649950743, -0.050796400755643845, 0.017827289178967476, -0.03361789882183075, 0.001089306897483766, -0.008990533649921417, -0.0036842613480985165, 0.045663438737392426, 0.01610105112195015, -0.02850872091948986, -0.010950309224426746, 0.006889102049171925, -0.006641745567321777, 0.06953968107700348, -0.03338558226823807, 0.014000223018229008, 0.0016178684309124947, 0.0037463128101080656, 0.0016629009041935205, -0.0681576281785965, -0.05125917121767998, -0.014808671548962593, -0.029689276590943336, -0.02363644167780876, -0.07071518898010254, -0.04271313548088074, -0.0862150713801384, -0.03184479847550392, 0.03944361209869385, 0.03623131662607193, 0.008803232572972775, -0.04543967917561531, 0.041946981102228165, -0.06337597966194153, -0.0569312609732151, -0.04321235045790672, -0.04297589138150215, -0.01521233282983303, -0.0792343020439148, 0.04148018732666969, 0.0033006202429533005, 0.017177917063236237, 0.007453486323356628, -0.009560169652104378, -0.03708963468670845, -0.023098815232515335, 0.05980326235294342, 0.028938034549355507, -0.0203554704785347, -0.041640300303697586, 0.05358818545937538, -0.005103898234665394, -0.004431567620486021, -0.016301676630973816, -0.027605317533016205, 0.08245112001895905, 0.04637524485588074, 0.0037660582456737757, -0.0012745984131470323, 0.00008690716640558094, -0.07692945003509521, -0.06599272787570953, -0.01655738800764084, -0.03466807305812836, -0.02131660468876362, -0.038171086460351944, -0.02179807238280773, -0.028070859611034393, -0.03466569632291794, -0.040408022701740265, -0.01997676119208336, 0.00710850115865469, 0.02779059298336506, 0.041622959077358246, 0.039527881890535355, 0.030961347743868828, -0.0172444898635149, -0.0048864977434277534, 0.06440100073814392, -0.03414738178253174, -0.0032039741054177284, -0.058797311037778854, -0.02716219052672386, 0.042661603540182114, 0.014789029955863953, 0.021184822544455528, -0.007934994995594025, 0.06720978021621704, 0.016395779326558113, -0.013814291916787624, 0.0021863984875380993, -0.026973187923431396, -0.0067365444265306, 0.014012021943926811, -0.002773128915578127, -0.003441345412284136, -0.03960110992193222, -0.021908491849899292, -0.041112903505563736, 0.041419848799705505, -0.04492394998669624, -0.06295596808195114, -0.022710807621479034, 0.01913735456764698, 0.009418023750185966, 0.025427689775824547, -0.028135277330875397, 0.008242839016020298, -0.07343291491270065, 0.002066129120066762, -0.005565365310758352, 0.001775924232788384, -0.005650119390338659, 0.036245983093976974, 0.01436844002455473, -0.011037509888410568, 0.0028651817701756954, 0.030342089012265205, 0.06148484721779823, 0.04256753250956535, -0.040652401745319366, 0.026051152497529984, -0.016846513375639915, 0.043596528470516205, 0.012401755899190903, -0.02589558996260166, -0.049433253705501556, -0.07671868801116943, -0.0343000590801239, 0.02017267420887947, -0.02925500087440014, 0.004387757740914822, 0.058809880167245865, 0.003271125489845872, -0.007155054248869419, 0.0077761076390743256, 0.03352200984954834, 0.0324779748916626, -0.028350550681352615, 0.031076230108737946, -0.012027649208903313, 0.02697855792939663, -0.062021270394325256, 0.006957115139812231, -0.021976856514811516, -0.029877662658691406, -0.00837010983377695, 0.043994951993227005, 0.007085684221237898, 0.05265984684228897, 0.04371178150177002, 0.028702545911073685, -0.03475968539714813, 0.05168462172150612, 0.04977501183748245, -0.018094221130013466, -0.06079837679862976, 0.012128837406635284, 0.0010730340145528316, -0.010288872756063938, 0.0022292849607765675, -0.012332167476415634, 0.014776160940527916, 0.03236278146505356, -0.020325113087892532, 0.007620621472597122, 0.006330975331366062, -0.030517304316163063, -0.026769515126943588, -0.07281117141246796, -0.03871976211667061, 0.022441551089286804, -0.04660098999738693, -0.006122995167970657, 0.057662177830934525, 0.02761506848037243, 0.050344068557024, 0.04313052445650101, -0.026597309857606888, -0.08060525357723236, 0.025568656623363495, 0.031107332557439804, -0.047266636043787, -0.08005529642105103, -0.0573604516685009, 0.04726358503103256, 0.03898832947015762, 0.02337159588932991, -0.05928558483719826, 0.01988712139427662, 0.06457919627428055, -0.018735378980636597, 0.06814436614513397, 0.037780724465847015, 0.056651536375284195, 0.044715385884046555, 0.0012544522760435939, 0.018096202984452248, -0.037151191383600235, 0.014322900213301182, 0.012330004014074802, 0.014801418408751488, -0.008945700712502003, -0.008868787437677383, -0.0595613494515419, 0.04344656318426132, 0.05790051445364952, 0.042281508445739746, 0.03941536694765091, -0.007216674741357565, -0.06202587112784386, -0.019093075767159462, 0.05303042009472847, -0.04795698821544647, 0.03041423112154007, 0.058703478425741196, 0.046610236167907715, -0.059248168021440506, -0.054897766560316086, -0.019439488649368286, -0.006598212756216526, 0.0387318953871727, -0.009807789698243141, -0.035508785396814346, -0.0275989081710577, -0.007837226614356041, 0.002797151682898402, -0.026475051417946815, -0.08423992246389389, 0.05350319296121597, -0.01697629503905773, -0.03191285952925682, 0.05104491859674454, 0.0347355492413044, 0.0399869866669178, 0.036551300436258316, -0.0009612877038307488, -0.012546625919640064, -0.027074458077549934, 0.05148607864975929, -0.028857611119747162, -0.017847543582320213, -0.010813087224960327, -0.06427053362131119, -0.016026420518755913, -0.03612561151385307, -0.047163013368844986, -0.035813964903354645, -0.018649235367774963, 0.03028786927461624, 0.012072398327291012, 0.03726920858025551, 0.005244790576398373, 0.0077580176293849945, 0.012009680271148682, -0.023762978613376617, -0.033266808837652206, -0.041570212692022324, -0.06687416881322861, -0.050435565412044525, 0.030000336468219757, -0.03259427100419998, 0.028485829010605812, 0.007168578915297985, 0.027012089267373085, 0.03521186485886574, 0.01565687730908394, -0.022421834990382195, 0.020326387137174606, 0.011174057610332966, -0.01153538841754198, -0.03631557896733284, 0.024419132620096207, 0.01256093755364418, 0.047193512320518494, -0.0252077579498291, 0.026416262611746788, -0.018598463386297226, -0.012691599316895008, -0.0003001739096362144, 0.0034019406884908676, 0.007213674485683441, -0.05933383107185364, -0.040887072682380676, -0.015580610372126102, -0.03708459809422493, 0.03955056518316269, -0.015105756931006908, -0.04949866607785225, 0.018085192888975143, 0.03607612103223801, 0.03469805791974068, 0.0049352278001606464, -0.010190272703766823, 0.010111772455275059, -0.030643116682767868, 0.042756982147693634, -0.08010640740394592, 0.05146200209856033, -0.035070087760686874, 0.00184417434502393, -0.015907637774944305, -0.0028445920906960964, -0.050676584243774414, 0.04476594924926758, 0.01541281770914793, -0.020726151764392853, -0.008450106717646122, 0.06642385572195053, -0.027480419725179672, 0.029361780732870102, -0.02124812826514244, 0.014101195149123669, -0.025892939418554306, 0.0208632480353117, -0.05106809362769127, 0.007460318971425295, 0.004094602074474096, -0.0019916605670005083, -0.020786525681614876, -0.05592326819896698, -0.0007981476373970509, -0.0323086641728878, 0.030033472925424576, 0.029683416709303856, 0.007108868565410376, 0.02457752265036106, -0.006810463033616543, 0.023685792461037636, 0.025202402845025063, -0.0724034458398819, -0.007324914913624525, -0.014809578657150269, -0.016658736392855644, -0.01806127093732357, 0.044688183814287186, 0.004626174457371235, -0.0486256442964077, -0.033809151500463486, 0.037027981132268906, 0.02537788636982441, 0.021580157801508904, -0.0029331149999052286, 0.011866800487041473, 0.04067368060350418, 0.019199924543499947, -0.03696325048804283, -0.006519172806292772, -0.030344849452376366, -0.018325231969356537, 0.017777519300580025, -0.01232287660241127, 0.040992576628923416, -0.04716479405760765, -0.014331428334116936, -0.008146211504936218, 0.10322333872318268, 0.028090445324778557, 0.03524922579526901, -0.01733306795358658, -0.028297556564211845, 0.040286336094141006, 0.03241855278611183, -0.039386771619319916, -0.01226884312927723, 0.02164899744093418, -0.03647010400891304, 0.04888482764363289, -0.033474814146757126, 0.0012022239388898015, 0.05804743245244026, 0.026425253599882126, -0.026813127100467682, 0.05845053121447563, -0.02959958091378212, 0.006667310371994972, 0.02578986994922161, -0.06098693236708641, -0.009263054467737675, -0.02353990450501442, 0.07427631318569183, -0.07425298541784286, 0.058788884431123734, 0.05311582237482071, -0.020325763151049614, -0.010565431788563728, -0.021296139806509018, -0.0567297637462616, 0.030119385570287704, -0.04440813511610031, 0.094530388712883, -0.01967940479516983, -0.0631076991558075, 0.03041812591254711, 0.011213401332497597, -0.07283782213926315, 0.0275068711489439, 0.017002886161208153, 0.010870561003684998, 0.05207661911845207, 0.044832635670900345, -0.05711818113923073, 0.00002913439311669208, -0.03828558698296547, 0.056180357933044434, -0.03442414477467537, 0.002054960932582617, -0.00043663629912771285, -0.04180353879928589, -0.045771945267915726, 0.028149791061878204, 0.009836949408054352, 0.000028942911740159616, -0.0014529377222061157, -0.04638286679983139, -0.09075963497161865, 0.015979692339897156, 0.05410498380661011, -0.04853396117687225, -0.005120312795042992, -0.017203040421009064, 0.024721195921301842, 0.024536041542887688, 0.012918278574943542, -0.03737523779273033, -0.0027615849394351244, 0.0003850200155284256, -0.08420801162719727, -0.012375506572425365, 0.06187727302312851, -0.0028362986631691456, -0.017944077029824257, -0.019236596301198006, 0.004557306878268719, 0.00815392006188631, 0.0295905489474535, -0.01586747355759144, 0.025002429261803627, -0.05124031379818916, 0.002109851688146591, 0.02174641564488411, 0.024012859910726547, 0.005595524329692125, 0.013905609957873821, 0.05179345980286598, 0.025089813396334648, 0.023677177727222443, 0.006956503726541996, -0.01739705167710781, -0.0510450080037117, 0.030082596465945244, -0.04253508523106575, 0.019624734297394753, 0.02177445776760578, -0.0353793203830719, -0.048288024961948395, 0.0207445677369833, -0.035643529146909714, 0.019942855462431908, -0.043004825711250305, 0.025924403220415115, 0.0678197517991066, -0.0110100032761693, -0.047928281128406525, -0.0834326446056366, -0.04387068375945091, -0.07684127241373062, 0.0189361609518528, 0.050438039004802704, -0.06428568810224533, -0.0009258640347979963, -0.052848488092422485, -0.05705055966973305, 0.06412918120622635, 0.009696061722934246, -0.02528294362127781, 0.03827474266290665, 0.031143775209784508, -0.051413167268037796, 0.02481595054268837, 0.04153713956475258, -0.052844323217868805, 0.009634586051106453, 0.03394179418683052, 0.014962686225771904, 0.043299466371536255, 0.019781816750764847, -0.022800760343670845, -0.024135509505867958, -0.06176534667611122, -0.04046148434281349, -0.04053294658660889, 0.003984005190432072, 0.05108090862631798 ]
Benicio/t5-small-finetuned-en-to-ru
[ "pytorch", "tensorboard", "t5", "text2text-generation", "transformers", "autotrain_compatible" ]
text2text-generation
{ "architectures": [ "T5ForConditionalGeneration" ], "model_type": "t5", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": true, "length_penalty": 2, "max_length": 200, "min_length": 30, "no_repeat_ngram_size": 3, "num_beams": 4, "prefix": "summarize: " }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": true, "max_length": 300, "num_beams": 4, "prefix": "translate English to German: " }, "translation_en_to_fr": { "early_stopping": true, "max_length": 300, "num_beams": 4, "prefix": "translate English to French: " }, "translation_en_to_ro": { "early_stopping": true, "max_length": 300, "num_beams": 4, "prefix": "translate English to Romanian: " } } }
50
null
--- language: python tags: vae license: apache-2.0 datasets: Fraser/python-lines --- # T5-VAE-Python (flax) A Transformer-VAE made using flax. Try the [demo](https://huggingface.co/spaces/flax-community/t5-vae)! It has been trained to interpolate on lines of Python code from the [python-lines dataset](https://huggingface.co/datasets/Fraser/python-lines). Done as part of Huggingface community training ([see forum post](https://discuss.huggingface.co/t/train-a-vae-to-interpolate-on-english-sentences/7548)). Builds on T5, using an autoencoder to convert it into an MMD-VAE ([more info](http://fras.uk/ml/large%20prior-free%20models/transformer-vae/2020/08/13/Transformers-as-Variational-Autoencoders.html)). ## How to use from the 🤗/transformers library Add model repo as a submodule: ```bash git submodule add https://github.com/Fraser-Greenlee/t5-vae-flax.git t5_vae_flax ``` ```python from transformers import AutoTokenizer from t5_vae_flax.src.t5_vae import FlaxT5VaeForAutoencoding tokenizer = AutoTokenizer.from_pretrained("t5-base") model = FlaxT5VaeForAutoencoding.from_pretrained("flax-community/t5-vae-python") ``` ## Setup Run `setup_tpu_vm_venv.sh` to setup a virtual enviroment on a TPU VM for training.
[ -0.019752832129597664, -0.043050166219472885, 0.03473459184169769, 0.022773435339331627, 0.05495379865169525, 0.016328152269124985, -0.02474217116832733, -0.0012389813782647252, -0.016345569863915443, 0.04912528395652771, 0.013807117007672787, -0.004543079994618893, 0.01224319078028202, 0.025585610419511795, -0.02388005144894123, -0.018462400883436203, -0.032203465700149536, 0.01821114681661129, -0.04239778220653534, -0.007049486506730318, 0.01605675369501114, 0.0017484846757724881, -0.018527131527662277, 0.029255324974656105, -0.021840712055563927, 0.004369616974145174, -0.017248831689357758, 0.013835207559168339, 0.023046959191560745, -0.0633712187409401, -0.024535713717341423, -0.05431099981069565, -0.01461092196404934, -0.006348299793899059, -0.03251280263066292, 0.023617910221219063, -0.0035559104289859533, 0.012199440971016884, 0.025082655251026154, 0.052590806037187576, 0.0010856481967493892, 0.007311215624213219, -0.024283744394779205, -0.01993776671588421, 0.03557378053665161, 0.019133366644382477, -0.05065787956118584, 0.014593365602195263, 0.023162608966231346, -0.012793786823749542, -0.02565682679414749, -0.09791719913482666, -0.026789048686623573, 0.032868921756744385, -0.0063988277688622475, -0.012305570766329765, -0.08008915930986404, -0.023807071149349213, 0.06596864759922028, -0.052903369069099426, 0.00559266610071063, 0.029932579025626183, -0.039138585329055786, 0.021799437701702118, 0.0483555868268013, -0.011694262735545635, 0.011501683853566647, -0.017935214564204216, -0.005441579967737198, -0.015648312866687775, 0.05446339771151543, 0.004061967600136995, 0.02403641864657402, -0.08592160791158676, 0.002430148422718048, -0.005052659194916487, 0.04350608214735985, 0.04176831990480423, -0.038602299988269806, 0.07636334747076035, 0.013688325881958008, -0.006251608952879906, 0.01533289160579443, -0.024987515062093735, -0.00976582895964384, 0.02867637760937214, -0.049702953547239304, 0.028765158727765083, 0.0062582180835306644, 0.060618262737989426, -0.03504771366715431, -0.05860079824924469, -0.02718714252114296, -0.042686235159635544, -0.025980236008763313, 0.054869960993528366, 0.0398874431848526, -0.020213719457387924, 0.0379977710545063, 0.028900107368826866, 0.030981475487351418, 0.03313736245036125, 0.009202728047966957, 0.05945037677884102, -0.028110651299357414, -0.016050033271312714, -0.010912028141319752, -0.03254324942827225, -0.024035552516579628, 0.04313181713223457, 0.03455371409654617, -0.025517823174595833, -0.03217615187168121, 0.05237267538905144, 0.028510915115475655, 0.0001290240470552817, 0.056976206600666046, -0.033263493329286575, -0.043599676340818405, -0.04521040618419647, 0.05553547665476799, 0.019076038151979446, -0.022038040682673454, 0.0028041754849255085, -0.047328174114227295, 0.018779026344418526, -0.019872235134243965, -0.030955864116549492, 0.006839399226009846, 0.020309176295995712, -0.024729624390602112, 0.024790840223431587, 0.00741147855296731, -0.05211760848760605, 0.009286734275519848, 0.027422675862908363, -0.07016628235578537, 0.032423969358205795, 0.04132778197526932, 0.09875182062387466, -0.05280642211437225, -0.015606564469635487, 0.007556534372270107, 0.006093894597142935, -0.04159273952245712, 0.01220039650797844, 0.019216226413846016, -0.027393335476517677, -0.035245221108198166, -0.024813106283545494, 0.05431806296110153, -0.05058379843831062, 0.014506957493722439, 0.039104610681533813, -0.014386767521500587, 0.02305489592254162, -0.03448224812746048, 0.014203407801687717, 0.014236852526664734, -0.015739047899842262, -0.029250241816043854, 0.045993175357580185, -0.004276142455637455, 0.010121962986886501, -0.0312088280916214, -0.0377192385494709, 0.004137649200856686, 0.08378354460000992, 0.0011914673959836364, -0.025024618953466415, -0.03554315119981766, 0.0009318147785961628, 0.02435235120356083, 0.05186404287815094, -0.016837870702147484, 0.029792936518788338, 0.06524979323148727, 0.032728660851716995, -0.014923471957445145, 0.05374201014637947, 0.013848786242306232, -0.011304585263133049, -0.012848783284425735, 0.0028315868694335222, -0.01377622876316309, -0.04292171448469162, 0.01388608943670988, 0.05373296141624451, -0.026357075199484825, -0.022979741916060448, 0.008969430811703205, 0.029774148017168045, 0.01920929364860058, 0.008529704995453358, -0.005167709197849035, -0.010626382194459438, -0.006016875617206097, 0.0382433757185936, -0.01588267646729946, -0.0069759381003677845, -0.03216969594359398, -0.02736630290746689, 0.004792649764567614, 0.013757331296801567, 0.024996571242809296, 0.052332282066345215, -0.017437541857361794, 0.0714130774140358, -0.0296639334410429, 0.0015567021910101175, -0.05590749531984329, -0.05063528195023537, 0.02142348885536194, 0.037227191030979156, -0.0005495238583534956, 0.03791576251387596, 0.011830863542854786, -0.036345236003398895, 0.01971878483891487, 0.0582832470536232, 0.04360964894294739, 0.013501628302037716, -0.03623758628964424, -0.0030563606414943933, 0.03399353846907616, 0.08184120059013367, -0.0646972581744194, -0.020718712359666824, 0.03666369989514351, 0.04240885004401207, -0.021016540005803108, 0.01623600721359253, -0.009856495074927807, 0.021468207240104675, -0.03337258845567703, -0.06655645370483398, 0.01515458058565855, 0.05589058995246887, 0.012376293540000916, 0.004720986355096102, -0.0065424456261098385, -0.0023664904292672873, 0.015796596184372902, -0.004455455578863621, 0.008445881307125092, -0.03272930905222893, -0.01427296083420515, 0.01973903179168701, 0.05665375664830208, -0.03129737824201584, 0.03871718421578407, 0.000739270297344774, 0.022726919502019882, 0.02949165739119053, -0.014382392168045044, 0.02844715490937233, 0.05936561897397041, 0.03644593060016632, -0.024970179423689842, 0.049369826912879944, 0.008116709999740124, 0.07576509565114975, 0.0366627462208271, 0.017581705003976822, 0.05344809591770172, 0.018759947270154953, 0.03986828774213791, 0.08898802846670151, 0.024858571588993073, 0.014349420554935932, 0.045242372900247574, 0.08875492215156555, 0.009651322849094868, 0.00790100172162056, 0.06471389532089233, -0.030930079519748688, 0.02307807095348835, -0.02099265530705452, 0.024187402799725533, -0.01445142924785614, 0.005946965888142586, 0.04084349796175957, 0.01634536311030388, -0.0032144803553819656, -0.008890957571566105, -0.011804357171058655, -0.012634998187422752, 0.05405787378549576, -0.007459778338670731, -0.00805484689772129, 0.010213167406618595, -0.017670096829533577, 0.008739300072193146, -0.0712549239397049, -0.05810005962848663, 0.010976865887641907, -0.03092135861515999, 0.018758898600935936, -0.07663846760988235, -0.05970897898077965, -0.07328296452760696, -0.02364875189960003, 0.030466895550489426, 0.02535911649465561, 0.013206984847784042, -0.05659818276762962, 0.017042547464370728, -0.04937797412276268, -0.04831552505493164, -0.06257670372724533, -0.03829329088330269, -0.015446211211383343, -0.06813830137252808, 0.048024341464042664, -0.003875418333336711, 0.025469129905104637, -0.004780659917742014, -0.013347881846129894, -0.01214437372982502, -0.028956972062587738, 0.07265603542327881, 0.021770332008600235, -0.03398433327674866, -0.058621179312467575, 0.015742307528853416, -0.012272121384739876, 0.009897761046886444, -0.009908859618008137, -0.03629576787352562, 0.08418332040309906, 0.06077493354678154, 0.0365544818341732, 0.0002819154178723693, -0.02822641097009182, -0.05267377942800522, -0.0824384018778801, -0.0147181311622262, -0.052316099405288696, -0.02873290702700615, 0.0012038610875606537, -0.047658756375312805, -0.0218160692602396, -0.023030804470181465, -0.033412765711545944, -0.012882770039141178, -0.016000306233763695, 0.026861093938350677, 0.08652010560035706, 0.033292289823293686, 0.04882354661822319, -0.031080001965165138, -0.025840269401669502, 0.03883247822523117, 0.02315441146492958, 0.0069340905174613, -0.08262193202972412, -0.045652665197849274, 0.03541051596403122, 0.025217274203896523, -0.014390505850315094, -0.0014831904554739594, 0.07527954876422882, 0.013886985369026661, -0.01978989690542221, 0.01314691174775362, -0.033314578235149384, -0.001594363828189671, -0.014400031417608261, 0.01857231929898262, 0.0009806632297113538, -0.06929144263267517, -0.016565965488553047, -0.026691928505897522, 0.0442432202398777, -0.07062457501888275, -0.07365626841783524, -0.03783750534057617, 0.025747012346982956, 0.040549200028181076, 0.005839518271386623, -0.03177357092499733, 0.0015176356537267566, -0.057338666170835495, -0.023677736520767212, 0.020835742354393005, -0.010537146590650082, 0.03066016174852848, 0.03480982035398483, 0.0298096165060997, -0.010820415802299976, 0.03154439106583595, 0.03430784493684769, 0.07193191349506378, 0.028514403849840164, -0.03805439546704292, 0.02337600477039814, -0.02620857208967209, 0.022707421332597733, 0.017613260075449944, -0.023528773337602615, -0.060342591255903244, -0.08119533956050873, -0.011655890382826328, 0.01973189413547516, -0.01969093456864357, -0.015336469747126102, 0.0541168674826622, -0.013067622669041157, -0.019141769036650658, -0.01209549605846405, 0.022615468129515648, 0.061026278883218765, -0.03455165773630142, 0.03909604251384735, 0.015395315364003181, 0.05905387923121452, -0.05340495705604553, 0.012310446240007877, -0.0036976863630115986, -0.00548248365521431, -0.017683807760477066, 0.04643862694501877, 0.05246914178133011, 0.07738064974546432, 0.040602486580610275, 0.027482476085424423, -0.04084473475813866, 0.07755183428525925, 0.03386228531599045, 0.013674292713403702, -0.06592826545238495, 0.006553182378411293, -0.02611989714205265, -0.029000289738178253, -0.021255647763609886, -0.022873956710100174, 0.01148182526230812, 0.03150743246078491, -0.014623242430388927, 0.004130855668336153, -0.002430030843243003, -0.028436463326215744, -0.01413937658071518, -0.0561261922121048, -0.03314007446169853, -0.0013952264562249184, -0.03446594625711441, 0.020889518782496452, 0.04262008145451546, 0.014835839159786701, 0.06911102682352066, 0.027791660279035568, -0.01748586632311344, -0.057653989642858505, 0.01901302859187126, 0.03455037996172905, -0.01870005577802658, -0.06615126132965088, -0.044756703078746796, 0.039338696748018265, 0.05969921126961708, -0.011027343571186066, -0.07091314345598221, 0.021624119952321053, 0.035296060144901276, -0.033351920545101166, 0.05071014538407326, -0.011642462573945522, 0.024763712659478188, 0.08524701744318008, 0.0023360594641417265, 0.006971759721636772, -0.05168040841817856, -0.0069871218875050545, 0.01036401093006134, 0.030259253457188606, -0.028297483921051025, -0.0341913215816021, -0.05689459294080734, 0.01852588914334774, 0.05388592928647995, 0.05123258754611015, 0.06049191951751709, -0.019829828292131424, -0.07457703351974487, -0.007354707922786474, 0.03315619006752968, -0.035028714686632156, 0.04544723406434059, 0.014507276937365532, 0.03993656113743782, -0.05414285138249397, -0.012864614836871624, -0.020665375515818596, 0.004527060780674219, 0.0430954247713089, -0.0003317871887702495, -0.042772889137268066, -0.03785828500986099, 0.019324030727148056, -0.038501232862472534, -0.039238836616277695, -0.08234015852212906, 0.026776548475027084, -0.024041013792157173, -0.013333404436707497, 0.03262372314929962, 0.018773624673485756, 0.0378289557993412, 0.026728473603725433, -0.029437178745865822, 0.020259592682123184, -0.022948479279875755, 0.030482400208711624, -0.03320984169840813, -0.04103025794029236, -0.028723174706101418, -0.052564483135938644, -0.0024346373975276947, -0.03252530097961426, -0.07335194200277328, -0.017893316224217415, -0.03528524935245514, 0.027537716552615166, -0.004610942676663399, 0.008627429604530334, 0.0049703833647072315, 0.016681378707289696, -0.03450272977352142, -0.015056620351970196, -0.060804642736911774, -0.025676295161247253, -0.07881712913513184, -0.03964889049530029, 0.03822995722293854, 0.005602742079645395, 0.021124955266714096, 0.021114185452461243, -0.001439583022147417, 0.03294069319963455, 0.013320738449692726, -0.0030677434988319874, 0.02203422226011753, 0.01018055435270071, -0.05631408095359802, -0.021047748625278473, 0.033776137977838516, -0.006561970338225365, 0.007467800751328468, -0.017946720123291016, 0.037171315401792526, 0.02315465733408928, -0.004384075291454792, 0.0036611140239983797, 0.011370488442480564, 0.01753038913011551, -0.0661860853433609, -0.03313201665878296, 0.0036192210391163826, -0.02895975485444069, 0.01101313903927803, 0.00824312586337328, -0.0183161161839962, 0.0012994293356314301, 0.039091095328330994, 0.028289854526519775, -0.020238112658262253, -0.006727344822138548, 0.024761559441685677, -0.017728213220834732, 0.03154919296503067, -0.079090416431427, 0.00298754102550447, -0.005680625326931477, 0.017144687473773956, 0.0017621099250391126, 0.004276264924556017, -0.04297476261854172, 0.04701856151223183, 0.008317389525473118, 0.004785360302776098, -0.015286636538803577, 0.04355737194418907, -0.03632825240492821, 0.04602823778986931, 0.012907128781080246, 0.01586993969976902, -0.03889261186122894, 0.03864285349845886, -0.06149086728692055, 0.0003248302382417023, -0.016080232337117195, -0.011469453573226929, -0.0030826376751065254, -0.035698503255844116, -0.02593349665403366, -0.015869097784161568, 0.0506245456635952, 0.0110516007989645, 0.02097579836845398, 0.02194785326719284, -0.012851342558860779, 0.011763124726712704, 0.01599489338696003, -0.06519414484500885, -0.046604134142398834, 0.008759397082030773, 0.03578610718250275, -0.023036131635308266, 0.05256836116313934, 0.05311774089932442, -0.05566244199872017, -0.0429285392165184, 0.051481351256370544, 0.0120152672752738, 0.01701582781970501, 0.015395746566355228, 0.023892493918538094, 0.04615486413240433, 0.05579912289977074, -0.017870791256427765, -0.010388965718448162, -0.0029205495957285166, -0.005363975651562214, 0.0424470379948616, -0.010356840677559376, 0.037137825042009354, -0.0068979118950665, -0.05132436752319336, -0.03176141157746315, 0.06175217404961586, 0.032605987042188644, 0.049604833126068115, -0.009502707980573177, -0.029007727280259132, 0.0031235022470355034, 0.0022452680859714746, -0.06101208180189133, -0.00263252598233521, 0.024255741387605667, -0.02945663593709469, 0.07311297953128815, -0.019944896921515465, 0.023526517674326897, 0.028042636811733246, 0.02519974671304226, -0.028581935912370682, 0.0490732342004776, -0.0402710884809494, 0.015561267733573914, 0.05071667209267616, -0.05119134858250618, -0.011080014519393444, -0.030423903837800026, 0.08007462322711945, -0.056937988847494125, 0.047224145382642746, 0.02489452064037323, 0.02493564411997795, 0.003849681233987212, -0.04979615658521652, -0.01930725760757923, 0.03539785370230675, -0.05350290238857269, 0.09188256412744522, -0.0038720564916729927, -0.06228034198284149, 0.060612112283706665, 0.03454116731882095, -0.09114649146795273, 0.044314730912446976, 0.034332387149333954, -0.005709922406822443, 0.026533588767051697, 0.044464997947216034, -0.07342264801263809, -0.01603214628994465, -0.01498650386929512, 0.028564907610416412, -0.0781504213809967, 0.005921365227550268, 0.03314513340592384, -0.035090576857328415, -0.007893948815762997, 0.035446081310510635, -0.009659657254815102, -0.014576677232980728, 0.011157325468957424, -0.06868622452020645, -0.05062653496861458, -0.006081603467464447, -0.016208237037062645, -0.029544297605752945, 0.03154618665575981, -0.015502138063311577, 0.022015336900949478, -0.011462553404271603, -0.0015034197131171823, -0.050447799265384674, 0.011678422801196575, 0.01686933822929859, -0.055444810539484024, -0.031127726659178734, 0.03230447322130203, -0.017022548243403435, -0.020395269617438316, 0.021934622898697853, -0.03262024372816086, 0.02118895761668682, 0.022444825619459152, -0.0006938963197171688, 0.04059251397848129, -0.0523989163339138, 0.011944202706217766, 0.005259187426418066, 0.016363462433218956, 0.043878547847270966, -0.017325537279248238, 0.046532515436410904, -0.0035911856684833765, -0.0026783645153045654, 0.001177139114588499, -0.02532964199781418, -0.03304259106516838, 0.003315700450912118, -0.011165611445903778, 0.030024392530322075, -0.0011869875015690923, -0.0386616475880146, -0.032941173762083054, -0.01168572437018156, -0.00805636402219534, 0.032850585877895355, -0.03477705642580986, 0.007464832626283169, 0.05124698951840401, -0.026226075366139412, -0.03651907294988632, -0.0729418396949768, -0.009803893975913525, -0.03970969468355179, 0.013324273750185966, 0.03879318758845329, -0.05482996627688408, 0.016494087874889374, -0.04430845379829407, -0.07529977709054947, 0.07036736607551575, 0.01756870746612549, -0.007061248179525137, 0.04531504958868027, 0.033914461731910706, -0.06086084246635437, 0.045265112072229385, 0.04213942587375641, -0.05352779105305672, 0.02396412566304207, 0.01333217229694128, 0.009160703048110008, 0.031056802719831467, 0.050528109073638916, -0.019690334796905518, -0.03732037544250488, -0.06467825919389725, -0.025375202298164368, -0.033584173768758774, -0.02342934161424637, 0.06741847842931747 ]
BertChristiaens/EmojiPredictor
[ "pytorch", "distilbert", "token-classification", "transformers", "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 } } }
6
null
# Transformer-VAE (flax) (WIP) A Transformer-VAE made using flax. Done as part of Huggingface community training ([see forum post](https://discuss.huggingface.co/t/train-a-vae-to-interpolate-on-english-sentences/7548)). Builds on T5, using an autoencoder to convert it into an MMD-VAE. [See training logs.](https://wandb.ai/fraser/flax-vae) ## ToDo - [ ] Basic training script working. (Fraser + Theo) - [ ] Add MMD loss (Theo) - [ ] Save a wikipedia sentences dataset to Huggingface (see original https://github.com/ChunyuanLI/Optimus/blob/master/data/download_datasets.md) (Mina) - [ ] Make a tokenizer using the OPTIMUS tokenized dataset. - [ ] Train on the OPTIMUS wikipedia sentences dataset. - [ ] Make Huggingface widget interpolating sentences! (???) https://github.com/huggingface/transformers/tree/master/examples/research_projects/jax-projects#how-to-build-a-demo Optional ToDos: - [ ] Add Funnel transformer encoder to FLAX (don't need weights). - [ ] Train a Funnel-encoder + T5-decoder transformer VAE. - [ ] Additional datasets: - [ ] Poetry (https://www.gwern.net/GPT-2#data-the-project-gutenberg-poetry-corpus) - [ ] 8-bit music (https://github.com/chrisdonahue/LakhNES) ## Setup Follow all steps to install dependencies from https://cloud.google.com/tpu/docs/jax-quickstart-tpu-vm - [ ] Find dataset storage site. - [ ] Ask JAX team for dataset storage.
[ -0.029394354671239853, -0.03490317612886429, 0.029472822323441505, 0.033684056252241135, 0.025917556136846542, 0.024343186989426613, -0.013023169711232185, -0.02683231420814991, -0.011418204754590988, 0.050481896847486496, -0.0024911740329116583, -0.0021720833610743284, 0.011932061053812504, 0.044866275042295456, -0.022136621177196503, -0.011352688074111938, -0.04627089574933052, 0.025792866945266724, -0.028639640659093857, 0.011453364975750446, 0.014605358242988586, 0.005172783974558115, -0.014615030959248543, 0.023534176871180534, -0.023242948576807976, 0.004945051856338978, -0.00416035670787096, -0.001937439083121717, 0.02837216667830944, -0.041169553995132446, -0.00537886330857873, -0.03892430663108826, -0.02409449778497219, -0.0015465907054021955, -0.026067636907100677, 0.00857935007661581, 0.010410727001726627, -0.00810220092535019, 0.02521595172584057, 0.05709593743085861, 0.0003096094587817788, 0.013551569543778896, 0.001935415668413043, -0.023894302546977997, 0.019877349957823753, 0.0111617436632514, -0.04772862792015076, 0.01133631356060505, 0.024273987859487534, -0.005347509402781725, -0.031586453318595886, -0.09691886603832245, -0.037911612540483475, 0.025306304916739464, 0.013357585296034813, -0.016635937616229057, -0.0629192665219307, -0.036056037992239, 0.06257983297109604, -0.05026458576321602, -0.010588749311864376, 0.030095279216766357, -0.03831435739994049, 0.03641650453209877, 0.043672095984220505, -0.01708691567182541, 0.0022434648126363754, -0.028365593403577805, 0.0029159230180084705, -0.04660007730126381, 0.04128286987543106, -0.03498948737978935, 0.020444775000214577, -0.09373195469379425, -0.010029311291873455, -0.01027761586010456, 0.0513916052877903, 0.06611698865890503, -0.028213080018758774, 0.08336051553487778, 0.013676518574357033, -0.0008794771856628358, 0.02070910669863224, -0.007635702379047871, -0.008644457906484604, 0.026498474180698395, -0.057147249579429626, 0.03329843282699585, 0.01706201583147049, 0.060139767825603485, -0.015220061875879765, -0.04504036158323288, -0.028034379705786705, -0.037557441741228104, -0.027919398620724678, 0.05793147161602974, 0.044357333332300186, -0.004213772248476744, 0.04871559143066406, 0.02242501825094223, 0.02646629884839058, 0.022301500663161278, -0.0021565654315054417, 0.06552329659461975, -0.029466982930898666, -0.025018814951181412, -0.02465781942009926, -0.033265963196754456, -0.04641393572092056, 0.037621598690748215, 0.025085022673010826, -0.021103043109178543, -0.05185496807098389, 0.023889722302556038, 0.02801697701215744, -0.030309710651636124, 0.04896128550171852, -0.006396801210939884, -0.02740889973938465, -0.040834691375494, 0.07915055006742477, 0.02480776607990265, -0.01692320965230465, -0.02482711337506771, -0.055190201848745346, 0.032718922942876816, -0.02565745636820793, -0.005686069373041391, 0.016522832214832306, 0.012119629420340061, -0.01719203032553196, 0.038107335567474365, 0.01904168725013733, -0.057535335421562195, 0.01784401200711727, 0.014299830421805382, -0.05554421618580818, 0.042873941361904144, 0.04393557459115982, 0.11723431199789047, -0.06727950274944305, -0.02253616414964199, 0.012834702618420124, 0.01953226327896118, -0.015726029872894287, 0.019256552681326866, 0.03186692297458649, -0.02709982730448246, -0.025474155321717262, -0.028406184166669846, 0.0349854938685894, -0.06291510164737701, 0.002851728117093444, 0.05039048194885254, -0.02341114729642868, 0.05003286525607109, -0.047528382390737534, 0.008241044357419014, 0.019246701151132584, -0.01540141087025404, -0.026836637407541275, 0.04337717220187187, -0.015870125964283943, 0.008313559927046299, -0.034098267555236816, -0.02134573645889759, -0.007287206128239632, 0.080116868019104, 0.008915937505662441, -0.03583018109202385, -0.027230534702539444, 0.013114651665091515, 0.022095605731010437, 0.03225434198975563, -0.012714387848973274, 0.0157056525349617, 0.06825733929872513, 0.040285367518663406, -0.007255700882524252, 0.04831668362021446, 0.011116260662674904, -0.03297155722975731, -0.014065268449485302, -0.0067700352519750595, 0.0020144027657806873, -0.03875289484858513, 0.017599740996956825, 0.04388686642050743, 0.005428329575806856, -0.021257828921079636, -0.013083094730973244, 0.03702004626393318, 0.015622706152498722, -0.006550691090524197, 0.015043349005281925, -0.02289828285574913, 0.002165805781260133, 0.04984327778220177, -0.013408182188868523, -0.007299607619643211, -0.03273395076394081, -0.04023703932762146, 0.013626028783619404, 0.03890307620167732, 0.03080132231116295, 0.03984446078538895, -0.009013083763420582, 0.09128715097904205, -0.022386673837900162, 0.008288308046758175, -0.054157670587301254, -0.05245828256011009, 0.012270910665392876, 0.05022904649376869, 0.01904490403831005, 0.042912207543849945, 0.015374591574072838, -0.020399393513798714, 0.01094047911465168, 0.0779721736907959, 0.042630814015865326, 0.03314231336116791, -0.04898073896765709, -0.006482158787548542, 0.04671112075448036, 0.07943253964185715, -0.06562966853380203, -0.013213108293712139, 0.033532895147800446, 0.05958116799592972, -0.0035343561321496964, 0.03371017798781395, 0.00790449045598507, 0.01717127487063408, -0.03816753253340721, -0.07666512578725815, 0.0217917338013649, 0.05184387043118477, 0.02117908000946045, 0.015760600566864014, -0.010860145092010498, 0.006889926735311747, 0.030137356370687485, -0.016749810427427292, 0.006879843771457672, -0.02249208278954029, -0.00608572643250227, 0.022804303094744682, 0.06155148521065712, -0.045431073755025864, 0.03302864730358124, 0.01096290536224842, 0.032575346529483795, 0.023564551025629044, -0.008541584946215153, 0.03080325573682785, 0.06907523423433304, 0.010232494212687016, -0.019323892891407013, 0.028622886165976524, 0.028334230184555054, 0.06409609317779541, 0.036808449774980545, 0.014032213017344475, 0.07169709354639053, 0.014846982434391975, 0.05012131482362747, 0.08443564176559448, 0.015565835870802402, 0.026484383270144463, 0.04447384178638458, 0.08404093980789185, -0.0041681197471916676, 0.002978414762765169, 0.06474506855010986, -0.03433244675397873, 0.02184191532433033, -0.012595496140420437, 0.019543282687664032, 0.014271916821599007, -0.009486304596066475, 0.030774256214499474, 0.018998730927705765, -0.027332600206136703, -0.02151879481971264, -0.01348120253533125, -0.017837651073932648, 0.05047718435525894, -0.022948091849684715, 0.0036178170703351498, -0.00104187848046422, -0.021104536950588226, 0.011317548342049122, -0.0901065543293953, -0.06829604506492615, 0.007151734083890915, -0.02208762988448143, -0.000779313559178263, -0.07957726716995239, -0.03239838033914566, -0.07911720871925354, -0.038586702197790146, 0.026899490505456924, 0.016039308160543442, 0.011125917546451092, -0.048045698553323746, 0.029265526682138443, -0.051124680787324905, -0.039065562188625336, -0.07291417568922043, -0.03259195759892464, -0.025986632332205772, -0.06588085740804672, 0.02902749739587307, -0.004034430254250765, 0.009771537967026234, 0.003210130613297224, -0.012034507468342781, -0.018733199685811996, -0.02407567761838436, 0.05703528970479965, 0.03783895820379257, -0.02888297662138939, -0.04134175553917885, 0.019325142726302147, -0.01752229779958725, 0.009038860909640789, -0.018164213746786118, -0.022643785923719406, 0.08257932960987091, 0.048747528344392776, 0.03715932369232178, -0.0024100893642753363, -0.00863401498645544, -0.043259792029857635, -0.07914150506258011, -0.017393650487065315, -0.03197468817234039, -0.021323859691619873, -0.02932019904255867, -0.05704817175865173, -0.03379865735769272, -0.016086405143141747, -0.025023996829986572, -0.012736034579575062, 0.0032851253636181355, 0.027314743027091026, 0.05447052791714668, 0.03605159744620323, 0.030710969120264053, -0.044058751314878464, -0.014673080295324326, 0.04893726482987404, 0.017143841832876205, 0.00008383226668229327, -0.06832994520664215, -0.05537810176610947, 0.04178043454885483, 0.03374367952346802, -0.00819457694888115, -0.002086418913677335, 0.07802363485097885, 0.010827291756868362, -0.02484595589339733, 0.022470297291874886, -0.012881708331406116, -0.0015978411538526416, 0.001918782596476376, 0.005771456751972437, 0.00705211516469717, -0.060692090541124344, -0.01166507601737976, -0.05130310356616974, 0.05378666892647743, -0.06843309104442596, -0.04621817171573639, -0.031439077109098434, 0.02659333497285843, 0.030905066058039665, 0.01640799641609192, -0.008173981681466103, 0.0033254893496632576, -0.055855944752693176, -0.024945879355072975, 0.02435707300901413, -0.011459117755293846, 0.029796408489346504, 0.03194384649395943, 0.027161044999957085, -0.0056657446548342705, 0.03519313409924507, 0.025550583377480507, 0.06817033141851425, 0.027988236397504807, -0.023583950474858284, 0.015316493809223175, -0.01908392645418644, 0.021969061344861984, 0.0011676833964884281, -0.02404632233083248, -0.05372700095176697, -0.08410314470529556, 0.0006814833031967282, 0.019929928705096245, -0.03633257374167442, 0.003203224390745163, 0.04505874216556549, -0.009553003124892712, -0.02574090287089348, 0.0003616244357544929, 0.039211418479681015, 0.05431584641337395, -0.03843660280108452, 0.05490347370505333, 0.00856064260005951, 0.04115737974643707, -0.08632489293813705, 0.00702545465901494, -0.010637779720127583, -0.001400158042088151, -0.006487100385129452, 0.055492110550403595, 0.02550838515162468, 0.06345298141241074, 0.05235160514712334, 0.04390285909175873, -0.040105510503053665, 0.05498086288571358, 0.026968710124492645, 0.009984349831938744, -0.05253462493419647, 0.01271724421530962, -0.04651195555925369, -0.03316622972488403, -0.0463017113506794, -0.021691791713237762, 0.017933040857315063, 0.03931368887424469, -0.014077375642955303, -0.007053551729768515, 0.007293329574167728, -0.024410199373960495, -0.014932122081518173, -0.06999431550502777, -0.033698488026857376, -0.01113628689199686, -0.038512904196977615, 0.015488628298044205, 0.04080570116639137, 0.032041002064943314, 0.052910756319761276, 0.03965620696544647, -0.02189452201128006, -0.052986595779657364, 0.03758028522133827, 0.024614542722702026, -0.027016691863536835, -0.05269927904009819, -0.048574142158031464, 0.03387685865163803, 0.035206664353609085, -0.011727792210876942, -0.07516738772392273, 0.04206104204058647, 0.03510715439915657, -0.05756666883826256, 0.047472044825553894, -0.014045839197933674, 0.042781006544828415, 0.06253211945295334, 0.009582865983247757, 0.01169243548065424, -0.03400542214512825, -0.018199497833848, 0.009150438010692596, 0.03709541633725166, -0.027774007990956306, -0.04153279587626457, -0.060876816511154175, 0.027904238551855087, 0.04954157769680023, 0.044034115970134735, 0.06551343202590942, -0.03910784423351288, -0.06101694703102112, -0.010858562774956226, 0.04263022914528847, -0.026551691815257072, 0.03368543088436127, 0.029997676610946655, 0.05044306814670563, -0.0608697235584259, -0.022576553747057915, -0.02701936662197113, 0.02150818705558777, 0.053241342306137085, -0.0025197260547429323, -0.031255654990673065, -0.027692513540387154, 0.03241124004125595, -0.010904233902692795, -0.025968806818127632, -0.09137535840272903, 0.03489945828914642, -0.0044532171450555325, -0.0039013477507978678, 0.04569444805383682, 0.025407841429114342, 0.03808291628956795, 0.037317268550395966, -0.025251243263483047, 0.024454521015286446, -0.03466389700770378, 0.03398410603404045, -0.045622970908880234, -0.03244290128350258, -0.011971876956522465, -0.03409786894917488, 0.0018420221749693155, -0.03759615495800972, -0.07110784202814102, -0.02418777532875538, -0.014916794374585152, 0.03215131536126137, -0.017472190782427788, 0.01877490058541298, -0.0036273456644266844, 0.006877428386360407, -0.042242590337991714, 0.0015693248715251684, -0.04918704554438591, -0.035787489265203476, -0.0746019184589386, -0.028378432616591454, 0.052377719432115555, -0.002629629336297512, 0.01907806470990181, 0.01476716436445713, 0.011287800036370754, 0.027870578691363335, 0.014559733681380749, -0.0034302426502108574, 0.031739458441734314, 0.020892202854156494, -0.061009716242551804, -0.010362290777266026, 0.01720339059829712, 0.006652892101556063, 0.008307380601763725, -0.019894711673259735, 0.030678827315568924, 0.011159993708133698, -0.011304441839456558, -0.005167634692043066, 0.0037232094909995794, 0.024056537076830864, -0.07026223093271255, -0.04112372547388077, 0.011295895092189312, -0.03001389093697071, 0.01308557391166687, 0.0005845724954269826, -0.03237520903348923, 0.020628396421670914, 0.03299442678689957, 0.03704750910401344, -0.0012576617300510406, -0.009520133025944233, 0.01106130052357912, -0.03326248750090599, 0.0326293483376503, -0.0764666199684143, 0.009481020271778107, -0.013852765783667564, 0.009523884393274784, -0.012208132073283195, 0.005128795746713877, -0.05122918263077736, 0.055449601262807846, -0.002866484923288226, -0.008298574946820736, -0.016536472365260124, 0.045705389231443405, -0.03958304226398468, 0.032871145755052567, 0.007803659420460463, 0.00926138274371624, -0.0490933358669281, 0.05249699205160141, -0.04476217180490494, -0.005241464823484421, -0.008435013704001904, -0.020012732595205307, -0.030738716945052147, -0.029171712696552277, -0.034413307905197144, -0.01268192008137703, 0.040552835911512375, 0.03812267258763313, 0.0422111377120018, 0.01961718313395977, -0.012644811533391476, 0.003126484341919422, 0.023440351709723473, -0.06765937805175781, -0.0220175888389349, 0.013587258756160736, 0.024327099323272705, -0.013381866738200188, 0.04488496482372284, 0.04933038726449013, -0.033256493508815765, -0.0616072453558445, 0.0669376403093338, 0.02025543712079525, 0.020421147346496582, 0.015226330608129501, 0.022490952163934708, 0.04829561337828636, 0.033154960721731186, -0.045956097543239594, -0.01344229280948639, 0.006180855445563793, -0.021286481991410255, 0.03474002331495285, -0.02809738554060459, 0.019496848806738853, -0.008545279502868652, -0.037140119820833206, -0.04159780964255333, 0.05185914784669876, 0.021136775612831116, 0.06867415457963943, 0.0017232091631740332, -0.03514247015118599, 0.010639763437211514, -0.004526684992015362, -0.06259243935346603, -0.003171633230522275, 0.02603761851787567, -0.031125009059906006, 0.07281593978404999, -0.035892508924007416, 0.007045157719403505, 0.028493838384747505, 0.016156550496816635, -0.029022371396422386, 0.04008489102125168, -0.02473248913884163, -0.008257831446826458, 0.05832703784108162, -0.05888194218277931, -0.027259666472673416, -0.030314601957798004, 0.08374340087175369, -0.06008679419755936, 0.061900027096271515, 0.024492882192134857, 0.007949252612888813, 0.015778981149196625, -0.0337931253015995, -0.04014222323894501, 0.02232935279607773, -0.02746696025133133, 0.08557344228029251, 0.009975345805287361, -0.07411633431911469, 0.052177414298057556, 0.030631091445684433, -0.06897648423910141, 0.039919644594192505, 0.030137142166495323, 0.00468074157834053, 0.016526388004422188, 0.06151583045721054, -0.052875813096761703, -0.017001017928123474, -0.033267244696617126, 0.024387355893850327, -0.04903009533882141, -0.012736586853861809, 0.01766388863325119, -0.04576652869582176, -0.019568970426917076, 0.03316042199730873, -0.002531730104237795, -0.0016204225830733776, -0.005919376853853464, -0.08218351006507874, -0.06698198616504669, 0.003982307855039835, 0.0031585644464939833, -0.036687180399894714, 0.02657182142138481, -0.018979506567120552, -0.007068519480526447, 0.017304740846157074, 0.0060889809392392635, -0.02896467037498951, 0.007317973300814629, 0.029298342764377594, -0.07390499860048294, -0.030217284336686134, 0.03093576431274414, 0.001328884856775403, -0.003910992760211229, 0.02302761934697628, -0.02776153013110161, 0.02412518858909607, 0.017965149134397507, -0.008300620131194592, 0.031191229820251465, -0.06970439851284027, -0.01471720915287733, 0.011907464824616909, 0.010069424286484718, 0.042032066732645035, -0.012477055191993713, 0.03339439630508423, 0.0070214057341217995, 0.010567138902842999, 0.026929862797260284, -0.025883883237838745, -0.0395202673971653, 0.022316496819257736, -0.013114867731928825, 0.027789074927568436, -0.00546413566917181, -0.03790440037846565, -0.033397119492292404, -0.01553020253777504, -0.01341452356427908, 0.03574856370687485, -0.034889400005340576, 0.008544199168682098, 0.060425907373428345, -0.03073916584253311, -0.02693041041493416, -0.08385398238897324, -0.00792175903916359, -0.04424513503909111, 0.008720717392861843, 0.04180237278342247, -0.047430552542209625, 0.01213071495294571, -0.050854284316301346, -0.04910026863217354, 0.05616246536374092, 0.017756370827555656, -0.02642114646732807, 0.030189111828804016, 0.03604503720998764, -0.05055675655603409, 0.017404545098543167, 0.03862614184617996, -0.039200421422719955, 0.014148437418043613, 0.011092102155089378, 0.01987178809940815, 0.02612716518342495, 0.0335836336016655, -0.021651921793818474, -0.025252776220440865, -0.06641648709774017, -0.0365741066634655, -0.04368581622838974, -0.004742936231195927, 0.0656002014875412 ]
Betaniaolivo/Foto
[]
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
## VQGAN-f16-16384 ### Model Description This is a Flax/JAX implementation of VQGAN, which learns a codebook of context-rich visual parts by leveraging both the use of convolutional methods and transformers. It was introduced in [Taming Transformers for High-Resolution Image Synthesis](https://compvis.github.io/taming-transformers/) ([CVPR paper](https://openaccess.thecvf.com/content/CVPR2021/html/Esser_Taming_Transformers_for_High-Resolution_Image_Synthesis_CVPR_2021_paper.html)). The model allows the encoding of images as a fixed-length sequence of tokens taken from the codebook. This version of the model uses a reduction factor `f=16` and a vocabulary of `13,384` tokens. As an example of how the reduction factor works, images of size `256x256` are encoded to sequences of `256` tokens: `256/16 * 256/16`. Images of `512x512` would result in sequences of `1024` tokens. ### Datasets Used for Training * ImageNet. We didn't train this model from scratch. Instead, we started from [a checkpoint pre-trained on ImageNet](https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/). * [Conceptual Captions 3M](https://ai.google.com/research/ConceptualCaptions/) (CC3M). * [OpenAI subset of YFCC100M](https://github.com/openai/CLIP/blob/main/data/yfcc100m.md). We fine-tuned on CC3M and YFCC100M to improve the encoding quality of people and faces, which are not very well represented in ImageNet. We used a subset of 2,268,720 images from CC3M and YFCC100M for this purpose. ### Training Process Finetuning was performed in PyTorch using [taming-transformers](https://github.com/CompVis/taming-transformers). The full training process and model preparation includes these steps: * Pre-training on ImageNet. Previously performed. We used [this checkpoint](https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887). * Fine-tuning, [Part 1](https://wandb.ai/wandb/hf-flax-dalle-mini/runs/2021-07-09T15-33-11_dalle_vqgan?workspace=user-borisd13). * Fine-tuning, [Part 2](https://wandb.ai/wandb/hf-flax-dalle-mini/runs/2021-07-09T21-42-07_dalle_vqgan?workspace=user-borisd13) – continuation from Part 1. The final checkpoint was uploaded to [boris/vqgan_f16_16384](https://huggingface.co/boris/vqgan_f16_16384). * Conversion to JAX, which is the model described in this card. ### How to Use The checkpoint can be loaded using [Suraj Patil's implementation](https://github.com/patil-suraj/vqgan-jax) of `VQModel`. * Example notebook, heavily based in work by [Suraj](https://huggingface.co/valhalla): [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/borisdayma/dalle-mini/blob/main/dev/vqgan/JAX_VQGAN_f16_16384_Reconstruction.ipynb) * Batch encoding using JAX `pmap`, complete example including data loading with PyTorch: ```python # VQGAN-JAX - pmap encoding HowTo import numpy as np # For data loading import torch import torchvision.transforms.functional as TF from torch.utils.data import Dataset, DataLoader from torchvision.datasets.folder import default_loader from torchvision.transforms import InterpolationMode # For data saving from pathlib import Path import pandas as pd from tqdm import tqdm import jax from jax import pmap from vqgan_jax.modeling_flax_vqgan import VQModel ## Params and arguments # List of paths containing images to encode image_list = '/sddata/dalle-mini/CC12M/10k.tsv' output_tsv = 'output.tsv' # Encoded results batch_size = 64 num_workers = 4 # TPU v3-8s have 96 cores, so feel free to increase this number when necessary # Load model model = VQModel.from_pretrained("flax-community/vqgan_f16_16384") ## Data Loading. # Simple torch Dataset to load images from paths. # You can use your own pipeline instead. class ImageDataset(Dataset): def __init__(self, image_list_path: str, image_size: int, max_items=None): """ :param image_list_path: Path to a file containing a list of all images. We assume absolute paths for now. :param image_size: Image size. Source images will be resized and center-cropped. :max_items: Limit dataset size for debugging """ self.image_list = pd.read_csv(image_list_path, sep='\t', header=None) if max_items is not None: self.image_list = self.image_list[:max_items] self.image_size = image_size def __len__(self): return len(self.image_list) def _get_raw_image(self, i): image_path = Path(self.image_list.iloc[i][0]) return default_loader(image_path) def resize_image(self, image): s = min(image.size) r = self.image_size / s s = (round(r * image.size[1]), round(r * image.size[0])) image = TF.resize(image, s, interpolation=InterpolationMode.LANCZOS) image = TF.center_crop(image, output_size = 2 * [self.image_size]) image = np.expand_dims(np.array(image), axis=0) return image def __getitem__(self, i): image = self._get_raw_image(i) return self.resize_image(image) ## Encoding # Encoding function to be parallelized with `pmap` # Note: images have to be square def encode(model, batch): _, indices = model.encode(batch) return indices # Alternative: create a batch with num_tpus*batch_size and use `shard` to distribute. def superbatch_generator(dataloader, num_tpus): iter_loader = iter(dataloader) for batch in iter_loader: superbatch = [batch.squeeze(1)] try: for _ in range(num_tpus-1): batch = next(iter_loader) if batch is None: break # Skip incomplete last batch if batch.shape[0] == dataloader.batch_size: superbatch.append(batch.squeeze(1)) except StopIteration: pass superbatch = torch.stack(superbatch, axis=0) yield superbatch def encode_dataset(dataset, batch_size=32): dataloader = DataLoader(dataset, batch_size=batch_size, num_workers=num_workers) superbatches = superbatch_generator(dataloader, num_tpus=jax.device_count()) num_tpus = jax.device_count() dataloader = DataLoader(dataset, batch_size=batch_size, num_workers=num_workers) superbatches = superbatch_generator(dataloader, num_tpus=num_tpus) p_encoder = pmap(lambda batch: encode(model, batch)) # Save each superbatch to avoid reallocation of buffers as we process them. # Keep the file open to prevent excessive file seeks. with open(output_tsv, "w") as file: iterations = len(dataset) // (batch_size * num_tpus) for n in tqdm(range(iterations)): superbatch = next(superbatches) encoded = p_encoder(superbatch.numpy()) encoded = encoded.reshape(-1, encoded.shape[-1]) # Extract paths from the dataset, save paths and encodings (as string) start_index = n * batch_size * num_tpus end_index = (n+1) * batch_size * num_tpus paths = dataset.image_list[start_index:end_index][0].values encoded_as_string = list(map(lambda item: np.array2string(item, separator=',', max_line_width=50000, formatter={'int':lambda x: str(x)}), encoded)) batch_df = pd.DataFrame.from_dict({"image_file": paths, "encoding": encoded_as_string}) batch_df.to_csv(file, sep='\t', header=(n==0), index=None) dataset = ImageDataset(image_list, image_size=256) encoded_dataset = encode_dataset(dataset, batch_size=batch_size) ``` ### Related Models in the Hub * PyTorch version of VQGAN, trained on the same datasets described here: [boris/vqgan_f16_16384](https://huggingface.co/boris/vqgan_f16_16384). * [DALL·E mini](https://huggingface.co/flax-community/dalle-mini), a Flax/JAX simplified implementation of OpenAI's DALL·E. ### Other This model was successfully used as part of the implementation of [DALL·E mini](https://github.com/borisdayma/dalle-mini). Our [report](https://wandb.ai/dalle-mini/dalle-mini/reports/DALL-E-mini--Vmlldzo4NjIxODA) contains more details on how to leverage it in an image encoding / generation pipeline.
[ -0.037910234183073044, -0.025554560124874115, -0.0024077582638710737, 0.04799993708729744, 0.04070371389389038, 0.0023145086597651243, -0.0037980128545314074, -0.013203920796513557, -0.0034535934682935476, 0.04340769350528717, 0.032266370952129364, -0.008617413230240345, 0.012262532487511635, 0.06696882098913193, -0.03531258553266525, -0.040730640292167664, -0.006225393619388342, -0.007200426422059536, -0.03709196671843529, -0.0033077539410442114, 0.011827634647488594, -0.001074622618034482, 0.0075987898744642735, 0.012963362038135529, 0.01874135062098503, 0.005752664525061846, 0.023469731211662292, 0.016714295372366905, 0.03433908894658089, -0.07393968105316162, -0.008661740459501743, -0.06848939508199692, -0.06394901871681213, -0.00909662339836359, -0.019289912655949593, -0.007742730900645256, 0.014070183970034122, 0.0009576324373483658, 0.012417818419635296, 0.0653265193104744, -0.015483557246625423, 0.00987902469933033, -0.007902967743575573, -0.05602911487221718, 0.03087250329554081, -0.005601781886070967, -0.0562528632581234, -0.0079012680798769, 0.0043632397428154945, -0.022130852565169334, -0.061824358999729156, -0.07950369268655777, -0.02745194546878338, 0.013993371278047562, -0.005929633043706417, -0.03976329788565636, -0.06010105460882187, -0.038884468376636505, 0.05880551040172577, -0.06689934432506561, -0.009946318343281746, 0.01553403027355671, -0.06290062516927719, 0.03799537941813469, 0.02071540057659149, -0.01635301299393177, 0.024627793580293655, -0.02851988933980465, -0.0009148659883067012, -0.009933357127010822, 0.061362124979496, -0.018394891172647476, 0.009290083311498165, -0.08357995003461838, 0.02363085187971592, -0.028428228572010994, 0.028463196009397507, 0.08416186273097992, -0.042389050126075745, 0.03525378555059433, 0.017624853178858757, 0.02182670868933201, 0.005836586933583021, -0.003734611440449953, -0.028291231021285057, 0.04003966599702835, -0.04094206914305687, 0.01973714493215084, -0.0006012757075950503, 0.05616122856736183, -0.04127528518438339, -0.026385949924588203, -0.044692181050777435, -0.0304277203977108, -0.03380584716796875, 0.012573515996336937, 0.022585323080420494, 0.005145919043570757, 0.0070523652248084545, 0.02401573769748211, 0.03494294732809067, 0.0453307069838047, -0.023316700011491776, 0.04536689445376396, -0.027942785993218422, -0.018590983003377914, -0.023013586178421974, -0.03258585184812546, -0.03248291835188866, 0.015812067314982414, 0.04345274344086647, -0.017406322062015533, -0.03551828861236572, 0.028087900951504707, -0.008576621301472187, -0.028210081160068512, 0.06602274626493454, -0.01614084467291832, -0.04775279387831688, -0.03819715231657028, 0.06092044711112976, -0.0017696010181680322, 0.00856807827949524, -0.02246003784239292, -0.05540187284350395, 0.02081562578678131, -0.020075662061572075, -0.030437245965003967, 0.022128935903310776, 0.02508118748664856, 0.0034347849432379007, 0.05535023659467697, 0.010761883109807968, -0.04179992154240608, -0.004837325774133205, 0.03712396323680878, -0.06169401854276657, 0.04213063046336174, 0.035397130995988846, 0.1053541973233223, -0.06993421912193298, -0.06634116917848587, 0.017888592556118965, 0.024488620460033417, -0.007498937658965588, 0.01291409507393837, 0.021498793736100197, -0.05101608857512474, -0.04191260039806366, -0.016252363100647926, 0.06819293648004532, -0.06319271773099899, -0.0025837880093604326, 0.05514669045805931, 0.008172934874892235, 0.01874743215739727, -0.05670348182320595, -0.0016466733068227768, -0.01981534995138645, 0.009599852375686169, -0.015973582863807678, 0.057286884635686874, -0.008844190277159214, 0.0012118015438318253, -0.05386011675000191, -0.01752127893269062, -0.018012503162026405, 0.0875377282500267, -0.003711715340614319, -0.028421573340892792, -0.01812615990638733, 0.025111963972449303, 0.028927093371748924, 0.047873783856630325, -0.032849542796611786, 0.03734021633863449, 0.03888656944036484, 0.00882668700069189, -0.02895989641547203, 0.05380413681268692, 0.04219886288046837, -0.03505139797925949, -0.008240246213972569, -0.008875604718923569, -0.0024716572370380163, -0.05264432355761528, -0.0010292223887518048, 0.028938334435224533, 0.0036597643047571182, -0.029962580651044846, -0.01331872958689928, 0.06628189980983734, 0.007574394345283508, 0.0168389193713665, 0.015450704842805862, -0.023116622120141983, -0.036585383117198944, 0.058445125818252563, -0.030789071694016457, -0.004296061582863331, -0.038093894720077515, -0.01700599491596222, 0.0055311755277216434, -0.001406748197041452, 0.0200665146112442, 0.034807391464710236, -0.0014342262875288725, 0.060663554817438126, -0.022570081055164337, -0.010741141624748707, -0.06508274376392365, -0.056300051510334015, -0.0037270321045070887, 0.025517882779240608, 0.03525368869304657, 0.020396528765559196, 0.003839951241388917, -0.05987358093261719, 0.018394453451037407, 0.08166016638278961, 0.025883954018354416, 0.04942048341035843, -0.03675023093819618, -0.007437241263687611, 0.02539539709687233, 0.06067374348640442, -0.06329420208930969, -0.03522138670086861, 0.045879293233156204, 0.03274712339043617, -0.0181256290525198, 0.009746233932673931, -0.03467562422156334, 0.021909376606345177, -0.049932632595300674, -0.10887879133224487, 0.030057335272431374, 0.04826746881008148, -0.007211200427263975, 0.04996577650308609, -0.012010270729660988, 0.012739995494484901, 0.0150375971570611, -0.01694749854505062, 0.0055122957564890385, -0.025203678756952286, 0.02291480265557766, 0.01954718306660652, 0.0326966792345047, -0.03324300795793533, 0.03555452078580856, 0.029335761442780495, -0.0006567477830685675, 0.02795145846903324, 0.013513355515897274, 0.035476163029670715, 0.07420831173658371, 0.004759430419653654, -0.015500505454838276, 0.026901638135313988, 0.009472524747252464, 0.019682178273797035, 0.058928873389959335, 0.012899140827357769, 0.059111371636390686, -0.009473648853600025, 0.04793936759233475, 0.07950447499752045, -0.0035617046523839235, 0.005419823341071606, 0.05276069790124893, 0.09378135949373245, 0.007339191623032093, -0.014342764392495155, 0.03939172625541687, -0.032206833362579346, 0.019503235816955566, -0.032658450305461884, 0.0032300676684826612, 0.0005208823713473976, -0.013084681704640388, 0.0627279132604599, 0.018218141049146652, -0.01613698899745941, 0.004166583530604839, -0.01954560913145542, -0.00557534396648407, 0.06108365207910538, 0.00034557090839371085, -0.0013409561943262815, -0.009129565209150314, -0.030125834047794342, 0.00929203163832426, -0.05191880837082863, -0.024254828691482544, -0.011051155626773834, -0.052302248775959015, -0.004050898365676403, -0.09411352127790451, -0.022212622687220573, -0.06933338195085526, -0.029889758676290512, 0.054437462240457535, 0.032228779047727585, 0.0007885948289185762, -0.045265961438417435, 0.01303116325289011, -0.028052913025021553, -0.0340859480202198, -0.053893785923719406, -0.0353936068713665, -0.03206762671470642, -0.06372059136629105, 0.0551358126103878, -0.011532683856785297, 0.018076928332448006, 0.02039739303290844, -0.0030862281564623117, -0.04137944430112839, 0.003027681726962328, 0.02104194462299347, 0.05912869796156883, -0.009955603629350662, -0.03589737042784691, 0.013113297522068024, -0.00692391861230135, -0.006443941034376621, -0.046973735094070435, -0.01522322092205286, 0.08129552751779556, 0.06660683453083038, 0.037436120212078094, -0.0008337163599207997, -0.0031668744049966335, -0.030023206025362015, -0.05386064946651459, -0.027047473937273026, -0.037124425172805786, -0.02534710429608822, -0.024446211755275726, -0.04203146696090698, -0.010727585293352604, -0.024438276886940002, -0.018054239451885223, -0.0013448925456032157, -0.014557287096977234, 0.03695628046989441, 0.03211342543363571, 0.024708835408091545, 0.029005682095885277, -0.04536885768175125, -0.026585867628455162, 0.04066183418035507, 0.003245697123929858, 0.00517656933516264, -0.04761620610952377, -0.028667744249105453, 0.04369484260678291, 0.04425017163157463, -0.005696458276361227, 0.0006922376924194396, 0.08761925995349884, -0.0060156574472785, -0.02873321995139122, 0.0012399174738675356, -0.02421790175139904, -0.022400343790650368, -0.010283660143613815, 0.012088608928024769, -0.020897693932056427, -0.043485917150974274, -0.029669472947716713, -0.003894007531926036, 0.0703311413526535, -0.0634479969739914, -0.05072581022977829, -0.004018489271402359, 0.027770278975367546, 0.03633583337068558, 0.02425791695713997, -0.03437982127070427, 0.009629474952816963, -0.042642369866371155, -0.032812535762786865, 0.02514590136706829, 0.007559617981314659, 0.02836252562701702, 0.052184008061885834, 0.023342521861195564, -0.015579654835164547, 0.031813256442546844, 0.0611761212348938, 0.05978129431605339, 0.02266361378133297, -0.03386828675866127, 0.022076115012168884, -0.048936039209365845, 0.026702601462602615, 0.004622959531843662, -0.01424326840788126, -0.04773959517478943, -0.06881953775882721, -0.02079547755420208, 0.013366670347750187, -0.006322468630969524, -0.007035620044916868, 0.054006341844797134, -0.0249613169580698, -0.04292702302336693, 0.020153896883130074, 0.008148045279085636, 0.05547542870044708, -0.06696169823408127, 0.07725230604410172, 0.0031756104435771704, 0.05654839426279068, -0.03558848798274994, 0.022635778412222862, -0.03921109065413475, -0.04039414972066879, -0.0012740632519125938, 0.05776305869221687, 0.02355995401740074, 0.034745167940855026, 0.05264892429113388, 0.004255522973835468, -0.05122753232717514, 0.03918856754899025, 0.0369260236620903, -0.012887629680335522, -0.04184664785861969, 0.014324195683002472, 0.0017698133597150445, -0.008008034899830818, -0.02741691656410694, -0.009947801008820534, 0.03112386167049408, 0.06042461469769478, -0.003344879485666752, 0.016172580420970917, 0.026480648666620255, -0.0021817723754793406, -0.017403291538357735, -0.05564742907881737, 0.0024720104411244392, 0.010927148163318634, -0.03937169164419174, 0.007900981232523918, 0.03047969378530979, 0.018450867384672165, 0.03322724997997284, 0.02979321964085102, -0.030082035809755325, -0.04681095480918884, 0.0392301119863987, 0.042290300130844116, -0.05291320011019707, -0.03987821936607361, -0.05162912979722023, 0.047108035534620285, 0.02833019569516182, 0.0009446192998439074, -0.09040656685829163, 0.03529803454875946, 0.03871838375926018, -0.05289961397647858, 0.059094592928886414, 0.009711217135190964, 0.02881745621562004, 0.06535525619983673, -0.001884188619442284, 0.027395382523536682, -0.043648961931467056, -0.009194981306791306, 0.006823969539254904, 0.038934823125600815, -0.025237131863832474, -0.030963212251663208, -0.05994299799203873, 0.025384079664945602, 0.03413595259189606, 0.013864108361303806, 0.04255521669983864, -0.024398649111390114, -0.06836240738630295, 0.025870060548186302, 0.020668331533670425, -0.05291910097002983, 0.03864444047212601, 0.033397872000932693, 0.008849208243191242, -0.06961450725793839, -0.026227109134197235, -0.016477296128869057, -0.006983799859881401, 0.026145625859498978, -0.0026891911402344704, -0.03612258657813072, -0.046582311391830444, 0.025994809344410896, -0.015393761917948723, -0.018191717565059662, -0.0772242397069931, 0.05011468008160591, -0.027672620490193367, -0.020525073632597923, 0.057806409895420074, 0.010420838370919228, 0.04313981160521507, 0.029889073222875595, 0.01794244349002838, 0.010681060142815113, -0.048263661563396454, 0.04676348716020584, -0.04549368843436241, -0.04061108082532883, 0.002691446803510189, -0.035657234489917755, -0.020112618803977966, -0.029754536226391792, -0.056021273136138916, -0.030860435217618942, -0.030048474669456482, 0.03133835271000862, -0.02680853195488453, -0.004520412068814039, -0.017916657030582428, 0.020913701504468918, -0.02255198173224926, 0.0029416263569146395, -0.04214958846569061, -0.03892055153846741, -0.05765596404671669, -0.03101152554154396, 0.009058324620127678, -0.0075350794941186905, 0.02938075363636017, 0.034020744264125824, 0.029202841222286224, 0.018411148339509964, 0.013991187326610088, 0.010169344022870064, 0.01124606654047966, 0.02277769334614277, -0.03211693465709686, -0.03156497702002525, 0.0263620987534523, 0.0338987335562706, 0.03310077264904976, -0.029706982895731926, 0.04176907241344452, 0.014612467028200626, 0.0024265418760478497, -0.0020102618727833033, 0.031280625611543655, 0.013191822916269302, -0.08245280385017395, -0.03150428459048271, -0.00911527406424284, -0.02965054102241993, 0.034915465861558914, -0.022689089179039, -0.028185345232486725, 0.018936652690172195, 0.015946829691529274, 0.03262658044695854, 0.0005001987447030842, -0.026186037808656693, 0.02316259779036045, -0.03292401507496834, 0.04363343492150307, -0.06040509045124054, 0.024257270619273186, -0.02330094575881958, 0.010184247978031635, -0.013707928359508514, 0.0004215846420265734, -0.03740176185965538, 0.031139088794589043, -0.02653694339096546, -0.011505190283060074, -0.008281499147415161, 0.03299516811966896, -0.029798943549394608, 0.0326189249753952, -0.0311436727643013, 0.029977811500430107, -0.050460297614336014, 0.046218376606702805, -0.03263287991285324, 0.0010272817453369498, -0.014569418504834175, -0.023594213649630547, -0.05978676304221153, -0.030319128185510635, 0.01068747229874134, -0.023547770455479622, 0.023770635947585106, 0.04909919202327728, 0.06885550916194916, 0.008746980689466, -0.005960418842732906, 0.01612340472638607, 0.052398551255464554, -0.06175127252936363, -0.04111094772815704, 0.007990602403879166, 0.019573010504245758, -0.0019767452031373978, 0.04574326425790787, 0.05515434592962265, -0.05648499354720116, -0.04694507271051407, 0.04138435050845146, 0.002770153572782874, 0.017538512125611305, 0.007933164946734905, 0.03533922880887985, 0.045991409569978714, 0.04043261334300041, -0.015315619297325611, -0.004696681629866362, -0.026330899447202682, -0.00749353040009737, 0.03461263328790665, 0.004260705318301916, 0.03609577566385269, 0.006628319155424833, -0.05932960659265518, -0.01505233347415924, 0.06362594664096832, 0.035729747265577316, 0.02744537591934204, -0.015635671094059944, -0.03695502132177353, 0.04541078954935074, 0.005009415093809366, -0.061775464564561844, 0.0028773522935807705, -0.0042493753135204315, -0.02621516026556492, 0.05911080166697502, -0.02306654118001461, 0.02533923089504242, 0.025124441832304, 0.040286507457494736, -0.021915839985013008, 0.05211571231484413, -0.05373334512114525, 0.007316714618355036, 0.04143134132027626, -0.04833318293094635, -0.02856728434562683, -0.042935989797115326, 0.08788368850946426, -0.05069844052195549, 0.03803064674139023, 0.04358949139714241, -0.019623344764113426, -0.0037186304107308388, -0.031760551035404205, -0.029216479510068893, 0.03037557564675808, -0.05357802286744118, 0.08030708879232407, -0.014436141587793827, -0.060390226542949677, 0.06259404122829437, 0.027989570051431656, -0.057693541049957275, 0.008330724202096462, 0.045977093279361725, 0.021020695567131042, 0.016719503328204155, 0.03208160400390625, -0.06146475672721863, 0.01914435252547264, -0.05449005961418152, 0.03926966339349747, -0.048057474195957184, -0.038428377360105515, 0.03429310396313667, -0.04368627071380615, -0.016695618629455566, 0.05114269256591797, -0.021191168576478958, 0.006437055766582489, 0.030740337446331978, -0.04324592277407646, -0.04168541356921196, -0.011362115852534771, 0.014828082174062729, -0.03474928066134453, 0.009258688427507877, -0.022218571975827217, 0.03227435052394867, 0.0034874211996793747, 0.0025222785770893097, -0.05466131493449211, 0.03231671825051308, 0.029079506173729897, -0.08578190952539444, -0.03346212953329086, 0.03995643928647041, -0.01633874885737896, -0.01382033433765173, 0.027569454163312912, -0.02595323696732521, 0.016424570232629776, 0.03931603953242302, 0.0009971166728064418, 0.015560882166028023, -0.037048980593681335, -0.012884313240647316, 0.019537853077054024, 0.0028482386842370033, 0.01477782055735588, 0.004836175590753555, 0.030222957953810692, 0.03686986863613129, 0.01342356950044632, 0.02072378620505333, -0.02778022550046444, -0.007957889698445797, 0.06023777276277542, -0.005043839104473591, 0.03596460074186325, -0.0010039506014436483, -0.04216960445046425, -0.05916544795036316, -0.005239585414528847, -0.014522645622491837, 0.03475914150476456, -0.04809844121336937, 0.02454277127981186, 0.03685372322797775, 0.01760302484035492, -0.05016651749610901, -0.08848612755537033, -0.026097675785422325, -0.04541166126728058, 0.009313240647315979, 0.044927436858415604, -0.03835729882121086, 0.024677064269781113, -0.06324935704469681, -0.048320796340703964, 0.05545079708099365, 0.010996729135513306, -0.027844129130244255, 0.030714115127921104, 0.050964150577783585, -0.038329776376485825, 0.006038534455001354, 0.00753795076161623, -0.024518735706806183, 0.008754147216677666, 0.013302639126777649, 0.022466110065579414, 0.027316827327013016, 0.06348147243261337, -0.009718622080981731, -0.027242206037044525, -0.05620913580060005, -0.048888757824897766, -0.06438977271318436, 0.014851752668619156, 0.04653651639819145 ]
Bharathdamu/wav2vec2-large-xls-r-300m-hindi-colab
[ "pytorch", "tensorboard", "wav2vec2", "automatic-speech-recognition", "dataset:common_voice", "transformers", "generated_from_trainer", "license:apache-2.0" ]
automatic-speech-recognition
{ "architectures": [ "Wav2Vec2ForCTC" ], "model_type": "wav2vec2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
4
null
--- language: fa datasets: - common_voice tags: - speech license: apache-2.0 --- # Wav2Vec2 4 Persian > This is part of the [Flax/Jax Community Week](https://discuss.huggingface.co/t/pretrain-wav2vec2-in-persian/8180), organized by [HuggingFace](https://huggingface.co/) and TPU usage sponsored by Google. ## Team Members - Mehrdad Farahani ([m3hrdadfi](https://huggingface.co/m3hrdadfi)) ## Dataset TODO: Update ## How To Use TODO: Update ## Demo TODO: Update ## Evaluation TODO: Update
[ -0.03172503784298897, -0.0317314937710762, 0.005029889754951, 0.052934370934963226, 0.0363570973277092, 0.029717829078435898, -0.007466425187885761, 0.001549517153762281, -0.012370588257908821, 0.02903314307332039, 0.012737041339278221, -0.012996286153793335, -0.007016794756054878, 0.01968679390847683, -0.045144155621528625, -0.04686722159385681, -0.06344246864318848, 0.0006920306477695704, -0.036997124552726746, -0.0038078424986451864, 0.0087400758638978, 0.01343238353729248, -0.03403150662779808, 0.05277571454644203, -0.0006944868364371359, 0.0327974371612072, -0.00978522002696991, 0.024245409294962883, 0.0001875570451375097, -0.06121402978897095, -0.02093694917857647, -0.05405152216553688, -0.025248585268855095, -0.04597435146570206, -0.024025000631809235, -0.0006647005211561918, -0.011219331994652748, 0.011821375228464603, 0.03998922184109688, 0.04015449434518814, -0.00373772531747818, -0.002915172139182687, 0.009816743433475494, -0.030241549015045166, 0.012313639745116234, 0.012733710929751396, -0.039390407502651215, -0.008315476588904858, 0.006438698619604111, -0.03390512242913246, -0.018394825980067253, -0.0659826323390007, -0.028835617005825043, -0.012886610813438892, 0.002374909585341811, -0.028421247377991676, -0.033257853239774704, -0.02209661900997162, 0.06736009567975998, -0.03796562924981117, -0.006936025805771351, 0.0303114652633667, -0.06553709506988525, 0.027835410088300705, 0.04370246082544327, -0.04319632053375244, 0.028665192425251007, -0.05660618469119072, 0.012454895302653313, -0.03243035078048706, 0.046685315668582916, -0.02594069391489029, 0.02087312936782837, -0.08064117282629013, 0.007023117039352655, -0.016894754022359848, 0.03762758523225784, 0.048860471695661545, -0.03833465278148651, 0.08801766484975815, 0.032775457948446274, 0.004888505209237337, 0.040946606546640396, -0.026801152154803276, 0.012816406786441803, 0.030244052410125732, -0.028599107638001442, 0.022061167284846306, 0.02511443756520748, 0.05753277242183685, -0.011285675689578056, -0.0429319366812706, -0.028830479830503464, -0.05825114622712135, -0.000020143606889178045, 0.05631573125720024, 0.04220040887594223, -0.024167371913790703, 0.04610299691557884, 0.016674408689141273, 0.029472947120666504, 0.011222886852920055, -0.023557333275675774, 0.04576439782977104, -0.036060601472854614, 0.0014550518244504929, 0.012935931794345379, -0.03541228920221329, -0.028844306245446205, 0.01939168944954872, 0.033167239278554916, -0.03731125220656395, -0.0408141128718853, 0.03844070807099342, -0.002617018762975931, -0.006258502136915922, 0.04383469745516777, -0.04623858630657196, -0.03158675506711006, -0.02758467197418213, 0.04942898452281952, 0.02975016087293625, -0.007193753961473703, -0.0052351574413478374, -0.05245767533779144, 0.033036962151527405, -0.02500096708536148, -0.010644287802278996, 0.012905578128993511, -0.0007515173638239503, -0.0065437727607786655, 0.034648895263671875, 0.001672368380241096, -0.06202647462487221, -0.000021403899154393002, 0.013511293567717075, -0.07029877603054047, -0.0009065157501026988, 0.020938510075211525, 0.08310321718454361, -0.08745711296796799, -0.04826197773218155, 0.02421267330646515, 0.015569119714200497, -0.016602477058768272, 0.015537035651504993, 0.02164648100733757, -0.01695168763399124, -0.03859864920377731, -0.031136034056544304, 0.030386488884687424, -0.0910249650478363, -0.006968124769628048, 0.07218542695045471, -0.05785805732011795, 0.04275653883814812, -0.023099733516573906, -0.006747365929186344, 0.01687263883650303, -0.005276626441627741, -0.01924632489681244, 0.030305292457342148, 0.0010457031894475222, -0.0021779367234557867, -0.04620091989636421, -0.04184724763035774, 0.0037379113491624594, 0.08624625951051712, 0.02997233346104622, -0.01043375302106142, -0.025981536135077477, 0.009036811999976635, 0.03382325917482376, 0.025003129616379738, -0.0285396259278059, 0.040098585188388824, 0.040937572717666626, 0.025919444859027863, -0.00345853460021317, 0.08580601215362549, 0.023465381935238838, -0.03192649781703949, -0.03294694796204567, -0.004342288244515657, 0.034208886325359344, -0.01171350572258234, -0.007931424304842949, 0.04988955706357956, 0.0179724283516407, -0.029763275757431984, -0.008227329701185226, 0.04700503498315811, -0.029493382200598717, -0.008015367202460766, -0.00317642604932189, -0.029866332188248634, -0.028891805559396744, 0.05180266499519348, -0.04065408930182457, -0.0015170148108154535, -0.027806377038359642, -0.010556185618042946, 0.012103835120797157, 0.032381825149059296, 0.0074377236887812614, 0.03410780057311058, -0.011326671577990055, 0.09486743807792664, -0.020410766825079918, -0.0009343794663436711, -0.04031539335846901, -0.05002962052822113, -0.02615565061569214, 0.059124674648046494, 0.03777194395661354, 0.06101914867758751, -0.005515983793884516, -0.07595561444759369, 0.02342120371758938, 0.06297250092029572, 0.07044106721878052, 0.01746762916445732, -0.03731898218393326, 0.00030119766597636044, 0.045388221740722656, 0.04787669703364372, -0.0527535155415535, -0.0326063334941864, 0.02377847582101822, 0.04051557183265686, -0.0215348731726408, 0.008238228969275951, -0.02138684317469597, 0.04246070608496666, -0.037870507687330246, -0.0800691545009613, 0.03289082273840904, 0.02098984643816948, 0.014402482658624649, 0.025114426389336586, -0.023081954568624496, 0.01183447614312172, 0.03208296746015549, -0.0039857057854533195, 0.009282378479838371, -0.028591006994247437, 0.014859229326248169, 0.020104283466935158, 0.07444651424884796, -0.0629996657371521, 0.015127808786928654, -0.0013203818816691637, 0.015541876666247845, 0.027688398957252502, -0.0301359836012125, 0.03308520093560219, 0.04677150398492813, 0.016868779435753822, -0.00855844933539629, 0.03222808241844177, -0.0009504759800620377, 0.06002822890877724, 0.045254915952682495, 0.008194433525204659, 0.062035124748945236, -0.00213203439489007, 0.055601686239242554, 0.06870493292808533, 0.01313174981623888, 0.014561714604496956, 0.043371737003326416, 0.05679454654455185, 0.016582973301410675, -0.010681445710361004, 0.055853404104709625, -0.04728742688894272, 0.00353214330971241, -0.02249358594417572, 0.00398366479203105, -0.007726243697106838, -0.01129526924341917, 0.04465136677026749, -0.0011982761789113283, 0.0023759498726576567, -0.018523341044783592, -0.019977262243628502, -0.013598248362541199, 0.046690668910741806, -0.025377482175827026, 0.005176542792469263, -0.005936764180660248, -0.009746940806508064, 0.011031382717192173, -0.08455468714237213, -0.03197154030203819, -0.005772207863628864, -0.029183639213442802, 0.02182784676551819, -0.06927308440208435, -0.030218765139579773, -0.06687545776367188, -0.015260930173099041, 0.031217502430081367, 0.03781691938638687, 0.030081873759627342, -0.05500771477818489, 0.006267128046602011, -0.041169293224811554, -0.042667701840400696, -0.04563437029719353, -0.03027663566172123, -0.02503228560090065, -0.04232354462146759, 0.03666479140520096, 0.027385950088500977, 0.04350831359624863, 0.0023133684881031513, 0.007905654609203339, -0.027323953807353973, -0.039060357958078384, 0.03841829672455788, 0.04150843992829323, -0.039030175656080246, -0.0810278058052063, 0.007272688671946526, -0.006131112575531006, -0.011920282617211342, -0.0028743778821080923, -0.050605665892362595, 0.08071500808000565, 0.048147737979888916, 0.04260276257991791, 0.0074630496092140675, -0.028266895562410355, -0.06995578855276108, -0.07132594287395477, -0.025189805775880814, -0.06853282451629639, -0.026649916544556618, -0.015899870544672012, -0.05154566094279289, -0.04430052638053894, -0.02703525498509407, -0.011469460092484951, 0.003144140588119626, -0.020504780113697052, 0.03137862682342529, 0.05369425565004349, 0.016091009601950645, 0.03777496889233589, -0.032663919031620026, -0.020102040842175484, 0.0682297945022583, -0.005967588629573584, -0.018077058717608452, -0.05707293003797531, -0.04672335460782051, 0.028149830177426338, 0.012020557187497616, 0.007903389632701874, -0.006390490103513002, 0.06862420588731766, -0.013483486138284206, -0.00758544122800231, 0.03493640199303627, -0.03857763484120369, -0.032558854669332504, -0.022319456562399864, 0.0018134696874767542, -0.007664038334041834, -0.06749141961336136, 0.015329305082559586, -0.027064435184001923, 0.06767036765813828, -0.05913570523262024, -0.02941954880952835, -0.022697724401950836, 0.010122168809175491, 0.030844788998365402, -0.006411300506442785, -0.018590981140732765, 0.012116086669266224, -0.0644611120223999, -0.028278635814785957, 0.005587369203567505, -0.015477485954761505, 0.022480444982647896, 0.032190751284360886, -0.0015310292365029454, -0.006583027541637421, 0.06455857306718826, 0.020393045619130135, 0.09345440566539764, 0.05150604248046875, -0.017367836087942123, 0.03716797009110451, -0.03009224683046341, 0.044356513768434525, -0.0179000124335289, -0.04133884236216545, -0.05429932847619057, -0.09015867114067078, -0.02677028812468052, 0.019919442012906075, -0.03222138434648514, -0.017009617760777473, 0.07019194215536118, -0.001082979142665863, 0.007373211905360222, 0.00369590544141829, 0.04850022494792938, 0.03543958067893982, -0.024251913651823997, 0.0376298725605011, -0.0026820809580385685, 0.04876629635691643, -0.06934945285320282, 0.007176446262747049, -0.009416460990905762, -0.04629003629088402, -0.008616974577307701, 0.04991190508008003, 0.02849471941590309, 0.046998098492622375, 0.07260974496603012, 0.012992767617106438, -0.016886599361896515, 0.057481128722429276, 0.03916487842798233, -0.02430052123963833, -0.07079339772462845, -0.003008375409990549, -0.013272128999233246, -0.024854885414242744, -0.015909945592284203, -0.01619802787899971, 0.04180319979786873, 0.07080509513616562, -0.030107533559203148, 0.004585504066199064, 0.003154321573674679, -0.042127761989831924, -0.017481312155723572, -0.037993423640728, -0.026299376040697098, 0.032602109014987946, -0.023123223334550858, 0.0175916887819767, 0.033875297755002975, 0.015798788517713547, 0.054773394018411636, 0.039612431079149246, -0.03797503560781479, -0.05717318877577782, 0.038058966398239136, 0.025056911632418633, -0.008796089328825474, -0.04724894464015961, -0.05209779366850853, 0.04024520143866539, 0.01764974184334278, -0.003963790368288755, -0.056976526975631714, 0.02766471728682518, 0.05273212864995003, -0.03737084940075874, 0.055448491126298904, -0.009576714597642422, 0.027720551937818527, 0.07416945695877075, 0.01647510752081871, 0.012560279108583927, -0.022490229457616806, 0.021410008892416954, 0.011431481689214706, 0.00944607239216566, -0.01021474227309227, 0.011966387741267681, -0.09282056987285614, 0.011167113669216633, 0.04616217687726021, 0.016293920576572418, 0.043374866247177124, -0.047522421926259995, -0.047153130173683167, 0.009562868624925613, 0.011308952234685421, -0.04956026002764702, 0.023249642923474312, 0.04285791888833046, 0.040552813559770584, -0.035875074565410614, -0.014796216040849686, -0.02302362211048603, 0.02986844815313816, 0.04374638944864273, -0.003598745446652174, -0.044456396251916885, -0.04956459999084473, 0.02776842750608921, -0.02469104342162609, -0.035504043102264404, -0.08331366628408432, 0.03923337906599045, -0.008318166248500347, -0.01567106321454048, 0.03821437060832977, 0.0176859050989151, 0.06507214158773422, 0.015269679017364979, 0.0024178086314350367, 0.030491046607494354, -0.03486640378832817, 0.044819045811891556, -0.034792494028806686, -0.05065658688545227, -0.023927800357341766, -0.04164427891373634, -0.009910834953188896, -0.027821134775877, -0.0272610392421484, -0.026927102357149124, -0.014438646845519543, 0.021492494270205498, -0.025157133117318153, 0.015180986374616623, -0.009020591154694557, 0.03228382021188736, -0.0030424485448747873, -0.023544587194919586, -0.008474481292068958, -0.041805069893598557, -0.0581311360001564, -0.03404753655195236, 0.046414438635110855, -0.033109601587057114, 0.00882839597761631, -0.015173457562923431, 0.024510996416211128, 0.04429623484611511, 0.010027678683400154, 0.008624467998743057, 0.018101589754223824, 0.004152894485741854, -0.031210776418447495, -0.022730441763997078, 0.05304652452468872, -0.001650335849262774, 0.022829577326774597, -0.0022399378940463066, 0.04064203426241875, 0.005016379524022341, -0.0423305369913578, -0.002180585404857993, -0.01995695009827614, 0.027690444141626358, -0.06869322806596756, -0.030435802415013313, -0.012837357819080353, -0.03769773617386818, -0.00986521877348423, -0.011519010178744793, -0.025390181690454483, 0.02561357244849205, 0.03474735841155052, 0.034461572766304016, 0.01125109288841486, -0.018388153985142708, 0.008687340654432774, -0.012038038112223148, 0.04012639820575714, -0.05603902041912079, 0.02746194414794445, -0.00794085394591093, 0.006668181624263525, -0.014344639144837856, 0.028733784332871437, -0.05194282531738281, 0.04103601723909378, -0.02981998771429062, 0.016826694831252098, -0.015996232628822327, 0.032423701137304306, -0.007792324293404818, 0.014615566469728947, -0.0018695765174925327, 0.025973450392484665, -0.06983572244644165, 0.04829218238592148, -0.037674833089113235, -0.008078193292021751, -0.01686226762831211, -0.021703237667679787, -0.030846403911709785, -0.020185833796858788, -0.010130954906344414, -0.030133822932839394, 0.04422645643353462, 0.02774873748421669, 0.044396914541721344, 0.0441431887447834, -0.01576036401093006, -0.01258593238890171, 0.00991534162312746, -0.032435186207294464, -0.019692057743668556, -0.00043911271495744586, 0.02043343149125576, 0.013350020162761211, 0.04095326364040375, 0.014632907696068287, -0.05005767196416855, -0.07109281420707703, 0.05103065446019173, 0.015728268772363663, 0.025754662230610847, 0.03607660531997681, 0.015519890002906322, 0.05291019752621651, 0.06362199783325195, -0.0017151167849078774, -0.000075766489317175, -0.024636242538690567, -0.012563325464725494, 0.03572987765073776, -0.021668845787644386, 0.003570948028936982, -0.0036135197151452303, -0.04329841956496239, -0.015064386650919914, 0.05504615604877472, 0.025447312742471695, 0.04000696539878845, -0.02549625001847744, -0.0460948683321476, 0.019170649349689484, -0.009136669337749481, -0.04699363559484482, 0.004713848698884249, -0.019281119108200073, -0.007572706323117018, 0.0794144719839096, -0.05143578723073006, 0.023341596126556396, 0.0417640246450901, 0.020676329731941223, -0.026867911219596863, 0.056268513202667236, -0.022821051999926567, -0.020416177809238434, 0.03607974946498871, -0.04618290439248085, -0.01629916951060295, -0.01378918718546629, 0.07930115610361099, -0.05385348200798035, 0.04297158122062683, 0.05862719193100929, 0.004991980269551277, 0.027856484055519104, -0.035821858793497086, -0.039961498230695724, 0.041014522314071655, -0.01980266347527504, 0.06987344473600388, 0.008999745361506939, -0.06400242447853088, 0.028731880709528923, 0.016743253916502, -0.09569410234689713, 0.03685341402888298, 0.029042568057775497, 0.02214665338397026, 0.023650620132684708, 0.03984903171658516, -0.05762989819049835, -0.0019806381314992905, -0.04158146306872368, 0.03736332431435585, -0.08293963223695755, 0.013306757435202599, 0.02846630848944187, -0.045716285705566406, -0.026690207421779633, 0.041252028197050095, 0.013866988010704517, -0.012908589094877243, 0.010119820013642311, -0.05818372964859009, -0.0795753225684166, 0.022080734372138977, 0.03636571764945984, -0.051733504980802536, 0.020334258675575256, -0.04216143488883972, -0.002094270894303918, 0.04752913489937782, 0.015090055763721466, -0.014951647259294987, 0.0022495302837342024, 0.008753287605941296, -0.0436801053583622, -0.04460546374320984, 0.0538138672709465, 0.017691927030682564, -0.01868164725601673, 0.03161264583468437, 0.004433155059814453, 0.011093111708760262, 0.02297549694776535, -0.016875727102160454, 0.03340194374322891, -0.057625241577625275, -0.029681043699383736, -0.0005815093172714114, 0.023575434461236, 0.024378560483455658, -0.01483086682856083, 0.03202809765934944, 0.04659207910299301, 0.007370883598923683, 0.0489957220852375, -0.012393173761665821, -0.03000921756029129, 0.03013855777680874, -0.04367699846625328, 0.02670866623520851, -0.005113319028168917, -0.045801565051078796, -0.04020925983786583, -0.009712662547826767, -0.01406887173652649, 0.02009502239525318, -0.03261013701558113, 0.012226072140038013, 0.01164657436311245, -0.019885726273059845, -0.02558370865881443, -0.07696013897657394, -0.03329446166753769, -0.04539771378040314, 0.04090206325054169, 0.03476939722895622, -0.05132220312952995, -0.0016881446354091167, -0.05480939894914627, -0.05265076458454132, 0.042392369359731674, -0.007596713025122881, -0.04322611168026924, 0.040558598935604095, 0.0439361035823822, -0.038703855127096176, 0.01998758502304554, 0.03893706202507019, -0.0421949103474617, 0.03209204226732254, 0.03344843164086342, 0.01742739789187908, 0.028975261375308037, 0.04281282052397728, -0.05227971822023392, -0.023894837126135826, -0.03630821034312248, -0.011462573893368244, -0.04224260896444321, 0.0134603101760149, 0.08087252825498581 ]
Bharathdamu/wav2vec2-large-xls-r-300m-hindi2-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: dv tags: - automatic-speech-recognition datasets: - common_voice --- # Wav2Vec2 Dhivehi Wav2vec2 pre-pretrained from scratch using common voice dhivehi dataset. The model was trained with Flax during the [Flax/Jax Community Week](https://discss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104) organised by HuggingFace. ## Model description The model used for training is [Wav2Vec2](https://ai.facebook.com/blog/wav2vec-20-learning-the-structure-of-speech-from-raw-audio/) by FacebookAI. It was introduced in the paper "wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations" by Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, and Michael Auli (https://arxiv.org/abs/2006.11477). This model is available in the 🤗 [Model Hub](https://huggingface.co/facebook/wav2vec2-base-960h). ## Training data Dhivehi data from [Common Voice](https://commonvoice.mozilla.org/en/datasets). The dataset is also available in the 🤗 [Datasets](https://huggingface.co/datasets/common_voice) library. ## Team members - Shahu Kareem ([@shahukareem](https://huggingface.co/shahukareem)) - Eyna ([@eyna](https://huggingface.co/eyna))
[ -0.022631697356700897, -0.01453893631696701, -0.01987210474908352, 0.030372722074389458, 0.023276427760720253, 0.028616128489375114, -0.024559108540415764, -0.0018034877721220255, -0.015108278021216393, 0.05359619855880737, 0.03487217798829079, -0.01049408782273531, 0.015460283495485783, 0.01054938230663538, -0.02914036437869072, -0.05870949476957321, -0.04046787694096565, 0.005245908163487911, -0.04353123903274536, 0.0031243718694895506, 0.006457038223743439, 0.025879977270960808, -0.02073746547102928, 0.03220377862453461, -0.002149447798728943, 0.025955097749829292, -0.012348189018666744, 0.019260870292782784, 0.006976658012717962, -0.050798892974853516, -0.0010508631821721792, -0.03999438136816025, -0.03169006481766701, -0.03545619174838066, -0.020431021228432655, -0.003565786173567176, 0.009404581040143967, 0.02199210226535797, 0.029941769316792488, 0.0477183535695076, -0.005616848822683096, -0.004917907994240522, -0.0018494513351470232, -0.03075161762535572, 0.03746480867266655, 0.0019162996904924512, -0.04623491317033768, -0.014793897047638893, 0.03504006937146187, -0.0320604033768177, -0.035166360437870026, -0.07758066803216934, -0.02869160659611225, 0.0020196724217385054, -0.0020415661856532097, -0.04038672894239426, -0.03156419098377228, -0.028839431703090668, 0.06629601120948792, -0.0679042711853981, -0.010802939534187317, 0.01754625327885151, -0.04761336371302605, 0.016817599534988403, 0.02627900429069996, -0.07281772792339325, 0.020494796335697174, -0.04936300590634346, 0.022029053419828415, -0.03799553960561752, 0.049569617956876755, -0.034975506365299225, 0.008551476523280144, -0.07173017412424088, 0.011542183347046375, 0.0012614787556231022, 0.04490935057401657, 0.07636913657188416, -0.030479280278086662, 0.08167485147714615, 0.004056548699736595, 0.0017097314121201634, 0.03505387157201767, -0.016889309510588646, 0.00611883495002985, 0.02187609300017357, -0.045998506247997284, 0.035899870097637177, 0.00953869428485632, 0.022504331544041634, -0.02218969352543354, -0.04480079561471939, -0.013386989012360573, -0.05038352683186531, -0.01662418432533741, 0.05320758372545242, 0.0353175513446331, -0.025072244927287102, 0.023318307474255562, 0.026125235483050346, 0.013301041908562183, 0.03445001691579819, -0.03243398666381836, 0.0569983646273613, -0.027078861370682716, -0.0038266917690634727, -0.004634448792785406, -0.025315387174487114, -0.04525637626647949, 0.014102837070822716, 0.03638619929552078, -0.03707398846745491, -0.046346914023160934, 0.026108961552381516, -0.007458947598934174, -0.01955278217792511, 0.04364955425262451, -0.048981986939907074, -0.02404743991792202, -0.05281165987253189, 0.05256574973464012, 0.010209242813289165, -0.01030733808875084, -0.020390527322888374, -0.04447637498378754, 0.04628940299153328, -0.03093300573527813, -0.04429420083761215, 0.007635966874659061, 0.017439309507608414, 0.009059158153831959, 0.040232785046100616, 0.007352676708251238, -0.051154766231775284, -0.010853467509150505, 0.017902320250868797, -0.05122821405529976, 0.011571818962693214, 0.028940211981534958, 0.10578903555870056, -0.07265742868185043, -0.052021048963069916, 0.017388539388775826, 0.009326273575425148, -0.011951574124395847, 0.020585520192980766, 0.03620193898677826, 0.00010426043445477262, -0.03553076833486557, -0.007663534954190254, 0.039479147642850876, -0.07602395862340927, 0.010995574295520782, 0.06805473566055298, -0.041591133922338486, 0.05839947983622551, -0.03107800893485546, -0.0011353266891092062, 0.01057374943047762, -0.020852046087384224, -0.012498180381953716, 0.04887763038277626, 0.005238793324679136, -0.025246430188417435, -0.03434636816382408, -0.02473228983581066, 0.0011826364789158106, 0.061447083950042725, 0.009534862823784351, -0.012094534933567047, -0.04186336323618889, 0.02990463562309742, 0.03819683939218521, 0.025320498272776604, -0.022241748869419098, 0.019091805443167686, 0.07071679085493088, 0.050577469170093536, -0.03925534337759018, 0.08383863419294357, 0.019090957939624786, -0.020550336688756943, -0.02036447636783123, -0.007505611050873995, 0.011643016710877419, -0.03220603987574577, 0.011510354466736317, 0.06633315235376358, 0.0010950834257528186, -0.0409277118742466, -0.01588953286409378, 0.06209805980324745, -0.012379400432109833, -0.015179344452917576, -0.006680604536086321, -0.015728311613202095, -0.03220280632376671, 0.04292827472090721, -0.02583450637757778, -0.0054880548268556595, -0.039312731474637985, -0.008253815583884716, -0.002913961187005043, 0.03541573882102966, 0.027258804067969322, 0.027258556336164474, -0.00504135899245739, 0.09259621798992157, -0.03979801759123802, 0.003634176915511489, -0.04595598578453064, -0.04801703616976738, -0.027763308957219124, 0.055503200739622116, 0.034220222383737564, 0.07589832693338394, -0.014187739230692387, -0.06127886101603508, 0.045717619359493256, 0.06324859708547592, 0.0656408816576004, 0.006692639552056789, -0.0220191553235054, 0.014407016336917877, 0.02929254062473774, 0.051749616861343384, -0.06709983199834824, -0.02506876550614834, 0.011205153539776802, 0.04330664500594139, -0.01838536374270916, -0.005407324526458979, -0.02576874941587448, 0.03907933458685875, -0.06449491530656815, -0.08504682779312134, 0.05650099366903305, 0.03480725362896919, 0.020282462239265442, 0.03531550616025925, -0.01804959401488304, -0.01589580811560154, 0.042276155203580856, 0.008936846628785133, 0.014052530750632286, -0.027112798765301704, -0.0045411912724375725, 0.021451059728860855, 0.06498999893665314, -0.05632728338241577, 0.034382451325654984, -0.0030577541328966618, 0.00482845026999712, 0.03818659484386444, -0.016841605305671692, 0.05256878212094307, 0.041680946946144104, 0.0071732355281710625, -0.02965831384062767, 0.028581559658050537, 0.0006879831198602915, 0.05571605637669563, 0.045113109052181244, 0.0037973374128341675, 0.07243841886520386, 0.008039133623242378, 0.04054376482963562, 0.07455193996429443, 0.035009875893592834, 0.005916506052017212, 0.01895243115723133, 0.06162162497639656, 0.0016729088965803385, -0.014866529032588005, 0.0877455398440361, -0.02782261371612549, 0.034520216286182404, -0.04460025578737259, 0.01635029911994934, -0.009246902540326118, -0.014252951368689537, 0.035584043711423874, 0.01593337021768093, -0.013799709267914295, 0.002275174716487527, -0.012239676900207996, -0.021741027012467384, 0.06326668709516525, -0.02667965367436409, -0.010433385148644447, 0.0013539090286940336, -0.013543481938540936, 0.038092438131570816, -0.10086716711521149, -0.051059138029813766, -0.00906356144696474, -0.027276407927274704, 0.012811660766601562, -0.07001705467700958, -0.028913334012031555, -0.04882751405239105, -0.019059957936406136, 0.019627274945378304, 0.035878557711839676, 0.0223732590675354, -0.032826751470565796, 0.015190421603620052, -0.05674298480153084, -0.03496008366346359, -0.05288022756576538, -0.041721466928720474, -0.026726311072707176, -0.060293447226285934, 0.05098463222384453, 0.006759944837540388, 0.048854727298021317, 0.00796659104526043, -0.017981447279453278, -0.018859988078475, -0.028712650761008263, 0.028061896562576294, 0.0656246766448021, -0.04468175396323204, -0.06278198957443237, 0.013927767053246498, -0.013063938356935978, -0.00248711253516376, -0.018888531252741814, -0.0399417020380497, 0.065932996571064, 0.048571497201919556, 0.026392288506031036, 0.011684953235089779, -0.009522433392703533, -0.05716890096664429, -0.05509292334318161, -0.030003264546394348, -0.0277851615101099, -0.023204611614346504, -0.024913601577281952, -0.04100871458649635, -0.019716527312994003, -0.004148678854107857, -0.020183803513646126, -0.019981268793344498, -0.015807373449206352, 0.033056989312171936, 0.04893730953335762, 0.022749828174710274, 0.021634897217154503, -0.02963845245540142, -0.026041900739073753, 0.06315750628709793, 0.006043072324246168, -0.00022154698672238737, -0.06108897924423218, -0.05889119207859039, 0.014415981248021126, 0.021707717329263687, 0.001283198595046997, -0.0080831628292799, 0.09355181455612183, -0.0012776445364579558, -0.014769840054214, 0.0008350361604243517, -0.02958839014172554, -0.013694887049496174, -0.020093465223908424, -0.017630433663725853, 0.002874199068173766, -0.06228230521082878, 0.012912362813949585, -0.021162834018468857, 0.04988802224397659, -0.07279998809099197, -0.034826748073101044, -0.022593209519982338, 0.0340692363679409, 0.044445574283599854, 0.003525819629430771, -0.04512162134051323, 0.010947600938379765, -0.05953938141465187, -0.018889760598540306, 0.003834089729934931, 0.005119482055306435, 0.023366805166006088, 0.04843127727508545, 0.007746781222522259, -0.02057705633342266, 0.0346231646835804, 0.0299980491399765, 0.06383535265922546, 0.03664753586053848, -0.047854792326688766, 0.03174707293510437, -0.026638466864824295, 0.02491363137960434, -0.007227372378110886, -0.014759276062250137, -0.04717408865690231, -0.07799683511257172, -0.01947580836713314, 0.017461609095335007, -0.017001518979668617, -0.017343569546937943, 0.05710025504231453, -0.00873682089149952, -0.012730034068226814, 0.0004500090435612947, 0.03941942751407623, 0.03340259939432144, -0.040776073932647705, 0.03665807843208313, -0.007279872894287109, 0.05349072068929672, -0.06881733983755112, 0.02234463207423687, -0.019794786348938942, -0.037513330578804016, 0.0024158719461411238, 0.0676381066441536, 0.02725287154316902, 0.040059320628643036, 0.06645874679088593, 0.03481590002775192, -0.03804853931069374, 0.05026964098215103, 0.03611324727535248, -0.024482065811753273, -0.054233867675065994, 0.0070800501853227615, -0.018276941031217575, -0.017375342547893524, -0.04962310940027237, -0.022038627415895462, 0.0414569117128849, 0.038451187312603, -0.015985170379281044, 0.0005698016029782593, 0.04277518019080162, -0.028831804171204567, 0.00395622756332159, -0.06401338428258896, -0.017560554668307304, 0.029015937820076942, -0.029644640162587166, 0.03980328515172005, 0.026514356955885887, 0.01613052561879158, 0.0467047281563282, 0.038965851068496704, -0.04653939604759216, -0.04356205463409424, 0.03955269604921341, 0.025980843231081963, -0.03293133154511452, -0.04582718759775162, -0.024004638195037842, 0.051890190690755844, 0.02711809240281582, -0.012230627238750458, -0.08233806490898132, 0.0030001867562532425, 0.046210598200559616, -0.04098570719361305, 0.04919825494289398, -0.008495022542774677, 0.02566174417734146, 0.05413227900862694, 0.001360574853606522, 0.008012691512703896, -0.017360368743538857, 0.0049484833143651485, 0.0028930469416081905, 0.014719960279762745, -0.023017408326268196, -0.028864027932286263, -0.048681799322366714, 0.0012234841706231236, 0.03934691846370697, 0.009241570718586445, 0.051907721906900406, -0.027143370360136032, -0.0489063523709774, -0.012232271023094654, 0.02141289785504341, -0.02936750277876854, 0.02011863701045513, 0.03685356304049492, 0.02587851881980896, -0.04993361234664917, -0.02317439205944538, 0.0044982642866671085, 0.013456695713102818, 0.02489202842116356, -0.010088402777910233, -0.0502130426466465, -0.02617054246366024, 0.012186071835458279, -0.013147575780749321, -0.02508898824453354, -0.0924987643957138, 0.022776080295443535, -0.017320366576313972, 0.0033419409301131964, 0.05175844207406044, 0.029470959678292274, 0.05856917425990105, 0.03884464129805565, -0.0015708815772086382, 0.017298590391874313, -0.03491492196917534, 0.05631083622574806, -0.01664901152253151, -0.049985677003860474, -0.017041301354765892, -0.04098733514547348, -0.011293421499431133, -0.027547849342226982, -0.0381615087389946, -0.032043520361185074, 0.0017938186647370458, 0.027103545144200325, -0.03269447758793831, -0.005234946962445974, -0.029104851186275482, 0.021302321925759315, -0.03395922854542732, -0.023084556683897972, -0.036447472870349884, -0.025773867964744568, -0.05015887692570686, -0.044800858944654465, 0.04523846507072449, -0.023221828043460846, 0.025594601407647133, 0.024980761110782623, 0.02483844757080078, 0.03741638362407684, 0.0066030602902174, 0.002074682619422674, 0.019263941794633865, 0.0008460774552077055, -0.06655194610357285, -0.026379138231277466, 0.011207430623471737, 0.018019860610365868, 0.0485663078725338, -0.02042592503130436, 0.021961459890007973, 0.026477420702576637, -0.04815826565027237, -0.006847835611552, 0.021092712879180908, 0.030998678877949715, -0.045937418937683105, -0.048884209245443344, -0.01522491592913866, -0.04337449371814728, 0.006857933942228556, -0.02153600938618183, -0.006788173690438271, 0.033030733466148376, 0.0255292858928442, 0.04080243408679962, -0.010288642719388008, -0.03876332566142082, 0.04310033470392227, -0.023361889645457268, 0.02413337677717209, -0.05604630708694458, 0.036988671869039536, -0.027953891083598137, 0.01838427037000656, 0.005447896663099527, 0.006354551296681166, -0.06411052495241165, 0.03988625109195709, -0.003946133889257908, 0.0000417114861193113, -0.0028141362126916647, 0.017459364607930183, -0.019422603771090508, 0.026764998212456703, -0.013211174868047237, -0.003942620940506458, -0.06522810459136963, 0.057794131338596344, -0.031631939113140106, -0.0005716070299968123, -0.016415070742368698, -0.03625737130641937, -0.033717505633831024, -0.01522558368742466, -0.027866335585713387, -0.02623956836760044, 0.048969779163599014, 0.041371483355760574, 0.06071566045284271, 0.04089929535984993, -0.01661728136241436, 0.017752012237906456, 0.014159570448100567, -0.04160439968109131, -0.010440909303724766, 0.020932845771312714, 0.05362539365887642, 0.009963339194655418, 0.058531541377305984, 0.018386686220765114, -0.05992988124489784, -0.06863795220851898, 0.045360393822193146, 0.027931122109293938, 0.021122602745890617, 0.014533346518874168, 0.029677096754312515, 0.06185649335384369, 0.04389602690935135, -0.018077872693538666, -0.01615336537361145, -0.015920491889119148, -0.02198607474565506, 0.024306949228048325, -0.004472699481993914, 0.004346088506281376, 0.0034255862701684237, -0.041224729269742966, -0.03175210580229759, 0.05149483308196068, 0.023924682289361954, 0.018210820853710175, -0.03126845881342888, -0.03469673916697502, 0.02571699768304825, -0.02097833901643753, -0.05046878010034561, -0.0018655456369742751, -0.00452609034255147, -0.037603314965963364, 0.07094696164131165, -0.01748904213309288, 0.03647512570023537, 0.04957574978470802, 0.022642536088824272, -0.02541266940534115, 0.05321167781949043, -0.01620233617722988, -0.00753288296982646, 0.04458210617303848, -0.06881271302700043, -0.020113587379455566, -0.035547297447919846, 0.07269416004419327, -0.07313678413629532, 0.03401126712560654, 0.0535326711833477, 0.0036835039500147104, 0.028309620916843414, -0.0463845320045948, -0.03222072497010231, 0.026607200503349304, -0.0389200896024704, 0.08414626121520996, 0.023431792855262756, -0.06328421831130981, 0.05086580663919449, 0.017948154360055923, -0.08730265498161316, 0.02711777575314045, 0.025697605684399605, -0.0153985396027565, 0.013032405637204647, 0.048459019511938095, -0.05167783796787262, 0.005647612269967794, -0.03885994479060173, 0.03687995299696922, -0.05048079416155815, 0.014373947866261005, 0.012420122511684895, -0.05952110514044762, -0.01697840914130211, 0.026590954512357712, -0.007795372046530247, 0.004175541922450066, 0.010013067163527012, -0.060200393199920654, -0.062333062291145325, 0.001030695391818881, 0.015877647325396538, -0.046844519674777985, 0.0016555716283619404, -0.031830690801143646, -0.01358058676123619, 0.022549178451299667, 0.012557356618344784, -0.018089482560753822, -0.014181514270603657, 0.015330564230680466, -0.0471438504755497, -0.04110557585954666, 0.06158214807510376, 0.01217490341514349, -0.020091423764824867, 0.024715978652238846, -0.011785919778048992, 0.011073626577854156, 0.04461309313774109, -0.011633875779807568, 0.026447134092450142, -0.08502298593521118, -0.012582164257764816, 0.00698606064543128, 0.022752128541469574, -0.0027338615618646145, -0.008349589072167873, 0.047225743532180786, 0.06114214286208153, 0.008364086039364338, 0.01697658561170101, -0.02748805284500122, -0.02454451099038124, 0.02316002920269966, -0.04183095693588257, 0.03525874763727188, -0.00037909953971393406, -0.043499335646629333, -0.027869822457432747, -0.022907758131623268, 0.0019884370267391205, 0.06003338098526001, -0.04190609231591225, -0.009081536903977394, 0.029225781559944153, -0.024069657549262047, -0.04219862073659897, -0.08559928834438324, -0.02706403099000454, -0.05755699798464775, 0.026728270575404167, 0.016789276152849197, -0.027641979977488518, 0.019094740971922874, -0.026019083335995674, -0.053681228309869766, -0.0014235820854082704, 0.01648068055510521, -0.03287969529628754, 0.039715759456157684, 0.03892767056822777, -0.06591182202100754, 0.018466873094439507, 0.05005987361073494, -0.014768675900995731, 0.028053591027855873, 0.004681241232901812, 0.00415149237960577, 0.03713922202587128, 0.042777273803949356, -0.03944569081068039, -0.016947919502854347, -0.07658489048480988, -0.04339127242565155, -0.03240498900413513, -0.0012323776027187705, 0.06076378747820854 ]
Bharathdamu/wav2vec2-model-hindi-stt
[]
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: es tags: - audio - automatic-speech-recognition datasets: - common_voice --- # Wav2Vec2 Spanish Wav2Vec2 model pre-trained using the Spanish portion of the Common Voice dataset. The model is trained with Flax and using TPUs sponsored by Google since this is part of the [Flax/Jax Community Week](https://discss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104) organised by HuggingFace. ## Model description The model used for training is [Wav2Vec2](https://ai.facebook.com/blog/wav2vec-20-learning-the-structure-of-speech-from-raw-audio/) by FacebookAI. It was introduced in the paper "wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations" by Alexei Baevski, Henry Zhou, Abdelrahman Mohamed, and Michael Auli (https://arxiv.org/abs/2006.11477). This model is available in the 🤗 [Model Hub](https://huggingface.co/facebook/wav2vec2-base-960h). ## Training data Spanish portion of [Common Voice](https://commonvoice.mozilla.org/en/datasets). Common Voice is an open source, multi-language dataset of voices part of Mozilla's initiative to help teach machines how real people speak. The dataset is also available in the 🤗 [Datasets](https://huggingface.co/datasets/common_voice) library. ## Team members - María Grandury ([@mariagrandury](https://github.com/mariagrandury)) - Manuel Romero ([@mrm8488](https://huggingface.co/mrm8488)) - Eduardo González Ponferrada ([@edugp](https://huggingface.co/edugp)) - pcuenq ([@pcuenq](https://huggingface.co/pcuenq))
[ -0.03163177892565727, -0.01298438012599945, -0.01810360513627529, 0.03919432312250137, 0.03492564707994461, 0.03891526535153389, -0.026079315692186356, 0.0024315654300153255, -0.006344118155539036, 0.05333061143755913, 0.019372137263417244, -0.0158742293715477, 0.008657250553369522, 0.017666468396782875, -0.031312670558691025, -0.044520147144794464, -0.035721808671951294, 0.009408768266439438, -0.04258115962147713, -0.002486167475581169, 0.0048815724439918995, 0.03200578689575195, -0.018694821745157242, 0.02782559022307396, -0.013887372799217701, 0.035306449979543686, -0.002701256889849901, 0.012288550846278667, -0.0008784286910668015, -0.04337621107697487, -0.0014648076612502337, -0.032191015779972076, -0.03188822790980339, -0.033078353852033615, -0.019484711810946465, 0.0002632599207572639, 0.014123491011559963, 0.0223858579993248, 0.040576960891485214, 0.033059947192668915, -0.005897927097976208, -0.003831288078799844, 0.007408267352730036, -0.03926306590437889, 0.024345843121409416, 0.013217145577073097, -0.043318770825862885, -0.026508264243602753, 0.022724293172359467, -0.019380556419491768, -0.03722258657217026, -0.07915337383747101, -0.02681799978017807, 0.008000453002750874, -0.014195316471159458, -0.04353546351194382, -0.0435754731297493, -0.019735708832740784, 0.08034093677997589, -0.05098944529891014, -0.022852739319205284, 0.028090989217162132, -0.059795528650283813, 0.008937372826039791, 0.043058060109615326, -0.07390837371349335, 0.01953490823507309, -0.04997733235359192, 0.016312748193740845, -0.046189531683921814, 0.04195264354348183, -0.04399699717760086, 0.008116574957966805, -0.07862682640552521, 0.000995782669633627, -0.0069761271588504314, 0.053009048104286194, 0.06134971231222153, -0.043380580842494965, 0.076130211353302, 0.01682530902326107, 0.018500881269574165, 0.0380338579416275, -0.028505174443125725, -0.0007391315884888172, 0.03516687825322151, -0.04882808402180672, 0.020386215299367905, 0.03102792799472809, 0.034094005823135376, -0.01817469857633114, -0.03606140986084938, -0.013156342320144176, -0.04808314889669418, 0.00860383827239275, 0.06408858299255371, 0.05807166546583176, -0.034843433648347855, 0.03782619535923004, 0.018820956349372864, 0.015291514806449413, 0.04008682444691658, -0.0217842198908329, 0.06386833637952805, -0.03529532253742218, -0.014801898039877415, 0.00011987447214778513, -0.03243909403681755, -0.04925421252846718, 0.01813489943742752, 0.034284621477127075, -0.032567333430051804, -0.040473032742738724, 0.039055436849594116, 0.000513568811584264, -0.029237840324640274, 0.052148234099149704, -0.04372195154428482, -0.03810350224375725, -0.04217349365353584, 0.06753793358802795, 0.01843114010989666, 0.00549499923363328, -0.016887977719306946, -0.05872252583503723, 0.036918532103300095, -0.008246065117418766, -0.03241376578807831, 0.01092952024191618, 0.008325491100549698, 0.008442692458629608, 0.035372886806726456, 0.0029787616804242134, -0.03857193514704704, -0.009592697955667973, 0.019306885078549385, -0.05216256529092789, -0.0003376064414624125, 0.02631785348057747, 0.1051049530506134, -0.07058487087488174, -0.05046377331018448, 0.014747208915650845, 0.01650957018136978, -0.005752515979111195, 0.016197916120290756, 0.039708320051431656, -0.001873292145319283, -0.047516629099845886, 0.002600862877443433, 0.041292909532785416, -0.076900415122509, 0.004406627733260393, 0.053427424281835556, -0.04106571152806282, 0.06546393781900406, -0.02807767130434513, -0.004181619267910719, 0.02190638706088066, -0.01941075548529625, -0.01630064845085144, 0.0463377982378006, -0.005284118000417948, -0.019297366961836815, -0.04271684214472771, -0.03190770000219345, 0.005026094149798155, 0.06478800624608994, 0.010062318295240402, -0.020726708695292473, -0.04443228989839554, 0.03350842744112015, 0.04293857887387276, 0.02935369871556759, -0.023937782272696495, 0.029659664258360863, 0.07800877094268799, 0.052295152097940445, -0.031847935169935226, 0.07224871218204498, 0.014123125933110714, -0.018850943073630333, -0.039043087512254715, 0.0076729850843548775, 0.007188528776168823, -0.029178759083151817, 0.00009192356810672209, 0.06415517628192902, 0.001398493885062635, -0.036166176199913025, -0.03196316584944725, 0.052826620638370514, -0.02275150455534458, -0.014791229739785194, -0.004968240857124329, -0.02346714586019516, -0.03656456619501114, 0.04272923991084099, -0.032989904284477234, 0.0012683691456913948, -0.02659423276782036, -0.024513525888323784, -0.009898428805172443, 0.04083729907870293, 0.0094269048422575, 0.03914596885442734, 0.005329485516995192, 0.08851483464241028, -0.03216973692178726, 0.009162078611552715, -0.049877557903528214, -0.05843523144721985, -0.01870834082365036, 0.060200903564691544, 0.039979998022317886, 0.07377394288778305, -0.010998986661434174, -0.05867534130811691, 0.03035202994942665, 0.07407678663730621, 0.05565324053168297, 0.00968643557280302, -0.03717411682009697, -0.00822058692574501, 0.04054928943514824, 0.060941968113183975, -0.04620633274316788, -0.031339727342128754, 0.002570135984569788, 0.04402253031730652, -0.016094118356704712, 0.0008933120407164097, -0.025577181950211525, 0.03660174086689949, -0.07468688488006592, -0.09200264513492584, 0.055200304836034775, 0.02655196003615856, 0.00453733978793025, 0.03460739552974701, -0.03177628666162491, -0.009773357771337032, 0.040620047599077225, -0.00037244026316329837, 0.018816674128174782, -0.038572341203689575, 0.0014859514776617289, 0.014153012074530125, 0.05709884315729141, -0.06205599009990692, 0.038875553756952286, -0.009829036891460419, -0.0024391766637563705, 0.034959979355335236, -0.015643639490008354, 0.051508497446775436, 0.03743977099657059, -0.002470490289852023, -0.02077239379286766, 0.02034546062350273, 0.015442508272826672, 0.05112757161259651, 0.03574701398611069, -0.003569358494132757, 0.06053877994418144, 0.00927712768316269, 0.04051848128437996, 0.0741378590464592, 0.03611753135919571, 0.002402149373665452, 0.029355637729167938, 0.07071010768413544, 0.0022267543245106936, -0.019270991906523705, 0.08745770156383514, -0.03263262286782265, 0.025303101167082787, -0.029114626348018646, 0.008347190916538239, -0.0027289455756545067, -0.020070334896445274, 0.041731566190719604, 0.01014410238713026, -0.027874253690242767, 0.005609109532088041, -0.010901407338678837, -0.02470739372074604, 0.06931941956281662, -0.019461875781416893, -0.0057835448533296585, -0.008398961275815964, -0.008411827497184277, 0.017911860719323158, -0.08526003360748291, -0.05066600814461708, -0.0021838166285306215, -0.03188431262969971, 0.005025788210332394, -0.054017696529626846, -0.03400277718901634, -0.0528128519654274, -0.014150907285511494, 0.02535484917461872, 0.02035238780081272, 0.02095312997698784, -0.02505197376012802, 0.004924476612359285, -0.04740902781486511, -0.046278633177280426, -0.04766792431473732, -0.03240412846207619, -0.019569357857108116, -0.06272554397583008, 0.038298726081848145, 0.01580190286040306, 0.062195271253585815, -0.001299259951338172, -0.016596795991063118, -0.030108517035841942, -0.03649640083312988, 0.041648924350738525, 0.054761406034231186, -0.0378035344183445, -0.06085072457790375, 0.00912223756313324, -0.0012221727520227432, 0.020178530365228653, -0.012324370443820953, -0.028625238686800003, 0.06558958441019058, 0.05421210452914238, 0.029239077121019363, 0.015347354114055634, -0.01155491080135107, -0.03318215534090996, -0.05854574218392372, -0.037943337112665176, -0.029312508180737495, -0.013781087473034859, -0.03176527097821236, -0.039504341781139374, -0.015319503843784332, -0.01410718820989132, -0.015195555053651333, -0.0057531907223165035, -0.0035232396330684423, 0.038759298622608185, 0.046033553779125214, 0.027983104810118675, 0.01659509912133217, -0.037329383194446564, -0.02676190249621868, 0.0693197026848793, 0.008138463832437992, -0.01397236343473196, -0.057190146297216415, -0.047485269606113434, 0.025569545105099678, 0.02247992344200611, 0.006705217529088259, 0.003737240331247449, 0.09128618240356445, 0.0070957825519144535, -0.007637577131390572, 0.020998703315854073, -0.025776773691177368, -0.024056021124124527, -0.010812324471771717, -0.012127544730901718, -0.020870883017778397, -0.05895457789301872, -0.008701409213244915, -0.01950216107070446, 0.0570620596408844, -0.07747668027877808, -0.02840448170900345, -0.03291203826665878, 0.0251601692289114, 0.04387713968753815, -0.007832926698029041, -0.04424835741519928, 0.005543048027902842, -0.06413111090660095, -0.020408576354384422, 0.012141348794102669, -0.0006818028050474823, 0.030179157853126526, 0.05342838540673256, 0.009179786778986454, -0.027939150109887123, 0.04221125319600105, 0.023790424689650536, 0.06605241447687149, 0.03931095823645592, -0.052496567368507385, 0.03346966207027435, -0.03252584487199783, 0.020957259461283684, -0.009920738637447357, -0.012225321494042873, -0.0445108488202095, -0.07242132723331451, -0.01046257745474577, 0.010818948969244957, -0.01640864834189415, -0.016764715313911438, 0.05542217940092087, -0.007570356596261263, 0.014753163792192936, -0.00693614361807704, 0.0164034403860569, 0.03596808761358261, -0.04899561032652855, 0.05178767070174217, -0.007127427961677313, 0.043312497437000275, -0.0564010888338089, 0.021170392632484436, -0.021365439519286156, -0.038659073412418365, 0.003377735847607255, 0.06727773696184158, 0.03182315453886986, 0.053246524184942245, 0.07087549567222595, 0.024638859555125237, -0.03758442774415016, 0.04671163484454155, 0.02984105609357357, -0.03074808046221733, -0.06233198568224907, 0.0008085223962552845, -0.023769110441207886, -0.03392433002591133, -0.022999485954642296, -0.013635916635394096, 0.05041813477873802, 0.04564869776368141, -0.012011168524622917, -0.021110834553837776, 0.03361327573657036, -0.029583310708403587, 0.0009244875982403755, -0.06080673635005951, -0.027377694845199585, 0.012810972519218922, -0.009599119424819946, 0.03392850235104561, 0.029809948056936264, 0.013791858218610287, 0.03286650404334068, 0.046852219849824905, -0.03403239697217941, -0.03754083812236786, 0.03888688236474991, 0.014874788001179695, -0.034938421100378036, -0.047157030552625656, -0.02565164491534233, 0.058276865631341934, 0.02954806201159954, 0.002464970573782921, -0.07495762407779694, -0.00654791621491313, 0.05025210231542587, -0.03997385874390602, 0.053114425390958786, -0.010215121321380138, 0.025316376239061356, 0.053389497101306915, 0.00800777692347765, 0.031922876834869385, -0.020816469565033913, 0.007944096811115742, -0.01131622027605772, 0.009242216125130653, -0.007044505327939987, -0.037466902285814285, -0.0643579289317131, 0.005050690844655037, 0.041795115917921066, 0.00920064840465784, 0.04861527308821678, -0.0379328578710556, -0.048306580632925034, -0.016558390110731125, 0.02692078799009323, -0.03599042445421219, 0.01964450813829899, 0.02466362714767456, 0.036900874227285385, -0.04540184512734413, -0.029796555638313293, 0.008745449595153332, 0.012174718081951141, 0.026784684509038925, -0.00028620328521355987, -0.04985514655709267, -0.03249882534146309, 0.013081043027341366, -0.023540744557976723, -0.030239222571253777, -0.0793442502617836, 0.02000618353486061, -0.01995793543756008, 0.00587068684399128, 0.04770151898264885, 0.030718136578798294, 0.06255941838026047, 0.04440964758396149, 0.0066620223224163055, 0.01438367459923029, -0.041154276579618454, 0.04341057315468788, -0.025360925123095512, -0.04102758318185806, -0.010950278490781784, -0.03541942313313484, -0.007211711257696152, -0.04180976748466492, -0.03928263485431671, -0.039693549275398254, 0.008603147231042385, 0.037779301404953, -0.03853428363800049, 0.01642051339149475, -0.031095953658223152, 0.014512758702039719, -0.01623835414648056, -0.01406644843518734, -0.01783495582640171, -0.034828148782253265, -0.049242742359638214, -0.050828494131565094, 0.04955912381410599, -0.03205614537000656, 0.03636372089385986, 0.02225302904844284, 0.030284395441412926, 0.02564092166721821, 0.0033842783886939287, 0.00005099762711324729, 0.01563984341919422, -0.006371469236910343, -0.053840093314647675, -0.011993622407317162, 0.007247019559144974, 0.025724761188030243, 0.05918118357658386, -0.01846611127257347, 0.028412820771336555, 0.026785224676132202, -0.03443550691008568, -0.005659498739987612, 0.013922370038926601, 0.027796996757388115, -0.049658000469207764, -0.037647999823093414, -0.01764935441315174, -0.047334570437669754, 0.00926334597170353, -0.011611858382821083, -0.007732819300144911, 0.030161341652274132, 0.01955961436033249, 0.05415806546807289, -0.010450528934597969, -0.028084376826882362, 0.022766264155507088, -0.019289959222078323, 0.02506757155060768, -0.054524924606084824, 0.05900447443127632, -0.03832486271858215, 0.01186277810484171, 0.008235846646130085, 0.008303883485496044, -0.05971728637814522, 0.04450036212801933, -0.009901218116283417, -0.010017426684498787, -0.011772679165005684, 0.02603338658809662, -0.009983249939978123, 0.017095135524868965, -0.03607446327805519, 0.0009443095186725259, -0.059465646743774414, 0.07056708633899689, -0.036028821021318436, 0.005161151755601168, -0.015118932351469994, -0.028563683852553368, -0.031126517802476883, -0.017681613564491272, -0.01695052906870842, -0.03256354108452797, 0.04446207731962204, 0.059869010001420975, 0.05646517127752304, 0.024049097672104836, -0.03190305829048157, 0.0006394381634891033, 0.020167198032140732, -0.0549459382891655, -0.005938057787716389, 0.021992113441228867, 0.04572347179055214, 0.03820422664284706, 0.04620876908302307, 0.025993607938289642, -0.055034197866916656, -0.07111146301031113, 0.049082014709711075, 0.029890360310673714, 0.01664693094789982, 0.0050391326658427715, 0.02713160775601864, 0.03743777424097061, 0.05012398958206177, -0.01411317940801382, -0.011474965140223503, -0.014730236493051052, -0.019222211092710495, 0.015179140493273735, -0.012036682106554508, 0.007344384212046862, 0.014241556636989117, -0.04010238125920296, -0.03130710497498512, 0.06113655865192413, 0.021493665874004364, 0.021627821028232574, -0.029814762994647026, -0.04483388736844063, 0.018328484147787094, -0.022172925993800163, -0.05352599546313286, 0.023899108171463013, -0.0020316573791205883, -0.027478141710162163, 0.07615398615598679, -0.01682702824473381, 0.008181102573871613, 0.042557574808597565, 0.019499147310853004, -0.022666601464152336, 0.04118318483233452, -0.009264442138373852, -0.0019884086214005947, 0.03496876731514931, -0.06781195104122162, -0.02728310227394104, -0.028657466173171997, 0.06684938818216324, -0.07307836413383484, 0.03064003773033619, 0.04726670682430267, 0.01484707836061716, 0.012347346171736717, -0.028860164806246758, -0.039502229541540146, 0.01835308037698269, -0.04034479334950447, 0.07364632934331894, 0.011290431022644043, -0.06901361048221588, 0.06788644194602966, 0.03835410624742508, -0.08900295197963715, 0.021335003897547722, 0.027822259813547134, -0.017242154106497765, 0.009626259095966816, 0.047034792602062225, -0.053088247776031494, 0.01642473414540291, -0.050029341131448746, 0.04101456329226494, -0.03299826756119728, 0.002308532129973173, -0.0006963049527257681, -0.059941910207271576, -0.012638362124562263, 0.017462460324168205, -0.01640627160668373, -0.007712510414421558, 0.01370778027921915, -0.06264616549015045, -0.06699442863464355, 0.00031749880872666836, 0.022514818236231804, -0.04424973949790001, -0.004965399391949177, -0.018330667167901993, 0.002856035018339753, 0.02803065814077854, 0.008158029988408089, -0.018440550193190575, -0.012602684088051319, 0.011287572793662548, -0.06717195361852646, -0.05973169207572937, 0.04809422791004181, 0.023604601621627808, -0.02010301686823368, 0.012487545609474182, -0.0032589882612228394, 0.015674293041229248, 0.03725150227546692, -0.0040235742926597595, 0.03273030370473862, -0.0769791305065155, -0.010952027514576912, 0.001049041049554944, 0.02737572230398655, 0.009154419414699078, -0.010917751118540764, 0.04089222475886345, 0.04437343403697014, 0.01964619942009449, -0.001898223184980452, -0.018550975248217583, -0.03459308296442032, 0.041021499782800674, -0.038627367466688156, 0.04180947318673134, 0.01353701576590538, -0.042837128043174744, -0.0346919521689415, -0.013514536432921886, 0.01014318224042654, 0.03886061906814575, -0.048749592155218124, -0.0004301088920328766, 0.034939926117658615, -0.01797894947230816, -0.035404007881879807, -0.08638399094343185, -0.031748246401548386, -0.053720127791166306, 0.00792339164763689, 0.02704073302447796, -0.03795968368649483, -0.0014227582141757011, -0.02573506347835064, -0.042258962988853455, 0.01865847408771515, 0.01014708261936903, -0.03966408967971802, 0.031034324318170547, 0.04246273636817932, -0.08036528527736664, 0.013945288024842739, 0.042521726340055466, -0.01744776777923107, 0.040584102272987366, 0.00668704928830266, 0.008180482313036919, 0.043057896196842194, 0.035680826753377914, -0.03661027178168297, -0.00993774738162756, -0.05677972361445427, -0.03978296369314194, -0.03160100802779198, 0.01402177195996046, 0.06616871058940887 ]
Bhumika/roberta-base-finetuned-sst2
[ "pytorch", "tensorboard", "roberta", "text-classification", "dataset:glue", "transformers", "generated_from_trainer", "model-index" ]
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 } } }
85
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en --- # Model description The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained ['MiniLM-L6-H384-uncased'](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) model and fine-tuned in on a 1B sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Google’s Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence encoder. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/all_datasets_v3_MiniLM-L6') text = "Replace me by any text you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained ['MiniLM-L6-H384-uncased'](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) which is a 6 layer version of ['microsoft/MiniLM-L12-H384-uncased'](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased) by keeping only every second layer. Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 540k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 1 billion sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [Flickr 30k](https://shannon.cs.illinois.edu/DenotationGraph/) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/229/33) | 317,695 | | [COCO 2020](COCO 2020) | [paper](https://link.springer.com/chapter/10.1007%2F978-3-319-10602-1_48) | 828,395| | [Code Search](https://huggingface.co/datasets/code_search_net) | - | 1,151,414 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 | | [Simple Wikipedia](https://cs.pomona.edu/~dkauchak/simplification/) | [paper](https://www.aclweb.org/anthology/P11-2117/) | 102,225 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Altlex](https://github.com/chridey/altlex/) | [paper](https://aclanthology.org/P16-1135.pdf) | 112,696 | | [Wikihow](https://github.com/pvl/wikihow_pairs_dataset) | [paper](https://arxiv.org/abs/1810.09305) | 128,542 | | [Sentence Compression](https://github.com/google-research-datasets/sentence-compression) | [paper](https://www.aclweb.org/anthology/D13-1155/) | 180,000 | | AllNLI ([SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) | [paper SNLI](https://doi.org/10.18653/v1/d15-1075), [paper MultiNLI](https://doi.org/10.18653/v1/n18-1101) | 277,230 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [SPECTER](https://github.com/allenai/specter) | [paper](https://doi.org/10.18653/v1/2020.acl-main.207) | 684,100 | | [S2ORC](https://github.com/allenai/s2orc) Title/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 41,769,185 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Citation | [paper](https://aclanthology.org/2020.acl-main.447/) | 52,603,982 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 116,288,806 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | SearchQA | - | 582,261 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 1,198,260 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Question | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 659,896 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [Reddit conversationnal](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 | | total | | 1,097,953,922 |
[ -0.02207392081618309, -0.014432969503104687, -0.0052805389277637005, 0.06288065016269684, 0.031808458268642426, 0.016992926597595215, -0.030507592484354973, -0.012801490724086761, -0.033581193536520004, 0.060214851051568985, 0.006230127532035112, 0.003576815826818347, 0.0007531149312853813, 0.034044697880744934, -0.03644567355513573, -0.015489949844777584, -0.029513690620660782, 0.0016591823659837246, -0.03253587707877159, 0.0040559666231274605, 0.007391374558210373, 0.004171041306108236, -0.010006098076701164, 0.014837929047644138, -0.008715344592928886, 0.004129897803068161, 0.001328600337728858, 0.028030669316649437, 0.0202803872525692, -0.049335747957229614, 0.024024592712521553, -0.025469914078712463, -0.037485379725694656, -0.0003480887971818447, -0.0010752406669780612, 0.022051872685551643, 0.005960277747362852, -0.007173929829150438, 0.018855540081858635, 0.049337491393089294, 0.0040961699560284615, 0.009970691055059433, -0.017602011561393738, -0.031230606138706207, 0.03269803151488304, 0.01853247731924057, -0.018638726323843002, -0.014881620183587074, 0.03274373337626457, -0.028288796544075012, -0.0494353249669075, -0.09241931140422821, -0.015240258537232876, 0.023057587444782257, 0.0032571216579526663, -0.01183411106467247, -0.06582892686128616, -0.03178965672850609, 0.06201166659593582, -0.06149907410144806, -0.03995611518621445, 0.016721736639738083, -0.048726070672273636, 0.00540970591828227, 0.033298298716545105, -0.046627916395664215, 0.006991233676671982, -0.052961088716983795, -0.0032757162116467953, -0.03228108212351799, 0.040167294442653656, -0.01281391829252243, 0.01850377954542637, -0.07202572375535965, -0.017304223030805588, -0.0013849936658516526, 0.03176338970661163, 0.03945291414856911, -0.027251575142145157, 0.07155496627092361, 0.011065194383263588, -0.004743923898786306, 0.029505277052521706, -0.007887777872383595, 0.01069630403071642, 0.05665042623877525, -0.046428341418504715, 0.00210594036616385, -0.011651841923594475, 0.035577625036239624, -0.02364163286983967, -0.01601073518395424, -0.018385395407676697, -0.06000977382063866, -0.02370736189186573, 0.020733697339892387, 0.033096060156822205, -0.011199429631233215, 0.02854916825890541, 0.010670265182852745, 0.02510736882686615, 0.03904661908745766, -0.028783028945326805, 0.05480469763278961, -0.019822116941213608, -0.0038710993248969316, -0.005802329163998365, -0.050612617284059525, -0.05302712693810463, 0.024701332673430443, 0.01192924939095974, -0.03026149980723858, -0.06366607546806335, 0.03457910940051079, 0.023058565333485603, -0.029718847945332527, 0.06469674408435822, -0.0239068903028965, -0.01947571337223053, -0.04504619538784027, 0.05921592935919762, -0.024991869926452637, -0.004306143149733543, -0.02625429444015026, -0.06180833280086517, 0.01819278672337532, -0.0490276925265789, -0.046191588044166565, 0.0004913074662908912, 0.008935791440308094, 0.005057545378804207, 0.032268647104501724, -0.004451487213373184, -0.0429166741669178, 0.0027531804516911507, 0.016366973519325256, -0.08466532826423645, 0.04728681966662407, 0.048684436827898026, 0.1079985499382019, -0.06238049641251564, -0.049317263066768646, 0.011391716077923775, 0.04727825149893761, -0.015586966648697853, 0.01375941839069128, 0.011945532634854317, -0.034161847084760666, -0.015223097056150436, -0.015925798565149307, 0.057935893535614014, -0.05533405765891075, -0.007324996404349804, 0.016794240102171898, -0.007719189859926701, 0.05644436553120613, -0.0605296865105629, -0.0036355291958898306, 0.012348439544439316, -0.007794036529958248, -0.012709878385066986, 0.03233284130692482, -0.018840530887246132, 0.009765245951712132, -0.013789230026304722, -0.009663503617048264, -0.003123815171420574, 0.06569419801235199, -0.015401562675833702, -0.02343844436109066, -0.04584946483373642, 0.020301518961787224, 0.028445471078157425, 0.04825453832745552, -0.030186573043465614, 0.0126189598813653, 0.07469630241394043, 0.03721694275736809, -0.024901729077100754, 0.05830473452806473, 0.00538349524140358, -0.03272957727313042, -0.01552971825003624, 0.01587267965078354, -0.00033445327426306903, -0.009717286564409733, 0.037444714456796646, 0.04960239306092262, -0.017987720668315887, -0.024145616218447685, -0.019037356600165367, 0.05241706222295761, -0.006584467366337776, 0.008518951945006847, -0.01734897866845131, -0.008033983409404755, -0.018382130190730095, 0.03208265081048012, -0.009794742800295353, -0.00412750942632556, -0.016063304618000984, -0.03594489023089409, 0.019475728273391724, 0.05057676509022713, 0.04118185117840767, 0.030168522149324417, 0.0031741836573928595, 0.09189460426568985, -0.04338347539305687, 0.013494446873664856, -0.06694892793893814, -0.05414408817887306, -0.008877269923686981, 0.030256180092692375, 0.02556711994111538, 0.0388060100376606, 0.02164194919168949, -0.035345807671546936, 0.014743481762707233, 0.04587544873356819, 0.032161593437194824, 0.04318176954984665, -0.03981340676546097, -0.021710706874728203, 0.028446139767766, 0.05640065670013428, -0.03735166788101196, -0.023274902254343033, 0.029684610664844513, 0.05648162588477135, -0.009981942363083363, -0.003985706716775894, -0.01160724088549614, 0.024206645786762238, -0.04578229784965515, -0.05747058242559433, 0.021669797599315643, 0.02994988113641739, -0.01378637831658125, 0.0403437614440918, -0.016990361735224724, -0.025511469691991806, 0.047353677451610565, -0.031861186027526855, -0.008818745613098145, -0.04860236868262291, -0.008653709664940834, 0.029849980026483536, 0.04608422890305519, -0.02338203601539135, 0.01732742041349411, 0.01569279469549656, 0.013883868232369423, 0.031091395765542984, 0.009568329900503159, 0.013880761340260506, 0.06910895556211472, -0.008944207802414894, 0.0014158660778775811, 0.03483488783240318, 0.016702033579349518, 0.0472397617995739, 0.05725941061973572, -0.01419414859265089, 0.07579397410154343, 0.022382883355021477, 0.046539198607206345, 0.07142112404108047, 0.02323811687529087, 0.01841387152671814, 0.05846403166651726, 0.06249695643782616, 0.006826417986303568, 0.007502254564315081, 0.06676093488931656, -0.04096300154924393, 0.03546780347824097, -0.05005579814314842, 0.02740980125963688, -0.0018695193575695157, -0.008567748591303825, 0.05617588758468628, 0.007857220247387886, -0.009246674366295338, -0.003034495748579502, -0.02054322138428688, -0.03691290318965912, 0.04042379558086395, -0.01440905500203371, 0.02637164667248726, 0.02016599290072918, -0.03039006143808365, 0.01962360367178917, -0.07590723782777786, -0.07292268425226212, 0.01816023327410221, -0.028543826192617416, 0.00022431035176850855, -0.07968252152204514, -0.043413564562797546, -0.05843352526426315, -0.020362678915262222, 0.030735518783330917, 0.02300134487450123, 0.017149493098258972, -0.029431486502289772, 0.024711502715945244, -0.03094361536204815, -0.019720274955034256, -0.06951716542243958, -0.03639814630150795, -0.04371935874223709, -0.05406027287244797, 0.03989723324775696, 0.0034041155595332384, 0.024159826338291168, -0.006346840877085924, -0.008650287054479122, -0.03509094938635826, -0.01496441476047039, 0.044570185244083405, 0.02343655377626419, -0.01845628209412098, -0.036322370171546936, 0.007993243634700775, -0.016949115321040154, 0.003471254138275981, -0.049680594354867935, -0.02155291847884655, 0.07153981178998947, 0.03734156861901283, 0.037459712475538254, 0.020020660012960434, -0.020992644131183624, -0.04353588819503784, -0.04625159874558449, -0.018710268661379814, -0.056013770401477814, -0.030843937769532204, -0.03451637551188469, -0.0504644475877285, -0.010341047309339046, -0.007576300296932459, -0.021006779745221138, 0.013516772538423538, 0.02043045125901699, 0.04283639043569565, 0.04132750257849693, 0.044093839824199677, 0.007968584075570107, -0.03387227654457092, -0.017101239413022995, 0.08117236942052841, -0.0007772220997139812, 0.026432504877448082, -0.06735911965370178, -0.04467898607254028, 0.04016313701868057, 0.027611223980784416, 0.007626357488334179, 0.002001815242692828, 0.11404389888048172, 0.013486705720424652, -0.001777922734618187, 0.029209323227405548, 0.02239791490137577, -0.01007685624063015, 0.00215857638977468, -0.0129072992131114, -0.02445589005947113, -0.05298394709825516, -0.018871694803237915, -0.06323567032814026, 0.04517314210534096, -0.07215851545333862, -0.04548744112253189, -0.012278827838599682, 0.03351524472236633, 0.026581857353448868, 0.016427669674158096, -0.02899262309074402, 0.002610012423247099, -0.03056138940155506, -0.024289557710289955, 0.01712021790444851, 0.006088189780712128, 0.015830211341381073, 0.04508962109684944, 0.011167292483150959, -0.037851568311452866, 0.035016532987356186, 0.0275542214512825, 0.04212084412574768, 0.03094758465886116, -0.0407709963619709, 0.05264432728290558, -0.013998247683048248, 0.03039686009287834, 0.003740668063983321, -0.02707100473344326, -0.06933483481407166, -0.0845695436000824, -0.011831642128527164, 0.012678203172981739, -0.031683068722486496, 0.021855048835277557, 0.04648603871464729, -0.042509566992521286, -0.011922559700906277, 0.0031617230270057917, 0.005909085739403963, 0.02686847560107708, -0.04522234946489334, 0.04938337951898575, -0.0227230042219162, 0.024209804832935333, -0.05941138416528702, 0.0020946001168340445, -0.023120062425732613, -0.0528988316655159, 0.019397156313061714, 0.07621762156486511, 0.025138702243566513, 0.059370171278715134, 0.059967078268527985, 0.05416567251086235, -0.04340188950300217, 0.06232694908976555, 0.04420541226863861, 0.0030264463275671005, -0.059171441942453384, -0.005400565918534994, -0.010259457863867283, -0.014524842612445354, -0.02700105868279934, -0.023109862580895424, 0.03239886462688446, 0.03787921741604805, 0.006223663687705994, -0.005037903320044279, 0.007138438522815704, -0.0334470309317112, -0.013740602880716324, -0.08326978981494904, -0.02561909891664982, -0.011576049961149693, -0.04144448786973953, 0.05421935021877289, 0.043211620301008224, 0.01915121078491211, 0.03823941573500633, 0.05207161232829094, -0.026026347652077675, -0.056540824472904205, 0.03396027162671089, 0.039508137851953506, -0.05259249359369278, -0.06074601411819458, -0.04209676757454872, 0.04750022292137146, 0.050830841064453125, -0.01709301955997944, -0.08015627413988113, 0.015104936435818672, 0.06381713598966599, -0.04121840372681618, 0.04819362983107567, -0.0010879538021981716, 0.056794989854097366, 0.06813694536685944, -0.0038196572568267584, 0.013978246599435806, -0.011354726739227772, 0.010269561782479286, 0.0019508522236719728, 0.050997231155633926, -0.026122799143195152, -0.052807509899139404, -0.04001159220933914, 0.03826795145869255, 0.03685644268989563, 0.038829658180475235, 0.054297614842653275, -0.03602685406804085, -0.07006140053272247, -0.011783789843320847, 0.010868052951991558, -0.03231805935502052, 0.0010042281355708838, 0.012815086171030998, 0.05978957191109657, -0.0555519238114357, -0.022083498537540436, -0.05544138699769974, 0.011600365862250328, 0.0300656296312809, -0.01000855304300785, -0.036206647753715515, -0.051768526434898376, 0.010692455805838108, -0.012015319429337978, -0.015785127878189087, -0.0992511659860611, 0.003505149856209755, -0.000374040100723505, -0.025454018265008926, 0.0533190555870533, 0.05514843761920929, 0.06719508767127991, 0.02728528156876564, -0.016809530556201935, 0.029297536239027977, -0.03293508663773537, 0.03061128780245781, -0.011553584598004818, -0.035266175866127014, -0.009499451145529747, -0.07498728483915329, -0.02304278127849102, -0.03805844113230705, -0.03292079269886017, -0.035362713038921356, -0.046204131096601486, 0.0018779549282044172, -0.028258169069886208, 0.02420179545879364, -0.0061989109963178635, 0.005130303557962179, -0.04280935600399971, -0.01354331336915493, -0.017310146242380142, -0.048867546021938324, -0.061050597578287125, -0.033182594925165176, 0.005123510956764221, 0.009360969997942448, 0.016061879694461823, 0.02132020704448223, 0.005436686333268881, 0.02071882225573063, 0.012874373234808445, -0.01780860684812069, 0.033753421157598495, 0.007171141915023327, -0.04071957990527153, -0.018199555575847626, 0.008138825185596943, 0.005582286976277828, 0.013616873882710934, -0.025601498782634735, 0.029705384746193886, 0.021667253226041794, -0.034081973135471344, -0.015605459921061993, 0.03475981578230858, 0.0064910161308944225, -0.08225051313638687, -0.02174004726111889, -0.02001398429274559, -0.0540923997759819, 0.020373014733195305, 0.008862149901688099, -0.01374538242816925, -0.007558853831142187, 0.03064682148396969, 0.014032323844730854, 0.002643416402861476, -0.021991120651364326, 0.012690946459770203, -0.03596409782767296, 0.03811614587903023, -0.07705837488174438, 0.034518029540777206, -0.0483587346971035, 0.008249727077782154, -0.02092667855322361, -0.00629393570125103, -0.03680719807744026, 0.048128869384527206, -0.01550989504903555, -0.0033543240278959274, -0.014083039946854115, 0.03664334490895271, -0.03669437766075134, 0.04310397803783417, -0.01367261353880167, 0.008445552550256252, -0.0353136844933033, 0.06397286802530289, -0.04070169851183891, -0.010317888110876083, -0.009658756665885448, -0.019403507933020592, -0.032692428678274155, -0.015326450578868389, -0.032280441373586655, -0.025556830689311028, 0.051104553043842316, 0.03676483407616615, 0.03096454031765461, 0.03410441800951958, 0.005208938382565975, 0.02156222239136696, 0.012988317757844925, -0.06295373290777206, -0.034780073910951614, -0.00033500223071314394, 0.031290650367736816, -0.0017931679030880332, 0.06791942566633224, 0.03587161749601364, -0.051386959850788116, -0.047896068543195724, 0.061021026223897934, 0.016232924535870552, -0.007841053418815136, -0.003629384096711874, 0.027934761717915535, 0.06571928411722183, 0.02811458148062229, -0.038146551698446274, -0.012746045365929604, 0.007810000795871019, -0.020051484927535057, 0.017156923189759254, -0.0009119314490817487, 0.020234152674674988, 0.0023665670305490494, -0.035351984202861786, -0.024795645847916603, 0.06872252374887466, 0.02707670070230961, 0.0229343194514513, 0.001896581845358014, -0.028411872684955597, 0.015326494351029396, 0.0059309592470526695, -0.0635276734828949, -0.023469574749469757, 0.020496588200330734, -0.040082626044750214, 0.06121993809938431, -0.03993566706776619, -0.0012062527239322662, 0.057598501443862915, -0.0019779347348958254, -0.004135173745453358, 0.03698620945215225, -0.03546905517578125, -0.0014019949594512582, 0.06034495308995247, -0.07244005799293518, -0.004839210771024227, -0.029480405151844025, 0.07174768298864365, -0.05070894956588745, 0.06963343918323517, 0.032000087201595306, 0.0362929068505764, 0.02923089638352394, 0.0007913640583865345, -0.05825198069214821, 0.020492244511842728, -0.03529560565948486, 0.07938379049301147, 0.008284864947199821, -0.05310004949569702, 0.06591126322746277, 0.01928182877600193, -0.06703273206949234, 0.04014107584953308, 0.03348187357187271, 0.01269823219627142, 0.02053149975836277, 0.0333232544362545, -0.08239305019378662, -0.004881495609879494, -0.030423777177929878, 0.057334091514348984, -0.06545274704694748, -0.012126689776778221, 0.0042950548231601715, -0.0379621759057045, -0.025596635416150093, 0.048711147159338, -0.028540562838315964, -0.0020295539870858192, 0.021961329504847527, -0.07790965586900711, -0.06890079379081726, -0.01249442994594574, 0.006377751007676125, -0.020295480266213417, 0.009037780575454235, -0.029632704332470894, -0.010355256497859955, 0.016634071245789528, 0.0008339681662619114, -0.035598523914813995, 0.007325984537601471, 0.013325636275112629, -0.038149550557136536, -0.0344369150698185, 0.025464486330747604, 0.01612081378698349, -0.015480109490454197, 0.01743931509554386, -0.044364430010318756, 0.026233501732349396, 0.013382679782807827, -0.001787844579666853, 0.028239330276846886, -0.034467313438653946, 0.0034001008607447147, 0.024367667734622955, 0.0027306177653372288, 0.012919584289193153, -0.014933091588318348, 0.04132474586367607, 0.019529523327946663, 0.03172920271754265, 0.0045308079570531845, -0.012733928859233856, -0.026436056941747665, 0.03573397547006607, -0.03667374700307846, 0.010815398767590523, -0.003084946656599641, -0.046306170523166656, -0.02992979809641838, -0.023659488186240196, -0.010602602735161781, 0.05166659876704216, -0.04403388500213623, 0.008439621888101101, 0.05411713942885399, -0.04417160525918007, -0.033368732780218124, -0.08328031748533249, -0.017775239422917366, -0.04125414416193962, 0.025349652394652367, 0.014175886288285255, -0.01640276238322258, 0.015726113691926003, -0.0316329188644886, -0.03363803029060364, 0.05031191557645798, 0.015603120438754559, -0.04667353257536888, 0.05684269219636917, 0.040851399302482605, -0.03445173799991608, 0.01345024723559618, 0.04363469406962395, -0.05757209286093712, 0.023206917569041252, 0.02263757959008217, 0.02806374430656433, 0.029995610937476158, 0.037697337567806244, -0.026537012308835983, -0.027231743559241295, -0.062035176903009415, -0.0240616612136364, -0.04930490255355835, 0.0008934965590015054, 0.07691151648759842 ]
Bia18/Beatriz
[]
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
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en license: apache-2.0 --- # all-mpnet-base-v1 This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. ## Usage (Sentence-Transformers) Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed: ``` pip install -U sentence-transformers ``` Then you can use the model like this: ```python from sentence_transformers import SentenceTransformer sentences = ["This is an example sentence", "Each sentence is converted"] model = SentenceTransformer('sentence-transformers/all-mpnet-base-v1') embeddings = model.encode(sentences) print(embeddings) ``` ## Usage (HuggingFace Transformers) Without [sentence-transformers](https://www.SBERT.net), you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. ```python from transformers import AutoTokenizer, AutoModel import torch import torch.nn.functional as F #Mean Pooling - Take attention mask into account for correct averaging def mean_pooling(model_output, attention_mask): token_embeddings = model_output[0] #First element of model_output contains all token embeddings input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float() return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9) # Sentences we want sentence embeddings for sentences = ['This is an example sentence', 'Each sentence is converted'] # Load model from HuggingFace Hub tokenizer = AutoTokenizer.from_pretrained('sentence-transformers/all-mpnet-base-v1') model = AutoModel.from_pretrained('sentence-transformers/all-mpnet-base-v1') # Tokenize sentences encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt') # Compute token embeddings with torch.no_grad(): model_output = model(**encoded_input) # Perform pooling sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask']) # Normalize embeddings sentence_embeddings = F.normalize(sentence_embeddings, p=2, dim=1) print("Sentence embeddings:") print(sentence_embeddings) ``` ## Evaluation Results For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name=sentence-transformers/all-mpnet-base-v1) ------ ## Background The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained [`microsoft/mpnet-base`](https://huggingface.co/microsoft/mpnet-base) model and fine-tuned in on a 1B sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Googles Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence and short paragraph encoder. Given an input text, it ouptuts a vector which captures the semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. By default, input text longer than 128 word pieces is truncated. ## Training procedure ### Pre-training We use the pretrained [`microsoft/mpnet-base`](https://huggingface.co/microsoft/mpnet-base). Please refer to the model card for more detailed information about the pre-training procedure. ### Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. #### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 920k steps using a batch size of 512 (64 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository: `train_script.py`. #### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 1 billion sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. | Dataset | Paper | Number of training tuples | |--------------------------------------------------------|:----------------------------------------:|:--------------------------:| | [Reddit comments (2015-2018)](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 | | [S2ORC](https://github.com/allenai/s2orc) Citation pairs (Abstracts) | [paper](https://aclanthology.org/2020.acl-main.447/) | 116,288,806 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) Duplicate question pairs | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | [PAQ](https://github.com/facebookresearch/PAQ) (Question, Answer) pairs | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [S2ORC](https://github.com/allenai/s2orc) Citation pairs (Titles) | [paper](https://aclanthology.org/2020.acl-main.447/) | 52,603,982 | | [S2ORC](https://github.com/allenai/s2orc) (Title, Abstract) | [paper](https://aclanthology.org/2020.acl-main.447/) | 41,769,185 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) (Title, Body) pairs | - | 25,316,456 | | [MS MARCO](https://microsoft.github.io/msmarco/) triplets | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) (Title, Answer) | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 1,198,260 | | [Code Search](https://huggingface.co/datasets/code_search_net) | - | 1,151,414 | | [COCO](https://cocodataset.org/#home) Image captions | [paper](https://link.springer.com/chapter/10.1007%2F978-3-319-10602-1_48) | 828,395| | [SPECTER](https://github.com/allenai/specter) citation triplets | [paper](https://doi.org/10.18653/v1/2020.acl-main.207) | 684,100 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) (Question, Answer) | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) (Title, Question) | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 659,896 | | [SearchQA](https://huggingface.co/datasets/search_qa) | [paper](https://arxiv.org/abs/1704.05179) | 582,261 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [Flickr 30k](https://shannon.cs.illinois.edu/DenotationGraph/) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/229/33) | 317,695 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) Duplicate questions (titles) | | 304,525 | | AllNLI ([SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) | [paper SNLI](https://doi.org/10.18653/v1/d15-1075), [paper MultiNLI](https://doi.org/10.18653/v1/n18-1101) | 277,230 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) Duplicate questions (bodies) | | 250,519 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_xml) Duplicate questions (titles+bodies) | | 250,460 | | [Sentence Compression](https://github.com/google-research-datasets/sentence-compression) | [paper](https://www.aclweb.org/anthology/D13-1155/) | 180,000 | | [Wikihow](https://github.com/pvl/wikihow_pairs_dataset) | [paper](https://arxiv.org/abs/1810.09305) | 128,542 | | [Altlex](https://github.com/chridey/altlex/) | [paper](https://aclanthology.org/P16-1135.pdf) | 112,696 | | [Quora Question Triplets](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Simple Wikipedia](https://cs.pomona.edu/~dkauchak/simplification/) | [paper](https://www.aclweb.org/anthology/P11-2117/) | 102,225 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [TriviaQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | **Total** | | **1,124,818,467** |
[ -0.036277659237384796, -0.01816837303340435, -0.01705782860517502, 0.04932998865842819, 0.011303219012916088, 0.042708802968263626, -0.017336737364530563, -0.0020771159324795008, -0.06599802523851395, 0.08354342728853226, 0.036867406219244, 0.009463413618505001, 0.0036245626397430897, 0.03712768480181694, -0.03349200636148453, -0.025224465876817703, -0.018045250326395035, -0.0063062445260584354, -0.029011745005846024, -0.01718292571604252, 0.020654112100601196, -0.0005360073409974575, 0.004863061476498842, 0.035245731472969055, 0.007778015453368425, 0.01917620189487934, -0.017147677019238472, 0.007670075166970491, 0.018866177648305893, -0.06497088819742203, 0.01026230864226818, -0.030329246073961258, -0.04693937301635742, -0.00044465786777436733, -0.013981159776449203, 0.023864295333623886, 0.0009176991297863424, -0.01744854636490345, 0.007555609103292227, 0.05244017764925957, -0.007946377620100975, 0.0076272860169410706, -0.033024657517671585, -0.017233023419976234, 0.041294462978839874, 0.017791684716939926, -0.03467981517314911, -0.03413672745227814, 0.04254251345992088, -0.0324295312166214, -0.044998519122600555, -0.08717954903841019, -0.023281078785657883, 0.029807018116116524, -0.027907632291316986, -0.01813453808426857, -0.08377452194690704, -0.03821519389748573, 0.06064681336283684, -0.06106417253613472, -0.03169301897287369, 0.031608592718839645, -0.05653546005487442, 0.01594405435025692, 0.008572227321565151, -0.02697477675974369, 0.0004211771010886878, -0.04393445700407028, 0.008252987638115883, -0.03514612466096878, 0.059414155781269073, -0.02684675343334675, 0.019552472978830338, -0.09367423504590988, 0.007607672363519669, -0.026121074333786964, 0.03071397915482521, 0.01842929795384407, -0.008264311589300632, 0.04578985646367073, 0.021239139139652252, -0.004443417768925428, 0.02419237047433853, -0.000660493562463671, -0.007551819086074829, 0.05211181193590164, -0.04797663167119026, 0.01421328354626894, -0.022775232791900635, 0.03935223072767258, -0.04499930143356323, -0.027215318754315376, -0.006224622949957848, -0.05695390701293945, -0.02833171747624874, 0.015342066995799541, 0.029798705130815506, -0.0006966104847379029, 0.03084840439260006, 0.016945170238614082, 0.01914920099079609, 0.03650590404868126, -0.020694920793175697, 0.062265947461128235, -0.020063376054167747, -0.0033705332316458225, -0.018086597323417664, -0.04384651407599449, -0.050011537969112396, 0.017869940027594566, 0.020486226305365562, -0.02382618375122547, -0.06510692834854126, 0.03531486541032791, 0.03640878200531006, -0.026757286861538887, 0.053774166852235794, -0.01710190437734127, -0.026183005422353745, -0.04093818739056587, 0.0536188967525959, -0.0064278170466423035, 0.012626126408576965, -0.0023139240220189095, -0.05863376334309578, 0.01514872070401907, -0.03903474286198616, -0.03215107321739197, 0.00867474265396595, 0.027016647160053253, 0.006967337802052498, 0.016128743067383766, 0.015027021057903767, -0.023549016565084457, 0.014439075253903866, 0.012943943031132221, -0.06944909691810608, 0.03107643872499466, 0.04821185767650604, 0.10873736441135406, -0.0621013306081295, -0.05003279820084572, 0.019805453717708588, 0.035842929035425186, -0.03618834167718887, 0.0004145220445934683, 0.013863891363143921, -0.04924643412232399, -0.029142582789063454, -0.013608898967504501, 0.05312586948275566, -0.048877451568841934, 0.005076897796243429, 0.02037958614528179, -0.006821135524660349, 0.0444004125893116, -0.05348600074648857, -0.015389124862849712, 0.012750760652124882, 0.01393455546349287, -0.039700303226709366, 0.04187757894396782, -0.011396059766411781, -0.026027575135231018, -0.011011188849806786, -0.025304675102233887, 0.007641690317541361, 0.06404511630535126, -0.03866546228528023, -0.027456697076559067, -0.03628017380833626, 0.02288556843996048, 0.023727750405669212, 0.044522035866975784, -0.023882640525698662, 0.011967374943196774, 0.07978618144989014, 0.03325536847114563, -0.014817011542618275, 0.05378078296780586, 0.014640184119343758, -0.0215595830231905, -0.022812629118561745, -0.008761941455304623, -0.0070556821301579475, -0.0033633094280958176, 0.042267728596925735, 0.03621093928813934, -0.010502228513360023, -0.013905055820941925, 0.0003188474220223725, 0.03143971785902977, -0.003836091374978423, 0.011768579483032227, -0.026339249685406685, -0.02767678163945675, -0.0025870513636618853, 0.021624555811285973, -0.028431883081793785, 0.0022361110895872116, -0.022393861785531044, -0.04512018710374832, 0.009734380058944225, 0.028598055243492126, 0.041702285408973694, 0.03927062079310417, -0.003337726229801774, 0.07911483943462372, -0.03967374563217163, 0.010379010811448097, -0.05498470738530159, -0.02844637632369995, -0.01410370972007513, 0.01434425450861454, 0.03675752505660057, 0.04107081517577171, 0.030159151181578636, -0.02827993966639042, 0.027022533118724823, 0.05126563459634781, 0.02149971015751362, 0.041588813066482544, -0.036801863461732864, -0.01676008850336075, 0.007351968437433243, 0.07722757756710052, -0.04482052102684975, -0.01890447549521923, 0.009738055057823658, 0.02432245947420597, -0.01948273368179798, 0.014603919349610806, -0.014764306135475636, 0.01767958700656891, -0.05121781677007675, -0.056654758751392365, 0.03968527168035507, 0.02707834728062153, -0.012677840888500214, 0.03717406466603279, -0.012580281123518944, -0.014852842316031456, 0.036644358187913895, -0.011301017366349697, -0.012426375411450863, -0.05834680423140526, -0.007391013670712709, 0.0288216695189476, 0.07062580436468124, -0.03738688305020332, 0.029812296852469444, 0.01392407063394785, 0.02354157343506813, 0.04233027249574661, -0.016773156821727753, 0.02377701736986637, 0.06629680842161179, 0.006629211362451315, -0.009585531428456306, 0.04376036673784256, -0.00045153414248488843, 0.03781319409608841, 0.06475654244422913, -0.0004127820720896125, 0.0672839805483818, 0.01377505250275135, 0.03656851127743721, 0.09303012490272522, 0.015481704846024513, 0.01142843347042799, 0.06340578943490982, 0.07417396456003189, 0.0016270943451672792, -0.0005929715698584914, 0.07145167142152786, -0.04229416698217392, 0.04349284991621971, -0.0368812270462513, 0.029472144320607185, -0.0244009830057621, -0.02039395086467266, 0.03948638215661049, 0.005160038825124502, -0.005884671583771706, 0.003240722930058837, -0.010819388553500175, -0.01242925226688385, 0.05281567573547363, -0.014503781683743, 0.008234893903136253, 0.019080210477113724, -0.026883387938141823, 0.009433796629309654, -0.10178369283676147, -0.05579185113310814, 0.01330158207565546, -0.02394268848001957, -0.005674085579812527, -0.07916633039712906, -0.045164868235588074, -0.06562137603759766, -0.03126941993832588, 0.04132181778550148, 0.026551423594355583, 0.028289658948779106, -0.03241649642586708, 0.02108379639685154, -0.05628876015543938, -0.03724769502878189, -0.07582750171422958, -0.02915186621248722, -0.023730043321847916, -0.06159144639968872, 0.027395687997341156, 0.006565624848008156, 0.02670980431139469, -0.0019489651313051581, -0.02308199368417263, -0.04444821923971176, -0.010618912056088448, 0.04595477133989334, 0.005141436122357845, -0.0065681408159434795, -0.054294779896736145, 0.009005468338727951, 0.007161564193665981, -0.005355731584131718, -0.025271834805607796, -0.020520081743597984, 0.08539652824401855, 0.06413759291172028, 0.028226107358932495, 0.017371246591210365, -0.030879676342010498, -0.04501493275165558, -0.03757889196276665, -0.028578875586390495, -0.054184626787900925, -0.026919912546873093, -0.02135644480586052, -0.05841232091188431, -0.0013673771172761917, -0.030366623774170876, -0.030242010951042175, 0.0024412095081061125, 0.02940496616065502, 0.044595591723918915, 0.039898503571748734, 0.03467676043510437, 0.02218482457101345, -0.045057252049446106, -0.02474162168800831, 0.09139291197061539, -0.0013392355758696795, -0.0033543501049280167, -0.07921872287988663, -0.04091183468699455, 0.032226238399744034, 0.01726452074944973, 0.0006918273284099996, -0.03127651661634445, 0.08436071872711182, 0.01722792349755764, -0.004517998546361923, 0.015163492411375046, 0.017381109297275543, -0.022830627858638763, -0.0038866212125867605, -0.006398783065378666, -0.02281060442328453, -0.05108358711004257, -0.032842956483364105, -0.031230418011546135, 0.04372502490878105, -0.05770095810294151, -0.07241308689117432, -0.02689662016928196, 0.048066020011901855, 0.0480467788875103, 0.00906806904822588, -0.03281674534082413, -0.0035683666355907917, -0.043194275349378586, -0.0404529832303524, 0.021516578271985054, -0.007416307460516691, 0.018306884914636612, 0.04114936292171478, 0.007925784215331078, -0.02592858485877514, 0.014598210342228413, 0.039682481437921524, 0.04239007085561752, 0.024888187646865845, -0.042603448033332825, 0.02454214356839657, -0.03443417325615883, 0.029115824028849602, 0.01442854292690754, -0.028343934565782547, -0.0642474889755249, -0.09561926126480103, 0.006465533748269081, 0.02317945472896099, -0.03956523910164833, 0.012223203666508198, 0.04021807014942169, -0.03851420804858208, -0.03731253370642662, 0.03324373811483383, 0.012363006360828876, 0.05537095293402672, -0.036848779767751694, 0.050415728241205215, -0.008435491472482681, 0.03748071938753128, -0.02959427796304226, 0.007517450954765081, -0.0102844862267375, -0.03234431520104408, 0.01694236323237419, 0.06470401585102081, 0.03807039186358452, 0.0501314178109169, 0.05821250379085541, 0.043396107852458954, -0.02774197608232498, 0.053192876279354095, 0.047649458050727844, -0.010043473914265633, -0.0580529049038887, 0.011999515816569328, -0.0073400456458330154, -0.031208792701363564, -0.0037550642155110836, -0.01710153929889202, 0.034128352999687195, 0.04231745004653931, 0.027732685208320618, -0.0092611163854599, -0.002556269057095051, -0.023619936779141426, -0.030112631618976593, -0.08317000418901443, -0.009603221900761127, -0.00828584749251604, -0.027115318924188614, 0.046301405876874924, 0.036826733499765396, 0.012753970921039581, 0.031021855771541595, 0.048447683453559875, -0.000922319944947958, -0.05528369918465614, 0.05830908194184303, 0.04147022217512131, -0.07076356559991837, -0.05982319638133049, -0.05597260221838951, 0.021095184609293938, 0.061986807733774185, -0.013221227563917637, -0.07785020023584366, 0.011326977983117104, 0.06628639250993729, -0.03479376807808876, 0.069703109562397, -0.016383418813347816, 0.05109580606222153, 0.07408510893583298, -0.010372420772910118, 0.02114516869187355, -0.020050600171089172, 0.014204155653715134, 0.004713920410722494, 0.04909558594226837, -0.030957885086536407, -0.04742889851331711, -0.03273412957787514, 0.02427433431148529, 0.03767474368214607, 0.05385438725352287, 0.06632061302661896, -0.025315256789326668, -0.08336680382490158, 0.009432404302060604, 0.043903786689043045, -0.03332240879535675, 0.013471972197294235, 0.013034726493060589, 0.05548916384577751, -0.061065707355737686, -0.02741491049528122, -0.028529146686196327, 0.008184789679944515, 0.021158037707209587, 0.013948017731308937, -0.020163796842098236, -0.03912625089287758, 0.013108898885548115, -0.010537235997617245, -0.011855170130729675, -0.08014387637376785, 0.02388479746878147, -0.007649285718798637, -0.012425055727362633, 0.058539267629384995, 0.04993600398302078, 0.059181854128837585, 0.02781734988093376, -0.03430559113621712, 0.012352791614830494, -0.03953160345554352, 0.02673802711069584, -0.025684010237455368, -0.018391061574220657, 0.004996044561266899, -0.06674689054489136, -0.00435821944847703, -0.039834436029195786, -0.049523092806339264, -0.04408397525548935, -0.037845809012651443, -0.0019596777856349945, -0.02238137647509575, 0.03166859596967697, 0.0038377537857741117, 0.01748696342110634, -0.04294438660144806, -0.011904771439731121, -0.024481432512402534, -0.04092072322964668, -0.06435121595859528, -0.03926561400294304, -0.0077230241149663925, 0.010360256768763065, 0.026145486161112785, 0.006097612902522087, 0.0005131899379193783, 0.017057178542017937, 0.008206133730709553, -0.024474307894706726, 0.023608025163412094, 0.004482013639062643, -0.05950309336185455, -0.027096077799797058, 0.006478874944150448, 0.0015052721137180924, 0.02469758689403534, -0.03266429528594017, 0.020801721140742302, 0.02776424027979374, -0.02976168692111969, -0.036782458424568176, 0.01558998879045248, 0.01610640063881874, -0.07742895931005478, -0.020517371594905853, -0.025703182443976402, -0.04471777379512787, 0.005684215575456619, 0.004519302863627672, 0.00023078700178302824, -0.0007762276800349355, 0.021543003618717194, 0.020444391295313835, -0.011634675785899162, -0.023350294679403305, 0.017077729105949402, -0.03042166866362095, 0.03561801090836525, -0.07367989420890808, 0.03180721029639244, -0.03662695735692978, 0.009432419203221798, -0.02063828706741333, -0.0009554268326610327, -0.033456653356552124, 0.04873200133442879, -0.0030355919152498245, -0.019213886931538582, -0.007416716776788235, -0.008046574890613556, -0.052852701395750046, 0.0531633086502552, -0.0029565792065113783, 0.024685880169272423, -0.02269640378654003, 0.05617719143629074, -0.039574336260557175, 0.0037828467320650816, -0.008901054970920086, 0.00967625342309475, -0.014392083510756493, -0.011407697573304176, -0.021885180845856667, -0.022279847413301468, 0.03849596157670021, 0.03969364985823631, 0.021394632756710052, 0.03278803825378418, -0.022001095116138458, 0.01943712867796421, -0.00006805594603065401, -0.08072913438081741, -0.04070998355746269, -0.013241258449852467, 0.018616341054439545, 0.002123042708262801, 0.07444489002227783, 0.05529344081878662, -0.03412298858165741, -0.04235158860683441, 0.040937360376119614, 0.004701216705143452, 0.0010779830627143383, 0.00044966634595766664, 0.025759831070899963, 0.04833928495645523, 0.03356552869081497, -0.03801002725958824, 0.002475708955898881, -0.0008961752755567431, -0.02170713059604168, 0.0041541182436048985, -0.002273399382829666, 0.03128392994403839, -0.011588974855840206, -0.03729677200317383, -0.041963785886764526, 0.07305587083101273, 0.037983205169439316, 0.030501393601298332, 0.0023409316781908274, -0.03707966208457947, 0.021869895979762077, 0.01752035692334175, -0.0544205866754055, -0.013684707693755627, 0.028757009655237198, -0.014211853966116905, 0.07349827140569687, -0.00951360072940588, 0.012111523188650608, 0.03933654725551605, 0.00010430393012939021, -0.016376754269003868, 0.04162713885307312, -0.044179581105709076, 0.014167039655148983, 0.06440155953168869, -0.04665933921933174, -0.02511323243379593, -0.025874128565192223, 0.04718167707324028, -0.053127139806747437, 0.060706038028001785, 0.02959318831562996, 0.02470891922712326, 0.03289579972624779, -0.042022623121738434, -0.05936159938573837, 0.025281371548771858, -0.050832439213991165, 0.07899945229291916, 0.0030859033577144146, -0.050564806908369064, 0.06851138174533844, 0.008891833946108818, -0.08284882456064224, 0.05435723811388016, 0.02744903229176998, 0.02124764584004879, 0.02747136354446411, 0.05097604915499687, -0.059329450130462646, 0.006121609825640917, -0.029097316786646843, 0.04186404123902321, -0.0719117745757103, -0.007544722408056259, 0.0002985374885611236, -0.03371898829936981, -0.007356730755418539, 0.045681457966566086, -0.03403737396001816, -0.009993798099458218, 0.015256796963512897, -0.07207774370908737, -0.040272731333971024, -0.008307034149765968, -0.0013414558488875628, 0.001144328387454152, 0.026948489248752594, -0.019775735214352608, -0.0017454890767112374, 0.018472693860530853, -0.0035457538906484842, -0.047465935349464417, 0.014022464863955975, 0.008579861372709274, -0.05921332538127899, -0.034545835107564926, 0.0049070436507463455, 0.006650383118540049, -0.019314968958497047, 0.03804650902748108, -0.004051608499139547, 0.04314304143190384, 0.0054106018505990505, 0.0007378028240054846, 0.005490052979439497, -0.034674305468797684, 0.017307912930846214, 0.030459215864539146, 0.016941213980317116, 0.017625585198402405, -0.014264462515711784, 0.03462829813361168, 0.034060824662446976, 0.026083622127771378, -0.006798938382416964, -0.029933786019682884, -0.029126951470971107, 0.029482398182153702, -0.055067893117666245, 0.02873540110886097, 0.011838095262646675, -0.03319491073489189, -0.0417221337556839, -0.012117765843868256, -0.007639347109943628, 0.047352660447359085, -0.028597082942724228, 0.01280465628951788, 0.05215248838067055, -0.02355819009244442, -0.04928504675626755, -0.07650607079267502, -0.021506991237401962, -0.026831667870283127, 0.0408824197947979, 0.02872643992304802, -0.028963975608348846, -0.01533979456871748, -0.04423709586262703, -0.018947402015328407, 0.053066421300172806, 0.014445602893829346, -0.025373907759785652, 0.05669352039694786, 0.01729360967874527, -0.03624457120895386, 0.0036900995764881372, 0.01791805401444435, -0.045451171696186066, 0.010127482004463673, 0.019244415685534477, 0.0025042558554559946, 0.0399901382625103, 0.02181837148964405, -0.02645673230290413, -0.008245745673775673, -0.05674508586525917, -0.032839417457580566, -0.03995230048894882, -0.018786484375596046, 0.07943949103355408 ]
Biasface/DDDC
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
14
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en --- # Model description The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained [`roberta-large`](https://huggingface.co/roberta-large) model and fine-tuned in on a 1B sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Google’s Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence encoder. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/all_datasets_v3_roberta-large') text = "Replace me by any text you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained [`roberta-large`](https://huggingface.co/roberta-large). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 540k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 1 billion sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [Flickr 30k](https://shannon.cs.illinois.edu/DenotationGraph/) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/229/33) | 317,695 | | [COCO 2020](COCO 2020) | [paper](https://link.springer.com/chapter/10.1007%2F978-3-319-10602-1_48) | 828,395| | [Code Search](https://huggingface.co/datasets/code_search_net) | - | 1,151,414 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 | | [Simple Wikipedia](https://cs.pomona.edu/~dkauchak/simplification/) | [paper](https://www.aclweb.org/anthology/P11-2117/) | 102,225 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Altlex](https://github.com/chridey/altlex/) | [paper](https://aclanthology.org/P16-1135.pdf) | 112,696 | | [Wikihow](https://github.com/pvl/wikihow_pairs_dataset) | [paper](https://arxiv.org/abs/1810.09305) | 128,542 | | [Sentence Compression](https://github.com/google-research-datasets/sentence-compression) | [paper](https://www.aclweb.org/anthology/D13-1155/) | 180,000 | | AllNLI ([SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) | [paper SNLI](https://doi.org/10.18653/v1/d15-1075), [paper MultiNLI](https://doi.org/10.18653/v1/n18-1101) | 277,230 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [SPECTER](https://github.com/allenai/specter) | [paper](https://doi.org/10.18653/v1/2020.acl-main.207) | 684,100 | | [S2ORC](https://github.com/allenai/s2orc) Title/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 41,769,185 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Citation | [paper](https://aclanthology.org/2020.acl-main.447/) | 52,603,982 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 116,288,806 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | SearchQA | - | 582,261 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 1,198,260 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Question | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 659,896 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [Reddit conversationnal](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 | | total | | 1,097,953,922 |
[ -0.02161542885005474, -0.014100994914770126, -0.002497150795534253, 0.06579157710075378, 0.03449465334415436, 0.020920641720294952, -0.030396878719329834, -0.016432378441095352, -0.034618426114320755, 0.05938446894288063, 0.010612167418003082, 0.0060397423803806305, -0.00041567598236724734, 0.04381738230586052, -0.035888198763132095, -0.012614202685654163, -0.029951268807053566, 0.0017367798136547208, -0.030068371444940567, -0.00431398069486022, 0.010929714888334274, -0.0008332008146680892, -0.007478879299014807, 0.016428915783762932, -0.004974751267582178, 0.0033300495706498623, 0.0017451165476813912, 0.029431022703647614, 0.01889546774327755, -0.04831172898411751, 0.025961915031075478, -0.02624925971031189, -0.03849532827734947, 0.006338316481560469, 0.000986972008831799, 0.015315323136746883, 0.01000839751213789, -0.0032135990913957357, 0.01647012121975422, 0.041457921266555786, 0.0072711799293756485, 0.013950287364423275, -0.02139209397137165, -0.035730961710214615, 0.03633107244968414, 0.010944926179945469, -0.02802983485162258, -0.01773754693567753, 0.03463708236813545, -0.025728395208716393, -0.04534607380628586, -0.09532789885997772, -0.011996066197752953, 0.028118150308728218, 0.006683177314698696, -0.009197849780321121, -0.06644448637962341, -0.02574635110795498, 0.06305424124002457, -0.06060393527150154, -0.04278379678726196, 0.016132518649101257, -0.05185476690530777, 0.006440871395170689, 0.03608428314328194, -0.04711507633328438, 0.010083258152008057, -0.05272003635764122, 0.002547305775806308, -0.03067711368203163, 0.045616939663887024, -0.013661975972354412, 0.01904268190264702, -0.07150328904390335, -0.016315383836627007, -0.0014991207281127572, 0.031115463003516197, 0.03485560789704323, -0.022755837067961693, 0.07075190544128418, 0.009343203157186508, -0.001188495079986751, 0.02300284057855606, -0.004304055590182543, 0.009012364782392979, 0.06328493356704712, -0.044783949851989746, 0.0030562521424144506, -0.004223007243126631, 0.03718169778585434, -0.026913326233625412, -0.020987212657928467, -0.019438419491052628, -0.05202459916472435, -0.024306902661919594, 0.023149894550442696, 0.03148914501070976, -0.013879182748496532, 0.02626251056790352, 0.00653948774561286, 0.021197225898504257, 0.037258777767419815, -0.029736816883087158, 0.06150180101394653, -0.01611955650150776, -0.008111071772873402, -0.008454976603388786, -0.043397776782512665, -0.051023341715335846, 0.02884071134030819, 0.016060730442404747, -0.03469603508710861, -0.06174803897738457, 0.03223134204745293, 0.02712898701429367, -0.027932077646255493, 0.061379820108413696, -0.027664154767990112, -0.028631413355469704, -0.0431506372988224, 0.06212979927659035, -0.022316159680485725, -0.0007379304151982069, -0.019434209913015366, -0.06309415400028229, 0.012517941184341908, -0.04520629718899727, -0.04571381211280823, 0.005426866002380848, 0.011993153020739555, -0.0015834682853892446, 0.023454368114471436, -0.005801681894809008, -0.04487678036093712, 0.0006313759367913008, 0.01860523223876953, -0.0835094079375267, 0.047507137060165405, 0.044983234256505966, 0.11257064342498779, -0.05770208686590195, -0.054272137582302094, 0.008477608673274517, 0.049105316400527954, -0.01105141919106245, 0.01276723388582468, 0.014786813408136368, -0.03768302500247955, -0.02069280482828617, -0.01487261988222599, 0.06075145676732063, -0.056117597967386246, -0.01188413891941309, 0.015948018059134483, -0.007535971235483885, 0.05479446426033974, -0.06400002539157867, -0.00943367276340723, 0.013349109329283237, -0.00919518806040287, -0.01317944098263979, 0.033744897693395615, -0.012003500014543533, 0.012627476826310158, -0.015951015055179596, -0.010151326656341553, 0.00212110741995275, 0.07463241368532181, -0.013799047097563744, -0.026352878659963608, -0.041257329285144806, 0.016286754980683327, 0.03174552321434021, 0.052692290395498276, -0.03101530857384205, 0.013438820838928223, 0.07126206159591675, 0.038036685436964035, -0.02792828343808651, 0.05211114138364792, 0.006807023659348488, -0.03475596383213997, -0.017397882416844368, 0.025322990491986275, 0.0012605760712176561, -0.014012961648404598, 0.041811875998973846, 0.05293780565261841, -0.021708007901906967, -0.019684629514813423, -0.0237234178930521, 0.057319823652505875, -0.0031851609237492085, 0.005101720802485943, -0.021970095112919807, -0.0071186888962984085, -0.015268908813595772, 0.03035569190979004, -0.009892519563436508, -0.005500549916177988, -0.01036295760422945, -0.03614819794893265, 0.018969455733895302, 0.046006400138139725, 0.03403451293706894, 0.032714564353227615, 0.0010243176948279142, 0.0947098433971405, -0.046155404299497604, 0.013534082099795341, -0.06865338981151581, -0.048843517899513245, -0.01436860952526331, 0.024761509150266647, 0.0255235955119133, 0.04257739335298538, 0.023443328216671944, -0.036251623183488846, 0.01695595122873783, 0.038939572870731354, 0.03738268464803696, 0.05085859075188637, -0.031085249036550522, -0.020343570038676262, 0.019481347873806953, 0.056497856974601746, -0.032376479357481, -0.02685260772705078, 0.028360746800899506, 0.056940264999866486, -0.005090813152492046, 0.00013389049854595214, -0.012418189086019993, 0.02896222099661827, -0.04162169620394707, -0.05692419037222862, 0.025988278910517693, 0.03006928227841854, -0.010104100219905376, 0.04830852895975113, -0.023651549592614174, -0.02984427660703659, 0.04441564902663231, -0.03298671543598175, -0.006796907167881727, -0.04352664574980736, -0.008860153146088123, 0.03033546172082424, 0.05060756579041481, -0.027460187673568726, 0.01782240904867649, 0.01628374308347702, 0.008830324746668339, 0.028980839997529984, 0.007345702964812517, 0.01510425191372633, 0.07317847013473511, -0.0027578521985560656, 0.007591130677610636, 0.03486602380871773, 0.020237477496266365, 0.04595761373639107, 0.05577213317155838, -0.014301893301308155, 0.06957022100687027, 0.02737876959145069, 0.04822763800621033, 0.07554405182600021, 0.020302461460232735, 0.023674417287111282, 0.062299542129039764, 0.06633451581001282, 0.009129022248089314, -0.0011747553944587708, 0.06084286421537399, -0.03497237339615822, 0.03844258189201355, -0.04941372945904732, 0.02265402115881443, -0.007811931427568197, -0.01097701583057642, 0.05448010191321373, 0.011386102996766567, -0.00888042151927948, -0.0036088095512241125, -0.020597927272319794, -0.0378970131278038, 0.044302359223365784, -0.01702173799276352, 0.028507759794592857, 0.015974830836057663, -0.029600517824292183, 0.01384429819881916, -0.0756966769695282, -0.07163667678833008, 0.024367472156882286, -0.023586232215166092, -0.00544853275641799, -0.084193654358387, -0.05075601860880852, -0.060245394706726074, -0.020132526755332947, 0.030361061915755272, 0.024573396891355515, 0.016195885837078094, -0.026627831161022186, 0.019369542598724365, -0.035574499517679214, -0.019218742847442627, -0.06235403195023537, -0.03422814980149269, -0.04347953200340271, -0.05559156462550163, 0.0355154387652874, 0.006915286183357239, 0.03002035990357399, -0.006844925228506327, -0.01603173464536667, -0.03550220653414726, -0.017934763804078102, 0.048370108008384705, 0.019733784720301628, -0.01215456798672676, -0.039146214723587036, 0.004215000197291374, -0.015667922794818878, 0.004525426309555769, -0.043932802975177765, -0.02131476253271103, 0.06859533488750458, 0.039756469428539276, 0.03673621639609337, 0.01837235689163208, -0.0230418611317873, -0.044140953570604324, -0.040166568011045456, -0.019557343795895576, -0.05680035427212715, -0.02643539570271969, -0.03717648610472679, -0.05468197539448738, -0.00494918180629611, -0.008886330761015415, -0.02267277240753174, 0.01793615147471428, 0.011937852017581463, 0.04531533643603325, 0.03721696510910988, 0.04426943138241768, 0.006853358820080757, -0.03313528373837471, -0.013957513496279716, 0.0840616524219513, 0.0002976886462420225, 0.025230396538972855, -0.06839883327484131, -0.04033535718917847, 0.03990970924496651, 0.027566010132431984, 0.007059205323457718, 0.0018289885483682156, 0.10851067304611206, 0.016139144077897072, -0.0011375857284292579, 0.029174773022532463, 0.018881265074014664, -0.016399066895246506, -0.0013133406173437834, -0.011332354508340359, -0.030542287975549698, -0.054531119763851166, -0.01914510689675808, -0.06315264105796814, 0.042519595474004745, -0.07322654873132706, -0.05337561294436455, -0.01530652865767479, 0.032108526676893234, 0.030741814523935318, 0.01575513929128647, -0.023912152275443077, -0.0009923531906679273, -0.028110772371292114, -0.02544248290359974, 0.023794634267687798, 0.0029339801985770464, 0.013087602332234383, 0.05095949396491051, 0.015142150223255157, -0.036335911601781845, 0.03961804509162903, 0.02931290492415428, 0.04525580257177353, 0.027789095416665077, -0.04379380866885185, 0.05345609411597252, -0.017109623178839684, 0.030123963952064514, 0.008042164146900177, -0.023658912628889084, -0.07172685116529465, -0.08215811103582382, -0.006234073080122471, 0.009558203630149364, -0.02808031439781189, 0.01682695932686329, 0.04350602626800537, -0.040172379463911057, -0.013232040219008923, 0.0031222228426486254, 0.000500381225720048, 0.028888480737805367, -0.050767283886671066, 0.05594780668616295, -0.014750432223081589, 0.02168670855462551, -0.051927968859672546, 0.0029149341862648726, -0.03023238480091095, -0.05170567333698273, 0.019341425970196724, 0.07644516229629517, 0.029120123013854027, 0.05379389226436615, 0.066338911652565, 0.05974022299051285, -0.04101831465959549, 0.06504328548908234, 0.04164427891373634, 0.004876306280493736, -0.05848420038819313, -0.012787321582436562, -0.01315066497772932, -0.01838081143796444, -0.03263632580637932, -0.020894456654787064, 0.032379794865846634, 0.03282858803868294, 0.008146064355969429, -0.0024678867775946856, 0.0059800478629767895, -0.03271173685789108, -0.01551108993589878, -0.08640014380216599, -0.025894315913319588, -0.016579627990722656, -0.036190107464790344, 0.04615463688969612, 0.044951312243938446, 0.01551841665059328, 0.04141654446721077, 0.05268000066280365, -0.01757657341659069, -0.05498369783163071, 0.036000125110149384, 0.03707994520664215, -0.04995220527052879, -0.05839616060256958, -0.044952843338251114, 0.04421628639101982, 0.04993005841970444, -0.014217091724276543, -0.08208764344453812, 0.015302065759897232, 0.06435398757457733, -0.04731659218668938, 0.04622700437903404, 0.0015583219937980175, 0.06118969991803169, 0.07031721621751785, -0.00937971007078886, 0.017681652680039406, -0.009485279209911823, 0.012494456022977829, 0.0003275756607763469, 0.05131421610713005, -0.02080504596233368, -0.04837963730096817, -0.03840934485197067, 0.03857188671827316, 0.03881385922431946, 0.04065418988466263, 0.056138984858989716, -0.03275848552584648, -0.066680409014225, -0.009469647891819477, 0.014607283286750317, -0.03675311058759689, 0.008172298781573772, 0.008863120339810848, 0.05447795242071152, -0.0556122250854969, -0.02602708525955677, -0.05014050751924515, 0.009338082745671272, 0.03342727944254875, -0.0043558296747505665, -0.03231074661016464, -0.058554645627737045, 0.0058211167342960835, -0.014752598479390144, -0.018926220014691353, -0.09065569937229156, 0.0026294521521776915, 0.0031149061396718025, -0.01921486295759678, 0.0510648749768734, 0.044981785118579865, 0.06864288449287415, 0.023432595655322075, -0.01960594952106476, 0.024408001452684402, -0.0326174721121788, 0.023741086944937706, -0.012248700484633446, -0.036439161747694016, -0.015610556118190289, -0.07621412724256516, -0.028632963076233864, -0.039450373500585556, -0.03094305284321308, -0.03236329182982445, -0.03378630429506302, -0.00033291883300989866, -0.02563510835170746, 0.020943811163306236, -0.007348730228841305, 0.007166765164583921, -0.04163480922579765, -0.011096267029643059, -0.017168618738651276, -0.05222231522202492, -0.05362468585371971, -0.03047858364880085, 0.007652663625776768, 0.01565527357161045, 0.016214262694120407, 0.023892873898148537, 0.006981350481510162, 0.020525960251688957, 0.006836721207946539, -0.020452367141842842, 0.027282532304525375, 0.0075571066699922085, -0.0403655469417572, -0.02448093332350254, 0.010077145881950855, 0.010272338055074215, 0.01622641459107399, -0.03482532873749733, 0.03125939145684242, 0.018940873444080353, -0.03186199069023132, -0.01867695525288582, 0.033786412328481674, 0.004918246995657682, -0.08195952326059341, -0.021834759041666985, -0.010178059339523315, -0.048155464231967926, 0.021501796320080757, 0.0033299021888524294, -0.00898074358701706, -0.00874131266027689, 0.03496405854821205, 0.015354338102042675, 0.003105219453573227, -0.016055194661021233, 0.007960542105138302, -0.041303325444459915, 0.03548470512032509, -0.07696904987096786, 0.03792783245444298, -0.04461349919438362, 0.00467735854908824, -0.02198580838739872, -0.006274616811424494, -0.03666162118315697, 0.04501572251319885, -0.015934884548187256, -0.0020201168954372406, -0.015172623097896576, 0.04021523520350456, -0.029908576980233192, 0.033623211085796356, -0.015856200829148293, 0.010769704356789589, -0.03642629459500313, 0.06542831659317017, -0.043858081102371216, -0.012267336249351501, -0.006768933031708002, -0.01945817843079567, -0.027959613129496574, -0.014199095778167248, -0.027571028098464012, -0.02188992127776146, 0.051695842295885086, 0.03924248740077019, 0.03516316041350365, 0.03087865374982357, 0.00507989339530468, 0.01933179795742035, 0.009707788936793804, -0.06925535947084427, -0.036316581070423126, -0.0043203639797866344, 0.02853412926197052, 0.0013363877078518271, 0.06463444977998734, 0.0385565347969532, -0.05166155472397804, -0.041674572974443436, 0.05924316495656967, 0.013926713727414608, -0.007302797399461269, -0.008652114309370518, 0.028135351836681366, 0.06393223255872726, 0.031018849462270737, -0.034954268485307693, -0.00809838529676199, 0.007367040496319532, -0.017967304214835167, 0.020168283954262733, 0.001368945580907166, 0.0256330668926239, 0.002008497714996338, -0.041068851947784424, -0.03154173120856285, 0.06722817569971085, 0.025869891047477722, 0.01802513562142849, 0.006416057236492634, -0.026793964207172394, 0.012999205850064754, 0.009685654193162918, -0.06402518600225449, -0.026038356125354767, 0.021812239661812782, -0.029216652736067772, 0.06465107202529907, -0.037353869527578354, -0.0010466595413163304, 0.057949457317590714, -0.0002710584085434675, -0.009195745922625065, 0.03451539948582649, -0.03039342164993286, 0.005176171660423279, 0.06004764884710312, -0.07646159827709198, -0.006274377461522818, -0.032143160700798035, 0.0710584744811058, -0.054875634610652924, 0.06904807686805725, 0.03519453480839729, 0.039285942912101746, 0.02736435830593109, 0.004899138119071722, -0.05079248175024986, 0.01322892028838396, -0.040075961500406265, 0.07678201794624329, 0.0026812131982296705, -0.051538001745939255, 0.07400287687778473, 0.02252146229147911, -0.06826773285865784, 0.045194320380687714, 0.03327299281954765, 0.013513944111764431, 0.02405366487801075, 0.03185194358229637, -0.0797785297036171, -0.0023215485271066427, -0.037320468574762344, 0.06305642426013947, -0.06262986361980438, -0.014720995910465717, 0.008627170696854591, -0.03359319269657135, -0.028935039415955544, 0.04753239080309868, -0.029454171657562256, -0.001407321891747415, 0.021969595924019814, -0.07994825392961502, -0.0647365003824234, -0.01658022031188011, 0.00588187063112855, -0.020351216197013855, 0.008384909480810165, -0.032258398830890656, -0.009063835255801678, 0.018524374812841415, -0.0034695961512625217, -0.03217832371592522, 0.005279648583382368, 0.011544560082256794, -0.033875271677970886, -0.03760227933526039, 0.025690946727991104, 0.02110554650425911, -0.015148788690567017, 0.019818399101495743, -0.04662866145372391, 0.02742934413254261, 0.011802955530583858, -0.001694766222499311, 0.02366287261247635, -0.03618279844522476, 0.00416942872107029, 0.0224619060754776, 0.005847636144608259, 0.013807998970150948, -0.011135012842714787, 0.03636657074093819, 0.02325689233839512, 0.03742123767733574, 0.003083357820287347, -0.01424664631485939, -0.03412318229675293, 0.043574437499046326, -0.03904338181018829, 0.012250654399394989, -0.0027855318039655685, -0.04306502267718315, -0.03483495116233826, -0.021817712113261223, -0.012032327242195606, 0.05285689979791641, -0.04330410808324814, 0.015275209210813046, 0.04454454407095909, -0.04757535085082054, -0.034965578466653824, -0.07814710587263107, -0.022550290450453758, -0.037875041365623474, 0.019724862650036812, 0.01318242959678173, -0.015067413449287415, 0.012643644586205482, -0.03325381129980087, -0.033414747565984726, 0.05401502177119255, 0.01802206039428711, -0.04443269222974777, 0.057059064507484436, 0.03638215363025665, -0.033267877995967865, 0.011703486554324627, 0.04995552450418472, -0.051855701953172684, 0.019628793001174927, 0.018512258306145668, 0.02248695120215416, 0.03119908832013607, 0.036461442708969116, -0.029640503227710724, -0.02397730015218258, -0.058137089014053345, -0.025621119886636734, -0.05084436386823654, -0.0005621721502393484, 0.07473987340927124 ]
Biasface/DDDC2
[ "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 } } }
10
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en --- # Model description The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained ['MiniLM-L12'](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased) model and fine-tuned in on a 1B sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Google’s Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence encoder. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/all_datasets_v4_MiniLM-L12') text = "Replace me by any text you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained ['MiniLM-L12'](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 540k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 1 billion sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [Flickr 30k](https://shannon.cs.illinois.edu/DenotationGraph/) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/229/33) | 317,695 | | [COCO 2020](COCO 2020) | [paper](https://link.springer.com/chapter/10.1007%2F978-3-319-10602-1_48) | 828,395| | [Code Search](https://huggingface.co/datasets/code_search_net) | - | 1,151,414 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 | | [Simple Wikipedia](https://cs.pomona.edu/~dkauchak/simplification/) | [paper](https://www.aclweb.org/anthology/P11-2117/) | 102,225 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Altlex](https://github.com/chridey/altlex/) | [paper](https://aclanthology.org/P16-1135.pdf) | 112,696 | | [Wikihow](https://github.com/pvl/wikihow_pairs_dataset) | [paper](https://arxiv.org/abs/1810.09305) | 128,542 | | [Sentence Compression](https://github.com/google-research-datasets/sentence-compression) | [paper](https://www.aclweb.org/anthology/D13-1155/) | 180,000 | | AllNLI ([SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) | [paper SNLI](https://doi.org/10.18653/v1/d15-1075), [paper MultiNLI](https://doi.org/10.18653/v1/n18-1101) | 277,230 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [SPECTER](https://github.com/allenai/specter) | [paper](https://doi.org/10.18653/v1/2020.acl-main.207) | 684,100 | | [S2ORC](https://github.com/allenai/s2orc) Title/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 41,769,185 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Citation | [paper](https://aclanthology.org/2020.acl-main.447/) | 52,603,982 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 116,288,806 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | SearchQA | - | 582,261 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 1,198,260 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Question | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 659,896 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [Reddit conversationnal](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 | | total | | 1,097,953,922 |
[ -0.023453788831830025, -0.017551526427268982, -0.007177252788096666, 0.06372622400522232, 0.03159819543361664, 0.017918763682246208, -0.02806328982114792, -0.008394522592425346, -0.031023278832435608, 0.06266161799430847, 0.01171019859611988, 0.006330464966595173, -0.0020573893561959267, 0.03522864729166031, -0.034599628299474716, -0.014948100782930851, -0.029417704790830612, -0.0016157315112650394, -0.02873264253139496, 0.00463936198502779, 0.010504378005862236, 0.002282997127622366, -0.008206581696867943, 0.01618678867816925, -0.009253726340830326, 0.007070998195558786, -0.00014943006681278348, 0.026574434712529182, 0.01948222704231739, -0.04727206379175186, 0.025153042748570442, -0.022159714251756668, -0.03683695197105408, 0.0013768826611340046, -0.0009337363298982382, 0.02006133273243904, 0.004867698065936565, -0.009246893227100372, 0.01805533841252327, 0.045758359134197235, 0.002669598674401641, 0.012820327654480934, -0.020574457943439484, -0.02594011090695858, 0.0315430723130703, 0.017998624593019485, -0.016935424879193306, -0.015139643102884293, 0.03241770341992378, -0.028080688789486885, -0.047949790954589844, -0.09677440673112869, -0.016995791345834732, 0.026409819722175598, 0.003518172772601247, -0.011049775406718254, -0.07237657904624939, -0.030034856870770454, 0.06452519446611404, -0.060322102159261703, -0.04219204559922218, 0.017782453447580338, -0.049768853932619095, 0.00471064867451787, 0.03575379028916359, -0.04498906433582306, 0.006935122422873974, -0.05086110532283783, -0.0015091667883098125, -0.03505678474903107, 0.04649244248867035, -0.00904864352196455, 0.01760956086218357, -0.07330498844385147, -0.01610499992966652, -0.002323522698134184, 0.031590718775987625, 0.03332133963704109, -0.023949120193719864, 0.07248858362436295, 0.012737991288304329, -0.004361619707196951, 0.028484616428613663, -0.005235993303358555, 0.007758007384836674, 0.05227455124258995, -0.04818157106637955, 0.001260835211724043, -0.008977768011391163, 0.03338863328099251, -0.027216173708438873, -0.01778317242860794, -0.017758309841156006, -0.06105249747633934, -0.022305170074105263, 0.017118293792009354, 0.03422822058200836, -0.011938131414353848, 0.02975996397435665, 0.01131715439260006, 0.022904597222805023, 0.03786478191614151, -0.02768285572528839, 0.056057676672935486, -0.020087135955691338, -0.004480655305087566, -0.010118001140654087, -0.0510956272482872, -0.05404720455408096, 0.02473660744726658, 0.012989358976483345, -0.032025910913944244, -0.06470168381929398, 0.03788885474205017, 0.024144360795617104, -0.029527563601732254, 0.06698739528656006, -0.02595268189907074, -0.020709004253149033, -0.04689661040902138, 0.060558710247278214, -0.027751071378588676, -0.003718813182786107, -0.026382070034742355, -0.06295160949230194, 0.01645577698945999, -0.04903766140341759, -0.043274082243442535, -0.00002130213579221163, 0.013387336395680904, 0.004401860758662224, 0.027827508747577667, -0.0005419822409749031, -0.045060548931360245, 0.0018752182368189096, 0.018941061571240425, -0.08616681396961212, 0.045515816658735275, 0.047322191298007965, 0.1099371537566185, -0.06039172783493996, -0.04958287626504898, 0.012354270555078983, 0.043950919061899185, -0.017494650557637215, 0.012698713690042496, 0.0098313819617033, -0.03664424270391464, -0.01835758425295353, -0.016410216689109802, 0.05684158578515053, -0.055930595844984055, -0.009619258344173431, 0.014695967547595501, -0.00680681923404336, 0.0576665885746479, -0.06470812112092972, -0.004531906917691231, 0.013171151280403137, -0.006487910635769367, -0.013326851651072502, 0.0328587181866169, -0.014188923873007298, 0.01155105046927929, -0.015082953497767448, -0.011665496043860912, -0.0008962934371083975, 0.06552542001008987, -0.015709325671195984, -0.0259464830160141, -0.042507875710725784, 0.01859484612941742, 0.028089692816138268, 0.05159151554107666, -0.032753702253103256, 0.013006452471017838, 0.07415865361690521, 0.03887980803847313, -0.02416381426155567, 0.057769838720560074, 0.007843746803700924, -0.031523194164037704, -0.017326509580016136, 0.015236894600093365, 0.00024037780531216413, -0.011460031382739544, 0.03795488551259041, 0.050727613270282745, -0.017690230160951614, -0.02223573438823223, -0.01812281645834446, 0.05123613029718399, -0.007121567148715258, 0.00749471690505743, -0.01881156675517559, -0.007528678979724646, -0.01650293730199337, 0.027683157473802567, -0.011007568798959255, -0.004966057371348143, -0.015174542553722858, -0.035856347531080246, 0.012980496510863304, 0.051493048667907715, 0.04440329596400261, 0.03010408952832222, 0.0019715779926627874, 0.09398455172777176, -0.040653012692928314, 0.01138174906373024, -0.06243925914168358, -0.05315311625599861, -0.005645968951284885, 0.03153739497065544, 0.029456041753292084, 0.04294887185096741, 0.026311691850423813, -0.03626137226819992, 0.018455833196640015, 0.04499279335141182, 0.032744184136390686, 0.04348161444067955, -0.041806288063526154, -0.02185819298028946, 0.027969034388661385, 0.058975230902433395, -0.03668100759387016, -0.02044328860938549, 0.026975305750966072, 0.0543229840695858, -0.010295088402926922, -0.0016097734915092587, -0.008216392248868942, 0.027863971889019012, -0.04309796914458275, -0.06007625162601471, 0.02053051069378853, 0.029248906299471855, -0.008058329112827778, 0.04055032879114151, -0.018099812790751457, -0.02238193154335022, 0.04606624320149422, -0.03157028555870056, -0.01057544257491827, -0.048091523349285126, -0.009479193948209286, 0.03042018599808216, 0.045448459684848785, -0.0243645329028368, 0.021573198959231377, 0.015919562429189682, 0.007293792441487312, 0.03289186954498291, 0.008082583546638489, 0.019424093887209892, 0.06601838767528534, -0.008058449253439903, 0.005795515142381191, 0.03794914856553078, 0.017591135576367378, 0.047043003141880035, 0.056722186505794525, -0.014020338654518127, 0.07295075803995132, 0.02259739674627781, 0.0444827638566494, 0.07512666285037994, 0.023402638733386993, 0.021136527881026268, 0.05747448280453682, 0.06199699267745018, 0.004097185097634792, 0.00465134484693408, 0.06544260680675507, -0.0409916490316391, 0.033160895109176636, -0.04814007878303528, 0.026306547224521637, -0.004835824482142925, -0.008078289218246937, 0.05324144288897514, 0.006489390041679144, -0.010648894123733044, 0.00006845914322184399, -0.024476423859596252, -0.03813556954264641, 0.03698123246431351, -0.018058283254504204, 0.02608049102127552, 0.020939534530043602, -0.034187935292720795, 0.020460860803723335, -0.07648018002510071, -0.07306564599275589, 0.01978500932455063, -0.026603952050209045, -0.0013770784717053175, -0.08061342686414719, -0.04286351427435875, -0.061867259442806244, -0.021650999784469604, 0.030562320724129677, 0.02227761596441269, 0.02150033973157406, -0.0277814120054245, 0.023560630157589912, -0.03437330201268196, -0.01614498905837536, -0.06945864856243134, -0.03673302009701729, -0.043583907186985016, -0.05306951701641083, 0.038547832518815994, 0.0020099731627851725, 0.022296039387583733, -0.002408668864518404, -0.010765856131911278, -0.03501269593834877, -0.013636374846100807, 0.046179722994565964, 0.023465875536203384, -0.01861017756164074, -0.03908233717083931, 0.011730223894119263, -0.015477838926017284, 0.008325222879648209, -0.04797104373574257, -0.021026819944381714, 0.06989708542823792, 0.037821702659130096, 0.03660242259502411, 0.01850099489092827, -0.023182736709713936, -0.045179810374975204, -0.04783385246992111, -0.018072154372930527, -0.05544370412826538, -0.03323858603835106, -0.03138444572687149, -0.05183417722582817, -0.013716254383325577, -0.005328699946403503, -0.023066168650984764, 0.013025934807956219, 0.018031300976872444, 0.043405476957559586, 0.04239215701818466, 0.0418710857629776, 0.007372785825282335, -0.036765292286872864, -0.014322979375720024, 0.08073479682207108, 0.0018526703352108598, 0.02631847932934761, -0.06951573491096497, -0.04433819279074669, 0.03908104822039604, 0.028177326545119286, 0.005640958435833454, -0.0026703623589128256, 0.11511741578578949, 0.017620041966438293, -0.0005571310757659376, 0.027366504073143005, 0.02179774083197117, -0.0078010051511228085, 0.002505671698600054, -0.011853659525513649, -0.028823742642998695, -0.05408623814582825, -0.01796475239098072, -0.061030976474285126, 0.04356394708156586, -0.07251959294080734, -0.04471839964389801, -0.011232249438762665, 0.033915452659130096, 0.02636009268462658, 0.016651328653097153, -0.026524044573307037, 0.0016076230676844716, -0.031999360769987106, -0.021713677793741226, 0.01947242021560669, 0.006368971895426512, 0.01667826808989048, 0.046875372529029846, 0.01159412320703268, -0.04060479253530502, 0.04018394276499748, 0.025663673877716064, 0.04287462309002876, 0.031164152547717094, -0.04431697353720665, 0.04991026595234871, -0.013939966447651386, 0.027519462630152702, 0.0040881214663386345, -0.025894194841384888, -0.0708535760641098, -0.08339984714984894, -0.011877579614520073, 0.007796384394168854, -0.030089179053902626, 0.02199375629425049, 0.04466773197054863, -0.04154612869024277, -0.013782757334411144, 0.007201225496828556, 0.0036976037081331015, 0.02937670424580574, -0.04573754593729973, 0.05019701272249222, -0.023260872811079025, 0.023248448967933655, -0.0540899895131588, 0.004855126608163118, -0.02209552936255932, -0.04734344035387039, 0.01871590130031109, 0.0763801857829094, 0.028139781206846237, 0.05442164093255997, 0.06213126704096794, 0.056261152029037476, -0.04584746062755585, 0.06726957857608795, 0.041298896074295044, 0.00012799815158359706, -0.05416065827012062, -0.0044209714978933334, -0.011304392479360104, -0.016004376113414764, -0.024982010945677757, -0.02329089865088463, 0.03359478339552879, 0.03609604388475418, 0.009640860371291637, -0.007520829327404499, 0.0034304724540561438, -0.030923984944820404, -0.014085731469094753, -0.08443108201026917, -0.026006055995821953, -0.014065814204514027, -0.03820260614156723, 0.05070842057466507, 0.04163828119635582, 0.015850473195314407, 0.040308114141225815, 0.05331157147884369, -0.021725371479988098, -0.05810735374689102, 0.03534896299242973, 0.0403226837515831, -0.056246716529130936, -0.06347504258155823, -0.040059927850961685, 0.04372734576463699, 0.051305029541254044, -0.012032002210617065, -0.0811343640089035, 0.01607499271631241, 0.05841020867228508, -0.03789011761546135, 0.04878997802734375, 0.004380382131785154, 0.05708778649568558, 0.06786167621612549, -0.005193082150071859, 0.014784494414925575, -0.009955964051187038, 0.0094267837703228, 0.0029533428605645895, 0.053245510905981064, -0.027641644701361656, -0.052007563412189484, -0.03626997396349907, 0.039538636803627014, 0.03895566239953041, 0.04272671788930893, 0.056932102888822556, -0.03848353400826454, -0.07124017924070358, -0.011855712160468102, 0.010920560918748379, -0.03152824938297272, 0.0060014002956449986, 0.010009867139160633, 0.05681833624839783, -0.054668065160512924, -0.02191411703824997, -0.05454372242093086, 0.009030160494148731, 0.031277235597372055, -0.007875113748013973, -0.03449613228440285, -0.053645845502614975, 0.011058242060244083, -0.010263610631227493, -0.016441885381937027, -0.09608877450227737, 0.002941746497526765, 0.0011043184204027057, -0.02197614498436451, 0.054881077259778976, 0.055486779659986496, 0.06875763088464737, 0.023768100887537003, -0.015347195789217949, 0.03076782263815403, -0.03294587880373001, 0.029637183994054794, -0.007809571921825409, -0.03486815094947815, -0.00937736313790083, -0.07616327702999115, -0.023924753069877625, -0.040988363325595856, -0.031386010348796844, -0.038168441504240036, -0.04178141430020332, 0.001282553537748754, -0.026932720094919205, 0.024711959064006805, -0.0026591604109853506, 0.006231873296201229, -0.04212098568677902, -0.009359368123114109, -0.019619137048721313, -0.04681820049881935, -0.06152155250310898, -0.03062705136835575, 0.005597270093858242, 0.008245686069130898, 0.018868105486035347, 0.01792248710989952, 0.00389286526478827, 0.021255429834127426, 0.009848218411207199, -0.0159571785479784, 0.034889403730630875, 0.01021050475537777, -0.03895493224263191, -0.018132487311959267, 0.007331943139433861, 0.004749532788991928, 0.01090564951300621, -0.026471588760614395, 0.027305014431476593, 0.019949112087488174, -0.031224139034748077, -0.014913360588252544, 0.030918100848793983, 0.0053508649580180645, -0.08475149422883987, -0.022131679579615593, -0.017269615083932877, -0.054133620113134384, 0.02004595473408699, 0.006622445769608021, -0.013716316781938076, -0.010544560849666595, 0.03149235621094704, 0.013806349597871304, -0.002770679071545601, -0.024174705147743225, 0.011848888359963894, -0.0399029478430748, 0.0379134863615036, -0.07491109520196915, 0.03468163311481476, -0.045793261379003525, 0.008503376506268978, -0.022399362176656723, -0.002275459235534072, -0.03493627905845642, 0.04972539842128754, -0.017913805320858955, -0.0007819525199010968, -0.013399513438344002, 0.033735841512680054, -0.03525109961628914, 0.04228431358933449, -0.014947621151804924, 0.011058589443564415, -0.03458952531218529, 0.05946685001254082, -0.04009365662932396, -0.008268100209534168, -0.010808193124830723, -0.02192271314561367, -0.03084363229572773, -0.015432835556566715, -0.031505879014730453, -0.024106938391923904, 0.04913763329386711, 0.04207230731844902, 0.0336877666413784, 0.02938377857208252, 0.007698939647525549, 0.022775975987315178, 0.013334988616406918, -0.06950833648443222, -0.034617889672517776, -0.0017089169705286622, 0.03149065375328064, 0.002516485285013914, 0.06352749466896057, 0.03819698467850685, -0.052257560193538666, -0.04665327072143555, 0.058715879917144775, 0.020616188645362854, -0.007765462156385183, -0.0025893428828567266, 0.03040183149278164, 0.06372799724340439, 0.030758554115891457, -0.036473531275987625, -0.01372439693659544, 0.010205062106251717, -0.019232049584388733, 0.016683680936694145, 0.00042768754065036774, 0.022295894101262093, 0.005428673699498177, -0.033648230135440826, -0.021649358794093132, 0.0718374028801918, 0.028754834085702896, 0.02102091535925865, 0.0060933176428079605, -0.027484236285090446, 0.01656780205667019, 0.003129603574052453, -0.06449630856513977, -0.020421409979462624, 0.01860308274626732, -0.03748459368944168, 0.06871499121189117, -0.038756780326366425, -0.0017714396817609668, 0.054019346833229065, 0.0008401364902965724, -0.00438654376193881, 0.034733910113573074, -0.035761576145887375, 0.003565836464986205, 0.059980228543281555, -0.07261911034584045, -0.003409960772842169, -0.024814819917082787, 0.06907366961240768, -0.050570789724588394, 0.0680774375796318, 0.03450659289956093, 0.037300094962120056, 0.028184890747070312, 0.002807888202369213, -0.05571708455681801, 0.015634406358003616, -0.03772224485874176, 0.08118469268083572, 0.006941210478544235, -0.051768168807029724, 0.06923405826091766, 0.016203220933675766, -0.06634778529405594, 0.041293542832136154, 0.033264342695474625, 0.013124191202223301, 0.020835725590586662, 0.03275090456008911, -0.08454683423042297, -0.0071787154302001, -0.032409749925136566, 0.05544218793511391, -0.06543398648500443, -0.009146616794168949, 0.009100142866373062, -0.038410983979701996, -0.025541476905345917, 0.046583522111177444, -0.024993540719151497, -0.006150498520582914, 0.024055130779743195, -0.07928519695997238, -0.06501608341932297, -0.011971473693847656, 0.0035308124497532845, -0.01890450343489647, 0.008959977887570858, -0.028929052874445915, -0.010615392588078976, 0.015643231570720673, 0.001728540868498385, -0.03230299800634384, 0.007687244098633528, 0.010990317910909653, -0.04085918143391609, -0.036211077123880386, 0.02805771678686142, 0.01744738779962063, -0.013358701020479202, 0.016204863786697388, -0.04412923753261566, 0.025851326063275337, 0.014891170896589756, -0.0032766128424555063, 0.0249828789383173, -0.03477514535188675, 0.0019283225992694497, 0.025693751871585846, 0.0028467432130128145, 0.013732594437897205, -0.017491932958364487, 0.04163967818021774, 0.01859354041516781, 0.03379661589860916, 0.0022580986842513084, -0.012172563932836056, -0.02810288965702057, 0.033353764563798904, -0.0366925373673439, 0.014620880596339703, -0.0009289521840400994, -0.04723719507455826, -0.03237500786781311, -0.02014905959367752, -0.007476817816495895, 0.04955793172121048, -0.04591397941112518, 0.006485713645815849, 0.05410196632146835, -0.044748879969120026, -0.03598153218626976, -0.07987600564956665, -0.019278887659311295, -0.04005958139896393, 0.028940534219145775, 0.013793178834021091, -0.01800825074315071, 0.014959733001887798, -0.0319097563624382, -0.0321744941174984, 0.05056782811880112, 0.018679291009902954, -0.04573515057563782, 0.055700063705444336, 0.042598892003297806, -0.035748399794101715, 0.01577567495405674, 0.044178180396556854, -0.05636099725961685, 0.021238183602690697, 0.020804019644856453, 0.027800265699625015, 0.03333897516131401, 0.03427888825535774, -0.027347473427653313, -0.02612907625734806, -0.06431824713945389, -0.02579226717352867, -0.0502094142138958, 0.0014418832724913955, 0.076241135597229 ]
BigBoy/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
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en --- # Model description The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained ['MiniLM-L6-H384-uncased'](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) model and fine-tuned in on a 1B sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Google’s Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence encoder. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/all_datasets_v4_MiniLM-L6') text = "Replace me by any text you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained ['MiniLM-L6-H384-uncased'](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) which is a 6 layer version of ['microsoft/MiniLM-L12-H384-uncased'](https://huggingface.co/microsoft/MiniLM-L12-H384-uncased) by keeping only every second layer. Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 540k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 1 billion sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [Flickr 30k](https://shannon.cs.illinois.edu/DenotationGraph/) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/229/33) | 317,695 | | [COCO 2020](COCO 2020) | [paper](https://link.springer.com/chapter/10.1007%2F978-3-319-10602-1_48) | 828,395| | [Code Search](https://huggingface.co/datasets/code_search_net) | - | 1,151,414 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 | | [Simple Wikipedia](https://cs.pomona.edu/~dkauchak/simplification/) | [paper](https://www.aclweb.org/anthology/P11-2117/) | 102,225 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Altlex](https://github.com/chridey/altlex/) | [paper](https://aclanthology.org/P16-1135.pdf) | 112,696 | | [Wikihow](https://github.com/pvl/wikihow_pairs_dataset) | [paper](https://arxiv.org/abs/1810.09305) | 128,542 | | [Sentence Compression](https://github.com/google-research-datasets/sentence-compression) | [paper](https://www.aclweb.org/anthology/D13-1155/) | 180,000 | | AllNLI ([SNLI](https://nlp.stanford.edu/projects/snli/) and [MultiNLI](https://cims.nyu.edu/~sbowman/multinli/) | [paper SNLI](https://doi.org/10.18653/v1/d15-1075), [paper MultiNLI](https://doi.org/10.18653/v1/n18-1101) | 277,230 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [SPECTER](https://github.com/allenai/specter) | [paper](https://doi.org/10.18653/v1/2020.acl-main.207) | 684,100 | | [S2ORC](https://github.com/allenai/s2orc) Title/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 41,769,185 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Citation | [paper](https://aclanthology.org/2020.acl-main.447/) | 52,603,982 | | [S2ORC](https://github.com/allenai/s2orc) Citation/Abstract | [paper](https://aclanthology.org/2020.acl-main.447/) | 116,288,806 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | SearchQA | - | 582,261 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 1,198,260 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Title/Question | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 659,896 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [Reddit conversationnal](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 | | total | | 1,097,953,922 |
[ -0.02207392081618309, -0.014432969503104687, -0.0052805389277637005, 0.06288065016269684, 0.031808458268642426, 0.016992926597595215, -0.030507592484354973, -0.012801490724086761, -0.033581193536520004, 0.060214851051568985, 0.006230127532035112, 0.003576815826818347, 0.0007531149312853813, 0.034044697880744934, -0.03644567355513573, -0.015489949844777584, -0.029513690620660782, 0.0016591823659837246, -0.03253587707877159, 0.0040559666231274605, 0.007391374558210373, 0.004171041306108236, -0.010006098076701164, 0.014837929047644138, -0.008715344592928886, 0.004129897803068161, 0.001328600337728858, 0.028030669316649437, 0.0202803872525692, -0.049335747957229614, 0.024024592712521553, -0.025469914078712463, -0.037485379725694656, -0.0003480887971818447, -0.0010752406669780612, 0.022051872685551643, 0.005960277747362852, -0.007173929829150438, 0.018855540081858635, 0.049337491393089294, 0.0040961699560284615, 0.009970691055059433, -0.017602011561393738, -0.031230606138706207, 0.03269803151488304, 0.01853247731924057, -0.018638726323843002, -0.014881620183587074, 0.03274373337626457, -0.028288796544075012, -0.0494353249669075, -0.09241931140422821, -0.015240258537232876, 0.023057587444782257, 0.0032571216579526663, -0.01183411106467247, -0.06582892686128616, -0.03178965672850609, 0.06201166659593582, -0.06149907410144806, -0.03995611518621445, 0.016721736639738083, -0.048726070672273636, 0.00540970591828227, 0.033298298716545105, -0.046627916395664215, 0.006991233676671982, -0.052961088716983795, -0.0032757162116467953, -0.03228108212351799, 0.040167294442653656, -0.01281391829252243, 0.01850377954542637, -0.07202572375535965, -0.017304223030805588, -0.0013849936658516526, 0.03176338970661163, 0.03945291414856911, -0.027251575142145157, 0.07155496627092361, 0.011065194383263588, -0.004743923898786306, 0.029505277052521706, -0.007887777872383595, 0.01069630403071642, 0.05665042623877525, -0.046428341418504715, 0.00210594036616385, -0.011651841923594475, 0.035577625036239624, -0.02364163286983967, -0.01601073518395424, -0.018385395407676697, -0.06000977382063866, -0.02370736189186573, 0.020733697339892387, 0.033096060156822205, -0.011199429631233215, 0.02854916825890541, 0.010670265182852745, 0.02510736882686615, 0.03904661908745766, -0.028783028945326805, 0.05480469763278961, -0.019822116941213608, -0.0038710993248969316, -0.005802329163998365, -0.050612617284059525, -0.05302712693810463, 0.024701332673430443, 0.01192924939095974, -0.03026149980723858, -0.06366607546806335, 0.03457910940051079, 0.023058565333485603, -0.029718847945332527, 0.06469674408435822, -0.0239068903028965, -0.01947571337223053, -0.04504619538784027, 0.05921592935919762, -0.024991869926452637, -0.004306143149733543, -0.02625429444015026, -0.06180833280086517, 0.01819278672337532, -0.0490276925265789, -0.046191588044166565, 0.0004913074662908912, 0.008935791440308094, 0.005057545378804207, 0.032268647104501724, -0.004451487213373184, -0.0429166741669178, 0.0027531804516911507, 0.016366973519325256, -0.08466532826423645, 0.04728681966662407, 0.048684436827898026, 0.1079985499382019, -0.06238049641251564, -0.049317263066768646, 0.011391716077923775, 0.04727825149893761, -0.015586966648697853, 0.01375941839069128, 0.011945532634854317, -0.034161847084760666, -0.015223097056150436, -0.015925798565149307, 0.057935893535614014, -0.05533405765891075, -0.007324996404349804, 0.016794240102171898, -0.007719189859926701, 0.05644436553120613, -0.0605296865105629, -0.0036355291958898306, 0.012348439544439316, -0.007794036529958248, -0.012709878385066986, 0.03233284130692482, -0.018840530887246132, 0.009765245951712132, -0.013789230026304722, -0.009663503617048264, -0.003123815171420574, 0.06569419801235199, -0.015401562675833702, -0.02343844436109066, -0.04584946483373642, 0.020301518961787224, 0.028445471078157425, 0.04825453832745552, -0.030186573043465614, 0.0126189598813653, 0.07469630241394043, 0.03721694275736809, -0.024901729077100754, 0.05830473452806473, 0.00538349524140358, -0.03272957727313042, -0.01552971825003624, 0.01587267965078354, -0.00033445327426306903, -0.009717286564409733, 0.037444714456796646, 0.04960239306092262, -0.017987720668315887, -0.024145616218447685, -0.019037356600165367, 0.05241706222295761, -0.006584467366337776, 0.008518951945006847, -0.01734897866845131, -0.008033983409404755, -0.018382130190730095, 0.03208265081048012, -0.009794742800295353, -0.00412750942632556, -0.016063304618000984, -0.03594489023089409, 0.019475728273391724, 0.05057676509022713, 0.04118185117840767, 0.030168522149324417, 0.0031741836573928595, 0.09189460426568985, -0.04338347539305687, 0.013494446873664856, -0.06694892793893814, -0.05414408817887306, -0.008877269923686981, 0.030256180092692375, 0.02556711994111538, 0.0388060100376606, 0.02164194919168949, -0.035345807671546936, 0.014743481762707233, 0.04587544873356819, 0.032161593437194824, 0.04318176954984665, -0.03981340676546097, -0.021710706874728203, 0.028446139767766, 0.05640065670013428, -0.03735166788101196, -0.023274902254343033, 0.029684610664844513, 0.05648162588477135, -0.009981942363083363, -0.003985706716775894, -0.01160724088549614, 0.024206645786762238, -0.04578229784965515, -0.05747058242559433, 0.021669797599315643, 0.02994988113641739, -0.01378637831658125, 0.0403437614440918, -0.016990361735224724, -0.025511469691991806, 0.047353677451610565, -0.031861186027526855, -0.008818745613098145, -0.04860236868262291, -0.008653709664940834, 0.029849980026483536, 0.04608422890305519, -0.02338203601539135, 0.01732742041349411, 0.01569279469549656, 0.013883868232369423, 0.031091395765542984, 0.009568329900503159, 0.013880761340260506, 0.06910895556211472, -0.008944207802414894, 0.0014158660778775811, 0.03483488783240318, 0.016702033579349518, 0.0472397617995739, 0.05725941061973572, -0.01419414859265089, 0.07579397410154343, 0.022382883355021477, 0.046539198607206345, 0.07142112404108047, 0.02323811687529087, 0.01841387152671814, 0.05846403166651726, 0.06249695643782616, 0.006826417986303568, 0.007502254564315081, 0.06676093488931656, -0.04096300154924393, 0.03546780347824097, -0.05005579814314842, 0.02740980125963688, -0.0018695193575695157, -0.008567748591303825, 0.05617588758468628, 0.007857220247387886, -0.009246674366295338, -0.003034495748579502, -0.02054322138428688, -0.03691290318965912, 0.04042379558086395, -0.01440905500203371, 0.02637164667248726, 0.02016599290072918, -0.03039006143808365, 0.01962360367178917, -0.07590723782777786, -0.07292268425226212, 0.01816023327410221, -0.028543826192617416, 0.00022431035176850855, -0.07968252152204514, -0.043413564562797546, -0.05843352526426315, -0.020362678915262222, 0.030735518783330917, 0.02300134487450123, 0.017149493098258972, -0.029431486502289772, 0.024711502715945244, -0.03094361536204815, -0.019720274955034256, -0.06951716542243958, -0.03639814630150795, -0.04371935874223709, -0.05406027287244797, 0.03989723324775696, 0.0034041155595332384, 0.024159826338291168, -0.006346840877085924, -0.008650287054479122, -0.03509094938635826, -0.01496441476047039, 0.044570185244083405, 0.02343655377626419, -0.01845628209412098, -0.036322370171546936, 0.007993243634700775, -0.016949115321040154, 0.003471254138275981, -0.049680594354867935, -0.02155291847884655, 0.07153981178998947, 0.03734156861901283, 0.037459712475538254, 0.020020660012960434, -0.020992644131183624, -0.04353588819503784, -0.04625159874558449, -0.018710268661379814, -0.056013770401477814, -0.030843937769532204, -0.03451637551188469, -0.0504644475877285, -0.010341047309339046, -0.007576300296932459, -0.021006779745221138, 0.013516772538423538, 0.02043045125901699, 0.04283639043569565, 0.04132750257849693, 0.044093839824199677, 0.007968584075570107, -0.03387227654457092, -0.017101239413022995, 0.08117236942052841, -0.0007772220997139812, 0.026432504877448082, -0.06735911965370178, -0.04467898607254028, 0.04016313701868057, 0.027611223980784416, 0.007626357488334179, 0.002001815242692828, 0.11404389888048172, 0.013486705720424652, -0.001777922734618187, 0.029209323227405548, 0.02239791490137577, -0.01007685624063015, 0.00215857638977468, -0.0129072992131114, -0.02445589005947113, -0.05298394709825516, -0.018871694803237915, -0.06323567032814026, 0.04517314210534096, -0.07215851545333862, -0.04548744112253189, -0.012278827838599682, 0.03351524472236633, 0.026581857353448868, 0.016427669674158096, -0.02899262309074402, 0.002610012423247099, -0.03056138940155506, -0.024289557710289955, 0.01712021790444851, 0.006088189780712128, 0.015830211341381073, 0.04508962109684944, 0.011167292483150959, -0.037851568311452866, 0.035016532987356186, 0.0275542214512825, 0.04212084412574768, 0.03094758465886116, -0.0407709963619709, 0.05264432728290558, -0.013998247683048248, 0.03039686009287834, 0.003740668063983321, -0.02707100473344326, -0.06933483481407166, -0.0845695436000824, -0.011831642128527164, 0.012678203172981739, -0.031683068722486496, 0.021855048835277557, 0.04648603871464729, -0.042509566992521286, -0.011922559700906277, 0.0031617230270057917, 0.005909085739403963, 0.02686847560107708, -0.04522234946489334, 0.04938337951898575, -0.0227230042219162, 0.024209804832935333, -0.05941138416528702, 0.0020946001168340445, -0.023120062425732613, -0.0528988316655159, 0.019397156313061714, 0.07621762156486511, 0.025138702243566513, 0.059370171278715134, 0.059967078268527985, 0.05416567251086235, -0.04340188950300217, 0.06232694908976555, 0.04420541226863861, 0.0030264463275671005, -0.059171441942453384, -0.005400565918534994, -0.010259457863867283, -0.014524842612445354, -0.02700105868279934, -0.023109862580895424, 0.03239886462688446, 0.03787921741604805, 0.006223663687705994, -0.005037903320044279, 0.007138438522815704, -0.0334470309317112, -0.013740602880716324, -0.08326978981494904, -0.02561909891664982, -0.011576049961149693, -0.04144448786973953, 0.05421935021877289, 0.043211620301008224, 0.01915121078491211, 0.03823941573500633, 0.05207161232829094, -0.026026347652077675, -0.056540824472904205, 0.03396027162671089, 0.039508137851953506, -0.05259249359369278, -0.06074601411819458, -0.04209676757454872, 0.04750022292137146, 0.050830841064453125, -0.01709301955997944, -0.08015627413988113, 0.015104936435818672, 0.06381713598966599, -0.04121840372681618, 0.04819362983107567, -0.0010879538021981716, 0.056794989854097366, 0.06813694536685944, -0.0038196572568267584, 0.013978246599435806, -0.011354726739227772, 0.010269561782479286, 0.0019508522236719728, 0.050997231155633926, -0.026122799143195152, -0.052807509899139404, -0.04001159220933914, 0.03826795145869255, 0.03685644268989563, 0.038829658180475235, 0.054297614842653275, -0.03602685406804085, -0.07006140053272247, -0.011783789843320847, 0.010868052951991558, -0.03231805935502052, 0.0010042281355708838, 0.012815086171030998, 0.05978957191109657, -0.0555519238114357, -0.022083498537540436, -0.05544138699769974, 0.011600365862250328, 0.0300656296312809, -0.01000855304300785, -0.036206647753715515, -0.051768526434898376, 0.010692455805838108, -0.012015319429337978, -0.015785127878189087, -0.0992511659860611, 0.003505149856209755, -0.000374040100723505, -0.025454018265008926, 0.0533190555870533, 0.05514843761920929, 0.06719508767127991, 0.02728528156876564, -0.016809530556201935, 0.029297536239027977, -0.03293508663773537, 0.03061128780245781, -0.011553584598004818, -0.035266175866127014, -0.009499451145529747, -0.07498728483915329, -0.02304278127849102, -0.03805844113230705, -0.03292079269886017, -0.035362713038921356, -0.046204131096601486, 0.0018779549282044172, -0.028258169069886208, 0.02420179545879364, -0.0061989109963178635, 0.005130303557962179, -0.04280935600399971, -0.01354331336915493, -0.017310146242380142, -0.048867546021938324, -0.061050597578287125, -0.033182594925165176, 0.005123510956764221, 0.009360969997942448, 0.016061879694461823, 0.02132020704448223, 0.005436686333268881, 0.02071882225573063, 0.012874373234808445, -0.01780860684812069, 0.033753421157598495, 0.007171141915023327, -0.04071957990527153, -0.018199555575847626, 0.008138825185596943, 0.005582286976277828, 0.013616873882710934, -0.025601498782634735, 0.029705384746193886, 0.021667253226041794, -0.034081973135471344, -0.015605459921061993, 0.03475981578230858, 0.0064910161308944225, -0.08225051313638687, -0.02174004726111889, -0.02001398429274559, -0.0540923997759819, 0.020373014733195305, 0.008862149901688099, -0.01374538242816925, -0.007558853831142187, 0.03064682148396969, 0.014032323844730854, 0.002643416402861476, -0.021991120651364326, 0.012690946459770203, -0.03596409782767296, 0.03811614587903023, -0.07705837488174438, 0.034518029540777206, -0.0483587346971035, 0.008249727077782154, -0.02092667855322361, -0.00629393570125103, -0.03680719807744026, 0.048128869384527206, -0.01550989504903555, -0.0033543240278959274, -0.014083039946854115, 0.03664334490895271, -0.03669437766075134, 0.04310397803783417, -0.01367261353880167, 0.008445552550256252, -0.0353136844933033, 0.06397286802530289, -0.04070169851183891, -0.010317888110876083, -0.009658756665885448, -0.019403507933020592, -0.032692428678274155, -0.015326450578868389, -0.032280441373586655, -0.025556830689311028, 0.051104553043842316, 0.03676483407616615, 0.03096454031765461, 0.03410441800951958, 0.005208938382565975, 0.02156222239136696, 0.012988317757844925, -0.06295373290777206, -0.034780073910951614, -0.00033500223071314394, 0.031290650367736816, -0.0017931679030880332, 0.06791942566633224, 0.03587161749601364, -0.051386959850788116, -0.047896068543195724, 0.061021026223897934, 0.016232924535870552, -0.007841053418815136, -0.003629384096711874, 0.027934761717915535, 0.06571928411722183, 0.02811458148062229, -0.038146551698446274, -0.012746045365929604, 0.007810000795871019, -0.020051484927535057, 0.017156923189759254, -0.0009119314490817487, 0.020234152674674988, 0.0023665670305490494, -0.035351984202861786, -0.024795645847916603, 0.06872252374887466, 0.02707670070230961, 0.0229343194514513, 0.001896581845358014, -0.028411872684955597, 0.015326494351029396, 0.0059309592470526695, -0.0635276734828949, -0.023469574749469757, 0.020496588200330734, -0.040082626044750214, 0.06121993809938431, -0.03993566706776619, -0.0012062527239322662, 0.057598501443862915, -0.0019779347348958254, -0.004135173745453358, 0.03698620945215225, -0.03546905517578125, -0.0014019949594512582, 0.06034495308995247, -0.07244005799293518, -0.004839210771024227, -0.029480405151844025, 0.07174768298864365, -0.05070894956588745, 0.06963343918323517, 0.032000087201595306, 0.0362929068505764, 0.02923089638352394, 0.0007913640583865345, -0.05825198069214821, 0.020492244511842728, -0.03529560565948486, 0.07938379049301147, 0.008284864947199821, -0.05310004949569702, 0.06591126322746277, 0.01928182877600193, -0.06703273206949234, 0.04014107584953308, 0.03348187357187271, 0.01269823219627142, 0.02053149975836277, 0.0333232544362545, -0.08239305019378662, -0.004881495609879494, -0.030423777177929878, 0.057334091514348984, -0.06545274704694748, -0.012126689776778221, 0.0042950548231601715, -0.0379621759057045, -0.025596635416150093, 0.048711147159338, -0.028540562838315964, -0.0020295539870858192, 0.021961329504847527, -0.07790965586900711, -0.06890079379081726, -0.01249442994594574, 0.006377751007676125, -0.020295480266213417, 0.009037780575454235, -0.029632704332470894, -0.010355256497859955, 0.016634071245789528, 0.0008339681662619114, -0.035598523914813995, 0.007325984537601471, 0.013325636275112629, -0.038149550557136536, -0.0344369150698185, 0.025464486330747604, 0.01612081378698349, -0.015480109490454197, 0.01743931509554386, -0.044364430010318756, 0.026233501732349396, 0.013382679782807827, -0.001787844579666853, 0.028239330276846886, -0.034467313438653946, 0.0034001008607447147, 0.024367667734622955, 0.0027306177653372288, 0.012919584289193153, -0.014933091588318348, 0.04132474586367607, 0.019529523327946663, 0.03172920271754265, 0.0045308079570531845, -0.012733928859233856, -0.026436056941747665, 0.03573397547006607, -0.03667374700307846, 0.010815398767590523, -0.003084946656599641, -0.046306170523166656, -0.02992979809641838, -0.023659488186240196, -0.010602602735161781, 0.05166659876704216, -0.04403388500213623, 0.008439621888101101, 0.05411713942885399, -0.04417160525918007, -0.033368732780218124, -0.08328031748533249, -0.017775239422917366, -0.04125414416193962, 0.025349652394652367, 0.014175886288285255, -0.01640276238322258, 0.015726113691926003, -0.0316329188644886, -0.03363803029060364, 0.05031191557645798, 0.015603120438754559, -0.04667353257536888, 0.05684269219636917, 0.040851399302482605, -0.03445173799991608, 0.01345024723559618, 0.04363469406962395, -0.05757209286093712, 0.023206917569041252, 0.02263757959008217, 0.02806374430656433, 0.029995610937476158, 0.037697337567806244, -0.026537012308835983, -0.027231743559241295, -0.062035176903009415, -0.0240616612136364, -0.04930490255355835, 0.0008934965590015054, 0.07691151648759842 ]
BigSalmon/BertaMyWorda
[ "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 } } }
8
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity --- # mpnet_stackexchange_v1 ## Model Description SentenceTransformers is a set of models and frameworks that enable training and generating sentence embeddings from given data. The generated sentence embeddings can be utilized for Clustering, Semantic Search and other tasks. We used a pretrained [mpnet-base](https://huggingface.co/microsoft/mpnet-base) model and trained it using Siamese Network setup and contrastive learning objective. Question and answer pairs from StackExchange was used as training data to make the model robust to Question / Answer embedding similarity. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as assistance from Google’s Flax, JAX, and Cloud team members about efficient deep learning frameworks. ## Intended uses Our model is intended to be used as a sentence encoder for a search engine. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for semantic-search, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/mpnet_stackexchange_v1') text = "Replace me by any question / answer you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained [`Mpnet-base`](https://huggingface.co/microsoft/mpnet-base). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained on model on a TPU v3-8. We train the model during 80k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We used the concatenation from multiple Stackexchange Question-Answer datasets to fine-tune our model. We sampled each StackExchange given a weighted probability of following equation. ``` int((stackexchange_length[path] / total_stackexchange_length) * total_weight) ``` MSMARCO, NQ & other question-answer datasets were also used. Sampling ratio for StackExchange vs remaining : 2 vs 1. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [Stack Exchange QA - Title & Answer](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_best_voted_answer_jsonl) | - | 4,750,619 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | SearchQA | - | 582,261 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 |
[ -0.024642091244459152, -0.018698662519454956, -0.013791047967970371, 0.06299705058336258, 0.027634652331471443, 0.027289992198348045, -0.025923795998096466, 0.002538121771067381, -0.03633048012852669, 0.05036923661828041, 0.01663040928542614, 0.016729041934013367, 0.005895914044231176, 0.035292815417051315, -0.04801589623093605, -0.02981654740869999, -0.04094258323311806, 0.004446745850145817, -0.03123784065246582, -0.009965716861188412, 0.008502323180437088, 0.02168426476418972, -0.00008979823178378865, 0.02230798825621605, -0.0064226360991597176, 0.005956691224128008, -0.0008671507239341736, 0.026411166414618492, 0.014460663311183453, -0.054154060781002045, 0.018821535632014275, -0.02900572679936886, -0.042449403554201126, -0.003389001125469804, -0.0038570102769881487, 0.026247741654515266, 0.019318869337439537, -0.010072331875562668, 0.02124634198844433, 0.05817524716258049, -0.012764654122292995, 0.005157846491783857, -0.00874802190810442, -0.027960361912846565, 0.023027542978525162, 0.012360334396362305, -0.011394848115742207, -0.021878916770219803, 0.03339238464832306, -0.039456337690353394, -0.04540981352329254, -0.09405045211315155, -0.02409970387816429, 0.0180974118411541, -0.000788896984886378, -0.005245310254395008, -0.06123367324471474, -0.03710978105664253, 0.05106987804174423, -0.06233249232172966, -0.03123723343014717, 0.025829782709479332, -0.06040852889418602, 0.007892323657870293, 0.04808930307626724, -0.043641142547130585, 0.010530050843954086, -0.048988986760377884, 0.011827842332422733, -0.04897947236895561, 0.05608545243740082, -0.029149038717150688, 0.03417901322245598, -0.08559788763523102, -0.019636448472738266, 0.007692109327763319, 0.03471861779689789, 0.041567813605070114, -0.014639387838542461, 0.06971738487482071, 0.015358409844338894, -0.0019960624631494284, 0.023422662168741226, -0.015396781265735626, 0.004556956700980663, 0.03382587805390358, -0.059862103313207626, 0.012127554975450039, -0.026959160342812538, 0.023011118173599243, -0.023043116554617882, -0.030154837295413017, -0.015896031633019447, -0.040970463305711746, -0.02365926466882229, 0.01971607841551304, 0.041127949953079224, -0.0038051404990255833, 0.019344132393598557, 0.006643213331699371, 0.032273612916469574, 0.04451679065823555, -0.02738601714372635, 0.047633469104766846, -0.022679457440972328, 0.009871014393866062, 0.007094163913279772, -0.035918932408094406, -0.05049172788858414, 0.024963563308119774, 0.019004331901669502, -0.024167053401470184, -0.05868329107761383, 0.013549810275435448, 0.04251354560256004, -0.029841626062989235, 0.06333429366350174, -0.031422533094882965, -0.009503860957920551, -0.040106989443302155, 0.06218322739005089, -0.016561372205615044, -0.004845828283578157, -0.03127158433198929, -0.057108864188194275, 0.020964227616786957, -0.04252055287361145, -0.04916665703058243, 0.012090320698916912, 0.003869082545861602, 0.011808933690190315, 0.029904615134000778, -0.004178831819444895, -0.040010400116443634, 0.012723492458462715, 0.007974017411470413, -0.07048474997282028, 0.04510476067662239, 0.05200832709670067, 0.10650243610143661, -0.06206934526562691, -0.05881952866911888, 0.011806449852883816, 0.05011802911758423, -0.024536211043596268, 0.015143277123570442, 0.013559109531342983, -0.03449023514986038, -0.023311423137784004, -0.012578288093209267, 0.0670350193977356, -0.05212246999144554, -0.009537647478282452, 0.003824986983090639, -0.011579071171581745, 0.04403484985232353, -0.06301557272672653, -0.010877454653382301, 0.007826419547200203, -0.001017166767269373, -0.010404404252767563, 0.03440702334046364, -0.02510145492851734, 0.015817230567336082, -0.02558177150785923, -0.011430241167545319, 0.005148477852344513, 0.06805995851755142, -0.007715852931141853, -0.04117647185921669, -0.04124416783452034, 0.014629965648055077, 0.026542307808995247, 0.05051130801439285, -0.043057430535554886, 0.0067427027970552444, 0.07644041627645493, 0.032856956124305725, -0.02627156861126423, 0.03288650140166283, 0.0022998719941824675, -0.028612371534109116, -0.01842401549220085, 0.016032498329877853, 0.0008717894670553505, -0.023969996720552444, 0.04349333792924881, 0.05785280093550682, -0.028213325887918472, -0.02180326171219349, -0.033905915915966034, 0.05607364699244499, -0.008575262501835823, 0.0038037067279219627, -0.012088427320122719, -0.017517006024718285, -0.019439421594142914, 0.03549416735768318, -0.01843772828578949, 0.006036288104951382, -0.028392700478434563, -0.031334519386291504, 0.02815115638077259, 0.03407809138298035, 0.03526470810174942, 0.035457268357276917, 0.0049794320948421955, 0.09019837528467178, -0.041588395833969116, 0.00651860237121582, -0.053968705236911774, -0.051432978361845016, -0.009790892712771893, 0.032499853521585464, 0.030371222645044327, 0.04215206578373909, 0.025506796315312386, -0.028819041326642036, 0.021239329129457474, 0.05321982875466347, 0.033345963805913925, 0.03791014477610588, -0.035520732402801514, -0.01671542041003704, 0.017766116186976433, 0.07484667748212814, -0.027467098087072372, -0.018664268776774406, 0.02453075908124447, 0.05295095220208168, -0.00513592129573226, 0.011899339035153389, -0.005021493881940842, 0.027439994737505913, -0.03670980781316757, -0.06504347175359726, 0.0322040431201458, 0.014817440882325172, -0.01570371724665165, 0.04242011532187462, -0.0076594059355556965, -0.016296131536364555, 0.04248369112610817, -0.02130114659667015, -0.019457800313830376, -0.045550618320703506, -0.002104787854477763, 0.019909530878067017, 0.054381489753723145, -0.019277818500995636, 0.01607317477464676, 0.03111305460333824, 0.02754282020032406, 0.04201392084360123, 0.0025366232730448246, 0.016348328441381454, 0.06252077221870422, -0.004073688294738531, 0.008470349945127964, 0.03146379813551903, 0.01831688918173313, 0.033043600618839264, 0.07391247898340225, -0.000364912353688851, 0.06516716629266739, 0.028259361162781715, 0.02109900675714016, 0.07520093023777008, 0.03279876708984375, 0.02055368386209011, 0.058430276811122894, 0.06749158352613449, 0.01223747618496418, 0.0071205636486411095, 0.059067174792289734, -0.04881056025624275, 0.040774352848529816, -0.03688764199614525, 0.0284886471927166, -0.004809165373444557, -0.005844809580594301, 0.05675235018134117, 0.006834956351667643, -0.008155672810971737, 0.009848825633525848, -0.01814998686313629, -0.035462841391563416, 0.03960101306438446, -0.025059906765818596, 0.02744113840162754, 0.004489006008952856, -0.03738965839147568, 0.014750983566045761, -0.08541630208492279, -0.06368419528007507, 0.02330150455236435, -0.021461620926856995, 0.005155706778168678, -0.07302454859018326, -0.03416335582733154, -0.06700588017702103, -0.020271847024559975, 0.038273885846138, 0.01815601997077465, 0.02065875381231308, -0.02152980864048004, 0.007764564827084541, -0.04245714098215103, -0.03573925420641899, -0.06596891582012177, -0.04074210301041603, -0.0349714569747448, -0.0566435270011425, 0.040683384984731674, 0.006537272594869137, 0.025307735428214073, -0.017593393102288246, -0.024392465129494667, -0.041370637714862823, 0.001757766236551106, 0.04575015977025032, 0.015737153589725494, -0.013912885449826717, -0.026381252333521843, 0.015638792887330055, -0.013561972416937351, 0.01028728298842907, -0.047128330916166306, -0.011646580882370472, 0.07880986481904984, 0.04788241162896156, 0.04114443063735962, 0.016400057822465897, -0.03153657540678978, -0.05328463017940521, -0.03358728811144829, -0.0353022962808609, -0.038766104727983475, -0.03327210247516632, -0.02627578005194664, -0.05587347224354744, 0.007499110884964466, -0.024594618007540703, -0.0329604335129261, 0.014058790169656277, 0.01962512545287609, 0.039798539131879807, 0.0510462261736393, 0.04175914078950882, 0.007731257006525993, -0.04330270364880562, -0.01623002253472805, 0.07918377965688705, -0.004914280492812395, 0.026140382513403893, -0.06853683292865753, -0.04971804842352867, 0.035201821476221085, 0.019809357821941376, 0.009875529445707798, -0.0019808586221188307, 0.09012400358915329, 0.007738110609352589, 0.0031668986193835735, 0.02959570474922657, 0.01717277243733406, -0.009588081389665604, 0.011786053888499737, -0.009264781139791012, -0.027893785387277603, -0.05464433133602142, -0.025435715913772583, -0.05452965199947357, 0.038872987031936646, -0.06361367553472519, -0.04127992317080498, -0.024137532338500023, 0.029422448948025703, 0.02366066910326481, 0.01902463473379612, -0.026642220094799995, 0.0038964818231761456, -0.040424130856990814, -0.02853604592382908, 0.02670198678970337, 0.0032037049531936646, 0.012023809365928173, 0.034838736057281494, 0.009777490980923176, -0.028895225375890732, 0.029003005474805832, 0.02547123096883297, 0.03878462314605713, 0.03570345416665077, -0.042413379997015, 0.051185242831707, -0.033665213733911514, 0.03915257379412651, 0.014467382803559303, -0.02308288775384426, -0.0632009208202362, -0.08082912862300873, -0.013871906325221062, 0.020322982221841812, -0.03777449578046799, 0.018184710294008255, 0.035613495856523514, -0.03195009008049965, -0.02344854176044464, 0.008758245036005974, 0.00629998417571187, 0.050491657108068466, -0.03691583499312401, 0.055344127118587494, -0.014800986275076866, 0.03978594392538071, -0.050395794212818146, 0.016620945185422897, -0.018619999289512634, -0.05194875970482826, 0.02231086604297161, 0.05880715325474739, 0.04330742731690407, 0.05959572270512581, 0.05047092214226723, 0.05383983999490738, -0.051922816783189774, 0.04039681330323219, 0.04596562311053276, -0.00903407484292984, -0.05885966867208481, -0.007295071147382259, -0.020518215373158455, -0.01441158540546894, -0.020442113280296326, -0.029993226751685143, 0.039295174181461334, 0.04518493264913559, 0.009044017642736435, -0.005352371372282505, 0.012672488577663898, -0.032258450984954834, -0.03964181989431381, -0.0832035169005394, -0.01037536095827818, -0.025673091411590576, -0.02960306406021118, 0.04071018472313881, 0.04220465570688248, 0.019503286108374596, 0.04389467090368271, 0.043042223900556564, -0.01150958240032196, -0.06799738109111786, 0.045339010655879974, 0.04574720188975334, -0.06193932518362999, -0.06345909088850021, -0.03931727260351181, 0.03648184612393379, 0.05894904583692551, -0.014927925541996956, -0.07061503082513809, 0.03231102600693703, 0.05706764757633209, -0.04516175389289856, 0.05062444880604744, 0.0140202846378088, 0.048449285328388214, 0.059428002685308456, -0.0038899758365005255, 0.022702829912304878, -0.019557518884539604, 0.004567940719425678, 0.001815376104786992, 0.051533445715904236, -0.03211858868598938, -0.05194929614663124, -0.0443047396838665, 0.03751339018344879, 0.04683614894747734, 0.041907813400030136, 0.06509189307689667, -0.03110535256564617, -0.07018474489450455, -0.0021789714228361845, 0.023278459906578064, -0.03650360181927681, 0.010025007650256157, 0.013333753682672977, 0.055684804916381836, -0.05635293945670128, -0.031279079616069794, -0.043094903230667114, 0.0019942475482821465, 0.033535607159137726, -0.011986415833234787, -0.028204575181007385, -0.03496985137462616, 0.02488483116030693, -0.01046968623995781, -0.017114266753196716, -0.09972023963928223, 0.015986913815140724, 0.011258247308433056, -0.027705665677785873, 0.0630655512213707, 0.06387443095445633, 0.05047387629747391, 0.04228782653808594, -0.015168983489274979, 0.034652646631002426, -0.03943276032805443, 0.02905815653502941, -0.025640737265348434, -0.03320305049419403, -0.0034160984214395285, -0.0720655769109726, -0.008515565656125546, -0.035580825060606, -0.03203938528895378, -0.02839352935552597, -0.04628371074795723, 0.003367739263921976, -0.03232380002737045, 0.036437518894672394, -0.0007233478245325387, 0.003509411122649908, -0.04232090711593628, -0.018053792417049408, -0.01180418860167265, -0.03998098894953728, -0.055897168815135956, -0.03868366405367851, 0.00660361722111702, 0.0018327214056625962, 0.019817600026726723, 0.018122315406799316, 0.0025538529735058546, 0.012975810095667839, 0.014893521554768085, -0.024446051567792892, 0.03194166347384453, 0.002755591878667474, -0.03785467520356178, -0.023047804832458496, -0.0021322639659047127, 0.0032328844536095858, 0.005957107059657574, -0.01638798788189888, 0.023790843784809113, 0.026166049763560295, -0.03538140654563904, -0.029281800612807274, 0.02009398676455021, 0.009126806631684303, -0.09019126743078232, -0.026836594566702843, -0.028364157304167747, -0.040617745369672775, 0.016372885555028915, 0.0051133399829268456, -0.02322915382683277, -0.011497636325657368, 0.026739319786429405, 0.018499290570616722, 0.008599156513810158, -0.019823718816041946, 0.017992358654737473, -0.017890289425849915, 0.04111849144101143, -0.08024168014526367, 0.022288594394922256, -0.03467462956905365, 0.009005692787468433, -0.026952264830470085, 0.00801295880228281, -0.03530006855726242, 0.05379417538642883, -0.02130756340920925, -0.0005071163177490234, -0.014288974925875664, 0.024172352626919746, -0.04756029322743416, 0.030849481001496315, -0.030306896194815636, 0.011199446395039558, -0.03631793335080147, 0.04925549030303955, -0.04438162222504616, -0.01080822292715311, -0.007853427901864052, -0.0020060227252542973, -0.026241930201649666, -0.0008657980361022055, -0.03920457884669304, -0.014880459755659103, 0.03335480019450188, 0.03193752095103264, 0.01571289636194706, 0.026783866807818413, -0.005280684679746628, 0.012478088028728962, 0.008138878270983696, -0.07108104974031448, -0.01733778975903988, -0.010992703028023243, 0.01740999147295952, -0.015684587880969048, 0.05508207902312279, 0.03453563526272774, -0.04108171910047531, -0.03862945735454559, 0.05509256571531296, 0.005279859993606806, -0.004835066851228476, 0.004079143516719341, 0.000950368179474026, 0.06114303693175316, 0.023076752200722694, -0.02983901835978031, -0.00956226047128439, -0.00008685775537742302, -0.028098994866013527, 0.0073975431732833385, -0.01697501353919506, 0.012681790627539158, -0.007579652592539787, -0.02763388678431511, -0.026852544397115707, 0.07074672728776932, 0.014940895140171051, 0.021564584225416183, 0.01267374586313963, -0.03953909873962402, 0.027139121666550636, 0.015634335577487946, -0.0435379222035408, -0.024167969822883606, 0.010555160231888294, -0.028065580874681473, 0.06319958716630936, -0.022431356832385063, -0.003918781410902739, 0.053660403937101364, -0.016980281099677086, -0.012227564118802547, 0.043525580316782, -0.04150988161563873, 0.0036736754700541496, 0.06534099578857422, -0.06408849358558655, -0.011370453983545303, -0.03156335651874542, 0.05986706539988518, -0.05947881191968918, 0.06684554368257523, 0.019307825714349747, 0.030954847112298012, 0.018723247572779655, -0.02712622657418251, -0.04790240526199341, 0.023250596597790718, -0.04092785343527794, 0.07983241230249405, 0.0020536896772682667, -0.053446102887392044, 0.06411678344011307, 0.017405930906534195, -0.0700671449303627, 0.031605225056409836, 0.02631376124918461, 0.01268818136304617, 0.034618791192770004, 0.04285397008061409, -0.09396393597126007, -0.012897850014269352, -0.019664721563458443, 0.06961725652217865, -0.05747844651341438, -0.026017216965556145, 0.011982223019003868, -0.035268813371658325, -0.03003787249326706, 0.04011340066790581, -0.030831651762127876, -0.001377119799144566, 0.016329118981957436, -0.0780150294303894, -0.06160256639122963, -0.013664995320141315, 0.007840774022042751, -0.01828783191740513, 0.02122579514980316, -0.023360630497336388, -0.014342881739139557, 0.019671931862831116, 0.0002862286928575486, -0.03545919060707092, 0.00989681389182806, -0.004179122857749462, -0.03641444072127342, -0.03667600452899933, 0.018113799393177032, 0.014632470905780792, -0.02065972425043583, 0.024417685344815254, -0.04014673829078674, 0.04272911697626114, 0.01216327678412199, -0.012060319073498249, 0.02553969994187355, -0.025919098407030106, 0.01607072539627552, 0.028031038120388985, 0.019621076062321663, 0.0062173171900212765, -0.028479209169745445, 0.04998593404889107, 0.027073286473751068, 0.036265335977077484, -0.0106115210801363, -0.02943977154791355, -0.034131258726119995, 0.045888833701610565, -0.029563188552856445, 0.024059200659394264, 0.0006418026750907302, -0.053423017263412476, -0.030251305550336838, -0.02271050401031971, -0.006507869344204664, 0.053313303738832474, -0.03758096322417259, 0.016691312193870544, 0.06549827009439468, -0.021645372733473778, -0.04207809641957283, -0.08203105628490448, -0.012844890356063843, -0.03727889806032181, 0.03537031635642052, 0.025406980887055397, -0.027054840698838234, -0.00021360695245675743, -0.056519150733947754, -0.029157107695937157, 0.06741558015346527, 0.02216065302491188, -0.05551605671644211, 0.05773286521434784, 0.025382008403539658, -0.02912318892776966, 0.020484216511249542, 0.032553303986787796, -0.06037568673491478, 0.013725148513913155, 0.02055744081735611, 0.027853744104504585, 0.03195490688085556, 0.044023968279361725, -0.022391075268387794, -0.031000111252069473, -0.06018533930182457, -0.02813280001282692, -0.04266175627708435, -0.0044376542791724205, 0.0910029336810112 ]
BigSalmon/BlankSlots
[ "pytorch", "jax", "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: " } } }
4
2021-07-17T04:21:57Z
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity --- # multi-QA_v1-mpnet-asymmetric-Q ## Model Description SentenceTransformers is a set of models and frameworks that enable training and generating sentence embeddings from given data. The generated sentence embeddings can be utilized for Clustering, Semantic Search and other tasks. We used two separate pretrained [mpnet-base](https://huggingface.co/microsoft/mpnet-base) models and trained them using contrastive learning objective. Question and answer pairs from StackExchange and other datasets were used as training data to make the model robust to Question / Answer embedding similarity. We developed this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developed this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as assistance from Google’s Flax, JAX, and Cloud team members about efficient deep learning frameworks. ## Intended uses This model set is intended to be used as a sentence encoder for a search engine. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for semantic-search, clustering or sentence similarity tasks. Two models should be used on conjunction for Semantic Search purposes. 1. [multi-QA_v1-mpnet-asymmetric-Q](https://huggingface.co/flax-sentence-embeddings/multi-QA_v1-mpnet-asymmetric-Q) - Model to encode Questions 1. [multi-QA_v1-mpnet-asymmetric-Q](https://huggingface.co/flax-sentence-embeddings/multi-QA_v1-mpnet-asymmetric-A) - Model to encode Answers ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model_Q = SentenceTransformer('flax-sentence-embeddings/multi-QA_v1-mpnet-asymmetric-Q') model_A = SentenceTransformer('flax-sentence-embeddings/multi-QA_v1-mpnet-asymmetric-A') question = "Replace me by any question you'd like." question_embbedding = model_Q.encode(text) answer = "Replace me by any answer you'd like." answer_embbedding = model_A.encode(text) answer_likeliness = cosine_similarity(question_embedding, answer_embedding) ``` # Training procedure ## Pre-training We use the pretrained [`Mpnet-base`](https://huggingface.co/microsoft/mpnet-base). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained on model on a TPU v3-8. We train the model during 80k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We used the concatenation from multiple Stackexchange Question-Answer datasets to fine-tune our model. MSMARCO, NQ & other question-answer datasets were also used. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [Stack Exchange QA - Title & Answer](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_best_voted_answer_jsonl) | - | 4,750,619 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | SearchQA | - | 582,261 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 |
[ -0.021203814074397087, -0.020719138905405998, -0.01991577073931694, 0.06557829678058624, 0.02712315320968628, 0.027796773239970207, -0.027336353436112404, -0.00032518283114768565, -0.03456057235598564, 0.04105043038725853, 0.012557144276797771, 0.014825262129306793, 0.006740206386893988, 0.04150020703673363, -0.04812581092119217, -0.028008388355374336, -0.038228124380111694, 0.007856630720198154, -0.03168467804789543, -0.013306165114045143, 0.002182889962568879, 0.01861855760216713, 0.0010867089731618762, 0.018929380923509598, -0.0033829452004283667, 0.0030913071241229773, -0.002135853050276637, 0.02629135549068451, 0.01033945381641388, -0.05332976579666138, 0.019903607666492462, -0.030888229608535767, -0.03765277564525604, -0.007446139585226774, -0.0025502434000372887, 0.028093140572309494, 0.02023012936115265, -0.010090064257383347, 0.02390466444194317, 0.05555304139852524, -0.014919566921889782, -0.0003546171938069165, -0.008947499096393585, -0.021948646754026413, 0.02811610884964466, 0.01036007795482874, -0.01717139221727848, -0.023847457021474838, 0.035586047917604446, -0.03861172869801521, -0.04671352729201317, -0.090203657746315, -0.02513994835317135, 0.01505221240222454, -0.0009154363069683313, -0.003330834675580263, -0.061771269887685776, -0.04267572611570358, 0.0536993145942688, -0.05963478609919548, -0.031907353550195694, 0.025929905474185944, -0.060984428972005844, 0.010613943450152874, 0.04844661429524422, -0.04409278929233551, 0.007488458417356014, -0.048709023743867874, 0.011277827434241772, -0.04654526337981224, 0.05696171894669533, -0.033288951963186264, 0.035118211060762405, -0.08456148207187653, -0.020333558320999146, 0.008392996154725552, 0.030137423425912857, 0.04253862053155899, -0.01610235683619976, 0.06949673593044281, 0.013047166168689728, -0.0016846931539475918, 0.01947476901113987, -0.014544864185154438, 0.007963400334119797, 0.03428144380450249, -0.05656154081225395, 0.010849724523723125, -0.02801995910704136, 0.024341074749827385, -0.020416326820850372, -0.03429527208209038, -0.017349235713481903, -0.03743458539247513, -0.023033156991004944, 0.01689869351685047, 0.04290154576301575, -0.006386281922459602, 0.017283419147133827, 0.006094178184866905, 0.03474278002977371, 0.040288183838129044, -0.02552623860538006, 0.04754592105746269, -0.029696190729737282, 0.0067805456928908825, 0.011175614781677723, -0.03501814231276512, -0.05129134654998779, 0.023517940193414688, 0.0241684690117836, -0.0240947138518095, -0.05487837269902229, 0.013713819906115532, 0.04298602044582367, -0.02741173282265663, 0.07018272578716278, -0.02992275543510914, -0.013526293449103832, -0.03697757050395012, 0.0648602768778801, -0.014783147722482681, -0.007973126135766506, -0.02844545617699623, -0.06329992413520813, 0.018935471773147583, -0.03821064159274101, -0.052079129964113235, 0.011853240430355072, 0.003308268031105399, 0.014461888000369072, 0.03191317617893219, -0.0015482734888792038, -0.039639972150325775, 0.011170736514031887, 0.008656416088342667, -0.07235220819711685, 0.041833262890577316, 0.04719862341880798, 0.10683529078960419, -0.06553874909877777, -0.056006260216236115, 0.01533418893814087, 0.0510694682598114, -0.024389011785387993, 0.016682729125022888, 0.01280207373201847, -0.03132244944572449, -0.026779184117913246, -0.012065652757883072, 0.07215578854084015, -0.05046411231160164, -0.0006208464037626982, 0.0056459493935108185, -0.017310980707406998, 0.04804767295718193, -0.06584223359823227, -0.008282964117825031, 0.0028293957002460957, -0.0050580319948494434, -0.00659708958119154, 0.03230772539973259, -0.0255544763058424, 0.020429518073797226, -0.022808067500591278, -0.00599156878888607, 0.006120549514889717, 0.07297283411026001, -0.00610759574919939, -0.03633881360292435, -0.042224861681461334, 0.01670357584953308, 0.02050040103495121, 0.04500630497932434, -0.042556580156087875, 0.013611266389489174, 0.07339627295732498, 0.025780463591217995, -0.024093663319945335, 0.027819685637950897, 0.0061321258544921875, -0.028893910348415375, -0.010688235983252525, 0.01703181304037571, 0.0014389179414138198, -0.025220204144716263, 0.04414387419819832, 0.05665626749396324, -0.02891583740711212, -0.02604503557085991, -0.032125502824783325, 0.055624861270189285, -0.010934391058981419, 0.002282400382682681, -0.012138859368860722, -0.01483310665935278, -0.01598278433084488, 0.034291598945856094, -0.01663682982325554, 0.012232325971126556, -0.03740709647536278, -0.03151944279670715, 0.03152545168995857, 0.02990105375647545, 0.033060964196920395, 0.03352079167962074, 0.007195321377366781, 0.09052533656358719, -0.0383136123418808, 0.009825201705098152, -0.05665278062224388, -0.048455413430929184, -0.010272384621202946, 0.036349207162857056, 0.027786269783973694, 0.04231279343366623, 0.02496575564146042, -0.028779564425349236, 0.024555880576372147, 0.05725785344839096, 0.0378720797598362, 0.039362456649541855, -0.034181952476501465, -0.013527183793485165, 0.017609627917408943, 0.08011402189731598, -0.032959964126348495, -0.01464744471013546, 0.023244675248861313, 0.05295346677303314, -0.005345616489648819, 0.009394439868628979, -0.004692790098488331, 0.025137392804026604, -0.03951486200094223, -0.06361491978168488, 0.03392138332128525, 0.012433605268597603, -0.015557651408016682, 0.0483110211789608, -0.0028647209983319044, -0.012396887876093388, 0.0409575030207634, -0.019938752055168152, -0.0192012470215559, -0.04662676528096199, -0.0010060275672003627, 0.020600583404302597, 0.05469036102294922, -0.02528233639895916, 0.013713985681533813, 0.030849115923047066, 0.03151506558060646, 0.04434390738606453, -0.003188779577612877, 0.021033786237239838, 0.06343132257461548, -0.00508071156218648, 0.011675890535116196, 0.02850395068526268, 0.02066492661833763, 0.03390039876103401, 0.07599892467260361, -0.004742919933050871, 0.06515268981456757, 0.028523480519652367, 0.016652151942253113, 0.07210934907197952, 0.030036143958568573, 0.019585121423006058, 0.048853132873773575, 0.06575223058462143, 0.016660811379551888, 0.012426855973899364, 0.053282562643289566, -0.048960842192173004, 0.046311069279909134, -0.035333000123500824, 0.026794573292136192, 0.0004979971563443542, -0.00853112805634737, 0.0591648705303669, 0.007254436612129211, -0.0032151415944099426, 0.009358007460832596, -0.020363643765449524, -0.029743753373622894, 0.0435369499027729, -0.029343361034989357, 0.02374565601348877, 0.006627092137932777, -0.03570251911878586, 0.007174519822001457, -0.08369658887386322, -0.06473427265882492, 0.024300063028931618, -0.019834021106362343, 0.0026961883995682, -0.07426782697439194, -0.03296598792076111, -0.06841619312763214, -0.021259332075715065, 0.0446450300514698, 0.0163560938090086, 0.014324060641229153, -0.018902238458395004, 0.00944402813911438, -0.04354928806424141, -0.03411640599370003, -0.06395181268453598, -0.044420864433050156, -0.03756699338555336, -0.05586014688014984, 0.041890524327754974, 0.005103733856230974, 0.024784306064248085, -0.016885681077837944, -0.020537512376904488, -0.03683248907327652, -0.00038416936877183616, 0.04703032225370407, 0.020251816138625145, -0.012606270611286163, -0.029368313029408455, 0.01906045712530613, -0.012034608982503414, 0.008343909867107868, -0.048259470611810684, -0.013354823924601078, 0.08119581639766693, 0.04575352370738983, 0.04407709464430809, 0.013871412724256516, -0.029137177392840385, -0.05485367774963379, -0.031371064484119415, -0.0391995795071125, -0.04197889193892479, -0.033379096537828445, -0.03327985107898712, -0.04852060228586197, 0.0069135017693042755, -0.023204199969768524, -0.03154195472598076, 0.020099110901355743, 0.02427242323756218, 0.04537876322865486, 0.05184890329837799, 0.0404496006667614, 0.009477407671511173, -0.04917062446475029, -0.012462210841476917, 0.07433151453733444, -0.00959104672074318, 0.026265231892466545, -0.06983112543821335, -0.044215209782123566, 0.04213682934641838, 0.019223492592573166, 0.01326700672507286, -0.0008898498490452766, 0.09506846964359283, 0.0023947807494550943, 0.0005283551290631294, 0.032061971724033356, 0.01701904833316803, -0.011031443253159523, 0.008689071983098984, -0.00953514315187931, -0.0280543752014637, -0.05334170535206795, -0.028740663081407547, -0.05876975879073143, 0.04227312281727791, -0.06629343330860138, -0.040957145392894745, -0.02629038318991661, 0.029655419290065765, 0.019178826361894608, 0.015418319962918758, -0.026760270819067955, 0.0036691417917609215, -0.03907155618071556, -0.028489522635936737, 0.025439254939556122, 0.006609289441257715, 0.011098042130470276, 0.030033372342586517, 0.00908347312361002, -0.028239579871296883, 0.029524005949497223, 0.02754947543144226, 0.040519800037145615, 0.0376223586499691, -0.045640427619218826, 0.05033844709396362, -0.027787474915385246, 0.03564981743693352, 0.014715774916112423, -0.02437797747552395, -0.06093543767929077, -0.07924923300743103, -0.012961149215698242, 0.01963033340871334, -0.03843337669968605, 0.015672216191887856, 0.03230758383870125, -0.02734978310763836, -0.024990420788526535, 0.009223572909832, 0.0019272428471595049, 0.04799848049879074, -0.03638521954417229, 0.05354435741901398, -0.016154102981090546, 0.035494763404130936, -0.04912421479821205, 0.0234738327562809, -0.01795717142522335, -0.05080336704850197, 0.02475280687212944, 0.05298735573887825, 0.042881883680820465, 0.062332119792699814, 0.04966100677847862, 0.050723638385534286, -0.05018972232937813, 0.039691731333732605, 0.0488712452352047, -0.011265501379966736, -0.0603417307138443, -0.011258275248110294, -0.017593849450349808, -0.015371516346931458, -0.024388747289776802, -0.03064442053437233, 0.03375512734055519, 0.04557611048221588, 0.008139342069625854, -0.003633280983194709, 0.015016837976872921, -0.031244125217199326, -0.04418875649571419, -0.08153294026851654, -0.005104911047965288, -0.02492213435471058, -0.028696656227111816, 0.041351720690727234, 0.038956403732299805, 0.022921649739146233, 0.04323287680745125, 0.03944229334592819, -0.005477563943713903, -0.06940241158008575, 0.04547164961695671, 0.04500077664852142, -0.06268184632062912, -0.06625869125127792, -0.039257392287254333, 0.03823031485080719, 0.05182865634560585, -0.014235644601285458, -0.069492407143116, 0.032492294907569885, 0.05731532722711563, -0.046348411589860916, 0.04871716722846031, 0.011518220417201519, 0.04643253609538078, 0.05554281920194626, -0.006388489622622728, 0.023565780371427536, -0.023790434002876282, 0.002910423092544079, 0.003849660512059927, 0.04593546688556671, -0.0331406332552433, -0.0511554516851902, -0.049374137073755264, 0.036551933735609055, 0.051476433873176575, 0.04492375999689102, 0.06691661477088928, -0.029042446985840797, -0.06865871697664261, -0.002152557484805584, 0.02042805217206478, -0.03984697535634041, 0.010864261537790298, 0.012692670337855816, 0.049702487885951996, -0.056104499846696854, -0.03317521512508392, -0.04228919744491577, 0.0028219588566571474, 0.03264782577753067, -0.010452592745423317, -0.02648196741938591, -0.031718119978904724, 0.03214301913976669, -0.013151591643691063, -0.019379906356334686, -0.09792494773864746, 0.0218482855707407, 0.008704766631126404, -0.02752198837697506, 0.06067454442381859, 0.060563988983631134, 0.046883996576070786, 0.03977159038186073, -0.018067333847284317, 0.031100036576390266, -0.038007866591215134, 0.03301184996962547, -0.030386680737137794, -0.032467763870954514, 0.0031518873292952776, -0.06708017736673355, -0.006092883180826902, -0.03490741178393364, -0.028991417959332466, -0.026386067271232605, -0.04313245788216591, 0.007096457295119762, -0.030380956828594208, 0.03590383008122444, -0.004451921675354242, 0.001720470143482089, -0.0418461412191391, -0.016840266063809395, -0.009893977083265781, -0.038460422307252884, -0.0559496209025383, -0.043352965265512466, 0.007862487807869911, 0.00040134714799933136, 0.02126859501004219, 0.027275772765278816, 0.004171580541878939, 0.01483084075152874, 0.015332495793700218, -0.02997223287820816, 0.030632348731160164, 0.0047102733515203, -0.030931806191802025, -0.029661139473319054, -0.0027013286016881466, 0.0026540360413491726, 0.013259770348668098, -0.018702581524848938, 0.027179991826415062, 0.0271149892359972, -0.03164970129728317, -0.02946975640952587, 0.01574435457587242, 0.00727526331320405, -0.091180220246315, -0.024268420413136482, -0.02812378853559494, -0.03754160925745964, 0.018069470301270485, 0.0005297550233080983, -0.026229141280055046, -0.007098485250025988, 0.024974485859274864, 0.023459943011403084, 0.007297450210899115, -0.019795522093772888, 0.01889846846461296, -0.021973375231027603, 0.04047420993447304, -0.0814809799194336, 0.01970069110393524, -0.036047980189323425, 0.008207408711314201, -0.027097254991531372, 0.008144820109009743, -0.03771641105413437, 0.051858846098184586, -0.02114989049732685, -0.00620468333363533, -0.014881019480526447, 0.026260823011398315, -0.05093373358249664, 0.03102818876504898, -0.029837824404239655, 0.011157689616084099, -0.0380043163895607, 0.047366272658109665, -0.04627428203821182, -0.01605139672756195, -0.009562330320477486, 0.0010096417972818017, -0.028954634442925453, 0.001234301715157926, -0.03878319635987282, -0.018157800659537315, 0.02690402790904045, 0.03184082731604576, 0.01928248256444931, 0.028668174520134926, -0.005236443132162094, 0.013597415760159492, 0.004465766251087189, -0.06920187175273895, -0.016335148364305496, -0.016813719645142555, 0.017788249999284744, -0.016641993075609207, 0.053259629756212234, 0.03616693243384361, -0.039664458483457565, -0.03771577775478363, 0.05476783588528633, 0.005275950767099857, -0.003897043177857995, 0.004230210557579994, 0.0036200445611029863, 0.058485835790634155, 0.019920531660318375, -0.028494007885456085, -0.0108924750238657, 0.001569409971125424, -0.03242475539445877, 0.011240155436098576, -0.01993534527719021, 0.01157446950674057, -0.00841944757848978, -0.028406348079442978, -0.028128858655691147, 0.06821753829717636, 0.01694999821484089, 0.025150232017040253, 0.014673104509711266, -0.03638260439038277, 0.02838151715695858, 0.015757467597723007, -0.03708527982234955, -0.020739538595080376, 0.003900590818375349, -0.029233330860733986, 0.06194480136036873, -0.024891499429941177, -0.004331083968281746, 0.05746449902653694, -0.01635034941136837, -0.011500834487378597, 0.04854998365044594, -0.03963414952158928, 0.003550523892045021, 0.06588964909315109, -0.06337668746709824, -0.011499855667352676, -0.034316543489694595, 0.06317827850580215, -0.057244084775447845, 0.058998946100473404, 0.020751358941197395, 0.027062779292464256, 0.016701722517609596, -0.02606862783432007, -0.049304500222206116, 0.02315082959830761, -0.038577232509851456, 0.07875242829322815, -0.0007882306235842407, -0.051687370985746384, 0.06509538739919662, 0.023228751495480537, -0.06314164400100708, 0.02877931110560894, 0.02673192322254181, 0.01815727911889553, 0.036280978471040726, 0.042875323444604874, -0.09417589753866196, -0.011749733239412308, -0.019565800204873085, 0.06897508352994919, -0.05946420133113861, -0.032683372497558594, 0.0155762555077672, -0.03541916236281395, -0.029698221012949944, 0.037456806749105453, -0.02819284051656723, -0.0029461958911269903, 0.01387320552021265, -0.08370931446552277, -0.06060923635959625, -0.00848607812076807, 0.008763686753809452, -0.018472764641046524, 0.021004188805818558, -0.024245481938123703, -0.010987288318574429, 0.02199992723762989, 0.0019099002238363028, -0.034790147095918655, 0.005579469259828329, -0.004588993266224861, -0.04571862891316414, -0.034853607416152954, 0.015928814187645912, 0.011812643148005009, -0.02064032107591629, 0.022150536999106407, -0.039686381816864014, 0.03828202933073044, 0.012124711647629738, -0.010397501289844513, 0.026087194681167603, -0.026524389162659645, 0.012009942904114723, 0.02736947499215603, 0.020574115216732025, 0.00534161739051342, -0.024869680404663086, 0.049233321100473404, 0.028079567477107048, 0.03805898502469063, -0.008958593010902405, -0.03197089210152626, -0.03378333896398544, 0.04647069424390793, -0.026228509843349457, 0.02259703166782856, -0.0025161930825561285, -0.05455216020345688, -0.03170926868915558, -0.02506117708981037, -0.005298042204231024, 0.05362073704600334, -0.03538171574473381, 0.01718507520854473, 0.06454775482416153, -0.026329755783081055, -0.04374229162931442, -0.08064716309309006, -0.020707542076706886, -0.040286630392074585, 0.03198404982686043, 0.030984455719590187, -0.031224923208355904, -0.0027126120403409004, -0.06329924613237381, -0.030950462445616722, 0.07065004855394363, 0.02522590570151806, -0.05435148626565933, 0.055813077837228775, 0.02939341403543949, -0.03217344731092453, 0.02007862739264965, 0.036724720150232315, -0.061207033693790436, 0.01629897765815258, 0.017186107113957405, 0.02980511263012886, 0.03351747989654541, 0.042421676218509674, -0.02238822542130947, -0.031696051359176636, -0.05891064554452896, -0.029682936146855354, -0.04692298173904419, -0.00495187658816576, 0.08847089111804962 ]
BigSalmon/Flowberta
[ "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 } } }
13
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity --- # multi-qa_v1-MiniLM-L6-mean_cos ## Model Description SentenceTransformers is a set of models and frameworks that enable training and generating sentence embeddings from given data. The generated sentence embeddings can be utilized for Clustering, Semantic Search and other tasks. We used a pretrained [nreimers/MiniLM-L6-H384-uncased](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased) model and trained it using Siamese Network setup and contrastive learning objective. Question and answer pairs from StackExchange was used as training data to make the model robust to Question / Answer embedding similarity. For this model, mean pooling of the hidden states were used as sentence embeddings. We developed this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developed this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as assistance from Google’s Flax, JAX, and Cloud team members about efficient deep learning frameworks. ## Intended uses Our model is intended to be used as a sentence encoder for a search engine. Given an input sentence, it outputs a vector which captures the sentence semantic information. The sentence vector may be used for semantic-search, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/multi-qa_v1-MiniLM-L6-mean_cos') text = "Replace me by any question / answer you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained [nreimers/MiniLM-L6-H384-uncased](https://huggingface.co/nreimers/MiniLM-L6-H384-uncased). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained on model on a TPU v3-8. We train the model during 80k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We used the concatenation from multiple Stackexchange Question-Answer datasets to fine-tune our model. MSMARCO, NQ & other question-answer datasets were also used. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [Stack Exchange QA - Title & Answer](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_best_voted_answer_jsonl) | - | 4,750,619 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | SearchQA | - | 582,261 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 |
[ -0.023653291165828705, -0.019156036898493767, -0.011444618925452232, 0.06197910010814667, 0.025853043422102928, 0.021922878921031952, -0.0288031455129385, 0.0026694550178945065, -0.036309678107500076, 0.04459117725491524, 0.010481487959623337, 0.011398092843592167, 0.00678393617272377, 0.03534489497542381, -0.05030212923884392, -0.02471180446445942, -0.03732062876224518, 0.0007727968040853739, -0.035253699868917465, -0.013259707018733025, 0.0020493208430707455, 0.018487948924303055, 0.0036739958450198174, 0.022178659215569496, -0.0010020928457379341, 0.0048595936968922615, -0.011972939595580101, 0.021762387827038765, 0.01377742737531662, -0.056523922830820084, 0.020532989874482155, -0.025817038491368294, -0.045692507177591324, -0.007049915846437216, -0.01018657349050045, 0.024156296625733376, 0.01693820394575596, -0.013601025566458702, 0.02076481655240059, 0.056543782353401184, -0.013499713502824306, 0.004336971323937178, -0.013641208410263062, -0.027241887524724007, 0.02156902477145195, 0.01324355136603117, -0.012684520334005356, -0.02093246765434742, 0.035334330052137375, -0.04367399215698242, -0.04979397729039192, -0.09124283492565155, -0.02054942026734352, 0.017631633207201958, -0.0046806419268250465, -0.005333937704563141, -0.062290240079164505, -0.041271284222602844, 0.05352435261011124, -0.05876952409744263, -0.029140189290046692, 0.020683996379375458, -0.063693568110466, 0.013665948994457722, 0.0420030914247036, -0.042043086141347885, 0.010096199810504913, -0.04529689997434616, 0.009612583555281162, -0.04169569909572601, 0.05295401066541672, -0.03316130116581917, 0.03412947803735733, -0.08534092456102371, -0.021163877099752426, 0.00597129063680768, 0.034629661589860916, 0.04202239587903023, -0.019226090982556343, 0.07317272573709488, 0.009882871061563492, -0.0030771931633353233, 0.019732484593987465, -0.014794750139117241, 0.016852516680955887, 0.0394354984164238, -0.05917844548821449, 0.009747182950377464, -0.03807419165968895, 0.0256149061024189, -0.02124454639852047, -0.03642450273036957, -0.017006278038024902, -0.040588852018117905, -0.02435966208577156, 0.018775181844830513, 0.03471072018146515, -0.0010518386261537671, 0.02756662666797638, 0.004682298284024, 0.037068646401166916, 0.04306546598672867, -0.030043724924325943, 0.04437297582626343, -0.028525039553642273, 0.003934202250093222, 0.010096952319145203, -0.04058469086885452, -0.047712184488773346, 0.02673843689262867, 0.02180461585521698, -0.02433805912733078, -0.05751467123627663, 0.012317460961639881, 0.03664534538984299, -0.029628071933984756, 0.07017114758491516, -0.023727145045995712, -0.014160195365548134, -0.0355110764503479, 0.0673832893371582, -0.01206755917519331, -0.0064090522937476635, -0.022632626816630363, -0.06323188543319702, 0.02281353808939457, -0.04265341907739639, -0.04853446036577225, 0.011856777593493462, 0.003039137227460742, 0.020563872531056404, 0.030635563656687737, -0.0052051423117518425, -0.038686078041791916, 0.011557643301784992, 0.01111622340977192, -0.07457879930734634, 0.041833698749542236, 0.04718921706080437, 0.11187426745891571, -0.058929551392793655, -0.055899567902088165, 0.005796529818326235, 0.050399258732795715, -0.02683970145881176, 0.013889522291719913, 0.010533606633543968, -0.0343531109392643, -0.02228541672229767, -0.01627795398235321, 0.0726846233010292, -0.04959859699010849, -0.0041473484598100185, 0.0027763559482991695, -0.010233379900455475, 0.04628193378448486, -0.06464705616235733, -0.004694786854088306, 0.00040184083627536893, -0.0007345960475504398, -0.007446547970175743, 0.03173980489373207, -0.028199469670653343, 0.011485915631055832, -0.024981217458844185, -0.005665043368935585, 0.004446183796972036, 0.0699537843465805, -0.0063026039861142635, -0.03351482003927231, -0.040281523019075394, 0.01822073571383953, 0.018928328529000282, 0.04830992966890335, -0.044068560004234314, 0.014413084834814072, 0.07467420399188995, 0.029264003038406372, -0.020652886480093002, 0.027768027037382126, 0.001053142361342907, -0.026751577854156494, -0.011139926500618458, 0.02201969176530838, -0.0005045205471105874, -0.025595759972929955, 0.04235526919364929, 0.054923493415117264, -0.026268428191542625, -0.02705742046236992, -0.0336398147046566, 0.05399386212229729, -0.00544254994019866, 0.00578278349712491, -0.019350459799170494, -0.013090119697153568, -0.023385075852274895, 0.03462621569633484, -0.017883699387311935, 0.0053391470573842525, -0.03940599039196968, -0.03319985792040825, 0.030082494020462036, 0.03350796923041344, 0.02980264090001583, 0.02761184796690941, 0.008156698197126389, 0.08124779909849167, -0.041336797177791595, 0.009820359759032726, -0.05936267599463463, -0.05339755490422249, -0.007796864490956068, 0.03272915259003639, 0.02582506090402603, 0.03990494832396507, 0.021885573863983154, -0.023174811154603958, 0.017428254708647728, 0.05931669846177101, 0.03511735051870346, 0.035594403743743896, -0.03110981546342373, -0.013683496974408627, 0.015973519533872604, 0.07696005702018738, -0.03736263886094093, -0.014702155254781246, 0.029242129996418953, 0.053675662726163864, -0.0014453796902671456, 0.009065757505595684, -0.011400424875319004, 0.015541567467153072, -0.0409545823931694, -0.06335879862308502, 0.02664664387702942, 0.008536889217793941, -0.015239213593304157, 0.04258952662348747, -0.0017600763821974397, -0.012759729288518429, 0.04176454246044159, -0.01865333318710327, -0.01807144470512867, -0.045637745410203934, -0.0015356260119006038, 0.018200891092419624, 0.05220615118741989, -0.02463490329682827, 0.013060919009149075, 0.03333244100213051, 0.032204851508140564, 0.04026949778199196, 0.003849893808364868, 0.01675386168062687, 0.06434828788042068, -0.006034012418240309, 0.008235776796936989, 0.025284800678491592, 0.021640175953507423, 0.029682572931051254, 0.07531679421663284, 0.0038910608272999525, 0.07143177092075348, 0.02419632486999035, 0.02311001531779766, 0.07418295741081238, 0.024089422076940536, 0.014666503295302391, 0.055041078478097916, 0.07076025009155273, 0.009836767800152302, 0.0160610843449831, 0.057893458753824234, -0.04890129342675209, 0.04544134438037872, -0.03712476044893265, 0.023469217121601105, -0.01041262224316597, -0.011057239025831223, 0.058429569005966187, 0.006644281558692455, -0.001474958611652255, 0.007437543477863073, -0.01619563437998295, -0.02920592948794365, 0.041366759687662125, -0.029066724702715874, 0.01920364238321781, 0.0018922464223578572, -0.037138473242521286, 0.018856501206755638, -0.08324026316404343, -0.06895384937524796, 0.019282778725028038, -0.019644396379590034, 0.002743898192420602, -0.06976723670959473, -0.032519035041332245, -0.069359190762043, -0.023557547479867935, 0.03669281676411629, 0.021546317264437675, 0.012704690918326378, -0.02822217531502247, 0.00851709209382534, -0.036177534610033035, -0.03627104312181473, -0.062151551246643066, -0.041599441319704056, -0.03305816650390625, -0.05572323873639107, 0.03746477887034416, 0.006293892860412598, 0.024247653782367706, -0.014601483941078186, -0.01819465681910515, -0.039566412568092346, -0.0015400341944769025, 0.040605075657367706, 0.01677381433546543, -0.008037076331675053, -0.025446642190217972, 0.01766459457576275, -0.006240189541131258, 0.0058023263700306416, -0.05094634369015694, -0.01231181900948286, 0.08462948352098465, 0.04556845501065254, 0.046389199793338776, 0.013927236199378967, -0.029131833463907242, -0.05153416469693184, -0.035751331597566605, -0.03557918220758438, -0.031425733119249344, -0.026654591783881187, -0.028801249340176582, -0.0496954508125782, 0.008471854031085968, -0.02353731356561184, -0.029669219627976418, 0.01290061604231596, 0.02362227812409401, 0.04580102860927582, 0.05694659799337387, 0.04465237259864807, 0.009391923435032368, -0.04589255526661873, -0.014292855747044086, 0.07830189913511276, -0.005857526324689388, 0.02362215146422386, -0.06997735798358917, -0.050972938537597656, 0.04039017856121063, 0.016838325187563896, 0.012244799174368382, 0.0040528480894863605, 0.09344561398029327, -0.00023261074966285378, -0.0027576000429689884, 0.024776943027973175, 0.019537173211574554, -0.009948805905878544, 0.01165083423256874, -0.011206112802028656, -0.030151013284921646, -0.05655219033360481, -0.027957456186413765, -0.06169655919075012, 0.036159224808216095, -0.06488266587257385, -0.04125625267624855, -0.02541288174688816, 0.03196930140256882, 0.022563733160495758, 0.01866653561592102, -0.03285324200987816, 0.0028523013461381197, -0.039439696818590164, -0.032640017569065094, 0.02539701573550701, 0.004291691817343235, 0.011127426289021969, 0.03191261738538742, 0.012163558974862099, -0.027092861011624336, 0.019271589815616608, 0.031332507729530334, 0.030667321756482124, 0.039341654628515244, -0.04213320091366768, 0.047961872071027756, -0.031908269971609116, 0.042282599955797195, 0.015856660902500153, -0.023377705365419388, -0.058292537927627563, -0.07744093984365463, -0.012352056801319122, 0.020572075620293617, -0.03349287807941437, 0.013278544880449772, 0.030029654502868652, -0.03201443329453468, -0.030102422460913658, 0.01331891119480133, 0.004456513561308384, 0.04957827553153038, -0.040681660175323486, 0.05050264298915863, -0.013626078143715858, 0.03751709684729576, -0.04977390915155411, 0.019868362694978714, -0.023261306807398796, -0.04851926863193512, 0.02026495896279812, 0.06138297915458679, 0.039996325969696045, 0.06406313925981522, 0.04539354518055916, 0.04334232956171036, -0.05416799709200859, 0.03628244623541832, 0.05105271562933922, -0.007706121541559696, -0.054600272327661514, -0.005701411049813032, -0.01739668659865856, -0.021002545952796936, -0.019927648827433586, -0.029968982562422752, 0.032679229974746704, 0.04651970416307449, 0.002823763294145465, -0.0029612681828439236, 0.01473004836589098, -0.02894522249698639, -0.047240227460861206, -0.08145732432603836, -0.005963537376374006, -0.022927379235625267, -0.030778588727116585, 0.04271538183093071, 0.03939095139503479, 0.0222378671169281, 0.043182920664548874, 0.04310889169573784, -0.008550305850803852, -0.06885957717895508, 0.045225873589515686, 0.04655429720878601, -0.06394680589437485, -0.06743847578763962, -0.04060880467295647, 0.034448377788066864, 0.05630232021212578, -0.012449553236365318, -0.07572517544031143, 0.03288992866873741, 0.058476392179727554, -0.04865303635597229, 0.05011080950498581, 0.005326666869223118, 0.0434449166059494, 0.05395159497857094, -0.00555437570437789, 0.02162373997271061, -0.020069072023034096, 0.0009645476820878685, 0.000538491178303957, 0.05118173733353615, -0.030339205637574196, -0.052892476320266724, -0.042925164103507996, 0.03691919893026352, 0.040954574942588806, 0.042013026773929596, 0.062493324279785156, -0.0290887001901865, -0.07377579808235168, -0.0009017193224281073, 0.017455562949180603, -0.03634917736053467, 0.007137770764529705, 0.017228735610842705, 0.051363036036491394, -0.05426535755395889, -0.03814467415213585, -0.04667143523693085, -0.003051917301490903, 0.03026367723941803, -0.009441038593649864, -0.026252716779708862, -0.03152400627732277, 0.029513439163565636, -0.01457221806049347, -0.017299477010965347, -0.09978117793798447, 0.020775023847818375, 0.00644333241507411, -0.03450640290975571, 0.060725387185811996, 0.06134356930851936, 0.04324299842119217, 0.042676448822021484, -0.012319739907979965, 0.03515028581023216, -0.035594392567873, 0.036556072533130646, -0.03407596796751022, -0.032395415008068085, 0.0037227303255349398, -0.0735950842499733, -0.008374717086553574, -0.02797054499387741, -0.03557353466749191, -0.02884220890700817, -0.05089800804853439, 0.0022691742051392794, -0.02921711467206478, 0.03521651774644852, -0.0034121940843760967, 0.0028098870534449816, -0.042054321616888046, -0.01730995811522007, -0.01078126486390829, -0.03857206553220749, -0.06195812672376633, -0.04555632174015045, 0.005518103018403053, 0.008661789819598198, 0.02308044768869877, 0.02537119761109352, 0.001180998282507062, 0.0129795391112566, 0.014383602887392044, -0.02635815553367138, 0.034945905208587646, 0.0007314731483347714, -0.03502025827765465, -0.025654349476099014, -0.003800316946581006, 0.001162968692369759, 0.016409967094659805, -0.01668865606188774, 0.022805536165833473, 0.023121055215597153, -0.03504355624318123, -0.03431391343474388, 0.01710207387804985, 0.013625065796077251, -0.08739086240530014, -0.02193012461066246, -0.03585878014564514, -0.04203419387340546, 0.015464664436876774, 0.004889965523034334, -0.023610694333910942, -0.009327693842351437, 0.025059213861823082, 0.021463366225361824, 0.005378169473260641, -0.020017828792333603, 0.018394367769360542, -0.017697079107165337, 0.0415603406727314, -0.08241629600524902, 0.019434263929724693, -0.03493179380893707, 0.0074631026946008205, -0.025495123118162155, 0.0027987901121377945, -0.041945312172174454, 0.051218584179878235, -0.019000377506017685, -0.009339039213955402, -0.011111286468803883, 0.022548353299498558, -0.05227808654308319, 0.03896639496088028, -0.03294748812913895, 0.007913485169410706, -0.042531948536634445, 0.04878796264529228, -0.04639780893921852, -0.017329169437289238, -0.0067794364877045155, 0.001062196446582675, -0.02764902263879776, -0.0026788716204464436, -0.03662250563502312, -0.028849750757217407, 0.03578914329409599, 0.030738048255443573, 0.020056257024407387, 0.02898227423429489, -0.006743431556969881, 0.014977972023189068, 0.0030354864429682493, -0.06853742897510529, -0.01576709747314453, -0.009119352325797081, 0.019630957394838333, -0.016265740618109703, 0.061023566871881485, 0.04011997580528259, -0.040508024394512177, -0.039328981190919876, 0.053857021033763885, 0.005417219363152981, -0.005702523980289698, 0.003745156805962324, 0.0038198961410671473, 0.060208313167095184, 0.02105374075472355, -0.03957688808441162, -0.013181440532207489, 0.0005834460025653243, -0.026198025792837143, 0.009837746620178223, -0.011495443060994148, 0.005328058730810881, -0.01307733915746212, -0.03021683357656002, -0.028196800500154495, 0.06619154661893845, 0.018011171370744705, 0.023066343739628792, 0.01255820132791996, -0.0346539132297039, 0.02466593123972416, 0.010887873359024525, -0.03994769603013992, -0.020625777542591095, 0.009431354701519012, -0.026986612007021904, 0.059154003858566284, -0.023360608145594597, -0.009741710498929024, 0.05331685394048691, -0.015461340546607971, -0.009854794479906559, 0.05368969216942787, -0.044024817645549774, 0.0035148479510098696, 0.06398357450962067, -0.05879035219550133, -0.006948838010430336, -0.03666651248931885, 0.059976089745759964, -0.05602535977959633, 0.06188039854168892, 0.021809488534927368, 0.024062717333436012, 0.022209294140338898, -0.026984531432390213, -0.054379310458898544, 0.02790568396449089, -0.03800654783844948, 0.07794787734746933, 0.0015622366918250918, -0.05310533195734024, 0.06562327593564987, 0.019367007538676262, -0.0663491040468216, 0.029347270727157593, 0.025224607437849045, 0.013899519108235836, 0.03464836627244949, 0.045625895261764526, -0.0935058742761612, -0.0066544231958687305, -0.014845532365143299, 0.06532904505729675, -0.055583562701940536, -0.03390680253505707, 0.009577066637575626, -0.03484036400914192, -0.03233933076262474, 0.0376199409365654, -0.030895859003067017, 0.003412898862734437, 0.014852394349873066, -0.08551047742366791, -0.06455768644809723, -0.007683678064495325, 0.011550418101251125, -0.013067859224975109, 0.020468546077609062, -0.022512162104249, -0.012290310114622116, 0.01781180500984192, -0.002046836307272315, -0.039297785609960556, 0.010421850718557835, 0.0004708447668235749, -0.046582143753767014, -0.029778022319078445, 0.017478978261351585, 0.005248811561614275, -0.017791150137782097, 0.018869658932089806, -0.038840923458337784, 0.03881184756755829, 0.009061173535883427, -0.011340606026351452, 0.028066083788871765, -0.02479800581932068, 0.006936173420399427, 0.02855401486158371, 0.015039090998470783, 0.005484357010573149, -0.02097180113196373, 0.04704613238573074, 0.03278842568397522, 0.035970188677310944, -0.011185161769390106, -0.03126123920083046, -0.02882644161581993, 0.04693601652979851, -0.02863132953643799, 0.01936963014304638, -0.00336209824308753, -0.052148763090372086, -0.032767269760370255, -0.02583884634077549, -0.007157767191529274, 0.05772674083709717, -0.04050107300281525, 0.01834762655198574, 0.07042375952005386, -0.02356071025133133, -0.04167637228965759, -0.08683253079652786, -0.019361060112714767, -0.04229709133505821, 0.03589848056435585, 0.028982600197196007, -0.030048616230487823, 0.002183325821533799, -0.060452837496995926, -0.03657720237970352, 0.06491290777921677, 0.027370015159249306, -0.0555090606212616, 0.05888970196247101, 0.027962327003479004, -0.026759309694170952, 0.01622913032770157, 0.030182410031557083, -0.06047460064291954, 0.011578219011425972, 0.01617797277867794, 0.027258113026618958, 0.03412899374961853, 0.03865053877234459, -0.014553389512002468, -0.02927495911717415, -0.05881664529442787, -0.02498702146112919, -0.041260190308094025, -0.0023248952347785234, 0.08951453119516373 ]
BigSalmon/FormalBerta2
[ "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 } } }
16
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity --- # multi-qa_v1-distilbert-mean_cos ## Model Description SentenceTransformers is a set of models and frameworks that enable training and generating sentence embeddings from given data. The generated sentence embeddings can be utilized for Clustering, Semantic Search and other tasks. We used a pretrained [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) model and trained it using Siamese Network setup and contrastive learning objective. Question and answer pairs from StackExchange was used as training data to make the model robust to Question / Answer embedding similarity. For this model, mean pooling of hidden states were used as sentence embeddings. We developed this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developed this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as assistance from Google’s Flax, JAX, and Cloud team members about efficient deep learning frameworks. ## Intended uses Our model is intended to be used as a sentence encoder for a search engine. Given an input sentence, it outputs a vector which captures the sentence semantic information. The sentence vector may be used for semantic-search, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/multi-qa_v1-distilbert-mean_cos') text = "Replace me by any question / answer you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained on model on a TPU v3-8. We train the model during 80k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We used the concatenation from multiple Stackexchange Question-Answer datasets to fine-tune our model. MSMARCO, NQ & other question-answer datasets were also used. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [Stack Exchange QA - Title & Answer](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_best_voted_answer_jsonl) | - | 4,750,619 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | SearchQA | - | 582,261 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 |
[ -0.021821893751621246, -0.017685558646917343, -0.015788616612553596, 0.06369742751121521, 0.027786066755652428, 0.027087265625596046, -0.028040703386068344, 0.0041063022799789906, -0.037184182554483414, 0.04663251340389252, 0.013223554939031601, 0.016060341149568558, 0.009105273522436619, 0.03815225511789322, -0.05014868453145027, -0.02774805948138237, -0.03895264118909836, -0.0002338886260986328, -0.03278549760580063, -0.014922915026545525, 0.0027497108094394207, 0.017216229811310768, 0.0027205259539186954, 0.02196897566318512, -0.003804326755926013, 0.0075997584499418736, -0.009388181380927563, 0.023984508588910103, 0.013664676807820797, -0.05743584409356117, 0.019893387332558632, -0.023647835478186607, -0.04674361273646355, -0.002852353500202298, -0.006149664521217346, 0.021660611033439636, 0.019327176734805107, -0.011226714588701725, 0.019893625751137733, 0.05389637127518654, -0.012981421314179897, 0.005301414988934994, -0.010002152062952518, -0.02786378003656864, 0.023965775966644287, 0.012846117839217186, -0.01594843901693821, -0.02092703804373741, 0.03421540558338165, -0.038400959223508835, -0.046894170343875885, -0.09185909479856491, -0.023737017065286636, 0.018871553242206573, -0.001354986452497542, -0.005480070132762194, -0.06378496438264847, -0.03853935748338699, 0.05242388695478439, -0.05873527005314827, -0.028868824243545532, 0.023337533697485924, -0.06241069361567497, 0.010672739706933498, 0.04533649608492851, -0.040478747338056564, 0.010729287751019001, -0.047695744782686234, 0.008044518530368805, -0.04274338483810425, 0.05474747344851494, -0.03564953804016113, 0.03477761521935463, -0.08352549374103546, -0.021216614171862602, 0.007488328497856855, 0.035071056336164474, 0.040480125695466995, -0.015758777037262917, 0.0722636952996254, 0.009038688614964485, 0.00015359149256255478, 0.019488723948597908, -0.015233670361340046, 0.01127755269408226, 0.03799128159880638, -0.06067964434623718, 0.011691702529788017, -0.03508297726511955, 0.022153567522764206, -0.02072233147919178, -0.03290581703186035, -0.018755361437797546, -0.039901524782180786, -0.022404953837394714, 0.02060277760028839, 0.036122530698776245, -0.004572845995426178, 0.025571875274181366, 0.0029872008599340916, 0.033448267728090286, 0.04428083822131157, -0.029670828953385353, 0.04509035497903824, -0.02457653358578682, 0.008958300575613976, 0.008501436561346054, -0.03693883866071701, -0.045526761561632156, 0.026446789503097534, 0.024736540392041206, -0.022182540968060493, -0.057420339435338974, 0.01244339719414711, 0.03460859879851341, -0.029604680836200714, 0.06768149137496948, -0.025648601353168488, -0.015864994376897812, -0.03520043194293976, 0.06292840093374252, -0.013183151371777058, -0.00973681639879942, -0.026681767776608467, -0.06204693019390106, 0.020755616948008537, -0.04044715315103531, -0.04979359358549118, 0.010095269419252872, 0.006894399877637625, 0.01825745962560177, 0.029282772913575172, -0.0015883035957813263, -0.039813220500946045, 0.010770098306238651, 0.011568278074264526, -0.07380884885787964, 0.04234575107693672, 0.04931764304637909, 0.11387422680854797, -0.0631713941693306, -0.05976393446326256, 0.009848609566688538, 0.04934527724981308, -0.02465856820344925, 0.014426358975470066, 0.011379776522517204, -0.032454703003168106, -0.024297626689076424, -0.01552329771220684, 0.07094695419073105, -0.05019376054406166, -0.006000107619911432, 0.002595893107354641, -0.009836467914283276, 0.04903462156653404, -0.06750522553920746, -0.008847588673233986, 0.0031751927454024553, -0.0002786933328025043, -0.012412667274475098, 0.03450440242886543, -0.02439962513744831, 0.010393461212515831, -0.025492515414953232, -0.0029461844824254513, 0.00534754479303956, 0.06908144801855087, -0.007203004788607359, -0.034918319433927536, -0.04522421956062317, 0.0180511511862278, 0.019965115934610367, 0.05172581970691681, -0.04232097044587135, 0.009812572039663792, 0.07516788691282272, 0.03212345764040947, -0.021350961178541183, 0.02797563001513481, 0.0009364280267618597, -0.024172337725758553, -0.015344353392720222, 0.023173831403255463, 0.00017613756062928587, -0.025172259658575058, 0.04758681729435921, 0.05261329188942909, -0.027598150074481964, -0.026952628046274185, -0.03396410867571831, 0.05262785777449608, -0.00302574853412807, 0.002966194413602352, -0.016887515783309937, -0.010075235739350319, -0.02100343629717827, 0.03566017001867294, -0.017351798713207245, 0.0057847583666443825, -0.03388083726167679, -0.032409798353910446, 0.0293965395539999, 0.03294650837779045, 0.02998698130249977, 0.02931150235235691, 0.009749379009008408, 0.08400583267211914, -0.04244520515203476, 0.007950653322041035, -0.06034904345870018, -0.04983947426080704, -0.009844886139035225, 0.03113708086311817, 0.028929710388183594, 0.04312434792518616, 0.02280511148273945, -0.02513996511697769, 0.01948193833231926, 0.05758705362677574, 0.03455658257007599, 0.03866772726178169, -0.028267523273825645, -0.01585458777844906, 0.020410781726241112, 0.0786748006939888, -0.03105936013162136, -0.013880823738873005, 0.030606769025325775, 0.049322709441185, 0.0013443195493891835, 0.008121293969452381, -0.011205857619643211, 0.01998252235352993, -0.03892989084124565, -0.059425000101327896, 0.027891185134649277, 0.014449870213866234, -0.014576617628335953, 0.04610086977481842, -0.00254549621604383, -0.015118618495762348, 0.042904023081064224, -0.019791798666119576, -0.019542306661605835, -0.04575619101524353, 0.0015417784452438354, 0.01914849691092968, 0.0582849495112896, -0.027667811140418053, 0.014328153803944588, 0.03329041227698326, 0.030730944126844406, 0.04119512438774109, 0.003550003981217742, 0.018784916028380394, 0.059891000390052795, -0.0030569317750632763, 0.009349554777145386, 0.02854243852198124, 0.020011240616440773, 0.029617328196763992, 0.07545161992311478, 0.0057074883952736855, 0.06788493692874908, 0.028303323313593864, 0.02127481997013092, 0.0739375576376915, 0.02865470014512539, 0.0154196098446846, 0.054918885231018066, 0.06704433262348175, 0.011677725240588188, 0.01012320164591074, 0.05803374573588371, -0.04701808840036392, 0.044703103601932526, -0.037912122905254364, 0.023431656882166862, -0.006667830515652895, -0.010424536652863026, 0.05681819096207619, 0.008277764543890953, -0.004971209913492203, 0.007214670535176992, -0.013808734714984894, -0.03126010671257973, 0.04231060668826103, -0.02907664142549038, 0.02341870591044426, 0.0018765074200928211, -0.04105164855718613, 0.015169094316661358, -0.08665527403354645, -0.07049737870693207, 0.01813158206641674, -0.018488479778170586, 0.0013115680776536465, -0.07245422154664993, -0.03601423650979996, -0.07130927592515945, -0.021288085728883743, 0.035701267421245575, 0.02467644214630127, 0.012139997445046902, -0.023165082558989525, 0.008070454932749271, -0.04188377410173416, -0.037359580397605896, -0.06120537593960762, -0.040295954793691635, -0.037193480879068375, -0.05582744628190994, 0.03771507367491722, 0.007041295524686575, 0.022602109238505363, -0.013741855509579182, -0.023195702582597733, -0.03919832780957222, -0.0010311657097190619, 0.04010136052966118, 0.016615023836493492, -0.009829427115619183, -0.026412837207317352, 0.016829069703817368, -0.005374746862798929, 0.006514619570225477, -0.04889428988099098, -0.014404893852770329, 0.08221873641014099, 0.05112166330218315, 0.04294895753264427, 0.01659514382481575, -0.02860775589942932, -0.05148718133568764, -0.03716510161757469, -0.0378282330930233, -0.035625822842121124, -0.025468148291110992, -0.027246644720435143, -0.05205213651061058, 0.008360840380191803, -0.02477666735649109, -0.0326467826962471, 0.014069803059101105, 0.02377135306596756, 0.04025280475616455, 0.056044016033411026, 0.04203227907419205, 0.009571490809321404, -0.04301796481013298, -0.013668667525053024, 0.0798761323094368, -0.006496519315987825, 0.02690228633582592, -0.06826887279748917, -0.04885838180780411, 0.03750002011656761, 0.015344824641942978, 0.011570083908736706, 0.0025981676299124956, 0.09244707971811295, -0.0021986118517816067, 0.00001139568121288903, 0.02561330609023571, 0.021797537803649902, -0.011167682707309723, 0.011073936708271503, -0.011960271745920181, -0.030609648674726486, -0.05402706563472748, -0.029764123260974884, -0.05785147473216057, 0.03505609929561615, -0.06599991768598557, -0.04416722431778908, -0.025623371824622154, 0.03255154937505722, 0.021764785051345825, 0.018082190304994583, -0.033741895109415054, 0.002331461990252137, -0.04385954886674881, -0.03012528270483017, 0.026364190503954887, 0.002170177176594734, 0.008768068626523018, 0.03087124601006508, 0.011310914531350136, -0.025624822825193405, 0.022020963951945305, 0.03010605461895466, 0.03627438098192215, 0.03486268222332001, -0.04469786211848259, 0.046538230031728745, -0.027967698872089386, 0.03887653350830078, 0.01807706616818905, -0.021395644173026085, -0.0570843443274498, -0.07854723930358887, -0.00972344633191824, 0.02054334618151188, -0.03236684203147888, 0.012530570849776268, 0.03189126029610634, -0.025884555652737617, -0.030596736818552017, 0.011551916599273682, 0.00397445959970355, 0.04824352264404297, -0.03695771470665932, 0.051126446574926376, -0.0188826285302639, 0.04107905924320221, -0.04827437177300453, 0.02070302516222, -0.023850006982684135, -0.05080833286046982, 0.019680211320519447, 0.058689188212156296, 0.04088931903243065, 0.05983293801546097, 0.047880660742521286, 0.046685412526130676, -0.05358491092920303, 0.040205903351306915, 0.04961676523089409, -0.01038603950291872, -0.05386822670698166, -0.009888391941785812, -0.015661319717764854, -0.01565706357359886, -0.022277310490608215, -0.02826523222029209, 0.035840973258018494, 0.0477050356566906, 0.0025452564004808664, -0.002227006945759058, 0.013425398617982864, -0.03421493619680405, -0.04374461621046066, -0.08085118234157562, -0.009495160542428493, -0.020195068791508675, -0.03335175663232803, 0.04468711465597153, 0.0426894836127758, 0.02185051143169403, 0.04418546333909035, 0.042076800018548965, -0.004380542319267988, -0.06853552907705307, 0.04871630296111107, 0.04178224503993988, -0.06536604464054108, -0.06486845761537552, -0.0455203503370285, 0.0331132709980011, 0.06008128076791763, -0.012086800299584866, -0.0726994052529335, 0.030417542904615402, 0.05552799627184868, -0.04898001253604889, 0.05035238340497017, 0.004935305565595627, 0.04863135889172554, 0.05451903119683266, -0.0033264663070440292, 0.022005829960107803, -0.02106398344039917, 0.001117924926802516, 0.0009094486013054848, 0.05108019709587097, -0.028543656691908836, -0.053772006183862686, -0.04328974336385727, 0.03869332745671272, 0.045840758830308914, 0.04019670933485031, 0.06256788223981857, -0.030411845073103905, -0.07247193157672882, 0.0011779534397646785, 0.01816512458026409, -0.037405870854854584, 0.006083751562982798, 0.01887119747698307, 0.05284293740987778, -0.058530665934085846, -0.03504423052072525, -0.04705395549535751, 0.0019963651429861784, 0.03076186031103134, -0.00469089625403285, -0.024087991565465927, -0.034475747495889664, 0.027409333735704422, -0.01983720064163208, -0.019307157024741173, -0.0963071659207344, 0.0178536307066679, 0.008416550233960152, -0.03106914833188057, 0.06281507760286331, 0.06211509183049202, 0.049205232411623, 0.041749607771635056, -0.014567513018846512, 0.03130445256829262, -0.039164938032627106, 0.036971256136894226, -0.031732309609651566, -0.037720613181591034, 0.0002176371490349993, -0.07701029628515244, -0.011311526410281658, -0.029700467362999916, -0.036400824785232544, -0.02767382748425007, -0.04671584814786911, 0.003122695256024599, -0.025658925995230675, 0.03601352125406265, 0.00017257263243664056, 0.004667780362069607, -0.03943192586302757, -0.020556336268782616, -0.01243751123547554, -0.041194602847099304, -0.05825657397508621, -0.04135272651910782, 0.00015581051411572844, 0.004852922633290291, 0.022780494764447212, 0.023728039115667343, 0.004053657408803701, 0.013676239177584648, 0.015847153961658478, -0.028550026938319206, 0.030010748654603958, 0.005459684878587723, -0.0367257259786129, -0.025332430377602577, -0.0005786937545053661, 0.0037148671690374613, 0.018033966422080994, -0.020281676203012466, 0.021229039877653122, 0.023857736960053444, -0.034620530903339386, -0.036302682012319565, 0.016006840392947197, 0.015150275081396103, -0.08585372567176819, -0.023748178035020828, -0.03309285640716553, -0.04179380089044571, 0.016249902546405792, 0.003766705747693777, -0.025687729939818382, -0.008575674146413803, 0.02380472607910633, 0.02249508909881115, 0.007435166276991367, -0.017407573759555817, 0.018146313726902008, -0.01953003741800785, 0.03925403207540512, -0.08265000581741333, 0.022414302453398705, -0.035736940801143646, 0.00680500827729702, -0.024224482476711273, 0.0068932706490159035, -0.03739864379167557, 0.04473596438765526, -0.019261417910456657, -0.0044511714950203896, -0.012493112124502659, 0.023507168516516685, -0.049422845244407654, 0.03430439904332161, -0.03319619223475456, 0.006263089366257191, -0.04017062112689018, 0.0490734837949276, -0.04872022196650505, -0.01718706265091896, -0.0073988595977425575, 0.00003154898149659857, -0.02716897241771221, 0.003616055240854621, -0.03278558701276779, -0.023076040670275688, 0.03445577248930931, 0.03119715116918087, 0.022378144785761833, 0.029628556221723557, -0.00007903571531642228, 0.014465134590864182, 0.0016638104571029544, -0.0691375881433487, -0.015756329521536827, -0.012331940233707428, 0.017092883586883545, -0.01638394221663475, 0.057815585285425186, 0.034372176975011826, -0.03969123214483261, -0.03742290660738945, 0.055450938642024994, 0.0062675802037119865, -0.005945784039795399, 0.004995094612240791, 0.004842265974730253, 0.06238001957535744, 0.023249685764312744, -0.030960481613874435, -0.013295221142470837, 0.0007706854958087206, -0.03036574274301529, 0.010227076709270477, -0.01379543449729681, 0.012178863398730755, -0.01155344769358635, -0.02909255214035511, -0.03378094732761383, 0.06608157604932785, 0.016848135739564896, 0.02378194034099579, 0.012719187885522842, -0.03593692556023598, 0.022559968754649162, 0.015104447491466999, -0.03828582540154457, -0.02404121123254299, 0.00932055152952671, -0.02709938772022724, 0.06311986595392227, -0.02120966650545597, -0.008092007599771023, 0.05250571668148041, -0.01739000715315342, -0.011982021853327751, 0.049842044711112976, -0.042913101613521576, 0.0030956962145864964, 0.06450638920068741, -0.05832762271165848, -0.007176914718002081, -0.035896994173526764, 0.059218838810920715, -0.0576167032122612, 0.06175077334046364, 0.020143453031778336, 0.02118857391178608, 0.021386537700891495, -0.026271887123584747, -0.04959035664796829, 0.028840322047472, -0.039282623678445816, 0.07639231532812119, -0.000015209936464088969, -0.05324581265449524, 0.06506294012069702, 0.021437622606754303, -0.06669469177722931, 0.03024514764547348, 0.02806955948472023, 0.016773661598563194, 0.035789575427770615, 0.04577885568141937, -0.09318963438272476, -0.010945887304842472, -0.017004232853651047, 0.06683100014925003, -0.05440015345811844, -0.031667038798332214, 0.009388652630150318, -0.038469962775707245, -0.03495120629668236, 0.03588005527853966, -0.030022962018847466, 0.003518632147461176, 0.012539698742330074, -0.08593595027923584, -0.05889267846941948, -0.010027552023530006, 0.010798154398798943, -0.015978841111063957, 0.021386999636888504, -0.024658747017383575, -0.0112517224624753, 0.019363265484571457, -0.0018029812490567565, -0.03622155264019966, 0.010634660720825195, -0.003437176812440157, -0.04009108990430832, -0.03397088870406151, 0.017593953758478165, 0.0061468034982681274, -0.019967040047049522, 0.021516228094697, -0.03926511108875275, 0.038689520210027695, 0.008010170422494411, -0.010317112319171429, 0.027889307588338852, -0.02471410669386387, 0.012601060792803764, 0.028915096074342728, 0.016344521194696426, 0.0028473110869526863, -0.019160093739628792, 0.04861922562122345, 0.034199319779872894, 0.03892166167497635, -0.012646928429603577, -0.030506139621138573, -0.029896430671215057, 0.04879578948020935, -0.029251839965581894, 0.02075320854783058, -0.00267603388056159, -0.05292164906859398, -0.03074633702635765, -0.020928941667079926, -0.008257333189249039, 0.05921304598450661, -0.039696626365184784, 0.019405417144298553, 0.064914770424366, -0.024792185053229332, -0.03961104154586792, -0.08858660608530045, -0.019273586571216583, -0.04487547278404236, 0.03541889414191246, 0.029226064682006836, -0.03049788437783718, -0.002058803802356124, -0.06309526413679123, -0.03397199884057045, 0.06685477495193481, 0.02883601002395153, -0.05950545892119408, 0.0597374252974987, 0.026952607557177544, -0.02694679982960224, 0.019243966788053513, 0.029156958684325218, -0.0578216016292572, 0.009482979774475098, 0.018986305221915245, 0.025269128382205963, 0.03514155372977257, 0.04032452031970024, -0.020088212564587593, -0.030178172513842583, -0.05573774501681328, -0.02584194764494896, -0.043338168412446976, -0.002998107112944126, 0.08790960162878036 ]
BigSalmon/FormalRobertaa
[ "pytorch", "roberta", "fill-mask", "transformers", "autotrain_compatible", "has_space" ]
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 } } }
5
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity --- # multi-qa_v1-mpnet-mean_cos ## Model Description SentenceTransformers is a set of models and frameworks that enable training and generating sentence embeddings from given data. The generated sentence embeddings can be utilized for Clustering, Semantic Search and other tasks. We used a pretrained [microsoft/mpnet-base](https://huggingface.co/microsoft/mpnet-base) model and trained it using Siamese Network setup and contrastive learning objective. Question and answer pairs from StackExchange was used as training data to make the model robust to Question / Answer embedding similarity. For this model, mean pooling of hidden states were used as sentence embeddings. We developed this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developed this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as assistance from Google’s Flax, JAX, and Cloud team members about efficient deep learning frameworks. ## Intended uses Our model is intended to be used as a sentence encoder for a search engine. Given an input sentence, it outputs a vector which captures the sentence semantic information. The sentence vector may be used for semantic-search, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/multi-qa_v1-mpnet-mean_cos') text = "Replace me by any question / answer you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained [microsoft/mpnet-base](https://huggingface.co/microsoft/mpnet-base). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained on model on a TPU v3-8. We train the model during 80k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We used the concatenation from multiple Stackexchange Question-Answer datasets to fine-tune our model. MSMARCO, NQ & other question-answer datasets were also used. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [Stack Exchange QA - Title & Answer](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_best_voted_answer_jsonl) | - | 4,750,619 | | [Stack Exchange](https://huggingface.co/datasets/flax-sentence-embeddings/stackexchange_title_body_jsonl) | - | 364,001 | | [TriviaqQA](https://huggingface.co/datasets/trivia_qa) | - | 73,346 | | [SQuAD2.0](https://rajpurkar.github.io/SQuAD-explorer/) | [paper](https://aclanthology.org/P18-2124.pdf) | 87,599 | | [Quora Question Pairs](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) | - | 103,663 | | [Eli5](https://huggingface.co/datasets/eli5) | [paper](https://doi.org/10.18653/v1/p19-1346) | 325,475 | | [PAQ](https://github.com/facebookresearch/PAQ) | [paper](https://arxiv.org/abs/2102.07033) | 64,371,441 | | [WikiAnswers](https://github.com/afader/oqa#wikianswers-corpus) | [paper](https://doi.org/10.1145/2623330.2623677) | 77,427,422 | | [MS MARCO](https://microsoft.github.io/msmarco/) | [paper](https://doi.org/10.1145/3404835.3462804) | 9,144,553 | | [GOOAQ: Open Question Answering with Diverse Answer Types](https://github.com/allenai/gooaq) | [paper](https://arxiv.org/pdf/2104.08727.pdf) | 3,012,496 | | [Yahoo Answers](https://www.kaggle.com/soumikrakshit/yahoo-answers-dataset) Question/Answer | [paper](https://proceedings.neurips.cc/paper/2015/hash/250cf8b51c773f3f8dc8b4be867a9a02-Abstract.html) | 681,164 | | SearchQA | - | 582,261 | | [Natural Questions (NQ)](https://ai.google.com/research/NaturalQuestions) | [paper](https://transacl.org/ojs/index.php/tacl/article/view/1455) | 100,231 |
[ -0.025289427489042282, -0.021078970283269882, -0.013919724151492119, 0.06178293004631996, 0.025942225009202957, 0.02742842212319374, -0.027048300951719284, 0.0024062911979854107, -0.034631408751010895, 0.04751899465918541, 0.013407926075160503, 0.01696954295039177, 0.006785168312489986, 0.037428565323352814, -0.0509956069290638, -0.026672761887311935, -0.03870948404073715, 0.00017442724492866546, -0.032789625227451324, -0.011273778975009918, 0.008214711211621761, 0.019624538719654083, 0.0018081598682329059, 0.024341249838471413, -0.0025369934737682343, 0.007746567018330097, -0.008805433288216591, 0.02265510894358158, 0.01383217889815569, -0.053702861070632935, 0.018106767907738686, -0.026517247781157494, -0.04508918523788452, -0.0022670694161206484, -0.004489533137530088, 0.026853537186980247, 0.01552599761635065, -0.011936146765947342, 0.019702786579728127, 0.05628504976630211, -0.014416069723665714, 0.005653691943734884, -0.0106055261567235, -0.029609067365527153, 0.020078284665942192, 0.010321523062884808, -0.011340548284351826, -0.02298164553940296, 0.032764118164777756, -0.03870619088411331, -0.04584597051143646, -0.09449155628681183, -0.022857490926980972, 0.017092332243919373, -0.005129860248416662, -0.007132785860449076, -0.06519528478384018, -0.041129790246486664, 0.049856700003147125, -0.05923165753483772, -0.029108677059412003, 0.024973547086119652, -0.061820246279239655, 0.013827036134898663, 0.04561727121472359, -0.04329166188836098, 0.010044878348708153, -0.04649561271071434, 0.008105643093585968, -0.04650849476456642, 0.05358489602804184, -0.03087599016726017, 0.03589540719985962, -0.08678784966468811, -0.021121233701705933, 0.007490167394280434, 0.0354783795773983, 0.04163822531700134, -0.015834113582968712, 0.07234637439250946, 0.011806502006947994, -0.0023346049711108208, 0.020557329058647156, -0.011245427653193474, 0.008336546830832958, 0.03631744533777237, -0.060496095567941666, 0.012608240358531475, -0.03156312182545662, 0.02092827297747135, -0.02176041342318058, -0.030382981523871422, -0.014797518029808998, -0.04059178754687309, -0.026467757299542427, 0.01988956518471241, 0.03786630183458328, -0.00479210214689374, 0.022478880360722542, 0.00683119660243392, 0.032231029123067856, 0.04417130723595619, -0.02839617058634758, 0.04747876524925232, -0.028460552915930748, 0.00659313565120101, 0.0034410988446325064, -0.0373377650976181, -0.047486379742622375, 0.02205798774957657, 0.020636597648262978, -0.024204041808843613, -0.059226952493190765, 0.014609834179282188, 0.03815269470214844, -0.03224677965044975, 0.06556937843561172, -0.029393751174211502, -0.013121373951435089, -0.03722758963704109, 0.06563610583543777, -0.014614826068282127, -0.005207880865782499, -0.028903448954224586, -0.06160087510943413, 0.023422403261065483, -0.038113877177238464, -0.04934397712349892, 0.010521543212234974, 0.007654537446796894, 0.01808505319058895, 0.027575397863984108, -0.004519829526543617, -0.03992726281285286, 0.015235310420393944, 0.010740239173173904, -0.07089611142873764, 0.04169679805636406, 0.0478651337325573, 0.11075492203235626, -0.06195329129695892, -0.0597042441368103, 0.009833223186433315, 0.05265470966696739, -0.025515109300613403, 0.01747307926416397, 0.010505788959562778, -0.03573697432875633, -0.026095854118466377, -0.01767924055457115, 0.06875245273113251, -0.05113706737756729, -0.007791903801262379, 0.0023592726793140173, -0.010907331481575966, 0.048686154186725616, -0.06460043787956238, -0.010655554011464119, 0.004771059844642878, -0.0008492846973240376, -0.008887858130037785, 0.032799169421195984, -0.021916093304753304, 0.013258841820061207, -0.02620316483080387, -0.007707365322858095, 0.003391142003238201, 0.0683371052145958, -0.009279653429985046, -0.03671551123261452, -0.04275782033801079, 0.01817537471652031, 0.021100644022226334, 0.05121400207281113, -0.043635837733745575, 0.011055156588554382, 0.07649081945419312, 0.03164190426468849, -0.021386584267020226, 0.03101760894060135, 0.005373065359890461, -0.022554708644747734, -0.014986737631261349, 0.020112203434109688, -0.0007405868382193148, -0.02540518157184124, 0.042856648564338684, 0.05565651133656502, -0.02563726343214512, -0.022239644080400467, -0.03176873177289963, 0.05278794467449188, -0.0075879511423408985, 0.005427760072052479, -0.01656384766101837, -0.014345955103635788, -0.020080341026186943, 0.03455914184451103, -0.018320703878998756, 0.005682908929884434, -0.03156040981411934, -0.03277936950325966, 0.028140921145677567, 0.03572485223412514, 0.03316605091094971, 0.030131187289953232, 0.004282512702047825, 0.0856025442481041, -0.03894419223070145, 0.007036476396024227, -0.054824717342853546, -0.05243978649377823, -0.010441410355269909, 0.03112480416893959, 0.027297629043459892, 0.0437181293964386, 0.024382801726460457, -0.02854001149535179, 0.020953556522727013, 0.054575614631175995, 0.03322039544582367, 0.04049832001328468, -0.03403439745306969, -0.016282852739095688, 0.01997547410428524, 0.07684015482664108, -0.03194446116685867, -0.01823437586426735, 0.02953554317355156, 0.05183659493923187, -0.0006853818194940686, 0.008312941528856754, -0.008664088323712349, 0.024408508092164993, -0.03855588287115097, -0.06516560167074203, 0.029698912054300308, 0.012412844225764275, -0.015576113015413284, 0.04469398036599159, -0.00674181105569005, -0.013784609735012054, 0.0438622385263443, -0.021222716197371483, -0.019430773332715034, -0.04499991983175278, 0.0015549870440736413, 0.019823754206299782, 0.055109526962041855, -0.02628415822982788, 0.01705106347799301, 0.035400595515966415, 0.027382733300328255, 0.04160904139280319, 0.0038580556865781546, 0.01949818804860115, 0.06270681321620941, -0.0065329596400260925, 0.009150478057563305, 0.026786593720316887, 0.02140016295015812, 0.03138558566570282, 0.07540255784988403, 0.004194880370050669, 0.06842129677534103, 0.023907406255602837, 0.020296011120080948, 0.07490900903940201, 0.029913274571299553, 0.018445435911417007, 0.057129260152578354, 0.06859071552753448, 0.011119398288428783, 0.011307225562632084, 0.05818704515695572, -0.04844304546713829, 0.0430256687104702, -0.03809886425733566, 0.025961710140109062, -0.006422854028642178, -0.009401308372616768, 0.05616993084549904, 0.006695122923702002, -0.005459445528686047, 0.010366461239755154, -0.01679360494017601, -0.03369937092065811, 0.04214264824986458, -0.028983699157834053, 0.024552790448069572, 0.0018525273771956563, -0.038215670734643936, 0.016102906316518784, -0.08421466499567032, -0.06696615368127823, 0.02227962389588356, -0.020447660237550735, 0.00043002550955861807, -0.07279876619577408, -0.03546270355582237, -0.06778362393379211, -0.024398062378168106, 0.0391463078558445, 0.020924095064401627, 0.01917782984673977, -0.022774048149585724, 0.008890987373888493, -0.03998665511608124, -0.037795715034008026, -0.06237468495965004, -0.03876262158155441, -0.03579239547252655, -0.054383356124162674, 0.039918217808008194, 0.004069996532052755, 0.021692967042326927, -0.013127543963491917, -0.023886747658252716, -0.03864290937781334, -0.00005523830623133108, 0.041983459144830704, 0.015782412141561508, -0.010342264547944069, -0.025870375335216522, 0.01889672316610813, -0.007784662768244743, 0.0073811146430671215, -0.051446110010147095, -0.012589368037879467, 0.08171994984149933, 0.048379309475421906, 0.04414050281047821, 0.013445374555885792, -0.02913333848118782, -0.05183596536517143, -0.03561786934733391, -0.035544876009225845, -0.03594060242176056, -0.030760614201426506, -0.02478991448879242, -0.05225149914622307, 0.007815220393240452, -0.02111947350203991, -0.033270347863435745, 0.015412647277116776, 0.022141585126519203, 0.04259243980050087, 0.052978694438934326, 0.042732637375593185, 0.006544230971485376, -0.04275807738304138, -0.01412913016974926, 0.07881085574626923, -0.001911619328893721, 0.026286141946911812, -0.06702020764350891, -0.052432332187891006, 0.03888190537691116, 0.016234949231147766, 0.011874070391058922, 0.00010804077464854345, 0.0941728726029396, 0.002400836441665888, -0.00004075945253134705, 0.02923981286585331, 0.018561773002147675, -0.010638352483510971, 0.011399902403354645, -0.010910490527749062, -0.032169803977012634, -0.05582026392221451, -0.02694522775709629, -0.05591408535838127, 0.03983902186155319, -0.06504528969526291, -0.04294035956263542, -0.026755020022392273, 0.03284713253378868, 0.024714922532439232, 0.01766633428633213, -0.02764463983476162, 0.0011819815263152122, -0.04039700701832771, -0.031236639246344566, 0.027891116216778755, 0.003226540982723236, 0.01039253082126379, 0.03378167748451233, 0.011982547119259834, -0.0289292149245739, 0.02380492351949215, 0.027049651369452477, 0.03618183732032776, 0.03558905050158501, -0.04248098284006119, 0.0481061227619648, -0.03042045421898365, 0.042970120906829834, 0.016320254653692245, -0.022334011271595955, -0.06211139261722565, -0.08139310032129288, -0.01107037253677845, 0.019291706383228302, -0.033916812390089035, 0.014417885802686214, 0.03294239938259125, -0.02962499111890793, -0.029252303764224052, 0.010755819268524647, 0.00417038518935442, 0.050524670630693436, -0.03864705562591553, 0.050262197852134705, -0.01655595749616623, 0.036549054086208344, -0.04671068862080574, 0.020971553400158882, -0.020474174991250038, -0.04894788935780525, 0.02045181579887867, 0.056505367159843445, 0.042063623666763306, 0.05839883163571358, 0.04658136144280434, 0.04859098419547081, -0.05114707723259926, 0.03998883441090584, 0.04825000464916229, -0.008553542196750641, -0.055888209491968155, -0.005780000239610672, -0.019007544964551926, -0.015526916831731796, -0.02017158642411232, -0.03161478787660599, 0.03409195318818092, 0.04791838303208351, 0.007575935684144497, -0.005788967479020357, 0.013985320925712585, -0.0304949302226305, -0.04220540076494217, -0.08239966630935669, -0.008070798590779305, -0.022535953670740128, -0.03125979006290436, 0.0422503761947155, 0.039362583309412, 0.020479919388890266, 0.04325094074010849, 0.04183240607380867, -0.008979946374893188, -0.07190099358558655, 0.04717321693897247, 0.04350091516971588, -0.06677886098623276, -0.06499101221561432, -0.04157295078039169, 0.03572090342640877, 0.05959809571504593, -0.011071193031966686, -0.07207175344228745, 0.03199020400643349, 0.05690305307507515, -0.04810626432299614, 0.051210980862379074, 0.009130370803177357, 0.047343671321868896, 0.056449007242918015, -0.0022913669236004353, 0.022211439907550812, -0.020235365256667137, 0.0011617313139140606, 0.0019925443921238184, 0.050705812871456146, -0.030114125460386276, -0.05219763144850731, -0.04181642457842827, 0.037870779633522034, 0.04204023629426956, 0.04085835814476013, 0.06419126689434052, -0.0304605420678854, -0.07396552711725235, -0.0005761705688200891, 0.019888820126652718, -0.03888547793030739, 0.010064609348773956, 0.01413094624876976, 0.0528298020362854, -0.057462599128484726, -0.03433660417795181, -0.045556146651506424, 0.0017798957414925098, 0.030240075662732124, -0.007812194060534239, -0.025927161797881126, -0.033723533153533936, 0.025663118809461594, -0.012769020162522793, -0.017925163730978966, -0.09531164169311523, 0.017516110092401505, 0.006788903381675482, -0.027341550216078758, 0.061183862388134, 0.06144900619983673, 0.050593722611665726, 0.04076600819826126, -0.01476505771279335, 0.0358579121530056, -0.0379650853574276, 0.03403867036104202, -0.030153149738907814, -0.03526300936937332, -0.00020573493384290487, -0.07460980117321014, -0.00954428967088461, -0.034415967762470245, -0.032206080853939056, -0.029908394441008568, -0.04730606824159622, 0.003105056006461382, -0.031213760375976562, 0.038873180747032166, -0.0007024758961051702, 0.0017089814646169543, -0.0394279845058918, -0.01752367429435253, -0.014359304681420326, -0.03977600485086441, -0.060848359018564224, -0.042954109609127045, 0.004424782004207373, 0.007361480034887791, 0.020829670131206512, 0.021697089076042175, 0.003522402374073863, 0.01221892237663269, 0.01431544590741396, -0.025300046429038048, 0.030915135517716408, 0.00251985271461308, -0.035687558352947235, -0.025567790493369102, -0.004226967226713896, 0.0037052070256322622, 0.010665078647434711, -0.01940363273024559, 0.02199346385896206, 0.023350413888692856, -0.033352214843034744, -0.03352532163262367, 0.015963999554514885, 0.013734232634305954, -0.0900113582611084, -0.024712227284908295, -0.031554821878671646, -0.041370805352926254, 0.017796415835618973, 0.006821943912655115, -0.024675074964761734, -0.010550305247306824, 0.024866154417395592, 0.025363987311720848, 0.010819440707564354, -0.020555993542075157, 0.013746843673288822, -0.020600883290171623, 0.041533615440130234, -0.07897575944662094, 0.02194291539490223, -0.035266097635030746, 0.010624589398503304, -0.025911862030625343, 0.008533651940524578, -0.036615390330553055, 0.05233803763985634, -0.02176763117313385, -0.00411077169701457, -0.010502465069293976, 0.02188914828002453, -0.05236595496535301, 0.035302307456731796, -0.03170608729124069, 0.008352325297892094, -0.03762190043926239, 0.04535563662648201, -0.042376503348350525, -0.017141396179795265, -0.00484076701104641, -0.003849643049761653, -0.027800777927041054, -0.00027706229593604803, -0.03766116872429848, -0.021568482741713524, 0.03402144834399223, 0.03423532843589783, 0.021689673885703087, 0.028695017099380493, -0.004687771201133728, 0.015241536311805248, 0.005189584102481604, -0.06977104395627975, -0.015530135482549667, -0.011274026706814766, 0.017383478581905365, -0.01571843959391117, 0.05694384500384331, 0.03721931576728821, -0.0390172116458416, -0.036775823682546616, 0.05746980383992195, 0.004442884586751461, -0.0047053564339876175, 0.0037028861697763205, 0.004185272380709648, 0.06173781305551529, 0.022513050585985184, -0.032472752034664154, -0.012836816720664501, 0.0015775889623910189, -0.027889588847756386, 0.010801475495100021, -0.012239813804626465, 0.011897560209035873, -0.00795071478933096, -0.03092990815639496, -0.02943597175180912, 0.0682370737195015, 0.01771206222474575, 0.022950833663344383, 0.013321317732334137, -0.03742415830492973, 0.02407137304544449, 0.01568533107638359, -0.041473012417554855, -0.023549987003207207, 0.010254239663481712, -0.027574090287089348, 0.06440848857164383, -0.022615881636738777, -0.00607441458851099, 0.05263077840209007, -0.01628354750573635, -0.012862016446888447, 0.04752010852098465, -0.04294849559664726, 0.002706259023398161, 0.06629671901464462, -0.06062787026166916, -0.009766667149960995, -0.03198370710015297, 0.05918978527188301, -0.057498134672641754, 0.061430711299180984, 0.020121274515986443, 0.02390974946320057, 0.02240331470966339, -0.025018593296408653, -0.04804501309990883, 0.02613166533410549, -0.03983262553811073, 0.07900017499923706, 0.0011067340383306146, -0.05301162227988243, 0.06625380367040634, 0.01989557035267353, -0.0677751675248146, 0.033871181309223175, 0.026920827105641365, 0.013857352547347546, 0.034798089414834976, 0.044911157339811325, -0.09188827872276306, -0.01013936661183834, -0.017521657049655914, 0.0657302662730217, -0.056788403540849686, -0.030513225123286247, 0.010381858795881271, -0.035525981336832047, -0.03068777732551098, 0.035151075571775436, -0.02997150458395481, 0.0008604482864029706, 0.013185347430408001, -0.08241403847932816, -0.06121540442109108, -0.00966916885226965, 0.010722226463258266, -0.012543810531497002, 0.021584590896964073, -0.023278243839740753, -0.014285520650446415, 0.02134956233203411, -0.0012649986892938614, -0.035371333360672, 0.010697370395064354, -0.003036690875887871, -0.04538942500948906, -0.03225931152701378, 0.01918172277510166, 0.010093637742102146, -0.01893456280231476, 0.018610378727316856, -0.039514534175395966, 0.03976555913686752, 0.011193174868822098, -0.009233290329575539, 0.027609841898083687, -0.027485843747854233, 0.012021105736494064, 0.02884131856262684, 0.015619596466422081, 0.004648471251130104, -0.025117671117186546, 0.049371734261512756, 0.03345291316509247, 0.03425821289420128, -0.01254615280777216, -0.02933061495423317, -0.03423282504081726, 0.04897689446806908, -0.03135111182928085, 0.02291054092347622, -0.004567193798720837, -0.05444009229540825, -0.033324405550956726, -0.02189434878528118, -0.006536375265568495, 0.05632900819182396, -0.04032176360487938, 0.01675991527736187, 0.06681409478187561, -0.02399391494691372, -0.04323149472475052, -0.08372282236814499, -0.016617510467767715, -0.039016567170619965, 0.03563149273395538, 0.02603462152183056, -0.02815999463200569, -0.0013176646316424012, -0.061001915484666824, -0.03392741084098816, 0.0671062245965004, 0.023109132423996925, -0.054949186742305756, 0.055466048419475555, 0.026277679949998856, -0.02819058671593666, 0.016181327402591705, 0.030501531437039375, -0.058876924216747284, 0.009532424621284008, 0.016870206221938133, 0.02714706026017666, 0.034230925142765045, 0.04097961261868477, -0.017822803929448128, -0.0297491904348135, -0.05746832117438316, -0.02870143949985504, -0.042215198278427124, -0.004185063764452934, 0.09148372709751129 ]
BigSalmon/FormalRobertaaa
[ "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 } } }
12
null
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity language: en --- # Model description The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We used the pretrained ['mpnet-base'](https://huggingface.co/microsoft/mpnet-base) model and fine-tuned in on a 700M sentence pairs dataset. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the [Community week using JAX/Flax for NLP & CV](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organized by Hugging Face. We developped this model as part of the project: [Train the Best Sentence Embedding Model Ever with 1B Training Pairs](https://discuss.huggingface.co/t/train-the-best-sentence-embedding-model-ever-with-1b-training-pairs/7354). We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Google’s Flax, JAX, and Cloud team member about efficient deep learning frameworks. ## Intended uses Our model is intented to be used as a sentence encoder. Given an input sentence, it ouptuts a vector which captures the sentence semantic information. The sentence vector may be used for information retrieval, clustering or sentence similarity tasks. ## How to use Here is how to use this model to get the features of a given text using [SentenceTransformers](https://github.com/UKPLab/sentence-transformers) library: ```python from sentence_transformers import SentenceTransformer model = SentenceTransformer('flax-sentence-embeddings/reddit_single-context_mpnet-base') text = "Replace me by any text you'd like." text_embbedding = model.encode(text) # array([-0.01559514, 0.04046123, 0.1317083 , 0.00085931, 0.04585106, # -0.05607086, 0.0138078 , 0.03569756, 0.01420381, 0.04266302 ...], # dtype=float32) ``` # Training procedure ## Pre-training We use the pretrained ['mpnet-base'](https://huggingface.co/microsoft/mpnet-base). Please refer to the model card for more detailed information about the pre-training procedure. ## Fine-tuning We fine-tune the model using a contrastive objective. Formally, we compute the cosine similarity from each possible sentence pairs from the batch. We then apply the cross entropy loss by comparing with true pairs. ### Hyper parameters We trained ou model on a TPU v3-8. We train the model during 540k steps using a batch size of 1024 (128 per TPU core). We use a learning rate warm up of 500. The sequence length was limited to 128 tokens. We used the AdamW optimizer with a 2e-5 learning rate. The full training script is accessible in this current repository. ### Training data We use the concatenation from multiple datasets to fine-tune our model. The total number of sentence pairs is above 700M sentences. We sampled each dataset given a weighted probability which configuration is detailed in the `data_config.json` file. We only use the first context response when building the dataset. | Dataset | Paper | Number of training tuples | |:--------------------------------------------------------:|:----------------------------------------:|:--------------------------:| | [Reddit conversationnal](https://github.com/PolyAI-LDN/conversational-datasets/tree/master/reddit) | [paper](https://arxiv.org/abs/1904.06472) | 726,484,430 |
[ -0.025159992277622223, -0.018432319164276123, -0.010367932729423046, 0.06480564922094345, 0.030396291986107826, 0.022004887461662292, -0.02515217661857605, -0.010199257172644138, -0.03442397713661194, 0.06256276369094849, 0.01445507537573576, 0.008224443532526493, 0.0016461932100355625, 0.034643638879060745, -0.03808993846178055, -0.015585106797516346, -0.028319163247942924, 0.0010578413493931293, -0.02726532332599163, 0.005622830707579851, 0.01421615481376648, 0.002664233325049281, -0.00901282113045454, 0.01581461727619171, -0.011160564608871937, 0.006886287592351437, 0.0032049145083874464, 0.03017430752515793, 0.018898066133260727, -0.044316474348306656, 0.0216350294649601, -0.027263354510068893, -0.035183873027563095, 0.004319192375987768, 0.00286593334749341, 0.024798979982733727, 0.005064039025455713, -0.005530114285647869, 0.01787942461669445, 0.04833969101309776, 0.0011728868121281266, 0.012626716867089272, -0.01953446865081787, -0.026561230421066284, 0.0348387211561203, 0.02023211494088173, -0.019132133573293686, -0.01715732179582119, 0.03680773824453354, -0.022590396925807, -0.045187320560216904, -0.09539006650447845, -0.016284024342894554, 0.02607123926281929, 0.0026241058949381113, -0.012149513699114323, -0.07190173864364624, -0.03187497332692146, 0.05846541374921799, -0.06150917336344719, -0.040790434926748276, 0.022451376542448997, -0.04709708318114281, 0.007381732109934092, 0.03706761822104454, -0.04661432281136513, 0.004785288590937853, -0.053969573229551315, -0.0007514655007980764, -0.03516574203968048, 0.04301299527287483, -0.011136062443256378, 0.021836375817656517, -0.07288861274719238, -0.019480407238006592, -0.0008955057128332555, 0.03379209712147713, 0.03581981360912323, -0.0210884939879179, 0.07090535759925842, 0.012411450035870075, -0.004271300975233316, 0.02514573372900486, -0.003187419380992651, 0.002049217000603676, 0.05336190387606621, -0.047550879418849945, 0.0058784158900380135, -0.008147183805704117, 0.0319453701376915, -0.02959679253399372, -0.012722190469503403, -0.01399511843919754, -0.05789880454540253, -0.024421602487564087, 0.018802423030138016, 0.03855371102690697, -0.011074812151491642, 0.022989705204963684, 0.011734334751963615, 0.022274034097790718, 0.039763156324625015, -0.027774134650826454, 0.058435145765542984, -0.020866306498646736, -0.0027923125308007, -0.011361506767570972, -0.046583302319049835, -0.0530993714928627, 0.023392321541905403, 0.014653523452579975, -0.029138369485735893, -0.06398694217205048, 0.03735148906707764, 0.026316534727811813, -0.03148972988128662, 0.059915993362665176, -0.02721434272825718, -0.018810218200087547, -0.04596120864152908, 0.05687747895717621, -0.02758716605603695, -0.0041505116969347, -0.028145872056484222, -0.06164068356156349, 0.014444470405578613, -0.04607358202338219, -0.04488499090075493, 0.0007539670332334936, 0.01346311904489994, 0.0044074999168515205, 0.030061276629567146, -0.0014169871574267745, -0.040662962943315506, 0.007429235149174929, 0.014194067567586899, -0.08037560433149338, 0.04687602072954178, 0.04987286776304245, 0.10594692826271057, -0.06251350790262222, -0.051801647990942, 0.013006368651986122, 0.048505835235118866, -0.019028710201382637, 0.015916062518954277, 0.011350922286510468, -0.034752558916807175, -0.01848232001066208, -0.015586440451443195, 0.059773191809654236, -0.05403602123260498, -0.009508941322565079, 0.012557984329760075, -0.010856065899133682, 0.057573769241571426, -0.06087789312005043, -0.009897571057081223, 0.011858846060931683, -0.009439139626920223, -0.010863564908504486, 0.031357619911432266, -0.015078076161444187, 0.012660445645451546, -0.013292021118104458, -0.011076705530285835, -0.0037306584417819977, 0.06594173610210419, -0.01959691196680069, -0.029500769451260567, -0.0455285869538784, 0.017553837969899178, 0.028903432190418243, 0.05113593488931656, -0.029908237978816032, 0.01203733216971159, 0.07649253308773041, 0.03800805285573006, -0.02496258355677128, 0.05595134571194649, 0.008363724686205387, -0.031063133850693703, -0.01668940670788288, 0.013573422096669674, -0.003440495580434799, -0.0119165712967515, 0.0375276580452919, 0.05561310052871704, -0.019960489124059677, -0.01857306994497776, -0.01876739412546158, 0.046568650752305984, -0.01156277023255825, 0.008147627115249634, -0.018712321296334267, -0.011480296030640602, -0.012930124066770077, 0.027919873595237732, -0.01248723454773426, -0.003939845133572817, -0.011971425265073776, -0.03620907664299011, 0.014367824420332909, 0.050165820866823196, 0.04528497904539108, 0.03015725500881672, 0.0052198376506567, 0.09856332838535309, -0.04079296067357063, 0.009045416489243507, -0.060852378606796265, -0.05002407357096672, -0.00860551092773676, 0.030566414818167686, 0.026996491476893425, 0.043618522584438324, 0.025461087003350258, -0.03836265578866005, 0.01870785653591156, 0.04041893780231476, 0.02891589142382145, 0.04766601696610451, -0.04030314460396767, -0.022518407553434372, 0.02581736072897911, 0.056001048535108566, -0.03129512816667557, -0.022900909185409546, 0.02739332616329193, 0.05240023136138916, -0.008047445677220821, -0.0038585998117923737, -0.008928419090807438, 0.03374910354614258, -0.044018782675266266, -0.061972785741090775, 0.02530164085328579, 0.02951929159462452, -0.012626904994249344, 0.04461656138300896, -0.01991860568523407, -0.024307893589138985, 0.047393035143613815, -0.03457486629486084, -0.010137476958334446, -0.04891601577401161, -0.009501760825514793, 0.03207383304834366, 0.04924020916223526, -0.0250824186950922, 0.022863276302814484, 0.018095318228006363, 0.009799983352422714, 0.03216981515288353, 0.0041669453494250774, 0.01847958378493786, 0.06637576222419739, -0.009955708868801594, 0.0038954990450292826, 0.038083743304014206, 0.018736494705080986, 0.04816185310482979, 0.05694065988063812, -0.013265443034470081, 0.07045299559831619, 0.021997667849063873, 0.03875573351979256, 0.07562710344791412, 0.03051944077014923, 0.024555474519729614, 0.05592414364218712, 0.060823071748018265, 0.006289252080023289, 0.007063672877848148, 0.06556734442710876, -0.043585747480392456, 0.035327695310115814, -0.04678324609994888, 0.03106229193508625, -0.0020070900209248066, -0.006161204073578119, 0.052853621542453766, 0.003910887520760298, -0.008911000564694405, 0.00029693436226807535, -0.024479949846863747, -0.040049031376838684, 0.03983669355511665, -0.015385531820356846, 0.025851275771856308, 0.0224431324750185, -0.03054165467619896, 0.016065115109086037, -0.07822564989328384, -0.06801799684762955, 0.023440033197402954, -0.024798225611448288, 0.0012809077743440866, -0.08289782702922821, -0.04219450056552887, -0.05738053470849991, -0.022426288574934006, 0.02884281426668167, 0.020595774054527283, 0.023754648864269257, -0.02499580755829811, 0.023721622303128242, -0.032948218286037445, -0.02251410111784935, -0.07184711843729019, -0.036024343222379684, -0.043610382825136185, -0.0529852919280529, 0.042427241802215576, -0.001179627375677228, 0.023365654051303864, -0.0067359101958572865, -0.013087518513202667, -0.031898949295282364, -0.012742786668241024, 0.046347618103027344, 0.02184452675282955, -0.01790684461593628, -0.03888557106256485, 0.010411873459815979, -0.01509471982717514, 0.004904582165181637, -0.0456366203725338, -0.020392443984746933, 0.06894845515489578, 0.041417624801397324, 0.03585841506719589, 0.019616978242993355, -0.02111145295202732, -0.043207041919231415, -0.04734678193926811, -0.01984359323978424, -0.05848844349384308, -0.034430187195539474, -0.03143059089779854, -0.0525384247303009, -0.009403478354215622, -0.008818498812615871, -0.0262012779712677, 0.01808035932481289, 0.016662001609802246, 0.044005606323480606, 0.03917348384857178, 0.04059124365448952, 0.006698679178953171, -0.03197585791349411, -0.01580895483493805, 0.07968225330114365, 0.0020667321514338255, 0.025456711649894714, -0.06609402596950531, -0.045320309698581696, 0.04351310431957245, 0.02771844156086445, 0.01016976311802864, -0.004726387094706297, 0.11270349472761154, 0.01672513224184513, 0.0023965961299836636, 0.03377171605825424, 0.021018389612436295, -0.013908816501498222, 0.002061481587588787, -0.012819567695260048, -0.02540229633450508, -0.05419890582561493, -0.01751090958714485, -0.05678791552782059, 0.04570610821247101, -0.07237283140420914, -0.04747871682047844, -0.013289647176861763, 0.032324761152267456, 0.029804086312651634, 0.01433647982776165, -0.022350680083036423, -0.0006387939210981131, -0.028604693710803986, -0.02486766129732132, 0.023686127737164497, 0.0025929438415914774, 0.01465955376625061, 0.046278588473796844, 0.011506874114274979, -0.04089817404747009, 0.04098422825336456, 0.02718350477516651, 0.04577959328889847, 0.030347224324941635, -0.042084433138370514, 0.05219227075576782, -0.015738004818558693, 0.030074400827288628, 0.008190972730517387, -0.026536623015999794, -0.07030201703310013, -0.0843261256814003, -0.012254025787115097, 0.009537802077829838, -0.03298376500606537, 0.023531105369329453, 0.04555048048496246, -0.043715957552194595, -0.013024394400417805, 0.005151914432644844, 0.006634455174207687, 0.03449082747101784, -0.04327390715479851, 0.04846411943435669, -0.02583879418671131, 0.023135624825954437, -0.055618081241846085, 0.00615696469321847, -0.01766536943614483, -0.05026477947831154, 0.019650360569357872, 0.07436316460371017, 0.027369031682610512, 0.0539984367787838, 0.0643167793750763, 0.05745617672801018, -0.04424124211072922, 0.061561468988657, 0.039948929101228714, -0.0003827533801086247, -0.05882907658815384, -0.0073785800486803055, -0.011210422031581402, -0.012781002558767796, -0.022975368425250053, -0.023966971784830093, 0.03400155529379845, 0.03724090754985809, 0.0066377390176057816, -0.006559546105563641, 0.005668602418154478, -0.031619928777217865, -0.014207366853952408, -0.08717164397239685, -0.025651969015598297, -0.013898320496082306, -0.03657925873994827, 0.052254773676395416, 0.039876047521829605, 0.012785759754478931, 0.037464454770088196, 0.04930546134710312, -0.023877326399087906, -0.061035554856061935, 0.037598565220832825, 0.04127990081906319, -0.0566379688680172, -0.06129112094640732, -0.041685011237859726, 0.04283236712217331, 0.05427948012948036, -0.01754719950258732, -0.07331620901823044, 0.014135058037936687, 0.05970069393515587, -0.040495917201042175, 0.050657451152801514, 0.006327950861304998, 0.061683204025030136, 0.06714345514774323, -0.006662549916654825, 0.013317986391484737, -0.012761326506733894, 0.008935225196182728, 0.002067666035145521, 0.04935258626937866, -0.028914296999573708, -0.053203217685222626, -0.03577478975057602, 0.03802294656634331, 0.040334150195121765, 0.041428450495004654, 0.055417727679014206, -0.03596201539039612, -0.07060764729976654, -0.011304312385618687, 0.015926096588373184, -0.03565306216478348, 0.006801222451031208, 0.010418369434773922, 0.05926603078842163, -0.059250377118587494, -0.021044103428721428, -0.055532969534397125, 0.013374497182667255, 0.02985001541674137, -0.007303951308131218, -0.03721819818019867, -0.05086849629878998, 0.009478308260440826, -0.010728529654443264, -0.014158853329718113, -0.09765414893627167, -0.0007317051058635116, -0.0013684920268133283, -0.02216491289436817, 0.05960888788104057, 0.05656871572136879, 0.0673292949795723, 0.022602612152695656, -0.018303491175174713, 0.028407350182533264, -0.03464142605662346, 0.02842690236866474, -0.005834977142512798, -0.03642038628458977, -0.010655649937689304, -0.07258808612823486, -0.023662716150283813, -0.042255204170942307, -0.030240396037697792, -0.036106549203395844, -0.040018390864133835, 0.003031698754057288, -0.03335876390337944, 0.02807956375181675, -0.004043064545840025, 0.004008214920759201, -0.04303382709622383, -0.013981915079057217, -0.01914101466536522, -0.0501023605465889, -0.06060073524713516, -0.03174902871251106, 0.005114658735692501, 0.00833817757666111, 0.016513291746377945, 0.017506733536720276, 0.004353421740233898, 0.020674580708146095, 0.01120624877512455, -0.01775309070944786, 0.03147587925195694, 0.0071347421035170555, -0.04123609513044357, -0.022275373339653015, 0.005881259683519602, 0.005867152940481901, 0.007945705205202103, -0.026890354230999947, 0.028319403529167175, 0.021810591220855713, -0.032384857535362244, -0.01644599810242653, 0.031039748340845108, 0.005071759689599276, -0.0818377137184143, -0.02264118380844593, -0.016650084406137466, -0.051913462579250336, 0.019164565950632095, 0.011309179477393627, -0.01371442899107933, -0.010191992856562138, 0.03126798942685127, 0.015322694554924965, 0.004408812150359154, -0.022778615355491638, 0.010517253540456295, -0.03868681937456131, 0.040127214044332504, -0.07629409432411194, 0.03484974801540375, -0.04811548814177513, 0.006662080530077219, -0.023880233988165855, 0.002468913095071912, -0.03740755841135979, 0.050351906567811966, -0.01868646964430809, -0.003168721916154027, -0.016979271546006203, 0.03161521628499031, -0.03658914938569069, 0.04088577628135681, -0.014507041312754154, 0.015017659403383732, -0.03072422184050083, 0.05888598412275314, -0.03832683712244034, -0.01174355112016201, -0.011183580383658409, -0.017912358045578003, -0.030415065586566925, -0.01241305936127901, -0.032631706446409225, -0.01821024902164936, 0.044936440885066986, 0.039289552718400955, 0.03405848890542984, 0.032259438186883926, 0.004503664560616016, 0.020571263507008553, 0.011436440981924534, -0.06810484826564789, -0.032112933695316315, -0.003945233300328255, 0.03065991774201393, 0.0017864102264866233, 0.06347143650054932, 0.03574993833899498, -0.04697375372052193, -0.045338328927755356, 0.061576005071401596, 0.016477400436997414, -0.00498979352414608, -0.0033071269281208515, 0.028230173513293266, 0.06509114801883698, 0.030808964744210243, -0.032635562121868134, -0.013247305527329445, 0.009699732065200806, -0.0233696848154068, 0.015105538070201874, -0.0015718969516456127, 0.0268485676497221, 0.006831373553723097, -0.03510259464383125, -0.028040487319231033, 0.06972324103116989, 0.028979821130633354, 0.02360425516963005, 0.0044747693464159966, -0.03076733835041523, 0.016873212531208992, 0.010071644559502602, -0.06296646595001221, -0.025909287855029106, 0.02028118632733822, -0.03723515197634697, 0.06857634335756302, -0.03731570392847061, 0.0027445624582469463, 0.058351848274469376, -0.0037023499608039856, -0.006953573320060968, 0.03526719659566879, -0.03583112731575966, 0.0014082174748182297, 0.06306826323270798, -0.07258608937263489, -0.00820234976708889, -0.02241377718746662, 0.06699011474847794, -0.05194273963570595, 0.06699732691049576, 0.033193912357091904, 0.03909909352660179, 0.026816271245479584, -0.002291364362463355, -0.057878606021404266, 0.017428530380129814, -0.035617101937532425, 0.07784552127122879, 0.006274720188230276, -0.0512131042778492, 0.0692443922162056, 0.018645672127604485, -0.0674000233411789, 0.0430031456053257, 0.03260735049843788, 0.01035866979509592, 0.02201327309012413, 0.03154860436916351, -0.0853048786520958, -0.007988933473825455, -0.03178263083100319, 0.05861000344157219, -0.06741546839475632, -0.008761695586144924, 0.007121746893972158, -0.03817389905452728, -0.02383510209619999, 0.04361872002482414, -0.0280940942466259, -0.004796983208507299, 0.025323709473013878, -0.07698064297437668, -0.06407376378774643, -0.015332496725022793, 0.0021369587630033493, -0.017184613272547722, 0.0074542975053191185, -0.029153291136026382, -0.012856748886406422, 0.0177509393543005, 0.0023703777696937323, -0.03230717033147812, 0.004944978281855583, 0.009401360526680946, -0.03829549252986908, -0.036385372281074524, 0.02552938275039196, 0.019516248255968094, -0.016745328903198242, 0.017468256875872612, -0.04187395051121712, 0.02883547730743885, 0.01450762152671814, -0.0033727174159139395, 0.02712310664355755, -0.03435877338051796, 0.007332285866141319, 0.026945825666189194, 0.0029269817750900984, 0.01043405756354332, -0.01816207356750965, 0.040532998740673065, 0.02105194516479969, 0.031665608286857605, 0.002965576248243451, -0.012012620456516743, -0.032240018248558044, 0.033671099692583084, -0.039107680320739746, 0.015915056690573692, -0.0016471768030896783, -0.04815689101815224, -0.03210688382387161, -0.019674288108944893, -0.0077874548733234406, 0.050459567457437515, -0.040804099291563034, 0.006693048868328333, 0.051445458084344864, -0.04310686141252518, -0.03742652386426926, -0.08036106824874878, -0.0161532424390316, -0.035634685307741165, 0.02610727585852146, 0.014263244345784187, -0.015029721893370152, 0.011137316934764385, -0.030833622440695763, -0.033532846719026566, 0.055605195462703705, 0.015199864283204079, -0.046650294214487076, 0.05531338229775429, 0.039835792034864426, -0.03508516028523445, 0.015513553284108639, 0.0449959971010685, -0.05797835439443588, 0.02040776051580906, 0.021988391876220703, 0.027787989005446434, 0.02849048748612404, 0.03937622904777527, -0.03101377934217453, -0.024821117520332336, -0.06369607895612717, -0.027929630130529404, -0.04947495460510254, 0.0013395785354077816, 0.07969284057617188 ]
BigSalmon/FroBurta
[]
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
--- pipeline_tag: sentence-similarity tags: - sentence-transformers - feature-extraction - sentence-similarity datasets: - code_search_net --- # flax-sentence-embeddings/st-codesearch-distilroberta-base This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. It was trained on the [code_search_net](https://huggingface.co/datasets/code_search_net) dataset and can be used to search program code given text. ## Usage: ```python from sentence_transformers import SentenceTransformer, util #This list the defines the different programm codes code = ["""def sort_list(x): return sorted(x)""", """def count_above_threshold(elements, threshold=0): counter = 0 for e in elements: if e > threshold: counter += 1 return counter""", """def find_min_max(elements): min_ele = 99999 max_ele = -99999 for e in elements: if e < min_ele: min_ele = e if e > max_ele: max_ele = e return min_ele, max_ele"""] model = SentenceTransformer("flax-sentence-embeddings/st-codesearch-distilroberta-base") # Encode our code into the vector space code_emb = model.encode(code, convert_to_tensor=True) # Interactive demo: Enter queries, and the method returns the best function from the # 3 functions we defined while True: query = input("Query: ") query_emb = model.encode(query, convert_to_tensor=True) hits = util.semantic_search(query_emb, code_emb)[0] top_hit = hits[0] print("Cossim: {:.2f}".format(top_hit['score'])) print(code[top_hit['corpus_id']]) print("\n\n") ``` ## Usage (Sentence-Transformers) Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed: ``` pip install -U sentence-transformers ``` Then you can use the model like this: ```python from sentence_transformers import SentenceTransformer sentences = ["This is an example sentence", "Each sentence is converted"] model = SentenceTransformer('flax-sentence-embeddings/st-codesearch-distilroberta-base') embeddings = model.encode(sentences) print(embeddings) ``` ## Training The model was trained with a DistilRoBERTa-base model for 10k training steps on the codesearch dataset with batch_size 256 and MultipleNegativesRankingLoss. It is some preliminary model. It was neither tested nor was the trained quite sophisticated The model was trained with the parameters: **DataLoader**: `MultiDatasetDataLoader.MultiDatasetDataLoader` of length 5371 with parameters: ``` {'batch_size': 256} ``` **Loss**: `sentence_transformers.losses.MultipleNegativesRankingLoss.MultipleNegativesRankingLoss` with parameters: ``` {'scale': 20, 'similarity_fct': 'dot_score'} ``` Parameters of the fit()-Method: ``` { "callback": null, "epochs": 1, "evaluation_steps": 0, "evaluator": "NoneType", "max_grad_norm": 1, "optimizer_class": "<class 'transformers.optimization.AdamW'>", "optimizer_params": { "lr": 2e-05 }, "scheduler": "warmupconstant", "steps_per_epoch": 10000, "warmup_steps": 500, "weight_decay": 0.01 } ``` ## Full Model Architecture ``` SentenceTransformer( (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: RobertaModel (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False}) (2): Normalize() ) ``` ## Citing & Authors <!--- Describe where people can find more information -->
[ -0.004205359145998955, -0.038167037069797516, -0.013651582412421703, 0.06312168389558792, 0.024378430098295212, 0.03375121206045151, -0.030281072482466698, -0.0000512863443873357, -0.03316160663962364, 0.05492173880338669, 0.02166152559220791, 0.023405663669109344, -0.002924365224316716, 0.037245266139507294, -0.05840594321489334, -0.04043402522802353, -0.02924337610602379, -0.04555172473192215, -0.02652670629322529, -0.017602993175387383, 0.016790101304650307, -0.011342287063598633, 0.002833134727552533, 0.008999848738312721, 0.005505756009370089, 0.007996778003871441, -0.016755566000938416, 0.004356727469712496, 0.04367822781205177, -0.046334151178598404, 0.00025559650384821, -0.026601562276482582, -0.050994787365198135, 0.002660594880580902, -0.013433324173092842, 0.02295663021504879, 0.004879878833889961, -0.0015325400745496154, 0.006453585810959339, 0.047238871455192566, 0.008404405787587166, 0.01773780956864357, 0.001271420274861157, -0.026689503341913223, 0.037601288408041, 0.014658314175903797, -0.02803090400993824, -0.012707219459116459, 0.023784320801496506, -0.023440303280949593, -0.06734572350978851, -0.08922616392374039, -0.02601296827197075, 0.037065520882606506, -0.03259102627635002, -0.0053087081760168076, -0.07373420149087906, 0.005179174710065126, 0.06221064180135727, -0.0706634670495987, -0.047368843108415604, 0.03453361243009567, -0.04884990304708481, 0.0037958784960210323, 0.012021319009363651, -0.03321046754717827, 0.0003115712897852063, -0.05236252397298813, -0.008536000736057758, -0.019987870007753372, 0.05428150296211243, -0.027922114357352257, 0.02148539386689663, -0.09771943837404251, 0.032673049718141556, -0.010858980938792229, 0.024586832150816917, 0.021064043045043945, -0.014475356787443161, 0.05060452222824097, -0.0037543398793786764, 0.0007999429362826049, 0.022111093625426292, -0.0206187404692173, -0.008265669457614422, 0.07197114825248718, -0.012975264340639114, 0.008879248052835464, -0.02085603028535843, 0.029327010735869408, -0.050811219960451126, -0.028868798166513443, -0.008135825395584106, -0.03099112957715988, -0.02590325102210045, 0.017437102273106575, 0.022919202223420143, -0.005171980243176222, 0.028553098440170288, 0.0011828532442450523, 0.014038057997822762, 0.03605368733406067, -0.03161262348294258, 0.06796593964099884, -0.011844422668218613, 0.003227254142984748, -0.027776766568422318, -0.04046337306499481, -0.03845478221774101, 0.014239518903195858, 0.015422647818922997, -0.03303331881761551, -0.04630924388766289, 0.02924473211169243, 0.05703688785433769, -0.009981373324990273, 0.06350627541542053, -0.019353967159986496, -0.026181284338235855, -0.03527151420712471, 0.05580030009150505, 0.004689557943493128, -0.0019613720942288637, -0.005839675199240446, -0.04032650962471962, 0.02481706440448761, -0.06559882313013077, -0.036845386028289795, 0.0045946137979626656, 0.029489370062947273, 0.0096368920058012, 0.041414182633161545, 0.0054481360130012035, -0.03692086413502693, 0.001673678052611649, 0.0026115532964468002, -0.08244818449020386, 0.033474620431661606, 0.05547161027789116, 0.1370484083890915, -0.0576821006834507, -0.033195946365594864, -0.005763750523328781, 0.019264202564954758, -0.04265328496694565, 0.02041665092110634, -0.015437791123986244, -0.03284440189599991, -0.030475838109850883, -0.019580530002713203, 0.07105980813503265, -0.03993401303887367, -0.007363921031355858, 0.015048800967633724, -0.00827940832823515, 0.026349376887083054, -0.03448079898953438, -0.000481995171867311, -0.000542395981028676, -0.006707092747092247, -0.03052769973874092, 0.04976937919855118, -0.016854263842105865, 0.012884901836514473, -0.0030631418339908123, -0.018836701288819313, 0.01318062748759985, 0.08062396198511124, -0.003397072199732065, -0.03927161544561386, -0.033024948090314865, 0.009675095789134502, 0.03296326845884323, 0.07405161112546921, -0.020756186917424202, 0.029779642820358276, 0.058113276958465576, 0.027625001966953278, -0.006346953101456165, 0.03571765497326851, -0.005296714603900909, -0.0445549413561821, -0.03540512174367905, 0.010304893366992474, 0.0009412898798473179, -0.008901228196918964, 0.03615519404411316, 0.03474697843194008, -0.01764068193733692, -0.018724795430898666, -0.017618753015995026, 0.05389448255300522, -0.009479053318500519, -0.0047853682190179825, -0.029330408200621605, 0.014980572275817394, -0.016982540488243103, 0.0505850687623024, -0.02238437533378601, -0.007272002752870321, -0.015731219202280045, -0.04040633887052536, 0.029329374432563782, 0.026844890788197517, 0.029157740995287895, 0.022470712661743164, 0.019387198612093925, 0.07164754718542099, -0.04978959262371063, 0.01144868228584528, -0.06934983283281326, -0.04535558447241783, 0.0024870685301721096, 0.022689687088131905, 0.01989533007144928, 0.027197865769267082, 0.024513429030776024, -0.0147109879180789, 0.03013664111495018, 0.03890695050358772, 0.026704411953687668, 0.04184792563319206, -0.03404994681477547, -0.0023176863323897123, 0.021462921053171158, 0.05951932817697525, -0.01660517416894436, -0.022792384028434753, 0.014907896518707275, 0.03856134042143822, -0.010068467818200588, 0.013909325934946537, -0.004185901023447514, -0.0026894514448940754, -0.04561188071966171, -0.050008922815322876, 0.04208632931113243, 0.005298977717757225, 0.0019839410670101643, 0.029093878343701363, -0.010131904855370522, -0.0030246912501752377, 0.04419022798538208, 0.00010657017264747992, -0.016693400219082832, -0.05421779677271843, -0.005980634596198797, -0.0029011035803705454, 0.056022994220256805, -0.055452778935432434, 0.014584626071155071, 0.027949579060077667, 0.02423352561891079, 0.043545935302972794, -0.001957963453605771, 0.028620611876249313, 0.05235976725816727, 0.013041562400758266, -0.006817139219492674, 0.023395584896206856, 0.020627174526453018, 0.02793184109032154, 0.06607607752084732, -0.025642387568950653, 0.060441650450229645, 0.02424275502562523, 0.03241248428821564, 0.08487551659345627, 0.014864753931760788, 0.00618986040353775, 0.05280660465359688, 0.07708362489938736, 0.0005224501364864409, 0.0028809267096221447, 0.048875030130147934, -0.05914740264415741, 0.06645406037569046, -0.029440954327583313, 0.01565307192504406, -0.012122062034904957, -0.029120758175849915, 0.042923856526613235, 0.0036700135096907616, -0.039850518107414246, 0.011979714035987854, -0.041121706366539, -0.021989667788147926, 0.026286864653229713, -0.0025405834894627333, 0.00455056456848979, 0.021029790863394737, -0.04064636677503586, 0.0215471088886261, -0.07599528878927231, -0.05731451138854027, 0.01537984050810337, -0.02458309568464756, 0.006691387388855219, -0.06416789442300797, -0.0642736554145813, -0.09259386360645294, -0.025161821395158768, 0.03977517411112785, 0.02743585966527462, 0.0015581503976136446, -0.02453247457742691, 0.004147747065871954, -0.05306485667824745, -0.03260588273406029, -0.0659475028514862, -0.02074943669140339, -0.0204171035438776, -0.05586807802319527, 0.02866646833717823, -0.005011326167732477, 0.03849830850958824, 0.0010318758431822062, -0.021547267213463783, -0.04871046170592308, -0.0002035626384895295, 0.05199678987264633, 0.009278770536184311, 0.0008683404885232449, -0.03887736797332764, 0.001318608527071774, 0.0008593315724283457, 0.032342638820409775, -0.00496852770447731, -0.050272420048713684, 0.08290079236030579, 0.054359883069992065, 0.033781763166189194, -0.005200816784054041, -0.033928096294403076, -0.04941196367144585, -0.04706790670752525, -0.02729962207376957, -0.04394719749689102, -0.029342586174607277, -0.018177403137087822, -0.05548199638724327, -0.007472380064427853, -0.018668510019779205, -0.054912395775318146, 0.017547616735100746, 0.02371974103152752, 0.048665594309568405, 0.05953483283519745, 0.04557821899652481, 0.01575285941362381, -0.03967447578907013, -0.007467230781912804, 0.06472613662481308, -0.003111435566097498, 0.008153853006660938, -0.07994779199361801, -0.03856739029288292, 0.047331370413303375, -0.0024960972368717194, 0.010293634608387947, -0.029418913647532463, 0.06283069401979446, 0.010483033955097198, 0.011341522447764874, 0.00850555021315813, 0.026808295398950577, -0.005532985553145409, 0.006107728462666273, -0.024942805990576744, -0.048750486224889755, -0.04356615990400314, -0.01857912354171276, -0.04550647735595703, 0.04113954305648804, -0.0589553639292717, -0.057030998170375824, -0.015772584825754166, 0.03038516826927662, 0.02751832827925682, 0.011711983010172844, -0.03430892527103424, 0.013758351095020771, -0.048464078456163406, -0.04556747525930405, 0.02871093899011612, 0.00416798610240221, -0.014087126590311527, 0.040562111884355545, 0.016883758828043938, -0.02789003774523735, 0.009413177147507668, 0.022965051233768463, 0.031080396845936775, 0.028807763010263443, -0.039415568113327026, 0.047876350581645966, -0.022215258330106735, 0.01153100747615099, -0.0022355166729539633, -0.030701467767357826, -0.05798029899597168, -0.08868783712387085, -0.013731160201132298, 0.0029612916987389326, -0.02346293069422245, -0.00569709250703454, 0.03946357220411301, -0.026022598147392273, -0.024386180564761162, 0.024822527542710304, 0.006419039331376553, 0.0568169541656971, -0.026338428258895874, 0.05529872328042984, -0.011576949618756771, 0.03716861456632614, -0.02639097534120083, 0.009228112176060677, -0.040296707302331924, -0.032758958637714386, 0.01614060252904892, 0.05701965466141701, 0.01720012165606022, 0.07946524769067764, 0.07501645386219025, 0.03368857875466347, -0.030941221863031387, 0.05992121994495392, 0.0451982356607914, -0.021872084587812424, -0.045951612293720245, 0.00035983111592940986, -0.01312785129994154, -0.02077011950314045, 0.022231325507164, -0.023808307945728302, 0.01843406818807125, 0.038061726838350296, 0.009000033140182495, -0.010281729511916637, -0.020718788728117943, -0.02976805530488491, -0.02657650224864483, -0.059565383940935135, -0.024846285581588745, -0.009038127958774567, -0.016375241801142693, 0.04294591769576073, 0.0483086071908474, 0.024328557774424553, 0.057954054325819016, 0.048675861209630966, -0.028171977028250694, -0.04598551243543625, 0.04459615424275398, 0.06461341679096222, -0.054416224360466, -0.0737762451171875, -0.05617879703640938, 0.03371642902493477, 0.06242647022008896, -0.01827278919517994, -0.08713416010141373, 0.040803212672472, 0.0556708462536335, -0.0346984826028347, 0.07896984368562698, 0.026422616094350815, 0.029020756483078003, 0.05861831456422806, -0.006117118056863546, 0.022020790725946426, -0.021137744188308716, 0.020319491624832153, 0.0022923049982637167, 0.06980724632740021, -0.022771339863538742, -0.03438998758792877, -0.034904126077890396, 0.04521412029862404, 0.043112434446811676, 0.03214115649461746, 0.040567804127931595, -0.0180906243622303, -0.05992045998573303, -0.02509842999279499, 0.036045052111148834, -0.028848733752965927, 0.023295719176530838, 0.027589496225118637, 0.04911645129323006, -0.0639646127820015, -0.0337318480014801, 0.004165898077189922, 0.00225315080024302, 0.023865947499871254, 0.022442851215600967, -0.0409424714744091, -0.05596930533647537, 0.025047700852155685, -0.02306145615875721, -0.022747253999114037, -0.09943941980600357, 0.0208227951079607, 0.002302848268300295, -0.016727210953831673, 0.073353610932827, 0.05479148402810097, 0.028357258066534996, 0.016139643266797066, -0.03226625919342041, 0.015177028253674507, -0.02147979661822319, 0.02994774468243122, -0.02135298401117325, -0.01000441238284111, -0.020743858069181442, -0.07204855233430862, -0.0029584600124508142, -0.0404527485370636, -0.04100010171532631, -0.0317055769264698, -0.03351258486509323, 0.006842826958745718, -0.017161274328827858, 0.023423995822668076, -0.0052985758520662785, 0.00811532512307167, -0.03028019703924656, -0.0037291189655661583, -0.03361084684729576, -0.017742963507771492, -0.08928728103637695, -0.02400224469602108, 0.003800395643338561, 0.025797244161367416, 0.02421158365905285, 0.01310999970883131, 0.0014706557849422097, 0.023113667964935303, 0.011187247931957245, -0.02440629154443741, 0.044662002474069595, 0.006112102419137955, -0.05365374684333801, -0.02679455280303955, 0.00919914897531271, 0.0033393020275980234, 0.01101068314164877, -0.03723511844873428, 0.018782293424010277, 0.03204566240310669, -0.04460559040307999, -0.031217889860272408, 0.016033897176384926, 0.024255389347672462, -0.08478569239377975, -0.028082292526960373, -0.008238574489951134, -0.033313650637865067, 0.03532272204756737, -0.0012351139448583126, -0.023003580048680305, -0.017493801191449165, 0.028226124122738838, 0.030762800946831703, -0.01621110923588276, -0.0249357707798481, 0.015631986781954765, -0.029858483001589775, 0.05267535150051117, -0.07708559930324554, 0.02655155025422573, -0.0355963371694088, -0.013204604387283325, -0.030346738174557686, -0.010111747309565544, -0.038222942501306534, 0.05135880783200264, -0.016623331233859062, 0.0008768994593992829, -0.015729989856481552, 0.02137245610356331, -0.038369156420230865, 0.03842274844646454, -0.0204792320728302, 0.016636114567518234, -0.02513493411242962, 0.029471708461642265, -0.06283950060606003, 0.008438953198492527, -0.010325396433472633, 0.004798864014446735, -0.012889564037322998, 0.0005065358709543943, -0.023724161088466644, -0.03124954365193844, 0.046363912522792816, 0.010194705799221992, 0.040641531348228455, 0.021766215562820435, -0.010174973867833614, 0.010870558209717274, 0.014911727979779243, -0.07163082808256149, -0.029180483892560005, -0.021394528448581696, 0.03298092633485794, -0.023573076352477074, 0.06691454350948334, 0.03851079195737839, -0.04697718098759651, -0.028643611818552017, 0.04930349439382553, 0.011888503096997738, -0.003453032346442342, 0.004812815226614475, -0.01491240132600069, 0.05945347249507904, 0.033444616943597794, -0.030719824135303497, 0.00561793427914381, -0.0028969361446797848, -0.010908430442214012, -0.00680195027962327, -0.004730039741843939, 0.024804482236504555, -0.0139778396114707, -0.025116942822933197, -0.03228252753615379, 0.05131319537758827, 0.019457310438156128, 0.006467638537287712, 0.01999092288315296, -0.0318579375743866, 0.029210325330495834, 0.02826482616364956, -0.060000766068696976, -0.024999292567372322, 0.011058400385081768, -0.04153957962989807, 0.070462666451931, -0.021911339834332466, -0.00896946806460619, 0.02361328713595867, -0.01032242365181446, 0.0019317131955176592, 0.04978831484913826, -0.020975343883037567, -0.0018923546886071563, 0.047279246151447296, -0.05765325203537941, -0.004955582320690155, -0.02513577975332737, 0.05988979712128639, -0.05819736048579216, 0.04414251819252968, 0.030090419575572014, 0.0192734245210886, 0.027578329667448997, -0.010463733226060867, -0.03822648152709007, 0.0018864802550524473, -0.06487333029508591, 0.07017210125923157, -0.015670564025640488, -0.05098552629351616, 0.08249876648187637, 0.028086183592677116, -0.0669441968202591, 0.014745582826435566, 0.0568564310669899, 0.013995918445289135, 0.051483433693647385, 0.03207510709762573, -0.07495097070932388, 0.002588508650660515, -0.021314896643161774, 0.037989236414432526, -0.059038273990154266, 0.003275384195148945, 0.00542982155457139, -0.03190014883875847, -0.018270015716552734, 0.0495426170527935, -0.0195924025028944, 0.0076527525670826435, 0.03157427906990051, -0.06496191024780273, -0.031438786536455154, -0.02878553234040737, 0.019443538039922714, -0.05088278651237488, 0.022709699347615242, -0.019288968294858932, 0.011436059139668941, 0.017351722344756126, -0.0009208839037455618, -0.02998763881623745, 0.010905525647103786, 0.005110820755362511, -0.048935774713754654, -0.037219565361738205, 0.02437281236052513, 0.0007012419519014657, -0.0298700463026762, 0.017045339569449425, -0.002924699569121003, 0.052587591111660004, 0.011803408153355122, -0.024370664730668068, 0.010811659507453442, -0.04800109192728996, 0.031908921897411346, 0.006051545962691307, 0.005484613589942455, 0.018900347873568535, -0.014465156942605972, 0.03737728297710419, 0.04341723769903183, 0.04650083929300308, -0.028251120820641518, -0.030116332694888115, -0.03795209899544716, 0.03765188902616501, -0.033389706164598465, 0.04028714820742607, -0.0017606006003916264, -0.028878960758447647, -0.0490403026342392, -0.013328155502676964, -0.006676485296338797, 0.0441521517932415, -0.036942243576049805, 0.006498526316136122, 0.06483347713947296, -0.030889855697751045, -0.055073581635951996, -0.08973434567451477, -0.02004060335457325, -0.04968566820025444, 0.04811769723892212, 0.03267761692404747, -0.01656123623251915, -0.014001543633639812, -0.042154598981142044, -0.030377475544810295, 0.07487041503190994, 0.038453374058008194, -0.036050233989953995, 0.043852727860212326, 0.028409505262970924, -0.03416168689727783, 0.012592826038599014, 0.019442152231931686, -0.05031203851103783, 0.02255517803132534, 0.011140188202261925, 0.018726909533143044, 0.04445306211709976, 0.039761196821928024, -0.05619637668132782, -0.02870468981564045, -0.06265649944543839, -0.043311260640621185, -0.013843164779245853, -0.0016463777283206582, 0.08716437965631485 ]
BigSalmon/GPTHeHe
[ "pytorch", "gpt2", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: reddit-bert-text3 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. --> # reddit-bert-text3 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: 2.5346 ## 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.1924 | 1.0 | 981 | 2.6541 | | 2.7158 | 2.0 | 1962 | 2.5480 | | 2.6583 | 3.0 | 2943 | 2.5072 | ### Framework versions - Transformers 4.12.5 - Pytorch 1.10.0+cu113 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.006526453886181116, -0.01563880406320095, -0.02371992915868759, 0.036109670996665955, 0.03322066739201546, 0.01959463395178318, -0.016134314239025116, -0.030939137563109398, -0.040027327835559845, 0.05736676976084709, 0.02525240182876587, -0.0173307117074728, 0.015707194805145264, 0.04289090260863304, -0.03159276768565178, -0.04242721572518349, -0.008739180862903595, -0.008700367994606495, -0.025747152045369148, -0.00645894231274724, 0.003535051364451647, 0.007119909394532442, -0.005733544938266277, 0.008809855207800865, -0.0039392560720443726, 0.009802314452826977, -0.006594914477318525, 0.015114126726984978, 0.02107520028948784, -0.07566342502832413, -0.00032758628367446363, -0.03859420493245125, -0.05589691549539566, -0.023624442517757416, 0.001642762217670679, -0.007864193059504032, 0.015871325507760048, -0.00028812509845010936, 0.027163058519363403, 0.03857355937361717, -0.000043116197048220783, 0.03259603679180145, -0.0012999402824789286, -0.0337991863489151, 0.043458666652441025, -0.004964559804648161, -0.04020301252603531, -0.005575040355324745, 0.04394739866256714, -0.024634523317217827, -0.0688849613070488, -0.06319385021924973, -0.032115183770656586, 0.028602251783013344, -0.014501974917948246, -0.015521254390478134, -0.04984038695693016, 0.0027050767093896866, 0.07156223058700562, -0.04130759835243225, -0.04016488790512085, 0.007426724769175053, -0.05348014831542969, 0.022303622215986252, 0.040299735963344574, -0.035224590450525284, 0.02149207890033722, -0.03591137379407883, 0.040585704147815704, -0.032488007098436356, 0.06832536309957504, -0.011337170377373695, 0.02213943749666214, -0.08809924125671387, -0.02296418510377407, -0.005757646635174751, 0.050176020711660385, 0.05729260295629501, -0.019955776631832123, 0.06014316901564598, 0.0282755084335804, -0.0027950245421379805, 0.03549901023507118, -0.02482101321220398, 0.0022674519568681717, 0.03582986444234848, -0.03035609982907772, 0.014218637719750404, 0.012915806844830513, 0.028241274878382683, -0.034886181354522705, -0.02995002456009388, -0.046932198107242584, -0.016887446865439415, -0.028241470456123352, 0.027044637128710747, 0.04251626506447792, 0.009007634595036507, 0.04703711345791817, 0.028881032019853592, 0.037933576852083206, 0.052090879529714584, -0.020589753985404968, 0.06600843369960785, 0.014780149795114994, -0.011707738041877747, -0.010755246505141258, -0.015658818185329437, -0.04871923476457596, 0.037291646003723145, 0.034715574234724045, -0.022517362609505653, -0.04721734672784805, 0.04323207959532738, 0.015637686476111412, -0.01807267591357231, 0.06451153755187988, -0.014395983889698982, -0.04474138468503952, -0.04755681753158569, 0.03469426929950714, 0.012229997664690018, 0.010679501108825207, -0.006914542056620121, -0.049108609557151794, -0.01713254302740097, -0.027795225381851196, -0.02363155037164688, -0.004417207092046738, 0.015825318172574043, 0.0033942474983632565, 0.06862501800060272, 0.013291065581142902, -0.06629899144172668, -0.009469445794820786, 0.017444800585508347, -0.035632118582725525, 0.0577169731259346, 0.011631605215370655, 0.12092982232570648, -0.07204073667526245, -0.07550635933876038, 0.014751364476978779, 0.0008417795761488378, -0.03626597300171852, 0.012199959717690945, 0.018863115459680557, -0.025444088503718376, -0.006753527093678713, -0.012068450450897217, 0.037575863301754, -0.06849049031734467, -0.023649852722883224, 0.05070856586098671, -0.004299006424844265, 0.0359947644174099, -0.05969221517443657, -0.022234205156564713, 0.02089490182697773, -0.018810419365763664, -0.027537869289517403, 0.05474429577589035, -0.01921403780579567, -0.012802522629499435, -0.024910643696784973, -0.049915023148059845, -0.0034097630996257067, 0.07835918664932251, -0.0047698551788926125, -0.03588451072573662, -0.01880815252661705, 0.029125478118658066, 0.049462415277957916, 0.04422535374760628, -0.023906012997031212, 0.03172716125845909, 0.060197848826646805, 0.035080552101135254, -0.034600336104631424, 0.034852318465709686, 0.016196439042687416, -0.044154345989227295, -0.018255911767482758, 0.024689633399248123, -0.006860052701085806, -0.04391513764858246, 0.05070077255368233, 0.016632620245218277, 0.006308045703917742, -0.05308215692639351, -0.04218462109565735, 0.04305410757660866, -0.0076317195780575275, -0.000057033379562199116, 0.0235456433147192, 0.006930278614163399, -0.019852101802825928, 0.046618763357400894, -0.013866805471479893, -0.0003157610772177577, -0.022035501897335052, -0.03689626604318619, 0.011121581308543682, -0.012748919427394867, 0.025057967752218246, 0.04453015327453613, -0.016588453203439713, 0.07748719304800034, -0.04110273718833923, 0.026244690641760826, -0.038649946451187134, -0.04566100612282753, 0.01546148955821991, 0.05320356413722038, 0.051324013620615005, 0.05701905116438866, 0.010060107335448265, -0.05124814808368683, 0.025850245729088783, 0.056249819695949554, 0.05776728689670563, 0.007414411287754774, -0.017022546380758286, -0.013745813630521297, 0.029053926467895508, 0.058826714754104614, -0.05549026280641556, -0.01870187371969223, 0.008637340739369392, 0.05646016076207161, -0.008470994420349598, 0.022430798038840294, -0.039197888225317, 0.026209793984889984, -0.05179227143526077, -0.062060125172138214, 0.05075372755527496, 0.0343455970287323, -0.003917530179023743, 0.02508743479847908, -0.00002247783231723588, -0.0015405382728204131, 0.017384149134159088, 0.02450934424996376, -0.00479555781930685, -0.047570567578077316, 0.016597777605056763, 0.01749594695866108, 0.04483475163578987, -0.0476149320602417, 0.04370373487472534, -0.006868768949061632, 0.01835295371711254, 0.02032642252743244, -0.04028975963592529, 0.022651679813861847, 0.05692778527736664, 0.023260725662112236, -0.03039717860519886, 0.014256933704018593, -0.006518139969557524, 0.023450307548046112, 0.0397765152156353, 0.002933141542598605, 0.06556405127048492, 0.007001192308962345, 0.044515106827020645, 0.09311162680387497, 0.037737343460321426, 0.046420566737651825, 0.027978338301181793, 0.0759081318974495, 0.023152286186814308, -0.02548554353415966, 0.056969378143548965, -0.04946467652916908, 0.011842151172459126, -0.04098888486623764, 0.00011458941298769787, -0.02492840774357319, -0.018584178760647774, 0.04494547098875046, 0.020758667960762978, -0.01595522277057171, -0.008224149234592915, -0.016979722306132317, -0.011731214821338654, 0.023324547335505486, 0.006391001399606466, 0.0073132598772645, -0.005913750268518925, -0.023916270583868027, -0.01946299895644188, -0.07383465021848679, -0.025494448840618134, -0.02143102139234543, -0.021002784371376038, 0.00017140095587819815, -0.09870554506778717, -0.014055323787033558, -0.08053277432918549, -0.019994139671325684, 0.036563437432050705, 0.002138725249096751, -0.0035583788994699717, -0.05327777937054634, 0.01653280295431614, -0.052827153354883194, -0.04600683972239494, -0.035872265696525574, -0.04252278804779053, -0.04894108697772026, -0.07832714170217514, 0.025628801435232162, 0.025492258369922638, 0.016244661062955856, -0.006129151210188866, 0.007702426984906197, -0.007863109931349754, -0.015905197709798813, 0.03842886537313461, 0.05186941474676132, -0.03645869717001915, -0.058764878660440445, 0.019287247210741043, -0.013336531817913055, 0.017870446667075157, 0.012155277654528618, -0.028416095301508904, 0.09120757132768631, 0.07170432060956955, 0.01352836936712265, 0.023457089439034462, -0.036846984177827835, -0.06834778189659119, -0.06408918648958206, -0.017721209675073624, -0.023815272375941277, -0.03864743560552597, -0.029975349083542824, -0.04976526275277138, -0.02228853851556778, -0.03568118438124657, 0.0008895518840290606, -0.0058526284992694855, 0.02328467182815075, 0.02954055182635784, 0.0344930998980999, 0.02189147099852562, 0.0342261865735054, -0.0382690392434597, -0.04306101053953171, 0.05345143750309944, 0.018437577411532402, 0.005561521276831627, -0.09170624613761902, -0.018816711381077766, 0.03306546062231064, 0.021326448768377304, 0.016477763652801514, 0.009135008789598942, 0.060419656336307526, 0.0031988455448299646, -0.0014037942746654153, 0.021834110841155052, -0.0016364402836188674, -0.031874142587184906, -0.029267003759741783, -0.0019119316712021828, -0.010571134276688099, -0.05546707287430763, -0.022916557267308235, -0.008118746802210808, 0.04426209628582001, -0.0676388069987297, -0.04807382822036743, -0.009665383957326412, 0.022330887615680695, 0.04661526903510094, 0.0027026738971471786, -0.0487973690032959, -0.006240955088287592, -0.06254630535840988, -0.023908371105790138, 0.029378801584243774, 0.0014313551364466548, 0.01765671744942665, 0.04533663019537926, 0.01633521355688572, -0.011450818739831448, 0.03523748368024826, 0.035586073994636536, 0.06401507556438446, 0.009034465998411179, -0.07225222140550613, 0.008421740494668484, -0.028727076947689056, 0.023219816386699677, -0.0008716945303604007, -0.011473399586975574, -0.02735869772732258, -0.09746155887842178, -0.008956722915172577, 0.0002592184755485505, -0.00783816259354353, -0.014599126763641834, 0.03374236077070236, -0.006163594778627157, -0.013106045313179493, -0.018760984763503075, 0.012113187462091446, 0.027096737176179886, -0.02606550231575966, 0.046798061579465866, -0.020247040316462517, 0.023708226159214973, -0.05730734020471573, 0.012779301032423973, -0.03957096487283707, -0.029201079159975052, -0.004873193334788084, 0.06505072116851807, 0.0007133045583032072, 0.04964607208967209, 0.08532059192657471, 0.036573320627212524, -0.03465144336223602, 0.0282051432877779, 0.05147076025605202, -0.02458878420293331, -0.03592735528945923, 0.007694781757891178, -0.008970397524535656, -0.018757157027721405, -0.011637276038527489, -0.022580256685614586, 0.044867757707834244, 0.04662506282329559, 0.004971889778971672, 0.020170507952570915, 0.00013378402218222618, -0.014904958195984364, -0.04261334240436554, -0.0608191192150116, -0.019185639917850494, -0.018179621547460556, -0.023251457139849663, 0.02402862347662449, 0.04599079489707947, 0.0035293821711093187, 0.06911953538656235, 0.04538356512784958, -0.018259912729263306, -0.022157857194542885, 0.03945451229810715, 0.018226174637675285, -0.03486904129385948, -0.08076388388872147, -0.03003723733127117, 0.03464890271425247, 0.04225590080022812, -0.022183945402503014, -0.06502876430749893, 0.012073908001184464, 0.06077660992741585, -0.048404108732938766, 0.04431631416082382, -0.01357988826930523, 0.050933532416820526, 0.06495275348424911, -0.013717438094317913, 0.03761855140328407, -0.020162731409072876, -0.02220156230032444, 0.0005219406448304653, 0.020033080130815506, -0.02094287797808647, -0.03761142119765282, -0.05007122457027435, 0.031334634870290756, 0.045135095715522766, 0.03003581427037716, 0.039741888642311096, -0.02991402894258499, -0.050935033708810806, 0.011493857018649578, 0.044289376586675644, -0.05016105994582176, 0.007626788690686226, 0.04382240027189255, 0.039851367473602295, -0.0459042564034462, -0.03474791720509529, -0.03881151229143143, -0.026139115914702415, 0.046160586178302765, 0.006170282140374184, -0.03495308756828308, -0.03982999175786972, 0.03777587041258812, 0.0036207358352839947, -0.03281237930059433, -0.04937467351555824, 0.05127608776092529, -0.013807995244860649, -0.017000285908579826, 0.053673893213272095, 0.04270470514893532, 0.01376368198543787, 0.06068864464759827, 0.03008251264691353, 0.016772834584116936, -0.03893430158495903, 0.025697465986013412, -0.042749080806970596, -0.024673867970705032, 0.009786494076251984, -0.03390812873840332, -0.008381040766835213, -0.012139949947595596, -0.04171018302440643, -0.03999054804444313, -0.01917082816362381, 0.010950304567813873, 0.0027849238831549883, -0.00955445971339941, 0.0016182101098820567, 0.03703856095671654, -0.018285466358065605, -0.034767650067806244, -0.03979821875691414, -0.024851080030202866, -0.04699857532978058, -0.05894678458571434, 0.010995873250067234, 0.0265157800167799, 0.04201829805970192, 0.028649218380451202, 0.016154536977410316, 0.008323741145431995, 0.002751004882156849, -0.03492138907313347, 0.019333727657794952, -0.00877507496625185, -0.03840426355600357, -0.02518908679485321, 0.038577478379011154, 0.016092222183942795, 0.0338003896176815, -0.019913507625460625, 0.0396341048181057, 0.011994242668151855, -0.011805418878793716, -0.02678167074918747, 0.015529735013842583, 0.016531622037291527, -0.07046563923358917, -0.021957742050290108, -0.015487761236727238, -0.03724908083677292, 0.019263343885540962, -0.03139156848192215, -0.04181421175599098, 0.010028423741459846, 0.02451646514236927, 0.04232395440340042, -0.009689421392977238, -0.029056347906589508, 0.012004227377474308, -0.029898464679718018, 0.01987139880657196, -0.040872588753700256, 0.044077325612306595, -0.04650140181183815, 0.02285229042172432, -0.02327464148402214, 0.01804729551076889, -0.04506237059831619, 0.04625872150063515, -0.018705852329730988, -0.013980611227452755, -0.0032863100059330463, 0.039715588092803955, -0.01548251323401928, 0.025405770167708397, -0.023131022229790688, 0.04268909990787506, -0.02469261921942234, 0.0543343760073185, -0.04396267235279083, 0.013882061466574669, -0.036133378744125366, 0.032236725091934204, -0.027835067361593246, 0.009335406124591827, 0.005805043037980795, -0.019430015236139297, 0.026775673031806946, 0.04965933784842491, 0.038471322506666183, 0.02970954403281212, -0.019344309344887733, -0.01634385623037815, 0.017836956307291985, -0.06008171662688255, -0.032749149948358536, -0.002670333720743656, 0.002825160278007388, -0.0038930876180529594, 0.06079607456922531, 0.04583605006337166, -0.053056858479976654, -0.048171330243349075, 0.04234081506729126, 0.02036421373486519, 0.004311306402087212, 0.0008952806820161641, 0.017910785973072052, 0.03206389397382736, 0.05305586755275726, -0.024707509204745293, -0.00562438927590847, -0.017968058586120605, -0.031077759340405464, 0.040198348462581635, -0.0031182412058115005, 0.03549625724554062, 0.01808929070830345, -0.028189251199364662, -0.026854705065488815, 0.07114775478839874, 0.022614898160099983, 0.02722584828734398, -0.0028109075501561165, -0.04700815677642822, 0.03316168859601021, -0.0010059864725917578, -0.03606679290533066, 0.016779903322458267, 0.012604388408362865, -0.02579762600362301, 0.06745147705078125, 0.0003265716368332505, 0.008317013271152973, 0.03588968142867088, 0.03989015892148018, -0.016899876296520233, 0.06723730266094208, -0.03728080168366432, 0.01899789832532406, 0.04838569462299347, -0.06773056089878082, -0.0005528147448785603, -0.03248458728194237, 0.05319151654839516, -0.07515989243984222, 0.03476903960108757, 0.04026850685477257, 0.0060233245603740215, 0.022412532940506935, -0.04863406717777252, -0.04524414241313934, 0.016972701996564865, -0.053836796432733536, 0.07686953246593475, -0.0034284319262951612, -0.05870469659566879, 0.06083591282367706, -0.005687369965016842, -0.058894626796245575, 0.043124496936798096, 0.03451929986476898, 0.04897146299481392, 0.030628995969891548, 0.059134505689144135, -0.07562492042779922, 0.0004601139225997031, -0.04723121225833893, 0.02494204230606556, -0.03953550383448601, -0.016004908829927444, 0.029694674536585808, -0.028943432494997978, -0.029684968292713165, 0.060916099697351456, -0.024109719321131706, -0.012811697088181973, 0.05309804901480675, -0.044105835258960724, -0.04501054435968399, 0.009856278076767921, 0.01765667460858822, -0.028392113745212555, 0.007990404963493347, -0.05172540247440338, 0.012984007596969604, -0.008767874911427498, 0.00007523817475885153, -0.01567339338362217, -0.0073281098157167435, 0.020349537953734398, -0.042407628148794174, -0.04469815641641617, 0.040708839893341064, -0.0032445979304611683, -0.017818918451666832, 0.031333621591329575, 0.014815651811659336, 0.008168753236532211, 0.020468201488256454, -0.0022749288473278284, 0.013397819362580776, -0.0351409986615181, -0.017947452142834663, 0.014770501293241978, 0.008060088381171227, 0.038554493337869644, 0.000491365441121161, 0.04114566743373871, 0.01681581884622574, 0.03327580913901329, -0.027816178277134895, -0.03768634796142578, -0.04692457616329193, 0.021925635635852814, -0.0404316782951355, 0.01596025936305523, -0.006013231351971626, -0.039159275591373444, -0.041534632444381714, 0.010389546863734722, -0.05591381713747978, 0.03554481267929077, -0.06900085508823395, 0.025738010182976723, 0.03335355967283249, -0.013012198731303215, -0.07449152320623398, -0.10362831503152847, -0.006010537501424551, -0.04221710190176964, 0.0062242611311376095, 0.030280878767371178, -0.025418924167752266, 0.04023783653974533, -0.04141875356435776, -0.045849334448575974, 0.05041445046663284, 0.0225165206938982, -0.06357050687074661, 0.045113202184438705, 0.0598953478038311, -0.041145458817481995, 0.009474973194301128, 0.021341362968087196, -0.05564817786216736, -0.000495371175929904, 0.017361965030431747, 0.01401614025235176, 0.019648373126983643, 0.03189660608768463, -0.03850946202874184, -0.02786986157298088, -0.08387883007526398, -0.02711893804371357, -0.04525338113307953, 0.01994851790368557, 0.062225908041000366 ]
BigSalmon/GPTIntro
[]
null
{ "architectures": null, "model_type": null, "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
0
2021-12-15T08:05:47Z
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: reddit-bert-text4 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. --> # reddit-bert-text4 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: 2.4763 ## 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.1071 | 1.0 | 978 | 2.6170 | | 2.6788 | 2.0 | 1956 | 2.5332 | | 2.6112 | 3.0 | 2934 | 2.4844 | ### Framework versions - Transformers 4.13.0 - Pytorch 1.10.0+cu113 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.006465686019510031, -0.013962052762508392, -0.022670354694128036, 0.03763594105839729, 0.031396858394145966, 0.018793471157550812, -0.016306601464748383, -0.030685508623719215, -0.04079611226916313, 0.057358965277671814, 0.02268814854323864, -0.01817632094025612, 0.021301118656992912, 0.045795001089572906, -0.03349342197179794, -0.042435333132743835, -0.011056880466639996, -0.00584043376147747, -0.026251832023262978, -0.004477106034755707, 0.0016056105960160494, 0.004618870560079813, -0.00898121390491724, 0.00790409091860056, -0.00012780925317201763, 0.010589152574539185, -0.002537016524001956, 0.011509228497743607, 0.01838403381407261, -0.07437297701835632, 0.00035470386501401663, -0.03687616437673569, -0.055506397038698196, -0.02236156351864338, 0.0044405157677829266, -0.0036670661065727472, 0.015235012397170067, 0.0007746090996079147, 0.02946155145764351, 0.03667924925684929, -0.0004169908061157912, 0.03207477927207947, -0.004848800133913755, -0.03467768803238869, 0.04676704481244087, -0.004656314849853516, -0.03997284173965454, -0.006716752890497446, 0.040935348719358444, -0.027203362435102463, -0.06981614232063293, -0.06561531871557236, -0.033059388399124146, 0.025330694392323494, -0.015280877240002155, -0.018752139061689377, -0.055324774235486984, 0.0068336669355630875, 0.07639216631650925, -0.04325366020202637, -0.04025297239422798, 0.007206238340586424, -0.05970669537782669, 0.017560821026563644, 0.04202503710985184, -0.03594401106238365, 0.022811170667409897, -0.03575640544295311, 0.036946143954992294, -0.030917812138795853, 0.0662643313407898, -0.011190776713192463, 0.020979542285203934, -0.08475123345851898, -0.023869045078754425, -0.006223559379577637, 0.05240029841661453, 0.05511694401502609, -0.019976314157247543, 0.0577654130756855, 0.02910585328936577, -0.00255443318746984, 0.03691753000020981, -0.02299167960882187, 0.0013269875198602676, 0.033073391765356064, -0.03177213668823242, 0.014619225636124611, 0.013072908855974674, 0.025098668411374092, -0.036187056452035904, -0.030467815697193146, -0.04612285643815994, -0.017123693600296974, -0.029710937291383743, 0.02706773392856121, 0.04285236820578575, 0.007358773145824671, 0.04667561501264572, 0.030182596296072006, 0.039467670023441315, 0.05462229251861572, -0.015744326636195183, 0.06643497198820114, 0.012890712358057499, -0.01357254758477211, -0.015449360944330692, -0.01423212606459856, -0.048910606652498245, 0.03987940400838852, 0.03359367325901985, -0.0245358943939209, -0.04537340998649597, 0.04032701253890991, 0.011691831052303314, -0.016783900558948517, 0.06369336694478989, -0.013652772642672062, -0.04333145171403885, -0.043379053473472595, 0.035261381417512894, 0.012487261556088924, 0.012693028897047043, -0.007373311556875706, -0.049183279275894165, -0.015102392062544823, -0.027645761147141457, -0.023837881162762642, -0.0001294676767429337, 0.018645135685801506, 0.003815010655671358, 0.07018445432186127, 0.014575699344277382, -0.06923894584178925, -0.011009249836206436, 0.018377186730504036, -0.03463611751794815, 0.059019263833761215, 0.010391362942755222, 0.11605041474103928, -0.07020772248506546, -0.07430616021156311, 0.017154881730675697, 0.004306714981794357, -0.039714694023132324, 0.009942648001015186, 0.016300471499562263, -0.02428128570318222, -0.008383510634303093, -0.012836603447794914, 0.03612499311566353, -0.07113853842020035, -0.019076736643910408, 0.04984863102436066, -0.0038871297147125006, 0.039242129772901535, -0.06044914573431015, -0.022475743666291237, 0.017593100666999817, -0.015246190130710602, -0.027624797075986862, 0.05227817967534065, -0.018220582976937294, -0.01225034985691309, -0.024708176031708717, -0.04573353752493858, -0.0017213328974321485, 0.0788080245256424, -0.005890936125069857, -0.037743426859378815, -0.019360605627298355, 0.028451930731534958, 0.04900664463639259, 0.04372435808181763, -0.022454123944044113, 0.03257045894861221, 0.056879669427871704, 0.036668285727500916, -0.03333519399166107, 0.034816570580005646, 0.015494952909648418, -0.04039536416530609, -0.019911328330636024, 0.026016568765044212, -0.0019992946181446314, -0.04407187178730965, 0.050172824412584305, 0.01767888478934765, 0.00664162915199995, -0.053283073008060455, -0.04130292311310768, 0.04730958491563797, -0.011560635641217232, -0.0009426703327335417, 0.0201208908110857, 0.00597150344401598, -0.02075577713549137, 0.047208644449710846, -0.012951175682246685, 0.000616269011516124, -0.021792827174067497, -0.03886963427066803, 0.013014862313866615, -0.012908796779811382, 0.024473832920193672, 0.04463449493050575, -0.012005318887531757, 0.07639802247285843, -0.04282478243112564, 0.022892478853464127, -0.043276652693748474, -0.043670330196619034, 0.011283282190561295, 0.05464790016412735, 0.05469673499464989, 0.05538168549537659, 0.010690453462302685, -0.051487360149621964, 0.029345810413360596, 0.055405568331480026, 0.05664636567234993, 0.0061967018991708755, -0.018110105767846107, -0.012591280043125153, 0.02832493558526039, 0.05772547423839569, -0.05623765289783478, -0.016419686377048492, 0.005608480889350176, 0.056796759366989136, -0.015190479345619678, 0.02047651633620262, -0.03613484278321266, 0.025323377922177315, -0.05348629504442215, -0.0635145753622055, 0.053708095103502274, 0.034287482500076294, -0.0042552161030471325, 0.02620868757367134, 0.0020050606690347195, -0.005354611203074455, 0.014830491505563259, 0.020185323432087898, -0.0002324612287338823, -0.04400976374745369, 0.012998078018426895, 0.01845686137676239, 0.04746517911553383, -0.05048024281859398, 0.04407374933362007, -0.006445640232414007, 0.017669640481472015, 0.019894946366548538, -0.039539631456136703, 0.023754920810461044, 0.05457725003361702, 0.02104557864367962, -0.030159594491124153, 0.016268668696284294, -0.007110089063644409, 0.02024412713944912, 0.03912188857793808, 0.002802264876663685, 0.06616286933422089, 0.00799750629812479, 0.0415174663066864, 0.08936983346939087, 0.03636320307850838, 0.045298218727111816, 0.024934181943535805, 0.07638342678546906, 0.023101648315787315, -0.028302466496825218, 0.05894431471824646, -0.05025215074419975, 0.01300167664885521, -0.04213752597570419, 0.001155333942733705, -0.025982098653912544, -0.017421744763851166, 0.048599738627672195, 0.017759164795279503, -0.01769001968204975, -0.009454860351979733, -0.013891244307160378, -0.012541512958705425, 0.025524402037262917, 0.0026324039790779352, 0.006943246349692345, -0.01124998927116394, -0.023717155680060387, -0.018111782148480415, -0.07462700456380844, -0.021657319739460945, -0.021421538665890694, -0.02211570553481579, 0.003016939852386713, -0.1037391796708107, -0.014284911565482616, -0.07810892909765244, -0.02087503857910633, 0.033924419432878494, -0.0017486991127952933, -0.006438358686864376, -0.05298393592238426, 0.020448366180062294, -0.0518246628344059, -0.046638455241918564, -0.034512363374233246, -0.04053543508052826, -0.049614712595939636, -0.08172272145748138, 0.024875137954950333, 0.025190487504005432, 0.01857922039926052, -0.003240395337343216, 0.007158326450735331, -0.009411207400262356, -0.017305228859186172, 0.04001056030392647, 0.04993376508355141, -0.03679024055600166, -0.05770063400268555, 0.02344590798020363, -0.014060950838029385, 0.01726003922522068, 0.006795961409807205, -0.027526186779141426, 0.08876851201057434, 0.0717281699180603, 0.009835592471063137, 0.023665357381105423, -0.03901396319270134, -0.06773483753204346, -0.061958178877830505, -0.017823485657572746, -0.021658681333065033, -0.040583349764347076, -0.03169713914394379, -0.04871754348278046, -0.020987069234251976, -0.03506960719823837, 0.0006311748293228447, -0.005165711976587772, 0.024537667632102966, 0.02883339487016201, 0.03136437386274338, 0.02138669788837433, 0.034626349806785583, -0.03340950608253479, -0.043691448867321014, 0.05469096824526787, 0.0173163041472435, 0.0051565892063081264, -0.08902257680892944, -0.01736554503440857, 0.03528019040822983, 0.017051396891474724, 0.015702759847044945, 0.01476660929620266, 0.06463411450386047, 0.0012547015212476254, -0.005053446628153324, 0.02226622961461544, 0.00033002276904881, -0.03312120586633682, -0.030000336468219757, -0.005185546353459358, -0.01072921697050333, -0.05538284033536911, -0.026830539107322693, -0.011578014120459557, 0.04098585247993469, -0.06569203734397888, -0.048087939620018005, -0.007684811484068632, 0.024801082909107208, 0.05104351043701172, 0.0030707528349012136, -0.04618801549077034, -0.004936555866152048, -0.06455320119857788, -0.023523317649960518, 0.025779254734516144, 0.004694403149187565, 0.01670934073626995, 0.045241594314575195, 0.014182147569954395, -0.011681928299367428, 0.03716909885406494, 0.03778603672981262, 0.06192964315414429, 0.008832426741719246, -0.07168401777744293, 0.009556060656905174, -0.0333126038312912, 0.020775526762008667, -0.001986514311283827, -0.011795385740697384, -0.02731156349182129, -0.09467298537492752, -0.0076895346865057945, 0.0033891985658556223, -0.005474308505654335, -0.020032163709402084, 0.03482723608613014, -0.009062567725777626, -0.01532386988401413, -0.01646050252020359, 0.01135260984301567, 0.02760261297225952, -0.029815617948770523, 0.04499279335141182, -0.021334588527679443, 0.027851294726133347, -0.05766693502664566, 0.014388501644134521, -0.03845103457570076, -0.027749817818403244, -0.0034232414327561855, 0.06640991568565369, 0.0005061007104814053, 0.046957194805145264, 0.0841393694281578, 0.040910009294748306, -0.03684074431657791, 0.03093254566192627, 0.049538273364305496, -0.026840021833777428, -0.03296874463558197, 0.005244944244623184, -0.005821950733661652, -0.021018220111727715, -0.014149069786071777, -0.022563787177205086, 0.04917902499437332, 0.044735245406627655, 0.0024503618478775024, 0.02368318662047386, 0.0009892542148008943, -0.016518622636795044, -0.039371341466903687, -0.06351444870233536, -0.020001467317342758, -0.019432708621025085, -0.02347501367330551, 0.025749241933226585, 0.046018086373806, 0.0037691218312829733, 0.07057508826255798, 0.043925367295742035, -0.019468141719698906, -0.022693822160363197, 0.038021910935640335, 0.018418369814753532, -0.03377170488238335, -0.07645716518163681, -0.031508781015872955, 0.03346830978989601, 0.044012732803821564, -0.02131366729736328, -0.06680583208799362, 0.01766069419682026, 0.062098219990730286, -0.04886935278773308, 0.044032540172338486, -0.0133934011682868, 0.05330156907439232, 0.06300301849842072, -0.010591171681880951, 0.04073789343237877, -0.019326884299516678, -0.01982680708169937, -0.0007478308398276567, 0.016434626653790474, -0.021540524438023567, -0.03954198583960533, -0.049886398017406464, 0.028937961906194687, 0.04515983909368515, 0.02843262068927288, 0.035051144659519196, -0.02967706322669983, -0.05171476677060127, 0.011994319036602974, 0.041885968297719955, -0.05014342442154884, 0.007976876571774483, 0.04376622661948204, 0.037518199533224106, -0.045094557106494904, -0.03925180062651634, -0.040963876992464066, -0.02372884377837181, 0.046821478754282, 0.005915062502026558, -0.03413092717528343, -0.03979998081922531, 0.04161475971341133, 0.0023379474878311157, -0.03000824712216854, -0.05621471256017685, 0.04648963361978531, -0.017234042286872864, -0.01605461910367012, 0.051973339170217514, 0.039785269647836685, 0.012251564301550388, 0.06282219290733337, 0.03007461316883564, 0.01971675641834736, -0.0389360673725605, 0.03143848478794098, -0.042251817882061005, -0.024293674156069756, 0.008414555341005325, -0.03110339492559433, -0.006843152455985546, -0.012066833674907684, -0.04562037065625191, -0.04125950112938881, -0.020458249375224113, 0.013969223015010357, 0.0022835794370621443, -0.013691808097064495, 0.0003703674010466784, 0.037054598331451416, -0.02031007781624794, -0.03302359580993652, -0.04215417802333832, -0.022268474102020264, -0.04780861735343933, -0.05618944764137268, 0.013011069037020206, 0.024224918335676193, 0.0434022918343544, 0.03035097010433674, 0.020739134401082993, 0.008277959190309048, 0.00169849069789052, -0.034252751618623734, 0.02133628912270069, -0.008446762338280678, -0.03803011029958725, -0.02366582304239273, 0.03666704148054123, 0.017675114795565605, 0.03569508343935013, -0.02197086624801159, 0.04333790764212608, 0.015605439431965351, -0.014018612913787365, -0.027963804081082344, 0.016383644193410873, 0.013742995448410511, -0.07122425734996796, -0.0235642921179533, -0.014551919884979725, -0.04120925813913345, 0.018087929114699364, -0.03241756558418274, -0.038762595504522324, 0.012017275206744671, 0.024101482704281807, 0.04139566048979759, -0.01209260243922472, -0.02691805362701416, 0.014562028460204601, -0.02915274351835251, 0.019886255264282227, -0.04179604351520538, 0.04644954949617386, -0.04648105055093765, 0.021328546106815338, -0.023881543427705765, 0.015127758495509624, -0.04301310330629349, 0.04538974538445473, -0.018124964088201523, -0.01778062991797924, -0.004108660854399204, 0.03897169232368469, -0.0132615240290761, 0.026267893612384796, -0.021564364433288574, 0.042193084955215454, -0.026580624282360077, 0.05871773883700371, -0.04484263062477112, 0.015326125547289848, -0.04096751660108566, 0.03228721022605896, -0.028477439656853676, 0.009835613891482353, 0.005237070843577385, -0.018405253067612648, 0.02463380992412567, 0.046839140355587006, 0.04034343361854553, 0.0328943133354187, -0.014145954512059689, -0.017631493508815765, 0.016137365251779556, -0.059133272618055344, -0.03461243212223053, -0.002667541615664959, 0.00007088424172252417, -0.0055619883351027966, 0.05857779085636139, 0.044787850230932236, -0.05487767234444618, -0.047821883112192154, 0.04648858681321144, 0.016072547063231468, 0.004930272698402405, 0.000848742201924324, 0.018515754491090775, 0.03611725941300392, 0.05093644931912422, -0.024215582758188248, -0.003032915061339736, -0.013928414322435856, -0.030676882714033127, 0.03937702253460884, -0.0016822193283587694, 0.03684680908918381, 0.014907676726579666, -0.02505541779100895, -0.02919682115316391, 0.07096204906702042, 0.021728137508034706, 0.02537303976714611, -0.006806304212659597, -0.046845756471157074, 0.03125178441405296, 0.002124653197824955, -0.037263378500938416, 0.015207106247544289, 0.01532397884875536, -0.02206837758421898, 0.06703360378742218, -0.0041064913384616375, 0.007632622495293617, 0.03760877251625061, 0.03940941393375397, -0.015444636344909668, 0.0662006363272667, -0.03713172301650047, 0.0176340751349926, 0.04768631234765053, -0.06893906742334366, -0.0030882342252880335, -0.031661055982112885, 0.052003707736730576, -0.0772063210606575, 0.03362983465194702, 0.040011849254369736, 0.005887280683964491, 0.02409334108233452, -0.04683058336377144, -0.044001802802085876, 0.01492238137871027, -0.05215742066502571, 0.07429365068674088, -0.006031307391822338, -0.058700140565633774, 0.06223135069012642, -0.004973703995347023, -0.06118174269795418, 0.0412585623562336, 0.031247124075889587, 0.046483542770147324, 0.029387203976511955, 0.055571071803569794, -0.0739179477095604, 0.0004661929851863533, -0.04855239763855934, 0.025851724669337273, -0.04121929034590721, -0.01814441569149494, 0.033546172082424164, -0.03268255293369293, -0.029898684471845627, 0.061188336461782455, -0.0236673541367054, -0.01200778316706419, 0.05194199085235596, -0.04511493444442749, -0.045798927545547485, 0.009689012542366982, 0.017177678644657135, -0.028571443632245064, 0.011200634762644768, -0.05191155523061752, 0.01521808747202158, -0.009236915037035942, -0.003165831556543708, -0.01358286663889885, -0.008837884292006493, 0.021333271637558937, -0.04490199685096741, -0.04432975873351097, 0.03846200183033943, -0.0017394250025972724, -0.01940476894378662, 0.0320676751434803, 0.012203448452055454, 0.00896233506500721, 0.019414417445659637, -0.003945698030292988, 0.01155394408851862, -0.036080315709114075, -0.014684975147247314, 0.013960222713649273, 0.010443657636642456, 0.03592484071850777, 0.0019995146431028843, 0.04461150988936424, 0.018775632604956627, 0.035664986819028854, -0.02804814837872982, -0.03818418085575104, -0.04862651973962784, 0.02746756188571453, -0.04130089282989502, 0.020886309444904327, -0.007536415942013264, -0.03971290960907936, -0.041459664702415466, 0.007829733192920685, -0.05574609711766243, 0.035173721611499786, -0.06947306543588638, 0.02764761634171009, 0.030528178438544273, -0.01425766758620739, -0.070828877389431, -0.10428918153047562, -0.006742675323039293, -0.0438896007835865, 0.00579618476331234, 0.030816813930869102, -0.026886044070124626, 0.04140409082174301, -0.03917167708277702, -0.044198065996170044, 0.04720108583569527, 0.019825797528028488, -0.06460011005401611, 0.04195490851998329, 0.05866033956408501, -0.04004951938986778, 0.011201974004507065, 0.025542834773659706, -0.05536889284849167, -0.0006877623382024467, 0.016999151557683945, 0.01220944058150053, 0.01928756572306156, 0.03080158680677414, -0.03680785372853279, -0.031808026134967804, -0.08151984214782715, -0.026631128042936325, -0.04536357894539833, 0.023224694654345512, 0.0611870139837265 ]
BigSalmon/GPTNeo350MInformalToFormalLincoln3
[ "pytorch", "gpt_neo", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
10
2021-12-18T11:26:38Z
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: reddit-bert-text5 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. --> # reddit-bert-text5 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: 2.5749 ## 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.0257 | 1.0 | 945 | 2.6167 | | 2.7138 | 2.0 | 1890 | 2.5529 | | 2.6363 | 3.0 | 2835 | 2.5463 | ### Framework versions - Transformers 4.14.1 - Pytorch 1.10.0+cu113 - Datasets 1.16.1 - Tokenizers 0.10.3
[ -0.006479226518422365, -0.013019244186580181, -0.019853025674819946, 0.037741854786872864, 0.03313751891255379, 0.01704072579741478, -0.016423983499407768, -0.028239760547876358, -0.040106408298015594, 0.056133486330509186, 0.023916812613606453, -0.01827814429998398, 0.017349811270833015, 0.04614531993865967, -0.032214533537626266, -0.04358557239174843, -0.010124510154128075, -0.0052757058292627335, -0.029362207278609276, -0.004824353847652674, 0.004654199816286564, 0.004019472748041153, -0.007322133053094149, 0.010347587056457996, 0.00029412296134978533, 0.011547970585525036, -0.00025140465004369617, 0.01266027893871069, 0.01966305449604988, -0.075493223965168, 0.0007750280783511698, -0.03902362287044525, -0.05444564297795296, -0.025231055915355682, 0.004201278556138277, -0.0042479983530938625, 0.01241149753332138, 0.0012024317402392626, 0.03127099573612213, 0.038255587220191956, 0.001237044925801456, 0.03269168734550476, -0.006828696001321077, -0.033316802233457565, 0.047351282089948654, -0.0034736022353172302, -0.0386553630232811, -0.0087346276268363, 0.044431570917367935, -0.023788616061210632, -0.07146454602479935, -0.06405843794345856, -0.03445415571331978, 0.025928976014256477, -0.017527451738715172, -0.015131304040551186, -0.055851683020591736, 0.006014308426529169, 0.07242279499769211, -0.04409628361463547, -0.04095182195305824, 0.008788305334746838, -0.05914036184549332, 0.021176816895604134, 0.04134329780936241, -0.031733423471450806, 0.024227771908044815, -0.03390490263700485, 0.03885245323181152, -0.029444655403494835, 0.06639952212572098, -0.010801905766129494, 0.019359596073627472, -0.08701954782009125, -0.022543499246239662, -0.006328139919787645, 0.04762612283229828, 0.056531473994255066, -0.02125815860927105, 0.05607627332210541, 0.02972474880516529, -0.003336194669827819, 0.03711465746164322, -0.02684757113456726, 0.0032565242145210505, 0.03525597229599953, -0.03105950728058815, 0.013286813162267208, 0.011536484584212303, 0.026743171736598015, -0.03880612179636955, -0.030527250841259956, -0.045738063752651215, -0.016623711213469505, -0.02889477275311947, 0.025211429223418236, 0.042845189571380615, 0.006875193677842617, 0.04558262974023819, 0.026302354410290718, 0.04283665865659714, 0.053367115557193756, -0.014982655644416809, 0.06898172944784164, 0.012422419153153896, -0.0158774945884943, -0.013891173526644707, -0.016551725566387177, -0.047848984599113464, 0.038466788828372955, 0.03494010120630264, -0.02318645268678665, -0.04481076821684837, 0.04166902229189873, 0.01030173059552908, -0.014283904805779457, 0.06676838546991348, -0.013745933771133423, -0.042809125036001205, -0.04051348194479942, 0.03529119864106178, 0.012257637456059456, 0.00974494218826294, -0.005318052135407925, -0.04727119952440262, -0.01598381996154785, -0.026905322447419167, -0.023982210084795952, -0.002346880966797471, 0.01796013116836548, 0.004350902512669563, 0.06821959465742111, 0.018395861610770226, -0.06695567816495895, -0.012713895179331303, 0.016305314376950264, -0.035033319145441055, 0.05987733229994774, 0.00793518591672182, 0.11446910351514816, -0.07179295271635056, -0.07471311837434769, 0.01945142075419426, 0.0020681500900536776, -0.03712381422519684, 0.00892372615635395, 0.020164208486676216, -0.027063101530075073, -0.008517730981111526, -0.011511800810694695, 0.038957275450229645, -0.0667494386434555, -0.02022239938378334, 0.05001184716820717, -0.005253877956420183, 0.038652896881103516, -0.05783289670944214, -0.024556053802371025, 0.0179922915995121, -0.0163252055644989, -0.02606065198779106, 0.05014538764953613, -0.0205217432230711, -0.011841002851724625, -0.024583177641034126, -0.045733705163002014, -0.0014001758536323905, 0.0793934091925621, -0.005540530662983656, -0.034060753881931305, -0.020449861884117126, 0.027319563552737236, 0.050315696746110916, 0.04728817939758301, -0.026193944737315178, 0.03388485684990883, 0.05986896902322769, 0.036378055810928345, -0.03139356151223183, 0.03522578999400139, 0.016835644841194153, -0.04265121743083, -0.01843889057636261, 0.025273166596889496, -0.0032462235540151596, -0.04593869298696518, 0.05054584518074989, 0.019468676298856735, 0.005860987119376659, -0.05254541337490082, -0.038473207503557205, 0.0475434809923172, -0.00967162661254406, -0.0009996750159189105, 0.018392067402601242, 0.005737612023949623, -0.021189633756875992, 0.04401557147502899, -0.012002315372228622, 0.00458573317155242, -0.020851047709584236, -0.036964867264032364, 0.010730123147368431, -0.010892931371927261, 0.025284670293331146, 0.04359102621674538, -0.011426381766796112, 0.07751799374818802, -0.04251760244369507, 0.023935524746775627, -0.041871123015880585, -0.0419863685965538, 0.011879127472639084, 0.05448554456233978, 0.05349541828036308, 0.05375188961625099, 0.010643819347023964, -0.050745170563459396, 0.027102792635560036, 0.05455944314599037, 0.055400967597961426, 0.003748120041564107, -0.018706312403082848, -0.015042836777865887, 0.028369540348649025, 0.061665795743465424, -0.05669943615794182, -0.016112331300973892, 0.004568258300423622, 0.054719675332307816, -0.013880552724003792, 0.020578859373927116, -0.03424496576189995, 0.02649398148059845, -0.05282313749194145, -0.05910160019993782, 0.05151268094778061, 0.03508784621953964, -0.004839097615331411, 0.02508208155632019, 0.002636180492118001, -0.005009074229747057, 0.01440227311104536, 0.022623099386692047, -0.0036269836127758026, -0.046427953988313675, 0.013894403353333473, 0.016871722415089607, 0.046612951904535294, -0.04982384294271469, 0.04691564291715622, -0.009509592317044735, 0.019368233159184456, 0.024328015744686127, -0.038944825530052185, 0.023468129336833954, 0.0525859110057354, 0.020125899463891983, -0.029180064797401428, 0.01507544331252575, -0.003440232714638114, 0.02400379814207554, 0.03762446716427803, 0.0012314098421484232, 0.06683749705553055, 0.008197668008506298, 0.03983762487769127, 0.08761151134967804, 0.03650324046611786, 0.04445639252662659, 0.026189561933279037, 0.07656121253967285, 0.022263821214437485, -0.026537727564573288, 0.06010862812399864, -0.05134737491607666, 0.00956386886537075, -0.038493771106004715, 0.00016111810691654682, -0.025150097906589508, -0.01884208247065544, 0.04592731595039368, 0.020182564854621887, -0.016596730798482895, -0.010886546224355698, -0.014753458090126514, -0.013919548131525517, 0.025470729917287827, 0.003093945560976863, 0.0029959941748529673, -0.006935662589967251, -0.021737869828939438, -0.017659178003668785, -0.07312148809432983, -0.02507045865058899, -0.02115720324218273, -0.02165166288614273, 0.00046552211279049516, -0.10232129693031311, -0.014640966430306435, -0.08023945242166519, -0.02136758528649807, 0.03486151620745659, 0.0018695740727707744, -0.005645208526402712, -0.052293844521045685, 0.019467733800411224, -0.049898646771907806, -0.04516811668872833, -0.03687625378370285, -0.04404592141509056, -0.04998386278748512, -0.08075970411300659, 0.027229059487581253, 0.026913326233625412, 0.01860406994819641, -0.003873750800266862, 0.009446695446968079, -0.009289064444601536, -0.018263274803757668, 0.04126780852675438, 0.05066774785518646, -0.04198379069566727, -0.060851454734802246, 0.023068316280841827, -0.014111809432506561, 0.016574010252952576, 0.009789344854652882, -0.026267215609550476, 0.09149300307035446, 0.07261600345373154, 0.012818329967558384, 0.024492843076586723, -0.03540661185979843, -0.06516504287719727, -0.061203811317682266, -0.014938200823962688, -0.021803833544254303, -0.036234594881534576, -0.03155329078435898, -0.047060396522283554, -0.02123926766216755, -0.034663863480091095, 0.0003292177862022072, -0.0015047921333462, 0.02186153084039688, 0.029205814003944397, 0.033751219511032104, 0.022502707317471504, 0.03577703610062599, -0.03369756042957306, -0.04230871796607971, 0.05479457601904869, 0.01650644838809967, 0.0015459777787327766, -0.09059638530015945, -0.018596120178699493, 0.03663287311792374, 0.0186596866697073, 0.01707065850496292, 0.013055636547505856, 0.06248897314071655, -0.0021444407757371664, -0.006054173223674297, 0.021327851340174675, -0.0012603081995621324, -0.032765962183475494, -0.027598395943641663, -0.003956299275159836, -0.007553658913820982, -0.05445106327533722, -0.027456840500235558, -0.011774247512221336, 0.04159514605998993, -0.06505229324102402, -0.05169251933693886, -0.010681581683456898, 0.02586420252919197, 0.04754067212343216, -0.0004726723418571055, -0.04647447168827057, -0.007424977608025074, -0.06478960067033768, -0.0193630363792181, 0.028443368151783943, 0.0056647066958248615, 0.01913030631840229, 0.04542313888669014, 0.013954723253846169, -0.012028112076222897, 0.03918180987238884, 0.03744436800479889, 0.061809998005628586, 0.009704926051199436, -0.07224249839782715, 0.006135151255875826, -0.031102998182177544, 0.02030402608215809, -0.0016934036975726485, -0.01279920432716608, -0.02676987648010254, -0.0967569574713707, -0.010854599066078663, 0.002925696549937129, -0.004927256144583225, -0.018831590190529823, 0.034310631453990936, -0.006923641078174114, -0.014369010925292969, -0.01613616943359375, 0.01028777938336134, 0.030877990648150444, -0.029720451682806015, 0.044492948800325394, -0.021119985729455948, 0.026426909491419792, -0.05581182241439819, 0.013637151569128036, -0.036949291825294495, -0.0249689482152462, -0.004174457862973213, 0.06220070645213127, 0.004618287552148104, 0.04929840564727783, 0.08289805799722672, 0.03793485462665558, -0.03835645318031311, 0.027665646746754646, 0.05279313772916794, -0.02964497171342373, -0.03583891689777374, 0.006359999533742666, -0.009085177443921566, -0.019954847171902657, -0.014784489758312702, -0.021339766681194305, 0.047412335872650146, 0.046269819140434265, 0.0026865764521062374, 0.02085827849805355, 0.002089123707264662, -0.014295239001512527, -0.04242531955242157, -0.060509923845529556, -0.01977541483938694, -0.017874736338853836, -0.025052007287740707, 0.02393585816025734, 0.045735955238342285, 0.006419806275516748, 0.07065492123365402, 0.04457462206482887, -0.02149656042456627, -0.02325870282948017, 0.035997871309518814, 0.018300743773579597, -0.03107561729848385, -0.08060057461261749, -0.03053927794098854, 0.03358593210577965, 0.04235832020640373, -0.021077968180179596, -0.06470035016536713, 0.015270222909748554, 0.06179816648364067, -0.04562322422862053, 0.04488678649067879, -0.01394471526145935, 0.05221150070428848, 0.06396656483411789, -0.012327129952609539, 0.03910477086901665, -0.02166963741183281, -0.01913261041045189, -0.00043488008668646216, 0.016965825110673904, -0.01933424361050129, -0.038807328790426254, -0.05087694525718689, 0.027568385004997253, 0.046949200332164764, 0.031344469636678696, 0.038821931928396225, -0.02922910824418068, -0.05116777867078781, 0.012213991954922676, 0.04324434697628021, -0.049173202365636826, 0.007672084961086512, 0.04244228079915047, 0.03721601516008377, -0.04291811212897301, -0.03684128820896149, -0.04165181145071983, -0.024530502036213875, 0.045080188661813736, 0.0057058027014136314, -0.03596760332584381, -0.041629936546087265, 0.04285086318850517, 0.004996882285922766, -0.030055347830057144, -0.055578310042619705, 0.048123352229595184, -0.01569938287138939, -0.016216054558753967, 0.05185530334711075, 0.04065671190619469, 0.013467727228999138, 0.06429464370012283, 0.029353519901633263, 0.016908857971429825, -0.03949391096830368, 0.030314622446894646, -0.04311173036694527, -0.021954616531729698, 0.009164727292954922, -0.03179848939180374, -0.006454541347920895, -0.013460390269756317, -0.04784142225980759, -0.04157452657818794, -0.02247210405766964, 0.011295721866190434, 0.0016168366419151425, -0.012958756648004055, 0.0002575357211753726, 0.03764353320002556, -0.02164740301668644, -0.03508564829826355, -0.03921552374958992, -0.020981427282094955, -0.05024592578411102, -0.05707377567887306, 0.01208657305687666, 0.02477765828371048, 0.04523153230547905, 0.029283903539180756, 0.01848950982093811, 0.009183650836348534, 0.0015421963762491941, -0.033731959760189056, 0.01754254847764969, -0.008387168869376183, -0.038330502808094025, -0.02338922768831253, 0.03863254934549332, 0.01672418788075447, 0.036231476813554764, -0.021909845992922783, 0.040895748883485794, 0.01625913381576538, -0.008999097160995007, -0.025888336822390556, 0.01762646995484829, 0.015233934856951237, -0.07252974808216095, -0.0225001722574234, -0.012035690248012543, -0.03704553470015526, 0.017194055020809174, -0.035048820078372955, -0.04138212278485298, 0.013967341743409634, 0.022522572427988052, 0.04257206618785858, -0.014028257690370083, -0.025501221418380737, 0.015468691475689411, -0.02981264889240265, 0.021147470921278, -0.03999669849872589, 0.046242855489254, -0.044117752462625504, 0.020157188177108765, -0.023497363552451134, 0.015941021963953972, -0.04706493765115738, 0.04791839420795441, -0.021387554705142975, -0.01902269944548607, -0.005315253511071205, 0.04180119186639786, -0.01567651703953743, 0.026263777166604996, -0.02065131440758705, 0.041186101734638214, -0.026826314628124237, 0.06070700287818909, -0.04504432901740074, 0.017328353598713875, -0.03864353895187378, 0.033328328281641006, -0.028352495282888412, 0.010587261989712715, 0.006537185981869698, -0.018470967188477516, 0.02460624650120735, 0.049577973783016205, 0.03786499798297882, 0.031903646886348724, -0.01495288871228695, -0.018658524379134178, 0.016628460958600044, -0.05900406464934349, -0.0347508005797863, -0.0028001198079437017, 0.00007061058568069711, -0.004870617762207985, 0.05652805417776108, 0.04682883247733116, -0.05483941361308098, -0.04778638109564781, 0.04435787722468376, 0.017436860129237175, 0.0034656506031751633, 0.0016855817520990968, 0.02018577791750431, 0.03334169089794159, 0.05223574861884117, -0.024804409593343735, -0.005145696457475424, -0.016474852338433266, -0.03217502310872078, 0.040693771094083786, -0.0025696137454360723, 0.03739846870303154, 0.016357021406292915, -0.026682335883378983, -0.029261521995067596, 0.07223809510469437, 0.022303203120827675, 0.027151314541697502, -0.0045960028655827045, -0.047699738293886185, 0.0319034717977047, 0.0002950945636257529, -0.03600157052278519, 0.016609329730272293, 0.014044229872524738, -0.026732327416539192, 0.06853991746902466, -0.0026627574115991592, 0.007691388949751854, 0.035783104598522186, 0.040842823684215546, -0.013253097422420979, 0.0696357786655426, -0.037885554134845734, 0.016478320583701134, 0.04777642339468002, -0.06551732867956161, -0.0020132395438849926, -0.032419655472040176, 0.054340723901987076, -0.07591837644577026, 0.035462189465761185, 0.04097441956400871, 0.006724819540977478, 0.019915644079446793, -0.04579263925552368, -0.047621119767427444, 0.01564011722803116, -0.05502486228942871, 0.07542791217565536, -0.004019932821393013, -0.05929882451891899, 0.061881981790065765, -0.004073285963386297, -0.06094414368271828, 0.04180879145860672, 0.032599758356809616, 0.0483570322394371, 0.030575314536690712, 0.05485685542225838, -0.07437718659639359, 0.0029398291371762753, -0.04755174741148949, 0.02703559584915638, -0.0457385778427124, -0.017222033813595772, 0.03463831543922424, -0.032343022525310516, -0.029972130432724953, 0.05882849916815758, -0.024187078699469566, -0.012282028794288635, 0.05172901600599289, -0.04618636891245842, -0.04288187250494957, 0.008899030275642872, 0.0162653848528862, -0.029018642380833626, 0.009925958700478077, -0.050488632172346115, 0.01300954632461071, -0.008300649002194405, -0.0017431239830330014, -0.014204193837940693, -0.0075664762407541275, 0.020584896206855774, -0.04548345506191254, -0.043914295732975006, 0.03693568333983421, -0.0028543088119477034, -0.018544906750321388, 0.03400714322924614, 0.01355209480971098, 0.010758563876152039, 0.015524361282587051, -0.0035392213612794876, 0.01458886917680502, -0.033318888396024704, -0.018110841512680054, 0.015660498291254044, 0.010167577303946018, 0.03596791997551918, 0.0011667180806398392, 0.04566935449838638, 0.0204172283411026, 0.03623740375041962, -0.027995534241199493, -0.03582550957798958, -0.04852123558521271, 0.02395271509885788, -0.039248693734407425, 0.018129881471395493, -0.008143420331180096, -0.039755452424287796, -0.041581761091947556, 0.006184587255120277, -0.05321652814745903, 0.0343138612806797, -0.07022500783205032, 0.024477072060108185, 0.03155556693673134, -0.012286006473004818, -0.07258418947458267, -0.10417307168245316, -0.006453565787523985, -0.046301353722810745, 0.006942340172827244, 0.03407002240419388, -0.029458237811923027, 0.04116876423358917, -0.039763011038303375, -0.04700833186507225, 0.04840213432908058, 0.022717004641890526, -0.0618097148835659, 0.04403503239154816, 0.05665015056729317, -0.03954688459634781, 0.01047236192971468, 0.02443424053490162, -0.05666190758347511, -0.0022699518594890833, 0.015539775602519512, 0.010795212350785732, 0.02045513316988945, 0.02757585048675537, -0.0385868214070797, -0.03045194409787655, -0.08171115815639496, -0.02516937255859375, -0.045425742864608765, 0.021422434598207474, 0.06233372166752815 ]
BigSalmon/GPTNeo350MInformalToFormalLincoln4
[ "pytorch", "gpt_neo", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
2022-01-12T21:04:08Z
--- license: apache-2.0 tags: - generated_from_trainer model-index: - name: youtube-bert 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. --> # youtube-bert 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: 2.4771 ## 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 | |:-------------:|:-----:|:----:|:---------------:| | 2.691 | 1.0 | 1077 | 2.5445 | | 2.5768 | 2.0 | 2154 | 2.5226 | | 2.5227 | 3.0 | 3231 | 2.5027 | ### Framework versions - Transformers 4.15.0 - Pytorch 1.10.0+cu113 - Datasets 1.17.0 - Tokenizers 0.10.3
[ -0.033998023718595505, -0.004336878191679716, -0.02070809341967106, 0.036399081349372864, 0.04429233819246292, 0.02680148556828499, -0.012655345723032951, -0.029211953282356262, -0.030064359307289124, 0.06216227635741234, 0.023337265476584435, -0.024349534884095192, 0.0121027622371912, 0.03916417062282562, -0.03937920555472374, -0.03702089563012123, -0.009956557303667068, -0.000040359958802582696, -0.043813060969114304, 0.013010547496378422, -0.011143513023853302, 0.025934522971510887, 0.010319504886865616, 0.01974412426352501, 0.012639546766877174, 0.011195605620741844, -0.010891314595937729, 0.015178362838923931, 0.023957010358572006, -0.05684906616806984, -0.0027963074389845133, -0.03512208163738251, -0.04938945174217224, -0.027343105524778366, -0.007839164696633816, -0.030654462054371834, 0.0095400121062994, 0.019291317090392113, 0.037237461656332016, 0.04093923047184944, -0.00861714594066143, 0.03674953058362007, 0.004280871246010065, -0.0360998772084713, 0.03710769861936569, 0.007892617024481297, -0.03664886951446533, 0.0015464428579434752, 0.050574157387018204, -0.02893107384443283, -0.06011439487338066, -0.054931510239839554, -0.022899705916643143, 0.020154085010290146, -0.029942341148853302, -0.013812460005283356, -0.04762272164225578, -0.017427682876586914, 0.0792570561170578, -0.038632165640592575, -0.03416350483894348, 0.003750673495233059, -0.06337285786867142, 0.011263353750109673, 0.030722903087735176, -0.049694281071424484, 0.023615604266524315, -0.04662591218948364, 0.045875243842601776, -0.03360526263713837, 0.05832022801041603, -0.04187784343957901, 0.006037114188075066, -0.09420162439346313, -0.0032459613867104053, -0.016267389059066772, 0.03728920966386795, 0.06629477441310883, -0.030179770663380623, 0.049229346215724945, 0.008536417968571186, -0.0012770859757438302, 0.0511186420917511, -0.027389364317059517, 0.0064471568912267685, 0.03485988453030586, -0.023630701005458832, 0.004768194630742073, 0.022292256355285645, 0.0410563088953495, -0.041123613715171814, -0.029708588495850563, -0.03909967467188835, -0.02931455709040165, -0.02623916044831276, 0.029418226331472397, 0.010804278776049614, -0.0023710126988589764, 0.024858400225639343, 0.012565609067678452, 0.027080019935965538, 0.04754197970032692, 0.009317726828157902, 0.09072788804769516, 0.004589669872075319, -0.019381530582904816, 0.010068829171359539, -0.016612298786640167, -0.032874464988708496, 0.030464010313153267, 0.034536994993686676, -0.013436471112072468, -0.024887438863515854, 0.04232991486787796, -0.007283523678779602, -0.00112217350397259, 0.05668638274073601, -0.02934238873422146, -0.05893092229962349, -0.02958507463335991, 0.037994690239429474, -0.002288965042680502, 0.02115876041352749, 0.003919859882444143, -0.025895802304148674, -0.017130952328443527, -0.022821515798568726, -0.04846199229359627, -0.002752570202574134, 0.02525840885937214, 0.02570057287812233, 0.06875582784414291, 0.02048463560640812, -0.04924756661057472, -0.022751346230506897, 0.014058311469852924, -0.03574493154883385, 0.0508798249065876, 0.0013138034846633673, 0.09722789376974106, -0.06684933602809906, -0.08853907138109207, 0.008332613855600357, 0.008937228471040726, -0.03968021273612976, 0.007433803286403418, 0.015855979174375534, -0.03764861077070236, -0.0174269862473011, 0.007877960801124573, 0.04693462327122688, -0.03375130519270897, -0.032817963510751724, 0.05274473503232002, -0.00964982807636261, 0.03702692314982414, -0.05599039047956467, 0.0038812377024441957, 0.020829886198043823, -0.01667552813887596, -0.04768601059913635, 0.03377947583794594, -0.033028073608875275, -0.020476341247558594, -0.01473002228885889, -0.019247671589255333, 0.002522859489545226, 0.0760432556271553, -0.0051104347221553326, -0.02328823320567608, -0.025558490306138992, 0.02972349338233471, 0.04821324348449707, 0.03345564752817154, -0.040143970400094986, 0.05473020300269127, 0.06360017508268356, 0.03564763814210892, -0.030461540445685387, 0.047756634652614594, 0.02127951569855213, -0.03146088495850563, -0.023287996649742126, 0.028009306639432907, 0.015632279217243195, -0.050775233656167984, 0.05182816833257675, 0.021308232098817825, 0.006863811518996954, -0.05528842657804489, -0.0403158962726593, 0.04535968601703644, -0.0008549643098376691, -0.005156964994966984, 0.016581524163484573, -0.0062265400774776936, -0.02902137115597725, 0.052942436188459396, -0.0288072656840086, -0.002343623898923397, -0.035342738032341, -0.021666644141077995, 0.005870603024959564, -0.00039325683610513806, 0.011660657823085785, 0.04116901382803917, -0.007984618656337261, 0.07268855720758438, -0.03479943796992302, 0.03313293308019638, -0.040657706558704376, -0.036191098392009735, 0.008547181263566017, 0.08215924352407455, 0.053247518837451935, 0.04851511865854263, 0.014964334666728973, -0.04974006488919258, 0.026637237519025803, 0.0530075766146183, 0.047876544296741486, 0.010065659880638123, -0.022080957889556885, -0.02594786137342453, 0.04539068788290024, 0.07167326658964157, -0.06318654865026474, -0.033101536333560944, 0.004992966074496508, 0.04956963658332825, 0.00036382206599228084, 0.010307556949555874, -0.021901877596974373, 0.03600349649786949, -0.029429664835333824, -0.04865723475813866, 0.052392348647117615, 0.029049472883343697, -0.015164061449468136, 0.022036371752619743, 0.003973967395722866, 0.012966763228178024, 0.0011792805744335055, 0.01623261347413063, 0.01664307527244091, -0.03692524507641792, 0.01978827826678753, 0.014378400519490242, 0.03217792138457298, -0.05721692368388176, 0.04034929350018501, -0.036156777292490005, 0.008278300054371357, 0.02923867106437683, -0.04592836648225784, 0.03590523824095726, 0.04260392487049103, 0.030580520629882812, -0.04278858006000519, 0.02551533281803131, 0.03442579135298729, 0.046550340950489044, 0.026683513075113297, -0.004622501786798239, 0.060376230627298355, 0.02025088109076023, 0.051367685198783875, 0.07459882646799088, 0.03916677460074425, 0.04801907762885094, 0.014758831821382046, 0.07378842681646347, 0.03052809275686741, -0.009262199513614178, 0.050545185804367065, -0.032876692712306976, 0.01954537443816662, -0.04335745424032211, -0.006587856449186802, -0.020918793976306915, -0.0259746965020895, 0.029444171115756035, 0.019881844520568848, 0.0013119790237396955, -0.007157967891544104, 0.008122717030346394, -0.016322460025548935, 0.02684207260608673, 0.019622452557086945, -0.006413441151380539, -0.006457591895014048, -0.014497620984911919, -0.014000902883708477, -0.07701916992664337, -0.029675325378775597, -0.017238521948456764, -0.023485694080591202, 0.007503702770918608, -0.09450976550579071, -0.02272838167846203, -0.09075634181499481, -0.015056747943162918, 0.03488181531429291, -0.001988115953281522, -0.0037906260695308447, -0.04908748343586922, 0.015015850774943829, -0.046292200684547424, -0.019586117938160896, -0.0572362057864666, -0.03897916525602341, -0.04894831031560898, -0.09023217856884003, 0.030579829588532448, 0.030209079384803772, 0.005049100611358881, 0.0036988332867622375, 0.012875606305897236, -0.026467643678188324, -0.03141053766012192, 0.048862289637327194, 0.041547782719135284, -0.03035873919725418, -0.05835752561688423, 0.02713755890727043, -0.017847342416644096, 0.019237952306866646, 0.019319036975502968, -0.03203892335295677, 0.09524503350257874, 0.05173388123512268, 0.004142950288951397, 0.03278746455907822, -0.026123344898223877, -0.047597091645002365, -0.05472956597805023, -0.01891718991100788, -0.06079010292887688, -0.021138327196240425, -0.04357463866472244, -0.04669896140694618, -0.033381566405296326, -0.011089818552136421, 0.011159424670040607, -0.00900309719145298, 0.014618863351643085, 0.007152583450078964, 0.035218704491853714, 0.014673920348286629, 0.03246935084462166, -0.04123581573367119, -0.043335385620594025, 0.07035954296588898, -0.00505804130807519, -0.008168687112629414, -0.09001240134239197, 0.010635212995111942, 0.04040970653295517, -0.007624225225299597, 0.006157016847282648, 0.018452780321240425, 0.08375333249568939, -0.020257318392395973, -0.002821508329361677, 0.024692468345165253, -0.015120076946914196, -0.01752687618136406, -0.027625519782304764, 0.005086399614810944, 0.00035008075064979494, -0.04506077617406845, -0.023399047553539276, -0.015314511023461819, 0.05624259635806084, -0.05507676303386688, -0.039240945130586624, -0.015675866976380348, 0.02977023832499981, 0.03991906717419624, -0.008946317248046398, -0.04755421727895737, -0.019493062049150467, -0.09185830503702164, -0.010465200990438461, 0.047124143689870834, -0.018275579437613487, 0.029457328841090202, 0.0411650612950325, 0.01856357231736183, -0.00889261718839407, 0.040026579052209854, 0.04122895374894142, 0.06951289623975754, 0.007127836812287569, -0.08715158700942993, 0.005980066489428282, -0.014484113082289696, 0.013323982246220112, -0.0069092572666704655, -0.016120368614792824, -0.033077891916036606, -0.10071028023958206, -0.0040656086057424545, 0.007880086079239845, -0.006671123672276735, -0.023051893338561058, 0.05508773773908615, 0.0017831047298386693, -0.015925055369734764, -0.0031699854880571365, 0.01144908182322979, 0.03451802209019661, -0.03785908594727516, 0.06399749219417572, -0.008157731965184212, 0.04567408189177513, -0.04016778990626335, 0.016353627666831017, -0.03945719078183174, -0.02417546696960926, -0.005531650502234697, 0.047705717384815216, 0.007416638545691967, 0.051315877586603165, 0.09193132817745209, 0.025185424834489822, -0.046012137085199356, 0.021673934534192085, 0.052892547100782394, -0.02639855071902275, -0.050500255078077316, -0.0008061259868554771, -0.015193541534245014, -0.02249661087989807, -0.005302170757204294, -0.013783331960439682, 0.057531923055648804, 0.041635219007730484, -0.005275685805827379, 0.029609210789203644, 0.015010162256658077, -0.00801315438002348, -0.03458714857697487, -0.05935158580541611, -0.0355212427675724, 0.006659243255853653, -0.023946603760123253, 0.0032922120299190283, 0.02520924061536789, 0.01087464764714241, 0.0430787168443203, 0.043400611728429794, -0.035240788012742996, -0.025124792009592056, 0.0319347083568573, 0.013594667427241802, -0.030704397708177567, -0.08373579382896423, -0.024344565346837044, 0.0405125617980957, 0.036557428538799286, -0.03254469856619835, -0.06528400629758835, 0.001647388213314116, 0.05605209246277809, -0.04872588813304901, 0.046794235706329346, -0.012798195704817772, 0.05300317332148552, 0.065342977643013, -0.01459343358874321, 0.04965830594301224, -0.02032426930963993, -0.006893462967127562, 0.008964058943092823, 0.015401612035930157, -0.026822220534086227, -0.044929139316082, -0.05954413861036301, 0.0006737327203154564, 0.060333073139190674, 0.037066418677568436, 0.025097282603383064, -0.007960163056850433, -0.030694017186760902, -0.02021828107535839, 0.03888446465134621, -0.040744900703430176, -0.005735908169299364, 0.03418288379907608, 0.020208580419421196, -0.04779910668730736, -0.05200758948922157, -0.019742535427212715, -0.025584472343325615, 0.033616553992033005, 0.018608303740620613, -0.031997207552194595, -0.03675588220357895, 0.02700054459273815, -0.01235631201416254, -0.03559652715921402, -0.06941261142492294, 0.04258725792169571, -0.014440059661865234, -0.00810468290001154, 0.038932669907808304, 0.031227389350533485, 0.0224381685256958, 0.04550738260149956, 0.022428229451179504, -0.00173652870580554, -0.03556956350803375, 0.03944069519639015, -0.013147812336683273, -0.03799170255661011, 0.004728013649582863, -0.03399568423628807, -0.007567277178168297, -0.023119965568184853, -0.043881215155124664, -0.02788432314991951, -0.03272567316889763, 0.015280394814908504, -0.012186018750071526, -0.013279004953801632, -0.015046746470034122, 0.02812347188591957, -0.042860984802246094, -0.036067571491003036, -0.022906189784407616, -0.040704209357500076, -0.052526623010635376, -0.05258671194314957, 0.0032241209410130978, 0.01452752947807312, 0.031399574130773544, 0.040900249034166336, 0.04723774641752243, 0.009972388856112957, 0.005647104699164629, -0.029276970773935318, 0.012063507921993732, -0.013765147887170315, -0.044413626194000244, -0.012112132273614407, 0.038329362869262695, 0.01934085227549076, 0.028805354610085487, -0.027902893722057343, 0.03456275165081024, 0.029753247275948524, -0.004817018285393715, -0.024917151778936386, 0.016698064282536507, 0.004077565856277943, -0.06435169279575348, -0.01370088942348957, -0.010898424312472343, -0.037655916064977646, 0.02784639224410057, -0.03500833734869957, -0.02300718054175377, 0.01921783946454525, 0.023626994341611862, 0.04182498902082443, -0.008948324248194695, -0.008644144050776958, 0.031527478247880936, -0.02544897422194481, 0.01956506073474884, -0.06181454285979271, 0.05617547035217285, -0.04104817286133766, 0.018149839714169502, -0.016862211748957634, 0.01463176216930151, -0.05323898792266846, 0.052541010081768036, -0.014178792014718056, 0.00563067477196455, -0.00968370120972395, 0.048069942742586136, -0.01751449704170227, 0.018311062827706337, -0.005068889819085598, 0.037382371723651886, -0.029115337878465652, 0.0552019402384758, -0.04298325628042221, 0.017705228179693222, -0.04131428897380829, 0.023213807493448257, -0.02290409803390503, -0.0014061032561585307, 0.00008566174801671878, -0.023720229044556618, 0.026384489610791206, 0.05213620141148567, 0.045493561774492264, 0.030106432735919952, -0.02709360234439373, 0.001015915535390377, 0.018560785800218582, -0.03294600918889046, -0.04373706877231598, -0.012512424029409885, 0.002899814397096634, -0.0029036113992333412, 0.04855252429842949, 0.04723575711250305, -0.0601588636636734, -0.05554252117872238, 0.05628177151083946, 0.015744104981422424, 0.015896013006567955, 0.011756227351725101, 0.028779329732060432, 0.010661555454134941, 0.053768835961818695, -0.027904760092496872, -0.013428615406155586, -0.016244322061538696, -0.03327026590704918, 0.03867444396018982, -0.023447711020708084, 0.031819943338632584, 0.006882795132696629, -0.05085776001214981, -0.024742456153035164, 0.05041290074586868, 0.0490015372633934, 0.026716871187090874, -0.00014811402070336044, -0.03746751323342323, 0.038381487131118774, 0.006509475409984589, -0.037110451608896255, 0.028742395341396332, 0.027881503105163574, -0.02163265459239483, 0.05450008064508438, -0.003256818512454629, 0.01663307473063469, 0.04519163817167282, 0.03200342878699303, -0.0000011419379006838426, 0.0581546314060688, -0.05293389782309532, 0.013527488335967064, 0.050476886332035065, -0.06461665779352188, -0.002275910461321473, -0.031624872237443924, 0.07104887068271637, -0.07361633330583572, 0.04220106452703476, 0.05246767774224281, -0.007997307926416397, 0.0030156048014760017, -0.05641770362854004, -0.0632379949092865, 0.02752753719687462, -0.05292794108390808, 0.0649178996682167, 0.014776651747524738, -0.052696432918310165, 0.042239200323820114, 0.00467317458242178, -0.07721783965826035, 0.03404216468334198, 0.046487368643283844, 0.05022458732128143, 0.0161000844091177, 0.045947182923555374, -0.05627274140715599, 0.016577061265707016, -0.05646434798836708, 0.024278873577713966, -0.04006754606962204, -0.026388809084892273, 0.02710920386016369, -0.027443064376711845, -0.027727043256163597, 0.034301772713661194, -0.028220750391483307, -0.012307386845350266, 0.0492880716919899, -0.04100300371646881, -0.04168285056948662, 0.00013786504860036075, 0.01576145552098751, -0.004001660272479057, 0.011444170027971268, -0.02806837670505047, 0.018959101289510727, -0.005513389129191637, -0.001463918830268085, -0.023193780332803726, 0.0053214095532894135, 0.01656678505241871, -0.05025677755475044, -0.04964899271726608, 0.036323122680187225, -0.010014516301453114, -0.03376181051135063, 0.036651745438575745, 0.016667669638991356, 0.025362852960824966, 0.015469366684556007, 0.010525217279791832, 0.013369536027312279, -0.016644859686493874, -0.030652690678834915, 0.019987719133496284, 0.011596621945500374, 0.037485964596271515, -0.01085498183965683, 0.045041460543870926, 0.027662595734000206, 0.024716820567846298, -0.017130408436059952, -0.02913614921271801, -0.042158689349889755, 0.013357197865843773, -0.028291096910834312, 0.009233643300831318, 0.012754186056554317, -0.042160503566265106, -0.06094695255160332, -0.0027169957756996155, -0.035998500883579254, 0.04147740826010704, -0.06805775314569473, 0.0201161690056324, 0.0013183187693357468, -0.02544626221060753, -0.04851017892360687, -0.0962875559926033, -0.022931044921278954, -0.04247886314988136, 0.016472846269607544, 0.03253006562590599, -0.03875599801540375, 0.03102947771549225, -0.03368818014860153, -0.04801298305392265, 0.05808617174625397, 0.03801682963967323, -0.0753193125128746, 0.036129046231508255, 0.0550161637365818, -0.033824555575847626, 0.020036868751049042, 0.012676902115345001, -0.04739692807197571, 0.007720058783888817, 0.01954999752342701, 0.017621399834752083, 0.032375115901231766, 0.01825559139251709, -0.06499961018562317, -0.03263939544558525, -0.0784100890159607, -0.018030406907200813, -0.05071262642741203, -0.0014294254360720515, 0.04163108021020889 ]
BigSalmon/GPTT
[ "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 } } }
9
null
# Cheapity3 🐷 GPT-like T5 model trained to generate text in multiple languages. ## Motivation - GPT models are expensive to run. - GPT models are monolingual. ## Solution - Maybe, Small Models aren't Terrible (*SMarT*) - Plus, they are cheaper to run. I fine-tuned T5 on multiple languages (🇬🇧 English, 🇩🇪 German, 🇫🇷 French) and multiple academic text snippets from various domains like tech, law, finance and science etc. to generate text, just like GPT models do. ## Usage - [NLPlayStore](https://github.com/flexudy/NLPlayStore) 👈 ```python from store.service_management import ServiceManager service_manager = ServiceManager().get_service("cheapity3") service.install() service = service.launch() input_text = "The mechanical engineering field requires ... " generated_texts = service.play(input_text, 15) # A list a generated text ``` ## Usage - Hugging Face Transformers 🤗 - Provide some text e.g `"Italy, officially the Italian Republic is a country consisting of"` - Tell Cheapity3 how many words you want to generate e.g `15` -- 😃 Yes, you can control the length. - Cheapity3 reads your text and generates a continuation containing approximately 15 words. ```python from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("flexudy/cheapity3") model = AutoModelWithLMHead.from_pretrained("flexudy/cheapity3") input_text = """The mechanical engineering field requires an understanding of core areas including mechanics, dynamics, thermodynamics, materials science, structural analysis, and electricity. { _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ }""" # 15 words inputs = tokenizer(input_text, return_tensors="pt", truncation=True, max_length=512) input_ids = inputs["input_ids"] attention_mask = inputs["attention_mask"] outputs = model.generate( input_ids=input_ids, attention_mask=attention_mask, max_length=128, do_sample=True, early_stopping=True, num_return_sequences=4, repetition_penalty=2.5 ) for i in range(4): print(tokenizer.decode(outputs[i], skip_special_tokens=True, clean_up_tokenization_spaces=True)) ``` **INPUT: The mechanical engineering field requires an understanding of core areas including mechanics, dynamics, thermodynamics, materials science, structural analysis, and electricity.** ``` > Cheapity3 continues with beam search: ... The field of mechanical engineering is a broad field that includes many core areas of engineering. > Cheapity3 continues with sampling and top_k=50: ... Developing the knowledge base for these core areas will enable engineers to build their capabilities rapidly and efficiently. ... ... The field of mechanics offers a variety and broad range for applications throughout the engineering/technological fields. ... ... Mechanics generally is not understood by students. While they can be employed in the field, mechanical engineering ... ... Introduction to mechanical engineering and core fields including chemical products, materials science, structural analysis, and geomatics ... ``` ## Pretty decent right? Hence, whenever you feel like GPT3 is too expensive, Cheapity3 comes to the rescue 🤗. ## Model Training FYI - T5-base model - Trained on ONLY 1M sentences from English, French and German text - Mostly text from Wikipedia, arxiv and QA datasets - Learning rate: 0.00003 - 2 epochs - Max input: 512 tokens - Max output: 128 tokens
[ 0.0015824252041056752, -0.016917377710342407, 0.004770676139742136, 0.02470129169523716, 0.04393769055604935, 0.04037072882056236, -0.00515856733545661, -0.004852622281759977, -0.044965337961912155, 0.05433196201920509, 0.011424623429775238, -0.005307501647621393, 0.010785587131977081, 0.03461978957056999, -0.03220945596694946, -0.01679362915456295, -0.01614997908473015, -0.02595304697751999, -0.03844546899199486, -0.02074621617794037, -0.010599151253700256, 0.011648867279291153, -0.020641859620809555, -0.02508774772286415, -0.03919132798910141, 0.024669459089636803, -0.003937608562409878, 0.030107563361525536, 0.022930003702640533, -0.10238315910100937, 0.024266669526696205, -0.03409375250339508, -0.017287246882915497, -0.022343069314956665, -0.029183436185121536, -0.007472343742847443, 0.009565352462232113, -0.009152722544968128, 0.024631593376398087, 0.05771508812904358, 0.002939921570941806, 0.007793364580720663, -0.0182172954082489, -0.027633318677544594, 0.027454940602183342, 0.00988029595464468, -0.057739000767469406, -0.009500664658844471, 0.0405024029314518, -0.016206329688429832, -0.030982865020632744, -0.08132623136043549, -0.013418165035545826, 0.025347333401441574, -0.024301748722791672, -0.04028376564383507, -0.07646925747394562, -0.005233437288552523, 0.062447335571050644, -0.0365150049328804, -0.03442155197262764, 0.024215638637542725, -0.05888219177722931, 0.02313268557190895, 0.038882091641426086, -0.03715652972459793, -0.013901842758059502, -0.020252754911780357, 0.014489380642771721, -0.03146948292851448, 0.04166776314377785, -0.03395427390933037, 0.02515324018895626, -0.0983261838555336, 0.0011157029075548053, -0.028373774141073227, 0.0185014046728611, 0.03520974516868591, -0.05387412756681442, 0.0351649634540081, 0.025721430778503418, 0.0008630231604911387, 0.029896965250372887, -0.00960447359830141, -0.057268958538770676, 0.03826168552041054, -0.020115820690989494, -0.013827385380864143, 0.005374309606850147, 0.06348465383052826, -0.019840657711029053, -0.03671938180923462, -0.013902365230023861, -0.05031580850481987, -0.0025294406805187464, 0.025901993736624718, 0.04007913917303085, -0.00960958655923605, 0.03514500707387924, 0.02289305254817009, 0.022744890302419662, 0.052331436425447464, -0.0014901439426466823, 0.06919469684362411, -0.0010775147238746285, 0.0017725704237818718, -0.010303414426743984, -0.028996311128139496, -0.027067091315984726, 0.048599861562252045, 0.003267809981480241, -0.03085016831755638, -0.06030724570155144, 0.047414910048246384, 0.022061437368392944, -0.019166523590683937, 0.03292619064450264, -0.05444049462676048, -0.03625559061765671, -0.08407701551914215, 0.038620300590991974, 0.013505246490240097, 0.007177241612225771, 0.010838856920599937, -0.0517575740814209, 0.03936479240655899, -0.030764462426304817, -0.018483182415366173, -0.026817718520760536, 0.02606532722711563, -0.025749513879418373, 0.0489826574921608, 0.02170109935104847, -0.04201315715909004, 0.01643175072968006, -0.01134974043816328, -0.046307522803545, 0.06770449131727219, 0.05652301013469696, 0.12436601519584656, -0.05980607867240906, -0.03515440598130226, 0.029859278351068497, 0.025389278307557106, -0.031286340206861496, 0.004158427938818932, 0.00485293148085475, -0.05877409875392914, -0.010147137567400932, 0.01846446841955185, 0.06576710194349289, -0.026585940271615982, 0.006788610480725765, 0.04055773466825485, 0.005644781980663538, 0.013423428870737553, -0.04528159275650978, -0.004350648261606693, 0.0022518038749694824, -0.01430033054202795, -0.027601437643170357, 0.035576459020376205, -0.006085583474487066, -0.03479519486427307, -0.044283296912908554, -0.054049763828516006, 0.0166491512209177, 0.07720762491226196, -0.015869388356804848, -0.027955254539847374, -0.01139799039810896, 0.02078624814748764, 0.029948312789201736, 0.02879081852734089, -0.013072448782622814, 0.03367822617292404, 0.04636850208044052, 0.04465511068701744, -0.013494388200342655, 0.06377620249986649, 0.019229387864470482, -0.03238409012556076, -0.026739200577139854, 0.013862949796020985, 0.0042250133119523525, -0.030990293249487877, 0.04358815401792526, 0.028605680912733078, -0.005812817253172398, -0.026811176910996437, -0.01321304589509964, 0.0307946614921093, -0.003911804407835007, 0.0049648708663880825, 0.0032787995878607035, -0.019532762467861176, -0.016985228285193443, 0.06738204509019852, -0.007937331683933735, 0.011331536807119846, -0.0406966432929039, -0.04894284904003143, 0.026224493980407715, 0.028340725228190422, 0.045376867055892944, 0.056075990200042725, -0.0019233543425798416, 0.08178338408470154, -0.032410167157649994, 0.009782642126083374, -0.060826145112514496, -0.04946508631110191, 0.030560273677110672, 0.05977775529026985, 0.025549007579684258, 0.04853307455778122, -0.002211434068158269, -0.03000701777637005, 0.005782460328191519, 0.04908338189125061, 0.06695486605167389, 0.010103544220328331, -0.031286559998989105, 0.0017140553100034595, 0.0362858772277832, 0.06828244030475616, -0.05530306696891785, -0.06156119331717491, 0.023041749373078346, 0.04370519146323204, -0.026103846728801727, 0.010022690519690514, -0.014063464477658272, 0.010932700708508492, -0.03942909836769104, -0.05189352482557297, 0.0373753197491169, 0.017159482464194298, 0.030951207503676414, 0.01725524105131626, -0.009821799583733082, 0.023709069937467575, 0.0349988229572773, -0.006126884836703539, -0.004253843333572149, -0.06580699980258942, 0.003104702802374959, 0.01162688434123993, 0.04047694802284241, -0.03733571246266365, 0.033120982348918915, -0.002482572104781866, 0.008358102291822433, 0.032054875046014786, -0.049954239279031754, 0.019173290580511093, 0.0388030931353569, 0.023730427026748657, -0.032907884567976, 0.019384050741791725, -0.0007305429317057133, 0.03605469688773155, 0.05632334202528, -0.016463784500956535, 0.06369774043560028, 0.0012841937132179737, 0.04275709018111229, 0.11005149781703949, 0.033729393035173416, -0.010926480405032635, 0.03990107402205467, 0.06635063141584396, 0.0009307840373367071, 0.0075357635505497456, 0.040328800678253174, -0.05971524119377136, 0.01840091310441494, -0.02608955278992653, 0.030492685735225677, -0.0008571954094804823, -0.002518458990380168, 0.027558179572224617, 0.017940977588295937, -0.019002001732587814, 0.024406734853982925, -0.02481810748577118, -0.008005986921489239, 0.012099042534828186, -0.01822352409362793, 0.010193709284067154, -0.011098306626081467, -0.04502939432859421, 0.03347678855061531, -0.08034010231494904, -0.039857715368270874, -0.025756336748600006, -0.02998470701277256, 0.006325844209641218, -0.0871242880821228, -0.028048615902662277, -0.07629156112670898, -0.004730265121906996, 0.048339128494262695, 0.01849988102912903, 0.002954652300104499, -0.07694831490516663, 0.020504694432020187, -0.05809738487005234, -0.046930380165576935, -0.05934329330921173, -0.043732427060604095, -0.02590882033109665, -0.06419160217046738, 0.03414508327841759, 0.023358268663287163, 0.022926608100533485, -0.002138448879122734, 0.016854094341397285, -0.032408975064754486, -0.01399619784206152, 0.02518949843943119, 0.032061867415905, -0.006502231117337942, -0.04423400014638901, 0.011700884439051151, -0.01988077536225319, -0.0026711723767220974, -0.0032642651349306107, -0.033919353038072586, 0.08550644665956497, 0.08601491153240204, -0.0037749989423900843, 0.0197363942861557, -0.015337442979216576, -0.0694776326417923, -0.05869106575846672, -0.0059790657833218575, -0.036567796021699905, -0.014531824737787247, -0.015311063267290592, -0.047040149569511414, -0.03797692060470581, -0.03666471317410469, -0.0018370954785495996, -0.006932096090167761, 0.02097450941801071, 0.024615926668047905, 0.05310758203268051, 0.048520125448703766, 0.029182683676481247, -0.045186419039964676, -0.007622012868523598, 0.06214660033583641, 0.0160349290817976, 0.015177975408732891, -0.09541474282741547, -0.04326023533940315, 0.023616282269358635, 0.034581784158945084, -0.009045912884175777, -0.015116472728550434, 0.07638385146856308, 0.02493235282599926, -0.007335778325796127, -0.0049571264535188675, -0.006804025266319513, -0.02189468778669834, -0.01711583137512207, 0.008179050870239735, -0.03674575313925743, -0.0399748831987381, -0.03426603227853775, 0.008703730069100857, 0.051365017890930176, -0.03989038243889809, -0.07823491841554642, -0.016670681536197662, 0.04818947985768318, 0.015605430118739605, 0.004285107832401991, -0.02612771838903427, -0.0003249052388127893, -0.06097656860947609, -0.032670650631189346, 0.023650893941521645, -0.00800859834998846, 0.009611912071704865, 0.04578322172164917, 0.030037693679332733, -0.014948224648833275, 0.0012227125698700547, 0.024712247774004936, 0.051265791058540344, 0.003628350095823407, -0.0053894659504294395, 0.03131749480962753, -0.03913673758506775, 0.03363722935318947, 0.007332456298172474, -0.029460448771715164, -0.05725330859422684, -0.10408366471529007, 0.0043499949388206005, -0.0032087406143546104, -0.026613274589180946, 0.0028874906711280346, 0.0633932501077652, -0.008710351772606373, -0.005940423812717199, -0.008850613608956337, 0.014080939814448357, 0.024376098066568375, -0.05571481212973595, 0.06403053551912308, 0.018166901543736458, 0.04520212858915329, -0.05002409964799881, 0.008460568264126778, -0.014930511824786663, -0.012293873354792595, -0.004795150365680456, 0.06977764517068863, 0.02161569707095623, 0.05823318660259247, 0.06968668103218079, 0.045586053282022476, -0.03143385052680969, 0.03295883163809776, 0.04563402384519577, -0.011950140818953514, -0.04228643700480461, -0.00544136855751276, -0.029557930305600166, -0.053845591843128204, 0.0005897250375710428, -0.03342738747596741, -0.004016779828816652, 0.02625170163810253, 0.01571398787200451, -0.025614436715841293, -0.009308288805186749, -0.02353016845881939, -0.04632338881492615, -0.07216193526983261, -0.030783748254179955, -0.016809042543172836, -0.0021225649397820234, 0.02366064488887787, 0.026255449280142784, 0.025813469663262367, 0.06638723611831665, 0.04474472627043724, -0.029322337359189987, -0.04533752426505089, 0.04238050431013107, 0.055040597915649414, -0.04144631326198578, -0.05533747747540474, -0.03347417712211609, 0.039480168372392654, 0.05201530084013939, -0.0015196871245279908, -0.10153957456350327, 0.016875561326742172, 0.06191949546337128, -0.04029710218310356, 0.046748384833335876, -0.03010837733745575, 0.042370833456516266, 0.05907069146633148, -0.0017116067465394735, 0.04018009454011917, -0.01262442022562027, 0.011073684319853783, 0.010891188867390156, 0.03764643520116806, -0.04114246740937233, -0.042747125029563904, -0.07034662365913391, 0.04900527372956276, 0.025503650307655334, 0.03513159975409508, 0.051269590854644775, -0.010844580829143524, -0.06679943203926086, 0.027615029364824295, 0.024425551295280457, -0.04088523983955383, 0.035819485783576965, 0.018694574013352394, 0.04785827547311783, -0.04769404977560043, -0.03530878201127052, -0.015434912405908108, -0.025425933301448822, 0.05800606682896614, -0.00042931362986564636, -0.01425691694021225, -0.04982013255357742, 0.0076056295074522495, -0.03899124637246132, -0.014082318171858788, -0.06744606792926788, 0.0233769491314888, -0.003644190961495042, -0.005085831042379141, 0.04112574830651283, 0.027729956433176994, 0.021257007494568825, 0.03293899819254875, -0.001190677285194397, 0.020324474200606346, -0.038371920585632324, 0.04130728170275688, -0.02901908941566944, 0.006252773571759462, -0.0010456027230247855, -0.04535669833421707, -0.000011393024578865152, -0.025238996371626854, -0.04846668988466263, -0.03426997363567352, -0.020479653030633926, 0.013577486388385296, 0.003335156012326479, 0.008605021983385086, -0.0071426378563046455, 0.02700868807733059, -0.036243997514247894, -0.024860305711627007, -0.038029272109270096, -0.021579813212156296, -0.05472707003355026, -0.04506036266684532, 0.029465535655617714, 0.026331475004553795, 0.03729363903403282, -0.021033847704529762, -0.0003973504644818604, 0.016428442671895027, 0.004816889297217131, -0.020467519760131836, 0.04743274301290512, -0.009114229120314121, -0.031668420881032944, -0.04513351246714592, -0.004440851975232363, 0.020910758525133133, 0.026458125561475754, -0.028644191101193428, 0.037353917956352234, 0.04308106377720833, -0.018337266519665718, -0.014038223773241043, 0.010580315254628658, 0.012291195802390575, -0.07550325989723206, -0.015562806278467178, -0.02568419650197029, -0.047419473528862, 0.030917370691895485, -0.009852110408246517, -0.02000167779624462, 0.017214955762028694, 0.012102381326258183, 0.027218692004680634, -0.02320355549454689, -0.02876926213502884, 0.023360220715403557, -0.01801067776978016, 0.013692415319383144, -0.05866546928882599, 0.027933161705732346, -0.018648875877261162, 0.01951567642390728, -0.017768213525414467, -0.018078209832310677, -0.009500398300588131, 0.05334225669503212, -0.003007655730471015, -0.017958594486117363, -0.004554545972496271, 0.015132807195186615, -0.018578708171844482, 0.0367237851023674, -0.013108883984386921, 0.019599635154008865, -0.005927422549575567, 0.04967903345823288, -0.027009759098291397, -0.009509451687335968, -0.01865166611969471, -0.0031569343991577625, -0.007425247225910425, -0.04187999665737152, -0.015916453674435616, -0.042739249765872955, 0.04201550781726837, 0.013600640930235386, 0.04212918505072594, 0.026485513895750046, -0.022390391677618027, 0.013954334892332554, -0.002128817141056061, -0.05184008553624153, -0.024450410157442093, -0.0037128948606550694, -0.0008030825410969555, -0.01138962060213089, 0.05157691612839699, 0.03283259645104408, -0.056944459676742554, -0.05055825039744377, 0.027347242459654808, 0.026179863139986992, 0.01592431217432022, -0.0019205171847715974, 0.02821059338748455, 0.005740529857575893, 0.022169524803757668, -0.05128876864910126, 0.005587553605437279, -0.012820297852158546, -0.030586590990424156, 0.029569439589977264, 0.013298979960381985, 0.027371721342206, 0.02096743881702423, -0.017455443739891052, -0.00555979972705245, 0.06896356493234634, 0.013690751977264881, 0.0085151307284832, 0.0028494077268987894, -0.036957718431949615, 0.034367624670267105, 0.0012728988658636808, -0.051270898431539536, 0.0014778685290366411, 0.019888706505298615, -0.02080509625375271, 0.06636825948953629, -0.0022562488447874784, 0.0037001469172537327, 0.06651007384061813, 0.0028327417094260454, -0.026424340903759003, 0.0288512222468853, -0.027951736003160477, 0.011556856334209442, 0.03869502618908882, -0.0638003721833229, -0.006737920921295881, -0.028716446831822395, 0.09680471569299698, -0.04555483162403107, 0.06629187613725662, 0.03202434629201889, 0.019145943224430084, 0.021948523819446564, -0.019210798665881157, -0.053036220371723175, 0.022848686203360558, -0.05508236214518547, 0.06684014201164246, 0.001956620253622532, -0.05772000551223755, 0.07944285869598389, 0.011610067449510098, -0.08106344193220139, 0.0539340116083622, 0.04304385185241699, 0.0437360443174839, 0.02595820464193821, 0.06338045746088028, -0.042842987924814224, -0.0028805644251406193, -0.01779523864388466, 0.029722601175308228, -0.02452724426984787, -0.014789368957281113, -0.0018550737295299768, -0.04690652713179588, -0.024627987295389175, 0.04592670872807503, 0.0013381423195824027, -0.014697344042360783, 0.04081088304519653, -0.04921998828649521, -0.02961564064025879, -0.005427052266895771, 0.012510566972196102, -0.040361762046813965, 0.02399146743118763, -0.03395712375640869, 0.03278429061174393, 0.011570273898541927, -0.01139486487954855, -0.030132411047816277, -0.008159804157912731, 0.019969642162322998, -0.05563116446137428, -0.032268326729536057, 0.057151611894369125, -0.004944227635860443, -0.019567836076021194, 0.03130940720438957, 0.0030695043969899416, 0.025798995047807693, 0.02203717827796936, -0.000424947589635849, 0.02674187533557415, -0.041219353675842285, -0.01507948711514473, 0.01490635797381401, 0.03392282873392105, 0.03444073349237442, -0.023814041167497635, 0.03056696243584156, 0.013402686454355717, 0.02082231640815735, 0.003090970916673541, -0.04936853051185608, -0.01719984970986843, 0.019261164590716362, -0.05227168649435043, 0.009075937792658806, 0.0198952816426754, -0.05306529253721237, -0.03214661031961441, -0.0273977629840374, -0.013525745831429958, 0.052658990025520325, -0.04507535696029663, 0.006285899318754673, 0.06869412213563919, 0.001773632480762899, -0.03663627430796623, -0.09591066092252731, -0.024618985131382942, -0.029094021767377853, 0.0231977179646492, 0.031752582639455795, -0.05504919961094856, 0.024279428645968437, -0.0629664734005928, -0.05378967523574829, 0.03935180976986885, 0.017768288031220436, -0.036915142089128494, 0.03161777928471565, 0.044182486832141876, -0.03258201479911804, 0.011564115062355995, 0.01616327092051506, -0.03472880646586418, 0.04506434500217438, 0.05007617920637131, 0.011805340647697449, 0.01389112789183855, 0.002168183447793126, -0.04084487631917, -0.025633228942751884, -0.06761481612920761, -0.050547897815704346, -0.02739400416612625, -0.009998994879424572, 0.07399028539657593 ]
BigSalmon/GoodMaskResults
[ "pytorch", "roberta", "fill-mask", "transformers", "autotrain_compatible" ]
fill-mask
{ "architectures": [ "RobertaForMaskedLM" ], "model_type": "roberta", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
2021-09-14T13:14:35Z
# Towards Neuro-Symbolic Language Understanding ![alt text](https://www.flexudy.com/wp-content/uploads/2021/09/conceptor.png "Flexudy's conceptor") At [Flexudy](https://flexudy.com), we look for ways to unify symbolic and sub-symbolic methods to improve model interpretation and inference. ## Problem 1. Word embeddings are awesome 🚀. However, no one really knows what an array of 768 numbers means? 2. Text/Token classification is also awesome ❤️‍. Still, classifying things into a finite set of concepts is rather limited. 3. Last but not least, how do I know that the word *cat* is a **mammal** and also an **animal** if my neural network is only trained to predict whether something is an animal or not? ## Solution 1. It would be cool if my neural network would just know that **cat** is an **animal** right? *∀x.Cat(x) ⇒ Animal(x)*. Or for example, (*∀x.SchöneBlumen(x) ⇒ Blumen(x)*) -- English meaning: For all x, If x is a beautiful flower, then x is still a flower. -- 2. All of a sudden, tasks like **Question Answering**, **Summarization**, **Named Entity Recognition** or even **Intent Classification** etc become easier right? Well, one might probably still need time to build a good and robust solution that is not as large as **GPT3**. Like [Peter Gärdenfors, author of conceptual spaces](https://www.goodreads.com/book/show/1877443.Conceptual_Spaces), we are trying to find ways to navigate between the symbolic and the sub-symbolic by thinking in concepts. Should such a solution exist, one could easily leverage true logical reasoning engines on natural language. How awesome would that be? 💡 ## Flexudy's Conceptor 1. We developed a poor man's implementation of the ideal solution described above. 2. Though it is a poor man's model, **it is still a useful one** 🤗. ### Usage No library should anyone suffer. Especially not if it is built on top of 🤗 **HF Transformers**. Go to the [Github repo](https://github.com/flexudy/natural-language-logic) `pip install git+https://github.com/flexudy/natural-language-logic.git@v0.0.1` ```python from flexudy.conceptor.start import FlexudyConceptInferenceMachineFactory # Load me only once concept_inference_machine = FlexudyConceptInferenceMachineFactory.get_concept_inference_machine() # A list of terms. terms = ["cat", "dog", "economics and sociology", "public company"] # If you don't pass the language, a language detector will attempt to predict it for you # If any error occurs, the language defaults to English. language = "en" # Predict concepts # You can also pass the batch_size=2 and the beam_size=4 concepts = concept_inference_machine.infer_concepts(terms, language=language) ``` Output: ```python {'cat': ['mammal', 'animal'], 'dog': ['hound', 'animal'], 'economics and sociology': ['both fields of study'], 'public company': ['company']} ``` ### How was it trained? 1. Using Google's T5-base and T5-small. Both models are released on the Hugging Face Hub. 2. T5-base was trained for only two epochs while T5-small was trained for 5 epochs. ## Where did you get the data? 1. I extracted and curated a fragment of [Conceptnet](https://conceptnet.io/) 2. In particular, only the IsA relation was used. 3. Note that one term can belong to multiple concepts (which is pretty cool if you think about [Fuzzy Description Logics](https://lat.inf.tu-dresden.de/~stefborg/Talks/QuantLAWorkshop2013.pdf)). Multiple inheritances however mean some terms belong to so many concepts. Hence, I decided to randomly throw away some due to the **maximum length limitation**. ### Setup 1. I finally allowed only `2` to `4` concepts at random for each term. This means, there is still great potential to make the models generalise better 🚀. 3. I used a total of `279884` training examples and `1260` for testing. Edges -- i.e `IsA(concept u, concept v)` -- in both sets are disjoint. 4. Trained for `15K` steps with learning rate linear decay during each step. Starting at `0.001` 5. Used `RAdam Optimiser` with weight_decay =`0.01` and batch_size =`36`. 6. Source and target max length were both `64`. ### Multilingual Models 1. The "conceptor" model is multilingual. English, German and French is supported. 2. [Conceptnet](https://conceptnet.io/) supports many languages, but I just chose those three because those are the ones I speak. ### Metrics for flexudy-conceptor-t5-base | Metric | Score | | ------------- |:-------------:| | Exact Match | 36.67 | | F1 | 43.08 | | Loss smooth | 1.214 | Unfortunately, we no longer have the metrics for flexudy-conceptor-t5-small. If I recall correctly, base was just slightly better on the test set (ca. `2%` F1). ## Why not just use the data if you have it structured already? Conceptnet is very large. Even if you just consider loading a fragment into your RAM, say with only 100K edges, this is still a large graph. Especially, if you think about how you will save the node embeddings efficiently for querying. If you prefer this approach, [Milvus](https://github.com/milvus-io/pymilvus) can be of great help. You can compute query embeddings and try to find the best match. From there (after matching), you can navigate through the graph at `100%` precision.
[ -0.03530983254313469, -0.013092489913105965, -0.020263219252228737, 0.007220444269478321, 0.03939880058169365, 0.03732934221625328, -0.02699601836502552, -0.005968897603452206, -0.011745951138436794, 0.024269530549645424, 0.03439774364233017, 0.01417864765971899, 0.0034719386603683233, 0.02266847901046276, -0.05214967578649521, -0.03917525336146355, -0.0010415413416922092, -0.0039680153131484985, -0.040416110306978226, -0.00329612847417593, -0.0023912908509373665, -0.007697951979935169, 0.013758859597146511, 0.02164522372186184, 0.01567973755300045, 0.022226842120289803, -0.004843322094529867, 0.032514456659555435, 0.039755020290613174, -0.04925931245088577, -0.0028578368946909904, -0.031655021011829376, -0.04866638034582138, -0.00007267040928127244, -0.018575254827737808, -0.018200475722551346, 0.008673600852489471, -0.005391101818531752, 0.01566149666905403, 0.08540406078100204, -0.015709180384874344, 0.006512765306979418, -0.021952761337161064, -0.027757929638028145, 0.029912196099758148, -0.0044569275341928005, -0.016551585868000984, -0.023684371262788773, 0.06926292926073074, -0.010991357266902924, -0.06290818005800247, -0.06452067941427231, -0.01176307164132595, 0.021600570529699326, -0.0024427389726042747, -0.021450931206345558, -0.05624174326658249, -0.014478088356554508, 0.06870118528604507, -0.051009561866521835, -0.02815452590584755, 0.01769285276532173, -0.058903202414512634, 0.022897597402334213, 0.03214482590556145, -0.026025941595435143, 0.010197718627750874, -0.034524980932474136, 0.015903610736131668, -0.04166647046804428, 0.048877835273742676, -0.033008623868227005, 0.020098976790905, -0.08369854837656021, 0.00126037432346493, -0.020843053236603737, 0.03126160800457001, 0.05137007310986519, -0.03787117823958397, 0.06319420784711838, 0.03887784853577614, 0.03193669766187668, 0.05028679594397545, 0.011981833726167679, -0.010732284747064114, 0.05897597596049309, -0.04030559957027435, 0.003702624700963497, 0.006612292490899563, 0.055357273668050766, -0.02841135300695896, -0.04709599167108536, 0.009318355470895767, -0.022829588502645493, -0.012099995277822018, 0.010943511500954628, 0.026961367577314377, 0.015907490625977516, 0.034152086824178696, 0.003702940186485648, 0.04060010612010956, 0.04917849972844124, -0.008754759095609188, 0.04614800587296486, -0.022144857794046402, -0.00673883268609643, 0.009670025669038296, -0.027340035885572433, -0.010740852914750576, 0.04143109172582626, 0.010016124695539474, -0.04507938772439957, -0.06633764505386353, 0.018776334822177887, -0.0019922778010368347, -0.05817734822630882, 0.027826573699712753, -0.01927999220788479, -0.050174422562122345, -0.04886454716324806, 0.043538834899663925, -0.006201260723173618, 0.0034479668829590082, -0.003153771860525012, -0.0776078999042511, 0.02376137673854828, -0.068155936896801, -0.0403977632522583, -0.04063258320093155, 0.011926142498850822, 0.010179441422224045, 0.0445876382291317, 0.03590629622340202, -0.027913736179471016, -0.00029418308986350894, 0.01787647046148777, -0.07424869388341904, 0.040637023746967316, 0.028525909408926964, 0.12717467546463013, -0.055645979940891266, -0.06706617772579193, 0.042072594165802, 0.025457631796598434, -0.02159019745886326, 0.012354987673461437, 0.02287783846259117, -0.047089383006095886, -0.04103972390294075, -0.0027273267041891813, 0.058522678911685944, -0.06578141450881958, 0.000009054740985448007, 0.024338379502296448, -0.000814965576864779, 0.0423542857170105, -0.06379172950983047, -0.031055808067321777, -0.0187834482640028, 0.01770048402249813, -0.02165847271680832, 0.04788978770375252, -0.033008988946676254, -0.03875220939517021, -0.04952967166900635, -0.027928898110985756, 0.010646925307810307, 0.06537484377622604, -0.0006523518823087215, -0.027210431173443794, -0.038085903972387314, 0.0015578712336719036, 0.02336602844297886, 0.05569639056921005, -0.0265177171677351, 0.03387069329619408, 0.07220157980918884, 0.052128054201602936, -0.02774641662836075, 0.08910664170980453, 0.007502085063606501, -0.0457521490752697, -0.026646394282579422, 0.010922946967184544, 0.021614547818899155, -0.03419739380478859, 0.005439754109829664, 0.03574074059724808, 0.015102218836545944, -0.01076151430606842, -0.019199179485440254, 0.0684480220079422, 0.012568647041916847, -0.011438856832683086, 0.009130564518272877, -0.0417306050658226, -0.01907178945839405, 0.0427592396736145, -0.04551483318209648, 0.003563407575711608, -0.03280005604028702, -0.020930560305714607, 0.010626121424138546, 0.01566610485315323, 0.027145927771925926, 0.01739359460771084, -0.007819395512342453, 0.1161736324429512, -0.011140666902065277, -0.006997454911470413, -0.08198711276054382, -0.045560289174318314, -0.0111932922154665, 0.03958841413259506, 0.020907944068312645, 0.029547424986958504, 0.00517778005450964, -0.02729060687124729, 0.02495373785495758, 0.07501637190580368, 0.04073834419250488, 0.008427407592535019, -0.03197230398654938, 0.01479947380721569, 0.03299733251333237, 0.05309722200036049, -0.0423760786652565, -0.020630547776818275, 0.04448824003338814, 0.029584521427750587, -0.031041637063026428, 0.005077466368675232, -0.030779872089624405, 0.024904649704694748, -0.021978724747896194, -0.06942085176706314, 0.01794946752488613, 0.015334952622652054, 0.008844319730997086, 0.017183339223265648, -0.003471869509667158, 0.008028036914765835, 0.026021212339401245, 0.005297644529491663, 0.021349240094423294, -0.062353022396564484, 0.01765512116253376, 0.00809695478528738, 0.0245758518576622, -0.021821487694978714, 0.04572310671210289, 0.02953953854739666, 0.03672141209244728, 0.04630555957555771, -0.0340777225792408, 0.05690313130617142, 0.07124685496091843, 0.0081159807741642, -0.03802333027124405, 0.03187767416238785, 0.008102677762508392, 0.03791384398937225, 0.08791106939315796, -0.0002639263402670622, 0.0579666793346405, -0.025638319551944733, 0.02487373910844326, 0.05947675183415413, 0.017335591837763786, 0.006035216618329287, 0.03366585820913315, 0.06100394204258919, -0.01850048452615738, -0.03397000581026077, 0.06288222223520279, -0.054741811007261276, 0.02110074833035469, -0.01542278379201889, -0.0040379599668085575, 0.009839610196650028, -0.014665446244180202, 0.04223410785198212, 0.015321893617510796, -0.031010031700134277, 0.03810321167111397, -0.0005874528433196247, -0.014341337606310844, 0.02731018327176571, -0.009458949789404869, 0.03916088864207268, -0.0231890007853508, -0.04083925113081932, 0.03395869955420494, -0.07100414484739304, -0.026375634595751762, -0.004666029941290617, -0.038270823657512665, 0.013248024508357048, -0.056494489312171936, -0.01044081524014473, -0.05065886676311493, -0.023847080767154694, 0.04976645112037659, 0.011993554420769215, 0.008466196246445179, -0.00953173078596592, 0.02551603689789772, -0.0478646345436573, -0.024633709341287613, -0.04303968325257301, -0.04216568544507027, -0.04274214059114456, -0.053105998784303665, 0.052205342799425125, 0.003644363721832633, 0.03604731336236, 0.006532709114253521, -0.01545760128647089, -0.04298083111643791, -0.006771345157176256, 0.024790624156594276, 0.044006701558828354, -0.033227354288101196, -0.029368851333856583, 0.03695181757211685, 0.019919361919164658, -0.005839440505951643, -0.03811498358845711, -0.025599021464586258, 0.0767594575881958, 0.09935999661684036, -0.000917762634344399, -0.013905342668294907, 0.0010660102125257254, -0.046669308096170425, -0.049973729997873306, -0.0376988910138607, -0.03050822578370571, 0.010536491870880127, -0.009044640697538853, -0.015533657744526863, -0.0017804886447265744, -0.034213654696941376, -0.0027053242083638906, -0.01727163791656494, 0.004890496842563152, 0.036617208272218704, 0.05246473103761673, 0.015857301652431488, 0.02255883440375328, -0.049616146832704544, -0.0011594498064368963, 0.03842765837907791, 0.013395600020885468, -0.007493267767131329, -0.06293845921754837, -0.03072315640747547, 0.012560316361486912, 0.03913718834519386, -0.014073607511818409, -0.0017300647450610995, 0.07433586567640305, -0.010999963618814945, -0.013568654656410217, 0.00326490867882967, -0.0041786194778978825, -0.03557455912232399, 0.0023017728235572577, 0.039345353841781616, -0.015324421226978302, -0.030569272115826607, -0.0010593936312943697, -0.024357745423913002, 0.03745398670434952, -0.04884763062000275, -0.06812407076358795, -0.014127315953373909, 0.04329917952418327, 0.022983426228165627, -0.005029574036598206, -0.02759607508778572, -0.001905252574943006, -0.025022514164447784, -0.022538425400853157, -0.00929066352546215, -0.021746885031461716, 0.02753012254834175, 0.05453672632575035, 0.017365876585245132, -0.030502453446388245, 0.03702789917588234, 0.02434506267309189, 0.032262325286865234, 0.03235134109854698, -0.0221233032643795, 0.03594554215669632, -0.04472684860229492, 0.0390736423432827, -0.0022370850201696157, -0.03292321413755417, -0.03727654367685318, -0.1001107320189476, 0.0058387648314237595, 0.004364234860986471, -0.04282991588115692, 0.020680954679846764, 0.0368119515478611, -0.013163935393095016, -0.01721305400133133, -0.01082979328930378, 0.005329171195626259, 0.04111500456929207, -0.05168992653489113, 0.06119975075125694, -0.004157374147325754, 0.03710681200027466, -0.05938677862286568, 0.010307901538908482, -0.05215051397681236, -0.04754049703478813, -0.026847537606954575, 0.052085284143686295, 0.03147286921739578, 0.05879739299416542, 0.08730115741491318, 0.003690338460728526, -0.0385739803314209, 0.07771235704421997, 0.0407496802508831, -0.0019710261840373278, -0.03580233082175255, 0.012964891269803047, -0.011368267238140106, -0.010432201437652111, -0.011161746457219124, -0.0280668493360281, -0.004821707960218191, 0.0334499254822731, 0.003418458392843604, -0.016760094091296196, 0.012722852639853954, -0.02605036459863186, -0.023373473435640335, -0.07339558005332947, -0.00562389986589551, 0.0008868594304658473, -0.036052703857421875, 0.03834536299109459, 0.016151800751686096, 0.018478600308299065, 0.07959543168544769, 0.05045318230986595, -0.010943153873085976, -0.07053462415933609, 0.0702584758400917, 0.024787407368421555, -0.04864143952727318, -0.04994839057326317, -0.022695006802678108, 0.04794644936919212, 0.04539591446518898, -0.019136283546686172, -0.09167638421058655, 0.029819142073392868, 0.0701921284198761, -0.05539891496300697, 0.04442938417196274, -0.022126508876681328, 0.02181657962501049, 0.03671703487634659, 0.00043090301915071905, 0.01190450694411993, -0.02040299028158188, 0.005033351015299559, 0.010542025789618492, 0.01180336158722639, -0.020967314019799232, -0.05785375460982323, -0.0408262275159359, 0.06872957944869995, 0.02917988784611225, 0.04067171737551689, 0.059296976774930954, -0.009719949215650558, -0.05328407511115074, -0.013040510937571526, 0.009280722588300705, -0.05181128531694412, 0.029320495203137398, 0.03803744912147522, 0.05381812900304794, -0.04903559386730194, -0.042708639055490494, -0.040131084620952606, -0.004620755556970835, 0.019974209368228912, -0.003062079194933176, -0.01088193990290165, -0.07266980409622192, 0.00019669419270940125, -0.011799382045865059, -0.013988115824759007, -0.06832621991634369, 0.02325507067143917, -0.04289247840642929, -0.04246525838971138, 0.05980158597230911, 0.036650728434324265, 0.05368867143988609, 0.056021735072135925, -0.006316040176898241, -0.0032012700103223324, -0.011422372423112392, 0.03597471863031387, -0.024239065125584602, -0.027907561510801315, 0.010149940848350525, -0.043830033391714096, 0.0038780623581260443, -0.012616901658475399, -0.052185408771038055, -0.06401942670345306, -0.021448345854878426, 0.029346395283937454, 0.0028014869894832373, 0.00017462768300902098, -0.023010388016700745, 0.03260185942053795, -0.02033109962940216, -0.008466039784252644, -0.010173382237553596, -0.043559491634368896, -0.06354229152202606, -0.045926958322525024, 0.00567981693893671, 0.025103971362113953, 0.039055194705724716, 0.015380389988422394, 0.015124302357435226, 0.03160177171230316, 0.010224901139736176, -0.025959227234125137, 0.02843685820698738, 0.022264447063207626, -0.03041577711701393, -0.03129614144563675, -0.006811219267547131, 0.0017082440899685025, 0.016571249812841415, -0.042710643261671066, 0.056685641407966614, 0.027485456317663193, -0.032007694244384766, -0.015344842337071896, 0.008295598439872265, 0.018180714920163155, -0.04642857238650322, -0.03228629007935524, -0.03785109147429466, -0.04966925084590912, 0.027126722037792206, -0.008948472328484058, -0.04329811409115791, 0.029897501692175865, 0.01627739891409874, 0.015065312385559082, -0.007252406794577837, -0.014815357513725758, 0.005985438823699951, 0.002281785476952791, 0.036346737295389175, -0.04509671777486801, 0.0230050440877676, -0.037641700357198715, 0.0018622225616127253, -0.029321884736418724, -0.012071114964783192, -0.043894730508327484, 0.020397938787937164, 0.0004834187275264412, -0.022982986643910408, -0.00001353759944322519, -0.01884184591472149, -0.03985428065061569, 0.03835953399538994, -0.034515131264925, 0.023885149508714676, -0.03243637830018997, 0.03681415319442749, -0.04568682610988617, -0.01620085909962654, -0.004741949494928122, -0.009000624530017376, -0.0402398444712162, -0.019521303474903107, 0.0005641116295009851, -0.03382471576333046, 0.038453441113233566, 0.028863592073321342, 0.03859083727002144, 0.03769445791840553, -0.006669765803962946, 0.02806963585317135, 0.02714504487812519, -0.08047732710838318, -0.03524695709347725, -0.0070455195382237434, -0.009207969531416893, -0.035013120621442795, 0.06310298293828964, 0.0396108478307724, -0.08707454055547714, -0.06294582784175873, 0.04224948585033417, 0.040376417338848114, 0.01865265890955925, 0.0066377585753798485, 0.02757384441792965, 0.03785417973995209, 0.01636265404522419, -0.02155400440096855, -0.016417300328612328, 0.00106805597897619, 0.005881756544113159, 0.016847120597958565, -0.023773211985826492, 0.005668489262461662, 0.007037946954369545, -0.020452063530683517, -0.00001254063408850925, 0.0715920552611351, 0.055416930466890335, 0.01886323094367981, 0.021160997450351715, -0.04225130379199982, 0.006186353508383036, 0.006110777612775564, -0.06333653628826141, -0.02196003682911396, -0.016274090856313705, -0.02262679487466812, 0.06676053255796432, -0.004895203281193972, 0.027963479980826378, 0.05331408977508545, 0.028194911777973175, -0.001372145488858223, 0.020351391285657883, -0.025113128125667572, 0.014583108015358448, 0.028004812076687813, -0.023990824818611145, 0.006304333917796612, -0.059359028935432434, 0.08804734796285629, -0.07798629999160767, 0.04984220862388611, 0.034213703125715256, 0.010797610506415367, -0.009052297100424767, -0.0014750740956515074, -0.04300623759627342, 0.04059111699461937, -0.0358751080930233, 0.0659371018409729, 0.015524540096521378, -0.05283527821302414, 0.07440856844186783, 0.00588605459779501, -0.06088128313422203, 0.009455722756683826, 0.06033697351813316, 0.026116423308849335, 0.030258048325777054, 0.04095755144953728, -0.0741095319390297, 0.01816565915942192, -0.014528925530612469, 0.024292847141623497, -0.05780737102031708, -0.047850776463747025, 0.008478916250169277, -0.04911450669169426, -0.012244061566889286, 0.03959782421588898, -0.017914164811372757, -0.012171456590294838, 0.02781767211854458, -0.052412521094083786, -0.02974531427025795, 0.01195757370442152, 0.011817516759037971, -0.0026199945714324713, 0.03210078924894333, -0.03624643385410309, 0.010659188032150269, 0.021846920251846313, -0.011751879006624222, -0.03400539234280586, 0.044475968927145004, 0.02485084906220436, -0.05070485547184944, -0.0014436817727982998, 0.05870077759027481, 0.002031587529927492, -0.012373858131468296, 0.03691432252526283, -0.00300639308989048, 0.021580124273896217, 0.01447954773902893, 0.0032012059818953276, 0.008190476335585117, -0.06081075593829155, 0.0062063406221568584, 0.031537242233753204, 0.016676902770996094, 0.034396279603242874, -0.03563077002763748, 0.011177729815244675, 0.04221158102154732, 0.02176402509212494, -0.006537171546369791, -0.030275771394371986, 0.0038009779527783394, 0.02679159678518772, -0.03759532794356346, -0.0015996722504496574, 0.004971696063876152, -0.03609640523791313, -0.047529734671115875, -0.012572309002280235, 0.010989956557750702, 0.043847378343343735, -0.048516031354665756, 0.004572347737848759, 0.05207999795675278, 0.0031459357123821974, -0.04937182366847992, -0.08120156079530716, -0.03600921481847763, -0.039608631283044815, 0.03814201056957245, 0.030179647728800774, -0.03716552257537842, 0.017872847616672516, -0.04423006996512413, -0.0462939590215683, 0.029334424063563347, 0.01661800593137741, -0.02921755425632, 0.07196731120347977, 0.03836952522397041, -0.0375848188996315, 0.0332147553563118, 0.005797698628157377, -0.0490250438451767, 0.05232447013258934, 0.0016957297921180725, -0.010978108271956444, 0.026258038356900215, 0.028256958350539207, -0.0047210101038217545, -0.01612863503396511, -0.05020967870950699, -0.022403523325920105, -0.039845727384090424, 0.016711685806512833, 0.08130187541246414 ]
BigSalmon/InformalToFormalLincoln16
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
2021-09-10T01:00:43Z
--- tags: conversational --- @Rick from Rick and Morty GPT-2 Conversation Model ---
[ -0.030168037861585617, 0.021257540211081505, -0.01590689644217491, 0.02002762258052826, 0.017666637897491455, 0.02240699902176857, -0.0017654637340456247, 0.03227817639708519, -0.01277946773916483, 0.025023026391863823, 0.05212061107158661, -0.017708370462059975, 0.0210654865950346, 0.04643717408180237, -0.045253217220306396, -0.028999801725149155, -0.03027910739183426, -0.0012194543378427625, -0.02437090128660202, -0.026372602209448814, 0.0071175494231283665, 0.01211768388748169, -0.01506895199418068, 0.04026578366756439, -0.0015363526763394475, 0.019137322902679443, -0.001311045722104609, 0.003060520626604557, 0.015128129161894321, -0.054988279938697815, 0.02466033585369587, -0.036603283137083054, -0.003824743442237377, -0.016533466055989265, -0.02377173863351345, -0.041704971343278885, 0.017425835132598877, -0.007153638638556004, -0.011737876571714878, 0.031960710883140564, -0.026491645723581314, -0.011388317681849003, 0.009436385706067085, -0.039285317063331604, 0.07418547570705414, 0.005772041622549295, -0.04433785751461983, -0.027491863816976547, 0.030493441969156265, -0.0451001338660717, -0.03549705818295479, -0.046350643038749695, -0.05406884104013443, -0.009723970666527748, 0.025809455662965775, -0.06210765987634659, -0.06904132664203644, -0.012476726435124874, 0.10196025669574738, -0.02086193487048149, -0.024095695465803146, -0.008821512572467327, -0.06419377774000168, 0.018558157607913017, 0.019115392118692398, -0.07763142138719559, 0.007447467185556889, -0.04522370174527168, 0.007170275319367647, -0.019348619505763054, 0.059309836477041245, -0.04745694622397423, 0.024407142773270607, -0.09223205596208572, -0.01688232831656933, -0.007670305669307709, 0.053929682821035385, 0.0563732273876667, -0.04914934188127518, 0.042519547045230865, 0.05186009034514427, 0.007522155065089464, 0.06133347004652023, -0.010187714360654354, -0.034843556582927704, 0.02945784106850624, -0.0499659888446331, -0.008231383748352528, -0.010653029195964336, 0.027988532558083534, -0.022615108639001846, -0.044582564383745193, -0.030973300337791443, -0.012289876118302345, 0.0012811899650841951, 0.046669505536556244, 0.01944921538233757, -0.025321293622255325, 0.021356141194701195, 0.04121318832039833, 0.023070627823472023, 0.05012105405330658, -0.023187413811683655, 0.025786641985177994, -0.0014541296986863017, 0.027273481711745262, 0.024146942421793938, -0.006803637370467186, -0.044215261936187744, 0.018051356077194214, 0.01256332453340292, -0.041643381118774414, -0.03354770317673683, 0.016899390146136284, 0.007849474437534809, 0.012185269966721535, 0.044480133801698685, -0.03901638090610504, -0.0421985387802124, -0.0643916204571724, 0.06818964332342148, -0.018538935109972954, -0.0021266473922878504, -0.0059636058285832405, -0.06509789824485779, 0.0070443712174892426, -0.03375721350312233, -0.016678182408213615, -0.019615333527326584, 0.010509809479117393, 0.015049049630761147, 0.03332040458917618, -0.025482315570116043, -0.034900110214948654, 0.01158859208226204, 0.051248159259557724, -0.07250238209962845, 0.010294782929122448, 0.03704216703772545, 0.08640559017658234, -0.09129326045513153, -0.04204689338803291, 0.0040718186646699905, 0.030108505859971046, -0.027126792818307877, -0.008696228265762329, 0.0012177671305835247, -0.010146298445761204, -0.03979603946208954, -0.0031400432344526052, 0.03884372487664223, -0.05030553415417671, -0.000023180371499620378, 0.0420498326420784, 0.00710395909845829, 0.018338147550821304, -0.02717009373009205, -0.0008573767263442278, -0.00662660226225853, -0.025165826082229614, -0.054362703114748, 0.03437688574194908, -0.03367582708597183, -0.04592708498239517, -0.03978853300213814, -0.028954925015568733, 0.014864922501146793, 0.06494084745645523, 0.0066212136298418045, -0.0048837908543646336, -0.02751922607421875, 0.032678890973329544, 0.06389875710010529, 0.03482323884963989, -0.024647150188684464, 0.03037959337234497, 0.04992062225937843, 0.023808235302567482, -0.05991751328110695, 0.07471223920583725, 0.017515085637569427, -0.04753275215625763, -0.055159106850624084, -0.008445007726550102, 0.02599610574543476, -0.024045728147029877, 0.022546274587512016, 0.04157793149352074, -0.025767717510461807, -0.020068127661943436, -0.0009130149846896529, 0.03977854922413826, -0.009289844892919064, -0.014540164731442928, -0.01412524376064539, -0.01448945701122284, -0.033373456448316574, 0.02545776031911373, -0.02403801679611206, -0.018259063363075256, -0.04384232312440872, -0.015138406306505203, 0.03722185268998146, -0.013635674491524696, 0.023301875218749046, 0.041030723601579666, -0.017277799546718597, 0.0618501640856266, -0.026310933753848076, 0.01454063318669796, -0.03820148855447769, -0.027291636914014816, -0.048906706273555756, 0.04832938686013222, 0.016929473727941513, 0.056713927537202835, -0.03981586918234825, -0.042590074241161346, 0.02186053805053234, 0.05400508642196655, 0.037365783005952835, 0.027016643434762955, -0.016511106863617897, 0.01717545837163925, 0.028672421351075172, 0.03138645738363266, -0.03931969776749611, 0.011293703690171242, 0.004458884242922068, 0.04339953511953354, -0.014165977947413921, -0.012677284888923168, -0.035806406289339066, -0.0005474694189615548, -0.03875535726547241, -0.07114312052726746, 0.060032330453395844, 0.019681893289089203, 0.0012182681821286678, 0.05111763998866081, 0.0017996722599491477, -0.003962019458413124, 0.033239107578992844, -0.006690842565149069, 0.021940801292657852, -0.09806695580482483, 0.004503030329942703, 0.03201623260974884, 0.09942450374364853, -0.04657457023859024, 0.021220646798610687, 0.02625097520649433, 0.019676396623253822, 0.022832470014691353, -0.014729050919413567, 0.04271712526679039, 0.04861769452691078, 0.04486021026968956, -0.009827326983213425, 0.04029938951134682, 0.0001512301532784477, 0.02014520950615406, 0.044343940913677216, -0.021273313090205193, 0.07583822309970856, -0.017224643379449844, 0.03327715024352074, 0.06132030859589577, 0.033488258719444275, -0.029663126915693283, 0.01818375289440155, 0.062024883925914764, 0.005558447912335396, 0.022718485444784164, 0.024272797629237175, -0.016845421865582466, -0.008227447979152203, -0.034412238746881485, 0.006331095937639475, 0.008005555719137192, -0.032944776117801666, 0.06262724101543427, 0.017885947600007057, 0.004533855710178614, 0.013718306086957455, -0.006510658655315638, -0.0202252808958292, 0.05397428199648857, -0.0041831680573523045, -0.027680030092597008, -0.007395095657557249, -0.022173535078763962, 0.024715475738048553, -0.06307164579629898, -0.03877057135105133, -0.014000851660966873, -0.048948511481285095, 0.006210291758179665, -0.09346216917037964, -0.039419639855623245, -0.08449716120958328, -0.011467122472822666, 0.04847344756126404, 0.014702445827424526, 0.0022831098176538944, 0.0076214917935431, -0.0005773031734861434, -0.019594619050621986, -0.06074249744415283, -0.052134159952402115, -0.024329647421836853, -0.011366594582796097, -0.041562531143426895, 0.028884630650281906, 0.027933934703469276, 0.04218323156237602, 0.00683370977640152, -0.033260446041822433, -0.06372594088315964, -0.01274137757718563, 0.03337635472416878, 0.011792688630521297, -0.048482634127140045, -0.03727133199572563, 0.017130296677350998, -0.006833813618868589, -0.00345138693228364, -0.02069712057709694, -0.049393780529499054, 0.0677216500043869, 0.03421485051512718, -0.005752221681177616, 0.02117985673248768, -0.016714442521333694, -0.029420698061585426, -0.02353723719716072, -0.05029110983014107, -0.03617461025714874, -0.012489039450883865, -0.03470136225223541, -0.049102213233709335, -0.03274524584412575, -0.04285847768187523, -0.007001029327511787, 0.0002092765353154391, -0.0038649560883641243, 0.03436078131198883, 0.009861799888312817, 0.020317228510975838, 0.020047707483172417, -0.01563258282840252, -0.010887744836509228, 0.047666504979133606, -0.03675432875752449, -0.010770328342914581, -0.06848268210887909, -0.03931977227330208, 0.0258257444947958, 0.016818489879369736, -0.006510995328426361, -0.015722379088401794, 0.03305104002356529, 0.035614922642707825, 0.0016603629337623715, 0.03259078040719032, -0.05445973202586174, 0.002089023357257247, -0.045383017510175705, -0.02492029219865799, -0.043553002178668976, -0.031932808458805084, -0.004689945839345455, -0.021791521459817886, 0.02534288540482521, -0.08221109211444855, -0.025509221479296684, -0.01654205098748207, 0.008905114606022835, 0.03265366330742836, 0.012121227569878101, -0.04293374344706535, -0.011162110604345798, -0.03649436682462692, -0.02516193501651287, -0.008632371202111244, -0.022366493940353394, 0.0038961453828960657, 0.025639042258262634, 0.000954787596128881, -0.021895762532949448, 0.0677713081240654, 0.010834614746272564, 0.05171283707022667, 0.05314018577337265, -0.030394557863473892, 0.04120275750756264, -0.02694239281117916, 0.025013888254761696, -0.007832012139260769, -0.0318717323243618, -0.044129081070423126, -0.11157101392745972, -0.05242375284433365, 0.03126047924160957, -0.013724877499043941, 0.02060116082429886, 0.033894140273332596, -0.06216416507959366, -0.018250996246933937, 0.01114671304821968, 0.05491619557142258, 0.049286000430583954, -0.034382451325654984, 0.06030414253473282, -0.007934941910207272, 0.02715771272778511, -0.04239334538578987, -0.013912415131926537, -0.04818395525217056, -0.02153116837143898, -0.0008635636186227202, 0.04853630065917969, 0.00018478826677892357, 0.0591660812497139, 0.08132211118936539, 0.040126070380210876, -0.04234104976058006, 0.04424101486802101, 0.06254440546035767, -0.028705809265375137, -0.03498825430870056, -0.0017628003843128681, 0.012319290079176426, -0.008232862688601017, -0.01416387315839529, -0.02729349210858345, 0.03441879153251648, 0.03942490369081497, -0.0017106885788962245, 0.012869774363934994, 0.012098917737603188, -0.01891128532588482, -0.030954089015722275, -0.08325207233428955, -0.02134711854159832, -0.009877093136310577, -0.022575659677386284, 0.04819599539041519, 0.04127009958028793, 0.012164980173110962, 0.07160147279500961, 0.01855807565152645, -0.028713999316096306, -0.06165945902466774, 0.03693298250436783, 0.024809759110212326, -0.05061507597565651, -0.046024542301893234, -0.03584796190261841, 0.021576857194304466, 0.05107107013463974, -0.029324809089303017, -0.09593337029218674, 0.02906602807343006, 0.04579756408929825, -0.03543950244784355, 0.06465976685285568, -0.003015481634065509, 0.04223956912755966, 0.030930640175938606, 0.013059143908321857, 0.05136336758732796, -0.06131777539849281, 0.025326929986476898, -0.018331902101635933, 0.015820270404219627, -0.045536965131759644, -0.032606370747089386, -0.049403849989175797, 0.04329892620444298, 0.03731353208422661, 0.017567966133356094, 0.019624944776296616, -0.04125344380736351, -0.055689144879579544, -0.007126686163246632, 0.034824952483177185, -0.009776095859706402, 0.012763645499944687, 0.0374285988509655, 0.055220574140548706, -0.0631767138838768, 0.005112511571496725, -0.0008774091256782413, 0.015543760731816292, 0.015462763607501984, -0.013563025742769241, -0.03131455183029175, -0.01898166537284851, 0.01923186704516411, -0.015798300504684448, -0.017364460974931717, -0.08863285183906555, 0.0370316281914711, -0.02638080343604088, -0.021904660388827324, 0.07289052754640579, 0.05184226483106613, 0.06722132861614227, 0.053272511810064316, -0.013055011630058289, 0.03411395102739334, -0.0382668673992157, 0.017032846808433533, -0.029302507638931274, -0.05099182203412056, 0.014565453864634037, -0.07091325521469116, -0.024258943274617195, -0.04252167046070099, -0.04652002826333046, -0.04368070140480995, -0.013409153558313847, 0.014735429547727108, -0.01575024612247944, -0.0035261320881545544, 0.029404496774077415, 0.024073464795947075, -0.018796104937791824, -0.032639533281326294, -0.005851017776876688, -0.010483479127287865, -0.04898761957883835, -0.06160745769739151, 0.009951875545084476, -0.04127060994505882, 0.007180495653301477, -0.01459517702460289, 0.01894197426736355, 0.0392942950129509, -0.01503483485430479, -0.027095261961221695, 0.031200336292386055, 0.018453653901815414, -0.0401177778840065, -0.021924840286374092, 0.02211008593440056, 0.013254120945930481, 0.03731507062911987, -0.022425949573516846, 0.0391024611890316, 0.006413780618458986, -0.06542050093412399, -0.027912884950637817, 0.022240113466978073, 0.021145299077033997, -0.07127446681261063, -0.0010205148719251156, -0.04203921556472778, -0.030323725193738937, 0.01215455960482359, -0.04801241308450699, -0.008482317440211773, -0.005017999093979597, 0.04527148976922035, 0.03543606773018837, 0.011382202617824078, -0.0042674243450164795, 0.003894873196259141, -0.027265673503279686, 0.007174775004386902, -0.0698784589767456, 0.017890689894557, -0.030850887298583984, 0.022556453943252563, -0.018367726355791092, 0.017372295260429382, -0.030879292637109756, 0.053246013820171356, -0.012257183901965618, -0.011692364700138569, 0.0021565572824329138, -0.009883608669042587, -0.007499035447835922, 0.029194524511694908, 0.02398831956088543, 0.01430847030133009, -0.037916410714387894, 0.05505188927054405, -0.04740336537361145, 0.003110833466053009, -0.010073238052427769, -0.03229605406522751, -0.03441045060753822, -0.02061270922422409, -0.0052612959407269955, -0.06912897527217865, 0.027335036545991898, 0.02030118554830551, 0.04213954880833626, 0.04118545725941658, 0.014144930988550186, 0.00991947390139103, 0.0320746973156929, -0.055868517607450485, -0.038664571940898895, 0.004956503864377737, -0.011336030438542366, 0.012793130241334438, 0.05672913417220116, 0.04750188812613487, -0.05393105372786522, -0.03156125172972679, 0.03623580187559128, 0.016663050279021263, 0.01368644181638956, -0.0004733730456791818, 0.03020738624036312, 0.06780768185853958, 0.04628162458539009, 0.0035634031519293785, 0.00567705649882555, 0.02488834224641323, -0.017697596922516823, -0.011794770136475563, 0.001589898718520999, 0.0027840356342494488, 0.0021000895649194717, -0.02642609179019928, -0.036792490631341934, 0.07434201240539551, -0.014220754615962505, 0.0028187960851937532, -0.01150090154260397, -0.056183863431215286, 0.06324852257966995, -0.010881707072257996, -0.0242112185806036, -0.017632704228162766, 0.021307529881596565, -0.021578272804617882, 0.04516037926077843, -0.02693956345319748, -0.0007785556954331696, 0.06649219244718552, 0.022142183035612106, 0.002989565720781684, 0.00708527397364378, -0.013797620311379433, 0.012803430669009686, 0.018469346687197685, -0.051100458949804306, -0.011312242597341537, -0.030039045959711075, 0.06507046520709991, -0.036533255130052567, 0.05724802240729332, 0.03774147480726242, 0.03464968875050545, 0.003977172076702118, -0.04337470605969429, -0.0483999103307724, -0.024111254140734673, -0.043442122638225555, 0.06035580113530159, -0.013277066871523857, -0.04223920777440071, 0.058892328292131424, 0.010916979052126408, -0.09364575892686844, 0.04071265459060669, 0.029640570282936096, 0.04084866866469383, 0.023176701739430428, 0.05505979061126709, -0.05450234189629555, 0.017576400190591812, -0.031221644952893257, 0.014873209409415722, -0.02682051993906498, -0.016762351617217064, -0.02454540692269802, -0.05096207931637764, 0.012614618986845016, 0.03751854598522186, -0.03250117599964142, -0.003281581914052367, 0.001468402799218893, -0.023951269686222076, -0.06710173189640045, -0.0018257045885547996, 0.0279499851167202, -0.019707201048731804, 0.0017918937373906374, -0.029284384101629257, 0.013173164799809456, 0.04475501552224159, 0.006421135738492012, -0.0396406464278698, 0.016776977106928825, -0.01894855871796608, -0.08175269514322281, -0.061139121651649475, 0.07001543790102005, 0.0011424887925386429, 0.008950329385697842, -0.0017379125347360969, 0.02141120471060276, 0.021528275683522224, 0.030165912583470345, -0.015795905143022537, -0.0021100242156535387, -0.06723038107156754, -0.0053159273229539394, 0.04206298664212227, 0.017169369384646416, -0.001826828927733004, 0.002354811178520322, 0.019794417545199394, 0.07053377479314804, 0.04266388341784477, -0.007171027362346649, -0.05143902078270912, -0.02530740015208721, -0.008227720856666565, -0.03844054415822029, 0.02702193148434162, 0.009521838277578354, -0.0617254376411438, -0.030057502910494804, -0.005817704368382692, -0.003401751397177577, 0.03820011392235756, -0.027938175946474075, 0.02716498263180256, 0.03761255741119385, -0.0026411551516503096, -0.05094236508011818, -0.10405150055885315, -0.059525590389966965, -0.009500567801296711, 0.021873068064451218, 0.04445768892765045, -0.03662726283073425, 0.0036950744688510895, -0.0438837967813015, -0.010806892067193985, 0.05169326439499855, -0.019503260031342506, -0.0176748838275671, 0.06802540272474289, 0.07572688907384872, -0.026901334524154663, 0.04938787221908569, 0.020267950370907784, -0.03920002281665802, 0.04778945446014404, 0.012732126750051975, 0.03521113097667694, 0.012905225157737732, 0.03101513721048832, -0.03962554782629013, -0.0027578289154917, -0.02177966572344303, -0.04220644384622574, -0.015880603343248367, 0.0012426541652530432, 0.04811616986989975 ]
BigSalmon/InformalToFormalLincoln20
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
--- language: de tags: - grammar widget: - text: "correct german grammar: es ist schön so viele tolle menschen um sich zu haben denn ohne sie wäre es nicht so schön" --- example outputs: input: ich liebe das leben --> output: Ich liebe das Leben. input: es ist schön so viele tolle menschen um sich zu haben denn ohne sie wäre es nicht so schön --> output: Es ist schön, so viele tolle Menschen, um sich zu haben, denn ohne sie wäre es nicht so schön. input: der kunde hat ausdrücklich nach dirk verlangt weil er den rabatt haben möchte --> output: Der Kunde hat ausdrücklich nach Dirk verlangt, weil er den Rabatt haben möchte. the data can be prepared like this: the broken_text is used as input, while the text is the output ```python import re import phonetics import random chars_to_ignore_regex = "[^A-Za-z0-9\ö\ä\ü\Ö\Ä\Ü\ß\-,;.:?! ]+" broken_chars_to_ignore_regex = "[^A-Za-z0-9\ö\ä\ü\Ö\Ä\Ü\ß\- ]+" def do_manipulation(string): text = re.sub(chars_to_ignore_regex, '', string) broken_text = re.sub(broken_chars_to_ignore_regex, "", text.lower()) if(random.randint(0,100) >= 50): for xyz in range(int(len(broken_text.split(" "))/4)): if(random.randint(0,100) > 30): randc = random.choice(broken_text.split(" ")) if(random.randint(0,10) > 4): broken_text = broken_text.replace(randc, ''.join(random.choice('abcdefghijklmnopqrstuvxyz') for _ in range(len(randc))).lower()) else: broken_text = broken_text.replace(randc, phonetics.metaphone(randc).lower()) return text, broken_text ```
[ -0.008324528113007545, -0.02708285115659237, 0.0006293048500083387, 0.06619112938642502, 0.029866348952054977, 0.027738992124795914, -0.006384977605193853, -0.0014419748913496733, -0.0412294827401638, 0.06897426396608353, 0.01951438933610916, -0.01744517683982849, -0.004991165827959776, 0.027857551351189613, -0.029811730608344078, -0.031124472618103027, -0.02117624692618847, -0.0017624745378270745, -0.03641083836555481, 0.0005555237294174731, 0.014783576130867004, -0.009082656353712082, 0.00042137375567108393, 0.009859145618975163, -0.006391108501702547, 0.01212006900459528, 0.011346707120537758, -0.0067341625690460205, 0.05592421814799309, -0.06059214845299721, -0.02488650381565094, -0.021312393248081207, -0.016046540811657906, -0.005380815826356411, -0.052911799401044846, 0.014610984362661839, 0.018740998581051826, 0.012713906355202198, 0.024231279268860817, 0.05860375240445137, -0.012706398032605648, 0.028047610074281693, -0.010603325441479683, -0.028138592839241028, 0.028460249304771423, -0.0016893268330022693, -0.032719314098358154, -0.011423613876104355, 0.04387930780649185, -0.011899706907570362, -0.050850942730903625, -0.05924516171216965, -0.012050031684339046, 0.01864505559206009, -0.015772556886076927, -0.027728011831641197, -0.06322678923606873, 0.016543755307793617, 0.060920972377061844, -0.04998666048049927, -0.017856061458587646, 0.024514421820640564, -0.0794835239648819, 0.038307882845401764, 0.0030932833906263113, -0.03809133917093277, 0.0050520822405815125, -0.04666048660874367, 0.00761449197307229, -0.04859708994626999, 0.024149322882294655, -0.040086790919303894, 0.024050548672676086, -0.1045398935675621, -0.004310792312026024, -0.032979004085063934, 0.04045761749148369, 0.03685230389237404, -0.05262000113725662, 0.07556876540184021, 0.030673827975988388, -0.013590377755463123, -0.0025203207042068243, -0.02953469380736351, -0.029811589047312737, 0.0302110742777586, -0.01671771891415119, -0.010605460032820702, 0.0017344971420243382, 0.04918059706687927, -0.03169335797429085, -0.026462072506546974, -0.0151686891913414, -0.029037930071353912, -0.018877234309911728, 0.003756212070584297, 0.034885015338659286, 0.015050291083753109, 0.04589890316128731, 0.07142093032598495, -0.018903888761997223, 0.04711171239614487, -0.03239841386675835, 0.056501604616642, 0.0019699924159795046, 0.00973621103912592, -0.002129907952621579, -0.02629556506872177, -0.04647551104426384, -0.0014016409404575825, 0.05195989832282066, -0.026391221210360527, -0.05230779945850372, 0.05357729643583298, 0.019602259621024132, -0.006267281714826822, 0.031873371452093124, -0.008632903918623924, -0.049213048070669174, -0.049723781645298004, 0.060192838311195374, -0.003967352211475372, 0.009251424111425877, 0.00782080553472042, -0.05496232584118843, 0.01666891761124134, -0.08376794308423996, -0.023173648864030838, -0.001138607389293611, 0.028915708884596825, -0.018535515293478966, 0.06292681396007538, 0.022896362468600273, -0.05105810984969139, 0.009378977119922638, 0.0016150124138221145, -0.05058535560965538, 0.03348466008901596, 0.05229572579264641, 0.09925700724124908, -0.046640794724226, -0.06832415610551834, 0.00111471361014992, 0.016148820519447327, -0.026831036433577538, -0.007111411541700363, 0.010416681878268719, -0.0399642251431942, -0.018307918682694435, 0.006189849693328142, 0.06461542844772339, -0.04036694020032883, -0.005805429071187973, 0.03151572495698929, 0.007415242027491331, 0.035440076142549515, -0.02966628596186638, -0.0030097193084657192, 0.008119717240333557, 0.0005776960169896483, -0.034775279462337494, 0.029943054541945457, 0.0036767893470823765, -0.025636887177824974, -0.04043746739625931, -0.0387326143682003, 0.015379236079752445, 0.053883228451013565, -0.007323716767132282, -0.013420134782791138, -0.019734568893909454, 0.036927416920661926, 0.03362952172756195, 0.010221014730632305, -0.018089409917593002, 0.03320947661995888, 0.055118147283792496, 0.04895120486617088, -0.006800869479775429, 0.0779714435338974, 0.03320694714784622, -0.019131315872073174, -0.035540927201509476, 0.0030078361742198467, -0.002206394448876381, -0.026532882824540138, 0.00564123410731554, 0.038132160902023315, -0.020559968426823616, -0.02487039938569069, 0.011793438345193863, 0.04629461094737053, -0.0051505970768630505, 0.0054060122929513454, 0.020610669627785683, 0.015211871825158596, -0.027997469529509544, 0.058338236063718796, -0.044706497341394424, -0.0018773997435346246, -0.033429279923439026, -0.02286304533481598, 0.025361845269799232, 0.027042381465435028, 0.020761730149388313, 0.059458956122398376, 0.010455168783664703, 0.0962667167186737, -0.034380197525024414, 0.0016565469559282064, -0.05959621071815491, -0.05043590068817139, -0.002699565142393112, 0.04237915202975273, 0.030625993385910988, 0.05657055974006653, -0.02920907735824585, -0.05277109146118164, 0.012705611996352673, 0.04672049358487129, 0.05735262855887413, 0.035833388566970825, -0.02306244894862175, -0.007408644538372755, 0.032842591404914856, 0.04546229541301727, -0.046526819467544556, -0.05736161023378372, 0.019809715449810028, 0.05242490395903587, -0.009513678960502148, 0.012813390232622623, -0.006773191969841719, 0.00004460550917428918, -0.0432204008102417, -0.038789525628089905, 0.05164298042654991, 0.02772124856710434, 0.011496476829051971, 0.019898271188139915, 0.003013059264048934, 0.021961450576782227, 0.02918369695544243, 0.015117982402443886, 0.006811095867305994, -0.049078501760959625, -0.024456853047013283, -0.00006123647472122684, 0.05194577947258949, -0.05074532330036163, 0.07168345153331757, -0.006690868176519871, 0.016036026179790497, 0.03705113008618355, -0.048843950033187866, 0.040706176310777664, 0.007769905962049961, 0.030011292546987534, -0.02806391753256321, 0.021174540743231773, 0.010374939069151878, 0.04358281195163727, 0.031562112271785736, -0.024837171658873558, 0.07359099388122559, 0.002915914636105299, 0.059791017323732376, 0.09604272991418839, 0.02428051084280014, 0.017052553594112396, 0.03847317025065422, 0.06944970041513443, -0.004252415616065264, -0.0383230522274971, 0.06296025216579437, -0.05143849179148674, 0.026280619204044342, -0.04480993002653122, 0.03963783010840416, -0.0018737016944214702, -0.035786401480436325, 0.013573383912444115, 0.02599956840276718, -0.01549538504332304, 0.031900934875011444, -0.00810343399643898, 0.02344772033393383, 0.042746905237436295, 0.0027866465970873833, -0.01766493357717991, -0.00039362345705740154, -0.032518476247787476, 0.026761380955576897, -0.07291286438703537, -0.04847181588411331, -0.012938454747200012, -0.0038380040787160397, 0.012396533042192459, -0.11702383309602737, -0.044693779200315475, -0.04089423641562462, -0.018250683322548866, 0.035570498555898666, 0.01110498234629631, 0.018429702147841454, -0.03279338404536247, 0.013378998264670372, -0.044041845947504044, -0.031354647129774094, -0.04507419839501381, -0.016754034906625748, -0.040771473199129105, -0.06695687025785446, 0.02722967229783535, 0.003849614877253771, 0.03635358810424805, -0.003600776195526123, 0.0159985963255167, -0.04468701779842377, -0.006921563297510147, 0.07025294005870819, 0.03609869256615639, -0.02267388254404068, -0.05200807377696037, 0.004305400885641575, -0.002565197180956602, -0.03237530216574669, -0.005882080644369125, -0.030155079439282417, 0.09678828716278076, 0.06610184162855148, 0.028172455728054047, 0.0006744866841472685, -0.01987200416624546, -0.04558093473315239, -0.05113080143928528, -0.0016134697943925858, -0.03627791255712509, -0.03786523640155792, -0.017362896353006363, -0.03602125495672226, -0.03357132896780968, -0.04526674747467041, -0.030493346974253654, 0.011022372171282768, 0.046576742082834244, 0.04044581204652786, 0.049248725175857544, 0.04188232123851776, 0.029445335268974304, -0.036275140941143036, -0.028685251250863075, 0.07022372633218765, 0.015417967922985554, 0.022633163258433342, -0.07749021798372269, -0.02903527021408081, 0.04126696661114693, 0.014647136442363262, 0.005565921310335398, -0.027593795210123062, 0.07399279624223709, 0.018241578713059425, -0.019448574632406235, 0.007261906750500202, -0.013460304588079453, -0.034801680594682693, 0.01260610856115818, -0.026863284409046173, -0.007865053601562977, -0.05823579430580139, -0.019357778131961823, 0.003714251099154353, 0.03984876722097397, -0.06523047387599945, -0.06782746315002441, -0.022074567154049873, 0.040003303438425064, 0.016371862962841988, 0.008293502032756805, -0.04132409766316414, -0.009097536094486713, -0.04627622291445732, -0.04359818249940872, 0.02661145105957985, 0.01638977602124214, 0.008416109718382359, 0.0306883342564106, 0.017405446618795395, -0.04454156756401062, 0.018685899674892426, 0.01630731113255024, 0.03659634292125702, 0.02484983205795288, -0.03349817544221878, 0.03372262045741081, -0.01189398393034935, 0.026605242863297462, -0.014477177523076534, -0.027400348335504532, -0.05154794454574585, -0.07311078906059265, 0.0057192775420844555, 0.012305090203881264, -0.016635166481137276, -0.012721358798444271, 0.046543169766664505, -0.029163440689444542, -0.0013342496240511537, 0.005693991668522358, 0.020245632156729698, 0.04603526368737221, -0.048629678785800934, 0.04784918949007988, 0.005238003563135862, 0.0436047725379467, -0.07513691484928131, 0.031198255717754364, -0.013136838562786579, -0.0034414560068398714, -0.004624225664883852, 0.06231023371219635, 0.005602650344371796, 0.041238319128751755, 0.057666074484586716, 0.029204463586211205, -0.030146582052111626, 0.047351911664009094, 0.03436470404267311, -0.01837346889078617, -0.06488670408725739, 0.007070827763527632, 0.008486920036375523, -0.03562488779425621, 0.010865254327654839, -0.0453934445977211, 0.010494861751794815, 0.018055781722068787, -0.0025405604392290115, -0.03213374316692352, 0.004993368871510029, -0.01596127077937126, -0.03185896947979927, -0.07119450718164444, -0.0032445972319692373, -0.01822865940630436, -0.015095189213752747, 0.044538464397192, 0.01975661888718605, 0.010004415176808834, 0.07526141405105591, 0.02150408737361431, -0.018449800089001656, -0.016716167330741882, 0.04798150807619095, 0.021877717226743698, -0.041935160756111145, -0.060745809227228165, -0.06041216850280762, 0.04388945922255516, 0.05628585070371628, -0.009641413576900959, -0.09019210934638977, 0.006058167200535536, 0.07605361193418503, -0.03338047116994858, 0.060205407440662384, 0.000831106211990118, 0.08179572969675064, 0.04670555517077446, -0.013177643530070782, 0.02686178684234619, -0.029222944751381874, 0.007587187923491001, -0.010160385631024837, 0.0664953961968422, -0.02195780910551548, -0.01964554563164711, -0.0505080446600914, 0.038849927484989166, 0.03255742788314819, 0.044525861740112305, 0.047530412673950195, -0.026109013706445694, -0.06024998053908348, 0.00952314492315054, 0.03859369829297066, -0.051717545837163925, 0.048903364688158035, 0.04717037081718445, 0.031774699687957764, -0.0518287755548954, -0.03824445232748985, -0.011494969949126244, 0.005098217632621527, 0.028273487463593483, 0.00009812007920118049, -0.024949079379439354, -0.05931716412305832, 0.027371887117624283, -0.02166050300002098, -0.03033909574151039, -0.07963433861732483, 0.03395571559667587, -0.0007761767483316362, 0.011336646042764187, 0.04959699884057045, 0.03492278233170509, 0.0664750337600708, 0.032470013946294785, 0.0014648337382823229, 0.038255881518125534, -0.03844664618372917, 0.053599387407302856, -0.01683536358177662, -0.012752870097756386, -0.008128684014081955, -0.03080574981868267, -0.011053040623664856, -0.014502166770398617, -0.06814181059598923, -0.0400811992585659, -0.0007283936720341444, 0.0558745414018631, -0.02225394919514656, 0.011668127961456776, -0.04103778302669525, 0.008325651288032532, -0.009178541600704193, -0.01466014701873064, -0.008683335036039352, -0.023532774299383163, -0.10050072520971298, -0.07520348578691483, 0.023746198043227196, -0.0028325519524514675, 0.02216021716594696, -0.0027442926075309515, 0.010477414354681969, 0.03083646669983864, 0.0019149939762428403, 0.017185857519507408, 0.04850120469927788, -0.010049929842352867, -0.04649828374385834, -0.024058852344751358, 0.009252659045159817, -0.006799935828894377, 0.04106198996305466, -0.04133332520723343, 0.024515300989151, -0.004801176022738218, -0.041988588869571686, -0.032711997628211975, 0.011126650497317314, 0.007494507823139429, -0.07145242393016815, -0.06021236628293991, -0.03407346457242966, -0.049738507717847824, 0.03371817618608475, -0.004457810427993536, -0.027643170207738876, 0.0034085207153111696, 0.03685128688812256, 0.021235140040516853, 0.009634125046432018, -0.016423281282186508, 0.0028462386690080166, -0.029678264632821083, 0.026568198576569557, -0.05260082706809044, 0.012545903213322163, -0.0031853467226028442, 0.019535385072231293, -0.0047140237875282764, 0.0028814985416829586, -0.043298184871673584, 0.0661376342177391, -0.030453935265541077, -0.029613621532917023, -0.023272983729839325, 0.022521935403347015, -0.042281199246644974, 0.03955254703760147, -0.00821689423173666, 0.028421593829989433, -0.03339200094342232, 0.028689077123999596, -0.05598355084657669, 0.0013350901426747441, -0.0005096399108879268, -0.006650224328041077, -0.027006838470697403, -0.04422599822282791, 0.009984934702515602, -0.056701164692640305, 0.011492744088172913, 0.023195551708340645, 0.02006479911506176, 0.03380345553159714, -0.03715622425079346, 0.013462266884744167, 0.014525378122925758, -0.05585602670907974, -0.01532798632979393, -0.010679410770535469, -0.0018239096971228719, -0.006171558517962694, 0.050496865063905716, 0.03446163982152939, -0.044814582914114, -0.034551456570625305, 0.05026976391673088, 0.004302996676415205, 0.025755971670150757, 0.006812493782490492, 0.015821078792214394, 0.059229861944913864, 0.034870047122240067, -0.04729783162474632, 0.003983230795711279, -0.00600134814158082, -0.04054044559597969, 0.007216880563646555, 0.01662510260939598, 0.03382060304284096, 0.007765606977045536, -0.03750552982091904, -0.0044725858606398106, 0.06747282296419144, 0.032567087560892105, 0.02768910489976406, 0.0037771305069327354, -0.04225652664899826, 0.03004416637122631, 0.005121964495629072, -0.04012870788574219, 0.011810816824436188, 0.016508398577570915, -0.033659450709819794, 0.05333936586976051, 0.007527288980782032, 0.030935149639844894, 0.03769190236926079, -0.007455121725797653, -0.023332785815000534, 0.0430322140455246, -0.02070731669664383, 0.02347390726208687, 0.033185411244630814, -0.05188232287764549, -0.0294820386916399, -0.017736608162522316, 0.06723112612962723, -0.07038088142871857, 0.029849624261260033, 0.046164754778146744, 0.02320055104792118, 0.03695894777774811, -0.01769936829805374, -0.048062678426504135, 0.05162816867232323, -0.05179160460829735, 0.06643518805503845, 0.011420132592320442, -0.012960744090378284, 0.10013582557439804, -0.009711732156574726, -0.06515277922153473, 0.05037146434187889, 0.05301230773329735, 0.014854589477181435, 0.008543329313397408, 0.02947959117591381, -0.042949825525283813, 0.026509303599596024, -0.037933990359306335, 0.019642388448119164, -0.04762951284646988, -0.03634662181138992, 0.004052113741636276, -0.030736638233065605, -0.023092325776815414, 0.04270206764340401, -0.020970461890101433, 0.013302936218678951, 0.012787098065018654, -0.04450768977403641, -0.02917003445327282, 0.0024249455891549587, -0.005196066107600927, -0.06369367241859436, -0.003962426912039518, -0.04105258733034134, 0.0331868901848793, 0.022817259654402733, -0.0176561176776886, -0.04732156917452812, 0.002046124543994665, 0.014910075813531876, -0.09085007756948471, -0.0057678562588989735, 0.0540660098195076, 0.00376551179215312, -0.030320782214403152, 0.029251879081130028, 0.004093116149306297, 0.018879679962992668, 0.025893239304423332, 0.0062463367357850075, 0.0381854884326458, -0.05557491257786751, -0.011946693062782288, 0.01830960623919964, 0.012752341106534004, 0.019503530114889145, -0.031905919313430786, 0.038676850497722626, 0.025294475257396698, 0.009687063284218311, 0.009922150522470474, -0.04205125570297241, -0.03521551936864853, 0.016328267753124237, -0.05016116797924042, 0.022396506741642952, 0.013921525329351425, -0.02682105079293251, -0.022163212299346924, -0.011122040450572968, -0.011189950630068779, 0.029332315549254417, -0.04615466296672821, -0.00270016654394567, 0.0419902540743351, -0.0370665043592453, -0.02627161331474781, -0.06650477647781372, -0.013041647151112556, -0.015501013956964016, 0.0072427480481565, 0.042240727692842484, -0.04917890951037407, -0.00008857819921104237, -0.058947209268808365, -0.04004291817545891, 0.039318010210990906, 0.01684834063053131, 0.0015282051172107458, 0.03533545508980751, 0.041756220161914825, -0.033701341599226, -0.005429303273558617, 0.01934405229985714, -0.039922770112752914, 0.048633839935064316, 0.01830960065126419, -0.005307403393089771, 0.029293615370988846, 0.05179225280880928, -0.019183725118637085, -0.026428503915667534, -0.0723625048995018, -0.028053615242242813, -0.02627396397292614, 0.013581860810518265, 0.05003754422068596 ]
BigSalmon/InformalToFormalLincoln22
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
6
null
--- tags: - generated_from_trainer model-index: - name: t5-skills 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. --> # t5-skills This model is a fine-tuned version of [flozi00/t5-skills](https://huggingface.co/flozi00/t5-skills) 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: 5e-05 - train_batch_size: 64 - eval_batch_size: 64 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 1.0 ### Training results ### Framework versions - Transformers 4.12.5 - Pytorch 1.8.1 - Datasets 1.14.0 - Tokenizers 0.10.2
[ -0.02694672718644142, -0.010310588404536247, -0.008567515760660172, 0.013237840496003628, 0.029268013313412666, 0.006251581944525242, -0.026678720489144325, 0.0003538414021022618, -0.021988797932863235, 0.04618654027581215, 0.037878766655921936, -0.004633787088096142, 0.0033799982629716396, 0.03824608027935028, -0.06810607761144638, -0.015299900434911251, -0.016919046640396118, -0.00648594181984663, -0.03735792636871338, 0.0033676880411803722, 0.01589111238718033, -0.0002972111979033798, 0.013143546879291534, 0.007236231118440628, -0.005541031248867512, 0.0297068040817976, 0.0030251897405833006, 0.025276023894548416, 0.033851321786642075, -0.06355652213096619, 0.01685168966650963, -0.043658338487148285, -0.05363766476511955, 0.0022148999851197004, -0.01875108666718006, -0.011830978095531464, -0.014645550400018692, 0.013472073711454868, 0.03559601679444313, 0.045297376811504364, 0.007321789860725403, 0.032310791313648224, -0.009364445693790913, -0.03254126384854317, 0.041838113218545914, 0.012914059683680534, -0.032736506313085556, -0.005593559239059687, 0.05107806250452995, -0.03420690819621086, -0.06903568655252457, -0.07704539597034454, -0.026738125830888748, 0.015636872500181198, -0.022433439269661903, -0.03134813532233238, -0.05746929720044136, 0.004409982822835445, 0.04463464394211769, -0.05046359449625015, -0.027641436085104942, -0.005550969857722521, -0.07696958631277084, 0.02207431197166443, 0.04655247554183006, -0.025723744183778763, 0.013848662376403809, -0.05411017686128616, 0.014513514004647732, -0.022014722228050232, 0.060412097722291946, -0.008941423147916794, -0.010734569281339645, -0.09130024909973145, -0.002960437908768654, -0.027820024639368057, 0.012577490881085396, 0.04847387969493866, -0.055327024310827255, 0.042824696749448776, 0.03359304741024971, -0.011293240822851658, 0.05418596416711807, -0.03433511406183243, -0.0010394153650850058, 0.04636950418353081, -0.041049715131521225, 0.001177003956399858, 0.01050372701138258, 0.041871264576911926, -0.040325265377759933, -0.02751772850751877, -0.022571740671992302, -0.02223212458193302, -0.028094852343201637, 0.0020785119850188494, 0.025093434378504753, 0.004076175391674042, 0.032532211393117905, -0.02945243939757347, 0.08958199620246887, 0.027213307097554207, 0.0010609787423163652, 0.07279416173696518, 0.016907984390854836, -0.003994384780526161, -0.017227623611688614, -0.02155320718884468, -0.0295515526086092, 0.044750411063432693, 0.024630362167954445, -0.026555346325039864, -0.03648089990019798, 0.020213507115840912, 0.007917341776192188, 0.005085750948637724, 0.06479610502719879, -0.035282544791698456, -0.027152864262461662, -0.013513606041669846, 0.05226517468690872, 0.006075356155633926, 0.013634066097438335, -0.010476688854396343, -0.030053583905100822, 0.011797893792390823, -0.038587406277656555, -0.034605178982019424, -0.021253051236271858, 0.010946323163807392, -0.02070990949869156, 0.050046782940626144, 0.018221881240606308, -0.0506475530564785, -0.013203197158873081, 0.0015805498696863651, -0.04616861417889595, 0.05853940546512604, 0.00042993336683139205, 0.1129184439778328, -0.05999528989195824, -0.0859367623925209, 0.01588250882923603, 0.0003591199347283691, -0.04148636385798454, 0.001070179045200348, -0.0020187401678413153, -0.0681668221950531, -0.0038567138835787773, -0.01509858574718237, 0.044996898621320724, -0.058910124003887177, 0.0028793716337531805, 0.05529004707932472, 0.02445499412715435, 0.040734145790338516, -0.03016202710568905, -0.024994373321533203, 0.031389445066452026, 0.010078154504299164, -0.014111616648733616, 0.046439189463853836, -0.021018343046307564, -0.008850958198308945, -0.026252856478095055, -0.04293554648756981, 0.028249483555555344, 0.07194578647613525, -0.008671906776726246, -0.009708723053336143, -0.023466330021619797, 0.015368619933724403, 0.04193597286939621, 0.03563615679740906, -0.020046092569828033, 0.032604679465293884, 0.06429021805524826, 0.043788108974695206, -0.03621451184153557, 0.03652611002326012, 0.0036979676224291325, -0.04389567673206329, -0.02468670718371868, 0.013974792324006557, -0.0001960343070095405, -0.047758813947439194, 0.016871081665158272, 0.022211721166968346, 0.0035671042278409004, -0.04790220782160759, -0.005454874597489834, 0.05414402112364769, -0.00626322440803051, -0.00042441050754860044, -0.006625848822295666, -0.01923558861017227, -0.03330375999212265, 0.03496812656521797, -0.026589563116431236, 0.002109728753566742, -0.025926770642399788, -0.020872512832283974, 0.022847754880785942, 0.028369344770908356, 0.014215854927897453, 0.058661580085754395, -0.011874949559569359, 0.06349290162324905, -0.04126792401075363, 0.018118005245923996, -0.0433865524828434, -0.05529079586267471, -0.004509730730205774, 0.08744927495718002, 0.025555090978741646, 0.05254415050148964, 0.008524168282747269, -0.04963521286845207, 0.0421040877699852, 0.053066011518239975, 0.06459159404039383, -0.004076114855706692, -0.026307474821805954, -0.007698073983192444, 0.02184741012752056, 0.05189049616456032, -0.03761084005236626, -0.005163770169019699, 0.011143053881824017, 0.03785001486539841, -0.005563516169786453, 0.015342818573117256, -0.016633166000247, 0.036648768931627274, -0.07265085726976395, -0.04868907853960991, 0.02993013896048069, 0.034615062177181244, 0.00629146583378315, 0.038109343498945236, 0.007080649025738239, 0.0266636423766613, 0.02900088019669056, 0.0004344545304775238, 0.003524813335388899, -0.04723835736513138, 0.02126593515276909, -0.006481857970356941, 0.036863282322883606, -0.044907961040735245, 0.03429552912712097, -0.03577388823032379, -0.0019547182600945234, 0.06250691413879395, -0.04687441512942314, 0.017485251650214195, 0.041097722947597504, 0.039942726492881775, -0.024652965366840363, 0.009488391689956188, 0.017639607191085815, 0.03437158092856407, 0.03236710652709007, 0.0007938926573842764, 0.07382659614086151, -0.016721908003091812, 0.039504822343587875, 0.06049971655011177, 0.017950236797332764, 0.017272429540753365, 0.031527385115623474, 0.07304276525974274, 0.011630753986537457, -0.0033040291164070368, 0.05050482600927353, -0.06644990295171738, -0.006192350294440985, -0.06025390326976776, -0.00005030975808040239, -0.033878426998853683, 0.004956041928380728, 0.05485505610704422, 0.03300122171640396, -0.024427339434623718, -0.020467201247811317, -0.018082650378346443, -0.029691295698285103, 0.03363828733563423, -0.00982604455202818, -0.03323351591825485, -0.009914694353938103, -0.027138706296682358, -0.007694405969232321, -0.06488140672445297, -0.03660852089524269, -0.041416168212890625, -0.026601888239383698, -0.011960303410887718, -0.08502483367919922, 0.0017816567560657859, -0.052115872502326965, -0.05383586883544922, 0.030695652589201927, 0.007676863111555576, -0.004869349766522646, -0.048292845487594604, 0.020526602864265442, -0.04058773070573807, -0.04409293457865715, -0.054621800780296326, -0.06872815638780594, -0.04387148097157478, -0.08212540298700333, 0.04723086580634117, 0.02726723812520504, 0.036860447376966476, 0.040599625557661057, 0.008030970580875874, -0.0037160534411668777, -0.014928547665476799, 0.03757584095001221, 0.051577284932136536, -0.037185534834861755, -0.04015921428799629, 0.027733204886317253, -0.004877222236245871, 0.006079079583287239, -0.006914507132023573, -0.005616684444248676, 0.09471070766448975, 0.07177536934614182, 0.0018837112002074718, -0.0023441542871296406, -0.020185476168990135, -0.07027646154165268, -0.0665474534034729, -0.018765892833471298, -0.031086623668670654, 0.006280861329287291, -0.013944434933364391, -0.038271140307188034, -0.018316728994250298, -0.06588206440210342, -0.011049001477658749, -0.017378289252519608, 0.007257486693561077, 0.041045237332582474, 0.0379200242459774, 0.023736383765935898, 0.02557964064180851, -0.06054569408297539, -0.04339088872075081, 0.050243448466062546, -0.013062574900686741, -0.017765892669558525, -0.07994841039180756, -0.02640247717499733, 0.035003695636987686, 0.022727902978658676, 0.007964912801980972, 0.007630540523678064, 0.07664089649915695, -0.013130171224474907, -0.006917081773281097, 0.005505605600774288, -0.012681139633059502, -0.006244031712412834, -0.0024009980261325836, 0.030877772718667984, -0.012620565481483936, -0.051188062876462936, -0.041776251047849655, -0.014210260473191738, 0.03993530198931694, -0.04312993958592415, -0.049390021711587906, -0.024849507957696915, 0.03586074709892273, 0.03397539258003235, 0.01809910126030445, -0.04786476492881775, -0.002999956486746669, -0.06598808616399765, -0.0018182616913691163, 0.035271961241960526, 0.01868932507932186, 0.02497277967631817, 0.022668318822979927, 0.014838292263448238, -0.026691721752285957, 0.05283700302243233, 0.02544829435646534, 0.052015967667102814, 0.021810252219438553, -0.04399385303258896, 0.011094118468463421, -0.019481630995869637, 0.025435393676161766, -0.028404003009200096, -0.02836606465280056, -0.052489496767520905, -0.11457383632659912, -0.03557311370968819, 0.008075068704783916, -0.028868936002254486, -0.006183501798659563, 0.05057583004236221, -0.004343748092651367, -0.034548427909612656, -0.0309147946536541, 0.008166922256350517, 0.04058406874537468, -0.07192254811525345, 0.04730246216058731, 0.011824927292764187, 0.028404274955391884, -0.030075643211603165, 0.008918875828385353, -0.0246305912733078, -0.006804284173995256, -0.004467872437089682, 0.04632816091179848, 0.001734878052957356, 0.07622302323579788, 0.07717952877283096, 0.0334664061665535, -0.05914538353681564, 0.04429126903414726, 0.0532488152384758, -0.025471923872828484, -0.04193076491355896, -0.0010298216948285699, 0.0009852760704234242, -0.007610827684402466, -0.006304800510406494, -0.005215008743107319, 0.01616848073899746, 0.05228564515709877, -0.00003761825792025775, 0.003797622397542, 0.002744190627709031, -0.0222361758351326, -0.027638288214802742, -0.06874047964811325, -0.006182510405778885, 0.02314973622560501, -0.022221596911549568, 0.013591513969004154, 0.025686489418148994, 0.022986717522144318, 0.04944652318954468, 0.034834522753953934, -0.06162130832672119, -0.039945270866155624, -0.0032076381612569094, 0.03846300020813942, -0.012931075878441334, -0.07765080779790878, -0.024087872356176376, 0.0263469647616148, 0.02970084734261036, -0.018945157527923584, -0.0492660216987133, 0.02089879661798477, 0.043985869735479355, -0.04222170263528824, 0.05422166362404823, -0.013651193119585514, 0.038594719022512436, 0.055789437144994736, -0.024683767929673195, 0.03688180074095726, -0.02497531846165657, -0.005035612732172012, 0.0009685815894044936, 0.02614375203847885, -0.003747512586414814, -0.021016040816903114, -0.054575011134147644, 0.043333105742931366, 0.032431356608867645, 0.042852822691202164, 0.04468829184770584, -0.02397787757217884, -0.06354167312383652, 0.011183805763721466, 0.02011803351342678, -0.041741564869880676, 0.014097665436565876, 0.05972897633910179, 0.017660032957792282, -0.04247705265879631, -0.05600899085402489, -0.034752849489450455, -0.03424122557044029, -0.004605610389262438, 0.016486892476677895, -0.04524847865104675, -0.027736784890294075, 0.020611299201846123, -0.022097155451774597, -0.013410094194114208, -0.058915961533784866, 0.03351813554763794, 0.001528955064713955, -0.009504555724561214, 0.06202148646116257, 0.04356212541460991, 0.014777740463614464, 0.05771039426326752, 0.033204734325408936, 0.03478335961699486, -0.03457747399806976, 0.03966245800256729, -0.02693125791847706, -0.0069815050810575485, -0.007432695012539625, -0.05127095431089401, -0.019836384803056717, -0.04547904431819916, -0.05829595401883125, -0.029552454128861427, -0.01771100051701069, -0.01204265933483839, -0.020139995962381363, -0.016824034973978996, -0.004958245437592268, 0.04893840104341507, -0.032122477889060974, -0.020967354997992516, -0.03641693666577339, -0.013378506526350975, -0.05449450761079788, -0.061085183173418045, 0.03434370085597038, 0.014447474852204323, 0.05229836329817772, 0.02609599009156227, 0.02462698519229889, 0.033857595175504684, -0.0044492874294519424, -0.026971936225891113, 0.0012346085859462619, -0.0021920199505984783, 0.0024054956156760454, -0.019815895706415176, 0.0054447888396680355, 0.0076348562724888325, 0.006814586464315653, -0.018920453265309334, 0.02070465497672558, 0.01399138942360878, 0.013189018703997135, -0.022651663050055504, 0.008673714473843575, 0.01688317209482193, -0.05868716537952423, -0.0047606974840164185, -0.009428495541214943, -0.0403774194419384, 0.01638134755194187, -0.0508238822221756, -0.021507712081074715, 0.0016694500809535384, -0.021304355934262276, 0.05752484127879143, -0.04075974225997925, -0.027199475094676018, 0.02724333107471466, -0.035309143364429474, 0.03101227805018425, -0.0437905415892601, 0.04768924042582512, -0.020703649148344994, -0.004827144090086222, -0.014166275039315224, 0.013685643672943115, -0.03676773980259895, 0.05161533132195473, -0.01816815324127674, -0.03262963518500328, -0.01290278509259224, 0.014487208798527718, -0.02647869847714901, 0.037377048283815384, 0.0038814295548945665, 0.021569909527897835, -0.03475183993577957, 0.056837353855371475, -0.01846291869878769, 0.03288916498422623, -0.04180600866675377, 0.0006916861748322845, -0.013359449803829193, -0.00003147904499201104, -0.01804945431649685, -0.0318790078163147, 0.053942348808050156, 0.04115276038646698, 0.020949587225914, 0.022761352360248566, -0.011499547399580479, -0.019224107265472412, 0.013555281795561314, -0.06140989437699318, -0.03215675801038742, 0.010906151495873928, 0.0048219081945717335, -0.010614063590765, 0.05835944786667824, 0.05024305358529091, -0.03322222828865051, -0.05810733512043953, 0.03155655413866043, 0.01529720425605774, 0.02081049233675003, 0.0075633591040968895, 0.036009375005960464, 0.026492496952414513, 0.052526190876960754, -0.03637901693582535, 0.022977186366915703, -0.02043781243264675, -0.043418511748313904, 0.029391277581453323, -0.006193432491272688, 0.04167512059211731, 0.005833907518535852, -0.03722012788057327, -0.02244391292333603, 0.052982646971940994, 0.04775545746088028, 0.0142264598980546, -0.014375829137861729, -0.047192879021167755, 0.04040416330099106, 0.010943608358502388, -0.04610075056552887, 0.019605742767453194, 0.019784478470683098, -0.014977606944739819, 0.07849785685539246, -0.012061664834618568, 0.001567299012094736, 0.04365263879299164, 0.033485282212495804, -0.012305068783462048, 0.027827436104416847, -0.046876631677150726, 0.005713335704058409, 0.05290184170007706, -0.06880580633878708, -0.00621471181511879, -0.025619972497224808, 0.07467501610517502, -0.047163378447294235, 0.04516800493001938, 0.03790934383869171, 0.006065004039555788, -0.0011102792341262102, -0.022416934370994568, -0.054877642542123795, 0.0027883758302778006, -0.04939508065581322, 0.08606211841106415, -0.00959918461740017, -0.07208400219678879, 0.07648700475692749, -0.003922070376574993, -0.07488942891359329, 0.05986010655760765, 0.038392432034015656, 0.03381640836596489, 0.03450782597064972, 0.040967486798763275, -0.06735479086637497, 0.0020932925399392843, -0.03352125361561775, 0.02798409014940262, -0.050504110753536224, -0.021952051669359207, 0.05212303623557091, -0.04854346066713333, -0.02283366210758686, 0.04734662175178528, -0.0005402539973147213, -0.0075462269596755505, 0.04667764902114868, -0.06039030849933624, -0.022218765690922737, 0.020387420430779457, 0.00904217828065157, -0.041286028921604156, 0.035414546728134155, -0.02244509570300579, 0.026088843122124672, 0.035112205892801285, -0.01020656805485487, -0.024648385122418404, 0.008567011915147305, 0.011519871652126312, -0.04791957885026932, -0.04948755353689194, 0.0240231491625309, 0.02012569271028042, -0.010969173163175583, 0.03399747610092163, 0.02095687761902809, 0.020193831995129585, 0.01738107204437256, -0.008263526484370232, 0.0434088297188282, -0.06934023648500443, -0.0066414400935173035, 0.024794798344373703, 0.023368079215288162, 0.03843769058585167, -0.01909029856324196, 0.04248568043112755, 0.006143349688500166, 0.01838701404631138, -0.016330132260918617, -0.01567746326327324, -0.043632734566926956, 0.021276365965604782, -0.019235769286751747, 0.01672031730413437, 0.01617044024169445, -0.06479707360267639, -0.02524382993578911, -0.03228576108813286, -0.04373672604560852, 0.044284798204898834, -0.07072379440069199, -0.007799803279340267, 0.03423529118299484, 0.007405216805636883, -0.056786369532346725, -0.08453930914402008, -0.0007409498794004321, -0.05877905339002609, 0.009470639750361443, 0.02707720547914505, -0.05777744576334953, 0.03617851436138153, -0.0460987351834774, -0.0468776598572731, 0.03638571500778198, 0.021026773378252983, -0.007090903352946043, 0.043966859579086304, 0.04925447702407837, -0.04370074346661568, 0.02558893896639347, 0.01831546053290367, -0.058862797915935516, -0.0003755479119718075, 0.028711529448628426, 0.005147922318428755, 0.039657168090343475, -0.0021003982983529568, -0.013148833997547626, -0.030175501480698586, -0.06928438693284988, -0.03310916945338249, -0.034527599811553955, 0.012364302761852741, 0.07724655419588089 ]
BigSalmon/InformalToFormalLincoln23
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
5
2021-12-13T18:58:12Z
--- language: de datasets: - common_voice metrics: - wer - cer tags: - audio - automatic-speech-recognition - speech - xlsr-fine-tuning-week - hf-asr-leaderboard license: apache-2.0 model-index: - name: XLSR Wav2Vec2 German with LM by Florian Zimmermeister @A\\Ware results: - task: name: Speech Recognition type: automatic-speech-recognition dataset: name: Common Voice de type: common_voice args: de metrics: - name: Test WER type: wer value: 5.7467896819046755 - name: Test CER type: cer value: 1.8980142607670552 --- **Test Result** | Model | WER | CER | | ------------- | ------------- | ------------- | | flozi00/wav2vec2-large-xlsr-53-german-with-lm | **5.7467896819046755%** | **1.8980142607670552%** | ## Evaluation The model can be evaluated as follows on the German test data of Common Voice. ```python import torchaudio.functional as F import torch from transformers import AutoModelForCTC, AutoProcessor import re from datasets import load_dataset, load_metric CHARS_TO_IGNORE = [",", "?", "¿", ".", "!", "¡", ";", ";", ":", '""', "%", '"', "�", "ʿ", "·", "჻", "~", "՞", "؟", "،", "।", "॥", "«", "»", "„", "“", "”", "「", "」", "‘", "’", "《", "》", "(", ")", "[", "]", "{", "}", "=", "`", "_", "+", "<", ">", "…", "–", "°", "´", "ʾ", "‹", "›", "©", "®", "—", "→", "。", "、", "﹂", "﹁", "‧", "~", "﹏", ",", "{", "}", "(", ")", "[", "]", "【", "】", "‥", "〽", "『", "』", "〝", "〟", "⟨", "⟩", "〜", ":", "!", "?", "♪", "؛", "/", "\\", "º", "−", "^", "ʻ", "ˆ"] chars_to_ignore_regex = f"[{re.escape(''.join(CHARS_TO_IGNORE))}]" counter = 0 wer_counter = 0 cer_counter = 0 def main(): model = AutoModelForCTC.from_pretrained("flozi00/wav2vec2-large-xlsr-53-german-with-lm") processor = AutoProcessor.from_pretrained("flozi00/wav2vec2-large-xlsr-53-german-with-lm") wer = load_metric("wer") cer = load_metric("cer") ds = load_dataset("common_voice", "de", split="test") #ds = ds.select(range(100)) def calculate_metrics(batch): global counter, wer_counter, cer_counter resampled_audio = F.resample(torch.tensor(batch["audio"]["array"]), 48_000, 16_000).numpy() input_values = processor(resampled_audio, return_tensors="pt", sampling_rate=16_000).input_values with torch.no_grad(): logits = model(input_values).logits.numpy()[0] decoded = processor.decode(logits) pred = decoded.text ref = re.sub(chars_to_ignore_regex, "", batch["sentence"]).upper() wer_result = wer.compute(predictions=[pred], references=[ref]) cer_result = cer.compute(predictions=[pred], references=[ref]) counter += 1 wer_counter += wer_result cer_counter += cer_result print(f"WER: {(wer_counter/counter)*100} | CER: {(cer_counter/counter)*100}") return batch ds.map(calculate_metrics, remove_columns=ds.column_names) main() ``` Credits: The Acoustic model is an copy of [jonatasgrosman's model](https://huggingface.co/jonatasgrosman/wav2vec2-large-xlsr-53-german) I used to train an matching kenlm language model for
[ -0.017803018912672997, -0.017546521499753, -0.02063162997364998, 0.04439866542816162, 0.05774802342057228, 0.029400642961263657, -0.017607038840651512, -0.007403702009469271, -0.042800989001989365, 0.0680670514702797, 0.037746530026197433, -0.03313241899013519, -0.013198106549680233, 0.02851998433470726, -0.027995139360427856, -0.05041425675153732, -0.01918216608464718, -0.022445637732744217, -0.07064564526081085, -0.021401505917310715, -0.018773376941680908, 0.022562144324183464, -0.011450141668319702, 0.02330758608877659, 0.0007572030299343169, 0.0034566239919513464, -0.011658540926873684, 0.030218465253710747, 0.007040712516754866, -0.06355378031730652, -0.02201836369931698, -0.019587090238928795, -0.029200877994298935, -0.04656149074435234, -0.025907455012202263, 0.0015526080969721079, 0.0022633743938058615, 0.01556752622127533, 0.01759103499352932, 0.034797877073287964, -0.0067549883387982845, 0.030933916568756104, -0.025442898273468018, -0.01558624766767025, 0.031197283416986465, 0.00868653692305088, -0.02999429777264595, -0.04488048329949379, 0.02933456003665924, -0.046606436371803284, -0.03658868372440338, -0.05879836902022362, -0.007929151877760887, 0.033276259899139404, -0.017724571749567986, -0.0068837967701256275, -0.05560876429080963, -0.0035632732324302197, 0.0703544020652771, -0.03800462558865547, -0.03109073080122471, 0.029971621930599213, -0.07545989751815796, 0.010226665064692497, 0.033225227147340775, -0.055297959595918655, 0.0000015567997024845681, -0.039502330124378204, 0.024873463436961174, -0.023607127368450165, 0.07025288045406342, -0.0339980311691761, 0.018274227157235146, -0.09703059494495392, 0.009718580171465874, -0.026808133348822594, 0.04073000326752663, 0.024002937600016594, -0.034817762672901154, 0.05089319124817848, 0.026131879538297653, 0.006492594722658396, 0.03429972380399704, -0.030847035348415375, 0.008335759863257408, 0.05060188099741936, -0.034813668578863144, 0.014948969706892967, 0.011123759672045708, 0.05475302413105965, -0.03584260120987892, -0.04419105127453804, 0.00179580959957093, -0.054784711450338364, -0.005524602252990007, 0.03307143598794937, 0.03621058166027069, -0.023261867463588715, 0.040597546845674515, 0.025796541944146156, 0.013015511445701122, 0.03356822580099106, -0.009884237311780453, 0.04723358154296875, -0.02321540378034115, -0.010130251757800579, -0.004134607035666704, -0.02877866104245186, -0.03527005761861801, 0.02519550547003746, 0.0249271709471941, -0.03708811104297638, -0.026482470333576202, 0.039744783192873, 0.019982565194368362, -0.029229655861854553, 0.057428594678640366, -0.038508620113134384, -0.04001389816403389, -0.055190227925777435, 0.04263085126876831, 0.01909135840833187, 0.00829931441694498, 0.029993409290909767, -0.04565054923295975, 0.018464740365743637, -0.06494293361902237, -0.033101752400398254, 0.0178897175937891, 0.004642840009182692, -0.004466209094971418, 0.03791411966085434, 0.017592094838619232, -0.05467020720243454, 0.006148687098175287, 0.005637651775032282, -0.05655592679977417, 0.03574443608522415, 0.014304161071777344, 0.09078698605298996, -0.04635394737124443, -0.04805605486035347, 0.025060055777430534, 0.0019243209389969707, -0.006141097284853458, 0.022238612174987793, 0.01074756309390068, -0.017235640436410904, -0.04370475560426712, -0.009072797372937202, 0.05686444416642189, -0.06925482302904129, 0.0011403983226045966, 0.054960016161203384, -0.027395276352763176, 0.0522269532084465, -0.014360147528350353, -0.0052755288779735565, 0.013548043556511402, -0.016712825745344162, -0.021315494552254677, 0.029108166694641113, -0.001926298951730132, -0.031430844217538834, -0.036516983062028885, -0.04424367845058441, -0.008773383684456348, 0.0675840675830841, -0.001379684079438448, 0.00782882608473301, -0.02703586034476757, 0.020068075507879257, 0.03053569793701172, 0.029928795993328094, -0.05600844696164131, 0.03603951632976532, 0.0645056888461113, 0.055238790810108185, -0.00707626435905695, 0.08552568405866623, 0.013393383473157883, -0.030417120084166527, -0.038602810353040695, 0.02653079479932785, 0.0009782228153198957, -0.019198771566152573, -0.006162067875266075, 0.062326934188604355, -0.0022363769821822643, -0.02404920570552349, -0.018833059817552567, 0.049581196159124374, -0.01580222323536873, -0.010117343626916409, -0.008069413714110851, -0.009055864997208118, -0.03440674766898155, 0.037088461220264435, -0.02107955887913704, 0.013330399058759212, -0.018886977806687355, -0.03299684450030327, 0.01074729859828949, 0.0276830792427063, 0.032001297920942307, 0.055378250777721405, 0.00471283495426178, 0.07606398314237595, -0.046233661472797394, 0.013008637353777885, -0.044618893414735794, -0.05429084599018097, -0.004635812249034643, 0.04839090257883072, 0.040846601128578186, 0.061700742691755295, -0.017550727352499962, -0.04691376909613609, 0.027711674571037292, 0.06605703383684158, 0.0653868019580841, 0.022290220484137535, -0.024666937068104744, -0.015539526008069515, 0.03263850510120392, 0.04922991245985031, -0.06891657412052155, -0.036271750926971436, 0.0072576552629470825, 0.04134119674563408, -0.007257117424160242, 0.014895528554916382, -0.018822260200977325, 0.03693098947405815, -0.053921621292829514, -0.07468298077583313, 0.06261717528104782, 0.00925535336136818, 0.026372462511062622, 0.039321914315223694, -0.008347808383405209, 0.004609455354511738, 0.022042354568839073, 0.01002200972288847, 0.02034434862434864, -0.0513172447681427, 0.006029895041137934, 0.014204827137291431, 0.028725018724799156, -0.048743315041065216, 0.037798672914505005, -0.025038691237568855, 0.0060233306139707565, 0.022294064983725548, -0.058142777532339096, 0.030408883467316628, -0.001694565755315125, 0.011375458911061287, -0.03986015543341637, 0.029590673744678497, 0.0045833527110517025, 0.028427952900528908, 0.054605599492788315, -0.0052191102877259254, 0.04669973626732826, 0.02029917947947979, 0.04528956115245819, 0.09637033939361572, 0.03577424958348274, 0.003867996158078313, 0.021007129922509193, 0.05630851909518242, -0.0014028572477400303, -0.029089460149407387, 0.06368880718946457, -0.05235287919640541, 0.015446963720023632, -0.026868242770433426, -0.0016045202501118183, 0.004118771757930517, 0.003080786671489477, 0.006192909087985754, 0.0020065896678715944, -0.021848198026418686, 0.014491833746433258, -0.02978428453207016, -0.009965842589735985, 0.04673274606466293, -0.03085409477353096, -0.011620886623859406, -0.002675859723240137, -0.01611596718430519, 0.015886448323726654, -0.08571072667837143, -0.029836555942893028, -0.005958120338618755, -0.03494594991207123, 0.007211022544652224, -0.057686224579811096, -0.02975364215672016, -0.060576166957616806, -0.009403856471180916, 0.02394809201359749, 0.010672174394130707, 0.00011651812383206561, -0.029353972524404526, 0.01578284427523613, -0.04633885994553566, -0.04670339077711105, -0.05275440216064453, -0.02042846754193306, -0.04396199434995651, -0.07312657684087753, 0.03894639015197754, 0.02259312942624092, 0.03842996433377266, -0.009288258850574493, -0.0014943453716114163, -0.040371138602495193, -0.03134884312748909, 0.06236438825726509, 0.03402196243405342, -0.03151614964008331, -0.050145141780376434, 0.03137340396642685, -0.040077731013298035, 0.013810409232974052, 0.01130677666515112, -0.045816946774721146, 0.07873283326625824, 0.07436098158359528, 0.012221024371683598, 0.022502915933728218, -0.02079489640891552, -0.04770071804523468, -0.061409659683704376, -0.02227586880326271, -0.042757585644721985, -0.01807260513305664, -0.031366217881441116, -0.03269576653838158, -0.02350473962724209, -0.013515430502593517, -0.003082525683566928, -0.016224035993218422, 0.01398845762014389, 0.043058935552835464, 0.0412781722843647, 0.03514349088072777, 0.021078746765851974, -0.03597274795174599, -0.03922188654541969, 0.09413506090641022, 0.02225736528635025, 0.009119976311922073, -0.08505939692258835, -0.027078766375780106, 0.005718597676604986, 0.016792427748441696, -0.005536398384720087, -0.0074464972130954266, 0.08483127504587173, -0.0013262358261272311, -0.016264041885733604, 0.0011669315863400698, -0.02233820967376232, -0.030037758871912956, -0.0007014850853011012, -0.0147998733446002, -0.010518060997128487, -0.06810883432626724, -0.015657316893339157, 0.020173853263258934, 0.04784512147307396, -0.05501306802034378, -0.057781193405389786, -0.01199845690280199, 0.04645369201898575, 0.03112885169684887, -0.012087159790098667, -0.028896402567625046, 0.008029427379369736, -0.05684651434421539, -0.036423251032829285, 0.009935482405126095, 0.026197470724582672, 0.002540555316954851, 0.04126935452222824, 0.0053143976256251335, -0.03862547501921654, 0.051332276314496994, 0.03081396222114563, 0.05630089342594147, 0.029058540239930153, -0.04147818684577942, 0.014656653627753258, -0.022157352417707443, -0.0006557648302987218, -0.013589562848210335, -0.03400515019893646, -0.03263707086443901, -0.08865994960069656, -0.016161736100912094, 0.03169999271631241, -0.01829269714653492, -0.021426821127533913, 0.026286186650395393, 0.00493454746901989, 0.02550530806183815, -0.002675306750461459, 0.019568923860788345, 0.03651316836476326, -0.051385194063186646, 0.028305746614933014, -0.0003877835115417838, 0.03446599468588829, -0.08449958264827728, 0.026222439482808113, -0.024053044617176056, -0.027375301346182823, 0.0071782311424613, 0.07192408293485641, 0.013868940062820911, 0.028134621679782867, 0.08585768193006516, 0.028662754222750664, -0.03949354216456413, 0.029154924675822258, 0.04005981609225273, -0.02773107774555683, -0.05001208931207657, 0.010137892328202724, -0.022351717576384544, -0.05513506382703781, 0.017568642273545265, -0.044882632791996, 0.051057033240795135, 0.026047363877296448, 0.0023239615838974714, -0.0361572727560997, 0.019178740680217743, -0.02483169548213482, -0.016714666038751602, -0.05748859420418739, -0.06541384756565094, 0.015014752745628357, -0.022866608574986458, 0.05211144685745239, 0.04038567468523979, 0.00848845299333334, 0.07117384672164917, 0.043496694415807724, -0.036760807037353516, -0.02435179613530636, 0.040105096995830536, 0.023024361580610275, -0.055249039083719254, -0.05556565523147583, -0.03805467486381531, 0.05990339443087578, 0.03864911198616028, 0.0003708454023580998, -0.0776781439781189, -0.003165771719068289, 0.09143991023302078, -0.018263863399624825, 0.07012554258108139, -0.01332774292677641, 0.0509527213871479, 0.06588438898324966, -0.015612835064530373, 0.02319333888590336, -0.029318690299987793, 0.008434012532234192, -0.002474419539794326, 0.026867400854825974, -0.009104087017476559, -0.03400292620062828, -0.062132373452186584, 0.02342122793197632, 0.023242637515068054, 0.03680839762091637, 0.04769542068243027, -0.02795661985874176, -0.05804095417261124, 0.012238539755344391, 0.021706413477659225, -0.03256421163678169, 0.03057166561484337, 0.03823484480381012, 0.029464207589626312, -0.02816939726471901, -0.014503234066069126, -0.027589770033955574, 0.009908600710332394, 0.025529254227876663, 0.010487783700227737, -0.039852745831012726, -0.045280974358320236, 0.026172304525971413, -0.030501147732138634, -0.044271960854530334, -0.07940591871738434, 0.0293330866843462, -0.02584567852318287, -0.015793804079294205, 0.06070555001497269, 0.028243569657206535, 0.040878184139728546, 0.02957589365541935, 0.002804252551868558, 0.0060852887108922005, -0.031249163672327995, 0.03172612562775612, -0.02200421877205372, -0.02807113528251648, -0.02809903956949711, -0.022790636867284775, -0.017557142302393913, -0.027355030179023743, -0.059577565640211105, -0.04017159715294838, -0.0055491188541054726, 0.04853341728448868, -0.008231131359934807, -0.01599101349711418, -0.021160103380680084, 0.042561523616313934, -0.028036190196871758, -0.03228958696126938, -0.02639538235962391, -0.026643330231308937, -0.06308349967002869, -0.06548339873552322, 0.019993184134364128, -0.009671996347606182, 0.02405550889670849, 0.01946760155260563, 0.0078095076605677605, 0.03381954878568649, -0.0194634310901165, 0.001634708372876048, 0.025200145319104195, -0.013235567137598991, -0.057992856949567795, -0.03068198449909687, 0.024940868839621544, -0.0019156403141096234, 0.05917704105377197, -0.016072558239102364, 0.024402936920523643, 0.02810227870941162, -0.0413961298763752, -0.019235428422689438, 0.015734000131487846, 0.04250112920999527, -0.07065742462873459, -0.0579591728746891, -0.024327542632818222, -0.06658018380403519, 0.013339412398636341, -0.0202178917825222, -0.0033149404916912317, 0.03452093526721001, 0.026378870010375977, 0.02449164167046547, -0.019150560721755028, -0.019153043627738953, 0.016244206577539444, -0.008781349286437035, 0.009882950223982334, -0.04035714268684387, 0.04458681121468544, -0.014501301571726799, 0.005297668743878603, 0.0023304808419197798, -0.018820829689502716, -0.046824079006910324, 0.03422275558114052, -0.013785094022750854, -0.014794142916798592, 0.010674013756215572, 0.01269251573830843, -0.004383628256618977, 0.021231550723314285, -0.026374278590083122, 0.033593401312828064, -0.02713320218026638, 0.056741196662187576, -0.03557410091161728, 0.0006374679505825043, 0.0068377843126654625, -0.009198390878736973, -0.015245748683810234, -0.009222229942679405, 0.01235723402351141, -0.06240153685212135, 0.04417329281568527, 0.06605339050292969, 0.01903444714844227, 0.016725437715649605, -0.03422529250383377, -0.002306162379682064, 0.002078544581308961, -0.03846268355846405, -0.0026702270843088627, -0.011913824826478958, 0.03366047143936157, 0.002276006154716015, 0.044067081063985825, 0.018917588517069817, -0.07093961536884308, -0.07242364436388016, 0.031095944344997406, 0.010494299232959747, -0.009999729692935944, 0.01614844612777233, 0.03391636535525322, 0.022290101274847984, 0.05391275882720947, -0.03075217828154564, -0.00042312112054787576, -0.00400954857468605, -0.021879632025957108, 0.015557720325887203, -0.005524295847862959, 0.0280123483389616, 0.0003161792701575905, -0.02462274394929409, -0.01461487915366888, 0.07527568936347961, -0.008044110611081123, 0.024040596559643745, -0.03431401774287224, -0.032748036086559296, 0.00469294423237443, -0.0068750688806176186, -0.0475284680724144, -0.0009534762357361615, -0.011465087532997131, -0.012673401273787022, 0.08534646034240723, -0.0020520957186818123, 0.010205814614892006, 0.0536380372941494, 0.012816669419407845, -0.015115891583263874, 0.05649358406662941, 0.002094256691634655, 0.0038696397095918655, 0.03499879688024521, -0.0651698112487793, -0.008693241514265537, -0.02913728542625904, 0.0652734786272049, -0.07093524932861328, 0.04296404868364334, 0.04792049527168274, 0.024738969281315804, 0.028222346678376198, -0.020486971363425255, -0.035338252782821655, 0.04084618017077446, -0.039008431136608124, 0.0779082402586937, 0.02675127424299717, -0.038489822298288345, 0.07252517342567444, 0.01447965856641531, -0.11668147146701813, 0.036687225103378296, 0.03606469929218292, 0.040001872926950455, 0.030050093308091164, 0.042465317994356155, -0.050484396517276764, 0.008082670159637928, -0.032482754439115524, 0.018396012485027313, -0.04321325570344925, 0.007235169876366854, 0.01756115071475506, -0.04100567474961281, -0.012011999264359474, 0.01899634301662445, -0.017949678003787994, -0.021624747663736343, 0.011004670523107052, -0.062343478202819824, -0.026660947129130363, 0.00943822506815195, 0.02508990280330181, -0.04538547620177269, 0.008702574297785759, -0.05112758278846741, 0.036045681685209274, 0.03459983319044113, -0.0020550754852592945, -0.017011268064379692, -0.025141708552837372, 0.03238346427679062, -0.0717538371682167, -0.04585949704051018, 0.04716664180159569, 0.007859500125050545, -0.02575664222240448, 0.05602853000164032, 0.004814012907445431, 0.01438699197024107, 0.019845621660351753, 0.009023532271385193, 0.010641440749168396, -0.04980898275971413, -0.024303847923874855, -0.009561066515743732, 0.0314578078687191, 0.0061848959885537624, -0.0008776371250860393, 0.04477015882730484, 0.04798557609319687, 0.003476367797702551, 0.0077457120642066, -0.03905068337917328, -0.032988350838422775, 0.022719766944646835, -0.037206802517175674, 0.020282769575715065, 0.0062954057939350605, -0.046822067350149155, -0.036550313234329224, -0.017499692738056183, -0.0035435541067272425, 0.025747912004590034, -0.05167531594634056, 0.0031301905401051044, 0.033100105822086334, -0.03423383831977844, -0.03584754094481468, -0.07030023634433746, -0.05100121721625328, -0.0369466133415699, 0.03545293211936951, 0.03373643755912781, -0.04782459884881973, -0.0038180281408131123, -0.05466723442077637, -0.05014786124229431, 0.01068662479519844, 0.023574018850922585, -0.025514425709843636, 0.05937458202242851, 0.04126332700252533, -0.051984429359436035, 0.02301473543047905, 0.04489788040518761, -0.02715534158051014, 0.03724810108542442, 0.011553422547876835, 0.007103374693542719, 0.04333352670073509, 0.03648405522108078, -0.016909699887037277, -0.034996453672647476, -0.06914760917425156, -0.03633704036474228, -0.026210088282823563, -0.00975740421563387, 0.039282672107219696 ]
BigSalmon/InformalToFormalLincoln25
[ "pytorch", "gpt2", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
10
null
### Model Description GPT-J 6B is a transformer model designed using EleutherAI's replication of the GPT-3 architecture. GPT-J refers to the class of models, while 6B represents the number of parameters of this particular pre-trained model. The original GPT-J-6B model is trained with TPUs, which is not easy to use for normal users. Thus, through a converting script, we convert the TPU version GPT-J-6B into GPU version, which could be load and fine-tuned with GPUs. As we have tried, the model can be loaded with 1 GPU with 16G memory to do inference. For fine-tune, we used 8 * 32G GPUs with DeepSpeed library to distribute the model, data and gradients, in order to allocate the huge amount of model parameters.
[ -0.06184597313404083, -0.007716928608715534, -0.01821977272629738, 0.02163594774901867, 0.04829315096139908, 0.030699430033564568, 0.011836481280624866, -0.0008898843079805374, -0.02384660579264164, 0.020914917811751366, 0.02010580338537693, -0.029421405866742134, 0.006017367821186781, 0.0464356355369091, -0.028684725984930992, -0.028992535546422005, 0.006638378370553255, 0.005261186044663191, -0.027468426153063774, 0.004093856085091829, 0.002404418308287859, -0.022957846522331238, 0.025683684274554253, 0.028130166232585907, -0.02261216565966606, 0.012390864081680775, 0.010957615450024605, 0.005085687153041363, 0.017465824261307716, -0.08027204126119614, 0.0109620476141572, -0.05609957128763199, -0.035856943577528, -0.01310558058321476, -0.03191144019365311, 0.004010139498859644, 0.005985625088214874, 0.017361287027597427, 0.03953908756375313, 0.0582650862634182, -0.015235522761940956, -0.016205785796046257, 0.007528755813837051, -0.04340497404336929, 0.017535900697112083, 0.01188558991998434, -0.014164410531520844, -0.0034690829925239086, 0.023211650550365448, 0.00310142757371068, -0.05206631124019623, -0.0750340148806572, -0.022853678092360497, -0.012572765350341797, 0.011096691712737083, -0.02648051641881466, -0.046881355345249176, -0.026595819741487503, 0.05658486858010292, -0.05747201666235924, -0.044609084725379944, 0.018565068021416664, -0.0708911344408989, 0.00691204471513629, 0.013247325085103512, -0.007479947991669178, 0.02579343505203724, -0.035867370665073395, 0.034451086074113846, -0.018403351306915283, 0.037801291793584824, -0.03482408449053764, 0.031110187992453575, -0.09370420128107071, -0.021994778886437416, 0.003991392906755209, 0.014851003885269165, 0.05571351945400238, -0.0491710901260376, 0.033819809556007385, 0.016662972047924995, 0.013517358340322971, 0.03302587941288948, -0.013809755444526672, -0.018841316923499107, 0.03131668269634247, -0.05115306377410889, -0.005889098159968853, 0.005652209743857384, 0.06523626297712326, -0.06057572737336159, -0.04366545379161835, -0.054831501096487045, -0.046706393361091614, -0.003382936818525195, 0.03998637571930885, 0.024144580587744713, 0.00025292494683526456, 0.04703577980399132, 0.027614692226052284, 0.06990181654691696, 0.026246609166264534, -0.015727512538433075, 0.0475936233997345, 0.036233287304639816, -0.007863217033445835, -0.017407631501555443, -0.0558936782181263, -0.023529764264822006, 0.02026875875890255, 0.041138239204883575, -0.04466302692890167, -0.03769378364086151, 0.047274149954319, 0.00014839533832855523, 0.0001848787214839831, 0.07046246528625488, -0.01374935545027256, -0.018696075305342674, -0.04583172872662544, 0.045898452401161194, 0.0396149680018425, 0.013674936257302761, 0.021592343226075172, -0.057062309235334396, 0.029489682987332344, -0.03237870708107948, -0.01632092148065567, -0.010949671268463135, 0.0021554268896579742, -0.014929081313312054, 0.045214105397462845, 0.04557712376117706, -0.046423282474279404, 0.030594857409596443, 0.03516538441181183, -0.05230804160237312, 0.048808708786964417, 0.008266817778348923, 0.0909419134259224, -0.1041499450802803, -0.033587608486413956, 0.04417702555656433, 0.02706771343946457, -0.017872951924800873, 0.018342887982726097, 0.003237718716263771, -0.0634775385260582, -0.05287696421146393, -0.026514405384659767, 0.06403950601816177, -0.020207207649946213, -0.029732931405305862, 0.05163765326142311, -0.007327479310333729, 0.017458966001868248, -0.04185198247432709, -0.0059289755299687386, -0.00009046337800100446, -0.0116317393258214, -0.04537358507514, 0.03134753182530403, -0.04416812211275101, -0.01875854656100273, -0.04198732599616051, -0.013065437786281109, 0.0015178390312939882, 0.08592219650745392, 0.014913814142346382, -0.012292156927287579, -0.009995155967772007, 0.024859460070729256, 0.009572114795446396, 0.05553288012742996, -0.0347735770046711, 0.06365477293729782, 0.027349574491381645, -0.0013563815737143159, 0.005206751637160778, 0.0646502822637558, 0.03578824922442436, -0.02055453322827816, -0.01983264647424221, 0.005478898994624615, 0.008806902915239334, -0.04439779743552208, 0.010721885599195957, 0.006856571417301893, -0.013142145238816738, -0.05882002040743828, -0.012811771593987942, 0.05157756432890892, 0.0013728323392570019, 0.007452172227203846, 0.026508208364248276, -0.03973282501101494, -0.02560579590499401, 0.029312370344996452, -0.03351253643631935, -0.0009918183786794543, -0.025649117305874825, -0.021318363025784492, 0.0070593939162790775, 0.0031696574296802282, 0.02446577325463295, 0.0648876503109932, -0.006766752805560827, 0.05511689931154251, -0.03236325830221176, 0.012873602099716663, -0.05200278013944626, -0.03459707275032997, 0.022821925580501556, 0.03905855119228363, 0.008679895661771297, 0.01273905299603939, -0.004512959159910679, -0.037535861134529114, 0.03211098909378052, 0.06194223463535309, 0.04663041979074478, 0.025462614372372627, -0.05704008787870407, 0.012116498313844204, 0.03552014380693436, 0.06131526455283165, -0.058966320008039474, -0.055339738726615906, 0.024040382355451584, 0.030569948256015778, 0.00897096749395132, 0.04503047466278076, -0.02263696677982807, 0.02473667450249195, -0.05069444328546524, -0.06206353008747101, 0.02745876833796501, 0.032329726964235306, 0.00031190316076390445, 0.022763658314943314, -0.0032311780378222466, -0.034970805048942566, 0.0127990348264575, -0.019524969160556793, -0.01261044479906559, -0.04072633385658264, 0.013447564095258713, 0.013125126250088215, 0.04330956190824509, -0.024393215775489807, 0.03953969106078148, 0.011742069385945797, 0.020136255770921707, 0.020008692517876625, -0.0014081211993470788, 0.00828097015619278, 0.05062069371342659, -0.005671544931828976, -0.01158351730555296, 0.02084510214626789, -0.007619197480380535, 0.037108439952135086, 0.03667705878615379, 0.015203699469566345, 0.08707540482282639, 0.00032292617834173143, 0.050220590084791183, 0.0876043289899826, 0.003642978146672249, 0.031777553260326385, 0.052521370351314545, 0.08169113844633102, 0.017555469647049904, 0.01402597688138485, 0.02611585147678852, -0.03557199239730835, 0.015289056114852428, -0.05527159944176674, 0.001977685373276472, -0.0001929670397657901, -0.018148593604564667, 0.08117950707674026, 0.02294977940618992, 0.02604328840970993, 0.006417089607566595, 0.0036553661338984966, -0.025906261056661606, 0.03107013925909996, -0.02379688434302807, -0.02650153636932373, 0.017793649807572365, 0.010271461680531502, 0.00861776527017355, -0.0692664384841919, -0.02481601946055889, -0.00703277625143528, -0.04684637859463692, 0.004794385749846697, -0.10231034457683563, -0.018684232607483864, -0.07666727155447006, -0.010321662761271, 0.04689125344157219, 0.021835314109921455, -0.017538495361804962, -0.06455102562904358, 0.031013701111078262, -0.019319897517561913, -0.03915758803486824, -0.06493694335222244, -0.06349187344312668, -0.026399578899145126, -0.0741678923368454, 0.004184205550700426, 0.032866209745407104, 0.01625453308224678, -0.03696414828300476, 0.03289572894573212, 0.007680900860577822, -0.02874533087015152, 0.062121473252773285, 0.03409375622868538, -0.031752388924360275, -0.041889738291502, 0.034238941967487335, 0.001890321378596127, -0.0058033461682498455, -0.012893971987068653, -0.02535521611571312, 0.11355392634868622, 0.06904146820306778, 0.01752222515642643, 0.01989860087633133, -0.05636050924658775, -0.058641720563173294, -0.04663531109690666, -0.014853437431156635, -0.0704527273774147, 0.0031522081699222326, -0.00417555496096611, -0.031218895688652992, -0.024282682687044144, -0.07239516079425812, 0.0009372893837280571, 0.005598773248493671, 0.011932372115552425, 0.038927722722291946, 0.05778816342353821, 0.031533949077129364, 0.03748634085059166, -0.03249857947230339, -0.021112948656082153, 0.054787177592515945, 0.001477982965297997, -0.007731603924185038, -0.03431475907564163, 0.004459636751562357, 0.05387229844927788, 0.03496086224913597, 0.01219208538532257, 0.001320340670645237, 0.07654191553592682, 0.013957635499536991, -0.0007784570916555822, 0.03506111353635788, -0.03565775975584984, -0.005665468517690897, -0.03187886252999306, -0.0009717720095068216, -0.03555208817124367, -0.021901533007621765, -0.032567474991083145, -0.021155528724193573, 0.03260156512260437, -0.05862366408109665, -0.07554199546575546, -0.0026015215553343296, 0.040431421250104904, 0.03189168497920036, 0.02044910565018654, -0.0516560897231102, 0.015318898484110832, -0.036628156900405884, -0.01743696630001068, 0.028329232707619667, -0.002342712366953492, 0.011342483572661877, 0.03919662535190582, 0.02392827719449997, 0.004357016179710627, 0.04808671772480011, 0.04303806275129318, 0.06071064993739128, 0.030989380553364754, -0.03608197346329689, 0.00429031066596508, -0.00995794590562582, 0.059329669922590256, -0.0031330690253525972, -0.016166040673851967, -0.037759505212306976, -0.09141016751527786, -0.02438131719827652, -0.007425498217344284, -0.022927070036530495, 0.006895037833601236, 0.03584141284227371, 0.025612972676753998, -0.035723939538002014, -0.013172101229429245, 0.02725325897336006, 0.019623734056949615, -0.03682665899395943, 0.046324923634529114, 0.005787048023194075, 0.03306778892874718, -0.047565337270498276, -0.019836392253637314, -0.06064482033252716, -0.03220817819237709, 0.0011939724208787084, 0.05101398751139641, 0.04560539871454239, 0.09661512076854706, 0.0822923555970192, -0.01748616434633732, -0.03361755982041359, 0.01937440223991871, 0.06748468428850174, -0.02248995192348957, -0.04107638821005821, -0.018893113359808922, -0.04416106268763542, -0.0015800179680809379, -0.011225994676351547, 0.0015313467010855675, 0.03553561493754387, 0.02403632365167141, 0.0009841006249189377, 0.04352620616555214, -0.033599648624658585, -0.007006253115832806, -0.03639627620577812, -0.05314711108803749, 0.0055000754073262215, 0.01594550721347332, -0.011445596814155579, -0.00003797740282607265, 0.027821630239486694, 0.028403999283909798, 0.07289246469736099, 0.03127794340252876, -0.029935119673609734, -0.031151818111538887, 0.013215838000178337, 0.024126829579472542, -0.037554845213890076, -0.07667390257120132, -0.0502890907227993, 0.02921689860522747, 0.03607712686061859, -0.036507297307252884, -0.05292277783155441, -0.0015220073983073235, 0.0518941655755043, -0.03245892375707626, 0.045450255274772644, -0.04210958629846573, 0.04111546650528908, 0.07512306421995163, -0.01346741896122694, -0.0012479095021262765, -0.03288717940449715, 0.010125276632606983, 0.015065215528011322, 0.03704250231385231, -0.02446548454463482, -0.03627479448914528, -0.054401788860559464, 0.022458309307694435, 0.04326699301600456, 0.05491819232702255, 0.035588596016168594, 0.010507665574550629, -0.06958349794149399, 0.005448639392852783, 0.039993010461330414, -0.014802969992160797, 0.008328905329108238, 0.020775850862264633, 0.03638770803809166, -0.057671062648296356, -0.03785543516278267, -0.030758550390601158, -0.013132012449204922, 0.03580097481608391, -0.012939955107867718, -0.019874470308423042, -0.04187216982245445, 0.007142866961658001, -0.012613954953849316, -0.03448943793773651, -0.09362662583589554, 0.05166102573275566, -0.003976059146225452, -0.0140373008325696, 0.0423378124833107, 0.042442113161087036, 0.0030919474083930254, 0.07828404009342194, 0.007507463917136192, 0.02747064083814621, -0.06446731835603714, 0.018064426258206367, -0.057790447026491165, -0.028440559282898903, -0.01740270107984543, -0.04798310250043869, -0.016675209626555443, -0.023709217086434364, -0.023444736376404762, -0.03731786087155342, -0.04986714944243431, 0.003755748039111495, -0.013794086873531342, -0.011387687176465988, 0.006603866349905729, 0.0328739695250988, -0.007577540818601847, -0.028025642037391663, -0.042730655521154404, -0.047649431973695755, -0.04758543148636818, -0.05366750434041023, 0.012120339088141918, 0.008897892199456692, 0.009620439261198044, 0.00813414715230465, 0.0038082997780293226, -0.0010738240089267492, 0.0183582603931427, -0.03501444682478905, 0.03210581839084625, 0.023488692939281464, -0.017643192782998085, -0.028654711320996284, 0.00477630877867341, 0.020932938903570175, 0.016143878921866417, 0.0077451374381780624, 0.030077602714300156, 0.01511281356215477, 0.012385489419102669, 0.007523601409047842, 0.047143206000328064, 0.043977946043014526, -0.04969543218612671, -0.008753087371587753, -0.01619681715965271, -0.031551674008369446, 0.021156512200832367, -0.019808702170848846, -0.03307700902223587, -0.004888039547950029, 0.031502436846494675, 0.06355591118335724, 0.04701218008995056, -0.02359955571591854, 0.02897827699780464, -0.03388005495071411, 0.03506212681531906, -0.0355505533516407, 0.04137319326400757, -0.05161816254258156, 0.03485878184437752, -0.00003216206096112728, -0.012592248618602753, -0.02964436076581478, 0.04837712273001671, -0.008356182835996151, -0.02877943217754364, -0.026881752535700798, 0.001478794147260487, -0.030888507142663002, 0.06286825984716415, 0.0076318467035889626, 0.01911831833422184, -0.02195807918906212, 0.06529279798269272, -0.02877807803452015, 0.01397272665053606, -0.021079305559396744, 0.021220074966549873, -0.046901412308216095, -0.024140190333127975, 0.002341870218515396, -0.038000572472810745, 0.0449272096157074, 0.038690999150276184, 0.01673922874033451, 0.015780296176671982, -0.012114647775888443, -0.030731676146388054, 0.013783660717308521, -0.04154333099722862, -0.032012224197387695, -0.015457876026630402, -0.003810910740867257, -0.010952234268188477, 0.04867500811815262, 0.04758962616324425, -0.029760010540485382, -0.03933844715356827, 0.02401629462838173, 0.013910985551774502, 0.011928368359804153, -0.001137068960815668, 0.015052269212901592, 0.02423623390495777, 0.04617469385266304, -0.06662396341562271, 0.005930816754698753, -0.0271750595420599, -0.02618861384689808, 0.01947532594203949, -0.00929975789040327, 0.019200483337044716, 0.0153760751709342, -0.04897307977080345, -0.004277618136256933, 0.06131192296743393, 0.03604895994067192, 0.02066444605588913, -0.0005584230530075729, -0.04885080084204674, 0.004416895564645529, 0.024709399789571762, -0.020244142040610313, -0.0037342372816056013, 0.05027630925178528, -0.037238799035549164, 0.07859788089990616, -0.024540100246667862, 0.0031651838216930628, 0.05117593705654144, 0.01635318621993065, -0.010428523644804955, 0.06643998622894287, -0.0340254120528698, -0.003966758958995342, 0.04376424103975296, -0.049721647053956985, -0.01578967645764351, -0.04119395092129707, 0.07109218835830688, -0.045159414410591125, 0.05709241330623627, 0.015525313094258308, 0.0009509384399279952, -0.016216184943914413, -0.06334336847066879, -0.04267839714884758, 0.016857104375958443, -0.034573279321193695, 0.052026305347681046, -0.0316225029528141, -0.06315749138593674, 0.04496932402253151, 0.009862148202955723, -0.05357364937663078, 0.051225095987319946, 0.05401674285531044, 0.04122850298881531, 0.03790399804711342, 0.040057748556137085, -0.04862019792199135, -0.016203254461288452, -0.03705755993723869, 0.028196964412927628, -0.04748336225748062, -0.017505668103694916, 0.013437047600746155, -0.01929517835378647, -0.01315856259316206, 0.054820626974105835, -0.0015455083921551704, 0.01077326200902462, 0.0484229177236557, -0.040315985679626465, -0.05678272247314453, 0.007446891628205776, 0.01005831453949213, -0.01309047732502222, 0.01253598090261221, -0.04020470008254051, 0.01912085898220539, 0.006591777317225933, -0.003643430070951581, -0.012213642708957195, 0.01170208491384983, 0.02938826009631157, -0.06636901199817657, -0.033288367092609406, 0.0075343637727200985, 0.005894230678677559, -0.04834262281656265, 0.03663821890950203, -0.03612939640879631, 0.030511053279042244, 0.005239666905254126, 0.015022329986095428, 0.021497678011655807, -0.010467302985489368, -0.04008110240101814, -0.00017630220099817961, -0.020574256777763367, 0.0324038565158844, -0.017641952261328697, 0.025240501388907433, 0.012478245422244072, 0.054145265370607376, 0.005192350130528212, -0.04956987500190735, -0.036959126591682434, 0.012007586658000946, -0.033773742616176605, -0.01533698383718729, 0.0010091348085552454, -0.05282134562730789, -0.04682591184973717, -0.028658682480454445, -0.010821351781487465, 0.029705479741096497, -0.014975963160395622, 0.02997237630188465, 0.04542239010334015, 0.028406305238604546, -0.05952052026987076, -0.07828564196825027, -0.02205696702003479, -0.0322774276137352, 0.021324923262000084, 0.023930730298161507, -0.0364835225045681, 0.045864205807447433, -0.04629092663526535, -0.06549645215272903, 0.029199443757534027, -0.0011777046602219343, -0.042466118931770325, 0.04471307620406151, 0.04876350238919258, -0.012963159009814262, 0.006090617273002863, 0.010247655212879181, -0.05989344045519829, 0.0226533692330122, 0.030094655230641365, 0.013423159718513489, 0.03307747840881348, 0.03273336589336395, -0.03975319862365723, -0.02678757533431053, -0.06439509242773056, -0.022084316238760948, -0.04985257610678673, 0.009826007299125195, 0.06483575701713562 ]
BigSalmon/Lincoln4
[ "pytorch", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
11
2021-09-10T08:18:03Z
--- tags: - text2text-generation - Chinese - seq2seq - BART language: zh --- # Chinese BART-Base ### News **12/30/2022** An updated version of CPT & Chinese BART are released. In the new version, we changed the following parts: - **Vocabulary** We replace the old BERT vocabulary with a larger one of size 51271 built from the training data, in which we 1) add missing 6800+ Chinese characters (most of them are traditional Chinese characters); 2) remove redundant tokens (e.g. Chinese character tokens with ## prefix); 3) add some English tokens to reduce OOV. - **Position Embeddings** We extend the max_position_embeddings from 512 to 1024. We initialize the new version of models with the old version of checkpoints with vocabulary alignment. Token embeddings found in the old checkpoints are copied. And other newly added parameters are randomly initialized. We further train the new CPT & Chinese BART 50K steps with batch size 2048, max-seq-length 1024, peak learning rate 2e-5, and warmup ratio 0.1. The result compared to the previous checkpoints is as followings: | | AFQMC | IFLYTEK | CSL-sum | LCSTS | AVG | | :--------- | :---: | :-----: | :-----: | :---: | :---: | | Previous | | | | | | | bart-base | 73.0 | 60 | 62.1 | 37.8 | 58.23 | | cpt-base | 75.1 | 60.5 | 63.0 | 38.2 | 59.20 | | bart-large | 75.7 | 62.1 | 64.2 | 40.6 | 60.65 | | cpt-large | 75.9 | 61.8 | 63.7 | 42.0 | 60.85 | | Updataed | | | | | | | bart-base | 73.03 | 61.25 | 61.51 | 38.78 | 58.64 | | cpt-base | 74.40 | 61.23 | 62.09 | 38.81 | 59.13 | | bart-large | 75.81 | 61.52 | 64.62 | 40.90 | 60.71 | | cpt-large | 75.97 | 61.63 | 63.83 | 42.08 | 60.88 | The result shows that the updated models maintain comparative performance compared with previous checkpoints. There are still some cases that the updated model is slightly worse than the previous one, which results from the following reasons: 1) Training additional a few steps did not lead to significant performance improvement; 2) some downstream tasks are not affected by the newly added tokens and longer encoding sequences, but sensitive to the fine-tuning hyperparameters. - Note that to use updated models, please update the `modeling_cpt.py` (new version download [Here](https://github.com/fastnlp/CPT/blob/master/finetune/modeling_cpt.py)) and the vocabulary (refresh the cache). ## Model description This is an implementation of Chinese BART-Base. [**CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation**](https://arxiv.org/pdf/2109.05729.pdf) Yunfan Shao, Zhichao Geng, Yitao Liu, Junqi Dai, Fei Yang, Li Zhe, Hujun Bao, Xipeng Qiu **Github Link:** https://github.com/fastnlp/CPT ## Usage ```python >>> from transformers import BertTokenizer, BartForConditionalGeneration, Text2TextGenerationPipeline >>> tokenizer = BertTokenizer.from_pretrained("fnlp/bart-base-chinese") >>> model = BartForConditionalGeneration.from_pretrained("fnlp/bart-base-chinese") >>> text2text_generator = Text2TextGenerationPipeline(model, tokenizer) >>> text2text_generator("北京是[MASK]的首都", max_length=50, do_sample=False) [{'generated_text': '北 京 是 中 国 的 首 都'}] ``` **Note: Please use BertTokenizer for the model vocabulary. DO NOT use original BartTokenizer.** ## Citation ```bibtex @article{shao2021cpt, title={CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation}, author={Yunfan Shao and Zhichao Geng and Yitao Liu and Junqi Dai and Fei Yang and Li Zhe and Hujun Bao and Xipeng Qiu}, journal={arXiv preprint arXiv:2109.05729}, year={2021} } ```
[ -0.014978500083088875, -0.015392228960990906, -0.0037442201282829046, 0.04788343235850334, 0.031598079949617386, 0.0036866909358650446, -0.000008220305971917696, -0.008745172061026096, -0.028761977329850197, 0.05358177796006203, 0.00416668551042676, -0.013092867098748684, 0.007096360437572002, 0.039251431822776794, -0.023833278566598892, -0.03912394866347313, -0.01152848731726408, -0.02511231042444706, -0.026314564049243927, 0.0028857325669378042, 0.016707826405763626, -0.010827548801898956, -0.023887064307928085, 0.03925183042883873, 0.02430654875934124, 0.011510160751640797, -0.019167592748999596, 0.03108002059161663, 0.030692826956510544, -0.05569813773036003, 0.004441163502633572, -0.039008017629384995, -0.03244857117533684, -0.020773423835635185, -0.013876968994736671, -0.00550685403868556, -0.00417478708550334, 0.01890149898827076, 0.03565109521150589, 0.05723734572529793, 0.002448304556310177, 0.0033867820166051388, 0.0032950113527476788, -0.03309875354170799, 0.022494031116366386, -0.02163962833583355, -0.025332171469926834, 0.005624079145491123, 0.038052160292863846, -0.018439197912812233, -0.05776078626513481, -0.05166011303663254, -0.005097658839076757, 0.019397486001253128, -0.01763763092458248, -0.040198393166065216, -0.08790409564971924, 0.007030053064227104, 0.08311913907527924, -0.03759908676147461, -0.05030081421136856, 0.00590083422139287, -0.045723650604486465, 0.02352556400001049, 0.015540342777967453, -0.04249486327171326, -0.0002983587037306279, -0.06593038141727448, 0.02983446978032589, -0.0006526731885969639, 0.06080184131860733, -0.010355666279792786, 0.010531176812946796, -0.09440385550260544, 0.019465118646621704, -0.04048050940036774, 0.03410986438393593, 0.02630322426557541, -0.04352974519133568, 0.05089892819523811, 0.022233478724956512, -0.003814247203990817, 0.03643803671002388, -0.01589055173099041, -0.012251559644937515, 0.0363079272210598, -0.04465596377849579, 0.018922965973615646, 0.015034318901598454, 0.06879017502069473, -0.02809894271194935, -0.013748438097536564, -0.05260872840881348, -0.021858494728803635, -0.016326595097780228, 0.021491549909114838, 0.03881261870265007, -0.005776567384600639, 0.011510529555380344, 0.024613214656710625, 0.024096963927149773, 0.05227917060256004, 0.010326769202947617, 0.040771517902612686, -0.008846326731145382, 0.012098453938961029, -0.03708508610725403, -0.011445645242929459, -0.06033141538500786, 0.020895520225167274, 0.04508162662386894, -0.03629487380385399, -0.0391656830906868, 0.05978471040725708, 0.025775669142603874, -0.017054889351129532, 0.03392108902335167, -0.01746249385178089, -0.044567618519067764, -0.06020043045282364, 0.06379550695419312, 0.01592382602393627, -0.002128110034391284, 0.0023642368614673615, -0.0659446120262146, 0.022390225902199745, -0.047664009034633636, -0.02632560022175312, 0.006111596245318651, 0.020917991176247597, 0.004984166007488966, 0.028666026890277863, -0.0009479302680119872, -0.04287873953580856, 0.010115320794284344, -0.018289638683199883, -0.089684396982193, 0.07105031609535217, 0.038824163377285004, 0.07438246160745621, -0.07347840070724487, -0.0544954352080822, 0.01892644725739956, 0.002183483447879553, -0.026976432651281357, 0.023914877325296402, -0.013037878088653088, -0.019921233877539635, -0.011750887148082256, -0.030442437157034874, 0.07341773808002472, -0.055109985172748566, 0.0031737983226776123, 0.04725128412246704, -0.01867637038230896, 0.05732754245400429, -0.05394947901368141, 0.006790710147470236, 0.031375668942928314, -0.005932890344411135, -0.03347038850188255, 0.03437269479036331, -0.01092597283422947, 0.004283701069653034, -0.047315310686826706, -0.04222429543733597, 0.016223900020122528, 0.07180653512477875, 0.017513062804937363, -0.02391568012535572, -0.027589892968535423, 0.025360532104969025, 0.04160357639193535, 0.0487380176782608, -0.005181470420211554, 0.019045688211917877, 0.04517172649502754, 0.023286649957299232, -0.019014887511730194, 0.052336059510707855, 0.027922730892896652, -0.01643327623605728, -0.009661721996963024, 0.011173420585691929, -0.013403636403381824, -0.022916194051504135, 0.004366783425211906, 0.033286869525909424, 0.004107731860131025, -0.05514685437083244, -0.01569652184844017, 0.06564082950353622, 0.004654993768781424, -0.002402143320068717, -0.006439728196710348, -0.02085157297551632, -0.006548427976667881, 0.05994483456015587, -0.021922901272773743, -0.013988502323627472, -0.018192267045378685, -0.023649174720048904, -0.017613431438803673, 0.011753476224839687, 0.05817033722996712, 0.04205942898988724, -0.0025828054640442133, 0.057130660861730576, -0.03983929008245468, 0.03853386640548706, -0.03021284006536007, -0.026033490896224976, -0.007712762337177992, 0.038840152323246, 0.02606021799147129, 0.06112903356552124, 0.010946855880320072, -0.0375811830163002, 0.028577012941241264, 0.07248726487159729, 0.04519997909665108, 0.02695963717997074, -0.029872357845306396, -0.00062756979605183, 0.03332911804318428, 0.04627189040184021, -0.0632404014468193, -0.020866887643933296, 0.037343669682741165, 0.05075935646891594, -0.03772614523768425, 0.010987439192831516, -0.0013785751070827246, 0.020017428323626518, -0.05809682980179787, -0.0543052963912487, 0.04287934675812721, 0.02936973236501217, 0.006674892269074917, 0.020654939115047455, -0.013064129278063774, 0.007606001570820808, 0.04258894547820091, 0.008462206460535526, 0.008384695276618004, -0.031850337982177734, 0.02270994707942009, 0.039392244070768356, 0.044433437287807465, -0.052776724100112915, 0.015454228036105633, 0.006013181991875172, 0.014341838657855988, 0.025324182584881783, -0.045952390879392624, 0.004769887775182724, 0.03458182141184807, 0.01628270000219345, -0.03512809798121452, 0.013672726228833199, 0.008839844726026058, 0.017525214701890945, 0.0880047008395195, -0.020606491714715958, 0.056614551693201065, -0.002201738767325878, 0.037019580602645874, 0.06771671772003174, 0.019010037183761597, 0.037152133882045746, 0.040450915694236755, 0.07868368923664093, 0.009204856120049953, -0.004212633706629276, 0.04060693085193634, -0.050936974585056305, 0.010397923178970814, -0.050476741045713425, 0.012620841152966022, 0.02870256081223488, -0.020868346095085144, -0.0009314345079474151, 0.0013441697228699923, -0.013326875865459442, 0.009050683118402958, 0.00202356674708426, -0.01785813830792904, 0.031653646379709244, -0.002814352512359619, 0.002387316431850195, 0.03041023388504982, -0.042517952620983124, 0.00023798983602318913, -0.05280708521604538, -0.057403065264225006, -0.018455645069479942, -0.02283632941544056, 0.038309093564748764, -0.073782779276371, -0.029188668355345726, -0.12257793545722961, -0.01680031605064869, 0.03255513682961464, 0.016387177631258965, -0.006193752400577068, -0.01841006428003311, 0.0583285354077816, -0.041188035160303116, -0.0004240926937200129, -0.022279862314462662, -0.032992780208587646, -0.033157456666231155, -0.07599852979183197, 0.015077524818480015, 0.03006153553724289, 0.025249017402529716, 0.04428469017148018, 0.012716853991150856, -0.004050035495311022, -0.01011898834258318, 0.04527128487825394, 0.044869564473629, -0.04553048312664032, -0.04063291847705841, 0.04246584698557854, -0.024064436554908752, 0.017632614821195602, -0.019442956894636154, -0.024036845192313194, 0.0816766694188118, 0.0868680402636528, 0.0032743976917117834, 0.011671389453113079, -0.014094198122620583, -0.06231534108519554, -0.06066445633769035, -0.03382525593042374, -0.03865046799182892, -0.014408526942133904, -0.04911122843623161, -0.04200923070311546, -0.020568134263157845, -0.03834526985883713, -0.006158759817481041, -0.03189717233181, 0.004725684877485037, 0.04139525815844536, 0.03325678035616875, 0.023357274010777473, 0.05214228108525276, -0.020924927666783333, -0.014482110738754272, 0.09024015814065933, -0.0019649420864880085, 0.012590131722390652, -0.05648648366332054, -0.014625715091824532, 0.04164223000407219, 0.009940797463059425, -0.011622868478298187, -0.011957508511841297, 0.07837581634521484, -0.004745828453451395, 0.010629437863826752, 0.0035140716936439276, -0.020593829452991486, -0.015081768855452538, -0.0015620134072378278, -0.002626485889777541, -0.018123524263501167, -0.047647520899772644, -0.02658616006374359, 0.003946556244045496, 0.05084510147571564, -0.06934665143489838, -0.03904120251536369, -0.01457001268863678, 0.032242994755506516, 0.015372391790151596, -0.0337306447327137, -0.04466148465871811, 0.001543622463941574, -0.03402115777134895, -0.024584772065281868, -0.017934368923306465, -0.0009728587465360761, 0.02106987126171589, 0.05441582575440407, 0.011487696319818497, -0.02044387347996235, 0.044533293694257736, 0.0467190258204937, 0.05986112356185913, 0.011235480196774006, -0.0664653480052948, 0.001472253235988319, -0.02020014077425003, 0.02463017776608467, 0.009077242575585842, -0.017884835600852966, -0.031166046857833862, -0.0962362214922905, -0.010467269457876682, -0.00030904755112715065, -0.016899386420845985, -0.014463245868682861, 0.041090406477451324, -0.024053318426012993, -0.018659939989447594, 0.0016422505723312497, 0.020010938867926598, 0.04456298425793648, -0.03967481851577759, 0.05754643306136131, -0.016030127182602882, 0.036037005484104156, -0.0445372648537159, 0.007007620297372341, -0.044415585696697235, 0.01361081749200821, 0.006107642315328121, 0.03485604375600815, 0.024181943386793137, 0.06322596222162247, 0.06688492745161057, 0.01303006149828434, -0.03479459136724472, 0.05122798681259155, 0.03979935869574547, -0.012978429906070232, -0.04886695742607117, 0.01629943959414959, -0.019443828612565994, -0.003855350660160184, 0.004397485870867968, -0.02658265084028244, 0.010778193362057209, 0.04964013397693634, -0.011215315200388432, 0.002356479875743389, 0.016106974333524704, -0.016977770254015923, -0.042732104659080505, -0.031597800552845, -0.013803350739181042, -0.0026413826271891594, -0.03233952820301056, 0.04089941084384918, 0.014597849920392036, 0.025947989895939827, 0.07737410068511963, 0.0589720793068409, -0.03751760348677635, -0.024699194356799126, 0.041116517037153244, 0.02015291526913643, -0.04285356402397156, -0.05924335494637489, -0.033348292112350464, 0.05209309235215187, 0.022161714732646942, 0.00666505703702569, -0.05901690572500229, 0.003272273577749729, 0.08796145021915436, -0.03788379952311516, 0.07507489621639252, 0.0029521286487579346, 0.039610497653484344, 0.05095665156841278, 0.014096904546022415, 0.03681866079568863, -0.004761483054608107, -0.0031963875517249107, -0.013237821869552135, 0.02693949267268181, -0.041452910751104355, -0.031090570613741875, -0.049267444759607315, 0.034162238240242004, 0.019351109862327576, 0.04092947766184807, 0.03232699632644653, -0.022806541994214058, -0.03994971513748169, 0.013248459435999393, 0.04031715542078018, -0.05981466919183731, 0.0023031732998788357, 0.01467560138553381, 0.029700398445129395, -0.030627097934484482, -0.04832855239510536, -0.027695542201399803, 0.00785461999475956, 0.044716645032167435, -0.01805114559829235, -0.03717939928174019, -0.0525222085416317, 0.04709658771753311, -0.01159610878676176, -0.03153061866760254, -0.07611915469169617, 0.028994819149374962, -0.039701368659734726, 0.013603259809315205, 0.04670676589012146, 0.03760342299938202, 0.031009335070848465, 0.05774480104446411, 0.013019714504480362, 0.01192762516438961, -0.037920769304037094, 0.05382341518998146, -0.028561731800436974, -0.013726998120546341, 0.0007483232184313238, -0.029685597866773605, -0.01946595497429371, -0.0321102999150753, -0.056830551475286484, -0.03290259838104248, -0.021912505850195885, 0.03716595098376274, -0.0027898401021957397, 0.01473214104771614, 0.00027835406945087016, 0.023564213886857033, -0.0068301246501505375, -0.049063295125961304, 0.007713593076914549, -0.034014176577329636, -0.06704069674015045, -0.06182195991277695, 0.014786488376557827, -0.002993085654452443, 0.03189462795853615, 0.03630173206329346, 0.022975580766797066, -0.00807110220193863, 0.011563719250261784, -0.03681012988090515, 0.03291860222816467, 0.013088775798678398, -0.028603456914424896, -0.05026708543300629, 0.012743866071105003, 0.005021380726248026, 0.03489357978105545, -0.030800404027104378, 0.03012923151254654, 0.0315522737801075, -0.029054561629891396, -0.005865876562893391, 0.026293355971574783, 0.02922152169048786, -0.09134692698717117, -0.05875939503312111, -0.01689697988331318, -0.03842095285654068, 0.050842419266700745, -0.03366805613040924, -0.026000766083598137, 0.03099457360804081, 0.025615064427256584, 0.03504334017634392, -0.014569291844964027, -0.01955231837928295, 0.029256721958518028, -0.00651944987475872, 0.014191699214279652, -0.07456750422716141, 0.030164774507284164, -0.02854892984032631, 0.022338394075632095, -0.027028365060687065, -0.009924502111971378, -0.0457877553999424, 0.021990744397044182, -0.014461018145084381, -0.018985344097018242, -0.03832367807626724, 0.035788644105196, -0.02402249537408352, 0.01613992266356945, -0.009658485651016235, 0.038425832986831665, -0.036656368523836136, 0.0559237003326416, -0.03915952146053314, 0.00506967306137085, -0.01644214615225792, 0.009278611280024052, -0.03446047753095627, -0.008968742564320564, 0.0003655615437310189, -0.03478536009788513, 0.017401741817593575, 0.041961126029491425, 0.04399159923195839, 0.027976341545581818, -0.021663596853613853, -0.0031055337749421597, 0.051936954259872437, -0.03967854008078575, -0.027897464111447334, -0.017553528770804405, 0.01371716521680355, -0.02005760744214058, 0.04285634309053421, 0.045540496706962585, -0.05395689979195595, -0.03429003059864044, 0.049986083060503006, 0.006458840798586607, -0.003937252797186375, 0.01284029707312584, 0.03969861939549446, 0.03898674622178078, 0.060953289270401, -0.03705861419439316, -0.006608417723327875, -0.021862979978322983, -0.028438912704586983, 0.04102177172899246, -0.005685737356543541, 0.020614175125956535, 0.012654428370296955, -0.02372181974351406, -0.026534417644143105, 0.05613129585981369, 0.011185919865965843, 0.025657182559370995, -0.03193028271198273, -0.04046616330742836, 0.034297261387109756, 0.0011606465559452772, -0.040698304772377014, -0.002867716597393155, 0.0064485822804272175, -0.0319269597530365, 0.07583529502153397, -0.034296005964279175, 0.008234396576881409, 0.04690928757190704, 0.02319982461631298, -0.00755789689719677, 0.06176517903804779, -0.024784354493021965, 0.015255390666425228, 0.04496392607688904, -0.05447353795170784, 0.014919102191925049, -0.03792427480220795, 0.06597837060689926, -0.07921027392148972, 0.0658983662724495, 0.07630699872970581, 0.00751252518966794, 0.031818922609090805, -0.010847139172255993, -0.028854332864284515, -0.0017053642077371478, -0.036559294909238815, 0.05201951041817665, 0.006084399297833443, -0.051642343401908875, 0.06003884971141815, 0.008288906887173653, -0.06306134909391403, 0.05881611257791519, 0.05219287797808647, 0.03232370316982269, 0.04766096547245979, 0.02842605486512184, -0.03757084161043167, 0.002101716585457325, -0.04862818121910095, 0.015319678001105785, -0.05693073943257332, -0.004689910914748907, 0.027429431676864624, -0.05355823412537575, -0.025751959532499313, 0.035713113844394684, 0.010242774151265621, -0.011073816567659378, 0.03953343257308006, -0.04788123816251755, -0.058656346052885056, -0.012644813396036625, 0.03410356119275093, -0.011173993349075317, -0.0023563557770103216, -0.03843799978494644, 0.031016014516353607, 0.002150611486285925, 0.014355767518281937, -0.03938671201467514, -0.0018423410365357995, 0.04069727659225464, -0.10457334667444229, -0.03796212002635002, 0.0507601797580719, -0.005788929760456085, -0.027036700397729874, 0.03287686035037041, -0.02203228883445263, 0.02615293487906456, 0.047620803117752075, 0.025426412001252174, 0.03141499310731888, -0.050999466329813004, 0.006283843889832497, 0.00811091996729374, 0.009148376993834972, -0.002013843972235918, -0.008879123255610466, 0.011067995801568031, 0.022944478318095207, 0.01765231229364872, -0.005605620797723532, -0.03612516075372696, -0.010116619057953358, 0.04299154505133629, -0.021922605112195015, 0.01717306300997734, -0.0032194650266319513, -0.0744304284453392, -0.04559392109513283, -0.01697455532848835, -0.02742290496826172, 0.034553464502096176, -0.04413200542330742, 0.004146604333072901, 0.03540363162755966, -0.017839942127466202, -0.05263568088412285, -0.10385636240243912, -0.030977066606283188, -0.051627010107040405, 0.030811268836259842, 0.043893035501241684, -0.03765854611992836, 0.0186935868114233, -0.0413673110306263, -0.08240004628896713, 0.02393735758960247, 0.03255327418446541, -0.02690192125737667, 0.050923313945531845, 0.06092602014541626, -0.053145889192819595, 0.03143557161092758, 0.0334269218146801, -0.05672546476125717, 0.027323076501488686, 0.01777324080467224, 0.04395149648189545, 0.02734852395951748, 0.05651557445526123, -0.0042364951223134995, -0.024270225316286087, -0.05319853127002716, -0.023069558665156364, -0.025572514161467552, 0.005571409128606319, 0.03372708335518837 ]
BigSalmon/MrLincoln
[ "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 } } }
7
2021-09-10T09:03:34Z
--- tags: - text2text-generation - Chinese - seq2seq language: zh --- # Chinese BART-Large ### News **12/30/2022** An updated version of CPT & Chinese BART are released. In the new version, we changed the following parts: - **Vocabulary** We replace the old BERT vocabulary with a larger one of size 51271 built from the training data, in which we 1) add missing 6800+ Chinese characters (most of them are traditional Chinese characters); 2) remove redundant tokens (e.g. Chinese character tokens with ## prefix); 3) add some English tokens to reduce OOV. - **Position Embeddings** We extend the max_position_embeddings from 512 to 1024. We initialize the new version of models with the old version of checkpoints with vocabulary alignment. Token embeddings found in the old checkpoints are copied. And other newly added parameters are randomly initialized. We further train the new CPT & Chinese BART 50K steps with batch size 2048, max-seq-length 1024, peak learning rate 2e-5, and warmup ratio 0.1. The result compared to the previous checkpoints is as followings: | | AFQMC | IFLYTEK | CSL-sum | LCSTS | AVG | | :--------- | :---: | :-----: | :-----: | :---: | :---: | | Previous | | | | | | | bart-base | 73.0 | 60 | 62.1 | 37.8 | 58.23 | | cpt-base | 75.1 | 60.5 | 63.0 | 38.2 | 59.20 | | bart-large | 75.7 | 62.1 | 64.2 | 40.6 | 60.65 | | cpt-large | 75.9 | 61.8 | 63.7 | 42.0 | 60.85 | | Updataed | | | | | | | bart-base | 73.03 | 61.25 | 61.51 | 38.78 | 58.64 | | cpt-base | 74.40 | 61.23 | 62.09 | 38.81 | 59.13 | | bart-large | 75.81 | 61.52 | 64.62 | 40.90 | 60.71 | | cpt-large | 75.97 | 61.63 | 63.83 | 42.08 | 60.88 | The result shows that the updated models maintain comparative performance compared with previous checkpoints. There are still some cases that the updated model is slightly worse than the previous one, which results from the following reasons: 1) Training additional a few steps did not lead to significant performance improvement; 2) some downstream tasks are not affected by the newly added tokens and longer encoding sequences, but sensitive to the fine-tuning hyperparameters. - Note that to use updated models, please update the `modeling_cpt.py` (new version download [Here](https://github.com/fastnlp/CPT/blob/master/finetune/modeling_cpt.py)) and the vocabulary (refresh the cache). ## Model description This is an implementation of Chinese BART-Large. [**CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation**](https://arxiv.org/pdf/2109.05729.pdf) Yunfan Shao, Zhichao Geng, Yitao Liu, Junqi Dai, Fei Yang, Li Zhe, Hujun Bao, Xipeng Qiu **Github Link:** https://github.com/fastnlp/CPT ## Usage ```python >>> from transformers import BertTokenizer, BartForConditionalGeneration, Text2TextGenerationPipeline >>> tokenizer = BertTokenizer.from_pretrained("fnlp/bart-large-chinese") >>> model = BartForConditionalGeneration.from_pretrained("fnlp/bart-large-chinese") >>> text2text_generator = Text2TextGenerationPipeline(model, tokenizer) >>> text2text_generator("北京是[MASK]的首都", max_length=50, do_sample=False) [{'generated_text': '北 京 是 中 华 人 民 共 和 国 的 首 都'}] ``` **Note: Please use BertTokenizer for the model vocabulary. DO NOT use original BartTokenizer.** ## Citation ```bibtex @article{shao2021cpt, title={CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation}, author={Yunfan Shao and Zhichao Geng and Yitao Liu and Junqi Dai and Fei Yang and Li Zhe and Hujun Bao and Xipeng Qiu}, journal={arXiv preprint arXiv:2109.05729}, year={2021} } ```
[ -0.015368496999144554, -0.012320035137236118, 0.001416723825968802, 0.046437639743089676, 0.03542264550924301, -0.0009348585153929889, -0.0009188195690512657, -0.010475718416273594, -0.02695726789534092, 0.05445229634642601, 0.004012462217360735, -0.011579412035644054, 0.006376136094331741, 0.03926914557814598, -0.02354630082845688, -0.03897823020815849, -0.014785140752792358, -0.028240995481610298, -0.02464795857667923, 0.0016077826730906963, 0.01735714264214039, -0.008614669553935528, -0.02896004356443882, 0.03369070589542389, 0.025613246485590935, 0.012614462524652481, -0.014987983740866184, 0.03231401368975639, 0.026273418217897415, -0.05609705671668053, 0.007852582260966301, -0.039309289306402206, -0.030848445370793343, -0.02164398320019245, -0.013790992088615894, -0.005674941930919886, -0.0034550039563328028, 0.017165496945381165, 0.035295192152261734, 0.05642351508140564, 0.003855727845802903, 0.0020463585387915373, 0.0064489771611988544, -0.03416137769818306, 0.024455107748508453, -0.0216644536703825, -0.02783864736557007, 0.0039273472502827644, 0.034540869295597076, -0.019597603008151054, -0.059687819331884384, -0.05215998366475105, -0.002560579916462302, 0.017885982990264893, -0.019054770469665527, -0.039245542138814926, -0.08706650137901306, 0.0073172603733837605, 0.08066421747207642, -0.03771362081170082, -0.05126124620437622, 0.0068940091878175735, -0.04631868004798889, 0.02473587729036808, 0.01571323536336422, -0.04150313138961792, -0.00014553774963133037, -0.0640631914138794, 0.030361611396074295, -0.00046037061838433146, 0.06268458813428879, -0.009305586107075214, 0.011848113499581814, -0.09408316761255264, 0.02097594365477562, -0.03889930620789528, 0.03055492602288723, 0.02518167719244957, -0.04091325029730797, 0.05021043121814728, 0.024698076769709587, -0.0013221886474639177, 0.03603235259652138, -0.01277000829577446, -0.008004976436495781, 0.035926006734371185, -0.04397832602262497, 0.015843944624066353, 0.017046133056282997, 0.07242784649133682, -0.029040733352303505, -0.01720159687101841, -0.050233643501996994, -0.024524610489606857, -0.0194403063505888, 0.02119230479001999, 0.03607269376516342, -0.00850602239370346, 0.009557751938700676, 0.023940078914165497, 0.025250209495425224, 0.05429461970925331, 0.010224416851997375, 0.04046056419610977, -0.005648327060043812, 0.009851159527897835, -0.03934534266591072, -0.014881996437907219, -0.06224707514047623, 0.023529279977083206, 0.04459609091281891, -0.03688647598028183, -0.041583094745874405, 0.057206761091947556, 0.023692922666668892, -0.01602175645530224, 0.03707088157534599, -0.01756320893764496, -0.044025760143995285, -0.06207697466015816, 0.060250334441661835, 0.01570791006088257, 0.0009458775748498738, 0.006396105512976646, -0.06191696599125862, 0.022998275235295296, -0.04861019551753998, -0.026057519018650055, 0.007942097261548042, 0.021056804805994034, 0.004589241463690996, 0.0290357768535614, -0.0009293572511523962, -0.04352226108312607, 0.005696685053408146, -0.013776754029095173, -0.08782689273357391, 0.06713399291038513, 0.03943914547562599, 0.07061639428138733, -0.07157770544290543, -0.05566418915987015, 0.01873539388179779, 0.0007603486883454025, -0.025761643424630165, 0.026528961956501007, -0.012647322379052639, -0.022937793284654617, -0.011381496675312519, -0.03198838233947754, 0.0769118219614029, -0.055996645241975784, 0.004032842814922333, 0.047870926558971405, -0.015759216621518135, 0.0564294159412384, -0.05216287076473236, 0.004092576447874308, 0.03554770350456238, -0.003643668256700039, -0.03388106822967529, 0.03520820662379265, -0.010013742372393608, 0.0073824431747198105, -0.046025246381759644, -0.04272294417023659, 0.018577298149466515, 0.06975232064723969, 0.01976342871785164, -0.023914707824587822, -0.026839252561330795, 0.02854495868086815, 0.04537294805049896, 0.051213428378105164, -0.005261348560452461, 0.02163943648338318, 0.04474177211523056, 0.024274960160255432, -0.0194399394094944, 0.0520138293504715, 0.028767671436071396, -0.01713288016617298, -0.007347776088863611, 0.009572534821927547, -0.013332710601389408, -0.025234384462237358, 0.0015120028983801603, 0.03406431898474693, 0.00397264352068305, -0.05770882964134216, -0.014271395280957222, 0.07006586343050003, 0.006657012738287449, -0.005171741358935833, -0.008540190756320953, -0.01856103539466858, -0.007414695341140032, 0.05866744741797447, -0.022221975028514862, -0.013975397683680058, -0.018692605197429657, -0.025453388690948486, -0.015057159587740898, 0.015857310965657234, 0.05802439898252487, 0.041271522641181946, -0.008290858007967472, 0.05726652964949608, -0.04197999835014343, 0.03608010709285736, -0.03070112131536007, -0.025784188881516457, -0.00692849000915885, 0.03760772943496704, 0.02278747782111168, 0.05972549319267273, 0.010088268667459488, -0.03692539036273956, 0.033763863146305084, 0.07460831105709076, 0.046077363193035126, 0.03146614134311676, -0.02515561319887638, -0.000649824389256537, 0.033174797892570496, 0.04775834083557129, -0.0653361976146698, -0.021074341610074043, 0.03913582116365433, 0.051083896309137344, -0.03608209639787674, 0.010354634374380112, -0.0009418120607733727, 0.016854992136359215, -0.05698615312576294, -0.05515698343515396, 0.041678816080093384, 0.031592514365911484, 0.005633480381220579, 0.020809127017855644, -0.012425322085618973, 0.006389970891177654, 0.04323272034525871, 0.005609581246972084, 0.01085648313164711, -0.02959892340004444, 0.02504832111299038, 0.03897722810506821, 0.041387006640434265, -0.05564543232321739, 0.013431236147880554, 0.0057991864159703255, 0.013946311548352242, 0.02430877834558487, -0.04271973669528961, 0.007617054507136345, 0.03835047036409378, 0.018693283200263977, -0.03501536697149277, 0.015941426157951355, 0.008667852729558945, 0.0158139169216156, 0.08931094408035278, -0.01916883885860443, 0.05771065130829811, -0.0024333633482456207, 0.04012340307235718, 0.06411468237638474, 0.015789274126291275, 0.036582041531801224, 0.04177781566977501, 0.08058145642280579, 0.01163902785629034, -0.0037160958163440228, 0.03891595080494881, -0.04751197621226311, 0.011933786794543266, -0.050051864236593246, 0.013345451094210148, 0.02663465403020382, -0.021433845162391663, 0.0008949935436248779, 0.005324127618223429, -0.012372947297990322, 0.01145451981574297, -0.002464649500325322, -0.018757740035653114, 0.030729567632079124, -0.006374317221343517, 0.0022236984223127365, 0.028217757120728493, -0.04400305449962616, -0.0009469338110648096, -0.04927163943648338, -0.056746143847703934, -0.016495073214173317, -0.026099447160959244, 0.03471861407160759, -0.07336950302124023, -0.02942563220858574, -0.12489582598209381, -0.016404809430241585, 0.03347612917423248, 0.0149342380464077, -0.006563463713973761, -0.01701904460787773, 0.05893264338374138, -0.04054509848356247, 0.0015675154281780124, -0.024844661355018616, -0.030966361984610558, -0.03431388735771179, -0.0749853327870369, 0.014179744757711887, 0.02835794910788536, 0.025995835661888123, 0.04184404015541077, 0.00884401798248291, -0.0022471474949270487, -0.006752071436494589, 0.048437342047691345, 0.04056341573596001, -0.04316003620624542, -0.03931599110364914, 0.044899821281433105, -0.025933535769581795, 0.014631704427301884, -0.024570178240537643, -0.026376763358712196, 0.08224312961101532, 0.08481641858816147, 0.004980370402336121, 0.010034680366516113, -0.015966158360242844, -0.06338721513748169, -0.06026049330830574, -0.03417041525244713, -0.03847262263298035, -0.013310288079082966, -0.04709514603018761, -0.04293089359998703, -0.018603546544909477, -0.03832388296723366, -0.00521199032664299, -0.031666096299886703, 0.002079926896840334, 0.039837904274463654, 0.0294111967086792, 0.02624320611357689, 0.050141967833042145, -0.017174506559967995, -0.013128424063324928, 0.09443192929029465, -0.00029773678397759795, 0.019025197252631187, -0.05518772453069687, -0.015659023076295853, 0.04063619300723076, 0.007554525043815374, -0.01278165727853775, -0.012959875166416168, 0.07671267539262772, -0.001612346270121634, 0.006730064284056425, 0.003397767897695303, -0.023195091634988785, -0.015455646440386772, -0.002179489005357027, 0.0011179810389876366, -0.019309792667627335, -0.04913872107863426, -0.025234099477529526, 0.0008048105519264936, 0.04828029125928879, -0.0680626705288887, -0.04061413183808327, -0.015607557259500027, 0.031191246584057808, 0.014179923571646214, -0.03400048986077309, -0.04289506748318672, 0.0025278832763433456, -0.033951662480831146, -0.024591421708464622, -0.015587568283081055, 0.000051929368055425584, 0.02402159757912159, 0.054696887731552124, 0.010921061038970947, -0.01943954825401306, 0.04550817981362343, 0.04621987044811249, 0.05764644965529442, 0.013567454181611538, -0.06508203595876694, 0.0003914440458174795, -0.018802879378199577, 0.02315100096166134, 0.008182622492313385, -0.01185483206063509, -0.03368580341339111, -0.0982891321182251, -0.009249290451407433, 0.001803056919015944, -0.015525348484516144, -0.01447649672627449, 0.0379633791744709, -0.0206995140761137, -0.015196049585938454, 0.0012334943749010563, 0.019298149272799492, 0.04028335213661194, -0.04368181526660919, 0.05553111433982849, -0.008226781152188778, 0.03248203545808792, -0.04498954862356186, 0.004987165331840515, -0.04528417810797691, 0.014705406501889229, 0.008038047701120377, 0.03491845726966858, 0.02734522335231304, 0.06634150445461273, 0.0681891068816185, 0.01391374971717596, -0.031042279675602913, 0.05221191793680191, 0.042997244745492935, -0.01081383042037487, -0.0494685061275959, 0.01721542701125145, -0.02048688381910324, -0.0014566464815288782, 0.0045167068019509315, -0.02729072980582714, 0.00821631122380495, 0.049201276153326035, -0.01060577668249607, 0.003342772601172328, 0.0198452640324831, -0.01740993745625019, -0.04164644703269005, -0.02970970794558525, -0.013303795829415321, -0.006304605398327112, -0.0347929522395134, 0.03784199804067612, 0.018430065363645554, 0.02669544704258442, 0.07905109971761703, 0.059021975845098495, -0.03768662363290787, -0.027902424335479736, 0.042190637439489365, 0.02014666050672531, -0.04543416202068329, -0.05659978836774826, -0.02926304191350937, 0.05243683233857155, 0.020443331450223923, 0.006578210741281509, -0.06265925616025925, -0.0007853891002014279, 0.09298717230558395, -0.04033626616001129, 0.07493811100721359, -0.00018991112301591784, 0.039132434874773026, 0.0520898699760437, 0.011844338849186897, 0.0367676243185997, -0.0038426481187343597, -0.0014859087532386184, -0.015095026232302189, 0.029045578092336655, -0.041254643350839615, -0.02753586694598198, -0.05182558298110962, 0.03570457547903061, 0.01831173337996006, 0.041210073977708817, 0.03449785336852074, -0.02416883409023285, -0.037526246160268784, 0.013968859799206257, 0.04330268129706383, -0.05779924988746643, 0.00005732032877858728, 0.013057036325335503, 0.0294521301984787, -0.033150553703308105, -0.049292080104351044, -0.028050845488905907, 0.007102224510163069, 0.04757041856646538, -0.021143797785043716, -0.0363226942718029, -0.05343322455883026, 0.04751328378915787, -0.010639132000505924, -0.03264088183641434, -0.07470493018627167, 0.03390609472990036, -0.039775747805833817, 0.013353121466934681, 0.041678477078676224, 0.03800331801176071, 0.03067784011363983, 0.061917245388031006, 0.010289797559380531, 0.011201376095414162, -0.036069054156541824, 0.053008876740932465, -0.029966065660119057, -0.012963278219103813, 0.0012276964262127876, -0.028543636202812195, -0.022059153765439987, -0.030111096799373627, -0.056850552558898926, -0.03089541755616665, -0.02241608500480652, 0.0404968224465847, -0.003648740705102682, 0.01178180705755949, 0.0039660208858549595, 0.02697203867137432, -0.009449800476431847, -0.04645245149731636, 0.00803973525762558, -0.034684568643569946, -0.06588640064001083, -0.06339987367391586, 0.016086995601654053, 0.00263019441626966, 0.02976810745894909, 0.03397718816995621, 0.02150791510939598, -0.01011737622320652, 0.013055432587862015, -0.03572607785463333, 0.0338214747607708, 0.013065039180219173, -0.028714049607515335, -0.05017530545592308, 0.010162821039557457, 0.005009606014937162, 0.038857243955135345, -0.029118770733475685, 0.0287911556661129, 0.029890641570091248, -0.026954468339681625, -0.005015534348785877, 0.02971295267343521, 0.02796330116689205, -0.0927494466304779, -0.0589444600045681, -0.014025086537003517, -0.03809254616498947, 0.050327118486166, -0.03126034140586853, -0.022445453330874443, 0.026731453835964203, 0.025883495807647705, 0.03364574909210205, -0.01548340916633606, -0.019691823050379753, 0.026952380314469337, -0.009271797724068165, 0.010538134723901749, -0.07299470156431198, 0.029623445123434067, -0.02617790363729, 0.02384086512029171, -0.02754347212612629, -0.015233178623020649, -0.04811444878578186, 0.023031339049339294, -0.012316236272454262, -0.015018300153315067, -0.03513624891638756, 0.03614652529358864, -0.02195817045867443, 0.017800189554691315, -0.015636375173926353, 0.040065038949251175, -0.03619660064578056, 0.05642025172710419, -0.03885097801685333, 0.004673789720982313, -0.014413321390748024, 0.007316657807677984, -0.03182961046695709, -0.010197857394814491, -0.0020289949607104063, -0.036687761545181274, 0.018517503514885902, 0.04627687484025955, 0.03957366943359375, 0.027390381321310997, -0.02392333745956421, -0.0024876007810235023, 0.04805831238627434, -0.045279331505298615, -0.030566666275262833, -0.018048787489533424, 0.012470814399421215, -0.02176215872168541, 0.041813794523477554, 0.04487811401486397, -0.05431123077869415, -0.035241398960351944, 0.046476829797029495, 0.004748757462948561, -0.005288068205118179, 0.01059380080550909, 0.03718160465359688, 0.039185088127851486, 0.05959048494696617, -0.04031447693705559, -0.0054710195399820805, -0.020178211852908134, -0.026477210223674774, 0.047857705503702164, -0.0037328971084207296, 0.024277763441205025, 0.013766084797680378, -0.025445904582738876, -0.023789873346686363, 0.055411357432603836, 0.012624477967619896, 0.021397389471530914, -0.039293646812438965, -0.03778691962361336, 0.03151696175336838, 0.0015313969925045967, -0.04036024585366249, -0.003573742927983403, 0.009770802222192287, -0.03171415627002716, 0.0738581046462059, -0.03482447564601898, 0.007630435284227133, 0.05006721615791321, 0.022390831261873245, -0.007278864737600088, 0.06315461546182632, -0.023727377876639366, 0.013261130079627037, 0.04189504683017731, -0.055747877806425095, 0.016042036935687065, -0.04103725403547287, 0.06842391937971115, -0.07961584627628326, 0.0672282874584198, 0.0742417648434639, 0.008209442719817162, 0.03005838394165039, -0.007221848703920841, -0.027040645480155945, -0.004056152421981096, -0.03411464765667915, 0.05506444349884987, 0.0059906719252467155, -0.050328318029642105, 0.062247134745121, 0.009124133735895157, -0.0643308013677597, 0.060036782175302505, 0.0546288788318634, 0.030118504539132118, 0.048003025352954865, 0.027598410844802856, -0.034813396632671356, 0.002165828365832567, -0.04951225593686104, 0.014017275534570217, -0.058459121733903885, -0.005055727902799845, 0.02487502433359623, -0.052597180008888245, -0.02901574596762657, 0.03559770807623863, 0.011243056505918503, -0.011587394401431084, 0.04101394861936569, -0.04755570739507675, -0.05774729326367378, -0.011619265191257, 0.03840893879532814, -0.013069254346191883, 0.0015389382606372237, -0.03909282386302948, 0.030583756044507027, 0.004175995010882616, 0.014018066227436066, -0.03764909505844116, -0.001663420582190156, 0.04422895982861519, -0.10401695221662521, -0.030958300456404686, 0.049329545348882675, -0.006595353130251169, -0.025223735719919205, 0.03124353475868702, -0.02646910957992077, 0.025822611525654793, 0.04646071419119835, 0.02443542331457138, 0.03264767304062843, -0.051183849573135376, 0.006001650355756283, 0.006255604326725006, 0.009860902093350887, -0.004137383308261633, -0.007721595466136932, 0.013804112561047077, 0.024844225496053696, 0.018739819526672363, -0.003732824232429266, -0.036310020834207535, -0.012522799894213676, 0.044695548713207245, -0.021256791427731514, 0.021713433787226677, -0.0022080321796238422, -0.07307279109954834, -0.04447120800614357, -0.02095487341284752, -0.026372095569968224, 0.03596671670675278, -0.043888941407203674, 0.0045352173037827015, 0.03418811038136482, -0.015900228172540665, -0.053054675459861755, -0.10293769091367722, -0.028743965551257133, -0.049991000443696976, 0.03262040391564369, 0.0418396033346653, -0.037797361612319946, 0.019306305795907974, -0.043027956038713455, -0.08228746056556702, 0.022769426926970482, 0.03293928876519203, -0.024872882291674614, 0.05262056738138199, 0.056914072483778, -0.05063970014452934, 0.03260171413421631, 0.03496213257312775, -0.0552498996257782, 0.03137381002306938, 0.016279304400086403, 0.04334304481744766, 0.028463728725910187, 0.05364401638507843, 0.0018145923968404531, -0.02089597098529339, -0.05203291401267052, -0.02661256305873394, -0.022246407344937325, 0.003171732649207115, 0.03185577318072319 ]
BigSalmon/MrLincoln10
[ "pytorch", "tensorboard", "gpt2", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
5
2021-09-25T11:01:01Z
--- initializedtags: - fill-mask - text2text-generation - fill-mask - text-classification - Summarization - Chinese - CPT - BART - BERT - seq2seq language: zh --- # Chinese CPT-Base ### News **12/30/2022** An updated version of CPT & Chinese BART are released. In the new version, we changed the following parts: - **Vocabulary** We replace the old BERT vocabulary with a larger one of size 51271 built from the training data, in which we 1) add missing 6800+ Chinese characters (most of them are traditional Chinese characters); 2) remove redundant tokens (e.g. Chinese character tokens with ## prefix); 3) add some English tokens to reduce OOV. - **Position Embeddings** We extend the max_position_embeddings from 512 to 1024. We initialize the new version of models with the old version of checkpoints with vocabulary alignment. Token embeddings found in the old checkpoints are copied. And other newly added parameters are randomly initialized. We further train the new CPT & Chinese BART 50K steps with batch size 2048, max-seq-length 1024, peak learning rate 2e-5, and warmup ratio 0.1. The result compared to the previous checkpoints is as followings: | | AFQMC | IFLYTEK | CSL-sum | LCSTS | AVG | | :--------- | :---: | :-----: | :-----: | :---: | :---: | | Previous | | | | | | | bart-base | 73.0 | 60 | 62.1 | 37.8 | 58.23 | | cpt-base | 75.1 | 60.5 | 63.0 | 38.2 | 59.20 | | bart-large | 75.7 | 62.1 | 64.2 | 40.6 | 60.65 | | cpt-large | 75.9 | 61.8 | 63.7 | 42.0 | 60.85 | | Updataed | | | | | | | bart-base | 73.03 | 61.25 | 61.51 | 38.78 | 58.64 | | cpt-base | 74.40 | 61.23 | 62.09 | 38.81 | 59.13 | | bart-large | 75.81 | 61.52 | 64.62 | 40.90 | 60.71 | | cpt-large | 75.97 | 61.63 | 63.83 | 42.08 | 60.88 | The result shows that the updated models maintain comparative performance compared with previous checkpoints. There are still some cases that the updated model is slightly worse than the previous one, which results from the following reasons: 1) Training additional a few steps did not lead to significant performance improvement; 2) some downstream tasks are not affected by the newly added tokens and longer encoding sequences, but sensitive to the fine-tuning hyperparameters. - Note that to use updated models, please update the `modeling_cpt.py` (new version download [Here](https://github.com/fastnlp/CPT/blob/master/finetune/modeling_cpt.py)) and the vocabulary (refresh the cache). ## Model description This is an implementation of CPT-Base. To use CPT, please import the file `modeling_cpt.py` (**Download** [Here](https://github.com/fastnlp/CPT/blob/master/finetune/modeling_cpt.py)) that define the architecture of CPT into your project. [**CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation**](https://arxiv.org/pdf/2109.05729.pdf) Yunfan Shao, Zhichao Geng, Yitao Liu, Junqi Dai, Fei Yang, Li Zhe, Hujun Bao, Xipeng Qiu **Github Link:** https://github.com/fastnlp/CPT ## Usage ```python >>> from modeling_cpt import CPTForConditionalGeneration >>> from transformers import BertTokenizer >>> tokenizer = BertTokenizer.from_pretrained("fnlp/cpt-base") >>> model = CPTForConditionalGeneration.from_pretrained("fnlp/cpt-base") >>> inputs = tokenizer.encode("北京是[MASK]的首都", return_tensors='pt') >>> pred_ids = model.generate(input_ids, num_beams=4, max_length=20) >>> print(tokenizer.convert_ids_to_tokens(pred_ids[i])) ['[SEP]', '[CLS]', '北', '京', '是', '中', '国', '的', '首', '都', '[SEP]'] ``` **Note: Please use BertTokenizer for the model vocabulary. DO NOT use original BartTokenizer.** ## Citation ```bibtex @article{shao2021cpt, title={CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation}, author={Yunfan Shao and Zhichao Geng and Yitao Liu and Junqi Dai and Fei Yang and Li Zhe and Hujun Bao and Xipeng Qiu}, journal={arXiv preprint arXiv:2109.05729}, year={2021} } ```
[ -0.008975890465080738, -0.018793411552906036, -0.0012307207798585296, 0.04797384887933731, 0.03738280013203621, 0.0020617207046598196, -0.0009623162914067507, -0.007997935637831688, -0.02528180368244648, 0.06151426583528519, 0.0018265083199366927, -0.010592379607260227, 0.013338598422706127, 0.039083607494831085, -0.02437836490571499, -0.041352856904268265, -0.016843749210238457, -0.03180082514882088, -0.02515755407512188, 0.0015504286857321858, 0.01336764544248581, -0.0106242960318923, -0.0299235787242651, 0.03213039040565491, 0.026512552052736282, 0.011779047548770905, -0.01050958689302206, 0.027680767700076103, 0.02784092165529728, -0.0597834475338459, 0.004170535132288933, -0.03225330263376236, -0.03178903087973595, -0.01969318836927414, -0.017710015177726746, -0.004821281414479017, -0.00421185651794076, 0.016640575602650642, 0.037523701786994934, 0.06702856719493866, -0.0027112106326967478, 0.0012435332173481584, 0.004212680738419294, -0.03377331420779228, 0.025909317657351494, -0.016815511509776115, -0.024830635637044907, 0.008897041901946068, 0.033802542835474014, -0.012570972554385662, -0.057197362184524536, -0.05064643546938896, -0.004342745989561081, 0.015367225743830204, -0.022782649844884872, -0.038907770067453384, -0.08525631576776505, 0.009779924526810646, 0.08214046061038971, -0.040380705147981644, -0.049990348517894745, 0.0090202447026968, -0.04356224834918976, 0.023155219852924347, 0.014743027277290821, -0.03818397969007492, -0.005371236242353916, -0.0648871585726738, 0.027966225519776344, -0.0028074951842427254, 0.06452017277479172, -0.012598136439919472, 0.007910922169685364, -0.09551458060741425, 0.021034635603427887, -0.0355847030878067, 0.03069830872118473, 0.02548660896718502, -0.04314931854605675, 0.04772356525063515, 0.02387087047100067, -0.004081445746123791, 0.033758748322725296, -0.009973610751330853, -0.012659250758588314, 0.03440812975168228, -0.0375240333378315, 0.013834290206432343, 0.009304909035563469, 0.07245276123285294, -0.034050438553094864, -0.014992301352322102, -0.05037810653448105, -0.02992594987154007, -0.019564984366297722, 0.018516376614570618, 0.03841789811849594, -0.010315675288438797, 0.009042046964168549, 0.020229626446962357, 0.023158008232712746, 0.053708285093307495, 0.009246286004781723, 0.04506987705826759, -0.010814645327627659, 0.014455432072281837, -0.03801456093788147, -0.014449850656092167, -0.05681553855538368, 0.02227184735238552, 0.044840484857559204, -0.03095114603638649, -0.04437566548585892, 0.06011000648140907, 0.021402891725301743, -0.021770864725112915, 0.03268205747008324, -0.01547947060316801, -0.038210511207580566, -0.06298157572746277, 0.05439280346035957, 0.015866044908761978, 0.003571521956473589, 0.002935811411589384, -0.05695495754480362, 0.024602383375167847, -0.04767342656850815, -0.025215651839971542, 0.012730903923511505, 0.027334311977028847, 0.004978164564818144, 0.030468173325061798, -0.00377784576267004, -0.037584301084280014, 0.013239926658570766, -0.013555806130170822, -0.085934117436409, 0.06795457005500793, 0.03953219950199127, 0.07315031439065933, -0.06633369624614716, -0.05447503179311752, 0.021909503266215324, -0.001150177326053381, -0.02577873319387436, 0.023845184594392776, -0.011591203510761261, -0.022046025842428207, -0.01254996843636036, -0.030589738860726357, 0.07867913693189621, -0.052844803780317307, 0.0066727506928145885, 0.04722776636481285, -0.010923661291599274, 0.06283724308013916, -0.057866841554641724, 0.00451734010130167, 0.03353305160999298, -0.006679109297692776, -0.032310597598552704, 0.030525753274559975, -0.008724172599613667, 0.004662877414375544, -0.04285258799791336, -0.03958636522293091, 0.023896966129541397, 0.06932433694601059, 0.015585355460643768, -0.02355705387890339, -0.026775404810905457, 0.026893645524978638, 0.043185148388147354, 0.052571866661310196, -0.005526349879801273, 0.01835031807422638, 0.043819308280944824, 0.023122204467654228, -0.02082446962594986, 0.05427023023366928, 0.02994896098971367, -0.015668123960494995, -0.0102043766528368, 0.005725415889173746, -0.01606663502752781, -0.025614440441131592, 0.0055809929035604, 0.033110443502664566, 0.004315253347158432, -0.0542241632938385, -0.015449631959199905, 0.06994204223155975, 0.008881837129592896, -0.0023189226631075144, -0.014465976506471634, -0.01826958917081356, -0.0061471713706851006, 0.06219504773616791, -0.02688363939523697, -0.01672661118209362, -0.018809771165251732, -0.02690214104950428, -0.014056754298508167, 0.018554555252194405, 0.05956191569566727, 0.04325556010007858, -0.0025249833706766367, 0.06508448719978333, -0.041948750615119934, 0.04018303006887436, -0.03423113003373146, -0.026045186445116997, -0.0048942104913294315, 0.04338795691728592, 0.024688059464097023, 0.05407295003533363, 0.006983712315559387, -0.03387821093201637, 0.026717040687799454, 0.0705503597855568, 0.044805191457271576, 0.027204055339097977, -0.027001192793250084, -0.004983874503523111, 0.03703814744949341, 0.04864836111664772, -0.07048776000738144, -0.02538708783686161, 0.039722345769405365, 0.04775892198085785, -0.03572392463684082, 0.010115642100572586, -0.00045820296509191394, 0.01819513365626335, -0.06075584888458252, -0.0561513714492321, 0.04246849939227104, 0.0295135285705328, -0.0010943349916487932, 0.025420280173420906, -0.014266175217926502, 0.010306528769433498, 0.04294208809733391, 0.003444664878770709, 0.01094090100377798, -0.028509443625807762, 0.02286478690803051, 0.03804103657603264, 0.041669879108667374, -0.0604020357131958, 0.015955276787281036, 0.008275296539068222, 0.009234798140823841, 0.02837354689836502, -0.0444909892976284, 0.010283349081873894, 0.03258109092712402, 0.014911632984876633, -0.03842594474554062, 0.016953522339463234, 0.008947464637458324, 0.01552604790776968, 0.0892900675535202, -0.014790292829275131, 0.05805843695998192, -0.0016320784343406558, 0.042214833199977875, 0.06528958678245544, 0.007431643083691597, 0.032354969531297684, 0.036229588091373444, 0.07732456177473068, 0.012117777951061726, -0.002610479248687625, 0.046252623200416565, -0.048530302941799164, 0.006755439098924398, -0.05039647966623306, 0.013974737375974655, 0.027360552921891212, -0.01988816447556019, -0.004137885291129351, 0.006058095023036003, -0.01882541924715042, 0.006939002312719822, 0.000079173973063007, -0.01973210833966732, 0.027978094294667244, -0.001546538551338017, -0.006845231167972088, 0.025871872901916504, -0.039946917444467545, 0.0018476968398317695, -0.05261244252324104, -0.05691731721162796, -0.02266758307814598, -0.02700156718492508, 0.0319460853934288, -0.07222774624824524, -0.02531626634299755, -0.11970046907663345, -0.021916920319199562, 0.031312741339206696, 0.014746750704944134, -0.01204653736203909, -0.013804451562464237, 0.05890709534287453, -0.04682037979364395, 0.0015448484336957335, -0.026289472356438637, -0.02912331372499466, -0.03691217675805092, -0.07649294286966324, 0.01506426278501749, 0.02256920374929905, 0.02325793169438839, 0.041721850633621216, 0.009466122835874557, -0.005624061916023493, -0.009877752512693405, 0.04404450207948685, 0.04809808358550072, -0.039005424827337265, -0.03859333321452141, 0.0427129752933979, -0.03260749205946922, 0.011122353374958038, -0.023600144311785698, -0.024187598377466202, 0.08515399694442749, 0.08566004037857056, 0.006460847798734903, 0.006411696318536997, -0.011522965505719185, -0.06439208984375, -0.058613214641809464, -0.03161660581827164, -0.039510175585746765, -0.013390188105404377, -0.044813163578510284, -0.0429115816950798, -0.017606817185878754, -0.034315068274736404, -0.006229556631296873, -0.0350293405354023, 0.006485920399427414, 0.04275450482964516, 0.03187136724591255, 0.03287186473608017, 0.053537193685770035, -0.016649451106786728, -0.01418272964656353, 0.09576600044965744, -0.002011318225413561, 0.01809750497341156, -0.0505698099732399, -0.016500510275363922, 0.03964169695973396, 0.007529709488153458, -0.01239769533276558, -0.014452493749558926, 0.0768861472606659, -0.0037530786357820034, 0.005899747833609581, 0.00013710767962038517, -0.022197166457772255, -0.01526116207242012, 0.0008957575191743672, -0.0010270964121446013, -0.016268283128738403, -0.049801863729953766, -0.025139715522527695, 0.0016138007631525397, 0.05320209264755249, -0.0708569586277008, -0.04326288029551506, -0.017553875222802162, 0.03528434410691261, 0.012083729729056358, -0.031878575682640076, -0.045049361884593964, 0.0028254848439246416, -0.03574378415942192, -0.02760656550526619, -0.014250414445996284, 0.003992064390331507, 0.02604222483932972, 0.04935407638549805, 0.010421857237815857, -0.0269941296428442, 0.03862990066409111, 0.05108989030122757, 0.05503274127840996, 0.015037177130579948, -0.0625080019235611, 0.0005065287696197629, -0.015277190133929253, 0.024345695972442627, 0.008962234482169151, -0.014613211154937744, -0.035072844475507736, -0.09988541901111603, -0.006189461797475815, -0.0009043199825100601, -0.01377119030803442, -0.014129886403679848, 0.039664026349782944, -0.023094961419701576, -0.015751101076602936, -0.00003171303978888318, 0.01936187967658043, 0.042062532156705856, -0.0499521940946579, 0.059820547699928284, -0.009970187209546566, 0.036905303597450256, -0.04039787873625755, 0.006731287110596895, -0.044578325003385544, 0.015491039492189884, 0.011522101238369942, 0.035452745854854584, 0.022405901923775673, 0.06148110702633858, 0.06902570277452469, 0.014768682420253754, -0.036040812730789185, 0.04632288217544556, 0.04615934193134308, -0.0071266149170696735, -0.04919980466365814, 0.02233879454433918, -0.018109478056430817, 0.003710402175784111, -0.0017050034366548061, -0.02769811451435089, 0.008861350826919079, 0.05045035108923912, -0.011482713744044304, 0.002026916714385152, 0.01779322139918804, -0.015877069905400276, -0.04435442015528679, -0.03166183456778526, -0.013893757946789265, -0.0017312119016423821, -0.03456776589155197, 0.0386824831366539, 0.01262009795755148, 0.026734448969364166, 0.0702260285615921, 0.05909794196486473, -0.037305790930986404, -0.021425236016511917, 0.04412100464105606, 0.019445737823843956, -0.04477988928556442, -0.05310393124818802, -0.02703784964978695, 0.053101833909749985, 0.02356937900185585, 0.004958913661539555, -0.06721965223550797, -0.0035265381447970867, 0.08699755370616913, -0.03600750491023064, 0.07543709129095078, 0.002432493260130286, 0.04054800793528557, 0.04545151814818382, 0.010401277802884579, 0.03630810230970383, -0.0002801888040266931, -0.004353526514023542, -0.01351725123822689, 0.03303062170743942, -0.037350282073020935, -0.03570796921849251, -0.051842059940099716, 0.032716039568185806, 0.01984250731766224, 0.04083849489688873, 0.038448821753263474, -0.019578834995627403, -0.04352305084466934, 0.020199531689286232, 0.04521297663450241, -0.05975663289427757, 0.0019238230306655169, 0.019627084955573082, 0.029793336987495422, -0.033198222517967224, -0.04937611147761345, -0.029404735192656517, 0.0040148054249584675, 0.03873366490006447, -0.020290052518248558, -0.03630586341023445, -0.05302998051047325, 0.048793643712997437, -0.008530357852578163, -0.031651679426431656, -0.07393214851617813, 0.03220586106181145, -0.03869742155075073, 0.014592809602618217, 0.04428667575120926, 0.034786444157361984, 0.029208313673734665, 0.06514668464660645, 0.014124969951808453, 0.00943464320152998, -0.035276882350444794, 0.05704803764820099, -0.031152268871665, -0.00987423025071621, 0.0028407033532857895, -0.031007051467895508, -0.020375853404402733, -0.031660351902246475, -0.05801524221897125, -0.030624184757471085, -0.02019253745675087, 0.040184009820222855, -0.0034241382963955402, 0.009511672891676426, -0.0012723838444799185, 0.026969481259584427, -0.012366821989417076, -0.03939729183912277, 0.006578121799975634, -0.033531639724969864, -0.06674075126647949, -0.06644842028617859, 0.01608508825302124, -0.0029243791941553354, 0.03107132948935032, 0.034860629588365555, 0.017277661710977554, -0.01147378794848919, 0.01658620685338974, -0.03107590600848198, 0.03203136846423149, 0.012336984276771545, -0.03076850064098835, -0.05087720602750778, 0.004631360061466694, 0.0058194114826619625, 0.04023072496056557, -0.025022493675351143, 0.028505539521574974, 0.032259274274110794, -0.028447458520531654, -0.0027298834174871445, 0.03508272394537926, 0.029799265787005424, -0.09189335256814957, -0.05791304633021355, -0.01639026403427124, -0.043695878237485886, 0.04998329281806946, -0.023408329114317894, -0.027805589139461517, 0.03113628551363945, 0.01937977224588394, 0.03453194350004196, -0.01353009045124054, -0.020571978762745857, 0.02953227609395981, -0.008213721215724945, 0.01249459758400917, -0.07469093799591064, 0.026575040072202682, -0.024951916188001633, 0.019170837476849556, -0.029652845114469528, -0.016041254624724388, -0.04518797993659973, 0.024627547711133957, -0.015205150470137596, -0.015968648716807365, -0.03459911048412323, 0.030301867052912712, -0.029888808727264404, 0.017417479306459427, -0.017400242388248444, 0.03244816139340401, -0.03572729974985123, 0.061745740473270416, -0.03903490677475929, 0.006147041451185942, -0.015613391064107418, 0.003815822070464492, -0.026252608746290207, -0.014600063674151897, -0.0037433053366839886, -0.03986334428191185, 0.02017080783843994, 0.04348630830645561, 0.042755212634801865, 0.03027850016951561, -0.021151388064026833, 0.004407129250466824, 0.053091131150722504, -0.036528944969177246, -0.032631900161504745, -0.016006983816623688, 0.011816193349659443, -0.02707516960799694, 0.04363490641117096, 0.04724694415926933, -0.052307285368442535, -0.0392388217151165, 0.05127963051199913, 0.0016210108296945691, -0.0070396000519394875, 0.01593305729329586, 0.0442395955324173, 0.043642837554216385, 0.06065455079078674, -0.043614085763692856, -0.002206503413617611, -0.01852177083492279, -0.029776556417346, 0.04862252622842789, -0.006147031206637621, 0.024749984964728355, 0.009206018410623074, -0.025930579751729965, -0.02286280319094658, 0.058457743376493454, 0.017979854717850685, 0.023451844230294228, -0.0402236208319664, -0.03760867565870285, 0.03163415193557739, 0.002853485755622387, -0.04335710033774376, -0.0038184556178748608, 0.0047550564631819725, -0.03317975625395775, 0.07059729844331741, -0.03059755451977253, 0.010355119593441486, 0.050922323018312454, 0.021557539701461792, -0.01313840877264738, 0.06167713552713394, -0.026365024968981743, 0.014097172766923904, 0.04140418395400047, -0.05289170518517494, 0.011592136695981026, -0.03723935782909393, 0.06795310974121094, -0.08043301850557327, 0.06286554783582687, 0.06982677429914474, 0.006142209749668837, 0.030444849282503128, -0.005238572601228952, -0.028794918209314346, -0.0015178249450400472, -0.03389592841267586, 0.05220721662044525, 0.013134132139384747, -0.04943762347102165, 0.05942424386739731, 0.008331170305609703, -0.0673167034983635, 0.05991396680474281, 0.05319618061184883, 0.0337853766977787, 0.04457060247659683, 0.021709371358156204, -0.03781374543905258, 0.0024578880984336138, -0.047886207699775696, 0.009320082142949104, -0.0576484389603138, -0.007054643239825964, 0.027084212750196457, -0.05345502123236656, -0.02514633722603321, 0.037916261702775955, 0.009454564191401005, -0.006029369775205851, 0.03585493937134743, -0.049172598868608475, -0.05800645798444748, -0.015823444351553917, 0.035671062767505646, -0.013655856251716614, 0.004763903561979532, -0.042557649314403534, 0.03052973560988903, 0.006551086902618408, 0.0066765774972736835, -0.04610605165362358, -0.005452410783618689, 0.0452694445848465, -0.10165553539991379, -0.034526851028203964, 0.05037856474518776, -0.005940095987170935, -0.022956393659114838, 0.03445107862353325, -0.02240411937236786, 0.030154619365930557, 0.04260679706931114, 0.022433876991271973, 0.033873628824949265, -0.05354795604944229, 0.0066828178241848946, 0.005810023285448551, 0.007850545458495617, -0.0025538650806993246, -0.014950094744563103, 0.019312439486384392, 0.026313520967960358, 0.018464507535099983, -0.010437622666358948, -0.034062307327985764, -0.006928806193172932, 0.04598953574895859, -0.020881693810224533, 0.01592535711824894, -0.004697805270552635, -0.07370781153440475, -0.04214699566364288, -0.02023501507937908, -0.02275228686630726, 0.03420160710811615, -0.047607146203517914, -0.0029904753901064396, 0.03891388699412346, -0.022344063967466354, -0.05219533294439316, -0.1049717515707016, -0.026234179735183716, -0.04600679129362106, 0.03126053884625435, 0.04099646955728531, -0.03347250074148178, 0.01559782400727272, -0.04385552182793617, -0.07537807524204254, 0.023642437532544136, 0.03555632382631302, -0.02352386899292469, 0.05263771861791611, 0.049040909856557846, -0.05337851494550705, 0.037759292870759964, 0.03449030965566635, -0.056543175131082535, 0.02534344047307968, 0.011699671857059002, 0.04162769392132759, 0.024299150332808495, 0.05009697750210762, -0.007473490666598082, -0.022275244817137718, -0.05297626554965973, -0.02331773191690445, -0.02401931770145893, 0.005174360703676939, 0.03223872929811478 ]
BigSalmon/MrLincoln11
[ "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 } } }
9
null
--- tags: - fill-mask - text2text-generation - fill-mask - text-classification - Summarization - Chinese - CPT - BART - BERT - seq2seq language: zh --- # Chinese CPT-Large ### News **12/30/2022** An updated version of CPT & Chinese BART are released. In the new version, we changed the following parts: - **Vocabulary** We replace the old BERT vocabulary with a larger one of size 51271 built from the training data, in which we 1) add missing 6800+ Chinese characters (most of them are traditional Chinese characters); 2) remove redundant tokens (e.g. Chinese character tokens with ## prefix); 3) add some English tokens to reduce OOV. - **Position Embeddings** We extend the max_position_embeddings from 512 to 1024. We initialize the new version of models with the old version of checkpoints with vocabulary alignment. Token embeddings found in the old checkpoints are copied. And other newly added parameters are randomly initialized. We further train the new CPT & Chinese BART 50K steps with batch size 2048, max-seq-length 1024, peak learning rate 2e-5, and warmup ratio 0.1. The result compared to the previous checkpoints is as followings: | | AFQMC | IFLYTEK | CSL-sum | LCSTS | AVG | | :--------- | :---: | :-----: | :-----: | :---: | :---: | | Previous | | | | | | | bart-base | 73.0 | 60 | 62.1 | 37.8 | 58.23 | | cpt-base | 75.1 | 60.5 | 63.0 | 38.2 | 59.20 | | bart-large | 75.7 | 62.1 | 64.2 | 40.6 | 60.65 | | cpt-large | 75.9 | 61.8 | 63.7 | 42.0 | 60.85 | | Updataed | | | | | | | bart-base | 73.03 | 61.25 | 61.51 | 38.78 | 58.64 | | cpt-base | 74.40 | 61.23 | 62.09 | 38.81 | 59.13 | | bart-large | 75.81 | 61.52 | 64.62 | 40.90 | 60.71 | | cpt-large | 75.97 | 61.63 | 63.83 | 42.08 | 60.88 | The result shows that the updated models maintain comparative performance compared with previous checkpoints. There are still some cases that the updated model is slightly worse than the previous one, which results from the following reasons: 1) Training additional a few steps did not lead to significant performance improvement; 2) some downstream tasks are not affected by the newly added tokens and longer encoding sequences, but sensitive to the fine-tuning hyperparameters. - Note that to use updated models, please update the `modeling_cpt.py` (new version download [Here](https://github.com/fastnlp/CPT/blob/master/finetune/modeling_cpt.py)) and the vocabulary (refresh the cache). ## Model description This is an implementation of CPT-Large. To use CPT, please import the file `modeling_cpt.py` (**Download** [Here](https://github.com/fastnlp/CPT/blob/master/finetune/modeling_cpt.py)) that define the architecture of CPT into your project. [**CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation**](https://arxiv.org/pdf/2109.05729.pdf) Yunfan Shao, Zhichao Geng, Yitao Liu, Junqi Dai, Fei Yang, Li Zhe, Hujun Bao, Xipeng Qiu **Github Link:** https://github.com/fastnlp/CPT ## Usage ```python >>> from modeling_cpt import CPTForConditionalGeneration >>> from transformers import BertTokenizer >>> tokenizer = BertTokenizer.from_pretrained("fnlp/cpt-large") >>> model = CPTForConditionalGeneration.from_pretrained("fnlp/cpt-large") >>> input_ids = tokenizer.encode("北京是[MASK]的首都", return_tensors='pt') >>> pred_ids = model.generate(input_ids, num_beams=4, max_length=20) >>> print(tokenizer.convert_ids_to_tokens(pred_ids[0])) ['[SEP]', '[CLS]', '北', '京', '是', '中', '国', '的', '首', '都', '[SEP]'] ``` **Note: Please use BertTokenizer for the model vocabulary. DO NOT use original BartTokenizer.** ## Citation ```bibtex @article{shao2021cpt, title={CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation}, author={Yunfan Shao and Zhichao Geng and Yitao Liu and Junqi Dai and Fei Yang and Li Zhe and Hujun Bao and Xipeng Qiu}, journal={arXiv preprint arXiv:2109.05729}, year={2021} } ```
[ -0.00705075915902853, -0.01695077307522297, 0.0012727051507681608, 0.04782170429825783, 0.03654748573899269, 0.0011180725414305925, -0.0032078393269330263, -0.006523625925183296, -0.024195397272706032, 0.06310989707708359, 0.0032637999393045902, -0.010217411443591118, 0.011423273012042046, 0.04084143415093422, -0.02185836061835289, -0.04026911035180092, -0.01641838811337948, -0.03136015683412552, -0.025177204981446266, -0.0013584153493866324, 0.011757978238165379, -0.012499851174652576, -0.028960464522242546, 0.033876173198223114, 0.029094867408275604, 0.011433586478233337, -0.008861014619469643, 0.027026331052184105, 0.028447415679693222, -0.060118887573480606, 0.00507696345448494, -0.03406479209661484, -0.03325857222080231, -0.01836756430566311, -0.01806868053972721, -0.005815182346850634, -0.0019828155636787415, 0.01456732302904129, 0.03727011755108833, 0.06623964756727219, -0.0028249043971300125, 0.000614287331700325, 0.004044632893055677, -0.03457661345601082, 0.02470594085752964, -0.016994312405586243, -0.026981640607118607, 0.006437473464757204, 0.03324701264500618, -0.014617807231843472, -0.05750426650047302, -0.05152953043580055, -0.006765326485037804, 0.014725961722433567, -0.02159205451607704, -0.038081154227256775, -0.08163683116436005, 0.011505043134093285, 0.08083955198526382, -0.03832758218050003, -0.050088752061128616, 0.006880241446197033, -0.042497094720602036, 0.022985542193055153, 0.016309913247823715, -0.04168684780597687, -0.005802039988338947, -0.06622164696455002, 0.02731529250741005, -0.005854419898241758, 0.06494113802909851, -0.012145547196269035, 0.0071226307190954685, -0.09725954383611679, 0.022100666537880898, -0.03500420227646828, 0.03181546926498413, 0.024683626368641853, -0.041304439306259155, 0.0477166511118412, 0.02698277309536934, -0.005803228355944157, 0.03395045921206474, -0.011188030242919922, -0.010355803184211254, 0.035000670701265335, -0.03701458498835564, 0.011739914305508137, 0.010530008003115654, 0.0710679292678833, -0.03413781523704529, -0.01501673273742199, -0.04874323680996895, -0.029888274148106575, -0.021723158657550812, 0.019295543432235718, 0.03779061511158943, -0.00986800529062748, 0.008954497054219246, 0.021088795736432076, 0.022247737273573875, 0.05279027298092842, 0.008201836608350277, 0.04627646505832672, -0.01127600111067295, 0.012321176938712597, -0.038072168827056885, -0.012542065232992172, -0.05717086419463158, 0.02316324971616268, 0.04523007199168205, -0.03191261738538742, -0.04422293230891228, 0.05888217315077782, 0.020741386339068413, -0.021562086418271065, 0.035532087087631226, -0.017532071098685265, -0.03733879700303078, -0.06191101297736168, 0.054446421563625336, 0.013318859972059727, 0.004714620765298605, 0.0021124843042343855, -0.05669332668185234, 0.022756576538085938, -0.048651453107595444, -0.02205154486000538, 0.012593339197337627, 0.02850469946861267, 0.005305665545165539, 0.029366137459874153, -0.0077131581492722034, -0.03733580559492111, 0.011820241808891296, -0.011759718880057335, -0.08786042779684067, 0.06655389815568924, 0.04096999019384384, 0.07454647123813629, -0.06519673764705658, -0.05457622557878494, 0.020412690937519073, -0.0002745043020695448, -0.025594385340809822, 0.02236766926944256, -0.011909840628504753, -0.024146879091858864, -0.013673820532858372, -0.029934989288449287, 0.07696244865655899, -0.05494950711727142, 0.008772306144237518, 0.045887820422649384, -0.008909028023481369, 0.061657633632421494, -0.05843471363186836, 0.005924015771597624, 0.03451380506157875, -0.007447920273989439, -0.0323454774916172, 0.03160105645656586, -0.005504914093762636, 0.0037477081641554832, -0.03983921557664871, -0.04099509119987488, 0.0238998644053936, 0.06648172438144684, 0.016866641119122505, -0.02288053371012211, -0.02675897441804409, 0.028906235471367836, 0.04486524686217308, 0.05502590537071228, -0.0049115074798464775, 0.01665419340133667, 0.04596349596977234, 0.02433348260819912, -0.021757496520876884, 0.05580988898873329, 0.026792479678988457, -0.016560006886720657, -0.011133872903883457, 0.002531917067244649, -0.014131774194538593, -0.025964803993701935, 0.005654281936585903, 0.034781768918037415, 0.005082199349999428, -0.05265205726027489, -0.014785340055823326, 0.07003360241651535, 0.009235499426722527, -0.0028805516194552183, -0.015250524505972862, -0.019093545153737068, -0.007802870124578476, 0.059787824749946594, -0.029820730909705162, -0.017971917986869812, -0.018494242802262306, -0.02761000022292137, -0.012116312980651855, 0.015622767619788647, 0.056981638073921204, 0.044596537947654724, -0.0031392143573611975, 0.06344356387853622, -0.044392578303813934, 0.0406339131295681, -0.03188294544816017, -0.024446897208690643, -0.005859663709998131, 0.04141771420836449, 0.02327629365026951, 0.05362914502620697, 0.006180205382406712, -0.03473362326622009, 0.026833510026335716, 0.06981991231441498, 0.04437711089849472, 0.026623940095305443, -0.026660867035388947, -0.005757957696914673, 0.03479328006505966, 0.04917904734611511, -0.07203768938779831, -0.02262917160987854, 0.04182077944278717, 0.049010101705789566, -0.03670762479305267, 0.010686824098229408, -0.0007533928728662431, 0.017749445512890816, -0.060480061918497086, -0.05575212836265564, 0.040915437042713165, 0.03044602833688259, -0.0028974961023777723, 0.026678087189793587, -0.016043785959482193, 0.009129482321441174, 0.0436260811984539, 0.0029199786949902773, 0.010181610472500324, -0.02817385457456112, 0.02253119647502899, 0.03877676650881767, 0.04319149628281593, -0.060777414590120316, 0.015251689590513706, 0.008375600911676884, 0.007277715485543013, 0.02912501059472561, -0.04418448731303215, 0.009838638827204704, 0.03224683180451393, 0.014784767292439938, -0.0347432866692543, 0.019502494484186172, 0.007112600840628147, 0.014429055154323578, 0.08810178935527802, -0.011802959255874157, 0.05719853565096855, -0.0023874216713011265, 0.0434739887714386, 0.0669882521033287, 0.006234378088265657, 0.03308418020606041, 0.03828556463122368, 0.07824722677469254, 0.013269072398543358, -0.0038585388101637363, 0.04479691758751869, -0.046090997755527496, 0.00604289909824729, -0.05021985247731209, 0.014535431750118732, 0.025109903886914253, -0.02069886587560177, -0.0031678793020546436, 0.007189186755567789, -0.017456375062465668, 0.008290914818644524, -0.0009553467971272767, -0.017936330288648605, 0.03239439055323601, -0.0019173056352883577, -0.0049710581079125404, 0.02678091637790203, -0.04128708690404892, 0.002336302772164345, -0.04949234426021576, -0.05941535905003548, -0.019098788499832153, -0.028171200305223465, 0.031542278826236725, -0.07329750061035156, -0.027701158076524734, -0.11935049295425415, -0.02248454838991165, 0.0322846919298172, 0.016971001401543617, -0.009488380514085293, -0.01582670584321022, 0.05664040148258209, -0.04763471335172653, -0.0005922070704400539, -0.02609458565711975, -0.027805421501398087, -0.03692173957824707, -0.07763086259365082, 0.015041481703519821, 0.02227708138525486, 0.02592378668487072, 0.04111754894256592, 0.004834481980651617, -0.008403809741139412, -0.01114888209849596, 0.045416321605443954, 0.046822793781757355, -0.03994525223970413, -0.040632545948028564, 0.040962524712085724, -0.03388464078307152, 0.00979571882635355, -0.02490079589188099, -0.025511350482702255, 0.0879480168223381, 0.08413339406251907, 0.009192305617034435, 0.006691311951726675, -0.012567762285470963, -0.06522400677204132, -0.05852612107992172, -0.032139867544174194, -0.037554241716861725, -0.014537576586008072, -0.044379912316799164, -0.04578685760498047, -0.018700744956731796, -0.035044483840465546, -0.008947735652327538, -0.03261993080377579, 0.008725284598767757, 0.04248986765742302, 0.03101193904876709, 0.031300514936447144, 0.05018748715519905, -0.016751013696193695, -0.012721926905214787, 0.09581436216831207, -0.0011306824162602425, 0.02080521732568741, -0.05022837594151497, -0.016267701983451843, 0.03998599946498871, 0.00791028793901205, -0.013542121276259422, -0.011741135269403458, 0.07823676615953445, -0.0027394548524171114, 0.0033071483485400677, 0.001873479224741459, -0.021709349006414413, -0.015423545613884926, -0.00277623999863863, -0.0020943726412951946, -0.01698911376297474, -0.05147091671824455, -0.023726508021354675, -0.0005606072954833508, 0.050854120403528214, -0.07141775637865067, -0.04265325516462326, -0.019772779196500778, 0.03427360951900482, 0.01263643428683281, -0.03139892965555191, -0.04719697684049606, 0.0031119389459490776, -0.036127008497714996, -0.026201903820037842, -0.013111181557178497, 0.004433252848684788, 0.025504983961582184, 0.0484071746468544, 0.0121241370216012, -0.028420092537999153, 0.04181636869907379, 0.049295976758003235, 0.05472412705421448, 0.01499166339635849, -0.06403078138828278, 0.0011273431591689587, -0.012427457608282566, 0.024961689487099648, 0.01010613702237606, -0.014854706823825836, -0.03865518420934677, -0.09919886291027069, -0.0020213976968079805, -0.002864828333258629, -0.01494924258440733, -0.013780087232589722, 0.04052528366446495, -0.024341905489563942, -0.013709699735045433, -0.0014371711295098066, 0.021775951609015465, 0.04266664758324623, -0.049863699823617935, 0.059011463075876236, -0.009594669565558434, 0.035438474267721176, -0.03930290788412094, 0.007614899892359972, -0.045493971556425095, 0.01484653539955616, 0.012287423945963383, 0.03766809031367302, 0.024694548919796944, 0.059029798954725266, 0.06936226040124893, 0.0168211217969656, -0.035518184304237366, 0.0472986064851284, 0.04909955710172653, -0.007650709245353937, -0.04978281259536743, 0.022095859050750732, -0.016617920249700546, 0.0019779056310653687, -0.004953067284077406, -0.02852443978190422, 0.008329229429364204, 0.048427764326334, -0.009457415901124477, 0.001045114709995687, 0.01964607462286949, -0.01981210894882679, -0.044919274747371674, -0.03273487463593483, -0.012252994813024998, -0.004366864915937185, -0.034939903765916824, 0.039420805871486664, 0.014291796833276749, 0.02617061883211136, 0.07294084876775742, 0.05800728499889374, -0.03738304227590561, -0.022559229284524918, 0.044294122606515884, 0.019507596269249916, -0.042983658611774445, -0.05208253487944603, -0.029509415850043297, 0.052820030599832535, 0.024107355624437332, 0.0030448578763753176, -0.06879023462533951, -0.004085691645741463, 0.08674100041389465, -0.039431843906641006, 0.07728541642427444, 0.002243432682007551, 0.04342782497406006, 0.04757174849510193, 0.011774709448218346, 0.03805607557296753, -0.003883392782881856, -0.0013404361670836806, -0.013707068748772144, 0.03167229890823364, -0.038886480033397675, -0.03311794623732567, -0.050645243376493454, 0.0329911895096302, 0.016482040286064148, 0.04269853234291077, 0.04048846289515495, -0.022304030135273933, -0.04492146521806717, 0.020080899819731712, 0.04713907092809677, -0.06045597419142723, 0.001082193455658853, 0.017086531966924667, 0.03194664418697357, -0.03493325784802437, -0.046946797519922256, -0.028921417891979218, 0.0029800920747220516, 0.039380982518196106, -0.019266169518232346, -0.036922335624694824, -0.05598224326968193, 0.04642966017127037, -0.011126426048576832, -0.03174469992518425, -0.07242819666862488, 0.0348827987909317, -0.03908601403236389, 0.016150731593370438, 0.04310106486082077, 0.03539549931883812, 0.03231997787952423, 0.06173393875360489, 0.013489886187016964, 0.012474783696234226, -0.033569060266017914, 0.05568980053067207, -0.03337346017360687, -0.009052484296262264, 0.003414811799302697, -0.03507515415549278, -0.019568216055631638, -0.03111550584435463, -0.056261442601680756, -0.031358905136585236, -0.019351141527295113, 0.03762761875987053, -0.0036247551906853914, 0.010879388079047203, -0.0009220786741934717, 0.02454521879553795, -0.014133849181234837, -0.03631558269262314, 0.007924138568341732, -0.034905098378658295, -0.06883610785007477, -0.06783533096313477, 0.01609865576028824, -0.0032535346690565348, 0.029326921328902245, 0.034187596291303635, 0.018598565831780434, -0.010858711786568165, 0.01660807989537716, -0.03246575966477394, 0.033668432384729385, 0.013681525364518166, -0.03140220046043396, -0.04759397730231285, 0.007480002008378506, 0.007093978580087423, 0.039442602545022964, -0.02557292766869068, 0.02744433842599392, 0.031940292567014694, -0.028859473764896393, -0.003730237251147628, 0.03495413437485695, 0.03135061264038086, -0.091380774974823, -0.056313060224056244, -0.018613575026392937, -0.04322927072644234, 0.04955798387527466, -0.022963495925068855, -0.027880748733878136, 0.029436994343996048, 0.022352708503603935, 0.03238365799188614, -0.016228310763835907, -0.019542841240763664, 0.026420632377266884, -0.010241796262562275, 0.01396376732736826, -0.07583048194646835, 0.028397003188729286, -0.024827346205711365, 0.020289944484829903, -0.029185941442847252, -0.01675182767212391, -0.04141956567764282, 0.026925429701805115, -0.01341819204390049, -0.01640310138463974, -0.034727927297353745, 0.03003939799964428, -0.028361709788441658, 0.019244661554694176, -0.015760192647576332, 0.03306654840707779, -0.03740266337990761, 0.06029559671878815, -0.04107578471302986, 0.006071161944419146, -0.013940306380391121, 0.002773350104689598, -0.02375270612537861, -0.01546981930732727, -0.003569339169189334, -0.04098105430603027, 0.019928649067878723, 0.04252760112285614, 0.04333483800292015, 0.028971035033464432, -0.02231048047542572, 0.0068818735890090466, 0.05520414933562279, -0.037792980670928955, -0.03302708640694618, -0.015937775373458862, 0.011360369622707367, -0.028130503371357918, 0.04373404383659363, 0.0460876040160656, -0.0520765520632267, -0.03978664055466652, 0.05134279280900955, 0.004520379938185215, -0.009139598347246647, 0.013365133665502071, 0.04455318674445152, 0.04322678595781326, 0.06118299812078476, -0.043574269860982895, -0.0006323134293779731, -0.017417464405298233, -0.029227662831544876, 0.04748612642288208, -0.005142236594110727, 0.02499101683497429, 0.008319140411913395, -0.025649845600128174, -0.02558964677155018, 0.05887877568602562, 0.017240043729543686, 0.02239963412284851, -0.039564915001392365, -0.03658574819564819, 0.030795210972428322, 0.0005835770280100405, -0.04444700479507446, -0.005257576238363981, 0.009806083515286446, -0.03310059756040573, 0.07057859003543854, -0.030166056007146835, 0.011646540835499763, 0.0491802915930748, 0.020141061395406723, -0.012719083577394485, 0.06224391609430313, -0.02664625644683838, 0.014461839571595192, 0.03928184136748314, -0.05350542441010475, 0.012220113538205624, -0.033040136098861694, 0.06842628866434097, -0.07997121661901474, 0.06402364373207092, 0.07065379619598389, 0.007109483238309622, 0.030218031257390976, -0.006188463419675827, -0.028561025857925415, -0.0026840621139854193, -0.03520723804831505, 0.05247760936617851, 0.012561398558318615, -0.04771025851368904, 0.06017574295401573, 0.007695918437093496, -0.06859681755304337, 0.06102989986538887, 0.05335887894034386, 0.03407404571771622, 0.04169382527470589, 0.022598031908273697, -0.03520335257053375, 0.003889513900503516, -0.04880860075354576, 0.009297664277255535, -0.05761346220970154, -0.005551112350076437, 0.02472294494509697, -0.053843945264816284, -0.02453286200761795, 0.03851454332470894, 0.007310373708605766, -0.007085112389177084, 0.03491988405585289, -0.04850061982870102, -0.0580592155456543, -0.01425082329660654, 0.03538420796394348, -0.01491821650415659, 0.0074439626187086105, -0.0429130382835865, 0.03023899905383587, 0.006926885340362787, 0.003637501737102866, -0.04538823664188385, -0.005163667257875204, 0.04535046964883804, -0.100185327231884, -0.03412759676575661, 0.04874526336789131, -0.006048094946891069, -0.023326903581619263, 0.030681263655424118, -0.022156596183776855, 0.02910342440009117, 0.04361753910779953, 0.020846432074904442, 0.03355255350470543, -0.05522904917597771, 0.008516971953213215, 0.005968291778117418, 0.007647510152310133, -0.003127835923805833, -0.01474195159971714, 0.018815064802765846, 0.026836082339286804, 0.024916836991906166, -0.010894708335399628, -0.033211782574653625, -0.008046640083193779, 0.045290641486644745, -0.021996594965457916, 0.018389567732810974, -0.0046470798552036285, -0.07221829891204834, -0.044144902378320694, -0.018162202090024948, -0.02224591001868248, 0.03584187477827072, -0.04585482180118561, -0.0007662412244826555, 0.03966054320335388, -0.021816875785589218, -0.05130184441804886, -0.10485539585351944, -0.024785131216049194, -0.04441695287823677, 0.030521953478455544, 0.04180997982621193, -0.03542306274175644, 0.012467721477150917, -0.043564680963754654, -0.0726265162229538, 0.023832809180021286, 0.032626546919345856, -0.02259221114218235, 0.05046505481004715, 0.04817112535238266, -0.05217790976166725, 0.036870356649160385, 0.034422144293785095, -0.05780375003814697, 0.027615930885076523, 0.01344164926558733, 0.04204697161912918, 0.02222258225083351, 0.0492861345410347, -0.0062563675455749035, -0.0216047540307045, -0.05368144437670708, -0.023252369835972786, -0.023281468078494072, 0.0020438258070498705, 0.03357354551553726 ]
BigSalmon/MrLincoln12
[ "pytorch", "gpt2", "text-generation", "transformers", "has_space" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
null
--- tags: - Multi-exit-BERT language: en datasets: - wikipedia - bookcorpus - c4 --- # ElasticBERT-BASE ## Model description This is an implementation of the `base` version of ElasticBERT. [**Towards Efficient NLP: A Standard Evaluation and A Strong Baseline**](https://arxiv.org/pdf/2110.07038.pdf) Xiangyang Liu, Tianxiang Sun, Junliang He, Lingling Wu, Xinyu Zhang, Hao Jiang, Zhao Cao, Xuanjing Huang, Xipeng Qiu ## Code link [**fastnlp/elasticbert**](https://github.com/fastnlp/ElasticBERT) ## Usage ```python >>> from transformers import BertTokenizer as ElasticBertTokenizer >>> from models.configuration_elasticbert import ElasticBertConfig >>> from models.modeling_elasticbert import ElasticBertForSequenceClassification >>> num_output_layers = 1 >>> config = ElasticBertConfig.from_pretrained('fnlp/elasticbert-base', num_output_layers=num_output_layers ) >>> tokenizer = ElasticBertTokenizer.from_pretrained('fnlp/elasticbert-base') >>> model = ElasticBertForSequenceClassification.from_pretrained('fnlp/elasticbert-base', config=config) >>> input_ids = tokenizer.encode('The actors are fantastic .', return_tensors='pt') >>> outputs = model(input_ids) ``` ## Citation ```bibtex @article{liu2021elasticbert, author = {Xiangyang Liu and Tianxiang Sun and Junliang He and Lingling Wu and Xinyu Zhang and Hao Jiang and Zhao Cao and Xuanjing Huang and Xipeng Qiu}, title = {Towards Efficient {NLP:} {A} Standard Evaluation and {A} Strong Baseline}, journal = {CoRR}, volume = {abs/2110.07038}, year = {2021}, url = {https://arxiv.org/abs/2110.07038}, eprinttype = {arXiv}, eprint = {2110.07038}, timestamp = {Fri, 22 Oct 2021 13:33:09 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-2110-07038.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ -0.01750369928777218, -0.015373577363789082, -0.020259257405996323, 0.03693120926618576, 0.008432735688984394, 0.024236325174570084, -0.0218704454600811, -0.017473945394158363, -0.04180806130170822, 0.04933907091617584, 0.0294107086956501, -0.0004362206382211298, 0.022002145648002625, 0.042141955345869064, -0.03286423534154892, -0.044453371316194534, -0.003202686319127679, -0.016635242849588394, -0.0374838151037693, -0.015269548632204533, -0.015961941331624985, 0.029284754768013954, 0.00145881122443825, 0.038324419409036636, -0.003992793150246143, 0.017974529415369034, -0.008281799964606762, 0.03320737183094025, 0.03528529033064842, -0.059406597167253494, 0.017196517437696457, -0.029683968052268028, -0.015026969835162163, -0.011740876361727715, -0.021463874727487564, 0.007535263430327177, 0.0033169249072670937, -0.004815140273422003, 0.034878212958574295, 0.030358383432030678, -0.00009220277570420876, -0.004378696903586388, -0.00873853825032711, -0.033471982926130295, 0.05150691419839859, -0.01218637265264988, -0.03758614882826805, -0.010981041006743908, 0.043294310569763184, -0.044626448303461075, -0.048652783036231995, -0.04129425808787346, -0.00990623515099287, 0.02430611290037632, -0.006864592898637056, -0.034573592245578766, -0.056369882076978683, -0.005185462534427643, 0.08158891648054123, -0.0450836718082428, -0.06339079141616821, 0.006359926424920559, -0.08116158843040466, 0.00243878411129117, 0.02373100258409977, -0.03282531723380089, 0.011782578192651272, -0.030591411516070366, 0.034189097583293915, -0.024954870343208313, 0.06546305119991302, -0.00006168918480398133, 0.011151650920510292, -0.06376057863235474, -0.000843091809656471, -0.022761907428503036, 0.025112109258770943, 0.03749999403953552, -0.036302078515291214, 0.03982437774538994, 0.01964520290493965, 0.007072378881275654, 0.013579451479017735, -0.019667593762278557, 0.0034294298384338617, 0.02064070664346218, -0.0519588440656662, 0.004464269615709782, 0.03227575123310089, 0.03921735659241676, -0.06101074814796448, -0.022126777097582817, -0.03449138626456261, -0.009840557351708412, -0.007549429778009653, 0.03222353011369705, 0.04374561086297035, 0.001926141558215022, 0.020895596593618393, 0.028272200375795364, 0.025550242513418198, 0.0566227063536644, -0.017081495374441147, 0.06918899714946747, 0.005190401338040829, -0.014169544912874699, -0.01047383900731802, -0.017913952469825745, -0.04197836294770241, 0.03937783092260361, 0.043356578797101974, -0.012376043945550919, -0.0381273478269577, 0.06295992434024811, 0.026366833597421646, -0.012814575806260109, 0.04190075024962425, -0.03310669586062431, -0.052795518189668655, -0.037468746304512024, 0.04786733537912369, -0.02136811800301075, 0.019872164353728294, -0.020132064819335938, -0.06728439033031464, -0.0011434047482907772, -0.0499667152762413, -0.02873167209327221, -0.02016376703977585, 0.028080524876713753, -0.0038318983279168606, 0.03760605677962303, 0.022378908470273018, -0.045370914041996, 0.023868512362241745, 0.00029684387845918536, -0.07079301029443741, 0.07569818943738937, 0.035061776638031006, 0.13428236544132233, -0.04939030110836029, -0.0384051688015461, 0.018092406913638115, 0.03095625340938568, -0.049760498106479645, -0.004146118648350239, 0.019457945600152016, -0.03494197875261307, -0.03493949770927429, -0.005544519517570734, 0.043750159442424774, -0.05316117778420448, -0.019030502066016197, 0.05224236100912094, -0.02688073180615902, 0.05420632287859917, -0.025353606790304184, -0.010638170875608921, 0.0012773593189194798, -0.012168625369668007, -0.03354603052139282, 0.046431075781583786, -0.029164204373955727, -0.0009116535075008869, -0.03466862812638283, -0.03805428370833397, 0.013650825247168541, 0.09432078897953033, -0.0033598211593925953, 0.004183206707239151, -0.02548305317759514, 0.013600058853626251, 0.07369685918092728, 0.0391949824988842, -0.04269762337207794, 0.023993385955691338, 0.060642194002866745, 0.03767547011375427, -0.012294652871787548, 0.05517911538481712, 0.022834323346614838, -0.026196341961622238, -0.01668582484126091, 0.014862309210002422, -0.003376736305654049, -0.02312837913632393, 0.01726847141981125, 0.046323440968990326, -0.010425756685435772, -0.011849462985992432, -0.008978416211903095, 0.05605730786919594, 0.021636970341205597, -0.008275547064840794, 0.004456380847841501, -0.020340850576758385, -0.042396485805511475, 0.07442710548639297, -0.013784360140562057, 0.007701700087636709, -0.005700338166207075, -0.047503720968961716, 0.01273682527244091, 0.025568854063749313, 0.0367029644548893, 0.05115879327058792, 0.027941782027482986, 0.07002703100442886, -0.04694477841258049, 0.026940762996673584, -0.037924639880657196, -0.020619213581085205, 0.016157949343323708, 0.026367902755737305, 0.03014938347041607, 0.0424661748111248, -0.029429061338305473, -0.045087601989507675, 0.011035441420972347, 0.034387312829494476, 0.05401706323027611, 0.028308892622590065, -0.01206738781183958, -0.025099558755755424, 0.017602477222681046, 0.04350843280553818, -0.03946083411574364, -0.025980506092309952, 0.015480315312743187, 0.05286161229014397, -0.009351074695587158, 0.010704330168664455, -0.025204908102750778, 0.024797942489385605, -0.03276929259300232, -0.05268913507461548, 0.05876338109374046, 0.03897763043642044, 0.007896234281361103, 0.03877759352326393, -0.004152368754148483, 0.002367009874433279, 0.015119523741304874, 0.02300824224948883, 0.0009374886867590249, -0.026924556121230125, 0.00907464511692524, 0.015633104369044304, 0.05939500033855438, -0.049382004886865616, 0.05830160155892372, -0.009236381389200687, 0.047592420130968094, 0.024319836869835854, -0.027879027649760246, 0.03194131329655647, 0.03848163038492203, 0.020596817135810852, -0.02618805132806301, 0.05211731418967247, 0.0010098855709657073, 0.0345490500330925, 0.0601065456867218, 0.0002646317007020116, 0.04602599889039993, -0.008416520431637764, 0.028338763862848282, 0.06926103681325912, 0.011508042924106121, 0.009466218762099743, 0.032192785292863846, 0.06519752740859985, 0.00803279783576727, -0.0068862526677548885, 0.0653042197227478, -0.05481945723295212, 0.022214550524950027, -0.05060912296175957, 0.030750257894396782, -0.010286975651979446, -0.03173944354057312, 0.03902968764305115, 0.031242072582244873, -0.007400842849165201, 0.0006692419410683215, 0.005328821949660778, 0.0034968031104654074, 0.04314457252621651, -0.007468958385288715, 0.00950973853468895, 0.01458585262298584, -0.015600970946252346, -0.014914663508534431, -0.06661968678236008, -0.051796700805425644, 0.018175967037677765, -0.02674131840467453, 0.016626352444291115, -0.08469903469085693, -0.02243179827928543, -0.075316421687603, -0.020902832970023155, 0.013590693473815918, -0.004475264344364405, 0.015084686689078808, -0.023747244849801064, 0.015731459483504295, -0.056652043014764786, -0.028222765773534775, -0.04949130117893219, -0.03663929924368858, -0.052776698023080826, -0.061493974179029465, 0.046117983758449554, 0.008909615688025951, 0.041344475001096725, 0.022047264501452446, -0.01080263964831829, -0.03180325776338577, -0.02981460466980934, 0.048833172768354416, 0.033939462155103683, -0.03550257533788681, -0.04827217012643814, 0.007278514094650745, 0.006906034424901009, 0.02297806367278099, 0.004827671218663454, -0.025618435814976692, 0.0846826434135437, 0.08238068968057632, 0.025433458387851715, 0.0036142095923423767, -0.02199915423989296, -0.05222141370177269, -0.04411270096898079, -0.025402532890439034, -0.032554205507040024, -0.01803564466536045, -0.034820422530174255, -0.03938994184136391, -0.024763962253928185, -0.042631831020116806, 0.01584036462008953, -0.016621772199869156, 0.014793590642511845, 0.03313383832573891, 0.04593423008918762, 0.021357856690883636, 0.040918391197919846, -0.017206935212016106, -0.014403969049453735, 0.05807063356041908, 0.03582848235964775, -0.018098194152116776, -0.09038140624761581, -0.023333514109253883, 0.021012309938669205, 0.00420459546148777, 0.000710007909219712, -0.014614362269639969, 0.08081983774900436, 0.03761880844831467, -0.011447342112660408, 0.0018146253423765302, -0.005796737968921661, -0.055944450199604034, -0.02981741912662983, -0.029279792681336403, -0.014614044688642025, -0.03616945445537567, -0.03346836194396019, 0.00032806192757561803, 0.02430969849228859, -0.04295118525624275, -0.017453206703066826, -0.008418534882366657, 0.04453003779053688, 0.01820260100066662, -0.002024194458499551, -0.045618828386068344, -0.008023844100534916, -0.0717911571264267, -0.03621069714426994, -0.01568347029387951, -0.020938223227858543, -0.0012118243612349033, 0.032968830317258835, 0.029621442779898643, 0.003884041216224432, 0.05862072855234146, 0.04427734762430191, 0.06371524184942245, 0.0024629721883684397, -0.050865937024354935, 0.0014832887100055814, -0.05051707848906517, 0.0273631289601326, 0.004517185036092997, -0.0309685580432415, -0.034815143793821335, -0.08319785445928574, 0.00835471972823143, -0.018816446885466576, -0.0166680458933115, -0.006026771385222673, 0.02474082261323929, -0.02089359238743782, -0.03937389701604843, -0.00168323062825948, 0.005779718514531851, 0.020427750423550606, -0.03670321777462959, 0.04988860338926315, -0.02698414959013462, 0.036280788481235504, -0.06041990593075752, 0.018472446128726006, -0.055752020329236984, -0.024082530289888382, 0.00752718560397625, 0.03880462050437927, 0.023469222709536552, 0.04785154387354851, 0.08217865973711014, 0.06554800271987915, -0.06248475983738899, 0.051956452429294586, 0.024674836546182632, -0.026275023818016052, -0.05713271722197533, -0.016829881817102432, -0.026496747508645058, -0.027632664889097214, -0.0040442305617034435, -0.018036983907222748, 0.0178432147949934, 0.03891466185450554, 0.000284276669844985, 0.009705162607133389, 0.016231169924139977, -0.001804438652470708, -0.005432692356407642, -0.05485459044575691, -0.007449566852301359, -0.02685266174376011, -0.05044989287853241, 0.05226956307888031, 0.020325632765889168, 0.002973268274217844, 0.05967262387275696, 0.04626534879207611, -0.0038672948721796274, -0.025049887597560883, 0.038431741297245026, 0.03168511018157005, -0.03841891884803772, -0.05798853561282158, -0.04099900275468826, 0.055590055882930756, 0.05810379236936569, -0.022584715858101845, -0.08445336669683456, 0.03365052118897438, 0.06366387754678726, -0.057528700679540634, 0.07149090617895126, -0.023856796324253082, 0.05156552791595459, 0.0581844262778759, -0.009024976752698421, 0.0321284756064415, -0.03427598625421524, -0.0303886067122221, -0.0008598238346166909, 0.048081476241350174, -0.041378919035196304, -0.04999563843011856, -0.0320676751434803, 0.049032390117645264, 0.04937117546796799, 0.05453317612409592, 0.04668064042925835, -0.04091570898890495, -0.0452459417283535, 0.02229868248105049, 0.028225332498550415, -0.024013837799429893, -0.005254996940493584, 0.021160613745450974, 0.057581547647714615, -0.05631619319319725, -0.030294368043541908, -0.01872965320944786, 0.0021047443151474, 0.03192485496401787, 0.005892100743949413, -0.022323105484247208, -0.058281585574150085, 0.022340092808008194, -0.020899849012494087, -0.00439340528100729, -0.07248033583164215, 0.016630830243229866, -0.031442463397979736, 0.008319849148392677, 0.04793913662433624, 0.03204897791147232, 0.048357103019952774, 0.05152395740151405, -0.005967109464108944, -0.0004290879878681153, -0.044197145849466324, 0.03931397944688797, -0.012949829921126366, -0.020859574899077415, -0.005349688697606325, -0.04918151721358299, 0.007729667238891125, -0.03189729526638985, -0.05516069382429123, -0.05211411416530609, 0.0041949511505663395, 0.0280295480042696, -0.02339957281947136, -0.002198850503191352, 0.0029192764777690172, 0.03866692632436752, -0.036934733390808105, -0.0434919148683548, -0.04920937120914459, -0.02576557919383049, -0.08864853531122208, -0.06218264251947403, 0.007107389159500599, 0.0063414424657821655, 0.03924454003572464, 0.04502875730395317, 0.01773669756948948, 0.0114066107198596, 0.012711857445538044, -0.04182307422161102, 0.031851932406425476, 0.008580067194998264, -0.05966414138674736, -0.03900092840194702, 0.025801150128245354, 0.0008218815200962126, 0.020814361050724983, -0.030698969960212708, 0.040678929537534714, 0.012426373548805714, -0.03367708995938301, -0.030607188120484352, 0.013038406148552895, 0.021802162751555443, -0.058335281908512115, -0.028712138533592224, -0.01907249726355076, -0.040897220373153687, 0.027484949678182602, -0.03792070597410202, -0.035192254930734634, 0.000808466924354434, 0.03638790547847748, 0.04217418283224106, -0.01748599484562874, -0.02545335330069065, 0.012257217429578304, -0.03916707634925842, 0.02296200767159462, -0.0407792404294014, 0.04405632242560387, -0.04202859103679657, 0.031545352190732956, -0.00044049142161384225, 0.00039267129614017904, -0.04536950960755348, 0.03847964480519295, -0.010828150436282158, -0.025264518335461617, -0.029253710061311722, 0.02539784274995327, -0.03448408097028732, 0.0037223983090370893, -0.008756672963500023, 0.03002397157251835, -0.02014821395277977, 0.04665566235780716, -0.04666457697749138, 0.00023973826318979263, -0.043262988328933716, 0.02246740087866783, -0.04654558002948761, -0.011891471222043037, 0.010964768007397652, -0.026347395032644272, 0.023950841277837753, 0.011844092980027199, 0.027062565088272095, 0.02650885470211506, -0.022347215563058853, -0.002405403880402446, 0.010385176166892052, -0.04943172261118889, -0.027228200808167458, -0.00030660463380627334, 0.01883045583963394, -0.012230319902300835, 0.06950255483388901, 0.025578297674655914, -0.05640155076980591, -0.04840518906712532, 0.06446913629770279, 0.02269548550248146, 0.012235538102686405, -0.012760897167026997, 0.06893309950828552, 0.027574598789215088, 0.059673428535461426, -0.03962036222219467, 0.0010698199039325118, 0.013030840083956718, -0.026703501120209694, -0.010226479731500149, -0.011838999576866627, 0.042059559375047684, 0.0395674929022789, -0.024553589522838593, -0.023339400067925453, 0.05259160324931145, 0.0033317089546471834, 0.020930634811520576, 0.002101057441905141, -0.044414959847927094, 0.02098248340189457, 0.0043378123082220554, -0.05957711115479469, -0.0011571621289476752, 0.04462195932865143, -0.05251726135611534, 0.0807717964053154, -0.0034206241834908724, 0.03773154690861702, 0.024666449055075645, 0.027196623384952545, -0.0018770991591736674, 0.0454510897397995, -0.04968630149960518, 0.02367907203733921, 0.028205877169966698, -0.028964722529053688, -0.016720285639166832, -0.03443985804915428, 0.049422670155763626, -0.04549753665924072, 0.06436894088983536, 0.0459463857114315, 0.028054310008883476, 0.020873423665761948, -0.013643576763570309, -0.03577405586838722, 0.007519218139350414, -0.07908854633569717, 0.07506278157234192, -0.004019455052912235, -0.10102037340402603, 0.05949612334370613, 0.03151468187570572, -0.07849142700433731, 0.06121284142136574, 0.02255578152835369, 0.020788339897990227, 0.016172371804714203, 0.04546258971095085, -0.051907915621995926, 0.030026370659470558, -0.0669783502817154, 0.0002670464455150068, -0.03547258675098419, -0.010542264208197594, 0.01333101000636816, -0.018029680475592613, -0.0012046786723658442, 0.04798554256558418, -0.041448935866355896, 0.0012869801139459014, 0.031841911375522614, -0.05476417392492294, -0.0322209931910038, -0.005345259327441454, -0.0028035640716552734, -0.014414047822356224, 0.01433490589261055, -0.024556972086429596, 0.027013208717107773, 0.016877399757504463, 0.015588367357850075, -0.06114634498953819, -0.002347359899431467, 0.029729947447776794, -0.06506728380918503, -0.011983631178736687, 0.03030174784362316, 0.010063417255878448, -0.032432299107313156, 0.021664408966898918, 0.0007722470327280462, 0.026246512308716774, 0.03335096687078476, -0.005954237654805183, 0.021761015057563782, -0.04150748252868652, -0.01173650287091732, 0.023178135976195335, 0.013948220759630203, 0.021262750029563904, -0.012895614840090275, 0.006205227691680193, 0.03519918769598007, 0.042330868542194366, -0.017062580212950706, -0.034721165895462036, -0.025259893387556076, 0.03980840742588043, -0.016675105318427086, 0.007923854514956474, 0.00842732097953558, -0.03173358738422394, -0.044080883264541626, 0.027514277026057243, -0.033439308404922485, 0.04401474818587303, -0.04372497648000717, 0.03857766464352608, 0.02564794197678566, -0.02112073265016079, -0.05523869767785072, -0.06693314760923386, -0.013045082800090313, -0.024691814556717873, 0.002102401340380311, 0.01664130948483944, -0.018618542701005936, -0.004414968658238649, -0.021801253780722618, -0.05997572839260101, 0.03704080730676651, 0.019922319799661636, -0.04387535899877548, 0.057885266840457916, 0.03358760103583336, -0.0550256110727787, 0.010613538324832916, 0.019641662016510963, -0.06828344613313675, 0.05197778344154358, 0.009885909035801888, 0.022060250863432884, 0.007063568569719791, 0.03865339234471321, -0.03218551725149155, -0.04484136775135994, -0.06403444707393646, -0.039327770471572876, -0.032739151269197464, -0.001993963262066245, 0.06416746973991394 ]
BigSalmon/MrLincoln125MNeo
[ "pytorch", "tensorboard", "gpt_neo", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
null
--- tags: - Multi-exit-BERT language: en datasets: - wikipedia - bookcorpus - c4 --- # ElasticBERT-LARGE ## Model description This is an implementation of the `large` version of ElasticBERT. [**Towards Efficient NLP: A Standard Evaluation and A Strong Baseline**](https://arxiv.org/pdf/2110.07038.pdf) Xiangyang Liu, Tianxiang Sun, Junliang He, Lingling Wu, Xinyu Zhang, Hao Jiang, Zhao Cao, Xuanjing Huang, Xipeng Qiu ## Code link [**fastnlp/elasticbert**](https://github.com/fastnlp/ElasticBERT) ## Usage ```python >>> from transformers import BertTokenizer as ElasticBertTokenizer >>> from models.configuration_elasticbert import ElasticBertConfig >>> from models.modeling_elasticbert import ElasticBertForSequenceClassification >>> num_output_layers = 1 >>> config = ElasticBertConfig.from_pretrained('fnlp/elasticbert-large', num_output_layers=num_output_layers ) >>> tokenizer = ElasticBertTokenizer.from_pretrained('fnlp/elasticbert-large') >>> model = ElasticBertForSequenceClassification.from_pretrained('fnlp/elasticbert-large', config=config) >>> input_ids = tokenizer.encode('The actors are fantastic .', return_tensors='pt') >>> outputs = model(input_ids) ``` ## Citation ```bibtex @article{liu2021elasticbert, author = {Xiangyang Liu and Tianxiang Sun and Junliang He and Lingling Wu and Xinyu Zhang and Hao Jiang and Zhao Cao and Xuanjing Huang and Xipeng Qiu}, title = {Towards Efficient {NLP:} {A} Standard Evaluation and {A} Strong Baseline}, journal = {CoRR}, volume = {abs/2110.07038}, year = {2021}, url = {https://arxiv.org/abs/2110.07038}, eprinttype = {arXiv}, eprint = {2110.07038}, timestamp = {Fri, 22 Oct 2021 13:33:09 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-2110-07038.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ```
[ -0.015943579375743866, -0.011045785620808601, -0.01675061322748661, 0.04043525084853172, 0.011923424899578094, 0.01881960779428482, -0.023366784676909447, -0.02549358829855919, -0.036499593406915665, 0.0498395673930645, 0.030160024762153625, 0.0013924128143116832, 0.024707606062293053, 0.04885989800095558, -0.030104216188192368, -0.039868615567684174, -0.005421882029622793, -0.018500417470932007, -0.03793489933013916, -0.017233368009328842, -0.018948689103126526, 0.02775719203054905, -0.005533312913030386, 0.03659017011523247, 0.002407120307907462, 0.015334716998040676, -0.003771215444430709, 0.035363975912332535, 0.03264973312616348, -0.06263010948896408, 0.02018636465072632, -0.030343009158968925, -0.017120277509093285, -0.011071884073317051, -0.022437874227762222, 0.00494458619505167, 0.002083566738292575, -0.0029928639996796846, 0.033804941922426224, 0.019866036251187325, 0.0011768372496590018, -0.005084300879389048, -0.007031688932329416, -0.03776952624320984, 0.05063575506210327, -0.00938462931662798, -0.045201051980257034, -0.018449651077389717, 0.034136515110731125, -0.0417899489402771, -0.04902736842632294, -0.04228603467345238, -0.007867651991546154, 0.025638997554779053, -0.00043168035335838795, -0.03486769646406174, -0.05280008167028427, -0.0053207301534712315, 0.07688792794942856, -0.04617255553603172, -0.06453071534633636, 0.003872817615047097, -0.08360613882541656, 0.007265038322657347, 0.024791205301880836, -0.031870558857917786, 0.01297500915825367, -0.03131629154086113, 0.03545784950256348, -0.02251729741692543, 0.06339950859546661, -0.0027734139002859592, 0.010207973420619965, -0.06740259379148483, 0.004067729692906141, -0.020868269726634026, 0.022775208577513695, 0.03240720555186272, -0.038562383502721786, 0.03943205624818802, 0.024545345455408096, 0.011432887054979801, 0.009042048826813698, -0.023810233920812607, 0.008525439538061619, 0.026691636070609093, -0.04957173019647598, 0.005779736675322056, 0.0346389077603817, 0.04161805659532547, -0.062248121947050095, -0.029531342908740044, -0.03200523555278778, -0.013831255957484245, -0.01248254720121622, 0.03276284411549568, 0.04101847857236862, -0.006940416991710663, 0.02028067782521248, 0.028867393732070923, 0.028963860124349594, 0.05363551527261734, -0.018442003056406975, 0.07277245819568634, 0.0077713304199278355, -0.015494235791265965, -0.014861910603940487, -0.018377061933279037, -0.043884582817554474, 0.043229468166828156, 0.043201204389333725, -0.01953834295272827, -0.03856786713004112, 0.05670955777168274, 0.023360583931207657, -0.012011491693556309, 0.050731249153614044, -0.037311311811208725, -0.05544016882777214, -0.03523913398385048, 0.04275098815560341, -0.02054309844970703, 0.020969824865460396, -0.013615147210657597, -0.0722530260682106, 0.00019960575446020812, -0.05038295313715935, -0.029443196952342987, -0.017604069784283638, 0.02573240175843239, -0.006709648296236992, 0.034629423171281815, 0.021310247480869293, -0.04955136403441429, 0.01500765886157751, 0.007151618599891663, -0.06824226677417755, 0.0698988288640976, 0.03186503052711487, 0.13253183662891388, -0.04145088419318199, -0.044685762375593185, 0.01509452797472477, 0.032017406076192856, -0.044309984892606735, -0.0016372426180168986, 0.02001943811774254, -0.03505578637123108, -0.038831695914268494, -0.00682696932926774, 0.042917415499687195, -0.0609440878033638, -0.018253596499562263, 0.051819153130054474, -0.027243033051490784, 0.05611701309680939, -0.026351377367973328, -0.012261985801160336, 0.002566723618656397, -0.0074517433531582355, -0.0325477197766304, 0.04458925500512123, -0.025218505412340164, 0.005861325655132532, -0.03256302326917648, -0.04092658683657646, 0.014655045233666897, 0.09636151045560837, -0.0012008582707494497, 0.004549216479063034, -0.026513174176216125, 0.01845354400575161, 0.07641680538654327, 0.04500989243388176, -0.04546704515814781, 0.025013070553541183, 0.05616408586502075, 0.0377216637134552, -0.012730569578707218, 0.0501873753964901, 0.019365446642041206, -0.028084537014365196, -0.019082078710198402, 0.01780671998858452, 0.0025097597390413284, -0.0289633646607399, 0.013777654618024826, 0.04579474776983261, -0.009749175049364567, -0.01602759025990963, -0.008219964802265167, 0.0648895800113678, 0.027251318097114563, -0.012077509425580502, 0.004067820496857166, -0.01818576268851757, -0.04339783638715744, 0.07098951935768127, -0.01907764934003353, 0.007342368829995394, -0.007006909232586622, -0.04856142774224281, 0.015455675311386585, 0.02436184138059616, 0.030158523470163345, 0.05826028808951378, 0.022171281278133392, 0.061145320534706116, -0.04964333400130272, 0.023492559790611267, -0.037156760692596436, -0.024325501173734665, 0.012112772092223167, 0.01961081102490425, 0.027805877849459648, 0.03937096148729324, -0.029211724177002907, -0.046949200332164764, 0.01599455252289772, 0.03835891932249069, 0.05833005905151367, 0.030776459723711014, -0.008687988854944706, -0.027778664603829384, 0.012700701132416725, 0.04687310382723808, -0.04098298028111458, -0.02904781699180603, 0.017604483291506767, 0.05330280587077141, -0.010659654624760151, 0.013086466118693352, -0.027877792716026306, 0.021100949496030807, -0.031041309237480164, -0.05078509449958801, 0.0559627003967762, 0.04278383404016495, 0.006753791123628616, 0.042123064398765564, -0.009976868517696857, -0.0007427541422657669, 0.015113849192857742, 0.019084902480244637, 0.0025994169991463423, -0.02217779867351055, 0.007687052246183157, 0.014839419163763523, 0.05377265065908432, -0.0513346865773201, 0.054605334997177124, -0.010211743414402008, 0.043318867683410645, 0.0208416897803545, -0.02535964548587799, 0.03610039874911308, 0.042050451040267944, 0.024450035765767097, -0.020291168242692947, 0.05075109004974365, 0.0005415503983385861, 0.032964300364255905, 0.06383193284273148, 0.004250493366271257, 0.04346379637718201, -0.0012319469824433327, 0.03720720112323761, 0.06600338965654373, 0.009204822592437267, 0.005186217837035656, 0.0340697206556797, 0.07158298790454865, 0.014213711954653263, -0.011644205078482628, 0.06207389757037163, -0.05258162319660187, 0.022905543446540833, -0.04777238890528679, 0.028961077332496643, -0.008262877352535725, -0.033160824328660965, 0.04365362226963043, 0.03487192094326019, -0.003848705207929015, 0.00282617867924273, 0.0012500876327976584, 0.004957807250320911, 0.046671073883771896, -0.01160759199410677, 0.0072275446727871895, 0.010842151008546352, -0.02152753621339798, -0.017551850527524948, -0.05909306928515434, -0.05523855984210968, 0.01918061636388302, -0.02781565487384796, 0.015726936981081963, -0.09005489945411682, -0.02399846352636814, -0.07737686485052109, -0.017327923327684402, 0.018713969737291336, -0.002176435198634863, 0.013858431950211525, -0.023076122626662254, 0.010317892767488956, -0.058810461312532425, -0.02254379913210869, -0.05237661674618721, -0.03176567330956459, -0.05411690101027489, -0.06282413750886917, 0.044324301183223724, 0.012135710567235947, 0.043610189110040665, 0.0178923811763525, -0.01494632102549076, -0.032223787158727646, -0.03088066540658474, 0.04940924048423767, 0.028123794123530388, -0.03692600503563881, -0.047835856676101685, 0.005291512235999107, 0.005079430527985096, 0.01689722388982773, -0.0032336066942662, -0.02876736968755722, 0.08414780348539352, 0.08195886760950089, 0.02917543053627014, 0.0002676114672794938, -0.02660122886300087, -0.05494222417473793, -0.043211642652750015, -0.02487320825457573, -0.02585267834365368, -0.014249957166612148, -0.035356927663087845, -0.041205015033483505, -0.022039353847503662, -0.044456955045461655, 0.018321430310606956, -0.011088495142757893, 0.010723787359893322, 0.027177095413208008, 0.044657330960035324, 0.024470526725053787, 0.03806983307003975, -0.01782812550663948, -0.011303989216685295, 0.06796193867921829, 0.038909342139959335, -0.016183078289031982, -0.08453986048698425, -0.024574583396315575, 0.018025526776909828, 0.007824818603694439, -0.0019879466854035854, -0.011130749247968197, 0.07798547297716141, 0.04270130768418312, -0.016795802861452103, -0.00011097487004008144, -0.008501757867634296, -0.05328597128391266, -0.0360136553645134, -0.022112779319286346, -0.02012607455253601, -0.03542006015777588, -0.030041305348277092, -0.007078999187797308, 0.025490986183285713, -0.04227406531572342, -0.021122828125953674, -0.008629843592643738, 0.04321199655532837, 0.01975526660680771, 0.0011307916138321161, -0.04503779485821724, -0.00926860049366951, -0.07193242758512497, -0.03187708556652069, -0.017623847350478172, -0.017527703195810318, 0.005936463363468647, 0.03750567138195038, 0.03075791336596012, 0.011224977672100067, 0.06575046479701996, 0.03895318880677223, 0.0619729645550251, 0.00266247452236712, -0.052928030490875244, 0.004273508675396442, -0.04777471721172333, 0.022034386172890663, 0.004356361925601959, -0.025905201211571693, -0.04295377805829048, -0.08522772789001465, 0.01789107918739319, -0.017754975706338882, -0.015598263591527939, -0.010070607997477055, 0.023201774805784225, -0.022062523290514946, -0.036075983196496964, -0.0011056052753701806, 0.004331037402153015, 0.01574212871491909, -0.04549206420779228, 0.04613376408815384, -0.01904534175992012, 0.027961192652583122, -0.05680627375841141, 0.013925481587648392, -0.06026872619986534, -0.02193211019039154, 0.012756931595504284, 0.04067331179976463, 0.030873263254761696, 0.04862786456942558, 0.08246158808469772, 0.0657510906457901, -0.0568656325340271, 0.05361127480864525, 0.02514442801475525, -0.024109823629260063, -0.05795345827937126, -0.01840381696820259, -0.030858822166919708, -0.02538054995238781, -0.012513834051787853, -0.01700430177152157, 0.016346441581845284, 0.03901645913720131, 0.003866006387397647, 0.011707893572747707, 0.02002544142305851, -0.004597791936248541, -0.005637114867568016, -0.05438031628727913, -0.007698302157223225, -0.027583302929997444, -0.04962744191288948, 0.05011211708188057, 0.02093394845724106, 0.006327449344098568, 0.05906449630856514, 0.04794234409928322, -0.0005704799550585449, -0.02426338382065296, 0.036387115716934204, 0.031032182276248932, -0.04174750670790672, -0.05198882892727852, -0.035413239151239395, 0.059148792177438736, 0.05507254600524902, -0.016533881425857544, -0.08873707056045532, 0.028782904148101807, 0.0695221945643425, -0.057461533695459366, 0.06729301810264587, -0.02648865059018135, 0.05277695134282112, 0.06084130331873894, -0.006845735013484955, 0.029819272458553314, -0.034791000187397, -0.024943843483924866, 0.0005516119999811053, 0.04499990493059158, -0.03974474221467972, -0.04736756533384323, -0.03239500895142555, 0.048966046422719955, 0.046486277133226395, 0.05635249242186546, 0.05149789899587631, -0.041294220834970474, -0.043161652982234955, 0.019617073237895966, 0.036833059042692184, -0.022915368899703026, -0.008190922439098358, 0.01267170812934637, 0.05699663236737251, -0.053836263716220856, -0.02777402475476265, -0.01775454729795456, 0.0003551000845618546, 0.03565246984362602, 0.008233285509049892, -0.021191731095314026, -0.06634316593408585, 0.020870255306363106, -0.024516921490430832, -0.007185070309787989, -0.06729918718338013, 0.020713696256279945, -0.028680698946118355, 0.01000491064041853, 0.037821006029844284, 0.02756492979824543, 0.04740353673696518, 0.05212213471531868, -0.010441310703754425, -0.0013708154438063502, -0.03928540647029877, 0.036969296634197235, -0.014033897779881954, -0.01981336623430252, -0.007149042095988989, -0.04937804490327835, 0.0003644077805802226, -0.030305346474051476, -0.055047500878572464, -0.045818015933036804, 0.007334222085773945, 0.025964129716157913, -0.022902801632881165, -0.006676880177110434, 0.0026911941822618246, 0.04442513361573219, -0.03968346491456032, -0.038321930915117264, -0.045806922018527985, -0.028644302859902382, -0.0826590359210968, -0.06422626227140427, 0.00741589954122901, 0.00957415346056223, 0.037336066365242004, 0.04463896155357361, 0.017293483018875122, 0.008168328553438187, 0.014418520964682102, -0.0410151407122612, 0.03172694891691208, 0.008602931164205074, -0.05762777477502823, -0.04013840854167938, 0.026228629052639008, 0.004833153914660215, 0.02656610868871212, -0.031888436526060104, 0.040629029273986816, 0.005182433873414993, -0.0302223339676857, -0.02954680100083351, 0.0165296271443367, 0.020296504721045494, -0.06073307618498802, -0.028922712430357933, -0.015213021077215672, -0.03678278625011444, 0.030738018453121185, -0.03855619207024574, -0.03040061891078949, 0.0005262910854071379, 0.03735867887735367, 0.0422399565577507, -0.01965397410094738, -0.02079137973487377, 0.012881913222372532, -0.04418311268091202, 0.02001945860683918, -0.04252266511321068, 0.04633019119501114, -0.041269853711128235, 0.03335653245449066, -0.0012409661430865526, -0.0018178479513153434, -0.04711049050092697, 0.0384291335940361, -0.010289175435900688, -0.01684475503861904, -0.026860162615776062, 0.0259072445333004, -0.031310006976127625, -0.002153391484171152, -0.015151015482842922, 0.03490637242794037, -0.020226985216140747, 0.05094227194786072, -0.04843151196837425, -0.002548557473346591, -0.040674712508916855, 0.020895231515169144, -0.04330309107899666, -0.013880420476198196, 0.010059317573904991, -0.02817944623529911, 0.022797323763370514, 0.020684849470853806, 0.025352442637085915, 0.027631547302007675, -0.027821622788906097, -0.005282915197312832, 0.008598489686846733, -0.05580184981226921, -0.029186956584453583, -0.002334021730348468, 0.018345428630709648, -0.012827815487980843, 0.07286029309034348, 0.026993878185749054, -0.05577599257230759, -0.0494709275662899, 0.061372268944978714, 0.018093671649694443, 0.008249602280557156, -0.015663348138332367, 0.06452887505292892, 0.026765910908579826, 0.06187254190444946, -0.03940742835402489, 0.002126859501004219, 0.011140239425003529, -0.017689745873212814, -0.010740413330495358, -0.004697512835264206, 0.040727172046899796, 0.03956494480371475, -0.028626574203372, -0.02574475109577179, 0.05238887667655945, 0.0071636708453297615, 0.01711278222501278, 0.002449641702696681, -0.039616066962480545, 0.017346326261758804, 0.0013716856483370066, -0.06279949843883514, 0.0012830265332013369, 0.04647466912865639, -0.04651342332363129, 0.07983089238405228, -0.0006058060680516064, 0.03592555969953537, 0.027875801548361778, 0.030718686059117317, -0.0029328151140362024, 0.04226985201239586, -0.048950713127851486, 0.024781638756394386, 0.02572205848991871, -0.03189864382147789, -0.013285326771438122, -0.03531871363520622, 0.05133725702762604, -0.04827471077442169, 0.06963621079921722, 0.043481532484292984, 0.02994903363287449, 0.021169714629650116, -0.01110939309000969, -0.02940351516008377, 0.003121430752798915, -0.07759710401296616, 0.07786554843187332, -0.0019889273680746555, -0.09779487550258636, 0.0626378059387207, 0.030761921778321266, -0.07884400337934494, 0.06698852777481079, 0.027281127870082855, 0.0214935764670372, 0.01767098717391491, 0.04621589928865433, -0.04524116963148117, 0.030912941321730614, -0.07139595597982407, 0.002329660812392831, -0.03231428936123848, -0.013780318200588226, 0.011684678494930267, -0.015219269320368767, -0.006211806554347277, 0.050473157316446304, -0.044673047959804535, -0.0009195352904498577, 0.03020073100924492, -0.055911075323820114, -0.02932872250676155, -0.003168554976582527, 0.005520688369870186, -0.018696216866374016, 0.014246982522308826, -0.024060601368546486, 0.028276793658733368, 0.01520735677331686, 0.0104613546282053, -0.05747249349951744, -0.0015356376534327865, 0.03341398015618324, -0.06272478401660919, -0.006582025904208422, 0.028927670791745186, 0.01215908583253622, -0.03081059455871582, 0.016948308795690536, -0.006439388729631901, 0.020916657522320747, 0.032642219215631485, -0.00885053351521492, 0.019539792090654373, -0.039753664284944534, -0.013903576880693436, 0.020028112456202507, 0.017233632504940033, 0.021076835691928864, -0.012233700603246689, 0.006819441448897123, 0.03653804212808609, 0.05274811387062073, -0.013425642624497414, -0.03481397405266762, -0.025338875129818916, 0.03978514298796654, -0.012249925173819065, 0.009869864210486412, 0.005725145805627108, -0.02972029335796833, -0.0485922135412693, 0.02696802280843258, -0.0357760526239872, 0.047867365181446075, -0.0458589605987072, 0.04193772003054619, 0.018638795241713524, -0.019024763256311417, -0.05482764169573784, -0.07092134654521942, -0.014041696675121784, -0.022639615461230278, 0.005558502394706011, 0.011647304520010948, -0.019352303817868233, -0.003478303551673889, -0.025403503328561783, -0.056414034217596054, 0.040386635810136795, 0.014740055426955223, -0.04281394183635712, 0.056608282029628754, 0.029963379725813866, -0.052120037376880646, 0.011990513652563095, 0.024300364777445793, -0.06543874740600586, 0.05798143893480301, 0.008238005451858044, 0.0191962793469429, 0.007121440954506397, 0.03608434647321701, -0.025020884349942207, -0.038208212703466415, -0.06686239689588547, -0.040495365858078, -0.029361795634031296, -0.006133933551609516, 0.05889587104320526 ]
BigSalmon/MrLincoln14
[]
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: mit language: py thumbnail: https://avatars.githubusercontent.com/u/70610668?s=400&u=f0699303289113c125e8686338739d9a63d5826c&v=4 tags: - bart - pytorch --- # bart-base-python-1m
[ -0.04084014147520065, -0.029717713594436646, -0.022552452981472015, 0.03164074942469597, 0.023327920585870743, 0.012692775577306747, -0.002694320399314165, 0.029410548508167267, -0.035819731652736664, 0.037340398877859116, 0.03257790207862854, 0.00842221174389124, 0.03748190775513649, 0.04926621913909912, -0.026965493336319923, -0.02472924068570137, 0.014330527745187283, -0.015718642622232437, -0.03828340768814087, -0.005245955660939217, 0.0385439470410347, 0.0009813060751184821, 0.0018924408359453082, 0.07001396268606186, 0.014534587040543556, -0.009134447202086449, -0.00533025898039341, 0.038512635976076126, 0.04260804131627083, -0.05834205076098442, 0.0014350920682772994, -0.041772983968257904, -0.04796697571873665, -0.04088841378688812, -0.02139740251004696, -0.019174877554178238, -0.0013760626316070557, 0.01237976923584938, 0.011288218200206757, 0.031196972355246544, -0.004340306390076876, 0.026382045820355415, -0.03347248211503029, -0.02016490325331688, 0.03622503578662872, -0.013402316719293594, -0.03589640557765961, -0.028028063476085663, 0.0317528173327446, -0.026239490136504173, -0.07140830904245377, -0.07204832136631012, -0.0424044206738472, 0.022027935832738876, -0.008050655014812946, -0.011172514408826828, -0.03368053212761879, 0.003768930910155177, 0.05871698260307312, -0.05521068349480629, -0.054828595370054245, 0.00732029415667057, -0.08517728000879288, -0.00022690869809594005, 0.027978848665952682, -0.0316469743847847, 0.014382390305399895, -0.028884362429380417, 0.028376655653119087, -0.007242199499160051, 0.0722501203417778, -0.03474938124418259, 0.020272189751267433, -0.07328730821609497, -0.021394774317741394, -0.039080649614334106, 0.02871766872704029, 0.026341736316680908, -0.05151987820863724, 0.04315341264009476, 0.02461453713476658, -0.021164825186133385, 0.047386135905981064, -0.039460305124521255, -0.03079068660736084, 0.00860457681119442, -0.021945569664239883, 0.015370180830359459, 0.007598908618092537, 0.06276516616344452, -0.03439813107252121, -0.036129213869571686, -0.031261324882507324, -0.012441067956387997, -0.006171639543026686, 0.02232835441827774, 0.04689701646566391, -0.011731084436178207, -0.008234412409365177, 0.04086287319660187, 0.02774587646126747, 0.025193363428115845, 0.007199659012258053, 0.03143024817109108, 0.014041897840797901, -0.01004524901509285, -0.012169032357633114, -0.014592788182199001, -0.040217671543359756, 0.010052342899143696, 0.03465818613767624, -0.03868335857987404, -0.005278585013002157, 0.0539202056825161, 0.012273064814507961, -0.008085323497653008, 0.05467739701271057, -0.03275936841964722, -0.04743039608001709, -0.02875339984893799, 0.06186507269740105, -0.0025382167659699917, -0.02733638323843479, 0.020433159545063972, -0.04226706922054291, -0.022442203015089035, -0.03695092350244522, -0.02303975075483322, -0.0009169636759907007, 0.015487772412598133, 0.004678766708821058, 0.05688938871026039, 0.036590784788131714, -0.06157343089580536, 0.006901551969349384, 0.014423659071326256, -0.03446328267455101, 0.07658758759498596, 0.0028691194020211697, 0.12525135278701782, -0.06370342522859573, -0.06660545617341995, 0.008313968777656555, 0.021401768550276756, -0.043521057814359665, -0.016538217663764954, 0.013797977939248085, -0.013725983910262585, -0.033043984323740005, -0.02166709676384926, 0.03269262984395027, -0.06366291642189026, -0.016109643504023552, 0.049074601382017136, -0.018150344491004944, 0.02074224315583706, -0.044788822531700134, -0.0078008766286075115, 0.0020896673668175936, 0.013150854967534542, -0.04360586404800415, 0.03797568753361702, 0.0018987890798598528, -0.009129057638347149, -0.028985366225242615, -0.052143048495054245, -0.0046447645872831345, 0.08926761895418167, 0.002789086662232876, -0.031170548871159554, -0.03606756404042244, -0.004986115265637636, 0.02013476938009262, 0.015199165791273117, -0.016663257032632828, 0.04175994545221329, 0.05505239963531494, 0.03732643648982048, -0.03350792080163956, 0.04079195857048035, 0.0062105837278068066, -0.046324316412210464, -0.027379898354411125, 0.0314117856323719, 0.020948166027665138, -0.0074164364486932755, 0.006135786883533001, 0.04018929973244667, 0.006447126157581806, -0.06940735131502151, -0.02489481493830681, 0.044130854308605194, -0.014000379480421543, -0.010642675682902336, 0.024523386731743813, -0.033156633377075195, -0.00199706363491714, 0.03390705958008766, -0.008465050719678402, -0.010073887184262276, -0.006221279501914978, -0.01916041038930416, 0.0050641512498259544, 0.00533860269933939, 0.04513987898826599, 0.036242082715034485, -0.002467546844854951, 0.07180380821228027, -0.03493896871805191, 0.012346931733191013, -0.014295754954218864, -0.050661344081163406, -0.003042101627215743, 0.07328450679779053, 0.06271953135728836, 0.03784054145216942, 0.006204945035278797, -0.027818217873573303, 0.022433672100305557, 0.06634257733821869, 0.03302225098013878, -0.011856073513627052, -0.05349918454885483, -0.00529088731855154, 0.056272830814123154, 0.04524930939078331, -0.051070231944322586, -0.016906553879380226, 0.01763381063938141, 0.03907096013426781, -0.040015071630477905, 0.011507152579724789, -0.019452642649412155, 0.004752859007567167, -0.041089896112680435, -0.06055552139878273, 0.043259914964437485, 0.018425598740577698, 0.015588657930493355, -0.02494208514690399, -0.02672947384417057, 0.00967908464372158, 0.034654613584280014, 0.034081000834703445, 0.004556864965707064, -0.06912393122911453, -0.00029691457166336477, 0.0214836522936821, 0.05587279796600342, -0.026034513488411903, 0.05906395986676216, -0.010400379076600075, -0.0006953452248126268, 0.0017398069612681866, -0.045017585158348083, 0.01693546213209629, 0.03609251230955124, 0.03666318953037262, -0.02126552164554596, 0.03542666509747505, 0.012496543116867542, 0.01649554632604122, 0.0671425461769104, -0.004363706335425377, 0.03447553142905235, -0.017810756340622902, 0.053097911179065704, 0.0728965699672699, 0.024329563602805138, 0.049048181623220444, 0.01538065355271101, 0.06785549968481064, -0.017634034156799316, -0.02000790648162365, 0.047019246965646744, -0.060588035732507706, 0.0026491722092032433, -0.020639941096305847, 0.004563106223940849, -0.016894083470106125, -0.01180395856499672, 0.018102092668414116, -0.022934606298804283, -0.04281787946820259, -0.015371534042060375, -0.0019220315152779222, 0.00527300126850605, 0.043548792600631714, 0.008960749953985214, 0.008562029339373112, -0.003754055593162775, -0.01822676695883274, 0.027354944497346878, -0.0805363729596138, -0.05908280238509178, -0.021554840728640556, -0.014189268462359905, 0.03546704351902008, -0.08596887439489365, -0.01708948239684105, -0.06751333177089691, -0.014077491126954556, 0.048757705837488174, 0.02442253939807415, -0.01607985608279705, -0.04526345431804657, 0.0023887206334620714, -0.03111787512898445, -0.04617493972182274, -0.06493180245161057, -0.06246847286820412, -0.016479527577757835, -0.07742878049612045, 0.04183028265833855, 0.00461304048076272, 0.030423443764448166, 0.014834748581051826, 0.005592525936663151, -0.04097985848784447, -0.03590431064367294, 0.0653546005487442, 0.04123390093445778, -0.03385521471500397, -0.04196963831782341, 0.027542024850845337, 0.012092633172869682, 0.023091619834303856, 0.030430695042014122, -0.04263027757406235, 0.06772881746292114, 0.06804760545492172, -0.010389267466962337, 0.009461859241127968, -0.0014738824684172869, -0.05038464814424515, -0.04760129749774933, -0.019701790064573288, -0.02867058850824833, -0.029193421825766563, -0.020265569910407066, -0.03729880228638649, -0.06622263789176941, -0.047092288732528687, -0.010229157283902168, -0.009816448204219341, 0.02257455885410309, 0.01757749356329441, 0.05486273393034935, 0.03014810010790825, 0.019179247319698334, -0.04727627709507942, -0.01693342812359333, 0.06789077073335648, 0.019659385085105896, -0.040437001734972, -0.06493264436721802, -0.04225275292992592, 0.044008757919073105, 0.015621548518538475, -0.008497481234371662, -0.0322047658264637, 0.037186913192272186, 0.0022995355539023876, 0.00008935656660469249, 0.0017543297726660967, -0.01383349858224392, -0.012801041826605797, 0.001643387135118246, -0.016527142375707626, -0.010520469397306442, -0.04207731783390045, -0.02888440154492855, 0.014943392015993595, 0.042988330125808716, -0.05820001661777496, -0.05605258792638779, -0.015481231734156609, 0.006366914603859186, 0.04990515485405922, -0.02272820472717285, -0.05887654796242714, 0.0070880986750125885, -0.059526801109313965, 0.013303631916642189, 0.018392600119113922, -0.014444655738770962, 0.012154065072536469, 0.052151765674352646, 0.040339238941669464, -0.02290860004723072, 0.049708861857652664, 0.031104769557714462, 0.0711478516459465, 0.00742656784132123, -0.09196019917726517, 0.0237958375364542, -0.009717150591313839, -0.00298350234515965, -0.0012890701182186604, -0.048807282000780106, -0.025308068841695786, -0.07887160032987595, -0.0068061170168221, -0.017720084637403488, -0.0066363089717924595, -0.00911860540509224, 0.0663241297006607, -0.031728941947221756, -0.024236997589468956, 0.013946827501058578, -0.004343064501881599, 0.043171949684619904, -0.009269814938306808, 0.07073423266410828, -0.03973829746246338, 0.045864883810281754, -0.045945387333631516, -0.023209422826766968, -0.03566332533955574, 0.0012335932115092874, 0.0018032058142125607, 0.06548342853784561, 0.022765107452869415, 0.04552870988845825, 0.0717252790927887, 0.0353953093290329, -0.049806397408246994, 0.04256619140505791, 0.034028057008981705, -0.03192147985100746, -0.0402270182967186, -0.0070335753262043, -0.008286257274448872, -0.012916008941829205, -0.0023982871789485216, -0.0074399313889443874, 0.02219426818192005, 0.04073687270283699, -0.0033688240218907595, 0.00957485195249319, -0.007106634322553873, -0.01729409582912922, -0.04841309040784836, -0.04155658930540085, -0.0034721200354397297, 0.03268718719482422, -0.003476642770692706, 0.02026873640716076, 0.05082166939973831, 0.013047289103269577, 0.07795596122741699, 0.030184393748641014, -0.03344900533556938, -0.040196336805820465, 0.04910251498222351, 0.027171099558472633, -0.030429009348154068, -0.08937790244817734, -0.03355133906006813, 0.012011971324682236, 0.03666454181075096, 0.0013439484173431993, -0.06116984039545059, 0.031048694625496864, 0.033560365438461304, -0.01883445493876934, 0.05772840976715088, 0.00038839367334730923, 0.04454590007662773, 0.04338507354259491, -0.001887892372906208, 0.028353245928883553, -0.014960572123527527, 0.012901525013148785, 0.0012346584117040038, 0.017610806971788406, -0.017564931884407997, -0.03046341985464096, -0.03673199564218521, 0.024875523522496223, 0.00009752088953973725, 0.0540945902466774, 0.0333050973713398, -0.052196063101291656, -0.03672286123037338, -0.01580432429909706, 0.03713502362370491, -0.06517266482114792, 0.03180820122361183, 0.04554294794797897, 0.030013713985681534, -0.025225089862942696, -0.0421893373131752, -0.02507242187857628, -0.004242744762450457, 0.0644569918513298, -0.012359905987977982, -0.030828896909952164, -0.04992391914129257, 0.02649196982383728, 0.013980435207486153, -0.018783578649163246, -0.07436789572238922, 0.013740912079811096, -0.007057138718664646, -0.023151710629463196, 0.07976554334163666, 0.035748906433582306, 0.019442012533545494, 0.0371025912463665, 0.017219876870512962, 0.016630789265036583, -0.033820293843746185, 0.049455609172582626, -0.026789590716362, -0.0020873742178082466, -0.006283198017627001, -0.03310634568333626, -0.00796386320143938, -0.012942356988787651, -0.05912831798195839, -0.03265148028731346, -0.004750548396259546, 0.013858078047633171, -0.0000018824479184331722, 0.001344940159469843, 0.0033461335115134716, 0.020596984773874283, 0.0015557324513792992, -0.024515826255083084, -0.03050549142062664, -0.02448280155658722, -0.07518815249204636, -0.02755153179168701, 0.022449005395174026, -0.014290272258222103, 0.026659298688173294, 0.000328224734403193, 0.032919324934482574, 0.0422731451690197, 0.003576049115508795, -0.036270324140787125, 0.029325410723686218, -0.0021893696393817663, -0.05289771407842636, 0.00041771269752644, 0.03795503452420235, 0.024166684597730637, 0.01963360235095024, -0.029429884627461433, 0.036435820162296295, -0.005879492964595556, -0.028601858764886856, -0.009398847818374634, 0.007274914067238569, 0.007049741223454475, -0.06584517657756805, -0.019352832809090614, -0.016841845586895943, -0.03497403487563133, 0.03380180522799492, -0.066993348300457, -0.043994300067424774, 0.04212385043501854, 0.05303049460053444, 0.031180938705801964, -0.008781486190855503, -0.03371027857065201, 0.03227110579609871, -0.030778856948018074, 0.006008594296872616, -0.046231478452682495, 0.04191680997610092, -0.02024369314312935, -0.0007177495281212032, -0.025271331891417503, 0.03473404422402382, -0.03646368533372879, 0.05532944202423096, -0.020669033750891685, -0.025378016754984856, -0.012191413901746273, 0.026006925851106644, -0.00944432895630598, 0.03834425285458565, 0.006718347780406475, 0.024126388132572174, -0.009130329824984074, 0.03238319605588913, -0.05306376516819, -0.006848872173577547, -0.037171848118305206, 0.018427323549985886, -0.07280822843313217, -0.01807650923728943, -0.007227395195513964, -0.04901527240872383, 0.0024956397246569395, 0.04077214002609253, 0.03991427645087242, -0.011167808435857296, -0.016690947115421295, -0.018279453739523888, 0.023895930498838425, -0.06492432951927185, -0.015635298565030098, -0.02190990373492241, -0.006166743580251932, 0.013544442132115364, 0.04548298195004463, 0.040530793368816376, -0.050090644508600235, -0.04402749240398407, 0.057685546576976776, 0.024608265608549118, -0.011979983188211918, 0.023769134655594826, 0.034613195806741714, 0.05668829008936882, 0.04839220270514488, -0.006741731893271208, 0.0007628562743775547, -0.014315876178443432, -0.007448963820934296, 0.014007285237312317, -0.004693203140050173, 0.010541066527366638, 0.01869858242571354, -0.016985516995191574, -0.025306111201643944, 0.1142219677567482, 0.033406708389520645, 0.022830849513411522, 0.03267935290932655, -0.06345713138580322, 0.05166396498680115, 0.030753253027796745, -0.039526309818029404, 0.03069082833826542, 0.031039640307426453, -0.023627551272511482, 0.07535537332296371, 0.008462326601147652, 0.015324290841817856, 0.035624098032712936, 0.046547818928956985, -0.009758993983268738, 0.06128476932644844, -0.043043166399002075, 0.04613453522324562, 0.04953410103917122, -0.043369922786951065, -0.013040118850767612, -0.01698562316596508, 0.04580017924308777, -0.06882701814174652, 0.06017714738845825, 0.06618372350931168, -0.004240633919835091, 0.02867741696536541, -0.058644410222768784, -0.0385807566344738, 0.00981996487826109, -0.05492712929844856, 0.03417688235640526, 0.002321900799870491, -0.052616894245147705, 0.07484517991542816, 0.008434299379587173, -0.0809946358203888, 0.03833860531449318, 0.03686759993433952, 0.031200284138321877, 0.02753887139260769, 0.00610406743362546, -0.06881119310855865, 0.019200891256332397, -0.043066829442977905, 0.03655047342181206, -0.0402684211730957, -0.026275085285305977, 0.010182934813201427, -0.01773744449019432, -0.010629435069859028, 0.02337210811674595, 0.007472995202988386, 0.0035577896051108837, 0.014681934379041195, -0.05400151386857033, -0.05700984224677086, -0.002367411507293582, 0.018808579072356224, -0.0011190164368599653, -0.00904927123337984, -0.03204928711056709, 0.009666560217738152, 0.0031263527926057577, 0.005810766015201807, 0.0023630259092897177, -0.011165964417159557, 0.009551357477903366, -0.09634155035018921, -0.07520444691181183, 0.04657852277159691, 0.012560185045003891, -0.050074558705091476, 0.027219511568546295, 0.012503387406468391, 0.02863583341240883, 0.016684813424944878, -0.014327699318528175, 0.000833138357847929, -0.028303813189268112, -0.0035468488931655884, 0.03397004306316376, 0.015657978132367134, 0.03444976359605789, -0.0024523744359612465, 0.021804222837090492, 0.005704347509890795, 0.059911493211984634, -0.027195604518055916, -0.02530498430132866, -0.016027310863137245, -0.0019317892147228122, -0.003533186623826623, -0.01049073040485382, 0.0049490248784422874, -0.07190907001495361, -0.04828289896249771, 0.01899794489145279, -0.036189135164022446, 0.025901179760694504, -0.04907284304499626, 0.03333202004432678, 0.01626110076904297, -0.00568372244015336, -0.05892319232225418, -0.10598470270633698, -0.04676125571131706, -0.02283935621380806, 0.028264159336686134, 0.026085808873176575, -0.03593269735574722, 0.006694225128740072, -0.01447107270359993, -0.05492161214351654, 0.04023457691073418, 0.0019271968631073833, -0.06268525868654251, 0.04085493087768555, 0.05702085420489311, -0.038769010454416275, 0.013581349514424801, 0.026488445699214935, -0.040240705013275146, 0.021284854039549828, 0.016329752281308174, 0.016186874359846115, 0.010824395343661308, 0.0317121297121048, -0.03140129894018173, -0.013217945583164692, -0.060863569378852844, -0.031074274331331253, -0.02761446125805378, 0.02780754491686821, 0.07475509494543076 ]
BigSalmon/NEO125InformalToFormalLincoln
[ "pytorch", "gpt_neo", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
8
null
# Python T5 base model Pre-trained model on CodeSearchNet Python dataset using a span-masking objective. The training objective and model were introduced in [this paper](https://arxiv.org/pdf/1910.10683.pdf) and first released in [this repository](https://github.com/google-research/text-to-text-transfer-transformer). PyT5 model used [git-t5](https://github.com/formermagic/git-t5) framework built on top of JAX/Flax to pre-train the model on a TPU v3-8 node. # How to use You can use this model to denoise span-masked sequences. First, install the [git-t5](https://github.com/formermagic/git-t5) pip package: ```shell > pip install git-t5 ``` Next, download the model and tokenizer: ```python from transformers import AutoModelForSeq2SeqLM, AutoTokenizer, model = AutoModelForSeq2SeqLM.from_pretrained("formermagic/pyt5-base") tokenizer = AutoTokenizer.from_pretrained("formermagic/pyt5-base") ``` Finally, encode your input and generate the output sequence: ```python from git_t5.utils import encode_input text = """ def alias(self, annotationtype, set, fallback=False): if inspect.isclass(annotationtype): annotationtype = annotationtype.ANNOTATIONTYPE if annotationtype in self.set_alias and set in self.set_alias[annotationtype]: return self.set_alias[annotationtype][set] elif fallback: return set else: raise KeyError("No alias for set " + set) """ batch, max_length = encode_input(tokenizer, text, seed=22) outputs = model.generate(batch["input_ids"], max_length=max_length, num_beams=1) print(tokenizer.batch_decode(outputs[..., 1:])) print(tokenizer.batch_decode(batch["labels"])) ``` You should see the following output: ```shell ['<extra_id_0>, fallback=<extra_id_1> inspect<extra_id_2>.set_alias<extra_id_3> return self.set<extra_id_4>) def fallback'] ['<extra_id_0>, fallback=<extra_id_1> inspect<extra_id_2>.set_alias<extra_id_3> return self.set<extra_id_4>) </s></s>'] ``` As you can see, the predicted result is very close to the target sequence.
[ -0.02464383654296398, -0.011494281701743603, -0.0005614864639937878, 0.05465799197554588, 0.0401621013879776, 0.02674897387623787, -0.015199999324977398, 0.0074655041098594666, -0.01232399046421051, 0.024295257404446602, 0.004320065025240183, 0.0058744181878864765, -0.01804053969681263, 0.044838834553956985, -0.054099250584840775, -0.02583342231810093, -0.03502951189875603, -0.019253896549344063, -0.010976992547512054, -0.01640767604112625, 0.01988973841071129, -0.011034166440367699, 0.002797652967274189, 0.024201681837439537, -0.016585450619459152, 0.021326953545212746, 0.008613064885139465, 0.029634112492203712, 0.034081313759088516, -0.0841105729341507, 0.016138654202222824, -0.0076810396276414394, -0.03511286899447441, 0.010564529336988926, -0.04632926359772682, -0.007173588965088129, -0.0017007075948640704, -0.004122879356145859, 0.019508657976984978, 0.062231212854385376, -0.009736483916640282, 0.025229869410395622, 0.011367087252438068, -0.04636263847351074, 0.05026781186461449, 0.01591404899954796, -0.02959677390754223, 0.00582910468801856, 0.0356411449611187, -0.02348865568637848, -0.07072514295578003, -0.06375106424093246, -0.041753824800252914, 0.020835472270846367, -0.051325734704732895, -0.017638806253671646, -0.06317059695720673, -0.0010249647311866283, 0.0757700651884079, -0.04023456200957298, -0.009468141943216324, 0.008274411782622337, -0.05916135013103485, 0.02724762260913849, 0.027520474046468735, -0.020772770047187805, 0.0189476627856493, -0.05430588871240616, 0.0059036873281002045, -0.016756875440478325, 0.02882535196840763, -0.035674914717674255, 0.01684511825442314, -0.08330963551998138, 0.010122502222657204, -0.01711118593811989, 0.03585386276245117, 0.032028887420892715, -0.058575019240379333, 0.054646655917167664, 0.017092380672693253, -0.00025075339362956583, 0.016453605145215988, -0.005831504240632057, -0.0025664211716502905, 0.05194799229502678, -0.031404945999383926, -0.010010194964706898, 0.004475013352930546, 0.04634206369519234, -0.03633267432451248, -0.023277774453163147, -0.04442686215043068, -0.022836485877633095, -0.015869667753577232, 0.019481925293803215, 0.027465391904115677, 0.011592132970690727, 0.03337862715125084, 0.010439270175993443, 0.029033290222287178, 0.050705261528491974, 0.007458376698195934, 0.03417788818478584, -0.010261799208819866, 0.015801312401890755, 0.012305702082812786, -0.05007166042923927, -0.019473446533083916, 0.04157765582203865, 0.03534156456589699, -0.028239192441105843, -0.04845898225903511, 0.03856715187430382, 0.0016391982790082693, -0.025117041543126106, 0.035716038197278976, -0.00690029002726078, -0.06468184292316437, -0.0570199191570282, 0.0484490804374218, 0.0009460890432819724, -0.0014185847248882055, -0.017646346241235733, -0.022918371483683586, 0.009944087825715542, -0.06353357434272766, -0.034949056804180145, -0.016140278428792953, 0.027096226811408997, -0.01714523881673813, 0.03556082770228386, 0.02180834859609604, -0.0456039234995842, 0.01684797927737236, 0.033765606582164764, -0.09362970292568207, 0.06165706738829613, 0.04312268644571304, 0.11356716603040695, -0.0745944008231163, -0.06372914463281631, 0.001017932198010385, -0.0026005220133811235, -0.058000557124614716, -0.008307082578539848, -0.022671613842248917, -0.04566137120127678, -0.011708526872098446, -0.009821131825447083, 0.08239506930112839, -0.06013306975364685, 0.0227754358202219, 0.05589425563812256, -0.03347362205386162, 0.029501819983124733, -0.0387548990547657, 0.02427315153181553, -0.004203453194350004, -0.0016958829946815968, -0.033628251403570175, 0.03668003901839256, -0.009744394570589066, 0.011364755220711231, -0.061467140913009644, -0.0460076667368412, -0.005723896436393261, 0.0815541222691536, 0.01952585205435753, -0.029139265418052673, -0.019314216449856758, 0.0073773511685431, 0.03644413873553276, 0.04337547346949577, -0.012279948219656944, 0.044014617800712585, 0.05087294802069664, 0.04195388779044151, -0.01508931815624237, 0.04431253299117088, 0.01007808092981577, -0.016345316544175148, -0.029615037143230438, 0.034647442400455475, -0.00933264009654522, -0.03335336595773697, 0.007176479324698448, 0.023534290492534637, -0.028770631179213524, 0.005353605840355158, -0.0010999374790117145, 0.049357447773218155, 0.00027950049843639135, 0.007337824907153845, -0.015484766103327274, 0.01823013462126255, -0.014478512108325958, 0.06019211933016777, -0.036324791610240936, 0.005570420529693365, -0.02281465008854866, -0.013606209307909012, -0.0053481608629226685, 0.012330948375165462, 0.03688066080212593, 0.020740432664752007, 0.02283780835568905, 0.09232940524816513, -0.038309670984745026, 0.03121519647538662, -0.05406685918569565, -0.05112937092781067, 0.00494019128382206, 0.05847838521003723, 0.02160508930683136, 0.034868188202381134, -0.005435477942228317, -0.04339491203427315, 0.025486642494797707, 0.03499749302864075, 0.04582199081778526, 0.03859248757362366, -0.032677534967660904, -0.001044431235641241, 0.023297078907489777, 0.07298050820827484, -0.05033862963318825, -0.050259996205568314, 0.0322539396584034, 0.050350554287433624, -0.010303916409611702, 0.028830252587795258, -0.025187775492668152, 0.02804739773273468, -0.05500369891524315, -0.053395602852106094, 0.023635242134332657, 0.03672173246741295, 0.02181624248623848, 0.023658081889152527, -0.016181843355298042, -0.0023510821629315615, 0.03867373615503311, -0.019734054803848267, 0.004688341170549393, -0.030431147664785385, 0.004208459984511137, 0.001974457874894142, 0.046089474111795425, -0.04931256175041199, 0.049284741282463074, 0.01694214902818203, -0.002612497191876173, 0.03412756696343422, -0.01685486175119877, 0.01635601371526718, 0.02868727780878544, 0.0037861070595681667, -0.01355795469135046, 0.017307309433817863, 0.015847578644752502, 0.049717698246240616, 0.1025608628988266, 0.00785532221198082, 0.0678885355591774, -0.011327868327498436, 0.051439929753541946, 0.07718724757432938, 0.015169529244303703, 0.013654795475304127, 0.06432730704545975, 0.07471364736557007, 0.038498371839523315, -0.01727120950818062, 0.06379535049200058, -0.04578913375735283, 0.021790580824017525, -0.05182505398988724, 0.003223213367164135, -0.030742311850190163, -0.007830462418496609, 0.04957781359553337, 0.031039545312523842, -0.029536526650190353, 0.01230305153876543, -0.03364024683833122, -0.020914116874337196, 0.027369936928153038, 0.002021580934524536, 0.019781891256570816, -0.012471649795770645, -0.0103760389611125, -0.008888996206223965, -0.07172363251447678, -0.02321998029947281, -0.02357345074415207, -0.03491663932800293, -0.002436661394312978, -0.08955634385347366, -0.01924174092710018, -0.060189422219991684, -0.021197911351919174, 0.038370873779058456, -0.006455110386013985, -0.004484846256673336, -0.052903179079294205, 0.007881244644522667, -0.03176041319966316, -0.02570127137005329, -0.050512589514255524, -0.03819565102458, -0.021727286279201508, -0.07752035558223724, 0.03002055175602436, 0.001874523120932281, 0.03345832973718643, 0.0033340684603899717, -0.0020877013448625803, -0.03439725935459137, -0.02722278982400894, 0.06003374978899956, 0.017730332911014557, -0.02374359592795372, -0.050541989505290985, 0.02638877183198929, -0.010213147848844528, 0.007825720123946667, -0.016849176958203316, -0.03486883267760277, 0.08118407428264618, 0.07584727555513382, 0.03842271491885185, 0.010127770714461803, -0.007045263424515724, -0.0529765784740448, -0.06378095597028732, -0.04285592958331108, -0.04003666341304779, -0.029791831970214844, -0.027689063921570778, -0.04502813518047333, -0.011872513219714165, -0.044870659708976746, 0.0032987964805215597, 0.01651906780898571, 0.03713604062795639, 0.055821362882852554, 0.046373069286346436, 0.029793770983815193, 0.02617618627846241, -0.04143605753779411, -0.05469365790486336, 0.047247469425201416, -0.008875622414052486, -0.013763445429503918, -0.06708387285470963, -0.03366914391517639, 0.05132833868265152, 0.012600820511579514, 0.02133193425834179, 0.005595775321125984, 0.08648699522018433, 0.009367424063384533, -0.02234456315636635, -0.007692502345889807, -0.0015262165106832981, -0.007447636686265469, 0.005661939270794392, 0.006034760735929012, -0.04386761039495468, -0.032318875193595886, -0.05976862832903862, -0.017633162438869476, 0.05319375544786453, -0.06001294404268265, -0.05473385006189346, -0.007166729774326086, 0.04177595674991608, 0.027619604021310806, 0.02216287888586521, -0.04169314727187157, -0.01188772264868021, -0.062325239181518555, -0.027145160362124443, 0.019414961338043213, 0.03122183494269848, -0.013855179771780968, 0.021359333768486977, 0.03229779377579689, -0.04965052008628845, 0.04081561416387558, 0.037159740924835205, 0.06131374090909958, 0.030382409691810608, -0.04728231579065323, 0.023653404787182808, -0.025815047323703766, 0.01500296127051115, -0.0012256671907380223, -0.03282610699534416, -0.04229308292269707, -0.07041288912296295, -0.021694010123610497, 0.015275923535227776, -0.00789590459316969, -0.018643146380782127, 0.028794320300221443, -0.015549433417618275, -0.0398477278649807, 0.00038554478669539094, 0.019033638760447502, 0.07523862272500992, -0.06406581401824951, 0.05217406526207924, 0.03275367617607117, 0.04997009411454201, -0.028884436935186386, 0.019857846200466156, -0.019446883350610733, -0.005311895627528429, 0.01771555468440056, 0.05263551324605942, 0.02138264663517475, 0.06389632821083069, 0.05770644545555115, 0.003314804518595338, -0.05167088285088539, 0.04957088828086853, 0.05925587937235832, -0.017534546554088593, -0.051482491195201874, 0.007328083738684654, -0.0056578791700303555, -0.027837609872221947, 0.03445644676685333, -0.025463445112109184, 0.0026224132161587477, 0.04994684085249901, -0.008870726451277733, -0.020615065470337868, 0.0077000088058412075, -0.011459802277386189, -0.024440880864858627, -0.07851698994636536, -0.02197626791894436, 0.013685525394976139, -0.019734017550945282, 0.029920464381575584, 0.011204073205590248, 0.008006088435649872, 0.05374425649642944, 0.05557012930512428, -0.03278908133506775, -0.029617447406053543, 0.02624567411839962, 0.04089118540287018, -0.029308388009667397, -0.06171523779630661, -0.05521759018301964, 0.034517209976911545, 0.04577407240867615, -0.011275454424321651, -0.09170828014612198, -0.0004639709077309817, 0.030901093035936356, -0.03263760730624199, 0.053351737558841705, -0.0014128749025985599, 0.04644818231463432, 0.04393702745437622, 0.010762275196611881, 0.04018348455429077, -0.02412802167236805, -0.0084767434746027, -0.0112924100831151, 0.050227075815200806, -0.031314827501773834, -0.025666598230600357, -0.044557761400938034, 0.030229171738028526, 0.031482066959142685, 0.04297429323196411, 0.03245040401816368, -0.016363902017474174, -0.056557513773441315, 0.020687252283096313, 0.02550606057047844, -0.023011241108179092, 0.025062410160899162, 0.0261780247092247, 0.026699572801589966, -0.04373015835881233, -0.023405950516462326, -0.03434720262885094, -0.0037464711349457502, 0.03348827362060547, -0.00045117136323824525, -0.05717460811138153, -0.04135723039507866, 0.022931190207600594, -0.035183995962142944, -0.011230629868805408, -0.07279153913259506, 0.014749361202120781, -0.013115995563566685, -0.016669640317559242, 0.06689248979091644, 0.04447464644908905, 0.03393467143177986, 0.04781802371144295, 0.006972144823521376, 0.025575434789061546, -0.039916135370731354, 0.05288858711719513, 0.0003632126026786864, -0.032387398183345795, -0.020088694989681244, -0.05667185038328171, -0.01582455262541771, -0.01687374897301197, -0.04353068396449089, -0.03570086881518364, -0.018507011234760284, -0.0029590455815196037, -0.0004657406243495643, 0.009659782983362675, -0.02158583700656891, 0.03321601822972298, -0.04302801936864853, -0.031096352264285088, -0.02177903614938259, -0.02727346122264862, -0.09214351326227188, -0.04582762345671654, 0.029099391773343086, -0.003271562745794654, 0.05731566995382309, 0.0028482971247285604, 0.03263714537024498, 0.023824414238333702, -0.0021232417784631252, -0.0004438072501216084, 0.020536934956908226, 0.005099132191389799, -0.030087491497397423, -0.030204135924577713, 0.010833215899765491, 0.00771247036755085, 0.017507046461105347, -0.017656633630394936, 0.014810740947723389, 0.039784934371709824, -0.016727305948734283, -0.020713772624731064, 0.015362768433988094, -0.004071722738444805, -0.07301295548677444, -0.03343908116221428, -0.013987179845571518, -0.04730609804391861, 0.03309619799256325, 0.007201697211712599, -0.02643035352230072, 0.0015932893147692084, 0.021891530603170395, 0.04857010021805763, -0.027370940893888474, -0.016930075362324715, -0.0015320261009037495, -0.030686186626553535, 0.0563003234565258, -0.046204641461372375, 0.04404091835021973, -0.037717513740062714, -0.004941760562360287, -0.006306842900812626, 0.015556881204247475, -0.04808963090181351, 0.050621673464775085, -0.028783535584807396, -0.021776627749204636, -0.03330351039767265, 0.03592326492071152, -0.014858987182378769, 0.040321506559848785, -0.018885120749473572, 0.023663489148020744, -0.036117974668741226, 0.04018719494342804, -0.045903678983449936, 0.014624721370637417, -0.05376431718468666, 0.007306629791855812, -0.026771849021315575, -0.04289737343788147, -0.013650955632328987, -0.03218322992324829, 0.06032700464129448, 0.05446010082960129, 0.019323281943798065, 0.012198222801089287, -0.02161303535103798, 0.0024458093103021383, 0.01605616882443428, -0.06688448041677475, -0.04589393734931946, 0.006069480907171965, 0.039960991591215134, -0.02777811326086521, 0.04645201191306114, 0.03040364570915699, -0.01672818697988987, -0.03671220690011978, 0.047589149326086044, 0.021318700164556503, 0.012392069213092327, 0.004161189775913954, 0.0071380711160600185, 0.03260615095496178, 0.0357372909784317, -0.03153332695364952, -0.006833286490291357, 0.0009330383036285639, -0.026104873046278954, 0.023304486647248268, -0.008137626573443413, 0.04066823795437813, -0.0011385900434106588, -0.0425097718834877, -0.03387875109910965, 0.0505923368036747, 0.02204851061105728, 0.02787681110203266, -0.0025409155059605837, -0.03384563326835632, 0.037162020802497864, 0.00018916334374807775, -0.05010787770152092, -0.004690281115472317, 0.023226359859108925, -0.041853100061416626, 0.07938997447490692, -0.008095947094261646, 0.0032786261290311813, 0.02796982415020466, 0.010558067820966244, -0.014042685739696026, 0.03614865615963936, -0.035106003284454346, 0.022082136943936348, 0.044307660311460495, -0.025298334658145905, -0.010796080343425274, 0.004535182379186153, 0.061968907713890076, -0.06653087586164474, 0.027317222207784653, 0.04047307372093201, 0.036543671041727066, -0.007247080560773611, -0.026276398450136185, -0.03400002792477608, 0.013134150765836239, -0.056167490780353546, 0.0560874417424202, -0.0028725960291922092, -0.08669338375329971, 0.07200762629508972, 0.0355626679956913, -0.06999887526035309, 0.03837991878390312, 0.04828789457678795, 0.03519859537482262, 0.023247823119163513, 0.0281963050365448, -0.06302174925804138, 0.009893994778394699, -0.07370264828205109, 0.0016872999258339405, -0.04236452654004097, -0.01664133183658123, 0.03129788115620613, -0.02675952948629856, -0.013186747208237648, 0.026092499494552612, -0.0058516464196145535, 0.0020278894808143377, 0.027498017996549606, -0.09049345552921295, -0.010706502012908459, -0.007275757379829884, 0.007081069517880678, -0.03257255628705025, 0.038076143711805344, -0.020713649690151215, 0.015481504611670971, 0.0027808421291410923, -0.016610685735940933, -0.053372617810964584, 0.0012522176839411259, 0.00938611663877964, -0.0632353276014328, -0.04236065596342087, 0.036490894854068756, 0.003320691641420126, -0.0355173759162426, 0.030157865956425667, -0.0291906725615263, 0.028665345162153244, 0.02568543143570423, 0.0021833316422998905, 0.047447074204683304, -0.04554640129208565, 0.0018032946391031146, 0.019760597497224808, 0.008054488338530064, 0.03749563917517662, -0.007570266257971525, 0.04588177800178528, 0.023238051682710648, 0.02101677469909191, -0.01736205630004406, -0.03600633516907692, -0.030645472928881645, 0.03553703427314758, -0.052581969648599625, 0.026725348085165024, 0.008028833195567131, -0.029680810868740082, -0.035969216376543045, -0.028368839994072914, -0.026145463809370995, 0.03875364735722542, -0.06918826699256897, 0.00246271095238626, 0.04040220007300377, 0.0005586458137258887, -0.04351536184549332, -0.0713142603635788, -0.011739811860024929, -0.03703439235687256, 0.0050347065553069115, 0.03317536413669586, -0.05133237689733505, 0.002009682822972536, -0.026601839810609818, -0.08399981260299683, 0.07472248375415802, 0.036765582859516144, -0.021391602233052254, 0.024974524974822998, 0.01592523604631424, -0.028620649129152298, 0.019997870549559593, 0.01900097355246544, -0.044279105961322784, 0.006284983828663826, 0.019967960193753242, 0.01258047390729189, 0.0295641478151083, 0.053656622767448425, -0.02491149492561817, -0.026349958032369614, -0.06100773066282272, -0.017755337059497833, -0.03275788947939873, 0.0047453176230192184, 0.05384857580065727 ]
BigSalmon/Neo
[ "pytorch", "gpt_neo", "text-generation", "transformers" ]
text-generation
{ "architectures": [ "GPTNeoForCausalLM" ], "model_type": "gpt_neo", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
13
null
--- license: mit language: py thumbnail: https://avatars.githubusercontent.com/u/70610668?s=400&u=f0699303289113c125e8686338739d9a63d5826c&v=4 tags: - roberta - pytorch --- # roberta-base-python-1m
[ -0.04190268740057945, -0.026355987414717674, -0.010615838691592216, 0.022428661584854126, 0.03687165305018425, 0.019904641434550285, -0.0011973421787843108, 0.02121126279234886, -0.037112604826688766, 0.033479124307632446, 0.03943856060504913, 0.005811330862343311, 0.03196623921394348, 0.05012134090065956, -0.022426607087254524, -0.02019667811691761, -0.004745346028357744, -0.008531738072633743, -0.03878027945756912, -0.004884559661149979, 0.04543061926960945, 0.0019360168371349573, -0.003648429410532117, 0.04486611858010292, 0.010460140183568, -0.003493159543722868, 0.005275821778923273, 0.014110947027802467, 0.02970552258193493, -0.05615435168147087, -0.001118229585699737, -0.04562009871006012, -0.035191431641578674, -0.03670859709382057, -0.029601097106933594, -0.020664533600211143, 0.01233828254044056, 0.0035944832488894463, 0.010858072899281979, 0.04106810316443443, -0.011373464949429035, 0.034237414598464966, -0.03492756560444832, -0.022167036309838295, 0.04518924653530121, -0.0011015762574970722, -0.0383022204041481, -0.03017950989305973, 0.0231757964938879, -0.0294941496104002, -0.08696159720420837, -0.0817810446023941, -0.036032404750585556, 0.01962403953075409, -0.03042328543961048, -0.01087865885347128, -0.029325947165489197, 0.0007228653994388878, 0.05903187394142151, -0.06940197199583054, -0.05057035759091377, 0.005974330939352512, -0.1018260195851326, 0.002231164602562785, 0.040209006518125534, -0.02842297963798046, 0.016187427565455437, -0.019682113081216812, 0.03565763682126999, -0.015406402759253979, 0.0782603994011879, -0.032470524311065674, 0.024628933519124985, -0.07174865901470184, -0.022910872474312782, -0.0377364456653595, 0.021746957674622536, 0.024145949631929398, -0.05111377686262131, 0.04063327610492706, 0.03779393434524536, -0.020016832277178764, 0.04907293617725372, -0.025063181295990944, -0.02522503398358822, 0.00641403254121542, -0.020720088854432106, 0.001756463898345828, 0.007894216105341911, 0.06277984380722046, -0.043809112161397934, -0.03805994242429733, -0.019769148901104927, -0.008534584194421768, -0.010532996617257595, 0.031741827726364136, 0.055377550423145294, -0.027977103367447853, 0.0010483700316399336, 0.03957489877939224, 0.023355204612016678, 0.0342787504196167, -0.0007101588998921216, 0.03523123636841774, 0.0215163417160511, -0.010326770134270191, -0.007795908488333225, -0.021581105887889862, -0.044079530984163284, 0.021327784284949303, 0.03245095908641815, -0.03687972202897072, -0.003686419688165188, 0.057377830147743225, 0.004103002138435841, -0.0025322395376861095, 0.05101100727915764, -0.033007074147462845, -0.04615950211882591, -0.03908862546086311, 0.0684022456407547, 0.0068785687908530235, -0.022908633574843407, 0.032138943672180176, -0.02262348122894764, -0.019604118540883064, -0.04173324629664421, -0.023747671395540237, 0.009992971085011959, 0.01837081089615822, -0.004437352530658245, 0.05360390245914459, 0.04358359053730965, -0.06601336598396301, 0.0004939152277074754, 0.02412768267095089, -0.02954072877764702, 0.04964114725589752, 0.00433669239282608, 0.12460263073444366, -0.056570377200841904, -0.06173873692750931, 0.009781411848962307, 0.013353371061384678, -0.04843146353960037, -0.008745335042476654, 0.006394673604518175, -0.02977418527007103, -0.029174210503697395, -0.019998665899038315, 0.030556626617908478, -0.05719659850001335, -0.011762979440391064, 0.05265791714191437, -0.0030608854722231627, 0.018661748617887497, -0.04401841759681702, -0.01966049149632454, 0.005884556565433741, 0.012634076178073883, -0.040497567504644394, 0.04721523076295853, 0.0014716207515448332, -0.005013311747461557, -0.02435614913702011, -0.049766529351472855, 0.008110251277685165, 0.08840616047382355, -0.006599651649594307, -0.04105665534734726, -0.022371355444192886, 0.0009953374974429607, 0.0335589274764061, 0.02139502577483654, -0.010206596925854683, 0.05737550929188728, 0.04857411980628967, 0.04192027822136879, -0.02637597545981407, 0.03826116770505905, 0.009023684076964855, -0.04019876942038536, -0.029505962505936623, 0.032044440507888794, 0.03061048686504364, -0.02250606007874012, 0.0003775590448640287, 0.04941977933049202, 0.004813822451978922, -0.06423243135213852, -0.02347683534026146, 0.05375188961625099, -0.02594333328306675, -0.018997834995388985, 0.0063431719318032265, -0.020570309832692146, -0.016542764380574226, 0.042453013360500336, -0.007384359370917082, -0.018288634717464447, -0.013964283280074596, -0.016448091715574265, 0.01365484856069088, 0.019450461491942406, 0.03671751171350479, 0.03656262159347534, -0.01647206023335457, 0.09276151657104492, -0.032319456338882446, 0.008197516202926636, -0.03015582077205181, -0.05844751372933388, 0.008743682876229286, 0.07672064006328583, 0.057342831045389175, 0.04033029079437256, -0.0028340963181108236, -0.02495957724750042, 0.04440787062048912, 0.0705154687166214, 0.039732158184051514, 0.006685295607894659, -0.040364254266023636, -0.0003923357289750129, 0.03893456980586052, 0.0436779260635376, -0.04728630557656288, -0.023654107004404068, 0.01606413722038269, 0.04268147423863411, -0.04623417928814888, 0.010107017122209072, -0.023639516904950142, 0.0038599956315010786, -0.036016445606946945, -0.07288536429405212, 0.036100562661886215, 0.01630377396941185, 0.025327958166599274, -0.008105890825390816, -0.030800890177488327, 0.008052865974605083, 0.024814477190375328, 0.031026901677250862, 0.02030680887401104, -0.05829247832298279, 0.005373015534132719, 0.020461218431591988, 0.06856895983219147, -0.03099893592298031, 0.060679830610752106, -0.005359440576285124, 0.0022493372671306133, 0.001486634137108922, -0.05287479981780052, 0.01820189133286476, 0.04672907665371895, 0.026906954124569893, -0.027763016521930695, 0.035299453884363174, 0.013910154812037945, 0.006578471045941114, 0.04882439598441124, -0.0010243072174489498, 0.05043353512883186, -0.011368196457624435, 0.0580529123544693, 0.0799071416258812, 0.013141511008143425, 0.04038206487894058, 0.019941573962569237, 0.06621164083480835, -0.00919326487928629, -0.028020402416586876, 0.050030697137117386, -0.040812358260154724, 0.006639492232352495, -0.021524036303162575, 0.002557460917159915, -0.031211737543344498, -0.013744007796049118, 0.018784578889608383, -0.010791826993227005, -0.04768727719783783, -0.009877646341919899, -0.011618201620876789, 0.0004461561911739409, 0.03209574148058891, -0.0019717516843229532, 0.0015237184707075357, -0.012855764478445053, -0.0012701352825388312, 0.02334195375442505, -0.0889342874288559, -0.04560412839055061, -0.02327413111925125, -0.008926212787628174, 0.011117995716631413, -0.09384342283010483, -0.014552348293364048, -0.058437734842300415, -0.01820378005504608, 0.03988570719957352, 0.014159558340907097, -0.011881585232913494, -0.031118519604206085, -0.0011305343359708786, -0.03089950792491436, -0.05002158135175705, -0.06039750203490257, -0.05224311724305153, -0.010549657046794891, -0.07617311179637909, 0.03210366144776344, 0.002167313126847148, 0.0481131337583065, 0.007541757542639971, -0.005399904679507017, -0.03334591165184975, -0.04145101457834244, 0.07404440641403198, 0.0338636189699173, -0.013488984666764736, -0.04641047120094299, 0.02649819105863571, 0.011792490258812904, 0.016080262139439583, 0.03353803977370262, -0.034519799053668976, 0.0701618418097496, 0.06814143806695938, -0.002233870094642043, 0.004860050044953823, -0.0004676670068874955, -0.045661669224500656, -0.048127736896276474, -0.02871658466756344, -0.03788236156105995, -0.046637989580631256, -0.017808040603995323, -0.043763499706983566, -0.06091456860303879, -0.03620140627026558, -0.005764903966337442, -0.005172659642994404, 0.008139751851558685, 0.03402899578213692, 0.052188534289598465, 0.05832042545080185, 0.015496764332056046, -0.046455882489681244, -0.024477390572428703, 0.06017618253827095, 0.02053212560713291, -0.0302447397261858, -0.0658888965845108, -0.04874996095895767, 0.044407185167074203, 0.0022066691890358925, -0.0032833213917911053, -0.04208166524767876, 0.029356766492128372, 0.013944867998361588, -0.00581572949886322, -0.007832272909581661, -0.02728930115699768, -0.017546918243169785, 0.006419772747904062, -0.018999118357896805, -0.026873240247368813, -0.048222605139017105, -0.029842110350728035, 0.013646929524838924, 0.05673655867576599, -0.0521308034658432, -0.053077612072229385, -0.01977921836078167, 0.00421880092471838, 0.04481423646211624, -0.011770619079470634, -0.045081641525030136, 0.007959182374179363, -0.05461139231920242, 0.00249274424277246, 0.034899234771728516, -0.01250783447176218, 0.0034067558590322733, 0.05570005625486374, 0.041554346680641174, -0.03315167874097824, 0.052818603813648224, 0.023547956719994545, 0.06795834749937057, 0.019026905298233032, -0.07701950520277023, 0.026423074305057526, -0.013246745802462101, -0.0022486390080302954, 0.0014937428059056401, -0.03132314234972, -0.042539916932582855, -0.08004801720380783, -0.009371450170874596, -0.004973080474883318, 0.003909654449671507, -0.014723722822964191, 0.06557560712099075, -0.012694597244262695, -0.005586693994700909, 0.023964038118720055, -0.014774791896343231, 0.04627709090709686, -0.01748344488441944, 0.06814780086278915, -0.014393208548426628, 0.04918823391199112, -0.04892075061798096, -0.014904184266924858, -0.039540696889162064, 0.005367322359234095, 0.004238405730575323, 0.06593003123998642, 0.02002345770597458, 0.04257095977663994, 0.07512708753347397, 0.032615844160318375, -0.036884061992168427, 0.04422122240066528, 0.030276311561465263, -0.024785108864307404, -0.04450521618127823, -0.01253796461969614, -0.0041931611485779285, -0.015516375191509724, 0.0021279186476022005, -0.012024039402604103, 0.029662098735570908, 0.03693753853440285, -0.002224937779828906, 0.012238208204507828, 0.009054942056536674, -0.015946583822369576, -0.03841148689389229, -0.036461539566516876, -0.012673435732722282, 0.022730888798832893, 0.007460181601345539, 0.0006967888330109417, 0.06693200021982193, 0.0076831309124827385, 0.062111224979162216, 0.02616182342171669, -0.02928084135055542, -0.05215860903263092, 0.049019742757081985, 0.027451347559690475, -0.03297293186187744, -0.08243870735168457, -0.025829356163740158, 0.015297725796699524, 0.039771076291799545, 0.002130901673808694, -0.08299533277750015, 0.032061800360679626, 0.03787080571055412, -0.030157003551721573, 0.04930805414915085, -0.0064869229681789875, 0.04547790810465813, 0.04104059934616089, -0.020637094974517822, 0.024705801159143448, -0.006148431450128555, 0.016024183481931686, -0.009755298495292664, 0.028762299567461014, -0.004440702497959137, -0.02493492141366005, -0.049532823264598846, 0.026701122522354126, 0.019983135163784027, 0.05306404083967209, 0.027073370292782784, -0.05335858464241028, -0.041140299290418625, -0.011033357121050358, 0.030125556513667107, -0.07120683044195175, 0.04439865052700043, 0.05354413017630577, 0.01850815676152706, -0.036268867552280426, -0.04604737460613251, -0.010413026437163353, 0.0012170331319794059, 0.05817899480462074, -0.012259915471076965, -0.025715593248605728, -0.0550021231174469, 0.026559824123978615, 0.022379392758011818, -0.034947238862514496, -0.07548373937606812, 0.02302870713174343, -0.0038488199934363365, -0.023381520062685013, 0.07975145429372787, 0.02676568552851677, 0.022099263966083527, 0.04893415421247482, 0.008450106717646122, 0.02048557624220848, -0.03898388892412186, 0.05355164036154747, -0.025891346856951714, 0.0060139927081763744, -0.005532884504646063, -0.026755530387163162, -0.022546859458088875, -0.009542199783027172, -0.054193850606679916, -0.035876840353012085, -0.003656829707324505, 0.028338290750980377, 0.005456365179270506, -0.010570340789854527, 0.009010371752083302, 0.03638077154755592, -0.0010266307508572936, -0.012351827695965767, -0.03249523788690567, -0.01854473352432251, -0.0670538917183876, -0.030985219404101372, 0.033360809087753296, -0.0025008481461554766, 0.023081038147211075, -0.0007461022469215095, 0.018284255638718605, 0.04113424941897392, 0.00743319746106863, -0.023630384355783463, 0.018355119973421097, -0.010193204507231712, -0.04827316477894783, -0.008138722740113735, 0.02889753133058548, 0.02625689096748829, 0.026713116094470024, -0.027798134833574295, 0.042514897882938385, -0.011960729956626892, -0.022039299830794334, -0.00930569414049387, 0.0010338654974475503, -0.002446690108627081, -0.07439298927783966, -0.022395789623260498, -0.009519634768366814, -0.04112006723880768, 0.028145767748355865, -0.06151962652802467, -0.03712935745716095, 0.02900838479399681, 0.04959730803966522, 0.03407331928610802, -0.013488640077412128, -0.030091123655438423, 0.02960752509534359, -0.03533729165792465, -0.01353608537465334, -0.041964467614889145, 0.043527908623218536, -0.01378621719777584, -0.001704873633570969, -0.024089332669973373, 0.015560606494545937, -0.037623997777700424, 0.06493012607097626, -0.01908320188522339, -0.017507240176200867, -0.0039924257434904575, 0.025361057370901108, -0.004659552592784166, 0.0576026514172554, -0.0023868088610470295, 0.011038250289857388, -0.01366223394870758, 0.0471397265791893, -0.05997568741440773, -0.012825612910091877, -0.02931343764066696, 0.006684157531708479, -0.05312424525618553, -0.021970592439174652, -0.014178566634654999, -0.06225595623254776, 0.009027434512972832, 0.052875816822052, 0.024141009896993637, -0.017808830365538597, -0.018151406198740005, -0.00643819198012352, 0.0032907703425735235, -0.08027246594429016, -0.016540082171559334, -0.02273285947740078, -0.02099316194653511, 0.014311198145151138, 0.04133623093366623, 0.04264254495501518, -0.04936975985765457, -0.0486905612051487, 0.04424092546105385, 0.020227594301104546, -0.004116417374461889, 0.016898293048143387, 0.01977718621492386, 0.05840975046157837, 0.03846876323223114, -0.017277078703045845, 0.008064381778240204, -0.010206608101725578, -0.015617189928889275, 0.03909637778997421, 0.007687334902584553, 0.022705011069774628, 0.013292178511619568, -0.02900712564587593, -0.013824899680912495, 0.10784709453582764, 0.0470610149204731, 0.011754718609154224, 0.012988374568521976, -0.05799832195043564, 0.05565624684095383, 0.02960616536438465, -0.044308729469776154, 0.022320684045553207, 0.028399208560585976, -0.028098836541175842, 0.061277665197849274, -0.012442141771316528, 0.024471867829561234, 0.047709837555885315, 0.038407180458307266, -0.024236353114247322, 0.052068788558244705, -0.023411275818943977, 0.0346490778028965, 0.055038608610630035, -0.05446908250451088, -0.009249809198081493, -0.0264536552131176, 0.05149611458182335, -0.07995452731847763, 0.049083318561315536, 0.048431411385536194, -0.005904461722820997, 0.020836707204580307, -0.03730064257979393, -0.045146405696868896, 0.015087115578353405, -0.06024135276675224, 0.05511697754263878, -0.0057399882934987545, -0.05804246664047241, 0.08246578276157379, 0.0032611710485070944, -0.08093858510255814, 0.04669109731912613, 0.02146051824092865, 0.024233557283878326, 0.027676265686750412, 0.0018399977125227451, -0.0685613602399826, 0.03992518037557602, -0.041490133851766586, 0.0501350462436676, -0.053332772105932236, -0.024716194719076157, 0.008757310919463634, -0.012075891718268394, -0.022635992616415024, 0.021937843412160873, 0.01300898939371109, 0.004996625240892172, 0.012871396727859974, -0.06552769243717194, -0.05170370638370514, -0.0029050952289253473, 0.024639829993247986, -0.0066963620483875275, -0.0030444718431681395, -0.035315219312906265, 0.014234201982617378, 0.013102740049362183, -0.004046906717121601, -0.003994128201156855, -0.019520465284585953, 0.015844760462641716, -0.09937600046396255, -0.0686768889427185, 0.05500878393650055, 0.013584674336016178, -0.04309292137622833, 0.028326349332928658, 0.016884729266166687, 0.02752419002354145, 0.010761268436908722, -0.013574263080954552, -0.006947013083845377, -0.026077527552843094, -0.011969144456088543, 0.03158275783061981, 0.014968725852668285, 0.039716921746730804, -0.006803818978369236, 0.03427277132868767, 0.011062691919505596, 0.05240483209490776, -0.028799567371606827, -0.01376169640570879, -0.025720827281475067, 0.022543208673596382, -0.01915547624230385, 0.00782945565879345, 0.004799162037670612, -0.06710388511419296, -0.043530046939849854, 0.0014586165780201554, -0.021606266498565674, 0.03079145774245262, -0.0460115484893322, 0.03032984584569931, 0.01622335985302925, -0.02314530499279499, -0.05191773176193237, -0.0857953429222107, -0.04728994145989418, -0.017280083149671555, 0.011617329902946949, 0.025757841765880585, -0.02850392460823059, 0.015126409940421581, -0.014372562989592552, -0.05574897676706314, 0.0401344895362854, 0.006907821167260408, -0.056917645037174225, 0.041928719729185104, 0.04946563020348549, -0.026564985513687134, 0.005516038276255131, 0.027022970840334892, -0.03229285404086113, 0.021415697410702705, -0.000009213817975251004, 0.006473000627011061, 0.022059064358472824, 0.008399959653615952, -0.016988787800073624, -0.00790810864418745, -0.04961467161774635, -0.028671525418758392, -0.02432585507631302, 0.028928350657224655, 0.07785346359014511 ]
BigSalmon/Robertsy
[ "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 } } }
4
null
## Introduction This is a zero-shot relation extractor based on the paper [Exploring the zero-shot limit of FewRel](https://www.aclweb.org/anthology/2020.coling-main.124). ## Installation ```bash $ pip install zero-shot-re ``` ## Run the Extractor ```python from transformers import AutoTokenizer from zero_shot_re import RelTaggerModel, RelationExtractor model = RelTaggerModel.from_pretrained("fractalego/fewrel-zero-shot") tokenizer = AutoTokenizer.from_pretrained("fractalego/fewrel-zero-shot") relations = ['noble title', 'founding date', 'occupation of a person'] extractor = RelationExtractor(model, tokenizer, relations) ranked_rels = extractor.rank(text='John Smith received an OBE', head='John Smith', tail='OBE') print(ranked_rels) ``` with results ```python3 [('noble title', 0.9690611883997917), ('occupation of a person', 0.0012609362602233887), ('founding date', 0.00024014711380004883)] ``` ## Accuracy The results as in the paper are | Model | 0-shot 5-ways | 0-shot 10-ways | |------------------------|--------------|----------------| |(1) Distillbert |70.1±0.5 | 55.9±0.6 | |(2) Bert Large |80.8±0.4 | 69.6±0.5 | |(3) Distillbert + SQUAD |81.3±0.4 | 70.0±0.2 | |(4) Bert Large + SQUAD |86.0±0.6 | 76.2±0.4 | This version uses the (4) Bert Large + SQUAD model ## Cite as ```bibtex @inproceedings{cetoli-2020-exploring, title = "Exploring the zero-shot limit of {F}ew{R}el", author = "Cetoli, Alberto", booktitle = "Proceedings of the 28th International Conference on Computational Linguistics", month = dec, year = "2020", address = "Barcelona, Spain (Online)", publisher = "International Committee on Computational Linguistics", url = "https://www.aclweb.org/anthology/2020.coling-main.124", doi = "10.18653/v1/2020.coling-main.124", pages = "1447--1451", abstract = "This paper proposes a general purpose relation extractor that uses Wikidata descriptions to represent the relation{'}s surface form. The results are tested on the FewRel 1.0 dataset, which provides an excellent framework for training and evaluating the proposed zero-shot learning system in English. This relation extractor architecture exploits the implicit knowledge of a language model through a question-answering approach.", } ```
[ -0.007944351062178612, -0.02059221640229225, 0.012310165911912918, 0.010732728987932205, 0.03306403011083603, 0.026713941246271133, -0.02284368872642517, -0.037763845175504684, -0.046603329479694366, 0.04699587821960449, 0.04662974923849106, 0.0018458088161423802, 0.03323967009782791, 0.02850538119673729, -0.03159128874540329, -0.038032617419958115, -0.0222755316644907, -0.0009572962298989296, -0.04469192773103714, -0.010248416103422642, 0.03252559155225754, 0.003042310243472457, 0.005470133852213621, 0.03533416613936424, -0.01354171335697174, 0.0013307371409609914, -0.007712875492870808, 0.003619465045630932, 0.07380589097738266, -0.0628119707107544, 0.01082039624452591, -0.03201088309288025, -0.0008149931090883911, -0.05376970022916794, -0.04608655720949173, -0.007553741801530123, -0.002261226763948798, -0.011572036892175674, 0.03381762653589249, 0.052165061235427856, 0.0004730897198896855, 0.04533131420612335, 0.004812838975340128, -0.017076579853892326, 0.04789048805832863, 0.018586760386824608, -0.03508356586098671, -0.01230616495013237, 0.046614691615104675, -0.032766297459602356, -0.06886105984449387, -0.07450441271066666, -0.04074367135763168, 0.03576543182134628, -0.022747136652469635, -0.037287190556526184, -0.06681961566209793, 0.0035542119294404984, 0.06828156858682632, -0.05689068138599396, -0.03560766950249672, 0.002194758038967848, -0.06780726462602615, 0.0322549045085907, 0.036245837807655334, -0.014434031210839748, 0.04122712463140488, -0.06586495041847229, 0.019011616706848145, -0.005607133731245995, 0.055374875664711, -0.010368806309998035, 0.009088992141187191, -0.06092509254813194, -0.0009201780194416642, -0.0234255101531744, 0.022580035030841827, 0.01962021365761757, -0.030288446694612503, 0.04222135618329048, 0.040991637855768204, -0.0058623990043997765, 0.007319958880543709, -0.03413865342736244, 0.011672732420265675, 0.05203075334429741, -0.011432631872594357, -0.007041600067168474, 0.007704999763518572, 0.007571866735816002, -0.045630406588315964, -0.04857052490115166, 0.01859877072274685, -0.020192472264170647, -0.009784325025975704, 0.017757315188646317, 0.04780028760433197, 0.010103817097842693, 0.029939917847514153, 0.031353142112493515, 0.007157895714044571, 0.03355543315410614, -0.015377390198409557, 0.08055252581834793, -0.011478807777166367, -0.02476603351533413, 0.005851200316101313, -0.024098975583910942, -0.03564484417438507, 0.013958340510725975, 0.01742967963218689, -0.026764145120978355, -0.05210087448358536, 0.01915106177330017, 0.024767661467194557, 0.007159596309065819, 0.06242154911160469, -0.03984620049595833, -0.03374633938074112, -0.06402617692947388, 0.014509785920381546, 0.0036696901079267263, -0.009897347539663315, 0.015538391657173634, -0.028800085186958313, 0.009120335802435875, -0.050315216183662415, -0.013343332335352898, -0.0036438670940697193, 0.0010371303651481867, 0.010127370245754719, 0.026640351861715317, 0.03087763302028179, -0.07354409247636795, 0.0008670627721585333, 0.03239712864160538, -0.036762937903404236, 0.04603346437215805, 0.016072865575551987, 0.10892215371131897, -0.03373245149850845, -0.08288343995809555, 0.026214923709630966, 0.014072171412408352, -0.03988946974277496, 0.004240202717483044, -0.003747603390365839, -0.05325940251350403, -0.016926774755120277, 0.0011048102751374245, 0.029792143031954765, -0.06427619606256485, 0.018940765410661697, 0.053368713706731796, -0.008921907283365726, 0.016240457072854042, -0.05779445916414261, -0.022692633792757988, 0.002792380517348647, 0.011522248387336731, -0.01923969015479088, 0.05346086248755455, -0.023360222578048706, -0.03055231273174286, -0.04264635592699051, -0.0468570813536644, 0.014009797014296055, 0.08211682736873627, -0.042247626930475235, -0.030647413805127144, -0.06380429118871689, 0.024027185514569283, 0.06442050635814667, 0.050769273191690445, -0.03159666806459427, 0.05540371686220169, 0.03098450042307377, 0.035587821155786514, -0.04688406363129616, 0.052114635705947876, 0.022356370463967323, -0.020335232838988304, -0.036011382937431335, 0.04673462733626366, 0.014715689234435558, -0.03935185819864273, 0.03367656469345093, 0.035300303250551224, 0.02022695168852806, -0.02739204838871956, 0.0036421245895326138, 0.042787086218595505, -0.0019530474673956633, 0.0068765198811888695, -0.020923104137182236, 0.006679260637611151, -0.04488712176680565, 0.04106675460934639, -0.0042603821493685246, 0.013753791339695454, 0.003575511509552598, -0.04931722208857536, 0.00739093404263258, 0.010017418302595615, 0.03907028213143349, 0.058864109218120575, -0.010387913323938847, 0.08025278151035309, -0.020553670823574066, -0.0003941328905057162, -0.05683659017086029, -0.04391283541917801, 0.02651319094002247, 0.04061682149767876, 0.04193825647234917, 0.0526658333837986, -0.014360298402607441, -0.03326781839132309, 0.04189218953251839, 0.06493118405342102, 0.048910945653915405, 0.038940634578466415, -0.06546198576688766, -0.0040823062881827354, 0.039220817387104034, 0.020469285547733307, -0.018808653578162193, -0.020398389548063278, -0.0004100822261534631, 0.042808402329683304, -0.009219476021826267, -0.001983043272048235, -0.029447443783283234, 0.019523197785019875, -0.04386219382286072, -0.042528387159109116, 0.01692420057952404, 0.013276337645947933, 0.010743947699666023, 0.01634889841079712, -0.03362768888473511, -0.0020285407081246376, -0.006654515862464905, 0.011869463138282299, 0.021397780627012253, -0.057960450649261475, 0.020466437563300133, -0.0008477053488604724, 0.023128526285290718, -0.03796801716089249, 0.04235922545194626, -0.032662101089954376, -0.0045421915128827095, 0.021784992888569832, -0.009691700339317322, 0.020991003140807152, 0.0726722925901413, 0.048190727829933167, -0.052701059728860855, 0.007346231024712324, 0.04908381402492523, 0.007552220486104488, 0.050732072442770004, -0.006411610636860132, 0.05136910080909729, -0.005217785947024822, 0.0530480220913887, 0.08573290705680847, -0.002716623479500413, 0.009629806503653526, 0.03305632248520851, 0.0535682737827301, -0.014155336655676365, -0.021930312737822533, 0.06269936263561249, -0.02915303036570549, 0.01873411238193512, -0.04229927062988281, -0.013070926070213318, -0.03278256952762604, -0.013201618567109108, 0.04901132360100746, 0.032258614897727966, -0.029122870415449142, 0.011729820631444454, -0.010006175376474857, -0.01673128828406334, 0.038588907569646835, -0.01233899686485529, 0.00026652112137526274, -0.013051125220954418, -0.0070679509080946445, -0.00813340675085783, -0.037586357444524765, -0.04265076667070389, -0.022360943257808685, 0.014715210534632206, -0.04649542644619942, -0.08905798941850662, 0.0038971840403974056, -0.092596136033535, -0.02119138464331627, 0.05489254370331764, 0.0009154839208349586, -0.005227263551205397, -0.015796124935150146, -0.007312138099223375, -0.02256787195801735, -0.04586763307452202, -0.05557684600353241, -0.03386205807328224, -0.03938421234488487, -0.06303432583808899, 0.02516626939177513, 0.017002124339342117, 0.028609298169612885, 0.021415771916508675, 0.024607378989458084, -0.030335288494825363, -0.03911350294947624, 0.04629603773355484, 0.03505343198776245, -0.008560875430703163, -0.03794381022453308, 0.024757781997323036, -0.008652313612401485, -0.003353394567966461, 0.024094343185424805, -0.0613790899515152, 0.07293026894330978, 0.05277688056230545, 0.0586722157895565, 0.037622906267642975, -0.003863792633637786, -0.038848426192998886, -0.03927278518676758, -0.03837728127837181, -0.043186333030462265, -0.03521263599395752, -0.024815479293465614, -0.020300960168242455, -0.0047473846934735775, -0.06093559414148331, 0.019121889024972916, -0.010897877626121044, -0.02576911449432373, 0.05267483368515968, 0.015748988837003708, 0.026078054681420326, 0.04585467651486397, -0.020933937281370163, -0.05131552368402481, 0.11525754630565643, 0.016196051612496376, -0.012863907031714916, -0.08337028324604034, -0.020269246771931648, 0.02747628465294838, -0.0016854386776685715, 0.03844846785068512, -0.009817295707762241, 0.039842043071985245, 0.031125184148550034, -0.012183175422251225, 0.02699720486998558, -0.016502633690834045, -0.04297196865081787, 0.015177820809185505, -0.006285951007157564, -0.023337582126259804, -0.026539988815784454, -0.04125853255391121, -0.02177906222641468, 0.047217030078172684, -0.044900521636009216, -0.04746882990002632, 0.0116436081007123, 0.018278708681464195, 0.03491172939538956, 0.014039725996553898, -0.029092291370034218, 0.0047483923844993114, -0.10343942046165466, -0.021929649636149406, 0.02504880726337433, 0.012742238119244576, 0.0191306434571743, 0.041671354323625565, 0.03574582189321518, 0.006814443971961737, 0.03623032197356224, 0.03064550645649433, 0.03855240345001221, 0.031126094982028008, -0.05144347995519638, -0.0014177128905430436, -0.007018037140369415, 0.008875439874827862, -0.029722779989242554, 0.010243489407002926, -0.041203681379556656, -0.07442212849855423, -0.026349762454628944, 0.03631303086876869, -0.006118369288742542, -0.010790413245558739, 0.021594911813735962, -0.006017313804477453, -0.019563324749469757, 0.011211961507797241, 0.009263669140636921, 0.0469287633895874, -0.07422474026679993, 0.04712885618209839, -0.03651046380400658, 0.011161583475768566, -0.05718027055263519, 0.037786632776260376, -0.059617601335048676, -0.008265169337391853, 0.020358318462967873, 0.052477072924375534, 0.005545125808566809, 0.030456949025392532, 0.05535978823900223, 0.010561586357653141, -0.04817448928952217, 0.06017296016216278, 0.050013430416584015, -0.0326499380171299, -0.05375799164175987, 0.0041311015374958515, 0.002733509289100766, 0.0066071003675460815, 0.023652419447898865, -0.013630573637783527, 0.029775043949484825, 0.02649581991136074, 0.015502958558499813, -0.01545270998030901, -0.02300732210278511, -0.0025690423790365458, -0.01946292445063591, -0.055617328733205795, 0.0024319407530128956, 0.007893972098827362, -0.04191446304321289, -0.02685435675084591, 0.06965930014848709, 0.03675273433327675, 0.06964224576950073, 0.010225878097116947, -0.03752177953720093, -0.015838157385587692, 0.0119839608669281, 0.04230816662311554, -0.045525215566158295, -0.08008246123790741, -0.05182100832462311, 0.03339046984910965, 0.03957052528858185, -0.02645891346037388, -0.06974426656961441, 0.020778818055987358, 0.04750756174325943, -0.06967467814683914, 0.05086778476834297, 0.021986665204167366, 0.05605011433362961, 0.05096897855401039, -0.028728025034070015, 0.0415235236287117, -0.04043683782219887, 0.005908958613872528, 0.015127968043088913, 0.05814541131258011, -0.015375339426100254, -0.010398613288998604, -0.03987441956996918, 0.04191671684384346, 0.02542690560221672, 0.030003013089299202, 0.028509672731161118, -0.04684671014547348, -0.06833694130182266, -0.009835044853389263, 0.03044634312391281, -0.022799177095294, 0.019291309639811516, 0.03705747798085213, 0.04613910987973213, -0.060997724533081055, -0.0441349595785141, 0.009407490491867065, -0.015494711697101593, 0.03642699867486954, -0.004503299482166767, -0.03411457687616348, -0.04620266705751419, 0.03321758657693863, 0.021070079877972603, -0.022638443857431412, -0.06789761036634445, 0.04436225816607475, 0.0030298586934804916, -0.026237769052386284, 0.05150485038757324, 0.036350004374980927, 0.022709956392645836, 0.058478716760873795, -0.009323064237833023, 0.0276328157633543, -0.026923129335045815, 0.0398096889257431, -0.04594261199235916, -0.02279643341898918, -0.0018725417321547866, -0.043993573635816574, -0.007321791257709265, -0.011503895744681358, -0.059556182473897934, -0.030162816867232323, -0.03330333158373833, 0.01451845746487379, -0.006331205368041992, -0.02125801332294941, -0.02409401908516884, 0.07463011890649796, -0.0185068529099226, -0.03000733256340027, -0.03312990814447403, -0.0218045674264431, -0.056996703147888184, -0.04757854714989662, 0.005794725846499205, -0.00594464223831892, 0.010502361692488194, 0.0172305665910244, 0.029404858127236366, 0.020815473049879074, -0.019004274159669876, -0.038772255182266235, 0.050763022154569626, -0.003931908402591944, -0.012954724952578545, -0.05798018351197243, 0.029221272096037865, -0.018385186791419983, 0.026573877781629562, -0.04148686304688454, 0.05626566335558891, 0.033476345241069794, -0.03055475652217865, -0.02466774918138981, 0.030361169949173927, 0.007640630938112736, -0.04559076204895973, -0.027707939967513084, -0.012694524601101875, -0.024646110832691193, 0.034492455422878265, -0.028674988076090813, 0.015814075246453285, -0.002701932331547141, 0.014086553826928139, 0.01138934027403593, -0.037812888622283936, 0.0014149817870929837, 0.01476625632494688, -0.00909643154591322, 0.019060637801885605, -0.04292849823832512, 0.03973964974284172, -0.021720735356211662, 0.002008596435189247, -0.014173522591590881, 0.014499497599899769, -0.03830047324299812, 0.01661185547709465, -0.0010350930970162153, -0.051611773669719696, -0.03431397303938866, 0.015221154317259789, -0.0323224812746048, 0.04615528881549835, 0.006025256589055061, 0.02316622994840145, -0.012105046771466732, 0.039855584502220154, -0.04487995803356171, -0.00868027750402689, -0.024134190753102303, 0.01672183908522129, -0.021637823432683945, 0.01792014017701149, 0.012472255155444145, -0.03091556951403618, 0.045799605548381805, 0.04672196879982948, 0.00832050945609808, 0.00021037521946709603, 0.0040664891712367535, 0.013632304035127163, 0.007161180023103952, -0.059833407402038574, -0.02834460139274597, 0.016104793176054955, 0.02188892848789692, -0.025726601481437683, 0.03428002819418907, 0.03315100446343422, -0.05347570404410362, -0.06107579544186592, 0.046279069036245346, -0.0063627478666603565, -0.001273151719942689, -0.037346355617046356, 0.05290260910987854, 0.021298766136169434, 0.031002717092633247, -0.05361472815275192, 0.018874382600188255, -0.028111914172768593, -0.03764251619577408, 0.026713913306593895, 0.00272654602304101, 0.035224322229623795, 0.0012929514050483704, -0.03652939945459366, -0.014006584882736206, 0.10409065335988998, 0.015971945598721504, -0.002046133391559124, -0.03754361346364021, -0.021291006356477737, 0.05013032257556915, 0.012003901414573193, -0.05451219156384468, 0.03453570604324341, 0.0014028254663571715, -0.007697901222854853, 0.0772782415151596, -0.020474817603826523, 0.013051058165729046, 0.04050876200199127, 0.020372586324810982, -0.010156344622373581, 0.041737791150808334, -0.0382889099419117, 0.029772162437438965, 0.048208314925432205, -0.05719867721199989, -0.010918042622506618, -0.03291957452893257, 0.05057886615395546, -0.04049324244260788, 0.04622834920883179, 0.06351061910390854, -0.005196773912757635, 0.020525021478533745, -0.002419730182737112, -0.024936262518167496, 0.010501820594072342, -0.05381607264280319, 0.09450726211071014, -0.0017858543433248997, -0.06389927119016647, 0.049690231680870056, 0.013928658328950405, -0.06368552893400192, 0.03179914131760597, 0.028897179290652275, 0.01960746943950653, 0.04766170307993889, 0.04157114401459694, -0.05247227102518082, 0.012510656379163265, -0.018519148230552673, 0.03726387768983841, -0.02340107038617134, -0.018990565091371536, 0.012790130451321602, -0.022356491535902023, -0.006850344128906727, 0.0351363867521286, -0.023650722578167915, -0.008219987154006958, 0.02284943498671055, -0.03545130789279938, -0.04779509827494621, 0.017527148127555847, 0.034039098769426346, -0.000778740388341248, -0.022517764940857887, -0.03274780511856079, 0.018978526815772057, -0.014502840116620064, -0.016022704541683197, -0.04172811657190323, -0.019872795790433884, 0.032360609620809555, -0.08323922008275986, -0.021156353875994682, 0.0391300730407238, 0.00844428688287735, -0.016086118295788765, 0.030205419287085533, 0.019280588254332542, 0.047973331063985825, 0.036575477570295334, -0.029171355068683624, 0.006715414579957724, -0.05764546990394592, 0.0021435869857668877, 0.0460500530898571, -0.020328480750322342, 0.022031301632523537, 0.005819049663841724, 0.03256736323237419, 0.02826509065926075, 0.02017245627939701, -0.024756330996751785, -0.04622609540820122, -0.019856516271829605, 0.01349613443017006, -0.04494236037135124, 0.012021697126328945, -0.005188456270843744, -0.04454319551587105, -0.0450684018433094, -0.02037343755364418, -0.040774863213300705, 0.021924424916505814, -0.07339087128639221, 0.018184849992394447, 0.04763002693653107, -0.005200434010475874, -0.05879156291484833, -0.0836401879787445, -0.04142945632338524, -0.03372712805867195, 0.004822344519197941, 0.045345790684223175, -0.04385257512331009, 0.02002331241965294, -0.0402783565223217, -0.06010305881500244, 0.03600433096289635, 0.0025146438274532557, -0.03412375599145889, 0.057991232722997665, 0.03396497294306755, -0.06992559134960175, 0.021553682163357735, 0.04313894361257553, -0.01991897262632847, 0.03269869089126587, 0.004297363571822643, -0.017377404496073723, 0.02426597662270069, 0.02856343984603882, -0.07461439073085785, -0.03554368019104004, -0.04780314490199089, -0.051518965512514114, -0.03335869684815407, -0.005896667018532753, 0.04770534858107567 ]
BigSalmon/Rowerta
[ "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 } } }
4
null
# Personal speech to text model s2t models often do not understand my accent, so I fine tuned this one from "facebook/wav2vec2-large-robust-ft-swbd-300h" using about 1000 recordings of my voice. Do not download unless you have exactly my accent.
[ -0.04333975166082382, -0.001690245931968093, -0.019237376749515533, 0.031200837343931198, 0.0344444178044796, 0.04711740463972092, -0.009489587508141994, 0.006985428277403116, -0.03576565533876419, 0.03785966709256172, 0.060396648943424225, -0.022632542997598648, 0.02333805523812771, 0.028078366070985794, -0.021662913262844086, -0.035258736461400986, -0.01273486390709877, -0.0010840011527761817, -0.01871524564921856, -0.04378354176878929, 0.024167977273464203, 0.04221554100513458, 0.0005084010190330446, 0.04195113480091095, 0.010095168836414814, 0.004973786883056164, -0.011900506913661957, 0.005338974762707949, -0.0006681080558337271, -0.06746084243059158, 0.014473273418843746, -0.04727816581726074, -0.028730085119605064, -0.041776493191719055, -0.03256779536604881, 0.00027606525691226125, -0.01112793106585741, 0.010678696446120739, 0.052284032106399536, -0.0021591465920209885, -0.02718106098473072, -0.01538906805217266, -0.003808063454926014, -0.03391007333993912, 0.01892828196287155, -0.014006685465574265, -0.04577172175049782, -0.03737790137529373, 0.020845618098974228, -0.006517360918223858, -0.023450307548046112, -0.05389847233891487, -0.005114975851029158, -0.021512502804398537, -0.002915396122261882, -0.03114812821149826, -0.02639760822057724, -0.020729171112179756, 0.08572313189506531, -0.03687527775764465, -0.02426527813076973, 0.023343132808804512, -0.04896406829357147, 0.006949090864509344, 0.0577886663377285, -0.07520867139101028, 0.02293468825519085, -0.060711149126291275, 0.03419334813952446, -0.030173514038324356, 0.02436210587620735, -0.03833189606666565, 0.023046499118208885, -0.08782797306776047, -0.001989502925425768, -0.0034713896457105875, 0.03375301510095596, 0.05506150797009468, -0.058442384004592896, 0.0712452307343483, 0.023229258134961128, 0.008862330578267574, 0.018096676096320152, -0.00929152499884367, -0.007190753240138292, 0.05056113004684448, -0.035343192517757416, 0.0014033988118171692, 0.01898948661983013, 0.03256858140230179, -0.04607269912958145, -0.06397651880979538, -0.034893833100795746, -0.06153523549437523, -0.008695636875927448, 0.045910682529211044, 0.03321618214249611, -0.03869348764419556, 0.03877178207039833, 0.04762587323784828, 0.031883955001831055, 0.04620150476694107, -0.0411563515663147, 0.049085311591625214, 0.000027736932679545134, 0.01869850419461727, 0.004861046560108662, -0.0389583557844162, -0.033468056470155716, 0.035497456789016724, 0.023187125101685524, -0.03107069991528988, -0.005530681926757097, 0.02935539186000824, 0.008929034695029259, -0.011720805428922176, 0.032446183264255524, -0.05774849280714989, -0.03757032752037048, -0.046833377331495285, 0.04834865406155586, 0.037788085639476776, -0.0008107780595310032, -0.004813024774193764, -0.06057238578796387, 0.058569058775901794, -0.02362966537475586, -0.04396190121769905, -0.014960294589400291, 0.01667790487408638, 0.0018184217624366283, 0.039362166076898575, 0.020532142370939255, -0.05234643816947937, -0.006965541746467352, 0.02483675442636013, -0.05819203332066536, -0.010729667730629444, 0.03282494097948074, 0.11621924489736557, -0.05331050604581833, -0.04972553625702858, -0.003693177131935954, -0.01498266402631998, -0.021889645606279373, 0.012138358317315578, 0.03739669919013977, -0.030493782833218575, -0.030668744817376137, -0.008604755625128746, 0.03422487527132034, -0.060533054172992706, 0.0071582128293812275, 0.06390934437513351, -0.011601465754210949, 0.03730699419975281, -0.038090165704488754, -0.00959165208041668, 0.005759344436228275, 0.003249197732657194, -0.02159859426319599, 0.05773765593767166, -0.008097237907350063, -0.027597669512033463, -0.04682934284210205, -0.05247090756893158, -0.0032143788412213326, 0.07059741765260696, 0.004563829395920038, -0.009716127067804337, -0.03256116807460785, 0.01637697033584118, 0.033840179443359375, 0.027322452515363693, -0.03862472623586655, 0.007702724076807499, 0.04822898656129837, 0.02202988788485527, -0.024138247594237328, 0.08813367038965225, -0.010232929140329361, -0.04221830144524574, -0.05431535094976425, 0.01933516375720501, 0.006316740065813065, -0.041894540190696716, 0.004138934891670942, 0.0659041702747345, -0.011080247350037098, -0.03159423917531967, -0.024775845929980278, 0.04488722234964371, -0.03300947695970535, -0.03722314536571503, 0.011868168599903584, -0.02503630705177784, -0.04060175642371178, 0.035301145166158676, -0.02952219732105732, 0.010069060139358044, -0.04830595478415489, -0.029904671013355255, -0.023630425333976746, -0.00023839597997721285, 0.016254503279924393, 0.043885983526706696, -0.028274832293391228, 0.08763871341943741, -0.0280444473028183, 0.006192231085151434, -0.0443839468061924, -0.05661868676543236, -0.023866072297096252, 0.07327479869127274, 0.04637763276696205, 0.04465487599372864, -0.004084740299731493, -0.03177821636199951, 0.03220318630337715, 0.09308755397796631, 0.08367732167243958, 0.03414556011557579, -0.053063638508319855, -0.014780842699110508, 0.03171376511454582, 0.06037137284874916, -0.06043053790926933, -0.03692895546555519, 0.011497579514980316, 0.05069350078701973, -0.013408686965703964, -0.004195798188447952, -0.03567620366811752, 0.049197785556316376, -0.036420226097106934, -0.07868195325136185, 0.05584568902850151, 0.028870917856693268, 0.009752726182341576, 0.045567549765110016, -0.011966297402977943, 0.0012550832470878959, 0.028800558298826218, 0.0010844457428902388, 0.01619199849665165, -0.02739349566400051, 0.004826497286558151, -0.0032088516745716333, 0.05443696677684784, -0.060206469148397446, 0.023338954895734787, 0.0003756203514058143, -0.019590049982070923, 0.0286174975335598, -0.027646169066429138, 0.0529463104903698, 0.05129781737923622, 0.030685273930430412, -0.03624880686402321, 0.02908363565802574, -0.010558286681771278, 0.06931186467409134, 0.056072600185871124, 0.004635265562683344, 0.07872793823480606, 0.0034653597977012396, 0.05286411941051483, 0.048478566110134125, 0.036978259682655334, -0.010312085971236229, 0.013261892832815647, 0.04730451479554176, -0.031728629022836685, -0.013912715949118137, 0.06248209625482559, -0.05007114261388779, 0.024428503587841988, -0.04515602067112923, 0.004064891487360001, -0.02398636005818844, -0.02792678214609623, 0.03084968775510788, -0.008155819028615952, 0.0002583754830993712, 0.027942391112446785, -0.019495340064167976, -0.020404618233442307, 0.039559658616781235, -0.0005681088077835739, 0.0032242892775684595, -0.017332175746560097, -0.014093308709561825, -0.004636937286704779, -0.09926525503396988, -0.03776099532842636, -0.0036673168651759624, -0.028816871345043182, 0.034604769200086594, -0.0795915275812149, -0.027838747948408127, -0.058714333921670914, 0.0026687809731811285, 0.029678212478756905, 0.03641248494386673, 0.05021955445408821, -0.013580569997429848, 0.014393108896911144, -0.059538137167692184, -0.03432439640164375, -0.05513310804963112, -0.02506532520055771, -0.010063917376101017, -0.06544213742017746, 0.027196738868951797, 0.036179885268211365, 0.03316018730401993, 0.023301275447010994, -0.004139118827879429, -0.04793686419725418, -0.04575176164507866, 0.03854651749134064, 0.040281277149915695, -0.05014300346374512, -0.048875290900468826, 0.012074906378984451, 0.0008644551271572709, 0.01003163680434227, -0.01913231797516346, -0.039658017456531525, 0.06311218440532684, 0.059618253260850906, 0.013862857595086098, 0.03035569004714489, -0.028904007747769356, -0.06889405846595764, -0.04185856133699417, -0.02350948564708233, -0.02850186638534069, -0.03723857179284096, -0.04611986503005028, -0.03034193255007267, -0.03309048339724541, -0.04428781569004059, -0.011392471380531788, -0.001380543108098209, -0.010986565612256527, 0.05394577980041504, 0.021655233576893806, -0.00414562551304698, 0.01112742256373167, -0.03848838806152344, -0.026266979053616524, 0.04058447107672691, -0.011196085251867771, -0.02599867805838585, -0.09410837292671204, -0.0464174747467041, 0.004952284507453442, 0.029684891924262047, -0.012586486525833607, -0.004692439455538988, 0.08552541583776474, 0.02803569845855236, 0.0004896760219708085, 0.015871349722146988, -0.02571369707584381, -0.0024026434402912855, -0.02077271230518818, -0.01465511042624712, -0.01856948807835579, -0.05706029757857323, -0.012246151454746723, 0.0025344118475914, 0.06153510510921478, -0.07905741780996323, -0.035357847809791565, -0.005414432846009731, 0.037132225930690765, 0.04316539689898491, -0.024764975532889366, -0.03534184396266937, -0.004663643427193165, -0.04077046737074852, -0.011814462952315807, -0.016183126717805862, -0.012762383557856083, 0.028231382369995117, 0.06644321978092194, 0.014488322660326958, -0.03515392169356346, 0.03457077965140343, 0.021208470687270164, 0.05673343315720558, 0.014676901511847973, -0.028310084715485573, 0.029498642310500145, -0.0412483885884285, 0.01124175451695919, 0.00324920448474586, -0.02010463923215866, -0.055421844124794006, -0.07193826138973236, -0.007715113926678896, -0.007744499482214451, -0.025125298649072647, -0.008507000282406807, 0.04475397989153862, -0.007776749320328236, -0.015108992345631123, -0.022310223430395126, 0.026531927287578583, 0.050203606486320496, -0.011825120076537132, 0.05002056434750557, 0.01930372789502144, 0.05642590671777725, -0.06366406381130219, 0.02201225608587265, -0.03998230770230293, -0.015226243995130062, 0.0018314074259251356, 0.07721176743507385, 0.016479406505823135, 0.04991408437490463, 0.06336306780576706, -0.001757964724674821, -0.02105560153722763, 0.04112822934985161, 0.051285795867443085, -0.02575981244444847, -0.04694010317325592, 0.014505960047245026, 0.007907634600996971, -0.04966488108038902, -0.022142847999930382, -0.00518219405785203, 0.055690668523311615, 0.041549090296030045, -0.04248281568288803, -0.001374207902699709, 0.01984345354139805, -0.007221377920359373, 0.00011153143714182079, -0.060273125767707825, -0.045060984790325165, 0.004456918686628342, -0.00941400695592165, 0.02772580459713936, 0.04072796180844307, -0.012457246892154217, 0.06038596108555794, 0.04059387743473053, -0.02738395519554615, -0.04447352513670921, 0.0464135967195034, 0.01301887072622776, -0.03877827152609825, -0.03015035390853882, -0.035789504647254944, 0.04232029244303703, 0.01948293298482895, -0.003881158074364066, -0.059608250856399536, -0.012830640189349651, 0.06234190613031387, -0.017829103395342827, 0.056850869208574295, -0.028342846781015396, 0.030923621729016304, 0.08036214858293533, -0.009622550569474697, 0.020835276693105698, -0.003276983043178916, 0.0055605582892894745, 0.0055327704176306725, 0.013699682429432869, -0.014101612381637096, -0.041802480816841125, -0.0661487951874733, 0.002184341661632061, 0.01152073871344328, 0.01203929167240858, 0.05142976716160774, -0.023291995748877525, -0.02946854569017887, -0.012196131981909275, 0.02064347453415394, -0.04099122807383537, 0.040944959968328476, 0.03784622997045517, 0.02093886025249958, -0.0600595697760582, 0.008568068034946918, 0.0010605290299281478, 0.0034733773209154606, 0.024725019931793213, -0.005382298491895199, -0.04509735852479935, -0.038299739360809326, -0.021565958857536316, -0.009833823889493942, -0.028657909482717514, -0.05631229653954506, -0.00029642361914739013, -0.0018316920613870025, -0.03159046545624733, 0.043423641473054886, 0.017667600885033607, 0.03233785182237625, 0.030971117317676544, 0.017655031755566597, 0.0029490080196410418, -0.039475951343774796, 0.053407538682222366, -0.008967977948486805, -0.04416776821017265, -0.0158678088337183, -0.02072957344353199, -0.033725716173648834, -0.029939161613583565, -0.04096507653594017, -0.04789051413536072, -0.014103449881076813, 0.033882949501276016, -0.021775957196950912, -0.01191295962780714, -0.016370750963687897, 0.031550634652376175, 0.007976595312356949, -0.03784426674246788, -0.03713299334049225, -0.03171991929411888, -0.06987284123897552, -0.036849331110715866, 0.03203335031867027, -0.021078679710626602, 0.014276313595473766, -0.008154184557497501, 0.030622942373156548, 0.02178006060421467, -0.002828696509823203, -0.011539078317582607, 0.03538379818201065, -0.013025231659412384, -0.059541624039411545, -0.01927454210817814, 0.010531381703913212, 0.0313490629196167, 0.04245524853467941, -0.02183234505355358, 0.05759565904736519, 0.010038096457719803, -0.04617135599255562, -0.003538179909810424, 0.016385290771722794, 0.02680550515651703, -0.06544158607721329, -0.02699233405292034, -0.017239226028323174, -0.02801375463604927, 0.018888531252741814, -0.030572228133678436, -0.005997687578201294, 0.04050431400537491, 0.04903581365942955, 0.059534359723329544, 0.023984722793102264, -0.0234404094517231, 0.042089302092790604, -0.006476160138845444, 0.01027868315577507, -0.027837375178933144, 0.06849607080221176, -0.040175072848796844, 0.041358400136232376, 0.01724976859986782, 0.03306674584746361, -0.030497252941131592, 0.037123821675777435, -0.036417536437511444, 0.0067497133277356625, -0.023519005626440048, 0.026301473379135132, 0.007348198909312487, 0.030510805547237396, -0.01896682381629944, -0.0032861160580068827, -0.0524413138628006, 0.03782332316040993, 0.003715220373123884, -0.004474345128983259, -0.029325224459171295, -0.0032956621143966913, -0.02805056981742382, -0.048538338392972946, -0.005760787986218929, -0.04298296943306923, 0.052135538309812546, 0.0297282412648201, 0.035342227667570114, 0.023311492055654526, -0.030459485948085785, -0.006106804125010967, 0.012538659386336803, -0.048140715807676315, 0.0014932079939171672, -0.010362720116972923, 0.0618625208735466, 0.02411433681845665, 0.05866502225399017, 0.0261115450412035, -0.06237614527344704, -0.04790144041180611, 0.03388073295354843, 0.040467336773872375, 0.003235933603718877, 0.022473840042948723, 0.02905004657804966, 0.03943386673927307, 0.03981601446866989, -0.014895155094563961, 0.010535746812820435, -0.04896238073706627, -0.019068598747253418, 0.0017737357411533594, 0.0011388323036953807, 0.008914979174733162, 0.015472019091248512, -0.05064500868320465, -0.03670783340930939, 0.048078376799821854, 0.021319521591067314, 0.016372092068195343, 0.016931526362895966, -0.055157292634248734, 0.036441460251808167, -0.031128011643886566, -0.03165416419506073, -0.005307274870574474, 0.04121994599699974, -0.020779665559530258, 0.07196254283189774, -0.007950395345687866, 0.014492749236524105, 0.03382298722863197, 0.008768761530518532, -0.01635187491774559, 0.018866119906306267, -0.010774152353405952, 0.015982653945684433, 0.03929254412651062, -0.06866446882486343, -0.016417933627963066, -0.042969733476638794, 0.056369151920080185, -0.03667718172073364, 0.02751653641462326, 0.05486942455172539, 0.03689953312277794, 0.03177853301167488, -0.048787374049425125, -0.02523628994822502, 0.025203971192240715, -0.04241541028022766, 0.057542525231838226, 0.006577746011316776, -0.049332570284605026, 0.049085672944784164, 0.012082605622708797, -0.09716437757015228, 0.024830516427755356, 0.020860958844423294, 0.032571859657764435, 0.017119353637099266, 0.05202731117606163, -0.03687267377972603, 0.021720657125115395, -0.03760909289121628, -0.0059572914615273476, -0.05023752525448799, -0.004660469479858875, 0.02238771691918373, -0.02848704345524311, -0.019100066274404526, 0.014306621626019478, -0.01934327743947506, -0.009059158153831959, 0.03794670104980469, -0.054884616285562515, -0.029904253780841827, -0.0050840615294873714, 0.01725848577916622, -0.04162387549877167, -0.03363201022148132, -0.03592240810394287, -0.012831015512347221, 0.010178986005485058, 0.008861716836690903, 0.016093622893095016, 0.001330803381279111, 0.01089466828852892, -0.0545886754989624, -0.04241548106074333, 0.04093756154179573, 0.02406182512640953, -0.01350079383701086, 0.04377765953540802, 0.007820735685527325, 0.021882008761167526, 0.03715287521481514, 0.018507549539208412, 0.03594557195901871, -0.060576606541872025, -0.030394837260246277, 0.0061035132966935635, 0.021426869556307793, 0.026851458474993706, -0.004246576223522425, 0.02432018704712391, 0.059161871671676636, -0.0013433912536129355, 0.014782052487134933, -0.03185014799237251, -0.021478675305843353, 0.03191448748111725, -0.029238009825348854, 0.026803279295563698, -0.014531232416629791, -0.051301468163728714, -0.02082894928753376, 0.0006209441926330328, -0.010476107709109783, 0.031535472720861435, -0.061796944588422775, 0.017301151528954506, 0.01396332960575819, -0.0247030109167099, -0.034799933433532715, -0.07402480393648148, -0.046762071549892426, -0.03540447726845741, 0.041078776121139526, 0.04179888591170311, -0.048740264028310776, 0.016146766021847725, -0.04978558048605919, -0.05599058046936989, 0.015214034356176853, 0.012948829680681229, -0.06006632000207901, 0.060905821621418, 0.0501115508377552, -0.052028317004442215, -0.002968638436868787, 0.04972303658723831, -0.025851529091596603, 0.045366283506155014, 0.017677927389740944, 0.021524742245674133, 0.0028184019029140472, 0.03202347829937935, -0.05169300734996796, -0.011043128557503223, -0.06771279871463776, -0.051886800676584244, -0.04892939329147339, 0.010233601555228233, 0.05668623745441437 ]
BigSalmon/T5Salmon
[ "pytorch", "jax", "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: " } } }
6
null
--- language: scientific english --- # SciBERT finetuned on JNLPA for NER downstream task ## Language Model [SciBERT](https://arxiv.org/pdf/1903.10676.pdf) is a pretrained language model based on BERT and trained by the [Allen Institute for AI](https://allenai.org/) on papers from the corpus of [Semantic Scholar](https://www.semanticscholar.org/). Corpus size is 1.14M papers, 3.1B tokens. SciBERT has its own vocabulary (scivocab) that's built to best match the training corpus. ## Downstream task [`allenai/scibert_scivocab_cased`](https://huggingface.co/allenai/scibert_scivocab_cased#) has been finetuned for Named Entity Recognition (NER) dowstream task. The code to train the NER can be found [here](https://github.com/fran-martinez/bio_ner_bert). ### Data The corpus used to fine-tune the NER is [BioNLP / JNLPBA shared task](http://www.geniaproject.org/shared-tasks/bionlp-jnlpba-shared-task-2004). - Training data consist of 2,000 PubMed abstracts with term/word annotation. This corresponds to 18,546 samples (senteces). - Evaluation data consist of 404 PubMed abstracts with term/word annotation. This corresponds to 3,856 samples (sentences). The classes (at word level) and its distribution (number of examples for each class) for training and evaluation datasets are shown below: | Class Label | # training examples| # evaluation examples| |:--------------|--------------:|----------------:| |O | 382,963 | 81,647 | |B-protein | 30,269 | 5,067 | |I-protein | 24,848 | 4,774 | |B-cell_type | 6,718 | 1,921 | |I-cell_type | 8,748 | 2,991 | |B-DNA | 9,533 | 1,056 | |I-DNA | 15,774 | 1,789 | |B-cell_line | 3,830 | 500 | |I-cell_line | 7,387 | 9,89 | |B-RNA | 951 | 118 | |I-RNA | 1,530 | 187 | ### Model An exhaustive hyperparameter search was done. The hyperparameters that provided the best results are: - Max length sequence: 128 - Number of epochs: 6 - Batch size: 32 - Dropout: 0.3 - Optimizer: Adam The used learning rate was 5e-5 with a decreasing linear schedule. A warmup was used at the beggining of the training with a ratio of steps equal to 0.1 from the total training steps. The model from the epoch with the best F1-score was selected, in this case, the model from epoch 5. ### Evaluation The following table shows the evaluation metrics calculated at span/entity level: | | precision| recall| f1-score| |:---------|-----------:|---------:|---------:| cell_line | 0.5205 | 0.7100 | 0.6007 | cell_type | 0.7736 | 0.7422 | 0.7576 | protein | 0.6953 | 0.8459 | 0.7633 | DNA | 0.6997 | 0.7894 | 0.7419 | RNA | 0.6985 | 0.8051 | 0.7480 | | | | | **micro avg** | 0.6984 | 0.8076 | 0.7490| **macro avg** | 0.7032 | 0.8076 | 0.7498 | The macro F1-score is equal to 0.7498, compared to the value provided by the Allen Institute for AI in their [paper](https://arxiv.org/pdf/1903.10676.pdf), which is equal to 0.7728. This drop in performance could be due to several reasons, but one hypothesis could be the fact that the authors used an additional conditional random field, while this model uses a regular classification layer with softmax activation on top of SciBERT model. At word level, this model achieves a precision of 0.7742, a recall of 0.8536 and a F1-score of 0.8093. ### Model usage in inference Use the pipeline: ````python from transformers import pipeline text = "Mouse thymus was used as a source of glucocorticoid receptor from normal CS lymphocytes." nlp_ner = pipeline("ner", model='fran-martinez/scibert_scivocab_cased_ner_jnlpba', tokenizer='fran-martinez/scibert_scivocab_cased_ner_jnlpba') nlp_ner(text) """ Output: --------------------------- [ {'word': 'glucocorticoid', 'score': 0.9894881248474121, 'entity': 'B-protein'}, {'word': 'receptor', 'score': 0.989505410194397, 'entity': 'I-protein'}, {'word': 'normal', 'score': 0.7680378556251526, 'entity': 'B-cell_type'}, {'word': 'cs', 'score': 0.5176806449890137, 'entity': 'I-cell_type'}, {'word': 'lymphocytes', 'score': 0.9898491501808167, 'entity': 'I-cell_type'} ] """ ```` Or load model and tokenizer as follows: ````python import torch from transformers import AutoTokenizer, AutoModelForTokenClassification # Example text = "Mouse thymus was used as a source of glucocorticoid receptor from normal CS lymphocytes." # Load model tokenizer = AutoTokenizer.from_pretrained("fran-martinez/scibert_scivocab_cased_ner_jnlpba") model = AutoModelForTokenClassification.from_pretrained("fran-martinez/scibert_scivocab_cased_ner_jnlpba") # Get input for BERT input_ids = torch.tensor(tokenizer.encode(text)).unsqueeze(0) # Predict with torch.no_grad(): outputs = model(input_ids) # From the output let's take the first element of the tuple. # Then, let's get rid of [CLS] and [SEP] tokens (first and last) predictions = outputs[0].argmax(axis=-1)[0][1:-1] # Map label class indexes to string labels. for token, pred in zip(tokenizer.tokenize(text), predictions): print(token, '->', model.config.id2label[pred.numpy().item()]) """ Output: --------------------------- mouse -> O thymus -> O was -> O used -> O as -> O a -> O source -> O of -> O glucocorticoid -> B-protein receptor -> I-protein from -> O normal -> B-cell_type cs -> I-cell_type lymphocytes -> I-cell_type . -> O """ ````
[ -0.010000552982091904, -0.01316682156175375, -0.00971736665815115, 0.05683032423257828, 0.044552937150001526, 0.03316488489508629, -0.00441074138507247, -0.03558072820305824, -0.04735088720917702, 0.040300726890563965, 0.017101697623729706, -0.0008525944431312382, -0.0013748869532719254, 0.04558468982577324, -0.0289715938270092, -0.02716856636106968, -0.01924414560198784, -0.028009383007884026, -0.027357207611203194, 0.002175076398998499, 0.00837250892072916, 0.01780477538704872, -0.016701869666576385, 0.020886683836579323, 0.010588344186544418, 0.012179158627986908, -0.010497181676328182, 0.04189693555235863, 0.023509573191404343, -0.023995229974389076, 0.005377224180847406, -0.01838560402393341, -0.03578434884548187, 0.0055549913085997105, -0.005737004801630974, 0.000292328157229349, -0.008665190078318119, -0.026699256151914597, 0.02591727487742901, 0.03797782212495804, -0.013806624338030815, 0.00788879208266735, 0.020743073895573616, -0.034487299621105194, 0.03916296735405922, -0.0010066123213618994, -0.04211409389972687, -0.04334774613380432, 0.027032919228076935, -0.05932869389653206, -0.06948590278625488, -0.09011414647102356, -0.033787693828344345, 0.02351120486855507, -0.02539363130927086, -0.026250483468174934, -0.07027638703584671, -0.03219522163271904, 0.0644189789891243, -0.05224926024675369, -0.04116130247712135, 0.02291187457740307, -0.07295788824558258, 0.016281556338071823, 0.024233652278780937, -0.015278070233762264, -0.0005011900793761015, -0.04366901516914368, 0.01878667064011097, -0.02329825982451439, 0.04263031855225563, -0.025120778009295464, 0.02054138109087944, -0.08801254630088806, -0.019303131848573685, -0.013395912013947964, 0.048431165516376495, 0.03349027410149574, -0.04034293070435524, 0.03961491584777832, 0.009247570298612118, 0.0011241595493629575, 0.04308784753084183, 0.009975445456802845, 0.0014723071362823248, 0.041654426604509354, -0.039348285645246506, -0.004407748579978943, 0.007138049229979515, 0.051531340926885605, -0.04190058261156082, -0.006284001283347607, -0.030448198318481445, -0.037914521992206573, -0.03277026489377022, 0.029879629611968994, 0.021409031003713608, -0.0003306611906737089, 0.0036702074576169252, 0.013497653417289257, 0.03904638811945915, 0.04960267245769501, -0.012736902572214603, 0.06204228848218918, 0.003783239284530282, 0.011213921941816807, -0.028976693749427795, -0.03700227662920952, -0.05800855904817581, 0.04594799876213074, 0.029347030445933342, -0.025014728307724, -0.05331002175807953, 0.04069478437304497, -0.0028539288323372602, -0.04662760719656944, 0.0563199482858181, -0.005790384486317635, -0.022863300517201424, -0.03094419091939926, 0.030102021992206573, 0.010163186118006706, 0.0230097733438015, 0.011498017236590385, -0.041149865835905075, 0.017985161393880844, -0.04840901121497154, -0.020259559154510498, -0.007697314955294132, 0.011874190531671047, 0.009899860247969627, 0.05310617759823799, 0.04091713950037956, -0.061156563460826874, 0.017682742327451706, -0.00038634520024061203, -0.06977146118879318, 0.05753966420888901, 0.053749971091747284, 0.11604075878858566, -0.06099792197346687, -0.04254405200481415, 0.03181838244199753, 0.024741515517234802, 0.00011084206198574975, 0.018814433366060257, 0.008181067183613777, -0.02409532479941845, -0.04151434451341629, -0.012064792215824127, 0.06216789782047272, -0.05357413738965988, 0.002284511225298047, 0.03544982522726059, -0.004842190071940422, 0.05694855749607086, -0.044811323285102844, 0.00045494810910895467, -0.01833672635257244, 0.0051701245829463005, -0.026757264509797096, 0.0332331657409668, -0.016459185630083084, 0.002164328470826149, -0.0367966964840889, -0.04402662813663483, -0.014632000587880611, 0.08754613250494003, 0.010959813371300697, -0.024847224354743958, -0.051573868840932846, -0.008877499960362911, 0.07571431249380112, 0.03728325292468071, -0.023168887943029404, 0.018286388367414474, 0.0667676329612732, 0.05319325253367424, -0.022009331732988358, 0.03816930204629898, -0.0006988404784351587, -0.034174785017967224, -0.01411520130932331, 0.021590324118733406, 0.007199762389063835, -0.012880741618573666, 0.012695803306996822, 0.04831969738006592, -0.002092956332489848, -0.03200153633952141, -0.04338042810559273, 0.06911613792181015, -0.0016452288255095482, 0.005388919729739428, 0.0023343325592577457, 0.001864591264165938, -0.020261025056242943, 0.05151074752211571, -0.025146331638097763, 0.02491319738328457, -0.01729203760623932, -0.0288113784044981, 0.029585283249616623, 0.013137866742908955, 0.022658849135041237, 0.013211404904723167, 0.004271362908184528, 0.05718977376818657, -0.021473826840519905, 0.007307469379156828, -0.035617947578430176, -0.02345447801053524, -0.009322315454483032, 0.03586852550506592, 0.035346899181604385, 0.047401312738657, -0.0050672926008701324, -0.02279042638838291, 0.026460809633135796, 0.04083607345819473, 0.03433644026517868, 0.03050869144499302, -0.04085128381848335, -0.005317586939781904, 0.03809332475066185, 0.05921074375510216, -0.03300417959690094, -0.04819554463028908, 0.030528368428349495, 0.02792409621179104, -0.005370252765715122, 0.003194686258211732, -0.020254937931895256, 0.03500879928469658, -0.05283328890800476, -0.06579068303108215, 0.043545421212911606, 0.01035858690738678, -0.011555761098861694, 0.03971323370933533, -0.01556376926600933, 0.006009159609675407, 0.02321159653365612, 0.024266131222248077, -0.0009770175674930215, -0.053445540368556976, 0.026142092421650887, 0.009392550215125084, 0.033813394606113434, -0.03856290876865387, 0.06003818288445473, 0.0038125519640743732, 0.01926558092236519, 0.01621365360915661, -0.0048319511115550995, 0.02758246287703514, 0.008506614714860916, 0.021857047453522682, -0.026814483106136322, 0.013785016722977161, 0.02168656513094902, 0.02544485591351986, 0.08288227766752243, 0.0032611526548862457, 0.07407061755657196, -0.016984237357974052, 0.04309319704771042, 0.08528769016265869, -0.009017941541969776, 0.02732398919761181, 0.06554576754570007, 0.07078786194324493, -0.018371881917119026, -0.011684159748256207, 0.06113649159669876, -0.035692207515239716, 0.02062685787677765, -0.04392768070101738, 0.025557421147823334, -0.0037154362071305513, -0.00651797978207469, 0.04251537099480629, 0.01687655970454216, -0.03474465385079384, 0.029646318405866623, -0.014701830223202705, -0.008228346705436707, 0.027545519173145294, -0.009661500342190266, 0.033812426030635834, 0.012553156353533268, -0.005106055177748203, 0.001800485304556787, -0.05807456001639366, -0.03768192604184151, 0.014457197859883308, -0.027871061116456985, -0.02877970226109028, -0.08028209954500198, -0.027751779183745384, -0.07236102223396301, -0.020569199696183205, 0.023034503683447838, 0.02994108945131302, 0.005962211638689041, -0.008726857602596283, 0.015355439856648445, -0.03796084225177765, -0.04165607690811157, -0.06694290041923523, -0.028312822803854942, -0.05169624090194702, -0.09425822645425797, 0.03960120305418968, -0.0014153443044051528, 0.029135599732398987, 0.017663180828094482, -0.006926503032445908, -0.029200617223978043, -0.03828498721122742, 0.06537031382322311, 0.040853437036275864, -0.045280881226062775, -0.028112145140767097, 0.020147200673818588, 0.0028488202951848507, 0.006839538458734751, -0.01169542782008648, -0.020107772201299667, 0.046116698533296585, 0.07354875653982162, 0.025074737146496773, 0.007226706016808748, -0.010496854782104492, -0.04226229339838028, -0.07662585377693176, -0.035039257258176804, -0.020129116252064705, -0.02639537677168846, -0.0543878898024559, -0.053388889878988266, -0.00840399693697691, -0.06536655128002167, -0.012624512426555157, -0.009036149829626083, -0.0049240440130233765, 0.05480292811989784, 0.04130757972598076, 0.016324341297149658, 0.027827704325318336, -0.024376025423407555, -0.017188696190714836, 0.06261201947927475, 0.003103070193901658, 0.018882224336266518, -0.08128329366445541, -0.027896547690033913, 0.044079508632421494, 0.019734514877200127, 0.01361752673983574, -0.02787661738693714, 0.08531644940376282, 0.013034605421125889, -0.0021063133608549833, -0.0016613545594736934, -0.007933540269732475, -0.03585265576839447, 0.010611372999846935, -0.026178384199738503, -0.012642583809792995, -0.03781525790691376, -0.028782615438103676, -0.015145576559007168, 0.04274783656001091, -0.059858519583940506, -0.05524035543203354, 0.009795794263482094, 0.044938381761312485, 0.035747937858104706, -0.01056748814880848, -0.03718656674027443, -0.011584374122321606, -0.050914615392684937, -0.020580172538757324, 0.003441314212977886, -0.01353372447192669, -0.01397122722119093, 0.04885454475879669, 0.015076227486133575, -0.03476647660136223, 0.050962500274181366, 0.037892963737249374, 0.03320504352450371, 0.012176343239843845, -0.056362345814704895, 0.025734424591064453, -0.025127019733190536, 0.00894975196570158, 0.014201964251697063, -0.014452241361141205, -0.024945851415395737, -0.053456589579582214, -0.0027957542333751917, 0.003447400638833642, 0.009407170116901398, -0.009705024771392345, 0.03559465706348419, -0.007488131057471037, 0.0052011460065841675, -0.01142040640115738, 0.0002184216136811301, 0.02407771535217762, -0.025599848479032516, 0.057756178081035614, -0.017908772453665733, 0.045033395290374756, -0.06722702085971832, -0.00031964576919563115, -0.03941139578819275, -0.007360971532762051, 0.008828900754451752, 0.05729467421770096, 0.008085526525974274, 0.03141261264681816, 0.07799448817968369, 0.03432265669107437, -0.04584912583231926, 0.04745984822511673, 0.046122148633003235, -0.018663426861166954, -0.04847025126218796, -0.007590630557388067, -0.00972971972078085, -0.03914911299943924, -0.009419739246368408, -0.0427185520529747, 0.01471660379320383, 0.03840754181146622, 0.0027813035994768143, 0.0030141801107674837, -0.0029087478760629892, -0.01858297549188137, -0.02358953282237053, -0.046829067170619965, -0.008554354310035706, -0.009193400852382183, -0.019602157175540924, 0.024622565135359764, 0.039005909115076065, 0.01850423775613308, 0.07197365164756775, 0.08372025936841965, -0.029530735686421394, -0.027666378766298294, 0.043884363025426865, 0.05882878974080086, -0.05763453617691994, -0.038767747581005096, -0.01898602396249771, 0.052826788276433945, 0.07315157353878021, -0.028311867266893387, -0.09611236304044724, 0.0015012995572760701, 0.06603794544935226, -0.047820162028074265, 0.07822831720113754, -0.0010870749829337, 0.05469956248998642, 0.05167651176452637, 0.0034363395534455776, 0.022939715534448624, -0.03426232561469078, 0.008340176194906235, -0.024391431361436844, 0.06028381362557411, -0.042031385004520416, -0.06089019030332565, -0.04197492077946663, 0.040991660207509995, 0.03695864975452423, 0.061181191354990005, 0.04483611881732941, -0.026952438056468964, -0.04570529982447624, 0.013578075915575027, 0.01846611686050892, -0.023874375969171524, 0.023714937269687653, 0.025390466675162315, 0.07297750562429428, -0.06261900812387466, -0.05675170570611954, -0.023556681349873543, -0.00989385973662138, 0.03854841738939285, -0.008990524336695671, -0.011747585609555244, -0.05503910779953003, 0.006535968743264675, 0.004759560339152813, -0.011382482945919037, -0.07621385157108307, 0.04376624524593353, -0.01942864991724491, -0.03204634413123131, 0.04040280357003212, 0.01994035206735134, 0.040436144918203354, 0.05389558523893356, -0.02117054909467697, 0.006360641680657864, -0.040171582251787186, 0.05223787948489189, -0.02756800316274166, -0.0032674320973455906, -0.011851023882627487, -0.004210995510220528, -0.020948730409145355, -0.026219181716442108, -0.04465915635228157, -0.05014215037226677, -0.017943203449249268, 0.010370368137955666, -0.005859432276338339, -0.012056526727974415, -0.024072159081697464, 0.03664426878094673, -0.011801088228821754, -0.03259478509426117, -0.026278525590896606, -0.03719450160861015, -0.0683540627360344, -0.02675957977771759, -0.005783172324299812, -0.0017133156070485711, 0.02053968980908394, 0.021488040685653687, 0.01590941846370697, 0.0034528763499110937, 0.007682334166020155, -0.031560514122247696, 0.04836014285683632, -0.0005968326004222035, -0.024405647069215775, -0.03284294158220291, 0.02951839379966259, 0.023757057264447212, 0.021856417879462242, -0.005031271371990442, 0.024038352072238922, 0.013077900744974613, -0.035626716911792755, -0.004411274567246437, 0.010679674334824085, 0.01029298361390829, -0.052489835768938065, -0.029410989955067635, -0.011913941241800785, -0.04135678708553314, 0.04669014737010002, -0.0019766781479120255, -0.016806695610284805, -0.005786517634987831, 0.009586094878613949, 0.011257627047598362, 0.002218603389337659, -0.04384210705757141, 0.018792450428009033, -0.015003364533185959, 0.014641843736171722, -0.059045009315013885, 0.04232991486787796, -0.04272102192044258, -0.00254578934982419, -0.03300008177757263, -0.0038643425796180964, -0.03295348584651947, 0.026032978668808937, -0.003485484281554818, -0.020738616585731506, 0.0033903298899531364, 0.02269776165485382, -0.053661663085222244, 0.042566582560539246, -0.038414984941482544, -0.0016802753088995814, -0.03003092110157013, 0.04989083483815193, -0.05287564545869827, -0.019802048802375793, -0.012373059056699276, -0.003996940329670906, -0.01743295229971409, -0.009520404040813446, 0.009276749566197395, -0.016728760674595833, 0.02148725651204586, 0.04893495514988899, 0.019442161545157433, 0.050237610936164856, -0.02039855718612671, -0.002832076046615839, 0.009208687581121922, -0.0842401534318924, -0.030010730028152466, -0.0019214330241084099, 0.0334145613014698, -0.03179537504911423, 0.0845327079296112, 0.05691206455230713, -0.03347091004252434, -0.041687339544296265, 0.03339776024222374, 0.008906139060854912, 0.009829777292907238, -0.008801581338047981, 0.022323450073599815, 0.03571208566427231, 0.017290877178311348, -0.06903880089521408, -0.022119667381048203, -0.004711295012384653, -0.026842523366212845, 0.0023385663516819477, -0.01896551437675953, 0.02069140411913395, -0.0005154112004674971, -0.024969667196273804, -0.02593010850250721, 0.0699273869395256, 0.018950093537569046, 0.00645801005885005, -0.009683762677013874, -0.0457598976790905, 0.023866916075348854, 0.0009604959050193429, -0.07701853662729263, -0.0010336491977795959, 0.018227899447083473, -0.04220833629369736, 0.07651732861995697, -0.0144493468105793, 0.03343077376484871, 0.059861328452825546, 0.025218678638339043, -0.009503868408501148, 0.042815398424863815, -0.004877437371760607, -0.018216775730252266, 0.03660831227898598, -0.04604385048151016, -0.009926898404955864, -0.06132334843277931, 0.07427475601434708, -0.06408531963825226, 0.041960060596466064, 0.04923085495829582, 0.0013387828366830945, 0.023422444239258766, -0.028358876705169678, -0.002693814691156149, 0.017145726829767227, -0.051363322883844376, 0.0703229159116745, 0.01605382189154625, -0.08511073887348175, 0.06019136682152748, 0.02304173819720745, -0.09937887638807297, 0.0317254476249218, 0.03557192161679268, 0.03422737866640091, 0.046645909547805786, 0.049124572426080704, -0.04471126198768616, 0.014749174937605858, -0.0370916947722435, 0.03667328879237175, -0.05320177599787712, -0.012885196134448051, 0.015202541835606098, -0.05451885983347893, -0.02799658104777336, 0.06365318596363068, -0.03075767122209072, -0.013181096874177456, 0.005084142554551363, -0.06828905642032623, -0.03576027974486351, 0.010421499609947205, 0.027938298881053925, -0.032503847032785416, 0.000028256674340809695, -0.028313446789979935, 0.026015186682343483, 0.022860782220959663, 0.012917976826429367, -0.03629608079791069, -0.010206920094788074, 0.022923124954104424, -0.07147913426160812, -0.017761657014489174, 0.025060899555683136, 0.018304402008652687, -0.002002415480092168, 0.022390855476260185, 0.0015930355293676257, 0.02039034478366375, 0.019319182261824608, -0.009095869958400726, 0.014601745642721653, -0.04800541326403618, 0.025691932067275047, 0.022842928767204285, 0.017559858039021492, 0.04455157369375229, -0.004530151374638081, 0.0376875214278698, 0.04914523661136627, 0.03691780939698219, 0.0004975686315447092, -0.033585816621780396, -0.026484528556466103, 0.028374003246426582, -0.03380902484059334, 0.009581741876900196, -0.011171458289027214, -0.05068410560488701, -0.028169136494398117, -0.01313118264079094, -0.005868381820619106, 0.05792904645204544, -0.05516590550541878, 0.004167769569903612, 0.051172371953725815, -0.02444516494870186, -0.043524120002985, -0.10297901928424835, -0.04043720290064812, -0.02702425792813301, 0.01010093092918396, 0.02515670470893383, -0.011243228800594807, 0.031201597303152084, -0.022370971739292145, -0.05507845804095268, 0.03404628857970238, 0.0448259674012661, -0.04442951828241348, 0.07399535924196243, 0.03813060373067856, -0.03641702979803085, 0.0042711892165243626, 0.051068320870399475, -0.020597483962774277, 0.03965577855706215, 0.011543280445039272, 0.02375790849328041, 0.034609608352184296, 0.05612121522426605, -0.04223246872425079, -0.028145160526037216, -0.056815825402736664, -0.030180079862475395, -0.028113899752497673, 0.01833828166127205, 0.057640545070171356 ]
BigTooth/Megumin-v0.2
[ "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 } } }
13
null
**[`microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext`](https://huggingface.co/microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext)** fine-tuned on **[`SQuAD V2`](https://rajpurkar.github.io/SQuAD-explorer/)** using **[`run_qa.py`](https://github.com/huggingface/transformers/blob/master/examples/pytorch/question-answering/run_qa.py)** Tunning script: ```bash BASE_MODEL=microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext OUTPUT_DIR=~/Documents/projects/tunned_models/ms_pubmed_bert_squadv2/ python run_qa.py \ --model_name_or_path $BASE_MODEL\ --dataset_name squad_v2 \ --do_train \ --do_eval \ --version_2_with_negative \ --per_device_train_batch_size 12 \ --learning_rate 3e-5 \ --num_train_epochs 2 \ --max_seq_length 384 \ --doc_stride 128 \ --output_dir $OUTPUT_DIR ```
[ -0.005934540182352066, -0.02363068424165249, -0.021246029064059258, 0.07397923618555069, 0.037548452615737915, 0.020234862342476845, 0.0041112639009952545, -0.0028773427475243807, -0.02793300896883011, 0.01287984661757946, 0.0054222047328948975, 0.007316397037357092, 0.0066687362268567085, 0.0454794280230999, -0.03711167350411415, -0.052055686712265015, -0.004236755892634392, -0.0002958241384476423, -0.04443049803376198, -0.027037573978304863, -0.001025993493385613, 0.028646282851696014, 0.005017219576984644, 0.025498289614915848, 0.007128160912543535, 0.01630627177655697, -0.020147791132330894, 0.04748916253447533, 0.023986661806702614, -0.04670531675219536, 0.003971116151660681, -0.014339815825223923, -0.01657225750386715, -0.02414156123995781, 0.007687818259000778, -0.004994800314307213, 0.01399291306734085, -0.005669089499861002, 0.028568655252456665, 0.033347610384225845, -0.023721808567643166, -0.003206403460353613, 0.003736598649993539, -0.009093820117413998, 0.05497492477297783, -0.008303167298436165, -0.026600072160363197, -0.02707458846271038, 0.030225735157728195, -0.03411759063601494, -0.04314091429114342, -0.10902369022369385, -0.008255220018327236, 0.005741072818636894, -0.017747055739164352, -0.01356152817606926, -0.05308962240815163, -0.028570285066962242, 0.07302580773830414, -0.05336136370897293, -0.02537715621292591, 0.01933874748647213, -0.06475965678691864, -0.001035145134665072, 0.041276395320892334, -0.01599602960050106, -0.0009223306551575661, -0.033696599304676056, 0.02291661873459816, -0.0165791604667902, 0.07402108609676361, -0.03170481696724892, 0.02838967926800251, -0.0735442191362381, 0.003521913895383477, 0.010924690403044224, 0.03956560790538788, 0.04443318396806717, -0.033616263419389725, 0.0643596351146698, 0.017860639840364456, -0.001660731970332563, 0.0173592921346426, -0.01924310065805912, -0.007920636795461178, 0.010917735286056995, -0.019800081849098206, 0.0083530368283391, -0.007091095205396414, 0.026908474043011665, -0.016482705250382423, -0.04597679525613785, -0.032592445611953735, -0.01905905455350876, -0.016386820003390312, 0.03314292058348656, 0.03361918032169342, -0.014362196438014507, -0.001802661339752376, 0.03667323291301727, 0.04210742935538292, 0.04944779351353645, -0.0032798158936202526, 0.05949804559350014, 0.0031550300773233175, 0.0177921112626791, -0.00020443463290575892, -0.030703658238053322, -0.03263891488313675, 0.029874736443161964, 0.046789247542619705, -0.0342019684612751, -0.0306731965392828, 0.03170613572001457, 0.031022651121020317, 0.006651139818131924, 0.0480441153049469, -0.02705693617463112, -0.04456743597984314, -0.04354714974761009, 0.032086096704006195, 0.008593258447945118, -0.0048477426171302795, 0.005365437362343073, -0.056801531463861465, -0.01167723722755909, -0.044737379997968674, -0.016463439911603928, -0.0008316964958794415, 0.03363220766186714, 0.008462238125503063, 0.038950178772211075, 0.027025451883673668, -0.08441909402608871, 0.0412844642996788, -0.0028628138825297356, -0.07814934849739075, 0.027520718052983284, -0.0005425610579550266, 0.12813763320446014, -0.0625888928771019, -0.04723730683326721, 0.05070872977375984, 0.031856782734394073, -0.019259968772530556, -0.006865385454148054, -0.0067566270008683205, -0.02708636038005352, -0.022754475474357605, 0.0032719045411795378, 0.06200600042939186, -0.022847844287753105, 0.007159594912081957, 0.04645056277513504, -0.016725435853004456, 0.05781027674674988, -0.045989084988832474, 0.0029477442149072886, -0.008403957821428776, -0.0005528557230718434, -0.019780920818448067, 0.04454752057790756, -0.03272299841046333, -0.03979938477277756, -0.04518156498670578, -0.04394734650850296, -0.006528748199343681, 0.11060111224651337, 0.00092448724899441, -0.016528749838471413, -0.026683175936341286, 0.0038236307445913553, 0.024654226377606392, 0.02256833389401436, -0.011576762422919273, 0.04468752443790436, 0.058161456137895584, -0.00012110052193747833, -0.02101626619696617, 0.006623615510761738, 0.021342914551496506, -0.02452803961932659, -0.023007206618785858, 0.02305232360959053, -0.01488685142248869, -0.0064484975300729275, 0.04432842880487442, 0.0404072031378746, -0.02311849221587181, -0.029404595494270325, -0.020952071994543076, 0.052766237407922745, -0.034112025052309036, 0.02065598964691162, 0.0002441167744109407, -0.0008952305652201176, 0.011975058354437351, 0.05262846127152443, -0.020229535177350044, 0.007890800014138222, -0.03719094768166542, -0.024213215336203575, 0.03650336712598801, -0.007440831977874041, 0.03533640131354332, 0.05591221898794174, -0.01473625935614109, 0.11360257118940353, -0.03731118515133858, 0.002264175796881318, -0.045957956463098526, -0.005886433180421591, 0.029345428571105003, 0.046477410942316055, 0.062367092818021774, 0.05902921035885811, -0.006782368756830692, -0.047671157866716385, 0.05468917638063431, 0.06350355595350266, 0.06106245890259743, 0.002939387923106551, -0.030188867822289467, 0.007778438273817301, 0.024825671687722206, 0.05533837899565697, -0.034793440252542496, -0.02135983668267727, 0.004363895393908024, 0.01659858599305153, -0.019718224182724953, -0.0039010930340737104, -0.0340937040746212, 0.03428872302174568, -0.03605279326438904, -0.09389401227235794, 0.05088949203491211, 0.017027169466018677, 0.009404182434082031, 0.03889501467347145, -0.0005393988103605807, 0.002471836283802986, 0.018102658912539482, 0.039265651255846024, 0.0034507308155298233, -0.021634332835674286, 0.009572651237249374, 0.012072328478097916, 0.05354040116071701, -0.0643564760684967, 0.03934376314282417, -0.0027667779941111803, 0.03036465495824814, 0.02696622908115387, -0.029889598488807678, 0.02892189659178257, 0.03134148195385933, 0.017387956380844116, -0.0037274137139320374, 0.04292725771665573, 0.008871262893080711, 0.028418071568012238, 0.07621395587921143, 0.008505859412252903, 0.048853036016225815, -0.016743209213018417, 0.014492988586425781, 0.07011346518993378, 0.004688211251050234, 0.04062223434448242, 0.010001732967793941, 0.05751267448067665, 0.0007314143003895879, 0.014974218793213367, 0.03184879198670387, -0.061061564832925797, -0.0015493427636101842, -0.029783282428979874, 0.022111961618065834, -0.00904650054872036, -0.013801446184515953, 0.04660918563604355, 0.02518465183675289, -0.00923110730946064, 0.02300337888300419, 0.009757566265761852, 0.012564458884298801, 0.017927095293998718, -0.050168801099061966, 0.02361566759645939, -0.006607110146433115, -0.007041881792247295, -0.015520859509706497, -0.07281568646430969, -0.053125496953725815, 0.002052983967587352, -0.017337437719106674, 0.015440886840224266, -0.07612830400466919, -0.003834401722997427, -0.09013146162033081, -0.022904278710484505, 0.048838548362255096, 0.00892613921314478, -0.012960219755768776, -0.030533574521541595, 0.028230292722582817, -0.03363167122006416, -0.03024848736822605, -0.05340533331036568, -0.047939375042915344, -0.03951704502105713, -0.05515197664499283, 0.047478772699832916, 0.02057194896042347, 0.02499166503548622, 0.010583251714706421, 0.01649235188961029, -0.019944163039326668, -0.02469630166888237, 0.05650082230567932, 0.029214978218078613, -0.03184853494167328, -0.06735885143280029, -0.0029856169130653143, 0.0020482889376580715, 0.035279132425785065, 0.0002475590445101261, -0.01894376054406166, 0.09369801729917526, 0.07803408801555634, 0.02937150001525879, 0.000025677447410998866, -0.031036030501127243, -0.05182001739740372, -0.02526444010436535, -0.035426292568445206, -0.04708193242549896, -0.029211483895778656, -0.06098661199212074, -0.025073014199733734, 0.0027068702038377523, -0.012630118057131767, -0.0012321348767727613, -0.015877189114689827, 0.00477058719843626, 0.057796526700258255, 0.05453699454665184, 0.009711039252579212, 0.04132799059152603, -0.04378338158130646, -0.021497247740626335, 0.04193936288356781, -0.006771481595933437, 0.038509730249643326, -0.07636604458093643, -0.04334624484181404, 0.05290284752845764, 0.013468059711158276, 0.02069626934826374, -0.019174888730049133, 0.09684959799051285, 0.01414307951927185, -0.013286557048559189, 0.005946309305727482, 0.0011118585243821144, -0.03213105350732803, -0.020989323034882545, -0.011915018782019615, -0.014372735284268856, -0.049320243299007416, -0.03702838346362114, 0.016288887709379196, 0.04455171525478363, -0.055501069873571396, -0.048408351838588715, -0.006945423316210508, 0.01959274150431156, 0.01547969039529562, -0.019148332998156548, -0.03800424933433533, -0.009997550398111343, -0.05452757328748703, -0.007612737827003002, 0.005366520024836063, 0.009733281098306179, -0.025455821305513382, 0.04805787652730942, 0.02591490000486374, -0.02909296751022339, 0.03889792039990425, 0.039548248052597046, 0.05200191214680672, -0.0006880020955577493, -0.056041017174720764, -0.009445862844586372, -0.02119290828704834, 0.03511269763112068, 0.038920897990465164, -0.018500996753573418, -0.021733243018388748, -0.09103983640670776, -0.020236052572727203, -0.004446079488843679, -0.002039414830505848, 0.00012234810856170952, 0.03736123442649841, 0.003784983418881893, -0.029851041734218597, -0.0112449424341321, -0.0016635986976325512, 0.03540994971990585, -0.01842726767063141, 0.05029350519180298, -0.006333098281174898, 0.04164516553282738, -0.0305037684738636, 0.032447587698698044, -0.04247049242258072, -0.01852157525718212, 0.03407249599695206, 0.037589166313409805, 0.004191276151686907, 0.0746764987707138, 0.031416844576597214, 0.026867728680372238, -0.049943190068006516, 0.050517912954092026, 0.052645422518253326, -0.046501804143190384, -0.022960910573601723, -0.0022237119264900684, 0.010842696763575077, -0.01892036385834217, -0.015054178424179554, -0.011563877575099468, 0.011832584626972675, 0.04197091609239578, -0.02122323587536812, 0.003330910112708807, 0.0020857099443674088, -0.02223483845591545, -0.034246776252985, -0.0017942908452823758, 0.010454797185957432, -0.015021810308098793, 0.009981753304600716, 0.05268128961324692, 0.02242870442569256, 0.004983756225556135, 0.058179594576358795, 0.06697773188352585, -0.002280058339238167, -0.05152178183197975, 0.035457585006952286, 0.047504208981990814, -0.05005437880754471, -0.07290735840797424, -0.039085764437913895, 0.03512471541762352, 0.05560998246073723, 0.005789072718471289, -0.08473701775074005, 0.009114598855376244, 0.04565071687102318, -0.052481357008218765, 0.06587297469377518, -0.009426743723452091, 0.025187883526086807, 0.06111485883593559, -0.012585834600031376, 0.017307035624980927, -0.019700249657034874, 0.0034737768582999706, -0.011063707061111927, 0.06410475075244904, -0.04435175657272339, -0.04246151074767113, -0.04751981049776077, 0.026662813499569893, 0.06441084295511246, 0.03726470097899437, 0.0268553476780653, -0.02953103929758072, -0.04101703315973282, 0.023626914247870445, 0.03397298976778984, -0.0388573594391346, 0.04598178714513779, 0.022897833958268166, 0.012159433215856552, -0.07695336639881134, -0.049011752009391785, -0.007861697115004063, -0.014851700514554977, 0.03776036575436592, -0.013083156198263168, -0.03891952708363533, -0.05287851765751839, 0.016522349789738655, -0.013135307468473911, -0.020535428076982498, -0.05273636057972908, 0.039326734840869904, -0.003025429556146264, -0.018697980791330338, 0.04752480238676071, 0.04364069178700447, 0.022502243518829346, 0.04513658210635185, -0.023321712389588356, -0.004565560258924961, -0.04267294332385063, 0.05760706216096878, -0.02188519388437271, -0.031020935624837875, -0.008326669223606586, -0.023436706513166428, 0.0046005514450371265, -0.005215189885348082, -0.025964373722672462, -0.037120092660188675, -0.020483439788222313, 0.03900475054979324, -0.0010364274494349957, 0.0010246309684589505, -0.011321562342345715, 0.031830139458179474, -0.018618835136294365, -0.03828294202685356, -0.027435585856437683, -0.0041648405604064465, -0.045180097222328186, -0.035430893301963806, 0.025861555710434914, 0.015965845435857773, 0.021057527512311935, 0.019246520474553108, 0.02878129668533802, -0.011602523736655712, 0.009161613881587982, -0.034508585929870605, 0.03222503513097763, -0.001006552716717124, -0.009403700940310955, -0.029904436320066452, 0.0340636745095253, 0.017511969432234764, 0.01636112667620182, -0.0018718864303082228, 0.02940056473016739, 0.024722110480070114, -0.022467482835054398, -0.01758439466357231, 0.009686253033578396, 0.009451810270547867, -0.07246013730764389, -0.02800351195037365, -0.011789674870669842, -0.04689884930849075, 0.045591194182634354, -0.021119309589266777, -0.04054157808423042, 0.001345184282399714, 0.011121271178126335, 0.04434894397854805, 0.005181443877518177, -0.04226124286651611, 0.022112488746643066, -0.018415724858641624, 0.03422219678759575, -0.04717336595058441, 0.02956460975110531, -0.027831148356199265, 0.01676376722753048, -0.031467653810977936, 0.01367177814245224, -0.041070327162742615, 0.054511602967977524, -0.04104709252715111, -0.019938794896006584, -0.02938876301050186, 0.03612331673502922, -0.041656494140625, 0.03922904655337334, -0.010856283828616142, 0.03181350603699684, -0.05080529302358627, 0.043238379061222076, -0.036771826446056366, -0.02234717644751072, -0.04226543754339218, 0.012514722533524036, -0.04470611736178398, 0.018490903079509735, -0.02391551062464714, -0.01407196931540966, -0.003845375031232834, 0.02845900133252144, 0.025110024958848953, 0.03429524600505829, -0.020244918763637543, 0.004717323929071426, -0.0014395629987120628, -0.06294535845518112, -0.00401374651119113, -0.01089943666011095, 0.014686699956655502, -0.017343880608677864, 0.047644443809986115, 0.04861558601260185, -0.04901721701025963, -0.028312675654888153, 0.04840848594903946, 0.0049913739785552025, 0.020957721397280693, 0.03158319741487503, 0.004059063270688057, 0.02185332030057907, 0.02960975654423237, -0.04448631405830383, -0.019540147855877876, 0.0021168494131416082, -0.052764445543289185, 0.03580633923411369, -0.02206474356353283, 0.049859486520290375, 0.02164464443922043, -0.026279909536242485, -0.03559909388422966, 0.06581660360097885, 0.02934141643345356, 0.0038681337609887123, 0.00015139245078898966, -0.04573258012533188, 0.0408216156065464, 0.002131606452167034, -0.03742231801152229, 0.028730172663927078, -0.021635036915540695, -0.044270385056734085, 0.0674929991364479, 0.00963759608566761, 0.006401536520570517, 0.042439185082912445, 0.010763426311314106, -0.04210042953491211, 0.09283243119716644, -0.0274531077593565, 0.03947197273373604, 0.06751890480518341, -0.05280095338821411, -0.009252774529159069, -0.048887163400650024, 0.058643411844968796, -0.0785914734005928, 0.040383391082286835, 0.03859855234622955, 0.024186505004763603, 0.01383876707404852, -0.038366492837667465, -0.06187098100781441, 0.00002950704401882831, -0.03921732306480408, 0.05207596719264984, 0.00042814420885406435, -0.04513845592737198, 0.06773385405540466, 0.04060030356049538, -0.054397035390138626, 0.04475947096943855, 0.040333595126867294, 0.040023595094680786, 0.0537036657333374, 0.057129889726638794, -0.07690266519784927, 0.005694790277630091, -0.015655603259801865, 0.0523444227874279, -0.03184736892580986, -0.0325990729033947, 0.02122618816792965, -0.02762671932578087, -0.01503767166286707, 0.040137823671102524, 0.0014523278223350644, 0.006934122648090124, 0.038928497582674026, -0.07228109985589981, -0.05538680776953697, -0.00878916122019291, 0.014747055247426033, -0.033497605472803116, -0.005112153012305498, -0.03135519474744797, 0.0025058023165911436, 0.018655462190508842, 0.033212579786777496, -0.02794674225151539, -0.013301447965204716, 0.00564858503639698, -0.06531861424446106, -0.024989670142531395, 0.024998795241117477, 0.002809754339978099, -0.044260747730731964, 0.016881337389349937, -0.005792330484837294, 0.04646536335349083, 0.014551440253853798, 0.0033864621073007584, 0.014189382083714008, -0.05147171393036842, 0.0134841687977314, 0.03514339402318001, 0.0019893215503543615, 0.0378766767680645, -0.03507627174258232, 0.025443844497203827, 0.03450819477438927, 0.032999906688928604, -0.0054895756766200066, -0.04110512509942055, -0.0068090492859482765, 0.04282691702246666, -0.028731707483530045, -0.0005806401022709906, -0.015427674166858196, -0.056929703801870346, -0.024028919637203217, -0.008389921858906746, -0.002596610225737095, 0.03789401054382324, -0.05043867975473404, 0.0010485381353646517, 0.044342510402202606, -0.014255814254283905, -0.060300279408693314, -0.09758897870779037, -0.0009874026291072369, -0.0384770892560482, 0.03769703954458237, 0.02326146513223648, -0.04128746688365936, 0.017840605229139328, -0.05551322549581528, -0.06775699555873871, 0.056056395173072815, 0.04652300849556923, -0.08537951111793518, 0.05234938859939575, 0.04896697402000427, -0.03147366642951965, 0.012614596635103226, 0.016131632030010223, -0.028684204444289207, 0.018342146649956703, -0.019617140293121338, 0.04611309617757797, 0.014499092474579811, 0.03408794477581978, -0.03318842127919197, -0.03199942037463188, -0.044175244867801666, -0.038776297122240067, -0.039334431290626526, 0.004513191524893045, 0.10136445611715317 ]
Blaine-Mason/hackMIT-finetuned-sst2
[ "pytorch", "tensorboard", "bert", "text-classification", "dataset:glue", "transformers", "generated_from_trainer" ]
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 } } }
36
null
--- license: apache-2.0 tags: - image-classification - pytorch - onnx datasets: - frgfm/imagenette --- # RepVGG-A1 model Pretrained on [ImageNette](https://github.com/fastai/imagenette). The RepVGG architecture was introduced in [this paper](https://arxiv.org/pdf/2101.03697.pdf). ## Model description The core idea of the author is to distinguish the training architecture (with shortcut connections), from the inference one (a pure highway network). By designing the residual block, the training architecture can be reparametrized into a simple sequence of convolutions and non-linear activations. ## Installation ### Prerequisites Python 3.6 (or higher) and [pip](https://pip.pypa.io/en/stable/)/[conda](https://docs.conda.io/en/latest/miniconda.html) are required to install Holocron. ### Latest stable release You can install the last stable release of the package using [pypi](https://pypi.org/project/pylocron/) as follows: ```shell pip install pylocron ``` or using [conda](https://anaconda.org/frgfm/pylocron): ```shell conda install -c frgfm pylocron ``` ### Developer mode Alternatively, if you wish to use the latest features of the project that haven't made their way to a release yet, you can install the package from source *(install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) first)*: ```shell git clone https://github.com/frgfm/Holocron.git pip install -e Holocron/. ``` ## Usage instructions ```python from PIL import Image from torchvision.transforms import Compose, ConvertImageDtype, Normalize, PILToTensor, Resize from torchvision.transforms.functional import InterpolationMode from holocron.models import model_from_hf_hub model = model_from_hf_hub("frgfm/repvgg_a1").eval() img = Image.open(path_to_an_image).convert("RGB") # Preprocessing config = model.default_cfg transform = Compose([ Resize(config['input_shape'][1:], interpolation=InterpolationMode.BILINEAR), PILToTensor(), ConvertImageDtype(torch.float32), Normalize(config['mean'], config['std']) ]) input_tensor = transform(img).unsqueeze(0) # Inference with torch.inference_mode(): output = model(input_tensor) probs = output.squeeze(0).softmax(dim=0) ``` ## Citation Original paper ```bibtex @article{DBLP:journals/corr/abs-2101-03697, author = {Xiaohan Ding and Xiangyu Zhang and Ningning Ma and Jungong Han and Guiguang Ding and Jian Sun}, title = {RepVGG: Making VGG-style ConvNets Great Again}, journal = {CoRR}, volume = {abs/2101.03697}, year = {2021}, url = {https://arxiv.org/abs/2101.03697}, eprinttype = {arXiv}, eprint = {2101.03697}, timestamp = {Tue, 09 Feb 2021 15:29:34 +0100}, biburl = {https://dblp.org/rec/journals/corr/abs-2101-03697.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` Source of this implementation ```bibtex @software{Fernandez_Holocron_2020, author = {Fernandez, François-Guillaume}, month = {5}, title = {{Holocron}}, url = {https://github.com/frgfm/Holocron}, year = {2020} } ```
[ -0.020235231146216393, -0.02371307834982872, -0.026209848001599312, 0.02512665092945099, 0.01663130521774292, 0.01638142019510269, -0.011172376573085785, -0.0026456285268068314, -0.024236364290118217, 0.039216578006744385, 0.053759317845106125, -0.00020760265761055052, 0.00848168134689331, -0.002068880246952176, -0.03189975395798683, -0.029826773330569267, -0.006139021832495928, 0.010166274383664131, 0.004004810471087694, 0.02789955958724022, 0.02624290995299816, -0.015470119193196297, -0.00035386066883802414, 0.0358414426445961, -0.004473261535167694, 0.00186789664439857, 0.03216719627380371, 0.019046610221266747, 0.05853918939828873, -0.08319547027349472, -0.003420132678002119, -0.04299188405275345, -0.0709121972322464, -0.012888127937912941, -0.02496393956243992, 0.0003517838194966316, 0.017788643017411232, 0.012673710472881794, 0.021543603390455246, 0.08440744876861572, -0.011692490428686142, 0.009452124126255512, -0.024017738178372383, -0.006128660868853331, 0.04610592499375343, -0.0077059646137058735, -0.05391029268503189, -0.007588082924485207, 0.04246192425489426, 0.003449432784691453, -0.07091712951660156, -0.04432801902294159, -0.019535493105649948, 0.04006636515259743, -0.034927014261484146, -0.04902767017483711, -0.05979803204536438, -0.0029327187221497297, 0.053337085992097855, -0.059963658452034, -0.01620377041399479, 0.00639291200786829, -0.059163641184568405, 0.03178676217794418, 0.037418778985738754, -0.024068627506494522, 0.025467179715633392, -0.05344465374946594, -0.014215909875929356, -0.008040066808462143, 0.053553689271211624, -0.028211219236254692, 0.007882464677095413, -0.07443459331989288, 0.007332803215831518, -0.013236461207270622, 0.039433859288692474, 0.04056594520807266, -0.04523298516869545, 0.03098176047205925, 0.030798664316534996, -0.000030730810976820067, 0.030402015894651413, -0.009310874156653881, -0.020158978179097176, 0.02170727401971817, -0.0304736215621233, 0.017009969800710678, 0.020597748458385468, 0.03208794444799423, -0.05061965435743332, -0.0022782033775001764, -0.032160982489585876, -0.031184278428554535, -0.007966168224811554, 0.003864625934511423, 0.05759480968117714, -0.018837852403521538, 0.037242550402879715, 0.0019221726106479764, 0.047757506370544434, 0.03217040002346039, -0.015912245959043503, 0.06103387847542763, 0.002407323569059372, -0.0021582746412605047, -0.014193686656653881, -0.02168763428926468, -0.05900390446186066, 0.028767280280590057, 0.061826277524232864, -0.038301512598991394, -0.013887044042348862, 0.04364093020558357, -0.016673455014824867, 0.011544881388545036, 0.047790754586458206, -0.01974218338727951, -0.06191584840416908, -0.053781818598508835, 0.04126959666609764, 0.009946745820343494, -0.023617330938577652, -0.0076304213143885136, -0.05198962241411209, -0.007761565502732992, -0.03690312057733536, -0.019449520856142044, -0.004518053028732538, 0.004727563355118036, -0.005765328649431467, 0.045810766518116, 0.024654189124703407, -0.0539502315223217, -0.012521937489509583, 0.03074314072728157, -0.06462983787059784, 0.050975628197193146, 0.016830844804644585, 0.09545090049505234, -0.07088478654623032, -0.06209650635719299, 0.006380802486091852, 0.01454951986670494, -0.035429418087005615, 0.009051532484591007, -0.0030259182676672935, -0.05702456086874008, -0.039544105529785156, -0.012546444311738014, 0.06813761591911316, -0.05530718341469765, -0.042687058448791504, 0.08599016070365906, -0.006695184390991926, 0.0535508431494236, -0.03827163204550743, -0.001849714550189674, 0.0005517919780686498, 0.0056237042881548405, 0.0003607060352806002, 0.03935378044843674, -0.02026153728365898, 0.030819332227110863, -0.020283471792936325, -0.0419168695807457, -0.039807841181755066, 0.06989993155002594, -0.014666745439171791, -0.01630551554262638, -0.0067756460048258305, 0.02545218914747238, 0.002212242456153035, 0.07259345054626465, -0.01390565000474453, 0.03475256264209747, 0.054171543568372726, 0.05465538799762726, -0.04718875512480736, 0.05144636705517769, 0.054929956793785095, -0.03983874246478081, 0.0040899827145040035, 0.00500098429620266, -0.011868826113641262, -0.06662645190954208, 0.01994926854968071, 0.045477431267499924, -0.020616721361875534, -0.029161114245653152, -0.007019041571766138, 0.06159350275993347, 0.031477563083171844, 0.012405329383909702, -0.010259161703288555, -0.000045115608372725546, -0.008427700027823448, 0.05412168800830841, -0.015510832890868187, 0.00044328850344754755, -0.017733043059706688, -0.016106732189655304, -0.012210583314299583, -0.0066269743256270885, 0.024087417870759964, 0.027238178998231888, -0.003408755175769329, 0.058653492480516434, -0.02908729761838913, 0.022165045142173767, -0.048606988042593, -0.06548084318637848, -0.02200181409716606, 0.048272110521793365, 0.042653147131204605, 0.029827145859599113, -0.0018103073816746473, -0.06372565031051636, 0.03783351927995682, 0.03610558062791824, 0.03573328256607056, -0.0033298057969659567, -0.03201669827103615, 0.001972778234630823, -0.007649857085198164, 0.05394824594259262, -0.06828930974006653, -0.032230768352746964, 0.011968283914029598, 0.01868758164346218, -0.026942644268274307, 0.0023324748035520315, -0.04533497616648674, 0.04037409648299217, -0.05533323809504509, -0.054455481469631195, 0.032749541103839874, 0.017603451386094093, 0.03314507380127907, 0.030948413535952568, -0.004102648235857487, 0.0033842832781374454, 0.02082136459648609, 0.002222977811470628, -0.0038807420060038567, -0.055308349430561066, 0.03350786864757538, 0.03601827099919319, 0.04253401607275009, -0.03040461055934429, 0.06628458201885223, 0.01597536914050579, -0.007065376732498407, 0.021993042901158333, -0.007811710238456726, 0.025735588744282722, 0.10415125638246536, 0.012870215810835361, -0.03662117198109627, 0.02641177922487259, -0.005837297532707453, 0.047220874577760696, 0.04291057959198952, -0.018815143033862114, 0.07779558002948761, 0.007068460341542959, 0.02888123132288456, 0.06944869458675385, 0.016595495864748955, -0.007987957447767258, 0.03605562075972557, 0.10891098529100418, 0.01131060067564249, -0.024898406118154526, 0.05388326942920685, -0.05043475329875946, 0.01826806366443634, -0.02343977987766266, 0.023727796971797943, 0.006678120698779821, 0.0021769313607364893, 0.04900426045060158, 0.031104737892746925, -0.014520487748086452, -0.0014424805995076895, 0.007052118889987469, -0.010591540485620499, 0.031060367822647095, -0.03742546960711479, -0.028537055477499962, -0.009952155873179436, 0.0017299464670941234, -0.004995548166334629, -0.04038415849208832, -0.04739236831665039, -0.035149093717336655, -0.05220067873597145, -0.0071523841470479965, -0.09230586141347885, -0.007666317280381918, -0.06881482899188995, -0.025246886536478996, 0.045892469584941864, 0.004219926428049803, -0.022217389196157455, -0.055019207298755646, 0.004865957424044609, -0.03156536817550659, -0.01493905670940876, -0.031169209629297256, -0.07538316398859024, -0.04331140220165253, -0.07355616986751556, 0.022719820961356163, 0.01484150905162096, 0.025927383452653885, -0.007158208638429642, -0.019598349928855896, -0.03949285298585892, -0.017224373295903206, 0.03308934345841408, 0.0668276846408844, -0.025079993531107903, -0.053919266909360886, 0.03693314641714096, -0.01837579347193241, 0.003346523968502879, -0.014504940249025822, -0.03203902766108513, 0.0796872228384018, 0.0886506512761116, 0.014354412443935871, 0.01931799203157425, 0.004019572865217924, -0.051782965660095215, -0.052579864859580994, -0.008385351859033108, -0.03631480783224106, -0.0046850466169416904, -0.032605867832899094, -0.03030977211892605, -0.009213924407958984, -0.017416425049304962, -0.032737068831920624, -0.0035700646694749594, -0.004103241953998804, 0.02106626145541668, 0.0354437418282032, 0.020744960755109787, 0.04513943940401077, -0.02717055194079876, -0.048355843871831894, 0.03174693137407303, 0.01142897643148899, -0.05098220333456993, -0.039828356355428696, -0.004999795462936163, 0.015330218710005283, 0.04128352180123329, 0.0023124401923269033, -0.009357661008834839, 0.08389219641685486, 0.006660964339971542, -0.016997823491692543, 0.011151966638863087, -0.025387316942214966, -0.017187267541885376, -0.024168575182557106, 0.0027156854048371315, -0.023135745897889137, -0.059079743921756744, -0.025621559470891953, 0.002768127713352442, 0.0497707724571228, -0.07059181481599808, -0.07857638597488403, 0.00296251499094069, 0.026217930018901825, 0.042150672525167465, 0.0019925422966480255, -0.05550255998969078, -0.01301645115017891, -0.05272678658366203, 0.006195403169840574, 0.030018137767910957, 0.01094508171081543, 0.020542092621326447, 0.06210757791996002, 0.025626735761761665, 0.02170814760029316, 0.031096501275897026, 0.041558992117643356, 0.055187735706567764, 0.0065589770674705505, -0.0643434002995491, 0.0006030584336258471, -0.008869475685060024, 0.028171490877866745, 0.01756369136273861, -0.022132854908704758, -0.05271008610725403, -0.08028408139944077, -0.000605484819971025, 0.018457947298884392, 0.019391989335417747, -0.022699762135744095, 0.03283341974020004, -0.005481352098286152, -0.029017452150583267, -0.011012700386345387, 0.010082813911139965, 0.043239157646894455, -0.06226668506860733, 0.06753597408533096, 0.00314072472974658, 0.031388718634843826, -0.032662514597177505, 0.02396537736058235, -0.025781502947211266, -0.032140105962753296, 0.0000927224537008442, 0.03490351140499115, 0.054491233080625534, 0.04932134971022606, 0.05716422572731972, 0.003117694752290845, -0.013898996636271477, 0.004195512738078833, 0.009103305637836456, -0.01443630363792181, -0.050120577216148376, -0.015828244388103485, -0.005337974056601524, 0.024210341274738312, -0.042848747223615646, 0.002840280532836914, 0.04743992164731026, 0.05030936747789383, -0.020161408931016922, -0.02671174332499504, -0.0019528457196429372, 0.012661745771765709, -0.02166581340134144, -0.04251338541507721, -0.001314005465246737, -0.004227294586598873, -0.012268115766346455, 0.007421975489705801, 0.031072450801730156, -0.0036642509512603283, 0.03977290540933609, 0.023454230278730392, -0.021601121872663498, -0.017847465351223946, 0.04099693149328232, 0.015051900409162045, -0.014676115475594997, -0.06513743847608566, -0.020627763122320175, 0.017132073640823364, 0.016520891338586807, -0.03734148293733597, -0.06493827700614929, -0.02426360920071602, 0.05520317330956459, -0.04573354125022888, 0.05929388105869293, 0.031495630741119385, 0.04600675031542778, 0.04662003368139267, -0.024477729573845863, 0.04923582822084427, -0.04915250092744827, -0.005588478408753872, 0.010021744295954704, 0.03431284427642822, -0.0020697738509625196, -0.03260186314582825, -0.049418456852436066, 0.024316148832440376, 0.02878468669950962, 0.06216790899634361, 0.00444015022367239, -0.04001813381910324, -0.06317321956157684, -0.016211990267038345, 0.054529089480638504, -0.02809082716703415, 0.029518889263272285, 0.022093916311860085, 0.04911668598651886, -0.04591628164052963, -0.0323491245508194, -0.024692902341485023, -0.01783469319343567, 0.04306459799408913, -0.014233794063329697, -0.04956405237317085, -0.050685424357652664, 0.01406833715736866, -0.007239342667162418, -0.00005876020441064611, -0.0943596288561821, -0.0012950951931998134, -0.010515390895307064, -0.0028723538853228092, 0.048789918422698975, 0.014479590579867363, 0.0416451059281826, 0.07036370038986206, 0.04347161576151848, 0.03409656137228012, -0.044273100793361664, 0.04875458776950836, -0.046012572944164276, -0.02074693888425827, 0.021111678332090378, -0.0156707726418972, -0.027528878301382065, -0.019909732043743134, -0.03152117505669594, -0.017193466424942017, -0.02985093556344509, -0.0007099898066371679, 0.0062782010063529015, -0.00610953476279974, -0.01161058060824871, 0.03379230946302414, -0.02602521702647209, -0.04424140974879265, -0.043576765805482864, -0.008238222450017929, -0.051802389323711395, -0.04420032352209091, 0.03289445489645004, -0.0032894613686949015, 0.04695110395550728, 0.031388718634843826, 0.018680740147829056, 0.029168378561735153, 0.0436815470457077, -0.02696027234196663, 0.03356444463133812, -0.0014033789047971368, -0.019516708329319954, -0.010672968812286854, 0.013718920759856701, -0.0013424614444375038, 0.04318130761384964, -0.026320263743400574, 0.023311138153076172, 0.0258632842451334, 0.00859856978058815, 0.014172909781336784, 0.01914575882256031, -0.003771901363506913, -0.04907789081335068, -0.02214210107922554, 0.013530060648918152, -0.05169093236327171, 0.015503555536270142, -0.026949886232614517, -0.006610671523958445, 0.022276630625128746, 0.014047675766050816, 0.05386396124958992, -0.03230375051498413, -0.035475291311740875, 0.0059761046431958675, -0.03386904299259186, 0.02368638664484024, -0.05117140710353851, 0.025928184390068054, -0.0384652353823185, 0.017764056101441383, 0.012084334157407284, 0.002081040060147643, -0.057242341339588165, 0.04126051813364029, -0.001064322772435844, 0.007018454372882843, -0.05519901216030121, 0.004994270391762257, -0.02962661162018776, 0.04717051237821579, -0.012370278127491474, 0.02242574468255043, -0.02729848027229309, 0.05195716768503189, -0.05603070557117462, 0.007804825436323881, 0.0021642346400767565, 0.01976565085351467, -0.03353926166892052, -0.007520082872360945, -0.01947278529405594, -0.027169033885002136, 0.02358691580593586, 0.07792124152183533, 0.038454361259937286, -0.00911965686827898, -0.03272649645805359, 0.03035781905055046, 0.02339642308652401, -0.05993598327040672, -0.03174345940351486, 0.006562362425029278, -0.02000952698290348, -0.01724928244948387, 0.034583959728479385, 0.06134294718503952, -0.0624336302280426, -0.0724201425909996, 0.04533307999372482, 0.034372728317976, 0.002413569251075387, 0.0007812829571776092, 0.021080058068037033, 0.02165852300822735, 0.05762118473649025, -0.03560568019747734, 0.00601873779669404, 0.0001563309779157862, -0.020597703754901886, 0.029887888580560684, -0.0136649115011096, 0.038349855691194534, 0.010555476881563663, -0.026008406654000282, -0.004076897166669369, 0.06692709773778915, 0.058731816709041595, 0.03373698145151138, -0.017112264409661293, -0.04234130680561066, 0.01796507090330124, 0.013667372986674309, -0.04356250539422035, -0.0014694874407723546, 0.009812401607632637, -0.0443938747048378, 0.06750769168138504, -0.00850161537528038, 0.03835563361644745, 0.030458251014351845, 0.0645657628774643, -0.03514060005545616, 0.06394737213850021, -0.055626027286052704, 0.03633186221122742, 0.053060032427310944, -0.04271377995610237, 0.003905101679265499, -0.05030978471040726, 0.055076804012060165, -0.03547777980566025, 0.025215502828359604, 0.008245257660746574, -0.00618794234469533, -0.010719618760049343, -0.03148695454001427, -0.057552874088287354, 0.009955797344446182, -0.06378074735403061, 0.08423852175474167, 0.006314288824796677, -0.04209200665354729, 0.0786099061369896, -0.001290392130613327, -0.08057748526334763, 0.016014842316508293, 0.04514141380786896, 0.020157022401690483, 0.0211106576025486, 0.029362481087446213, -0.03238748759031296, 0.018985198810696602, -0.044737786054611206, 0.04906250908970833, -0.05341095104813576, -0.008588242344558239, 0.022990509867668152, -0.03501296043395996, -0.0007378409500233829, 0.060790468007326126, 0.0025577021297067404, 0.00880778394639492, 0.026798857375979424, -0.028045685961842537, -0.0616142712533474, 0.012323196046054363, 0.023892713710665703, -0.02498534880578518, 0.01574423536658287, -0.04009072855114937, 0.015262267552316189, 0.00018144576461054385, 0.004841705318540335, -0.04458463937044144, -0.0035449364222586155, 0.014223982580006123, -0.06252288073301315, -0.053773120045661926, 0.04618239030241966, 0.0032376996241509914, -0.04449845105409622, 0.028982829302549362, 0.025966979563236237, 0.041742611676454544, 0.04059198498725891, 0.01556643657386303, 0.015705186873674393, -0.05452694371342659, -0.013808107003569603, 0.02879825234413147, 0.010477209463715553, 0.010796011425554752, -0.005050562787801027, 0.028785724192857742, 0.05078471824526787, 0.021083705127239227, -0.0038262642920017242, -0.06369516253471375, -0.02470562793314457, 0.016083449125289917, -0.023808656260371208, 0.01362792868167162, 0.011875389143824577, -0.04656948894262314, -0.03924114629626274, -0.012642810121178627, -0.024419177323579788, 0.028397666290402412, -0.03904718905687332, 0.015462958253920078, 0.005086461082100868, 0.02662867307662964, -0.08194331079721451, -0.09186732769012451, -0.03832155466079712, -0.049049004912376404, 0.018933424726128578, 0.04863743111491203, -0.048733726143836975, -0.0032384791411459446, -0.0130618866533041, -0.06085379794239998, 0.04013533890247345, 0.0380576029419899, -0.022616013884544373, 0.0378815159201622, 0.05492319166660309, -0.052970390766859055, 0.04061266407370567, 0.018768832087516785, -0.04178837314248085, 0.01723518595099449, 0.00881128665059805, 0.0033179225865751505, 0.026201382279396057, 0.00870455987751484, -0.009126238524913788, -0.009727975353598595, -0.04753953218460083, -0.012238376773893833, -0.07331527769565582, 0.023833032697439194, 0.04345734417438507 ]
BlindMan820/Sarcastic-News-Headlines
[ "pytorch", "distilbert", "text-classification", "English", "dataset:Kaggle Dataset", "transformers", "Text", "Sequence-Classification", "Sarcasm", "DistilBert" ]
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 } } }
28
null
--- license: apache-2.0 tags: - image-classification - pytorch - onnx datasets: - frgfm/imagenette --- # ReXNet-1.3x model Pretrained on [ImageNette](https://github.com/fastai/imagenette). The ReXNet architecture was introduced in [this paper](https://arxiv.org/pdf/2007.00992.pdf). ## Model description The core idea of the author is to add a customized Squeeze-Excitation layer in the residual blocks that will prevent channel redundancy. ## Installation ### Prerequisites Python 3.6 (or higher) and [pip](https://pip.pypa.io/en/stable/)/[conda](https://docs.conda.io/en/latest/miniconda.html) are required to install Holocron. ### Latest stable release You can install the last stable release of the package using [pypi](https://pypi.org/project/pylocron/) as follows: ```shell pip install pylocron ``` or using [conda](https://anaconda.org/frgfm/pylocron): ```shell conda install -c frgfm pylocron ``` ### Developer mode Alternatively, if you wish to use the latest features of the project that haven't made their way to a release yet, you can install the package from source *(install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) first)*: ```shell git clone https://github.com/frgfm/Holocron.git pip install -e Holocron/. ``` ## Usage instructions ```python from PIL import Image from torchvision.transforms import Compose, ConvertImageDtype, Normalize, PILToTensor, Resize from torchvision.transforms.functional import InterpolationMode from holocron.models import model_from_hf_hub model = model_from_hf_hub("frgfm/rexnet1_3x").eval() img = Image.open(path_to_an_image).convert("RGB") # Preprocessing config = model.default_cfg transform = Compose([ Resize(config['input_shape'][1:], interpolation=InterpolationMode.BILINEAR), PILToTensor(), ConvertImageDtype(torch.float32), Normalize(config['mean'], config['std']) ]) input_tensor = transform(img).unsqueeze(0) # Inference with torch.inference_mode(): output = model(input_tensor) probs = output.squeeze(0).softmax(dim=0) ``` ## Citation Original paper ```bibtex @article{DBLP:journals/corr/abs-2007-00992, author = {Dongyoon Han and Sangdoo Yun and Byeongho Heo and Young Joon Yoo}, title = {ReXNet: Diminishing Representational Bottleneck on Convolutional Neural Network}, journal = {CoRR}, volume = {abs/2007.00992}, year = {2020}, url = {https://arxiv.org/abs/2007.00992}, eprinttype = {arXiv}, eprint = {2007.00992}, timestamp = {Mon, 06 Jul 2020 15:26:01 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-2007-00992.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` Source of this implementation ```bibtex @software{Fernandez_Holocron_2020, author = {Fernandez, François-Guillaume}, month = {5}, title = {{Holocron}}, url = {https://github.com/frgfm/Holocron}, year = {2020} } ```
[ -0.0028464810457080603, -0.019297635182738304, -0.011098597198724747, 0.024007543921470642, 0.028901850804686546, 0.02314113639295101, -0.007497348356992006, -0.01818741485476494, -0.008288121782243252, 0.04103889316320419, 0.05462997406721115, 0.01856841705739498, 0.007824273779988289, 0.023318560793995857, -0.04127676039934158, -0.0421418659389019, -0.034431200474500656, 0.01732083223760128, -0.01356637291610241, 0.011387796141207218, 0.04280395060777664, 0.01464039459824562, -0.0026961921248584986, 0.022297842428088188, 0.012803060933947563, 0.008053314872086048, 0.03147260099649429, 0.027447262778878212, 0.05468553677201271, -0.0657476931810379, 0.017940254881978035, -0.04612146317958832, -0.056411225348711014, -0.020517388358712196, -0.014947849325835705, 0.01118867564946413, 0.02042793110013008, -0.009270443581044674, 0.023357992991805077, 0.0617220476269722, -0.011187830939888954, 0.02380453795194626, -0.03568069264292717, -0.026255084201693535, 0.03799694776535034, 0.001880713040009141, -0.05113520845770836, -0.009960849769413471, 0.022443821653723717, -0.020854942500591278, -0.0626729354262352, -0.05261210724711418, -0.021038349717855453, 0.029936451464891434, -0.04007909446954727, -0.036274753510951996, -0.06811574846506119, 0.0023838039487600327, 0.03632916882634163, -0.03831839561462402, -0.017715634778141975, 0.012019910849630833, -0.06411474198102951, 0.02334066480398178, 0.04713458940386772, -0.01621636003255844, 0.039932701736688614, -0.04505464807152748, -0.011152842082083225, -0.01661122404038906, 0.04701869934797287, -0.0401768796145916, -0.006775454618036747, -0.06743132323026657, -0.006191854365170002, -0.009878118522465229, 0.03030971996486187, 0.02320546656847, -0.035689327865839005, 0.01206990797072649, 0.039447151124477386, -0.013714427128434181, 0.026424160227179527, -0.03333732858300209, -0.023815909400582314, 0.021323187276721, -0.021727005019783974, 0.014072101563215256, 0.028997614979743958, 0.03991703689098358, -0.054574303328990936, -0.015800485387444496, -0.03421790897846222, -0.025546951219439507, 0.0048351651057600975, 0.027323685586452484, 0.06423088163137436, -0.007334162946790457, 0.03471142053604126, 0.0206455048173666, 0.0521373488008976, 0.0192546509206295, -0.01933213323354721, 0.06668999046087265, 0.005701845977455378, -0.026703493669629097, -0.026669340208172798, -0.021896082907915115, -0.06256597489118576, 0.04088844731450081, 0.0677490308880806, -0.03869638592004776, -0.018008656799793243, 0.02039283514022827, -0.006412701215595007, 0.004021079745143652, 0.024753987789154053, -0.028768019750714302, -0.03919940069317818, -0.043169762939214706, 0.035672202706336975, 0.0088268481194973, -0.020061025395989418, 0.003100623143836856, -0.03934137523174286, 0.003306314116343856, -0.03782368823885918, -0.010882503353059292, -0.014968129806220531, 0.001968593103811145, 0.0031896033324301243, 0.027514927089214325, 0.010393446311354637, -0.05155142396688461, -0.005291198380291462, 0.03563838079571724, -0.06659545004367828, 0.05901462584733963, 0.028956960886716843, 0.10150415450334549, -0.0658537819981575, -0.0630204826593399, -0.0003201783692929894, 0.02052287384867668, -0.052685994654893875, 0.017036447301506996, -0.003312857821583748, -0.05264747887849808, -0.033896613866090775, -0.03495161235332489, 0.06259839981794357, -0.0684610977768898, -0.02951880171895027, 0.06826428323984146, -0.012471666559576988, 0.03990200161933899, -0.033451784402132034, -0.005239611957222223, 0.00006940551975276321, 0.022049758583307266, 0.008019359782338142, 0.0557730533182621, -0.013561432249844074, 0.01565311662852764, -0.02078961953520775, -0.059917960315942764, -0.03791305050253868, 0.06950555741786957, -0.018668282777071, -0.030212586745619774, -0.010277935303747654, 0.034689124673604965, 0.01913776993751526, 0.06291039288043976, -0.01576804742217064, 0.05551223084330559, 0.05683455988764763, 0.05570722743868828, -0.02700662426650524, 0.030890241265296936, 0.044333845376968384, -0.04715573042631149, 0.005225630011409521, -0.014464640989899635, 0.0029150708578526974, -0.04709692299365997, 0.017282266169786453, 0.03900383785367012, -0.026492387056350708, -0.041771452873945236, -0.00403008796274662, 0.06478238850831985, 0.027506906539201736, -0.0010749007342383265, 0.0025469947140663862, -0.01981065422296524, -0.01134704053401947, 0.06550250202417374, -0.010826334357261658, 0.0072241961024701595, 0.0009985475335270166, -0.027570050209760666, -0.007484033703804016, -0.010317224077880383, 0.03561300411820412, 0.031707365065813065, 0.011431906372308731, 0.07119077444076538, -0.029650554060935974, 0.028234092518687248, -0.029636528342962265, -0.05808989331126213, -0.012999013997614384, 0.039639730006456375, 0.04737524688243866, 0.026537692174315453, 0.0062925806269049644, -0.060754161328077316, 0.022296855226159096, 0.03957952558994293, 0.041471268981695175, 0.013513481244444847, -0.04417881369590759, 0.004298355430364609, -0.002479101996868849, 0.048931024968624115, -0.054351918399333954, -0.021061787381768227, 0.012475809082388878, -0.009619285352528095, -0.030181879177689552, 0.011547503992915154, -0.024233298376202583, 0.03122311271727085, -0.05807482823729515, -0.062076207250356674, 0.03714068606495857, 0.022888129577040672, 0.008290844969451427, 0.012737931683659554, -0.01518507394939661, 0.015040953643620014, 0.02969972789287567, -0.005861685611307621, -0.007982525043189526, -0.061003897339105606, 0.012911747209727764, 0.04377787187695503, 0.026320958510041237, -0.03615023195743561, 0.055166151374578476, 0.021499786525964737, -0.007622950244694948, 0.026894407346844673, -0.017514629289507866, 0.017216579988598824, 0.08123164623975754, 0.020703280344605446, -0.03448629379272461, 0.0239696204662323, 0.009455971419811249, 0.04029234126210213, 0.06038421764969826, -0.016381649300456047, 0.07598566263914108, -0.007443450391292572, 0.025583993643522263, 0.07080825418233871, 0.006669314112514257, 0.007573380134999752, 0.034757327288389206, 0.10231933742761612, 0.008024490438401699, -0.020666522905230522, 0.07650845497846603, -0.038829267024993896, 0.007957546040415764, -0.0017147185280919075, 0.0031243229750543833, 0.01453780010342598, 0.0011116608511656523, 0.03144950047135353, 0.010473178699612617, -0.02084464207291603, -0.013764545321464539, 0.0020459427032619715, -0.019289853051304817, 0.05207236856222153, -0.018837178125977516, -0.019365189597010612, -0.017166225239634514, -0.00855559203773737, -0.005487893708050251, -0.05427902191877365, -0.03742186725139618, -0.0392942950129509, -0.04771452397108078, -0.01823907345533371, -0.07977607101202011, -0.0022810911759734154, -0.07234517484903336, -0.014240833930671215, 0.048160865902900696, 0.01179612334817648, -0.001399993896484375, -0.04453212022781372, 0.01962617225944996, -0.030104508623480797, -0.03626872971653938, -0.050453606992959976, -0.05726829916238785, -0.037327587604522705, -0.0752432569861412, 0.03115842305123806, 0.0016581721138209105, 0.033515673130750656, -0.008981447666883469, -0.007819568738341331, -0.04548120126128197, -0.022908588871359825, 0.049663301557302475, 0.04824262112379074, -0.025119109079241753, -0.06694266200065613, 0.03422485664486885, -0.02511485293507576, -0.004681976977735758, -0.021855110302567482, -0.024841155856847763, 0.0696452409029007, 0.08340831100940704, 0.004784947261214256, 0.008473023772239685, 0.007594662252813578, -0.04922784864902496, -0.06768914312124252, -0.029767364263534546, -0.016782671213150024, -0.027205105870962143, -0.027622917667031288, -0.04759002849459648, -0.03144237399101257, -0.02339901775121689, -0.03287174552679062, -0.0085123460739851, 0.00013941267388872802, 0.021955719217658043, 0.023640532046556473, 0.04081108793616295, 0.04048436880111694, -0.026944151148200035, -0.048668764531612396, 0.030970251187682152, 0.008069319650530815, -0.04073613882064819, -0.042519792914390564, -0.02110838145017624, 0.012945896945893764, 0.040136441588401794, 0.004908427596092224, -0.013347562402486801, 0.06401846557855606, 0.0348123200237751, -0.021644193679094315, 0.005169995129108429, -0.032522644847631454, -0.015420380048453808, -0.009172650054097176, -0.0032174070365726948, -0.021365072578191757, -0.05087973549962044, -0.012138471938669682, 0.006951808463782072, 0.04915173724293709, -0.05103832855820656, -0.07412569969892502, -0.002224316354840994, 0.015010599978268147, 0.03891756385564804, 0.005207574460655451, -0.034539222717285156, -0.021274950355291367, -0.06992100179195404, -0.006829190067946911, 0.039799343794584274, 0.008833026513457298, 0.021925877779722214, 0.05333184450864792, 0.021591199561953545, 0.014994869939982891, 0.04849848523736, 0.046181533485651016, 0.042101360857486725, 0.009356638416647911, -0.05351027101278305, 0.01197093352675438, -0.0014854521723464131, 0.01849779486656189, 0.031762488186359406, -0.01633235067129135, -0.032144732773303986, -0.09800328314304352, 0.00166635075584054, 0.027338754385709763, 0.014177413657307625, -0.024794546887278557, 0.019343331456184387, -0.01048220880329609, -0.03395955264568329, -0.006591432262212038, 0.0008782077929936349, 0.04873142018914223, -0.04958266764879227, 0.06895877420902252, -0.010763168334960938, 0.04045844450592995, -0.023305116221308708, 0.02641449123620987, -0.026148362085223198, -0.0328884981572628, 0.012603933922946453, 0.057988159358501434, 0.054613400250673294, 0.029508769512176514, 0.072930708527565, 0.01405324786901474, -0.018252117559313774, 0.022406188771128654, 0.010883115231990814, -0.01856803335249424, -0.052107155323028564, -0.01974191516637802, -0.005042325705289841, 0.01474375557154417, -0.04280279576778412, -0.004104173742234707, 0.05686818063259125, 0.04988100379705429, -0.01383519172668457, -0.014442444778978825, 0.008718281984329224, 0.002564061665907502, -0.017702791839838028, -0.04655854031443596, 0.0031125869136303663, 0.0012089291121810675, -0.01901475340127945, -0.01543960440903902, 0.026811685413122177, -0.0010526877595111728, 0.026327256113290787, 0.029579030349850655, -0.02750767022371292, -0.04293572157621384, 0.03036443330347538, 0.028379827737808228, -0.033362966030836105, -0.07804620265960693, -0.015103006735444069, 0.01463010162115097, 0.011618348769843578, -0.008484771475195885, -0.07757940143346786, -0.0178927443921566, 0.05013125389814377, -0.04050402715802193, 0.08930350840091705, 0.041903745383024216, 0.04352801665663719, 0.06124319136142731, -0.021196750923991203, 0.04269033297896385, -0.052198026329278946, 0.0015437670517712831, 0.008423161692917347, 0.041455596685409546, 0.014349965378642082, -0.027477335184812546, -0.04183662682771683, 0.016809623688459396, 0.03529687225818634, 0.049195632338523865, 0.0005562595906667411, -0.057318635284900665, -0.0693880021572113, -0.028761515393853188, 0.07037105411291122, -0.03742283582687378, 0.03235147148370743, 0.024496756494045258, 0.04512976482510567, -0.04768361151218414, -0.051925864070653915, -0.02967853844165802, -0.017557796090841293, 0.052670348435640335, -0.0046350485645234585, -0.04524928331375122, -0.043784819543361664, 0.020492928102612495, 0.003429194213822484, -0.00367368315346539, -0.09993336349725723, 0.015049703419208527, -0.004317285493016243, 0.00024717015912756324, 0.05635813623666763, 0.017863381654024124, 0.054535772651433945, 0.06150883436203003, 0.0218508243560791, 0.04708777740597725, -0.05148601904511452, 0.04970575124025345, -0.05675575137138367, -0.0216378141194582, 0.015957318246364594, -0.01576947793364525, -0.037348054349422455, -0.01806994155049324, -0.031898144632577896, -0.014651443809270859, -0.015583515167236328, 0.008527109399437904, 0.0008323934744112194, -0.012504806742072105, -0.019321933388710022, 0.034172940999269485, -0.009235378354787827, -0.035019345581531525, -0.03641488030552864, -0.008539765141904354, -0.041581012308597565, -0.037496838718652725, 0.03815670683979988, -0.017969569191336632, 0.03843757137656212, 0.03575652465224266, 0.019089829176664352, 0.03468591719865799, 0.023579299449920654, -0.033350203186273575, 0.043772898614406586, 0.0022710179910063744, -0.017459038645029068, -0.015305676497519016, 0.017929065972566605, 0.0060770753771066666, 0.08348681032657623, -0.03454514220356941, 0.05255502462387085, 0.01110592670738697, 0.023690974339842796, -0.007214694283902645, 0.002357414923608303, -0.016595488414168358, -0.05898069217801094, -0.028736021369695663, 0.017538778483867645, -0.044283170253038406, 0.02697395719587803, -0.026553567498922348, -0.010885226540267467, 0.0347292423248291, 0.011704115197062492, 0.04308093711733818, -0.01863580197095871, -0.038830842822790146, 0.02359260432422161, -0.03921966254711151, 0.03054717741906643, -0.04590115323662758, 0.013738095760345459, -0.043785419315099716, 0.008183950558304787, 0.009687875397503376, 0.028743507340550423, -0.04643142223358154, 0.025409989058971405, -0.0018163161585107446, -0.000876548932865262, -0.03999901935458183, 0.007099580485373735, -0.03467254713177681, 0.04073227941989899, 0.0033052933868020773, 0.01963874325156212, -0.03476854786276817, 0.041526760905981064, -0.05592501908540726, 0.010435846634209156, -0.01969510316848755, 0.026025451719760895, -0.056283652782440186, 0.006955245044082403, -0.027253158390522003, -0.029441701248288155, 0.016538551077246666, 0.04916488751769066, 0.039613403379917145, -0.012274518609046936, -0.03379909321665764, 0.01499911304563284, 0.021894147619605064, -0.05638178065419197, -0.036809347569942474, 0.014284245669841766, -0.025606002658605576, -0.02267872355878353, 0.02053670957684517, 0.046741586178541183, -0.05789390951395035, -0.07928285002708435, 0.06441552937030792, 0.02571343444287777, 0.013923327438533306, -0.023328872397542, 0.020696334540843964, -0.0025837053544819355, 0.06163022667169571, -0.03175833448767662, 0.002818299224600196, 0.0037661048118025064, -0.020653890445828438, 0.012680841609835625, -0.014934840612113476, 0.0498042106628418, -0.0018978541484102607, -0.020811326801776886, -0.00828127097338438, 0.09156645834445953, 0.047549035400152206, 0.03487182781100273, -0.012610092759132385, -0.040960509330034256, 0.038642290979623795, 0.015766872093081474, -0.055155690759420395, 0.00854442361742258, 0.01836775615811348, -0.04947121813893318, 0.07469598948955536, 0.0004271285142749548, 0.03694508224725723, 0.0173774603754282, 0.049369871616363525, -0.02790054865181446, 0.04636521637439728, -0.05687957629561424, 0.05211438611149788, 0.04467335715889931, -0.04279596358537674, -0.010670368559658527, -0.05261760577559471, 0.048001497983932495, -0.047368090599775314, 0.03324272111058235, 0.023242564871907234, -0.01373035367578268, -0.006515646353363991, -0.029740547761321068, -0.060028184205293655, 0.030775368213653564, -0.06013640761375427, 0.06725486367940903, 0.004987005144357681, -0.05428040027618408, 0.06300616264343262, 0.00028134853346273303, -0.08542893081903458, 0.03408724442124367, 0.03179154545068741, 0.014018649235367775, 0.020772477611899376, 0.04689550772309303, -0.04354693368077278, 0.008646240457892418, -0.06524433940649033, 0.0409163236618042, -0.036892808973789215, 0.011368846520781517, 0.01904771290719509, -0.02183595858514309, -0.00596209242939949, 0.04812297224998474, -0.00388440303504467, 0.016499852761626244, 0.019334282726049423, -0.03806930407881737, -0.051576048135757446, 0.016026122495532036, 0.03854682669043541, -0.029884230345487595, 0.016593661159276962, -0.017456943169236183, 0.005221065133810043, 0.020440643653273582, 0.006561576388776302, -0.04277196526527405, -0.00896111223846674, 0.010302034206688404, -0.07014163583517075, -0.05349905416369438, 0.02627730928361416, 0.02057148702442646, -0.03101956844329834, 0.0380612388253212, 0.017649637535214424, 0.044482022523880005, 0.041569460183382034, 0.004387237131595612, 0.02031608298420906, -0.05448995158076286, -0.004807060118764639, 0.01939689740538597, 0.02046714723110199, 0.02334829792380333, 0.003111850470304489, 0.04590975493192673, 0.044447463005781174, 0.024467669427394867, -0.005000889301300049, -0.04599955677986145, -0.037532731890678406, 0.025520553812384605, -0.023595429956912994, 0.04287129268050194, 0.010518926195800304, -0.036329932510852814, -0.036500949412584305, -0.001120262430049479, -0.025087015703320503, 0.021068144589662552, -0.04050792381167412, 0.025329194962978363, 0.02014581300318241, 0.01882307231426239, -0.07633303105831146, -0.09862641990184784, -0.025610068812966347, -0.04345329478383064, 0.028749270364642143, 0.060842953622341156, -0.04931854456663132, -0.0012185440864413977, -0.012254677712917328, -0.0472760833799839, 0.0465051643550396, 0.014594970270991325, -0.03738714009523392, 0.04213833436369896, 0.07554996013641357, -0.05649527534842491, 0.03305940702557564, 0.015677757561206818, -0.04897301271557808, 0.03581266105175018, 0.003922163508832455, 0.009724977426230907, 0.016209203749895096, 0.003965998999774456, -0.013399073854088783, -0.012834569439291954, -0.037234507501125336, -0.015947509557008743, -0.06941960752010345, 0.011263121850788593, 0.0555356964468956 ]
BlueGamerBeast/DialoGPT-small-Morgana
[ "pytorch", "gpt2", "text-generation", "transformers", "conversational" ]
conversational
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": 1000 }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": null, "max_length": null }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
12
null
--- license: apache-2.0 tags: - image-classification - pytorch - onnx datasets: - frgfm/imagenette --- # ReXNet-2.0x model Pretrained on [ImageNette](https://github.com/fastai/imagenette). The ReXNet architecture was introduced in [this paper](https://arxiv.org/pdf/2007.00992.pdf). ## Model description The core idea of the author is to add a customized Squeeze-Excitation layer in the residual blocks that will prevent channel redundancy. ## Installation ### Prerequisites Python 3.6 (or higher) and [pip](https://pip.pypa.io/en/stable/)/[conda](https://docs.conda.io/en/latest/miniconda.html) are required to install Holocron. ### Latest stable release You can install the last stable release of the package using [pypi](https://pypi.org/project/pylocron/) as follows: ```shell pip install pylocron ``` or using [conda](https://anaconda.org/frgfm/pylocron): ```shell conda install -c frgfm pylocron ``` ### Developer mode Alternatively, if you wish to use the latest features of the project that haven't made their way to a release yet, you can install the package from source *(install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) first)*: ```shell git clone https://github.com/frgfm/Holocron.git pip install -e Holocron/. ``` ## Usage instructions ```python from PIL import Image from torchvision.transforms import Compose, ConvertImageDtype, Normalize, PILToTensor, Resize from torchvision.transforms.functional import InterpolationMode from holocron.models import model_from_hf_hub model = model_from_hf_hub("frgfm/rexnet2_0x").eval() img = Image.open(path_to_an_image).convert("RGB") # Preprocessing config = model.default_cfg transform = Compose([ Resize(config['input_shape'][1:], interpolation=InterpolationMode.BILINEAR), PILToTensor(), ConvertImageDtype(torch.float32), Normalize(config['mean'], config['std']) ]) input_tensor = transform(img).unsqueeze(0) # Inference with torch.inference_mode(): output = model(input_tensor) probs = output.squeeze(0).softmax(dim=0) ``` ## Citation Original paper ```bibtex @article{DBLP:journals/corr/abs-2007-00992, author = {Dongyoon Han and Sangdoo Yun and Byeongho Heo and Young Joon Yoo}, title = {ReXNet: Diminishing Representational Bottleneck on Convolutional Neural Network}, journal = {CoRR}, volume = {abs/2007.00992}, year = {2020}, url = {https://arxiv.org/abs/2007.00992}, eprinttype = {arXiv}, eprint = {2007.00992}, timestamp = {Mon, 06 Jul 2020 15:26:01 +0200}, biburl = {https://dblp.org/rec/journals/corr/abs-2007-00992.bib}, bibsource = {dblp computer science bibliography, https://dblp.org} } ``` Source of this implementation ```bibtex @software{Fernandez_Holocron_2020, author = {Fernandez, François-Guillaume}, month = {5}, title = {{Holocron}}, url = {https://github.com/frgfm/Holocron}, year = {2020} } ```
[ -0.0026180956047028303, -0.019284261390566826, -0.010626249015331268, 0.023679442703723907, 0.02878176048398018, 0.022391729056835175, -0.007257004268467426, -0.017393099144101143, -0.00824747048318386, 0.04176821932196617, 0.05462563410401344, 0.019004743546247482, 0.007703553419560194, 0.023208940401673317, -0.041493747383356094, -0.042329806834459305, -0.034096453338861465, 0.016847752034664154, -0.01318378932774067, 0.011016144417226315, 0.0430993027985096, 0.014226439408957958, -0.0029175211675465107, 0.0226028673350811, 0.013363438658416271, 0.00789179839193821, 0.031012805178761482, 0.027007384225726128, 0.05511973798274994, -0.06583188474178314, 0.016971496865153313, -0.045688848942518234, -0.056702420115470886, -0.02051977999508381, -0.01475853007286787, 0.010492078959941864, 0.020596420392394066, -0.009346632286906242, 0.023127546533942223, 0.06124269589781761, -0.011566012166440487, 0.024296151474118233, -0.036037273705005646, -0.02600983716547489, 0.039060503244400024, 0.0015403315192088485, -0.05153420567512512, -0.010070308111608028, 0.022757451981306076, -0.020484529435634613, -0.06342878937721252, -0.05265028774738312, -0.02101985551416874, 0.029123295098543167, -0.040335964411497116, -0.03681572526693344, -0.06744520366191864, 0.0019341004081070423, 0.03644511103630066, -0.03880747780203819, -0.01812213473021984, 0.011301006190478802, -0.06401870399713516, 0.023014511913061142, 0.04666968807578087, -0.016781717538833618, 0.03986058756709099, -0.04545658454298973, -0.01123945601284504, -0.017295900732278824, 0.04781237989664078, -0.03999779373407364, -0.006730756256729364, -0.06821694225072861, -0.0066039371304214, -0.009752271696925163, 0.03025650605559349, 0.023329783231019974, -0.03489815816283226, 0.012184531427919865, 0.03951185941696167, -0.012918677181005478, 0.02631404995918274, -0.03290553018450737, -0.023639293387532234, 0.021283740177750587, -0.02179354801774025, 0.014255263842642307, 0.029444387182593346, 0.039571233093738556, -0.05466156080365181, -0.015471872873604298, -0.03427013382315636, -0.025361809879541397, 0.004673586692661047, 0.026459526270627975, 0.06394568085670471, -0.0072173019871115685, 0.03433774411678314, 0.020437180995941162, 0.0513998344540596, 0.018971890211105347, -0.019796157255768776, 0.06689690053462982, 0.005564602557569742, -0.026881908997893333, -0.026697617024183273, -0.021608563140034676, -0.06314239650964737, 0.040955983102321625, 0.06730550527572632, -0.03833158686757088, -0.018255548551678658, 0.020608969032764435, -0.007056583184748888, 0.004672549199312925, 0.024720273911952972, -0.028381019830703735, -0.03932145610451698, -0.043928977102041245, 0.03645448759198189, 0.008643599227070808, -0.020522410050034523, 0.0039454372599720955, -0.039451830089092255, 0.002614385448396206, -0.037633709609508514, -0.010955155827105045, -0.014756391756236553, 0.002166806487366557, 0.00300343194976449, 0.027025006711483, 0.009692447260022163, -0.05120690166950226, -0.0046347081661224365, 0.03590654209256172, -0.06740786880254745, 0.05842067673802376, 0.02919977344572544, 0.10154275596141815, -0.06564418226480484, -0.06256670504808426, -0.000965065264608711, 0.019894491881132126, -0.053175490349531174, 0.017124967649579048, -0.003895254572853446, -0.05247163027524948, -0.0335555337369442, -0.03555815666913986, 0.06278443336486816, -0.06910396367311478, -0.029426615685224533, 0.06843838095664978, -0.011848513968288898, 0.04032595083117485, -0.03328993171453476, -0.005424100905656815, 0.00036150478990748525, 0.021425791084766388, 0.007664673961699009, 0.055286236107349396, -0.013009832240641117, 0.015330996364355087, -0.020631613209843636, -0.05945374444127083, -0.038229137659072876, 0.06894293427467346, -0.018187176436185837, -0.030024126172065735, -0.01049855351448059, 0.0353427417576313, 0.019844500347971916, 0.06313425302505493, -0.015259322710335255, 0.0553293451666832, 0.057328686118125916, 0.05553296208381653, -0.02692404016852379, 0.031759828329086304, 0.04479725658893585, -0.04669924080371857, 0.004830090329051018, -0.015364333987236023, 0.0027520647272467613, -0.04668477922677994, 0.01733577251434326, 0.037901654839515686, -0.02684486098587513, -0.04191173240542412, -0.0034325106535106897, 0.06458255648612976, 0.027584021911025047, -0.0015068193897604942, 0.001931190025061369, -0.01919737085700035, -0.011730029247701168, 0.06570819765329361, -0.01093093678355217, 0.006785663776099682, 0.0007628454477526248, -0.027496274560689926, -0.007458812557160854, -0.010145982727408409, 0.03578291833400726, 0.031235333532094955, 0.011318095028400421, 0.07091177254915237, -0.029551232233643532, 0.028297152370214462, -0.02945554628968239, -0.057521577924489975, -0.013768493197858334, 0.03987305983901024, 0.04631830006837845, 0.027004824951291084, 0.0058684032410383224, -0.060397930443286896, 0.022255584597587585, 0.03958120197057724, 0.04154230281710625, 0.01411181129515171, -0.04413459077477455, 0.0038383749779313803, -0.002449710387736559, 0.04900449514389038, -0.054186709225177765, -0.021182380616664886, 0.012566645629703999, -0.008463531732559204, -0.030323266983032227, 0.010529865510761738, -0.02413695864379406, 0.030750861391425133, -0.058319494128227234, -0.06213190034031868, 0.036465998739004135, 0.022704897448420525, 0.00802610907703638, 0.013000134378671646, -0.014880318194627762, 0.014789430424571037, 0.029856963083148003, -0.006299241911619902, -0.0076364572159945965, -0.06129186227917671, 0.01292713638395071, 0.044376444071531296, 0.027209676802158356, -0.03620372712612152, 0.0549364797770977, 0.021412545815110207, -0.008174575865268707, 0.02685103565454483, -0.017704160884022713, 0.01773950830101967, 0.0806785374879837, 0.021858740597963333, -0.0336555577814579, 0.024645239114761353, 0.009180020540952682, 0.03973480314016342, 0.06012739986181259, -0.016101673245429993, 0.07663453370332718, -0.007626130245625973, 0.02582402713596821, 0.07027890533208847, 0.006948165129870176, 0.0075716543942689896, 0.034961819648742676, 0.1023518294095993, 0.008271675556898117, -0.020527422428131104, 0.07670046389102936, -0.038607534021139145, 0.008188636042177677, -0.0018573279958218336, 0.00319089787080884, 0.014164166525006294, 0.0008601141162216663, 0.031455375254154205, 0.010251429863274097, -0.020659374073147774, -0.013234215788543224, 0.0026277066208422184, -0.019141994416713715, 0.05182147026062012, -0.018296467140316963, -0.019867677241563797, -0.017112266272306442, -0.008168887346982956, -0.00505543639883399, -0.053886521607637405, -0.03806363791227341, -0.03893643617630005, -0.047646887600421906, -0.018265139311552048, -0.07978937029838562, -0.00258953170850873, -0.07315052300691605, -0.014730838127434254, 0.04864540696144104, 0.012143176048994064, -0.0016143590910360217, -0.044525306671857834, 0.019044965505599976, -0.03020026534795761, -0.03671737387776375, -0.04972868040204048, -0.0579659566283226, -0.03724432736635208, -0.07471491396427155, 0.031122680753469467, 0.0018558840965852141, 0.03374461829662323, -0.008642343804240227, -0.007999720983207226, -0.04530284181237221, -0.023047419264912605, 0.050419073551893234, 0.04777297377586365, -0.025021130219101906, -0.06676854938268661, 0.034246426075696945, -0.024914635345339775, -0.004872885998338461, -0.02171768620610237, -0.025394275784492493, 0.06990161538124084, 0.08299051225185394, 0.005176757927983999, 0.00855910126119852, 0.007393980864435434, -0.04915238916873932, -0.06692780554294586, -0.030143151059746742, -0.01706518605351448, -0.027664318680763245, -0.027620334178209305, -0.04753437638282776, -0.03131122887134552, -0.023399794474244118, -0.03341314569115639, -0.008495287038385868, -0.00025327305775135756, 0.022212734445929527, 0.0237490925937891, 0.04096166044473648, 0.04012114927172661, -0.026946576312184334, -0.048678308725357056, 0.03124627098441124, 0.007454897742718458, -0.041033510118722916, -0.04265768453478813, -0.020429763942956924, 0.01237292867153883, 0.03932074084877968, 0.005118035711348057, -0.013355006463825703, 0.0637059137225151, 0.03427330031991005, -0.02133674919605255, 0.005805677268654108, -0.03270977362990379, -0.015196231193840504, -0.010154576040804386, -0.0032565174624323845, -0.02122313529253006, -0.0508410818874836, -0.011586125008761883, 0.006998107302933931, 0.048435699194669724, -0.05180078372359276, -0.07468578219413757, -0.0029004544485360384, 0.014939067885279655, 0.039274878799915314, 0.005182061810046434, -0.035157863050699234, -0.021578148007392883, -0.06985117495059967, -0.007201220840215683, 0.03981928527355194, 0.0093528488650918, 0.02188810333609581, 0.052922844886779785, 0.021819885820150375, 0.014357496052980423, 0.04852556437253952, 0.04671594500541687, 0.04206286370754242, 0.009749162942171097, -0.05294496938586235, 0.01186869665980339, -0.0012837913818657398, 0.018702307716012, 0.03218024969100952, -0.01621449738740921, -0.032252777367830276, -0.09844179451465607, 0.002044043270871043, 0.027497462928295135, 0.014591186307370663, -0.024658730253577232, 0.019725069403648376, -0.011189150623977184, -0.033621542155742645, -0.006878259591758251, 0.00125502934679389, 0.049395233392715454, -0.04909402132034302, 0.06873749941587448, -0.010417952202260494, 0.04009086638689041, -0.02296457253396511, 0.02607470378279686, -0.02636285312473774, -0.03260476514697075, 0.012530322186648846, 0.058342453092336655, 0.05447498708963394, 0.0291859433054924, 0.07262818515300751, 0.014068531803786755, -0.017020463943481445, 0.02282525971531868, 0.01168137788772583, -0.018602358177304268, -0.052675243467092514, -0.02019747719168663, -0.0045930142514407635, 0.01405342761427164, -0.042475707828998566, -0.0041026221588253975, 0.057251907885074615, 0.04997451975941658, -0.014063543640077114, -0.01451876200735569, 0.008639860898256302, 0.002562853042036295, -0.017765548080205917, -0.04704246670007706, 0.003387014614418149, 0.0008596937404945493, -0.019923603162169456, -0.015293224714696407, 0.026747319847345352, -0.0012447783956304193, 0.026443207636475563, 0.02898315154016018, -0.02717544697225094, -0.04356034845113754, 0.030424457043409348, 0.028317980468273163, -0.033285804092884064, -0.07835541665554047, -0.015475225634872913, 0.015081308782100677, 0.01170782744884491, -0.008920842781662941, -0.07805836200714111, -0.01749611087143421, 0.04950728639960289, -0.04140336439013481, 0.08965597301721573, 0.042269133031368256, 0.04345683753490448, 0.060704056173563004, -0.021463988348841667, 0.04280276969075203, -0.05216004326939583, 0.0011436482891440392, 0.008042436093091965, 0.04164856672286987, 0.014558140188455582, -0.027464430779218674, -0.04191780462861061, 0.016279902309179306, 0.03481042757630348, 0.049659453332424164, 0.0005989568890072405, -0.0574699230492115, -0.07009204477071762, -0.028708171099424362, 0.07002454251050949, -0.03727874904870987, 0.03197448328137398, 0.024157941341400146, 0.04547996073961258, -0.04790728911757469, -0.051004763692617416, -0.029876738786697388, -0.01755683310329914, 0.0520608089864254, -0.0044505903497338295, -0.04497651383280754, -0.043645091354846954, 0.020515160635113716, 0.003250661538913846, -0.0037953013088554144, -0.100278340280056, 0.015508190728724003, -0.004356584511697292, 0.0005064404103904963, 0.056179869920015335, 0.018010443076491356, 0.05492476001381874, 0.061765704303979874, 0.021450476720929146, 0.047332584857940674, -0.050683218985795975, 0.049516357481479645, -0.057036545127630234, -0.022046750411391258, 0.01640339009463787, -0.015843529254198074, -0.037492960691452026, -0.018169164657592773, -0.03187118098139763, -0.014738496392965317, -0.01512984186410904, 0.008359652012586594, 0.00138258864171803, -0.01230729091912508, -0.018460452556610107, 0.03339339792728424, -0.009517018683254719, -0.03491208329796791, -0.03613942116498947, -0.008214709348976612, -0.04233787953853607, -0.03778217360377312, 0.03818618133664131, -0.018420998007059097, 0.03886401280760765, 0.035811569541692734, 0.01953027956187725, 0.0351928249001503, 0.023323524743318558, -0.03280281648039818, 0.04296902194619179, 0.0027392797637730837, -0.017858607694506645, -0.015676848590373993, 0.018121987581253052, 0.005609773099422455, 0.08300439268350601, -0.03498699143528938, 0.051874443888664246, 0.01094332430511713, 0.023655422031879425, -0.00685107009485364, 0.0029627077747136354, -0.016873694956302643, -0.058420609682798386, -0.027975285425782204, 0.016497569158673286, -0.04477309808135033, 0.02690485306084156, -0.02613932639360428, -0.010249112732708454, 0.034534938633441925, 0.012287200428545475, 0.043061982840299606, -0.018952127546072006, -0.039312202483415604, 0.023469412699341774, -0.039522435516119, 0.030667925253510475, -0.04600085690617561, 0.014416011050343513, -0.043205175548791885, 0.007801387924700975, 0.010339255444705486, 0.028959017246961594, -0.04614550992846489, 0.025723587721586227, -0.0013463045470416546, -0.0007379321614280343, -0.040708135813474655, 0.006538569461554289, -0.03431884944438934, 0.04092063754796982, 0.004097828641533852, 0.019522862508893013, -0.0343795120716095, 0.040561504662036896, -0.056627605110406876, 0.01069593895226717, -0.019747955724596977, 0.02610813081264496, -0.055655721575021744, 0.006213589571416378, -0.027435097843408585, -0.02965896762907505, 0.016212277114391327, 0.049085233360528946, 0.03901145979762077, -0.012800985015928745, -0.034224722534418106, 0.015337251126766205, 0.02287236601114273, -0.0565396323800087, -0.03669073060154915, 0.014193247072398663, -0.025497358292341232, -0.02227840945124626, 0.021052146330475807, 0.04687467962503433, -0.057670801877975464, -0.07859881967306137, 0.06473275274038315, 0.025690536946058273, 0.013975000940263271, -0.02342960610985756, 0.02072293870151043, -0.001192373689264059, 0.061298396438360214, -0.03179987519979477, 0.003377630840986967, 0.004651703406125307, -0.02006693370640278, 0.012233026325702667, -0.015193115919828415, 0.04933192580938339, -0.0020426593255251646, -0.021122317761182785, -0.007874962873756886, 0.09135168045759201, 0.047474078834056854, 0.03476325422525406, -0.012655767612159252, -0.040725309401750565, 0.03880104795098305, 0.01562563329935074, -0.055106211453676224, 0.008151112124323845, 0.01875149831175804, -0.0495014563202858, 0.07403000444173813, -0.0002176138514187187, 0.03605751320719719, 0.017356475815176964, 0.04939646273851395, -0.02803296595811844, 0.04634227976202965, -0.057074736803770065, 0.05181647092103958, 0.044883135706186295, -0.041697267442941666, -0.010615804232656956, -0.05251578614115715, 0.048007041215896606, -0.04745772108435631, 0.03301764652132988, 0.02355434000492096, -0.013854585587978363, -0.006019466556608677, -0.030141763389110565, -0.06072298064827919, 0.030190978199243546, -0.06104109436273575, 0.06786958128213882, 0.004556396510452032, -0.05453937128186226, 0.06286824494600296, 0.0006317705265246332, -0.08560668677091599, 0.034373849630355835, 0.03123120777308941, 0.0144753223285079, 0.020041394978761673, 0.0473497211933136, -0.04344600439071655, 0.009148180484771729, -0.06500006467103958, 0.040911804884672165, -0.03808542340993881, 0.011042214930057526, 0.01831843890249729, -0.022069992497563362, -0.005537623539566994, 0.04751047492027283, -0.004656344186514616, 0.016576558351516724, 0.018279433250427246, -0.03831544145941734, -0.05162884294986725, 0.0164191797375679, 0.038263458758592606, -0.029330795630812645, 0.017593497410416603, -0.01772695779800415, 0.005607408471405506, 0.020755814388394356, 0.005532760638743639, -0.04311063140630722, -0.008623392321169376, 0.009861409664154053, -0.07070984691381454, -0.0536423996090889, 0.02629731222987175, 0.020434733480215073, -0.03064919449388981, 0.03685033321380615, 0.018136553466320038, 0.04506806656718254, 0.041609182953834534, 0.004708689637482166, 0.019898395985364914, -0.05481414869427681, -0.0045235250145196915, 0.019348572939634323, 0.020471414551138878, 0.022886546328663826, 0.003288161475211382, 0.045724429190158844, 0.044815484434366226, 0.02490457147359848, -0.0057091619819402695, -0.045760929584503174, -0.03736688196659088, 0.02483484521508217, -0.024224067106842995, 0.0439094714820385, 0.01067837979644537, -0.03687111660838127, -0.03652248904109001, -0.0009674382745288312, -0.02485419064760208, 0.02092968486249447, -0.03963690623641014, 0.025481151416897774, 0.02030673436820507, 0.018115485087037086, -0.0763896256685257, -0.09898556768894196, -0.02555292285978794, -0.04311870411038399, 0.029378186911344528, 0.061005182564258575, -0.04951578751206398, -0.0014843737008050084, -0.01214446872472763, -0.04725317284464836, 0.046842291951179504, 0.014030546881258488, -0.03779638186097145, 0.0427120141685009, 0.07568090409040451, -0.05670337378978729, 0.03309553489089012, 0.01527694333344698, -0.048676058650016785, 0.035362597554922104, 0.00404485035687685, 0.0103519381955266, 0.016222771257162094, 0.004376874305307865, -0.013031245209276676, -0.012291131541132927, -0.03694739192724228, -0.015953168272972107, -0.0694291889667511, 0.01113496720790863, 0.055693019181489944 ]
BritishLibraryLabs/bl-books-genre
[ "pytorch", "distilbert", "text-classification", "multilingual", "dataset:blbooksgenre", "transformers", "genre", "books", "library", "historic", "glam ", "lam", "license:mit", "has_space" ]
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 } } }
76
null
--- tags: - glove - gensim - fse --- # Glove Twitter Pre-trained glove vectors based on 2B tweets, 27B tokens, 1.2M vocab, uncased. Read more: * https://nlp.stanford.edu/projects/glove/ * https://nlp.stanford.edu/pubs/glove.pdf
[ -0.010014419443905354, -0.011715756729245186, 0.007959948852658272, 0.028437156230211258, 0.03912724554538727, 0.028753072023391724, -0.022443819791078568, -0.00991705060005188, -0.03660999611020088, 0.008955348283052444, 0.02480316534638405, 0.011584823951125145, 0.015188630670309067, 0.022909821942448616, 0.006559974048286676, -0.0161935705691576, -0.034187883138656616, -0.008269990794360638, -0.037666331976652145, 0.022035112604498863, 0.004433936905115843, -0.008696133270859718, -0.006181827746331692, 0.012281092815101147, 0.03033442609012127, 0.03770710900425911, -0.002825087169185281, 0.005893295630812645, 0.020048407837748528, -0.04735264554619789, -0.00008668187365401536, -0.02161976881325245, -0.022811943665146828, -0.01333173643797636, 0.0010658057872205973, -0.01771804504096508, 0.02991684153676033, 0.004332700278609991, 0.017602859064936638, 0.03646448999643326, 0.01414913684129715, 0.016782203689217567, 0.009965856559574604, -0.0412675179541111, 0.04286377131938934, -0.029811091721057892, -0.050770752131938934, 0.014364860020577908, 0.003905025077983737, -0.035845912992954254, -0.06018805131316185, -0.060070883482694626, -0.041767001152038574, -0.009490476921200752, -0.01630403846502304, -0.05523921921849251, -0.05523645505309105, -0.018477512523531914, 0.05494426563382149, -0.034701552242040634, -0.013392305932939053, -0.00725772837176919, -0.06455332040786743, 0.015934452414512634, 0.023517875000834465, -0.02984917350113392, -0.013339702039957047, -0.06192277744412422, 0.0007897592149674892, -0.00030160395544953644, 0.06978796422481537, -0.04103061184287071, 0.016664069145917892, -0.0970100462436676, 0.0037092717830091715, -0.009557039476931095, 0.029684903100132942, 0.05990135669708252, -0.053660038858652115, 0.040803030133247375, 0.049436744302511215, 0.0017423350363969803, 0.06151711568236351, 0.00921433325856924, -0.01117213536053896, 0.029829302802681923, -0.04861792176961899, 0.032356321811676025, 0.0133431451395154, 0.041225846856832504, 0.009236875921487808, -0.03397826477885246, 0.0023764234501868486, -0.018024984747171402, -0.0524638406932354, 0.009824976325035095, 0.029517559334635735, -0.003591948887333274, 0.015018820762634277, 0.02315942570567131, 0.03967289626598358, 0.015773389488458633, -0.02685483545064926, 0.05085109546780586, 0.01298544555902481, -0.007168179843574762, 0.008476226590573788, -0.029149826616048813, -0.053202252835035324, 0.03701169416308403, 0.005975340027362108, -0.05070478096604347, -0.03832793980836868, 0.03594580665230751, 0.003638739697635174, 0.002752256114035845, 0.07461552321910858, -0.02666688896715641, -0.008993354625999928, -0.015191854909062386, 0.052477240562438965, 0.013463274575769901, 0.0019033479038625956, -0.019325118511915207, -0.060078300535678864, 0.004683039151132107, -0.012637089937925339, -0.011272426694631577, 0.010688009671866894, 0.023838769644498825, -0.023592455312609673, 0.0383475236594677, -0.007934445515275002, -0.04744629189372063, 0.013773676939308643, 0.03950779512524605, -0.062174614518880844, -0.0027678317856043577, 0.03035859391093254, 0.10859812796115875, -0.08023528754711151, -0.053726814687252045, 0.010424649342894554, 0.007417756132781506, -0.03805971518158913, -0.0065075187012553215, 0.055267009884119034, -0.03178158402442932, -0.03860294073820114, -0.032848209142684937, 0.03375042602419853, -0.04572801664471626, -0.005337351001799107, 0.07620923966169357, 0.008385407738387585, -0.008882241323590279, -0.0439334474503994, 0.012720088474452496, 0.006930038332939148, -0.015817511826753616, -0.043952904641628265, 0.05876469612121582, -0.0023437326308339834, -0.012774880044162273, -0.031247248873114586, -0.06480000913143158, 0.0015676108887419105, 0.06738976389169693, 0.014546014368534088, -0.012676247395575047, -0.029247963801026344, -0.0021063925232738256, 0.038752950727939606, 0.02815597876906395, -0.00261339801363647, 0.02894577570259571, 0.03471439704298973, 0.04856039956212044, -0.03216724470257759, 0.026533564552664757, 0.035600949078798294, -0.047504693269729614, -0.05045204237103462, -0.01010952889919281, 0.016113048419356346, -0.026169544085860252, -0.0011464135022833943, 0.06057490035891533, -0.009938177652657032, -0.06297706812620163, 0.017536096274852753, 0.053118687123060226, -0.03405477851629257, -0.013419628143310547, -0.010238932445645332, -0.0013280982384458184, -0.02266661636531353, 0.03025626949965954, -0.02156912162899971, -0.013309445232152939, -0.01824241876602173, -0.041518062353134155, 0.018174607306718826, 0.03228854387998581, -0.0036452459171414375, 0.019597312435507774, 0.000610323331784457, 0.08440063148736954, -0.03955318406224251, 0.010077361948788166, -0.049829740077257156, -0.050674233585596085, -0.06731525808572769, 0.06608407199382782, 0.03303276374936104, 0.01773141138255596, -0.029577314853668213, -0.03624876216053963, 0.025470545515418053, 0.06941007077693939, 0.027526840567588806, -0.020233232527971268, -0.046873968094587326, 0.01933385245501995, 0.04923573508858681, 0.04338839650154114, -0.03177151829004288, -0.030473485589027405, 0.037338986992836, 0.03404561057686806, -0.017720544710755348, -0.003427366726100445, -0.03625927120447159, -0.004929651971906424, -0.025273319333791733, -0.07847701013088226, 0.031018640846014023, 0.04569749906659126, 0.009776691906154156, 0.0017580838175490499, -0.021936772391200066, -0.0025298825930804014, 0.035232722759246826, 0.011018801480531693, 0.030592549592256546, -0.03505774587392807, -0.012178825214505196, 0.020240534096956253, 0.06305531412363052, -0.04449234902858734, 0.00373332598246634, 0.011803776025772095, -0.0020660085137933493, 0.05272286757826805, -0.017169293016195297, 0.048241324722766876, 0.0696369931101799, 0.020975252613425255, 0.021360112354159355, 0.02139260433614254, -0.005331780761480331, 0.04189126938581467, 0.07113068550825119, -0.011092759668827057, 0.07653119415044785, 0.015097773633897305, 0.031585417687892914, 0.06559224426746368, 0.0012624867958948016, 0.0010773875983431935, 0.053227346390485764, 0.0657029077410698, 0.02415882609784603, 0.0029169560875743628, 0.042008087038993835, -0.031872063875198364, 0.02479558438062668, -0.011186383664608002, -0.0020404502283781767, -0.01845206320285797, -0.033127687871456146, 0.07323968410491943, 0.020167773589491844, -0.03600769490003586, -0.006585974246263504, -0.03798219934105873, -0.017545947805047035, 0.03262532129883766, -0.035943638533353806, 0.015098584815859795, -0.006355084478855133, -0.018305782228708267, 0.013836638070642948, -0.0687977746129036, -0.041251976042985916, -0.009057026356458664, -0.011855493299663067, 0.0034443330951035023, -0.09914825111627579, -0.029224686324596405, -0.04294842109084129, -0.01258870679885149, 0.05060606822371483, 0.0048022186383605, -0.018399780616164207, -0.03706786781549454, -0.006803357042372227, -0.021525125950574875, -0.0413825623691082, -0.03888440877199173, -0.05428096652030945, -0.018501106649637222, -0.07199905067682266, 0.03708484396338463, 0.034958112984895706, 0.029305486008524895, 0.007502114865928888, -0.01312592625617981, -0.05974457785487175, -0.016941232606768608, 0.029491543769836426, 0.03724561631679535, -0.03694656863808632, -0.038252636790275574, 0.015455068089067936, 0.03562990576028824, 0.02189033478498459, -0.010375377722084522, -0.00821769330650568, 0.05830083787441254, 0.016584381461143494, 0.005978928878903389, 0.005958413705229759, -0.013179125264286995, -0.0334213487803936, -0.0326974131166935, -0.03536376357078552, -0.03292446210980415, -0.011965999379754066, -0.017670508474111557, -0.06341642886400223, -0.05834314599633217, -0.0486251525580883, -0.0127292824909091, 0.0018304847180843353, 0.0023294335696846247, 0.01928037963807583, 0.04708052799105644, 0.035503700375556946, 0.019484875723719597, -0.05952734127640724, -0.04517152160406113, 0.05828215926885605, -0.022414622828364372, 0.009645790793001652, -0.08099216967821121, -0.020848510786890984, 0.033973146229982376, 0.002118973759934306, 0.015386410988867283, -0.00797869823873043, 0.042452309280633926, 0.011185834184288979, -0.006155380047857761, -0.013389947824180126, -0.03731830418109894, 0.0026804497465491295, -0.01697995513677597, 0.033046379685401917, -0.017361227422952652, -0.043250080198049545, -0.05466986447572708, -0.02470727264881134, 0.024933157488703728, -0.04059697315096855, -0.023012742400169373, -0.026908637955784798, 0.02623751200735569, 0.08458317816257477, 0.011669850908219814, -0.03820878267288208, -0.004436029586941004, -0.04115667566657066, -0.04968784749507904, -0.0015000413404777646, -0.014017376117408276, 0.052551645785570145, 0.0360681489109993, 0.026587452739477158, -0.0036700530909001827, 0.05296822637319565, 0.057481661438941956, 0.06677227467298508, 0.029133567586541176, -0.0421372726559639, 0.031106384471058846, -0.035052742809057236, 0.04936234652996063, -0.0009151201811619103, -0.0327867828309536, -0.0540301688015461, -0.10068853944540024, -0.030672814697027206, 0.011892381124198437, -0.007366188336163759, 0.02038073167204857, 0.060675982385873795, -0.00792005192488432, 0.0005251543479971588, -0.03450445085763931, 0.03431132063269615, 0.04616018384695053, -0.023548627272248268, 0.06570108979940414, -0.017392603680491447, 0.03838144987821579, -0.06967025250196457, -0.015421582385897636, -0.04031828045845032, -0.01267719641327858, -0.002278798259794712, 0.07453085482120514, 0.01145316381007433, 0.0415409579873085, 0.05301634967327118, 0.02629738114774227, -0.04812825471162796, 0.04768789932131767, 0.07077387720346451, -0.017421172931790352, -0.02851688489317894, 0.03501923754811287, 0.018084082752466202, -0.028052955865859985, -0.009944427758455276, -0.012227458879351616, 0.021793359890580177, 0.032343752682209015, 0.01054952759295702, 0.007522183936089277, -0.01240020152181387, -0.024466801434755325, -0.03225867450237274, -0.08739808946847916, -0.005149882286787033, 0.01620740070939064, -0.022492900490760803, 0.031082117930054665, 0.047927360981702805, -0.006088710855692625, 0.054794494062662125, 0.020312577486038208, -0.06334283947944641, -0.04774543270468712, 0.016627004370093346, 0.04914326220750809, -0.05449673905968666, -0.0742272362112999, -0.04281403496861458, 0.04490053653717041, 0.029618918895721436, -0.014443717896938324, -0.07413964718580246, -0.006057263817638159, 0.05302693694829941, -0.04363163933157921, 0.09498603641986847, 0.01813286729156971, 0.05242975428700447, 0.04421239718794823, -0.007543476764112711, 0.039501309394836426, -0.005686112679541111, 0.015247993171215057, -0.005826065316796303, 0.03969854861497879, -0.01297907717525959, -0.02680117078125477, -0.04682450369000435, 0.0356835313141346, 0.017822712659835815, 0.034017134457826614, 0.03889748454093933, -0.0501592680811882, -0.048279039561748505, 0.016780072823166847, 0.03097296506166458, -0.054312631487846375, -0.012964539229869843, 0.054243750870227814, 0.0641680508852005, -0.07303772866725922, -0.031347937881946564, -0.027413515374064445, -0.004750157240778208, 0.02319599688053131, -0.027702443301677704, -0.02497515082359314, -0.04953817278146744, 0.014043169096112251, -0.006021744105964899, -0.018238672986626625, -0.08964348584413528, 0.020221997052431107, 0.023410920053720474, -0.01614045724272728, 0.040958061814308167, 0.024686407297849655, 0.06637875735759735, 0.05598760023713112, 0.007160448003560305, 0.0008397282799705863, -0.053745120763778687, 0.006389536429196596, -0.007925382815301418, -0.05819786339998245, -0.0028212887700647116, -0.05386669933795929, -0.030001522973179817, -0.008594585582613945, -0.026473838835954666, -0.04216044396162033, -0.011828847229480743, -0.004147928673774004, -0.003768422408029437, 0.014242051169276237, -0.016555622220039368, 0.0036858373787254095, -0.023653076961636543, 0.004611337557435036, -0.02604629285633564, -0.04663641378283501, -0.09323404729366302, -0.04955797269940376, 0.042471498250961304, -0.03132634237408638, 0.0061683012172579765, 0.027277527377009392, 0.0325905941426754, 0.04101169854402542, 0.003603500546887517, -0.030012059956789017, 0.0014819917269051075, 0.049398500472307205, -0.02913108468055725, 0.010279704816639423, 0.018238460645079613, 0.01827879622578621, 0.05176714062690735, -0.018024902790784836, 0.008756402879953384, -0.000362259364919737, -0.034850917756557465, -0.03051457554101944, 0.015202528797090054, -0.019741486757993698, -0.06067889928817749, -0.022396145388484, -0.035171035677194595, -0.0371934212744236, 0.014870517887175083, -0.0240264143794775, -0.036573342978954315, -0.01754622720181942, 0.045379638671875, 0.03405791521072388, -0.02502547949552536, -0.029118338599801064, 0.002315209712833166, -0.012049361132085323, 0.008315108716487885, -0.0504949726164341, -0.0049699149094522, -0.046720605343580246, -0.0015721987001597881, -0.009745649993419647, 0.0241105817258358, -0.07185755670070648, 0.05404382944107056, 0.008735819719731808, -0.012106427922844887, 0.01008678413927555, 0.0351797416806221, 0.008192984387278557, 0.025948181748390198, -0.025109535083174706, 0.00653616338968277, -0.045290641486644745, 0.04562336578965187, -0.0765100046992302, 0.005957836750894785, -0.016963033005595207, -0.004486404825001955, -0.020975638180971146, -0.04271213337779045, -0.03265640139579773, -0.054964661598205566, 0.046062737703323364, 0.03355944901704788, -0.003920174669474363, 0.026403803378343582, -0.0019398657605051994, 0.013046348467469215, 0.04759397357702255, -0.06169091537594795, -0.03159135952591896, 0.010939737781882286, 0.0015649241395294666, -0.023811548948287964, 0.060169752687215805, 0.047313474118709564, -0.04403054714202881, -0.062297943979501724, 0.050498850643634796, 0.03828825056552887, 0.03004607930779457, -0.006809863727539778, 0.016757896170020103, 0.04512782022356987, 0.04136916995048523, -0.008510226383805275, -0.015222218818962574, 0.014700187370181084, -0.0317549891769886, 0.01772315613925457, -0.032782454043626785, 0.001523846061900258, -0.0228834580630064, -0.06407217681407928, -0.016487428918480873, 0.03991991654038429, 0.048814136534929276, 0.04467914626002312, -0.0020665398333221674, -0.03465396165847778, 0.04813847318291664, -0.0054624960757792, -0.055429380387067795, 0.0008196934359148145, -0.02491775155067444, -0.029445042833685875, 0.06353098154067993, -0.019797595217823982, 0.06924466043710709, 0.07488851249217987, 0.039724718779325485, -0.03894798085093498, 0.04365672171115875, -0.03208206221461296, 0.010488552041351795, 0.018588488921523094, -0.026345746591687202, -0.006633167155086994, -0.034026745706796646, 0.06152883917093277, -0.04890058934688568, 0.059465184807777405, 0.038039300590753555, -0.0227778572589159, -0.0045415195636451244, -0.02014055848121643, -0.017284702509641647, 0.029093800112605095, -0.02078266814351082, 0.10132903605699539, -0.02639291062951088, -0.06894943118095398, 0.06057773530483246, 0.00675234803929925, -0.059717047959566116, 0.03881533816456795, 0.022088227793574333, -0.0071503217332065105, 0.013836569152772427, 0.010860355570912361, -0.02559361793100834, 0.045056991279125214, -0.05893407389521599, 0.010499481111764908, -0.05850094184279442, -0.004510002210736275, 0.00915751326829195, -0.02233196422457695, -0.020147474482655525, 0.03531224653124809, -0.010352026671171188, -0.02220047637820244, 0.023635227233171463, -0.061656173318624496, -0.023379908874630928, 0.00833736639469862, 0.016802841797471046, -0.01861554943025112, 0.0022884299978613853, -0.018147140741348267, -0.006398292724043131, 0.025672191753983498, -0.025941766798496246, -0.04306798428297043, 0.017980286851525307, 0.004450685810297728, -0.058464184403419495, -0.020734045654535294, 0.06687737256288528, 0.01818852685391903, -0.038917407393455505, 0.023655178025364876, -0.007727825082838535, 0.006841661874204874, 0.030776526778936386, -0.020177938044071198, 0.01085750013589859, -0.05953430011868477, 0.0027606873773038387, 0.01906462572515011, 0.026813236996531487, 0.02238941751420498, -0.015174519270658493, 0.02794700302183628, 0.049427974969148636, 0.049149975180625916, -0.014288997277617455, 0.002182395663112402, -0.016707047820091248, 0.03904911130666733, -0.01891172118484974, 0.033335380256175995, -0.01454172469675541, -0.05128587409853935, -0.031799208372831345, 0.01116527896374464, -0.03554139286279678, 0.03725370764732361, -0.04429914057254791, 0.0021784775890409946, 0.05697598680853844, -0.005389138124883175, -0.0371176116168499, -0.08041757345199585, -0.04447333142161369, -0.024137550964951515, -0.003852296154946089, 0.04552130028605461, -0.010569912381470203, -0.0044542038813233376, -0.03698481619358063, -0.03438985347747803, 0.059041231870651245, 0.022832082584500313, -0.007965299300849438, 0.03474076837301254, 0.0318763442337513, -0.06299234181642532, 0.011594299226999283, 0.04234018549323082, -0.040049824863672256, 0.04334329068660736, 0.02834959514439106, 0.008402044884860516, 0.034118134528398514, 0.042550843209028244, -0.008999244309961796, -0.0032110153697431087, -0.05900907143950462, -0.04675259813666344, -0.027670130133628845, -0.0035599321126937866, 0.06550345569849014 ]
Brona/model1
[]
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: - glove - gensim - fse --- # Paragram Embeddings Pushing the Limits of Paraphrastic Sentence Embeddings with Millions of Machine Translations (300 dimensions) Read more: * https://www.cs.cmu.edu/~jwieting/ * https://www.cs.cmu.edu/~jwieting/wieting2017Millions.pdf
[ -0.027411049231886864, -0.02267591655254364, 0.015303934924304485, 0.02590695582330227, 0.03534194082021713, 0.025018878281116486, -0.014256385155022144, -0.006097463425248861, -0.02333308570086956, 0.051237087696790695, 0.01699981465935707, 0.010211095213890076, 0.022638337686657906, 0.03642018884420395, -0.00900242105126381, -0.018685543909668922, -0.026017867028713226, -0.008547570556402206, -0.05273470655083656, 0.0005079952534288168, -0.00010495603055460379, -0.010328325442969799, -0.015686573460698128, 0.025185413658618927, 0.03400730714201927, 0.005093162879347801, -0.032421134412288666, 0.003782470477744937, 0.00927647203207016, -0.04567369073629379, 0.0006596922758035362, -0.03284531086683273, -0.024348720908164978, -0.01882236823439598, -0.010323507711291313, -0.003621496492996812, 0.026818204671144485, 0.007170192897319794, 0.01228854525834322, 0.0528964065015316, -0.018413035199046135, 0.03383662551641464, 0.003392667043954134, -0.021841896697878838, 0.017477281391620636, -0.005564448423683643, -0.036248378455638885, -0.017491377890110016, 0.00671736616641283, -0.03445836156606674, -0.03352096304297447, -0.07376294583082199, -0.015240580774843693, -0.00014905091666150838, -0.009808973409235477, -0.04270707443356514, -0.06931939721107483, -0.019561171531677246, 0.06401340663433075, -0.03958077356219292, -0.02882094494998455, 0.008305735886096954, -0.06897571682929993, 0.03174726292490959, 0.024709323421120644, -0.040909744799137115, -0.0054597691632807255, -0.04368741810321808, -0.00814326573163271, -0.0390855148434639, 0.05441347882151604, -0.029230769723653793, 0.024035103619098663, -0.10821785777807236, -0.01931978203356266, -0.0040254914201796055, 0.026672130450606346, 0.05278497561812401, -0.05271773785352707, 0.06936100870370865, 0.03205457329750061, 0.0006706960266456008, 0.029927903786301613, 0.006172271445393562, -0.02228362299501896, 0.05140609294176102, -0.03616086393594742, 0.015303310006856918, -0.018534088507294655, 0.054316338151693344, -0.018206724897027016, -0.03484802320599556, 0.009776069782674313, -0.03183843195438385, -0.04674354940652847, -0.013421490788459778, 0.041050855070352554, 0.010312771424651146, 0.012880281545221806, 0.028934847563505173, 0.0064463126473128796, 0.04123948514461517, -0.028578173369169235, 0.06254880130290985, -0.010679187253117561, -0.00463645625859499, -0.014717534184455872, -0.020505031570792198, -0.0588165819644928, 0.03895715996623039, 0.022571953013539314, -0.04184180125594139, -0.06125536561012268, 0.04238326475024223, 0.021753571927547455, -0.027503741905093193, 0.06790946424007416, -0.0264414194971323, -0.024312935769557953, -0.03937206044793129, 0.04509461671113968, 0.00452634459361434, -0.002808708231896162, 0.013130717910826206, -0.07234814763069153, 0.008717387914657593, -0.031191375106573105, -0.020482609048485756, 0.0028928180690854788, 0.02205698937177658, -0.01618073880672455, 0.028434980660676956, -0.02606642246246338, -0.017967017367482185, 0.012788739986717701, 0.01345906313508749, -0.05285296589136124, 0.007804415188729763, 0.05011671036481857, 0.11431342363357544, -0.02429661527276039, -0.05577631667256355, -0.015828842297196388, 0.01984005607664585, -0.045347992330789566, -0.026454027742147446, 0.030313659459352493, -0.044206343591213226, -0.040763985365629196, -0.01466559898108244, 0.055131446570158005, -0.03555966541171074, 0.0032323580235242844, 0.038165632635354996, 0.01677956059575081, 0.014323100447654724, -0.05927029252052307, 0.007155715022236109, -0.015249284915626049, 0.0013853731798008084, -0.04042913019657135, 0.03343271091580391, -0.001483671716414392, 0.0018003189470618963, -0.04036668688058853, -0.04638778418302536, 0.016449090093374252, 0.06295221298933029, 0.0017998608527705073, -0.026323404163122177, -0.032736584544181824, 0.005575794260948896, 0.05960302799940109, 0.041114069521427155, -0.019603809341788292, 0.010455870069563389, 0.05569968372583389, 0.03058100864291191, -0.013142190873622894, 0.047880031168460846, 0.014760655350983143, -0.03373341262340546, -0.008522093296051025, 0.015568097122013569, 0.007213502656668425, -0.03365756571292877, 0.0041229091584682465, 0.05675124004483223, -0.009701347909867764, -0.03260359168052673, 0.014137227088212967, 0.0625239834189415, -0.018644042313098907, 0.004979684948921204, -0.022663570940494537, -0.009255162440240383, -0.021552570164203644, 0.032748669385910034, -0.027156399562954903, -0.002366438042372465, -0.02208884060382843, -0.03864855691790581, 0.04588644579052925, 0.042910344898700714, 0.01399823185056448, 0.025667836889624596, -0.013697062619030476, 0.0771510973572731, -0.042773399502038956, -0.005850058048963547, -0.057511698454618454, -0.054430700838565826, -0.060926809906959534, 0.05216227099299431, 0.017768215388059616, 0.044051192700862885, -0.026982693001627922, -0.04081394523382187, 0.019177734851837158, 0.0717945545911789, 0.03192285820841789, 0.03103613294661045, -0.03494603931903839, -0.0004413632850628346, 0.04648568853735924, 0.05303878337144852, -0.0281447172164917, -0.028047185391187668, 0.05582045018672943, 0.03955499455332756, -0.014154667966067791, 0.009461432695388794, -0.013795025646686554, 0.0060593062080442905, -0.014432664960622787, -0.055578432977199554, 0.01699034310877323, 0.022232329472899437, -0.021447014063596725, 0.04202369973063469, -0.014676788821816444, 0.011156736873090267, 0.06370384246110916, -0.004465382546186447, 0.026177452877163887, -0.06095072627067566, 0.0036141686141490936, 0.01654650643467903, 0.06910166889429092, -0.02020248770713806, 0.013825615867972374, 0.027701299637556076, 0.014456957578659058, 0.02454172633588314, -0.019051387906074524, 0.02416115812957287, 0.04931449145078659, 0.017688054591417313, -0.0009217230835929513, 0.02846156805753708, -0.00257902592420578, 0.006904831156134605, 0.07595081627368927, -0.021799487993121147, 0.07673028111457825, 0.015317089855670929, 0.04387109726667404, 0.05951849743723869, 0.00016131567826960236, 0.016139976680278778, 0.07517269253730774, 0.062087152153253555, 0.00927354209125042, 0.007885989733040333, 0.05422786623239517, -0.02022397331893444, 0.03831736370921135, -0.02830958180129528, 0.022851835936307907, -0.01933918334543705, -0.03172480687499046, 0.04321027547121048, 0.0038092921022325754, -0.0036922034341841936, 0.011661691591143608, -0.039871975779533386, -0.03526945784687996, 0.03980804979801178, -0.01003981288522482, 0.004840183537453413, 0.001101910718716681, -0.019016828387975693, 0.03524750471115112, -0.06996185332536697, -0.05246777832508087, 0.007829932495951653, 0.0009239100618287921, 0.006943792104721069, -0.09977221488952637, -0.0356719046831131, -0.05458191782236099, -0.010218529962003231, 0.041163910180330276, 0.034699372947216034, 0.02394305355846882, -0.01897299475967884, 0.021567005664110184, -0.0031000603921711445, -0.025919781997799873, -0.042642030864953995, -0.023181475698947906, -0.005559403914958239, -0.048626381903886795, 0.037046752870082855, 0.0024669684935361147, 0.019440192729234695, 0.0028030069079250097, -0.01077471487224102, -0.06458552926778793, -0.012389780953526497, 0.037007689476013184, 0.024047575891017914, -0.005615139380097389, -0.029692335054278374, 0.006116905715316534, 0.02712571807205677, -0.007740016095340252, -0.047802019864320755, -0.024955501779913902, 0.08721698820590973, 0.03916027396917343, 0.03649185970425606, 0.017515847459435463, 0.006718072574585676, -0.025951813906431198, -0.005427292548120022, -0.022760052233934402, -0.03869587555527687, -0.026746658608317375, -0.019570088014006615, -0.05428038537502289, -0.03462690860033035, -0.04810728877782822, -0.012269309721887112, 0.014919537119567394, 0.01452951692044735, 0.043282561004161835, 0.04474220424890518, 0.045525435358285904, -0.001900675124488771, -0.04810537025332451, -0.013115152716636658, 0.08840933442115784, -0.01325447577983141, 0.020164379850029945, -0.0714796781539917, -0.021584535017609596, 0.05368473380804062, 0.021501293405890465, 0.024896761402487755, -0.020809896290302277, 0.07188007235527039, 0.03286440670490265, 0.0074133495800197124, 0.031634826213121414, -0.01021252479404211, -0.036156319081783295, 0.006135987583547831, 0.013061635196208954, -0.027048589661717415, -0.06424003839492798, -0.038731321692466736, -0.051184482872486115, 0.030678607523441315, -0.06161455437541008, -0.036801837384700775, -0.041139472275972366, 0.0235767625272274, 0.05677776783704758, -0.017415929585695267, -0.04050591588020325, -0.0040749674662947655, -0.021000826731324196, -0.025505905970931053, 0.004219230730086565, -0.013167934492230415, 0.028129344806075096, 0.03919302672147751, 0.04287680238485336, -0.02992355450987816, 0.028880367055535316, 0.05122094973921776, 0.04579257592558861, 0.033923983573913574, -0.012456714175641537, 0.043699029833078384, 0.004649510141462088, 0.04997284337878227, 0.016480492427945137, -0.014050318859517574, -0.059847015887498856, -0.09472937881946564, -0.00511131901293993, 0.016113782301545143, -0.00818423181772232, 0.007067637052386999, 0.04763302206993103, -0.06520405411720276, -0.0017969976179301739, -0.027405589818954468, 0.01277868915349245, 0.039783917367458344, -0.060755405575037, 0.052754297852516174, -0.018342657014727592, 0.029342427849769592, -0.05249566212296486, -0.0025890525430440903, -0.04424415901303291, -0.036252088844776154, 0.007727983873337507, 0.08462870866060257, 0.018534796312451363, 0.048265017569065094, 0.04847896844148636, 0.03154302015900612, -0.03668006509542465, 0.07237445563077927, 0.06088230013847351, 0.003802787745371461, -0.053161315619945526, 0.011578512378036976, 0.00005638875882141292, -0.03894054889678955, -0.029743587598204613, -0.009302598424255848, 0.004538904409855604, 0.029238952323794365, 0.018145274370908737, -0.020596519112586975, 0.003936810418963432, -0.03190968185663223, -0.027435045689344406, -0.09365426003932953, -0.0018321372335776687, -0.023818669840693474, -0.02268141508102417, 0.04803410544991493, 0.04745899885892868, 0.006193329114466906, 0.05993908643722534, 0.026982935145497322, -0.03234417736530304, -0.0673527643084526, 0.03278926759958267, 0.03482537344098091, -0.06734239310026169, -0.055462174117565155, -0.04746032878756523, 0.04523813724517822, 0.04903656244277954, -0.007715059444308281, -0.08138718456029892, 0.003717146348208189, 0.06680447608232498, -0.024141212925314903, 0.06234675645828247, 0.004789032973349094, 0.06293583661317825, 0.06402062624692917, -0.012721383944153786, 0.016298631206154823, -0.004076102748513222, 0.0179050974547863, -0.023222697898745537, 0.052544005215168, -0.03304959461092949, -0.04339031130075455, -0.04297478869557381, 0.038992274552583694, 0.020067570731043816, 0.04283249005675316, 0.05062098801136017, -0.04994376376271248, -0.06421788036823273, 0.008277964778244495, 0.0068319132551550865, -0.051329415291547775, -0.008787272498011589, 0.016673915088176727, 0.0836728885769844, -0.06796647608280182, -0.02387004718184471, -0.04092798009514809, 0.021330609917640686, 0.03232754394412041, -0.03438356891274452, -0.007100461050868034, -0.05080905929207802, 0.005473521538078785, -0.01630764827132225, -0.044142406433820724, -0.09710968285799026, 0.0012686207192018628, -0.01617436110973358, -0.019304970279335976, 0.05143420770764351, 0.03125511854887009, 0.053593676537275314, 0.026212595403194427, -0.005955587141215801, 0.02094017155468464, -0.03087644837796688, 0.01317509450018406, -0.01569761522114277, -0.02472975105047226, -0.006717533804476261, -0.07313825935125351, -0.01861622929573059, -0.0227403175085783, -0.03693274408578873, -0.025599496439099312, -0.019064977765083313, 0.023769859224557877, -0.023182231932878494, 0.009807340800762177, -0.015345455147325993, -0.009535467252135277, -0.03309464827179909, 0.003604368306696415, -0.002864257199689746, -0.06175389513373375, -0.10644927620887756, -0.055900298058986664, 0.025839144363999367, -0.012770537286996841, 0.012109396047890186, 0.03670844808220863, 0.008940078318119049, 0.025921305641531944, -0.003282641526311636, -0.012510996311903, 0.05450768396258354, 0.007619505748152733, -0.052269600331783295, -0.021267635747790337, -0.004106897860765457, 0.001735070487484336, 0.007488997187465429, -0.047041263431310654, 0.027085527777671814, 0.008906936272978783, -0.0423867329955101, -0.034667644649744034, 0.027481436729431152, -0.022080084308981895, -0.07400374114513397, -0.016638072207570076, -0.046699319034814835, -0.04038229212164879, 0.0210183784365654, 0.004246106371283531, -0.04216237738728523, -0.026072867214679718, 0.05405360087752342, 0.006055458448827267, -0.006648646201938391, -0.03640894219279289, -0.0026497633662074804, -0.021992463618516922, 0.013867388479411602, -0.06909556686878204, 0.015731578692793846, -0.023507066071033478, -0.0057260021567344666, -0.02216670848429203, 0.0010868024546653032, -0.05173564329743385, 0.03447859361767769, -0.004836893640458584, -0.010675331577658653, -0.02269629016518593, 0.03644870966672897, -0.029301654547452927, 0.04387997090816498, -0.04359543323516846, 0.009692679159343243, -0.04883622005581856, 0.020509695634245872, -0.07647079974412918, -0.029536068439483643, 0.002815724117681384, -0.01357704121619463, -0.025649262592196465, -0.04619618505239487, -0.009215486235916615, -0.044479139149188995, 0.024371109902858734, 0.03546825423836708, 0.020111557096242905, 0.026014577597379684, -0.003261230420321226, 0.016858786344528198, 0.041347913444042206, -0.05693180486559868, -0.037086453288793564, -0.012972692959010601, 0.02895495295524597, -0.00821748562157154, 0.06910855323076248, 0.04976522549986839, -0.02372990921139717, -0.039562758058309555, 0.060644347220659256, 0.01669839769601822, 0.0015842613065615296, -0.0003234747564420104, 0.032542884349823, 0.06439660489559174, 0.03729507327079773, -0.0331665500998497, -0.0031399279832839966, 0.018866293132305145, -0.008032608777284622, 0.008792308159172535, -0.00338952848687768, -0.006312699522823095, -0.01111891120672226, -0.05796734616160393, -0.009517707861959934, 0.04112502932548523, 0.03919113427400589, 0.03195219859480858, 0.006703432649374008, -0.044333960860967636, 0.03376633673906326, 0.005006743595004082, -0.05867806449532509, -0.014758320525288582, 0.01004302129149437, -0.018966788426041603, 0.06890171766281128, -0.03686441108584404, 0.04225613921880722, 0.08402746915817261, 0.006968091707676649, -0.02273572050035, 0.03093205951154232, -0.043969571590423584, 0.0038620266132056713, 0.027569396421313286, -0.06154786795377731, -0.005893910303711891, -0.03613828495144844, 0.06778930872678757, -0.04779628664255142, 0.05866125598549843, 0.05422858148813248, 0.0014602409210056067, 0.01806078664958477, -0.020885707810521126, -0.022079583257436752, 0.011824739165604115, -0.028246693313121796, 0.08396921306848526, -0.019250672310590744, -0.06219882890582085, 0.06098297983407974, 0.020527878776192665, -0.06505696475505829, 0.04076747968792915, 0.029345553368330002, 0.020720312371850014, 0.021364713087677956, 0.015291367657482624, -0.052343010902404785, 0.04283955320715904, -0.04285535216331482, 0.01650896482169628, -0.07008013129234314, -0.006676210556179285, -0.027022143825888634, -0.023568032309412956, -0.01724647544324398, 0.009854019619524479, -0.01173948124051094, -0.013120230287313461, 0.017001034691929817, -0.07947899401187897, -0.037533238530159, -0.010592556558549404, -0.01190272718667984, -0.0048279897309839725, -0.0006683894898742437, -0.013368634507060051, -0.008948086760938168, 0.007233660668134689, -0.025797264650464058, -0.032730501145124435, 0.040849052369594574, 0.025739150121808052, -0.06045219674706459, 0.014338608831167221, 0.02737129107117653, 0.01290183700621128, -0.01910889707505703, -0.0026474902406334877, -0.03175100311636925, 0.015125839971005917, 0.021010491997003555, -0.015075050294399261, 0.012586193159222603, -0.04117540270090103, 0.0020420518703758717, 0.018383827060461044, 0.0019211707403883338, 0.003690137527883053, -0.00463020009920001, 0.03592600300908089, 0.041199568659067154, 0.039103392511606216, -0.016347507014870644, -0.024344520643353462, -0.01436573825776577, 0.0498160645365715, -0.01583479903638363, 0.03386703506112099, -0.011102649383246899, -0.054347071796655655, -0.05464170128107071, -0.005779113154858351, -0.0032566594891250134, 0.04801732674241066, -0.029408250004053116, 0.005405602045357227, 0.052684295922517776, -0.041337255388498306, -0.026144718751311302, -0.05902273952960968, -0.03050673007965088, -0.02067115344107151, 0.02556021884083748, 0.05062737315893173, -0.02233307622373104, -0.0027375835925340652, -0.027300167828798294, -0.054095178842544556, 0.05382988229393959, -0.01217480469495058, -0.01994597539305687, 0.02143513783812523, 0.03878047689795494, -0.04761073365807533, 0.021197466179728508, 0.05194122716784477, -0.049367815256118774, 0.0366910845041275, 0.027293657884001732, 0.032223522663116455, 0.009864121675491333, 0.05075652152299881, -0.006541128270328045, -0.022112173959612846, -0.038339342921972275, -0.037929072976112366, -0.019373001530766487, 0.01848902739584446, 0.0850347951054573 ]
BumBelDumBel/TRUMP
[ "pytorch", "tensorboard", "gpt2", "text-generation", "transformers", "generated_from_trainer", "license:mit" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
5
null
--- tags: - conversational --- #Bully Maguire demo bot
[ -0.02565675787627697, 0.01206288393586874, -0.007021045312285423, 0.019442470744252205, 0.024327971041202545, 0.019385753199458122, -0.012691118754446507, 0.018113024532794952, -0.030716978013515472, 0.03741655498743057, 0.049250002950429916, 0.0016983709065243602, 0.01518292911350727, 0.029083915054798126, -0.02257448434829712, -0.018865741789340973, -0.030634025111794472, -0.00312454323284328, -0.018906688317656517, -0.004262491595000029, 0.016940053552389145, 0.006125323008745909, -0.016745446249842644, 0.05635951831936836, 0.011412309482693672, 0.04052773118019104, -0.02172929048538208, 0.017528004944324493, 0.02952631749212742, -0.03929264098405838, 0.010778993368148804, -0.0212247371673584, -0.010581200942397118, -0.0307278111577034, -0.023131372407078743, -0.015288726426661015, 0.006550257094204426, -0.0019386470085009933, -0.012563544325530529, 0.04395829513669014, -0.0013589441077783704, -0.008221970871090889, 0.019242310896515846, -0.05939207598567009, 0.08466202020645142, -0.012983353808522224, -0.04907616600394249, -0.013396823778748512, 0.010168423876166344, -0.031134258955717087, -0.056401487439870834, -0.06759274750947952, -0.049772296100854874, -0.0374271459877491, 0.009856549091637135, -0.05924105644226074, -0.07385584712028503, 0.006708964705467224, 0.08523264527320862, -0.022429192438721657, -0.027529066428542137, -0.00954141654074192, -0.06708808243274689, 0.033312246203422546, 0.02903691679239273, -0.0709243044257164, 0.027608169242739677, -0.03734489530324936, 0.0015863282606005669, -0.022195173427462578, 0.04924334958195686, -0.039390552788972855, 0.018911559134721756, -0.05815688148140907, -0.018702350556850433, -0.02412175014615059, 0.05679713562130928, 0.07429409772157669, -0.04142860695719719, 0.03536936268210411, 0.047060173004865646, 0.024195438250899315, 0.058209378272295, -0.01614799164235592, -0.011435269378125668, 0.046934954822063446, -0.05006243288516998, -0.011281061917543411, 0.020629415288567543, 0.0017449810402467847, -0.012485685758292675, -0.06282389163970947, -0.019407952204346657, -0.012091200798749924, 0.007103626150637865, 0.04523109272122383, 0.02883247286081314, -0.012149453163146973, 0.03278651833534241, 0.027895106002688408, 0.015107985585927963, 0.05624822527170181, -0.04327843710780144, 0.04147794470191002, -0.0160886999219656, 0.016831282526254654, -0.005641734693199396, -0.009754152968525887, -0.047299824655056, 0.018219202756881714, -0.003766990266740322, -0.042782146483659744, -0.01224985346198082, 0.02735248953104019, 0.033926595002412796, 0.008276732638478279, 0.05277767404913902, -0.036447927355766296, -0.03605816140770912, -0.04446278139948845, 0.05510080233216286, -0.015206960029900074, 0.0012003019219264388, 0.010030622594058514, -0.03685858100652695, -0.007573214825242758, -0.03440523520112038, -0.024400990456342697, 0.014020510017871857, 0.02973383665084839, 0.034831345081329346, 0.06104870140552521, -0.0405772440135479, -0.04550944268703461, -0.016445139423012733, 0.04850860312581062, -0.05986111983656883, -0.011686324141919613, 0.03453924506902695, 0.08219095319509506, -0.08680177479982376, -0.046249791979789734, -0.0007220475818030536, 0.0166255384683609, -0.04908531904220581, -0.022531650960445404, 0.01513861957937479, -0.008786395192146301, -0.05362110212445259, -0.00034776623942889273, 0.028816940262913704, -0.06538345664739609, -0.01664389669895172, 0.024362284690141678, 0.009340818040072918, 0.010471178218722343, -0.03809479996562004, 0.000004845467174163787, 0.006592155434191227, -0.036165788769721985, -0.057084355503320694, 0.03366262465715408, -0.02221660502254963, -0.02257652021944523, -0.02420336939394474, -0.03808481991291046, -0.0035817415919154882, 0.07402172684669495, -0.00785695482045412, -0.02429310604929924, -0.02233879081904888, 0.048423703759908676, 0.0666574016213417, 0.006501908879727125, -0.0017286994261667132, 0.031240489333868027, 0.056795645505189896, 0.027934767305850983, -0.038631659001111984, 0.05141818895936012, 0.027583852410316467, -0.034297455102205276, -0.0522075891494751, -0.024671902880072594, 0.05443409085273743, -0.008439459837973118, 0.014422942884266376, 0.04390083625912666, -0.018277248367667198, -0.03448810428380966, 0.024387430399656296, 0.03902044892311096, -0.009854167699813843, -0.013432318344712257, -0.014938409440219402, -0.025626663118600845, -0.0350177176296711, 0.030871747061610222, -0.0262130293995142, -0.0014103965368121862, -0.03415384888648987, -0.025498054921627045, 0.048697590827941895, 0.00176485744304955, 0.00826604850590229, 0.04740305244922638, -0.03758016228675842, 0.07920754700899124, -0.032237615436315536, 0.016353558748960495, -0.028962789103388786, -0.047229889780282974, -0.02751901187002659, 0.0666678175330162, 0.009978413581848145, 0.03663141280412674, -0.03478012979030609, -0.044083721935749054, 0.04184550791978836, 0.048830192536115646, 0.03627460077404976, 0.027267800644040108, -0.013629892840981483, -0.0190091785043478, 0.012288898229598999, 0.025368446484208107, -0.042574815452098846, 0.008244723081588745, 0.0053272792138159275, 0.06598125398159027, -0.016330517828464508, -0.049372587352991104, -0.030689513310790062, -0.00589895062148571, -0.028524093329906464, -0.06357991695404053, 0.052138619124889374, 0.016919640824198723, 0.011539636179804802, 0.02682151086628437, -0.014236853457987309, 0.001940700807608664, 0.05498911812901497, 0.007404484320431948, -0.010498888790607452, -0.0816311463713646, 0.010983815416693687, 0.024973735213279724, 0.09427279233932495, -0.04403575882315636, 0.021100711077451706, 0.017144137993454933, 0.007750161923468113, 0.015029333531856537, -0.02277495339512825, 0.06360317021608353, 0.07275331020355225, 0.050571780651807785, -0.004454297479242086, 0.05303370952606201, 0.0018324911361560225, 0.0319909043610096, 0.01790807396173477, -0.0016140980878844857, 0.07236459851264954, -0.015527309849858284, 0.03986427187919617, 0.05568214878439903, 0.031806062906980515, -0.012433462776243687, 0.035973839461803436, 0.05686163529753685, 0.015486635267734528, 0.013855011202394962, 0.04991026967763901, -0.002202703384682536, 0.029084395617246628, -0.026288019493222237, -0.019072018563747406, -0.01703650690615177, -0.010869027115404606, 0.04799383878707886, 0.012537825852632523, -0.008464617654681206, 0.004782688803970814, -0.024737980216741562, -0.013037659227848053, 0.05180952325463295, -0.0037055681459605694, -0.0029376239981502295, 0.011686014011502266, -0.005584981758147478, 0.03402814269065857, -0.07506907731294632, -0.052743393927812576, 0.0043028853833675385, -0.03593190759420395, 0.018510691821575165, -0.0871177613735199, -0.04759584739804268, -0.04889276251196861, -0.01709177903831005, 0.05622636526823044, 0.036879461258649826, 0.007577395532280207, 0.0018643951043486595, 0.006672624032944441, -0.042576562613248825, -0.046652901917696, -0.06386235356330872, -0.0242178775370121, -0.012706014327704906, -0.04763021320104599, 0.019587578251957893, 0.035480301827192307, 0.052803896367549896, -0.0038022876251488924, -0.027465665712952614, -0.055122245103120804, -0.0007913750014267862, 0.05129671469330788, 0.013930285349488258, -0.03309701383113861, -0.011221296153962612, 0.013488267548382282, 0.008520797826349735, -0.007502640597522259, -0.0024713852908462286, -0.04932878166437149, 0.05463866516947746, 0.03730040043592453, 0.019084030762314796, -0.005130704492330551, -0.015550754964351654, -0.0291909072548151, -0.013691417872905731, -0.04444276914000511, -0.02859042026102543, -0.01181669719517231, -0.01953102834522724, -0.046926870942115784, -0.04123903065919876, -0.04077953100204468, -0.0171829741448164, -0.002332029165700078, 0.007275275886058807, 0.023622684180736542, 0.024029312655329704, 0.032549381256103516, 0.016220783814787865, -0.036630209535360336, -0.03342096507549286, 0.038784682750701904, -0.022549396380782127, -0.02963949739933014, -0.07082294672727585, -0.036499083042144775, 0.040905945003032684, -0.019240014255046844, -0.0033408780582249165, -0.025114035233855247, 0.0488097108900547, 0.05528995022177696, -0.002969824941828847, 0.004634763114154339, -0.060922008007764816, 0.002454836154356599, -0.03323673829436302, -0.02737310715019703, -0.0543694831430912, -0.04018043354153633, -0.006113606970757246, -0.021008942276239395, 0.041003577411174774, -0.08584253489971161, -0.01827971450984478, -0.036820534616708755, -0.015775952488183975, 0.029148945584893227, -0.001987387426197529, -0.06332036852836609, -0.010918467305600643, -0.038117412477731705, -0.021511288359761238, -0.0023633609525859356, -0.03245246037840843, 0.016294313594698906, 0.005895518697798252, 0.00287627219222486, -0.011697069741785526, 0.0660993903875351, 0.010417222045361996, 0.064487025141716, 0.05544133856892586, -0.03349943086504936, 0.02623167634010315, -0.03160678222775459, 0.028027085587382317, -0.014936687424778938, -0.03483060747385025, -0.03799009695649147, -0.10399679839611053, -0.036545928567647934, 0.020583325996994972, -0.03060712106525898, -0.0029831496067345142, 0.04772096872329712, -0.04087740555405617, -0.020571600645780563, -0.01078033447265625, 0.046149931848049164, 0.0381665900349617, 0.018270179629325867, 0.06964733451604843, -0.009144608862698078, 0.019230736419558525, -0.02607409469783306, -0.026073839515447617, -0.03923742473125458, 0.01339256763458252, 0.011034826748073101, 0.05111561343073845, 0.009415036998689175, 0.05960557237267494, 0.07849585264921188, 0.057208165526390076, -0.05433324724435806, 0.043156400322914124, 0.07501326501369476, -0.00439202506095171, -0.043951671570539474, 0.005010197404772043, 0.007600138895213604, -0.009811540134251118, 0.006599924527108669, -0.018429206684231758, 0.00027795496862381697, 0.058104172348976135, -0.0011018107179552317, 0.005114924628287554, 0.0044159493409097195, -0.01767658069729805, -0.014684289693832397, -0.08524582535028458, -0.0015503091271966696, -0.018619297072291374, -0.05261143669486046, 0.05845241993665695, 0.046368781477212906, 0.012898171320557594, 0.042355023324489594, 0.012317012995481491, -0.01663820445537567, -0.058604877442121506, 0.03185851126909256, 0.012138927355408669, -0.04029352217912674, -0.04932471364736557, -0.03036309964954853, 0.013200940564274788, 0.017950136214494705, -0.019151734188199043, -0.07475453615188599, 0.04571002721786499, 0.038596585392951965, -0.06294036656618118, 0.039255596697330475, 0.010732553899288177, 0.03022686205804348, 0.018353842198848724, -0.010446297004818916, 0.04422388970851898, -0.07131292670965195, -0.01841721497476101, -0.015169546008110046, 0.03524928539991379, -0.038850583136081696, -0.047133490443229675, -0.03634180501103401, 0.01728876680135727, 0.015792619436979294, 0.031330421566963196, 0.022005055099725723, -0.05420996621251106, -0.04413476213812828, -0.009429526515305042, 0.04851233959197998, -0.033747632056474686, 0.017779676243662834, 0.03980856388807297, 0.05745955556631088, -0.07563591748476028, -0.0037375111132860184, 0.028201395645737648, 0.0264873206615448, 0.017059529200196266, -0.012799419462680817, -0.02818104811012745, -0.020568419247865677, 0.04816123843193054, -0.04172441363334656, -0.008302252739667892, -0.08063486218452454, 0.05576252564787865, -0.0010808674851432443, -0.026650791987776756, 0.062348440289497375, 0.027565373107790947, 0.053357549011707306, 0.05999211221933365, -0.02827686443924904, 0.020000208169221878, -0.022567668929696083, 0.020319340750575066, -0.06415824592113495, -0.037806104868650436, 0.005064919590950012, -0.06705290824174881, -0.026034943759441376, -0.02686704881489277, -0.048747386783361435, -0.05460913106799126, 0.005516591016203165, 0.027736451476812363, -0.01140668336302042, 0.011592520400881767, 0.007686127442866564, 0.004283541347831488, -0.00967726856470108, -0.022400716319680214, -0.011413093656301498, -0.03117634542286396, -0.07699517160654068, -0.03056330606341362, 0.02844877541065216, -0.02360467053949833, -0.0037666314747184515, -0.005394767504185438, -0.0071371179074049, 0.06549078226089478, 0.0011696952860802412, -0.012422272935509682, -0.007471689023077488, 0.03022647835314274, -0.05642489343881607, 0.006391433533281088, 0.035903431475162506, 0.006811602972447872, 0.013338114134967327, -0.0406210720539093, 0.03896141052246094, 0.003618155140429735, -0.03234712779521942, -0.03528900071978569, 0.02435850165784359, 0.004812814760953188, -0.06642726063728333, -0.017757264897227287, -0.02708396315574646, -0.028920728713274002, 0.028661740943789482, -0.02106577530503273, -0.050513215363025665, -0.0005229788366705179, 0.0267501063644886, 0.0298476479947567, -0.011529629118740559, -0.025855958461761475, 0.0044579338282346725, -0.02151438221335411, 0.04008093476295471, -0.04375986382365227, 0.011916111223399639, -0.021076569333672523, 0.010426193475723267, -0.019680066034197807, 0.009794599376618862, -0.05554652214050293, 0.08666595816612244, -0.02751893550157547, -0.007348506711423397, 0.007941885851323605, 0.004282570909708738, -0.007379994727671146, 0.02826293371617794, 0.010271826758980751, 0.01631557010114193, -0.03847141191363335, 0.033445365726947784, -0.06204664707183838, 0.007123903837054968, -0.008139883168041706, -0.009404359385371208, 0.010413315147161484, 0.01991439424455166, -0.008714812807738781, -0.045996859669685364, 0.03625411167740822, 0.01070197019726038, 0.004309358540922403, 0.039504412561655045, -0.0029507684521377087, 0.02619335427880287, 0.01922645978629589, -0.050025831907987595, -0.05132885277271271, 0.02246580459177494, 0.008636214770376682, 0.012091237120330334, 0.07193351536989212, 0.033428262919187546, -0.032642778009176254, -0.02993575483560562, 0.0306937787681818, 0.041565313935279846, 0.02159869112074375, 0.0021409846376627684, 0.0423775389790535, 0.05849854648113251, 0.04291919246315956, -0.007898882031440735, -0.01875155419111252, 0.024863220751285553, -0.003020946169272065, -0.007083837408572435, -0.014865455217659473, 0.004652355797588825, 0.0038126769941300154, -0.040844064205884933, -0.055801983922719955, 0.06427919119596481, -0.01468817237764597, 0.01677282713353634, -0.018676387146115303, -0.03274265304207802, 0.04143361747264862, -0.00901942141354084, -0.05256617069244385, 0.0010922563960775733, 0.0340869277715683, -0.03347455710172653, 0.01953256130218506, -0.025612708181142807, 0.006597485858947039, 0.038570649921894073, 0.040348004549741745, 0.023054229095578194, 0.011598206125199795, -0.03766657039523125, 0.008480079472064972, 0.027737392112612724, -0.04580055549740791, -0.013259469531476498, -0.02766263112425804, 0.03768559917807579, -0.06344162672758102, 0.06973488628864288, 0.0200996994972229, 0.029488133266568184, 0.02834298275411129, -0.039267152547836304, -0.03981392830610275, -0.029686760157346725, -0.05839713662862778, 0.06288042664527893, -0.03598073869943619, -0.05668782442808151, 0.08352416753768921, 0.04140228033065796, -0.07007988542318344, 0.020440516993403435, 0.02827467955648899, 0.02360074780881405, 0.002139815827831626, 0.02188851311802864, -0.04112624377012253, 0.01903853379189968, -0.02397306263446808, 0.023179199546575546, -0.045548971742391586, -0.0449443943798542, -0.039282385259866714, -0.039561815559864044, -0.004217963665723801, 0.020887859165668488, -0.02506784163415432, 0.02297927811741829, 0.0060137053951621056, -0.04303198680281639, -0.07031726092100143, 0.019868405535817146, 0.011279969476163387, -0.016740763559937477, 0.01609545201063156, -0.011648914776742458, 0.013677985407412052, 0.060868874192237854, 0.002240189118310809, -0.0725303515791893, 0.006521742325276136, 0.002299234038218856, -0.054910432547330856, -0.04413285106420517, 0.08018291741609573, 0.02259676903486252, -0.01113149244338274, -0.03382890671491623, 0.02496289275586605, 0.010833743028342724, 0.003893057582899928, -0.011931804940104485, 0.007372134830802679, -0.09183569997549057, -0.015842255204916, 0.03863568603992462, 0.008833535946905613, 0.006827825680375099, -0.011992373503744602, 0.024447038769721985, 0.07659146189689636, 0.03419043496251106, -0.010821749456226826, -0.038782671093940735, -0.03424832969903946, -0.0027501408476382494, -0.03694576770067215, 0.0579817108809948, 0.010639581829309464, -0.06465542316436768, -0.0386529378592968, -0.02498510852456093, -0.010524311102926731, 0.03426568955183029, -0.05124937742948532, 0.024746671319007874, 0.062128327786922455, -0.005996089428663254, -0.04668326675891876, -0.10581491142511368, -0.038994964212179184, -0.019085556268692017, 0.011436020024120808, 0.028940554708242416, -0.0584268644452095, -0.010137361474335194, -0.019116943702101707, -0.02263905666768551, 0.06942841410636902, -0.005491774994879961, -0.014249701052904129, 0.037429966032505035, 0.06300154328346252, -0.026396246626973152, 0.028635017573833466, 0.007340426556766033, -0.030931759625673294, 0.03484136238694191, 0.010330067947506905, 0.03934904932975769, 0.02639630250632763, 0.030938228592276573, -0.014719649218022823, -0.010959070175886154, -0.015705762431025505, -0.03306004777550697, -0.015613103285431862, 0.008009156212210655, 0.07324762642383575 ]
BumBelDumBel/ZORK-AI-TEST
[ "pytorch", "tensorboard", "gpt2", "text-generation", "transformers", "generated_from_trainer", "license:mit" ]
text-generation
{ "architectures": [ "GPT2LMHeadModel" ], "model_type": "gpt2", "task_specific_params": { "conversational": { "max_length": null }, "summarization": { "early_stopping": null, "length_penalty": null, "max_length": null, "min_length": null, "no_repeat_ngram_size": null, "num_beams": null, "prefix": null }, "text-generation": { "do_sample": true, "max_length": 50 }, "translation_en_to_de": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_fr": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null }, "translation_en_to_ro": { "early_stopping": null, "max_length": null, "num_beams": null, "prefix": null } } }
9
null
--- tags: - espnet - audio - text-to-speech language: zh datasets: - aishell3 license: cc-by-4.0 inference: false --- This model was trained by ftshijt using aishell3/tts1 recipe in <a href="https://github.com/espnet/espnet/">espnet</a>. <p>&nbsp;</p> <ul> <li><strong>Python API</strong><pre><code class="language-python">See https://github.com/espnet/espnet_model_zoo</code></pre></li> <li><strong>Evaluate in the recipe</strong><pre> <code class="language-bash"> See ESPNet repo for how to use pre-trained models </pre></li> <li><strong>Config</strong><pre><code>config: conf/train.yaml print_config: false log_level: INFO dry_run: false iterator_type: sequence output_dir: exp/tts_train_raw_phn_pypinyin_g2p_phone ngpu: 1 seed: 0 num_workers: 1 num_att_plot: 3 dist_backend: nccl dist_init_method: env:// dist_world_size: null dist_rank: null local_rank: 0 dist_master_addr: null dist_master_port: null dist_launcher: null multiprocessing_distributed: false unused_parameters: false sharded_ddp: false cudnn_enabled: true cudnn_benchmark: false cudnn_deterministic: true collect_stats: false write_collected_feats: false max_epoch: 500 patience: null val_scheduler_criterion: - valid - loss early_stopping_criterion: - valid - loss - min best_model_criterion: - - valid - loss - min - - train - loss - min keep_nbest_models: 5 grad_clip: 1.0 grad_clip_type: 2.0 grad_noise: false accum_grad: 1 no_forward_run: false resume: true train_dtype: float32 use_amp: false log_interval: null use_tensorboard: true use_wandb: false wandb_project: null wandb_id: null wandb_entity: null wandb_name: null wandb_model_log_interval: -1 detect_anomaly: false pretrain_path: null init_param: [] ignore_init_mismatch: false freeze_param: [] num_iters_per_epoch: 500 batch_size: 20 valid_batch_size: null batch_bins: 3750000 valid_batch_bins: null train_shape_file: - exp/tts_stats_raw_phn_pypinyin_g2p_phone/train/text_shape.phn - exp/tts_stats_raw_phn_pypinyin_g2p_phone/train/speech_shape valid_shape_file: - exp/tts_stats_raw_phn_pypinyin_g2p_phone/valid/text_shape.phn - exp/tts_stats_raw_phn_pypinyin_g2p_phone/valid/speech_shape batch_type: numel valid_batch_type: null fold_length: - 150 - 240000 sort_in_batch: descending sort_batch: descending multiple_iterator: false chunk_length: 500 chunk_shift_ratio: 0.5 num_cache_chunks: 1024 train_data_path_and_name_and_type: - - dump/raw/train_no_dev/text - text - text - - dump/raw/train_no_dev/wav.scp - speech - sound - - dump/xvector/train_no_dev/xvector.scp - spembs - kaldi_ark valid_data_path_and_name_and_type: - - dump/raw/dev/text - text - text - - dump/raw/dev/wav.scp - speech - sound - - dump/xvector/dev/xvector.scp - spembs - kaldi_ark allow_variable_data_keys: false max_cache_size: 0.0 max_cache_fd: 32 valid_max_cache_size: null optim: adam optim_conf: lr: 0.001 eps: 1.0e-06 weight_decay: 0.0 scheduler: null scheduler_conf: {} token_list: - <blank> - <unk> - '' - d - sh - j - i4 - zh - l - x - e - b - g - i1 - h - q - m - u4 - t - z - ch - i3 - i2 - f - s - n - r - ian4 - e4 - ong1 - en2 - ai4 - k - ing2 - a1 - iou3 - uo3 - ao4 - u3 - ui4 - p - e2 - an1 - eng2 - c - in1 - ai2 - an4 - ian2 - ing1 - ai3 - ang4 - ao3 - ian1 - uo4 - ian3 - iao4 - ang1 - u2 - ü4 - u1 - a4 - eng1 - ing4 - üan2 - ie4 - en1 - iu4 - uei4 - ou4 - er4 - e1 - ei4 - an3 - ong2 - uo2 - ang3 - ou1 - ou3 - ong4 - eng4 - an2 - iang4 - a3 - iang1 - ia1 - iao1 - uan4 - ia4 - iu3 - ang2 - uo1 - ei3 - e3 - in4 - iang3 - ü1 - uan1 - en3 - iao3 - ie3 - ao1 - ai1 - ü2 - ing3 - er2 - ü3 - uan3 - üe4 - in3 - en - ei2 - üe2 - ie2 - en4 - ua4 - in2 - iu2 - uan2 - a2 - ie1 - ou2 - ui1 - iang2 - ong3 - i - uang3 - eng3 - ün4 - uang4 - uai4 - iong4 - v3 - iou2 - ui2 - un1 - üan4 - uang1 - ei1 - uang2 - o2 - a - ao2 - iao2 - ui3 - un4 - o1 - ua2 - un2 - uen2 - iu1 - v4 - ua1 - uei1 - üan3 - ün1 - üe1 - ün2 - uen4 - uei3 - uei2 - un3 - iou4 - o4 - er3 - uen1 - iong3 - iou1 - ia3 - üan1 - ia2 - iong1 - üe3 - uen3 - ve4 - iong2 - uai2 - uai1 - ua3 - ün3 - er - uai3 - ia - o3 - v2 - o - ueng1 - ei - '2' - ua - io1 - <sos/eos> odim: null model_conf: {} use_preprocessor: true token_type: phn bpemodel: null non_linguistic_symbols: null cleaner: null g2p: pypinyin_g2p_phone feats_extract: fbank feats_extract_conf: n_fft: 2048 hop_length: 300 win_length: 1200 fs: 24000 fmin: 80 fmax: 7600 n_mels: 80 normalize: global_mvn normalize_conf: stats_file: exp/tts_stats_raw_phn_pypinyin_g2p_phone/train/feats_stats.npz tts: tacotron2 tts_conf: embed_dim: 512 elayers: 1 eunits: 512 econv_layers: 3 econv_chans: 512 econv_filts: 5 atype: location adim: 512 aconv_chans: 32 aconv_filts: 15 cumulate_att_w: true dlayers: 2 dunits: 1024 prenet_layers: 2 prenet_units: 256 postnet_layers: 5 postnet_chans: 512 postnet_filts: 5 output_activation: null use_batch_norm: true use_concate: true use_residual: false spk_embed_dim: 512 spk_embed_integration_type: add use_gst: true gst_heads: 4 gst_tokens: 16 dropout_rate: 0.5 zoneout_rate: 0.1 reduction_factor: 1 use_masking: true bce_pos_weight: 10.0 use_guided_attn_loss: true guided_attn_loss_sigma: 0.4 guided_attn_loss_lambda: 1.0 pitch_extract: null pitch_extract_conf: {} pitch_normalize: null pitch_normalize_conf: {} energy_extract: null energy_extract_conf: {} energy_normalize: null energy_normalize_conf: {} required: - output_dir - token_list version: 0.10.2a1 distributed: false</code></pre></li> </ul>
[ -0.05763314664363861, -0.019311759620904922, -0.025077281519770622, 0.03967888280749321, 0.053459297865629196, 0.01948571763932705, 0.0012432178482413292, 0.010491423308849335, -0.04420823976397514, 0.0388108491897583, 0.0072296252474188805, -0.010183203034102917, 0.011577049270272255, 0.019506899639964104, -0.028276823461055756, -0.03713138774037361, -0.007309582084417343, -0.019584791734814644, -0.04026520624756813, -0.022580605000257492, 0.011846669018268585, 0.022708885371685028, -0.00237550912424922, 0.032243214547634125, -0.01163801085203886, 0.029595326632261276, 0.012536229565739632, 0.04156041517853737, 0.018567372113466263, -0.06744040548801422, -0.008676659315824509, -0.04534488171339035, -0.025291331112384796, -0.017057813704013824, -0.019616829231381416, -0.009101450443267822, 0.00041441869689151645, 0.007553283125162125, 0.02013789676129818, 0.026963863521814346, -0.005311158020049334, 0.014881981536746025, -0.02979929745197296, -0.03163941949605942, 0.05044594407081604, 0.025713929906487465, -0.030365275219082832, -0.019606875255703926, 0.017095856368541718, -0.013510246761143208, -0.0414159782230854, -0.07645098865032196, 0.000048209989472525194, 0.024218473583459854, -0.05649026855826378, -0.027688080444931984, -0.05671878531575203, -0.010372989811003208, 0.07963961362838745, -0.03978945314884186, -0.03464851528406143, 0.02527269721031189, -0.09526199102401733, 0.005963603034615517, 0.034703824669122696, -0.029097218066453934, 0.01012902706861496, -0.04657255485653877, 0.009410273283720016, -0.0090310238301754, 0.06180085241794586, -0.036554545164108276, 0.021056756377220154, -0.06966864317655563, 0.0036785975098609924, -0.011980562470853329, 0.02343791164457798, 0.030713289976119995, -0.04960381239652634, 0.06285779923200607, 0.05136951059103012, -0.01945583149790764, 0.028373006731271744, -0.025196779519319534, -0.013207711279392242, 0.010319395922124386, -0.037000060081481934, -0.0010109860450029373, 0.03483393043279648, 0.024989008903503418, -0.037354081869125366, -0.03772951290011406, -0.007950007915496826, -0.03278037905693054, -0.00851852260529995, 0.04039556533098221, 0.04281061142683029, 0.008825489319860935, 0.0643458142876625, 0.021569594740867615, 0.03237367048859596, 0.007491815835237503, 0.00015582951891701669, 0.05503932014107704, 0.0022385220509022474, -0.010975112207233906, -0.0018339090747758746, -0.045354682952165604, -0.05342983081936836, 0.01431039534509182, 0.01592334546148777, -0.03946452587842941, -0.03509875386953354, 0.05741110071539879, 0.0259762741625309, -0.01986658200621605, 0.03774898871779442, -0.032655857503414154, -0.042934685945510864, -0.04234214872121811, 0.04042964428663254, 0.020949257537722588, 0.007103948388248682, 0.018914444372057915, -0.05286813899874687, -0.001970018493011594, -0.049990102648735046, -0.03800009563565254, -0.03636706992983818, 0.010768236592411995, -0.02177908457815647, 0.04421679303050041, 0.012635782361030579, -0.06200036779046059, -0.0023363144136965275, 0.008615167811512947, -0.06975866854190826, 0.0473971851170063, 0.031723592430353165, 0.07942526042461395, -0.07963146269321442, -0.06018312647938728, -0.002662086393684149, 0.003563825972378254, -0.02741706185042858, 0.019924387335777283, 0.0055415513925254345, -0.04135575518012047, -0.032746821641922, -0.028585348278284073, 0.06511558592319489, -0.04545756056904793, -0.006531022023409605, 0.04680836200714111, 0.006656245794147253, 0.02821841835975647, -0.04134649038314819, -0.0036949364002794027, 0.01353592611849308, 0.007437314372509718, -0.03268064931035042, 0.029539721086621284, -0.020248165354132652, -0.01249089278280735, -0.056114353239536285, -0.07257114350795746, 0.004209735430777073, 0.05761278420686722, -0.006726836320012808, -0.03104209527373314, -0.023253420367836952, 0.012472073547542095, 0.05389665067195892, 0.020431090146303177, -0.02721586264669895, 0.026064733043313026, 0.07395047694444656, 0.050935760140419006, -0.030955564230680466, 0.05642665550112724, 0.0342416912317276, -0.0198960043489933, -0.02256062999367714, 0.017143068835139275, 0.0011041404213756323, -0.01864313893020153, 0.011438016779720783, 0.06229287013411522, -0.02078685536980629, -0.05308157950639725, -0.036060698330402374, 0.06039854511618614, 0.01691497303545475, 0.004828153643757105, -0.034253496676683426, -0.031532470136880875, -0.028868867084383965, 0.030813876539468765, -0.003401162102818489, -0.022574082016944885, -0.0075412229634821415, -0.039153195917606354, -0.010748879984021187, 0.026325207203626633, 0.03939196467399597, 0.06763906031847, 0.014996702782809734, 0.0992278978228569, -0.014956612139940262, 0.03670404106378555, -0.05114641785621643, -0.0457184836268425, 0.0026511407922953367, 0.05267056077718735, 0.020370956510305405, 0.05093872547149658, 0.007868692278862, -0.03457329422235489, 0.04903232678771019, 0.061266057193279266, 0.04621250927448273, 0.026407739147543907, -0.04121635854244232, -0.0013121457304805517, 0.02885836362838745, 0.06931861490011215, -0.03132457658648491, -0.04343371093273163, 0.029136015102267265, 0.04115160182118416, -0.001708868658170104, 0.005918435286730528, -0.027771301567554474, 0.03942793980240822, -0.0547533743083477, -0.08395178616046906, 0.04150797426700592, 0.03528967872262001, 0.03975411877036095, 0.023102598264813423, -0.010975092649459839, 0.00952707976102829, 0.035777121782302856, 0.011044621467590332, 0.002809676341712475, -0.05047318711876869, 0.01201791875064373, 0.029215745627880096, 0.040132202208042145, -0.05374564975500107, 0.011168591678142548, -0.010446551255881786, -0.008527387864887714, 0.04385332763195038, -0.04840812459588051, 0.02842484973371029, 0.02073674649000168, 0.02365175448358059, -0.0186078529804945, -0.005848645698279142, -0.0004214177024550736, 0.0398893766105175, 0.02815982513129711, -0.008864017203450203, 0.0696638822555542, -0.005101680755615234, 0.04084771126508713, 0.0752052590250969, 0.03527769446372986, 0.024320561438798904, 0.017436088994145393, 0.06999480724334717, 0.016206517815589905, 0.01617162860929966, 0.06307487189769745, -0.04805641621351242, -0.0053467582911252975, -0.0413217656314373, 0.005013782065361738, -0.015520057640969753, -0.0011646199272945523, 0.040357377380132675, 0.0032236541155725718, -0.012099281884729862, 0.005728461779654026, -0.009792535565793514, -0.005719679407775402, 0.01578809879720211, -0.032594840973615646, -0.012761757709085941, 0.015257610008120537, 0.0016684209695085883, 0.01799922063946724, -0.09057874232530594, -0.051495470106601715, -0.016884462907910347, -0.027226809412240982, 0.01495007798075676, -0.07590940594673157, -0.01768168807029724, -0.08113831281661987, 0.00025832877145148814, 0.023898836225271225, 0.03218298777937889, 0.011625001206994057, -0.05679192766547203, 0.039611756801605225, -0.04895545542240143, -0.03261156007647514, -0.03428385406732559, -0.03331948071718216, -0.0100791584700346, -0.056204166263341904, 0.042996231466531754, 0.03282947465777397, 0.03363996744155884, -0.007398311048746109, -0.0004432252317201346, -0.0020278177689760923, -0.03682177513837814, 0.0607328787446022, 0.06777486950159073, -0.026859838515520096, -0.07931780815124512, 0.016949458047747612, 0.00802921038120985, 0.0010994755430147052, -0.009974162094295025, -0.026878828182816505, 0.06126844510436058, 0.08866164088249207, -0.013806136325001717, 0.017975110560655594, -0.027981635183095932, -0.06918719410896301, -0.07591895759105682, -0.028407782316207886, -0.053172677755355835, -0.0029745574574917555, -0.01336103118956089, -0.04345712438225746, -0.022875068709254265, -0.04033496603369713, -0.037575360387563705, -0.012270013801753521, -0.010897214524447918, 0.03774042800068855, 0.03521163389086723, 0.027590500190854073, 0.05116255208849907, -0.07664448022842407, -0.02590007521212101, 0.04475590959191322, 0.0016408329829573631, -0.0013828342780470848, -0.08158313482999802, -0.025047672912478447, 0.03969743475317955, 0.02109668403863907, 0.009726372547447681, -0.013742811977863312, 0.09389326721429825, 0.0523664727807045, -0.000038981015677563846, 0.021645227447152138, -0.017538899555802345, -0.019685322418808937, -0.02789418213069439, -0.002482360228896141, -0.027431882917881012, -0.05708853155374527, -0.022729450836777687, -0.011357363313436508, 0.04436826333403587, -0.03482424467802048, -0.06326460838317871, -0.019407087936997414, 0.0037848856300115585, 0.0508919321000576, -0.009099076502025127, -0.04036527872085571, 0.005845806561410427, -0.062056541442871094, -0.02107357792556286, 0.0012472009984776378, -0.006737707648426294, -0.0028259968385100365, 0.04424382746219635, 0.035832423716783524, -0.01932753063738346, 0.06247268617153168, 0.028718197718262672, 0.05141594260931015, 0.027148893103003502, -0.058141078799963, 0.00816260278224945, -0.009450951591134071, 0.03408773988485336, 0.006924524437636137, -0.017924070358276367, -0.03637200966477394, -0.09127727150917053, -0.03280225396156311, 0.008084354922175407, -0.016962815076112747, -0.022955982014536858, 0.05342841148376465, -0.03262026607990265, -0.0015405225567519665, -0.0007946155383251607, 0.03143730014562607, 0.0470748171210289, -0.05314238741993904, 0.05433791130781174, -0.017940668389201164, 0.0255329217761755, -0.05457745119929314, 0.023818282410502434, -0.036446571350097656, -0.025858329609036446, 0.01567881926894188, 0.05918550863862038, 0.023812400177121162, 0.04073217511177063, 0.08055933564901352, 0.03223825618624687, -0.0592883825302124, 0.043733496218919754, 0.042276859283447266, -0.03000740520656109, -0.061514779925346375, 0.011676546186208725, -0.03427497297525406, -0.020504338666796684, 0.014612228609621525, -0.017246076837182045, 0.03957536071538925, 0.030487682670354843, -0.010237378068268299, 0.008324094116687775, 0.004289473872631788, -0.026430556550621986, -0.00599484471604228, -0.044066544622182846, -0.011495156213641167, -0.013987879268825054, -0.020308636128902435, 0.033600322902202606, 0.011601925827562809, 0.007641833275556564, 0.036180902272462845, 0.05112215876579285, -0.038390159606933594, 0.004586281720548868, 0.026701154187321663, 0.03245212882757187, -0.04184715822339058, -0.05855854973196983, -0.0031381226144731045, 0.0348992645740509, 0.042893875390291214, -0.018446238711476326, -0.04694607853889465, 0.026691846549510956, 0.0532776415348053, -0.03321235999464989, 0.07112260162830353, -0.015505506657063961, 0.04262513294816017, 0.06596141308546066, -0.017017709091305733, 0.02152309939265251, -0.021523673087358475, 0.004387154709547758, -0.0009317610529251397, 0.038028378039598465, -0.03507976233959198, -0.02801244519650936, -0.036934830248355865, 0.034061603248119354, 0.03105579875409603, 0.04763877019286156, 0.02525707148015499, -0.038436178117990494, -0.05434747412800789, -0.010774152353405952, 0.03172209486365318, -0.03901887312531471, 0.017522864043712616, 0.02983584813773632, 0.03778527304530144, -0.053275272250175476, -0.030637435615062714, -0.007649675011634827, -0.0075993468053638935, 0.031047271564602852, -0.011422034353017807, -0.04341015964746475, -0.05046101659536362, 0.008990404196083546, -0.014337122440338135, -0.013535778038203716, -0.07505238801240921, 0.049131810665130615, -0.03174528107047081, -0.011857930570840836, 0.05235523357987404, 0.05695473775267601, 0.013718116097152233, 0.045531634241342545, 0.0029442983213812113, 0.006901060696691275, -0.030083298683166504, 0.03990941494703293, -0.005674052983522415, -0.011787869967520237, -0.019022665917873383, -0.033569954335689545, -0.011410290375351906, -0.04709753766655922, -0.04469725862145424, -0.03664867579936981, -0.02981102094054222, 0.015361461788415909, -0.006212988402694464, -0.01592305861413479, -0.010203065350651741, 0.04411054402589798, -0.024593567475676537, -0.04098998382687569, -0.023211192339658737, -0.03800487518310547, -0.0480152852833271, -0.06390070170164108, 0.0331384614109993, 0.010376065038144588, 0.04415378347039223, -0.017057249322533607, 0.011917855590581894, 0.030116068199276924, 0.025885870680212975, -0.0240719486027956, 0.02568366564810276, -0.00009754749771673232, -0.035528846085071564, -0.025174403563141823, 0.016798492521047592, 0.008374172262847424, 0.03489682078361511, -0.011162676848471165, 0.02691531926393509, 0.01574510894715786, -0.013148617930710316, -0.009376073256134987, 0.008367804810404778, 0.02878457121551037, -0.06322076916694641, -0.040391962975263596, -0.01827709935605526, -0.036709435284137726, 0.030925899744033813, -0.006935007870197296, -0.0278478991240263, 0.018900254741311073, 0.012309597805142403, 0.02410537749528885, 0.002406665589660406, -0.027817253023386, 0.03368794918060303, -0.005730222444981337, 0.012869363650679588, -0.052214302122592926, 0.03835989534854889, -0.05433731526136398, 0.01897086575627327, -0.008115630596876144, 0.010258309543132782, -0.05857578665018082, 0.04723542928695679, -0.034148987382650375, -0.005597556941211224, -0.004936268087476492, 0.02107737958431244, -0.021184153854846954, 0.03069399669766426, -0.008878674358129501, 0.05008464679121971, -0.036269623786211014, 0.050820864737033844, -0.0343521386384964, 0.009693886153399944, -0.02443270944058895, -0.00704626040533185, -0.022380894050002098, -0.012436863034963608, -0.01886735111474991, -0.03209645673632622, 0.03160987049341202, 0.04142533242702484, 0.027623038738965988, 0.04313981905579567, -0.02489696815609932, 0.0005235823336988688, 0.001852395129390061, -0.06416351348161697, -0.0171296838670969, -0.01932826265692711, 0.02056085132062435, -0.023282812908291817, 0.046687498688697815, 0.055078137665987015, -0.07565189152956009, -0.04778171330690384, 0.018770601600408554, 0.015809156000614166, 0.01019766554236412, 0.004337088670581579, 0.008818265981972218, 0.026180624961853027, 0.039823442697525024, -0.026362184435129166, -0.01430938858538866, -0.02170621044933796, -0.02987557277083397, 0.0028200927190482616, 0.002770689781755209, 0.024684850126504898, 0.012971899472177029, -0.03770837560296059, -0.019066806882619858, 0.06296003609895706, 0.04357672482728958, 0.019392726942896843, -0.027137624099850655, -0.037511639297008514, 0.04454364627599716, -0.01665160432457924, -0.0406968928873539, -0.0009768131421878934, 0.029432430863380432, -0.03802916035056114, 0.11867628991603851, -0.010104202665388584, 0.01341758482158184, 0.04446282610297203, 0.014521977864205837, -0.018124094232916832, 0.04703877866268158, -0.020666368305683136, 0.02345922216773033, 0.043957144021987915, -0.06622449308633804, 0.000060040209064027295, -0.012327947653830051, 0.07976070046424866, -0.07140513509511948, 0.040010031312704086, 0.06513288617134094, 0.014546236023306847, 0.006299128755927086, -0.045127302408218384, -0.040714625269174576, 0.047280266880989075, -0.04222378134727478, 0.07134022563695908, -0.011986509896814823, -0.047935664653778076, 0.05916351079940796, -0.0005972877261228859, -0.06833008676767349, 0.049747779965400696, 0.04396998882293701, -0.005244140513241291, 0.049040019512176514, 0.04449192434549332, -0.04631867632269859, 0.0026281250175088644, -0.04405786842107773, 0.017966043204069138, -0.03785577416419983, 0.011696294881403446, 0.01581922546029091, -0.04309689626097679, -0.012739626690745354, 0.03887614607810974, 0.018061261624097824, -0.03121759556233883, 0.02893790975213051, -0.06735865771770477, -0.03948259726166725, 0.007499337196350098, 0.039337411522865295, -0.019962128251791, -0.004398602992296219, -0.0038378783501684666, 0.008796912617981434, 0.024763554334640503, 0.026770899072289467, -0.010123807936906815, -0.021406425163149834, 0.023898128420114517, -0.06074327602982521, -0.006385065149515867, 0.05272010713815689, 0.04392561316490173, -0.027018873021006584, 0.037012726068496704, -0.0048376768827438354, 0.03061623126268387, 0.017006423324346542, 0.0018195115262642503, 0.0385693684220314, -0.058683767914772034, -0.02829083614051342, 0.03179386630654335, 0.012064038775861263, 0.030691854655742645, 0.0009104413911700249, 0.029749412089586258, 0.03741392493247986, 0.030039243400096893, -0.00008941110718296841, -0.04214903339743614, -0.011576659046113491, 0.001997788203880191, -0.053593605756759644, 0.0514787919819355, 0.020536497235298157, -0.048019297420978546, -0.01760597713291645, 0.00715431896969676, -0.012343225069344044, 0.03522174432873726, -0.04646095260977745, -0.0031358483247458935, 0.01979377493262291, 0.0026753530837595463, -0.053987905383110046, -0.07748129963874817, -0.03984634205698967, -0.031668536365032196, 0.031086666509509087, 0.04073343425989151, -0.02996066026389599, 0.023776324465870857, -0.021663207560777664, -0.06183892861008644, 0.03331117331981659, 0.03634091839194298, -0.05305708199739456, 0.05989551916718483, 0.061323538422584534, -0.02781955525279045, 0.017242711037397385, 0.03616814315319061, -0.04538927227258682, 0.016113268211483955, 0.03044905513525009, 0.008910968899726868, 0.04033335670828819, 0.03524716570973396, 0.003291245549917221, -0.0051135169342160225, -0.05673721432685852, -0.037953197956085205, -0.03472180292010307, -0.01400621235370636, 0.051929641515016556 ]
BumBelDumBel/ZORK_AI_FANTASY
[]
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 - text-to-speech language: zh datasets: - thchs30 license: cc-by-4.0 inference: false --- This model was trained by ftshijt using thchs30/tts1 recipe in <a href="https://github.com/espnet/espnet/">espnet</a>. <p>&nbsp;</p> <ul> <li><strong>Python API</strong><pre><code class="language-python">See https://github.com/espnet/espnet_model_zoo</code></pre></li> <li><strong>Evaluate in the recipe</strong><pre> <code class="language-bash">Please see ESPNet for how to use pre-trained model </pre></li> <li><strong>Config</strong><pre><code>config: conf/train.yaml print_config: false log_level: INFO dry_run: false iterator_type: sequence output_dir: exp/tts_train_raw_phn_pypinyin_g2p_phone ngpu: 1 seed: 0 num_workers: 1 num_att_plot: 3 dist_backend: nccl dist_init_method: env:// dist_world_size: null dist_rank: null local_rank: 0 dist_master_addr: null dist_master_port: null dist_launcher: null multiprocessing_distributed: false unused_parameters: false sharded_ddp: false cudnn_enabled: true cudnn_benchmark: false cudnn_deterministic: true collect_stats: false write_collected_feats: false max_epoch: 500 patience: null val_scheduler_criterion: - valid - loss early_stopping_criterion: - valid - loss - min best_model_criterion: - - valid - loss - min - - train - loss - min keep_nbest_models: 5 grad_clip: 1.0 grad_clip_type: 2.0 grad_noise: false accum_grad: 1 no_forward_run: false resume: true train_dtype: float32 use_amp: false log_interval: null use_tensorboard: true use_wandb: false wandb_project: null wandb_id: null wandb_entity: null wandb_name: null wandb_model_log_interval: -1 detect_anomaly: false pretrain_path: null init_param: [] ignore_init_mismatch: false freeze_param: [] num_iters_per_epoch: 500 batch_size: 20 valid_batch_size: null batch_bins: 3750000 valid_batch_bins: null train_shape_file: - exp/tts_stats_raw_phn_pypinyin_g2p_phone/train/text_shape.phn - exp/tts_stats_raw_phn_pypinyin_g2p_phone/train/speech_shape valid_shape_file: - exp/tts_stats_raw_phn_pypinyin_g2p_phone/valid/text_shape.phn - exp/tts_stats_raw_phn_pypinyin_g2p_phone/valid/speech_shape batch_type: numel valid_batch_type: null fold_length: - 150 - 204800 sort_in_batch: descending sort_batch: descending multiple_iterator: false chunk_length: 500 chunk_shift_ratio: 0.5 num_cache_chunks: 1024 train_data_path_and_name_and_type: - - dump/raw/train/text - text - text - - dump/raw/train/wav.scp - speech - sound - - dump/xvector/train/xvector.scp - spembs - kaldi_ark valid_data_path_and_name_and_type: - - dump/raw/dev/text - text - text - - dump/raw/dev/wav.scp - speech - sound - - dump/xvector/dev/xvector.scp - spembs - kaldi_ark allow_variable_data_keys: false max_cache_size: 0.0 max_cache_fd: 32 valid_max_cache_size: null optim: adam optim_conf: lr: 0.001 eps: 1.0e-06 weight_decay: 0.0 scheduler: null scheduler_conf: {} token_list: - <blank> - <unk> - '' - d - sh - j - zh - l - i4 - x - b - g - h - e - q - t - m - ch - i1 - z - u4 - i2 - i3 - n - f - s - r - k - c - p - ai4 - e4 - a1 - an4 - ian4 - ing2 - u3 - ian2 - ong1 - e2 - in1 - eng2 - ui4 - ao4 - u2 - iao4 - üan2 - en2 - an1 - u1 - ai2 - ao3 - ing4 - eng1 - iou3 - ü4 - uo4 - üe4 - ong2 - ian1 - ing1 - uo3 - ie4 - ang1 - uei4 - ang4 - an2 - a4 - ou4 - ei4 - uai4 - ie3 - ang3 - ong4 - ai3 - ü2 - uo2 - an3 - ang2 - ou3 - er2 - ou1 - uo1 - en1 - ia1 - ü3 - uan1 - in2 - iong4 - ian3 - iang3 - a3 - iang2 - ia4 - ü1 - uan4 - iao3 - iang4 - uen2 - iang1 - uan3 - ai1 - ie2 - ei3 - uan2 - uang2 - in4 - üe2 - ao1 - eng3 - iu4 - iao1 - er4 - iu2 - in3 - un1 - uang1 - eng4 - a2 - uang3 - en3 - uang4 - ong3 - ing3 - e3 - ei2 - ou2 - ao2 - i - ün4 - uei2 - ua4 - iou4 - ui1 - ua1 - en4 - ün2 - iao2 - ie1 - iou2 - iu3 - ün1 - üan4 - en - ei1 - o2 - un4 - ui3 - iu1 - üan3 - e1 - v3 - ua2 - ia2 - ui2 - un2 - o4 - un3 - er3 - ia3 - iong1 - uei3 - o1 - üe1 - üan1 - iong3 - v4 - iong2 - uen4 - uai2 - uei1 - iou1 - a - ua3 - uen1 - o3 - ueng1 - uai1 - uen3 - üe3 - ou - uai3 - ve4 - er - ün3 - o - ua - ia - ' l =' - <sos/eos> odim: null model_conf: {} use_preprocessor: true token_type: phn bpemodel: null non_linguistic_symbols: null cleaner: null g2p: pypinyin_g2p_phone feats_extract: fbank feats_extract_conf: n_fft: 1024 hop_length: 256 win_length: null fs: 16000 fmin: 80 fmax: 7600 n_mels: 80 normalize: global_mvn normalize_conf: stats_file: exp/tts_stats_raw_phn_pypinyin_g2p_phone/train/feats_stats.npz tts: tacotron2 tts_conf: embed_dim: 512 elayers: 1 eunits: 512 econv_layers: 3 econv_chans: 512 econv_filts: 5 atype: location adim: 512 aconv_chans: 32 aconv_filts: 15 cumulate_att_w: true dlayers: 2 dunits: 1024 prenet_layers: 2 prenet_units: 256 postnet_layers: 5 postnet_chans: 512 postnet_filts: 5 output_activation: null use_batch_norm: true use_concate: true use_residual: false spk_embed_dim: 512 spk_embed_integration_type: add use_gst: true gst_heads: 4 gst_tokens: 16 dropout_rate: 0.5 zoneout_rate: 0.1 reduction_factor: 1 use_masking: true bce_pos_weight: 10.0 use_guided_attn_loss: true guided_attn_loss_sigma: 0.4 guided_attn_loss_lambda: 1.0 pitch_extract: null pitch_extract_conf: {} pitch_normalize: null pitch_normalize_conf: {} energy_extract: null energy_extract_conf: {} energy_normalize: null energy_normalize_conf: {} required: - output_dir - token_list version: 0.10.2a1 distributed: false</code></pre></li> </ul>
[ -0.057596348226070404, -0.01957879774272442, -0.028139207512140274, 0.039094358682632446, 0.050667230039834976, 0.01750156842172146, -0.0005581130390055478, 0.010515370406210423, -0.04165217652916908, 0.036345887929201126, 0.0078034126199781895, -0.014419394545257092, 0.00895368866622448, 0.02217821404337883, -0.028111452236771584, -0.035032548010349274, -0.007420911453664303, -0.019938437268137932, -0.04295908659696579, -0.0204254649579525, 0.015547532588243484, 0.02543523535132408, -0.0010639979736879468, 0.03539465367794037, -0.011300185695290565, 0.03218923881649971, 0.013188643380999565, 0.041997313499450684, 0.021246101707220078, -0.0682334452867508, -0.004649524576961994, -0.042773135006427765, -0.03019236959517002, -0.017669392749667168, -0.014563537202775478, -0.01297014206647873, -0.000044317072024568915, 0.007229478098452091, 0.02446804568171501, 0.029678596183657646, -0.007802397944033146, 0.018677590414881706, -0.029069148004055023, -0.03771324083209038, 0.05328216031193733, 0.020367534831166267, -0.03276221826672554, -0.01864715665578842, 0.01682453416287899, -0.0137804439291358, -0.04204343259334564, -0.07734686881303787, 0.00016279697592835873, 0.019677165895700455, -0.053910885006189346, -0.02871386520564556, -0.056282926350831985, -0.013067923486232758, 0.07992438226938248, -0.03809535130858421, -0.036914702504873276, 0.021737659350037575, -0.0932447612285614, 0.005569008179008961, 0.03598302602767944, -0.032356180250644684, 0.010483410209417343, -0.04736170172691345, 0.008686765097081661, -0.008846594020724297, 0.06034756824374199, -0.035542894154787064, 0.020992407575249672, -0.07201061397790909, 0.004773230757564306, -0.010495508089661598, 0.026262938976287842, 0.02926553413271904, -0.05276668816804886, 0.06210293620824814, 0.05092725530266762, -0.02196933515369892, 0.030578339472413063, -0.028030138462781906, -0.016180675476789474, 0.014003974385559559, -0.035339292138814926, 0.001746641006320715, 0.03199378401041031, 0.02977234497666359, -0.04252517223358154, -0.03372873365879059, -0.010533744469285011, -0.03211044520139694, -0.008467906154692173, 0.04219437763094902, 0.04294915497303009, 0.013015389442443848, 0.05971118435263634, 0.020448751747608185, 0.032550837844610214, 0.00902966782450676, -0.003619810799136758, 0.05158497765660286, 0.002048260997980833, -0.011146985925734043, -0.0027203543577343225, -0.04416057839989662, -0.05632373318076134, 0.015343507751822472, 0.014544646255671978, -0.04079155996441841, -0.03339861333370209, 0.057777728885412216, 0.022795435041189194, -0.02337886579334736, 0.04027414694428444, -0.036200493574142456, -0.04751531407237053, -0.04253820702433586, 0.03889797255396843, 0.01982869580388069, 0.006953726522624493, 0.012092366814613342, -0.05191263556480408, -0.004567273892462254, -0.0463130921125412, -0.04091455787420273, -0.03735709935426712, 0.010552246123552322, -0.02028586156666279, 0.049722835421562195, 0.012359566055238247, -0.06163957715034485, -0.0039009512402117252, 0.006994009483605623, -0.0681271180510521, 0.049297839403152466, 0.03372332081198692, 0.08012356609106064, -0.08240710198879242, -0.06317701935768127, -0.004231282975524664, 0.006567397154867649, -0.023928675800561905, 0.02334439568221569, 0.005722179543226957, -0.039541397243738174, -0.03406364843249321, -0.02886364609003067, 0.06818901747465134, -0.04863591119647026, -0.0021953710820525885, 0.043852824717760086, 0.007274712901562452, 0.02874433435499668, -0.041478272527456284, -0.0025362754240632057, 0.014105437323451042, 0.005579368676990271, -0.031631387770175934, 0.028839122503995895, -0.01889926567673683, -0.011098691262304783, -0.056973397731781006, -0.07128609716892242, 0.007893482223153114, 0.06031850725412369, -0.008325605653226376, -0.030474252998828888, -0.02974638156592846, 0.012924582697451115, 0.05944673344492912, 0.024593161419034004, -0.027755483984947205, 0.027590231969952583, 0.07688631117343903, 0.05379917845129967, -0.03284972161054611, 0.05316349118947983, 0.03300166502594948, -0.01504589430987835, -0.02063608355820179, 0.01936233974993229, 0.0012012270744889975, -0.022169191390275955, 0.01100287027657032, 0.059000011533498764, -0.021378548815846443, -0.054045699536800385, -0.03736352548003197, 0.06186939403414726, 0.011605900712311268, 0.004760324954986572, -0.02642046846449375, -0.032478317618370056, -0.028821660205721855, 0.034077174961566925, 0.00015813186473678797, -0.02169008180499077, -0.006690586917102337, -0.039636678993701935, -0.01175649557262659, 0.027117179706692696, 0.03886570408940315, 0.06479984521865845, 0.012903564609587193, 0.09855719655752182, -0.013060277327895164, 0.03473576530814171, -0.04859521985054016, -0.04716617614030838, 0.003280877834185958, 0.051294296979904175, 0.021441427990794182, 0.05192794278264046, 0.009752589277923107, -0.03755801171064377, 0.044572558254003525, 0.05720525607466698, 0.04570828750729561, 0.03191215544939041, -0.042395930737257004, -0.0027716169133782387, 0.029276961460709572, 0.06765411049127579, -0.032477520406246185, -0.044048622250556946, 0.02858360856771469, 0.041159141808748245, -0.0016008657403290272, 0.004233630374073982, -0.03254521265625954, 0.03825495392084122, -0.056504879146814346, -0.08212147653102875, 0.043116506189107895, 0.03583381697535515, 0.037627238780260086, 0.021493813022971153, -0.012515096925199032, 0.012156267650425434, 0.03674348071217537, 0.007472261320799589, 0.005265176296234131, -0.048094142228364944, 0.009459726512432098, 0.026055339723825455, 0.03907538950443268, -0.049853403121232986, 0.010350549593567848, -0.009684117510914803, -0.009954750537872314, 0.0444725900888443, -0.05010419711470604, 0.028728121891617775, 0.02318120002746582, 0.023566698655486107, -0.022641299292445183, -0.003886308753862977, 0.0004817202570848167, 0.041126836091279984, 0.03111354634165764, -0.008368821814656258, 0.06936462968587875, -0.008920902386307716, 0.042540330439805984, 0.07415527105331421, 0.03286140039563179, 0.025442451238632202, 0.0177566260099411, 0.0675583928823471, 0.013965067453682423, 0.01330637838691473, 0.0643668845295906, -0.045217618346214294, -0.004561420530080795, -0.042159225791692734, 0.006883199792355299, -0.017336949706077576, 0.0006572710117325187, 0.03691721707582474, -0.0020371153950691223, -0.01368065644055605, 0.006410218775272369, -0.01182370912283659, -0.009068623185157776, 0.019639696925878525, -0.03305980935692787, -0.01475883275270462, 0.01394172478467226, -0.0008070420008152723, 0.023258056491613388, -0.08949048072099686, -0.052173763513565063, -0.013975241221487522, -0.02658367156982422, 0.013346051797270775, -0.07704246789216995, -0.0210099034011364, -0.07800215482711792, -0.000503754592500627, 0.023245150223374367, 0.0326932892203331, 0.01085567194968462, -0.053838834166526794, 0.04020281881093979, -0.04616628587245941, -0.0315137580037117, -0.036610230803489685, -0.03398615121841431, -0.011098150163888931, -0.059330232441425323, 0.04478025436401367, 0.032203637063503265, 0.03359567001461983, -0.002426794031634927, 0.0019328939961269498, -0.0006638434715569019, -0.03404464200139046, 0.0637948140501976, 0.07021771371364594, -0.028088459745049477, -0.07747893035411835, 0.01689797267317772, 0.011608931235969067, 0.0006203598459251225, -0.008464510552585125, -0.02401040866971016, 0.06255221366882324, 0.08829905837774277, -0.013684074394404888, 0.02020813338458538, -0.028423383831977844, -0.07132861018180847, -0.073334239423275, -0.03055754490196705, -0.04996461421251297, -0.005422491580247879, -0.013252542354166508, -0.046265583485364914, -0.021733134984970093, -0.041421569883823395, -0.03606540337204933, -0.014285625889897346, -0.011453014798462391, 0.03665202856063843, 0.03599890321493149, 0.029663249850273132, 0.04361376911401749, -0.07929311692714691, -0.027212589979171753, 0.04633196443319321, -0.0005446115974336863, -0.0031786304898560047, -0.08027341216802597, -0.023157771676778793, 0.03901983052492142, 0.022054964676499367, 0.00989997573196888, -0.011691957712173462, 0.09505293518304825, 0.04859680309891701, -0.0018097726861014962, 0.020620666444301605, -0.01655411906540394, -0.019598131999373436, -0.022735755890607834, 0.001878429320640862, -0.02678459882736206, -0.055792681872844696, -0.01811370812356472, -0.008531532250344753, 0.04510624334216118, -0.03364349529147148, -0.06285858899354935, -0.018886083737015724, 0.004701059777289629, 0.05069500207901001, -0.011689776554703712, -0.042483046650886536, 0.0044008661061525345, -0.062328752130270004, -0.021771539002656937, 0.004052225034683943, -0.004885261412709951, 0.0024482423905283213, 0.04227053374052048, 0.04096384719014168, -0.021487368270754814, 0.06655537337064743, 0.027816161513328552, 0.05453391745686531, 0.0296753142029047, -0.05783174932003021, 0.009050450287759304, -0.00962476059794426, 0.033371005207300186, 0.007296230643987656, -0.019430363550782204, -0.03600512072443962, -0.08975253999233246, -0.033319082111120224, 0.006223350763320923, -0.0158020481467247, -0.02322571352124214, 0.056284740567207336, -0.030979065224528313, -0.0037818620912730694, 0.0011019052471965551, 0.030632050707936287, 0.04507110267877579, -0.052755843847990036, 0.05180343985557556, -0.019633186981081963, 0.024845125153660774, -0.057383567094802856, 0.026191148906946182, -0.035873908549547195, -0.022027911618351936, 0.014863998629152775, 0.059457771480083466, 0.02248689904808998, 0.03968074545264244, 0.08214379847049713, 0.029823126271367073, -0.06205657497048378, 0.044405754655599594, 0.04180372133851051, -0.030920717865228653, -0.06164396181702614, 0.011868840083479881, -0.03325160965323448, -0.021537834778428078, 0.01449169497936964, -0.021087028086185455, 0.04000721499323845, 0.03469584882259369, -0.007178748492151499, 0.006301525514572859, 0.007919072173535824, -0.030738472938537598, -0.010910815559327602, -0.04653230309486389, -0.014136669225990772, -0.015682009980082512, -0.022162532433867455, 0.03147704154253006, 0.011765645816922188, 0.006077306345105171, 0.03862467780709267, 0.05106717348098755, -0.04296714812517166, 0.004097252152860165, 0.02938389591872692, 0.032319605350494385, -0.04136019945144653, -0.054586343467235565, -0.00206957571208477, 0.03356311842799187, 0.042503513395786285, -0.017458714544773102, -0.04641564562916756, 0.03154639154672623, 0.05026872456073761, -0.031089598312973976, 0.07187438756227493, -0.012675255537033081, 0.03978484123945236, 0.059810418635606766, -0.014628835953772068, 0.02306016907095909, -0.025844302028417587, 0.006567005999386311, -0.004759542644023895, 0.037081338465213776, -0.03650309145450592, -0.026820817962288857, -0.03500762954354286, 0.03496793285012245, 0.03177620843052864, 0.04774184897542, 0.026718949899077415, -0.041248396039009094, -0.052211206406354904, -0.012781328521668911, 0.030099213123321533, -0.04262768477201462, 0.02041473612189293, 0.028131086379289627, 0.04184643179178238, -0.05448547750711441, -0.030398601666092873, -0.009324309416115284, -0.007855887524783611, 0.030605720356106758, -0.0173750352114439, -0.044884487986564636, -0.051272254437208176, 0.009021850302815437, -0.014586873352527618, -0.014566951431334019, -0.0754091814160347, 0.04868374019861221, -0.03057420812547207, -0.014664914458990097, 0.0519639290869236, 0.054490264505147934, 0.012743556872010231, 0.04407137632369995, 0.00503866421058774, 0.011709937825798988, -0.028149422258138657, 0.040987830609083176, -0.004330253694206476, -0.008772638626396656, -0.020633235573768616, -0.03415638953447342, -0.011323371902108192, -0.04749121144413948, -0.04490543529391289, -0.03598804026842117, -0.027756037190556526, 0.012980135157704353, -0.008889452554285526, -0.011923763900995255, -0.011129419319331646, 0.041782353073358536, -0.02169252559542656, -0.041515741497278214, -0.025960545986890793, -0.0397016815841198, -0.04546390846371651, -0.06384454667568207, 0.03605052828788757, 0.008443583734333515, 0.04535612463951111, -0.015412570908665657, 0.00826110877096653, 0.03135120868682861, 0.02533469907939434, -0.021706359460949898, 0.028508385643363, -0.0011996200773864985, -0.03714900091290474, -0.020226983353495598, 0.01644572988152504, 0.00829983502626419, 0.034590139985084534, -0.012099754065275192, 0.026029212400317192, 0.017571687698364258, -0.012330164201557636, -0.011749533005058765, 0.01002231054008007, 0.02534843422472477, -0.060852933675050735, -0.04039434716105461, -0.017918186262249947, -0.03553347289562225, 0.030072756111621857, -0.007908438332378864, -0.0288182832300663, 0.01705564185976982, 0.011978786438703537, 0.02395775355398655, 0.001907068071886897, -0.02608492225408554, 0.031193098053336143, -0.00726507930085063, 0.0114612290635705, -0.054332658648490906, 0.03933257237076759, -0.05735592544078827, 0.021909626200795174, -0.008581188507378101, 0.012265177443623543, -0.05942551791667938, 0.047244153916835785, -0.03536830097436905, -0.0010241110576316714, -0.003915231674909592, 0.01921953447163105, -0.023728741332888603, 0.029872329905629158, -0.012423324398696423, 0.04428602382540703, -0.03760566934943199, 0.047888290137052536, -0.03610103577375412, 0.009329473599791527, -0.027061883360147476, -0.00485946936532855, -0.021320722997188568, -0.01299996767193079, -0.015176013112068176, -0.033979129046201706, 0.03285088762640953, 0.043510593473911285, 0.02683999016880989, 0.04114699736237526, -0.025495825335383415, -0.0018460131250321865, 0.005061216186732054, -0.06508362293243408, -0.01729733869433403, -0.01922311633825302, 0.019985301420092583, -0.023422949016094208, 0.04415568336844444, 0.050003621727228165, -0.07029928267002106, -0.04615902528166771, 0.021364571526646614, 0.014116031117737293, 0.008219309151172638, 0.005023624747991562, 0.010278464294970036, 0.025347482413053513, 0.03910128399729729, -0.02437767945230007, -0.016000358387827873, -0.02160947024822235, -0.03047311305999756, 0.002500456292182207, 0.002244997536763549, 0.02559855580329895, 0.008464459329843521, -0.03697824478149414, -0.019695131108164787, 0.05968467518687248, 0.041244830936193466, 0.020172975957393646, -0.025156255811452866, -0.04136297479271889, 0.04518118128180504, -0.015101298689842224, -0.04066012427210808, -0.0013414857676252723, 0.030329642817378044, -0.036881010979413986, 0.11752790957689285, -0.009655133821070194, 0.011424018070101738, 0.04522185027599335, 0.015125165693461895, -0.014972662553191185, 0.04380030184984207, -0.023678334429860115, 0.019914139062166214, 0.04798770695924759, -0.06593184918165207, -0.0020207969937473536, -0.011989949271082878, 0.0793682336807251, -0.07160685211420059, 0.0398687943816185, 0.06550590693950653, 0.012988245114684105, 0.0053768581710755825, -0.04279573634266853, -0.037190552800893784, 0.04626617953181267, -0.04127602279186249, 0.07122150808572769, -0.00988052785396576, -0.0483856163918972, 0.06149844452738762, -0.00034973150468431413, -0.06648461520671844, 0.047121863812208176, 0.04310162365436554, -0.008000658825039864, 0.04632718488574028, 0.04288695007562637, -0.049010999500751495, 0.0016162397805601358, -0.04584847763180733, 0.01787242479622364, -0.034739233553409576, 0.008726219646632671, 0.015139623545110226, -0.039414193481206894, -0.014523535035550594, 0.03587356209754944, 0.014730270020663738, -0.027057286351919174, 0.02914142794907093, -0.06756910681724548, -0.034540534019470215, 0.007481061853468418, 0.04219331592321396, -0.019799325615167618, -0.006825672462582588, -0.0031946867238730192, 0.010782631114125252, 0.026911355555057526, 0.02550954557955265, -0.011417037807404995, -0.021869899705052376, 0.020037155598402023, -0.06165722385048866, -0.012098900973796844, 0.048903223127126694, 0.042862024158239365, -0.027219628915190697, 0.0365753248333931, -0.005908919032663107, 0.03604923561215401, 0.021102910861372948, 0.0047022998332977295, 0.041007474064826965, -0.05808573216199875, -0.02868014946579933, 0.03088928945362568, 0.015421587973833084, 0.0303032286465168, -0.0003826694446615875, 0.034300390630960464, 0.03800804167985916, 0.031520064920186996, -0.006541640497744083, -0.037012115120887756, -0.01506685558706522, 0.003975557629019022, -0.05476623401045799, 0.04654134437441826, 0.019177891314029694, -0.04565476253628731, -0.0183237474411726, 0.0033445688895881176, -0.01701965369284153, 0.03678258880972862, -0.04402532801032066, -0.002458525588735938, 0.02152150869369507, 0.0015268638962879777, -0.055596817284822464, -0.0771656185388565, -0.0418565571308136, -0.03155498206615448, 0.03214561566710472, 0.0413314513862133, -0.02869940921664238, 0.02167452685534954, -0.02200799062848091, -0.061324119567871094, 0.03237984701991081, 0.03561633080244064, -0.05576125532388687, 0.06206253170967102, 0.05890493467450142, -0.03011457808315754, 0.020091725513339043, 0.039226751774549484, -0.04809272661805153, 0.016426002606749535, 0.03162570297718048, 0.009160186164081097, 0.04089514538645744, 0.037657592445611954, 0.003934113774448633, -0.007695839740335941, -0.05717051401734352, -0.0373355858027935, -0.03209627792239189, -0.011439434252679348, 0.05014237388968468 ]
CALM/backup
[ "lean_albert", "transformers" ]
null
{ "architectures": [ "LeanAlbertForPretraining", "LeanAlbertForTokenClassification", "LeanAlbertForSequenceClassification" ], "model_type": "lean_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
null
https://vrip.unmsm.edu.pe/forum/profile/liexylezzy/ https://vrip.unmsm.edu.pe/forum/profile/ellindanatasya/ https://vrip.unmsm.edu.pe/forum/profile/oploscgv/ https://vrip.unmsm.edu.pe/forum/profile/Zackoplos/ https://vrip.unmsm.edu.pe/forum/profile/unholyzulk/ https://vrip.unmsm.edu.pe/forum/profile/aurorarezash/
[ 0.0029422901570796967, -0.026630636304616928, -0.0023794854059815407, 0.004471482243388891, 0.050930190831422806, -0.002691234927624464, 0.0018462426960468292, 0.00883716344833374, -0.05099382624030113, 0.05017095059156418, 0.019114617258310318, -0.022669171914458275, 0.02015468291938305, 0.05094499886035919, -0.033035796135663986, -0.01878957822918892, -0.025468023493885994, 0.008203784003853798, -0.08132687956094742, 0.005942199844866991, 0.03763573616743088, 0.0436655692756176, -0.027243735268712044, 0.049538418650627136, -0.0039791446179151535, 0.012850325554609299, 0.00025593634927645326, 0.02088841423392296, 0.007367529906332493, -0.04182647168636322, 0.003645387478172779, -0.028752030804753304, -0.04438915476202965, -0.03736978769302368, -0.051223281770944595, -0.023582784458994865, 0.001806339481845498, -0.009561952203512192, 0.031221680343151093, 0.05304474011063576, -0.010701281949877739, 0.006101053208112717, -0.0018739370862022042, -0.04530354216694832, 0.03283728286623955, 0.004994618706405163, -0.04966064542531967, -0.04778659716248512, 0.006275888066738844, -0.044698551297187805, -0.06083809956908226, -0.07624247670173645, -0.033676642924547195, -0.00894755870103836, -0.0032406863756477833, -0.025822129100561142, -0.023477446287870407, -0.011292656883597374, 0.0810931921005249, -0.0346047580242157, -0.012393604032695293, 0.03023543581366539, -0.0829615443944931, 0.010855177417397499, 0.03868246451020241, -0.04128117114305496, 0.024731798097491264, -0.03357534855604172, 0.05108091980218887, -0.023760300129652023, 0.05479176715016365, -0.07264753431081772, 0.006230677478015423, -0.05686977878212929, -0.04428350180387497, 0.0026868474669754505, 0.033013563603162766, 0.0492074079811573, -0.05588482692837715, 0.059810541570186615, 0.03315713629126549, -0.015024322085082531, 0.06142474338412285, -0.020682351663708687, -0.010578250512480736, 0.03361000493168831, -0.02877645194530487, 0.02352367714047432, -0.004387077409774065, 0.02902720309793949, -0.02586350031197071, -0.03185157850384712, -0.011719205416738987, -0.02632606029510498, 0.0025740356650203466, 0.0336066372692585, 0.056650228798389435, -0.00121190189383924, -0.00820128247141838, 0.016829917207360268, 0.006333059631288052, 0.05155102163553238, -0.008272017352283001, 0.06084141135215759, -0.04272707551717758, 0.00016223275451920927, -0.009924765676259995, -0.03390885144472122, -0.044227004051208496, 0.01792241260409355, 0.005695062689483166, -0.027293963357806206, -0.020886924117803574, 0.008540636859834194, -0.000666425097733736, -0.01546359620988369, 0.04851287230849266, -0.05044607073068619, -0.04107345640659332, -0.03986511752009392, 0.050578951835632324, 0.027215663343667984, -0.024239663034677505, 0.014288656413555145, -0.03263857588171959, 0.014757215976715088, -0.021886100992560387, -0.004644422791898251, -0.00046068590017966926, 0.027185503393411636, 0.0038425358943641186, 0.02904753014445305, 0.024800298735499382, -0.09881453961133957, 0.007993563078343868, 0.018441319465637207, -0.0333947092294693, 0.031313568353652954, 0.007060627453029156, 0.07210664451122284, -0.07434206455945969, -0.0377689003944397, -0.01744137890636921, 0.02473093383014202, -0.02222694456577301, 0.007784755434840918, 0.008786997757852077, -0.015841057524085045, -0.039780959486961365, -0.04805007204413414, 0.046878691762685776, -0.05899090692400932, 0.004495751578360796, 0.06528288871049881, -0.020412923768162727, 0.047521162778139114, -0.026778703555464745, -0.004886728711426258, 0.007983416318893433, 0.01681399531662464, -0.015051206573843956, 0.02247726172208786, -0.028749676421284676, -0.009698490612208843, -0.031160876154899597, -0.06127471476793289, -0.02071705274283886, 0.054985255002975464, 0.008345727808773518, -0.03485053777694702, -0.04727182909846306, 0.010189198888838291, 0.05807732045650482, 0.011762548238039017, -0.022633831948041916, 0.041732773184776306, 0.03822670504450798, 0.034982576966285706, -0.011724084615707397, 0.03254268690943718, -0.0001576515205670148, -0.030823400244116783, -0.034028563648462296, -0.004013191442936659, 0.06169057637453079, -0.004763639997690916, -0.008614596910774708, 0.0675758495926857, 0.0057170195505023, -0.041873689740896225, -0.01721588894724846, 0.02592219039797783, -0.03144887834787369, -0.014190472662448883, 0.06340152770280838, -0.014241795055568218, -0.023490585386753082, 0.04553103446960449, -0.010114018805325031, 0.001459019840694964, -0.03474055603146553, -0.012909365817904472, 0.005981696303933859, 0.026491479948163033, 0.005968695972114801, 0.019240031018853188, 0.00476018525660038, 0.10590909421443939, -0.021746378391981125, -0.004039386752992868, -0.032244618982076645, -0.03860262781381607, -0.0050335475243628025, 0.056971680372953415, 0.020936835557222366, 0.044781893491744995, -0.017572281882166862, -0.047738030552864075, 0.047637470066547394, 0.08483913540840149, 0.032872267067432404, 0.010202242061495781, -0.04569745063781738, 0.0056936065666377544, 0.056096747517585754, 0.039896294474601746, -0.034867092967033386, -0.03391856327652931, 0.01832893304526806, 0.05345061421394348, -0.04121219739317894, 0.01256141159683466, -0.006795682478696108, 0.007676321547478437, -0.023457994684576988, -0.0632135197520256, 0.05731672793626785, 0.033311404287815094, -0.022034935653209686, -0.012061179615557194, -0.0007993202307261527, 0.020837079733610153, 0.019455812871456146, 0.026225339621305466, 0.005478883162140846, -0.01974445953965187, 0.010156351141631603, -0.0012330390745773911, 0.06427265703678131, -0.025940153747797012, 0.03423909842967987, -0.006820858456194401, 0.014783891849219799, 0.017329398542642593, -0.04185761883854866, 0.015076820738613605, 0.04832509532570839, 0.023682810366153717, -0.03257717564702034, 0.04050654545426369, -0.009465949609875679, -0.000881155370734632, 0.04869518056511879, 0.014011417515575886, 0.06944949179887772, -0.013447673991322517, 0.059495747089385986, 0.052775319665670395, 0.02004643902182579, 0.009889070875942707, 0.022622795775532722, 0.08122483640909195, 0.000901881605386734, -0.02265530452132225, 0.0747852548956871, -0.01779952086508274, 0.024009941145777702, -0.02033226191997528, -0.019138362258672714, -0.018711037933826447, -0.012743083760142326, 0.052534885704517365, -0.017398368567228317, -0.003583734156563878, 0.012647414579987526, -0.013864155858755112, -0.00006016523184371181, 0.036657873541116714, -0.01830168068408966, -0.0015257146442309022, -0.0034894144628196955, -0.03317776322364807, 0.01628105714917183, -0.03196585550904274, -0.01547190174460411, -0.03337567299604416, -0.014177815988659859, 0.017353564500808716, -0.07913154363632202, -0.022658629342913628, -0.04125456511974335, -0.018595417961478233, 0.03951568156480789, 0.03578139469027519, -0.010378444567322731, -0.031263381242752075, -0.006538035348057747, -0.03448880463838577, -0.07466254383325577, -0.05354185029864311, -0.04279571399092674, -0.04794210195541382, -0.07348602265119553, 0.039477571845054626, 0.019480349496006966, 0.03887244313955307, 0.01813662424683571, 0.007614854723215103, -0.033724457025527954, -0.014475516974925995, 0.015619680285453796, 0.057944368571043015, -0.016519317403435707, -0.06117057055234909, 0.041101500391960144, 0.01041637547314167, -0.006268455181270838, -0.006987433880567551, -0.057898495346307755, 0.06818749755620956, 0.06244557723402977, 0.0161590538918972, -0.005663987249135971, 0.00622095400467515, -0.07189851254224777, -0.03543642535805702, -0.029298443347215652, -0.011146800592541695, -0.026034846901893616, -0.030746472999453545, -0.05966915562748909, -0.014903182163834572, -0.06168082728981972, 0.0031307260505855083, -0.03394328057765961, 0.011876150965690613, 0.04510549083352089, 0.0359809584915638, 0.02660660818219185, 0.0382593534886837, -0.06096922978758812, -0.02171487919986248, 0.054381053894758224, 0.005537135060876608, -0.024248717352747917, -0.0664902776479721, -0.03688362240791321, 0.019124671816825867, -0.012774098664522171, 0.02057708613574505, -0.038692694157361984, 0.05766313895583153, 0.02145335078239441, -0.017978938296437263, 0.002518133958801627, -0.011780010536313057, -0.023024579510092735, -0.008653943426907063, -0.029774866998195648, -0.040837835520505905, -0.061942074447870255, 0.030376087874174118, -0.006292840000241995, 0.06414297968149185, -0.07417432963848114, -0.02847062051296234, -0.005080799572169781, 0.0073999566957354546, 0.03559362143278122, -0.012720108032226562, -0.05164556950330734, 0.023380303755402565, -0.07451452314853668, -0.032450199127197266, -0.0031827746424824, -0.009584893472492695, 0.01036780420690775, 0.04988173022866249, 0.03806321322917938, -0.007782301865518093, 0.07165904343128204, 0.02776254527270794, 0.06611761450767517, 0.019884789362549782, -0.04331870749592781, 0.017758557572960854, -0.020007330924272537, 0.004725894890725613, -0.001724192756228149, -0.03413548693060875, -0.05907386541366577, -0.06433108448982239, -0.02619551680982113, 0.02089560404419899, -0.04716874286532402, -0.017136791720986366, 0.06576889753341675, -0.0188947431743145, -0.008890129625797272, 0.01540287770330906, 0.010911645367741585, 0.02565564215183258, -0.05696853622794151, 0.050897855311632156, -0.026091905310750008, 0.017969530075788498, -0.05069195106625557, -0.025199158117175102, -0.030567843466997147, -0.029175490140914917, 0.004399477504193783, 0.03766484931111336, 0.017082752659916878, 0.049704600125551224, 0.05299677327275276, -0.0020894648041576147, -0.04260345920920372, 0.023020228371024132, 0.0027180130127817392, -0.012700540013611317, -0.06381265819072723, -0.011014970950782299, 0.015827573835849762, -0.018256936222314835, -0.008811824955046177, -0.017681438475847244, 0.04284844174981117, 0.03249027207493782, 0.026750341057777405, 0.01801552250981331, 0.009328031912446022, -0.03364693373441696, -0.05388091132044792, -0.061029382050037384, -0.02820940874516964, 0.003711104393005371, -0.020152216777205467, 0.011451693251729012, 0.05915055796504021, 0.010101484134793282, 0.04853248596191406, 0.06636693328619003, -0.0304135512560606, -0.057612065225839615, 0.019454680383205414, 0.010225522331893444, -0.018558314070105553, -0.06165765970945358, -0.017366549000144005, 0.02929985709488392, 0.0189894437789917, -0.0009818477556109428, -0.061610378324985504, 0.03802358731627464, 0.06976611167192459, -0.039520278573036194, 0.03222334012389183, 0.008366734720766544, 0.04078461229801178, 0.023288706317543983, -0.03021347150206566, 0.0211959071457386, -0.0458221472799778, 0.009174688719213009, -0.006621677428483963, 0.060738783329725266, 0.009643005207180977, -0.04800952598452568, -0.02547154761850834, 0.034775685518980026, 0.03324507549405098, 0.056322526186704636, 0.06080703064799309, -0.03360595926642418, -0.026373689994215965, -0.035277385264635086, 0.06884033232927322, -0.06525808572769165, 0.023522427305579185, 0.02726651355624199, 0.04108670353889465, -0.04927302896976471, -0.049886491149663925, 0.015698760747909546, -0.0112080667167902, 0.0522579662501812, -0.02749430574476719, -0.05311708524823189, -0.028006643056869507, 0.020918041467666626, -0.0008222986944019794, -0.020394105464220047, -0.090276800096035, 0.03755950927734375, -0.00476190447807312, -0.04191738739609718, 0.0671674832701683, 0.04247148334980011, 0.029564814642071724, 0.05713607370853424, 0.0064675952307879925, 0.03135206922888756, -0.037801578640937805, 0.0752413272857666, -0.04584495350718498, -0.025626013055443764, 0.0019831331446766853, -0.020696543157100677, -0.02957768924534321, -0.027739400044083595, -0.03860718384385109, -0.02354995720088482, -0.039013367146253586, 0.026339933276176453, 0.0028586641419678926, 0.010049461387097836, 0.011057392694056034, 0.020670203492045403, -0.0038748402148485184, -0.024144716560840607, -0.030252812430262566, -0.04462003707885742, -0.06659308820962906, -0.050671257078647614, 0.02483907714486122, -0.023390045389533043, -0.0034871099051088095, -0.0067883022129535675, 0.029169082641601562, 0.023828282952308655, 0.04339093714952469, -0.00892303790897131, 0.044365644454956055, 0.014982295222580433, -0.053221914917230606, -0.01510190311819315, -0.011284412816166878, 0.03132597357034683, 0.05987972021102905, -0.009660274721682072, 0.043536096811294556, 0.005098993424326181, -0.03864557296037674, -0.020731285214424133, 0.027251187711954117, -0.005629509221762419, -0.04128892347216606, -0.023433713242411613, 0.001755430712364614, -0.02833828330039978, 0.03171573951840401, -0.04697217792272568, -0.04018932580947876, 0.00989602878689766, 0.043832678347826004, 0.037198733538389206, 0.015771079808473587, -0.02876267023384571, 0.02963976189494133, 0.0027157124131917953, -0.005679486319422722, -0.04332134500145912, 0.03768076002597809, -0.026928508654236794, 0.02455378882586956, -0.018906211480498314, -0.016607506200671196, -0.06354134529829025, 0.046667538583278656, -0.04218815267086029, -0.031649138778448105, -0.02040097489953041, 0.008891989476978779, -0.03316051512956619, 0.046028152108192444, -0.017680872231721878, -0.000018016160538536496, -0.04339652508497238, 0.06780315190553665, -0.053143810480833054, 0.0063674310222268105, -0.05957375094294548, -0.0006900935550220311, -0.06384768337011337, -0.0010146943386644125, -0.01800651103258133, -0.017882090061903, 0.005985588300973177, 0.03698981925845146, 0.004055038094520569, 0.016558485105633736, -0.02268204092979431, -0.03683769330382347, 0.03507165610790253, -0.05977541208267212, -0.008237209171056747, 0.008283625356853008, 0.0001889680279418826, -0.0032093250192701817, 0.049389053136110306, 0.04869429022073746, -0.06960198283195496, -0.05789768323302269, 0.027914496138691902, 0.032792989164590836, -0.010775125585496426, -0.002182150026783347, 0.012464060448110104, 0.04142788052558899, 0.0650302991271019, -0.02841494046151638, 0.01484676543623209, -0.010342163033783436, -0.03383808583021164, 0.037210796028375626, 0.005455139093101025, 0.030290471389889717, -0.006260009948164225, -0.04886367544531822, -0.023811673745512962, 0.09542106837034225, 0.03368983045220375, 0.044956933706998825, -0.015397234819829464, -0.04271097481250763, 0.03547254204750061, 0.02026066556572914, -0.04685959964990616, 0.05492374673485756, 0.03888975456357002, -0.03973778709769249, 0.047801725566387177, -0.0015631318092346191, 0.038801513612270355, 0.03889364376664162, 0.025108303874731064, -0.04940035939216614, 0.019920771941542625, -0.016465650871396065, -0.03344275802373886, 0.03868662565946579, -0.05920722708106041, 0.008448339067399502, -0.03425277769565582, 0.05085240676999092, -0.0788072869181633, 0.03949254751205444, 0.02503027580678463, -0.009283321909606457, 0.023337068036198616, -0.022908616811037064, -0.04381362348794937, 0.03163926675915718, -0.04655337706208229, 0.07371984422206879, 0.009157253429293633, -0.05899078771471977, 0.05388675257563591, 0.0007837944431230426, -0.09567204117774963, 0.056410398334264755, 0.009461892768740654, -0.0019265845185145736, 0.02192917838692665, 0.027798254042863846, -0.036114469170570374, 0.04421690106391907, -0.03437771648168564, 0.03369775041937828, -0.028930101543664932, -0.02457195706665516, 0.004918681923300028, -0.019975433126091957, -0.019782502204179764, 0.051293086260557175, -0.018337465822696686, 0.015692202374339104, 0.01790555566549301, -0.049396615475416183, -0.06670974940061569, 0.024290863424539566, 0.05676204711198807, -0.011717614717781544, -0.005122733302414417, -0.036012645810842514, 0.030849577859044075, 0.0027272370643913746, 0.007196842227131128, -0.027990620583295822, 0.004079628735780716, 0.008990549482405186, -0.09747972339391708, 0.0032971915788948536, 0.02878568507730961, 0.009625603444874287, -0.04414484649896622, -0.012577611021697521, 0.006038763094693422, 0.018246551975607872, -0.00422225147485733, -0.02489311620593071, 0.0072574191726744175, -0.05524996668100357, -0.029653923586010933, 0.029891029000282288, -0.010594682767987251, 0.0253035556524992, -0.014438571408390999, 0.042980801314115524, 0.026327036321163177, 0.05244780331850052, 0.04047858715057373, -0.016652189195156097, -0.020757118239998817, 0.026874542236328125, -0.04783705621957779, 0.01226046122610569, -0.012730225920677185, -0.06305921077728271, -0.03545895591378212, -0.0027057123370468616, 0.02205699495971203, 0.051216937601566315, -0.028060466051101685, 0.0469786673784256, 0.02789691835641861, 0.009344294667243958, -0.06772039830684662, -0.09672196954488754, -0.0334441103041172, -0.03236054629087448, 0.00808448251336813, 0.010603857226669788, -0.02627638168632984, -0.0006297389045357704, -0.033723384141922, -0.059424858540296555, 0.03805353865027428, 0.01255050953477621, -0.03524373844265938, 0.023323016241192818, 0.06921367347240448, -0.02430412918329239, 0.019439859315752983, 0.05844208598136902, -0.03199481591582298, 0.027863815426826477, 0.016790926456451416, -0.00795616116374731, 0.01264303456991911, 0.01824655383825302, -0.004905485548079014, -0.026888839900493622, -0.04110744595527649, -0.023521458730101585, -0.011140413582324982, 0.011336333118379116, 0.02738294005393982 ]
CAMeL-Lab/bert-base-arabic-camelbert-ca-ner
[ "pytorch", "tf", "bert", "token-classification", "ar", "arxiv:2103.06678", "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 } } }
85
null
https://community.afpglobal.org/network/members/profile?UserKey=fb4fdcef-dde4-4258-a423-2159545d84c1 https://community.afpglobal.org/network/members/profile?UserKey=e6ccc088-b709-45ec-b61e-4d56088acbda https://community.afpglobal.org/network/members/profile?UserKey=ba280059-0890-4510-81d0-a79522b75ac8 https://community.afpglobal.org/network/members/profile?UserKey=799ba769-6e99-4a6a-a173-4f1b817e978c https://community.afpglobal.org/network/members/profile?UserKey=babb84d7-e91a-4972-b26a-51067c66d793 https://community.afpglobal.org/network/members/profile?UserKey=8e4656bc-8d0d-44e1-b280-e68a2ace9353 https://community.afpglobal.org/network/members/profile?UserKey=8e7b41a8-9bed-4cb0-9021-a164b0aa6dd3 https://community.afpglobal.org/network/members/profile?UserKey=e4f38596-d772-4fbe-9e93-9aef5618f26e https://community.afpglobal.org/network/members/profile?UserKey=18221e49-74ba-4155-ac1e-6f184bfb2398 https://community.afpglobal.org/network/members/profile?UserKey=ef4391e8-03df-467f-bf3f-4a45087817eb https://community.afpglobal.org/network/members/profile?UserKey=832774fd-a035-421a-8236-61cf45a7747d https://community.afpglobal.org/network/members/profile?UserKey=9f05cd73-b75c-4820-b60a-5df6357b2af9 https://community.afpglobal.org/network/members/profile?UserKey=c1727992-5024-4321-b0c9-ecc6f51e6532 https://www.hybrid-analysis.com/sample/255948e335dd9f873d11bf0224f8d180cd097509d23d27506292c22443fa92b8 https://www.facebook.com/PS5Giveaways2021 https://cgvmovie.cookpad-blog.jp/articles/589986 https://myanimelist.net/blog.php?eid=850892 https://comicvine.gamespot.com/profile/full-tv-free/about-me/ https://pantip.com/topic/40658194
[ -0.012878413312137127, -0.034995004534721375, -0.02044183947145939, 0.025928113609552383, 0.032891932874917984, 0.003313919762149453, -0.013439042493700981, -0.005741935223340988, -0.053386423736810684, 0.042372703552246094, -0.005795358680188656, -0.009547701105475426, 0.01599212922155857, 0.05434289574623108, -0.020678667351603508, -0.041771575808525085, -0.020427148789167404, 0.006453953683376312, -0.06638038158416748, 0.0183645598590374, 0.04608047008514404, 0.025036578997969627, -0.0167893934994936, 0.043840087950229645, 0.009607704356312752, 0.01856735534965992, 0.01124682929366827, -0.0025941331405192614, 0.016727140173316002, -0.05802559480071068, 0.0014005150878801942, -0.02220906689763069, -0.04945353418588638, -0.048641182482242584, -0.026385730132460594, -0.018122563138604164, -0.0011038436787202954, 0.009133859537541866, 0.028229910880327225, 0.043618712574243546, -0.0026590870693325996, 0.00701936986297369, -0.021943336352705956, -0.014408689923584461, 0.04342544451355934, 0.000945752952247858, -0.04663626849651337, -0.034836944192647934, 0.037166696041822433, -0.05315541848540306, -0.07108082622289658, -0.07516294717788696, -0.03151244670152664, 0.01779981330037117, -0.018986068665981293, -0.0196986123919487, -0.06475536525249481, 0.00023718136071693152, 0.061560407280921936, -0.07890187948942184, -0.023639744147658348, 0.02798050083220005, -0.10777208209037781, -0.003846706822514534, 0.03275354951620102, -0.03648165240883827, -0.010947653092443943, -0.029643801972270012, 0.04377422854304314, -0.015850193798542023, 0.05912870913743973, -0.023798774927854538, 0.03373497724533081, -0.06344139575958252, -0.005268753971904516, 0.0003311571490485221, 0.01948571763932705, 0.036298032850027084, -0.041490089148283005, 0.04189855977892876, 0.040643662214279175, -0.014447392895817757, 0.05241873487830162, -0.025848140940070152, -0.022228628396987915, 0.0082963015884161, -0.04869721829891205, 0.02843501605093479, 0.001337710884399712, 0.06851819902658463, -0.05961837247014046, -0.04931623488664627, -0.025453539565205574, -0.029894908890128136, -0.010362749919295311, 0.022373231127858162, 0.03955480083823204, -0.028375091031193733, -0.005816361866891384, 0.01905534416437149, 0.009232115000486374, 0.05667367950081825, 0.008402664214372635, 0.06775762885808945, -0.001165257883258164, -0.0007337146089412272, 0.00288778031244874, -0.04235970228910446, -0.03235911205410957, 0.008526348508894444, 0.016780870035290718, -0.006570692174136639, -0.013067548163235188, 0.04934830591082573, 0.0032700151205062866, 0.00638699671253562, 0.0300506092607975, -0.02365901879966259, -0.03943397477269173, -0.06332868337631226, 0.035960808396339417, 0.053990356624126434, -0.002647211542353034, 0.013456422835588455, -0.028519975021481514, -0.008434783667325974, -0.03537064418196678, -0.0038986566942185163, -0.017189763486385345, 0.03120432421565056, 0.00044392640120349824, 0.03726569190621376, 0.05140357092022896, -0.09401531517505646, 0.008606559596955776, 0.009480522945523262, -0.06368812918663025, 0.024172907695174217, -0.005732264369726181, 0.08776432275772095, -0.06585194170475006, -0.04329140484333038, 0.023979857563972473, 0.02686363272368908, -0.0370962992310524, -0.002006953814998269, -0.00022448241361416876, -0.0340660959482193, -0.04023587703704834, -0.02123429626226425, 0.05448206514120102, -0.04068147391080856, -0.0054704868234694, 0.06196187064051628, -0.019247161224484444, 0.0698554664850235, -0.03968866914510727, -0.009645547717809677, -0.0026689469814300537, 0.003974549006670713, -0.014107361435890198, 0.02457699365913868, -0.029286352917551994, -0.03782068192958832, -0.027384886518120766, -0.039150215685367584, -0.004215214867144823, 0.07674403488636017, -0.005082157906144857, -0.033184535801410675, -0.05653689056634903, 0.024157151579856873, 0.05461879447102547, 0.02197781577706337, -0.029011989012360573, 0.04663592204451561, 0.05424408242106438, 0.038487039506435394, -0.017232438549399376, 0.012213447131216526, 0.022237196564674377, -0.014705066569149494, -0.023448260501027107, 0.017317641526460648, 0.02102687396109104, -0.001538590993732214, 0.020808404311537743, 0.02156868763267994, 0.0161469504237175, -0.03269895166158676, -0.022147485986351967, 0.0468415766954422, -0.017516275867819786, -0.0021634779404848814, 0.010967648588120937, -0.01286522950977087, -0.01996850036084652, 0.03449774160981178, 0.014970280230045319, -0.010544288903474808, -0.01652432605624199, -0.031047476455569267, -0.002776484005153179, 0.014154357835650444, 0.01637408509850502, 0.03303159400820732, 0.018536916002631187, 0.09644998610019684, -0.027364490553736687, 0.0208003930747509, -0.0508764274418354, -0.05369947478175163, -0.021129747852683067, 0.043814968317747116, 0.05289061740040779, 0.05293892323970795, -0.01421173196285963, -0.01806332916021347, 0.048434946686029434, 0.041066646575927734, 0.027903813868761063, 0.01943489909172058, -0.03460221737623215, -0.025546902790665627, 0.05725139379501343, 0.0515206940472126, -0.05715986341238022, -0.0401885099709034, -0.008952858857810497, -0.0015093836700543761, -0.04533100873231888, 0.03310232609510422, -0.01726086251437664, 0.056634657084941864, -0.07131407409906387, -0.05673966556787491, 0.058622293174266815, 0.04018409177660942, 0.003524435218423605, 0.02320089377462864, 0.000053910443966742605, 0.023772330954670906, 0.021437963470816612, 0.03436991199851036, 0.01826636679470539, -0.010864779353141785, 0.03280835226178169, 0.03032478131353855, 0.07344863563776016, -0.03634883090853691, 0.02467772737145424, -0.0012412129435688257, 0.037907812744379044, 0.00611689779907465, -0.08318757265806198, 0.016235806047916412, 0.04187474399805069, 0.009296303614974022, -0.02966286800801754, 0.027643265202641487, -0.013416643254458904, -0.012758408673107624, 0.030169831588864326, -0.011652722023427486, 0.057307250797748566, -0.0014141007559373975, 0.04467391222715378, 0.09284396469593048, -0.016549695283174515, 0.03288097307085991, 0.02063419483602047, 0.04758081212639809, -0.0029370575211942196, -0.021298827603459358, 0.023131191730499268, 0.0014396277256309986, 0.01975080743432045, -0.028589878231287003, 0.01851307787001133, -0.01629701443016529, -0.003157512517645955, 0.03231590986251831, 0.013986221514642239, -0.027513066306710243, -0.014773153699934483, -0.005724720191210508, -0.000810962519608438, 0.037539053708314896, -0.017923882231116295, 0.0040531768463552, 0.018543992191553116, 0.0019292260985821486, 0.00398327736184001, -0.05138128623366356, -0.020761454477906227, -0.04171299561858177, -0.01550094410777092, -0.0025659622624516487, -0.08391410857439041, 0.009344229474663734, -0.06556762754917145, -0.019152237102389336, 0.022711504250764847, 0.02845398709177971, -0.021200483664870262, -0.03582623600959778, 0.01713711768388748, -0.05642206221818924, -0.048003822565078735, -0.051346536725759506, -0.03569015860557556, -0.061155688017606735, -0.07011572271585464, 0.032320380210876465, 0.03242919221520424, 0.04323595389723778, 0.012782352976500988, 0.02207527868449688, -0.011774847283959389, -0.025630807504057884, 0.036947812885046005, 0.036665137857198715, -0.030437150970101357, -0.06211615726351738, 0.0483567975461483, 0.012557250447571278, -0.020868029445409775, 0.02078656293451786, -0.02411261573433876, 0.03940381109714508, 0.08082117885351181, -0.0018911632942035794, 0.016958942636847496, -0.014412333257496357, -0.053199633955955505, -0.03483789786696434, -0.04121780768036842, -0.03675438463687897, -0.024593127891421318, -0.03502785786986351, -0.0496402345597744, -0.008577902801334858, -0.0329643152654171, -0.008004042319953442, -0.013643178157508373, -0.009237761609256268, 0.052162811160087585, 0.03815969452261925, 0.039512306451797485, 0.03571058809757233, -0.012040587142109871, -0.05373424291610718, 0.08738791942596436, -0.0057177310809493065, 0.0018963927868753672, -0.05162309855222702, -0.016803978011012077, 0.04546760022640228, -0.02570280060172081, 0.0002837540814653039, -0.03892916813492775, 0.03399006649851799, 0.0297365915030241, -0.014317601919174194, -0.005800159182399511, 0.006411983165889978, -0.027187250554561615, -0.005207539536058903, -0.019973263144493103, 0.003226034576073289, -0.034632764756679535, -0.023896178230643272, 0.010981629602611065, 0.05897083505988121, -0.03980732336640358, -0.06437009572982788, -0.015425840392708778, 0.045736078172922134, 0.03324917331337929, 0.001028757425956428, -0.05134100466966629, 0.016211863607168198, -0.08508293330669403, -0.0005000894889235497, 0.009176857769489288, -0.004648491274565458, -0.027843287214636803, 0.044004086405038834, 0.046361200511455536, 0.007689753547310829, 0.05172953009605408, 0.03312072530388832, 0.05300102382898331, 0.016341105103492737, -0.06737153232097626, 0.012692139483988285, -0.009946315549314022, 0.017494358122348785, 0.009134766645729542, -0.01540115475654602, -0.03773709014058113, -0.07499540597200394, -0.009037359617650509, 0.03363644704222679, -0.01936345361173153, -0.031208887696266174, 0.013635222800076008, -0.033985309302806854, 0.006131948437541723, 0.016457028687000275, -0.0029642595909535885, 0.02227145805954933, -0.05691191181540489, 0.04353201016783714, 0.002081699902191758, 0.02204694040119648, -0.07861553877592087, -0.00924695748835802, -0.023887889459729195, -0.02162196673452854, 0.030617795884609222, 0.04496392607688904, -0.01549912616610527, 0.03975925222039223, 0.05124615505337715, 0.019544366747140884, -0.016924425959587097, 0.031507279723882675, 0.021366823464632034, -0.025728657841682434, -0.06871499866247177, 0.023792725056409836, 0.004114096984267235, -0.016863785684108734, 0.010393721982836723, -0.019918950274586678, 0.03462988883256912, 0.02941070683300495, 0.02061357907950878, 0.0009574407013133168, 0.042900633066892624, -0.03045392967760563, -0.040757011622190475, -0.006605834234505892, -0.002710263943299651, 0.014277067966759205, 0.009994623251259327, 0.005315299145877361, 0.038938283920288086, 0.030297009274363518, 0.05391903966665268, 0.04785808175802231, -0.036563824862241745, -0.035142067819833755, 0.030769502744078636, 0.005537884775549173, -0.024625808000564575, -0.04329293966293335, -0.0030789945740252733, 0.051209937781095505, 0.031590141355991364, -0.006950737442821264, -0.08810880780220032, 0.02842801995575428, 0.061776794493198395, 0.0027083472814410925, 0.028442958369851112, 0.0168661680072546, 0.053999122232198715, 0.04809058457612991, -0.020976440981030464, 0.019089601933956146, -0.043854355812072754, 0.025025175884366035, -0.03380690515041351, 0.04933122172951698, -0.023517195135354996, -0.05382853001356125, -0.03977576643228531, 0.01496059913188219, 0.0627221167087555, 0.03689892962574959, 0.054982881993055344, -0.029225995764136314, -0.03188585862517357, 0.003379874164238572, 0.040478505194187164, -0.03731619194149971, 0.04479968920350075, 0.037634190171957016, 0.007620799820870161, -0.05317247658967972, -0.04374656826257706, -0.007705686613917351, -0.0012497096322476864, 0.039363935589790344, -0.03107634000480175, -0.022596003487706184, -0.02703661471605301, 0.036356594413518906, 0.0045466371811926365, -0.014631388708949089, -0.06244158744812012, 0.06486919522285461, -0.03318816423416138, -0.023638121783733368, 0.05051540210843086, 0.02200968749821186, 0.0475020594894886, 0.07324324548244476, -0.0007678541005589068, 0.029409989714622498, -0.04241889715194702, 0.04701888933777809, -0.027172984555363655, 0.014230499044060707, -0.03134956955909729, -0.016517935320734978, -0.019905494526028633, -0.023679528385400772, -0.051880910992622375, -0.007882559671998024, -0.03922777622938156, 0.03995683416724205, 0.011812015436589718, -0.017221039161086082, 0.015301244333386421, 0.024265730753540993, 0.0006008811760693789, -0.028814436867833138, -0.0323459655046463, -0.04006895050406456, -0.05870971083641052, -0.05323364958167076, 0.050400588661432266, -0.02491598017513752, -0.002694595605134964, 0.02220482937991619, 0.021044084802269936, 0.008334247395396233, 0.03245037421584129, -0.031029213219881058, 0.03670984134078026, 0.012486765161156654, -0.06367746740579605, -0.03943935036659241, 0.03286275640130043, 0.020455125719308853, 0.05308861285448074, -0.0004544979310594499, 0.030296863988041878, 0.011881574988365173, -0.042482584714889526, -0.012951568700373173, 0.04389801621437073, 0.010163862258195877, -0.0553647056221962, -0.015260564163327217, 0.018414635211229324, -0.03913365676999092, 0.009159181267023087, -0.028587782755494118, -0.03022748976945877, 0.01695561408996582, 0.03549540787935257, 0.06379376351833344, 0.010857424698770046, -0.03733726590871811, 0.018337910994887352, 0.010368488729000092, -0.009854684583842754, -0.06743983179330826, 0.030330916866660118, -0.014111359603703022, 0.02777613140642643, -0.020144563168287277, -0.02967096120119095, -0.054594073444604874, 0.021871494129300117, -0.0486060231924057, -0.023940032348036766, 0.009030335582792759, 0.02405836619436741, -0.013077239505946636, 0.058157265186309814, -0.022979682311415672, 0.02559397742152214, -0.016767442226409912, 0.07305300235748291, -0.042287636548280716, -0.01893564686179161, -0.006568659096956253, -0.014112749136984348, -0.05762995779514313, 0.010637480765581131, -0.022245798259973526, -0.047348879277706146, 0.026328302919864655, 0.07772395014762878, -0.00718878535553813, 0.017321515828371048, -0.030496254563331604, -0.035462647676467896, 0.003319358918815851, -0.0376320444047451, -0.01607360690832138, -0.001771218841895461, -0.008241410367190838, 0.004364436957985163, 0.03175670653581619, 0.032061584293842316, -0.06352799385786057, -0.04661545529961586, 0.04734320566058159, 0.04045945778489113, 0.0005509569309651852, 0.012145551852881908, 0.031725071370601654, 0.04133869335055351, 0.04525333642959595, -0.03823346644639969, 0.030474020168185234, -0.007658546324819326, -0.035325828939676285, 0.02837477996945381, 0.003235447918996215, 0.036080583930015564, 0.01304936408996582, -0.03518738970160484, 0.001714840647764504, 0.08632571995258331, 0.042149920016527176, 0.023617016151547432, -0.015617256052792072, -0.023924730718135834, 0.03453022241592407, 0.016019737347960472, -0.0414428785443306, 0.05305200442671776, 0.011721230112016201, -0.028168607503175735, 0.07537363469600677, 0.02288861572742462, 0.06009070947766304, 0.05582311004400253, 0.009523490443825722, -0.030057186260819435, 0.04368699714541435, -0.04593677073717117, 0.00199116044677794, 0.046177562326192856, -0.07410109788179398, 0.012604216113686562, -0.049424510449171066, 0.04800188168883324, -0.08021274954080582, 0.06148214265704155, 0.03749286010861397, -0.007693476043641567, 0.0034193985629826784, -0.028561914339661598, -0.05081024020910263, 0.027696173638105392, -0.04308266565203667, 0.08719898015260696, 0.019350264221429825, -0.07645521312952042, 0.055196620523929596, -0.009494869038462639, -0.10095448046922684, 0.05228510871529579, 0.031192054972052574, 0.03383403271436691, 0.06495959311723709, 0.04161873087286949, -0.03368302434682846, 0.020752359181642532, -0.03262477368116379, 0.068966343998909, 0.0006101165199652314, -0.016435828059911728, 0.018413027748465538, -0.038463857024908066, -0.012455806136131287, 0.034721918404102325, -0.005433490499854088, -0.006524524185806513, 0.040330007672309875, -0.06341875344514847, -0.03444074094295502, 0.01415951643139124, 0.036090873181819916, -0.03148478642106056, -0.01617025025188923, -0.026819542050361633, 0.031617771834135056, 0.015533245168626308, 0.02139386348426342, -0.04201896861195564, 0.017848091199994087, 0.04304240643978119, -0.10161066055297852, -0.014512410387396812, 0.03958325833082199, -0.012841110117733479, -0.0008892919286154211, 0.014788223430514336, 0.016679955646395683, 0.024134112522006035, 0.0023275865241885185, -0.0007359533337876201, 0.0032785881776362658, -0.02800791710615158, -0.00874868780374527, 0.012077136896550655, -0.012052294798195362, 0.011174941435456276, -0.008233439177274704, 0.0441889762878418, 0.017966654151678085, 0.052231259644031525, 0.016171680763363838, -0.004046296235173941, -0.03475353866815567, 0.0412791445851326, -0.05837458372116089, 0.022183027118444443, -0.00037327653262764215, -0.05605693534016609, -0.04356837272644043, -0.018767651170492172, 0.008289511315524578, 0.037423353642225266, -0.030073825269937515, 0.015564852394163609, 0.00888750609010458, 0.0006292367470450699, -0.06632539629936218, -0.0991191491484642, -0.03624946251511574, -0.05074421688914299, -0.008270529098808765, 0.029197348281741142, -0.017706086859107018, 0.014717306941747665, -0.029576370492577553, -0.08285106718540192, 0.026342010125517845, 0.014701033011078835, -0.03376935422420502, 0.013333288952708244, 0.04815003275871277, -0.030484693124890327, 0.024749714881181717, 0.031653959304094315, -0.038226135075092316, 0.0008557627443224192, -0.009026850573718548, 0.01947733201086521, 0.04160254821181297, 0.033434707671403885, -0.020854227244853973, -0.018055377528071404, -0.037548281252384186, -0.03994746878743172, -0.010684403590857983, 0.015499415807425976, 0.04124735668301582 ]
CAMeL-Lab/bert-base-arabic-camelbert-ca-poetry
[ "pytorch", "tf", "bert", "text-classification", "ar", "arxiv:1905.05700", "arxiv:2103.06678", "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 } } }
42
null
https://volunteer.alz.org/network/members/profile?UserKey=f4774542-39b3-4cfd-8c21-7b834795f7d7 https://volunteer.alz.org/network/members/profile?UserKey=05a00b90-f854-45fb-9a3a-7420144d290c https://volunteer.alz.org/network/members/profile?UserKey=45cceddd-29b9-4c6c-8612-e2a16aaa391a https://volunteer.alz.org/network/members/profile?UserKey=ae3c28f9-72a3-4af5-bd50-3b2ea2c0d3a3 https://volunteer.alz.org/network/members/profile?UserKey=7ab8e28e-e31f-4906-ab06-84b9ea3a880f https://volunteer.alz.org/network/members/profile?UserKey=1b31fc90-e18e-4ef6-81f0-5c0b55fb95a3 https://volunteer.alz.org/network/members/profile?UserKey=23971b11-04ad-4eb4-abc5-6e659c6b071c 123movies-watch-online-movie-full-free-2021 https://myanimelist.net/blog.php?eid=849353 https://comicvine.gamespot.com/profile/nacenetwork21/about-me/ https://pantip.com/topic/40639721
[ 0.0032686619088053703, -0.04397124797105789, -0.01893935538828373, 0.04962501674890518, 0.026452360674738884, -0.01272446010261774, -0.005523366387933493, -0.014054806903004646, -0.03804854303598404, 0.05219106748700142, 0.015508017502725124, -0.0103928092867136, 0.01610197126865387, 0.04179403558373451, -0.023726703599095345, -0.021137140691280365, -0.011104757897555828, 0.014654429629445076, -0.0572609007358551, -0.0062566036358475685, 0.04416050761938095, 0.06418833136558533, -0.011312085203826427, 0.042146969586610794, 0.005415888037532568, -0.003945966251194477, -0.00639638677239418, 0.01411911565810442, -0.0008489305037073791, -0.03586045280098915, -0.019120262935757637, -0.023969285190105438, -0.04994776472449303, -0.04991889372467995, -0.02692493423819542, -0.03601815924048424, 0.0049642156809568405, 0.019366959109902382, 0.005416931118816137, 0.048019833862781525, -0.015277400612831116, 0.002361754421144724, -0.02258419431746006, -0.021333979442715645, 0.058749619871377945, -0.007154109422117472, -0.049495939165353775, -0.016118407249450684, 0.029060984030365944, -0.030226243659853935, -0.06500373780727386, -0.07140953838825226, -0.01661578193306923, 0.0067911818623542786, -0.016891032457351685, -0.027883129194378853, -0.05842047929763794, 0.006046347785741091, 0.055344901978969574, -0.06648727506399155, -0.04477164149284363, 0.021854501217603683, -0.0906948372721672, 0.011991825886070728, 0.03264107555150986, -0.05578448623418808, 0.01532613392919302, -0.02421506680548191, 0.03456835821270943, -0.0319332554936409, 0.040747396647930145, -0.046251147985458374, 0.010715906508266926, -0.07252292335033417, -0.02546866051852703, -0.008361615240573883, 0.017107663676142693, 0.04989044740796089, -0.046195585280656815, 0.037730928510427475, 0.05086129903793335, -0.012334924191236496, 0.041128143668174744, -0.04109234735369682, -0.03765182942152023, 0.032817292958498, -0.03506696596741676, 0.021096205338835716, -0.007155949249863625, 0.05330340191721916, -0.04078283533453941, -0.0497862808406353, -0.021455107256770134, -0.04231938347220421, -0.011933994479477406, 0.004992264322936535, 0.0393308587372303, -0.022629285231232643, -0.003591073676943779, 0.021623684093356133, 0.0087613295763731, 0.05696446821093559, -0.012508935295045376, 0.06694913655519485, -0.03905113786458969, 0.003448705654591322, 0.005833227653056383, -0.02607196383178234, -0.022967785596847534, 0.004502900876104832, 0.02984798327088356, -0.021763654425740242, -0.018261706456542015, 0.023353978991508484, 0.021202869713306427, 0.017058253288269043, 0.024500003084540367, -0.015383315272629261, -0.03296900913119316, -0.053764697164297104, 0.03910944610834122, 0.04403407871723175, -0.010200383141636848, 0.018990423530340195, -0.030379055067896843, 0.032868996262550354, -0.025800764560699463, -0.026236454024910927, 0.004488630685955286, 0.03886287286877632, 0.01231585256755352, 0.03313223272562027, 0.01899995468556881, -0.10261955857276917, 0.016160229220986366, 0.01776895485818386, -0.06558176875114441, 0.03353822976350784, 0.008694007992744446, 0.09823644161224365, -0.08234415203332901, -0.04779735207557678, -0.0013066284591332078, 0.026400916278362274, -0.02779260091483593, -0.00007700180140091106, 0.0003674723848234862, -0.024430330842733383, -0.02828451246023178, -0.016242800280451775, 0.029188193380832672, -0.061311978846788406, 0.008317996747791767, 0.06772881746292114, -0.00840742141008377, 0.041351187974214554, -0.046361275017261505, -0.006520580966025591, -0.023457299917936325, -0.007032770663499832, 0.002129368018358946, 0.02677501179277897, -0.008703874424099922, -0.020228873938322067, -0.045543123036623, -0.0313749760389328, -0.018307533115148544, 0.07424932718276978, -0.019297702237963676, -0.02763749659061432, -0.04711964353919029, 0.029648328199982643, 0.04044029489159584, 0.00016748679627198726, -0.022351263090968132, 0.04973443225026131, 0.05431196838617325, 0.04784351959824562, -0.01980447955429554, 0.012853073887526989, 0.014614557847380638, -0.02072921022772789, -0.03612620756030083, -0.015331583097577095, 0.05361197143793106, -0.02997269481420517, -0.012765771709382534, 0.014500824734568596, 0.004572024568915367, -0.0488407276570797, -0.03155626356601715, 0.07364712655544281, -0.012994007207453251, -0.004855407401919365, 0.008435082621872425, -0.003136698855087161, -0.029461322352290154, 0.04949713125824928, 0.004013043362647295, -0.03003789111971855, -0.0334024652838707, -0.009249837137758732, 0.01460320595651865, 0.015520854853093624, 0.011048084124922752, 0.008847873657941818, 0.007265624590218067, 0.07759013026952744, -0.027964431792497635, 0.000584961089771241, -0.022054286673665047, -0.038624782115221024, -0.025785960257053375, 0.05910525098443031, 0.05466901510953903, 0.03741835057735443, -0.010701251216232777, -0.028291573747992516, 0.03887280076742172, 0.04131782054901123, 0.024924539029598236, 0.028016768395900726, -0.04528103023767471, -0.012595614418387413, 0.06229911744594574, 0.0537966713309288, -0.05745818838477135, -0.01613643392920494, 0.01670730486512184, 0.030338816344738007, -0.045087993144989014, 0.0032855875324457884, -0.02987242303788662, 0.03658689185976982, -0.059325460344552994, -0.061676546931266785, 0.03646475821733475, 0.01691763661801815, 0.012673518620431423, 0.0017251946264877915, 0.015802407637238503, 0.01513933576643467, 0.036969080567359924, 0.029346205294132233, 0.03433150798082352, -0.0235401950776577, 0.019739974290132523, 0.02239183522760868, 0.06091759726405144, -0.04051174223423004, 0.033012133091688156, -0.001632301020435989, 0.03729937970638275, 0.020709816366434097, -0.05088204890489578, 0.0367373526096344, 0.04341716319322586, 0.029928572475910187, -0.014968597330152988, 0.031231746077537537, -0.0011537882965058088, -0.011172193102538586, 0.04114054888486862, 0.000824861170258373, 0.06664476543664932, 0.00568418437615037, 0.044991765171289444, 0.09619984030723572, 0.0012067940551787615, 0.01036305446177721, 0.01586274243891239, 0.07768020033836365, 0.007596138399094343, -0.013147587887942791, 0.034598201513290405, -0.004936239682137966, 0.014070956036448479, 0.0021748505532741547, 0.005643556360155344, -0.018339715898036957, -0.003043125616386533, 0.04659118875861168, -0.004530428908765316, -0.009707752615213394, -0.008603816851973534, -0.007680138107389212, -0.005994397681206465, 0.04078780859708786, -0.031768977642059326, -0.0036310364957898855, 0.009646737948060036, -0.019888103008270264, 0.017608169466257095, -0.06428494304418564, -0.03185123950242996, -0.04317467287182808, -0.03157401084899902, -0.015214788727462292, -0.10286327451467514, -0.010053671896457672, -0.08566790819168091, -0.023747064173221588, 0.032908085733652115, 0.04310100898146629, -0.024607660248875618, -0.023537924513220787, 0.01199202798306942, -0.05133291333913803, -0.05628574267029762, -0.03660136088728905, -0.04554613679647446, -0.05139336362481117, -0.08366500586271286, 0.0399802140891552, 0.02282862365245819, 0.03165513649582863, 0.015388372354209423, -0.003359738737344742, -0.02600591443479061, -0.06822462379932404, 0.04633995518088341, 0.04695886746048927, -0.015257827006280422, -0.04901067540049553, 0.04460533335804939, -0.009409913793206215, -0.006049232557415962, 0.009171061217784882, -0.03175133466720581, 0.04912060499191284, 0.07613298296928406, -0.0007732217200100422, 0.004919246770441532, 0.006181291304528713, -0.053568173199892044, -0.054740555584430695, -0.04471747204661369, -0.04523914307355881, -0.04950655996799469, -0.04675007238984108, -0.06034708023071289, -0.041908930987119675, -0.03435385599732399, -0.01941574178636074, -0.024679407477378845, -0.010371929965913296, 0.035626012831926346, 0.023344196379184723, 0.02369861491024494, 0.027845613658428192, -0.03559565544128418, -0.0216353926807642, 0.06835895031690598, 0.0032688737846910954, -0.02051061950623989, -0.08935964852571487, -0.010857048444449902, 0.03837274760007858, 0.010136093012988567, 0.010578363202512264, -0.008849999867379665, 0.06494936347007751, 0.008432750590145588, -0.035547852516174316, -0.008436939679086208, 0.01029476709663868, -0.005522412713617086, -0.01493126805871725, 0.0028274061623960733, -0.002375467447564006, -0.039126910269260406, 0.003283750731498003, -0.011915298178792, 0.05589291825890541, -0.07524705678224564, -0.06160666048526764, -0.02436288446187973, 0.025917457416653633, -0.004443176556378603, -0.0027964655309915543, -0.0497162900865078, -0.009153692983090878, -0.07069827616214752, -0.015405227430164814, 0.02986348420381546, -0.014461122453212738, -0.024780752137303352, 0.04666406661272049, 0.027953224256634712, -0.006090241484344006, 0.03766375407576561, 0.056113578379154205, 0.042567506432533264, 0.036671850830316544, -0.06096259132027626, 0.012419418431818485, -0.0020555832888931036, -0.0031939027830958366, 0.024982605129480362, -0.02411564812064171, -0.04021308198571205, -0.059975817799568176, 0.006863316986709833, 0.018396439030766487, -0.023363489657640457, -0.02208411879837513, 0.045176852494478226, -0.003979064524173737, 0.017881639301776886, 0.014272840693593025, 0.026297034695744514, 0.04227695241570473, -0.0411774106323719, 0.026754247024655342, 0.0005047846352681518, 0.017527803778648376, -0.07694504410028458, -0.009104141034185886, -0.011544501408934593, -0.004880170337855816, 0.02823466993868351, 0.04977815970778465, -0.003981977701187134, 0.04969771206378937, 0.05191608518362045, 0.017113473266363144, -0.024737413972616196, 0.05521763861179352, 0.03736470639705658, -0.027348965406417847, -0.045973747968673706, 0.041191961616277695, 0.002476147376000881, -0.015035923570394516, 0.013614929281175137, -0.023058831691741943, 0.015889927744865417, 0.045137979090213776, 0.009880220517516136, 0.0019081606296822429, 0.039244938641786575, -0.0301694106310606, -0.03389051556587219, -0.033157676458358765, -0.01780848763883114, 0.007941137999296188, -0.008189661428332329, 0.024335825815796852, 0.02463879995048046, 0.03804373741149902, 0.03771232068538666, 0.035809725522994995, -0.03442976251244545, -0.029559239745140076, 0.032633453607559204, -0.003599233692511916, -0.02927127107977867, -0.0655437707901001, -0.016582664102315903, 0.05215718224644661, 0.013589015230536461, -0.027850020676851273, -0.0844649150967598, 0.023283665999770164, 0.041507184505462646, -0.027185823768377304, 0.021937040612101555, 0.025754310190677643, 0.05105961859226227, 0.04629785940051079, -0.013173590414226055, 0.024455150589346886, -0.05193004012107849, -0.0029459174256771803, -0.016338320448994637, 0.04949735850095749, -0.031171444803476334, -0.03977767005562782, -0.03893503546714783, 0.01857173815369606, 0.04930201545357704, 0.041339755058288574, 0.039906058460474014, -0.036183811724185944, -0.02430051565170288, -0.00986107625067234, 0.051625385880470276, -0.03569378703832626, 0.038749467581510544, 0.04825127497315407, 0.026296624913811684, -0.05170710012316704, -0.04985961318016052, -0.013924029655754566, 0.021655792370438576, 0.018149789422750473, 0.012071983888745308, -0.019374586641788483, -0.03167226165533066, 0.026204410940408707, 0.009673619642853737, 0.00579634215682745, -0.05900708585977554, 0.06039031222462654, -0.030020304024219513, -0.0279245488345623, 0.028764842078089714, 0.01831107586622238, 0.037827957421541214, 0.06016615405678749, 0.006572647485882044, 0.008319218643009663, -0.05529426038265228, 0.05631522834300995, -0.03638327121734619, -0.006417134311050177, -0.017492933198809624, -0.0484682098031044, -0.007654170971363783, -0.022014115005731583, -0.04789009317755699, -0.007970762439072132, -0.04962068423628807, 0.046259231865406036, -0.017144614830613136, -0.018052220344543457, 0.02606910839676857, 0.04347246140241623, -0.005376518703997135, -0.03191535174846649, -0.034821268171072006, -0.03369225561618805, -0.07258245348930359, -0.030764393508434296, 0.037002936005592346, -0.003932276275008917, -0.021230576559901237, 0.037374455481767654, 0.022011281922459602, 0.024587349966168404, 0.00275559164583683, -0.024519819766283035, 0.012178857810795307, 0.005514224525541067, -0.07253579050302505, -0.025827670469880104, 0.009343341924250126, 0.014384808018803596, 0.03927217051386833, -0.02333354391157627, 0.02513110265135765, -0.02124553732573986, -0.03353912755846977, -0.02559167705476284, 0.031122619286179543, 0.013021422550082207, -0.060884784907102585, -0.02251114696264267, 0.004521226044744253, -0.03094095177948475, 0.014699717983603477, -0.029528208076953888, -0.05352601781487465, 0.01811470091342926, 0.04860181361436844, 0.04387512430548668, 0.0060636927373707294, -0.03262468799948692, 0.04575227200984955, -0.01008470356464386, 0.028634263202548027, -0.0624193474650383, 0.028412388637661934, -0.028078921139240265, 0.03542269021272659, -0.013646651059389114, -0.048047032207250595, -0.04939533397555351, 0.03178614377975464, -0.040072180330753326, -0.014898039400577545, 0.006328796036541462, 0.030971668660640717, -0.02931993082165718, 0.05576920509338379, -0.02235238254070282, 0.03932250663638115, -0.03801390156149864, 0.05030527710914612, -0.021560003980994225, -0.0012401810381561518, -0.027568701654672623, 0.0011768195545300841, -0.05556029826402664, 0.014014478772878647, -0.0006302211550064385, -0.027162646874785423, 0.0322422981262207, 0.04809999093413353, 0.011666499078273773, 0.028152139857411385, -0.02603164128959179, -0.02671354077756405, 0.019530052319169044, -0.04940744861960411, -0.021344086155295372, 0.01322063896805048, -0.033003177493810654, 0.012328889220952988, 0.05062049999833107, 0.04745444282889366, -0.06209055706858635, -0.034589704126119614, 0.03807041049003601, 0.018722249194979668, 0.005562074016779661, -0.00020806724205613136, 0.023947997018694878, 0.07354080677032471, 0.05457013100385666, -0.04526263475418091, 0.007279231213033199, -0.009625677950680256, -0.01941695623099804, 0.019428830593824387, -0.00913449190557003, 0.04302209988236427, -0.0151322977617383, -0.04678160324692726, -0.009821228682994843, 0.08180627971887589, 0.048745475709438324, 0.031115790829062462, 0.017933325842022896, -0.04511844366788864, 0.03149284049868584, 0.007339601870626211, -0.046614184975624084, 0.054352056235075, 0.027167070657014847, -0.04044532775878906, 0.06533072888851166, 0.0016005141660571098, 0.04982195049524307, 0.06708420813083649, 0.012980970554053783, -0.03780318424105644, 0.025767626240849495, -0.041801150888204575, -0.025695089250802994, 0.05440104007720947, -0.0783291757106781, -0.003808877430856228, -0.03843855485320091, 0.06048791855573654, -0.09335406869649887, 0.05021849647164345, 0.03972544148564339, -0.023647623136639595, 0.009964789263904095, -0.024235280230641365, -0.05048007145524025, 0.027640005573630333, -0.054641082882881165, 0.0936976969242096, 0.01656021922826767, -0.06661129742860794, 0.05676319822669029, -0.007918551564216614, -0.10440128296613693, 0.043821241706609726, 0.0397980697453022, 0.01751885376870632, 0.03317029029130936, 0.0450173020362854, -0.02218734659254551, 0.041602104902267456, -0.0374474935233593, 0.05840273201465607, 0.00031864753691479564, -0.01693098060786724, 0.025631535798311234, -0.04622933268547058, -0.014711596071720123, 0.010380949825048447, -0.012060791254043579, 0.015010061673820019, 0.02451666258275509, -0.059704311192035675, -0.045073702931404114, -0.0017704174388200045, 0.04022994264960289, -0.021893149241805077, 0.021483076736330986, -0.014065595343708992, 0.017947087064385414, 0.02408537082374096, 0.007081004790961742, -0.061088912189006805, 0.012216565199196339, 0.041000112891197205, -0.09570403397083282, -0.018431831151247025, 0.028248753398656845, -0.01477023120969534, -0.01617158018052578, 0.008948732167482376, -0.0011307552922517061, 0.022965168580412865, -0.005438265390694141, -0.0006014791433699429, -0.011407699435949326, -0.07221721857786179, 0.0037748815957456827, 0.0228877030313015, -0.006110018119215965, 0.023908322677016258, -0.018400823697447777, 0.023240668699145317, 0.01958107389509678, 0.06966760009527206, -0.003590414533391595, 0.00848714355379343, -0.011885098181664944, 0.03967597708106041, -0.052793074399232864, 0.039187345653772354, -0.02203911729156971, -0.06125690042972565, -0.03725958988070488, -0.003843094455078244, -0.015095632523298264, 0.04226725175976753, -0.04864068701863289, 0.02334868535399437, 0.030005984008312225, 0.0003542917547747493, -0.052285633981227875, -0.0742703527212143, -0.025842301547527313, -0.027980724349617958, -0.003216749057173729, 0.021419676020741463, -0.03316112980246544, 0.020487578585743904, -0.03133157268166542, -0.06666497886180878, 0.034945517778396606, 0.01734231784939766, -0.03494740277528763, 0.03174688294529915, 0.05113469436764717, -0.019703127443790436, 0.038361337035894394, 0.030020926147699356, -0.04732975363731384, 0.019655385985970497, -0.003245625412091613, 0.027852259576320648, 0.044539786875247955, 0.02712329663336277, -0.014317633584141731, -0.015452073886990547, -0.04171343520283699, -0.037718892097473145, -0.012439185753464699, 0.011386818252503872, 0.038481809198856354 ]