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 |
|---|---|---|---|---|---|---|---|
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 | ---
language: de
license: mit
tags:
- "historic german"
---
# π€ + π dbmdz BERT models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources German Europeana BERT models π
# German Europeana BERT
We use the open source [Europeana newspapers](http://www.europeana-newspapers.eu/)
that were provided by *The European Library*. The final
training corpus has a size of 51GB and consists of 8,035,986,369 tokens.
Detailed information about the data and pretraining steps can be found in
[this repository](https://github.com/stefan-it/europeana-bert).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-german-europeana-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-german-europeana-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-german-europeana-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-german-europeana-uncased/vocab.txt)
## Results
For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert).
## Usage
With Transformers >= 2.3 our German Europeana BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-german-europeana-uncased")
model = AutoModel.from_pretrained("dbmdz/bert-base-german-europeana-uncased")
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.015287313610315323,
-0.025365490466356277,
-0.017845846712589264,
0.06470870971679688,
-0.0017789590638130903,
0.03165488317608833,
-0.013593530282378197,
-0.018215009942650795,
-0.06778736412525177,
0.04914978891611099,
0.026023872196674347,
-0.025657208636403084,
-0.006076395511627197,
0.043890707194805145,
-0.029574643820524216,
-0.014629249460995197,
0.006048459094017744,
-0.0026145533192902803,
-0.05829635635018349,
-0.0239382516592741,
-0.0159751083701849,
0.01863677054643631,
-0.0008567965705879033,
0.038098108023405075,
0.012710962444543839,
0.013134106993675232,
0.002228772733360529,
0.05301401764154434,
0.021072182804346085,
-0.06758389621973038,
-0.007923535071313381,
-0.040315259248018265,
-0.03643754869699478,
-0.014133862219750881,
-0.02147867903113365,
-0.009953626431524754,
0.01132506038993597,
0.004029156174510717,
0.02997765876352787,
0.04500993713736534,
-0.004286107607185841,
0.011041281744837761,
-0.010726080276072025,
-0.03519032150506973,
0.06104045361280441,
0.02691369503736496,
-0.05897464230656624,
-0.04830557480454445,
0.04362930357456207,
-0.044581424444913864,
-0.03234941512346268,
-0.07612749189138412,
-0.028236186131834984,
0.019746368750929832,
-0.025391586124897003,
-0.024312524124979973,
-0.07130373269319534,
0.017991406843066216,
0.06173168122768402,
-0.037631694227457047,
-0.03879770264029503,
0.016893554478883743,
-0.07848526537418365,
0.009090491570532322,
0.04606782644987106,
-0.03952631726861,
-0.0000784164949436672,
-0.011986583471298218,
0.01888059265911579,
-0.02008848451077938,
0.04108111932873726,
-0.03507939726114273,
0.013500774279236794,
-0.06198869273066521,
-0.005904707591980696,
-0.023560956120491028,
0.04374990984797478,
0.04881177097558975,
-0.038536325097084045,
0.048446398228406906,
0.024509258568286896,
-0.001606469857506454,
0.049424849450588226,
-0.03429693728685379,
0.0006934570265002549,
0.037249524146318436,
-0.03464540094137192,
0.008231427520513535,
0.024707891047000885,
0.060196977108716965,
-0.050662800669670105,
-0.004967273212969303,
-0.017627282068133354,
-0.011327915824949741,
0.005454607307910919,
0.034108515828847885,
0.020198523998260498,
0.004835946019738913,
0.00886475294828415,
0.032554421573877335,
0.024202687665820122,
0.05360861495137215,
-0.01358871627599001,
0.050823286175727844,
-0.0012345598079264164,
-0.021410828456282616,
-0.024409564211964607,
-0.03299550339579582,
-0.057145364582538605,
0.0019041558261960745,
0.027916979044675827,
-0.04045885428786278,
-0.036291077733039856,
0.05246885120868683,
0.025306668132543564,
-0.017288174480199814,
0.05349798873066902,
-0.001668508630245924,
-0.03251950815320015,
-0.04306262731552124,
0.037765078246593475,
-0.004225153010338545,
0.005674903281033039,
0.0007011692505329847,
-0.05573933571577072,
0.01704346016049385,
-0.05351436510682106,
-0.017268327996134758,
0.0071586379781365395,
0.013436638750135899,
-0.012708411552011967,
0.04641658067703247,
0.02275734953582287,
-0.06735151261091232,
0.021465253084897995,
0.012455684132874012,
-0.040833886712789536,
0.07068263739347458,
0.01829206384718418,
0.1313789188861847,
-0.03905298933386803,
-0.0287421066313982,
0.0015766812721267343,
0.01775358058512211,
-0.04606475308537483,
0.006457825656980276,
0.021659966558218002,
-0.015847770497202873,
-0.005796253681182861,
-0.0024676721077412367,
0.04287125542759895,
-0.05268202722072601,
-0.011443228460848331,
0.057013850659132004,
-0.002340843202546239,
0.016340456902980804,
-0.047268278896808624,
-0.022615661844611168,
-0.025028860196471214,
-0.006349013186991215,
-0.02465655282139778,
0.023608220741152763,
-0.01741204410791397,
-0.01680363342165947,
-0.03438222035765648,
-0.05688372626900673,
-0.00574528519064188,
0.09092158079147339,
-0.009125900454819202,
-0.02907678671181202,
-0.04714646562933922,
0.0018432785291224718,
0.05364733561873436,
0.040507443249225616,
-0.03303445875644684,
0.039679527282714844,
0.03648298233747482,
0.05035938695073128,
-0.020948247984051704,
0.060213662683963776,
0.0070145828649401665,
-0.007522784173488617,
-0.05090891197323799,
0.036449041217565536,
-0.012375428341329098,
-0.03093656152486801,
0.031046133488416672,
0.059934988617897034,
-0.0009610975394025445,
-0.0258328914642334,
-0.02710355445742607,
0.04919800907373428,
-0.006959558930248022,
0.014686365611851215,
0.02060433104634285,
-0.012562736868858337,
-0.030978644266724586,
0.054805297404527664,
-0.011772042140364647,
0.009614056907594204,
-0.005846970248967409,
-0.0381673239171505,
0.005102163180708885,
0.011938067153096199,
0.03573956340551376,
0.03265383094549179,
0.0035462549421936274,
0.08370359987020493,
-0.053356390446424484,
0.00675357086583972,
-0.02042088843882084,
-0.05541133135557175,
-0.01847814954817295,
0.04354846104979515,
0.04119820147752762,
0.029321715235710144,
-0.025281939655542374,
-0.04623838886618614,
0.020690593868494034,
0.058889761567115784,
0.025108937174081802,
0.023819435387849808,
-0.0247128177434206,
-0.01542741246521473,
0.02601887285709381,
0.04822346940636635,
-0.05576498433947563,
-0.04674886539578438,
-0.008118148893117905,
0.043319616466760635,
-0.030850747600197792,
0.003907652106136084,
-0.0360836461186409,
0.012723180465400219,
-0.04865100979804993,
-0.06569754332304001,
0.06116655096411705,
0.019180230796337128,
-0.03261290490627289,
0.03198220580816269,
-0.016911467537283897,
0.017162954434752464,
0.0044588372111320496,
0.02681841142475605,
0.013254244811832905,
-0.04691901430487633,
-0.0005348935374058783,
0.024725012481212616,
0.052451472729444504,
-0.05769241601228714,
0.037634991109371185,
-0.022146249189972878,
0.00432211859151721,
0.0221087783575058,
-0.043352484703063965,
0.02581942081451416,
0.04320310428738594,
0.038227081298828125,
-0.06020333245396614,
0.0442105233669281,
-0.0072840009815990925,
0.025064582005143166,
0.042795903980731964,
0.0029838585760444403,
0.051464781165122986,
0.009247371926903725,
0.02425049990415573,
0.0779494196176529,
0.03428550437092781,
0.030656633898615837,
0.02521585300564766,
0.048121772706508636,
0.005888285115361214,
-0.008498014882206917,
0.07224251329898834,
-0.037522584199905396,
0.012617631815373898,
-0.03407423570752144,
0.005485005676746368,
0.01311442255973816,
-0.004613583907485008,
0.023741284385323524,
-0.016272617504000664,
-0.014242826029658318,
-0.0013809527736157179,
0.005863089580088854,
0.003453347133472562,
0.04882851615548134,
0.004608722869306803,
0.011470598168671131,
-0.018562551587820053,
-0.04373081773519516,
-0.006551067344844341,
-0.0613761767745018,
-0.0529528483748436,
0.016837293282151222,
-0.04201953858137131,
0.00024392684281338006,
-0.0888759195804596,
-0.020563768222928047,
-0.06898149102926254,
-0.007564131636172533,
0.03618181496858597,
0.01704021543264389,
-0.010266819037497044,
-0.022659501060843468,
0.013527837581932545,
-0.022972015663981438,
-0.06402692943811417,
-0.059812117367982864,
-0.04393109679222107,
-0.04002057760953903,
-0.06074829027056694,
0.04466000571846962,
0.03685912489891052,
0.027762332931160927,
-0.01897776871919632,
0.0125155383720994,
-0.028583239763975143,
-0.031638167798519135,
0.04832344874739647,
0.039392583072185516,
-0.04280790686607361,
-0.023331191390752792,
0.01722961664199829,
0.0011898213997483253,
0.03794057294726372,
0.03532084822654724,
-0.03973528370261192,
0.0767313539981842,
0.07085005939006805,
0.0010969266295433044,
0.030460068956017494,
0.025353917852044106,
-0.02820737659931183,
-0.05992991849780083,
-0.027103807777166367,
-0.03293165937066078,
0.005121349822729826,
-0.03989783674478531,
-0.0620981901884079,
-0.024545196443796158,
-0.03612328693270683,
0.00538168428465724,
-0.006464151665568352,
0.0036864099092781544,
0.003764673136174679,
0.026455337181687355,
0.029596734791994095,
0.0225263349711895,
-0.013293273746967316,
-0.01369449682533741,
0.07189629226922989,
0.02133806049823761,
0.00896125752478838,
-0.07326674461364746,
-0.013760093599557877,
0.03575297072529793,
0.06415852904319763,
0.011997614055871964,
-0.014723774045705795,
0.08719641715288162,
0.016535837203264236,
-0.004011976532638073,
-0.016270482912659645,
0.004082180093973875,
-0.07032356411218643,
-0.005717346910387278,
-0.003075655782595277,
0.000016633252016617917,
-0.06072716787457466,
-0.026919756084680557,
0.02941323071718216,
0.026445645838975906,
-0.07965648919343948,
-0.035731229931116104,
-0.012018195353448391,
0.01126005221158266,
0.039807043969631195,
-0.00904539693146944,
-0.0630868598818779,
0.005015652161091566,
-0.031404487788677216,
-0.056209877133369446,
0.02343977615237236,
0.013030847534537315,
0.03226508945226669,
0.04523981735110283,
0.04213208332657814,
-0.026835372671484947,
0.03487763926386833,
0.02960519678890705,
0.0615130178630352,
0.020125525072216988,
-0.054410237818956375,
0.028715038672089577,
-0.03915772959589958,
0.005176436621695757,
0.008176207542419434,
-0.02629942260682583,
-0.05239143967628479,
-0.08779188990592957,
-0.013460933230817318,
0.022511685267090797,
0.007974909618496895,
-0.00560007942840457,
0.0352243147790432,
-0.0036765444092452526,
-0.009673706255853176,
-0.01978420279920101,
0.006036583334207535,
0.02764596790075302,
-0.04704432934522629,
0.06874453276395798,
-0.003855788381770253,
0.022151393815875053,
-0.08557653427124023,
0.019010428339242935,
-0.045578375458717346,
-0.031942058354616165,
-0.005563636776059866,
0.04450219124555588,
0.03584779426455498,
0.012399733066558838,
0.0692363753914833,
0.012745627202093601,
-0.03876552730798721,
0.044606681913137436,
0.02866133488714695,
0.0059674507938325405,
-0.029666122049093246,
-0.032635968178510666,
-0.02328674867749214,
-0.04030032828450203,
-0.018383178859949112,
-0.02716756798326969,
0.01836223155260086,
0.02545727975666523,
0.011327384039759636,
-0.032547444105148315,
0.003144757356494665,
0.0038124502170830965,
-0.017009127885103226,
-0.07205042988061905,
-0.016945194453001022,
-0.012603610754013062,
-0.023582518100738525,
0.04433818534016609,
0.03469470888376236,
-0.017854755744338036,
0.06410521268844604,
0.016258206218481064,
-0.014815998263657093,
-0.014328917488455772,
0.0402548611164093,
0.032626159489154816,
-0.05270089581608772,
-0.05998597666621208,
-0.04796206206083298,
0.05017033964395523,
0.06459562480449677,
0.008786671794950962,
-0.08966574817895889,
0.00017880387895274907,
0.06263841688632965,
-0.04482833668589592,
0.06365782022476196,
-0.01562488079071045,
0.06542322039604187,
0.0728447288274765,
-0.02922804467380047,
0.01935286447405815,
-0.04305291548371315,
0.009798705577850342,
-0.0010967314010486007,
0.04567735269665718,
-0.04753224924206734,
-0.04212101548910141,
-0.03544991463422775,
0.02807856909930706,
0.015512733720242977,
0.0402195118367672,
0.033411215990781784,
-0.04743795841932297,
-0.04660487174987793,
0.028881020843982697,
0.04308665171265602,
-0.06693558394908905,
0.039306797087192535,
0.026809904724359512,
0.05285748839378357,
-0.057215798646211624,
-0.03941616788506508,
-0.0035563758574426174,
-0.01166444830596447,
0.03175480663776398,
0.013591504655778408,
-0.02289547771215439,
-0.07675141096115112,
0.017225537449121475,
-0.015282833017408848,
-0.016558317467570305,
-0.09903635829687119,
0.023089157417416573,
-0.015258043073117733,
-0.021765293553471565,
0.05363089218735695,
0.024556506425142288,
0.025647025555372238,
0.04774598777294159,
-0.007185264024883509,
-0.01868952438235283,
-0.04805663600564003,
0.014983735047280788,
-0.0557059645652771,
-0.0038180341944098473,
-0.006953527219593525,
-0.023308303207159042,
-0.012953032739460468,
-0.03340441733598709,
-0.0421118400990963,
-0.049303244799375534,
-0.0032719429582357407,
0.04116443917155266,
-0.008788518607616425,
-0.001538021955639124,
-0.018827423453330994,
0.03004664182662964,
-0.03316575661301613,
-0.04044019803404808,
-0.02949521876871586,
-0.022141598165035248,
-0.05102185904979706,
-0.04951132833957672,
0.01744166389107704,
-0.014296828769147396,
0.017640113830566406,
0.01535399816930294,
-0.00026464290567673743,
0.010045964270830154,
-0.008382446132600307,
-0.031294554471969604,
0.0007442391943186522,
0.01112622395157814,
-0.05195675790309906,
-0.023772139102220535,
0.01548655703663826,
0.00637113256379962,
0.044696614146232605,
-0.042575232684612274,
0.04603881761431694,
0.021471595391631126,
-0.017697924748063087,
-0.01916770450770855,
0.016452856361865997,
0.03194708377122879,
-0.08740077912807465,
-0.05751202628016472,
-0.013859019614756107,
-0.04647022485733032,
0.03154357150197029,
-0.030014248564839363,
-0.008805260993540287,
0.03664750978350639,
0.021468980237841606,
0.03290697559714317,
0.009682240895926952,
-0.03615850955247879,
0.02449694275856018,
-0.03979980945587158,
0.03443726524710655,
-0.04899601638317108,
0.03398951143026352,
-0.025741182267665863,
0.027524860575795174,
-0.0026847850531339645,
-0.031168192625045776,
-0.03870715945959091,
0.048626262694597244,
-0.02118031494319439,
-0.012849329970777035,
-0.0037446997594088316,
0.02610943652689457,
-0.014696302823722363,
0.01839262992143631,
-0.029022250324487686,
0.030244719237089157,
0.00757061829790473,
0.04977159947156906,
-0.052602242678403854,
-0.02200991101562977,
-0.027445778250694275,
0.03265960142016411,
-0.05249682068824768,
0.01797221228480339,
0.01710459589958191,
-0.03136003389954567,
0.0076918513514101505,
0.019357986748218536,
0.03003658540546894,
0.014882432296872139,
-0.040006741881370544,
-0.0035486984997987747,
0.020017549395561218,
-0.04042332246899605,
-0.0018104648916050792,
0.00814533419907093,
-0.018982114270329475,
-0.011544833891093731,
0.061054445803165436,
0.038567498326301575,
-0.07845964282751083,
-0.0652918890118599,
0.052531152963638306,
0.007107697892934084,
-0.012668977491557598,
-0.011232980526983738,
0.02399449236690998,
-0.003416619496420026,
0.03343188390135765,
-0.01330504845827818,
0.0015285172266885638,
-0.01586730405688286,
-0.024165542796254158,
0.0014769787667319179,
-0.0018315436318516731,
0.03645394742488861,
0.01493044663220644,
-0.022293245419859886,
-0.042019329965114594,
0.05400186404585838,
0.0007297555566765368,
0.015712033957242966,
-0.014259959571063519,
-0.024584192782640457,
0.032578080892562866,
0.019450558349490166,
-0.049725163727998734,
0.00398062402382493,
0.030301889404654503,
-0.026154618710279465,
0.08626436442136765,
-0.015416826121509075,
0.02036925032734871,
0.059151019901037216,
0.03733529523015022,
-0.02802974544465542,
0.05883776396512985,
-0.019558493047952652,
-0.005806697532534599,
0.05550867319107056,
-0.052741289138793945,
0.002768503734841943,
-0.032981026917696,
0.069982148706913,
-0.04480933025479317,
0.05101814493536949,
0.04291100427508354,
0.017285097390413284,
0.0399157740175724,
-0.05864930897951126,
-0.015835808590054512,
-0.00005909718674956821,
-0.0655846893787384,
0.06174575164914131,
-0.003969461657106876,
-0.06008586660027504,
0.07697468996047974,
0.028208421543240547,
-0.05497129261493683,
0.0260964035987854,
0.04257382079958916,
0.03522493317723274,
-0.0007628053426742554,
0.017606936395168304,
-0.04615691304206848,
0.003918847534805536,
-0.048386141657829285,
0.01952139474451542,
-0.05236612632870674,
-0.009685400873422623,
0.01750071346759796,
-0.011749525554478168,
0.004413576330989599,
0.03358757868409157,
-0.025037359446287155,
-0.01804591715335846,
0.052665140479803085,
-0.05313662812113762,
-0.04393526166677475,
0.00455354992300272,
0.015320093370974064,
-0.02261349745094776,
0.020082926377654076,
-0.044074688106775284,
0.012746847234666348,
0.02020653337240219,
-0.014817583374679089,
-0.029114140197634697,
0.006016319151967764,
0.033960770815610886,
-0.058569636195898056,
-0.05511865019798279,
0.02304927632212639,
0.0018810309702530503,
-0.029225433245301247,
0.037749145179986954,
0.006077137775719166,
-0.004215317778289318,
0.025593092665076256,
0.010087148286402225,
0.008258399553596973,
-0.020001858472824097,
-0.023925913497805595,
-0.004289218690246344,
0.01798655278980732,
0.03129059821367264,
-0.005332713946700096,
0.020430119708180428,
0.030090080574154854,
0.035475973039865494,
-0.0034292747732251883,
-0.057667326182127,
-0.03461312875151634,
0.020992262288928032,
-0.044222477823495865,
-0.0037479025777429342,
0.006689956411719322,
-0.06218399479985237,
-0.037140145897865295,
-0.010628783144056797,
-0.017108522355556488,
0.029973793774843216,
-0.06098083034157753,
0.02597874402999878,
0.035211753100156784,
0.01409279927611351,
-0.05486581474542618,
-0.07188045233488083,
-0.01875004731118679,
-0.029031893238425255,
0.01057932898402214,
0.010660977102816105,
-0.01127051841467619,
0.02140147238969803,
-0.015489536337554455,
-0.04706519842147827,
0.029978303238749504,
0.018572945147752762,
-0.06442221254110336,
0.0671706423163414,
0.03128994628787041,
-0.06288901716470718,
-0.01657390408217907,
0.014725806191563606,
-0.03332510218024254,
0.016920091584324837,
0.001318079768680036,
0.004857697989791632,
0.018718494102358818,
0.044323742389678955,
-0.040014542639255524,
-0.02552063763141632,
-0.0728815495967865,
-0.04574976861476898,
-0.02020258828997612,
0.015886642038822174,
0.08136298507452011
] |
BigSalmon/InformalToFormalLincolnDistilledGPT2 | [
"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 | null | ---
language: de
license: mit
---
# π€ + π dbmdz German BERT models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources another German BERT models π
# German BERT
## Stats
In addition to the recently released [German BERT](https://deepset.ai/german-bert)
model by [deepset](https://deepset.ai/) we provide another German-language model.
The source data for the model consists of a recent Wikipedia dump, EU Bookshop corpus,
Open Subtitles, CommonCrawl, ParaCrawl and News Crawl. This results in a dataset with
a size of 16GB and 2,350,234,427 tokens.
For sentence splitting, we use [spacy](https://spacy.io/). Our preprocessing steps
(sentence piece model for vocab generation) follow those used for training
[SciBERT](https://github.com/allenai/scibert). The model is trained with an initial
sequence length of 512 subwords and was performed for 1.5M steps.
This release includes both cased and uncased models.
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `bert-base-german-dbmdz-cased` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-config.json) β’ [`pytorch_model.bin`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-pytorch_model.bin) β’ [`vocab.txt`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-cased-vocab.txt)
| `bert-base-german-dbmdz-uncased` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-uncased-config.json) β’ [`pytorch_model.bin`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-uncased-pytorch_model.bin) β’ [`vocab.txt`](https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-german-dbmdz-uncased-vocab.txt)
## Usage
With Transformers >= 2.3 our German BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-german-cased")
model = AutoModel.from_pretrained("dbmdz/bert-base-german-cased")
```
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/fine-tuned-berts-seq).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.014082135632634163,
-0.014692517928779125,
-0.024357575923204422,
0.07806176692247391,
0.011859601363539696,
0.029269589111208916,
-0.004831402096897364,
-0.010111695155501366,
-0.04517956078052521,
0.05995055288076401,
0.021835820749402046,
-0.007447114679962397,
0.0098267812281847,
0.05009542778134346,
-0.018721457570791245,
-0.03109147772192955,
0.011408415623009205,
-0.0179861169308424,
-0.04405786842107773,
-0.009893616661429405,
-0.019431311637163162,
0.020648900419473648,
0.007587483152747154,
0.0352160669863224,
0.012738374061882496,
0.012346873991191387,
-0.02052254043519497,
0.05227300152182579,
0.008077350445091724,
-0.06250528246164322,
-0.005786675028502941,
-0.021348964422941208,
-0.05178019031882286,
-0.01782825216650963,
-0.013042913749814034,
-0.011249023489654064,
0.00033330050064250827,
-0.0002734881709329784,
0.043606359511613846,
0.03747015446424484,
-0.02083798311650753,
0.013521423563361168,
-0.0023591993376612663,
-0.04160202667117119,
0.04746950790286064,
0.02066422626376152,
-0.05908476933836937,
-0.04450252652168274,
0.04370811954140663,
-0.04354727268218994,
-0.04584777355194092,
-0.07943405210971832,
-0.03634042292833328,
0.03099614754319191,
-0.013224910013377666,
-0.01387692242860794,
-0.062310878187417984,
0.011432657949626446,
0.060491710901260376,
-0.04746363312005997,
-0.0424639992415905,
0.018535450100898743,
-0.0588274709880352,
0.019290782511234283,
0.03994051739573479,
-0.024642664939165115,
0.0006824157317169011,
-0.028065325692296028,
0.022333795204758644,
-0.030710944905877113,
0.04088748246431351,
-0.02471296116709709,
0.01226133480668068,
-0.08939281851053238,
-0.01160578615963459,
-0.016666220501065254,
0.03532680496573448,
0.04234068840742111,
-0.03872587904334068,
0.05136311054229736,
0.005044547375291586,
-0.003286137478426099,
0.027800800278782845,
-0.014472836628556252,
-0.031336862593889236,
0.0742255374789238,
-0.029246853664517403,
0.0011574148666113615,
-0.005738059524446726,
0.051127634942531586,
-0.04105667769908905,
-0.010236314497888088,
-0.016629712656140327,
-0.031840305775403976,
-0.023397907614707947,
0.02760591357946396,
0.011073198169469833,
-0.00845139566808939,
0.008656792342662811,
0.043455932289361954,
0.024704379960894585,
0.04751470312476158,
-0.014461626298725605,
0.06300143897533417,
0.004691056441515684,
-0.02344624698162079,
-0.004082833416759968,
-0.025360211730003357,
-0.049184516072273254,
0.022944534197449684,
0.021246053278446198,
-0.02182505466043949,
-0.045968443155288696,
0.04453277215361595,
0.028081223368644714,
-0.029341870918869972,
0.050486478954553604,
-0.006866313051432371,
-0.03726493939757347,
-0.04696552827954292,
0.05072953924536705,
-0.010843963362276554,
0.015755420550704002,
0.019059041514992714,
-0.06262775510549545,
0.0027023619040846825,
-0.056761596351861954,
-0.019319353625178337,
0.010824025608599186,
0.013965020887553692,
-0.011073009110987186,
0.04926719516515732,
0.033045265823602676,
-0.05990913137793541,
0.018516162410378456,
0.0036566287744790316,
-0.05430949106812477,
0.06212829425930977,
0.03143785893917084,
0.12829077243804932,
-0.04984651505947113,
-0.019255395978689194,
0.01686571165919304,
0.021810660138726234,
-0.011866049841046333,
0.00863864179700613,
0.034671600908041,
-0.015006343834102154,
-0.006300386041402817,
-0.002774422988295555,
0.047295909374952316,
-0.03590932488441467,
-0.0018257707124575973,
0.050921183079481125,
-0.02036714181303978,
0.030756555497646332,
-0.05864998698234558,
-0.012923859059810638,
-0.015803730115294456,
0.004398207180202007,
-0.03441214933991432,
0.040247246623039246,
-0.009780614636838436,
-0.0179312601685524,
-0.025160085409879684,
-0.03613444045186043,
0.012523932382464409,
0.10065773874521255,
-0.01157695148140192,
-0.039436858147382736,
-0.04107845574617386,
0.00026336844894103706,
0.06431784480810165,
0.03433893993496895,
-0.04238352179527283,
0.026553113013505936,
0.044655941426754,
0.03362639620900154,
-0.015762262046337128,
0.04878959059715271,
-0.00730767659842968,
-0.033652570098638535,
-0.03505479171872139,
0.034985341131687164,
0.000039576785638928413,
-0.03043828159570694,
0.01675545424222946,
0.06098271906375885,
-0.003780268132686615,
-0.03868718072772026,
-0.015112032182514668,
0.07059561461210251,
-0.006568748038262129,
0.008737361989915371,
0.02579009160399437,
0.003359865862876177,
-0.03938690200448036,
0.047252509742975235,
-0.026492364704608917,
-0.0021589980460703373,
-0.016774995252490044,
-0.016387591138482094,
0.00967129971832037,
0.04231303930282593,
0.04499873146414757,
0.020647268742322922,
0.0013626842992380261,
0.0883394181728363,
-0.03826766088604927,
0.003343955148011446,
-0.045593105256557465,
-0.03307681158185005,
-0.010427460074424744,
0.0407969132065773,
0.04599389061331749,
0.0457586795091629,
-0.011215293779969215,
-0.04705696180462837,
0.012804213911294937,
0.06735289841890335,
0.025871414691209793,
0.04546373337507248,
-0.026524387300014496,
-0.025437017902731895,
0.036888957023620605,
0.05847587808966637,
-0.03779333829879761,
-0.042238011956214905,
0.002616570796817541,
0.042824819684028625,
-0.016711875796318054,
0.005580270197242498,
-0.011429286561906338,
0.014762621372938156,
-0.03805510327219963,
-0.06655992567539215,
0.04857796058058739,
0.028791753575205803,
-0.005649142432957888,
0.04643620550632477,
-0.02175018936395645,
0.0037084680516272783,
-0.006642365362495184,
0.026115966960787773,
0.0044523607939481735,
-0.04948702082037926,
-0.0037159137427806854,
0.02544466219842434,
0.044094592332839966,
-0.04629659652709961,
0.03520311787724495,
-0.001340580522082746,
0.020981136709451675,
0.018528711050748825,
-0.029671551659703255,
0.03105035424232483,
0.03043179400265217,
0.013425161130726337,
-0.0427846722304821,
0.03755377233028412,
0.010234103538095951,
0.032719679176807404,
0.06022079661488533,
0.007582539226859808,
0.06647099554538727,
0.008907366544008255,
0.05107753351330757,
0.07501325756311417,
0.023109087720513344,
0.03429718688130379,
0.038219958543777466,
0.06905840337276459,
-0.006535675376653671,
-0.013054870069026947,
0.07810250669717789,
-0.03553067520260811,
0.009641502983868122,
-0.05410035327076912,
0.008171149529516697,
0.0158240869641304,
-0.009872350841760635,
0.020595921203494072,
0.013347740285098553,
-0.006846759933978319,
0.015538807958364487,
0.0002795071341097355,
-0.004781530704349279,
0.0347108319401741,
0.019766727462410927,
0.024831494316458702,
-0.0076509579084813595,
-0.03902038186788559,
0.015114103443920612,
-0.0665614902973175,
-0.0582224540412426,
-0.002021998167037964,
-0.02073875069618225,
0.009508426301181316,
-0.08923007547855377,
-0.044236019253730774,
-0.07917732745409012,
-0.018731528893113136,
0.03901173546910286,
0.02041640505194664,
-0.010476029478013515,
-0.013957517221570015,
0.015547849237918854,
-0.028706476092338562,
-0.046659499406814575,
-0.06100087985396385,
-0.03836020827293396,
-0.05508597940206528,
-0.07407854497432709,
0.053547922521829605,
0.007988624274730682,
0.020820578560233116,
-0.0037935571745038033,
0.010291054844856262,
-0.03283117339015007,
-0.027957798913121223,
0.05598193034529686,
0.04732469096779823,
-0.051709435880184174,
-0.03181564062833786,
0.006185344886034727,
-0.008032621815800667,
0.014018337242305279,
-0.011580164544284344,
-0.02595861256122589,
0.06755544245243073,
0.08045781403779984,
0.007808439899235964,
0.024927852675318718,
0.006991584785282612,
-0.043533481657505035,
-0.060199398547410965,
-0.02445409633219242,
-0.03166693076491356,
-0.0031008964870125055,
-0.05204525589942932,
-0.057791855186223984,
-0.013810078613460064,
-0.048567261546850204,
0.010367718525230885,
-0.013009854592382908,
0.004810748156160116,
0.02014949545264244,
0.04349454119801521,
0.0292965117841959,
0.035172633826732635,
-0.034195199608802795,
-0.020468533039093018,
0.08054041117429733,
0.02420623227953911,
0.005836872849613428,
-0.08932480961084366,
-0.036871328949928284,
0.03703878074884415,
0.05392492562532425,
0.00800085999071598,
-0.016162384301424026,
0.0789654329419136,
0.009521775878965855,
-0.0030509091448038816,
-0.019211173057556152,
-0.0067576393485069275,
-0.04673226177692413,
0.023880431428551674,
0.0020872282329946756,
-0.016431773081421852,
-0.041580960154533386,
-0.04327152296900749,
0.009684820659458637,
0.028911331668496132,
-0.06077975034713745,
-0.046727318316698074,
-0.00003705650306073949,
0.020221415907144547,
0.017243588343262672,
-0.0010158548830077052,
-0.04242078587412834,
0.005409076809883118,
-0.037430211901664734,
-0.04739024117588997,
-0.003924190066754818,
-0.004195462912321091,
0.021592633798718452,
0.038031794130802155,
0.026900826022028923,
-0.028237666934728622,
0.030745187774300575,
0.017359646037220955,
0.045906201004981995,
0.02047206088900566,
-0.05971243232488632,
0.034138746559619904,
-0.04160315915942192,
0.013038522563874722,
-0.001209771609865129,
-0.026069529354572296,
-0.04280804097652435,
-0.07358093559741974,
-0.007070534862577915,
0.0015555191785097122,
0.0012525117490440607,
-0.007061630487442017,
0.03385353460907936,
-0.005084242206066847,
-0.029031500220298767,
-0.0012523026671260595,
0.016777081415057182,
0.027269328013062477,
-0.04398222640156746,
0.06064845249056816,
-0.0005787121481262147,
0.014473182149231434,
-0.06589867174625397,
0.0213841050863266,
-0.04538431391119957,
-0.023697534576058388,
-0.0022614330518990755,
0.07443571835756302,
0.03428631275892258,
0.02826634608209133,
0.07137510925531387,
0.024078167974948883,
-0.050414230674505234,
0.04678867384791374,
0.026073172688484192,
0.0029966733418405056,
-0.02932737022638321,
-0.002675423165783286,
-0.021391289308667183,
-0.02998512051999569,
-0.0021472196094691753,
-0.03196265175938606,
0.014315741136670113,
0.02435215376317501,
0.013305287808179855,
-0.023801295086741447,
0.010446072556078434,
-0.0016144101973623037,
-0.023112518712878227,
-0.07102461159229279,
-0.0234967190772295,
-0.009113192558288574,
-0.024531548842787743,
0.05335367098450661,
0.039211735129356384,
0.01419848669320345,
0.06304902583360672,
0.03456338495016098,
-0.01756378263235092,
-0.03014775738120079,
0.044319190084934235,
0.04815742373466492,
-0.05507005751132965,
-0.05568762868642807,
-0.04520159587264061,
0.03959863260388374,
0.06451840698719025,
-0.0015056021511554718,
-0.09683653712272644,
0.012316706590354443,
0.05673917755484581,
-0.03329557180404663,
0.06737686693668365,
-0.008022665977478027,
0.06958576291799545,
0.06760134547948837,
-0.007349608466029167,
0.010487432591617107,
-0.02165677584707737,
0.007948584854602814,
-0.0036271538119763136,
0.05250664800405502,
-0.04488205164670944,
-0.04903816431760788,
-0.03483789414167404,
0.03416937589645386,
0.01572517305612564,
0.04092434048652649,
0.03901572525501251,
-0.04092122241854668,
-0.053805962204933167,
0.030413711443543434,
0.026426255702972412,
-0.050199978053569794,
0.01846160739660263,
0.028373833745718002,
0.028624633327126503,
-0.07425596565008163,
-0.03392641618847847,
-0.0272537712007761,
-0.007772088050842285,
0.036640528589487076,
-0.00426702294498682,
-0.035630546510219574,
-0.06702001392841339,
0.019077999517321587,
-0.019420858472585678,
-0.01792673021554947,
-0.07874883711338043,
0.009034986607730389,
-0.010972552932798862,
-0.014946487732231617,
0.053598444908857346,
0.03833973407745361,
0.041444722563028336,
0.0411212332546711,
-0.012574399821460247,
-0.0024965833872556686,
-0.03243551403284073,
0.03402162715792656,
-0.045128077268600464,
-0.013607658445835114,
-0.009000139310956001,
-0.027756767347455025,
-0.024805674329400063,
-0.03421247377991676,
-0.04722706601023674,
-0.05950980633497238,
0.0020063372794538736,
0.0353352315723896,
-0.026289522647857666,
0.0007246820605359972,
-0.00967590045183897,
0.02853824570775032,
-0.03844507411122322,
-0.028496649116277695,
-0.02667258121073246,
-0.018211526796221733,
-0.06136833876371384,
-0.04118741303682327,
0.0004280680441297591,
0.010358651168644428,
0.01966276951134205,
0.022943459451198578,
0.012226131744682789,
0.006893117446452379,
-0.008093466982245445,
-0.03149685263633728,
0.012180161662399769,
0.004264533519744873,
-0.04606714844703674,
-0.03583388030529022,
0.011936319060623646,
0.023095998913049698,
0.02476424165070057,
-0.04705091193318367,
0.03078913316130638,
0.01670297607779503,
-0.02526511810719967,
-0.023455187678337097,
0.024100931361317635,
0.00012734126357827336,
-0.08296234160661697,
-0.04966495931148529,
-0.02468224987387657,
-0.04353684186935425,
0.048856448382139206,
-0.020015377551317215,
-0.02480342984199524,
0.029909705743193626,
0.03159874677658081,
0.02867608331143856,
-0.0070846667513251305,
-0.0452684685587883,
0.0268819909542799,
-0.03130445256829262,
0.0312365535646677,
-0.06887070834636688,
0.033527158200740814,
-0.033256612718105316,
0.01708933897316456,
-0.0041798478923738,
-0.015585299581289291,
-0.04150201007723808,
0.04563922435045242,
-0.015475014224648476,
-0.016007041558623314,
-0.017217904329299927,
0.02007525973021984,
-0.026455163955688477,
0.03619421645998955,
-0.026649413630366325,
0.01438628789037466,
-0.001293392851948738,
0.049662426114082336,
-0.05859620124101639,
-0.012088589370250702,
-0.03175638988614082,
0.01998688280582428,
-0.04022807255387306,
-0.005449150688946247,
0.013118328526616096,
-0.02226904034614563,
0.016958365216851234,
0.024239644408226013,
0.028932714834809303,
0.04238612949848175,
-0.012400747276842594,
0.00862424261868,
0.02785278670489788,
-0.05263824760913849,
-0.02776913158595562,
-0.007955794222652912,
0.02651388943195343,
-0.0021591002587229013,
0.07559944689273834,
0.042494550347328186,
-0.055235374718904495,
-0.04824356734752655,
0.03251967951655388,
-0.0005300558404996991,
-0.006947429850697517,
0.0012693676399067044,
0.03222976624965668,
0.024403268471360207,
0.04275299608707428,
-0.048888761550188065,
-0.016917653381824493,
0.0028663394041359425,
-0.02599598653614521,
0.007785283960402012,
0.0161436814814806,
0.033723775297403336,
0.01389059703797102,
-0.026808705180883408,
-0.04638087376952171,
0.068049356341362,
0.0019515958847478032,
0.0254442747682333,
0.00012125119974371046,
-0.03498362377285957,
0.025411976501345634,
0.014538761228322983,
-0.03828955069184303,
-0.004952399060130119,
0.031882550567388535,
-0.03177511319518089,
0.07304307818412781,
-0.0060858638025820255,
0.011258367449045181,
0.049354128539562225,
0.024695252999663353,
-0.02851181849837303,
0.05766581371426582,
-0.02306177094578743,
-0.009069720283150673,
0.05015246570110321,
-0.042501501739025116,
-0.018535368144512177,
-0.040173985064029694,
0.08050335198640823,
-0.052665047347545624,
0.04499911516904831,
0.054541125893592834,
0.013419924303889275,
0.03639166057109833,
-0.04358049854636192,
-0.01913590542972088,
0.007816017605364323,
-0.050407372415065765,
0.0730341300368309,
0.013269982300698757,
-0.047676265239715576,
0.07412335276603699,
0.01103544794023037,
-0.05989699065685272,
0.028692882508039474,
0.03562277555465698,
0.031957339495420456,
0.019038215279579163,
0.04940031096339226,
-0.04957546293735504,
0.015902351588010788,
-0.054844532161951065,
0.018724268302321434,
-0.04763314500451088,
-0.01502857357263565,
0.01310910377651453,
-0.03879168629646301,
0.002877097576856613,
0.03127181529998779,
-0.02525254525244236,
0.003114454448223114,
0.03106277994811535,
-0.06428038328886032,
-0.045467689633369446,
-0.005199868232011795,
0.025421129539608955,
-0.032245419919490814,
-0.007055904250591993,
-0.04251411557197571,
0.019552746787667274,
0.023351460695266724,
0.0016462727217003703,
-0.036323487758636475,
0.01509805303066969,
0.034508757293224335,
-0.07780680060386658,
-0.05957137048244476,
0.016123810783028603,
0.005052093416452408,
-0.03140779212117195,
0.047599829733371735,
-0.013430154882371426,
0.010363423265516758,
0.024415047839283943,
0.008136523887515068,
0.011057203635573387,
-0.029923176392912865,
0.0003694112238008529,
-0.004086076747626066,
0.006950587034225464,
0.04163534566760063,
-0.01272643730044365,
0.012973387725651264,
0.03287917375564575,
0.05082886293530464,
-0.011282849125564098,
-0.05018778517842293,
-0.0072563388384878635,
0.02229989506304264,
-0.039636727422475815,
-0.00929814763367176,
0.008926562033593655,
-0.058222487568855286,
-0.029185790568590164,
-0.010507912375032902,
-0.00836959108710289,
0.04017089307308197,
-0.065058134496212,
0.04074287414550781,
0.02944929525256157,
-0.017986543476581573,
-0.05170498415827751,
-0.07984351366758347,
-0.026913493871688843,
-0.03202966973185539,
0.01778269372880459,
0.006093876902014017,
-0.019121574237942696,
0.010419267229735851,
-0.03995485603809357,
-0.049344975501298904,
0.021385889500379562,
0.022947292774915695,
-0.06439737230539322,
0.07994038611650467,
0.04194808006286621,
-0.04569923132658005,
-0.008514374494552612,
0.03814435005187988,
-0.02209179848432541,
0.02901051938533783,
0.025626912713050842,
-0.0020713999401777983,
0.025028403848409653,
0.054610829800367355,
-0.034260690212249756,
-0.023220539093017578,
-0.0630248636007309,
-0.05007941275835037,
-0.012863334268331528,
0.014788250438869,
0.06611169129610062
] |
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 | null | ---
language: dutch
license: mit
widget:
- text: "de [MASK] vau Financien, in hec vorige jaar, da inkomswi"
---
# Language Model for Historic Dutch
In this repository we open source a language model for Historic Dutch, trained on the
[Delpher Corpus](https://www.delpher.nl/over-delpher/delpher-open-krantenarchief/download-teksten-kranten-1618-1879\),
that include digitized texts from Dutch newspapers, ranging from 1618 to 1879.
# Changelog
* 13.12.2021: Initial version of this repository.
# Model Zoo
The following models for Historic Dutch are available on the Hugging Face Model Hub:
| Model identifier | Model Hub link
| -------------------------------------- | -------------------------------------------------------------------
| `dbmdz/bert-base-historic-dutch-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-dutch-cased)
# Stats
The download urls for all archives can be found [here](delpher-corpus.urls).
We then used the awesome `alto-tools` from [this](https://github.com/cneud/alto-tools)
repository to extract plain text. The following table shows the size overview per year range:
| Period | Extracted plain text size
| --------- | -------------------------:
| 1618-1699 | 170MB
| 1700-1709 | 103MB
| 1710-1719 | 65MB
| 1720-1729 | 137MB
| 1730-1739 | 144MB
| 1740-1749 | 188MB
| 1750-1759 | 171MB
| 1760-1769 | 235MB
| 1770-1779 | 271MB
| 1780-1789 | 414MB
| 1790-1799 | 614MB
| 1800-1809 | 734MB
| 1810-1819 | 807MB
| 1820-1829 | 987MB
| 1830-1839 | 1.7GB
| 1840-1849 | 2.2GB
| 1850-1854 | 1.3GB
| 1855-1859 | 1.7GB
| 1860-1864 | 2.0GB
| 1865-1869 | 2.3GB
| 1870-1874 | 1.9GB
| 1875-1876 | 867MB
| 1877-1879 | 1.9GB
The total training corpus consists of 427,181,269 sentences and 3,509,581,683 tokens (counted via `wc`),
resulting in a total corpus size of 21GB.
The following figure shows an overview of the number of chars per year distribution:

# Language Model Pretraining
We use the official [BERT](https://github.com/google-research/bert) implementation using the following command
to train the model:
```bash
python3 run_pretraining.py --input_file gs://delpher-bert/tfrecords/*.tfrecord \
--output_dir gs://delpher-bert/bert-base-historic-dutch-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
We train the model for 3M steps using a total batch size of 128 on a v3-32 TPU. The pretraining loss curve can be seen
in the next figure:

# Evaluation
We evaluate our model on the preprocessed Europeana NER dataset for Dutch, that was presented in the
["Data Centric Domain Adaptation for Historical Text with OCR Errors"](https://github.com/stefan-it/historic-domain-adaptation-icdar) paper.
The data is available in their repository. We perform a hyper-parameter search for:
* Batch sizes: `[4, 8]`
* Learning rates: `[3e-5, 5e-5]`
* Number of epochs: `[5, 10]`
and report averaged F1-Score over 5 runs with different seeds. We also include [hmBERT](https://github.com/stefan-it/clef-hipe/blob/main/hlms.md) as baseline model.
Results:
| Model | F1-Score (Dev / Test)
| ------------------- | ---------------------
| hmBERT | (82.73) / 81.34
| Maerz et al. (2021) | - / 84.2
| Ours | (89.73) / 87.45
# License
All models are licensed under [MIT](LICENSE).
# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
We thank [Clemens Neudecker](https://github.com/cneud) for maintaining the amazing
[ALTO tools](https://github.com/cneud/alto-tools) that were used for parsing the Delpher Corpus XML files.
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.008975906297564507,
-0.03965383768081665,
-0.010215312242507935,
0.0418052040040493,
0.03501269966363907,
-0.004330374300479889,
-0.007401054259389639,
-0.027598166838288307,
-0.03716908022761345,
0.05726039037108421,
0.003995109349489212,
-0.023164741694927216,
-0.0031770067289471626,
0.040618978440761566,
-0.029526913538575172,
0.022261476144194603,
-0.004391143564134836,
0.013804924674332142,
-0.057994596660137177,
-0.001446415320970118,
-0.01259693969041109,
0.014933263882994652,
-0.02777174860239029,
0.03142927214503288,
0.0230791624635458,
0.023767460137605667,
0.018824808299541473,
0.05607018619775772,
0.030166739597916603,
-0.061842139810323715,
-0.029453754425048828,
-0.07338173687458038,
-0.01616658642888069,
-0.04001897946000099,
-0.010117469355463982,
-0.011652180925011635,
0.03000560961663723,
0.016322214156389236,
0.04190164804458618,
0.05312925949692726,
-0.022734956815838814,
0.0016876001609489322,
-0.0024204179644584656,
-0.034586597234010696,
0.06608538329601288,
0.017672350630164146,
-0.09073005616664886,
-0.040373075753450394,
0.042695801705121994,
-0.025107387453317642,
-0.04583559185266495,
-0.08001654595136642,
-0.023876545950770378,
0.017838289961218834,
0.00144122913479805,
-0.014860672876238823,
-0.05478939041495323,
0.018630526959896088,
0.08575179427862167,
-0.030117148533463478,
-0.030290061607956886,
0.021175827831029892,
-0.062483880668878555,
0.02381286397576332,
0.04454050213098526,
-0.03240162506699562,
0.0012798981042578816,
-0.02776469849050045,
0.041271910071372986,
-0.018541863188147545,
0.032342154532670975,
-0.03820951655507088,
0.017748240381479263,
-0.05420165881514549,
-0.017251089215278625,
-0.03071909211575985,
0.036972712725400925,
0.0484112910926342,
-0.03195730969309807,
0.06168472766876221,
0.02099504880607128,
-0.012961788102984428,
0.022773105651140213,
-0.016831763088703156,
-0.008372445590794086,
0.05643089488148689,
-0.03423191234469414,
0.0262179896235466,
0.014993533492088318,
0.04457475244998932,
-0.04871556907892227,
-0.014970002695918083,
-0.04477115347981453,
-0.037747886031866074,
0.0009898162679746747,
0.030126817524433136,
0.011436544358730316,
-0.02441180683672428,
0.02398531883955002,
0.03261043503880501,
0.016112711280584335,
0.06462086737155914,
-0.03595123440027237,
0.060096316039562225,
-0.011475276201963425,
-0.004938498139381409,
-0.04377979785203934,
-0.03416911140084267,
-0.046364303678274155,
0.011725571006536484,
0.014953147619962692,
-0.05960983783006668,
-0.03909161686897278,
0.0639066994190216,
0.02366810292005539,
-0.030279304832220078,
0.04962129518389702,
-0.023192886263132095,
-0.04949630796909332,
-0.06937526911497116,
-0.00013095994654577225,
0.01835969276726246,
-0.026258235797286034,
-0.0008820125949569046,
-0.05328144505620003,
0.014912529848515987,
-0.025927724316716194,
-0.007372721564024687,
0.0208636112511158,
0.0025046365335583687,
-0.026101766154170036,
0.0365515761077404,
0.013944096863269806,
-0.06078321859240532,
-0.00572571624070406,
0.005408471450209618,
-0.036798153072595596,
0.02336849831044674,
0.042593203485012054,
0.12272846698760986,
-0.03802873566746712,
-0.014232159592211246,
0.00006422692240448669,
-0.0027506013866513968,
-0.040439799427986145,
0.010675016790628433,
0.033619608730077744,
-0.011405862867832184,
-0.000020666220734710805,
-0.014191756956279278,
0.038491882383823395,
-0.06866190582513809,
0.004844293929636478,
0.041109368205070496,
-0.027473783120512962,
0.019173363223671913,
-0.04734800010919571,
-0.0008570470963604748,
-0.01954483799636364,
-0.02298634871840477,
-0.017634332180023193,
0.04016082361340523,
0.0026497584767639637,
-0.021195990964770317,
-0.038650717586278915,
-0.045145973563194275,
-0.025244472548365593,
0.06286226212978363,
-0.015718156471848488,
-0.027450691908597946,
-0.054781075567007065,
0.002427728846669197,
0.06151290610432625,
0.02723570168018341,
-0.05524539202451706,
0.028827348724007607,
0.015430595725774765,
0.023711929097771645,
-0.03767678141593933,
0.06118065491318703,
-0.008307035081088543,
0.018232915550470352,
-0.0433640331029892,
0.037190984934568405,
0.025431688874959946,
-0.03875642269849777,
0.030356066301465034,
0.037641607224941254,
0.018439743667840958,
-0.02049858123064041,
-0.030777590349316597,
0.03555760532617569,
-0.028993738815188408,
-0.018111873418092728,
0.025974130257964134,
0.007600169163197279,
-0.034253451973199844,
0.025729520246386528,
-0.020993322134017944,
0.0025815689004957676,
-0.025689199566841125,
-0.020148051902651787,
0.0019572991877794266,
0.03642242029309273,
0.041905757039785385,
0.025625621899962425,
-0.005933105014264584,
0.07706877589225769,
-0.04978935793042183,
-0.005010244902223349,
-0.034855641424655914,
-0.05680549517273903,
-0.013352672569453716,
0.020469216629862785,
0.032617345452308655,
0.040595293045043945,
-0.030796106904745102,
-0.07559429109096527,
0.017443804070353508,
0.07327894121408463,
0.03191929683089256,
0.0457758903503418,
-0.02463657595217228,
0.004860301036387682,
0.04245496168732643,
0.03625103086233139,
-0.050750162452459335,
-0.04520449414849281,
-0.0065361508168280125,
0.06760843098163605,
-0.019302723929286003,
0.016082782298326492,
-0.038756947964429855,
0.01933443918824196,
-0.035646479576826096,
-0.0665600374341011,
0.0518125481903553,
0.023182960227131844,
-0.006330315954983234,
0.011744070798158646,
-0.02433106116950512,
0.02373029664158821,
0.011435841210186481,
0.004825443495064974,
0.018112512305378914,
-0.04318796098232269,
0.015724562108516693,
0.004242888186126947,
0.06633185595273972,
-0.04244643449783325,
0.03121987357735634,
-0.014411025680601597,
0.006488554645329714,
0.04038120433688164,
-0.02354290895164013,
0.019532982259988785,
0.05894581973552704,
0.018889624625444412,
-0.043606553226709366,
0.04085427522659302,
0.0032416253816336393,
0.03808971494436264,
0.03956330940127373,
0.013494648039340973,
0.06839821487665176,
0.02767666056752205,
0.05129053443670273,
0.08002695441246033,
0.013537292368710041,
0.006776629947125912,
0.015604209154844284,
0.05903874710202217,
-0.004000406246632338,
-0.015344430692493916,
0.07555138319730759,
-0.03757605329155922,
0.03488295152783394,
-0.028603846207261086,
0.012113487347960472,
-0.0052604698576033115,
-0.006478178780525923,
0.0035685140173882246,
0.011353744193911552,
-0.017252163961529732,
0.005609980784356594,
-0.0160421933978796,
0.003428213531151414,
0.05269160494208336,
-0.018688147887587547,
0.012650936841964722,
-0.024733616039156914,
-0.05644315481185913,
0.020572541281580925,
-0.05965527892112732,
-0.03769800439476967,
0.0044471886940300465,
-0.034298669546842575,
-0.007820327766239643,
-0.08917314559221268,
-0.021888775750994682,
-0.08797749131917953,
-0.00737304612994194,
0.04846750199794769,
0.02003873512148857,
-0.023531466722488403,
-0.04111606255173683,
-0.02017178386449814,
-0.01416429691016674,
-0.008673686534166336,
-0.034023936837911606,
-0.04404576122760773,
-0.03519250825047493,
-0.06737282127141953,
0.05299510061740875,
0.05365420877933502,
0.03215954825282097,
-0.02379447966814041,
0.018287980929017067,
-0.037020087242126465,
-0.024547893553972244,
0.025060975924134254,
0.025301465764641762,
-0.044070664793252945,
-0.03531394153833389,
0.01671730726957321,
-0.012962082400918007,
0.022714532911777496,
0.014066009782254696,
-0.02409638836979866,
0.05333497002720833,
0.06631560623645782,
0.02965715527534485,
0.01683628186583519,
0.020700205117464066,
-0.050105951726436615,
-0.07369601726531982,
-0.018674932420253754,
-0.02700987085700035,
-0.01972213201224804,
-0.04666623845696449,
-0.06031368672847748,
-0.023316919803619385,
-0.021071583032608032,
0.015404531732201576,
0.0015576297882944345,
-0.020008333027362823,
0.0017422763630747795,
0.018546169623732567,
0.03193291649222374,
0.037305835634469986,
-0.03865719586610794,
-0.02646781876683235,
0.09830641746520996,
0.02842831239104271,
0.010455144569277763,
-0.06137140095233917,
-0.06652826070785522,
0.03764249011874199,
0.06876823306083679,
0.01451432891190052,
-0.0016227560117840767,
0.07720986753702164,
0.04040181264281273,
0.00803513452410698,
-0.002612602198496461,
0.0010827920632436872,
-0.05715535953640938,
-0.003006567247211933,
0.010010048747062683,
-0.02958148717880249,
-0.04477249085903168,
-0.017314180731773376,
0.005969441961497068,
0.04052993282675743,
-0.06300549954175949,
-0.04276742413640022,
-0.03127061575651169,
0.024196486920118332,
0.029224039986729622,
-0.004603216424584389,
-0.04801703989505768,
0.010428202338516712,
-0.05815767124295235,
-0.029546717181801796,
0.009944593533873558,
0.020580893382430077,
0.042417626827955246,
0.03895850107073784,
0.05168936029076576,
-0.02743391878902912,
0.03200243040919304,
0.0367969274520874,
0.06953258812427521,
0.03659530356526375,
-0.0428101047873497,
0.017653359100222588,
-0.039794355630874634,
0.010993300937116146,
0.01543954573571682,
-0.03280634433031082,
-0.0560707189142704,
-0.0515996478497982,
-0.004828369244933128,
0.02521352283656597,
0.009072713553905487,
0.003826633794233203,
0.06078053265810013,
-0.027659578248858452,
-0.014306364580988884,
0.019153647124767303,
-0.002136246068403125,
0.02729867398738861,
-0.06416425853967667,
0.06478211283683777,
0.0010290439240634441,
0.014038223773241043,
-0.05631154030561447,
0.02549085207283497,
-0.061473604291677475,
-0.03148233890533447,
0.023418091237545013,
0.0906405821442604,
0.020936015993356705,
0.022064121440052986,
0.05224074423313141,
0.03490014001727104,
-0.03611038997769356,
0.05143527686595917,
0.04155734181404114,
0.01802784949541092,
-0.03056936152279377,
0.008340537548065186,
0.0013406135840341449,
-0.028392206877470016,
-0.02690720185637474,
-0.02075749635696411,
0.014631382189691067,
0.014566582627594471,
0.010776398703455925,
0.002357987454161048,
0.0066750929690897465,
-0.013961553573608398,
-0.004179640207439661,
-0.05787113308906555,
-0.009449634701013565,
-0.01703793741762638,
-0.03020559437572956,
0.02882731705904007,
0.036426205188035965,
-0.005723035428673029,
0.0630684420466423,
0.01393778994679451,
-0.04079188406467438,
-0.014885674230754375,
0.015507429838180542,
0.04167350009083748,
-0.04539105296134949,
-0.04462603107094765,
-0.04647303745150566,
0.054646167904138565,
0.04387573152780533,
0.05294204503297806,
-0.08244091272354126,
0.014001429080963135,
0.04960702732205391,
-0.07410582900047302,
0.0361006073653698,
-0.006935437675565481,
0.05983932688832283,
0.06308038532733917,
-0.01575799286365509,
0.019858360290527344,
-0.03371962159872055,
0.003420213470235467,
0.00420176750048995,
0.04162329435348511,
-0.0763130635023117,
-0.027315154671669006,
-0.039139702916145325,
0.025960803031921387,
0.026223385706543922,
0.02367229014635086,
0.020332887768745422,
-0.04816480726003647,
-0.028720924630761147,
0.03404062241315842,
0.02568609081208706,
-0.0686686709523201,
0.04111521691083908,
0.012461395002901554,
0.05042219161987305,
-0.05220703408122063,
-0.034869082272052765,
-0.01485428586602211,
0.012529895640909672,
0.05125487223267555,
-0.005769734736531973,
-0.05254678055644035,
-0.0546891875565052,
0.026043254882097244,
-0.03698674961924553,
-0.027862289920449257,
-0.0995974987745285,
0.001304941950365901,
-0.0016796462005004287,
-0.03981223329901695,
0.043015915900468826,
0.028639283031225204,
0.007374027743935585,
0.03754914551973343,
-0.022799471393227577,
0.0020506801083683968,
-0.03279278427362442,
0.022733129560947418,
-0.058683183044195175,
-0.024276908487081528,
0.0036235929001122713,
-0.03144087642431259,
-0.016252493485808372,
-0.050555694848299026,
-0.05550412833690643,
-0.019106490537524223,
-0.017762428149580956,
0.030285652726888657,
-0.010995746590197086,
-0.02710794284939766,
-0.027410486713051796,
0.047247983515262604,
-0.011135983280837536,
-0.005979236681014299,
-0.034471191465854645,
-0.03452032804489136,
-0.04951465129852295,
-0.03156830370426178,
0.02727726846933365,
0.005081947427242994,
0.021099001169204712,
0.007029710337519646,
-0.006372263189405203,
0.008683847263455391,
0.001429092139005661,
-0.024793880060315132,
0.010496094822883606,
0.004037945065647364,
-0.07106882333755493,
-0.03271353989839554,
0.01325981691479683,
0.02464734949171543,
0.03648986667394638,
-0.03580079227685928,
0.0436084009706974,
0.011224506422877312,
-0.02887364849448204,
-0.013355184346437454,
0.005903456825762987,
0.04849276319146156,
-0.06837713718414307,
-0.05197511985898018,
-0.008182534016668797,
-0.00600204523652792,
0.043274592608213425,
-0.022801870480179787,
-0.011557919904589653,
0.0580575093626976,
0.04216165468096733,
0.03828469663858414,
0.00047871307469904423,
-0.040326204150915146,
0.039102520793676376,
-0.025241611525416374,
0.01748174987733364,
-0.0615948922932148,
0.040659382939338684,
-0.038815323263406754,
0.025585947558283806,
-0.014513760805130005,
-0.024906815961003304,
-0.03410140052437782,
0.032529447227716446,
-0.032150305807590485,
-0.002947489731013775,
-0.0033584905322641134,
0.025620978325605392,
-0.017080601304769516,
0.0027161347679793835,
-0.019863812252879143,
0.038766197860240936,
0.009639513678848743,
0.0647464394569397,
-0.04748901352286339,
-0.011097406037151814,
-0.03627600893378258,
-0.0033706175163388252,
-0.037442028522491455,
-0.022664157673716545,
0.007007382344454527,
-0.013399170711636543,
0.01935494877398014,
0.036380890756845474,
0.024481341242790222,
-0.005786944180727005,
-0.006769855506718159,
-0.012018539942800999,
0.038862574845552444,
-0.04204227030277252,
-0.0015626478707417846,
0.009125038050115108,
-0.012731089256703854,
-0.013183282688260078,
0.05822819471359253,
0.03300438076257706,
-0.05109952762722969,
-0.06682882457971573,
0.04380503669381142,
0.011144299991428852,
-0.019942648708820343,
-0.013800674118101597,
0.03657756373286247,
0.003025584854185581,
0.042245808988809586,
-0.02701067551970482,
0.007898231968283653,
-0.008459116332232952,
-0.03634602203965187,
0.012350120581686497,
0.0006510622333735228,
0.023704005405306816,
0.008915078826248646,
-0.01695398800075054,
-0.04001544788479805,
0.06799747794866562,
-0.016129817813634872,
0.015825308859348297,
-0.014261513017117977,
-0.020180799067020416,
0.012451371178030968,
0.01574965938925743,
-0.04855090752243996,
0.004936638288199902,
0.031548213213682175,
-0.010772173292934895,
0.08811333030462265,
0.0058142198249697685,
0.030500667169690132,
0.0580570325255394,
0.016318591311573982,
-0.024117015302181244,
0.03359441086649895,
-0.028051212430000305,
0.014409815892577171,
0.0526396781206131,
-0.05005691573023796,
-0.013043428771197796,
-0.034422677010297775,
0.07100637257099152,
-0.084984190762043,
0.04609566554427147,
0.026791727170348167,
-0.0036945375613868237,
0.036523908376693726,
-0.04516826942563057,
-0.00038578128442168236,
0.017010154202580452,
-0.036777134984731674,
0.07606946676969528,
0.025131162256002426,
-0.06079288199543953,
0.04962138086557388,
0.01016128808259964,
-0.05345622077584267,
0.022122595459222794,
0.03274925798177719,
0.0034032652620226145,
0.002289044437929988,
0.005384502932429314,
-0.029450975358486176,
-0.006208157632499933,
-0.056045059114694595,
0.03695639595389366,
-0.04639974981546402,
-0.006157137453556061,
0.028316086158156395,
-0.02587790973484516,
-0.042745862156152725,
0.029883382841944695,
-0.02124582789838314,
-0.0000247885564021999,
0.02097092568874359,
-0.0357944630086422,
-0.04053344205021858,
0.0029295559506863356,
0.03341038152575493,
-0.06222807243466377,
0.007134369108825922,
-0.06506545841693878,
-0.01067305076867342,
-0.007666083984076977,
-0.009565191343426704,
-0.03660212829709053,
-0.017415761947631836,
0.031916674226522446,
-0.05468922480940819,
-0.0417369082570076,
0.031032461673021317,
-0.01258481852710247,
-0.031749427318573,
0.019235054031014442,
-0.0023205559700727463,
0.004989245440810919,
0.046090032905340195,
-0.008185048587620258,
0.012775077484548092,
-0.03706889599561691,
-0.02676551416516304,
0.0015535169513896108,
0.008482320234179497,
0.019282465800642967,
-0.007768125273287296,
0.03686288744211197,
0.04084270820021629,
0.0385139025747776,
0.009621155448257923,
-0.025082577019929886,
-0.027827870100736618,
0.04482676088809967,
-0.0574834980070591,
0.005801935214549303,
-0.0052004167810082436,
-0.0246854480355978,
-0.03755847364664078,
-0.006487021688371897,
-0.04041153937578201,
0.03419909626245499,
-0.045001208782196045,
0.012719698250293732,
0.03446607291698456,
-0.007627410814166069,
-0.0373387411236763,
-0.09702152013778687,
-0.011174389161169529,
-0.03623893857002258,
0.021765390411019325,
0.034868206828832626,
-0.02812359295785427,
0.03582437336444855,
-0.03702842816710472,
-0.04523235559463501,
0.017269698902964592,
0.02575572393834591,
-0.06539445370435715,
0.05338514596223831,
0.023475367575883865,
-0.04131988063454628,
-0.01493066269904375,
0.011919896118342876,
-0.03584896773099899,
0.02363290823996067,
0.007687225006520748,
0.000029352293495321646,
-0.005667749792337418,
0.04199221730232239,
-0.02925601787865162,
-0.03455769270658493,
-0.07124605774879456,
-0.08183629810810089,
-0.02615818940103054,
0.031110700219869614,
0.0686548501253128
] |
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 | null | ---
language: english
license: mit
widget:
- text: "and I cannot conceive the reafon why [MASK] hath"
---
# Historic Language Models (HLMs)
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Models
At the moment, the following models are available on the model hub:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
| `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased)
| `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased)
| `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Pretraining
## Multilingual model
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

## English model
The English BERT model - with texts from British Library corpus - was trained with the Hugging Face
JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-historic-english-cased/ \
--tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \
--train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \
--validation_file /mnt/datasets/bl-corpus/english_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 10 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Finnish model
The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \
--validation_file /mnt/datasets/hlms/finnish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Swedish model
The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \
--validation_file /mnt/datasets/hlms/swedish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.04799995571374893,
-0.020571138709783554,
-0.01369512639939785,
0.05210874602198601,
0.05512312799692154,
0.020314505323767662,
-0.041273120790719986,
-0.007710196077823639,
-0.06414743512868881,
0.0491548627614975,
0.01351339090615511,
-0.03449983894824982,
0.016584446653723717,
0.0549139566719532,
-0.0009912493405863643,
-0.012393965385854244,
-0.01292926911264658,
-0.004395968280732632,
-0.04790274798870087,
-0.0002645068452693522,
0.00164085254073143,
-0.0031508307438343763,
-0.003733254736289382,
0.03484926000237465,
0.006063565146178007,
0.02530764602124691,
0.009596958756446838,
0.04886592924594879,
0.006650062743574381,
-0.0761030912399292,
-0.02324695698916912,
-0.04454134777188301,
-0.030937526375055313,
-0.04077275097370148,
-0.015098950825631618,
-0.0027696730103343725,
0.0030323320534080267,
0.03457707166671753,
0.04343578964471817,
0.06784716248512268,
-0.02809843420982361,
0.0013048154069110751,
-0.022982066497206688,
-0.014696271158754826,
0.045762233436107635,
0.032083675265312195,
-0.0504399798810482,
-0.01763349585235119,
0.06971421837806702,
-0.009824675507843494,
-0.03319007530808449,
-0.059995852410793304,
-0.0033538665156811476,
0.018540911376476288,
-0.0025560883805155754,
-0.008599269203841686,
-0.07424182444810867,
0.043092966079711914,
0.04810737818479538,
-0.045489512383937836,
-0.04642331600189209,
-0.013402332551777363,
-0.08720766752958298,
0.013651319779455662,
0.056670140475034714,
-0.04483223333954811,
0.021066511049866676,
-0.04279642552137375,
0.04060479998588562,
0.0010551080340519547,
0.032058581709861755,
-0.06057344004511833,
0.03224831447005272,
-0.06086635962128639,
-0.0011034293565899134,
-0.025209661573171616,
0.025117436423897743,
0.058926988393068314,
-0.05672617629170418,
0.05112162232398987,
0.014002681709825993,
-0.0072917877696454525,
0.03219705447554588,
-0.019974535331130028,
-0.0068634022027254105,
0.035003695636987686,
-0.0649758130311966,
-0.005523377563804388,
0.020099857822060585,
0.05908928066492081,
-0.05189581960439682,
-0.025544339790940285,
-0.0038082231767475605,
-0.006480223033577204,
-0.01143338717520237,
0.01120801828801632,
0.016975037753582,
-0.01729620061814785,
0.035089414566755295,
0.055904850363731384,
0.022489897906780243,
0.04804869368672371,
-0.005479360464960337,
0.06367237865924835,
-0.021261543035507202,
0.004107356071472168,
-0.01275884173810482,
-0.042829543352127075,
-0.06098422780632973,
-0.006090090144425631,
0.01797403208911419,
-0.05442098155617714,
-0.022634314373135567,
0.031429972499608994,
0.04320394620299339,
-0.03159600496292114,
0.055001210421323776,
-0.0281816478818655,
-0.058411769568920135,
-0.06433826684951782,
0.005939844995737076,
-0.023390458896756172,
-0.021207841113209724,
0.026724716648459435,
-0.06603454798460007,
0.029733937233686447,
-0.04704497382044792,
-0.01596449315547943,
0.005520426668226719,
0.00012441808939911425,
-0.038842666894197464,
0.025664828717708588,
0.031233418732881546,
-0.059623658657073975,
0.00694024283438921,
-0.005407853052020073,
-0.04918121173977852,
-0.005374888423830271,
0.008601974695920944,
0.12428264319896698,
-0.024246124550700188,
-0.05070124566555023,
-0.029787998646497726,
0.0016941350186243653,
-0.05717329680919647,
0.014081398956477642,
0.012726510874927044,
0.003460694570094347,
0.009300238452851772,
0.0011770654236897826,
0.029525427147746086,
-0.06055378168821335,
0.011087979190051556,
0.06861583143472672,
-0.00312322610989213,
0.01324561145156622,
-0.06905269622802734,
-0.0020181930158287287,
-0.023945556953549385,
-0.03004203364253044,
-0.00726850563660264,
0.02518702857196331,
-0.0082186134532094,
-0.01788269355893135,
-0.047320425510406494,
-0.045306578278541565,
-0.008850342594087124,
0.05656426399946213,
0.003743331413716078,
-0.006697851698845625,
-0.0484607107937336,
0.0016765570035204291,
0.014568141661584377,
0.008934610523283482,
-0.042885035276412964,
0.033529043197631836,
0.027967292815446854,
0.012500450015068054,
-0.032667599618434906,
0.06714136153459549,
0.0005239964229986072,
-0.0368938222527504,
-0.03525051847100258,
0.03421609848737717,
-0.014445771463215351,
-0.03137875720858574,
0.046364981681108475,
0.04512994736433029,
0.002283866750076413,
-0.019554339349269867,
-0.012327221222221851,
0.04732007160782814,
0.02406150847673416,
0.006080551538616419,
0.0399322509765625,
-0.01847374066710472,
-0.04170100390911102,
0.020273694768548012,
-0.012422962114214897,
0.013287816196680069,
-0.01595308445394039,
-0.01425000000745058,
0.033833082765340805,
0.01915522664785385,
0.03799891471862793,
0.02796950750052929,
-0.0029789700638502836,
0.10693474858999252,
-0.028754061087965965,
-0.006302285939455032,
-0.038047365844249725,
-0.061134178191423416,
-0.00037780366255901754,
0.05461210384964943,
0.0324343666434288,
0.01712854765355587,
-0.04535699263215065,
-0.02217305824160576,
0.026890160515904427,
0.08973925560712814,
0.040393415838479996,
0.00561995804309845,
-0.04792116582393646,
-0.009443513117730618,
0.026890693232417107,
0.04015478491783142,
-0.04832773655653,
-0.05228211730718613,
-0.011520865373313427,
0.014785032719373703,
-0.048620469868183136,
0.016815785318613052,
-0.008359475061297417,
0.025562860071659088,
-0.030371161177754402,
-0.09089046716690063,
0.02982550859451294,
0.01946069672703743,
0.0034207599237561226,
0.0349062941968441,
-0.015307738445699215,
0.04056840389966965,
-0.0011723024072125554,
-0.005805574357509613,
0.0073273819871246815,
-0.05042247101664543,
0.004316802602261305,
0.007522096391767263,
0.05977220833301544,
-0.026936540380120277,
0.018661031499505043,
-0.017202813178300858,
0.006786388345062733,
0.05333760753273964,
-0.020689707249403,
0.029355360195040703,
0.05243601277470589,
-0.00431002676486969,
-0.035657986998558044,
0.0336623415350914,
0.006508318707346916,
0.03603272885084152,
0.034878406673669815,
0.009605984203517437,
0.06049641594290733,
0.01721205748617649,
0.029331369325518608,
0.08809379488229752,
0.01843501254916191,
0.0033127679489552975,
-0.009398347698152065,
0.04908031225204468,
0.031897395849227905,
-0.026206109672784805,
0.06525374948978424,
-0.045653440058231354,
0.02226286567747593,
-0.03279469907283783,
0.037151038646698,
0.0010372704127803445,
-0.0021225069649517536,
0.0065326509065926075,
0.006638600490987301,
-0.028022421523928642,
0.01680171489715576,
-0.015894867479801178,
-0.008957126177847385,
0.06629227846860886,
0.011374387890100479,
0.011551408097147942,
-0.03711242601275444,
-0.030052298679947853,
0.01627199724316597,
-0.061944447457790375,
-0.04175426810979843,
0.024037908762693405,
-0.009600394405424595,
0.0014027967117726803,
-0.05845354124903679,
-0.007639182731509209,
-0.04726465791463852,
0.003010235959663987,
0.02604302577674389,
0.02131125144660473,
-0.0017799263587221503,
-0.02259879745543003,
0.0010661978740245104,
-0.03623249754309654,
-0.03244689851999283,
-0.03621220216155052,
-0.033833421766757965,
-0.027410198003053665,
-0.08109059184789658,
0.04298408702015877,
0.025964342057704926,
0.016354018822312355,
-0.016757488250732422,
0.01153847947716713,
-0.023533448576927185,
-0.004858735483139753,
0.028574084863066673,
0.044329650700092316,
-0.04244813695549965,
-0.07026948034763336,
0.03271792456507683,
0.010909255594015121,
0.003821501974016428,
0.016209296882152557,
-0.010287509299814701,
0.07841267436742783,
0.09451263397932053,
0.008759436197578907,
0.043604642152786255,
0.027168691158294678,
-0.02608097344636917,
-0.033366259187459946,
0.006299400702118874,
-0.0358942486345768,
-0.02239026315510273,
-0.0018503429600968957,
-0.02432393468916416,
-0.014095926657319069,
-0.038905005902051926,
0.012863478623330593,
-0.005213375203311443,
-0.004242157097905874,
0.026505770161747932,
0.02145073190331459,
0.0279542226344347,
0.02159063331782818,
-0.04891473799943924,
-0.03642472252249718,
0.09024348109960556,
-0.000278948136838153,
0.019543981179594994,
-0.05070388317108154,
-0.030005695298314095,
0.019320236518979073,
0.0389857180416584,
0.01898377016186714,
-0.016632575541734695,
0.08992522209882736,
0.023494772613048553,
-0.027314646169543266,
-0.0035013293381780386,
-0.005383065436035395,
-0.023912956938147545,
0.007110332138836384,
0.0252876915037632,
-0.021085960790514946,
-0.04337126389145851,
-0.026353493332862854,
0.016827445477247238,
0.04773551598191261,
-0.07496185600757599,
-0.058713044971227646,
-0.010189423337578773,
0.0202358178794384,
0.03630046173930168,
-0.021119866520166397,
-0.042041558772325516,
0.03167571499943733,
-0.050079017877578735,
-0.030815348029136658,
-0.0017096840310841799,
0.010530252009630203,
0.0272003673017025,
0.017588350921869278,
0.06882084906101227,
-0.024795830249786377,
0.0134619465097785,
0.006326682399958372,
0.025079956278204918,
0.018447302281856537,
-0.06796315312385559,
0.025646520778536797,
0.0006408258923329413,
0.008648566901683807,
-0.015866180881857872,
-0.02922091819345951,
-0.0926503837108612,
-0.09119703620672226,
0.02273005060851574,
0.02774328738451004,
-0.03433412313461304,
0.010038954205811024,
0.027559325098991394,
-0.0037068056408315897,
0.00915529765188694,
-0.02887282893061638,
0.016933366656303406,
0.02953569032251835,
-0.06707892566919327,
0.03917885944247246,
-0.002907020039856434,
-0.005205683875828981,
-0.05837412178516388,
0.03232882544398308,
-0.036731794476509094,
-0.03205936774611473,
-0.009437019005417824,
0.045626673847436905,
0.034716904163360596,
0.03997490182518959,
0.05263828486204147,
0.028485385701060295,
-0.04035034403204918,
0.051438018679618835,
0.03391942381858826,
0.019656799733638763,
-0.02536453679203987,
0.017346186563372612,
-0.018024582415819168,
-0.023997006937861443,
-0.00831702258437872,
-0.014272165484726429,
0.03396672010421753,
0.005088157020509243,
0.005429479293525219,
-0.00465746596455574,
0.006607223767787218,
-0.023257611319422722,
-0.037435390055179596,
-0.059339236468076706,
-0.022971773520112038,
-0.0035826265811920166,
-0.024695783853530884,
0.03727654740214348,
0.04266475513577461,
0.010700169019401073,
0.054187409579753876,
-0.0004782291071023792,
-0.01862553507089615,
-0.03205474093556404,
0.022526821121573448,
0.012233526445925236,
-0.04388783872127533,
-0.05830303207039833,
-0.04244604334235191,
0.05533376336097717,
0.05314496159553528,
0.031794626265764236,
-0.0727144405245781,
0.012368092313408852,
0.054797206073999405,
-0.003688700729981065,
0.03622252121567726,
-0.02056838572025299,
0.05263761058449745,
0.04573080688714981,
-0.022648552432656288,
-0.013244650326669216,
-0.009245647117495537,
0.011557193472981453,
0.011008315719664097,
0.03249442204833031,
-0.03004315495491028,
-0.03186224400997162,
-0.05436476320028305,
0.017161300405859947,
0.018845003098249435,
0.055837731808423996,
0.019313786178827286,
-0.02631618268787861,
-0.06825216859579086,
0.009932423010468483,
0.044500306248664856,
-0.08022566884756088,
0.02003614231944084,
0.004349633120000362,
0.03822679817676544,
-0.06463003158569336,
-0.0344102568924427,
-0.008100555278360844,
-0.014953253790736198,
0.044682249426841736,
0.001546218991279602,
-0.01952294073998928,
-0.06606920808553696,
-0.017839616164565086,
-0.005273846443742514,
-0.012783531099557877,
-0.09974214434623718,
0.029061373323202133,
-0.032783474773168564,
-0.02392968349158764,
0.04265175014734268,
0.04079628363251686,
0.036146774888038635,
0.053467098623514175,
-0.017829513177275658,
-0.015005293302237988,
-0.042582593858242035,
0.03436904028058052,
-0.03538887947797775,
-0.004343731794506311,
0.004968960303813219,
-0.05569695308804512,
-0.01849808171391487,
-0.015485364943742752,
-0.04029539227485657,
-0.045162416994571686,
-0.03112124837934971,
0.034552764147520065,
0.013031437061727047,
0.0034112657885998487,
-0.025482818484306335,
0.04612865671515465,
-0.005092271137982607,
-0.02751634642481804,
-0.041596055030822754,
-0.048844847828149796,
-0.08110109716653824,
-0.04390280693769455,
0.017652155831456184,
-0.0043000588193535805,
0.047737546265125275,
0.0039336420595645905,
0.006454933900386095,
0.01820577122271061,
-0.005374203436076641,
-0.025176484137773514,
0.02153465524315834,
0.006965837441384792,
-0.0759194940328598,
-0.010663890279829502,
-0.00452192360535264,
0.021878886967897415,
0.051349904388189316,
-0.049548469483852386,
0.03785238042473793,
0.01118408516049385,
-0.0146290622651577,
-0.014389480464160442,
0.0227184034883976,
0.02106318436563015,
-0.085500068962574,
-0.06126490980386734,
0.01247966755181551,
-0.048831433057785034,
0.027676014229655266,
-0.03588436543941498,
0.002396447816863656,
0.05989622324705124,
0.03823159262537956,
0.043417636305093765,
0.022196045145392418,
-0.03776128217577934,
0.01838400959968567,
0.015150630846619606,
0.040329866111278534,
-0.06390935182571411,
0.024447239935398102,
-0.026166517287492752,
0.014116509817540646,
-0.0008797846967354417,
-0.005986386444419622,
-0.043383292853832245,
0.010539579205214977,
-0.0226755291223526,
-0.011169467121362686,
0.019666625186800957,
0.007904816418886185,
-0.015012873336672783,
0.03779459744691849,
-0.05725075304508209,
0.013823220506310463,
-0.03693706914782524,
0.03309997171163559,
-0.03989685699343681,
-0.043696679174900055,
-0.03664781153202057,
-0.010048186406493187,
-0.03960660472512245,
0.02031022682785988,
-0.009984430857002735,
-0.04864596948027611,
0.026370255276560783,
-0.0034241778776049614,
0.0422990508377552,
0.03945488855242729,
-0.0043901484459638596,
0.0177591685205698,
0.0018919925205409527,
-0.05795687064528465,
-0.02567899040877819,
-0.000809447024948895,
-0.011297444812953472,
-0.012931743636727333,
0.05684976279735565,
0.022589461877942085,
-0.07058654725551605,
-0.09529755264520645,
0.04773252457380295,
0.039023805409669876,
-0.01924518495798111,
0.000057299173931824043,
0.03590662404894829,
-0.0007844264036975801,
0.03943163901567459,
0.0027468304615467787,
0.00595109211280942,
-0.025574173778295517,
-0.04018254950642586,
0.028327519074082375,
-0.005966505501419306,
0.013166300021111965,
0.030635176226496696,
-0.03664703294634819,
-0.030261121690273285,
0.04530436173081398,
0.028195494785904884,
0.020244458690285683,
-0.013471109792590141,
-0.04369014501571655,
0.007368114776909351,
0.027954719960689545,
-0.05239631235599518,
0.015244557522237301,
0.016219357028603554,
-0.02262626774609089,
0.05041898787021637,
-0.02038438431918621,
0.04857388883829117,
0.07259471714496613,
0.005002304445952177,
-0.02624998800456524,
0.01420754473656416,
-0.015694711357355118,
0.008600763976573944,
0.04167814552783966,
-0.03662869334220886,
0.008138889446854591,
-0.07539918273687363,
0.08639874309301376,
-0.0702618658542633,
0.033018808811903,
0.03321276232600212,
0.016487980261445045,
0.017581919208168983,
-0.06086815893650055,
-0.0419468879699707,
0.015635967254638672,
-0.05214642733335495,
0.05691943317651749,
0.010532701388001442,
-0.04239124804735184,
0.05571203678846359,
0.03797417879104614,
-0.07193176448345184,
0.02462131530046463,
0.05747295543551445,
-0.00327547499909997,
0.019069859758019447,
0.0059350780211389065,
-0.060707636177539825,
0.02595618925988674,
-0.03991095721721649,
0.01823638565838337,
-0.049186863005161285,
-0.025027917698025703,
0.021361522376537323,
-0.01920819655060768,
0.0031173538882285357,
0.039770156145095825,
-0.04334913566708565,
-0.012242749333381653,
0.045629486441612244,
-0.03309379518032074,
-0.04707561433315277,
-0.009694802574813366,
0.004237302113324404,
-0.014359678141772747,
0.0034432203974574804,
-0.0502547062933445,
0.03532840311527252,
0.021719953045248985,
0.004090095404535532,
-0.03234003484249115,
0.003789230715483427,
0.03326919674873352,
-0.03743679076433182,
-0.06224851682782173,
0.033765699714422226,
0.007421576883643866,
-0.03917808085680008,
0.024001162499189377,
0.009493857622146606,
0.001240811892785132,
0.02754765748977661,
-0.013764466159045696,
0.01888200454413891,
-0.057667575776576996,
-0.043540168553590775,
0.006892585661262274,
-0.0031212803442031145,
0.026608625426888466,
-0.01732362061738968,
0.02559828944504261,
0.02507389336824417,
0.02390836365520954,
-0.014833964407444,
-0.06799331307411194,
-0.04208570718765259,
0.021785574033856392,
-0.05312541872262955,
0.024738110601902008,
0.0030234348960220814,
-0.04488401114940643,
-0.05016534775495529,
-0.017634855583310127,
0.0019492069259285927,
0.014613223262131214,
-0.04794786870479584,
-0.0027043248992413282,
0.015112282708287239,
0.0020788987167179585,
-0.03540241718292236,
-0.07782676070928574,
-0.05427730828523636,
-0.04985468089580536,
0.026578214019536972,
0.010500947944819927,
-0.05453157424926758,
-0.007569007109850645,
-0.03198736533522606,
-0.039674192667007446,
0.01376125868409872,
0.010496661067008972,
-0.049191027879714966,
0.04927165061235428,
0.007466297596693039,
-0.04075855016708374,
-0.005866450723260641,
0.01340529602020979,
-0.038679905235767365,
0.01347739901393652,
-0.007459660992026329,
0.012563178315758705,
-0.010795939713716507,
0.033011723309755325,
-0.0076506775803864,
-0.019407695159316063,
-0.06428541988134384,
-0.07263994961977005,
-0.02519240416586399,
0.013226603157818317,
0.08801817893981934
] |
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 | null | ---
language: multilingual
license: mit
widget:
- text: "and I cannot conceive the reafon why [MASK] hath"
- text: "TΓ€kΓ€lΓ€inen sanomalehdistΓΆ [MASK] erit - tΓ€in"
- text: "Det vore [MASK] hΓ€ller nΓΆdvΓ€ndigt att be"
- text: "Comme, Γ cette Γ©poque [MASK] Γ©tait celle de la"
- text: "In [MASK] an atmosphΓ€rischen Nahrungsmitteln"
---
# hmBERT: Historical Multilingual Language Models for Named Entity Recognition
More information about our hmBERT model can be found in our new paper:
["hmBERT: Historical Multilingual Language Models for Named Entity Recognition"](https://arxiv.org/abs/2205.15575).
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Smaller Models
We have also released smaller models for the multilingual model:
| Model identifier | Model Hub link
| ----------------------------------------------- | ---------------------------------------------------------------------------
| `dbmdz/bert-tiny-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-tiny-historic-multilingual-cased)
| `dbmdz/bert-mini-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-mini-historic-multilingual-cased)
| `dbmdz/bert-small-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-small-historic-multilingual-cased)
| `dbmdz/bert-medium-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Pretraining
## Multilingual model
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€ | [
-0.028147155418992043,
-0.02028803527355194,
-0.029370617121458054,
0.05058155208826065,
0.04916277900338173,
0.023974956944584846,
-0.013675900176167488,
-0.006305125541985035,
-0.04921076074242592,
0.0621543824672699,
0.03215399011969566,
-0.008450957015156746,
0.01224994845688343,
0.05492515489459038,
-0.013743242248892784,
-0.006389221176505089,
0.0032570792827755213,
-0.0062027983367443085,
-0.05547914654016495,
-0.003464620793238282,
-0.0173947736620903,
0.012817907147109509,
-0.0058592879213392735,
0.02074182778596878,
0.006966501008719206,
0.02278752438724041,
0.013129042461514473,
0.0735456570982933,
0.023098211735486984,
-0.0689997598528862,
-0.030296718701720238,
-0.03633952513337135,
-0.02078196592628956,
-0.021390270441770554,
-0.014460035599768162,
-0.024010896682739258,
0.0100709805265069,
0.003247431479394436,
0.042954765260219574,
0.06930583715438843,
-0.03460036218166351,
-0.004343016073107719,
-0.02433476783335209,
-0.03718731924891472,
0.03745286539196968,
0.026623625308275223,
-0.050746895372867584,
-0.020380312576889992,
0.060141514986753464,
-0.03980022668838501,
-0.042786985635757446,
-0.04816848039627075,
-0.007935814559459686,
0.040790047496557236,
-0.007411867380142212,
-0.02338436432182789,
-0.06640680134296417,
0.02356885001063347,
0.06684882938861847,
-0.041669730097055435,
-0.04635530337691307,
-0.0028678986709564924,
-0.0728183388710022,
0.030566079542040825,
0.046255115419626236,
-0.05474904552102089,
0.007552964612841606,
-0.04870731756091118,
0.03890819847583771,
-0.01589781418442726,
0.03778496012091637,
-0.05016350746154785,
-0.005261341575533152,
-0.06317659467458725,
-0.02444993145763874,
-0.004365255124866962,
0.03397385776042938,
0.053908590227365494,
-0.037254538387060165,
0.05097520723938942,
0.030062299221754074,
-0.00520686199888587,
0.01809980720281601,
-0.037092577666044235,
0.009304719045758247,
0.02923298068344593,
-0.03396973758935928,
0.004081880208104849,
0.0052370852790772915,
0.05455417558550835,
-0.05487765744328499,
-0.013727669604122639,
0.013342676684260368,
-0.006162469275295734,
0.007822535932064056,
0.020221050828695297,
0.024675998836755753,
-0.005123049486428499,
0.033120229840278625,
0.019569668918848038,
0.027579402551054955,
0.06787679344415665,
-0.0025032097473740578,
0.05358712375164032,
-0.03285501152276993,
-0.026778921484947205,
-0.013396382331848145,
-0.04739990457892418,
-0.059087809175252914,
0.0361531600356102,
0.029741717502474785,
-0.05954691395163536,
-0.04227409511804581,
0.03193294629454613,
0.02594568580389023,
-0.030980704352259636,
0.052775789052248,
-0.029783708974719048,
-0.048389386385679245,
-0.0682545155286789,
0.026427211239933968,
-0.024402109906077385,
-0.022283928468823433,
-0.016472715884447098,
-0.05553680285811424,
0.021084759384393692,
-0.047704197466373444,
-0.027637379243969917,
0.015231330879032612,
0.009463456459343433,
-0.023652566596865654,
0.045588064938783646,
0.030501727014780045,
-0.04574708268046379,
0.009207956492900848,
0.01268274150788784,
-0.04615122079849243,
0.04492919147014618,
0.0365937277674675,
0.1231030523777008,
-0.023338772356510162,
-0.06480094790458679,
-0.010537863709032536,
0.009726463817059994,
-0.05264648422598839,
0.009348656050860882,
0.006070538889616728,
-0.014467726461589336,
-0.020097656175494194,
-0.0056785461492836475,
0.03697006776928902,
-0.07496894150972366,
-0.0009039405267685652,
0.05255762115120888,
-0.024346891790628433,
0.03823190554976463,
-0.059787817299366,
-0.0323735736310482,
-0.015112791210412979,
0.0016404995694756508,
-0.013939933851361275,
0.02432037517428398,
0.016108669340610504,
0.004650956019759178,
-0.05320353806018829,
-0.03563324362039566,
-0.01829344965517521,
0.08887739479541779,
0.0022366477642208338,
0.0015565966023132205,
-0.04221433028578758,
0.009713931009173393,
0.037579044699668884,
0.0286653283983469,
-0.05202421918511391,
0.03529391437768936,
0.047329459339380264,
0.032776691019535065,
-0.029266107827425003,
0.06745140999555588,
0.005385835189372301,
-0.034990277141332626,
-0.02577758952975273,
0.028551047667860985,
-0.002868020674213767,
-0.02943689003586769,
0.040696244686841965,
0.04804309085011482,
-0.00522370170801878,
-0.03388754650950432,
-0.030444089323282242,
0.05207594111561775,
0.010994095355272293,
0.007353171706199646,
0.02042069099843502,
0.010092983022332191,
-0.04147792607545853,
0.032621435821056366,
-0.007985862903296947,
0.005504067521542311,
-0.007342902943491936,
-0.017968202009797096,
0.025145521387457848,
0.024044916033744812,
0.04415187984704971,
0.048210259526968,
-0.012098398059606552,
0.07748014479875565,
-0.02803991548717022,
-0.008208172395825386,
-0.03927948698401451,
-0.05796480178833008,
0.013227362185716629,
0.04832180216908455,
0.025021936744451523,
0.04314587637782097,
-0.02552853710949421,
-0.0394120030105114,
0.03133987635374069,
0.07087890058755875,
0.07018359750509262,
-0.0017733934801071882,
-0.028835821896791458,
-0.005145576782524586,
0.013673963956534863,
0.04729315638542175,
-0.06392127275466919,
-0.05780931934714317,
0.008679143153131008,
0.047673799097537994,
-0.034622758626937866,
-0.004235054831951857,
-0.009297204203903675,
0.03821467608213425,
-0.04392680898308754,
-0.08032567799091339,
0.03987595811486244,
0.025905102491378784,
-0.014411292038857937,
0.028150366619229317,
-0.018282420933246613,
0.0340254083275795,
0.019941920414566994,
0.009970339015126228,
0.014697001315653324,
-0.042290255427360535,
0.0021496566478163004,
0.0006549011450260878,
0.042311184108257294,
-0.03925495967268944,
0.040496766567230225,
0.0070954966358840466,
0.004823461640626192,
0.04815364256501198,
-0.04250825569033623,
0.02814706228673458,
0.035644885152578354,
0.019407842308282852,
-0.04080544039607048,
0.032511625438928604,
-0.00010611020843498409,
0.01924830488860607,
0.05101315304636955,
0.006705121602863073,
0.07075991481542587,
0.012368083000183105,
0.033452827483415604,
0.08699458837509155,
0.03202608600258827,
0.02155723236501217,
0.00997657049447298,
0.0410345159471035,
0.024310771375894547,
-0.03039667196571827,
0.07872764766216278,
-0.04357988387346268,
0.013241101987659931,
-0.03711804002523422,
0.03609905019402504,
0.005756302736699581,
0.01925637573003769,
0.020226921886205673,
0.0007186700822785497,
-0.027412381023168564,
0.022285891696810722,
-0.00700627313926816,
0.002196111250668764,
0.049724139273166656,
0.017586706206202507,
0.015868008136749268,
-0.019420456141233444,
-0.023366589099168777,
0.021836712956428528,
-0.055523212999105453,
-0.04651736468076706,
0.017035730183124542,
-0.03153671696782112,
-0.006708677392452955,
-0.06646225601434708,
-0.013426396995782852,
-0.0467665009200573,
-0.011211046949028969,
0.02103022299706936,
0.029942002147436142,
-0.003163581248372793,
-0.027637502178549767,
0.004182117059826851,
-0.028376759961247444,
-0.039948709309101105,
-0.01937214843928814,
-0.05658979341387749,
-0.038625143468379974,
-0.09203145653009415,
0.04392588883638382,
0.03044949285686016,
0.021149195730686188,
-0.009023705497384071,
-0.004423487465828657,
-0.013047127984464169,
-0.016893228515982628,
0.042397771030664444,
0.03133636340498924,
-0.05386407673358917,
-0.05569551885128021,
0.040548451244831085,
-0.017270201817154884,
0.021375764161348343,
-0.01923844777047634,
-0.03215698152780533,
0.06808315217494965,
0.06444113701581955,
0.011918126605451107,
0.026743438094854355,
0.036428745836019516,
-0.03531807288527489,
-0.056750670075416565,
-0.022645046934485435,
-0.04049912095069885,
-0.01924617402255535,
-0.023594021797180176,
-0.03553592413663864,
-0.004587069619446993,
-0.0498325414955616,
-0.012048499658703804,
-0.0013529148418456316,
0.00802102591842413,
0.02257603406906128,
0.03576984256505966,
0.03457752987742424,
0.029951542615890503,
-0.023401781916618347,
-0.027755411341786385,
0.07805506139993668,
0.005753937643021345,
0.005632827989757061,
-0.05241570249199867,
-0.029855400323867798,
0.016051962971687317,
0.04241996258497238,
-0.004127424210309982,
-0.009166894480586052,
0.07864894717931747,
0.0010259774280712008,
-0.024083590134978294,
-0.024974020197987556,
0.005473101511597633,
-0.05711833015084267,
0.011755643412470818,
0.009058945812284946,
-0.026268593966960907,
-0.053188078105449677,
-0.0321991927921772,
0.016169441863894463,
0.026807529851794243,
-0.08304749429225922,
-0.06438317894935608,
-0.0033151423558592796,
0.026472970843315125,
0.047179948538541794,
-0.014662320725619793,
-0.04192352667450905,
0.02225789614021778,
-0.04107881709933281,
-0.04277169331908226,
0.014641585759818554,
0.021680330857634544,
0.03302155062556267,
0.039567045867443085,
0.04863772168755531,
-0.05150077864527702,
0.037956707179546356,
0.025202585384249687,
0.03858218714594841,
0.024996237829327583,
-0.05357423052191734,
0.033058878034353256,
-0.010779368691146374,
0.0061112879775464535,
-0.01932647079229355,
-0.02660301700234413,
-0.06872709840536118,
-0.08836399763822556,
0.018948577344417572,
0.014761628583073616,
0.0001117814754252322,
-0.012166128493845463,
0.031402941793203354,
-0.004945944529026747,
0.02944117784500122,
-0.00809862744063139,
0.007756151258945465,
0.023545019328594208,
-0.06710273027420044,
0.04326967895030975,
-0.02716447226703167,
0.024106938391923904,
-0.050998881459236145,
0.011022863909602165,
-0.0396142415702343,
-0.03114260546863079,
-0.0057408614084124565,
0.05764112249016762,
0.023019036278128624,
0.028067735955119133,
0.06345203518867493,
0.026694005355238914,
-0.046918343752622604,
0.05626128613948822,
0.036671772599220276,
0.00755903497338295,
-0.05057418718934059,
-0.025914430618286133,
-0.019414130598306656,
-0.03244331479072571,
-0.021815121173858643,
-0.02525244653224945,
0.012745707295835018,
0.015476792119443417,
0.008545605465769768,
-0.018710384145379066,
0.010886152274906635,
-0.016531676054000854,
-0.027562256902456284,
-0.07528148591518402,
-0.034364838153123856,
0.006610706448554993,
-0.023232676088809967,
0.03101699985563755,
0.027628375217318535,
0.008823472075164318,
0.06722196191549301,
0.03326590359210968,
-0.005244542378932238,
-0.027575332671403885,
0.023909669369459152,
0.018541119992733,
-0.055678777396678925,
-0.057508744299411774,
-0.04712621867656708,
0.0669192522764206,
0.07406135648488998,
0.026394760236144066,
-0.08784263581037521,
0.011021699756383896,
0.0511726513504982,
-0.015636829659342766,
0.0687410905957222,
-0.02046136185526848,
0.044834818691015244,
0.051882192492485046,
-0.03796974942088127,
-0.0018671163124963641,
-0.01941625028848648,
0.01697929948568344,
0.01321475114673376,
0.03153239190578461,
-0.026856951415538788,
-0.04545692354440689,
-0.04208971560001373,
0.01838003098964691,
0.023063983768224716,
0.06233416125178337,
0.04276102036237717,
-0.023259151726961136,
-0.06724919378757477,
0.005521364510059357,
0.03196911886334419,
-0.0681329146027565,
0.01571778953075409,
0.010018208995461464,
0.05868138000369072,
-0.05323424190282822,
-0.0329386331140995,
-0.0004371850227471441,
-0.014705158770084381,
0.019173145294189453,
-0.0074481600895524025,
-0.03649289533495903,
-0.06585048139095306,
-0.009124270640313625,
-0.02061363495886326,
-0.014253336936235428,
-0.09254514425992966,
0.021625233814120293,
-0.038028325885534286,
-0.030758798122406006,
0.05124632269144058,
0.01506876852363348,
0.025565899908542633,
0.04322322458028793,
-0.0050109256990253925,
0.0034497089218348265,
-0.03505478799343109,
0.036092594265937805,
-0.025533491745591164,
-0.023792553693056107,
-0.019869552925229073,
-0.04951024800539017,
-0.022341376170516014,
-0.020801113918423653,
-0.047048695385456085,
-0.04449912905693054,
-0.02102663367986679,
0.021347567439079285,
0.015932941809296608,
-0.0021661848295480013,
-0.03217943757772446,
0.037659332156181335,
-0.04074123501777649,
-0.0347416028380394,
-0.03229649364948273,
-0.03201945498585701,
-0.066459521651268,
-0.05242964252829552,
0.02733413688838482,
0.004539497196674347,
0.04718518629670143,
0.003138636937364936,
0.00008725804946152493,
0.018778203055262566,
-0.01677856408059597,
-0.033471137285232544,
0.021099811419844627,
0.005422848276793957,
-0.05826423317193985,
-0.014660941436886787,
0.01249730121344328,
0.017756706103682518,
0.04656060412526131,
-0.029204323887825012,
0.01700483448803425,
0.016585946083068848,
-0.017531143501400948,
-0.023101026192307472,
0.02116347663104534,
0.030425673350691795,
-0.07790634036064148,
-0.06049823760986328,
0.014362280257046223,
-0.04169061407446861,
0.04156740754842758,
-0.01563541404902935,
-0.012585824355483055,
0.031606025993824005,
0.003466358408331871,
0.034778036177158356,
0.0057819257490336895,
-0.037679776549339294,
0.015986690297722816,
-0.009502803906798363,
0.029943669214844704,
-0.05709603428840637,
0.049252867698669434,
-0.030294271185994148,
0.025343896821141243,
0.005693449638783932,
-0.019917666912078857,
-0.0371190570294857,
0.026718875393271446,
-0.0036607671063393354,
-0.017035404220223427,
0.01870471052825451,
0.012375310063362122,
-0.034744277596473694,
0.007630190346390009,
-0.03531162813305855,
0.026444746181368828,
-0.014758261851966381,
0.024297647178173065,
-0.05003985017538071,
-0.025161251425743103,
-0.02537037990987301,
0.009507407434284687,
-0.025312935933470726,
-0.021313196048140526,
-0.006724480539560318,
-0.03923359140753746,
0.02279364876449108,
0.008523047901690006,
0.019253777340054512,
0.02593185380101204,
-0.007899676449596882,
0.013190627098083496,
0.020052393898367882,
-0.06975779682397842,
0.003231309587135911,
-0.0029773099813610315,
0.0028487963136285543,
-0.014626987278461456,
0.06650284677743912,
0.015315303578972816,
-0.06213372200727463,
-0.0867861732840538,
0.05664467066526413,
0.03193187713623047,
-0.019606586545705795,
-0.01096752192825079,
0.027584457769989967,
0.023877587169408798,
0.01703893393278122,
-0.008138730190694332,
0.006406281143426895,
-0.006678478326648474,
-0.019826965406537056,
0.0015290830051526427,
0.003434390528127551,
0.014918303117156029,
0.021647194400429726,
-0.03785162419080734,
-0.028034552931785583,
0.059250663965940475,
0.026617340743541718,
0.01649579033255577,
-0.012925476767122746,
-0.02092568762600422,
0.019492054358124733,
0.01264301035553217,
-0.06275192648172379,
0.00320053705945611,
0.024834593757987022,
-0.032304175198078156,
0.06996840238571167,
-0.018891043961048126,
0.027560127899050713,
0.05819292739033699,
0.015154988504946232,
-0.030312221497297287,
0.029932579025626183,
-0.010617407038807869,
0.016417549923062325,
0.04012034833431244,
-0.05318748578429222,
0.023771053180098534,
-0.051629651337862015,
0.08900030702352524,
-0.07376440614461899,
0.03281749412417412,
0.03211904317140579,
0.005045681726187468,
0.022808898240327835,
-0.043640587478876114,
-0.02675355225801468,
0.014766834676265717,
-0.040557220578193665,
0.07186872512102127,
0.012691624462604523,
-0.04936296120285988,
0.051857028156518936,
0.015829598531126976,
-0.08685909956693649,
0.029399629682302475,
0.04774750396609306,
0.01515317801386118,
0.019583487883210182,
0.026542479172348976,
-0.06349004805088043,
0.021327313035726547,
-0.038352567702531815,
0.017089057713747025,
-0.05959448963403702,
-0.01939392276108265,
0.007105231285095215,
-0.0348055474460125,
-0.004632527008652687,
0.05662490800023079,
-0.05206197127699852,
-0.0225225742906332,
0.017658237367868423,
-0.052859216928482056,
-0.051080022007226944,
-0.006949982605874538,
0.016017252579331398,
-0.014777067117393017,
0.010592276230454445,
-0.05306820198893547,
0.014221100136637688,
0.02397518791258335,
-0.007319178897887468,
-0.0349355973303318,
-0.013866307213902473,
0.032223451882600784,
-0.04058751091361046,
-0.04718171805143356,
0.0602593831717968,
0.020150672644376755,
-0.029590575024485588,
0.011388231068849564,
-0.004695324692875147,
0.015070082619786263,
0.036147017031908035,
-0.004002062138170004,
0.013431225903332233,
-0.055325474590063095,
-0.006577364169061184,
0.012802486307919025,
0.023366209119558334,
0.017660049721598625,
0.000381151883630082,
0.02771265245974064,
0.039404790848493576,
0.04303048178553581,
-0.003015375230461359,
-0.06466590613126755,
-0.035005323588848114,
0.020059097558259964,
-0.044608525931835175,
-0.0027488560881465673,
0.01119903102517128,
-0.04403048753738403,
-0.04689722880721092,
0.006194808054715395,
-0.01738772541284561,
0.04717208445072174,
-0.05887819826602936,
0.00765150086954236,
0.025102583691477776,
-0.018792638555169106,
-0.041320331394672394,
-0.08251222223043442,
-0.04634573310613632,
-0.04703061655163765,
0.018285268917679787,
0.01727215200662613,
-0.03259182721376419,
0.009980483911931515,
-0.02788131684064865,
-0.0509529784321785,
0.03133939206600189,
0.008150612004101276,
-0.04314236342906952,
0.06363803148269653,
0.0315370187163353,
-0.029606562107801437,
-0.0028376136906445026,
0.021021824330091476,
-0.03512752801179886,
0.02540697529911995,
-0.013577687554061413,
0.015635916963219643,
-0.0015095776179805398,
0.037827152758836746,
-0.017682567238807678,
-0.019215714186429977,
-0.08337827026844025,
-0.045566026121377945,
-0.025834033265709877,
0.006402384489774704,
0.06533351540565491
] |
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 | ---
language: it
license: mit
datasets:
- wikipedia
---
# π€ + π dbmdz BERT and ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources Italian BERT and ELECTRA models π
# Italian BERT
The source data for the Italian BERT model consists of a recent Wikipedia dump and
various texts from the [OPUS corpora](http://opus.nlpl.eu/) collection. The final
training corpus has a size of 13GB and 2,050,057,573 tokens.
For sentence splitting, we use NLTK (faster compared to spacy).
Our cased and uncased models are training with an initial sequence length of 512
subwords for ~2-3M steps.
For the XXL Italian models, we use the same training data from OPUS and extend
it with data from the Italian part of the [OSCAR corpus](https://traces1.inria.fr/oscar/).
Thus, the final training corpus has a size of 81GB and 13,138,379,147 tokens.
Note: Unfortunately, a wrong vocab size was used when training the XXL models.
This explains the mismatch of the "real" vocab size of 31102, compared to the
vocab size specified in `config.json`. However, the model is working and all
evaluations were done under those circumstances.
See [this issue](https://github.com/dbmdz/berts/issues/7) for more information.
The Italian ELECTRA model was trained on the "XXL" corpus for 1M steps in total using a batch
size of 128. We pretty much following the ELECTRA training procedure as used for
[BERTurk](https://github.com/stefan-it/turkish-bert/tree/master/electra).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-italian-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/vocab.txt)
| `dbmdz/bert-base-italian-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-discriminator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-generator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-generator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/vocab.txt)
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/italian-bertelectra).
## Usage
With Transformers >= 2.3 our Italian BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the (recommended) Italian XXL BERT models, just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-xxl-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the Italian XXL ELECTRA model (discriminator), just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/electra-base-italian-xxl-cased-discriminator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelWithLMHead.from_pretrained(model_name)
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT/ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.011547722853720188,
-0.013734931126236916,
0.0030822670087218285,
0.057535380125045776,
0.010722064413130283,
0.02304820902645588,
0.007927742786705494,
-0.010190686210989952,
-0.03620022535324097,
0.05364545062184334,
0.02581303007900715,
-0.024656636640429497,
-0.008228032849729061,
0.05321543663740158,
-0.031767506152391434,
-0.02090396359562874,
-0.0016126205446198583,
-0.020555097609758377,
-0.04492839798331261,
-0.012547697871923447,
-0.019542640075087547,
-0.005898171570152044,
0.0028639729134738445,
0.03074050135910511,
0.0013527397532016039,
0.009395911358296871,
-0.01671145297586918,
0.029361244291067123,
0.035957831889390945,
-0.060498956590890884,
0.01895291544497013,
-0.022390779107809067,
-0.042842503637075424,
-0.013569523580372334,
-0.02508079819381237,
-0.021987296640872955,
0.011075681075453758,
-0.010483712889254093,
0.035447463393211365,
0.03659987449645996,
-0.0016637463122606277,
0.018005095422267914,
-0.004625158384442329,
-0.02734127640724182,
0.04151417687535286,
0.0015813165809959173,
-0.05879143625497818,
-0.025171924382448196,
0.017766928300261497,
-0.03267227113246918,
-0.049460519105196,
-0.07391690462827682,
-0.03261793032288551,
0.044682975858449936,
-0.00965031050145626,
-0.022585010156035423,
-0.05894555151462555,
0.011338363401591778,
0.07203557342290878,
-0.05497347190976143,
-0.03642719238996506,
0.033050913363695145,
-0.06010960415005684,
0.028653273358941078,
0.03272412344813347,
-0.011389258317649364,
0.015428518876433372,
-0.04283333197236061,
0.044015638530254364,
-0.013118797913193703,
0.04656375199556351,
-0.029444031417369843,
-0.0009993842104449868,
-0.08351270854473114,
-0.007905371487140656,
-0.024007011204957962,
0.030423050746321678,
0.03845934942364693,
-0.045463524758815765,
0.04819883406162262,
0.026937147602438927,
-0.020930465310811996,
0.033335886895656586,
-0.019695349037647247,
-0.015795202925801277,
0.0687146708369255,
-0.036423902958631516,
0.005133230239152908,
0.0035015202593058348,
0.03747931495308876,
-0.04108881205320358,
-0.01861749403178692,
-0.009839699603617191,
-0.02221795916557312,
0.0025741616263985634,
0.02663867548108101,
0.024774862453341484,
-0.011199386790394783,
0.014399472624063492,
0.04243941605091095,
0.019552011042833328,
0.023660948500037193,
-0.026707060635089874,
0.06642644852399826,
-0.0023972338531166315,
-0.007076863665133715,
-0.019809488207101822,
-0.0377650186419487,
-0.048659518361091614,
0.02079625613987446,
0.021318908780813217,
-0.0332680270075798,
-0.047463309019804,
0.04939308017492294,
0.016366375610232353,
-0.03538815677165985,
0.05336379632353783,
-0.016620999202132225,
-0.0328885093331337,
-0.05225793644785881,
0.02595137432217598,
-0.004643169231712818,
0.0016968224663287401,
0.014487615786492825,
-0.05900835245847702,
0.020907720550894737,
-0.037312544882297516,
-0.02638976275920868,
0.020053058862686157,
0.02031262405216694,
-0.01396195963025093,
0.048884421586990356,
0.025870224460959435,
-0.06967675685882568,
0.0032455113250762224,
-0.002473200438544154,
-0.05901035666465759,
0.058893509209156036,
0.04211445897817612,
0.13350924849510193,
-0.03920420631766319,
-0.015968110412359238,
0.0012716922210529447,
0.015661267563700676,
-0.017154308035969734,
0.004150717984884977,
0.021223871037364006,
-0.056679148226976395,
-0.005002723541110754,
0.0029151039198040962,
0.031899213790893555,
-0.035893313586711884,
-0.003915545530617237,
0.0685986876487732,
-0.01663687452673912,
0.035226818174123764,
-0.05211133509874344,
-0.01420399360358715,
0.0004815814027097076,
-0.004825676791369915,
-0.03958312049508095,
0.025539593771100044,
-0.011122963391244411,
-0.016056420281529427,
-0.024746350944042206,
-0.04585244879126549,
0.01617479883134365,
0.11590001732110977,
0.0015522356843575835,
-0.03744468092918396,
-0.031454794108867645,
0.016816068440675735,
0.05197523906826973,
0.023705266416072845,
-0.033193670213222504,
0.04912790656089783,
0.03696304187178612,
0.029945725575089455,
-0.02093825489282608,
0.052759718149900436,
-0.00030775927007198334,
-0.04204775393009186,
-0.02922631800174713,
0.022566352039575577,
0.00930838380008936,
-0.04443127289414406,
0.012194263748824596,
0.05068804323673248,
-0.005330122075974941,
-0.021352600306272507,
-0.02032581903040409,
0.06871463358402252,
-0.00892995297908783,
0.005707814823836088,
0.030907485634088516,
-0.004644350148737431,
-0.04547897353768349,
0.048844944685697556,
-0.0321684367954731,
-0.012875465676188469,
-0.006494391709566116,
-0.02962900884449482,
-0.0004975606570951641,
0.03667813539505005,
0.04373781755566597,
0.054732613265514374,
-0.0026753712445497513,
0.09628681093454361,
-0.04404321312904358,
0.003699135035276413,
-0.035269152373075485,
-0.05889487639069557,
-0.011321497149765491,
0.05981668829917908,
0.033799875527620316,
0.040235474705696106,
-0.0025424743071198463,
-0.041697874665260315,
0.012368476018309593,
0.06278964132070541,
0.05064374953508377,
0.02370494417846203,
-0.03614797815680504,
-0.02242237702012062,
0.027491627261042595,
0.06193903088569641,
-0.04152340814471245,
-0.04724337160587311,
0.022502703592181206,
0.03818949684500694,
-0.023655500262975693,
0.030271511524915695,
-0.003630844410508871,
0.00815588515251875,
-0.02516568824648857,
-0.04973943531513214,
0.0420304574072361,
0.02863151580095291,
-0.004311488475650549,
0.02037513256072998,
-0.011317563243210316,
-0.006587741430848837,
-0.003117009298875928,
0.009561149403452873,
-0.004117740783840418,
-0.04643037170171738,
0.01158325094729662,
0.02520311065018177,
0.06099119037389755,
-0.046592745929956436,
0.03635112941265106,
-0.004223423544317484,
0.01650860160589218,
0.014087644405663013,
-0.04399900510907173,
0.03118267096579075,
0.03589145839214325,
0.02229788340628147,
-0.04826149716973305,
0.0029322567861527205,
0.004088648594915867,
0.03788129612803459,
0.05541551113128662,
0.010489887557923794,
0.06313807517290115,
0.02638138271868229,
0.05272909626364708,
0.07691031694412231,
0.013616304844617844,
0.021143997088074684,
0.04990895465016365,
0.079676054418087,
0.004165891092270613,
-0.01724366284906864,
0.08265853673219681,
-0.04097442328929901,
-0.0019468674436211586,
-0.04019777849316597,
0.01035258173942566,
0.02167433127760887,
-0.011231980286538601,
0.03691859915852547,
0.004483383614569902,
0.007006413768976927,
0.005081666633486748,
-0.0016859619645401835,
-0.0075792064890265465,
0.058430857956409454,
-0.018796714022755623,
0.008991439826786518,
-0.004287497140467167,
-0.034404464066028595,
0.008943138644099236,
-0.06367072463035583,
-0.062379445880651474,
0.001871189335361123,
-0.037359025329351425,
-0.007036380469799042,
-0.09155117720365524,
-0.04213307052850723,
-0.07892005145549774,
-0.007366158999502659,
0.028714388608932495,
0.010661650449037552,
0.0008117943652905524,
-0.01134091429412365,
0.008238776586949825,
-0.03214511647820473,
-0.028278233483433723,
-0.055179473012685776,
-0.040563903748989105,
-0.05638767406344414,
-0.06656987965106964,
0.030417878180742264,
0.014659710228443146,
0.024608954787254333,
-0.000945328501984477,
0.01343767810612917,
-0.023724712431430817,
-0.03453333303332329,
0.04914283752441406,
0.043224677443504333,
-0.03844153508543968,
-0.03775811940431595,
0.017848726361989975,
-0.007061856333166361,
0.025872711092233658,
-0.006019830238074064,
-0.03267543017864227,
0.07203768193721771,
0.060920652002096176,
0.013610044494271278,
0.011946646496653557,
-0.0001541404490126297,
-0.06571264564990997,
-0.06397466361522675,
-0.04029843211174011,
-0.02345176227390766,
0.004671172238886356,
-0.019048701971769333,
-0.04084017127752304,
-0.04208558797836304,
-0.04283510521054268,
0.019156310707330704,
-0.009263016283512115,
0.008951199240982533,
0.012794860638678074,
0.03656366094946861,
0.040068864822387695,
0.02906842529773712,
-0.04818260669708252,
-0.0017234731931239367,
0.07174224406480789,
0.025359218940138817,
-0.009517966769635677,
-0.07177793234586716,
-0.022951342165470123,
0.03317742049694061,
0.045527566224336624,
-0.011246103793382645,
-0.0101823341101408,
0.07416839897632599,
0.03166140615940094,
-0.0034077418968081474,
-0.021125871688127518,
-0.00843549333512783,
-0.049371492117643356,
0.01973596401512623,
0.01358844991773367,
-0.022684475407004356,
-0.043557967990636826,
-0.0198178943246603,
0.0166458860039711,
0.048316389322280884,
-0.06782432645559311,
-0.047554291784763336,
-0.0066671231761574745,
0.03914635255932808,
0.009934671223163605,
0.03037973865866661,
-0.051107775419950485,
0.010043196380138397,
-0.02664756588637829,
-0.04287025332450867,
0.015054848976433277,
-0.01027423981577158,
0.02495686523616314,
0.06172053515911102,
0.029068108648061752,
-0.019633280113339424,
0.04851345717906952,
0.02776198275387287,
0.05431126058101654,
0.01184551976621151,
-0.04222143441438675,
0.033429067581892014,
-0.04600270837545395,
0.0032612630166113377,
0.0150451073423028,
-0.03297184780240059,
-0.051225606352090836,
-0.06946925818920135,
-0.0013542032102122903,
0.007972883060574532,
0.0005206031491979957,
-0.0026864693500101566,
0.027321480214595795,
-0.014790931716561317,
-0.029420047998428345,
0.00022693743812851608,
0.009231358766555786,
0.03603353723883629,
-0.05260851979255676,
0.08282413333654404,
-0.0006339843384921551,
0.014693818986415863,
-0.06997860223054886,
0.008666682057082653,
-0.03541042283177376,
-0.0364408902823925,
0.00797013845294714,
0.06312959641218185,
0.020851928740739822,
0.040313221514225006,
0.10016781091690063,
0.039442770183086395,
-0.04221693426370621,
0.06052052602171898,
0.013803145848214626,
0.0095676239579916,
-0.027747754007577896,
-0.020564408972859383,
-0.018951531499624252,
-0.02249593660235405,
-0.005578681826591492,
-0.012414723634719849,
0.012763547711074352,
0.013853647746145725,
0.004093887284398079,
-0.021766964346170425,
-0.0018147401278838515,
-0.01181130949407816,
-0.02169201150536537,
-0.07433800399303436,
-0.022272946313023567,
-0.009060312062501907,
-0.010894822888076305,
0.03211088106036186,
0.03155834600329399,
0.004302681423723698,
0.05769561976194382,
0.039055801928043365,
-0.019798455759882927,
-0.044827401638031006,
0.024790223687887192,
0.03652995452284813,
-0.05147043988108635,
-0.07412739843130112,
-0.041756678372621536,
0.037292513996362686,
0.044427115470170975,
-0.004832268692553043,
-0.1006069928407669,
-0.0047368439845740795,
0.05296554043889046,
-0.0426972322165966,
0.04845944046974182,
-0.006459962110966444,
0.05403199419379234,
0.06112135201692581,
-0.023040641099214554,
0.008531764149665833,
-0.02885298989713192,
-0.001150702009908855,
-0.006220357958227396,
0.04778241738677025,
-0.042759496718645096,
-0.0498543307185173,
-0.04647095128893852,
0.04992734640836716,
0.03260073438286781,
0.0438743494451046,
0.03440592437982559,
-0.021810846403241158,
-0.045066721737384796,
0.008399597369134426,
0.05349018797278404,
-0.05656024441123009,
-0.0029352563433349133,
0.03405920788645744,
0.038768090307712555,
-0.058582570403814316,
-0.042913567274808884,
-0.022100692614912987,
-0.009080243296921253,
0.03233088180422783,
0.014862515032291412,
-0.026525454595685005,
-0.0733795017004013,
0.00584358349442482,
-0.011966061778366566,
-0.0253891684114933,
-0.0904686450958252,
0.02270033396780491,
-0.008221929892897606,
-0.024292659014463425,
0.05767427757382393,
0.031568773090839386,
0.023457415401935577,
0.03950909152626991,
-0.010759125463664532,
-0.009490878321230412,
-0.05061429366469383,
0.03433771803975105,
-0.02380872517824173,
0.01570957899093628,
-0.010648494586348534,
-0.03417878970503807,
-0.011415066197514534,
-0.03105034865438938,
-0.05187824368476868,
-0.049581728875637054,
0.015271239914000034,
0.03298269212245941,
-0.020996132865548134,
-0.002416758332401514,
-0.015002371743321419,
0.05331574007868767,
-0.03844534233212471,
-0.030263155698776245,
-0.03246889263391495,
-0.028591375797986984,
-0.06360974907875061,
-0.02955116517841816,
0.01303817331790924,
0.01652616448700428,
0.04234447702765465,
0.005687361117452383,
0.01185406744480133,
-0.013910695910453796,
-0.003385506570339203,
-0.026827698573470116,
0.01480063609778881,
0.0055409930646419525,
-0.03501065447926521,
-0.04701044410467148,
0.02156909741461277,
0.024240439757704735,
0.027067672461271286,
-0.04376966133713722,
0.0321456678211689,
0.01335216872394085,
-0.024993298575282097,
-0.021806444972753525,
-0.004344726912677288,
0.006926125846803188,
-0.0885407030582428,
-0.05235705524682999,
-0.015048518776893616,
-0.03979475796222687,
0.04791181907057762,
-0.023571835830807686,
-0.008160161785781384,
0.01411269698292017,
0.03020772896707058,
0.02647179551422596,
0.0023987232707440853,
-0.03209904581308365,
0.008532644249498844,
-0.028611645102500916,
0.011261858977377415,
-0.07297198474407196,
0.029712505638599396,
-0.027587898075580597,
0.006975040305405855,
-0.011274461634457111,
0.007581544108688831,
-0.03709813579916954,
0.0436873584985733,
-0.01021397765725851,
-0.009421086870133877,
-0.009995907545089722,
0.011346934363245964,
-0.025408880785107613,
0.02509475313127041,
-0.023470908403396606,
0.021028360351920128,
-0.0004229959740769118,
0.06244773790240288,
-0.0464206263422966,
-0.009124855510890484,
-0.02895120531320572,
0.012316213920712471,
-0.04615705460309982,
-0.002811963204294443,
-0.0067320396192371845,
-0.027457179501652718,
0.006295050028711557,
0.03236071765422821,
0.04264508932828903,
0.01588819921016693,
-0.0444965660572052,
0.018286557868123055,
0.012087609618902206,
-0.06463361531496048,
-0.02826923318207264,
0.0016096075996756554,
0.009974409826099873,
0.004467649385333061,
0.069403275847435,
0.05776304751634598,
-0.07181371748447418,
-0.05765027552843094,
0.02751205302774906,
0.008647717535495758,
0.001707863761112094,
0.008899438194930553,
0.018659166991710663,
0.021930625662207603,
0.051355913281440735,
-0.03640366718173027,
-0.018337754532694817,
-0.019057229161262512,
-0.019624635577201843,
-0.0006881735753268003,
0.014506631530821323,
0.015820197761058807,
0.015771448612213135,
-0.017817415297031403,
-0.04056527838110924,
0.06064789742231369,
0.014908920042216778,
0.025819243863224983,
-0.005392113700509071,
-0.05006248876452446,
0.02628314681351185,
0.006497506517916918,
-0.06365162879228592,
0.013355499133467674,
0.018772050738334656,
-0.04405564069747925,
0.055449940264225006,
-0.0009365198784507811,
0.014807811006903648,
0.060733165591955185,
0.02949116751551628,
-0.040103182196617126,
0.04275871440768242,
-0.01934034377336502,
-0.01135869137942791,
0.03636251389980316,
-0.047380365431308746,
-0.01307801716029644,
-0.027077095583081245,
0.08271033316850662,
-0.042281899601221085,
0.05073906108736992,
0.04561242088675499,
0.016588149592280388,
0.03637213259935379,
-0.051127731800079346,
-0.009927391074597836,
0.019683195278048515,
-0.038729529827833176,
0.07911433279514313,
0.006301513407379389,
-0.06677906960248947,
0.08018063753843307,
0.016353925690054893,
-0.06023852154612541,
0.05109461024403572,
0.03302716091275215,
0.03085501492023468,
0.037643175572156906,
0.04053572937846184,
-0.039721351116895676,
0.008520028553903103,
-0.042638808488845825,
0.01506580039858818,
-0.056855086237192154,
-0.007144493982195854,
0.014722672291100025,
-0.025787631049752235,
-0.0023613115772604942,
0.03195451572537422,
-0.007828043773770332,
0.0036814508493989706,
0.0300441887229681,
-0.049821723252534866,
-0.034060943871736526,
-0.0001447670947527513,
0.02197028137743473,
-0.027257164940238,
-0.0018657908076420426,
-0.01781225949525833,
0.030597325414419174,
0.0012427970068529248,
0.0017195285763591528,
-0.03067178837954998,
0.004126801621168852,
0.014905624091625214,
-0.07614389061927795,
-0.06901287287473679,
0.025774890556931496,
0.01495298184454441,
-0.03664061427116394,
0.037243086844682693,
-0.02010137028992176,
-0.0005466056172735989,
0.031242158263921738,
0.002237144857645035,
-0.00844726711511612,
-0.029132233932614326,
-0.013437574729323387,
0.010471764020621777,
0.014800246804952621,
0.04611358419060707,
-0.00830563809722662,
0.019563043490052223,
0.013763010501861572,
0.04927801713347435,
-0.013626374304294586,
-0.05266151577234268,
-0.033221445977687836,
0.0357682928442955,
-0.040612366050481796,
-0.0044485717080533504,
-0.0030929746571928263,
-0.06619814783334732,
-0.029399776831269264,
-0.01673080213367939,
0.001020007417537272,
0.037377819418907166,
-0.061972297728061676,
0.029453616589307785,
0.014302771538496017,
-0.012167418375611305,
-0.053221479058265686,
-0.08738125115633011,
-0.02555602416396141,
-0.01612512767314911,
0.008380647748708725,
0.007192051969468594,
-0.028483692556619644,
0.034356966614723206,
-0.043210189789533615,
-0.05771131440997124,
0.0528927817940712,
0.017504505813121796,
-0.057089097797870636,
0.06940294057130814,
0.04992610961198807,
-0.05491572618484497,
0.010505030862987041,
0.061136394739151,
-0.03304801508784294,
0.0354112908244133,
0.0211830735206604,
-0.007400421891361475,
0.02484559826552868,
0.016745444387197495,
-0.02355034276843071,
-0.02072894386947155,
-0.07042398303747177,
-0.0397876538336277,
-0.023896140977740288,
-0.00027678452897816896,
0.06770675629377365
] |
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 | 2019-12-29T00:19:38Z | ---
language: it
license: mit
datasets:
- wikipedia
---
# π€ + π dbmdz BERT and ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources Italian BERT and ELECTRA models π
# Italian BERT
The source data for the Italian BERT model consists of a recent Wikipedia dump and
various texts from the [OPUS corpora](http://opus.nlpl.eu/) collection. The final
training corpus has a size of 13GB and 2,050,057,573 tokens.
For sentence splitting, we use NLTK (faster compared to spacy).
Our cased and uncased models are training with an initial sequence length of 512
subwords for ~2-3M steps.
For the XXL Italian models, we use the same training data from OPUS and extend
it with data from the Italian part of the [OSCAR corpus](https://traces1.inria.fr/oscar/).
Thus, the final training corpus has a size of 81GB and 13,138,379,147 tokens.
Note: Unfortunately, a wrong vocab size was used when training the XXL models.
This explains the mismatch of the "real" vocab size of 31102, compared to the
vocab size specified in `config.json`. However, the model is working and all
evaluations were done under those circumstances.
See [this issue](https://github.com/dbmdz/berts/issues/7) for more information.
The Italian ELECTRA model was trained on the "XXL" corpus for 1M steps in total using a batch
size of 128. We pretty much following the ELECTRA training procedure as used for
[BERTurk](https://github.com/stefan-it/turkish-bert/tree/master/electra).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-italian-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/vocab.txt)
| `dbmdz/bert-base-italian-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-discriminator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-generator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-generator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/vocab.txt)
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/italian-bertelectra).
## Usage
With Transformers >= 2.3 our Italian BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the (recommended) Italian XXL BERT models, just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-xxl-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the Italian XXL ELECTRA model (discriminator), just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/electra-base-italian-xxl-cased-discriminator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelWithLMHead.from_pretrained(model_name)
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT/ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.011547722853720188,
-0.013734931126236916,
0.0030822670087218285,
0.057535380125045776,
0.010722064413130283,
0.02304820902645588,
0.007927742786705494,
-0.010190686210989952,
-0.03620022535324097,
0.05364545062184334,
0.02581303007900715,
-0.024656636640429497,
-0.008228032849729061,
0.05321543663740158,
-0.031767506152391434,
-0.02090396359562874,
-0.0016126205446198583,
-0.020555097609758377,
-0.04492839798331261,
-0.012547697871923447,
-0.019542640075087547,
-0.005898171570152044,
0.0028639729134738445,
0.03074050135910511,
0.0013527397532016039,
0.009395911358296871,
-0.01671145297586918,
0.029361244291067123,
0.035957831889390945,
-0.060498956590890884,
0.01895291544497013,
-0.022390779107809067,
-0.042842503637075424,
-0.013569523580372334,
-0.02508079819381237,
-0.021987296640872955,
0.011075681075453758,
-0.010483712889254093,
0.035447463393211365,
0.03659987449645996,
-0.0016637463122606277,
0.018005095422267914,
-0.004625158384442329,
-0.02734127640724182,
0.04151417687535286,
0.0015813165809959173,
-0.05879143625497818,
-0.025171924382448196,
0.017766928300261497,
-0.03267227113246918,
-0.049460519105196,
-0.07391690462827682,
-0.03261793032288551,
0.044682975858449936,
-0.00965031050145626,
-0.022585010156035423,
-0.05894555151462555,
0.011338363401591778,
0.07203557342290878,
-0.05497347190976143,
-0.03642719238996506,
0.033050913363695145,
-0.06010960415005684,
0.028653273358941078,
0.03272412344813347,
-0.011389258317649364,
0.015428518876433372,
-0.04283333197236061,
0.044015638530254364,
-0.013118797913193703,
0.04656375199556351,
-0.029444031417369843,
-0.0009993842104449868,
-0.08351270854473114,
-0.007905371487140656,
-0.024007011204957962,
0.030423050746321678,
0.03845934942364693,
-0.045463524758815765,
0.04819883406162262,
0.026937147602438927,
-0.020930465310811996,
0.033335886895656586,
-0.019695349037647247,
-0.015795202925801277,
0.0687146708369255,
-0.036423902958631516,
0.005133230239152908,
0.0035015202593058348,
0.03747931495308876,
-0.04108881205320358,
-0.01861749403178692,
-0.009839699603617191,
-0.02221795916557312,
0.0025741616263985634,
0.02663867548108101,
0.024774862453341484,
-0.011199386790394783,
0.014399472624063492,
0.04243941605091095,
0.019552011042833328,
0.023660948500037193,
-0.026707060635089874,
0.06642644852399826,
-0.0023972338531166315,
-0.007076863665133715,
-0.019809488207101822,
-0.0377650186419487,
-0.048659518361091614,
0.02079625613987446,
0.021318908780813217,
-0.0332680270075798,
-0.047463309019804,
0.04939308017492294,
0.016366375610232353,
-0.03538815677165985,
0.05336379632353783,
-0.016620999202132225,
-0.0328885093331337,
-0.05225793644785881,
0.02595137432217598,
-0.004643169231712818,
0.0016968224663287401,
0.014487615786492825,
-0.05900835245847702,
0.020907720550894737,
-0.037312544882297516,
-0.02638976275920868,
0.020053058862686157,
0.02031262405216694,
-0.01396195963025093,
0.048884421586990356,
0.025870224460959435,
-0.06967675685882568,
0.0032455113250762224,
-0.002473200438544154,
-0.05901035666465759,
0.058893509209156036,
0.04211445897817612,
0.13350924849510193,
-0.03920420631766319,
-0.015968110412359238,
0.0012716922210529447,
0.015661267563700676,
-0.017154308035969734,
0.004150717984884977,
0.021223871037364006,
-0.056679148226976395,
-0.005002723541110754,
0.0029151039198040962,
0.031899213790893555,
-0.035893313586711884,
-0.003915545530617237,
0.0685986876487732,
-0.01663687452673912,
0.035226818174123764,
-0.05211133509874344,
-0.01420399360358715,
0.0004815814027097076,
-0.004825676791369915,
-0.03958312049508095,
0.025539593771100044,
-0.011122963391244411,
-0.016056420281529427,
-0.024746350944042206,
-0.04585244879126549,
0.01617479883134365,
0.11590001732110977,
0.0015522356843575835,
-0.03744468092918396,
-0.031454794108867645,
0.016816068440675735,
0.05197523906826973,
0.023705266416072845,
-0.033193670213222504,
0.04912790656089783,
0.03696304187178612,
0.029945725575089455,
-0.02093825489282608,
0.052759718149900436,
-0.00030775927007198334,
-0.04204775393009186,
-0.02922631800174713,
0.022566352039575577,
0.00930838380008936,
-0.04443127289414406,
0.012194263748824596,
0.05068804323673248,
-0.005330122075974941,
-0.021352600306272507,
-0.02032581903040409,
0.06871463358402252,
-0.00892995297908783,
0.005707814823836088,
0.030907485634088516,
-0.004644350148737431,
-0.04547897353768349,
0.048844944685697556,
-0.0321684367954731,
-0.012875465676188469,
-0.006494391709566116,
-0.02962900884449482,
-0.0004975606570951641,
0.03667813539505005,
0.04373781755566597,
0.054732613265514374,
-0.0026753712445497513,
0.09628681093454361,
-0.04404321312904358,
0.003699135035276413,
-0.035269152373075485,
-0.05889487639069557,
-0.011321497149765491,
0.05981668829917908,
0.033799875527620316,
0.040235474705696106,
-0.0025424743071198463,
-0.041697874665260315,
0.012368476018309593,
0.06278964132070541,
0.05064374953508377,
0.02370494417846203,
-0.03614797815680504,
-0.02242237702012062,
0.027491627261042595,
0.06193903088569641,
-0.04152340814471245,
-0.04724337160587311,
0.022502703592181206,
0.03818949684500694,
-0.023655500262975693,
0.030271511524915695,
-0.003630844410508871,
0.00815588515251875,
-0.02516568824648857,
-0.04973943531513214,
0.0420304574072361,
0.02863151580095291,
-0.004311488475650549,
0.02037513256072998,
-0.011317563243210316,
-0.006587741430848837,
-0.003117009298875928,
0.009561149403452873,
-0.004117740783840418,
-0.04643037170171738,
0.01158325094729662,
0.02520311065018177,
0.06099119037389755,
-0.046592745929956436,
0.03635112941265106,
-0.004223423544317484,
0.01650860160589218,
0.014087644405663013,
-0.04399900510907173,
0.03118267096579075,
0.03589145839214325,
0.02229788340628147,
-0.04826149716973305,
0.0029322567861527205,
0.004088648594915867,
0.03788129612803459,
0.05541551113128662,
0.010489887557923794,
0.06313807517290115,
0.02638138271868229,
0.05272909626364708,
0.07691031694412231,
0.013616304844617844,
0.021143997088074684,
0.04990895465016365,
0.079676054418087,
0.004165891092270613,
-0.01724366284906864,
0.08265853673219681,
-0.04097442328929901,
-0.0019468674436211586,
-0.04019777849316597,
0.01035258173942566,
0.02167433127760887,
-0.011231980286538601,
0.03691859915852547,
0.004483383614569902,
0.007006413768976927,
0.005081666633486748,
-0.0016859619645401835,
-0.0075792064890265465,
0.058430857956409454,
-0.018796714022755623,
0.008991439826786518,
-0.004287497140467167,
-0.034404464066028595,
0.008943138644099236,
-0.06367072463035583,
-0.062379445880651474,
0.001871189335361123,
-0.037359025329351425,
-0.007036380469799042,
-0.09155117720365524,
-0.04213307052850723,
-0.07892005145549774,
-0.007366158999502659,
0.028714388608932495,
0.010661650449037552,
0.0008117943652905524,
-0.01134091429412365,
0.008238776586949825,
-0.03214511647820473,
-0.028278233483433723,
-0.055179473012685776,
-0.040563903748989105,
-0.05638767406344414,
-0.06656987965106964,
0.030417878180742264,
0.014659710228443146,
0.024608954787254333,
-0.000945328501984477,
0.01343767810612917,
-0.023724712431430817,
-0.03453333303332329,
0.04914283752441406,
0.043224677443504333,
-0.03844153508543968,
-0.03775811940431595,
0.017848726361989975,
-0.007061856333166361,
0.025872711092233658,
-0.006019830238074064,
-0.03267543017864227,
0.07203768193721771,
0.060920652002096176,
0.013610044494271278,
0.011946646496653557,
-0.0001541404490126297,
-0.06571264564990997,
-0.06397466361522675,
-0.04029843211174011,
-0.02345176227390766,
0.004671172238886356,
-0.019048701971769333,
-0.04084017127752304,
-0.04208558797836304,
-0.04283510521054268,
0.019156310707330704,
-0.009263016283512115,
0.008951199240982533,
0.012794860638678074,
0.03656366094946861,
0.040068864822387695,
0.02906842529773712,
-0.04818260669708252,
-0.0017234731931239367,
0.07174224406480789,
0.025359218940138817,
-0.009517966769635677,
-0.07177793234586716,
-0.022951342165470123,
0.03317742049694061,
0.045527566224336624,
-0.011246103793382645,
-0.0101823341101408,
0.07416839897632599,
0.03166140615940094,
-0.0034077418968081474,
-0.021125871688127518,
-0.00843549333512783,
-0.049371492117643356,
0.01973596401512623,
0.01358844991773367,
-0.022684475407004356,
-0.043557967990636826,
-0.0198178943246603,
0.0166458860039711,
0.048316389322280884,
-0.06782432645559311,
-0.047554291784763336,
-0.0066671231761574745,
0.03914635255932808,
0.009934671223163605,
0.03037973865866661,
-0.051107775419950485,
0.010043196380138397,
-0.02664756588637829,
-0.04287025332450867,
0.015054848976433277,
-0.01027423981577158,
0.02495686523616314,
0.06172053515911102,
0.029068108648061752,
-0.019633280113339424,
0.04851345717906952,
0.02776198275387287,
0.05431126058101654,
0.01184551976621151,
-0.04222143441438675,
0.033429067581892014,
-0.04600270837545395,
0.0032612630166113377,
0.0150451073423028,
-0.03297184780240059,
-0.051225606352090836,
-0.06946925818920135,
-0.0013542032102122903,
0.007972883060574532,
0.0005206031491979957,
-0.0026864693500101566,
0.027321480214595795,
-0.014790931716561317,
-0.029420047998428345,
0.00022693743812851608,
0.009231358766555786,
0.03603353723883629,
-0.05260851979255676,
0.08282413333654404,
-0.0006339843384921551,
0.014693818986415863,
-0.06997860223054886,
0.008666682057082653,
-0.03541042283177376,
-0.0364408902823925,
0.00797013845294714,
0.06312959641218185,
0.020851928740739822,
0.040313221514225006,
0.10016781091690063,
0.039442770183086395,
-0.04221693426370621,
0.06052052602171898,
0.013803145848214626,
0.0095676239579916,
-0.027747754007577896,
-0.020564408972859383,
-0.018951531499624252,
-0.02249593660235405,
-0.005578681826591492,
-0.012414723634719849,
0.012763547711074352,
0.013853647746145725,
0.004093887284398079,
-0.021766964346170425,
-0.0018147401278838515,
-0.01181130949407816,
-0.02169201150536537,
-0.07433800399303436,
-0.022272946313023567,
-0.009060312062501907,
-0.010894822888076305,
0.03211088106036186,
0.03155834600329399,
0.004302681423723698,
0.05769561976194382,
0.039055801928043365,
-0.019798455759882927,
-0.044827401638031006,
0.024790223687887192,
0.03652995452284813,
-0.05147043988108635,
-0.07412739843130112,
-0.041756678372621536,
0.037292513996362686,
0.044427115470170975,
-0.004832268692553043,
-0.1006069928407669,
-0.0047368439845740795,
0.05296554043889046,
-0.0426972322165966,
0.04845944046974182,
-0.006459962110966444,
0.05403199419379234,
0.06112135201692581,
-0.023040641099214554,
0.008531764149665833,
-0.02885298989713192,
-0.001150702009908855,
-0.006220357958227396,
0.04778241738677025,
-0.042759496718645096,
-0.0498543307185173,
-0.04647095128893852,
0.04992734640836716,
0.03260073438286781,
0.0438743494451046,
0.03440592437982559,
-0.021810846403241158,
-0.045066721737384796,
0.008399597369134426,
0.05349018797278404,
-0.05656024441123009,
-0.0029352563433349133,
0.03405920788645744,
0.038768090307712555,
-0.058582570403814316,
-0.042913567274808884,
-0.022100692614912987,
-0.009080243296921253,
0.03233088180422783,
0.014862515032291412,
-0.026525454595685005,
-0.0733795017004013,
0.00584358349442482,
-0.011966061778366566,
-0.0253891684114933,
-0.0904686450958252,
0.02270033396780491,
-0.008221929892897606,
-0.024292659014463425,
0.05767427757382393,
0.031568773090839386,
0.023457415401935577,
0.03950909152626991,
-0.010759125463664532,
-0.009490878321230412,
-0.05061429366469383,
0.03433771803975105,
-0.02380872517824173,
0.01570957899093628,
-0.010648494586348534,
-0.03417878970503807,
-0.011415066197514534,
-0.03105034865438938,
-0.05187824368476868,
-0.049581728875637054,
0.015271239914000034,
0.03298269212245941,
-0.020996132865548134,
-0.002416758332401514,
-0.015002371743321419,
0.05331574007868767,
-0.03844534233212471,
-0.030263155698776245,
-0.03246889263391495,
-0.028591375797986984,
-0.06360974907875061,
-0.02955116517841816,
0.01303817331790924,
0.01652616448700428,
0.04234447702765465,
0.005687361117452383,
0.01185406744480133,
-0.013910695910453796,
-0.003385506570339203,
-0.026827698573470116,
0.01480063609778881,
0.0055409930646419525,
-0.03501065447926521,
-0.04701044410467148,
0.02156909741461277,
0.024240439757704735,
0.027067672461271286,
-0.04376966133713722,
0.0321456678211689,
0.01335216872394085,
-0.024993298575282097,
-0.021806444972753525,
-0.004344726912677288,
0.006926125846803188,
-0.0885407030582428,
-0.05235705524682999,
-0.015048518776893616,
-0.03979475796222687,
0.04791181907057762,
-0.023571835830807686,
-0.008160161785781384,
0.01411269698292017,
0.03020772896707058,
0.02647179551422596,
0.0023987232707440853,
-0.03209904581308365,
0.008532644249498844,
-0.028611645102500916,
0.011261858977377415,
-0.07297198474407196,
0.029712505638599396,
-0.027587898075580597,
0.006975040305405855,
-0.011274461634457111,
0.007581544108688831,
-0.03709813579916954,
0.0436873584985733,
-0.01021397765725851,
-0.009421086870133877,
-0.009995907545089722,
0.011346934363245964,
-0.025408880785107613,
0.02509475313127041,
-0.023470908403396606,
0.021028360351920128,
-0.0004229959740769118,
0.06244773790240288,
-0.0464206263422966,
-0.009124855510890484,
-0.02895120531320572,
0.012316213920712471,
-0.04615705460309982,
-0.002811963204294443,
-0.0067320396192371845,
-0.027457179501652718,
0.006295050028711557,
0.03236071765422821,
0.04264508932828903,
0.01588819921016693,
-0.0444965660572052,
0.018286557868123055,
0.012087609618902206,
-0.06463361531496048,
-0.02826923318207264,
0.0016096075996756554,
0.009974409826099873,
0.004467649385333061,
0.069403275847435,
0.05776304751634598,
-0.07181371748447418,
-0.05765027552843094,
0.02751205302774906,
0.008647717535495758,
0.001707863761112094,
0.008899438194930553,
0.018659166991710663,
0.021930625662207603,
0.051355913281440735,
-0.03640366718173027,
-0.018337754532694817,
-0.019057229161262512,
-0.019624635577201843,
-0.0006881735753268003,
0.014506631530821323,
0.015820197761058807,
0.015771448612213135,
-0.017817415297031403,
-0.04056527838110924,
0.06064789742231369,
0.014908920042216778,
0.025819243863224983,
-0.005392113700509071,
-0.05006248876452446,
0.02628314681351185,
0.006497506517916918,
-0.06365162879228592,
0.013355499133467674,
0.018772050738334656,
-0.04405564069747925,
0.055449940264225006,
-0.0009365198784507811,
0.014807811006903648,
0.060733165591955185,
0.02949116751551628,
-0.040103182196617126,
0.04275871440768242,
-0.01934034377336502,
-0.01135869137942791,
0.03636251389980316,
-0.047380365431308746,
-0.01307801716029644,
-0.027077095583081245,
0.08271033316850662,
-0.042281899601221085,
0.05073906108736992,
0.04561242088675499,
0.016588149592280388,
0.03637213259935379,
-0.051127731800079346,
-0.009927391074597836,
0.019683195278048515,
-0.038729529827833176,
0.07911433279514313,
0.006301513407379389,
-0.06677906960248947,
0.08018063753843307,
0.016353925690054893,
-0.06023852154612541,
0.05109461024403572,
0.03302716091275215,
0.03085501492023468,
0.037643175572156906,
0.04053572937846184,
-0.039721351116895676,
0.008520028553903103,
-0.042638808488845825,
0.01506580039858818,
-0.056855086237192154,
-0.007144493982195854,
0.014722672291100025,
-0.025787631049752235,
-0.0023613115772604942,
0.03195451572537422,
-0.007828043773770332,
0.0036814508493989706,
0.0300441887229681,
-0.049821723252534866,
-0.034060943871736526,
-0.0001447670947527513,
0.02197028137743473,
-0.027257164940238,
-0.0018657908076420426,
-0.01781225949525833,
0.030597325414419174,
0.0012427970068529248,
0.0017195285763591528,
-0.03067178837954998,
0.004126801621168852,
0.014905624091625214,
-0.07614389061927795,
-0.06901287287473679,
0.025774890556931496,
0.01495298184454441,
-0.03664061427116394,
0.037243086844682693,
-0.02010137028992176,
-0.0005466056172735989,
0.031242158263921738,
0.002237144857645035,
-0.00844726711511612,
-0.029132233932614326,
-0.013437574729323387,
0.010471764020621777,
0.014800246804952621,
0.04611358419060707,
-0.00830563809722662,
0.019563043490052223,
0.013763010501861572,
0.04927801713347435,
-0.013626374304294586,
-0.05266151577234268,
-0.033221445977687836,
0.0357682928442955,
-0.040612366050481796,
-0.0044485717080533504,
-0.0030929746571928263,
-0.06619814783334732,
-0.029399776831269264,
-0.01673080213367939,
0.001020007417537272,
0.037377819418907166,
-0.061972297728061676,
0.029453616589307785,
0.014302771538496017,
-0.012167418375611305,
-0.053221479058265686,
-0.08738125115633011,
-0.02555602416396141,
-0.01612512767314911,
0.008380647748708725,
0.007192051969468594,
-0.028483692556619644,
0.034356966614723206,
-0.043210189789533615,
-0.05771131440997124,
0.0528927817940712,
0.017504505813121796,
-0.057089097797870636,
0.06940294057130814,
0.04992610961198807,
-0.05491572618484497,
0.010505030862987041,
0.061136394739151,
-0.03304801508784294,
0.0354112908244133,
0.0211830735206604,
-0.007400421891361475,
0.02484559826552868,
0.016745444387197495,
-0.02355034276843071,
-0.02072894386947155,
-0.07042398303747177,
-0.0397876538336277,
-0.023896140977740288,
-0.00027678452897816896,
0.06770675629377365
] |
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 | ---
language: it
license: mit
datasets:
- wikipedia
---
# π€ + π dbmdz BERT and ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources Italian BERT and ELECTRA models π
# Italian BERT
The source data for the Italian BERT model consists of a recent Wikipedia dump and
various texts from the [OPUS corpora](http://opus.nlpl.eu/) collection. The final
training corpus has a size of 13GB and 2,050,057,573 tokens.
For sentence splitting, we use NLTK (faster compared to spacy).
Our cased and uncased models are training with an initial sequence length of 512
subwords for ~2-3M steps.
For the XXL Italian models, we use the same training data from OPUS and extend
it with data from the Italian part of the [OSCAR corpus](https://traces1.inria.fr/oscar/).
Thus, the final training corpus has a size of 81GB and 13,138,379,147 tokens.
Note: Unfortunately, a wrong vocab size was used when training the XXL models.
This explains the mismatch of the "real" vocab size of 31102, compared to the
vocab size specified in `config.json`. However, the model is working and all
evaluations were done under those circumstances.
See [this issue](https://github.com/dbmdz/berts/issues/7) for more information.
The Italian ELECTRA model was trained on the "XXL" corpus for 1M steps in total using a batch
size of 128. We pretty much following the ELECTRA training procedure as used for
[BERTurk](https://github.com/stefan-it/turkish-bert/tree/master/electra).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-italian-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/vocab.txt)
| `dbmdz/bert-base-italian-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-discriminator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-generator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-generator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/vocab.txt)
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/italian-bertelectra).
## Usage
With Transformers >= 2.3 our Italian BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the (recommended) Italian XXL BERT models, just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-xxl-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the Italian XXL ELECTRA model (discriminator), just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/electra-base-italian-xxl-cased-discriminator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelWithLMHead.from_pretrained(model_name)
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT/ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.011547722853720188,
-0.013734931126236916,
0.0030822670087218285,
0.057535380125045776,
0.010722064413130283,
0.02304820902645588,
0.007927742786705494,
-0.010190686210989952,
-0.03620022535324097,
0.05364545062184334,
0.02581303007900715,
-0.024656636640429497,
-0.008228032849729061,
0.05321543663740158,
-0.031767506152391434,
-0.02090396359562874,
-0.0016126205446198583,
-0.020555097609758377,
-0.04492839798331261,
-0.012547697871923447,
-0.019542640075087547,
-0.005898171570152044,
0.0028639729134738445,
0.03074050135910511,
0.0013527397532016039,
0.009395911358296871,
-0.01671145297586918,
0.029361244291067123,
0.035957831889390945,
-0.060498956590890884,
0.01895291544497013,
-0.022390779107809067,
-0.042842503637075424,
-0.013569523580372334,
-0.02508079819381237,
-0.021987296640872955,
0.011075681075453758,
-0.010483712889254093,
0.035447463393211365,
0.03659987449645996,
-0.0016637463122606277,
0.018005095422267914,
-0.004625158384442329,
-0.02734127640724182,
0.04151417687535286,
0.0015813165809959173,
-0.05879143625497818,
-0.025171924382448196,
0.017766928300261497,
-0.03267227113246918,
-0.049460519105196,
-0.07391690462827682,
-0.03261793032288551,
0.044682975858449936,
-0.00965031050145626,
-0.022585010156035423,
-0.05894555151462555,
0.011338363401591778,
0.07203557342290878,
-0.05497347190976143,
-0.03642719238996506,
0.033050913363695145,
-0.06010960415005684,
0.028653273358941078,
0.03272412344813347,
-0.011389258317649364,
0.015428518876433372,
-0.04283333197236061,
0.044015638530254364,
-0.013118797913193703,
0.04656375199556351,
-0.029444031417369843,
-0.0009993842104449868,
-0.08351270854473114,
-0.007905371487140656,
-0.024007011204957962,
0.030423050746321678,
0.03845934942364693,
-0.045463524758815765,
0.04819883406162262,
0.026937147602438927,
-0.020930465310811996,
0.033335886895656586,
-0.019695349037647247,
-0.015795202925801277,
0.0687146708369255,
-0.036423902958631516,
0.005133230239152908,
0.0035015202593058348,
0.03747931495308876,
-0.04108881205320358,
-0.01861749403178692,
-0.009839699603617191,
-0.02221795916557312,
0.0025741616263985634,
0.02663867548108101,
0.024774862453341484,
-0.011199386790394783,
0.014399472624063492,
0.04243941605091095,
0.019552011042833328,
0.023660948500037193,
-0.026707060635089874,
0.06642644852399826,
-0.0023972338531166315,
-0.007076863665133715,
-0.019809488207101822,
-0.0377650186419487,
-0.048659518361091614,
0.02079625613987446,
0.021318908780813217,
-0.0332680270075798,
-0.047463309019804,
0.04939308017492294,
0.016366375610232353,
-0.03538815677165985,
0.05336379632353783,
-0.016620999202132225,
-0.0328885093331337,
-0.05225793644785881,
0.02595137432217598,
-0.004643169231712818,
0.0016968224663287401,
0.014487615786492825,
-0.05900835245847702,
0.020907720550894737,
-0.037312544882297516,
-0.02638976275920868,
0.020053058862686157,
0.02031262405216694,
-0.01396195963025093,
0.048884421586990356,
0.025870224460959435,
-0.06967675685882568,
0.0032455113250762224,
-0.002473200438544154,
-0.05901035666465759,
0.058893509209156036,
0.04211445897817612,
0.13350924849510193,
-0.03920420631766319,
-0.015968110412359238,
0.0012716922210529447,
0.015661267563700676,
-0.017154308035969734,
0.004150717984884977,
0.021223871037364006,
-0.056679148226976395,
-0.005002723541110754,
0.0029151039198040962,
0.031899213790893555,
-0.035893313586711884,
-0.003915545530617237,
0.0685986876487732,
-0.01663687452673912,
0.035226818174123764,
-0.05211133509874344,
-0.01420399360358715,
0.0004815814027097076,
-0.004825676791369915,
-0.03958312049508095,
0.025539593771100044,
-0.011122963391244411,
-0.016056420281529427,
-0.024746350944042206,
-0.04585244879126549,
0.01617479883134365,
0.11590001732110977,
0.0015522356843575835,
-0.03744468092918396,
-0.031454794108867645,
0.016816068440675735,
0.05197523906826973,
0.023705266416072845,
-0.033193670213222504,
0.04912790656089783,
0.03696304187178612,
0.029945725575089455,
-0.02093825489282608,
0.052759718149900436,
-0.00030775927007198334,
-0.04204775393009186,
-0.02922631800174713,
0.022566352039575577,
0.00930838380008936,
-0.04443127289414406,
0.012194263748824596,
0.05068804323673248,
-0.005330122075974941,
-0.021352600306272507,
-0.02032581903040409,
0.06871463358402252,
-0.00892995297908783,
0.005707814823836088,
0.030907485634088516,
-0.004644350148737431,
-0.04547897353768349,
0.048844944685697556,
-0.0321684367954731,
-0.012875465676188469,
-0.006494391709566116,
-0.02962900884449482,
-0.0004975606570951641,
0.03667813539505005,
0.04373781755566597,
0.054732613265514374,
-0.0026753712445497513,
0.09628681093454361,
-0.04404321312904358,
0.003699135035276413,
-0.035269152373075485,
-0.05889487639069557,
-0.011321497149765491,
0.05981668829917908,
0.033799875527620316,
0.040235474705696106,
-0.0025424743071198463,
-0.041697874665260315,
0.012368476018309593,
0.06278964132070541,
0.05064374953508377,
0.02370494417846203,
-0.03614797815680504,
-0.02242237702012062,
0.027491627261042595,
0.06193903088569641,
-0.04152340814471245,
-0.04724337160587311,
0.022502703592181206,
0.03818949684500694,
-0.023655500262975693,
0.030271511524915695,
-0.003630844410508871,
0.00815588515251875,
-0.02516568824648857,
-0.04973943531513214,
0.0420304574072361,
0.02863151580095291,
-0.004311488475650549,
0.02037513256072998,
-0.011317563243210316,
-0.006587741430848837,
-0.003117009298875928,
0.009561149403452873,
-0.004117740783840418,
-0.04643037170171738,
0.01158325094729662,
0.02520311065018177,
0.06099119037389755,
-0.046592745929956436,
0.03635112941265106,
-0.004223423544317484,
0.01650860160589218,
0.014087644405663013,
-0.04399900510907173,
0.03118267096579075,
0.03589145839214325,
0.02229788340628147,
-0.04826149716973305,
0.0029322567861527205,
0.004088648594915867,
0.03788129612803459,
0.05541551113128662,
0.010489887557923794,
0.06313807517290115,
0.02638138271868229,
0.05272909626364708,
0.07691031694412231,
0.013616304844617844,
0.021143997088074684,
0.04990895465016365,
0.079676054418087,
0.004165891092270613,
-0.01724366284906864,
0.08265853673219681,
-0.04097442328929901,
-0.0019468674436211586,
-0.04019777849316597,
0.01035258173942566,
0.02167433127760887,
-0.011231980286538601,
0.03691859915852547,
0.004483383614569902,
0.007006413768976927,
0.005081666633486748,
-0.0016859619645401835,
-0.0075792064890265465,
0.058430857956409454,
-0.018796714022755623,
0.008991439826786518,
-0.004287497140467167,
-0.034404464066028595,
0.008943138644099236,
-0.06367072463035583,
-0.062379445880651474,
0.001871189335361123,
-0.037359025329351425,
-0.007036380469799042,
-0.09155117720365524,
-0.04213307052850723,
-0.07892005145549774,
-0.007366158999502659,
0.028714388608932495,
0.010661650449037552,
0.0008117943652905524,
-0.01134091429412365,
0.008238776586949825,
-0.03214511647820473,
-0.028278233483433723,
-0.055179473012685776,
-0.040563903748989105,
-0.05638767406344414,
-0.06656987965106964,
0.030417878180742264,
0.014659710228443146,
0.024608954787254333,
-0.000945328501984477,
0.01343767810612917,
-0.023724712431430817,
-0.03453333303332329,
0.04914283752441406,
0.043224677443504333,
-0.03844153508543968,
-0.03775811940431595,
0.017848726361989975,
-0.007061856333166361,
0.025872711092233658,
-0.006019830238074064,
-0.03267543017864227,
0.07203768193721771,
0.060920652002096176,
0.013610044494271278,
0.011946646496653557,
-0.0001541404490126297,
-0.06571264564990997,
-0.06397466361522675,
-0.04029843211174011,
-0.02345176227390766,
0.004671172238886356,
-0.019048701971769333,
-0.04084017127752304,
-0.04208558797836304,
-0.04283510521054268,
0.019156310707330704,
-0.009263016283512115,
0.008951199240982533,
0.012794860638678074,
0.03656366094946861,
0.040068864822387695,
0.02906842529773712,
-0.04818260669708252,
-0.0017234731931239367,
0.07174224406480789,
0.025359218940138817,
-0.009517966769635677,
-0.07177793234586716,
-0.022951342165470123,
0.03317742049694061,
0.045527566224336624,
-0.011246103793382645,
-0.0101823341101408,
0.07416839897632599,
0.03166140615940094,
-0.0034077418968081474,
-0.021125871688127518,
-0.00843549333512783,
-0.049371492117643356,
0.01973596401512623,
0.01358844991773367,
-0.022684475407004356,
-0.043557967990636826,
-0.0198178943246603,
0.0166458860039711,
0.048316389322280884,
-0.06782432645559311,
-0.047554291784763336,
-0.0066671231761574745,
0.03914635255932808,
0.009934671223163605,
0.03037973865866661,
-0.051107775419950485,
0.010043196380138397,
-0.02664756588637829,
-0.04287025332450867,
0.015054848976433277,
-0.01027423981577158,
0.02495686523616314,
0.06172053515911102,
0.029068108648061752,
-0.019633280113339424,
0.04851345717906952,
0.02776198275387287,
0.05431126058101654,
0.01184551976621151,
-0.04222143441438675,
0.033429067581892014,
-0.04600270837545395,
0.0032612630166113377,
0.0150451073423028,
-0.03297184780240059,
-0.051225606352090836,
-0.06946925818920135,
-0.0013542032102122903,
0.007972883060574532,
0.0005206031491979957,
-0.0026864693500101566,
0.027321480214595795,
-0.014790931716561317,
-0.029420047998428345,
0.00022693743812851608,
0.009231358766555786,
0.03603353723883629,
-0.05260851979255676,
0.08282413333654404,
-0.0006339843384921551,
0.014693818986415863,
-0.06997860223054886,
0.008666682057082653,
-0.03541042283177376,
-0.0364408902823925,
0.00797013845294714,
0.06312959641218185,
0.020851928740739822,
0.040313221514225006,
0.10016781091690063,
0.039442770183086395,
-0.04221693426370621,
0.06052052602171898,
0.013803145848214626,
0.0095676239579916,
-0.027747754007577896,
-0.020564408972859383,
-0.018951531499624252,
-0.02249593660235405,
-0.005578681826591492,
-0.012414723634719849,
0.012763547711074352,
0.013853647746145725,
0.004093887284398079,
-0.021766964346170425,
-0.0018147401278838515,
-0.01181130949407816,
-0.02169201150536537,
-0.07433800399303436,
-0.022272946313023567,
-0.009060312062501907,
-0.010894822888076305,
0.03211088106036186,
0.03155834600329399,
0.004302681423723698,
0.05769561976194382,
0.039055801928043365,
-0.019798455759882927,
-0.044827401638031006,
0.024790223687887192,
0.03652995452284813,
-0.05147043988108635,
-0.07412739843130112,
-0.041756678372621536,
0.037292513996362686,
0.044427115470170975,
-0.004832268692553043,
-0.1006069928407669,
-0.0047368439845740795,
0.05296554043889046,
-0.0426972322165966,
0.04845944046974182,
-0.006459962110966444,
0.05403199419379234,
0.06112135201692581,
-0.023040641099214554,
0.008531764149665833,
-0.02885298989713192,
-0.001150702009908855,
-0.006220357958227396,
0.04778241738677025,
-0.042759496718645096,
-0.0498543307185173,
-0.04647095128893852,
0.04992734640836716,
0.03260073438286781,
0.0438743494451046,
0.03440592437982559,
-0.021810846403241158,
-0.045066721737384796,
0.008399597369134426,
0.05349018797278404,
-0.05656024441123009,
-0.0029352563433349133,
0.03405920788645744,
0.038768090307712555,
-0.058582570403814316,
-0.042913567274808884,
-0.022100692614912987,
-0.009080243296921253,
0.03233088180422783,
0.014862515032291412,
-0.026525454595685005,
-0.0733795017004013,
0.00584358349442482,
-0.011966061778366566,
-0.0253891684114933,
-0.0904686450958252,
0.02270033396780491,
-0.008221929892897606,
-0.024292659014463425,
0.05767427757382393,
0.031568773090839386,
0.023457415401935577,
0.03950909152626991,
-0.010759125463664532,
-0.009490878321230412,
-0.05061429366469383,
0.03433771803975105,
-0.02380872517824173,
0.01570957899093628,
-0.010648494586348534,
-0.03417878970503807,
-0.011415066197514534,
-0.03105034865438938,
-0.05187824368476868,
-0.049581728875637054,
0.015271239914000034,
0.03298269212245941,
-0.020996132865548134,
-0.002416758332401514,
-0.015002371743321419,
0.05331574007868767,
-0.03844534233212471,
-0.030263155698776245,
-0.03246889263391495,
-0.028591375797986984,
-0.06360974907875061,
-0.02955116517841816,
0.01303817331790924,
0.01652616448700428,
0.04234447702765465,
0.005687361117452383,
0.01185406744480133,
-0.013910695910453796,
-0.003385506570339203,
-0.026827698573470116,
0.01480063609778881,
0.0055409930646419525,
-0.03501065447926521,
-0.04701044410467148,
0.02156909741461277,
0.024240439757704735,
0.027067672461271286,
-0.04376966133713722,
0.0321456678211689,
0.01335216872394085,
-0.024993298575282097,
-0.021806444972753525,
-0.004344726912677288,
0.006926125846803188,
-0.0885407030582428,
-0.05235705524682999,
-0.015048518776893616,
-0.03979475796222687,
0.04791181907057762,
-0.023571835830807686,
-0.008160161785781384,
0.01411269698292017,
0.03020772896707058,
0.02647179551422596,
0.0023987232707440853,
-0.03209904581308365,
0.008532644249498844,
-0.028611645102500916,
0.011261858977377415,
-0.07297198474407196,
0.029712505638599396,
-0.027587898075580597,
0.006975040305405855,
-0.011274461634457111,
0.007581544108688831,
-0.03709813579916954,
0.0436873584985733,
-0.01021397765725851,
-0.009421086870133877,
-0.009995907545089722,
0.011346934363245964,
-0.025408880785107613,
0.02509475313127041,
-0.023470908403396606,
0.021028360351920128,
-0.0004229959740769118,
0.06244773790240288,
-0.0464206263422966,
-0.009124855510890484,
-0.02895120531320572,
0.012316213920712471,
-0.04615705460309982,
-0.002811963204294443,
-0.0067320396192371845,
-0.027457179501652718,
0.006295050028711557,
0.03236071765422821,
0.04264508932828903,
0.01588819921016693,
-0.0444965660572052,
0.018286557868123055,
0.012087609618902206,
-0.06463361531496048,
-0.02826923318207264,
0.0016096075996756554,
0.009974409826099873,
0.004467649385333061,
0.069403275847435,
0.05776304751634598,
-0.07181371748447418,
-0.05765027552843094,
0.02751205302774906,
0.008647717535495758,
0.001707863761112094,
0.008899438194930553,
0.018659166991710663,
0.021930625662207603,
0.051355913281440735,
-0.03640366718173027,
-0.018337754532694817,
-0.019057229161262512,
-0.019624635577201843,
-0.0006881735753268003,
0.014506631530821323,
0.015820197761058807,
0.015771448612213135,
-0.017817415297031403,
-0.04056527838110924,
0.06064789742231369,
0.014908920042216778,
0.025819243863224983,
-0.005392113700509071,
-0.05006248876452446,
0.02628314681351185,
0.006497506517916918,
-0.06365162879228592,
0.013355499133467674,
0.018772050738334656,
-0.04405564069747925,
0.055449940264225006,
-0.0009365198784507811,
0.014807811006903648,
0.060733165591955185,
0.02949116751551628,
-0.040103182196617126,
0.04275871440768242,
-0.01934034377336502,
-0.01135869137942791,
0.03636251389980316,
-0.047380365431308746,
-0.01307801716029644,
-0.027077095583081245,
0.08271033316850662,
-0.042281899601221085,
0.05073906108736992,
0.04561242088675499,
0.016588149592280388,
0.03637213259935379,
-0.051127731800079346,
-0.009927391074597836,
0.019683195278048515,
-0.038729529827833176,
0.07911433279514313,
0.006301513407379389,
-0.06677906960248947,
0.08018063753843307,
0.016353925690054893,
-0.06023852154612541,
0.05109461024403572,
0.03302716091275215,
0.03085501492023468,
0.037643175572156906,
0.04053572937846184,
-0.039721351116895676,
0.008520028553903103,
-0.042638808488845825,
0.01506580039858818,
-0.056855086237192154,
-0.007144493982195854,
0.014722672291100025,
-0.025787631049752235,
-0.0023613115772604942,
0.03195451572537422,
-0.007828043773770332,
0.0036814508493989706,
0.0300441887229681,
-0.049821723252534866,
-0.034060943871736526,
-0.0001447670947527513,
0.02197028137743473,
-0.027257164940238,
-0.0018657908076420426,
-0.01781225949525833,
0.030597325414419174,
0.0012427970068529248,
0.0017195285763591528,
-0.03067178837954998,
0.004126801621168852,
0.014905624091625214,
-0.07614389061927795,
-0.06901287287473679,
0.025774890556931496,
0.01495298184454441,
-0.03664061427116394,
0.037243086844682693,
-0.02010137028992176,
-0.0005466056172735989,
0.031242158263921738,
0.002237144857645035,
-0.00844726711511612,
-0.029132233932614326,
-0.013437574729323387,
0.010471764020621777,
0.014800246804952621,
0.04611358419060707,
-0.00830563809722662,
0.019563043490052223,
0.013763010501861572,
0.04927801713347435,
-0.013626374304294586,
-0.05266151577234268,
-0.033221445977687836,
0.0357682928442955,
-0.040612366050481796,
-0.0044485717080533504,
-0.0030929746571928263,
-0.06619814783334732,
-0.029399776831269264,
-0.01673080213367939,
0.001020007417537272,
0.037377819418907166,
-0.061972297728061676,
0.029453616589307785,
0.014302771538496017,
-0.012167418375611305,
-0.053221479058265686,
-0.08738125115633011,
-0.02555602416396141,
-0.01612512767314911,
0.008380647748708725,
0.007192051969468594,
-0.028483692556619644,
0.034356966614723206,
-0.043210189789533615,
-0.05771131440997124,
0.0528927817940712,
0.017504505813121796,
-0.057089097797870636,
0.06940294057130814,
0.04992610961198807,
-0.05491572618484497,
0.010505030862987041,
0.061136394739151,
-0.03304801508784294,
0.0354112908244133,
0.0211830735206604,
-0.007400421891361475,
0.02484559826552868,
0.016745444387197495,
-0.02355034276843071,
-0.02072894386947155,
-0.07042398303747177,
-0.0397876538336277,
-0.023896140977740288,
-0.00027678452897816896,
0.06770675629377365
] |
BigSalmon/MrLincoln13 | [
"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 | ---
language: it
license: mit
datasets:
- wikipedia
---
# π€ + π dbmdz BERT and ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources Italian BERT and ELECTRA models π
# Italian BERT
The source data for the Italian BERT model consists of a recent Wikipedia dump and
various texts from the [OPUS corpora](http://opus.nlpl.eu/) collection. The final
training corpus has a size of 13GB and 2,050,057,573 tokens.
For sentence splitting, we use NLTK (faster compared to spacy).
Our cased and uncased models are training with an initial sequence length of 512
subwords for ~2-3M steps.
For the XXL Italian models, we use the same training data from OPUS and extend
it with data from the Italian part of the [OSCAR corpus](https://traces1.inria.fr/oscar/).
Thus, the final training corpus has a size of 81GB and 13,138,379,147 tokens.
Note: Unfortunately, a wrong vocab size was used when training the XXL models.
This explains the mismatch of the "real" vocab size of 31102, compared to the
vocab size specified in `config.json`. However, the model is working and all
evaluations were done under those circumstances.
See [this issue](https://github.com/dbmdz/berts/issues/7) for more information.
The Italian ELECTRA model was trained on the "XXL" corpus for 1M steps in total using a batch
size of 128. We pretty much following the ELECTRA training procedure as used for
[BERTurk](https://github.com/stefan-it/turkish-bert/tree/master/electra).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-italian-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/vocab.txt)
| `dbmdz/bert-base-italian-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-discriminator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-generator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-generator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/vocab.txt)
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/italian-bertelectra).
## Usage
With Transformers >= 2.3 our Italian BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the (recommended) Italian XXL BERT models, just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-xxl-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the Italian XXL ELECTRA model (discriminator), just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/electra-base-italian-xxl-cased-discriminator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelWithLMHead.from_pretrained(model_name)
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT/ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.011547722853720188,
-0.013734931126236916,
0.0030822670087218285,
0.057535380125045776,
0.010722064413130283,
0.02304820902645588,
0.007927742786705494,
-0.010190686210989952,
-0.03620022535324097,
0.05364545062184334,
0.02581303007900715,
-0.024656636640429497,
-0.008228032849729061,
0.05321543663740158,
-0.031767506152391434,
-0.02090396359562874,
-0.0016126205446198583,
-0.020555097609758377,
-0.04492839798331261,
-0.012547697871923447,
-0.019542640075087547,
-0.005898171570152044,
0.0028639729134738445,
0.03074050135910511,
0.0013527397532016039,
0.009395911358296871,
-0.01671145297586918,
0.029361244291067123,
0.035957831889390945,
-0.060498956590890884,
0.01895291544497013,
-0.022390779107809067,
-0.042842503637075424,
-0.013569523580372334,
-0.02508079819381237,
-0.021987296640872955,
0.011075681075453758,
-0.010483712889254093,
0.035447463393211365,
0.03659987449645996,
-0.0016637463122606277,
0.018005095422267914,
-0.004625158384442329,
-0.02734127640724182,
0.04151417687535286,
0.0015813165809959173,
-0.05879143625497818,
-0.025171924382448196,
0.017766928300261497,
-0.03267227113246918,
-0.049460519105196,
-0.07391690462827682,
-0.03261793032288551,
0.044682975858449936,
-0.00965031050145626,
-0.022585010156035423,
-0.05894555151462555,
0.011338363401591778,
0.07203557342290878,
-0.05497347190976143,
-0.03642719238996506,
0.033050913363695145,
-0.06010960415005684,
0.028653273358941078,
0.03272412344813347,
-0.011389258317649364,
0.015428518876433372,
-0.04283333197236061,
0.044015638530254364,
-0.013118797913193703,
0.04656375199556351,
-0.029444031417369843,
-0.0009993842104449868,
-0.08351270854473114,
-0.007905371487140656,
-0.024007011204957962,
0.030423050746321678,
0.03845934942364693,
-0.045463524758815765,
0.04819883406162262,
0.026937147602438927,
-0.020930465310811996,
0.033335886895656586,
-0.019695349037647247,
-0.015795202925801277,
0.0687146708369255,
-0.036423902958631516,
0.005133230239152908,
0.0035015202593058348,
0.03747931495308876,
-0.04108881205320358,
-0.01861749403178692,
-0.009839699603617191,
-0.02221795916557312,
0.0025741616263985634,
0.02663867548108101,
0.024774862453341484,
-0.011199386790394783,
0.014399472624063492,
0.04243941605091095,
0.019552011042833328,
0.023660948500037193,
-0.026707060635089874,
0.06642644852399826,
-0.0023972338531166315,
-0.007076863665133715,
-0.019809488207101822,
-0.0377650186419487,
-0.048659518361091614,
0.02079625613987446,
0.021318908780813217,
-0.0332680270075798,
-0.047463309019804,
0.04939308017492294,
0.016366375610232353,
-0.03538815677165985,
0.05336379632353783,
-0.016620999202132225,
-0.0328885093331337,
-0.05225793644785881,
0.02595137432217598,
-0.004643169231712818,
0.0016968224663287401,
0.014487615786492825,
-0.05900835245847702,
0.020907720550894737,
-0.037312544882297516,
-0.02638976275920868,
0.020053058862686157,
0.02031262405216694,
-0.01396195963025093,
0.048884421586990356,
0.025870224460959435,
-0.06967675685882568,
0.0032455113250762224,
-0.002473200438544154,
-0.05901035666465759,
0.058893509209156036,
0.04211445897817612,
0.13350924849510193,
-0.03920420631766319,
-0.015968110412359238,
0.0012716922210529447,
0.015661267563700676,
-0.017154308035969734,
0.004150717984884977,
0.021223871037364006,
-0.056679148226976395,
-0.005002723541110754,
0.0029151039198040962,
0.031899213790893555,
-0.035893313586711884,
-0.003915545530617237,
0.0685986876487732,
-0.01663687452673912,
0.035226818174123764,
-0.05211133509874344,
-0.01420399360358715,
0.0004815814027097076,
-0.004825676791369915,
-0.03958312049508095,
0.025539593771100044,
-0.011122963391244411,
-0.016056420281529427,
-0.024746350944042206,
-0.04585244879126549,
0.01617479883134365,
0.11590001732110977,
0.0015522356843575835,
-0.03744468092918396,
-0.031454794108867645,
0.016816068440675735,
0.05197523906826973,
0.023705266416072845,
-0.033193670213222504,
0.04912790656089783,
0.03696304187178612,
0.029945725575089455,
-0.02093825489282608,
0.052759718149900436,
-0.00030775927007198334,
-0.04204775393009186,
-0.02922631800174713,
0.022566352039575577,
0.00930838380008936,
-0.04443127289414406,
0.012194263748824596,
0.05068804323673248,
-0.005330122075974941,
-0.021352600306272507,
-0.02032581903040409,
0.06871463358402252,
-0.00892995297908783,
0.005707814823836088,
0.030907485634088516,
-0.004644350148737431,
-0.04547897353768349,
0.048844944685697556,
-0.0321684367954731,
-0.012875465676188469,
-0.006494391709566116,
-0.02962900884449482,
-0.0004975606570951641,
0.03667813539505005,
0.04373781755566597,
0.054732613265514374,
-0.0026753712445497513,
0.09628681093454361,
-0.04404321312904358,
0.003699135035276413,
-0.035269152373075485,
-0.05889487639069557,
-0.011321497149765491,
0.05981668829917908,
0.033799875527620316,
0.040235474705696106,
-0.0025424743071198463,
-0.041697874665260315,
0.012368476018309593,
0.06278964132070541,
0.05064374953508377,
0.02370494417846203,
-0.03614797815680504,
-0.02242237702012062,
0.027491627261042595,
0.06193903088569641,
-0.04152340814471245,
-0.04724337160587311,
0.022502703592181206,
0.03818949684500694,
-0.023655500262975693,
0.030271511524915695,
-0.003630844410508871,
0.00815588515251875,
-0.02516568824648857,
-0.04973943531513214,
0.0420304574072361,
0.02863151580095291,
-0.004311488475650549,
0.02037513256072998,
-0.011317563243210316,
-0.006587741430848837,
-0.003117009298875928,
0.009561149403452873,
-0.004117740783840418,
-0.04643037170171738,
0.01158325094729662,
0.02520311065018177,
0.06099119037389755,
-0.046592745929956436,
0.03635112941265106,
-0.004223423544317484,
0.01650860160589218,
0.014087644405663013,
-0.04399900510907173,
0.03118267096579075,
0.03589145839214325,
0.02229788340628147,
-0.04826149716973305,
0.0029322567861527205,
0.004088648594915867,
0.03788129612803459,
0.05541551113128662,
0.010489887557923794,
0.06313807517290115,
0.02638138271868229,
0.05272909626364708,
0.07691031694412231,
0.013616304844617844,
0.021143997088074684,
0.04990895465016365,
0.079676054418087,
0.004165891092270613,
-0.01724366284906864,
0.08265853673219681,
-0.04097442328929901,
-0.0019468674436211586,
-0.04019777849316597,
0.01035258173942566,
0.02167433127760887,
-0.011231980286538601,
0.03691859915852547,
0.004483383614569902,
0.007006413768976927,
0.005081666633486748,
-0.0016859619645401835,
-0.0075792064890265465,
0.058430857956409454,
-0.018796714022755623,
0.008991439826786518,
-0.004287497140467167,
-0.034404464066028595,
0.008943138644099236,
-0.06367072463035583,
-0.062379445880651474,
0.001871189335361123,
-0.037359025329351425,
-0.007036380469799042,
-0.09155117720365524,
-0.04213307052850723,
-0.07892005145549774,
-0.007366158999502659,
0.028714388608932495,
0.010661650449037552,
0.0008117943652905524,
-0.01134091429412365,
0.008238776586949825,
-0.03214511647820473,
-0.028278233483433723,
-0.055179473012685776,
-0.040563903748989105,
-0.05638767406344414,
-0.06656987965106964,
0.030417878180742264,
0.014659710228443146,
0.024608954787254333,
-0.000945328501984477,
0.01343767810612917,
-0.023724712431430817,
-0.03453333303332329,
0.04914283752441406,
0.043224677443504333,
-0.03844153508543968,
-0.03775811940431595,
0.017848726361989975,
-0.007061856333166361,
0.025872711092233658,
-0.006019830238074064,
-0.03267543017864227,
0.07203768193721771,
0.060920652002096176,
0.013610044494271278,
0.011946646496653557,
-0.0001541404490126297,
-0.06571264564990997,
-0.06397466361522675,
-0.04029843211174011,
-0.02345176227390766,
0.004671172238886356,
-0.019048701971769333,
-0.04084017127752304,
-0.04208558797836304,
-0.04283510521054268,
0.019156310707330704,
-0.009263016283512115,
0.008951199240982533,
0.012794860638678074,
0.03656366094946861,
0.040068864822387695,
0.02906842529773712,
-0.04818260669708252,
-0.0017234731931239367,
0.07174224406480789,
0.025359218940138817,
-0.009517966769635677,
-0.07177793234586716,
-0.022951342165470123,
0.03317742049694061,
0.045527566224336624,
-0.011246103793382645,
-0.0101823341101408,
0.07416839897632599,
0.03166140615940094,
-0.0034077418968081474,
-0.021125871688127518,
-0.00843549333512783,
-0.049371492117643356,
0.01973596401512623,
0.01358844991773367,
-0.022684475407004356,
-0.043557967990636826,
-0.0198178943246603,
0.0166458860039711,
0.048316389322280884,
-0.06782432645559311,
-0.047554291784763336,
-0.0066671231761574745,
0.03914635255932808,
0.009934671223163605,
0.03037973865866661,
-0.051107775419950485,
0.010043196380138397,
-0.02664756588637829,
-0.04287025332450867,
0.015054848976433277,
-0.01027423981577158,
0.02495686523616314,
0.06172053515911102,
0.029068108648061752,
-0.019633280113339424,
0.04851345717906952,
0.02776198275387287,
0.05431126058101654,
0.01184551976621151,
-0.04222143441438675,
0.033429067581892014,
-0.04600270837545395,
0.0032612630166113377,
0.0150451073423028,
-0.03297184780240059,
-0.051225606352090836,
-0.06946925818920135,
-0.0013542032102122903,
0.007972883060574532,
0.0005206031491979957,
-0.0026864693500101566,
0.027321480214595795,
-0.014790931716561317,
-0.029420047998428345,
0.00022693743812851608,
0.009231358766555786,
0.03603353723883629,
-0.05260851979255676,
0.08282413333654404,
-0.0006339843384921551,
0.014693818986415863,
-0.06997860223054886,
0.008666682057082653,
-0.03541042283177376,
-0.0364408902823925,
0.00797013845294714,
0.06312959641218185,
0.020851928740739822,
0.040313221514225006,
0.10016781091690063,
0.039442770183086395,
-0.04221693426370621,
0.06052052602171898,
0.013803145848214626,
0.0095676239579916,
-0.027747754007577896,
-0.020564408972859383,
-0.018951531499624252,
-0.02249593660235405,
-0.005578681826591492,
-0.012414723634719849,
0.012763547711074352,
0.013853647746145725,
0.004093887284398079,
-0.021766964346170425,
-0.0018147401278838515,
-0.01181130949407816,
-0.02169201150536537,
-0.07433800399303436,
-0.022272946313023567,
-0.009060312062501907,
-0.010894822888076305,
0.03211088106036186,
0.03155834600329399,
0.004302681423723698,
0.05769561976194382,
0.039055801928043365,
-0.019798455759882927,
-0.044827401638031006,
0.024790223687887192,
0.03652995452284813,
-0.05147043988108635,
-0.07412739843130112,
-0.041756678372621536,
0.037292513996362686,
0.044427115470170975,
-0.004832268692553043,
-0.1006069928407669,
-0.0047368439845740795,
0.05296554043889046,
-0.0426972322165966,
0.04845944046974182,
-0.006459962110966444,
0.05403199419379234,
0.06112135201692581,
-0.023040641099214554,
0.008531764149665833,
-0.02885298989713192,
-0.001150702009908855,
-0.006220357958227396,
0.04778241738677025,
-0.042759496718645096,
-0.0498543307185173,
-0.04647095128893852,
0.04992734640836716,
0.03260073438286781,
0.0438743494451046,
0.03440592437982559,
-0.021810846403241158,
-0.045066721737384796,
0.008399597369134426,
0.05349018797278404,
-0.05656024441123009,
-0.0029352563433349133,
0.03405920788645744,
0.038768090307712555,
-0.058582570403814316,
-0.042913567274808884,
-0.022100692614912987,
-0.009080243296921253,
0.03233088180422783,
0.014862515032291412,
-0.026525454595685005,
-0.0733795017004013,
0.00584358349442482,
-0.011966061778366566,
-0.0253891684114933,
-0.0904686450958252,
0.02270033396780491,
-0.008221929892897606,
-0.024292659014463425,
0.05767427757382393,
0.031568773090839386,
0.023457415401935577,
0.03950909152626991,
-0.010759125463664532,
-0.009490878321230412,
-0.05061429366469383,
0.03433771803975105,
-0.02380872517824173,
0.01570957899093628,
-0.010648494586348534,
-0.03417878970503807,
-0.011415066197514534,
-0.03105034865438938,
-0.05187824368476868,
-0.049581728875637054,
0.015271239914000034,
0.03298269212245941,
-0.020996132865548134,
-0.002416758332401514,
-0.015002371743321419,
0.05331574007868767,
-0.03844534233212471,
-0.030263155698776245,
-0.03246889263391495,
-0.028591375797986984,
-0.06360974907875061,
-0.02955116517841816,
0.01303817331790924,
0.01652616448700428,
0.04234447702765465,
0.005687361117452383,
0.01185406744480133,
-0.013910695910453796,
-0.003385506570339203,
-0.026827698573470116,
0.01480063609778881,
0.0055409930646419525,
-0.03501065447926521,
-0.04701044410467148,
0.02156909741461277,
0.024240439757704735,
0.027067672461271286,
-0.04376966133713722,
0.0321456678211689,
0.01335216872394085,
-0.024993298575282097,
-0.021806444972753525,
-0.004344726912677288,
0.006926125846803188,
-0.0885407030582428,
-0.05235705524682999,
-0.015048518776893616,
-0.03979475796222687,
0.04791181907057762,
-0.023571835830807686,
-0.008160161785781384,
0.01411269698292017,
0.03020772896707058,
0.02647179551422596,
0.0023987232707440853,
-0.03209904581308365,
0.008532644249498844,
-0.028611645102500916,
0.011261858977377415,
-0.07297198474407196,
0.029712505638599396,
-0.027587898075580597,
0.006975040305405855,
-0.011274461634457111,
0.007581544108688831,
-0.03709813579916954,
0.0436873584985733,
-0.01021397765725851,
-0.009421086870133877,
-0.009995907545089722,
0.011346934363245964,
-0.025408880785107613,
0.02509475313127041,
-0.023470908403396606,
0.021028360351920128,
-0.0004229959740769118,
0.06244773790240288,
-0.0464206263422966,
-0.009124855510890484,
-0.02895120531320572,
0.012316213920712471,
-0.04615705460309982,
-0.002811963204294443,
-0.0067320396192371845,
-0.027457179501652718,
0.006295050028711557,
0.03236071765422821,
0.04264508932828903,
0.01588819921016693,
-0.0444965660572052,
0.018286557868123055,
0.012087609618902206,
-0.06463361531496048,
-0.02826923318207264,
0.0016096075996756554,
0.009974409826099873,
0.004467649385333061,
0.069403275847435,
0.05776304751634598,
-0.07181371748447418,
-0.05765027552843094,
0.02751205302774906,
0.008647717535495758,
0.001707863761112094,
0.008899438194930553,
0.018659166991710663,
0.021930625662207603,
0.051355913281440735,
-0.03640366718173027,
-0.018337754532694817,
-0.019057229161262512,
-0.019624635577201843,
-0.0006881735753268003,
0.014506631530821323,
0.015820197761058807,
0.015771448612213135,
-0.017817415297031403,
-0.04056527838110924,
0.06064789742231369,
0.014908920042216778,
0.025819243863224983,
-0.005392113700509071,
-0.05006248876452446,
0.02628314681351185,
0.006497506517916918,
-0.06365162879228592,
0.013355499133467674,
0.018772050738334656,
-0.04405564069747925,
0.055449940264225006,
-0.0009365198784507811,
0.014807811006903648,
0.060733165591955185,
0.02949116751551628,
-0.040103182196617126,
0.04275871440768242,
-0.01934034377336502,
-0.01135869137942791,
0.03636251389980316,
-0.047380365431308746,
-0.01307801716029644,
-0.027077095583081245,
0.08271033316850662,
-0.042281899601221085,
0.05073906108736992,
0.04561242088675499,
0.016588149592280388,
0.03637213259935379,
-0.051127731800079346,
-0.009927391074597836,
0.019683195278048515,
-0.038729529827833176,
0.07911433279514313,
0.006301513407379389,
-0.06677906960248947,
0.08018063753843307,
0.016353925690054893,
-0.06023852154612541,
0.05109461024403572,
0.03302716091275215,
0.03085501492023468,
0.037643175572156906,
0.04053572937846184,
-0.039721351116895676,
0.008520028553903103,
-0.042638808488845825,
0.01506580039858818,
-0.056855086237192154,
-0.007144493982195854,
0.014722672291100025,
-0.025787631049752235,
-0.0023613115772604942,
0.03195451572537422,
-0.007828043773770332,
0.0036814508493989706,
0.0300441887229681,
-0.049821723252534866,
-0.034060943871736526,
-0.0001447670947527513,
0.02197028137743473,
-0.027257164940238,
-0.0018657908076420426,
-0.01781225949525833,
0.030597325414419174,
0.0012427970068529248,
0.0017195285763591528,
-0.03067178837954998,
0.004126801621168852,
0.014905624091625214,
-0.07614389061927795,
-0.06901287287473679,
0.025774890556931496,
0.01495298184454441,
-0.03664061427116394,
0.037243086844682693,
-0.02010137028992176,
-0.0005466056172735989,
0.031242158263921738,
0.002237144857645035,
-0.00844726711511612,
-0.029132233932614326,
-0.013437574729323387,
0.010471764020621777,
0.014800246804952621,
0.04611358419060707,
-0.00830563809722662,
0.019563043490052223,
0.013763010501861572,
0.04927801713347435,
-0.013626374304294586,
-0.05266151577234268,
-0.033221445977687836,
0.0357682928442955,
-0.040612366050481796,
-0.0044485717080533504,
-0.0030929746571928263,
-0.06619814783334732,
-0.029399776831269264,
-0.01673080213367939,
0.001020007417537272,
0.037377819418907166,
-0.061972297728061676,
0.029453616589307785,
0.014302771538496017,
-0.012167418375611305,
-0.053221479058265686,
-0.08738125115633011,
-0.02555602416396141,
-0.01612512767314911,
0.008380647748708725,
0.007192051969468594,
-0.028483692556619644,
0.034356966614723206,
-0.043210189789533615,
-0.05771131440997124,
0.0528927817940712,
0.017504505813121796,
-0.057089097797870636,
0.06940294057130814,
0.04992610961198807,
-0.05491572618484497,
0.010505030862987041,
0.061136394739151,
-0.03304801508784294,
0.0354112908244133,
0.0211830735206604,
-0.007400421891361475,
0.02484559826552868,
0.016745444387197495,
-0.02355034276843071,
-0.02072894386947155,
-0.07042398303747177,
-0.0397876538336277,
-0.023896140977740288,
-0.00027678452897816896,
0.06770675629377365
] |
BigSalmon/MrLincoln3 | [
"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
}
}
} | 17 | 2021-11-18T20:40:50Z | ---
language: swedish
license: mit
widget:
- text: "Det vore [MASK] hΓ€ller nΓΆdvΓ€ndigt att be"
---
# Historic Language Models (HLMs)
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Models
At the moment, the following models are available on the model hub:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
| `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased)
| `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased)
| `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Pretraining
## Multilingual model
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

## English model
The English BERT model - with texts from British Library corpus - was trained with the Hugging Face
JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-historic-english-cased/ \
--tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \
--train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \
--validation_file /mnt/datasets/bl-corpus/english_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 10 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Finnish model
The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \
--validation_file /mnt/datasets/hlms/finnish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Swedish model
The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \
--validation_file /mnt/datasets/hlms/swedish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.029723897576332092,
-0.03505883738398552,
-0.010477197356522083,
0.06302590668201447,
0.038481514900922775,
0.011965407058596611,
-0.004074940457940102,
-0.016499610617756844,
-0.06572529673576355,
0.061521414667367935,
0.016884349286556244,
-0.029866395518183708,
0.003725724993273616,
0.028405096381902695,
-0.008711012080311775,
-0.004751875065267086,
-0.0014325313968583941,
0.005588899832218885,
-0.04114031046628952,
-0.011113375425338745,
-0.020551513880491257,
0.005960150621831417,
-0.005198421888053417,
0.04373401030898094,
0.01616745814681053,
0.026224704459309578,
-0.002572207245975733,
0.07074982672929764,
0.01658932864665985,
-0.06294748932123184,
-0.014399866573512554,
-0.044351693242788315,
-0.03760940954089165,
-0.045903369784355164,
-0.02664455771446228,
-0.01590442657470703,
0.03727436810731888,
0.029421526938676834,
0.038817137479782104,
0.07326741516590118,
-0.021564122289419174,
-0.0029541696421802044,
-0.004680524114519358,
-0.031006917357444763,
0.05436191335320473,
0.02356376312673092,
-0.05476495251059532,
-0.02675868198275566,
0.059535738080739975,
-0.02153485268354416,
-0.030723275616765022,
-0.029919538646936417,
-0.005989826750010252,
0.0234331414103508,
-0.00990330521017313,
-0.030773766338825226,
-0.08019331097602844,
0.04399662837386131,
0.05117546394467354,
-0.038640089333057404,
-0.055816516280174255,
0.011132009327411652,
-0.08133445680141449,
0.01077182125300169,
0.03604694455862045,
-0.05924760177731514,
-0.003804217791184783,
-0.03713425621390343,
0.034397292882204056,
0.010403970256447792,
0.032840341329574585,
-0.06879781186580658,
0.014794908463954926,
-0.06790987402200699,
-0.01483900472521782,
-0.021832412108778954,
0.044333141297101974,
0.050547126680612564,
-0.04769524559378624,
0.06462935358285904,
0.029629260301589966,
-0.018142445012927055,
0.04010310024023056,
-0.034838709980249405,
0.0036881566047668457,
0.0449800081551075,
-0.05061861500144005,
0.0028716123197227716,
0.024056807160377502,
0.05960296839475632,
-0.04902358725667,
-0.017640721052885056,
-0.008661115542054176,
-0.017072005197405815,
0.013019434176385403,
0.024684611707925797,
0.01939539611339569,
-0.01011709589511156,
0.03594578057527542,
0.020789185538887978,
0.02357197180390358,
0.057566478848457336,
-0.023410595953464508,
0.05519521236419678,
-0.03031693398952484,
-0.0299664419144392,
-0.021393530070781708,
-0.036685701459646225,
-0.05110165476799011,
0.0030209552496671677,
0.008550111204385757,
-0.05853350833058357,
-0.020545685663819313,
0.029121272265911102,
0.02628083899617195,
-0.019324660301208496,
0.054729461669921875,
-0.01761709898710251,
-0.05614619702100754,
-0.061415985226631165,
0.016575390473008156,
-0.014182156883180141,
0.00007958277274155989,
0.015547052025794983,
-0.05418028309941292,
0.03338057920336723,
-0.03426233306527138,
-0.012076448649168015,
0.02598574198782444,
0.004496713634580374,
-0.03724583238363266,
0.014858229085803032,
0.02849171683192253,
-0.07695195823907852,
0.01646532118320465,
-0.004408861976116896,
-0.03400314226746559,
0.021659720689058304,
0.017696747556328773,
0.13398043811321259,
-0.02098318375647068,
-0.04897868260741234,
-0.016510389745235443,
0.0025631042663007975,
-0.06280166655778885,
0.020102057605981827,
0.022852692753076553,
-0.0093652019277215,
-0.00019252051424700767,
0.014498506672680378,
0.035183582454919815,
-0.05939144268631935,
0.00482938950881362,
0.054977357387542725,
-0.0035364602226763964,
0.00957434345036745,
-0.05161195620894432,
-0.02170770801603794,
-0.007387006189674139,
-0.019290924072265625,
-0.010385369881987572,
0.013660507276654243,
0.003027399769052863,
-0.02083676867187023,
-0.05204275622963905,
-0.05069993808865547,
-0.004317335318773985,
0.07824495434761047,
-0.019504977390170097,
0.0009900964796543121,
-0.05856110528111458,
-0.01249211560934782,
0.038309913128614426,
-0.007240614388138056,
-0.04733335226774216,
0.037242159247398376,
0.030017200857400894,
0.03475954011082649,
-0.015795771032571793,
0.06400447338819504,
0.00229262956418097,
-0.007418851833790541,
-0.04053015261888504,
0.05369586497545242,
0.02168508991599083,
-0.01918599382042885,
0.02956504374742508,
0.05651576444506645,
0.012100986205041409,
-0.037200652062892914,
-0.022090256214141846,
0.05612228438258171,
-0.005936994682997465,
-0.00405886908993125,
0.015973422676324844,
-0.006725131534039974,
-0.051030851900577545,
0.02733909897506237,
0.002856964012607932,
-0.0030675241723656654,
-0.017771750688552856,
-0.02349456213414669,
0.025926418602466583,
0.029470594599843025,
0.039305198937654495,
0.02542657032608986,
0.0034727714955806732,
0.0996549054980278,
-0.03449065610766411,
0.0010759406723082066,
-0.03670027479529381,
-0.0847003385424614,
-0.00802175048738718,
0.04962799325585365,
0.04770531877875328,
0.03321484848856926,
-0.019462648779153824,
-0.057686347514390945,
0.025269199162721634,
0.07262501120567322,
0.045799825340509415,
-0.009034913033246994,
-0.03679298982024193,
-0.0011407755082473159,
0.0231124609708786,
0.03212137520313263,
-0.0560540072619915,
-0.06391405314207077,
-0.004360441118478775,
0.04882081225514412,
-0.060415565967559814,
0.01190737634897232,
-0.013811422511935234,
0.028218097984790802,
-0.018335549160838127,
-0.0772903710603714,
0.049279969185590744,
0.03305617719888687,
-0.011398736387491226,
0.019295210018754005,
-0.008716252632439137,
0.05532959848642349,
0.0033966044429689646,
0.010264700278639793,
0.00044285954209044576,
-0.04815789684653282,
0.004990666639059782,
0.01667669788002968,
0.05457128956913948,
-0.03672168776392937,
0.02621246688067913,
-0.009928790852427483,
0.001335101667791605,
0.041525159031152725,
-0.037554968148469925,
0.02019348181784153,
0.04995281249284744,
-0.00012234981113579124,
-0.0509738065302372,
0.03646903112530708,
0.006338232662528753,
0.047327250242233276,
0.026103585958480835,
-0.0020025114063173532,
0.0459739975631237,
0.014075084589421749,
0.04471554607152939,
0.09249448776245117,
0.02961975522339344,
0.01833849400281906,
0.003033755347132683,
0.045037779957056046,
0.01941577158868313,
-0.01110357977449894,
0.0626860037446022,
-0.04684080556035042,
0.030130688101053238,
-0.03447664529085159,
0.030264485627412796,
-0.0016352455131709576,
0.03026779368519783,
-0.00002116931318596471,
-0.013360829092562199,
-0.03004157915711403,
0.007157005835324526,
-0.019655048847198486,
0.005892487708479166,
0.07022710144519806,
-0.01650768332183361,
0.012618664652109146,
-0.022961145266890526,
-0.024471402168273926,
0.004184271674603224,
-0.045458219945430756,
-0.03215948864817619,
0.01235706452280283,
-0.014047248288989067,
0.009736803360283375,
-0.08139676600694656,
-0.013863567262887955,
-0.057759903371334076,
-0.007014039903879166,
0.03686400502920151,
0.01819431595504284,
-0.004093101713806391,
-0.01777997799217701,
-0.011457135900855064,
-0.025683792307972908,
-0.03762289136648178,
-0.030626211315393448,
-0.0665929913520813,
-0.04290962964296341,
-0.06994643807411194,
0.041090432554483414,
0.052160169929265976,
0.025845026597380638,
-0.024786390364170074,
0.018600590527057648,
-0.009237954393029213,
-0.03791052848100662,
0.018240151926875114,
0.038281187415122986,
-0.03492530435323715,
-0.04886104166507721,
0.041725222021341324,
-0.02607106789946556,
0.015312135219573975,
-0.0013861582847312093,
-0.019083725288510323,
0.07107913494110107,
0.08395779132843018,
0.01420485507696867,
0.0030136872082948685,
0.03563641011714935,
-0.04240106791257858,
-0.06580936163663864,
-0.01760876551270485,
-0.0482708141207695,
-0.004918086342513561,
-0.010696635581552982,
-0.03835071623325348,
-0.00907163880765438,
-0.028103239834308624,
-0.016432559117674828,
-0.020864933729171753,
-0.011900430545210838,
0.018467357382178307,
0.02382955700159073,
0.030259862542152405,
0.029455794021487236,
-0.03303547948598862,
-0.021306214854121208,
0.07469809055328369,
0.009015829302370548,
0.026369132101535797,
-0.04597272723913193,
-0.02826756052672863,
0.032877400517463684,
0.04123449698090553,
0.001966973766684532,
-0.02114195190370083,
0.10081560909748077,
0.019781867042183876,
0.005808081477880478,
-0.009301712736487389,
-0.007546445354819298,
-0.03382890298962593,
-0.005050009116530418,
0.006141833495348692,
-0.02805168181657791,
-0.07330389320850372,
-0.028269976377487183,
0.01520977821201086,
0.03640834614634514,
-0.08678708225488663,
-0.03786687180399895,
-0.005951630882918835,
0.02150782383978367,
0.042977336794137955,
-0.011669384315609932,
-0.05084962397813797,
0.03102247603237629,
-0.059771619737148285,
-0.024881741032004356,
0.0074978056363761425,
0.025809386745095253,
0.044631872326135635,
0.029789259657263756,
0.04484950751066208,
-0.04926053807139397,
0.02251579612493515,
0.03271257132291794,
0.04185875505208969,
0.02267455868422985,
-0.053542230278253555,
0.04966659098863602,
-0.031169544905424118,
0.01894707791507244,
-0.027615929022431374,
-0.03564055636525154,
-0.0681132972240448,
-0.0669039711356163,
0.009298693388700485,
0.02745761349797249,
-0.01872682198882103,
-0.0018473645905032754,
0.04707229882478714,
-0.00842216331511736,
0.0233460646122694,
-0.01687953621149063,
0.0015683292876929045,
0.029634525999426842,
-0.059102240949869156,
0.05707467347383499,
-0.017665598541498184,
0.008863426744937897,
-0.05345635116100311,
0.02837856113910675,
-0.030689308419823647,
-0.027758097276091576,
0.015430370345711708,
0.049737513065338135,
0.01564940996468067,
0.024038832634687424,
0.07312897592782974,
0.0006142118945717812,
-0.027736300602555275,
0.05721963569521904,
0.04162191227078438,
0.00830566044896841,
-0.042431339621543884,
-0.013762419112026691,
-0.03503897786140442,
-0.04506319761276245,
-0.020357094705104828,
-0.02044958807528019,
0.02889798954129219,
0.009539165534079075,
-0.002985680941492319,
-0.016115514561533928,
0.015263761393725872,
-0.011732776649296284,
-0.030898191034793854,
-0.04878658056259155,
-0.010155447758734226,
0.0063006882555782795,
-0.01865697279572487,
0.039270490407943726,
0.042656805366277695,
0.0022554865572601557,
0.04870127886533737,
-0.0025923072826117277,
-0.022256026044487953,
-0.029680820181965828,
0.020504528656601906,
0.01906714215874672,
-0.04854007810354233,
-0.05374235287308693,
-0.03571207448840141,
0.06352373957633972,
0.05742389336228371,
0.03076930157840252,
-0.07339257001876831,
-0.004781593102961779,
0.04050268977880478,
-0.030354585498571396,
0.049693576991558075,
-0.02757885865867138,
0.0623343363404274,
0.04856199398636818,
-0.03528713062405586,
0.006924492307007313,
-0.012597753666341305,
0.013917151838541031,
0.017077449709177017,
0.0341794453561306,
-0.030510833486914635,
-0.03925193473696709,
-0.04188339412212372,
0.0074784099124372005,
0.011033199727535248,
0.03993053361773491,
0.042277656495571136,
-0.04022042453289032,
-0.052899088710546494,
0.025670884177088737,
0.04087235406041145,
-0.08526194095611572,
0.03656329587101936,
0.02521209791302681,
0.03460795059800148,
-0.037025026977062225,
-0.04394233226776123,
-0.010395499877631664,
-0.013614734634757042,
0.03369175270199776,
-0.020502716302871704,
-0.06333134323358536,
-0.06444951146841049,
0.02273649536073208,
-0.015202290378510952,
-0.02040945738554001,
-0.09976199269294739,
0.0008552806684747338,
-0.022209854796528816,
-0.02588195540010929,
0.03393398970365524,
0.010397737845778465,
0.01689428649842739,
0.053660664707422256,
-0.0033964242320507765,
0.0033730091527104378,
-0.047458406537771225,
0.025639014318585396,
-0.044596485793590546,
-0.010324690490961075,
-0.026236549019813538,
-0.05411849915981293,
-0.015082067809998989,
-0.019915461540222168,
-0.046456631273031235,
-0.03863823041319847,
-0.032962631434202194,
0.02427997812628746,
0.009416296146810055,
0.006034764461219311,
-0.026510799303650856,
0.04880085960030556,
-0.02029581554234028,
-0.025433439761400223,
-0.031119506806135178,
-0.03149031102657318,
-0.038293834775686264,
-0.03701169788837433,
0.015239070169627666,
0.013043525628745556,
0.031744908541440964,
0.0021884506568312645,
-0.018178880214691162,
0.018849404528737068,
0.009140369482338428,
-0.03337227180600166,
0.017272651195526123,
0.006130771711468697,
-0.06177340820431709,
-0.019185582175850868,
0.0018402006244286895,
0.01866714283823967,
0.0505242645740509,
-0.03259867802262306,
0.03787784278392792,
0.027593526989221573,
-0.0328536331653595,
-0.017706532031297684,
0.023894619196653366,
0.04262847080826759,
-0.06706829369068146,
-0.06064498424530029,
0.006798865739256144,
-0.05004201829433441,
0.02531496062874794,
-0.030049441382288933,
-0.014536650851368904,
0.05589086189866066,
-0.0026352773420512676,
0.039697788655757904,
0.023730522021651268,
-0.018490275368094444,
0.03366503864526749,
-0.00554615119472146,
0.03964720293879509,
-0.05886704847216606,
0.035045474767684937,
-0.029845699667930603,
0.02766129933297634,
0.00043065956560894847,
-0.04214775934815407,
-0.04914066195487976,
0.038307901471853256,
-0.025331107899546623,
-0.029982732608914375,
0.008699394762516022,
0.0046388618648052216,
-0.023122742772102356,
0.03206102177500725,
-0.021497143432497978,
0.00624742079526186,
-0.02234640344977379,
0.04122183099389076,
-0.035789258778095245,
-0.022250430658459663,
-0.021585803478956223,
0.007530226372182369,
-0.03860802575945854,
0.02121792919933796,
-0.00767001835629344,
-0.05213622748851776,
0.041666824370622635,
0.0015018341364338994,
0.03178992494940758,
0.021164454519748688,
-0.00995973777025938,
0.001694019534625113,
0.008038835600018501,
-0.05248897150158882,
-0.017518088221549988,
-0.010195769369602203,
-0.013290077447891235,
-0.005874885246157646,
0.05753728374838829,
0.022789666429162025,
-0.06588082760572433,
-0.07425583899021149,
0.0484173558652401,
0.014442888088524342,
-0.026296798139810562,
-0.003924231510609388,
0.028557460755109787,
0.0029612204525619745,
0.039809323847293854,
-0.02407738007605076,
0.0028980043716728687,
-0.03652983531355858,
-0.03208021819591522,
0.01985452137887478,
-0.009393023326992989,
0.010918048210442066,
0.03016151487827301,
-0.029541919007897377,
-0.025327885523438454,
0.056256093084812164,
0.02497519738972187,
0.022304857149720192,
-0.02239670604467392,
-0.03396199643611908,
0.031186653301119804,
0.03785653039813042,
-0.05607721582055092,
0.003223643871024251,
0.02785366214811802,
-0.0001385907962685451,
0.06925587356090546,
-0.015287553891539574,
0.03946530818939209,
0.08301806449890137,
0.016153385862708092,
-0.04854023829102516,
0.03450974076986313,
-0.00853784941136837,
0.006364983040839434,
0.059796448796987534,
-0.05026736110448837,
0.01441632304340601,
-0.04940637946128845,
0.06519631296396255,
-0.07542543113231659,
0.0333409458398819,
0.0330667644739151,
0.008906522765755653,
0.0294941458851099,
-0.0475865937769413,
-0.03612011298537254,
0.009737866930663586,
-0.04513239488005638,
0.05937305837869644,
0.02247663214802742,
-0.045732129365205765,
0.07166017591953278,
0.00853970181196928,
-0.06808218359947205,
0.03030470758676529,
0.05832507088780403,
0.01005859300494194,
0.0012834696099162102,
-0.013384511694312096,
-0.04984746500849724,
0.037436310201883316,
-0.019133970141410828,
0.030595161020755768,
-0.05108323320746422,
-0.02600293979048729,
0.03706403076648712,
-0.035049520432949066,
0.0015162184135988355,
0.039922259747982025,
-0.03131846338510513,
-0.01774212159216404,
0.029475482180714607,
-0.03700591251254082,
-0.04084310308098793,
0.0017509671160951257,
0.02125883474946022,
-0.043097514659166336,
-0.004830800462514162,
-0.04608102887868881,
0.006247554440051317,
0.041370704770088196,
-0.007616465911269188,
-0.05019904673099518,
-0.00379434903152287,
0.036065082997083664,
-0.04381135106086731,
-0.041658248752355576,
0.03123510256409645,
0.009408704936504364,
-0.036736421287059784,
0.024641912430524826,
0.014920566231012344,
-0.01981116272509098,
0.040838684886693954,
-0.00720825744792819,
0.006575352977961302,
-0.026385879144072533,
-0.03381629288196564,
0.009145069867372513,
-0.010285126976668835,
0.017415957525372505,
-0.018539296463131905,
0.03599894419312477,
0.01863645203411579,
0.0369919091463089,
-0.0021831418853253126,
-0.05427711829543114,
-0.029185904189944267,
-0.0031063181813806295,
-0.05981156975030899,
0.022755524143576622,
0.003613730426877737,
-0.041745625436306,
-0.04394500330090523,
0.0029253331013023853,
-0.010652109049260616,
0.03250795975327492,
-0.044111333787441254,
-0.006124934647232294,
0.022386346012353897,
-0.00823103915899992,
-0.034238070249557495,
-0.07960272580385208,
-0.046670179814100266,
-0.05533919483423233,
0.01994411274790764,
0.013032741844654083,
-0.03490116074681282,
0.007712862454354763,
-0.00025704922154545784,
-0.05131148919463158,
0.0056770858354866505,
0.007658054586499929,
-0.055010631680488586,
0.06504108756780624,
0.02228204347193241,
-0.045956190675497055,
-0.018047332763671875,
0.014236032031476498,
-0.04509757459163666,
0.026273587718605995,
-0.003538355231285095,
0.031429704278707504,
-0.00035145299625582993,
0.030942581593990326,
-0.027479883283376694,
-0.02437911182641983,
-0.07561060041189194,
-0.05225596949458122,
-0.025854695588350296,
0.008203215897083282,
0.0836307629942894
] |
BigSalmon/MrLincoln4 | [
"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
}
}
} | 10 | null | ---
language: tr
license: mit
---
# π€ + π dbmdz Turkish BERT model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources a cased model for Turkish π
# πΉπ· BERTurk
BERTurk is a community-driven cased BERT model for Turkish.
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the model name: BERTurk.
## Stats
The current version of the model is trained on a filtered and sentence
segmented version of the Turkish [OSCAR corpus](https://traces1.inria.fr/oscar/),
a recent Wikipedia dump, various [OPUS corpora](http://opus.nlpl.eu/) and a
special corpus provided by [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/).
The final training corpus has a size of 35GB and 44,04,976,662 tokens.
Thanks to Google's TensorFlow Research Cloud (TFRC) we could train a cased model
on a TPU v3-8 for 2M steps.
For this model we use a vocab size of 128k.
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-turkish-128k-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-128k-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-128k-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-128k-cased/vocab.txt)
## Usage
With Transformers >= 2.3 our BERTurk cased model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-turkish-128k-cased")
model = AutoModel.from_pretrained("dbmdz/bert-base-turkish-128k-cased")
```
## Results
For results on PoS tagging or NER tasks, please refer to
[this repository](https://github.com/stefan-it/turkish-bert).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.005622491240501404,
-0.0046268003061413765,
-0.013063166290521622,
0.07851492613554001,
0.012963597662746906,
0.029601985588669777,
0.004659677855670452,
-0.010130015201866627,
-0.05221261829137802,
0.06583987921476364,
0.008186929859220982,
-0.03859805688261986,
0.006982159335166216,
0.03929523378610611,
-0.019641408696770668,
-0.023319274187088013,
-0.003151930635794997,
0.004312615841627121,
-0.05166443809866905,
-0.015629392117261887,
-0.026755543425679207,
0.017227938398718834,
-0.003816964104771614,
0.03962656110525131,
0.014747725799679756,
0.0238906629383564,
-0.009446156211197376,
0.029857898131012917,
0.02026120014488697,
-0.08185011148452759,
0.02824368141591549,
-0.0267404243350029,
-0.03592272847890854,
-0.020770801231265068,
-0.02800404466688633,
-0.0010650664335116744,
0.012134235352277756,
0.00245267222635448,
0.05920559540390968,
0.04869667440652847,
-0.019875431433320045,
0.01588328182697296,
0.020337911322712898,
-0.05493253469467163,
0.035636018961668015,
0.007856070064008236,
-0.05134351924061775,
-0.02142094075679779,
0.028843218460679054,
-0.049699779599905014,
-0.0389319472014904,
-0.06064741313457489,
-0.042782194912433624,
0.039503827691078186,
0.00007011927664279938,
-0.04120595008134842,
-0.05498619005084038,
-0.0056046065874397755,
0.05602983757853508,
-0.05076772719621658,
-0.0424005426466465,
0.025905288755893707,
-0.07560180127620697,
0.020162630826234818,
0.03581090271472931,
-0.01086142472922802,
0.006824531592428684,
-0.054416824132204056,
0.04035952687263489,
-0.025088174268603325,
0.016056539490818977,
-0.008944643661379814,
0.004698175936937332,
-0.08228616416454315,
-0.004429548513144255,
-0.01023343950510025,
0.031047314405441284,
0.040538422763347626,
-0.040443629026412964,
0.05844889208674431,
0.020862862467765808,
-0.02190927043557167,
0.05153057351708412,
-0.016414504498243332,
-0.02021152712404728,
0.07515542954206467,
-0.01498944777995348,
-0.00407413300126791,
0.00555782625451684,
0.05342188477516174,
-0.04239335656166077,
-0.01725820265710354,
-0.021289754658937454,
-0.02679322101175785,
-0.02600502222776413,
0.027888236567378044,
0.010241080075502396,
0.0012526024365797639,
0.012110563926398754,
0.034000832587480545,
0.030602917075157166,
0.02480473183095455,
-0.031387291848659515,
0.042900361120700836,
-0.01144524198025465,
-0.03142445534467697,
-0.0006464108591899276,
-0.051899854093790054,
-0.043947819620370865,
0.03638676553964615,
0.010890867561101913,
-0.04363187775015831,
-0.030956415459513664,
0.04828621819615364,
0.015844032168388367,
-0.031148746609687805,
0.05547115206718445,
-0.01946626976132393,
-0.026826338842511177,
-0.014359829016029835,
0.039311982691287994,
-0.004843057598918676,
0.008742095902562141,
-0.00020683389448095113,
-0.06336653232574463,
0.022670071572065353,
-0.04367603361606598,
-0.02157052606344223,
0.011871847324073315,
0.03663666546344757,
-0.01622745767235756,
0.044756919145584106,
0.03304128721356392,
-0.07366981357336044,
0.00960113201290369,
0.021299583837389946,
-0.04743412882089615,
0.05380070209503174,
0.01386676449328661,
0.10524122416973114,
-0.05541147291660309,
-0.036458369344472885,
0.009828025475144386,
0.03273199126124382,
-0.0253924448043108,
0.006173410918563604,
0.023233462125062943,
-0.02989140711724758,
-0.025117656216025352,
-0.013244876638054848,
0.04725179821252823,
-0.060851603746414185,
0.000623833853751421,
0.054392486810684204,
-0.006811217870563269,
0.02126326598227024,
-0.04944906383752823,
-0.009177281521260738,
-0.014264349825680256,
0.009157705120742321,
-0.046496856957674026,
0.03799615427851677,
-0.004299743566662073,
-0.02242959477007389,
-0.04304620996117592,
-0.0438692681491375,
0.015021773055195808,
0.0950535237789154,
-0.010915451683104038,
-0.014727981761097908,
-0.03349841386079788,
0.0007132411119528115,
0.04728248715400696,
0.010066865012049675,
-0.041557881981134415,
0.042758431285619736,
0.03991745039820671,
0.030591566115617752,
-0.02079610340297222,
0.06540537625551224,
-0.010940095409750938,
-0.024085966870188713,
-0.021622207015752792,
0.018123025074601173,
0.011870511807501316,
-0.03321316838264465,
0.012683415785431862,
0.06241049990057945,
0.0042541311122477055,
-0.03157207369804382,
-0.007402438670396805,
0.07063552737236023,
0.00884504895657301,
0.011589961126446724,
0.0135222552344203,
-0.0022016630973666906,
-0.05606098845601082,
0.026054339483380318,
-0.033936046063899994,
-0.0044318572618067265,
-0.015639275312423706,
-0.011460055597126484,
0.011863978579640388,
0.034513942897319794,
0.045552294701337814,
0.04608927294611931,
-0.012034773826599121,
0.09932020306587219,
-0.05199439078569412,
-0.00721473153680563,
-0.0434800423681736,
-0.04256026819348335,
-0.0036892166826874018,
0.04372969642281532,
0.05964819714426994,
0.04613618552684784,
0.010940619744360447,
-0.03822958841919899,
0.015289069153368473,
0.0834767073392868,
0.047933295369148254,
0.03178734332323074,
-0.02554371766746044,
-0.02416067197918892,
0.038619328290224075,
0.06058299541473389,
-0.04196592792868614,
-0.056322935968637466,
0.013944991864264011,
0.05227278918027878,
-0.011857274919748306,
0.02120881900191307,
-0.023176757618784904,
0.029993345960974693,
-0.019831033423542976,
-0.0678362175822258,
0.06333009153604507,
0.0377298966050148,
-0.010685736313462257,
0.02728046476840973,
-0.002982738194987178,
0.007457680068910122,
-0.0020241010934114456,
0.014940177090466022,
-0.010741231963038445,
-0.03429027274250984,
-0.0037934842985123396,
0.023014862090349197,
0.06194598227739334,
-0.040185075253248215,
0.026867015287280083,
0.0010308345081284642,
0.00197765720076859,
0.02710999920964241,
-0.045159436762332916,
0.029229914769530296,
0.01639559306204319,
0.019148165360093117,
-0.027278583496809006,
0.03622150793671608,
-0.003754493547603488,
0.04128746688365936,
0.04809759184718132,
-0.010031872428953648,
0.0522538460791111,
-0.0009310690220445395,
0.059321701526641846,
0.07831314951181412,
0.020113276317715645,
0.016556479036808014,
0.026458600535988808,
0.0706692785024643,
0.012244001030921936,
-0.013289126567542553,
0.07906424254179001,
-0.04052051901817322,
0.008905328810214996,
-0.058095041662454605,
0.015036598779261112,
0.01967615820467472,
-0.008066607639193535,
0.0395263135433197,
0.0006886959890834987,
-0.0017153046792373061,
0.023248422890901566,
-0.0007428087992593646,
-0.002025357913225889,
0.04460899531841278,
0.001993482932448387,
0.00520064914599061,
-0.0030682659707963467,
-0.044653527438640594,
0.00832509994506836,
-0.0687728077173233,
-0.03391531482338905,
-0.023618752136826515,
-0.03184664621949196,
0.008145494386553764,
-0.07694883644580841,
-0.04056733474135399,
-0.05448324978351593,
-0.012649064883589745,
0.04194685444235802,
0.020800616592168808,
-0.00616760877892375,
-0.025431284680962563,
0.017162088304758072,
-0.028143079951405525,
-0.04217437654733658,
-0.05667790025472641,
-0.04908107966184616,
-0.053288158029317856,
-0.06452438980340958,
0.038522280752658844,
0.013740557245910168,
0.006716285832226276,
0.0007123828399926424,
0.02420264109969139,
-0.05169178545475006,
-0.026605714112520218,
0.021006500348448753,
0.0354219526052475,
-0.039022043347358704,
-0.0368618480861187,
0.025657959282398224,
-0.01295116450637579,
0.017251979559659958,
0.00313567859120667,
-0.02959951013326645,
0.08313338458538055,
0.07578106224536896,
0.023160284385085106,
0.03394108638167381,
-0.0004887344548478723,
-0.08307857066392899,
-0.048080574721097946,
-0.019621849060058594,
-0.025226974859833717,
0.017599087208509445,
-0.033719003200531006,
-0.06419695913791656,
-0.0348905548453331,
-0.03767946735024452,
0.010745331645011902,
-0.013193073682487011,
0.011980125680565834,
0.011281104758381844,
0.05440771207213402,
0.03032183274626732,
0.03582220897078514,
-0.018448105081915855,
-0.025478407740592957,
0.0887783020734787,
0.009019888006150723,
0.009721766225993633,
-0.06810065358877182,
-0.024582337588071823,
0.034318454563617706,
0.0322808176279068,
0.000004748145784105873,
0.0030115763656795025,
0.07979743927717209,
-0.008478717878460884,
-0.0017890615854412317,
-0.008686771616339684,
-0.026071948930621147,
-0.04070523381233215,
0.004537759814411402,
-0.001007457380183041,
-0.014207856729626656,
-0.04951047524809837,
-0.019436616450548172,
0.014305631630122662,
0.060064900666475296,
-0.06159752607345581,
-0.049019910395145416,
-0.01669076830148697,
0.04134207218885422,
-0.00420185225084424,
0.009204738773405552,
-0.04022962599992752,
0.024468371644616127,
-0.05575346574187279,
-0.043397437781095505,
0.00587503844872117,
0.004570265766233206,
0.039383549243211746,
0.07126300781965256,
0.021070709452033043,
-0.024692879989743233,
0.056517232209444046,
0.0380202941596508,
0.055194929242134094,
0.015130805782973766,
-0.049981486052274704,
0.01294136792421341,
-0.04470009729266167,
0.012935047969222069,
0.00009965088247554377,
-0.06005516275763512,
-0.05895190313458443,
-0.07150858640670776,
-0.03537592664361,
-0.0025500538758933544,
-0.019941963255405426,
0.01119849644601345,
0.036135926842689514,
-0.010973800905048847,
-0.016655229032039642,
0.01615525782108307,
0.015630587935447693,
0.02143894135951996,
-0.03985060378909111,
0.06724901497364044,
-0.019549895077943802,
0.02299220860004425,
-0.06514522433280945,
0.024832043796777725,
-0.028117351233959198,
-0.029437324032187462,
0.0004957339842803776,
0.06024676188826561,
0.05327003449201584,
0.03147757425904274,
0.08857076615095139,
0.03274184465408325,
-0.051612090319395065,
0.04494115337729454,
0.031222384423017502,
-0.003079933114349842,
-0.04032959043979645,
-0.008481219410896301,
-0.0021709573920816183,
-0.03650456666946411,
-0.006287317257374525,
-0.017442453652620316,
0.008605360984802246,
0.03619350865483284,
0.015330000780522823,
-0.010218285955488682,
0.009905016981065273,
-0.02737233228981495,
-0.029779795557260513,
-0.0830770805478096,
-0.028313538059592247,
0.004910881165415049,
-0.024554556235671043,
0.019752293825149536,
0.04915190860629082,
0.006848215125501156,
0.07329431176185608,
0.0330190435051918,
-0.008331854827702045,
-0.04524681344628334,
0.032726164907217026,
0.026657190173864365,
-0.024708492681384087,
-0.06910312920808792,
-0.02893824316561222,
0.04644622281193733,
0.05136381462216377,
0.0005224334890954196,
-0.0878157764673233,
0.013658515177667141,
0.03970889374613762,
-0.01167205534875393,
0.07335112243890762,
0.0015550691168755293,
0.04857105389237404,
0.041418079286813736,
-0.02150174416601658,
0.02296704612672329,
-0.03712274879217148,
0.013686537742614746,
-0.0028321126010268927,
0.03572015464305878,
-0.029973940923810005,
-0.017482832074165344,
-0.042367372661828995,
-0.0009366547456011176,
0.019901718944311142,
0.03691303730010986,
0.03208219259977341,
-0.034043390303850174,
-0.03899116441607475,
0.02801606059074402,
0.04447797313332558,
-0.05422556400299072,
0.020755356177687645,
0.018401872366666794,
0.03398103639483452,
-0.06410433351993561,
-0.037995100021362305,
-0.028532087802886963,
-0.008315046317875385,
0.023546399548649788,
0.02182185836136341,
-0.03666948527097702,
-0.0760393962264061,
0.013899872079491615,
-0.01850949227809906,
-0.016489021480083466,
-0.07882136851549149,
0.007468880619853735,
-0.014942605048418045,
-0.0232708677649498,
0.0399777926504612,
0.03266929090023041,
0.02368474379181862,
0.04830283299088478,
-0.005025672260671854,
0.0005605779006145895,
-0.041632745414972305,
0.03957368806004524,
-0.041959505528211594,
-0.0026300994213670492,
-0.007371544372290373,
-0.042654864490032196,
0.0013838863233104348,
-0.04706964269280434,
-0.034998584538698196,
-0.057660579681396484,
-0.0009095622808672488,
0.02545536868274212,
-0.03660133481025696,
0.006137879099696875,
-0.007495481986552477,
0.05415764078497887,
-0.042915329337120056,
-0.03173680603504181,
-0.02272433415055275,
-0.029384849593043327,
-0.05874492973089218,
-0.031039539724588394,
-0.018762221559882164,
-0.00006938988371985033,
0.01893831230700016,
0.005207759328186512,
0.017719373106956482,
-0.017185067757964134,
-0.025747492909431458,
-0.02648073248565197,
0.023179329931735992,
-0.0017218965804204345,
-0.02376355044543743,
-0.025542110204696655,
0.014063229784369469,
0.02280161716043949,
0.04979410022497177,
-0.027276046574115753,
0.04265648499131203,
0.027991825714707375,
-0.017785796895623207,
-0.004894225392490625,
0.0015123275807127357,
0.012933599762618542,
-0.06321082264184952,
-0.048884086310863495,
-0.02127058431506157,
-0.0421113483607769,
0.028903605416417122,
-0.03757895901799202,
-0.024306414648890495,
0.040042489767074585,
0.026926934719085693,
0.04190049320459366,
0.007548230234533548,
-0.027348678559064865,
0.008884375914931297,
-0.0004963050596415997,
0.014757784083485603,
-0.07162872701883316,
0.05475945398211479,
-0.04028833657503128,
0.023631326854228973,
-0.010013606399297714,
-0.01511418353766203,
-0.03791572153568268,
0.029376672580838203,
-0.037596963346004486,
-0.018031569197773933,
-0.012128799222409725,
0.03637540712952614,
-0.025718210265040398,
0.03175492212176323,
-0.03903986141085625,
-0.006278896238654852,
-0.01669410988688469,
0.05887158215045929,
-0.06794475764036179,
-0.008057704195380211,
-0.054537851363420486,
0.021756120026111603,
-0.0389728844165802,
-0.013503325171768665,
0.004529486410319805,
-0.03642185032367706,
0.03419060260057449,
0.015064612030982971,
0.007632523309439421,
0.051752492785453796,
-0.017673028632998466,
0.01507785264402628,
0.007870727218687534,
-0.04736664518713951,
-0.024187741801142693,
-0.017609188333153725,
0.006556787062436342,
-0.01624794490635395,
0.07369500398635864,
0.03464866057038307,
-0.05487795174121857,
-0.06111452355980873,
0.03149556368589401,
0.009867258369922638,
-0.000510916521307081,
0.028828784823417664,
0.008933274075388908,
0.004886612296104431,
0.062359508126974106,
-0.03102676011621952,
-0.0011937761446461082,
-0.007605424150824547,
-0.013478402979671955,
0.014686822891235352,
-0.006562682334333658,
0.02155856229364872,
0.006175861693918705,
-0.023909199982881546,
-0.045442044734954834,
0.07555956393480301,
0.025999661535024643,
0.035295967012643814,
0.006773751229047775,
-0.042362045496702194,
0.007893865928053856,
0.007695761974900961,
-0.060242313891649246,
0.0005621722666546702,
0.006914071273058653,
-0.040489304810762405,
0.08044189214706421,
-0.005652202293276787,
0.01593158021569252,
0.05339238792657852,
0.0003569565014913678,
-0.03170061856508255,
0.054390545934438705,
-0.017497198656201363,
-0.017867961898446083,
0.04489917308092117,
-0.0402897484600544,
0.0021794522181153297,
-0.016502859070897102,
0.058118194341659546,
-0.048794396221637726,
0.048125263303518295,
0.04901669919490814,
0.0009130838443525136,
0.03670937940478325,
-0.05465439334511757,
-0.022521452978253365,
0.03625812381505966,
-0.031831298023462296,
0.08217190206050873,
-0.006699313875287771,
-0.03204149380326271,
0.0545189306139946,
0.018917866051197052,
-0.07338649034500122,
0.04132261127233505,
0.03602913022041321,
0.02088768780231476,
0.014096186496317387,
0.05521022900938988,
-0.029505349695682526,
0.021055087447166443,
-0.04150821641087532,
0.016794946044683456,
-0.053053706884384155,
-0.0011735670268535614,
0.016642233356833458,
-0.029221219941973686,
-0.002459909301251173,
0.014483521692454815,
-0.03198285400867462,
-0.014173724688589573,
0.04093330353498459,
-0.055190104991197586,
-0.019829828292131424,
-0.006040623877197504,
0.04106256738305092,
-0.029022367671132088,
0.023864101618528366,
-0.03212268650531769,
0.011261441744863987,
0.004090627655386925,
0.00719952117651701,
-0.02010262757539749,
0.010490912944078445,
0.021276718005537987,
-0.060951340943574905,
-0.058569490909576416,
0.0019249639008194208,
0.029918674379587173,
-0.022574197500944138,
0.034885045140981674,
0.002219945890828967,
-0.001447120914235711,
0.024220962077379227,
0.0035046078264713287,
0.00030680588679388165,
-0.02503652684390545,
-0.008850298821926117,
-0.009798976592719555,
0.021365206688642502,
0.053468458354473114,
-0.02249525859951973,
0.027473947033286095,
0.057833943516016006,
0.040609508752822876,
-0.0022532253060489893,
-0.05519641190767288,
-0.0278705395758152,
0.04059530049562454,
-0.053042758256196976,
0.0059854406863451,
-0.001137615879997611,
-0.052008502185344696,
-0.030854428187012672,
-0.00831703282892704,
0.0019285600865259767,
0.03401818126440048,
-0.060683246701955795,
0.0372435487806797,
0.029207155108451843,
-0.012566430494189262,
-0.043884024024009705,
-0.0740082710981369,
-0.011600703932344913,
-0.056023646146059036,
0.04963745176792145,
0.012929720804095268,
-0.014010859653353691,
0.017246847972273827,
-0.04106398671865463,
-0.04954194277524948,
0.04088383913040161,
0.025443337857723236,
-0.06675895303487778,
0.07315336167812347,
0.03277616575360298,
-0.04328722506761551,
0.009591843001544476,
0.044453926384449005,
-0.030459532514214516,
0.0251681599766016,
0.026922913268208504,
0.0036380779929459095,
0.022852113470435143,
0.04518137127161026,
-0.02665141224861145,
-0.015994379296898842,
-0.07299953699111938,
-0.024847742170095444,
-0.03116459958255291,
0.009280029684305191,
0.07036592066287994
] |
BigSalmon/MrLincoln5 | [
"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 | ---
language: tr
license: mit
---
# π€ + π dbmdz Turkish BERT model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources an uncased model for Turkish π
# πΉπ· BERTurk
BERTurk is a community-driven uncased BERT model for Turkish.
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the model name: BERTurk.
## Stats
The current version of the model is trained on a filtered and sentence
segmented version of the Turkish [OSCAR corpus](https://traces1.inria.fr/oscar/),
a recent Wikipedia dump, various [OPUS corpora](http://opus.nlpl.eu/) and a
special corpus provided by [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/).
The final training corpus has a size of 35GB and 44,04,976,662 tokens.
Thanks to Google's TensorFlow Research Cloud (TFRC) we could train an uncased model
on a TPU v3-8 for 2M steps.
For this model we use a vocab size of 128k.
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-turkish-128k-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-128k-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-128k-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-128k-uncased/vocab.txt)
## Usage
With Transformers >= 2.3 our BERTurk uncased model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-turkish-128k-uncased")
model = AutoModel.from_pretrained("dbmdz/bert-base-turkish-128k-uncased")
```
## Results
For results on PoS tagging or NER tasks, please refer to
[this repository](https://github.com/stefan-it/turkish-bert).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.0022795142140239477,
-0.0035089650191366673,
-0.015174581669270992,
0.07586457580327988,
0.012945710681378841,
0.03307133540511131,
0.0030071218498051167,
-0.006074636243283749,
-0.04780890792608261,
0.06080906465649605,
0.010772669687867165,
-0.03797772526741028,
0.0054454798810184,
0.043531227856874466,
-0.02132060006260872,
-0.01724732667207718,
-0.0022954284213483334,
-0.004748099017888308,
-0.056445155292749405,
-0.013846307061612606,
-0.028752043843269348,
0.020146340131759644,
-0.005530627444386482,
0.04470023140311241,
0.011730540543794632,
0.027278946712613106,
-0.01473483070731163,
0.03722912818193436,
0.024156270548701286,
-0.07882919907569885,
0.01952924020588398,
-0.02834535390138626,
-0.03695065155625343,
-0.017564646899700165,
-0.03329996019601822,
-0.005271691828966141,
0.018088048323988914,
-0.0034251122269779444,
0.05868823081254959,
0.04452948644757271,
-0.01878822222352028,
0.019798243418335915,
0.02289019711315632,
-0.04759805649518967,
0.04309197515249252,
0.009449345991015434,
-0.05258753523230553,
-0.02304830774664879,
0.035193976014852524,
-0.05457264184951782,
-0.04268725961446762,
-0.05716070532798767,
-0.045367397367954254,
0.03740797936916351,
-0.006933968514204025,
-0.03852416202425957,
-0.0502190962433815,
-0.003136659972369671,
0.06224251538515091,
-0.051055099815130234,
-0.044642373919487,
0.024844923987984657,
-0.07281149923801422,
0.024343015626072884,
0.03752962127327919,
-0.009647431783378124,
0.0017061769030988216,
-0.051567696034908295,
0.041279908269643784,
-0.027262823656201363,
0.019727861508727074,
-0.006725303828716278,
-0.00139615626540035,
-0.08275920897722244,
-0.009223535656929016,
-0.009756170213222504,
0.032373569905757904,
0.04483887553215027,
-0.048368122428655624,
0.06267084181308746,
0.02204299531877041,
-0.02157866396009922,
0.04712657257914543,
-0.019627757370471954,
-0.01952280104160309,
0.07291638851165771,
-0.011983906850218773,
-0.0023028377909213305,
0.0013532587327063084,
0.053820621222257614,
-0.04405950382351875,
-0.020357491448521614,
-0.021701069548726082,
-0.03147328644990921,
-0.024113669991493225,
0.024594372138381004,
0.01396987959742546,
0.007625683210790157,
0.011412173509597778,
0.03748052939772606,
0.026589779183268547,
0.027795802801847458,
-0.02519829198718071,
0.04389626532793045,
-0.006306695286184549,
-0.025913706049323082,
-0.0014773410512134433,
-0.04813937470316887,
-0.04027972370386124,
0.029569804668426514,
0.014936443418264389,
-0.05001707375049591,
-0.03375837951898575,
0.045427121222019196,
0.01782449707388878,
-0.0329042449593544,
0.04837831109762192,
-0.019749188795685768,
-0.025448909029364586,
-0.018992559984326363,
0.03601010888814926,
-0.006106825079768896,
0.01003153994679451,
-0.01021008100360632,
-0.05901816487312317,
0.023297255858778954,
-0.04979575797915459,
-0.0199517160654068,
0.0035211790818721056,
0.037708379328250885,
-0.012860913760960102,
0.04739762097597122,
0.03252364322543144,
-0.07004764676094055,
0.010941374115645885,
0.020390024408698082,
-0.04757978022098541,
0.059548381716012955,
0.016704823821783066,
0.10945786535739899,
-0.05708017200231552,
-0.04129764437675476,
0.0055053201504051685,
0.023905223235487938,
-0.027522968128323555,
0.007413281127810478,
0.022516436874866486,
-0.02600412629544735,
-0.02300763688981533,
-0.01043049618601799,
0.050510890781879425,
-0.05812441185116768,
0.0029270497616380453,
0.059229638427495956,
-0.01000311877578497,
0.029368802905082703,
-0.051661524921655655,
-0.008409963920712471,
-0.010817784816026688,
0.008009240962564945,
-0.04216661676764488,
0.03478742763400078,
-0.0043141525238752365,
-0.02074788510799408,
-0.04154686629772186,
-0.04385151341557503,
0.022148380056023598,
0.0956067442893982,
-0.007259313017129898,
-0.016683561727404594,
-0.02965153194963932,
0.0034494856372475624,
0.04276856407523155,
0.016562476754188538,
-0.04187813773751259,
0.04544265940785408,
0.0424993596971035,
0.02896837145090103,
-0.022311124950647354,
0.062372107058763504,
-0.0037446857895702124,
-0.025128530338406563,
-0.016612214967608452,
0.019510963931679726,
0.007130780722945929,
-0.031569547951221466,
0.014224957674741745,
0.061009664088487625,
0.005074512213468552,
-0.030127760022878647,
-0.004095780197530985,
0.06637248396873474,
0.008273215964436531,
0.014029797166585922,
0.01692267879843712,
-0.00723299290984869,
-0.055638637393713,
0.03390299528837204,
-0.034453775733709335,
-0.005990306381136179,
-0.01665862463414669,
-0.012466206215322018,
0.009038113057613373,
0.031957726925611496,
0.04781464859843254,
0.04198230430483818,
-0.015753954648971558,
0.09825631976127625,
-0.04895881563425064,
-0.0037598321214318275,
-0.04608840122818947,
-0.041206542402505875,
-0.0019145447295159101,
0.04509478434920311,
0.05692915618419647,
0.04467688128352165,
0.006374659016728401,
-0.041284963488578796,
0.021529555320739746,
0.07711546868085861,
0.04659423604607582,
0.03327449411153793,
-0.02194604091346264,
-0.015608900226652622,
0.043755605816841125,
0.05722848325967789,
-0.04432760551571846,
-0.05681084096431732,
0.010023468174040318,
0.054765503853559494,
-0.012769639492034912,
0.02130408026278019,
-0.022217774763703346,
0.02681434340775013,
-0.01934039406478405,
-0.0670166164636612,
0.06384693831205368,
0.03981988877058029,
-0.013954006135463715,
0.029019320383667946,
-0.004841720685362816,
0.009543618187308311,
-0.00013690892956219614,
0.008734341710805893,
-0.0017557124374434352,
-0.030328622087836266,
-0.005394535604864359,
0.022745050489902496,
0.06574799865484238,
-0.041882216930389404,
0.02851138636469841,
-0.004563397262245417,
0.004844182636588812,
0.024183398112654686,
-0.049132414162158966,
0.02723560854792595,
0.019045641645789146,
0.0232679583132267,
-0.0319577232003212,
0.03628891706466675,
-0.0023246649652719498,
0.04392701014876366,
0.05139494314789772,
-0.007173778489232063,
0.0539306178689003,
0.0029020076617598534,
0.053182728588581085,
0.07171199470758438,
0.014819161966443062,
0.01857827603816986,
0.024543186649680138,
0.07143909484148026,
0.016077738255262375,
-0.011194431222975254,
0.0801616832613945,
-0.033620864152908325,
0.004048390779644251,
-0.059129662811756134,
0.01629514805972576,
0.016794154420495033,
-0.010565893724560738,
0.03770991042256355,
0.00415744399651885,
0.00013186557043809444,
0.022800827398896217,
0.00042287129326723516,
-0.0030772730242460966,
0.04228077828884125,
0.003071844344958663,
0.007854200899600983,
-0.00665281480178237,
-0.039974190294742584,
0.011993663385510445,
-0.06666505336761475,
-0.03763645887374878,
-0.02218165248632431,
-0.033899787813425064,
0.006704108789563179,
-0.0726543664932251,
-0.03927670791745186,
-0.05239146947860718,
-0.00874144583940506,
0.03964363783597946,
0.014795375056564808,
-0.008414564654231071,
-0.022712673991918564,
0.012754814699292183,
-0.033938322216272354,
-0.04181501269340515,
-0.05590124800801277,
-0.052979595959186554,
-0.05030861124396324,
-0.0633193776011467,
0.03924121707677841,
0.008592343889176846,
0.005594352260231972,
0.0018437342951074243,
0.02966132201254368,
-0.04384523257613182,
-0.022319188341498375,
0.02576286531984806,
0.032080404460430145,
-0.040455274283885956,
-0.04216129332780838,
0.021849235519766808,
-0.011705785989761353,
0.01596035435795784,
0.006083228625357151,
-0.0336485281586647,
0.08424462378025055,
0.08710011094808578,
0.025994807481765747,
0.03205364942550659,
-0.002172383014112711,
-0.07720784097909927,
-0.04778648912906647,
-0.022977814078330994,
-0.030227061361074448,
0.01422418188303709,
-0.03454333543777466,
-0.05861547961831093,
-0.03614680841565132,
-0.040057141333818436,
0.004642103798687458,
-0.014146282337605953,
0.012096632272005081,
0.008623765781521797,
0.04811371862888336,
0.027590690180659294,
0.03869377076625824,
-0.019615456461906433,
-0.021178433671593666,
0.0898355096578598,
0.008863079361617565,
0.008531122468411922,
-0.06883565336465836,
-0.02638038992881775,
0.03410365805029869,
0.02956419810652733,
-0.0025614916812628508,
-0.0008702659397386014,
0.07369254529476166,
-0.005288329906761646,
-0.005807969719171524,
-0.013985713943839073,
-0.023862043395638466,
-0.04295841604471207,
0.0031089955009520054,
0.002524895826354623,
-0.011587042361497879,
-0.044776011258363724,
-0.022399231791496277,
0.015825798735022545,
0.06195584684610367,
-0.06254909187555313,
-0.04654775932431221,
-0.02322958968579769,
0.041665151715278625,
-0.0019513292936608195,
0.010693875141441822,
-0.04189760982990265,
0.01923873834311962,
-0.05731113255023956,
-0.04348631575703621,
0.007735478226095438,
0.005205627530813217,
0.0375862792134285,
0.06966658681631088,
0.02320007234811783,
-0.026021167635917664,
0.0609470009803772,
0.03703868016600609,
0.06031060218811035,
0.017712846398353577,
-0.051602717489004135,
0.015953512862324715,
-0.045751526951789856,
0.013047897256910801,
0.0091998977586627,
-0.057546041905879974,
-0.055062487721443176,
-0.07773803919553757,
-0.03539557009935379,
-0.002237091539427638,
-0.023881716653704643,
0.007104126270860434,
0.032284609973430634,
-0.0077888863161206245,
-0.017372040078043938,
0.012080837972462177,
0.013390639796853065,
0.026986820623278618,
-0.04123377799987793,
0.06261598318815231,
-0.013773170299828053,
0.018648270517587662,
-0.06289899349212646,
0.02512945421040058,
-0.028496958315372467,
-0.027877500280737877,
0.00010007899982156232,
0.05825096368789673,
0.05160001665353775,
0.03498746454715729,
0.0860743299126625,
0.02877993695437908,
-0.0498872734606266,
0.046745847910642624,
0.03025379404425621,
0.00041939146467484534,
-0.040930066257715225,
-0.011055747047066689,
-0.00646887207403779,
-0.03779289871454239,
-0.005859821569174528,
-0.017317483201622963,
0.007973444648087025,
0.03495122864842415,
0.017176473513245583,
-0.011103946715593338,
0.012689569965004921,
-0.017936332151293755,
-0.029718777164816856,
-0.08702922612428665,
-0.028429189696907997,
0.00920121930539608,
-0.027929456904530525,
0.021340560168027878,
0.04634087532758713,
0.006663893815129995,
0.06764231622219086,
0.042281705886125565,
-0.01274918857961893,
-0.043393030762672424,
0.027903851121664047,
0.031155576929450035,
-0.030452171340584755,
-0.07288838922977448,
-0.03182312101125717,
0.046300556510686874,
0.05613080784678459,
-0.00621506292372942,
-0.0929703339934349,
0.014093742705881596,
0.0406653918325901,
-0.018165884539484978,
0.07591342180967331,
-0.0005867798463441432,
0.051625803112983704,
0.04152880236506462,
-0.018633371219038963,
0.02296929992735386,
-0.03388022258877754,
0.00983977410942316,
0.0012937223073095083,
0.03257667273283005,
-0.03384983167052269,
-0.021951215341687202,
-0.04140332713723183,
0.0042485748417675495,
0.022648092359304428,
0.03154634311795235,
0.03866034001111984,
-0.033335234969854355,
-0.04760066419839859,
0.020843176171183586,
0.04360203817486763,
-0.05625336244702339,
0.01729539781808853,
0.020774712786078453,
0.03062332421541214,
-0.06457448750734329,
-0.043705474585294724,
-0.0286959670484066,
-0.012484357692301273,
0.025072066113352776,
0.020532352849841118,
-0.03346015512943268,
-0.06995080411434174,
0.015305019915103912,
-0.022937487810850143,
-0.013711557723581791,
-0.07899323850870132,
0.006210623309016228,
-0.011352214962244034,
-0.024426734074950218,
0.038948554545640945,
0.03021213412284851,
0.03622637316584587,
0.048322584480047226,
-0.00013168132863938808,
-0.002345120534300804,
-0.03507321700453758,
0.03722206503152847,
-0.03606513887643814,
-0.00487440824508667,
-0.0055062295868992805,
-0.04278857633471489,
0.004457010887563229,
-0.04492013156414032,
-0.03666217625141144,
-0.058670517057180405,
-0.0033295147586613894,
0.026997819542884827,
-0.0382549948990345,
0.005119336768984795,
-0.009775562211871147,
0.05303116887807846,
-0.04155617952346802,
-0.03453473746776581,
-0.02325073443353176,
-0.025810031220316887,
-0.061914313584566116,
-0.034055933356285095,
-0.011548069305717945,
0.00019198760855942965,
0.021350372582674026,
0.0019747556652873755,
0.01978076621890068,
-0.018298447132110596,
-0.023112280294299126,
-0.025104671716690063,
0.01977616548538208,
0.001429838128387928,
-0.025946876034140587,
-0.025398598983883858,
0.01177971251308918,
0.019596487283706665,
0.054572466760873795,
-0.02811180241405964,
0.03855478763580322,
0.022367211058735847,
-0.018567543476819992,
-0.004178992938250303,
0.0058528222143650055,
0.011806602589786053,
-0.0652867779135704,
-0.05152741074562073,
-0.021309135481715202,
-0.04215441271662712,
0.03378738835453987,
-0.03645949810743332,
-0.02564159221947193,
0.04051424562931061,
0.028190113604068756,
0.040952417999506,
0.005167409777641296,
-0.02570892497897148,
0.011687899939715862,
-0.0033533836249262094,
0.01840408518910408,
-0.06825229525566101,
0.05575300008058548,
-0.03667205199599266,
0.023251360282301903,
-0.009533792734146118,
-0.015476942993700504,
-0.03819097951054573,
0.028292078524827957,
-0.03760600462555885,
-0.012809415347874165,
-0.015231738798320293,
0.03065698780119419,
-0.03073921799659729,
0.029678793624043465,
-0.031384993344545364,
-0.0006518996669910848,
-0.018164893612265587,
0.05944356694817543,
-0.06953741610050201,
-0.0039387657307088375,
-0.05128299444913864,
0.02575823664665222,
-0.0341118648648262,
-0.010864092037081718,
0.008984607644379139,
-0.03639164939522743,
0.03369741514325142,
0.023493345826864243,
0.012684526853263378,
0.047206811606884,
-0.020917387679219246,
0.013549335300922394,
0.009468762204051018,
-0.04736623167991638,
-0.023660941049456596,
-0.016866568475961685,
0.010084491223096848,
-0.015325956046581268,
0.07127837836742401,
0.040306925773620605,
-0.05782492086291313,
-0.06259503215551376,
0.0335749015212059,
0.007564917206764221,
0.0014031283790245652,
0.028011715039610863,
0.012687111273407936,
0.005810257978737354,
0.0595720112323761,
-0.027323512360453606,
-0.0006243244861252606,
-0.009221380576491356,
-0.020819609984755516,
0.017791450023651123,
-0.005806456785649061,
0.028760327026247978,
0.004168401937931776,
-0.02888752706348896,
-0.04227244108915329,
0.07756835967302322,
0.02657981589436531,
0.031482040882110596,
0.005936930421739817,
-0.04410324618220329,
0.01623743586242199,
0.01075004693120718,
-0.058537453413009644,
-0.0010327468626201153,
0.011121061630547047,
-0.03669273108243942,
0.07777094095945358,
-0.01163365039974451,
0.014991889707744122,
0.05062901973724365,
0.0021403334103524685,
-0.03312075883150101,
0.05589141696691513,
-0.01755175180733204,
-0.011214439757168293,
0.041919514536857605,
-0.03957415372133255,
-0.0017256545834243298,
-0.02274869754910469,
0.0628480538725853,
-0.05700016766786575,
0.04292665794491768,
0.04974890500307083,
-0.0026815831661224365,
0.037254344671964645,
-0.05022914335131645,
-0.0240764282643795,
0.036545589566230774,
-0.03186759725213051,
0.07962408661842346,
-0.005903272889554501,
-0.036340925842523575,
0.05448693782091141,
0.018991410732269287,
-0.07217606157064438,
0.04439675435423851,
0.03281307965517044,
0.018307071179151535,
0.015752142295241356,
0.06097057834267616,
-0.038541074842214584,
0.021635765209794044,
-0.041818276047706604,
0.023692985996603966,
-0.05896460637450218,
-0.0020873055327683687,
0.020652756094932556,
-0.02915009669959545,
-0.0028996560722589493,
0.018766798079013824,
-0.030678510665893555,
-0.013340353034436703,
0.029777932912111282,
-0.058609697967767715,
-0.025887077674269676,
-0.005278341006487608,
0.043131791055202484,
-0.02886325493454933,
0.019786134362220764,
-0.03285834193229675,
0.0187532901763916,
0.007298623211681843,
0.007419034838676453,
-0.022149527445435524,
0.01659410074353218,
0.024698469787836075,
-0.06485866010189056,
-0.053798966109752655,
0.01180107332766056,
0.02673535794019699,
-0.018340112641453743,
0.034402597695589066,
0.0023609939962625504,
0.00025241170078516006,
0.023715531453490257,
0.0001311733212787658,
0.007416340988129377,
-0.025228554382920265,
-0.011450979858636856,
-0.006172873079776764,
0.018639931455254555,
0.047825295478105545,
-0.024015240371227264,
0.026533961296081543,
0.05492634326219559,
0.03739060088992119,
-0.007558020763099194,
-0.056141097098588943,
-0.02421385608613491,
0.04335731267929077,
-0.0536637082695961,
0.0003261393867433071,
0.002801493275910616,
-0.05098051577806473,
-0.029991427436470985,
-0.008471347391605377,
0.003805994288995862,
0.03658449277281761,
-0.0562630295753479,
0.03476455435156822,
0.02781520038843155,
-0.009987165220081806,
-0.047890324145555496,
-0.07089770585298538,
-0.01669522188603878,
-0.050870705395936966,
0.0408598855137825,
0.013509063050150871,
-0.01608150079846382,
0.014029531739652157,
-0.04239929839968681,
-0.047657113522291183,
0.04401782155036926,
0.02529095485806465,
-0.06353869289159775,
0.07968597859144211,
0.029222290962934494,
-0.047607824206352234,
0.007320314180105925,
0.04668847471475601,
-0.029946858063340187,
0.024349818006157875,
0.02225724793970585,
0.0002580120344646275,
0.021930428221821785,
0.04859129711985588,
-0.030451716855168343,
-0.024078836664557457,
-0.06970304995775223,
-0.022695453837513924,
-0.02945338748395443,
0.006921201478689909,
0.0696776956319809
] |
BigSalmon/MrLincoln6 | [
"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 | ---
language: tr
license: mit
---
# π€ + π dbmdz Turkish BERT model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources a cased model for Turkish π
# πΉπ· BERTurk
BERTurk is a community-driven cased BERT model for Turkish.
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the model name: BERTurk.
## Stats
The current version of the model is trained on a filtered and sentence
segmented version of the Turkish [OSCAR corpus](https://traces1.inria.fr/oscar/),
a recent Wikipedia dump, various [OPUS corpora](http://opus.nlpl.eu/) and a
special corpus provided by [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/).
The final training corpus has a size of 35GB and 44,04,976,662 tokens.
Thanks to Google's TensorFlow Research Cloud (TFRC) we could train a cased model
on a TPU v3-8 for 2M steps.
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-turkish-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-cased/vocab.txt)
## Usage
With Transformers >= 2.3 our BERTurk cased model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-turkish-cased")
model = AutoModel.from_pretrained("dbmdz/bert-base-turkish-cased")
```
## Results
For results on PoS tagging or NER tasks, please refer to
[this repository](https://github.com/stefan-it/turkish-bert).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.0044649685733020306,
-0.0030783466063439846,
-0.011813784949481487,
0.07999378442764282,
0.01368660293519497,
0.028646579012274742,
0.0039849733002483845,
-0.010890671983361244,
-0.05280505120754242,
0.06609781086444855,
0.00720737362280488,
-0.038194689899683,
0.007371016312390566,
0.037156958132982254,
-0.015988297760486603,
-0.023143397644162178,
-0.0037064964417368174,
0.006777368951588869,
-0.05347961187362671,
-0.017107730731368065,
-0.024715961888432503,
0.01659129187464714,
-0.004096283111721277,
0.03929580748081207,
0.014197434298694134,
0.024260159581899643,
-0.0103516960516572,
0.031692832708358765,
0.020740270614624023,
-0.08353392779827118,
0.027260813862085342,
-0.026157008484005928,
-0.032820407301187515,
-0.022505108267068863,
-0.03139367699623108,
0.0032887475099414587,
0.012732061557471752,
0.0027964573819190264,
0.06089679151773453,
0.05129868537187576,
-0.020676754415035248,
0.01537380088120699,
0.02114017680287361,
-0.05463781580328941,
0.036405134946107864,
0.009399795904755592,
-0.050218645483255386,
-0.023030884563922882,
0.03026915155351162,
-0.05072421208024025,
-0.03819383680820465,
-0.05698453634977341,
-0.044760189950466156,
0.03938194364309311,
-0.001726913615129888,
-0.041011735796928406,
-0.051940158009529114,
-0.003803232219070196,
0.056553956121206284,
-0.046214453876018524,
-0.039896465837955475,
0.023146022111177444,
-0.07396218180656433,
0.020346589386463165,
0.03586544096469879,
-0.011855654418468475,
0.006585803348571062,
-0.052617739886045456,
0.039244990795850754,
-0.02697821892797947,
0.013702650554478168,
-0.011204351671040058,
0.0015516733983531594,
-0.08314315229654312,
-0.00886143371462822,
-0.007741408888250589,
0.03284779191017151,
0.0427049845457077,
-0.041416797786951065,
0.06073912978172302,
0.020561344921588898,
-0.023184623569250107,
0.051901835948228836,
-0.016903622075915337,
-0.017439883202314377,
0.0769941657781601,
-0.0126532893627882,
-0.0034051393158733845,
0.004979574587196112,
0.05150977522134781,
-0.040723156183958054,
-0.018792742863297462,
-0.02123737707734108,
-0.0265244971960783,
-0.024795856326818466,
0.027893394231796265,
0.010758415795862675,
0.0028547937981784344,
0.013455756939947605,
0.03466854244470596,
0.032199677079916,
0.02667352929711342,
-0.031429581344127655,
0.04141584038734436,
-0.012606400065124035,
-0.032212112098932266,
0.0026065425481647253,
-0.052291709929704666,
-0.04401281848549843,
0.03662237524986267,
0.011021441780030727,
-0.044050127267837524,
-0.029144974425435066,
0.049393586814403534,
0.015344591811299324,
-0.03272327035665512,
0.05945349484682083,
-0.02066159062087536,
-0.02975016087293625,
-0.013571755029261112,
0.04115940257906914,
-0.0060333008877933025,
0.007335539907217026,
-0.00045212512486614287,
-0.06061882898211479,
0.02266746759414673,
-0.043707091361284256,
-0.018736697733402252,
0.009300597943365574,
0.03532019257545471,
-0.015320349484682083,
0.04343464970588684,
0.030446864664554596,
-0.0747741162776947,
0.01187610998749733,
0.021964056417346,
-0.047923218458890915,
0.05427587777376175,
0.014163155108690262,
0.1045990064740181,
-0.05860036984086037,
-0.0339437760412693,
0.008334838785231113,
0.033050887286663055,
-0.028685256838798523,
0.004469746258109808,
0.026109255850315094,
-0.030757399275898933,
-0.023053660988807678,
-0.012569454498589039,
0.04769619181752205,
-0.059852130711078644,
0.0008595623658038676,
0.057098545134067535,
-0.009390248917043209,
0.020468872040510178,
-0.049436990171670914,
-0.008282839320600033,
-0.012296459637582302,
0.009481818415224552,
-0.04656703770160675,
0.03897792100906372,
-0.0034410576336085796,
-0.019646821543574333,
-0.043043263256549835,
-0.045701514929533005,
0.014099442400038242,
0.09717217087745667,
-0.011788295581936836,
-0.016031648963689804,
-0.030209440737962723,
0.000048992777010425925,
0.04672349616885185,
0.008744447492063046,
-0.04100993275642395,
0.04544093832373619,
0.041901446878910065,
0.030483124777674675,
-0.01983349584043026,
0.06629613041877747,
-0.011757876724004745,
-0.02591603621840477,
-0.021702032536268234,
0.019732994958758354,
0.010395166464149952,
-0.03265899792313576,
0.014956311322748661,
0.06450405716896057,
0.0022379884030669928,
-0.031753670424222946,
-0.00713135302066803,
0.06941074132919312,
0.009504920803010464,
0.011237363331019878,
0.014995644800364971,
-0.003660654416307807,
-0.05391229689121246,
0.024191146716475487,
-0.033692046999931335,
-0.0027496630791574717,
-0.017076678574085236,
-0.008650768548250198,
0.011438430286943913,
0.0331917405128479,
0.045259177684783936,
0.04588986188173294,
-0.012600510381162167,
0.10217004269361496,
-0.05263834074139595,
-0.004920708481222391,
-0.04491376876831055,
-0.043012820184230804,
-0.0026503708213567734,
0.043523143976926804,
0.05768352001905441,
0.044160909950733185,
0.01067592203617096,
-0.038335997611284256,
0.01559316273778677,
0.08313450217247009,
0.04768768697977066,
0.03244977071881294,
-0.027081118896603584,
-0.023708712309598923,
0.03810053691267967,
0.06074642390012741,
-0.0398654043674469,
-0.05884507670998573,
0.010272861458361149,
0.05220988392829895,
-0.010671922005712986,
0.022376038134098053,
-0.022027023136615753,
0.02895333804190159,
-0.01659511961042881,
-0.06640792638063431,
0.0649004802107811,
0.036888472735881805,
-0.010143655352294445,
0.026943868026137352,
-0.002903752261772752,
0.006567544303834438,
-0.003929554484784603,
0.012920316308736801,
-0.008855779655277729,
-0.03584756329655647,
-0.0044891806319355965,
0.0246132705360651,
0.06174289807677269,
-0.042281605303287506,
0.028405992314219475,
0.00014744256623089314,
0.002639253158122301,
0.02757197432219982,
-0.044585421681404114,
0.031014416366815567,
0.014867005869746208,
0.01946038007736206,
-0.02938172034919262,
0.03911178186535835,
-0.003567670937627554,
0.042679328471422195,
0.04676106572151184,
-0.0072847334668040276,
0.0529487282037735,
-0.0009885733015835285,
0.05827774852514267,
0.07624617218971252,
0.018768958747386932,
0.01643195189535618,
0.025894246995449066,
0.07263390719890594,
0.013971095904707909,
-0.013123825192451477,
0.07885316014289856,
-0.0390356220304966,
0.01086451392620802,
-0.06049275025725365,
0.013974794186651707,
0.01783323846757412,
-0.006716175936162472,
0.03967426344752312,
0.0017660681623965502,
0.0007678035763092339,
0.02232465334236622,
-0.000838625943288207,
-0.0010223682038486004,
0.048908114433288574,
0.0023636543191969395,
0.005502430722117424,
-0.004915471654385328,
-0.04415825381875038,
0.00777082284912467,
-0.06894129514694214,
-0.034616317600011826,
-0.023202329874038696,
-0.032549258321523666,
0.007193179801106453,
-0.07598035037517548,
-0.042929183691740036,
-0.05535024031996727,
-0.01219977531582117,
0.042719516903162,
0.020032502710819244,
-0.006808760110288858,
-0.025658780708909035,
0.014926938340067863,
-0.026831885799765587,
-0.04187304154038429,
-0.055524036288261414,
-0.049787480384111404,
-0.05276653543114662,
-0.06645071506500244,
0.03742784634232521,
0.011784851551055908,
0.004380651284009218,
-0.001808650093153119,
0.022131595760583878,
-0.049433279782533646,
-0.026282602921128273,
0.02092439867556095,
0.03316192328929901,
-0.04062660038471222,
-0.03648928925395012,
0.02655111439526081,
-0.01727900840342045,
0.01761302538216114,
0.002398562151938677,
-0.030865294858813286,
0.08246946334838867,
0.07567502558231354,
0.024059180170297623,
0.03610146418213844,
-0.0014113615034148097,
-0.08285274356603622,
-0.04720316454768181,
-0.020126203075051308,
-0.023660706356167793,
0.0160672590136528,
-0.03664237633347511,
-0.06435919553041458,
-0.03362215682864189,
-0.038460806012153625,
0.011146526783704758,
-0.01599249243736267,
0.01413022167980671,
0.012111565098166466,
0.052030086517333984,
0.030357355251908302,
0.03581257909536362,
-0.017832649871706963,
-0.02478269301354885,
0.08836399018764496,
0.00830063596367836,
0.010806063190102577,
-0.07043945789337158,
-0.02536028064787388,
0.036161281168460846,
0.03317016735672951,
0.0019382818136364222,
0.006049090996384621,
0.07786259055137634,
-0.009354546666145325,
-0.00367833417840302,
-0.01149195246398449,
-0.028046775609254837,
-0.03780444338917732,
0.0028331212233752012,
0.000013637025404023007,
-0.01626616157591343,
-0.04714793711900711,
-0.02283346652984619,
0.015107451938092709,
0.05989282578229904,
-0.06250642985105515,
-0.04720470681786537,
-0.015825768932700157,
0.043117180466651917,
-0.007120613008737564,
0.012305761687457561,
-0.04307936877012253,
0.02571244351565838,
-0.056301701813936234,
-0.04655890911817551,
0.004929754417389631,
0.005689726211130619,
0.040136825293302536,
0.06848064064979553,
0.020832756534218788,
-0.02483651228249073,
0.05480102449655533,
0.03578445315361023,
0.053700078278779984,
0.012420380488038063,
-0.0497145876288414,
0.01606559380888939,
-0.043290335685014725,
0.010894703678786755,
-0.0024243267253041267,
-0.06068605184555054,
-0.06177010387182236,
-0.07117824256420135,
-0.03262224793434143,
-0.00045336628681980073,
-0.01759389601647854,
0.012998492456972599,
0.031641989946365356,
-0.011748293414711952,
-0.01563560590147972,
0.014808448031544685,
0.014193239621818066,
0.02161923609673977,
-0.036506325006484985,
0.0650772675871849,
-0.02150624804198742,
0.02303222380578518,
-0.06347213685512543,
0.025210529565811157,
-0.02845981903374195,
-0.03166690841317177,
0.0030747768469154835,
0.05934608355164528,
0.05353701487183571,
0.03000326082110405,
0.08520127087831497,
0.032042115926742554,
-0.049506042152643204,
0.044780563563108444,
0.03233913332223892,
-0.0017279144376516342,
-0.04276081547141075,
-0.00867577362805605,
-0.003823240054771304,
-0.03632669150829315,
-0.006114691961556673,
-0.01844574511051178,
0.010345716029405594,
0.035643935203552246,
0.015527439303696156,
-0.00971155147999525,
0.01125788502395153,
-0.025431247428059578,
-0.029427895322442055,
-0.08381931483745575,
-0.02974395826458931,
0.004742221906781197,
-0.025262657552957535,
0.01970215141773224,
0.048787057399749756,
0.007432698272168636,
0.07242821156978607,
0.03447017818689346,
-0.00856809876859188,
-0.04421456158161163,
0.033779747784137726,
0.029490862041711807,
-0.02135670930147171,
-0.0681404173374176,
-0.0295131616294384,
0.04674778878688812,
0.050174664705991745,
-0.0018346656579524279,
-0.0902998149394989,
0.014436476863920689,
0.04079271852970123,
-0.009919943287968636,
0.07550784200429916,
0.000609956739936024,
0.04726950824260712,
0.04232748597860336,
-0.020974712446331978,
0.02203499712049961,
-0.03811952471733093,
0.010492956265807152,
-0.002795218490064144,
0.033989109098911285,
-0.0324227437376976,
-0.01846342533826828,
-0.041586946696043015,
-0.0019864379428327084,
0.019241295754909515,
0.03579072654247284,
0.03456396982073784,
-0.033444344997406006,
-0.03990756720304489,
0.02818380482494831,
0.043387144804000854,
-0.05341315641999245,
0.019472213461995125,
0.018437353894114494,
0.030358558520674706,
-0.06345906853675842,
-0.03798285871744156,
-0.02819816954433918,
-0.008792814798653126,
0.023877309635281563,
0.02096729353070259,
-0.036934494972229004,
-0.07428750395774841,
0.013715059496462345,
-0.01992078311741352,
-0.019153479486703873,
-0.08067537844181061,
0.006202169228345156,
-0.013192643411457539,
-0.02358718030154705,
0.039120253175497055,
0.03066062554717064,
0.02057255432009697,
0.04596554487943649,
-0.0049576847814023495,
-0.0005054508219473064,
-0.0443253293633461,
0.038744695484638214,
-0.04200926050543785,
-0.005969132296741009,
-0.009152231737971306,
-0.04168575257062912,
0.003103976370766759,
-0.04296805337071419,
-0.03430930897593498,
-0.05926189199090004,
-0.00019227800657972693,
0.023978762328624725,
-0.03758949041366577,
0.010019714012742043,
-0.0071942973881959915,
0.05503793805837631,
-0.0440329983830452,
-0.0317678265273571,
-0.026445716619491577,
-0.029868241399526596,
-0.05820637568831444,
-0.0332525409758091,
-0.019556554034352303,
-0.0009240080253221095,
0.01782013289630413,
0.004579788073897362,
0.014939604327082634,
-0.01910298503935337,
-0.023926138877868652,
-0.0260903462767601,
0.02193266898393631,
-0.000727277307305485,
-0.025276826694607735,
-0.024911222979426384,
0.01466136984527111,
0.02354305237531662,
0.05290824919939041,
-0.02662722021341324,
0.04386650025844574,
0.028021080419421196,
-0.016051340848207474,
-0.004774743691086769,
0.0017171159852296114,
0.010771123692393303,
-0.06368740648031235,
-0.0467589795589447,
-0.022967591881752014,
-0.04043342545628548,
0.030988134443759918,
-0.04125163331627846,
-0.027233360335230827,
0.03921295702457428,
0.02812786027789116,
0.04398077726364136,
0.005549941677600145,
-0.026508675888180733,
0.01009566243737936,
-0.00313701294362545,
0.0158167015761137,
-0.06855303049087524,
0.055092450231313705,
-0.041760075837373734,
0.026014119386672974,
-0.00843577180057764,
-0.015382347628474236,
-0.03884818032383919,
0.032091282308101654,
-0.03705687075853348,
-0.017084209248423576,
-0.012343743816018105,
0.03665710985660553,
-0.024421144276857376,
0.033211369067430496,
-0.038638923317193985,
-0.007521325256675482,
-0.017957555130124092,
0.05748492106795311,
-0.06798025220632553,
-0.007805573288351297,
-0.05539349466562271,
0.024381766095757484,
-0.03988203406333923,
-0.01447746530175209,
0.005838518962264061,
-0.034575849771499634,
0.03504563122987747,
0.015297542326152325,
0.005582903511822224,
0.05110566318035126,
-0.018986279144883156,
0.016505558043718338,
0.009789259172976017,
-0.04654650017619133,
-0.023651015013456345,
-0.016987746581435204,
0.008214895613491535,
-0.016490569338202477,
0.07027702033519745,
0.03352130949497223,
-0.053772468119859695,
-0.06291567534208298,
0.03121020458638668,
0.011071700602769852,
-0.0011677721049636602,
0.025859052315354347,
0.0087216692045331,
0.005226224195212126,
0.06262701749801636,
-0.03221728280186653,
0.000006887673862365773,
-0.0071549140848219395,
-0.016392672434449196,
0.01596158742904663,
-0.0042084804736077785,
0.023778283968567848,
0.004038546700030565,
-0.023115452378988266,
-0.047760240733623505,
0.07471392303705215,
0.022775163874030113,
0.03616265207529068,
0.006148365791887045,
-0.042425792664289474,
0.008821316994726658,
0.008079766295850277,
-0.06084704026579857,
0.0014190580695867538,
0.007045152597129345,
-0.042524367570877075,
0.07864584028720856,
-0.0023446492850780487,
0.016360750421881676,
0.05268562585115433,
0.0006269670557230711,
-0.030991511419415474,
0.05542483925819397,
-0.018284084275364876,
-0.0189449992030859,
0.04312661662697792,
-0.03908265009522438,
0.0005031877662986517,
-0.015441955998539925,
0.05560015141963959,
-0.04755568876862526,
0.047096721827983856,
0.04634963348507881,
0.0019952445290982723,
0.03498286008834839,
-0.0546739436686039,
-0.01951739937067032,
0.03773971647024155,
-0.03301175683736801,
0.08333483338356018,
-0.010644050315022469,
-0.03345247358083725,
0.051199089735746384,
0.02327410690486431,
-0.07311069220304489,
0.03925197944045067,
0.03783881291747093,
0.01786544919013977,
0.012031100690364838,
0.05528293922543526,
-0.028363076969981194,
0.023264389485120773,
-0.044030532240867615,
0.013313044793903828,
-0.05280577018857002,
0.0013668035389855504,
0.017893316224217415,
-0.026752281934022903,
-0.0027456791140139103,
0.01589374989271164,
-0.03516053408384323,
-0.013918550685048103,
0.03888382017612457,
-0.05588536337018013,
-0.020299645140767097,
-0.005143402609974146,
0.04295540228486061,
-0.03140437602996826,
0.026324164122343063,
-0.030314482748508453,
0.011606344021856785,
0.004067417234182358,
0.005369719583541155,
-0.019978055730462074,
0.011104640550911427,
0.021279800683259964,
-0.060978859663009644,
-0.05573447793722153,
0.0024434567894786596,
0.030973149463534355,
-0.025447141379117966,
0.035372499376535416,
0.0005689384415745735,
-0.0015519069274887443,
0.023040680214762688,
0.0030689812265336514,
0.0010364730842411518,
-0.024719735607504845,
-0.010580020025372505,
-0.00875192042440176,
0.02186536230146885,
0.05436643958091736,
-0.02284529246389866,
0.027789484709501266,
0.05932777747511864,
0.04043050482869148,
-0.0016084309900179505,
-0.05660485476255417,
-0.03033209778368473,
0.04029003903269768,
-0.049546800553798676,
0.006690253037959337,
-0.0005403169197961688,
-0.050171852111816406,
-0.030139369890093803,
-0.008957256563007832,
0.0021958837751299143,
0.03368176147341728,
-0.062156472355127335,
0.037910182029008865,
0.03120681829750538,
-0.01207840908318758,
-0.043000996112823486,
-0.07272020727396011,
-0.012216697447001934,
-0.05512109398841858,
0.047050703316926956,
0.012384580448269844,
-0.01692502386868,
0.014737874269485474,
-0.041070688515901566,
-0.04918001964688301,
0.04170479625463486,
0.02711363136768341,
-0.06825363636016846,
0.07383915036916733,
0.033931002020835876,
-0.0429145023226738,
0.009450012817978859,
0.04335002601146698,
-0.02979991026222706,
0.026721490547060966,
0.025688545778393745,
0.00396402133628726,
0.0233958400785923,
0.046034250408411026,
-0.023786718025803566,
-0.01564815640449524,
-0.07087478786706924,
-0.02300127036869526,
-0.03005046769976616,
0.00677059032022953,
0.06867537647485733
] |
BigSalmon/MrLincoln7 | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | null | ---
language: tr
license: mit
---
# π€ + π dbmdz Turkish BERT model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources an uncased model for Turkish π
# πΉπ· BERTurk
BERTurk is a community-driven uncased BERT model for Turkish.
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the model name: BERTurk.
## Stats
The current version of the model is trained on a filtered and sentence
segmented version of the Turkish [OSCAR corpus](https://traces1.inria.fr/oscar/),
a recent Wikipedia dump, various [OPUS corpora](http://opus.nlpl.eu/) and a
special corpus provided by [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/).
The final training corpus has a size of 35GB and 44,04,976,662 tokens.
Thanks to Google's TensorFlow Research Cloud (TFRC) we could train an uncased model
on a TPU v3-8 for 2M steps.
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-turkish-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-turkish-uncased/vocab.txt)
## Usage
With Transformers >= 2.3 our BERTurk uncased model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-turkish-uncased")
model = AutoModel.from_pretrained("dbmdz/bert-base-turkish-uncased")
```
## Results
For results on PoS tagging or NER tasks, please refer to
[this repository](https://github.com/stefan-it/turkish-bert).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.0027009565383195877,
-0.003114745020866394,
-0.013628682121634483,
0.0758417621254921,
0.012331604957580566,
0.03199920803308487,
0.001482019666582346,
-0.006391788367182016,
-0.047412239015102386,
0.06177462264895439,
0.0105590196326375,
-0.03778534755110741,
0.005342964548617601,
0.0411224365234375,
-0.01817788928747177,
-0.01731564849615097,
-0.0027007521130144596,
-0.0034139365889132023,
-0.05782943591475487,
-0.012751521542668343,
-0.02825908549129963,
0.020208897069096565,
-0.004602725617587566,
0.04462748393416405,
0.011062918230891228,
0.026170620694756508,
-0.014109378680586815,
0.0398079939186573,
0.024257251992821693,
-0.08058854937553406,
0.01758888177573681,
-0.027882499620318413,
-0.0340680293738842,
-0.018741270527243614,
-0.03536643460392952,
-0.0016883719945326447,
0.019275842234492302,
-0.003945809323340654,
0.059904325753450394,
0.04784837365150452,
-0.019375553354620934,
0.01915797032415867,
0.022292625159025192,
-0.04683341830968857,
0.04356173425912857,
0.00929112546145916,
-0.051042959094047546,
-0.023221544921398163,
0.037973105907440186,
-0.05389668419957161,
-0.041595298796892166,
-0.055101800709962845,
-0.04756192862987518,
0.037615321576595306,
-0.00881829671561718,
-0.03923923894762993,
-0.048492927104234695,
-0.0020556789822876453,
0.06254865974187851,
-0.046991728246212006,
-0.04434218257665634,
0.023882200941443443,
-0.070565365254879,
0.02265496551990509,
0.0358700230717659,
-0.011126399971544743,
0.0014224167680367827,
-0.04946323111653328,
0.04165927693247795,
-0.02925870567560196,
0.019241731613874435,
-0.008579706773161888,
-0.004102877341210842,
-0.08060242980718613,
-0.012758315540850163,
-0.008416677825152874,
0.03166598081588745,
0.04707779362797737,
-0.04713211581110954,
0.06471272557973862,
0.022360237315297127,
-0.024778790771961212,
0.0460178405046463,
-0.019342560321092606,
-0.017219802364706993,
0.07185105234384537,
-0.009906629100441933,
-0.001225074171088636,
0.0013567756395787,
0.0517597496509552,
-0.042628269642591476,
-0.020878830924630165,
-0.020944340154528618,
-0.02956693060696125,
-0.021881353110074997,
0.02487049624323845,
0.014523236081004143,
0.011625836603343487,
0.011786696501076221,
0.03661255165934563,
0.02735884301364422,
0.029021764174103737,
-0.025641975924372673,
0.04298050329089165,
-0.007346511818468571,
-0.02848532423377037,
0.001233943272382021,
-0.04879948869347572,
-0.04075279086828232,
0.028893982991576195,
0.01710602641105652,
-0.050196077674627304,
-0.03225700557231903,
0.0472392775118351,
0.017349887639284134,
-0.033755362033843994,
0.050001196563243866,
-0.02124708518385887,
-0.028146767988801003,
-0.016942443326115608,
0.038106050342321396,
-0.00578434718772769,
0.00809062272310257,
-0.011742016300559044,
-0.0557396225631237,
0.022925982251763344,
-0.04840784892439842,
-0.01850329153239727,
0.0027848929166793823,
0.03823982551693916,
-0.01164854597300291,
0.04526330158114433,
0.02995174005627632,
-0.06979599595069885,
0.014910493046045303,
0.019825486466288567,
-0.04844816029071808,
0.0624728761613369,
0.016333146020770073,
0.11163581907749176,
-0.05873626843094826,
-0.040427859872579575,
0.004364720080047846,
0.02424045279622078,
-0.0315067358314991,
0.005092357750982046,
0.023733723908662796,
-0.027311842888593674,
-0.020834460854530334,
-0.01127016544342041,
0.050063129514455795,
-0.0566074438393116,
0.0020932494662702084,
0.06189404055476189,
-0.012132798321545124,
0.026115642860531807,
-0.05075320973992348,
-0.008239584043622017,
-0.010171711444854736,
0.0077660600654780865,
-0.04341701418161392,
0.03487308323383331,
-0.0033729001879692078,
-0.01986892707645893,
-0.04134344682097435,
-0.04517728462815285,
0.020225699990987778,
0.09659471362829208,
-0.008326475508511066,
-0.017832839861512184,
-0.02767736092209816,
0.0024812554474920034,
0.04382503777742386,
0.014934615232050419,
-0.04059929773211479,
0.0486268550157547,
0.04573531821370125,
0.029084473848342896,
-0.023453664034605026,
0.06395088881254196,
-0.003289401065558195,
-0.025935383513569832,
-0.014834617264568806,
0.017981968820095062,
0.004310596734285355,
-0.030606701970100403,
0.01852911338210106,
0.06297242641448975,
0.003729579970240593,
-0.03050106205046177,
-0.004477862734347582,
0.063184455037117,
0.009095888584852219,
0.014878276735544205,
0.016989024356007576,
-0.008909882046282291,
-0.05261197313666344,
0.03304288908839226,
-0.03298892453312874,
-0.004823867231607437,
-0.01503122877329588,
-0.011455937288701534,
0.00939542893320322,
0.0308954156935215,
0.04756071791052818,
0.04097478836774826,
-0.01548419427126646,
0.10111598670482635,
-0.051061730831861496,
-0.002233712701126933,
-0.04494480788707733,
-0.041703611612319946,
-0.001123308902606368,
0.04681754484772682,
0.056539472192525864,
0.04200649634003639,
0.005947666708379984,
-0.04062895104289055,
0.020209750160574913,
0.07614113390445709,
0.04730893298983574,
0.03242543339729309,
-0.023339200764894485,
-0.015495172701776028,
0.043488796800374985,
0.05755425989627838,
-0.04252326861023903,
-0.05780094489455223,
0.007345444988459349,
0.05455184727907181,
-0.010330048389732838,
0.021641699597239494,
-0.021524084731936455,
0.027408843860030174,
-0.0170377716422081,
-0.06528498977422714,
0.06726597249507904,
0.038551125675439835,
-0.013543207198381424,
0.02872624062001705,
-0.0039042357821017504,
0.007962980307638645,
-0.0016186550492420793,
0.007586880587041378,
-0.001088702236302197,
-0.031332243233919144,
-0.005445605609565973,
0.023241015151143074,
0.06645355373620987,
-0.043082091957330704,
0.030685847625136375,
-0.006892395205795765,
0.005324071738868952,
0.024178525432944298,
-0.05016613006591797,
0.02754225954413414,
0.01675811968743801,
0.025018151849508286,
-0.03296266123652458,
0.038887180387973785,
-0.0025855829007923603,
0.045603662729263306,
0.0483684204518795,
-0.005181991495192051,
0.05341619998216629,
0.0020357805769890547,
0.05230194702744484,
0.07236003130674362,
0.01406151708215475,
0.02037489414215088,
0.02341061644256115,
0.07176832854747772,
0.017377713695168495,
-0.009670594707131386,
0.08040568977594376,
-0.034459251910448074,
0.00594211695715785,
-0.061044953763484955,
0.014720187522470951,
0.01448923721909523,
-0.009942970238626003,
0.03798685222864151,
0.005580850876867771,
0.0020307826343923807,
0.020211784169077873,
0.0009435766842216253,
-0.0018737440695986152,
0.04640188813209534,
0.0023427000269293785,
0.0067272912710905075,
-0.008248436264693737,
-0.03858697786927223,
0.009756898507475853,
-0.06760630011558533,
-0.037994109094142914,
-0.02197747305035591,
-0.03562823310494423,
0.0058389888145029545,
-0.07188233733177185,
-0.03793158754706383,
-0.05355719104409218,
-0.009231045842170715,
0.03952121362090111,
0.013909888453781605,
-0.010002586990594864,
-0.023040562868118286,
0.010716255754232407,
-0.033893994987010956,
-0.04447575658559799,
-0.054932013154029846,
-0.054759155958890915,
-0.04920116066932678,
-0.06491539627313614,
0.037149544805288315,
0.007619993761181831,
0.0032310406677424908,
-0.001820557052269578,
0.027637992054224014,
-0.043972380459308624,
-0.022431649267673492,
0.025984060019254684,
0.029630035161972046,
-0.04085244610905647,
-0.04223376512527466,
0.023647574707865715,
-0.015218392014503479,
0.01796375773847103,
0.008765578269958496,
-0.03431357443332672,
0.08412020653486252,
0.08715274184942245,
0.025454677641391754,
0.03459388017654419,
-0.0033509437926113605,
-0.07687560468912125,
-0.0456358976662159,
-0.022341208532452583,
-0.032092586159706116,
0.01317074429243803,
-0.036279089748859406,
-0.0589614138007164,
-0.03647204488515854,
-0.03909434378147125,
0.004279763903468847,
-0.01602773182094097,
0.013894801959395409,
0.010018297471106052,
0.04648515582084656,
0.02800358273088932,
0.03897994011640549,
-0.01907476969063282,
-0.02250598929822445,
0.08827507495880127,
0.008609829470515251,
0.0076331826858222485,
-0.0694168210029602,
-0.02613602578639984,
0.03569870442152023,
0.03073594719171524,
-0.0017267422517761588,
0.002723816316574812,
0.0724978893995285,
-0.006746194325387478,
-0.007723394315689802,
-0.015020077116787434,
-0.024083182215690613,
-0.04168268293142319,
0.0012640089262276888,
0.002251790603622794,
-0.010780907236039639,
-0.043345432728528976,
-0.024353833869099617,
0.017178792506456375,
0.06122004985809326,
-0.06403379142284393,
-0.04732754826545715,
-0.024172944948077202,
0.0430297926068306,
-0.003699690569192171,
0.013470064848661423,
-0.04308714717626572,
0.02191746048629284,
-0.05826829746365547,
-0.04547077789902687,
0.009294494986534119,
0.0038559981621801853,
0.038631197065114975,
0.06816696375608444,
0.023533722385764122,
-0.025459548458456993,
0.059312108904123306,
0.037725772708654404,
0.06013696640729904,
0.01442654523998499,
-0.050131455063819885,
0.01687929593026638,
-0.04404192045331001,
0.012845439836382866,
0.007211837451905012,
-0.059094950556755066,
-0.05590563267469406,
-0.07808157056570053,
-0.03596916049718857,
-0.000120364005852025,
-0.023141909390687943,
0.009031446650624275,
0.029941927641630173,
-0.008431018330156803,
-0.016720514744520187,
0.010655399411916733,
0.013420767150819302,
0.027764108031988144,
-0.0384281687438488,
0.0614851750433445,
-0.015873489901423454,
0.02021927945315838,
-0.06102271378040314,
0.025235572829842567,
-0.028156781569123268,
-0.030436405912041664,
0.0004876591556239873,
0.0559561662375927,
0.0518769733607769,
0.03342701494693756,
0.0826629102230072,
0.028444888070225716,
-0.04832041263580322,
0.04677368700504303,
0.031160222366452217,
0.0000853759192978032,
-0.04351518303155899,
-0.012275692075490952,
-0.006746490485966206,
-0.03767489269375801,
-0.007081953808665276,
-0.01585729792714119,
0.00904522929340601,
0.0339413546025753,
0.01758500561118126,
-0.011776868253946304,
0.011164745315909386,
-0.016677649691700935,
-0.02882838062942028,
-0.08667688071727753,
-0.02731446549296379,
0.008001631125807762,
-0.027845852077007294,
0.019711259752511978,
0.04538756608963013,
0.006822990719228983,
0.06823567301034927,
0.042239945381879807,
-0.011579925194382668,
-0.04362238571047783,
0.029767761006951332,
0.03361339867115021,
-0.025814497843384743,
-0.072718046605587,
-0.032503578811883926,
0.0468083880841732,
0.054415877908468246,
-0.008477878756821156,
-0.09488321840763092,
0.014321023598313332,
0.03982299193739891,
-0.017515096813440323,
0.07739116996526718,
-0.0012748714070767164,
0.05035374313592911,
0.042613685131073,
-0.020120937377214432,
0.02265082113444805,
-0.035352952778339386,
0.005741045344620943,
0.0017885509878396988,
0.03064359910786152,
-0.03507193922996521,
-0.021168390288949013,
-0.04016055166721344,
0.003280374687165022,
0.023181039839982986,
0.03136583790183067,
0.0395081602036953,
-0.03257983922958374,
-0.04795325919985771,
0.02005343697965145,
0.042250510305166245,
-0.05727522075176239,
0.017075346782803535,
0.020036887377500534,
0.02743852138519287,
-0.06479425728321075,
-0.04500044509768486,
-0.028375769034028053,
-0.012697643600404263,
0.024068238213658333,
0.021244505420327187,
-0.03423026204109192,
-0.0673874020576477,
0.014700349420309067,
-0.02353830076754093,
-0.015834974125027657,
-0.08064620941877365,
0.0033065862953662872,
-0.01080436073243618,
-0.024440864101052284,
0.03950386866927147,
0.02855171635746956,
0.032829735428094864,
0.04715456813573837,
-0.00015104167687240988,
-0.004223964177072048,
-0.038320381194353104,
0.03554750978946686,
-0.03686092793941498,
-0.0070684258826076984,
-0.0057728225365281105,
-0.042841047048568726,
0.007043993100523949,
-0.04273941367864609,
-0.0360780768096447,
-0.05962767079472542,
-0.0031669046729803085,
0.026906421408057213,
-0.039404772222042084,
0.00709511199966073,
-0.009287247434258461,
0.05100768432021141,
-0.043427884578704834,
-0.03499212488532066,
-0.027558665722608566,
-0.02535426802933216,
-0.06107005104422569,
-0.03481311723589897,
-0.012664254754781723,
-0.00038766462239436805,
0.020042618736624718,
0.00186475261580199,
0.019611138850450516,
-0.02071443386375904,
-0.02275398187339306,
-0.02388339675962925,
0.018416259437799454,
0.00038413365837186575,
-0.028606994077563286,
-0.025202900171279907,
0.012195362709462643,
0.01863890513777733,
0.056508868932724,
-0.026465164497494698,
0.03927797079086304,
0.022844746708869934,
-0.016260238364338875,
-0.004456940107047558,
0.004529476631432772,
0.012119180522859097,
-0.06411837786436081,
-0.05013323947787285,
-0.02130195125937462,
-0.0408351756632328,
0.033057019114494324,
-0.03840303048491478,
-0.027033094316720963,
0.040803249925374985,
0.0298865158110857,
0.04302741587162018,
0.003240815829485655,
-0.024739371612668037,
0.011810597032308578,
-0.004762119147926569,
0.019566664472222328,
-0.06599634885787964,
0.05671101436018944,
-0.040012773126363754,
0.02433042973279953,
-0.00774736562743783,
-0.015402211807668209,
-0.03733170032501221,
0.030125604942440987,
-0.0362129881978035,
-0.012666241265833378,
-0.016052642837166786,
0.03107326664030552,
-0.03026839718222618,
0.029743801802396774,
-0.029803069308400154,
-0.002003437140956521,
-0.01880686916410923,
0.0573626309633255,
-0.06770630180835724,
-0.0025108589325100183,
-0.05204293131828308,
0.029452428221702576,
-0.03744106739759445,
-0.011226115748286247,
0.009097481146454811,
-0.03413330018520355,
0.03464432805776596,
0.022670062258839607,
0.010581946931779385,
0.04547826945781708,
-0.021556399762630463,
0.015102504752576351,
0.009199758991599083,
-0.046492528170347214,
-0.02247478812932968,
-0.016441913321614265,
0.009459626860916615,
-0.015939118340611458,
0.06993085891008377,
0.0403372123837471,
-0.057335518300533295,
-0.06423239409923553,
0.035207245498895645,
0.008372808806598186,
0.0016629388555884361,
0.025696460157632828,
0.01126518938690424,
0.004000099841505289,
0.060704752802848816,
-0.027466269209980965,
0.0010838619200512767,
-0.0105197848752141,
-0.02324090339243412,
0.017607606947422028,
-0.0050308662466704845,
0.03162975609302521,
0.003412579419091344,
-0.0292122270911932,
-0.04513632506132126,
0.07752404361963272,
0.024393225088715553,
0.03303984925150871,
0.005997739732265472,
-0.043429069221019745,
0.01517812442034483,
0.011953515000641346,
-0.060152988880872726,
-0.0002077657263725996,
0.012213500216603279,
-0.037205010652542114,
0.07753614336252213,
-0.0077859568409621716,
0.015241218730807304,
0.04974229633808136,
0.0026311299297958612,
-0.03246350586414337,
0.05916856229305267,
-0.018617304041981697,
-0.010502563789486885,
0.040288880467414856,
-0.03983288258314133,
-0.0025896509177982807,
-0.023489223793148994,
0.059926874935626984,
-0.05570879951119423,
0.042708445340394974,
0.049761541187763214,
-0.001741618849337101,
0.0358637236058712,
-0.05192700773477554,
-0.02153121307492256,
0.03735284134745598,
-0.032136958092451096,
0.08057907968759537,
-0.009949657134711742,
-0.0383412167429924,
0.05282985791563988,
0.023444075137376785,
-0.07149253785610199,
0.04422636330127716,
0.034049391746520996,
0.018606379628181458,
0.013669687323272228,
0.06100667640566826,
-0.039026807993650436,
0.02288765460252762,
-0.041951436549425125,
0.02145303040742874,
-0.05855747312307358,
0.0008963025757111609,
0.020330486819148064,
-0.027831990271806717,
-0.0016340495785698295,
0.018799876794219017,
-0.03358044847846031,
-0.012075303122401237,
0.02902955189347267,
-0.05658361688256264,
-0.026786241680383682,
-0.0051669892854988575,
0.04396669566631317,
-0.0276285782456398,
0.0214406605809927,
-0.03132566809654236,
0.01827891170978546,
0.005851577036082745,
0.007500964682549238,
-0.02185533009469509,
0.015351295471191406,
0.02486230805516243,
-0.06452152132987976,
-0.053867682814598083,
0.011769379489123821,
0.02744310535490513,
-0.02134869061410427,
0.03424101695418358,
0.002306930720806122,
0.0002244868373963982,
0.02230609580874443,
0.000015153366803133395,
0.007021021563559771,
-0.024251211434602737,
-0.012425564229488373,
-0.0044732894748449326,
0.018135419115424156,
0.04771122708916664,
-0.022978221997618675,
0.02528509497642517,
0.05625205487012863,
0.03505714237689972,
-0.005239903461188078,
-0.05802310258150101,
-0.026295142248272896,
0.0454380139708519,
-0.05127166584134102,
0.0003595610905904323,
0.0023637537378817797,
-0.05021641030907631,
-0.03037087991833687,
-0.010787714272737503,
0.0032232939265668392,
0.03496372699737549,
-0.055906157940626144,
0.03711968660354614,
0.03141549602150917,
-0.00899777002632618,
-0.047285620123147964,
-0.06915996223688126,
-0.014976722188293934,
-0.05015214532613754,
0.038748301565647125,
0.012364700436592102,
-0.01766272634267807,
0.013117892667651176,
-0.041202396154403687,
-0.0483643040060997,
0.045085396617650986,
0.024552322924137115,
-0.06394418329000473,
0.07961840182542801,
0.03108310140669346,
-0.0473775714635849,
0.007107838988304138,
0.0451815202832222,
-0.029836436733603477,
0.022279728204011917,
0.020352279767394066,
-0.0009949522791430354,
0.022581543773412704,
0.04898034781217575,
-0.030196085572242737,
-0.02300555817782879,
-0.06876139342784882,
-0.0223835501819849,
-0.0304145198315382,
0.00573454424738884,
0.07129023969173431
] |
BigSalmon/MrLincolnBerta | [
"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
}
}
} | 8 | null | ---
language: multilingual
license: mit
widget:
- text: "and I cannot conceive the reafon why [MASK] hath"
- text: "TΓ€kΓ€lΓ€inen sanomalehdistΓΆ [MASK] erit - tΓ€in"
- text: "Det vore [MASK] hΓ€ller nΓΆdvΓ€ndigt att be"
- text: "Comme, Γ cette Γ©poque [MASK] Γ©tait celle de la"
- text: "In [MASK] an atmosphΓ€rischen Nahrungsmitteln"
---
# Historic Language Models (HLMs)
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Models
At the moment, the following models are available on the model hub:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
| `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased)
| `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased)
| `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased)
We also released smaller models for the multilingual model:
| Model identifier | Model Hub link
| ----------------------------------------------- | ---------------------------------------------------------------------------
| `dbmdz/bert-tiny-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-tiny-historic-multilingual-cased)
| `dbmdz/bert-mini-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-mini-historic-multilingual-cased)
| `dbmdz/bert-small-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-small-historic-multilingual-cased)
| `dbmdz/bert-medium-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
**Notice**: We have released language models for Historic German and French trained on more noisier data earlier - see
[this repo](https://github.com/stefan-it/europeana-bert) for more information:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-german-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-german-europeana-cased)
| `dbmdz/bert-base-french-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-french-europeana-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Smaller multilingual models
Inspired by the ["Well-Read Students Learn Better: On the Importance of Pre-training Compact Models"](https://arxiv.org/abs/1908.08962)
paper, we train smaller models (different layers and hidden sizes), and report number of parameters and pre-training costs:
| Model (Layer / Hidden size) | Parameters | Pre-Training time
| --------------------------- | ----------: | ----------------------:
| hmBERT Tiny ( 2/128) | 4.58M | 4.3 sec / 1,000 steps
| hmBERT Mini ( 4/256) | 11.55M | 10.5 sec / 1,000 steps
| hmBERT Small ( 4/512) | 29.52M | 20.7 sec / 1,000 steps
| hmBERT Medium ( 8/512) | 42.13M | 35.0 sec / 1,000 steps
| hmBERT Base (12/768) | 110.62M | 80.0 sec / 1,000 steps
We then perform downstream evaluations on the multilingual [NewsEye](https://zenodo.org/record/4573313#.Ya3oVr-ZNzU) dataset:

# Pretraining
## Multilingual model - hmBERT Base
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

## Smaller multilingual models
We use the same parameters as used for training the base model.
### hmBERT Tiny
The following plot shows the pretraining loss curve for the tiny model:

### hmBERT Mini
The following plot shows the pretraining loss curve for the mini model:

### hmBERT Small
The following plot shows the pretraining loss curve for the small model:

### hmBERT Medium
The following plot shows the pretraining loss curve for the medium model:

## English model
The English BERT model - with texts from British Library corpus - was trained with the Hugging Face
JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-historic-english-cased/ \
--tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \
--train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \
--validation_file /mnt/datasets/bl-corpus/english_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 10 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Finnish model
The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \
--validation_file /mnt/datasets/hlms/finnish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Swedish model
The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \
--validation_file /mnt/datasets/hlms/swedish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.03421342372894287,
-0.028913620859384537,
-0.01412870828062296,
0.05817055702209473,
0.05841981619596481,
0.015284408815205097,
-0.01826760545372963,
-0.014453054405748844,
-0.052320729941129684,
0.05071531608700752,
0.016058601438999176,
-0.01567273959517479,
0.012979576364159584,
0.04542768746614456,
-0.015074807219207287,
-0.012649158015847206,
-0.002746889367699623,
-0.015995455905795097,
-0.05375708267092705,
-0.004177524242550135,
-0.016934996470808983,
0.009299502708017826,
-0.014135300181806087,
0.029838595539331436,
0.016178196296095848,
0.018015973269939423,
0.005893012508749962,
0.0664450004696846,
0.00985229853540659,
-0.06683137267827988,
-0.030904976651072502,
-0.04708820953965187,
-0.03844915330410004,
-0.039164550602436066,
-0.011851873248815536,
-0.014843104407191277,
0.01656223274767399,
0.014284871518611908,
0.040040455758571625,
0.058462828397750854,
-0.021258650347590446,
-0.010058066807687283,
-0.02962615340948105,
-0.013468711636960506,
0.05092297121882439,
0.025558114051818848,
-0.05798507109284401,
-0.020422017201781273,
0.06431347131729126,
-0.02896476723253727,
-0.042918264865875244,
-0.05779149755835533,
-0.00565268425270915,
0.023297809064388275,
-0.014924963004887104,
-0.014095363207161427,
-0.07777092605829239,
0.04811231046915054,
0.048083532601594925,
-0.03695552051067352,
-0.044323764741420746,
-0.0018571214750409126,
-0.08464150875806808,
0.021998858079314232,
0.041830435395240784,
-0.05069907382130623,
0.009110250510275364,
-0.038424473255872726,
0.036011699587106705,
-0.011269339360296726,
0.04167556390166283,
-0.06289160996675491,
0.021299516782164574,
-0.05498716980218887,
-0.021842725574970245,
-0.008577314205467701,
0.031174197793006897,
0.06087396293878555,
-0.050888411700725555,
0.07130631804466248,
0.037109535187482834,
-0.022444704547524452,
0.03445534408092499,
-0.019162848591804504,
-0.006684767082333565,
0.029872417449951172,
-0.04151362180709839,
0.0058830175548791885,
0.016899991780519485,
0.06399187445640564,
-0.05963578820228577,
-0.027435317635536194,
-0.004920093808323145,
-0.01864062435925007,
0.004985104314982891,
0.018596041947603226,
0.014395671896636486,
-0.022435402497649193,
0.03173177316784859,
0.020405910909175873,
0.023409217596054077,
0.05494055524468422,
0.003713862271979451,
0.07111925631761551,
-0.02324380911886692,
-0.008116393350064754,
-0.026342187076807022,
-0.044964857399463654,
-0.062009021639823914,
0.012667468748986721,
0.026395920664072037,
-0.05651728808879852,
-0.031553003937006,
0.03574710339307785,
0.0382939949631691,
-0.02567075937986374,
0.0565677136182785,
-0.01884104311466217,
-0.05458635091781616,
-0.056120045483112335,
0.018679603934288025,
-0.019678743556141853,
-0.021462522447109222,
0.011671749874949455,
-0.04457336664199829,
0.029454616829752922,
-0.04813734441995621,
-0.015943434089422226,
0.019802819937467575,
0.01435583271086216,
-0.02891867607831955,
0.03603702411055565,
0.025821996852755547,
-0.06293746083974838,
0.00708263972774148,
-0.015093228779733181,
-0.05270802602171898,
0.02149263583123684,
0.01849588192999363,
0.13694201409816742,
-0.03100019507110119,
-0.050851721316576004,
-0.013394574634730816,
-0.006564436014741659,
-0.0543404258787632,
0.026416994631290436,
0.005272857844829559,
-0.00017486984143033624,
0.004004229791462421,
0.00517011433839798,
0.051401909440755844,
-0.06341206282377243,
-0.008320044726133347,
0.05402262881398201,
-0.005760447587817907,
0.021824343129992485,
-0.06276603788137436,
-0.01867409236729145,
-0.010519781149923801,
-0.016878116875886917,
-0.012880222871899605,
0.024149619042873383,
0.0108394306153059,
-0.020227456465363503,
-0.04294707626104355,
-0.043778833001852036,
-0.015189999714493752,
0.06756135821342468,
0.000303224369417876,
-0.0022073646541684866,
-0.04038669914007187,
-0.0007936409674584866,
0.019122427329421043,
0.005284714046865702,
-0.048754725605249405,
0.041407521814107895,
0.0428328663110733,
0.035054054111242294,
-0.03144608810544014,
0.06615325063467026,
0.0053465114906430244,
-0.019537314772605896,
-0.020632266998291016,
0.03638936206698418,
-0.0016180251259356737,
-0.026297694072127342,
0.0488247349858284,
0.03688279539346695,
0.013794438913464546,
-0.024198800325393677,
-0.027347717434167862,
0.04577454552054405,
0.01972806826233864,
0.0021127616055309772,
0.027866706252098083,
-0.005070493556559086,
-0.038451652973890305,
0.02180371806025505,
-0.012166534550487995,
0.003887201426550746,
-0.005722399335354567,
-0.018656546249985695,
0.03741990402340889,
0.01563534326851368,
0.04640738666057587,
0.04498214274644852,
-0.0040103415958583355,
0.10258911550045013,
-0.021586503833532333,
-0.004077487625181675,
-0.03790963813662529,
-0.0714319571852684,
-0.006646716967225075,
0.052294325083494186,
0.030678797513246536,
0.03383875638246536,
-0.034381695091724396,
-0.029396988451480865,
0.03360925614833832,
0.08835933357477188,
0.04188676178455353,
-0.0009333919733762741,
-0.03189380466938019,
-0.008326584473252296,
0.030121661722660065,
0.04137522727251053,
-0.05907425284385681,
-0.05967821925878525,
-0.003556813346222043,
0.03713451325893402,
-0.04813223332166672,
0.01148994080722332,
-0.00909196026623249,
0.034993868321180344,
-0.03223880007863045,
-0.08431339263916016,
0.04246821254491806,
0.022951526567339897,
-0.016018807888031006,
0.03009006194770336,
-0.009101885370910168,
0.045479074120521545,
0.01975945383310318,
0.00733569310978055,
0.008487734012305737,
-0.04412338137626648,
0.0018454882083460689,
0.013706148602068424,
0.05463225021958351,
-0.04138956218957901,
0.033600520342588425,
-0.010733661241829395,
-0.004731111228466034,
0.04264827072620392,
-0.030430631712079048,
0.020078733563423157,
0.052598342299461365,
0.010018871165812016,
-0.04353506863117218,
0.03389601781964302,
0.002581727458164096,
0.024609029293060303,
0.04848400503396988,
-0.0025462910998612642,
0.05320760980248451,
0.008993486873805523,
0.038372334092855453,
0.0959300771355629,
0.025532420724630356,
0.017222443595528603,
0.0036027333699166775,
0.04051269218325615,
0.03157670423388481,
-0.012326600030064583,
0.05948949605226517,
-0.05250385403633118,
0.015243500471115112,
-0.028380868956446648,
0.03216949477791786,
-0.005217764992266893,
0.015622475184500217,
0.01040361076593399,
0.00501529686152935,
-0.03905102610588074,
0.009420357644557953,
-0.012074503116309643,
-0.00032635321258567274,
0.058202773332595825,
0.0032244070898741484,
0.005650655832141638,
-0.026105541735887527,
-0.025277767330408096,
0.013549571856856346,
-0.05789433419704437,
-0.03309805318713188,
0.016868332400918007,
-0.020611770451068878,
-0.004793614614754915,
-0.05550653859972954,
-0.009764770045876503,
-0.07263912260532379,
-0.01356117520481348,
0.029839735478162766,
0.026238588616251945,
0.00005055582005297765,
-0.017264146357774734,
0.010443667881190777,
-0.0298672653734684,
-0.039844490587711334,
-0.017499661073088646,
-0.04954936355352402,
-0.033169351518154144,
-0.07912014424800873,
0.04220758378505707,
0.03894972428679466,
0.013327863067388535,
-0.021627679467201233,
0.006967636290937662,
-0.016482995823025703,
-0.0041374764405190945,
0.04933730512857437,
0.03193815425038338,
-0.036905549466609955,
-0.0720258429646492,
0.04431542009115219,
-0.016546469181776047,
0.01771548204123974,
0.000994840287603438,
-0.0220828615128994,
0.06957314163446426,
0.0776616781949997,
-0.00007687735342187807,
0.02658156491816044,
0.023271653801202774,
-0.03185149282217026,
-0.05929914861917496,
-0.008554616011679173,
-0.039897460490465164,
-0.02003554254770279,
-0.011647412553429604,
-0.033123791217803955,
-0.00977278035134077,
-0.03499758243560791,
-0.007686042692512274,
-0.008238270878791809,
0.00576305715367198,
0.035359278321266174,
0.01628604345023632,
0.02912641502916813,
0.031066685914993286,
-0.04586099088191986,
-0.017971981316804886,
0.09008263796567917,
0.010951613076031208,
0.01890261285007,
-0.045440636575222015,
-0.02691686898469925,
0.017737844958901405,
0.040593571960926056,
-0.003870762186124921,
-0.012810024432837963,
0.08470533788204193,
0.017754143103957176,
-0.006414714735001326,
-0.013560320250689983,
-0.0019391818204894662,
-0.03149731084704399,
0.005911271087825298,
0.016877925023436546,
-0.027934560552239418,
-0.05028292536735535,
-0.031243523582816124,
0.012609842233359814,
0.023054253309965134,
-0.08772064745426178,
-0.07005549222230911,
-0.011641153134405613,
0.01542727742344141,
0.029020339250564575,
-0.0202000942081213,
-0.041757065802812576,
0.01479449775069952,
-0.0613427460193634,
-0.024119950830936432,
0.02225515991449356,
0.01904718391597271,
0.030699556693434715,
0.03713446855545044,
0.05202040448784828,
-0.031794700771570206,
0.01909446343779564,
0.013670152053236961,
0.04090160131454468,
0.021945586428046227,
-0.0652950331568718,
0.04073966294527054,
-0.009777734987437725,
0.01676812395453453,
-0.01683933287858963,
-0.022688400000333786,
-0.06271900236606598,
-0.0872119590640068,
0.01181100495159626,
0.04037480428814888,
-0.014914009720087051,
-0.0048102326691150665,
0.03417909890413284,
-0.009011865593492985,
0.01421777717769146,
-0.021234242245554924,
0.01038892101496458,
0.01326297502964735,
-0.056176990270614624,
0.051936399191617966,
-0.024876616895198822,
0.01782827638089657,
-0.05320417135953903,
0.01901787705719471,
-0.040075674653053284,
-0.019857991486787796,
0.00519963726401329,
0.048776526004076004,
0.02018764615058899,
0.037172459065914154,
0.06755945831537247,
0.03378754481673241,
-0.039849068969488144,
0.06645364314317703,
0.03406972438097,
0.011645309627056122,
-0.03330405056476593,
-0.00237956247292459,
-0.007838945835828781,
-0.02644277922809124,
-0.008024962618947029,
-0.023331381380558014,
0.016924802213907242,
0.0027183268684893847,
-0.00036813216865994036,
-0.01233249343931675,
0.002060759114101529,
-0.022481245920062065,
-0.03531777858734131,
-0.041590068489313126,
-0.020848631858825684,
0.0014698256272822618,
-0.027871035039424896,
0.02775280922651291,
0.04227583482861519,
0.005370079539716244,
0.06643493473529816,
0.014990966767072678,
-0.018267733976244926,
-0.026966573670506477,
0.022016381844878197,
0.01686043292284012,
-0.04497681185603142,
-0.05285466089844704,
-0.04751859977841377,
0.060414597392082214,
0.0561518557369709,
0.03990225866436958,
-0.072097048163414,
0.007257567718625069,
0.04897308722138405,
-0.020727192983031273,
0.04693824052810669,
-0.011687212623655796,
0.05988936498761177,
0.052898846566677094,
-0.011842283420264721,
-0.0038421417120844126,
-0.015327692963182926,
0.018380524590611458,
0.009325905703008175,
0.029393913224339485,
-0.03480901941657066,
-0.03744509443640709,
-0.04968162998557091,
0.00833950936794281,
0.013483734801411629,
0.053381528705358505,
0.02450864389538765,
-0.02944071963429451,
-0.06829149276018143,
0.010809275321662426,
0.051756422966718674,
-0.07367055863142014,
0.016902536153793335,
0.01689976640045643,
0.04296228289604187,
-0.05562048405408859,
-0.03327280655503273,
-0.010601512156426907,
-0.012608126737177372,
0.04316950589418411,
-0.0036468817852437496,
-0.03104802779853344,
-0.0661252960562706,
0.0070828222669661045,
-0.006906915456056595,
-0.017265770584344864,
-0.09565678238868713,
0.0197192020714283,
-0.027937432751059532,
-0.03932488337159157,
0.03737102448940277,
0.024751249700784683,
0.03480541706085205,
0.051221273839473724,
-0.0053090378642082214,
0.0040845079347491264,
-0.038777995854616165,
0.03832635655999184,
-0.04814037308096886,
-0.005717750638723373,
-0.0033243452198803425,
-0.05314759165048599,
-0.014025998301804066,
-0.018916690722107887,
-0.05125988647341728,
-0.04282129928469658,
-0.03679107874631882,
0.028362937271595,
0.02189614810049534,
-0.003170877229422331,
-0.023056646808981895,
0.040537264198064804,
-0.015772003680467606,
-0.025296848267316818,
-0.042004141956567764,
-0.03627865016460419,
-0.07916142046451569,
-0.051016874611377716,
0.026328561827540398,
-0.005624797660857439,
0.043317925184965134,
-0.005363162606954575,
0.006181168369948864,
0.022929299622774124,
-0.0007226159796118736,
-0.024518636986613274,
0.021828357130289078,
0.008193624205887318,
-0.07633764296770096,
-0.01142842136323452,
0.014169970527291298,
0.017431121319532394,
0.05690392851829529,
-0.03715343028306961,
0.02228197641670704,
0.004832913633435965,
-0.01749449037015438,
-0.01891891285777092,
0.014938320964574814,
0.026424488052725792,
-0.08533724397420883,
-0.07436838001012802,
0.0041927252896130085,
-0.05092831701040268,
0.03673795610666275,
-0.020231839269399643,
-0.0070718685165047646,
0.04749186709523201,
0.013321240432560444,
0.04666731506586075,
0.021017717197537422,
-0.02978469431400299,
0.02529332973062992,
0.0026835952885448933,
0.01782793179154396,
-0.07692497968673706,
0.03156892582774162,
-0.03348082676529884,
0.02835007756948471,
0.006141905672848225,
-0.01778266951441765,
-0.0351308211684227,
0.023243015632033348,
-0.014777305535972118,
-0.01101609505712986,
0.019286353141069412,
0.018132371827960014,
-0.026813164353370667,
0.03029158152639866,
-0.03383345156908035,
0.0239257849752903,
-0.02012321539223194,
0.021797871217131615,
-0.04346130043268204,
-0.022317111492156982,
-0.020121943205595016,
0.0025954125449061394,
-0.0382075197994709,
-0.002696030307561159,
-0.024254582822322845,
-0.03766637668013573,
0.020290954038500786,
-0.0008692145347595215,
0.02814212441444397,
0.02338113822042942,
0.00501379044726491,
0.013666335493326187,
0.014402535744011402,
-0.0555037185549736,
-0.02016347460448742,
-0.001267020939849317,
-0.019849959760904312,
-0.00962910708039999,
0.05991841107606888,
0.0159531868994236,
-0.07024472206830978,
-0.09031344950199127,
0.046363551169633865,
0.029256461188197136,
-0.020347660407423973,
-0.005016484297811985,
0.04482585936784744,
-0.0024829464964568615,
0.026486335322260857,
-0.012421078979969025,
0.010194861330091953,
-0.029024271294474602,
-0.03246395289897919,
0.02588958851993084,
-0.010171731002628803,
0.01631326973438263,
0.023840948939323425,
-0.024157047271728516,
-0.0216115340590477,
0.0527816116809845,
0.02327762544155121,
0.022290555760264397,
-0.01161885354667902,
-0.02884737029671669,
0.00848318450152874,
0.03701528161764145,
-0.0554489865899086,
0.01766415312886238,
0.03648350387811661,
-0.013613815419375896,
0.06091059744358063,
-0.012443473562598228,
0.04009015113115311,
0.07640306651592255,
0.01614229381084442,
-0.034624598920345306,
0.04011087119579315,
-0.017692558467388153,
0.020861675962805748,
0.04696767404675484,
-0.0428447388112545,
0.014151976443827152,
-0.061555828899145126,
0.09683844447135925,
-0.08075739443302155,
0.0438164621591568,
0.038026656955480576,
0.00687963142991066,
0.022260552272200584,
-0.047753188759088516,
-0.03838927671313286,
0.01405788492411375,
-0.05078975111246109,
0.07713191211223602,
0.022192353382706642,
-0.03755097836256027,
0.06006226688623428,
0.02185552380979061,
-0.08242161571979523,
0.027186943218111992,
0.06053151562809944,
0.010066946968436241,
0.022395020350813866,
0.0020808670669794083,
-0.0594257116317749,
0.030802300199866295,
-0.03402487188577652,
0.026708925142884254,
-0.040385425090789795,
-0.010804825462400913,
0.003747406182810664,
-0.033665694296360016,
-0.002065321896225214,
0.041523780673742294,
-0.03469540551304817,
-0.0135958818718791,
0.0316358357667923,
-0.03918193653225899,
-0.04464060068130493,
-0.0016732137883082032,
0.02238720841705799,
-0.03465700522065163,
-0.00007482922956114635,
-0.05021214112639427,
0.013655208982527256,
0.026038985699415207,
0.008012429811060429,
-0.04263574257493019,
-0.011084354482591152,
0.023910263553261757,
-0.04218163341283798,
-0.05217186361551285,
0.041668735444545746,
0.014905393123626709,
-0.04131948575377464,
0.007395148742944002,
0.013876167125999928,
0.001992106670513749,
0.027175050228834152,
-0.022662648931145668,
0.027531573548913002,
-0.04629550874233246,
-0.028872743248939514,
0.007960198447108269,
-0.008174060843884945,
0.006259334273636341,
-0.00817208644002676,
0.03363407403230667,
0.029559331014752388,
0.03641578555107117,
0.0002954285591840744,
-0.06158621236681938,
-0.036831874400377274,
0.014221305958926678,
-0.058517247438430786,
0.011451303958892822,
0.019924426451325417,
-0.042582917958498,
-0.04445773363113403,
0.00907978881150484,
-0.013056393712759018,
0.030946342274546623,
-0.05239207297563553,
-0.0014882375253364444,
0.02877163328230381,
-0.00884740799665451,
-0.041639041155576706,
-0.08864498138427734,
-0.05129046365618706,
-0.05722866579890251,
0.035695530474185944,
0.011051690205931664,
-0.042144373059272766,
0.003265072125941515,
-0.02262355387210846,
-0.05047619342803955,
0.014071349054574966,
0.006087925285100937,
-0.05270685255527496,
0.053362175822257996,
0.028103288263082504,
-0.03837413340806961,
-0.016879450529813766,
0.026709500700235367,
-0.03629377484321594,
0.02390403300523758,
0.0010478752665221691,
0.029149705544114113,
-0.0059515368193387985,
0.02596418187022209,
-0.01221939641982317,
-0.025753892958164215,
-0.06608760356903076,
-0.057247135788202286,
-0.024661237373948097,
0.0075025977566838264,
0.08457627892494202
] |
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 | ---
language: multilingual
license: mit
widget:
- text: "and I cannot conceive the reafon why [MASK] hath"
- text: "TΓ€kΓ€lΓ€inen sanomalehdistΓΆ [MASK] erit - tΓ€in"
- text: "Det vore [MASK] hΓ€ller nΓΆdvΓ€ndigt att be"
- text: "Comme, Γ cette Γ©poque [MASK] Γ©tait celle de la"
- text: "In [MASK] an atmosphΓ€rischen Nahrungsmitteln"
---
# Historic Language Models (HLMs)
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Models
At the moment, the following models are available on the model hub:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
| `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased)
| `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased)
| `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased)
We also released smaller models for the multilingual model:
| Model identifier | Model Hub link
| ----------------------------------------------- | ---------------------------------------------------------------------------
| `dbmdz/bert-tiny-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-tiny-historic-multilingual-cased)
| `dbmdz/bert-mini-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-mini-historic-multilingual-cased)
| `dbmdz/bert-small-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-small-historic-multilingual-cased)
| `dbmdz/bert-medium-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
**Notice**: We have released language models for Historic German and French trained on more noisier data earlier - see
[this repo](https://github.com/stefan-it/europeana-bert) for more information:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-german-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-german-europeana-cased)
| `dbmdz/bert-base-french-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-french-europeana-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Smaller multilingual models
Inspired by the ["Well-Read Students Learn Better: On the Importance of Pre-training Compact Models"](https://arxiv.org/abs/1908.08962)
paper, we train smaller models (different layers and hidden sizes), and report number of parameters and pre-training costs:
| Model (Layer / Hidden size) | Parameters | Pre-Training time
| --------------------------- | ----------: | ----------------------:
| hmBERT Tiny ( 2/128) | 4.58M | 4.3 sec / 1,000 steps
| hmBERT Mini ( 4/256) | 11.55M | 10.5 sec / 1,000 steps
| hmBERT Small ( 4/512) | 29.52M | 20.7 sec / 1,000 steps
| hmBERT Medium ( 8/512) | 42.13M | 35.0 sec / 1,000 steps
| hmBERT Base (12/768) | 110.62M | 80.0 sec / 1,000 steps
We then perform downstream evaluations on the multilingual [NewsEye](https://zenodo.org/record/4573313#.Ya3oVr-ZNzU) dataset:

# Pretraining
## Multilingual model - hmBERT Base
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

## Smaller multilingual models
We use the same parameters as used for training the base model.
### hmBERT Tiny
The following plot shows the pretraining loss curve for the tiny model:

### hmBERT Mini
The following plot shows the pretraining loss curve for the mini model:

### hmBERT Small
The following plot shows the pretraining loss curve for the small model:

### hmBERT Medium
The following plot shows the pretraining loss curve for the medium model:

## English model
The English BERT model - with texts from British Library corpus - was trained with the Hugging Face
JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-historic-english-cased/ \
--tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \
--train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \
--validation_file /mnt/datasets/bl-corpus/english_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 10 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Finnish model
The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \
--validation_file /mnt/datasets/hlms/finnish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Swedish model
The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \
--validation_file /mnt/datasets/hlms/swedish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.03421342372894287,
-0.028913620859384537,
-0.01412870828062296,
0.05817055702209473,
0.05841981619596481,
0.015284408815205097,
-0.01826760545372963,
-0.014453054405748844,
-0.052320729941129684,
0.05071531608700752,
0.016058601438999176,
-0.01567273959517479,
0.012979576364159584,
0.04542768746614456,
-0.015074807219207287,
-0.012649158015847206,
-0.002746889367699623,
-0.015995455905795097,
-0.05375708267092705,
-0.004177524242550135,
-0.016934996470808983,
0.009299502708017826,
-0.014135300181806087,
0.029838595539331436,
0.016178196296095848,
0.018015973269939423,
0.005893012508749962,
0.0664450004696846,
0.00985229853540659,
-0.06683137267827988,
-0.030904976651072502,
-0.04708820953965187,
-0.03844915330410004,
-0.039164550602436066,
-0.011851873248815536,
-0.014843104407191277,
0.01656223274767399,
0.014284871518611908,
0.040040455758571625,
0.058462828397750854,
-0.021258650347590446,
-0.010058066807687283,
-0.02962615340948105,
-0.013468711636960506,
0.05092297121882439,
0.025558114051818848,
-0.05798507109284401,
-0.020422017201781273,
0.06431347131729126,
-0.02896476723253727,
-0.042918264865875244,
-0.05779149755835533,
-0.00565268425270915,
0.023297809064388275,
-0.014924963004887104,
-0.014095363207161427,
-0.07777092605829239,
0.04811231046915054,
0.048083532601594925,
-0.03695552051067352,
-0.044323764741420746,
-0.0018571214750409126,
-0.08464150875806808,
0.021998858079314232,
0.041830435395240784,
-0.05069907382130623,
0.009110250510275364,
-0.038424473255872726,
0.036011699587106705,
-0.011269339360296726,
0.04167556390166283,
-0.06289160996675491,
0.021299516782164574,
-0.05498716980218887,
-0.021842725574970245,
-0.008577314205467701,
0.031174197793006897,
0.06087396293878555,
-0.050888411700725555,
0.07130631804466248,
0.037109535187482834,
-0.022444704547524452,
0.03445534408092499,
-0.019162848591804504,
-0.006684767082333565,
0.029872417449951172,
-0.04151362180709839,
0.0058830175548791885,
0.016899991780519485,
0.06399187445640564,
-0.05963578820228577,
-0.027435317635536194,
-0.004920093808323145,
-0.01864062435925007,
0.004985104314982891,
0.018596041947603226,
0.014395671896636486,
-0.022435402497649193,
0.03173177316784859,
0.020405910909175873,
0.023409217596054077,
0.05494055524468422,
0.003713862271979451,
0.07111925631761551,
-0.02324380911886692,
-0.008116393350064754,
-0.026342187076807022,
-0.044964857399463654,
-0.062009021639823914,
0.012667468748986721,
0.026395920664072037,
-0.05651728808879852,
-0.031553003937006,
0.03574710339307785,
0.0382939949631691,
-0.02567075937986374,
0.0565677136182785,
-0.01884104311466217,
-0.05458635091781616,
-0.056120045483112335,
0.018679603934288025,
-0.019678743556141853,
-0.021462522447109222,
0.011671749874949455,
-0.04457336664199829,
0.029454616829752922,
-0.04813734441995621,
-0.015943434089422226,
0.019802819937467575,
0.01435583271086216,
-0.02891867607831955,
0.03603702411055565,
0.025821996852755547,
-0.06293746083974838,
0.00708263972774148,
-0.015093228779733181,
-0.05270802602171898,
0.02149263583123684,
0.01849588192999363,
0.13694201409816742,
-0.03100019507110119,
-0.050851721316576004,
-0.013394574634730816,
-0.006564436014741659,
-0.0543404258787632,
0.026416994631290436,
0.005272857844829559,
-0.00017486984143033624,
0.004004229791462421,
0.00517011433839798,
0.051401909440755844,
-0.06341206282377243,
-0.008320044726133347,
0.05402262881398201,
-0.005760447587817907,
0.021824343129992485,
-0.06276603788137436,
-0.01867409236729145,
-0.010519781149923801,
-0.016878116875886917,
-0.012880222871899605,
0.024149619042873383,
0.0108394306153059,
-0.020227456465363503,
-0.04294707626104355,
-0.043778833001852036,
-0.015189999714493752,
0.06756135821342468,
0.000303224369417876,
-0.0022073646541684866,
-0.04038669914007187,
-0.0007936409674584866,
0.019122427329421043,
0.005284714046865702,
-0.048754725605249405,
0.041407521814107895,
0.0428328663110733,
0.035054054111242294,
-0.03144608810544014,
0.06615325063467026,
0.0053465114906430244,
-0.019537314772605896,
-0.020632266998291016,
0.03638936206698418,
-0.0016180251259356737,
-0.026297694072127342,
0.0488247349858284,
0.03688279539346695,
0.013794438913464546,
-0.024198800325393677,
-0.027347717434167862,
0.04577454552054405,
0.01972806826233864,
0.0021127616055309772,
0.027866706252098083,
-0.005070493556559086,
-0.038451652973890305,
0.02180371806025505,
-0.012166534550487995,
0.003887201426550746,
-0.005722399335354567,
-0.018656546249985695,
0.03741990402340889,
0.01563534326851368,
0.04640738666057587,
0.04498214274644852,
-0.0040103415958583355,
0.10258911550045013,
-0.021586503833532333,
-0.004077487625181675,
-0.03790963813662529,
-0.0714319571852684,
-0.006646716967225075,
0.052294325083494186,
0.030678797513246536,
0.03383875638246536,
-0.034381695091724396,
-0.029396988451480865,
0.03360925614833832,
0.08835933357477188,
0.04188676178455353,
-0.0009333919733762741,
-0.03189380466938019,
-0.008326584473252296,
0.030121661722660065,
0.04137522727251053,
-0.05907425284385681,
-0.05967821925878525,
-0.003556813346222043,
0.03713451325893402,
-0.04813223332166672,
0.01148994080722332,
-0.00909196026623249,
0.034993868321180344,
-0.03223880007863045,
-0.08431339263916016,
0.04246821254491806,
0.022951526567339897,
-0.016018807888031006,
0.03009006194770336,
-0.009101885370910168,
0.045479074120521545,
0.01975945383310318,
0.00733569310978055,
0.008487734012305737,
-0.04412338137626648,
0.0018454882083460689,
0.013706148602068424,
0.05463225021958351,
-0.04138956218957901,
0.033600520342588425,
-0.010733661241829395,
-0.004731111228466034,
0.04264827072620392,
-0.030430631712079048,
0.020078733563423157,
0.052598342299461365,
0.010018871165812016,
-0.04353506863117218,
0.03389601781964302,
0.002581727458164096,
0.024609029293060303,
0.04848400503396988,
-0.0025462910998612642,
0.05320760980248451,
0.008993486873805523,
0.038372334092855453,
0.0959300771355629,
0.025532420724630356,
0.017222443595528603,
0.0036027333699166775,
0.04051269218325615,
0.03157670423388481,
-0.012326600030064583,
0.05948949605226517,
-0.05250385403633118,
0.015243500471115112,
-0.028380868956446648,
0.03216949477791786,
-0.005217764992266893,
0.015622475184500217,
0.01040361076593399,
0.00501529686152935,
-0.03905102610588074,
0.009420357644557953,
-0.012074503116309643,
-0.00032635321258567274,
0.058202773332595825,
0.0032244070898741484,
0.005650655832141638,
-0.026105541735887527,
-0.025277767330408096,
0.013549571856856346,
-0.05789433419704437,
-0.03309805318713188,
0.016868332400918007,
-0.020611770451068878,
-0.004793614614754915,
-0.05550653859972954,
-0.009764770045876503,
-0.07263912260532379,
-0.01356117520481348,
0.029839735478162766,
0.026238588616251945,
0.00005055582005297765,
-0.017264146357774734,
0.010443667881190777,
-0.0298672653734684,
-0.039844490587711334,
-0.017499661073088646,
-0.04954936355352402,
-0.033169351518154144,
-0.07912014424800873,
0.04220758378505707,
0.03894972428679466,
0.013327863067388535,
-0.021627679467201233,
0.006967636290937662,
-0.016482995823025703,
-0.0041374764405190945,
0.04933730512857437,
0.03193815425038338,
-0.036905549466609955,
-0.0720258429646492,
0.04431542009115219,
-0.016546469181776047,
0.01771548204123974,
0.000994840287603438,
-0.0220828615128994,
0.06957314163446426,
0.0776616781949997,
-0.00007687735342187807,
0.02658156491816044,
0.023271653801202774,
-0.03185149282217026,
-0.05929914861917496,
-0.008554616011679173,
-0.039897460490465164,
-0.02003554254770279,
-0.011647412553429604,
-0.033123791217803955,
-0.00977278035134077,
-0.03499758243560791,
-0.007686042692512274,
-0.008238270878791809,
0.00576305715367198,
0.035359278321266174,
0.01628604345023632,
0.02912641502916813,
0.031066685914993286,
-0.04586099088191986,
-0.017971981316804886,
0.09008263796567917,
0.010951613076031208,
0.01890261285007,
-0.045440636575222015,
-0.02691686898469925,
0.017737844958901405,
0.040593571960926056,
-0.003870762186124921,
-0.012810024432837963,
0.08470533788204193,
0.017754143103957176,
-0.006414714735001326,
-0.013560320250689983,
-0.0019391818204894662,
-0.03149731084704399,
0.005911271087825298,
0.016877925023436546,
-0.027934560552239418,
-0.05028292536735535,
-0.031243523582816124,
0.012609842233359814,
0.023054253309965134,
-0.08772064745426178,
-0.07005549222230911,
-0.011641153134405613,
0.01542727742344141,
0.029020339250564575,
-0.0202000942081213,
-0.041757065802812576,
0.01479449775069952,
-0.0613427460193634,
-0.024119950830936432,
0.02225515991449356,
0.01904718391597271,
0.030699556693434715,
0.03713446855545044,
0.05202040448784828,
-0.031794700771570206,
0.01909446343779564,
0.013670152053236961,
0.04090160131454468,
0.021945586428046227,
-0.0652950331568718,
0.04073966294527054,
-0.009777734987437725,
0.01676812395453453,
-0.01683933287858963,
-0.022688400000333786,
-0.06271900236606598,
-0.0872119590640068,
0.01181100495159626,
0.04037480428814888,
-0.014914009720087051,
-0.0048102326691150665,
0.03417909890413284,
-0.009011865593492985,
0.01421777717769146,
-0.021234242245554924,
0.01038892101496458,
0.01326297502964735,
-0.056176990270614624,
0.051936399191617966,
-0.024876616895198822,
0.01782827638089657,
-0.05320417135953903,
0.01901787705719471,
-0.040075674653053284,
-0.019857991486787796,
0.00519963726401329,
0.048776526004076004,
0.02018764615058899,
0.037172459065914154,
0.06755945831537247,
0.03378754481673241,
-0.039849068969488144,
0.06645364314317703,
0.03406972438097,
0.011645309627056122,
-0.03330405056476593,
-0.00237956247292459,
-0.007838945835828781,
-0.02644277922809124,
-0.008024962618947029,
-0.023331381380558014,
0.016924802213907242,
0.0027183268684893847,
-0.00036813216865994036,
-0.01233249343931675,
0.002060759114101529,
-0.022481245920062065,
-0.03531777858734131,
-0.041590068489313126,
-0.020848631858825684,
0.0014698256272822618,
-0.027871035039424896,
0.02775280922651291,
0.04227583482861519,
0.005370079539716244,
0.06643493473529816,
0.014990966767072678,
-0.018267733976244926,
-0.026966573670506477,
0.022016381844878197,
0.01686043292284012,
-0.04497681185603142,
-0.05285466089844704,
-0.04751859977841377,
0.060414597392082214,
0.0561518557369709,
0.03990225866436958,
-0.072097048163414,
0.007257567718625069,
0.04897308722138405,
-0.020727192983031273,
0.04693824052810669,
-0.011687212623655796,
0.05988936498761177,
0.052898846566677094,
-0.011842283420264721,
-0.0038421417120844126,
-0.015327692963182926,
0.018380524590611458,
0.009325905703008175,
0.029393913224339485,
-0.03480901941657066,
-0.03744509443640709,
-0.04968162998557091,
0.00833950936794281,
0.013483734801411629,
0.053381528705358505,
0.02450864389538765,
-0.02944071963429451,
-0.06829149276018143,
0.010809275321662426,
0.051756422966718674,
-0.07367055863142014,
0.016902536153793335,
0.01689976640045643,
0.04296228289604187,
-0.05562048405408859,
-0.03327280655503273,
-0.010601512156426907,
-0.012608126737177372,
0.04316950589418411,
-0.0036468817852437496,
-0.03104802779853344,
-0.0661252960562706,
0.0070828222669661045,
-0.006906915456056595,
-0.017265770584344864,
-0.09565678238868713,
0.0197192020714283,
-0.027937432751059532,
-0.03932488337159157,
0.03737102448940277,
0.024751249700784683,
0.03480541706085205,
0.051221273839473724,
-0.0053090378642082214,
0.0040845079347491264,
-0.038777995854616165,
0.03832635655999184,
-0.04814037308096886,
-0.005717750638723373,
-0.0033243452198803425,
-0.05314759165048599,
-0.014025998301804066,
-0.018916690722107887,
-0.05125988647341728,
-0.04282129928469658,
-0.03679107874631882,
0.028362937271595,
0.02189614810049534,
-0.003170877229422331,
-0.023056646808981895,
0.040537264198064804,
-0.015772003680467606,
-0.025296848267316818,
-0.042004141956567764,
-0.03627865016460419,
-0.07916142046451569,
-0.051016874611377716,
0.026328561827540398,
-0.005624797660857439,
0.043317925184965134,
-0.005363162606954575,
0.006181168369948864,
0.022929299622774124,
-0.0007226159796118736,
-0.024518636986613274,
0.021828357130289078,
0.008193624205887318,
-0.07633764296770096,
-0.01142842136323452,
0.014169970527291298,
0.017431121319532394,
0.05690392851829529,
-0.03715343028306961,
0.02228197641670704,
0.004832913633435965,
-0.01749449037015438,
-0.01891891285777092,
0.014938320964574814,
0.026424488052725792,
-0.08533724397420883,
-0.07436838001012802,
0.0041927252896130085,
-0.05092831701040268,
0.03673795610666275,
-0.020231839269399643,
-0.0070718685165047646,
0.04749186709523201,
0.013321240432560444,
0.04666731506586075,
0.021017717197537422,
-0.02978469431400299,
0.02529332973062992,
0.0026835952885448933,
0.01782793179154396,
-0.07692497968673706,
0.03156892582774162,
-0.03348082676529884,
0.02835007756948471,
0.006141905672848225,
-0.01778266951441765,
-0.0351308211684227,
0.023243015632033348,
-0.014777305535972118,
-0.01101609505712986,
0.019286353141069412,
0.018132371827960014,
-0.026813164353370667,
0.03029158152639866,
-0.03383345156908035,
0.0239257849752903,
-0.02012321539223194,
0.021797871217131615,
-0.04346130043268204,
-0.022317111492156982,
-0.020121943205595016,
0.0025954125449061394,
-0.0382075197994709,
-0.002696030307561159,
-0.024254582822322845,
-0.03766637668013573,
0.020290954038500786,
-0.0008692145347595215,
0.02814212441444397,
0.02338113822042942,
0.00501379044726491,
0.013666335493326187,
0.014402535744011402,
-0.0555037185549736,
-0.02016347460448742,
-0.001267020939849317,
-0.019849959760904312,
-0.00962910708039999,
0.05991841107606888,
0.0159531868994236,
-0.07024472206830978,
-0.09031344950199127,
0.046363551169633865,
0.029256461188197136,
-0.020347660407423973,
-0.005016484297811985,
0.04482585936784744,
-0.0024829464964568615,
0.026486335322260857,
-0.012421078979969025,
0.010194861330091953,
-0.029024271294474602,
-0.03246395289897919,
0.02588958851993084,
-0.010171731002628803,
0.01631326973438263,
0.023840948939323425,
-0.024157047271728516,
-0.0216115340590477,
0.0527816116809845,
0.02327762544155121,
0.022290555760264397,
-0.01161885354667902,
-0.02884737029671669,
0.00848318450152874,
0.03701528161764145,
-0.0554489865899086,
0.01766415312886238,
0.03648350387811661,
-0.013613815419375896,
0.06091059744358063,
-0.012443473562598228,
0.04009015113115311,
0.07640306651592255,
0.01614229381084442,
-0.034624598920345306,
0.04011087119579315,
-0.017692558467388153,
0.020861675962805748,
0.04696767404675484,
-0.0428447388112545,
0.014151976443827152,
-0.061555828899145126,
0.09683844447135925,
-0.08075739443302155,
0.0438164621591568,
0.038026656955480576,
0.00687963142991066,
0.022260552272200584,
-0.047753188759088516,
-0.03838927671313286,
0.01405788492411375,
-0.05078975111246109,
0.07713191211223602,
0.022192353382706642,
-0.03755097836256027,
0.06006226688623428,
0.02185552380979061,
-0.08242161571979523,
0.027186943218111992,
0.06053151562809944,
0.010066946968436241,
0.022395020350813866,
0.0020808670669794083,
-0.0594257116317749,
0.030802300199866295,
-0.03402487188577652,
0.026708925142884254,
-0.040385425090789795,
-0.010804825462400913,
0.003747406182810664,
-0.033665694296360016,
-0.002065321896225214,
0.041523780673742294,
-0.03469540551304817,
-0.0135958818718791,
0.0316358357667923,
-0.03918193653225899,
-0.04464060068130493,
-0.0016732137883082032,
0.02238720841705799,
-0.03465700522065163,
-0.00007482922956114635,
-0.05021214112639427,
0.013655208982527256,
0.026038985699415207,
0.008012429811060429,
-0.04263574257493019,
-0.011084354482591152,
0.023910263553261757,
-0.04218163341283798,
-0.05217186361551285,
0.041668735444545746,
0.014905393123626709,
-0.04131948575377464,
0.007395148742944002,
0.013876167125999928,
0.001992106670513749,
0.027175050228834152,
-0.022662648931145668,
0.027531573548913002,
-0.04629550874233246,
-0.028872743248939514,
0.007960198447108269,
-0.008174060843884945,
0.006259334273636341,
-0.00817208644002676,
0.03363407403230667,
0.029559331014752388,
0.03641578555107117,
0.0002954285591840744,
-0.06158621236681938,
-0.036831874400377274,
0.014221305958926678,
-0.058517247438430786,
0.011451303958892822,
0.019924426451325417,
-0.042582917958498,
-0.04445773363113403,
0.00907978881150484,
-0.013056393712759018,
0.030946342274546623,
-0.05239207297563553,
-0.0014882375253364444,
0.02877163328230381,
-0.00884740799665451,
-0.041639041155576706,
-0.08864498138427734,
-0.05129046365618706,
-0.05722866579890251,
0.035695530474185944,
0.011051690205931664,
-0.042144373059272766,
0.003265072125941515,
-0.02262355387210846,
-0.05047619342803955,
0.014071349054574966,
0.006087925285100937,
-0.05270685255527496,
0.053362175822257996,
0.028103288263082504,
-0.03837413340806961,
-0.016879450529813766,
0.026709500700235367,
-0.03629377484321594,
0.02390403300523758,
0.0010478752665221691,
0.029149705544114113,
-0.0059515368193387985,
0.02596418187022209,
-0.01221939641982317,
-0.025753892958164215,
-0.06608760356903076,
-0.057247135788202286,
-0.024661237373948097,
0.0075025977566838264,
0.08457627892494202
] |
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 | ---
language: multilingual
license: mit
widget:
- text: "and I cannot conceive the reafon why [MASK] hath"
- text: "TΓ€kΓ€lΓ€inen sanomalehdistΓΆ [MASK] erit - tΓ€in"
- text: "Det vore [MASK] hΓ€ller nΓΆdvΓ€ndigt att be"
- text: "Comme, Γ cette Γ©poque [MASK] Γ©tait celle de la"
- text: "In [MASK] an atmosphΓ€rischen Nahrungsmitteln"
---
# Historic Language Models (HLMs)
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Models
At the moment, the following models are available on the model hub:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
| `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased)
| `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased)
| `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased)
We also released smaller models for the multilingual model:
| Model identifier | Model Hub link
| ----------------------------------------------- | ---------------------------------------------------------------------------
| `dbmdz/bert-tiny-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-tiny-historic-multilingual-cased)
| `dbmdz/bert-mini-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-mini-historic-multilingual-cased)
| `dbmdz/bert-small-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-small-historic-multilingual-cased)
| `dbmdz/bert-medium-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
**Notice**: We have released language models for Historic German and French trained on more noisier data earlier - see
[this repo](https://github.com/stefan-it/europeana-bert) for more information:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-german-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-german-europeana-cased)
| `dbmdz/bert-base-french-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-french-europeana-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Smaller multilingual models
Inspired by the ["Well-Read Students Learn Better: On the Importance of Pre-training Compact Models"](https://arxiv.org/abs/1908.08962)
paper, we train smaller models (different layers and hidden sizes), and report number of parameters and pre-training costs:
| Model (Layer / Hidden size) | Parameters | Pre-Training time
| --------------------------- | ----------: | ----------------------:
| hmBERT Tiny ( 2/128) | 4.58M | 4.3 sec / 1,000 steps
| hmBERT Mini ( 4/256) | 11.55M | 10.5 sec / 1,000 steps
| hmBERT Small ( 4/512) | 29.52M | 20.7 sec / 1,000 steps
| hmBERT Medium ( 8/512) | 42.13M | 35.0 sec / 1,000 steps
| hmBERT Base (12/768) | 110.62M | 80.0 sec / 1,000 steps
We then perform downstream evaluations on the multilingual [NewsEye](https://zenodo.org/record/4573313#.Ya3oVr-ZNzU) dataset:

# Pretraining
## Multilingual model - hmBERT Base
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

## Smaller multilingual models
We use the same parameters as used for training the base model.
### hmBERT Tiny
The following plot shows the pretraining loss curve for the tiny model:

### hmBERT Mini
The following plot shows the pretraining loss curve for the mini model:

### hmBERT Small
The following plot shows the pretraining loss curve for the small model:

### hmBERT Medium
The following plot shows the pretraining loss curve for the medium model:

## English model
The English BERT model - with texts from British Library corpus - was trained with the Hugging Face
JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-historic-english-cased/ \
--tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \
--train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \
--validation_file /mnt/datasets/bl-corpus/english_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 10 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Finnish model
The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \
--validation_file /mnt/datasets/hlms/finnish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Swedish model
The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \
--validation_file /mnt/datasets/hlms/swedish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.03421342372894287,
-0.028913620859384537,
-0.01412870828062296,
0.05817055702209473,
0.05841981619596481,
0.015284408815205097,
-0.01826760545372963,
-0.014453054405748844,
-0.052320729941129684,
0.05071531608700752,
0.016058601438999176,
-0.01567273959517479,
0.012979576364159584,
0.04542768746614456,
-0.015074807219207287,
-0.012649158015847206,
-0.002746889367699623,
-0.015995455905795097,
-0.05375708267092705,
-0.004177524242550135,
-0.016934996470808983,
0.009299502708017826,
-0.014135300181806087,
0.029838595539331436,
0.016178196296095848,
0.018015973269939423,
0.005893012508749962,
0.0664450004696846,
0.00985229853540659,
-0.06683137267827988,
-0.030904976651072502,
-0.04708820953965187,
-0.03844915330410004,
-0.039164550602436066,
-0.011851873248815536,
-0.014843104407191277,
0.01656223274767399,
0.014284871518611908,
0.040040455758571625,
0.058462828397750854,
-0.021258650347590446,
-0.010058066807687283,
-0.02962615340948105,
-0.013468711636960506,
0.05092297121882439,
0.025558114051818848,
-0.05798507109284401,
-0.020422017201781273,
0.06431347131729126,
-0.02896476723253727,
-0.042918264865875244,
-0.05779149755835533,
-0.00565268425270915,
0.023297809064388275,
-0.014924963004887104,
-0.014095363207161427,
-0.07777092605829239,
0.04811231046915054,
0.048083532601594925,
-0.03695552051067352,
-0.044323764741420746,
-0.0018571214750409126,
-0.08464150875806808,
0.021998858079314232,
0.041830435395240784,
-0.05069907382130623,
0.009110250510275364,
-0.038424473255872726,
0.036011699587106705,
-0.011269339360296726,
0.04167556390166283,
-0.06289160996675491,
0.021299516782164574,
-0.05498716980218887,
-0.021842725574970245,
-0.008577314205467701,
0.031174197793006897,
0.06087396293878555,
-0.050888411700725555,
0.07130631804466248,
0.037109535187482834,
-0.022444704547524452,
0.03445534408092499,
-0.019162848591804504,
-0.006684767082333565,
0.029872417449951172,
-0.04151362180709839,
0.0058830175548791885,
0.016899991780519485,
0.06399187445640564,
-0.05963578820228577,
-0.027435317635536194,
-0.004920093808323145,
-0.01864062435925007,
0.004985104314982891,
0.018596041947603226,
0.014395671896636486,
-0.022435402497649193,
0.03173177316784859,
0.020405910909175873,
0.023409217596054077,
0.05494055524468422,
0.003713862271979451,
0.07111925631761551,
-0.02324380911886692,
-0.008116393350064754,
-0.026342187076807022,
-0.044964857399463654,
-0.062009021639823914,
0.012667468748986721,
0.026395920664072037,
-0.05651728808879852,
-0.031553003937006,
0.03574710339307785,
0.0382939949631691,
-0.02567075937986374,
0.0565677136182785,
-0.01884104311466217,
-0.05458635091781616,
-0.056120045483112335,
0.018679603934288025,
-0.019678743556141853,
-0.021462522447109222,
0.011671749874949455,
-0.04457336664199829,
0.029454616829752922,
-0.04813734441995621,
-0.015943434089422226,
0.019802819937467575,
0.01435583271086216,
-0.02891867607831955,
0.03603702411055565,
0.025821996852755547,
-0.06293746083974838,
0.00708263972774148,
-0.015093228779733181,
-0.05270802602171898,
0.02149263583123684,
0.01849588192999363,
0.13694201409816742,
-0.03100019507110119,
-0.050851721316576004,
-0.013394574634730816,
-0.006564436014741659,
-0.0543404258787632,
0.026416994631290436,
0.005272857844829559,
-0.00017486984143033624,
0.004004229791462421,
0.00517011433839798,
0.051401909440755844,
-0.06341206282377243,
-0.008320044726133347,
0.05402262881398201,
-0.005760447587817907,
0.021824343129992485,
-0.06276603788137436,
-0.01867409236729145,
-0.010519781149923801,
-0.016878116875886917,
-0.012880222871899605,
0.024149619042873383,
0.0108394306153059,
-0.020227456465363503,
-0.04294707626104355,
-0.043778833001852036,
-0.015189999714493752,
0.06756135821342468,
0.000303224369417876,
-0.0022073646541684866,
-0.04038669914007187,
-0.0007936409674584866,
0.019122427329421043,
0.005284714046865702,
-0.048754725605249405,
0.041407521814107895,
0.0428328663110733,
0.035054054111242294,
-0.03144608810544014,
0.06615325063467026,
0.0053465114906430244,
-0.019537314772605896,
-0.020632266998291016,
0.03638936206698418,
-0.0016180251259356737,
-0.026297694072127342,
0.0488247349858284,
0.03688279539346695,
0.013794438913464546,
-0.024198800325393677,
-0.027347717434167862,
0.04577454552054405,
0.01972806826233864,
0.0021127616055309772,
0.027866706252098083,
-0.005070493556559086,
-0.038451652973890305,
0.02180371806025505,
-0.012166534550487995,
0.003887201426550746,
-0.005722399335354567,
-0.018656546249985695,
0.03741990402340889,
0.01563534326851368,
0.04640738666057587,
0.04498214274644852,
-0.0040103415958583355,
0.10258911550045013,
-0.021586503833532333,
-0.004077487625181675,
-0.03790963813662529,
-0.0714319571852684,
-0.006646716967225075,
0.052294325083494186,
0.030678797513246536,
0.03383875638246536,
-0.034381695091724396,
-0.029396988451480865,
0.03360925614833832,
0.08835933357477188,
0.04188676178455353,
-0.0009333919733762741,
-0.03189380466938019,
-0.008326584473252296,
0.030121661722660065,
0.04137522727251053,
-0.05907425284385681,
-0.05967821925878525,
-0.003556813346222043,
0.03713451325893402,
-0.04813223332166672,
0.01148994080722332,
-0.00909196026623249,
0.034993868321180344,
-0.03223880007863045,
-0.08431339263916016,
0.04246821254491806,
0.022951526567339897,
-0.016018807888031006,
0.03009006194770336,
-0.009101885370910168,
0.045479074120521545,
0.01975945383310318,
0.00733569310978055,
0.008487734012305737,
-0.04412338137626648,
0.0018454882083460689,
0.013706148602068424,
0.05463225021958351,
-0.04138956218957901,
0.033600520342588425,
-0.010733661241829395,
-0.004731111228466034,
0.04264827072620392,
-0.030430631712079048,
0.020078733563423157,
0.052598342299461365,
0.010018871165812016,
-0.04353506863117218,
0.03389601781964302,
0.002581727458164096,
0.024609029293060303,
0.04848400503396988,
-0.0025462910998612642,
0.05320760980248451,
0.008993486873805523,
0.038372334092855453,
0.0959300771355629,
0.025532420724630356,
0.017222443595528603,
0.0036027333699166775,
0.04051269218325615,
0.03157670423388481,
-0.012326600030064583,
0.05948949605226517,
-0.05250385403633118,
0.015243500471115112,
-0.028380868956446648,
0.03216949477791786,
-0.005217764992266893,
0.015622475184500217,
0.01040361076593399,
0.00501529686152935,
-0.03905102610588074,
0.009420357644557953,
-0.012074503116309643,
-0.00032635321258567274,
0.058202773332595825,
0.0032244070898741484,
0.005650655832141638,
-0.026105541735887527,
-0.025277767330408096,
0.013549571856856346,
-0.05789433419704437,
-0.03309805318713188,
0.016868332400918007,
-0.020611770451068878,
-0.004793614614754915,
-0.05550653859972954,
-0.009764770045876503,
-0.07263912260532379,
-0.01356117520481348,
0.029839735478162766,
0.026238588616251945,
0.00005055582005297765,
-0.017264146357774734,
0.010443667881190777,
-0.0298672653734684,
-0.039844490587711334,
-0.017499661073088646,
-0.04954936355352402,
-0.033169351518154144,
-0.07912014424800873,
0.04220758378505707,
0.03894972428679466,
0.013327863067388535,
-0.021627679467201233,
0.006967636290937662,
-0.016482995823025703,
-0.0041374764405190945,
0.04933730512857437,
0.03193815425038338,
-0.036905549466609955,
-0.0720258429646492,
0.04431542009115219,
-0.016546469181776047,
0.01771548204123974,
0.000994840287603438,
-0.0220828615128994,
0.06957314163446426,
0.0776616781949997,
-0.00007687735342187807,
0.02658156491816044,
0.023271653801202774,
-0.03185149282217026,
-0.05929914861917496,
-0.008554616011679173,
-0.039897460490465164,
-0.02003554254770279,
-0.011647412553429604,
-0.033123791217803955,
-0.00977278035134077,
-0.03499758243560791,
-0.007686042692512274,
-0.008238270878791809,
0.00576305715367198,
0.035359278321266174,
0.01628604345023632,
0.02912641502916813,
0.031066685914993286,
-0.04586099088191986,
-0.017971981316804886,
0.09008263796567917,
0.010951613076031208,
0.01890261285007,
-0.045440636575222015,
-0.02691686898469925,
0.017737844958901405,
0.040593571960926056,
-0.003870762186124921,
-0.012810024432837963,
0.08470533788204193,
0.017754143103957176,
-0.006414714735001326,
-0.013560320250689983,
-0.0019391818204894662,
-0.03149731084704399,
0.005911271087825298,
0.016877925023436546,
-0.027934560552239418,
-0.05028292536735535,
-0.031243523582816124,
0.012609842233359814,
0.023054253309965134,
-0.08772064745426178,
-0.07005549222230911,
-0.011641153134405613,
0.01542727742344141,
0.029020339250564575,
-0.0202000942081213,
-0.041757065802812576,
0.01479449775069952,
-0.0613427460193634,
-0.024119950830936432,
0.02225515991449356,
0.01904718391597271,
0.030699556693434715,
0.03713446855545044,
0.05202040448784828,
-0.031794700771570206,
0.01909446343779564,
0.013670152053236961,
0.04090160131454468,
0.021945586428046227,
-0.0652950331568718,
0.04073966294527054,
-0.009777734987437725,
0.01676812395453453,
-0.01683933287858963,
-0.022688400000333786,
-0.06271900236606598,
-0.0872119590640068,
0.01181100495159626,
0.04037480428814888,
-0.014914009720087051,
-0.0048102326691150665,
0.03417909890413284,
-0.009011865593492985,
0.01421777717769146,
-0.021234242245554924,
0.01038892101496458,
0.01326297502964735,
-0.056176990270614624,
0.051936399191617966,
-0.024876616895198822,
0.01782827638089657,
-0.05320417135953903,
0.01901787705719471,
-0.040075674653053284,
-0.019857991486787796,
0.00519963726401329,
0.048776526004076004,
0.02018764615058899,
0.037172459065914154,
0.06755945831537247,
0.03378754481673241,
-0.039849068969488144,
0.06645364314317703,
0.03406972438097,
0.011645309627056122,
-0.03330405056476593,
-0.00237956247292459,
-0.007838945835828781,
-0.02644277922809124,
-0.008024962618947029,
-0.023331381380558014,
0.016924802213907242,
0.0027183268684893847,
-0.00036813216865994036,
-0.01233249343931675,
0.002060759114101529,
-0.022481245920062065,
-0.03531777858734131,
-0.041590068489313126,
-0.020848631858825684,
0.0014698256272822618,
-0.027871035039424896,
0.02775280922651291,
0.04227583482861519,
0.005370079539716244,
0.06643493473529816,
0.014990966767072678,
-0.018267733976244926,
-0.026966573670506477,
0.022016381844878197,
0.01686043292284012,
-0.04497681185603142,
-0.05285466089844704,
-0.04751859977841377,
0.060414597392082214,
0.0561518557369709,
0.03990225866436958,
-0.072097048163414,
0.007257567718625069,
0.04897308722138405,
-0.020727192983031273,
0.04693824052810669,
-0.011687212623655796,
0.05988936498761177,
0.052898846566677094,
-0.011842283420264721,
-0.0038421417120844126,
-0.015327692963182926,
0.018380524590611458,
0.009325905703008175,
0.029393913224339485,
-0.03480901941657066,
-0.03744509443640709,
-0.04968162998557091,
0.00833950936794281,
0.013483734801411629,
0.053381528705358505,
0.02450864389538765,
-0.02944071963429451,
-0.06829149276018143,
0.010809275321662426,
0.051756422966718674,
-0.07367055863142014,
0.016902536153793335,
0.01689976640045643,
0.04296228289604187,
-0.05562048405408859,
-0.03327280655503273,
-0.010601512156426907,
-0.012608126737177372,
0.04316950589418411,
-0.0036468817852437496,
-0.03104802779853344,
-0.0661252960562706,
0.0070828222669661045,
-0.006906915456056595,
-0.017265770584344864,
-0.09565678238868713,
0.0197192020714283,
-0.027937432751059532,
-0.03932488337159157,
0.03737102448940277,
0.024751249700784683,
0.03480541706085205,
0.051221273839473724,
-0.0053090378642082214,
0.0040845079347491264,
-0.038777995854616165,
0.03832635655999184,
-0.04814037308096886,
-0.005717750638723373,
-0.0033243452198803425,
-0.05314759165048599,
-0.014025998301804066,
-0.018916690722107887,
-0.05125988647341728,
-0.04282129928469658,
-0.03679107874631882,
0.028362937271595,
0.02189614810049534,
-0.003170877229422331,
-0.023056646808981895,
0.040537264198064804,
-0.015772003680467606,
-0.025296848267316818,
-0.042004141956567764,
-0.03627865016460419,
-0.07916142046451569,
-0.051016874611377716,
0.026328561827540398,
-0.005624797660857439,
0.043317925184965134,
-0.005363162606954575,
0.006181168369948864,
0.022929299622774124,
-0.0007226159796118736,
-0.024518636986613274,
0.021828357130289078,
0.008193624205887318,
-0.07633764296770096,
-0.01142842136323452,
0.014169970527291298,
0.017431121319532394,
0.05690392851829529,
-0.03715343028306961,
0.02228197641670704,
0.004832913633435965,
-0.01749449037015438,
-0.01891891285777092,
0.014938320964574814,
0.026424488052725792,
-0.08533724397420883,
-0.07436838001012802,
0.0041927252896130085,
-0.05092831701040268,
0.03673795610666275,
-0.020231839269399643,
-0.0070718685165047646,
0.04749186709523201,
0.013321240432560444,
0.04666731506586075,
0.021017717197537422,
-0.02978469431400299,
0.02529332973062992,
0.0026835952885448933,
0.01782793179154396,
-0.07692497968673706,
0.03156892582774162,
-0.03348082676529884,
0.02835007756948471,
0.006141905672848225,
-0.01778266951441765,
-0.0351308211684227,
0.023243015632033348,
-0.014777305535972118,
-0.01101609505712986,
0.019286353141069412,
0.018132371827960014,
-0.026813164353370667,
0.03029158152639866,
-0.03383345156908035,
0.0239257849752903,
-0.02012321539223194,
0.021797871217131615,
-0.04346130043268204,
-0.022317111492156982,
-0.020121943205595016,
0.0025954125449061394,
-0.0382075197994709,
-0.002696030307561159,
-0.024254582822322845,
-0.03766637668013573,
0.020290954038500786,
-0.0008692145347595215,
0.02814212441444397,
0.02338113822042942,
0.00501379044726491,
0.013666335493326187,
0.014402535744011402,
-0.0555037185549736,
-0.02016347460448742,
-0.001267020939849317,
-0.019849959760904312,
-0.00962910708039999,
0.05991841107606888,
0.0159531868994236,
-0.07024472206830978,
-0.09031344950199127,
0.046363551169633865,
0.029256461188197136,
-0.020347660407423973,
-0.005016484297811985,
0.04482585936784744,
-0.0024829464964568615,
0.026486335322260857,
-0.012421078979969025,
0.010194861330091953,
-0.029024271294474602,
-0.03246395289897919,
0.02588958851993084,
-0.010171731002628803,
0.01631326973438263,
0.023840948939323425,
-0.024157047271728516,
-0.0216115340590477,
0.0527816116809845,
0.02327762544155121,
0.022290555760264397,
-0.01161885354667902,
-0.02884737029671669,
0.00848318450152874,
0.03701528161764145,
-0.0554489865899086,
0.01766415312886238,
0.03648350387811661,
-0.013613815419375896,
0.06091059744358063,
-0.012443473562598228,
0.04009015113115311,
0.07640306651592255,
0.01614229381084442,
-0.034624598920345306,
0.04011087119579315,
-0.017692558467388153,
0.020861675962805748,
0.04696767404675484,
-0.0428447388112545,
0.014151976443827152,
-0.061555828899145126,
0.09683844447135925,
-0.08075739443302155,
0.0438164621591568,
0.038026656955480576,
0.00687963142991066,
0.022260552272200584,
-0.047753188759088516,
-0.03838927671313286,
0.01405788492411375,
-0.05078975111246109,
0.07713191211223602,
0.022192353382706642,
-0.03755097836256027,
0.06006226688623428,
0.02185552380979061,
-0.08242161571979523,
0.027186943218111992,
0.06053151562809944,
0.010066946968436241,
0.022395020350813866,
0.0020808670669794083,
-0.0594257116317749,
0.030802300199866295,
-0.03402487188577652,
0.026708925142884254,
-0.040385425090789795,
-0.010804825462400913,
0.003747406182810664,
-0.033665694296360016,
-0.002065321896225214,
0.041523780673742294,
-0.03469540551304817,
-0.0135958818718791,
0.0316358357667923,
-0.03918193653225899,
-0.04464060068130493,
-0.0016732137883082032,
0.02238720841705799,
-0.03465700522065163,
-0.00007482922956114635,
-0.05021214112639427,
0.013655208982527256,
0.026038985699415207,
0.008012429811060429,
-0.04263574257493019,
-0.011084354482591152,
0.023910263553261757,
-0.04218163341283798,
-0.05217186361551285,
0.041668735444545746,
0.014905393123626709,
-0.04131948575377464,
0.007395148742944002,
0.013876167125999928,
0.001992106670513749,
0.027175050228834152,
-0.022662648931145668,
0.027531573548913002,
-0.04629550874233246,
-0.028872743248939514,
0.007960198447108269,
-0.008174060843884945,
0.006259334273636341,
-0.00817208644002676,
0.03363407403230667,
0.029559331014752388,
0.03641578555107117,
0.0002954285591840744,
-0.06158621236681938,
-0.036831874400377274,
0.014221305958926678,
-0.058517247438430786,
0.011451303958892822,
0.019924426451325417,
-0.042582917958498,
-0.04445773363113403,
0.00907978881150484,
-0.013056393712759018,
0.030946342274546623,
-0.05239207297563553,
-0.0014882375253364444,
0.02877163328230381,
-0.00884740799665451,
-0.041639041155576706,
-0.08864498138427734,
-0.05129046365618706,
-0.05722866579890251,
0.035695530474185944,
0.011051690205931664,
-0.042144373059272766,
0.003265072125941515,
-0.02262355387210846,
-0.05047619342803955,
0.014071349054574966,
0.006087925285100937,
-0.05270685255527496,
0.053362175822257996,
0.028103288263082504,
-0.03837413340806961,
-0.016879450529813766,
0.026709500700235367,
-0.03629377484321594,
0.02390403300523758,
0.0010478752665221691,
0.029149705544114113,
-0.0059515368193387985,
0.02596418187022209,
-0.01221939641982317,
-0.025753892958164215,
-0.06608760356903076,
-0.057247135788202286,
-0.024661237373948097,
0.0075025977566838264,
0.08457627892494202
] |
BigSalmon/ParaphraseParentheses | [
"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
}
}
} | 10 | null | ---
language: multilingual
license: mit
widget:
- text: "and I cannot conceive the reafon why [MASK] hath"
- text: "TΓ€kΓ€lΓ€inen sanomalehdistΓΆ [MASK] erit - tΓ€in"
- text: "Det vore [MASK] hΓ€ller nΓΆdvΓ€ndigt att be"
- text: "Comme, Γ cette Γ©poque [MASK] Γ©tait celle de la"
- text: "In [MASK] an atmosphΓ€rischen Nahrungsmitteln"
---
# Historic Language Models (HLMs)
## Languages
Our Historic Language Models Zoo contains support for the following languages - incl. their training data source:
| Language | Training data | Size
| -------- | ------------- | ----
| German | [Europeana](http://www.europeana-newspapers.eu/) | 13-28GB (filtered)
| French | [Europeana](http://www.europeana-newspapers.eu/) | 11-31GB (filtered)
| English | [British Library](https://data.bl.uk/digbks/db14.html) | 24GB (year filtered)
| Finnish | [Europeana](http://www.europeana-newspapers.eu/) | 1.2GB
| Swedish | [Europeana](http://www.europeana-newspapers.eu/) | 1.1GB
## Models
At the moment, the following models are available on the model hub:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
| `dbmdz/bert-base-historic-english-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-english-cased)
| `dbmdz/bert-base-finnish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-finnish-europeana-cased)
| `dbmdz/bert-base-swedish-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-swedish-europeana-cased)
We also released smaller models for the multilingual model:
| Model identifier | Model Hub link
| ----------------------------------------------- | ---------------------------------------------------------------------------
| `dbmdz/bert-tiny-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-tiny-historic-multilingual-cased)
| `dbmdz/bert-mini-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-mini-historic-multilingual-cased)
| `dbmdz/bert-small-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-small-historic-multilingual-cased)
| `dbmdz/bert-medium-historic-multilingual-cased` | [here](https://huggingface.co/dbmdz/bert-base-historic-multilingual-cased)
**Notice**: We have released language models for Historic German and French trained on more noisier data earlier - see
[this repo](https://github.com/stefan-it/europeana-bert) for more information:
| Model identifier | Model Hub link
| --------------------------------------------- | --------------------------------------------------------------------------
| `dbmdz/bert-base-german-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-german-europeana-cased)
| `dbmdz/bert-base-french-europeana-cased` | [here](https://huggingface.co/dbmdz/bert-base-french-europeana-cased)
# Corpora Stats
## German Europeana Corpus
We provide some statistics using different thresholds of ocr confidences, in order to shrink down the corpus size
and use less-noisier data:
| OCR confidence | Size
| -------------- | ----
| **0.60** | 28GB
| 0.65 | 18GB
| 0.70 | 13GB
For the final corpus we use a OCR confidence of 0.6 (28GB). The following plot shows a tokens per year distribution:

## French Europeana Corpus
Like German, we use different ocr confidence thresholds:
| OCR confidence | Size
| -------------- | ----
| 0.60 | 31GB
| 0.65 | 27GB
| **0.70** | 27GB
| 0.75 | 23GB
| 0.80 | 11GB
For the final corpus we use a OCR confidence of 0.7 (27GB). The following plot shows a tokens per year distribution:

## British Library Corpus
Metadata is taken from [here](https://data.bl.uk/digbks/DB21.html). Stats incl. year filtering:
| Years | Size
| ----------------- | ----
| ALL | 24GB
| >= 1800 && < 1900 | 24GB
We use the year filtered variant. The following plot shows a tokens per year distribution:

## Finnish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.2GB
The following plot shows a tokens per year distribution:

## Swedish Europeana Corpus
| OCR confidence | Size
| -------------- | ----
| 0.60 | 1.1GB
The following plot shows a tokens per year distribution:

## All Corpora
The following plot shows a tokens per year distribution of the complete training corpus:

# Multilingual Vocab generation
For the first attempt, we use the first 10GB of each pretraining corpus. We upsample both Finnish and Swedish to ~10GB.
The following tables shows the exact size that is used for generating a 32k and 64k subword vocabs:
| Language | Size
| -------- | ----
| German | 10GB
| French | 10GB
| English | 10GB
| Finnish | 9.5GB
| Swedish | 9.7GB
We then calculate the subword fertility rate and portion of `[UNK]`s over the following NER corpora:
| Language | NER corpora
| -------- | ------------------
| German | CLEF-HIPE, NewsEye
| French | CLEF-HIPE, NewsEye
| English | CLEF-HIPE
| Finnish | NewsEye
| Swedish | NewsEye
Breakdown of subword fertility rate and unknown portion per language for the 32k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.43 | 0.0004
| French | 1.25 | 0.0001
| English | 1.25 | 0.0
| Finnish | 1.69 | 0.0007
| Swedish | 1.43 | 0.0
Breakdown of subword fertility rate and unknown portion per language for the 64k vocab:
| Language | Subword fertility | Unknown portion
| -------- | ------------------ | ---------------
| German | 1.31 | 0.0004
| French | 1.16 | 0.0001
| English | 1.17 | 0.0
| Finnish | 1.54 | 0.0007
| Swedish | 1.32 | 0.0
# Final pretraining corpora
We upsample Swedish and Finnish to ~27GB. The final stats for all pretraining corpora can be seen here:
| Language | Size
| -------- | ----
| German | 28GB
| French | 27GB
| English | 24GB
| Finnish | 27GB
| Swedish | 27GB
Total size is 130GB.
# Smaller multilingual models
Inspired by the ["Well-Read Students Learn Better: On the Importance of Pre-training Compact Models"](https://arxiv.org/abs/1908.08962)
paper, we train smaller models (different layers and hidden sizes), and report number of parameters and pre-training costs:
| Model (Layer / Hidden size) | Parameters | Pre-Training time
| --------------------------- | ----------: | ----------------------:
| hmBERT Tiny ( 2/128) | 4.58M | 4.3 sec / 1,000 steps
| hmBERT Mini ( 4/256) | 11.55M | 10.5 sec / 1,000 steps
| hmBERT Small ( 4/512) | 29.52M | 20.7 sec / 1,000 steps
| hmBERT Medium ( 8/512) | 42.13M | 35.0 sec / 1,000 steps
| hmBERT Base (12/768) | 110.62M | 80.0 sec / 1,000 steps
We then perform downstream evaluations on the multilingual [NewsEye](https://zenodo.org/record/4573313#.Ya3oVr-ZNzU) dataset:

# Pretraining
## Multilingual model - hmBERT Base
We train a multilingual BERT model using the 32k vocab with the official BERT implementation
on a v3-32 TPU using the following parameters:
```bash
python3 run_pretraining.py --input_file gs://histolectra/historic-multilingual-tfrecords/*.tfrecord \
--output_dir gs://histolectra/bert-base-historic-multilingual-cased \
--bert_config_file ./config.json \
--max_seq_length=512 \
--max_predictions_per_seq=75 \
--do_train=True \
--train_batch_size=128 \
--num_train_steps=3000000 \
--learning_rate=1e-4 \
--save_checkpoints_steps=100000 \
--keep_checkpoint_max=20 \
--use_tpu=True \
--tpu_name=electra-2 \
--num_tpu_cores=32
```
The following plot shows the pretraining loss curve:

## Smaller multilingual models
We use the same parameters as used for training the base model.
### hmBERT Tiny
The following plot shows the pretraining loss curve for the tiny model:

### hmBERT Mini
The following plot shows the pretraining loss curve for the mini model:

### hmBERT Small
The following plot shows the pretraining loss curve for the small model:

### hmBERT Medium
The following plot shows the pretraining loss curve for the medium model:

## English model
The English BERT model - with texts from British Library corpus - was trained with the Hugging Face
JAX/FLAX implementation for 10 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-historic-english-cased/ \
--tokenizer_name /mnt/datasets/bert-base-historic-english-cased/ \
--train_file /mnt/datasets/bl-corpus/bl_1800-1900_extracted.txt \
--validation_file /mnt/datasets/bl-corpus/english_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 10 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-historic-english-cased-512-noadafactor-10e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Finnish model
The BERT model - with texts from Finnish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 1M steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-finnish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Finnish_0.6.txt \
--validation_file /mnt/datasets/hlms/finnish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-finnish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

## Swedish model
The BERT model - with texts from Swedish part of Europeana - was trained with the Hugging Face
JAX/FLAX implementation for 40 epochs (approx. 660K steps) on a v3-8 TPU, using the following command:
```bash
python3 run_mlm_flax.py --model_type bert \
--config_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--tokenizer_name /mnt/datasets/bert-base-swedish-europeana-cased/ \
--train_file /mnt/datasets/hlms/extracted_content_Swedish_0.6.txt \
--validation_file /mnt/datasets/hlms/swedish_validation.txt \
--max_seq_length 512 \
--per_device_train_batch_size 16 \
--learning_rate 1e-4 \
--num_train_epochs 40 \
--preprocessing_num_workers 96 \
--output_dir /mnt/datasets/bert-base-swedish-europeana-cased-512-dupe1-noadafactor-40e \
--save_steps 2500 \
--eval_steps 2500 \
--warmup_steps 10000 \
--line_by_line \
--pad_to_max_length
```
The following plot shows the pretraining loss curve:

# Acknowledgments
Research supported with Cloud TPUs from Google's TPU Research Cloud (TRC) program, previously known as
TensorFlow Research Cloud (TFRC). Many thanks for providing access to the TRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.03421342372894287,
-0.028913620859384537,
-0.01412870828062296,
0.05817055702209473,
0.05841981619596481,
0.015284408815205097,
-0.01826760545372963,
-0.014453054405748844,
-0.052320729941129684,
0.05071531608700752,
0.016058601438999176,
-0.01567273959517479,
0.012979576364159584,
0.04542768746614456,
-0.015074807219207287,
-0.012649158015847206,
-0.002746889367699623,
-0.015995455905795097,
-0.05375708267092705,
-0.004177524242550135,
-0.016934996470808983,
0.009299502708017826,
-0.014135300181806087,
0.029838595539331436,
0.016178196296095848,
0.018015973269939423,
0.005893012508749962,
0.0664450004696846,
0.00985229853540659,
-0.06683137267827988,
-0.030904976651072502,
-0.04708820953965187,
-0.03844915330410004,
-0.039164550602436066,
-0.011851873248815536,
-0.014843104407191277,
0.01656223274767399,
0.014284871518611908,
0.040040455758571625,
0.058462828397750854,
-0.021258650347590446,
-0.010058066807687283,
-0.02962615340948105,
-0.013468711636960506,
0.05092297121882439,
0.025558114051818848,
-0.05798507109284401,
-0.020422017201781273,
0.06431347131729126,
-0.02896476723253727,
-0.042918264865875244,
-0.05779149755835533,
-0.00565268425270915,
0.023297809064388275,
-0.014924963004887104,
-0.014095363207161427,
-0.07777092605829239,
0.04811231046915054,
0.048083532601594925,
-0.03695552051067352,
-0.044323764741420746,
-0.0018571214750409126,
-0.08464150875806808,
0.021998858079314232,
0.041830435395240784,
-0.05069907382130623,
0.009110250510275364,
-0.038424473255872726,
0.036011699587106705,
-0.011269339360296726,
0.04167556390166283,
-0.06289160996675491,
0.021299516782164574,
-0.05498716980218887,
-0.021842725574970245,
-0.008577314205467701,
0.031174197793006897,
0.06087396293878555,
-0.050888411700725555,
0.07130631804466248,
0.037109535187482834,
-0.022444704547524452,
0.03445534408092499,
-0.019162848591804504,
-0.006684767082333565,
0.029872417449951172,
-0.04151362180709839,
0.0058830175548791885,
0.016899991780519485,
0.06399187445640564,
-0.05963578820228577,
-0.027435317635536194,
-0.004920093808323145,
-0.01864062435925007,
0.004985104314982891,
0.018596041947603226,
0.014395671896636486,
-0.022435402497649193,
0.03173177316784859,
0.020405910909175873,
0.023409217596054077,
0.05494055524468422,
0.003713862271979451,
0.07111925631761551,
-0.02324380911886692,
-0.008116393350064754,
-0.026342187076807022,
-0.044964857399463654,
-0.062009021639823914,
0.012667468748986721,
0.026395920664072037,
-0.05651728808879852,
-0.031553003937006,
0.03574710339307785,
0.0382939949631691,
-0.02567075937986374,
0.0565677136182785,
-0.01884104311466217,
-0.05458635091781616,
-0.056120045483112335,
0.018679603934288025,
-0.019678743556141853,
-0.021462522447109222,
0.011671749874949455,
-0.04457336664199829,
0.029454616829752922,
-0.04813734441995621,
-0.015943434089422226,
0.019802819937467575,
0.01435583271086216,
-0.02891867607831955,
0.03603702411055565,
0.025821996852755547,
-0.06293746083974838,
0.00708263972774148,
-0.015093228779733181,
-0.05270802602171898,
0.02149263583123684,
0.01849588192999363,
0.13694201409816742,
-0.03100019507110119,
-0.050851721316576004,
-0.013394574634730816,
-0.006564436014741659,
-0.0543404258787632,
0.026416994631290436,
0.005272857844829559,
-0.00017486984143033624,
0.004004229791462421,
0.00517011433839798,
0.051401909440755844,
-0.06341206282377243,
-0.008320044726133347,
0.05402262881398201,
-0.005760447587817907,
0.021824343129992485,
-0.06276603788137436,
-0.01867409236729145,
-0.010519781149923801,
-0.016878116875886917,
-0.012880222871899605,
0.024149619042873383,
0.0108394306153059,
-0.020227456465363503,
-0.04294707626104355,
-0.043778833001852036,
-0.015189999714493752,
0.06756135821342468,
0.000303224369417876,
-0.0022073646541684866,
-0.04038669914007187,
-0.0007936409674584866,
0.019122427329421043,
0.005284714046865702,
-0.048754725605249405,
0.041407521814107895,
0.0428328663110733,
0.035054054111242294,
-0.03144608810544014,
0.06615325063467026,
0.0053465114906430244,
-0.019537314772605896,
-0.020632266998291016,
0.03638936206698418,
-0.0016180251259356737,
-0.026297694072127342,
0.0488247349858284,
0.03688279539346695,
0.013794438913464546,
-0.024198800325393677,
-0.027347717434167862,
0.04577454552054405,
0.01972806826233864,
0.0021127616055309772,
0.027866706252098083,
-0.005070493556559086,
-0.038451652973890305,
0.02180371806025505,
-0.012166534550487995,
0.003887201426550746,
-0.005722399335354567,
-0.018656546249985695,
0.03741990402340889,
0.01563534326851368,
0.04640738666057587,
0.04498214274644852,
-0.0040103415958583355,
0.10258911550045013,
-0.021586503833532333,
-0.004077487625181675,
-0.03790963813662529,
-0.0714319571852684,
-0.006646716967225075,
0.052294325083494186,
0.030678797513246536,
0.03383875638246536,
-0.034381695091724396,
-0.029396988451480865,
0.03360925614833832,
0.08835933357477188,
0.04188676178455353,
-0.0009333919733762741,
-0.03189380466938019,
-0.008326584473252296,
0.030121661722660065,
0.04137522727251053,
-0.05907425284385681,
-0.05967821925878525,
-0.003556813346222043,
0.03713451325893402,
-0.04813223332166672,
0.01148994080722332,
-0.00909196026623249,
0.034993868321180344,
-0.03223880007863045,
-0.08431339263916016,
0.04246821254491806,
0.022951526567339897,
-0.016018807888031006,
0.03009006194770336,
-0.009101885370910168,
0.045479074120521545,
0.01975945383310318,
0.00733569310978055,
0.008487734012305737,
-0.04412338137626648,
0.0018454882083460689,
0.013706148602068424,
0.05463225021958351,
-0.04138956218957901,
0.033600520342588425,
-0.010733661241829395,
-0.004731111228466034,
0.04264827072620392,
-0.030430631712079048,
0.020078733563423157,
0.052598342299461365,
0.010018871165812016,
-0.04353506863117218,
0.03389601781964302,
0.002581727458164096,
0.024609029293060303,
0.04848400503396988,
-0.0025462910998612642,
0.05320760980248451,
0.008993486873805523,
0.038372334092855453,
0.0959300771355629,
0.025532420724630356,
0.017222443595528603,
0.0036027333699166775,
0.04051269218325615,
0.03157670423388481,
-0.012326600030064583,
0.05948949605226517,
-0.05250385403633118,
0.015243500471115112,
-0.028380868956446648,
0.03216949477791786,
-0.005217764992266893,
0.015622475184500217,
0.01040361076593399,
0.00501529686152935,
-0.03905102610588074,
0.009420357644557953,
-0.012074503116309643,
-0.00032635321258567274,
0.058202773332595825,
0.0032244070898741484,
0.005650655832141638,
-0.026105541735887527,
-0.025277767330408096,
0.013549571856856346,
-0.05789433419704437,
-0.03309805318713188,
0.016868332400918007,
-0.020611770451068878,
-0.004793614614754915,
-0.05550653859972954,
-0.009764770045876503,
-0.07263912260532379,
-0.01356117520481348,
0.029839735478162766,
0.026238588616251945,
0.00005055582005297765,
-0.017264146357774734,
0.010443667881190777,
-0.0298672653734684,
-0.039844490587711334,
-0.017499661073088646,
-0.04954936355352402,
-0.033169351518154144,
-0.07912014424800873,
0.04220758378505707,
0.03894972428679466,
0.013327863067388535,
-0.021627679467201233,
0.006967636290937662,
-0.016482995823025703,
-0.0041374764405190945,
0.04933730512857437,
0.03193815425038338,
-0.036905549466609955,
-0.0720258429646492,
0.04431542009115219,
-0.016546469181776047,
0.01771548204123974,
0.000994840287603438,
-0.0220828615128994,
0.06957314163446426,
0.0776616781949997,
-0.00007687735342187807,
0.02658156491816044,
0.023271653801202774,
-0.03185149282217026,
-0.05929914861917496,
-0.008554616011679173,
-0.039897460490465164,
-0.02003554254770279,
-0.011647412553429604,
-0.033123791217803955,
-0.00977278035134077,
-0.03499758243560791,
-0.007686042692512274,
-0.008238270878791809,
0.00576305715367198,
0.035359278321266174,
0.01628604345023632,
0.02912641502916813,
0.031066685914993286,
-0.04586099088191986,
-0.017971981316804886,
0.09008263796567917,
0.010951613076031208,
0.01890261285007,
-0.045440636575222015,
-0.02691686898469925,
0.017737844958901405,
0.040593571960926056,
-0.003870762186124921,
-0.012810024432837963,
0.08470533788204193,
0.017754143103957176,
-0.006414714735001326,
-0.013560320250689983,
-0.0019391818204894662,
-0.03149731084704399,
0.005911271087825298,
0.016877925023436546,
-0.027934560552239418,
-0.05028292536735535,
-0.031243523582816124,
0.012609842233359814,
0.023054253309965134,
-0.08772064745426178,
-0.07005549222230911,
-0.011641153134405613,
0.01542727742344141,
0.029020339250564575,
-0.0202000942081213,
-0.041757065802812576,
0.01479449775069952,
-0.0613427460193634,
-0.024119950830936432,
0.02225515991449356,
0.01904718391597271,
0.030699556693434715,
0.03713446855545044,
0.05202040448784828,
-0.031794700771570206,
0.01909446343779564,
0.013670152053236961,
0.04090160131454468,
0.021945586428046227,
-0.0652950331568718,
0.04073966294527054,
-0.009777734987437725,
0.01676812395453453,
-0.01683933287858963,
-0.022688400000333786,
-0.06271900236606598,
-0.0872119590640068,
0.01181100495159626,
0.04037480428814888,
-0.014914009720087051,
-0.0048102326691150665,
0.03417909890413284,
-0.009011865593492985,
0.01421777717769146,
-0.021234242245554924,
0.01038892101496458,
0.01326297502964735,
-0.056176990270614624,
0.051936399191617966,
-0.024876616895198822,
0.01782827638089657,
-0.05320417135953903,
0.01901787705719471,
-0.040075674653053284,
-0.019857991486787796,
0.00519963726401329,
0.048776526004076004,
0.02018764615058899,
0.037172459065914154,
0.06755945831537247,
0.03378754481673241,
-0.039849068969488144,
0.06645364314317703,
0.03406972438097,
0.011645309627056122,
-0.03330405056476593,
-0.00237956247292459,
-0.007838945835828781,
-0.02644277922809124,
-0.008024962618947029,
-0.023331381380558014,
0.016924802213907242,
0.0027183268684893847,
-0.00036813216865994036,
-0.01233249343931675,
0.002060759114101529,
-0.022481245920062065,
-0.03531777858734131,
-0.041590068489313126,
-0.020848631858825684,
0.0014698256272822618,
-0.027871035039424896,
0.02775280922651291,
0.04227583482861519,
0.005370079539716244,
0.06643493473529816,
0.014990966767072678,
-0.018267733976244926,
-0.026966573670506477,
0.022016381844878197,
0.01686043292284012,
-0.04497681185603142,
-0.05285466089844704,
-0.04751859977841377,
0.060414597392082214,
0.0561518557369709,
0.03990225866436958,
-0.072097048163414,
0.007257567718625069,
0.04897308722138405,
-0.020727192983031273,
0.04693824052810669,
-0.011687212623655796,
0.05988936498761177,
0.052898846566677094,
-0.011842283420264721,
-0.0038421417120844126,
-0.015327692963182926,
0.018380524590611458,
0.009325905703008175,
0.029393913224339485,
-0.03480901941657066,
-0.03744509443640709,
-0.04968162998557091,
0.00833950936794281,
0.013483734801411629,
0.053381528705358505,
0.02450864389538765,
-0.02944071963429451,
-0.06829149276018143,
0.010809275321662426,
0.051756422966718674,
-0.07367055863142014,
0.016902536153793335,
0.01689976640045643,
0.04296228289604187,
-0.05562048405408859,
-0.03327280655503273,
-0.010601512156426907,
-0.012608126737177372,
0.04316950589418411,
-0.0036468817852437496,
-0.03104802779853344,
-0.0661252960562706,
0.0070828222669661045,
-0.006906915456056595,
-0.017265770584344864,
-0.09565678238868713,
0.0197192020714283,
-0.027937432751059532,
-0.03932488337159157,
0.03737102448940277,
0.024751249700784683,
0.03480541706085205,
0.051221273839473724,
-0.0053090378642082214,
0.0040845079347491264,
-0.038777995854616165,
0.03832635655999184,
-0.04814037308096886,
-0.005717750638723373,
-0.0033243452198803425,
-0.05314759165048599,
-0.014025998301804066,
-0.018916690722107887,
-0.05125988647341728,
-0.04282129928469658,
-0.03679107874631882,
0.028362937271595,
0.02189614810049534,
-0.003170877229422331,
-0.023056646808981895,
0.040537264198064804,
-0.015772003680467606,
-0.025296848267316818,
-0.042004141956567764,
-0.03627865016460419,
-0.07916142046451569,
-0.051016874611377716,
0.026328561827540398,
-0.005624797660857439,
0.043317925184965134,
-0.005363162606954575,
0.006181168369948864,
0.022929299622774124,
-0.0007226159796118736,
-0.024518636986613274,
0.021828357130289078,
0.008193624205887318,
-0.07633764296770096,
-0.01142842136323452,
0.014169970527291298,
0.017431121319532394,
0.05690392851829529,
-0.03715343028306961,
0.02228197641670704,
0.004832913633435965,
-0.01749449037015438,
-0.01891891285777092,
0.014938320964574814,
0.026424488052725792,
-0.08533724397420883,
-0.07436838001012802,
0.0041927252896130085,
-0.05092831701040268,
0.03673795610666275,
-0.020231839269399643,
-0.0070718685165047646,
0.04749186709523201,
0.013321240432560444,
0.04666731506586075,
0.021017717197537422,
-0.02978469431400299,
0.02529332973062992,
0.0026835952885448933,
0.01782793179154396,
-0.07692497968673706,
0.03156892582774162,
-0.03348082676529884,
0.02835007756948471,
0.006141905672848225,
-0.01778266951441765,
-0.0351308211684227,
0.023243015632033348,
-0.014777305535972118,
-0.01101609505712986,
0.019286353141069412,
0.018132371827960014,
-0.026813164353370667,
0.03029158152639866,
-0.03383345156908035,
0.0239257849752903,
-0.02012321539223194,
0.021797871217131615,
-0.04346130043268204,
-0.022317111492156982,
-0.020121943205595016,
0.0025954125449061394,
-0.0382075197994709,
-0.002696030307561159,
-0.024254582822322845,
-0.03766637668013573,
0.020290954038500786,
-0.0008692145347595215,
0.02814212441444397,
0.02338113822042942,
0.00501379044726491,
0.013666335493326187,
0.014402535744011402,
-0.0555037185549736,
-0.02016347460448742,
-0.001267020939849317,
-0.019849959760904312,
-0.00962910708039999,
0.05991841107606888,
0.0159531868994236,
-0.07024472206830978,
-0.09031344950199127,
0.046363551169633865,
0.029256461188197136,
-0.020347660407423973,
-0.005016484297811985,
0.04482585936784744,
-0.0024829464964568615,
0.026486335322260857,
-0.012421078979969025,
0.010194861330091953,
-0.029024271294474602,
-0.03246395289897919,
0.02588958851993084,
-0.010171731002628803,
0.01631326973438263,
0.023840948939323425,
-0.024157047271728516,
-0.0216115340590477,
0.0527816116809845,
0.02327762544155121,
0.022290555760264397,
-0.01161885354667902,
-0.02884737029671669,
0.00848318450152874,
0.03701528161764145,
-0.0554489865899086,
0.01766415312886238,
0.03648350387811661,
-0.013613815419375896,
0.06091059744358063,
-0.012443473562598228,
0.04009015113115311,
0.07640306651592255,
0.01614229381084442,
-0.034624598920345306,
0.04011087119579315,
-0.017692558467388153,
0.020861675962805748,
0.04696767404675484,
-0.0428447388112545,
0.014151976443827152,
-0.061555828899145126,
0.09683844447135925,
-0.08075739443302155,
0.0438164621591568,
0.038026656955480576,
0.00687963142991066,
0.022260552272200584,
-0.047753188759088516,
-0.03838927671313286,
0.01405788492411375,
-0.05078975111246109,
0.07713191211223602,
0.022192353382706642,
-0.03755097836256027,
0.06006226688623428,
0.02185552380979061,
-0.08242161571979523,
0.027186943218111992,
0.06053151562809944,
0.010066946968436241,
0.022395020350813866,
0.0020808670669794083,
-0.0594257116317749,
0.030802300199866295,
-0.03402487188577652,
0.026708925142884254,
-0.040385425090789795,
-0.010804825462400913,
0.003747406182810664,
-0.033665694296360016,
-0.002065321896225214,
0.041523780673742294,
-0.03469540551304817,
-0.0135958818718791,
0.0316358357667923,
-0.03918193653225899,
-0.04464060068130493,
-0.0016732137883082032,
0.02238720841705799,
-0.03465700522065163,
-0.00007482922956114635,
-0.05021214112639427,
0.013655208982527256,
0.026038985699415207,
0.008012429811060429,
-0.04263574257493019,
-0.011084354482591152,
0.023910263553261757,
-0.04218163341283798,
-0.05217186361551285,
0.041668735444545746,
0.014905393123626709,
-0.04131948575377464,
0.007395148742944002,
0.013876167125999928,
0.001992106670513749,
0.027175050228834152,
-0.022662648931145668,
0.027531573548913002,
-0.04629550874233246,
-0.028872743248939514,
0.007960198447108269,
-0.008174060843884945,
0.006259334273636341,
-0.00817208644002676,
0.03363407403230667,
0.029559331014752388,
0.03641578555107117,
0.0002954285591840744,
-0.06158621236681938,
-0.036831874400377274,
0.014221305958926678,
-0.058517247438430786,
0.011451303958892822,
0.019924426451325417,
-0.042582917958498,
-0.04445773363113403,
0.00907978881150484,
-0.013056393712759018,
0.030946342274546623,
-0.05239207297563553,
-0.0014882375253364444,
0.02877163328230381,
-0.00884740799665451,
-0.041639041155576706,
-0.08864498138427734,
-0.05129046365618706,
-0.05722866579890251,
0.035695530474185944,
0.011051690205931664,
-0.042144373059272766,
0.003265072125941515,
-0.02262355387210846,
-0.05047619342803955,
0.014071349054574966,
0.006087925285100937,
-0.05270685255527496,
0.053362175822257996,
0.028103288263082504,
-0.03837413340806961,
-0.016879450529813766,
0.026709500700235367,
-0.03629377484321594,
0.02390403300523758,
0.0010478752665221691,
0.029149705544114113,
-0.0059515368193387985,
0.02596418187022209,
-0.01221939641982317,
-0.025753892958164215,
-0.06608760356903076,
-0.057247135788202286,
-0.024661237373948097,
0.0075025977566838264,
0.08457627892494202
] |
BigSalmon/ParaphraseParentheses2.0 | [
"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
}
}
} | 13 | null | ---
language: de
license: mit
tags:
- "historic german"
---
# π€ + π dbmdz ConvBERT model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources a German Europeana ConvBERT model π
# German Europeana ConvBERT
We use the open source [Europeana newspapers](http://www.europeana-newspapers.eu/)
that were provided by *The European Library*. The final
training corpus has a size of 51GB and consists of 8,035,986,369 tokens.
Detailed information about the data and pretraining steps can be found in
[this repository](https://github.com/stefan-it/europeana-bert).
## Results
For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert).
## Usage
With Transformers >= 4.3 our German Europeana ConvBERT model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/convbert-base-german-europeana-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
# Huggingface model hub
All other German Europeana models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our Europeana BERT, ELECTRA and ConvBERT models just open a new discussion
[here](https://github.com/stefan-it/europeana-bert/discussions) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€ | [
-0.015973888337612152,
-0.016966279596090317,
-0.011697173118591309,
0.06375018507242203,
0.003094694809988141,
0.02478286810219288,
-0.025795986875891685,
-0.019543400034308434,
-0.057608094066381454,
0.05341025069355965,
0.025706175714731216,
-0.017554668709635735,
0.0022231037728488445,
0.046116478741168976,
-0.022748542949557304,
-0.006740074139088392,
-0.00400561885908246,
0.0043371934443712234,
-0.05546168237924576,
-0.015920065343379974,
-0.01623295620083809,
0.02537504769861698,
-0.017047610133886337,
0.02639012038707733,
0.012093575671315193,
0.02339748851954937,
0.002857483457773924,
0.04868244379758835,
0.02084171213209629,
-0.07686814665794373,
0.008727069944143295,
-0.041612837463617325,
-0.03416318818926811,
-0.015287555754184723,
-0.02269713766872883,
-0.0020548352040350437,
0.016756754368543625,
-0.0008175611728802323,
0.03480289503931999,
0.039996806532144547,
-0.00724261999130249,
0.0027984080370515585,
-0.010803090408444405,
-0.026096809655427933,
0.05817823484539986,
0.025018367916345596,
-0.06401893496513367,
-0.05019248649477959,
0.0406842976808548,
-0.04311905801296234,
-0.03766106814146042,
-0.08003725856542587,
-0.01873091422021389,
0.01940860226750374,
-0.024321766570210457,
-0.03499171882867813,
-0.06460019201040268,
0.009331944398581982,
0.06475881487131119,
-0.035885490477085114,
-0.037917617708444595,
0.014522318728268147,
-0.06763922423124313,
0.020524926483631134,
0.05295630544424057,
-0.03624970093369484,
0.0055178566835820675,
-0.012207957915961742,
0.007173381745815277,
-0.02342141605913639,
0.03832053765654564,
-0.04016909375786781,
0.009771737270057201,
-0.07371504604816437,
-0.005974789150059223,
-0.021401621401309967,
0.03845389932394028,
0.05405200645327568,
-0.028806090354919434,
0.04964767396450043,
0.023527029901742935,
0.0005095747183077037,
0.04615352675318718,
-0.027520667761564255,
-0.005917744245380163,
0.042250145226716995,
-0.04057978093624115,
0.007500582840293646,
0.019547246396541595,
0.0530688539147377,
-0.049277495592832565,
-0.014180832542479038,
-0.01187125314027071,
-0.020161006599664688,
0.002019429113715887,
0.041363202035427094,
0.025520429015159607,
-0.004484529606997967,
0.02529723197221756,
0.027561727911233902,
0.019307639449834824,
0.05497456714510918,
-0.012044412083923817,
0.05465226620435715,
-0.012123771011829376,
-0.030378488823771477,
-0.025729989632964134,
-0.03453101962804794,
-0.06440543383359909,
0.015906307846307755,
0.019286848604679108,
-0.03666708990931511,
-0.04006526991724968,
0.04481770470738411,
0.018726537004113197,
-0.021388409659266472,
0.05854632705450058,
-0.014479881152510643,
-0.03487006574869156,
-0.052660662680864334,
0.027126872912049294,
-0.00040817505214363337,
-0.002433894667774439,
-0.0051126983016729355,
-0.06427969038486481,
0.02162058837711811,
-0.04272284731268883,
-0.016445055603981018,
0.009884660132229328,
0.003915977664291859,
-0.016230527311563492,
0.03830169513821602,
0.028948858380317688,
-0.06033731997013092,
0.015521909110248089,
0.02209080010652542,
-0.047703053802251816,
0.06111766770482063,
0.02371116727590561,
0.13131171464920044,
-0.050543688237667084,
-0.017132339999079704,
0.011452242732048035,
0.02003740891814232,
-0.03768862411379814,
0.012753669172525406,
0.03859816864132881,
-0.02098865434527397,
-0.007363959215581417,
-0.003265029052272439,
0.04217357560992241,
-0.060511793941259384,
-0.011177508160471916,
0.05799049884080887,
-0.003985381685197353,
0.022587090730667114,
-0.0408947691321373,
-0.02579471655189991,
-0.03585989028215408,
-0.0015574718127027154,
-0.022850872948765755,
0.01742522045969963,
-0.021319814026355743,
-0.01300029642879963,
-0.028517700731754303,
-0.05003298819065094,
0.0011008165311068296,
0.10703945904970169,
-0.005204188637435436,
-0.02937660738825798,
-0.05108155310153961,
0.0071933940052986145,
0.05841359868645668,
0.040398504585027695,
-0.025530725717544556,
0.033069659024477005,
0.04499754309654236,
0.04683201014995575,
-0.01982545480132103,
0.05819278955459595,
0.0014909955207258463,
-0.010211878456175327,
-0.04120283201336861,
0.02363847941160202,
-0.014735282398760319,
-0.03761976212263107,
0.02639731951057911,
0.056192632764577866,
-0.011218538507819176,
-0.020993074402213097,
-0.02277746982872486,
0.04572271183133125,
-0.013468103483319283,
0.008153173141181469,
0.015766726806759834,
-0.022364582866430283,
-0.028545552864670753,
0.050218190997838974,
-0.012566335499286652,
0.013374543748795986,
-0.014229954220354557,
-0.03393891826272011,
0.015193654224276543,
0.026869814842939377,
0.038916755467653275,
0.03592123091220856,
-0.008268558420240879,
0.08135832101106644,
-0.051131583750247955,
0.011061349883675575,
-0.03719078749418259,
-0.06147799640893936,
-0.010859957896173,
0.035000547766685486,
0.04177814722061157,
0.031016673892736435,
-0.020438391715288162,
-0.050145454704761505,
0.025376051664352417,
0.06999624520540237,
0.03901619091629982,
0.022641120478510857,
-0.023948533460497856,
-0.017121447250247,
0.0278665442019701,
0.05626458674669266,
-0.05349581316113472,
-0.04270069673657417,
-0.005905142519623041,
0.043312881141901016,
-0.024715380743145943,
0.006635069381445646,
-0.03714102506637573,
0.013483509421348572,
-0.04020344093441963,
-0.06697219610214233,
0.05864916741847992,
0.03480883687734604,
-0.03161073848605156,
0.03639134764671326,
-0.023475591093301773,
0.006516065448522568,
-0.00840403139591217,
0.011603780090808868,
0.008373098447918892,
-0.04637550190091133,
0.006643096916377544,
0.037119295448064804,
0.05102430656552315,
-0.056081075221300125,
0.03325887769460678,
-0.009852686896920204,
0.007899238727986813,
0.01953391544520855,
-0.04518776759505272,
0.02892351523041725,
0.04950034245848656,
0.03798042610287666,
-0.05659501254558563,
0.041730400174856186,
-0.00569519167765975,
0.03738565742969513,
0.0438106432557106,
0.0030218621250241995,
0.04524173587560654,
0.019737858325242996,
0.023156635463237762,
0.07789162546396255,
0.031160835176706314,
0.024938233196735382,
0.02122068777680397,
0.05737785995006561,
0.011960692703723907,
-0.009627711959183216,
0.07053803652524948,
-0.03640345111489296,
0.006572677753865719,
-0.04075861722230911,
0.00819223839789629,
0.020087916404008865,
0.00805328693240881,
0.03221869096159935,
-0.014434386976063251,
-0.003747166832908988,
-0.004573611542582512,
0.010389684699475765,
0.0015950478846207261,
0.06584163010120392,
0.005339425057172775,
0.014578408561646938,
-0.021127235144376755,
-0.03719879314303398,
-0.010508589446544647,
-0.05731261894106865,
-0.051306258887052536,
0.015350482426583767,
-0.05135069787502289,
-0.005373314488679171,
-0.08664316684007645,
-0.028135383501648903,
-0.07642100751399994,
-0.000035761160688707605,
0.033134106546640396,
0.02104230970144272,
-0.009767480194568634,
-0.035145241767168045,
0.016052747145295143,
-0.017665205523371696,
-0.06536003202199936,
-0.058938656002283096,
-0.04257521405816078,
-0.0377856008708477,
-0.06651661545038223,
0.048432592302560806,
0.035127170383930206,
0.03645710274577141,
-0.0231331717222929,
0.009634893387556076,
-0.03559792786836624,
-0.03221742436289787,
0.051108188927173615,
0.039859890937805176,
-0.043761882930994034,
-0.03670542314648628,
0.009865270927548409,
-0.0018000630661845207,
0.019811885431408882,
0.016628123819828033,
-0.03210984542965889,
0.08595799654722214,
0.06623860448598862,
0.006436556577682495,
0.025183623656630516,
0.023126646876335144,
-0.02919875457882881,
-0.05298064649105072,
-0.036255817860364914,
-0.03427443653345108,
0.01913706585764885,
-0.03933815658092499,
-0.0552016943693161,
-0.017659254372119904,
-0.027892664074897766,
0.0051421201787889,
-0.010139953345060349,
0.0032552939373999834,
-0.0028351217042654753,
0.029744401574134827,
0.03740549832582474,
0.026646267622709274,
-0.018883725628256798,
-0.0161005649715662,
0.07139292359352112,
0.021917464211583138,
0.007336185313761234,
-0.06347444653511047,
-0.015366103500127792,
0.03846331313252449,
0.0625268965959549,
0.006489110644906759,
-0.012332056649029255,
0.07912389934062958,
0.02719154767692089,
-0.008465992286801338,
-0.02448595128953457,
0.0006925650523044169,
-0.055564798414707184,
-0.01366597879678011,
0.00819105189293623,
-0.008633216843008995,
-0.057659171521663666,
-0.03183624893426895,
0.020441019907593727,
0.034199874848127365,
-0.08325237035751343,
-0.034759365022182465,
-0.019358674064278603,
0.016616113483905792,
0.04426970332860947,
-0.000001703179123069276,
-0.06412201374769211,
-0.0006819534464739263,
-0.04042467102408409,
-0.04906998574733734,
0.015381393022835255,
0.014827472157776356,
0.04060328006744385,
0.0357557013630867,
0.037609368562698364,
-0.019685931503772736,
0.04153814911842346,
0.019477397203445435,
0.0638340562582016,
0.018288306891918182,
-0.04734637215733528,
0.02927270717918873,
-0.04175645485520363,
0.0031513217836618423,
0.01642921008169651,
-0.02192108705639839,
-0.06331441551446915,
-0.09380274266004562,
-0.008567466400563717,
0.025538325309753418,
0.016440650448203087,
-0.001654419582337141,
0.04150945693254471,
-0.007402521558105946,
-0.019807975739240646,
-0.0112143624573946,
0.005305514670908451,
0.02721748687326908,
-0.0557081401348114,
0.07055668532848358,
0.00794184673577547,
0.01727903075516224,
-0.07620406150817871,
0.016799455508589745,
-0.040788792073726654,
-0.041086941957473755,
-0.008173865266144276,
0.04012979194521904,
0.044814448803663254,
0.02205095998942852,
0.06569256633520126,
0.016559181734919548,
-0.03980342671275139,
0.05072338879108429,
0.030756346881389618,
0.005519646219909191,
-0.027654161676764488,
-0.038728006184101105,
-0.029503637924790382,
-0.03577161207795143,
-0.02342183142900467,
-0.009621814824640751,
0.020506255328655243,
0.025019926950335503,
0.022513236850500107,
-0.02625918574631214,
0.012813432142138481,
-0.0022965508978813887,
-0.007050567306578159,
-0.06836642324924469,
-0.020990822464227676,
-0.011602968908846378,
-0.019470948725938797,
0.04189162701368332,
0.037810392677783966,
-0.010077237151563168,
0.057178936898708344,
0.01818494312465191,
-0.010725121013820171,
-0.03135538846254349,
0.03575931861996651,
0.025604525581002235,
-0.04426294565200806,
-0.05962396413087845,
-0.05358055606484413,
0.04486905410885811,
0.05570755526423454,
0.014734032563865185,
-0.08303676545619965,
0.01032321248203516,
0.053459394723176956,
-0.046578336507081985,
0.052407726645469666,
-0.025881214067339897,
0.052790697664022446,
0.08035129308700562,
-0.01676810160279274,
0.01849984936416149,
-0.04819857329130173,
0.005631841253489256,
0.010037939995527267,
0.048452217131853104,
-0.045384664088487625,
-0.04462732747197151,
-0.04468446224927902,
0.029424358159303665,
0.020697670057415962,
0.04316883534193039,
0.04086622595787048,
-0.039147112518548965,
-0.04000076279044151,
0.022293774411082268,
0.047864142805337906,
-0.06109844148159027,
0.03054887242615223,
0.022876137867569923,
0.05348777770996094,
-0.051303792744874954,
-0.03592582046985626,
-0.003202781779691577,
-0.017129233106970787,
0.03508727625012398,
0.004189513623714447,
-0.02932010032236576,
-0.07091382890939713,
0.006727871485054493,
-0.023033197969198227,
-0.021304912865161896,
-0.08635745197534561,
0.02746415138244629,
-0.01103944331407547,
-0.024348335340619087,
0.04301494359970093,
0.02083669789135456,
0.029397185891866684,
0.04648414999246597,
-0.015227120369672775,
-0.01845865324139595,
-0.0495876744389534,
0.005142854526638985,
-0.049400050193071365,
-0.008412478491663933,
-0.013502541929483414,
-0.027272338047623634,
-0.011835576966404915,
-0.0390666238963604,
-0.04556376114487648,
-0.045634787529706955,
-0.007644791156053543,
0.029357071965932846,
-0.006510941777378321,
0.008271729573607445,
-0.010075879283249378,
0.03218923881649971,
-0.045594472438097,
-0.0414888896048069,
-0.03164834901690483,
-0.02397332713007927,
-0.04644356295466423,
-0.06382547318935394,
0.018781444057822227,
-0.014986425638198853,
0.024176010861992836,
0.011370476335287094,
0.004428832791745663,
0.003968105651438236,
0.0023318787571042776,
-0.029458360746502876,
0.00010777357965707779,
0.013244261965155602,
-0.04659005254507065,
-0.02098756469786167,
0.00492775347083807,
0.006103078834712505,
0.05466136336326599,
-0.04263383522629738,
0.050235506147146225,
0.0221132542937994,
-0.015480119735002518,
-0.019442228600382805,
0.023852312937378883,
0.019821248948574066,
-0.08646544069051743,
-0.045999154448509216,
-0.02054833434522152,
-0.03885940834879875,
0.03191135451197624,
-0.03255398944020271,
-0.004009110853075981,
0.030672794207930565,
0.01130298525094986,
0.03564488887786865,
0.00828423723578453,
-0.03507046401500702,
0.018320074304938316,
-0.04936142638325691,
0.030220596119761467,
-0.060771964490413666,
0.038474854081869125,
-0.024810753762722015,
0.033693548291921616,
-0.003954220097512007,
-0.017748722806572914,
-0.047683633863925934,
0.05073310062289238,
-0.018336961045861244,
-0.004755832254886627,
0.005363320931792259,
0.026422753930091858,
-0.009814076125621796,
0.023400092497467995,
-0.030996019020676613,
0.03103017248213291,
0.007359098177403212,
0.06261943280696869,
-0.04644649103283882,
-0.01728525198996067,
-0.028167152777314186,
0.028191588819026947,
-0.055963944643735886,
0.012053216807544231,
0.005583431106060743,
-0.02499241940677166,
0.003594084409996867,
0.01088391151279211,
0.030442524701356888,
0.015373308211565018,
-0.04555613547563553,
-0.0036420857068151236,
0.01752041094005108,
-0.04618065804243088,
-0.004486363846808672,
0.006727937608957291,
-0.014796722680330276,
-0.015414436347782612,
0.06555846333503723,
0.03870932385325432,
-0.06800928711891174,
-0.06266569346189499,
0.0508870854973793,
0.006840405520051718,
-0.008481339551508427,
-0.013103670440614223,
0.0270889513194561,
-0.004932953044772148,
0.02170572057366371,
-0.018261803314089775,
0.004157651215791702,
-0.01072493102401495,
-0.020208099856972694,
0.006392692681401968,
0.0010208665626123548,
0.03129635751247406,
0.010770468041300774,
-0.023867564275860786,
-0.04152853786945343,
0.053284138441085815,
-0.0003350061597302556,
0.02457158826291561,
-0.014938208274543285,
-0.026453625410795212,
0.021727101877331734,
0.01222169492393732,
-0.050151556730270386,
0.0030797964427620173,
0.026908785104751587,
-0.024983186274766922,
0.07932069897651672,
-0.01994026079773903,
0.025611640885472298,
0.05491398274898529,
0.03613882511854172,
-0.035454969853162766,
0.04825122281908989,
-0.017134347930550575,
-0.0022108186967670918,
0.05555729568004608,
-0.043593376874923706,
-0.008100255392491817,
-0.031770870089530945,
0.08161190152168274,
-0.04382134974002838,
0.06243355944752693,
0.03527843579649925,
0.018074188381433487,
0.04267940670251846,
-0.06291744858026505,
-0.012105558067560196,
0.004090411122888327,
-0.06427180767059326,
0.0636163130402565,
-0.003297249088063836,
-0.06591549515724182,
0.07186093926429749,
0.03037901036441326,
-0.06217477470636368,
0.022887853905558586,
0.0369446761906147,
0.023620393127202988,
-0.005141810979694128,
0.03834061324596405,
-0.03230993449687958,
0.01336897537112236,
-0.05732256919145584,
0.02213507518172264,
-0.05310168117284775,
-0.017143532633781433,
0.013857748359441757,
-0.02359338290989399,
-0.008462821133434772,
0.03946966305375099,
-0.019540544599294662,
-0.0228384081274271,
0.050624262541532516,
-0.060294363647699356,
-0.042811546474695206,
0.007823977619409561,
0.008631568402051926,
-0.015409797430038452,
0.02090754173696041,
-0.03736495226621628,
0.016086332499980927,
0.017821820452809334,
-0.019466955214738846,
-0.025376172736287117,
0.017360107973217964,
0.029132546856999397,
-0.05306117236614227,
-0.05083898827433586,
0.02120337262749672,
-0.004472663626074791,
-0.025799453258514404,
0.02599812112748623,
-0.002076609991490841,
0.00003791629205807112,
0.025876501575112343,
0.0067642610520124435,
0.0025457546580582857,
-0.010395378805696964,
-0.031151143833994865,
-0.0037472934927791357,
0.02170605957508087,
0.044109322130680084,
-0.00722937798127532,
0.031021825969219208,
0.03382432460784912,
0.04459141194820404,
-0.007169809658080339,
-0.05446380376815796,
-0.03354043513536453,
0.01785605028271675,
-0.035583071410655975,
-0.0005696321022696793,
-0.002514396794140339,
-0.06136424094438553,
-0.03508251532912254,
-0.017463788390159607,
-0.014490273781120777,
0.033050939440727234,
-0.05573834106326103,
0.017516450956463814,
0.04196798428893089,
0.012872632592916489,
-0.0487552210688591,
-0.07855531573295593,
-0.020223436877131462,
-0.02832476608455181,
0.007162195164710283,
0.014660808257758617,
-0.01850794441998005,
0.023260165005922318,
-0.02401997335255146,
-0.04445720091462135,
0.03947356343269348,
0.019345849752426147,
-0.05950213968753815,
0.07032493501901627,
0.02965448424220085,
-0.06826392561197281,
-0.0171026773750782,
0.004321618936955929,
-0.032430730760097504,
0.025165213271975517,
0.005958043038845062,
0.0017967292806133628,
0.01839498244225979,
0.039818961173295975,
-0.037788860499858856,
-0.01815541461110115,
-0.06634791195392609,
-0.04952694848179817,
-0.026758888736367226,
0.004235135391354561,
0.08569874614477158
] |
BigSalmon/Points | [
"pytorch",
"tensorboard",
"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
}
}
} | 13 | null | ---
language: tr
license: mit
datasets:
- allenai/c4
---
# πΉπ· Turkish ConvBERT model
<p align="center">
<img alt="Logo provided by Merve Noyan" title="Awesome logo from Merve Noyan" src="https://raw.githubusercontent.com/stefan-it/turkish-bert/master/merve_logo.png">
</p>
[](https://zenodo.org/badge/latestdoi/237817454)
We present community-driven BERT, DistilBERT, ELECTRA and ConvBERT models for Turkish π
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the BERT model name: BERTurk.
Logo is provided by [Merve Noyan](https://twitter.com/mervenoyann).
# Stats
We've trained an (cased) ConvBERT model on the recently released Turkish part of the
[multiligual C4 (mC4) corpus](https://github.com/allenai/allennlp/discussions/5265) from the AI2 team.
After filtering documents with a broken encoding, the training corpus has a size of 242GB resulting
in 31,240,963,926 tokens.
We used the original 32k vocab (instead of creating a new one).
# mC4 ConvBERT
In addition to the ELEC**TR**A base model, we also trained an ConvBERT model on the Turkish part of the mC4 corpus. We use a
sequence length of 512 over the full training time and train the model for 1M steps on a v3-32 TPU.
# Model usage
All trained models can be used from the [DBMDZ](https://github.com/dbmdz) Hugging Face [model hub page](https://huggingface.co/dbmdz)
using their model name.
Example usage with π€/Transformers:
```python
tokenizer = AutoTokenizer.from_pretrained("dbmdz/convbert-base-turkish-mc4-cased")
model = AutoModel.from_pretrained("dbmdz/convbert-base-turkish-mc4-cased")
```
# Citation
You can use the following BibTeX entry for citation:
```bibtex
@software{stefan_schweter_2020_3770924,
author = {Stefan Schweter},
title = {BERTurk - BERT models for Turkish},
month = apr,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.3770924},
url = {https://doi.org/10.5281/zenodo.3770924}
}
```
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
We would like to thank [Merve Noyan](https://twitter.com/mervenoyann) for the
awesome logo!
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ | [
-0.018534719944000244,
-0.001185897272080183,
-0.016709070652723312,
0.06469880044460297,
0.025436753407120705,
0.02400517836213112,
-0.01590762659907341,
-0.015372765250504017,
-0.03317950665950775,
0.06517907232046127,
0.00130546186119318,
-0.019857224076986313,
0.01336302887648344,
0.054713502526283264,
-0.03692790865898132,
-0.005243606399744749,
-0.016173643991351128,
-0.0031500905752182007,
-0.044510263949632645,
-0.02027912624180317,
-0.03205103054642677,
0.01114572025835514,
-0.013568240217864513,
0.024069687351584435,
0.012263753451406956,
0.02767065353691578,
-0.014394370838999748,
0.031616270542144775,
0.029295317828655243,
-0.0834813341498375,
0.03334541246294975,
-0.0337674655020237,
-0.03330450877547264,
-0.013968304730951786,
-0.02387373335659504,
-0.007105973083525896,
0.023964907974004745,
0.0025875435676425695,
0.03545081615447998,
0.04929761216044426,
-0.01431960891932249,
0.007910169661045074,
-0.0018443885492160916,
-0.03766842186450958,
0.03728586807847023,
0.007950994186103344,
-0.057615481317043304,
-0.01989029347896576,
0.024928970262408257,
-0.058470942080020905,
-0.05433899164199829,
-0.04933511093258858,
-0.03586452454328537,
0.03666064888238907,
-0.005707327742129564,
-0.04848650470376015,
-0.04960041493177414,
-0.015030075795948505,
0.06765905022621155,
-0.06046246737241745,
-0.04452309012413025,
0.014229269698262215,
-0.07492735236883163,
0.017029782757163048,
0.03880121558904648,
-0.032506801187992096,
0.015142647549510002,
-0.045634616166353226,
0.01931080035865307,
-0.02046864666044712,
0.03192605823278427,
-0.01670468971133232,
0.005478708539158106,
-0.07186421006917953,
0.004063772968947887,
-0.02193918451666832,
0.027080470696091652,
0.05880376696586609,
-0.03077423758804798,
0.047723956406116486,
0.02231641113758087,
-0.03513049706816673,
0.03981786593794823,
-0.014520405791699886,
-0.015135923400521278,
0.05344880744814873,
-0.02394924871623516,
0.014647889882326126,
-0.003764779306948185,
0.043713342398405075,
-0.0387248620390892,
-0.026852741837501526,
-0.022859182208776474,
-0.032210733741521835,
-0.008128113113343716,
0.030578386038541794,
0.02562721073627472,
0.013035304844379425,
0.027823416516184807,
0.019499925896525383,
0.016156313940882683,
0.03213674575090408,
-0.034639064222574234,
0.042998723685741425,
-0.018997136503458023,
-0.029075196012854576,
-0.02199019491672516,
-0.05006635934114456,
-0.06523454934358597,
0.03578426316380501,
0.02969180978834629,
-0.047334395349025726,
-0.046037644147872925,
0.03680751100182533,
-0.010085569694638252,
-0.04183586314320564,
0.04490311071276665,
-0.0379791297018528,
-0.013070748187601566,
-0.02177894487977028,
0.022261017933487892,
-0.00821776408702135,
-0.008272161707282066,
-0.0220451932400465,
-0.0651828721165657,
0.034335970878601074,
-0.03637257218360901,
-0.027194401249289513,
0.01659139059484005,
0.027077235281467438,
-0.008223970420658588,
0.04963775724172592,
0.02785978652536869,
-0.0697285383939743,
0.008221612311899662,
0.013126148842275143,
-0.04475242272019386,
0.04755263030529022,
0.03431905061006546,
0.10490264743566513,
-0.04626776650547981,
-0.05335559695959091,
0.0001057359913829714,
0.02657339721918106,
-0.028871089220046997,
0.00042550713988021016,
0.037085238844156265,
-0.01256260834634304,
-0.027238020673394203,
-0.007206356152892113,
0.047309428453445435,
-0.07506246864795685,
0.0014745015650987625,
0.05854695662856102,
-0.0177113376557827,
0.039763834327459335,
-0.051615823060274124,
-0.025057435035705566,
-0.0176722202450037,
0.01436588168144226,
-0.04196751490235329,
0.029590556398034096,
-0.0016303755110129714,
-0.021879145875573158,
-0.034856051206588745,
-0.04212765768170357,
0.024487927556037903,
0.08245625346899033,
-0.008263114839792252,
-0.021884212270379066,
-0.037498146295547485,
0.013102288357913494,
0.060379523783922195,
0.026537155732512474,
-0.014799325726926327,
0.028909476473927498,
0.046114712953567505,
0.042190417647361755,
-0.02197457291185856,
0.065762460231781,
0.010447220876812935,
-0.03202805668115616,
-0.006128634326159954,
-0.007878510281443596,
0.014244507998228073,
-0.030748829245567322,
0.021747732535004616,
0.05561352148652077,
0.011134354397654533,
-0.03078128769993782,
-0.018675586208701134,
0.05444001778960228,
-0.010135073214769363,
0.012358513660728931,
0.00458334619179368,
-0.024240002036094666,
-0.05085751414299011,
0.044575806707143784,
-0.026480738073587418,
-0.002406718675047159,
-0.02929208241403103,
-0.0050668115727603436,
0.012914083898067474,
0.030640093609690666,
0.047183793038129807,
0.051540929824113846,
-0.011770656332373619,
0.0778198316693306,
-0.05313386023044586,
-0.0014987256145104766,
-0.05858229845762253,
-0.0381675660610199,
-0.0002030776086030528,
0.036303091794252396,
0.06677829474210739,
0.04830053821206093,
-0.0017713438719511032,
-0.04067220538854599,
0.04173211008310318,
0.08130507171154022,
0.05632174015045166,
0.009449690580368042,
-0.016377635300159454,
-0.01560907531529665,
0.040457408875226974,
0.062191374599933624,
-0.050507526844739914,
-0.039473917335271835,
0.011633004061877728,
0.047933146357536316,
-0.002955216681584716,
0.010830797255039215,
-0.030117863789200783,
0.026465222239494324,
-0.016414977610111237,
-0.07124968618154526,
0.0649874359369278,
0.031111065298318863,
-0.011630400083959103,
0.023716449737548828,
-0.01385576743632555,
0.020711004734039307,
-0.0117034325376153,
0.0199474785476923,
-0.0021505223121494055,
-0.03302328288555145,
0.006661777850240469,
0.02047334425151348,
0.06179444491863251,
-0.046025026589632034,
0.027782293036580086,
0.008585847914218903,
0.008319169282913208,
0.028801176697015762,
-0.03990790620446205,
0.03654124215245247,
0.03665271773934364,
0.026749417185783386,
-0.03930329903960228,
0.033860232681035995,
-0.0035297663416713476,
0.0421733632683754,
0.052295807749032974,
-0.014214438386261463,
0.03073715977370739,
0.018629757687449455,
0.04331880062818527,
0.06916388124227524,
0.025848709046840668,
0.01645200327038765,
0.017419882118701935,
0.07245716452598572,
0.023435352370142937,
-0.005158846266567707,
0.08143941313028336,
-0.044855520129203796,
0.005572937894612551,
-0.06509451568126678,
0.015542764216661453,
0.01329969521611929,
-0.00838144589215517,
0.050789568573236465,
-0.0005676232976838946,
-0.0010377842700108886,
0.006440536584705114,
-0.00249962555244565,
0.006729330401867628,
0.061636436730623245,
-0.012008718214929104,
0.009157530032098293,
-0.0037072612904012203,
-0.044360268861055374,
0.0013504798989742994,
-0.055982187390327454,
-0.04042799025774002,
-0.023145871236920357,
-0.04821488633751869,
0.0018361874390393496,
-0.09066049754619598,
-0.01550804078578949,
-0.04387611895799637,
-0.006549705285578966,
0.030011987313628197,
0.007331958506256342,
0.012261019088327885,
-0.023136699572205544,
0.006491127889603376,
-0.04451266676187515,
-0.04896814376115799,
-0.048452429473400116,
-0.05954037234187126,
-0.044940073043107986,
-0.048960257321596146,
0.03022928349673748,
0.027123475447297096,
0.030832355841994286,
0.003915988374501467,
0.013915909454226494,
-0.039732109755277634,
-0.0345006063580513,
0.017758049070835114,
0.03504081815481186,
-0.025103677064180374,
-0.04377619922161102,
0.011985011398792267,
-0.014420846477150917,
-0.0007897886680439115,
0.00009292022150475532,
-0.028993891552090645,
0.08865047991275787,
0.08868678659200668,
0.016464760527014732,
0.01165830995887518,
0.016167689114809036,
-0.06356474757194519,
-0.04546213150024414,
-0.03787491098046303,
-0.0351584367454052,
0.012280240654945374,
-0.031137673184275627,
-0.049337517470121384,
-0.030963541939854622,
-0.03800630196928978,
-0.0018277461640536785,
0.0006023082532919943,
0.01627766527235508,
0.015944428741931915,
0.04815220832824707,
0.03526671975851059,
0.02866373397409916,
-0.008929012343287468,
-0.010539194568991661,
0.07772493362426758,
0.007110381964594126,
0.014193492010235786,
-0.05445009469985962,
-0.03804952651262283,
0.04948036000132561,
0.03043070062994957,
-0.015500363893806934,
-0.012384062632918358,
0.0906248688697815,
0.007964285090565681,
-0.009788764640688896,
-0.022279798984527588,
-0.021134162321686745,
-0.044732168316841125,
-0.0031410076189786196,
0.015374175272881985,
-0.004503087606281042,
-0.060690030455589294,
-0.028172049671411514,
0.004535451531410217,
0.06893134117126465,
-0.06181555613875389,
-0.04209109768271446,
-0.039033159613609314,
0.04337803274393082,
0.012865825556218624,
0.018355999141931534,
-0.042959704995155334,
0.024422166869044304,
-0.06957226991653442,
-0.03492119163274765,
-0.007197127677500248,
0.004413668066263199,
0.036465223878622055,
0.0632307231426239,
0.007404594216495752,
-0.028517121449112892,
0.060732416808605194,
0.03505851328372955,
0.07865093648433685,
0.011479442939162254,
-0.037887636572122574,
0.010131068527698517,
-0.05547616630792618,
0.004198793321847916,
0.008939878083765507,
-0.05085110291838646,
-0.06659745424985886,
-0.0749477967619896,
-0.019963515922427177,
-0.0101578738540411,
-0.017008261755108833,
-0.01399865560233593,
0.04617425426840782,
0.0008944706059992313,
-0.0008497910457663238,
0.0004840853507630527,
0.01754886284470558,
0.010886755771934986,
-0.03537913039326668,
0.06091282144188881,
-0.007652204483747482,
0.027990402653813362,
-0.05719153583049774,
0.013867365196347237,
-0.03572259470820427,
-0.030229344964027405,
-0.010272039100527763,
0.04091070592403412,
0.03875948116183281,
0.045199085026979446,
0.07966315746307373,
0.033131908625364304,
-0.04272385686635971,
0.05536508187651634,
0.03285069763660431,
-0.004473322071135044,
-0.05003490671515465,
-0.025659499689936638,
0.00039917751564644277,
-0.023724470287561417,
-0.02364758588373661,
-0.012095962651073933,
0.01077290903776884,
0.043071407824754715,
0.012120193801820278,
0.004820560105144978,
0.027596935629844666,
-0.03084767982363701,
-0.021389158442616463,
-0.07259019464254379,
-0.029875297099351883,
0.01877482235431671,
-0.01850423775613308,
0.012540317140519619,
0.03646315261721611,
0.006234457716345787,
0.07254092395305634,
0.03424011170864105,
-0.009344058111310005,
-0.06025037541985512,
0.030427586287260056,
0.03641406446695328,
-0.03133222833275795,
-0.06877055764198303,
-0.04317087680101395,
0.04246276617050171,
0.05137934535741806,
0.008900091052055359,
-0.08734550327062607,
0.01603151299059391,
0.030428538098931313,
-0.036554884165525436,
0.0627121850848198,
-0.0017602735897526145,
0.04063517600297928,
0.037951819598674774,
-0.006651205476373434,
0.014703914523124695,
-0.03529978543519974,
-0.0007097464986145496,
0.001496407319791615,
0.019635066390037537,
-0.045558854937553406,
-0.03406253829598427,
-0.03428595885634422,
0.015289113856852055,
0.031892359256744385,
0.023709041997790337,
0.03745979070663452,
-0.03040347248315811,
-0.048958901315927505,
0.028284812346100807,
0.045406524091959,
-0.06510552763938904,
0.015017247758805752,
0.018395407125353813,
0.03591190278530121,
-0.04800199717283249,
-0.044200778007507324,
-0.012524028308689594,
-0.005894697271287441,
0.03114718198776245,
0.023320412263274193,
-0.03389991819858551,
-0.06133496016263962,
0.0026990531478077173,
-0.04459710419178009,
-0.012737469747662544,
-0.08336875587701797,
0.014257555827498436,
-0.018585583195090294,
-0.01937919668853283,
0.02886991947889328,
0.02847387082874775,
0.04127120226621628,
0.04690026119351387,
-0.009771364741027355,
-0.004203565418720245,
-0.04377833008766174,
0.03234004229307175,
-0.03543735668063164,
0.006959191989153624,
-0.005036760121583939,
-0.03772170469164848,
0.0045191459357738495,
-0.04136798158288002,
-0.040862344205379486,
-0.05002504587173462,
0.002114292001351714,
0.03619308024644852,
-0.026637857779860497,
0.024053310975432396,
-0.0021359380334615707,
0.04875258356332779,
-0.03973850607872009,
-0.03278479352593422,
-0.029213842004537582,
-0.007366933859884739,
-0.05895160883665085,
-0.045832693576812744,
-0.005642787553369999,
-0.01782745122909546,
0.032839786261320114,
-0.0046267383731901646,
0.03660237416625023,
-0.019211700186133385,
-0.007453077007085085,
-0.030825894325971603,
0.00775390537455678,
-0.005476625170558691,
-0.024859143421053886,
-0.022436266764998436,
0.002372358925640583,
-0.0031776304822415113,
0.057700853794813156,
-0.02750013768672943,
0.030338464304804802,
0.026739945635199547,
-0.017180083319544792,
-0.005977655295282602,
0.014280920848250389,
0.031030606478452682,
-0.07194861024618149,
-0.0535554513335228,
-0.030370410531759262,
-0.03607608750462532,
0.033646903932094574,
-0.029412979260087013,
-0.01862427219748497,
0.04149613901972771,
0.017246581614017487,
0.04051315411925316,
-0.0035048569552600384,
-0.03934931755065918,
0.005856398493051529,
-0.006860257592052221,
0.018693292513489723,
-0.06145410239696503,
0.046696219593286514,
-0.031399019062519073,
0.00869086291640997,
-0.009989354759454727,
-0.0018330172169953585,
-0.047150496393442154,
0.024331966415047646,
-0.025075100362300873,
-0.007809311617165804,
-0.009537654928863049,
0.028860995545983315,
-0.03651953116059303,
0.02564636431634426,
-0.030764540657401085,
0.012058183550834656,
-0.019122133031487465,
0.07329141348600388,
-0.0655096247792244,
-0.007005208171904087,
-0.042775437235832214,
0.014513331465423107,
-0.04589474946260452,
-0.012641845270991325,
0.00045995714026503265,
-0.04859122633934021,
0.02320037968456745,
0.020799126476049423,
0.024996858090162277,
0.052312999963760376,
-0.030675489455461502,
0.0015416295500472188,
0.0034910065587610006,
-0.04652170091867447,
-0.023170212283730507,
-0.02152252197265625,
0.007517450954765081,
-0.02867892012000084,
0.0682389959692955,
0.04291147366166115,
-0.04623836651444435,
-0.06207400560379028,
0.03589624911546707,
0.0074805100448429585,
0.015300912782549858,
0.008670843206346035,
0.023541662842035294,
0.015948619693517685,
0.05680898576974869,
-0.02346978336572647,
0.006839006207883358,
0.004929696209728718,
-0.01514451764523983,
0.004526209086179733,
-0.0006266832933761179,
0.009142045862972736,
0.00048184298793785274,
-0.03325806185603142,
-0.05138450115919113,
0.06865666806697845,
0.02512712962925434,
0.026730597019195557,
0.010984854772686958,
-0.04385622218251228,
0.020991386845707893,
0.021060500293970108,
-0.06894496828317642,
0.002604806562885642,
-0.007645298261195421,
-0.03112802281975746,
0.070854552090168,
-0.01709078624844551,
0.03203737735748291,
0.050338294357061386,
0.0009183238726109266,
-0.03942091763019562,
0.02997465990483761,
-0.023621562868356705,
0.01005335059016943,
0.03769420459866524,
-0.05208032205700874,
0.001793875708244741,
-0.03129945695400238,
0.051745690405368805,
-0.06053198128938675,
0.05476091057062149,
0.05206380411982536,
-0.003560873446986079,
0.03386740759015083,
-0.05525489151477814,
-0.016101598739624023,
0.03532959893345833,
-0.014405841007828712,
0.07157279551029205,
0.010027758777141571,
-0.04690362140536308,
0.04365044832229614,
0.018834087997674942,
-0.07152130454778671,
0.04700013995170593,
0.043797414749860764,
0.027872364968061447,
0.00866625178605318,
0.06402638554573059,
-0.03871563449501991,
0.01680755987763405,
-0.03021218068897724,
0.02044285461306572,
-0.06343100219964981,
-0.020983535796403885,
0.02483510784804821,
-0.0451311394572258,
-0.014128699898719788,
0.03406214341521263,
-0.029408903792500496,
-0.02020128443837166,
0.029702993109822273,
-0.05596360191702843,
-0.033441293984651566,
0.004027239978313446,
0.0259512048214674,
-0.009168729186058044,
0.011696926318109035,
-0.03219382092356682,
0.030610166490077972,
0.00826977752149105,
-0.015744568780064583,
-0.026450399309396744,
0.004611107055097818,
0.01792280003428459,
-0.05775965377688408,
-0.042934026569128036,
0.04355828836560249,
0.017491089180111885,
-0.018496958538889885,
0.025516843423247337,
-0.009296733886003494,
-0.011376501061022282,
0.029921211302280426,
-0.002845743438228965,
0.008218533359467983,
-0.02947315014898777,
-0.0067839547991752625,
0.013058330863714218,
0.02336147427558899,
0.03883247822523117,
-0.0170982014387846,
0.03759733960032463,
0.06793785840272903,
0.046520035713911057,
0.003729135263711214,
-0.0391288623213768,
-0.03011874109506607,
0.043508220463991165,
-0.054100558161735535,
0.0132320336997509,
-0.012418273836374283,
-0.05167146027088165,
-0.03336377069354057,
-0.015179517678916454,
-0.013946618884801865,
0.047159723937511444,
-0.0537295863032341,
0.033946748822927475,
0.02524542063474655,
-0.020575841888785362,
-0.04530780762434006,
-0.07935970276594162,
-0.004019888583570719,
-0.048368122428655624,
0.03509778156876564,
0.021881191059947014,
-0.035111356526613235,
0.02606169693171978,
-0.03173432499170303,
-0.04166979342699051,
0.04570406302809715,
0.02933952771127224,
-0.05248921737074852,
0.06400959193706512,
0.042469386011362076,
-0.0683111846446991,
0.005076888017356396,
0.04036407917737961,
-0.049513887614011765,
0.023096280172467232,
0.01923617348074913,
0.002942832186818123,
0.01337401196360588,
0.02880443073809147,
-0.03865239769220352,
-0.02549687586724758,
-0.07599537074565887,
-0.03131901100277901,
-0.027096636593341827,
0.006516309920698404,
0.08234965056180954
] |
BigSalmon/Points2 | [
"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
}
}
} | 12 | null | ---
language: tr
license: mit
datasets:
- allenai/c4
---
# πΉπ· Turkish ConvBERT model
<p align="center">
<img alt="Logo provided by Merve Noyan" title="Awesome logo from Merve Noyan" src="https://raw.githubusercontent.com/stefan-it/turkish-bert/master/merve_logo.png">
</p>
[](https://zenodo.org/badge/latestdoi/237817454)
We present community-driven BERT, DistilBERT, ELECTRA and ConvBERT models for Turkish π
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the BERT model name: BERTurk.
Logo is provided by [Merve Noyan](https://twitter.com/mervenoyann).
# Stats
We've trained an (uncased) ConvBERT model on the recently released Turkish part of the
[multiligual C4 (mC4) corpus](https://github.com/allenai/allennlp/discussions/5265) from the AI2 team.
After filtering documents with a broken encoding, the training corpus has a size of 242GB resulting
in 31,240,963,926 tokens.
We used the original 32k vocab (instead of creating a new one).
# mC4 ConvBERT
In addition to the ELEC**TR**A base model, we also trained an ConvBERT model on the Turkish part of the mC4 corpus. We use a
sequence length of 512 over the full training time and train the model for 1M steps on a v3-32 TPU.
# Model usage
All trained models can be used from the [DBMDZ](https://github.com/dbmdz) Hugging Face [model hub page](https://huggingface.co/dbmdz)
using their model name.
Example usage with π€/Transformers:
```python
tokenizer = AutoTokenizer.from_pretrained("dbmdz/convbert-base-turkish-mc4-uncased")
model = AutoModel.from_pretrained("dbmdz/convbert-base-turkish-mc4-uncased")
```
# Citation
You can use the following BibTeX entry for citation:
```bibtex
@software{stefan_schweter_2020_3770924,
author = {Stefan Schweter},
title = {BERTurk - BERT models for Turkish},
month = apr,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.3770924},
url = {https://doi.org/10.5281/zenodo.3770924}
}
```
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
We would like to thank [Merve Noyan](https://twitter.com/mervenoyann) for the
awesome logo!
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ | [
-0.018224606290459633,
-0.0006583045469596982,
-0.016310006380081177,
0.0644158273935318,
0.025476574897766113,
0.023124752566218376,
-0.016338448971509933,
-0.014993336983025074,
-0.032856959849596024,
0.06486308574676514,
0.0009342569392174482,
-0.020122265443205833,
0.0142508614808321,
0.054117944091558456,
-0.03643132746219635,
-0.004545098636299372,
-0.016434621065855026,
-0.004032282158732414,
-0.04431401193141937,
-0.020188812166452408,
-0.03227706998586655,
0.011137268505990505,
-0.01401964295655489,
0.024728963151574135,
0.01226709596812725,
0.028391169384121895,
-0.014721119776368141,
0.03095431998372078,
0.029898930341005325,
-0.08354270458221436,
0.03320282697677612,
-0.03409472480416298,
-0.03272722661495209,
-0.013590012677013874,
-0.024655794724822044,
-0.00681246817111969,
0.024628330022096634,
0.002060300437733531,
0.035895176231861115,
0.049137864261865616,
-0.013762647286057472,
0.008415809832513332,
-0.0016376037383452058,
-0.03686479479074478,
0.037806879729032516,
0.008349588140845299,
-0.05742044374346733,
-0.02048252709209919,
0.02531278319656849,
-0.0588567778468132,
-0.053740039467811584,
-0.04875878244638443,
-0.03598613664507866,
0.03658056631684303,
-0.0058909389190375805,
-0.047871846705675125,
-0.04935567080974579,
-0.015323442406952381,
0.06826907396316528,
-0.06115144118666649,
-0.04453505948185921,
0.013336659409105778,
-0.07425568997859955,
0.017674671486020088,
0.0385202132165432,
-0.03297307342290878,
0.014303059317171574,
-0.045550789684057236,
0.01884833723306656,
-0.020919831469655037,
0.032676007598638535,
-0.01715935952961445,
0.004869496449828148,
-0.07249946147203445,
0.00378220877610147,
-0.022159626707434654,
0.027094390243291855,
0.0586421862244606,
-0.03144339099526405,
0.048080332577228546,
0.022380365058779716,
-0.03444909304380417,
0.03910866007208824,
-0.013964547775685787,
-0.015353569760918617,
0.05320218950510025,
-0.023426983505487442,
0.015246684662997723,
-0.003933874890208244,
0.0435270294547081,
-0.038681674748659134,
-0.02700592763721943,
-0.022658785805106163,
-0.032740458846092224,
-0.00887219700962305,
0.030224928632378578,
0.02574845403432846,
0.01354540791362524,
0.028148435056209564,
0.02025509998202324,
0.01597420498728752,
0.03224463015794754,
-0.03446733206510544,
0.0430460199713707,
-0.018283870071172714,
-0.028599873185157776,
-0.022545741870999336,
-0.049565110355615616,
-0.06529676169157028,
0.03539010137319565,
0.02963932976126671,
-0.04768605902791023,
-0.04646420106291771,
0.03644219785928726,
-0.010896982625126839,
-0.04268643260002136,
0.04442495480179787,
-0.038349300622940063,
-0.01251223310828209,
-0.02258835732936859,
0.02267930470407009,
-0.008693601004779339,
-0.008809134364128113,
-0.023397812619805336,
-0.06519415974617004,
0.034336864948272705,
-0.03675272315740585,
-0.026685044169425964,
0.015859441831707954,
0.026652542874217033,
-0.008077716454863548,
0.05023804306983948,
0.02766713872551918,
-0.06900832802057266,
0.008379128761589527,
0.012901265174150467,
-0.04481426253914833,
0.0475190244615078,
0.03408290073275566,
0.10499676316976547,
-0.04598669335246086,
-0.05412775278091431,
-0.000044955293560633436,
0.02643570862710476,
-0.029495570808649063,
0.0004752004169858992,
0.03774673119187355,
-0.012277528643608093,
-0.027335703372955322,
-0.007372802123427391,
0.047758184373378754,
-0.07472877949476242,
0.001120551023632288,
0.059381868690252304,
-0.017834672704339027,
0.04025638848543167,
-0.052188046276569366,
-0.02510479837656021,
-0.017411693930625916,
0.014286044053733349,
-0.04186614602804184,
0.02924642711877823,
-0.0022648382000625134,
-0.02242349460721016,
-0.03508295863866806,
-0.042709026485681534,
0.025559574365615845,
0.08235462009906769,
-0.008990501053631306,
-0.02157641388475895,
-0.03753431886434555,
0.01358015276491642,
0.06016823649406433,
0.026701167225837708,
-0.014121897518634796,
0.0289443451911211,
0.04679659381508827,
0.04250413924455643,
-0.021800966933369637,
0.06564576178789139,
0.01103825494647026,
-0.032157424837350845,
-0.006984812207520008,
-0.007851475849747658,
0.014006420038640499,
-0.0306738018989563,
0.02252369374036789,
0.05481116846203804,
0.01155428122729063,
-0.030439600348472595,
-0.018531985580921173,
0.054932765662670135,
-0.010713363997638226,
0.012087613344192505,
0.003904944285750389,
-0.025310663506388664,
-0.05045061931014061,
0.045267436653375626,
-0.026197105646133423,
-0.0030028391629457474,
-0.029357433319091797,
-0.005602474790066481,
0.013641507364809513,
0.03061814047396183,
0.047158319503068924,
0.05026165768504143,
-0.012303241528570652,
0.07796714454889297,
-0.052700236439704895,
-0.0009980991017073393,
-0.05894209444522858,
-0.03734012693166733,
0.00014393829042091966,
0.03615700080990791,
0.06708012521266937,
0.04821887984871864,
-0.0022642386611551046,
-0.04049651697278023,
0.0413910411298275,
0.080621637403965,
0.05608979985117912,
0.009493022225797176,
-0.01629740186035633,
-0.01480740588158369,
0.04042188078165054,
0.0622805655002594,
-0.05009174719452858,
-0.03952108323574066,
0.011507242918014526,
0.04783331975340843,
-0.00310892122797668,
0.011409183032810688,
-0.029935607686638832,
0.026221144944429398,
-0.01676630787551403,
-0.07151144742965698,
0.0654522255063057,
0.03142993524670601,
-0.011642711237072945,
0.024357110261917114,
-0.01468127965927124,
0.021896416321396828,
-0.01182305533438921,
0.01944909803569317,
-0.0009907438652589917,
-0.03299965709447861,
0.0067193591967225075,
0.02039443887770176,
0.06268428266048431,
-0.046414513140916824,
0.027675341814756393,
0.008352039381861687,
0.008965542539954185,
0.02879452519118786,
-0.03988143056631088,
0.036459509283304214,
0.03713446483016014,
0.026628080755472183,
-0.03963252156972885,
0.03353438898921013,
-0.0029629473574459553,
0.04193727672100067,
0.05251199007034302,
-0.014714548364281654,
0.030374830588698387,
0.019121522083878517,
0.04316934943199158,
0.06883130967617035,
0.025380883365869522,
0.016213251277804375,
0.016911683604121208,
0.07214266806840897,
0.02336951345205307,
-0.005048147868365049,
0.08175697177648544,
-0.04412350803613663,
0.005432851146906614,
-0.06511338800191879,
0.015392745845019817,
0.013514175079762936,
-0.008562871254980564,
0.050396647304296494,
0.00010009671677835286,
-0.0008874565828591585,
0.006282120011746883,
-0.0022377429995685816,
0.0067332107573747635,
0.06229335814714432,
-0.01217655185610056,
0.00869440846145153,
-0.0046166107058525085,
-0.043964505195617676,
0.0016311861108988523,
-0.05529922991991043,
-0.04123112931847572,
-0.022835655137896538,
-0.04825181886553764,
0.001237580319866538,
-0.08982456475496292,
-0.015501136891543865,
-0.043464213609695435,
-0.006424266379326582,
0.030414942651987076,
0.0066609871573746204,
0.011601493693888187,
-0.02339114621281624,
0.005560860503464937,
-0.044541534036397934,
-0.049197226762771606,
-0.04813384637236595,
-0.05975543335080147,
-0.044615209102630615,
-0.04854097217321396,
0.030156277120113373,
0.026458371430635452,
0.030523965135216713,
0.004100439138710499,
0.013623884879052639,
-0.03981051221489906,
-0.034054193645715714,
0.018021920695900917,
0.03495190665125847,
-0.02492566779255867,
-0.04473887383937836,
0.011493238620460033,
-0.01446515042334795,
-0.0015915106050670147,
0.00028107233811169863,
-0.028393929824233055,
0.08844766020774841,
0.08939874917268753,
0.016736483201384544,
0.011637479066848755,
0.01574147678911686,
-0.06319189071655273,
-0.04481370747089386,
-0.03873491659760475,
-0.03511007875204086,
0.012041383422911167,
-0.030953776091337204,
-0.049247629940509796,
-0.030759019777178764,
-0.03778588026762009,
-0.0021731869783252478,
0.00033682709909044206,
0.01624659262597561,
0.01542031392455101,
0.04757601022720337,
0.03530130907893181,
0.028965791687369347,
-0.008972318843007088,
-0.009847857058048248,
0.0782030001282692,
0.006562939379364252,
0.014422696083784103,
-0.05496063828468323,
-0.038730282336473465,
0.04866382107138634,
0.029917920008301735,
-0.015670163556933403,
-0.012130082584917545,
0.09005729854106903,
0.00798084307461977,
-0.010409311391413212,
-0.02345038205385208,
-0.021047497168183327,
-0.04435526952147484,
-0.0037207570858299732,
0.015906577929854393,
-0.004153996240347624,
-0.06045158952474594,
-0.028624089434742928,
0.004788541700690985,
0.0695454329252243,
-0.061114005744457245,
-0.04198810085654259,
-0.0396789126098156,
0.044041819870471954,
0.012813650071620941,
0.01913672499358654,
-0.043612804263830185,
0.02488666959106922,
-0.0699068009853363,
-0.03456950560212135,
-0.007110636215656996,
0.004534273408353329,
0.03693779557943344,
0.06318379938602448,
0.007638226263225079,
-0.02828308194875717,
0.06057785078883171,
0.034738726913928986,
0.07940183579921722,
0.011170690879225731,
-0.03775215521454811,
0.010357240214943886,
-0.055274803191423416,
0.0037582330405712128,
0.00889967568218708,
-0.050406329333782196,
-0.06617885828018188,
-0.07544784992933273,
-0.01960601843893528,
-0.010272913612425327,
-0.016995856538414955,
-0.014615483582019806,
0.04547284543514252,
0.0011205365881323814,
-0.0012002288131043315,
0.000604590808507055,
0.01693226397037506,
0.011194106191396713,
-0.0357358381152153,
0.06036645174026489,
-0.00696919858455658,
0.02809731476008892,
-0.05748964101076126,
0.013812595047056675,
-0.03542931750416756,
-0.02989049255847931,
-0.010271708481013775,
0.040353767573833466,
0.03854925185441971,
0.045318134129047394,
0.07906951010227203,
0.0331449918448925,
-0.04231085628271103,
0.05551601201295853,
0.0323149673640728,
-0.004494358319789171,
-0.050355054438114166,
-0.024680430069565773,
0.0004666298336815089,
-0.023257160559296608,
-0.023759931325912476,
-0.012002423405647278,
0.010695775039494038,
0.04356887564063072,
0.011808890849351883,
0.0042829373851418495,
0.02831554040312767,
-0.030163438990712166,
-0.02103315480053425,
-0.07332131266593933,
-0.029655620455741882,
0.019370855763554573,
-0.01833607442677021,
0.012581540271639824,
0.0363265760242939,
0.0064738052897155285,
0.07139819860458374,
0.035402704030275345,
-0.0099409818649292,
-0.06040287762880325,
0.03086252138018608,
0.036732327193021774,
-0.03213346749544144,
-0.06885069608688354,
-0.04297639802098274,
0.04299479350447655,
0.051533911377191544,
0.00895831547677517,
-0.08722130954265594,
0.01574372500181198,
0.0297680851072073,
-0.036918796598911285,
0.06279114633798599,
-0.0015018335543572903,
0.04082060605287552,
0.03792150691151619,
-0.0055127693340182304,
0.01541260164231062,
-0.034259404987096786,
-0.000773642910644412,
0.0016576990019530058,
0.019810127094388008,
-0.04628298804163933,
-0.033869821578264236,
-0.03505043312907219,
0.01576012559235096,
0.03284478932619095,
0.02287064865231514,
0.038286082446575165,
-0.030774416401982307,
-0.04924842342734337,
0.027796799317002296,
0.04484347999095917,
-0.06501438468694687,
0.014646259136497974,
0.018541978672146797,
0.03546299785375595,
-0.04757804796099663,
-0.04504220187664032,
-0.011699815280735493,
-0.0062698619440197945,
0.03055582381784916,
0.023837003856897354,
-0.03364253789186478,
-0.060907457023859024,
0.0033069122582674026,
-0.045129064470529556,
-0.012627794407308102,
-0.08417823910713196,
0.013502446934580803,
-0.01813860610127449,
-0.01903901994228363,
0.028433222323656082,
0.028075408190488815,
0.04202549159526825,
0.04654506966471672,
-0.009983483701944351,
-0.004413514863699675,
-0.043551720678806305,
0.03238711133599281,
-0.034884653985500336,
0.007110215723514557,
-0.004542854148894548,
-0.03751346096396446,
0.0048296800814569,
-0.04114144667983055,
-0.04073912277817726,
-0.0497409962117672,
0.0020974765066057444,
0.036443695425987244,
-0.027144884690642357,
0.023420246317982674,
-0.0026316195726394653,
0.04801429063081741,
-0.03942469134926796,
-0.03274700418114662,
-0.029167765751481056,
-0.006416295189410448,
-0.058744870126247406,
-0.04606911167502403,
-0.004954153206199408,
-0.018580999225378036,
0.03262808546423912,
-0.004779003094881773,
0.0369192399084568,
-0.01925349421799183,
-0.006842569913715124,
-0.030467147007584572,
0.007739062886685133,
-0.005690053571015596,
-0.024847067892551422,
-0.02227441780269146,
0.0016767090419307351,
-0.003840402001515031,
0.05808153375983238,
-0.027199484407901764,
0.029214151203632355,
0.026734083890914917,
-0.01693926565349102,
-0.006101630628108978,
0.01456343475729227,
0.031333666294813156,
-0.07194925099611282,
-0.053705375641584396,
-0.029967688024044037,
-0.03541475906968117,
0.03369831293821335,
-0.029551275074481964,
-0.01901155896484852,
0.04161908105015755,
0.017308900132775307,
0.04070143774151802,
-0.004279222339391708,
-0.038938842713832855,
0.005811226088553667,
-0.007361789233982563,
0.017897548153996468,
-0.0614323653280735,
0.046083539724349976,
-0.03123786672949791,
0.00881513487547636,
-0.009931297972798347,
-0.0013347042258828878,
-0.04728451743721962,
0.024403518065810204,
-0.025238050147891045,
-0.0074332100339233875,
-0.009639791212975979,
0.028306100517511368,
-0.03683315962553024,
0.025507183745503426,
-0.03003540076315403,
0.012455507181584835,
-0.019925039261579514,
0.07363937795162201,
-0.06561767309904099,
-0.006952737458050251,
-0.04211914911866188,
0.01477217860519886,
-0.04620908200740814,
-0.012310005724430084,
0.0009709449950605631,
-0.04852294921875,
0.023018382489681244,
0.021213339641690254,
0.02527880296111107,
0.052635155618190765,
-0.031064456328749657,
0.001470210961997509,
0.003923356998711824,
-0.04591221362352371,
-0.02351590059697628,
-0.021460969001054764,
0.006983394268900156,
-0.028911925852298737,
0.0681159570813179,
0.0432942733168602,
-0.046489812433719635,
-0.0619036965072155,
0.03612035885453224,
0.0077389017678797245,
0.015808425843715668,
0.008402673527598381,
0.023021794855594635,
0.016049358993768692,
0.05678509175777435,
-0.0232008658349514,
0.007221533916890621,
0.004709168802946806,
-0.016114026308059692,
0.004823088645935059,
0.000049452970415586606,
0.009951220825314522,
0.0003080158494412899,
-0.03350233659148216,
-0.05159996822476387,
0.06835280358791351,
0.025318097323179245,
0.026751389726996422,
0.01150288712233305,
-0.044475115835666656,
0.022274458780884743,
0.021905897185206413,
-0.06927742809057236,
0.0028345882892608643,
-0.008017130196094513,
-0.030376913025975227,
0.07071242481470108,
-0.017603466287255287,
0.03257543966174126,
0.04968567192554474,
0.0009248796268366277,
-0.039331186562776566,
0.029541242867708206,
-0.023942578583955765,
0.011236120015382767,
0.03810792788863182,
-0.052527736872434616,
0.00023686085478402674,
-0.031733933836221695,
0.052424658089876175,
-0.06117693707346916,
0.055030807852745056,
0.05205126479268074,
-0.004067332949489355,
0.033687010407447815,
-0.05413389205932617,
-0.016389507800340652,
0.03565647825598717,
-0.01448435615748167,
0.07084513455629349,
0.01013953983783722,
-0.04693780839443207,
0.042930107563734055,
0.019266430288553238,
-0.07130098342895508,
0.047970324754714966,
0.043407417833805084,
0.02738097868859768,
0.008918078616261482,
0.06391514837741852,
-0.03927261382341385,
0.016581889241933823,
-0.030055714771151543,
0.020871169865131378,
-0.06350041925907135,
-0.02158561535179615,
0.02443315088748932,
-0.04524742811918259,
-0.013899412006139755,
0.0339617095887661,
-0.028944339603185654,
-0.020259123295545578,
0.02886178344488144,
-0.05741911381483078,
-0.033375538885593414,
0.003779873251914978,
0.026079386472702026,
-0.008782023563981056,
0.012079152278602123,
-0.031715765595436096,
0.030963625758886337,
0.009120501577854156,
-0.015539613552391529,
-0.02676413394510746,
0.0048214890994131565,
0.018754545599222183,
-0.05832764133810997,
-0.04232971742749214,
0.0444813072681427,
0.017580535262823105,
-0.0183537807315588,
0.02504815347492695,
-0.00965268537402153,
-0.011211778968572617,
0.02999272756278515,
-0.003462970955297351,
0.009008827619254589,
-0.029589934274554253,
-0.00751841627061367,
0.013332212343811989,
0.023778395727276802,
0.038612477481365204,
-0.016597110778093338,
0.037454694509506226,
0.06778660416603088,
0.045785851776599884,
0.004444225691258907,
-0.03909352421760559,
-0.029818302020430565,
0.044009894132614136,
-0.05373811349272728,
0.014172714203596115,
-0.012750668451189995,
-0.05171021819114685,
-0.03336675837635994,
-0.014635642990469933,
-0.01362399198114872,
0.04749814048409462,
-0.053159695118665695,
0.03367796167731285,
0.025097418576478958,
-0.020731955766677856,
-0.04475901648402214,
-0.07904595881700516,
-0.004086917266249657,
-0.048403676599264145,
0.035131823271512985,
0.02254224196076393,
-0.035775717347860336,
0.024960754439234734,
-0.03240951523184776,
-0.04103252664208412,
0.046288441866636276,
0.029924878850579262,
-0.05135819688439369,
0.06351517140865326,
0.04151465371251106,
-0.06853939592838287,
0.004980220925062895,
0.03974073380231857,
-0.049632251262664795,
0.023013334721326828,
0.01845872402191162,
0.0035022003576159477,
0.013565296307206154,
0.028878571465611458,
-0.03911397233605385,
-0.025860389694571495,
-0.07536197453737259,
-0.031218890100717545,
-0.026701053604483604,
0.007007972802966833,
0.08229465037584305
] |
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 | ---
language: de
license: mit
tags:
- "historic german"
---
# π€ + π dbmdz DistilBERT model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources a German Europeana DistilBERT model π
# German Europeana DistilBERT
We use the open source [Europeana newspapers](http://www.europeana-newspapers.eu/)
that were provided by *The European Library*. The final
training corpus has a size of 51GB and consists of 8,035,986,369 tokens.
Detailed information about the data and pretraining steps can be found in
[this repository](https://github.com/stefan-it/europeana-bert).
## Results
For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert).
## Usage
With Transformers >= 4.3 our German Europeana DistilBERT model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/distilbert-base-german-europeana-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
# Huggingface model hub
All other German Europeana models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our Europeana BERT, ELECTRA and ConvBERT models just open a new discussion
[here](https://github.com/stefan-it/europeana-bert/discussions) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€ | [
-0.01441322173923254,
-0.016651006415486336,
-0.01584520749747753,
0.06227920949459076,
0.008016618900001049,
0.026039939373731613,
-0.024759488180279732,
-0.02022099867463112,
-0.05917365476489067,
0.05776481702923775,
0.026276344433426857,
-0.01716030016541481,
-0.0006859909044578671,
0.045190297067165375,
-0.021986892446875572,
-0.008716387674212456,
-0.0035164060536772013,
0.002165345475077629,
-0.05803890526294708,
-0.015894455835223198,
-0.0160437673330307,
0.02333228662610054,
-0.016412362456321716,
0.023599933832883835,
0.010233704932034016,
0.022675175219774246,
0.006283517461270094,
0.0497899129986763,
0.024474704638123512,
-0.07544050365686417,
0.008222255855798721,
-0.04409659653902054,
-0.03466328606009483,
-0.01310107670724392,
-0.02476695366203785,
-0.005205101333558559,
0.015483299270272255,
-0.0007869251421652734,
0.03041837178170681,
0.03492814302444458,
-0.0050974395126104355,
0.0040911524556577206,
-0.010274889878928661,
-0.02348114550113678,
0.0625951886177063,
0.024938825517892838,
-0.06628747284412384,
-0.04981980472803116,
0.04143735021352768,
-0.044030413031578064,
-0.038639672100543976,
-0.08083561807870865,
-0.021582012996077538,
0.017794650048017502,
-0.02437947317957878,
-0.035112012177705765,
-0.06712283194065094,
0.0116227762773633,
0.061451613903045654,
-0.03674556314945221,
-0.03324417769908905,
0.010064569301903248,
-0.06918984651565552,
0.016836009919643402,
0.051301050931215286,
-0.03683920577168465,
0.0027329756412655115,
-0.016711900010704994,
0.005136897787451744,
-0.019184734672307968,
0.03546883910894394,
-0.03929688408970833,
0.010344023816287518,
-0.06888358294963837,
-0.006374625954777002,
-0.020290596410632133,
0.03705978766083717,
0.052030667662620544,
-0.0264354906976223,
0.046187859028577805,
0.025835569947957993,
0.00002118114753102418,
0.04444103315472603,
-0.031964901834726334,
-0.004057683516293764,
0.04314890503883362,
-0.038842227309942245,
0.003716643201187253,
0.019835487008094788,
0.04716867953538895,
-0.04944061487913132,
-0.017856212332844734,
-0.008582936599850655,
-0.024418562650680542,
0.007279321551322937,
0.04235353693366051,
0.020654376596212387,
0.00044652135693468153,
0.023848645389080048,
0.0273191649466753,
0.01976086013019085,
0.057173822075128555,
-0.014498535543680191,
0.05398453399538994,
-0.01293910201638937,
-0.03178723528981209,
-0.02452000603079796,
-0.03498305380344391,
-0.06928739696741104,
0.015635482966899872,
0.01721181906759739,
-0.036279331892728806,
-0.036372192203998566,
0.04160289838910103,
0.016801152378320694,
-0.020211894065141678,
0.05879969149827957,
-0.016597028821706772,
-0.028424862772226334,
-0.049532972276210785,
0.02490055374801159,
0.0018247703555971384,
-0.005490880459547043,
-0.007595788687467575,
-0.061738498508930206,
0.02076144516468048,
-0.04644130915403366,
-0.011820634827017784,
0.007992839440703392,
0.006930120289325714,
-0.013046462088823318,
0.03707784041762352,
0.030051831156015396,
-0.06487782299518585,
0.01776162162423134,
0.02124345302581787,
-0.048074960708618164,
0.060450922697782516,
0.028791245073080063,
0.12956972420215607,
-0.046654436737298965,
-0.01874624378979206,
0.009984617121517658,
0.017573222517967224,
-0.04101011902093887,
0.013036014512181282,
0.0318988636136055,
-0.024033792316913605,
-0.006168716587126255,
-0.0023582924623042345,
0.041026026010513306,
-0.057464599609375,
-0.013656127266585827,
0.0575232096016407,
-0.0027838379610329866,
0.025599967688322067,
-0.03912332281470299,
-0.02908197045326233,
-0.036033183336257935,
-0.0009321236284449697,
-0.028593458235263824,
0.019710713997483253,
-0.01736222207546234,
-0.011111299507319927,
-0.02686542645096779,
-0.04533863440155983,
0.001910984399728477,
0.1055968701839447,
-0.006258885841816664,
-0.03021305240690708,
-0.049760885536670685,
0.010098246857523918,
0.05801313742995262,
0.04449660703539848,
-0.023669973015785217,
0.02955850213766098,
0.04634847119450569,
0.04847721755504608,
-0.016319939866662025,
0.05759019777178764,
0.0016314237145707011,
-0.003871727967634797,
-0.03695671632885933,
0.020590858533978462,
-0.015514666214585304,
-0.04038485884666443,
0.02434796281158924,
0.0525241456925869,
-0.011113082058727741,
-0.025157755240797997,
-0.02824549935758114,
0.043658096343278885,
-0.014422035776078701,
0.011109558865427971,
0.013035888783633709,
-0.019449908286333084,
-0.02871505357325077,
0.0518353134393692,
-0.012004519812762737,
0.014238502830266953,
-0.009675529785454273,
-0.03109908103942871,
0.014423043467104435,
0.02161330170929432,
0.03892143443226814,
0.03935088589787483,
-0.006768188904970884,
0.085467629134655,
-0.05238866060972214,
0.00849093310534954,
-0.03708300739526749,
-0.06048573553562164,
-0.009927252307534218,
0.03207162767648697,
0.039994217455387115,
0.03230142965912819,
-0.023060236126184464,
-0.04381278157234192,
0.030761774629354477,
0.07064471393823624,
0.04271239414811134,
0.023509368300437927,
-0.02319834567606449,
-0.014802881516516209,
0.029081547632813454,
0.05386779084801674,
-0.05280405655503273,
-0.04182271286845207,
-0.008930407464504242,
0.0416162945330143,
-0.024597661569714546,
0.0032323752529919147,
-0.036375343799591064,
0.018253115937113762,
-0.04429585859179497,
-0.06191866472363472,
0.0575316846370697,
0.029555700719356537,
-0.03224705904722214,
0.03202202916145325,
-0.016464898362755775,
0.005768409464508295,
-0.005424648988991976,
0.013201219029724598,
0.014162070117890835,
-0.047338880598545074,
0.005916105583310127,
0.03535227105021477,
0.05308203771710396,
-0.058794256299734116,
0.033340442925691605,
-0.00958962645381689,
0.006761250086128712,
0.024206656962633133,
-0.046824242919683456,
0.026256369426846504,
0.04746764898300171,
0.04020174220204353,
-0.06008253991603851,
0.04353338107466698,
-0.011145118623971939,
0.03927446901798248,
0.04383484646677971,
0.004322110675275326,
0.04512804374098778,
0.0219387486577034,
0.022674689069390297,
0.07976705580949783,
0.034398503601551056,
0.024128323420882225,
0.02468803897500038,
0.05535624548792839,
0.0105196638032794,
-0.007115481421351433,
0.06844954192638397,
-0.03995834290981293,
0.006875341292470694,
-0.04498453065752983,
0.005499097518622875,
0.01822894625365734,
0.008534885942935944,
0.037648338824510574,
-0.007578586228191853,
-0.0056422739289700985,
-0.005654420703649521,
0.012767085805535316,
0.0052696350030601025,
0.06177056208252907,
0.006005021743476391,
0.015483276918530464,
-0.024863356724381447,
-0.040909238159656525,
-0.011287722736597061,
-0.05852895602583885,
-0.054744914174079895,
0.014459989964962006,
-0.04766787961125374,
-0.010006305761635303,
-0.08507942408323288,
-0.02941705286502838,
-0.07746033370494843,
-0.004237406421452761,
0.03433694690465927,
0.024985456839203835,
-0.011842676438391209,
-0.030933726578950882,
0.016258416697382927,
-0.020498104393482208,
-0.067543163895607,
-0.06032497435808182,
-0.040826812386512756,
-0.03559752553701401,
-0.06613361835479736,
0.04761246591806412,
0.03124735876917839,
0.03200294449925423,
-0.021215539425611496,
0.01406592596322298,
-0.032229311764240265,
-0.03261240944266319,
0.051621366292238235,
0.04435853660106659,
-0.04624728113412857,
-0.033198192715644836,
0.010032560676336288,
-0.002540354384109378,
0.01996074616909027,
0.01951800286769867,
-0.03519962728023529,
0.08505308628082275,
0.0648314505815506,
0.006601243745535612,
0.02731955796480179,
0.027088772505521774,
-0.02819325216114521,
-0.05500887334346771,
-0.03524214029312134,
-0.03580581024289131,
0.016338473185896873,
-0.03944163769483566,
-0.05789690092206001,
-0.0222528837621212,
-0.029015392065048218,
0.004516145680099726,
-0.009030728600919247,
0.008225655183196068,
0.0017249969532713294,
0.030363943427801132,
0.03664259985089302,
0.02306794561445713,
-0.01947042904794216,
-0.012181814759969711,
0.07261364161968231,
0.02454560436308384,
0.011037788353860378,
-0.06304281949996948,
-0.015544792637228966,
0.03804440051317215,
0.06318555772304535,
0.001900014467537403,
-0.009813462384045124,
0.08108710497617722,
0.023518003523349762,
-0.007601046469062567,
-0.02195514552295208,
-0.002777957823127508,
-0.050923269242048264,
-0.00294664828106761,
0.0054643964394927025,
-0.007264311891049147,
-0.054379336535930634,
-0.03419649973511696,
0.018932634964585304,
0.03475937247276306,
-0.08612096309661865,
-0.03673743084073067,
-0.019602660089731216,
0.016597256064414978,
0.047547947615385056,
-0.0025920006446540356,
-0.06364351511001587,
-0.0005529166664928198,
-0.04431874305009842,
-0.04753794148564339,
0.021237805485725403,
0.020895594730973244,
0.039429645985364914,
0.036201488226652145,
0.03330046311020851,
-0.021056395024061203,
0.042727742344141006,
0.024368440732359886,
0.06532750278711319,
0.01918824575841427,
-0.04934469610452652,
0.027753660455346107,
-0.0437779575586319,
0.0036892613861709833,
0.015172325074672699,
-0.018653759732842445,
-0.060907550156116486,
-0.08989037573337555,
-0.011361315846443176,
0.024163072928786278,
0.021589186042547226,
-0.0030966871418058872,
0.04113883897662163,
-0.0013388927327468991,
-0.020887047052383423,
-0.01037649530917406,
0.00917691458016634,
0.03082997165620327,
-0.051877643913030624,
0.071153424680233,
0.005658881273120642,
0.01413972768932581,
-0.07673997431993484,
0.01954350247979164,
-0.04249976575374603,
-0.04149245098233223,
-0.0059326947666704655,
0.037420760840177536,
0.038343396037817,
0.020703913643956184,
0.06446757167577744,
0.015907948836684227,
-0.03939862549304962,
0.05138661339879036,
0.034063152968883514,
-0.0006352155469357967,
-0.03206977993249893,
-0.0398811399936676,
-0.02871374972164631,
-0.032867979258298874,
-0.0212840735912323,
-0.014995718374848366,
0.02152465656399727,
0.023614073172211647,
0.02321893908083439,
-0.030421685427427292,
0.0125575615093112,
-0.0039853365160524845,
-0.006472337990999222,
-0.0687696561217308,
-0.022542806342244148,
-0.007118072360754013,
-0.016023075208067894,
0.03991183638572693,
0.038106221705675125,
-0.007861476391553879,
0.0622650682926178,
0.015061858110129833,
-0.011569829657673836,
-0.026154404506087303,
0.03337036818265915,
0.02675369381904602,
-0.04421653598546982,
-0.061619941145181656,
-0.06078953668475151,
0.041302863508462906,
0.061091259121894836,
0.012963091023266315,
-0.08505143970251083,
0.010317869484424591,
0.05151134729385376,
-0.047633908689022064,
0.05914543941617012,
-0.026372479274868965,
0.05011378601193428,
0.08250438421964645,
-0.015002934262156487,
0.013165755197405815,
-0.049760691821575165,
0.011735926382243633,
0.010125560685992241,
0.05340651422739029,
-0.043764494359493256,
-0.045545633882284164,
-0.044115349650382996,
0.028974013403058052,
0.01859920099377632,
0.04006262868642807,
0.04235704243183136,
-0.04132271185517311,
-0.042489733546972275,
0.023770403116941452,
0.04409169778227806,
-0.05956035852432251,
0.02958286926150322,
0.020737286657094955,
0.05428329482674599,
-0.04988144338130951,
-0.031836479902267456,
-0.0019563487730920315,
-0.016722839325666428,
0.03458205610513687,
0.004906109534204006,
-0.028019042685627937,
-0.07231900840997696,
0.008136204443871975,
-0.028059886768460274,
-0.019725820049643517,
-0.09197651594877243,
0.02939639240503311,
-0.011479519307613373,
-0.02453550510108471,
0.0496164932847023,
0.022365529090166092,
0.03045416623353958,
0.04680170863866806,
-0.010031379759311676,
-0.011976601555943489,
-0.047301534563302994,
0.005780205130577087,
-0.051445674151182175,
-0.0040361396968364716,
-0.011947538703680038,
-0.02499212697148323,
-0.01894065923988819,
-0.03643990680575371,
-0.05164499953389168,
-0.04836796224117279,
-0.010727228596806526,
0.02675233595073223,
-0.004199119750410318,
0.008579827845096588,
-0.012090849690139294,
0.030054688453674316,
-0.04188736528158188,
-0.03891676664352417,
-0.03405856713652611,
-0.01916530355811119,
-0.04946497082710266,
-0.06537818908691406,
0.012509950436651707,
-0.018726896494627,
0.02430683560669422,
0.010128744877874851,
0.005856976844370365,
0.005638592876493931,
0.008030013181269169,
-0.03136643022298813,
0.0002533012011554092,
0.01865685172379017,
-0.04935067519545555,
-0.022712882608175278,
0.0033291529398411512,
0.004886833485215902,
0.051062002778053284,
-0.04104774445295334,
0.04948243871331215,
0.018536387011408806,
-0.012966717593371868,
-0.020181456580758095,
0.022342851385474205,
0.02427085116505623,
-0.08933228999376297,
-0.05111170560121536,
-0.020726945251226425,
-0.037400081753730774,
0.0305869672447443,
-0.03148087486624718,
-0.004105775151401758,
0.030152911320328712,
0.00917641632258892,
0.033565323799848557,
-0.0006201363285072148,
-0.03228678181767464,
0.018551023676991463,
-0.042124297469854355,
0.03409195318818092,
-0.06018468737602234,
0.038920335471630096,
-0.023426488041877747,
0.0334189347922802,
-0.0003938484296668321,
-0.01767341047525406,
-0.0443899929523468,
0.05007712170481682,
-0.015666203573346138,
-0.004366213921457529,
0.0022035473957657814,
0.021366430446505547,
-0.010865937918424606,
0.023803578689694405,
-0.031572066247463226,
0.03115425631403923,
0.006711491383612156,
0.06782474368810654,
-0.04903616011142731,
-0.014883165247738361,
-0.030030136927962303,
0.03302737697958946,
-0.0548766553401947,
0.0108524514362216,
0.0033277743496000767,
-0.02164825052022934,
0.0014612524537369609,
0.015260671265423298,
0.028962956741452217,
0.015354063361883163,
-0.043342169374227524,
-0.0017931266920641065,
0.019062930718064308,
-0.04480111971497536,
-0.002419216325506568,
0.002203581854701042,
-0.015218799002468586,
-0.014371566474437714,
0.06643763929605484,
0.03557917848229408,
-0.06280404329299927,
-0.0660943016409874,
0.04977378621697426,
0.00937921367585659,
-0.007169818039983511,
-0.013946415856480598,
0.027887897565960884,
-0.006953363306820393,
0.015877630561590195,
-0.01877669245004654,
0.005243457853794098,
-0.007657458074390888,
-0.020284395664930344,
0.0007048097322694957,
0.002906092442572117,
0.02802225388586521,
0.005881166085600853,
-0.022667182609438896,
-0.039006996899843216,
0.0498959943652153,
0.0002777477784547955,
0.02363080158829689,
-0.010822441428899765,
-0.029946723952889442,
0.022957954555749893,
0.013708041049540043,
-0.052051324397325516,
0.006399316713213921,
0.02959471009671688,
-0.025495199486613274,
0.08038753271102905,
-0.01848166435956955,
0.02454264834523201,
0.05529366806149483,
0.03202313929796219,
-0.039040643721818924,
0.04944645240902901,
-0.0183872077614069,
-0.0034656981006264687,
0.05388830602169037,
-0.04435319826006889,
-0.008870464749634266,
-0.03387818858027458,
0.07900994271039963,
-0.0423712320625782,
0.060221556574106216,
0.03730171546339989,
0.019364645704627037,
0.048984166234731674,
-0.06622159481048584,
-0.011607441119849682,
0.0034061740152537823,
-0.059645701199769974,
0.06233515590429306,
-0.0015305826673284173,
-0.061676040291786194,
0.0705864280462265,
0.03219478577375412,
-0.06385327130556107,
0.02306596003472805,
0.037824586033821106,
0.030821407213807106,
-0.003963615279644728,
0.03694643825292587,
-0.029478248208761215,
0.007625546772032976,
-0.051224566996097565,
0.016299929469823837,
-0.05859236791729927,
-0.011632338166236877,
0.01316484808921814,
-0.024915626272559166,
-0.00997824128717184,
0.03757072612643242,
-0.021013088524341583,
-0.01951787620782852,
0.04791126027703285,
-0.06023097410798073,
-0.04289281740784645,
0.011199700646102428,
0.008264219388365746,
-0.01701747253537178,
0.01648942567408085,
-0.03499702364206314,
0.015418309718370438,
0.02049231342971325,
-0.019018813967704773,
-0.02149885892868042,
0.014038313180208206,
0.03035792149603367,
-0.04784141853451729,
-0.05173589289188385,
0.0212513729929924,
-0.0027212644927203655,
-0.0272985752671957,
0.027622995898127556,
-0.0027935891412198544,
-0.00023456216149497777,
0.027214666828513145,
0.0026585753075778484,
0.004542732145637274,
-0.012812136672437191,
-0.028937792405486107,
-0.002968223998323083,
0.019216857850551605,
0.041253138333559036,
-0.0038492765743285418,
0.03259238228201866,
0.036964051425457,
0.042154088616371155,
-0.007172817829996347,
-0.055934302508831024,
-0.030451657250523567,
0.014316361397504807,
-0.04090164229273796,
-0.0018530883826315403,
0.0010002366034314036,
-0.06307488679885864,
-0.031506508588790894,
-0.014412918128073215,
-0.013527574017643929,
0.03590777516365051,
-0.05791693925857544,
0.01689845509827137,
0.043589863926172256,
0.01385035552084446,
-0.04435676336288452,
-0.07772858440876007,
-0.02008473128080368,
-0.03087346814572811,
0.006760759279131889,
0.013805401511490345,
-0.02259199693799019,
0.027422158047556877,
-0.022722650319337845,
-0.040382955223321915,
0.03782185539603233,
0.023527149111032486,
-0.061863239854574203,
0.07555564492940903,
0.025724701583385468,
-0.06931152194738388,
-0.013871774077415466,
0.0057988655753433704,
-0.03407357260584831,
0.02556910552084446,
0.0048738643527030945,
-0.0049280994571745396,
0.01630525290966034,
0.03450934588909149,
-0.04169681295752525,
-0.01991397701203823,
-0.07396901398897171,
-0.05027638375759125,
-0.02580704540014267,
0.002122284844517708,
0.08134270459413528
] |
BigSalmon/SimplifyText | [
"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
}
}
} | 17 | 2020-11-15T18:29:59Z | ---
language: fr
license: mit
tags:
- "historic french"
---
# π€ + π dbmdz ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources French Europeana ELECTRA models π
# French Europeana ELECTRA
We extracted all French texts using the `language` metadata attribute from the Europeana corpus.
The resulting corpus has a size of 63GB and consists of 11,052,528,456 tokens.
Based on the metadata information, texts from the 18th - 20th century are mainly included in the
training corpus.
Detailed information about the data and pretraining steps can be found in
[this repository](https://github.com/stefan-it/europeana-bert).
## Model weights
ELECTRA model weights for PyTorch and TensorFlow are available.
* French Europeana ELECTRA (discriminator): `dbmdz/electra-base-french-europeana-cased-discriminator` - [model hub page](https://huggingface.co/dbmdz/electra-base-french-europeana-cased-discriminator/tree/main)
* French Europeana ELECTRA (generator): `dbmdz/electra-base-french-europeana-cased-generator` - [model hub page](https://huggingface.co/dbmdz/electra-base-french-europeana-cased-generator/tree/main)
## Results
For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert).
## Usage
With Transformers >= 2.3 our French Europeana ELECTRA model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/electra-base-french-europeana-cased-discriminator")
model = AutoModel.from_pretrained("dbmdz/electra-base-french-europeana-cased-discriminator")
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download our models from their S3 storage π€
| [
-0.011228122748434544,
-0.029261691495776176,
-0.009534791111946106,
0.046721719205379486,
0.011705467477440834,
0.021035926416516304,
-0.032795604318380356,
-0.018990371376276016,
-0.06051788851618767,
0.047350767999887466,
0.022169768810272217,
-0.01273107249289751,
-0.019662942737340927,
0.03959730267524719,
-0.03631530702114105,
-0.0003126441442873329,
-0.004418967291712761,
-0.01296793669462204,
-0.05088883265852928,
-0.02363547869026661,
-0.01841905154287815,
0.027323173359036446,
-0.020991256460547447,
0.03562714532017708,
0.008778250776231289,
0.008848504163324833,
-0.001210000365972519,
0.04907439276576042,
0.033354002982378006,
-0.07284578680992126,
0.006653308402746916,
-0.03329702466726303,
-0.035669151693582535,
-0.020009050145745277,
-0.02138454094529152,
0.0011961354175582528,
0.002215472748503089,
-0.0023399193305522203,
0.042371153831481934,
0.03535526618361473,
-0.0020067128352820873,
-0.0011847997084259987,
-0.032943468540906906,
-0.023903770372271538,
0.06497318297624588,
0.02111305296421051,
-0.051885709166526794,
-0.04690944403409958,
0.023438194766640663,
-0.03951335698366165,
-0.04327523708343506,
-0.07358939945697784,
-0.011448821052908897,
0.019993821159005165,
-0.007868961431086063,
-0.027706513181328773,
-0.07826965302228928,
0.022637924179434776,
0.06666108965873718,
-0.03181352838873863,
-0.017831003293395042,
0.0211765319108963,
-0.0679377019405365,
0.03168686479330063,
0.05261959508061409,
-0.03380933403968811,
-0.009679622948169708,
-0.0136052705347538,
0.030873708426952362,
-0.007747751660645008,
0.0476829893887043,
-0.027489569038152695,
-0.00917845405638218,
-0.08337011188268661,
-0.019238987937569618,
-0.014521535485982895,
0.02764642983675003,
0.04519737511873245,
-0.03408408537507057,
0.03900953382253647,
0.007962432689964771,
-0.0012037655105814338,
0.038093600422143936,
-0.015331489033997059,
-0.018673129379749298,
0.052246470004320145,
-0.041042305529117584,
0.0045614843256771564,
0.02733619697391987,
0.05762114003300667,
-0.06607446074485779,
-0.03407036513090134,
0.009762680158019066,
-0.020083334296941757,
0.038264621049165726,
0.049657661467790604,
0.03820192068815231,
-0.02022271789610386,
0.024441789835691452,
0.035908494144678116,
0.021048417314887047,
0.043836917728185654,
-0.019060738384723663,
0.04556218534708023,
-0.015045879408717155,
-0.009032943286001682,
-0.02026166021823883,
-0.02908690832555294,
-0.03720027953386307,
0.020353369414806366,
0.023678604513406754,
-0.02874702401459217,
-0.04120749980211258,
0.07154183834791183,
0.019469713792204857,
-0.02782752551138401,
0.057843953371047974,
-0.017935529351234436,
-0.038541801273822784,
-0.07280686497688293,
0.0014540363335981965,
0.007643821649253368,
0.009661863557994366,
0.0004845465300604701,
-0.059612490236759186,
0.02105298824608326,
-0.044801127165555954,
-0.021240167319774628,
-0.008557893335819244,
-0.0021551847457885742,
-0.02926630899310112,
0.03359147533774376,
0.012660468928515911,
-0.042408619076013565,
0.015128668397665024,
0.0029182792641222477,
-0.06362805515527725,
0.06373574584722519,
0.02651941031217575,
0.11928968131542206,
-0.036616452038288116,
-0.016242768615484238,
0.008992957882583141,
0.0037186976987868547,
-0.05665212497115135,
0.01843491941690445,
0.004612097050994635,
-0.042406562715768814,
-0.019918974488973618,
-0.007937628775835037,
0.04359530657529831,
-0.05709885433316231,
-0.019242413341999054,
0.03974262624979019,
-0.013785436749458313,
0.03139910846948624,
-0.041102901101112366,
-0.0020361708011478186,
-0.024585071951150894,
-0.007636958733201027,
-0.02170194312930107,
0.0036936902906745672,
-0.010883967392146587,
-0.0021289282012730837,
-0.04071194306015968,
-0.06262841820716858,
-0.013204501941800117,
0.11633142083883286,
-0.002157814335078001,
-0.025093939155340195,
-0.03769534453749657,
0.017671484500169754,
0.04164425656199455,
0.04164090380072594,
-0.04165245220065117,
0.048506151884794235,
0.035438310354948044,
0.034756146371364594,
-0.0069803958758711815,
0.06875158846378326,
0.02592134289443493,
-0.017394494265317917,
-0.05459030717611313,
0.018389204517006874,
-0.005586039274930954,
-0.045778267085552216,
0.028204642236232758,
0.04559500887989998,
-0.0009079131996259093,
-0.021591251716017723,
-0.03215391933917999,
0.057589929550886154,
0.011694494634866714,
0.0007988105062395334,
0.02313494123518467,
-0.01700519397854805,
-0.04519522190093994,
0.060367703437805176,
-0.022808128967881203,
0.004065134096890688,
-0.012010744772851467,
-0.040980350226163864,
-0.0024531821254640818,
0.012818521820008755,
0.033107299357652664,
0.030354266986250877,
0.00703252712264657,
0.09001687169075012,
-0.033534158021211624,
0.0010557769564911723,
-0.02954343892633915,
-0.05698452517390251,
-0.018865574151277542,
0.05022898316383362,
0.017818735912442207,
0.023191245272755623,
-0.020687144249677658,
-0.046586841344833374,
0.030007241293787956,
0.07027752697467804,
0.03951837122440338,
0.025190241634845734,
-0.039011575281620026,
-0.017085256054997444,
0.03344973921775818,
0.05358000099658966,
-0.05227358266711235,
-0.03429843485355377,
0.005901726428419352,
0.035723354667425156,
-0.03705010190606117,
0.009340383112430573,
-0.03409717604517937,
0.008313496597111225,
-0.037913259118795395,
-0.06808562576770782,
0.05040756240487099,
0.04747169464826584,
-0.009998032823204994,
0.01921139657497406,
-0.0015565728535875678,
0.0014636317500844598,
-0.00233403779566288,
0.019440583884716034,
-0.00012090230302419513,
-0.05454016104340553,
0.0037401337176561356,
0.02310662902891636,
0.033317118883132935,
-0.07049510627985,
0.039186663925647736,
-0.019770704209804535,
0.005402409937232733,
0.03554214537143707,
-0.055193692445755005,
0.021822964772582054,
0.03404363617300987,
0.03478079289197922,
-0.05644913762807846,
-0.0011731855338439345,
-0.01708400808274746,
0.022676536813378334,
0.0651850551366806,
0.021132828667759895,
0.040591444820165634,
0.010574675165116787,
0.029415374621748924,
0.06020432710647583,
0.04451311007142067,
0.01355278305709362,
0.029125673696398735,
0.04795610532164574,
-0.014214687049388885,
-0.018084894865751266,
0.06938519328832626,
-0.041108209639787674,
0.02460845373570919,
-0.035671260207891464,
0.01043842826038599,
0.02575274370610714,
0.012635759077966213,
0.024012930691242218,
-0.0045950752682983875,
-0.006735839415341616,
0.011465241201221943,
0.003805833403021097,
-0.013858028687536716,
0.045361679047346115,
0.01569521613419056,
-0.0027136532589793205,
-0.017869647592306137,
-0.017651792615652084,
0.013119739480316639,
-0.035143572837114334,
-0.04090717062354088,
0.01052718237042427,
-0.05553445219993591,
-0.009588811546564102,
-0.07877261191606522,
-0.03943902999162674,
-0.07754400372505188,
0.002269846387207508,
0.04415246844291687,
0.021130669862031937,
-0.008767327293753624,
-0.028193464502692223,
0.016229523345828056,
-0.012987677939236164,
-0.04565145820379257,
-0.058951735496520996,
-0.04499143734574318,
-0.02913827821612358,
-0.073980413377285,
0.0725397914648056,
0.023441649973392487,
0.02755711041390896,
-0.00122737733181566,
0.0034708960447460413,
-0.03710435703396797,
-0.025864196941256523,
0.039939820766448975,
0.0337677001953125,
-0.03885025903582573,
-0.023085493594408035,
0.011575640179216862,
-0.016383351758122444,
0.021330347284674644,
0.004715097136795521,
-0.05839090049266815,
0.0794842541217804,
0.05729879066348076,
0.008732395246624947,
0.013311279937624931,
0.024773912504315376,
-0.031086662784218788,
-0.062254246324300766,
-0.0176614448428154,
-0.028226608410477638,
0.005565865430980921,
-0.020137282088398933,
-0.035602957010269165,
-0.028966769576072693,
-0.04107612371444702,
0.0029897228814661503,
0.005269130691885948,
-0.002011514501646161,
-0.006116186734288931,
0.031393397599458694,
0.03397878259420395,
0.024918675422668457,
-0.03722062706947327,
-0.03041580691933632,
0.07629148662090302,
0.02325093001127243,
0.0001977628271561116,
-0.05978997424244881,
-0.02171124704182148,
0.03630702942609787,
0.058366093784570694,
-0.012410348281264305,
-0.02296198345720768,
0.064345583319664,
0.0372009240090847,
0.010283670388162136,
-0.020903004333376884,
-0.0024870887864381075,
-0.042368289083242416,
0.004624217748641968,
0.005021414253860712,
-0.022348687052726746,
-0.06290878355503082,
-0.03137299790978432,
0.03348065912723541,
0.03880258649587631,
-0.08147061616182327,
-0.02473420836031437,
-0.016108432784676552,
0.010912219062447548,
0.042800698429346085,
0.008082733489573002,
-0.06326258927583694,
0.01486966572701931,
-0.038877733051776886,
-0.06128024682402611,
0.02307349070906639,
0.023845430463552475,
0.044638559222221375,
0.06394234299659729,
0.04879823699593544,
-0.03488071635365486,
0.031201794743537903,
0.03410107269883156,
0.06976184248924255,
0.019203053787350655,
-0.039283767342567444,
0.02935253083705902,
-0.027934608981013298,
0.0009417188703082502,
0.01649174652993679,
0.0048262858763337135,
-0.06051447242498398,
-0.07695455104112625,
-0.02982165478169918,
0.02292276732623577,
0.022536562755703926,
-0.017072945833206177,
0.03402315825223923,
-0.014558988623321056,
-0.026397747918963432,
-0.015172293409705162,
0.0014636043924838305,
0.03496338799595833,
-0.07431700825691223,
0.06279172003269196,
0.0005892990157008171,
0.04759396240115166,
-0.0641903281211853,
0.022798938676714897,
-0.019996022805571556,
-0.04069749265909195,
-0.012574284337460995,
0.04360676929354668,
0.0432061068713665,
0.033045876771211624,
0.07944468408823013,
0.013171886093914509,
-0.03302880749106407,
0.05035293474793434,
0.00911815743893385,
0.013837886974215508,
-0.030232608318328857,
-0.03394140675663948,
-0.018394166603684425,
-0.0337386354804039,
-0.005220337305217981,
-0.027577148750424385,
0.019456570968031883,
0.010137719102203846,
0.006844410672783852,
-0.033558156341314316,
-0.008240650407969952,
0.006234170403331518,
-0.016256747767329216,
-0.058591898530721664,
-0.01732996478676796,
-0.003074707230553031,
-0.007428813725709915,
0.0425640232861042,
0.034430623054504395,
-0.017857642844319344,
0.05033377930521965,
0.026607604697346687,
-0.017553893849253654,
-0.032885849475860596,
0.022247662767767906,
0.029628440737724304,
-0.044804733246564865,
-0.058653414249420166,
-0.037446632981300354,
0.03440103307366371,
0.06590958684682846,
0.018836982548236847,
-0.0933987945318222,
0.01042769942432642,
0.06019748002290726,
-0.022626684978604317,
0.06390529870986938,
-0.021493706852197647,
0.0432346947491169,
0.06855180859565735,
-0.030356954783201218,
0.012477229349315166,
-0.0392606295645237,
0.010912617668509483,
-0.0035121701657772064,
0.02991761453449726,
-0.040315449237823486,
-0.046908069401979446,
-0.055546555668115616,
0.028024941682815552,
0.023464646190404892,
0.04681410267949104,
0.017731046304106712,
-0.023286592215299606,
-0.05212171748280525,
0.013638986274600029,
0.039253540337085724,
-0.053721290081739426,
0.033957939594984055,
0.014089709147810936,
0.06668335944414139,
-0.053533852100372314,
-0.030583219602704048,
-0.006379739381372929,
-0.004085103049874306,
0.0268194992095232,
0.021065283566713333,
-0.01488619763404131,
-0.0676603764295578,
0.02022102102637291,
-0.04224688932299614,
-0.011387621983885765,
-0.09805323928594589,
0.004174693021923304,
-0.012338398024439812,
-0.01607181690633297,
0.06591731309890747,
0.014057040214538574,
0.008380144834518433,
0.02417023293673992,
-0.004643655382096767,
0.00668855058029294,
-0.01861332356929779,
0.030273837968707085,
-0.03444020077586174,
-0.01767803728580475,
-0.0003540509787853807,
-0.03636836260557175,
-0.011284579522907734,
-0.045749131590127945,
-0.03689400106668472,
-0.03495229035615921,
0.0038601194974035025,
0.02597350813448429,
-0.009572438895702362,
-0.007899157702922821,
-0.040948253124952316,
0.0417940691113472,
-0.037920672446489334,
-0.02725411206483841,
-0.02914487011730671,
-0.025068555027246475,
-0.05304642394185066,
-0.060339052230119705,
0.015789417549967766,
0.0057227034121751785,
0.02737601101398468,
0.012482727877795696,
-0.028398416936397552,
-0.0037700191605836153,
-0.003904769429937005,
-0.023260336369276047,
0.01601043902337551,
0.012927966192364693,
-0.05088897421956062,
-0.04370611906051636,
0.00011605148756643757,
0.019013099372386932,
0.054623715579509735,
-0.0259111188352108,
0.054399821907281876,
0.0225675031542778,
-0.010726011358201504,
-0.01248008944094181,
0.012425190769135952,
0.02868320234119892,
-0.07835575193166733,
-0.06532160937786102,
-0.01271298062056303,
-0.06157136708498001,
0.05370181426405907,
-0.001335127162747085,
0.004111690912395716,
0.026074295863509178,
0.021977925673127174,
0.0437634103000164,
0.017209798097610474,
-0.034452952444553375,
0.043464113026857376,
-0.03742776811122894,
0.020545102655887604,
-0.06142985820770264,
0.02870394103229046,
-0.026254700496792793,
0.026703642681241035,
-0.006724945269525051,
-0.018452612683176994,
-0.037137944251298904,
0.0499831959605217,
-0.017787829041481018,
-0.013860057108104229,
-0.0011013951152563095,
0.04258472099900246,
-0.016791697591543198,
0.021412108093500137,
-0.03197023645043373,
0.026748452335596085,
0.009913714602589607,
0.04929915443062782,
-0.05263948068022728,
-0.025619255378842354,
-0.044114165008068085,
0.029717369005084038,
-0.043277185410261154,
-0.0015755720669403672,
-0.006619052030146122,
-0.02347625233232975,
0.006511533632874489,
0.02686813473701477,
0.012251543812453747,
0.00304181850515306,
-0.031791090965270996,
0.005944661796092987,
0.013482030481100082,
-0.05020923539996147,
0.0014801517827436328,
0.009252767078578472,
-0.010089854709804058,
-0.03128184378147125,
0.06806956976652145,
0.028594395145773888,
-0.06870963424444199,
-0.05646372213959694,
0.06371758133172989,
0.0059835524298250675,
-0.015011568553745747,
-0.019567590206861496,
0.03713138401508331,
0.012863373383879662,
0.024942172691226006,
-0.019591543823480606,
0.0074699558317661285,
-0.01678234152495861,
-0.028019290417432785,
-0.009902631863951683,
-0.004598626866936684,
0.0196211040019989,
0.017142033204436302,
-0.013772206380963326,
-0.034553322941064835,
0.07688241451978683,
0.003176579950377345,
-0.001263775397092104,
-0.014874989166855812,
-0.010112021118402481,
0.027596745640039444,
0.01852770522236824,
-0.06330596655607224,
-0.009417179971933365,
0.022879352793097496,
-0.030881842598319054,
0.09231945127248764,
-0.01747197099030018,
0.03349854797124863,
0.07030048966407776,
0.029573656618595123,
-0.029345493763685226,
0.053205620497465134,
-0.019652314484119415,
0.002282222267240286,
0.056340936571359634,
-0.05095098540186882,
-0.0014022806426510215,
-0.015778174623847008,
0.07359829545021057,
-0.02070716768503189,
0.04090341925621033,
0.03077836148440838,
0.02591119334101677,
0.027270197868347168,
-0.06114775687456131,
0.002404825296252966,
0.01189478114247322,
-0.06459210813045502,
0.07223982363939285,
0.011471577920019627,
-0.07358251512050629,
0.06942331790924072,
0.040931399911642075,
-0.07987057417631149,
0.0443880669772625,
0.04749176278710365,
0.0173234473913908,
-0.013285447843372822,
0.018520889803767204,
-0.045684341341257095,
0.008802929893136024,
-0.03858918324112892,
0.009875031188130379,
-0.046084437519311905,
0.007369496393948793,
-0.0017980746924877167,
-0.016531363129615784,
0.006201637908816338,
0.03274362161755562,
-0.01390425767749548,
-0.019664950668811798,
0.038813378661870956,
-0.04361439868807793,
-0.03412313014268875,
-0.0007394222775474191,
0.02060740999877453,
-0.022663990035653114,
0.03055751882493496,
-0.040699250996112823,
0.010768034495413303,
0.015401014126837254,
-0.01739373430609703,
-0.02699756994843483,
0.0007331370725296438,
0.009423168376088142,
-0.03722522407770157,
-0.049180757254362106,
0.027905883267521858,
0.0014917224179953337,
-0.00812365859746933,
0.023436108604073524,
0.0019986636471003294,
0.005318645853549242,
0.03530758246779442,
0.000896153855137527,
0.010339719243347645,
-0.030930370092391968,
-0.014549057930707932,
0.003317710245028138,
0.017725961282849312,
0.037320058792829514,
0.004070271737873554,
0.030655940994620323,
0.031663406640291214,
0.051548589020967484,
-0.002562938490882516,
-0.0502157099545002,
-0.03851861134171486,
0.019428662955760956,
-0.030412988737225533,
0.019112112000584602,
0.012335422448813915,
-0.06114358454942703,
-0.03731286898255348,
-0.005602067802101374,
-0.022100038826465607,
0.022049522027373314,
-0.07602427154779434,
0.013315359130501747,
0.046072185039520264,
-0.0005015338538214564,
-0.05277980864048004,
-0.08099909871816635,
-0.02558058872818947,
-0.01646171137690544,
0.016571424901485443,
0.013136046938598156,
-0.031187551096081734,
0.01817178912460804,
-0.017779018729925156,
-0.055664464831352234,
0.04691239818930626,
0.020241525024175644,
-0.06512661278247833,
0.07068843394517899,
0.039038535207509995,
-0.07449968159198761,
0.004095279145985842,
0.017729179933667183,
-0.019675184041261673,
0.023720121011137962,
0.023470211774110794,
0.029110945761203766,
0.020151155069470406,
0.03719603270292282,
-0.029052698984742165,
-0.026090219616889954,
-0.08246806263923645,
-0.045470286160707474,
-0.023757921531796455,
0.008993340656161308,
0.07945293933153152
] |
BigSalmon/T52 | [
"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: "
}
}
} | 8 | 2020-11-15T23:36:02Z | ---
language: fr
license: mit
tags:
- "historic french"
---
# π€ + π dbmdz ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources French Europeana ELECTRA models π
# French Europeana ELECTRA
We extracted all French texts using the `language` metadata attribute from the Europeana corpus.
The resulting corpus has a size of 63GB and consists of 11,052,528,456 tokens.
Based on the metadata information, texts from the 18th - 20th century are mainly included in the
training corpus.
Detailed information about the data and pretraining steps can be found in
[this repository](https://github.com/stefan-it/europeana-bert).
## Model weights
ELECTRA model weights for PyTorch and TensorFlow are available.
* French Europeana ELECTRA (discriminator): `dbmdz/electra-base-french-europeana-cased-discriminator` - [model hub page](https://huggingface.co/dbmdz/electra-base-french-europeana-cased-discriminator/tree/main)
* French Europeana ELECTRA (generator): `dbmdz/electra-base-french-europeana-cased-generator` - [model hub page](https://huggingface.co/dbmdz/electra-base-french-europeana-cased-generator/tree/main)
## Results
For results on Historic NER, please refer to [this repository](https://github.com/stefan-it/europeana-bert).
## Usage
With Transformers >= 2.3 our French Europeana ELECTRA model can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/electra-base-french-europeana-cased-discriminator")
model = AutoModel.from_pretrained("dbmdz/electra-base-french-europeana-cased-discriminator")
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download our models from their S3 storage π€
| [
-0.011228122748434544,
-0.029261691495776176,
-0.009534791111946106,
0.046721719205379486,
0.011705467477440834,
0.021035926416516304,
-0.032795604318380356,
-0.018990371376276016,
-0.06051788851618767,
0.047350767999887466,
0.022169768810272217,
-0.01273107249289751,
-0.019662942737340927,
0.03959730267524719,
-0.03631530702114105,
-0.0003126441442873329,
-0.004418967291712761,
-0.01296793669462204,
-0.05088883265852928,
-0.02363547869026661,
-0.01841905154287815,
0.027323173359036446,
-0.020991256460547447,
0.03562714532017708,
0.008778250776231289,
0.008848504163324833,
-0.001210000365972519,
0.04907439276576042,
0.033354002982378006,
-0.07284578680992126,
0.006653308402746916,
-0.03329702466726303,
-0.035669151693582535,
-0.020009050145745277,
-0.02138454094529152,
0.0011961354175582528,
0.002215472748503089,
-0.0023399193305522203,
0.042371153831481934,
0.03535526618361473,
-0.0020067128352820873,
-0.0011847997084259987,
-0.032943468540906906,
-0.023903770372271538,
0.06497318297624588,
0.02111305296421051,
-0.051885709166526794,
-0.04690944403409958,
0.023438194766640663,
-0.03951335698366165,
-0.04327523708343506,
-0.07358939945697784,
-0.011448821052908897,
0.019993821159005165,
-0.007868961431086063,
-0.027706513181328773,
-0.07826965302228928,
0.022637924179434776,
0.06666108965873718,
-0.03181352838873863,
-0.017831003293395042,
0.0211765319108963,
-0.0679377019405365,
0.03168686479330063,
0.05261959508061409,
-0.03380933403968811,
-0.009679622948169708,
-0.0136052705347538,
0.030873708426952362,
-0.007747751660645008,
0.0476829893887043,
-0.027489569038152695,
-0.00917845405638218,
-0.08337011188268661,
-0.019238987937569618,
-0.014521535485982895,
0.02764642983675003,
0.04519737511873245,
-0.03408408537507057,
0.03900953382253647,
0.007962432689964771,
-0.0012037655105814338,
0.038093600422143936,
-0.015331489033997059,
-0.018673129379749298,
0.052246470004320145,
-0.041042305529117584,
0.0045614843256771564,
0.02733619697391987,
0.05762114003300667,
-0.06607446074485779,
-0.03407036513090134,
0.009762680158019066,
-0.020083334296941757,
0.038264621049165726,
0.049657661467790604,
0.03820192068815231,
-0.02022271789610386,
0.024441789835691452,
0.035908494144678116,
0.021048417314887047,
0.043836917728185654,
-0.019060738384723663,
0.04556218534708023,
-0.015045879408717155,
-0.009032943286001682,
-0.02026166021823883,
-0.02908690832555294,
-0.03720027953386307,
0.020353369414806366,
0.023678604513406754,
-0.02874702401459217,
-0.04120749980211258,
0.07154183834791183,
0.019469713792204857,
-0.02782752551138401,
0.057843953371047974,
-0.017935529351234436,
-0.038541801273822784,
-0.07280686497688293,
0.0014540363335981965,
0.007643821649253368,
0.009661863557994366,
0.0004845465300604701,
-0.059612490236759186,
0.02105298824608326,
-0.044801127165555954,
-0.021240167319774628,
-0.008557893335819244,
-0.0021551847457885742,
-0.02926630899310112,
0.03359147533774376,
0.012660468928515911,
-0.042408619076013565,
0.015128668397665024,
0.0029182792641222477,
-0.06362805515527725,
0.06373574584722519,
0.02651941031217575,
0.11928968131542206,
-0.036616452038288116,
-0.016242768615484238,
0.008992957882583141,
0.0037186976987868547,
-0.05665212497115135,
0.01843491941690445,
0.004612097050994635,
-0.042406562715768814,
-0.019918974488973618,
-0.007937628775835037,
0.04359530657529831,
-0.05709885433316231,
-0.019242413341999054,
0.03974262624979019,
-0.013785436749458313,
0.03139910846948624,
-0.041102901101112366,
-0.0020361708011478186,
-0.024585071951150894,
-0.007636958733201027,
-0.02170194312930107,
0.0036936902906745672,
-0.010883967392146587,
-0.0021289282012730837,
-0.04071194306015968,
-0.06262841820716858,
-0.013204501941800117,
0.11633142083883286,
-0.002157814335078001,
-0.025093939155340195,
-0.03769534453749657,
0.017671484500169754,
0.04164425656199455,
0.04164090380072594,
-0.04165245220065117,
0.048506151884794235,
0.035438310354948044,
0.034756146371364594,
-0.0069803958758711815,
0.06875158846378326,
0.02592134289443493,
-0.017394494265317917,
-0.05459030717611313,
0.018389204517006874,
-0.005586039274930954,
-0.045778267085552216,
0.028204642236232758,
0.04559500887989998,
-0.0009079131996259093,
-0.021591251716017723,
-0.03215391933917999,
0.057589929550886154,
0.011694494634866714,
0.0007988105062395334,
0.02313494123518467,
-0.01700519397854805,
-0.04519522190093994,
0.060367703437805176,
-0.022808128967881203,
0.004065134096890688,
-0.012010744772851467,
-0.040980350226163864,
-0.0024531821254640818,
0.012818521820008755,
0.033107299357652664,
0.030354266986250877,
0.00703252712264657,
0.09001687169075012,
-0.033534158021211624,
0.0010557769564911723,
-0.02954343892633915,
-0.05698452517390251,
-0.018865574151277542,
0.05022898316383362,
0.017818735912442207,
0.023191245272755623,
-0.020687144249677658,
-0.046586841344833374,
0.030007241293787956,
0.07027752697467804,
0.03951837122440338,
0.025190241634845734,
-0.039011575281620026,
-0.017085256054997444,
0.03344973921775818,
0.05358000099658966,
-0.05227358266711235,
-0.03429843485355377,
0.005901726428419352,
0.035723354667425156,
-0.03705010190606117,
0.009340383112430573,
-0.03409717604517937,
0.008313496597111225,
-0.037913259118795395,
-0.06808562576770782,
0.05040756240487099,
0.04747169464826584,
-0.009998032823204994,
0.01921139657497406,
-0.0015565728535875678,
0.0014636317500844598,
-0.00233403779566288,
0.019440583884716034,
-0.00012090230302419513,
-0.05454016104340553,
0.0037401337176561356,
0.02310662902891636,
0.033317118883132935,
-0.07049510627985,
0.039186663925647736,
-0.019770704209804535,
0.005402409937232733,
0.03554214537143707,
-0.055193692445755005,
0.021822964772582054,
0.03404363617300987,
0.03478079289197922,
-0.05644913762807846,
-0.0011731855338439345,
-0.01708400808274746,
0.022676536813378334,
0.0651850551366806,
0.021132828667759895,
0.040591444820165634,
0.010574675165116787,
0.029415374621748924,
0.06020432710647583,
0.04451311007142067,
0.01355278305709362,
0.029125673696398735,
0.04795610532164574,
-0.014214687049388885,
-0.018084894865751266,
0.06938519328832626,
-0.041108209639787674,
0.02460845373570919,
-0.035671260207891464,
0.01043842826038599,
0.02575274370610714,
0.012635759077966213,
0.024012930691242218,
-0.0045950752682983875,
-0.006735839415341616,
0.011465241201221943,
0.003805833403021097,
-0.013858028687536716,
0.045361679047346115,
0.01569521613419056,
-0.0027136532589793205,
-0.017869647592306137,
-0.017651792615652084,
0.013119739480316639,
-0.035143572837114334,
-0.04090717062354088,
0.01052718237042427,
-0.05553445219993591,
-0.009588811546564102,
-0.07877261191606522,
-0.03943902999162674,
-0.07754400372505188,
0.002269846387207508,
0.04415246844291687,
0.021130669862031937,
-0.008767327293753624,
-0.028193464502692223,
0.016229523345828056,
-0.012987677939236164,
-0.04565145820379257,
-0.058951735496520996,
-0.04499143734574318,
-0.02913827821612358,
-0.073980413377285,
0.0725397914648056,
0.023441649973392487,
0.02755711041390896,
-0.00122737733181566,
0.0034708960447460413,
-0.03710435703396797,
-0.025864196941256523,
0.039939820766448975,
0.0337677001953125,
-0.03885025903582573,
-0.023085493594408035,
0.011575640179216862,
-0.016383351758122444,
0.021330347284674644,
0.004715097136795521,
-0.05839090049266815,
0.0794842541217804,
0.05729879066348076,
0.008732395246624947,
0.013311279937624931,
0.024773912504315376,
-0.031086662784218788,
-0.062254246324300766,
-0.0176614448428154,
-0.028226608410477638,
0.005565865430980921,
-0.020137282088398933,
-0.035602957010269165,
-0.028966769576072693,
-0.04107612371444702,
0.0029897228814661503,
0.005269130691885948,
-0.002011514501646161,
-0.006116186734288931,
0.031393397599458694,
0.03397878259420395,
0.024918675422668457,
-0.03722062706947327,
-0.03041580691933632,
0.07629148662090302,
0.02325093001127243,
0.0001977628271561116,
-0.05978997424244881,
-0.02171124704182148,
0.03630702942609787,
0.058366093784570694,
-0.012410348281264305,
-0.02296198345720768,
0.064345583319664,
0.0372009240090847,
0.010283670388162136,
-0.020903004333376884,
-0.0024870887864381075,
-0.042368289083242416,
0.004624217748641968,
0.005021414253860712,
-0.022348687052726746,
-0.06290878355503082,
-0.03137299790978432,
0.03348065912723541,
0.03880258649587631,
-0.08147061616182327,
-0.02473420836031437,
-0.016108432784676552,
0.010912219062447548,
0.042800698429346085,
0.008082733489573002,
-0.06326258927583694,
0.01486966572701931,
-0.038877733051776886,
-0.06128024682402611,
0.02307349070906639,
0.023845430463552475,
0.044638559222221375,
0.06394234299659729,
0.04879823699593544,
-0.03488071635365486,
0.031201794743537903,
0.03410107269883156,
0.06976184248924255,
0.019203053787350655,
-0.039283767342567444,
0.02935253083705902,
-0.027934608981013298,
0.0009417188703082502,
0.01649174652993679,
0.0048262858763337135,
-0.06051447242498398,
-0.07695455104112625,
-0.02982165478169918,
0.02292276732623577,
0.022536562755703926,
-0.017072945833206177,
0.03402315825223923,
-0.014558988623321056,
-0.026397747918963432,
-0.015172293409705162,
0.0014636043924838305,
0.03496338799595833,
-0.07431700825691223,
0.06279172003269196,
0.0005892990157008171,
0.04759396240115166,
-0.0641903281211853,
0.022798938676714897,
-0.019996022805571556,
-0.04069749265909195,
-0.012574284337460995,
0.04360676929354668,
0.0432061068713665,
0.033045876771211624,
0.07944468408823013,
0.013171886093914509,
-0.03302880749106407,
0.05035293474793434,
0.00911815743893385,
0.013837886974215508,
-0.030232608318328857,
-0.03394140675663948,
-0.018394166603684425,
-0.0337386354804039,
-0.005220337305217981,
-0.027577148750424385,
0.019456570968031883,
0.010137719102203846,
0.006844410672783852,
-0.033558156341314316,
-0.008240650407969952,
0.006234170403331518,
-0.016256747767329216,
-0.058591898530721664,
-0.01732996478676796,
-0.003074707230553031,
-0.007428813725709915,
0.0425640232861042,
0.034430623054504395,
-0.017857642844319344,
0.05033377930521965,
0.026607604697346687,
-0.017553893849253654,
-0.032885849475860596,
0.022247662767767906,
0.029628440737724304,
-0.044804733246564865,
-0.058653414249420166,
-0.037446632981300354,
0.03440103307366371,
0.06590958684682846,
0.018836982548236847,
-0.0933987945318222,
0.01042769942432642,
0.06019748002290726,
-0.022626684978604317,
0.06390529870986938,
-0.021493706852197647,
0.0432346947491169,
0.06855180859565735,
-0.030356954783201218,
0.012477229349315166,
-0.0392606295645237,
0.010912617668509483,
-0.0035121701657772064,
0.02991761453449726,
-0.040315449237823486,
-0.046908069401979446,
-0.055546555668115616,
0.028024941682815552,
0.023464646190404892,
0.04681410267949104,
0.017731046304106712,
-0.023286592215299606,
-0.05212171748280525,
0.013638986274600029,
0.039253540337085724,
-0.053721290081739426,
0.033957939594984055,
0.014089709147810936,
0.06668335944414139,
-0.053533852100372314,
-0.030583219602704048,
-0.006379739381372929,
-0.004085103049874306,
0.0268194992095232,
0.021065283566713333,
-0.01488619763404131,
-0.0676603764295578,
0.02022102102637291,
-0.04224688932299614,
-0.011387621983885765,
-0.09805323928594589,
0.004174693021923304,
-0.012338398024439812,
-0.01607181690633297,
0.06591731309890747,
0.014057040214538574,
0.008380144834518433,
0.02417023293673992,
-0.004643655382096767,
0.00668855058029294,
-0.01861332356929779,
0.030273837968707085,
-0.03444020077586174,
-0.01767803728580475,
-0.0003540509787853807,
-0.03636836260557175,
-0.011284579522907734,
-0.045749131590127945,
-0.03689400106668472,
-0.03495229035615921,
0.0038601194974035025,
0.02597350813448429,
-0.009572438895702362,
-0.007899157702922821,
-0.040948253124952316,
0.0417940691113472,
-0.037920672446489334,
-0.02725411206483841,
-0.02914487011730671,
-0.025068555027246475,
-0.05304642394185066,
-0.060339052230119705,
0.015789417549967766,
0.0057227034121751785,
0.02737601101398468,
0.012482727877795696,
-0.028398416936397552,
-0.0037700191605836153,
-0.003904769429937005,
-0.023260336369276047,
0.01601043902337551,
0.012927966192364693,
-0.05088897421956062,
-0.04370611906051636,
0.00011605148756643757,
0.019013099372386932,
0.054623715579509735,
-0.0259111188352108,
0.054399821907281876,
0.0225675031542778,
-0.010726011358201504,
-0.01248008944094181,
0.012425190769135952,
0.02868320234119892,
-0.07835575193166733,
-0.06532160937786102,
-0.01271298062056303,
-0.06157136708498001,
0.05370181426405907,
-0.001335127162747085,
0.004111690912395716,
0.026074295863509178,
0.021977925673127174,
0.0437634103000164,
0.017209798097610474,
-0.034452952444553375,
0.043464113026857376,
-0.03742776811122894,
0.020545102655887604,
-0.06142985820770264,
0.02870394103229046,
-0.026254700496792793,
0.026703642681241035,
-0.006724945269525051,
-0.018452612683176994,
-0.037137944251298904,
0.0499831959605217,
-0.017787829041481018,
-0.013860057108104229,
-0.0011013951152563095,
0.04258472099900246,
-0.016791697591543198,
0.021412108093500137,
-0.03197023645043373,
0.026748452335596085,
0.009913714602589607,
0.04929915443062782,
-0.05263948068022728,
-0.025619255378842354,
-0.044114165008068085,
0.029717369005084038,
-0.043277185410261154,
-0.0015755720669403672,
-0.006619052030146122,
-0.02347625233232975,
0.006511533632874489,
0.02686813473701477,
0.012251543812453747,
0.00304181850515306,
-0.031791090965270996,
0.005944661796092987,
0.013482030481100082,
-0.05020923539996147,
0.0014801517827436328,
0.009252767078578472,
-0.010089854709804058,
-0.03128184378147125,
0.06806956976652145,
0.028594395145773888,
-0.06870963424444199,
-0.05646372213959694,
0.06371758133172989,
0.0059835524298250675,
-0.015011568553745747,
-0.019567590206861496,
0.03713138401508331,
0.012863373383879662,
0.024942172691226006,
-0.019591543823480606,
0.0074699558317661285,
-0.01678234152495861,
-0.028019290417432785,
-0.009902631863951683,
-0.004598626866936684,
0.0196211040019989,
0.017142033204436302,
-0.013772206380963326,
-0.034553322941064835,
0.07688241451978683,
0.003176579950377345,
-0.001263775397092104,
-0.014874989166855812,
-0.010112021118402481,
0.027596745640039444,
0.01852770522236824,
-0.06330596655607224,
-0.009417179971933365,
0.022879352793097496,
-0.030881842598319054,
0.09231945127248764,
-0.01747197099030018,
0.03349854797124863,
0.07030048966407776,
0.029573656618595123,
-0.029345493763685226,
0.053205620497465134,
-0.019652314484119415,
0.002282222267240286,
0.056340936571359634,
-0.05095098540186882,
-0.0014022806426510215,
-0.015778174623847008,
0.07359829545021057,
-0.02070716768503189,
0.04090341925621033,
0.03077836148440838,
0.02591119334101677,
0.027270197868347168,
-0.06114775687456131,
0.002404825296252966,
0.01189478114247322,
-0.06459210813045502,
0.07223982363939285,
0.011471577920019627,
-0.07358251512050629,
0.06942331790924072,
0.040931399911642075,
-0.07987057417631149,
0.0443880669772625,
0.04749176278710365,
0.0173234473913908,
-0.013285447843372822,
0.018520889803767204,
-0.045684341341257095,
0.008802929893136024,
-0.03858918324112892,
0.009875031188130379,
-0.046084437519311905,
0.007369496393948793,
-0.0017980746924877167,
-0.016531363129615784,
0.006201637908816338,
0.03274362161755562,
-0.01390425767749548,
-0.019664950668811798,
0.038813378661870956,
-0.04361439868807793,
-0.03412313014268875,
-0.0007394222775474191,
0.02060740999877453,
-0.022663990035653114,
0.03055751882493496,
-0.040699250996112823,
0.010768034495413303,
0.015401014126837254,
-0.01739373430609703,
-0.02699756994843483,
0.0007331370725296438,
0.009423168376088142,
-0.03722522407770157,
-0.049180757254362106,
0.027905883267521858,
0.0014917224179953337,
-0.00812365859746933,
0.023436108604073524,
0.0019986636471003294,
0.005318645853549242,
0.03530758246779442,
0.000896153855137527,
0.010339719243347645,
-0.030930370092391968,
-0.014549057930707932,
0.003317710245028138,
0.017725961282849312,
0.037320058792829514,
0.004070271737873554,
0.030655940994620323,
0.031663406640291214,
0.051548589020967484,
-0.002562938490882516,
-0.0502157099545002,
-0.03851861134171486,
0.019428662955760956,
-0.030412988737225533,
0.019112112000584602,
0.012335422448813915,
-0.06114358454942703,
-0.03731286898255348,
-0.005602067802101374,
-0.022100038826465607,
0.022049522027373314,
-0.07602427154779434,
0.013315359130501747,
0.046072185039520264,
-0.0005015338538214564,
-0.05277980864048004,
-0.08099909871816635,
-0.02558058872818947,
-0.01646171137690544,
0.016571424901485443,
0.013136046938598156,
-0.031187551096081734,
0.01817178912460804,
-0.017779018729925156,
-0.055664464831352234,
0.04691239818930626,
0.020241525024175644,
-0.06512661278247833,
0.07068843394517899,
0.039038535207509995,
-0.07449968159198761,
0.004095279145985842,
0.017729179933667183,
-0.019675184041261673,
0.023720121011137962,
0.023470211774110794,
0.029110945761203766,
0.020151155069470406,
0.03719603270292282,
-0.029052698984742165,
-0.026090219616889954,
-0.08246806263923645,
-0.045470286160707474,
-0.023757921531796455,
0.008993340656161308,
0.07945293933153152
] |
BigSalmon/prepositions | [
"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
}
}
} | 7 | 2020-11-02T15:41:21Z | ---
language: it
license: mit
datasets:
- wikipedia
---
# π€ + π dbmdz BERT and ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources Italian BERT and ELECTRA models π
# Italian BERT
The source data for the Italian BERT model consists of a recent Wikipedia dump and
various texts from the [OPUS corpora](http://opus.nlpl.eu/) collection. The final
training corpus has a size of 13GB and 2,050,057,573 tokens.
For sentence splitting, we use NLTK (faster compared to spacy).
Our cased and uncased models are training with an initial sequence length of 512
subwords for ~2-3M steps.
For the XXL Italian models, we use the same training data from OPUS and extend
it with data from the Italian part of the [OSCAR corpus](https://traces1.inria.fr/oscar/).
Thus, the final training corpus has a size of 81GB and 13,138,379,147 tokens.
Note: Unfortunately, a wrong vocab size was used when training the XXL models.
This explains the mismatch of the "real" vocab size of 31102, compared to the
vocab size specified in `config.json`. However, the model is working and all
evaluations were done under those circumstances.
See [this issue](https://github.com/dbmdz/berts/issues/7) for more information.
The Italian ELECTRA model was trained on the "XXL" corpus for 1M steps in total using a batch
size of 128. We pretty much following the ELECTRA training procedure as used for
[BERTurk](https://github.com/stefan-it/turkish-bert/tree/master/electra).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-italian-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/vocab.txt)
| `dbmdz/bert-base-italian-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-discriminator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-generator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-generator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/vocab.txt)
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/italian-bertelectra).
## Usage
With Transformers >= 2.3 our Italian BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the (recommended) Italian XXL BERT models, just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-xxl-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the Italian XXL ELECTRA model (discriminator), just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/electra-base-italian-xxl-cased-discriminator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelWithLMHead.from_pretrained(model_name)
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT/ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.011547722853720188,
-0.013734931126236916,
0.0030822670087218285,
0.057535380125045776,
0.010722064413130283,
0.02304820902645588,
0.007927742786705494,
-0.010190686210989952,
-0.03620022535324097,
0.05364545062184334,
0.02581303007900715,
-0.024656636640429497,
-0.008228032849729061,
0.05321543663740158,
-0.031767506152391434,
-0.02090396359562874,
-0.0016126205446198583,
-0.020555097609758377,
-0.04492839798331261,
-0.012547697871923447,
-0.019542640075087547,
-0.005898171570152044,
0.0028639729134738445,
0.03074050135910511,
0.0013527397532016039,
0.009395911358296871,
-0.01671145297586918,
0.029361244291067123,
0.035957831889390945,
-0.060498956590890884,
0.01895291544497013,
-0.022390779107809067,
-0.042842503637075424,
-0.013569523580372334,
-0.02508079819381237,
-0.021987296640872955,
0.011075681075453758,
-0.010483712889254093,
0.035447463393211365,
0.03659987449645996,
-0.0016637463122606277,
0.018005095422267914,
-0.004625158384442329,
-0.02734127640724182,
0.04151417687535286,
0.0015813165809959173,
-0.05879143625497818,
-0.025171924382448196,
0.017766928300261497,
-0.03267227113246918,
-0.049460519105196,
-0.07391690462827682,
-0.03261793032288551,
0.044682975858449936,
-0.00965031050145626,
-0.022585010156035423,
-0.05894555151462555,
0.011338363401591778,
0.07203557342290878,
-0.05497347190976143,
-0.03642719238996506,
0.033050913363695145,
-0.06010960415005684,
0.028653273358941078,
0.03272412344813347,
-0.011389258317649364,
0.015428518876433372,
-0.04283333197236061,
0.044015638530254364,
-0.013118797913193703,
0.04656375199556351,
-0.029444031417369843,
-0.0009993842104449868,
-0.08351270854473114,
-0.007905371487140656,
-0.024007011204957962,
0.030423050746321678,
0.03845934942364693,
-0.045463524758815765,
0.04819883406162262,
0.026937147602438927,
-0.020930465310811996,
0.033335886895656586,
-0.019695349037647247,
-0.015795202925801277,
0.0687146708369255,
-0.036423902958631516,
0.005133230239152908,
0.0035015202593058348,
0.03747931495308876,
-0.04108881205320358,
-0.01861749403178692,
-0.009839699603617191,
-0.02221795916557312,
0.0025741616263985634,
0.02663867548108101,
0.024774862453341484,
-0.011199386790394783,
0.014399472624063492,
0.04243941605091095,
0.019552011042833328,
0.023660948500037193,
-0.026707060635089874,
0.06642644852399826,
-0.0023972338531166315,
-0.007076863665133715,
-0.019809488207101822,
-0.0377650186419487,
-0.048659518361091614,
0.02079625613987446,
0.021318908780813217,
-0.0332680270075798,
-0.047463309019804,
0.04939308017492294,
0.016366375610232353,
-0.03538815677165985,
0.05336379632353783,
-0.016620999202132225,
-0.0328885093331337,
-0.05225793644785881,
0.02595137432217598,
-0.004643169231712818,
0.0016968224663287401,
0.014487615786492825,
-0.05900835245847702,
0.020907720550894737,
-0.037312544882297516,
-0.02638976275920868,
0.020053058862686157,
0.02031262405216694,
-0.01396195963025093,
0.048884421586990356,
0.025870224460959435,
-0.06967675685882568,
0.0032455113250762224,
-0.002473200438544154,
-0.05901035666465759,
0.058893509209156036,
0.04211445897817612,
0.13350924849510193,
-0.03920420631766319,
-0.015968110412359238,
0.0012716922210529447,
0.015661267563700676,
-0.017154308035969734,
0.004150717984884977,
0.021223871037364006,
-0.056679148226976395,
-0.005002723541110754,
0.0029151039198040962,
0.031899213790893555,
-0.035893313586711884,
-0.003915545530617237,
0.0685986876487732,
-0.01663687452673912,
0.035226818174123764,
-0.05211133509874344,
-0.01420399360358715,
0.0004815814027097076,
-0.004825676791369915,
-0.03958312049508095,
0.025539593771100044,
-0.011122963391244411,
-0.016056420281529427,
-0.024746350944042206,
-0.04585244879126549,
0.01617479883134365,
0.11590001732110977,
0.0015522356843575835,
-0.03744468092918396,
-0.031454794108867645,
0.016816068440675735,
0.05197523906826973,
0.023705266416072845,
-0.033193670213222504,
0.04912790656089783,
0.03696304187178612,
0.029945725575089455,
-0.02093825489282608,
0.052759718149900436,
-0.00030775927007198334,
-0.04204775393009186,
-0.02922631800174713,
0.022566352039575577,
0.00930838380008936,
-0.04443127289414406,
0.012194263748824596,
0.05068804323673248,
-0.005330122075974941,
-0.021352600306272507,
-0.02032581903040409,
0.06871463358402252,
-0.00892995297908783,
0.005707814823836088,
0.030907485634088516,
-0.004644350148737431,
-0.04547897353768349,
0.048844944685697556,
-0.0321684367954731,
-0.012875465676188469,
-0.006494391709566116,
-0.02962900884449482,
-0.0004975606570951641,
0.03667813539505005,
0.04373781755566597,
0.054732613265514374,
-0.0026753712445497513,
0.09628681093454361,
-0.04404321312904358,
0.003699135035276413,
-0.035269152373075485,
-0.05889487639069557,
-0.011321497149765491,
0.05981668829917908,
0.033799875527620316,
0.040235474705696106,
-0.0025424743071198463,
-0.041697874665260315,
0.012368476018309593,
0.06278964132070541,
0.05064374953508377,
0.02370494417846203,
-0.03614797815680504,
-0.02242237702012062,
0.027491627261042595,
0.06193903088569641,
-0.04152340814471245,
-0.04724337160587311,
0.022502703592181206,
0.03818949684500694,
-0.023655500262975693,
0.030271511524915695,
-0.003630844410508871,
0.00815588515251875,
-0.02516568824648857,
-0.04973943531513214,
0.0420304574072361,
0.02863151580095291,
-0.004311488475650549,
0.02037513256072998,
-0.011317563243210316,
-0.006587741430848837,
-0.003117009298875928,
0.009561149403452873,
-0.004117740783840418,
-0.04643037170171738,
0.01158325094729662,
0.02520311065018177,
0.06099119037389755,
-0.046592745929956436,
0.03635112941265106,
-0.004223423544317484,
0.01650860160589218,
0.014087644405663013,
-0.04399900510907173,
0.03118267096579075,
0.03589145839214325,
0.02229788340628147,
-0.04826149716973305,
0.0029322567861527205,
0.004088648594915867,
0.03788129612803459,
0.05541551113128662,
0.010489887557923794,
0.06313807517290115,
0.02638138271868229,
0.05272909626364708,
0.07691031694412231,
0.013616304844617844,
0.021143997088074684,
0.04990895465016365,
0.079676054418087,
0.004165891092270613,
-0.01724366284906864,
0.08265853673219681,
-0.04097442328929901,
-0.0019468674436211586,
-0.04019777849316597,
0.01035258173942566,
0.02167433127760887,
-0.011231980286538601,
0.03691859915852547,
0.004483383614569902,
0.007006413768976927,
0.005081666633486748,
-0.0016859619645401835,
-0.0075792064890265465,
0.058430857956409454,
-0.018796714022755623,
0.008991439826786518,
-0.004287497140467167,
-0.034404464066028595,
0.008943138644099236,
-0.06367072463035583,
-0.062379445880651474,
0.001871189335361123,
-0.037359025329351425,
-0.007036380469799042,
-0.09155117720365524,
-0.04213307052850723,
-0.07892005145549774,
-0.007366158999502659,
0.028714388608932495,
0.010661650449037552,
0.0008117943652905524,
-0.01134091429412365,
0.008238776586949825,
-0.03214511647820473,
-0.028278233483433723,
-0.055179473012685776,
-0.040563903748989105,
-0.05638767406344414,
-0.06656987965106964,
0.030417878180742264,
0.014659710228443146,
0.024608954787254333,
-0.000945328501984477,
0.01343767810612917,
-0.023724712431430817,
-0.03453333303332329,
0.04914283752441406,
0.043224677443504333,
-0.03844153508543968,
-0.03775811940431595,
0.017848726361989975,
-0.007061856333166361,
0.025872711092233658,
-0.006019830238074064,
-0.03267543017864227,
0.07203768193721771,
0.060920652002096176,
0.013610044494271278,
0.011946646496653557,
-0.0001541404490126297,
-0.06571264564990997,
-0.06397466361522675,
-0.04029843211174011,
-0.02345176227390766,
0.004671172238886356,
-0.019048701971769333,
-0.04084017127752304,
-0.04208558797836304,
-0.04283510521054268,
0.019156310707330704,
-0.009263016283512115,
0.008951199240982533,
0.012794860638678074,
0.03656366094946861,
0.040068864822387695,
0.02906842529773712,
-0.04818260669708252,
-0.0017234731931239367,
0.07174224406480789,
0.025359218940138817,
-0.009517966769635677,
-0.07177793234586716,
-0.022951342165470123,
0.03317742049694061,
0.045527566224336624,
-0.011246103793382645,
-0.0101823341101408,
0.07416839897632599,
0.03166140615940094,
-0.0034077418968081474,
-0.021125871688127518,
-0.00843549333512783,
-0.049371492117643356,
0.01973596401512623,
0.01358844991773367,
-0.022684475407004356,
-0.043557967990636826,
-0.0198178943246603,
0.0166458860039711,
0.048316389322280884,
-0.06782432645559311,
-0.047554291784763336,
-0.0066671231761574745,
0.03914635255932808,
0.009934671223163605,
0.03037973865866661,
-0.051107775419950485,
0.010043196380138397,
-0.02664756588637829,
-0.04287025332450867,
0.015054848976433277,
-0.01027423981577158,
0.02495686523616314,
0.06172053515911102,
0.029068108648061752,
-0.019633280113339424,
0.04851345717906952,
0.02776198275387287,
0.05431126058101654,
0.01184551976621151,
-0.04222143441438675,
0.033429067581892014,
-0.04600270837545395,
0.0032612630166113377,
0.0150451073423028,
-0.03297184780240059,
-0.051225606352090836,
-0.06946925818920135,
-0.0013542032102122903,
0.007972883060574532,
0.0005206031491979957,
-0.0026864693500101566,
0.027321480214595795,
-0.014790931716561317,
-0.029420047998428345,
0.00022693743812851608,
0.009231358766555786,
0.03603353723883629,
-0.05260851979255676,
0.08282413333654404,
-0.0006339843384921551,
0.014693818986415863,
-0.06997860223054886,
0.008666682057082653,
-0.03541042283177376,
-0.0364408902823925,
0.00797013845294714,
0.06312959641218185,
0.020851928740739822,
0.040313221514225006,
0.10016781091690063,
0.039442770183086395,
-0.04221693426370621,
0.06052052602171898,
0.013803145848214626,
0.0095676239579916,
-0.027747754007577896,
-0.020564408972859383,
-0.018951531499624252,
-0.02249593660235405,
-0.005578681826591492,
-0.012414723634719849,
0.012763547711074352,
0.013853647746145725,
0.004093887284398079,
-0.021766964346170425,
-0.0018147401278838515,
-0.01181130949407816,
-0.02169201150536537,
-0.07433800399303436,
-0.022272946313023567,
-0.009060312062501907,
-0.010894822888076305,
0.03211088106036186,
0.03155834600329399,
0.004302681423723698,
0.05769561976194382,
0.039055801928043365,
-0.019798455759882927,
-0.044827401638031006,
0.024790223687887192,
0.03652995452284813,
-0.05147043988108635,
-0.07412739843130112,
-0.041756678372621536,
0.037292513996362686,
0.044427115470170975,
-0.004832268692553043,
-0.1006069928407669,
-0.0047368439845740795,
0.05296554043889046,
-0.0426972322165966,
0.04845944046974182,
-0.006459962110966444,
0.05403199419379234,
0.06112135201692581,
-0.023040641099214554,
0.008531764149665833,
-0.02885298989713192,
-0.001150702009908855,
-0.006220357958227396,
0.04778241738677025,
-0.042759496718645096,
-0.0498543307185173,
-0.04647095128893852,
0.04992734640836716,
0.03260073438286781,
0.0438743494451046,
0.03440592437982559,
-0.021810846403241158,
-0.045066721737384796,
0.008399597369134426,
0.05349018797278404,
-0.05656024441123009,
-0.0029352563433349133,
0.03405920788645744,
0.038768090307712555,
-0.058582570403814316,
-0.042913567274808884,
-0.022100692614912987,
-0.009080243296921253,
0.03233088180422783,
0.014862515032291412,
-0.026525454595685005,
-0.0733795017004013,
0.00584358349442482,
-0.011966061778366566,
-0.0253891684114933,
-0.0904686450958252,
0.02270033396780491,
-0.008221929892897606,
-0.024292659014463425,
0.05767427757382393,
0.031568773090839386,
0.023457415401935577,
0.03950909152626991,
-0.010759125463664532,
-0.009490878321230412,
-0.05061429366469383,
0.03433771803975105,
-0.02380872517824173,
0.01570957899093628,
-0.010648494586348534,
-0.03417878970503807,
-0.011415066197514534,
-0.03105034865438938,
-0.05187824368476868,
-0.049581728875637054,
0.015271239914000034,
0.03298269212245941,
-0.020996132865548134,
-0.002416758332401514,
-0.015002371743321419,
0.05331574007868767,
-0.03844534233212471,
-0.030263155698776245,
-0.03246889263391495,
-0.028591375797986984,
-0.06360974907875061,
-0.02955116517841816,
0.01303817331790924,
0.01652616448700428,
0.04234447702765465,
0.005687361117452383,
0.01185406744480133,
-0.013910695910453796,
-0.003385506570339203,
-0.026827698573470116,
0.01480063609778881,
0.0055409930646419525,
-0.03501065447926521,
-0.04701044410467148,
0.02156909741461277,
0.024240439757704735,
0.027067672461271286,
-0.04376966133713722,
0.0321456678211689,
0.01335216872394085,
-0.024993298575282097,
-0.021806444972753525,
-0.004344726912677288,
0.006926125846803188,
-0.0885407030582428,
-0.05235705524682999,
-0.015048518776893616,
-0.03979475796222687,
0.04791181907057762,
-0.023571835830807686,
-0.008160161785781384,
0.01411269698292017,
0.03020772896707058,
0.02647179551422596,
0.0023987232707440853,
-0.03209904581308365,
0.008532644249498844,
-0.028611645102500916,
0.011261858977377415,
-0.07297198474407196,
0.029712505638599396,
-0.027587898075580597,
0.006975040305405855,
-0.011274461634457111,
0.007581544108688831,
-0.03709813579916954,
0.0436873584985733,
-0.01021397765725851,
-0.009421086870133877,
-0.009995907545089722,
0.011346934363245964,
-0.025408880785107613,
0.02509475313127041,
-0.023470908403396606,
0.021028360351920128,
-0.0004229959740769118,
0.06244773790240288,
-0.0464206263422966,
-0.009124855510890484,
-0.02895120531320572,
0.012316213920712471,
-0.04615705460309982,
-0.002811963204294443,
-0.0067320396192371845,
-0.027457179501652718,
0.006295050028711557,
0.03236071765422821,
0.04264508932828903,
0.01588819921016693,
-0.0444965660572052,
0.018286557868123055,
0.012087609618902206,
-0.06463361531496048,
-0.02826923318207264,
0.0016096075996756554,
0.009974409826099873,
0.004467649385333061,
0.069403275847435,
0.05776304751634598,
-0.07181371748447418,
-0.05765027552843094,
0.02751205302774906,
0.008647717535495758,
0.001707863761112094,
0.008899438194930553,
0.018659166991710663,
0.021930625662207603,
0.051355913281440735,
-0.03640366718173027,
-0.018337754532694817,
-0.019057229161262512,
-0.019624635577201843,
-0.0006881735753268003,
0.014506631530821323,
0.015820197761058807,
0.015771448612213135,
-0.017817415297031403,
-0.04056527838110924,
0.06064789742231369,
0.014908920042216778,
0.025819243863224983,
-0.005392113700509071,
-0.05006248876452446,
0.02628314681351185,
0.006497506517916918,
-0.06365162879228592,
0.013355499133467674,
0.018772050738334656,
-0.04405564069747925,
0.055449940264225006,
-0.0009365198784507811,
0.014807811006903648,
0.060733165591955185,
0.02949116751551628,
-0.040103182196617126,
0.04275871440768242,
-0.01934034377336502,
-0.01135869137942791,
0.03636251389980316,
-0.047380365431308746,
-0.01307801716029644,
-0.027077095583081245,
0.08271033316850662,
-0.042281899601221085,
0.05073906108736992,
0.04561242088675499,
0.016588149592280388,
0.03637213259935379,
-0.051127731800079346,
-0.009927391074597836,
0.019683195278048515,
-0.038729529827833176,
0.07911433279514313,
0.006301513407379389,
-0.06677906960248947,
0.08018063753843307,
0.016353925690054893,
-0.06023852154612541,
0.05109461024403572,
0.03302716091275215,
0.03085501492023468,
0.037643175572156906,
0.04053572937846184,
-0.039721351116895676,
0.008520028553903103,
-0.042638808488845825,
0.01506580039858818,
-0.056855086237192154,
-0.007144493982195854,
0.014722672291100025,
-0.025787631049752235,
-0.0023613115772604942,
0.03195451572537422,
-0.007828043773770332,
0.0036814508493989706,
0.0300441887229681,
-0.049821723252534866,
-0.034060943871736526,
-0.0001447670947527513,
0.02197028137743473,
-0.027257164940238,
-0.0018657908076420426,
-0.01781225949525833,
0.030597325414419174,
0.0012427970068529248,
0.0017195285763591528,
-0.03067178837954998,
0.004126801621168852,
0.014905624091625214,
-0.07614389061927795,
-0.06901287287473679,
0.025774890556931496,
0.01495298184454441,
-0.03664061427116394,
0.037243086844682693,
-0.02010137028992176,
-0.0005466056172735989,
0.031242158263921738,
0.002237144857645035,
-0.00844726711511612,
-0.029132233932614326,
-0.013437574729323387,
0.010471764020621777,
0.014800246804952621,
0.04611358419060707,
-0.00830563809722662,
0.019563043490052223,
0.013763010501861572,
0.04927801713347435,
-0.013626374304294586,
-0.05266151577234268,
-0.033221445977687836,
0.0357682928442955,
-0.040612366050481796,
-0.0044485717080533504,
-0.0030929746571928263,
-0.06619814783334732,
-0.029399776831269264,
-0.01673080213367939,
0.001020007417537272,
0.037377819418907166,
-0.061972297728061676,
0.029453616589307785,
0.014302771538496017,
-0.012167418375611305,
-0.053221479058265686,
-0.08738125115633011,
-0.02555602416396141,
-0.01612512767314911,
0.008380647748708725,
0.007192051969468594,
-0.028483692556619644,
0.034356966614723206,
-0.043210189789533615,
-0.05771131440997124,
0.0528927817940712,
0.017504505813121796,
-0.057089097797870636,
0.06940294057130814,
0.04992610961198807,
-0.05491572618484497,
0.010505030862987041,
0.061136394739151,
-0.03304801508784294,
0.0354112908244133,
0.0211830735206604,
-0.007400421891361475,
0.02484559826552868,
0.016745444387197495,
-0.02355034276843071,
-0.02072894386947155,
-0.07042398303747177,
-0.0397876538336277,
-0.023896140977740288,
-0.00027678452897816896,
0.06770675629377365
] |
BigTooth/DialoGPT-Megumin | [
"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
}
}
} | 16 | 2020-11-02T16:39:45Z | ---
language: it
license: mit
datasets:
- wikipedia
---
# π€ + π dbmdz BERT and ELECTRA models
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources Italian BERT and ELECTRA models π
# Italian BERT
The source data for the Italian BERT model consists of a recent Wikipedia dump and
various texts from the [OPUS corpora](http://opus.nlpl.eu/) collection. The final
training corpus has a size of 13GB and 2,050,057,573 tokens.
For sentence splitting, we use NLTK (faster compared to spacy).
Our cased and uncased models are training with an initial sequence length of 512
subwords for ~2-3M steps.
For the XXL Italian models, we use the same training data from OPUS and extend
it with data from the Italian part of the [OSCAR corpus](https://traces1.inria.fr/oscar/).
Thus, the final training corpus has a size of 81GB and 13,138,379,147 tokens.
Note: Unfortunately, a wrong vocab size was used when training the XXL models.
This explains the mismatch of the "real" vocab size of 31102, compared to the
vocab size specified in `config.json`. However, the model is working and all
evaluations were done under those circumstances.
See [this issue](https://github.com/dbmdz/berts/issues/7) for more information.
The Italian ELECTRA model was trained on the "XXL" corpus for 1M steps in total using a batch
size of 128. We pretty much following the ELECTRA training procedure as used for
[BERTurk](https://github.com/stefan-it/turkish-bert/tree/master/electra).
## Model weights
Currently only PyTorch-[Transformers](https://github.com/huggingface/transformers)
compatible weights are available. If you need access to TensorFlow checkpoints,
please raise an issue!
| Model | Downloads
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/bert-base-italian-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-cased/vocab.txt)
| `dbmdz/bert-base-italian-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-uncased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-cased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-cased/vocab.txt)
| `dbmdz/bert-base-italian-xxl-uncased` | [`config.json`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/bert-base-italian-xxl-uncased/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-discriminator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator/vocab.txt)
| `dbmdz/electra-base-italian-xxl-cased-generator` | [`config.json`](https://s3.amazonaws.com/models.huggingface.co/bert/dbmdz/electra-base-italian-xxl-cased-generator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-italian-xxl-cased-generator/vocab.txt)
## Results
For results on downstream tasks like NER or PoS tagging, please refer to
[this repository](https://github.com/stefan-it/italian-bertelectra).
## Usage
With Transformers >= 2.3 our Italian BERT models can be loaded like:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the (recommended) Italian XXL BERT models, just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/bert-base-italian-xxl-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
```
To load the Italian XXL ELECTRA model (discriminator), just use:
```python
from transformers import AutoModel, AutoTokenizer
model_name = "dbmdz/electra-base-italian-xxl-cased-discriminator"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelWithLMHead.from_pretrained(model_name)
```
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT/ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.011547722853720188,
-0.013734931126236916,
0.0030822670087218285,
0.057535380125045776,
0.010722064413130283,
0.02304820902645588,
0.007927742786705494,
-0.010190686210989952,
-0.03620022535324097,
0.05364545062184334,
0.02581303007900715,
-0.024656636640429497,
-0.008228032849729061,
0.05321543663740158,
-0.031767506152391434,
-0.02090396359562874,
-0.0016126205446198583,
-0.020555097609758377,
-0.04492839798331261,
-0.012547697871923447,
-0.019542640075087547,
-0.005898171570152044,
0.0028639729134738445,
0.03074050135910511,
0.0013527397532016039,
0.009395911358296871,
-0.01671145297586918,
0.029361244291067123,
0.035957831889390945,
-0.060498956590890884,
0.01895291544497013,
-0.022390779107809067,
-0.042842503637075424,
-0.013569523580372334,
-0.02508079819381237,
-0.021987296640872955,
0.011075681075453758,
-0.010483712889254093,
0.035447463393211365,
0.03659987449645996,
-0.0016637463122606277,
0.018005095422267914,
-0.004625158384442329,
-0.02734127640724182,
0.04151417687535286,
0.0015813165809959173,
-0.05879143625497818,
-0.025171924382448196,
0.017766928300261497,
-0.03267227113246918,
-0.049460519105196,
-0.07391690462827682,
-0.03261793032288551,
0.044682975858449936,
-0.00965031050145626,
-0.022585010156035423,
-0.05894555151462555,
0.011338363401591778,
0.07203557342290878,
-0.05497347190976143,
-0.03642719238996506,
0.033050913363695145,
-0.06010960415005684,
0.028653273358941078,
0.03272412344813347,
-0.011389258317649364,
0.015428518876433372,
-0.04283333197236061,
0.044015638530254364,
-0.013118797913193703,
0.04656375199556351,
-0.029444031417369843,
-0.0009993842104449868,
-0.08351270854473114,
-0.007905371487140656,
-0.024007011204957962,
0.030423050746321678,
0.03845934942364693,
-0.045463524758815765,
0.04819883406162262,
0.026937147602438927,
-0.020930465310811996,
0.033335886895656586,
-0.019695349037647247,
-0.015795202925801277,
0.0687146708369255,
-0.036423902958631516,
0.005133230239152908,
0.0035015202593058348,
0.03747931495308876,
-0.04108881205320358,
-0.01861749403178692,
-0.009839699603617191,
-0.02221795916557312,
0.0025741616263985634,
0.02663867548108101,
0.024774862453341484,
-0.011199386790394783,
0.014399472624063492,
0.04243941605091095,
0.019552011042833328,
0.023660948500037193,
-0.026707060635089874,
0.06642644852399826,
-0.0023972338531166315,
-0.007076863665133715,
-0.019809488207101822,
-0.0377650186419487,
-0.048659518361091614,
0.02079625613987446,
0.021318908780813217,
-0.0332680270075798,
-0.047463309019804,
0.04939308017492294,
0.016366375610232353,
-0.03538815677165985,
0.05336379632353783,
-0.016620999202132225,
-0.0328885093331337,
-0.05225793644785881,
0.02595137432217598,
-0.004643169231712818,
0.0016968224663287401,
0.014487615786492825,
-0.05900835245847702,
0.020907720550894737,
-0.037312544882297516,
-0.02638976275920868,
0.020053058862686157,
0.02031262405216694,
-0.01396195963025093,
0.048884421586990356,
0.025870224460959435,
-0.06967675685882568,
0.0032455113250762224,
-0.002473200438544154,
-0.05901035666465759,
0.058893509209156036,
0.04211445897817612,
0.13350924849510193,
-0.03920420631766319,
-0.015968110412359238,
0.0012716922210529447,
0.015661267563700676,
-0.017154308035969734,
0.004150717984884977,
0.021223871037364006,
-0.056679148226976395,
-0.005002723541110754,
0.0029151039198040962,
0.031899213790893555,
-0.035893313586711884,
-0.003915545530617237,
0.0685986876487732,
-0.01663687452673912,
0.035226818174123764,
-0.05211133509874344,
-0.01420399360358715,
0.0004815814027097076,
-0.004825676791369915,
-0.03958312049508095,
0.025539593771100044,
-0.011122963391244411,
-0.016056420281529427,
-0.024746350944042206,
-0.04585244879126549,
0.01617479883134365,
0.11590001732110977,
0.0015522356843575835,
-0.03744468092918396,
-0.031454794108867645,
0.016816068440675735,
0.05197523906826973,
0.023705266416072845,
-0.033193670213222504,
0.04912790656089783,
0.03696304187178612,
0.029945725575089455,
-0.02093825489282608,
0.052759718149900436,
-0.00030775927007198334,
-0.04204775393009186,
-0.02922631800174713,
0.022566352039575577,
0.00930838380008936,
-0.04443127289414406,
0.012194263748824596,
0.05068804323673248,
-0.005330122075974941,
-0.021352600306272507,
-0.02032581903040409,
0.06871463358402252,
-0.00892995297908783,
0.005707814823836088,
0.030907485634088516,
-0.004644350148737431,
-0.04547897353768349,
0.048844944685697556,
-0.0321684367954731,
-0.012875465676188469,
-0.006494391709566116,
-0.02962900884449482,
-0.0004975606570951641,
0.03667813539505005,
0.04373781755566597,
0.054732613265514374,
-0.0026753712445497513,
0.09628681093454361,
-0.04404321312904358,
0.003699135035276413,
-0.035269152373075485,
-0.05889487639069557,
-0.011321497149765491,
0.05981668829917908,
0.033799875527620316,
0.040235474705696106,
-0.0025424743071198463,
-0.041697874665260315,
0.012368476018309593,
0.06278964132070541,
0.05064374953508377,
0.02370494417846203,
-0.03614797815680504,
-0.02242237702012062,
0.027491627261042595,
0.06193903088569641,
-0.04152340814471245,
-0.04724337160587311,
0.022502703592181206,
0.03818949684500694,
-0.023655500262975693,
0.030271511524915695,
-0.003630844410508871,
0.00815588515251875,
-0.02516568824648857,
-0.04973943531513214,
0.0420304574072361,
0.02863151580095291,
-0.004311488475650549,
0.02037513256072998,
-0.011317563243210316,
-0.006587741430848837,
-0.003117009298875928,
0.009561149403452873,
-0.004117740783840418,
-0.04643037170171738,
0.01158325094729662,
0.02520311065018177,
0.06099119037389755,
-0.046592745929956436,
0.03635112941265106,
-0.004223423544317484,
0.01650860160589218,
0.014087644405663013,
-0.04399900510907173,
0.03118267096579075,
0.03589145839214325,
0.02229788340628147,
-0.04826149716973305,
0.0029322567861527205,
0.004088648594915867,
0.03788129612803459,
0.05541551113128662,
0.010489887557923794,
0.06313807517290115,
0.02638138271868229,
0.05272909626364708,
0.07691031694412231,
0.013616304844617844,
0.021143997088074684,
0.04990895465016365,
0.079676054418087,
0.004165891092270613,
-0.01724366284906864,
0.08265853673219681,
-0.04097442328929901,
-0.0019468674436211586,
-0.04019777849316597,
0.01035258173942566,
0.02167433127760887,
-0.011231980286538601,
0.03691859915852547,
0.004483383614569902,
0.007006413768976927,
0.005081666633486748,
-0.0016859619645401835,
-0.0075792064890265465,
0.058430857956409454,
-0.018796714022755623,
0.008991439826786518,
-0.004287497140467167,
-0.034404464066028595,
0.008943138644099236,
-0.06367072463035583,
-0.062379445880651474,
0.001871189335361123,
-0.037359025329351425,
-0.007036380469799042,
-0.09155117720365524,
-0.04213307052850723,
-0.07892005145549774,
-0.007366158999502659,
0.028714388608932495,
0.010661650449037552,
0.0008117943652905524,
-0.01134091429412365,
0.008238776586949825,
-0.03214511647820473,
-0.028278233483433723,
-0.055179473012685776,
-0.040563903748989105,
-0.05638767406344414,
-0.06656987965106964,
0.030417878180742264,
0.014659710228443146,
0.024608954787254333,
-0.000945328501984477,
0.01343767810612917,
-0.023724712431430817,
-0.03453333303332329,
0.04914283752441406,
0.043224677443504333,
-0.03844153508543968,
-0.03775811940431595,
0.017848726361989975,
-0.007061856333166361,
0.025872711092233658,
-0.006019830238074064,
-0.03267543017864227,
0.07203768193721771,
0.060920652002096176,
0.013610044494271278,
0.011946646496653557,
-0.0001541404490126297,
-0.06571264564990997,
-0.06397466361522675,
-0.04029843211174011,
-0.02345176227390766,
0.004671172238886356,
-0.019048701971769333,
-0.04084017127752304,
-0.04208558797836304,
-0.04283510521054268,
0.019156310707330704,
-0.009263016283512115,
0.008951199240982533,
0.012794860638678074,
0.03656366094946861,
0.040068864822387695,
0.02906842529773712,
-0.04818260669708252,
-0.0017234731931239367,
0.07174224406480789,
0.025359218940138817,
-0.009517966769635677,
-0.07177793234586716,
-0.022951342165470123,
0.03317742049694061,
0.045527566224336624,
-0.011246103793382645,
-0.0101823341101408,
0.07416839897632599,
0.03166140615940094,
-0.0034077418968081474,
-0.021125871688127518,
-0.00843549333512783,
-0.049371492117643356,
0.01973596401512623,
0.01358844991773367,
-0.022684475407004356,
-0.043557967990636826,
-0.0198178943246603,
0.0166458860039711,
0.048316389322280884,
-0.06782432645559311,
-0.047554291784763336,
-0.0066671231761574745,
0.03914635255932808,
0.009934671223163605,
0.03037973865866661,
-0.051107775419950485,
0.010043196380138397,
-0.02664756588637829,
-0.04287025332450867,
0.015054848976433277,
-0.01027423981577158,
0.02495686523616314,
0.06172053515911102,
0.029068108648061752,
-0.019633280113339424,
0.04851345717906952,
0.02776198275387287,
0.05431126058101654,
0.01184551976621151,
-0.04222143441438675,
0.033429067581892014,
-0.04600270837545395,
0.0032612630166113377,
0.0150451073423028,
-0.03297184780240059,
-0.051225606352090836,
-0.06946925818920135,
-0.0013542032102122903,
0.007972883060574532,
0.0005206031491979957,
-0.0026864693500101566,
0.027321480214595795,
-0.014790931716561317,
-0.029420047998428345,
0.00022693743812851608,
0.009231358766555786,
0.03603353723883629,
-0.05260851979255676,
0.08282413333654404,
-0.0006339843384921551,
0.014693818986415863,
-0.06997860223054886,
0.008666682057082653,
-0.03541042283177376,
-0.0364408902823925,
0.00797013845294714,
0.06312959641218185,
0.020851928740739822,
0.040313221514225006,
0.10016781091690063,
0.039442770183086395,
-0.04221693426370621,
0.06052052602171898,
0.013803145848214626,
0.0095676239579916,
-0.027747754007577896,
-0.020564408972859383,
-0.018951531499624252,
-0.02249593660235405,
-0.005578681826591492,
-0.012414723634719849,
0.012763547711074352,
0.013853647746145725,
0.004093887284398079,
-0.021766964346170425,
-0.0018147401278838515,
-0.01181130949407816,
-0.02169201150536537,
-0.07433800399303436,
-0.022272946313023567,
-0.009060312062501907,
-0.010894822888076305,
0.03211088106036186,
0.03155834600329399,
0.004302681423723698,
0.05769561976194382,
0.039055801928043365,
-0.019798455759882927,
-0.044827401638031006,
0.024790223687887192,
0.03652995452284813,
-0.05147043988108635,
-0.07412739843130112,
-0.041756678372621536,
0.037292513996362686,
0.044427115470170975,
-0.004832268692553043,
-0.1006069928407669,
-0.0047368439845740795,
0.05296554043889046,
-0.0426972322165966,
0.04845944046974182,
-0.006459962110966444,
0.05403199419379234,
0.06112135201692581,
-0.023040641099214554,
0.008531764149665833,
-0.02885298989713192,
-0.001150702009908855,
-0.006220357958227396,
0.04778241738677025,
-0.042759496718645096,
-0.0498543307185173,
-0.04647095128893852,
0.04992734640836716,
0.03260073438286781,
0.0438743494451046,
0.03440592437982559,
-0.021810846403241158,
-0.045066721737384796,
0.008399597369134426,
0.05349018797278404,
-0.05656024441123009,
-0.0029352563433349133,
0.03405920788645744,
0.038768090307712555,
-0.058582570403814316,
-0.042913567274808884,
-0.022100692614912987,
-0.009080243296921253,
0.03233088180422783,
0.014862515032291412,
-0.026525454595685005,
-0.0733795017004013,
0.00584358349442482,
-0.011966061778366566,
-0.0253891684114933,
-0.0904686450958252,
0.02270033396780491,
-0.008221929892897606,
-0.024292659014463425,
0.05767427757382393,
0.031568773090839386,
0.023457415401935577,
0.03950909152626991,
-0.010759125463664532,
-0.009490878321230412,
-0.05061429366469383,
0.03433771803975105,
-0.02380872517824173,
0.01570957899093628,
-0.010648494586348534,
-0.03417878970503807,
-0.011415066197514534,
-0.03105034865438938,
-0.05187824368476868,
-0.049581728875637054,
0.015271239914000034,
0.03298269212245941,
-0.020996132865548134,
-0.002416758332401514,
-0.015002371743321419,
0.05331574007868767,
-0.03844534233212471,
-0.030263155698776245,
-0.03246889263391495,
-0.028591375797986984,
-0.06360974907875061,
-0.02955116517841816,
0.01303817331790924,
0.01652616448700428,
0.04234447702765465,
0.005687361117452383,
0.01185406744480133,
-0.013910695910453796,
-0.003385506570339203,
-0.026827698573470116,
0.01480063609778881,
0.0055409930646419525,
-0.03501065447926521,
-0.04701044410467148,
0.02156909741461277,
0.024240439757704735,
0.027067672461271286,
-0.04376966133713722,
0.0321456678211689,
0.01335216872394085,
-0.024993298575282097,
-0.021806444972753525,
-0.004344726912677288,
0.006926125846803188,
-0.0885407030582428,
-0.05235705524682999,
-0.015048518776893616,
-0.03979475796222687,
0.04791181907057762,
-0.023571835830807686,
-0.008160161785781384,
0.01411269698292017,
0.03020772896707058,
0.02647179551422596,
0.0023987232707440853,
-0.03209904581308365,
0.008532644249498844,
-0.028611645102500916,
0.011261858977377415,
-0.07297198474407196,
0.029712505638599396,
-0.027587898075580597,
0.006975040305405855,
-0.011274461634457111,
0.007581544108688831,
-0.03709813579916954,
0.0436873584985733,
-0.01021397765725851,
-0.009421086870133877,
-0.009995907545089722,
0.011346934363245964,
-0.025408880785107613,
0.02509475313127041,
-0.023470908403396606,
0.021028360351920128,
-0.0004229959740769118,
0.06244773790240288,
-0.0464206263422966,
-0.009124855510890484,
-0.02895120531320572,
0.012316213920712471,
-0.04615705460309982,
-0.002811963204294443,
-0.0067320396192371845,
-0.027457179501652718,
0.006295050028711557,
0.03236071765422821,
0.04264508932828903,
0.01588819921016693,
-0.0444965660572052,
0.018286557868123055,
0.012087609618902206,
-0.06463361531496048,
-0.02826923318207264,
0.0016096075996756554,
0.009974409826099873,
0.004467649385333061,
0.069403275847435,
0.05776304751634598,
-0.07181371748447418,
-0.05765027552843094,
0.02751205302774906,
0.008647717535495758,
0.001707863761112094,
0.008899438194930553,
0.018659166991710663,
0.021930625662207603,
0.051355913281440735,
-0.03640366718173027,
-0.018337754532694817,
-0.019057229161262512,
-0.019624635577201843,
-0.0006881735753268003,
0.014506631530821323,
0.015820197761058807,
0.015771448612213135,
-0.017817415297031403,
-0.04056527838110924,
0.06064789742231369,
0.014908920042216778,
0.025819243863224983,
-0.005392113700509071,
-0.05006248876452446,
0.02628314681351185,
0.006497506517916918,
-0.06365162879228592,
0.013355499133467674,
0.018772050738334656,
-0.04405564069747925,
0.055449940264225006,
-0.0009365198784507811,
0.014807811006903648,
0.060733165591955185,
0.02949116751551628,
-0.040103182196617126,
0.04275871440768242,
-0.01934034377336502,
-0.01135869137942791,
0.03636251389980316,
-0.047380365431308746,
-0.01307801716029644,
-0.027077095583081245,
0.08271033316850662,
-0.042281899601221085,
0.05073906108736992,
0.04561242088675499,
0.016588149592280388,
0.03637213259935379,
-0.051127731800079346,
-0.009927391074597836,
0.019683195278048515,
-0.038729529827833176,
0.07911433279514313,
0.006301513407379389,
-0.06677906960248947,
0.08018063753843307,
0.016353925690054893,
-0.06023852154612541,
0.05109461024403572,
0.03302716091275215,
0.03085501492023468,
0.037643175572156906,
0.04053572937846184,
-0.039721351116895676,
0.008520028553903103,
-0.042638808488845825,
0.01506580039858818,
-0.056855086237192154,
-0.007144493982195854,
0.014722672291100025,
-0.025787631049752235,
-0.0023613115772604942,
0.03195451572537422,
-0.007828043773770332,
0.0036814508493989706,
0.0300441887229681,
-0.049821723252534866,
-0.034060943871736526,
-0.0001447670947527513,
0.02197028137743473,
-0.027257164940238,
-0.0018657908076420426,
-0.01781225949525833,
0.030597325414419174,
0.0012427970068529248,
0.0017195285763591528,
-0.03067178837954998,
0.004126801621168852,
0.014905624091625214,
-0.07614389061927795,
-0.06901287287473679,
0.025774890556931496,
0.01495298184454441,
-0.03664061427116394,
0.037243086844682693,
-0.02010137028992176,
-0.0005466056172735989,
0.031242158263921738,
0.002237144857645035,
-0.00844726711511612,
-0.029132233932614326,
-0.013437574729323387,
0.010471764020621777,
0.014800246804952621,
0.04611358419060707,
-0.00830563809722662,
0.019563043490052223,
0.013763010501861572,
0.04927801713347435,
-0.013626374304294586,
-0.05266151577234268,
-0.033221445977687836,
0.0357682928442955,
-0.040612366050481796,
-0.0044485717080533504,
-0.0030929746571928263,
-0.06619814783334732,
-0.029399776831269264,
-0.01673080213367939,
0.001020007417537272,
0.037377819418907166,
-0.061972297728061676,
0.029453616589307785,
0.014302771538496017,
-0.012167418375611305,
-0.053221479058265686,
-0.08738125115633011,
-0.02555602416396141,
-0.01612512767314911,
0.008380647748708725,
0.007192051969468594,
-0.028483692556619644,
0.034356966614723206,
-0.043210189789533615,
-0.05771131440997124,
0.0528927817940712,
0.017504505813121796,
-0.057089097797870636,
0.06940294057130814,
0.04992610961198807,
-0.05491572618484497,
0.010505030862987041,
0.061136394739151,
-0.03304801508784294,
0.0354112908244133,
0.0211830735206604,
-0.007400421891361475,
0.02484559826552868,
0.016745444387197495,
-0.02355034276843071,
-0.02072894386947155,
-0.07042398303747177,
-0.0397876538336277,
-0.023896140977740288,
-0.00027678452897816896,
0.06770675629377365
] |
BigTooth/DialoGPT-small-tohru | [
"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 | 2020-05-12T11:52:50Z | ---
language: tr
license: mit
---
# π€ + π dbmdz Turkish ELECTRA model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources a cased ELECTRA base model for Turkish π
# Turkish ELECTRA model
We release a base ELEC**TR**A model for Turkish, that was trained on the same data as *BERTurk*.
> ELECTRA is a new method for self-supervised language representation learning. It can be used to
> pre-train transformer networks using relatively little compute. ELECTRA models are trained to
> distinguish "real" input tokens vs "fake" input tokens generated by another neural network, similar to
> the discriminator of a GAN.
More details about ELECTRA can be found in the [ICLR paper](https://openreview.net/forum?id=r1xMH1BtvB)
or in the [official ELECTRA repository](https://github.com/google-research/electra) on GitHub.
## Stats
The current version of the model is trained on a filtered and sentence
segmented version of the Turkish [OSCAR corpus](https://traces1.inria.fr/oscar/),
a recent Wikipedia dump, various [OPUS corpora](http://opus.nlpl.eu/) and a
special corpus provided by [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/).
The final training corpus has a size of 35GB and 44,04,976,662 tokens.
Thanks to Google's TensorFlow Research Cloud (TFRC) we could train a cased model
on a TPU v3-8 for 1M steps.
## Model weights
[Transformers](https://github.com/huggingface/transformers)
compatible weights for both PyTorch and TensorFlow are available.
| Model | Downloads
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/electra-base-turkish-cased-discriminator` | [`config.json`](https://cdn.huggingface.co/dbmdz/electra-base-turkish-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-base-turkish-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-base-turkish-cased-discriminator/vocab.txt)
## Usage
With Transformers >= 2.8 our ELECTRA base cased model can be loaded like:
```python
from transformers import AutoModelWithLMHead, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/electra-base-turkish-cased-discriminator")
model = AutoModelWithLMHead.from_pretrained("dbmdz/electra-base-turkish-cased-discriminator")
```
## Results
For results on PoS tagging or NER tasks, please refer to
[this repository](https://github.com/stefan-it/turkish-bert/electra).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.02069067768752575,
-0.005119729787111282,
-0.00834735855460167,
0.06262984871864319,
0.019645586609840393,
0.04007739573717117,
-0.004755358211696148,
0.005409199744462967,
-0.05146287754178047,
0.05728831887245178,
0.01743324287235737,
-0.03020039200782776,
-0.012689718045294285,
0.03189290314912796,
-0.03739786148071289,
-0.017827030271291733,
-0.013747147284448147,
-0.0035030345898121595,
-0.05019332095980644,
-0.015301649458706379,
-0.013789525255560875,
0.009257622063159943,
-0.0036281899083405733,
0.03903617709875107,
-0.00792396254837513,
0.016035115346312523,
-0.014795868657529354,
0.027550766244530678,
0.03649172931909561,
-0.07553264498710632,
0.025348497554659843,
-0.03958704695105553,
-0.03635623678565025,
-0.011703379452228546,
-0.03918914869427681,
-0.005967555567622185,
0.01728440634906292,
-0.010336142033338547,
0.057677388191223145,
0.05228240042924881,
-0.010365504771471024,
0.019045144319534302,
0.008888598531484604,
-0.05997452884912491,
0.04774455353617668,
0.0047243027947843075,
-0.04878580570220947,
-0.018965980038046837,
0.028086159378290176,
-0.05023934319615364,
-0.04924001172184944,
-0.06047244369983673,
-0.052523232996463776,
0.042983364313840866,
-0.02017400786280632,
-0.04421147704124451,
-0.05335673317313194,
-0.011739716865122318,
0.047979164868593216,
-0.042171403765678406,
-0.03481130674481392,
0.03123019076883793,
-0.07489987462759018,
0.034796711057424545,
0.04122425988316536,
-0.00480822566896677,
0.0014224094338715076,
-0.05264115333557129,
0.037637658417224884,
-0.01490832306444645,
0.037750404328107834,
-0.01606173999607563,
-0.005733457859605551,
-0.07529635727405548,
-0.016041936352849007,
-0.010723209008574486,
0.0201383326202631,
0.0440312884747982,
-0.04452170431613922,
0.059718456119298935,
0.025174053385853767,
-0.00694439047947526,
0.03465022146701813,
-0.01431660819798708,
-0.011143402196466923,
0.07054104655981064,
-0.023129666224122047,
-0.009649249725043774,
0.003769154427573085,
0.06722873449325562,
-0.04438824951648712,
-0.024046577513217926,
-0.015150635503232479,
-0.03449472412467003,
-0.010444382205605507,
0.027516230940818787,
0.0321214534342289,
0.01361809205263853,
0.01987609639763832,
0.034096937626600266,
0.03793824091553688,
0.028308434411883354,
-0.028641927987337112,
0.03315570950508118,
-0.01722261682152748,
-0.017747892066836357,
0.004903705790638924,
-0.04639383777976036,
-0.042440835386514664,
0.04019954800605774,
0.020074989646673203,
-0.047991182655096054,
-0.04161969572305679,
0.033522821962833405,
0.010967062786221504,
-0.021992404013872147,
0.05264400318264961,
-0.022942304611206055,
-0.029791085049510002,
-0.014640177600085735,
0.03571271151304245,
0.012239564210176468,
0.0055803945288062096,
-0.0034631809685379267,
-0.0501771979033947,
0.028119852766394615,
-0.046204954385757446,
-0.025967486202716827,
0.011912857182323933,
0.02745286375284195,
-0.0217103511095047,
0.04592794179916382,
0.03415666148066521,
-0.043693285435438156,
0.007323718164116144,
0.027060406282544136,
-0.06379272788763046,
0.05759281665086746,
0.03003520518541336,
0.10731611400842667,
-0.05947476997971535,
-0.02998214215040207,
0.0016552831511944532,
0.011107842437922955,
-0.017653560265898705,
0.0012826710008084774,
0.022282911464571953,
-0.038886867463588715,
-0.037672530859708786,
-0.0185063686221838,
0.052277322858572006,
-0.06224179267883301,
0.008429719135165215,
0.0618332214653492,
-0.015542649663984776,
0.027214117348194122,
-0.02378842420876026,
-0.004913186188787222,
-0.011290570721030235,
0.018861308693885803,
-0.03661737218499184,
0.041156597435474396,
0.00946651492267847,
-0.002924723085016012,
-0.046146977692842484,
-0.048304565250873566,
0.004789766389876604,
0.10551764816045761,
-0.006098551210016012,
-0.016917582601308823,
-0.027963601052761078,
0.011630011722445488,
0.05353165045380592,
0.02121027745306492,
-0.029071206226944923,
0.04118793457746506,
0.04365451633930206,
0.0414133258163929,
-0.01851835288107395,
0.06560331583023071,
0.006679026875644922,
-0.02679574303328991,
-0.014827094972133636,
0.006576458923518658,
0.010023203678429127,
-0.031932126730680466,
0.0023191459476947784,
0.05573190376162529,
-0.0011701566400006413,
-0.021099157631397247,
-0.0017983560683205724,
0.06740036606788635,
0.009561095386743546,
0.005396580323576927,
0.008763634599745274,
-0.020922714844346046,
-0.06006899103522301,
0.040289975702762604,
-0.03388792648911476,
-0.0003723317931871861,
-0.02283354289829731,
-0.007989007979631424,
0.008987068198621273,
0.03886457160115242,
0.03592659905552864,
0.04251169413328171,
-0.008588229306042194,
0.10019619017839432,
-0.04537108540534973,
-0.003990453667938709,
-0.04227630794048309,
-0.0628349706530571,
-0.011876104399561882,
0.03050401248037815,
0.04189297929406166,
0.038644906133413315,
0.01081051491200924,
-0.04464989900588989,
0.0198394563049078,
0.08239778131246567,
0.045703958719968796,
0.03315470740199089,
-0.020120365545153618,
-0.007281373720616102,
0.038310855627059937,
0.06334252655506134,
-0.03682218864560127,
-0.048340942710638046,
0.02638140320777893,
0.057192813605070114,
-0.008733686059713364,
0.035828180611133575,
-0.024857493117451668,
0.017868734896183014,
-0.027792826294898987,
-0.06241939589381218,
0.04633339121937752,
0.03119206614792347,
-0.009499641135334969,
0.011073269881308079,
-0.005160841625183821,
0.0061356304213404655,
-0.010168872773647308,
0.005747360642999411,
-0.0004085762775503099,
-0.03399195894598961,
-0.0017161446157842875,
0.021813221275806427,
0.04767732694745064,
-0.034785326570272446,
0.03502088785171509,
-0.004029212053865194,
-0.0005200807354412973,
0.034587353467941284,
-0.047751471400260925,
0.03771684318780899,
0.007664396893233061,
0.023926278576254845,
-0.039017025381326675,
0.02532068081200123,
-0.006428316235542297,
0.04398562014102936,
0.06644801795482635,
-0.001136773033067584,
0.03500998765230179,
0.0013903231592848897,
0.04702451080083847,
0.05998215824365616,
0.01475690957158804,
0.016347039490938187,
0.038993995636701584,
0.08006635308265686,
0.01611981727182865,
-0.012851147912442684,
0.07507796585559845,
-0.054149314761161804,
0.01170810591429472,
-0.06025860086083412,
0.014300335198640823,
0.015624464489519596,
-0.006361022591590881,
0.043508999049663544,
0.008858137764036655,
0.005327683407813311,
0.03724256902933121,
-0.008715169504284859,
-0.005038838367909193,
0.052989885210990906,
0.0016059314366430044,
0.0035347247030586004,
-0.015605229884386063,
-0.02688581310212612,
0.020625831559300423,
-0.06719363480806351,
-0.0308278426527977,
-0.017189498990774155,
-0.04991542547941208,
-0.006570878904312849,
-0.07904651761054993,
-0.03717559203505516,
-0.04872937873005867,
-0.01206760760396719,
0.048893075436353683,
0.012203381396830082,
0.003161107888445258,
-0.02323792688548565,
0.0137717854231596,
-0.03571134805679321,
-0.04945765808224678,
-0.04833788052201271,
-0.054894257336854935,
-0.041484758257865906,
-0.07656756788492203,
0.04489990696310997,
0.0007057528127916157,
0.00355991767719388,
0.004158077295869589,
0.01482815109193325,
-0.04168679937720299,
-0.03260565549135208,
0.025939928367733955,
0.039352089166641235,
-0.0398523323237896,
-0.040072035044431686,
0.029473256319761276,
-0.01930825412273407,
0.015460305847227573,
-0.00515455286949873,
-0.03279021754860878,
0.08310439437627792,
0.06509112566709518,
0.026850897818803787,
0.024061454460024834,
0.005681411363184452,
-0.0677308589220047,
-0.04879503324627876,
-0.03697282075881958,
-0.032753244042396545,
0.017009342089295387,
-0.03165299817919731,
-0.04954119026660919,
-0.032027412205934525,
-0.03286220505833626,
0.0037751912605017424,
-0.006519679445773363,
0.012368551455438137,
0.019481699913740158,
0.05486058071255684,
0.046220023185014725,
0.023920578882098198,
-0.02018701657652855,
-0.027296198531985283,
0.0628090426325798,
0.01112534012645483,
0.009461833164095879,
-0.05677507072687149,
-0.025750532746315002,
0.04137440770864487,
0.036161117255687714,
-0.0046965451911091805,
-0.0010764386970549822,
0.07852901518344879,
0.004643992055207491,
-0.009297886863350868,
-0.005496791563928127,
-0.019905831664800644,
-0.05472073704004288,
0.008006448857486248,
0.0037723416462540627,
-0.02291574887931347,
-0.05902228131890297,
-0.022200047969818115,
-0.0010903759393841028,
0.06893334537744522,
-0.0708400309085846,
-0.0506008118391037,
-0.03183455020189285,
0.03484038636088371,
0.019136182963848114,
0.014039687812328339,
-0.04837171733379364,
0.014100178144872189,
-0.04073035717010498,
-0.04663129895925522,
0.019198426976799965,
0.017279203981161118,
0.04091141000390053,
0.07478483766317368,
0.02711152657866478,
-0.027080846950411797,
0.05758695676922798,
0.02950100228190422,
0.05582708120346069,
0.01076081208884716,
-0.03464549034833908,
0.021092671900987625,
-0.04318876191973686,
0.019710587337613106,
0.006320308893918991,
-0.03848470374941826,
-0.05169251188635826,
-0.0714607760310173,
-0.03287713974714279,
-0.0011374372988939285,
-0.023616762831807137,
0.011529846116900444,
0.029659314081072807,
0.0026067856233567,
-0.017223505303263664,
-0.00237670773640275,
0.024519966915249825,
0.033656422048807144,
-0.05026615411043167,
0.056713659316301346,
-0.009229309856891632,
0.026444759219884872,
-0.05399026721715927,
0.01191034633666277,
-0.01708081178367138,
-0.04475051909685135,
-0.011408074758946896,
0.061756379902362823,
0.0449969656765461,
0.030243417248129845,
0.09805267304182053,
0.014271724969148636,
-0.04144696146249771,
0.048777658492326736,
0.030095189809799194,
0.006343404296785593,
-0.044817935675382614,
-0.017733272165060043,
-0.0047754100523889065,
-0.03623179718852043,
-0.015692459419369698,
-0.008914574049413204,
0.017163066193461418,
0.04541239142417908,
0.017928481101989746,
-0.017254048958420753,
0.008725307881832123,
-0.021082470193505287,
-0.023759033530950546,
-0.08847932517528534,
-0.03975825011730194,
0.017547229304909706,
-0.019877539947628975,
0.015181595459580421,
0.04320652037858963,
0.0026440180372446775,
0.06826519221067429,
0.032829649746418,
-0.013819933868944645,
-0.04721326753497124,
0.02906116098165512,
0.02637774497270584,
-0.024117084220051765,
-0.06345271319150925,
-0.04927080124616623,
0.03515582159161568,
0.051208142191171646,
0.0011138833360746503,
-0.09408114850521088,
0.01317503210157156,
0.02719797007739544,
-0.015560567378997803,
0.07812457531690598,
0.000830010452773422,
0.03135788068175316,
0.05591873452067375,
-0.02069644257426262,
0.022582361474633217,
-0.03792198747396469,
0.002782230032607913,
-0.012341925874352455,
0.047491949051618576,
-0.02699863724410534,
-0.036313366144895554,
-0.03919358551502228,
0.014204412698745728,
0.0191580168902874,
0.0497063547372818,
0.04379863664507866,
-0.02321316860616207,
-0.0444423109292984,
0.014445016160607338,
0.04437083378434181,
-0.051882870495319366,
0.024895817041397095,
0.026533721014857292,
0.035628363490104675,
-0.05542091652750969,
-0.03566605597734451,
-0.01854567974805832,
-0.006637405138462782,
0.006188406143337488,
0.009031808003783226,
-0.03517372906208038,
-0.07507037371397018,
0.019635040313005447,
-0.029444817453622818,
-0.013169728219509125,
-0.09631238877773285,
0.013919858261942863,
-0.006480776239186525,
-0.019366977736353874,
0.050167761743068695,
0.018513858318328857,
0.029618926346302032,
0.04880174249410629,
-0.006381975952535868,
0.012696942314505577,
-0.04316456988453865,
0.03692513704299927,
-0.03885861113667488,
-0.0026797240134328604,
0.00011493120109662414,
-0.03228100761771202,
0.00929622445255518,
-0.04723091423511505,
-0.04275950789451599,
-0.05566885694861412,
0.006407956127077341,
0.014974051155149937,
-0.02304159291088581,
0.016069920733571053,
-0.01670374535024166,
0.05140091851353645,
-0.05629652366042137,
-0.04438342899084091,
-0.022207098081707954,
-0.02940637804567814,
-0.07119232416152954,
-0.03828353434801102,
-0.002988694468513131,
0.007188566029071808,
0.025676053017377853,
0.0055720205418765545,
0.007171347737312317,
-0.012626643292605877,
-0.02903035655617714,
-0.023868968710303307,
0.023331640288233757,
-0.0034827718045562506,
-0.005561985541135073,
-0.030750809237360954,
0.006783562712371349,
0.009743286296725273,
0.05407349392771721,
-0.027033334597945213,
0.03912116587162018,
0.027576705440878868,
-0.007770754862576723,
0.0022292928770184517,
-0.006446192506700754,
0.018214398995041847,
-0.06305447965860367,
-0.0651216134428978,
-0.023345695808529854,
-0.055239204317331314,
0.029852254316210747,
-0.02438901923596859,
-0.016771750524640083,
0.018502335995435715,
0.029733749106526375,
0.03902585431933403,
0.00574398273602128,
-0.02747430093586445,
0.0160432867705822,
-0.028029104694724083,
0.027164913713932037,
-0.05653683468699455,
0.04362016171216965,
-0.02425627037882805,
0.014643547125160694,
-0.004290214739739895,
-0.0009545378852635622,
-0.045663755387067795,
0.03909805789589882,
-0.020502764731645584,
-0.006626936607062817,
-0.009945843368768692,
0.030395930632948875,
-0.03425764665007591,
0.020912863314151764,
-0.038913194090127945,
-0.0019030349794775248,
-0.02090265043079853,
0.05542561039328575,
-0.06263567507266998,
0.014358644373714924,
-0.043768610805273056,
0.019832035526633263,
-0.041607122868299484,
-0.025485487654805183,
0.003456140635535121,
-0.03227098286151886,
0.0323968306183815,
0.026037542149424553,
0.013337350450456142,
0.036864735186100006,
-0.029975496232509613,
0.019993752241134644,
0.013231664896011353,
-0.051785945892333984,
-0.01773388311266899,
-0.018112756311893463,
0.00557951582595706,
-0.015484880656003952,
0.06760280579328537,
0.048411887139081955,
-0.052191536873579025,
-0.0730307549238205,
0.035328418016433716,
0.012145135551691055,
-0.006685373838990927,
0.01421462744474411,
0.012460198253393173,
0.004292673896998167,
0.0529230572283268,
-0.03081946261227131,
0.002294025383889675,
-0.020662948489189148,
-0.01423879899084568,
0.01411932148039341,
-0.006624696776270866,
0.027530979365110397,
-0.012510976754128933,
-0.0336519293487072,
-0.03332691267132759,
0.08237769454717636,
0.01870407909154892,
0.037483036518096924,
0.0026574237272143364,
-0.05157982558012009,
0.018501050770282745,
0.005777497310191393,
-0.06551524251699448,
-0.012806973420083523,
0.0150984525680542,
-0.04669472575187683,
0.0909586101770401,
-0.008762896992266178,
0.016934819519519806,
0.042057957500219345,
0.016292573884129524,
-0.026572206988930702,
0.045541875064373016,
-0.014411729760468006,
-0.016375908628106117,
0.028880517929792404,
-0.037874817848205566,
-0.011077459901571274,
-0.011165076866745949,
0.07088524848222733,
-0.03360123559832573,
0.03684964030981064,
0.045686449855566025,
0.001124728238210082,
0.03192751854658127,
-0.05516020208597183,
-0.018138473853468895,
0.04002879559993744,
-0.03716130554676056,
0.08137237280607224,
0.0022013394627720118,
-0.050804611295461655,
0.060925837606191635,
0.026966946199536324,
-0.08785820007324219,
0.043651800602674484,
0.030544908717274666,
0.01101209968328476,
0.013211170211434364,
0.050493109971284866,
-0.04329116269946098,
0.01623726822435856,
-0.03704589232802391,
0.011482090689241886,
-0.05991508066654205,
0.00027404085267335176,
0.01988782174885273,
-0.02680271305143833,
-0.007464464753866196,
0.029269905760884285,
-0.028528103604912758,
-0.01889110542833805,
0.02386569418013096,
-0.06532788276672363,
-0.030517496168613434,
-0.011205332353711128,
0.03328907489776611,
-0.02050091326236725,
0.024611448869109154,
-0.02962656505405903,
0.02022765949368477,
0.01529304776340723,
-0.0075620017014443874,
-0.037069447338581085,
0.013208098709583282,
0.015593337826430798,
-0.06331363320350647,
-0.04969035089015961,
0.013108465820550919,
0.028073595836758614,
-0.03503360599279404,
0.036281995475292206,
-0.008136194199323654,
0.006256755907088518,
0.025485854595899582,
0.005288852844387293,
0.007598401978611946,
-0.031190762296319008,
0.003013308160007,
-0.004000185988843441,
0.02686576545238495,
0.06164050102233887,
-0.018467476591467857,
0.0240823682397604,
0.057419758290052414,
0.03076629713177681,
-0.014558420516550541,
-0.05667458847165108,
-0.024320552125573158,
0.03773936629295349,
-0.04852467030286789,
0.025462931022047997,
0.004329009912908077,
-0.05018109828233719,
-0.03936627134680748,
-0.016177987679839134,
0.006331923883408308,
0.026468003168702126,
-0.04773496091365814,
0.025855068117380142,
0.030711371451616287,
0.007891452871263027,
-0.04711436852812767,
-0.062258463352918625,
-0.010173729620873928,
-0.030733102932572365,
0.02633185312151909,
0.016486231237649918,
-0.02248482033610344,
0.025017153471708298,
-0.036991290748119354,
-0.06798475980758667,
0.04965364187955856,
0.03142288699746132,
-0.05255834758281708,
0.07977815717458725,
0.03621312975883484,
-0.05026121437549591,
0.009186331182718277,
0.04387927055358887,
-0.03179372102022171,
0.027239443734288216,
0.0235828198492527,
-0.0032133362255990505,
0.028150197118520737,
0.04152247682213783,
-0.009438288398087025,
-0.014063707552850246,
-0.07052981853485107,
-0.009982030838727951,
-0.03978211060166359,
0.0004794150299858302,
0.07442758977413177
] |
Bilz/DialoGPT-small-harrypotter | [] | 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-06-24T20:44:49Z | ---
language: tr
license: mit
datasets:
- allenai/c4
---
# πΉπ· Turkish ELECTRA model
<p align="center">
<img alt="Logo provided by Merve Noyan" title="Awesome logo from Merve Noyan" src="https://raw.githubusercontent.com/stefan-it/turkish-bert/master/merve_logo.png">
</p>
[](https://zenodo.org/badge/latestdoi/237817454)
We present community-driven BERT, DistilBERT, ELECTRA and ConvBERT models for Turkish π
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the BERT model name: BERTurk.
Logo is provided by [Merve Noyan](https://twitter.com/mervenoyann).
# Stats
We've also trained an ELECTRA (cased) model on the recently released Turkish part of the
[multiligual C4 (mC4) corpus](https://github.com/allenai/allennlp/discussions/5265) from the AI2 team.
After filtering documents with a broken encoding, the training corpus has a size of 242GB resulting
in 31,240,963,926 tokens.
We used the original 32k vocab (instead of creating a new one).
# mC4 ELECTRA
In addition to the ELEC**TR**A base model, we also trained an ELECTRA model on the Turkish part of the mC4 corpus. We use a
sequence length of 512 over the full training time and train the model for 1M steps on a v3-32 TPU.
# Model usage
All trained models can be used from the [DBMDZ](https://github.com/dbmdz) Hugging Face [model hub page](https://huggingface.co/dbmdz)
using their model name.
Example usage with π€/Transformers:
```python
tokenizer = AutoTokenizer.from_pretrained("dbmdz/electra-base-turkish-mc4-cased-discriminator")
model = AutoModel.from_pretrained("dbmdz/electra-base-turkish-mc4-cased-discriminator")
```
# Citation
You can use the following BibTeX entry for citation:
```bibtex
@software{stefan_schweter_2020_3770924,
author = {Stefan Schweter},
title = {BERTurk - BERT models for Turkish},
month = apr,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.3770924},
url = {https://doi.org/10.5281/zenodo.3770924}
}
```
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
We would like to thank [Merve Noyan](https://twitter.com/mervenoyann) for the
awesome logo!
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
| [
-0.020790597423911095,
-0.0006998551543802023,
-0.011805768124759197,
0.06309227645397186,
0.028239330276846886,
0.023836906999349594,
-0.015561697073280811,
-0.013769655488431454,
-0.03179206699132919,
0.06335904449224472,
0.0001445612870156765,
-0.021557236090302467,
0.013349334709346294,
0.05334928631782532,
-0.03664597496390343,
-0.0038996771909296513,
-0.019431142136454582,
-0.0020738053135573864,
-0.0425635427236557,
-0.0212473776191473,
-0.031165463849902153,
0.010097559541463852,
-0.01460219919681549,
0.025514448061585426,
0.009571501053869724,
0.027746181935071945,
-0.017662759870290756,
0.030065633356571198,
0.029188700020313263,
-0.08171442896127701,
0.03626437112689018,
-0.03479476645588875,
-0.02968529798090458,
-0.01482727937400341,
-0.028972549363970757,
-0.008110152557492256,
0.023855876177549362,
0.0025851335376501083,
0.034971632063388824,
0.04887660592794418,
-0.01225258968770504,
0.01020393893122673,
-0.0032050535082817078,
-0.04020082578063011,
0.03641419857740402,
0.008823463693261147,
-0.055658187717199326,
-0.020603889599442482,
0.024097444489598274,
-0.05671697482466698,
-0.055190954357385635,
-0.049289148300886154,
-0.035033322870731354,
0.03731527552008629,
-0.005507919006049633,
-0.049033887684345245,
-0.05031467229127884,
-0.013781113550066948,
0.06607124954462051,
-0.06130659207701683,
-0.043551310896873474,
0.013888224959373474,
-0.07822735607624054,
0.017106033861637115,
0.039591629058122635,
-0.03221979737281799,
0.013749507255852222,
-0.04449696093797684,
0.021470336243510246,
-0.01904263347387314,
0.03013831004500389,
-0.016840003430843353,
0.002943002386018634,
-0.07185390591621399,
0.001671984908170998,
-0.023259911686182022,
0.026589617133140564,
0.056787099689245224,
-0.033794838935136795,
0.046421002596616745,
0.022821195423603058,
-0.03563828393816948,
0.03914938494563103,
-0.014482175931334496,
-0.015588434413075447,
0.056084632873535156,
-0.023276375606656075,
0.013623015955090523,
-0.0017647682689130306,
0.043232277035713196,
-0.04000916704535484,
-0.02734456956386566,
-0.021671272814273834,
-0.033204734325408936,
-0.00687981303781271,
0.031543537974357605,
0.026155823841691017,
0.013429723680019379,
0.02844567969441414,
0.02135147713124752,
0.016951683908700943,
0.03202274069190025,
-0.036395687609910965,
0.04367832466959953,
-0.019053714349865913,
-0.029197795316576958,
-0.02146490104496479,
-0.049931079149246216,
-0.06423836201429367,
0.03697088360786438,
0.027038780972361565,
-0.047618649899959564,
-0.046378593891859055,
0.03550092875957489,
-0.012360334396362305,
-0.043637726455926895,
0.04619795083999634,
-0.03779837116599083,
-0.013209767639636993,
-0.022051703184843063,
0.023705782368779182,
-0.0073333969339728355,
-0.010158597491681576,
-0.02025221474468708,
-0.06425662338733673,
0.03506048768758774,
-0.03604814410209656,
-0.026059528812766075,
0.014882485382258892,
0.02464361861348152,
-0.010301774367690086,
0.050485480576753616,
0.02675064653158188,
-0.07160376012325287,
0.009564659558236599,
0.010730917565524578,
-0.0454324372112751,
0.04721326008439064,
0.03369832783937454,
0.10250942409038544,
-0.044032804667949677,
-0.051701948046684265,
-0.00044254897511564195,
0.026330038905143738,
-0.03085542470216751,
0.0014748804969713092,
0.03707922622561455,
-0.015209512785077095,
-0.025632303208112717,
-0.010259472765028477,
0.04679874703288078,
-0.07516898214817047,
0.0027686224784702063,
0.05783563479781151,
-0.019191762432456017,
0.04009143263101578,
-0.0509101040661335,
-0.025357352569699287,
-0.016994541510939598,
0.014998631551861763,
-0.039729658514261246,
0.02983328327536583,
-0.002654514741152525,
-0.021617893129587173,
-0.03594116121530533,
-0.041513945907354355,
0.024574199691414833,
0.08173807710409164,
-0.010128038935363293,
-0.022403623908758163,
-0.03790196031332016,
0.015541460365056992,
0.059286024421453476,
0.025043252855539322,
-0.012461482547223568,
0.031320542097091675,
0.045618314296007156,
0.04347693920135498,
-0.019790226593613625,
0.06433198601007462,
0.010685513727366924,
-0.031836628913879395,
-0.007767545524984598,
-0.008006150834262371,
0.014631861820816994,
-0.030602024868130684,
0.021096352487802505,
0.05465206876397133,
0.014079868793487549,
-0.02919568121433258,
-0.018839707598090172,
0.056393299251794815,
-0.0107664093375206,
0.00997326709330082,
0.004120605066418648,
-0.025952547788619995,
-0.05070056766271591,
0.04378720000386238,
-0.025467609986662865,
-0.003224930725991726,
-0.03024304285645485,
-0.004962940234690905,
0.014291367493569851,
0.03367926552891731,
0.04699824005365372,
0.051915984600782394,
-0.008965286426246166,
0.07819439470767975,
-0.053863588720560074,
-0.0006633350858464837,
-0.05746561288833618,
-0.0397232249379158,
-0.0008442516555078328,
0.03589785844087601,
0.06608045101165771,
0.04723651334643364,
-0.0007293467060662806,
-0.03921627253293991,
0.041149720549583435,
0.08244795352220535,
0.056156594306230545,
0.008594674058258533,
-0.017504321411252022,
-0.015289830975234509,
0.04309345781803131,
0.062011782079935074,
-0.04976165294647217,
-0.039147309958934784,
0.013970213010907173,
0.04662012681365013,
-0.003913015127182007,
0.013113579712808132,
-0.028687719255685806,
0.026474570855498314,
-0.01997488923370838,
-0.07097191363573074,
0.06366649270057678,
0.030891139060258865,
-0.01099193561822176,
0.021266303956508636,
-0.014224383048713207,
0.021513426676392555,
-0.011850587092339993,
0.018681200221180916,
-0.0011497692903503776,
-0.03333640843629837,
0.006962860934436321,
0.019278643652796745,
0.06088590994477272,
-0.0469360426068306,
0.030271222814917564,
0.010011380538344383,
0.00871310569345951,
0.02896401472389698,
-0.04140346497297287,
0.03596263378858566,
0.0355941541492939,
0.026616131886839867,
-0.04025359824299812,
0.03003997541964054,
-0.0024962190072983503,
0.04080978408455849,
0.05255290865898132,
-0.014027917757630348,
0.030078111216425896,
0.01863189972937107,
0.04157426208257675,
0.06809079647064209,
0.026644347235560417,
0.013933466747403145,
0.019065596163272858,
0.07397019863128662,
0.02330588921904564,
-0.005179380998015404,
0.0817948505282402,
-0.045762836933135986,
0.008525320328772068,
-0.06438890844583511,
0.015332878567278385,
0.014122754335403442,
-0.008107144385576248,
0.051661890000104904,
-0.0021441669669002295,
0.0009704052936285734,
0.0060526225715875626,
-0.0033474110532552004,
0.0031503518112003803,
0.06194926053285599,
-0.01333135087043047,
0.009269386529922485,
-0.006718462333083153,
-0.041998282074928284,
0.0020980644039809704,
-0.055178310722112656,
-0.03968070074915886,
-0.02375556156039238,
-0.05012482777237892,
0.0007998967776075006,
-0.08822165429592133,
-0.014317448250949383,
-0.043065521866083145,
-0.004285076167434454,
0.03206842392683029,
0.006726913154125214,
0.012167125009000301,
-0.023634495213627815,
0.0052317166700959206,
-0.045994751155376434,
-0.04976872354745865,
-0.048852238804101944,
-0.05794607847929001,
-0.04478802904486656,
-0.048238605260849,
0.031043099239468575,
0.024328816682100296,
0.032915133982896805,
0.0040279231034219265,
0.01381265465170145,
-0.03857257217168808,
-0.03545760735869408,
0.01494513638317585,
0.034712690860033035,
-0.025421133264899254,
-0.043257176876068115,
0.010462417267262936,
-0.016915181651711464,
0.0006554286228492856,
-0.0006728042499162257,
-0.02753385715186596,
0.08965520560741425,
0.08610551059246063,
0.01684040017426014,
0.009976156055927277,
0.017344580963253975,
-0.06490162014961243,
-0.04632590711116791,
-0.04102395102381706,
-0.03349989280104637,
0.012171702459454536,
-0.02989177219569683,
-0.05057058483362198,
-0.03091544844210148,
-0.03862197324633598,
0.00037796166725456715,
0.00012496304407250136,
0.015549260191619396,
0.015006250701844692,
0.04542003944516182,
0.03730570152401924,
0.026709415018558502,
-0.011098156683146954,
-0.010145025327801704,
0.07827609777450562,
0.010433142073452473,
0.014182820916175842,
-0.05239253118634224,
-0.04016081616282463,
0.04909722879528999,
0.030495528131723404,
-0.015301700681447983,
-0.010295490734279156,
0.09114426374435425,
0.009217241778969765,
-0.012324383482336998,
-0.02252417430281639,
-0.023198923096060753,
-0.04525250568985939,
-0.0016583303222432733,
0.015603517182171345,
-0.006689119152724743,
-0.06008816510438919,
-0.025976987555623055,
0.0025032260455191135,
0.07080817222595215,
-0.05993131548166275,
-0.04149659350514412,
-0.03837117552757263,
0.04564844071865082,
0.014348261058330536,
0.02058796025812626,
-0.043723657727241516,
0.024614274501800537,
-0.06676039099693298,
-0.0350525788962841,
-0.005217661615461111,
0.00785104464739561,
0.03444591164588928,
0.06439857929944992,
0.008393700234591961,
-0.029551493003964424,
0.06119665503501892,
0.03579222038388252,
0.07946132868528366,
0.010414003394544125,
-0.03375338017940521,
0.012153835967183113,
-0.054721154272556305,
0.004217876587063074,
0.006963510997593403,
-0.05013962462544441,
-0.06714770197868347,
-0.07515173405408859,
-0.019465800374746323,
-0.009624240919947624,
-0.016751889139413834,
-0.013887375593185425,
0.045114487409591675,
0.002867870032787323,
-0.0007241142448037863,
-0.0002570142096374184,
0.019544849172234535,
0.012677265331149101,
-0.03674716129899025,
0.0617755763232708,
-0.006626370828598738,
0.02682015858590603,
-0.05486829951405525,
0.013227817602455616,
-0.03114638663828373,
-0.03263967111706734,
-0.008867821656167507,
0.039063964039087296,
0.038575295358896255,
0.04553428664803505,
0.08154381811618805,
0.031397417187690735,
-0.04204326122999191,
0.05560402199625969,
0.03101279027760029,
-0.003796673845499754,
-0.049032215029001236,
-0.02642199397087097,
-0.0010784604819491506,
-0.02441203035414219,
-0.02274264767765999,
-0.012037723325192928,
0.012057519517838955,
0.04242822527885437,
0.012200163677334785,
0.0020101408008486032,
0.026755690574645996,
-0.03238949179649353,
-0.01972240023314953,
-0.07488588988780975,
-0.0286655742675066,
0.022206394001841545,
-0.01598885841667652,
0.010054664686322212,
0.03567662835121155,
0.007219916675239801,
0.0716831162571907,
0.03578322380781174,
-0.012087294831871986,
-0.06371266394853592,
0.02942650020122528,
0.03608977422118187,
-0.032971255481243134,
-0.0691065713763237,
-0.043511196970939636,
0.04446777328848839,
0.051692310720682144,
0.012151217088103294,
-0.08842925727367401,
0.014796148054301739,
0.029898783192038536,
-0.03664349019527435,
0.06279432773590088,
-0.0023426655679941177,
0.039442624896764755,
0.04049377888441086,
-0.005043851677328348,
0.015444321557879448,
-0.03692854940891266,
-0.0019137620693072677,
0.001550816697999835,
0.021214809268712997,
-0.04413961246609688,
-0.031836505979299545,
-0.0338958315551281,
0.015775784850120544,
0.033192820847034454,
0.025194529443979263,
0.03687721863389015,
-0.03162715956568718,
-0.04856768250465393,
0.02498532272875309,
0.04645857587456703,
-0.06553114205598831,
0.014097832143306732,
0.018173115327954292,
0.035074781626462936,
-0.04607351869344711,
-0.0429915189743042,
-0.01183180883526802,
-0.005801267921924591,
0.02831668220460415,
0.023788122460246086,
-0.033068787306547165,
-0.06333213299512863,
0.002803474199026823,
-0.045445118099451065,
-0.011430655606091022,
-0.08508890122175217,
0.01579747162759304,
-0.019214194267988205,
-0.019016845151782036,
0.029738638550043106,
0.02850157581269741,
0.03923169896006584,
0.04699559509754181,
-0.010040441527962685,
-0.002229104982689023,
-0.04489275813102722,
0.035745155066251755,
-0.036303769797086716,
0.010607418604195118,
-0.0033364053815603256,
-0.037617407739162445,
0.005322097800672054,
-0.04193423315882683,
-0.04093131422996521,
-0.04921259358525276,
0.004354538861662149,
0.03636530041694641,
-0.025790618732571602,
0.02438337914645672,
-0.0025596667546778917,
0.05035790801048279,
-0.03931572288274765,
-0.0320817269384861,
-0.02955036424100399,
-0.006776479072868824,
-0.06050257384777069,
-0.045842766761779785,
-0.0032427203841507435,
-0.01937152072787285,
0.03451608121395111,
-0.006874928716570139,
0.034288812428712845,
-0.01812952756881714,
-0.008525754325091839,
-0.03127601370215416,
0.010357549414038658,
-0.006290509831160307,
-0.02176172472536564,
-0.025005843490362167,
-0.00022969910060055554,
-0.0027840116526931524,
0.059170570224523544,
-0.0274221021682024,
0.030138786882162094,
0.028568753972649574,
-0.014922077767550945,
-0.0034087132662534714,
0.01243777945637703,
0.028499145060777664,
-0.07278486341238022,
-0.054892320185899734,
-0.03112688474357128,
-0.03778299689292908,
0.03250560536980629,
-0.029052559286355972,
-0.018742810934782028,
0.03995032608509064,
0.01723344624042511,
0.03864910826086998,
-0.002075255149975419,
-0.03980894014239311,
0.00512235052883625,
-0.007433309219777584,
0.017568198963999748,
-0.06173072010278702,
0.045874807983636856,
-0.031101098284125328,
0.007833811454474926,
-0.01056776475161314,
-0.0013108111452311277,
-0.04881658777594566,
0.024641074240207672,
-0.024566542357206345,
-0.0069983527064323425,
-0.008611001074314117,
0.029362475499510765,
-0.03629573807120323,
0.024350985884666443,
-0.03071020357310772,
0.010074933059513569,
-0.019173886626958847,
0.07680057734251022,
-0.06306611746549606,
-0.005280463490635157,
-0.04395643621683121,
0.016084862872958183,
-0.04739024117588997,
-0.011693492531776428,
0.0005556019023060799,
-0.04654238000512123,
0.023033009842038155,
0.02312437817454338,
0.023901404812932014,
0.05196620523929596,
-0.033602334558963776,
0.003005638485774398,
0.002798604778945446,
-0.044818632304668427,
-0.02245097979903221,
-0.021101994439959526,
0.006182552315294743,
-0.030411019921302795,
0.06794261187314987,
0.04193676635622978,
-0.04485814645886421,
-0.0626743733882904,
0.037328317761421204,
0.008403146639466286,
0.015326607041060925,
0.007907768711447716,
0.020896824076771736,
0.014088433235883713,
0.05838162079453468,
-0.024482954293489456,
0.008158002980053425,
0.005335218273103237,
-0.01713460125029087,
0.00393864419311285,
0.00044745250488631427,
0.006066506262868643,
-0.0010839344467967749,
-0.034569598734378815,
-0.04820980131626129,
0.07034166157245636,
0.023467713966965675,
0.028033902868628502,
0.010377582162618637,
-0.04456569254398346,
0.024162400513887405,
0.021006230264902115,
-0.0715663880109787,
0.003042622236534953,
-0.008711020462214947,
-0.030992301180958748,
0.07251083105802536,
-0.017905235290527344,
0.02996308170258999,
0.05170368030667305,
-0.00007510341674787924,
-0.04022535681724548,
0.026376228779554367,
-0.022734196856617928,
0.010879970155656338,
0.03832908719778061,
-0.05416914448142052,
-0.0006183916702866554,
-0.0283354539424181,
0.05239986255764961,
-0.05746367573738098,
0.053531140089035034,
0.051682665944099426,
-0.005613593850284815,
0.033915139734745026,
-0.05230413377285004,
-0.01589338481426239,
0.03438619524240494,
-0.014037859626114368,
0.06905683875083923,
0.010146407410502434,
-0.04809953272342682,
0.04171958565711975,
0.022282226011157036,
-0.07073818892240524,
0.050066132098436356,
0.04333968833088875,
0.027437834069132805,
0.010756062343716621,
0.060866519808769226,
-0.034356582909822464,
0.01832043193280697,
-0.03057735785841942,
0.019078213721513748,
-0.06408774107694626,
-0.019110284745693207,
0.025055957958102226,
-0.044110529124736786,
-0.014206862077116966,
0.03196807578206062,
-0.02908181957900524,
-0.022876771166920662,
0.031144533306360245,
-0.05844380334019661,
-0.03254719823598862,
0.004080167040228844,
0.024649033322930336,
-0.008058508858084679,
0.015075365081429482,
-0.03203814849257469,
0.03245856612920761,
0.008387037552893162,
-0.013830170966684818,
-0.023881038650870323,
0.004468651954084635,
0.018215492367744446,
-0.05757242813706398,
-0.043048642575740814,
0.0434761568903923,
0.019423486664891243,
-0.01986389234662056,
0.024514460936188698,
-0.012161048129200935,
-0.013818137347698212,
0.03035132586956024,
-0.0036357745993882418,
0.008214631117880344,
-0.030790721997618675,
-0.005475044250488281,
0.013619452714920044,
0.023039842024445534,
0.04086771607398987,
-0.01661747135221958,
0.03801574558019638,
0.06708281487226486,
0.04567288979887962,
0.004074339754879475,
-0.03954299911856651,
-0.03133506700396538,
0.04383572190999985,
-0.055496565997600555,
0.015945082530379295,
-0.014086129143834114,
-0.05275775119662285,
-0.03455916419625282,
-0.014839482493698597,
-0.011754387058317661,
0.043945398181676865,
-0.0536467619240284,
0.034116826951503754,
0.02629939839243889,
-0.017844265326857567,
-0.04511785879731178,
-0.08020992577075958,
-0.003871576627716422,
-0.047529447823762894,
0.03443660959601402,
0.02178163081407547,
-0.035877879709005356,
0.026954203844070435,
-0.033182814717292786,
-0.04401542991399765,
0.04708737134933472,
0.030204717069864273,
-0.050031326711177826,
0.0649060532450676,
0.04182279482483864,
-0.06699243932962418,
0.0035784130450338125,
0.04013970121741295,
-0.05037972331047058,
0.024668540805578232,
0.021575061604380608,
0.005057012662291527,
0.013016479089856148,
0.02765592932701111,
-0.03719903156161308,
-0.02548012137413025,
-0.07552742213010788,
-0.03003654256463051,
-0.027943983674049377,
0.0061814808286726475,
0.08470692485570908
] |
Binbin/test | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | null | ---
language: tr
license: mit
datasets:
- allenai/c4
---
# πΉπ· Turkish ELECTRA model
<p align="center">
<img alt="Logo provided by Merve Noyan" title="Awesome logo from Merve Noyan" src="https://raw.githubusercontent.com/stefan-it/turkish-bert/master/merve_logo.png">
</p>
[](https://zenodo.org/badge/latestdoi/237817454)
We present community-driven BERT, DistilBERT, ELECTRA and ConvBERT models for Turkish π
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the BERT model name: BERTurk.
Logo is provided by [Merve Noyan](https://twitter.com/mervenoyann).
# Stats
We've also trained an ELECTRA (uncased) model on the recently released Turkish part of the
[multiligual C4 (mC4) corpus](https://github.com/allenai/allennlp/discussions/5265) from the AI2 team.
After filtering documents with a broken encoding, the training corpus has a size of 242GB resulting
in 31,240,963,926 tokens.
We used the original 32k vocab (instead of creating a new one).
# mC4 ELECTRA
In addition to the ELEC**TR**A base cased model, we also trained an ELECTRA uncased model on the Turkish part of the mC4 corpus. We use a
sequence length of 512 over the full training time and train the model for 1M steps on a v3-32 TPU.
# Model usage
All trained models can be used from the [DBMDZ](https://github.com/dbmdz) Hugging Face [model hub page](https://huggingface.co/dbmdz)
using their model name.
Example usage with π€/Transformers:
```python
tokenizer = AutoTokenizer.from_pretrained("electra-base-turkish-mc4-uncased-discriminator")
model = AutoModel.from_pretrained("electra-base-turkish-mc4-uncased-discriminator")
```
# Citation
You can use the following BibTeX entry for citation:
```bibtex
@software{stefan_schweter_2020_3770924,
author = {Stefan Schweter},
title = {BERTurk - BERT models for Turkish},
month = apr,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.3770924},
url = {https://doi.org/10.5281/zenodo.3770924}
}
```
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
We would like to thank [Merve Noyan](https://twitter.com/mervenoyann) for the
awesome logo!
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ | [
-0.014860156923532486,
0.0002912137715611607,
-0.023701010271906853,
0.06431900709867477,
0.03326774388551712,
0.028621062636375427,
-0.006196157541126013,
-0.010708976536989212,
-0.039892036467790604,
0.06186201795935631,
0.005943747702986002,
-0.01956748589873314,
0.0007096006884239614,
0.055545974522829056,
-0.04865401238203049,
-0.01009164284914732,
-0.011418511159718037,
-0.0024137848522514105,
-0.049308277666568756,
-0.025631606578826904,
-0.03261025622487068,
-0.00022470913245342672,
-0.010745224542915821,
0.023666206747293472,
0.009174580685794353,
0.01622452773153782,
-0.020022431388497353,
0.0371427945792675,
0.03342684358358383,
-0.07929353415966034,
0.03331570327281952,
-0.02424141950905323,
-0.032089218497276306,
-0.01972450315952301,
-0.03021140769124031,
-0.013542402535676956,
0.0256942305713892,
0.0007811234681867063,
0.03678194805979729,
0.04813077300786972,
-0.017458297312259674,
0.01073711272329092,
0.004618385806679726,
-0.050011176615953445,
0.03987845405936241,
0.012002740986645222,
-0.05181382596492767,
-0.019574016332626343,
0.028147684410214424,
-0.06328672170639038,
-0.06593640148639679,
-0.05235501006245613,
-0.03402581065893173,
0.036449696868658066,
-0.006226371042430401,
-0.04497009515762329,
-0.04760098084807396,
-0.00886602234095335,
0.06299921125173569,
-0.05970865488052368,
-0.04115612432360649,
0.017699800431728363,
-0.082158662378788,
0.01460309885442257,
0.042192403227090836,
-0.02216772735118866,
0.010010013356804848,
-0.04935610666871071,
0.02880081720650196,
-0.010819518938660622,
0.02855481207370758,
-0.013246609829366207,
-0.00038763677002862096,
-0.06276793777942657,
-0.0018840119009837508,
-0.023147745057940483,
0.01963776908814907,
0.054536186158657074,
-0.0433519072830677,
0.046701088547706604,
0.02172471396625042,
-0.031089039519429207,
0.0383981391787529,
-0.02187925949692726,
-0.01492567453533411,
0.05468088388442993,
-0.018094606697559357,
0.007171591743826866,
-0.0029802049975842237,
0.047005653381347656,
-0.04383224993944168,
-0.027386829257011414,
-0.017247335985302925,
-0.029852526262402534,
-0.0039772940799593925,
0.027378087863326073,
0.02999006398022175,
0.014154002070426941,
0.016384778544306755,
0.02095383033156395,
0.024515017867088318,
0.02719276212155819,
-0.035224661231040955,
0.03951720893383026,
-0.01333995908498764,
-0.01987782120704651,
-0.015453828498721123,
-0.050176218152046204,
-0.0562138706445694,
0.04026072472333908,
0.027896448969841003,
-0.04992679879069328,
-0.040262117981910706,
0.03501051664352417,
-0.0025482941418886185,
-0.035366497933864594,
0.04350147768855095,
-0.024534234777092934,
-0.023386823013424873,
-0.018473505973815918,
0.02647210843861103,
-0.007992628961801529,
-0.0030405749566853046,
-0.0098741939291358,
-0.050948671996593475,
0.03516675904393196,
-0.050411444157361984,
-0.02641228400170803,
0.007252153474837542,
0.02946244552731514,
-0.012547650374472141,
0.05628307908773422,
0.02789880707859993,
-0.07684845477342606,
0.014353949576616287,
0.007358771748840809,
-0.05048593506217003,
0.05314108729362488,
0.029530884698033333,
0.09359072148799896,
-0.04677082598209381,
-0.05174194276332855,
0.0006015851395204663,
0.019526273012161255,
-0.027041971683502197,
0.0038468441925942898,
0.02413845993578434,
-0.013137150555849075,
-0.022087669000029564,
-0.006951599381864071,
0.04695701599121094,
-0.0736382007598877,
0.005373226944357157,
0.05497888848185539,
-0.02089890092611313,
0.041918884962797165,
-0.04890600964426994,
-0.01981094293296337,
-0.010635591112077236,
0.016871683299541473,
-0.047125715762376785,
0.029255198314785957,
0.0010667088208720088,
-0.016974229365587234,
-0.030446749180555344,
-0.03984636068344116,
0.021551303565502167,
0.0925067588686943,
-0.0066554006189107895,
-0.024949759244918823,
-0.029820283874869347,
0.010410134680569172,
0.053091105073690414,
0.026319509372115135,
-0.022605571895837784,
0.03738296777009964,
0.03822951018810272,
0.039256948977708817,
-0.018088040873408318,
0.06718412786722183,
0.012362922541797161,
-0.03059668093919754,
-0.008760547265410423,
0.006818912923336029,
0.010994035750627518,
-0.030310023576021194,
0.01053484808653593,
0.053006839007139206,
0.008853585459291935,
-0.032474126666784286,
-0.01786245033144951,
0.06311435997486115,
-0.0004427188541740179,
0.015313894487917423,
0.01317506842315197,
-0.012992196716368198,
-0.057745400816202164,
0.041585203260183334,
-0.033611834049224854,
-0.005683593917638063,
-0.030646031722426414,
-0.0021019442938268185,
0.0019168771104887128,
0.03163335844874382,
0.048843637108802795,
0.058746423572301865,
-0.0011430635349825025,
0.08359009027481079,
-0.05419867858290672,
-0.006711948197335005,
-0.05630624666810036,
-0.04239066690206528,
-0.008228275924921036,
0.042236827313899994,
0.05450313910841942,
0.03815218061208725,
-0.0024748705327510834,
-0.04016203060746193,
0.052761804312467575,
0.08057519793510437,
0.047034136950969696,
0.008257422596216202,
-0.015334012918174267,
-0.014369213953614235,
0.035973913967609406,
0.058662693947553635,
-0.044352706521749496,
-0.047659073024988174,
0.014667185954749584,
0.0564214251935482,
-0.011645380407571793,
0.014727722853422165,
-0.024265451356768608,
0.015033331699669361,
-0.019427958875894547,
-0.06893152743577957,
0.05425070598721504,
0.024108711630105972,
-0.010788044892251492,
0.01437357161194086,
-0.006689654663205147,
0.016424043104052544,
-0.009813802316784859,
0.024735333397984505,
0.0020572005305439234,
-0.03488077223300934,
0.009674315340816975,
0.02086891233921051,
0.053093072026968,
-0.05200362205505371,
0.028452740982174873,
0.004102909006178379,
0.002707007573917508,
0.031766802072525024,
-0.04161083325743675,
0.03721024841070175,
0.025221051648259163,
0.034738559275865555,
-0.047279562801122665,
0.029878104105591774,
-0.006562918424606323,
0.02940777689218521,
0.06673593074083328,
-0.0017723094206303358,
0.029251020401716232,
0.01512842532247305,
0.045834701508283615,
0.062148332595825195,
0.03167067840695381,
0.015247287228703499,
0.023084165528416634,
0.0757497102022171,
0.023190125823020935,
-0.007699575740844011,
0.08119785040616989,
-0.050055503845214844,
0.010015967302024364,
-0.07172808051109314,
0.018532175570726395,
0.014491143636405468,
-0.013349379412829876,
0.05399927496910095,
0.0005315137095749378,
-0.005468715913593769,
0.018241511657834053,
-0.005043343640863895,
0.009176380932331085,
0.04868532717227936,
-0.011427820660173893,
0.013765665702521801,
-0.002520614769309759,
-0.03949400782585144,
0.005280548706650734,
-0.053500495851039886,
-0.035584457218647,
-0.03159816190600395,
-0.046643827110528946,
0.007818122394382954,
-0.08923599869012833,
-0.014960349537432194,
-0.04631316661834717,
-0.0002983414160553366,
0.042613834142684937,
0.0036842836998403072,
0.005593018606305122,
-0.013126859441399574,
0.0072717987932264805,
-0.04739430546760559,
-0.04423747956752777,
-0.0504966676235199,
-0.06033847853541374,
-0.04687342420220375,
-0.052353546023368835,
0.0337626151740551,
0.020840317010879517,
0.02115546725690365,
0.009257071651518345,
0.016124870628118515,
-0.031687378883361816,
-0.03296627849340439,
0.0071747018955647945,
0.03522322699427605,
-0.027913250029087067,
-0.03273729979991913,
0.020392410457134247,
-0.02068973518908024,
0.008756306953728199,
0.0010426125954836607,
-0.034714728593826294,
0.08465786278247833,
0.08933337032794952,
0.014260276220738888,
0.008377849124372005,
0.02282087504863739,
-0.07429465651512146,
-0.05699591711163521,
-0.036811988800764084,
-0.022965773940086365,
0.01471620798110962,
-0.0314759835600853,
-0.04392389953136444,
-0.0345667228102684,
-0.04925626143813133,
0.004049211740493774,
0.0026285455096513033,
0.01697026565670967,
0.024844340980052948,
0.047775864601135254,
0.03488549590110779,
0.0238236915320158,
-0.016015110537409782,
-0.00906512513756752,
0.07573866844177246,
0.01184286829084158,
0.011626970954239368,
-0.05291573330760002,
-0.03603926673531532,
0.04988231137394905,
0.029691196978092194,
-0.012691567651927471,
-0.006381199695169926,
0.08858108520507812,
0.011228886432945728,
-0.006264971103519201,
-0.017611270770430565,
-0.02571214735507965,
-0.039362505078315735,
-0.0016130118165165186,
0.011001231148838997,
-0.015088611282408237,
-0.057004231959581375,
-0.025371158495545387,
0.004295699764043093,
0.06625329703092575,
-0.061284855008125305,
-0.0417044498026371,
-0.030696973204612732,
0.047221433371305466,
0.00623561954125762,
0.022441599518060684,
-0.0427791103720665,
0.023689206689596176,
-0.05829819664359093,
-0.04650168865919113,
-0.004286667797714472,
0.015751201659440994,
0.025865960866212845,
0.06262418627738953,
0.005962742958217859,
-0.0334896594285965,
0.06488950550556183,
0.03524354100227356,
0.06973360478878021,
0.011962776072323322,
-0.03946936875581741,
0.016625501215457916,
-0.05770660191774368,
0.0027294440660625696,
0.00009146144293481484,
-0.05343710631132126,
-0.05842329189181328,
-0.07143277674913406,
-0.023019498214125633,
-0.005397128406912088,
-0.01709522120654583,
-0.021007342264056206,
0.032004330307245255,
0.00523366779088974,
-0.0002973334048874676,
-0.009210317395627499,
0.02463052235543728,
0.012871498242020607,
-0.032063424587249756,
0.06286640465259552,
-0.010512842796742916,
0.030766095966100693,
-0.059278279542922974,
0.003315213369205594,
-0.03380967676639557,
-0.03199532628059387,
-0.004925052169710398,
0.0408918596804142,
0.0306465532630682,
0.04436264932155609,
0.09571050107479095,
0.029643768444657326,
-0.03630048409104347,
0.05444284901022911,
0.035583339631557465,
-0.00249692564830184,
-0.04580515995621681,
-0.030522437766194344,
-0.002556008053943515,
-0.030298316851258278,
-0.010634226724505424,
-0.024751972407102585,
0.018969714641571045,
0.031044851988554,
0.007549115922302008,
0.005017043091356754,
0.018606266006827354,
-0.02203633263707161,
-0.033439524471759796,
-0.07147125154733658,
-0.034852124750614166,
0.027504319325089455,
-0.020572355017066002,
0.010007752105593681,
0.03893546760082245,
0.010407557711005211,
0.07557693123817444,
0.03261559084057808,
-0.014812903478741646,
-0.04851653426885605,
0.02667211927473545,
0.03432055935263634,
-0.03237512707710266,
-0.06757213175296783,
-0.035166505724191666,
0.04568657651543617,
0.057644475251436234,
0.004180696792900562,
-0.0995883122086525,
0.012776513583958149,
0.039819929748773575,
-0.02473621629178524,
0.07272116094827652,
-0.00017498161469120532,
0.0384577214717865,
0.037176597863435745,
-0.016533778980374336,
0.006213421933352947,
-0.03756575286388397,
-0.003328371560201049,
-0.0056739626452326775,
0.022734511643648148,
-0.04090498015284538,
-0.03789098933339119,
-0.020724479109048843,
0.017916496843099594,
0.03190132603049278,
0.025442149490118027,
0.030003968626260757,
-0.029621170833706856,
-0.05037558823823929,
0.026464354246854782,
0.04126172885298729,
-0.06673946231603622,
0.009798625484108925,
0.019870540127158165,
0.03089405968785286,
-0.0497191920876503,
-0.03755439445376396,
-0.019345253705978394,
-0.0030720396898686886,
0.027234619483351707,
0.020796770229935646,
-0.028091663494706154,
-0.07293566316366196,
0.009149814955890179,
-0.04542648419737816,
-0.008732750080525875,
-0.09523403644561768,
0.02166261337697506,
-0.023888740688562393,
-0.025223558768630028,
0.04026041552424431,
0.03128945827484131,
0.035640962421894073,
0.05481754615902901,
-0.009937862865626812,
0.0014987146714702249,
-0.03895767405629158,
0.03899015113711357,
-0.03096994385123253,
0.013718237169086933,
-0.0020346608944237232,
-0.03241734951734543,
0.0008804876706562936,
-0.031619440764188766,
-0.04022178798913956,
-0.049420736730098724,
0.0038796921726316214,
0.027790052816271782,
-0.02243930660188198,
0.01818978786468506,
-0.008314681239426136,
0.06063668429851532,
-0.040401969105005264,
-0.03591584041714668,
-0.03329598531126976,
-0.008892933838069439,
-0.06846266239881516,
-0.04249977692961693,
-0.0115883257240057,
-0.009947339072823524,
0.043362729251384735,
-0.0073726908303797245,
0.028074147179722786,
-0.017108039930462837,
-0.016190236434340477,
-0.032298121601343155,
0.013687273487448692,
-0.0003888361679855734,
-0.01739996112883091,
-0.030950473621487617,
0.0030406382866203785,
-0.0038024545647203922,
0.05124666541814804,
-0.02409469522535801,
0.03599833697080612,
0.03120005875825882,
-0.016170237213373184,
0.007887348532676697,
0.01349479891359806,
0.030951719731092453,
-0.07057453691959381,
-0.06055165082216263,
-0.036525022238492966,
-0.048322953283786774,
0.03883270546793938,
-0.024919452145695686,
-0.02281399816274643,
0.029762981459498405,
0.02237686701118946,
0.03549164906144142,
0.008544974960386753,
-0.03925294801592827,
0.0072862557135522366,
-0.0048266202211380005,
0.026567908003926277,
-0.054954513907432556,
0.05409789830446243,
-0.026304487138986588,
0.006432468071579933,
-0.003646352794021368,
-0.009625287726521492,
-0.04689529910683632,
0.023221224546432495,
-0.024479957297444344,
-0.004843240603804588,
-0.01565452478826046,
0.02982633002102375,
-0.03507337346673012,
0.02149691991508007,
-0.024643562734127045,
0.007374349515885115,
-0.009674272499978542,
0.07378300279378891,
-0.0729111060500145,
-0.003244552994146943,
-0.05118411034345627,
0.021309126168489456,
-0.034335628151893616,
-0.012415130622684956,
0.0012901093577966094,
-0.0412929393351078,
0.023274557664990425,
0.03263404220342636,
0.017052121460437775,
0.05112973973155022,
-0.03039972297847271,
-0.0013636344810947776,
0.006985526066273451,
-0.044973161071538925,
-0.02184750884771347,
-0.023849373683333397,
0.00837062206119299,
-0.03428439050912857,
0.06713350862264633,
0.0362202487885952,
-0.04825447127223015,
-0.06629811227321625,
0.032672274857759476,
0.008214779198169708,
0.0065850671380758286,
0.00550190731883049,
0.01700853742659092,
0.01854703202843666,
0.060094885528087616,
-0.02470095455646515,
0.007029303815215826,
0.0011514974758028984,
-0.014808513224124908,
-0.003913402557373047,
-0.002279818756505847,
0.0018207497196272016,
-0.01011377852410078,
-0.03410639241337776,
-0.040617071092128754,
0.06954343616962433,
0.02193509042263031,
0.02543879859149456,
0.008295876905322075,
-0.045767687261104584,
0.029903577640652657,
0.017508691176772118,
-0.06590833514928818,
-0.002006535418331623,
-0.004497324116528034,
-0.04449918866157532,
0.07050306349992752,
-0.012848882004618645,
0.029081696644425392,
0.05286175385117531,
0.0034151789732277393,
-0.029699677601456642,
0.03063923679292202,
-0.024429291486740112,
-0.003222026163712144,
0.026810534298419952,
-0.05097182095050812,
0.01060303021222353,
-0.01786607690155506,
0.050298187881708145,
-0.062392979860305786,
0.0430983230471611,
0.04828295856714249,
0.0013685646699741483,
0.030765004456043243,
-0.052531156688928604,
-0.017486993223428726,
0.03776505962014198,
-0.013565649278461933,
0.0712013691663742,
0.011775518767535686,
-0.044056136161088943,
0.046623099595308304,
0.02088860794901848,
-0.07253458350896835,
0.052831947803497314,
0.049866028130054474,
0.03389142453670502,
0.01835612766444683,
0.05868416279554367,
-0.04595416411757469,
0.02374640479683876,
-0.0292506143450737,
0.007345820777118206,
-0.06962566077709198,
-0.010496240109205246,
0.028999384492635727,
-0.037229906767606735,
-0.013712098821997643,
0.036326054483652115,
-0.03257763758301735,
-0.01680690050125122,
0.02438412979245186,
-0.050559595227241516,
-0.0317285880446434,
0.010877735912799835,
0.031894054263830185,
-0.02331949584186077,
0.020006302744150162,
-0.03522278368473053,
0.02968483790755272,
0.004697892349213362,
-0.013278158381581306,
-0.02391645684838295,
0.005502557847648859,
0.016779161989688873,
-0.053965043276548386,
-0.03519943729043007,
0.04422597587108612,
0.024436721578240395,
-0.02266966737806797,
0.03477781265974045,
-0.021571390330791473,
-0.016955045983195305,
0.02474622242152691,
-0.0024116786662489176,
0.0035371966660022736,
-0.039070986211299896,
0.0075254072435200214,
0.008189123123884201,
0.022375060245394707,
0.041328418999910355,
-0.017362965270876884,
0.03712944686412811,
0.06369554251432419,
0.04454570263624191,
-0.008975903503596783,
-0.0358700156211853,
-0.031744979321956635,
0.04404529184103012,
-0.05734304338693619,
0.010871555656194687,
-0.011188805103302002,
-0.05297347158193588,
-0.029766887426376343,
-0.009780734777450562,
-0.009492245502769947,
0.04465591907501221,
-0.060419753193855286,
0.03644253686070442,
0.01748710684478283,
-0.016400126740336418,
-0.0554632730782032,
-0.07310566306114197,
-0.0074343448504805565,
-0.04285331070423126,
0.02362234704196453,
0.01095237024128437,
-0.02901570126414299,
0.024849174544215202,
-0.03040013648569584,
-0.052337683737277985,
0.04137077182531357,
0.028662554919719696,
-0.06142584607005119,
0.0724639892578125,
0.04385300725698471,
-0.06335097551345825,
0.0049783019348979,
0.049732230603694916,
-0.048313647508621216,
0.02855709008872509,
0.021803220734000206,
0.005040849093347788,
0.0154709592461586,
0.03033798560500145,
-0.034673046320676804,
-0.03300148621201515,
-0.07574557512998581,
-0.020945720374584198,
-0.02277502231299877,
0.0001385934738209471,
0.06984072178602219
] |
Biniam/en_ti_translate | [
"pytorch",
"marian",
"text2text-generation",
"transformers",
"translation",
"autotrain_compatible"
] | translation | {
"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
}
}
} | 14 | null | ---
language: tr
license: mit
datasets:
- allenai/c4
---
# πΉπ· Turkish ELECTRA model
<p align="center">
<img alt="Logo provided by Merve Noyan" title="Awesome logo from Merve Noyan" src="https://raw.githubusercontent.com/stefan-it/turkish-bert/master/merve_logo.png">
</p>
[](https://zenodo.org/badge/latestdoi/237817454)
We present community-driven BERT, DistilBERT, ELECTRA and ConvBERT models for Turkish π
Some datasets used for pretraining and evaluation are contributed from the
awesome Turkish NLP community, as well as the decision for the BERT model name: BERTurk.
Logo is provided by [Merve Noyan](https://twitter.com/mervenoyann).
# Stats
We've also trained an ELECTRA (uncased) model on the recently released Turkish part of the
[multiligual C4 (mC4) corpus](https://github.com/allenai/allennlp/discussions/5265) from the AI2 team.
After filtering documents with a broken encoding, the training corpus has a size of 242GB resulting
in 31,240,963,926 tokens.
We used the original 32k vocab (instead of creating a new one).
# mC4 ELECTRA
In addition to the ELEC**TR**A base cased model, we also trained an ELECTRA uncased model on the Turkish part of the mC4 corpus. We use a
sequence length of 512 over the full training time and train the model for 1M steps on a v3-32 TPU.
# Model usage
All trained models can be used from the [DBMDZ](https://github.com/dbmdz) Hugging Face [model hub page](https://huggingface.co/dbmdz)
using their model name.
Example usage with π€/Transformers:
```python
tokenizer = AutoTokenizer.from_pretrained("electra-base-turkish-mc4-uncased-generator")
model = AutoModel.from_pretrained("electra-base-turkish-mc4-uncased-generator")
```
# Citation
You can use the following BibTeX entry for citation:
```bibtex
@software{stefan_schweter_2020_3770924,
author = {Stefan Schweter},
title = {BERTurk - BERT models for Turkish},
month = apr,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.3770924},
url = {https://doi.org/10.5281/zenodo.3770924}
}
```
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
We would like to thank [Merve Noyan](https://twitter.com/mervenoyann) for the
awesome logo!
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ | [
-0.014860156923532486,
0.0002912137715611607,
-0.023701010271906853,
0.06431900709867477,
0.03326774388551712,
0.028621062636375427,
-0.006196157541126013,
-0.010708976536989212,
-0.039892036467790604,
0.06186201795935631,
0.005943747702986002,
-0.01956748589873314,
0.0007096006884239614,
0.055545974522829056,
-0.04865401238203049,
-0.01009164284914732,
-0.011418511159718037,
-0.0024137848522514105,
-0.049308277666568756,
-0.025631606578826904,
-0.03261025622487068,
-0.00022470913245342672,
-0.010745224542915821,
0.023666206747293472,
0.009174580685794353,
0.01622452773153782,
-0.020022431388497353,
0.0371427945792675,
0.03342684358358383,
-0.07929353415966034,
0.03331570327281952,
-0.02424141950905323,
-0.032089218497276306,
-0.01972450315952301,
-0.03021140769124031,
-0.013542402535676956,
0.0256942305713892,
0.0007811234681867063,
0.03678194805979729,
0.04813077300786972,
-0.017458297312259674,
0.01073711272329092,
0.004618385806679726,
-0.050011176615953445,
0.03987845405936241,
0.012002740986645222,
-0.05181382596492767,
-0.019574016332626343,
0.028147684410214424,
-0.06328672170639038,
-0.06593640148639679,
-0.05235501006245613,
-0.03402581065893173,
0.036449696868658066,
-0.006226371042430401,
-0.04497009515762329,
-0.04760098084807396,
-0.00886602234095335,
0.06299921125173569,
-0.05970865488052368,
-0.04115612432360649,
0.017699800431728363,
-0.082158662378788,
0.01460309885442257,
0.042192403227090836,
-0.02216772735118866,
0.010010013356804848,
-0.04935610666871071,
0.02880081720650196,
-0.010819518938660622,
0.02855481207370758,
-0.013246609829366207,
-0.00038763677002862096,
-0.06276793777942657,
-0.0018840119009837508,
-0.023147745057940483,
0.01963776908814907,
0.054536186158657074,
-0.0433519072830677,
0.046701088547706604,
0.02172471396625042,
-0.031089039519429207,
0.0383981391787529,
-0.02187925949692726,
-0.01492567453533411,
0.05468088388442993,
-0.018094606697559357,
0.007171591743826866,
-0.0029802049975842237,
0.047005653381347656,
-0.04383224993944168,
-0.027386829257011414,
-0.017247335985302925,
-0.029852526262402534,
-0.0039772940799593925,
0.027378087863326073,
0.02999006398022175,
0.014154002070426941,
0.016384778544306755,
0.02095383033156395,
0.024515017867088318,
0.02719276212155819,
-0.035224661231040955,
0.03951720893383026,
-0.01333995908498764,
-0.01987782120704651,
-0.015453828498721123,
-0.050176218152046204,
-0.0562138706445694,
0.04026072472333908,
0.027896448969841003,
-0.04992679879069328,
-0.040262117981910706,
0.03501051664352417,
-0.0025482941418886185,
-0.035366497933864594,
0.04350147768855095,
-0.024534234777092934,
-0.023386823013424873,
-0.018473505973815918,
0.02647210843861103,
-0.007992628961801529,
-0.0030405749566853046,
-0.0098741939291358,
-0.050948671996593475,
0.03516675904393196,
-0.050411444157361984,
-0.02641228400170803,
0.007252153474837542,
0.02946244552731514,
-0.012547650374472141,
0.05628307908773422,
0.02789880707859993,
-0.07684845477342606,
0.014353949576616287,
0.007358771748840809,
-0.05048593506217003,
0.05314108729362488,
0.029530884698033333,
0.09359072148799896,
-0.04677082598209381,
-0.05174194276332855,
0.0006015851395204663,
0.019526273012161255,
-0.027041971683502197,
0.0038468441925942898,
0.02413845993578434,
-0.013137150555849075,
-0.022087669000029564,
-0.006951599381864071,
0.04695701599121094,
-0.0736382007598877,
0.005373226944357157,
0.05497888848185539,
-0.02089890092611313,
0.041918884962797165,
-0.04890600964426994,
-0.01981094293296337,
-0.010635591112077236,
0.016871683299541473,
-0.047125715762376785,
0.029255198314785957,
0.0010667088208720088,
-0.016974229365587234,
-0.030446749180555344,
-0.03984636068344116,
0.021551303565502167,
0.0925067588686943,
-0.0066554006189107895,
-0.024949759244918823,
-0.029820283874869347,
0.010410134680569172,
0.053091105073690414,
0.026319509372115135,
-0.022605571895837784,
0.03738296777009964,
0.03822951018810272,
0.039256948977708817,
-0.018088040873408318,
0.06718412786722183,
0.012362922541797161,
-0.03059668093919754,
-0.008760547265410423,
0.006818912923336029,
0.010994035750627518,
-0.030310023576021194,
0.01053484808653593,
0.053006839007139206,
0.008853585459291935,
-0.032474126666784286,
-0.01786245033144951,
0.06311435997486115,
-0.0004427188541740179,
0.015313894487917423,
0.01317506842315197,
-0.012992196716368198,
-0.057745400816202164,
0.041585203260183334,
-0.033611834049224854,
-0.005683593917638063,
-0.030646031722426414,
-0.0021019442938268185,
0.0019168771104887128,
0.03163335844874382,
0.048843637108802795,
0.058746423572301865,
-0.0011430635349825025,
0.08359009027481079,
-0.05419867858290672,
-0.006711948197335005,
-0.05630624666810036,
-0.04239066690206528,
-0.008228275924921036,
0.042236827313899994,
0.05450313910841942,
0.03815218061208725,
-0.0024748705327510834,
-0.04016203060746193,
0.052761804312467575,
0.08057519793510437,
0.047034136950969696,
0.008257422596216202,
-0.015334012918174267,
-0.014369213953614235,
0.035973913967609406,
0.058662693947553635,
-0.044352706521749496,
-0.047659073024988174,
0.014667185954749584,
0.0564214251935482,
-0.011645380407571793,
0.014727722853422165,
-0.024265451356768608,
0.015033331699669361,
-0.019427958875894547,
-0.06893152743577957,
0.05425070598721504,
0.024108711630105972,
-0.010788044892251492,
0.01437357161194086,
-0.006689654663205147,
0.016424043104052544,
-0.009813802316784859,
0.024735333397984505,
0.0020572005305439234,
-0.03488077223300934,
0.009674315340816975,
0.02086891233921051,
0.053093072026968,
-0.05200362205505371,
0.028452740982174873,
0.004102909006178379,
0.002707007573917508,
0.031766802072525024,
-0.04161083325743675,
0.03721024841070175,
0.025221051648259163,
0.034738559275865555,
-0.047279562801122665,
0.029878104105591774,
-0.006562918424606323,
0.02940777689218521,
0.06673593074083328,
-0.0017723094206303358,
0.029251020401716232,
0.01512842532247305,
0.045834701508283615,
0.062148332595825195,
0.03167067840695381,
0.015247287228703499,
0.023084165528416634,
0.0757497102022171,
0.023190125823020935,
-0.007699575740844011,
0.08119785040616989,
-0.050055503845214844,
0.010015967302024364,
-0.07172808051109314,
0.018532175570726395,
0.014491143636405468,
-0.013349379412829876,
0.05399927496910095,
0.0005315137095749378,
-0.005468715913593769,
0.018241511657834053,
-0.005043343640863895,
0.009176380932331085,
0.04868532717227936,
-0.011427820660173893,
0.013765665702521801,
-0.002520614769309759,
-0.03949400782585144,
0.005280548706650734,
-0.053500495851039886,
-0.035584457218647,
-0.03159816190600395,
-0.046643827110528946,
0.007818122394382954,
-0.08923599869012833,
-0.014960349537432194,
-0.04631316661834717,
-0.0002983414160553366,
0.042613834142684937,
0.0036842836998403072,
0.005593018606305122,
-0.013126859441399574,
0.0072717987932264805,
-0.04739430546760559,
-0.04423747956752777,
-0.0504966676235199,
-0.06033847853541374,
-0.04687342420220375,
-0.052353546023368835,
0.0337626151740551,
0.020840317010879517,
0.02115546725690365,
0.009257071651518345,
0.016124870628118515,
-0.031687378883361816,
-0.03296627849340439,
0.0071747018955647945,
0.03522322699427605,
-0.027913250029087067,
-0.03273729979991913,
0.020392410457134247,
-0.02068973518908024,
0.008756306953728199,
0.0010426125954836607,
-0.034714728593826294,
0.08465786278247833,
0.08933337032794952,
0.014260276220738888,
0.008377849124372005,
0.02282087504863739,
-0.07429465651512146,
-0.05699591711163521,
-0.036811988800764084,
-0.022965773940086365,
0.01471620798110962,
-0.0314759835600853,
-0.04392389953136444,
-0.0345667228102684,
-0.04925626143813133,
0.004049211740493774,
0.0026285455096513033,
0.01697026565670967,
0.024844340980052948,
0.047775864601135254,
0.03488549590110779,
0.0238236915320158,
-0.016015110537409782,
-0.00906512513756752,
0.07573866844177246,
0.01184286829084158,
0.011626970954239368,
-0.05291573330760002,
-0.03603926673531532,
0.04988231137394905,
0.029691196978092194,
-0.012691567651927471,
-0.006381199695169926,
0.08858108520507812,
0.011228886432945728,
-0.006264971103519201,
-0.017611270770430565,
-0.02571214735507965,
-0.039362505078315735,
-0.0016130118165165186,
0.011001231148838997,
-0.015088611282408237,
-0.057004231959581375,
-0.025371158495545387,
0.004295699764043093,
0.06625329703092575,
-0.061284855008125305,
-0.0417044498026371,
-0.030696973204612732,
0.047221433371305466,
0.00623561954125762,
0.022441599518060684,
-0.0427791103720665,
0.023689206689596176,
-0.05829819664359093,
-0.04650168865919113,
-0.004286667797714472,
0.015751201659440994,
0.025865960866212845,
0.06262418627738953,
0.005962742958217859,
-0.0334896594285965,
0.06488950550556183,
0.03524354100227356,
0.06973360478878021,
0.011962776072323322,
-0.03946936875581741,
0.016625501215457916,
-0.05770660191774368,
0.0027294440660625696,
0.00009146144293481484,
-0.05343710631132126,
-0.05842329189181328,
-0.07143277674913406,
-0.023019498214125633,
-0.005397128406912088,
-0.01709522120654583,
-0.021007342264056206,
0.032004330307245255,
0.00523366779088974,
-0.0002973334048874676,
-0.009210317395627499,
0.02463052235543728,
0.012871498242020607,
-0.032063424587249756,
0.06286640465259552,
-0.010512842796742916,
0.030766095966100693,
-0.059278279542922974,
0.003315213369205594,
-0.03380967676639557,
-0.03199532628059387,
-0.004925052169710398,
0.0408918596804142,
0.0306465532630682,
0.04436264932155609,
0.09571050107479095,
0.029643768444657326,
-0.03630048409104347,
0.05444284901022911,
0.035583339631557465,
-0.00249692564830184,
-0.04580515995621681,
-0.030522437766194344,
-0.002556008053943515,
-0.030298316851258278,
-0.010634226724505424,
-0.024751972407102585,
0.018969714641571045,
0.031044851988554,
0.007549115922302008,
0.005017043091356754,
0.018606266006827354,
-0.02203633263707161,
-0.033439524471759796,
-0.07147125154733658,
-0.034852124750614166,
0.027504319325089455,
-0.020572355017066002,
0.010007752105593681,
0.03893546760082245,
0.010407557711005211,
0.07557693123817444,
0.03261559084057808,
-0.014812903478741646,
-0.04851653426885605,
0.02667211927473545,
0.03432055935263634,
-0.03237512707710266,
-0.06757213175296783,
-0.035166505724191666,
0.04568657651543617,
0.057644475251436234,
0.004180696792900562,
-0.0995883122086525,
0.012776513583958149,
0.039819929748773575,
-0.02473621629178524,
0.07272116094827652,
-0.00017498161469120532,
0.0384577214717865,
0.037176597863435745,
-0.016533778980374336,
0.006213421933352947,
-0.03756575286388397,
-0.003328371560201049,
-0.0056739626452326775,
0.022734511643648148,
-0.04090498015284538,
-0.03789098933339119,
-0.020724479109048843,
0.017916496843099594,
0.03190132603049278,
0.025442149490118027,
0.030003968626260757,
-0.029621170833706856,
-0.05037558823823929,
0.026464354246854782,
0.04126172885298729,
-0.06673946231603622,
0.009798625484108925,
0.019870540127158165,
0.03089405968785286,
-0.0497191920876503,
-0.03755439445376396,
-0.019345253705978394,
-0.0030720396898686886,
0.027234619483351707,
0.020796770229935646,
-0.028091663494706154,
-0.07293566316366196,
0.009149814955890179,
-0.04542648419737816,
-0.008732750080525875,
-0.09523403644561768,
0.02166261337697506,
-0.023888740688562393,
-0.025223558768630028,
0.04026041552424431,
0.03128945827484131,
0.035640962421894073,
0.05481754615902901,
-0.009937862865626812,
0.0014987146714702249,
-0.03895767405629158,
0.03899015113711357,
-0.03096994385123253,
0.013718237169086933,
-0.0020346608944237232,
-0.03241734951734543,
0.0008804876706562936,
-0.031619440764188766,
-0.04022178798913956,
-0.049420736730098724,
0.0038796921726316214,
0.027790052816271782,
-0.02243930660188198,
0.01818978786468506,
-0.008314681239426136,
0.06063668429851532,
-0.040401969105005264,
-0.03591584041714668,
-0.03329598531126976,
-0.008892933838069439,
-0.06846266239881516,
-0.04249977692961693,
-0.0115883257240057,
-0.009947339072823524,
0.043362729251384735,
-0.0073726908303797245,
0.028074147179722786,
-0.017108039930462837,
-0.016190236434340477,
-0.032298121601343155,
0.013687273487448692,
-0.0003888361679855734,
-0.01739996112883091,
-0.030950473621487617,
0.0030406382866203785,
-0.0038024545647203922,
0.05124666541814804,
-0.02409469522535801,
0.03599833697080612,
0.03120005875825882,
-0.016170237213373184,
0.007887348532676697,
0.01349479891359806,
0.030951719731092453,
-0.07057453691959381,
-0.06055165082216263,
-0.036525022238492966,
-0.048322953283786774,
0.03883270546793938,
-0.024919452145695686,
-0.02281399816274643,
0.029762981459498405,
0.02237686701118946,
0.03549164906144142,
0.008544974960386753,
-0.03925294801592827,
0.0072862557135522366,
-0.0048266202211380005,
0.026567908003926277,
-0.054954513907432556,
0.05409789830446243,
-0.026304487138986588,
0.006432468071579933,
-0.003646352794021368,
-0.009625287726521492,
-0.04689529910683632,
0.023221224546432495,
-0.024479957297444344,
-0.004843240603804588,
-0.01565452478826046,
0.02982633002102375,
-0.03507337346673012,
0.02149691991508007,
-0.024643562734127045,
0.007374349515885115,
-0.009674272499978542,
0.07378300279378891,
-0.0729111060500145,
-0.003244552994146943,
-0.05118411034345627,
0.021309126168489456,
-0.034335628151893616,
-0.012415130622684956,
0.0012901093577966094,
-0.0412929393351078,
0.023274557664990425,
0.03263404220342636,
0.017052121460437775,
0.05112973973155022,
-0.03039972297847271,
-0.0013636344810947776,
0.006985526066273451,
-0.044973161071538925,
-0.02184750884771347,
-0.023849373683333397,
0.00837062206119299,
-0.03428439050912857,
0.06713350862264633,
0.0362202487885952,
-0.04825447127223015,
-0.06629811227321625,
0.032672274857759476,
0.008214779198169708,
0.0065850671380758286,
0.00550190731883049,
0.01700853742659092,
0.01854703202843666,
0.060094885528087616,
-0.02470095455646515,
0.007029303815215826,
0.0011514974758028984,
-0.014808513224124908,
-0.003913402557373047,
-0.002279818756505847,
0.0018207497196272016,
-0.01011377852410078,
-0.03410639241337776,
-0.040617071092128754,
0.06954343616962433,
0.02193509042263031,
0.02543879859149456,
0.008295876905322075,
-0.045767687261104584,
0.029903577640652657,
0.017508691176772118,
-0.06590833514928818,
-0.002006535418331623,
-0.004497324116528034,
-0.04449918866157532,
0.07050306349992752,
-0.012848882004618645,
0.029081696644425392,
0.05286175385117531,
0.0034151789732277393,
-0.029699677601456642,
0.03063923679292202,
-0.024429291486740112,
-0.003222026163712144,
0.026810534298419952,
-0.05097182095050812,
0.01060303021222353,
-0.01786607690155506,
0.050298187881708145,
-0.062392979860305786,
0.0430983230471611,
0.04828295856714249,
0.0013685646699741483,
0.030765004456043243,
-0.052531156688928604,
-0.017486993223428726,
0.03776505962014198,
-0.013565649278461933,
0.0712013691663742,
0.011775518767535686,
-0.044056136161088943,
0.046623099595308304,
0.02088860794901848,
-0.07253458350896835,
0.052831947803497314,
0.049866028130054474,
0.03389142453670502,
0.01835612766444683,
0.05868416279554367,
-0.04595416411757469,
0.02374640479683876,
-0.0292506143450737,
0.007345820777118206,
-0.06962566077709198,
-0.010496240109205246,
0.028999384492635727,
-0.037229906767606735,
-0.013712098821997643,
0.036326054483652115,
-0.03257763758301735,
-0.01680690050125122,
0.02438412979245186,
-0.050559595227241516,
-0.0317285880446434,
0.010877735912799835,
0.031894054263830185,
-0.02331949584186077,
0.020006302744150162,
-0.03522278368473053,
0.02968483790755272,
0.004697892349213362,
-0.013278158381581306,
-0.02391645684838295,
0.005502557847648859,
0.016779161989688873,
-0.053965043276548386,
-0.03519943729043007,
0.04422597587108612,
0.024436721578240395,
-0.02266966737806797,
0.03477781265974045,
-0.021571390330791473,
-0.016955045983195305,
0.02474622242152691,
-0.0024116786662489176,
0.0035371966660022736,
-0.039070986211299896,
0.0075254072435200214,
0.008189123123884201,
0.022375060245394707,
0.041328418999910355,
-0.017362965270876884,
0.03712944686412811,
0.06369554251432419,
0.04454570263624191,
-0.008975903503596783,
-0.0358700156211853,
-0.031744979321956635,
0.04404529184103012,
-0.05734304338693619,
0.010871555656194687,
-0.011188805103302002,
-0.05297347158193588,
-0.029766887426376343,
-0.009780734777450562,
-0.009492245502769947,
0.04465591907501221,
-0.060419753193855286,
0.03644253686070442,
0.01748710684478283,
-0.016400126740336418,
-0.0554632730782032,
-0.07310566306114197,
-0.0074343448504805565,
-0.04285331070423126,
0.02362234704196453,
0.01095237024128437,
-0.02901570126414299,
0.024849174544215202,
-0.03040013648569584,
-0.052337683737277985,
0.04137077182531357,
0.028662554919719696,
-0.06142584607005119,
0.0724639892578125,
0.04385300725698471,
-0.06335097551345825,
0.0049783019348979,
0.049732230603694916,
-0.048313647508621216,
0.02855709008872509,
0.021803220734000206,
0.005040849093347788,
0.0154709592461586,
0.03033798560500145,
-0.034673046320676804,
-0.03300148621201515,
-0.07574557512998581,
-0.020945720374584198,
-0.02277502231299877,
0.0001385934738209471,
0.06984072178602219
] |
BitanBiswas/mbert-bengali-ner-finetuned-ner | [
"pytorch",
"tensorboard",
"bert",
"token-classification",
"transformers",
"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
}
}
} | 4 | null | ---
language: tr
license: mit
---
# π€ + π dbmdz Turkish ELECTRA model
In this repository the MDZ Digital Library team (dbmdz) at the Bavarian State
Library open sources a cased ELECTRA small model for Turkish π
# Turkish ELECTRA model
We release a small ELEC**TR**A model for Turkish, that was trained on the same data as *BERTurk*.
> ELECTRA is a new method for self-supervised language representation learning. It can be used to
> pre-train transformer networks using relatively little compute. ELECTRA models are trained to
> distinguish "real" input tokens vs "fake" input tokens generated by another neural network, similar to
> the discriminator of a GAN.
More details about ELECTRA can be found in the [ICLR paper](https://openreview.net/forum?id=r1xMH1BtvB)
or in the [official ELECTRA repository](https://github.com/google-research/electra) on GitHub.
## Stats
The current version of the model is trained on a filtered and sentence
segmented version of the Turkish [OSCAR corpus](https://traces1.inria.fr/oscar/),
a recent Wikipedia dump, various [OPUS corpora](http://opus.nlpl.eu/) and a
special corpus provided by [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/).
The final training corpus has a size of 35GB and 44,04,976,662 tokens.
Thanks to Google's TensorFlow Research Cloud (TFRC) we could train a cased model
on a TPU v3-8 for 1M steps.
## Model weights
[Transformers](https://github.com/huggingface/transformers)
compatible weights for both PyTorch and TensorFlow are available.
| Model | Downloads
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------
| `dbmdz/electra-small-turkish-cased-discriminator` | [`config.json`](https://cdn.huggingface.co/dbmdz/electra-small-turkish-cased-discriminator/config.json) β’ [`pytorch_model.bin`](https://cdn.huggingface.co/dbmdz/electra-small-turkish-cased-discriminator/pytorch_model.bin) β’ [`vocab.txt`](https://cdn.huggingface.co/dbmdz/electra-small-turkish-cased-discriminator/vocab.txt)
## Usage
With Transformers >= 2.8 our ELECTRA small cased model can be loaded like:
```python
from transformers import AutoModelWithLMHead, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("dbmdz/electra-small-turkish-cased-discriminator")
model = AutoModelWithLMHead.from_pretrained("dbmdz/electra-small-turkish-cased-discriminator")
```
## Results
For results on PoS tagging or NER tasks, please refer to
[this repository](https://github.com/stefan-it/turkish-bert/electra).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our ELECTRA models just open an issue
[here](https://github.com/dbmdz/berts/issues/new) π€
# Acknowledgments
Thanks to [Kemal Oflazer](http://www.andrew.cmu.edu/user/ko/) for providing us
additional large corpora for Turkish. Many thanks to Reyyan Yeniterzi for providing
us the Turkish NER dataset for evaluation.
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.018436353653669357,
-0.004348034504801035,
-0.008029893971979618,
0.0629790723323822,
0.02015487290918827,
0.03857909515500069,
-0.004297716077417135,
0.005566646810621023,
-0.05155773460865021,
0.05855908244848251,
0.015846164897084236,
-0.029514765366911888,
-0.012838386930525303,
0.03262557089328766,
-0.036786999553442,
-0.017701512202620506,
-0.014582262374460697,
-0.003929362632334232,
-0.04984429106116295,
-0.015688640996813774,
-0.01434850413352251,
0.00905734021216631,
-0.0038527369033545256,
0.03722327575087547,
-0.008095729164779186,
0.015794148668646812,
-0.014342918060719967,
0.02704400010406971,
0.03642553836107254,
-0.07745421677827835,
0.025761863216757774,
-0.03930443152785301,
-0.036602798849344254,
-0.012641091831028461,
-0.040159616619348526,
-0.007398630026727915,
0.01772214099764824,
-0.010743634775280952,
0.057923004031181335,
0.05290573835372925,
-0.009677856229245663,
0.018246332183480263,
0.008891013450920582,
-0.05912104249000549,
0.047527216374874115,
0.0060132816433906555,
-0.04956835135817528,
-0.018082046881318092,
0.026148786768317223,
-0.05096803605556488,
-0.04968348518013954,
-0.06183405965566635,
-0.05260046198964119,
0.04423702880740166,
-0.01992974616587162,
-0.04541335254907608,
-0.053465377539396286,
-0.012642241083085537,
0.04714537411928177,
-0.04264449328184128,
-0.03636731579899788,
0.029921993613243103,
-0.07371878623962402,
0.03542651608586311,
0.04075343906879425,
-0.005019580479711294,
0.0017879897495731711,
-0.05404810234904289,
0.037008050829172134,
-0.015262110158801079,
0.03654808551073074,
-0.016412511467933655,
-0.005245616193860769,
-0.07694844901561737,
-0.01483277976512909,
-0.010164800100028515,
0.01919417269527912,
0.043418142944574356,
-0.04515005275607109,
0.058715321123600006,
0.025927310809493065,
-0.006568554323166609,
0.03546078875660896,
-0.015824802219867706,
-0.009765580296516418,
0.0719214528799057,
-0.02197572961449623,
-0.010790697298943996,
0.0021387154702097178,
0.0679682120680809,
-0.044249728322029114,
-0.023448705673217773,
-0.01571492850780487,
-0.03555523231625557,
-0.012285633012652397,
0.02751455083489418,
0.03117646649479866,
0.010905876755714417,
0.021299313753843307,
0.03346104547381401,
0.03846636787056923,
0.02804548479616642,
-0.027317311614751816,
0.03302428126335144,
-0.01715068332850933,
-0.018307209014892578,
0.005776457022875547,
-0.04728163033723831,
-0.0438639372587204,
0.041341912001371384,
0.018112335354089737,
-0.04805322363972664,
-0.04196374490857124,
0.03242403268814087,
0.011771690100431442,
-0.02194776013493538,
0.05329057574272156,
-0.023520248010754585,
-0.028559472411870956,
-0.014595999382436275,
0.03527812659740448,
0.011993222869932652,
0.00589646864682436,
-0.0026639439165592194,
-0.05046505481004715,
0.029144061729311943,
-0.044409893453121185,
-0.02502581477165222,
0.012252992950379848,
0.026943977922201157,
-0.02181934379041195,
0.04671291634440422,
0.034355279058218,
-0.04301822930574417,
0.004953482188284397,
0.02828800119459629,
-0.06478475034236908,
0.055933091789484024,
0.02986333705484867,
0.10652661323547363,
-0.057626571506261826,
-0.03046424128115177,
0.0012929026270285249,
0.011770226992666721,
-0.016976824030280113,
-0.000014378817468241323,
0.02397295832633972,
-0.03823063150048256,
-0.038485925644636154,
-0.016781717538833618,
0.051572248339653015,
-0.0636247843503952,
0.009695538319647312,
0.06050823628902435,
-0.013715251348912716,
0.027330752462148666,
-0.02519683912396431,
-0.004569748882204294,
-0.010845785960555077,
0.020084019750356674,
-0.038173969835042953,
0.0398520790040493,
0.009960108436644077,
-0.001905803452245891,
-0.045573536306619644,
-0.04962299019098282,
0.004138563759624958,
0.1053500771522522,
-0.006321802269667387,
-0.017855718731880188,
-0.027151115238666534,
0.01254929881542921,
0.05419917777180672,
0.022742385044693947,
-0.02853313647210598,
0.04086567088961601,
0.0426553376019001,
0.041878052055835724,
-0.019137952476739883,
0.06566815823316574,
0.0063547855243086815,
-0.02732125297188759,
-0.015556640923023224,
0.0068509201519191265,
0.01127537339925766,
-0.03239274024963379,
0.0031360723078250885,
0.05525129288434982,
-0.0009952503023669124,
-0.021429408341646194,
-0.001531293150037527,
0.068121038377285,
0.010054769925773144,
0.0063787526451051235,
0.00818218570202589,
-0.019125113263726234,
-0.06088986620306969,
0.0408252514898777,
-0.0345870740711689,
-0.0003884882607962936,
-0.024282321333885193,
-0.007531232200562954,
0.010290352627635002,
0.04020785540342331,
0.035591334104537964,
0.043548692017793655,
-0.01003317255526781,
0.0978618711233139,
-0.04520001262426376,
-0.003655706997960806,
-0.04298712685704231,
-0.06364545971155167,
-0.009920738637447357,
0.029359381645917892,
0.03984047472476959,
0.03815353661775589,
0.010976993478834629,
-0.04433318227529526,
0.020038118585944176,
0.08354102820158005,
0.04711420461535454,
0.032331839203834534,
-0.019671209156513214,
-0.006822874303907156,
0.03708473965525627,
0.06393730640411377,
-0.038216035813093185,
-0.04969169571995735,
0.02629772387444973,
0.05723140016198158,
-0.009320585057139397,
0.036293234676122665,
-0.025270255282521248,
0.016632990911602974,
-0.027020065113902092,
-0.061938993632793427,
0.04531637951731682,
0.03150198981165886,
-0.009214629419147968,
0.012508764863014221,
-0.0061201062053442,
0.006168751046061516,
-0.010044458322227001,
0.005444058682769537,
-0.0006668099667876959,
-0.03301910683512688,
-0.0025797742418944836,
0.020936228334903717,
0.04699218273162842,
-0.03348882123827934,
0.03306667506694794,
-0.0037057725712656975,
-0.002049641916528344,
0.03501346334815025,
-0.04789559543132782,
0.038970526307821274,
0.007683212403208017,
0.025432493537664413,
-0.03807739168405533,
0.025358734652400017,
-0.0068486034870147705,
0.04519587755203247,
0.06677088141441345,
-0.0009513912373222411,
0.035123638808727264,
0.0010879568289965391,
0.048779889941215515,
0.06058783456683159,
0.013793537393212318,
0.015145385637879372,
0.038488879799842834,
0.08058709651231766,
0.017347300425171852,
-0.013411832973361015,
0.07573135942220688,
-0.05298556014895439,
0.01044264156371355,
-0.060174357146024704,
0.014131005853414536,
0.01642100140452385,
-0.004992553498595953,
0.04251909255981445,
0.008503643795847893,
0.004636846948415041,
0.037947878241539,
-0.00890268199145794,
-0.004802588373422623,
0.05384312942624092,
0.0018389081815257668,
0.0035182556603103876,
-0.014524039812386036,
-0.02814505808055401,
0.0210943054407835,
-0.06522110849618912,
-0.03129057586193085,
-0.01789647527039051,
-0.048811234533786774,
-0.0068788775242865086,
-0.0801592767238617,
-0.036829251796007156,
-0.048730384558439255,
-0.011763322167098522,
0.04850564897060394,
0.013677633367478848,
0.002872169017791748,
-0.022819258272647858,
0.012973764911293983,
-0.0362207405269146,
-0.04871055856347084,
-0.04753176495432854,
-0.05400568246841431,
-0.04222187399864197,
-0.07691531628370285,
0.043658170849084854,
0.002391691319644451,
0.0025116626638919115,
0.0044995560310781,
0.014354073442518711,
-0.0423465371131897,
-0.03141936659812927,
0.02508522756397724,
0.03735283017158508,
-0.03975257650017738,
-0.04024416580796242,
0.030049677938222885,
-0.02030569687485695,
0.014885630458593369,
-0.0054268743842840195,
-0.034681521356105804,
0.08240059018135071,
0.06584711372852325,
0.026518911123275757,
0.02342860773205757,
0.004896177444607019,
-0.06904322654008865,
-0.0495152585208416,
-0.035607438534498215,
-0.030276963487267494,
0.01654369756579399,
-0.030583513900637627,
-0.050567612051963806,
-0.03190004080533981,
-0.03242743760347366,
0.0031321512069553137,
-0.005735656246542931,
0.013530103489756584,
0.018693286925554276,
0.05626668408513069,
0.047732654958963394,
0.025900181382894516,
-0.020292269065976143,
-0.025819573551416397,
0.06441424787044525,
0.01064386684447527,
0.008436494506895542,
-0.056965913623571396,
-0.025443512946367264,
0.04142594337463379,
0.03575942665338516,
-0.004931353032588959,
-0.0005739412154071033,
0.0790870189666748,
0.003771708346903324,
-0.009783215820789337,
-0.006360548548400402,
-0.019485224038362503,
-0.05231146141886711,
0.007334964815527201,
0.005124890711158514,
-0.023506850004196167,
-0.05960831046104431,
-0.022468823939561844,
-0.002601068466901779,
0.06965641677379608,
-0.0708882287144661,
-0.050803251564502716,
-0.031239377334713936,
0.035123568028211594,
0.01700209639966488,
0.015507789328694344,
-0.048948101699352264,
0.014129768125712872,
-0.04184618592262268,
-0.04558767378330231,
0.018228372558951378,
0.01887694001197815,
0.04179815202951431,
0.07408437132835388,
0.026718875393271446,
-0.02684241160750389,
0.05904296040534973,
0.027139950543642044,
0.05585484579205513,
0.010206975042819977,
-0.03461087495088577,
0.021329885348677635,
-0.04254947230219841,
0.018813233822584152,
0.006553445942699909,
-0.03838625177741051,
-0.05392896756529808,
-0.07034626603126526,
-0.030988376587629318,
-0.0020746851805597544,
-0.024090491235256195,
0.012044054456055164,
0.029724707826972008,
0.0017099174438044429,
-0.01615031249821186,
-0.0018947807839140296,
0.024552026763558388,
0.03219740092754364,
-0.052509669214487076,
0.05662672594189644,
-0.008172194473445415,
0.02613259293138981,
-0.05483020097017288,
0.011782602407038212,
-0.01868797279894352,
-0.0432746559381485,
-0.010919613763689995,
0.06221761554479599,
0.04537075757980347,
0.031385961920022964,
0.09730402380228043,
0.014288689009845257,
-0.04006481543183327,
0.04851822555065155,
0.02977527119219303,
0.006832859478890896,
-0.045136481523513794,
-0.018681297078728676,
-0.005061562173068523,
-0.03658197447657585,
-0.01742384023964405,
-0.008399025537073612,
0.01658082753419876,
0.04459117725491524,
0.01788582280278206,
-0.017245475202798843,
0.0084453783929348,
-0.021374482661485672,
-0.02415010891854763,
-0.0887039452791214,
-0.04028693959116936,
0.017922954633831978,
-0.01919512078166008,
0.015619335696101189,
0.04336133971810341,
0.0031806686893105507,
0.06844543665647507,
0.03403409197926521,
-0.012927879579365253,
-0.046249207109212875,
0.029239727184176445,
0.026531467214226723,
-0.024018920958042145,
-0.06319577991962433,
-0.0470668226480484,
0.035521235316991806,
0.051099877804517746,
0.0005295510054565966,
-0.09570659697055817,
0.012808006256818771,
0.026957159861922264,
-0.014352013356983662,
0.07820221781730652,
0.0007643563440069556,
0.031237339600920677,
0.05625205487012863,
-0.021387821063399315,
0.02207859791815281,
-0.037717465311288834,
0.004289589356631041,
-0.012088618241250515,
0.046937502920627594,
-0.027629632502794266,
-0.03559340909123421,
-0.04011351615190506,
0.013456453569233418,
0.016579851508140564,
0.05002351850271225,
0.04439152404665947,
-0.02184535562992096,
-0.04404940456151962,
0.014111697673797607,
0.04449218139052391,
-0.05149632319808006,
0.023658616468310356,
0.026285341009497643,
0.037050411105155945,
-0.054521676152944565,
-0.03542226925492287,
-0.01773805171251297,
-0.007669961545616388,
0.007012891583144665,
0.00922313891351223,
-0.03624869883060455,
-0.07580478489398956,
0.019673451781272888,
-0.03018879145383835,
-0.013305914588272572,
-0.09539158642292023,
0.01328041311353445,
-0.006853011902421713,
-0.019242949783802032,
0.04776722192764282,
0.01848169043660164,
0.028573494404554367,
0.04814957082271576,
-0.007132747210562229,
0.013479337096214294,
-0.04186922311782837,
0.037411946803331375,
-0.037819743156433105,
-0.002195977373048663,
0.00045155631960369647,
-0.032067570835351944,
0.008674544282257557,
-0.04690365120768547,
-0.04256458580493927,
-0.0553540401160717,
0.005659662652760744,
0.014325519092381,
-0.0218484066426754,
0.014876081608235836,
-0.01689525879919529,
0.05224072188138962,
-0.05761311203241348,
-0.04327358677983284,
-0.021296890452504158,
-0.028627248480916023,
-0.06913305073976517,
-0.038974348455667496,
-0.003012902569025755,
0.009011203423142433,
0.026295920833945274,
0.004924108739942312,
0.007828663103282452,
-0.013306248001754284,
-0.028270810842514038,
-0.022691646590828896,
0.022662905976176262,
-0.0035632355138659477,
-0.005153885576874018,
-0.028640342876315117,
0.0064289504662156105,
0.008448131382465363,
0.05419163033366203,
-0.026939958333969116,
0.038485512137413025,
0.02779177576303482,
-0.007475088816136122,
0.002640771446749568,
-0.006096969824284315,
0.018403176218271255,
-0.06392637640237808,
-0.06386890262365341,
-0.022979874163866043,
-0.05534668266773224,
0.030831605195999146,
-0.0246842410415411,
-0.016885383054614067,
0.018082017078995705,
0.028833765536546707,
0.03936915844678879,
0.005129838362336159,
-0.02783060260117054,
0.01670493371784687,
-0.028660764917731285,
0.025955431163311005,
-0.05678367614746094,
0.04341395944356918,
-0.0233809445053339,
0.01508302241563797,
-0.003703279886394739,
-0.0019873117562383413,
-0.04527810588479042,
0.03948928043246269,
-0.021284300833940506,
-0.006216759793460369,
-0.008261555805802345,
0.030035439878702164,
-0.03444506227970123,
0.020864171907305717,
-0.03875762224197388,
-0.0021270345896482468,
-0.02126353234052658,
0.056766580790281296,
-0.06421595811843872,
0.013328513130545616,
-0.04339053854346275,
0.018600057810544968,
-0.04009568691253662,
-0.026936165988445282,
0.0029760960023850203,
-0.0340726301074028,
0.03270745277404785,
0.027081545442342758,
0.013245494104921818,
0.03682352602481842,
-0.030433164909482002,
0.020519908517599106,
0.012585785239934921,
-0.05121590942144394,
-0.01925765350461006,
-0.01879211515188217,
0.005605130456387997,
-0.015413216315209866,
0.0690285712480545,
0.04936881735920906,
-0.052626024931669235,
-0.07412441819906235,
0.03470143303275108,
0.012628977186977863,
-0.006716132629662752,
0.013775021769106388,
0.012490670196712017,
0.00429742643609643,
0.05393504351377487,
-0.029883839190006256,
0.002896549180150032,
-0.020398832857608795,
-0.01313773263245821,
0.01446507778018713,
-0.005119453649967909,
0.027164384722709656,
-0.01290492620319128,
-0.034440550953149796,
-0.033129505813121796,
0.08265487849712372,
0.02065231278538704,
0.037251368165016174,
0.003583126235753298,
-0.051123399287462234,
0.01707529090344906,
0.003903769189491868,
-0.0651480183005333,
-0.010621867142617702,
0.015145010314881802,
-0.0468551367521286,
0.08987800031900406,
-0.00927429273724556,
0.017474327236413956,
0.04143597558140755,
0.017010314390063286,
-0.025575902312994003,
0.04378104582428932,
-0.013919648714363575,
-0.016314873471856117,
0.028744621202349663,
-0.03713049739599228,
-0.009528770111501217,
-0.009729855693876743,
0.07159590721130371,
-0.033124372363090515,
0.03765898197889328,
0.044963937252759933,
0.0027821804396808147,
0.03297203779220581,
-0.05491744354367256,
-0.017415931448340416,
0.03955287113785744,
-0.03680630773305893,
0.0832839235663414,
0.00318521517328918,
-0.049592725932598114,
0.0615994818508625,
0.026410821825265884,
-0.08832120895385742,
0.043275900185108185,
0.03133593499660492,
0.010601152665913105,
0.012617344968020916,
0.05180741846561432,
-0.042140115052461624,
0.014686048030853271,
-0.0360821969807148,
0.010552473366260529,
-0.05833394080400467,
-0.0007929641869850457,
0.018385278061032295,
-0.026110317558050156,
-0.009008619002997875,
0.030258677899837494,
-0.029773129150271416,
-0.018996786326169968,
0.023136990144848824,
-0.0657324343919754,
-0.03129490092396736,
-0.010400529019534588,
0.034556541591882706,
-0.021131616085767746,
0.025781670585274696,
-0.029228482395410538,
0.021137956529855728,
0.014289912767708302,
-0.008259288966655731,
-0.03701603040099144,
0.013889811001718044,
0.016442574560642242,
-0.06355758756399155,
-0.04914944991469383,
0.014110255986452103,
0.028214197605848312,
-0.03412759304046631,
0.03584565967321396,
-0.009311964735388756,
0.0071160681545734406,
0.02482771687209606,
0.004782811272889376,
0.007477430626749992,
-0.03231816738843918,
0.0026019499637186527,
-0.004881101660430431,
0.028575409203767776,
0.06295093894004822,
-0.019727017730474472,
0.02457723207771778,
0.057658784091472626,
0.03245522081851959,
-0.012668970972299576,
-0.05643503740429878,
-0.02381325699388981,
0.03677285835146904,
-0.047262270003557205,
0.025153815746307373,
0.004109730012714863,
-0.05083194375038147,
-0.039806727319955826,
-0.017621371895074844,
0.005104394629597664,
0.027670057490468025,
-0.04845862835645676,
0.0253316480666399,
0.029467256739735603,
0.007653082255274057,
-0.045632556080818176,
-0.06237413361668587,
-0.011310501024127007,
-0.03129512071609497,
0.026904182508587837,
0.01628715731203556,
-0.02221551164984703,
0.025352172553539276,
-0.03625783696770668,
-0.06777586787939072,
0.04951253905892372,
0.03086891397833824,
-0.052220191806554794,
0.07865910232067108,
0.037387341260910034,
-0.04983055591583252,
0.010923813097178936,
0.044100284576416016,
-0.031398531049489975,
0.028762051835656166,
0.02255924977362156,
-0.004753361456096172,
0.028513720259070396,
0.04073716700077057,
-0.007837104611098766,
-0.012288903817534447,
-0.07076795399188995,
-0.008884231559932232,
-0.037830617278814316,
0.00009933944966178387,
0.0721844732761383
] |
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 | 2021-03-02T18:08:05Z | ---
datasets:
- germeval_14
tags:
- flair
- token-classification
- sequence-tagger-model
language: de
widget:
- text: "Hugging Face ist eine franzΓΆsische Firma mit Sitz in New York."
license: mit
---
# Flair NER model trained on GermEval14 dataset
This model was trained on the official [GermEval14](https://sites.google.com/site/germeval2014ner/data)
dataset using the [Flair](https://github.com/flairNLP/flair) framework.
It uses a fine-tuned German DistilBERT model from [here](https://huggingface.co/distilbert-base-german-cased).
# Results
| Dataset \ Run | Run 1 | Run 2 | Run 3β | Run 4 | Run 5 | Avg.
| ------------- | ----- | ----- | --------- | ----- | ----- | ----
| Development | 87.05 | 86.52 | **87.34** | 86.85 | 86.46 | 86.84
| Test | 85.43 | 85.88 | 85.72 | 85.47 | 85.62 | 85.62
β denotes that this model is selected for upload.
# Flair Fine-Tuning
We used the following script to fine-tune the model on the GermEval14 dataset:
```python
from argparse import ArgumentParser
import torch, flair
# dataset, model and embedding imports
from flair.datasets import GERMEVAL_14
from flair.embeddings import TransformerWordEmbeddings
from flair.models import SequenceTagger
from flair.trainers import ModelTrainer
if __name__ == "__main__":
# All arguments that can be passed
parser = ArgumentParser()
parser.add_argument("-s", "--seeds", nargs='+', type=int, default='42') # pass list of seeds for experiments
parser.add_argument("-c", "--cuda", type=int, default=0, help="CUDA device") # which cuda device to use
parser.add_argument("-m", "--model", type=str, help="Model name (such as Hugging Face model hub name")
# Parse experimental arguments
args = parser.parse_args()
# use cuda device as passed
flair.device = f'cuda:{str(args.cuda)}'
# for each passed seed, do one experimental run
for seed in args.seeds:
flair.set_seed(seed)
# model
hf_model = args.model
# initialize embeddings
embeddings = TransformerWordEmbeddings(
model=hf_model,
layers="-1",
subtoken_pooling="first",
fine_tune=True,
use_context=False,
respect_document_boundaries=False,
)
# select dataset depending on which language variable is passed
corpus = GERMEVAL_14()
# make the dictionary of tags to predict
tag_dictionary = corpus.make_tag_dictionary('ner')
# init bare-bones sequence tagger (no reprojection, LSTM or CRF)
tagger: SequenceTagger = SequenceTagger(
hidden_size=256,
embeddings=embeddings,
tag_dictionary=tag_dictionary,
tag_type='ner',
use_crf=False,
use_rnn=False,
reproject_embeddings=False,
)
# init the model trainer
trainer = ModelTrainer(tagger, corpus, optimizer=torch.optim.AdamW)
# make string for output folder
output_folder = f"flert-ner-{hf_model}-{seed}"
# train with XLM parameters (AdamW, 20 epochs, small LR)
from torch.optim.lr_scheduler import OneCycleLR
trainer.train(
output_folder,
learning_rate=5.0e-5,
mini_batch_size=16,
mini_batch_chunk_size=1,
max_epochs=10,
scheduler=OneCycleLR,
embeddings_storage_mode='none',
weight_decay=0.,
train_with_dev=False,
)
```
| [
-0.027994899079203606,
-0.00921113695949316,
0.005271124187856913,
0.058476850390434265,
0.03708286210894585,
0.004908252507448196,
-0.014889155514538288,
-0.016677750274538994,
-0.045316144824028015,
0.07338764518499374,
-0.0028751101344823837,
-0.006575574167072773,
-0.002780516631901264,
0.03933362662792206,
-0.013033836148679256,
-0.061983413994312286,
-0.01714738830924034,
-0.006020096596330404,
-0.05545748770236969,
-0.006142774596810341,
-0.0008960965205915272,
0.020063990727066994,
-0.00883771013468504,
0.006519594229757786,
0.019023016095161438,
0.027543840929865837,
-0.012702484615147114,
0.02079513855278492,
0.024879692122340202,
-0.0630316510796547,
0.0022224930580705404,
-0.029880523681640625,
-0.04564301297068596,
-0.009307030588388443,
-0.02001149021089077,
-0.009833620861172676,
0.014931564219295979,
0.012973059900105,
-0.008804252371191978,
0.036518678069114685,
0.017300542443990707,
0.004090304486453533,
0.0013459124602377415,
-0.0000785921438364312,
0.05019201338291168,
0.011911539360880852,
-0.05291756987571716,
-0.04038507863879204,
0.028855448588728905,
-0.02938540279865265,
-0.06538666784763336,
-0.06990198791027069,
-0.021918611600995064,
0.017913004383444786,
-0.01989685371518135,
-0.029345020651817322,
-0.0529472641646862,
-0.013080505654215813,
0.07172762602567673,
-0.05065862834453583,
-0.034572143107652664,
0.012331712990999222,
-0.06579125672578812,
0.02132967673242092,
0.023577865213155746,
-0.028069477528333664,
-0.008944520726799965,
-0.026505161076784134,
0.00925056915730238,
-0.011836566030979156,
0.0446014367043972,
-0.02711864933371544,
0.02499435842037201,
-0.0824790969491005,
-0.015290353447198868,
0.0044515482150018215,
0.04329141601920128,
0.046746157109737396,
-0.03919019177556038,
0.04074406623840332,
0.02352621965110302,
-0.019965074956417084,
0.051392484456300735,
-0.02831879071891308,
-0.017985498532652855,
0.044480446726083755,
-0.035742636770009995,
0.0074470508843660355,
0.006696635391563177,
0.06887108087539673,
-0.025544364005327225,
-0.04159073531627655,
-0.025364950299263,
-0.04077713564038277,
-0.03696233779191971,
0.025260617956519127,
0.005219313316047192,
-0.004523233976215124,
0.029821595177054405,
0.02954885922372341,
0.012949852272868156,
0.04769769683480263,
-0.0004702763690147549,
0.03714858740568161,
-0.005590162239968777,
-0.011912665329873562,
-0.0005793011514469981,
-0.04116935282945633,
-0.05184374749660492,
0.03974759206175804,
0.021196842193603516,
-0.020063865929841995,
-0.05339100584387779,
0.0421714186668396,
0.012877237983047962,
-0.009200185537338257,
0.06799423694610596,
-0.036156561225652695,
-0.027196597307920456,
-0.054327066987752914,
0.026149678975343704,
0.008270327001810074,
-0.016417628154158592,
0.016619538888335228,
-0.0546121820807457,
-0.005739727057516575,
-0.047319166362285614,
-0.008274500258266926,
-0.009528374299407005,
0.028415989130735397,
-0.005971597507596016,
0.061339572072029114,
0.014136641286313534,
-0.051157690584659576,
0.0009700633236207068,
0.017454467713832855,
-0.05331602320075035,
0.04341242462396622,
0.015151062048971653,
0.10671833157539368,
-0.054108407348394394,
-0.04401316121220589,
0.02957400493323803,
0.020687725394964218,
-0.03673968464136124,
-0.008642720989882946,
-0.003874329850077629,
-0.03235660120844841,
-0.03294483572244644,
0.004751821048557758,
0.03323889151215553,
-0.045250166207551956,
0.0030360454693436623,
0.0468975268304348,
-0.006022757850587368,
0.039561059325933456,
-0.05037277564406395,
-0.004782348405569792,
-0.006432999391108751,
0.009047222323715687,
-0.026953572407364845,
0.032928887754678726,
-0.024086879566311836,
-0.02765251323580742,
-0.02885148860514164,
-0.042628634721040726,
0.0065006171353161335,
0.08408403396606445,
0.00841182004660368,
-0.012177668511867523,
-0.04258378967642784,
0.028325162827968597,
0.04381345212459564,
0.025006989017128944,
-0.014303050003945827,
0.028535455465316772,
0.06836535781621933,
0.04900673031806946,
-0.020736088976264,
0.05332030728459358,
0.006671651732176542,
-0.02575264312326908,
-0.0361674502491951,
0.005258698482066393,
-0.02173246257007122,
-0.0232809130102396,
0.0212069284170866,
0.05716921389102936,
-0.006835761480033398,
-0.0377148799598217,
-0.021151361986994743,
0.046689197421073914,
-0.014095576480031013,
-0.0088102538138628,
-0.012431742623448372,
-0.009369970299303532,
-0.015947435051202774,
0.04238782823085785,
-0.01945929229259491,
-0.004852296318858862,
-0.049616739153862,
-0.03369592875242233,
0.0277730543166399,
0.0037562265060842037,
0.023897962644696236,
0.04300835728645325,
-0.0033841566182672977,
0.08651846647262573,
-0.053117334842681885,
0.023173833265900612,
-0.06349948793649673,
-0.040289416909217834,
-0.001466696267016232,
0.041295576840639114,
0.050956904888153076,
0.06862197816371918,
-0.021192150190472603,
-0.03679678961634636,
0.034414853900671005,
0.06918415427207947,
0.02902691625058651,
0.019224725663661957,
-0.010826489888131618,
-0.018402304500341415,
0.05493982136249542,
0.043817512691020966,
-0.04518493264913559,
-0.04823530092835426,
0.001459090388379991,
0.04553121700882912,
-0.012467363849282265,
0.011605877429246902,
-0.03430590778589249,
0.024543747305870056,
-0.040235403925180435,
-0.045946162194013596,
0.03847372159361839,
0.03649633005261421,
-0.0035203101579099894,
0.03574039041996002,
-0.005021155346184969,
0.0061500705778598785,
0.027499878779053688,
0.01020636223256588,
0.007871773093938828,
-0.05910637229681015,
0.00010984915570588782,
0.011997361667454243,
0.07854779064655304,
-0.05731201171875,
0.0501890555024147,
0.009047679603099823,
0.029787542298436165,
0.022406715899705887,
-0.05577240139245987,
0.026384931057691574,
0.03663706034421921,
0.020807037129998207,
-0.036311667412519455,
0.036290399730205536,
0.007077611982822418,
0.03219500929117203,
0.03969166427850723,
0.002902886364609003,
0.05919651314616203,
-0.0013728067278862,
0.03955141827464104,
0.0945536270737648,
0.031912051141262054,
-0.00502196978777647,
0.02991873398423195,
0.06420018523931503,
0.009229840710759163,
-0.011776325292885303,
0.05544392392039299,
-0.04684993624687195,
0.021275365725159645,
-0.04250466451048851,
0.0075004082173109055,
0.0013896445743739605,
-0.0007140788366086781,
0.03434715047478676,
0.041606999933719635,
-0.01682649739086628,
0.004332992248237133,
0.0034233180340379477,
-0.0037273848429322243,
0.052686672657728195,
-0.00231175497174263,
0.014619365334510803,
0.0048181950114667416,
-0.01708458550274372,
0.014802186749875546,
-0.07162535190582275,
-0.05489370971918106,
-0.008634323254227638,
-0.02021315135061741,
-0.012577311135828495,
-0.09247453510761261,
-0.04330768436193466,
-0.07351814210414886,
-0.015129921026527882,
0.035668592900037766,
0.02009757049381733,
-0.0063988990150392056,
-0.04899561032652855,
0.043323226273059845,
-0.03005761280655861,
-0.05817187950015068,
-0.04955018684267998,
-0.03845874220132828,
-0.03767944499850273,
-0.06298815459012985,
0.03577575460076332,
0.016156017780303955,
0.044342655688524246,
0.01844591088593006,
-0.0014592725783586502,
-0.025510212406516075,
-0.01679222472012043,
0.043876755982637405,
0.031650055199861526,
-0.043158289045095444,
-0.03669428825378418,
0.020107697695493698,
-0.011788662523031235,
0.016287632286548615,
0.00017955939983949065,
-0.04201998561620712,
0.07491669803857803,
0.05782647803425789,
0.011137674562633038,
0.015036479569971561,
-0.002147669903934002,
-0.031238766387104988,
-0.04457178711891174,
-0.036859720945358276,
-0.046401020139455795,
-0.005791492760181427,
-0.027799569070339203,
-0.044760026037693024,
-0.023664182052016258,
-0.021550826728343964,
0.008727050386369228,
-0.00587178859859705,
0.008520548231899738,
0.027025261893868446,
0.04024622589349747,
0.04453519359230995,
0.01860872097313404,
-0.0367790125310421,
-0.022117147222161293,
0.07942859083414078,
-0.0071301450952887535,
0.0038139987736940384,
-0.08370887488126755,
-0.028832728043198586,
0.03598206117749214,
0.017551563680171967,
0.007320167031139135,
-0.013696994632482529,
0.08863216638565063,
0.01104698609560728,
-0.011631778441369534,
-0.014285366982221603,
-0.017125779762864113,
-0.02631198987364769,
0.007019347976893187,
0.010399581864476204,
-0.000931427872274071,
-0.05799141153693199,
-0.05876151844859123,
-0.023392682895064354,
0.03625958040356636,
-0.06689941138029099,
-0.05257910490036011,
-0.016453318297863007,
0.03492473438382149,
0.03930120915174484,
-0.014807227998971939,
-0.050348445773124695,
0.000041147657611873,
-0.05927993357181549,
-0.015194795094430447,
0.010960745625197887,
0.010930060409009457,
0.015059873461723328,
0.02971862442791462,
0.0033247913233935833,
-0.05595114454627037,
0.02868037484586239,
0.039276525378227234,
0.055159930139780045,
0.01801205426454544,
-0.03709929808974266,
0.021029086783528328,
-0.027548685669898987,
0.017672711983323097,
0.0035413026344031096,
-0.017356665804982185,
-0.020608151331543922,
-0.06902047991752625,
-0.010476403869688511,
0.007476198021322489,
0.011202920228242874,
0.0026184183079749346,
0.059935539960861206,
-0.019575387239456177,
-0.004681170452386141,
-0.00801841914653778,
0.014449221082031727,
0.04136475548148155,
-0.05016408860683441,
0.053980764001607895,
0.012114322744309902,
0.023234009742736816,
-0.06619284301996231,
0.020428357645869255,
-0.022249901667237282,
-0.02266762964427471,
0.003463644301518798,
0.0640188679099083,
0.01389816403388977,
0.04031741991639137,
0.06202373653650284,
0.01946975849568844,
-0.05126145854592323,
0.04892856627702713,
0.06116227060556412,
-0.03044184111058712,
-0.05485059320926666,
-0.005216955207288265,
-0.011135865934193134,
-0.02822866477072239,
-0.0032931563910096884,
-0.01633552461862564,
0.02741832658648491,
0.03241042047739029,
0.008798877708613873,
-0.0167077723890543,
0.0220933947712183,
-0.01827409490942955,
-0.011050796136260033,
-0.05213077366352081,
-0.021315569058060646,
0.012241166085004807,
-0.024813329800963402,
0.038608893752098083,
0.043065354228019714,
0.011799715459346771,
0.08061130344867706,
0.044187091290950775,
-0.01379308756440878,
-0.04876841977238655,
0.048784416168928146,
0.041744478046894073,
-0.04117010533809662,
-0.04868316650390625,
-0.05053407698869705,
0.06952744722366333,
0.0502338781952858,
-0.00468461075797677,
-0.07589684426784515,
-0.004453268833458424,
0.06542444974184036,
-0.042520247399806976,
0.06428153067827225,
-0.02660556510090828,
0.04287607967853546,
0.06737948954105377,
-0.017169157043099403,
0.004890325013548136,
-0.03526617959141731,
0.013899051584303379,
-0.00968125369399786,
0.030979793518781662,
-0.04910900071263313,
-0.030413242056965828,
-0.032244376838207245,
0.02168378047645092,
0.0219741053879261,
0.03620212897658348,
0.0372375026345253,
-0.03843999281525612,
-0.06479830294847488,
0.022090354934334755,
0.034507911652326584,
-0.05462389066815376,
0.015381867997348309,
0.017679918557405472,
0.03706047311425209,
-0.06282864511013031,
-0.034037865698337555,
-0.029483793303370476,
-0.0021147425286471844,
0.02570790797472,
-0.005348254926502705,
-0.03995633125305176,
-0.044250812381505966,
0.00774427829310298,
-0.03171757981181145,
-0.02044486440718174,
-0.08679742366075516,
0.01940642111003399,
-0.011773630976676941,
-0.025394003838300705,
0.0530899278819561,
0.023020882159471512,
0.031063739210367203,
0.03818037360906601,
0.0026668442878872156,
0.005813778843730688,
-0.02465677820146084,
0.03202606737613678,
-0.042011063545942307,
-0.006249101832509041,
-0.00949770025908947,
-0.03293825313448906,
-0.02055704966187477,
-0.006606372073292732,
-0.06810357421636581,
-0.058561209589242935,
-0.015291683375835419,
0.04026756063103676,
-0.0022511188872158527,
-0.002792722312733531,
-0.01091337762773037,
0.018834173679351807,
-0.023196877911686897,
-0.023202482610940933,
-0.023064877837896347,
-0.018388599157333374,
-0.08026757836341858,
-0.07370996475219727,
0.01626291312277317,
-0.008002040907740593,
0.03079920820891857,
0.013811479322612286,
0.015802662819623947,
0.018101587891578674,
0.013250907883048058,
-0.03911900892853737,
0.015001261606812477,
0.004276181571185589,
-0.025256555527448654,
-0.020767930895090103,
0.02036578767001629,
-0.0052130077965557575,
0.03436996415257454,
-0.0066872634924948215,
0.029158124700188637,
0.025770537555217743,
-0.03544465824961662,
-0.0010420734761282802,
0.03567676991224289,
0.03236223757266998,
-0.0765794962644577,
-0.028467273339629173,
-0.027089091017842293,
-0.023831503465771675,
0.016274468973279,
-0.021195808425545692,
-0.027388738468289375,
0.017813336104154587,
0.013770016841590405,
0.01759571209549904,
-0.04084603115916252,
-0.011198942549526691,
0.0259212926030159,
-0.019296227023005486,
0.01898052729666233,
-0.07430785149335861,
0.04597248509526253,
-0.04004352167248726,
-0.010655720718204975,
-0.006853992119431496,
-0.032412298023700714,
-0.04419516399502754,
0.03476839140057564,
-0.011355182155966759,
-0.023998605087399483,
0.0010166632710024714,
0.024316852912306786,
-0.018427472561597824,
0.03651956841349602,
-0.014029270969331264,
0.02373221144080162,
-0.027335772290825844,
0.05859699472784996,
-0.061640460044145584,
-0.014665511436760426,
-0.02251247875392437,
0.008793617598712444,
-0.02307644672691822,
-0.004252070561051369,
0.0016887746751308441,
-0.03982069715857506,
0.03230041638016701,
0.03484005481004715,
0.02307167649269104,
0.03274258226156235,
-0.014704237692058086,
0.019003277644515038,
0.03182871639728546,
-0.06231573596596718,
-0.033435773104429245,
-0.019353030249476433,
0.03007703274488449,
-0.02403125911951065,
0.07191209495067596,
0.028199365362524986,
-0.04932030290365219,
-0.05515715107321739,
0.05832695960998535,
0.016247350722551346,
0.018536152318120003,
0.008709662593901157,
0.03541223704814911,
0.033593274652957916,
0.026826074346899986,
-0.04612918570637703,
-0.02532106637954712,
0.014480254612863064,
-0.030374707654118538,
0.019046030938625336,
0.013960711658000946,
0.034591108560562134,
-0.005307220388203859,
-0.02332274615764618,
-0.03530968725681305,
0.06598889082670212,
0.011160123161971569,
0.01909089833498001,
-0.0038763685151934624,
-0.05378217250108719,
0.023125721141695976,
-0.00006324493733700365,
-0.0573609322309494,
-0.006457284092903137,
0.03796236589550972,
-0.033531554043293,
0.07436413317918777,
-0.016356058418750763,
0.03060399368405342,
0.08465388417243958,
0.018610985949635506,
-0.023942144587635994,
0.05369555205106735,
-0.01420658454298973,
-0.0032161215785890818,
0.0674392580986023,
-0.06864050775766373,
-0.002219435526058078,
-0.03695717826485634,
0.07735905051231384,
-0.0734289214015007,
0.05997361242771149,
0.038771457970142365,
-0.0035571923945099115,
0.02658900059759617,
-0.03914292901754379,
-0.03289496526122093,
0.03593507781624794,
-0.049914415925741196,
0.07913191616535187,
0.0006722896359860897,
-0.03793859854340553,
0.07743793725967407,
0.006312815472483635,
-0.07541986554861069,
0.01586286909878254,
0.05781130865216255,
0.03948214650154114,
0.0305347740650177,
0.06086400896310806,
-0.05640985816717148,
0.03499292954802513,
-0.021414056420326233,
0.037492536008358,
-0.049792323261499405,
-0.014193964190781116,
0.008833272382616997,
-0.050702329725027084,
-0.009183479472994804,
0.046631064265966415,
-0.016192570328712463,
-0.01697782427072525,
0.026542318984866142,
-0.05438225343823433,
-0.021852632984519005,
0.021725254133343697,
0.016667691990733147,
-0.040615860372781754,
0.011045749299228191,
-0.04555023834109306,
0.015691466629505157,
0.0034857597202062607,
-0.005749130621552467,
-0.02857893705368042,
0.002850346965715289,
0.029371805489063263,
-0.06421151012182236,
-0.023427490144968033,
0.03555914759635925,
0.002423466183245182,
-0.030215326696634293,
0.027086300775408745,
0.002576336031779647,
0.017028914764523506,
0.013134261593222618,
-0.020721031352877617,
0.006093133240938187,
-0.03207174316048622,
0.000665248662699014,
0.010797975584864616,
0.017110243439674377,
0.01526439655572176,
-0.011202706024050713,
0.05603928491473198,
0.037276897579431534,
0.03362715244293213,
-0.00875934399664402,
-0.03706324100494385,
-0.02949994057416916,
0.0027703254017978907,
-0.04385049641132355,
0.008710783906280994,
0.001930707017891109,
-0.05485283210873604,
-0.035679712891578674,
0.0026678494177758694,
-0.011434127576649189,
0.04360361769795418,
-0.0686880499124527,
0.00515291141346097,
0.04081740602850914,
-0.029360128566622734,
-0.029821496456861496,
-0.08569742739200592,
-0.015614816918969154,
-0.04625856876373291,
0.020524105057120323,
0.051426082849502563,
-0.03727273270487785,
0.015560130588710308,
-0.026651673018932343,
-0.04026159271597862,
0.0342056006193161,
0.024330953136086464,
-0.040365543216466904,
0.07441249489784241,
0.0719597265124321,
-0.05452257767319679,
0.02274683117866516,
0.01431755255907774,
-0.0471428744494915,
0.03418685868382454,
0.011236583814024925,
0.005499910097569227,
0.03343525528907776,
0.036256320774555206,
-0.014091196469962597,
-0.028038425371050835,
-0.08112286776304245,
-0.03462185710668564,
-0.036741338670253754,
0.0006194758461788297,
0.07323967665433884
] |
BlightZz/DialoGPT-medium-Kurisu | [
"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
}
}
} | 19 | null | ---
language: de
widget:
- text: "Schon um die Liebe"
license: mit
---
# German GPT-2 model
In this repository we release (yet another) GPT-2 model, that was trained on various texts for German.
The model is meant to be an entry point for fine-tuning on other texts, and it is definitely not as good or "dangerous" as the English GPT-3 model. We do not plan extensive PR or staged releases for this model π
**Note**: The model was initially released under an anonymous alias (`anonymous-german-nlp/german-gpt2`) so we now "de-anonymize" it.
More details about GPT-2 can be found in the great [Hugging Face](https://huggingface.co/transformers/model_doc/gpt2.html) documentation.
## German GPT-2 fine-tuned on Faust I and II
We fine-tuned our German GPT-2 model on "Faust I and II" from Johann Wolfgang Goethe. These texts can be obtained from [Deutsches Textarchiv (DTA)](http://www.deutschestextarchiv.de/book/show/goethe_faust01_1808). We use the "normalized" version of both texts (to avoid out-of-vocabulary problems with e.g. "ΕΏ")
Fine-Tuning was done for 100 epochs, using a batch size of 4 with half precision on a RTX 3090. Total time was around 12 minutes (it is really fast!).
We also open source this fine-tuned model. Text can be generated with:
```python
from transformers import pipeline
pipe = pipeline('text-generation', model="dbmdz/german-gpt2-faust",
tokenizer="dbmdz/german-gpt2-faust")
text = pipe("Schon um die Liebe", max_length=100)[0]["generated_text"]
print(text)
```
and could output:
```
Schon um die Liebe bitte ich, Herr! Wer mag sich die dreifach ErmΓ€chtigen?
Sei mir ein Held!
Und daΓ die Stunde kommt spreche ich nicht aus.
Faust (schaudernd).
Den schΓΆnen Boten finde' ich verwirrend;
```
# License
All models are licensed under [MIT](LICENSE).
# Huggingface model hub
All models are available on the [Huggingface model hub](https://huggingface.co/dbmdz).
# Contact (Bugs, Feedback, Contribution and more)
For questions about our BERT models just open an issue
[here](https://github.com/stefan-it/german-gpt/issues/new) π€
# Acknowledgments
Research supported with Cloud TPUs from Google's TensorFlow Research Cloud (TFRC).
Thanks for providing access to the TFRC β€οΈ
Thanks to the generous support from the [Hugging Face](https://huggingface.co/) team,
it is possible to download both cased and uncased models from their S3 storage π€
| [
-0.004696744494140148,
-0.02280125766992569,
-0.0006239049835130572,
0.054227594286203384,
0.031914375722408295,
0.03966839611530304,
-0.001861181459389627,
-0.0071117631159722805,
-0.039889704436063766,
0.05933193117380142,
0.005759000778198242,
0.0013528080889955163,
0.002300811931490898,
0.03637640178203583,
-0.04193582385778427,
-0.042461246252059937,
-0.0038110027089715004,
-0.01392784621566534,
-0.028371792286634445,
-0.02332562766969204,
-0.02602839469909668,
0.01914304867386818,
0.006776353809982538,
-0.005347014870494604,
-0.0027012235950678587,
0.021840348839759827,
-0.01273142546415329,
0.028456062078475952,
0.032173849642276764,
-0.06802050769329071,
-0.008726469241082668,
-0.033141668885946274,
-0.03868449851870537,
-0.009162869304418564,
-0.043941620737314224,
-0.030968016013503075,
0.0044951057061553,
0.0013474187580868602,
0.02783377841114998,
0.059698935598134995,
0.0011663130717352033,
0.007141454145312309,
-0.016907840967178345,
-0.019940514117479324,
0.034065499901771545,
0.02145613729953766,
-0.05799321457743645,
-0.024507228285074234,
0.026376251131296158,
-0.01577949896454811,
-0.024798717349767685,
-0.0755372941493988,
-0.027156254276633263,
0.014608892612159252,
0.014115641824901104,
-0.017527390271425247,
-0.069053515791893,
-0.011807487346231937,
0.07368304580450058,
-0.05368494987487793,
-0.04412541538476944,
0.012634550221264362,
-0.04444209486246109,
0.019748752936720848,
0.030915696173906326,
-0.03918616473674774,
-0.00016841823526192456,
-0.019876059144735336,
0.02706645429134369,
-0.024815909564495087,
0.044534750282764435,
-0.02602366916835308,
0.041541293263435364,
-0.10490848124027252,
-0.014152622781693935,
-0.010718099772930145,
0.045470792800188065,
0.03885670378804207,
-0.034079935401678085,
0.05642326921224594,
0.035745687782764435,
0.011776555329561234,
0.008816399611532688,
-0.002542835660278797,
-0.03576599806547165,
0.06962978094816208,
-0.04648027941584587,
-0.0020799499470740557,
0.001235373318195343,
0.0655113086104393,
-0.04547521099448204,
-0.04589764401316643,
-0.023878328502178192,
-0.05661587789654732,
-0.030597712844610214,
0.040430475026369095,
0.02466270886361599,
-0.028797995299100876,
0.030652755871415138,
0.03811386600136757,
-0.008797642774879932,
0.04145455360412598,
-0.014303521253168583,
0.05322396010160446,
-0.009064387530088425,
-0.00969950295984745,
-0.011245201341807842,
-0.04520814120769501,
-0.047945939004421234,
0.019935855641961098,
0.0052068703807890415,
-0.038529131561517715,
-0.06330191344022751,
0.0596918947994709,
0.014024361968040466,
-0.012228282168507576,
0.0440819151699543,
-0.032999083399772644,
-0.03897053003311157,
-0.09030130505561829,
0.0386158786714077,
0.021140551194548607,
0.01142105832695961,
0.02790100686252117,
-0.07358568161725998,
0.027341328561306,
-0.05166460946202278,
-0.047350071370601654,
-0.018461007624864578,
0.025821298360824585,
-0.03654796630144119,
0.043753646314144135,
0.04070331156253815,
-0.05128089711070061,
0.019316572695970535,
0.008869333192706108,
-0.07959527522325516,
0.05032498762011528,
0.045934371650218964,
0.1324751079082489,
-0.047776103019714355,
-0.0288903396576643,
0.00444062240421772,
0.010906037874519825,
-0.0259532667696476,
0.01496253814548254,
0.013997607864439487,
-0.03444667160511017,
-0.019902607426047325,
-0.0037661129608750343,
0.05221889168024063,
-0.04948946088552475,
-0.005996364168822765,
0.04769154638051987,
0.004111463204026222,
0.03923126682639122,
-0.05763603374361992,
0.003901036223396659,
-0.007271964568644762,
-0.011130033060908318,
-0.04436236619949341,
0.014081567525863647,
-0.01344974059611559,
-0.019445933401584625,
-0.048105768859386444,
-0.05118267610669136,
0.009083542972803116,
0.09451262652873993,
-0.007235940545797348,
-0.01965475268661976,
-0.021205473691225052,
0.007804741617292166,
0.043426256626844406,
0.042017754167318344,
-0.024319881573319435,
0.03345511481165886,
0.038683660328388214,
0.03643985092639923,
-0.009442607872188091,
0.07409089058637619,
-0.0008487969171255827,
-0.036538224667310715,
-0.030048048123717308,
0.01492196973413229,
-0.007916840724647045,
-0.04383968189358711,
0.02875959314405918,
0.037713345140218735,
-0.0016180487582460046,
-0.03159620240330696,
-0.014316282235085964,
0.034376323223114014,
-0.02514060027897358,
-0.004071762319654226,
0.02812536060810089,
0.001159535488113761,
-0.019806016236543655,
0.05665160343050957,
-0.02900613844394684,
0.01485599298030138,
-0.03990916162729263,
-0.027079569175839424,
0.022285310551524162,
0.027222730219364166,
0.03683074936270714,
0.045584045350551605,
-0.029616380110383034,
0.09496406465768814,
-0.02220706082880497,
0.0168489720672369,
-0.054027412086725235,
-0.042017899453639984,
0.013018196448683739,
0.04586096853017807,
0.01517826970666647,
0.03922877460718155,
-0.00566506152972579,
-0.04858705773949623,
0.005341970827430487,
0.07042291015386581,
0.0484563447535038,
0.03232309967279434,
-0.036868371069431305,
-0.009251528419554234,
0.06341086328029633,
0.04932118579745293,
-0.04672602191567421,
-0.0688614770770073,
0.014093765988945961,
0.06538624316453934,
-0.006701397709548473,
0.015903707593679428,
-0.019361883401870728,
0.014441635459661484,
-0.034024592489004135,
-0.06671447306871414,
0.045324839651584625,
0.02997416816651821,
-0.0034180725924670696,
0.050006598234176636,
0.007786146365106106,
0.006183385383337736,
-0.007843497209250927,
-0.015371078625321388,
0.004485012497752905,
-0.05304746329784393,
-0.0011289590038359165,
0.027192367240786552,
0.05037214234471321,
-0.04746023938059807,
0.0337684266269207,
0.008661741390824318,
0.0020018916111439466,
0.04358506575226784,
-0.054050806909799576,
0.017922623082995415,
0.032113127410411835,
0.00956746842712164,
-0.057239457964897156,
0.018562743440270424,
0.016578886657953262,
0.06839195638895035,
0.055722977966070175,
-0.011235645972192287,
0.07144893705844879,
0.0193598885089159,
0.04794003814458847,
0.08959759771823883,
0.02527410164475441,
0.01725560799241066,
0.019804345443844795,
0.037308476865291595,
-0.004112408962100744,
-0.0033689746633172035,
0.06238194555044174,
-0.05361085757613182,
0.012169013731181622,
-0.04333394765853882,
0.027372127398848534,
0.00936841405928135,
-0.002615306992083788,
0.027658922597765923,
0.023948557674884796,
-0.007024873048067093,
0.016257956624031067,
-0.00682995468378067,
-0.014918103814125061,
0.03388661891222,
0.003099659224972129,
0.0040788897313177586,
-0.003130917437374592,
-0.025721076875925064,
0.020132681354880333,
-0.06681745499372482,
-0.04419495910406113,
-0.011745709925889969,
-0.023982206359505653,
0.0034299879334867,
-0.08727716654539108,
-0.023275280371308327,
-0.06521695107221603,
-0.00153390783816576,
0.0383077971637249,
0.02075241133570671,
0.013175721280276775,
-0.03798378258943558,
0.015035620890557766,
-0.05575517192482948,
-0.04981796070933342,
-0.05887522175908089,
-0.01596175879240036,
-0.02997886762022972,
-0.04416213929653168,
0.04326353222131729,
0.021421711891889572,
0.03382573649287224,
-0.008726533502340317,
0.01844041980803013,
-0.005673871375620365,
-0.026727868244051933,
0.06880959123373032,
0.03289039805531502,
-0.03313140198588371,
-0.04894309118390083,
0.008410518057644367,
-0.023094240576028824,
0.026299381628632545,
0.008013037964701653,
-0.03811590373516083,
0.08304401487112045,
0.07368506491184235,
0.007685499731451273,
0.031040681526064873,
-0.02309107594192028,
-0.05128620192408562,
-0.07661332190036774,
-0.03271498158574104,
-0.05562252923846245,
-0.030531227588653564,
-0.00505854981020093,
-0.051356393843889236,
-0.029570240527391434,
-0.038432974368333817,
0.0073644742369651794,
-0.019236838445067406,
0.020014489069581032,
0.013725481927394867,
0.03783662989735603,
0.029570724815130234,
0.03131991997361183,
-0.0461893156170845,
-0.01053196657449007,
0.07712825387716293,
-0.005358710419386625,
0.007969784550368786,
-0.07701755315065384,
-0.03306150808930397,
0.029427198693156242,
0.030206985771656036,
-0.019144179299473763,
-0.0017387463012710214,
0.08197858184576035,
0.012140450067818165,
0.01679263636469841,
-0.0073434095829725266,
-0.0182931087911129,
-0.042296040803194046,
-0.010571688413619995,
0.014074349775910378,
-0.007290175650268793,
-0.037292782217264175,
-0.04783278703689575,
0.012922588735818863,
0.0392116978764534,
-0.059417612850666046,
-0.05471135675907135,
-0.007383790798485279,
0.03771807625889778,
0.05366658791899681,
-0.003031341126188636,
-0.0279928520321846,
-0.008730906993150711,
-0.03491157665848732,
-0.03993547335267067,
0.017434466630220413,
0.008916775695979595,
0.011164452880620956,
0.038433194160461426,
0.04560619220137596,
-0.04684261232614517,
0.008484574034810066,
0.011796358041465282,
0.05155885964632034,
0.015130065381526947,
-0.021557379513978958,
0.04118240252137184,
-0.045483384281396866,
0.006504249759018421,
0.014097928069531918,
-0.026381365954875946,
-0.0517365001142025,
-0.08543527126312256,
0.01115133985877037,
-0.010890915058553219,
-0.0003766542358789593,
0.002038059290498495,
0.03324238955974579,
0.002341069281101227,
-0.012801390141248703,
0.003938318695873022,
0.010057605803012848,
0.05242467299103737,
-0.05589253455400467,
0.06183905154466629,
0.005426562856882811,
0.028575902804732323,
-0.060453567653894424,
0.020084675401449203,
-0.030866922810673714,
-0.03767590969800949,
0.0002901387051679194,
0.07723648101091385,
0.01050126738846302,
0.05741473287343979,
0.08055329322814941,
0.02811453305184841,
-0.031387533992528915,
0.04038231074810028,
0.04356388375163078,
0.004711391869932413,
-0.03967093676328659,
-0.004563088528811932,
-0.0174481850117445,
-0.03543488308787346,
-0.016779620200395584,
-0.005435604602098465,
0.021197840571403503,
0.020887762308120728,
0.006966045591980219,
-0.013954992406070232,
0.0005081610288470984,
-0.016815269365906715,
-0.025568177923560143,
-0.07322554290294647,
-0.022869089618325233,
0.0002020877436734736,
-0.015460648573935032,
0.023025259375572205,
0.02486865594983101,
0.00702636269852519,
0.07124297320842743,
0.033705100417137146,
-0.008230078034102917,
-0.04372086375951767,
0.027793480083346367,
0.0336994044482708,
-0.05771426483988762,
-0.06399514526128769,
-0.05747786536812782,
0.04547867923974991,
0.06132831051945686,
-0.006826286669820547,
-0.07843686640262604,
-0.004328630864620209,
0.055208198726177216,
-0.050092052668333054,
0.06223265081644058,
-0.030673515051603317,
0.03875051811337471,
0.06890040636062622,
0.009269476868212223,
0.015812208876013756,
-0.002145292004570365,
0.014550144784152508,
0.023393679410219193,
0.036045271903276443,
-0.049131181091070175,
-0.019936952739953995,
-0.05525968223810196,
0.02084767259657383,
0.02177427150309086,
0.03472942113876343,
0.0387750118970871,
-0.013935703784227371,
-0.03700561821460724,
0.027182690799236298,
0.029227713122963905,
-0.04808301478624344,
-0.004121222998946905,
0.02071998454630375,
0.04854753240942955,
-0.04828256368637085,
-0.018998561426997185,
-0.03428139537572861,
0.007130536716431379,
0.042668119072914124,
-0.006027877330780029,
-0.04006217420101166,
-0.05379820615053177,
0.018465645611286163,
-0.02343684434890747,
-0.022266855463385582,
-0.06484886258840561,
0.0022720261476933956,
-0.01912468671798706,
-0.016400568187236786,
0.054778218269348145,
0.01429663971066475,
0.023908846080303192,
0.023923072963953018,
0.00028168538119643927,
0.013659042306244373,
-0.04958748817443848,
0.02158384583890438,
-0.03902427479624748,
-0.008181238546967506,
-0.0046967072412371635,
-0.01917659491300583,
-0.024152889847755432,
-0.035095810890197754,
-0.04441216215491295,
-0.0559941828250885,
-0.01931830495595932,
0.022546866908669472,
-0.015354090370237827,
0.001875022193416953,
-0.022704368457198143,
0.028530891984701157,
-0.015041244216263294,
-0.015419414266943932,
-0.01611470803618431,
-0.028497470542788506,
-0.07576580345630646,
-0.07260990142822266,
0.017816809937357903,
0.003914381843060255,
0.017741190269589424,
0.0018887892365455627,
0.012804921716451645,
-0.006174023728817701,
0.0014518355019390583,
-0.010969079099595547,
0.04450282081961632,
0.013819948770105839,
-0.035090189427137375,
-0.04371887817978859,
0.003543576691299677,
0.0007356584537774324,
0.018590936437249184,
-0.02915680781006813,
0.0544913150370121,
0.004439864307641983,
-0.021826375275850296,
-0.01039197389036417,
0.02425430715084076,
0.026454169303178787,
-0.08016373217105865,
-0.04644136130809784,
-0.030895482748746872,
-0.05294254422187805,
0.02838631346821785,
-0.018472695723176003,
-0.007338488008826971,
0.03500979393720627,
0.018805280327796936,
0.0355893149971962,
0.010425298474729061,
-0.0349954329431057,
0.022997824475169182,
-0.025754030793905258,
0.019726967439055443,
-0.04985792562365532,
0.037306047976017,
-0.04022228345274925,
0.028553368523716927,
0.003197187790647149,
0.007406056392937899,
-0.0463281013071537,
0.05264043062925339,
0.0008608899661339819,
0.012773800641298294,
-0.02104286290705204,
-0.0035955295898020267,
-0.025322897359728813,
0.04421396180987358,
-0.028503617271780968,
0.017132598906755447,
-0.018688032403588295,
0.052099619060754776,
-0.03910933807492256,
-0.01526185404509306,
-0.01796995848417282,
-0.00009945601050276309,
-0.018597319722175598,
-0.02646293118596077,
-0.01913268491625786,
-0.031365178525447845,
0.03911492973566055,
0.016341160982847214,
0.028345761820673943,
-0.0029712284449487925,
-0.030758775770664215,
0.014153718017041683,
0.03894064202904701,
-0.055855125188827515,
-0.016798105090856552,
-0.020640412345528603,
0.0002505070297047496,
-0.014986805617809296,
0.06872890144586563,
0.034992020577192307,
-0.03884289786219597,
-0.05900203064084053,
0.0520751029253006,
0.009455202147364616,
0.00808353628963232,
0.004336060024797916,
0.019445857033133507,
0.035141538828611374,
0.021299218758940697,
-0.028024502098560333,
-0.0021493069361895323,
-0.010836083441972733,
-0.023491326719522476,
0.03454510122537613,
0.026220006868243217,
0.021731890738010406,
0.019237373024225235,
-0.017618076875805855,
-0.027292564511299133,
0.04381851479411125,
0.023055117577314377,
0.02406187355518341,
0.010578361339867115,
-0.033917468041181564,
0.03680693730711937,
-0.010312993079423904,
-0.03166845813393593,
-0.018835289403796196,
0.024641424417495728,
-0.03531603515148163,
0.050102587789297104,
-0.01750165969133377,
0.00923498161137104,
0.06611158698797226,
0.0040387120097875595,
-0.02837085723876953,
0.05353590101003647,
-0.012674344703555107,
0.02154863253235817,
0.05479796603322029,
-0.05610404163599014,
-0.011471975594758987,
-0.03799378126859665,
0.09278412163257599,
-0.05533566698431969,
0.030289078131318092,
0.04161573573946953,
0.005131642334163189,
0.03505783900618553,
-0.05353982001543045,
-0.03666335716843605,
0.014741508290171623,
-0.05039098858833313,
0.0704207643866539,
0.010893593542277813,
-0.04172244295477867,
0.06787285953760147,
-0.0006223551463335752,
-0.05606849119067192,
0.051179565489292145,
0.06043803691864014,
0.025378715246915817,
0.023116888478398323,
0.04675117880105972,
-0.05335000902414322,
-0.0011969375191256404,
-0.02136390469968319,
0.019591491669416428,
-0.04269120469689369,
-0.008766121231019497,
0.002087492262944579,
-0.047004397958517075,
0.003149253549054265,
0.020380057394504547,
-0.017242897301912308,
-0.01451101340353489,
0.03823673352599144,
-0.057291582226753235,
-0.018903343006968498,
0.016401907429099083,
0.014208546839654446,
-0.028474243357777596,
0.0027481773868203163,
-0.04620441794395447,
0.01809190772473812,
0.007984074763953686,
-0.007792224176228046,
-0.02374723181128502,
0.0058591957204043865,
0.03456469625234604,
-0.06000927463173866,
-0.04313579574227333,
0.036638595163822174,
-0.004160897806286812,
-0.02113194763660431,
0.03273836150765419,
-0.00013410250539891422,
0.017342468723654747,
0.04131254926323891,
0.019847305491566658,
0.02847694233059883,
-0.029607489705085754,
-0.013374515809118748,
-0.016174616292119026,
-0.013274187222123146,
0.03807585686445236,
-0.013809507712721825,
0.017226096242666245,
0.027614131569862366,
0.038830727338790894,
0.0010369693627581,
-0.06673850119113922,
-0.034309279173612595,
0.0139473807066679,
-0.0383513867855072,
0.004062708001583815,
0.006203596480190754,
-0.05130523070693016,
-0.048590198159217834,
-0.026564082130789757,
0.011583327315747738,
0.024828322231769562,
-0.04758143797516823,
-0.007974212989211082,
0.06508103013038635,
-0.014527086168527603,
-0.04041396453976631,
-0.07953358441591263,
-0.028116600587964058,
-0.03147187829017639,
0.04245384410023689,
0.026480935513973236,
-0.05053384229540825,
0.03987567126750946,
-0.05453753471374512,
-0.0497070848941803,
0.02740732952952385,
0.016021257266402245,
-0.0352795235812664,
0.05473627150058746,
0.03664053604006767,
-0.044164180755615234,
-0.009102354757487774,
0.034473516047000885,
-0.03373758867383003,
0.01765122450888157,
0.03385995700955391,
0.01105298288166523,
0.0010422616032883525,
0.028488922864198685,
-0.024213571101427078,
-0.007004742510616779,
-0.06869786977767944,
-0.05514710023999214,
-0.03153076767921448,
-0.0028888778761029243,
0.06816311925649643
] |
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 | Language model fine-tuned on the articles and speeches of Noam Chomsky. | [
-0.024510696530342102,
0.005568868946284056,
-0.025553688406944275,
0.018628129735589027,
0.06662610918283463,
0.028191428631544113,
0.012373900040984154,
0.011519980616867542,
-0.04291747882962227,
0.04778001829981804,
0.04300842806696892,
-0.005700630135834217,
0.019425513222813606,
0.009435963816940784,
-0.033610738813877106,
-0.02709817700088024,
-0.02938344143331051,
-0.015531915239989758,
-0.033740974962711334,
-0.01690010167658329,
-0.008836965076625347,
0.0033370694145560265,
-0.007266722619533539,
0.03137664496898651,
0.017270490527153015,
0.036950938403606415,
0.017620110884308815,
0.04227573797106743,
0.04926818981766701,
-0.036892347037792206,
0.029509760439395905,
-0.03210803493857384,
-0.052146222442388535,
-0.012110552750527859,
-0.018204184249043465,
-0.0334627665579319,
0.008819770067930222,
-0.010325673036277294,
0.024798912927508354,
0.058688364923000336,
-0.030454687774181366,
0.03134046122431755,
-0.012391257099807262,
-0.005857936106622219,
0.03573400527238846,
-0.01742558553814888,
-0.03048909641802311,
-0.06784341484308243,
0.014463234692811966,
-0.022041654214262962,
-0.01309861708432436,
-0.048549965023994446,
-0.0073397159576416016,
0.02461225539445877,
0.028366120532155037,
-0.04100643843412399,
-0.07545578479766846,
0.01564439758658409,
0.08067569881677628,
-0.04852315038442612,
-0.0081559419631958,
0.01780678518116474,
-0.06853221356868744,
0.009918984957039356,
0.03473620116710663,
-0.07086264342069626,
0.02908218838274479,
-0.014283043332397938,
0.02300499565899372,
-0.01984490640461445,
0.03938184678554535,
-0.03858054429292679,
0.014948077499866486,
-0.08440648764371872,
-0.006346076261252165,
-0.021107200533151627,
0.053542736917734146,
0.06589890271425247,
-0.050340257585048676,
0.07129675149917603,
0.008647631853818893,
0.01301690936088562,
0.027991432696580887,
-0.005356708541512489,
-0.028975091874599457,
0.049267206341028214,
-0.0358729287981987,
-0.009807176887989044,
0.016662653535604477,
0.07665368914604187,
-0.03903454169631004,
-0.06300439685583115,
-0.017026526853442192,
-0.023886533454060555,
0.0030066438484936953,
0.030431797727942467,
0.04453021287918091,
-0.05590813234448433,
0.021751094609498978,
0.01374543085694313,
0.015745360404253006,
0.06928522884845734,
-0.02660459466278553,
0.013607009314000607,
-0.009016531519591808,
0.0028428547084331512,
-0.000921795261092484,
-0.029042737558484077,
0.00013023866631556302,
0.051908012479543686,
0.0034669479355216026,
-0.03840423375368118,
-0.039143845438957214,
0.067466139793396,
0.012556974776089191,
-0.013424916192889214,
0.028595471754670143,
-0.03880951181054115,
-0.02092999592423439,
-0.06574974954128265,
0.03262859955430031,
0.0005798591882921755,
-0.0017037231009453535,
-0.013056433759629726,
-0.08319991081953049,
0.014579113572835922,
-0.053786687552928925,
-0.06421397626399994,
-0.030969472602009773,
-0.001592364744283259,
-0.01178300566971302,
0.01023073773831129,
0.056520868092775345,
-0.056110262870788574,
-0.004139504861086607,
-0.02007918246090412,
-0.06075785681605339,
0.004170594271272421,
0.02467973716557026,
0.06520920246839523,
-0.06293642520904541,
-0.05607209354639053,
0.023773202672600746,
0.01962531916797161,
-0.014177825301885605,
0.012966561131179333,
0.0038183319848030806,
-0.03591952845454216,
-0.039363421499729156,
0.015267941169440746,
0.07775763422250748,
-0.061764705926179886,
0.007948819547891617,
0.06996975839138031,
0.0007835084106773138,
0.04765228554606438,
-0.03286444768309593,
0.018269415944814682,
0.001831856439821422,
0.01726059801876545,
-0.05833815410733223,
0.03675197437405586,
-0.0007630024920217693,
-0.040391068905591965,
-0.10774418711662292,
-0.041360579431056976,
0.03687979653477669,
0.045823730528354645,
0.011085700243711472,
-0.03232627734541893,
-0.044545236974954605,
0.01599237136542797,
0.06254719942808151,
0.031243739649653435,
-0.028900764882564545,
0.03165525197982788,
0.06957577913999557,
0.005131363403052092,
-0.023950666189193726,
0.08362500369548798,
0.0005342932417988777,
-0.03817058727145195,
-0.0050520626828074455,
0.011340931057929993,
0.022698381915688515,
-0.030911097303032875,
-0.002130216686055064,
0.03662635758519173,
-0.03157968819141388,
-0.02629709802567959,
-0.018020199611783028,
0.046582307666540146,
-0.022235117852687836,
-0.007857173681259155,
0.015395419672131538,
-0.0400751568377018,
-0.017245888710021973,
0.014555302448570728,
-0.03816912695765495,
0.000482819858007133,
-0.02287774533033371,
-0.017873624339699745,
0.005595735739916563,
0.04957762360572815,
0.00781264342367649,
0.024511439725756645,
-0.025830719619989395,
0.06886088103055954,
-0.02185186930000782,
0.0013770372606813908,
-0.027730824425816536,
-0.05401097610592842,
-0.03472854942083359,
0.04839089512825012,
0.04798173904418945,
0.03832339867949486,
0.011138316243886948,
-0.06290595978498459,
0.027379147708415985,
0.04669400677084923,
0.04882190376520157,
0.00516138318926096,
-0.040937334299087524,
-0.016212137416005135,
0.04584638774394989,
0.04116131737828255,
-0.026496274396777153,
-0.01831618882715702,
0.0435386523604393,
0.03499492630362511,
-0.023424332961440086,
-0.003082818351686001,
-0.022628020495176315,
0.0524723082780838,
-0.04392770677804947,
-0.06607846170663834,
0.04016026481986046,
0.03567098453640938,
-0.0083086546510458,
0.04225214198231697,
-0.05947881191968918,
0.041394174098968506,
0.044433481991291046,
-0.021542122587561607,
-0.009974867105484009,
-0.06728803366422653,
0.011798232793807983,
0.014119808562099934,
0.05296714976429939,
-0.04450731351971626,
0.04882030189037323,
0.014753722585737705,
0.0011842113453894854,
0.0027283085510134697,
-0.028067277744412422,
0.0643182247877121,
0.02412380464375019,
-0.007277432829141617,
-0.042859990149736404,
0.01805199682712555,
0.0007745349430479109,
0.05920654162764549,
0.0852808952331543,
-0.00512809818610549,
0.059615444391965866,
-0.017026418820023537,
0.05163169279694557,
0.05738353729248047,
0.04507565125823021,
0.0015076579293236136,
0.03388136252760887,
0.02451270818710327,
-0.027962466701865196,
-0.003881126642227173,
0.049966782331466675,
-0.06795121729373932,
0.009239413775503635,
-0.025902068242430687,
0.02145436964929104,
-0.0024299996439367533,
0.0077614132314920425,
0.04042083024978638,
0.01354639045894146,
-0.010647717863321304,
0.015542040579020977,
-0.032437924295663834,
-0.008784906007349491,
0.0397820770740509,
0.004923993721604347,
0.0037609143182635307,
-0.026531467214226723,
-0.018246371299028397,
0.0307592935860157,
-0.08066374808549881,
-0.0040424359031021595,
0.014865301549434662,
-0.027380013838410378,
0.006756407208740711,
-0.027532361447811127,
-0.040700070559978485,
-0.04833623394370079,
-0.00017745656077750027,
0.03640512377023697,
0.01986316777765751,
0.04593627154827118,
-0.03224985674023628,
0.02763936296105385,
-0.017865238711237907,
-0.03603465482592583,
-0.049550093710422516,
-0.038575004786252975,
-0.01844758540391922,
-0.05789072439074516,
0.0643090158700943,
0.01869385689496994,
0.062161389738321304,
0.005455174949020147,
0.008303838782012463,
-0.013905507512390614,
-0.050406891852617264,
0.04891394451260567,
0.01710011623799801,
-0.025232966989278793,
-0.015819624066352844,
0.007577475160360336,
0.019359828904271126,
0.006123698316514492,
-0.009791446849703789,
-0.06115340441465378,
0.019663793966174126,
0.061264101415872574,
0.008588654920458794,
0.02354680374264717,
0.028105134144425392,
-0.03632388636469841,
-0.050757721066474915,
-0.04408504068851471,
-0.0717993974685669,
-0.04145129397511482,
-0.00008855473424773663,
-0.05024683475494385,
-0.011796236969530582,
-0.023663880303502083,
-0.034532330930233,
-0.02488206885755062,
-0.03890571370720863,
0.023762118071317673,
0.03726630657911301,
0.007787671405822039,
0.0035393796861171722,
-0.05378737300634384,
-0.03299716114997864,
0.0687403753399849,
-0.005609447602182627,
0.008166180923581123,
-0.06273356825113297,
-0.057746611535549164,
0.03635797277092934,
0.021728532388806343,
-0.009090875275433064,
-0.030926700681447983,
0.05390193313360214,
0.02979646436870098,
0.030055779963731766,
-0.022094663232564926,
-0.05292072147130966,
-0.023512637242674828,
0.004980591591447592,
-0.017263537272810936,
-0.01557751465588808,
-0.052974946796894073,
0.005781003274023533,
0.02716851606965065,
0.07450193166732788,
-0.04929109662771225,
-0.034857120364904404,
-0.0291975736618042,
0.01202619168907404,
0.0015303107211366296,
-0.03700833022594452,
-0.020991289988160133,
0.01424806471914053,
-0.01563561148941517,
0.015836063772439957,
-0.018790490925312042,
-0.006906524300575256,
0.06267354637384415,
0.05690738931298256,
0.003801943501457572,
-0.006589754018932581,
0.009179376997053623,
0.024614887312054634,
0.04528168961405754,
0.05281006172299385,
-0.006638352759182453,
0.043232548981904984,
-0.027516357600688934,
0.012232416309416294,
-0.02653946541249752,
-0.025464115664362907,
-0.04615490138530731,
-0.07797510921955109,
-0.027551643550395966,
0.016804954037070274,
-0.031398504972457886,
-0.0007340746815316379,
-0.00013981615484226495,
-0.03855026885867119,
0.006072713527828455,
0.009968436323106289,
0.014256974682211876,
0.03589878976345062,
-0.042330022901296616,
0.07943962514400482,
-0.006884349510073662,
0.0342785120010376,
-0.043190550059080124,
-0.016841847449541092,
-0.027896389365196228,
0.011073073372244835,
-0.01809770055115223,
0.08155380934476852,
0.030247144401073456,
0.03156692907214165,
0.07555529475212097,
0.01598128117620945,
-0.03910151124000549,
0.04737778380513191,
0.047972727566957474,
0.0025467018131166697,
-0.01053373608738184,
0.0063934726640582085,
-0.030576782301068306,
-0.030985787510871887,
0.007186490576714277,
-0.027614284306764603,
0.029481882229447365,
0.01998491771519184,
0.013483904302120209,
-0.02216438204050064,
-0.011927004903554916,
-0.025743339210748672,
-0.03542948141694069,
-0.06632822751998901,
0.02249416522681713,
0.004538819659501314,
-0.0010156634962186217,
0.029909692704677582,
0.03166962414979935,
0.009990771301090717,
0.03777332603931427,
0.0489920973777771,
-0.05055166780948639,
-0.07995639741420746,
0.03515491262078285,
0.028450891375541687,
-0.04829184338450432,
-0.04474165663123131,
-0.02815241739153862,
0.04169866070151329,
0.055980145931243896,
-0.0100101912394166,
-0.08392343670129776,
0.01776999607682228,
0.050961628556251526,
-0.029863309115171432,
0.04260997846722603,
-0.0016408170340582728,
0.03686048462986946,
0.040342774242162704,
-0.02546684816479683,
0.03338434547185898,
-0.019148491322994232,
-0.0050835879519581795,
0.016401980072259903,
0.006583220791071653,
-0.03587811067700386,
-0.04025930538773537,
-0.057893767952919006,
0.000498549547046423,
0.03945453092455864,
0.03145739808678627,
0.03841843828558922,
-0.011461220681667328,
-0.020927418023347855,
-0.0004919494385831058,
0.026765761896967888,
-0.03173789009451866,
0.024738259613513947,
0.03294336795806885,
0.017330054193735123,
-0.012907151132822037,
-0.03004247508943081,
0.0030092804227024317,
-0.0017265419010072947,
0.041364360600709915,
-0.007916348055005074,
-0.03256196156144142,
0.0037953071296215057,
0.012763278558850288,
-0.020645273849368095,
-0.01796046644449234,
-0.12621743977069855,
0.01002164650708437,
-0.018317148089408875,
-0.013444618321955204,
0.05039972811937332,
0.01499145943671465,
0.05253373831510544,
0.04155496507883072,
-0.0029112789779901505,
0.027953872457146645,
-0.04084155336022377,
0.040231186896562576,
0.032515592873096466,
-0.0028954504523426294,
-0.001724885543808341,
-0.040944088250398636,
-0.039425548166036606,
-0.04114009067416191,
-0.061518311500549316,
-0.0303425844758749,
0.007247180212289095,
0.0632200837135315,
-0.05268821120262146,
0.004298684652894735,
-0.024304622784256935,
0.016533883288502693,
-0.0009467663476243615,
-0.01296151988208294,
-0.016242092475295067,
-0.028645070269703865,
-0.06381543725728989,
0.002795126521959901,
0.03233570232987404,
-0.013834359124302864,
0.005411114543676376,
0.008505835197865963,
0.005466527305543423,
0.005531230941414833,
-0.010905150324106216,
-0.02561291679739952,
0.02926931343972683,
-0.010088691487908363,
-0.04844948276877403,
-0.022542361170053482,
0.029350055381655693,
0.035860974341630936,
0.03622221201658249,
-0.04491908475756645,
0.056674763560295105,
0.0005156788975000381,
-0.057210054248571396,
-0.00953806284815073,
0.011153713800013065,
0.02493174374103546,
-0.0523047037422657,
-0.058347705751657486,
-0.035612087696790695,
-0.043368060141801834,
0.0267267357558012,
-0.04646904766559601,
0.01704905740916729,
0.037222567945718765,
0.026098012924194336,
0.04495900869369507,
0.0013415692374110222,
-0.05695518106222153,
0.01953226327896118,
-0.033512841910123825,
0.0027377349324524403,
-0.07967714220285416,
0.02376197651028633,
-0.03171404078602791,
0.029736967757344246,
-0.0095767080783844,
0.025714274495840073,
-0.05528849735856056,
0.023971552029252052,
-0.0023817522451281548,
-0.013208719901740551,
-0.019022438675165176,
-0.037256695330142975,
-0.04700397700071335,
0.026557860895991325,
-0.004166718572378159,
0.013269815593957901,
-0.05880950391292572,
0.016241688281297684,
-0.033880554139614105,
0.011215906590223312,
-0.0515313521027565,
-0.015059719793498516,
-0.010247659869492054,
-0.023927196860313416,
-0.007758227176964283,
-0.05174868553876877,
0.0384100005030632,
0.028310716152191162,
0.018913397565484047,
0.03877491131424904,
0.011924361810088158,
0.016242071986198425,
0.02060939371585846,
-0.06191590055823326,
-0.006360775791108608,
0.002898044418543577,
0.03469472751021385,
0.018413787707686424,
0.042585160583257675,
0.012695266865193844,
-0.07258354127407074,
-0.04468930885195732,
0.05982722342014313,
0.037302982062101364,
0.029649604111909866,
0.0019160512601956725,
0.02709190919995308,
0.053531963378190994,
0.049846187233924866,
0.0022191673051565886,
0.011516137048602104,
-0.028681181371212006,
-0.01842927560210228,
0.006132832262665033,
-0.008967023342847824,
-0.005782947409898043,
0.0007387991063296795,
-0.016026830300688744,
-0.0265449620783329,
0.05356685817241669,
0.03574831038713455,
-0.0002815986517816782,
-0.00935989897698164,
-0.028044065460562706,
0.04707077890634537,
0.01047919224947691,
-0.06932692229747772,
0.016513196751475334,
-0.006650812458246946,
-0.032677896320819855,
0.04514878988265991,
0.0115188118070364,
0.027499094605445862,
0.03185276314616203,
0.018026405945420265,
-0.0072718518786132336,
0.023388957604765892,
-0.05336203798651695,
0.018640335649251938,
0.012701187282800674,
-0.044337909668684006,
-0.013741917908191681,
-0.07041944563388824,
0.07601060718297958,
-0.04167717322707176,
0.05549999326467514,
0.07182463258504868,
0.005374300759285688,
0.04348611831665039,
-0.033498767763376236,
-0.0347442664206028,
-0.020186176523566246,
-0.02482587657868862,
0.04019618034362793,
0.0067059644497931,
-0.03524210304021835,
0.06004025414586067,
-0.0030106701888144016,
-0.08455029875040054,
0.031153498217463493,
0.047983452677726746,
0.0035522349644452333,
0.013042553327977657,
0.04809558019042015,
-0.05717448890209198,
-0.01702987588942051,
-0.027576254680752754,
-0.00041071788291446865,
-0.03647896274924278,
0.020212911069393158,
0.008817136287689209,
-0.019056377932429314,
-0.0003288685402367264,
0.031199553981423378,
-0.06269578635692596,
0.023707322776317596,
0.03873755782842636,
-0.03795811906456947,
-0.05791698023676872,
-0.024662792682647705,
0.03615088015794754,
0.02721271850168705,
0.0006063002510927618,
-0.028543297201395035,
0.011997899040579796,
0.034582510590553284,
0.0012895051622763276,
-0.021960288286209106,
0.023858455941081047,
0.001973211532458663,
-0.06681012362241745,
-0.02016056887805462,
0.06950791925191879,
0.030612094327807426,
0.004393307492136955,
0.02748444862663746,
0.004287936259061098,
0.006014954764395952,
0.02443804033100605,
-0.01647104322910309,
0.035796307027339935,
-0.05342164263129234,
-0.003309486201032996,
0.046660248190164566,
0.006289714016020298,
0.019351761788129807,
-0.02181939408183098,
0.024815717712044716,
0.07521957159042358,
0.01955373026430607,
-0.0027665032539516687,
-0.09734021127223969,
-0.0386246033012867,
0.013847436755895615,
-0.023067789152264595,
0.036764733493328094,
0.01744377613067627,
-0.034723952412605286,
-0.029200628399848938,
-0.03613867983222008,
0.006463108118623495,
0.03578733280301094,
-0.03225304186344147,
-0.007234660908579826,
-0.0019985008984804153,
0.00019168424478266388,
-0.03124157525599003,
-0.033225689083337784,
-0.06955257058143616,
-0.030964596197009087,
0.048893243074417114,
-0.006735689472407103,
-0.041668735444545746,
0.01664930209517479,
-0.041141532361507416,
-0.042970482259988785,
0.03267263248562813,
0.000755676650442183,
-0.04623985290527344,
0.06636197119951248,
0.04505409300327301,
-0.04316744580864906,
0.008655349723994732,
0.05442327633500099,
-0.05625731498003006,
0.05641326308250427,
-0.007378661073744297,
0.03195254132151604,
0.001819542609155178,
0.029622379690408707,
0.016176817938685417,
-0.014949655160307884,
-0.046045172959566116,
-0.04989665374159813,
-0.03626143932342529,
0.002450780477374792,
0.0535874217748642
] |
BobBraico/bert-finetuned-ner | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | 2021-12-12T17:45:49Z | ---
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- wikiann
metrics:
- precision
- recall
- f1
- accuracy
model-index:
- name: distilbert-base-uncased-finetuned-ner
results:
- task:
name: Token Classification
type: token-classification
dataset:
name: wikiann
type: wikiann
args: en
metrics:
- name: Precision
type: precision
value: 0.8120642485217545
- name: Recall
type: recall
value: 0.830235495804385
- name: F1
type: f1
value: 0.8210493441599
- name: Accuracy
type: accuracy
value: 0.9203828724683252
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# distilbert-base-uncased-finetuned-ner
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the wikiann dataset.
It achieves the following results on the evaluation set:
- Loss: 0.2781
- Precision: 0.8121
- Recall: 0.8302
- F1: 0.8210
- Accuracy: 0.9204
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.3504 | 1.0 | 1250 | 0.2922 | 0.7930 | 0.8075 | 0.8002 | 0.9115 |
| 0.2353 | 2.0 | 2500 | 0.2711 | 0.8127 | 0.8264 | 0.8195 | 0.9196 |
| 0.1745 | 3.0 | 3750 | 0.2781 | 0.8121 | 0.8302 | 0.8210 | 0.9204 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
| [
-0.008826750330626965,
0.005140887573361397,
-0.03436201810836792,
0.03788178414106369,
0.04031151905655861,
0.026453210040926933,
-0.021045371890068054,
-0.03580322861671448,
-0.04322189837694168,
0.06604081392288208,
0.0382184199988842,
-0.023249514400959015,
0.02050769329071045,
0.033215463161468506,
-0.03871449828147888,
-0.0329081155359745,
0.0007918452611193061,
-0.011778012849390507,
-0.029192978516221046,
-0.020465433597564697,
-0.0008511992637068033,
-0.007363570854067802,
0.014756717719137669,
-0.004336943384259939,
0.0008050515316426754,
0.006686934735625982,
-0.0026471163146197796,
0.027207843959331512,
0.041265882551670074,
-0.07144027203321457,
-0.005030299536883831,
-0.023490717634558678,
-0.06330790370702744,
-0.013257689774036407,
-0.018368588760495186,
-0.01569068245589733,
0.0002523491275496781,
0.01931779831647873,
0.022961363196372986,
0.06246568635106087,
-0.01088237389922142,
0.024133801460266113,
0.012217242270708084,
-0.03194253891706467,
0.049970194697380066,
-0.007349887862801552,
-0.04358018934726715,
0.00705381017178297,
0.05138222128152847,
-0.03621111065149307,
-0.07665368914604187,
-0.04209873452782631,
-0.031714096665382385,
0.03668295592069626,
-0.014746522530913353,
-0.007402180228382349,
-0.052816033363342285,
-0.0004213679931126535,
0.06144397705793381,
-0.03906945884227753,
-0.03843306377530098,
0.005890639033168554,
-0.06225349381566048,
0.015785835683345795,
0.019429918378591537,
-0.001345974626019597,
0.0027884601149708033,
-0.05678590387105942,
0.0493866391479969,
-0.015228957869112492,
0.05087811127305031,
-0.02839580737054348,
0.01520098652690649,
-0.07649623602628708,
-0.02681552805006504,
-0.007912692613899708,
0.04440714791417122,
0.060716766864061356,
-0.019569585099816322,
0.03354813903570175,
0.01981312595307827,
0.013528374955058098,
0.05553542077541351,
-0.017982499673962593,
0.009858042933046818,
0.02434854581952095,
-0.04217516630887985,
0.015519713051617146,
0.02204023115336895,
0.012353829108178616,
-0.03279205411672592,
-0.029646944254636765,
-0.037726402282714844,
-0.023357370868325233,
-0.009324393235147,
0.023567700758576393,
0.03417855501174927,
0.02304980158805847,
0.03940579667687416,
0.007314738351851702,
0.029867475852370262,
0.042727477848529816,
-0.027402237057685852,
0.06309056282043457,
0.0003173208679072559,
-0.006958980578929186,
0.004200268071144819,
-0.019776267930865288,
-0.04108845442533493,
0.03566155582666397,
0.030344055965542793,
-0.018633054569363594,
-0.031523697078228,
0.020323166623711586,
-0.00825485959649086,
-0.02672707661986351,
0.06663781404495239,
-0.00945567898452282,
-0.036433130502700806,
-0.030056320130825043,
0.023745905607938766,
0.012768992222845554,
0.01488941814750433,
0.003911605104804039,
-0.025920940563082695,
-0.027059247717261314,
-0.026068413630127907,
-0.02341456525027752,
-0.00840013474225998,
0.005558311473578215,
-0.002558451844379306,
0.06216012313961983,
0.03121974878013134,
-0.09491914510726929,
0.007781535852700472,
0.010230950079858303,
-0.0422852523624897,
0.05090248957276344,
0.01066670659929514,
0.10982409864664078,
-0.04630589112639427,
-0.070477694272995,
-0.003512500086799264,
0.0059272609651088715,
-0.02609667181968689,
-0.002557594794780016,
0.022326819598674774,
-0.04322688654065132,
-0.009663891047239304,
0.024232812225818634,
0.05301732197403908,
-0.043109770864248276,
-0.0035984560381621122,
0.07677993923425674,
-0.000267578026978299,
0.0432012714445591,
-0.07323873043060303,
-0.016565589234232903,
0.012970135547220707,
-0.009597837924957275,
-0.03466086834669113,
0.05353747308254242,
-0.007346072234213352,
-0.0062075769528746605,
-0.026538152247667313,
-0.03191429749131203,
-0.008856087923049927,
0.06815323978662491,
-0.013750970363616943,
-0.03569905459880829,
-0.022309161722660065,
0.031665172427892685,
0.05006825551390648,
0.03920917958021164,
-0.011420697905123234,
0.04301946237683296,
0.05536912754178047,
0.05405129864811897,
-0.020366625860333443,
0.01969415880739689,
0.0036398416850715876,
-0.028201404958963394,
-0.026922360062599182,
0.019046222791075706,
0.006341096479445696,
-0.047478318214416504,
0.045566681772470474,
0.003485822817310691,
0.014494440518319607,
-0.06252371519804001,
-0.057718824595212936,
0.05739157274365425,
0.010729518719017506,
0.0020964883733540773,
0.020842192694544792,
0.02202579565346241,
-0.01692364364862442,
0.05120835080742836,
-0.017709489911794662,
0.014795038849115372,
-0.02984948828816414,
-0.027430100366473198,
0.005451997276395559,
-0.023307016119360924,
0.03393786773085594,
0.044334832578897476,
-0.008694560267031193,
0.08351177722215652,
-0.04188908636569977,
0.02308366261422634,
-0.05276086553931236,
-0.025531260296702385,
0.013355555012822151,
0.06997620314359665,
0.024079104885458946,
0.03996114805340767,
-0.002823371673002839,
-0.03585802763700485,
0.03153099864721298,
0.07675302773714066,
0.038943421095609665,
0.020150866359472275,
-0.03259949013590813,
-0.015713423490524292,
0.06391006708145142,
0.046899355947971344,
-0.0582980141043663,
-0.022440962493419647,
-0.007525772787630558,
0.01931769959628582,
0.020190095528960228,
0.011265693232417107,
-0.025750132277607918,
0.03340763971209526,
-0.05210009962320328,
-0.06047331541776657,
0.05391980707645416,
0.012003100477159023,
-0.0024480412248522043,
0.035800084471702576,
0.014514610171318054,
-0.000601949926931411,
0.025186972692608833,
0.015458681620657444,
-0.01492826733738184,
-0.062085457146167755,
0.017905520275235176,
-0.0021672919392585754,
0.049222540110349655,
-0.059738777577877045,
0.03588629886507988,
-0.015076435171067715,
0.01624118909239769,
0.0502302385866642,
-0.055689409375190735,
0.024456927552819252,
0.03793953359127045,
0.018659887835383415,
-0.04075458273291588,
0.030781710520386696,
0.019206039607524872,
0.05049505457282066,
0.04460341855883598,
0.026381511241197586,
0.06873168051242828,
0.007909154519438744,
0.03710832819342613,
0.05879013240337372,
0.022812318056821823,
0.017828380689024925,
0.01866244152188301,
0.05168455094099045,
0.013802538625895977,
-0.011228066869080067,
0.0668637678027153,
-0.04328049346804619,
0.025967732071876526,
-0.05791686102747917,
-0.003767396556213498,
-0.02539021149277687,
-0.008807038888335228,
0.048053495585918427,
0.02982061728835106,
-0.02232201024889946,
-0.01917050965130329,
-0.0024926229380071163,
-0.007661873009055853,
0.03175674006342888,
0.005643369164317846,
0.002340341219678521,
-0.013049732893705368,
-0.007238827180117369,
-0.027847914025187492,
-0.07424296438694,
-0.038403552025556564,
-0.027478165924549103,
-0.01852942258119583,
-0.02143416553735733,
-0.08824750781059265,
-0.004692108370363712,
-0.07229631394147873,
-0.03451257944107056,
0.03649316355586052,
0.034096866846084595,
-0.022518398240208626,
-0.02836100198328495,
0.007939626462757587,
-0.06200764328241348,
-0.04675249010324478,
-0.053022466599941254,
-0.04033687338232994,
-0.06146574765443802,
-0.07177747786045074,
0.03841985762119293,
0.04444277659058571,
0.008835810236632824,
0.010823691263794899,
0.02038383111357689,
-0.011270462535321712,
-0.011822212487459183,
0.0565495602786541,
0.07183055579662323,
-0.03412533551454544,
-0.0376921109855175,
0.025613632053136826,
-0.014796613715589046,
0.027425339445471764,
0.02173585630953312,
-0.030116453766822815,
0.06588767468929291,
0.07938523590564728,
0.02420136332511902,
0.03064337559044361,
-0.004889245610684156,
-0.0530109778046608,
-0.06995541602373123,
-0.013864795677363873,
-0.03520507737994194,
-0.021801436319947243,
-0.051200512796640396,
-0.03789716958999634,
-0.007562919519841671,
-0.043632861226797104,
0.004607024602591991,
-0.009801476262509823,
0.025904139503836632,
0.022156696766614914,
0.031163662672042847,
0.022878389805555344,
0.04506592079997063,
-0.03089999035000801,
-0.047227270901203156,
0.05364706367254257,
-0.002346618799492717,
0.0025356023106724024,
-0.0991247370839119,
-0.008637192659080029,
0.03222533315420151,
0.025945184752345085,
0.012666206806898117,
0.00041439750930294394,
0.07042545080184937,
-0.01092308945953846,
-0.008166483603417873,
0.006351601332426071,
-0.022553250193595886,
-0.0143097173422575,
0.01113153900951147,
-0.001790946233086288,
0.01712360978126526,
-0.020575830712914467,
-0.039305780082941055,
0.01467719953507185,
0.03216848522424698,
-0.0651235282421112,
-0.03097539208829403,
-0.012275549583137035,
0.026017434895038605,
0.0421493723988533,
0.0036800678353756666,
-0.049267370253801346,
-0.014869380742311478,
-0.06959577649831772,
-0.0047036753967404366,
0.04526941105723381,
0.02424526959657669,
0.012569509446620941,
0.03769687935709953,
0.02340460941195488,
-0.01262104045599699,
0.027546754106879234,
0.05461857467889786,
0.06646130234003067,
-0.0034196614287793636,
-0.06643280386924744,
-0.009736200794577599,
-0.034598734229803085,
0.016665639355778694,
-0.013420348055660725,
-0.024055713787674904,
-0.024893751367926598,
-0.08463425189256668,
-0.023670682683587074,
0.0028250552713871002,
0.0032411408610641956,
-0.02013375237584114,
0.017900001257658005,
0.008361593820154667,
-0.023544374853372574,
0.01547396183013916,
0.01830395869910717,
0.0453997366130352,
-0.030185449868440628,
0.0635596364736557,
-0.005057299509644508,
0.02132386714220047,
-0.06691138446331024,
0.00025822853785939515,
-0.041710928082466125,
-0.02387901581823826,
0.00484807975590229,
0.05634462460875511,
-0.023405173793435097,
0.039170071482658386,
0.07149501889944077,
0.024398352950811386,
-0.05176427587866783,
0.036958351731300354,
0.06895498186349869,
-0.03587920218706131,
-0.032330431044101715,
-0.009175857529044151,
-0.00009849188063526526,
-0.03939007967710495,
-0.015344501473009586,
-0.02414879947900772,
0.051797982305288315,
0.03923932462930679,
-0.00806718785315752,
0.018186502158641815,
0.004608689807355404,
-0.0029538527596741915,
-0.03496119752526283,
-0.07456094771623611,
-0.016121380031108856,
0.017018312588334084,
-0.043606843799352646,
0.02883640117943287,
0.03676125407218933,
0.020292852073907852,
0.07375374436378479,
0.040807630866765976,
-0.03570372611284256,
-0.01838085614144802,
0.03515288606286049,
0.018623502925038338,
-0.023506145924329758,
-0.06993414461612701,
-0.04811156168580055,
0.02514534629881382,
0.05873555690050125,
-0.031100044026970863,
-0.07094065845012665,
0.00031484803184866905,
0.03919794410467148,
-0.04837628826498985,
0.07624305039644241,
-0.006137048359960318,
0.04734862968325615,
0.05128008499741554,
-0.008213382214307785,
0.043984610587358475,
-0.021529128775000572,
-0.011619029566645622,
0.008830828592181206,
0.032409925013780594,
-0.025134334340691566,
-0.036397211253643036,
-0.024474285542964935,
0.027594372630119324,
0.03969806805253029,
0.04591749608516693,
0.03492369130253792,
-0.036620162427425385,
-0.038277652114629745,
0.018979083746671677,
0.029161570593714714,
-0.027751963585615158,
-0.0024410041514784098,
0.033248599618673325,
0.03535276651382446,
-0.04879727214574814,
-0.028285160660743713,
-0.03593803197145462,
-0.012672637589275837,
0.04009665548801422,
0.0012245305115357041,
-0.03296846151351929,
-0.04204808920621872,
0.031100263819098473,
-0.01456416491419077,
-0.004648192785680294,
-0.07966648042201996,
0.05419358238577843,
0.005452727898955345,
-0.016048122197389603,
0.051202740520238876,
0.03671342507004738,
0.027522310614585876,
0.058980561792850494,
0.04117363318800926,
-0.012193018570542336,
-0.0432828813791275,
0.04099055007100105,
-0.038817670196294785,
-0.034564848989248276,
0.010276840068399906,
-0.04284795746207237,
-0.012803264893591404,
-0.009119890630245209,
-0.06122540682554245,
-0.049965083599090576,
-0.020299401134252548,
0.03543699160218239,
0.011004935018718243,
-0.007807307410985231,
-0.004521407652646303,
0.051339082419872284,
-0.03706509619951248,
-0.03590419888496399,
-0.04756801575422287,
-0.021656716242432594,
-0.06587979197502136,
-0.045201294124126434,
-0.010696100071072578,
0.0052660200744867325,
0.027574028819799423,
0.04350785166025162,
0.023234806954860687,
0.015456580556929111,
0.027301186695694923,
-0.04576750844717026,
0.009249487891793251,
0.01473618671298027,
-0.02198971062898636,
-0.025778507813811302,
0.033293068408966064,
0.024589097127318382,
0.029885580763220787,
-0.027957100421190262,
0.04128172621130943,
0.005537692457437515,
-0.0032417455222457647,
-0.032373685389757156,
0.017012588679790497,
0.022782236337661743,
-0.061860840767621994,
-0.03777603432536125,
-0.005149775184690952,
-0.02304106578230858,
0.03169258311390877,
-0.03733384981751442,
-0.02338048443198204,
0.005655396264046431,
-0.010434224270284176,
0.025309469550848007,
-0.032320331782102585,
-0.027532853186130524,
0.041623033583164215,
-0.0021729988511651754,
0.03335435315966606,
-0.04483139514923096,
0.07319054752588272,
-0.04351142421364784,
0.013544106855988503,
-0.027094833552837372,
0.002488780301064253,
-0.03490230068564415,
0.015772253274917603,
-0.010984011925756931,
-0.028947163373231888,
-0.011156758293509483,
0.03799018636345863,
-0.03880992531776428,
0.016952168196439743,
-0.03753340616822243,
0.0391777865588665,
-0.010111874900758266,
0.07130862027406693,
-0.05795922875404358,
0.007833692245185375,
-0.03929701820015907,
0.031672265380620956,
-0.04020564630627632,
0.009051409550011158,
-0.002267941366881132,
-0.014591392129659653,
0.03182964771986008,
0.055227912962436676,
0.019946837797760963,
0.03081459552049637,
-0.0035919006913900375,
-0.011705818586051464,
0.03125321492552757,
-0.05408729985356331,
-0.008072519674897194,
-0.01239539310336113,
0.008304022252559662,
-0.012716410681605339,
0.07223290205001831,
0.04409671947360039,
-0.04827982559800148,
-0.07276876270771027,
0.02623239904642105,
0.019538171589374542,
0.011270154267549515,
0.014557922258973122,
0.0588124543428421,
0.030353622511029243,
0.036896076053380966,
-0.021520642563700676,
-0.009549708105623722,
0.004713424015790224,
-0.061492931097745895,
0.01696392334997654,
-0.012943076901137829,
0.02517961710691452,
0.0016133011085912585,
-0.034049879759550095,
-0.030376018956303596,
0.04580619931221008,
0.02345777302980423,
0.026788895949721336,
-0.015076284296810627,
-0.05295852571725845,
0.022525640204548836,
-0.008064745925366879,
-0.039617545902729034,
0.023940274491906166,
0.0161595456302166,
-0.04749922826886177,
0.055610015988349915,
0.0029938118532299995,
0.010982448235154152,
0.05714904144406319,
0.028063712641596794,
-0.013377160765230656,
0.05811591446399689,
-0.041484981775283813,
0.012754945084452629,
0.03583266958594322,
-0.08281998336315155,
-0.009298649616539478,
-0.04778065159916878,
0.06738026440143585,
-0.04426424950361252,
0.02770307846367359,
0.043773047626018524,
-0.007493883371353149,
0.032959625124931335,
-0.042190905660390854,
-0.060367483645677567,
0.008223515935242176,
-0.02551139146089554,
0.0731661468744278,
0.010371989570558071,
-0.04956866800785065,
0.04967634007334709,
0.021626576781272888,
-0.0574120357632637,
0.02946408838033676,
0.019113361835479736,
0.06754614412784576,
0.020960669964551926,
0.0591779425740242,
-0.04054553061723709,
-0.00565120205283165,
-0.04681484028697014,
0.01826447620987892,
-0.04490882158279419,
-0.00796066876500845,
0.03487592563033104,
-0.04957026243209839,
-0.014151263050734997,
0.03158335015177727,
-0.03228263556957245,
-0.011590784415602684,
0.04728246480226517,
-0.045823607593774796,
-0.0403975173830986,
0.01933075673878193,
0.009601947851479053,
-0.04424697905778885,
-0.0008296454907394946,
-0.029182925820350647,
0.019051773473620415,
0.006154333706945181,
-0.0016264190198853612,
-0.026209218427538872,
-0.007504969835281372,
0.0371958389878273,
-0.033774234354496,
-0.028414558619260788,
0.03998246416449547,
-0.012571794912219048,
-0.030592363327741623,
0.048088252544403076,
0.0032453329768031836,
0.013205412775278091,
0.022610820829868317,
-0.0006834010710008442,
0.009454297833144665,
-0.04670477285981178,
-0.0120614655315876,
0.021246662363409996,
0.001760074868798256,
0.0411086268723011,
0.0037547778338193893,
0.04189903289079666,
0.05552307888865471,
0.01631401851773262,
0.005982933100312948,
-0.04497484490275383,
-0.012478037737309933,
0.023135298863053322,
-0.02613971009850502,
0.00301365926861763,
-0.0019278351683169603,
-0.05773459002375603,
-0.02786853164434433,
0.0038249895442277193,
-0.04449763149023056,
0.032789990305900574,
-0.07852210104465485,
0.031011393293738365,
0.04127060994505882,
0.0016883995849639177,
-0.044230733066797256,
-0.10008575767278671,
-0.012993784621357918,
-0.031204283237457275,
-0.00034525018418207765,
0.02498622238636017,
-0.028468679636716843,
0.03052598051726818,
-0.039530038833618164,
-0.030726036056876183,
0.03611040115356445,
0.03827204555273056,
-0.05918586254119873,
0.06660530716180801,
0.03644225001335144,
-0.04045205935835838,
0.01111465971916914,
0.02242915704846382,
-0.03319837152957916,
0.011082143522799015,
0.014441890642046928,
0.0028690400067716837,
0.028064841404557228,
0.01716385781764984,
-0.06325162202119827,
-0.015046914108097553,
-0.07569005340337753,
-0.04648558422923088,
-0.03543365001678467,
-0.000296101497951895,
0.047094717621803284
] |
BobBraico/distilbert-base-uncased-finetuned-imdb | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | null | ---
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- wikiann
metrics:
- precision
- recall
- f1
- accuracy
model-index:
- name: electra-small-discriminator-finetuned-ner
results:
- task:
name: Token Classification
type: token-classification
dataset:
name: wikiann
type: wikiann
args: en
metrics:
- name: Precision
type: precision
value: 0.7330965535385425
- name: Recall
type: recall
value: 0.7542632861138681
- name: F1
type: f1
value: 0.7435293071244329
- name: Accuracy
type: accuracy
value: 0.8883011190233978
---
<!-- 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. -->
# electra-small-discriminator-finetuned-ner
This model is a fine-tuned version of [google/electra-small-discriminator](https://huggingface.co/google/electra-small-discriminator) on the wikiann dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3685
- Precision: 0.7331
- Recall: 0.7543
- F1: 0.7435
- Accuracy: 0.8883
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.5465 | 1.0 | 1250 | 0.4158 | 0.6932 | 0.7201 | 0.7064 | 0.8735 |
| 0.4037 | 2.0 | 2500 | 0.3817 | 0.7191 | 0.7470 | 0.7328 | 0.8828 |
| 0.3606 | 3.0 | 3750 | 0.3685 | 0.7331 | 0.7543 | 0.7435 | 0.8883 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.10.0+cu111
- Datasets 1.17.0
- Tokenizers 0.10.3
| [
-0.021243682131171227,
-0.0006342900451272726,
0.000845186470542103,
0.013308701105415821,
0.026427702978253365,
0.028116745874285698,
-0.02185107208788395,
-0.00747827161103487,
-0.04699569568037987,
0.058824606239795685,
0.03916586562991142,
-0.009724467992782593,
0.018569080159068108,
0.03206806257367134,
-0.06917870789766312,
-0.028255194425582886,
-0.014347828924655914,
-0.01949247717857361,
-0.015080699697136879,
-0.01455683819949627,
0.009840455837547779,
-0.0017960123950615525,
0.01736075058579445,
0.0015828438336029649,
-0.02079712599515915,
0.004457241855561733,
-0.020418357104063034,
0.004897051025182009,
0.0523405596613884,
-0.06504960358142853,
0.007637498900294304,
-0.03991321101784706,
-0.06395964324474335,
-0.04244111105799675,
-0.02505437098443508,
0.0035421305801719427,
0.0039597866125404835,
0.0016853418201208115,
0.016378210857510567,
0.07878436893224716,
-0.008007543161511421,
0.024032998830080032,
-0.004921351093798876,
-0.02809961885213852,
0.046987421810626984,
-0.0021548534277826548,
-0.03148046135902405,
0.00013642427802551538,
0.03988839313387871,
-0.04013795778155327,
-0.07694849371910095,
-0.04815012961626053,
-0.0269091185182333,
0.033807653933763504,
-0.039617303758859634,
-0.02938739024102688,
-0.04867709055542946,
-0.023182660341262817,
0.05084832385182381,
-0.037639375776052475,
-0.051892366260290146,
0.012867496348917484,
-0.07453779876232147,
0.02861122228205204,
0.020831581205129623,
-0.004797513596713543,
0.015809448435902596,
-0.050950273871421814,
0.042266469448804855,
-0.016927573829889297,
0.06922359019517899,
-0.026991989463567734,
0.001628474215976894,
-0.09354323893785477,
-0.021104266867041588,
-0.008860151283442974,
0.022940414026379585,
0.04995272681117058,
-0.02336006425321102,
0.022648245096206665,
0.022801069542765617,
0.009174658916890621,
0.06746078282594681,
-0.01085617020726204,
0.02312406897544861,
0.03702988475561142,
-0.05174857750535011,
0.023877834901213646,
0.014681779779493809,
0.023518690839409828,
-0.02919153869152069,
-0.03526565060019493,
-0.0307594183832407,
-0.031519435346126556,
-0.019865605980157852,
0.03398945927619934,
0.044481273740530014,
0.012784856371581554,
0.04092336818575859,
0.011549567803740501,
0.04454047605395317,
0.022998658940196037,
-0.030204735696315765,
0.05583078786730766,
-0.00881870836019516,
-0.014570715837180614,
-0.0016802748432382941,
-0.027924345806241035,
-0.030503515154123306,
0.04653706029057503,
0.016454584896564484,
-0.02204756624996662,
-0.05500439554452896,
0.012449447996914387,
0.006503726355731487,
-0.011387675069272518,
0.07105200737714767,
-0.016007939353585243,
-0.034339819103479385,
-0.03298897296190262,
0.01579398475587368,
0.03192519396543503,
0.021111909300088882,
-0.0034692517947405577,
-0.030138786882162094,
-0.01580328308045864,
0.002340650884434581,
-0.037618860602378845,
-0.009495949372649193,
-0.01837245747447014,
-0.006940385326743126,
0.06214730069041252,
0.023639405146241188,
-0.06138721853494644,
-0.02168458141386509,
0.013158210553228855,
-0.06259316951036453,
0.047679509967565536,
0.015034986659884453,
0.10143755376338959,
-0.039369672536849976,
-0.062717005610466,
-0.004955039359629154,
0.008344342932105064,
-0.023439081385731697,
0.007084759417921305,
0.03386659547686577,
-0.06596554815769196,
-0.03405575081706047,
0.01401234045624733,
0.038857609033584595,
-0.05012092366814613,
-0.0007090538856573403,
0.07175154983997345,
0.00954737514257431,
0.03081888146698475,
-0.05656302720308304,
-0.021799178794026375,
0.005755512043833733,
0.012594436295330524,
-0.004301783163100481,
0.026868270710110664,
-0.01126685831695795,
0.017914922907948494,
-0.03422602266073227,
-0.061438340693712234,
-0.030332237482070923,
0.09397433698177338,
-0.0156383216381073,
-0.035869158804416656,
-0.02810428850352764,
0.03931591659784317,
0.062118612229824066,
0.031240567564964294,
-0.01111659873276949,
0.045636117458343506,
0.044760048389434814,
0.0605352483689785,
-0.026095647364854813,
0.01692400872707367,
0.004308723378926516,
-0.0339345820248127,
-0.02486194111406803,
-0.007223363965749741,
0.029906531795859337,
-0.049459077417850494,
0.0288530383259058,
0.006766953971236944,
0.026554841548204422,
-0.06162835285067558,
-0.051559239625930786,
0.07647187262773514,
0.02094660885632038,
0.010813032276928425,
0.003681344911456108,
-0.011974879540503025,
-0.03990594670176506,
0.0385793037712574,
-0.02560441941022873,
0.022650660946965218,
-0.037062764167785645,
-0.04960239306092262,
0.007463047746568918,
0.003259326796978712,
0.007269801571965218,
0.04905266314744949,
-0.008277243934571743,
0.07436886429786682,
-0.034052882343530655,
0.03208473324775696,
-0.032491184771060944,
-0.03935645520687103,
0.004904394969344139,
0.06441772729158401,
0.01621050387620926,
0.03403789550065994,
0.0017852486344054341,
-0.040636882185935974,
0.010951503179967403,
0.0771242305636406,
0.04083508625626564,
0.01109076477587223,
-0.04144023731350899,
-0.005689130164682865,
0.05322251096367836,
0.046481672674417496,
-0.058127790689468384,
-0.029474113136529922,
0.007851742208003998,
0.026024794206023216,
0.01552415918558836,
0.030878355726599693,
-0.02709452621638775,
0.021103162318468094,
-0.07073157280683517,
-0.05981137976050377,
0.04122910648584366,
0.012783579528331757,
0.0007194231729954481,
0.030316384509205818,
-0.014357876032590866,
-0.002836084458976984,
0.0251169316470623,
0.00961042195558548,
-0.02275625802576542,
-0.057206179946660995,
0.023630963638424873,
-0.0023777687456458807,
0.021738380193710327,
-0.04530644044280052,
0.0381120964884758,
-0.02794807404279709,
-0.006332742050290108,
0.05324713885784149,
-0.06726082414388657,
0.02803238295018673,
0.03499538451433182,
0.031547050923109055,
-0.025009481236338615,
0.013269074261188507,
0.026306796818971634,
0.03887281194329262,
0.04744787514209747,
0.015925150364637375,
0.07807598263025284,
-0.016899313777685165,
0.04443482309579849,
0.05543077737092972,
0.0036489113699644804,
0.016903106123209,
0.03714461624622345,
0.07247452437877655,
0.011983784846961498,
-0.009591764770448208,
0.0805501714348793,
-0.05476917698979378,
0.030744515359401703,
-0.044169001281261444,
-0.008284691721200943,
-0.014597316272556782,
0.0022735595703125,
0.03933184966444969,
0.007842491380870342,
-0.010557147674262524,
-0.006991500034928322,
-0.022721199318766594,
-0.030185110867023468,
0.031844738870859146,
-0.0003694841871038079,
-0.008490178734064102,
-0.018162932246923447,
-0.000011762373105739243,
-0.007514083292335272,
-0.06913208961486816,
-0.027650676667690277,
-0.01269420888274908,
-0.032801348716020584,
-0.036716584116220474,
-0.0854344591498375,
0.007188035175204277,
-0.07890231162309647,
-0.03810597211122513,
0.051351554691791534,
0.03813687711954117,
0.002755293855443597,
-0.027279742062091827,
0.009301499463617802,
-0.0631614550948143,
-0.06381428986787796,
-0.055011264979839325,
-0.04619972035288811,
-0.047380175441503525,
-0.0740441232919693,
0.04140617698431015,
0.05364050343632698,
0.02306499518454075,
0.013663536868989468,
0.012867062352597713,
-0.013569468632340431,
-0.021308574825525284,
0.0436105951666832,
0.0701749324798584,
-0.026660894975066185,
-0.033652715384960175,
0.03194436430931091,
-0.01510318648070097,
0.008198111318051815,
-0.008554467000067234,
-0.0336921252310276,
0.05127629637718201,
0.06539742648601532,
0.01779341697692871,
0.018882114440202713,
-0.009600645862519741,
-0.058874376118183136,
-0.049751270562410355,
-0.020106200128793716,
-0.02247900329530239,
-0.03070925362408161,
-0.04139736294746399,
-0.03133244067430496,
-0.014879574067890644,
-0.05105600878596306,
-0.01012573391199112,
-0.004123666789382696,
0.012807837687432766,
0.02557067945599556,
0.03213629499077797,
0.034795716404914856,
0.020939255133271217,
-0.03826560452580452,
-0.053691793233156204,
0.04379955679178238,
-0.014022699557244778,
-0.005160646978765726,
-0.08913213759660721,
-0.017438851296901703,
0.031157486140727997,
0.02325730212032795,
0.02561888098716736,
-0.018453482538461685,
0.05986400321125984,
0.0024273707531392574,
-0.010910339653491974,
0.012698465026915073,
-0.019139109179377556,
-0.02141682244837284,
0.01005057618021965,
0.003188630798831582,
0.0006088903755880892,
-0.030218396335840225,
-0.02324502170085907,
-0.0020172286313027143,
0.05369614064693451,
-0.062093112617731094,
-0.023893870413303375,
-0.014719877392053604,
0.023896681144833565,
0.06027056649327278,
0.008259533904492855,
-0.04935550317168236,
-0.012984882108867168,
-0.052754249423742294,
-0.006233556661754847,
0.049260951578617096,
0.03142661601305008,
0.020550444722175598,
0.04919266328215599,
0.03221707418560982,
-0.007095447741448879,
0.03857552632689476,
0.029498839750885963,
0.05887279286980629,
0.0028288117609918118,
-0.041623931378126144,
-0.005332029424607754,
-0.034363891929388046,
0.024542130529880524,
-0.011278972029685974,
0.00427577318623662,
-0.035625915974378586,
-0.09622577577829361,
-0.020992234349250793,
0.007692190818488598,
-0.006653022486716509,
0.007551827467978001,
0.026449287310242653,
-0.002960522659122944,
-0.015949802473187447,
0.006475800648331642,
0.0029016397893428802,
0.04600203409790993,
-0.060765255242586136,
0.0516757033765316,
0.007781007792800665,
0.014505239203572273,
-0.05420537292957306,
-0.0045338841155171394,
-0.01153052318841219,
-0.038540299981832504,
0.006804354023188353,
0.05732237175107002,
-0.013693814165890217,
0.03811916708946228,
0.0737278088927269,
0.0024695121683180332,
-0.03437837213277817,
0.016407495364546776,
0.07032357901334763,
-0.02222817949950695,
-0.04133953899145126,
-0.005309759173542261,
-0.018040841445326805,
-0.03826788812875748,
-0.03232928365468979,
-0.02671191468834877,
0.06738737225532532,
0.04690242186188698,
-0.010449699126183987,
0.010060099884867668,
0.018949802964925766,
-0.0005391425802372396,
-0.03332165256142616,
-0.06541970372200012,
-0.02541383169591427,
0.014033717103302479,
-0.0344972237944603,
0.008577155880630016,
0.031967271119356155,
0.007805917412042618,
0.05170923471450806,
0.05277160182595253,
-0.04080771654844284,
-0.03812868520617485,
0.03085980750620365,
0.030535079538822174,
-0.03723329305648804,
-0.07442452013492584,
-0.02244292013347149,
0.028911540284752846,
0.032220758497714996,
-0.0199716966599226,
-0.06800848245620728,
-0.005818949081003666,
0.03742204234004021,
-0.03269992768764496,
0.06519892066717148,
-0.005783723201602697,
0.019932491704821587,
0.053442005068063736,
-0.027192192152142525,
0.04611213505268097,
-0.02058449573814869,
-0.014703018590807915,
-0.0005930985207669437,
0.024167627096176147,
-0.02592993900179863,
-0.037403132766485214,
-0.04128953814506531,
0.030211297795176506,
0.021433023735880852,
0.0523088276386261,
0.032869722694158554,
-0.023308783769607544,
-0.03790731355547905,
0.008617959916591644,
0.05428682267665863,
-0.01772039197385311,
0.012998378835618496,
0.025755681097507477,
0.034652646631002426,
-0.03554459288716316,
-0.032361432909965515,
-0.03345557302236557,
-0.020994100719690323,
0.028394101187586784,
-0.011081317439675331,
-0.042126789689064026,
-0.03256993368268013,
0.040246736258268356,
0.006037068087607622,
0.007818439975380898,
-0.08351875841617584,
0.05816655233502388,
0.006254279986023903,
-0.004819438327103853,
0.0383877232670784,
0.025313029065728188,
0.008866042830049992,
0.04460207000374794,
0.026201272383332253,
0.002441189717501402,
-0.042331431061029434,
0.07249156385660172,
-0.05196865648031235,
-0.024056637659668922,
0.01527534332126379,
-0.03478926420211792,
-0.0055153025314211845,
-0.026383783668279648,
-0.04544919356703758,
-0.03809598833322525,
-0.014166755601763725,
0.02520522102713585,
0.018203888088464737,
-0.0022225147113204002,
-0.006322238594293594,
0.04879453778266907,
-0.047503646463155746,
-0.02945004589855671,
-0.020506789907813072,
-0.019918814301490784,
-0.0698106437921524,
-0.04150485247373581,
0.0347374863922596,
0.008587717078626156,
0.0397094301879406,
0.042748648673295975,
0.007421382702887058,
0.006199775729328394,
0.011112947948276997,
-0.031426358968019485,
0.01700698956847191,
-0.006545470096170902,
-0.007916548289358616,
-0.0297391377389431,
0.006995669100433588,
0.024504616856575012,
0.04435298964381218,
-0.017160020768642426,
0.04319709911942482,
0.022038547322154045,
0.007479919586330652,
-0.0169554203748703,
0.01059610117226839,
0.01655728556215763,
-0.06402722001075745,
-0.029589930549263954,
0.004005442839115858,
-0.0368100181221962,
0.02897735685110092,
-0.03159448504447937,
-0.005523728206753731,
-0.007575556170195341,
-0.018680496141314507,
0.016363343223929405,
-0.02018752694129944,
-0.04250844568014145,
0.041661687195301056,
-0.0354146845638752,
0.027651112526655197,
-0.041550010442733765,
0.049799174070358276,
-0.03243580460548401,
0.007728777825832367,
-0.041655998677015305,
0.02742728404700756,
-0.0556081086397171,
0.032090235501527786,
-0.011967797763645649,
-0.022793784737586975,
0.01014616433531046,
0.044124141335487366,
-0.05548440292477608,
0.01508247572928667,
-0.02403983846306801,
0.033188048750162125,
-0.02087027207016945,
0.06836351752281189,
-0.03722212836146355,
0.016106771305203438,
-0.025695020332932472,
0.007856185548007488,
-0.056976065039634705,
0.003493477124720812,
-0.015072169713675976,
-0.03432123735547066,
0.024776792153716087,
0.0551924929022789,
0.023234792053699493,
0.024408061057329178,
-0.030164754018187523,
-0.015528276562690735,
0.024368084967136383,
-0.05992478132247925,
-0.005696955136954784,
-0.012777622789144516,
0.024773459881544113,
-0.011407789774239063,
0.0667547881603241,
0.07112772017717361,
-0.04890628159046173,
-0.07217847555875778,
0.02690410241484642,
0.01736162230372429,
-0.003053787862882018,
0.01887848600745201,
0.04703480377793312,
0.01893473044037819,
0.04065072536468506,
-0.04629112407565117,
-0.0001934464817168191,
-0.011521689593791962,
-0.04723260924220085,
0.031109819188714027,
-0.016322067007422447,
0.020921459421515465,
-0.0019587059505283833,
-0.03566164895892143,
-0.01716047339141369,
0.05871926620602608,
0.028702963143587112,
0.026742737740278244,
-0.01747692935168743,
-0.04870573803782463,
0.03238449990749359,
-0.0292100477963686,
-0.05124574527144432,
0.02040846273303032,
0.016726678237318993,
-0.030787700787186623,
0.0624176524579525,
-0.0015030174981802702,
-0.0014920891262590885,
0.045449040830135345,
0.04711174964904785,
-0.013904516585171223,
0.04130633920431137,
-0.019682738929986954,
0.009903687983751297,
0.057386770844459534,
-0.08484386652708054,
0.001624826923944056,
-0.03533807024359703,
0.08986162394285202,
-0.01983219012618065,
0.033292874693870544,
0.03304175287485123,
-0.0058435918763279915,
0.02285245805978775,
-0.0356578603386879,
-0.055622223764657974,
0.006960740312933922,
-0.020084993913769722,
0.0726454108953476,
0.030919821932911873,
-0.0659758597612381,
0.05593666061758995,
0.02602449804544449,
-0.05904897302389145,
0.037815578281879425,
0.004083847161382437,
0.049862638115882874,
0.030099106952548027,
0.04749847948551178,
-0.03588077798485756,
-0.011012272909283638,
-0.03532196953892708,
0.03311808034777641,
-0.03878824785351753,
-0.0010998300276696682,
0.027465524151921272,
-0.044744815677404404,
-0.0203552283346653,
0.04509558156132698,
-0.009319419972598553,
-0.038576044142246246,
0.047757651656866074,
-0.05127042904496193,
-0.0296260267496109,
0.024373650550842285,
0.013990138657391071,
-0.04845526069402695,
0.010569144040346146,
-0.026953330263495445,
0.027433473616838455,
0.00835618656128645,
-0.002993613248690963,
-0.02884693816304207,
-0.006920380983501673,
0.0294682327657938,
-0.05835634842514992,
-0.019807925447821617,
0.02928435243666172,
-0.013155300170183182,
-0.021133001893758774,
0.04370502755045891,
0.0049494062550365925,
0.020747428759932518,
0.025218596681952477,
0.011931881308555603,
0.002600157866254449,
-0.04983408376574516,
-0.020185420289635658,
0.017740437760949135,
0.014750868082046509,
0.06700575351715088,
-0.0033304349053651094,
0.0481317862868309,
0.05644006282091141,
0.003748480463400483,
0.018485739827156067,
-0.0421244241297245,
-0.019474918022751808,
0.03549232706427574,
-0.02442602440714836,
0.023931875824928284,
0.0004990788293071091,
-0.05634215474128723,
-0.04874718189239502,
-0.01930316537618637,
-0.052104655653238297,
0.008621327579021454,
-0.0647294893860817,
0.010985137894749641,
0.03967252001166344,
0.02039472945034504,
-0.06158170849084854,
-0.10580790787935257,
-0.020281674340367317,
-0.021984998136758804,
0.01693560741841793,
0.02501516602933407,
-0.02517210878431797,
0.03235084190964699,
-0.042874276638031006,
-0.06604492664337158,
0.05249329283833504,
0.01657787337899208,
-0.03133716061711311,
0.04930305480957031,
0.05280996859073639,
-0.045587074011564255,
0.0038021444343030453,
0.019088318571448326,
-0.027450380846858025,
0.017952822148799896,
0.017191408202052116,
0.02328157052397728,
0.03210083767771721,
0.003136912127956748,
-0.04250456392765045,
0.013525227084755898,
-0.07121032476425171,
-0.022398745641112328,
-0.03438461571931839,
0.012894107960164547,
0.07508382201194763
] |
Boondong/Wandee | [] | 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 | 2019-12-23T19:22:27Z | ---
language:
- es
tags:
- masked-lm
---
# BETO: Spanish BERT
BETO is a [BERT model](https://github.com/google-research/bert) trained on a [big Spanish corpus](https://github.com/josecannete/spanish-corpora). BETO is of size similar to a BERT-Base and was trained with the Whole Word Masking technique. Below you find Tensorflow and Pytorch checkpoints for the uncased and cased versions, as well as some results for Spanish benchmarks comparing BETO with [Multilingual BERT](https://github.com/google-research/bert/blob/master/multilingual.md) as well as other (not BERT-based) models.
## Download
| | | | |
|-|:--------:|:-----:|:----:|
|BETO uncased|[tensorflow_weights](https://users.dcc.uchile.cl/~jperez/beto/uncased_2M/tensorflow_weights.tar.gz) | [pytorch_weights](https://users.dcc.uchile.cl/~jperez/beto/uncased_2M/pytorch_weights.tar.gz) | [vocab](./config/uncased_2M/vocab.txt), [config](./config/uncased_2M/config.json) |
|BETO cased| [tensorflow_weights](https://users.dcc.uchile.cl/~jperez/beto/cased_2M/tensorflow_weights.tar.gz) | [pytorch_weights](https://users.dcc.uchile.cl/~jperez/beto/cased_2M/pytorch_weights.tar.gz) | [vocab](./config/cased_2M/vocab.txt), [config](./config/cased_2M/config.json) |
All models use a vocabulary of about 31k BPE subwords constructed using SentencePiece and were trained for 2M steps.
## Benchmarks
The following table shows some BETO results in the Spanish version of every task.
We compare BETO (cased and uncased) with the Best Multilingual BERT results that
we found in the literature (as of October 2019).
The table also shows some alternative methods for the same tasks (not necessarily BERT-based methods).
References for all methods can be found [here](#references).
|Task | BETO-cased | BETO-uncased | Best Multilingual BERT | Other results |
|-------|--------------:|--------------:|--------------------------:|-------------------------------:|
|[POS](https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-1827) | **98.97** | 98.44 | 97.10 [2] | 98.91 [6], 96.71 [3] |
|[NER-C](https://www.kaggle.com/nltkdata/conll-corpora) | [**88.43**](https://github.com/gchaperon/beto-benchmarks/blob/master/conll2002/dev_results_beto-cased_conll2002.txt) | 82.67 | 87.38 [2] | 87.18 [3] |
|[MLDoc](https://github.com/facebookresearch/MLDoc) | [95.60](https://github.com/gchaperon/beto-benchmarks/blob/master/MLDoc/dev_results_beto-cased_mldoc.txt) | [**96.12**](https://github.com/gchaperon/beto-benchmarks/blob/master/MLDoc/dev_results_beto-uncased_mldoc.txt) | 95.70 [2] | 88.75 [4] |
|[PAWS-X](https://github.com/google-research-datasets/paws/tree/master/pawsx) | 89.05 | 89.55 | 90.70 [8] |
|[XNLI](https://github.com/facebookresearch/XNLI) | **82.01** | 80.15 | 78.50 [2] | 80.80 [5], 77.80 [1], 73.15 [4]|
## Example of use
For further details on how to use BETO you can visit the [π€Huggingface Transformers library](https://github.com/huggingface/transformers), starting by the [Quickstart section](https://huggingface.co/transformers/quickstart.html).
BETO models can be accessed simply as [`'dccuchile/bert-base-spanish-wwm-cased'`](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) and [`'dccuchile/bert-base-spanish-wwm-uncased'`](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) by using the Transformers library.
An example on how to download and use the models in this page can be found in [this colab notebook](https://colab.research.google.com/drive/1uRwg4UmPgYIqGYY4gW_Nsw9782GFJbPt).
(We will soon add a more detailed step-by-step tutorial in Spanish for newcommers π)
## Acknowledgments
We thank [Adereso](https://www.adere.so/) for kindly providing support for traininig BETO-uncased, and the [Millennium Institute for Foundational Research on Data](https://imfd.cl/en/)
that provided support for training BETO-cased. Also thanks to Google for helping us with the [TensorFlow Research Cloud](https://www.tensorflow.org/tfrc) program.
## Citation
[Spanish Pre-Trained BERT Model and Evaluation Data](https://users.dcc.uchile.cl/~jperez/papers/pml4dc2020.pdf)
To cite this resource in a publication please use the following:
```
@inproceedings{CaneteCFP2020,
title={Spanish Pre-Trained BERT Model and Evaluation Data},
author={CaΓ±ete, JosΓ© and Chaperon, Gabriel and Fuentes, Rodrigo and Ho, Jou-Hui and Kang, Hojin and PΓ©rez, Jorge},
booktitle={PML4DC at ICLR 2020},
year={2020}
}
```
## License Disclaimer
The license CC BY 4.0 best describes our intentions for our work. However we are not sure that all the datasets used to train BETO have licenses compatible with CC BY 4.0 (specially for commercial use). Please use at your own discretion and verify that the licenses of the original text resources match your needs.
## References
* [1] [Original Multilingual BERT](https://github.com/google-research/bert/blob/master/multilingual.md)
* [2] [Multilingual BERT on "Beto, Bentz, Becas: The Surprising Cross-Lingual Effectiveness of BERT"](https://arxiv.org/pdf/1904.09077.pdf)
* [3] [Multilingual BERT on "How Multilingual is Multilingual BERT?"](https://arxiv.org/pdf/1906.01502.pdf)
* [4] [LASER](https://arxiv.org/abs/1812.10464)
* [5] [XLM (MLM+TLM)](https://arxiv.org/pdf/1901.07291.pdf)
* [6] [UDPipe on "75 Languages, 1 Model: Parsing Universal Dependencies Universally"](https://arxiv.org/pdf/1904.02099.pdf)
* [7] [Multilingual BERT on "Sequence Tagging with Contextual and Non-Contextual Subword Representations: A Multilingual Evaluation"](https://arxiv.org/pdf/1906.01569.pdf)
* [8] [Multilingual BERT on "PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification"](https://arxiv.org/abs/1908.11828)
| [
0.002602603752166033,
-0.018892725929617882,
-0.004262974485754967,
0.060541123151779175,
0.027978964149951935,
0.02362152375280857,
0.0021649892441928387,
-0.0014006197452545166,
-0.02771289087831974,
0.06277459859848022,
-0.03158041089773178,
-0.02476094476878643,
0.00016950041754171252,
0.05138028413057327,
-0.021949464455246925,
-0.021052537485957146,
-0.0025196424685418606,
-0.017306333407759666,
-0.07058758288621902,
-0.027121255174279213,
0.017218248918652534,
-0.0052597601898014545,
0.009767166338860989,
0.03627125918865204,
0.017524126917123795,
0.02813328057527542,
0.00890551507472992,
0.021873019635677338,
0.018967118114233017,
-0.060417741537094116,
-0.01247783936560154,
-0.011063406243920326,
-0.03957914933562279,
-0.026579268276691437,
-0.03716040775179863,
-0.030494792386889458,
-0.0067347995936870575,
0.00043304500286467373,
0.03923983871936798,
0.04698827490210533,
-0.0000017353760313199018,
0.017618751153349876,
-0.009416777640581131,
-0.042920198291540146,
0.03055078722536564,
0.02069220319390297,
-0.03476523980498314,
-0.01080227643251419,
0.025668717920780182,
-0.016303330659866333,
-0.05840931832790375,
-0.07942185550928116,
-0.045872434973716736,
0.005284840241074562,
-0.03191116824746132,
-0.019462570548057556,
-0.05585538223385811,
0.0057000345550477505,
0.06925599277019501,
-0.04104483872652054,
-0.03877152502536774,
-0.008280925452709198,
-0.06685011833906174,
0.014562794007360935,
0.03574956953525543,
-0.022809667512774467,
-0.0007703356095589697,
-0.031355299055576324,
0.03536748141050339,
-0.03586234152317047,
0.04929449036717415,
-0.03914477303624153,
-0.003943373449146748,
-0.0924193412065506,
-0.0037991798017174006,
-0.020388321951031685,
0.03830970823764801,
0.021332133561372757,
-0.05041210353374481,
0.062045637518167496,
0.027399450540542603,
0.002267005154863,
0.03545229509472847,
-0.03740508481860161,
-0.006602954585105181,
0.07386443018913269,
-0.022381292656064034,
-0.019624685868620872,
0.017329208552837372,
0.043059904128313065,
-0.03277784213423729,
0.003966841846704483,
-0.027467995882034302,
-0.03514667972922325,
-0.00792020745575428,
0.037539463490247726,
0.029795270413160324,
-0.0158820990473032,
0.05001538619399071,
0.029928572475910187,
0.004002954810857773,
0.04830159246921539,
0.008110790513455868,
0.06028866395354271,
-0.028432345017790794,
-0.0035587362945079803,
-0.013475583866238594,
-0.048270754516124725,
-0.03754453733563423,
0.01568463258445263,
0.034967683255672455,
-0.03423367068171501,
-0.03715592250227928,
0.08258609473705292,
-0.008347079157829285,
-0.03737787902355194,
0.06186217814683914,
-0.008311886340379715,
-0.046551063656806946,
-0.04701627045869827,
0.06928325444459915,
0.01092770230025053,
0.0073540098965168,
0.03157709911465645,
-0.037880100309848785,
0.00434629013761878,
-0.043745674192905426,
-0.0036238962784409523,
-0.007934607565402985,
0.04321196302771568,
-0.007858123630285263,
0.025769338011741638,
0.01858946681022644,
-0.058243971318006516,
0.028849465772509575,
-0.0009724448318593204,
-0.07286452502012253,
0.03968299925327301,
0.03172577545046806,
0.10471335798501968,
-0.04935334250330925,
-0.026314126327633858,
0.018027758225798607,
0.012162522412836552,
-0.015192929655313492,
-0.002004986861720681,
0.013626747764647007,
-0.027243653312325478,
-0.004647692199796438,
-0.0050536044873297215,
0.06741158664226532,
-0.06113160401582718,
0.010969789698719978,
0.04427092894911766,
-0.01825949177145958,
0.04956994578242302,
-0.05085957050323486,
-0.009196799248456955,
0.03273432329297066,
-0.017574163153767586,
-0.022098295390605927,
0.02319484017789364,
-0.0053021954372525215,
-0.03781147673726082,
-0.04161285236477852,
-0.04351155087351799,
0.017002202570438385,
0.07029566913843155,
0.009056437760591507,
-0.01014442928135395,
-0.0062044295482337475,
0.012648235075175762,
0.04114731028676033,
0.02488088048994541,
-0.02623274177312851,
0.0322066955268383,
0.05841981619596481,
0.03451398387551308,
-0.0005387543933466077,
0.06085978075861931,
0.02498766779899597,
-0.011790836229920387,
-0.04288748651742935,
0.022426709532737732,
0.006565229035913944,
-0.03488239645957947,
0.023998212069272995,
0.028364021331071854,
-0.034082941710948944,
-0.025463346391916275,
0.0028449930250644684,
0.06617692112922668,
0.005347191821783781,
0.013218517415225506,
-0.0020400057546794415,
0.006529512815177441,
-0.05249175429344177,
0.05556364357471466,
-0.025462577119469643,
-0.0015422140713781118,
-0.025021905079483986,
-0.008168065920472145,
-0.02206723392009735,
0.02261115051805973,
0.024694817140698433,
0.03555196523666382,
0.009774995036423206,
0.07768779993057251,
-0.021588480100035667,
0.016090240329504013,
-0.04882826656103134,
-0.05926591157913208,
-0.004358448088169098,
0.05190751701593399,
0.030796419829130173,
0.03276840224862099,
0.0003820442652795464,
-0.04158279299736023,
0.019478045403957367,
0.06197351962327957,
0.04041852802038193,
0.020650822669267654,
-0.044931381940841675,
-0.0020734667778015137,
0.04490915313363075,
0.056929197162389755,
-0.048977866768836975,
-0.05464385822415352,
0.005671846680343151,
0.04679311811923981,
-0.02120794728398323,
0.00556936813518405,
-0.010467656888067722,
0.023160260170698166,
-0.037261612713336945,
-0.06980496644973755,
0.04167008027434349,
0.030482590198516846,
-0.021867208182811737,
0.020103400573134422,
0.002477350179105997,
0.01870889589190483,
0.025525590404868126,
0.021367376670241356,
0.009842278435826302,
-0.02989918366074562,
0.003659861395135522,
0.01995438151061535,
0.05109286308288574,
-0.07471469789743423,
0.02361474558711052,
-0.010166989639401436,
0.012625872157514095,
0.05950959771871567,
-0.025700127705931664,
0.025302518159151077,
0.016027627512812614,
0.004646745510399342,
-0.03620455414056778,
0.016802217811346054,
0.00179986038710922,
0.03118109330534935,
0.07351906597614288,
0.001780057675205171,
0.05194918438792229,
-0.004880608059465885,
0.03882738575339317,
0.07338573038578033,
-0.00890825130045414,
0.022829987108707428,
0.031625449657440186,
0.07363224774599075,
0.007163650821894407,
-0.012363318353891373,
0.07910338789224625,
-0.03548287972807884,
-0.006888332311064005,
-0.028904560953378677,
0.018641073256731033,
0.00030273760785348713,
-0.014538087882101536,
0.012891515158116817,
0.01666196994483471,
-0.02751711569726467,
0.008024721406400204,
-0.0015035372925922275,
-0.010329491458833218,
0.0505874827504158,
-0.022126460447907448,
-0.0055011785589158535,
0.001771233626641333,
-0.02241431549191475,
0.014536372385919094,
-0.04981985688209534,
-0.05211490020155907,
0.005884895566850901,
-0.023472368717193604,
-0.0026460790541023016,
-0.06186637282371521,
-0.031675856560468674,
-0.05510453134775162,
-0.019138462841510773,
0.04719298332929611,
0.012202399782836437,
-0.01300100889056921,
-0.010640663094818592,
0.004021923057734966,
-0.037860624492168427,
-0.025454677641391754,
-0.03943662717938423,
-0.04911423474550247,
-0.05839124694466591,
-0.0691930428147316,
0.027308184653520584,
0.015142293646931648,
0.042632412165403366,
0.00434833625331521,
0.003553632413968444,
-0.011140056885778904,
-0.03219993785023689,
0.048428215086460114,
0.033192288130521774,
-0.027347533032298088,
-0.053069233894348145,
0.022936038672924042,
-0.010349809192121029,
0.01856008544564247,
0.02195930667221546,
-0.014638545922935009,
0.083043672144413,
0.08023854345083237,
0.05437280982732773,
0.016924206167459488,
-0.019300034269690514,
-0.04322533309459686,
-0.07302186638116837,
-0.035907600075006485,
-0.05089167132973671,
0.009213448502123356,
-0.040074918419122696,
-0.04880375787615776,
-0.004066561348736286,
-0.03156363219022751,
0.018272874876856804,
-0.0004171094624325633,
0.041146665811538696,
0.06107920780777931,
0.050152577459812164,
0.032649580389261246,
0.025957385078072548,
-0.04394804313778877,
-0.006935366429388523,
0.08126374334096909,
0.006760896183550358,
0.008294551633298397,
-0.0699874609708786,
-0.008095859549939632,
0.05271834880113602,
0.01264363806694746,
-0.0048280744813382626,
0.0050938185304403305,
0.07068409770727158,
0.005717680789530277,
-0.00901417899876833,
0.008439035154879093,
-0.002806111006066203,
-0.04209332540631294,
0.004799671471118927,
0.009652288630604744,
-0.03799128532409668,
-0.04068492725491524,
-0.038550619035959244,
0.015242747962474823,
0.03647468611598015,
-0.061715397983789444,
-0.047823503613471985,
-0.012944389134645462,
0.04806028679013252,
-0.0008124908781610429,
-0.004318344872444868,
-0.04660188406705856,
-0.017000995576381683,
-0.05517026409506798,
-0.04182559996843338,
0.007577985525131226,
-0.011372488923370838,
0.005389784928411245,
0.03767360746860504,
0.0177040733397007,
-0.048823852092027664,
0.026721855625510216,
0.02300204150378704,
0.042469847947359085,
0.016513383015990257,
-0.06884055584669113,
0.028633244335651398,
-0.025424238294363022,
0.0012954020639881492,
0.003634797176346183,
-0.02312459796667099,
-0.052654847502708435,
-0.09629744291305542,
0.018697375431656837,
-0.009008902125060558,
0.0002366909757256508,
-0.0418069027364254,
0.03337836265563965,
-0.024188565090298653,
0.011017492972314358,
-0.011946489103138447,
-0.00666508125141263,
0.028710903599858284,
-0.05953886732459068,
0.08061592280864716,
-0.003319693496450782,
0.020708639174699783,
-0.05077052116394043,
0.016849152743816376,
-0.03433198109269142,
-0.02772360108792782,
-0.007775801233947277,
0.06436300277709961,
0.030169781297445297,
0.04168020561337471,
0.06976201385259628,
0.04772436246275902,
-0.0407048761844635,
0.03775491192936897,
0.03266351670026779,
-0.025921829044818878,
-0.05062573403120041,
0.0012482304591685534,
-0.02438899129629135,
-0.04573357477784157,
-0.0020296855363994837,
-0.034986041486263275,
0.020114528015255928,
0.012020363472402096,
0.011758437380194664,
-0.03835361823439598,
0.0029736647848039865,
-0.013572019524872303,
-0.05064738914370537,
-0.055093467235565186,
-0.028943883255124092,
-0.0015172704588621855,
-0.011993530206382275,
0.049855783581733704,
0.02679910697042942,
0.008394698612391949,
0.0638962909579277,
0.06886270642280579,
-0.012879161164164543,
-0.020003430545330048,
0.022076139226555824,
0.024556845426559448,
-0.03423941507935524,
-0.06707721203565598,
-0.04498070850968361,
0.07833415269851685,
0.04792415723204613,
0.011056405492126942,
-0.11362133920192719,
-0.004451439715921879,
0.05419645458459854,
-0.017505183815956116,
0.06846687197685242,
-0.022532420232892036,
0.07733931392431259,
0.03089599311351776,
-0.003443405730649829,
0.031023144721984863,
-0.01714259199798107,
0.006101752165704966,
-0.029634132981300354,
0.04433487728238106,
-0.01590660959482193,
-0.048494432121515274,
-0.06944368034601212,
0.004528814926743507,
0.023637956008315086,
0.04487576708197594,
0.04659229889512062,
-0.031338758766651154,
-0.06326007097959518,
0.022652149200439453,
0.04276599362492561,
-0.05468368902802467,
0.0024096209090203047,
0.01497447770088911,
0.04242105036973953,
-0.04435957223176956,
-0.03713088482618332,
-0.026985730975866318,
-0.011030502617359161,
0.023428937420248985,
0.025491660460829735,
-0.0208282433450222,
-0.0799764096736908,
0.014606228098273277,
-0.017676038667559624,
-0.020364901050925255,
-0.05815568566322327,
0.029435571283102036,
-0.018571937456727028,
-0.009930618107318878,
0.041478343307971954,
0.021120954304933548,
0.04623859375715256,
0.06628195941448212,
0.009550395421683788,
-0.007530430797487497,
-0.05168001353740692,
0.019476333633065224,
-0.02499713934957981,
-0.011569335125386715,
-0.02393195778131485,
-0.03410632908344269,
-0.009589901193976402,
-0.03171120956540108,
-0.03601491078734398,
-0.04552435874938965,
0.0032125890720635653,
0.034219253808259964,
-0.0006719750817865133,
0.020990246906876564,
-0.032779429107904434,
0.023697396740317345,
-0.015112877823412418,
-0.004060944076627493,
-0.015343189239501953,
-0.028832705691456795,
-0.05387067049741745,
-0.07220815122127533,
0.006809001788496971,
0.00850941427052021,
0.023527514189481735,
0.008418960496783257,
0.007955092005431652,
-0.005051170475780964,
0.0038196078967303038,
-0.026642853394150734,
0.022822899743914604,
0.00842128973454237,
-0.047947101294994354,
-0.013261659070849419,
0.017349373549222946,
0.017692426219582558,
0.03603985533118248,
-0.037919171154499054,
0.023595357313752174,
0.023988448083400726,
-0.030201133340597153,
-0.0026689337100833654,
0.03616403415799141,
0.019287586212158203,
-0.07689540088176727,
-0.044084105640649796,
-0.021718459203839302,
-0.06806553155183792,
0.04101493954658508,
-0.02225498855113983,
-0.03749588131904602,
0.0335923433303833,
0.025183118879795074,
0.06982501596212387,
-0.01768466643989086,
-0.025634940713644028,
0.011174222454428673,
-0.00599655183032155,
0.007497633807361126,
-0.04821725934743881,
0.0565713606774807,
-0.04678212106227875,
0.022780166938900948,
0.0024197802413254976,
-0.012056097388267517,
-0.050215862691402435,
0.03521351143717766,
-0.015427076257765293,
-0.033036209642887115,
-0.017113864421844482,
0.029022201895713806,
-0.01809048093855381,
0.031576093286275864,
-0.05056954547762871,
-0.00449428241699934,
-0.018504958599805832,
0.06098264083266258,
-0.04610702022910118,
-0.0004957605851814151,
-0.011242356151342392,
0.013959978707134724,
-0.022091180086135864,
-0.029305245727300644,
0.005650048144161701,
-0.054662663489580154,
0.03698800876736641,
0.05500154197216034,
0.02279386669397354,
0.021099336445331573,
-0.04388242959976196,
0.0015261052176356316,
0.016935676336288452,
-0.05935227498412132,
-0.022396646440029144,
-0.007709327153861523,
0.021091891452670097,
0.001968498807400465,
0.05682462826371193,
0.060201771557331085,
-0.05559542402625084,
-0.04501355066895485,
0.0616842545568943,
0.045261699706315994,
-0.029231585562229156,
-0.00546614546328783,
0.036935172975063324,
0.008143103681504726,
0.05107635632157326,
-0.02711172215640545,
0.0032160929404199123,
0.001966738374903798,
-0.026863934472203255,
0.03131812438368797,
-0.009756959974765778,
0.017149532213807106,
0.00864557083696127,
-0.017075832933187485,
-0.022056644782423973,
0.06179225072264671,
0.030021190643310547,
0.00439006881788373,
-0.005359917879104614,
-0.016549671068787575,
0.008529169484972954,
-0.0003780709230341017,
-0.062442753463983536,
0.0016554546309635043,
0.0027645896188914776,
-0.027837758883833885,
0.08050961792469025,
-0.012483618222177029,
0.009390855208039284,
0.051844287663698196,
0.007647974416613579,
0.002043419983237982,
0.04656141623854637,
-0.033852677792310715,
0.004938601050525904,
0.039171915501356125,
-0.032437533140182495,
-0.00015518481086473912,
-0.00803398061543703,
0.043897997587919235,
-0.07745419442653656,
0.03367296978831291,
0.034172628074884415,
0.017780758440494537,
0.03209955617785454,
0.003215406322851777,
-0.023799803107976913,
0.026047904044389725,
-0.04971690848469734,
0.06576449424028397,
-0.0015192771097645164,
-0.08482996374368668,
0.08742436021566391,
0.03261415660381317,
-0.08002913743257523,
0.03821106627583504,
0.049085021018981934,
0.014879976399242878,
0.03071065992116928,
0.04692713916301727,
-0.04366093501448631,
0.043164074420928955,
-0.06768391281366348,
0.02449139393866062,
-0.05166080221533775,
-0.0025851165410131216,
0.01877736486494541,
-0.032933641225099564,
0.0011663712793961167,
0.029312890022993088,
-0.025275785475969315,
-0.0025922125205397606,
-0.0046378131955862045,
-0.08132678270339966,
-0.03205176442861557,
0.005817502271384001,
0.036903638392686844,
-0.02831636555492878,
-0.004167455714195967,
-0.016627542674541473,
0.02492258884012699,
0.021000593900680542,
-0.030702032148838043,
-0.05203692987561226,
-0.02296474389731884,
0.023976076394319534,
-0.07427935302257538,
-0.040956515818834305,
0.03669947013258934,
0.02694888971745968,
-0.017588403075933456,
0.03869486227631569,
0.010549299418926239,
0.001153137651272118,
0.010189903900027275,
-0.0132934944704175,
0.028543362393975258,
-0.04830518364906311,
-0.013579821214079857,
-0.004385447595268488,
0.01888757385313511,
0.014862524345517159,
-0.015360366553068161,
0.02890300564467907,
0.03135998919606209,
0.06070912256836891,
-0.03533356636762619,
-0.026531526818871498,
-0.02753443643450737,
0.0312691330909729,
-0.06361881643533707,
0.01832311414182186,
0.005934746935963631,
-0.03278682008385658,
-0.021777460351586342,
0.00472989771515131,
0.028739791363477707,
0.03645118698477745,
-0.0644344836473465,
0.005188507027924061,
0.0421033576130867,
-0.039434097707271576,
-0.04663880914449692,
-0.08227493613958359,
-0.023554394021630287,
-0.03710915893316269,
0.005122533533722162,
0.015025976113975048,
-0.038211241364479065,
0.011665740050375462,
-0.0271961260586977,
-0.03968128189444542,
0.03194466978311539,
0.027394266799092293,
-0.051248230040073395,
0.04222739115357399,
0.029199395328760147,
-0.07543550431728363,
0.0022748226765543222,
0.036975424736738205,
-0.04226703569293022,
0.028417089954018593,
0.0014042899711057544,
0.013795069418847561,
0.03816064074635506,
0.014969469979405403,
-0.008739784359931946,
-0.014243954792618752,
-0.043735940009355545,
-0.01454622857272625,
-0.011019732803106308,
-0.0017912425100803375,
0.04667288437485695
] |
Bosio/full-sentence-distillroberta3-finetuned-wikitext2 | [] | 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 | 2019-12-23T19:18:27Z | ---
language:
- es
tags:
- masked-lm
---
# BETO: Spanish BERT
BETO is a [BERT model](https://github.com/google-research/bert) trained on a [big Spanish corpus](https://github.com/josecannete/spanish-corpora). BETO is of size similar to a BERT-Base and was trained with the Whole Word Masking technique. Below you find Tensorflow and Pytorch checkpoints for the uncased and cased versions, as well as some results for Spanish benchmarks comparing BETO with [Multilingual BERT](https://github.com/google-research/bert/blob/master/multilingual.md) as well as other (not BERT-based) models.
## Download
| | | | |
|-|:--------:|:-----:|:----:|
|BETO uncased|[tensorflow_weights](https://users.dcc.uchile.cl/~jperez/beto/uncased_2M/tensorflow_weights.tar.gz) | [pytorch_weights](https://users.dcc.uchile.cl/~jperez/beto/uncased_2M/pytorch_weights.tar.gz) | [vocab](./config/uncased_2M/vocab.txt), [config](./config/uncased_2M/config.json) |
|BETO cased| [tensorflow_weights](https://users.dcc.uchile.cl/~jperez/beto/cased_2M/tensorflow_weights.tar.gz) | [pytorch_weights](https://users.dcc.uchile.cl/~jperez/beto/cased_2M/pytorch_weights.tar.gz) | [vocab](./config/cased_2M/vocab.txt), [config](./config/cased_2M/config.json) |
All models use a vocabulary of about 31k BPE subwords constructed using SentencePiece and were trained for 2M steps.
## Benchmarks
The following table shows some BETO results in the Spanish version of every task.
We compare BETO (cased and uncased) with the Best Multilingual BERT results that
we found in the literature (as of October 2019).
The table also shows some alternative methods for the same tasks (not necessarily BERT-based methods).
References for all methods can be found [here](#references).
|Task | BETO-cased | BETO-uncased | Best Multilingual BERT | Other results |
|-------|--------------:|--------------:|--------------------------:|-------------------------------:|
|[POS](https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-1827) | **98.97** | 98.44 | 97.10 [2] | 98.91 [6], 96.71 [3] |
|[NER-C](https://www.kaggle.com/nltkdata/conll-corpora) | [**88.43**](https://github.com/gchaperon/beto-benchmarks/blob/master/conll2002/dev_results_beto-cased_conll2002.txt) | 82.67 | 87.38 [2] | 87.18 [3] |
|[MLDoc](https://github.com/facebookresearch/MLDoc) | [95.60](https://github.com/gchaperon/beto-benchmarks/blob/master/MLDoc/dev_results_beto-cased_mldoc.txt) | [**96.12**](https://github.com/gchaperon/beto-benchmarks/blob/master/MLDoc/dev_results_beto-uncased_mldoc.txt) | 95.70 [2] | 88.75 [4] |
|[PAWS-X](https://github.com/google-research-datasets/paws/tree/master/pawsx) | 89.05 | 89.55 | 90.70 [8] |
|[XNLI](https://github.com/facebookresearch/XNLI) | **82.01** | 80.15 | 78.50 [2] | 80.80 [5], 77.80 [1], 73.15 [4]|
## Example of use
For further details on how to use BETO you can visit the [π€Huggingface Transformers library](https://github.com/huggingface/transformers), starting by the [Quickstart section](https://huggingface.co/transformers/quickstart.html).
BETO models can be accessed simply as [`'dccuchile/bert-base-spanish-wwm-cased'`](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) and [`'dccuchile/bert-base-spanish-wwm-uncased'`](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) by using the Transformers library.
An example on how to download and use the models in this page can be found in [this colab notebook](https://colab.research.google.com/drive/1uRwg4UmPgYIqGYY4gW_Nsw9782GFJbPt).
(We will soon add a more detailed step-by-step tutorial in Spanish for newcommers π)
## Acknowledgments
We thank [Adereso](https://www.adere.so/) for kindly providing support for traininig BETO-uncased, and the [Millennium Institute for Foundational Research on Data](https://imfd.cl/en/)
that provided support for training BETO-cased. Also thanks to Google for helping us with the [TensorFlow Research Cloud](https://www.tensorflow.org/tfrc) program.
## Citation
[Spanish Pre-Trained BERT Model and Evaluation Data](https://users.dcc.uchile.cl/~jperez/papers/pml4dc2020.pdf)
To cite this resource in a publication please use the following:
```
@inproceedings{CaneteCFP2020,
title={Spanish Pre-Trained BERT Model and Evaluation Data},
author={CaΓ±ete, JosΓ© and Chaperon, Gabriel and Fuentes, Rodrigo and Ho, Jou-Hui and Kang, Hojin and PΓ©rez, Jorge},
booktitle={PML4DC at ICLR 2020},
year={2020}
}
```
## License Disclaimer
The license CC BY 4.0 best describes our intentions for our work. However we are not sure that all the datasets used to train BETO have licenses compatible with CC BY 4.0 (specially for commercial use). Please use at your own discretion and verify that the licenses of the original text resources match your needs.
## References
* [1] [Original Multilingual BERT](https://github.com/google-research/bert/blob/master/multilingual.md)
* [2] [Multilingual BERT on "Beto, Bentz, Becas: The Surprising Cross-Lingual Effectiveness of BERT"](https://arxiv.org/pdf/1904.09077.pdf)
* [3] [Multilingual BERT on "How Multilingual is Multilingual BERT?"](https://arxiv.org/pdf/1906.01502.pdf)
* [4] [LASER](https://arxiv.org/abs/1812.10464)
* [5] [XLM (MLM+TLM)](https://arxiv.org/pdf/1901.07291.pdf)
* [6] [UDPipe on "75 Languages, 1 Model: Parsing Universal Dependencies Universally"](https://arxiv.org/pdf/1904.02099.pdf)
* [7] [Multilingual BERT on "Sequence Tagging with Contextual and Non-Contextual Subword Representations: A Multilingual Evaluation"](https://arxiv.org/pdf/1906.01569.pdf)
* [8] [Multilingual BERT on "PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification"](https://arxiv.org/abs/1908.11828)
| [
0.002602603752166033,
-0.018892725929617882,
-0.004262974485754967,
0.060541123151779175,
0.027978964149951935,
0.02362152375280857,
0.0021649892441928387,
-0.0014006197452545166,
-0.02771289087831974,
0.06277459859848022,
-0.03158041089773178,
-0.02476094476878643,
0.00016950041754171252,
0.05138028413057327,
-0.021949464455246925,
-0.021052537485957146,
-0.0025196424685418606,
-0.017306333407759666,
-0.07058758288621902,
-0.027121255174279213,
0.017218248918652534,
-0.0052597601898014545,
0.009767166338860989,
0.03627125918865204,
0.017524126917123795,
0.02813328057527542,
0.00890551507472992,
0.021873019635677338,
0.018967118114233017,
-0.060417741537094116,
-0.01247783936560154,
-0.011063406243920326,
-0.03957914933562279,
-0.026579268276691437,
-0.03716040775179863,
-0.030494792386889458,
-0.0067347995936870575,
0.00043304500286467373,
0.03923983871936798,
0.04698827490210533,
-0.0000017353760313199018,
0.017618751153349876,
-0.009416777640581131,
-0.042920198291540146,
0.03055078722536564,
0.02069220319390297,
-0.03476523980498314,
-0.01080227643251419,
0.025668717920780182,
-0.016303330659866333,
-0.05840931832790375,
-0.07942185550928116,
-0.045872434973716736,
0.005284840241074562,
-0.03191116824746132,
-0.019462570548057556,
-0.05585538223385811,
0.0057000345550477505,
0.06925599277019501,
-0.04104483872652054,
-0.03877152502536774,
-0.008280925452709198,
-0.06685011833906174,
0.014562794007360935,
0.03574956953525543,
-0.022809667512774467,
-0.0007703356095589697,
-0.031355299055576324,
0.03536748141050339,
-0.03586234152317047,
0.04929449036717415,
-0.03914477303624153,
-0.003943373449146748,
-0.0924193412065506,
-0.0037991798017174006,
-0.020388321951031685,
0.03830970823764801,
0.021332133561372757,
-0.05041210353374481,
0.062045637518167496,
0.027399450540542603,
0.002267005154863,
0.03545229509472847,
-0.03740508481860161,
-0.006602954585105181,
0.07386443018913269,
-0.022381292656064034,
-0.019624685868620872,
0.017329208552837372,
0.043059904128313065,
-0.03277784213423729,
0.003966841846704483,
-0.027467995882034302,
-0.03514667972922325,
-0.00792020745575428,
0.037539463490247726,
0.029795270413160324,
-0.0158820990473032,
0.05001538619399071,
0.029928572475910187,
0.004002954810857773,
0.04830159246921539,
0.008110790513455868,
0.06028866395354271,
-0.028432345017790794,
-0.0035587362945079803,
-0.013475583866238594,
-0.048270754516124725,
-0.03754453733563423,
0.01568463258445263,
0.034967683255672455,
-0.03423367068171501,
-0.03715592250227928,
0.08258609473705292,
-0.008347079157829285,
-0.03737787902355194,
0.06186217814683914,
-0.008311886340379715,
-0.046551063656806946,
-0.04701627045869827,
0.06928325444459915,
0.01092770230025053,
0.0073540098965168,
0.03157709911465645,
-0.037880100309848785,
0.00434629013761878,
-0.043745674192905426,
-0.0036238962784409523,
-0.007934607565402985,
0.04321196302771568,
-0.007858123630285263,
0.025769338011741638,
0.01858946681022644,
-0.058243971318006516,
0.028849465772509575,
-0.0009724448318593204,
-0.07286452502012253,
0.03968299925327301,
0.03172577545046806,
0.10471335798501968,
-0.04935334250330925,
-0.026314126327633858,
0.018027758225798607,
0.012162522412836552,
-0.015192929655313492,
-0.002004986861720681,
0.013626747764647007,
-0.027243653312325478,
-0.004647692199796438,
-0.0050536044873297215,
0.06741158664226532,
-0.06113160401582718,
0.010969789698719978,
0.04427092894911766,
-0.01825949177145958,
0.04956994578242302,
-0.05085957050323486,
-0.009196799248456955,
0.03273432329297066,
-0.017574163153767586,
-0.022098295390605927,
0.02319484017789364,
-0.0053021954372525215,
-0.03781147673726082,
-0.04161285236477852,
-0.04351155087351799,
0.017002202570438385,
0.07029566913843155,
0.009056437760591507,
-0.01014442928135395,
-0.0062044295482337475,
0.012648235075175762,
0.04114731028676033,
0.02488088048994541,
-0.02623274177312851,
0.0322066955268383,
0.05841981619596481,
0.03451398387551308,
-0.0005387543933466077,
0.06085978075861931,
0.02498766779899597,
-0.011790836229920387,
-0.04288748651742935,
0.022426709532737732,
0.006565229035913944,
-0.03488239645957947,
0.023998212069272995,
0.028364021331071854,
-0.034082941710948944,
-0.025463346391916275,
0.0028449930250644684,
0.06617692112922668,
0.005347191821783781,
0.013218517415225506,
-0.0020400057546794415,
0.006529512815177441,
-0.05249175429344177,
0.05556364357471466,
-0.025462577119469643,
-0.0015422140713781118,
-0.025021905079483986,
-0.008168065920472145,
-0.02206723392009735,
0.02261115051805973,
0.024694817140698433,
0.03555196523666382,
0.009774995036423206,
0.07768779993057251,
-0.021588480100035667,
0.016090240329504013,
-0.04882826656103134,
-0.05926591157913208,
-0.004358448088169098,
0.05190751701593399,
0.030796419829130173,
0.03276840224862099,
0.0003820442652795464,
-0.04158279299736023,
0.019478045403957367,
0.06197351962327957,
0.04041852802038193,
0.020650822669267654,
-0.044931381940841675,
-0.0020734667778015137,
0.04490915313363075,
0.056929197162389755,
-0.048977866768836975,
-0.05464385822415352,
0.005671846680343151,
0.04679311811923981,
-0.02120794728398323,
0.00556936813518405,
-0.010467656888067722,
0.023160260170698166,
-0.037261612713336945,
-0.06980496644973755,
0.04167008027434349,
0.030482590198516846,
-0.021867208182811737,
0.020103400573134422,
0.002477350179105997,
0.01870889589190483,
0.025525590404868126,
0.021367376670241356,
0.009842278435826302,
-0.02989918366074562,
0.003659861395135522,
0.01995438151061535,
0.05109286308288574,
-0.07471469789743423,
0.02361474558711052,
-0.010166989639401436,
0.012625872157514095,
0.05950959771871567,
-0.025700127705931664,
0.025302518159151077,
0.016027627512812614,
0.004646745510399342,
-0.03620455414056778,
0.016802217811346054,
0.00179986038710922,
0.03118109330534935,
0.07351906597614288,
0.001780057675205171,
0.05194918438792229,
-0.004880608059465885,
0.03882738575339317,
0.07338573038578033,
-0.00890825130045414,
0.022829987108707428,
0.031625449657440186,
0.07363224774599075,
0.007163650821894407,
-0.012363318353891373,
0.07910338789224625,
-0.03548287972807884,
-0.006888332311064005,
-0.028904560953378677,
0.018641073256731033,
0.00030273760785348713,
-0.014538087882101536,
0.012891515158116817,
0.01666196994483471,
-0.02751711569726467,
0.008024721406400204,
-0.0015035372925922275,
-0.010329491458833218,
0.0505874827504158,
-0.022126460447907448,
-0.0055011785589158535,
0.001771233626641333,
-0.02241431549191475,
0.014536372385919094,
-0.04981985688209534,
-0.05211490020155907,
0.005884895566850901,
-0.023472368717193604,
-0.0026460790541023016,
-0.06186637282371521,
-0.031675856560468674,
-0.05510453134775162,
-0.019138462841510773,
0.04719298332929611,
0.012202399782836437,
-0.01300100889056921,
-0.010640663094818592,
0.004021923057734966,
-0.037860624492168427,
-0.025454677641391754,
-0.03943662717938423,
-0.04911423474550247,
-0.05839124694466591,
-0.0691930428147316,
0.027308184653520584,
0.015142293646931648,
0.042632412165403366,
0.00434833625331521,
0.003553632413968444,
-0.011140056885778904,
-0.03219993785023689,
0.048428215086460114,
0.033192288130521774,
-0.027347533032298088,
-0.053069233894348145,
0.022936038672924042,
-0.010349809192121029,
0.01856008544564247,
0.02195930667221546,
-0.014638545922935009,
0.083043672144413,
0.08023854345083237,
0.05437280982732773,
0.016924206167459488,
-0.019300034269690514,
-0.04322533309459686,
-0.07302186638116837,
-0.035907600075006485,
-0.05089167132973671,
0.009213448502123356,
-0.040074918419122696,
-0.04880375787615776,
-0.004066561348736286,
-0.03156363219022751,
0.018272874876856804,
-0.0004171094624325633,
0.041146665811538696,
0.06107920780777931,
0.050152577459812164,
0.032649580389261246,
0.025957385078072548,
-0.04394804313778877,
-0.006935366429388523,
0.08126374334096909,
0.006760896183550358,
0.008294551633298397,
-0.0699874609708786,
-0.008095859549939632,
0.05271834880113602,
0.01264363806694746,
-0.0048280744813382626,
0.0050938185304403305,
0.07068409770727158,
0.005717680789530277,
-0.00901417899876833,
0.008439035154879093,
-0.002806111006066203,
-0.04209332540631294,
0.004799671471118927,
0.009652288630604744,
-0.03799128532409668,
-0.04068492725491524,
-0.038550619035959244,
0.015242747962474823,
0.03647468611598015,
-0.061715397983789444,
-0.047823503613471985,
-0.012944389134645462,
0.04806028679013252,
-0.0008124908781610429,
-0.004318344872444868,
-0.04660188406705856,
-0.017000995576381683,
-0.05517026409506798,
-0.04182559996843338,
0.007577985525131226,
-0.011372488923370838,
0.005389784928411245,
0.03767360746860504,
0.0177040733397007,
-0.048823852092027664,
0.026721855625510216,
0.02300204150378704,
0.042469847947359085,
0.016513383015990257,
-0.06884055584669113,
0.028633244335651398,
-0.025424238294363022,
0.0012954020639881492,
0.003634797176346183,
-0.02312459796667099,
-0.052654847502708435,
-0.09629744291305542,
0.018697375431656837,
-0.009008902125060558,
0.0002366909757256508,
-0.0418069027364254,
0.03337836265563965,
-0.024188565090298653,
0.011017492972314358,
-0.011946489103138447,
-0.00666508125141263,
0.028710903599858284,
-0.05953886732459068,
0.08061592280864716,
-0.003319693496450782,
0.020708639174699783,
-0.05077052116394043,
0.016849152743816376,
-0.03433198109269142,
-0.02772360108792782,
-0.007775801233947277,
0.06436300277709961,
0.030169781297445297,
0.04168020561337471,
0.06976201385259628,
0.04772436246275902,
-0.0407048761844635,
0.03775491192936897,
0.03266351670026779,
-0.025921829044818878,
-0.05062573403120041,
0.0012482304591685534,
-0.02438899129629135,
-0.04573357477784157,
-0.0020296855363994837,
-0.034986041486263275,
0.020114528015255928,
0.012020363472402096,
0.011758437380194664,
-0.03835361823439598,
0.0029736647848039865,
-0.013572019524872303,
-0.05064738914370537,
-0.055093467235565186,
-0.028943883255124092,
-0.0015172704588621855,
-0.011993530206382275,
0.049855783581733704,
0.02679910697042942,
0.008394698612391949,
0.0638962909579277,
0.06886270642280579,
-0.012879161164164543,
-0.020003430545330048,
0.022076139226555824,
0.024556845426559448,
-0.03423941507935524,
-0.06707721203565598,
-0.04498070850968361,
0.07833415269851685,
0.04792415723204613,
0.011056405492126942,
-0.11362133920192719,
-0.004451439715921879,
0.05419645458459854,
-0.017505183815956116,
0.06846687197685242,
-0.022532420232892036,
0.07733931392431259,
0.03089599311351776,
-0.003443405730649829,
0.031023144721984863,
-0.01714259199798107,
0.006101752165704966,
-0.029634132981300354,
0.04433487728238106,
-0.01590660959482193,
-0.048494432121515274,
-0.06944368034601212,
0.004528814926743507,
0.023637956008315086,
0.04487576708197594,
0.04659229889512062,
-0.031338758766651154,
-0.06326007097959518,
0.022652149200439453,
0.04276599362492561,
-0.05468368902802467,
0.0024096209090203047,
0.01497447770088911,
0.04242105036973953,
-0.04435957223176956,
-0.03713088482618332,
-0.026985730975866318,
-0.011030502617359161,
0.023428937420248985,
0.025491660460829735,
-0.0208282433450222,
-0.0799764096736908,
0.014606228098273277,
-0.017676038667559624,
-0.020364901050925255,
-0.05815568566322327,
0.029435571283102036,
-0.018571937456727028,
-0.009930618107318878,
0.041478343307971954,
0.021120954304933548,
0.04623859375715256,
0.06628195941448212,
0.009550395421683788,
-0.007530430797487497,
-0.05168001353740692,
0.019476333633065224,
-0.02499713934957981,
-0.011569335125386715,
-0.02393195778131485,
-0.03410632908344269,
-0.009589901193976402,
-0.03171120956540108,
-0.03601491078734398,
-0.04552435874938965,
0.0032125890720635653,
0.034219253808259964,
-0.0006719750817865133,
0.020990246906876564,
-0.032779429107904434,
0.023697396740317345,
-0.015112877823412418,
-0.004060944076627493,
-0.015343189239501953,
-0.028832705691456795,
-0.05387067049741745,
-0.07220815122127533,
0.006809001788496971,
0.00850941427052021,
0.023527514189481735,
0.008418960496783257,
0.007955092005431652,
-0.005051170475780964,
0.0038196078967303038,
-0.026642853394150734,
0.022822899743914604,
0.00842128973454237,
-0.047947101294994354,
-0.013261659070849419,
0.017349373549222946,
0.017692426219582558,
0.03603985533118248,
-0.037919171154499054,
0.023595357313752174,
0.023988448083400726,
-0.030201133340597153,
-0.0026689337100833654,
0.03616403415799141,
0.019287586212158203,
-0.07689540088176727,
-0.044084105640649796,
-0.021718459203839302,
-0.06806553155183792,
0.04101493954658508,
-0.02225498855113983,
-0.03749588131904602,
0.0335923433303833,
0.025183118879795074,
0.06982501596212387,
-0.01768466643989086,
-0.025634940713644028,
0.011174222454428673,
-0.00599655183032155,
0.007497633807361126,
-0.04821725934743881,
0.0565713606774807,
-0.04678212106227875,
0.022780166938900948,
0.0024197802413254976,
-0.012056097388267517,
-0.050215862691402435,
0.03521351143717766,
-0.015427076257765293,
-0.033036209642887115,
-0.017113864421844482,
0.029022201895713806,
-0.01809048093855381,
0.031576093286275864,
-0.05056954547762871,
-0.00449428241699934,
-0.018504958599805832,
0.06098264083266258,
-0.04610702022910118,
-0.0004957605851814151,
-0.011242356151342392,
0.013959978707134724,
-0.022091180086135864,
-0.029305245727300644,
0.005650048144161701,
-0.054662663489580154,
0.03698800876736641,
0.05500154197216034,
0.02279386669397354,
0.021099336445331573,
-0.04388242959976196,
0.0015261052176356316,
0.016935676336288452,
-0.05935227498412132,
-0.022396646440029144,
-0.007709327153861523,
0.021091891452670097,
0.001968498807400465,
0.05682462826371193,
0.060201771557331085,
-0.05559542402625084,
-0.04501355066895485,
0.0616842545568943,
0.045261699706315994,
-0.029231585562229156,
-0.00546614546328783,
0.036935172975063324,
0.008143103681504726,
0.05107635632157326,
-0.02711172215640545,
0.0032160929404199123,
0.001966738374903798,
-0.026863934472203255,
0.03131812438368797,
-0.009756959974765778,
0.017149532213807106,
0.00864557083696127,
-0.017075832933187485,
-0.022056644782423973,
0.06179225072264671,
0.030021190643310547,
0.00439006881788373,
-0.005359917879104614,
-0.016549671068787575,
0.008529169484972954,
-0.0003780709230341017,
-0.062442753463983536,
0.0016554546309635043,
0.0027645896188914776,
-0.027837758883833885,
0.08050961792469025,
-0.012483618222177029,
0.009390855208039284,
0.051844287663698196,
0.007647974416613579,
0.002043419983237982,
0.04656141623854637,
-0.033852677792310715,
0.004938601050525904,
0.039171915501356125,
-0.032437533140182495,
-0.00015518481086473912,
-0.00803398061543703,
0.043897997587919235,
-0.07745419442653656,
0.03367296978831291,
0.034172628074884415,
0.017780758440494537,
0.03209955617785454,
0.003215406322851777,
-0.023799803107976913,
0.026047904044389725,
-0.04971690848469734,
0.06576449424028397,
-0.0015192771097645164,
-0.08482996374368668,
0.08742436021566391,
0.03261415660381317,
-0.08002913743257523,
0.03821106627583504,
0.049085021018981934,
0.014879976399242878,
0.03071065992116928,
0.04692713916301727,
-0.04366093501448631,
0.043164074420928955,
-0.06768391281366348,
0.02449139393866062,
-0.05166080221533775,
-0.0025851165410131216,
0.01877736486494541,
-0.032933641225099564,
0.0011663712793961167,
0.029312890022993088,
-0.025275785475969315,
-0.0025922125205397606,
-0.0046378131955862045,
-0.08132678270339966,
-0.03205176442861557,
0.005817502271384001,
0.036903638392686844,
-0.02831636555492878,
-0.004167455714195967,
-0.016627542674541473,
0.02492258884012699,
0.021000593900680542,
-0.030702032148838043,
-0.05203692987561226,
-0.02296474389731884,
0.023976076394319534,
-0.07427935302257538,
-0.040956515818834305,
0.03669947013258934,
0.02694888971745968,
-0.017588403075933456,
0.03869486227631569,
0.010549299418926239,
0.001153137651272118,
0.010189903900027275,
-0.0132934944704175,
0.028543362393975258,
-0.04830518364906311,
-0.013579821214079857,
-0.004385447595268488,
0.01888757385313511,
0.014862524345517159,
-0.015360366553068161,
0.02890300564467907,
0.03135998919606209,
0.06070912256836891,
-0.03533356636762619,
-0.026531526818871498,
-0.02753443643450737,
0.0312691330909729,
-0.06361881643533707,
0.01832311414182186,
0.005934746935963631,
-0.03278682008385658,
-0.021777460351586342,
0.00472989771515131,
0.028739791363477707,
0.03645118698477745,
-0.0644344836473465,
0.005188507027924061,
0.0421033576130867,
-0.039434097707271576,
-0.04663880914449692,
-0.08227493613958359,
-0.023554394021630287,
-0.03710915893316269,
0.005122533533722162,
0.015025976113975048,
-0.038211241364479065,
0.011665740050375462,
-0.0271961260586977,
-0.03968128189444542,
0.03194466978311539,
0.027394266799092293,
-0.051248230040073395,
0.04222739115357399,
0.029199395328760147,
-0.07543550431728363,
0.0022748226765543222,
0.036975424736738205,
-0.04226703569293022,
0.028417089954018593,
0.0014042899711057544,
0.013795069418847561,
0.03816064074635506,
0.014969469979405403,
-0.008739784359931946,
-0.014243954792618752,
-0.043735940009355545,
-0.01454622857272625,
-0.011019732803106308,
-0.0017912425100803375,
0.04667288437485695
] |
Botslity/Bot | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | null | https://teespring.com/dashboard/listings/113925135/edit | [
-0.01495359931141138,
0.01731470413506031,
-0.009419240057468414,
0.019749945029616356,
0.032221369445323944,
-0.004391058348119259,
-0.016234636306762695,
0.03000977449119091,
-0.03710445761680603,
0.020051410421729088,
0.05069679766893387,
0.00857772957533598,
0.0449090451002121,
0.0365397185087204,
-0.05689706653356552,
-0.030913157388567924,
-0.05354280024766922,
0.015364653430879116,
-0.030164746567606926,
0.016273444518446922,
0.039942555129528046,
0.01219570729881525,
-0.006950232200324535,
0.030332613736391068,
-0.009281284175813198,
0.030748529359698296,
-0.014825403690338135,
0.05785972625017166,
0.009686360135674477,
-0.07394316792488098,
-0.011313783936202526,
-0.05059647932648659,
-0.01429790910333395,
-0.026000531390309334,
-0.049684226512908936,
-0.011465465649962425,
0.017178431153297424,
-0.006314834114164114,
0.046838197857141495,
0.03317052498459816,
0.02217067778110504,
0.0463109128177166,
-0.0014844984980300069,
-0.04471764713525772,
0.046761006116867065,
-0.02137020044028759,
-0.07583655416965485,
-0.0457959808409214,
0.007716982159763575,
-0.04271841049194336,
-0.07501108199357986,
-0.06406868249177933,
-0.026941752061247826,
-0.01332251075655222,
0.011016879230737686,
-0.03559894114732742,
-0.06122394651174545,
0.012135094031691551,
0.08935581147670746,
-0.05683163180947304,
-0.028457816690206528,
-0.013052261434495449,
-0.06690098345279694,
-0.006145695224404335,
0.04403315857052803,
-0.056491680443286896,
0.05269380658864975,
-0.02744412235915661,
0.04938601702451706,
-0.03022630326449871,
0.05058461055159569,
-0.04562842845916748,
0.026391640305519104,
-0.05633114278316498,
-0.015931444242596626,
-0.015582498162984848,
0.055840615183115005,
0.032801974564790726,
-0.06629687547683716,
0.04265761747956276,
0.05732183903455734,
0.009149768389761448,
0.037513382732868195,
-0.019206177443265915,
-0.019830552861094475,
0.04138164594769478,
-0.0456170029938221,
0.029308386147022247,
-0.00220326310954988,
0.0129723334684968,
-0.05021973326802254,
-0.07855740189552307,
-0.027931395918130875,
-0.038393132388591766,
-0.021798329427838326,
0.0322587713599205,
0.054198455065488815,
-0.014199115335941315,
0.049091532826423645,
0.03541736304759979,
0.04524169862270355,
0.03937423974275589,
-0.0066878581419587135,
0.05009531229734421,
-0.0005646275822073221,
-0.010651417076587677,
0.0035999612882733345,
-0.014089059084653854,
-0.026805339381098747,
0.04139947518706322,
-0.006349931471049786,
-0.028316674754023552,
-0.04264145717024803,
0.028695112094283104,
0.019005954265594482,
0.024674028158187866,
0.04171181470155716,
-0.03735125809907913,
-0.015271841548383236,
-0.035480059683322906,
0.040919724851846695,
0.0304650217294693,
-0.02577545866370201,
-0.02555663324892521,
-0.02653832919895649,
0.0016549945576116443,
-0.007035927847027779,
0.0009161880007013679,
-0.035501427948474884,
-0.0037630272563546896,
0.00026862797676585615,
0.03435201197862625,
0.02728239819407463,
-0.0551895871758461,
0.017157768830657005,
0.005667019169777632,
-0.017332321032881737,
0.04539797455072403,
0.011271999217569828,
0.0843709409236908,
-0.057903241366147995,
-0.06927605718374252,
-0.004766480997204781,
-0.010077971033751965,
-0.04780561849474907,
0.021599795669317245,
0.023385154083371162,
-0.02430979162454605,
0.008244435302913189,
-0.01749137043952942,
0.04811993986368179,
-0.050602130591869354,
-0.03319616988301277,
0.06429383158683777,
-0.008947828784584999,
0.0211484432220459,
-0.034356024116277695,
-0.0037702021654695272,
-0.010056008584797382,
0.024722609668970108,
-0.045518141239881516,
0.045317161828279495,
-0.039979755878448486,
0.004430673085153103,
-0.0438055694103241,
-0.0438409261405468,
0.011142817325890064,
0.06185467541217804,
-0.02071087807416916,
-0.009121556766331196,
-0.07407744973897934,
-0.010122016072273254,
0.060265831649303436,
0.02094486728310585,
-0.0073485784232616425,
0.02578120492398739,
0.057010404765605927,
0.024600952863693237,
-0.012816588394343853,
0.014000540599226952,
0.0015085190534591675,
-0.03131939843297005,
-0.04912210628390312,
0.02326159179210663,
0.03678708150982857,
-0.02208803966641426,
-0.0003913338587153703,
0.044738445430994034,
-0.012716230936348438,
-0.04928365349769592,
-0.06823582947254181,
0.04809839278459549,
-0.012609531171619892,
-0.02561808191239834,
0.023425567895174026,
-0.021434655413031578,
-0.0211357269436121,
0.01907380297780037,
-0.002759499941021204,
0.024463582783937454,
-0.009892616420984268,
-0.01993275061249733,
0.002103250240907073,
-0.018333060666918755,
-0.009484197944402695,
0.03668113797903061,
0.007773189805448055,
0.07501310855150223,
-0.04269091784954071,
0.03195851296186447,
-0.04027412459254265,
-0.071755550801754,
-0.008361337706446648,
0.03987767547369003,
0.02765754796564579,
0.04100792855024338,
-0.0346565879881382,
-0.02637585997581482,
0.038088615983724594,
0.06284558773040771,
0.03977062553167343,
0.015906449407339096,
-0.04298694059252739,
-0.015469723381102085,
0.04436907917261124,
0.027271799743175507,
0.01742485910654068,
-0.01899704523384571,
0.02528173103928566,
0.03562406450510025,
-0.0357816144824028,
-0.020161151885986328,
0.004958291072398424,
0.0217236690223217,
-0.0546722449362278,
-0.06625010073184967,
0.0237982589751482,
0.02961023524403572,
0.008338444866240025,
0.02200629562139511,
-0.008703701198101044,
0.023145774379372597,
0.06662172079086304,
0.017144830897450447,
0.03257253021001816,
-0.019914180040359497,
0.018711935728788376,
0.0014523713616654277,
0.05776287615299225,
-0.019510556012392044,
0.030986439436674118,
-0.004161931574344635,
0.001863243174739182,
0.04315854609012604,
-0.029385829344391823,
0.014927116222679615,
0.062137704342603683,
0.050360508263111115,
-0.016659431159496307,
0.05597688630223274,
0.019332850351929665,
0.02842227928340435,
0.04927492514252663,
0.015307633206248283,
0.0480201318860054,
-0.0018859610427170992,
0.06020328402519226,
0.06114961579442024,
0.04223378375172615,
0.03106193244457245,
0.050812382251024246,
0.07035315036773682,
-0.005904544144868851,
-0.02919207513332367,
0.04062098637223244,
-0.04345649108290672,
0.021054686978459358,
-0.029235610738396645,
-0.001358725712634623,
-0.04001183807849884,
-0.01867474801838398,
0.07877849787473679,
-0.0009417085675522685,
-0.018173402175307274,
0.016015874221920967,
-0.0006680040387436748,
0.007637480739504099,
0.008080700412392616,
-0.011128440499305725,
-0.00019508798141032457,
-0.05139864981174469,
-0.03652341663837433,
-0.0013553391909226775,
-0.05928488075733185,
-0.018467044457793236,
-0.026133989915251732,
-0.015438673086464405,
0.02623922936618328,
-0.062331654131412506,
-0.011689477600157261,
-0.06798697263002396,
-0.015502359718084335,
0.06013428419828415,
0.03291817381978035,
0.007866257801651955,
-0.03731987997889519,
-0.005264780018478632,
-0.04587247595191002,
-0.048714928328990936,
-0.06496523320674896,
-0.03209099918603897,
-0.008914501406252384,
-0.05846792459487915,
0.04574164003133774,
0.04650384932756424,
0.000442045769887045,
0.02568492293357849,
0.00857184175401926,
-0.04986446350812912,
-0.04100169241428375,
0.03937656059861183,
0.04495313763618469,
-0.02745964005589485,
-0.057979222387075424,
0.015900488942861557,
-0.009757282212376595,
-0.018013205379247665,
-0.020508309826254845,
-0.03284798935055733,
0.06842225044965744,
0.04583888128399849,
0.03032783977687359,
0.017617836594581604,
0.010740567930042744,
-0.06497613340616226,
-0.0523269958794117,
-0.05135960876941681,
-0.03249680995941162,
-0.04842231422662735,
-0.015292066149413586,
-0.043595921248197556,
-0.017657538875937462,
-0.06281911581754684,
-0.018629899248480797,
0.028812920674681664,
-0.0020384418312460184,
0.04907456040382385,
0.05201641097664833,
0.03423399105668068,
0.014389717020094395,
-0.037790682166814804,
-0.007906957529485226,
0.05224177613854408,
-0.04062444716691971,
-0.03197083622217178,
-0.08041859418153763,
-0.03439660742878914,
0.05305802449584007,
-0.013549999333918095,
0.02284768596291542,
-0.008103716187179089,
0.02794661931693554,
0.026416407898068428,
-0.023571856319904327,
0.008737803436815739,
-0.040109775960445404,
-0.008677192963659763,
0.006106575019657612,
0.016201382502913475,
-0.035468924790620804,
-0.05643647164106369,
0.006440811324864626,
0.00038568038144148886,
0.03324778750538826,
-0.03710301220417023,
-0.017539897933602333,
-0.013582175597548485,
0.043661076575517654,
0.02479410171508789,
-0.01157317589968443,
-0.05394747480750084,
-0.005991422571241856,
-0.07910730689764023,
-0.03565193712711334,
0.030968748033046722,
0.0021631077397614717,
0.019485844299197197,
0.048280760645866394,
0.0045442525297403336,
-0.032514434307813644,
0.03533881530165672,
0.04268338903784752,
0.040339354425668716,
0.0421588309109211,
-0.017891500145196915,
0.01154546719044447,
-0.01122278068214655,
0.01360406819730997,
0.005155978258699179,
-0.018323255702853203,
-0.06860578060150146,
-0.07917923480272293,
-0.016236988827586174,
0.03038174659013748,
-0.013806186616420746,
-0.014862502925097942,
0.04288749396800995,
-0.007531711366027594,
-0.01725698821246624,
0.011176795698702335,
0.01941254921257496,
0.025648076087236404,
-0.015047608874738216,
0.05562248453497887,
-0.027634164318442345,
0.010239401832222939,
-0.039441995322704315,
-0.02599295601248741,
-0.05621427670121193,
0.012553290463984013,
0.006427402142435312,
0.05220621079206467,
0.008114483207464218,
0.06134345382452011,
0.04611838608980179,
0.031751587986946106,
-0.03854522109031677,
0.04849744960665703,
0.0488746240735054,
-0.0341903492808342,
-0.04613290727138519,
0.02289043366909027,
-0.019717615097761154,
0.00474401144310832,
0.0017398111522197723,
-0.013808442279696465,
0.035378407686948776,
0.05494523420929909,
-0.018541812896728516,
0.006751248612999916,
0.019796252250671387,
-0.012638291344046593,
-0.058722782880067825,
-0.05241844430565834,
-0.006186337675899267,
-0.0000631541115581058,
-0.015453832224011421,
0.004918479826301336,
0.034159354865550995,
-0.005281553138047457,
0.0667523518204689,
0.03332899138331413,
-0.0686880424618721,
-0.06441879272460938,
0.015450072474777699,
0.02989335171878338,
-0.016463693231344223,
-0.0615624338388443,
-0.020980464294552803,
0.023523183539509773,
0.041316624730825424,
-0.006774477660655975,
-0.06001861020922661,
0.03667759522795677,
0.029927395284175873,
-0.05286168307065964,
0.04399275779724121,
0.012749585323035717,
0.055983833968639374,
0.054981037974357605,
0.006329359021037817,
0.027739781886339188,
-0.04602082446217537,
0.00018590176478028297,
-0.0072351242415606976,
0.012996569275856018,
-0.03303837031126022,
-0.030323736369609833,
-0.013994628563523293,
0.03621000051498413,
0.023062920197844505,
0.040722187608480453,
0.04893466457724571,
-0.054973799735307693,
-0.025241654366254807,
-0.00646701967343688,
0.04624202847480774,
-0.0470721572637558,
0.0253598690032959,
0.047765620052814484,
0.05499451607465744,
-0.05332036316394806,
-0.03397343307733536,
-0.018207401037216187,
0.0035529539454728365,
0.03417221084237099,
-0.03492382913827896,
-0.03491222485899925,
-0.016241326928138733,
0.02349979430437088,
0.008017719723284245,
-0.04079267755150795,
-0.0547381192445755,
0.04010450839996338,
-0.02650962956249714,
-0.023031534627079964,
0.04283984377980232,
0.04395003616809845,
0.028093144297599792,
0.05859700217843056,
0.001637190580368042,
0.03714068979024887,
-0.0417349599301815,
0.06407717615365982,
-0.05702870711684227,
0.00571493711322546,
-0.000024263667000923306,
-0.056879572570323944,
-0.03322090581059456,
-0.01453902292996645,
-0.06803558021783829,
-0.03311077505350113,
-0.04462609067559242,
0.002697169315069914,
-0.041815899312496185,
0.03420508652925491,
0.028578532859683037,
0.006755721755325794,
0.00469962740316987,
-0.0408087894320488,
-0.0187299195677042,
-0.050809092819690704,
-0.0804305449128151,
-0.025484738871455193,
0.04035725072026253,
-0.019856411963701248,
0.02154187485575676,
0.01343575306236744,
0.019087599590420723,
0.0371096096932888,
0.029634611681103706,
-0.014203754253685474,
0.03339434787631035,
0.019520802423357964,
-0.04811783879995346,
-0.02877965196967125,
-0.01442275382578373,
0.013846276327967644,
0.026514796540141106,
-0.03054673783481121,
0.014477242715656757,
-0.003003752324730158,
0.012928935699164867,
-0.042230334132909775,
0.024104444310069084,
-0.0002976463583763689,
-0.06960661709308624,
0.0048768408596515656,
0.0048119500279426575,
-0.007207339629530907,
0.010454022325575352,
-0.041813455522060394,
-0.06994964927434921,
-0.003547689877450466,
0.00830446369946003,
0.024333972483873367,
-0.02367389015853405,
-0.04504738003015518,
0.03512023761868477,
-0.04427540302276611,
0.024904340505599976,
-0.06135458126664162,
0.006023094058036804,
-0.0364144966006279,
0.018736228346824646,
-0.011798176914453506,
0.027164030820131302,
-0.06493285298347473,
0.06246985122561455,
-0.02099938504397869,
-0.022119225934147835,
0.001695615821518004,
0.03953598812222481,
-0.0320083424448967,
0.027989769354462624,
-0.029468607157468796,
-0.006089820060878992,
-0.04997318983078003,
0.039028845727443695,
-0.055475831031799316,
0.011576474644243717,
-0.035982657223939896,
0.022370774298906326,
-0.05751712992787361,
-0.011374295689165592,
-0.0167100690305233,
-0.034848663955926895,
0.013136094436049461,
0.057452112436294556,
-0.00037103687645867467,
0.02572440169751644,
-0.022075152024626732,
-0.020853901281952858,
0.01805141195654869,
-0.05955301597714424,
-0.014166951179504395,
-0.004984775558114052,
-0.0009221119107678533,
-0.006347633898258209,
0.026281198486685753,
0.033233001828193665,
-0.04068683460354805,
-0.04508275166153908,
0.037264060229063034,
0.03903122618794441,
0.00004740544318337925,
-0.009132301434874535,
0.01655883900821209,
0.010647215880453587,
0.03396260738372803,
-0.02255767025053501,
0.023194042965769768,
-0.034776099026203156,
-0.028012916445732117,
0.01337712537497282,
-0.01607159525156021,
0.01886804960668087,
-0.014608758501708508,
-0.032354649156332016,
-0.02072366699576378,
0.06924564391374588,
0.03784135729074478,
0.02391812391579151,
-0.031073041260242462,
-0.06905309855937958,
0.0587325282394886,
-0.014034314081072807,
-0.032527271658182144,
0.04768156632781029,
0.0425240732729435,
-0.041146885603666306,
0.0638875663280487,
-0.006312748417258263,
0.006958824582397938,
0.008322223089635372,
0.04312651976943016,
-0.037510573863983154,
0.016363434493541718,
-0.053939856588840485,
0.016348818317055702,
0.04496197775006294,
-0.036984559148550034,
-0.015131350606679916,
-0.04585209861397743,
0.040188826620578766,
-0.0715906172990799,
0.060743771493434906,
0.0372345969080925,
-0.012383805587887764,
0.024115655571222305,
-0.03127742558717728,
-0.008287675678730011,
0.01744035631418228,
-0.03437225893139839,
0.03632155433297157,
-0.029921865090727806,
-0.05971168354153633,
0.05016247555613518,
-0.0059311408549547195,
-0.09080285578966141,
0.02580343931913376,
0.04470401629805565,
0.01540954876691103,
0.046223677694797516,
0.01849380135536194,
-0.038576651364564896,
0.017415476962924004,
-0.03177078440785408,
0.017851367592811584,
-0.01922108605504036,
-0.04642666503787041,
0.022613199427723885,
-0.03376712277531624,
-0.03290383890271187,
0.025438973680138588,
-0.002702270168811083,
0.007577876094728708,
0.02963479608297348,
-0.036082420498132706,
-0.04017149657011032,
0.04501834511756897,
0.019416362047195435,
0.0012999592581763864,
-0.004092507530003786,
-0.03896671533584595,
0.05165281146764755,
0.011953477747738361,
-0.0059804851189255714,
-0.003963777329772711,
0.0038472681771963835,
0.014663954265415668,
-0.07165931165218353,
-0.04322385787963867,
0.046490684151649475,
0.006764035206288099,
-0.05485544353723526,
0.0012498995056375861,
-0.017930561676621437,
0.01749047264456749,
0.025557249784469604,
-0.029007012024521828,
0.02740420401096344,
-0.06627533584833145,
-0.004880421794950962,
0.024844273924827576,
0.031068256124854088,
0.02848752774298191,
-0.025016844272613525,
0.017491618171334267,
0.05045490711927414,
0.043134551495313644,
0.004380903206765652,
-0.03425721079111099,
-0.037118904292583466,
0.012217764742672443,
-0.053832001984119415,
0.039084240794181824,
-0.014529543928802013,
-0.06323199719190598,
-0.007113178726285696,
-0.022658944129943848,
-0.016799377277493477,
0.057945627719163895,
-0.06644777208566666,
0.020444231107831,
0.025138691067695618,
0.03844408690929413,
-0.05094157159328461,
-0.09675253927707672,
-0.041613705456256866,
-0.05085683614015579,
0.03694313392043114,
-0.002216520020738244,
-0.03353901952505112,
0.016824424266815186,
-0.021255629137158394,
-0.06289196759462357,
0.03785528242588043,
0.012137193232774734,
-0.020066168159246445,
0.047771602869033813,
0.055841732770204544,
-0.05722876265645027,
0.01823636144399643,
0.02871854230761528,
-0.052425727248191833,
0.04112289845943451,
0.014531778171658516,
0.02747495286166668,
0.007085233461111784,
0.041411466896533966,
-0.02732529304921627,
-0.009831598959863186,
-0.04671744629740715,
-0.02176021970808506,
0.00011132315557915717,
-0.004438052419573069,
0.0592096708714962
] |
BrianTin/MTBERT | [
"pytorch",
"jax",
"bert",
"fill-mask",
"transformers",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 11 | null | ```python
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# device setting
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
# load model and tokenizer
model_name_or_path = "ddobokki/gpt2_poem"
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
model = AutoModelForCausalLM.from_pretrained(model_name_or_path)
model.to(device)
keyword_start_token = "<k>"
keyword_end_token = "</k>"
text = "μ° κΌλκΈ°κ° λ³΄μ΄λ κ²½μΉ"
input_text = keyword_start_token + text + keyword_end_token
input_ids = tokenizer.encode(input_text, return_tensors="pt").to(device)
gen_ids = model.generate(
input_ids, max_length=64, num_beams=100, no_repeat_ngram_size=2
)
generated = tokenizer.decode(gen_ids[0, :].tolist(), skip_special_tokens=True)
>> μ€λ₯΄λ½λ΄λ¦¬λ½
μ° κΌλκΈ°λ₯Ό μ¬λ €λ€λ³΄λ
μλν λ©κ³ μλν
λλκ°μ§μ λ§€λ¬λ¦°
μμ μ°μ ν λ§λ¦¬
μ΄λ¦ λͺ¨λ₯Ό ν νν¬κΈ° μκ³
μ΄λλ‘ κ° νμ© λ λκ° λ²λ Έλ€
``` | [
-0.004173572175204754,
-0.013910943642258644,
-0.006165905389934778,
0.041749849915504456,
0.020548461005091667,
0.023481270298361778,
0.0014336975291371346,
-0.012258817441761494,
-0.040566474199295044,
0.059838905930519104,
0.03739577904343605,
0.004959442652761936,
0.005428540054708719,
0.05366338789463043,
-0.02767091616988182,
-0.05963899940252304,
-0.02148646116256714,
0.005282129161059856,
-0.038262397050857544,
-0.01752581261098385,
0.009069683030247688,
0.008738245815038681,
0.020036842674016953,
0.011866671964526176,
0.002474467270076275,
0.001461745472624898,
0.010503039695322514,
0.0038849839475005865,
0.025133315473794937,
-0.0681636855006218,
-0.004232505336403847,
-0.02129291743040085,
-0.028492337092757225,
-0.0137677863240242,
-0.022611666470766068,
0.0011091791093349457,
0.0042444635182619095,
0.000755355111323297,
0.02453005686402321,
0.0645466297864914,
-0.0002906715380959213,
-0.005232219584286213,
-0.015616958029568195,
-0.05040299519896507,
0.043764207512140274,
-0.009625515900552273,
-0.03570277988910675,
0.009798333048820496,
0.046438269317150116,
-0.02608521841466427,
-0.04242395982146263,
-0.08303161710500717,
-0.025952238589525223,
0.02605583146214485,
-0.021269388496875763,
-0.009892049245536327,
-0.06696496158838272,
-0.04316634312272072,
0.07298150658607483,
-0.03509804606437683,
-0.028354134410619736,
0.02300766110420227,
-0.07511571049690247,
0.04660416021943092,
0.03110872022807598,
-0.006068756803870201,
0.0041470834985375404,
-0.049751896411180496,
0.020612163469195366,
-0.03712615370750427,
0.05973935127258301,
-0.039540812373161316,
0.007878533564507961,
-0.10312966257333755,
-0.0006175664602778852,
-0.03680559620261192,
0.02413785830140114,
0.015274301171302795,
-0.038553331047296524,
0.057945940643548965,
0.03447514772415161,
0.0069510252214968204,
0.0422399677336216,
-0.011857436038553715,
-0.044518958777189255,
0.04325798898935318,
-0.03200908377766609,
0.02238280139863491,
0.010005910880863667,
0.08126533031463623,
-0.048271119594573975,
-0.04388228431344032,
-0.01852927915751934,
-0.031118039041757584,
-0.02036435529589653,
0.02949937805533409,
0.04231790080666542,
-0.0017010298324748874,
0.03649166598916054,
0.01815173588693142,
0.08407707512378693,
0.05218693986535072,
0.007601152174174786,
0.04676835611462593,
0.016158297657966614,
0.008836179971694946,
-0.029952174052596092,
-0.05723534896969795,
-0.017518412321805954,
0.05300857126712799,
0.028963498771190643,
-0.02367219887673855,
-0.05316000431776047,
0.03248567506670952,
0.03438439220190048,
-0.016275679692626,
0.052773118019104004,
-0.03500348702073097,
-0.047321055084466934,
-0.03253493085503578,
0.05873684957623482,
0.020928513258695602,
0.0033578998409211636,
-0.003562024561688304,
-0.03826897218823433,
0.014959686435759068,
-0.06341680884361267,
-0.02652423083782196,
-0.0184110626578331,
0.049581076949834824,
-0.024482551962137222,
0.02561020478606224,
0.030146991834044456,
-0.03477312996983528,
0.011285591870546341,
0.011968857608735561,
-0.07124641537666321,
0.06700356304645538,
0.0013664194848388433,
0.08207207173109055,
-0.09142732620239258,
-0.03889918699860573,
0.033556509763002396,
0.024783611297607422,
-0.014205455780029297,
-0.002933892887085676,
0.022128740325570107,
-0.04457887262105942,
-0.03415638953447342,
0.008871519938111305,
0.03657401725649834,
-0.05064421519637108,
-0.016484079882502556,
0.04397910460829735,
0.002615205477923155,
0.032743118703365326,
-0.02518816664814949,
-0.00833421666175127,
0.023303575813770294,
0.011087937280535698,
-0.04179934412240982,
0.0484931655228138,
-0.015545269474387169,
-0.01170894131064415,
-0.053003326058387756,
-0.050255242735147476,
-0.002685185056179762,
0.09802845865488052,
-0.00565737672150135,
-0.017714878544211388,
0.001502312021329999,
0.026865961030125618,
0.041268035769462585,
0.048384975641965866,
-0.014294940046966076,
0.03322936221957207,
0.07340975850820541,
0.046931613236665726,
-0.03432591259479523,
0.0560302771627903,
0.023722266778349876,
-0.04701259732246399,
-0.007048656232655048,
-0.009243243373930454,
-0.010620301589369774,
-0.028891010209918022,
0.00887085311114788,
0.0017799120396375656,
-0.024563930928707123,
-0.0295310877263546,
0.014405829831957817,
0.052145447582006454,
0.007917890325188637,
0.008448331616818905,
-0.0073243603110313416,
-0.035344094038009644,
-0.023876681923866272,
0.05036494508385658,
-0.01609213463962078,
0.0002577771956566721,
-0.02191738970577717,
-0.014814489521086216,
-0.00964309647679329,
0.02052420936524868,
0.027638670057058334,
0.043947529047727585,
-0.02245354652404785,
0.08633627742528915,
-0.02289484441280365,
0.012960045598447323,
-0.05076562613248825,
-0.04301198571920395,
-0.0014200385194271803,
0.041438858956098557,
0.025424573570489883,
0.023917093873023987,
0.023733219131827354,
-0.01468373741954565,
0.023043762892484665,
0.04578416422009468,
0.04562666639685631,
0.015241713263094425,
-0.038416165858507156,
0.001990188378840685,
0.024133935570716858,
0.08706822991371155,
-0.057220228016376495,
-0.04712063446640968,
0.029377827420830727,
0.038675907999277115,
-0.00964372232556343,
0.03334460034966469,
-0.001621027709916234,
0.006952488329261541,
-0.05553971603512764,
-0.0562317818403244,
0.03786355257034302,
0.03969423100352287,
0.019010689109563828,
0.01941271312534809,
-0.001098841312341392,
0.006793029606342316,
0.020721742883324623,
0.01562528870999813,
0.02093396708369255,
-0.02845267951488495,
-0.0059540956281125546,
0.013825958594679832,
0.03213576227426529,
-0.046943727880716324,
0.04243523254990578,
-0.028247077018022537,
0.003680902300402522,
0.04678444564342499,
-0.034749653190374374,
0.0010451009729877114,
0.014154152013361454,
0.01759665459394455,
-0.03806780278682709,
0.01852620765566826,
-0.019376695156097412,
0.03588515520095825,
0.06877017766237259,
0.0034370895009487867,
0.056453004479408264,
-0.009854178875684738,
0.030345551669597626,
0.0677495002746582,
0.004593834746629,
0.028140483424067497,
0.04842843487858772,
0.07918884605169296,
0.006235928740352392,
-0.01630135253071785,
0.06694181263446808,
-0.05217893421649933,
0.00951186753809452,
-0.036651358008384705,
0.045620132237672806,
-0.012196469120681286,
-0.017611004412174225,
0.03608294948935509,
0.024451332166790962,
-0.029089471325278282,
-0.0007696832763031125,
-0.0010607080766931176,
-0.010405338369309902,
0.03396505117416382,
-0.003958029672503471,
-0.015555488876998425,
0.004503367934376001,
-0.022393450140953064,
0.016799667850136757,
-0.08566261827945709,
-0.034955527633428574,
-0.01597025617957115,
-0.012311701662838459,
-0.011876367032527924,
-0.10269402712583542,
-0.029407745227217674,
-0.05209894850850105,
-0.019620686769485474,
0.054726649075746536,
0.01584804058074951,
-0.0025614837650209665,
-0.03586839884519577,
0.03914659842848778,
-0.0640982985496521,
-0.023840418085455894,
-0.07171756029129028,
-0.05635727569460869,
-0.035202041268348694,
-0.07577316462993622,
0.02688434347510338,
0.003956663887947798,
0.01911851577460766,
0.0434744618833065,
-0.007944567129015923,
-0.04208878055214882,
-0.022376248612999916,
0.051661133766174316,
0.018284564837813377,
-0.028487661853432655,
-0.04731837287545204,
0.03890114277601242,
-0.03149479255080223,
0.025067327544093132,
-0.003905195975676179,
-0.015717577189207077,
0.06914585083723068,
0.07705163955688477,
0.008141559548676014,
0.02246176451444626,
-0.02932167239487171,
-0.059220023453235626,
-0.03389749675989151,
-0.027033120393753052,
-0.04156898707151413,
-0.018289465457201004,
-0.022120276466012,
-0.04305528849363327,
-0.00837741605937481,
-0.043169714510440826,
-0.022192971780896187,
-0.011053904891014099,
0.049975570291280746,
0.06315774470567703,
0.07740256935358047,
0.029061388224363327,
0.03378529101610184,
-0.059276580810546875,
-0.02762046456336975,
0.054108235985040665,
0.0010949712013825774,
0.007184307556599379,
-0.062169671058654785,
-0.027945296838879585,
0.014437555335462093,
-0.006262690760195255,
-0.02531847357749939,
-0.0037729672621935606,
0.05640493333339691,
0.0015891523798927665,
-0.0172730665653944,
-0.008741137571632862,
-0.021351251751184464,
0.003688093740493059,
0.0045715984888374805,
-0.004289021249860525,
-0.011739764362573624,
-0.027290968224406242,
-0.04380121827125549,
-0.025023797526955605,
0.052267659455537796,
-0.06000149995088577,
-0.06307797878980637,
-0.009836530312895775,
0.02567560225725174,
0.015395339578390121,
0.026337111368775368,
-0.048858873546123505,
0.008494647219777107,
-0.04636507108807564,
-0.02889885939657688,
0.0011307243257761002,
0.003850294277071953,
0.015197237953543663,
0.053836602717638016,
0.030995886772871017,
-0.01923375017940998,
0.00670150201767683,
0.034919776022434235,
0.0648389458656311,
0.0012272463645786047,
-0.03341788798570633,
-0.00945870578289032,
-0.016863472759723663,
0.0028588012792170048,
0.007165084592998028,
-0.02017928846180439,
-0.026705540716648102,
-0.11070731282234192,
-0.013301334343850613,
0.00809884537011385,
-0.03164641559123993,
-0.008618001826107502,
0.0309889055788517,
-0.009741095826029778,
-0.020158350467681885,
0.007111683022230864,
0.016308000311255455,
0.046192314475774765,
-0.049891311675310135,
0.06385983526706696,
0.004147875122725964,
0.05010082572698593,
-0.05490691587328911,
-0.005000576842576265,
-0.02973994053900242,
-0.015268280170857906,
-0.023359233513474464,
0.07539387792348862,
0.016403941437602043,
0.0649028941988945,
0.07079102843999863,
-0.00030283877276815474,
-0.04350654408335686,
0.04082881286740303,
0.05233713611960411,
-0.0189194418489933,
-0.04538421705365181,
0.02211945317685604,
-0.013807813636958599,
-0.03049957938492298,
0.018317313864827156,
-0.02717900089919567,
0.0311883632093668,
0.05379762873053551,
0.004775857552886009,
-0.026717571541666985,
0.011887035332620144,
-0.0035460572689771652,
-0.04076766595244408,
-0.043153055012226105,
-0.04531296715140343,
0.026118142530322075,
-0.014505710452795029,
0.003723972477018833,
0.04266488179564476,
0.024288592860102654,
0.052224624902009964,
0.06113220378756523,
-0.009459742344915867,
-0.037433989346027374,
0.029185030609369278,
0.03087311051785946,
-0.056744661182165146,
-0.07178094238042831,
-0.03045831434428692,
0.044556230306625366,
0.04253767803311348,
-0.02035640925168991,
-0.10380750894546509,
0.008238113485276699,
0.04828275367617607,
-0.006153348833322525,
0.08411713689565659,
-0.03075486607849598,
0.017025986686348915,
0.058839939534664154,
-0.009990666061639786,
0.005300398916006088,
-0.024595005437731743,
0.000967166677583009,
0.022515201941132545,
0.0374758280813694,
-0.024231471121311188,
-0.06704605370759964,
-0.0540945865213871,
0.03880801051855087,
0.034635234624147415,
0.05484965071082115,
0.03441942483186722,
-0.02487778663635254,
-0.07499729841947556,
0.005606282502412796,
0.06384807825088501,
-0.05852660536766052,
0.006802923046052456,
0.019412772729992867,
0.03702624514698982,
-0.05726787447929382,
-0.029331007972359657,
-0.03476489707827568,
0.013284134678542614,
0.03484394773840904,
-0.0007585207931697369,
-0.012128308415412903,
-0.04741808399558067,
0.01927165687084198,
0.02200322411954403,
-0.015924854204058647,
-0.07530070841312408,
0.018770501017570496,
-0.002169092418625951,
-0.0052639939822256565,
0.05758167803287506,
0.031031878665089607,
0.0355609655380249,
0.06093287467956543,
0.005624785088002682,
0.038150884211063385,
-0.026280121877789497,
0.0262790247797966,
-0.0247641708701849,
0.0003050729865208268,
-0.01427429635077715,
-0.04449665918946266,
0.0007776913116686046,
-0.03637673705816269,
-0.051017701625823975,
-0.04558439180254936,
-0.023786665871739388,
0.02102062478661537,
-0.008302838541567326,
-0.008754256181418896,
-0.02136995829641819,
0.04738495498895645,
-0.022967379540205002,
-0.01201736368238926,
-0.04312915354967117,
-0.02517707273364067,
-0.05491909012198448,
-0.04664823040366173,
0.006477822549641132,
0.04154033213853836,
0.04395662993192673,
0.01347919087857008,
0.02485334500670433,
0.026544848456978798,
-0.012414679862558842,
-0.006000821013003588,
0.02644217014312744,
0.02674819901585579,
-0.029908934608101845,
-0.026135604828596115,
0.02796645276248455,
0.023246781900525093,
0.01766018383204937,
-0.02632899582386017,
0.039969488978385925,
0.03304366022348404,
-0.01978948526084423,
-0.012392858043313026,
0.019648034125566483,
0.01782430149614811,
-0.05838906764984131,
-0.0050700074061751366,
0.032850880175828934,
-0.05355261266231537,
0.02822457253932953,
-0.006119299679994583,
-0.017446469515562057,
0.008335954509675503,
0.045491673052310944,
0.037841711193323135,
-0.016278879716992378,
-0.03790777549147606,
0.022885477170348167,
-0.012731554917991161,
0.006095494143664837,
-0.042073726654052734,
0.028600718826055527,
-0.02529451809823513,
0.010887603275477886,
-0.00014039310917723924,
-0.015755074098706245,
-0.03397255763411522,
0.03620466962456703,
0.015457458794116974,
-0.013743639923632145,
-0.02261420153081417,
0.012577342800796032,
-0.04088177904486656,
0.05222763121128082,
-0.012666930444538593,
0.017378052696585655,
-0.044852837920188904,
0.040907979011535645,
-0.06452108919620514,
0.01051594689488411,
-0.029687823727726936,
0.01497865654528141,
-0.03346547484397888,
-0.039985451847314835,
-0.002486439887434244,
-0.03127290681004524,
0.03390863910317421,
0.050983745604753494,
0.01832105964422226,
0.03530839830636978,
-0.005150821525603533,
0.003220941871404648,
0.009284046478569508,
-0.060538846999406815,
-0.019780701026320457,
-0.047787636518478394,
-0.018102850764989853,
-0.02607686258852482,
0.0252760611474514,
0.05804440751671791,
-0.054128676652908325,
-0.038572389632463455,
0.06063596159219742,
0.020751848816871643,
0.014447075314819813,
0.020967334508895874,
0.028209585696458817,
0.025601811707019806,
0.054360970854759216,
-0.04200519248843193,
0.010334757156670094,
-0.012267458252608776,
-0.008778591640293598,
0.04212460294365883,
0.0038720336742699146,
0.03018755093216896,
-0.016669901087880135,
-0.03401966020464897,
-0.03136967867612839,
0.049543801695108414,
0.044973187148571014,
0.021364595741033554,
0.027079947292804718,
-0.041854847222566605,
0.019655968993902206,
-0.010444046929478645,
-0.03937987610697746,
0.014756041578948498,
0.0060570333153009415,
-0.03431727737188339,
0.08813474327325821,
-0.00809978786855936,
0.023960212245583534,
-0.001335067325271666,
0.022475866600871086,
0.005113866645842791,
0.042907554656267166,
-0.04571783170104027,
0.028270039707422256,
0.04995408654212952,
-0.03480605036020279,
-0.004251264501363039,
-0.03451457619667053,
0.05790610983967781,
-0.05700740963220596,
0.059462908655405045,
0.02059919573366642,
0.019052140414714813,
-0.008456923998892307,
-0.03425055742263794,
-0.0470426082611084,
0.029074914753437042,
-0.05151298642158508,
0.07635622471570969,
0.01826728880405426,
-0.06339792907238007,
0.07147862017154694,
0.011400659568607807,
-0.07443643361330032,
0.0789637342095375,
0.06190558150410652,
0.0293736532330513,
0.05044865235686302,
0.07302241027355194,
-0.036584366112947464,
-0.006768360268324614,
-0.05196221172809601,
-0.014294793829321861,
-0.04403185099363327,
0.013669160194694996,
0.012272326275706291,
-0.004561810288578272,
-0.009978746995329857,
0.0243239589035511,
-0.01074211671948433,
-0.006155307404696941,
0.003100946079939604,
-0.0819099098443985,
-0.03244423493742943,
-0.008538292720913887,
0.017122192308306694,
-0.0055703637190163136,
0.01950732059776783,
-0.02120242267847061,
0.023678405210375786,
0.007588385604321957,
-0.00645894231274724,
-0.018844250589609146,
0.0019612025935202837,
0.01600625552237034,
-0.07257796078920364,
-0.03134572505950928,
0.020545801147818565,
0.006777363363653421,
-0.01299489289522171,
0.06130284070968628,
0.01597561500966549,
0.04194601997733116,
0.005892092827707529,
-0.005645873956382275,
0.006423417944461107,
-0.04743334650993347,
0.008673038333654404,
-0.010654955171048641,
0.036770857870578766,
0.0344952829182148,
-0.03138988837599754,
0.029601460322737694,
0.01658445969223976,
0.013297319412231445,
-0.007243423722684383,
-0.032286033034324646,
-0.03108956292271614,
0.035401202738285065,
-0.032454714179039,
0.03877769410610199,
0.013477016240358353,
-0.02864839881658554,
-0.030120860785245895,
-0.007890891283750534,
-0.008564315736293793,
0.026014672592282295,
-0.05827103927731514,
0.012277149595320225,
0.0193604938685894,
-0.005951954051852226,
-0.026216501370072365,
-0.0496588833630085,
-0.030343733727931976,
-0.05112197622656822,
0.05544928088784218,
0.015420481562614441,
-0.05098922550678253,
0.009603803046047688,
-0.04799119383096695,
-0.042923346161842346,
0.029658567160367966,
0.017949450761079788,
-0.015152323991060257,
0.053450170904397964,
0.055929869413375854,
-0.03825535252690315,
0.027036700397729874,
-0.0018272254383191466,
-0.040534857660532,
0.026435546576976776,
0.014827595092356205,
0.008229733444750309,
0.027272609993815422,
0.02131836488842964,
0.0031059524044394493,
-0.010796509683132172,
-0.04154028370976448,
-0.031283505260944366,
-0.006834992673248053,
0.001053161104209721,
0.0558689683675766
] |
Brinah/1 | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | null | ---
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- feature-extraction
- sentence-similarity
- transformers
- ko
---
# ddobokki/klue-roberta-small-nli-sts
νκ΅μ΄ Sentence Transformer λͺ¨λΈμ
λλ€.
<!--- Describe your model here -->
## Usage (Sentence-Transformers)
[sentence-transformers](https://www.SBERT.net) λΌμ΄λΈλ¬λ¦¬λ₯Ό μ΄μ©ν΄ μ¬μ©ν μ μμ΅λλ€.
```
pip install -U sentence-transformers
```
μ¬μ©λ²
```python
from sentence_transformers import SentenceTransformer
sentences = ["νλ₯΄λ κ°λ¬Όμ κ±°κΎΈλ‘ κ±°μ¬λ¬ μ€λ₯΄λ", "μΈμμ΄ κ°λ©΄ κ°μ΄μ΄ ν°μ§ λ―ν"]
model = SentenceTransformer('ddobokki/klue-roberta-small-nli-sts')
embeddings = model.encode(sentences)
print(embeddings)
```
## Usage (HuggingFace Transformers)
transformers λΌμ΄λΈλ¬λ¦¬λ§ μ¬μ©ν κ²½μ°
```python
from transformers import AutoTokenizer, AutoModel
import torch
#Mean Pooling - Take attention mask into account for correct averaging
def mean_pooling(model_output, attention_mask):
token_embeddings = model_output[0] #First element of model_output contains all token embeddings
input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float()
return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9)
# Sentences we want sentence embeddings for
sentences = ["νλ₯΄λ κ°λ¬Όμ κ±°κΎΈλ‘ κ±°μ¬λ¬ μ€λ₯΄λ", "μΈμμ΄ κ°λ©΄ κ°μ΄μ΄ ν°μ§ λ―ν"]
# Load model from HuggingFace Hub
tokenizer = AutoTokenizer.from_pretrained('ddobokki/klue-roberta-small-nli-sts')
model = AutoModel.from_pretrained('ddobokki/klue-roberta-small-nli-sts')
# Tokenize sentences
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
# Compute token embeddings
with torch.no_grad():
model_output = model(**encoded_input)
# Perform pooling. In this case, mean pooling.
sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
print("Sentence embeddings:")
print(sentence_embeddings)
```
## Performance
- Semantic Textual Similarity test set results <br>
| Model | Cosine Pearson | Cosine Spearman | Euclidean Pearson | Euclidean Spearman | Manhattan Pearson | Manhattan Spearman | Dot Pearson | Dot Spearman |
|------------------------|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|
| KoSRoBERTa<sup>small</sup> | 84.27 | 84.17 | 83.33 | 83.65 | 83.34 | 83.65 | 82.10 | 81.38 |
## Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, '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})
)
```
## Citing & Authors
<!--- Describe where people can find more information --> | [
-0.026125481352210045,
-0.017141735181212425,
-0.002634568838402629,
0.0482490174472332,
0.01292825024574995,
0.03329665586352348,
-0.017446482554078102,
-0.009066592901945114,
-0.07173775881528854,
0.08103568851947784,
0.029605070129036903,
0.004345336463302374,
-0.002832489088177681,
0.04151101037859917,
-0.028584953397512436,
-0.03197266906499863,
-0.023362159729003906,
-0.01755664497613907,
-0.044284723699092865,
-0.028329184278845787,
0.007158184424042702,
-0.005610915366560221,
0.003605801844969392,
0.03492306172847748,
0.009285146370530128,
0.016157489269971848,
-0.024872880429029465,
0.010005921125411987,
0.026295607909560204,
-0.061120856553316116,
0.009795794263482094,
-0.028229612857103348,
-0.04632207751274109,
-0.008501358330249786,
-0.02318594418466091,
0.01979312114417553,
0.0032271179370582104,
-0.010825608856976032,
0.014058251865208149,
0.05164148658514023,
-0.002742288401350379,
0.010148952715098858,
-0.03276284411549568,
-0.015220243483781815,
0.04710908234119415,
0.009055249392986298,
-0.04174896702170372,
-0.0270904079079628,
0.04256509989500046,
-0.034708451479673386,
-0.039990682154893875,
-0.07137997448444366,
-0.019224263727664948,
0.02251405082643032,
-0.02554643526673317,
-0.0171748585999012,
-0.06415876001119614,
-0.03222048282623291,
0.06041799485683441,
-0.060476288199424744,
-0.03615828976035118,
0.020306378602981567,
-0.06374547630548477,
0.019073016941547394,
0.010935022495687008,
-0.02096879854798317,
0.006205968093127012,
-0.04168781265616417,
0.011736004613339901,
-0.0408029779791832,
0.05360035225749016,
-0.032376281917095184,
0.020225485786795616,
-0.07625328749418259,
0.009108779020607471,
-0.022470274940133095,
0.026747187599539757,
0.016921373084187508,
-0.013442213647067547,
0.05070611461997032,
0.01972355879843235,
-0.013562136329710484,
0.02407090738415718,
0.0009414359810762107,
-0.006623069290071726,
0.052176956087350845,
-0.04548654705286026,
0.014349415898323059,
-0.014666127972304821,
0.048442184925079346,
-0.04547271132469177,
-0.03795000538229942,
-0.00843967404216528,
-0.051398053765296936,
-0.03266727924346924,
0.01113440003246069,
0.03685472905635834,
-0.0008014863706193864,
0.033917561173439026,
0.021095065400004387,
0.029050108045339584,
0.04291258379817009,
-0.01957515999674797,
0.06102268025279045,
-0.02279702015221119,
-0.0071020834147930145,
-0.011956335976719856,
-0.03160828351974487,
-0.03739432618021965,
0.017763840034604073,
0.02231273241341114,
-0.02504069358110428,
-0.05670176073908806,
0.02857661060988903,
0.0341440849006176,
-0.03391435742378235,
0.05898270010948181,
-0.02674192376434803,
-0.0189057569950819,
-0.03801174461841583,
0.06064165383577347,
-0.008716568350791931,
0.0018729568691924214,
-0.002713934751227498,
-0.05646529048681259,
0.014559914357960224,
-0.03232909366488457,
-0.0344642698764801,
0.004060735926032066,
0.028668321669101715,
0.001044677454046905,
0.020967433229088783,
0.006155065726488829,
-0.033662229776382446,
0.016228705644607544,
0.01780831627547741,
-0.06720688194036484,
0.04582444578409195,
0.0425817146897316,
0.10487298667430878,
-0.05553598701953888,
-0.06374631822109222,
0.0110466992482543,
0.034386444836854935,
-0.03228132426738739,
-0.004788841120898724,
0.014268546365201473,
-0.050559356808662415,
-0.02517646923661232,
-0.010531014762818813,
0.04949718341231346,
-0.0436893068253994,
0.010157945565879345,
0.031017370522022247,
-0.006075986661016941,
0.04687916859984398,
-0.04421481117606163,
-0.013266859576106071,
0.009340282529592514,
0.00838049128651619,
-0.03669269382953644,
0.03635735437273979,
0.0004517066990956664,
-0.01867242343723774,
-0.02143753506243229,
-0.032602302730083466,
0.0015970246167853475,
0.06704118102788925,
-0.03578735515475273,
-0.02222956344485283,
-0.0396149605512619,
0.03018876351416111,
0.018724802881479263,
0.035982243716716766,
-0.03225303441286087,
0.016399720683693886,
0.07364986836910248,
0.03986670449376106,
-0.01569252647459507,
0.049631427973508835,
0.018789200112223625,
-0.024031294509768486,
-0.016428986564278603,
-0.006274105049669743,
-0.002287663286551833,
-0.012355939485132694,
0.033721525222063065,
0.03923940658569336,
-0.012649116106331348,
-0.021197592839598656,
0.0014905674615874887,
0.03862999752163887,
0.0010315622203052044,
0.014796391129493713,
-0.030434835702180862,
-0.02378585748374462,
-0.005358709488064051,
0.03404876962304115,
-0.013390712440013885,
-0.005345986690372229,
-0.029360264539718628,
-0.04024120420217514,
0.014185367152094841,
0.04428382217884064,
0.033530399203300476,
0.03220520168542862,
-0.013356760144233704,
0.08002956956624985,
-0.039046041667461395,
0.01581963151693344,
-0.059049006551504135,
-0.036107853055000305,
-0.012043124996125698,
0.007344016805291176,
0.03622344508767128,
0.04640240967273712,
0.033161986619234085,
-0.0322081632912159,
0.023329392075538635,
0.05195504426956177,
0.032573338598012924,
0.027330337092280388,
-0.038045547902584076,
-0.019647816196084023,
0.010746423155069351,
0.07316485792398453,
-0.05403544753789902,
-0.017836855724453926,
0.02076203003525734,
0.04181644693017006,
-0.012329533696174622,
0.013682331889867783,
-0.017069784924387932,
0.00710049644112587,
-0.046617232263088226,
-0.04682217910885811,
0.034930579364299774,
0.035945650190114975,
-0.00015420839190483093,
0.03277573361992836,
-0.001555035705678165,
-0.006485620513558388,
0.033255141228437424,
-0.007238991558551788,
-0.005126879550516605,
-0.055959753692150116,
-0.008168796077370644,
0.029861008748412132,
0.07126092910766602,
-0.02976800873875618,
0.02994374930858612,
0.010623227804899216,
0.024514062330126762,
0.04343343898653984,
-0.023392921313643456,
0.013606088235974312,
0.06020049378275871,
0.004559366498142481,
-0.02438160963356495,
0.04024307429790497,
0.008612305857241154,
0.047070860862731934,
0.06275730580091476,
-0.004889156203716993,
0.06287473440170288,
0.011259902268648148,
0.04130987450480461,
0.08516702055931091,
0.012529737316071987,
0.011888579465448856,
0.05025501921772957,
0.08443023264408112,
0.004220000002533197,
-0.007073316257447004,
0.07289216667413712,
-0.0393315888941288,
0.034482646733522415,
-0.03660222887992859,
0.0398433655500412,
-0.024835607036948204,
-0.02652701921761036,
0.0316326878964901,
0.007964719086885452,
-0.002226894488558173,
0.0010787786450237036,
-0.01367959938943386,
-0.009829756803810596,
0.05624992027878761,
-0.02634591795504093,
0.0018635980086401105,
0.015198657289147377,
-0.03264566883444786,
0.017888857051730156,
-0.10718819499015808,
-0.05952262133359909,
0.013580701313912868,
-0.01746458001434803,
-0.0010033450089395046,
-0.09181168675422668,
-0.04838975891470909,
-0.05927811190485954,
-0.03480354696512222,
0.035435035824775696,
0.026199452579021454,
0.023729462176561356,
-0.04709688946604729,
0.029269833117723465,
-0.055570088326931,
-0.022241314873099327,
-0.06838127225637436,
-0.02958012744784355,
-0.028278784826397896,
-0.058442939072847366,
0.0274333693087101,
0.013875885866582394,
0.033092278987169266,
0.0009396838140673935,
-0.017403753474354744,
-0.04320914298295975,
-0.019611245021224022,
0.04557584226131439,
0.0034257080405950546,
0.0007487715338356793,
-0.04182415455579758,
0.022159438580274582,
0.004242230206727982,
-0.009342777542769909,
-0.024765800684690475,
-0.017580730840563774,
0.08365866541862488,
0.06016765534877777,
0.02019622176885605,
0.022697392851114273,
-0.01764877513051033,
-0.05403749644756317,
-0.030986079946160316,
-0.03117218427360058,
-0.05263659730553627,
-0.026125850155949593,
-0.02907356061041355,
-0.06855124980211258,
-0.004574366845190525,
-0.038456425070762634,
-0.026906639337539673,
0.002812798134982586,
0.025446133688092232,
0.045728687196969986,
0.04913601651787758,
0.04652199149131775,
0.025977039709687233,
-0.02660030871629715,
-0.02354026958346367,
0.09350354224443436,
-0.009412827901542187,
0.0033618113957345486,
-0.08716743439435959,
-0.03956525772809982,
0.03515814244747162,
0.013999572023749352,
0.0030269550625234842,
-0.03931994363665581,
0.08038665354251862,
0.0056089675053954124,
-0.015463502146303654,
0.018194999545812607,
0.010780350305140018,
-0.021970463916659355,
-0.0009709183359518647,
-0.012678973376750946,
-0.012471456080675125,
-0.046315696090459824,
-0.02911035530269146,
-0.025669477880001068,
0.03817392513155937,
-0.06180376186966896,
-0.06904365122318268,
-0.02583310753107071,
0.04808247089385986,
0.04464644566178322,
0.00703625800088048,
-0.04659087210893631,
-0.009208518080413342,
-0.04548568278551102,
-0.039201315492391586,
0.017443997785449028,
-0.005248241126537323,
0.02001562900841236,
0.04996775463223457,
0.010607087053358555,
-0.031109660863876343,
0.012843337841331959,
0.04011866822838783,
0.04587845876812935,
0.022046614438295364,
-0.03176996111869812,
0.01683773845434189,
-0.028221027925610542,
0.02996653877198696,
0.015290850773453712,
-0.03226207196712494,
-0.06245050206780434,
-0.09764446318149567,
-0.0034926270600408316,
0.01806035079061985,
-0.04239849001169205,
0.017438979819417,
0.034881919622421265,
-0.025906050577759743,
-0.032704975455999374,
0.030581394210457802,
0.020273379981517792,
0.05619735270738602,
-0.043472252786159515,
0.04091809689998627,
0.0014476249925792217,
0.0280560664832592,
-0.037733230739831924,
0.005039993207901716,
-0.015007381327450275,
-0.024125998839735985,
0.013272283598780632,
0.06047779694199562,
0.044357866048812866,
0.04376794397830963,
0.06081252172589302,
0.033346083015203476,
-0.024129750207066536,
0.054816920310258865,
0.05103754252195358,
-0.00822463445365429,
-0.06518454104661942,
0.004861915949732065,
-0.002211817540228367,
-0.02829521708190441,
-0.006328146439045668,
-0.02544802986085415,
0.023360220715403557,
0.038225412368774414,
0.0272425077855587,
-0.013445112854242325,
0.0044042570516467094,
-0.025449620559811592,
-0.03392187878489494,
-0.07888485491275787,
-0.002977730706334114,
0.0020536002703011036,
-0.0397380068898201,
0.025648051872849464,
0.04135194048285484,
0.012698586098849773,
0.027552226558327675,
0.04558386281132698,
-0.00364593043923378,
-0.06353620439767838,
0.05362076684832573,
0.03446395695209503,
-0.07016153633594513,
-0.07358849793672562,
-0.048205580562353134,
0.030446603894233704,
0.04995924234390259,
-0.016535907983779907,
-0.0885552391409874,
0.01057850569486618,
0.06577808409929276,
-0.03566120192408562,
0.06922034174203873,
-0.008369163610041142,
0.048539213836193085,
0.06965173780918121,
-0.014195387251675129,
0.015101652592420578,
-0.026789363473653793,
0.013414474204182625,
0.013913075439631939,
0.053260575979948044,
-0.03151939809322357,
-0.04696408286690712,
-0.04373226314783096,
0.020557358860969543,
0.02873929962515831,
0.05062541365623474,
0.06341768801212311,
-0.025669250637292862,
-0.09471779316663742,
0.009429474361240864,
0.036427177488803864,
-0.046673938632011414,
0.0035491990856826305,
0.018838904798030853,
0.050687018781900406,
-0.05727562680840492,
-0.02872495912015438,
-0.0302040446549654,
0.00019511286518536508,
0.022433489561080933,
0.013034041039645672,
-0.02955944836139679,
-0.03774397447705269,
0.013070610351860523,
-0.008706700056791306,
-0.013038289733231068,
-0.08388456702232361,
0.031951889395713806,
-0.008487056009471416,
-0.013132736086845398,
0.06158677861094475,
0.040083419531583786,
0.05789431929588318,
0.029242591932415962,
-0.020579079166054726,
0.02011067420244217,
-0.05061158165335655,
0.03234538063406944,
-0.026422344148159027,
-0.01804438978433609,
-0.01299707219004631,
-0.0764940083026886,
-0.006639437284320593,
-0.02648308128118515,
-0.05435526743531227,
-0.04414810240268707,
-0.03430861607193947,
0.00012144371430622414,
-0.017206205055117607,
0.0221959687769413,
0.005093838088214397,
0.019441409036517143,
-0.04476600140333176,
-0.018096700310707092,
-0.024484796449542046,
-0.03780614584684372,
-0.05786236748099327,
-0.03933294117450714,
-0.005919402465224266,
0.0069648949429392815,
0.03268690034747124,
0.0005628641229122877,
-0.008970409631729126,
0.02239845134317875,
0.013520026579499245,
-0.023724166676402092,
0.018830345943570137,
0.01091748382896185,
-0.058221351355314255,
-0.031146591529250145,
0.00016559605137445033,
0.005560549441725016,
0.038110777735710144,
-0.03627403452992439,
0.020818093791604042,
0.035879865288734436,
-0.03474564850330353,
-0.03773783519864082,
0.007206574082374573,
0.007902155630290508,
-0.07112637162208557,
-0.025658436119556427,
-0.01473330520093441,
-0.04291126877069473,
0.0008947966271080077,
-0.002110208384692669,
-0.0015317559009417892,
0.004378532990813255,
0.018272412940859795,
0.02009713277220726,
-0.012472307309508324,
-0.019883571192622185,
0.026471342891454697,
-0.023251093924045563,
0.023957164958119392,
-0.08404070883989334,
0.029768390581011772,
-0.03241958096623421,
0.02127588540315628,
-0.01591373048722744,
-0.007242591120302677,
-0.038602929562330246,
0.05127010866999626,
-0.0020832139998674393,
-0.027132682502269745,
-0.004735567141324282,
-0.0053523085080087185,
-0.057620082050561905,
0.054080091416835785,
0.0065439497120678425,
0.02352767251431942,
-0.025990542024374008,
0.05165325850248337,
-0.03851472958922386,
0.000939495163038373,
-0.007386603858321905,
0.006196132395416498,
-0.020416265353560448,
-0.011803414672613144,
-0.025480931624770164,
-0.027192246168851852,
0.03095238469541073,
0.03353337198495865,
0.024746553972363472,
0.0281065646559,
-0.02499954216182232,
0.01674533821642399,
0.00141446094494313,
-0.06978581100702286,
-0.037425361573696136,
-0.02900276705622673,
0.01156009454280138,
-0.0007155536441132426,
0.06915339827537537,
0.058785177767276764,
-0.03305020555853844,
-0.04876977577805519,
0.0367894247174263,
0.019502535462379456,
0.011108164675533772,
0.005584516562521458,
0.030574558302760124,
0.04267910495400429,
0.042302295565605164,
-0.054673828184604645,
0.0021116663701832294,
-0.005611928645521402,
-0.02036965824663639,
0.013202489353716373,
0.0027661083731800318,
0.02262904681265354,
-0.03751617670059204,
-0.035042036324739456,
-0.03981217369437218,
0.0753903016448021,
0.036414336413145065,
0.03794858232140541,
0.006573427002876997,
-0.04453885555267334,
0.0280813779681921,
0.020639412105083466,
-0.057588692754507065,
-0.010550135746598244,
0.029567210003733635,
-0.023528538644313812,
0.06755781918764114,
0.006806846708059311,
0.01356242224574089,
0.04383275657892227,
0.01018509827554226,
-0.02826615422964096,
0.045438893139362335,
-0.03477499261498451,
0.02393418177962303,
0.05786997824907303,
-0.05157286301255226,
-0.017502281814813614,
-0.03897925466299057,
0.04486493021249771,
-0.0612930990755558,
0.07394357025623322,
0.03714242950081825,
0.021466223523020744,
0.03519906848669052,
-0.03362512215971947,
-0.05443202704191208,
0.03742292523384094,
-0.051300518214702606,
0.07553838193416595,
0.005461491644382477,
-0.05684766173362732,
0.07109633833169937,
0.012005173601210117,
-0.0863432064652443,
0.05499069765210152,
0.027313169091939926,
0.016662804409861565,
0.025439076125621796,
0.05520109832286835,
-0.04983821138739586,
0.01124496478587389,
-0.026529021561145782,
0.04392624646425247,
-0.07180321216583252,
-0.006004372611641884,
0.007929627783596516,
-0.031926460564136505,
-0.023245466873049736,
0.04381626471877098,
-0.023705579340457916,
0.004158805124461651,
0.012100312858819962,
-0.07328251749277115,
-0.0391986146569252,
-0.003892006818205118,
0.01171805802732706,
0.012109341099858284,
0.02576792798936367,
-0.01620863564312458,
0.001791638322174549,
0.026504114270210266,
-0.012823518365621567,
-0.04500303789973259,
0.010608207434415817,
0.023127514868974686,
-0.06334476172924042,
-0.027519751340150833,
0.002148304833099246,
0.0025793241802603006,
-0.02451751008629799,
0.03557804971933365,
-0.0012157525634393096,
0.04812191426753998,
0.00791900884360075,
0.007229987066239119,
0.005699127446860075,
-0.0385236032307148,
0.008006349205970764,
0.029771752655506134,
0.012669064104557037,
0.01913772150874138,
-0.011129304766654968,
0.027446696534752846,
0.0432092547416687,
0.017931165173649788,
0.006404499989002943,
-0.032151225954294205,
-0.031764380633831024,
0.02972128614783287,
-0.05725671723484993,
0.029996957629919052,
0.013955685310065746,
-0.031833335757255554,
-0.038331739604473114,
-0.014879945665597916,
-0.004756921902298927,
0.06354900449514389,
-0.025660956278443336,
0.011650791391730309,
0.039844781160354614,
-0.019543137401342392,
-0.03592846915125847,
-0.0753481313586235,
-0.02631559781730175,
-0.029617909342050552,
0.0400158166885376,
0.025265097618103027,
-0.038290806114673615,
-0.010748392902314663,
-0.04048490151762962,
-0.029306715354323387,
0.04984306916594505,
0.025691041722893715,
-0.018549634143710136,
0.059589650481939316,
0.020498313009738922,
-0.032608430832624435,
0.004911849275231361,
0.013185180723667145,
-0.04043656960129738,
0.015152537263929844,
0.01580861024558544,
0.008508767001330853,
0.04751668497920036,
0.02471453882753849,
-0.0196844395250082,
-0.011514024809002876,
-0.04950322210788727,
-0.022103868424892426,
-0.03642585501074791,
-0.02404353953897953,
0.06997650861740112
] |
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 | ## EXAMPLE
```python
import requests
import torch
from PIL import Image
from transformers import (
VisionEncoderDecoderModel,
ViTFeatureExtractor,
PreTrainedTokenizerFast,
)
# device setting
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
# load feature extractor and tokenizer
encoder_model_name_or_path = "ddobokki/vision-encoder-decoder-vit-gpt2-coco-ko"
feature_extractor = ViTFeatureExtractor.from_pretrained(encoder_model_name_or_path)
tokenizer = PreTrainedTokenizerFast.from_pretrained(encoder_model_name_or_path)
# load model
model = VisionEncoderDecoderModel.from_pretrained(encoder_model_name_or_path)
model.to(device)
# inference
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
with Image.open(requests.get(url, stream=True).raw) as img:
pixel_values = feature_extractor(images=img, return_tensors="pt").pixel_values
generated_ids = model.generate(pixel_values.to(device),num_beams=5)
generated_text = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
>> ['κ³ μμ΄ λλ§λ¦¬κ° λ΄μ μμ λμ μλ€.']
```
| [
-0.006372268311679363,
-0.05052415281534195,
-0.0007080382783897221,
0.04626085236668587,
0.041191957890987396,
0.005134835839271545,
-0.009425582364201546,
-0.01057460531592369,
-0.0176452174782753,
0.059690915048122406,
0.026299014687538147,
0.0058334339410066605,
-0.0009329995955340564,
0.042518120259046555,
-0.0140296071767807,
-0.07681920379400253,
-0.016288621351122856,
0.005246403161436319,
-0.04858073964715004,
-0.018358547240495682,
0.024237358942627907,
0.004663657862693071,
0.01739972084760666,
0.011077539063990116,
-0.017080368474125862,
-0.00620292080566287,
0.02961319126188755,
0.009381679818034172,
0.01995844952762127,
-0.09452511370182037,
-0.035480838268995285,
-0.040563344955444336,
-0.05133964121341705,
-0.012313433922827244,
-0.00859527476131916,
-0.0036345322150737047,
-0.02115040458738804,
0.006622048560529947,
-0.006379600148648024,
0.07543943077325821,
0.000517789158038795,
0.008964663371443748,
-0.02381482906639576,
-0.02729378081858158,
0.04332474619150162,
-0.005299856886267662,
-0.028396401554346085,
-0.008771744556725025,
0.033395107835531235,
-0.004369407892227173,
-0.06611727178096771,
-0.09183322638273239,
-0.03184598684310913,
0.007837102748453617,
-0.04366108030080795,
-0.031307004392147064,
-0.03701227530837059,
-0.03740488365292549,
0.0651334896683693,
-0.05202101916074753,
-0.044005781412124634,
0.03177245333790779,
-0.07385994493961334,
0.01688970997929573,
0.009139897301793098,
0.007641873322427273,
0.00012665487884078175,
-0.043815407902002335,
0.0047286562621593475,
-0.01829790696501732,
0.05760090798139572,
-0.05431392416357994,
0.010904952883720398,
-0.09783262014389038,
-0.0007763405446894467,
-0.029814066365361214,
0.02243787795305252,
0.013534159399569035,
-0.02901671640574932,
0.038860809057950974,
0.0360688716173172,
-0.00710439495742321,
0.016712604090571404,
-0.02714715711772442,
-0.01708478108048439,
0.029633402824401855,
-0.014121398329734802,
0.04399031028151512,
0.03354659676551819,
0.05427774414420128,
-0.047310251742601395,
-0.035906195640563965,
-0.02486443892121315,
-0.02594827674329281,
-0.018233945593237877,
0.02230430394411087,
0.03840740770101547,
0.01933523453772068,
0.007391246967017651,
0.002544156275689602,
0.04071886092424393,
0.047680795192718506,
0.005701874848455191,
0.06956464052200317,
-0.014247484505176544,
-0.004666891414672136,
-0.03928559273481369,
-0.06259512901306152,
-0.028968580067157745,
0.005975652020424604,
0.06887079030275345,
0.010808689519762993,
-0.029324358329176903,
0.052913133054971695,
-0.010247528553009033,
0.0002658874145708978,
0.03361181169748306,
-0.03494473546743393,
-0.029474766924977303,
-0.04227783903479576,
0.04716147854924202,
0.01680799573659897,
0.009891858324408531,
0.009973732754588127,
-0.030476687476038933,
0.01836853288114071,
-0.02853892371058464,
-0.019738540053367615,
0.00024332896282430738,
0.05652641877532005,
0.005925631616264582,
0.02814815379679203,
0.0419483408331871,
-0.047416768968105316,
0.00988481193780899,
0.017193572595715523,
-0.05608253553509712,
0.05492018908262253,
0.009734190069139004,
0.09140811115503311,
-0.07400146871805191,
-0.06918251514434814,
0.03100138157606125,
0.035806212574243546,
-0.026795772835612297,
-0.008833460509777069,
-0.006691677030175924,
-0.05065924674272537,
-0.05341435596346855,
-0.0069911363534629345,
0.06179512292146683,
-0.0595698319375515,
-0.020802084356546402,
0.027506301179528236,
0.001972830854356289,
0.04271432012319565,
-0.037736114114522934,
-0.024149736389517784,
0.00200765673071146,
0.004423136822879314,
-0.014414485543966293,
0.05749782919883728,
-0.003245283616706729,
0.0018846660386770964,
-0.03156670928001404,
-0.042241789400577545,
-0.023671360686421394,
0.08513510227203369,
-0.03422348573803902,
-0.005953459069132805,
-0.014966931194067001,
0.039766762405633926,
0.022854549810290337,
0.042908601462841034,
0.00624509435147047,
0.050032179802656174,
0.06376317888498306,
0.04050952568650246,
-0.030550850555300713,
0.05845292657613754,
0.056791771203279495,
-0.03586866334080696,
-0.010094103403389454,
0.012460852973163128,
-0.014381072483956814,
-0.016358397901058197,
0.024449514225125313,
0.01926421746611595,
-0.010712736286222935,
-0.034733373671770096,
0.018305543810129166,
0.05645785480737686,
0.010568949393928051,
0.014749960042536259,
-0.023408308625221252,
-0.023220043629407883,
-0.011153814382851124,
0.04285368695855141,
0.010388515889644623,
-0.0038881583604961634,
-0.0031371423974633217,
-0.03898715227842331,
-0.0249300766736269,
0.01845795102417469,
0.027633102610707283,
0.025501331314444542,
-0.0023160730488598347,
0.09234428405761719,
-0.029321281239390373,
-0.0007681125425733626,
-0.06703240424394608,
-0.057138703763484955,
0.005432183388620615,
0.03137871250510216,
0.03262194246053696,
0.035915620625019073,
0.025793375447392464,
-0.012310932390391827,
0.00716335279867053,
0.04850219190120697,
0.050325147807598114,
0.013314702548086643,
-0.02552669122815132,
-0.0012573751155287027,
0.03503686189651489,
0.06536859273910522,
-0.03168121352791786,
-0.03632298856973648,
0.03709150105714798,
0.013787893578410149,
-0.0051801144145429134,
0.014769555069506168,
-0.01798071525990963,
0.02300533652305603,
-0.04906604066491127,
-0.07426270097494125,
0.036689192056655884,
0.04816014692187309,
0.012933017686009407,
0.040025580674409866,
0.011060548014938831,
0.006556798703968525,
0.022330209612846375,
0.023405099287629128,
0.014779520221054554,
-0.020377492532134056,
0.020068122074007988,
0.022135263308882713,
0.0363735631108284,
-0.054415274411439896,
0.030567580834031105,
-0.012820769101381302,
0.0032767951488494873,
0.057939764112234116,
-0.018625834956765175,
0.010776904411613941,
0.034903381019830704,
0.0008291333797387779,
-0.006944997236132622,
0.006973777431994677,
0.0067666564136743546,
-0.0012401067651808262,
0.045827172696590424,
0.013009745627641678,
0.05399000644683838,
-0.013374263420701027,
0.03746972978115082,
0.09350966662168503,
0.0035394274163991213,
0.0170304998755455,
0.025621024891734123,
0.0720452070236206,
-0.00529754301533103,
-0.028512975201010704,
0.06582555174827576,
-0.05628363415598869,
0.025207947939634323,
-0.02494187280535698,
0.012605780735611916,
-0.008449816145002842,
0.004574058577418327,
0.025756964460015297,
0.027614563703536987,
-0.0381796695291996,
0.0007785084308125079,
-0.0006198678747750819,
-0.010556629858911037,
0.03380519151687622,
-0.003482502419501543,
-0.018297046422958374,
0.0071668969467282295,
-0.028291914612054825,
0.01596864126622677,
-0.07839205116033554,
-0.049958162009716034,
-0.043885599821805954,
-0.02572653442621231,
-0.03109065443277359,
-0.08340734988451004,
-0.03201407939195633,
-0.0640723928809166,
-0.014563310891389847,
0.03978839889168739,
0.02344394475221634,
-0.004448763560503721,
-0.027078133076429367,
0.02621561475098133,
-0.06170826405286789,
-0.0305285956710577,
-0.037810854613780975,
-0.06332526355981827,
-0.04935328662395477,
-0.06886577606201172,
0.03518858179450035,
0.002166729187592864,
0.01543866191059351,
0.021509306505322456,
-0.0059235719963908195,
-0.025009024888277054,
-0.009855308569967747,
0.04101136699318886,
0.04802866652607918,
-0.012033022940158844,
-0.04891432076692581,
0.0287115927785635,
-0.03955888748168945,
0.006607661023736,
0.019914401695132256,
-0.004707756452262402,
0.08747395873069763,
0.09121658653020859,
0.01383979432284832,
0.014458965510129929,
-0.030713258311152458,
-0.049356039613485336,
-0.03474128991365433,
-0.019237693399190903,
-0.04160695895552635,
-0.028487475588917732,
-0.02230779267847538,
-0.056749358773231506,
-0.007864425890147686,
-0.032387249171733856,
-0.047623783349990845,
-0.006887226365506649,
0.013339494355022907,
0.052246540784835815,
0.05662880465388298,
0.04055136442184448,
0.04456614330410957,
-0.0592539981007576,
-0.05613558366894722,
0.046842336654663086,
-0.0005032614571973681,
0.01092577539384365,
-0.06314001232385635,
-0.014081662520766258,
0.0164706502109766,
0.011501690372824669,
-0.041550327092409134,
-0.03421887382864952,
0.07797855883836746,
-0.004150316584855318,
-0.03232836350798607,
-0.016841258853673935,
0.012494837865233421,
-0.010435380972921848,
0.003849953878670931,
-0.02665676549077034,
-0.019784269854426384,
-0.026335900649428368,
-0.0317210890352726,
-0.0036722482182085514,
0.05894673615694046,
-0.06843101978302002,
-0.10149887204170227,
-0.02440587989985943,
0.05427057296037674,
0.01859617605805397,
0.03362336754798889,
-0.07550542056560516,
0.013955558650195599,
-0.08753468841314316,
-0.022480180487036705,
0.035057876259088516,
-0.0045488448813557625,
0.012289930135011673,
0.050550103187561035,
0.009582250379025936,
-0.02824951894581318,
0.029238762333989143,
0.0378282330930233,
0.050691064447164536,
-0.02170081064105034,
-0.040391214191913605,
0.0024566405918449163,
-0.004849599674344063,
0.011488333344459534,
0.013295184820890427,
0.002707785228267312,
-0.040772393345832825,
-0.08073817193508148,
-0.017729341983795166,
0.01233137771487236,
-0.025410832837224007,
-0.009614494629204273,
0.053513649851083755,
0.008103977888822556,
-0.03956662863492966,
0.011253620497882366,
0.006011908408254385,
0.0669693723320961,
-0.06123417243361473,
0.07447126507759094,
-0.013204477727413177,
0.05090765282511711,
-0.05216175317764282,
0.02071397379040718,
-0.00417825672775507,
-0.019127555191516876,
-0.0023699032608419657,
0.0424024872481823,
0.026390140876173973,
0.04713325574994087,
0.062440745532512665,
0.0018074765102937818,
-0.02679339423775673,
0.0358477383852005,
0.032772764563560486,
-0.052482303231954575,
-0.05888105556368828,
0.00046085313078947365,
-0.026912616565823555,
-0.002733249682933092,
0.012366958893835545,
-0.00913259107619524,
0.02727777324616909,
0.03316532075405121,
-0.011151152662932873,
-0.017418956384062767,
-0.0015150625258684158,
-0.011872612871229649,
-0.02906380221247673,
-0.038077462464571,
-0.017492173239588737,
0.012816410511732101,
-0.0029353818390518427,
0.005857916548848152,
0.030314398929476738,
0.03319510072469711,
0.03873613104224205,
0.043673429638147354,
0.0032993610948324203,
-0.03438681736588478,
0.029559185728430748,
0.015287037007510662,
-0.04743171110749245,
-0.06073037534952164,
-0.024605169892311096,
0.0430946908891201,
0.02631847746670246,
-0.04044986143708229,
-0.08952084183692932,
0.02695630118250847,
0.044709086418151855,
-0.028833966702222824,
0.06753425300121307,
0.014283300377428532,
0.032576996833086014,
0.07359305769205093,
-0.014459011144936085,
0.01882844604551792,
-0.015240242704749107,
0.017096931114792824,
0.017365798354148865,
0.06316085904836655,
0.010503169149160385,
-0.04376530274748802,
-0.05749981477856636,
0.03457718715071678,
0.021304139867424965,
0.04269780218601227,
0.04628700390458107,
-0.01827024109661579,
-0.07881878316402435,
-0.002276514656841755,
0.03947015479207039,
-0.0362810380756855,
0.03465190529823303,
0.03317539021372795,
0.0241169985383749,
-0.0493832603096962,
-0.04020942747592926,
-0.011251233518123627,
-0.0024149823002517223,
0.015839090570807457,
-0.0012341761030256748,
-0.012479234486818314,
-0.042099349200725555,
0.0019860330503433943,
-0.00635106535628438,
-0.012998885475099087,
-0.05536709353327751,
0.032032936811447144,
-0.020959198474884033,
-0.01771358773112297,
0.05376245826482773,
0.024286674335598946,
0.03585341200232506,
0.04913089796900749,
0.02277402952313423,
0.010052815079689026,
-0.04206231236457825,
0.03754126653075218,
-0.045666664838790894,
-0.016169138252735138,
-0.034901637583971024,
-0.03793967142701149,
-0.0025650635361671448,
-0.021299684420228004,
-0.0691632628440857,
-0.03399861603975296,
-0.0360327884554863,
0.01978989690542221,
0.03872634470462799,
-0.013900654390454292,
0.0006922903121449053,
0.06005246564745903,
-0.017594192177057266,
-0.018605077639222145,
-0.03981196880340576,
-0.013814904727041721,
-0.06012194976210594,
-0.029322445392608643,
0.01269475743174553,
0.020646320655941963,
0.04847494885325432,
-0.014551681466400623,
0.011524442583322525,
0.02279198169708252,
0.032457418739795685,
0.0023016310296952724,
0.03905857726931572,
0.0310653168708086,
-0.029557297006249428,
-0.0062238434329628944,
0.031326618045568466,
0.026464398950338364,
0.03537239506840706,
-0.011660583317279816,
0.024812467396259308,
0.00704734493046999,
-0.009035298600792885,
-0.020189054310321808,
0.03217020630836487,
0.025672486051917076,
-0.056585680693387985,
-0.022538693621754646,
0.019216002896428108,
-0.05369308590888977,
0.01736557111144066,
0.011424443684518337,
-0.031430941075086594,
0.022350165992975235,
0.027451487258076668,
0.03734060376882553,
-0.01582000032067299,
-0.040190789848566055,
0.0277728158980608,
-0.01842409558594227,
0.015508019365370274,
-0.04733408987522125,
0.03206289932131767,
-0.021326344460248947,
-0.00989601295441389,
0.0018960231682285666,
-0.016877081245183945,
-0.02684057503938675,
0.04767221584916115,
-0.015573445707559586,
-0.007978563196957111,
-0.026365812867879868,
0.003457808867096901,
-0.01292506419122219,
0.040922969579696655,
-0.022537540644407272,
0.02163005992770195,
-0.04092204570770264,
0.04945451766252518,
-0.03696158528327942,
0.0068622613325715065,
-0.012608343735337257,
-0.003306722268462181,
-0.04232090339064598,
-0.019140973687171936,
-0.016626516357064247,
-0.03167728707194328,
0.03420687094330788,
0.048609938472509384,
0.030326878651976585,
0.013187406584620476,
-0.04586303234100342,
0.01762470044195652,
-0.0030973029788583517,
-0.05497027561068535,
-0.03559580817818642,
-0.028970154002308846,
-0.008338994346559048,
-0.002371345879510045,
0.030626330524683,
0.0647820308804512,
-0.0726875364780426,
-0.03095322847366333,
0.0630137026309967,
0.03164663165807724,
0.01676766760647297,
0.02719360962510109,
0.005233181640505791,
0.05753490701317787,
0.03183269873261452,
-0.035771045833826065,
0.01958244852721691,
-0.018763141706585884,
-0.029042024165391922,
0.041772425174713135,
-0.0027584717608988285,
0.035748451948165894,
0.01713882014155388,
-0.053755395114421844,
-0.006166449282318354,
0.06517639011144638,
0.05330239236354828,
0.028251901268959045,
0.009832235984504223,
-0.039683934301137924,
0.02852531522512436,
0.011924679391086102,
-0.059846241027116776,
0.007839103229343891,
0.002741266041994095,
-0.02739105373620987,
0.0960315465927124,
0.019260738044977188,
0.009937555529177189,
-0.00093597307568416,
0.02357844077050686,
-0.026301927864551544,
0.06055367365479469,
-0.03919621929526329,
0.04474719613790512,
0.061419494450092316,
-0.05224817618727684,
-0.008275357075035572,
-0.04926342889666557,
0.06088615953922272,
-0.08925843983888626,
0.05673915147781372,
0.012754731811583042,
-0.001648805453442037,
-0.021344175562262535,
-0.025694096460938454,
-0.05048505961894989,
0.05543079227209091,
-0.08661867678165436,
0.09107648581266403,
0.007088135927915573,
-0.04899000748991966,
0.0772504210472107,
0.014830219559371471,
-0.07842415571212769,
0.0541088841855526,
0.0665837898850441,
0.002845103619620204,
0.04320934787392616,
0.04074845835566521,
-0.050265997648239136,
0.01670870929956436,
-0.04913217946887016,
0.022396918386220932,
-0.0364474356174469,
-0.010877150110900402,
0.022295821458101273,
-0.022947896271944046,
-0.01573224738240242,
0.032169658690690994,
-0.00029480335069820285,
-0.016437597572803497,
0.016985950991511345,
-0.04976239055395126,
-0.017300503328442574,
-0.023217806592583656,
0.019648443907499313,
-0.0028576329350471497,
0.003880805801600218,
-0.004972928669303656,
0.018973734229803085,
-0.0035052956081926823,
0.0021320220548659563,
-0.018114812672138214,
-0.022390158846974373,
0.022517871111631393,
-0.07760928571224213,
-0.04223419353365898,
0.042103298008441925,
-0.007910756394267082,
-0.028940968215465546,
0.031712260097265244,
0.010104157961905003,
0.01912785694003105,
0.001679962151683867,
0.02186819352209568,
0.002274611499160528,
-0.03448082134127617,
-0.005322133656591177,
0.0004788597289007157,
0.024297183379530907,
0.0005000952514819801,
-0.01153256744146347,
0.05197378620505333,
0.030720092356204987,
0.007020864170044661,
0.017635058611631393,
-0.00908837839961052,
0.01087193749845028,
0.031215112656354904,
-0.04064654931426048,
0.020091192796826363,
0.008918726816773415,
-0.044122692197561264,
-0.04165153577923775,
0.001836929121054709,
0.0013547459384426475,
0.0415496826171875,
-0.05088983103632927,
0.025775793939828873,
0.03941745683550835,
-0.019115597009658813,
-0.04987567290663719,
-0.0791507139801979,
-0.012568661011755466,
-0.05223787575960159,
0.04269208014011383,
0.03930330276489258,
-0.05436217784881592,
0.00680147297680378,
-0.03653686121106148,
-0.048898473381996155,
0.027142763137817383,
0.019598787650465965,
-0.02635151892900467,
0.03241559490561485,
0.044149283319711685,
-0.01438969187438488,
0.03718341141939163,
0.004336883779615164,
-0.017173033207654953,
-0.004600335843861103,
0.007192637305706739,
-0.012336723506450653,
0.046439263969659805,
0.033748265355825424,
-0.0100107965990901,
-0.007349567953497171,
-0.045017629861831665,
-0.02739970199763775,
-0.01710658147931099,
0.006165919825434685,
0.054828010499477386
] |
Broadus20/DialoGPT-small-joshua | [
"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-09-06T07:02:56Z | ---
language: "kr"
thumbnail:
tags:
- ASR
- CTC
- Attention
- Conformer
- pytorch
- speechbrain
license: "apache-2.0"
datasets:
- ksponspeech
metrics:
- wer
- cer
---
<iframe src="https://ghbtns.com/github-btn.html?user=speechbrain&repo=speechbrain&type=star&count=true&size=large&v=2" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
<br/><br/>
# Conformer for KsponSpeech (with Transformer LM)
This repository provides all the necessary tools to perform automatic speech
recognition from an end-to-end system pretrained on KsponSpeech (Kr) within
SpeechBrain. For a better experience, we encourage you to learn more about
[SpeechBrain](https://speechbrain.github.io).
The performance of the model is the following:
| Release | eval clean CER | eval other CER | GPUs |
| :------: | :------------: | :------------: | :---------: |
| 01-23-23 | 7.33% | 7.99% | 6xA100 80GB |
## Pipeline description
This ASR system is composed of 3 different but linked blocks:
- Tokenizer (unigram) that transforms words into subword units and trained with
the train transcriptions of KsponSpeech.
- Neural language model (Transformer LM) trained on the train transcriptions of KsponSpeech
- Acoustic model made of a conformer encoder and a joint decoder with CTC +
transformer. Hence, the decoding also incorporates the CTC probabilities.
## Install SpeechBrain
First of all, please install SpeechBrain with the following command:
```
!pip install git+https://github.com/speechbrain/speechbrain.git
```
Please notice that we encourage you to read our tutorials and learn more about
[SpeechBrain](https://speechbrain.github.io).
### Transcribing your own audio files (in Korean)
```python
from speechbrain.pretrained import EncoderDecoderASR
asr_model = EncoderDecoderASR.from_hparams(source="ddwkim/asr-conformer-transformerlm-ksponspeech", savedir="pretrained_models/asr-conformer-transformerlm-ksponspeech", run_opts={"device":"cuda"})
asr_model.transcribe_file("ddwkim/asr-conformer-transformerlm-ksponspeech/record_0_16k.wav")
```
### Inference on GPU
To perform inference on the GPU, add `run_opts={"device":"cuda"}` when calling the `from_hparams` method.
## Parallel Inference on a Batch
Please, [see this Colab notebook](https://colab.research.google.com/drive/1finp9pfmGRzWHCAPNkqAH2yGH6k_BbPA?usp=sharing) on using the pretrained model
### Training
The model was trained with SpeechBrain (Commit hash: 'c762107').
To train it from scratch follow these steps:
1. Clone SpeechBrain:
```bash
git clone https://github.com/speechbrain/speechbrain/
```
2. Install it:
```bash
cd speechbrain
pip install -r requirements.txt
pip install .
```
3. Run Training:
```bash
cd recipes/KsponSpeech/ASR/transformer
python train.py hparams/conformer_medium.yaml --data_folder=your_data_folder
```
You can find our training results (models, logs, etc) at the subdirectories.
### Limitations
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
# **About SpeechBrain**
- Website: https://speechbrain.github.io/
- Code: https://github.com/speechbrain/speechbrain/
- HuggingFace: https://huggingface.co/speechbrain/
# **Citing SpeechBrain**
Please, cite SpeechBrain if you use it for your research or business.
```bibtex
@misc{speechbrain,
title={{SpeechBrain}: A General-Purpose Speech Toolkit},
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and FranΓ§ois Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
year={2021},
eprint={2106.04624},
archivePrefix={arXiv},
primaryClass={eess.AS},
note={arXiv:2106.04624}
}
```
# Citing the model
```bibtex
@misc{returnzero,
title = {ReturnZero Conformer Korean ASR model},
author = {Dongwon Kim and Dongwoo Kim and Jeongkyu Roh},
year = {2021},
howpublished = {\url{https://huggingface.co/ddwkim/asr-conformer-transformerlm-ksponspeech}},
}
```
# Citing KsponSpeech dataset
```bibtex
@Article{app10196936,
AUTHOR = {Bang, Jeong-Uk and Yun, Seung and Kim, Seung-Hi and Choi, Mu-Yeol and Lee, Min-Kyu and Kim, Yeo-Jeong and Kim, Dong-Hyun and Park, Jun and Lee, Young-Jik and Kim, Sang-Hun},
TITLE = {KsponSpeech: Korean Spontaneous Speech Corpus for Automatic Speech Recognition},
JOURNAL = {Applied Sciences},
VOLUME = {10},
YEAR = {2020},
NUMBER = {19},
ARTICLE-NUMBER = {6936},
URL = {https://www.mdpi.com/2076-3417/10/19/6936},
ISSN = {2076-3417},
DOI = {10.3390/app10196936}
}
```
| [
-0.03811040148139,
-0.004972768947482109,
-0.02985287643969059,
0.046178754419088364,
0.04387813061475754,
0.030513092875480652,
-0.0026691346429288387,
0.0007998918881639838,
-0.06390693038702011,
0.06258198618888855,
0.025824371725320816,
-0.02815140224993229,
-0.01952323317527771,
0.001836835639551282,
-0.038147300481796265,
-0.038722891360521317,
-0.0327543281018734,
0.0052596405148506165,
-0.04414762929081917,
-0.02086477167904377,
0.025103580206632614,
-0.0019312046933919191,
0.005833793897181749,
0.024437066167593002,
-0.002367244102060795,
0.008058366365730762,
-0.018412437289953232,
-0.003092098981142044,
0.014421634376049042,
-0.04181428998708725,
-0.016821149736642838,
-0.049331944435834885,
-0.030156632885336876,
-0.007591344881802797,
-0.020801711827516556,
0.001382198533974588,
-0.0017709634266793728,
0.010889657773077488,
0.03457963094115257,
0.057072240859270096,
-0.021584805101156235,
0.018698321655392647,
-0.000731873617041856,
-0.0164121612906456,
0.031256601214408875,
-0.015063525177538395,
-0.03510283678770065,
-0.03307158127427101,
0.046967554837465286,
-0.036807022988796234,
-0.027401885017752647,
-0.03952278941869736,
-0.014923417009413242,
0.027376998215913773,
-0.01934267021715641,
-0.03306189179420471,
-0.04259343072772026,
-0.048149049282073975,
0.052302852272987366,
-0.04579751938581467,
-0.022770419716835022,
0.027198495343327522,
-0.06283187121152878,
0.03509523347020149,
0.04122451692819595,
-0.04704241827130318,
-0.005737845320254564,
-0.04420262575149536,
0.021555963903665543,
-0.022675585001707077,
0.03825801983475685,
-0.03138824924826622,
0.011602108366787434,
-0.08776012063026428,
0.001429502503015101,
-0.006848915945738554,
0.029762761667370796,
0.050783246755599976,
-0.02917194552719593,
0.06192847341299057,
0.021922141313552856,
0.006572016514837742,
0.04758218303322792,
-0.017204707488417625,
0.003385869786143303,
0.08020206540822983,
-0.03507109358906746,
0.014429579488933086,
0.013099223375320435,
0.03361458703875542,
-0.0320054367184639,
-0.041378866881132126,
-0.023064501583576202,
-0.037746429443359375,
-0.030744662508368492,
0.011853206902742386,
0.05898214131593704,
-0.008626336231827736,
0.05749393627047539,
0.015031315386295319,
0.03161605820059776,
0.020114881917834282,
-0.03311164677143097,
0.049550581723451614,
-0.011455178260803223,
-0.006322649773210287,
-0.022829756140708923,
-0.02995900623500347,
-0.03890237957239151,
0.04061223566532135,
0.04299876466393471,
-0.039191458374261856,
-0.049977630376815796,
0.019499417394399643,
0.022317180410027504,
-0.0432208850979805,
0.022366713732481003,
-0.028214234858751297,
-0.041030243039131165,
-0.038156453520059586,
0.036299362778663635,
0.022846799343824387,
0.013939600437879562,
-0.008032922632992268,
-0.02311025932431221,
0.0469476692378521,
-0.0408455915749073,
-0.042935848236083984,
0.005187689326703548,
0.00905788503587246,
0.011013373732566833,
0.03773157298564911,
0.02136528305709362,
-0.04464361444115639,
-0.011583227664232254,
0.01776861399412155,
-0.07988381385803223,
0.026700077578425407,
0.03236831724643707,
0.09625905752182007,
-0.06550779938697815,
-0.06250821799039841,
0.01950749009847641,
0.013932503759860992,
-0.012033534236252308,
0.016797535121440887,
0.022583886981010437,
-0.03861795365810394,
-0.037771761417388916,
-0.010586326941847801,
0.06778040528297424,
-0.06804342567920685,
-0.01763424277305603,
0.04198405519127846,
-0.010638676583766937,
0.041218627244234085,
-0.023255204781889915,
0.008758929558098316,
0.008416824974119663,
0.003528306493535638,
-0.030485965311527252,
0.02895326353609562,
-0.013034537434577942,
-0.018061155453324318,
-0.06207682192325592,
-0.05542081966996193,
-0.010370620526373386,
0.07533759623765945,
0.0287052933126688,
-0.020130818709731102,
-0.013274092227220535,
0.011181734502315521,
0.032735321670770645,
0.023384880274534225,
-0.05109916999936104,
0.04169090464711189,
0.06108751520514488,
0.05204104259610176,
-0.023167947307229042,
0.0790891945362091,
0.02552397921681404,
-0.04368610307574272,
-0.018935874104499817,
0.031182164326310158,
0.0035980127286165953,
-0.025133930146694183,
-0.0021011261269450188,
0.04665307328104973,
-0.006296350155025721,
-0.01309735793620348,
-0.04203762486577034,
0.06158287450671196,
-0.023988377302885056,
-0.006326656322926283,
0.00871831551194191,
-0.02200579084455967,
-0.035500120371580124,
0.04280107840895653,
-0.028380565345287323,
0.01000963058322668,
-0.021786101162433624,
-0.023622969165444374,
0.01190672442317009,
0.027937710285186768,
0.016531048342585564,
0.04663126915693283,
-0.010353061370551586,
0.08964448422193527,
-0.014960364438593388,
0.016461452469229698,
-0.05253369361162186,
-0.0612369067966938,
-0.022714996710419655,
0.03901902586221695,
0.040514927357435226,
0.06626314669847488,
0.024429436773061752,
-0.05376730486750603,
0.026636775583028793,
0.050786565989255905,
0.04183141142129898,
0.04569580405950546,
-0.04011494666337967,
-0.02018129825592041,
0.022193485870957375,
0.08269870281219482,
-0.05109625682234764,
-0.03405667096376419,
0.024105098098516464,
0.04371584206819534,
-0.001404450391419232,
0.027850711718201637,
-0.012340795248746872,
0.0422850176692009,
-0.057523421943187714,
-0.07789181172847748,
0.061132170259952545,
0.019492419436573982,
0.009854424744844437,
0.04330591857433319,
-0.019669059664011,
-0.009121069684624672,
0.013799427077174187,
0.019591765478253365,
0.004796253051608801,
-0.05960144102573395,
0.015396530739963055,
0.007106218487024307,
0.034159254282712936,
-0.02662825584411621,
0.058611512184143066,
-0.005996752995997667,
0.0027069489005953074,
0.03266208618879318,
-0.0318412184715271,
0.04153388738632202,
0.025140825659036636,
0.010328317992389202,
-0.015559600666165352,
0.04055178165435791,
-0.0038962645921856165,
0.06884878873825073,
0.06121326610445976,
-0.0024596708826720715,
0.08015916496515274,
-0.0006964830099605024,
0.035226065665483475,
0.07577197998762131,
0.02465508133172989,
0.016669990494847298,
0.03640518710017204,
0.07422561198472977,
0.021918240934610367,
-0.020534353330731392,
0.08589794486761093,
-0.04505409300327301,
0.03659109026193619,
-0.03401890769600868,
0.01660728268325329,
-0.0063614812679588795,
-0.0045352173037827015,
0.024089476093649864,
0.018782515078783035,
0.0007941616931930184,
0.0230473093688488,
-0.03727216273546219,
0.005453387275338173,
0.0395684652030468,
-0.01163141243159771,
0.0009018408018164337,
-0.0018062228336930275,
-0.01832844316959381,
-0.005246151704341173,
-0.07439805567264557,
-0.007313122507184744,
-0.010683081112802029,
-0.027014432474970818,
0.013585321605205536,
-0.06745287030935287,
-0.028525590896606445,
-0.06781551986932755,
-0.0034536197781562805,
0.041884638369083405,
0.008150134235620499,
0.013328376226127148,
-0.03062727488577366,
0.014580274932086468,
-0.04373673349618912,
-0.026525206863880157,
-0.046638406813144684,
-0.039304543286561966,
-0.027960175648331642,
-0.07192892581224442,
0.026659082621335983,
0.01394719909876585,
0.02626221254467964,
0.008010600693523884,
-0.01640818454325199,
-0.0401940643787384,
-0.03732699900865555,
0.05137557163834572,
0.052988406270742416,
-0.030437732115387917,
-0.04032948985695839,
0.019998867064714432,
-0.015043076127767563,
0.019723566249012947,
-0.000034543259971542284,
-0.02103237807750702,
0.06870787590742111,
0.08829033374786377,
0.019558561965823174,
0.0134492889046669,
-0.0202036015689373,
-0.07151416689157486,
-0.054551851004362106,
-0.030306948348879814,
-0.02074376493692398,
-0.017419621348381042,
-0.0376695953309536,
-0.032748449593782425,
0.0009056420531123877,
-0.03329409286379814,
-0.015423418022692204,
-0.0015951902605593204,
0.010538607835769653,
0.04537833109498024,
0.06241285800933838,
0.029769986867904663,
0.034469861537218094,
-0.03429604321718216,
-0.02303161472082138,
0.0837860032916069,
0.030116921290755272,
-0.0010103072272613645,
-0.07121050357818604,
-0.04212955757975578,
0.05079943686723709,
0.03319135308265686,
0.006531635299324989,
-0.02713758870959282,
0.09286565333604813,
0.002100093988701701,
-0.02055995725095272,
0.013297423720359802,
-0.014428239315748215,
-0.037097200751304626,
-0.013106003403663635,
-0.004325523506850004,
-0.027866685763001442,
-0.0668562725186348,
-0.014997663907706738,
-0.006181810982525349,
0.05117097869515419,
-0.06536725163459778,
-0.06100945547223091,
-0.010664277710020542,
0.02233535423874855,
0.014695889316499233,
-0.02738318219780922,
-0.03975672274827957,
-0.009137682616710663,
-0.026474861428141594,
-0.02621910721063614,
0.00405925465747714,
0.019320126622915268,
0.018398122861981392,
0.05488219112157822,
0.003910637926310301,
-0.01240745559334755,
0.05357426777482033,
0.021698981523513794,
0.06913096457719803,
0.014813688583672047,
-0.05890459567308426,
0.017791584134101868,
-0.01739468052983284,
0.02580432966351509,
0.010877645574510098,
-0.02545681595802307,
-0.01696101762354374,
-0.0686061829328537,
-0.023446591570973396,
-0.0006915710400789976,
-0.03438291698694229,
-0.009200994856655598,
0.024701351299881935,
-0.006642371416091919,
0.01127542182803154,
-0.0005466083530336618,
0.019737545400857925,
0.03226042538881302,
-0.04500994086265564,
0.03943134471774101,
-0.015667978674173355,
0.04563166946172714,
-0.06648773699998856,
0.019539397209882736,
-0.024143081158399582,
-0.009067773818969727,
0.0174381323158741,
0.05558677762746811,
0.017571646720170975,
0.014397119171917439,
0.0747893750667572,
0.007419424131512642,
-0.02665410190820694,
0.024302270263433456,
0.03317990526556969,
-0.0009436185355298221,
-0.060733310878276825,
0.006983152590692043,
-0.003634088207036257,
-0.05447961762547493,
0.01367366686463356,
-0.04231517016887665,
0.03493345156311989,
0.06286883354187012,
0.006863714661449194,
0.003051565960049629,
0.011923394165933132,
-0.01429382711648941,
-0.03822195902466774,
-0.089870385825634,
-0.03657826781272888,
0.0007301802979782224,
-0.03811527416110039,
0.03403211012482643,
0.02564561925828457,
0.011406904086470604,
0.05557700991630554,
0.04419023171067238,
-0.032949358224868774,
-0.04151557385921478,
0.029655253514647484,
0.025289667770266533,
-0.06682297587394714,
-0.08592426031827927,
-0.029666023328900337,
0.024836579337716103,
0.05210466682910919,
-0.021654080599546432,
-0.04674616828560829,
-0.00455486960709095,
0.06057783216238022,
-0.011017811484634876,
0.06704350560903549,
-0.008641758002340794,
0.044144317507743835,
0.04972810670733452,
-0.019538169726729393,
0.0264390017837286,
-0.04301803931593895,
0.004209997598081827,
-0.00553714856505394,
0.017747998237609863,
-0.017103683203458786,
-0.03936758637428284,
-0.047561150044202805,
0.025425545871257782,
0.017523186281323433,
0.03215363249182701,
0.05081210657954216,
-0.038341719657182693,
-0.04093798249959946,
0.005608235951513052,
0.02529081143438816,
-0.03397787734866142,
0.04761850833892822,
0.03371560573577881,
0.03346448764204979,
-0.051472995430231094,
-0.0571027509868145,
-0.02466338686645031,
0.017175771296024323,
0.01178818754851818,
-0.0006033693789504468,
-0.04687286913394928,
-0.043631844222545624,
-0.0030337530188262463,
-0.012833637185394764,
-0.012345338240265846,
-0.09532416611909866,
0.02720647305250168,
0.0027460099663585424,
-0.03293007239699364,
0.05484374612569809,
0.021707192063331604,
0.0365406796336174,
0.03798803314566612,
0.015971044078469276,
0.004759265575557947,
-0.03835467994213104,
0.05011492967605591,
-0.024799557402729988,
-0.015649860724806786,
-0.020893968641757965,
-0.02698020078241825,
-0.008793290704488754,
-0.04481405392289162,
-0.024747924879193306,
-0.061471279710531235,
-0.007279443088918924,
0.03944096714258194,
-0.03705909848213196,
0.0068219853565096855,
-0.01773086190223694,
0.03341224417090416,
-0.009335936047136784,
-0.03628969192504883,
-0.03007952682673931,
-0.03992379829287529,
-0.06586146354675293,
-0.04544343426823616,
0.022044476121664047,
0.004443216137588024,
0.01418073009699583,
0.015815431252121925,
-0.005829396657645702,
0.028710108250379562,
-0.013224482536315918,
-0.019961368292570114,
0.03164809197187424,
-0.015697574242949486,
-0.033139411360025406,
-0.0479971319437027,
0.016407225281000137,
0.002551688812673092,
0.026995642110705376,
-0.024746231734752655,
0.022138036787509918,
0.001204757601954043,
-0.030646471306681633,
-0.009175846353173256,
-0.004119249060750008,
0.02687346376478672,
-0.05613625422120094,
-0.056366391479969025,
0.018816612660884857,
-0.058536481112241745,
0.039475224912166595,
-0.015217479318380356,
-0.04309642314910889,
0.03589737415313721,
0.022657064720988274,
0.02435876801609993,
-0.007708416320383549,
-0.034330978989601135,
0.020440595224499702,
-0.007072171662002802,
0.04883170500397682,
-0.039821330457925797,
0.037525538355112076,
-0.03913852944970131,
0.007608047220855951,
-0.009319372475147247,
0.01521909050643444,
-0.05515073984861374,
0.02571844682097435,
-0.011639386415481567,
-0.0015609192196279764,
-0.01795646734535694,
0.008946804329752922,
-0.05141770467162132,
0.046739328652620316,
-0.016284771263599396,
0.012292335741221905,
-0.0364595390856266,
0.04390650615096092,
-0.04648173600435257,
0.014241980388760567,
-0.02056845650076866,
0.0035813073627650738,
-0.011965097859501839,
-0.03447838872671127,
0.012608983553946018,
-0.0456259623169899,
0.02458019368350506,
0.05184662714600563,
0.03179333731532097,
0.04499040171504021,
-0.021561218425631523,
-0.0049430388025939465,
0.013708925805985928,
-0.06755384802818298,
-0.010530732572078705,
-0.005687101744115353,
0.0408894419670105,
-0.006776483729481697,
0.03743448853492737,
0.03908246383070946,
-0.056979455053806305,
-0.052580706775188446,
0.025615215301513672,
0.01478456612676382,
0.012026513926684856,
-0.010494546964764595,
0.042270906269550323,
0.02282010205090046,
0.05431654676795006,
-0.044588856399059296,
0.007959025911986828,
-0.024489879608154297,
-0.018313221633434296,
0.0084182508289814,
0.0012161167105659842,
0.0060500651597976685,
-0.016496606171131134,
-0.028285391628742218,
-0.042646195739507675,
0.06103919446468353,
0.018261095508933067,
0.016675371676683426,
0.010831588879227638,
-0.04851020127534866,
0.005031520035117865,
-0.03935761749744415,
-0.052702683955430984,
0.021731965243816376,
0.0017553920624777675,
-0.023329012095928192,
0.0904202088713646,
-0.015326257795095444,
0.04216030612587929,
0.03541126474738121,
0.049856506288051605,
-0.013975133188068867,
0.037160784006118774,
-0.0341537669301033,
-0.0022886130027472973,
0.020764069631695747,
-0.05105205252766609,
-0.024303879588842392,
-0.030636180192232132,
0.07340486347675323,
-0.04379970207810402,
0.037734903395175934,
0.033657368272542953,
0.030869292095303535,
0.022409869357943535,
-0.018563829362392426,
-0.03763606771826744,
0.03885620832443237,
-0.03318385034799576,
0.07370305061340332,
0.002716973889619112,
-0.05490021035075188,
0.056095730513334274,
0.03318140283226967,
-0.11333207786083221,
0.020670266821980476,
0.01586274802684784,
0.027469927445054054,
0.023720810189843178,
0.04693529009819031,
-0.06916381418704987,
0.013106143102049828,
-0.03800956532359123,
0.010164408944547176,
-0.056125249713659286,
0.0024052069056779146,
0.03187708929181099,
-0.02581023797392845,
-0.015558792278170586,
0.013922595418989658,
-0.01907530426979065,
-0.011822492815554142,
0.02507917582988739,
-0.05329093337059021,
-0.04969252645969391,
0.00609105359762907,
0.04210570827126503,
-0.037141427397727966,
0.024592243134975433,
-0.018264848738908768,
0.02213290147483349,
0.024918578565120697,
0.017556993290781975,
-0.03732498362660408,
-0.014289936982095242,
0.027265651151537895,
-0.055228497833013535,
-0.0464005172252655,
0.07175568491220474,
0.016079090535640717,
-0.02988174930214882,
0.06273430585861206,
0.003906311467289925,
0.027477936819195747,
0.003918755799531937,
0.004443756304681301,
0.014694799669086933,
-0.05298516899347305,
-0.017541278153657913,
0.005082366988062859,
0.04962349683046341,
0.025226788595318794,
-0.022500237450003624,
0.03966699168086052,
0.07290436327457428,
-0.007820099592208862,
0.01788899302482605,
-0.038475628942251205,
-0.02935239113867283,
0.023142654448747635,
-0.04548293724656105,
0.020963773131370544,
0.020299315452575684,
-0.038270704448223114,
-0.013249496929347515,
-0.04166485741734505,
-0.027822570875287056,
0.023049021139740944,
-0.03591613844037056,
0.0008793059969320893,
-0.008159156888723373,
-0.0020987410098314285,
-0.0474313460290432,
-0.07695861160755157,
-0.05494800955057144,
-0.04183302819728851,
0.03133305907249451,
0.025744382292032242,
-0.04273605719208717,
-0.011675195768475533,
-0.03949053958058357,
-0.06171780824661255,
0.041639797389507294,
0.008608938194811344,
-0.024651285260915756,
0.05343541502952576,
0.03527158126235008,
-0.053544770926237106,
0.015815069898962975,
0.03544401377439499,
-0.0406886450946331,
0.03225001320242882,
0.014094444923102856,
0.004700379446148872,
0.03917995095252991,
0.032394297420978546,
-0.00944471638649702,
-0.016813546419143677,
-0.07212956249713898,
-0.006632429081946611,
-0.0372166708111763,
0.01346017885953188,
0.04003698751330376
] |
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 | ---
thumbnail: https://huggingface.co/front/thumbnails/dialogpt.png
tags:
- conversational
license: mit
---
# DialoGPT Trained on the Speech of a Game Character
Chat with the model:
```python
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from_pretrained("dead69/GTP-small-yoda")
model = AutoModelWithLMHead.from_pretrained("dead69/GTP-small-yoda")
# Let's chat for 4 lines
for step in range(10):
# encode the new user input, add the eos_token and return a tensor in Pytorch
new_user_input_ids = tokenizer.encode(input(">> User:") + tokenizer.eos_token, return_tensors='pt')
# print(new_user_input_ids)
# append the new user input tokens to the chat history
bot_input_ids = torch.cat([chat_history_ids, new_user_input_ids], dim=-1) if step > 0 else new_user_input_ids
# generated a response while limiting the total chat history to 1000 tokens,
chat_history_ids = model.generate(
bot_input_ids, max_length=200,
pad_token_id=tokenizer.eos_token_id,
no_repeat_ngram_size=3,
do_sample=True,
top_k=100,
top_p=0.7,
temperature=0.8
)
# pretty print last ouput tokens from bot
print("Master YODA: {}".format(tokenizer.decode(chat_history_ids[:, bot_input_ids.shape[-1]:][0], skip_special_tokens=True)))
``` | [
-0.017947249114513397,
-0.030083943158388138,
-0.012802905403077602,
0.04892421141266823,
0.042648013681173325,
0.022096339613199234,
-0.02057190239429474,
-0.01399482972919941,
-0.008732360787689686,
0.0411682054400444,
0.019255101680755615,
-0.026465140283107758,
0.02162802964448929,
0.038406066596508026,
-0.02365945465862751,
-0.022638574242591858,
-0.029070289805531502,
0.016641555353999138,
-0.025305157527327538,
0.001035761320963502,
0.021367276087403297,
0.032464925199747086,
0.005421565845608711,
-0.007743523456156254,
-0.009919403120875359,
0.018067320808768272,
0.015498989261686802,
0.004264823626726866,
0.03035656176507473,
-0.055366210639476776,
0.019135810434818268,
-0.04348602518439293,
-0.03144355118274689,
-0.014883930794894695,
-0.028992909938097,
-0.04268729314208031,
-0.00021805385767947882,
-0.018385697156190872,
0.0013831780524924397,
0.04976200312376022,
-0.0064548347145318985,
-0.018449513241648674,
-0.004728786647319794,
-0.025815026834607124,
0.0583733469247818,
-0.004577428102493286,
-0.04471247270703316,
0.01985161378979683,
0.021408753469586372,
-0.015116311609745026,
-0.022504350170493126,
-0.06263814121484756,
-0.05293527618050575,
-0.0025739152915775776,
-0.020951801910996437,
-0.011475235223770142,
-0.07075273990631104,
-0.026503022760152817,
0.09059949219226837,
-0.032780468463897705,
-0.006621983367949724,
0.028283769264817238,
-0.0636015459895134,
0.017278622835874557,
0.027458759024739265,
-0.04666147753596306,
0.00017653605027589947,
-0.048408590257167816,
0.011218707077205181,
-0.01725580357015133,
0.050868283957242966,
-0.0541965588927269,
0.01930529810488224,
-0.09555774927139282,
0.025152601301670074,
-0.022886713966727257,
0.02910708077251911,
0.04058480262756348,
-0.03318779915571213,
0.07328823953866959,
0.02986651286482811,
-0.006965844426304102,
0.023926537483930588,
-0.01803264208137989,
-0.03153451532125473,
0.031506627798080444,
-0.029149871319532394,
0.017374571412801743,
0.012700510211288929,
0.06303553283214569,
-0.036055292934179306,
-0.043322909623384476,
-0.06300508975982666,
-0.026253335177898407,
-0.014988306909799576,
0.040371112525463104,
0.05229967460036278,
0.009092072024941444,
0.02231978066265583,
0.030412647873163223,
0.01307061966508627,
0.05116412043571472,
-0.006744388956576586,
0.03704077750444412,
-0.0071951281279325485,
0.018622109666466713,
0.011465273797512054,
-0.036856651306152344,
-0.04632316902279854,
0.003582400968298316,
0.04554760083556175,
-0.014142021536827087,
-0.04174656420946121,
0.04304211214184761,
0.03008298948407173,
-0.00716167688369751,
0.029573511332273483,
-0.013325867243111134,
-0.035682689398527145,
-0.05966870114207268,
0.049892012029886246,
0.009701636619865894,
-0.03155273571610451,
-0.003224794054403901,
-0.0480806902050972,
0.02048138529062271,
-0.05089842155575752,
-0.0383528470993042,
0.014639212749898434,
0.02297946996986866,
0.0011616147821769118,
0.0643036887049675,
-0.0168685931712389,
-0.02969299629330635,
0.007147330325096846,
0.027736429125070572,
-0.044758815318346024,
0.029932482168078423,
0.017041156068444252,
0.10444409400224686,
-0.07894502580165863,
-0.07797443866729736,
0.01626674085855484,
0.0285678468644619,
-0.02826314978301525,
-0.013236924074590206,
0.011747798882424831,
0.0036595941055566072,
-0.026323722675442696,
0.024043425917625427,
0.05409746989607811,
-0.054851360619068146,
-0.010500092059373856,
0.05419380962848663,
0.01275378093123436,
0.024568598717451096,
-0.05511248856782913,
-0.017437798902392387,
0.0008230178500525653,
-0.030808838084340096,
-0.043974507600069046,
0.049752019345760345,
-0.020877189934253693,
-0.03183513879776001,
-0.05538300797343254,
-0.0485495924949646,
0.022357894107699394,
0.08206402510404587,
-0.016300532966852188,
-0.021523475646972656,
-0.006038223393261433,
0.021962665021419525,
0.03925927355885506,
0.026409387588500977,
-0.022157061845064163,
0.032537203282117844,
0.07171954959630966,
0.031593021005392075,
-0.034626249223947525,
0.04466261714696884,
0.02018994837999344,
-0.030487073585391045,
-0.026871081441640854,
-0.018240973353385925,
0.0018280649092048407,
-0.022322338074445724,
0.033608030527830124,
0.017781201750040054,
-0.030876997858285904,
-0.024934446439146996,
-0.000625298882368952,
0.0639009177684784,
-0.007037466391921043,
-0.0059637525118887424,
-0.02589653804898262,
-0.01849456876516342,
-0.009375098161399364,
0.05907166004180908,
-0.009473024867475033,
0.0075474088080227375,
-0.036804262548685074,
-0.02498948760330677,
-0.0046853674575686455,
0.002661731792613864,
0.03376594930887222,
0.04131099209189415,
0.021329307928681374,
0.0937279611825943,
-0.031273990869522095,
0.021529294550418854,
-0.0512506328523159,
-0.046573229134082794,
0.004467799793928862,
0.04698311164975166,
0.05850524082779884,
0.0669473260641098,
0.012621642090380192,
-0.022731266915798187,
0.023151418194174767,
0.07199554890394211,
0.04813527688384056,
0.006656961981207132,
-0.03318280354142189,
0.011434277519583702,
0.03474976122379303,
0.08133971691131592,
-0.05398590862751007,
-0.032126735895872116,
0.01022690162062645,
0.024689149111509323,
-0.01098787970840931,
-0.00618272228166461,
-0.02252132259309292,
0.0119810551404953,
-0.04537788778543472,
-0.0741083100438118,
0.0686592385172844,
0.03249175101518631,
0.013706930913031101,
0.00445623928681016,
0.01754682883620262,
-0.0033132359385490417,
0.05529441311955452,
-0.005161934066563845,
-0.012191619724035263,
-0.04009246081113815,
0.005566914100199938,
0.03146589919924736,
0.048339586704969406,
-0.04811400920152664,
0.04286270961165428,
0.005373124964535236,
-0.007677310612052679,
0.028571518138051033,
-0.021065007895231247,
0.02657015435397625,
0.053182318806648254,
0.03064446523785591,
-0.007080353796482086,
0.03395945206284523,
-0.003981390502303839,
0.042975060641765594,
0.028760412707924843,
-0.020269794389605522,
0.056473296135663986,
-0.003908810205757618,
0.037560414522886276,
0.07273950427770615,
0.032401349395513535,
0.007641843054443598,
0.011737216264009476,
0.07282755523920059,
0.009511558338999748,
0.0034455209970474243,
0.04338844120502472,
-0.03637783229351044,
0.0018280160147696733,
-0.030637476593255997,
0.014697161503136158,
0.000623191415797919,
-0.012114165350794792,
0.02377851866185665,
0.018021753057837486,
-0.02152113802731037,
0.006340513937175274,
-0.004675467032939196,
-0.016315974295139313,
0.05064716935157776,
-0.021933741867542267,
-0.0124855050817132,
-0.0028050781693309546,
-0.036947108805179596,
0.02506265416741371,
-0.08112509548664093,
-0.052006855607032776,
-0.04495362564921379,
-0.03161631152033806,
-0.02648630179464817,
-0.09381081163883209,
-0.013518034480512142,
-0.06802679598331451,
-0.009138617664575577,
0.027302972972393036,
-0.012791343964636326,
0.006959977559745312,
-0.012854758650064468,
0.034804534167051315,
-0.042323045432567596,
-0.018955660983920097,
-0.05894356220960617,
-0.040782470256090164,
-0.026466410607099533,
-0.07280381768941879,
0.024203339591622353,
-0.0010918249608948827,
0.014462526887655258,
-0.008132676593959332,
-0.008737167343497276,
-0.06236068904399872,
-0.018433773890137672,
0.04076967388391495,
0.037567704916000366,
-0.041787344962358475,
-0.06334628164768219,
0.013884446583688259,
-0.02849631942808628,
0.026267649605870247,
0.017443249002099037,
-0.016158923506736755,
0.08632822334766388,
0.05602969974279404,
-0.003435178892686963,
0.01999524235725403,
-0.03674464300274849,
-0.05849790573120117,
-0.039473362267017365,
-0.02097451128065586,
-0.03246628865599632,
-0.02052914723753929,
-0.016922494396567345,
-0.05999986082315445,
-0.03975111246109009,
-0.024615053087472916,
-0.01296283584088087,
0.019544081762433052,
0.02049298956990242,
0.05776621773838997,
0.04624798521399498,
0.030836641788482666,
0.04568333551287651,
-0.06445103138685226,
-0.020491553470492363,
0.051643457263708115,
-0.0004949357826262712,
0.014145002700388432,
-0.09232302755117416,
-0.03550498187541962,
0.018050817772746086,
0.048227597028017044,
-0.031949952244758606,
-0.006186000071465969,
0.05574285238981247,
0.015516701154410839,
-0.0037760112900286913,
0.009509741328656673,
-0.037598367780447006,
-0.003955356776714325,
-0.004331754054874182,
-0.018040431663393974,
-0.030364342033863068,
-0.04386485740542412,
-0.017482329159975052,
-0.004455737769603729,
0.045514874160289764,
-0.05273115262389183,
-0.08490364998579025,
-0.04585829749703407,
0.02127113938331604,
0.006111444905400276,
0.0018902603769674897,
-0.054823968559503555,
-0.005656045395880938,
-0.07394225895404816,
-0.02604994736611843,
0.033847663551568985,
-0.007250024005770683,
0.03951774165034294,
0.02803708054125309,
0.04116225242614746,
-0.011941727250814438,
0.016119377687573433,
0.0365917831659317,
0.05891285836696625,
-0.004689297638833523,
-0.04823510721325874,
0.011006101965904236,
-0.023181892931461334,
0.015834305435419083,
0.0040939305908977985,
-0.022452201694250107,
-0.04087332263588905,
-0.0837184339761734,
-0.027360033243894577,
0.005445736926048994,
-0.015359658747911453,
-0.013555683195590973,
0.047632500529289246,
-0.020237617194652557,
-0.0025213563349097967,
0.005854091141372919,
0.008172402158379555,
0.073302261531353,
-0.04905523359775543,
0.0630018338561058,
0.00852970127016306,
0.05881342664361,
-0.051897697150707245,
-0.003248655004426837,
-0.024470003321766853,
-0.00888090394437313,
-0.025026997551321983,
0.07349701225757599,
0.04843366891145706,
0.063323475420475,
0.06082635745406151,
0.02634386532008648,
-0.04249237850308418,
0.017026951536536217,
0.04133903980255127,
-0.020526254549622536,
-0.030375631526112556,
-0.0000688940635882318,
-0.028711261227726936,
-0.01773538626730442,
0.01630542241036892,
-0.012841693125665188,
0.02030942589044571,
0.05260181427001953,
0.0021664570085704327,
-0.024340394884347916,
0.014158585108816624,
-0.037169184535741806,
-0.019019870087504387,
-0.06584809720516205,
-0.031696867197752,
0.024838563054800034,
0.006341947708278894,
0.02787681855261326,
0.03589367866516113,
0.02382085472345352,
0.06014252081513405,
0.043623920530080795,
-0.022156180813908577,
-0.0284415315836668,
0.05226251482963562,
0.05195658653974533,
-0.03262695297598839,
-0.06371119618415833,
-0.04186689481139183,
0.03570905327796936,
0.03615318983793259,
-0.04471416771411896,
-0.07942627370357513,
0.020782846957445145,
0.0419638492166996,
-0.03659147024154663,
0.0417475588619709,
-0.008629252202808857,
0.041386354714632034,
0.04318523406982422,
0.01158813014626503,
0.03692883998155594,
-0.036308400332927704,
0.018658345565199852,
-0.0032536436337977648,
0.04338449239730835,
-0.030645638704299927,
-0.04254927858710289,
-0.07573287189006805,
0.022670259699225426,
0.03205273672938347,
0.024355461820960045,
0.02946324460208416,
-0.020245613530278206,
-0.029276270419359207,
-0.00659133680164814,
0.045926179736852646,
-0.0398760624229908,
0.01488153263926506,
0.017542727291584015,
0.050817620009183884,
-0.04136497899889946,
-0.04074949026107788,
-0.004655745346099138,
0.011284035630524158,
0.04635003209114075,
0.005565977655351162,
-0.023145003244280815,
-0.02618248015642166,
0.02378164231777191,
-0.030619975179433823,
-0.02120487205684185,
-0.05595095455646515,
0.04698515683412552,
-0.02321256510913372,
-0.004812384955585003,
0.050729889422655106,
0.034259356558322906,
0.03662567585706711,
0.062380168586969376,
0.026621049270033836,
0.024037238210439682,
-0.028421012684702873,
0.03316592425107956,
-0.05192168802022934,
-0.014012211002409458,
-0.016138674691319466,
-0.033201802521944046,
-0.007977061904966831,
-0.024257933720946312,
-0.06068362295627594,
-0.047834914177656174,
-0.0384213924407959,
0.02316407486796379,
-0.008144250139594078,
-0.009960210882127285,
-0.01773110032081604,
0.04883597046136856,
-0.03456423804163933,
-0.039192501455545425,
-0.019675804302096367,
-0.023224500939249992,
-0.05069970712065697,
-0.05085958167910576,
0.015909940004348755,
0.001544450526125729,
0.03129967674612999,
-0.004534563980996609,
0.015665389597415924,
0.03377552703022957,
-0.009138914756476879,
-0.0028958155307918787,
0.05398675054311752,
-0.003853557398542762,
-0.049679115414619446,
-0.016745565459132195,
0.03804871067404747,
0.015826037153601646,
0.03334306180477142,
0.0034268756862729788,
0.027513353154063225,
0.007628259249031544,
-0.035614944994449615,
-0.00994017068296671,
0.026625225320458412,
0.01556303445249796,
-0.07540976256132126,
-0.021252956241369247,
0.004758053924888372,
-0.05128927901387215,
0.01595618575811386,
-0.03424684330821037,
-0.026717085391283035,
0.004456129390746355,
0.010611430741846561,
0.038942378014326096,
-0.00896794255822897,
-0.020076964050531387,
0.010260110720992088,
-0.009060537442564964,
0.009623211808502674,
-0.05192165821790695,
0.04140876233577728,
-0.028987841680645943,
0.004286701790988445,
-0.00952801201492548,
0.025916166603565216,
-0.04458644241094589,
0.050901807844638824,
-0.012110216543078423,
0.023152561858296394,
-0.006761134602129459,
0.0009165438823401928,
-0.00442659854888916,
0.05486691743135452,
-0.004102655686438084,
0.05354125425219536,
-0.07409840077161789,
0.02952665463089943,
-0.04490337893366814,
0.0076448083855211735,
-0.01647804118692875,
0.014097963459789753,
-0.04727637395262718,
-0.005033180117607117,
0.0014966883463785052,
-0.03632717952132225,
0.020884742960333824,
0.0672478899359703,
0.05054730921983719,
0.01882343925535679,
-0.0408790148794651,
0.008532404899597168,
0.00898019876331091,
-0.08347900956869125,
-0.02450031414628029,
-0.008767569437623024,
-0.017594873905181885,
-0.012217151001095772,
0.04008810222148895,
0.046825509518384933,
-0.06090821698307991,
-0.040841665118932724,
0.030387675389647484,
0.0254941638559103,
0.02343035861849785,
0.004591017495840788,
0.034297555685043335,
0.027259036898612976,
0.04408024996519089,
-0.013637281022965908,
0.004206641111522913,
-0.0010871178237721324,
-0.021520689129829407,
0.0194019116461277,
0.000027327339921612293,
0.004817362409085035,
-0.005314426030963659,
-0.01569392718374729,
-0.024483028799295425,
0.06095539405941963,
0.029357273131608963,
0.0016375768464058638,
0.010809831321239471,
-0.04626629129052162,
0.04106089100241661,
-0.01046309806406498,
-0.03954903408885002,
-0.00473410589620471,
-0.0016785507323220372,
-0.01775146834552288,
0.07967397570610046,
-0.010677753947675228,
0.023997602984309196,
0.03566637262701988,
0.01655256748199463,
-0.018500972539186478,
0.03975563123822212,
-0.03830629959702492,
0.037556011229753494,
0.028263110667467117,
-0.054655931890010834,
-0.0033828159794211388,
-0.043328847736120224,
0.06530029326677322,
-0.06919863820075989,
0.05512300506234169,
0.0223090797662735,
0.00503576872870326,
0.012165388092398643,
-0.03742180019617081,
-0.06526067107915878,
0.018074924126267433,
-0.03907376527786255,
0.059034910053014755,
0.019538773223757744,
-0.0502437949180603,
0.09159227460622787,
0.030016159638762474,
-0.09680955857038498,
0.051234155893325806,
0.07123003154993057,
0.011775877326726913,
0.026836372911930084,
0.055700499564409256,
-0.0528709851205349,
0.011934350244700909,
-0.02994197979569435,
0.026257680729031563,
-0.03976711630821228,
-0.017109666019678116,
0.0028722567949444056,
-0.037439290434122086,
-0.02347131259739399,
0.025115247815847397,
0.00875802244991064,
0.017236929386854172,
0.0117526575922966,
-0.06569923460483551,
-0.024888839572668076,
-0.020773444324731827,
0.0070155030116438866,
-0.04108382761478424,
0.006126541644334793,
0.004013519734144211,
0.005413354840129614,
0.012640982866287231,
0.006341356784105301,
-0.030231628566980362,
-0.020481355488300323,
0.009229193441569805,
-0.05875702574849129,
-0.05462604761123657,
0.08150018006563187,
0.01615343801677227,
-0.007703160867094994,
0.027031822130084038,
0.013181914575397968,
0.016223326325416565,
0.016837352886795998,
-0.0072641936130821705,
0.011284916661679745,
-0.04178967699408531,
0.017371173948049545,
0.00971151515841484,
0.023551475256681442,
0.004970261361449957,
0.012208844535052776,
0.0476350374519825,
0.046844299882650375,
0.019894465804100037,
-0.01048060692846775,
-0.042160674929618835,
-0.013001112267374992,
0.007063020020723343,
-0.026701640337705612,
0.027247685939073563,
0.03237149491906166,
-0.06658588349819183,
-0.01565633900463581,
-0.03545716777443886,
-0.015855401754379272,
0.03816308081150055,
-0.06408771872520447,
0.007631407584995031,
0.0498197078704834,
-0.020534686744213104,
-0.017304128035902977,
-0.09489642828702927,
-0.0346369668841362,
-0.044250525534152985,
0.029300246387720108,
0.05436566472053528,
-0.055954113602638245,
0.005573543254286051,
-0.056377146393060684,
-0.037400051951408386,
0.04825355485081673,
0.04168140888214111,
-0.034962400794029236,
0.052271369844675064,
0.03920843079686165,
-0.04581749439239502,
0.03461766615509987,
0.003732158802449703,
-0.04334104061126709,
0.012095707468688488,
0.018751289695501328,
0.0065399277955293655,
0.02606375142931938,
0.039450954645872116,
-0.03526131808757782,
0.004437786061316729,
-0.03952514007687569,
-0.016545109450817108,
-0.03040274605154991,
0.01644165813922882,
0.05322903394699097
] |
BrunoNogueira/DialoGPT-kungfupanda | [
"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 | ---
language:
- "en"
license: "cc-by-sa-4.0"
datasets:
- debatelab/aaac
widget:
- text: "reason_statements: argument_source: If Peter likes fish, Peter has been to New York. So, Peter has been to New York."
example_title: "Premise identification"
- text: "argdown_reconstruction: argument_source: If Peter likes fish, Peter has been to New York. So, Peter has been to New York."
example_title: "Argdown reconstruction"
- text: "premises_formalized: reason_statements: If Peter likes fish, Peter has been to New York. (ref: (1))"
example_title: "Formalization"
inference:
parameters:
max_length: 80
---
Pretraining Dataset: [AAAC01](https://huggingface.co/datasets/debatelab/aaac)
Demo: [DeepA2 Demo](https://huggingface.co/spaces/debatelab/deepa2-demo)
Paper: [DeepA2: A Modular Framework for Deep Argument Analysis with Pretrained Neural Text2Text Language Models](https://arxiv.org/abs/2110.01509)
Authors: *Gregor Betz, Kyle Richardson*
## Abstract
In this paper, we present and implement a multi-dimensional, modular framework for performing deep argument analysis (DeepA2) using current pre-trained language models (PTLMs). ArgumentAnalyst -- a T5 model (Raffel et al. 2020) set up and trained within DeepA2 -- reconstructs argumentative texts, which advance an informal argumentation, as valid arguments: It inserts, e.g., missing premises and conclusions, formalizes inferences, and coherently links the logical reconstruction to the source text. We create a synthetic corpus for deep argument analysis, and evaluate ArgumentAnalyst on this new dataset as well as on existing data, specifically EntailmentBank (Dalvi et al. 2021). Our empirical findings vindicate the overall framework and highlight the advantages of a modular design, in particular its ability to emulate established heuristics (such as hermeneutic cycles), to explore the model's uncertainty, to cope with the plurality of correct solutions (underdetermination), and to exploit higher-order evidence. | [
-0.022340252995491028,
-0.032716650515794754,
-0.02488602325320244,
0.05017417296767235,
0.04116370528936386,
0.022260980680584908,
-0.026189271360635757,
-0.018113188445568085,
-0.005245467647910118,
0.046396683901548386,
0.028684986755251884,
0.005384543910622597,
0.019105268642306328,
0.031192751601338387,
-0.027248362079262733,
-0.03655339777469635,
-0.03452588617801666,
0.020032396540045738,
-0.022492162883281708,
-0.01304635126143694,
-0.00654993299394846,
-0.006150262895971537,
-0.019846996292471886,
0.02464226447045803,
-0.0072083668783307076,
0.03453715518116951,
-0.002173386048525572,
0.04194978252053261,
0.002366113942116499,
-0.0658014789223671,
0.01987268589437008,
-0.038361553102731705,
-0.046079449355602264,
0.02016332931816578,
-0.00690659461542964,
-0.004980040714144707,
0.006465526297688484,
-0.0008962785941548645,
0.0033601131290197372,
0.06809746474027634,
-0.013690031133592129,
-0.003716004779562354,
0.007898122072219849,
-0.041647620499134064,
0.0376899391412735,
0.0038949328009039164,
-0.03485460579395294,
-0.06139051914215088,
0.06336458772420883,
0.018617119640111923,
-0.06098966673016548,
-0.07269030064344406,
-0.018133806064724922,
0.061128824949264526,
-0.02430989407002926,
-0.015910107642412186,
-0.040418144315481186,
0.02387910522520542,
0.09680753201246262,
-0.030314693227410316,
0.009600038640201092,
0.00637883972376585,
-0.05330950394272804,
0.02302624098956585,
0.031072845682501793,
-0.06852105259895325,
-0.007496568839997053,
-0.045398663729429245,
0.035123150795698166,
-0.006719599012285471,
0.050677210092544556,
-0.0514216274023056,
0.037778228521347046,
-0.09700047224760056,
0.003242860082536936,
-0.003080059541389346,
0.05317891016602516,
0.012870692647993565,
-0.03547440469264984,
0.06632105261087418,
0.028925660997629166,
0.0021587491501122713,
0.022236177697777748,
0.003175745951011777,
-0.008098299615085125,
0.0571659654378891,
-0.0379074402153492,
-0.00037967422395013273,
0.004241743125021458,
0.03675265237689018,
-0.05678701773285866,
-0.033647675067186356,
-0.03787214681506157,
-0.014570641331374645,
-0.0008304761140607297,
0.039871882647275925,
0.038870953023433685,
-0.011358194053173065,
0.017329277470707893,
0.01764325238764286,
0.017944352701306343,
0.03663591668009758,
-0.008901777677237988,
0.06504567712545395,
-0.008544296026229858,
0.02142476662993431,
-0.0005479662213474512,
-0.028103217482566833,
-0.049591682851314545,
0.04492023587226868,
0.005183696746826172,
-0.02208782732486725,
-0.035389889031648636,
0.016558608040213585,
0.01780029386281967,
0.007058547344058752,
0.013909688219428062,
-0.021014243364334106,
-0.04621332883834839,
-0.03933284804224968,
0.019712185487151146,
0.007632676046341658,
-0.026890812441706657,
0.008056873455643654,
-0.09464839100837708,
0.02066018246114254,
-0.04786427319049835,
-0.03710850328207016,
-0.02347257174551487,
0.0209741722792387,
-0.014401830732822418,
0.018426118418574333,
0.03969381004571915,
-0.07096628099679947,
-0.0020313484128564596,
0.03392688184976578,
-0.07950752973556519,
0.05172301083803177,
0.01985224336385727,
0.09744172543287277,
-0.07422216981649399,
-0.003613289212808013,
0.024296285584568977,
0.013444557785987854,
-0.02720789797604084,
-0.000777292181737721,
-0.0013599342200905085,
-0.005440614186227322,
-0.044710416346788406,
-0.032870031893253326,
0.05975639075040817,
-0.07137209922075272,
-0.002754783956333995,
0.049717411398887634,
-0.018073195591568947,
0.049947481602430344,
-0.045133013278245926,
0.025173014029860497,
-0.01203552633523941,
0.011105036363005638,
0.0006406792090274394,
0.05716339498758316,
-0.005948309320956469,
-0.029901891946792603,
-0.07709137350320816,
-0.026150783523917198,
0.0026781682390719652,
0.09641812741756439,
-0.0010365371126681566,
-0.03198922798037529,
-0.048645250499248505,
-0.0181875079870224,
0.05113137885928154,
0.02874894253909588,
-0.019048014655709267,
0.02697950042784214,
0.06457963585853577,
0.06031924858689308,
-0.008494790643453598,
0.09109721332788467,
0.0017523736460134387,
-0.0322706401348114,
-0.02681245282292366,
0.011702288873493671,
0.009157538414001465,
-0.0340840145945549,
0.03696420416235924,
0.0415320061147213,
0.000977212912403047,
-0.0009329165914095938,
-0.014922318048775196,
0.06087895482778549,
-0.025497883558273315,
-0.013075449503958225,
-0.012551048770546913,
-0.0043646167032420635,
-0.0343710258603096,
0.012164527550339699,
-0.043864183127880096,
0.010229067876935005,
0.007799440063536167,
-0.01997833512723446,
0.01632729358971119,
0.0059183379635214806,
0.015604793094098568,
0.009721148759126663,
-0.006530730985105038,
0.10423700511455536,
-0.028372598811984062,
0.007999883033335209,
-0.03598868101835251,
-0.04261678829789162,
-0.03909261152148247,
0.06291119009256363,
0.05206546187400818,
0.05311354622244835,
-0.011306952685117722,
-0.050848446786403656,
0.05999460443854332,
0.05484285578131676,
0.05223071947693825,
0.03663873299956322,
-0.039085231721401215,
-0.012527870014309883,
0.02853475697338581,
0.04743163660168648,
-0.044346585869789124,
-0.015402997843921185,
0.01312066987156868,
0.04672885686159134,
-0.020376764237880707,
0.009693467058241367,
-0.026869239285588264,
0.03687675669789314,
-0.04959419369697571,
-0.054280515760183334,
0.03271740674972534,
0.032258130609989166,
-0.000011857232493639458,
0.043013568967580795,
-0.013417646288871765,
0.03054823726415634,
0.013940973207354546,
-0.006254137028008699,
0.008977103978395462,
-0.03440481051802635,
0.015385580249130726,
0.005939478985965252,
0.05422122776508331,
-0.04059191420674324,
0.056893132627010345,
0.0032327452208846807,
0.02618558704853058,
0.03689439222216606,
-0.006293336860835552,
0.07454032450914383,
0.03223001956939697,
0.006740403827279806,
-0.02340994030237198,
0.023480545729398727,
-0.0060014426708221436,
0.027303345501422882,
0.05637068301439285,
-0.01866786926984787,
0.06529887765645981,
-0.0023964811116456985,
0.057133086025714874,
0.07241464406251907,
0.004855887498706579,
0.006469907704740763,
0.03809742256999016,
0.05863278731703758,
-0.0021656272001564503,
-0.025669710710644722,
0.03554927185177803,
-0.05625468119978905,
0.03703151270747185,
-0.030738290399312973,
0.01732884719967842,
-0.033309511840343475,
0.016345616430044174,
0.04586999863386154,
0.04794178530573845,
-0.0007170658791437745,
0.01746881939470768,
-0.03157119080424309,
0.006503788288682699,
0.02070625126361847,
0.017913799732923508,
0.00539011973887682,
-0.0064027621410787106,
-0.033820223063230515,
0.01225212961435318,
-0.09203694015741348,
-0.011356362141668797,
0.008011182770133018,
-0.054228127002716064,
0.004014857113361359,
-0.056094441562891006,
-0.05483720824122429,
-0.0760820284485817,
-0.02976584993302822,
0.026568710803985596,
0.0016602373216301203,
-0.01375297736376524,
-0.031025318428874016,
0.02134162187576294,
-0.029795002192258835,
-0.0194785688072443,
-0.05024302750825882,
-0.03774310275912285,
-0.04274073988199234,
-0.06970030069351196,
0.010399450547993183,
0.005467223934829235,
0.05657563358545303,
0.007337452843785286,
-0.0011567937908694148,
-0.03648553788661957,
-0.037896402180194855,
0.04034234955906868,
0.05867787450551987,
-0.051583025604486465,
-0.02585618570446968,
0.012234813533723354,
-0.007130275946110487,
0.01724531501531601,
-0.012179828248918056,
-0.026163386180996895,
0.05106985941529274,
0.06902913749217987,
0.018469946458935738,
0.010750045999884605,
-0.012823918834328651,
-0.0377371646463871,
-0.014438495971262455,
-0.008558033965528011,
-0.03501270338892937,
-0.02082686685025692,
-0.055615201592445374,
-0.028285641223192215,
-0.008871518075466156,
-0.034991584718227386,
-0.01019579079002142,
-0.009869174100458622,
-0.003295312402769923,
0.07276266068220139,
0.034628987312316895,
0.007429452147334814,
0.04206197336316109,
-0.06435856223106384,
-0.013624224811792374,
0.0707826241850853,
0.015417715534567833,
-0.010208694264292717,
-0.06228601932525635,
-0.03601793199777603,
0.005057663191109896,
0.044092774391174316,
0.006064894143491983,
-0.008480516262352467,
0.06522785872220993,
0.01638318970799446,
0.04120786488056183,
0.021119538694620132,
0.004270408768206835,
-0.013468032702803612,
0.006187488790601492,
0.013999893330037594,
-0.044105999171733856,
-0.052410610020160675,
-0.013687125407159328,
-0.011736607179045677,
0.040615297853946686,
-0.06282462179660797,
-0.060526181012392044,
-0.004843622911721468,
0.01599264144897461,
0.010024288669228554,
-0.004391873255372047,
-0.020082127302885056,
-0.008123507723212242,
-0.044418368488550186,
-0.022443894296884537,
-0.015916429460048676,
-0.02281068079173565,
-0.005724767223000526,
0.024745460599660873,
0.007719593122601509,
-0.014180193655192852,
0.056121863424777985,
0.004735921509563923,
0.07086031883955002,
0.04771576076745987,
-0.045182645320892334,
0.04060708358883858,
-0.022336218506097794,
0.04619622975587845,
-0.01736399158835411,
-0.05726064741611481,
-0.047087814658880234,
-0.05973422899842262,
-0.0030324598774313927,
-0.0002409410517429933,
-0.02305510640144348,
-0.013651326298713684,
0.03885059058666229,
-0.03875754773616791,
-0.01627925969660282,
0.016759173944592476,
0.00921621173620224,
0.0457618422806263,
-0.04076897352933884,
0.04694729670882225,
-0.0021199488546699286,
0.024044984951615334,
-0.0489930734038353,
0.006022352259606123,
-0.03838304802775383,
-0.009889401495456696,
-0.007190840784460306,
0.07901778817176819,
0.034916650503873825,
0.04718657582998276,
0.07381553202867508,
0.023475635796785355,
-0.03942621126770973,
0.03495272994041443,
0.05198278650641441,
-0.017847198992967606,
-0.027045991271734238,
0.0011673227418214083,
0.009946190752089024,
-0.035153795033693314,
-0.028349393978714943,
-0.011665535159409046,
0.03473298251628876,
0.028022779151797295,
-0.003794878488406539,
-0.02508300542831421,
0.01882772706449032,
-0.01864396221935749,
0.002199480077251792,
-0.04142622649669647,
-0.0029330244287848473,
-0.021161675453186035,
0.013013099320232868,
0.011192175559699535,
0.03408817946910858,
0.0012872987426817417,
0.06591270864009857,
0.050956495106220245,
-0.0320671983063221,
-0.03653509542346001,
0.05170845612883568,
0.020176459103822708,
-0.036953624337911606,
-0.032469987869262695,
-0.04732217639684677,
0.08431509137153625,
0.03062480129301548,
-0.021100275218486786,
-0.08765165507793427,
0.009743263944983482,
0.032834988087415695,
-0.0420922189950943,
0.022987619042396545,
-0.008250992745161057,
0.019784020259976387,
0.03233245387673378,
0.0036459590774029493,
0.03368253633379936,
-0.012876970693469048,
-0.0010115306358784437,
0.027710894122719765,
0.05378536507487297,
-0.016242288053035736,
-0.03902134671807289,
-0.05331821367144585,
0.035479139536619186,
0.0026599091943353415,
0.046931054443120956,
0.0494140088558197,
-0.006514378823339939,
-0.030254779383540154,
-0.004901675041764975,
0.004606305155903101,
-0.0375131256878376,
0.04519452154636383,
0.020803866907954216,
0.02024170756340027,
-0.06438872963190079,
-0.03704892098903656,
0.00022769741190131754,
0.013814428821206093,
0.03368847444653511,
0.0033525745384395123,
-0.014131004922091961,
-0.05130632966756821,
0.0021167616359889507,
-0.04296070337295532,
-0.013344991020858288,
-0.10310760140419006,
0.05356144160032272,
-0.00021165648649912328,
-0.016748743131756783,
0.0420229509472847,
0.01651177741587162,
0.0472312830388546,
0.036371637135744095,
-0.02425447292625904,
-0.009151352569460869,
-0.03437328711152077,
0.05592355877161026,
-0.008074959740042686,
-0.04819986969232559,
0.026796404272317886,
-0.06507357954978943,
-0.03737875446677208,
-0.016319284215569496,
-0.035907745361328125,
-0.02493361197412014,
0.005795629229396582,
0.013011575676500797,
-0.010430751368403435,
0.004039978142827749,
-0.025896769016981125,
0.017515910789370537,
-0.033976711332798004,
-0.0040005845949053764,
-0.0247185118496418,
-0.04873345419764519,
-0.06880959868431091,
-0.025299599394202232,
-0.006216616835445166,
-0.016006337478756905,
0.017408616840839386,
-0.006684413645416498,
0.02171310782432556,
-0.006793762557208538,
-0.005966711789369583,
-0.0295843668282032,
0.04450371116399765,
0.014472073875367641,
-0.01122188474982977,
-0.06066906452178955,
0.01952556148171425,
0.012588130310177803,
0.018126150593161583,
-0.012783067300915718,
0.045624908059835434,
0.014114384539425373,
-0.04722028970718384,
-0.022708171978592873,
0.003501960774883628,
0.05723302811384201,
-0.04047036170959473,
-0.05564591661095619,
-0.04440503567457199,
-0.05312458798289299,
0.044933803379535675,
-0.02465485781431198,
-0.005502700340002775,
0.03162149339914322,
0.042198315262794495,
0.01917985826730728,
0.023204058408737183,
-0.02262185327708721,
0.026184292510151863,
-0.026586215943098068,
0.027553824707865715,
-0.06903643906116486,
0.06383015960454941,
-0.03922555595636368,
-0.006716647185385227,
-0.0043361675925552845,
-0.01353386603295803,
-0.03371120244264603,
0.04311969503760338,
0.013495367020368576,
-0.006411310750991106,
-0.01521935872733593,
-0.010319854132831097,
-0.0518205426633358,
0.03846385329961777,
-0.0420868955552578,
0.00753230694681406,
-0.05014383792877197,
0.05216732248663902,
-0.05533359572291374,
0.005399041809141636,
-0.02889183722436428,
0.0026950386818498373,
-0.049283988773822784,
-0.029451021924614906,
-0.019830267876386642,
-0.04177064076066017,
0.049069080501794815,
0.0280046034604311,
0.05231953039765358,
0.055583856999874115,
-0.0005224247579462826,
-0.0015894321259111166,
0.01591874472796917,
-0.05525359511375427,
-0.014915237203240395,
-0.010099177248775959,
0.038191840052604675,
-0.02663731761276722,
0.045780353248119354,
0.011129733175039291,
-0.054373085498809814,
-0.05346958339214325,
0.06193036958575249,
0.024711215868592262,
0.01030220277607441,
0.002666075946763158,
0.03256913647055626,
0.02594698965549469,
0.027603982016444206,
-0.02904599718749523,
0.019344918429851532,
-0.02420702390372753,
-0.027446117252111435,
-0.010074300691485405,
-0.017306407913565636,
-0.03257220610976219,
0.024704625830054283,
-0.03312200307846069,
-0.035407740622758865,
0.06989359110593796,
0.020180756226181984,
0.0017977668903768063,
-0.023633001372218132,
-0.005143335554748774,
0.008187646046280861,
0.02126055583357811,
-0.07169168442487717,
-0.012472262606024742,
-0.025382859632372856,
-0.027477864176034927,
0.10456063598394394,
-0.014126196503639221,
0.03210556134581566,
0.038934480398893356,
0.01850137487053871,
-0.0034854193218052387,
0.04402755945920944,
-0.03304844722151756,
0.0035193765070289373,
0.031015081331133842,
-0.053519487380981445,
0.013427392579615116,
0.0015623875660821795,
0.06763904541730881,
-0.019687045365571976,
0.07525938004255295,
0.01750958152115345,
0.015149734914302826,
0.003827091073617339,
-0.04413829743862152,
0.0013204679125919938,
0.00026490582968108356,
-0.013622339814901352,
0.0661676675081253,
0.018896758556365967,
-0.01818947307765484,
0.07096439599990845,
0.02670220099389553,
-0.08259495347738266,
0.034610360860824585,
0.04973743110895157,
0.03836774826049805,
0.025348208844661713,
0.010440275073051453,
-0.042196907103061676,
-0.00560991745442152,
-0.03012099862098694,
-0.016737857833504677,
-0.01834026351571083,
-0.001503871288150549,
0.013068001717329025,
-0.055863793939352036,
-0.007253696210682392,
0.009563379921019077,
-0.024951264262199402,
-0.014737779274582863,
0.04153244197368622,
-0.05761634558439255,
-0.042704224586486816,
-0.018378758803009987,
0.00475770840421319,
-0.04687667265534401,
0.04620109871029854,
-0.05101393163204193,
-0.0019001149339601398,
0.012309415265917778,
-0.0013123818207532167,
0.0007889458211138844,
-0.005634590517729521,
0.03129049390554428,
-0.0618300698697567,
-0.026053834706544876,
0.06274775415658951,
-0.003408833872526884,
0.02233775146305561,
0.025437278673052788,
0.01268928311765194,
0.006877698004245758,
0.02070743404328823,
-0.012557893991470337,
0.007341582328081131,
-0.027420002967119217,
-0.00824320875108242,
0.047543320804834366,
0.0039364127442240715,
0.022573333233594894,
-0.03311549499630928,
0.003962014336138964,
0.03836081176996231,
0.02789328061044216,
-0.017401471734046936,
-0.03539479151368141,
0.0026622985024005175,
0.017249327152967453,
-0.04532648250460625,
0.001352089922875166,
0.002813089406117797,
-0.014597432687878609,
-0.03970532491803169,
-0.01694897562265396,
0.00705344183370471,
0.018891774117946625,
-0.03168241307139397,
-0.001069204299710691,
0.018376745283603668,
-0.016978619620203972,
0.007792001590132713,
-0.10070991516113281,
-0.03484351187944412,
-0.01892843283712864,
0.02799096144735813,
0.0028259132523089647,
-0.016012124717235565,
0.05208567529916763,
-0.057594891637563705,
-0.06744971871376038,
0.0373496375977993,
0.024063654243946075,
-0.0502682700753212,
0.0730973407626152,
0.006883458700031042,
-0.016756007447838783,
0.0359581783413887,
0.05284091457724571,
-0.06186020001769066,
0.00985058955848217,
0.04010786861181259,
0.032361943274736404,
0.009914950467646122,
0.06283111870288849,
-0.05323547497391701,
-0.01655278168618679,
-0.0604700967669487,
-0.036414939910173416,
-0.05987393856048584,
0.008860679343342781,
0.06473620235919952
] |
Brunomezenga/NN | [] | 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:
- gpt2
---
# CRiPT Model Large (Critical Thinking Intermediarily Pretrained Transformer)
Large version of the trained model (`SYL01-2020-10-24-72K/gpt2-large-train03-72K`) presented in the paper "Critical Thinking for Language Models" (Betz, Voigt and Richardson 2020). See also:
* [blog entry](https://debatelab.github.io/journal/critical-thinking-language-models.html)
* [GitHub repo](https://github.com/debatelab/aacorpus)
* [paper](https://arxiv.org/pdf/2009.07185) | [
-0.025122733786702156,
-0.014470044523477554,
-0.017515525221824646,
0.04283769056200981,
0.02954326570034027,
0.029204418882727623,
-0.00832990650087595,
-0.006104305386543274,
-0.007923812605440617,
0.0434425063431263,
0.01143271941691637,
-0.029327992349863052,
-0.011099928990006447,
0.03972272202372551,
-0.03958876430988312,
-0.03558557108044624,
-0.010105284862220287,
0.020721400156617165,
-0.029690345749258995,
-0.04452567920088768,
-0.00956631451845169,
-0.007964512333273888,
-0.0029534907080233097,
0.01117799710482359,
-0.0036377140786498785,
0.024144476279616356,
-0.007207570597529411,
0.005454970523715019,
0.01683661714196205,
-0.08738262951374054,
-0.003203701227903366,
-0.06604911386966705,
-0.02480425126850605,
0.01948658563196659,
-0.014475730247795582,
0.002411740133538842,
0.004177419003099203,
0.008528374135494232,
0.024633944034576416,
0.064515620470047,
-0.0013549459399655461,
-0.006810250226408243,
-0.009506074711680412,
-0.03614425286650658,
0.062012337148189545,
-0.01366011705249548,
-0.01069888286292553,
-0.043027326464653015,
0.026966499164700508,
0.0037856565322726965,
-0.05652741342782974,
-0.0824495330452919,
-0.03037014603614807,
0.022851357236504555,
0.0001975752820726484,
-0.030381055548787117,
-0.05579620972275734,
0.010741767473518848,
0.06400648504495621,
-0.06929332762956619,
-0.015276536345481873,
0.022653421387076378,
-0.052978575229644775,
0.01450075302273035,
0.026035385206341743,
-0.055241893976926804,
-0.011156289838254452,
-0.0202091746032238,
0.03622931241989136,
-0.010343565605580807,
0.07139808684587479,
-0.016516966745257378,
0.012696960009634495,
-0.09738563746213913,
-0.029334185644984245,
-0.00413712952286005,
0.029394138604402542,
0.054085247218608856,
-0.027387915179133415,
0.02563534677028656,
0.04141359031200409,
0.025554180145263672,
0.03435932472348213,
-0.0254940465092659,
-0.010408577509224415,
0.039792560040950775,
-0.06686150282621384,
-0.016708286479115486,
0.015267807990312576,
0.06467235833406448,
-0.04596734046936035,
-0.03636595234274864,
-0.03993050381541252,
-0.006615027319639921,
-0.010826852172613144,
0.016296666115522385,
0.0515102818608284,
-0.04075637832283974,
0.053070347756147385,
0.0304168201982975,
0.05929649621248245,
0.05854517221450806,
-0.013790404424071312,
0.04968312755227089,
0.012419970706105232,
0.004416806157678366,
-0.007195976097136736,
-0.007040377706289291,
-0.029978008940815926,
0.060355618596076965,
0.01217077299952507,
-0.02892397716641426,
-0.025393201038241386,
0.028755543753504753,
0.023589543998241425,
-0.017644792795181274,
0.05168159306049347,
-0.034647680819034576,
-0.04982076212763786,
-0.049889035522937775,
0.02828698232769966,
0.011059450916945934,
-0.019456157460808754,
0.03130360320210457,
-0.06912225484848022,
0.01580960676074028,
-0.02204960770905018,
-0.03326177969574928,
-0.015029641799628735,
-0.013994504697620869,
-0.018011391162872314,
0.021847357973456383,
0.05396801978349686,
-0.03536297753453255,
-0.008356200531125069,
0.012106110341846943,
-0.07506182789802551,
0.015875520184636116,
0.015033888630568981,
0.11315716058015823,
-0.08648542314767838,
-0.026169393211603165,
0.04042859002947807,
0.003946460783481598,
-0.02211717516183853,
0.00689490744844079,
0.0035381135530769825,
-0.05709797888994217,
-0.052936144173145294,
-0.031187454238533974,
0.0649418830871582,
-0.07334700226783752,
-0.011305436491966248,
0.059583913534879684,
-0.01284786593168974,
0.02927737683057785,
-0.03791580721735954,
-0.00897004920989275,
0.004428158979862928,
0.005926710087805986,
-0.05802566930651665,
0.038141053169965744,
-0.013416057452559471,
-0.0008696999866515398,
-0.07933267951011658,
-0.043008409440517426,
0.021677294746041298,
0.07657349109649658,
-0.005644673481583595,
-0.019148869439959526,
-0.01383842434734106,
0.00105813960544765,
0.034326400607824326,
0.04307422414422035,
-0.027515551075339317,
0.04907975345849991,
0.06164787337183952,
0.045861825346946716,
-0.006523415446281433,
0.07415229082107544,
0.022174997255206108,
-0.04768410325050354,
-0.029085936024785042,
0.009198195300996304,
0.007623635698109865,
-0.02656954526901245,
0.008359331637620926,
0.008653189055621624,
0.009242516942322254,
-0.023995215073227882,
0.006456506904214621,
0.07553625851869583,
0.0118628004565835,
-0.023668570443987846,
0.012495591305196285,
-0.005392913240939379,
-0.0338025726377964,
0.037850525230169296,
-0.035067904740571976,
0.009365840815007687,
-0.03874784708023071,
-0.012512251734733582,
0.01945539191365242,
0.027774164453148842,
0.02240990847349167,
0.027613291516900063,
-0.03537505865097046,
0.06698796153068542,
-0.03773728013038635,
-0.0010689105838537216,
-0.03888041898608208,
-0.03556770086288452,
-0.03072069026529789,
0.05527782812714577,
0.0041276984848082066,
0.031185023486614227,
-0.0048651015385985374,
-0.048011817038059235,
0.046031054109334946,
0.08245106786489487,
0.053278662264347076,
0.027583712711930275,
-0.00880597997456789,
0.002831478836014867,
-0.004350568167865276,
0.05988309904932976,
-0.041053738445043564,
-0.025922954082489014,
0.039757147431373596,
0.025823112577199936,
-0.030233729630708694,
0.019209837540984154,
-0.050289053469896317,
0.00909668579697609,
-0.03334489464759827,
-0.03472256660461426,
0.03788471221923828,
0.04602397605776787,
0.008254037238657475,
0.01832522824406624,
-0.007272284012287855,
-0.000034065553336404264,
0.010376899503171444,
0.0045056152157485485,
0.023151034489274025,
-0.054771728813648224,
-0.0015946856001392007,
0.018566664308309555,
0.053289275616407394,
-0.036471880972385406,
0.04000755399465561,
0.007131943944841623,
0.025072917342185974,
0.0440392941236496,
0.003745283465832472,
0.046783290803432465,
0.025820324197411537,
0.030146408826112747,
-0.022094588726758957,
0.011931268498301506,
-0.024442128837108612,
0.032943520694971085,
0.05517091974616051,
0.007527186535298824,
0.053341515362262726,
-0.017680352553725243,
0.06393858045339584,
0.08087549358606339,
0.024022839963436127,
0.01670719124376774,
0.024272004142403603,
0.06046807020902634,
-0.02956465631723404,
-0.022341446951031685,
0.03697091341018677,
-0.03998042643070221,
0.03483523055911064,
-0.04354449361562729,
0.03544740751385689,
-0.01746634766459465,
-0.023249777033925056,
0.05495959147810936,
0.00629551662132144,
-0.02670052833855152,
0.035891253501176834,
-0.045194704085588455,
-0.02516140043735504,
0.038369711488485336,
-0.005031689535826445,
-0.009454237297177315,
0.011786043643951416,
-0.012701068073511124,
0.005287783220410347,
-0.05815894529223442,
-0.047068335115909576,
0.004675811622291803,
-0.061201829463243484,
0.0026625567115843296,
-0.06322117894887924,
-0.031555984169244766,
-0.058704521507024765,
-0.011871793307363987,
0.04605238884687424,
0.007738474756479263,
-0.015826109796762466,
-0.024589691311120987,
0.03926774114370346,
-0.028849443420767784,
-0.005540452431887388,
-0.0361994169652462,
-0.057726263999938965,
-0.030457690358161926,
-0.06788665801286697,
0.04236816242337227,
0.011741635389626026,
0.04472552612423897,
-0.024674324318766594,
-0.004811616148799658,
-0.04250684380531311,
-0.04018188640475273,
0.047314852476119995,
0.03717859834432602,
-0.051432181149721146,
-0.04227498173713684,
0.03909310698509216,
-0.0034145412500947714,
0.021980801597237587,
0.0024861826095730066,
-0.03862571343779564,
0.07060535252094269,
0.07645600289106369,
0.037759434431791306,
0.00589007930830121,
-0.021769290789961815,
-0.05967571958899498,
-0.05968732759356499,
-0.023423265665769577,
-0.024955911561846733,
0.001888976083137095,
-0.0318683460354805,
-0.034459713846445084,
-0.00862688384950161,
-0.0384942963719368,
-0.010182765312492847,
0.007929084822535515,
-0.002452236134558916,
0.02909715473651886,
0.03217984735965729,
0.03189291059970856,
0.016760654747486115,
-0.04698092117905617,
-0.02366773784160614,
0.057119689881801605,
0.009944318793714046,
0.0124822948127985,
-0.05467407405376434,
-0.032879773527383804,
0.0338883250951767,
0.03700840473175049,
-0.000708123785443604,
-0.016599759459495544,
0.0620947927236557,
0.013573285192251205,
0.008989672176539898,
0.02398005686700344,
-0.013866372406482697,
-0.004234567284584045,
-0.018440715968608856,
0.006822466850280762,
-0.027154378592967987,
-0.041587650775909424,
-0.0222148597240448,
-0.02388790249824524,
0.05780044198036194,
-0.050469014793634415,
-0.09148640930652618,
-0.015051083639264107,
0.011522378772497177,
0.003768032416701317,
-0.009843946434557438,
-0.02216172032058239,
-0.01742863841354847,
-0.03636723756790161,
-0.012577418237924576,
0.011419422924518585,
-0.007260714191943407,
0.0005239553283900023,
0.051321834325790405,
0.019406097009778023,
-0.015214839950203896,
0.01833074912428856,
0.01261098962277174,
0.050782542675733566,
0.0245171170681715,
-0.05036723613739014,
0.010059468448162079,
-0.025980014353990555,
0.032757718116045,
0.006594831123948097,
-0.02410862222313881,
-0.04909845069050789,
-0.07903921604156494,
-0.018603654578328133,
0.008997988887131214,
-0.0337010957300663,
0.013107694685459137,
0.045750223100185394,
0.0051431008614599705,
0.0011243391782045364,
0.012567457742989063,
0.02001442201435566,
0.052540119737386703,
-0.05221410468220711,
0.04282672703266144,
-0.015330174006521702,
0.04929884523153305,
-0.04717477783560753,
0.012573367916047573,
-0.033700909465551376,
-0.007137121632695198,
-0.01159629225730896,
0.050300292670726776,
0.026453813537955284,
0.0768750011920929,
0.09718456864356995,
0.025367723777890205,
-0.016165200620889664,
0.010077388025820255,
0.03873921558260918,
-0.005784742999821901,
-0.021859927102923393,
-0.008579171262681484,
-0.009714972227811813,
-0.043602462857961655,
-0.006863898131996393,
-0.011008952744305134,
0.0219900980591774,
0.03922351822257042,
0.013204952701926231,
-0.009914016351103783,
0.009106665849685669,
-0.030768463388085365,
-0.03869161009788513,
-0.0665905624628067,
-0.0027934235986322165,
0.004846398252993822,
-0.00020176191173959523,
0.028179839253425598,
0.04926352575421333,
0.02206488884985447,
0.06731635332107544,
0.05209794268012047,
-0.025241514667868614,
-0.043796151876449585,
0.02263476513326168,
0.028148122131824493,
-0.03657636418938637,
-0.046548131853342056,
-0.04857936501502991,
0.04942949488759041,
0.04990939795970917,
-0.013458862900733948,
-0.08437160402536392,
0.01347313355654478,
0.06607991456985474,
-0.04584599658846855,
0.07965061068534851,
0.0057259369641542435,
0.036634236574172974,
0.04086817428469658,
-0.01421354990452528,
0.0107224490493536,
-0.040394920855760574,
0.016300862655043602,
0.0012632696889340878,
0.023242967203259468,
-0.04997250437736511,
-0.03406783938407898,
-0.07482795417308807,
0.024294806644320488,
0.04125915840268135,
0.06298641860485077,
0.0546891912817955,
-0.027171824127435684,
-0.04331497848033905,
0.01597532443702221,
0.03358215093612671,
-0.03177521750330925,
0.014931518584489822,
0.027824431657791138,
0.03203417360782623,
-0.032925788313150406,
-0.028194447979331017,
-0.023816071450710297,
0.006263197399675846,
0.02406872808933258,
-0.022282877936959267,
-0.04930760711431503,
-0.048426058143377304,
0.017585959285497665,
-0.04518164321780205,
-0.009395265020430088,
-0.10684046894311905,
0.02782592922449112,
-0.04637673869729042,
-0.023701567202806473,
0.06821560114622116,
0.023969382047653198,
0.03459293767809868,
0.05800413712859154,
-0.014350133948028088,
-0.003783103544265032,
-0.04443870112299919,
0.033379316329956055,
-0.013614937663078308,
-0.008819574490189552,
0.0020251816604286432,
-0.0034494255669414997,
0.0032033338211476803,
-0.053768571466207504,
-0.03922139108181,
-0.03848765790462494,
-0.029555412009358406,
0.006499116774648428,
-0.011610855348408222,
0.01201724261045456,
-0.007706927601248026,
0.043567243963479996,
-0.02083008922636509,
-0.027280300855636597,
-0.012554707005620003,
-0.04104585945606232,
-0.0947122573852539,
-0.046073075383901596,
0.01791165955364704,
0.024844711646437645,
0.02114107273519039,
0.008320499211549759,
-0.007097634486854076,
0.017451342195272446,
0.0015336244832724333,
-0.025594841688871384,
0.045029833912849426,
0.014894523657858372,
-0.0394216850399971,
-0.0664573386311531,
-0.006501395255327225,
0.002438225317746401,
0.02982732653617859,
-0.038623373955488205,
0.033994004130363464,
0.002794058294966817,
-0.02260301448404789,
-0.020301487296819687,
0.013728081248700619,
0.034928832203149796,
-0.04281000420451164,
-0.049639564007520676,
-0.019028007984161377,
-0.046356987208127975,
0.04293922334909439,
-0.055386099964380264,
-0.0444038100540638,
0.03815501555800438,
0.04959360510110855,
0.047992683947086334,
-0.004708572290837765,
-0.019558647647500038,
0.010903457179665565,
-0.03480658680200577,
0.019279200583696365,
-0.04537145793437958,
0.03008459508419037,
-0.05266406014561653,
0.03292329981923103,
-0.022738013416528702,
0.007329395040869713,
-0.04985747113823891,
0.03325018659234047,
-0.00721104396507144,
0.018698371946811676,
-0.029853759333491325,
-0.005002445075660944,
-0.03540155664086342,
0.049551624804735184,
-0.0011762192007154226,
0.015428864397108555,
-0.020038679242134094,
0.044635873287916183,
-0.07274911552667618,
-0.0011041994439437985,
-0.05131208524107933,
0.008964289911091328,
-0.03574080392718315,
-0.022243045270442963,
-0.007513557560741901,
-0.043032240122556686,
0.03936830163002014,
0.021864181384444237,
0.015124679543077946,
0.026839662343263626,
-0.004548151046037674,
0.004033726640045643,
0.03262444585561752,
-0.06629645079374313,
-0.04463757202029228,
-0.03243318200111389,
0.016078466549515724,
-0.016857564449310303,
0.07449671626091003,
0.02714388631284237,
-0.039624735713005066,
-0.06039289012551308,
0.025196218863129616,
0.022749466821551323,
0.016864251345396042,
-0.003035204019397497,
0.019000234082341194,
0.01351253967732191,
0.030951866880059242,
-0.021969681605696678,
0.008839305490255356,
-0.00915022473782301,
-0.012420057319104671,
0.004495111294090748,
-0.00725024938583374,
0.016674993559718132,
-0.015592964366078377,
-0.046991653740406036,
-0.01857999712228775,
0.0771583616733551,
0.008566422387957573,
-0.003540908684954047,
0.0018450906500220299,
-0.04713309928774834,
0.011929997242987156,
0.005715040490031242,
-0.06085808947682381,
0.009523905813694,
-0.010399200953543186,
-0.04024486988782883,
0.09377435594797134,
-0.027515940368175507,
0.03593413904309273,
0.05181535333395004,
0.023254461586475372,
0.005234808661043644,
0.020974336192011833,
-0.013749905861914158,
0.0023814402520656586,
0.0347784198820591,
-0.053212061524391174,
0.003390922211110592,
-0.016778692603111267,
0.058748532086610794,
-0.061946094036102295,
0.032033052295446396,
0.04969844967126846,
0.02284833788871765,
-0.0005011517205275595,
-0.054181620478630066,
-0.06477043777704239,
-0.0013934859307482839,
-0.023665213957428932,
0.06212335452437401,
0.01644725725054741,
-0.05760108679533005,
0.06168469786643982,
0.024024568498134613,
-0.10031256079673767,
0.04902607575058937,
0.031743329018354416,
0.052998412400484085,
0.036236610263586044,
0.030492298305034637,
-0.042773179709911346,
0.020300444215536118,
-0.02138182707130909,
0.013747574761509895,
-0.03244755044579506,
-0.0013782473979517817,
0.002654185052961111,
-0.03532779589295387,
-0.0026616649702191353,
0.010127815417945385,
-0.02020650915801525,
-0.007777446880936623,
0.03171943128108978,
-0.04533375799655914,
-0.04585333913564682,
-0.017037859186530113,
0.003981627058237791,
-0.008367794565856457,
0.036456398665905,
-0.03556666523218155,
0.01958089880645275,
0.013142144307494164,
-0.029955008998513222,
-0.010281970724463463,
0.007393353618681431,
0.03123566322028637,
-0.05609607324004173,
-0.025094296783208847,
0.03320571035146713,
-0.00624798983335495,
-0.022281071171164513,
0.04440757632255554,
-0.01635112427175045,
0.009691408835351467,
0.007091152481734753,
-0.009042734280228615,
0.00524534098803997,
-0.03817030414938927,
-0.016783183440566063,
0.010030183009803295,
0.021130239591002464,
0.0365617536008358,
-0.03766236454248428,
0.032315291464328766,
0.05842334032058716,
0.04553305730223656,
-0.03674598038196564,
-0.033234141767024994,
-0.019638095051050186,
-0.004383148159831762,
-0.021275445818901062,
0.00925466138869524,
0.012048576027154922,
-0.06071082130074501,
-0.03684025630354881,
-0.04665767401456833,
0.009684432297945023,
0.027381375432014465,
-0.03928327187895775,
-0.00637791445478797,
0.043001264333724976,
-0.02552078850567341,
-0.031252846121788025,
-0.0748792514204979,
0.004566513001918793,
-0.02464834600687027,
0.031025594100356102,
0.017623059451580048,
-0.04237235710024834,
0.024387115612626076,
-0.025728978216648102,
-0.07066281884908676,
0.031437259167432785,
0.013311690650880337,
-0.03422169014811516,
0.08230357617139816,
0.039417024701833725,
-0.013746081851422787,
0.03882806375622749,
0.03490251675248146,
-0.06250659376382828,
0.029999466612935066,
0.0380653440952301,
0.01781778782606125,
0.011368833482265472,
0.015498626045882702,
-0.032912734895944595,
-0.0018300400115549564,
-0.07363447546958923,
-0.02728213369846344,
-0.03621150925755501,
0.0033827638253569603,
0.059220194816589355
] |
Bryan190/Aguy190 | [] | 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:
- gpt2
---
# CRiPT Model Medium (Critical Thinking Intermediarily Pretrained Transformer)
Medium version of the trained model (`SYL01-2020-10-24-72K/gpt2-medium-train03-72K`) presented in the paper "Critical Thinking for Language Models" (Betz, Voigt and Richardson 2020). See also:
* [blog entry](https://debatelab.github.io/journal/critical-thinking-language-models.html)
* [GitHub repo](https://github.com/debatelab/aacorpus)
* [paper](https://arxiv.org/pdf/2009.07185) | [
-0.022611213847994804,
-0.011443696916103363,
-0.021155275404453278,
0.04145200178027153,
0.030334126204252243,
0.038670603185892105,
-0.006437879987061024,
-0.001079272828064859,
-0.01166496705263853,
0.043965794146060944,
0.011534743010997772,
-0.030366074293851852,
-0.010773786343634129,
0.032989948987960815,
-0.04308535158634186,
-0.0373382493853569,
-0.011174916289746761,
0.0201189573854208,
-0.024599485099315643,
-0.043365225195884705,
-0.0048512923531234264,
-0.006217868532985449,
-0.006778817158192396,
0.008957409299910069,
-0.0057410006411373615,
0.023567290976643562,
-0.014542685821652412,
0.007652446627616882,
0.01683061756193638,
-0.08366677165031433,
-0.006092467345297337,
-0.06449186056852341,
-0.025364534929394722,
0.020191848278045654,
-0.011851334013044834,
0.002223889110609889,
-0.0017045153072103858,
0.009465145878493786,
0.022550970315933228,
0.06968975067138672,
-0.0027381882537156343,
-0.00650445744395256,
-0.015623693354427814,
-0.03685570880770683,
0.06145992502570152,
-0.010407501831650734,
-0.007389238569885492,
-0.03866931423544884,
0.03484963998198509,
-0.0015138566959649324,
-0.0570320226252079,
-0.08016301691532135,
-0.029402218759059906,
0.023663261905312538,
-0.004589928314089775,
-0.03234022855758667,
-0.0587189607322216,
0.010727817192673683,
0.06511203199625015,
-0.06590088456869125,
-0.013506492599844933,
0.025948043912649155,
-0.05668363347649574,
0.014682040549814701,
0.025283733382821083,
-0.05537085235118866,
-0.011643354780972004,
-0.020124725997447968,
0.032204680144786835,
-0.01076673436909914,
0.07338275015354156,
-0.01993424817919731,
0.014381387270987034,
-0.0947456955909729,
-0.03428059071302414,
-0.009568454697728157,
0.03282763808965683,
0.051316872239112854,
-0.028902459889650345,
0.027377385646104813,
0.03995921462774277,
0.024800436571240425,
0.03984049707651138,
-0.03165017068386078,
-0.011276889592409134,
0.03799039125442505,
-0.060716621577739716,
-0.01924825832247734,
0.01632968708872795,
0.059750549495220184,
-0.04465053230524063,
-0.03549410402774811,
-0.04018286615610123,
-0.003892616368830204,
-0.007127729244530201,
0.01846994459629059,
0.0503450483083725,
-0.04441934823989868,
0.05641220510005951,
0.03204519301652908,
0.05623532459139824,
0.06444477289915085,
-0.012659212574362755,
0.04516351595520973,
0.007121544796973467,
0.007494796998798847,
-0.005743797402828932,
-0.01218202244490385,
-0.031816523522138596,
0.05858149752020836,
0.00679846340790391,
-0.02630436047911644,
-0.027106432244181633,
0.034140292555093765,
0.021396100521087646,
-0.0207805372774601,
0.05053984746336937,
-0.03105386160314083,
-0.051766011863946915,
-0.05442375689744949,
0.03676193580031395,
0.011259184218943119,
-0.019969144836068153,
0.033043015748262405,
-0.06504034996032715,
0.017819155007600784,
-0.01653940975666046,
-0.033452391624450684,
-0.01634487509727478,
-0.013389557600021362,
-0.01660851575434208,
0.024463007226586342,
0.05474848300218582,
-0.032237790524959564,
-0.006869157776236534,
0.005318096373230219,
-0.07234865427017212,
0.016349313780665398,
0.015386389568448067,
0.1136239692568779,
-0.08804091066122055,
-0.025440379977226257,
0.036619190126657486,
0.0046839527785778046,
-0.021398436278104782,
0.007524949498474598,
0.006217095069587231,
-0.05498019605875015,
-0.050496142357587814,
-0.02726343646645546,
0.062404826283454895,
-0.06987672299146652,
-0.010177753865718842,
0.058323487639427185,
-0.010683243162930012,
0.027012817561626434,
-0.03834972530603409,
-0.004654612857848406,
0.005948175210505724,
0.006859713699668646,
-0.06190185621380806,
0.03465502709150314,
-0.012954538688063622,
-0.0055531663820147514,
-0.07757409662008286,
-0.04757549241185188,
0.020897842943668365,
0.07422119379043579,
-0.006817915011197329,
-0.01975691132247448,
-0.015247859992086887,
-0.0035524731501936913,
0.034095942974090576,
0.04330989345908165,
-0.02768240123987198,
0.04832235351204872,
0.06302345544099808,
0.045226506888866425,
-0.011857752688229084,
0.07952798902988434,
0.018037812784314156,
-0.04314524680376053,
-0.02812434360384941,
0.005078432150185108,
0.008625567890703678,
-0.025369927287101746,
0.007506419438868761,
0.006912123411893845,
0.010784843936562538,
-0.019718550145626068,
0.0053349444642663,
0.0678219124674797,
0.002083500847220421,
-0.020943352952599525,
0.013658490963280201,
-0.01107308454811573,
-0.03639871999621391,
0.039727017283439636,
-0.035184599459171295,
0.010123132728040218,
-0.040976382791996,
-0.011411077342927456,
0.01829083077609539,
0.028974568471312523,
0.026464739814400673,
0.024220623075962067,
-0.030463339760899544,
0.06764206290245056,
-0.035493653267621994,
-0.0008312485297210515,
-0.03738751262426376,
-0.03914187103509903,
-0.03156308829784393,
0.05922875553369522,
0.0036677962634712458,
0.0338817797601223,
-0.006931626237928867,
-0.05231741815805435,
0.04385356977581978,
0.08087751269340515,
0.048323921859264374,
0.025013644248247147,
-0.011867250315845013,
0.0029009422287344933,
-0.0023695947602391243,
0.06315898150205612,
-0.04666391760110855,
-0.02904883772134781,
0.03821894899010658,
0.02848135679960251,
-0.03210154175758362,
0.015404999256134033,
-0.048649683594703674,
0.009627711027860641,
-0.030913591384887695,
-0.037615817040205,
0.03866659849882126,
0.04421403631567955,
0.010038789361715317,
0.01808139681816101,
-0.001971980556845665,
0.0018540811724960804,
0.012434192933142185,
0.005705598741769791,
0.02369900979101658,
-0.05761636793613434,
-0.001714141108095646,
0.01746060512959957,
0.058300819247961044,
-0.031601160764694214,
0.04152736812829971,
0.009754771366715431,
0.02750391885638237,
0.04101740941405296,
-0.0017957775853574276,
0.04905208200216293,
0.0204327329993248,
0.03099657967686653,
-0.027348605915904045,
0.009542904794216156,
-0.025021089240908623,
0.03487471491098404,
0.05566788837313652,
0.007120876107364893,
0.05459719896316528,
-0.016949819400906563,
0.06165506690740585,
0.08200913667678833,
0.02519681490957737,
0.017699863761663437,
0.023322923108935356,
0.058944813907146454,
-0.030020371079444885,
-0.023626767098903656,
0.03777299448847771,
-0.04004915431141853,
0.031956251710653305,
-0.04164617136120796,
0.03722023591399193,
-0.019773095846176147,
-0.02188253216445446,
0.058653511106967926,
0.005224969238042831,
-0.027030030265450478,
0.040454670786857605,
-0.03943284600973129,
-0.022801099345088005,
0.03803933411836624,
-0.009025918319821358,
-0.01033065840601921,
0.009932361543178558,
-0.014140624552965164,
0.00923153106123209,
-0.05906086415052414,
-0.04774698242545128,
0.005872000474482775,
-0.06025464087724686,
0.004227090626955032,
-0.06325265765190125,
-0.03255650773644447,
-0.05493433028459549,
-0.013327282853424549,
0.04476875439286232,
0.004272012505680323,
-0.011066587641835213,
-0.02251918986439705,
0.03918931633234024,
-0.026993436738848686,
-0.00806562788784504,
-0.036719419062137604,
-0.05911117419600487,
-0.02958819828927517,
-0.06942125409841537,
0.04079579561948776,
0.014528478495776653,
0.0417054109275341,
-0.023632558062672615,
-0.004927834961563349,
-0.040129464119672775,
-0.03571993112564087,
0.0431651808321476,
0.03859531506896019,
-0.05327131599187851,
-0.04054864123463631,
0.040717534720897675,
-0.004268019925802946,
0.027699070051312447,
0.0084297526627779,
-0.04066859185695648,
0.07055582851171494,
0.0716460719704628,
0.039559829980134964,
0.005990246776491404,
-0.017335353419184685,
-0.058412835001945496,
-0.06605874001979828,
-0.020433751866221428,
-0.027732929214835167,
-0.0037256658542901278,
-0.018506471067667007,
-0.037243038415908813,
-0.015688853338360786,
-0.03796155005693436,
-0.009476316161453724,
0.004529907833784819,
0.003267831401899457,
0.033479202538728714,
0.03237355127930641,
0.035317257046699524,
0.021994100883603096,
-0.0442296639084816,
-0.02032611519098282,
0.05562370643019676,
0.011289633810520172,
0.00563923642039299,
-0.055452149361371994,
-0.03533872961997986,
0.035259075462818146,
0.03717818483710289,
0.0022369090002030134,
-0.013936726376414299,
0.0678153857588768,
0.011978242546319962,
0.0023405407555401325,
0.02137969620525837,
-0.008853577077388763,
-0.004252205602824688,
-0.016101712360978127,
0.007476434577256441,
-0.031113460659980774,
-0.04166877642273903,
-0.029118653386831284,
-0.01578536629676819,
0.061246320605278015,
-0.047054946422576904,
-0.08959260582923889,
-0.008378349244594574,
0.013810216449201107,
0.004776544403284788,
-0.009211454540491104,
-0.022665536031126976,
-0.01352582685649395,
-0.032960645854473114,
-0.017515098676085472,
0.015402811579406261,
-0.007575012277811766,
-0.004366785287857056,
0.04532968997955322,
0.025421716272830963,
-0.01794951781630516,
0.01449978444725275,
0.010654429905116558,
0.04703304544091225,
0.02373136393725872,
-0.049824152141809464,
0.015338463708758354,
-0.02646336890757084,
0.03644047677516937,
0.007886731065809727,
-0.025084534659981728,
-0.049741022288799286,
-0.08362323045730591,
-0.016469120979309082,
0.010197541676461697,
-0.028737729415297508,
0.011815047822892666,
0.04829822853207588,
0.0035530002787709236,
-0.0019468830432742834,
0.012405741959810257,
0.02048296481370926,
0.05998248606920242,
-0.048789385706186295,
0.04533272609114647,
-0.019194217398762703,
0.05344614386558533,
-0.051520638167858124,
0.01263874676078558,
-0.03154168650507927,
-0.013530743308365345,
-0.009135629050433636,
0.05078333243727684,
0.018560832366347313,
0.07298093289136887,
0.09662730246782303,
0.02552458643913269,
-0.016971975564956665,
0.012774818576872349,
0.0377800278365612,
-0.008295987732708454,
-0.023153766989707947,
-0.011803718283772469,
-0.009940214455127716,
-0.04170577973127365,
-0.005883030593395233,
-0.014994185417890549,
0.019926466047763824,
0.03861898556351662,
0.010764747858047485,
-0.012301357463002205,
0.011040819808840752,
-0.029960433021187782,
-0.03855285421013832,
-0.06807968020439148,
-0.0060951984487473965,
0.00769050745293498,
-0.0025783423334360123,
0.034875091165304184,
0.04504264518618584,
0.01985851861536503,
0.06860550493001938,
0.05105188116431236,
-0.024684134870767593,
-0.04733380302786827,
0.021646127104759216,
0.02672761306166649,
-0.03221302479505539,
-0.04785792529582977,
-0.04877268522977829,
0.04542800411581993,
0.05511099472641945,
-0.016436195001006126,
-0.08277688920497894,
0.018092745915055275,
0.06682723015546799,
-0.04259472340345383,
0.08166757225990295,
0.004876726772636175,
0.032633863389492035,
0.034741345793008804,
-0.012891951017081738,
0.0092094037681818,
-0.04187507554888725,
0.01285674050450325,
-0.0031172526068985462,
0.019507694989442825,
-0.052472714334726334,
-0.03454480692744255,
-0.07866855710744858,
0.023442178964614868,
0.03516577556729317,
0.05943605303764343,
0.05246306583285332,
-0.030438939109444618,
-0.044490911066532135,
0.01759188622236252,
0.029071364551782608,
-0.03350771963596344,
0.01552659459412098,
0.03709222003817558,
0.03298307582736015,
-0.035861749202013016,
-0.028299521654844284,
-0.02225567400455475,
0.004750855267047882,
0.024174677208065987,
-0.020033152773976326,
-0.047406986355781555,
-0.0408155731856823,
0.01845448650419712,
-0.03921850770711899,
-0.005947385914623737,
-0.10985834151506424,
0.028823811560869217,
-0.05124024674296379,
-0.026499301195144653,
0.07243837416172028,
0.02522769384086132,
0.03123636730015278,
0.0566658191382885,
-0.014054025523364544,
0.0018083509057760239,
-0.044538713991642,
0.037640225142240524,
-0.011649290099740028,
-0.012144047766923904,
0.0009676031186245382,
-0.005913868546485901,
0.003479963168501854,
-0.05145350471138954,
-0.034894898533821106,
-0.042721059173345566,
-0.02721540257334709,
0.007888233289122581,
-0.012731393799185753,
0.013207557611167431,
-0.0073690819554030895,
0.04102706536650658,
-0.020607689395546913,
-0.027782004326581955,
-0.007246359717100859,
-0.041626397520303726,
-0.1005808413028717,
-0.04936053231358528,
0.017593836411833763,
0.022527020424604416,
0.025447385385632515,
0.004866044502705336,
-0.010587544180452824,
0.021861260756850243,
0.004322165623307228,
-0.019578775390982628,
0.04516184329986572,
0.016789516434073448,
-0.037350546568632126,
-0.06677987426519394,
-0.005417883861809969,
-0.0018339342204853892,
0.02632451057434082,
-0.03603293374180794,
0.036698177456855774,
0.0016750572249293327,
-0.023958871141076088,
-0.020905751734972,
0.01041381061077118,
0.03866935521364212,
-0.04032300040125847,
-0.05239889770746231,
-0.02375248447060585,
-0.05114273726940155,
0.03859061002731323,
-0.058263737708330154,
-0.04842769727110863,
0.033527035266160965,
0.047279104590415955,
0.04633880779147148,
-0.0032233786769211292,
-0.021032242104411125,
0.01139837596565485,
-0.03133475035429001,
0.018250636756420135,
-0.04620710387825966,
0.0229969285428524,
-0.05301455408334732,
0.029218047857284546,
-0.02063642628490925,
0.009976623579859734,
-0.04941137135028839,
0.0372406467795372,
-0.007955152541399002,
0.018411735072731972,
-0.02652989886701107,
-0.007778347469866276,
-0.038249265402555466,
0.05149442330002785,
-0.002007483271881938,
0.014390234835445881,
-0.016667408868670464,
0.04650252312421799,
-0.07440388947725296,
-0.002229137811809778,
-0.05091738700866699,
0.011125425808131695,
-0.03194800391793251,
-0.023942846804857254,
-0.006867395248264074,
-0.0442519374191761,
0.03752463310956955,
0.019169067963957787,
0.018949830904603004,
0.02337004244327545,
-0.004733388777822256,
0.006488888990134001,
0.03654729574918747,
-0.06334216892719269,
-0.038014039397239685,
-0.029654130339622498,
0.021046241745352745,
-0.02108912169933319,
0.07288508117198944,
0.027995871379971504,
-0.036151569336652756,
-0.06188207492232323,
0.02282186597585678,
0.024914849549531937,
0.019467461854219437,
-0.0036110759247094393,
0.022113803774118423,
0.01768394000828266,
0.029504923149943352,
-0.018967701122164726,
0.004353466909378767,
-0.008710733614861965,
-0.01409880444407463,
0.0055272625759243965,
-0.006000956054776907,
0.014585413970053196,
-0.01334511861205101,
-0.0459643192589283,
-0.01737925037741661,
0.07538750767707825,
0.009289009496569633,
0.002584906993433833,
-0.001273534377105534,
-0.04674650728702545,
0.013130581006407738,
0.012985311448574066,
-0.05857336148619652,
0.009497181512415409,
-0.011487833224236965,
-0.04767397418618202,
0.0909571573138237,
-0.028663059696555138,
0.04191288352012634,
0.0525171123445034,
0.021103259176015854,
0.011831359937787056,
0.01919826865196228,
-0.011611370369791985,
0.003728245384991169,
0.03867862746119499,
-0.050374582409858704,
0.004311490338295698,
-0.014471865259110928,
0.05759445205330849,
-0.06012757122516632,
0.024690236896276474,
0.046473558992147446,
0.02346888743340969,
-0.002354860072955489,
-0.054628364741802216,
-0.06433427333831787,
0.004243217874318361,
-0.021089443936944008,
0.06420070677995682,
0.01719222404062748,
-0.05750490352511406,
0.06287628412246704,
0.02055894397199154,
-0.10186036676168442,
0.04903700575232506,
0.03044508956372738,
0.04503447189927101,
0.03419692441821098,
0.02796744927763939,
-0.04155120253562927,
0.022596249356865883,
-0.020163359120488167,
0.0154213085770607,
-0.036989398300647736,
-0.0037992321886122227,
0.0011005278211086988,
-0.038523104041814804,
-0.0015727754216641188,
0.003835581475868821,
-0.024449869990348816,
-0.010309794917702675,
0.03121938370168209,
-0.043543554842472076,
-0.044248200953006744,
-0.015838060528039932,
-0.0034492379054427147,
-0.008055580779910088,
0.03608080372214317,
-0.03798457235097885,
0.016873952001333237,
0.013653233647346497,
-0.025551937520503998,
-0.010464970022439957,
0.004669649060815573,
0.025072097778320312,
-0.05887928605079651,
-0.0288999080657959,
0.036409880965948105,
-0.007518809754401445,
-0.02727232500910759,
0.047550663352012634,
-0.016967596486210823,
0.01382310688495636,
0.007616647519171238,
-0.009420693852007389,
0.0031619465444236994,
-0.04144585132598877,
-0.015412786044180393,
0.010900304652750492,
0.022836146876215935,
0.03886173665523529,
-0.039696160703897476,
0.0356406569480896,
0.052760571241378784,
0.040434882044792175,
-0.03574575111269951,
-0.03254085034132004,
-0.021963167935609818,
-0.008014651015400887,
-0.024951059371232986,
0.008200643584132195,
0.012966333888471127,
-0.05818338319659233,
-0.03278562054038048,
-0.04496879130601883,
0.010324111208319664,
0.030289072543382645,
-0.040835462510585785,
-0.00985806155949831,
0.043955136090517044,
-0.025362052023410797,
-0.03388452157378197,
-0.07362547516822815,
-0.00009874355600913987,
-0.02385842241346836,
0.03495154529809952,
0.015240348875522614,
-0.043630506843328476,
0.018305134028196335,
-0.025092562660574913,
-0.06758998334407806,
0.036138251423835754,
0.011905623599886894,
-0.03558605536818504,
0.08283775299787521,
0.04300875961780548,
-0.01574089191854,
0.038418546319007874,
0.03327801078557968,
-0.058055952191352844,
0.031138116493821144,
0.04211195558309555,
0.01951240934431553,
0.01087165903300047,
0.017366502434015274,
-0.026494476944208145,
-0.0007733293459750712,
-0.07024317234754562,
-0.029232027009129524,
-0.039548199623823166,
0.0018084279727190733,
0.06341776251792908
] |
Brykee/BrykeeBot | [] | 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 | This model has been trained for the purpose of classifying text from different domains. Currently it is trained with much lesser data and it has been trained to identify text from 3 domains, "sports", "healthcare" and "financial". Label_0 represents "financial", Label_1 represents "Healthcare" and Label_2 represents "Sports". Currently I have trained it with these 3 domains only, I am pretty soon planning to train it on more domains and more data, hence its accuracy will improve further too. | [
-0.005436784587800503,
-0.03300715610384941,
-0.01581997610628605,
0.02887585386633873,
0.06008167937397957,
0.02450055256485939,
-0.01927141100168228,
-0.029154308140277863,
-0.028364744037389755,
0.03546717017889023,
0.009083651937544346,
-0.0023325260262936354,
0.010092634707689285,
0.025853920727968216,
-0.024822065606713295,
-0.020897671580314636,
0.016055012121796608,
-0.03002830781042576,
-0.02572563849389553,
-0.005094161722809076,
0.011956778354942799,
-0.004893539939075708,
-0.022778170183300972,
-0.0053313556127250195,
-0.01479128934442997,
0.028556324541568756,
-0.0032403620425611734,
0.05311237648129463,
0.06717978417873383,
-0.05752953886985779,
0.02455398067831993,
-0.02119475230574608,
-0.042737919837236404,
-0.01265725027769804,
-0.011929180473089218,
-0.018669791519641876,
0.026854828000068665,
-0.006286925636231899,
0.03388981893658638,
0.05873590335249901,
-0.0010617949301376939,
0.032667167484760284,
-0.0015750526217743754,
-0.035138119012117386,
0.0034152090083807707,
0.006007316522300243,
-0.04541095718741417,
-0.011177357286214828,
0.03271804749965668,
0.0023070964962244034,
-0.04751572757959366,
-0.06612396985292435,
-0.02065073698759079,
0.03360072523355484,
-0.005159206222742796,
-0.034068021923303604,
-0.04909403249621391,
-0.00040647454443387687,
0.054655205458402634,
-0.02717982418835163,
-0.028394345194101334,
-0.0051859039813280106,
-0.048830971121788025,
-0.0014132630312815309,
0.046001650393009186,
-0.0731409341096878,
0.003894629655405879,
-0.03956817463040352,
0.028422467410564423,
-0.022515499964356422,
0.0821775496006012,
-0.036850959062576294,
-0.0031636899802833796,
-0.06248968094587326,
-0.011056884191930294,
-0.021387623623013496,
0.044799577444791794,
0.05919092521071434,
-0.044621847569942474,
0.06562422215938568,
0.035118889063596725,
0.017901351675391197,
0.044854745268821716,
-0.015005712397396564,
-0.017859935760498047,
0.03862324357032776,
-0.048315584659576416,
-0.00994910392910242,
0.030060574412345886,
0.04992072656750679,
-0.024924829602241516,
-0.0391894206404686,
-0.009026043117046356,
-0.019246909767389297,
-0.016427194699645042,
0.0516863614320755,
0.03596281260251999,
-0.029073752462863922,
0.03944475203752518,
0.022910458967089653,
0.019556935876607895,
0.021244442090392113,
-0.012114201672375202,
0.05893520638346672,
-0.011040693148970604,
-0.0047082151286304,
-0.03169708326458931,
-0.036803510040044785,
-0.0360715277493,
0.04096392169594765,
0.0050645554438233376,
-0.055098846554756165,
-0.038825247436761856,
0.05170116573572159,
0.0008797762566246092,
-0.023357825353741646,
0.0668105036020279,
-0.048430249094963074,
-0.03530861809849739,
-0.06240609288215637,
0.0412924624979496,
0.009197340346872807,
0.03110439144074917,
-0.0012453548843041062,
-0.03947504982352257,
-0.002967387903481722,
-0.03345977142453194,
-0.030065283179283142,
-0.017898358404636383,
0.01842108741402626,
-0.005865638609975576,
0.04582768306136131,
0.02117128111422062,
-0.09044718742370605,
0.00627951929345727,
0.025941947475075722,
-0.09048700332641602,
0.051042959094047546,
0.03290344774723053,
0.11234323680400848,
-0.0515880323946476,
-0.055128976702690125,
-0.007463045418262482,
0.023786993697285652,
-0.013098586350679398,
0.0063210297375917435,
-0.018192842602729797,
-0.057360753417015076,
-0.01888982579112053,
-0.017317816615104675,
0.0365992933511734,
-0.05118256062269211,
-0.02338338829576969,
0.05515921488404274,
0.016817523166537285,
0.044137611985206604,
-0.03407725319266319,
0.028515299782156944,
-0.0029173404909670353,
0.005414374638348818,
-0.06850991398096085,
0.05631622299551964,
-0.019864287227392197,
0.01499517448246479,
-0.05482218414545059,
-0.06896162033081055,
0.01041512843221426,
0.09066180139780045,
-0.03262317180633545,
-0.02625216916203499,
-0.04647611081600189,
-0.004114541690796614,
0.050174642354249954,
0.011963709257543087,
-0.026082323864102364,
0.007899257354438305,
0.06517276167869568,
0.04227219149470329,
-0.026359273120760918,
0.05386434122920036,
0.03666675463318825,
-0.032725900411605835,
-0.026616521179676056,
0.037306517362594604,
0.014262339100241661,
-0.008136525750160217,
0.043252360075712204,
0.03994538262486458,
-0.005788106936961412,
-0.03142170235514641,
-0.04694812372326851,
0.03986746072769165,
-0.010495475493371487,
0.012407763861119747,
0.005574124865233898,
0.000021337924408726394,
-0.01890457235276699,
0.03872532770037651,
-0.027675876393914223,
-0.0028971019200980663,
-0.005218321457505226,
-0.0214336309581995,
0.03672656789422035,
0.012211144901812077,
0.011583936400711536,
0.04433435574173927,
0.0016140567604452372,
0.10421353578567505,
-0.018950430676341057,
0.019159594550728798,
-0.03890393301844597,
-0.038339801132678986,
0.00973412673920393,
0.032516494393348694,
0.014073421247303486,
0.03754182904958725,
0.0035496102645993233,
-0.04922058433294296,
0.016026580706238747,
0.045406971126794815,
0.06751902401447296,
0.02167527750134468,
-0.04080670326948166,
0.0055809635668993,
0.00838271901011467,
0.05596992373466492,
-0.043504055589437485,
-0.03843698650598526,
0.021275321021676064,
0.0442550927400589,
-0.02825193852186203,
0.004681089427322149,
-0.03542272374033928,
0.018352266401052475,
-0.03191615268588066,
-0.07216665148735046,
0.02197709120810032,
0.029384318739175797,
0.0186140313744545,
0.014410019852221012,
-0.032088760286569595,
0.005213840398937464,
0.02026090770959854,
0.023736126720905304,
0.004409400280565023,
-0.05376514792442322,
0.010381259024143219,
0.014266208745539188,
0.03168213739991188,
-0.05731797218322754,
0.01924930140376091,
-0.0037388282362371683,
-0.033877674490213394,
0.04060836508870125,
-0.019281795248389244,
0.04340287297964096,
0.06352025270462036,
0.02111467532813549,
-0.03360757976770401,
0.01844959333539009,
-0.010706675238907337,
0.014370388351380825,
0.04241352155804634,
-0.0038558654487133026,
0.05315222218632698,
-0.027845023199915886,
0.05108463391661644,
0.0869622528553009,
0.022638410329818726,
0.004583194386214018,
0.03310054540634155,
0.05889542028307915,
-0.00343784736469388,
0.0036169926170259714,
0.05810443311929703,
-0.05646234005689621,
0.017041916027665138,
-0.06283062696456909,
0.004698379430919886,
-0.009662296622991562,
-0.0012313727056607604,
0.05052908509969711,
0.020910458639264107,
-0.04479299113154411,
0.044734954833984375,
-0.005966294091194868,
-0.0013527863193303347,
0.045059625059366226,
-0.01664319820702076,
0.013483459129929543,
-0.020311390981078148,
-0.020421108230948448,
0.03068281151354313,
-0.035281114280223846,
-0.037557777017354965,
-0.021806910634040833,
-0.043141208589076996,
-0.020110806450247765,
-0.08418674021959305,
-0.024016205221414566,
-0.045564841479063034,
-0.024324027821421623,
0.05796169117093086,
0.014640090055763721,
-0.004973988514393568,
-0.04825390502810478,
0.03878098726272583,
-0.0325959287583828,
-0.04138915613293648,
-0.061286017298698425,
-0.05779846012592316,
-0.03076728992164135,
-0.07234842330217361,
0.0332484245300293,
0.01275735441595316,
0.027921849861741066,
0.0025688798632472754,
0.009966894052922726,
0.0171859972178936,
-0.03335549309849739,
0.0384511798620224,
0.07090654969215393,
-0.023170309141278267,
-0.04794543236494064,
0.010618375614285469,
-0.030917977914214134,
-0.0038521350361406803,
-0.009251448325812817,
-0.0205859187990427,
0.06199536845088005,
0.056637514382600784,
0.046190254390239716,
0.006504818331450224,
-0.013980710878968239,
-0.07180435955524445,
-0.08396178483963013,
-0.02704939991235733,
-0.017483264207839966,
-0.012822563759982586,
-0.02584628388285637,
-0.04259958118200302,
-0.03435472771525383,
-0.039761412888765335,
0.003404761664569378,
-0.01609119027853012,
0.005676556378602982,
0.025709886103868484,
0.014224658720195293,
0.039327558130025864,
0.02025632932782173,
-0.047678783535957336,
-0.018606705591082573,
0.05034251883625984,
0.008252895437180996,
0.0023834367748349905,
-0.07991901785135269,
-0.050203774124383926,
0.030200406908988953,
0.028627797961235046,
-0.005947982892394066,
0.007216193713247776,
0.08251848071813583,
0.027186820283532143,
0.001754051772877574,
0.02235831692814827,
-0.02608061209321022,
0.015109489671885967,
-0.025821160525083542,
0.011306547559797764,
-0.05550761520862579,
-0.04769320413470268,
-0.016786616295576096,
0.009280124679207802,
0.05756906792521477,
-0.04755394905805588,
-0.011779251508414745,
-0.014812651090323925,
0.030771370977163315,
0.027981722727417946,
0.009372744709253311,
-0.04000963270664215,
-0.0202251635491848,
-0.0429830439388752,
-0.047909192740917206,
0.02651372179389,
0.0003158024337608367,
0.001004261546768248,
0.03257225453853607,
0.043833304196596146,
-0.04066281393170357,
0.00638439180329442,
0.03648965060710907,
0.0447939969599247,
0.011061310768127441,
-0.05846519023180008,
0.039264094084501266,
-0.014532171189785004,
0.04266595095396042,
-0.009092952124774456,
-0.032805003225803375,
-0.04176301509141922,
-0.08196332305669785,
-0.018376976251602173,
0.0056036002933979034,
-0.031024662777781487,
-0.005521856714040041,
0.029983554035425186,
-0.02418302558362484,
-0.007303448859602213,
-0.03754863142967224,
0.03840426355600357,
0.02257663570344448,
-0.04189005866646767,
0.07133106142282486,
-0.018134284764528275,
0.015403934754431248,
-0.058665622025728226,
-0.009751575998961926,
-0.03018263913691044,
-0.040798936039209366,
0.0030837126541882753,
0.06652209162712097,
0.003552009118720889,
0.029388656839728355,
0.07961787283420563,
0.010878452099859715,
-0.035213228315114975,
0.04896654188632965,
0.05296819657087326,
-0.004901648964732885,
-0.04540366306900978,
0.019163867458701134,
0.008752739056944847,
-0.01886828802525997,
-0.010722868144512177,
-0.034159183502197266,
0.011064090766012669,
0.0332472026348114,
0.0007853916613385081,
-0.00858767144382,
0.012787980027496815,
-0.033768318593502045,
-0.013359969481825829,
-0.07283694297075272,
-0.015947846695780754,
0.0016981351654976606,
-0.012681178748607635,
0.027711549773812294,
0.030926812440156937,
0.01669037528336048,
0.057602409273386,
0.025415869429707527,
-0.032307203859090805,
-0.01693575456738472,
0.013868802227079868,
0.03011970967054367,
-0.03264845162630081,
-0.05716827139258385,
-0.031005142256617546,
0.06009501591324806,
0.028096051886677742,
-0.021042363718152046,
-0.07678274065256119,
0.012144925072789192,
0.04836844280362129,
-0.0534345805644989,
0.07493974268436432,
0.0037175146862864494,
0.03559860214591026,
0.04273952916264534,
-0.015357762575149536,
0.0631888210773468,
-0.00887943897396326,
0.008555135689675808,
0.015926524996757507,
0.06126894801855087,
-0.04079803451895714,
-0.0606633797287941,
-0.009227430447936058,
0.04415983706712723,
0.004292759113013744,
0.02836192212998867,
0.05855417251586914,
-0.042732998728752136,
-0.03776084631681442,
0.011396065354347229,
0.024561019614338875,
-0.010312242433428764,
-0.020502815023064613,
0.04353651776909828,
0.05970299616456032,
-0.0556720532476902,
-0.03675694018602371,
-0.033327776938676834,
-0.020883014425635338,
0.02144908905029297,
0.0022263783030211926,
-0.023572605103254318,
-0.050847627222537994,
-0.010355454869568348,
-0.01803698018193245,
-0.03181368112564087,
-0.08602526038885117,
0.032803699374198914,
0.011082501150667667,
-0.02158307656645775,
0.08082123845815659,
0.04685778543353081,
0.04392637312412262,
0.04344183951616287,
0.006566224619746208,
0.039566781371831894,
-0.014948589727282524,
0.05509982630610466,
-0.011325011029839516,
-0.01845436729490757,
-0.0032358593307435513,
-0.05642900615930557,
-0.008473394438624382,
-0.022082015872001648,
-0.03592291846871376,
-0.04097706824541092,
-0.012548225931823254,
0.01153889112174511,
0.027932971715927124,
0.01972833462059498,
-0.0418659932911396,
0.012974942103028297,
-0.008885614573955536,
-0.01814660243690014,
-0.04531793296337128,
-0.014740989543497562,
-0.08105829358100891,
-0.025699857622385025,
0.03955288231372833,
0.017826750874519348,
-0.0018146925140172243,
0.005794860422611237,
0.002813428407534957,
0.037605930119752884,
-0.004550840239971876,
-0.04724874719977379,
0.025886567309498787,
0.014799641445279121,
-0.017972201108932495,
-0.035829853266477585,
0.00020985105948057026,
0.02296934463083744,
0.0016326440963894129,
-0.00225246325135231,
-0.010692707262933254,
0.03555940464138985,
-0.009611024521291256,
-0.01658659800887108,
0.03862694278359413,
0.0327335000038147,
-0.05520479753613472,
-0.05104932561516762,
-0.016587669029831886,
-0.0217268243432045,
0.054570045322179794,
-0.007290842942893505,
-0.029018739238381386,
-0.010087625123560429,
0.01071186177432537,
0.029042400419712067,
-0.01537668239325285,
-0.04368497431278229,
0.03040158934891224,
-0.044537968933582306,
0.010977906174957752,
-0.04611559957265854,
0.038516879081726074,
-0.039317063987255096,
0.027215808629989624,
-0.010517178103327751,
-0.0020386811811476946,
-0.047735001891851425,
0.04509534686803818,
-0.03848487138748169,
-0.019080089405179024,
-0.01258249580860138,
0.017160894349217415,
-0.008820601738989353,
0.028899727389216423,
0.004885085392743349,
0.028604578226804733,
-0.016016822308301926,
0.058331605046987534,
-0.02440163493156433,
0.0044105518609285355,
-0.017827089875936508,
-0.011366092599928379,
-0.022781865671277046,
-0.030831962823867798,
-0.03294466808438301,
-0.028826232999563217,
0.04122687503695488,
0.029362665489315987,
0.04356405511498451,
0.05521904677152634,
-0.011389045044779778,
0.027588587254285812,
0.03554601967334747,
-0.053163714706897736,
-0.019900240004062653,
-0.015681715682148933,
0.01772621087729931,
-0.01656775176525116,
0.05880463123321533,
0.03995206952095032,
-0.058407433331012726,
-0.05606764554977417,
0.046194154769182205,
0.0630592480301857,
0.019532302394509315,
-0.00791285838931799,
0.00505840964615345,
0.03860781714320183,
0.018404891714453697,
-0.0333537831902504,
-0.036425381898880005,
-0.024833083152770996,
-0.04276452958583832,
0.026519501581788063,
-0.01529316883534193,
0.0306510291993618,
0.026254253461956978,
-0.05738009139895439,
-0.00677800877019763,
0.0391642265021801,
0.04001960530877113,
0.016384156420826912,
-0.030826888978481293,
-0.03919195383787155,
0.06677616387605667,
0.015441292896866798,
-0.07083085924386978,
0.0027193832211196423,
0.025117963552474976,
-0.04148935526609421,
0.06641760468482971,
-0.013448487967252731,
0.014531460590660572,
0.0310627780854702,
0.006805310491472483,
-0.011652492918074131,
0.033653225749731064,
-0.037482816725969315,
0.010425259359180927,
0.029863201081752777,
-0.08114321529865265,
-0.01573461852967739,
-0.03743627294898033,
0.06731339544057846,
-0.049628205597400665,
0.030342914164066315,
0.03129863739013672,
0.044686634093523026,
0.018810000270605087,
-0.0263750571757555,
-0.043465808033943176,
0.026866670697927475,
-0.028613334521651268,
0.055995769798755646,
-0.026104705408215523,
-0.062232036143541336,
0.0730743408203125,
0.026411699131131172,
-0.06682649999856949,
0.02081133797764778,
0.04075022414326668,
0.019864674657583237,
0.00978332944214344,
0.044739238917827606,
-0.04091805964708328,
-0.0045134322717785835,
-0.03514421731233597,
0.0041076550260186195,
-0.041600070893764496,
0.004679231904447079,
0.02546125464141369,
-0.045329831540584564,
0.0016542302910238504,
0.04869435355067253,
-0.007770067546516657,
-0.0001467719703214243,
0.01740482822060585,
-0.02855849452316761,
-0.03045736998319626,
0.025236980989575386,
-0.0068764095194637775,
-0.026516789570450783,
0.009497630409896374,
-0.05361923575401306,
0.010023379698395729,
0.03837350383400917,
-0.03668497875332832,
-0.031107008457183838,
-0.0030892575159668922,
0.019525330513715744,
-0.07383232563734055,
-0.02553141675889492,
0.05846194177865982,
0.026092324405908585,
-0.04294625297188759,
0.004249668214470148,
0.0007704670424573123,
0.005221552215516567,
0.013992254622280598,
0.014111376367509365,
0.0318942666053772,
-0.06675329804420471,
-0.044577259570360184,
0.010050197131931782,
0.008911434561014175,
0.059705790132284164,
-0.01925664022564888,
0.04589542746543884,
0.023135708644986153,
0.026776818558573723,
0.004360238555818796,
-0.020853938534855843,
-0.004122000187635422,
0.009770927019417286,
-0.05408978834748268,
0.021944932639598846,
0.0002053607313428074,
-0.020819205790758133,
-0.027730517089366913,
-0.021035850048065186,
-0.015571877360343933,
0.04881734028458595,
-0.03251158818602562,
-0.01478500198572874,
0.028466137126088142,
0.002220620634034276,
-0.0654163807630539,
-0.1161082312464714,
-0.025377392768859863,
-0.018128635361790657,
0.015519757755100727,
0.019388161599636078,
-0.03352455049753189,
0.041718740016222,
-0.05817187950015068,
-0.04610161483287811,
0.026464346796274185,
0.013991007581353188,
-0.013343878090381622,
0.061319321393966675,
0.05883429944515228,
-0.03803112357854843,
0.031867191195487976,
0.02919347770512104,
-0.041236020624637604,
0.02456820011138916,
0.001139152212999761,
0.015838252380490303,
0.0218743197619915,
0.02541092410683632,
-0.017662812024354935,
-0.021713588386774063,
-0.053739823400974274,
-0.05181450769305229,
-0.04025163874030113,
-0.005394502077251673,
0.05546405538916588
] |
Bryson575x/riceboi | [] | 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: autonlp
language: unk
widget:
- text: "I love AutoNLP π€"
datasets:
- dee4hf/autonlp-data-shajBERT
co2_eq_emissions: 11.98841452241473
---
# Model Trained Using AutoNLP
- Problem type: Multi-class Classification
- Model ID: 38639804
- CO2 Emissions (in grams): 11.98841452241473
## Validation Metrics
- Loss: 0.421400249004364
- Accuracy: 0.86783988957902
- Macro F1: 0.8669477050676501
- Micro F1: 0.86783988957902
- Weighted F1: 0.86694770506765
- Macro Precision: 0.867606300132228
- Micro Precision: 0.86783988957902
- Weighted Precision: 0.8676063001322278
- Macro Recall: 0.86783988957902
- Micro Recall: 0.86783988957902
- Weighted Recall: 0.86783988957902
## Usage
You can use cURL to access this model:
```
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/dee4hf/autonlp-shajBERT-38639804
```
Or Python API:
```
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("dee4hf/autonlp-shajBERT-38639804", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("dee4hf/autonlp-shajBERT-38639804", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)
``` | [
-0.019672390073537827,
-0.022634243592619896,
-0.007897177711129189,
0.03229736536741257,
0.030613204464316368,
0.019166680052876472,
-0.02594257891178131,
-0.02465297281742096,
-0.04088413342833519,
0.08346399664878845,
0.03178168088197708,
0.01191787514835596,
-0.0024257104378193617,
0.03733570873737335,
-0.029412489384412766,
-0.024311481043696404,
0.0005908100865781307,
-0.015377200208604336,
-0.04957127198576927,
-0.009839165024459362,
-0.02425204962491989,
0.004930674098432064,
-0.007907610386610031,
0.005905929021537304,
-0.021711628884077072,
0.024548394605517387,
-0.028436535969376564,
0.038292329758405685,
0.019731618463993073,
-0.0706436038017273,
-0.002445836551487446,
-0.01805499754846096,
-0.04516655579209328,
-0.002470002043992281,
-0.020848650485277176,
-0.005117317195981741,
0.021223867312073708,
0.00813599769026041,
0.0008221972966566682,
0.031121356412768364,
0.016885191202163696,
0.007255106698721647,
0.003441162873059511,
-0.0012396611273288727,
0.06535469740629196,
0.0035647184122353792,
-0.0537649542093277,
-0.011856511235237122,
0.04314278066158295,
-0.030884619802236557,
-0.05947398766875267,
-0.06113727018237114,
-0.039050374180078506,
0.02727462723851204,
-0.03880136460065842,
-0.0242657158523798,
-0.04721375182271004,
-0.011619527824223042,
0.07552959024906158,
-0.07395970821380615,
-0.039391785860061646,
0.007138681132346392,
-0.10747001320123672,
0.03258857876062393,
0.036154478788375854,
-0.02190854586660862,
-0.004687005188316107,
-0.03720887005329132,
0.01244268100708723,
-0.01212899386882782,
0.06570805609226227,
-0.0429641455411911,
0.02021750621497631,
-0.08771906048059464,
0.011894629336893559,
0.0009828914189711213,
0.042407624423503876,
0.03372768685221672,
-0.018094057217240334,
0.047288842499256134,
0.04928896948695183,
0.001666362164542079,
0.01914912462234497,
-0.018248120322823524,
-0.005070067942142487,
0.03285671025514603,
-0.0499488040804863,
0.007116887718439102,
0.004726525861769915,
0.03490148484706879,
-0.03894804045557976,
-0.05044285207986832,
-0.00981392152607441,
-0.04508380591869354,
-0.04188749939203262,
0.03488045930862427,
0.04648543521761894,
-0.026338890194892883,
0.04284652695059776,
0.021757325157523155,
0.03888857737183571,
0.04049109295010567,
-0.014333076775074005,
0.0800735130906105,
0.007829701527953148,
-0.023764459416270256,
0.005806748289614916,
-0.03941050171852112,
-0.04294293746352196,
0.05390544608235359,
0.03691544011235237,
-0.015461950562894344,
-0.055409591645002365,
0.027252089232206345,
0.022274967283010483,
-0.01033054105937481,
0.04465222731232643,
-0.03092288412153721,
-0.044799719005823135,
-0.059226617217063904,
0.029924817383289337,
0.012687258422374725,
-0.00486999936401844,
-0.024727849289774895,
-0.05409031733870506,
0.005425478797405958,
-0.03692687675356865,
-0.012200122699141502,
-0.00627719983458519,
0.023120339959859848,
-0.007121677044779062,
0.0380573607981205,
0.021293479949235916,
-0.03143688663840294,
-0.011113723739981651,
0.023564524948596954,
-0.061294976621866226,
0.03551936522126198,
0.012566324323415756,
0.10773593932390213,
-0.053205639123916626,
-0.0659598708152771,
0.03434382379055023,
-0.0115393390879035,
-0.017532680183649063,
0.0046607861295342445,
-0.002751888707280159,
-0.02864265628159046,
-0.028845982626080513,
-0.013375509530305862,
0.05264931544661522,
-0.08170314133167267,
0.006043715868145227,
0.04469593986868858,
-0.0010516105685383081,
0.07127280533313751,
-0.04339933395385742,
0.005025020334869623,
0.003217006102204323,
-0.012279902584850788,
-0.03219211846590042,
0.018632318824529648,
-0.0016838785959407687,
-0.018320372328162193,
-0.01890985481441021,
-0.05427515134215355,
0.000989915686659515,
0.09929051250219345,
0.00875475350767374,
0.01032613217830658,
-0.03389628976583481,
0.026088474318385124,
0.03442913293838501,
0.008070757612586021,
-0.021437911316752434,
0.04237646609544754,
0.06114371493458748,
0.03044850192964077,
-0.028727496042847633,
0.05562390387058258,
0.01963047683238983,
-0.016098830848932266,
-0.021867500618100166,
-0.005324851721525192,
-0.008836540393531322,
-0.02129981480538845,
0.0022684975992888212,
0.03768985718488693,
-0.007856550626456738,
-0.023570694029331207,
0.007031198590993881,
0.057888709008693695,
0.012522123754024506,
0.0011715427972376347,
-0.034538719803094864,
-0.008541558869183064,
-0.006262131966650486,
0.0501646026968956,
0.004407980479300022,
-0.008287654258310795,
-0.01548092346638441,
-0.04998106136918068,
0.02194138802587986,
0.011201527900993824,
0.036969512701034546,
0.052415765821933746,
-0.013822249136865139,
0.07761185616254807,
-0.05559345334768295,
0.01801648922264576,
-0.048867806792259216,
-0.04018060863018036,
0.010539324022829533,
0.05536530539393425,
0.03796663507819176,
0.042128778994083405,
-0.018883386626839638,
-0.019813641905784607,
0.0344160832464695,
0.06702560186386108,
0.05060967803001404,
0.0063547901809215546,
-0.02132268249988556,
-0.03089911676943302,
0.022578924894332886,
0.06504735350608826,
-0.08923214673995972,
-0.037397321313619614,
0.008895792067050934,
0.05096046254038811,
-0.026453301310539246,
0.02462022565305233,
-0.014325595460832119,
0.018538864329457283,
-0.05059259012341499,
-0.055183425545692444,
0.03379971161484718,
0.04381117597222328,
0.03896569833159447,
0.04099934920668602,
-0.00035469967406243086,
-0.010344144888222218,
0.03072475455701351,
-0.0002510372141841799,
-0.014029555954039097,
-0.03137785196304321,
-0.0022031611297279596,
0.03708125650882721,
0.04807187616825104,
-0.03899548575282097,
0.02067689411342144,
0.004649111069738865,
0.024933191016316414,
0.0434887632727623,
-0.0603540800511837,
0.04152395576238632,
0.03643445298075676,
0.006205521523952484,
-0.02351592481136322,
0.034954845905303955,
-0.011427616700530052,
0.03394915163516998,
0.04034215211868286,
-0.014553803019225597,
0.06345656514167786,
0.0028447434306144714,
0.043017491698265076,
0.11768201738595963,
0.0296830665320158,
-0.005048204213380814,
0.019945165142416954,
0.07177431136369705,
0.017454594373703003,
-0.02744389697909355,
0.05882135033607483,
-0.032572440803050995,
0.038561493158340454,
-0.028937121853232384,
0.013149027712643147,
-0.03512980043888092,
-0.016271844506263733,
0.04863479733467102,
0.023149777203798294,
-0.021447528153657913,
0.01150420494377613,
0.01338126603513956,
-0.00440559908747673,
0.040410157293081284,
-0.001957410015165806,
-0.015112558379769325,
0.016686098650097847,
-0.0028301142156124115,
0.0155111663043499,
-0.057389434427022934,
-0.04871157929301262,
-0.0027146327774971724,
-0.020786160603165627,
-0.00208840100094676,
-0.08214396238327026,
-0.02071494609117508,
-0.0679406151175499,
-0.014350373297929764,
0.036199040710926056,
0.02290548011660576,
0.007952101528644562,
-0.046360231935977936,
0.01503098476678133,
-0.047087449580430984,
-0.0500701405107975,
-0.04309011250734329,
-0.0557699091732502,
-0.026447653770446777,
-0.07553314417600632,
0.040450070053339005,
0.010510966181755066,
0.015127702616155148,
-0.006464209407567978,
-0.0037311622872948647,
-0.03316355124115944,
-0.028057338669896126,
0.05271076411008835,
0.054845668375492096,
-0.01752568408846855,
-0.04412860795855522,
-0.002765379846096039,
-0.024808993563055992,
0.007318132556974888,
-0.025554921478033066,
-0.0320822037756443,
0.06601526588201523,
0.06980957835912704,
0.02745630405843258,
0.018497442826628685,
-0.05210256576538086,
-0.047509945929050446,
-0.021819323301315308,
-0.037256259471178055,
-0.03682946413755417,
-0.014277749694883823,
-0.04005875065922737,
-0.03976073116064072,
0.027333926409482956,
-0.02697525918483734,
-0.026432838290929794,
-0.011420073918998241,
0.016368072479963303,
0.0237861480563879,
0.06295320391654968,
0.033310942351818085,
0.050363656133413315,
-0.0179812703281641,
-0.04295182228088379,
0.07207562774419785,
-0.005528582725673914,
0.005388624966144562,
-0.06636790931224823,
-0.029868990182876587,
0.03579907491803169,
0.028251299634575844,
0.005675084888935089,
-0.007389237638562918,
0.0826391726732254,
0.01865812949836254,
-0.02419029176235199,
-0.011464902199804783,
0.00063300970941782,
-0.020979568362236023,
-0.023609701544046402,
-0.042527586221694946,
-0.007275440730154514,
-0.051520466804504395,
-0.0337657555937767,
-0.011891011148691177,
0.03752486780285835,
-0.0717286542057991,
-0.05576084181666374,
-0.019918859004974365,
0.03612480312585831,
0.02139335498213768,
0.01800715923309326,
-0.059109486639499664,
-0.0008161442819982767,
-0.061250630766153336,
-0.008158738724887371,
0.023936396464705467,
0.026163164526224136,
0.007906800135970116,
0.05936097726225853,
0.03148011118173599,
-0.03849309682846069,
0.03950198367238045,
0.01733109913766384,
0.05485877767205238,
0.019567621871829033,
-0.05777628719806671,
0.0025864667259156704,
-0.007950260303914547,
-0.0031838160939514637,
-0.0008428269065916538,
-0.023378781974315643,
-0.050007302314043045,
-0.08388185501098633,
-0.0008502607815898955,
-0.011337997391819954,
-0.0001720350846881047,
-0.028013108298182487,
0.05812762305140495,
0.002461023163050413,
-0.004983549006283283,
0.005708088167011738,
0.0217000599950552,
0.01546035148203373,
-0.04120307043194771,
0.04758269339799881,
0.02159218117594719,
0.0028921328485012054,
-0.05122792720794678,
0.0024710972793400288,
-0.026840511709451675,
-0.02204335667192936,
0.010251428931951523,
0.03183344379067421,
0.029518693685531616,
0.07646310329437256,
0.03518937900662422,
0.007425989955663681,
-0.05105521157383919,
0.04970153793692589,
0.053793102502822876,
-0.018127616494894028,
-0.06822627782821655,
0.011207357048988342,
-0.0012397333048284054,
-0.01698312722146511,
-0.011305338703095913,
-0.011405386961996555,
0.022601747885346413,
0.052885234355926514,
-0.012345222756266594,
-0.01460435800254345,
0.015179233625531197,
-0.00863414816558361,
-0.010000395588576794,
-0.06812737137079239,
-0.0050081838853657246,
0.0166117325425148,
-0.03394102305173874,
0.010555444285273552,
0.04576202854514122,
0.031590815633535385,
0.05083484202623367,
0.04529072344303131,
-0.022236136719584465,
-0.05769328773021698,
0.03098958358168602,
0.04956185817718506,
-0.03324529901146889,
-0.06317783892154694,
-0.032152459025382996,
0.05890998989343643,
0.04875990003347397,
-0.025559259578585625,
-0.06598640978336334,
-0.01022295095026493,
0.04807952418923378,
-0.04608159512281418,
0.07457589358091354,
-0.019113974645733833,
0.012421109713613987,
0.06351961940526962,
-0.02112990990281105,
0.023345286026597023,
-0.029610050842165947,
0.006489698309451342,
0.02184223011136055,
0.01426389254629612,
-0.038821153342723846,
-0.03655822575092316,
-0.034620437771081924,
0.035163141787052155,
0.021943330764770508,
0.056674446910619736,
0.05671687796711922,
-0.02565050683915615,
-0.07309594005346298,
0.006875957828015089,
0.047097306698560715,
-0.011650226078927517,
0.016737686470150948,
0.03746786341071129,
0.03569656237959862,
-0.05524342134594917,
-0.023450208827853203,
-0.01390351727604866,
-0.010043829679489136,
0.03321047127246857,
0.022897472605109215,
-0.03940681740641594,
-0.017804719507694244,
0.011348726227879524,
-0.021223319694399834,
-0.0023307488299906254,
-0.055294960737228394,
0.038668181747198105,
-0.029628323391079903,
-0.015380033291876316,
0.021545959636569023,
0.04013786464929581,
0.053090184926986694,
0.03206271678209305,
0.0032168799079954624,
0.0030780176166445017,
-0.013716740533709526,
0.03916765749454498,
-0.041757360100746155,
-0.017081789672374725,
-0.009314906783401966,
-0.0746552124619484,
-0.0016825083876028657,
-0.03372504934668541,
-0.05184507369995117,
-0.05761928856372833,
-0.010860416106879711,
0.012348237447440624,
0.0016730414936318994,
-0.010003229603171349,
-0.011629168875515461,
0.04009297862648964,
-0.035759974271059036,
-0.03149494528770447,
-0.04713039472699165,
-0.03361374884843826,
-0.07011739164590836,
-0.06550102680921555,
0.02735714055597782,
-0.01566474512219429,
0.047575369477272034,
-0.00397581746801734,
0.018487704917788506,
0.01931248977780342,
0.01217296626418829,
-0.040206849575042725,
0.013632065616548061,
0.0018246190156787634,
-0.031207701191306114,
-0.02295644022524357,
0.025756824761629105,
0.000790175108704716,
0.05078943073749542,
-0.008086094632744789,
0.015831047669053078,
0.029492640867829323,
-0.0519733726978302,
-0.02130327932536602,
0.024410249665379524,
0.020888421684503555,
-0.05206701159477234,
-0.01966007612645626,
-0.0054559363052248955,
-0.06253454834222794,
0.015118182636797428,
-0.005714360158890486,
-0.003993636462837458,
-0.010118515230715275,
0.00966472364962101,
0.03252848610281944,
-0.028992105275392532,
-0.026485860347747803,
-0.003070582402870059,
-0.05378111079335213,
0.0269776601344347,
-0.046076204627752304,
0.0639987513422966,
-0.032868869602680206,
0.016039133071899414,
0.001374411745928228,
-0.028892643749713898,
-0.05286991968750954,
0.04439891129732132,
-0.003462713211774826,
-0.021290883421897888,
-0.0005398005596362054,
0.031719598919153214,
-0.04385696351528168,
0.036190204322338104,
0.0052012610249221325,
0.03803803399205208,
-0.028502726927399635,
0.055171310901641846,
-0.047036852687597275,
0.0056712431833148,
-0.035897813737392426,
0.012761524878442287,
-0.02534589357674122,
-0.014898396097123623,
-0.031018970534205437,
-0.024610796943306923,
0.028718844056129456,
0.058912333101034164,
0.029980553314089775,
0.02176019921898842,
-0.04737123101949692,
0.01744765415787697,
-0.0026718408335000277,
-0.05282678082585335,
-0.015013362281024456,
-0.00647934852167964,
0.03733896464109421,
-0.00448344461619854,
0.057113587856292725,
0.037533950060606,
-0.04360678419470787,
-0.05023947358131409,
0.05248196795582771,
0.02935279719531536,
0.008608841337263584,
0.003650585189461708,
0.022340308874845505,
0.020549718290567398,
0.01381267886608839,
-0.031750429421663284,
-0.0007620053947903216,
0.017832189798355103,
-0.049570370465517044,
0.013773643411695957,
0.00025469702086411417,
0.029490597546100616,
-0.01286784466356039,
-0.029376765713095665,
-0.016872601583600044,
0.05648178979754448,
0.02650138922035694,
0.01298302598297596,
0.00036931916838511825,
-0.031579628586769104,
0.010076596401631832,
-0.017068473622202873,
-0.054178107529878616,
0.0034539708867669106,
0.010334400460124016,
-0.031224746257066727,
0.06118105351924896,
-0.006226861383765936,
0.009491446428000927,
0.038543105125427246,
0.03260347992181778,
-0.0226545799523592,
0.07283271104097366,
-0.039573654532432556,
0.012237037532031536,
0.04045694321393967,
-0.051299531012773514,
0.003934567328542471,
-0.01609385944902897,
0.07114468514919281,
-0.060724902898073196,
0.061599113047122955,
0.04251980409026146,
0.012177405878901482,
0.034942422062158585,
-0.04473160207271576,
-0.0539783239364624,
0.025961603969335556,
-0.05591612681746483,
0.07457264512777328,
0.01930699683725834,
-0.04798056557774544,
0.06497246026992798,
0.019289277493953705,
-0.07394828647375107,
0.01030938234180212,
0.0200278852134943,
0.0228114016354084,
0.02282688207924366,
0.06121547520160675,
-0.026883738115429878,
0.026776602491736412,
-0.03298288583755493,
0.05857030302286148,
-0.04712444543838501,
-0.023295538499951363,
-0.011555959470570087,
-0.05901284143328667,
-0.04275353252887726,
0.06990423798561096,
-0.011845146305859089,
-0.022136110812425613,
0.017904985696077347,
-0.04278742894530296,
-0.028784586116671562,
-0.007678810972720385,
-0.003876237664371729,
-0.011555093340575695,
0.017810575664043427,
-0.033851295709609985,
0.004714321345090866,
-0.005837379954755306,
0.008893393911421299,
-0.02363789826631546,
-0.010753011330962181,
0.04126352071762085,
-0.06431704759597778,
-0.032195545732975006,
0.0387604720890522,
-0.01699543371796608,
-0.015278461389243603,
0.00324326497502625,
0.005992720369249582,
0.021469054743647575,
0.030680257827043533,
-0.016081593930721283,
0.01568916253745556,
-0.045102957636117935,
-0.022018246352672577,
0.025168759748339653,
0.0027384739369153976,
0.021699639037251472,
-0.004529017023742199,
0.04643615707755089,
0.039416760206222534,
0.027125284075737,
0.00767426285892725,
-0.0328303799033165,
-0.03271792456507683,
0.012843158096075058,
-0.0521208718419075,
0.025290226563811302,
0.008649582974612713,
-0.04343786835670471,
-0.04028743505477905,
-0.006784984841942787,
-0.033431705087423325,
0.049684394150972366,
-0.044469740241765976,
-0.0009007857879623771,
0.021094832569360733,
-0.0025196217466145754,
-0.03929538652300835,
-0.07480611652135849,
-0.034443773329257965,
-0.035013891756534576,
0.03857855498790741,
0.02636501006782055,
-0.03224986046552658,
-0.004567157011479139,
-0.0430111400783062,
-0.07418737560510635,
0.0335085503757,
0.030383503064513206,
-0.022475430741906166,
0.04413401335477829,
0.05849713832139969,
-0.03761976584792137,
0.009413647465407848,
0.017358360812067986,
-0.05102764442563057,
-0.0009245870751328766,
0.012223709374666214,
0.0032727415673434734,
0.04128045216202736,
0.0326174721121788,
-0.04388874024152756,
-0.03072372078895569,
-0.06340125948190689,
-0.030441055074334145,
-0.04028632864356041,
-0.008909346535801888,
0.07329686731100082
] |
CAMeL-Lab/bert-base-arabic-camelbert-ca-pos-glf | [
"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
}
}
} | 18 | null | ---
license: apache-2.0
tags:
- generated_from_trainer
model-index:
- name: wav2vec2-base-timit-demo-colab
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# wav2vec2-base-timit-demo-colab
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.4798
- Wer: 0.3474
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 1000
- num_epochs: 30
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 3.5229 | 4.0 | 500 | 1.6557 | 1.0422 |
| 0.6618 | 8.0 | 1000 | 0.4420 | 0.4469 |
| 0.2211 | 12.0 | 1500 | 0.4705 | 0.4002 |
| 0.1281 | 16.0 | 2000 | 0.4347 | 0.3688 |
| 0.0868 | 20.0 | 2500 | 0.4653 | 0.3590 |
| 0.062 | 24.0 | 3000 | 0.4747 | 0.3519 |
| 0.0472 | 28.0 | 3500 | 0.4798 | 0.3474 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.9.0+cu102
- Datasets 1.17.0
- Tokenizers 0.10.3
| [
-0.026784954592585564,
-0.004674382973462343,
-0.014678404666483402,
0.019174879416823387,
0.037791427224874496,
0.016056237742304802,
0.0007689130725339055,
0.003184129251167178,
-0.031200740486383438,
0.04357607290148735,
0.02246727980673313,
-0.026348965242505074,
0.002952968468889594,
0.032427266240119934,
-0.04032145068049431,
-0.058783046901226044,
-0.03392774984240532,
0.007855082862079144,
-0.01758907362818718,
0.005218458361923695,
0.008049062453210354,
-0.009005747735500336,
-0.016030287370085716,
0.028910649940371513,
0.0079125901684165,
0.013857713900506496,
-0.003122990718111396,
0.014878008514642715,
0.005270929541438818,
-0.06796646118164062,
-0.013112780638039112,
-0.04835819825530052,
-0.05700640380382538,
-0.03822125867009163,
-0.007009321823716164,
0.00420399708673358,
-0.009387892670929432,
0.032268818467855453,
0.03977435827255249,
0.04759562760591507,
0.023100977763533592,
0.022787945345044136,
-0.03181692957878113,
-0.014398314990103245,
0.05741551145911217,
-0.0019907576497644186,
-0.031768105924129486,
-0.019790466874837875,
0.03408316522836685,
-0.053125496953725815,
-0.07603926956653595,
-0.0544862225651741,
-0.00939196441322565,
0.03308499976992607,
-0.019140897318720818,
-0.024827083572745323,
-0.0548086054623127,
-0.0043387506157159805,
0.07305064797401428,
-0.05189119651913643,
-0.02088063582777977,
0.013918728567659855,
-0.0743207335472107,
0.023574071004986763,
0.02328033559024334,
-0.033183787018060684,
0.014864410273730755,
-0.03607211261987686,
0.04452996701002121,
0.004905725829303265,
0.04174264520406723,
-0.016875969246029854,
0.015476202592253685,
-0.0758865624666214,
-0.007261086255311966,
0.0018022533040493727,
0.03018406592309475,
0.0694175660610199,
-0.03860203176736832,
0.047796327620744705,
0.031866803765296936,
0.008483702316880226,
0.028866181150078773,
-0.020347343757748604,
0.02189921773970127,
0.04297355189919472,
-0.05572026968002319,
0.034043680876493454,
0.007485813461244106,
0.03291117027401924,
-0.02142215147614479,
-0.020345941185951233,
-0.029245831072330475,
-0.036898452788591385,
-0.01652972772717476,
0.03805411979556084,
0.035689398646354675,
0.006913354620337486,
0.01996752806007862,
0.017950933426618576,
0.029332095757126808,
0.03229091688990593,
-0.030999328941106796,
0.06360209733247757,
-0.02209748700261116,
-0.012638120912015438,
-0.008329157717525959,
-0.013707475736737251,
-0.04007995128631592,
0.016358070075511932,
0.0339064784348011,
-0.027693547308444977,
-0.02950345166027546,
0.03871757909655571,
-0.003693310311064124,
0.0028407187201082706,
0.04594544321298599,
-0.03619541972875595,
-0.036773718893527985,
-0.02157110907137394,
0.046487901359796524,
0.03233644738793373,
-0.028969179838895798,
0.0007034675218164921,
-0.060747575014829636,
0.007654592860490084,
-0.023542778566479683,
-0.04786444455385208,
-0.001154086785390973,
0.013120950199663639,
-0.009377339854836464,
0.0474189855158329,
0.03440780192613602,
-0.07472848892211914,
-0.00018701935186982155,
0.00645493483170867,
-0.04683544486761093,
0.020999597385525703,
0.00768519751727581,
0.09137214720249176,
-0.06198636442422867,
-0.06537740677595139,
-0.0008097383542917669,
-0.012213829904794693,
-0.0051352414302527905,
0.03052263706922531,
0.012707092799246311,
-0.007821586914360523,
-0.0020946403965353966,
-0.013458695262670517,
0.03600864112377167,
-0.07184895873069763,
-0.011617065407335758,
0.07626600563526154,
-0.01300651952624321,
0.043525420129299164,
-0.032386988401412964,
-0.020404374226927757,
0.010757898911833763,
-0.024051452055573463,
-0.010259357281029224,
0.03141077235341072,
0.0035023100208491087,
-0.021856771782040596,
-0.019450226798653603,
-0.04674064368009567,
-0.012948785908520222,
0.09951093792915344,
0.0012326689902693033,
-0.016403058543801308,
-0.0368315689265728,
0.02471652440726757,
0.04526699334383011,
0.04324617236852646,
-0.03647659718990326,
0.04400058463215828,
0.04850034788250923,
0.02674027346074581,
-0.035467296838760376,
0.05698401480913162,
0.0360155887901783,
-0.03488072007894516,
-0.050680581480264664,
0.02143803797662258,
0.018886137753725052,
-0.07208625227212906,
0.01185335498303175,
0.0362207405269146,
0.0255363117903471,
-0.037895556539297104,
-0.03726663440465927,
0.04431168735027313,
-0.016648340970277786,
-0.009690622799098492,
0.014247601851820946,
0.0032152968924492598,
-0.036930400878190994,
0.04340832307934761,
-0.035228293389081955,
-0.008845685981214046,
-0.01971125788986683,
-0.020884213969111443,
-0.0014738390455022454,
-0.0014360010391101241,
0.03405880555510521,
0.05069476366043091,
-0.01713932491838932,
0.10274872928857803,
-0.04389341548085213,
-0.00015254785830620676,
-0.009044046513736248,
-0.0502130389213562,
0.020946765318512917,
0.07667812705039978,
0.030834103003144264,
0.07773976773023605,
-0.013480482622981071,
-0.03965079411864281,
0.03658215329051018,
0.08938533812761307,
0.05560177564620972,
-0.014739403501152992,
-0.035320501774549484,
-0.018171483650803566,
0.022055771201848984,
0.03264809399843216,
-0.07153540104627609,
-0.025735314935445786,
0.019745128229260445,
0.04186689108610153,
-0.020324625074863434,
0.03324621170759201,
-0.02806498110294342,
0.036699455231428146,
-0.053083471953868866,
-0.06851307302713394,
0.04846072942018509,
0.019736293703317642,
-0.0018331969622522593,
0.02184324711561203,
0.0005590427899733186,
0.0027627975214272738,
0.0005923201097175479,
0.021356191486120224,
-0.0025186724960803986,
-0.016627207398414612,
0.02487802691757679,
0.01965547353029251,
0.05939590185880661,
-0.06885986775159836,
0.03112858161330223,
-0.03654100373387337,
0.024194534868001938,
0.042062390595674515,
-0.03059886395931244,
0.034156884998083115,
0.05206235870718956,
0.018385175615549088,
-0.026477718725800514,
-0.0027803205884993076,
0.010463266633450985,
0.04856092110276222,
0.023184271529316902,
0.015461687929928303,
0.06634806841611862,
0.0312154870480299,
0.03476879000663757,
0.06696312874555588,
0.024983080103993416,
0.02526327222585678,
0.03950829803943634,
0.08216547966003418,
0.019534867256879807,
-0.01702168956398964,
0.05621810629963875,
-0.06526573747396469,
0.02868851087987423,
-0.034130509942770004,
-0.0046459101140499115,
-0.035484522581100464,
-0.003761809319257736,
0.026758231222629547,
0.0018162505002692342,
-0.013817241415381432,
-0.03572527691721916,
-0.019543340429663658,
-0.02956954948604107,
0.021969055756926537,
-0.009851071983575821,
-0.015702538192272186,
-0.005110550206154585,
0.006801299750804901,
-0.006234794855117798,
-0.06988857686519623,
-0.012680847197771072,
-0.012157272547483444,
-0.031126003712415695,
-0.009532398544251919,
-0.08304807543754578,
-0.011960772797465324,
-0.0728638768196106,
-0.02687457762658596,
0.03255671635270119,
0.0001942606904776767,
0.004027403891086578,
-0.051783811300992966,
0.0005929601029492915,
-0.04795468598604202,
-0.05677039921283722,
-0.049835141748189926,
-0.0639016404747963,
-0.023960625752806664,
-0.07563263922929764,
0.03442324325442314,
0.06271008402109146,
0.017921369522809982,
0.0007677872781641781,
0.02574862912297249,
0.007764135487377644,
-0.021382972598075867,
0.04680303856730461,
0.05621464177966118,
-0.029197603464126587,
-0.0640304908156395,
0.027401888743042946,
-0.01106775552034378,
-0.006661873776465654,
-0.00689829234033823,
-0.021943042054772377,
0.0975450947880745,
0.04888594523072243,
0.029045455157756805,
0.029247453436255455,
-0.02168452925980091,
-0.05588994920253754,
-0.05992325022816658,
-0.02766239456832409,
-0.05337602272629738,
-0.022060072049498558,
-0.05767902359366417,
-0.016798757016658783,
-0.03635269030928612,
-0.01937931962311268,
0.030074842274188995,
-0.0257545355707407,
-0.024007894098758698,
0.022403277456760406,
0.03386816382408142,
0.014174380339682102,
0.03160449117422104,
-0.011126942001283169,
-0.06582951545715332,
0.044388268142938614,
0.004601938184350729,
-0.023500466719269753,
-0.07820042222738266,
0.004241684451699257,
0.010810662060976028,
0.010263037867844105,
0.01536802388727665,
0.006968447472900152,
0.0902259424328804,
-0.0008853344479575753,
-0.020929671823978424,
0.025238189846277237,
-0.018335137516260147,
-0.004713514354079962,
-0.03338545560836792,
-0.003158995183184743,
-0.014203950762748718,
-0.05457143113017082,
0.02150297537446022,
-0.012137633748352528,
0.04192497208714485,
-0.07090121507644653,
-0.05263129249215126,
-0.014392380602657795,
0.025045543909072876,
0.04068855941295624,
0.0030644219368696213,
-0.012688611634075642,
-0.022654900327324867,
-0.0540115088224411,
-0.011650110594928265,
0.037411801517009735,
0.0160210058093071,
0.00581520376726985,
0.047541793435811996,
0.014309191145002842,
-0.01777789555490017,
0.04685678333044052,
0.04086094722151756,
0.07259411364793777,
0.039992496371269226,
-0.04391506314277649,
0.01878831349313259,
-0.022598979994654655,
0.019703906029462814,
-0.026181992143392563,
-0.025995777919888496,
-0.039111871272325516,
-0.10666728764772415,
-0.03748027980327606,
0.009116830304265022,
-0.0024573742412030697,
-0.012459419667720795,
0.04419349506497383,
0.013536680489778519,
-0.01637152209877968,
0.0026305459905415773,
0.022242307662963867,
0.04451565071940422,
-0.03195556625723839,
0.04456792026758194,
-0.008093055337667465,
0.012939040549099445,
-0.07677426934242249,
0.008380168117582798,
-0.039201825857162476,
-0.013190871104598045,
0.012219146825373173,
0.04064561426639557,
-0.02272961474955082,
0.0556027851998806,
0.07792492210865021,
0.01972157135605812,
-0.04136073216795921,
0.0403311625123024,
0.06675759702920914,
-0.04066215083003044,
-0.050229236483573914,
0.015686096623539925,
-0.008114766329526901,
-0.03672965243458748,
0.000009300594683736563,
-0.0005452737677842379,
0.03968891128897667,
0.03758080676198006,
-0.02362004853785038,
0.015275665558874607,
0.005052742548286915,
-0.008713025599718094,
-0.01556249987334013,
-0.0479104109108448,
-0.03969666734337807,
-0.008735534735023975,
-0.04214879870414734,
0.03514058515429497,
0.035708460956811905,
0.018558602780103683,
0.05480791628360748,
0.033237650990486145,
-0.06191697716712952,
-0.0230470672249794,
0.007077281828969717,
0.0185138788074255,
-0.015877867117524147,
-0.08489176630973816,
-0.0282173752784729,
0.05520559474825859,
0.03029312938451767,
-0.012918281368911266,
-0.0667223408818245,
-0.0007005574298091233,
0.05561346188187599,
-0.06401216983795166,
0.04044261947274208,
0.017445307224988937,
0.0438004732131958,
0.04924852401018143,
0.0037425756454467773,
0.03847305476665497,
-0.01708937995135784,
0.005880484823137522,
-0.0039456388913095,
0.022916551679372787,
-0.022770777344703674,
-0.022193409502506256,
-0.06729137897491455,
0.004226794000715017,
0.05407492816448212,
0.04087033122777939,
0.024118976667523384,
-0.03311353921890259,
-0.026948941871523857,
0.01470994297415018,
0.02423664927482605,
-0.048872578889131546,
0.00037980396882630885,
0.0172711368650198,
0.031074268743395805,
-0.03540567308664322,
-0.0073000057600438595,
-0.01828288845717907,
-0.0020854154136031866,
0.021575286984443665,
0.0031141533982008696,
-0.04341856762766838,
-0.03844224661588669,
0.04807799682021141,
0.030954238027334213,
-0.017833413556218147,
-0.08691763877868652,
0.026638293638825417,
-0.012470610439777374,
-0.011530157178640366,
0.02792980521917343,
0.022163642570376396,
0.031167879700660706,
0.05289842560887337,
0.029259372502565384,
0.021900225430727005,
-0.02236565202474594,
0.02914244867861271,
-0.034176360815763474,
-0.023738278076052666,
-0.0002882626431528479,
-0.027559712529182434,
-0.03610159829258919,
-0.005449516698718071,
-0.059564974159002304,
-0.026664799079298973,
-0.017810676246881485,
0.01837311126291752,
-0.005125155672430992,
-0.008254487067461014,
-0.019351880997419357,
0.06549155712127686,
-0.017755204811692238,
-0.024374976754188538,
-0.036555252969264984,
-0.014249341562390327,
-0.06398595124483109,
-0.0441194511950016,
0.042137883603572845,
0.013478468172252178,
0.05775327607989311,
0.03280526027083397,
0.021206000819802284,
0.016699373722076416,
0.013873827643692493,
-0.028332149609923363,
0.007838924415409565,
0.0034292638301849365,
-0.026961103081703186,
-0.008319659158587456,
0.019054844975471497,
0.009285046719014645,
0.012914551421999931,
-0.042960550636053085,
0.02065993845462799,
0.01788080297410488,
-0.017738720402121544,
-0.021004104986786842,
0.008639771491289139,
0.014267991296947002,
-0.06931166350841522,
-0.02861255593597889,
-0.007983352988958359,
-0.04151883348822594,
0.01790260337293148,
-0.03659448400139809,
-0.014981212094426155,
0.004991868045181036,
0.020691197365522385,
0.04645008593797684,
-0.019991997629404068,
-0.018484877422451973,
0.011168400757014751,
-0.02581271156668663,
-0.00424417806789279,
-0.059862811118364334,
0.04938208684325218,
-0.031133990734815598,
0.005928324535489082,
-0.027982646599411964,
0.01933167688548565,
-0.054390426725149155,
0.036751147359609604,
-0.02303359843790531,
-0.000048089776100823656,
-0.017837144434452057,
0.06033209338784218,
-0.02733238786458969,
0.026112927123904228,
0.005468043033033609,
0.02572009712457657,
-0.05963680520653725,
0.05788356438279152,
-0.025708846747875214,
0.024369990453124046,
-0.028230765834450722,
-0.002911744639277458,
-0.033662471920251846,
0.004704886116087437,
-0.02529778890311718,
-0.028292501345276833,
0.03509494662284851,
0.061768047511577606,
0.05578787997364998,
0.03301253914833069,
-0.023027673363685608,
-0.035349342972040176,
0.031315624713897705,
-0.033359773457050323,
-0.015506995841860771,
-0.001415089936926961,
-0.005688783712685108,
-0.008301184512674809,
0.04330858960747719,
0.031023478135466576,
-0.06404125690460205,
-0.06086971238255501,
0.03942340239882469,
-0.0034365553874522448,
0.017154749482870102,
0.026142621412873268,
0.024737197905778885,
0.03904686123132706,
0.06061478704214096,
-0.021310389041900635,
0.006831202656030655,
-0.013625753112137318,
-0.03286855295300484,
0.03960983827710152,
-0.02429823949933052,
0.031730152666568756,
0.016506751999258995,
-0.03773114085197449,
-0.0073354789055883884,
0.037193913012742996,
0.02912234328687191,
0.03774382919073105,
-0.009169968776404858,
-0.03394666686654091,
0.013311285525560379,
-0.004179544281214476,
-0.052282679826021194,
0.029118208214640617,
-0.0035595984663814306,
-0.029368771240115166,
0.0653461366891861,
-0.03720568120479584,
0.012995393015444279,
0.05343079939484596,
0.0361858569085598,
-0.021136673167347908,
0.06271754205226898,
-0.027875132858753204,
0.0010427456581965089,
0.07281982153654099,
-0.07023190706968307,
0.005695255007594824,
-0.011561424471437931,
0.07551346719264984,
-0.07566321641206741,
0.02752041257917881,
0.059374645352363586,
-0.0030937851406633854,
0.020541299134492874,
-0.04878905415534973,
-0.03735678642988205,
0.01753527671098709,
-0.043920766562223434,
0.09746277332305908,
0.00821436196565628,
-0.062031976878643036,
0.03726603090763092,
0.016534890979528427,
-0.07126136124134064,
0.04496872425079346,
0.020430870354175568,
0.0337163507938385,
0.03853750228881836,
0.04842725023627281,
-0.044010527431964874,
0.019027559086680412,
-0.04074953496456146,
0.04274479299783707,
-0.05909395217895508,
-0.005675834137946367,
0.03409109637141228,
-0.0325191356241703,
-0.0343499518930912,
0.03675912693142891,
-0.018502984195947647,
-0.018237270414829254,
0.043117597699165344,
-0.049761101603507996,
-0.03742784261703491,
0.016480689868330956,
0.03353208303451538,
-0.03353177011013031,
0.006754267495125532,
-0.0398424006998539,
-0.006149041932076216,
0.005855528637766838,
0.006226208992302418,
-0.026543598622083664,
-0.014311153441667557,
0.012812666594982147,
-0.04980415478348732,
-0.04141530394554138,
0.029719145968556404,
-0.023240361362695694,
-0.012869106605648994,
0.03454478830099106,
0.01703873835504055,
-0.0023426637053489685,
0.02669535018503666,
0.009709930047392845,
0.027215881273150444,
-0.038102034479379654,
-0.034670598804950714,
0.0021020439453423023,
-0.003836011979728937,
0.02600644901394844,
0.016658011823892593,
0.04512695223093033,
0.013898867182433605,
-0.006823595613241196,
0.0029852264560759068,
-0.019310586154460907,
-0.02815965935587883,
0.024124549701809883,
-0.03981456533074379,
0.0017259902087971568,
-0.002045456785708666,
-0.04579155519604683,
-0.058137375861406326,
-0.02273126319050789,
-0.026474637910723686,
0.00850667618215084,
-0.055387623608112335,
-0.014500199817121029,
0.051444776356220245,
-0.02679344266653061,
-0.058533646166324615,
-0.07882772386074066,
-0.034872908145189285,
-0.05055925250053406,
0.01869192346930504,
0.032190028578042984,
-0.03164394199848175,
0.04407072067260742,
-0.052224986255168915,
-0.05058319866657257,
0.03727953881025314,
0.017917225137352943,
-0.030597511678934097,
0.032434143126010895,
0.04618529975414276,
-0.0469672828912735,
-0.002215397311374545,
0.05317705497145653,
-0.04751906916499138,
0.015996472910046577,
0.012704002670943737,
0.026478033512830734,
0.030439341440796852,
0.005241519305855036,
-0.059603501111269,
-0.034651294350624084,
-0.051694292575120926,
-0.03530535474419594,
-0.04826324060559273,
0.0015926547348499298,
0.04703586548566818
] |
CAMeL-Lab/bert-base-arabic-camelbert-ca-pos-msa | [
"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
}
}
} | 71 | null | ---
license: apache-2.0
language: eu
metrics:
- wer
- cer
tags:
- automatic-speech-recognition
- basque
- generated_from_trainer
- hf-asr-leaderboard
- robust-speech-event
datasets:
- mozilla-foundation/common_voice_7_0
model-index:
- name: wav2vec2-large-xls-r-300m-basque
results:
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice 7
type: mozilla-foundation/common_voice_7_0
args: eu
metrics:
- name: Test WER
type: wer
value: 51.89
- name: Test CER
type: cer
value: 10.01
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# wav2vec2-large-xls-r-300m-basque
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice dataset.
It achieves the following results on the evaluation set:
- Loss: 0.4276
- Wer: 0.5962
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 4
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 5
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 3.9902 | 1.29 | 400 | 2.1257 | 1.0 |
| 0.9625 | 2.59 | 800 | 0.5695 | 0.7452 |
| 0.4605 | 3.88 | 1200 | 0.4276 | 0.5962 |
### Framework versions
- Transformers 4.16.2
- Pytorch 1.10.0+cu111
- Datasets 1.18.3
- Tokenizers 0.11.0
| [
-0.02534860000014305,
-0.0037825291510671377,
-0.009421413764357567,
0.0320453979074955,
0.04758641868829727,
0.022320175543427467,
-0.019405636936426163,
-0.008516054600477219,
-0.016899172216653824,
0.05365287885069847,
0.023678647354245186,
-0.03343792259693146,
-0.001092812279239297,
0.026635196059942245,
-0.03740009665489197,
-0.048679620027542114,
-0.03102910704910755,
-0.006920252926647663,
-0.05006147921085358,
-0.007312342990189791,
-0.0013286310713738203,
0.015377807430922985,
-0.028171449899673462,
0.03307105228304863,
-0.002292372053489089,
0.014995002187788486,
-0.01738097332417965,
0.016051210463047028,
0.0017692960100248456,
-0.0441662073135376,
0.0013785467017441988,
-0.044222403317689896,
-0.04633341357111931,
-0.04105401784181595,
-0.0013952158624306321,
0.00464018015190959,
0.006172592286020517,
0.02802232652902603,
0.032727379351854324,
0.035247355699539185,
-0.009273527190089226,
0.021992970257997513,
-0.013357835821807384,
-0.010508009232580662,
0.022616757079958916,
-0.0024941002484411,
-0.039418235421180725,
-0.03004974126815796,
0.03486212342977524,
-0.04015486314892769,
-0.053336165845394135,
-0.05931989103555679,
0.01219304371625185,
0.01794973760843277,
-0.025151582434773445,
-0.02801229991018772,
-0.059877991676330566,
-0.006046741269528866,
0.08637654036283493,
-0.04446026682853699,
-0.025309976190328598,
0.017064562067389488,
-0.06681990623474121,
-0.0005873976624570787,
0.027945218607783318,
-0.048447560518980026,
0.016484277322888374,
-0.032296206802129745,
0.04698292538523674,
-0.02340884320437908,
0.0690053254365921,
-0.027385512366890907,
0.00694019440561533,
-0.0775987058877945,
0.007728463038802147,
-0.009838886559009552,
0.03263930231332779,
0.07016296684741974,
-0.0356561616063118,
0.054789427667856216,
0.0248469989746809,
0.015966976061463356,
0.03691862151026726,
-0.017985157668590546,
0.030495204031467438,
0.05128376558423042,
-0.043286457657814026,
0.026937011629343033,
0.039593782275915146,
0.013304428197443485,
-0.014043758623301983,
-0.035077568143606186,
-0.022731784731149673,
-0.05639728531241417,
0.006237498950213194,
0.04082822799682617,
0.040411707013845444,
-0.019012363627552986,
0.032753076404333115,
0.021962236613035202,
0.01283955667167902,
0.01425148919224739,
-0.02500728890299797,
0.07789101451635361,
-0.035065196454524994,
-0.017395535483956337,
-0.017240839079022408,
-0.00817310344427824,
-0.028988540172576904,
0.009716599248349667,
0.03223586827516556,
-0.03936640918254852,
-0.0374583937227726,
0.03482852876186371,
-0.002199714770540595,
-0.02665233612060547,
0.057377733290195465,
-0.045459527522325516,
-0.0348026342689991,
-0.05405184254050255,
0.03012503683567047,
0.021555203944444656,
0.00863234605640173,
0.017249852418899536,
-0.0487980879843235,
0.013593214564025402,
-0.018140943720936775,
-0.0371425487101078,
0.008894935250282288,
-0.001198414945974946,
-0.006202103104442358,
0.04600633308291435,
0.02196156047284603,
-0.06598853319883347,
-0.007228448521345854,
-0.005184606183320284,
-0.05362376198172569,
0.00796753354370594,
0.0014846543781459332,
0.08214905112981796,
-0.04152817279100418,
-0.066959448158741,
0.0009460001019760966,
0.0016828363295644522,
-0.004394060000777245,
0.029741674661636353,
0.02193181961774826,
-0.006780953612178564,
-0.02917523868381977,
-0.0031690988689661026,
0.043683961033821106,
-0.06946329772472382,
-0.0167361032217741,
0.06363382935523987,
-0.03641245514154434,
0.0379987396299839,
-0.027841482311487198,
-0.019230542704463005,
0.021980177611112595,
-0.026995228603482246,
0.008145241066813469,
0.04003012552857399,
-0.0028173893224447966,
-0.03260905295610428,
-0.031039142981171608,
-0.05081041529774666,
-0.01729784719645977,
0.06789834052324295,
0.010064907371997833,
-0.011838183738291264,
-0.028353026136755943,
0.02727953903377056,
0.04972660541534424,
0.027464434504508972,
-0.04707007110118866,
0.03880751505494118,
0.06275017559528351,
0.04448413848876953,
-0.02930915169417858,
0.06443633139133453,
0.027555951848626137,
-0.022320054471492767,
-0.052563268691301346,
0.009269123896956444,
0.013508242554962635,
-0.060938507318496704,
0.003948124125599861,
0.04047723859548569,
0.015779905021190643,
-0.03726743906736374,
-0.04329036548733711,
0.06169401854276657,
-0.015437404625117779,
-0.016340142115950584,
0.002321224194020033,
-0.006557806394994259,
-0.03088807500898838,
0.04112716019153595,
-0.0272234920412302,
0.003653852501884103,
-0.022917430847883224,
-0.04348558560013771,
0.0020373982843011618,
0.015205632895231247,
0.022152027115225792,
0.05997521057724953,
-0.007814278826117516,
0.09119021147489548,
-0.04018703103065491,
0.010640081949532032,
-0.028229884803295135,
-0.05159599334001541,
-0.025978494435548782,
0.06064620241522789,
0.037590086460113525,
0.07498504221439362,
-0.009520787745714188,
-0.05769000202417374,
0.0342046357691288,
0.08553723990917206,
0.06036632880568504,
0.014003902673721313,
-0.039527006447315216,
-0.012096698395907879,
0.04458881542086601,
0.042752016335725784,
-0.06521207094192505,
-0.017493324354290962,
0.006196807604283094,
0.03821041062474251,
-0.014341654255986214,
0.0018795005744323134,
-0.021091844886541367,
0.0436229482293129,
-0.05089598521590233,
-0.0849023163318634,
0.057647667825222015,
0.006599229294806719,
0.003071801969781518,
0.028786903247237206,
-0.014554980210959911,
-0.0005969298654235899,
0.02702656388282776,
0.01860087178647518,
-0.007330700289458036,
-0.04133492708206177,
0.021937303245067596,
0.004517695400863886,
0.03189343959093094,
-0.07867959141731262,
0.04520188644528389,
-0.03534582629799843,
0.003984132781624794,
0.0361470989882946,
-0.026523176580667496,
0.03840815648436546,
0.034865863621234894,
0.012355666607618332,
-0.025817710906267166,
0.012234244495630264,
0.024111788719892502,
0.038216762244701385,
0.04431827738881111,
0.013292914256453514,
0.07325412333011627,
0.022541815415024757,
0.05174022167921066,
0.07171043753623962,
0.05229195952415466,
-0.0027814155910164118,
0.02286413125693798,
0.06763991713523865,
0.0014317932073026896,
-0.02398601360619068,
0.05307881534099579,
-0.04392288252711296,
0.032033100724220276,
-0.03199277073144913,
-0.015645436942577362,
-0.000268881005467847,
-0.0022011154796928167,
0.01811656914651394,
0.006185903213918209,
-0.014208105392754078,
-0.014768825843930244,
-0.03849737346172333,
-0.033684585243463516,
0.05174249783158302,
-0.011673550121486187,
-0.010149090550839901,
-0.009443537332117558,
-0.0028136123437434435,
0.0029177109245210886,
-0.06345837563276291,
-0.018039271235466003,
-0.0007247987668961287,
-0.04396796599030495,
0.008180822245776653,
-0.05805520713329315,
-0.02832416258752346,
-0.060151197016239166,
-0.005461527965962887,
0.03624943643808365,
0.012639020569622517,
0.015936575829982758,
-0.03904834762215614,
0.005455101374536753,
-0.040677864104509354,
-0.03758363053202629,
-0.061619047075510025,
-0.03686540201306343,
-0.029068322852253914,
-0.05261857435107231,
0.02734312415122986,
0.046599775552749634,
0.04713815078139305,
0.006105421576648951,
0.00035604523145593703,
-0.014220846816897392,
-0.023872286081314087,
0.04700252041220665,
0.03856481611728668,
-0.03046196885406971,
-0.06486775726079941,
0.019047508016228676,
-0.03136255964636803,
0.014857480302453041,
-0.0126750273630023,
-0.028157196938991547,
0.0684322714805603,
0.05981305241584778,
0.037533730268478394,
0.021866653114557266,
-0.033502642065286636,
-0.039366815239191055,
-0.05322815850377083,
-0.026342760771512985,
-0.03299803286790848,
-0.01552106998860836,
-0.0373990498483181,
-0.03502398729324341,
-0.015144221484661102,
-0.016817601397633553,
0.018645357340574265,
-0.007126336917281151,
-0.006282825022935867,
0.048033274710178375,
0.03044707700610161,
0.012070758268237114,
0.019894640892744064,
-0.021974001079797745,
-0.04881343990564346,
0.07615450024604797,
0.02682335488498211,
0.009473317302763462,
-0.06738415360450745,
-0.023603875190019608,
0.009129893966019154,
0.022254690527915955,
-0.008063905872404575,
-0.004566731862723827,
0.09860832244157791,
-0.005299835000187159,
-0.008337877690792084,
0.024645118042826653,
-0.03214361518621445,
-0.03616221621632576,
-0.017478281632065773,
-0.007953314110636711,
-0.006771352607756853,
-0.06941892206668854,
0.014250206761062145,
0.014519854448735714,
0.046055182814598083,
-0.06395334005355835,
-0.031212827190756798,
-0.030651044100522995,
0.0390874482691288,
0.04652451351284981,
-0.014160591177642345,
-0.028566600754857063,
0.002666565589606762,
-0.055605411529541016,
-0.02804744429886341,
0.021376950666308403,
0.013431552797555923,
0.014596383087337017,
0.06637691706418991,
0.018436865881085396,
-0.026691973209381104,
0.052878957241773605,
0.04044070467352867,
0.08498766273260117,
0.03199400007724762,
-0.05938716605305672,
0.009760452434420586,
-0.03247115761041641,
0.02342361956834793,
-0.005667461082339287,
-0.007363925687968731,
-0.036031510680913925,
-0.09295739978551865,
-0.0256043653935194,
0.025269951671361923,
-0.014055426232516766,
-0.02217346616089344,
0.044227439910173416,
-0.008255933411419392,
0.002126011298969388,
-0.013700222596526146,
0.016324643045663834,
0.033376295119524,
-0.05599088966846466,
0.043450742959976196,
-0.004247201140969992,
0.03311941400170326,
-0.06653444468975067,
0.01850247010588646,
-0.01807497814297676,
-0.019666451960802078,
0.015682274475693703,
0.07534262537956238,
0.010513884015381336,
0.049500834196805954,
0.0846981331706047,
0.025557909160852432,
-0.03509199619293213,
0.03963093459606171,
0.05122828856110573,
-0.05025620386004448,
-0.050181373953819275,
0.010161617770791054,
-0.017410609871149063,
-0.043859612196683884,
-0.00848641898483038,
-0.028712434694170952,
0.05223071575164795,
0.029819630086421967,
-0.0127350939437747,
-0.006909314077347517,
0.015427172183990479,
-0.01578979194164276,
-0.022933464497327805,
-0.044654481112957,
-0.02987133152782917,
0.0026406629476696253,
-0.03505457565188408,
0.039387963712215424,
0.03034166805446148,
-0.005047403741627932,
0.052106283605098724,
0.0372246652841568,
-0.0400555245578289,
-0.03412008285522461,
0.019144268706440926,
0.019377220422029495,
-0.03487600386142731,
-0.06047794967889786,
-0.018954068422317505,
0.06394707411527634,
0.023748433217406273,
0.0051492080092430115,
-0.06640976667404175,
-0.010490823537111282,
0.06625302881002426,
-0.04389136657118797,
0.04307408630847931,
-0.0215339045971632,
0.04156883805990219,
0.05468910187482834,
-0.009932308457791805,
0.03670334070920944,
-0.03397880867123604,
0.021532123908400536,
0.004626294132322073,
0.018569767475128174,
0.0005060019320808351,
-0.0203228872269392,
-0.06612665206193924,
0.015381292439997196,
0.0340828038752079,
0.02846631221473217,
0.05573903024196625,
-0.020556367933750153,
-0.040789492428302765,
-0.0005937056848779321,
0.03359479084610939,
-0.03618321567773819,
0.00622298289090395,
0.019410250708460808,
0.04133874550461769,
-0.025270208716392517,
-0.008175121620297432,
-0.023274017497897148,
0.00017203812603838742,
0.025959501042962074,
0.010032332502305508,
-0.04208331182599068,
-0.02645033225417137,
0.025540512055158615,
-0.012042536400258541,
-0.04131438955664635,
-0.08257918804883957,
0.031143663451075554,
-0.011217301711440086,
-0.00023288112424779683,
0.03404675051569939,
0.02675442397594452,
0.04313253238797188,
0.05633954331278801,
0.013566331006586552,
-0.002906976966187358,
-0.035002849996089935,
0.02924933284521103,
-0.03313472867012024,
-0.0369369201362133,
-0.012391727417707443,
-0.022778812795877457,
-0.019882839173078537,
-0.02841290459036827,
-0.04234057664871216,
-0.04082736745476723,
0.0008159821736626327,
0.04812723025679588,
-0.023658139631152153,
-0.011159902438521385,
-0.019670618698000908,
0.028164323419332504,
-0.03126418590545654,
-0.027596089988946915,
-0.03294811397790909,
-0.030802058055996895,
-0.06206776574254036,
-0.049898047000169754,
0.04607541114091873,
-0.011708809062838554,
0.02481791004538536,
0.04401254653930664,
0.02940477803349495,
0.022427663207054138,
-0.013353344984352589,
-0.015328126959502697,
0.023278264328837395,
-0.021175699308514595,
-0.049142464995384216,
-0.026793112978339195,
0.030291343107819557,
0.024654993787407875,
0.0694153681397438,
-0.024106426164507866,
0.024274973198771477,
0.02687648870050907,
-0.032108109444379807,
-0.006872684694826603,
0.019526636227965355,
0.02847403660416603,
-0.05309677496552467,
-0.04858032986521721,
0.004714967682957649,
-0.05895363166928291,
0.022964928299188614,
-0.02954629249870777,
0.013713538646697998,
0.017243387177586555,
0.012111550197005272,
0.04968542233109474,
-0.008702029474079609,
-0.023329490795731544,
0.02596134878695011,
-0.020274421200156212,
0.016370275989174843,
-0.04415084794163704,
0.0721045583486557,
-0.035265225917100906,
0.013641786761581898,
-0.0034424271434545517,
0.003872520523145795,
-0.047083787620067596,
0.03208017349243164,
-0.01627442054450512,
-0.01403882447630167,
0.005124672781676054,
0.034564387053251266,
-0.010576789267361164,
0.0069899894297122955,
-0.03314492106437683,
0.02040567249059677,
-0.04238526523113251,
0.06985066831111908,
-0.014753958210349083,
0.011000191792845726,
-0.01948407106101513,
0.0009224202367477119,
-0.03435147553682327,
0.01027745846658945,
-0.013508697040379047,
-0.040150806307792664,
0.028270170092582703,
0.06840413808822632,
0.04278188571333885,
0.02449742704629898,
-0.0409015491604805,
-0.021012229844927788,
0.016875144094228745,
-0.029279641807079315,
-0.011281839571893215,
0.012920287437736988,
0.03701603412628174,
0.014118331484496593,
0.05611332505941391,
0.02516407147049904,
-0.06532052159309387,
-0.0712142214179039,
0.04550044611096382,
-0.002086879452690482,
0.0017045045970007777,
0.01917240582406521,
0.03345021232962608,
0.025114862248301506,
0.06020377576351166,
-0.032581426203250885,
0.003247140208259225,
-0.036275580525398254,
-0.03038008138537407,
0.03362045809626579,
-0.020472180098295212,
0.009619799442589283,
0.023312535136938095,
-0.040043946355581284,
-0.02420678548514843,
0.057110968977212906,
0.022412896156311035,
0.020565323531627655,
-0.04340937361121178,
-0.04604170843958855,
0.0024307449348270893,
-0.02215404435992241,
-0.05825411155819893,
0.021221183240413666,
-0.006406276021152735,
-0.02657681331038475,
0.071381576359272,
-0.013371722772717476,
-0.004501269198954105,
0.05584990978240967,
0.03312914818525314,
-0.026785833761096,
0.0605553574860096,
-0.004304681438952684,
-0.002017982304096222,
0.05451485142111778,
-0.08037048578262329,
-0.010482020676136017,
-0.031006205826997757,
0.07395448535680771,
-0.06636853516101837,
0.03051723912358284,
0.061259519308805466,
0.013163694180548191,
0.033074893057346344,
-0.03645651414990425,
-0.04486867040395737,
0.015497514978051186,
-0.038937997072935104,
0.08880846202373505,
0.019386466592550278,
-0.05169861391186714,
0.05000436305999756,
0.03609057888388634,
-0.08139477670192719,
0.03010701760649681,
0.03997967764735222,
0.02262573130428791,
0.021290497854351997,
0.04378654062747955,
-0.05925951153039932,
0.007807877380400896,
-0.04317662492394447,
0.040197160094976425,
-0.038061704486608505,
-0.0034367390908300877,
0.021589327603578568,
-0.03800080344080925,
-0.008079116232693195,
0.020579976961016655,
-0.03282206878066063,
-0.024618785828351974,
0.029270194470882416,
-0.04487326368689537,
-0.03438949957489967,
-0.004935006145387888,
0.030253659933805466,
-0.059769563376903534,
0.0012322342954576015,
-0.03162689879536629,
0.005662213079631329,
0.03318651393055916,
0.013725546188652515,
-0.017246363684535027,
-0.007779208943247795,
-0.0009768218733370304,
-0.0688416063785553,
-0.049739859998226166,
0.04226893559098244,
0.006256096996366978,
-0.023892667144536972,
0.0320068784058094,
0.009942179545760155,
-0.0004093539610039443,
0.03849755600094795,
0.0002611019881442189,
0.006298203952610493,
-0.06272339075803757,
-0.03621148318052292,
-0.0050000762566924095,
0.008205282501876354,
0.02498614601790905,
0.004694607574492693,
0.045255932956933975,
0.033454351127147675,
0.010573310777544975,
0.017110051587224007,
-0.022237056866288185,
-0.021580612286925316,
0.04011382907629013,
-0.04481317102909088,
0.021488862112164497,
0.0031675337813794613,
-0.04958664998412132,
-0.0464843325316906,
-0.0018164630746468902,
-0.019890818744897842,
0.01651768758893013,
-0.059002820402383804,
-0.005741688888520002,
0.01949125900864601,
-0.027176907286047935,
-0.05625000223517418,
-0.09557801485061646,
-0.03728721663355827,
-0.04053846374154091,
0.03230200707912445,
0.027084840461611748,
-0.044523753225803375,
0.015120290219783783,
-0.042671214789152145,
-0.05267705023288727,
0.02117978222668171,
0.007146691437810659,
-0.026125218719244003,
0.042169492691755295,
0.03430594876408577,
-0.08215107023715973,
0.013447867706418037,
0.05645225569605827,
-0.02204444259405136,
0.018850870430469513,
0.022110793739557266,
0.02279265969991684,
0.041344039142131805,
0.018311435356736183,
-0.051027026027441025,
-0.022989384829998016,
-0.0824403166770935,
-0.05153786763548851,
-0.027657950296998024,
0.003344976343214512,
0.057905588299036026
] |
CAMeL-Lab/bert-base-arabic-camelbert-ca-sentiment | [
"pytorch",
"tf",
"bert",
"text-classification",
"ar",
"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
}
}
} | 73 | null | ---
tags:
- Pytorch
license: apache-2.0
datasets:
- Publaynet
---
# Detectron2 Cascade-RCNN with FPN and Group Normalization on ResNext32xd4-50 trained on Publaynet for Document Layout Analysis
The model and has been trained with the Tensorflow training toolkit Tensorpack and then transferred to Pytorch using a conversion script.
The Tensorflow and Pytorch models differ slightly (padding ...), however validating both models give a difference of less than 0.03 mAP.
A second model has been added where the Tensorpack model has been used as initial checkpoint and training has been resumed for 20K iterations.
Performance of this model is now superior to the Tensorpack model.
Please check: [Xu Zhong et. all. - PubLayNet: largest dataset ever for document layout analysis](https://arxiv.org/abs/1908.07836).
This model is different from the model used the paper.
The code has been adapted so that it can be used in a **deep**doctection pipeline.
## How this model can be used
This model can be used with the **deep**doctection in a full pipeline, along with table recognition and OCR. Check the general instruction following this [Get_started](https://github.com/deepdoctection/deepdoctection/blob/master/notebooks/Get_Started.ipynb) tutorial.
## This is an inference model only
To reduce the size of the checkpoint we removed all variables that are not necessary for inference. Therefore it cannot be used for fine-tuning. To fine tune this model please use Tensorflow, as well as its training script. More information can be found in this [this model card](https://huggingface.co/deepdoctection/tp_casc_rcnn_X_32xd4_50_FPN_GN_2FC_publaynet).
| [
-0.00843788031488657,
-0.018425079062581062,
0.0006212276639416814,
0.04942353069782257,
0.01526783499866724,
0.01047656498849392,
-0.017029069364070892,
-0.0037809545174241066,
-0.01839381642639637,
0.05165142938494682,
0.027030175551772118,
0.01110971998423338,
0.004899216815829277,
0.052012477070093155,
-0.0241305623203516,
-0.03820144757628441,
-0.019047869369387627,
-0.03796155005693436,
-0.0419251024723053,
0.01259669940918684,
0.04752557352185249,
-0.0193013958632946,
-0.020449399948120117,
0.03660685569047928,
-0.01128540001809597,
-0.0026735225692391396,
0.019843855872750282,
0.04889107495546341,
0.029136259108781815,
-0.07702869176864624,
-0.022852765396237373,
-0.044423747807741165,
-0.024817224591970444,
-0.01562334131449461,
-0.02375180274248123,
0.0005659540765918791,
-0.003916673827916384,
0.003949694335460663,
0.03244440257549286,
0.04431444779038429,
-0.014847476035356522,
0.03627007454633713,
-0.0005840128287672997,
-0.050848979502916336,
0.05714895948767662,
0.007386362180113792,
-0.06020352616906166,
-0.032194558531045914,
0.0321970134973526,
-0.016512200236320496,
-0.056033905595541,
-0.07034346461296082,
-0.0204163808375597,
0.011205358430743217,
-0.018291573971509933,
-0.016725782305002213,
-0.06321258097887039,
-0.005033372901380062,
0.06928816437721252,
-0.02545960806310177,
-0.010956997983157635,
-0.005910706706345081,
-0.061267200857400894,
0.012242372147738934,
0.034797679632902145,
-0.04210110008716583,
0.007913992740213871,
-0.055546339601278305,
0.020482130348682404,
-0.020440885797142982,
0.06283850967884064,
-0.014754452742636204,
0.011387361213564873,
-0.08085276931524277,
0.014662450179457664,
-0.0002825025876518339,
0.043042197823524475,
0.027444077655673027,
-0.01958712376654148,
0.06223386898636818,
0.02475137449800968,
0.02153392881155014,
0.03175562247633934,
0.0017621289007365704,
-0.017965562641620636,
0.04162081703543663,
-0.011202934198081493,
0.0009156713495030999,
0.019337210804224014,
0.03188216686248779,
-0.04599505662918091,
-0.025606591254472733,
-0.017804669216275215,
-0.04533488675951958,
-0.02486410364508629,
0.038649190217256546,
0.02654370106756687,
-0.0077844467014074326,
-0.008256991393864155,
0.03741147369146347,
0.03287311643362045,
0.041962310671806335,
-0.004583429545164108,
0.051317062228918076,
0.026175251230597496,
0.003975123632699251,
-0.030049055814743042,
-0.03877099230885506,
-0.05959561467170715,
0.05169269070029259,
0.04375806450843811,
-0.025487052276730537,
-0.04268770292401314,
0.04331423342227936,
-0.0019091845024377108,
-0.010075348429381847,
0.05955424904823303,
-0.0379207469522953,
-0.06263138353824615,
-0.05753006413578987,
0.04201536625623703,
0.002647050656378269,
-0.0037238155491650105,
-0.009849765338003635,
-0.04708562046289444,
0.012949681840837002,
-0.06242911517620087,
-0.02738945558667183,
-0.013317606411874294,
0.014146808534860611,
-0.03665360435843468,
0.04021938145160675,
0.02243550308048725,
-0.07017482072114944,
0.01099488977342844,
0.01534659881144762,
-0.061049845069646835,
0.05652400106191635,
0.028846340253949165,
0.09038051217794418,
-0.06560932099819183,
-0.016037974506616592,
0.01893007755279541,
0.042211610823869705,
-0.03266254812479019,
0.01262671034783125,
0.010940097272396088,
-0.03661437705159187,
-0.04066403582692146,
-0.05795237794518471,
0.05529194325208664,
-0.0657879188656807,
-0.0013694639783352613,
0.04059404507279396,
-0.014470343478024006,
0.040125418454408646,
-0.05649983510375023,
0.02224467508494854,
0.015713810920715332,
0.008569461293518543,
-0.029954811558127403,
0.0504257008433342,
-0.001022795680910349,
-0.004302083980292082,
-0.0292369332164526,
-0.040880877524614334,
-0.007496228441596031,
0.08046498149633408,
-0.009590936824679375,
-0.024225860834121704,
-0.044505417346954346,
0.023329859599471092,
0.05404449999332428,
0.07868848741054535,
-0.02405952475965023,
0.04897234961390495,
0.06273257732391357,
0.03936590254306793,
-0.022440163418650627,
0.03486831858754158,
0.018894996494054794,
-0.04306973144412041,
-0.03316597640514374,
0.0017160795396193862,
0.0040072123520076275,
-0.034033287316560745,
0.011640049517154694,
0.028068386018276215,
0.006453001406043768,
-0.04285665601491928,
-0.023630453273653984,
0.0652390643954277,
-0.006656629499047995,
-0.024117140099406242,
-0.0032487206626683474,
-0.02431327849626541,
-0.01681053452193737,
0.053646285086870193,
-0.041751861572265625,
0.0045756446197628975,
0.009519568644464016,
-0.037592098116874695,
0.03302285075187683,
0.010791786015033722,
0.02000664919614792,
0.02893233299255371,
-0.009857892990112305,
0.08532704412937164,
-0.06070564687252045,
0.027042774483561516,
-0.03869321197271347,
-0.035487718880176544,
0.023718619719147682,
0.006438199430704117,
0.03278903663158417,
0.03249327465891838,
0.011727822944521904,
-0.07838405668735504,
0.03538812696933746,
0.020701296627521515,
0.033246222883462906,
0.05263803154230118,
-0.025612812489271164,
-0.01195098739117384,
0.039504047483205795,
0.03754556551575661,
-0.050758637487888336,
-0.045955922454595566,
0.0006163368234410882,
0.02720547653734684,
-0.045416902750730515,
-0.01679970510303974,
-0.01814769208431244,
0.0574941486120224,
-0.0804145410656929,
-0.07527295500040054,
0.029521247372031212,
0.015380545519292355,
0.0006744747515767813,
0.02452985756099224,
-0.021832745522260666,
0.009581225924193859,
0.033000703901052475,
-0.0064737675711512566,
0.010602876543998718,
-0.038676030933856964,
0.011391229927539825,
0.02019534260034561,
0.02618473954498768,
-0.05164533108472824,
0.036440059542655945,
-0.00841966737061739,
0.003036665031686425,
0.03504796698689461,
-0.04895961284637451,
0.03725367411971092,
0.0531047023832798,
0.027805911377072334,
-0.03376057744026184,
0.04542866721749306,
-0.00298482202924788,
0.004627261310815811,
0.07260486483573914,
0.011251768097281456,
0.05188574641942978,
-0.015423406846821308,
0.04274936765432358,
0.08455311506986618,
-0.012438328936696053,
0.016193317249417305,
0.04383765161037445,
0.07223370671272278,
-0.006488337647169828,
-0.01346556842327118,
0.06098829582333565,
-0.04133831709623337,
0.018787916749715805,
-0.06690622866153717,
0.013670487329363823,
-0.02132411114871502,
-0.017683224752545357,
0.04565129056572914,
0.019067155197262764,
-0.036891043186187744,
0.015418055467307568,
-0.00570725230500102,
-0.001302770571783185,
0.007358693052083254,
0.007687585894018412,
-0.012386607937514782,
0.007209468632936478,
-0.025317419320344925,
0.0072398060001432896,
-0.055787164717912674,
-0.03408895432949066,
-0.0253742765635252,
-0.041969671845436096,
-0.011279172264039516,
-0.08592198044061661,
-0.015739215537905693,
-0.07464142888784409,
-0.027744052931666374,
0.03534718602895737,
0.02410234324634075,
0.008503361605107784,
-0.030717788264155388,
0.017099633812904358,
-0.021002041175961494,
-0.022152507677674294,
-0.04926401376724243,
-0.03133078292012215,
-0.04841158911585808,
-0.08359978348016739,
0.04090370237827301,
-0.001809059176594019,
0.03032149188220501,
0.026276472955942154,
-0.016199316829442978,
-0.03151882812380791,
-0.007284820079803467,
0.04992659017443657,
0.03156977519392967,
-0.026093637570738792,
-0.029596718028187752,
0.018897857517004013,
-0.019534071907401085,
-0.005753802601248026,
-0.03705677017569542,
-0.07122909277677536,
0.07385379821062088,
0.09006788581609726,
0.012803693301975727,
0.011685343459248543,
0.003880462609231472,
-0.05185934528708458,
-0.028404947370290756,
-0.033831432461738586,
-0.01910928636789322,
-0.017183920368552208,
-0.049344249069690704,
-0.04236920177936554,
-0.02092110738158226,
-0.031489551067352295,
-0.012360384687781334,
-0.024580011144280434,
0.003996456973254681,
0.045134272426366806,
0.045521561056375504,
0.02610158547759056,
0.02418501488864422,
-0.022838348522782326,
-0.04257167875766754,
0.07367397844791412,
0.011134982109069824,
0.009284349158406258,
-0.04181083291769028,
-0.050804123282432556,
0.042594972997903824,
0.01854594238102436,
-0.003731341566890478,
-0.019055979326367378,
0.07221052050590515,
0.008722309954464436,
0.004933311138302088,
0.02134491503238678,
-0.00931145902723074,
-0.018041711300611496,
0.0040079886093735695,
-0.00001127284031099407,
-0.025386055931448936,
-0.044442255049943924,
0.002118938136845827,
-0.016882775351405144,
0.01887577585875988,
-0.06591328978538513,
-0.06125921010971069,
0.008498815819621086,
0.04457557946443558,
0.04493347927927971,
-0.01442312728613615,
-0.049045734107494354,
-0.003350852057337761,
-0.05851975828409195,
-0.020710552111268044,
0.031033474951982498,
0.019752999767661095,
0.0319381020963192,
0.02859807200729847,
0.027678584679961205,
-0.035946398973464966,
0.08101975172758102,
0.05031336843967438,
0.051388733088970184,
0.0125800222158432,
-0.0457395575940609,
0.015375793911516666,
-0.003839754732325673,
0.026312580332159996,
-0.015818191692233086,
-0.010684331879019737,
-0.044725947082042694,
-0.10785879194736481,
0.0077341096475720406,
0.012298592366278172,
0.00881061889231205,
-0.02826070971786976,
0.029625196009874344,
-0.023928970098495483,
-0.025128725916147232,
0.017517002299427986,
0.029636703431606293,
0.048102766275405884,
-0.043142497539520264,
0.044225651770830154,
-0.012202715501189232,
0.032450783997774124,
-0.034554317593574524,
-0.005398866254836321,
-0.04590760916471481,
-0.032463621348142624,
0.012701906263828278,
0.04520682990550995,
0.014650455676019192,
0.03706085681915283,
0.029051648452878,
0.01270903181284666,
-0.017099641263484955,
0.03686992824077606,
0.049904074519872665,
-0.03422240540385246,
-0.05262405797839165,
0.02341597154736519,
-0.0036969720385968685,
0.004520568065345287,
-0.03188379853963852,
-0.03176407516002655,
0.05244426056742668,
0.04888450726866722,
0.004923219792544842,
-0.0009623291552998126,
0.007722808979451656,
-0.013801371678709984,
-0.031823933124542236,
-0.031286656856536865,
-0.008662611246109009,
-0.03316834941506386,
-0.03681143373250961,
0.018901003524661064,
0.030344415456056595,
0.02463550493121147,
0.06249989941716194,
0.06732204556465149,
-0.032744623720645905,
-0.04106719419360161,
0.0601351261138916,
0.03616813197731972,
-0.03608998656272888,
-0.024728018790483475,
-0.03517948091030121,
0.03713058680295944,
0.0375920832157135,
-0.027564600110054016,
-0.09994571655988693,
0.017977403476834297,
0.04564767703413963,
-0.0349435992538929,
0.06859824806451797,
0.005688503384590149,
0.03883155435323715,
0.05414640158414841,
-0.01251024566590786,
0.03487861528992653,
-0.033935919404029846,
0.020733147859573364,
-0.022998420521616936,
0.05476322025060654,
-0.012653819285333157,
-0.04011794924736023,
-0.008497191593050957,
0.051548752933740616,
0.006028162781149149,
0.0700351744890213,
0.030618561431765556,
-0.042254287749528885,
-0.04529856890439987,
0.004110758658498526,
0.02310389094054699,
-0.039554841816425323,
0.033680472522974014,
0.023975655436515808,
0.04250341281294823,
-0.05262797698378563,
-0.05385330691933632,
-0.03253186121582985,
-0.02114393375813961,
0.03502658009529114,
-0.022726353257894516,
-0.03155075013637543,
-0.04660610854625702,
0.02048914134502411,
-0.006832519546151161,
-0.009642704389989376,
-0.09231049567461014,
0.04967945069074631,
-0.012742772698402405,
-0.005425202660262585,
0.04006118327379227,
0.022604037076234818,
0.05162268131971359,
0.05710412189364433,
-0.007800644263625145,
0.024712910875678062,
-0.0298007745295763,
0.04212291166186333,
-0.04311412200331688,
-0.007037042174488306,
0.006156486459076405,
-0.05887019634246826,
-0.016001690179109573,
-0.026716791093349457,
-0.02526485174894333,
-0.02640853077173233,
0.0062464699149131775,
0.018115447834134102,
-0.03224464878439903,
-0.021218957379460335,
-0.02678368240594864,
0.02201889082789421,
-0.019720302894711494,
-0.033860523253679276,
-0.026634151116013527,
-0.052694883197546005,
-0.05623018741607666,
-0.033742427825927734,
0.016683559864759445,
-0.01671401783823967,
0.030330311506986618,
0.02776245027780533,
0.0157002005726099,
0.006609278731048107,
0.00010418426245450974,
-0.004263218026608229,
0.05550892651081085,
-0.007959612645208836,
-0.00157825811766088,
-0.05294448137283325,
0.0062485914677381516,
0.0026413663290441036,
0.030415011569857597,
-0.020041681826114655,
0.0211018193513155,
0.04235469922423363,
-0.024323012679815292,
0.004024708643555641,
0.03423731029033661,
0.020514098927378654,
-0.06698740273714066,
-0.026236480101943016,
-0.007423870265483856,
-0.026284750550985336,
0.02820899337530136,
0.020255334675312042,
-0.02273707091808319,
-0.00309749529697001,
0.007860880345106125,
0.03944665566086769,
-0.011507302522659302,
-0.025745490565896034,
0.0061405124142766,
-0.028330668807029724,
0.04210057854652405,
-0.05381123349070549,
0.05413563549518585,
-0.04006494581699371,
-0.0015405192971229553,
-0.0022118736524134874,
0.009907686151564121,
-0.03151538223028183,
0.044614795595407486,
0.006011576391756535,
-0.01783379353582859,
-0.014429447241127491,
0.03565328195691109,
-0.03969088941812515,
0.013258242979645729,
-0.03243474289774895,
0.004113306291401386,
-0.0248754620552063,
0.061621472239494324,
-0.04964270070195198,
-0.011069318279623985,
-0.04457240551710129,
0.005839348305016756,
-0.04679860174655914,
-0.007084456272423267,
-0.008676091209053993,
-0.02507767826318741,
0.017132289707660675,
0.048700738698244095,
0.021057259291410446,
0.03658142313361168,
-0.027317482978105545,
0.00647292286157608,
0.050047941505908966,
-0.07906679064035416,
-0.032778818160295486,
-0.006210959982126951,
-0.0038351197727024555,
-0.009545892477035522,
0.04124777019023895,
0.045942921191453934,
-0.02015714906156063,
-0.031217841431498528,
0.0734180212020874,
0.014379497617483139,
-0.011909120716154575,
-0.006629384588450193,
0.001122643006965518,
0.03632337227463722,
0.05667455866932869,
-0.04426921531558037,
0.02030879259109497,
-0.0007448015967383981,
-0.01157414261251688,
0.02729531191289425,
-0.010559896938502789,
0.06650546193122864,
0.004479655530303717,
-0.039120059460401535,
-0.008114988915622234,
0.07343515008687973,
0.03286374360322952,
0.012431624345481396,
-0.04529288411140442,
-0.049380380660295486,
0.03409184515476227,
0.023288516327738762,
-0.0730905532836914,
-0.004675178788602352,
0.04002400487661362,
-0.04689852520823479,
0.06140926852822304,
-0.004828870762139559,
0.0036543854512274265,
0.027210677042603493,
0.03578218072652817,
-0.019322562962770462,
0.050992630422115326,
-0.0517638735473156,
0.008624535985291004,
0.04964723810553551,
-0.05432990938425064,
-0.01142026111483574,
-0.04250272363424301,
0.04835128411650658,
-0.06038122624158859,
0.061429306864738464,
0.05444507300853729,
0.018701912835240364,
0.03571820259094238,
-0.02026372402906418,
-0.02660341188311577,
0.026323065161705017,
-0.03288332000374794,
0.06323247402906418,
-0.0034040361642837524,
-0.052717436105012894,
0.06280694156885147,
0.029531467705965042,
-0.06163613870739937,
0.04753955453634262,
0.05327622592449188,
0.03496285155415535,
0.044289711862802505,
0.031114820390939713,
-0.03605823218822479,
0.020390570163726807,
-0.06083839386701584,
0.02326282672584057,
-0.05744604393839836,
-0.002848210046067834,
0.020722877234220505,
-0.02331303432583809,
-0.017947355285286903,
0.04706501215696335,
-0.0182330422103405,
0.0016897345194593072,
0.03115476295351982,
-0.043984752148389816,
-0.04841751232743263,
0.0010363021865487099,
0.022542374208569527,
-0.013525557704269886,
-0.015079186297953129,
-0.0311861801892519,
0.03328116610646248,
0.030237406492233276,
-0.011137240566313267,
-0.03820062428712845,
0.0027281229849904776,
0.02439809963107109,
-0.05941849201917648,
-0.04322358965873718,
0.019714446738362312,
0.009224716573953629,
-0.02759009413421154,
0.011507685296237469,
0.0007773137767799199,
0.04365280643105507,
0.02041374146938324,
-0.02325546182692051,
0.01833169534802437,
-0.04862537235021591,
0.00729448301717639,
0.014373320154845715,
-0.012719770893454552,
0.025540407747030258,
-0.0280955471098423,
0.018209557980298996,
0.06229471042752266,
0.02367551065981388,
-0.005574775394052267,
-0.01944783143699169,
-0.01418573223054409,
0.045677218586206436,
-0.033734031021595,
0.009646979160606861,
-0.006859872955828905,
-0.04307396709918976,
-0.044508907943964005,
-0.012782657518982887,
-0.047486063092947006,
0.027318386361002922,
-0.04905463010072708,
0.0018074695253744721,
0.024622030556201935,
-0.0012674623867496848,
-0.03288149833679199,
-0.10314829647541046,
-0.03162766247987747,
-0.014475742354989052,
-0.013575059361755848,
0.02476903796195984,
-0.03470863774418831,
0.02126152254641056,
-0.031102925539016724,
-0.04380786046385765,
0.019377373158931732,
0.007737739477306604,
-0.043141450732946396,
0.0357184000313282,
0.03495561704039574,
-0.018699057400226593,
0.05706126615405083,
0.04131476953625679,
-0.05033288151025772,
0.01621069572865963,
0.013850978575646877,
0.023561716079711914,
0.049579404294490814,
0.05172384902834892,
-0.02144038677215576,
-0.007169946096837521,
-0.04880625754594803,
-0.041107770055532455,
-0.040823426097631454,
0.00808525551110506,
0.0445648729801178
] |
CAMeL-Lab/bert-base-arabic-camelbert-ca | [
"pytorch",
"tf",
"jax",
"bert",
"fill-mask",
"ar",
"arxiv:2103.06678",
"transformers",
"license:apache-2.0",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 580 | null | ---
tags:
- Pytorch
license: apache-2.0
datasets:
- Pubtabnet
---
# Detectron2 Cascade-RCNN with FPN and Group Normalization on ResNext32xd4-50 trained on Pubtabnet for Semantic Segmentation of tables.
The model and has been trained with the Tensorflow training toolkit Tensorpack and then transferred to Pytorch using a conversion script.
The Tensorflow and Pytorch models differ slightly (padding ...), however validating both models give a difference of less than 0.03 mAP.
A second model has been added where the Tensorpack model has been used as initial checkpoint and training has been resumed for 50K iterations.
Performance of this model is now superior to the Tensorpack model.
Regarding the dataset, please check: [Xu Zhong et. all. - Image-based table recognition: data, model, and evaluation](https://arxiv.org/abs/1911.10683).
The model has been trained on detecting cells from tables. Note, that the datasets contains tables only. Therefore, it is required to perform a table detection task before
detecting cells.
The code has been adapted so that it can be used in a **deep**doctection pipeline.
## How this model can be used
This model can be used with the **deep**doctection in a full pipeline, along with table recognition and OCR. Check the general instruction following this [Get_started](https://github.com/deepdoctection/deepdoctection/blob/master/notebooks/Get_Started.ipynb) tutorial.
## This is an inference model only
To reduce the size of the checkpoint we removed all variables that are not necessary for inference. Therefore it cannot be used for fine-tuning. To fine tune this model please use Tensorflow, as well as its training script. More information can be found in this [this model card](https://huggingface.co/deepdoctection/tp_casc_rcnn_X_32xd4_50_FPN_GN_2FC_pubtabnet_c).
| [
-0.017452795058488846,
-0.03392080217599869,
-0.0022571603767573833,
0.0467144213616848,
0.005279296077787876,
0.008187183178961277,
-0.016348708420991898,
-0.0048783463425934315,
-0.014853161759674549,
0.0477292537689209,
0.011486662551760674,
0.018809543922543526,
0.00739755854010582,
0.04869398847222328,
-0.02427518554031849,
-0.0382685661315918,
-0.005699658766388893,
-0.023436523973941803,
-0.05008050054311752,
0.03109673410654068,
0.03407202661037445,
0.005961806513369083,
-0.004970121663063765,
0.04955848678946495,
-0.026650330051779747,
0.008720002137124538,
0.021156881004571915,
0.05048036575317383,
0.03126975893974304,
-0.06733091175556183,
-0.006273029837757349,
-0.05865686014294624,
-0.03462018445134163,
-0.029346300289034843,
-0.009504790417850018,
0.005639621056616306,
-0.011700650677084923,
-0.0013994588516652584,
0.03494936600327492,
0.05113935098052025,
-0.020957235246896744,
0.02651342749595642,
-0.0038310696836560965,
-0.03679339215159416,
0.05709507688879967,
0.02096254751086235,
-0.04122186452150345,
-0.014937647618353367,
0.02536684274673462,
-0.011717714369297028,
-0.06661588698625565,
-0.08278504759073257,
-0.03318937495350838,
0.010956473648548126,
-0.02913847006857395,
-0.032024551182985306,
-0.055190302431583405,
-0.008669733069837093,
0.08862897753715515,
-0.03687614947557449,
0.0004689081397373229,
-0.0040456331335008144,
-0.056308817118406296,
0.013111554086208344,
0.04483744874596596,
-0.020063765347003937,
0.01137333083897829,
-0.052059970796108246,
0.015893392264842987,
-0.031182795763015747,
0.051616549491882324,
-0.01887645572423935,
0.006801792420446873,
-0.07971592247486115,
-0.0010622214758768678,
-0.002137731993570924,
0.040536798536777496,
0.035773180425167084,
-0.014102870598435402,
0.05998234078288078,
0.03898169845342636,
0.012415127828717232,
0.020452013239264488,
-0.008375264704227448,
-0.03693702071905136,
0.04918064922094345,
-0.0072671291418373585,
0.016832465305924416,
0.0156859178096056,
0.03180078789591789,
-0.049911439418792725,
-0.014176377095282078,
-0.025257550179958344,
-0.037008728832006454,
-0.010944009758532047,
0.05257023870944977,
0.023858077824115753,
0.021611709147691727,
0.009714667685329914,
0.03642597049474716,
0.044221170246601105,
0.016497978940606117,
0.003577133174985647,
0.06174968555569649,
0.023768847808241844,
0.007363665848970413,
-0.03723326697945595,
-0.034994784742593765,
-0.06145983189344406,
0.0286154393106699,
0.027296068146824837,
-0.03785303980112076,
-0.04709721356630325,
0.04593193903565407,
0.0016149517614394426,
-0.010831132531166077,
0.0557393841445446,
-0.043999627232551575,
-0.045585956424474716,
-0.045768581330776215,
0.017947254702448845,
0.0071997251361608505,
-0.003235110081732273,
-0.014197547920048237,
-0.05806655064225197,
0.006602457258850336,
-0.05041832476854324,
-0.0158978383988142,
-0.014399595558643341,
0.0052807144820690155,
-0.01770334132015705,
0.036504216492176056,
0.020605100318789482,
-0.07080791890621185,
0.01135963387787342,
0.01998085342347622,
-0.06596771627664566,
0.05696994066238403,
0.027306124567985535,
0.09958120435476303,
-0.0667283684015274,
-0.029814068228006363,
0.009355150163173676,
0.03367510065436363,
-0.0336465984582901,
0.024577006697654724,
0.029413875192403793,
-0.0437474250793457,
-0.035135865211486816,
-0.05583024024963379,
0.05555451288819313,
-0.0671907588839531,
-0.004327462520450354,
0.02661697007715702,
-0.015936778858304024,
0.04207352548837662,
-0.05990155413746834,
0.009614028036594391,
0.007847834378480911,
0.015551378019154072,
0.0008287777309305966,
0.0539717860519886,
-0.007082766387611628,
0.001353653147816658,
-0.04056918993592262,
-0.04310190677642822,
0.009794931858778,
0.0714460238814354,
-0.009906458668410778,
-0.022749172523617744,
-0.028006788343191147,
0.03681553900241852,
0.059519752860069275,
0.07172225415706635,
-0.021106228232383728,
0.034452419728040695,
0.07087776064872742,
0.018455689772963524,
-0.024907294660806656,
0.045974500477313995,
0.01818053051829338,
-0.057920049875974655,
-0.03031005524098873,
-0.003628687933087349,
-0.030699919909238815,
-0.03176921233534813,
0.023159725591540337,
0.018005499616265297,
-0.01422242633998394,
-0.04277712479233742,
-0.03677230700850487,
0.0689719095826149,
-0.004173066932708025,
-0.00725045520812273,
-0.01570698246359825,
-0.018274793401360512,
-0.02685416117310524,
0.06724826991558075,
-0.03347524255514145,
-0.0042238482274115086,
0.0012614561710506678,
-0.015420382842421532,
0.018930034711956978,
0.0032183153089135885,
0.036155253648757935,
0.04264253005385399,
-0.015964586287736893,
0.08716674149036407,
-0.029644936323165894,
0.011099613271653652,
-0.026737645268440247,
-0.0392230860888958,
0.03656918928027153,
0.00960344634950161,
0.034075669944286346,
0.044021014124155045,
0.02627052180469036,
-0.05884329602122307,
0.02696753852069378,
0.02205795980989933,
0.050451528280973434,
0.05061613395810127,
-0.02050076611340046,
-0.0045441328547894955,
0.022228356450796127,
0.053563591092824936,
-0.05992519110441208,
-0.0336022824048996,
0.008006072603166103,
0.042851340025663376,
-0.03536974638700485,
-0.006249076221138239,
-0.018151190131902695,
0.06714244186878204,
-0.08571993559598923,
-0.07384713739156723,
0.01290383841842413,
0.0062441048212349415,
0.004179692827165127,
0.03195430338382721,
-0.010970605537295341,
-0.010792315937578678,
0.029791701585054398,
-0.002316325670108199,
0.0198654904961586,
-0.048553112894296646,
0.00905648060142994,
0.016792068257927895,
0.03052404336631298,
-0.06702180951833725,
0.03281809762120247,
0.00911791529506445,
-0.005728755611926317,
0.03739720955491066,
-0.03501134738326073,
0.021019548177719116,
0.04725520312786102,
0.032517120242118835,
-0.02836558222770691,
0.027952898293733597,
0.0006425348110496998,
0.0038367544766515493,
0.058284394443035126,
0.01866196282207966,
0.05869663134217262,
-0.011786595918238163,
0.03177852928638458,
0.08377836644649506,
-0.03007499873638153,
0.02570686675608158,
0.04689912125468254,
0.08613672852516174,
-0.0005781766376458108,
-0.0075846463441848755,
0.05452993884682655,
-0.0439261719584465,
0.020236831158399582,
-0.0598924495279789,
-0.0036162948235869408,
-0.012930861674249172,
-0.0009569370886310935,
0.04047739505767822,
0.026393447071313858,
-0.04207194969058037,
0.008131032809615135,
0.00010795067646540701,
-0.019519824534654617,
0.028003383427858353,
0.0038650326896458864,
-0.003585254540666938,
0.004774545785039663,
-0.018600648269057274,
0.0022602465469390154,
-0.04131824150681496,
-0.02573646791279316,
-0.025371527299284935,
-0.04803470894694328,
-0.02383822575211525,
-0.07511371374130249,
-0.015249579213559628,
-0.0546221025288105,
-0.04263671487569809,
0.022156480699777603,
0.022185854613780975,
0.007280097808688879,
-0.046119216829538345,
0.0486467070877552,
-0.026208246126770973,
-0.023121219128370285,
-0.04813288524746895,
-0.02064385823905468,
-0.05415799841284752,
-0.08130605518817902,
0.03293963894248009,
-0.013292545452713966,
0.02312314137816429,
0.030090030282735825,
-0.021399401128292084,
-0.03595886752009392,
0.011715682223439217,
0.05449334532022476,
0.021635767072439194,
-0.045507997274398804,
-0.042120665311813354,
0.03809700533747673,
-0.010337610729038715,
0.0010876108426600695,
-0.04447776824235916,
-0.05786997824907303,
0.05743778496980667,
0.07992308586835861,
0.019148660823702812,
-0.0006399042904376984,
0.002077041892334819,
-0.05597445368766785,
-0.03884601593017578,
-0.03306637331843376,
-0.019757485017180443,
-0.010892316699028015,
-0.0602538101375103,
-0.05362175777554512,
-0.006588547956198454,
-0.04939242824912071,
-0.034263771027326584,
-0.006152929272502661,
0.0009020739234983921,
0.03634851798415184,
0.03838229179382324,
0.01151512935757637,
0.022056838497519493,
-0.03440164029598236,
-0.04264022037386894,
0.05238829180598259,
-0.014993091113865376,
0.005895365960896015,
-0.06019142270088196,
-0.05156785249710083,
0.03438527509570122,
0.010688459500670433,
-0.0008883851696737111,
-0.02367168478667736,
0.08481138199567795,
-0.001175495213828981,
0.004767831414937973,
0.02571413666009903,
-0.026398159563541412,
-0.0194849856197834,
0.026822099462151527,
0.002974032424390316,
-0.004760135430842638,
-0.050476040691137314,
-0.008490703999996185,
-0.006450407672673464,
0.023317936807870865,
-0.06157771125435829,
-0.07030653953552246,
0.000919599668122828,
0.04772760719060898,
0.03488359600305557,
0.007888530381023884,
-0.04017919674515724,
-0.006543436553329229,
-0.06370645016431808,
-0.03184787929058075,
0.03687833622097969,
0.02566341497004032,
0.020290177315473557,
0.03455158323049545,
0.032708410173654556,
-0.04640253260731697,
0.07660733163356781,
0.07128600031137466,
0.05090031400322914,
0.017872456461191177,
-0.05043795704841614,
-0.0027739116922020912,
0.0008384697139263153,
0.027604522183537483,
0.001233830931596458,
-0.015909293666481972,
-0.0403359979391098,
-0.0963883325457573,
-0.015166440047323704,
0.005577088799327612,
0.01473696157336235,
-0.03182404115796089,
0.015514565631747246,
-0.004469872917979956,
-0.033470429480075836,
-0.00012861097638960928,
0.03918737545609474,
0.04473080486059189,
-0.038805603981018066,
0.05442981794476509,
-0.018740257248282433,
0.04271582514047623,
-0.04496472701430321,
-0.0013300012797117233,
-0.037469349801540375,
-0.034063562750816345,
0.002464317949488759,
0.04105399549007416,
0.0020102905109524727,
0.042160630226135254,
0.040078308433294296,
-0.0024987671058624983,
-0.029402753338217735,
0.033969052135944366,
0.04800240322947502,
-0.02852746844291687,
-0.051431793719530106,
0.012357376515865326,
-0.015372474677860737,
0.013883174397051334,
-0.028418369591236115,
-0.017150476574897766,
0.04549873247742653,
0.055158574134111404,
0.012424249202013016,
-0.019511977210640907,
-0.004444490652531385,
-0.0009329273598268628,
-0.03394388407468796,
-0.03975793346762657,
-0.004279753193259239,
0.015007402747869492,
-0.02934618853032589,
-0.0052400510758161545,
0.036828480660915375,
0.021678423509001732,
0.05927303805947304,
0.05156322941184044,
-0.028814824298024178,
-0.036651045083999634,
0.04766757786273956,
0.033442478626966476,
-0.04207272827625275,
-0.039103154093027115,
-0.050260934978723526,
0.0362536683678627,
0.030151216313242912,
-0.00943603366613388,
-0.07993551343679428,
0.016041208058595657,
0.05147146061062813,
-0.03305007889866829,
0.08660473674535751,
-0.0070195551961660385,
0.0352715328335762,
0.058929648250341415,
-0.009004087187349796,
0.03382512181997299,
-0.04818836227059364,
0.009512253105640411,
-0.016822516918182373,
0.04779879003763199,
-0.013747230172157288,
-0.039435744285583496,
-0.012208336964249611,
0.036091823130846024,
0.009897949174046516,
0.04687342420220375,
0.0411144383251667,
-0.037340886890888214,
-0.040014512836933136,
0.016579557210206985,
0.032095421105623245,
-0.02369210310280323,
0.03040343150496483,
0.01995049975812435,
0.03198796138167381,
-0.063896544277668,
-0.0472569540143013,
-0.02983979322016239,
-0.012988177128136158,
0.024115225300192833,
-0.003887560684233904,
-0.05190914124250412,
-0.03374864533543587,
0.024284446612000465,
0.009335502982139587,
-0.01537747960537672,
-0.08095334470272064,
0.05772866681218147,
-0.020196106284856796,
0.0021704991813749075,
0.05602739378809929,
0.02797285094857216,
0.056311607360839844,
0.04383930191397667,
0.0025255284272134304,
0.018972128629684448,
-0.023329060524702072,
0.033865585923194885,
-0.03866763040423393,
-0.01814378798007965,
-0.002352096838876605,
-0.05406499281525612,
-0.01626698300242424,
-0.03317209333181381,
-0.039121780544519424,
-0.03527039662003517,
-0.016538916155695915,
0.01768580451607704,
-0.034830112010240555,
-0.01739814318716526,
-0.024097664281725883,
0.023012900725007057,
-0.020479165017604828,
-0.015292640775442123,
-0.021861905232071877,
-0.03276481851935387,
-0.04893165081739426,
-0.0450153611600399,
0.016617320477962494,
-0.0008482423145323992,
0.02817685343325138,
0.02421562187373638,
0.018369071185588837,
0.010934008285403252,
-0.014606714248657227,
-0.003787645138800144,
0.039919741451740265,
-0.011736701242625713,
-0.01913648657500744,
-0.03066306747496128,
0.003996312618255615,
0.006541175302118063,
0.0568217970430851,
-0.02701669931411743,
0.015360267832875252,
0.04755895212292671,
-0.04351302608847618,
-0.007185861933976412,
0.036453161388635635,
0.025758806616067886,
-0.07653322070837021,
-0.03102644346654415,
0.008952473290264606,
-0.01901506446301937,
0.040932636708021164,
0.016778362914919853,
-0.014234567992389202,
0.00433030491694808,
0.013236683793365955,
0.03246304392814636,
0.0018632137216627598,
-0.02496541664004326,
0.031895365566015244,
-0.028991835191845894,
0.022389091551303864,
-0.057448484003543854,
0.0255458764731884,
-0.042362622916698456,
-0.011156165972352028,
-0.003219044301658869,
0.014037617482244968,
-0.02146800421178341,
0.03433147817850113,
0.011134632863104343,
-0.02072414755821228,
-0.0045850034803152084,
0.04708430916070938,
-0.03325357288122177,
0.025802865624427795,
-0.026770951226353645,
-0.007918200455605984,
-0.020519915968179703,
0.03799256309866905,
-0.039591021835803986,
0.0065441434271633625,
-0.04398111626505852,
-0.0002533945953473449,
-0.04582998529076576,
0.0004211234918329865,
0.0014400905929505825,
-0.02973472699522972,
0.03362725302577019,
0.0410853773355484,
0.054577574133872986,
0.0312491562217474,
-0.02004571259021759,
0.01591409370303154,
0.045412298291921616,
-0.07427437603473663,
-0.03019051067531109,
-0.01810659095644951,
0.007136160507798195,
0.010354738682508469,
0.030606359243392944,
0.049635447561740875,
-0.02006935514509678,
-0.02993200533092022,
0.057031452655792236,
0.024754611775279045,
-0.026638902723789215,
-0.008942168205976486,
0.003343188902363181,
0.04342178627848625,
0.045517515391111374,
-0.023759087547659874,
0.014734760858118534,
-0.010700724087655544,
-0.02095678634941578,
0.02612042799592018,
-0.013632792979478836,
0.06333772838115692,
-0.002609041053801775,
-0.03167647868394852,
-0.027410060167312622,
0.06526448577642441,
0.02651035599410534,
0.027233142405748367,
-0.05573531612753868,
-0.06010628119111061,
0.029749568551778793,
0.013847258873283863,
-0.06053607538342476,
-0.003927002195268869,
0.02888163924217224,
-0.04656333476305008,
0.06722377240657806,
-0.013391809538006783,
-0.0029313841369003057,
0.020652804523706436,
0.03049667552113533,
-0.03014998324215412,
0.028332455083727837,
-0.057141538709402084,
0.020569056272506714,
0.0430615171790123,
-0.05448742210865021,
-0.020548688247799873,
-0.04929732531309128,
0.04572000354528427,
-0.06702296435832977,
0.05931398272514343,
0.039252184331417084,
-0.005686967633664608,
0.031114401295781136,
-0.016224659979343414,
-0.01755986176431179,
0.031427767127752304,
-0.038302239030599594,
0.05324343219399452,
-0.002069809939712286,
-0.041260745376348495,
0.06717606633901596,
0.04093033820390701,
-0.05686168000102043,
0.041260041296482086,
0.05346858128905296,
0.02786063402891159,
0.03588804230093956,
0.043471794575452805,
-0.05760672315955162,
-0.0026491964235901833,
-0.05484224110841751,
0.029550952836871147,
-0.07137472927570343,
-0.011937148869037628,
0.030019212514162064,
-0.03002060018479824,
-0.022698432207107544,
0.052246592938899994,
-0.01952797919511795,
0.006363438442349434,
0.025996945798397064,
-0.020832205191254616,
-0.056612804532051086,
-0.0011002965038642287,
0.016301358118653297,
-0.014379420317709446,
-0.00047384522622451186,
-0.02463310770690441,
0.01926366426050663,
0.02584623545408249,
-0.0006200819043442607,
-0.03085431084036827,
0.0009587633539922535,
0.01760966144502163,
-0.06831397861242294,
-0.06036102771759033,
0.024605808779597282,
0.012089261785149574,
-0.0050872680731117725,
0.03931724280118942,
0.005632520653307438,
0.05248195305466652,
0.021908530965447426,
-0.0032052514143288136,
0.032296642661094666,
-0.06754566729068756,
0.027110030874609947,
0.003828259650617838,
0.0119197191670537,
0.03423783928155899,
-0.03931359946727753,
0.02533303201198578,
0.039266787469387054,
0.01455075852572918,
-0.007793114986270666,
-0.020258048549294472,
0.001119239255785942,
0.04549434036016464,
-0.029096025973558426,
0.018141547217965126,
-0.001964197028428316,
-0.040064726024866104,
-0.03256284072995186,
-0.027043523266911507,
-0.04805658012628555,
0.022867834195494652,
-0.055466726422309875,
0.013365297578275204,
0.04522068053483963,
-0.020372843369841576,
-0.03705233335494995,
-0.11840572953224182,
-0.02800803817808628,
-0.03449222445487976,
-0.01914401166141033,
0.03745409846305847,
-0.030366800725460052,
0.02386954240500927,
-0.037198055535554886,
-0.0597231388092041,
0.030103420838713646,
0.016719553619623184,
-0.03536577895283699,
0.05532984808087349,
0.03406012803316116,
-0.0352250374853611,
0.050991520285606384,
0.04672861844301224,
-0.04492726922035217,
0.01387766096740961,
0.001258234609849751,
0.00744780246168375,
0.05296781286597252,
0.027170104905962944,
-0.012398112565279007,
-0.01942218840122223,
-0.05281376838684082,
-0.06516001373529434,
-0.042952679097652435,
0.007840773090720177,
0.05116914585232735
] |
CAMeL-Lab/bert-base-arabic-camelbert-da-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
}
}
} | 42 | null | ---
tags:
- Pytorch
license: apache-2.0
datasets:
- Pubtabnet
---
# Detectron2 Cascade-RCNN with FPN and Group Normalization on ResNext32xd4-50 trained on Pubtabnet for Semantic Segmentation of tables.
The model and has been trained with the Tensorflow training toolkit Tensorpack and then transferred to Pytorch using a conversion script.
The Tensorflow and Pytorch models differ slightly (padding ...), however validating both models give a difference of less than 0.03 mAP.
A second model has been added where the Tensorpack model has been used as initial checkpoint and training has been resumed for 20K iterations. Performance of this model is now superior to the Tensorpack model.
Regarding the dataset, please check: [Xu Zhong et. all. - Image-based table recognition: data, model, and evaluation](https://arxiv.org/abs/1911.10683).
The model has been trained on detecting rows and columns for tables. As rows and column bounding boxes are not a priori an element of the annotations they are
calculated using the bounding boxes of the cells and the intrinsic structure of the enclosed HTML.
The code has been adapted so that it can be used in a **deep**doctection pipeline.
## How this model can be used
This model can be used with the **deep**doctection in a full pipeline, along with table recognition and OCR. Check the general instruction following this [Get_started](https://github.com/deepdoctection/deepdoctection/blob/master/notebooks/Get_Started.ipynb) tutorial.
## This is an inference model only
To reduce the size of the checkpoint we removed all variables that are not necessary for inference. Therefore it cannot be used for fine-tuning. To fine tune this model please use Tensorflow, as well as its training script. More information can be found in this [this model card](https://huggingface.co/deepdoctection/tp_casc_rcnn_X_32xd4_50_FPN_GN_2FC_pubtabnet_rc). | [
-0.015432050451636314,
-0.024621538817882538,
0.000860391475725919,
0.05166660621762276,
0.008477377705276012,
0.008558223024010658,
-0.020359080284833908,
0.000015465500837308355,
-0.017893755808472633,
0.05340693145990372,
0.010236766189336777,
0.015642110258340836,
0.006673614960163832,
0.04589105397462845,
-0.027061818167567253,
-0.03558661416172981,
-0.012229157611727715,
-0.022997776046395302,
-0.04606800153851509,
0.023656142875552177,
0.03374960273504257,
-0.007029375527054071,
-0.004781929310411215,
0.04721580445766449,
-0.025325916707515717,
0.005790200550109148,
0.01931048557162285,
0.05765002965927124,
0.027566198259592056,
-0.0633879005908966,
-0.0012314353371039033,
-0.0629458948969841,
-0.0343867763876915,
-0.022826513275504112,
-0.011681581847369671,
0.002010432770475745,
-0.008681687526404858,
0.0014557683607563376,
0.03200794756412506,
0.05514341965317726,
-0.017564240843057632,
0.035211727023124695,
-0.005678731016814709,
-0.04646451026201248,
0.05821182578802109,
0.016652042046189308,
-0.0398673377931118,
-0.019183741882443428,
0.028891462832689285,
-0.014892356470227242,
-0.0698600634932518,
-0.07742848992347717,
-0.03313480690121651,
0.007906175218522549,
-0.03130026161670685,
-0.026433898136019707,
-0.050306398421525955,
-0.007083563599735498,
0.08864627033472061,
-0.03719685971736908,
-0.003868015017360449,
-0.010258739814162254,
-0.05659787356853485,
0.011818785220384598,
0.03818744421005249,
-0.026217369362711906,
0.013104398734867573,
-0.05872098356485367,
0.006094332784414291,
-0.02651437371969223,
0.05124916136264801,
-0.019118817523121834,
0.010880745947360992,
-0.0826558843255043,
-0.003051182720810175,
-0.0013133202446624637,
0.04770202562212944,
0.030653541907668114,
-0.015360917896032333,
0.0604335218667984,
0.04136209934949875,
0.014882192015647888,
0.02677561342716217,
-0.0010092766024172306,
-0.03065912425518036,
0.04807223007082939,
-0.0157963614910841,
0.007540359627455473,
0.01547932904213667,
0.02070470340549946,
-0.045914001762866974,
-0.015378367155790329,
-0.026594769209623337,
-0.03251613304018974,
-0.018619954586029053,
0.05368836969137192,
0.025422412902116776,
0.01924484595656395,
0.006992468144744635,
0.03413037955760956,
0.03163792937994003,
0.022599974647164345,
0.001895691268146038,
0.06498952955007553,
0.02472813054919243,
0.002000252017751336,
-0.036202412098646164,
-0.02679545059800148,
-0.05596518516540527,
0.029298661276698112,
0.025382792577147484,
-0.03763165697455406,
-0.053968917578458786,
0.04298590496182442,
0.0002120394929079339,
-0.011792858131229877,
0.05612812936306,
-0.04891328141093254,
-0.05274784192442894,
-0.051771145313978195,
0.018471553921699524,
0.001530772540718317,
-0.00030168844386935234,
-0.014675226993858814,
-0.0605599544942379,
-0.0008428560686297715,
-0.05389461666345596,
-0.017809348180890083,
-0.0055710989981889725,
0.011744634248316288,
-0.020595911890268326,
0.03790001571178436,
0.013050263747572899,
-0.06965328752994537,
0.009931935928761959,
0.021650757640600204,
-0.0633779913187027,
0.06498915702104568,
0.02402585931122303,
0.09654677659273148,
-0.06326932460069656,
-0.03290976211428642,
0.005923085380345583,
0.03242873400449753,
-0.040082238614559174,
0.024583913385868073,
0.032459091395139694,
-0.040570881217718124,
-0.03534332290291786,
-0.05626290664076805,
0.05156625434756279,
-0.07043580710887909,
-0.0000025566057502146577,
0.022473828867077827,
-0.008310982026159763,
0.0429997518658638,
-0.06709446758031845,
0.009659371338784695,
0.016533611342310905,
0.012227306142449379,
-0.008480275981128216,
0.048196084797382355,
0.0006258237408474088,
-0.0003569645050447434,
-0.03682525455951691,
-0.03797389194369316,
0.010510711930692196,
0.06586917489767075,
-0.005547825247049332,
-0.022539429366588593,
-0.036714106798172,
0.03463754430413246,
0.056999243795871735,
0.06993916630744934,
-0.020226219668984413,
0.04168884828686714,
0.07275032997131348,
0.027718855068087578,
-0.031096767634153366,
0.05308963358402252,
0.012540649622678757,
-0.04643534868955612,
-0.03306742012500763,
0.0006617042818106711,
-0.026838209480047226,
-0.03258452191948891,
0.0257115438580513,
0.013485517352819443,
-0.012686628848314285,
-0.04118110239505768,
-0.03513576090335846,
0.0661851167678833,
-0.002849012613296509,
-0.02011181227862835,
-0.016402864828705788,
-0.01949746534228325,
-0.030410369858145714,
0.07170110195875168,
-0.031618423759937286,
-0.00716555817052722,
0.005545678548514843,
-0.022559117525815964,
0.02616754360496998,
0.00034778614644892514,
0.03712102398276329,
0.0393490195274353,
-0.011623107828199863,
0.08722440153360367,
-0.03814274072647095,
0.006312674377113581,
-0.027768276631832123,
-0.03788556903600693,
0.03830212727189064,
0.015895234420895576,
0.026576299220323563,
0.038897156715393066,
0.023921633139252663,
-0.06010795012116432,
0.02263929508626461,
0.027178127318620682,
0.045201342552900314,
0.05468718335032463,
-0.016522200778126717,
-0.006271989084780216,
0.015822064131498337,
0.050300851464271545,
-0.06313233077526093,
-0.03620513901114464,
0.009656116366386414,
0.04108041524887085,
-0.033015813678503036,
-0.005539954639971256,
-0.021900881081819534,
0.05769703537225723,
-0.08055754005908966,
-0.07432763278484344,
0.018404018133878708,
0.008630003780126572,
0.00982856098562479,
0.031754691153764725,
-0.010754769667983055,
-0.01038666907697916,
0.03588726371526718,
-0.00517222099006176,
0.018494106829166412,
-0.04797273874282837,
0.003451915690675378,
0.012170066125690937,
0.03973977267742157,
-0.0633363127708435,
0.027942946180701256,
0.014523941092193127,
-0.002934281947091222,
0.047893788665533066,
-0.03155773505568504,
0.017357395961880684,
0.0517013780772686,
0.033055853098630905,
-0.026782946661114693,
0.037540681660175323,
-0.0017363830702379346,
-0.0010830677347257733,
0.05843934789299965,
0.014655208215117455,
0.05611994490027428,
-0.011670717038214207,
0.03420984745025635,
0.08727642893791199,
-0.026795262470841408,
0.02702578715980053,
0.04241926968097687,
0.07817360013723373,
0.00007709550845902413,
-0.011945655569434166,
0.059740498661994934,
-0.04095883294939995,
0.023202089592814445,
-0.05698462203145027,
-0.005939665716141462,
-0.020425945520401,
-0.0034132341388612986,
0.04333396628499031,
0.02864127978682518,
-0.04209239035844803,
0.00603499636054039,
-0.004716822411864996,
-0.021746525540947914,
0.028391506522893906,
0.006506449077278376,
-0.008802084252238274,
0.005195988807827234,
-0.021682599559426308,
0.006937171332538128,
-0.03787591680884361,
-0.022766152396798134,
-0.026996156200766563,
-0.0458146333694458,
-0.018340235576033592,
-0.07887867838144302,
-0.016644153743982315,
-0.05571475997567177,
-0.04026077687740326,
0.024038586765527725,
0.018823428079485893,
0.001038278453052044,
-0.055327244102954865,
0.04040628671646118,
-0.02510174922645092,
-0.022405920550227165,
-0.03907816857099533,
-0.023939214646816254,
-0.05266227573156357,
-0.0792270079255104,
0.03778921812772751,
-0.010054448619484901,
0.026656175032258034,
0.025556715205311775,
-0.02874678187072277,
-0.040802545845508575,
0.0009957494912669063,
0.05502869933843613,
0.03264763951301575,
-0.038233328610658646,
-0.0497237928211689,
0.038702674210071564,
-0.015442325733602047,
-0.006925374269485474,
-0.0463235080242157,
-0.06459492444992065,
0.06789665669202805,
0.08411945402622223,
0.019763564690947533,
-0.005651701707392931,
-0.004380000755190849,
-0.053260043263435364,
-0.0376281775534153,
-0.03248712047934532,
-0.015011919662356377,
-0.018136991187930107,
-0.05394496023654938,
-0.05517297983169556,
-0.012874112464487553,
-0.04509780555963516,
-0.028283635154366493,
-0.0041572158224880695,
0.003619526978582144,
0.028354430571198463,
0.0325000137090683,
0.014695022255182266,
0.01967817172408104,
-0.03582482039928436,
-0.037034448236227036,
0.05499153584241867,
-0.01649470441043377,
0.005553383380174637,
-0.05545390024781227,
-0.04079248383641243,
0.029489882290363312,
0.008614403195679188,
-0.005526606924831867,
-0.012921296060085297,
0.08727654814720154,
-0.0013007692759856582,
0.007049208041280508,
0.02810286171734333,
-0.02312495931982994,
-0.016629649326205254,
0.015865681692957878,
0.0023738574236631393,
-0.010805906727910042,
-0.05523648485541344,
-0.0056190709583461285,
-0.010437911376357079,
0.02138647250831127,
-0.06603355705738068,
-0.06391618400812149,
-0.0009524375782348216,
0.04625613987445831,
0.03133249655365944,
0.010593262501060963,
-0.04319450631737709,
0.000734554894734174,
-0.0607093945145607,
-0.027553442865610123,
0.04313183203339577,
0.029708389192819595,
0.02018442191183567,
0.025647463276982307,
0.03021118976175785,
-0.048037637025117874,
0.0840311348438263,
0.07363677024841309,
0.05035190284252167,
0.023547833785414696,
-0.05184301361441612,
0.0009560362086631358,
0.003925486467778683,
0.029666751623153687,
0.005065085832029581,
-0.017682036384940147,
-0.04269562289118767,
-0.09631897509098053,
-0.01135282777249813,
0.0008363782544620335,
0.0109742796048522,
-0.034507595002651215,
0.009293938986957073,
-0.0023653001990169287,
-0.02944178506731987,
-0.0026738590095192194,
0.039302848279476166,
0.03441319987177849,
-0.04409632831811905,
0.05764796957373619,
-0.01974162831902504,
0.038826972246170044,
-0.044339027255773544,
0.00014747837849427015,
-0.03556740656495094,
-0.029269859194755554,
-0.00020197522826492786,
0.04479227215051651,
0.008888243697583675,
0.04216497391462326,
0.035326529294252396,
0.0023287669755518436,
-0.031997788697481155,
0.03477022424340248,
0.04678432270884514,
-0.02485760673880577,
-0.048572879284620285,
0.015291149728000164,
-0.008578133769333363,
0.012869063764810562,
-0.03144163265824318,
-0.021212277933955193,
0.04170694574713707,
0.05517809838056564,
0.01304634753614664,
-0.023420419543981552,
0.00011766859097406268,
-0.005790837109088898,
-0.03680609539151192,
-0.042344458401203156,
-0.005498923826962709,
0.01110323891043663,
-0.03169979155063629,
0.0020309716928750277,
0.0421941839158535,
0.02357480302453041,
0.05744820460677147,
0.05052939057350159,
-0.023625975474715233,
-0.029925202950835228,
0.049968741834163666,
0.02592429332435131,
-0.03689619153738022,
-0.037582915276288986,
-0.04290451854467392,
0.035218656063079834,
0.0249127596616745,
-0.014890572056174278,
-0.08227203041315079,
0.01855696365237236,
0.0438869409263134,
-0.033804040402173996,
0.08525973558425903,
-0.005920464172959328,
0.039222605526447296,
0.05628412216901779,
-0.00989550445228815,
0.03678205981850624,
-0.043718121945858,
0.010591366328299046,
-0.016510894522070885,
0.04527686908841133,
-0.01731090620160103,
-0.04035703465342522,
-0.014557922258973122,
0.029606876894831657,
0.0037210204172879457,
0.0545763336122036,
0.04499930143356323,
-0.03971382603049278,
-0.0360696017742157,
0.012190691195428371,
0.026541786268353462,
-0.024247504770755768,
0.03183145821094513,
0.016851380467414856,
0.030384201556444168,
-0.06357414275407791,
-0.044769495725631714,
-0.02962859533727169,
-0.02287578210234642,
0.0260368250310421,
-0.009065759368240833,
-0.04808853566646576,
-0.042314328253269196,
0.024785809218883514,
-0.0012540491297841072,
-0.015777625143527985,
-0.0805325135588646,
0.0646902397274971,
-0.018482444807887077,
-0.0006701625534333289,
0.05230266973376274,
0.03649378567934036,
0.05428418517112732,
0.04379791393876076,
0.0026091281324625015,
0.01907496713101864,
-0.016863640397787094,
0.027953049167990685,
-0.04263083264231682,
-0.017489425837993622,
0.002126657636836171,
-0.06070040538907051,
-0.01479717530310154,
-0.03028479591012001,
-0.04138645902276039,
-0.03486034274101257,
-0.01060106698423624,
0.015159755945205688,
-0.03745843842625618,
-0.017136307433247566,
-0.01917332038283348,
0.02221270091831684,
-0.022404057905077934,
-0.020016150549054146,
-0.0196793545037508,
-0.036393243819475174,
-0.05551309883594513,
-0.04471948742866516,
0.016654806211590767,
-0.0024073394015431404,
0.034437067806720734,
0.02241913415491581,
0.01445793081074953,
0.013748404569923878,
-0.016591986641287804,
-0.004095633048564196,
0.038633525371551514,
-0.01421397179365158,
-0.015036282129585743,
-0.031785883009433746,
0.007362950127571821,
0.009319496341049671,
0.05251180753111839,
-0.023816442117094994,
0.011788388714194298,
0.05263017117977142,
-0.04448948800563812,
-0.013553569093346596,
0.036636047065258026,
0.033327870070934296,
-0.07334612309932709,
-0.029828503727912903,
0.009068475104868412,
-0.018390540033578873,
0.038636352866888046,
0.014822201803326607,
-0.01732923649251461,
0.0033876479137688875,
0.018385643139481544,
0.03293898329138756,
0.004642940126359463,
-0.020610181614756584,
0.027011854574084282,
-0.03484830632805824,
0.030863827094435692,
-0.056072283536195755,
0.033922284841537476,
-0.04181874170899391,
-0.013858072459697723,
0.00035542924888432026,
0.010464157909154892,
-0.022182637825608253,
0.034479763358831406,
0.018065672367811203,
-0.021480297669768333,
-0.0046442653983831406,
0.04830775037407875,
-0.0322907380759716,
0.02280828170478344,
-0.01942211203277111,
-0.0014291293919086456,
-0.018610432744026184,
0.026926949620246887,
-0.05035073682665825,
0.0012817387469112873,
-0.04720771312713623,
0.0008774148882366717,
-0.044000621885061264,
-0.0004884632653556764,
0.006238091737031937,
-0.027341999113559723,
0.03058316931128502,
0.038689639419317245,
0.05160640925168991,
0.03180945664644241,
-0.022780973464250565,
0.01798786036670208,
0.047828055918216705,
-0.07782662659883499,
-0.031170479953289032,
-0.014783727936446667,
0.0018625945085659623,
0.0016936749452725053,
0.036974478513002396,
0.04872008413076401,
-0.01806512661278248,
-0.024598225951194763,
0.05960666388273239,
0.025677375495433807,
-0.024463508278131485,
-0.010068995878100395,
-0.004054457414895296,
0.04181326553225517,
0.04925556108355522,
-0.02379670739173889,
0.021613601595163345,
-0.0013878712197765708,
-0.018973490223288536,
0.028393249958753586,
-0.008517694659531116,
0.061538875102996826,
0.0019230095203965902,
-0.038434430956840515,
-0.020030420273542404,
0.0655292272567749,
0.02806798368692398,
0.030128449201583862,
-0.05823760852217674,
-0.05718240886926651,
0.02915649116039276,
0.0185769684612751,
-0.07188665866851807,
-0.007098196540027857,
0.030781187117099762,
-0.045597050338983536,
0.07133639603853226,
-0.018949462100863457,
-0.004353492055088282,
0.020820586010813713,
0.03082115948200226,
-0.032907500863075256,
0.02732023224234581,
-0.05758015066385269,
0.024225758388638496,
0.03918838128447533,
-0.04991690814495087,
-0.024689067155122757,
-0.03626633435487747,
0.046029236167669296,
-0.06776130199432373,
0.05360766500234604,
0.03614027798175812,
0.0007582685793749988,
0.02895321510732174,
-0.009020510129630566,
-0.012374195270240307,
0.03243458271026611,
-0.04212607815861702,
0.051493916660547256,
-0.006087955553084612,
-0.04417979344725609,
0.06288205832242966,
0.03915676474571228,
-0.053765278309583664,
0.041187018156051636,
0.050405897200107574,
0.031084569171071053,
0.038479890674352646,
0.043384067714214325,
-0.05835945904254913,
0.0063612074591219425,
-0.052441708743572235,
0.028451284393668175,
-0.07101019471883774,
-0.011835949495434761,
0.028453823179006577,
-0.028493260964751244,
-0.02320595271885395,
0.04949769377708435,
-0.019956978037953377,
0.012722193263471127,
0.017379216849803925,
-0.019238118082284927,
-0.05726977437734604,
-0.007580763194710016,
0.013865857385098934,
-0.01772512122988701,
0.006332662422209978,
-0.021536368876695633,
0.013060657307505608,
0.030708329752087593,
-0.004224122501909733,
-0.031456440687179565,
0.0036580259911715984,
0.023182855919003487,
-0.06947200745344162,
-0.06123378500342369,
0.02502630464732647,
0.013895160518586636,
-0.009481756947934628,
0.03480573371052742,
0.002572172787040472,
0.054307613521814346,
0.020060855895280838,
-0.0066534546203911304,
0.0349217914044857,
-0.07003620266914368,
0.027061702683568,
0.003146635601297021,
0.009166505187749863,
0.030805373564362526,
-0.03590832278132439,
0.029663315042853355,
0.04217227175831795,
0.018775729462504387,
-0.02137506753206253,
-0.020942265167832375,
-0.007641791366040707,
0.04419903829693794,
-0.035344891250133514,
0.016713043674826622,
0.001165777095593512,
-0.03651856258511543,
-0.034181173890829086,
-0.021030036732554436,
-0.054085567593574524,
0.021225107833743095,
-0.05712813511490822,
0.006111152935773134,
0.04921027645468712,
-0.01743527501821518,
-0.034615788608789444,
-0.11748523265123367,
-0.037038061767816544,
-0.02794712223112583,
-0.023106204345822334,
0.0381181463599205,
-0.029321417212486267,
0.013676048256456852,
-0.037975601851940155,
-0.06053325533866882,
0.03517509624361992,
0.018683303147554398,
-0.03686201572418213,
0.05039312690496445,
0.03306867182254791,
-0.03820287808775902,
0.04819637909531593,
0.047404199838638306,
-0.04595768824219704,
0.010584711097180843,
0.000562865287065506,
0.008675443939864635,
0.05697251111268997,
0.030169488862156868,
-0.0029447702690958977,
-0.013281545601785183,
-0.04918564483523369,
-0.0642782598733902,
-0.03961474448442459,
0.008101572282612324,
0.050006330013275146
] |
CAMeL-Lab/bert-base-arabic-camelbert-mix-ner | [
"pytorch",
"tf",
"bert",
"token-classification",
"ar",
"arxiv:2103.06678",
"transformers",
"license:apache-2.0",
"autotrain_compatible",
"has_space"
] | 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
}
}
} | 1,860 | null | ---
license: apache-2.0
tags:
datasets:
- kinetics-700-2020
---
# Perceiver IO for multimodal autoencoding
Perceiver IO model trained on [Kinetics-700-2020](https://arxiv.org/abs/2010.10864) for auto-encoding videos that consist of images, audio and a class label. It was introduced in the paper [Perceiver IO: A General Architecture for Structured Inputs & Outputs](https://arxiv.org/abs/2107.14795) by Jaegle et al. and first released in [this repository](https://github.com/deepmind/deepmind-research/tree/master/perceiver).
The goal of multimodal autoencoding is to learn a model that can accurately reconstruct multimodal inputs in the presence of a bottleneck induced by an architecture.
Disclaimer: The team releasing Perceiver IO did not write a model card for this model so this model card has been written by the Hugging Face team.
## Model description
Perceiver IO is a transformer encoder model that can be applied on any modality (text, images, audio, video, ...). The core idea is to employ the self-attention mechanism on a not-too-large set of latent vectors (e.g. 256 or 512), and only use the inputs to perform cross-attention with the latents. This allows for the time and memory requirements of the self-attention mechanism to not depend on the size of the inputs.
To decode, the authors employ so-called decoder queries, which allow to flexibly decode the final hidden states of the latents to produce outputs of arbitrary size and semantics. For multimodal autoencoding, the output contains the reconstructions of the 3 modalities: images, audio and the class label.
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/perceiver_architecture.jpg" alt="drawing" width="600"/>
<small> Perceiver IO architecture.</small>
As the time and memory requirements of the self-attention mechanism don't depend on the size of the inputs, the Perceiver IO authors can train the model by padding the inputs (images, audio, class label) with modality-specific embeddings and serialize all of them into a 2D input array (i.e. concatenate along the time dimension). Decoding the final hidden states of the latents is done by using queries containing Fourier-based position embeddings (for video and audio) and modality embeddings.
## Intended uses & limitations
You can use the raw model for multimodal autoencoding. Note that by masking the class label during evaluation, the auto-encoding model becomes a video classifier.
See the [model hub](https://huggingface.co/models search=deepmind/perceiver) to look for other versions on a task that may interest you.
### How to use
We refer to the [tutorial notebook](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/Perceiver/Perceiver_for_Multimodal_Autoencoding.ipynb) regarding using the Perceiver for multimodal autoencoding.
## Training data
This model was trained on [Kinetics-700-200](https://arxiv.org/abs/2010.10864), a dataset consisting of videos that belong to one of 700 classes.
## Training procedure
### Preprocessing
The authors train on 16 frames at 224x224 resolution, preprocessed into 50k 4x4 patches as well as 30k raw audio samples, patched into a total of 1920 16-dimensional vectors and one 700-dimensional one-hot representation of the class label.
### Pretraining
Hyperparameter details can be found in Appendix F of the [paper](https://arxiv.org/abs/2107.14795).
## Evaluation results
For evaluation results, we refer to table 5 of the [paper](https://arxiv.org/abs/2107.14795).
### BibTeX entry and citation info
```bibtex
@article{DBLP:journals/corr/abs-2107-14795,
author = {Andrew Jaegle and
Sebastian Borgeaud and
Jean{-}Baptiste Alayrac and
Carl Doersch and
Catalin Ionescu and
David Ding and
Skanda Koppula and
Daniel Zoran and
Andrew Brock and
Evan Shelhamer and
Olivier J. H{\'{e}}naff and
Matthew M. Botvinick and
Andrew Zisserman and
Oriol Vinyals and
Jo{\~{a}}o Carreira},
title = {Perceiver {IO:} {A} General Architecture for Structured Inputs {\&}
Outputs},
journal = {CoRR},
volume = {abs/2107.14795},
year = {2021},
url = {https://arxiv.org/abs/2107.14795},
eprinttype = {arXiv},
eprint = {2107.14795},
timestamp = {Tue, 03 Aug 2021 14:53:34 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-2107-14795.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
``` | [
-0.05343461036682129,
-0.009037915617227554,
-0.007162920664995909,
0.011410408653318882,
0.03432518243789673,
0.016980838030576706,
-0.0247658621519804,
-0.049733612686395645,
-0.004089991562068462,
0.05628881976008415,
0.045206211507320404,
-0.03298918902873993,
0.015947263687849045,
0.04991395026445389,
-0.032960206270217896,
-0.01993720419704914,
-0.021893462166190147,
0.020236745476722717,
-0.04242496192455292,
0.020845072343945503,
0.01949433609843254,
-0.0128789022564888,
-0.015146599151194096,
0.041950613260269165,
0.00867256335914135,
0.006116852629929781,
0.01046147383749485,
0.016596229746937752,
0.01927044242620468,
-0.07225161045789719,
-0.014922531321644783,
-0.05449365824460983,
-0.06069746986031532,
-0.01339634694159031,
-0.008350220508873463,
0.018079837784171104,
-0.015565642155706882,
0.028511833399534225,
0.024418890476226807,
0.0454087108373642,
-0.02394031547009945,
0.015590203925967216,
-0.04829447343945503,
-0.010930992662906647,
0.028981516137719154,
-0.0007700194255448878,
-0.034912142902612686,
-0.044947605580091476,
0.047482606023550034,
-0.01802896335721016,
-0.0564877949655056,
-0.07734173536300659,
-0.030774060636758804,
0.02246677875518799,
-0.019642503932118416,
-0.03208469972014427,
-0.05733150988817215,
-0.05478192865848541,
0.06831280142068863,
-0.041468773037195206,
-0.0164626594632864,
0.009604533202946186,
-0.05146215111017227,
0.045862019062042236,
0.024599185213446617,
-0.019217336550354958,
-0.002446667291224003,
-0.05745317414402962,
0.03662731871008873,
-0.03302149474620819,
0.025328069925308228,
-0.03785526007413864,
0.003316346788778901,
-0.09753916412591934,
0.01536446250975132,
-0.031322918832302094,
0.059412192553281784,
0.03312867507338524,
-0.020654719322919846,
0.04209050163626671,
0.029991459101438522,
0.030761783942580223,
0.015609417110681534,
-0.005245998501777649,
0.019124573096632957,
0.05933351814746857,
-0.030674047768115997,
0.019097233191132545,
0.015064015984535217,
0.02577943354845047,
-0.035685278475284576,
-0.023177392780780792,
-0.03644578158855438,
-0.03155193477869034,
-0.029563045129179955,
0.011413954198360443,
0.0362699069082737,
-0.027699708938598633,
0.04703420400619507,
0.021600931882858276,
0.05924706533551216,
0.051466841250658035,
-0.028640497475862503,
0.07746785879135132,
-0.029179761186242104,
-0.022088879719376564,
-0.017280176281929016,
-0.02518717385828495,
-0.035672876983881,
0.01780051924288273,
0.04204397648572922,
-0.016997722908854485,
-0.06033555045723915,
0.021937454119324684,
-0.016913140192627907,
0.00677122687920928,
0.06107770651578903,
-0.025306804105639458,
-0.02824936807155609,
-0.05883808434009552,
0.03986702486872673,
0.004694817587733269,
0.016177037730813026,
-0.011138087138533592,
-0.06235762685537338,
0.028150543570518494,
-0.021240772679448128,
-0.02778588980436325,
0.009736415930092335,
-0.00009192652214551345,
0.012012476101517677,
0.01998421736061573,
0.04798077791929245,
-0.053846050053834915,
0.029003117233514786,
0.0287811066955328,
-0.05142958462238312,
0.05280284583568573,
0.0058718277141451836,
0.08744050562381744,
-0.05349596217274666,
-0.04634472355246544,
0.02106168121099472,
0.00847714301198721,
-0.009543758817017078,
0.002795577747747302,
0.019184406846761703,
-0.036042943596839905,
-0.03732909634709358,
-0.04995718225836754,
0.05954805761575699,
-0.05885718762874603,
-0.005038861185312271,
0.031058838590979576,
-0.010114808566868305,
0.04056918993592262,
-0.057439591735601425,
-0.02074592560529709,
-0.026614584028720856,
0.012959742918610573,
-0.026748044416308403,
0.053951628506183624,
-0.024000827223062515,
-0.016114071011543274,
-0.018922392278909683,
-0.03990975022315979,
-0.013292095623910427,
0.05537573620676994,
0.0020729401148855686,
0.00044705590698868036,
-0.036292318254709244,
0.009960074909031391,
0.013278776779770851,
0.055330999195575714,
-0.024086467921733856,
0.034210171550512314,
0.0782536119222641,
0.01872008480131626,
-0.02356245554983616,
0.058715518563985825,
0.025889188051223755,
-0.025694675743579865,
-0.015582339838147163,
-0.019221900030970573,
0.01826120913028717,
-0.050040386617183685,
-0.004184443969279528,
0.004569017793983221,
0.008683881722390652,
-0.009588833898305893,
-0.03552872687578201,
0.03387878090143204,
-0.03282284364104271,
-0.016733402386307716,
0.010040582157671452,
-0.04540710151195526,
-0.048247743397951126,
0.03861872851848602,
-0.02540910802781582,
-0.0010381531901657581,
-0.014909937046468258,
-0.03429156541824341,
0.010729046538472176,
-0.004331829026341438,
0.01783856190741062,
0.044894952327013016,
0.0188835971057415,
0.06927644461393356,
-0.009610642679035664,
-0.011969364248216152,
-0.06512217223644257,
-0.050639618188142776,
-0.0021013396326452494,
0.05124778300523758,
0.022258354350924492,
0.033548738807439804,
-0.02655661664903164,
-0.05718804895877838,
0.02848115563392639,
0.07150241732597351,
0.030923696234822273,
0.03645600378513336,
-0.01854320801794529,
-0.005745532922446728,
0.01013948768377304,
0.0630623921751976,
-0.08872713148593903,
-0.024851765483617783,
0.0322146974503994,
0.01924491487443447,
-0.014768396504223347,
0.030400652438402176,
-0.03270253911614418,
0.06389155983924866,
-0.01850472018122673,
-0.08711112290620804,
0.02335994690656662,
0.06942099332809448,
0.018298661336302757,
0.035845816135406494,
0.0011927996529266238,
-0.00668896222487092,
0.003966555930674076,
0.005438110325485468,
0.0204936396330595,
-0.02219204045832157,
0.011089231818914413,
-0.0013020646292716265,
0.06350763142108917,
-0.04996776580810547,
0.04685056582093239,
0.0096777668222785,
0.02077350579202175,
0.015241406857967377,
0.006140788551419973,
0.049167532473802567,
0.06428228318691254,
0.025191158056259155,
-0.049088142812252045,
0.025501934811472893,
-0.007625995669513941,
0.039433013647794724,
0.06305661797523499,
-0.022094013169407845,
0.07326806336641312,
-0.019360220059752464,
0.03524918481707573,
0.08107568323612213,
0.008421598002314568,
0.007552014663815498,
0.017454272136092186,
0.07142461836338043,
-0.011705267243087292,
-0.026965858414769173,
0.07925520092248917,
-0.04599751532077789,
0.03390464931726456,
-0.02268093265593052,
-0.004343916662037373,
-0.01982773281633854,
-0.006687493063509464,
0.076438769698143,
0.013053796254098415,
0.024579040706157684,
-0.0023441538214683533,
0.01583956554532051,
-0.023990795016288757,
0.038974784314632416,
-0.01272473856806755,
-0.01509805303066969,
-0.019842056557536125,
-0.03779138624668121,
-0.0038163887802511454,
-0.0880705863237381,
-0.05140434578061104,
-0.00727778160944581,
-0.042534906417131424,
0.000989667372778058,
-0.06682275980710983,
-0.016158105805516243,
-0.07525477558374405,
-0.01903078332543373,
0.035570189356803894,
0.016816994175314903,
0.008068136870861053,
-0.049303483217954636,
-0.0035728185903280973,
-0.032165445387363434,
-0.034021563827991486,
-0.055986661463975906,
-0.03315949812531471,
-0.04179205745458603,
-0.06423355638980865,
0.028483884409070015,
0.018601365387439728,
0.0000826205505291,
-0.0016274882946163416,
-0.0027294764295220375,
-0.011918827891349792,
-0.008329144679009914,
0.07342307269573212,
0.05219116061925888,
-0.01250410731881857,
-0.0396636538207531,
0.030421193689107895,
-0.0073869298212230206,
-0.01590450294315815,
-0.011946950107812881,
-0.030598951503634453,
0.09879349917173386,
0.05593078210949898,
0.05054197832942009,
-0.0207745973020792,
0.008862590417265892,
-0.041536249220371246,
-0.05853693559765816,
-0.03461639583110809,
-0.05489102005958557,
-0.019035102799534798,
-0.03835014998912811,
-0.02139640785753727,
-0.013387305662035942,
-0.033368226140737534,
0.011976373381912708,
-0.026660995557904243,
0.02838866412639618,
0.046942565590143204,
0.034854259341955185,
0.005294309929013252,
0.022686505690217018,
-0.03851379081606865,
-0.031485434621572495,
0.05493014678359032,
0.023852871730923653,
0.014821745455265045,
-0.05043433979153633,
-0.05305499956011772,
0.014678961597383022,
0.01998058147728443,
-0.02378462813794613,
-0.012246566824615002,
0.09122878313064575,
0.002290505450218916,
-0.04026572406291962,
0.034437257796525955,
-0.0018441354623064399,
-0.009316099807620049,
-0.010019349865615368,
0.020246004685759544,
-0.0358179472386837,
-0.053277477622032166,
-0.025286734104156494,
0.0017556503880769014,
0.06767775118350983,
-0.07749076932668686,
-0.06483868509531021,
-0.02660551853477955,
0.036664851009845734,
0.03452758863568306,
-0.0016799045260995626,
-0.030133696272969246,
-0.007941896095871925,
-0.03919607773423195,
-0.022508060559630394,
0.04168175533413887,
0.003347737016156316,
0.04318457469344139,
0.042088694870471954,
-0.004780141171067953,
-0.013681166805326939,
0.06094595789909363,
0.06733528524637222,
0.0480055995285511,
0.010636546649038792,
-0.05365699529647827,
0.008623055182397366,
-0.026813628152012825,
0.05864076688885689,
0.009268381632864475,
-0.030279356986284256,
-0.05162645876407623,
-0.09962411969900131,
-0.013218768872320652,
0.024938855320215225,
-0.029529845342040062,
0.0028458046726882458,
0.03503129258751869,
-0.016671553254127502,
-0.03754495084285736,
0.013036075048148632,
0.0310547836124897,
0.04833860695362091,
-0.044548939913511276,
0.03932319954037666,
0.03031092882156372,
0.003741331398487091,
-0.03318953514099121,
0.026781048625707626,
-0.029918666929006577,
-0.02255976013839245,
-0.0013813271652907133,
0.04721374064683914,
0.024028589949011803,
0.07004821300506592,
0.07042748481035233,
0.029065750539302826,
-0.02956007421016693,
0.04077129065990448,
0.03973904252052307,
-0.03660314902663231,
-0.055785682052373886,
-0.0002847973082680255,
-0.01345893181860447,
-0.008815133944153786,
-0.004391072783619165,
-0.007590169087052345,
0.04080630838871002,
0.03728461638092995,
0.009779859334230423,
-0.0013582375831902027,
0.019530639052391052,
-0.003175808349624276,
-0.01736290752887726,
-0.08080802857875824,
0.00983161386102438,
-0.004297779873013496,
-0.037876274436712265,
0.03219963610172272,
-0.0007752162637189031,
0.025266706943511963,
0.055558379739522934,
0.03756582364439964,
-0.03375658392906189,
-0.09167669713497162,
0.048123396933078766,
0.017269499599933624,
-0.046090688556432724,
-0.07640381157398224,
-0.01763586699962616,
0.04542728140950203,
0.02760869264602661,
-0.029770851135253906,
-0.06373652815818787,
0.01379694975912571,
0.05415235459804535,
-0.04757589101791382,
0.04018973931670189,
-0.0168855432420969,
0.03721800073981285,
0.05922698974609375,
0.006991948001086712,
0.025564242154359818,
-0.02076343633234501,
-0.017713936045765877,
0.010283919051289558,
0.03537804260849953,
-0.014826471917331219,
-0.047710154205560684,
-0.09323403984308243,
0.05096757784485817,
0.03225541487336159,
0.03118598274886608,
0.02944444678723812,
-0.019311539828777313,
-0.05199173092842102,
-0.008463130332529545,
0.023175358772277832,
-0.03629487752914429,
0.01704234443604946,
0.020137563347816467,
0.043620213866233826,
-0.0586673878133297,
-0.038152437657117844,
-0.014334123581647873,
0.0024469979107379913,
-0.00599860493093729,
0.004721378441900015,
-0.019173789769411087,
-0.03040110133588314,
0.02391069568693638,
-0.012985290959477425,
-0.02575724944472313,
-0.0845571905374527,
0.050208915024995804,
-0.013168073259294033,
-0.03595651686191559,
0.04430481418967247,
0.038589365780353546,
0.05007388815283775,
0.0529601126909256,
0.023071903735399246,
-0.002010652096942067,
-0.03778081014752388,
0.051808830350637436,
-0.03527676314115524,
-0.02280089259147644,
0.002024667337536812,
-0.050594624131917953,
-0.007990123704075813,
-0.0417630709707737,
-0.0662933886051178,
-0.014295457862317562,
-0.007867158390581608,
0.026232201606035233,
-0.028271201997995377,
0.002608386566862464,
-0.01008655782788992,
0.03156004473567009,
-0.03642330691218376,
-0.025015320628881454,
-0.02948947623372078,
-0.024648210033774376,
-0.0600588396191597,
-0.05282703414559364,
0.03649863973259926,
0.012514797039330006,
0.022296486422419548,
0.016135243698954582,
0.035342663526535034,
0.011089258827269077,
0.004085204564034939,
0.005572327878326178,
0.01830258220434189,
0.011012361384928226,
-0.02697562985122204,
-0.028602393344044685,
0.019023852422833443,
0.0006388382171280682,
0.034821219742298126,
-0.042240869253873825,
0.02237483486533165,
0.025853602215647697,
0.008261466398835182,
-0.027851665392518044,
0.00572224659845233,
0.025817357003688812,
-0.06407476961612701,
-0.00787419080734253,
-0.026181310415267944,
-0.03549519181251526,
0.012628457508981228,
-0.009764011949300766,
-0.02236245386302471,
0.010618760250508785,
0.0181527528911829,
0.0423479825258255,
-0.020333442836999893,
-0.02753450535237789,
-0.005922253709286451,
-0.021849079057574272,
0.023171471431851387,
-0.050944093614816666,
0.02826593816280365,
-0.05770520120859146,
0.01601092517375946,
0.004232973791658878,
0.013639047741889954,
-0.046459272503852844,
0.04154670983552933,
-0.01473364420235157,
-0.02266489714384079,
-0.004283494781702757,
-0.017481835559010506,
-0.04080682620406151,
0.05595269054174423,
-0.0130405742675066,
0.014459891244769096,
-0.030716102570295334,
0.06954605877399445,
-0.005977750290185213,
0.001539298566058278,
-0.012235622853040695,
0.006482806988060474,
-0.04704434052109718,
-0.046481553465127945,
-0.013942978344857693,
-0.005120687652379274,
0.02615242451429367,
0.037565454840660095,
0.044837530702352524,
0.0447707362473011,
-0.03117399476468563,
-0.0035498326178640127,
0.01064270082861185,
-0.07784560322761536,
-0.028484098613262177,
0.0037281273398548365,
0.0408201701939106,
-0.004844164475798607,
0.04929027333855629,
0.06058468297123909,
-0.03994493559002876,
-0.04743368178606033,
0.05863714963197708,
0.0007914039306342602,
0.032512929290533066,
0.0051340037025511265,
0.018732987344264984,
0.019974807277321815,
0.034270163625478745,
-0.04160377010703087,
-0.014738887548446655,
0.025033505633473396,
-0.03182080760598183,
0.023787178099155426,
0.003338984213769436,
0.013669449836015701,
0.015758564695715904,
-0.025292063131928444,
-0.009271513670682907,
0.06379112601280212,
0.044887199997901917,
0.04956230893731117,
0.015215720981359482,
-0.03550107032060623,
0.009152273647487164,
-0.01431986689567566,
-0.07089121639728546,
0.019219206646084785,
0.01974823884665966,
-0.01629629358649254,
0.06461522728204727,
-0.023050427436828613,
0.014081805013120174,
0.013743875548243523,
0.03227309510111809,
-0.0035792363341897726,
0.042227067053318024,
-0.0354720763862133,
0.020740775391459465,
0.055856384336948395,
-0.034900229424238205,
-0.042588140815496445,
-0.05103323608636856,
0.07424013316631317,
-0.06768932193517685,
0.05944492295384407,
0.028224850073456764,
0.003786263754591346,
-0.010658714920282364,
-0.06535497307777405,
-0.06707778573036194,
0.03223508596420288,
-0.05273772403597832,
0.0752086266875267,
0.023810885846614838,
-0.04359016194939613,
0.0643218606710434,
0.00039658855530433357,
-0.05067359283566475,
0.03424946591258049,
0.04008913412690163,
0.02344907447695732,
0.006987459026277065,
0.018667031079530716,
-0.04133276268839836,
0.008981251157820225,
-0.05104215815663338,
0.018664387986063957,
-0.0448271818459034,
-0.026717625558376312,
0.029599923640489578,
-0.012107571586966515,
-0.012253806926310062,
0.02832919731736183,
-0.019594259560108185,
-0.02101929299533367,
0.040727414190769196,
-0.06625069677829742,
-0.05392659828066826,
0.004038652405142784,
-0.0022099879570305347,
0.0065445140935480595,
0.032986871898174286,
-0.037979163229465485,
0.01745693013072014,
-0.0013682664139196277,
-0.00661148177459836,
-0.011677551083266735,
0.015136740170419216,
0.015913022682070732,
-0.038225192576646805,
-0.026325175538659096,
0.04202622175216675,
-0.006329541560262442,
-0.0375816710293293,
0.012931842356920242,
-0.004381251987069845,
0.017970727756619453,
0.014231985434889793,
0.003710225922986865,
0.018692409619688988,
-0.025303399190306664,
-0.02383095771074295,
0.02200383134186268,
0.01987297274172306,
0.0158368106931448,
-0.021519286558032036,
0.013868050649762154,
0.05638153478503227,
0.012215698137879372,
-0.0008533322252333164,
-0.030611781403422356,
-0.022319836542010307,
0.03142138570547104,
-0.02835286408662796,
0.007277689408510923,
-0.005262466147542,
-0.02391372062265873,
-0.038391225039958954,
-0.027055472135543823,
-0.030305219814181328,
0.036253198981285095,
-0.06638098508119583,
0.020099174231290817,
0.02342967875301838,
-0.005873211193829775,
-0.052616093307733536,
-0.06156981736421585,
-0.02583291009068489,
-0.008047371171414852,
0.0395016185939312,
0.016212288290262222,
-0.01012585312128067,
0.021404584869742393,
-0.045129068195819855,
-0.04356604069471359,
0.05217175558209419,
0.005247780587524176,
0.004483225289732218,
0.04560966417193413,
0.023811371996998787,
-0.024174122139811516,
0.009341409429907799,
0.01359685231000185,
-0.03756437823176384,
0.039634235203266144,
0.02448100596666336,
-0.000056841254263417795,
0.01948966644704342,
0.028711745515465736,
-0.012868477962911129,
0.002687512431293726,
-0.054964419454336166,
-0.028928035870194435,
-0.0654008686542511,
0.014817817136645317,
0.06588621437549591
] |
CAMeL-Lab/bert-base-arabic-camelbert-mix-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
}
}
} | 31 | null | ---
license: apache-2.0
tags:
datasets:
- autoflow
---
# Perceiver IO for optical flow
Perceiver IO model trained on [AutoFlow](https://autoflow-google.github.io/). It was introduced in the paper [Perceiver IO: A General Architecture for Structured Inputs & Outputs](https://arxiv.org/abs/2107.14795) by Jaegle et al. and first released in [this repository](https://github.com/deepmind/deepmind-research/tree/master/perceiver).
Optical flow is a decades-old open problem in computer vision. Given two images of the same scene (e.g. two consecutive frames of a video), the task is to estimate the 2D displacement for each pixel in the first image. This has many broader applications, such as navigation and visual odometry in robots, estimation of 3D geometry, and even to aid transfer of more complex, learned inference such as 3D human pose estimation from synthetic to real images.
Disclaimer: The team releasing Perceiver IO did not write a model card for this model so this model card has been written by the Hugging Face team.
## Model description
Perceiver IO is a transformer encoder model that can be applied on any modality (text, images, audio, video, ...). The core idea is to employ the self-attention mechanism on a not-too-large set of latent vectors (e.g. 256 or 512), and only use the inputs to perform cross-attention with the latents. This allows for the time and memory requirements of the self-attention mechanism to not depend on the size of the inputs.
To decode, the authors employ so-called decoder queries, which allow to flexibly decode the final hidden states of the latents to produce outputs of arbitrary size and semantics. For optical flow, the output is a tensor containing the predicted flow of shape (batch_size, height, width, 2).
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/perceiver_architecture.jpg" alt="drawing" width="600"/>
<small> Perceiver IO architecture.</small>
As the time and memory requirements of the self-attention mechanism don't depend on the size of the inputs, the Perceiver IO authors can train the model on raw pixel values, by concatenating a pair of images and extracting a 3x3 patch around each pixel.
The model obtains state-of-the-art results on important optical flow benchmarks, including [Sintel](http://sintel.is.tue.mpg.de/) and [KITTI](http://www.cvlibs.net/datasets/kitti/eval_scene_flow.php?benchmark=flow).
## Intended uses & limitations
You can use the raw model for predicting optical flow between a pair of images. See the [model hub](https://huggingface.co/models?search=deepmind/perceiver) to look for other versions on a task that may interest you.
### How to use
We refer to the [tutorial notebook](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/Perceiver/Perceiver_for_Optical_Flow.ipynb) regarding using the Perceiver for optical flow.
## Training data
This model was trained on [AutoFlow](https://autoflow-google.github.io/), a synthetic dataset consisting of 400,000 annotated image pairs.
## Training procedure
### Preprocessing
Frames are resized to a resolution of 368x496. The authors concatenate the frames along the channel dimension and extract a 3x3 patch around each pixel (leading to 3x3x3x2 = 54 values for each pixel).
### Pretraining
Hyperparameter details can be found in Appendix E of the [paper](https://arxiv.org/abs/2107.14795).
## Evaluation results
The model achieves a average end-point error (EPE) of 1.81 on Sintel.clean, 2.42 on Sintel.final and 4.98 on KITTI. For evaluation results, we refer to table 4 of the [paper](https://arxiv.org/abs/2107.14795).
### BibTeX entry and citation info
```bibtex
@article{DBLP:journals/corr/abs-2107-14795,
author = {Andrew Jaegle and
Sebastian Borgeaud and
Jean{-}Baptiste Alayrac and
Carl Doersch and
Catalin Ionescu and
David Ding and
Skanda Koppula and
Daniel Zoran and
Andrew Brock and
Evan Shelhamer and
Olivier J. H{\'{e}}naff and
Matthew M. Botvinick and
Andrew Zisserman and
Oriol Vinyals and
Jo{\~{a}}o Carreira},
title = {Perceiver {IO:} {A} General Architecture for Structured Inputs {\&}
Outputs},
journal = {CoRR},
volume = {abs/2107.14795},
year = {2021},
url = {https://arxiv.org/abs/2107.14795},
eprinttype = {arXiv},
eprint = {2107.14795},
timestamp = {Tue, 03 Aug 2021 14:53:34 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-2107-14795.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
``` | [
-0.036739833652973175,
-0.0012853177031502128,
-0.004728685133159161,
0.023466546088457108,
0.033078633248806,
-0.0030957467388361692,
-0.017209917306900024,
-0.029894720762968063,
-0.006277016364037991,
0.04337764158844948,
0.04422551020979881,
-0.024559572339057922,
0.006087892223149538,
0.040440112352371216,
-0.03656606748700142,
-0.019552065059542656,
-0.030701009556651115,
0.004771340638399124,
-0.0213610902428627,
0.017496226355433464,
0.04644467681646347,
-0.005261491052806377,
-0.007978771813213825,
0.034376371651887894,
-0.007960719056427479,
0.013419682160019875,
0.015277721919119358,
0.010050094686448574,
0.02096378616988659,
-0.09072410315275192,
0.0006183643126860261,
-0.05626451596617699,
-0.054242897778749466,
0.013295146636664867,
-0.0217986311763525,
0.008045193739235401,
-0.022332340478897095,
0.01435084454715252,
0.04062002897262573,
0.05380580946803093,
-0.017438823357224464,
0.00883516762405634,
-0.040469296276569366,
-0.00583603186532855,
0.017747076228260994,
-0.005732420366257429,
-0.0183476060628891,
-0.021772563457489014,
0.028570348396897316,
-0.015093163587152958,
-0.07222830504179001,
-0.06915902346372604,
-0.03376393020153046,
0.01819739304482937,
-0.03491839021444321,
-0.02331187017261982,
-0.05279138311743736,
-0.041512127965688705,
0.07225058227777481,
-0.0668296068906784,
-0.03100070171058178,
0.002089934190735221,
-0.025565719231963158,
0.02435397543013096,
0.02328985370695591,
-0.035655759274959564,
0.0018690080614760518,
-0.04520544782280922,
0.043542493134737015,
-0.03078589215874672,
0.03306310251355171,
-0.029475612565875053,
0.0015763904666528106,
-0.09897779673337936,
0.01942264288663864,
-0.03213653713464737,
0.06549815088510513,
0.03245076164603233,
-0.021686045452952385,
0.034621357917785645,
0.02253822796046734,
0.015988456085324287,
0.018774449825286865,
-0.016136394813656807,
0.0040481784380972385,
0.06864196807146072,
-0.029561340808868408,
0.01914762333035469,
0.029024459421634674,
0.04039476811885834,
-0.028825607150793076,
-0.01689053513109684,
-0.04233443737030029,
-0.043366242200136185,
-0.020581306889653206,
0.029750945046544075,
0.0323735736310482,
-0.008791783824563026,
0.038180895149707794,
0.027077116072177887,
0.053012531250715256,
0.04464032128453255,
-0.00812812801450491,
0.07961626350879669,
-0.02443651854991913,
-0.036817438900470734,
-0.029752027243375778,
-0.029422080144286156,
-0.06475315988063812,
-0.0002564599271863699,
0.03235601633787155,
-0.01864313706755638,
-0.03537958487868309,
0.048983681946992874,
-0.02431657165288925,
-0.02111976593732834,
0.07825587689876556,
-0.039593927562236786,
-0.038435641676187515,
-0.05548524856567383,
0.04129340499639511,
0.02006727084517479,
0.013655443675816059,
-0.0027540537994354963,
-0.06942354887723923,
0.04767128452658653,
-0.007994136773049831,
-0.021032460033893585,
0.0033658361062407494,
0.015694379806518555,
0.005655267275869846,
0.004224092699587345,
0.0432581789791584,
-0.054720230400562286,
0.017503265291452408,
0.042547501623630524,
-0.07556946575641632,
0.0468815416097641,
0.029024846851825714,
0.09339607506990433,
-0.06848262995481491,
-0.04741152375936508,
0.030952725559473038,
0.02992033027112484,
-0.03264091536402702,
-0.01128202024847269,
0.0387655571103096,
-0.0510173961520195,
-0.02953238971531391,
-0.05278010293841362,
0.08167771995067596,
-0.06407333165407181,
-0.00890203658491373,
0.0540173202753067,
0.0029035420157015324,
0.039305806159973145,
-0.05255851522088051,
-0.016244912520051003,
-0.01835585944354534,
0.010538010857999325,
-0.015669390559196472,
0.0630698949098587,
-0.02107873558998108,
0.009351179003715515,
-0.02617505006492138,
-0.032312292605638504,
-0.0211611557751894,
0.06388025730848312,
0.0013724332675337791,
-0.024233797565102577,
-0.039133623242378235,
0.0196366123855114,
0.01656380668282509,
0.06834691762924194,
-0.023992586880922318,
0.038011495023965836,
0.08796892315149307,
0.028642673045396805,
-0.044937536120414734,
0.046955619007349014,
0.024239853024482727,
-0.029833631590008736,
-0.024060947820544243,
-0.019097764045000076,
0.012502928264439106,
-0.047091856598854065,
0.007566681131720543,
0.011672581546008587,
0.011043604463338852,
-0.01617150381207466,
-0.02401823364198208,
0.04450060427188873,
-0.01594800502061844,
-0.017006736248731613,
0.003397561376914382,
-0.033001188188791275,
-0.03470224514603615,
0.028047610074281693,
-0.014133806340396404,
0.005350507330149412,
-0.013973408378660679,
-0.01980598457157612,
-0.0003873218665830791,
-0.005156978499144316,
0.011062578298151493,
0.018786326050758362,
-0.0019625539425760508,
0.07451283931732178,
-0.018351515755057335,
0.022945480421185493,
-0.057442884892225266,
-0.03745464235544205,
0.012281319126486778,
0.042647622525691986,
0.0284116268157959,
0.021870851516723633,
-0.005948672536760569,
-0.04368361085653305,
0.028967246413230896,
0.05291001871228218,
0.03594517707824707,
0.044104889035224915,
-0.027219869196414948,
0.007126991171389818,
0.013246824964880943,
0.047894857823848724,
-0.07510438561439514,
-0.02000739425420761,
0.0424669086933136,
0.0007658493123017251,
-0.0002896693185903132,
0.02070152759552002,
-0.01904934085905552,
0.07079727947711945,
-0.03698847070336342,
-0.07799603044986725,
0.018027545884251595,
0.056143585592508316,
0.013715776614844799,
0.03343614935874939,
0.014436949044466019,
-0.022420605644583702,
0.0006787339225411415,
0.010290997102856636,
0.036672815680503845,
-0.022646142169833183,
0.010970454663038254,
0.009492045268416405,
0.04765678942203522,
-0.06305326521396637,
0.04766417294740677,
0.011518770828843117,
0.014226807281374931,
0.01979200169444084,
0.006652821786701679,
0.04664365202188492,
0.0872340127825737,
0.02539846859872341,
-0.04151931777596474,
0.031139694154262543,
0.012324092909693718,
0.03247877210378647,
0.038621772080659866,
-0.02385396510362625,
0.06637376546859741,
-0.01894153468310833,
0.03421095758676529,
0.08188312500715256,
-0.0000129278641907149,
0.0034779426641762257,
0.02367854118347168,
0.08189579099416733,
-0.01590362749993801,
-0.02641056850552559,
0.06315339356660843,
-0.05359087139368057,
0.0360226184129715,
-0.026736926287412643,
-0.008304267190396786,
-0.02733578532934189,
-0.012643910944461823,
0.06242815777659416,
0.02678731270134449,
0.019294925034046173,
-0.03423750028014183,
0.008991271257400513,
-0.01894558221101761,
0.0448584258556366,
-0.012839077971875668,
-0.010487396270036697,
-0.018713168799877167,
-0.0498182438313961,
-0.008723137900233269,
-0.07591663300991058,
-0.06821941584348679,
-0.02305402047932148,
-0.041729699820280075,
-0.010981513187289238,
-0.05106739327311516,
-0.014659720472991467,
-0.0666424036026001,
-0.016573812812566757,
0.02538670226931572,
0.025827204808592796,
-0.004888979718089104,
-0.05524015426635742,
0.006573524791747332,
-0.024094274267554283,
-0.04116922616958618,
-0.041782815009355545,
-0.03330967202782631,
-0.026777921244502068,
-0.05700281262397766,
0.017793936654925346,
0.018658975139260292,
0.020586520433425903,
-0.00644650449976325,
-0.006633324548602104,
-0.03482853248715401,
-0.01052158884704113,
0.07659333199262619,
0.04638129845261574,
-0.01356529351323843,
-0.03597216680645943,
0.029337847605347633,
0.0008094134391285479,
-0.005471501499414444,
-0.024299385026097298,
-0.019525842741131783,
0.10102482885122299,
0.0752023234963417,
0.04548557102680206,
-0.022908909246325493,
-0.010416317731142044,
-0.0376538448035717,
-0.04912887513637543,
-0.027569931000471115,
-0.05249301716685295,
-0.027169065549969673,
-0.03364930301904678,
-0.040522582828998566,
-0.020611677318811417,
-0.03112124465405941,
0.01251435186713934,
-0.024996817111968994,
0.02144509367644787,
0.03083651512861252,
0.03643607720732689,
-0.00006267596472753212,
0.0183394942432642,
-0.03726844862103462,
-0.03822726383805275,
0.054309505969285965,
0.02684258483350277,
0.018043089658021927,
-0.057867467403411865,
-0.02829551510512829,
0.016086775809526443,
0.022985411807894707,
-0.042287979274988174,
-0.006361157633364201,
0.07486270368099213,
-0.008516834117472172,
-0.028650453314185143,
0.018336886540055275,
0.00016880608745850623,
-0.011478748172521591,
-0.009749473072588444,
0.018269356340169907,
-0.030539419502019882,
-0.05468162149190903,
-0.02052238956093788,
-0.004598175175487995,
0.04235527664422989,
-0.07332024723291397,
-0.08366455137729645,
-0.0233713798224926,
0.049890484660863876,
0.03200540319085121,
0.014774521812796593,
-0.03552979603409767,
0.017766326665878296,
-0.045843590050935745,
-0.021568402647972107,
0.02737068384885788,
-0.0038708846550434828,
0.05798189714550972,
0.034126166254282,
0.004298631101846695,
-0.0011686240322887897,
0.04959671571850777,
0.06278902292251587,
0.046721022576093674,
0.01743309572339058,
-0.02867131307721138,
0.009977088309824467,
-0.036319900304079056,
0.051889557391405106,
0.005726116709411144,
-0.012651931494474411,
-0.042685430496931076,
-0.08305790275335312,
-0.0006893034442327917,
0.012091491371393204,
-0.029275933280587196,
0.007727897725999355,
0.04139960929751396,
-0.012467598542571068,
-0.03975731506943703,
0.028337474912405014,
0.03307778760790825,
0.057369716465473175,
-0.030932772904634476,
0.05016994848847389,
0.016742879524827003,
0.010682573541998863,
-0.029738614335656166,
0.028624560683965683,
-0.03826318308711052,
-0.01717350073158741,
-0.006508410442620516,
0.05957072600722313,
0.034924451261758804,
0.06359738111495972,
0.0633389800786972,
0.02240399457514286,
-0.013935120776295662,
0.025805294513702393,
0.017781123518943787,
-0.02079983614385128,
-0.06743068993091583,
0.015759684145450592,
-0.011831165291368961,
0.01255310233682394,
-0.015005077235400677,
-0.00617343420162797,
0.0456601083278656,
0.047119140625,
-0.0035630769561976194,
-0.0036464312579482794,
0.012370716780424118,
-0.01395825482904911,
-0.01191177498549223,
-0.0896076112985611,
0.013466013595461845,
-0.0159820094704628,
-0.027953196316957474,
0.011010214686393738,
0.002433126326650381,
0.02686711959540844,
0.05831911414861679,
0.02737143076956272,
-0.02326171100139618,
-0.091778963804245,
0.06766782701015472,
0.02514161728322506,
-0.031845297664403915,
-0.07068024575710297,
-0.02047131583094597,
0.03302418813109398,
0.01921725831925869,
-0.038945965468883514,
-0.06902003288269043,
0.021497752517461777,
0.04437229037284851,
-0.06125139445066452,
0.04326299950480461,
-0.0035145319998264313,
0.027068136259913445,
0.06736910343170166,
0.003933992236852646,
0.04174082353711128,
-0.017717601731419563,
-0.00717996945604682,
0.01317815575748682,
0.039909735321998596,
-0.01595211587846279,
-0.043903861194849014,
-0.0805630087852478,
0.048565249890089035,
0.018282059580087662,
0.03445574641227722,
0.041281647980213165,
-0.02542624995112419,
-0.05647357180714607,
-0.02182881161570549,
0.02754519134759903,
-0.050186045467853546,
0.027412645518779755,
0.018986141309142113,
0.044461920857429504,
-0.046452220529317856,
-0.0442260317504406,
-0.0034960934426635504,
0.005958578083664179,
0.014189617708325386,
0.005976004060357809,
-0.0190762747079134,
-0.06654896587133408,
0.02923201210796833,
-0.0022530134301632643,
-0.031714342534542084,
-0.08972843736410141,
0.03767147287726402,
-0.02280629612505436,
-0.0416933111846447,
0.046188924461603165,
0.020233411341905594,
0.050472527742385864,
0.06545346975326538,
0.014023786410689354,
0.008663300424814224,
-0.055182501673698425,
0.03382392227649689,
-0.05496535077691078,
-0.015363733284175396,
-0.006289876066148281,
-0.05127061903476715,
-0.00800768006592989,
-0.03344884514808655,
-0.06531383842229843,
-0.03305109217762947,
-0.022785060107707977,
0.01924511417746544,
-0.025846799835562706,
0.013088567182421684,
0.006789293140172958,
0.03607036918401718,
-0.010195246897637844,
-0.022112121805548668,
-0.04782797768712044,
-0.03746471554040909,
-0.058011267334222794,
-0.021263087168335915,
0.015243109315633774,
0.010628679767251015,
0.023045724257826805,
0.00783881638199091,
0.034362271428108215,
0.01868572272360325,
0.03015216812491417,
-0.009057007730007172,
0.018238715827465057,
0.024793945252895355,
-0.04345247521996498,
-0.034356363117694855,
0.012353981845080853,
-0.013490538112819195,
0.030205054208636284,
-0.04539722949266434,
0.0121304951608181,
0.006647954694926739,
0.011393447406589985,
-0.019006948918104172,
0.03217938169836998,
0.038992464542388916,
-0.061503712087869644,
-0.012559841386973858,
-0.021145768463611603,
-0.019732344895601273,
0.010344604961574078,
-0.0037350989878177643,
-0.009260252118110657,
0.030024737119674683,
0.034164708107709885,
0.03737867251038551,
-0.03221180662512779,
-0.022627992555499077,
0.029386689886450768,
-0.0012133080745115876,
0.027423277497291565,
-0.03259153664112091,
0.023639066144824028,
-0.039620812982320786,
0.014270996674895287,
0.010763811878859997,
0.008758137002587318,
-0.04245639964938164,
0.045839790254831314,
-0.009256833232939243,
-0.013924937695264816,
-0.00319476961158216,
-0.010300982743501663,
-0.03286901116371155,
0.06928472220897675,
-0.020277880132198334,
0.009722134098410606,
-0.0505797453224659,
0.07719087600708008,
-0.01671822927892208,
0.00267501687631011,
-0.0025244341231882572,
0.023296834900975227,
-0.03568759933114052,
-0.026180172339081764,
-0.002823265502229333,
0.012618985027074814,
0.03271947801113129,
0.03703571856021881,
0.034862782806158066,
0.01438765600323677,
-0.03057490661740303,
0.0005424544797278941,
0.021647106856107712,
-0.06537307798862457,
-0.05022283270955086,
-0.004568685311824083,
0.015367207117378712,
-0.013833737932145596,
0.04673907905817032,
0.07057786732912064,
-0.058163393288850784,
-0.04856692999601364,
0.06334676593542099,
0.023251136764883995,
0.02217133715748787,
-0.009381904266774654,
0.012828797101974487,
0.034360215067863464,
0.043094199150800705,
-0.05849756300449371,
-0.00901038944721222,
0.022349976003170013,
-0.007725050672888756,
0.041952237486839294,
0.0063888742588460445,
0.019706696271896362,
0.00745627423748374,
-0.029926486313343048,
-0.02377995103597641,
0.061794474720954895,
0.060013942420482635,
0.04620347172021866,
0.0026691847015172243,
-0.047959793359041214,
-0.0019235160434618592,
-0.008026788011193275,
-0.05749927833676338,
0.008557679131627083,
0.01741797663271427,
-0.024883801117539406,
0.05675524100661278,
-0.00932542234659195,
0.013115275651216507,
0.014300268143415451,
0.02999812364578247,
-0.019788609817624092,
0.054014116525650024,
-0.024739140644669533,
0.013708217069506645,
0.05702226608991623,
-0.03647666051983833,
-0.0415474995970726,
-0.0485713966190815,
0.07083094120025635,
-0.05696440860629082,
0.059278666973114014,
0.01319749467074871,
-0.013256512582302094,
0.0037441181484609842,
-0.04491233825683594,
-0.05964069813489914,
0.036384858191013336,
-0.050974808633327484,
0.0789208933711052,
-0.002328279661014676,
-0.04189205914735794,
0.04439583420753479,
0.003154902020469308,
-0.05583151802420616,
0.02936149761080742,
0.040229883044958115,
0.027202829718589783,
0.029283368960022926,
0.03185807168483734,
-0.04680376499891281,
0.007580633740872145,
-0.045249421149492264,
0.02101549319922924,
-0.05299600213766098,
-0.030122188851237297,
0.03806987777352333,
-0.007483256980776787,
-0.02658824622631073,
0.028156036511063576,
-0.02030543051660061,
-0.015195162035524845,
0.02319096028804779,
-0.07004337757825851,
-0.04368060082197189,
0.004569090437144041,
0.01525468286126852,
0.00535151781514287,
0.023506466299295425,
-0.031351104378700256,
0.012469826266169548,
0.0017854853067547083,
-0.002555347513407469,
-0.014582637697458267,
0.015327585861086845,
0.026736950501799583,
-0.05303955078125,
-0.0294965673238039,
0.02128741145133972,
0.0015538969310000539,
-0.04308028519153595,
0.028094949200749397,
-0.0025328868068754673,
0.008688555099070072,
0.028645634651184082,
0.00811026431620121,
0.024403370916843414,
-0.011428832076489925,
-0.020305059850215912,
0.02130054496228695,
0.00704022916033864,
-0.00224271765910089,
-0.011750683188438416,
0.01939922384917736,
0.055335965007543564,
0.02009153924882412,
0.006982365157455206,
-0.03302460163831711,
-0.01821393519639969,
0.04115044325590134,
-0.039661210030317307,
0.005022140219807625,
-0.012354481965303421,
-0.02472510375082493,
-0.04713408276438713,
-0.0320085808634758,
-0.03174779936671257,
0.04920549318194389,
-0.03833078220486641,
0.02591320499777794,
0.039650995284318924,
0.0037996794562786818,
-0.04769878461956978,
-0.06966906040906906,
-0.029309388250112534,
-0.039203982800245285,
0.0326080322265625,
0.026494517922401428,
-0.025426585227251053,
0.013579441234469414,
-0.05247754603624344,
-0.0307257492095232,
0.04246029257774353,
0.013562296517193317,
0.01937098428606987,
0.03500085696578026,
0.015551387332379818,
-0.033611685037612915,
0.01920425333082676,
0.027090642601251602,
-0.025426248088479042,
0.026117945089936256,
0.02208562195301056,
0.01810028776526451,
0.04021482169628143,
0.011274230666458607,
-0.014555417001247406,
-0.006144118029624224,
-0.052358854562044144,
-0.03688574582338333,
-0.06757090985774994,
0.03319011628627777,
0.059576358646154404
] |
CAMeL-Lab/bert-base-arabic-camelbert-mix-pos-egy | [
"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
}
}
} | 62 | null | ---
license: apache-2.0
tags:
datasets:
- imagenet
---
# Perceiver IO for vision (convolutional processing)
Perceiver IO model pre-trained on ImageNet (14 million images, 1,000 classes) at resolution 224x224. It was introduced in the paper [Perceiver IO: A General Architecture for Structured Inputs & Outputs](https://arxiv.org/abs/2107.14795) by Jaegle et al. and first released in [this repository](https://github.com/deepmind/deepmind-research/tree/master/perceiver).
Disclaimer: The team releasing Perceiver IO did not write a model card for this model so this model card has been written by the Hugging Face team.
## Model description
Perceiver IO is a transformer encoder model that can be applied on any modality (text, images, audio, video, ...). The core idea is to employ the self-attention mechanism on a not-too-large set of latent vectors (e.g. 256 or 512), and only use the inputs to perform cross-attention with the latents. This allows for the time and memory requirements of the self-attention mechanism to not depend on the size of the inputs.
To decode, the authors employ so-called decoder queries, which allow to flexibly decode the final hidden states of the latents to produce outputs of arbitrary size and semantics. For image classification, the output is a tensor containing the logits, of shape (batch_size, num_labels).
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/perceiver_architecture.jpg" alt="drawing" width="600"/>
<small> Perceiver IO architecture.</small>
As the time and memory requirements of the self-attention mechanism don't depend on the size of the inputs, the Perceiver IO authors can train the model directly on raw pixel values, rather than on patches as is done in ViT. This particular model employs a simple 2D conv+maxpool preprocessing network on the pixel values, before using the inputs for cross-attention with the latents.
By pre-training the model, it learns an inner representation of images that can then be used to extract features useful for downstream tasks: if you have a dataset of labeled images for instance, you can train a standard classifier by replacing the classification decoder.
## Intended uses & limitations
You can use the raw model for image classification. See the [model hub](https://huggingface.co/models?search=deepmind/perceiver) to look for other fine-tuned versions on a task that may interest you.
### How to use
Here is how to use this model in PyTorch:
```python
from transformers import PerceiverFeatureExtractor, PerceiverForImageClassificationConvProcessing
import requests
from PIL import Image
feature_extractor = PerceiverFeatureExtractor.from_pretrained("deepmind/vision-perceiver-conv")
model = PerceiverForImageClassificationConvProcessing.from_pretrained("deepmind/vision-perceiver-conv")
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)
# prepare input
inputs = feature_extractor(image, return_tensors="pt").pixel_values
# forward pass
outputs = model(inputs)
logits = outputs.logits
print("Predicted class:", model.config.id2label[logits.argmax(-1).item()])
>>> should print Predicted class: tabby, tabby cat
```
## Training data
This model was pretrained on [ImageNet](http://www.image-net.org/), a dataset consisting of 14 million images and 1k classes.
## Training procedure
### Preprocessing
Images are center cropped and resized to a resolution of 224x224 and normalized across the RGB channels. Note that data augmentation was used during pre-training, as explained in Appendix H of the [paper](https://arxiv.org/abs/2107.14795).
### Pretraining
Hyperparameter details can be found in Appendix H of the [paper](https://arxiv.org/abs/2107.14795).
## Evaluation results
This model is able to achieve a top-1 accuracy of 82.1 on ImageNet-1k.
### BibTeX entry and citation info
```bibtex
@article{DBLP:journals/corr/abs-2107-14795,
author = {Andrew Jaegle and
Sebastian Borgeaud and
Jean{-}Baptiste Alayrac and
Carl Doersch and
Catalin Ionescu and
David Ding and
Skanda Koppula and
Daniel Zoran and
Andrew Brock and
Evan Shelhamer and
Olivier J. H{\'{e}}naff and
Matthew M. Botvinick and
Andrew Zisserman and
Oriol Vinyals and
Jo{\~{a}}o Carreira},
title = {Perceiver {IO:} {A} General Architecture for Structured Inputs {\&}
Outputs},
journal = {CoRR},
volume = {abs/2107.14795},
year = {2021},
url = {https://arxiv.org/abs/2107.14795},
eprinttype = {arXiv},
eprint = {2107.14795},
timestamp = {Tue, 03 Aug 2021 14:53:34 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-2107-14795.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
``` | [
-0.04559595137834549,
-0.004480536095798016,
-0.0036568904761224985,
0.005847887601703405,
0.029308203607797623,
-0.0006719619268551469,
-0.020009895786643028,
-0.036926206201314926,
-0.0021369708701968193,
0.04777253791689873,
0.03674742206931114,
-0.028704123571515083,
0.014436568133533001,
0.05204412341117859,
-0.03342693671584129,
-0.02429228089749813,
-0.019802652299404144,
0.024648606777191162,
-0.03497592359781265,
0.02162020280957222,
0.03152547776699066,
-0.008886506780982018,
-0.004892360419034958,
0.04101639613509178,
0.011451946571469307,
0.006948338821530342,
0.030630480498075485,
0.021123120561242104,
0.025112668052315712,
-0.09847670048475266,
-0.009310588240623474,
-0.05663519725203514,
-0.06342312693595886,
-0.008596318773925304,
-0.010017910040915012,
0.009724056348204613,
-0.020462313666939735,
0.0192167516797781,
0.027420079335570335,
0.058127377182245255,
-0.02394874021410942,
0.016244981437921524,
-0.048583004623651505,
-0.014036031439900398,
0.020666757598519325,
-0.0026582328137010336,
-0.03602997958660126,
-0.03097505122423172,
0.0388597808778286,
-0.025959080085158348,
-0.0715930312871933,
-0.08546433597803116,
-0.03497591242194176,
0.004179793875664473,
-0.02757924795150757,
-0.025216655805706978,
-0.03673034533858299,
-0.036783624440431595,
0.07023142278194427,
-0.041031405329704285,
-0.03333888575434685,
0.0028560305945575237,
-0.04317647963762283,
0.04957523196935654,
0.021441984921693802,
-0.02301632985472679,
0.0042435224168002605,
-0.04177436977624893,
0.04332834482192993,
-0.028970416635274887,
0.029673976823687553,
-0.039065584540367126,
0.00538760656490922,
-0.09820347279310226,
-0.00013406903599388897,
-0.02853981964290142,
0.061036162078380585,
0.04387938976287842,
-0.018211686983704567,
0.04183746501803398,
0.029380900785326958,
0.022864576429128647,
0.01988416165113449,
-0.01656760275363922,
0.005828690715134144,
0.04056595638394356,
-0.030027596279978752,
0.026886645704507828,
0.023343203589320183,
0.03612767159938812,
-0.022637825459241867,
-0.005756966304033995,
-0.05401543527841568,
-0.02619692124426365,
-0.02465774677693844,
0.01661023125052452,
0.037343580275774,
-0.0033637352753430605,
0.04779626056551933,
0.02474021352827549,
0.04668270796537399,
0.047303613275289536,
-0.0246544498950243,
0.06325552612543106,
-0.02748233638703823,
-0.035305704921483994,
-0.026442216709256172,
-0.035616952925920486,
-0.043422356247901917,
0.009825227782130241,
0.03492087498307228,
-0.017118148505687714,
-0.05130550637841225,
0.034992918372154236,
-0.019843926653265953,
-0.006170838139951229,
0.07858794927597046,
-0.022474348545074463,
-0.027202118188142776,
-0.05258239433169365,
0.04541727900505066,
0.012392526492476463,
0.011683902703225613,
-0.012933441437780857,
-0.07523395121097565,
0.022414609789848328,
-0.01760646142065525,
-0.0331740602850914,
-0.004633620847016573,
0.007571850903332233,
0.008998207747936249,
0.010826870799064636,
0.05271726846694946,
-0.034012019634246826,
0.016977330669760704,
0.025923434644937515,
-0.05116945877671242,
0.04977191239595413,
0.022132501006126404,
0.09486228227615356,
-0.055129196494817734,
-0.04160308837890625,
0.03552147001028061,
0.016548581421375275,
-0.018025053665041924,
-0.009734971448779106,
0.03192991390824318,
-0.05572555586695671,
-0.03749223053455353,
-0.049145594239234924,
0.06156827136874199,
-0.08058007806539536,
-0.001575331436470151,
0.04122862219810486,
0.010602908208966255,
0.02437719516456127,
-0.0514075942337513,
-0.03358958289027214,
-0.02296002022922039,
0.012996860779821873,
-0.003498745383694768,
0.06381227821111679,
-0.011974220164120197,
0.005271790083497763,
-0.026248808950185776,
-0.041777413338422775,
-0.01860305294394493,
0.04363526403903961,
-0.005380992311984301,
-0.010565957054495811,
-0.027773072943091393,
0.02661731094121933,
0.024970682337880135,
0.06325368583202362,
-0.018527822569012642,
0.034046467393636703,
0.08393818885087967,
0.025048982352018356,
-0.02430986985564232,
0.053829941898584366,
0.031973712146282196,
-0.033590421080589294,
-0.022492850199341774,
-0.01243886724114418,
0.020782548934221268,
-0.048270128667354584,
0.021108804270625114,
0.00608235877007246,
0.010627767071127892,
-0.018819298595190048,
-0.028702009469270706,
0.04330787807703018,
-0.016115827485919,
-0.011281154118478298,
0.023352554067969322,
-0.03935801610350609,
-0.035551346838474274,
0.023982306942343712,
-0.025921760126948357,
0.006056667771190405,
-0.025349894538521767,
-0.025410957634449005,
0.00812500435858965,
-0.016241231933236122,
0.022195903584361076,
0.04028654471039772,
0.007339953910559416,
0.06277766078710556,
-0.011650202795863152,
-0.004457714501768351,
-0.057023026049137115,
-0.04953896254301071,
0.00391475111246109,
0.034135643392801285,
0.03250417858362198,
0.02138489857316017,
-0.014890230260789394,
-0.053069647401571274,
0.02353096194565296,
0.0718613788485527,
0.031056467443704605,
0.027440372854471207,
-0.021927135065197945,
0.007165036164224148,
0.015301362611353397,
0.054780811071395874,
-0.08134298771619797,
-0.0207207128405571,
0.03982914611697197,
0.011115453206002712,
0.0055262367241084576,
0.03474562615156174,
-0.03897715359926224,
0.0636700764298439,
-0.036986906081438065,
-0.0860942080616951,
0.021192077547311783,
0.051465898752212524,
0.01408275868743658,
0.03708793967962265,
-0.0022238066885620356,
-0.013033701106905937,
0.014055652543902397,
0.02207748219370842,
0.028708549216389656,
-0.03753111883997917,
0.014179684221744537,
0.002729066414758563,
0.05132325738668442,
-0.05043835937976837,
0.041520338505506516,
0.009365936741232872,
0.015976976603269577,
0.014841202646493912,
0.005937397480010986,
0.03358117491006851,
0.07334666699171066,
0.016579626128077507,
-0.0359768345952034,
0.023671362549066544,
-0.0010447431122884154,
0.0318051241338253,
0.055371612310409546,
-0.0037538791075348854,
0.07154157757759094,
-0.025044288486242294,
0.03363576903939247,
0.08112023770809174,
0.019141308963298798,
0.0062317270785570145,
0.018090829253196716,
0.07533981651067734,
-0.024345364421606064,
-0.027557751163840294,
0.07648448646068573,
-0.03290192782878876,
0.03716530650854111,
-0.027858106419444084,
-0.015127966180443764,
-0.036373551934957504,
-0.00635223975405097,
0.07781016826629639,
0.013227219693362713,
0.008029974065721035,
-0.018193751573562622,
0.015470563434064388,
-0.02152867428958416,
0.02971138060092926,
-0.012545714154839516,
-0.01000182330608368,
-0.022232430055737495,
-0.04666683077812195,
0.005017757881432772,
-0.07964346557855606,
-0.05879153683781624,
-0.019673680886626244,
-0.043817080557346344,
-0.03273417055606842,
-0.07541146874427795,
-0.012230840511620045,
-0.05240434780716896,
-0.00790771096944809,
0.028559977188706398,
0.03165595605969429,
0.0016527934931218624,
-0.04777997359633446,
0.008755815215408802,
-0.030911583453416824,
-0.034189172089099884,
-0.04796149209141731,
-0.03838313743472099,
-0.04197057709097862,
-0.060024067759513855,
0.022608250379562378,
0.03020375967025757,
0.022623442113399506,
-0.007712042890489101,
-0.0020829897839576006,
-0.02284066751599312,
-0.004223898984491825,
0.07213959097862244,
0.06027090921998024,
-0.012012765742838383,
-0.03806983679533005,
0.030942820012569427,
-0.0019419302698224783,
-0.016308384016156197,
-0.007695024833083153,
-0.02798541635274887,
0.09755565971136093,
0.06533727794885635,
0.046730805188417435,
-0.029779044911265373,
-0.005074464250355959,
-0.03979502245783806,
-0.05382377654314041,
-0.030203787609934807,
-0.0382891520857811,
-0.02641318179666996,
-0.04303336143493652,
-0.02660825103521347,
-0.007236129138618708,
-0.034669507294893265,
0.004445432219654322,
-0.02217576652765274,
0.021479889750480652,
0.035632431507110596,
0.028283460065722466,
-0.005805858410894871,
0.025659793987870216,
-0.03389411047101021,
-0.04617120325565338,
0.0467696376144886,
0.017793981358408928,
0.0161066222935915,
-0.05580713227391243,
-0.04664354398846626,
0.0028836436104029417,
0.026411576196551323,
-0.02031537890434265,
-0.015443095937371254,
0.07961612939834595,
-0.002761600073426962,
-0.030989879742264748,
0.02716328203678131,
0.0037334400694817305,
-0.018011003732681274,
-0.022801410406827927,
0.015699246898293495,
-0.02210981398820877,
-0.052501291036605835,
-0.023058364167809486,
-0.0011660440359264612,
0.04303253814578056,
-0.07033556699752808,
-0.08454705029726028,
-0.0365600511431694,
0.031762003898620605,
0.04365645721554756,
-0.007008243817836046,
-0.03775760903954506,
-0.0011269469978287816,
-0.04798242822289467,
-0.01667817123234272,
0.030878109857439995,
-0.000172373402165249,
0.046038031578063965,
0.04105402156710625,
0.0026555692311376333,
-0.01913660764694214,
0.040958572179079056,
0.0737903043627739,
0.054002463817596436,
0.01957065425813198,
-0.036983899772167206,
0.007394332904368639,
-0.01831105537712574,
0.050381749868392944,
0.016119904816150665,
-0.006295687053352594,
-0.04148834943771362,
-0.0929439589381218,
-0.004009697120636702,
0.013848609291017056,
-0.020109020173549652,
0.00676221027970314,
0.031285110861063004,
-0.016466422006487846,
-0.04436812549829483,
0.02349752187728882,
0.025467561557888985,
0.05048835277557373,
-0.041495926678180695,
0.039324820041656494,
0.022339243441820145,
0.012040606699883938,
-0.034705884754657745,
0.03209567815065384,
-0.03538304939866066,
-0.019257912412285805,
-0.0027564603369683027,
0.05581163987517357,
0.03187064826488495,
0.0688549354672432,
0.0645836666226387,
0.028241785243153572,
-0.030957235023379326,
0.031397681683301926,
0.03243877738714218,
-0.03239559382200241,
-0.06744494289159775,
-0.010514866560697556,
-0.02026938833296299,
-0.007276139687746763,
-0.01595313474535942,
-0.006475235801190138,
0.03968527540564537,
0.041055016219615936,
0.005675389431416988,
0.0004725527542177588,
0.00811198353767395,
-0.014005960896611214,
-0.017808131873607635,
-0.08494997769594193,
0.0008638940053060651,
0.0012037028791382909,
-0.04075740650296211,
0.01722019910812378,
-0.006699342746287584,
0.02770683541893959,
0.06247270107269287,
0.03595107048749924,
-0.033098459243774414,
-0.08845052868127823,
0.05710398778319359,
0.022250181064009666,
-0.036658722907304764,
-0.07226131111383438,
-0.0227217860519886,
0.04305775836110115,
0.027338789775967598,
-0.018518121913075447,
-0.06772182881832123,
0.03229694813489914,
0.03920791298151016,
-0.06357266753911972,
0.041041191667318344,
-0.011849469505250454,
0.04278687760233879,
0.06883201748132706,
0.01909705065190792,
0.03249938413500786,
-0.027435950934886932,
-0.028642361983656883,
0.010656801983714104,
0.04491486772894859,
-0.018603168427944183,
-0.03870321810245514,
-0.07814979553222656,
0.04263177514076233,
0.03289790824055672,
0.03611589968204498,
0.03665986657142639,
-0.01768321543931961,
-0.05023077502846718,
0.0034707665909081697,
0.027567947283387184,
-0.04900388419628143,
0.017124585807323456,
0.012044050730764866,
0.06046690791845322,
-0.04853972792625427,
-0.02995993196964264,
-0.009871411137282848,
-0.003563697449862957,
0.00882992334663868,
0.00894084107130766,
-0.02527540922164917,
-0.034294430166482925,
0.021687015891075134,
-0.015578022226691246,
-0.0278947651386261,
-0.07842031866312027,
0.04108525812625885,
-0.02193206176161766,
-0.03566959127783775,
0.03875884786248207,
0.02917468547821045,
0.03825140744447708,
0.05881457030773163,
0.022873178124427795,
0.002943202154710889,
-0.05082093924283981,
0.047510743141174316,
-0.050139158964157104,
-0.019500732421875,
-0.010946325957775116,
-0.048435017466545105,
0.0020645963959395885,
-0.034255482256412506,
-0.07180560380220413,
-0.03677085041999817,
-0.008493668399751186,
0.019490424543619156,
-0.012082288041710854,
0.009517915546894073,
-0.0031327761244028807,
0.03996308147907257,
-0.023313062265515327,
-0.029200872406363487,
-0.03785770386457443,
-0.02470480278134346,
-0.05570962280035019,
-0.04728572443127632,
0.03721097856760025,
0.005776898469775915,
0.022807324305176735,
0.014262881129980087,
0.039820559322834015,
0.019460130482912064,
0.014526868239045143,
0.0010520803043618798,
0.021135874092578888,
0.011492984369397163,
-0.03286204859614372,
-0.028043102473020554,
0.02574077434837818,
0.0024346273858100176,
0.04555728659033775,
-0.04065708816051483,
0.02258613519370556,
0.02593778446316719,
0.01913856528699398,
-0.02605621889233589,
0.02560572698712349,
0.034802522510290146,
-0.06942726671695709,
-0.016942739486694336,
-0.025766082108020782,
-0.027319500222802162,
0.015479234047234058,
-0.014322527684271336,
-0.023934846743941307,
0.03120897151529789,
0.020029904320836067,
0.03673567250370979,
-0.03163835406303406,
-0.021194633096456528,
0.007663491647690535,
-0.013704783283174038,
0.01130396407097578,
-0.039960578083992004,
0.01664106175303459,
-0.05301892012357712,
0.00837880838662386,
-0.012666834518313408,
0.012543563731014729,
-0.03632175177335739,
0.02344277873635292,
-0.012635917402803898,
-0.02281019650399685,
-0.003466737223789096,
-0.008111230097711086,
-0.02969997003674507,
0.04954967275261879,
-0.02672520838677883,
-0.004789887461811304,
-0.02983006089925766,
0.07433106750249863,
-0.01619536802172661,
0.014267300255596638,
-0.0025104922242462635,
0.008307660929858685,
-0.06204069405794144,
-0.041106972843408585,
-0.01648370921611786,
0.006880308501422405,
0.03753308206796646,
0.046404000371694565,
0.04753534868359566,
0.03344031050801277,
-0.029238080605864525,
-0.005366211757063866,
0.019873121753335,
-0.08491455018520355,
-0.0370246060192585,
0.006075688637793064,
0.03637236729264259,
-0.01593467779457569,
0.0528266541659832,
0.07289891690015793,
-0.04561670124530792,
-0.03901011869311333,
0.07365374267101288,
-0.007600694429129362,
0.013634636998176575,
-0.008246353827416897,
0.016482917591929436,
0.04689608886837959,
0.02997289039194584,
-0.03737497702240944,
-0.004006501287221909,
0.01385696791112423,
-0.018426839262247086,
0.03305654600262642,
-0.0032925785053521395,
0.026280151680111885,
0.0069941566325724125,
-0.02746383473277092,
-0.02689547836780548,
0.06118103489279747,
0.041158393025398254,
0.05753125250339508,
0.007104286924004555,
-0.03671490401029587,
0.012388973496854305,
-0.01021557580679655,
-0.06552574783563614,
0.0024542019236832857,
0.02611260861158371,
-0.013551050797104836,
0.056059520691633224,
-0.01789536140859127,
0.012392105534672737,
0.019155224785208702,
0.03134441748261452,
-0.006362770218402147,
0.04483700543642044,
-0.029179032891988754,
0.01843908242881298,
0.04985373467206955,
-0.038412801921367645,
-0.05817999318242073,
-0.05708063021302223,
0.06646373122930527,
-0.06773988902568817,
0.05797872692346573,
0.028981531038880348,
-0.006085500121116638,
-0.01609092950820923,
-0.06325309723615646,
-0.06789771467447281,
0.044634584337472916,
-0.05483400076627731,
0.08791842311620712,
0.014520375989377499,
-0.04836170747876167,
0.056242477148771286,
0.005486273672431707,
-0.04936569184064865,
0.02959592454135418,
0.04547438025474548,
0.02614041231572628,
0.01170973852276802,
0.03465520590543747,
-0.04656292870640755,
0.011269326321780682,
-0.0435262992978096,
0.026662787422537804,
-0.05221624672412872,
-0.035553812980651855,
0.03150606527924538,
-0.009669874794781208,
-0.01460490096360445,
0.042369600385427475,
-0.030995212495326996,
-0.01874166913330555,
0.038020454347133636,
-0.05822788551449776,
-0.04534611478447914,
0.00787750631570816,
0.009564679116010666,
0.007815307006239891,
0.019572028890252113,
-0.03556085750460625,
0.017496462911367416,
0.0035391245037317276,
-0.007477138191461563,
-0.010983199812471867,
0.02207818254828453,
0.022213131189346313,
-0.04204542562365532,
-0.027880413457751274,
0.03066033497452736,
-0.003126666648313403,
-0.025515148416161537,
0.0258225966244936,
-0.004215544555336237,
0.0039629279635846615,
0.026677826419472694,
0.01179156731814146,
0.025936519727110863,
-0.030688077211380005,
-0.019502868875861168,
0.022629760205745697,
0.022899862378835678,
0.00636044517159462,
-0.011670587584376335,
0.021453043445944786,
0.05736624822020531,
0.02400057204067707,
-0.007478389889001846,
-0.03654823824763298,
-0.016681835055351257,
0.03164739906787872,
-0.031819898635149,
0.013315136544406414,
-0.010015358217060566,
-0.02586125023663044,
-0.04203873872756958,
-0.03516515716910362,
-0.04584198445081711,
0.039537955075502396,
-0.04523357003927231,
0.01752898097038269,
0.05434386059641838,
0.0046462188474833965,
-0.04335001856088638,
-0.07592634111642838,
-0.022766880691051483,
-0.024663841351866722,
0.026375047862529755,
0.0369381457567215,
-0.02080802619457245,
0.024036496877670288,
-0.04543896019458771,
-0.03630450367927551,
0.043270595371723175,
0.002290355274453759,
-0.007788604125380516,
0.042042817920446396,
0.024549465626478195,
-0.03618166968226433,
0.009527100250124931,
0.011307076551020145,
-0.03889964148402214,
0.017252102494239807,
0.02843795344233513,
0.008576269261538982,
0.019210513681173325,
0.019967297092080116,
-0.010859057307243347,
-0.00008881423127604648,
-0.06138495355844498,
-0.023435816168785095,
-0.0578913576900959,
0.033231887966394424,
0.06637085974216461
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa-did-nadi | [
"pytorch",
"tf",
"bert",
"text-classification",
"ar",
"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
}
}
} | 71 | null | ---
language: en
license: cc-by-4.0
datasets:
- squad_v2
model-index:
- name: deepset/bert-base-cased-squad2
results:
- task:
type: question-answering
name: Question Answering
dataset:
name: squad_v2
type: squad_v2
config: squad_v2
split: validation
metrics:
- type: exact_match
value: 71.1517
name: Exact Match
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZGZlNmQ1YzIzMWUzNTg4YmI4NWVhYThiMzE2ZGZmNWUzNDM3NWI0ZGJkNzliNGUxNTY2MDA5MWVkYjAwYWZiMCIsInZlcnNpb24iOjF9.iUvVdy5c4hoXkwlThJankQqG9QXzNilvfF1_4P0oL8X-jkY5Q6YSsZx6G6cpgXogqFpn7JlE_lP6_OT0VIamCg
- type: f1
value: 74.6714
name: F1
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMWE5OGNjODhmY2Y0NWIyZDIzMmQ2NmRjZGYyYTYzOWMxZDUzYzg4YjBhNTRiNTY4NTc0M2IxNjI5NWI5ZDM0NCIsInZlcnNpb24iOjF9.IqU9rbzUcKmDEoLkwCUZTKSH0ZFhtqgnhOaEDKKnaRMGBJLj98D5V4VirYT6jLh8FlR0FiwvMTMjReBcfTisAQ
---
This is a BERT base cased model trained on SQuAD v2 | [
0.00007131709571694955,
-0.03989647328853607,
-0.023338422179222107,
0.04710635170340538,
0.058800965547561646,
0.009783739224076271,
-0.035494156181812286,
0.005134039558470249,
-0.0313880480825901,
0.02679947018623352,
0.021672794595360756,
-0.0032209630589932203,
0.014430683106184006,
0.039480019360780716,
-0.03515077754855156,
-0.04624113067984581,
0.010314383544027805,
-0.0020041356328874826,
-0.07078894972801208,
-0.028719689697027206,
0.005859855562448502,
0.029932290315628052,
0.011792612262070179,
0.02632402628660202,
0.011439631693065166,
0.016995374113321304,
-0.013899668119847775,
0.03787682205438614,
0.03581013157963753,
-0.06775350868701935,
0.014860643073916435,
-0.008101076819002628,
-0.03945334628224373,
-0.05658974498510361,
-0.002884663874283433,
-0.021883077919483185,
0.007117236033082008,
-0.007142001297324896,
0.04075678065419197,
0.04485948011279106,
-0.025443825870752335,
0.0037004195619374514,
-0.019542869180440903,
-0.03063546121120453,
0.06238764896988869,
0.010308399796485901,
-0.01459884736686945,
-0.02044694684445858,
0.021987421438097954,
-0.024270033463835716,
-0.07425681501626968,
-0.07353005558252335,
-0.029919108375906944,
0.024502363055944443,
0.010402687825262547,
-0.022025153040885925,
-0.03823486715555191,
0.010775244794785976,
0.05944174900650978,
-0.07374119758605957,
-0.021646320819854736,
0.016401128843426704,
-0.06666436791419983,
-0.012154308147728443,
0.023907583206892014,
-0.03930307924747467,
0.01631735824048519,
-0.0445932000875473,
0.031034136191010475,
-0.0208066925406456,
0.08723634481430054,
-0.03003445267677307,
0.027241073548793793,
-0.06500116735696793,
0.000856562633998692,
-0.0013915436575189233,
0.011479580774903297,
0.024812813848257065,
-0.012759445235133171,
0.07417823374271393,
0.01745472475886345,
-0.003581355093047023,
0.010104398243129253,
-0.04075733944773674,
-0.0030645406804978848,
0.021685948595404625,
-0.02669355273246765,
0.024024225771427155,
-0.025628047063946724,
0.0383550226688385,
-0.03260853514075279,
-0.02063567191362381,
-0.026188718155026436,
-0.01609211415052414,
0.002276422455906868,
0.023512665182352066,
0.026550844311714172,
0.00004326953421696089,
-0.012307988479733467,
0.023189106956124306,
0.024051483720541,
0.06443778425455093,
-0.015376747585833073,
0.07277289777994156,
-0.0052277022041380405,
0.011722489260137081,
0.010693565011024475,
-0.020302169024944305,
-0.03692873939871788,
0.006894139107316732,
0.044600073248147964,
-0.021816754713654518,
-0.010832317173480988,
0.021895889192819595,
0.04025815427303314,
0.007176994811743498,
0.06465697288513184,
-0.027869755402207375,
-0.04280112683773041,
-0.04853905737400055,
0.03200874477624893,
0.006384443026036024,
-0.022156111896038055,
0.025464078411459923,
-0.03606666624546051,
-0.015640893951058388,
-0.04406432807445526,
-0.023544542491436005,
0.004129062406718731,
0.020137060433626175,
0.0008342000073753297,
0.05467674136161804,
0.022037437185645103,
-0.1054433137178421,
0.010312741622328758,
0.0033190101385116577,
-0.045745719224214554,
0.02537468448281288,
-0.0016757643315941095,
0.09116681665182114,
-0.05794450640678406,
-0.04906247928738594,
0.0406603068113327,
0.023958202451467514,
-0.0056405626237392426,
-0.0034507059026509523,
0.0000480857452203054,
-0.022546976804733276,
-0.03735216334462166,
0.010601677931845188,
0.06535173952579498,
-0.04139549285173416,
0.015331868082284927,
0.03857417404651642,
-0.007986798882484436,
0.016522157937288284,
-0.05422050133347511,
0.011612734757363796,
0.01945926994085312,
-0.004942100960761309,
-0.024858327582478523,
0.047853466123342514,
-0.020149284973740578,
-0.03131870552897453,
-0.02553669735789299,
-0.029922839254140854,
-0.011776930652558804,
0.09612997621297836,
0.017200272530317307,
-0.027310021221637726,
-0.023566387593746185,
0.010042483918368816,
0.027419844642281532,
0.031829893589019775,
-0.015270461328327656,
0.0174242090433836,
0.05021454393863678,
0.024318376556038857,
-0.007238723337650299,
0.033790163695812225,
0.01942434534430504,
-0.03226123005151749,
-0.02615899220108986,
0.02692583203315735,
-0.0009100662427954376,
-0.016468239948153496,
0.04977924004197121,
0.0447181798517704,
0.0070355297066271305,
-0.04238442704081535,
-0.023515302687883377,
0.06542877107858658,
-0.02011513151228428,
-0.017601411789655685,
0.004280627705156803,
0.019746573641896248,
-0.034162089228630066,
0.052403662353754044,
-0.005402886308729649,
-0.00875741709023714,
-0.037662751972675323,
-0.011655749753117561,
0.04259483516216278,
0.019649367779493332,
0.006197452545166016,
0.05742565914988518,
0.00009408574987901375,
0.10374059528112411,
-0.034141842275857925,
0.016160111874341965,
-0.03865182399749756,
-0.03619813919067383,
0.0058565144427120686,
0.05446594953536987,
0.07490921020507812,
0.057516321539878845,
-0.00019477354362607002,
-0.010543356649577618,
0.046630971133708954,
0.06294149905443192,
0.0638142079114914,
-0.0007225595181807876,
-0.01815931871533394,
-0.01041250117123127,
0.042388901114463806,
0.06895186752080917,
-0.03818343207240105,
-0.02469193935394287,
0.0007572040194645524,
0.008789855986833572,
-0.007000266574323177,
0.004659008700400591,
-0.024323338642716408,
0.03481273725628853,
-0.06327713280916214,
-0.059084583073854446,
0.051045022904872894,
0.0012191117275506258,
-0.009743647649884224,
0.02373836562037468,
-0.013705234974622726,
-0.001973786624148488,
0.018526963889598846,
0.017415350303053856,
0.01417375635355711,
-0.02350396290421486,
0.01956254057586193,
-0.004650381859391928,
0.07579139620065689,
-0.048823315650224686,
0.032685812562704086,
-0.00849441159516573,
0.049936696887016296,
0.03490867838263512,
-0.05826403573155403,
0.03863869234919548,
0.046222589910030365,
-0.004140291828662157,
-0.01306254044175148,
0.016164612025022507,
0.02204105630517006,
-0.007225490640848875,
0.07331489771604538,
0.011626657098531723,
0.055198900401592255,
0.005594946909695864,
0.03788774833083153,
0.06678429245948792,
0.012444325722754002,
0.02662266604602337,
-0.00204245513305068,
0.06885702908039093,
-0.0019574009347707033,
-0.0013741012662649155,
0.047312770038843155,
-0.02228306420147419,
0.0038092199247330427,
-0.0344136506319046,
-0.005718301050364971,
0.009669342078268528,
0.00122735439799726,
0.04678047448396683,
0.005906312260776758,
-0.03938423842191696,
0.0006099797901697457,
0.025716446340084076,
0.0032942190300673246,
0.024505773559212685,
-0.03035896271467209,
0.012791740708053112,
0.008169851265847683,
-0.023599974811077118,
0.006530479062348604,
-0.07931925356388092,
-0.03886101394891739,
-0.03028598427772522,
-0.031721990555524826,
0.012238037772476673,
-0.061675477772951126,
-0.011225522495806217,
-0.06437097489833832,
-0.03123980388045311,
0.04725376516580582,
-0.0006103533087298274,
-0.021651703864336014,
0.001521402271464467,
0.02544541284441948,
-0.03717445582151413,
-0.027718473225831985,
-0.0175902359187603,
-0.03081231378018856,
-0.04150058329105377,
-0.0671103373169899,
0.035217635333538055,
0.026829484850168228,
0.026927772909402847,
-0.003266809042543173,
0.008908587507903576,
-0.024732425808906555,
-0.020154766738414764,
0.01306829322129488,
0.06553108990192413,
-0.03148460015654564,
-0.050597403198480606,
0.025182556360960007,
-0.009009752422571182,
0.02748611383140087,
0.016962068155407906,
-0.029131902381777763,
0.08451790362596512,
0.07027620077133179,
0.024959368631243706,
0.0057969288900494576,
-0.0211467407643795,
-0.03729947656393051,
-0.032389234751462936,
-0.020035794004797935,
-0.0372137613594532,
-0.02943733148276806,
-0.05630313232541084,
-0.03669290989637375,
-0.028862351551651955,
-0.011678124777972698,
0.015943486243486404,
-0.015405170619487762,
0.008976181969046593,
0.04445872828364372,
0.046381060034036636,
0.010115823708474636,
0.02349252998828888,
-0.04396536201238632,
-0.014924032613635063,
0.045972008258104324,
0.002736591035500169,
0.01957474648952484,
-0.08119072020053864,
-0.03388644754886627,
0.026798218488693237,
0.0019710625056177378,
0.008907290175557137,
-0.005374937783926725,
0.07903311401605606,
0.015508342534303665,
-0.007976711727678776,
0.011228460818529129,
-0.013524841517210007,
-0.026781758293509483,
0.0027152232360094786,
-0.004732801113277674,
-0.02028605155646801,
-0.0250993799418211,
-0.027207674458622932,
0.02219628170132637,
0.035363778471946716,
-0.04432913661003113,
-0.05189137905836105,
-0.0012593739666044712,
0.040659695863723755,
0.011943395249545574,
-0.002379287499934435,
-0.033869143575429916,
-0.0022563484963029623,
-0.0702565535902977,
-0.04023422300815582,
0.0156872421503067,
0.0035223381128162146,
-0.024303637444972992,
0.048233963549137115,
0.013017965480685234,
-0.023750444874167442,
0.04714294523000717,
0.045710042119026184,
0.06469918042421341,
0.006215391680598259,
-0.05935452878475189,
-0.007051609922200441,
-0.02112005650997162,
0.014588615857064724,
0.01913793943822384,
-0.050452280789613724,
-0.04427849128842354,
-0.10809484869241714,
-0.014196469448506832,
0.03647395223379135,
-0.013592482544481754,
-0.045684583485126495,
0.03018808737397194,
-0.0012756175128743052,
0.0034701137337833643,
-0.016264814883470535,
0.015762247145175934,
0.02348964288830757,
-0.03276701271533966,
0.04690113663673401,
-0.013428941369056702,
0.04639687389135361,
-0.06392525881528854,
0.007995589636266232,
-0.026040727272629738,
-0.015100297518074512,
0.028946014121174812,
0.040043000131845474,
-0.0037764639127999544,
0.04872013255953789,
0.05529903620481491,
0.03519606590270996,
-0.04591795429587364,
0.0351765900850296,
0.03879290446639061,
-0.03333523869514465,
-0.0365157276391983,
-0.008724451065063477,
0.017248550429940224,
-0.015450895763933659,
0.017015935853123665,
-0.022951500490307808,
0.04071938619017601,
0.03574548661708832,
-0.021009335294365883,
-0.0003700792440213263,
0.013234260492026806,
-0.06127307564020157,
-0.029974855482578278,
0.0005251094116829336,
-0.03290936350822449,
-0.002135202754288912,
-0.012999489903450012,
0.038402970880270004,
0.06266140192747116,
0.014777637086808681,
0.041674692183732986,
0.03251757100224495,
-0.011269044131040573,
-0.05152181163430214,
0.02854328230023384,
0.027451248839497566,
-0.04049484804272652,
-0.06861378997564316,
-0.027842752635478973,
0.06847398728132248,
0.026729190722107887,
0.00862869806587696,
-0.08921504765748978,
0.02983512356877327,
0.06947429478168488,
-0.03854246810078621,
0.05860690027475357,
-0.01254067663103342,
0.059673357754945755,
0.05476021021604538,
-0.03256656974554062,
0.02154623158276081,
-0.024741681292653084,
-0.009054661728441715,
-0.011647324077785015,
0.02742636762559414,
-0.029199277982115746,
-0.04824128746986389,
-0.04499674588441849,
0.03411335498094559,
0.0784090980887413,
0.038862813264131546,
0.0180727057158947,
-0.017694104462862015,
-0.028009982779622078,
0.018333230167627335,
0.039377596229314804,
-0.04695328325033188,
0.010352623648941517,
0.02547459304332733,
0.023693900555372238,
-0.05907750502228737,
-0.04190738871693611,
-0.028767479583621025,
-0.0005700956680811942,
0.03645924851298332,
-0.011615601368248463,
-0.011494088917970657,
-0.0644184872508049,
0.04496427997946739,
-0.0033363155089318752,
-0.03063201904296875,
-0.06578715890645981,
0.045382555574178696,
-0.026994332671165466,
-0.0017096552764996886,
0.04761234298348427,
0.0519464947283268,
0.02910194918513298,
0.06968673318624496,
0.030868524685502052,
-0.0152784064412117,
-0.033389195799827576,
0.04231886938214302,
-0.020453430712223053,
-0.018142471089959145,
-0.032339658588171005,
-0.046532709151506424,
-0.004516132175922394,
-0.0020084381103515625,
-0.03003908134996891,
-0.03276653587818146,
-0.029297567903995514,
0.030972573906183243,
0.007576335687190294,
-0.01177380420267582,
-0.030498869717121124,
0.012321393936872482,
-0.020027872174978256,
-0.032209716737270355,
-0.018871737644076347,
0.0002251922123832628,
-0.036546435207128525,
-0.044868770986795425,
0.009907592087984085,
-0.006752465385943651,
0.0324048288166523,
0.021120719611644745,
0.04505258798599243,
-0.0055482275784015656,
0.0008610961376689374,
-0.04361693561077118,
0.006375792436301708,
-0.007236440200358629,
-0.04094335809350014,
-0.03763638064265251,
0.00909337867051363,
0.0032212771475315094,
0.056105468422174454,
-0.0026623383164405823,
0.01806594431400299,
0.021459966897964478,
-0.03089381754398346,
-0.025033902376890182,
0.04178939014673233,
0.04170931130647659,
-0.098844014108181,
-0.054670270532369614,
-0.008484342135488987,
-0.031172681599855423,
0.03895893692970276,
-0.05547406151890755,
-0.05615520849823952,
0.025716839358210564,
0.01704694703221321,
0.06106923893094063,
0.02627280168235302,
-0.03274974972009659,
0.02558617852628231,
-0.003906390629708767,
-0.005073122680187225,
-0.06684573739767075,
0.030507409945130348,
-0.02318524569272995,
0.019986310973763466,
-0.027628500014543533,
-0.011459512636065483,
-0.03611651435494423,
0.04234776273369789,
-0.03501386567950249,
-0.01901175081729889,
-0.01378861628472805,
0.033936697989702225,
-0.018991276621818542,
0.026887955144047737,
-0.011185023002326488,
0.0308229997754097,
-0.0351809561252594,
0.05772825703024864,
-0.04826152324676514,
0.009497846476733685,
-0.02372438833117485,
0.00876607745885849,
-0.05604177340865135,
0.05071188881993294,
-0.02117662876844406,
-0.04537506401538849,
0.03338589519262314,
0.07431601732969284,
0.01468624733388424,
0.003110428573563695,
-0.018296020105481148,
-0.004770459607243538,
0.022916387766599655,
-0.052847228944301605,
0.0034612647723406553,
-0.006432512775063515,
0.004668409936130047,
-0.009007313288748264,
0.02707676775753498,
0.049552761018276215,
-0.05996399000287056,
-0.0430094450712204,
0.0532221794128418,
0.001347580924630165,
-0.0011949428590014577,
0.0019524918170645833,
-0.0029442731756716967,
0.05542368069291115,
0.029405822977423668,
-0.035909734666347504,
0.006298310589045286,
-0.023943115025758743,
-0.030132032930850983,
0.005989649333059788,
-0.019847447052598,
0.02390848845243454,
0.02144780196249485,
-0.026402976363897324,
-0.028320524841547012,
0.07197051495313644,
0.030487697571516037,
0.01002191100269556,
-0.002176963724195957,
-0.019510846585035324,
0.03730418160557747,
0.006017201580107212,
-0.026892488822340965,
0.019844798371195793,
-0.011974137276411057,
-0.03161914274096489,
0.08992422372102737,
-0.013031182810664177,
0.005021807737648487,
0.03614315018057823,
-0.004786590114235878,
-0.015155402012169361,
0.04849589988589287,
-0.038743145763874054,
0.036599449813365936,
0.0611666701734066,
-0.09277953207492828,
0.04215617477893829,
-0.04599315673112869,
0.03445645794272423,
-0.09608806669712067,
0.050415005534887314,
0.044419996440410614,
0.018154416233301163,
0.01740759052336216,
-0.04076447710394859,
-0.05328058823943138,
0.031682804226875305,
-0.04860270023345947,
0.07119961827993393,
0.003142119385302067,
-0.059281107038259506,
0.0800795927643776,
0.029774300754070282,
-0.06500833481550217,
0.03580138087272644,
0.04765172675251961,
0.03568047285079956,
0.04666970670223236,
0.04522623121738434,
-0.06032378971576691,
0.03613213822245598,
-0.031248794868588448,
0.06591003388166428,
-0.05119382217526436,
-0.05959785729646683,
0.013585098087787628,
-0.022876745089888573,
0.013170242309570312,
0.016438812017440796,
-0.012829293496906757,
-0.007477874401956797,
0.027011053636670113,
-0.05654135346412659,
-0.04067275673151016,
-0.0005030357278883457,
0.021065231412649155,
-0.029954904690384865,
-0.007358252070844173,
-0.04056962952017784,
0.04154912754893303,
0.010801994241774082,
0.017805565148591995,
-0.021591300144791603,
-0.008026174269616604,
0.014169473201036453,
-0.06775730103254318,
-0.01685895211994648,
0.05702410265803337,
-0.004756161943078041,
-0.025596575811505318,
0.05235475301742554,
0.017970982939004898,
0.026886658743023872,
-0.0012059363070875406,
0.004605493042618036,
0.011964535340666771,
-0.030845176428556442,
0.0015527586219832301,
0.025495178997516632,
0.0036723995581269264,
0.02003079280257225,
-0.008711953647434711,
0.03788413479924202,
0.03035147488117218,
0.04165352135896683,
0.013208423741161823,
-0.022775504738092422,
0.005446130409836769,
0.06064388155937195,
-0.03428158909082413,
0.018271680921316147,
-0.04073600843548775,
-0.03771456331014633,
-0.03616414964199066,
-0.008953802287578583,
0.0006738217198289931,
0.030864493921399117,
-0.05701306089758873,
0.0159034114331007,
0.027766063809394836,
-0.03456186503171921,
-0.055713508278131485,
-0.09679459035396576,
-0.0019105096580460668,
-0.04962962493300438,
0.014555797912180424,
0.03758683055639267,
-0.045106999576091766,
0.01941940374672413,
-0.0420786514878273,
-0.0659441128373146,
0.03979867324233055,
0.03398381918668747,
-0.06244216859340668,
0.0618327260017395,
0.0583866685628891,
-0.048962220549583435,
0.019633019343018532,
0.005734017118811607,
-0.020101560279726982,
0.024205470457673073,
-0.0027213862631469965,
0.032555386424064636,
0.0312812440097332,
0.05070285499095917,
-0.021786049008369446,
-0.040555499494075775,
-0.03956777602434158,
-0.041603803634643555,
-0.017137575894594193,
0.016491606831550598,
0.062485191971063614
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa-eighth | [
"pytorch",
"tf",
"jax",
"bert",
"fill-mask",
"ar",
"arxiv:2103.06678",
"transformers",
"license:apache-2.0",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 21 | null | ---
license: cc-by-4.0
---
This is a German BERT v1 (https://deepset.ai/german-bert) trained to do hate speech detection on the GermEval18Coarse dataset | [
0.0034198493231087923,
0.009535083547234535,
-0.006091567222028971,
0.046691011637449265,
0.03250899165868759,
0.03655805066227913,
-0.019324997439980507,
0.005550089292228222,
-0.041336726397275925,
0.0436483770608902,
0.006315967999398708,
-0.011457792483270168,
0.031745292246341705,
0.0289466492831707,
-0.05332237482070923,
-0.022881073877215385,
-0.014365710318088531,
-0.009997612796723843,
-0.05191473290324211,
-0.009882046841084957,
-0.004758823197335005,
0.012054551392793655,
0.0005761533393524587,
0.04777969792485237,
-0.006836490239948034,
0.038053497672080994,
-0.04011748731136322,
0.047491081058979034,
0.02127787657082081,
-0.05115069821476936,
-0.01719510182738304,
-0.02297491766512394,
-0.040124356746673584,
0.010236099362373352,
-0.02470550313591957,
-0.004796149674803019,
0.005797366611659527,
0.019183754920959473,
0.025601068511605263,
0.03859846666455269,
0.009177220053970814,
-0.005678436253219843,
-0.02304278500378132,
-0.035391584038734436,
0.03457758203148842,
-0.011817057617008686,
-0.05801360681653023,
-0.030916927382349968,
0.008136242628097534,
-0.05680115148425102,
-0.05329160764813423,
-0.07385913282632828,
-0.026731442660093307,
0.023433294147253036,
-0.002288762480020523,
-0.023215899243950844,
-0.046548210084438324,
0.019735271111130714,
0.05817197263240814,
-0.044845182448625565,
-0.03555101156234741,
0.004802137613296509,
-0.03992250934243202,
-0.004574479069560766,
0.03768492117524147,
-0.066965252161026,
0.013778485357761383,
-0.03172627091407776,
0.013537591323256493,
-0.02345379814505577,
0.057558901607990265,
-0.013641898520290852,
0.03815794363617897,
-0.07165202498435974,
-0.02324976585805416,
-0.04421865567564964,
0.06761952489614487,
0.051575079560279846,
-0.03574591130018234,
0.059208307415246964,
0.025580810382962227,
0.013738773763179779,
0.02056552842259407,
-0.038499198853969574,
0.010661027394235134,
0.03726371377706528,
-0.045006558299064636,
0.010299351997673512,
-0.009560073725879192,
0.046607956290245056,
-0.02631065435707569,
-0.013460436835885048,
-0.013035476207733154,
-0.026183973997831345,
-0.02369387075304985,
0.03392384946346283,
-0.02430957742035389,
-0.019843488931655884,
0.024357441812753677,
0.04355641081929207,
0.04325169697403908,
0.04043862968683243,
-0.027818432077765465,
0.047648172825574875,
-0.026636529713869095,
0.006676139310002327,
-0.018519951030611992,
-0.02908594161272049,
-0.04504986107349396,
0.009598910808563232,
0.015531369484961033,
-0.042479220777750015,
-0.0487346276640892,
0.05105946958065033,
0.0030884207226336002,
0.02057306095957756,
0.04554666578769684,
-0.03478167578577995,
-0.035184748470783234,
-0.02807164192199707,
0.014914805069565773,
-0.009133068844676018,
0.01702044904232025,
0.008808327838778496,
-0.08337737619876862,
0.013392823748290539,
-0.04283583164215088,
-0.041100986301898956,
-0.009086158126592636,
0.034785252064466476,
0.009698253124952316,
0.05094588175415993,
0.035541173070669174,
-0.04746270179748535,
0.0034572198055684566,
0.03976580873131752,
-0.06101866438984871,
0.032706838101148605,
0.022081691771745682,
0.10435153543949127,
-0.05232845991849899,
-0.03830007091164589,
-0.016011279076337814,
-0.004299343563616276,
-0.03394460305571556,
0.01034452486783266,
0.03198729828000069,
-0.00997268594801426,
-0.03318207710981369,
-0.012350927107036114,
0.03229081630706787,
-0.06783799827098846,
-0.030562805011868477,
0.059094879776239395,
-0.01806231029331684,
0.023792095482349396,
-0.0395418182015419,
0.004296125844120979,
-0.024464581161737442,
0.011514449492096901,
-0.02106158249080181,
0.00542955007404089,
-0.014406676404178143,
0.001572675653733313,
-0.03600994125008583,
-0.053175896406173706,
0.0012208640109747648,
0.0917510986328125,
0.013678046874701977,
-0.026083150878548622,
-0.0678243339061737,
0.015092588029801846,
0.042245760560035706,
0.017665186896920204,
-0.02735131047666073,
0.008959384635090828,
0.050022099167108536,
0.03478440269827843,
-0.011898002587258816,
0.06752968579530716,
-0.013444085605442524,
-0.04868163540959358,
-0.02869885228574276,
0.015146768651902676,
0.014332265593111515,
-0.05208725109696388,
0.01968342438340187,
0.044849224388599396,
0.012478101998567581,
-0.027145078405737877,
-0.04027324542403221,
0.04760955646634102,
-0.029577691107988358,
-0.00944487378001213,
0.04533965885639191,
0.003385663265362382,
-0.04050252214074135,
0.03991086781024933,
-0.03571784868836403,
-0.010183160193264484,
-0.03611676022410393,
-0.01863142102956772,
0.0013154558837413788,
-0.018483012914657593,
0.012551040388643742,
0.04423303157091141,
-0.011421386152505875,
0.047918129712343216,
-0.016040530055761337,
0.0003884448087774217,
-0.03887595236301422,
-0.051170919090509415,
-0.023408494889736176,
0.052154768258333206,
0.06338769197463989,
0.01582798734307289,
-0.02687685191631317,
-0.058379728347063065,
0.024525893852114677,
0.06602386385202408,
0.0513211190700531,
0.027883877977728844,
-0.035215508192777634,
-0.013882367871701717,
0.029049742966890335,
0.027417724952101707,
-0.04399339109659195,
-0.0345601849257946,
0.007520956452935934,
0.05776956304907799,
-0.0007566776475869119,
-0.0026219962164759636,
-0.013946994207799435,
0.020169813185930252,
-0.06038114055991173,
-0.06568659096956253,
0.04249165952205658,
0.030099565163254738,
-0.006205531302839518,
0.028025927022099495,
-0.010013934224843979,
0.012900233268737793,
0.02129354327917099,
0.03750310093164444,
0.02405845746397972,
-0.04845681041479111,
0.0005345189711079001,
0.0017664640909060836,
0.0576520599424839,
-0.033184368163347244,
0.047068800777196884,
-0.009704205207526684,
-0.016158023849129677,
0.0284977275878191,
-0.004015921149402857,
0.04574010521173477,
0.04632474482059479,
0.0053640189580619335,
-0.03524905443191528,
0.03164639696478844,
0.005823511630296707,
0.02558896131813526,
0.04540422558784485,
-0.012793682515621185,
0.0718081146478653,
0.012074724771082401,
0.05915842950344086,
0.08354012668132782,
0.0393478125333786,
0.03877508267760277,
0.03810090944170952,
0.04496380314230919,
0.01749410852789879,
-0.015732891857624054,
0.06679250299930573,
-0.04968523979187012,
0.023088837042450905,
-0.03414719179272652,
0.005490428768098354,
0.0020247434731572866,
-0.017964741215109825,
0.04004822298884392,
0.015465878881514072,
-0.007868912070989609,
0.0026369462721049786,
-0.009064842015504837,
-0.000594756449572742,
0.06818853318691254,
0.007747665513306856,
0.02019568532705307,
-0.0024296569172292948,
-0.06216356158256531,
0.025815235450863838,
-0.07341689616441727,
-0.019316352903842926,
-0.0011883517727255821,
-0.042017120867967606,
0.021198414266109467,
-0.10720345377922058,
-0.0661667063832283,
-0.04727258160710335,
-0.006546350661665201,
0.037595681846141815,
0.016220176592469215,
-0.00205696327611804,
-0.0370960533618927,
0.012199393473565578,
-0.037693411111831665,
-0.06574395298957825,
-0.027045702561736107,
-0.05074303597211838,
-0.009568357840180397,
-0.0679774209856987,
0.051596950739622116,
0.044560350477695465,
0.0337868295609951,
-0.004207703284919262,
-0.006875697057694197,
-0.019698025658726692,
-0.024219244718551636,
0.045984599739313126,
0.05620582029223442,
-0.046472594141960144,
-0.05509132146835327,
-0.00403470266610384,
0.010234917514026165,
-0.0010659098625183105,
0.013329829089343548,
-0.043458033353090286,
0.08018714189529419,
0.086921326816082,
0.009022561833262444,
0.01815974712371826,
0.019643982872366905,
-0.03281928226351738,
-0.054084308445453644,
-0.01400691270828247,
-0.0336415059864521,
-0.03204704076051712,
-0.03352750837802887,
-0.07338760793209076,
-0.04981622472405434,
-0.0579458549618721,
-0.01735052838921547,
0.019555142149329185,
0.028051041066646576,
0.009327415376901627,
0.055157192051410675,
0.018327461555600166,
-0.0005670081591233611,
-0.011591248214244843,
-0.011988799087703228,
0.06145734339952469,
-0.03777705132961273,
0.000025345245376229286,
-0.08400200307369232,
-0.003923519514501095,
0.027168067172169685,
0.010823051445186138,
0.01583758182823658,
-0.03680000081658363,
0.0671851634979248,
0.011415247805416584,
0.0062659671530127525,
-0.0072556124068796635,
-0.010405147448182106,
-0.01912502758204937,
0.004085605498403311,
0.003960509318858385,
-0.009110972285270691,
-0.06833777576684952,
-0.015982916578650475,
-0.0046733976341784,
0.050145428627729416,
-0.05105758458375931,
-0.040792129933834076,
-0.02608582191169262,
0.025602908805012703,
0.0587892159819603,
-0.02430392988026142,
-0.03984937444329262,
-0.004759741481393576,
-0.03136168792843819,
-0.042462803423404694,
0.0022525563836097717,
-0.0240276288241148,
0.024015160277485847,
0.017442842945456505,
0.02304968610405922,
-0.008469954133033752,
0.03519046679139137,
0.021207666024565697,
0.07680550962686539,
0.026933787390589714,
-0.05410861223936081,
0.0340210385620594,
-0.026349591091275215,
0.010388803668320179,
-0.010446322150528431,
-0.03983588516712189,
-0.04645882546901703,
-0.0949058011174202,
-0.026051659137010574,
-0.013576856814324856,
-0.01864992082118988,
-0.024934135377407074,
0.04863452911376953,
0.020872944965958595,
0.027928762137889862,
-0.012730619870126247,
0.018377456814050674,
0.03156217560172081,
-0.0021235807798802853,
0.053687430918216705,
-0.02060018666088581,
0.013447947800159454,
-0.05137602984905243,
0.028226865455508232,
-0.04415708780288696,
-0.04756197705864906,
-0.015271052718162537,
0.06237408518791199,
0.023691803216934204,
0.049614179879426956,
0.0831572413444519,
0.017685817554593086,
-0.04932057857513428,
0.014275963418185711,
0.04679505527019501,
-0.011754552833735943,
-0.03103318065404892,
-0.009075856767594814,
-0.008625973016023636,
-0.020146094262599945,
0.018681475892663002,
-0.04458189755678177,
0.031975895166397095,
0.05050234869122505,
0.007159811910241842,
-0.024421092122793198,
-0.010368029586970806,
-0.030164800584316254,
-0.017627762630581856,
-0.06799700856208801,
-0.0373728983104229,
0.010598034597933292,
-0.017988892272114754,
0.028166770935058594,
0.04359717667102814,
0.018358919769525528,
0.07029502093791962,
0.013734668493270874,
-0.00834174919873476,
-0.02567070908844471,
0.029482383280992508,
0.0322338230907917,
-0.05565343424677849,
-0.06846176087856293,
-0.048732299357652664,
0.03521174564957619,
0.04781975597143173,
-0.010697300545871258,
-0.07084980607032776,
0.030642537400126457,
0.05706452578306198,
-0.01333014015108347,
0.05254324525594711,
-0.021622641012072563,
0.07257682830095291,
0.0385734885931015,
-0.0053934818133711815,
0.018261248245835304,
-0.01496904343366623,
0.01238222699612379,
0.009740976616740227,
0.02952098660171032,
-0.018869873136281967,
-0.036761507391929626,
-0.04217398166656494,
0.026234393939375877,
0.011772732250392437,
0.030183596536517143,
0.03626203536987305,
-0.04015607759356499,
-0.009344669990241528,
0.019478313624858856,
0.045350659638643265,
-0.0420246422290802,
0.005939008202403784,
0.04395561292767525,
0.05618784576654434,
-0.029620109125971794,
-0.02814381942152977,
-0.00006889872020110488,
0.01689087226986885,
0.02588852122426033,
0.006476945709437132,
-0.04781058430671692,
-0.04971924424171448,
0.045328233391046524,
-0.020291505381464958,
-0.033921848982572556,
-0.07806139439344406,
-0.008474322035908699,
-0.0009126748773269355,
-0.03671632334589958,
0.05402275547385216,
0.01479307096451521,
0.03649003803730011,
0.06498492509126663,
-0.015871264040470123,
-0.002117728814482689,
-0.05579372122883797,
0.029543602839112282,
-0.03063993901014328,
-0.010556616820394993,
-0.025144062936306,
-0.024098167195916176,
-0.030136356130242348,
-0.02477673627436161,
-0.018482280895113945,
-0.04799744486808777,
-0.009359982796013355,
0.01625104248523712,
0.0010548490099608898,
0.013824563473463058,
-0.00634485250338912,
0.016634417697787285,
-0.001328686368651688,
-0.03938726708292961,
-0.005783189088106155,
-0.010754183866083622,
-0.07511483132839203,
-0.04650910571217537,
0.017373787239193916,
-0.004418503027409315,
0.01279456540942192,
0.02967754751443863,
0.029520858079195023,
0.009453481063246727,
-0.002554115140810609,
-0.015829214826226234,
0.015267474576830864,
0.0051483516581356525,
-0.05088662728667259,
-0.028070449829101562,
0.03099895641207695,
-0.009744532406330109,
0.029672428965568542,
-0.03942343220114708,
0.04945749044418335,
0.006492170970886946,
-0.03978978842496872,
-0.03691151738166809,
0.043527573347091675,
0.040961530059576035,
-0.10438494384288788,
-0.0745803490281105,
-0.02775665931403637,
-0.020182793959975243,
0.0389614962041378,
-0.032102931290864944,
-0.0012806226732209325,
0.06211518123745918,
0.03057544305920601,
0.03225667402148247,
0.0061768414452672005,
-0.04234115406870842,
0.04571620002388954,
-0.015717092901468277,
0.04635578393936157,
-0.025922756642103195,
0.023364612832665443,
-0.036637384444475174,
-0.003205841640010476,
-0.005460676737129688,
-0.012477842159569263,
-0.06451451778411865,
0.060083597898483276,
-0.013823317363858223,
-0.013334827497601509,
-0.006235212553292513,
-0.01589951664209366,
-0.027303194627165794,
0.01323203556239605,
-0.021904965862631798,
-0.0033954556565731764,
-0.036471784114837646,
0.04711815342307091,
-0.052889853715896606,
-0.0060871965251863,
-0.02207993157207966,
0.020244672894477844,
-0.034013599157333374,
-0.007743543479591608,
0.02653122879564762,
-0.05524871498346329,
0.04359547421336174,
0.0011559115955606103,
0.03219396993517876,
0.025860551744699478,
-0.03242117539048195,
-0.01906125620007515,
0.03014247678220272,
-0.05710754543542862,
-0.024099834263324738,
0.003934949170798063,
0.04024671018123627,
-0.005860080476850271,
0.0296735018491745,
0.045572008937597275,
-0.06968262791633606,
-0.07400812953710556,
0.02598215453326702,
0.018331041559576988,
-0.0011506679002195597,
0.007722462061792612,
0.007193750701844692,
0.018741657957434654,
0.03744121640920639,
-0.014977474696934223,
-0.025887617841362953,
-0.0277028139680624,
-0.014400730840861797,
0.006552075035870075,
0.004223358817398548,
0.012810411863029003,
0.020820440724492073,
-0.04279814288020134,
-0.06021115928888321,
0.04450339451432228,
0.01781694032251835,
0.023860463872551918,
-0.009549428708851337,
-0.06943681836128235,
0.012205753475427628,
0.01170027069747448,
-0.03491876274347305,
0.0038826805539429188,
0.020451001822948456,
-0.02441098727285862,
0.06706838309764862,
-0.0016085811657831073,
-0.0027366047725081444,
0.03812455013394356,
0.006676001008599997,
-0.02521122619509697,
0.05648353695869446,
-0.015248509123921394,
-0.022782301530241966,
0.05192587152123451,
-0.03922918438911438,
0.0030316396150738,
-0.04103344306349754,
0.08395812660455704,
-0.05287325754761696,
0.0647994875907898,
0.052305445075035095,
-0.015065981075167656,
0.03237636014819145,
-0.07100561261177063,
-0.022225890308618546,
0.008970187976956367,
-0.03321491554379463,
0.05533510074019432,
-0.004879011306911707,
-0.05940546095371246,
0.0525042824447155,
0.012480142526328564,
-0.04738060384988785,
0.01674162968993187,
0.04991137236356735,
0.021600212901830673,
0.010714493691921234,
0.017622608691453934,
-0.057886768132448196,
-0.028128407895565033,
-0.052446067333221436,
-0.0026358605828136206,
-0.06766291707754135,
-0.02209842950105667,
0.001542876590974629,
-0.009629935957491398,
0.017996227368712425,
0.02396426536142826,
-0.03563247248530388,
-0.02022887021303177,
0.022469667717814445,
-0.047691792249679565,
-0.05314353480935097,
0.0016169286100193858,
-0.005898799281567335,
-0.045846935361623764,
-0.022496655583381653,
-0.046602554619312286,
-0.003478048602119088,
0.009861926548182964,
-0.0019198969239369035,
-0.00750476960092783,
-0.01521762553602457,
0.027463672682642937,
-0.06292805820703506,
-0.049199994653463364,
0.0707157701253891,
0.0008031653705984354,
-0.03077532723546028,
0.01883094571530819,
-0.006640417966991663,
-0.010662783868610859,
0.01763153448700905,
0.009193090721964836,
0.0262728501111269,
-0.03511885553598404,
-0.032642148435115814,
0.002121635712683201,
0.01655317284166813,
0.02155882865190506,
-0.01238626055419445,
0.011196989566087723,
0.03821896016597748,
0.045737095177173615,
0.002238177228718996,
-0.05144088715314865,
-0.05424204096198082,
0.030345946550369263,
-0.057668328285217285,
0.004119948949664831,
-0.022378358989953995,
-0.05983622372150421,
-0.039562344551086426,
-0.009639417752623558,
-0.009883754886686802,
0.04308068007230759,
-0.034543175250291824,
0.02505563572049141,
0.029567327350378036,
-0.012718761339783669,
-0.05336201936006546,
-0.07715415954589844,
-0.035142671316862106,
-0.030891168862581253,
0.03601466864347458,
0.021543946117162704,
-0.017710525542497635,
0.03150835260748863,
-0.03903159871697426,
-0.03835252672433853,
0.027556143701076508,
0.003829514840617776,
-0.07077046483755112,
0.05567500740289688,
0.054197024554014206,
-0.046961020678281784,
0.0007254093652591109,
0.029226860031485558,
-0.03770289197564125,
-0.005429042503237724,
0.03663698956370354,
0.011143487878143787,
0.03089529275894165,
0.04568358138203621,
-0.03091077320277691,
-0.02775781974196434,
-0.059799183160066605,
-0.027873307466506958,
-0.06408318132162094,
0.019327986985445023,
0.06929665803909302
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa-half | [
"pytorch",
"tf",
"jax",
"bert",
"fill-mask",
"ar",
"arxiv:2103.06678",
"transformers",
"license:apache-2.0",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 16 | null | ---
language: de
license: mit
thumbnail: https://static.tildacdn.com/tild6438-3730-4164-b266-613634323466/german_bert.png
tags:
- exbert
---
<a href="https://huggingface.co/exbert/?model=bert-base-german-cased">
\t<img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png">
</a>
# German BERT with old vocabulary
For details see the related [FARM issue](https://github.com/deepset-ai/FARM/issues/60).
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.009378492832183838,
0.00717865489423275,
-0.012221163138747215,
0.048402294516563416,
0.04073154181241989,
0.03554829582571983,
-0.011760805733501911,
-0.02137327380478382,
-0.006967644672840834,
0.052336715161800385,
-0.014125628396868706,
-0.014220074750483036,
0.0065092365257442,
0.023892682045698166,
-0.022944103926420212,
-0.021815001964569092,
0.002969277324154973,
-0.007366379257291555,
-0.07107000052928925,
-0.007162182591855526,
-0.002650265581905842,
0.009341700933873653,
-0.010815197601914406,
-0.00016122544184327126,
0.015128113329410553,
0.02440786361694336,
-0.021598443388938904,
0.043205391615629196,
0.007873778231441975,
-0.06553991883993149,
-0.0018944458570331335,
-0.027750255540013313,
-0.03411740064620972,
-0.018413150683045387,
-0.010119725950062275,
0.00518336845561862,
0.027908409014344215,
0.017076490446925163,
0.026711471378803253,
0.029128151014447212,
0.014795992523431778,
0.001757470890879631,
0.01914873719215393,
-0.038502391427755356,
0.04272043704986572,
0.005168471951037645,
-0.03849116340279579,
-0.023855244740843773,
0.037262920290231705,
-0.03871070593595505,
-0.06130177900195122,
-0.06869238615036011,
-0.024524927139282227,
0.013870187103748322,
-0.005172385834157467,
-0.003229044610634446,
-0.07748708873987198,
-0.019286824390292168,
0.0741715133190155,
-0.06378209590911865,
-0.03491978347301483,
0.012574944645166397,
-0.06502581387758255,
-0.006223947741091251,
0.04921714588999748,
-0.07301293313503265,
0.004980441182851791,
-0.022910794243216515,
0.024668656289577484,
0.0006409799098037183,
0.02831641398370266,
-0.02751493640244007,
0.03040280193090439,
-0.056747209280729294,
0.011717477813363075,
-0.00957427080720663,
0.04462055116891861,
0.04840193688869476,
-0.04900044947862625,
0.05113740637898445,
0.008561358787119389,
0.002082324353978038,
0.029073212295770645,
-0.03392532840371132,
-0.0010918399784713984,
0.02055381052196026,
-0.02752932719886303,
0.008703269064426422,
0.04245678707957268,
0.019123055040836334,
-0.033188167959451675,
-0.03329911082983017,
-0.00895124301314354,
-0.028940998017787933,
-0.004242601338773966,
0.02502863109111786,
0.039570823311805725,
0.0017339590704068542,
0.025620676577091217,
0.034616269171237946,
0.017920274287462234,
0.06298614293336868,
-0.020816247910261154,
0.0502360463142395,
-0.007307351566851139,
-0.014619891531765461,
0.001495044562034309,
-0.0167116429656744,
-0.0597420297563076,
0.03464832529425621,
0.028239212930202484,
-0.02584347128868103,
-0.033710431307554245,
0.03953897953033447,
-0.011286633089184761,
0.00017148800543509424,
0.05418744310736656,
-0.014823142439126968,
-0.03906167298555374,
-0.07394152134656906,
0.04727470502257347,
-0.0007875590235926211,
0.004998197313398123,
0.01838216558098793,
-0.058740220963954926,
-0.005752164404839277,
-0.034891217947006226,
-0.03666829690337181,
-0.011770005337893963,
0.0008896843646652997,
-0.011807355098426342,
0.06026891991496086,
0.018224401399493217,
-0.0691840648651123,
0.019763752818107605,
0.0026715858839452267,
-0.06330110877752304,
0.030860118567943573,
0.028216537088155746,
0.11143648624420166,
-0.04892144724726677,
-0.040856603533029556,
0.02835826203227043,
0.01606833003461361,
-0.03313662111759186,
0.0022446680814027786,
0.007971269078552723,
-0.025540011003613472,
-0.014213944785296917,
0.002549694152548909,
0.048992983996868134,
-0.05823535472154617,
-0.006519330199807882,
0.04934680461883545,
-0.010759038850665092,
0.07267046719789505,
-0.021586736664175987,
-0.007995747029781342,
-0.01836516708135605,
-0.019160667434334755,
-0.03216378390789032,
0.03838003799319267,
-0.029914040118455887,
-0.02670825645327568,
-0.042775046080350876,
-0.03308454155921936,
0.02794657088816166,
0.07527008652687073,
0.00377480941824615,
0.00038703292375430465,
-0.05255039781332016,
0.027117006480693817,
0.03435691446065903,
0.0239042229950428,
-0.0371222198009491,
0.022902624681591988,
0.054545462131500244,
0.03063545562326908,
0.005286392755806446,
0.053638286888599396,
0.010333944112062454,
-0.020726127550005913,
-0.02438221499323845,
0.050838593393564224,
0.014636462554335594,
-0.036269139498472214,
0.012863091193139553,
0.04134436324238777,
0.006678945384919643,
-0.046122774481773376,
-0.019388120621442795,
0.05621486157178879,
-0.017765790224075317,
0.01589958555996418,
0.02565656416118145,
0.014038332737982273,
0.0001858140603872016,
0.05764774605631828,
-0.020152287557721138,
0.011669689789414406,
-0.040578801184892654,
-0.008672518655657768,
0.012368181720376015,
0.003499828977510333,
0.04620615392923355,
0.06977192312479019,
0.0060470737516880035,
0.09376006573438644,
-0.044174257665872574,
-0.011365336365997791,
-0.0784328356385231,
-0.05971468985080719,
-0.002446813276037574,
0.04356907308101654,
0.05689026042819023,
0.03684958443045616,
-0.03780211880803108,
-0.043509211391210556,
0.04526970908045769,
0.048581816256046295,
0.04901547729969025,
0.008098876103758812,
-0.008221384137868881,
0.009256282821297646,
0.028242696076631546,
0.03270499408245087,
-0.048261575400829315,
-0.052700143307447433,
-0.01077949721366167,
0.037372417747974396,
-0.03822152316570282,
0.0191658902913332,
-0.028363728895783424,
0.010955898091197014,
-0.03757558763027191,
-0.04093341901898384,
0.05166758969426155,
0.02617630362510681,
-0.0006441303412429988,
0.043768275529146194,
-0.002665635896846652,
0.027790440246462822,
0.019826248288154602,
0.028362972661852837,
0.029428580775856972,
-0.04261523485183716,
-0.008630185388028622,
0.034391552209854126,
0.06769164651632309,
-0.04531659558415413,
0.04290783777832985,
0.01849435828626156,
0.0343312993645668,
0.0367421917617321,
-0.015073452144861221,
0.03562105819582939,
0.04100887477397919,
-0.0029282174073159695,
-0.020095938816666603,
0.032314494252204895,
0.005337267182767391,
0.03358152136206627,
0.06419456750154495,
-0.004395840689539909,
0.05479487031698227,
0.023001864552497864,
0.02837129682302475,
0.075936459004879,
0.03137417882680893,
0.013223246671259403,
0.034718628972768784,
0.07357276976108551,
0.010668227449059486,
-0.017173567786812782,
0.050182539969682693,
-0.03786379098892212,
0.02235976792871952,
-0.03856008127331734,
0.015076620504260063,
-0.007530711125582457,
0.0031800311990082264,
0.029442090541124344,
0.013607124797999859,
-0.02984226867556572,
-0.0020758018363267183,
0.0044598691165447235,
0.005536593031138182,
0.05016769468784332,
0.0013648034073412418,
0.021965976804494858,
-0.018379386514425278,
-0.025235740467905998,
0.022265920415520668,
-0.0811382457613945,
-0.039700981229543686,
-0.006129848770797253,
-0.03731340914964676,
0.017340462654829025,
-0.09144274890422821,
-0.033752910792827606,
-0.07322899997234344,
-0.015403895638883114,
0.044893912971019745,
0.03215891122817993,
-0.002322401851415634,
-0.0271283145993948,
0.027979087084531784,
-0.053890250623226166,
-0.0392901673913002,
-0.06738296896219254,
-0.04337772727012634,
-0.05246526002883911,
-0.05319060757756233,
0.044024113565683365,
0.015925003215670586,
0.03831719607114792,
0.0045858342200517654,
0.003129843855276704,
-0.03079855814576149,
-0.020250821486115456,
0.06347981840372086,
0.05471018701791763,
-0.030307713896036148,
-0.03203567862510681,
0.007966449484229088,
-0.02333027683198452,
0.020324964076280594,
-0.008033227175474167,
-0.03809279948472977,
0.0780947357416153,
0.08068056404590607,
0.0069283610209822655,
0.019872166216373444,
-0.023188510909676552,
-0.022916508838534355,
-0.04999414458870888,
-0.014756361022591591,
-0.050619807094335556,
-0.002460367977619171,
-0.032084498554468155,
-0.03991638496518135,
-0.025287164375185966,
-0.021831488236784935,
-0.0014209778746590018,
-0.011996147222816944,
0.0099482461810112,
0.016144797205924988,
0.02487710490822792,
0.017426395788788795,
0.042858727276325226,
-0.025170953944325447,
-0.0026612612418830395,
0.08819978684186935,
0.017269261181354523,
0.01338342297822237,
-0.08634243160486221,
-0.029767021536827087,
0.03466686233878136,
0.03799579665064812,
0.0003750154282897711,
-0.030547847971320152,
0.07540861517190933,
0.0004127956344746053,
0.008366557769477367,
-0.004166003316640854,
-0.008423220366239548,
-0.055203698575496674,
-0.006439304444938898,
-0.003631184110417962,
-0.028638647869229317,
-0.04986898601055145,
-0.029473770409822464,
0.009535892866551876,
0.028068138286471367,
-0.055668722838163376,
-0.06923431158065796,
-0.013927455991506577,
0.04241413250565529,
0.02998516708612442,
-0.02031385526061058,
-0.03355546295642853,
-0.012516209855675697,
-0.04655415192246437,
-0.04855974763631821,
-0.019314119592308998,
0.008944413624703884,
0.01435302197933197,
0.03151019290089607,
0.013364406302571297,
-0.04670906066894531,
0.02402009442448616,
0.021525440737605095,
0.04648742824792862,
0.009126054123044014,
-0.05679962784051895,
0.044555045664310455,
-0.02884625270962715,
-0.014532728120684624,
-0.009975236840546131,
-0.023336876183748245,
-0.05349504202604294,
-0.07756747305393219,
0.023184945806860924,
0.008686413057148457,
-0.0012820294359698892,
-0.015770552679896355,
0.06147194281220436,
-0.014501214027404785,
0.017285851761698723,
-0.0070763942785561085,
0.010463503189384937,
0.024412456899881363,
-0.021661121398210526,
0.05889790877699852,
-0.016338113695383072,
0.03982509300112724,
-0.05832096189260483,
0.03930019214749336,
-0.035122569650411606,
-0.016702674329280853,
0.0018006698228418827,
0.055951859802007675,
0.019029242917895317,
0.052062779664993286,
0.06219438090920448,
0.04477638006210327,
-0.03281762823462486,
0.04289309307932854,
0.0399315282702446,
-0.01309193205088377,
-0.04106494411826134,
-0.013630922883749008,
-0.012699058279395103,
-0.03101607784628868,
0.0006088369991630316,
-0.029597900807857513,
0.01951330527663231,
0.031224437057971954,
-0.009032722562551498,
-0.02935212105512619,
0.022473091259598732,
-0.009295064955949783,
-0.045301638543605804,
-0.04629432410001755,
-0.026684772223234177,
0.023007694631814957,
-0.01933755911886692,
0.05359378084540367,
0.048939287662506104,
0.0037546337116509676,
0.06377947330474854,
0.04481634125113487,
-0.01672864519059658,
-0.015069019980728626,
0.03244687616825104,
0.04166271910071373,
-0.0533999428153038,
-0.05596332997083664,
-0.042390741407871246,
0.04513092711567879,
0.0689525231719017,
0.016593167558312416,
-0.08298078179359436,
-0.006449369713664055,
0.06672034412622452,
-0.04817606136202812,
0.0619918555021286,
-0.015044323168694973,
0.06481930613517761,
0.05568166822195053,
-0.003834449453279376,
0.007929710671305656,
-0.016259372234344482,
0.011059579439461231,
-0.034081339836120605,
0.013165511190891266,
-0.049736037850379944,
-0.054936766624450684,
-0.041257623583078384,
0.019258851185441017,
0.01966792717576027,
0.02932015247642994,
0.03766103461384773,
-0.04131191596388817,
-0.040436454117298126,
0.025510000064969063,
0.02442743070423603,
-0.05019557848572731,
0.017834851518273354,
0.045757755637168884,
0.04552505537867546,
-0.04752582684159279,
-0.024554487317800522,
-0.02586079202592373,
-0.00974183063954115,
0.04272952675819397,
0.007258413825184107,
-0.03999358043074608,
-0.0708499625325203,
0.023714803159236908,
-0.05092069134116173,
-0.03567126393318176,
-0.06864025443792343,
0.03526358678936958,
-0.03954510763287544,
-0.02395264431834221,
0.04172094538807869,
0.016047611832618713,
0.03143927454948425,
0.05782199651002884,
-0.018169429153203964,
0.012391469441354275,
-0.04387420043349266,
0.0468980111181736,
-0.00776330241933465,
-0.022777996957302094,
0.0033255377784371376,
-0.03324135020375252,
-0.0033500283025205135,
-0.029442813247442245,
-0.056931205093860626,
-0.057969097048044205,
-0.006508287973701954,
0.02147086150944233,
0.021807627752423286,
0.002550161210820079,
-0.032526809722185135,
0.03353549912571907,
-0.01863398216664791,
-0.029670488089323044,
-0.01535721030086279,
-0.02741403505206108,
-0.07103195041418076,
-0.053941357880830765,
0.007432463113218546,
0.019466297701001167,
0.02920614741742611,
0.0047040353529155254,
0.0261261984705925,
-0.003689666511490941,
0.01131326612085104,
-0.02721990831196308,
0.02668352983891964,
-0.009331400506198406,
-0.03312467038631439,
-0.02869153581559658,
0.01942271552979946,
0.023734288290143013,
0.046977780759334564,
-0.025612233206629753,
0.038070715963840485,
0.016737347468733788,
-0.022584544494748116,
-0.013911304995417595,
0.028866402804851532,
0.04039795696735382,
-0.0904228612780571,
-0.060014016926288605,
-0.036573078483343124,
-0.04915490746498108,
0.029428264126181602,
-0.02470095083117485,
-0.043652430176734924,
0.02953341044485569,
0.025628354400396347,
0.040900688618421555,
-0.03234842047095299,
-0.03969701752066612,
0.024919817224144936,
-0.0017796361353248358,
0.029315633699297905,
-0.04319104179739952,
0.04469915106892586,
-0.0258776992559433,
0.005822882987558842,
-0.006387084722518921,
-0.015512148849666119,
-0.06939277052879333,
0.022808462381362915,
-0.017831457778811455,
-0.01845376379787922,
-0.0037031599786132574,
0.015724508091807365,
-0.0257107000797987,
0.03353447839617729,
-0.027752896770834923,
0.03301464021205902,
-0.020740622654557228,
0.030155010521411896,
-0.0474630631506443,
-0.017987627536058426,
0.0012840231647714972,
0.01729181595146656,
-0.03169292211532593,
-0.012115200981497765,
-0.008380505256354809,
-0.04466576501727104,
0.015194668434560299,
0.035591572523117065,
0.04319950193166733,
0.028831511735916138,
-0.016738006845116615,
0.00834825448691845,
0.033992670476436615,
-0.0328289233148098,
-0.005477121565490961,
-0.00200613378547132,
0.009481007233262062,
-0.022964319214224815,
0.04127351939678192,
0.01160363294184208,
-0.06505811959505081,
-0.05415727570652962,
0.05557626113295555,
-0.004675932694226503,
0.020999932661652565,
-0.002916433848440647,
0.014515722170472145,
0.02576545439660549,
0.0342545285820961,
-0.052359264343976974,
-0.0006492179236374795,
-0.00003370469858055003,
-0.008880456909537315,
0.013490209355950356,
-0.004971817135810852,
0.029835563153028488,
0.007615366019308567,
-0.01357229333370924,
-0.0271745678037405,
0.07042858749628067,
0.006279218941926956,
-0.005764261353760958,
-0.0006808885373175144,
-0.03542697802186012,
0.04250890389084816,
0.0068809837102890015,
-0.062025610357522964,
-0.016170354560017586,
0.0016025103395804763,
-0.03943072631955147,
0.0670706257224083,
0.006404579617083073,
0.029424134641885757,
0.05093592777848244,
-0.0003448794304858893,
-0.019215967506170273,
0.06326793134212494,
-0.021121053025126457,
-0.00009754242637427524,
0.04102553054690361,
-0.059037696570158005,
-0.008130582980811596,
-0.053514737635850906,
0.07297683507204056,
-0.07962607592344284,
0.051001664251089096,
0.04118286073207855,
0.027557196095585823,
0.03492210805416107,
-0.01761394925415516,
-0.027643734589219093,
0.023867590352892876,
-0.03630973771214485,
0.06708359718322754,
0.031344059854745865,
-0.03971137851476669,
0.0493672713637352,
0.017415303736925125,
-0.0705576241016388,
0.04639075696468353,
0.04586911201477051,
0.027920395135879517,
0.02681385725736618,
0.03577157482504845,
-0.047016412019729614,
0.017161758616566658,
-0.04509380832314491,
0.03073483519256115,
-0.07834930717945099,
-0.007216998841613531,
0.01798727922141552,
-0.04991976544260979,
-0.016849495470523834,
0.03612968698143959,
-0.009424809366464615,
0.015164758078753948,
0.029249027371406555,
-0.07162899523973465,
-0.0373043455183506,
0.022429849952459335,
0.013149987906217575,
-0.06569714844226837,
0.013928186148405075,
-0.03501880168914795,
0.01811571791768074,
0.03305218368768692,
0.021649470552802086,
-0.02798212133347988,
-0.009760973043739796,
0.044604215770959854,
-0.0504830963909626,
-0.04355704411864281,
0.05381001532077789,
-0.0021317624486982822,
-0.03854750096797943,
0.017150182276964188,
-0.028042834252119064,
-0.0017074965871870518,
0.019869916141033173,
0.0023236717097461224,
0.005933968350291252,
-0.03168977424502373,
-0.01766396313905716,
-0.006828101351857185,
0.015255337581038475,
-0.006850144825875759,
-0.008506331592798233,
0.025454089045524597,
0.027138926088809967,
0.038015685975551605,
-0.01176951453089714,
-0.043071575462818146,
-0.03089713864028454,
0.03658043220639229,
-0.016554662957787514,
0.00879258755594492,
-0.016280485317111015,
-0.08703605085611343,
-0.031333234161138535,
-0.009103856049478054,
-0.012451122514903545,
0.04598051309585571,
-0.04694269970059395,
0.016952764242887497,
0.05081981047987938,
-0.010288850404322147,
-0.04965151473879814,
-0.09319069236516953,
-0.009644835256040096,
-0.0538986474275589,
0.018112488090991974,
0.030123747885227203,
-0.044809695333242416,
0.009125644341111183,
-0.021181656047701836,
-0.032932039350271225,
0.024691957980394363,
0.03280674293637276,
-0.07091440260410309,
0.05479663237929344,
0.032414983958005905,
-0.03584586828947067,
0.014037073589861393,
0.038040414452552795,
-0.03705933690071106,
0.044096704572439194,
0.017830343917012215,
0.0028363256715238094,
0.040924206376075745,
0.037804920226335526,
-0.025432003661990166,
-0.03900435194373131,
-0.06252523511648178,
-0.040483128279447556,
-0.02725829929113388,
0.03177149221301079,
0.07028482109308243
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa-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
}
}
} | 25 | null | ---
language: en
license: cc-by-4.0
datasets:
- squad_v2
model-index:
- name: deepset/bert-base-uncased-squad2
results:
- task:
type: question-answering
name: Question Answering
dataset:
name: squad_v2
type: squad_v2
config: squad_v2
split: validation
metrics:
- type: exact_match
value: 75.6529
name: Exact Match
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTY2YmQ0ZDFjMjRlZWRiZWQ2YWQ4MTM0ODkyYTQ0NmYwMzBlNWViZWQ0ODFhMGJmMmY4ZGYwOTQyMDAyZGNjYyIsInZlcnNpb24iOjF9.UyqonQTsCB0BW86LfPy17kLt3a4r3wMeh04MDam5t_UhElp6N02YpiKOqcb1ethNHjAR0WGyxrcV3TI4d-wFAQ
- type: f1
value: 78.6191
name: F1
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZWRkZWVjMDU2YTcxYWVkZTU1YmUzY2FkNWI5NDJkM2YwMjFmMmE0Njc3MjI5N2Q0NDdhZDNkZWNjMWE5YTRmZiIsInZlcnNpb24iOjF9.ol0Zacd9ZryXazXjgVssGFYG4s5FzbhGGaj1ZEDLVN2ziyzx23bo4GH9PSuGTFxRK2BO5_dxvDupLRqJOF59Bg
---
# bert-base-uncased for QA
## Overview
**Language model:** bert-base-uncased
**Language:** English
**Downstream-task:** Extractive QA
**Training data:** SQuAD 2.0
**Eval data:** SQuAD 2.0
**Infrastructure**: 1x Tesla v100
## Hyperparameters
```
batch_size = 32
n_epochs = 3
base_LM_model = "bert-base-uncased"
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
warmup_proportion = 0.2
doc_stride=128
max_query_length=64
```
## Performance
```
"exact": 73.67977764676156
"f1": 77.87647139308865
```
## Authors
- Timo MΓΆller: `timo.moeller [at] deepset.ai`
- Julian Risch: `julian.risch [at] deepset.ai`
- Malte Pietsch: `malte.pietsch [at] deepset.ai`
- Michel Bartels: `michel.bartels [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs) | [
0.0006738376687280834,
-0.04244571924209595,
-0.027112510055303574,
0.0424528643488884,
0.059528056532144547,
0.010025592520833015,
-0.03843935206532478,
0.006109246518462896,
-0.029431356117129326,
0.026128193363547325,
0.0223305132240057,
-0.004318294581025839,
0.016092246398329735,
0.04025733843445778,
-0.03400030732154846,
-0.04448332265019417,
0.009561007842421532,
-0.0062403264455497265,
-0.0694473534822464,
-0.027290022000670433,
0.005828481633216143,
0.03116769529879093,
0.013423758558928967,
0.028786662966012955,
0.013054278679192066,
0.01715906709432602,
-0.012082147412002087,
0.03959556668996811,
0.03436977043747902,
-0.06787331402301788,
0.011670238338410854,
-0.007284346502274275,
-0.040602076798677444,
-0.055523548275232315,
0.00017869245493784547,
-0.025330904871225357,
0.008379156701266766,
-0.004885562229901552,
0.038529831916093826,
0.04513811320066452,
-0.023149630054831505,
0.007540468592196703,
-0.021111642941832542,
-0.031360797584056854,
0.061814017593860626,
0.007282290142029524,
-0.01626994088292122,
-0.022260632365942,
0.02380356378853321,
-0.02192307449877262,
-0.07573950290679932,
-0.07386570423841476,
-0.028305120766162872,
0.025301381945610046,
0.00887615792453289,
-0.02307465486228466,
-0.03968767821788788,
0.006436646915972233,
0.05823007598519325,
-0.07544475048780441,
-0.02441825345158577,
0.017421279102563858,
-0.0658470094203949,
-0.011640636250376701,
0.022488972172141075,
-0.041471466422080994,
0.014856341294944286,
-0.043036848306655884,
0.03307191655039787,
-0.023634115234017372,
0.09073060005903244,
-0.032364558428525925,
0.027431296184659004,
-0.06046930328011513,
0.0002724892401602119,
-0.0015996353467926383,
0.008553694002330303,
0.02481936290860176,
-0.01026858575642109,
0.07345382124185562,
0.0177839957177639,
-0.0058919102884829044,
0.0098460977897048,
-0.041425637900829315,
-0.005382888950407505,
0.020867159590125084,
-0.02761702984571457,
0.026308123022317886,
-0.023693259805440903,
0.03705316781997681,
-0.031766075640916824,
-0.02105129323899746,
-0.02537756972014904,
-0.01403520442545414,
0.0027560924645513296,
0.02290363609790802,
0.027716437354683876,
0.0017320080660283566,
-0.012630163691937923,
0.020845478400588036,
0.02333615906536579,
0.06573961675167084,
-0.014084442518651485,
0.07075883448123932,
-0.006208331789821386,
0.011053844355046749,
0.009195150807499886,
-0.017806123942136765,
-0.036854036152362823,
0.004808302037417889,
0.04433862492442131,
-0.02176985889673233,
-0.010736259631812572,
0.02058413438498974,
0.03828756883740425,
0.007816792465746403,
0.06102842465043068,
-0.02685660682618618,
-0.04299058020114899,
-0.04905250295996666,
0.033009354025125504,
0.007442348636686802,
-0.021287992596626282,
0.022653186693787575,
-0.0363587848842144,
-0.01902131177484989,
-0.03937315195798874,
-0.02926786243915558,
0.008120722137391567,
0.020966816693544388,
0.0009882968151941895,
0.05619334802031517,
0.0216827429831028,
-0.10421941429376602,
0.013352304697036743,
0.0004586710419971496,
-0.04259096086025238,
0.02840161882340908,
0.0001664249284658581,
0.09306827932596207,
-0.05739004909992218,
-0.05227556452155113,
0.03926795348525047,
0.022868506610393524,
-0.008714844472706318,
-0.005033694673329592,
-0.0006376732490025461,
-0.021444963291287422,
-0.038350898772478104,
0.010173025541007519,
0.06456749886274338,
-0.042020708322525024,
0.014536715112626553,
0.03867238014936447,
-0.006532978266477585,
0.01583169214427471,
-0.05303528904914856,
0.0079270601272583,
0.01765856333076954,
-0.0033714415039867163,
-0.025849580764770508,
0.0471503809094429,
-0.02013135701417923,
-0.03442036360502243,
-0.0254429429769516,
-0.02932051755487919,
-0.013453938998281956,
0.09704943746328354,
0.014598679728806019,
-0.028113028034567833,
-0.02829517051577568,
0.012992057017982006,
0.028639528900384903,
0.02980310469865799,
-0.014528382569551468,
0.017284931614995003,
0.050382573157548904,
0.027017727494239807,
-0.009005147032439709,
0.03315553814172745,
0.02158384770154953,
-0.03233721852302551,
-0.0248631052672863,
0.02591770701110363,
-0.0008058366365730762,
-0.01671125553548336,
0.049457304179668427,
0.04280517250299454,
0.009018362499773502,
-0.04486272111535072,
-0.02538568526506424,
0.06394147127866745,
-0.020182732492685318,
-0.016913950443267822,
0.003950268495827913,
0.018262788653373718,
-0.03158741444349289,
0.05331007391214371,
-0.005827181972563267,
-0.009053638204932213,
-0.032969728112220764,
-0.01405144203454256,
0.04266158118844032,
0.02072257548570633,
0.0061896368861198425,
0.0564659908413887,
0.00013448481331579387,
0.09883815795183182,
-0.031835541129112244,
0.017986733466386795,
-0.03477875888347626,
-0.03699231520295143,
0.004929824266582727,
0.055734921246767044,
0.0748901292681694,
0.05648059770464897,
-0.0014870178420096636,
-0.009540452621877193,
0.045297760516405106,
0.05946731194853783,
0.06396906822919846,
-0.0029577412642538548,
-0.016721924766898155,
-0.01023242250084877,
0.045207809656858444,
0.06805485486984253,
-0.04121404513716698,
-0.020680049434304237,
0.0036363534163683653,
0.0102565698325634,
-0.005946748424321413,
-0.00010998844663845375,
-0.02576107531785965,
0.03586750850081444,
-0.06346217542886734,
-0.05932213366031647,
0.05256885290145874,
0.002195986919105053,
-0.0108091551810503,
0.022832097485661507,
-0.012910271063446999,
-0.0021159446332603693,
0.020823504775762558,
0.020072944462299347,
0.015895189717411995,
-0.02378644235432148,
0.019896680489182472,
-0.0043038660660386086,
0.07922831922769547,
-0.04629256948828697,
0.03307534009218216,
-0.011253240518271923,
0.05032806470990181,
0.034603189677000046,
-0.06178371235728264,
0.03657005354762077,
0.046713780611753464,
-0.00025954260490834713,
-0.011321206577122211,
0.015955626964569092,
0.020114099606871605,
-0.007267272565513849,
0.07418079674243927,
0.009936421178281307,
0.049571406096220016,
0.008131403475999832,
0.03728662431240082,
0.06617421656847,
0.012799103744328022,
0.026881573721766472,
-0.0025686922017484903,
0.06810255348682404,
0.0009590727277100086,
-0.0020833169110119343,
0.046247851103544235,
-0.02341216802597046,
0.002862724009901285,
-0.03435200825333595,
-0.007770112715661526,
0.007513563614338636,
0.0012926602503284812,
0.0471138134598732,
0.005995637737214565,
-0.037541214376688004,
-0.0017698440933600068,
0.027668623253703117,
0.004717924166470766,
0.026267558336257935,
-0.032476019114255905,
0.010744413360953331,
0.007411368656903505,
-0.021264614537358284,
0.006832298822700977,
-0.07897040247917175,
-0.03766953945159912,
-0.02976219728589058,
-0.03306959941983223,
0.014700676314532757,
-0.06543537229299545,
-0.009219239465892315,
-0.06540331244468689,
-0.029850276187062263,
0.04623184725642204,
-0.001304247067309916,
-0.020458249375224113,
0.0006104357889853418,
0.024897394701838493,
-0.04076993092894554,
-0.03127622231841087,
-0.016937781125307083,
-0.028866667300462723,
-0.0401853583753109,
-0.06605637818574905,
0.03699975833296776,
0.029627250507473946,
0.026964247226715088,
-0.002435466507449746,
0.010150313377380371,
-0.029509643092751503,
-0.022716213017702103,
0.01884707622230053,
0.06605089455842972,
-0.02856351062655449,
-0.04974864423274994,
0.025909604504704475,
-0.00919471587985754,
0.027103247120976448,
0.019768018275499344,
-0.028815826401114464,
0.08391199260950089,
0.07481236010789871,
0.023647399619221687,
0.004819161724299192,
-0.022320199757814407,
-0.03609941527247429,
-0.030994469299912453,
-0.017530448734760284,
-0.04270147159695625,
-0.0304148830473423,
-0.055556464940309525,
-0.03642283007502556,
-0.03066720999777317,
-0.010338444262742996,
0.012340709567070007,
-0.011032196693122387,
0.008526238612830639,
0.04348228499293327,
0.04856099933385849,
0.012773285619914532,
0.025980208069086075,
-0.04557101055979729,
-0.018220316618680954,
0.046443987637758255,
0.0026251673698425293,
0.01631375215947628,
-0.08058489114046097,
-0.030459128320217133,
0.028309045359492302,
-0.00031716289231553674,
0.009273618459701538,
-0.00744227459654212,
0.07707079499959946,
0.015242022462189198,
-0.008856122381985188,
0.01325024664402008,
-0.009320217184722424,
-0.030299443751573563,
0.002601641695946455,
-0.0034163561649620533,
-0.017192430794239044,
-0.028534606099128723,
-0.027056824415922165,
0.02419162541627884,
0.03827418386936188,
-0.04554356634616852,
-0.05362112820148468,
-0.0058485371991992,
0.04233148694038391,
0.015441374853253365,
-0.0020517499651759863,
-0.032683756202459335,
-0.002555970335379243,
-0.07033752650022507,
-0.03756703808903694,
0.01800297386944294,
0.0026579846162348986,
-0.02569584734737873,
0.04737187176942825,
0.016929615288972855,
-0.023822283372282982,
0.04635876789689064,
0.04409134387969971,
0.07110121846199036,
0.004721919074654579,
-0.05701509490609169,
-0.006571593694388866,
-0.021535776555538177,
0.012950103729963303,
0.022366659715771675,
-0.049774169921875,
-0.04285217076539993,
-0.11118774116039276,
-0.016756517812609673,
0.031179917976260185,
-0.01233365386724472,
-0.04765130952000618,
0.0305623859167099,
-0.0012952507240697742,
0.004312118049710989,
-0.01703701727092266,
0.018605895340442657,
0.02215026132762432,
-0.031576868146657944,
0.04542645439505577,
-0.015108061023056507,
0.04740418493747711,
-0.06313265115022659,
0.006206993013620377,
-0.02461140975356102,
-0.010673302225768566,
0.02544255182147026,
0.0412127785384655,
-0.005528343375772238,
0.04962386563420296,
0.05467282980680466,
0.035410329699516296,
-0.04634757339954376,
0.03434525430202484,
0.038190778344869614,
-0.03391015902161598,
-0.03666127473115921,
-0.012476098723709583,
0.01949605904519558,
-0.016408495604991913,
0.014549908228218555,
-0.020941205322742462,
0.03753900155425072,
0.03324558958411217,
-0.02240012213587761,
-0.0010959523497149348,
0.010284694842994213,
-0.06446930021047592,
-0.0288559440523386,
-0.0004494278982747346,
-0.0322316512465477,
-0.003305290127173066,
-0.01087204273790121,
0.037050604820251465,
0.0616021528840065,
0.010459935292601585,
0.04295288398861885,
0.031827766448259354,
-0.013590273447334766,
-0.050300441682338715,
0.02936708927154541,
0.027983365580439568,
-0.03977181762456894,
-0.07269565016031265,
-0.027992496266961098,
0.06661340594291687,
0.026351861655712128,
0.007620476186275482,
-0.08694203197956085,
0.028603702783584595,
0.06816372275352478,
-0.0386539027094841,
0.05707583203911781,
-0.01098619308322668,
0.06046030670404434,
0.0533454492688179,
-0.03166908770799637,
0.02436668612062931,
-0.023755528032779694,
-0.008939346298575401,
-0.012104658409953117,
0.023509955033659935,
-0.028961889445781708,
-0.046893585473299026,
-0.044633712619543076,
0.035688530653715134,
0.07917147129774094,
0.03880922868847847,
0.01736709289252758,
-0.016627544537186623,
-0.025102585554122925,
0.018232246860861778,
0.038052864372730255,
-0.05159006640315056,
0.0132784154266119,
0.025706470012664795,
0.024027111008763313,
-0.05914999544620514,
-0.04241599887609482,
-0.0260543804615736,
-0.0028775064274668694,
0.03714818134903908,
-0.009754172526299953,
-0.012205969542264938,
-0.060548339039087296,
0.04589485377073288,
-0.0013577085919678211,
-0.0313229039311409,
-0.06483174860477448,
0.04488670825958252,
-0.029751090332865715,
-0.0001901731884572655,
0.05059623718261719,
0.052480172365903854,
0.02897818386554718,
0.07046447694301605,
0.030822308734059334,
-0.017314298078417778,
-0.03340218588709831,
0.03892754390835762,
-0.0185275599360466,
-0.01740993745625019,
-0.02960485778748989,
-0.047168001532554626,
-0.005762896966189146,
-0.007944470271468163,
-0.02935146354138851,
-0.03114684671163559,
-0.027300311252474785,
0.03188019618391991,
0.00840817578136921,
-0.014991728588938713,
-0.03075956180691719,
0.010002470575273037,
-0.02043166011571884,
-0.03336081653833389,
-0.0179891437292099,
0.0007397044682875276,
-0.03328843042254448,
-0.04562956839799881,
0.010980471968650818,
-0.0067760515958070755,
0.03142015263438225,
0.02596917562186718,
0.049306564033031464,
-0.00405633682385087,
0.0003977564338129014,
-0.043455082923173904,
0.0034452914260327816,
-0.010399249382317066,
-0.04326460137963295,
-0.03809623047709465,
0.00985896959900856,
0.00001840580443968065,
0.053322967141866684,
-0.005358586553484201,
0.016484977677464485,
0.02181890420615673,
-0.029349157586693764,
-0.02564081735908985,
0.04135561361908913,
0.04447353631258011,
-0.09751243889331818,
-0.055504027754068375,
-0.008431808091700077,
-0.03095364011824131,
0.038366444408893585,
-0.05252538621425629,
-0.05379493907094002,
0.025737285614013672,
0.01974441111087799,
0.06157837063074112,
0.025943368673324585,
-0.032397955656051636,
0.02609631046652794,
-0.002887873677536845,
-0.005219447426497936,
-0.06618820875883102,
0.030609728768467903,
-0.02344389259815216,
0.018926862627267838,
-0.028108634054660797,
-0.011483350768685341,
-0.037179891020059586,
0.041003189980983734,
-0.03209928050637245,
-0.01808837801218033,
-0.012031374499201775,
0.03387764096260071,
-0.022026369348168373,
0.023969627916812897,
-0.007590075023472309,
0.03438527137041092,
-0.03280973806977272,
0.05543001741170883,
-0.04885822534561157,
0.009327891282737255,
-0.02110123261809349,
0.009109019301831722,
-0.05833606421947479,
0.049527913331985474,
-0.0223124697804451,
-0.04877549037337303,
0.0322040431201458,
0.07293391972780228,
0.01513929758220911,
0.00047156441723927855,
-0.01731661520898342,
-0.008545349352061749,
0.020763514563441277,
-0.0522063672542572,
0.005617966875433922,
-0.008764903992414474,
0.000388157379347831,
-0.0079013891518116,
0.025005707517266273,
0.05290524289011955,
-0.060198016464710236,
-0.041976623237133026,
0.054030247032642365,
-0.000679562974255532,
0.0010768136708065867,
0.001989072887226939,
-0.002783856587484479,
0.054012756794691086,
0.03157776594161987,
-0.03555804491043091,
0.004923245869576931,
-0.026660099625587463,
-0.029485313221812248,
0.0040000793524086475,
-0.01878870651125908,
0.026356136426329613,
0.020900195464491844,
-0.02882508747279644,
-0.03194434195756912,
0.07416931539773941,
0.032842498272657394,
0.010447544045746326,
0.0008041144465096295,
-0.02074875496327877,
0.03778412565588951,
0.008365522138774395,
-0.026624467223882675,
0.020916063338518143,
-0.01019457820802927,
-0.02471010573208332,
0.09145932644605637,
-0.0114203579723835,
0.007819078862667084,
0.03471251204609871,
-0.002638734644278884,
-0.014977782964706421,
0.04938884824514389,
-0.04012732207775116,
0.03904266282916069,
0.06049012765288353,
-0.09469066560268402,
0.042997363954782486,
-0.04688326269388199,
0.03354323282837868,
-0.09540175646543503,
0.04906173050403595,
0.04850418120622635,
0.016883213073015213,
0.014709917828440666,
-0.041669487953186035,
-0.053724803030490875,
0.03184133023023605,
-0.045553382486104965,
0.07059087604284286,
0.0025107937399297953,
-0.058378178626298904,
0.08114355802536011,
0.026128923520445824,
-0.06628245115280151,
0.038741160184144974,
0.04419407248497009,
0.040875233709812164,
0.04865262284874916,
0.04244929179549217,
-0.06381074339151382,
0.031072020530700684,
-0.0302434042096138,
0.06622887402772903,
-0.05506032705307007,
-0.05912669375538826,
0.013013232499361038,
-0.022111650556325912,
0.01124408096075058,
0.01579327881336212,
-0.016106994822621346,
-0.008485029451549053,
0.024574775248765945,
-0.05472041666507721,
-0.04084671661257744,
-0.0013614947674795985,
0.01967429928481579,
-0.025903265923261642,
-0.009701890870928764,
-0.041593894362449646,
0.040686365216970444,
0.011782278306782246,
0.01812952384352684,
-0.02183595299720764,
-0.008978359401226044,
0.01490361150354147,
-0.06918827444314957,
-0.01995043456554413,
0.057105619460344315,
-0.008713792078197002,
-0.02503988891839981,
0.05235659331083298,
0.019106855615973473,
0.028908638283610344,
-0.0021952332463115454,
0.007351668085902929,
0.01145936455577612,
-0.028760084882378578,
-0.0016953859012573957,
0.025517048314213753,
0.0037378226406872272,
0.019626963883638382,
-0.00595247745513916,
0.0358191654086113,
0.028398334980010986,
0.04128628224134445,
0.014434588141739368,
-0.023606084287166595,
0.003870036918669939,
0.059800561517477036,
-0.03563939407467842,
0.01583249121904373,
-0.039974018931388855,
-0.04085072502493858,
-0.03811338543891907,
-0.009632905013859272,
-0.0029179255943745375,
0.031179342418909073,
-0.05566776171326637,
0.01925147883594036,
0.029184533283114433,
-0.03411320224404335,
-0.056327663362026215,
-0.0928134024143219,
-0.0022593471221625805,
-0.04815812408924103,
0.014119691215455532,
0.0363454669713974,
-0.045296963304281235,
0.020983712747693062,
-0.04211172088980675,
-0.06573327630758286,
0.03904636576771736,
0.03001575730741024,
-0.059365034103393555,
0.06049644947052002,
0.057933878153562546,
-0.04869026690721512,
0.021569356322288513,
0.006077053491026163,
-0.018971221521496773,
0.02126801572740078,
-0.004256831482052803,
0.03234117105603218,
0.030482172966003418,
0.050409767776727676,
-0.026124652475118637,
-0.03752508386969566,
-0.04047757387161255,
-0.04280863329768181,
-0.01731209270656109,
0.01521171536296606,
0.06618595123291016
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa-pos-egy | [
"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
}
}
} | 52 | null | ---
language: en
license: cc-by-4.0
datasets:
- squad_v2
model-index:
- name: deepset/bert-large-uncased-whole-word-masking-squad2
results:
- task:
type: question-answering
name: Question Answering
dataset:
name: squad_v2
type: squad_v2
config: squad_v2
split: validation
metrics:
- type: exact_match
value: 80.8846
name: Exact Match
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiY2E5ZGNkY2ExZWViZGEwNWE3OGRmMWM2ZmE4ZDU4ZDQ1OGM3ZWE0NTVmZjFmYmZjZmJmNjJmYTc3NTM3OTk3OSIsInZlcnNpb24iOjF9.aSblF4ywh1fnHHrN6UGL392R5KLaH3FCKQlpiXo_EdQ4XXEAENUCjYm9HWDiFsgfSENL35GkbSyz_GAhnefsAQ
- type: f1
value: 83.8765
name: F1
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNGFlNmEzMTk2NjRkNTI3ZTk3ZTU1NWNlYzIyN2E0ZDFlNDA2ZjYwZWJlNThkMmRmMmE0YzcwYjIyZDM5NmRiMCIsInZlcnNpb24iOjF9.-rc2_Bsp_B26-o12MFYuAU0Ad2Hg9PDx7Preuk27WlhYJDeKeEr32CW8LLANQABR3Mhw2x8uTYkEUrSDMxxLBw
---
# bert-large-uncased-whole-word-masking-squad2
This is a berta-large model, fine-tuned using the SQuAD2.0 dataset for the task of question answering.
## Overview
**Language model:** bert-large
**Language:** English
**Downstream-task:** Extractive QA
**Training data:** SQuAD 2.0
**Eval data:** SQuAD 2.0
**Code:** See [an example QA pipeline on Haystack](https://haystack.deepset.ai/tutorials/first-qa-system)
## Usage
### In Haystack
Haystack is an NLP framework by deepset. You can use this model in a Haystack pipeline to do question answering at scale (over many documents). To load the model in [Haystack](https://github.com/deepset-ai/haystack/):
```python
reader = FARMReader(model_name_or_path="deepset/bert-large-uncased-whole-word-masking-squad2")
# or
reader = TransformersReader(model_name_or_path="FILL",tokenizer="deepset/bert-large-uncased-whole-word-masking-squad2")
```
### In Transformers
```python
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
model_name = "deepset/bert-large-uncased-whole-word-masking-squad2"
# a) Get predictions
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
QA_input = {
'question': 'Why is model conversion important?',
'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
}
res = nlp(QA_input)
# b) Load model & tokenizer
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
```
## About us
<div class="grid lg:grid-cols-2 gap-x-4 gap-y-3">
<div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center">
<img alt="" src="https://raw.githubusercontent.com/deepset-ai/.github/main/deepset-logo-colored.png" class="w-40"/>
</div>
<div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center">
<img alt="" src="https://raw.githubusercontent.com/deepset-ai/.github/main/haystack-logo-colored.png" class="w-40"/>
</div>
</div>
[deepset](http://deepset.ai/) is the company behind the open-source NLP framework [Haystack](https://haystack.deepset.ai/) which is designed to help you build production ready NLP systems that use: Question answering, summarization, ranking etc.
Some of our other work:
- [Distilled roberta-base-squad2 (aka "tinyroberta-squad2")]([https://huggingface.co/deepset/tinyroberta-squad2)
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
## Get in touch and join the Haystack community
<p>For more info on Haystack, visit our <strong><a href="https://github.com/deepset-ai/haystack">GitHub</a></strong> repo and <strong><a href="https://docs.haystack.deepset.ai">Documentation</a></strong>.
We also have a <strong><a class="h-7" href="https://haystack.deepset.ai/community">Discord community open to everyone!</a></strong></p>
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs) | [
0.0003815101517830044,
-0.03801339864730835,
-0.024055466055870056,
0.05021379515528679,
0.0642777681350708,
0.005457849241793156,
-0.035939183086156845,
-0.0012848463375121355,
-0.023570090532302856,
0.031112996861338615,
0.023332273587584496,
0.0021799278911203146,
0.018082333728671074,
0.04560663923621178,
-0.027294153347611427,
-0.04180952161550522,
0.006142930593341589,
-0.008145635016262531,
-0.0733872801065445,
-0.02540726214647293,
0.0018473454983904958,
0.030690157786011696,
0.0037119362968951464,
0.031003480777144432,
0.01948525384068489,
0.017920784652233124,
-0.009987304918467999,
0.043021466583013535,
0.031769584864377975,
-0.07205554097890854,
0.013273876160383224,
-0.005531457718461752,
-0.03854624181985855,
-0.049916066229343414,
-0.003516784403473139,
-0.025076281279325485,
0.008316113613545895,
-0.007232424803078175,
0.042591262608766556,
0.04228963330388069,
-0.024397362023591995,
-0.000014961999113438651,
-0.016072306782007217,
-0.03566465154290199,
0.0589197501540184,
0.010967348702251911,
-0.021081147715449333,
-0.02277248539030552,
0.022648708894848824,
-0.02215772308409214,
-0.07071688771247864,
-0.07257066667079926,
-0.026918327435851097,
0.0279349684715271,
0.006793550681322813,
-0.020170295611023903,
-0.0375683419406414,
0.010085059329867363,
0.051337044686079025,
-0.07379927486181259,
-0.0254451222717762,
0.013159866444766521,
-0.06619510799646378,
-0.005532396957278252,
0.023249570280313492,
-0.041747964918613434,
0.015459928661584854,
-0.04203203693032265,
0.03137284889817238,
-0.018947722390294075,
0.08550835400819778,
-0.03244650363922119,
0.022860901430249214,
-0.06926952302455902,
0.004768822342157364,
0.004048116039484739,
0.00775692006573081,
0.02504013478755951,
-0.015496845357120037,
0.07471413910388947,
0.017881663516163826,
-0.001125419046729803,
0.005435286555439234,
-0.04186396300792694,
0.004394591320306063,
0.025735843926668167,
-0.023003991693258286,
0.03046957217156887,
-0.01875508390367031,
0.044405627995729446,
-0.028404315933585167,
-0.022821731865406036,
-0.026991451159119606,
-0.0217808298766613,
-0.004047183785587549,
0.02467435412108898,
0.029615970328450203,
0.00170767807867378,
-0.01077443826943636,
0.019192570820450783,
0.024512281641364098,
0.06374902278184891,
-0.011515631340444088,
0.07518281787633896,
-0.007119950372725725,
0.007614506874233484,
0.006504864431917667,
-0.020105473697185516,
-0.039500266313552856,
0.012019242160022259,
0.045987170189619064,
-0.0252749715000391,
-0.01235150545835495,
0.01723254844546318,
0.03688695281744003,
0.006404068786650896,
0.0675833448767662,
-0.02444443665444851,
-0.0453917570412159,
-0.046698763966560364,
0.027723142877221107,
0.002055276185274124,
-0.0188790000975132,
0.0283203162252903,
-0.03743872791528702,
-0.013077573850750923,
-0.04215117543935776,
-0.029356688261032104,
0.011076374910771847,
0.022159244865179062,
-0.0030858509708195925,
0.047932736575603485,
0.0178042221814394,
-0.10403779149055481,
0.006592852063477039,
0.0072828056290745735,
-0.04725255072116852,
0.0228332057595253,
0.0016768627101555467,
0.09820755571126938,
-0.05023248866200447,
-0.05577292665839195,
0.03837208077311516,
0.02612624689936638,
-0.004741793032735586,
-0.0028908653184771538,
0.002318974584341049,
-0.02237320877611637,
-0.037295229732990265,
0.01023133099079132,
0.066192127764225,
-0.04770173877477646,
0.022625360637903214,
0.04397863149642944,
-0.005476595368236303,
0.018107980489730835,
-0.05585416778922081,
0.009695403277873993,
0.02068043313920498,
-0.006694358307868242,
-0.02437605895102024,
0.04680103436112404,
-0.0183523241430521,
-0.029910387471318245,
-0.026216711848974228,
-0.0352286770939827,
-0.007561851292848587,
0.09648151695728302,
0.02113664336502552,
-0.02581077069044113,
-0.02546660415828228,
0.015004858374595642,
0.031462233513593674,
0.03549548611044884,
-0.021480029448866844,
0.017758887261152267,
0.047115009278059006,
0.022781912237405777,
-0.00840173102915287,
0.032241955399513245,
0.016744304448366165,
-0.034570347517728806,
-0.025414306670427322,
0.027714019641280174,
-0.0005442903493531048,
-0.022333426401019096,
0.04602072015404701,
0.04243316501379013,
0.007989850826561451,
-0.04471469298005104,
-0.022626938298344612,
0.06765194982290268,
-0.004887934308499098,
-0.015570331364870071,
0.003909769468009472,
0.019150620326399803,
-0.03302109241485596,
0.04898044094443321,
-0.013494838960468769,
-0.009041364304721355,
-0.03394921123981476,
-0.017966758459806442,
0.043541278690099716,
0.021065767854452133,
0.00467208307236433,
0.06265167891979218,
-0.004434293136000633,
0.09626221656799316,
-0.03439822793006897,
0.017066575586795807,
-0.03929903730750084,
-0.04045140743255615,
0.004818669054657221,
0.05055278167128563,
0.07037210464477539,
0.05368664488196373,
0.0005987222539260983,
-0.008466425351798534,
0.044643569737672806,
0.06255446374416351,
0.06677067279815674,
0.0029157947283238173,
-0.015156018547713757,
-0.01181668322533369,
0.040273185819387436,
0.0701577290892601,
-0.04696067422628403,
-0.025760093703866005,
0.005723051261156797,
0.010024875402450562,
-0.004907929804176092,
0.005689489189535379,
-0.025509865954518318,
0.03617363050580025,
-0.06571992486715317,
-0.0556463785469532,
0.04688161239027977,
0.0029003764502704144,
-0.010803541168570518,
0.027272354811429977,
-0.01584639959037304,
-0.002145781647413969,
0.02724801003932953,
0.013920075260102749,
0.02103312872350216,
-0.018753891810774803,
0.01899988017976284,
-0.0017205679323524237,
0.07119956612586975,
-0.051140960305929184,
0.03090737946331501,
-0.008774915710091591,
0.046821583062410355,
0.03305516019463539,
-0.05654830113053322,
0.03563123568892479,
0.046353865414857864,
-0.002394950482994318,
-0.009845828637480736,
0.015830710530281067,
0.019291821867227554,
-0.004201737232506275,
0.07958606630563736,
0.01662011444568634,
0.0529480054974556,
0.010430349968373775,
0.04578043892979622,
0.06680887937545776,
0.010743247345089912,
0.023301903158426285,
0.0029523486737161875,
0.07084839791059494,
0.006132892798632383,
-0.004754207096993923,
0.04808543995022774,
-0.019041577354073524,
0.0018435047240927815,
-0.03482086956501007,
-0.007895401678979397,
0.008387329988181591,
-0.00031539297197014093,
0.05026434361934662,
0.0077956803143024445,
-0.02980720065534115,
0.0005348190315999091,
0.020382791757583618,
0.003002147888764739,
0.033737123012542725,
-0.03401734679937363,
0.012372514232993126,
0.006631204392760992,
-0.025024885311722755,
0.002268241485580802,
-0.07149489969015121,
-0.039980996400117874,
-0.02329910360276699,
-0.03152456879615784,
0.009636434726417065,
-0.07397186011075974,
-0.011904994957149029,
-0.06471267342567444,
-0.02726634219288826,
0.047612324357032776,
0.00013357146235648543,
-0.020074190571904182,
-0.0014611987862735987,
0.021331608295440674,
-0.03959411382675171,
-0.02717280201613903,
-0.02154526300728321,
-0.02340942993760109,
-0.04291936382651329,
-0.06667177379131317,
0.03308316320180893,
0.031061828136444092,
0.028439488261938095,
-0.006058500614017248,
0.0017579070990905166,
-0.028911489993333817,
-0.02129645086824894,
0.016747234389185905,
0.05563695356249809,
-0.02864081785082817,
-0.0562182292342186,
0.023975616320967674,
-0.01068970374763012,
0.023574214428663254,
0.009112880565226078,
-0.03044530376791954,
0.08560303598642349,
0.0779518112540245,
0.03186902031302452,
0.00431145541369915,
-0.02394353598356247,
-0.03968100622296333,
-0.03246857970952988,
-0.018479080870747566,
-0.04018325358629227,
-0.026881150901317596,
-0.057582978159189224,
-0.03728439286351204,
-0.022891327738761902,
-0.012699508108198643,
0.013061713427305222,
-0.005661322735249996,
0.008799325674772263,
0.04238026589155197,
0.043797850608825684,
0.014814963564276695,
0.021890727803111076,
-0.042470965534448624,
-0.01726776733994484,
0.05574905499815941,
0.003504033898934722,
0.020310336723923683,
-0.07765047997236252,
-0.030351713299751282,
0.025056280195713043,
0.004154061432927847,
0.008845159783959389,
-0.001777667785063386,
0.07421135902404785,
0.018405640497803688,
-0.01251942291855812,
0.012370942160487175,
-0.011309206485748291,
-0.029169617220759392,
-0.0006689103902317584,
-0.0003473163233138621,
-0.023731406778097153,
-0.0284049641340971,
-0.02717171423137188,
0.01808585785329342,
0.03662903234362602,
-0.04449407756328583,
-0.056695692241191864,
-0.01091044768691063,
0.04166347533464432,
0.016439400613307953,
-0.0028430044185370207,
-0.033168211579322815,
-0.0022113039158284664,
-0.0736367478966713,
-0.03531390801072121,
0.014346540905535221,
0.0036175018176436424,
-0.019951049238443375,
0.050273895263671875,
0.012982034124433994,
-0.02098274417221546,
0.04996471107006073,
0.04193146899342537,
0.07328633964061737,
0.003415206912904978,
-0.05942618474364281,
-0.003349848324432969,
-0.015818115323781967,
0.012768911197781563,
0.020762747153639793,
-0.04333147406578064,
-0.04817984253168106,
-0.11044860631227493,
-0.005540342070162296,
0.031580351293087006,
-0.012574185617268085,
-0.047374311834573746,
0.029968876391649246,
-0.003946774173527956,
0.006378184072673321,
-0.019016437232494354,
0.01323216874152422,
0.021250378340482712,
-0.04211026802659035,
0.04290863871574402,
-0.006905825342983007,
0.0401214100420475,
-0.05871434137225151,
0.004208262078464031,
-0.027020396664738655,
-0.010258967988193035,
0.02889602817595005,
0.045468367636203766,
0.0022077809553593397,
0.05257617309689522,
0.055840086191892624,
0.03671571984887123,
-0.045136019587516785,
0.033627599477767944,
0.041221704334020615,
-0.028208868578076363,
-0.036501385271549225,
-0.01108560711145401,
0.013101361691951752,
-0.018063919618725777,
0.009960263036191463,
-0.019417831674218178,
0.03320201486349106,
0.030544819310307503,
-0.02031691186130047,
0.0003260471567045897,
0.016825877130031586,
-0.06132807582616806,
-0.028457077220082283,
-0.005855113733559847,
-0.03578409180045128,
-0.0014949529431760311,
-0.012421258725225925,
0.04147261753678322,
0.06013988330960274,
0.013679664582014084,
0.04211027920246124,
0.03696144372224808,
-0.01169378962367773,
-0.05262158066034317,
0.027269620448350906,
0.025624725967645645,
-0.045261792838573456,
-0.06540796905755997,
-0.030374448746442795,
0.06926600635051727,
0.026606975123286247,
0.009712805040180683,
-0.09054896980524063,
0.02047605626285076,
0.07359782606363297,
-0.04082617163658142,
0.05713164433836937,
-0.0157199427485466,
0.0634438693523407,
0.05549231171607971,
-0.029842523857951164,
0.022880369797348976,
-0.024209100753068924,
-0.005965657066553831,
-0.01095544919371605,
0.024822043254971504,
-0.029590656980872154,
-0.04875560104846954,
-0.04654926806688309,
0.025652311742305756,
0.07607706636190414,
0.04317428171634674,
0.02287578023970127,
-0.016128594055771828,
-0.025910627096891403,
0.01624840311706066,
0.047220177948474884,
-0.051445718854665756,
0.01026574894785881,
0.016401611268520355,
0.02531065046787262,
-0.060877732932567596,
-0.041079044342041016,
-0.029003622010350227,
-0.0037200702354311943,
0.03712758049368858,
-0.009694263339042664,
-0.009275705553591251,
-0.0703524798154831,
0.0412989966571331,
-0.006651243194937706,
-0.0346619188785553,
-0.059666071087121964,
0.04571997746825218,
-0.027943013235926628,
0.0003778291284106672,
0.04168427735567093,
0.04698856920003891,
0.028779158368706703,
0.06591037660837173,
0.028078628703951836,
-0.01885216310620308,
-0.032491475343704224,
0.037985529750585556,
-0.020939307287335396,
-0.015178034082055092,
-0.03018052875995636,
-0.04412376880645752,
-0.007252654526382685,
-0.01009814441204071,
-0.03453508019447327,
-0.027033362537622452,
-0.022656504064798355,
0.029883675277233124,
0.010899007320404053,
-0.014240012504160404,
-0.03645426034927368,
0.012572506442666054,
-0.021507270634174347,
-0.02538658306002617,
-0.016126638278365135,
-0.004987112712115049,
-0.03652676194906235,
-0.049523983150720596,
0.014628295786678791,
-0.0011381696676835418,
0.02760404348373413,
0.027167625725269318,
0.046230245381593704,
-0.004972240421921015,
-0.0021603137720376253,
-0.04585710167884827,
0.007545000873506069,
-0.008782497607171535,
-0.04272589832544327,
-0.03866835683584213,
0.012546820566058159,
0.004276772029697895,
0.05534150451421738,
-0.008100949227809906,
0.015516454353928566,
0.01619335636496544,
-0.03047178126871586,
-0.021764883771538734,
0.04981262609362602,
0.03735599294304848,
-0.09940990060567856,
-0.05394972860813141,
-0.006105759646743536,
-0.029723254963755608,
0.03984525799751282,
-0.05358967185020447,
-0.05230163782835007,
0.026127489283680916,
0.020467964932322502,
0.058680593967437744,
0.024977106600999832,
-0.028729703277349472,
0.02442321367561817,
-0.009115186519920826,
-0.0049261911772191525,
-0.07042106986045837,
0.033722128719091415,
-0.021354850381612778,
0.018483256921172142,
-0.028485257178544998,
-0.010038096457719803,
-0.03713807463645935,
0.038604989647865295,
-0.03132462874054909,
-0.015899430960416794,
-0.014756357297301292,
0.030830664560198784,
-0.017458222806453705,
0.02155257947742939,
-0.01843072660267353,
0.04165835306048393,
-0.03538738191127777,
0.05964839458465576,
-0.048644885420799255,
0.007162772584706545,
-0.01951957494020462,
0.005309468600898981,
-0.05322403088212013,
0.04193185642361641,
-0.024736734107136726,
-0.045460738241672516,
0.03545169159770012,
0.07942911982536316,
0.011544018052518368,
0.003536044852808118,
-0.021769801154732704,
-0.005557314492762089,
0.02322675660252571,
-0.056570541113615036,
0.0025652237236499786,
-0.0052705747075378895,
0.0058276718482375145,
-0.01008578296750784,
0.030338427051901817,
0.05384494364261627,
-0.06428053975105286,
-0.04500117525458336,
0.05539602413773537,
-0.000920793623663485,
-0.002496415050700307,
-0.001558241550810635,
-0.0021710386499762535,
0.05742039158940315,
0.031858064234256744,
-0.037612613290548325,
0.002635239390656352,
-0.024468548595905304,
-0.024591652676463127,
0.009579857811331749,
-0.015483415685594082,
0.02644728124141693,
0.01588050089776516,
-0.03443482890725136,
-0.033954255282878876,
0.07186824083328247,
0.038815706968307495,
0.0093853073194623,
-0.002168070524930954,
-0.013543114997446537,
0.037011418491601944,
0.0036160352174192667,
-0.032668404281139374,
0.02051442302763462,
-0.008281043730676174,
-0.022440819069743156,
0.09033431112766266,
-0.008520720526576042,
0.00862262025475502,
0.03820867836475372,
-0.002689877524971962,
-0.01910753920674324,
0.04698719456791878,
-0.0372578427195549,
0.04082425683736801,
0.057490698993206024,
-0.09181584417819977,
0.043546728789806366,
-0.04407644644379616,
0.03916832432150841,
-0.10098215192556381,
0.05478286370635033,
0.04578305035829544,
0.020854152739048004,
0.013691646978259087,
-0.03690918907523155,
-0.051060717552900314,
0.02776564471423626,
-0.049511462450027466,
0.07609179615974426,
0.0033785502891987562,
-0.05357014387845993,
0.08220993727445602,
0.02916084975004196,
-0.06551630049943924,
0.03885606303811073,
0.050332095474004745,
0.03700178489089012,
0.04591284692287445,
0.04263273999094963,
-0.059182800352573395,
0.033756133168935776,
-0.038491133600473404,
0.064243845641613,
-0.04967835545539856,
-0.05907628312706947,
0.014271214604377747,
-0.021092988550662994,
0.007453423459082842,
0.015150192193686962,
-0.02299296297132969,
-0.009698886424303055,
0.02199738100171089,
-0.06015126407146454,
-0.036363597959280014,
-0.0013581127859652042,
0.02750026434659958,
-0.028456060215830803,
-0.006348217837512493,
-0.037725161761045456,
0.03410667926073074,
0.0118860537186265,
0.014923985116183758,
-0.023133549839258194,
-0.004129000939428806,
0.016747813671827316,
-0.0649632140994072,
-0.012742745690047741,
0.061603449285030365,
-0.002688211388885975,
-0.02095024287700653,
0.04648122563958168,
0.0097124632447958,
0.019430914893746376,
-0.001683648326434195,
0.0037278144154697657,
0.012266656383872032,
-0.033193379640579224,
-0.0017323429929092526,
0.021039798855781555,
0.006781658157706261,
0.014664750546216965,
-0.006333235651254654,
0.03546372056007385,
0.029643012210726738,
0.04494594782590866,
0.013776007108390331,
-0.02921096794307232,
0.001956153893843293,
0.06383677572011948,
-0.03535134345293045,
0.01922399178147316,
-0.03872388228774071,
-0.03722511604428291,
-0.04078470915555954,
-0.008999600075185299,
-0.0016716584796085954,
0.03589319437742233,
-0.05639243498444557,
0.019557569175958633,
0.026291796937584877,
-0.03294045478105545,
-0.05958528816699982,
-0.09477653354406357,
-0.005693203769624233,
-0.045407623052597046,
0.016547609120607376,
0.03575155884027481,
-0.048269063234329224,
0.018909061327576637,
-0.043723512440919876,
-0.06010093912482262,
0.04186587408185005,
0.027906451374292374,
-0.05570675805211067,
0.05474991351366043,
0.046179790049791336,
-0.04727543890476227,
0.019262149930000305,
0.010865415446460247,
-0.016520369797945023,
0.026564201340079308,
-0.004406806547194719,
0.024335963651537895,
0.028642816469073296,
0.04706232249736786,
-0.018330393359065056,
-0.033351458609104156,
-0.04368719831109047,
-0.042901333421468735,
-0.015563602559268475,
0.0151895796880126,
0.06044778972864151
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa-pos-glf | [
"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
}
}
} | 21 | null | ---
language: en
license: mit
tags:
- exbert
datasets:
- squad_v2
thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg
model-index:
- name: deepset/bert-medium-squad2-distilled
results:
- task:
type: question-answering
name: Question Answering
dataset:
name: squad_v2
type: squad_v2
config: squad_v2
split: validation
metrics:
- type: exact_match
value: 69.8231
name: Exact Match
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMmE4MGRkZTVjNmViMGNjYjVhY2E1NzcyOGQ1OWE1MWMzMjY5NWU0MmU0Y2I4OWU4YTU5OWQ5YTI2NWE1NmM0ZSIsInZlcnNpb24iOjF9.tnCJvWzMctTwiQu5yig_owO2ZI1t1MZz1AN2lQy4COAGOzuMovD-74acQvMbxJQoRfNNkIetz2hqYivf1lJKDw
- type: f1
value: 72.9232
name: F1
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZTMwNzk0ZDRjNGUyMjQyNzc1NzczZmUwMTU2MTM5MGQ3M2NhODlmOTU4ZDI0YjhlNTVjNDA1MGEwM2M1MzIyZSIsInZlcnNpb24iOjF9.eElGmTOXH_qHTNaPwZ-dUJfVz9VMvCutDCof_6UG_625MwctT_j7iVkWcGwed4tUnunuq1BPm-0iRh1RuuB-AQ
---
## Overview
**Language model:** deepset/roberta-base-squad2-distilled
**Language:** English
**Training data:** SQuAD 2.0 training set
**Eval data:** SQuAD 2.0 dev set
**Infrastructure**: 1x V100 GPU
**Published**: Apr 21st, 2021
## Details
- haystack's distillation feature was used for training. deepset/bert-large-uncased-whole-word-masking-squad2 was used as the teacher model.
## Hyperparameters
```
batch_size = 6
n_epochs = 2
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
temperature = 5
distillation_loss_weight = 1
```
## Performance
```
"exact": 68.6431398972458
"f1": 72.7637083790805
```
## Authors
- Timo MΓΆller: `timo.moeller [at] deepset.ai`
- Julian Risch: `julian.risch [at] deepset.ai`
- Malte Pietsch: `malte.pietsch [at] deepset.ai`
- Michel Bartels: `michel.bartels [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs) | [
0.010094131343066692,
-0.03178863599896431,
-0.01902567408978939,
0.042072974145412445,
0.04980930685997009,
0.016297264024615288,
-0.04055500403046608,
0.014734701253473759,
-0.03283916041254997,
0.03821165859699249,
0.016690049320459366,
-0.0077388049103319645,
0.007753048092126846,
0.04356536269187927,
-0.04000234231352806,
-0.042245835065841675,
0.0008440764504484832,
0.008124275133013725,
-0.06022439897060394,
-0.03298593685030937,
-0.00862374808639288,
0.03125889599323273,
0.019436579197645187,
0.02339325286448002,
0.01718062348663807,
0.003089054487645626,
-0.021167568862438202,
0.054898399859666824,
0.03515780344605446,
-0.05913223698735237,
0.021248241886496544,
-0.009570837020874023,
-0.028522774577140808,
-0.05488695949316025,
-0.017695147544145584,
-0.021441515535116196,
0.008415200747549534,
-0.010100109502673149,
0.024101702496409416,
0.038292236626148224,
-0.013036624528467655,
0.0208236426115036,
-0.02151806838810444,
-0.04112374037504196,
0.05607909336686134,
0.01551945973187685,
-0.027369016781449318,
-0.03759847581386566,
0.029943708330392838,
-0.024607466533780098,
-0.07362386584281921,
-0.07497812062501907,
-0.01875440962612629,
0.02854170836508274,
0.009989007376134396,
-0.016581710427999496,
-0.04795175790786743,
0.0223709549754858,
0.053584564477205276,
-0.07857946306467056,
-0.02162187732756138,
0.01503025833517313,
-0.07645541429519653,
-0.0031696755904704332,
0.032416146248579025,
-0.03304271027445793,
0.0051301708444952965,
-0.04060486704111099,
0.026471000164747238,
-0.004342868458479643,
0.07801272720098495,
-0.03463577851653099,
0.0342465378344059,
-0.05597391724586487,
-0.013000392355024815,
-0.015005473978817463,
0.01337637472897768,
0.028946490958333015,
-0.03229636326432228,
0.054972030222415924,
0.015230401419103146,
-0.012831764295697212,
0.014482181519269943,
-0.06324712187051773,
-0.018456628546118736,
0.023470783606171608,
-0.031760431826114655,
0.011997470632195473,
-0.02638763189315796,
0.04224449396133423,
-0.040332358330488205,
-0.01510071475058794,
-0.022532137110829353,
-0.02400987222790718,
0.005558670498430729,
0.03873273730278015,
0.036697715520858765,
0.013277544640004635,
-0.012203406542539597,
0.03150369971990585,
0.02232716977596283,
0.0731344074010849,
-0.008986415341496468,
0.07174425572156906,
-0.009371636435389519,
-0.0042284163646399975,
0.012297251261770725,
-0.01514756865799427,
-0.048453524708747864,
-0.001156288431957364,
0.03188817948102951,
-0.02159181609749794,
-0.014279603026807308,
0.028046319261193275,
0.03477676212787628,
0.01627410016953945,
0.0684192106127739,
-0.022205408662557602,
-0.027473006397485733,
-0.040946487337350845,
0.034273043274879456,
0.010557405650615692,
-0.018974866718053818,
0.027407566085457802,
-0.05010322481393814,
-0.016737215220928192,
-0.044628605246543884,
-0.021867448464035988,
0.010820210911333561,
0.012858396396040916,
-0.00780235230922699,
0.051489319652318954,
0.03357994183897972,
-0.08967360854148865,
0.009594835340976715,
-0.008453519083559513,
-0.023392340168356895,
0.036641206592321396,
-0.004116457886993885,
0.10333023220300674,
-0.03520187735557556,
-0.04357000067830086,
0.029164176434278488,
0.03305394574999809,
-0.009044356644153595,
-0.014860372059047222,
0.00573170930147171,
-0.020255818963050842,
-0.04564002528786659,
0.017589006572961807,
0.039553139358758926,
-0.04504335671663284,
0.01859774999320507,
0.03995034843683243,
-0.0027965493500232697,
0.02254592627286911,
-0.05093704164028168,
0.00951958354562521,
-0.004054159391671419,
0.010480337776243687,
-0.037082280963659286,
0.04214772209525108,
-0.02190355211496353,
-0.029705310240387917,
-0.012429636903107166,
-0.04358416795730591,
-0.004853195045143366,
0.10038198530673981,
-0.006963290274143219,
-0.02805319055914879,
-0.03342118486762047,
0.019146453589200974,
0.04641404375433922,
0.03421841561794281,
-0.010488082654774189,
0.02326195128262043,
0.04999791458249092,
0.031712666153907776,
-0.01661139540374279,
0.029500916600227356,
0.006867004558444023,
-0.023720165714621544,
-0.03259611502289772,
0.03182774409651756,
0.010665453039109707,
-0.02593843825161457,
0.04427962377667427,
0.04844393953680992,
0.012685726396739483,
-0.05009571090340614,
-0.02316451258957386,
0.049129463732242584,
-0.03523744270205498,
-0.014986936002969742,
0.007117020897567272,
-0.004998252261430025,
-0.03398124501109123,
0.056537650525569916,
-0.015177623368799686,
-0.019303280860185623,
-0.033610694110393524,
-0.020866772159934044,
0.05255041643977165,
0.022571589797735214,
0.020014343783259392,
0.06684141606092453,
0.010506244376301765,
0.09606379270553589,
-0.02856309339404106,
0.022619768977165222,
-0.03459927812218666,
-0.04319852218031883,
0.00972212478518486,
0.057782694697380066,
0.07356588542461395,
0.04027298837900162,
-0.02014862187206745,
-0.023166213184595108,
0.04442939907312393,
0.07304788380861282,
0.056022100150585175,
-0.006468691397458315,
-0.02463926561176777,
-0.02050328627228737,
0.05039993301033974,
0.05682288482785225,
-0.036257579922676086,
-0.018883321434259415,
0.009766067378222942,
0.012511179782450199,
-0.013103789649903774,
0.013783877715468407,
-0.03669769689440727,
0.020364118739962578,
-0.06434536725282669,
-0.04463547095656395,
0.047760434448719025,
0.011609764769673347,
-0.015875020995736122,
0.0387495681643486,
-0.0037912253756076097,
-0.0021449837367981672,
0.006675501819700003,
0.029079290106892586,
0.018376823514699936,
-0.02426123432815075,
0.01208454929292202,
-0.006138401571661234,
0.08075113594532013,
-0.03478112816810608,
0.04669572040438652,
-0.011073285713791847,
0.051136214286088943,
0.023618333041667938,
-0.05592627823352814,
0.04467327892780304,
0.03645588830113411,
0.015755394473671913,
-0.026844380423426628,
0.011501927860081196,
0.018424395471811295,
-0.008027937263250351,
0.05865345522761345,
0.005391312763094902,
0.03707917407155037,
0.020128216594457626,
0.04314544424414635,
0.06867023557424545,
0.015025387518107891,
0.023193849250674248,
0.011180166155099869,
0.07055474072694778,
0.01840481348335743,
-0.0060503664426505566,
0.03158227354288101,
-0.01637524925172329,
-0.004286719020456076,
-0.030003396794199944,
-0.001028426573611796,
0.001228136708959937,
0.0006618277402594686,
0.04376324266195297,
0.0021332327742129564,
-0.02204744704067707,
-0.004922641906887293,
0.016041990369558334,
0.004374348558485508,
0.04474654048681259,
-0.02525598555803299,
0.011172296479344368,
0.0133468396961689,
-0.026844346895813942,
0.0002769527491182089,
-0.07368254661560059,
-0.03735671937465668,
-0.01706370897591114,
-0.03652585670351982,
0.010878813453018665,
-0.07154706865549088,
-0.012034420855343342,
-0.0679616630077362,
-0.014305640943348408,
0.039786823093891144,
-0.0035838871262967587,
-0.024406172335147858,
-0.007558661047369242,
0.02706097438931465,
-0.040889158844947815,
-0.04962420091032982,
-0.025013776496052742,
-0.0202501080930233,
-0.035848621279001236,
-0.06121500954031944,
0.03762619569897652,
0.020038457587361336,
0.01995626464486122,
-0.000759218237362802,
0.01613834872841835,
-0.026035388931632042,
-0.034610990434885025,
0.028505101799964905,
0.058562129735946655,
-0.039690397679805756,
-0.054375119507312775,
0.006780894938856363,
-0.0068076783791184425,
0.017519185319542885,
0.01839802972972393,
-0.03514837846159935,
0.09262985736131668,
0.07150837033987045,
0.0049869525246322155,
0.01196223869919777,
-0.01257995143532753,
-0.02757711336016655,
-0.04327300190925598,
-0.001158501603640616,
-0.032732367515563965,
-0.02366786263883114,
-0.03751058503985405,
-0.0315750427544117,
-0.05373116955161095,
-0.02056088298559189,
0.02023560181260109,
-0.006929174531251192,
-0.007907834835350513,
0.0322243832051754,
0.0427267961204052,
0.029373280704021454,
0.031009221449494362,
-0.04298161342740059,
-0.013788864947855473,
0.05913063883781433,
0.013868973590433598,
-0.0023003295063972473,
-0.09170983731746674,
-0.033686380833387375,
0.027865443378686905,
0.022204319015145302,
0.013306867331266403,
-0.00485001178458333,
0.08211079239845276,
0.02542860619723797,
-0.020216498523950577,
0.01170351728796959,
-0.011045263148844242,
-0.04408929869532585,
-0.010549784637987614,
0.003290665801614523,
-0.0009464456234127283,
-0.040838632732629776,
-0.0322536900639534,
0.03149757161736488,
0.04151966795325279,
-0.041297297924757004,
-0.0528751015663147,
-0.005244299303740263,
0.03981366008520126,
0.029737288132309914,
-0.002105213701725006,
-0.033023107796907425,
0.004618443548679352,
-0.06503181159496307,
-0.04203730821609497,
0.01908886432647705,
0.002130799228325486,
-0.01604440249502659,
0.028756028041243553,
0.025916527956724167,
-0.029190953820943832,
0.04429232329130173,
0.02609756402671337,
0.05531730875372887,
0.010432274080812931,
-0.04509102180600166,
0.011264996603131294,
-0.015534461475908756,
0.009889652021229267,
0.013289046473801136,
-0.05021116882562637,
-0.03566395863890648,
-0.10817033052444458,
0.0015780729008838534,
0.037360839545726776,
-0.004705911036580801,
-0.0268828347325325,
0.04271193966269493,
-0.0016893054125830531,
0.018270621076226234,
-0.021215466782450676,
0.020961686968803406,
0.025491513311862946,
-0.03832618147134781,
0.06229272484779358,
-0.007567967288196087,
0.03690497949719429,
-0.06833082437515259,
0.016876794397830963,
-0.026376619935035706,
-0.025483913719654083,
0.019261622801423073,
0.04632514342665672,
-0.004216892644762993,
0.05117619037628174,
0.06387730687856674,
0.040701285004615784,
-0.04619242995977402,
0.019792456179857254,
0.036924246698617935,
-0.025410927832126617,
-0.04696183279156685,
-0.03327639028429985,
0.0012624894734472036,
0.0005839503137394786,
-0.0165138877928257,
-0.011276952922344208,
0.020045582205057144,
0.02313331700861454,
-0.001969230128452182,
0.01075577549636364,
0.01142546720802784,
-0.05589524656534195,
-0.023866910487413406,
-0.02136397548019886,
-0.03037850745022297,
0.011345039121806622,
-0.006175362970679998,
0.03571181744337082,
0.05463412031531334,
0.004741453565657139,
0.04213999584317207,
0.024068478494882584,
-0.010749666951596737,
-0.0564793162047863,
0.026900984346866608,
0.015249205753207207,
-0.03558006510138512,
-0.06617306172847748,
-0.027691492810845375,
0.060611575841903687,
0.034920573234558105,
0.011890137568116188,
-0.09064123034477234,
0.02959902212023735,
0.07548772543668747,
-0.048206914216279984,
0.053783636540174484,
-0.014309629797935486,
0.06004045903682709,
0.06405917555093765,
-0.024658044800162315,
0.019647765904664993,
-0.016931023448705673,
-0.004299277439713478,
-0.016067687422037125,
0.023931700736284256,
-0.026620376855134964,
-0.0454949215054512,
-0.04393924027681351,
0.039519455283880234,
0.0675816535949707,
0.041678737848997116,
0.02526790089905262,
-0.026104062795639038,
-0.019089877605438232,
0.019503813236951828,
0.0402454137802124,
-0.05483914539217949,
0.00911056250333786,
0.03697371110320091,
0.031455397605895996,
-0.06144373491406441,
-0.036306608468294144,
-0.018965117633342743,
-0.0025290576741099358,
0.04757499322295189,
0.0030491892248392105,
-0.012384194880723953,
-0.062210842967033386,
0.03208477050065994,
-0.007471365388482809,
-0.025075016543269157,
-0.0808698982000351,
0.04872247204184532,
-0.0428563728928566,
-0.002720646793022752,
0.05371253192424774,
0.051703933626413345,
0.01380226667970419,
0.06857729703187943,
0.015234206803143024,
-0.018649615347385406,
-0.038137152791023254,
0.036856118589639664,
-0.022945187985897064,
-0.0016886623343452811,
-0.014755547977983952,
-0.041481468826532364,
-0.007383176125586033,
-0.004937997553497553,
-0.03753713518381119,
-0.033091284334659576,
-0.021712936460971832,
0.034934692084789276,
0.01615414395928383,
-0.012216130271553993,
-0.025198206305503845,
0.01750916615128517,
-0.019468985497951508,
-0.024664048105478287,
-0.007337029557675123,
0.004213608335703611,
-0.04248562827706337,
-0.06376110017299652,
0.007235231809318066,
-0.007118993438780308,
0.029653478413820267,
0.024836277589201927,
0.04731007665395737,
0.002206301549449563,
0.00013786093040835112,
-0.046583354473114014,
0.0007099703070707619,
-0.009024133905768394,
-0.03686244413256645,
-0.03211965411901474,
0.011164450086653233,
-0.002835055347532034,
0.048114508390426636,
-0.020399892702698708,
0.03794196993112564,
0.01918448880314827,
-0.024151766672730446,
-0.03456537798047066,
0.03447342291474342,
0.03775646537542343,
-0.0991118922829628,
-0.04626242443919182,
-0.025824593380093575,
-0.031038755550980568,
0.023402683436870575,
-0.057183947414159775,
-0.04917117953300476,
0.014922167174518108,
0.02506648376584053,
0.03537007048726082,
0.027628043666481972,
-0.015003697946667671,
0.04040321707725525,
-0.009054094552993774,
-0.0018579669995233417,
-0.07090923190116882,
0.026090966537594795,
-0.017046472057700157,
0.005885892082005739,
-0.025635721161961555,
-0.021822946146130562,
-0.03399185836315155,
0.04901909455657005,
-0.05003650486469269,
-0.016866808757185936,
0.0003477777645457536,
0.02846471592783928,
-0.02498467080295086,
0.01797548308968544,
-0.009374536573886871,
0.037368293851614,
-0.025130243971943855,
0.06909419596195221,
-0.06226683408021927,
-0.01668761484324932,
-0.010669443756341934,
0.009881376288831234,
-0.04537329077720642,
0.05855730548501015,
-0.021204359829425812,
-0.045543015003204346,
0.016208646818995476,
0.06571035087108612,
0.027609320357441902,
-0.006127329543232918,
-0.04030347988009453,
0.008292380720376968,
0.03328126296401024,
-0.0507698580622673,
0.006927074398845434,
-0.0050016846507787704,
-0.00944039411842823,
-0.002541866386309266,
0.0423576682806015,
0.04709998145699501,
-0.05357353761792183,
-0.050387587398290634,
0.042852144688367844,
0.011952357366681099,
-0.005839623045176268,
-0.006520646158605814,
0.0006010798388160765,
0.03137383982539177,
0.03529420122504234,
-0.0368955172598362,
-0.0013805616181343794,
-0.026820044964551926,
-0.01572726108133793,
-0.006073930766433477,
0.011263718828558922,
0.027650950476527214,
0.015359433367848396,
-0.02841266244649887,
-0.03346680849790573,
0.08217091113328934,
0.028632445260882378,
0.024454407393932343,
0.0000025217161692125956,
-0.01768166944384575,
0.04781835526227951,
0.012214485555887222,
-0.027566108852624893,
0.010636962950229645,
0.010381069965660572,
-0.03539217635989189,
0.0877126082777977,
-0.008770880289375782,
0.016765067353844643,
0.04546019807457924,
-0.0032356781885027885,
-0.020615991204977036,
0.052690908312797546,
-0.009052334353327751,
0.03315914422273636,
0.05417678505182266,
-0.09357040375471115,
0.024068111553788185,
-0.04327070713043213,
0.05027984827756882,
-0.09112745523452759,
0.04825906455516815,
0.05231859162449837,
0.010437274351716042,
0.02115333080291748,
-0.059201113879680634,
-0.04952521622180939,
0.02069648541510105,
-0.05199150741100311,
0.06928061693906784,
0.0045796651393175125,
-0.03374373912811279,
0.06840445101261139,
0.025334885343909264,
-0.06464086472988129,
0.03320315480232239,
0.04738834872841835,
0.03601375222206116,
0.04106365144252777,
0.0368269719183445,
-0.07845409959554672,
0.040755610913038254,
-0.030856112018227577,
0.06217413768172264,
-0.0553976334631443,
-0.06410182267427444,
-0.0014732584822922945,
-0.017768556252121925,
0.010619628243148327,
0.012853225693106651,
-0.014170113950967789,
-0.006863496731966734,
0.03324469178915024,
-0.04330022260546684,
-0.03391709178686142,
0.0078990263864398,
-0.0014634935650974512,
-0.022469522431492805,
0.00640065735206008,
-0.04740939289331436,
0.03161485120654106,
0.01753019541501999,
0.01675410196185112,
-0.02340203896164894,
-0.01063690148293972,
0.017692407593131065,
-0.07106316834688187,
-0.020347395911812782,
0.04892277345061302,
-0.027539920061826706,
-0.03003287874162197,
0.03577094152569771,
0.005653604865074158,
0.02262776345014572,
0.0055201612412929535,
0.007339525502175093,
0.008418986573815346,
-0.025062134489417076,
-0.011090257205069065,
0.029241327196359634,
0.01261831820011139,
0.022166350856423378,
-0.0013158887159079313,
0.035228148102760315,
0.01835697516798973,
0.054267559200525284,
0.008440056815743446,
-0.029038794338703156,
-0.01097768172621727,
0.058166082948446274,
-0.028635578230023384,
-0.001580412033945322,
-0.04102780669927597,
-0.04194948822259903,
-0.050544172525405884,
0.0021145534701645374,
-0.0008455434581264853,
0.03152796998620033,
-0.04962325468659401,
0.027079107239842415,
0.026551149785518646,
-0.010640578344464302,
-0.05977731570601463,
-0.10265378654003143,
-0.015106276609003544,
-0.037947095930576324,
0.013272242620587349,
0.04699433222413063,
-0.06474597752094269,
0.021005868911743164,
-0.03628433123230934,
-0.04767123982310295,
0.048571739345788956,
0.004253859166055918,
-0.06686905026435852,
0.06739688664674759,
0.04666320979595184,
-0.053374748677015305,
0.005196249578148127,
0.010641046799719334,
-0.023967135697603226,
0.027483412995934486,
0.00542497681453824,
0.01943894475698471,
0.02660253830254078,
0.036403995007276535,
-0.02104090340435505,
-0.03993549942970276,
-0.05252038687467575,
-0.05317997932434082,
-0.02511342242360115,
0.003297575982287526,
0.07454859465360641
] |
CAMeL-Lab/bert-base-arabic-camelbert-msa | [
"pytorch",
"tf",
"jax",
"bert",
"fill-mask",
"ar",
"arxiv:2103.06678",
"transformers",
"license:apache-2.0",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 2,967 | null | ---
language: en
license: cc-by-4.0
datasets:
- squad_v2
model-index:
- name: deepset/electra-base-squad2
results:
- task:
type: question-answering
name: Question Answering
dataset:
name: squad_v2
type: squad_v2
config: squad_v2
split: validation
metrics:
- type: exact_match
value: 77.6074
name: Exact Match
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYzE5NTRmMmUwYTk1MTI0NjM0ZmQwNDFmM2Y4Mjk4ZWYxOGVmOWI3ZGFiNWM4OTUxZDQ2ZjdmNmU3OTk5ZjRjYyIsInZlcnNpb24iOjF9.0VZRewdiovE4z3K5box5R0oTT7etpmd0BX44FJBLRFfot-uJ915b-bceSv3luJQ7ENPjaYSa7o7jcHlDzn3oAw
- type: f1
value: 81.7181
name: F1
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiY2VlMzM0Y2UzYjhhNTJhMTFiYWZmMDNjNjRiZDgwYzc5NWE3N2M4ZGFlYWQ0ZjVkZTE2MDU0YmMzMDc1MTY5MCIsInZlcnNpb24iOjF9.jRV58UxOM7CJJSsmxJuZvlt00jMGA1thp4aqtcFi1C8qViQ1kW7NYz8rg1gNTDZNez2UwPS1NgN_HnnwBHPbCQ
---
# electra-base for QA
## Overview
**Language model:** electra-base
**Language:** English
**Downstream-task:** Extractive QA
**Training data:** SQuAD 2.0
**Eval data:** SQuAD 2.0
**Code:** See [example](https://github.com/deepset-ai/FARM/blob/master/examples/question_answering.py) in [FARM](https://github.com/deepset-ai/FARM/blob/master/examples/question_answering.py)
**Infrastructure**: 1x Tesla v100
## Hyperparameters
```
seed=42
batch_size = 32
n_epochs = 5
base_LM_model = "google/electra-base-discriminator"
max_seq_len = 384
learning_rate = 1e-4
lr_schedule = LinearWarmup
warmup_proportion = 0.1
doc_stride=128
max_query_length=64
```
## Performance
Evaluated on the SQuAD 2.0 dev set with the [official eval script](https://worksheets.codalab.org/rest/bundles/0x6b567e1cf2e041ec80d7098f031c5c9e/contents/blob/).
```
"exact": 77.30144024256717,
"f1": 81.35438272008543,
"total": 11873,
"HasAns_exact": 74.34210526315789,
"HasAns_f1": 82.45961302894314,
"HasAns_total": 5928,
"NoAns_exact": 80.25231286795626,
"NoAns_f1": 80.25231286795626,
"NoAns_total": 5945
```
## Usage
### In Transformers
```python
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
model_name = "deepset/electra-base-squad2"
# a) Get predictions
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
QA_input = {
'question': 'Why is model conversion important?',
'context': 'The option to convert models between FARM and transformers gives freedom to the user and lets people easily switch between frameworks.'
}
res = nlp(QA_input)
# b) Load model & tokenizer
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
```
### In FARM
```python
from farm.modeling.adaptive_model import AdaptiveModel
from farm.modeling.tokenization import Tokenizer
from farm.infer import Inferencer
model_name = "deepset/electra-base-squad2"
# a) Get predictions
nlp = Inferencer.load(model_name, task_type="question_answering")
QA_input = [{"questions": ["Why is model conversion important?"],
"text": "The option to convert models between FARM and transformers gives freedom to the user and lets people easily switch between frameworks."}]
res = nlp.inference_from_dicts(dicts=QA_input)
# b) Load model & tokenizer
model = AdaptiveModel.convert_from_transformers(model_name, device="cpu", task_type="question_answering")
tokenizer = Tokenizer.load(model_name)
```
### In haystack
For doing QA at scale (i.e. many docs instead of a single paragraph), you can load the model also in [haystack](https://github.com/deepset-ai/haystack/):
```python
reader = FARMReader(model_name_or_path="deepset/electra-base-squad2")
# or
reader = TransformersReader(model="deepset/electra-base-squad2",tokenizer="deepset/electra-base-squad2")
```
## Authors
Vaishali Pal `vaishali.pal [at] deepset.ai`
Branden Chan: `branden.chan [at] deepset.ai`
Timo MΓΆller: `timo.moeller [at] deepset.ai`
Malte Pietsch: `malte.pietsch [at] deepset.ai`
Tanay Soni: `tanay.soni [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.009563381783664227,
-0.04783092066645622,
-0.015134325250983238,
0.037592485547065735,
0.05784112960100174,
0.010438166558742523,
-0.03339982405304909,
0.01281443890184164,
-0.03394404426217079,
0.027891799807548523,
0.032436687499284744,
-0.0036321270745247602,
0.012603922747075558,
0.036124683916568756,
-0.04664617404341698,
-0.05045190826058388,
-0.0017174346139654517,
-0.003263836959376931,
-0.06994716078042984,
-0.022374175488948822,
0.012425122782588005,
0.0325155034661293,
0.0103816669434309,
0.024304930120706558,
0.004676101729273796,
0.015500751323997974,
-0.010286646895110607,
0.03385668247938156,
0.04175965487957001,
-0.06275118887424469,
0.016785649582743645,
-0.01647549495100975,
-0.03711165487766266,
-0.05603805184364319,
-0.003920184914022684,
-0.019321557134389877,
0.010693714953958988,
-0.006575209088623524,
0.034782636910676956,
0.05515899136662483,
-0.02583474852144718,
0.013022447936236858,
-0.027074536308646202,
-0.02579539455473423,
0.06557445973157883,
0.006698014214634895,
-0.0086886091157794,
-0.022361833602190018,
0.01737913116812706,
-0.020512115210294724,
-0.07456407696008682,
-0.07425402104854584,
-0.02575293742120266,
0.018395617604255676,
0.00010340345033910125,
-0.022860702127218246,
-0.04222862794995308,
0.005081667564809322,
0.0539446622133255,
-0.07867076992988586,
-0.01635410636663437,
0.0237240269780159,
-0.07493991404771805,
-0.014988919720053673,
0.024928538128733635,
-0.03776980936527252,
0.01152346096932888,
-0.04647500813007355,
0.027698233723640442,
-0.016029328107833862,
0.09436115622520447,
-0.03171446546912193,
0.02729366160929203,
-0.05924384668469429,
0.00010933693556580693,
0.0006877384148538113,
0.0048210518434643745,
0.02270093373954296,
-0.013313298113644123,
0.07075852900743484,
0.021584922447800636,
-0.01005591731518507,
0.009457052685320377,
-0.03697362169623375,
-0.0028240077663213015,
0.01682521216571331,
-0.03522050008177757,
0.018369747325778008,
-0.019641607999801636,
0.04055963456630707,
-0.0354343019425869,
-0.031780242919921875,
-0.018653271719813347,
-0.01844528503715992,
0.0054171038791537285,
0.026008110493421555,
0.03566157445311546,
0.00655306177213788,
-0.015055698342621326,
0.024218304082751274,
0.024237273260951042,
0.06075461208820343,
-0.013055240735411644,
0.0722830519080162,
-0.014469415880739689,
0.012786644510924816,
0.00683105643838644,
-0.024074500426650047,
-0.03619115427136421,
0.009338914416730404,
0.03574180603027344,
-0.024489855393767357,
-0.014806126244366169,
0.01393873430788517,
0.041002143174409866,
0.0033443046268075705,
0.05617060884833336,
-0.036554139107465744,
-0.036100421100854874,
-0.05979616567492485,
0.02974681556224823,
0.01712912879884243,
-0.03143085166811943,
0.01947021670639515,
-0.028438296169042587,
-0.013884549029171467,
-0.04093562439084053,
-0.03177424892783165,
0.007997401058673859,
0.01871171034872532,
-0.009078890085220337,
0.055634818971157074,
0.01863788068294525,
-0.10377711802721024,
0.013542327098548412,
0.0004281809087842703,
-0.04651300236582756,
0.02615504525601864,
0.0030336561612784863,
0.08596986532211304,
-0.05680718272924423,
-0.04845535010099411,
0.03866570442914963,
0.024582719430327415,
-0.006391850300133228,
0.0017441586824133992,
-0.007892204448580742,
-0.028306320309638977,
-0.04523264616727829,
0.00573114724829793,
0.06441440433263779,
-0.043794598430395126,
0.017880622297525406,
0.03908204287290573,
-0.005597386509180069,
0.013172958046197891,
-0.044400718063116074,
0.012579639442265034,
0.023548994213342667,
-0.005228059366345406,
-0.015253626741468906,
0.043291859328746796,
-0.015362964943051338,
-0.02320335991680622,
-0.033083364367485046,
-0.033334288746118546,
-0.018935903906822205,
0.09474509209394455,
0.013516779989004135,
-0.02509319595992565,
-0.026899775490164757,
0.012284861877560616,
0.02486000396311283,
0.021018583327531815,
-0.009030153974890709,
0.020504726096987724,
0.04688307270407677,
0.03201928734779358,
-0.00770008796826005,
0.03365233540534973,
0.026400411501526833,
-0.025549450889229774,
-0.022094188258051872,
0.01722516119480133,
0.004399502649903297,
-0.015130716376006603,
0.030045542865991592,
0.046926554292440414,
0.006613617762923241,
-0.04219319298863411,
-0.01900557614862919,
0.06372813135385513,
-0.021022791042923927,
-0.01818859949707985,
-0.005388695280998945,
0.005778287537395954,
-0.03606369346380234,
0.05490925535559654,
-0.0006703388062305748,
-0.008572119288146496,
-0.03249361366033554,
-0.014526790007948875,
0.043104082345962524,
0.03160182014107704,
0.0013933051377534866,
0.05226839706301689,
-0.00031781397410668433,
0.10618574172258377,
-0.03162239119410515,
0.015779053792357445,
-0.02820003032684326,
-0.04907575994729996,
0.004245810676366091,
0.05770856514573097,
0.07392384111881256,
0.06162237748503685,
0.0033139600418508053,
-0.006048083305358887,
0.05056677758693695,
0.062352217733860016,
0.06388983130455017,
0.0031614257022738457,
-0.01970435120165348,
-0.0024759480729699135,
0.046256471425294876,
0.06247479468584061,
-0.03942045569419861,
-0.018560051918029785,
0.012294203974306583,
0.0048745679669082165,
-0.010896080173552036,
0.0007618610397912562,
-0.026592275127768517,
0.042138390243053436,
-0.06883949786424637,
-0.06316085904836655,
0.04632829874753952,
-0.0027448430191725492,
-0.008344834670424461,
0.009882109239697456,
-0.00969776976853609,
-0.000493978091981262,
0.020869968459010124,
0.006787510588765144,
0.01800772175192833,
-0.026042288169264793,
0.022022541612386703,
-0.0052929529920220375,
0.07462403178215027,
-0.046683382242918015,
0.03292157128453255,
-0.009557482786476612,
0.048136256635189056,
0.03877554461359978,
-0.06911677122116089,
0.03417745977640152,
0.050116535276174545,
0.002268529962748289,
-0.01661910116672516,
0.010270347818732262,
0.02006491832435131,
-0.013046391308307648,
0.07217241078615189,
0.010291808284819126,
0.051599759608507156,
0.001549804350361228,
0.03396167978644371,
0.06503836065530777,
0.007806786336004734,
0.01700528711080551,
-0.0006971537950448692,
0.06939253956079483,
-0.006024370435625315,
0.005365205928683281,
0.051925186067819595,
-0.02403072640299797,
0.007386311423033476,
-0.03125348687171936,
-0.00021881751308683306,
0.010051281191408634,
0.00968235358595848,
0.05128391832113266,
0.0029658901039510965,
-0.04252120107412338,
0.003351071383804083,
0.015956919640302658,
-0.004552592523396015,
0.016934318467974663,
-0.03828319534659386,
0.0031126413960009813,
0.007042190060019493,
-0.012877797707915306,
0.01307658664882183,
-0.08231400698423386,
-0.033514924347400665,
-0.028908677399158478,
-0.03961476311087608,
0.006385112646967173,
-0.052340030670166016,
-0.0038935630582273006,
-0.05588608235120773,
-0.03377482295036316,
0.04912590980529785,
-0.0049942294135689735,
-0.017767293378710747,
-0.0023242949973791838,
0.027180533856153488,
-0.04387285187840462,
-0.03426012769341469,
-0.024517087265849113,
-0.03507779538631439,
-0.03674896061420441,
-0.06410723179578781,
0.04406272619962692,
0.02281362935900688,
0.029889684170484543,
0.003535682102665305,
0.013526597060263157,
-0.024571802467107773,
-0.025223486125469208,
0.012595439329743385,
0.0657038763165474,
-0.02416367642581463,
-0.04247821122407913,
0.033849868923425674,
-0.009435686282813549,
0.025778772309422493,
0.006926192436367273,
-0.0286518894135952,
0.07883839309215546,
0.061287228018045425,
0.02299834042787552,
0.0031307502649724483,
-0.019686594605445862,
-0.04034474864602089,
-0.026806648820638657,
-0.019541747868061066,
-0.04183046147227287,
-0.030324947088956833,
-0.0451805554330349,
-0.032284583896398544,
-0.037748783826828,
-0.008836899884045124,
0.011668727733194828,
-0.01032322272658348,
0.0035067510325461626,
0.05028320103883743,
0.047150708734989166,
0.023047758266329765,
0.01098098885267973,
-0.04768066480755806,
-0.02391543984413147,
0.04596886783838272,
0.008234856650233269,
0.02248326875269413,
-0.07191560417413712,
-0.03915369510650635,
0.027084320783615112,
-0.0009375037625432014,
0.001765834167599678,
-0.0128825344145298,
0.07862340658903122,
0.01994992047548294,
-0.008762950077652931,
0.020956583321094513,
-0.01585230976343155,
-0.032069332897663116,
0.011529475450515747,
-0.011489473283290863,
-0.01740381121635437,
-0.028317511081695557,
-0.016495399177074432,
0.018293913453817368,
0.045762162655591965,
-0.04382205009460449,
-0.052737873047590256,
-0.008373310789465904,
0.03368886187672615,
0.019469842314720154,
0.002019381383433938,
-0.030703363940119743,
0.00017348473193123937,
-0.06532499194145203,
-0.030789148062467575,
0.026349464431405067,
0.01293993555009365,
-0.026979457587003708,
0.054819218814373016,
0.012828276492655277,
-0.024305585771799088,
0.05283905193209648,
0.0456683486700058,
0.06423365324735641,
0.010392669588327408,
-0.04351064935326576,
-0.0054363044910132885,
-0.02025686576962471,
0.01486976444721222,
0.022675586864352226,
-0.04172021523118019,
-0.041320450603961945,
-0.1061769351363182,
-0.02447577752172947,
0.038200657814741135,
-0.01975000463426113,
-0.04375582933425903,
0.03386806696653366,
0.004554285202175379,
0.005907762795686722,
-0.017332252115011215,
0.021307529881596565,
0.028501810505986214,
-0.046971213072538376,
0.04210236296057701,
-0.00701823690906167,
0.051155831664800644,
-0.061880603432655334,
0.00020516566291917115,
-0.009772689081728458,
-0.02115640975534916,
0.030072692781686783,
0.043479569256305695,
-0.007468591909855604,
0.04749257490038872,
0.058118000626564026,
0.029324529692530632,
-0.04326917231082916,
0.032588034868240356,
0.043503519147634506,
-0.03441232070326805,
-0.04059433937072754,
-0.0077468957751989365,
0.02200697362422943,
-0.016336975619196892,
0.01927156001329422,
-0.022028004750609398,
0.0454065203666687,
0.03965866193175316,
-0.023205451667308807,
0.0007138621876947582,
0.014921867288649082,
-0.06387428939342499,
-0.026214107871055603,
0.003407314419746399,
-0.032495662569999695,
-0.0027832379564642906,
-0.009258265607059002,
0.02936583012342453,
0.060941182076931,
0.014914811588823795,
0.03786918893456459,
0.032460302114486694,
-0.017272016033530235,
-0.06149405613541603,
0.02319364994764328,
0.030769800767302513,
-0.045615002512931824,
-0.06615690886974335,
-0.019894307479262352,
0.07063665986061096,
0.015216256491839886,
0.012649279087781906,
-0.08986975997686386,
0.030326655134558678,
0.06795921921730042,
-0.03687624633312225,
0.05593669041991234,
-0.002675846219062805,
0.04880642518401146,
0.05068906769156456,
-0.0387057326734066,
0.02335372194647789,
-0.028225382789969444,
-0.0073743583634495735,
-0.013637221418321133,
0.031866151839494705,
-0.024273475632071495,
-0.04573558270931244,
-0.04804803431034088,
0.0357472263276577,
0.07998207211494446,
0.03848297894001007,
0.017495563253760338,
-0.014142067171633244,
-0.030285274609923363,
0.009824598208069801,
0.0393899604678154,
-0.049284934997558594,
0.02014554850757122,
0.027907367795705795,
0.01464325562119484,
-0.05020621418952942,
-0.042584314942359924,
-0.027893541380763054,
-0.001198418322019279,
0.033226173371076584,
-0.02138470858335495,
-0.011669686064124107,
-0.05639764294028282,
0.044905681163072586,
-0.0029778003226965666,
-0.02751796320080757,
-0.07442738115787506,
0.048701874911785126,
-0.02781573124229908,
-0.0009215528261847794,
0.059306684881448746,
0.05165497586131096,
0.025273414328694344,
0.06993740797042847,
0.033189479261636734,
-0.005516208242624998,
-0.0311397947371006,
0.04620111733675003,
-0.022343317046761513,
-0.010773975402116776,
-0.027628537267446518,
-0.05153881758451462,
-0.005205757915973663,
-0.011298777535557747,
-0.033408552408218384,
-0.029216816648840904,
-0.02718772366642952,
0.035803668200969696,
0.008001923561096191,
-0.015312285162508488,
-0.03209199011325836,
0.009719903580844402,
-0.0254322849214077,
-0.0311807319521904,
-0.01425183191895485,
0.00006978171586524695,
-0.04364066570997238,
-0.04794219508767128,
0.025432216003537178,
-0.011127692647278309,
0.03567497432231903,
0.020501093938946724,
0.04131048917770386,
-0.0010888121323660016,
0.002502626506611705,
-0.041211292147636414,
0.013946428894996643,
-0.00951347779482603,
-0.03852538391947746,
-0.04892357811331749,
0.0031988590490072966,
0.0006875752587802708,
0.051415301859378815,
0.0021824545692652464,
0.011780640110373497,
0.025624018162488937,
-0.031059162691235542,
-0.019318213686347008,
0.035937219858169556,
0.046636372804641724,
-0.09434427320957184,
-0.05626169964671135,
-0.005368467420339584,
-0.03814747929573059,
0.0317215733230114,
-0.04690679535269737,
-0.0499037429690361,
0.017197124660015106,
0.011863458901643753,
0.05230129137635231,
0.027666937559843063,
-0.03504817560315132,
0.02411656826734543,
-0.007990489713847637,
-0.0011772032594308257,
-0.06917734444141388,
0.02444136142730713,
-0.013772455975413322,
0.011710632592439651,
-0.030871011316776276,
-0.008014836348593235,
-0.03700359910726547,
0.04395286366343498,
-0.02383403480052948,
-0.019031500443816185,
-0.008809912949800491,
0.03283325955271721,
-0.01991688460111618,
0.027793582528829575,
-0.010640136897563934,
0.034678053110837936,
-0.038358766585588455,
0.04868997633457184,
-0.04607401415705681,
0.011727466247975826,
-0.01923898421227932,
0.0027966273482888937,
-0.05971414968371391,
0.048476800322532654,
-0.03678892180323601,
-0.048441607505083084,
0.02870059572160244,
0.07892993092536926,
0.010927250608801842,
-0.0015719603979960084,
-0.026634952053427696,
-0.003025537123903632,
0.018953785300254822,
-0.0497761107981205,
0.009026185609400272,
-0.00445775780826807,
-0.007586396764963865,
-0.013136131688952446,
0.028108345344662666,
0.04805172607302666,
-0.05544619634747505,
-0.04910608381032944,
0.05485111102461815,
-0.0008794357418082654,
0.0016436285804957151,
0.0055070663802325726,
-0.008345118723809719,
0.05266044661402702,
0.024401109665632248,
-0.04186389595270157,
0.009848342277109623,
-0.028730737045407295,
-0.028775909915566444,
0.004701664671301842,
-0.026824096217751503,
0.0184528399258852,
0.015339748002588749,
-0.028677569702267647,
-0.01629674807190895,
0.06995857506990433,
0.03658469766378403,
0.011663500219583511,
-0.0044961231760680676,
-0.021059159189462662,
0.04328959807753563,
0.0029865019023418427,
-0.03518174588680267,
0.016512053087353706,
-0.012049023993313313,
-0.033529359847307205,
0.09274608641862869,
-0.010772627778351307,
0.003214167198166251,
0.037550266832113266,
0.0008899412932805717,
-0.020297285169363022,
0.04237109422683716,
-0.036273036152124405,
0.03704650327563286,
0.0677962377667427,
-0.10377248376607895,
0.04562525078654289,
-0.04750899598002434,
0.03843896463513374,
-0.0910496711730957,
0.051515381783246994,
0.04618646204471588,
0.014321114867925644,
0.013775818049907684,
-0.03929290175437927,
-0.05703233182430267,
0.03399011865258217,
-0.04466070607304573,
0.06414546072483063,
0.00929284282028675,
-0.060750190168619156,
0.08493079990148544,
0.02860802598297596,
-0.07308659702539444,
0.03699821978807449,
0.04021844640374184,
0.03615361824631691,
0.050770990550518036,
0.0381125845015049,
-0.06150143966078758,
0.03140600770711899,
-0.022656580433249474,
0.07202117890119553,
-0.05439815670251846,
-0.05277498438954353,
0.013741564005613327,
-0.021500127390027046,
0.013178177177906036,
0.008865972980856895,
-0.007919033989310265,
-0.009049504064023495,
0.022413471713662148,
-0.0589214451611042,
-0.03705326095223427,
0.004599071107804775,
0.019159464165568352,
-0.027505576610565186,
-0.0021033892408013344,
-0.038038644939661026,
0.0403013676404953,
0.019414518028497696,
0.02017383836209774,
-0.0199898649007082,
-0.012022527866065502,
0.017502475529909134,
-0.07607210427522659,
-0.017707746475934982,
0.053852781653404236,
-0.007472751196473837,
-0.021400995552539825,
0.051960185170173645,
0.020422333851456642,
0.03290294483304024,
-0.00023411816800944507,
0.002038931008428335,
0.00896085798740387,
-0.039836056530475616,
0.0021671608556061983,
0.02685074880719185,
-0.0014500259421765804,
0.023326436057686806,
-0.009664307348430157,
0.04490567743778229,
0.030473453924059868,
0.0298303235322237,
0.014843293465673923,
-0.021316304802894592,
0.0021860902197659016,
0.06417372822761536,
-0.04267999529838562,
0.02833463065326214,
-0.036447666585445404,
-0.041416317224502563,
-0.03990793600678444,
-0.02224486693739891,
0.008020829409360886,
0.02452785149216652,
-0.050332386046648026,
-0.00008721900667296723,
0.032045766711235046,
-0.028835492208600044,
-0.05807008594274521,
-0.09228044748306274,
-0.004450929816812277,
-0.03556006774306297,
0.01646023616194725,
0.03362702578306198,
-0.05385860800743103,
0.02463780902326107,
-0.04294247180223465,
-0.0748501867055893,
0.03908063843846321,
0.030903087928891182,
-0.04511072859168053,
0.05869176611304283,
0.05312483757734299,
-0.05041611194610596,
0.030984966084361076,
0.011615678668022156,
-0.024240516126155853,
0.026287049055099487,
-0.009074091911315918,
0.03373445197939873,
0.03512736037373543,
0.04348617419600487,
-0.01886247657239437,
-0.03455282002687454,
-0.03901546075940132,
-0.04311055317521095,
-0.02062639594078064,
0.016750749200582504,
0.06715913861989975
] |
CAUKiel/JavaBERT-uncased | [
"pytorch",
"safetensors",
"bert",
"fill-mask",
"java",
"code",
"transformers",
"license:apache-2.0",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 7 | null | ---
language: de
datasets:
- deepset/germandpr
license: mit
thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg
tags:
- exbert
---

## Overview
**Language model:** gbert-base-germandpr
**Language:** German
**Training data:** GermanDPR train set (~ 56MB)
**Eval data:** GermanDPR test set (~ 6MB)
**Infrastructure**: 4x V100 GPU
**Published**: Apr 26th, 2021
## Details
- We trained a dense passage retrieval model with two gbert-base models as encoders of questions and passages.
- The dataset is GermanDPR, a new, German language dataset, which we hand-annotated and published [online](https://deepset.ai/germanquad).
- It comprises 9275 question/answer pairs in the training set and 1025 pairs in the test set.
For each pair, there are one positive context and three hard negative contexts.
- As the basis of the training data, we used our hand-annotated GermanQuAD dataset as positive samples and generated hard negative samples from the latest German Wikipedia dump (6GB of raw txt files).
- The data dump was cleaned with tailored scripts, leading to 2.8 million indexed passages from German Wikipedia.
See https://deepset.ai/germanquad for more details and dataset download.
## Hyperparameters
```
batch_size = 40
n_epochs = 20
num_training_steps = 4640
num_warmup_steps = 460
max_seq_len = 32 tokens for question encoder and 300 tokens for passage encoder
learning_rate = 1e-6
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
num_hard_negatives = 2
```
## Performance
During training, we monitored the in-batch average rank and the loss and evaluated different batch sizes, numbers of epochs, and number of hard negatives on a dev set split from the train set.
The dev split contained 1030 question/answer pairs.
Even without thorough hyperparameter tuning, we observed quite stable learning. Multiple restarts with different seeds produced quite similar results.
Note that the in-batch average rank is influenced by settings for batch size and number of hard negatives. A smaller number of hard negatives makes the task easier.
After fixing the hyperparameters we trained the model on the full GermanDPR train set.
We further evaluated the retrieval performance of the trained model on the full German Wikipedia with the GermanDPR test set as labels. To this end, we converted the GermanDPR test set to SQuAD format. The DPR model drastically outperforms the BM25 baseline with regard to recall@k.

## Usage
### In haystack
You can load the model in [haystack](https://github.com/deepset-ai/haystack/) as a retriever for doing QA at scale:
```python
retriever = DensePassageRetriever(
document_store=document_store,
query_embedding_model="deepset/gbert-base-germandpr-question_encoder"
passage_embedding_model="deepset/gbert-base-germandpr-ctx_encoder"
)
```
## Authors
- Timo MΓΆller: `timo.moeller [at] deepset.ai`
- Julian Risch: `julian.risch [at] deepset.ai`
- Malte Pietsch: `malte.pietsch [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
0.018277883529663086,
-0.023236308246850967,
-0.018242282792925835,
0.07198278605937958,
0.02174786664545536,
0.030014965683221817,
-0.007158725522458553,
-0.00012340728426352143,
-0.061153337359428406,
0.041627753525972366,
0.005026451777666807,
-0.003304301993921399,
0.007114353124052286,
0.03554088622331619,
-0.05115436762571335,
-0.04126015305519104,
-0.0024953109677881002,
-0.008415141142904758,
-0.024234585464000702,
-0.01253789383918047,
-0.029082702472805977,
0.02314816229045391,
0.0013343251775950193,
0.005072427447885275,
0.009321228601038456,
0.011357513256371021,
-0.01720987819135189,
0.02794330008327961,
0.02689768187701702,
-0.06592343747615814,
-0.003113865153864026,
-0.029309749603271484,
-0.03873921185731888,
-0.02523353323340416,
-0.0032760892063379288,
-0.021525755524635315,
0.02134309522807598,
0.0039745960384607315,
0.01852165162563324,
0.03165818005800247,
-0.02870612032711506,
0.014327695593237877,
-0.009489627555012703,
-0.021810267120599747,
0.03684794530272484,
-0.006493709981441498,
-0.04554308205842972,
-0.027845904231071472,
0.034505460411310196,
-0.046000413596630096,
-0.06426907330751419,
-0.07701484858989716,
-0.046234987676143646,
0.005025975871831179,
0.0006525484495796263,
-0.020298173651099205,
-0.06827720999717712,
-0.007469387259334326,
0.07051526010036469,
-0.040143683552742004,
-0.03441895917057991,
0.012424878776073456,
-0.05064427852630615,
0.003737588645890355,
0.02611798420548439,
-0.04174681380391121,
0.001169592491351068,
-0.04531180113554001,
0.012026230804622173,
-0.009756783954799175,
0.0659370869398117,
-0.031408652663230896,
0.05836530029773712,
-0.09542609751224518,
0.010306140407919884,
0.007632165215909481,
0.01479166466742754,
0.03570318594574928,
-0.05264391377568245,
0.06279854476451874,
-0.0022318498231470585,
0.007335331290960312,
0.0014771673595532775,
-0.014497763477265835,
-0.024062732234597206,
0.05843866616487503,
-0.04071100056171417,
-0.00842264387756586,
-0.01727503351867199,
0.05639706924557686,
-0.0180997122079134,
-0.02159689925611019,
-0.04360680654644966,
-0.0037523459177464247,
-0.017322581261396408,
0.02551453374326229,
0.027237804606556892,
-0.011061456054449081,
0.00023315573344007134,
0.03459308668971062,
0.025921933352947235,
0.05133460462093353,
-0.028883391991257668,
0.045220572501420975,
-0.00035463503445498645,
0.00856630690395832,
-0.007896427065134048,
-0.036356594413518906,
-0.05389026552438736,
0.010003522038459778,
0.03438698127865791,
-0.03271542489528656,
-0.031703513115644455,
0.03936032950878143,
0.011350990273058414,
-0.013693590648472309,
0.051788002252578735,
-0.018730085343122482,
-0.036293283104896545,
-0.05116447061300278,
0.041829805821180344,
0.0014005164848640561,
0.017929494380950928,
0.017924105748534203,
-0.07131122797727585,
0.011438467539846897,
-0.07275260239839554,
-0.03343223035335541,
0.024191537871956825,
-0.010060510598123074,
-0.007372608408331871,
0.04333993420004845,
0.027508003637194633,
-0.05511064454913139,
0.013846567831933498,
-0.00026699950103648007,
-0.05283019319176674,
0.014985835179686546,
0.014645624905824661,
0.11340942978858948,
-0.052678462117910385,
-0.028081845492124557,
0.01625226065516472,
0.027065303176641464,
0.003224585670977831,
0.004972483962774277,
0.006805992219597101,
-0.019206862896680832,
-0.008552526123821735,
-0.00026134750805795193,
0.07087796181440353,
-0.02858615107834339,
0.01672244630753994,
0.040396831929683685,
-0.008569663390517235,
0.03244242072105408,
-0.043453115969896317,
0.0015340566169470549,
-0.012009719386696815,
-0.015301299281418324,
-0.030939016491174698,
0.013372811488807201,
-0.025942759588360786,
-0.012527771294116974,
-0.05971076339483261,
-0.03277795761823654,
0.012469025328755379,
0.10889795422554016,
-0.010385132394731045,
-0.03007338009774685,
-0.04940829053521156,
0.025229189544916153,
0.06123514845967293,
0.04202346131205559,
-0.0342157706618309,
0.03907744958996773,
0.023530183359980583,
0.02790619246661663,
-0.02129482291638851,
0.03307555243372917,
0.0007846441585570574,
-0.03805328533053398,
-0.02633517049252987,
0.03281930834054947,
-0.001545820850878954,
-0.02990885265171528,
0.031345222145318985,
0.03562648221850395,
-0.014533601701259613,
-0.013787977397441864,
-0.013416381552815437,
0.0740920752286911,
-0.04474992677569389,
-0.01311421673744917,
0.02140369638800621,
0.01064115297049284,
-0.03583794832229614,
0.044112011790275574,
-0.04048046097159386,
-0.0019912736024707556,
-0.011661029420793056,
-0.011926530860364437,
0.04547861963510513,
0.002599300816655159,
0.015943368896842003,
0.041161585599184036,
0.015231476165354252,
0.09246046841144562,
-0.03830091655254364,
0.006706949323415756,
-0.056033823639154434,
-0.009418763220310211,
-0.015137300826609135,
0.033468861132860184,
0.04087812080979347,
0.035323914140462875,
-0.02347763441503048,
-0.06135675311088562,
0.02893517166376114,
0.07512138783931732,
0.03889193385839462,
0.04129069298505783,
-0.024793235585093498,
0.008012526668608189,
0.03781447932124138,
0.048922788351774216,
-0.04051784425973892,
-0.019412988796830177,
0.016239101067185402,
0.036685649305582047,
-0.006811704486608505,
0.010458402335643768,
-0.012760116718709469,
0.011575848795473576,
-0.031152455136179924,
-0.08190227299928665,
0.06585446000099182,
0.04117991402745247,
0.011854978278279305,
0.06880028545856476,
0.00029174904921092093,
0.020078444853425026,
0.005273131188005209,
0.01693878322839737,
0.009063064120709896,
-0.04939989373087883,
0.002209675731137395,
0.01028629019856453,
0.049510013312101364,
-0.04780364781618118,
0.01664089411497116,
0.014302469789981842,
0.030932018533349037,
0.03800368309020996,
-0.02249005436897278,
0.03503577783703804,
0.037064842879772186,
0.00442940928041935,
-0.03877472132444382,
0.030893344432115555,
0.02816290780901909,
0.019415969029068947,
0.0681837946176529,
-0.00048021692782640457,
0.04899512603878975,
0.022532735019922256,
0.04119599610567093,
0.08338458836078644,
0.019606251269578934,
0.01458814274519682,
0.03341524302959442,
0.037505943328142166,
-0.007763874251395464,
-0.007436213083565235,
0.03300544619560242,
-0.052798859775066376,
0.02131933905184269,
-0.037012554705142975,
0.024131953716278076,
0.01640636846423149,
-0.005363014526665211,
0.020732663571834564,
0.018337996676564217,
-0.013803258538246155,
0.019129062071442604,
-0.0044133467599749565,
-0.019266434013843536,
0.04208166524767876,
-0.004964741412550211,
0.015636229887604713,
0.001387349795550108,
-0.0145425321534276,
0.0125647047534585,
-0.07581865787506104,
-0.06008315086364746,
-0.016956141218543053,
-0.0323779433965683,
-0.003656140761449933,
-0.09838686883449554,
-0.034899987280368805,
-0.0684044137597084,
-0.021325670182704926,
0.027655169367790222,
-0.0025609522126615047,
-0.012093656696379185,
-0.004903505090624094,
0.025041885673999786,
-0.022566745057702065,
-0.040890488773584366,
-0.04474808648228645,
-0.019639961421489716,
-0.049861688166856766,
-0.0753680020570755,
0.06257152557373047,
0.023732701316475868,
0.01105149183422327,
0.012407307513058186,
-0.0027064718306064606,
-0.018297169357538223,
-0.030492138117551804,
0.034606173634529114,
0.059788599610328674,
-0.027889274060726166,
-0.05742393806576729,
0.0015418813563883305,
-0.0029679809231311083,
0.029084250330924988,
-0.011991857551038265,
-0.02232813462615013,
0.09175503253936768,
0.07452454417943954,
0.009166893549263477,
0.019180141389369965,
0.013376996852457523,
-0.02882962115108967,
-0.03702579811215401,
-0.041823942214250565,
-0.04361944645643234,
-0.014062570407986641,
-0.03850257396697998,
-0.051811203360557556,
-0.0349881611764431,
-0.026072388514876366,
0.019584020599722862,
0.010832416824996471,
-0.010725900530815125,
0.04119766876101494,
0.046717800199985504,
0.038873668760061264,
0.02107633464038372,
-0.04749962314963341,
-0.029628606513142586,
0.07412823289632797,
-0.0061082481406629086,
0.017913799732923508,
-0.08739332109689713,
-0.04421483352780342,
0.048689208924770355,
0.02097662165760994,
0.0098342290148139,
-0.020550379529595375,
0.06732984632253647,
0.0012763512786477804,
-0.0025847055949270725,
0.016438500955700874,
-0.03255218639969826,
-0.05378122627735138,
0.021570280194282532,
-0.009152736514806747,
-0.02847513183951378,
-0.05243965610861778,
-0.06649646162986755,
-0.009010781534016132,
0.05112055316567421,
-0.061705827713012695,
-0.04001709818840027,
-0.019499417394399643,
0.019295331090688705,
0.024832194671034813,
-0.013231633231043816,
-0.04166254773736,
0.02248586155474186,
-0.024010229855775833,
-0.05066528916358948,
0.012054729275405407,
-0.007459608372300863,
0.014421551488339901,
0.04739841818809509,
0.018260564655065536,
-0.006642707623541355,
0.03483212739229202,
0.007390315178781748,
0.05175480246543884,
0.02807886153459549,
-0.04113836586475372,
0.028395315632224083,
-0.031835488975048065,
0.009120974689722061,
0.010433265939354897,
-0.028220253065228462,
-0.03492496535181999,
-0.07424040138721466,
0.006025382317602634,
0.014676430262625217,
-0.012788834050297737,
-0.011714723892509937,
0.02989485301077366,
-0.0014357066247612238,
-0.018730618059635162,
-0.013256756588816643,
0.010699202306568623,
0.03110281564295292,
-0.06613898277282715,
0.04624595865607262,
0.003688956145197153,
0.014088252559304237,
-0.06145892292261124,
0.02804574742913246,
-0.04771284759044647,
-0.03857112675905228,
0.006575558800250292,
0.07205449789762497,
0.0002619381411932409,
0.0528375506401062,
0.07066021859645844,
0.026604725047945976,
-0.056064266711473465,
0.038154613226652145,
0.04859696701169014,
-0.005998892243951559,
-0.03837287053465843,
-0.021742980927228928,
-0.008440090343356133,
-0.014900099486112595,
-0.016903916373848915,
-0.030368434265255928,
0.03367546945810318,
0.027540862560272217,
0.0028337794356048107,
-0.0042426264844834805,
0.00016671954654157162,
-0.011893621645867825,
-0.03371121734380722,
-0.04197971150279045,
-0.004804418422281742,
-0.02139108069241047,
-0.011187879368662834,
0.041424088180065155,
0.02277878299355507,
0.014464580453932285,
0.04845832288265228,
0.024641163647174835,
0.00362012698315084,
-0.0325600691139698,
0.04345715045928955,
0.035394877195358276,
-0.08317476511001587,
-0.054720234125852585,
-0.0444524884223938,
0.051122453063726425,
0.0560830682516098,
-0.0172028336673975,
-0.09345021843910217,
0.027506329119205475,
0.059294480830430984,
-0.05522482469677925,
0.04328884556889534,
-0.018033208325505257,
0.04453429952263832,
0.0756077840924263,
-0.013301451690495014,
0.01974363997578621,
0.0005821548402309418,
0.02880888245999813,
-0.007486640941351652,
0.06680487841367722,
-0.024676544591784477,
-0.037381891161203384,
-0.06339927017688751,
0.03344612196087837,
0.02532242424786091,
0.03323061764240265,
0.028100615367293358,
-0.018751496449112892,
-0.024510951712727547,
0.03251124173402786,
0.0007156658102758229,
-0.0450984351336956,
0.007990061305463314,
0.04805649816989899,
0.042606551200151443,
-0.07902480661869049,
-0.024357393383979797,
-0.011261490173637867,
0.00701207434758544,
0.037519700825214386,
-0.00718509079888463,
-0.020717618986964226,
-0.07071509957313538,
0.03236468508839607,
-0.04785512760281563,
-0.02675832062959671,
-0.08476617187261581,
0.02340850606560707,
-0.021204601973295212,
-0.015779610723257065,
0.07054302841424942,
0.04135775566101074,
0.029082180932164192,
0.05360439419746399,
-0.01858172006905079,
0.014149090275168419,
-0.04209098964929581,
0.04600583761930466,
-0.040844134986400604,
-0.013027179054915905,
0.014880845323204994,
-0.028490714728832245,
-0.008104721084237099,
-0.025382909923791885,
-0.034599706530570984,
-0.04500570520758629,
-0.022144973278045654,
0.04148752987384796,
-0.017033986747264862,
-0.005181781481951475,
-0.024403657764196396,
0.025228457525372505,
-0.041612785309553146,
-0.04309442266821861,
-0.019989926367998123,
-0.015435787849128246,
-0.0419393815100193,
-0.06190856173634529,
0.03325754776597023,
0.0035750314127653837,
0.03249519318342209,
0.03489125519990921,
0.025759976357221603,
-0.00790162943303585,
0.0029454596806317568,
-0.026413191109895706,
0.035939812660217285,
-0.005993010476231575,
-0.02949584648013115,
-0.055997271090745926,
0.007144151721149683,
0.0018368045566603541,
0.00978199765086174,
-0.0408019945025444,
0.02510046400129795,
0.03268711268901825,
-0.03305964916944504,
-0.03149958699941635,
0.0062171220779418945,
0.024545080959796906,
-0.07005079090595245,
-0.05101819708943367,
-0.04202074557542801,
-0.06060429662466049,
0.03705429658293724,
-0.029017429798841476,
-0.025599146261811256,
0.0011106411693617702,
0.026478540152311325,
0.040417227894067764,
0.010102110914885998,
-0.03611445054411888,
0.05077200010418892,
-0.009822597727179527,
0.014718953520059586,
-0.06213980168104172,
0.010521487332880497,
-0.013746119104325771,
0.0010321886511519551,
-0.014713156037032604,
-0.011474228464066982,
-0.038142088800668716,
0.04286687821149826,
-0.02828282117843628,
-0.014999749138951302,
-0.032488688826560974,
0.01125523541122675,
-0.041232455521821976,
0.039442747831344604,
-0.027158547192811966,
0.019975870847702026,
-0.024550965055823326,
0.07448872178792953,
-0.09080743044614792,
-0.01397131010890007,
-0.02835574746131897,
-0.004706207662820816,
-0.04093410074710846,
0.02673999033868313,
-0.014684230089187622,
-0.022986629977822304,
0.006619572639465332,
0.028597887605428696,
0.02544032596051693,
0.020925601944327354,
-0.012300721369683743,
0.011819925159215927,
0.027383435517549515,
-0.03149846941232681,
-0.014509950764477253,
-0.023782750591635704,
-0.02430102229118347,
0.002604174194857478,
0.05997437983751297,
0.039159443229436874,
-0.051467522978782654,
-0.058854129165410995,
0.0501750111579895,
0.0034367034677416086,
0.008202831260859966,
0.0075365277007222176,
0.007329491898417473,
0.025292828679084778,
0.040111858397722244,
-0.04081611707806587,
-0.0031907176598906517,
-0.0059906113892793655,
-0.018501799553632736,
0.0006742484983988106,
0.011856373399496078,
0.02587101235985756,
0.01540989987552166,
-0.02736082300543785,
-0.03774993121623993,
0.06007273867726326,
0.026806097477674484,
0.030007820576429367,
0.00830797292292118,
-0.02612466737627983,
0.011894606053829193,
0.016566341742873192,
-0.017918376252055168,
0.006676499266177416,
-0.008273967541754246,
-0.036900024861097336,
0.04702317714691162,
-0.010660698637366295,
0.006222006399184465,
0.08717447519302368,
0.014398196712136269,
-0.05686696991324425,
0.06285443902015686,
-0.01360244583338499,
0.0044987015426158905,
0.04646182805299759,
-0.056412167847156525,
-0.025892745703458786,
-0.038538821041584015,
0.07822303473949432,
-0.04921463504433632,
0.03461211174726486,
0.03763306140899658,
0.0015467788325622678,
0.029469873756170273,
-0.03200751170516014,
-0.02117588184773922,
0.0028166617266833782,
-0.04037872329354286,
0.08140383660793304,
0.010936894454061985,
-0.0184906218200922,
0.07865111529827118,
0.025762442499399185,
-0.05411073565483093,
0.024860013276338577,
0.059222977608442307,
0.04508470371365547,
0.04352034628391266,
0.027431311085820198,
-0.05930950492620468,
-0.000322428037179634,
-0.031037529930472374,
0.0438401885330677,
-0.03380950912833214,
-0.0540153868496418,
0.016101570799946785,
-0.031871143728494644,
-0.01574990712106228,
0.018066421151161194,
-0.03055303916335106,
0.0012570023536682129,
0.04196104407310486,
-0.06985261291265488,
-0.04527237266302109,
0.0017685292987152934,
0.010787906125187874,
-0.04194276034832001,
-0.019770141690969467,
-0.048574406653642654,
0.029990561306476593,
0.02032356522977352,
0.006788552738726139,
-0.031457435339689255,
-0.009906466118991375,
0.023172706365585327,
-0.06957238912582397,
-0.048192113637924194,
0.03146408870816231,
-0.010211342945694923,
-0.04354318976402283,
0.04000749811530113,
-0.03959236294031143,
0.008316456340253353,
0.03338097780942917,
0.010950173251330853,
0.010741118341684341,
-0.042225319892168045,
0.016003374010324478,
0.002961138729006052,
0.0022921853233128786,
0.02208682708442211,
-0.00828302837908268,
0.008526804856956005,
0.006839138921350241,
0.03992807865142822,
0.0037177689373493195,
-0.08145791292190552,
-0.012415722943842411,
0.049074701964855194,
-0.021854935213923454,
0.011240280233323574,
-0.009673098102211952,
-0.06948516517877579,
-0.029593897983431816,
-0.020202593877911568,
-0.004932880401611328,
0.03731905296444893,
-0.044754549860954285,
0.005265655927360058,
0.018300125375390053,
-0.019165216013789177,
-0.04122908413410187,
-0.08778773993253708,
-0.020239146426320076,
-0.03708258271217346,
0.011954889632761478,
0.037724465131759644,
-0.0449477918446064,
0.03376959636807442,
-0.04762830212712288,
-0.05366598814725876,
0.010627671144902706,
0.01441080030053854,
-0.06283744424581528,
0.07651412487030029,
0.040460746735334396,
-0.03976475074887276,
0.010521301068365574,
0.044172901660203934,
-0.024379700422286987,
0.029317660257220268,
0.009552794508635998,
0.017058413475751877,
0.021742386743426323,
0.038058046251535416,
-0.005748237948864698,
-0.034731175750494,
-0.039623141288757324,
-0.044540565460920334,
-0.03041946515440941,
0.012279622256755829,
0.07153990864753723
] |
CBreit00/DialoGPT_small_Rick | [] | 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: de
datasets:
- deepset/germandpr
license: mit
---
## Overview
**Language model:** gbert-base-germandpr-reranking
**Language:** German
**Training data:** GermanDPR train set (~ 56MB)
**Eval data:** GermanDPR test set (~ 6MB)
**Infrastructure**: 1x V100 GPU
**Published**: June 3rd, 2021
## Details
- We trained a text pair classification model in FARM, which can be used for reranking in document retrieval tasks. To this end, the classifier calculates the similarity of the query and each retrieved top k document (e.g., k=10). The top k documents are then sorted by their similarity scores. The document most similar to the query is the best.
## Hyperparameters
```
batch_size = 16
n_epochs = 2
max_seq_len = 512 tokens for question and passage concatenated
learning_rate = 2e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
```
## Performance
We use the GermanDPR test dataset as ground truth labels and run two experiments to compare how a BM25 retriever performs with or without reranking with our model. The first experiment runs retrieval on the full German Wikipedia (more than 2 million passages) and second experiment runs retrieval on the GermanDPR dataset only (not more than 5000 passages). Both experiments use 1025 queries. Note that the second experiment is evaluating on a much simpler task because of the smaller dataset size, which explains strong BM25 retrieval performance.
### Full German Wikipedia (more than 2 million passages):
BM25 Retriever without Reranking
- recall@3: 0.4088 (419 / 1025)
- mean_reciprocal_rank@3: 0.3322
BM25 Retriever with Reranking Top 10 Documents
- recall@3: 0.5200 (533 / 1025)
- mean_reciprocal_rank@3: 0.4800
### GermanDPR Test Dataset only (not more than 5000 passages):
BM25 Retriever without Reranking
- recall@3: 0.9102 (933 / 1025)
- mean_reciprocal_rank@3: 0.8528
BM25 Retriever with Reranking Top 10 Documents
- recall@3: 0.9298 (953 / 1025)
- mean_reciprocal_rank@3: 0.8813
## Usage
### In haystack
You can load the model in [haystack](https://github.com/deepset-ai/haystack/) for reranking the documents returned by a Retriever:
```python
...
retriever = ElasticsearchRetriever(document_store=document_store)
ranker = FARMRanker(model_name_or_path="deepset/gbert-base-germandpr-reranking")
...
p = Pipeline()
p.add_node(component=retriever, name="ESRetriever", inputs=["Query"])
p.add_node(component=ranker, name="Ranker", inputs=["ESRetriever"])
)
```
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
0.017713207751512527,
-0.014026638120412827,
-0.030652154237031937,
0.07835402339696884,
0.014516164548695087,
0.02498391829431057,
-0.013803386129438877,
-0.022385720163583755,
-0.048680443316698074,
0.03890856355428696,
0.023068062961101532,
0.0014792418805882335,
-0.011922350153326988,
0.030004050582647324,
-0.0587182492017746,
-0.031184785068035126,
-0.0008614099933765829,
-0.0245059747248888,
-0.02960949018597603,
0.01793811470270157,
-0.048708993941545486,
-0.0011118768015876412,
-0.002397524658590555,
0.003632284002378583,
0.022181464359164238,
0.005916687659919262,
-0.022693390026688576,
0.03310852497816086,
0.03424171358346939,
-0.04558928683400154,
-0.013102581724524498,
-0.028017569333314896,
-0.050125110894441605,
-0.02729121409356594,
-0.015459147281944752,
-0.016180727630853653,
0.009448869153857231,
-0.010165861807763577,
0.025579070672392845,
0.04593629390001297,
-0.030936766415834427,
0.025889407843351364,
0.012839349918067455,
-0.03780285641551018,
0.03624209016561508,
-0.006867536809295416,
-0.03727758303284645,
-0.03218803182244301,
0.040981724858284,
-0.036016326397657394,
-0.0636756420135498,
-0.06588907539844513,
-0.054604995995759964,
0.01854468323290348,
0.004737569950520992,
-0.01756834052503109,
-0.055925238877534866,
-0.0041035497561097145,
0.05565018951892853,
-0.051179517060518265,
-0.04023957997560501,
0.004471863154321909,
-0.043654751032590866,
-0.005827983375638723,
0.034007564187049866,
-0.0374765545129776,
0.005857578478753567,
-0.04208873584866524,
0.0285395048558712,
-0.02469409443438053,
0.0707346647977829,
-0.04283354431390762,
0.036511100828647614,
-0.08472559601068497,
0.00817434024065733,
-0.00868382677435875,
0.011077155359089375,
0.03186121955513954,
-0.037699777632951736,
0.047373805195093155,
-0.009366672486066818,
0.001387226628139615,
0.018497737124562263,
-0.03526493161916733,
-0.003069019876420498,
0.06579221040010452,
-0.023327205330133438,
-0.008308968506753445,
-0.02479824610054493,
0.039606936275959015,
-0.02644290402531624,
-0.013581098057329655,
-0.028547925874590874,
-0.013708977028727531,
-0.0016199317760765553,
0.024299025535583496,
-0.001142351538874209,
-0.020165782421827316,
0.011971407569944859,
0.018082331866025925,
0.025947818532586098,
0.043053772300481796,
-0.017222832888364792,
0.057156290858983994,
0.007718607783317566,
-0.007303306367248297,
-0.02930118516087532,
-0.03279518336057663,
-0.051153313368558884,
0.017990509048104286,
0.04603388532996178,
-0.06337537616491318,
-0.037241432815790176,
0.04936535656452179,
0.026130130514502525,
-0.01221639383584261,
0.06146664917469025,
-0.02083747275173664,
-0.03627030551433563,
-0.062439676374197006,
0.04184526577591896,
0.004156461451202631,
0.03139739856123924,
-0.005128826480358839,
-0.04770275205373764,
0.019579747691750526,
-0.07284046709537506,
-0.030421124771237373,
0.011361111886799335,
0.008441793732345104,
-0.009601008147001266,
0.04878763109445572,
0.03570450469851494,
-0.062423888593912125,
0.0018196959281340241,
-0.0005000276723876595,
-0.054432597011327744,
0.02056283876299858,
0.041080571711063385,
0.10409904271364212,
-0.04565650597214699,
-0.04496551305055618,
0.020867835730314255,
0.021627042442560196,
-0.004435625858604908,
0.017612677067518234,
0.008222516626119614,
-0.021241961047053337,
-0.03176724538207054,
-0.005311823915690184,
0.052712902426719666,
-0.0339818149805069,
0.017995573580265045,
0.03774440288543701,
-0.012903504073619843,
0.05042710155248642,
-0.02438240684568882,
0.003982582129538059,
-0.009822561405599117,
-0.004284624010324478,
-0.02972416765987873,
0.02564072050154209,
-0.013538607396185398,
0.004238240420818329,
-0.039681658148765564,
-0.027361392974853516,
0.018623074516654015,
0.09937839210033417,
0.000055380940466420725,
-0.029838846996426582,
-0.040444012731313705,
0.014911554753780365,
0.06162846460938454,
0.055405814200639725,
-0.014551250264048576,
0.05751897022128105,
0.029554881155490875,
0.033328887075185776,
-0.016272645443677902,
0.0364464707672596,
-0.004458001349121332,
-0.02981204353272915,
-0.03031548671424389,
0.021432166919112206,
-0.0034603832755237818,
-0.023923132568597794,
0.017823966220021248,
0.03740589693188667,
0.0017046352149918675,
-0.01889585144817829,
-0.018288757652044296,
0.07088695466518402,
-0.045078396797180176,
-0.009933730587363243,
0.01467276830226183,
0.0197575893253088,
-0.028192531317472458,
0.038246482610702515,
-0.0377739816904068,
-0.006258869543671608,
0.001754519296810031,
-0.028438230976462364,
0.04735222086310387,
0.013255070894956589,
0.009825845248997211,
0.03338104486465454,
-0.009620903059840202,
0.08017890900373459,
-0.04478847235441208,
0.023240266367793083,
-0.05071094259619713,
-0.01949305832386017,
-0.021429257467389107,
0.025374772027134895,
0.03046277165412903,
0.028828073292970657,
-0.017823785543441772,
-0.057414695620536804,
0.03917586803436279,
0.05158180743455887,
0.059838056564331055,
0.05619049444794655,
-0.025568021461367607,
-0.003727894276380539,
0.04820146784186363,
0.0423157662153244,
-0.03220721706748009,
-0.026553140953183174,
0.0035995603539049625,
0.050134677439928055,
-0.014346042647957802,
0.008986528031527996,
-0.019941773265600204,
-0.01045266818255186,
-0.04863523691892624,
-0.05740366503596306,
0.056446049362421036,
0.028839673846960068,
-0.0039503611624240875,
0.03977051004767418,
-0.015523629263043404,
0.02141096629202366,
0.018477683886885643,
0.023147955536842346,
-0.010391336865723133,
-0.06007099151611328,
0.008561013266444206,
0.016298897564411163,
0.03959905356168747,
-0.04019126296043396,
0.028662847355008125,
-0.00005327890539774671,
0.0024655996821820736,
0.02558642067015171,
-0.016711432486772537,
0.03134504705667496,
0.02688174694776535,
-0.015566004440188408,
-0.03521930053830147,
0.024938641116023064,
0.04036775231361389,
0.007782957050949335,
0.09012965857982635,
-0.004417973570525646,
0.040279682725667953,
0.03269004821777344,
0.054742421954870224,
0.08456460386514664,
0.01871226727962494,
0.010750379413366318,
0.030361030250787735,
0.046336106956005096,
-0.00815317127853632,
-0.02034209482371807,
0.04610764980316162,
-0.0580449141561985,
0.022003132849931717,
-0.037774212658405304,
-0.0031499580945819616,
-0.00585715239867568,
-0.007643748074769974,
0.037222642451524734,
0.02509157359600067,
-0.02177022583782673,
0.033385034650564194,
-0.0014154391828924417,
-0.018075425177812576,
0.035497888922691345,
0.012134956195950508,
0.006558236200362444,
-0.007633252069354057,
0.0012208332773298025,
0.02334119752049446,
-0.0677257627248764,
-0.0748990997672081,
-0.02075316570699215,
-0.03119751065969467,
0.001319283270277083,
-0.08772019296884537,
-0.02600572444498539,
-0.08538061380386353,
-0.039216335862874985,
0.05620250105857849,
0.027379637584090233,
-0.013322263956069946,
-0.010881449095904827,
-0.0002383122337050736,
-0.030371511355042458,
-0.026787208393216133,
-0.0757487341761589,
-0.020330993458628654,
-0.0686151310801506,
-0.09016723930835724,
0.042817290872335434,
0.03387022763490677,
0.03486506640911102,
0.011289459653198719,
-0.0044639031402766705,
-0.03156030550599098,
-0.029604416340589523,
0.058374565094709396,
0.03563850745558739,
-0.021583588793873787,
-0.04275885224342346,
0.014148362912237644,
-0.014140008948743343,
0.024135909974575043,
0.0022641862742602825,
-0.03786501660943031,
0.09153842180967331,
0.07133951783180237,
0.0189713966101408,
0.017985068261623383,
0.012145977467298508,
-0.01580054685473442,
-0.04439348354935646,
-0.03967395797371864,
-0.04641708731651306,
-0.02401309460401535,
-0.04137628525495529,
-0.03713250905275345,
0.0006549340905621648,
-0.013597612269222736,
0.009014814160764217,
0.006961355917155743,
-0.006430609617382288,
0.05155523866415024,
0.056423407047986984,
0.03849572315812111,
0.026153260841965675,
-0.03228556364774704,
-0.022799039259552956,
0.0936703085899353,
-0.005952419713139534,
0.0042171417735517025,
-0.06107413023710251,
-0.03403600677847862,
0.053117454051971436,
0.015263623557984829,
0.017445657402276993,
-0.026127705350518227,
0.053600769490003586,
0.013406681828200817,
0.014563456177711487,
0.01081914734095335,
-0.0340641550719738,
-0.050943199545145035,
0.03401776775717735,
-0.023196713998913765,
-0.0421312116086483,
-0.03678488731384277,
-0.06221400201320648,
-0.006230636965483427,
0.03845934942364693,
-0.06422939896583557,
-0.05035047233104706,
-0.019049854949116707,
0.012806993909180164,
0.029249686747789383,
-0.0024827730376273394,
-0.049189493060112,
0.02561120130121708,
-0.036576397716999054,
-0.035589758306741714,
0.027836281806230545,
0.009200934320688248,
0.018089555203914642,
0.037812650203704834,
0.011451796628534794,
-0.0032455865293741226,
0.030768388882279396,
0.020193837583065033,
0.04592149332165718,
0.017558636143803596,
-0.053417354822158813,
0.018398534506559372,
-0.00617190869525075,
0.0065287332981824875,
-0.019859766587615013,
-0.02780427597463131,
-0.0464315190911293,
-0.07097405940294266,
0.0044085257686674595,
0.007530898321419954,
-0.007592155132442713,
-0.018608570098876953,
0.04250752925872803,
0.0015214451123028994,
-0.01639528013765812,
-0.00023223139578476548,
0.019469959661364555,
0.029702024534344673,
-0.05154051631689072,
0.04199204221367836,
0.010623089037835598,
0.02333899214863777,
-0.07278037071228027,
0.018585551530122757,
-0.05114074423909187,
-0.014206050895154476,
0.005029681604355574,
0.07338953018188477,
0.008492199704051018,
0.03720599412918091,
0.05751342326402664,
0.03358747437596321,
-0.0571017786860466,
0.0356467068195343,
0.049607373774051666,
-0.004523758310824633,
-0.026570983231067657,
-0.025469377636909485,
-0.003317470196634531,
-0.01944485865533352,
-0.0023446178529411554,
-0.02920924313366413,
0.044019654393196106,
0.02241806872189045,
-0.004644747357815504,
-0.017697136849164963,
-0.016488172113895416,
-0.008836161345243454,
-0.04570205137133598,
-0.04091356322169304,
-0.009385431185364723,
-0.021126577630639076,
-0.02766820229589939,
0.02745598740875721,
0.03576669842004776,
0.005855869501829147,
0.06042204797267914,
0.047055166214704514,
-0.013012278825044632,
-0.026062019169330597,
0.041324518620967865,
0.04030170664191246,
-0.05256948247551918,
-0.05769822746515274,
-0.06193165481090546,
0.05638349801301956,
0.04721338674426079,
-0.0046659125946462154,
-0.09220680594444275,
0.018058257177472115,
0.03946496546268463,
-0.06256193667650223,
0.0631650909781456,
-0.00000992397872323636,
0.03280986472964287,
0.0661202073097229,
-0.008130690082907677,
0.030080420896410942,
-0.0006626392714679241,
0.01839933544397354,
-0.00845604483038187,
0.07272760570049286,
-0.022271905094385147,
-0.03484143689274788,
-0.03421555086970329,
0.05651254206895828,
0.03715809807181358,
0.060086604207754135,
0.028621990233659744,
-0.021979225799441338,
-0.03479773551225662,
0.01696280762553215,
0.011352652683854103,
-0.04282504320144653,
0.020260244607925415,
0.058101676404476166,
0.04640212282538414,
-0.06811690330505371,
-0.038265619426965714,
-0.017811669036746025,
0.0036020700354129076,
0.022675607353448868,
0.0038880619686096907,
-0.046861305832862854,
-0.07657064497470856,
0.022869449108839035,
-0.03309837728738785,
-0.007023464888334274,
-0.10397139936685562,
0.023652952164411545,
-0.0065898834727704525,
-0.0326702743768692,
0.0557795874774456,
0.05057544261217117,
0.03013341873884201,
0.056868135929107666,
-0.006087649147957563,
0.002567328978329897,
-0.04862529784440994,
0.041762836277484894,
-0.03149943798780441,
0.00602937676012516,
0.010081324726343155,
-0.046319108456373215,
0.02220027521252632,
-0.02544468268752098,
-0.04530446603894234,
-0.051484983414411545,
-0.012353681027889252,
0.024804918095469475,
-0.010923914611339569,
0.004112685564905405,
-0.0454646535217762,
0.019455846399068832,
-0.04972434043884277,
-0.01867281086742878,
-0.033382438123226166,
-0.015600539743900299,
-0.060512516647577286,
-0.052821628749370575,
0.007177451625466347,
0.001264865044504404,
0.02609822154045105,
0.023687852546572685,
0.024566655978560448,
-0.00040232183528132737,
-0.0030143691692501307,
-0.03928242623806,
0.04746893048286438,
-0.007975168526172638,
-0.022239571437239647,
-0.04190640151500702,
0.025357741862535477,
0.0008425161940976977,
0.0227259062230587,
-0.03727573901414871,
0.013829848729074001,
0.0449715293943882,
-0.030698226764798164,
-0.02413231134414673,
0.014314834959805012,
0.03802240267395973,
-0.06820537149906158,
-0.04461019113659859,
-0.03540780767798424,
-0.04441355541348457,
0.048139818012714386,
-0.03505698963999748,
-0.04162084311246872,
-0.026929505169391632,
0.019325677305459976,
0.04354211688041687,
0.0022050817497074604,
-0.05402281507849693,
0.0309667456895113,
-0.0073885261081159115,
0.03787769377231598,
-0.06485820561647415,
0.018516378477215767,
-0.022935640066862106,
0.005458356812596321,
-0.014771336689591408,
-0.012862072326242924,
-0.04184451699256897,
0.04249337688088417,
-0.014122159220278263,
-0.02538859099149704,
-0.04020053893327713,
0.013541058637201786,
-0.039934415370225906,
0.021935854107141495,
-0.03036755882203579,
0.0032755781430751085,
-0.0031586468685418367,
0.06306865066289902,
-0.06897419691085815,
-0.01970069482922554,
-0.023170720785856247,
0.006468114908784628,
-0.04198082908987999,
0.012804082594811916,
-0.025064148008823395,
-0.027175525203347206,
0.021129537373781204,
0.027791114524006844,
0.019596949219703674,
0.01918874680995941,
0.004046866204589605,
0.01857759617269039,
0.047018978744745255,
-0.03857672959566116,
-0.006923710461705923,
-0.01352375652641058,
-0.01843622699379921,
0.0030950468499213457,
0.06365923583507538,
0.038327157497406006,
-0.050369445234537125,
-0.038836535066366196,
0.042120594531297684,
0.013646240346133709,
0.007722949143499136,
-0.0035564040299504995,
-0.0004860099288634956,
0.021253906190395355,
0.03458935767412186,
-0.06374607235193253,
-0.0023146546445786953,
-0.018585724756121635,
-0.017788037657737732,
0.018421903252601624,
0.011067741550505161,
0.023587824776768684,
0.010952500626444817,
-0.018050288781523705,
-0.033079978078603745,
0.04708736762404442,
0.009929808788001537,
0.01089518703520298,
-0.007192003075033426,
-0.04113700985908508,
0.023990366607904434,
0.030315805226564407,
-0.035624586045742035,
-0.008614351972937584,
0.0016022365307435393,
-0.03739156574010849,
0.06160452216863632,
-0.03439567983150482,
-0.006572593003511429,
0.06759123504161835,
0.03717334568500519,
-0.01042713038623333,
0.06909268349409103,
-0.036781057715415955,
-0.004019570536911488,
0.05074383690953255,
-0.06943349540233612,
-0.03970476984977722,
-0.03453986346721649,
0.08692417293787003,
-0.05315212532877922,
0.04820428416132927,
0.038826748728752136,
-0.0005738965119235218,
0.03386164456605911,
-0.010015959851443768,
-0.012791607528924942,
0.006461236625909805,
-0.045866839587688446,
0.08900215476751328,
0.02016344852745533,
-0.028390396386384964,
0.07239200174808502,
0.020983904600143433,
-0.06612158566713333,
0.03663961961865425,
0.04890001192688942,
0.05487706884741783,
0.03512917831540108,
0.020169652998447418,
-0.04950251430273056,
0.01256432756781578,
-0.05140097811818123,
0.023866809904575348,
-0.02624943107366562,
-0.039218418300151825,
-0.000015392750356113538,
-0.029816268011927605,
-0.002433217829093337,
0.03807951509952545,
-0.044610459357500076,
-0.00546628562733531,
0.04083243012428284,
-0.06196051463484764,
-0.041102081537246704,
0.005580430384725332,
0.015000598505139351,
-0.031340569257736206,
-0.022031860426068306,
-0.048619840294122696,
0.038310613483190536,
0.014586432836949825,
-0.005308226216584444,
-0.028984079137444496,
-0.0013173489132896066,
0.024672094732522964,
-0.08267692476511002,
-0.05605160444974899,
0.039113882929086685,
-0.00013874107389710844,
-0.051490578800439835,
0.03995183855295181,
-0.02224382385611534,
0.02151532843708992,
0.034136831760406494,
0.007388005033135414,
0.004904326982796192,
-0.025833148509263992,
0.026239914819598198,
0.005768963135778904,
-0.009622924961149693,
0.03949673846364021,
-0.030712313950061798,
0.019926879554986954,
0.015820689499378204,
0.047594763338565826,
-0.009602595120668411,
-0.06777969002723694,
-0.014515508897602558,
0.042256973683834076,
-0.011668642051517963,
0.002164561068639159,
-0.020403197035193443,
-0.052230093628168106,
-0.03022667206823826,
-0.014181801117956638,
-0.029243148863315582,
0.02764994278550148,
-0.04343537613749504,
0.005899567157030106,
0.025707049295306206,
-0.012523483484983444,
-0.040591660887002945,
-0.10049719363451004,
-0.014506876468658447,
-0.03138524666428566,
0.019172128289937973,
0.028513088822364807,
-0.0365544930100441,
0.03670729696750641,
-0.03202219307422638,
-0.040524035692214966,
0.016674106940627098,
0.012847283855080605,
-0.05328354239463806,
0.06353221088647842,
0.024327704682946205,
-0.024332787841558456,
0.014981704764068127,
0.04476446285843849,
-0.04296894371509552,
0.02326543629169464,
0.0178923811763525,
0.012724395841360092,
0.027763649821281433,
0.032693181186914444,
-0.038283899426460266,
-0.022912900894880295,
-0.04493581876158714,
-0.06328608840703964,
-0.016875604167580605,
-0.004297828767448664,
0.05167847499251366
] |
CL/safe-math-bot | [] | null | {
"architectures": null,
"model_type": null,
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 0 | null | ---
language: de
license: mit
datasets:
- wikipedia
- OPUS
- OpenLegalData
---
# German BERT base
Released, Oct 2020, this is a German BERT language model trained collaboratively by the makers of the original German BERT (aka "bert-base-german-cased") and the dbmdz BERT (aka bert-base-german-dbmdz-cased). In our [paper](https://arxiv.org/pdf/2010.10906.pdf), we outline the steps taken to train our model and show that it outperforms its predecessors.
## Overview
**Paper:** [here](https://arxiv.org/pdf/2010.10906.pdf)
**Architecture:** BERT base
**Language:** German
## Performance
```
GermEval18 Coarse: 78.17
GermEval18 Fine: 50.90
GermEval14: 87.98
```
See also:
deepset/gbert-base
deepset/gbert-large
deepset/gelectra-base
deepset/gelectra-large
deepset/gelectra-base-generator
deepset/gelectra-large-generator
## Authors
Branden Chan: `branden.chan [at] deepset.ai`
Stefan Schweter: `stefan [at] schweter.eu`
Timo MΓΆller: `timo.moeller [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.004453863017261028,
-0.0031772044021636248,
-0.02508283033967018,
0.05390122905373573,
0.029131358489394188,
0.03621094673871994,
0.006579888053238392,
0.006827362347394228,
-0.017580218613147736,
0.06461400538682938,
-0.0012697051279246807,
-0.018368029966950417,
0.016022169962525368,
0.03251015022397041,
-0.033345840871334076,
-0.03188493847846985,
0.00851618591696024,
-0.00915839709341526,
-0.06816688179969788,
-0.015510756522417068,
-0.010580073110759258,
-0.005623217672109604,
-0.007696263492107391,
0.010495242662727833,
-0.012509358115494251,
0.007261252496391535,
-0.0217125304043293,
0.03724510595202446,
0.025166606530547142,
-0.07319952547550201,
-0.008758388459682465,
-0.022518400102853775,
-0.03956910967826843,
-0.028239408507943153,
-0.018466291949152946,
0.016330668702721596,
0.03180310130119324,
0.016716547310352325,
0.04395313933491707,
0.039683014154434204,
0.0011910629691556096,
-0.002701287157833576,
0.0150550976395607,
-0.03335549309849739,
0.03265978395938873,
-0.003402611706405878,
-0.01977713033556938,
-0.03550326079130173,
0.028381912037730217,
-0.053853124380111694,
-0.04508880898356438,
-0.04761313274502754,
-0.030642952769994736,
0.025512224063277245,
-0.007234856486320496,
-0.005591895896941423,
-0.07018598169088364,
-0.011086172424256802,
0.07944902032613754,
-0.05663469433784485,
-0.053792618215084076,
0.03401768580079079,
-0.062092363834381104,
-0.01793980970978737,
0.03975881636142731,
-0.05601739138364792,
-0.016464198008179665,
-0.039634644985198975,
0.028270665556192398,
-0.008983802981674671,
0.03486314415931702,
-0.01825270801782608,
0.03249930217862129,
-0.05936836823821068,
0.0010720030404627323,
-0.025171132758259773,
0.02513398602604866,
0.043609000742435455,
-0.05203520506620407,
0.03739254176616669,
0.01935793086886406,
-0.0071362704038619995,
0.026251250877976418,
-0.02501065656542778,
0.000442326971096918,
0.04569117724895477,
-0.02208295650780201,
0.0019220552640035748,
0.03351898863911629,
0.02758009172976017,
-0.03226787969470024,
-0.043191660195589066,
-0.034925222396850586,
-0.019458096474409103,
-0.0025206676218658686,
0.010111013427376747,
0.03694199398159981,
-0.01136818528175354,
0.010774278081953526,
0.04212024062871933,
0.006694008596241474,
0.051530443131923676,
-0.0320272259414196,
0.047553081065416336,
-0.02243887446820736,
-0.008191987872123718,
-0.011056066490709782,
-0.030837787315249443,
-0.06259184330701828,
0.017311908304691315,
0.025492655113339424,
-0.03135498985648155,
-0.01993712969124317,
0.05873538553714752,
0.009613467380404472,
0.0008731705602258444,
0.05466213822364807,
-0.020073117688298225,
-0.05784739553928375,
-0.0667203962802887,
0.04566717892885208,
0.0011059700045734644,
0.00834317784756422,
0.02945876680314541,
-0.07542167603969574,
0.006386897526681423,
-0.06262434273958206,
-0.04862302169203758,
-0.006207470316439867,
0.0069887968711555,
-0.013371492736041546,
0.056951362639665604,
0.03789892420172691,
-0.06230301409959793,
0.035709232091903687,
-0.014902123250067234,
-0.06257611513137817,
0.04531801491975784,
0.03679941967129707,
0.10622349381446838,
-0.039195336401462555,
-0.022895652800798416,
0.024776378646492958,
0.016660861670970917,
-0.035215724259614944,
0.0002352561423322186,
-0.013977844268083572,
-0.008943624794483185,
-0.010657156817615032,
-0.00468234671279788,
0.04902792349457741,
-0.04781809821724892,
-0.015310253947973251,
0.0599336177110672,
-0.033284179866313934,
0.07753143459558487,
-0.03206199035048485,
-0.010570977814495564,
-0.005242828279733658,
-0.018836600705981255,
-0.05033644288778305,
0.028832897543907166,
-0.02080470509827137,
-0.023407232016324997,
-0.054928917437791824,
-0.0353628471493721,
0.0196226816624403,
0.10815069824457169,
-0.008644814603030682,
-0.009893129579722881,
-0.03834258392453194,
0.005836864467710257,
0.052743468433618546,
0.022228389978408813,
-0.05361112207174301,
0.03378770872950554,
0.03547167405486107,
0.01440418977290392,
0.019733412191271782,
0.07154328376054764,
0.011217094026505947,
-0.0242144875228405,
-0.01755170151591301,
0.03860887885093689,
0.010628544725477695,
-0.0257711261510849,
0.012974430806934834,
0.03579254448413849,
0.01785304956138134,
-0.03382203355431557,
-0.025978893041610718,
0.06302187591791153,
-0.026619892567396164,
0.0038800202310085297,
0.015427840873599052,
0.005147262010723352,
-0.023627227172255516,
0.05441644787788391,
-0.00024373507767450064,
0.005923164077103138,
-0.04322654753923416,
-0.001048751175403595,
0.014252904802560806,
0.021332597360014915,
0.04362385347485542,
0.06492038816213608,
0.012268010526895523,
0.09080681204795837,
-0.04523388296365738,
-0.007267709821462631,
-0.05270520970225334,
-0.027633432298898697,
0.0008303339709527791,
0.070746511220932,
0.0561990961432457,
0.036431003361940384,
-0.0235972311347723,
-0.0654945969581604,
0.03861638158559799,
0.04507085680961609,
0.05791492760181427,
-0.004526255652308464,
-0.03652280569076538,
-0.011600225232541561,
0.04134637489914894,
0.03152415156364441,
-0.04126889631152153,
-0.07209350913763046,
-0.007021451834589243,
0.06590703129768372,
-0.022729281336069107,
0.021264882758259773,
-0.03321472182869911,
0.007498708087950945,
-0.04638179764151573,
-0.044011302292346954,
0.04596880078315735,
0.010219756513834,
0.0157396849244833,
0.030768515542149544,
-0.000980282318778336,
-0.0025216026697307825,
0.007551565300673246,
0.024604639038443565,
0.008758706972002983,
-0.03554176911711693,
0.002251529600471258,
0.02241533249616623,
0.06329675018787384,
-0.03632362559437752,
0.06350836902856827,
-0.0022271559573709965,
0.022150421515107155,
0.0210266076028347,
-0.031388260424137115,
0.03389972448348999,
0.043682411313056946,
-0.02131303772330284,
-0.031121334061026573,
0.03403903916478157,
0.019215242937207222,
0.04393625259399414,
0.07231166213750839,
-0.009808720089495182,
0.0636448860168457,
0.02933402732014656,
0.05204468593001366,
0.08890442550182343,
0.015292380005121231,
0.03295315429568291,
0.026266776025295258,
0.07148689031600952,
-0.0030026808381080627,
-0.016107147559523582,
0.04516773670911789,
-0.04785549268126488,
0.008059783838689327,
-0.05001820996403694,
-0.004897453356534243,
0.015113686211407185,
-0.012378701008856297,
0.03281635418534279,
0.022525163367390633,
-0.011156844906508923,
0.002167124766856432,
-0.003676749998703599,
-0.005004225764423609,
0.044099096208810806,
-0.0009891989175230265,
0.032844673842191696,
-0.007190743461251259,
-0.01629657670855522,
0.02227797359228134,
-0.06742958724498749,
-0.05722168833017349,
-0.006198933348059654,
-0.033205971121788025,
0.014294371008872986,
-0.062757708132267,
-0.030575251206755638,
-0.06221228465437889,
0.004785569384694099,
0.04601846635341644,
0.012624593451619148,
-0.02175786718726158,
-0.05064192786812782,
0.01682409830391407,
-0.0270940363407135,
-0.025380458682775497,
-0.05899977684020996,
-0.05319691821932793,
-0.051850203424692154,
-0.06943542510271072,
0.04730317369103432,
0.014278043061494827,
0.04128272831439972,
-0.0017417623894289136,
0.028428256511688232,
-0.009417188353836536,
-0.03413921222090721,
0.0408690944314003,
0.05417225882411003,
-0.03982911258935928,
-0.02662884071469307,
0.014638169668614864,
-0.017078209668397903,
0.024946097284555435,
0.008049438707530499,
-0.021148627623915672,
0.08190494775772095,
0.053455546498298645,
0.026360882446169853,
0.010169670917093754,
-0.016034133732318878,
-0.05006246641278267,
-0.04716433957219124,
-0.04190470278263092,
-0.054814014583826065,
-0.012835608795285225,
-0.0472194068133831,
-0.03308126702904701,
-0.020123044028878212,
-0.017040520906448364,
0.024184294044971466,
-0.018751058727502823,
0.011678219772875309,
0.024135950952768326,
0.031128890812397003,
0.02814335562288761,
0.02479821816086769,
-0.03332821652293205,
-0.022684572264552116,
0.07005912065505981,
0.020893432199954987,
0.007466533221304417,
-0.07946231216192245,
-0.031639330089092255,
0.04276767745614052,
0.0361383855342865,
0.01608862169086933,
-0.004569403361529112,
0.07631233334541321,
0.005641975440084934,
0.0016008159145712852,
-0.00597676495090127,
-0.014124838635325432,
-0.05313597619533539,
0.00022538572375196964,
-0.009045911952853203,
-0.037191879004240036,
-0.034151460975408554,
-0.03208572417497635,
0.0274069644510746,
0.03472607582807541,
-0.04719270393252373,
-0.04506051540374756,
-0.0015881037106737494,
0.05986843258142471,
0.01412896253168583,
-0.0055826264433562756,
-0.021002760156989098,
-0.005735809914767742,
-0.035543300211429596,
-0.04875599592924118,
-0.03171699866652489,
0.016108065843582153,
0.0237853042781353,
0.02141035720705986,
0.009265449829399586,
-0.03921535611152649,
0.03220139071345329,
0.029097603633999825,
0.055834878236055374,
0.011636056005954742,
-0.0521109439432621,
0.03811459243297577,
-0.039101459085941315,
0.0063931322656571865,
-0.026961326599121094,
-0.017013663426041603,
-0.05443216487765312,
-0.0616910383105278,
0.011365175247192383,
0.005275977775454521,
-0.0032951494213193655,
-0.007263513747602701,
0.05160371586680412,
-0.04082412272691727,
0.01304404716938734,
-0.0018985867500305176,
-0.004154514987021685,
0.02144080400466919,
-0.04139379411935806,
0.06860702484846115,
-0.024089055135846138,
0.015241407789289951,
-0.05467383563518524,
0.03248991817235947,
-0.029093358665704727,
-0.025858720764517784,
0.01918068155646324,
0.06406388431787491,
0.010306780226528645,
0.05565253272652626,
0.0897514596581459,
0.037447523325681686,
-0.03950800374150276,
0.026994816958904266,
0.03417914733290672,
-0.015623006969690323,
-0.03286561369895935,
-0.011619617231190205,
-0.002321886597201228,
-0.03993877395987511,
-0.012518228031694889,
-0.030639350414276123,
0.027104459702968597,
0.024257494136691093,
-0.00026760739274322987,
-0.04254359006881714,
0.010607179254293442,
-0.006690486799925566,
-0.03310849517583847,
-0.05539995804429054,
-0.05323250591754913,
0.007120931055396795,
-0.0025065524969249964,
0.059742845594882965,
0.030594417825341225,
0.02194048836827278,
0.05924477428197861,
0.03647524490952492,
-0.015445137396454811,
-0.007876706309616566,
0.02565852738916874,
0.037126898765563965,
-0.03804406151175499,
-0.059156663715839386,
-0.05322476848959923,
0.0630432665348053,
0.06964088976383209,
-0.0074257440865039825,
-0.0843331441283226,
-0.01572779007256031,
0.07273209095001221,
-0.03255409747362137,
0.05471424385905266,
-0.0004959939396940172,
0.040978919714689255,
0.056678421795368195,
-0.01777011714875698,
0.010955985635519028,
-0.026114879176020622,
0.008171230554580688,
-0.012364410795271397,
0.024687716737389565,
-0.04363618791103363,
-0.04884824529290199,
-0.03417463228106499,
0.02001458965241909,
0.030545249581336975,
0.055261239409446716,
0.0436895377933979,
-0.04589024558663368,
-0.03447863832116127,
0.02006213553249836,
0.028185907751321793,
-0.05894947424530983,
-0.0007775889826007187,
0.028005076572299004,
0.03868260234594345,
-0.03940935432910919,
-0.029961762949824333,
-0.028795434162020683,
-0.002941177226603031,
0.025680411607027054,
0.018968850374221802,
-0.03448909893631935,
-0.0816858634352684,
0.026711754500865936,
-0.04944140464067459,
-0.03983746096491814,
-0.09321767091751099,
0.020784195512533188,
-0.0380643829703331,
-0.015462888404726982,
0.04206870123744011,
0.009022329933941364,
0.04029519483447075,
0.05951208621263504,
-0.0041577136144042015,
-0.0029824976809322834,
-0.05679649859666824,
0.032540250569581985,
0.0015297471545636654,
-0.0029527591541409492,
0.010564934462308884,
-0.017729472368955612,
-0.024173691868782043,
-0.02688501589000225,
-0.05308830365538597,
-0.058187808841466904,
-0.007242442108690739,
0.01549383345991373,
-0.01831640675663948,
0.006599018350243568,
-0.02736213058233261,
0.03330052271485329,
-0.013940487056970596,
-0.02431996911764145,
-0.006447881460189819,
-0.02425321750342846,
-0.07333184778690338,
-0.033139415085315704,
0.018986964598298073,
0.01979871839284897,
0.0118031594902277,
0.03407526761293411,
0.011594535782933235,
-0.02325727418065071,
0.01591520570218563,
-0.03557645156979561,
0.04994742572307587,
-0.006999651435762644,
-0.04149159789085388,
-0.04049844294786453,
0.0016703431028872728,
0.020126573741436005,
0.029260683804750443,
-0.0327872708439827,
0.037066031247377396,
0.011459206230938435,
-0.02763616479933262,
-0.0051746852695941925,
0.011969965882599354,
0.042412132024765015,
-0.07595746219158173,
-0.05803826078772545,
-0.03599659726023674,
-0.041465628892183304,
0.037635788321495056,
-0.03423275426030159,
-0.02479555644094944,
0.04096703231334686,
0.030746713280677795,
0.04923315346240997,
-0.019774271175265312,
-0.038481950759887695,
0.01172682922333479,
-0.000020845183826168068,
0.028232190757989883,
-0.04312165454030037,
0.07326103746891022,
-0.038051579147577286,
0.00780518027022481,
0.003941185772418976,
-0.015785543248057365,
-0.05940895527601242,
0.029984384775161743,
-0.015144851990044117,
-0.003935599233955145,
-0.02325410023331642,
0.014488041400909424,
-0.02759033441543579,
0.030780700966715813,
-0.02122160606086254,
0.02582523413002491,
-0.016883322969079018,
0.04368693754076958,
-0.04376906156539917,
-0.015843382105231285,
-0.0014613654930144548,
0.013929837383329868,
-0.048027403652668,
-0.01683783158659935,
0.0019112899899482727,
-0.04868195950984955,
0.004448890220373869,
0.0427568294107914,
0.04252701252698898,
0.02291812188923359,
-0.02689303271472454,
-0.007170940283685923,
0.022790420800447464,
-0.04109834507107735,
-0.00044851243728771806,
-0.017487984150648117,
0.0013668194878846407,
-0.01826075091958046,
0.05219331756234169,
0.026257673278450966,
-0.04515378177165985,
-0.0712420865893364,
0.03750030696392059,
0.009504270739853382,
0.007055381312966347,
0.004719462711364031,
0.013108314014971256,
0.01718125119805336,
0.02915765345096588,
-0.04045307636260986,
-0.0027930797077715397,
0.0006261543021537364,
-0.012091509066522121,
0.004711222369223833,
-0.019221145659685135,
0.023654816672205925,
0.021304065361618996,
-0.014681564643979073,
-0.002501373179256916,
0.054951105266809464,
0.003828504355624318,
-0.0028402868192642927,
0.004108668304979801,
-0.02500970847904682,
0.03915933519601822,
0.013108080253005028,
-0.05320638418197632,
-0.015480637550354004,
-0.005694020073860884,
-0.052016694098711014,
0.06175082549452782,
-0.004121492151170969,
0.0153117086738348,
0.055833470076322556,
-0.00756423082202673,
-0.02288063056766987,
0.05629490688443184,
-0.022515881806612015,
-0.010471433401107788,
0.03907535597681999,
-0.0679759755730629,
-0.006494283210486174,
-0.036973048001527786,
0.06572338938713074,
-0.056170087307691574,
0.05918741971254349,
0.054957903921604156,
0.03209767863154411,
0.029295723885297775,
-0.04548167809844017,
-0.028453875333070755,
0.02359219454228878,
-0.02445809729397297,
0.05630195513367653,
0.014142340049147606,
-0.04761364310979843,
0.07211647927761078,
0.020063918083906174,
-0.07652299106121063,
0.041358012706041336,
0.038544122129678726,
0.03746282309293747,
0.03119402565062046,
0.039001867175102234,
-0.043670348823070526,
0.013537852093577385,
-0.0606083981692791,
0.016279375180602074,
-0.0707714855670929,
-0.002327007707208395,
0.018295258283615112,
-0.038947973400354385,
-0.007872609421610832,
0.029202556237578392,
-0.02820494771003723,
0.022902848199009895,
0.03634677082300186,
-0.060959480702877045,
-0.02580410987138748,
0.01458803005516529,
0.026906929910182953,
-0.05239921063184738,
0.0071756900288164616,
-0.028579039499163628,
0.027199361473321915,
0.012359505519270897,
0.010645845904946327,
-0.02728433720767498,
-0.007924745790660381,
0.03555948659777641,
-0.06400160491466522,
-0.03371651470661163,
0.023956429213285446,
0.010872388258576393,
-0.04925772175192833,
0.02931465208530426,
-0.011294196359813213,
-0.0007530248840339482,
0.026887236163020134,
0.007280530408024788,
0.011540411971509457,
-0.035921771079301834,
-0.011752629652619362,
0.014686738140881062,
0.00401453860104084,
0.01467917487025261,
-0.011817246675491333,
0.013758237473666668,
0.0345323383808136,
0.03882308676838875,
-0.02116391807794571,
-0.043813835829496384,
-0.028734738007187843,
0.03894554451107979,
-0.02333514578640461,
-0.007867064327001572,
-0.02653437852859497,
-0.058267414569854736,
-0.02713252790272236,
-0.020868945866823196,
-0.010548558086156845,
0.010357401333749294,
-0.04122751206159592,
0.0017893454059958458,
0.0425335131585598,
-0.019969645887613297,
-0.03722161054611206,
-0.08006308972835541,
-0.011688081547617912,
-0.041722752153873444,
0.016307314857840538,
0.023155298084020615,
-0.0332278311252594,
0.017132995650172234,
-0.03874879330396652,
-0.04078977182507515,
0.03856637328863144,
0.03386092931032181,
-0.06340128928422928,
0.06728962063789368,
0.029298612847924232,
-0.05274437740445137,
0.0038734027184545994,
0.04027186706662178,
-0.04090229421854019,
0.04920823872089386,
0.0034339374396950006,
0.001550776301883161,
0.042468614876270294,
0.028612792491912842,
-0.024110129103064537,
-0.03733343631029129,
-0.08121320605278015,
-0.040034569799900055,
-0.0346442274749279,
0.01422527339309454,
0.08167804032564163
] |
CLAck/en-km | [
"pytorch",
"marian",
"text2text-generation",
"transformers",
"translation",
"autotrain_compatible"
] | translation | {
"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
}
}
} | 12 | null | ---
language: de
license: mit
tags:
- exbert
---
## Overview
**Language model:** gbert-large-sts
**Language:** German
**Training data:** German STS benchmark train and dev set
**Eval data:** German STS benchmark test set
**Infrastructure**: 1x V100 GPU
**Published**: August 12th, 2021
## Details
- We trained a gbert-large model on the task of estimating semantic similarity of German-language text pairs. The dataset is a machine-translated version of the [STS benchmark](https://ixa2.si.ehu.eus/stswiki/index.php/STSbenchmark), which is available [here](https://github.com/t-systems-on-site-services-gmbh/german-STSbenchmark).
## Hyperparameters
```
batch_size = 16
n_epochs = 4
warmup_ratio = 0.1
learning_rate = 2e-5
lr_schedule = LinearWarmup
```
## Performance
Stay tuned... and watch out for new papers on arxiv.org ;)
## Authors
- Julian Risch: `julian.risch [at] deepset.ai`
- Timo MΓΆller: `timo.moeller [at] deepset.ai`
- Julian Gutsch: `julian.gutsch [at] deepset.ai`
- Malte Pietsch: `malte.pietsch [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.004560374189168215,
0.005211279261857271,
-0.02522805891931057,
0.07510121911764145,
0.054183900356292725,
0.040499575436115265,
-0.006558435969054699,
-0.00019124218670185655,
-0.029963642358779907,
0.05819820240139961,
0.0036219286266714334,
-0.010939368046820164,
0.009664511308073997,
0.03857089579105377,
-0.04407331347465515,
-0.04360618814826012,
-0.003591033862903714,
-0.03423626348376274,
-0.04386410862207413,
-0.031366948038339615,
-0.0069435457699000835,
0.0011291721602901816,
-0.0074117183685302734,
0.0026236833073198795,
0.0023421109654009342,
0.023402834311127663,
-0.022898582741618156,
0.06314531713724136,
0.015046290121972561,
-0.055334001779556274,
0.004931511357426643,
-0.005534702446311712,
-0.038289230316877365,
-0.014898753724992275,
-0.011551927775144577,
-0.010685793124139309,
0.024748336523771286,
0.007606502156704664,
0.025430910289287567,
0.041050489991903305,
0.007664195727556944,
0.0031180281657725573,
0.011687015183269978,
-0.046368345618247986,
0.04615309089422226,
0.005342521704733372,
-0.027263600379228592,
-0.028400294482707977,
0.028516750782728195,
-0.04819653928279877,
-0.04976850748062134,
-0.057465095072984695,
-0.030236978083848953,
0.0085130101069808,
0.0023000177461653948,
-0.011618906632065773,
-0.043968092650175095,
0.002976055024191737,
0.07310006767511368,
-0.05916956067085266,
-0.05892243981361389,
0.013337424956262112,
-0.06471981108188629,
-0.020120322704315186,
0.041065678000450134,
-0.06384529918432236,
-0.0056342496536672115,
-0.04111535847187042,
0.009917321614921093,
-0.00729574728757143,
0.04491301625967026,
-0.030528219416737556,
0.03305226191878319,
-0.07425498962402344,
0.00185362936463207,
-0.021396808326244354,
0.013251416385173798,
0.04075853154063225,
-0.0463128387928009,
0.04502825438976288,
0.02327847108244896,
-0.008948569186031818,
0.03561921790242195,
-0.033670708537101746,
-0.007764086127281189,
0.06388000398874283,
-0.031875066459178925,
0.0009449823410250247,
0.016359908506274223,
0.02686341665685177,
-0.03857585787773132,
-0.02825216017663479,
-0.01290691364556551,
-0.024226775392889977,
-0.008493059314787388,
0.009979074820876122,
0.031654782593250275,
-0.004933069460093975,
0.028057001531124115,
0.033977020531892776,
0.016808517277240753,
0.04245410114526749,
-0.02077791839838028,
0.03873361647129059,
-0.012675600126385689,
-0.0043686265125870705,
-0.019197585061192513,
-0.038951341062784195,
-0.04786757007241249,
0.027389956638216972,
0.03041685000061989,
-0.05453944951295853,
-0.04091690853238106,
0.05605802685022354,
0.0063347225077450275,
-0.002506726421415806,
0.06255704909563065,
-0.021285641938447952,
-0.04358692467212677,
-0.06685426831245422,
0.042532097548246384,
-0.005046814680099487,
-0.010989612899720669,
0.03484317660331726,
-0.07601692527532578,
0.009441673755645752,
-0.04064374417066574,
-0.044484373182058334,
-0.006935506127774715,
0.009088021703064442,
-0.025844816118478775,
0.04551217332482338,
0.01330284308642149,
-0.06779520958662033,
0.022399287670850754,
-0.006698202807456255,
-0.061637312173843384,
0.04921090975403786,
0.032719794660806656,
0.11095407605171204,
-0.03446873277425766,
-0.03442838788032532,
0.042369961738586426,
0.027659766376018524,
-0.02807540073990822,
0.007894452661275864,
0.013329016976058483,
-0.018143879249691963,
-0.008065643720328808,
-0.00897610280662775,
0.04901580885052681,
-0.0696842297911644,
0.0050815315917134285,
0.057644810527563095,
-0.02321597933769226,
0.05669108033180237,
-0.03232605755329132,
0.0031186628621071577,
-0.00811750814318657,
-0.009632967412471771,
-0.03969918563961983,
0.02559596113860607,
-0.019409315660595894,
-0.015898125246167183,
-0.04637245461344719,
-0.04455052688717842,
0.007817559875547886,
0.09076961874961853,
-0.004231537692248821,
-0.00975479930639267,
-0.03820595517754555,
0.0030815666541457176,
0.07217590510845184,
0.03800845146179199,
-0.03995131701231003,
0.007834305986762047,
0.05419403687119484,
0.04403338208794594,
0.007126878947019577,
0.08149315416812897,
0.0010075034806504846,
-0.032253678888082504,
-0.04058714210987091,
0.04897741600871086,
0.008882740512490273,
-0.03733846917748451,
0.022384587675333023,
0.04800672084093094,
0.007438034284859896,
-0.03231706842780113,
-0.022335171699523926,
0.05677347630262375,
-0.015904294326901436,
-0.008838638663291931,
0.01882830448448658,
0.0033345052506774664,
-0.022952396422624588,
0.051425568759441376,
-0.009880335070192814,
0.008794044144451618,
-0.03921908140182495,
-0.022956524044275284,
0.035456884652376175,
0.012733099050819874,
0.025998730212450027,
0.05510461702942848,
0.024643076583743095,
0.0686669871211052,
-0.03646153211593628,
0.009702498093247414,
-0.06646157056093216,
-0.03943200409412384,
-0.011927034705877304,
0.03965407609939575,
0.05925150215625763,
0.03479158133268356,
-0.01327518094331026,
-0.04114643484354019,
0.035185325890779495,
0.04963133856654167,
0.037266675382852554,
0.015452448278665543,
-0.01009924616664648,
-0.008200405165553093,
0.024399546906352043,
0.04265739396214485,
-0.044611990451812744,
-0.05343887582421303,
-0.0030712622683495283,
0.050367921590805054,
-0.0306270569562912,
0.017657848075032234,
-0.02846829779446125,
0.0029067951254546642,
-0.03203621134161949,
-0.03953556716442108,
0.03745364770293236,
0.017878500744700432,
0.008011014200747013,
0.03894054517149925,
0.0000022189833543961868,
0.01007517147809267,
0.017826246097683907,
0.012748172506690025,
0.012579278089106083,
-0.061743225902318954,
0.003768667345866561,
0.020618127658963203,
0.048256002366542816,
-0.036198001354932785,
0.0367979072034359,
0.009838524274528027,
0.030958740040659904,
0.037230346351861954,
-0.008241260424256325,
0.0347324013710022,
0.027757521718740463,
-0.008311967365443707,
-0.03195459768176079,
0.02906455285847187,
0.026581861078739166,
0.024739287793636322,
0.08264245092868805,
-0.015910029411315918,
0.05788891389966011,
0.03564043715596199,
0.03496982529759407,
0.08702071756124496,
0.030643239617347717,
0.01413083914667368,
0.042804423719644547,
0.0714413970708847,
0.01703060045838356,
-0.022580290213227272,
0.06586246192455292,
-0.041801322251558304,
0.015655511990189552,
-0.024283813312649727,
0.004672699607908726,
-0.0005204313201829791,
0.001010111183859408,
0.036188870668411255,
0.014173487201333046,
-0.013737277127802372,
0.009501351974904537,
-0.024699892848730087,
-0.0052048261277377605,
0.04335905238986015,
-0.01758963242173195,
0.028071390464901924,
-0.008605694398283958,
-0.030000630766153336,
0.020225737243890762,
-0.06825721263885498,
-0.041956230998039246,
-0.003200596198439598,
-0.03470192477107048,
0.012398486025631428,
-0.08587632328271866,
-0.03964242711663246,
-0.06094057112932205,
0.0021390486508607864,
0.04020880535244942,
0.00013720679271500558,
-0.013091487810015678,
-0.02699682116508484,
0.016730068251490593,
-0.035587601363658905,
-0.030263254418969154,
-0.0497850738465786,
-0.043092746287584305,
-0.04001837968826294,
-0.053361717611551285,
0.046875666826963425,
0.039913568645715714,
0.042369719594717026,
0.0011775775346904993,
-0.0009360620751976967,
-0.021824918687343597,
-0.034150999039411545,
0.05234820395708084,
0.0379251204431057,
-0.03652399405837059,
-0.04016738757491112,
0.009189889766275883,
-0.014417892321944237,
0.02407301962375641,
-0.004389545414596796,
-0.028206653892993927,
0.08773409575223923,
0.06765875965356827,
0.006953602656722069,
0.016425680369138718,
-0.01516843494027853,
-0.04539325460791588,
-0.06369555741548538,
-0.022258413955569267,
-0.03821031376719475,
-0.006101994775235653,
-0.04047244042158127,
-0.029791275039315224,
-0.022377651184797287,
-0.017257077619433403,
0.00876606348901987,
0.011175362393260002,
0.004417805001139641,
0.012006581760942936,
0.020801274105906487,
0.03714457526803017,
0.02498093992471695,
-0.044364385306835175,
-0.017901962623000145,
0.09430741518735886,
0.0032583498395979404,
0.0019669365137815475,
-0.0974377915263176,
-0.01725029945373535,
0.02884625643491745,
0.034946322441101074,
-0.001337383990176022,
-0.013772771693766117,
0.08540090173482895,
0.010805753991007805,
0.01719651371240616,
0.006317740771919489,
-0.015113022178411484,
-0.05537099391222,
-0.009787925519049168,
-0.0007931666914373636,
-0.031845010817050934,
-0.0466330461204052,
-0.026637481525540352,
-0.016062825918197632,
0.027048751711845398,
-0.055661268532276154,
-0.05853110924363136,
-0.012255608104169369,
0.04352544620633125,
0.025810133665800095,
-0.018976567313075066,
-0.030497755855321884,
0.00438495259732008,
-0.02509489469230175,
-0.052468325942754745,
-0.0067574637942016125,
0.01582682877779007,
0.008214282803237438,
0.046707745641469955,
0.007934581488370895,
-0.03982674703001976,
0.031685832887887955,
0.01610478200018406,
0.04659799486398697,
0.01691131480038166,
-0.043810464441776276,
0.04887004569172859,
-0.03808724135160446,
0.0008485224680043757,
-0.009808970615267754,
-0.021915994584560394,
-0.047782257199287415,
-0.09031575918197632,
0.014071288518607616,
0.00617999117821455,
-0.004419568460434675,
-0.011698940768837929,
0.047254789620637894,
-0.02589326538145542,
0.01077739242464304,
-0.012777692638337612,
0.0005476731457747519,
0.02205502614378929,
-0.04413367062807083,
0.04491846635937691,
-0.012521330267190933,
0.023660987615585327,
-0.056427668780088425,
0.016904214397072792,
-0.03474465385079384,
-0.01921299658715725,
-0.00514072272926569,
0.061632994562387466,
0.013846752233803272,
0.04679282382130623,
0.0811915323138237,
0.016157230362296104,
-0.03787883371114731,
0.04313122481107712,
0.02263764478266239,
-0.018752189353108406,
-0.055375002324581146,
-0.019007787108421326,
-0.012604819610714912,
-0.03357955068349838,
-0.02593514882028103,
-0.02027341164648533,
0.026832902804017067,
0.028203893452882767,
0.013654576614499092,
-0.036741919815540314,
0.011915335431694984,
-0.03021378256380558,
-0.032641761004924774,
-0.06370188295841217,
-0.04131573811173439,
0.007157354149967432,
-0.019253607839345932,
0.056941621005535126,
0.030529677867889404,
0.00965377688407898,
0.05283549055457115,
0.0458301417529583,
-0.015191066078841686,
-0.023505931720137596,
0.049065571278333664,
0.04234235733747482,
-0.04438529536128044,
-0.06354159861803055,
-0.04716351255774498,
0.04936324059963226,
0.06728542596101761,
0.012155869044363499,
-0.08234786987304688,
-0.0022544744424521923,
0.06387220323085785,
-0.04952334240078926,
0.056707967072725296,
-0.020609628409147263,
0.06436286121606827,
0.046208128333091736,
0.006935033015906811,
0.022117214277386665,
-0.014676335267722607,
0.013540604151785374,
-0.014817267656326294,
0.025822462514042854,
-0.04286816716194153,
-0.058083854615688324,
-0.03008745051920414,
0.02257082238793373,
0.03579535707831383,
0.026328371837735176,
0.052108194679021835,
-0.03440549969673157,
-0.034168876707553864,
0.022137949243187904,
0.022792624309659004,
-0.05966205522418022,
-0.008168128319084644,
0.029162898659706116,
0.04386347159743309,
-0.033474430441856384,
-0.017461290583014488,
-0.03540494292974472,
-0.003174594836309552,
0.03847651928663254,
0.012587678618729115,
-0.03820275515317917,
-0.08512561768293381,
0.021482549607753754,
-0.05372622236609459,
-0.025842852890491486,
-0.079879991710186,
0.021854832768440247,
-0.0320298969745636,
-0.031520817428827286,
0.05858825147151947,
0.02101375162601471,
0.04002555459737778,
0.036442216485738754,
-0.014309012331068516,
0.010971966199576855,
-0.056894928216934204,
0.049271274358034134,
0.01295526884496212,
-0.011261706240475178,
-0.009200219064950943,
-0.03577189892530441,
-0.016728540882468224,
-0.02325773611664772,
-0.0453292541205883,
-0.058864790946245193,
-0.022174036130309105,
0.012273706495761871,
-0.007190050091594458,
0.0044927154667675495,
-0.020598039031028748,
0.02707033045589924,
-0.014410196803510189,
-0.02742544561624527,
-0.018478818237781525,
-0.013936362229287624,
-0.07026217877864838,
-0.05681047961115837,
0.004352842457592487,
0.012111176736652851,
0.012252837419509888,
0.026576831936836243,
0.007390941493213177,
-0.003479607170447707,
0.0041550397872924805,
-0.018422329798340797,
0.03988365828990936,
-0.009590092115104198,
-0.037469834089279175,
-0.0308171845972538,
0.012357570230960846,
0.019563278183341026,
0.025860784575343132,
-0.03608604520559311,
0.04336373135447502,
0.017516717314720154,
-0.038204554468393326,
-0.010524390265345573,
0.013998137786984444,
0.04192543774843216,
-0.10255282372236252,
-0.06276636570692062,
-0.046346090734004974,
-0.04582783207297325,
0.01251489669084549,
-0.016373805701732635,
-0.026850029826164246,
0.02438480593264103,
0.04875296354293823,
0.03680497407913208,
-0.013955722562968731,
-0.022037118673324585,
0.02094929851591587,
-0.017028404399752617,
0.007766185328364372,
-0.05047549307346344,
0.04806147515773773,
-0.04856245592236519,
0.0002310384006705135,
0.0034431065432727337,
-0.006229713559150696,
-0.04985121265053749,
0.04077892750501633,
-0.02428867295384407,
0.008506374433636665,
-0.01905537210404873,
0.018907489255070686,
-0.021872613579034805,
0.03069295734167099,
-0.0294047798961401,
0.022175338119268417,
-0.005080179311335087,
0.041073426604270935,
-0.06233927607536316,
-0.014301268383860588,
-0.002068324713036418,
-0.01638028956949711,
-0.028061609715223312,
-0.011258551850914955,
-0.015822920948266983,
-0.03774932771921158,
0.022507332265377045,
0.033910349011421204,
0.03393188863992691,
0.018344884738326073,
-0.016413772478699684,
-0.006738170050084591,
0.03361143916845322,
-0.03059353120625019,
-0.015424791723489761,
-0.016130227595567703,
0.01877189800143242,
-0.02879955992102623,
0.07460543513298035,
0.021115347743034363,
-0.06139584258198738,
-0.06750847399234772,
0.02491913177073002,
0.006186385173350573,
0.0043120477348566055,
-0.0008366095717065036,
0.007505066692829132,
0.025983741506934166,
0.041221972554922104,
-0.035651735961437225,
-0.012592295184731483,
-0.007848862558603287,
-0.009329725056886673,
0.010685481131076813,
0.003201449988409877,
0.017260009422898293,
0.02017008326947689,
-0.02519754320383072,
-0.027332238852977753,
0.0608452633023262,
-0.0031425668857991695,
0.011266734451055527,
0.016016734763979912,
-0.029708009213209152,
0.040650904178619385,
0.02030915953218937,
-0.05281829461455345,
-0.02907576598227024,
0.014464568346738815,
-0.043645229190588,
0.059732355177402496,
-0.007831658236682415,
0.014470435678958893,
0.05626986548304558,
0.002794613130390644,
-0.008767726831138134,
0.056347042322158813,
-0.006036622915416956,
-0.0014628315111622214,
0.0479452908039093,
-0.06736671924591064,
0.0006211439613252878,
-0.036951884627342224,
0.07792303711175919,
-0.07525525242090225,
0.05445318669080734,
0.04754136875271797,
0.04649345949292183,
0.026992768049240112,
-0.018251381814479828,
-0.013924090191721916,
0.0052276127971708775,
-0.036674078553915024,
0.07181046158075333,
0.020227227360010147,
-0.040386226028203964,
0.07038113474845886,
0.018762661144137383,
-0.09312944114208221,
0.043077532202005386,
0.05146311968564987,
0.022073490545153618,
0.04519939795136452,
0.03221048042178154,
-0.055985257029533386,
0.004918521270155907,
-0.05113980919122696,
0.020444823428988457,
-0.07104507088661194,
-0.006700427737087011,
0.007486560381948948,
-0.0407787449657917,
-0.013298443518579006,
0.02900754101574421,
-0.028781605884432793,
0.0030604247003793716,
0.03738692030310631,
-0.06461582332849503,
-0.038167137652635574,
0.014242427423596382,
0.03468036279082298,
-0.03772401064634323,
0.013686559163033962,
-0.03191620483994484,
0.020925911143422127,
0.026992639526724815,
0.004371180664747953,
-0.03351550176739693,
0.0004139083030167967,
0.0369403213262558,
-0.05775546282529831,
-0.0369802750647068,
0.03636416792869568,
0.02592386119067669,
-0.05519802123308182,
0.02385576069355011,
-0.028123077005147934,
-0.002840639790520072,
0.029692523181438446,
-0.005774956662207842,
0.014763345010578632,
-0.013382208533585072,
-0.005686887074261904,
0.004467863589525223,
0.006317506544291973,
0.013515489175915718,
-0.0063137272372841835,
0.024158304557204247,
0.01836222968995571,
0.05300559476017952,
-0.020077141001820564,
-0.0615994818508625,
-0.03532719984650612,
0.031271081417798996,
-0.017313877120614052,
-0.0020434644538909197,
-0.01484328880906105,
-0.06233938783407211,
-0.0378052182495594,
-0.025805113837122917,
-0.00315538770519197,
0.03981655463576317,
-0.027535604313015938,
-0.000040814586100168526,
0.04116624593734741,
-0.02466822974383831,
-0.048171356320381165,
-0.08767713606357574,
-0.02683294750750065,
-0.04064968600869179,
0.030206764116883278,
0.022056201472878456,
-0.04805786907672882,
0.007065329235047102,
-0.015142494812607765,
-0.044886473566293716,
0.03593283146619797,
0.03976351022720337,
-0.05979316681623459,
0.058174628764390945,
0.025013677775859833,
-0.04819384217262268,
0.012514530681073666,
0.051476553082466125,
-0.04779457300901413,
0.05247315764427185,
0.02071145363152027,
0.00136510469019413,
0.035009630024433136,
0.03955211117863655,
0.00017727755766827613,
-0.014985872432589531,
-0.07837770134210587,
-0.032726872712373734,
-0.028886571526527405,
0.012382140383124352,
0.05700833350419998
] |
CLAck/indo-mixed | [
"pytorch",
"marian",
"text2text-generation",
"en",
"id",
"dataset:ALT",
"transformers",
"translation",
"license:apache-2.0",
"autotrain_compatible"
] | translation | {
"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
}
}
} | 15 | null | ---
language: de
license: mit
datasets:
- wikipedia
- OPUS
- OpenLegalData
---
# German ELECTRA base generator
Released, Oct 2020, this is the generator component of the German ELECTRA language model trained collaboratively by the makers of the original German BERT (aka "bert-base-german-cased") and the dbmdz BERT (aka bert-base-german-dbmdz-cased). In our [paper](https://arxiv.org/pdf/2010.10906.pdf), we outline the steps taken to train our model.
The generator is useful for performing masking experiments. If you are looking for a regular language model for embedding extraction, or downstream tasks like NER, classification or QA, please use deepset/gelectra-base.
## Overview
**Paper:** [here](https://arxiv.org/pdf/2010.10906.pdf)
**Architecture:** ELECTRA base (generator)
**Language:** German
See also:
deepset/gbert-base
deepset/gbert-large
deepset/gelectra-base
deepset/gelectra-large
deepset/gelectra-base-generator
deepset/gelectra-large-generator
## Authors
Branden Chan: `branden.chan [at] deepset.ai`
Stefan Schweter: `stefan [at] schweter.eu`
Timo MΓΆller: `timo.moeller [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.017495160922408104,
0.0007999347290024161,
-0.0028512622229754925,
0.034738440066576004,
0.037369176745414734,
0.04697594419121742,
0.0022612223401665688,
0.010113149881362915,
-0.017701128497719765,
0.06892252713441849,
0.003048583632335067,
-0.012947486713528633,
0.004153082612901926,
0.03352564945816994,
-0.03787735104560852,
-0.011814302764832973,
0.0027700155042111874,
-0.013715009205043316,
-0.07138379663228989,
-0.014744932763278484,
-0.015424288809299469,
-0.009500394575297832,
-0.00064506521448493,
0.020855417475104332,
-0.013917678035795689,
0.008231911808252335,
-0.01531785074621439,
0.034421440213918686,
0.04415307566523552,
-0.0645369291305542,
-0.00996276643127203,
-0.023592758923768997,
-0.04249516502022743,
-0.026048578321933746,
-0.026902824640274048,
0.0027205622754991055,
0.0362091027200222,
0.007394822780042887,
0.0417339950799942,
0.03934192657470703,
-0.003710361896082759,
0.013700306415557861,
0.011248856782913208,
-0.03459914028644562,
0.03304082900285721,
0.003484967863187194,
-0.01717262715101242,
-0.031947989016771317,
0.03510947525501251,
-0.04983602091670036,
-0.05926022678613663,
-0.05456041172146797,
-0.0285036638379097,
0.02224060706794262,
-0.015655774623155594,
-0.008080118335783482,
-0.0680665597319603,
-0.027021413668990135,
0.0769004374742508,
-0.04965619742870331,
-0.04529532045125961,
0.03252214938402176,
-0.06475824117660522,
-0.01164562813937664,
0.03240341320633888,
-0.05260789021849632,
-0.01480355579406023,
-0.047073397785425186,
0.0211038775742054,
-0.011165069416165352,
0.03935660794377327,
-0.0291128009557724,
0.011139384470880032,
-0.06696474552154541,
-0.007256404962390661,
-0.02690902166068554,
0.034577857702970505,
0.050439994782209396,
-0.04991103708744049,
0.04114029183983803,
0.010944493114948273,
-0.012488102540373802,
0.014550595544278622,
-0.027492357417941093,
0.013143275864422321,
0.04339968413114548,
-0.015489578247070312,
0.009203924797475338,
0.032079316675662994,
0.03870180621743202,
-0.02906055934727192,
-0.04133599251508713,
-0.032126285135746,
-0.026756996288895607,
0.008467660285532475,
0.013549789786338806,
0.03592479228973389,
0.004720322787761688,
0.01970483362674713,
0.034983642399311066,
0.014855870045721531,
0.04415915533900261,
-0.04146406427025795,
0.05783603712916374,
-0.026680925861001015,
-0.012118062935769558,
0.007205321919173002,
-0.03589623048901558,
-0.05435004457831383,
0.016881899908185005,
0.040362875908613205,
-0.02470930851995945,
-0.029635200276970863,
0.055679719895124435,
0.002176019363105297,
0.0031522091012448072,
0.04689421132206917,
-0.015924030914902687,
-0.05025555565953255,
-0.06301161646842957,
0.03979669511318207,
-0.00309248105622828,
0.007111823186278343,
0.028822986409068108,
-0.06876923143863678,
0.0008270452381111681,
-0.06271054595708847,
-0.034551024436950684,
-0.00890363473445177,
0.009893526323139668,
-0.0189061239361763,
0.060975249856710434,
0.02624061144888401,
-0.05277375876903534,
0.027658959850668907,
-0.005037492141127586,
-0.057768285274505615,
0.05297444015741348,
0.03497907146811485,
0.11315014958381653,
-0.04567522928118706,
-0.014406850561499596,
0.011808852665126324,
0.02034173347055912,
-0.04281153157353401,
-0.0072677903808653355,
-0.01265463326126337,
-0.026259426027536392,
-0.00661230506375432,
-0.014079291373491287,
0.05558675527572632,
-0.05221378058195114,
-0.0006597893661819398,
0.053382568061351776,
-0.03128480911254883,
0.08075590431690216,
-0.024998627603054047,
-0.0057394918985664845,
-0.013754023239016533,
-0.011071586981415749,
-0.041444022208452225,
0.03071933053433895,
-0.0253489688038826,
-0.030094243586063385,
-0.054075028747320175,
-0.03475159406661987,
0.0048340968787670135,
0.10501577705144882,
-0.009785073809325695,
-0.0063545191660523415,
-0.036556072533130646,
0.010474937036633492,
0.05661188066005707,
0.025913875550031662,
-0.051418837159872055,
0.027515867725014687,
0.032942917197942734,
0.016219140961766243,
0.012077795341610909,
0.0708472952246666,
0.0035277470014989376,
-0.029128285124897957,
-0.0076353601180016994,
0.03540670871734619,
0.018555134534835815,
-0.034194715321063995,
0.0105314701795578,
0.030652623623609543,
0.01091687474399805,
-0.030952924862504005,
-0.022200752049684525,
0.05823851749300957,
-0.022095216438174248,
-0.0016284051816910505,
0.017727501690387726,
0.004354977980256081,
-0.022234933450818062,
0.04999924823641777,
-0.014141591265797615,
0.007943917997181416,
-0.03856620192527771,
-0.008792850188910961,
0.00464011263102293,
0.018918054178357124,
0.04648401588201523,
0.0645986795425415,
0.013921857811510563,
0.09047847241163254,
-0.04589803144335747,
-0.008170092478394508,
-0.05760234221816063,
-0.03684831038117409,
-0.0019596614874899387,
0.059057045727968216,
0.06459901481866837,
0.028496835380792618,
-0.01741800084710121,
-0.06544890999794006,
0.025567760691046715,
0.04756126180291176,
0.05746307224035263,
-0.00723362248390913,
-0.04532915726304054,
-0.010174091905355453,
0.04083746671676636,
0.037375301122665405,
-0.04218132421374321,
-0.04715896025300026,
0.004741669166833162,
0.07235245406627655,
-0.02410884015262127,
0.028484180569648743,
-0.03718193247914314,
0.013092383742332458,
-0.04867460951209068,
-0.03696328401565552,
0.029963083565235138,
0.008065682835876942,
0.0074135675095021725,
0.025655852630734444,
-0.00676615908741951,
-0.0013069339329376817,
0.004696426447480917,
0.016185427084565163,
0.014792303554713726,
-0.04001946002244949,
-0.004197664093226194,
0.021796012297272682,
0.06537189334630966,
-0.03476017713546753,
0.0793311819434166,
0.0028344846796244383,
0.017638463526964188,
0.024074038490653038,
-0.024741319939494133,
0.03658946976065636,
0.03108122944831848,
-0.02126060053706169,
-0.037468284368515015,
0.03302941843867302,
0.014783014543354511,
0.027357306331396103,
0.06573484092950821,
-0.004702703095972538,
0.05955442041158676,
0.030476422980427742,
0.05337581783533096,
0.081901416182518,
0.013374924659729004,
0.028277453035116196,
0.0422121062874794,
0.0724441260099411,
-0.0036908125039190054,
-0.0257550235837698,
0.056878212839365005,
-0.04129352420568466,
0.019569089636206627,
-0.04360019043087959,
-0.010473127476871014,
0.013913030736148357,
-0.01490129716694355,
0.039409127086400986,
0.019029298797249794,
-0.00022036187874618918,
-0.002074729185551405,
-0.004441180732101202,
-0.004815052263438702,
0.047098420560359955,
-0.0032144386786967516,
0.03020121343433857,
-0.016992468386888504,
-0.004052318166941404,
0.017658937722444534,
-0.07379279285669327,
-0.06205558776855469,
-0.0034514006692916155,
-0.04478065297007561,
0.006626814603805542,
-0.06967247277498245,
-0.02931000106036663,
-0.06223074346780777,
0.0036942518781870604,
0.049102749675512314,
0.014139006845653057,
-0.01580606773495674,
-0.047448016703128815,
0.014158160425722599,
-0.02608671970665455,
-0.029253220185637474,
-0.057534556835889816,
-0.03361183777451515,
-0.040798794478178024,
-0.07344172149896622,
0.05715169012546539,
0.006541510112583637,
0.030656276270747185,
0.000798278022557497,
0.02458564005792141,
-0.023816876113414764,
-0.036383453756570816,
0.02630113810300827,
0.05169836804270744,
-0.032497480511665344,
-0.03489852696657181,
0.01302278321236372,
-0.002765895565971732,
0.023614587262272835,
-0.00729109114035964,
-0.017908429726958275,
0.08570230007171631,
0.039633702486753464,
0.030831661075353622,
0.004778558388352394,
0.008199147880077362,
-0.0381942056119442,
-0.05130798742175102,
-0.04139285534620285,
-0.05825723335146904,
-0.006397027522325516,
-0.030823156237602234,
-0.03363562002778053,
-0.018516574054956436,
-0.02047114633023739,
0.021113324910402298,
-0.021855121478438377,
0.010288167744874954,
0.026109900325536728,
0.03144912049174309,
0.03143139183521271,
0.013035999611020088,
-0.028423013165593147,
-0.029080616310238838,
0.05806494131684303,
0.03351546823978424,
0.0046850573271512985,
-0.0684596374630928,
-0.03648607060313225,
0.046076737344264984,
0.04207934811711311,
0.015999414026737213,
0.0017247978830710053,
0.08045130968093872,
0.014531447552144527,
0.001401658752001822,
0.003557512303814292,
-0.01479877345263958,
-0.05997437238693237,
0.004449785221368074,
-0.00427753571420908,
-0.0356341116130352,
-0.04262714833021164,
-0.042736638337373734,
0.015478837303817272,
0.026341956108808517,
-0.048302777111530304,
-0.048289068043231964,
-0.0025023065973073244,
0.05219966545701027,
0.028886964544653893,
-0.010779536329209805,
-0.024082038551568985,
-0.014905701391398907,
-0.02633792720735073,
-0.04893915727734566,
-0.015455803833901882,
0.02337964065372944,
0.023254599422216415,
0.030969638377428055,
0.016509417444467545,
-0.03794937580823898,
0.04032570496201515,
0.048492733389139175,
0.05759653449058533,
0.013414942659437656,
-0.04850015416741371,
0.044015273451805115,
-0.029494013637304306,
0.013248763978481293,
-0.029519539326429367,
-0.007944326847791672,
-0.0523638017475605,
-0.07228315621614456,
0.0023739479947835207,
0.009625967592000961,
-0.014821340329945087,
-0.002978799631819129,
0.046678949147462845,
-0.02423677407205105,
0.007322353310883045,
-0.017659932374954224,
0.0013896184973418713,
0.023475155234336853,
-0.04174783453345299,
0.06173078343272209,
-0.024946806952357292,
0.02305101603269577,
-0.04008521884679794,
0.028933830559253693,
-0.026361098513007164,
-0.036007702350616455,
0.003545404179021716,
0.06507708877325058,
0.01786622777581215,
0.052246835082769394,
0.08935043960809708,
0.02944282814860344,
-0.04438171535730362,
0.03448422625660896,
0.029238201677799225,
-0.007432745769619942,
-0.03328292816877365,
-0.015375623479485512,
-0.007511338219046593,
-0.039157163351774216,
-0.011362364515662193,
-0.03021817095577717,
0.02366376668214798,
0.022046582773327827,
0.009689895436167717,
-0.04969768971204758,
0.012956514954566956,
-0.003600601339712739,
-0.03143734857439995,
-0.060220398008823395,
-0.05753709375858307,
0.017931153997778893,
-0.0031225543934851885,
0.0654212087392807,
0.027616573497653008,
0.0015838795807212591,
0.06373493373394012,
0.03073992021381855,
-0.015847858041524887,
-0.02904927171766758,
0.01758590340614319,
0.036162957549095154,
-0.04999516159296036,
-0.058748163282871246,
-0.06874136626720428,
0.058939624577760696,
0.0716441348195076,
0.000682390877045691,
-0.09190749377012253,
-0.022139370441436768,
0.06299390643835068,
-0.040708694607019424,
0.06192784383893013,
-0.004993834067136049,
0.04019816592335701,
0.0637299120426178,
-0.015650518238544464,
0.015239494852721691,
-0.024572327733039856,
0.014864880591630936,
-0.018747303634881973,
0.026945313438773155,
-0.032947514206171036,
-0.05279092863202095,
-0.031524766236543655,
0.02252754382789135,
0.034487634897232056,
0.05896100401878357,
0.0374104343354702,
-0.04863845929503441,
-0.041237711906433105,
0.023142678663134575,
0.02626505307853222,
-0.048416949808597565,
0.007334639318287373,
0.029387732967734337,
0.043262165039777756,
-0.03539568930864334,
-0.02118072286248207,
-0.03499331325292587,
-0.0037845538463443518,
0.01726733334362507,
0.020807290449738503,
-0.03160850331187248,
-0.08262084424495697,
0.023502416908740997,
-0.0356510691344738,
-0.03609059005975723,
-0.10031542181968689,
0.0184782687574625,
-0.030782846733927727,
-0.020791277289390564,
0.04380946233868599,
0.00957837700843811,
0.04535680264234543,
0.04949088394641876,
-0.006964623462408781,
0.004404725972563028,
-0.05959653854370117,
0.0452297180891037,
-0.004265798721462488,
-0.008952722884714603,
0.008741568773984909,
-0.020574092864990234,
-0.020679231733083725,
-0.03026491217315197,
-0.05937247723340988,
-0.05558135733008385,
-0.0001187045854749158,
0.015436760149896145,
-0.023396557196974754,
0.006128400098532438,
-0.04181051626801491,
0.02146933414041996,
-0.026780854910612106,
-0.03355732932686806,
-0.005083158146589994,
-0.023361211642622948,
-0.08307196199893951,
-0.04510083049535751,
0.0211350005120039,
0.009038511663675308,
0.01337642502039671,
0.03349035605788231,
0.01310939621180296,
-0.017931576818227768,
0.0069248974323272705,
-0.03471383452415466,
0.051450666040182114,
-0.012569205835461617,
-0.03588869050145149,
-0.039969734847545624,
0.004821112845093012,
0.014321953989565372,
0.025467708706855774,
-0.032694775611162186,
0.03958509862422943,
0.015265590511262417,
-0.03007243573665619,
-0.00804064515978098,
0.006749754771590233,
0.021535100415349007,
-0.07560782879590988,
-0.0539676770567894,
-0.04178940877318382,
-0.049195628613233566,
0.03648240119218826,
-0.02263774909079075,
-0.02146577276289463,
0.031311996281147,
0.032720960676670074,
0.04270194098353386,
-0.02043842151761055,
-0.03961383178830147,
0.018668917939066887,
-0.015374064445495605,
0.03538533300161362,
-0.04127495363354683,
0.058944765478372574,
-0.03961619734764099,
0.004872174467891455,
0.00724010867998004,
-0.006144326645880938,
-0.05532719939947128,
0.02391868084669113,
-0.014167112298309803,
-0.008303141221404076,
-0.018667839467525482,
0.024369018152356148,
-0.02823551744222641,
0.03472154587507248,
-0.02272035740315914,
0.02661219798028469,
-0.020052054896950722,
0.041690971702337265,
-0.03481461480259895,
-0.011165816336870193,
0.003820940153673291,
0.009655793197453022,
-0.059218838810920715,
-0.023307491093873978,
-0.003321987809613347,
-0.04865550249814987,
0.006040370091795921,
0.035286419093608856,
0.03388091176748276,
0.008331755176186562,
-0.02386413887143135,
-0.0007784476620145142,
0.014302805066108704,
-0.0506739467382431,
0.00007131365418899804,
0.002470675390213728,
0.0050599523819983006,
-0.016494745388627052,
0.052267253398895264,
0.03534254431724548,
-0.04138562083244324,
-0.07095525413751602,
0.0441279299557209,
0.018815303221344948,
0.005344409961253405,
0.00010819166345754638,
0.017109820619225502,
0.005467682611197233,
0.029942726716399193,
-0.05059731379151344,
-0.0006737386574968696,
0.00946013629436493,
-0.018840154632925987,
0.0007464372320100665,
-0.02156602032482624,
0.019212190061807632,
0.005979752168059349,
-0.018500210717320442,
-0.005741964094340801,
0.06361382454633713,
0.007205132395029068,
0.007143308874219656,
0.007147354539483786,
-0.02244100719690323,
0.03183456137776375,
0.008800752460956573,
-0.05819031968712807,
-0.024125603958964348,
0.0007332403329201043,
-0.04904460161924362,
0.0649171844124794,
-0.005159946158528328,
0.014505293220281601,
0.058528073132038116,
-0.009489523246884346,
-0.024463694542646408,
0.06523357331752777,
-0.030496906489133835,
0.0010253721848130226,
0.04394512623548508,
-0.054592426866292953,
-0.011127768084406853,
-0.030293693765997887,
0.06686767935752869,
-0.05133315920829773,
0.04805601015686989,
0.0525096096098423,
0.030242886394262314,
0.021204402670264244,
-0.05251409485936165,
-0.02356625907123089,
0.02195277437567711,
-0.033789150416851044,
0.05109696090221405,
0.009081176482141018,
-0.05928906798362732,
0.06826610863208771,
0.03183263912796974,
-0.07518772035837173,
0.028606517240405083,
0.03417707979679108,
0.030968839302659035,
0.029520202428102493,
0.04509579762816429,
-0.05485569313168526,
0.0167392585426569,
-0.05497271940112114,
0.020511189475655556,
-0.08072736114263535,
0.006076036021113396,
0.019441748037934303,
-0.03235260397195816,
-0.012170723639428616,
0.029904818162322044,
-0.02123391069471836,
0.013771837577223778,
0.032588180154561996,
-0.06982703506946564,
-0.03189612552523613,
0.012226776219904423,
0.017392024397850037,
-0.0312014389783144,
0.006563505623489618,
-0.034636370837688446,
0.024955598637461662,
0.0007460274500772357,
0.002687663771212101,
-0.04307705909013748,
-0.0012076846323907375,
0.037950024008750916,
-0.062325619161129,
-0.03476634621620178,
0.021312076598405838,
0.017039446160197258,
-0.04914040118455887,
0.032261498272418976,
-0.013169325888156891,
-0.0021481735166162252,
0.02086983248591423,
0.008105750195682049,
0.01170308981090784,
-0.03470994159579277,
-0.008800244890153408,
0.02332448400557041,
0.008025740273296833,
0.014891673810780048,
-0.0017815616447478533,
0.011582663282752037,
0.03313761204481125,
0.03509935364127159,
-0.015243339352309704,
-0.05128081515431404,
-0.028889125213027,
0.048288628458976746,
-0.03906269371509552,
0.001686321571469307,
-0.019457297399640083,
-0.05445413663983345,
-0.03229103609919548,
-0.02021886222064495,
-0.010435235686600208,
0.017378881573677063,
-0.03536774963140488,
0.01418951153755188,
0.05171334743499756,
-0.022059116512537003,
-0.0443568229675293,
-0.07963982224464417,
-0.006040277890861034,
-0.02060079760849476,
0.004930179100483656,
0.023404700681567192,
-0.026627928018569946,
0.020889194682240486,
-0.029544591903686523,
-0.04645128175616264,
0.0522896945476532,
0.02603152021765709,
-0.064193956553936,
0.07403387874364853,
0.031533051282167435,
-0.0540592335164547,
-0.00234543951228261,
0.031233178451657295,
-0.04197372496128082,
0.051036980003118515,
0.019789082929491997,
0.004192087799310684,
0.03590688481926918,
0.032644402235746384,
-0.02114366553723812,
-0.03559611737728119,
-0.07875621318817139,
-0.0279341209679842,
-0.04552033543586731,
0.002291159238666296,
0.08765716850757599
] |
CLAck/indo-pure | [
"pytorch",
"marian",
"text2text-generation",
"en",
"id",
"dataset:ALT",
"transformers",
"translation",
"license:apache-2.0",
"autotrain_compatible"
] | translation | {
"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
}
}
} | 4 | null | ---
language: de
datasets:
- deepset/germanquad
license: mit
thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg
tags:
- exbert
---

## Overview
**Language model:** gelectra-base-germanquad-distilled
**Language:** German
**Training data:** GermanQuAD train set (~ 12MB)
**Eval data:** GermanQuAD test set (~ 5MB)
**Infrastructure**: 1x V100 GPU
**Published**: Apr 21st, 2021
## Details
- We trained a German question answering model with a gelectra-base model as its basis.
- The dataset is GermanQuAD, a new, German language dataset, which we hand-annotated and published [online](https://deepset.ai/germanquad).
- The training dataset is one-way annotated and contains 11518 questions and 11518 answers, while the test dataset is three-way annotated so that there are 2204 questions and with 2204Β·3β76 = 6536answers, because we removed 76 wrong answers.
- In addition to the annotations in GermanQuAD, haystack's distillation feature was used for training. deepset/gelectra-large-germanquad was used as the teacher model.
See https://deepset.ai/germanquad for more details and dataset download in SQuAD format.
## Hyperparameters
```
batch_size = 24
n_epochs = 6
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
temperature = 2
distillation_loss_weight = 0.75
```
## Performance
We evaluated the extractive question answering performance on our GermanQuAD test set.
Model types and training data are included in the model name.
For finetuning XLM-Roberta, we use the English SQuAD v2.0 dataset.
The GELECTRA models are warm started on the German translation of SQuAD v1.1 and finetuned on \\\\germanquad.
The human baseline was computed for the 3-way test set by taking one answer as prediction and the other two as ground truth.
```
"exact": 62.4773139745916
"f1": 80.9488017070188
```

## Authors
- Timo MΓΆller: `timo.moeller [at] deepset.ai`
- Julian Risch: `julian.risch [at] deepset.ai`
- Malte Pietsch: `malte.pietsch [at] deepset.ai`
- Michel Bartels: `michel.bartels [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs) | [
0.00660934392362833,
-0.018695585429668427,
-0.02274043671786785,
0.05980966240167618,
0.02958264760673046,
0.023258809000253677,
-0.004429396241903305,
0.007120686583220959,
-0.04173368960618973,
0.042727839201688766,
0.0019429703243076801,
-0.002180228242650628,
0.008291180245578289,
0.0338154137134552,
-0.0588173046708107,
-0.04465549439191818,
0.0004980453522875905,
-0.0006264472031034529,
-0.04375337064266205,
-0.03192053362727165,
-0.03328843042254448,
0.008240100927650928,
0.008842469193041325,
0.02124677784740925,
0.008864582516252995,
0.01571732573211193,
-0.03243986889719963,
0.0348181314766407,
0.039364688098430634,
-0.046593379229307175,
0.011928481981158257,
-0.030230902135372162,
-0.03182915970683098,
-0.033906079828739166,
-0.025711404159665108,
-0.024704379960894585,
0.02834976837038994,
0.0066869971342384815,
0.023057937622070312,
0.04265261068940163,
-0.02904713898897171,
0.019887445494532585,
-0.011253336444497108,
-0.025766314938664436,
0.05892568454146385,
0.0019307105103507638,
-0.046539150178432465,
-0.043143294751644135,
0.023320497944951057,
-0.03050294704735279,
-0.05609365552663803,
-0.07978332042694092,
-0.021752558648586273,
-0.00009299037628807127,
-0.009341337718069553,
-0.021668802946805954,
-0.07382450997829437,
0.002393677830696106,
0.0671858936548233,
-0.05446945130825043,
-0.031652312725782394,
0.011744140647351742,
-0.06645533442497253,
-0.00011153685045428574,
0.05191716179251671,
-0.04248666390776634,
0.009148184210062027,
-0.02668081410229206,
0.016468673944473267,
-0.013442332856357098,
0.08020137995481491,
-0.03982023894786835,
0.041958197951316833,
-0.07639355957508087,
0.009318877942860126,
0.004106851294636726,
0.020295999944210052,
0.04186852648854256,
-0.034529928117990494,
0.05241730064153671,
0.028742898255586624,
0.00022943204385228455,
0.004990171175450087,
-0.04212648421525955,
-0.016251089051365852,
0.04139527305960655,
-0.05363469943404198,
-0.015348097309470177,
-0.009549624286592007,
0.0406552292406559,
-0.022563664242625237,
-0.04150794818997383,
-0.031012043356895447,
-0.017263028770685196,
0.00841405987739563,
0.02762163244187832,
0.022976918146014214,
-0.003072685794904828,
0.014300056733191013,
0.01948961615562439,
0.03913288190960884,
0.053823184221982956,
-0.02831110544502735,
0.0516849085688591,
-0.012978014536201954,
0.013331553898751736,
-0.002015182049944997,
-0.011548732407391071,
-0.05305441841483116,
0.011515450663864613,
0.016481533646583557,
-0.050317250192165375,
-0.015254969708621502,
0.035089027136564255,
0.01809244602918625,
-0.004268314223736525,
0.06494671106338501,
-0.020817019045352936,
-0.022704986855387688,
-0.05293314903974533,
0.02376222051680088,
0.012795169837772846,
-0.00048258379683829844,
0.02646765671670437,
-0.07175028324127197,
0.008789297193288803,
-0.06213941425085068,
-0.03565811365842819,
0.016139855608344078,
-0.007824963890016079,
-0.012688255868852139,
0.05749984830617905,
0.026914622634649277,
-0.05530714988708496,
0.01191712636500597,
-0.004510522820055485,
-0.05864240229129791,
0.012538540177047253,
0.009190854616463184,
0.11211483180522919,
-0.047935452312231064,
-0.04157112166285515,
0.009267469868063927,
0.01703616976737976,
-0.022325852885842323,
0.010867063887417316,
-0.007608119864016771,
-0.022406689822673798,
-0.02119501493871212,
-0.001704561524093151,
0.06528827548027039,
-0.028929399326443672,
0.014346519485116005,
0.03772062808275223,
-0.00021388765890151262,
0.04664437472820282,
-0.04306209832429886,
-0.004647544119507074,
-0.019872430711984634,
0.0013752151280641556,
-0.01580326072871685,
0.021152785047888756,
-0.027840683236718178,
-0.029086848720908165,
-0.04945380985736847,
-0.03503226488828659,
0.01093322318047285,
0.11367218941450119,
-0.004189343191683292,
-0.02281690388917923,
-0.034929562360048294,
0.01913960464298725,
0.04496060311794281,
0.047727320343256,
-0.03771934285759926,
0.04882778972387314,
0.031021054834127426,
0.028276242315769196,
-0.011419667862355709,
0.027609338983893394,
0.0008809132850728929,
-0.016637975350022316,
-0.02563684992492199,
0.029452171176671982,
0.005494813900440931,
-0.044964853674173355,
0.028230689465999603,
0.035843443125486374,
-0.012888260185718536,
-0.032556597143411636,
-0.04156734421849251,
0.06639378517866135,
-0.031143616884946823,
-0.015416833572089672,
0.0064554521813988686,
0.009356201626360416,
-0.04051797091960907,
0.04438982903957367,
-0.03427226096391678,
0.005889391526579857,
-0.04129296541213989,
-0.022111330181360245,
0.033276136964559555,
-0.008616586215794086,
0.02455826662480831,
0.055670369416475296,
0.018323032185435295,
0.08273667842149734,
-0.043108027428388596,
0.007684873882681131,
-0.04734138399362564,
-0.026843326166272163,
-0.0014442711835727096,
0.047045718878507614,
0.0486350916326046,
0.04515574499964714,
-0.021400969475507736,
-0.04798167943954468,
0.05229535326361656,
0.10007306188344955,
0.05912865325808525,
0.005624996032565832,
-0.017808081582188606,
-0.0034329190384596586,
0.03117235377430916,
0.05747252330183983,
-0.05564073473215103,
-0.003613263601437211,
0.018169527873396873,
0.0400388240814209,
-0.0005657833535224199,
0.0018499369034543633,
-0.015064187347888947,
0.001696141785942018,
-0.0376548133790493,
-0.06763981282711029,
0.04143737629055977,
0.017612211406230927,
0.017495179548859596,
0.04276200011372566,
0.006604059599339962,
0.006014257203787565,
-0.003495508572086692,
0.014284477569162846,
0.00904143787920475,
-0.04617897793650627,
-0.004779996816068888,
0.0008133294177241623,
0.05813879147171974,
-0.050597988069057465,
0.029378438368439674,
0.006799997761845589,
0.0236502718180418,
0.04187043756246567,
-0.035637736320495605,
0.030877472832798958,
0.04036640748381615,
-0.0002214160340372473,
-0.03199497610330582,
0.024721598252654076,
0.028670381754636765,
0.022890808060765266,
0.07203555852174759,
0.008134796284139156,
0.04582470282912254,
0.0339004285633564,
0.027454141527414322,
0.07816946506500244,
0.033424392342567444,
0.01766243577003479,
0.01873382367193699,
0.06326017528772354,
0.014003561809659004,
0.015815813094377518,
0.015123669058084488,
-0.06622669845819473,
0.011368944309651852,
-0.01483216043561697,
0.015365049242973328,
0.01774892769753933,
0.01071903109550476,
0.02746436558663845,
0.025673599913716316,
-0.005531663540750742,
0.019780229777097702,
0.01075159665197134,
-0.016004685312509537,
0.040126945823431015,
-0.03737477958202362,
0.01561982836574316,
-0.031179772689938545,
-0.029746942222118378,
0.003172168042510748,
-0.07306893169879913,
-0.05547618865966797,
-0.016665857285261154,
-0.014667118899524212,
0.005520810838788748,
-0.058132097125053406,
-0.011352506466209888,
-0.07522724568843842,
-0.015486386604607105,
0.028812646865844727,
0.024568762630224228,
-0.02271405979990959,
-0.02560538612306118,
0.02481553703546524,
-0.044699229300022125,
-0.05986983701586723,
-0.040226053446531296,
-0.04277278110384941,
-0.0434756800532341,
-0.06456935405731201,
0.05413077026605606,
0.017105557024478912,
0.027487097308039665,
0.00021846871823072433,
0.010480799712240696,
-0.0014178836718201637,
-0.025433378294110298,
0.04296790063381195,
0.07145190238952637,
-0.02931644394993782,
-0.04605209827423096,
0.017612164840102196,
0.0037691467441618443,
0.014569521881639957,
-0.013475684449076653,
-0.024968143552541733,
0.09261704981327057,
0.06724435091018677,
0.0019655022770166397,
0.0017657531425356865,
0.0013801750028505921,
-0.024827605113387108,
-0.04088405519723892,
-0.03994244337081909,
-0.014604916796088219,
-0.0029246360063552856,
-0.027039429172873497,
-0.04045860096812248,
-0.017822112888097763,
-0.03754819557070732,
0.029396694153547287,
0.010238390415906906,
-0.011252357624471188,
0.02549503929913044,
0.04735221341252327,
0.032725099474191666,
0.005536958575248718,
-0.04142596200108528,
-0.015337569639086723,
0.06007382646203041,
0.010077402926981449,
0.02462870255112648,
-0.06695187836885452,
-0.03810478001832962,
0.0423569530248642,
0.021123100072145462,
-0.003488285467028618,
-0.010549939237535,
0.07752241939306259,
0.005492005962878466,
-0.011740104295313358,
0.01752113550901413,
-0.031715329736471176,
-0.059583358466625214,
0.021183019503951073,
0.00805241335183382,
-0.021527716889977455,
-0.07307089865207672,
-0.05250644311308861,
0.006382996682077646,
0.044632188975811005,
-0.061374809592962265,
-0.04532497003674507,
-0.028521407395601273,
0.02374795638024807,
0.018342189490795135,
-0.013048039749264717,
-0.04149814322590828,
0.014061424881219864,
-0.033721573650836945,
-0.030399493873119354,
0.019037362188100815,
0.010706481523811817,
-0.00819423422217369,
0.038763370364904404,
0.020564274862408638,
-0.01316763274371624,
0.0394197441637516,
0.017141243442893028,
0.050190508365631104,
0.023028578609228134,
-0.04283217340707779,
0.014336299151182175,
-0.0264558345079422,
0.02526857890188694,
0.018506688997149467,
-0.0262982826679945,
-0.02567538619041443,
-0.08613766729831696,
-0.008349952287971973,
0.017906002700328827,
-0.02451895736157894,
-0.01615304686129093,
0.02932998724281788,
0.01676209829747677,
-0.003597856033593416,
-0.021716389805078506,
0.014311987906694412,
0.050511036068201065,
-0.0448831282556057,
0.06532445549964905,
0.012534375302493572,
0.020569445565342903,
-0.05260029807686806,
0.02664787508547306,
-0.04439394548535347,
-0.03605155274271965,
0.009850503876805305,
0.0519661083817482,
0.02226478047668934,
0.0629541352391243,
0.07155682146549225,
0.035724181681871414,
-0.04952380433678627,
0.04862804338335991,
0.04696377366781235,
-0.01591336354613304,
-0.03081871010363102,
-0.026646848767995834,
-0.0097940843552351,
-0.009885714389383793,
-0.009677793830633163,
-0.016430098563432693,
0.03925245627760887,
0.040493194013834,
0.008379836566746235,
-0.014056467451155186,
0.002210714388638735,
-0.00886499136686325,
-0.03550225496292114,
-0.03155376389622688,
0.007171443663537502,
0.006693584378808737,
-0.004552067257463932,
0.03545033559203148,
0.045505475252866745,
0.02079155296087265,
0.05508452281355858,
0.023660877719521523,
0.006865684408694506,
-0.029849760234355927,
0.02830364555120468,
0.01161014474928379,
-0.06951051205396652,
-0.06485090404748917,
-0.04310658201575279,
0.04332355782389641,
0.051352351903915405,
0.01476472057402134,
-0.08061248064041138,
0.02606305666267872,
0.06409572809934616,
-0.05955671891570091,
0.04748538136482239,
-0.015900667756795883,
0.026498297229409218,
0.06698521971702576,
-0.023359112441539764,
0.021664131432771683,
-0.017969375476241112,
0.021379312500357628,
-0.0226640235632658,
0.06031860411167145,
-0.011781135573983192,
-0.05610080063343048,
-0.07120159268379211,
0.0362057201564312,
0.05194029211997986,
0.027704153209924698,
0.024366365745663643,
-0.0015002759173512459,
-0.03834705054759979,
0.016655907034873962,
0.031568847596645355,
-0.052812058478593826,
0.023335376754403114,
0.04127160832285881,
0.025549480691552162,
-0.06825663149356842,
-0.00948072224855423,
-0.019969092682003975,
-0.023552481085062027,
0.025046201422810555,
-0.00618587713688612,
-0.024499883875250816,
-0.06901301443576813,
0.036229729652404785,
-0.0486624576151371,
-0.0313398651778698,
-0.08386025577783585,
0.042896121740341187,
-0.025433987379074097,
-0.019058000296354294,
0.07527171075344086,
0.05126907303929329,
0.018812689930200577,
0.059138815850019455,
-0.008605976589024067,
0.006484821904450655,
-0.037436023354530334,
0.04834085330367088,
-0.0508284866809845,
-0.0009366318699903786,
0.005332812666893005,
-0.015793360769748688,
-0.008525398559868336,
-0.022701440379023552,
-0.03625085949897766,
-0.0390910767018795,
-0.026150887832045555,
0.03243332356214523,
-0.0029291806276887655,
-0.016873328015208244,
-0.03896751627326012,
0.018994709476828575,
-0.034338172525167465,
-0.04776246100664139,
-0.011325601488351822,
-0.009915068745613098,
-0.040639471262693405,
-0.07915806770324707,
0.03537123277783394,
0.0019465272780507803,
0.018501130864024162,
0.036816272884607315,
0.02047264762222767,
0.006298424676060677,
-0.003986019641160965,
-0.03664392977952957,
0.014815161004662514,
-0.010875003412365913,
-0.021785952150821686,
-0.03816990181803703,
0.0009637317853048444,
0.0053234281949698925,
0.03504277393221855,
-0.029334021732211113,
0.03467041254043579,
0.030205383896827698,
0.0030144001357257366,
-0.01733081229031086,
0.00896749272942543,
0.03286806866526604,
-0.07466592639684677,
-0.047559212893247604,
-0.045487478375434875,
-0.05734435096383095,
0.021313292905688286,
-0.024744559079408646,
-0.036803968250751495,
0.019567258656024933,
-0.001186188543215394,
0.04854287952184677,
0.020833073183894157,
-0.028188319876790047,
0.05986345559358597,
-0.010134411044418812,
0.028125198557972908,
-0.05351905897259712,
0.027703577652573586,
-0.01544040348380804,
-0.01154462993144989,
-0.027020573616027832,
-0.011064575985074043,
-0.03928638622164726,
0.041315678507089615,
-0.03765213117003441,
-0.028501948341727257,
-0.009666807018220425,
-0.00009104951459448785,
-0.0394882969558239,
0.02316868305206299,
-0.024696994572877884,
0.02798648551106453,
-0.04805812984704971,
0.045236408710479736,
-0.07800058275461197,
-0.01200606394559145,
-0.018543018028140068,
-0.004102237056940794,
-0.03902382403612137,
0.029252976179122925,
-0.03440113738179207,
-0.0186415184289217,
0.0017506289295852184,
0.0335673987865448,
0.026435188949108124,
0.007496024947613478,
-0.01649947091937065,
0.012576491571962833,
0.020501302555203438,
-0.029625648632645607,
0.0002420856908429414,
-0.034461859613657,
-0.016812274232506752,
-0.013684285804629326,
0.048275940120220184,
0.04550161585211754,
-0.05522439628839493,
-0.06611814349889755,
0.04051152244210243,
0.00916367955505848,
0.004514726344496012,
0.012359174899756908,
0.004679159261286259,
0.004402799066156149,
0.02892734296619892,
-0.03697449713945389,
-0.014268836006522179,
-0.024827852845191956,
-0.02779983915388584,
0.005728261079639196,
-0.012620783410966396,
0.01898197829723358,
-0.0004811562830582261,
-0.006056723650544882,
-0.031368181109428406,
0.06448303163051605,
0.020766569301486015,
0.031170392408967018,
-0.010312980972230434,
-0.031413331627845764,
0.03776150196790695,
0.017681725323200226,
-0.01826900616288185,
-0.0018343690317124128,
-0.007779307197779417,
-0.04372207075357437,
0.05909216031432152,
-0.004218320827931166,
0.00008340689964825287,
0.06934963911771774,
0.013107160106301308,
-0.044069141149520874,
0.06044227257370949,
-0.020526641979813576,
-0.0007083456730470061,
0.057737886905670166,
-0.06506086140871048,
-0.01471591554582119,
-0.05668601021170616,
0.07000119984149933,
-0.05892348289489746,
0.023031260818243027,
0.035024452954530716,
0.0068867746740579605,
0.0374482236802578,
-0.045175421983003616,
-0.03452033922076225,
0.019176388159394264,
-0.03560813516378403,
0.05930720269680023,
0.011228203773498535,
-0.029130473732948303,
0.07364656031131744,
0.026973847299814224,
-0.06342700123786926,
-0.0038153284694999456,
0.03656600043177605,
0.05407180264592171,
0.0464325025677681,
0.03602747619152069,
-0.08679955452680588,
0.007399395573884249,
-0.009566223248839378,
0.03568420559167862,
-0.029345031827688217,
-0.06262300163507462,
0.02051103301346302,
-0.03496447578072548,
-0.0010399608872830868,
0.018352393060922623,
-0.010781273245811462,
0.000425010483013466,
0.02568277157843113,
-0.08043719083070755,
-0.05343511328101158,
0.019777147099375725,
0.01474599726498127,
-0.05140731483697891,
0.0039854636415839195,
-0.050192639231681824,
0.026746438816189766,
0.03550449013710022,
-0.0049806926399469376,
-0.01788744330406189,
-0.019148843362927437,
0.024628400802612305,
-0.045745063573122025,
-0.04089375585317612,
0.036973994225263596,
-0.0076739308424293995,
-0.04395720735192299,
0.033520083874464035,
-0.026728905737400055,
0.004645903129130602,
0.026115143671631813,
0.0001576268405187875,
0.020413778722286224,
-0.04743516445159912,
0.013489048928022385,
0.0032349396497011185,
0.010175039060413837,
0.021229363977909088,
-0.021007927134633064,
0.03000275045633316,
0.026752399280667305,
0.04197672754526138,
-0.00781961064785719,
-0.07061142474412918,
-0.016492493450641632,
0.04160015285015106,
-0.040497034788131714,
0.009705943055450916,
-0.015534954145550728,
-0.08270779997110367,
-0.02972930297255516,
-0.019066527485847473,
0.006269723176956177,
0.030656442046165466,
-0.04757944494485855,
-0.0008909484022296965,
0.03421822562813759,
-0.0028787627816200256,
-0.042454518377780914,
-0.09875833988189697,
-0.027190035209059715,
-0.039670005440711975,
0.02570793218910694,
0.038433484733104706,
-0.06234968081116676,
0.019138235598802567,
-0.06058136746287346,
-0.05685210973024368,
0.02904627099633217,
0.039525777101516724,
-0.0676659569144249,
0.061623550951480865,
0.021386267617344856,
-0.05942846089601517,
0.018341995775699615,
0.028770526871085167,
-0.020748645067214966,
0.011559535749256611,
0.00939331017434597,
0.014253898523747921,
0.04279625043272972,
0.021385768428444862,
-0.003442009212449193,
-0.027980012819170952,
-0.05714240297675133,
-0.04330962151288986,
-0.050761379301548004,
0.010719610378146172,
0.08856350928544998
] |
CLS/WubiBERT_models | [] | 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: de
license: mit
datasets:
- wikipedia
- OPUS
- OpenLegalData
- oscar
---
# German ELECTRA large generator
Released, Oct 2020, this is the generator component of the German ELECTRA language model trained collaboratively by the makers of the original German BERT (aka "bert-base-german-cased") and the dbmdz BERT (aka bert-base-german-dbmdz-cased). In our [paper](https://arxiv.org/pdf/2010.10906.pdf), we outline the steps taken to train our model.
The generator is useful for performing masking experiments. If you are looking for a regular language model for embedding extraction, or downstream tasks like NER, classification or QA, please use deepset/gelectra-large.
## Overview
**Paper:** [here](https://arxiv.org/pdf/2010.10906.pdf)
**Architecture:** ELECTRA large (generator)
**Language:** German
## Performance
```
GermEval18 Coarse: 80.70
GermEval18 Fine: 55.16
GermEval14: 88.95
```
See also:
deepset/gbert-base
deepset/gbert-large
deepset/gelectra-base
deepset/gelectra-large
deepset/gelectra-base-generator
deepset/gelectra-large-generator
## Authors
Branden Chan: `branden.chan [at] deepset.ai`
Stefan Schweter: `stefan [at] schweter.eu`
Timo MΓΆller: `timo.moeller [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.011154325678944588,
-0.0009259251528419554,
0.002494926331564784,
0.037638187408447266,
0.03886597603559494,
0.03912860527634621,
-0.0035183648578822613,
0.001635466469451785,
-0.01702137663960457,
0.07560776174068451,
0.013512291014194489,
-0.014265904203057289,
0.0019228082383051515,
0.038080621510744095,
-0.037738148123025894,
-0.008851423859596252,
-0.004293958656489849,
-0.017237557098269463,
-0.06707409769296646,
-0.007698898669332266,
-0.0157314445823431,
-0.007349228952080011,
-0.007507318630814552,
0.02384333871304989,
-0.00425769854336977,
0.008891859091818333,
-0.010922693647444248,
0.030888298526406288,
0.043227966874837875,
-0.06425297260284424,
-0.00997861847281456,
-0.022731123492121696,
-0.03660444915294647,
-0.02406105026602745,
-0.02928396500647068,
0.003989994525909424,
0.03456192836165428,
0.009555752389132977,
0.04258636012673378,
0.03205547854304314,
-0.003522199811413884,
0.015020747669041157,
0.013765058480203152,
-0.03235889971256256,
0.038372792303562164,
-0.002741066971793771,
-0.023534521460533142,
-0.04362888261675835,
0.028010396286845207,
-0.052700888365507126,
-0.04927884787321091,
-0.05605214834213257,
-0.027731778100132942,
0.028018923476338387,
-0.001290321466512978,
-0.009676428511738777,
-0.0700162723660469,
-0.025568189099431038,
0.07596218585968018,
-0.0458054319024086,
-0.0528896190226078,
0.03490929678082466,
-0.055576473474502563,
-0.008634248748421669,
0.038389116525650024,
-0.05035020411014557,
-0.007859150879085064,
-0.043889254331588745,
0.02512240968644619,
-0.015552857890725136,
0.03216397389769554,
-0.03409571573138237,
0.012650943361222744,
-0.07686780393123627,
-0.009278682060539722,
-0.025089537724852562,
0.032136470079422,
0.044687848538160324,
-0.04776560142636299,
0.04208339750766754,
0.01466088555753231,
-0.011801774613559246,
0.013157237321138382,
-0.03288104385137558,
0.020921951159834862,
0.04794372618198395,
-0.01645576022565365,
0.011289265938103199,
0.03233245760202408,
0.04505281522870064,
-0.03268513083457947,
-0.0404946506023407,
-0.027068298310041428,
-0.02645343728363514,
-0.004296678118407726,
0.01332098338752985,
0.030100757256150246,
-0.004205768927931786,
0.018783312290906906,
0.037945546209812164,
0.017854999750852585,
0.04010642692446709,
-0.035926882177591324,
0.05806174501776695,
-0.027457181364297867,
-0.016859285533428192,
-0.000009174615115625784,
-0.040525197982788086,
-0.05576164647936821,
0.017852015793323517,
0.03648852929472923,
-0.025003928691148758,
-0.03472619876265526,
0.05297984927892685,
0.0040270178578794,
-0.0038453731685876846,
0.05703576281666756,
-0.01846068538725376,
-0.0418492928147316,
-0.05549483373761177,
0.03010988049209118,
-0.005049216561019421,
0.01130540668964386,
0.030990352854132652,
-0.07479175180196762,
0.008767040446400642,
-0.06521245092153549,
-0.03760948032140732,
-0.008567883633077145,
0.01542108878493309,
-0.019008854404091835,
0.05396714061498642,
0.022799110040068626,
-0.05001276731491089,
0.019612647593021393,
0.004659250378608704,
-0.05797151103615761,
0.05196642130613327,
0.03065282106399536,
0.11429043859243393,
-0.033725280314683914,
-0.021029237657785416,
0.010574390180408955,
0.02599077671766281,
-0.04405613988637924,
-0.011180379427969456,
-0.012468635104596615,
-0.031907472759485245,
-0.015277792699635029,
-0.009586427360773087,
0.049574971199035645,
-0.06225850433111191,
0.008596857078373432,
0.05403804033994675,
-0.022734422236680984,
0.07706403732299805,
-0.030366579070687294,
-0.013530723750591278,
-0.017492612823843956,
-0.009267090819776058,
-0.036821264773607254,
0.024269143119454384,
-0.00984353106468916,
-0.015836205333471298,
-0.056051142513751984,
-0.041796959936618805,
0.004998866934329271,
0.10218049585819244,
-0.0018635838059708476,
-0.01101452112197876,
-0.031985197216272354,
0.012493218295276165,
0.062492698431015015,
0.023868801072239876,
-0.05367790162563324,
0.030615579336881638,
0.0343148373067379,
0.01940198242664337,
0.009513776749372482,
0.0648995116353035,
-0.0037835293915122747,
-0.027630962431430817,
-0.009125768207013607,
0.02533353678882122,
0.022217631340026855,
-0.03662380576133728,
0.0020274606067687273,
0.028467848896980286,
0.006455289199948311,
-0.028988996520638466,
-0.023265542462468147,
0.06687559932470322,
-0.015501732006669044,
-0.00620765145868063,
0.012753736227750778,
0.007987597025930882,
-0.021591665223240852,
0.04457799345254898,
-0.022270459681749344,
0.006890465039759874,
-0.044867292046546936,
-0.010058293119072914,
0.006927770096808672,
0.016062751412391663,
0.04289652407169342,
0.06561808288097382,
0.003372377483174205,
0.08228546380996704,
-0.04351500794291496,
-0.013864321634173393,
-0.04741566628217697,
-0.04393630102276802,
-0.01001446507871151,
0.0546007938683033,
0.06062430515885353,
0.030248044058680534,
-0.015494167804718018,
-0.06250420212745667,
0.027349017560482025,
0.056937672197818756,
0.0657036304473877,
-0.004386060405522585,
-0.04745543748140335,
-0.01277080923318863,
0.03771580755710602,
0.03810371831059456,
-0.04753745347261429,
-0.050473637878894806,
0.016464266926050186,
0.07239101827144623,
-0.025714406743645668,
0.03010159730911255,
-0.03963732719421387,
0.010613817721605301,
-0.040247928351163864,
-0.03117160126566887,
0.02700742706656456,
0.013343559578061104,
0.005917012225836515,
0.02620037831366062,
-0.014584475196897984,
-0.005892629269510508,
0.009065520018339157,
0.005619050469249487,
0.018919335678219795,
-0.032084789127111435,
-0.005575754214078188,
0.019486334174871445,
0.0614771768450737,
-0.029705574735999107,
0.08034821599721909,
-0.003722745692357421,
0.015655947849154472,
0.016434893012046814,
-0.02489387057721615,
0.03864195942878723,
0.034822702407836914,
-0.016393952071666718,
-0.028074514120817184,
0.034172799438238144,
0.013407442718744278,
0.033643487840890884,
0.06616885215044022,
-0.003965639974921942,
0.058478835970163345,
0.030766965821385384,
0.05496614798903465,
0.08157090842723846,
0.011839469894766808,
0.02490905486047268,
0.04402156174182892,
0.07745601236820221,
-0.0012484309263527393,
-0.02954365685582161,
0.054389819502830505,
-0.043301187455654144,
0.01437050849199295,
-0.04420967772603035,
-0.018981819972395897,
0.014583549462258816,
-0.01724274829030037,
0.04138002172112465,
0.021726414561271667,
0.0037188660353422165,
-0.001482357969507575,
-0.002589993178844452,
-0.007926140911877155,
0.05283691734075546,
-0.011843300424516201,
0.025748852640390396,
-0.02085190638899803,
-0.015148571692407131,
0.02316669560968876,
-0.0698198676109314,
-0.06717504560947418,
0.001989732962101698,
-0.041254423558712006,
-0.005887788254767656,
-0.0724564865231514,
-0.03618256002664566,
-0.05728442966938019,
0.00845324993133545,
0.048574164509773254,
0.023616448044776917,
-0.013513998128473759,
-0.04452666640281677,
0.014222686178982258,
-0.03293732926249504,
-0.02137385867536068,
-0.058950502425432205,
-0.03353483974933624,
-0.03903551027178764,
-0.07659971714019775,
0.051031164824962616,
0.012919136323034763,
0.035138290375471115,
-0.004146152175962925,
0.02134973183274269,
-0.02442711964249611,
-0.038235850632190704,
0.03503020480275154,
0.04543870687484741,
-0.03667823225259781,
-0.035892508924007416,
0.013756239786744118,
0.005346857011318207,
0.020713377743959427,
-0.013645170256495476,
-0.02655189484357834,
0.0810486376285553,
0.03885196894407272,
0.03342205286026001,
0.0019736282993108034,
0.0005387009005062282,
-0.04193618893623352,
-0.052948664873838425,
-0.03761466220021248,
-0.05275638401508331,
-0.00809247326105833,
-0.025292549282312393,
-0.04023454338312149,
-0.019490443170070648,
-0.02126186341047287,
0.024808723479509354,
-0.02047877386212349,
0.005864658392965794,
0.020084580406546593,
0.027125174179673195,
0.03353429213166237,
0.011621496640145779,
-0.03138824924826622,
-0.020873762667179108,
0.07119666785001755,
0.033845726400613785,
0.004243855830281973,
-0.06401987373828888,
-0.03318500146269798,
0.04233604297041893,
0.04326901584863663,
0.011415267363190651,
0.006704879924654961,
0.07867755740880966,
0.02217223308980465,
-0.0035616473760455847,
0.0001666359748924151,
-0.01808922551572323,
-0.055324625223875046,
0.0052950819954276085,
0.004839757457375526,
-0.03688100352883339,
-0.042095378041267395,
-0.035949740558862686,
0.006010787561535835,
0.029367532581090927,
-0.0512971468269825,
-0.052295852452516556,
-0.012066549621522427,
0.04831346869468689,
0.02966431900858879,
-0.01390836201608181,
-0.02836504951119423,
-0.011205654591321945,
-0.02574767731130123,
-0.04058346897363663,
-0.014775050804018974,
0.02201845310628414,
0.028294049203395844,
0.032194145023822784,
0.013426546938717365,
-0.029669610783457756,
0.04214011877775192,
0.048331860452890396,
0.05992032587528229,
0.015914591029286385,
-0.04695560410618782,
0.0452570877969265,
-0.026788601651787758,
0.010712719522416592,
-0.028801722452044487,
-0.0062453970313072205,
-0.058654602617025375,
-0.07222432643175125,
0.00571218179538846,
0.00822548195719719,
-0.013692839071154594,
0.0004941319930367172,
0.04132334515452385,
-0.026419850066304207,
0.007869326509535313,
-0.012443221174180508,
-0.004013881552964449,
0.030038336291909218,
-0.05218086391687393,
0.06350903958082199,
-0.018754974007606506,
0.012593908235430717,
-0.03824198991060257,
0.023802202194929123,
-0.03405386582016945,
-0.0349297896027565,
0.005906485486775637,
0.06807612627744675,
0.026333138346672058,
0.05010199546813965,
0.08945952355861664,
0.0385386161506176,
-0.045585885643959045,
0.044774603098630905,
0.029058432206511497,
-0.007024551276117563,
-0.032954152673482895,
-0.014344919472932816,
-0.009667754173278809,
-0.03861977532505989,
-0.015499487519264221,
-0.02423686906695366,
0.018626311793923378,
0.025136221200227737,
0.011041977442800999,
-0.04590640962123871,
0.014724049717187881,
-0.006969410460442305,
-0.030487243086099625,
-0.06636909395456314,
-0.05336245149374008,
0.009589109569787979,
-0.011739176698029041,
0.062220774590969086,
0.030376430600881577,
0.007792840711772442,
0.06377627700567245,
0.03858701139688492,
-0.014892451465129852,
-0.03476028889417648,
0.01784377545118332,
0.03363829106092453,
-0.05211683362722397,
-0.06507580727338791,
-0.05824380740523338,
0.05971749871969223,
0.0670108050107956,
0.01036373246461153,
-0.09234684705734253,
-0.025325557217001915,
0.06419190764427185,
-0.04109075665473938,
0.06037047877907753,
-0.007887857966125011,
0.037284575402736664,
0.06344638764858246,
-0.0160526130348444,
0.016171928495168686,
-0.02380404621362686,
0.022872280329465866,
-0.013409757055342197,
0.026088910177350044,
-0.032021477818489075,
-0.04055195301771164,
-0.03655482456088066,
0.017967643216252327,
0.034028761088848114,
0.056182313710451126,
0.04227112606167793,
-0.05366077646613121,
-0.038844674825668335,
0.02083897590637207,
0.03370828926563263,
-0.048018138855695724,
0.003010134445503354,
0.024713929742574692,
0.04631534963846207,
-0.03218567371368408,
-0.02450554072856903,
-0.040052372962236404,
-0.005449044518172741,
0.02073720283806324,
0.02466936968266964,
-0.027121759951114655,
-0.08446977287530899,
0.02344576269388199,
-0.035540349781513214,
-0.039798468351364136,
-0.09632916003465652,
0.02215629443526268,
-0.027683014050126076,
-0.024748729541897774,
0.03206366300582886,
0.0040088435634970665,
0.0409097746014595,
0.04722766950726509,
-0.007988978177309036,
0.00139135483186692,
-0.057579975575208664,
0.04022536054253578,
-0.005881874822080135,
-0.005821218714118004,
0.0007676664972677827,
-0.020269598811864853,
-0.0231173075735569,
-0.028462881222367287,
-0.057456523180007935,
-0.05578838661313057,
0.0053698401898145676,
0.0173577219247818,
-0.0336969792842865,
-0.0024890173226594925,
-0.04654445871710777,
0.026336882263422012,
-0.03460955619812012,
-0.029462434351444244,
-0.004352915100753307,
-0.02516104280948639,
-0.08074838668107986,
-0.046171851456165314,
0.018159935250878334,
0.013960949145257473,
0.012238974682986736,
0.03315934166312218,
0.012531405314803123,
-0.02110310085117817,
0.0017449726583436131,
-0.030233299359679222,
0.046296559274196625,
-0.012223122641444206,
-0.03893360123038292,
-0.04234975948929787,
0.010043216869235039,
0.013923191465437412,
0.03193056955933571,
-0.03830051049590111,
0.03816599398851395,
0.00365810445509851,
-0.029987147077918053,
-0.004568810574710369,
0.0016460934421047568,
0.018058128654956818,
-0.07851088792085648,
-0.0523969829082489,
-0.03433048352599144,
-0.04092114791274071,
0.032940372824668884,
-0.02797994762659073,
-0.02157973125576973,
0.025954773649573326,
0.043779198080301285,
0.04139671102166176,
-0.023676518350839615,
-0.032583195716142654,
0.014964403584599495,
-0.02636762149631977,
0.02987416461110115,
-0.04455466940999031,
0.05460086464881897,
-0.04030301421880722,
0.005864543374627829,
0.0006962322513572872,
-0.005581208039075136,
-0.050258904695510864,
0.025962695479393005,
-0.005471932701766491,
-0.004931809846311808,
-0.0070081413723528385,
0.02041957899928093,
-0.02985372021794319,
0.028822915628552437,
-0.028330178931355476,
0.02805877849459648,
-0.02516833506524563,
0.04302100092172623,
-0.03590979054570198,
-0.013595115393400192,
0.006549812387675047,
0.007814791984856129,
-0.05131712928414345,
-0.02275925688445568,
-0.006371774710714817,
-0.048942238092422485,
0.007149536162614822,
0.03765970468521118,
0.030954254791140556,
0.0066900611855089664,
-0.03010975755751133,
0.002808984136208892,
0.014093601144850254,
-0.06210353225469589,
0.0003703697002492845,
0.0030658862087875605,
0.0036678884644061327,
-0.012754756025969982,
0.0599658228456974,
0.03788025677204132,
-0.04880863055586815,
-0.07615850120782852,
0.04114730283617973,
0.013074229471385479,
0.0017976247472688556,
-0.0038105526473373175,
0.016940556466579437,
0.011417393572628498,
0.03597802668809891,
-0.05586817115545273,
-0.0005529767950065434,
0.0026931180618703365,
-0.014187424443662167,
0.0033281866926699877,
-0.013438097201287746,
0.016996799036860466,
0.008010316640138626,
-0.021864499896764755,
-0.013416050933301449,
0.0659223347902298,
0.013748378492891788,
0.0055886623449623585,
0.007539393845945597,
-0.023358726873993874,
0.0241391584277153,
0.004871636629104614,
-0.059276480227708817,
-0.01928727887570858,
-0.0005908411112613976,
-0.049810439348220825,
0.06445347517728806,
-0.007812734693288803,
0.02194417081773281,
0.06360374391078949,
-0.00709160789847374,
-0.02703605219721794,
0.05977870151400566,
-0.030497457832098007,
-0.0018546063220128417,
0.04176367446780205,
-0.048283521085977554,
-0.010376484133303165,
-0.036745622754096985,
0.06745892763137817,
-0.04823606088757515,
0.05065223202109337,
0.05310973525047302,
0.02979454956948757,
0.02865547128021717,
-0.05155566707253456,
-0.01016469206660986,
0.018195925280451775,
-0.03454158827662468,
0.057745520025491714,
0.013095580041408539,
-0.05172492563724518,
0.07046961039304733,
0.03202712908387184,
-0.0787513256072998,
0.035813961178064346,
0.04119100049138069,
0.03161788731813431,
0.025673970580101013,
0.04368554800748825,
-0.04988574609160423,
0.01849561557173729,
-0.05448056012392044,
0.01825019158422947,
-0.07980183511972427,
0.0012245813850313425,
0.019929656758904457,
-0.031098876148462296,
-0.015646180137991905,
0.030200356617569923,
-0.033228177577257156,
0.01242859847843647,
0.029740851372480392,
-0.08093789964914322,
-0.028475778177380562,
0.014473759569227695,
0.029012683779001236,
-0.03245772793889046,
0.00940253771841526,
-0.028788011521100998,
0.030117351561784744,
-0.0007862983038648963,
0.005903010256588459,
-0.03731546178460121,
0.00035920311347581446,
0.035978421568870544,
-0.05808155611157417,
-0.0271539855748415,
0.028566524386405945,
0.021760473027825356,
-0.043926265090703964,
0.03380675986409187,
-0.02028442732989788,
-0.0037570525892078876,
0.01996651664376259,
-0.000057047451264224946,
0.00570130767300725,
-0.02991483546793461,
-0.006079426035284996,
0.019518719986081123,
0.01704793982207775,
0.012913469225168228,
-0.005839042831212282,
0.014000331051647663,
0.03279232233762741,
0.03640277311205864,
-0.01554372813552618,
-0.053050290793180466,
-0.031654682010412216,
0.04494386911392212,
-0.0329582616686821,
0.00500965490937233,
-0.020841389894485474,
-0.055075619369745255,
-0.034506432712078094,
-0.014369862154126167,
-0.011507748626172543,
0.022316012531518936,
-0.03628005459904671,
0.017585353925824165,
0.04528309032320976,
-0.021068166941404343,
-0.04215380921959877,
-0.08156811445951462,
-0.012704108841717243,
-0.01865975745022297,
0.0068097347393631935,
0.02328462339937687,
-0.03266068175435066,
0.022117016837000847,
-0.03502647206187248,
-0.04531469568610191,
0.06455107778310776,
0.015044717118144035,
-0.05531344190239906,
0.0735844299197197,
0.028513610363006592,
-0.05643732100725174,
0.005849222186952829,
0.038772471249103546,
-0.04589242860674858,
0.05167044699192047,
0.019291779026389122,
-0.0036866047885268927,
0.03623532876372337,
0.03439787030220032,
-0.013065834529697895,
-0.02606326900422573,
-0.07814174145460129,
-0.03260945901274681,
-0.03934590891003609,
-0.003365696407854557,
0.08452771604061127
] |
CLTL/MedRoBERTa.nl | [
"pytorch",
"roberta",
"fill-mask",
"nl",
"transformers",
"license:mit",
"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
}
}
} | 2,988 | null | ---
language: de
datasets:
- deepset/germanquad
license: mit
thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg
tags:
- exbert
---

## Overview
**Language model:** gelectra-large-germanquad
**Language:** German
**Training data:** GermanQuAD train set (~ 12MB)
**Eval data:** GermanQuAD test set (~ 5MB)
**Infrastructure**: 1x V100 GPU
**Published**: Apr 21st, 2021
## Details
- We trained a German question answering model with a gelectra-large model as its basis.
- The dataset is GermanQuAD, a new, German language dataset, which we hand-annotated and published [online](https://deepset.ai/germanquad).
- The training dataset is one-way annotated and contains 11518 questions and 11518 answers, while the test dataset is three-way annotated so that there are 2204 questions and with 2204Β·3β76 = 6536 answers, because we removed 76 wrong answers.
See https://deepset.ai/germanquad for more details and dataset download in SQuAD format.
## Hyperparameters
```
batch_size = 24
n_epochs = 2
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
```
## Performance
We evaluated the extractive question answering performance on our GermanQuAD test set.
Model types and training data are included in the model name.
For finetuning XLM-Roberta, we use the English SQuAD v2.0 dataset.
The GELECTRA models are warm started on the German translation of SQuAD v1.1 and finetuned on [GermanQuAD](https://deepset.ai/germanquad).
The human baseline was computed for the 3-way test set by taking one answer as prediction and the other two as ground truth.

## Authors
**Timo MΓΆller:** timo.moeller@deepset.ai
**Julian Risch:** julian.risch@deepset.ai
**Malte Pietsch:** malte.pietsch@deepset.ai
## About us
<div class="grid lg:grid-cols-2 gap-x-4 gap-y-3">
<div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center">
<img alt="" src="https://huggingface.co/spaces/deepset/README/resolve/main/haystack-logo-colored.svg" class="w-40"/>
</div>
<div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center">
<img alt="" src="https://huggingface.co/spaces/deepset/README/resolve/main/deepset-logo-colored.svg" class="w-40"/>
</div>
</div>
[deepset](http://deepset.ai/) is the company behind the open-source NLP framework [Haystack](https://haystack.deepset.ai/) which is designed to help you build production ready NLP systems that use: Question answering, summarization, ranking etc.
Some of our other work:
- [Distilled roberta-base-squad2 (aka "tinyroberta-squad2")]([https://huggingface.co/deepset/tinyroberta-squad2)
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
## Get in touch and join the Haystack community
<p>For more info on Haystack, visit our <strong><a href="https://github.com/deepset-ai/haystack">GitHub</a></strong> repo and <strong><a href="https://haystack.deepset.ai">Documentation</a></strong>.
We also have a <strong><a class="h-7" href="https://haystack.deepset.ai/community/join">Discord community open to everyone!</a></strong></p>
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
0.004891627002507448,
-0.01604323647916317,
-0.01225327979773283,
0.0651024654507637,
0.030739719048142433,
0.01320851594209671,
-0.0004751784435939044,
-0.0018972866237163544,
-0.0371902771294117,
0.03591540828347206,
0.01729663275182247,
0.0009693683823570609,
0.0023146176245063543,
0.0410066656768322,
-0.055078763514757156,
-0.04257431626319885,
-0.005685787182301283,
0.0026848246343433857,
-0.04667622596025467,
-0.036353904753923416,
-0.03870992362499237,
0.014247806742787361,
0.01275006402283907,
0.01694658026099205,
0.008639679290354252,
0.01291209738701582,
-0.030805958434939384,
0.03543630987405777,
0.030220821499824524,
-0.05627746880054474,
0.0043389867059886456,
-0.03201918303966522,
-0.02693421021103859,
-0.03815894201397896,
-0.012246767058968544,
-0.028618479147553444,
0.03654995560646057,
0.004951919429004192,
0.02270616590976715,
0.03958625718951225,
-0.02801579423248768,
0.00877193920314312,
-0.0019525425741448998,
-0.020921431481838226,
0.05525977537035942,
-0.0020548966713249683,
-0.0501890704035759,
-0.04392389580607414,
0.017711106687784195,
-0.027796940878033638,
-0.0586012564599514,
-0.07711363583803177,
-0.02431304007768631,
0.0014442788669839501,
-0.0025605729315429926,
-0.01599685475230217,
-0.06555956602096558,
0.0013668040046468377,
0.062485598027706146,
-0.056714847683906555,
-0.03982627019286156,
0.01669781468808651,
-0.07119729369878769,
0.0047996859066188335,
0.061837103217840195,
-0.041672367602586746,
0.0027109745424240828,
-0.027625104412436485,
0.01987055502831936,
-0.014776982367038727,
0.08525014668703079,
-0.038680486381053925,
0.04187333956360817,
-0.07293592393398285,
0.007020766846835613,
0.008719567209482193,
0.01752956211566925,
0.03133288770914078,
-0.03433550149202347,
0.05991114303469658,
0.026672368869185448,
0.005291002336889505,
-0.001351450802758336,
-0.04005281627178192,
-0.005679724272340536,
0.03464045375585556,
-0.0494878813624382,
-0.008755603805184364,
-0.010151555761694908,
0.043034251779317856,
-0.019811397418379784,
-0.049141775816679,
-0.03517170995473862,
-0.016136717051267624,
0.0026614973321557045,
0.024295680224895477,
0.021132471039891243,
-0.005585414357483387,
0.00996717531234026,
0.020417960360646248,
0.03765139356255531,
0.052479203790426254,
-0.023787226527929306,
0.0562470406293869,
-0.010642987675964832,
0.015234953723847866,
0.0031185231637209654,
-0.013950811699032784,
-0.04254041612148285,
0.019643373787403107,
0.032533418387174606,
-0.05679543316364288,
-0.010999214835464954,
0.026020601391792297,
0.019529549404978752,
0.0031165939290076494,
0.06394913047552109,
-0.020772764459252357,
-0.03312941640615463,
-0.055565595626831055,
0.0233224555850029,
0.004614369943737984,
-0.003359356429427862,
0.04011472314596176,
-0.07534047216176987,
-0.001099174376577139,
-0.05954303964972496,
-0.044569987803697586,
0.019942305982112885,
-0.008006521500647068,
-0.016734397038817406,
0.04934179410338402,
0.026225201785564423,
-0.05468887463212013,
0.013631324283778667,
0.006403370760381222,
-0.053003713488578796,
0.01410453487187624,
0.0031376779079437256,
0.11542082577943802,
-0.046989649534225464,
-0.05038249120116234,
0.01674370840191841,
0.017603319138288498,
-0.020027095451951027,
0.0075622363947331905,
-0.004074641969054937,
-0.015772905200719833,
-0.024245886132121086,
0.0007335870759561658,
0.06612548232078552,
-0.03632526472210884,
0.015349037945270538,
0.03609142079949379,
-0.00032736745197325945,
0.04591206833720207,
-0.03999299928545952,
-0.005006975028663874,
-0.019687941297888756,
0.005444883368909359,
-0.010216319933533669,
0.02051462046802044,
-0.02268815226852894,
-0.020067930221557617,
-0.05618271231651306,
-0.03720204532146454,
0.00811189878731966,
0.11423961073160172,
-0.0003649770515039563,
-0.025682084262371063,
-0.029949286952614784,
0.017268793657422066,
0.04320409893989563,
0.04435974732041359,
-0.04011806473135948,
0.052740372717380524,
0.029249217361211777,
0.028866397216916084,
-0.011536069214344025,
0.02713788114488125,
0.005392084363847971,
-0.025167517364025116,
-0.02925417758524418,
0.03832673653960228,
0.012331711128354073,
-0.045484017580747604,
0.0270073264837265,
0.042118947952985764,
-0.02075629122555256,
-0.036184947937726974,
-0.036303624510765076,
0.06651483476161957,
-0.022536465898156166,
-0.017898084595799446,
0.004140409640967846,
0.0064970962703228,
-0.0325094573199749,
0.04027838259935379,
-0.02842414565384388,
0.0014643612084910274,
-0.0485667884349823,
-0.022923359647393227,
0.03632977232336998,
-0.008600064553320408,
0.011922736652195454,
0.05719893425703049,
0.016633210703730583,
0.07414067536592484,
-0.04480443149805069,
0.007258773781359196,
-0.05308278650045395,
-0.026688745245337486,
-0.005217883735895157,
0.04365377500653267,
0.05443790182471275,
0.03730492293834686,
-0.025671791285276413,
-0.0472906231880188,
0.05092973634600639,
0.10603316873311996,
0.05472487956285477,
0.004107228014618158,
-0.017036087810993195,
-0.0029407332185655832,
0.023968948051333427,
0.058687474578619,
-0.05239862948656082,
-0.00023266664356924593,
0.015036611817777157,
0.04091901704668999,
-0.009054814465343952,
0.012791036628186703,
-0.017326807603240013,
-0.0067230998538434505,
-0.029612485319375992,
-0.06815332919359207,
0.04408849775791168,
0.025508426129817963,
0.024292461574077606,
0.04668143764138222,
-0.0012513181427493691,
0.01043455395847559,
-0.0037103022914379835,
0.006787646561861038,
0.0012386144371703267,
-0.045805420726537704,
-0.0012685679830610752,
0.014620620757341385,
0.060122113674879074,
-0.05129716917872429,
0.026387961581349373,
0.01259701605886221,
0.02998674288392067,
0.03929339721798897,
-0.03666934370994568,
0.033091217279434204,
0.04541366919875145,
0.006274383515119553,
-0.02662859670817852,
0.01948411762714386,
0.032748784869909286,
0.009818664751946926,
0.07219404727220535,
0.007238238118588924,
0.04199732840061188,
0.035704605281353,
0.028952524065971375,
0.08067405968904495,
0.028705257922410965,
0.013773850165307522,
0.014380106702446938,
0.06858404725790024,
0.01274509821087122,
0.014567826874554157,
0.014541137963533401,
-0.06562884896993637,
0.01593928225338459,
-0.007524504326283932,
0.009766889736056328,
0.020783130079507828,
0.0003923690819647163,
0.026325389742851257,
0.03207040950655937,
-0.0029706598725169897,
0.025267483666539192,
0.009599130600690842,
-0.015520834363996983,
0.04488973692059517,
-0.04639377072453499,
0.009326203726232052,
-0.025985630229115486,
-0.028082529082894325,
0.011113762855529785,
-0.06281902641057968,
-0.05769656226038933,
-0.013215373270213604,
-0.015040462836623192,
0.004422824829816818,
-0.06726734340190887,
-0.007657031062990427,
-0.07831956446170807,
-0.011708848178386688,
0.0407889261841774,
0.02311859466135502,
-0.019892483949661255,
-0.024959705770015717,
0.023903153836727142,
-0.044791143387556076,
-0.04858410358428955,
-0.03933798149228096,
-0.04135098680853844,
-0.04324738308787346,
-0.057125382125377655,
0.05401017144322395,
0.021545875817537308,
0.04047893360257149,
-0.005873557645827532,
0.006069603376090527,
-0.007600980810821056,
-0.03122083470225334,
0.04412978142499924,
0.05847983807325363,
-0.02808564156293869,
-0.05381792038679123,
0.015154104679822922,
0.0036054616793990135,
0.016672242432832718,
-0.018434762954711914,
-0.019444717094302177,
0.09406938403844833,
0.06232564151287079,
0.010408256202936172,
-0.0013120832154527307,
-0.013976993970572948,
-0.03214660659432411,
-0.026956792920827866,
-0.044982388615608215,
-0.011859686113893986,
0.006486054044216871,
-0.03465782105922699,
-0.03442147746682167,
-0.013404070399701595,
-0.03318312019109726,
0.029825599864125252,
0.014249459840357304,
-0.02072225697338581,
0.021298782899975777,
0.04319249838590622,
0.02997034415602684,
0.008954853750765324,
-0.043298643082380295,
-0.015158062800765038,
0.0666658952832222,
0.010890868492424488,
0.029067959636449814,
-0.05867569148540497,
-0.0418262779712677,
0.03870689868927002,
0.02571163699030876,
0.0025735870003700256,
-0.015028298832476139,
0.07204465568065643,
0.011860479600727558,
-0.018017299473285675,
0.013416866771876812,
-0.032781779766082764,
-0.05453543737530708,
0.005589073523879051,
0.01286243088543415,
-0.02631998248398304,
-0.07497526705265045,
-0.04173389822244644,
0.008764195255935192,
0.04338325187563896,
-0.061238739639520645,
-0.04445897042751312,
-0.03619116544723511,
0.01795714721083641,
0.00832768902182579,
-0.010256865061819553,
-0.041869357228279114,
0.008826575241982937,
-0.025622447952628136,
-0.02808120846748352,
0.013042422942817211,
0.007596184033900499,
-0.0121459374204278,
0.03886929526925087,
0.031083624809980392,
-0.0017974855145439506,
0.0448765829205513,
0.013051196001470089,
0.04940725490450859,
0.02411988005042076,
-0.04256800562143326,
0.023074157536029816,
-0.018706917762756348,
0.020482633262872696,
0.020692387595772743,
-0.02151089534163475,
-0.03350044786930084,
-0.08481616526842117,
-0.00009690330625744537,
0.02101527713239193,
-0.026204505935311317,
-0.019570372998714447,
0.02725292183458805,
0.010181374847888947,
-0.0023935872595757246,
-0.028487419709563255,
0.008182291872799397,
0.04510462284088135,
-0.056383054703474045,
0.06770195811986923,
0.020469652488827705,
0.020639194175601006,
-0.046582989394664764,
0.03304186835885048,
-0.04697832092642784,
-0.03174534812569618,
0.013374174013733864,
0.05774519965052605,
0.03347838297486305,
0.06604255735874176,
0.07126295566558838,
0.030238382518291473,
-0.05259709432721138,
0.045388661324977875,
0.046581387519836426,
-0.01779835857450962,
-0.025212448090314865,
-0.026120128110051155,
-0.012783439829945564,
-0.014708372764289379,
-0.029844580218195915,
-0.01867073029279709,
0.04164916276931763,
0.03488282859325409,
0.008557810448110104,
-0.02076532132923603,
0.003679380053654313,
-0.002958855591714382,
-0.041431888937950134,
-0.024307813495397568,
0.004855897277593613,
-0.0020088902674615383,
-0.00037473419797606766,
0.04071953520178795,
0.04425298795104027,
0.021265776827931404,
0.04724311828613281,
0.026458408683538437,
0.0179012268781662,
-0.036275241523981094,
0.029945168644189835,
0.014793375506997108,
-0.06660692393779755,
-0.05851110816001892,
-0.034266386181116104,
0.055379290133714676,
0.0458025187253952,
0.021552251651883125,
-0.08624550700187683,
0.01792052946984768,
0.06538686901330948,
-0.056603141129016876,
0.03757249191403389,
-0.014828665181994438,
0.028051577508449554,
0.06959614902734756,
-0.02594948746263981,
0.021139927208423615,
-0.019153082743287086,
0.025749851018190384,
-0.019796092063188553,
0.060203198343515396,
-0.022173741832375526,
-0.04697461798787117,
-0.0699421614408493,
0.033853039145469666,
0.05092820152640343,
0.032314594835042953,
0.02355031482875347,
-0.00381345022469759,
-0.03603476285934448,
0.014840607531368732,
0.03610403835773468,
-0.050125058740377426,
0.026736300438642502,
0.03786134719848633,
0.024014508351683617,
-0.0710797905921936,
-0.0027945530600845814,
-0.02241489291191101,
-0.023132886737585068,
0.02249779924750328,
-0.002790805185213685,
-0.020587047562003136,
-0.07080855965614319,
0.03922681510448456,
-0.04665176570415497,
-0.04164760932326317,
-0.07425117492675781,
0.0430673323571682,
-0.021933628246188164,
-0.018602391704916954,
0.06294937431812286,
0.052035171538591385,
0.0190348569303751,
0.06707525253295898,
-0.01933888904750347,
-0.010329733602702618,
-0.03933677822351456,
0.045684728771448135,
-0.05204133689403534,
-0.006572192069143057,
0.0033262071665376425,
-0.015821171924471855,
-0.007689685095101595,
-0.02270781248807907,
-0.040501926094293594,
-0.03045792505145073,
-0.018850859254598618,
0.02768140658736229,
0.009135720320045948,
-0.02121846191585064,
-0.030163807794451714,
0.02741439826786518,
-0.03897300735116005,
-0.043341536074876785,
-0.00664589274674654,
-0.006145893130451441,
-0.03613271564245224,
-0.07124560326337814,
0.032216284424066544,
0.010621923953294754,
0.02330758608877659,
0.038460660725831985,
0.013649621978402138,
0.0027301532682031393,
-0.003331863321363926,
-0.02627052552998066,
0.019448524340987206,
-0.01213991828262806,
-0.0230468288064003,
-0.043208442628383636,
0.009687729179859161,
0.008622954599559307,
0.038913216441869736,
-0.024675844237208366,
0.028409181162714958,
0.0196656733751297,
-0.007621789816766977,
-0.016096927225589752,
0.005428226199001074,
0.037363097071647644,
-0.07787340134382248,
-0.045568302273750305,
-0.04519259184598923,
-0.05811208114027977,
0.025299888104200363,
-0.02679501101374626,
-0.04187256842851639,
0.012889241799712181,
0.007181502878665924,
0.04424785450100899,
0.02815774455666542,
-0.023223157972097397,
0.05910457298159599,
-0.014299320057034492,
0.016761790961027145,
-0.05995665863156319,
0.024900518357753754,
-0.01193829346448183,
-0.014971086755394936,
-0.024189217016100883,
-0.009001192636787891,
-0.04183637723326683,
0.051212504506111145,
-0.034750666469335556,
-0.019236324355006218,
-0.00810292363166809,
0.00024165402282960713,
-0.03288019075989723,
0.01987021043896675,
-0.028795115649700165,
0.03451511636376381,
-0.045645758509635925,
0.04377259314060211,
-0.0742688775062561,
-0.016107678413391113,
-0.008876798674464226,
-0.0006583875510841608,
-0.048427514731884,
0.030948422849178314,
-0.03533520922064781,
-0.02093772031366825,
-0.0015680467477068305,
0.0328386165201664,
0.02693522721529007,
0.0036660805344581604,
-0.017486844211816788,
0.008697397075593472,
0.016145432367920876,
-0.040318094193935394,
-0.0017683329060673714,
-0.03719712048768997,
-0.015692640095949173,
-0.00808529369533062,
0.052538663148880005,
0.04254089668393135,
-0.05790327489376068,
-0.0700996145606041,
0.049593232572078705,
0.0016336250118911266,
0.0042600249871611595,
0.017306797206401825,
-0.009674686938524246,
0.008973494172096252,
0.024682871997356415,
-0.03792271018028259,
-0.00834104884415865,
-0.02559262327849865,
-0.01956292986869812,
0.00665789470076561,
-0.013171734288334846,
0.01929544284939766,
0.00972007866948843,
-0.00917409360408783,
-0.027610886842012405,
0.052305322140455246,
0.017965475097298622,
0.030550293624401093,
-0.00015694212925154716,
-0.026590663939714432,
0.03586368262767792,
0.023394793272018433,
-0.02109041064977646,
-0.004975448362529278,
-0.02245357632637024,
-0.03236540034413338,
0.05932515859603882,
-0.0045173936523497105,
-0.0035177385434508324,
0.0712713822722435,
0.006621876731514931,
-0.03978930413722992,
0.05983898788690567,
-0.01908932998776436,
0.007605317980051041,
0.05992730334401131,
-0.07356799393892288,
-0.01155566330999136,
-0.05722136050462723,
0.07376353442668915,
-0.06283655017614365,
0.03419411554932594,
0.03571068122982979,
0.010289067402482033,
0.03331656754016876,
-0.03962061181664467,
-0.04098008573055267,
0.0063191065564751625,
-0.02989836595952511,
0.0621308758854866,
0.006383029278367758,
-0.018953103572130203,
0.07300690561532974,
0.025237182155251503,
-0.06079389154911041,
0.0036793267354369164,
0.043763525784015656,
0.05617247894406319,
0.05376667156815529,
0.03784383833408356,
-0.07679647207260132,
0.00931462924927473,
-0.008058466017246246,
0.05250339210033417,
-0.021569201722741127,
-0.06558503955602646,
0.012468480505049229,
-0.02828505076467991,
-0.008633129298686981,
0.020639758557081223,
-0.014208370819687843,
0.00185551552567631,
0.024321671575307846,
-0.08448446542024612,
-0.052272722125053406,
0.014695251360535622,
0.015713846310973167,
-0.05046573281288147,
0.006126423832029104,
-0.05972572788596153,
0.030028024688363075,
0.03462042286992073,
-0.006358577404171228,
-0.015993213281035423,
-0.018844598904252052,
0.01825997233390808,
-0.05391659587621689,
-0.03754443675279617,
0.034916799515485764,
-0.012164106592535973,
-0.0436316542327404,
0.030562715604901314,
-0.03285430744290352,
0.0011493085185065866,
0.02344256453216076,
0.004166302736848593,
0.007518901489675045,
-0.03805563598871231,
0.008370448835194111,
0.009167429059743881,
0.014829928986728191,
0.020591365173459053,
-0.02011081762611866,
0.03220393508672714,
0.022915808483958244,
0.04892205819487572,
-0.006985142361372709,
-0.07324451208114624,
-0.015947382897138596,
0.047400426119565964,
-0.03456009551882744,
0.007586040999740362,
-0.02287771739065647,
-0.07599376887083054,
-0.030637232586741447,
-0.028813336044549942,
0.004818721674382687,
0.028768889605998993,
-0.03646770492196083,
-0.004073021467775106,
0.02838391624391079,
-0.0032254131510853767,
-0.04237775504589081,
-0.10403632372617722,
-0.025187566876411438,
-0.03952285274863243,
0.026854170486330986,
0.030483728274703026,
-0.06382284313440323,
0.018411844968795776,
-0.0676213726401329,
-0.05753500014543533,
0.032816946506500244,
0.033743854612112045,
-0.06361229717731476,
0.06052359938621521,
0.03220390900969505,
-0.04956326633691788,
0.019559137523174286,
0.030324537307024002,
-0.021189043298363686,
0.017177319154143333,
0.008348328061401844,
0.009874531999230385,
0.04692269489169121,
0.025393903255462646,
0.002884375397115946,
-0.025743544101715088,
-0.05122675374150276,
-0.03854502737522125,
-0.04237835854291916,
0.010624450631439686,
0.09072396159172058
] |
CLTL/gm-ner-xlmrbase | [
"pytorch",
"tf",
"xlm-roberta",
"token-classification",
"nl",
"transformers",
"dighum",
"license:apache-2.0",
"autotrain_compatible"
] | token-classification | {
"architectures": [
"XLMRobertaForTokenClassification"
],
"model_type": "xlm-roberta",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 2 | null | ---
language: de
license: mit
datasets:
- wikipedia
- OPUS
- OpenLegalData
- oscar
---
# German ELECTRA large
Released, Oct 2020, this is a German ELECTRA language model trained collaboratively by the makers of the original German BERT (aka "bert-base-german-cased") and the dbmdz BERT (aka bert-base-german-dbmdz-cased). In our [paper](https://arxiv.org/pdf/2010.10906.pdf), we outline the steps taken to train our model and show that this is the state of the art German language model.
## Overview
**Paper:** [here](https://arxiv.org/pdf/2010.10906.pdf)
**Architecture:** ELECTRA large (discriminator)
**Language:** German
## Performance
```
GermEval18 Coarse: 80.70
GermEval18 Fine: 55.16
GermEval14: 88.95
```
See also:
deepset/gbert-base
deepset/gbert-large
deepset/gelectra-base
deepset/gelectra-large
deepset/gelectra-base-generator
deepset/gelectra-large-generator
## Authors
Branden Chan: `branden.chan [at] deepset.ai`
Stefan Schweter: `stefan [at] schweter.eu`
Timo MΓΆller: `timo.moeller [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.007861454971134663,
-0.0017886535497382283,
-0.010362676344811916,
0.04704660177230835,
0.03507780283689499,
0.03652876242995262,
0.0002457567024976015,
0.004784385208040476,
-0.022846505045890808,
0.06704629957675934,
0.010007722303271294,
-0.02220260724425316,
0.016710100695490837,
0.03771039843559265,
-0.03945416957139969,
-0.027944765985012054,
-0.0007133451872505248,
-0.012140534818172455,
-0.05704918131232262,
-0.004759835544973612,
-0.007741263136267662,
-0.004704260732978582,
-0.010725034400820732,
0.015350720845162868,
-0.010402160696685314,
0.008897083811461926,
-0.026506977155804634,
0.03729376569390297,
0.02824322134256363,
-0.07224723696708679,
-0.00511392205953598,
-0.020677780732512474,
-0.035516854375600815,
-0.031419478356838226,
-0.025131642818450928,
0.018389279022812843,
0.03095863200724125,
0.015088412910699844,
0.04731166362762451,
0.03334612026810646,
-0.002074389485642314,
0.004456270486116409,
0.015934208407998085,
-0.03634442016482353,
0.04335170239210129,
-0.007132994011044502,
-0.016531938686966896,
-0.04579037055373192,
0.024662965908646584,
-0.05534542724490166,
-0.0396701879799366,
-0.04522787034511566,
-0.029198046773672104,
0.03284219652414322,
0.005873029585927725,
-0.004194794222712517,
-0.07083763182163239,
-0.0028572198934853077,
0.075337715446949,
-0.05345282331109047,
-0.06071985885500908,
0.040619056671857834,
-0.05623328313231468,
-0.013161223381757736,
0.046583980321884155,
-0.052498482167720795,
-0.011385760270059109,
-0.03260844573378563,
0.03202421963214874,
-0.01139365416020155,
0.03454836085438728,
-0.02802455425262451,
0.023953398689627647,
-0.06771747767925262,
-0.006875827442854643,
-0.021873533725738525,
0.027243660762906075,
0.03514229506254196,
-0.04787517711520195,
0.03744915500283241,
0.017727231606841087,
-0.007600645534694195,
0.026205740869045258,
-0.03439199551939964,
0.005216997116804123,
0.05626921355724335,
-0.02662470005452633,
0.003193709533661604,
0.03243023157119751,
0.03231985494494438,
-0.03860193118453026,
-0.041844211518764496,
-0.026216810569167137,
-0.014685587957501411,
-0.002045275876298547,
0.013912192545831203,
0.03605860099196434,
-0.019720282405614853,
0.014414507895708084,
0.046381790190935135,
0.0166854839771986,
0.04353972524404526,
-0.03296498954296112,
0.050744712352752686,
-0.02616792730987072,
-0.015535873360931873,
-0.009572386741638184,
-0.03536515682935715,
-0.05620097368955612,
0.02375675179064274,
0.026247384026646614,
-0.022061146795749664,
-0.02417954057455063,
0.05468326061964035,
0.010768232867121696,
0.00186350685544312,
0.06408476829528809,
-0.02128308080136776,
-0.05122039094567299,
-0.056084901094436646,
0.03470682352781296,
0.006249457597732544,
0.012893999926745892,
0.026378558948636055,
-0.07601898908615112,
0.013753999955952168,
-0.06556688994169235,
-0.05007521063089371,
-0.014247249811887741,
0.009801669046282768,
-0.009243533946573734,
0.050383102148771286,
0.030790170654654503,
-0.05743249133229256,
0.024481751024723053,
-0.0018690673168748617,
-0.06561817228794098,
0.04761476069688797,
0.03069743700325489,
0.11085181683301926,
-0.037584178149700165,
-0.0185764878988266,
0.02201548032462597,
0.025223014876246452,
-0.0384751632809639,
-0.004825556185096502,
-0.010187134146690369,
-0.01879180781543255,
-0.01919153332710266,
-0.008658776059746742,
0.035886239260435104,
-0.05384879559278488,
-0.01045213732868433,
0.060314711183309555,
-0.025808123871684074,
0.07548777759075165,
-0.03619927167892456,
-0.01632968708872795,
-0.010358492843806744,
-0.015296336263418198,
-0.04575790464878082,
0.020870322361588478,
-0.010934061370790005,
-0.012301627546548843,
-0.05563722923398018,
-0.04117637127637863,
0.013017060235142708,
0.11357489973306656,
-0.009035229682922363,
-0.015352479182183743,
-0.0405401848256588,
0.004000748507678509,
0.05841580405831337,
0.014256847091019154,
-0.057655882090330124,
0.032067205756902695,
0.03919493779540062,
0.021963395178318024,
0.016520751640200615,
0.06668224185705185,
0.003924005664885044,
-0.023517971858382225,
-0.015272470191121101,
0.029750600457191467,
0.020482435822486877,
-0.03349419683218002,
0.01016163732856512,
0.037123702466487885,
0.01170075312256813,
-0.02927655540406704,
-0.02172055095434189,
0.06803663820028305,
-0.01958020031452179,
0.0014349267585203052,
0.011615384370088577,
0.0023985556326806545,
-0.026058634743094444,
0.050752658396959305,
-0.013792253099381924,
0.004368445836007595,
-0.04980987682938576,
-0.005935947876423597,
0.015168743208050728,
0.025123337283730507,
0.040068283677101135,
0.06410565972328186,
0.004252974409610033,
0.08329754322767258,
-0.04365721717476845,
-0.011855864897370338,
-0.04989638179540634,
-0.03471929207444191,
-0.00436782743781805,
0.06644744426012039,
0.06257279962301254,
0.03092210926115513,
-0.016536347568035126,
-0.06439493596553802,
0.03304026275873184,
0.05664174258708954,
0.06437119841575623,
-0.009935742244124413,
-0.042105626314878464,
-0.0174090676009655,
0.04007316008210182,
0.02805500105023384,
-0.04273149371147156,
-0.06890826672315598,
0.00586139177903533,
0.06637309491634369,
-0.028567813336849213,
0.02928251028060913,
-0.038326386362314224,
0.005663787946105003,
-0.04406275227665901,
-0.03344058245420456,
0.04376419261097908,
0.013412254862487316,
0.018558522686362267,
0.028065187856554985,
-0.012254209257662296,
0.00018749028095044196,
0.000505566131323576,
0.01737278513610363,
0.010282386094331741,
-0.024166664108633995,
-0.0008701113401912153,
0.015302672050893307,
0.05815548077225685,
-0.029739651829004288,
0.07164373993873596,
-0.0088329603895545,
0.02662859857082367,
0.01525186188519001,
-0.03276696428656578,
0.04193112626671791,
0.042707622051239014,
-0.017499929293990135,
-0.028050551190972328,
0.032702162861824036,
0.014925629831850529,
0.03985702618956566,
0.06547237932682037,
-0.008556116372346878,
0.05900481715798378,
0.02489299513399601,
0.05203377082943916,
0.08864212036132812,
0.0124545618891716,
0.026352407410740852,
0.03242725133895874,
0.07791675627231598,
-0.005551324225962162,
-0.028570573776960373,
0.04903027042746544,
-0.05033458396792412,
0.007072964683175087,
-0.05227791517972946,
-0.015149200335144997,
0.014666754752397537,
-0.014816883020102978,
0.036838777363300323,
0.020232083275914192,
-0.004516479093581438,
0.002990118693560362,
0.001259462209418416,
-0.009853401221334934,
0.05623381584882736,
-0.006733543239533901,
0.0313345268368721,
-0.017881279811263084,
-0.023494265973567963,
0.03414958715438843,
-0.06520207226276398,
-0.06275667995214462,
-0.001958794193342328,
-0.03744853287935257,
-0.0017767146928235888,
-0.061175789684057236,
-0.037945885211229324,
-0.059248924255371094,
0.0051922607235610485,
0.048083335161209106,
0.018673518672585487,
-0.019547296687960625,
-0.05260159820318222,
0.017648713663220406,
-0.03233638405799866,
-0.025204649195075035,
-0.05781197175383568,
-0.05458518862724304,
-0.04922852665185928,
-0.07423922419548035,
0.04727441817522049,
0.01689525507390499,
0.04104916378855705,
-0.007744567468762398,
0.024988165125250816,
-0.008378887549042702,
-0.0408019945025444,
0.04040291905403137,
0.05164896696805954,
-0.047061167657375336,
-0.028911592438817024,
0.013485699892044067,
-0.0031145073007792234,
0.01600957103073597,
0.0014898040099069476,
-0.03335588052868843,
0.07632013410329819,
0.05182316526770592,
0.02452254295349121,
0.009861936792731285,
-0.011816231533885002,
-0.052811454981565475,
-0.046113841235637665,
-0.03816228359937668,
-0.05474458634853363,
-0.011430131271481514,
-0.034263480454683304,
-0.0358448252081871,
-0.022757571190595627,
-0.02141173742711544,
0.028605418279767036,
-0.024006791412830353,
-0.0011248879600316286,
0.01276013720780611,
0.02206806279718876,
0.03074166737496853,
0.019442768767476082,
-0.03769301995635033,
-0.024855760857462883,
0.07589415460824966,
0.024962641298770905,
-0.0015923867467790842,
-0.07646156847476959,
-0.029519304633140564,
0.040419504046440125,
0.039359837770462036,
0.008780715987086296,
-0.002291980665177107,
0.07324553281068802,
0.01338458713144064,
-0.006352730095386505,
0.00009386812598677352,
-0.01732484996318817,
-0.04707207530736923,
0.0020250279922038317,
-0.0053838808089494705,
-0.03831973671913147,
-0.031032409518957138,
-0.02997605875134468,
0.023954471573233604,
0.04079659283161163,
-0.0485512837767601,
-0.04561953246593475,
-0.010432214476168156,
0.05261215940117836,
0.022129185497760773,
-0.0068485611118376255,
-0.02723865956068039,
-0.004277946427464485,
-0.02686251699924469,
-0.043981194496154785,
-0.03256073221564293,
0.019937152042984962,
0.02803936041891575,
0.024009468033909798,
0.012028884142637253,
-0.03317591920495033,
0.03647342696785927,
0.02989235334098339,
0.050808168947696686,
0.012650702148675919,
-0.047199781984090805,
0.04130588099360466,
-0.03533019497990608,
0.006380046717822552,
-0.02780837193131447,
-0.011326175183057785,
-0.05467037111520767,
-0.07036691159009933,
0.011717982590198517,
0.0054403916001319885,
-0.007745362818241119,
0.00043812915100716054,
0.046489063650369644,
-0.036181773990392685,
0.014504535123705864,
-0.00044720969162881374,
-0.004770015832036734,
0.030492527410387993,
-0.04764515906572342,
0.06765551120042801,
-0.014556881040334702,
0.008435518480837345,
-0.04895777255296707,
0.030370311811566353,
-0.033077023923397064,
-0.037917524576187134,
0.009149428457021713,
0.06223316863179207,
0.019500281661748886,
0.052139364182949066,
0.09409250319004059,
0.040427859872579575,
-0.04366685822606087,
0.038855839520692825,
0.02582019381225109,
-0.016313496977090836,
-0.03246471285820007,
-0.012058873660862446,
-0.014640038833022118,
-0.035858750343322754,
-0.011366838589310646,
-0.028443722054362297,
0.029410943388938904,
0.02713065966963768,
0.0020531273912638426,
-0.046855196356773376,
0.014060325920581818,
-0.011615167371928692,
-0.02749035134911537,
-0.06363679468631744,
-0.04887724667787552,
0.00433680834248662,
-0.011078574694693089,
0.05532830208539963,
0.03677303344011307,
0.024261727929115295,
0.06187303364276886,
0.03971008211374283,
-0.014201239682734013,
-0.014624292030930519,
0.02606198750436306,
0.03178788349032402,
-0.04026094451546669,
-0.06867092847824097,
-0.04908325523138046,
0.060179635882377625,
0.06789064407348633,
-0.0015674977330490947,
-0.07571052014827728,
-0.019724344834685326,
0.07182400673627853,
-0.032105833292007446,
0.05340959131717682,
-0.0007698653498664498,
0.0367450937628746,
0.06105608120560646,
-0.019336504861712456,
0.00897807814180851,
-0.02654360421001911,
0.008429442532360554,
-0.006259726360440254,
0.021130332723259926,
-0.03909977152943611,
-0.042170651257038116,
-0.04346854239702225,
0.016980070620775223,
0.034350425004959106,
0.05200689658522606,
0.04116101562976837,
-0.05250054597854614,
-0.03154991939663887,
0.016602355986833572,
0.03287763521075249,
-0.05137362331151962,
-0.00848993007093668,
0.02990378625690937,
0.03841370344161987,
-0.03491827845573425,
-0.029124919325113297,
-0.030565252527594566,
-0.003027654718607664,
0.023188496008515358,
0.025569438934326172,
-0.03581461310386658,
-0.08095767349004745,
0.02671241946518421,
-0.04565761610865593,
-0.046356040984392166,
-0.09039542078971863,
0.02651105634868145,
-0.033337097615003586,
-0.02089187130331993,
0.037226952612400055,
0.004511631093919277,
0.03076326660811901,
0.05445370450615883,
-0.0012413659133017063,
-0.0005582382436841726,
-0.05250345915555954,
0.03409670665860176,
-0.0006112627452239394,
-0.002790485741570592,
0.001958476845175028,
-0.0224198866635561,
-0.028874201700091362,
-0.028092561289668083,
-0.058747366070747375,
-0.05912419408559799,
0.00794090237468481,
0.019594497978687286,
-0.027900615707039833,
0.002848694333806634,
-0.03371085971593857,
0.04002230986952782,
-0.019815225154161453,
-0.025181878358125687,
-0.007384272757917643,
-0.021046580746769905,
-0.07067752629518509,
-0.03414478525519371,
0.012736929580569267,
0.018990015611052513,
0.01164340041577816,
0.03153323754668236,
0.006958794314414263,
-0.020218979567289352,
0.006127628963440657,
-0.03825778514146805,
0.03838697820901871,
-0.003853975096717477,
-0.0443272590637207,
-0.0406157448887825,
0.007743598893284798,
0.023749642074108124,
0.03697395324707031,
-0.04015191271901131,
0.03695924952626228,
0.005919404327869415,
-0.029361849650740623,
-0.0023921143729239702,
0.004493366926908493,
0.037341050803661346,
-0.07795784622430801,
-0.05882018059492111,
-0.029328180477023125,
-0.03732835501432419,
0.03335922211408615,
-0.03932603448629379,
-0.019057922065258026,
0.03818795457482338,
0.04000448063015938,
0.04733433574438095,
-0.02129492163658142,
-0.028150804340839386,
0.006294363643974066,
-0.010797866620123386,
0.025133376941084862,
-0.04238997772336006,
0.06117577105760574,
-0.03785249963402748,
0.00921462569385767,
-0.0006198781775310636,
-0.010927466675639153,
-0.06062041223049164,
0.030149182304739952,
-0.007825152017176151,
-0.0063467989675700665,
-0.004296563565731049,
0.010617492720484734,
-0.02841804549098015,
0.022971434518694878,
-0.027226867154240608,
0.022263430058956146,
-0.017308829352259636,
0.0519963838160038,
-0.041849952191114426,
-0.01053502969443798,
0.00412673968821764,
0.012307371012866497,
-0.04680517315864563,
-0.012835675850510597,
0.0005191853269934654,
-0.041457537561655045,
0.008930305019021034,
0.04431194067001343,
0.03503157198429108,
0.01700807735323906,
-0.03346026688814163,
-0.000058537127188174054,
0.018989745527505875,
-0.054855719208717346,
0.002207459881901741,
-0.013377557508647442,
0.008010408841073513,
-0.007897574454545975,
0.059667084366083145,
0.022707583382725716,
-0.054678432643413544,
-0.0753534808754921,
0.039512909948825836,
0.012402506545186043,
0.0017098536482080817,
-0.0009189327829517424,
0.00569382356479764,
0.01744803413748741,
0.035861626267433167,
-0.050465092062950134,
-0.0016607727156952024,
-0.0019166473066434264,
-0.008812679909169674,
-0.0002757822803687304,
-0.012900176458060741,
0.022341787815093994,
0.018639303743839264,
-0.016822118312120438,
-0.006379048805683851,
0.06577983498573303,
0.0034276898950338364,
-0.001589585212059319,
0.0046848393976688385,
-0.02914513275027275,
0.0336715430021286,
0.009516440331935883,
-0.05773928761482239,
-0.015001244843006134,
-0.005811935756355524,
-0.0548221617937088,
0.06179001182317734,
-0.0029594472143799067,
0.020047277212142944,
0.05701932683587074,
-0.006567769683897495,
-0.025169573724269867,
0.04735476151108742,
-0.020715363323688507,
-0.009910917840898037,
0.03802357241511345,
-0.060185447335243225,
-0.012016545049846172,
-0.04392265900969505,
0.06697846204042435,
-0.048063695430755615,
0.05688398331403732,
0.048152074217796326,
0.024269575253129005,
0.03636240214109421,
-0.05333868786692619,
-0.008973616175353527,
0.027347421273589134,
-0.02407931536436081,
0.05633486062288284,
0.015695078298449516,
-0.04476035386323929,
0.07032157480716705,
0.025558464229106903,
-0.07769902795553207,
0.040052928030490875,
0.042313605546951294,
0.034345127642154694,
0.02995775267481804,
0.03724883496761322,
-0.03479490429162979,
0.013902205042541027,
-0.058285001665353775,
0.010764039121568203,
-0.07742481678724289,
-0.0019272210774943233,
0.013712864369153976,
-0.036467138677835464,
-0.008584634400904179,
0.029147248715162277,
-0.03527707979083061,
0.019565222784876823,
0.03586915135383606,
-0.0707516074180603,
-0.022378548979759216,
0.013179389759898186,
0.029844768345355988,
-0.04381566867232323,
0.007236381061375141,
-0.02494657039642334,
0.029779810458421707,
0.014024950563907623,
0.016154253855347633,
-0.025045331567525864,
-0.0033668691758066416,
0.03172305226325989,
-0.06042245775461197,
-0.032188333570957184,
0.026298590004444122,
0.018087394535541534,
-0.04514225572347641,
0.037371255457401276,
-0.015276351012289524,
-0.007042026147246361,
0.025769030675292015,
-0.0014906253200024366,
0.003739471547305584,
-0.03081798180937767,
-0.00849987380206585,
0.01931648701429367,
0.013709045946598053,
0.015317115001380444,
-0.010896201245486736,
0.014671740122139454,
0.041554614901542664,
0.0352872833609581,
-0.02051679790019989,
-0.05178019776940346,
-0.03519122675061226,
0.033472348004579544,
-0.01882556825876236,
0.0038833385333418846,
-0.02704225294291973,
-0.057841379195451736,
-0.03194074332714081,
-0.015997858718037605,
-0.0055285049602389336,
0.012999465689063072,
-0.036922939121723175,
0.007235907483845949,
0.03490627557039261,
-0.017633024603128433,
-0.04330836609005928,
-0.0821756049990654,
-0.019749801605939865,
-0.036697689443826675,
0.0091484896838665,
0.021920137107372284,
-0.03941652178764343,
0.017144622281193733,
-0.041613850742578506,
-0.04931091517210007,
0.05221791937947273,
0.023965472355484962,
-0.06196550279855728,
0.07352059334516525,
0.03269490599632263,
-0.054913170635700226,
0.008078654296696186,
0.040197763592004776,
-0.04529302567243576,
0.04786229878664017,
0.009475366212427616,
-0.0023239469155669212,
0.04219650849699974,
0.03159463778138161,
-0.016398226842284203,
-0.0253596194088459,
-0.0751984715461731,
-0.040515437722206116,
-0.028926344588398933,
0.011124965734779835,
0.08423550426959991
] |
CSResearcher/TestModel | [
"license:mit"
] | 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: multilingual
datasets:
- squad_v2
license: mit
thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg
tags:
- exbert
---
# deepset/xlm-roberta-base-squad2-distilled
- haystack's distillation feature was used for training. deepset/xlm-roberta-large-squad2 was used as the teacher model.
## Overview
**Language model:** deepset/xlm-roberta-base-squad2-distilled
**Language:** Multilingual
**Downstream-task:** Extractive QA
**Training data:** SQuAD 2.0
**Eval data:** SQuAD 2.0
**Code:** See [an example QA pipeline on Haystack](https://haystack.deepset.ai/tutorials/first-qa-system)
**Infrastructure**: 1x Tesla v100
## Hyperparameters
```
batch_size = 56
n_epochs = 4
max_seq_len = 384
learning_rate = 3e-5
lr_schedule = LinearWarmup
embeds_dropout_prob = 0.1
temperature = 3
distillation_loss_weight = 0.75
```
## Usage
### In Haystack
Haystack is an NLP framework by deepset. You can use this model in a Haystack pipeline to do question answering at scale (over many documents). To load the model in [Haystack](https://github.com/deepset-ai/haystack/):
```python
reader = FARMReader(model_name_or_path="deepset/xlm-roberta-base-squad2-distilled")
# or
reader = TransformersReader(model_name_or_path="deepset/xlm-roberta-base-squad2-distilled",tokenizer="deepset/xlm-roberta-base-squad2-distilled")
```
For a complete example of ``deepset/xlm-roberta-base-squad2-distilled`` being used for [question answering], check out the [Tutorials in Haystack Documentation](https://haystack.deepset.ai/tutorials/first-qa-system)
### In Transformers
```python
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
model_name = "deepset/xlm-roberta-base-squad2-distilled"
# a) Get predictions
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
QA_input = {
'question': 'Why is model conversion important?',
'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
}
res = nlp(QA_input)
# b) Load model & tokenizer
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
```
## Performance
Evaluated on the SQuAD 2.0 dev set
```
"exact": 74.06721131980123%
"f1": 76.39919553344667%
```
## Authors
**Timo MΓΆller:** timo.moeller@deepset.ai
**Julian Risch:** julian.risch@deepset.ai
**Malte Pietsch:** malte.pietsch@deepset.ai
**Michel Bartels:** michel.bartels@deepset.ai
## About us
<div class="grid lg:grid-cols-2 gap-x-4 gap-y-3">
<div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center">
<img alt="" src="https://raw.githubusercontent.com/deepset-ai/.github/main/deepset-logo-colored.png" class="w-40"/>
</div>
<div class="w-full h-40 object-cover mb-2 rounded-lg flex items-center justify-center">
<img alt="" src="https://raw.githubusercontent.com/deepset-ai/.github/main/haystack-logo-colored.png" class="w-40"/>
</div>
</div>
[deepset](http://deepset.ai/) is the company behind the open-source NLP framework [Haystack](https://haystack.deepset.ai/) which is designed to help you build production ready NLP systems that use: Question answering, summarization, ranking etc.
Some of our other work:
- [Distilled roberta-base-squad2 (aka "tinyroberta-squad2")]([https://huggingface.co/deepset/tinyroberta-squad2)
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
## Get in touch and join the Haystack community
<p>For more info on Haystack, visit our <strong><a href="https://github.com/deepset-ai/haystack">GitHub</a></strong> repo and <strong><a href="https://haystack.deepset.ai">Documentation</a></strong>.
We also have a <strong><a class="h-7" href="https://haystack.deepset.ai/community/join">Discord community open to everyone!</a></strong></p>
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs) | [
-0.00041123907431028783,
-0.009629999287426472,
-0.01747950166463852,
0.04596395418047905,
0.038172315806150436,
0.026441184803843498,
-0.03360613062977791,
0.004673555493354797,
-0.027244025841355324,
0.048728588968515396,
0.005220003891736269,
-0.004245724529027939,
0.009199541062116623,
0.04395037144422531,
-0.028717059642076492,
-0.04015110433101654,
-0.0036767208948731422,
-0.0037333322688937187,
-0.0521712452173233,
-0.03217121586203575,
-0.01902252621948719,
0.004766670987010002,
0.004141245968639851,
-0.004826957825571299,
0.012852050364017487,
0.012185489758849144,
-0.016678035259246826,
0.040974244475364685,
0.05532287806272507,
-0.03501671925187111,
0.01863761432468891,
-0.033163368701934814,
-0.032689955085515976,
-0.028203511610627174,
-0.017747024074196815,
-0.022519854828715324,
0.012807237915694714,
-0.01441109087318182,
0.022047683596611023,
0.02591395005583763,
-0.027651743963360786,
0.028894921764731407,
-0.006660270504653454,
-0.026061713695526123,
0.058356788009405136,
-0.002318975981324911,
-0.033009856939315796,
-0.04130411893129349,
0.019841911271214485,
-0.032146941870450974,
-0.05619087815284729,
-0.08232401311397552,
-0.015632662922143936,
0.01543387956917286,
-0.0026833207812160254,
-0.017289211973547935,
-0.07245364785194397,
0.008890300989151001,
0.06716136634349823,
-0.06209103390574455,
-0.02578812837600708,
-0.013221967034041882,
-0.06399033218622208,
-0.009630883112549782,
0.048622217029333115,
-0.04560243710875511,
0.011523343622684479,
-0.04830795153975487,
0.01828909106552601,
-0.0014214079128578305,
0.06774076819419861,
-0.02898937650024891,
0.045261092483997345,
-0.07588084042072296,
0.01923927292227745,
0.008811377920210361,
0.03558525815606117,
0.04611395671963692,
-0.0329313725233078,
0.06673617660999298,
0.02149040251970291,
-0.0028060695622116327,
0.004768518730998039,
-0.05093599855899811,
-0.005325340665876865,
0.019963283091783524,
-0.0457732193171978,
-0.0006945871282368898,
0.001988801173865795,
0.029661711305379868,
-0.04407550394535065,
-0.038745421916246414,
0.00015562877524644136,
-0.011310864239931107,
-0.002531382255256176,
0.045612044632434845,
0.017939982935786247,
-0.002896083751693368,
0.02406032755970955,
0.015380683355033398,
0.03348589316010475,
0.038828056305646896,
-0.022745344787836075,
0.06338046491146088,
0.00007022620411589742,
-0.003255822928622365,
-0.013472655788064003,
-0.020566768944263458,
-0.0481412447988987,
0.028700297698378563,
0.008048289455473423,
-0.04006911441683769,
-0.032310597598552704,
0.03311985358595848,
0.030828414484858513,
-0.00008153448288794607,
0.054295286536216736,
-0.024028124287724495,
-0.02874119207262993,
-0.047657497227191925,
0.03569425269961357,
0.0023807345423847437,
0.009771105833351612,
-0.006535857450217009,
-0.06509427726268768,
-0.007523773238062859,
-0.039571650326251984,
-0.04355546459555626,
-0.0007783205946907401,
0.021304834634065628,
-0.013600041158497334,
0.04816620796918869,
0.012035100720822811,
-0.06914018094539642,
-0.0038500200025737286,
0.006314926780760288,
-0.06273718923330307,
0.024464687332510948,
0.008791987784206867,
0.1198851615190506,
-0.04185539856553078,
-0.04531751573085785,
0.027374330908060074,
0.018247541040182114,
-0.031712986528873444,
0.0032249081414192915,
-0.014740518294274807,
-0.03200472518801689,
-0.013340442441403866,
0.0007888199179433286,
0.0740768164396286,
-0.04433285817503929,
0.0024691082071512938,
0.03809436038136482,
0.002695331582799554,
0.04291260242462158,
-0.05018644034862518,
0.0038007006514817476,
-0.006159448530524969,
0.0009947051294147968,
-0.012951101176440716,
0.05481662228703499,
-0.01449622306972742,
-0.02877841517329216,
-0.029947662726044655,
-0.02431950531899929,
0.02596304565668106,
0.10460640490055084,
-0.015910178422927856,
-0.0010045103263109922,
-0.028358684852719307,
0.01959911175072193,
0.03209798038005829,
0.03439635410904884,
-0.030121829360723495,
0.0252484492957592,
0.05095386877655983,
0.029852809384465218,
-0.003502613166347146,
0.02963346056640148,
0.011476418934762478,
-0.030432334169745445,
-0.014724033884704113,
0.019511716440320015,
0.009433097206056118,
-0.020848000422120094,
0.045639511197805405,
0.02927648089826107,
0.004954489413648844,
-0.029754357412457466,
-0.05534948408603668,
0.08123878389596939,
-0.014223914593458176,
-0.008405562490224838,
-0.006784598808735609,
0.01794356480240822,
-0.018390510231256485,
0.04344138503074646,
-0.03553289920091629,
-0.007407485507428646,
-0.015105992555618286,
-0.02586858719587326,
0.028885968029499054,
-0.008124892599880695,
0.04246017336845398,
0.0788080096244812,
0.003892880165949464,
0.12196768820285797,
-0.03399324417114258,
0.00695561058819294,
-0.04552362114191055,
-0.03539041802287102,
0.008497199043631554,
0.04968256875872612,
0.04762188345193863,
0.04837796837091446,
-0.005930704064667225,
-0.0402430035173893,
0.06353066116571426,
0.08703133463859558,
0.06323345750570297,
0.004785564728081226,
-0.025266673415899277,
0.0032689478248357773,
0.025534089654684067,
0.05620025470852852,
-0.036148954182863235,
-0.026186229661107063,
0.018045581877231598,
0.03840894624590874,
-0.003478833707049489,
-0.005819113925099373,
-0.013550137169659138,
0.028727544471621513,
-0.051112838089466095,
-0.05210873857140541,
0.04120592772960663,
0.029149435460567474,
0.00732908770442009,
0.039806533604860306,
0.006306010764092207,
-0.012302260845899582,
0.019132006913423538,
0.022023025900125504,
0.015713203698396683,
-0.038385119289159775,
-0.015191607177257538,
-0.004199550487101078,
0.05317063629627228,
-0.058450475335121155,
0.034795813262462616,
0.01026940904557705,
0.014798811636865139,
0.04177398234605789,
-0.012398277409374714,
0.04161839187145233,
0.052325617522001266,
-0.004343027714639902,
-0.02694273553788662,
0.038122836500406265,
0.002678557997569442,
0.026790255680680275,
0.06245429068803787,
0.006121092475950718,
0.04917527362704277,
0.019489901140332222,
0.044347140938043594,
0.06617018580436707,
0.021302351728081703,
0.006241359282284975,
0.04390283674001694,
0.06994550675153732,
0.026090679690241814,
0.019176729023456573,
0.025047823786735535,
-0.05651477351784706,
0.01481611467897892,
-0.016117209568619728,
0.0065065957605838776,
-0.017506513744592667,
0.011067543178796768,
0.06627427041530609,
0.0085581811144948,
-0.03340701758861542,
-0.00572830718010664,
-0.0001604547433089465,
-0.013644816353917122,
0.030840575695037842,
-0.02068464271724224,
0.017922108992934227,
-0.027200939133763313,
-0.025372792035341263,
-0.005232180934399366,
-0.08663564920425415,
-0.05316685512661934,
0.0006671622977592051,
-0.029562080278992653,
-0.01304646860808134,
-0.05102037638425827,
-0.010896293446421623,
-0.08593816310167313,
-0.03939499333500862,
0.02518749237060547,
0.021405896171927452,
-0.008799206465482712,
-0.022683272138237953,
0.02166873775422573,
-0.0493626743555069,
-0.039717722684144974,
-0.02862303890287876,
-0.04812854155898094,
-0.02404920570552349,
-0.06742972135543823,
0.04720313847064972,
0.01820974238216877,
0.0007778489380143583,
0.00735144829377532,
-0.010785325430333614,
0.0027626659721136093,
-0.020496968179941177,
0.05536489188671112,
0.073484405875206,
-0.017585845664143562,
-0.04473189264535904,
0.018655426800251007,
-0.00784636102616787,
0.0421176552772522,
-0.021357417106628418,
-0.034251175820827484,
0.10242056846618652,
0.06453350186347961,
0.0107953492552042,
-0.009502634406089783,
-0.003837976139038801,
-0.02814251184463501,
-0.03418148308992386,
-0.027229707688093185,
-0.032200995832681656,
-0.013476599007844925,
-0.03812958300113678,
-0.03969525173306465,
-0.014092091470956802,
-0.004268519580364227,
0.011701157316565514,
-0.0076260133646428585,
0.0004504339012783021,
0.04731334000825882,
0.052751731127500534,
0.018696174025535583,
0.025157028809189796,
-0.0513785295188427,
-0.0076309507712721825,
0.07421758770942688,
0.016980135813355446,
0.024868058040738106,
-0.06276743859052658,
-0.04562149941921234,
0.04705268517136574,
0.016495587304234505,
-0.008432252332568169,
0.005867294035851955,
0.09873275458812714,
-0.0004600771644618362,
0.0015073911054059863,
0.01531299389898777,
-0.01822579838335514,
-0.05059440806508064,
0.0039115287363529205,
-0.009127261117100716,
-0.03322321176528931,
-0.05844564363360405,
-0.037431828677654266,
-0.0028778647538274527,
0.021625464782118797,
-0.05680765584111214,
-0.07210284471511841,
-0.009353997185826302,
0.03688431903719902,
0.029341010376811028,
-0.005923664662986994,
-0.013007242232561111,
0.011100445874035358,
-0.047999635338783264,
-0.027864648029208183,
0.030378125607967377,
0.017490142956376076,
0.009669971652328968,
0.037675149738788605,
0.010578079149127007,
-0.01702035777270794,
0.048443909734487534,
0.0359952449798584,
0.05837063863873482,
0.012211309745907784,
-0.06161237135529518,
0.005992884747684002,
-0.030690671876072884,
0.02479700744152069,
-0.014641650952398777,
-0.005403739865869284,
-0.039117101579904556,
-0.09551523625850677,
-0.0022825479973107576,
0.02425220236182213,
-0.003001739736646414,
-0.018946880474686623,
0.03191857784986496,
0.018413260579109192,
-0.002001520013436675,
0.001732202130369842,
0.008569231256842613,
0.028637876734137535,
-0.0237798560410738,
0.06505006551742554,
0.01059143990278244,
0.03007679432630539,
-0.028691956773400307,
0.03602765500545502,
-0.055212728679180145,
-0.01053084060549736,
0.019906267523765564,
0.036328043788671494,
0.01769006811082363,
0.05449383705854416,
0.055389776825904846,
0.04583718627691269,
-0.03350415453314781,
0.05316099151968956,
0.04718349874019623,
-0.007802198175340891,
-0.056356389075517654,
-0.03109341859817505,
-0.004353610798716545,
-0.0015813586069270968,
0.002831084420904517,
-0.017271487042307854,
0.03390976041555405,
0.03020523488521576,
-0.0012306595453992486,
0.0013626603176817298,
-0.0023165647871792316,
-0.020166993141174316,
-0.02535366453230381,
-0.013783197849988937,
0.000800514011643827,
0.004944722168147564,
-0.0008697790326550603,
0.03292613476514816,
0.05900675058364868,
0.02046366222202778,
0.050217900425195694,
0.06407403200864792,
-0.009380153380334377,
-0.05120169743895531,
0.03326309099793434,
0.01777438446879387,
-0.054915376007556915,
-0.0625109151005745,
-0.04609372466802597,
0.04068266227841377,
0.04318442940711975,
0.022835316136479378,
-0.08965098112821579,
0.02326122298836708,
0.043701138347387314,
-0.06713802367448807,
0.052282270044088364,
-0.008578970097005367,
0.03549380972981453,
0.06925395876169205,
-0.021657949313521385,
0.024478202685713768,
-0.021794581785798073,
0.024162622168660164,
-0.008442984893918037,
0.04482360556721687,
0.021294808015227318,
-0.036599136888980865,
-0.06483219563961029,
0.030290335416793823,
0.04572530835866928,
0.03408718481659889,
0.027650771662592888,
-0.02251441590487957,
-0.051487501710653305,
0.0024709326680749655,
0.039971161633729935,
-0.038285523653030396,
0.014684020541608334,
0.036984510719776154,
0.01393468864262104,
-0.06663790345191956,
-0.023404182866215706,
-0.013884730637073517,
-0.007619302719831467,
0.0319548025727272,
-0.004193340428173542,
-0.015904998406767845,
-0.06411779671907425,
0.02203946001827717,
-0.04202086478471756,
-0.022318951785564423,
-0.08882669359445572,
0.040087539702653885,
-0.01789679564535618,
-0.007801389787346125,
0.07239685952663422,
0.0520557202398777,
0.026994621381163597,
0.038011547178030014,
0.002722910139709711,
0.026742447167634964,
-0.03003668412566185,
0.05113186314702034,
-0.030378134921193123,
0.003353879554197192,
-0.0035628140904009342,
-0.044850904494524,
-0.009641270153224468,
-0.03144775331020355,
-0.030338343232870102,
-0.04347589984536171,
-0.0229526087641716,
0.03709898516535759,
-0.007061302661895752,
-0.016344759613275528,
-0.04226816073060036,
0.006918133702129126,
-0.02282809093594551,
-0.03144935145974159,
-0.027052517980337143,
-0.0170116126537323,
-0.04598786681890488,
-0.06301071494817734,
0.026184415444731712,
0.011271393857896328,
0.02733779512345791,
0.016972897574305534,
0.0367991141974926,
0.01228723768144846,
-0.012675659731030464,
-0.03842850401997566,
0.0019197165966033936,
-0.0149675402790308,
-0.02200176753103733,
-0.034807901829481125,
-0.0011546877212822437,
0.013632412068545818,
0.0290979091078043,
-0.03003763221204281,
0.040407486259937286,
0.037412747740745544,
0.012706277891993523,
-0.009855450130999088,
0.00882627535611391,
0.037991687655448914,
-0.0640045627951622,
-0.05617687478661537,
-0.0366128534078598,
-0.0439615435898304,
0.014793932437896729,
-0.019603854045271873,
-0.019329046830534935,
0.013744809664785862,
-0.014958417974412441,
0.04845134913921356,
0.0051894779317080975,
-0.02918686904013157,
0.03622451797127724,
-0.01208978146314621,
0.025006597861647606,
-0.050458524376153946,
0.044164322316646576,
-0.016838081181049347,
-0.018555624410510063,
-0.016924729570746422,
-0.011436325497925282,
-0.03125356137752533,
0.04382258281111717,
-0.023771537467837334,
-0.019029345363378525,
-0.02557159960269928,
0.015497840009629726,
-0.04520805925130844,
0.016780275851488113,
-0.008193996734917164,
0.030267655849456787,
-0.050937991589307785,
0.041586682200431824,
-0.06683261692523956,
-0.005636692047119141,
-0.03859064728021622,
0.008844802156090736,
-0.025729773566126823,
0.021611018106341362,
-0.04606081172823906,
0.008909376338124275,
0.00553443469107151,
0.05951358750462532,
0.05602317303419113,
0.017231622710824013,
-0.01530694030225277,
0.02022223174571991,
0.020309854298830032,
-0.04516472667455673,
0.0010116471676155925,
0.00028137624030932784,
-0.016260402277112007,
-0.005593053996562958,
0.026037419214844704,
0.02320859022438526,
-0.04211755841970444,
-0.05444488301873207,
0.06071842461824417,
0.027951546013355255,
0.005509515292942524,
-0.014724209904670715,
0.011821228079497814,
0.007864823564887047,
0.03290057182312012,
-0.03874862566590309,
0.004044595640152693,
-0.021715832874178886,
-0.02538810670375824,
0.009931974112987518,
-0.013541772961616516,
0.016031036153435707,
-0.004977304022759199,
-0.021112387999892235,
-0.02513875626027584,
0.06610897183418274,
0.030299002304673195,
0.008388934656977654,
-0.002635482233017683,
-0.027776164934039116,
0.05618907883763313,
-0.012384756468236446,
-0.040902186185121536,
0.022910576313734055,
0.007124048657715321,
-0.03466739505529404,
0.06808928400278091,
-0.010323470458388329,
0.00423389719799161,
0.03293616697192192,
0.01843402534723282,
-0.040158987045288086,
0.055368416011333466,
-0.04733794182538986,
0.01950189843773842,
0.04885921999812126,
-0.06699585914611816,
-0.016742153093218803,
-0.04265286773443222,
0.06209487468004227,
-0.07356519252061844,
0.04743369296193123,
0.050493624061346054,
0.018363958224654198,
0.03185379132628441,
-0.020602582022547722,
-0.03736594691872597,
0.014019863680005074,
-0.04903889447450638,
0.06524307280778885,
0.023050012066960335,
-0.043239936232566833,
0.07580426335334778,
0.06254151463508606,
-0.0758461058139801,
0.03563292697072029,
0.02766340784728527,
0.04231227934360504,
0.052017178386449814,
0.03132995218038559,
-0.08527366816997528,
0.02445279434323311,
-0.04233090952038765,
0.02380530536174774,
-0.05317596718668938,
-0.0354427769780159,
0.02095286175608635,
-0.04230498895049095,
-0.0018574233399704099,
0.02212277613580227,
-0.006256218068301678,
0.005626157391816378,
0.03502985090017319,
-0.07931988686323166,
-0.054034940898418427,
0.013080476783216,
0.019236240535974503,
-0.05407813936471939,
0.01878596842288971,
-0.024825047701597214,
0.01891309767961502,
0.03879731148481369,
0.016454987227916718,
-0.01741625741124153,
-0.02353627234697342,
0.03951817378401756,
-0.025510001927614212,
-0.043896786868572235,
0.03740323334932327,
0.009947157464921474,
-0.03902905806899071,
0.010509979911148548,
-0.0115988003090024,
0.024856029078364372,
0.025585802271962166,
-0.013351060450077057,
0.03735945746302605,
-0.07340673357248306,
0.0010410688119009137,
0.0061119175516068935,
-0.0003037505957763642,
0.010951884090900421,
-0.018017740920186043,
0.027678631246089935,
0.030439645051956177,
0.038892656564712524,
0.006726020015776157,
-0.05688725411891937,
-0.01697697304189205,
0.04318415746092796,
-0.022425904870033264,
0.003081373870372772,
-0.019358735531568527,
-0.06800006330013275,
-0.014813914895057678,
-0.0013320324942469597,
-0.008225834928452969,
0.03221921622753143,
-0.04590185359120369,
0.004240935668349266,
0.028970666229724884,
-0.017698392271995544,
-0.04363018274307251,
-0.08770344406366348,
-0.017765088006854057,
-0.0494372695684433,
0.02049274742603302,
0.03598490729928017,
-0.06213364377617836,
0.019948767498135567,
-0.040273357182741165,
-0.055493004620075226,
0.042660150676965714,
0.025494910776615143,
-0.06942307949066162,
0.060882944613695145,
0.01949075050652027,
-0.049423832446336746,
0.022592125460505486,
0.02777930721640587,
-0.02855226770043373,
0.02029254287481308,
-0.02425222285091877,
0.0245107039809227,
0.033201318234205246,
0.005837935954332352,
-0.03098548762500286,
-0.018925191834568977,
-0.05395844951272011,
-0.05949118733406067,
-0.06733773648738861,
-0.004331778269261122,
0.08817529678344727
] |
CSZay/bart | [] | 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: cc-by-4.0
datasets:
- squad_v2
model-index:
- name: deepset/xlm-roberta-base-squad2
results:
- task:
type: question-answering
name: Question Answering
dataset:
name: squad_v2
type: squad_v2
config: squad_v2
split: validation
metrics:
- type: exact_match
value: 74.0354
name: Exact Match
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMWMxNWQ2ODJkNWIzZGQwOWI4OTZjYjU3ZDVjZGQzMjI5MzljNjliZTY4Mzk4YTk4OTMzZWYxZjUxYmZhYTBhZSIsInZlcnNpb24iOjF9.eEeFYYJ30BfJDd-JYfI1kjlxJrRF6OFtj2GnkTCOO4kqX31inFy8ptDWusVlLFsUphm4dNWfTKXC5e-gytLBDA
- type: f1
value: 77.1833
name: F1
verified: true
verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMjg4MjNkOTA4Y2I5OGFlYTk1NWZjMWFlNjI5M2Y0NGZhMThhN2M4YmY2Y2RhZjcwYzU0MGNjN2RkZDljZmJmNiIsInZlcnNpb24iOjF9.TX42YMXpH4e0qu7cC4ARDlZWSkd55dwwyeyFXmOlXERNnEicDuFBCsy8WHLaqQCLUkzODJ22Hw4zhv81rwnlAQ
---
# Multilingual XLM-RoBERTa base for QA on various languages
## Overview
**Language model:** xlm-roberta-base
**Language:** Multilingual
**Downstream-task:** Extractive QA
**Training data:** SQuAD 2.0
**Eval data:** SQuAD 2.0 dev set - German MLQA - German XQuAD
**Code:** See [example](https://github.com/deepset-ai/FARM/blob/master/examples/question_answering.py) in [FARM](https://github.com/deepset-ai/FARM/blob/master/examples/question_answering.py)
**Infrastructure**: 4x Tesla v100
## Hyperparameters
```
batch_size = 22*4
n_epochs = 2
max_seq_len=256,
doc_stride=128,
learning_rate=2e-5,
```
Corresponding experiment logs in mlflow: [link](https://public-mlflow.deepset.ai/#/experiments/2/runs/b25ec75e07614accb3f1ce03d43dbe08)
## Performance
Evaluated on the SQuAD 2.0 dev set with the [official eval script](https://worksheets.codalab.org/rest/bundles/0x6b567e1cf2e041ec80d7098f031c5c9e/contents/blob/).
```
"exact": 73.91560683904657
"f1": 77.14103746689592
```
Evaluated on German MLQA: test-context-de-question-de.json
"exact": 33.67279167589108
"f1": 44.34437105434842
"total": 4517
Evaluated on German XQuAD: xquad.de.json
"exact": 48.739495798319325
"f1": 62.552615701071495
"total": 1190
## Usage
### In Transformers
```python
from transformers.pipelines import pipeline
from transformers.modeling_auto import AutoModelForQuestionAnswering
from transformers.tokenization_auto import AutoTokenizer
model_name = "deepset/xlm-roberta-base-squad2"
# a) Get predictions
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
QA_input = {
'question': 'Why is model conversion important?',
'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
}
res = nlp(QA_input)
# b) Load model & tokenizer
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
```
### In FARM
```python
from farm.modeling.adaptive_model import AdaptiveModel
from farm.modeling.tokenization import Tokenizer
from farm.infer import Inferencer
model_name = "deepset/xlm-roberta-base-squad2"
# a) Get predictions
nlp = Inferencer.load(model_name, task_type="question_answering")
QA_input = [{"questions": ["Why is model conversion important?"],
"text": "The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks."}]
res = nlp.inference_from_dicts(dicts=QA_input, rest_api_schema=True)
# b) Load model & tokenizer
model = AdaptiveModel.convert_from_transformers(model_name, device="cpu", task_type="question_answering")
tokenizer = Tokenizer.load(model_name)
```
### In haystack
For doing QA at scale (i.e. many docs instead of single paragraph), you can load the model also in [haystack](https://github.com/deepset-ai/haystack/):
```python
reader = FARMReader(model_name_or_path="deepset/xlm-roberta-base-squad2")
# or
reader = TransformersReader(model="deepset/roberta-base-squad2",tokenizer="deepset/xlm-roberta-base-squad2")
```
## Authors
Branden Chan: `branden.chan [at] deepset.ai`
Timo MΓΆller: `timo.moeller [at] deepset.ai`
Malte Pietsch: `malte.pietsch [at] deepset.ai`
Tanay Soni: `tanay.soni [at] deepset.ai`
## About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.
Some of our work:
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
- [FARM](https://github.com/deepset-ai/FARM)
- [Haystack](https://github.com/deepset-ai/haystack/)
Get in touch:
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Discord](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
By the way: [we're hiring!](http://www.deepset.ai/jobs)
| [
-0.00798212829977274,
-0.038557395339012146,
-0.020626435056328773,
0.031575195491313934,
0.0552431158721447,
0.011247714050114155,
-0.037166256457567215,
0.013253415934741497,
-0.0246882364153862,
0.02411486767232418,
0.03731222450733185,
-0.004464915953576565,
0.006609415635466576,
0.03409380465745926,
-0.04244234040379524,
-0.04581202566623688,
-0.008015122264623642,
-0.005041360389441252,
-0.07222563773393631,
-0.02730916626751423,
0.01529213972389698,
0.025963079184293747,
0.014203661121428013,
0.023978209123015404,
0.0008754107402637601,
0.00767556531354785,
-0.007562479004263878,
0.03934184089303017,
0.04177013412117958,
-0.06507831811904907,
0.02125527523458004,
-0.012544993311166763,
-0.03551305830478668,
-0.051146067678928375,
-0.000782199262175709,
-0.011316864751279354,
0.02161582000553608,
-0.006521699950098991,
0.03716746345162392,
0.05371193587779999,
-0.024407755583524704,
0.015704361721873283,
-0.0335644856095314,
-0.035169608891010284,
0.06294795125722885,
-0.004016648046672344,
-0.019213225692510605,
-0.024058308452367783,
0.017349017783999443,
-0.02980012446641922,
-0.07349865138530731,
-0.07686057686805725,
-0.023834073916077614,
0.018251290544867516,
-0.0022952952422201633,
-0.018538406118750572,
-0.02847413159906864,
0.003709465032443404,
0.05950349196791649,
-0.07382946461439133,
-0.021451791748404503,
0.018922513350844383,
-0.08166441321372986,
-0.008468830958008766,
0.027172589674592018,
-0.05033254623413086,
0.01887558214366436,
-0.0487353652715683,
0.03124782256782055,
-0.008674461394548416,
0.09549114853143692,
-0.03494424745440483,
0.01541044469922781,
-0.047708503901958466,
0.004346541594713926,
-0.0036857498344033957,
0.008027519099414349,
0.023025404661893845,
-0.015395105816423893,
0.06293787807226181,
0.02089899405837059,
-0.002323692897334695,
0.019439587369561195,
-0.03635049983859062,
0.0017959664110094309,
0.01926613412797451,
-0.040812425315380096,
0.02001683972775936,
-0.020056618377566338,
0.03076012432575226,
-0.02588731050491333,
-0.03078438527882099,
-0.024004386737942696,
-0.007874533534049988,
0.00328388181515038,
0.03191221505403519,
0.04732519015669823,
-0.001193318166770041,
-0.01519694272428751,
0.012334002181887627,
0.02889752946794033,
0.05275891721248627,
-0.01705884002149105,
0.06727819889783859,
-0.015338725410401821,
0.0035860720090568066,
0.011249556206166744,
-0.022080056369304657,
-0.027690105140209198,
0.011832707561552525,
0.03485742211341858,
-0.02318650856614113,
-0.013556720688939095,
0.0069217379204928875,
0.04291734844446182,
0.004456734750419855,
0.0602089986205101,
-0.03514908626675606,
-0.03852910175919533,
-0.05737614259123802,
0.04264619201421738,
0.018273215740919113,
-0.022034456953406334,
0.013893523253500462,
-0.02705005370080471,
-0.023411165922880173,
-0.0411871112883091,
-0.0336122065782547,
0.019704880192875862,
0.016071191057562828,
-0.002118483418598771,
0.06018698588013649,
0.020522497594356537,
-0.1114528626203537,
0.008933920413255692,
0.014984115958213806,
-0.03706177696585655,
0.02705465629696846,
-0.006095211487263441,
0.08973512798547745,
-0.06376704573631287,
-0.053431786596775055,
0.03695888817310333,
0.032946549355983734,
0.00401528924703598,
-0.003996070474386215,
-0.0033080936409533024,
-0.03007456660270691,
-0.045958276838064194,
0.005833991803228855,
0.06347060203552246,
-0.048306580632925034,
0.014277714304625988,
0.0466635562479496,
-0.007220130879431963,
0.011933015659451485,
-0.04841717705130577,
0.015587449073791504,
0.021473007276654243,
-0.008942141197621822,
-0.01594247668981552,
0.055946819484233856,
-0.019076025113463402,
-0.022700294852256775,
-0.03482159972190857,
-0.026990128681063652,
-0.013553306460380554,
0.10008396953344345,
0.0099561158567667,
-0.038273025304079056,
-0.020628690719604492,
0.012029336765408516,
0.020332787185907364,
0.02615862712264061,
-0.013449660502374172,
0.02634866163134575,
0.0472765788435936,
0.033950451761484146,
-0.011760794557631016,
0.024159012362360954,
0.018739087507128716,
-0.028591543436050415,
-0.029952948912978172,
0.030603112652897835,
0.009944150224328041,
-0.021423859521746635,
0.03726229444146156,
0.05065547302365303,
0.008230076171457767,
-0.03894510120153427,
-0.02836180105805397,
0.0587230883538723,
-0.02724120207130909,
-0.011046274565160275,
-0.0051986463367938995,
0.000028218018996994942,
-0.030521981418132782,
0.052857015281915665,
0.002535191597416997,
-0.01409234944730997,
-0.029343130066990852,
-0.018218260258436203,
0.04323337599635124,
0.027952516451478004,
0.009771310724318027,
0.057758722454309464,
-0.006411019712686539,
0.10315613448619843,
-0.03995934873819351,
0.017164787277579308,
-0.030400799587368965,
-0.04262132942676544,
0.005538458935916424,
0.05645924434065819,
0.07096172869205475,
0.05867961421608925,
0.0016424361383542418,
-0.012956756167113781,
0.053375061601400375,
0.059511344879865646,
0.059349700808525085,
0.00263105146586895,
-0.026391835883259773,
-0.007791420444846153,
0.0416528582572937,
0.053448669612407684,
-0.03609669953584671,
-0.023786846548318863,
0.008575912564992905,
0.015317107550799847,
-0.009628753177821636,
0.005779623053967953,
-0.026520034298300743,
0.038979191333055496,
-0.07882329076528549,
-0.06367943435907364,
0.04730852320790291,
-0.006392245646566153,
-0.004650935530662537,
0.021413959562778473,
-0.015859970822930336,
-0.009012889117002487,
0.01706775650382042,
-0.0007209634059108794,
0.025758467614650726,
-0.01790142059326172,
0.022974688559770584,
0.002462160075083375,
0.07343409955501556,
-0.04883984476327896,
0.03612329810857773,
-0.005909708794206381,
0.047791022807359695,
0.030246440321207047,
-0.05814378708600998,
0.034618303179740906,
0.05776364728808403,
0.0005910111940465868,
-0.010999155230820179,
0.016837436705827713,
0.025288933888077736,
-0.010079111903905869,
0.06503957509994507,
0.008534934371709824,
0.0509008914232254,
0.006434235256165266,
0.03683212399482727,
0.06757169961929321,
-0.004248994402587414,
0.013187018223106861,
0.011720217764377594,
0.07383105158805847,
0.006716023664921522,
-0.0003377194225322455,
0.04911740869283676,
-0.02131905034184456,
0.009034212678670883,
-0.04086911678314209,
-0.007739443797618151,
-0.00806896947324276,
-0.0014317719032987952,
0.05796306952834129,
0.008626963943243027,
-0.04697057977318764,
0.001059139845892787,
0.013302642852067947,
-0.005012842360883951,
0.025309890508651733,
-0.035929273813962936,
0.0003291353059466928,
-0.007867230102419853,
-0.011393392458558083,
0.007567824330180883,
-0.0857333391904831,
-0.0307586919516325,
-0.023020468652248383,
-0.03313257545232773,
0.00019593551405705512,
-0.058745235204696655,
-0.0029080105014145374,
-0.05257813632488251,
-0.04225284978747368,
0.04464181140065193,
-0.010893556289374828,
-0.022793559357523918,
-0.0026046368293464184,
0.025012562051415443,
-0.03217142075300217,
-0.035856425762176514,
-0.012198398821055889,
-0.041851822286844254,
-0.029591869562864304,
-0.06957617402076721,
0.030303556472063065,
0.023364637047052383,
0.033825576305389404,
0.005271412897855043,
0.004239990375936031,
-0.022737259045243263,
-0.03693832829594612,
0.01603209413588047,
0.07454996556043625,
-0.017443116754293442,
-0.04398190975189209,
0.02548140659928322,
-0.0003228735295124352,
0.027764523401856422,
0.009365043602883816,
-0.02983906678855419,
0.07934055477380753,
0.05754854902625084,
0.02200131304562092,
0.00396865326911211,
-0.022604772821068764,
-0.044381242245435715,
-0.020252283662557602,
-0.02459132857620716,
-0.037053924053907394,
-0.03520528972148895,
-0.06072888895869255,
-0.033658988773822784,
-0.0279666930437088,
-0.010012521408498287,
0.015016491524875164,
-0.01273989025503397,
0.0037716045044362545,
0.05445659160614014,
0.04241028428077698,
0.018986664712429047,
0.013622993603348732,
-0.04118308797478676,
-0.03385739028453827,
0.04213709011673927,
0.004867912735790014,
0.01090476755052805,
-0.06863319873809814,
-0.044103026390075684,
0.0300802830606699,
-0.0013811407843604684,
0.001980914268642664,
-0.006810535676777363,
0.07713624835014343,
0.014544033445417881,
-0.008720213547348976,
0.022830864414572716,
-0.01569143868982792,
-0.02752816490828991,
0.012104448862373829,
-0.0089498246088624,
-0.02563510276377201,
-0.0283634215593338,
-0.01772325485944748,
0.017646951600909233,
0.04641783609986305,
-0.03995479270815849,
-0.045995570719242096,
-0.000565945403650403,
0.03565467149019241,
0.023563286289572716,
0.0017552283825352788,
-0.02780449204146862,
-0.0005764826782979071,
-0.06585793197154999,
-0.03434363380074501,
0.03044397570192814,
0.0056878430768847466,
-0.022097723558545113,
0.05903651565313339,
0.013334042392671108,
-0.012903017923235893,
0.05591027811169624,
0.047904837876558304,
0.06531401723623276,
0.018729019910097122,
-0.05401263386011124,
-0.007397753652185202,
-0.022011613473296165,
0.021200887858867645,
0.017716702073812485,
-0.04691947624087334,
-0.04215305298566818,
-0.09908123314380646,
-0.0213814377784729,
0.0369960181415081,
-0.01362097542732954,
-0.04694511741399765,
0.03412052243947983,
0.00617943424731493,
-0.0003418727428652346,
-0.010243849828839302,
0.01966298557817936,
0.02635314129292965,
-0.03976431488990784,
0.056757133454084396,
0.0030343972612172365,
0.050514835864305496,
-0.059721000492572784,
0.002458790550008416,
-0.033980872482061386,
-0.018215082585811615,
0.03891945257782936,
0.037965867668390274,
-0.007604292128235102,
0.04428862780332565,
0.055394504219293594,
0.023443398997187614,
-0.05131777748465538,
0.02804991789162159,
0.0473221018910408,
-0.03769908845424652,
-0.04041026532649994,
-0.008731907233595848,
0.02100270800292492,
-0.013664623722434044,
0.016792388632893562,
-0.02249275892972946,
0.05521329119801521,
0.03225012868642807,
-0.01589682139456272,
0.006010371260344982,
0.01549644023180008,
-0.061491284519433975,
-0.026303542777895927,
-0.006179818883538246,
-0.03120955266058445,
-0.008123044855892658,
-0.014308089390397072,
0.018205886706709862,
0.06016913428902626,
0.015075724571943283,
0.029935020953416824,
0.033840812742710114,
-0.02098075859248638,
-0.05837805196642876,
0.025831155478954315,
0.024840492755174637,
-0.041699957102537155,
-0.061333104968070984,
-0.022573623806238174,
0.0631028339266777,
0.012267238460481167,
0.005524904001504183,
-0.08897875994443893,
0.03924071416258812,
0.06594891101121902,
-0.04981003329157829,
0.052503012120723724,
0.004500671289861202,
0.04976272955536842,
0.04833925515413284,
-0.040112633258104324,
0.030980903655290604,
-0.024710485711693764,
-0.013082877732813358,
-0.010785914026200771,
0.029623527079820633,
-0.019219014793634415,
-0.04519328847527504,
-0.04376496002078056,
0.03513956442475319,
0.07103125005960464,
0.04260927438735962,
0.006291668396443129,
-0.019640296697616577,
-0.032829560339450836,
0.007614506408572197,
0.04223276302218437,
-0.046788543462753296,
0.018783744424581528,
0.03608313947916031,
0.011537570506334305,
-0.0577109232544899,
-0.048321984708309174,
-0.019613884389400482,
-0.0004035030142404139,
0.036196019500494,
-0.02367207035422325,
-0.005070115439593792,
-0.049201641231775284,
0.04553580284118652,
0.0003116006846539676,
-0.028966668993234634,
-0.07365396618843079,
0.048838209360837936,
-0.010412926785647869,
0.0027950431685894728,
0.05800537392497063,
0.04287025332450867,
0.035746317356824875,
0.07260574400424957,
0.036868441849946976,
-0.0028703673742711544,
-0.03659301623702049,
0.03943146392703056,
-0.018717031925916672,
-0.009548265486955643,
-0.02467997558414936,
-0.05320564657449722,
-0.007097312249243259,
-0.006356153171509504,
-0.024958454072475433,
-0.027860114350914955,
-0.018793722614645958,
0.035877469927072525,
0.012460910715162754,
-0.013784786686301231,
-0.026806583628058434,
0.007307066116482019,
-0.013970424421131611,
-0.02740623615682125,
-0.021908991038799286,
-0.00533154746517539,
-0.035763535648584366,
-0.037468865513801575,
0.03002789430320263,
-0.003918088041245937,
0.031679049134254456,
0.02103918418288231,
0.05219419673085213,
0.0036206678487360477,
-0.005581103730946779,
-0.041366711258888245,
0.0040835049003362656,
-0.005812749266624451,
-0.032755445688962936,
-0.04726410284638405,
0.00018226132669951767,
-0.0009472249075770378,
0.05366120859980583,
-0.008818523027002811,
0.019987566396594048,
0.022891636937856674,
-0.031930338591337204,
-0.022107567638158798,
0.03581948205828667,
0.03584951534867287,
-0.09086602181196213,
-0.058051787316799164,
-0.005777551792562008,
-0.02710483781993389,
0.03112080506980419,
-0.05417030304670334,
-0.043542008846998215,
0.013810030184686184,
0.007849905639886856,
0.045959603041410446,
0.02440919540822506,
-0.02540508471429348,
0.015073529444634914,
-0.016855116933584213,
0.0023904219269752502,
-0.06387603282928467,
0.03177189826965332,
-0.015095123089849949,
0.012087749317288399,
-0.035500507801771164,
-0.005370276514440775,
-0.03665754571557045,
0.04838406667113304,
-0.027788551524281502,
-0.025505544617772102,
-0.017186380922794342,
0.04211733117699623,
-0.025547469034790993,
0.016713272780179977,
-0.01156607549637556,
0.03592809662222862,
-0.04383479803800583,
0.06948498636484146,
-0.03831019625067711,
0.014124558307230473,
-0.025173908099532127,
0.007125612813979387,
-0.052977368235588074,
0.048075973987579346,
-0.0368521511554718,
-0.040432341396808624,
0.03303900361061096,
0.08471499383449554,
0.024729466065764427,
-0.0050564841367304325,
-0.020808126777410507,
-0.001951461541466415,
0.022256404161453247,
-0.052569109946489334,
-0.0011064190184697509,
-0.00256932619959116,
-0.005166244693100452,
-0.008607001975178719,
0.009695443324744701,
0.04720005393028259,
-0.04553382098674774,
-0.050565045326948166,
0.05404123291373253,
-0.00022334815002977848,
0.003431762335821986,
-0.003858278738334775,
-0.006576198153197765,
0.05258059501647949,
0.024744711816310883,
-0.044394250959157944,
0.01442438829690218,
-0.032172638922929764,
-0.02244209684431553,
0.005524026229977608,
-0.01963072083890438,
0.02747199311852455,
0.0076693943701684475,
-0.041072119027376175,
-0.026441680267453194,
0.07062119245529175,
0.0301097109913826,
0.01891779713332653,
-0.0031451715622097254,
-0.021952057257294655,
0.04694981873035431,
0.005105720367282629,
-0.028419146314263344,
0.024205047637224197,
-0.016254790127277374,
-0.027465946972370148,
0.08102447539567947,
-0.006522864568978548,
0.0004697240947280079,
0.03934517130255699,
0.004199778661131859,
-0.023427501320838928,
0.03981257602572441,
-0.03519286960363388,
0.04241334646940231,
0.05838513746857643,
-0.102756567299366,
0.04518064856529236,
-0.04874350503087044,
0.03669114410877228,
-0.09516475349664688,
0.060765501111745834,
0.04530046880245209,
0.015366335399448872,
0.014402923174202442,
-0.036293528974056244,
-0.053707633167505264,
0.016482163220643997,
-0.04403391852974892,
0.062052227556705475,
-0.003425497328862548,
-0.06424463540315628,
0.08789990842342377,
0.02600075863301754,
-0.07125228643417358,
0.03850533813238144,
0.03402568772435188,
0.03526725992560387,
0.04472159594297409,
0.034573014825582504,
-0.04898398369550705,
0.04043983295559883,
-0.03856993466615677,
0.07393931597471237,
-0.045287683606147766,
-0.06473536789417267,
0.01878299005329609,
-0.01866408996284008,
0.0039021901320666075,
0.019131755456328392,
-0.008326668292284012,
-0.0015989711973816156,
0.029274672269821167,
-0.05748259276151657,
-0.046250585466623306,
-0.0002547673648223281,
0.011645577847957611,
-0.025980880483984947,
-0.005181731190532446,
-0.03713030368089676,
0.042458780109882355,
0.023763343691825867,
0.015295226126909256,
-0.02051449567079544,
-0.011041640304028988,
0.020000411197543144,
-0.07619839906692505,
-0.03238581866025925,
0.05338999256491661,
-0.00444435840472579,
-0.016145069152116776,
0.05424824357032776,
0.02147691324353218,
0.030287155881524086,
-0.0009417050750926137,
0.0007447857060469687,
0.008917715400457382,
-0.0445491261780262,
-0.0001891802530735731,
0.02488243766129017,
0.0003812798240687698,
0.02505991980433464,
-0.00352503196336329,
0.03524462878704071,
0.03211907669901848,
0.035721518099308014,
0.01820567063987255,
-0.01644941046833992,
0.00615738658234477,
0.07662197202444077,
-0.0378936268389225,
0.01476842351257801,
-0.04268231615424156,
-0.03118218667805195,
-0.03928964212536812,
-0.022864067927002907,
-0.005279335658997297,
0.029590852558612823,
-0.0525960735976696,
0.007478184998035431,
0.032776009291410446,
-0.024666694924235344,
-0.06129947677254677,
-0.0865495428442955,
-0.014872395433485508,
-0.0369531475007534,
-0.0013687948230654001,
0.035605598241090775,
-0.04558437690138817,
0.02138444036245346,
-0.04276830330491066,
-0.06707486510276794,
0.04438198730349541,
0.035027097910642624,
-0.049384478479623795,
0.06186254695057869,
0.05492870509624481,
-0.04402908682823181,
0.025362813845276833,
0.017340844497084618,
-0.020639585331082344,
0.022230464965105057,
-0.00300002982839942,
0.026745999231934547,
0.04287160187959671,
0.03429747000336647,
-0.0341239869594574,
-0.039196811616420746,
-0.027618329972028732,
-0.045747801661491394,
-0.024454006925225258,
0.0159439817070961,
0.06323990225791931
] |
Callidior/bert2bert-base-arxiv-titlegen | [
"pytorch",
"safetensors",
"encoder-decoder",
"text2text-generation",
"en",
"dataset:arxiv_dataset",
"transformers",
"summarization",
"license:apache-2.0",
"autotrain_compatible",
"has_space"
] | summarization | {
"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
}
}
} | 145 | null | ```
from transformers import BertForSequenceClassification, BertTokenizer, TextClassificationPipeline
model = BertForSequenceClassification.from_pretrained("deeq/dbert-sentiment")
tokenizer = BertTokenizer.from_pretrained("deeq/dbert")
nlp = TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(nlp("μ’μμ"))
print(nlp("κΈμμ"))
```
| [
-0.02430841326713562,
-0.00972551479935646,
-0.021251825615763664,
0.045256417244672775,
0.033390238881111145,
0.02687755972146988,
-0.024701720103621483,
-0.02186589315533638,
-0.04032321646809578,
0.0452682264149189,
0.012439568527042866,
0.003012821078300476,
-0.0028098691254854202,
0.05872875452041626,
-0.0418422557413578,
-0.03645641729235649,
-0.01433663722127676,
-0.012499880976974964,
-0.05322302132844925,
-0.02308765985071659,
-0.011616228148341179,
0.004265333991497755,
0.017672762274742126,
0.011105399578809738,
0.007133725564926863,
0.017414163798093796,
-0.016602937132120132,
0.03613664582371712,
0.02381119877099991,
-0.07128443568944931,
0.005183998495340347,
-0.009517988190054893,
-0.04144540801644325,
0.009130166843533516,
-0.028508035466074944,
-0.00014823772653471678,
0.013867108151316643,
0.0035302117466926575,
0.022631026804447174,
0.04243950545787811,
0.000984641257673502,
0.00011132175859529525,
-0.010928274132311344,
-0.02392597682774067,
0.017446797341108322,
0.004391557537019253,
-0.03588970750570297,
-0.01592983491718769,
0.030174018815159798,
-0.03461908921599388,
-0.05356603488326073,
-0.06947965919971466,
-0.024400262162089348,
0.031088119372725487,
-0.0057067484594881535,
-0.009935679845511913,
-0.062200333923101425,
-0.015309610404074192,
0.06865635514259338,
-0.035149335861206055,
-0.025007931515574455,
0.029939696192741394,
-0.045917853713035583,
0.0009391912026330829,
0.009427999146282673,
-0.040429145097732544,
0.010934398509562016,
-0.03146114572882652,
0.01959654502570629,
-0.01994737982749939,
0.05896721035242081,
-0.019586944952607155,
0.02405916340649128,
-0.09075061231851578,
-0.008242356590926647,
-0.028992770239710808,
0.036792825907468796,
0.04757486283779144,
-0.02652587741613388,
0.058794356882572174,
0.026581285521388054,
0.013415991328656673,
0.03430148959159851,
-0.006945963483303785,
-0.01645851694047451,
0.020335817709565163,
-0.03900395706295967,
0.026659058406949043,
0.006534424144774675,
0.04092532396316528,
-0.04169480502605438,
-0.033960942178964615,
-0.030820464715361595,
-0.03231865540146828,
-0.011642063967883587,
0.02960502915084362,
0.02280712127685547,
0.01667410507798195,
0.030968524515628815,
0.047209110110998154,
0.03637361153960228,
0.060632918030023575,
-0.012915770523250103,
0.04082236811518669,
0.009860835038125515,
-0.0010189540917053819,
-0.007064112927764654,
-0.037256062030792236,
-0.05521572008728981,
0.052798591554164886,
0.009134460240602493,
-0.04138851538300514,
-0.03133917972445488,
0.02990036830306053,
0.008907214738428593,
-0.025186944752931595,
0.0711221843957901,
-0.012596194632351398,
-0.05186993628740311,
-0.03873968496918678,
0.05619112774729729,
0.006368334870785475,
0.007252371404320002,
-0.008059332147240639,
-0.05037098750472069,
0.007136001251637936,
-0.04247009754180908,
-0.022817691788077354,
-0.017180493101477623,
0.034717876464128494,
0.02073800563812256,
0.032605115324258804,
0.010740110650658607,
-0.04120737314224243,
0.022491155192255974,
0.023560969159007072,
-0.06483826786279678,
0.05944555625319481,
0.04116038605570793,
0.1252255141735077,
-0.07479964941740036,
-0.06459218263626099,
0.02225733920931816,
-0.001078235567547381,
-0.0461808480322361,
0.004089996684342623,
0.005457715597003698,
-0.05003902316093445,
-0.042519208043813705,
0.0015592493582516909,
0.0733090415596962,
-0.05512335151433945,
-0.0006458961870521307,
0.05798636004328728,
-0.017030062153935432,
0.0498034805059433,
-0.04690688103437424,
-0.012673657387495041,
0.0025771185755729675,
0.014706932939589024,
-0.06909667700529099,
0.07082726061344147,
-0.020110735669732094,
-0.019246254116296768,
-0.02838086523115635,
-0.051882557570934296,
-0.008603474125266075,
0.08962889760732651,
0.002671068301424384,
-0.029726430773735046,
-0.028949804604053497,
0.03205027058720589,
0.03770621120929718,
0.028756050392985344,
-0.029443759471178055,
0.00891834869980812,
0.06971585750579834,
0.0319601334631443,
-0.02489699237048626,
0.042741063982248306,
0.007878436706960201,
-0.039153289049863815,
-0.031594417989254,
0.0067673977464437485,
-0.015817230567336082,
-0.022245842963457108,
0.04005594179034233,
0.02085786871612072,
-0.026281768456101418,
-0.02427184022963047,
-0.013050327077507973,
0.03651649132370949,
-0.012425556778907776,
0.025912629440426826,
0.022409087046980858,
-0.0038160572294145823,
-0.021010030061006546,
0.034364450722932816,
-0.016615042462944984,
0.024452218785881996,
-0.04812146723270416,
-0.009731058962643147,
0.009217971935868263,
-0.002781800925731659,
0.0380682498216629,
0.018379060551524162,
-0.028214048594236374,
0.081226646900177,
-0.03457038849592209,
0.011485517024993896,
-0.05113229155540466,
-0.04631909355521202,
0.0014497725060209632,
0.03057289868593216,
0.039153311401605606,
0.04904944822192192,
0.011869500391185284,
-0.04724020138382912,
0.043232548981904984,
0.024940835312008858,
0.03974991291761398,
0.021362362429499626,
-0.018855249509215355,
0.00266193225979805,
0.022080164402723312,
0.0739116445183754,
-0.0640067458152771,
-0.03084717132151127,
0.017547253519296646,
0.03897983580827713,
0.001099227461963892,
0.021733436733484268,
-0.023122528567910194,
0.024087432771921158,
-0.03672259300947189,
-0.09200957417488098,
0.053696539252996445,
0.02803174778819084,
0.023711780086159706,
0.04282809793949127,
-0.0007919194176793098,
-0.005164630711078644,
0.029941262677311897,
0.04051809757947922,
0.0018957958091050386,
-0.04283592849969864,
-0.0024431070778518915,
0.017404910176992416,
0.045980822294950485,
-0.04556639865040779,
0.03911728039383888,
0.004351121839135885,
0.02127557434141636,
0.04500536993145943,
-0.037389498203992844,
0.042284462600946426,
0.02218732237815857,
0.007670575752854347,
-0.03571082279086113,
0.02706732787191868,
-0.012466141022741795,
0.040063560009002686,
0.06522338837385178,
0.004309209529310465,
0.06935367733240128,
-0.0076019372791051865,
0.04736269637942314,
0.07834948599338531,
0.04848708584904671,
0.029446564614772797,
0.047562021762132645,
0.05739107355475426,
0.012415842153131962,
-0.012690529227256775,
0.04475124552845955,
-0.024900196120142937,
0.027043582871556282,
-0.044969342648983,
0.031154992058873177,
-0.02080964855849743,
-0.024864541366696358,
0.03849400579929352,
0.017414825037121773,
-0.009648032486438751,
0.0024961407762020826,
0.01261220220476389,
0.03223606199026108,
0.03573257103562355,
0.0028954832814633846,
0.007116289343684912,
0.005328933708369732,
-0.04576214402914047,
-0.01043507270514965,
-0.08457736670970917,
-0.044394973665475845,
-0.018665721639990807,
-0.010777082294225693,
0.006168682128190994,
-0.10097023099660873,
-0.044976986944675446,
-0.07431089878082275,
-0.011556271463632584,
0.04263624921441078,
0.020418481901288033,
0.011044187471270561,
-0.02685956284403801,
0.03717996925115585,
-0.04396110028028488,
-0.02711467817425728,
-0.03457845747470856,
-0.039965301752090454,
-0.06167320907115936,
-0.06439796835184097,
0.036658041179180145,
0.02902325987815857,
0.010194764472544193,
0.009942839853465557,
-0.0075088441371917725,
-0.047301989048719406,
-0.018490539863705635,
0.06582064926624298,
0.03020479902625084,
-0.031513359397649765,
-0.05448117107152939,
0.024392643943428993,
-0.02214634418487549,
0.024655040353536606,
0.00461303535848856,
-0.025726234540343285,
0.08383503556251526,
0.09355055540800095,
0.010904602706432343,
0.009990218095481396,
-0.02176140621304512,
-0.05202631652355194,
-0.05297098681330681,
-0.01787308044731617,
-0.01562270987778902,
-0.03293910250067711,
-0.019842829555273056,
-0.04012618958950043,
-0.01893729530274868,
-0.030253538861870766,
-0.017492739483714104,
-0.0003770670446101576,
0.03013033978641033,
0.028187308460474014,
0.04952579736709595,
0.010582747869193554,
0.03419433906674385,
-0.044510867446660995,
-0.020782027393579483,
0.049717240035533905,
-0.014502163045108318,
-0.002844603033736348,
-0.11960962414741516,
-0.00891946256160736,
0.03391176089644432,
0.006582438480108976,
0.007943087257444859,
-0.025206396356225014,
0.07415495067834854,
-0.0012072216486558318,
-0.009558528661727905,
-0.00014686593203805387,
0.014828110113739967,
0.009007497690618038,
-0.02245895378291607,
-0.005412834696471691,
-0.02110118791460991,
-0.057053256779909134,
-0.05190593749284744,
-0.0052308253943920135,
0.033324193209409714,
-0.05484946072101593,
-0.060479048639535904,
-0.009219065308570862,
0.0550198070704937,
0.03811107575893402,
0.0020492917392402887,
-0.032874103635549545,
-0.003979567438364029,
-0.07353608310222626,
-0.0367107056081295,
-0.006425050552934408,
-0.01671355776488781,
0.012520961463451385,
0.0384615994989872,
0.03230239823460579,
-0.027707679197192192,
0.009514657780528069,
0.04258892312645912,
0.07402344793081284,
0.005573795642703772,
-0.0612553246319294,
0.020958878099918365,
-0.026299575343728065,
0.005050641484558582,
0.007493366952985525,
-0.012686762027442455,
-0.03274364396929741,
-0.08484019339084625,
-0.013444538228213787,
-0.006531188264489174,
-0.030037933960556984,
-0.008479594253003597,
0.024880796670913696,
-0.023242080584168434,
-0.042094696313142776,
0.013450020924210548,
0.012342252768576145,
0.049895938485860825,
-0.04004904255270958,
0.049878645688295364,
0.009042109362781048,
0.05062488466501236,
-0.05185209587216377,
0.016682298853993416,
-0.03818604350090027,
-0.008970428258180618,
-0.02237987332046032,
0.04783395677804947,
0.031688809394836426,
0.051138199865818024,
0.06558983027935028,
0.02001086063683033,
-0.03993375599384308,
0.04998420923948288,
0.049575842916965485,
-0.015304503962397575,
-0.04966539517045021,
-0.002286589238792658,
-0.004586174618452787,
-0.04827088862657547,
0.013126092962920666,
-0.029103906825184822,
-0.005144792143255472,
0.03551870211958885,
0.006242575589567423,
-0.02576947584748268,
0.0009622929501347244,
-0.013245414942502975,
-0.04352616146206856,
-0.06550154089927673,
-0.020369097590446472,
0.011979393661022186,
-0.026061898097395897,
0.02249620109796524,
0.03314908221364021,
0.019070712849497795,
0.0760958343744278,
0.04736427962779999,
0.0014216098934412003,
-0.033217452466487885,
0.043899133801460266,
0.045328203588724136,
-0.044256169348955154,
-0.06624673306941986,
-0.06228213757276535,
0.010968038812279701,
0.07090148329734802,
-0.027354197576642036,
-0.07987876236438751,
0.01015911903232336,
0.057497404515743256,
-0.017270103096961975,
0.08860798180103302,
-0.018047355115413666,
0.04161426052451134,
0.07833749800920486,
-0.010702861472964287,
0.010734579525887966,
-0.03469480201601982,
-0.013821079395711422,
0.0234962310642004,
0.03209513798356056,
-0.05715101212263107,
-0.05412217974662781,
-0.030794329941272736,
0.027776449918746948,
0.04309777542948723,
0.058534443378448486,
0.051696017384529114,
-0.025257261469960213,
-0.04922144487500191,
0.007570995483547449,
0.03216421231627464,
-0.028486602008342743,
0.019367488101124763,
0.022572752088308334,
0.046681031584739685,
-0.06478264927864075,
-0.04007728770375252,
-0.021197890862822533,
-0.0038901627995073795,
0.05742570012807846,
0.015352733433246613,
-0.03590816259384155,
-0.03382221981883049,
0.01413320004940033,
-0.0011627835920080543,
-0.01803094707429409,
-0.060649000108242035,
0.013443023897707462,
-0.02204982377588749,
-0.02523965574800968,
0.052371736615896225,
0.04165128991007805,
0.05102727562189102,
0.03982189670205116,
-0.014716748148202896,
0.007630797568708658,
-0.02667403034865856,
0.021608751267194748,
-0.03452884778380394,
-0.029811715707182884,
-0.014561599120497704,
-0.029942471534013748,
-0.0006279319641180336,
-0.006255396641790867,
-0.05895146355032921,
-0.04212573170661926,
-0.023527849465608597,
0.013267234899103642,
-0.007446574978530407,
-0.004805317148566246,
-0.00591951422393322,
0.04460778832435608,
-0.04403279349207878,
-0.03486578166484833,
-0.04253261536359787,
-0.02830895595252514,
-0.06609011441469193,
-0.04816460609436035,
-0.007901064120233059,
0.012943788431584835,
0.015016280114650726,
0.017490407451987267,
0.026918385177850723,
0.019605383276939392,
-0.0031971700955182314,
-0.030948763713240623,
0.01933184638619423,
0.010264062322676182,
-0.039316680282354355,
-0.03005148470401764,
0.005758871790021658,
0.015201199799776077,
0.014797371812164783,
-0.011487828567624092,
0.01767985336482525,
0.014760825783014297,
0.00306132435798645,
-0.04086066409945488,
0.02221675030887127,
0.018702251836657524,
-0.07675868272781372,
-0.028302745893597603,
-0.02469302900135517,
-0.03233546391129494,
0.02735869772732258,
-0.010690053924918175,
-0.016466008499264717,
0.01927744597196579,
0.04205514118075371,
0.02870872989296913,
-0.03224443644285202,
-0.022005891427397728,
0.047586582601070404,
-0.013180743902921677,
0.02767062932252884,
-0.043160777539014816,
0.04383227601647377,
-0.03666321560740471,
0.008288851007819176,
-0.005839078687131405,
-0.007985060103237629,
-0.03719085827469826,
0.030998311936855316,
-0.006873550359159708,
-0.011738883331418037,
-0.014760076068341732,
0.015475049614906311,
-0.025558823719620705,
0.0385134220123291,
-0.005555585492402315,
0.03508564457297325,
-0.03407818078994751,
0.02761945314705372,
-0.04995185509324074,
0.013891487382352352,
-0.025994986295700073,
0.031179096549749374,
-0.042476095259189606,
-0.04190274327993393,
0.016108432784676552,
-0.04311318323016167,
0.012415105476975441,
0.023875564336776733,
-0.0037473556585609913,
0.019588137045502663,
0.011418462730944157,
-0.0061129177920520306,
0.0031981596257537603,
-0.09234831482172012,
-0.01593639887869358,
-0.01676935702562332,
0.010287059471011162,
-0.023041032254695892,
0.047490064054727554,
0.042483922094106674,
-0.05051138997077942,
-0.038251519203186035,
0.04691987857222557,
0.01277113240212202,
-0.0016672274796292186,
-0.01577885076403618,
0.037713225930929184,
0.005587249528616667,
0.024913344532251358,
-0.02189667895436287,
-0.01497725024819374,
-0.0013722669100388885,
-0.018831826746463776,
0.00627113226801157,
-0.003574829315766692,
0.021566996350884438,
-0.006606724578887224,
-0.04484632983803749,
-0.04080020263791084,
0.0800175815820694,
0.0307609960436821,
0.023760655894875526,
0.023262856528162956,
-0.05430286377668381,
0.006734779104590416,
0.012830417603254318,
-0.03599262237548828,
-0.010210520587861538,
0.02665083110332489,
-0.04255419969558716,
0.07915326952934265,
0.015490190126001835,
0.026631604880094528,
0.028038235381245613,
0.023847470059990883,
-0.011620903387665749,
0.05724716931581497,
-0.04218905419111252,
0.008016901090741158,
0.04137570038437843,
-0.03176544979214668,
-0.0023059716913849115,
-0.042627349495887756,
0.054109226912260056,
-0.05649534612894058,
0.0535796694457531,
0.02969883196055889,
0.010733037255704403,
0.009190039709210396,
-0.04524718597531319,
-0.01562553457915783,
0.014383506961166859,
-0.05815327912569046,
0.08216185867786407,
-0.0029505351558327675,
-0.07403212785720825,
0.059083692729473114,
0.021641956642270088,
-0.06584054231643677,
0.06162719056010246,
0.04788847640156746,
0.04456698149442673,
0.04118631035089493,
0.06426207721233368,
-0.052845120429992676,
-0.013225466012954712,
-0.036340780556201935,
0.0047093708999454975,
-0.057240016758441925,
0.002285225782543421,
0.01904119923710823,
-0.028016524389386177,
-0.015013155527412891,
0.05525974556803703,
-0.02664920501410961,
0.0031700367107987404,
0.022858314216136932,
-0.04903760552406311,
-0.029559200629591942,
-0.0081308763474226,
0.011942330747842789,
-0.012811359018087387,
-0.0007658383692614734,
-0.023617597296833992,
-0.012097574770450592,
-0.013688352890312672,
-0.0055366624146699905,
-0.03232630714774132,
0.02329169400036335,
0.030269643291831017,
-0.048463910818099976,
-0.03379112109541893,
0.014875859953463078,
0.00949824322015047,
-0.02686125785112381,
0.037570349872112274,
0.0004961668746545911,
0.01683867909014225,
0.019374411553144455,
0.023224368691444397,
0.026929738000035286,
-0.026126572862267494,
0.007874734699726105,
-0.008799945004284382,
0.017355848103761673,
0.012955433689057827,
-0.02056656964123249,
0.03220144659280777,
0.03618357703089714,
0.014966188929975033,
0.012130641378462315,
-0.05421816185116768,
-0.027457725256681442,
0.013862264342606068,
-0.028936050832271576,
0.008507253602147102,
0.011855368502438068,
-0.042184602469205856,
-0.021207422018051147,
0.00827051792293787,
-0.04889094457030296,
0.06307882815599442,
-0.04253564402461052,
0.05165630578994751,
0.04137841612100601,
-0.007851666770875454,
-0.027212588116526604,
-0.04994581639766693,
-0.02546413615345955,
-0.04949137941002846,
0.03888483718037605,
0.036104634404182434,
-0.03225604072213173,
0.0037947006057947874,
-0.04667887091636658,
-0.030508587136864662,
0.05059700831770897,
0.035880524665117264,
-0.04701694846153259,
0.07368213683366776,
0.045869264751672745,
-0.039660945534706116,
0.01707429811358452,
0.01467908639460802,
-0.028235355392098427,
0.01665298454463482,
0.015125746838748455,
0.026548849418759346,
0.03195750340819359,
0.05329229310154915,
-0.030480297282338142,
-0.026017699390649796,
-0.08314251154661179,
-0.01911139488220215,
-0.044407766312360764,
-0.0005028577870689332,
0.055765844881534576
] |
CallumRai/HansardGPT2 | [
"pytorch",
"jax",
"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
}
}
} | 14 | null | ---
language: ko
datasets:
- kowiki
- news
---
deeqBERT-base
---
- model: bert-base
- vocab: bert-wordpiece, 35k
- version: latest
| [
-0.030871188268065453,
-0.02205849252641201,
0.0031485368963330984,
0.020717957988381386,
0.05428722873330116,
0.0279212836176157,
0.018221210688352585,
-0.025368675589561462,
-0.03720609471201897,
0.04210660979151726,
0.00592167628929019,
-0.01658347249031067,
0.03543853014707565,
0.02218707837164402,
-0.01573566161096096,
-0.022633356973528862,
-0.004448719788342714,
-0.01755869947373867,
-0.06372179090976715,
-0.007856188341975212,
0.027656542137265205,
0.009905469603836536,
-0.0010754313552752137,
0.007915022782981396,
0.02524479292333126,
0.025535477325320244,
-0.033812206238508224,
0.043337129056453705,
0.016277892515063286,
-0.037508998066186905,
-0.027168937027454376,
-0.028899187222123146,
-0.053126055747270584,
-0.02454417385160923,
0.000538139371201396,
-0.0009860452264547348,
0.01173592358827591,
0.014581290073692799,
0.03798117861151695,
0.03584727272391319,
-0.024609455838799477,
0.008922000415623188,
-0.005003983620554209,
-0.01572274975478649,
0.04601975902915001,
-0.023932181298732758,
-0.0710211843252182,
-0.02317577786743641,
0.01972436159849167,
-0.02455553412437439,
-0.05789836868643761,
-0.0734204649925232,
-0.026402248069643974,
0.027220530435442924,
0.009258612990379333,
-0.02501775324344635,
-0.05052665248513222,
0.019434848800301552,
0.05557751655578613,
-0.030369393527507782,
-0.04179057106375694,
0.02433726191520691,
-0.07002187520265579,
0.010991833172738552,
0.026006091386079788,
-0.01981758140027523,
0.022216511890292168,
-0.019337419420480728,
0.05023985356092453,
-0.01223524659872055,
0.0650256872177124,
-0.04849855601787567,
0.0289529487490654,
-0.06843656301498413,
-0.015412292443215847,
-0.026698267087340355,
0.04154114052653313,
0.05314153805375099,
-0.03867277503013611,
0.054786380380392075,
0.001656463835388422,
0.011754757724702358,
0.01803232543170452,
0.009808843024075031,
-0.028578387573361397,
0.029793141409754753,
-0.03650911524891853,
0.007967837154865265,
0.004696332383900881,
0.03578108921647072,
-0.040903568267822266,
-0.014061084017157555,
-0.038991041481494904,
-0.010504443198442459,
-0.03238184377551079,
0.02061290852725506,
0.044644106179475784,
-0.02011398784816265,
0.019238503649830818,
0.028255192562937737,
0.01357256155461073,
0.06305141001939774,
-0.03190414980053902,
0.05583658069372177,
-0.0086478590965271,
0.006411160342395306,
-0.03164749965071678,
-0.004323411732912064,
-0.05115240067243576,
0.027469005435705185,
0.02706851437687874,
-0.05264386162161827,
-0.03889385983347893,
0.052278582006692886,
0.018139323219656944,
-0.024328462779521942,
0.03502820432186127,
-0.011908581480383873,
-0.0228141900151968,
-0.028385428711771965,
0.060894954949617386,
0.004101308062672615,
0.013201122172176838,
0.011278449557721615,
-0.04609377309679985,
0.0195603147149086,
-0.04840491712093353,
-0.01911170966923237,
0.00005227476140134968,
0.01787937618792057,
0.0028879952151328325,
0.024540307000279427,
0.039957739412784576,
-0.07662752270698547,
0.010865563526749611,
0.009914765134453773,
-0.052679456770420074,
0.04717491567134857,
0.016144825145602226,
0.10194259881973267,
-0.05737477168440819,
-0.0431821383535862,
0.00030626775696873665,
0.009790278039872646,
-0.01258043386042118,
0.0096184853464365,
0.012262462638318539,
-0.006890163291245699,
-0.019035952165722847,
0.008936918340623379,
0.05159011855721474,
-0.06154070794582367,
-0.002971267094835639,
0.0771518349647522,
-0.027689974755048752,
0.02878059260547161,
-0.017168348655104637,
-0.007679253350943327,
-0.006474949419498444,
-0.007818036712706089,
-0.05638604238629341,
0.04778667911887169,
-0.0032410393469035625,
-0.014006935991346836,
-0.05041796714067459,
-0.07298281788825989,
0.003543128492310643,
0.08915688097476959,
0.008991322480142117,
-0.03799678385257721,
-0.051273245364427567,
0.020488345995545387,
0.057205408811569214,
0.01797138713300228,
-0.025811906903982162,
0.00647512823343277,
0.03575870022177696,
0.025155918672680855,
-0.009497520513832569,
0.04690403491258621,
0.012757846154272556,
-0.04751922935247421,
-0.02090173214673996,
0.043717458844184875,
0.03270961716771126,
-0.04934985935688019,
-0.012841861695051193,
0.04118846356868744,
0.006720574107021093,
-0.03312907740473747,
-0.01989731937646866,
0.053482189774513245,
-0.04106758534908295,
-0.02589215524494648,
0.009012590162456036,
-0.017241301015019417,
-0.019163254648447037,
0.05659269541501999,
-0.03928270563483238,
-0.0037562174256891012,
-0.03025226853787899,
-0.0120694013312459,
0.011244568973779678,
0.030192142352461815,
0.03216008096933365,
0.04832234978675842,
-0.02027248963713646,
0.06713230162858963,
-0.03933544084429741,
0.01273938175290823,
-0.03387743979692459,
-0.03542836755514145,
-0.01782103069126606,
0.02930515445768833,
0.048323433846235275,
0.051422908902168274,
-0.015083592385053635,
-0.07609828561544418,
0.024104852229356766,
0.08260338753461838,
0.03002597950398922,
0.025078872218728065,
0.0012984855566173792,
-0.00924766156822443,
0.06110604852437973,
0.021975213661789894,
-0.03926081955432892,
-0.027123650535941124,
0.029033375903964043,
0.05968094989657402,
-0.013639808632433414,
0.009967397898435593,
-0.012206095270812511,
0.014039603061974049,
-0.019839264452457428,
-0.07193458080291748,
0.05201466754078865,
0.023985058069229126,
-0.0008299202308990061,
0.03156881779432297,
-0.03212045505642891,
0.014645292423665524,
0.035858191549777985,
0.04565446451306343,
-0.010982002131640911,
-0.045847032219171524,
0.009931092150509357,
-0.016558434814214706,
0.06943981349468231,
-0.03117348812520504,
0.044176410883665085,
0.0059780217707157135,
0.026742661371827126,
0.036845166236162186,
-0.022811856120824814,
0.03738776594400406,
0.04898212477564812,
0.010813644155859947,
-0.03944500535726547,
0.02667001262307167,
0.04906860366463661,
0.03514581546187401,
0.08760327100753784,
-0.0006810598424635828,
0.04110397398471832,
-0.008424476720392704,
0.05298095569014549,
0.07145100831985474,
0.0013248058967292309,
0.03928310051560402,
0.030309496447443962,
0.0887051671743393,
-0.0021043713204562664,
-0.024262195453047752,
0.05501776561141014,
-0.04404940456151962,
0.010188132524490356,
-0.033880606293678284,
0.000834685459267348,
-0.008769054897129536,
-0.033746764063835144,
0.012093622237443924,
0.00025423182523809373,
-0.01059775985777378,
-0.0012388458708301187,
-0.00877454411238432,
-0.00787406787276268,
0.04448182135820389,
-0.0036492410581558943,
-0.009000592865049839,
0.009761671535670757,
-0.05005412548780441,
0.033781085163354874,
-0.054873883724212646,
-0.04724041000008583,
-0.003595333080738783,
-0.03109562210738659,
0.02373136766254902,
-0.07798533886671066,
-0.02253216691315174,
-0.08711332082748413,
-0.02059316821396351,
0.043367691338062286,
0.016600333154201508,
0.02062244340777397,
-0.014316326938569546,
0.013194472528994083,
-0.030383359640836716,
-0.043947942554950714,
-0.02977728471159935,
-0.03931350260972977,
-0.026231354102492332,
-0.05011117830872536,
0.03293627128005028,
0.05445855110883713,
0.02337341196835041,
0.014070418663322926,
0.006054987199604511,
-0.023832034319639206,
-0.017872482538223267,
0.032158881425857544,
0.04251103848218918,
-0.03761577233672142,
-0.024478202685713768,
0.01728065125644207,
-0.011916065588593483,
0.005787595175206661,
-0.0024862682912498713,
-0.02361281029880047,
0.06429937481880188,
0.0611332505941391,
0.025053812190890312,
0.008083518594503403,
0.0303479116410017,
-0.049083251506090164,
-0.06440646201372147,
-0.03665880858898163,
-0.04210732877254486,
-0.02549777738749981,
-0.043661486357450485,
-0.06277580559253693,
-0.02097434364259243,
-0.05979899689555168,
0.008494740352034569,
-0.03218294307589531,
-0.004707071464508772,
0.020340729504823685,
0.03607727959752083,
0.022346047684550285,
0.03393023833632469,
-0.0040368265472352505,
-0.005898666102439165,
0.06654486805200577,
0.008028039708733559,
-0.01254438329488039,
-0.07468981295824051,
-0.03877072036266327,
0.05065333470702171,
0.01881675235927105,
0.013065455481410027,
-0.029489170759916306,
0.06237505003809929,
0.025046849623322487,
0.021504800766706467,
0.005290145054459572,
-0.030116228386759758,
-0.020560121163725853,
0.0005045800935477018,
-0.017773112282156944,
-0.04237639158964157,
-0.056522347033023834,
-0.0066869608126580715,
0.03809310495853424,
0.05336281657218933,
-0.06661105155944824,
-0.04420357197523117,
-0.018812179565429688,
0.013899795711040497,
0.021475767716765404,
-0.02050021104514599,
-0.03106839768588543,
-0.024157200008630753,
-0.030643843114376068,
-0.005263910163193941,
0.015621495433151722,
-0.018295899033546448,
0.003984473645687103,
0.06444743275642395,
0.01574110984802246,
0.007619075942784548,
0.043330851942300797,
0.037427257746458054,
0.0655980035662651,
0.018377847969532013,
-0.03848741948604584,
0.0280342735350132,
-0.03305664658546448,
0.005457867402583361,
0.013443627394735813,
-0.028031546622514725,
-0.04947065934538841,
-0.0787254050374031,
-0.01362872775644064,
0.012435689568519592,
-0.03776409104466438,
-0.026119794696569443,
0.04893685504794121,
0.0020559201948344707,
-0.0033698061015456915,
-0.003575177164748311,
0.03477638587355614,
0.015798691660165787,
-0.005399847403168678,
0.06470755487680435,
-0.031140821054577827,
0.009410645812749863,
-0.0554618202149868,
-0.00859824288636446,
-0.03621824085712433,
0.006950590293854475,
0.0017807652475312352,
0.03924449905753136,
0.021410338580608368,
0.043490830808877945,
0.07191835343837738,
0.0036982661113142967,
-0.030802730470895767,
0.060772210359573364,
0.048896752297878265,
-0.021840181201696396,
-0.0332360565662384,
-0.0027094543911516666,
-0.0057118781842291355,
-0.047319889068603516,
0.002368768211454153,
-0.04107776656746864,
0.010076168924570084,
0.039605699479579926,
-0.007313477341085672,
0.007882893085479736,
0.011457995511591434,
-0.008844747208058834,
-0.04702545329928398,
-0.03690025582909584,
-0.0033516823314130306,
-0.01530709583312273,
-0.016589246690273285,
0.01361303124576807,
0.07107190787792206,
0.007815169170498848,
0.08664043247699738,
0.023502523079514503,
-0.04133322089910507,
-0.04786008223891258,
0.03799954056739807,
0.027406198903918266,
-0.05204688757658005,
-0.08042601495981216,
-0.050468456000089645,
0.018803901970386505,
0.04004126787185669,
-0.011792243458330631,
-0.05647626891732216,
-0.004282576031982899,
0.04014314338564873,
-0.029802998527884483,
0.0663260966539383,
-0.004620829597115517,
0.053696293383836746,
0.050778940320014954,
-0.01579926535487175,
0.017967211082577705,
-0.019087081775069237,
-0.008207566104829311,
-0.005658737383782864,
0.031761590391397476,
-0.032406996935606,
-0.033963724970817566,
-0.05652294680476189,
0.031697679311037064,
0.027135701850056648,
0.0311842393130064,
0.01416626013815403,
-0.04317234456539154,
-0.024756334722042084,
0.015268213115632534,
0.042809706181287766,
-0.04834768921136856,
0.008472065441310406,
0.043727777898311615,
0.04941428825259209,
-0.03680390864610672,
-0.04795578867197037,
-0.015963632613420486,
0.01775469072163105,
0.03858446329832077,
0.0019780483562499285,
-0.04389277473092079,
-0.0469069741666317,
0.014271989464759827,
0.008765173144638538,
-0.04288526996970177,
-0.09143770486116409,
-0.002957131713628769,
0.001675400766544044,
-0.012786682695150375,
0.0616135448217392,
0.03202930465340614,
0.020204614847898483,
0.05946584790945053,
-0.004138324409723282,
0.006798654794692993,
-0.043668754398822784,
0.020254183560609818,
-0.022878946736454964,
-0.018624868243932724,
-0.018841983750462532,
-0.05194965377449989,
-0.048641279339790344,
-0.04778163507580757,
-0.06313823163509369,
-0.049716655164957047,
0.0021805709693580866,
0.04302237927913666,
-0.02242445945739746,
0.0020572617650032043,
0.004516840912401676,
0.04144769161939621,
-0.03365018218755722,
-0.024426497519016266,
-0.0016525889514014125,
-0.02557786926627159,
-0.04992682486772537,
-0.019110016524791718,
-0.0018370910547673702,
0.004878068808466196,
0.010616621002554893,
0.03376550227403641,
0.021188028156757355,
0.0056924340315163136,
0.004634972661733627,
-0.05044315382838249,
-0.012921617366373539,
0.015383323654532433,
-0.04467185214161873,
-0.03700266405940056,
0.0004688061017077416,
0.03391924127936363,
0.06457100063562393,
-0.058368295431137085,
0.01596171408891678,
-0.009031190536916256,
-0.027968769893050194,
-0.030314987525343895,
0.01085700560361147,
0.022879887372255325,
-0.07030544430017471,
-0.07131797820329666,
-0.0015754622872918844,
-0.03566649556159973,
0.04774177819490433,
-0.056658320128917694,
-0.029729871079325676,
0.05513856187462807,
0.022601459175348282,
0.04966491088271141,
-0.007799004670232534,
-0.05655640363693237,
0.03465799614787102,
-0.02022118680179119,
0.011375286616384983,
-0.058583248406648636,
0.041220225393772125,
-0.03371741622686386,
0.022951854392886162,
-0.014049249701201916,
-0.0037222520913928747,
-0.07881369441747665,
0.021380728110671043,
0.004898745566606522,
-0.04733927547931671,
-0.0357012115418911,
0.010806389153003693,
-0.03837592527270317,
0.031866781413555145,
-0.010393804870545864,
0.008993270806968212,
-0.011532915756106377,
0.0549471341073513,
-0.03518979996442795,
0.02368517778813839,
-0.017262199893593788,
0.004825780633836985,
-0.062008343636989594,
-0.01567131094634533,
-0.008806335739791393,
-0.05155978724360466,
0.001841666642576456,
0.013913092203438282,
0.028560100123286247,
0.02344703860580921,
0.000025067578462767415,
-0.0118100019171834,
0.036848872900009155,
-0.05406946316361427,
-0.0011159810237586498,
-0.022605666890740395,
0.008723304606974125,
0.01038519386202097,
0.05827965587377548,
0.03640593960881233,
-0.06701742857694626,
-0.04625576362013817,
0.02855067513883114,
0.027522919699549675,
0.019721534103155136,
-0.009339035488665104,
0.03135707974433899,
0.037373606115579605,
0.04625861719250679,
-0.01243679691106081,
-0.020248478278517723,
-0.0256308875977993,
-0.023984042927622795,
-0.00032369742984883487,
0.0032482282258570194,
0.0023878493811935186,
0.017114175483584404,
-0.010539671406149864,
-0.03340703621506691,
0.06591575592756271,
0.00973783154040575,
0.01763874664902687,
0.003332715481519699,
-0.04708826541900635,
0.02369021624326706,
0.0479108951985836,
-0.04263267293572426,
0.008852673694491386,
0.03287467360496521,
-0.018823161721229553,
0.07734545320272446,
-0.008124916814267635,
0.007287842221558094,
0.0586853064596653,
0.039403561502695084,
-0.02309306338429451,
0.055799826979637146,
-0.029270661994814873,
-0.0020471580792218447,
0.03794511407613754,
-0.05144068971276283,
-0.01323899906128645,
-0.05345320701599121,
0.04188735410571098,
-0.0638708844780922,
0.08586312085390091,
0.053492188453674316,
0.0028306888416409492,
0.053281474858522415,
-0.044286344200372696,
-0.008370577357709408,
-0.0024128935765475035,
-0.04347690939903259,
0.07803722470998764,
0.011564274318516254,
-0.06474432349205017,
0.06746674329042435,
-0.0053878952749073505,
-0.05611607804894447,
0.018463369458913803,
0.03036854788661003,
0.036313075572252274,
0.010054138489067554,
0.05602873116731644,
-0.03455006331205368,
0.014091876335442066,
-0.05111164599657059,
0.041427116841077805,
-0.06883110851049423,
-0.02824578993022442,
0.04202547296881676,
-0.045611679553985596,
-0.005881474819034338,
0.022240344434976578,
-0.03537523373961449,
0.017856992781162262,
0.02491076849400997,
-0.031132183969020844,
-0.0686369389295578,
0.01633412390947342,
0.03837059438228607,
-0.009890921413898468,
-0.02654445730149746,
-0.05135234817862511,
0.018618619069457054,
0.016153398901224136,
-0.02479754574596882,
-0.028777943924069405,
0.0006316160433925688,
0.040603771805763245,
-0.0797625482082367,
-0.04743095487356186,
0.054031938314437866,
-0.006306088995188475,
-0.05387120321393013,
0.03356286138296127,
0.013863814994692802,
0.013493869453668594,
0.027025852352380753,
0.007132908329367638,
0.0283848587423563,
-0.07392651587724686,
-0.017633842304348946,
0.00996781513094902,
-0.0022398007567971945,
0.029975565150380135,
-0.014209125190973282,
-0.000663919432554394,
0.05869043990969658,
0.01822490058839321,
0.010116525925695896,
-0.048658065497875214,
-0.029902447015047073,
0.03611380606889725,
-0.041296426206827164,
0.025950223207473755,
-0.01819443330168724,
-0.04071003571152687,
-0.031214075163006783,
-0.012170238420367241,
-0.032844722270965576,
0.034644849598407745,
-0.02391081489622593,
0.03051558881998062,
0.00797669030725956,
-0.004003255628049374,
-0.05225471779704094,
-0.058031369000673294,
-0.03501862660050392,
-0.022187110036611557,
0.04763414338231087,
0.00840047374367714,
-0.01775018498301506,
0.004656741861253977,
-0.036156103014945984,
-0.05079290643334389,
0.018942169845104218,
0.031300097703933716,
-0.053386807441711426,
0.06733271479606628,
0.06110022962093353,
-0.02934189699590206,
-0.015538166277110577,
0.035179559141397476,
-0.040504004806280136,
0.04459339752793312,
0.004789328668266535,
0.02356887236237526,
-0.0037521596532315016,
0.04425846412777901,
-0.039300281554460526,
-0.01658684015274048,
-0.03422610089182854,
-0.05389350652694702,
-0.01081148348748684,
0.01980876363813877,
0.07820464670658112
] |
CalvinHuang/mt5-small-finetuned-amazon-en-es | [
"pytorch",
"tensorboard",
"mt5",
"text2text-generation",
"transformers",
"summarization",
"generated_from_trainer",
"license:apache-2.0",
"autotrain_compatible"
] | summarization | {
"architectures": [
"MT5ForConditionalGeneration"
],
"model_type": "mt5",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": 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 | deeqBERT5
---
- model: bert-base
- vocab: deeqnlp 1.5, 50k
- version: latest/3.5
| [
-0.01725730672478676,
0.007324367295950651,
0.0009287001448683441,
0.011485492810606956,
0.03125324100255966,
0.021845074370503426,
-0.022869182750582695,
-0.035159844905138016,
-0.030233141034841537,
0.012610317207872868,
0.020220894366502762,
-0.03590826690196991,
0.02892301417887211,
0.05918265879154205,
-0.035379745066165924,
-0.023651637136936188,
0.005907058250159025,
-0.013485769741237164,
-0.05285119265317917,
-0.004854269325733185,
-0.005681378301233053,
0.010964111424982548,
-0.005613496992737055,
0.023784682154655457,
0.03168827295303345,
0.026946300640702248,
-0.007413498591631651,
0.0657191202044487,
0.024585256353020668,
-0.05755199119448662,
0.006295467726886272,
-0.03868485614657402,
-0.045460183173418045,
-0.02391720935702324,
-0.01040436141192913,
-0.003232313087210059,
0.03051529824733734,
0.0020311560947448015,
0.04174824431538582,
0.019871901720762253,
-0.0067191654816269875,
0.019317220896482468,
-0.008036179468035698,
-0.03360167518258095,
0.021399086341261864,
-0.007535012438893318,
-0.060584671795368195,
-0.03373643755912781,
0.020247962325811386,
-0.03750402480363846,
-0.07845761626958847,
-0.07008928805589676,
-0.01661091484129429,
0.01081154216080904,
0.014469328336417675,
-0.032455187290906906,
-0.06973132491111755,
0.016097892075777054,
0.0752205178141594,
-0.039231643080711365,
-0.012546701356768608,
0.01953497715294361,
-0.06846829503774643,
-0.00904808659106493,
0.026635373011231422,
-0.02521556057035923,
0.014703819528222084,
-0.020854875445365906,
0.05020390450954437,
-0.003264529863372445,
0.05445976182818413,
-0.025489863008260727,
0.0062682610005140305,
-0.05388728529214859,
0.004541206639260054,
-0.019555162638425827,
0.04024664685130119,
0.07754834741353989,
-0.05384917929768562,
0.040711093693971634,
0.011773510836064816,
-0.0017559061525389552,
0.019381511956453323,
-0.019295619800686836,
-0.011111057363450527,
0.01829243078827858,
-0.022849557921290398,
0.017710959538817406,
-0.002781032118946314,
0.019887754693627357,
-0.039197973906993866,
-0.026549484580755234,
-0.03186681121587753,
-0.025475943461060524,
-0.008371792733669281,
0.02462061308324337,
0.02911650575697422,
-0.018170827999711037,
-0.009988623671233654,
0.03933408483862877,
0.03836846351623535,
0.06178181990981102,
-0.028156641870737076,
0.06255586445331573,
0.0018103630281984806,
-0.000906704633962363,
-0.0116245923563838,
-0.021543452516198158,
-0.0411674827337265,
0.029563376680016518,
0.037515878677368164,
-0.03305480256676674,
-0.01455736719071865,
0.054209161549806595,
-0.0020256778225302696,
-0.006113267969340086,
0.053164295852184296,
-0.01241292804479599,
-0.038981761783361435,
-0.016746122390031815,
0.03962266817688942,
0.009891591966152191,
0.031116588041186333,
-0.0070428503677248955,
-0.05787501111626625,
-0.018032444640994072,
-0.0406193882226944,
-0.031330738216638565,
-0.024481814354658127,
0.03924507275223732,
0.021178364753723145,
0.02680162899196148,
0.04137452691793442,
-0.06545813381671906,
0.021196026355028152,
0.005628943908959627,
-0.047115348279476166,
0.051507171243429184,
0.004681555088609457,
0.12812450528144836,
-0.04480592533946037,
-0.06747127324342728,
0.010407180525362492,
-0.005773857701569796,
-0.033043574541807175,
0.00961381383240223,
0.003724723355844617,
-0.016188010573387146,
-0.02875085175037384,
-0.004985230974853039,
0.0502626933157444,
-0.03666136413812637,
0.010507544502615929,
0.05813368037343025,
-0.025931812822818756,
0.027170179411768913,
-0.009093185886740685,
-0.0024943093303591013,
-0.02899138815701008,
-0.004938569851219654,
-0.05059399828314781,
0.05833655223250389,
-0.021786488592624664,
-0.044734567403793335,
-0.04224579781293869,
-0.04795391112565994,
0.020639963448047638,
0.07761760801076889,
0.014443243853747845,
-0.03587888553738594,
-0.054539527744054794,
0.021088244393467903,
0.05026036500930786,
0.043696969747543335,
-0.03130565583705902,
0.023008473217487335,
0.04601866379380226,
0.005086948163807392,
-0.013606001622974873,
0.030827712267637253,
0.017707323655486107,
-0.04449085518717766,
-0.02327885292470455,
0.025448011234402657,
0.019428888335824013,
-0.05420679226517677,
0.016425810754299164,
0.05736174061894417,
0.008355003781616688,
-0.053154733031988144,
-0.025754498317837715,
0.056333061307668686,
-0.04122025892138481,
0.006407349370419979,
0.021461255848407745,
-0.011479170992970467,
-0.017502063885331154,
0.03983278572559357,
-0.03040795773267746,
0.00883476436138153,
-0.04544959217309952,
-0.006227690726518631,
0.018660813570022583,
-0.021599551662802696,
0.04065066576004028,
0.047486912459135056,
-0.010593208484351635,
0.07255218923091888,
-0.056730736047029495,
0.004125067964196205,
-0.06727810949087143,
-0.011378411203622818,
-0.00789705477654934,
0.03889160230755806,
0.05368431657552719,
0.03392058610916138,
-0.03416603431105614,
-0.07063329964876175,
0.05779680237174034,
0.04999478533864021,
0.03946010023355484,
0.000518516986630857,
-0.019993862137198448,
-0.009468447417020798,
0.06284219026565552,
0.043159227818250656,
-0.06147323548793793,
0.0030717956833541393,
-0.002186526544392109,
0.04903493449091911,
-0.01714061200618744,
0.003754313802346587,
-0.017120175063610077,
0.018855711445212364,
-0.04246753826737404,
-0.05996253713965416,
0.044887617230415344,
0.020128218457102776,
0.0002383613318670541,
0.03910434991121292,
-0.032353706657886505,
0.02308667078614235,
0.02505982108414173,
0.05085229128599167,
-0.01524947676807642,
-0.038319382816553116,
0.022269632667303085,
-0.006735769100487232,
0.07025451213121414,
-0.04490642249584198,
0.036899153143167496,
0.005731601733714342,
0.04038478434085846,
0.04679640009999275,
-0.019541414454579353,
0.034273069351911545,
0.051361244171857834,
0.01426784135401249,
-0.033386070281267166,
0.03820633143186569,
0.017605360597372055,
0.02550634555518627,
0.055522408336400986,
-0.003812171285971999,
0.05965368077158928,
0.0027998224832117558,
0.033183977007865906,
0.05518084391951561,
0.035490017384290695,
0.03358633071184158,
0.03698307275772095,
0.05399378761649132,
0.00994474533945322,
-0.009358215145766735,
0.03980249911546707,
-0.049908895045518875,
0.0049180225469172,
-0.04611648619174957,
-0.004605951253324747,
-0.022363929077982903,
-0.03215105086565018,
0.036294788122177124,
0.007229447364807129,
-0.017632870003581047,
-0.012986904941499233,
0.013766475021839142,
0.020304368808865547,
0.031082184985280037,
-0.01140559371560812,
-0.001965190516784787,
0.018448051065206528,
-0.05194797366857529,
0.005779872182756662,
-0.0627717599272728,
-0.038450803607702255,
-0.025021806359291077,
-0.035353027284145355,
0.024819713085889816,
-0.09748446941375732,
-0.027715550735592842,
-0.07334524393081665,
-0.036519065499305725,
0.03818962723016739,
0.021102722734212875,
0.021668802946805954,
-0.00943630188703537,
0.01995144970715046,
-0.023768238723278046,
-0.02684875950217247,
-0.052136871963739395,
-0.043686095625162125,
-0.04506935551762581,
-0.06022967770695686,
0.0531143993139267,
0.04484879970550537,
0.03750764578580856,
0.03184306621551514,
0.03200617432594299,
-0.02318669855594635,
-0.03858303651213646,
0.026011483743786812,
0.045239005237817764,
-0.040211763232946396,
-0.06206940487027168,
-0.0028765087481588125,
0.014013570733368397,
-0.009638235904276371,
-0.005379611626267433,
-0.01119502354413271,
0.09300700575113297,
0.06314275413751602,
0.027747327461838722,
0.017985224723815918,
0.026854582130908966,
-0.041446950286626816,
-0.0351635105907917,
-0.028030626475811005,
-0.03156071528792381,
-0.010340731590986252,
-0.032245635986328125,
-0.024020500481128693,
-0.016150180250406265,
-0.05833671614527702,
0.0005442803958430886,
-0.004696729127317667,
-0.025694480165839195,
0.02117072604596615,
0.06573525071144104,
0.0056734830141067505,
0.047906309366226196,
-0.014819870702922344,
-0.005721960216760635,
0.05246386304497719,
-0.001544585800729692,
-0.021080628037452698,
-0.08433839678764343,
-0.015841802582144737,
0.04291702061891556,
0.014695849269628525,
0.019494133070111275,
-0.03046860732138157,
0.053414586931467056,
0.014300675131380558,
0.006329095922410488,
-0.000818265660200268,
-0.023510567843914032,
-0.025380510836839676,
-0.009588927961885929,
-0.014215516857802868,
-0.015869854018092155,
-0.05223901942372322,
-0.02411777712404728,
0.0347006618976593,
0.030330779030919075,
-0.04433909431099892,
-0.04235686734318733,
-0.03461199998855591,
0.026911599561572075,
0.04472964629530907,
-0.01576932705938816,
-0.03643813356757164,
-0.013218153268098831,
-0.03702593222260475,
-0.012411375530064106,
0.009470575489103794,
-0.021381840109825134,
0.007536242716014385,
0.036770761013031006,
0.022718319669365883,
-0.0028190903831273317,
0.03591956943273544,
0.055013351142406464,
0.06752336025238037,
0.022822098806500435,
-0.03960447758436203,
0.01586105301976204,
-0.04274791106581688,
-0.01071186549961567,
0.018874455243349075,
-0.033741679042577744,
-0.03566984459757805,
-0.08224588632583618,
-0.03556675463914871,
0.02386893704533577,
-0.025379693135619164,
-0.028106050565838814,
0.04351808503270149,
0.005202192813158035,
-0.03034270368516445,
-0.00632316991686821,
0.009345772676169872,
0.03154825046658516,
-0.0031554270535707474,
0.056316718459129333,
-0.025813139975070953,
0.01693873666226864,
-0.03325856477022171,
0.025349494069814682,
-0.04866767302155495,
-0.0048729670234024525,
-0.015678927302360535,
0.03135531395673752,
0.04290531948208809,
0.07491147518157959,
0.05537255480885506,
0.008746199309825897,
-0.060158561915159225,
0.05150923132896423,
0.0771327093243599,
-0.016814380884170532,
-0.019644135609269142,
-0.015031890943646431,
-0.017537811771035194,
-0.011057067662477493,
-0.00121828552801162,
-0.031837064772844315,
-0.0013563219690695405,
0.05832291767001152,
-0.024575283750891685,
0.006211863365024328,
0.005647003185003996,
0.006233137100934982,
-0.029861193150281906,
-0.030718578025698662,
-0.007122993469238281,
0.021344618871808052,
-0.01309162937104702,
0.03788087144494057,
0.048504624515771866,
0.009240246377885342,
0.08404330164194107,
0.011467905715107918,
-0.026589518412947655,
-0.03683613985776901,
0.00518569303676486,
0.03403767943382263,
-0.052021581679582596,
-0.09217587858438492,
-0.059093181043863297,
0.007096866611391306,
0.06298354268074036,
-0.001723137334920466,
-0.05885333567857742,
0.014006641693413258,
0.05325198546051979,
-0.048632338643074036,
0.06210338696837425,
-0.027003414928913116,
0.040173716843128204,
0.04177742078900337,
-0.005151083692908287,
0.025830991566181183,
-0.011286317370831966,
0.00682184798642993,
0.0015914341202005744,
0.023180905729532242,
-0.04612228274345398,
-0.05429701879620552,
-0.024188203737139702,
0.029309172183275223,
0.04059337079524994,
0.01261776965111494,
0.04173094034194946,
-0.025314705446362495,
-0.044014208018779755,
0.03242020681500435,
0.027607062831521034,
-0.03827938809990883,
0.02100091241300106,
0.05146384611725807,
0.05507533624768257,
-0.05294986069202423,
-0.03243609517812729,
-0.0020983852446079254,
0.005070077255368233,
0.042110592126846313,
0.0147464070469141,
-0.060067106038331985,
-0.04777214676141739,
0.02426045760512352,
-0.001537225442007184,
-0.04399668052792549,
-0.07305750995874405,
0.014969278126955032,
-0.012805209495127201,
-0.013215563260018826,
0.049078721553087234,
0.04755386710166931,
0.023561730980873108,
0.06762732565402985,
-0.016775207594037056,
-0.0031551122665405273,
-0.02570006251335144,
0.03758705407381058,
-0.0300422552973032,
-0.03677530959248543,
-0.008451709523797035,
-0.05120061710476875,
-0.03399646282196045,
-0.021259471774101257,
-0.05778327211737633,
-0.05177062377333641,
0.0038358888123184443,
0.03821418061852455,
-0.01866578683257103,
0.0025100114289671183,
-0.004785536322742701,
0.04332173988223076,
-0.020372459664940834,
-0.03374661132693291,
-0.023910462856292725,
-0.024256253615021706,
-0.06250007450580597,
-0.025050053372979164,
-0.013757253997027874,
0.014523355290293694,
0.020734794437885284,
0.033163540065288544,
0.035825926810503006,
0.003908071666955948,
-0.002157582202926278,
-0.058701977133750916,
-0.02833336777985096,
0.0050728837959468365,
-0.0347924567759037,
-0.028386898338794708,
0.00395006500184536,
0.03135289251804352,
0.05367360636591911,
-0.035628728568553925,
0.042548827826976776,
0.00970689207315445,
0.006204587407410145,
-0.04277320206165314,
0.028153028339147568,
0.02577301859855652,
-0.05767262354493141,
-0.04390488937497139,
-0.035673510283231735,
-0.013110674917697906,
0.048709310591220856,
-0.05266709625720978,
-0.04029213264584541,
0.04507555440068245,
0.015320934355258942,
0.04375261068344116,
-0.016345258802175522,
-0.036872901022434235,
0.05476553738117218,
-0.0070574660785496235,
0.02245236001908779,
-0.03576007857918739,
0.05355112627148628,
-0.020550943911075592,
0.033798906952142715,
-0.033792801201343536,
-0.020854823291301727,
-0.047497306019067764,
0.025285551324486732,
-0.021284999325871468,
-0.05435579642653465,
-0.03018748201429844,
0.0323006696999073,
-0.011618142016232014,
0.035973984748125076,
-0.013790666125714779,
0.015364698134362698,
-0.019742775708436966,
0.05658596009016037,
-0.03504214435815811,
0.016867373138666153,
-0.0399773009121418,
0.02107260935008526,
-0.05122319236397743,
-0.010574662126600742,
0.014046868309378624,
-0.057303134351968765,
0.011381259188055992,
0.02198677323758602,
0.031189437955617905,
0.028885353356599808,
0.002963057952001691,
-0.030122321099042892,
0.005503061693161726,
-0.0539427325129509,
-0.02536085806787014,
-0.003316138871014118,
0.03409796580672264,
-0.005283861421048641,
0.05527859926223755,
0.030173305422067642,
-0.062448710203170776,
-0.025589775294065475,
0.03648893162608147,
0.006305267568677664,
0.021699510514736176,
-0.00012755559873767197,
0.018053505569696426,
0.019592195749282837,
0.03976384922862053,
-0.014631707221269608,
0.005206689238548279,
-0.003618628950789571,
-0.009022288955748081,
-0.008463401347398758,
0.0036076935939490795,
0.027464134618639946,
0.023852374404668808,
-0.02957327477633953,
-0.04147667810320854,
0.07446600496768951,
0.02114267274737358,
0.013171291910111904,
-0.011363034136593342,
-0.0580691359937191,
0.03930981829762459,
0.05127784237265587,
-0.02197451889514923,
0.005491278599947691,
0.03931765258312225,
-0.03299800306558609,
0.05140814185142517,
-0.001984913134947419,
0.02038782835006714,
0.05391283333301544,
0.029269574210047722,
-0.02421627938747406,
0.08452893793582916,
-0.03865072503685951,
0.0024407668970525265,
0.037770826369524,
-0.032473042607307434,
-0.006874920334666967,
-0.0516822412610054,
0.03911611810326576,
-0.06437379866838455,
0.05650370195508003,
0.045388828963041306,
0.002324150176718831,
0.019491424784064293,
-0.048170264810323715,
-0.012116769328713417,
-0.00878184475004673,
-0.045228682458400726,
0.0697123259305954,
-0.013372525572776794,
-0.06824903190135956,
0.04342279210686684,
0.013218654319643974,
-0.04140010476112366,
0.03314216434955597,
0.02340504340827465,
0.05511613190174103,
0.027973050251603127,
0.0575685016810894,
-0.0636172890663147,
0.008911240845918655,
-0.03607532009482384,
0.03156675398349762,
-0.07051277160644531,
-0.03000146709382534,
0.044824205338954926,
-0.031921371817588806,
-0.01274085883051157,
0.05239545553922653,
-0.03585612028837204,
0.024511273950338364,
0.04341055825352669,
-0.05169042944908142,
-0.052804771810770035,
-0.02723739854991436,
0.017032772302627563,
-0.013560948893427849,
-0.030112374573946,
-0.053578395396471024,
0.010759028606116772,
0.01882803812623024,
-0.022522395476698875,
-0.032659608870744705,
0.006705098319798708,
0.007946318946778774,
-0.05622229725122452,
-0.039219584316015244,
0.018393106758594513,
0.0037956612650305033,
-0.04629021883010864,
0.051419638097286224,
-0.00731556536629796,
0.026650527492165565,
0.028551744297146797,
0.024401599541306496,
0.02836254984140396,
-0.039626941084861755,
-0.005793522112071514,
0.0026177912950515747,
-0.0015811925986781716,
0.003420290071517229,
-0.014618352986872196,
0.020549604669213295,
0.042552489787340164,
0.02311757206916809,
-0.004803752992302179,
-0.03689469397068024,
-0.007206253707408905,
0.04099401831626892,
-0.03815366327762604,
0.011804528534412384,
-0.03189803287386894,
-0.0382070429623127,
-0.04285041615366936,
0.00471216905862093,
-0.04511471465229988,
0.06582584977149963,
-0.05157236009836197,
0.03934234380722046,
0.03344785049557686,
0.00969693437218666,
-0.05366458743810654,
-0.06884606182575226,
-0.021354397758841515,
-0.0479472354054451,
0.0166472140699625,
0.03661486878991127,
-0.03240475803613663,
0.016352804377675056,
-0.036042336374521255,
-0.053958747535943985,
0.04273572564125061,
0.025178028270602226,
-0.06306014955043793,
0.07277049124240875,
0.05414648354053497,
-0.03394774720072746,
-0.010052235797047615,
0.049273159354925156,
-0.04007938876748085,
0.01403728686273098,
0.0068280971609056,
0.026318838819861412,
0.0014032562030479312,
0.036453817039728165,
-0.054494842886924744,
-0.0535692498087883,
-0.04293135181069374,
-0.043507691472768784,
-0.023402707651257515,
0.01959003508090973,
0.08487583696842194
] |
Cameron/BERT-SBIC-targetcategory | [
"pytorch",
"jax",
"bert",
"text-classification",
"transformers"
] | text-classification | {
"architectures": [
"BertForSequenceClassification"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 30 | null | ---
tags:
- generated_from_trainer
datasets:
- null
model_index:
- name: distilgpt2-finetuned-amazon-reviews
results:
- task:
name: Causal Language Modeling
type: text-generation
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# distilgpt2-finetuned-amazon-reviews
This model was trained from scratch on the None dataset.
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3.0
### Framework versions
- Transformers 4.8.2
- Pytorch 1.9.0+cu102
- Datasets 1.9.0
- Tokenizers 0.10.3
| [
-0.023369433358311653,
-0.00571815948933363,
-0.007466420531272888,
0.04663478210568428,
0.042768899351358414,
0.026258977130055428,
-0.011679763905704021,
-0.004077133256942034,
-0.04546108841896057,
0.052242133766412735,
0.053907930850982666,
0.0004892625147476792,
-0.0059898835606873035,
0.028651466593146324,
-0.04823855683207512,
-0.047840919345617294,
-0.022739719599485397,
-0.026987040415406227,
-0.02803138457238674,
-0.022760195657610893,
0.001213938114233315,
-0.005229624453932047,
-0.008817651309072971,
0.010669241659343243,
-0.014490418136119843,
0.02030356228351593,
-0.006197539623826742,
0.02594866417348385,
0.019303595647215843,
-0.08505920320749283,
0.015168445184826851,
-0.05464397743344307,
-0.04110990837216377,
0.0005380833172239363,
-0.019671954214572906,
-0.003893106011673808,
-0.005874693393707275,
0.029436111450195312,
0.021046699956059456,
0.037297606468200684,
0.004438510164618492,
0.035911645740270615,
-0.019920744001865387,
-0.022496875375509262,
0.05887753143906593,
0.022727249190211296,
-0.03526107221841812,
-0.0036898390389978886,
0.0414813794195652,
-0.034012388437986374,
-0.06067272275686264,
-0.05189932882785797,
-0.04208407923579216,
0.03606637939810753,
-0.019653435796499252,
-0.03121916577219963,
-0.07188502699136734,
0.0054952469654381275,
0.04706062003970146,
-0.05260114744305611,
-0.026109550148248672,
0.014749361202120781,
-0.07445863634347916,
-0.00619201036170125,
0.03780082240700722,
-0.047846440225839615,
-0.008050509728491306,
-0.040250230580568314,
0.02483210526406765,
-0.013376923277974129,
0.06778290122747421,
-0.023259280249476433,
0.015913410112261772,
-0.08967036753892899,
-0.017586570233106613,
-0.009794819168746471,
0.029966479167342186,
0.03955976665019989,
-0.019092315807938576,
0.023545248433947563,
0.023918991908431053,
0.002948982175439596,
0.04254450276494026,
-0.027081765234470367,
0.000603597960434854,
0.05683926120400429,
-0.04030822962522507,
0.00035402007051743567,
0.01073099672794342,
0.01869742013514042,
-0.0447266660630703,
-0.05798369273543358,
-0.015913376584649086,
-0.03816591575741768,
-0.009178425185382366,
0.034896522760391235,
0.013027295470237732,
-0.006610316690057516,
0.03902167081832886,
0.026284536346793175,
0.03380434215068817,
0.03785466402769089,
-0.02433585375547409,
0.0944393202662468,
-0.01127731241285801,
-0.009582330472767353,
-0.0038408287800848484,
-0.025428391993045807,
-0.03575443848967552,
0.052789658308029175,
0.012432435527443886,
-0.02445269376039505,
-0.06014645844697952,
0.026678649708628654,
-0.006704630330204964,
-0.002527344273403287,
0.06917587667703629,
-0.04534326121211052,
-0.04086802899837494,
-0.03767294064164162,
0.025807276368141174,
0.014003705233335495,
0.0015194298466667533,
0.007177684921771288,
-0.03633731231093407,
-0.011228743940591812,
-0.05289559066295624,
-0.042756449431180954,
-0.010263838805258274,
0.009718705900013447,
-0.021763252094388008,
0.04111100733280182,
0.02066660299897194,
-0.05727698653936386,
0.009650279767811298,
0.017279956489801407,
-0.060029130429029465,
0.04321373999118805,
0.04500991478562355,
0.09816790372133255,
-0.06743562966585159,
-0.06159345060586929,
0.021137015894055367,
0.01213025115430355,
-0.013325984589755535,
0.010627337731420994,
0.002556008053943515,
-0.06190245971083641,
-0.020427517592906952,
0.006059962324798107,
0.03603263944387436,
-0.05016469210386276,
-0.03113510273396969,
0.04310654103755951,
0.01979723945260048,
0.0508943572640419,
-0.0421149916946888,
-0.014605377800762653,
0.013358640484511852,
-0.010269038379192352,
-0.050391968339681625,
0.04886686056852341,
0.013566695153713226,
0.006203001830726862,
-0.050253938883543015,
-0.04667549580335617,
0.005033459980040789,
0.07318869233131409,
-0.009173129685223103,
-0.0176951102912426,
-0.012559762224555016,
0.018397465348243713,
0.05552646890282631,
0.04611840099096298,
-0.02665901742875576,
0.03597069904208183,
0.052030231803655624,
0.033116914331912994,
-0.008299964480102062,
0.07224653661251068,
0.0049736592918634415,
-0.024918319657444954,
-0.03263361379504204,
-0.0008726594969630241,
0.01201554574072361,
-0.05330994725227356,
0.012195121496915817,
0.008581303060054779,
-0.014931484125554562,
-0.035381659865379333,
-0.028396256268024445,
0.046964552253484726,
-0.0010434378637000918,
0.005046749021857977,
-0.011549877934157848,
-0.004859913140535355,
-0.023111287504434586,
0.06095527485013008,
-0.014883803203701973,
0.023026591166853905,
-0.012934627942740917,
-0.01777787134051323,
0.014068486168980598,
0.009421872906386852,
0.018563728779554367,
0.054111018776893616,
-0.006736847572028637,
0.08740469068288803,
-0.03209846839308739,
0.018697543069720268,
-0.0368226058781147,
-0.05044866353273392,
0.004983482416719198,
0.05539321154356003,
0.04064670950174332,
0.04987844452261925,
-0.008642001077532768,
-0.049516960978507996,
0.024035334587097168,
0.06679536402225494,
0.058783210813999176,
0.03771332651376724,
-0.006858483422547579,
-0.022195111960172653,
0.040352605283260345,
0.05034707114100456,
-0.06272412836551666,
-0.02853238955140114,
0.0011188560165464878,
0.028107212856411934,
-0.018635982647538185,
-0.0069286273792386055,
-0.009679005481302738,
0.06053458899259567,
-0.05392656475305557,
-0.06343478709459305,
0.04979340359568596,
0.024143600836396217,
0.006094055250287056,
0.03458869829773903,
0.02146751619875431,
0.03158140555024147,
0.02229822799563408,
0.020784366875886917,
-0.011542833410203457,
-0.04267551004886627,
0.017684392631053925,
0.016967540606856346,
0.053727082908153534,
-0.06328241527080536,
0.02446034736931324,
-0.02385820262134075,
0.00019215914653614163,
0.06140872463583946,
-0.04142279550433159,
0.030413543805480003,
0.0348382331430912,
0.0505758672952652,
-0.0406210757791996,
0.03777093067765236,
0.005721264984458685,
0.05832158774137497,
0.05242016538977623,
0.010983182117342949,
0.05659889429807663,
-0.002195397624745965,
0.04598694294691086,
0.07144740223884583,
0.03175368532538414,
0.017583508044481277,
0.020132683217525482,
0.05039290338754654,
0.004200213123112917,
0.003414105623960495,
0.054665252566337585,
-0.08677121996879578,
0.01562665030360222,
-0.05482885241508484,
0.003375886706635356,
-0.026641346514225006,
0.0022364023607224226,
0.059805259108543396,
0.048911433666944504,
-0.011388524435460567,
-0.0009254181059077382,
-0.02160215750336647,
-0.016532132402062416,
0.0075841788202524185,
0.011923759244382381,
-0.013503877446055412,
-0.003892113920301199,
-0.019485291093587875,
-0.012759298086166382,
-0.04620097950100899,
-0.058882907032966614,
-0.026241222396492958,
-0.028614066541194916,
-0.020203743129968643,
-0.08348128944635391,
-0.038059916347265244,
-0.050249405205249786,
-0.019400915130972862,
0.04289598762989044,
0.02848122827708721,
0.0160219669342041,
-0.047472212463617325,
0.026911409571766853,
-0.04618977755308151,
-0.043568551540374756,
-0.0464230477809906,
-0.03310809284448624,
-0.04665251821279526,
-0.05303496867418289,
0.054937925189733505,
0.014960753731429577,
0.013144307769834995,
0.023662559688091278,
0.01875724457204342,
-0.010483907535672188,
-0.019957588985562325,
0.04699268564581871,
0.049961239099502563,
-0.05655312538146973,
-0.03184470161795616,
0.038042858242988586,
-0.006608476396650076,
0.02629758231341839,
0.01623162068426609,
-0.035175871104002,
0.09082021564245224,
0.06512342393398285,
0.021325407549738884,
0.015879852697253227,
-0.012722686864435673,
-0.05544644221663475,
-0.05599904805421829,
-0.015314223244786263,
-0.034896157681941986,
-0.01455038134008646,
-0.024421704933047295,
-0.036018747836351395,
-0.014581091701984406,
-0.0513058565557003,
0.008385519497096539,
-0.011372427456080914,
0.029019774869084358,
0.03314628452062607,
0.028562605381011963,
0.021773679181933403,
-0.003660179441794753,
-0.025432970374822617,
-0.04511996731162071,
0.05632857233285904,
-0.011818471364676952,
0.0041703167371451855,
-0.0805116668343544,
-0.026764651760458946,
0.048723943531513214,
0.013098632916808128,
-0.009153204970061779,
-0.0008548044133931398,
0.07413054257631302,
-0.004304380156099796,
0.0038425056263804436,
0.01831648498773575,
-0.04306166246533394,
0.002449182327836752,
0.02038986049592495,
-0.012816989794373512,
-0.023256229236721992,
-0.018975038081407547,
-0.04884253814816475,
-0.01268608309328556,
0.05968357250094414,
-0.04878281056880951,
-0.04979029297828674,
0.0026393206790089607,
0.03986510634422302,
0.05660521611571312,
0.006332261022180319,
-0.04646644741296768,
-0.01061911229044199,
-0.07526398450136185,
-0.0011522065615281463,
0.037434570491313934,
0.020379504188895226,
0.01072775386273861,
0.047265470027923584,
0.015603143721818924,
-0.024339577183127403,
0.0318167582154274,
0.042246196419000626,
0.06278586387634277,
0.0010540090734139085,
-0.05815737321972847,
0.008506176061928272,
-0.028063012287020683,
0.028570057824254036,
0.0029029222205281258,
-0.012454397045075893,
-0.04691394418478012,
-0.09274118393659592,
-0.0321669802069664,
-0.002534903585910797,
-0.0034368904307484627,
-0.01675066165626049,
0.025920888409018517,
-0.007231009658426046,
-0.019505010917782784,
-0.005726612638682127,
0.02534930594265461,
0.050968509167432785,
-0.05119503661990166,
0.06201972812414169,
-0.012808679603040218,
0.03628026694059372,
-0.04783355072140694,
0.006999637931585312,
-0.04710012674331665,
-0.027082225307822227,
-0.011526563204824924,
0.051716528832912445,
-0.01768728904426098,
0.047181110829114914,
0.08851101994514465,
0.05381890386343002,
-0.04029072821140289,
0.03712620213627815,
0.06461445987224579,
-0.03143662214279175,
-0.05489344522356987,
0.005063524469733238,
-0.020923541858792305,
-0.014958473853766918,
-0.004187923390418291,
-0.01949046365916729,
0.04524747282266617,
0.045408137142658234,
-0.004100611433386803,
0.0023180125281214714,
-0.00008103356231004,
-0.011534622870385647,
-0.04493248462677002,
-0.06909038871526718,
-0.02480231039226055,
-0.0009005580795928836,
-0.0335482582449913,
0.019810914993286133,
0.017354732379317284,
0.02600502036511898,
0.06963562965393066,
0.034242141991853714,
-0.025748802348971367,
-0.035619884729385376,
-0.002300753490999341,
0.02544306218624115,
-0.022912748157978058,
-0.052242353558540344,
-0.031499240547418594,
0.025960033759474754,
0.05726710334420204,
-0.033210236579179764,
-0.09474850445985794,
0.012742115184664726,
0.04042305424809456,
-0.02117209881544113,
0.0778626874089241,
-0.00027629215037450194,
0.03006669320166111,
0.0620710514485836,
-0.00428675627335906,
0.02227117493748665,
-0.030262652784585953,
-0.0008754871087148786,
0.011581448838114738,
0.028428159654140472,
-0.025302957743406296,
-0.03486691787838936,
-0.052453022450208664,
0.012574312277138233,
0.0376996286213398,
0.04368643835186958,
0.05183730274438858,
-0.033773865550756454,
-0.06600877642631531,
0.005077025853097439,
0.013495359569787979,
-0.030795663595199585,
-0.00823252648115158,
0.024532508105039597,
0.032468393445014954,
-0.04771273583173752,
-0.024027742445468903,
-0.02748166397213936,
-0.029672877863049507,
0.026699896901845932,
-0.002598055638372898,
-0.0360361747443676,
-0.0422336719930172,
0.03099571168422699,
-0.005657076369971037,
-0.01533812377601862,
-0.06864958256483078,
0.04209520295262337,
-0.009958494454622269,
-0.011924046091735363,
0.06656951457262039,
0.029850801452994347,
0.034847576171159744,
0.053549736738204956,
0.03967861831188202,
0.05572635307908058,
-0.03743262216448784,
0.04385174438357353,
-0.043648213148117065,
-0.023437775671482086,
0.01535481121391058,
-0.05733475089073181,
-0.046925678849220276,
-0.037676550447940826,
-0.04585915058851242,
-0.03905821964144707,
-0.01908261328935623,
0.0074812276288867,
-0.011271419003605843,
-0.00844962615519762,
-0.007612232584506273,
0.022790830582380295,
-0.02181866019964218,
-0.017435692250728607,
-0.04900242015719414,
-0.02686218172311783,
-0.071616992354393,
-0.042044498026371,
-0.00011159143468830734,
0.0038101712707430124,
0.03451903164386749,
0.006643722765147686,
0.007210016716271639,
0.023189153522253036,
0.011682718992233276,
-0.023062456399202347,
0.036968428641557693,
0.018664410337805748,
-0.007476076949387789,
-0.029112014919519424,
0.020391492173075676,
0.025186393409967422,
-0.006012059282511473,
-0.02297036349773407,
0.0331137515604496,
0.016553567722439766,
-0.008080671541392803,
-0.011061442084610462,
0.020471999421715736,
0.03857830539345741,
-0.06324683874845505,
-0.022493993863463402,
0.0020878994837403297,
-0.045713119208812714,
0.008561225607991219,
-0.027089346200227737,
-0.04491780325770378,
-0.009275444783270359,
-0.0073634907603263855,
0.03598090633749962,
-0.031812187284231186,
-0.027871854603290558,
0.01190971489995718,
-0.02325817383825779,
0.04276246204972267,
-0.056218985468149185,
0.05831439793109894,
-0.046869318932294846,
0.013321967795491219,
-0.0013846996007487178,
0.013587611727416515,
-0.034660592675209045,
0.05078212916851044,
0.013201185502111912,
0.0062057930044829845,
-0.009135833010077477,
0.026310333982110023,
-0.034421976655721664,
0.03495190665125847,
-0.020532436668872833,
0.017478637397289276,
-0.006491894833743572,
0.053885944187641144,
-0.04996218532323837,
0.020136505365371704,
-0.047476351261138916,
0.026250379160046577,
-0.023644419386982918,
-0.005770555697381496,
-0.012628380209207535,
-0.022469984367489815,
0.03409910202026367,
0.042719077318906784,
0.03429698944091797,
0.04170379042625427,
0.004014796577394009,
-0.0017310013063251972,
0.009583589620888233,
-0.04455044865608215,
-0.02261117845773697,
-0.019838351756334305,
0.014794484712183475,
-0.013040853664278984,
0.04639047384262085,
0.0472603440284729,
-0.04165784269571304,
-0.07921784371137619,
0.04833946004509926,
0.007739773485809565,
0.01567784883081913,
0.0031927847303450108,
0.03890398144721985,
0.0079372962936759,
0.03605896979570389,
-0.03057599999010563,
0.01952899619936943,
0.012875099666416645,
-0.023739611729979515,
0.03144454583525658,
-0.011328725144267082,
0.019951295107603073,
0.004368940833956003,
-0.05144653469324112,
-0.006458836607635021,
0.03373314067721367,
0.033979322761297226,
0.013164591044187546,
0.018256036564707756,
-0.06041174754500389,
0.02276916429400444,
-0.016890695318579674,
-0.060606762766838074,
0.004200547467917204,
0.017027148976922035,
-0.04124080389738083,
0.06083763390779495,
-0.011350740678608418,
0.013520876877009869,
0.03145400807261467,
0.028253016993403435,
-0.016830628737807274,
0.04111046716570854,
-0.04255528375506401,
0.011023731902241707,
0.04313281923532486,
-0.05558363348245621,
-0.008588778786361217,
-0.037307318300008774,
0.05896097049117088,
-0.03806529939174652,
0.011641775257885456,
0.05441799387335777,
0.02682502195239067,
0.015259679406881332,
-0.05175822600722313,
-0.05787890776991844,
-0.009578411467373371,
-0.0447344072163105,
0.05893220379948616,
0.017861153930425644,
-0.05098037049174309,
0.06689907610416412,
0.003345568897202611,
-0.08826474845409393,
0.05342978239059448,
0.03254043310880661,
0.06193777918815613,
0.03283011540770531,
0.050043296068906784,
-0.036389727145433426,
0.0028343312442302704,
-0.020585808902978897,
0.013203216716647148,
-0.05785589665174484,
0.0011547626927495003,
0.015622582286596298,
-0.04426630586385727,
-0.02012082375586033,
0.03778980299830437,
-0.04584198445081711,
-0.007150459568947554,
0.03399785980582237,
-0.04448035731911659,
-0.040381718426942825,
0.010490769520401955,
0.011901830323040485,
-0.030085992068052292,
-0.0034702240955084562,
-0.026016345247626305,
0.026779282838106155,
0.0273074209690094,
-0.009863714687526226,
-0.01565934717655182,
0.011009503155946732,
0.03462139517068863,
-0.05004805326461792,
-0.04535640776157379,
0.02091260440647602,
0.009990792721509933,
-0.017472010105848312,
0.039718545973300934,
0.028211049735546112,
0.014772995375096798,
0.017151257023215294,
-0.035517435520887375,
0.03584533929824829,
-0.0562613308429718,
0.008253522217273712,
-0.006732472684234381,
-0.00695313373580575,
0.04684542119503021,
-0.020030736923217773,
0.04104234278202057,
0.05263260006904602,
0.02594594471156597,
-0.021332206204533577,
-0.033062536269426346,
-0.019236167892813683,
0.00021411527995951474,
-0.02011730894446373,
0.0161236971616745,
0.004642488434910774,
-0.058201052248477936,
-0.049369268119335175,
-0.004371140152215958,
-0.015960877761244774,
0.023884674534201622,
-0.08122573047876358,
0.0027069165371358395,
0.017190147191286087,
-0.004202145151793957,
-0.0457351915538311,
-0.06596101075410843,
-0.024663733318448067,
-0.041459064930677414,
0.004235892556607723,
0.022639669477939606,
-0.05320165306329727,
0.03251257911324501,
-0.0494864396750927,
-0.030794739723205566,
0.029051218181848526,
0.01721508987247944,
-0.032263193279504776,
0.07087091356515884,
0.04979720711708069,
-0.05786443129181862,
0.029910746961832047,
0.04466177150607109,
-0.03608885407447815,
-0.0012246991973370314,
0.02486562915146351,
0.009506940841674805,
0.020439179614186287,
-0.005391174461692572,
-0.01840614527463913,
-0.020404890179634094,
-0.08537503331899643,
-0.058305539190769196,
-0.04569877311587334,
-0.008165083825588226,
0.044678542762994766
] |
Cameron/BERT-jigsaw-identityhate | [
"pytorch",
"jax",
"bert",
"text-classification",
"transformers"
] | text-classification | {
"architectures": [
"BertForSequenceClassification"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 37 | null | ---
license: mit
widget:
- text: "generate question: Der Monk Sour Drink ist ein somit eine aromatische Γberraschung, die sowohl <hl>im Sommer wie auch zu Silvester<hl> funktioniert."
language:
- de
tags:
- question generation
datasets:
- deepset/germanquad
model-index:
- name: german-qg-t5-drink600
results: []
---
# german-qg-t5-drink600
This model is fine-tuned in question generation in German. The expected answer must be highlighted with <hl> token. It is based on [german-qg-t5-quad](https://huggingface.co/dehio/german-qg-t5-quad) and further pre-trained on drink related questions.
## Task example
#### Input
generate question: Der Monk Sour Drink ist ein somit eine aromatische Γberraschung,
die sowohl <hl>im Sommer wie auch zu Silvester<hl> funktioniert.
#### Expected Question
Zu welchen Gelegenheiten passt der Monk Sour gut?
## Model description
The model is based on [german-qg-t5-quad](https://huggingface.co/dehio/german-qg-t5-quad), which was pre-trained on [GermanQUAD](https://www.deepset.ai/germanquad). We further pre-trained it on questions annotated on drink receipts from [Mixology](https://mixology.eu/) ("drink600").
We have not yet open sourced the dataset, since we do not own copyright on the source material.
## Training and evaluation data
The training script can be accessed [here](https://github.com/d-e-h-i-o/german-qg).
## Evaluation
It achieves a **BLEU-4 score of 29.80** on the drink600 test set (n=120) and **11.30** on the GermanQUAD test set.
Thus, fine-tuning on drink600 did not affect performance on GermanQuAD.
In comparison, *german-qg-t5-quad* achieves a BLEU-4 score of **10.76** on the drink600 test set.
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0001
- train_batch_size: 2
- eval_batch_size: 2
- seed: 100
- gradient_accumulation_steps: 8
- total_train_batch_size: 16
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
### Framework versions
- Transformers 4.13.0.dev0
- Pytorch 1.10.0+cu102
- Datasets 1.16.1
- Tokenizers 0.10.3
| [
0.01879800483584404,
-0.008182210847735405,
-0.006942364387214184,
0.08114397525787354,
0.019350169226527214,
-0.0003038933500647545,
-0.009527835994958878,
0.0006815956439822912,
-0.02648215927183628,
0.021527856588363647,
0.029474223032593727,
0.012653318233788013,
-0.003212883835658431,
0.044836390763521194,
-0.0392540842294693,
-0.05106668174266815,
-0.01738736592233181,
-0.010065382346510887,
-0.044095274060964584,
-0.02455398626625538,
-0.03601129725575447,
0.015849128365516663,
-0.0026698706205934286,
-0.001227332977578044,
-0.019369598478078842,
0.012891186401247978,
-0.0103654395788908,
0.043814681470394135,
-0.00017301199841313064,
-0.06672616302967072,
0.000688118685502559,
-0.04465268924832344,
-0.02614898793399334,
-0.02534501627087593,
-0.015499591827392578,
-0.037418391555547714,
0.036711081862449646,
0.02842586860060692,
0.004445143509656191,
0.04782094433903694,
-0.00768458005040884,
-0.01572692021727562,
-0.005027579143643379,
-0.01965862140059471,
0.046204108744859695,
-0.005215084180235863,
-0.04052862524986267,
-0.030616426840424538,
0.041620008647441864,
-0.02622290700674057,
-0.0749603658914566,
-0.07258453965187073,
-0.03364533558487892,
0.01444522850215435,
0.006568345706909895,
-0.027180641889572144,
-0.06799900531768799,
0.018299270421266556,
0.055908963084220886,
-0.0655708909034729,
-0.04419020935893059,
-0.00422387570142746,
-0.06295423954725266,
0.0019968687556684017,
0.041429683566093445,
-0.04621516168117523,
-0.011319637298583984,
-0.044556617736816406,
-0.0060989586636424065,
-0.03267470747232437,
0.06143934652209282,
-0.03180147334933281,
0.03234688565135002,
-0.042128048837184906,
-0.011289919726550579,
0.013769988901913166,
0.04015001282095909,
0.04859745502471924,
-0.038926366716623306,
0.03705986589193344,
0.03971896320581436,
0.009554153308272362,
0.018449699506163597,
-0.026526764035224915,
-0.008040607906877995,
0.01493824552744627,
-0.0347091369330883,
-0.023348750546574593,
0.004616256337612867,
0.0065575107000768185,
-0.012393423356115818,
-0.0586041696369648,
-0.008100560866296291,
-0.01789458841085434,
0.02100522629916668,
0.02263837307691574,
0.02498062700033188,
0.00022774891112931073,
0.019590692594647408,
0.010827327147126198,
0.02243899554014206,
0.05125020816922188,
-0.01604548841714859,
0.053868066519498825,
-0.03366472199559212,
-0.013769188895821571,
0.00974979531019926,
-0.019206520169973373,
-0.058528292924165726,
0.009459410794079304,
0.008589099161326885,
-0.054498929530382156,
-0.01608464866876602,
0.011007176712155342,
0.011783155612647533,
0.007215444464236498,
0.051207154989242554,
-0.03861678019165993,
-0.02198236994445324,
-0.04836101457476616,
0.048230256885290146,
0.009489936754107475,
-0.0025115846656262875,
0.04788275435566902,
-0.05329996347427368,
0.004864593967795372,
-0.04733869433403015,
-0.03447062522172928,
0.003141173394396901,
0.012868295423686504,
-0.018108395859599113,
0.06241227313876152,
0.011710980907082558,
-0.05052705481648445,
0.034428708255290985,
-0.008048678748309612,
-0.03587104380130768,
0.025394627824425697,
0.011530891992151737,
0.1020437702536583,
-0.05865192785859108,
-0.07276571542024612,
0.01260525081306696,
0.025532791391015053,
-0.024583332240581512,
0.003144256304949522,
-0.022336190566420555,
-0.021960163488984108,
-0.019756143912672997,
0.01617061346769333,
0.08804246783256531,
-0.04102735593914986,
-0.003693004371598363,
0.0017071071779355407,
0.0015858199913054705,
0.03520936518907547,
-0.03935549035668373,
-0.004794266540557146,
-0.025557100772857666,
-0.009768436662852764,
-0.024047741666436195,
0.01667918637394905,
-0.014760232530534267,
-0.020589182153344154,
-0.04687465727329254,
-0.04111165180802345,
0.015021768398582935,
0.09900182485580444,
-0.012226023711264133,
-0.026850653812289238,
-0.056144293397665024,
0.00912037305533886,
0.02881351113319397,
0.024581944569945335,
-0.04096158221364021,
0.03851746395230293,
0.04057515040040016,
0.03702547401189804,
-0.034693650901317596,
0.046330880373716354,
-0.003664730815216899,
-0.044245943427085876,
-0.031143706291913986,
0.025009220466017723,
-0.006448663305491209,
-0.05656765401363373,
0.034967757761478424,
0.023550067096948624,
-0.026805752888321877,
-0.052853602916002274,
-0.04075540602207184,
0.04709790647029877,
-0.03349025174975395,
-0.0026305036153644323,
0.014299219474196434,
0.003904969897121191,
-0.029507607221603394,
0.03774632140994072,
-0.022227216511964798,
0.0017610430950298905,
-0.04325505718588829,
-0.025238577276468277,
0.03909434378147125,
-0.005441009066998959,
0.0025029906537383795,
0.06629686802625656,
-0.01577041484415531,
0.10354863852262497,
-0.03762916103005409,
-0.006621581502258778,
-0.05841835215687752,
-0.029623406007885933,
0.015365527011454105,
0.05466659367084503,
0.05280569568276405,
0.041038934141397476,
-0.00824402179569006,
-0.014837799593806267,
0.03340284153819084,
0.08035463094711304,
0.06506048142910004,
0.021322863176465034,
-0.008817259222269058,
-0.0003855750837828964,
0.036432504653930664,
0.06982430815696716,
-0.05471186339855194,
-0.006193079054355621,
-0.0012930131051689386,
0.04443255439400673,
-0.002110515721142292,
-0.003851434448733926,
0.007056336384266615,
-0.0022943562362343073,
-0.04509734362363815,
-0.07211373001337051,
0.059149179607629776,
0.005781865678727627,
0.020548565313220024,
0.045131027698516846,
0.019376078620553017,
0.005028964951634407,
0.0020259597804397345,
0.01971665397286415,
0.013170984573662281,
-0.04928097501397133,
0.006571841426193714,
0.0072488379664719105,
0.0687401071190834,
-0.07831975072622299,
0.02575855515897274,
-0.0022535244934260845,
0.009661502204835415,
0.04693441092967987,
-0.06412609666585922,
0.03267838433384895,
0.06365545094013214,
0.02275414951145649,
-0.025439640507102013,
0.028165102005004883,
0.020034801214933395,
0.03751298785209656,
0.0640030950307846,
-0.012657998129725456,
0.03926127776503563,
0.03930128365755081,
0.022540360689163208,
0.06816879659891129,
0.017818108201026917,
0.01301446184515953,
0.0031581963412463665,
0.07771722227334976,
0.01437896117568016,
0.024070201441645622,
0.03283914551138878,
-0.08647078275680542,
0.009359326213598251,
-0.037161774933338165,
0.0011005934793502092,
-0.0011013547191396356,
-0.0022034153807908297,
0.057050932198762894,
0.05104997381567955,
-0.023516464978456497,
0.006808842997997999,
0.021793199703097343,
-0.0020508149173110723,
0.03733352571725845,
-0.03210316598415375,
0.007825297303497791,
-0.024860404431819916,
-0.015110399574041367,
0.009723426774144173,
-0.0753006711602211,
-0.04941408708691597,
-0.008829949423670769,
-0.007385995239019394,
-0.005538576748222113,
-0.05857759341597557,
-0.002944151172414422,
-0.09174036234617233,
-0.027818726375699043,
0.056110233068466187,
0.023734843358397484,
0.011266187764704227,
-0.04406282678246498,
0.024366341531276703,
-0.049419667571783066,
-0.05749284103512764,
-0.03632530942559242,
-0.051332343369722366,
-0.03753766790032387,
-0.05311712622642517,
0.07576333731412888,
0.0361938402056694,
0.02744961343705654,
0.0013187812874093652,
0.019770000129938126,
-0.01055313553661108,
0.00047007304965518415,
0.04233783110976219,
0.0395919531583786,
-0.038967154920101166,
-0.049484167248010635,
0.030926406383514404,
0.000838662963360548,
0.027988167479634285,
-0.011479525826871395,
-0.023022571578621864,
0.1055024266242981,
0.05057024955749512,
0.008133149705827236,
-0.007657909300178289,
0.009974608197808266,
-0.03959540277719498,
-0.032853905111551285,
-0.022522982209920883,
-0.003697100095450878,
-0.01523716188967228,
-0.025298671796917915,
-0.020878462120890617,
0.00041696015978232026,
-0.041793838143348694,
0.00021459149138536304,
0.00667013693600893,
-0.014604095369577408,
0.02684176340699196,
0.026395216584205627,
0.021027347072958946,
0.014434641227126122,
-0.011755059473216534,
-0.00649431673809886,
0.051790397614240646,
-0.010973556898534298,
0.01931418478488922,
-0.06430603563785553,
-0.042385585606098175,
0.049040526151657104,
0.0005546797183342278,
-0.01813589595258236,
-0.014686890877783298,
0.07114969938993454,
0.0037094117142260075,
-0.006523749325424433,
0.016867658123373985,
-0.03404250368475914,
-0.017563389614224434,
0.027719983831048012,
0.012600483372807503,
-0.02799622155725956,
-0.03595740720629692,
-0.05532872676849365,
-0.012741043232381344,
0.01595759578049183,
-0.05800026282668114,
-0.0631328597664833,
-0.009336508810520172,
-0.010976369492709637,
0.028234297409653664,
-0.01855563186109066,
-0.029042895883321762,
0.004617319442331791,
-0.04271190986037254,
-0.029266295954585075,
0.020979873836040497,
0.027039773762226105,
-0.010471622459590435,
0.024849755689501762,
0.015794245526194572,
-0.016250669956207275,
0.038039423525333405,
0.024744730442762375,
0.04072282463312149,
0.026269813999533653,
-0.05340174585580826,
0.017015663906931877,
-0.028999067842960358,
0.028060883283615112,
-0.012645172886550426,
0.0018952770624309778,
-0.028082899749279022,
-0.07225603610277176,
-0.021680470556020737,
0.023069629445672035,
-0.005903621204197407,
0.0015476751141250134,
0.029967978596687317,
0.010258902795612812,
0.007290524896234274,
-0.04076429083943367,
0.03450857475399971,
0.03438017889857292,
-0.05805394798517227,
0.057100601494312286,
0.007951625622808933,
0.014263969846069813,
-0.03440898284316063,
0.0569520965218544,
-0.03879156708717346,
-0.011108310893177986,
0.012069273740053177,
0.05424406751990318,
-0.02413228154182434,
0.07742808759212494,
0.05546267703175545,
0.01966957189142704,
-0.054533641785383224,
0.04164864867925644,
0.052353933453559875,
-0.03452970087528229,
-0.04984479397535324,
-0.008284168317914009,
0.007045716047286987,
0.0013348255306482315,
-0.009959807619452477,
-0.036904238164424896,
0.005871539935469627,
0.0560503751039505,
-0.0002627902722451836,
-0.0226313304156065,
-0.00022922844800632447,
-0.010345766320824623,
-0.03432178124785423,
-0.04667652025818825,
-0.01941097341477871,
-0.014749747700989246,
-0.0071058617904782295,
0.04090076684951782,
0.03914066404104233,
0.0432494655251503,
0.06532233208417892,
0.02191871777176857,
0.009678609669208527,
-0.03595808148384094,
0.012801270000636578,
0.026828531175851822,
-0.05740778520703316,
-0.07377690076828003,
-0.04814483970403671,
0.04558604583144188,
0.04079630598425865,
0.009520672261714935,
-0.06374331563711166,
0.025968145579099655,
0.04027826711535454,
-0.0522133894264698,
0.06224895268678665,
-0.004336471203714609,
0.009433395229279995,
0.05391950532793999,
-0.015910379588603973,
0.033095020800828934,
-0.028784560039639473,
0.05871359258890152,
0.002268144628033042,
0.07617884129285812,
-0.03662286698818207,
-0.013461582362651825,
-0.039898309856653214,
0.041412871330976486,
0.008292327634990215,
0.015082288533449173,
0.03650742024183273,
-0.015523100271821022,
-0.05945322662591934,
-0.0021911272779107094,
0.02348114736378193,
-0.040373701602220535,
0.029890326783061028,
0.037283189594745636,
0.03601017966866493,
-0.08571792393922806,
-0.0138808349147439,
-0.008571289479732513,
-0.012174486182630062,
0.012416918762028217,
-0.0027528710197657347,
-0.024392150342464447,
-0.0483502559363842,
0.035978272557258606,
-0.013602791354060173,
-0.018514826893806458,
-0.08085128664970398,
0.04171955585479736,
-0.01631545089185238,
-0.033844511955976486,
0.048256635665893555,
0.0417393334209919,
-0.017879340797662735,
0.06760326027870178,
0.01651313714683056,
-0.010010235011577606,
-0.028512677177786827,
0.03320407122373581,
-0.05800369754433632,
-0.005081528332084417,
-0.007323913276195526,
-0.034413889050483704,
-0.013317515142261982,
-0.036452606320381165,
-0.037089403718709946,
-0.04821496829390526,
-0.04714404419064522,
0.042964763939380646,
-0.009642856195569038,
0.003267779713496566,
-0.01540133636444807,
0.02056673727929592,
-0.031003888696432114,
-0.02054528146982193,
-0.017415085807442665,
-0.013323324732482433,
-0.07104532420635223,
-0.06413723528385162,
0.032460279762744904,
0.009453733451664448,
0.029086444526910782,
0.012211351655423641,
0.04310334101319313,
0.02782355062663555,
-0.007842687889933586,
-0.012533927336335182,
0.02733929455280304,
0.0015732337487861514,
-0.033719632774591446,
-0.0346444807946682,
0.011789610609412193,
-0.0056816088035702705,
0.043783195316791534,
-0.016606122255325317,
0.02929159440100193,
-0.0012580894399434328,
-0.014817063696682453,
-0.025108326226472855,
-0.001940777525305748,
0.021962985396385193,
-0.07086598128080368,
-0.03536535054445267,
-0.0424140989780426,
-0.04788405820727348,
0.027106335386633873,
-0.011667633429169655,
-0.040911924093961716,
-0.003944011405110359,
0.0032594953663647175,
0.029207786545157433,
0.01997036300599575,
-0.02289961837232113,
0.030721034854650497,
0.02128705196082592,
0.030600987374782562,
-0.060350410640239716,
0.03226972371339798,
-0.03763166069984436,
-0.008433012291789055,
-0.009120240807533264,
-0.0013719778507947922,
-0.05691782012581825,
0.06102943792939186,
-0.038073234260082245,
-0.0166743453592062,
0.005426626652479172,
0.017531398683786392,
-0.039158500730991364,
0.023648694157600403,
-0.036058489233255386,
0.01762605831027031,
-0.04136379808187485,
0.0437193289399147,
-0.06184157729148865,
-0.03185324743390083,
-0.005624858662486076,
0.02956838347017765,
-0.0415833443403244,
0.01455744355916977,
-0.02838142402470112,
0.009265988133847713,
0.00234732823446393,
0.008314553648233414,
0.02633347176015377,
0.04245418682694435,
0.011217834427952766,
0.0057043107226490974,
0.021920952945947647,
-0.04684481397271156,
0.007359231356531382,
-0.0426015704870224,
-0.009455165825784206,
-0.003963617607951164,
0.050919435918331146,
0.03377422317862511,
-0.04329662770032883,
-0.06305500864982605,
0.04467006400227547,
0.014090128242969513,
0.016872402280569077,
0.027876250445842743,
0.004608238581568003,
0.013463727198541164,
-0.03436695411801338,
-0.03835912421345711,
0.007978154346346855,
-0.010326340794563293,
-0.011745639145374298,
0.005901244003325701,
-0.006414138246327639,
-0.003358458401635289,
-0.011597833596169949,
-0.014613712206482887,
-0.04120554029941559,
0.06839114427566528,
0.02469322644174099,
0.031561367213726044,
0.009414737112820148,
-0.03333767130970955,
0.01629127562046051,
0.02369297668337822,
-0.026671892032027245,
0.024379614740610123,
-0.014397683553397655,
-0.03711599111557007,
0.03733178973197937,
-0.033866044133901596,
-0.015437420457601547,
0.07263118028640747,
0.004627010319381952,
-0.041671156883239746,
0.05112367123365402,
-0.01899338699877262,
0.010303042829036713,
0.05707806721329689,
-0.07146572321653366,
-0.032659873366355896,
-0.05180507153272629,
0.07324497401714325,
-0.05878298729658127,
0.03753509745001793,
0.04621017351746559,
0.00835814792662859,
0.0245354063808918,
-0.02970164641737938,
-0.07107586413621902,
0.01916131004691124,
-0.0401582196354866,
0.060181938111782074,
-0.0010031942510977387,
-0.021156715229153633,
0.054440151900053024,
0.045170120894908905,
-0.05811852216720581,
0.004349519498646259,
0.05060029402375221,
0.055400434881448746,
0.06304199993610382,
0.044367898255586624,
-0.068505197763443,
-0.011349519714713097,
0.005597191862761974,
0.043780457228422165,
-0.023474782705307007,
-0.06448756158351898,
-0.017323032021522522,
-0.05235309898853302,
0.004476380068808794,
0.00034811877412721515,
-0.008523013442754745,
-0.003911258187144995,
0.022438043728470802,
-0.07715405523777008,
-0.08212482929229736,
0.023299386724829674,
0.028234943747520447,
-0.030704699456691742,
0.0017967330059036613,
-0.056378912180662155,
0.040739111602306366,
0.03967583179473877,
0.0011878845980390906,
-0.0054556140676140785,
-0.023605620488524437,
0.017385568469762802,
-0.04057927802205086,
-0.052268560975790024,
0.06421428173780441,
-0.0077497223392128944,
-0.038385018706321716,
0.010711927898228168,
-0.01483178324997425,
0.005577080883085728,
0.028314940631389618,
-0.019226068630814552,
0.04077470302581787,
-0.05714729055762291,
-0.0015026472974568605,
0.023433638736605644,
-0.0003565250663086772,
0.0260415431112051,
-0.020857995375990868,
0.04788614809513092,
0.021885337308049202,
0.02373318001627922,
-0.001368940807878971,
-0.03689892590045929,
0.0036832275800406933,
0.03358937427401543,
-0.05017616227269173,
0.00960461050271988,
-0.0034694510977715254,
-0.08085662126541138,
-0.006944532971829176,
-0.03367865830659866,
-0.018472835421562195,
0.018163291737437248,
-0.059806689620018005,
0.0008099223487079144,
0.04518255218863487,
-0.014082582667469978,
-0.020768826827406883,
-0.07514367252588272,
-0.035998135805130005,
-0.04020841792225838,
0.019712084904313087,
0.019456105306744576,
-0.06569334119558334,
0.009211551398038864,
-0.05862455815076828,
-0.012843598611652851,
0.04128186032176018,
0.039514947682619095,
-0.04836539924144745,
0.060766953974962234,
0.02439398504793644,
-0.02716994471848011,
0.036229271441698074,
0.026874516159296036,
-0.014453784562647343,
0.01888858713209629,
-0.005336899776011705,
0.009044612757861614,
0.06852976977825165,
0.020111223682761192,
-0.00907677412033081,
-0.026827098801732063,
-0.08877183496952057,
-0.042966339737176895,
-0.058965012431144714,
-0.020638560876250267,
0.07143300771713257
] |
Cameron/BERT-rtgender-opgender-annotations | [
"pytorch",
"jax",
"bert",
"text-classification",
"transformers"
] | text-classification | {
"architectures": [
"BertForSequenceClassification"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 33 | null | ---
tags:
- conversational
---
#DialoGPT medium based model of Dwight Schrute, trained with 10 context lines of history for 20 epochs. | [
-0.019538946449756622,
0.018226707354187965,
-0.023187195882201195,
0.00984959490597248,
0.01847057417035103,
0.03685229271650314,
-0.011693991720676422,
0.03331783413887024,
-0.013219448737800121,
0.036168504506349564,
0.04576919227838516,
-0.02822648175060749,
0.02515537664294243,
0.02334481291472912,
-0.04040155187249184,
-0.0198407880961895,
-0.02678436040878296,
0.0018237195909023285,
-0.004419041331857443,
-0.02867422066628933,
0.02284209057688713,
0.009669889695942402,
-0.020448783412575722,
0.022135157138109207,
0.002956763841211796,
0.03052031807601452,
-0.007193966768682003,
0.034865040332078934,
0.02758345566689968,
-0.05834227427840233,
0.010767986066639423,
-0.03992055729031563,
-0.03894461318850517,
-0.026797136291861534,
-0.014510597102344036,
-0.04157574102282524,
-0.000050673261284828186,
0.005622221622616053,
0.014902248047292233,
0.04228338226675987,
-0.009359467774629593,
-0.000625794695224613,
0.0011514441575855017,
-0.05060049146413803,
0.05560274422168732,
-0.011317692697048187,
-0.049290042370557785,
-0.024481404572725296,
0.03784438595175743,
-0.012864225544035435,
-0.03444257006049156,
-0.07806854695081711,
-0.04451454058289528,
0.006729283835738897,
0.009460735134780407,
-0.042311087250709534,
-0.06629758328199387,
0.0002756032918114215,
0.07996155321598053,
-0.017214903607964516,
-0.005293471738696098,
0.0018314600456506014,
-0.04419667646288872,
-0.005891549866646528,
0.01656470075249672,
-0.07217058539390564,
0.019780278205871582,
-0.04035191982984543,
0.00583849661052227,
-0.020203551277518272,
0.06642196327447891,
-0.02740708366036415,
0.02062961831688881,
-0.07986970990896225,
-0.01850009895861149,
-0.01732522062957287,
0.049791377037763596,
0.061805564910173416,
-0.039334241300821304,
0.06399768590927124,
0.059533994644880295,
-0.003781686071306467,
0.07292449474334717,
-0.0242620799690485,
-0.04249245673418045,
0.03243009373545647,
-0.05789672210812569,
0.005322855431586504,
0.008688302710652351,
0.03683965653181076,
-0.028116310015320778,
-0.03406156226992607,
-0.033873625099658966,
-0.02624099887907505,
-0.0012200962519273162,
0.054627858102321625,
0.014698140323162079,
-0.008850502781569958,
0.019406957551836967,
0.04317781701683998,
0.031093835830688477,
0.039076510816812515,
-0.019038893282413483,
0.04267541691660881,
0.005328803323209286,
0.029562994837760925,
0.01201279554516077,
-0.016224995255470276,
-0.06191343069076538,
0.02456425316631794,
-0.0033020798582583666,
-0.03536292538046837,
-0.014563726261258125,
0.034082815051078796,
0.016106728464365005,
0.008547582663595676,
0.06169646605849266,
-0.030208708718419075,
-0.028252674266695976,
-0.05128597468137741,
0.0481598936021328,
0.0015966201899573207,
-0.017416754737496376,
-0.010566678829491138,
-0.054592620581388474,
0.016563691198825836,
-0.03290601819753647,
-0.030432483181357384,
-0.0030547643546015024,
0.01699342019855976,
0.03929508477449417,
0.05975670740008354,
-0.012164710089564323,
-0.05824732035398483,
0.01314295083284378,
0.0419125109910965,
-0.04932980611920357,
0.018423208966851234,
0.03156021237373352,
0.10115019232034683,
-0.06973143666982651,
-0.04646005108952522,
-0.004150460474193096,
0.02860669419169426,
-0.036578141152858734,
-0.005909810308367014,
-0.017113031819462776,
-0.020702749490737915,
-0.049453917890787125,
-0.0018192422576248646,
0.042028918862342834,
-0.04466832056641579,
-0.02309614047408104,
0.045382339507341385,
0.026539906859397888,
0.04236380010843277,
-0.04551597312092781,
-0.005487835966050625,
-0.008656472899019718,
-0.019728252664208412,
-0.08399628847837448,
0.04315650835633278,
-0.03228842467069626,
-0.023984555155038834,
-0.03115192987024784,
-0.029359735548496246,
0.006237752735614777,
0.06858068704605103,
-0.034534309059381485,
-0.011567577719688416,
-0.03412806987762451,
0.02528047189116478,
0.060673099011182785,
0.047685377299785614,
-0.014746056869626045,
0.028574137017130852,
0.043987274169921875,
0.042795877903699875,
-0.040024533867836,
0.05097367241978645,
0.020965227857232094,
-0.01625077798962593,
-0.04857458546757698,
0.005986452102661133,
0.009141696617007256,
-0.030103281140327454,
0.03395260497927666,
0.021344201639294624,
-0.025439947843551636,
-0.02644067071378231,
-0.0025931084528565407,
0.03208453208208084,
-0.026525599882006645,
0.005020579788833857,
-0.02605433017015457,
-0.01679362542927265,
-0.02239789254963398,
0.026088083162903786,
-0.033429209142923355,
-0.022349394857883453,
-0.013060676865279675,
-0.018244147300720215,
0.028554677963256836,
0.0059546311385929585,
0.027067668735980988,
0.045737143605947495,
-0.01668405532836914,
0.07421650737524033,
-0.040853098034858704,
0.013517221435904503,
-0.0349404439330101,
-0.03651309013366699,
-0.026140939444303513,
0.02405850775539875,
0.0098734050989151,
0.04280954599380493,
-0.040910255163908005,
-0.06659766286611557,
0.03895537555217743,
0.03228001669049263,
0.03968559205532074,
-0.0011095317313447595,
0.006202067248523235,
0.007786829024553299,
0.03217357397079468,
0.03325636684894562,
-0.05660613253712654,
-0.006905017886310816,
0.017590291798114777,
0.019497189670801163,
-0.017576206475496292,
-0.027732564136385918,
-0.05416875705122948,
-0.0014660306042060256,
-0.03397630900144577,
-0.060055725276470184,
0.04530517756938934,
0.018202396109700203,
-0.01717063970863819,
0.06668519973754883,
0.001457775360904634,
-0.0034894051495939493,
0.03651181235909462,
0.003699003718793392,
-0.0026651276275515556,
-0.057354655116796494,
-0.002706581261008978,
0.022158294916152954,
0.08060329407453537,
-0.058561284095048904,
0.028528470546007156,
0.0056503997184336185,
0.0056149582378566265,
0.0235150083899498,
-0.023301390931010246,
0.04760276898741722,
0.06533467769622803,
0.04815950617194176,
-0.0227974746376276,
0.037551846355199814,
-0.014192366972565651,
0.031252190470695496,
0.04343656450510025,
0.007007016334682703,
0.05430830642580986,
-0.0031253602355718613,
0.025292322039604187,
0.08055582642555237,
0.04038231819868088,
0.002269195858389139,
0.03212098404765129,
0.06745363026857376,
0.02593073807656765,
0.033810101449489594,
0.03739907220005989,
-0.006846992298960686,
-0.005534949246793985,
-0.04068157821893692,
-0.01695864088833332,
-0.017675181850790977,
-0.030444445088505745,
0.07301833480596542,
0.0004854671424254775,
-0.02222185954451561,
-0.003994603641331196,
0.011503312736749649,
-0.006596360355615616,
0.0461663156747818,
-0.0134595250710845,
-0.022952834144234657,
-0.0029370910488069057,
-0.03679261356592178,
0.016668902710080147,
-0.047097280621528625,
-0.05007149279117584,
-0.031371984630823135,
-0.050865884870290756,
-0.00759526900947094,
-0.10901648551225662,
-0.011989726684987545,
-0.07994545251131058,
-0.04327625408768654,
0.049197517335414886,
0.012900798581540585,
-0.00658104894682765,
0.004556768108159304,
0.023874105885624886,
-0.01902170293033123,
-0.06150226294994354,
-0.05682225152850151,
-0.04313373565673828,
-0.01594894379377365,
-0.04427650570869446,
0.04380619898438454,
0.061235129833221436,
0.03484796732664108,
0.014529931358993053,
-0.017717521637678146,
-0.04604993388056755,
-0.026313772425055504,
0.033708129078149796,
0.016464756801724434,
-0.04454818367958069,
-0.041745301336050034,
0.014385558664798737,
-0.023655900731682777,
0.009539498016238213,
-0.003937701229006052,
-0.04824506491422653,
0.06181274726986885,
0.05478508025407791,
-0.008353179320693016,
0.03282751142978668,
-0.012667975388467312,
-0.056265342980623245,
-0.0373176634311676,
-0.051479700952768326,
-0.051142942160367966,
-0.01546657457947731,
-0.004076096229255199,
-0.05512123927474022,
-0.018625181168317795,
-0.01773393154144287,
-0.021021690219640732,
0.0007474846206605434,
-0.004862639587372541,
0.014622073620557785,
0.023843200877308846,
0.05369959771633148,
0.02255942113697529,
-0.006737568881362677,
-0.025190342217683792,
0.034137263894081116,
-0.01102248765528202,
0.0011462095426395535,
-0.0741681456565857,
-0.03632413595914841,
0.017929859459400177,
0.022466180846095085,
-0.001614128821529448,
0.005945863202214241,
0.04795631021261215,
0.035890333354473114,
-0.0068086194805800915,
0.024624552577733994,
-0.04229230433702469,
-0.0056192935444414616,
-0.0449138805270195,
-0.013149091973900795,
-0.019201090559363365,
-0.03862607851624489,
-0.014410009607672691,
0.005870054475963116,
0.054565221071243286,
-0.08066267520189285,
-0.04382019490003586,
-0.01960085518658161,
0.0002114753588102758,
0.04547252133488655,
0.028198471292853355,
-0.04177890345454216,
-0.006831287406384945,
-0.02281522937119007,
-0.018719904124736786,
0.016884369775652885,
-0.00733041949570179,
-0.003194270422682166,
0.029683465138077736,
0.017804842442274094,
-0.02635911852121353,
0.045015472918748856,
0.031341228634119034,
0.05038842931389809,
0.026659684255719185,
-0.05283629149198532,
0.03470027819275856,
-0.01951524242758751,
0.03877347707748413,
-0.0056245713494718075,
-0.015703879296779633,
-0.06672757118940353,
-0.10871058702468872,
-0.0426001138985157,
0.043502043932676315,
-0.010036270134150982,
-0.0068944115191698074,
0.044974349439144135,
-0.05516701191663742,
-0.021840352565050125,
-0.028087304905056953,
0.04891454428434372,
0.0588783323764801,
-0.02987193875014782,
0.06264472752809525,
-0.023265941068530083,
0.019839424639940262,
-0.055848684161901474,
-0.003957733046263456,
-0.046852435916662216,
-0.02344326116144657,
0.009113582782447338,
0.045289281755685806,
0.008376686833798885,
0.06398119777441025,
0.07717667520046234,
0.055647481232881546,
-0.033999793231487274,
0.048540666699409485,
0.06314177811145782,
-0.029068859294056892,
-0.02276335097849369,
-0.010258406400680542,
0.009387342259287834,
-0.006193880457431078,
-0.014973555691540241,
-0.03342875465750694,
0.029032310470938683,
0.030714252963662148,
-0.004859510809183121,
0.0020403070375323296,
-0.006748456507921219,
-0.031793564558029175,
-0.014203810133039951,
-0.08202241361141205,
-0.03495064005255699,
0.0010383083717897534,
-0.032671667635440826,
0.04620661213994026,
0.030820822343230247,
-0.0015023619635030627,
0.08455212414264679,
0.024452602490782738,
-0.035994235426187515,
-0.02190282940864563,
0.0507698617875576,
0.037225525826215744,
-0.05587610602378845,
-0.043551892042160034,
-0.059491582214832306,
0.04546178877353668,
0.06730733811855316,
-0.01777043752372265,
-0.09520907700061798,
0.01429914403706789,
0.04454701766371727,
-0.03624517843127251,
0.06295780092477798,
-0.006664907559752464,
0.05305115133523941,
0.04228050261735916,
0.009013879112899303,
0.03865891322493553,
-0.045012421905994415,
0.009419914335012436,
0.004388506058603525,
0.040335513651371,
-0.06010817363858223,
-0.03017032891511917,
-0.029352081939578056,
0.03809339925646782,
0.03532911837100983,
0.01015546265989542,
0.007664302829653025,
-0.04206152632832527,
-0.035409700125455856,
-0.009787957184016705,
0.04038941487669945,
-0.029048116877675056,
-0.00016497976321261376,
0.02401404082775116,
0.05734982714056969,
-0.06110270321369171,
0.005567085929214954,
-0.013766423799097538,
-0.006097136996686459,
0.023233292624354362,
0.0012749385787174106,
-0.037398770451545715,
-0.031864821910858154,
0.00294003845192492,
-0.027639487758278847,
-0.03075413964688778,
-0.07352326810359955,
0.02484934777021408,
-0.03227798640727997,
-0.0385000966489315,
0.06245481222867966,
0.04588952660560608,
0.06496487557888031,
0.0686010867357254,
0.0020125412847846746,
0.024832013994455338,
-0.020068425685167313,
0.013283316977322102,
-0.02429218962788582,
-0.044660333544015884,
-0.004457509610801935,
-0.08205161988735199,
-0.03195541352033615,
-0.03997928276658058,
-0.04601692035794258,
-0.03906155750155449,
-0.008956140838563442,
0.019628051668405533,
0.006697856821119785,
-0.027265433222055435,
0.008592418394982815,
0.019774414598941803,
-0.011277738027274609,
-0.028217190876603127,
-0.005873384419828653,
-0.017712324857711792,
-0.06181853637099266,
-0.046339377760887146,
0.006738963536918163,
-0.015016227960586548,
0.012377755716443062,
0.00918088760226965,
0.027916885912418365,
0.028506072238087654,
0.01761658862233162,
-0.040121644735336304,
0.006725076586008072,
0.03213081508874893,
-0.041300587356090546,
-0.014415756799280643,
0.01947980374097824,
0.009425883181393147,
0.03759875148534775,
-0.027714664116501808,
0.022985391318798065,
0.03238984942436218,
-0.0287643875926733,
-0.053136058151721954,
0.026785703375935555,
0.035671867430210114,
-0.07020201534032822,
-0.0209632720798254,
-0.030845467001199722,
-0.027491172775626183,
0.013718847185373306,
-0.053603395819664,
-0.02358400635421276,
0.017542656511068344,
0.04000399634242058,
0.019758135080337524,
-0.008266221731901169,
-0.012093883007764816,
0.023303475230932236,
-0.011646087281405926,
0.003445866983383894,
-0.07734421640634537,
0.013346594758331776,
-0.04752011597156525,
0.024778923019766808,
-0.01846792735159397,
0.005698966793715954,
-0.026767069473862648,
0.04570852965116501,
-0.017939187586307526,
-0.013042488135397434,
0.007877782918512821,
0.005074291490018368,
0.013799072243273258,
0.02643466554582119,
0.037867628037929535,
0.026178250089287758,
-0.04321596771478653,
0.06738735735416412,
-0.03478658199310303,
0.010887612588703632,
0.006617625243961811,
-0.02021283097565174,
-0.040162838995456696,
-0.01674755848944187,
0.018725687637925148,
-0.05362668260931969,
0.034652188420295715,
0.03123151697218418,
0.03169568255543709,
0.030612844973802567,
0.00035956056672148407,
0.023188218474388123,
0.0286854337900877,
-0.039163682609796524,
-0.032887157052755356,
-0.00003899064540746622,
-0.005106153432279825,
0.008271263912320137,
0.05799522250890732,
0.044735927134752274,
-0.04975905641913414,
-0.028969034552574158,
0.02288796938955784,
0.03068283013999462,
0.021902797743678093,
-0.002864890033379197,
0.02971746027469635,
0.05860298126935959,
0.08004599064588547,
0.010732513852417469,
-0.011663831770420074,
0.0011207916541025043,
-0.01918410323560238,
-0.013020835816860199,
0.005461100023239851,
0.0017716080183163285,
0.010256131179630756,
-0.034392718225717545,
-0.03303377330303192,
0.05881205201148987,
-0.004412222653627396,
-0.0010574952466413379,
-0.01268213614821434,
-0.03274761885404587,
0.07241316139698029,
0.014256958849728107,
-0.038402259349823,
-0.00817336980253458,
0.022855494171380997,
-0.0301511250436306,
0.057496652007102966,
-0.019741712138056755,
0.019546691328287125,
0.06785311549901962,
0.028390835970640182,
-0.011214413680136204,
0.029132237657904625,
-0.02492481656372547,
0.021833138540387154,
0.04158832132816315,
-0.06735364347696304,
0.007037194445729256,
-0.026067648082971573,
0.049735844135284424,
-0.05527900159358978,
0.055370479822158813,
0.03433694317936897,
0.034916918724775314,
0.008545894175767899,
-0.059392642229795456,
-0.04334421455860138,
-0.010246978141367435,
-0.02928679808974266,
0.069796122610569,
-0.00528725003823638,
-0.03747398778796196,
0.059734031558036804,
0.018345357850193977,
-0.06595687568187714,
0.033328358083963394,
0.036277785897254944,
0.037698518484830856,
0.023112324997782707,
0.044842883944511414,
-0.029443666338920593,
-0.00017210686928592622,
-0.051913440227508545,
-0.007153634913265705,
-0.0455680787563324,
-0.01042856089770794,
-0.017037956044077873,
-0.05147569626569748,
0.013882819563150406,
0.027894306927919388,
-0.023732472211122513,
0.008180037140846252,
0.022428445518016815,
-0.01881496049463749,
-0.06245419755578041,
0.0006288614240474999,
-0.0025567528791725636,
-0.025788364931941032,
-0.014222255907952785,
-0.008152516558766365,
-0.005975553300231695,
0.007853382267057896,
-0.022344697266817093,
-0.027281848713755608,
0.014588207937777042,
-0.013768697157502174,
-0.06861294060945511,
-0.05556706339120865,
0.0766478106379509,
-0.003329755738377571,
-0.00470699043944478,
0.007313032168895006,
0.014421321451663971,
0.021278323605656624,
0.0232072826474905,
-0.014217684045433998,
0.01489388570189476,
-0.07161076366901398,
-0.019492940977215767,
0.034316740930080414,
0.018946556374430656,
0.0038038205821067095,
-0.0232790969312191,
0.03537340089678764,
0.07255655527114868,
0.03606521338224411,
-0.0010564976837486029,
-0.047587983310222626,
-0.02194521576166153,
-0.027652272954583168,
-0.036862850189208984,
0.025903377681970596,
0.007582380436360836,
-0.0820949450135231,
-0.023495802655816078,
-0.010326100513339043,
-0.029879700392484665,
0.03845994174480438,
-0.0470656119287014,
0.015084992162883282,
0.045657943934202194,
0.008121753111481667,
-0.07251271605491638,
-0.08834072947502136,
-0.05385688692331314,
-0.018076688051223755,
0.026180796325206757,
0.026768697425723076,
-0.035907261073589325,
0.015163589268922806,
-0.025225166231393814,
-0.013205824419856071,
0.04178452864289284,
0.000012668941963056568,
-0.025576766580343246,
0.06063012778759003,
0.07370264083147049,
-0.040898438543081284,
0.055131696164608,
0.032617900520563126,
-0.04199603199958801,
0.02505525015294552,
-0.0005288418033160269,
0.011843277141451836,
0.009306404739618301,
0.03041437827050686,
-0.032343242317438126,
-0.010389434173703194,
-0.015323610045015812,
-0.05634978041052818,
-0.003839402925223112,
0.001900384435430169,
0.052991922944784164
] |
Capreolus/bert-base-msmarco | [
"pytorch",
"tf",
"jax",
"bert",
"text-classification",
"arxiv:2008.09093",
"transformers"
] | text-classification | {
"architectures": [
"BertForSequenceClassification"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 238 | null | ---
language:
- en
license: afl-3.0
tags:
- audio # Example: audio
- automatic-speech-recognition # Example: automatic-speech-recognition
- speech # Example: speech
pipeline_tag: automatic-speech-recognition
datasets:
- timit_asr # Example: common_voice. Use dataset id from https://hf.co/datasets
metrics:
- wer
# Optional. Add this if you want to encode your eval results in a structured way.
model-index:
- name: iloko-model
results:
- task:
type: automatic-speech-recognition # Required. Example: automatic-speech-recognition
name: Iloko Speech Recognition # Optional. Example: Speech Recognition
metrics:
- type: wer # Required. Example: wer
value: 0.009 # Required. Example: 20.90
name: TEST WETR # Optional. Example: Test WER
# args: {arg_0} # Optional. Example for BLEU: max_order
---
FINETUNED ILOKANO SPEECH RECOGNITION FROM WAV2VEC-XLSR-S3 | [
-0.012653905898332596,
-0.03039112128317356,
-0.0001905541430460289,
0.007482444401830435,
0.07306428998708725,
0.023844052106142044,
-0.002365053165704012,
-0.009991616010665894,
-0.05702534690499306,
0.07195597887039185,
0.04643906280398369,
-0.02425132319331169,
0.00783160887658596,
0.012298114597797394,
-0.016581956297159195,
-0.05592512711882591,
-0.011821433901786804,
-0.022004034370183945,
-0.03416473791003227,
-0.01403129193931818,
-0.009798428975045681,
0.02651754766702652,
-0.010417607612907887,
0.03082025982439518,
0.010018055327236652,
-0.0016203568084165454,
-0.019789326936006546,
0.028963709250092506,
0.0406268909573555,
-0.0420379601418972,
-0.01621253602206707,
-0.01668783836066723,
-0.042327407747507095,
-0.021927673369646072,
-0.04948398843407631,
-0.002053265692666173,
0.012192544527351856,
0.023832743987441063,
0.03180493786931038,
0.04426116868853569,
-0.001261338940821588,
0.033019062131643295,
0.00865929014980793,
-0.011481461115181446,
0.05137138441205025,
-0.0068626259453594685,
-0.04926443472504616,
-0.017347607761621475,
-0.00003333096537971869,
-0.01910378597676754,
-0.051050636917352676,
-0.05185779556632042,
0.02315598540008068,
0.02558218128979206,
-0.015326935797929764,
-0.02572684735059738,
-0.05481225624680519,
0.004482986405491829,
0.06412266939878464,
-0.05442027747631073,
-0.02941669151186943,
0.0224309004843235,
-0.09051074832677841,
0.03327995911240578,
0.010897639207541943,
-0.014582083560526371,
0.008427418768405914,
-0.06738460808992386,
0.026470530778169632,
-0.015781711786985397,
0.03941725939512253,
-0.041440874338150024,
0.00834497157484293,
-0.07213282585144043,
-0.019140610471367836,
-0.025667991489171982,
0.04319102317094803,
0.02813766710460186,
-0.01856454648077488,
0.029368368908762932,
0.02819133549928665,
-0.0014371821889653802,
0.022777698934078217,
-0.01869540475308895,
0.01589040830731392,
0.02806166000664234,
-0.02533208206295967,
-0.007990195415914059,
0.02567802183330059,
0.02796931192278862,
-0.042126089334487915,
-0.043467167764902115,
-0.02432401478290558,
-0.041118863970041275,
-0.0015145823126658797,
0.017827821895480156,
0.024597808718681335,
0.0008950851624831557,
0.041083622723817825,
0.005356390029191971,
0.039844922721385956,
0.03514011576771736,
-0.03308781981468201,
0.06368421763181686,
-0.02305772714316845,
0.001760238315910101,
0.008234371431171894,
-0.021259361878037453,
-0.04382378235459328,
0.04006712883710861,
0.04228706285357475,
-0.03343237191438675,
-0.038692355155944824,
0.03662685304880142,
0.007410617545247078,
-0.03989351913332939,
0.04432831332087517,
-0.04607795923948288,
-0.02597847953438759,
-0.03802783414721489,
0.03336850181221962,
0.01895572803914547,
-0.005480610765516758,
0.0325920395553112,
-0.021200289949774742,
0.03712598979473114,
-0.071347177028656,
-0.031355153769254684,
-0.007638999726623297,
0.016840407624840736,
0.001087192795239389,
0.052215997129678726,
0.021901864558458328,
-0.05126184597611427,
0.007578796241432428,
0.017026541754603386,
-0.07026590406894684,
0.017147494480013847,
0.0009597023599781096,
0.10485950112342834,
-0.04807654395699501,
-0.049436796456575394,
-0.0017061869148164988,
-0.021228495985269547,
-0.009560948237776756,
0.02338276244699955,
0.028350669890642166,
-0.0229626577347517,
-0.020368101075291634,
-0.007763267494738102,
0.04615968465805054,
-0.07127438485622406,
-0.0008095675148069859,
0.061251867562532425,
-0.005359215661883354,
0.06592881679534912,
-0.011407483369112015,
-0.0005526265595108271,
-0.003198527731001377,
0.0032947449944913387,
-0.013182424940168858,
0.031187934800982475,
-0.0019437825540080667,
-0.010658630169928074,
-0.03781628608703613,
-0.054081447422504425,
0.001633362378925085,
0.058171261101961136,
0.01653415895998478,
-0.0015625713858753443,
-0.03706171363592148,
0.02555852383375168,
0.02261173166334629,
0.003386435564607382,
-0.04211698845028877,
0.03977568447589874,
0.04776793718338013,
0.02471892349421978,
-0.003281399141997099,
0.07244741171598434,
0.0037312768399715424,
-0.036670345813035965,
-0.06556177884340286,
-0.010427472181618214,
0.021509192883968353,
-0.015996646136045456,
-0.022797849029302597,
0.038178376853466034,
0.015782233327627182,
-0.023510541766881943,
-0.029376495629549026,
0.047738444060087204,
0.0044915019534528255,
-0.028926290571689606,
-0.021311113610863686,
0.009061706252396107,
-0.04419894516468048,
0.04006729647517204,
-0.022058725357055664,
-0.019864192232489586,
-0.009991017170250416,
-0.04956241324543953,
0.012455619871616364,
0.01815500110387802,
0.016274333000183105,
0.05772102624177933,
0.03361249342560768,
0.07973553240299225,
-0.03102617897093296,
0.028930053114891052,
-0.0394226498901844,
-0.05329747870564461,
-0.00021220486087258905,
0.06742925941944122,
0.00963064469397068,
0.051084380596876144,
-0.02027462050318718,
-0.04432930797338486,
0.041017770767211914,
0.06566596776247025,
0.07445508986711502,
0.0086140688508749,
-0.021656127646565437,
-0.006096691358834505,
0.044298697263002396,
0.06617716699838638,
-0.04235178232192993,
-0.017559058964252472,
0.021528447046875954,
0.046881597489118576,
-0.005083654075860977,
0.03163783997297287,
-0.0016650641337037086,
0.023747531697154045,
-0.03609369322657585,
-0.08891528099775314,
0.048887018114328384,
0.015283576212823391,
0.029635170474648476,
0.007258563302457333,
-0.002064578700810671,
0.003825447289273143,
0.020851191133260727,
0.0013908962719142437,
-0.0014202427119016647,
-0.050723329186439514,
0.025737043470144272,
0.0029010858852416277,
0.0643109455704689,
-0.07398157566785812,
0.05591917037963867,
-0.03350818157196045,
0.014307412318885326,
0.04098675400018692,
-0.045212194323539734,
0.03502899035811424,
0.020886536687612534,
0.02939470298588276,
-0.04649517685174942,
-0.01148147601634264,
-0.007473709527403116,
0.05474910885095596,
0.06966212391853333,
0.003934864886105061,
0.08112139254808426,
0.007363284472376108,
0.028450924903154373,
0.07569753378629684,
0.012280545197427273,
0.008728106506168842,
0.02338610775768757,
0.102410688996315,
0.002531567821279168,
-0.017713339999318123,
0.07327712327241898,
-0.04485762491822243,
0.027619261294603348,
-0.02185697667300701,
0.009057234041392803,
0.013055440038442612,
-0.016810348257422447,
0.029140690341591835,
0.00792113970965147,
-0.026753008365631104,
0.005641079507768154,
-0.0015590093098580837,
0.0022054624278098345,
0.006243934854865074,
-0.027557265013456345,
-0.009149904362857342,
-0.0005627822247333825,
0.011623948812484741,
0.01934831216931343,
-0.08222413063049316,
-0.03617827594280243,
-0.026134025305509567,
-0.044746045023202896,
0.017044512555003166,
-0.05708470195531845,
-0.02035813219845295,
-0.05602075532078743,
0.004744857084006071,
0.04540255293250084,
0.03465082496404648,
-0.008958477526903152,
-0.016691559925675392,
-0.0004887633840553463,
-0.05581197142601013,
-0.03440680354833603,
-0.03560517728328705,
-0.019875526428222656,
-0.020507268607616425,
-0.052224330604076385,
0.05904952809214592,
0.03496730700135231,
0.02817651815712452,
-0.004303936380892992,
-0.008432279340922832,
-0.0298920888453722,
-0.024694805964827538,
0.044436853379011154,
0.03412577137351036,
-0.03913518413901329,
-0.0542970709502697,
0.026424724608659744,
-0.030271338298916817,
0.002959240460768342,
0.008894289843738079,
-0.015747012570500374,
0.07696494460105896,
0.04812652990221977,
0.023263709619641304,
0.02587522193789482,
-0.007849286310374737,
-0.05182294547557831,
-0.06346610933542252,
-0.03898151218891144,
-0.031231805682182312,
-0.009749239310622215,
-0.02006799913942814,
-0.03575941175222397,
-0.021020567044615746,
-0.028527244925498962,
0.008138351142406464,
-0.0012938750442117453,
-0.011824877932667732,
0.032987385988235474,
0.03390779346227646,
0.019936034455895424,
0.04146725684404373,
-0.06074408441781998,
-0.02089383639395237,
0.03320615366101265,
0.022661611437797546,
-0.01766745187342167,
-0.08671847730875015,
-0.030044198036193848,
0.007376220542937517,
0.012609638273715973,
0.0024096681736409664,
-0.004440225660800934,
0.07912170141935349,
0.014052359387278557,
0.0013707480393350124,
0.015518500469624996,
-0.018208671361207962,
-0.01719077304005623,
-0.02200738899409771,
-0.011316729709506035,
-0.02983497455716133,
-0.05861450731754303,
0.020138725638389587,
0.015453344210982323,
0.057177215814590454,
-0.07462936639785767,
-0.05354679003357887,
-0.0041351052932441235,
0.03822110593318939,
0.013202833011746407,
-0.0161923635751009,
-0.021780015900731087,
0.011712306179106236,
-0.0723474994301796,
-0.03523729369044304,
0.02429015375673771,
0.007975349202752113,
0.009921244345605373,
0.07604420185089111,
-0.0021820813417434692,
-0.025590309873223305,
0.04743533208966255,
0.03816688433289528,
0.04912053048610687,
0.02728358469903469,
-0.04003417491912842,
0.019854478538036346,
-0.005943808238953352,
-0.0106967119500041,
-0.01574193313717842,
-0.025055887177586555,
-0.039391785860061646,
-0.09374989569187164,
-0.03645211458206177,
0.028073009103536606,
-0.025795361027121544,
-0.012532256543636322,
0.017709122970700264,
-0.0073213339783251286,
0.008840983733534813,
-0.01840043254196644,
0.021322915330529213,
0.02796775847673416,
-0.05989282205700874,
0.024330267682671547,
-0.026127085089683533,
0.03281977400183678,
-0.04182137921452522,
0.005999269429594278,
-0.018765242770314217,
-0.00854985136538744,
0.00020400932407937944,
0.054209452122449875,
0.04357503727078438,
0.060928091406822205,
0.08486268669366837,
0.02184031531214714,
-0.03478674590587616,
0.04497096687555313,
0.05076390877366066,
-0.03803239390254021,
-0.0436859205365181,
-0.004006745759397745,
-0.010650936514139175,
-0.05034559965133667,
0.005597480572760105,
-0.0384669192135334,
0.04150644317269325,
0.04755305126309395,
-0.02417571470141411,
-0.01876894012093544,
-0.026879794895648956,
-0.03327498584985733,
0.00864109955728054,
-0.04984917864203453,
-0.043425630778074265,
0.01029027160257101,
-0.04295804351568222,
0.03521454334259033,
0.050812818109989166,
0.010385994799435139,
0.03567171096801758,
0.023412032052874565,
-0.034404266625642776,
-0.055769432336091995,
0.02083483524620533,
0.016893573105335236,
-0.040348052978515625,
-0.10305330157279968,
-0.019025303423404694,
0.043795812875032425,
0.0265012439340353,
0.007138550281524658,
-0.10487744957208633,
-0.0023206262849271297,
0.045413143932819366,
-0.03622054681181908,
0.056029584258794785,
-0.005982522387057543,
0.02929949015378952,
0.03436337783932686,
0.005702124442905188,
0.02682233415544033,
-0.009939941577613354,
0.006089223548769951,
0.0018798700766637921,
0.049216944724321365,
-0.00298519479110837,
-0.020260822027921677,
-0.07528237998485565,
0.03860461339354515,
0.03736735135316849,
0.04287630319595337,
0.02314579114317894,
-0.0044979071244597435,
-0.06269412487745285,
-0.014151541516184807,
0.04055752605199814,
-0.02388584427535534,
0.025899220257997513,
0.0055861035361886024,
0.05613916739821434,
-0.022803092375397682,
-0.044818952679634094,
-0.018145017325878143,
0.0007867633830755949,
0.02147654816508293,
0.0012571202823892236,
-0.06860541552305222,
-0.04172063246369362,
0.030744880437850952,
-0.020018616691231728,
-0.02773411013185978,
-0.10414900630712509,
0.0060781254433095455,
-0.033427998423576355,
-0.018898125737905502,
0.03946617245674133,
0.04226841777563095,
0.028504544869065285,
0.062372371554374695,
0.019260894507169724,
0.035590361803770065,
-0.037343285977840424,
0.053396858274936676,
-0.01238330826163292,
-0.026026975363492966,
-0.022099969908595085,
-0.012729417532682419,
-0.014584159478545189,
-0.03533288091421127,
-0.06278645992279053,
-0.02818494290113449,
0.0006726811989210546,
0.05559396743774414,
-0.005677465815097094,
-0.022090697661042213,
-0.01628299057483673,
0.049453314393758774,
-0.027938203886151314,
-0.017781542614102364,
-0.008383398875594139,
-0.03731420263648033,
-0.06214984133839607,
-0.04265021160244942,
0.03137002885341644,
0.002130494685843587,
0.052115850150585175,
-0.006828250363469124,
0.025929218158125877,
0.035521551966667175,
0.011363029479980469,
-0.03246993198990822,
0.019485246390104294,
-0.006406511180102825,
-0.054636359214782715,
-0.02236146293580532,
0.012682988308370113,
-0.00035983952693641186,
0.0938495323061943,
-0.023180240765213966,
0.014127785339951515,
0.02123226784169674,
-0.021856088191270828,
-0.004487812519073486,
-0.0007167273433879018,
0.01814962550997734,
-0.0685536339879036,
-0.051575981080532074,
-0.017398100346326828,
-0.035992056131362915,
0.03367278724908829,
-0.010337847284972668,
-0.024137085303664207,
0.026707151904702187,
0.02769789658486843,
0.02885795198380947,
0.0059597850777208805,
-0.0504835806787014,
0.0094020189717412,
-0.018309494480490685,
-0.006955412682145834,
-0.06734106689691544,
0.04702829569578171,
-0.03600628301501274,
0.004235486965626478,
-0.007359953597187996,
-0.01695023663341999,
-0.055107902735471725,
0.027627846226096153,
-0.016108496114611626,
-0.02731035090982914,
0.0006447048508562148,
0.018927671015262604,
-0.013642649166285992,
0.026080645620822906,
-0.0005118194385431707,
0.016056567430496216,
-0.030391652137041092,
0.041303813457489014,
-0.03800807520747185,
0.01743970811367035,
-0.014598212204873562,
0.003271623747423291,
-0.04409308731555939,
-0.015498695895075798,
-0.0004794751584995538,
-0.035686857998371124,
0.02234281226992607,
0.044845979660749435,
0.024368058890104294,
0.017736317589879036,
-0.030263805761933327,
-0.00426409812644124,
-0.00934103224426508,
-0.05218326672911644,
-0.004983782768249512,
-0.023713767528533936,
0.03398687765002251,
-0.018401766195893288,
0.03133400157094002,
0.029698314145207405,
-0.0717373639345169,
-0.05476105958223343,
0.03481600806117058,
0.028769169002771378,
0.01715192198753357,
0.02264951728284359,
0.017238009721040726,
0.02841823548078537,
0.04537830874323845,
-0.03488849475979805,
0.01721987873315811,
-0.001107579912059009,
0.00019405476632528007,
-0.007259629666805267,
-0.009223085828125477,
0.012807242572307587,
-0.0057706986553967,
-0.025018593296408653,
-0.018377088010311127,
0.0609770193696022,
0.0057327598333358765,
0.012342085130512714,
-0.02481136843562126,
-0.03981288522481918,
-0.003269962500780821,
0.011475353501737118,
-0.060365479439496994,
0.016306927427649498,
0.014601125381886959,
-0.03790351003408432,
0.09510166198015213,
-0.02288798987865448,
-0.004698771983385086,
0.05500916764140129,
0.01415222603827715,
-0.027777520939707756,
0.037572938948869705,
-0.00980664324015379,
0.004813672974705696,
0.05558168888092041,
-0.06129707023501396,
-0.003482194384559989,
-0.029418962076306343,
0.0728582888841629,
-0.06437930464744568,
0.029710879549384117,
0.03816419467329979,
0.002221842994913459,
0.03902876377105713,
-0.03412415459752083,
-0.04555889591574669,
0.05431621894240379,
-0.037636999040842056,
0.06297485530376434,
0.021605506539344788,
-0.07130609452724457,
0.0363459475338459,
0.0404081866145134,
-0.10712729394435883,
0.023989902809262276,
0.04949633404612541,
0.015998240560293198,
0.03580918908119202,
0.04959673061966896,
-0.033008940517902374,
0.02293246239423752,
-0.027265718206763268,
0.03720686584711075,
-0.08977041393518448,
0.010655289515852928,
0.02321278676390648,
-0.048977840691804886,
-0.019220681861042976,
0.030308902263641357,
-0.0039143129251897335,
-0.01935679279267788,
0.009749815799295902,
-0.04045620188117027,
-0.03258010372519493,
0.011813435703516006,
0.012392383068799973,
-0.020129574462771416,
-0.01286385953426361,
-0.04184115305542946,
0.03935690596699715,
-0.00486278859898448,
-0.005454546771943569,
-0.02519121579825878,
-0.029279841110110283,
0.006788665894418955,
-0.057689908891916275,
-0.025777053087949753,
0.04606382176280022,
0.0061965156346559525,
-0.03667113557457924,
0.03486362844705582,
0.0016802537720650434,
0.029962439090013504,
-0.005191466771066189,
-0.0005171791999600828,
0.043976183980703354,
-0.07182211428880692,
-0.011044255457818508,
0.0006320000975392759,
0.03307125344872475,
0.020871594548225403,
0.003312739310786128,
0.0456538051366806,
0.0288542527705431,
-0.0017259439919143915,
0.00791123416274786,
-0.04776071384549141,
-0.02087501250207424,
0.021454501897096634,
-0.04450986906886101,
0.03614020720124245,
0.015834104269742966,
-0.026633016765117645,
-0.02925833873450756,
-0.02038341946899891,
0.006151431705802679,
0.020846093073487282,
-0.04850005358457565,
0.00796826183795929,
0.019282778725028038,
-0.028282620012760162,
-0.045552775263786316,
-0.0775865912437439,
-0.02905324287712574,
-0.014600968919694424,
0.056926872581243515,
0.007349781692028046,
-0.03417297825217247,
-0.0020017430651932955,
-0.05109367147088051,
-0.06939391791820526,
0.041707009077072144,
0.034950580447912216,
-0.03005187027156353,
0.06613987684249878,
0.069846972823143,
-0.05775180086493492,
0.03794773295521736,
0.045429058372974396,
-0.014174113050103188,
0.04773186147212982,
0.013982255943119526,
0.033134546130895615,
0.02875412441790104,
0.020824676379561424,
-0.026900026947259903,
-0.04871838167309761,
-0.06198401749134064,
-0.019009409472346306,
-0.05650022253394127,
-0.003806173801422119,
0.05044516921043396
] |
Capreolus/electra-base-msmarco | [
"pytorch",
"tf",
"electra",
"text-classification",
"arxiv:2008.09093",
"transformers"
] | text-classification | {
"architectures": [
"ElectraForSequenceClassification"
],
"model_type": "electra",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 110 | null | ---
language:
- en
tags:
- sentence-similarity
- text-classification
datasets:
- dennlinger/wiki-paragraphs
metrics:
- f1
license: mit
---
# BERT-Wiki-Paragraphs
Authors: Satya Almasian\*, Dennis Aumiller\*, Lucienne-Sophie MarmΓ©, Michael Gertz
Contact us at `<lastname>@informatik.uni-heidelberg.de`
Details for the training method can be found in our work [Structural Text Segmentation of Legal Documents](https://arxiv.org/abs/2012.03619).
The training procedure follows the same setup, but we substitute legal documents for Wikipedia in this model.
Find the associated training data here: [wiki-paragraphs](https://huggingface.co/datasets/dennlinger/wiki-paragraphs)
Training is performed in a form of weakly-supervised fashion to determine whether paragraphs topically belong together or not.
We utilize automatically generated samples from Wikipedia for training, where paragraphs from within the same section are assumed to be topically coherent.
We use the same articles as ([Koshorek et al., 2018](https://arxiv.org/abs/1803.09337)),
albeit from a 2021 dump of Wikpeida, and split at paragraph boundaries instead of the sentence level.
## Usage
Preferred usage is through `transformers.pipeline`:
```python
from transformers import pipeline
pipe = pipeline("text-classification", model="dennlinger/bert-wiki-paragraphs")
pipe("{First paragraph} [SEP] {Second paragraph}")
```
A predicted "1" means that paragraphs belong to the same topic, a "0" indicates a disconnect.
## Training Setup
The model was trained for 3 epochs from `bert-base-uncased` on paragraph pairs (limited to 512 subwork with the `longest_first` truncation strategy).
We use a batch size of 24 wit 2 iterations gradient accumulation (effective batch size of 48), and a learning rate of 1e-4, with gradient clipping at 5.
Training was performed on a single Titan RTX GPU over the duration of 3 weeks.
| [
-0.005679548252373934,
-0.02424553968012333,
-0.021502217277884483,
0.0656423270702362,
0.022965310141444206,
0.03471044823527336,
-0.013901378959417343,
0.006315091159194708,
-0.03636673465371132,
0.05905266851186752,
0.02212432213127613,
0.01573580875992775,
0.0023598596453666687,
0.030402645468711853,
-0.04163379594683647,
-0.04885907471179962,
-0.013847904279828072,
-0.020786242559552193,
-0.001619836431927979,
0.0005534188239835203,
0.01014044601470232,
-0.00923863798379898,
0.020228708162903786,
0.007480761036276817,
0.006338313687592745,
0.00570934172719717,
-0.004133461508899927,
0.05153600126504898,
0.014490929432213306,
-0.058586470782756805,
0.009103869087994099,
-0.006234389264136553,
-0.050085924565792084,
-0.00900629535317421,
-0.006038281135261059,
-0.017281020060181618,
-0.007585296407341957,
-0.010055591352283955,
0.01035628654062748,
0.06336703896522522,
-0.028582196682691574,
-0.016167156398296356,
-0.012829829007387161,
-0.05459137260913849,
0.01434378419071436,
0.0008198025170713663,
-0.050444476306438446,
0.0002654573181644082,
0.03400634601712227,
-0.007222691085189581,
-0.04783685505390167,
-0.05002047121524811,
-0.045814525336027145,
0.025532498955726624,
-0.00239202962256968,
-0.027526235207915306,
-0.08537523448467255,
-0.007556650787591934,
0.06409373879432678,
-0.026009997352957726,
-0.03336998447775841,
0.023650184273719788,
-0.04135247692465782,
0.0060656326822936535,
-0.0014559007249772549,
-0.05665409564971924,
-0.00031109325936995447,
-0.061007920652627945,
0.01947934739291668,
-0.028553562238812447,
0.06221114844083786,
-0.018667662516236305,
0.0360686331987381,
-0.09815986454486847,
-0.008596028201282024,
0.0057739075273275375,
0.0160939060151577,
0.030654283240437508,
-0.031534645706415176,
0.04027479887008667,
-0.006989626679569483,
-0.005198745522648096,
0.032358456403017044,
-0.0073549821972846985,
0.015502703376114368,
0.07897448539733887,
-0.029706699773669243,
-0.010596321895718575,
-0.009274786338210106,
0.03634130209684372,
-0.03973352909088135,
-0.017826566472649574,
-0.015282955951988697,
-0.019482029601931572,
-0.030635632574558258,
0.033862221986055374,
0.012950657866895199,
-0.014177544042468071,
0.022860003635287285,
0.022123266011476517,
0.01174419280141592,
0.05251225084066391,
-0.038274701684713364,
0.02928769960999489,
-0.01675570197403431,
-0.007435631938278675,
-0.00609580148011446,
-0.028469206765294075,
-0.07298766821622849,
0.03668610006570816,
-0.0019895785953849554,
-0.03091907873749733,
-0.03862933814525604,
0.03296884521842003,
0.03404020518064499,
-0.021502070128917694,
0.04821518436074257,
-0.016627101227641106,
-0.03873879089951515,
-0.055101342499256134,
0.04014339670538902,
-0.004165819846093655,
-0.0046126265078783035,
0.006883089430630207,
-0.04920843243598938,
0.012639100663363934,
-0.03418458253145218,
-0.03142284229397774,
-0.0016365654300898314,
0.008112280629575253,
-0.011047000996768475,
0.057134926319122314,
0.031721193343400955,
-0.0510941818356514,
0.0038821487687528133,
0.003852497786283493,
-0.08357366174459457,
0.033304233103990555,
0.06406798213720322,
0.12274632602930069,
-0.06323421746492386,
-0.020880311727523804,
0.010732434689998627,
0.034858640283346176,
-0.014378908090293407,
0.004263503011316061,
0.006610130425542593,
-0.013884691521525383,
0.001061106682755053,
-0.01748579740524292,
0.04683120548725128,
-0.03245531767606735,
0.008538777008652687,
0.04193549603223801,
-0.008339193649590015,
0.042074013501405716,
-0.06142837181687355,
-0.000580030377022922,
0.01652807928621769,
0.0051285154186189175,
-0.0705084428191185,
0.024028433486819267,
-0.011538194492459297,
-0.01636566035449505,
-0.03148351609706879,
-0.03478993847966194,
-0.018031351268291473,
0.09419052302837372,
-0.012174713425338268,
-0.049571454524993896,
-0.08264865726232529,
-0.011743399314582348,
0.09214732050895691,
0.04479004815220833,
-0.01495453342795372,
0.016605211421847343,
0.04216449707746506,
0.06698359549045563,
-0.03201829269528389,
0.048431139439344406,
-0.006140165496617556,
-0.04190826416015625,
-0.02246430702507496,
0.008517568930983543,
0.015333055518567562,
-0.013568203896284103,
0.042197007685899734,
0.040365952998399734,
0.015652844682335854,
-0.02462361380457878,
-0.026213420554995537,
0.06390608847141266,
0.006020459346473217,
-0.005128571297973394,
0.005784463603049517,
0.004423028323799372,
-0.027925293892621994,
0.04103763774037361,
-0.04425926133990288,
-0.0010603067930787802,
0.0024063896853476763,
-0.03408059850335121,
0.027219083160161972,
0.011605463922023773,
0.04086584597826004,
0.025633659213781357,
0.0015644785016775131,
0.09765559434890747,
-0.040031228214502335,
0.007762770168483257,
-0.034322869032621384,
-0.028750739991664886,
-0.00791316106915474,
0.02543133869767189,
0.019480014219880104,
0.0411224365234375,
0.011502972804009914,
-0.044696368277072906,
0.016510041430592537,
0.032061994075775146,
0.050800926983356476,
0.042301665991544724,
-0.02280700020492077,
0.01366916112601757,
0.02765931934118271,
0.07299993187189102,
-0.009251377545297146,
-0.023319123312830925,
-0.008592617698013783,
0.036234691739082336,
-0.019802682101726532,
0.00015516221174038947,
-0.006903774570673704,
0.010077748447656631,
-0.04291098564863205,
-0.04746871069073677,
0.03420117124915123,
0.03142240643501282,
0.007835498079657555,
0.019332852214574814,
-0.011470652185380459,
0.02763608656823635,
0.024340443313121796,
0.0020439005456864834,
0.0009013409144245088,
-0.05367741733789444,
-0.01165660098195076,
0.029552416875958443,
0.03025822713971138,
-0.04395254701375961,
0.057827211916446686,
-0.0013965049292892218,
0.01438179425895214,
0.039354998618364334,
-0.029074499383568764,
0.04668356850743294,
0.042462557554244995,
-0.014662575908005238,
-0.034179769456386566,
0.04494953900575638,
0.007985017262399197,
0.019428133964538574,
0.07312271744012833,
0.010693066753447056,
0.0732525959610939,
0.008809746243059635,
0.06338400393724442,
0.08138921111822128,
0.006594702135771513,
0.011812909506261349,
0.04066871479153633,
0.036892421543598175,
-0.010515379719436169,
-0.00992573332041502,
0.057129133492708206,
-0.030385423451662064,
0.008466280996799469,
-0.04978420212864876,
0.021512147039175034,
-0.006308739073574543,
-0.01297511626034975,
0.015035959891974926,
0.014136054553091526,
0.001776175107806921,
0.029174186289310455,
-0.027614664286375046,
-0.005636458285152912,
0.04079430550336838,
-0.0025401292368769646,
0.020821847021579742,
0.011379583738744259,
-0.011013523675501347,
0.012887328863143921,
-0.07887198030948639,
-0.0509098581969738,
-0.001110364100895822,
-0.009766504168510437,
-0.0041758278384804726,
-0.09173588454723358,
-0.02644008956849575,
-0.09719361364841461,
-0.036122966557741165,
0.05592495575547218,
0.007884643971920013,
-0.010710235685110092,
-0.011173427104949951,
-0.001586251542903483,
-0.01805408112704754,
-0.012594995088875294,
-0.05138438567519188,
-0.03304370492696762,
-0.05921701714396477,
-0.08390762656927109,
0.03563912957906723,
0.009052521549165249,
0.02522045187652111,
0.006537535227835178,
-0.02355783060193062,
-0.05441628396511078,
-0.036109961569309235,
0.04874429106712341,
0.038131002336740494,
-0.02922125905752182,
-0.03610122576355934,
0.0333549864590168,
-0.017147311940789223,
0.036917246878147125,
-0.0060478318482637405,
-0.020973172038793564,
0.054726891219615936,
0.07006461918354034,
0.021274449303746223,
0.0265489649027586,
-0.006227437872439623,
-0.05770540237426758,
-0.06264013051986694,
-0.02975030429661274,
-0.04290516674518585,
-0.028186507523059845,
-0.053709015250205994,
-0.06254268437623978,
-0.042624570429325104,
-0.029468894004821777,
0.018157336860895157,
-0.01742841862142086,
-0.003779219463467598,
0.045059967786073685,
0.03715920075774193,
0.031320542097091675,
0.023619432002305984,
-0.04185229912400246,
-0.04284486919641495,
0.08097457140684128,
0.0020475629717111588,
0.0004319565778132528,
-0.09595940262079239,
-0.03239443153142929,
0.03838510811328888,
0.050221603363752365,
-0.0021467898041009903,
-0.018550749868154526,
0.06386571377515793,
0.01736685074865818,
0.009296402335166931,
0.042061273008584976,
-0.014039411209523678,
-0.030876556411385536,
0.0006575224688276649,
-0.02359396405518055,
-0.04494873434305191,
-0.04648497700691223,
-0.04328741878271103,
-0.02461927756667137,
0.03549322113394737,
-0.07573212683200836,
-0.04397153481841087,
-0.0012723050313070416,
0.01629127562046051,
0.03558814153075218,
0.009126121178269386,
-0.036595288664102554,
0.024547172710299492,
-0.04236485809087753,
-0.018131326884031296,
0.029191428795456886,
0.002191177336499095,
0.024649158120155334,
0.0331415981054306,
0.03597963601350784,
-0.011391520500183105,
0.04628021642565727,
0.0222763791680336,
0.035353098064661026,
0.02124357968568802,
-0.03823898360133171,
0.03828305006027222,
-0.019863292574882507,
0.034884098917245865,
-0.0281309112906456,
-0.015051579102873802,
-0.0641908198595047,
-0.0719420462846756,
0.0015234129969030619,
0.0009217402548529208,
-0.0006478139548562467,
-0.005571807734668255,
0.04428761079907417,
-0.029224757105112076,
-0.03625817224383354,
0.025023501366376877,
0.028810273855924606,
0.011594277806580067,
-0.03521915152668953,
0.03653121739625931,
-0.0032706791535019875,
0.034961141645908356,
-0.0564778707921505,
0.006434290669858456,
-0.039917897433042526,
-0.027103714644908905,
0.002588836709037423,
0.09349791705608368,
-0.00461561931297183,
0.02047163061797619,
0.07818840444087982,
0.028429988771677017,
-0.03977784886956215,
0.06494713574647903,
0.02369225025177002,
-0.00817438866943121,
-0.04612758010625839,
-0.010551714338362217,
-0.0000619455604464747,
-0.01988627202808857,
-0.02307070419192314,
-0.04866347461938858,
0.04843798652291298,
0.015099585987627506,
0.020277071744203568,
0.004331613890826702,
0.006806321907788515,
-0.03487103804945946,
-0.020787660032510757,
-0.052779220044612885,
-0.0027928075287491083,
-0.021531209349632263,
-0.02310025319457054,
0.046772606670856476,
0.0489654541015625,
0.021969802677631378,
0.050954826176166534,
0.033770158886909485,
-0.0347135104238987,
-0.0028366066981106997,
0.060660768300294876,
0.0442500002682209,
-0.048812709748744965,
-0.04244713485240936,
-0.03206302970647812,
0.03890638053417206,
0.056677184998989105,
-0.03716175630688667,
-0.10643977671861649,
0.005793550983071327,
0.04797894135117531,
-0.051299989223480225,
0.04451652243733406,
0.01415279135107994,
0.037353839725255966,
0.05144995450973511,
0.008041756227612495,
0.03512241691350937,
-0.011629755608737469,
0.004647361114621162,
-0.01823393441736698,
0.05049452930688858,
-0.016729621216654778,
-0.043374378234148026,
-0.019385680556297302,
0.05335862934589386,
0.005758034065365791,
0.062161196023225784,
0.03266875073313713,
-0.02658732980489731,
-0.024050084874033928,
0.011860194616019726,
-0.005108940880745649,
-0.0153622692450881,
0.01860482431948185,
0.019235124811530113,
0.0558025948703289,
-0.07785695046186447,
-0.04547225311398506,
-0.005223095882683992,
0.001223833649419248,
0.05192789435386658,
-0.017422042787075043,
-0.031049620360136032,
-0.06576976180076599,
-0.0048253233544528484,
-0.011911807581782341,
0.0114995576441288,
-0.0914086326956749,
0.022516470402479172,
0.018559005111455917,
-0.010400881059467793,
0.07147926092147827,
0.04862132668495178,
0.03133557736873627,
0.0519559308886528,
-0.02017192542552948,
0.018665293231606483,
-0.030305227264761925,
0.03856369107961655,
-0.03632047772407532,
-0.008537166751921177,
0.026227986440062523,
-0.034602414816617966,
-0.003851414890959859,
-0.04556746408343315,
-0.04513801634311676,
-0.03814961388707161,
-0.01161640603095293,
0.02993014268577099,
-0.006674334406852722,
0.0053358920849859715,
-0.018382882699370384,
0.008991306647658348,
-0.021292230114340782,
-0.0282431710511446,
-0.024190224707126617,
-0.02562357485294342,
-0.049977391958236694,
-0.014020713977515697,
0.0031308152247220278,
0.004195945803076029,
0.016333065927028656,
0.01163440477102995,
-0.006250863894820213,
-0.007338560186326504,
0.0031365505419671535,
-0.03781351074576378,
0.037797145545482635,
0.0023615325335413218,
-0.033700864762067795,
-0.053163450211286545,
0.004267796874046326,
0.030490132048726082,
-0.004534618463367224,
-0.023724889382719994,
0.024996234104037285,
0.010306566953659058,
-0.027554968371987343,
-0.03925522044301033,
0.04247954115271568,
0.019533878192305565,
-0.0849674865603447,
-0.056943509727716446,
-0.007922567427158356,
-0.045158252120018005,
0.054544370621442795,
-0.0006145689985714853,
-0.016946187242865562,
-0.003351359162479639,
0.027840856462717056,
0.010095799341797829,
-0.0026831708382815123,
-0.03833352401852608,
0.03352924436330795,
-0.03334905952215195,
0.030546970665454865,
-0.05653104931116104,
0.024249501526355743,
-0.03410624340176582,
0.00455845519900322,
-0.021174294874072075,
0.0058126202784478664,
-0.03562885522842407,
0.04125278443098068,
0.0022821847815066576,
-0.03984607011079788,
-0.025517653673887253,
0.011724643409252167,
-0.04674811661243439,
0.015623127110302448,
-0.00015044931205920875,
0.013219072483479977,
-0.017935488373041153,
0.07013514637947083,
-0.07071033865213394,
0.0011319741606712341,
-0.030760204419493675,
-0.02558213472366333,
-0.0406375378370285,
-0.02596191130578518,
-0.018225476145744324,
-0.04382375255227089,
0.013923314400017262,
0.0392812080681324,
0.026173565536737442,
0.03824198991060257,
0.006604879628866911,
0.015150743536651134,
0.01439387071877718,
-0.06797058880329132,
-0.029792949557304382,
0.005375465843826532,
0.002999101532623172,
-0.013418491929769516,
0.07029790431261063,
0.04187735170125961,
-0.05909913405776024,
-0.06078704446554184,
0.024510417133569717,
0.003608940402045846,
0.0007006871746852994,
-0.012886034324765205,
0.028275758028030396,
0.043850377202034,
0.03116552159190178,
-0.05232061818242073,
0.00515491608530283,
0.01253343466669321,
-0.04062885418534279,
0.02271265722811222,
0.00738971121609211,
0.02496238239109516,
0.002579742344096303,
-0.01987634040415287,
-0.03652620315551758,
0.05751892179250717,
0.020853791385889053,
0.014929523691534996,
-0.013650326058268547,
-0.036099448800086975,
0.005650334060192108,
0.038787659257650375,
-0.055796414613723755,
0.008817130699753761,
0.03359876200556755,
-0.03779102489352226,
0.051833830773830414,
-0.0003004030149895698,
-0.0030645604711025953,
0.05157299339771271,
0.012979983352124691,
-0.027137793600559235,
0.06454063951969147,
-0.028768597170710564,
-0.00903529766947031,
0.049626052379608154,
-0.06267564743757248,
-0.005083702504634857,
-0.028251251205801964,
0.08204026520252228,
-0.03179940953850746,
0.04198922961950302,
0.03279337286949158,
0.03642326220870018,
0.030760057270526886,
-0.024248220026493073,
-0.025237636640667915,
0.0012527668150141835,
-0.035951852798461914,
0.09445461630821228,
0.008406376466155052,
-0.06936944276094437,
0.07290881127119064,
0.013029292225837708,
-0.06926429271697998,
0.023839153349399567,
0.049036312848329544,
0.03935129567980766,
0.028188105672597885,
0.027432987466454506,
-0.04801914468407631,
0.001325612305663526,
-0.0324237085878849,
0.00848309975117445,
-0.032121442258358,
0.006933118216693401,
-0.017833096906542778,
-0.041920267045497894,
0.012562479823827744,
0.03962559252977371,
-0.03906458243727684,
0.004454588983207941,
0.02208058536052704,
-0.046505581587553024,
-0.06408168375492096,
-0.015202434733510017,
0.004309326875954866,
-0.028007226064801216,
-0.01631530560553074,
-0.02665134146809578,
0.021731512621045113,
0.007115890271961689,
-0.004913351032882929,
-0.0463310182094574,
0.011084754019975662,
0.012077884748578072,
-0.0780554786324501,
-0.03556600213050842,
0.040881454944610596,
0.00010998064681189135,
-0.05107071250677109,
0.023383934050798416,
-0.024434475228190422,
0.011858138255774975,
0.043870799243450165,
0.006735834758728743,
0.00572392251342535,
-0.04762556031346321,
0.030884120613336563,
0.029741141945123672,
-0.006364522967487574,
0.04728907346725464,
-0.023181280121207237,
0.007433323189616203,
0.012019001878798008,
0.038307636976242065,
0.022162990644574165,
-0.07692794501781464,
-0.004751325119286776,
0.015338067896664143,
-0.03140738978981972,
0.009565942920744419,
0.004810490645468235,
-0.050975389778614044,
-0.04035527631640434,
-0.028203701600432396,
-0.031127331778407097,
0.03212748095393181,
-0.049791526049375534,
0.027320997789502144,
0.028014125302433968,
-0.014439105987548828,
-0.036805037409067154,
-0.0848366841673851,
-0.030680017545819283,
-0.026768755167722702,
0.026436716318130493,
0.024119431152939796,
-0.015015959739685059,
0.027228929102420807,
-0.05722664296627045,
-0.043962132185697556,
0.02498958446085453,
0.01692691259086132,
-0.0652686133980751,
0.04854155331850052,
0.031406987458467484,
-0.027298912405967712,
0.01552791241556406,
0.036294519901275635,
-0.030404523015022278,
0.029776958748698235,
0.003975667525082827,
0.019725950434803963,
0.01080236490815878,
0.037705522030591965,
-0.04392389953136444,
-0.01279144361615181,
-0.0681026354432106,
-0.047976426780223846,
-0.03748978301882744,
0.024514159187674522,
0.05511154606938362
] |
CarlosTron/Yo | [] | 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:
- de
- en
- multilingual
license: mit
tags:
- english
- german
---
# Bilingual English + German SQuAD2.0
We created German Squad 2.0 (**deQuAD 2.0**) and merged with [**SQuAD2.0**](https://rajpurkar.github.io/SQuAD-explorer/) into an English and German training data for question answering. The [**bert-base-multilingual-cased**](https://github.com/google-research/bert/blob/master/multilingual.md) is used to fine-tune bilingual QA downstream task.
## Details of deQuAD 2.0
[**SQuAD2.0**](https://rajpurkar.github.io/SQuAD-explorer/) was auto-translated into German. We hired professional editors to proofread the translated transcripts, correct mistakes and double check the answers to further polish the text and enhance annotation quality. The final German deQuAD dataset contains **130k** training and **11k** test samples.
## Overview
- **Language model:** bert-base-multilingual-cased
- **Language:** German, English
- **Training data:** deQuAD2.0 + SQuAD2.0 training set
- **Evaluation data:** SQuAD2.0 test set; deQuAD2.0 test set
- **Infrastructure:** 8xV100 GPU
- **Published**: July 9th, 2021
## Evaluation on English SQuAD2.0
```
HasAns_exact = 85.79622132253711
HasAns_f1 = 90.92004586077663
HasAns_total = 5928
NoAns_exact = 94.76871320437343
NoAns_f1 = 94.76871320437343
NoAns_total = 5945
exact = 90.28889076054915
f1 = 92.84713483219753
total = 11873
```
## Evaluation on German deQuAD2.0
```
HasAns_exact = 63.80526406330638
HasAns_f1 = 72.47269140789888
HasAns_total = 5813
NoAns_exact = 82.0291893792861
NoAns_f1 = 82.0291893792861
NoAns_total = 5687
exact = 72.81739130434782
f1 = 77.19858740470603
total = 11500
```
## Use Model in Pipeline
```python
from transformers import pipeline
qa_pipeline = pipeline(
"question-answering",
model="deutsche-telekom/bert-multi-english-german-squad2",
tokenizer="deutsche-telekom/bert-multi-english-german-squad2"
)
contexts = ["Die Allianz Arena ist ein FuΓballstadion im Norden von MΓΌnchen und bietet bei Bundesligaspielen 75.021 PlΓ€tze, zusammengesetzt aus 57.343 SitzplΓ€tzen, 13.794 StehplΓ€tzen, 1.374 LogenplΓ€tzen, 2.152 Business Seats und 966 SponsorenplΓ€tzen. In der Allianz Arena bestreitet der FC Bayern MΓΌnchen seit der Saison 2005/06 seine Heimspiele. Bis zum Saisonende 2017 war die Allianz Arena auch SpielstΓ€tte des TSV 1860 MΓΌnchen.",
"Harvard is a large, highly residential research university. It operates several arts, cultural, and scientific museums, alongside the Harvard Library, which is the world's largest academic and private library system, comprising 79 individual libraries with over 18 million volumes. "]
questions = ["Wo befindet sich die Allianz Arena?",
"What is the worlds largest academic and private library system?"]
qa_pipeline(context=contexts, question=questions)
```
# Output:
```json
[{'score': 0.7290093898773193,
'start': 44,
'end': 62,
'answer': 'Norden von MΓΌnchen'},
{'score': 0.7979822754859924,
'start': 134,
'end': 149,
'answer': 'Harvard Library'}]
```
## License - The MIT License
Copyright (c) 2021 Fang Xu, Deutsche Telekom AG
| [
0.011646701954305172,
-0.01679367385804653,
-0.02509572170674801,
0.06619442999362946,
0.051812928169965744,
0.02358291484415531,
-0.014242059551179409,
0.002900714287534356,
-0.049187444150447845,
0.04210967570543289,
0.012718088924884796,
-0.016038330271840096,
0.005531141068786383,
0.05378635972738266,
-0.06000504642724991,
-0.03549710288643837,
0.0017862670356407762,
0.0025067171081900597,
-0.046429168432950974,
-0.044661156833171844,
-0.0010696607641875744,
0.02116670273244381,
0.009748861193656921,
0.005675030872225761,
0.02651158720254898,
0.00796631257981062,
-0.015934841707348824,
0.041347358375787735,
0.025513892993330956,
-0.050856780260801315,
0.0007488280534744263,
-0.00698730256408453,
-0.0423162505030632,
-0.04054340347647667,
-0.00873605813831091,
-0.010489769279956818,
0.025752894580364227,
0.007113582920283079,
0.04379371181130409,
0.026656076312065125,
-0.018269376829266548,
0.020720791071653366,
-0.024828627705574036,
-0.02983633242547512,
0.05947402864694595,
0.008662757463753223,
-0.040895022451877594,
-0.043523795902729034,
0.013035671785473824,
-0.046404313296079636,
-0.05272280052304268,
-0.08227918297052383,
-0.03521817922592163,
0.006077257450670004,
0.021854130551218987,
-0.030008239671587944,
-0.07154963165521622,
0.009376765228807926,
0.046246882528066635,
-0.056734535843133926,
-0.03896389901638031,
0.029535232111811638,
-0.05969078838825226,
-0.0026010973379015923,
0.024757100269198418,
-0.06588175147771835,
-0.004721667151898146,
-0.03462294861674309,
0.026947015896439552,
-0.010685164481401443,
0.06985127180814743,
-0.029335344210267067,
0.048090070486068726,
-0.06780289113521576,
0.011552326381206512,
-0.00842901598662138,
0.0107860267162323,
0.038536932319402695,
-0.04088176414370537,
0.05429616943001747,
0.023476295173168182,
0.005589758511632681,
0.01165610272437334,
-0.046271417289972305,
-0.029348580166697502,
0.05657413229346275,
-0.034484125673770905,
-0.0007640326512046158,
-0.001679538283497095,
0.032409220933914185,
-0.024782579392194748,
-0.02537604048848152,
-0.023970115929841995,
-0.008663277141749859,
-0.011318494565784931,
0.020133327692747116,
0.02711380459368229,
-0.021664157509803772,
0.006454587914049625,
0.0324719063937664,
0.026304615661501884,
0.06261486560106277,
-0.02039981633424759,
0.05806644633412361,
-0.009838663041591644,
0.012762945145368576,
-0.0003673646424431354,
-0.024400781840085983,
-0.0435464009642601,
0.024644432589411736,
0.03586049750447273,
-0.03333795443177223,
-0.014914761297404766,
0.042269762605428696,
0.03331771865487099,
0.00640980014577508,
0.05964357405900955,
-0.016871463507413864,
-0.024711454287171364,
-0.0637907162308693,
0.03494563698768616,
0.012081648223102093,
-0.015897691249847412,
0.03961660712957382,
-0.04228408634662628,
0.006235156673938036,
-0.054239191114902496,
-0.04161464795470238,
0.005781888961791992,
-0.002226044423878193,
-0.002534283325076103,
0.05361646041274071,
0.015031756833195686,
-0.06638224422931671,
0.02666105516254902,
-0.00789783988147974,
-0.05550150200724602,
0.00485624186694622,
0.021291522309184074,
0.09804634004831314,
-0.038669317960739136,
-0.046377986669540405,
0.030600320547819138,
0.019359219819307327,
0.0029557154048234224,
0.012334125116467476,
0.0035020937211811543,
-0.014282201416790485,
-0.011834569275379181,
0.011813211254775524,
0.06781275570392609,
-0.02091008611023426,
0.010282539762556553,
0.04546262323856354,
-0.01220223680138588,
0.045348744839429855,
-0.0427253432571888,
0.0008992528892122209,
-0.003142261179164052,
-0.011700051836669445,
-0.033617053180933,
0.029682623222470284,
-0.024330979213118553,
-0.031072160229086876,
-0.04353858903050423,
-0.03239142894744873,
-0.006555857602506876,
0.10839946568012238,
0.006230304948985577,
-0.026126164942979813,
-0.03966260701417923,
0.02371501736342907,
0.05246756970882416,
0.0291907861828804,
-0.019025268033146858,
0.026599766686558723,
0.03748224303126335,
0.029740363359451294,
0.004906839225441217,
0.05839529260993004,
0.016246125102043152,
-0.03153882920742035,
-0.02702564187347889,
0.040800321847200394,
-0.0006086730863898993,
-0.030377371236681938,
0.025390099734067917,
0.0338776521384716,
0.007947344332933426,
-0.031482841819524765,
-0.03463132306933403,
0.06267214566469193,
-0.03912988305091858,
-0.013270939700305462,
0.01108603086322546,
0.01633235439658165,
-0.026809880509972572,
0.043948590755462646,
-0.040772393345832825,
0.018073737621307373,
-0.04141217842698097,
-0.004861033987253904,
0.04274970293045044,
0.025982769206166267,
0.027835937216877937,
0.0425841361284256,
0.008116818964481354,
0.10515035688877106,
-0.031530071049928665,
0.007220312021672726,
-0.05218750983476639,
-0.033509511500597,
-0.0028520026244223118,
0.06205819174647331,
0.06514398008584976,
0.042612843215465546,
-0.006890332326292992,
-0.04601084440946579,
0.0521593913435936,
0.0956791415810585,
0.05293864756822586,
0.008094286546111107,
-0.009151959791779518,
-0.029883794486522675,
0.03985690698027611,
0.047929368913173676,
-0.03349435329437256,
-0.029837679117918015,
0.005956108216196299,
0.02209879830479622,
-0.00921094324439764,
0.006064311601221561,
-0.014574072323739529,
0.01497207023203373,
-0.04417195916175842,
-0.07014313340187073,
0.040712397545576096,
0.009145260788500309,
-0.009890712797641754,
0.043098852038383484,
0.0002185736520914361,
0.01118658110499382,
0.017462655901908875,
0.024561729282140732,
0.00751127302646637,
-0.03139874339103699,
0.014422262087464333,
0.007694929372519255,
0.06903912127017975,
-0.044119514524936676,
0.03463701531291008,
0.014267092570662498,
0.027471676468849182,
0.06237146258354187,
-0.03915174677968025,
0.03660275414586067,
0.028161797672510147,
-0.00249077589251101,
-0.024619916453957558,
0.02134285680949688,
0.04224955663084984,
0.03027273714542389,
0.08462518453598022,
-0.007162208203226328,
0.0667354092001915,
0.028709735721349716,
0.030502934008836746,
0.07624009251594543,
0.029976950958371162,
0.03919653221964836,
0.024923188611865044,
0.058420661836862564,
0.0029965199064463377,
0.0036581624299287796,
0.02380766160786152,
-0.05726434290409088,
0.007683672942221165,
-0.01846141740679741,
0.018282083794474602,
0.02320309542119503,
0.009461753070354462,
0.03458325192332268,
0.017072590067982674,
-0.02194005437195301,
0.02317415550351143,
-0.0014990000054240227,
-0.006800040137022734,
0.04437590390443802,
-0.012625208124518394,
0.025228869169950485,
0.011868634261190891,
-0.03829871118068695,
0.01216849498450756,
-0.0609363354742527,
-0.052523307502269745,
-0.008319331333041191,
-0.017037255689501762,
0.011432716622948647,
-0.05491698905825615,
-0.02599341794848442,
-0.07589814066886902,
-0.020093809813261032,
0.049314625561237335,
0.0031916906591504812,
0.004519550129771233,
-0.0007813030970282853,
0.02617567963898182,
-0.035118237137794495,
-0.037404581904411316,
-0.02320491336286068,
-0.048021189868450165,
-0.039578769356012344,
-0.05911823362112045,
0.03551805019378662,
0.043641768395900726,
0.02099275402724743,
0.018414601683616638,
0.02031688764691353,
-0.004552515689283609,
-0.030390730127692223,
0.05115177482366562,
0.05727342143654823,
-0.027754906564950943,
-0.05927431583404541,
0.011936534196138382,
-0.00905782263725996,
0.02524496801197529,
-0.006989597342908382,
-0.03329063951969147,
0.07921218127012253,
0.06505575031042099,
0.0008877685759216547,
0.0034372785594314337,
0.0017850873991847038,
-0.03545710816979408,
-0.05196229740977287,
-0.04185997322201729,
-0.022951636463403702,
-0.007530326023697853,
-0.049083516001701355,
-0.028808534145355225,
-0.0361487902700901,
-0.03253566846251488,
0.016112780198454857,
0.002465506549924612,
0.019513683393597603,
0.04704955965280533,
0.04702219367027283,
0.010172010399401188,
0.01317374687641859,
-0.0495697446167469,
0.0014617214910686016,
0.08089093118906021,
-0.01000863779336214,
0.03419438377022743,
-0.07943462580442429,
-0.03429457172751427,
0.046534258872270584,
0.013705683872103691,
0.0019904517102986574,
-0.007513922173529863,
0.08947432786226273,
0.013301660306751728,
0.0077148484997451305,
-0.005037674214690924,
-0.02036730758845806,
-0.05059913545846939,
0.018909797072410583,
0.008033446036279202,
-0.03546495363116264,
-0.05944540351629257,
-0.021839015185832977,
0.0299950260668993,
0.045050326734781265,
-0.054324474185705185,
-0.03880130872130394,
-0.037411388009786606,
0.04371616244316101,
0.016480572521686554,
-0.014932886697351933,
-0.02054128237068653,
0.004681497346609831,
-0.03749864175915718,
-0.04594002664089203,
0.004753987770527601,
0.006379925180226564,
-0.006595665588974953,
0.036274559795856476,
0.008824328891932964,
-0.031075283885002136,
0.04619691148400307,
0.015743527561426163,
0.04412288963794708,
0.03537822514772415,
-0.025125954300165176,
0.020221227779984474,
-0.03178161755204201,
0.014798155054450035,
0.016479367390275,
-0.030465142801404,
-0.03011099435389042,
-0.09988466650247574,
0.007982430048286915,
0.031714726239442825,
-0.015318631194531918,
-0.021324463188648224,
0.04436150938272476,
0.010159840807318687,
-0.0009979188907891512,
-0.022234005853533745,
-0.012051143683493137,
0.03920266032218933,
-0.024464784190058708,
0.07177702337503433,
0.005278946366161108,
0.031192969530820847,
-0.049656759947538376,
0.03227241337299347,
-0.03030962496995926,
-0.004232131876051426,
0.023542994633316994,
0.05937802791595459,
-0.011573533527553082,
0.04735737293958664,
0.06914111226797104,
0.03532009944319725,
-0.044226229190826416,
0.03437749668955803,
0.046625446528196335,
-0.028190968558192253,
-0.02028302662074566,
-0.020109940320253372,
-0.009113285690546036,
-0.021980660036206245,
-0.0024062704760581255,
-0.025802239775657654,
0.03533650189638138,
0.03863724321126938,
0.00015782535774633288,
-0.0033481980208307505,
0.03168420493602753,
-0.017496353015303612,
-0.050869278609752655,
-0.014976007863879204,
-0.010565191507339478,
0.0035263795871287584,
0.01179445255547762,
0.04973293095827103,
0.03005443513393402,
0.010291595943272114,
0.03078976832330227,
0.03483836352825165,
-0.012983694672584534,
-0.045890942215919495,
0.02698134444653988,
0.01754886843264103,
-0.05594523251056671,
-0.06992527097463608,
-0.045675355941057205,
0.059099484235048294,
0.035722516477108,
-0.0031814889516681433,
-0.07008989155292511,
0.006929554510861635,
0.08883826434612274,
-0.042449239641427994,
0.0565124973654747,
-0.0013781114248558879,
0.047108929604291916,
0.07192416489124298,
-0.02491108700633049,
0.013752183876931667,
-0.013979647308588028,
0.028359631076455116,
-0.02168217860162258,
0.03694728761911392,
-0.02349424920976162,
-0.04089014232158661,
-0.07150227576494217,
0.013330639339983463,
0.06024312600493431,
0.04512616619467735,
0.030122116208076477,
-0.015116628259420395,
-0.03103628382086754,
0.015051332302391529,
0.03338542580604553,
-0.06699511408805847,
0.018353331834077835,
0.035609062761068344,
0.033428698778152466,
-0.0599210225045681,
-0.033434681594371796,
-0.011450683698058128,
0.009348338469862938,
0.044919319450855255,
-0.01307725254446268,
-0.01506055798381567,
-0.07542126625776291,
0.05006243661046028,
-0.03701109066605568,
-0.045048005878925323,
-0.07132765650749207,
0.04002319648861885,
-0.030460337176918983,
-0.003639277070760727,
0.060601651668548584,
0.03190959617495537,
0.026476940140128136,
0.06112745404243469,
-0.01924511045217514,
-0.002752868225798011,
-0.054120514541864395,
0.042171411216259,
-0.033528294414281845,
-0.016159875318408012,
-0.0021000916603952646,
-0.003057097317650914,
-0.015846315771341324,
-0.02219700813293457,
-0.036540187895298004,
-0.051160238683223724,
-0.027665313333272934,
0.027656350284814835,
-0.004445037338882685,
-0.0007653975044377148,
-0.0333864763379097,
0.027204817160964012,
-0.01789352297782898,
-0.044731829315423965,
-0.001848021405749023,
-0.009904159232974052,
-0.05785913020372391,
-0.051477059721946716,
0.013179193250834942,
-0.01342626940459013,
0.01197662204504013,
0.041909608989953995,
0.02816702239215374,
-0.00038802868220955133,
-0.010102237574756145,
-0.036505356431007385,
0.014275758527219296,
-0.00675536971539259,
-0.019828351214528084,
-0.03393574431538582,
0.00294036278501153,
0.00016350680380128324,
0.041072700172662735,
-0.04038320109248161,
0.04368385300040245,
0.019765324890613556,
-0.007408229634165764,
-0.01682489737868309,
0.02106505259871483,
0.04125199466943741,
-0.09304803609848022,
-0.05825156718492508,
-0.0316779688000679,
-0.043697256594896317,
0.026653824374079704,
-0.044426947832107544,
-0.05412817746400833,
0.03548078611493111,
0.009705749340355396,
0.0402488112449646,
0.02773088961839676,
-0.045298006385564804,
0.05642705783247948,
0.0017482335679233074,
0.010785098187625408,
-0.056285977363586426,
0.017489172518253326,
-0.021640747785568237,
-0.008213542401790619,
-0.01868353970348835,
0.009833806194365025,
-0.038784973323345184,
0.038073647767305374,
-0.045451756566762924,
-0.025119269266724586,
-0.022365638986229897,
-0.014023744501173496,
-0.01754266768693924,
0.029766742140054703,
-0.02485813945531845,
0.02113775908946991,
-0.05109001323580742,
0.04200083762407303,
-0.06065385416150093,
-0.004672227893024683,
-0.01887320727109909,
-0.0062486170791089535,
-0.01913801021873951,
0.023185258731245995,
-0.016901519149541855,
-0.04332800582051277,
-0.007422254886478186,
0.037585217505693436,
0.02844078093767166,
0.007708919234573841,
-0.03339851647615433,
-0.01295764371752739,
0.02625172771513462,
-0.04236060380935669,
-0.002698441967368126,
-0.019737809896469116,
0.0032215826213359833,
-0.00259581976570189,
0.04133709892630577,
0.04029945656657219,
-0.05347483232617378,
-0.05060110613703728,
0.04447494074702263,
-0.0014178241835907102,
0.013706313446164131,
0.020706020295619965,
0.011918543837964535,
0.03321698307991028,
0.0217338427901268,
-0.031647276133298874,
-0.006594318896532059,
-0.017408378422260284,
-0.007332436740398407,
-0.008838338777422905,
-0.004911776632070541,
0.011405331082642078,
0.014994322322309017,
-0.00525035010650754,
-0.02808781899511814,
0.07852967083454132,
0.022998759523034096,
0.02668624557554722,
-0.009233139455318451,
-0.03351693972945213,
0.035492170602083206,
0.0015457791741937399,
-0.018201656639575958,
0.013270162045955658,
-0.016567394137382507,
-0.040081415325403214,
0.057487279176712036,
-0.007104790769517422,
0.007937004789710045,
0.06311017274856567,
0.006064189597964287,
-0.02822936698794365,
0.04889240860939026,
-0.014203007332980633,
-0.009562421590089798,
0.05273773521184921,
-0.06885644793510437,
-0.010978869162499905,
-0.04233887046575546,
0.0651300773024559,
-0.06600327789783478,
0.03090757317841053,
0.03571236878633499,
0.013816481456160545,
0.03572402894496918,
-0.03151210397481918,
-0.04011904075741768,
0.01105831004679203,
-0.03209470957517624,
0.05491044744849205,
0.008303912356495857,
-0.030599556863307953,
0.0739317312836647,
0.02454902045428753,
-0.06634021550416946,
0.016315890476107597,
0.04259110242128372,
0.04812171682715416,
0.05310559645295143,
0.043496470898389816,
-0.07412469387054443,
0.031431231647729874,
-0.017113350331783295,
0.04414944350719452,
-0.05736900493502617,
-0.07098234444856644,
0.020470846444368362,
-0.038034942001104355,
0.012033876962959766,
0.00028868590015918016,
-0.018859170377254486,
0.00415864447131753,
0.020489200949668884,
-0.07266440242528915,
-0.046169813722372055,
0.02005000039935112,
0.029197296127676964,
-0.05419713631272316,
0.007613024208694696,
-0.034812189638614655,
0.03336078301072121,
0.0527176558971405,
0.010559429414570332,
-0.01907499134540558,
-0.010751170106232166,
0.011222878471016884,
-0.05372978374361992,
-0.04621782526373863,
0.02593977376818657,
-0.005214193370193243,
-0.04252070561051369,
0.026617232710123062,
-0.033830177038908005,
0.004763101227581501,
0.013197029940783978,
0.003976224455982447,
0.014584946446120739,
-0.033213742077350616,
0.029037335887551308,
-0.007511295843869448,
0.02555716037750244,
-0.014330802485346794,
-0.019607121124863625,
0.03472178801894188,
0.03910047560930252,
0.03744326904416084,
-0.003223748179152608,
-0.05089518427848816,
-0.01106246281415224,
0.06221148744225502,
-0.033555660396814346,
0.006421527825295925,
-0.03573589026927948,
-0.07138530164957047,
-0.03620629385113716,
-0.028417473658919334,
0.018437230959534645,
0.03311499208211899,
-0.05348409712314606,
0.004938825964927673,
0.017044736072421074,
-0.022633343935012817,
-0.037634145468473434,
-0.08703330159187317,
-0.017985882237553596,
-0.04627100005745888,
0.03775040805339813,
0.04985475912690163,
-0.06844846904277802,
-0.001958605134859681,
-0.04078148677945137,
-0.058496616780757904,
0.03422503173351288,
0.03136245161294937,
-0.06363661587238312,
0.049940336495637894,
0.02943749539554119,
-0.06411910802125931,
0.0027318717911839485,
0.0427800752222538,
-0.01323139388114214,
0.053283143788576126,
0.008482263423502445,
0.02431531436741352,
0.031522300094366074,
0.028120702132582664,
-0.010793650522828102,
-0.029360713437199593,
-0.04356911778450012,
-0.04827862232923508,
-0.022276006639003754,
0.018002036958932877,
0.07054073363542557
] |
Cedille/fr-boris | [
"pytorch",
"gptj",
"text-generation",
"fr",
"dataset:c4",
"arxiv:2202.03371",
"transformers",
"causal-lm",
"license:mit",
"has_space"
] | text-generation | {
"architectures": [
"GPTJForCausalLM"
],
"model_type": "gptj",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": 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
}
}
} | 401 | null | ---
license: mit
tags:
- generated_from_trainer
datasets:
- x_glue
metrics:
- precision
- recall
- f1
- accuracy
model-index:
- name: bert-base-NER-finetuned-ner
results:
- task:
name: Token Classification
type: token-classification
dataset:
name: x_glue
type: x_glue
args: ner
metrics:
- name: Precision
type: precision
value: 0.2273838630806846
- name: Recall
type: recall
value: 0.11185727172496743
- name: F1
type: f1
value: 0.14994961370507223
- name: Accuracy
type: accuracy
value: 0.8485324947589099
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# bert-base-NER-finetuned-ner
This model is a fine-tuned version of [dslim/bert-base-NER](https://huggingface.co/dslim/bert-base-NER) on the x_glue dataset.
It achieves the following results on the evaluation set:
- Loss: 1.4380
- Precision: 0.2274
- Recall: 0.1119
- F1: 0.1499
- Accuracy: 0.8485
## 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 | Precision | Recall | F1 | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 0.0822 | 1.0 | 878 | 1.1648 | 0.2068 | 0.1101 | 0.1437 | 0.8471 |
| 0.0102 | 2.0 | 1756 | 1.2697 | 0.2073 | 0.1110 | 0.1445 | 0.8447 |
| 0.0049 | 3.0 | 2634 | 1.3945 | 0.2006 | 0.1073 | 0.1399 | 0.8368 |
| 0.0025 | 4.0 | 3512 | 1.3994 | 0.2243 | 0.1126 | 0.1499 | 0.8501 |
| 0.0011 | 5.0 | 4390 | 1.4380 | 0.2274 | 0.1119 | 0.1499 | 0.8485 |
### Framework versions
- Transformers 4.10.2
- Pytorch 1.9.0+cu102
- Datasets 1.12.1
- Tokenizers 0.10.3
| [
-0.013176409527659416,
0.007933689281344414,
-0.0011652823304757476,
0.028024639934301376,
0.04224315285682678,
0.02829032950103283,
-0.02761484496295452,
-0.028023457154631615,
-0.042843837291002274,
0.056875474750995636,
0.032684605568647385,
-0.024177739396691322,
0.02496752329170704,
0.02293977327644825,
-0.03515790030360222,
-0.030173957347869873,
-0.0008605367038398981,
-0.0030075989197939634,
-0.022031042724847794,
-0.01735496334731579,
-0.00004654510485124774,
0.008280671201646328,
-0.00004311679003876634,
0.004068519454449415,
-0.003566812025383115,
-0.006934019271284342,
0.005472893826663494,
0.014827731996774673,
0.057125307619571686,
-0.053475137799978256,
0.008747032843530178,
-0.051447879523038864,
-0.048736076802015305,
-0.02970011718571186,
-0.0076827844604849815,
-0.002314648823812604,
0.011473494581878185,
-0.00671119662001729,
0.02636895515024662,
0.07504311203956604,
-0.011732839979231358,
0.016101066023111343,
-0.004578381776809692,
-0.03444232791662216,
0.02759072370827198,
-0.0027783592231571674,
-0.03121056593954563,
-0.000044107171561336145,
0.04317780211567879,
-0.040709856897592545,
-0.07168456166982651,
-0.0676952451467514,
-0.025025349110364914,
0.03610100969672203,
-0.019941391423344612,
-0.02447344735264778,
-0.05362624675035477,
-0.015828285366296768,
0.06403904408216476,
-0.033968519419431686,
-0.05513286590576172,
0.02957770600914955,
-0.047034334391355515,
0.005849943496286869,
0.01434151828289032,
-0.006175530143082142,
-0.0031867017969489098,
-0.03298478573560715,
0.042344942688941956,
-0.022081555798649788,
0.06636805832386017,
-0.01683489978313446,
0.006609761156141758,
-0.07510562986135483,
-0.020801760256290436,
-0.009011265821754932,
0.035861797630786896,
0.04823926091194153,
-0.03944013640284538,
0.032101549208164215,
0.049822427332401276,
-0.010033649392426014,
0.05413152277469635,
-0.0209633931517601,
-0.002732899272814393,
0.008698172867298126,
-0.04292314872145653,
0.02063976228237152,
0.036959003657102585,
0.03225148469209671,
-0.021292880177497864,
-0.02764514647424221,
-0.04401574283838272,
-0.027017176151275635,
-0.022124845534563065,
0.014299760572612286,
0.03727974370121956,
0.02551199309527874,
0.02480958215892315,
0.003136944957077503,
0.04514041170477867,
0.029914772137999535,
-0.02349996566772461,
0.06472688168287277,
-0.001271517830900848,
-0.017624272033572197,
-0.012229437939822674,
-0.009559539146721363,
-0.03700931370258331,
0.015859359875321388,
0.04526374861598015,
-0.02793656848371029,
-0.03165924921631813,
0.03170676529407501,
0.0021525840274989605,
-0.008677445352077484,
0.06370734423398972,
-0.012019638903439045,
-0.028579408302903175,
-0.039756301790475845,
0.03360673785209656,
0.007851594127714634,
0.050309132784605026,
0.004378691781312227,
-0.03764226660132408,
-0.007589832413941622,
-0.01438948418945074,
-0.03491135314106941,
-0.01649792119860649,
0.0017286998918280005,
0.0030417628586292267,
0.05691452696919441,
0.002524664858356118,
-0.07969193160533905,
0.00875792931765318,
0.007623341400176287,
-0.035818904638290405,
0.06157512217760086,
0.008614781312644482,
0.12811283767223358,
-0.04354469105601311,
-0.09024600684642792,
0.0246579647064209,
0.025099903345108032,
-0.03031117469072342,
0.0026263624895364046,
0.02284017764031887,
-0.03919960930943489,
-0.026295771822333336,
0.014527356252074242,
0.04163859039545059,
-0.05923162028193474,
0.0005038303206674755,
0.08066411316394806,
-0.010934939607977867,
0.02822072245180607,
-0.052627597004175186,
-0.014983948320150375,
0.0006658296333625913,
-0.005224007181823254,
-0.003724898211658001,
0.05335235223174095,
-0.028001736849546432,
-0.009576697833836079,
-0.02518979273736477,
-0.05288254842162132,
-0.0012497244169935584,
0.07820384949445724,
-0.010062132962048054,
-0.02633376605808735,
-0.03531770035624504,
0.030136095359921455,
0.04063750430941582,
0.04953271523118019,
-0.018675902858376503,
0.053055375814437866,
0.07310502231121063,
0.04348905384540558,
-0.045023687183856964,
0.030229974538087845,
0.01239086128771305,
-0.021002762019634247,
-0.02176559716463089,
-0.006778107024729252,
-0.014317565597593784,
-0.04350512474775314,
0.025535322725772858,
0.015027281828224659,
0.024346759542822838,
-0.05972091853618622,
-0.04789828509092331,
0.04864974692463875,
-0.0017058785306289792,
0.009463513270020485,
0.012560482136905193,
-0.011451463215053082,
-0.01675301045179367,
0.04199698939919472,
-0.005185304209589958,
0.0110313780605793,
-0.028471708297729492,
-0.04794005677103996,
0.013939080759882927,
0.000933414208702743,
0.039946217089891434,
0.049290068447589874,
-0.00524585647508502,
0.06267908960580826,
-0.03020874410867691,
0.03387270122766495,
-0.034896958619356155,
-0.03253720700740814,
-0.000924964842852205,
0.07698606699705124,
0.0530044361948967,
0.03762846067547798,
-0.00440135458484292,
-0.03912045806646347,
0.021508701145648956,
0.07089468091726303,
0.01841406337916851,
-0.004724518861621618,
-0.050790611654520035,
-0.026257839053869247,
0.06488195806741714,
0.03547047823667526,
-0.08126715570688248,
-0.017959225922822952,
0.022760268300771713,
0.01668965071439743,
0.009951209649443626,
0.011091992259025574,
-0.028628375381231308,
0.027026865631341934,
-0.056390855461359024,
-0.0665913000702858,
0.0365775004029274,
-0.00015686672122683376,
-0.011596374213695526,
0.04046091064810753,
-0.010802414268255234,
0.011083816178143024,
0.02604762464761734,
0.019970761612057686,
0.0015573150012642145,
-0.058143358677625656,
0.0255720391869545,
0.018359243869781494,
0.043503616005182266,
-0.03967493772506714,
0.05190145596861839,
-0.020637253299355507,
0.01532713882625103,
0.03403900936245918,
-0.04043477401137352,
0.027661625295877457,
0.05174615979194641,
0.01042939629405737,
-0.026657644659280777,
0.01993153616786003,
0.024766582995653152,
0.045560430735349655,
0.02670562081038952,
-0.0035065978299826384,
0.06342567503452301,
-0.008034308440983295,
0.03830445557832718,
0.07110299170017242,
0.033946700394153595,
0.031915146857500076,
0.03147079795598984,
0.055658698081970215,
0.021513890475034714,
-0.01932794786989689,
0.06927728652954102,
-0.06020275130867958,
0.01563122309744358,
-0.04075615108013153,
0.0028720006812363863,
-0.008352498523890972,
-0.005154125392436981,
0.045709654688835144,
0.03947428986430168,
-0.010785036720335484,
-0.022929709404706955,
0.0037013492546975613,
-0.009041554294526577,
0.04167957976460457,
-0.006035065744072199,
-0.007604770828038454,
0.0018730002921074629,
-0.0024238983169198036,
-0.03288855403661728,
-0.07894480973482132,
-0.043406032025814056,
-0.018421534448862076,
-0.022938745096325874,
-0.01832740753889084,
-0.09728807955980301,
0.008756974712014198,
-0.07334302365779877,
-0.019232623279094696,
0.02542099915444851,
0.026044383645057678,
0.010873313061892986,
-0.02592374198138714,
0.018426649272441864,
-0.057346802204847336,
-0.04627847671508789,
-0.059389714151620865,
-0.03144027665257454,
-0.05498503893613815,
-0.0758238136768341,
0.02880316972732544,
0.025371234863996506,
0.04032199829816818,
0.005865404382348061,
0.017716215923428535,
-0.01634577475488186,
-0.022308073937892914,
0.06265038251876831,
0.06242220103740692,
-0.03540432080626488,
-0.037608858197927475,
0.02408676967024803,
-0.01822533644735813,
0.028137171640992165,
0.003025118261575699,
-0.028018759563565254,
0.0797707736492157,
0.08762884140014648,
0.024784862995147705,
0.0011843435931950808,
0.005205642431974411,
-0.04324212297797203,
-0.060202814638614655,
-0.028606005012989044,
-0.03754395246505737,
-0.01721065118908882,
-0.04735453426837921,
-0.0417821928858757,
-0.017772328108549118,
-0.031376149505376816,
-0.005182611756026745,
-0.0027160763274878263,
0.025888020172715187,
0.022987639531493187,
0.036713920533657074,
0.015251382254064083,
0.03225455433130264,
-0.034936871379613876,
-0.05097854137420654,
0.045514777302742004,
0.0014435159973800182,
-0.0001262446603504941,
-0.10033131390810013,
-0.016197172924876213,
0.036671582609415054,
0.009502503089606762,
0.007372060790657997,
-0.008832251653075218,
0.06933032721281052,
-0.009044620208442211,
-0.014602907933294773,
0.012642856687307358,
-0.028168346732854843,
-0.01486473809927702,
-0.0009618262993171811,
0.012271663174033165,
0.012785829603672028,
-0.04420062154531479,
-0.017386555671691895,
0.0023751086555421352,
0.036074765026569366,
-0.059234753251075745,
-0.04163230210542679,
-0.015263514593243599,
0.04722019284963608,
0.06084298714995384,
-0.0036413983907550573,
-0.03583367541432381,
-0.02124105393886566,
-0.059477973729372025,
-0.018601059913635254,
0.048162102699279785,
0.020902788266539574,
0.022369835525751114,
0.04712037742137909,
0.02380974218249321,
-0.02599407359957695,
0.03360436111688614,
0.0579843632876873,
0.06874524056911469,
-0.013923555612564087,
-0.05509098991751671,
0.010503661818802357,
-0.030258528888225555,
0.03543443605303764,
0.0027084886096417904,
-0.047309115529060364,
-0.01965724304318428,
-0.09989699721336365,
-0.0159238763153553,
-0.007852626964449883,
-0.017585789784789085,
-0.0002533943625167012,
0.019403381273150444,
-0.002601729705929756,
-0.00828664842993021,
0.005802379921078682,
0.013872692361474037,
0.03620893135666847,
-0.023486174643039703,
0.05923907458782196,
-0.022732902318239212,
0.02089463733136654,
-0.05047504976391792,
0.001996083417907357,
-0.019917357712984085,
-0.01243650447577238,
-0.004957817029207945,
0.05534157529473305,
0.0000900196100701578,
0.04016236215829849,
0.07613395899534225,
0.008973884396255016,
-0.05236680060625076,
0.047386534512043,
0.05574754625558853,
-0.0226595401763916,
-0.048051923513412476,
-0.03247162699699402,
0.006998706143349409,
-0.02987471967935562,
-0.014163457788527012,
-0.016854891553521156,
0.0365244559943676,
0.04810120537877083,
-0.00986409466713667,
0.006969090085476637,
0.0050240433774888515,
-0.007842915132641792,
-0.024516165256500244,
-0.08385322988033295,
-0.023761017248034477,
0.019183840602636337,
-0.037536799907684326,
0.023849420249462128,
0.042685311287641525,
-0.004768306389451027,
0.06079097464680672,
0.03870367631316185,
-0.026685653254389763,
-0.03841257840394974,
0.05789707601070404,
0.020872052758932114,
-0.027357375249266624,
-0.08196397125720978,
-0.0332619734108448,
0.03765405714511871,
0.05058208107948303,
-0.018259931355714798,
-0.045386314392089844,
-0.011116890236735344,
0.060940973460674286,
-0.04742089658975601,
0.06509383022785187,
-0.0025618458166718483,
0.0506080687046051,
0.06905577331781387,
-0.00034007910289801657,
0.04729191213846207,
-0.032157305628061295,
-0.01286961231380701,
-0.00030176262953318655,
0.002543741138651967,
-0.029053781181573868,
-0.02944353222846985,
-0.02091064862906933,
0.0218802597373724,
0.04790173098444939,
0.04939550161361694,
0.0401802733540535,
-0.024407457560300827,
-0.04234230890870094,
0.018485134467482567,
0.05967624858021736,
-0.056369598954916,
-0.014420063234865665,
0.04279611259698868,
0.05041368678212166,
-0.05922994017601013,
-0.04256325215101242,
-0.0433402881026268,
-0.02105613239109516,
0.02541459910571575,
0.016853056848049164,
-0.04316063970327377,
-0.05007637292146683,
0.037595637142658234,
0.006468612235039473,
-0.005821768194437027,
-0.07003306597471237,
0.051896657794713974,
-0.011383229866623878,
-0.020098894834518433,
0.0395406149327755,
0.03286352753639221,
0.040274690836668015,
0.058969493955373764,
0.035888671875,
-0.023302111774683,
-0.0463421568274498,
0.03270562365651131,
-0.04949936270713806,
-0.038436420261859894,
-0.0006193628069013357,
-0.03853180631995201,
-0.009944331832230091,
-0.012251569889485836,
-0.0337354876101017,
-0.06044745817780495,
-0.01599736325442791,
0.02647978626191616,
0.011957023292779922,
-0.008609014563262463,
-0.009678822010755539,
0.03724481910467148,
-0.03152681142091751,
-0.048826880753040314,
-0.032390471547842026,
-0.024176249280571938,
-0.054152097553014755,
-0.04743139445781708,
0.019417081028223038,
-0.0015802424168214202,
0.019537942484021187,
0.03786180540919304,
0.023024514317512512,
0.01832987368106842,
0.012947993353009224,
-0.04180029779672623,
0.010537137277424335,
-0.025203261524438858,
-0.018354292958974838,
-0.013225349597632885,
0.03952797129750252,
0.013301631435751915,
0.041426584124565125,
-0.04658488184213638,
0.04686297848820686,
0.01700657419860363,
-0.01349154394119978,
-0.006368476431816816,
0.025820132344961166,
0.015327973291277885,
-0.05761830881237984,
-0.03930257260799408,
-0.018689796328544617,
-0.02001313865184784,
0.026160188019275665,
-0.04718395322561264,
-0.0003552073903847486,
0.0005627490463666618,
0.014822980388998985,
0.039801303297281265,
0.003993865102529526,
-0.02029060199856758,
0.02711281180381775,
-0.015116207301616669,
0.05005864053964615,
-0.026173122227191925,
0.06197043135762215,
-0.03829667717218399,
0.016908999532461166,
-0.03185797110199928,
0.008725336752831936,
-0.029642602428793907,
0.029987184330821037,
-0.009073087945580482,
-0.02110484428703785,
-0.0007311860099434853,
0.022727426141500473,
-0.0378534197807312,
0.046043287962675095,
-0.01332163903862238,
0.0332927480340004,
-0.032275039702653885,
0.058830611407756805,
-0.04991905763745308,
0.0027257499750703573,
-0.02183714509010315,
0.03604726865887642,
-0.039757296442985535,
0.007473854813724756,
0.012385730631649494,
-0.02426818013191223,
0.045963022857904434,
0.0543353408575058,
0.020693225786089897,
0.015339129604399204,
-0.0056837075389921665,
-0.007718756329268217,
0.03029484860599041,
-0.027127211913466454,
-0.019023828208446503,
-0.0022666966542601585,
0.002041089814156294,
-0.019769001752138138,
0.05937808007001877,
0.05103706568479538,
-0.06728444993495941,
-0.06471634656190872,
0.06482134014368057,
0.0028308178298175335,
0.01700524426996708,
-0.003282790072262287,
0.057878781110048294,
0.02557281032204628,
0.043114010244607925,
-0.0368240624666214,
-0.013625530526041985,
-0.009493596851825714,
-0.050297532230615616,
0.0317150242626667,
-0.00957212783396244,
0.030784515663981438,
0.011053741909563541,
-0.025889040902256966,
-0.021719910204410553,
0.059856440871953964,
0.020644953474402428,
0.01741071604192257,
-0.017026856541633606,
-0.062124550342559814,
0.018276577815413475,
0.001488985726609826,
-0.0402132011950016,
0.013050664216279984,
0.02930949442088604,
-0.03970405086874962,
0.060212668031454086,
0.005328180734068155,
0.009582864120602608,
0.05781564861536026,
0.03535717353224754,
-0.0008974734228104353,
0.07578902691602707,
-0.02684970200061798,
0.014089039526879787,
0.033978089690208435,
-0.0666109099984169,
-0.014756313525140285,
-0.04119742289185524,
0.07214485108852386,
-0.042647834867239,
0.03627336770296097,
0.050599854439496994,
-0.016375312581658363,
-0.0002777389599941671,
-0.04003119841217995,
-0.0589422881603241,
0.00004382396218716167,
-0.031373120844364166,
0.06758793443441391,
-0.007676166482269764,
-0.04471515119075775,
0.047122225165367126,
0.032398246228694916,
-0.04403775557875633,
0.043408386409282684,
0.017572255805134773,
0.059665337204933167,
0.03263768553733826,
0.04384833574295044,
-0.06196390092372894,
0.013899348676204681,
-0.049458589404821396,
0.04562075063586235,
-0.05070209130644798,
-0.013173702172935009,
0.041094694286584854,
-0.023139720782637596,
-0.013447601348161697,
0.05266343429684639,
-0.03109053708612919,
-0.018218521028757095,
0.05206037312746048,
-0.0290981512516737,
-0.04201098531484604,
0.020657995715737343,
0.0064672911539673805,
-0.007664359640330076,
0.007331874221563339,
-0.03458279371261597,
0.010543079115450382,
0.011233081109821796,
0.007538384757936001,
-0.022675976157188416,
-0.00970605667680502,
0.05170818418264389,
-0.05689198151230812,
-0.02839544601738453,
0.036465123295784,
-0.013594289310276508,
-0.04209243506193161,
0.03986089676618576,
0.030079293996095657,
0.0098032895475626,
0.015882130712270737,
0.0005720415501855314,
0.005724102258682251,
-0.01934167742729187,
-0.018318941816687584,
0.004273843485862017,
0.011024953797459602,
0.03219189867377281,
-0.0016454263823106885,
0.031909484416246414,
0.03694143146276474,
0.01829676516354084,
0.0027417486999183893,
-0.03839695453643799,
-0.02084939181804657,
0.028669169172644615,
-0.014878293499350548,
-0.015696505084633827,
-0.019925039261579514,
-0.06347353756427765,
-0.03896172344684601,
-0.003955815453082323,
-0.037983398884534836,
0.023125553503632545,
-0.054584208875894547,
0.021415455266833305,
0.05028388276696205,
0.0018316853092983365,
-0.057360947132110596,
-0.0897829681634903,
-0.010322418063879013,
-0.01614772155880928,
0.0008920028922148049,
0.01505142543464899,
-0.012352967634797096,
0.023372145369648933,
-0.02126302383840084,
-0.05264322832226753,
0.03712685406208038,
0.008345387876033783,
-0.03086477518081665,
0.05815926566720009,
0.037217602133750916,
-0.04637785255908966,
0.004773290827870369,
0.023096127435564995,
-0.042997393757104874,
0.012036900036036968,
0.011112256906926632,
0.01694469340145588,
0.039362937211990356,
0.0033707022666931152,
-0.05896336957812309,
-0.020702864974737167,
-0.07205620408058167,
-0.03159786015748978,
-0.04358728229999542,
0.008276442997157574,
0.07511433213949203
] |
dccuchile/albert-tiny-spanish-finetuned-mldoc | [
"pytorch",
"albert",
"text-classification",
"transformers"
] | text-classification | {
"architectures": [
"AlbertForSequenceClassification"
],
"model_type": "albert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 32 | null | DistilBERT model trained on OSCAR nepali corpus from huggingface datasets.
We trained the DitilBERT language model on OSCAR nepali corpus and then for downstream sentiment analysis task. The dataset we used for sentiment analysis was first extracted from twitter filtering for devenagari text then labelled it as postive,negative and neutral. However, since neutral labels exceeded the positive and negative tweets we decided to use only positive and negative tweets for ease of training.
LABEL_1 = negative
LABEL_0 = positive | [
-0.01746663637459278,
-0.02301465906202793,
0.00005202734610065818,
0.024232329800724983,
0.042158421128988266,
0.0544980950653553,
-0.032652050256729126,
-0.02046370320022106,
-0.03424595668911934,
0.04346347972750664,
0.03398149833083153,
-0.02807037904858589,
0.030980689451098442,
0.045449148863554,
-0.01198510080575943,
-0.020777909085154533,
-0.03230719640851021,
-0.03758968785405159,
-0.032616086304187775,
0.01660587638616562,
0.005733721889555454,
0.012122666463255882,
-0.03643287345767021,
0.02637924998998642,
-0.010213165543973446,
0.034551847726106644,
-0.014577631838619709,
0.03632006421685219,
0.03248070552945137,
-0.06225954368710518,
0.002692045411095023,
-0.029598422348499298,
-0.01954847201704979,
0.009128984995186329,
-0.03647545352578163,
0.014555299654603004,
0.018267231062054634,
-0.0020039130467921495,
0.01955919712781906,
0.026170846074819565,
0.005501558072865009,
-0.005182810593396425,
-0.012591690756380558,
-0.0040224650874733925,
0.04275727644562721,
-0.004616527818143368,
-0.053703855723142624,
-0.02770715020596981,
0.022727159783244133,
-0.04417088255286217,
-0.04758678376674652,
-0.045106373727321625,
-0.044967930763959885,
0.04033222049474716,
0.012179635465145111,
-0.04186096414923668,
-0.04559299349784851,
-0.014387749135494232,
0.08594515174627304,
-0.05775371193885803,
-0.04715467989444733,
-0.004276764579117298,
-0.03251010179519653,
-0.01226028148084879,
0.039007630199193954,
-0.02866697870194912,
0.0081793749704957,
-0.05895121023058891,
-0.00460887560620904,
-0.03554728999733925,
0.0415339395403862,
-0.0534374974668026,
0.03772660717368126,
-0.06406433135271072,
-0.03162327781319618,
-0.011655031703412533,
0.06822210550308228,
0.051987677812576294,
-0.010548275895416737,
0.08288644999265671,
0.033650003373622894,
-0.01894151233136654,
0.016361437737941742,
-0.023156099021434784,
-0.007720414083451033,
0.05275702476501465,
-0.01481545902788639,
0.04249303787946701,
-0.01748146116733551,
0.025550970807671547,
-0.021753067150712013,
-0.01844995655119419,
-0.02667083963751793,
-0.014522729441523552,
0.003942069597542286,
0.058215804398059845,
0.032953422516584396,
0.0007507180562242866,
0.03842993453145027,
0.05040282383561134,
0.039528679102659225,
0.06115783751010895,
-0.03306560218334198,
0.05380796641111374,
0.0057158200070261955,
-0.012614342384040356,
-0.040499236434698105,
-0.04537723585963249,
-0.08049619197845459,
0.005117935594171286,
0.011363796889781952,
-0.048309650272130966,
-0.028681352734565735,
0.04247550666332245,
-0.022274047136306763,
-0.03407645598053932,
0.06449614465236664,
-0.06241702288389206,
-0.011853042058646679,
-0.0292244590818882,
0.011051098816096783,
-0.0003915930283255875,
-0.026057954877614975,
-0.048422690480947495,
-0.08602991700172424,
0.03667489066720009,
-0.03215217590332031,
-0.022425657138228416,
-0.006969784386456013,
0.026609616354107857,
0.020307740196585655,
0.027565602213144302,
0.03832721337676048,
-0.059626542031764984,
0.0018176507437601686,
0.043047063052654266,
-0.03918362036347389,
0.03536410257220268,
0.05424487963318825,
0.11093848943710327,
-0.06098274886608124,
-0.046795766800642014,
-0.018142186105251312,
0.02273033745586872,
-0.036991991102695465,
0.0011872394243255258,
0.028563881292939186,
-0.02226787991821766,
-0.031845539808273315,
-0.012383215129375458,
0.036518778651952744,
-0.04838847741484642,
-0.0072279940359294415,
0.06490117311477661,
0.014053615741431713,
0.03179384768009186,
-0.029920825734734535,
-0.030316339805722237,
-0.01977262832224369,
0.0014234366826713085,
-0.0447019562125206,
0.04456431791186333,
0.008470906876027584,
0.002702234545722604,
-0.03480054810643196,
-0.035946011543273926,
0.02709369920194149,
0.0707186684012413,
-0.01744731143116951,
-0.025836067274212837,
-0.03816664218902588,
0.019841639325022697,
0.04981522262096405,
0.02528606913983822,
0.004866704344749451,
-0.0031224542763084173,
0.06474558264017105,
0.040665868669748306,
-0.010129551403224468,
0.04342661798000336,
0.005428096279501915,
-0.034447744488716125,
-0.003939469810575247,
-0.018846852704882622,
0.01530830841511488,
-0.04202680662274361,
0.02294444665312767,
0.05171767249703407,
-0.0018924836767837405,
-0.010759951546788216,
-0.0044007147662341595,
0.04216393083333969,
-0.03982120007276535,
0.012827733531594276,
-0.01052897796034813,
0.006049815099686384,
-0.0017073310445994139,
0.049198612570762634,
-0.015061654150485992,
0.015493198297917843,
-0.033209726214408875,
0.0021771290339529514,
0.03435217961668968,
0.012538009323179722,
0.042335495352745056,
0.03678714111447334,
-0.015685951337218285,
0.08243746310472488,
-0.06335724145174026,
-0.0007405573269352317,
-0.05965891107916832,
-0.04584471136331558,
-0.013813570141792297,
0.034075167030096054,
0.057985931634902954,
0.045238472521305084,
-0.006978317629545927,
-0.06146511435508728,
0.02344258688390255,
0.06512485444545746,
0.07564573734998703,
0.005655533634126186,
-0.01624969393014908,
0.018230250105261803,
0.009098208509385586,
0.02401910535991192,
-0.053760137408971786,
-0.03543475642800331,
0.008096395060420036,
0.04378946125507355,
-0.012701036408543587,
-0.010720319114625454,
-0.032837383449077606,
0.031108157709240913,
-0.033307552337646484,
-0.05768213048577309,
0.07611210644245148,
0.028359172865748405,
0.006613444071263075,
0.023574940860271454,
-0.020586678758263588,
-0.004516606219112873,
0.02416897751390934,
0.0018909827340394258,
-0.0022835154086351395,
-0.0183864738792181,
-0.014130418188869953,
0.0010674571385607123,
0.07045760750770569,
-0.04135052487254143,
0.03945568948984146,
0.019824296236038208,
0.013790139928460121,
0.05808410421013832,
-0.04994521290063858,
0.06348961591720581,
0.05591451749205589,
0.007456768769770861,
-0.04173126444220543,
0.02782425470650196,
0.0048093367367982864,
0.05272265151143074,
0.04835684597492218,
-0.01833064667880535,
0.05989595875144005,
0.01597757451236248,
0.01987193338572979,
0.0764765590429306,
0.01165793463587761,
0.01235183048993349,
0.017324795946478844,
0.05076597258448601,
0.0027307842392474413,
-0.009501488879323006,
0.05807625874876976,
-0.029577504843473434,
-0.0007079029455780983,
-0.04939509928226471,
-0.014166062697768211,
-0.015512929297983646,
-0.01635396108031273,
0.057891398668289185,
0.014350739307701588,
-0.03276921063661575,
-0.013172095641493797,
0.024370986968278885,
0.010853980667889118,
0.07282927632331848,
-0.02568732388317585,
0.015931272879242897,
-0.0038836642634123564,
-0.05954961106181145,
0.03124631941318512,
-0.07237986475229263,
-0.08417670428752899,
-0.008055257610976696,
-0.04051860421895981,
-0.025383492931723595,
-0.08885840326547623,
-0.04090331122279167,
-0.0507071353495121,
-0.012477176263928413,
0.02835831604897976,
0.015600643120706081,
0.015142928808927536,
-0.018033292144536972,
0.016693003475666046,
-0.04203645884990692,
-0.033594824373722076,
-0.05133282393217087,
-0.05617270618677139,
-0.022682396695017815,
-0.08212120085954666,
0.0137092974036932,
0.03601372614502907,
0.025421516969799995,
-0.012859515845775604,
-0.0008127211476676166,
-0.021297844126820564,
-0.030162625014781952,
0.054143402725458145,
0.06113855168223381,
-0.009862503968179226,
-0.04878421872854233,
0.0006689216243103147,
0.015349583700299263,
0.0006097770528867841,
0.004880806896835566,
-0.02975943125784397,
0.06738448888063431,
0.06521620601415634,
0.036730244755744934,
0.008369720540940762,
-0.01708601787686348,
-0.0355793833732605,
-0.03645763173699379,
-0.05742969363927841,
-0.05116609111428261,
-0.0194382406771183,
-0.015684373676776886,
-0.05660106986761093,
-0.04729504510760307,
-0.012364150024950504,
0.0016961609944701195,
-0.039821673184633255,
0.010534769855439663,
0.018314212560653687,
0.05519988015294075,
0.04725397005677223,
0.05639207735657692,
-0.031096836552023888,
-0.009493585675954819,
0.047242820262908936,
-0.0010174665367230773,
-0.013506028801202774,
-0.06753523647785187,
-0.029170220717787743,
0.040390945971012115,
0.04125650227069855,
-0.0052932812832295895,
-0.009631440974771976,
0.0630875900387764,
0.029642920941114426,
-0.014532017521560192,
-0.023061057552695274,
-0.0014283022610470653,
0.0047026812098920345,
0.0021296998020261526,
-0.035697560757398605,
-0.0035753832198679447,
-0.023488491773605347,
-0.04376176744699478,
-0.01212388090789318,
0.040534261614084244,
-0.04975792393088341,
-0.02898847870528698,
-0.018800249323248863,
0.02908525988459587,
0.029827097430825233,
0.012700440362095833,
-0.05092089995741844,
0.013651421293616295,
-0.04621041938662529,
-0.016901440918445587,
0.0025834718253463507,
-0.024142907932400703,
0.040057435631752014,
0.038599368184804916,
0.0052079129964113235,
0.006511999759823084,
0.032763946801424026,
0.015747075900435448,
0.06522280722856522,
0.010592411272227764,
-0.037156615406274796,
0.019315138459205627,
-0.05002399906516075,
-0.01033061183989048,
-0.0003477920254226774,
-0.01820979081094265,
-0.05073774233460426,
-0.066963791847229,
-0.029383793473243713,
0.01064052153378725,
0.004269790835678577,
0.0020111489575356245,
0.03893652558326721,
-0.006700571626424789,
-0.040000416338443756,
0.026409203186631203,
0.005123314447700977,
0.045434966683387756,
-0.02516070194542408,
0.06852084398269653,
-0.005610021762549877,
-0.00012353401689324528,
-0.0544712170958519,
0.011319122277200222,
-0.07749462127685547,
-0.046152979135513306,
-0.01740119978785515,
0.051138829439878464,
0.013019746169447899,
0.031131649389863014,
0.04882728308439255,
0.021998852491378784,
-0.049693185836076736,
0.06067141145467758,
0.03562694042921066,
-0.02029859833419323,
-0.03919228911399841,
-0.047784171998500824,
-0.02475685626268387,
-0.014269309118390083,
-0.020588139072060585,
-0.017155678942799568,
0.02118956856429577,
0.04439371079206467,
0.0031088104005903006,
-0.02763393335044384,
0.014969415962696075,
-0.03353070840239525,
0.001016429509036243,
-0.06737767904996872,
-0.025508103892207146,
0.008947017602622509,
-0.03643874451518059,
0.0396946556866169,
0.023607412353157997,
0.011977207846939564,
0.07430620491504669,
0.027046333998441696,
-0.017552193254232407,
-0.044639088213443756,
0.027486512437462807,
0.035088080912828445,
-0.04551823064684868,
-0.0740981325507164,
-0.07141023129224777,
0.028426671400666237,
0.052883461117744446,
-0.031537577509880066,
-0.06690005958080292,
0.0027572140097618103,
0.028957517817616463,
-0.06761038303375244,
0.05248711630702019,
-0.01706155389547348,
0.03836997225880623,
0.0445404089987278,
0.003990416415035725,
0.023952607065439224,
-0.021841181442141533,
0.0007543801330029964,
0.02470947429537773,
0.027249054983258247,
-0.0587652362883091,
-0.010588124394416809,
-0.07263055443763733,
0.01006849855184555,
0.033708468079566956,
0.02124566026031971,
0.04340681806206703,
-0.04882198944687843,
-0.03177769482135773,
-0.0026954850181937218,
0.047547757625579834,
-0.022580239921808243,
-0.021198149770498276,
0.06611508131027222,
0.05853663757443428,
-0.03644406422972679,
-0.05147279426455498,
-0.006022862158715725,
-0.009294329211115837,
0.02742600254714489,
0.00013615292846225202,
-0.04011250659823418,
-0.028801769018173218,
0.02047226019203663,
-0.01926157809793949,
-0.020466085523366928,
-0.0787634626030922,
-0.00009174699516734108,
-0.005867097061127424,
-0.0191342756152153,
0.02871815115213394,
0.028256596997380257,
0.04589816927909851,
0.06059886887669563,
0.001318028662353754,
0.01782405935227871,
-0.03534989058971405,
0.041346702724695206,
-0.008553999476134777,
-0.03860972076654434,
-0.004550531040877104,
-0.058527782559394836,
-0.030529949814081192,
-0.010216761380434036,
-0.05086200311779976,
-0.06722474843263626,
0.0013507722178474069,
0.023940550163388252,
-0.023411929607391357,
0.013712828978896141,
-0.010687513276934624,
0.03356008231639862,
-0.02476123347878456,
-0.024551892653107643,
-0.02882835641503334,
-0.0063533661887049675,
-0.046570807695388794,
-0.05012724548578262,
0.0008693625568412244,
-0.014642237685620785,
0.009939081035554409,
0.01912795379757881,
0.04935126751661301,
0.009571598842740059,
0.02012496069073677,
-0.04864373058080673,
-0.00312188733369112,
0.018153689801692963,
-0.03482384979724884,
-0.021405091509222984,
-0.0005745850503444672,
0.017282214015722275,
0.05146651342511177,
-0.04205203428864479,
0.009750303812325,
0.0002512942592147738,
-0.02561226673424244,
-0.05553827062249184,
0.018541928380727768,
0.03831646591424942,
-0.07341597229242325,
-0.0727073922753334,
-0.02187344804406166,
-0.01430374663323164,
0.01149854063987732,
-0.047257907688617706,
-0.016069278120994568,
0.03415004909038544,
0.006350706331431866,
0.023612799122929573,
-0.05761723592877388,
-0.04008040204644203,
0.03858957439661026,
-0.03131556138396263,
0.007424245588481426,
-0.047551386058330536,
0.013613884337246418,
-0.03273560106754303,
0.023595159873366356,
-0.01804731786251068,
-0.008994987234473228,
-0.05699940398335457,
0.03657570481300354,
0.008545542135834694,
-0.004307795315980911,
0.0030138150323182344,
-0.00470960745587945,
-0.022916369140148163,
0.025711042806506157,
-0.029372651129961014,
0.00962065253406763,
-0.04051969200372696,
0.08477510511875153,
-0.03694533556699753,
0.02616293355822563,
0.010925566777586937,
0.02711419202387333,
-0.04767525568604469,
-0.007925894111394882,
0.008838385343551636,
-0.05231741815805435,
0.03901747241616249,
0.030389169231057167,
0.02441655844449997,
0.028931889683008194,
-0.014101534150540829,
0.0021477381233125925,
0.0020776281598955393,
-0.07133853435516357,
-0.008583015762269497,
-0.010255219414830208,
0.04662025347352028,
0.005195137113332748,
0.059766341000795364,
0.03753276541829109,
-0.039381254464387894,
-0.07022801041603088,
0.0466575101017952,
0.04159143194556236,
0.006745237857103348,
-0.017000606283545494,
0.010762326419353485,
0.01022480707615614,
0.05300543084740639,
-0.005394696723669767,
-0.02485007420182228,
0.009174185805022717,
-0.020956723019480705,
0.014376739971339703,
-0.0092166718095541,
-0.008474435657262802,
0.0005956028471700847,
-0.045646749436855316,
-0.04302795231342316,
0.03898557648062706,
0.02971532754600048,
0.02759912796318531,
-0.0012062644818797708,
-0.042637214064598083,
0.02071859873831272,
0.014544909819960594,
-0.05016910284757614,
-0.025850825011730194,
0.003337329952046275,
-0.022104470059275627,
0.056901201605796814,
-0.017805876210331917,
0.03535671532154083,
0.044207461178302765,
0.007519321516156197,
-0.04036737233400345,
0.04718095436692238,
-0.04253600910305977,
0.025672854855656624,
0.04070926085114479,
-0.031082307919859886,
-0.038197919726371765,
-0.04090934246778488,
0.04165581986308098,
-0.05688045918941498,
0.058284420520067215,
0.04099058732390404,
-0.006748273503035307,
0.028257422149181366,
-0.0620461106300354,
0.007732998114079237,
0.01566803641617298,
-0.02603483758866787,
0.05224602669477463,
0.021028898656368256,
-0.07304973155260086,
0.06926193088293076,
0.02838018909096718,
-0.051454707980155945,
0.020876917988061905,
0.0339818000793457,
0.001113365520723164,
0.010714500211179256,
0.040309030562639236,
-0.018091078847646713,
-0.009212035685777664,
-0.04150592163205147,
0.00864308513700962,
-0.07018433511257172,
-0.01764664798974991,
0.026583455502986908,
-0.04716501757502556,
-0.022510750219225883,
0.0329444482922554,
-0.039421048015356064,
0.013860659673810005,
0.02582172304391861,
-0.0398297943174839,
-0.03644844889640808,
-0.0019832628313452005,
0.0073989261873066425,
-0.00816337764263153,
-0.039879944175481796,
-0.023409133777022362,
-0.0037995835300534964,
-0.0034077195450663567,
0.026133766397833824,
-0.03718971461057663,
-0.011073460802435875,
0.031086059287190437,
-0.026835214346647263,
-0.004688612651079893,
0.050461724400520325,
0.020493801683187485,
-0.027459627017378807,
0.05809781700372696,
0.0006919785519130528,
-0.0011691931867972016,
0.04085410758852959,
-0.0092797065153718,
0.032087597995996475,
-0.015005730092525482,
-0.005076791159808636,
0.022686023265123367,
0.016321280971169472,
0.011222019791603088,
-0.016249021515250206,
0.02790776640176773,
0.06646289676427841,
0.029796691611409187,
0.023908287286758423,
-0.04857935383915901,
-0.020476359874010086,
0.02360917255282402,
-0.04201332852244377,
0.021283911541104317,
-0.0047617810778319836,
-0.016823260113596916,
-0.028556013479828835,
-0.005722729489207268,
-0.005256182514131069,
0.05757942423224449,
-0.02470364235341549,
0.017736122012138367,
0.04131230711936951,
-0.0073698884807527065,
-0.028334015980362892,
-0.058586642146110535,
-0.005913051776587963,
-0.03192418813705444,
0.01526961661875248,
0.023221325129270554,
-0.048608239740133286,
0.03849463909864426,
-0.050358619540929794,
-0.03241252899169922,
0.023914789780974388,
0.029922302812337875,
-0.039985351264476776,
0.08678538352251053,
0.06684716045856476,
-0.06266569346189499,
0.018083466216921806,
0.03641200438141823,
-0.0581531785428524,
0.02869097888469696,
-0.00749777490273118,
-0.010143300518393517,
0.01299574226140976,
0.04899144545197487,
-0.03211907297372818,
-0.03267692029476166,
-0.06446999311447144,
-0.05099734663963318,
-0.02848345786333084,
0.011799294501543045,
0.07834496349096298
] |
dccuchile/bert-base-spanish-wwm-cased-finetuned-xnli | [
"pytorch",
"bert",
"text-classification",
"transformers"
] | text-classification | {
"architectures": [
"BertForSequenceClassification"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 28 | null | Language Model 2
For Language agnostic Dense Passage Retrieval | [
-0.021208254620432854,
-0.02768007479608059,
-0.013955703936517239,
0.04522036015987396,
0.043493472039699554,
0.02232535183429718,
-0.002642162377014756,
0.02644030563533306,
-0.03713379055261612,
0.046481240540742874,
0.02493581548333168,
-0.015816515311598778,
0.013318261131644249,
0.047157805413007736,
-0.03787544369697571,
-0.010524190962314606,
-0.031249282881617546,
-0.010553102008998394,
-0.030075525864958763,
0.0031268864404410124,
0.011072439141571522,
0.010228374041616917,
-0.014102371409535408,
0.04983897507190704,
0.003716609673574567,
0.041645608842372894,
-0.02717236801981926,
0.012754004448652267,
0.04941019415855408,
-0.06611018627882004,
0.006231432314962149,
-0.029243042692542076,
-0.03331677243113518,
-0.009314851835370064,
-0.007951575331389904,
-0.024950776249170303,
0.005722235422581434,
0.002274902304634452,
0.023278603330254555,
0.044196609407663345,
-0.04322144016623497,
0.010273173451423645,
-0.019316209480166435,
-0.034335922449827194,
0.0383116751909256,
-0.016691425815224648,
-0.03532153367996216,
-0.045444611459970474,
0.016376957297325134,
-0.059017956256866455,
-0.04481733590364456,
-0.060784146189689636,
-0.02708701603114605,
0.019868630915880203,
0.0058653452433645725,
-0.05258450657129288,
-0.07440236210823059,
-0.013272123411297798,
0.08222009986639023,
-0.059347059577703476,
-0.02812323160469532,
-0.0072745573706924915,
-0.03880920633673668,
-0.0016654252540320158,
0.04938308894634247,
-0.06762479245662689,
0.000006192878117872169,
-0.047757893800735474,
0.012196539901196957,
-0.0010202039266005158,
0.033693041652441025,
-0.039244744926691055,
0.026729710400104523,
-0.11572424322366714,
-0.015524893999099731,
-0.03865697979927063,
0.0374348908662796,
0.05243724584579468,
-0.04323774203658104,
0.07115506380796432,
0.010332155972719193,
-0.001809830660931766,
0.007982701994478703,
0.0011573861120268703,
-0.01445299293845892,
0.04571346193552017,
-0.0394083708524704,
0.009759319014847279,
0.003435565857216716,
0.04274936020374298,
-0.05850621312856674,
-0.021825043484568596,
-0.03057664819061756,
-0.0006017977138981223,
-0.014125354588031769,
0.021159730851650238,
0.03151861950755119,
-0.0477873794734478,
0.037301596254110336,
0.048455845564603806,
0.03030884452164173,
0.05482485145330429,
-0.023215221241116524,
0.0388001911342144,
0.01866486668586731,
-0.004998908843845129,
-0.017925530672073364,
-0.055396609008312225,
-0.05335618183016777,
0.0021004679147154093,
0.018662424758076668,
-0.031292255967855453,
-0.028885459527373314,
0.09600575268268585,
0.009353052824735641,
-0.015957126393914223,
0.061132729053497314,
-0.03120366483926773,
-0.06022873520851135,
-0.07536416500806808,
0.07907143980264664,
0.019326480105519295,
-0.013059678487479687,
-0.00008627138595329598,
-0.08130801469087601,
0.03496465086936951,
-0.06134464964270592,
-0.03280673548579216,
-0.023473473265767097,
-0.015784982591867447,
-0.019755477085709572,
0.03330967575311661,
0.038038987666368484,
-0.06419631838798523,
-0.005667283199727535,
0.016682369634509087,
-0.08474834263324738,
0.01738266833126545,
0.019951341673731804,
0.10594828426837921,
-0.0523403100669384,
-0.028877342119812965,
-0.012415207922458649,
-0.001910900929942727,
0.007091993000358343,
0.008669269271194935,
0.02827093005180359,
-0.05663743615150452,
-0.004874878562986851,
-0.03622908517718315,
0.05309859290719032,
-0.09284763783216476,
-0.0008669052622281015,
0.06259232759475708,
-0.021244823932647705,
0.03232066333293915,
-0.026329729706048965,
0.01414448767900467,
0.004257627762854099,
0.006805262994021177,
-0.04564705118536949,
0.035483796149492264,
-0.014488648623228073,
-0.014653068967163563,
-0.09813899546861649,
-0.026889052242040634,
-0.003303124802187085,
0.0821981206536293,
0.0014052651822566986,
-0.01919448748230934,
-0.033839695155620575,
0.029640784487128258,
0.04544677585363388,
0.045823078602552414,
-0.02301143668591976,
0.010590935125946999,
0.04070432484149933,
0.01271910686045885,
-0.01378242950886488,
0.07018011063337326,
0.007271673064678907,
-0.03920597583055496,
-0.04279099032282829,
0.004886439070105553,
0.023849470540881157,
-0.04055517166852951,
-0.030462108552455902,
0.028921009972691536,
0.000011058566997235175,
-0.023418784141540527,
0.02126406878232956,
0.04738829284906387,
-0.020272746682167053,
-0.014837730675935745,
0.03518161550164223,
-0.014602191746234894,
-0.033685579895973206,
0.027656005695462227,
-0.03575518727302551,
-0.01205423939973116,
-0.00851195678114891,
0.0017654950497671962,
0.006929120048880577,
0.0398465134203434,
0.03292277082800865,
-0.00013192323967814445,
-0.012919118627905846,
0.08308076858520508,
-0.01804353855550289,
0.0048330253921449184,
-0.044814832508563995,
-0.03492986783385277,
-0.04417256638407707,
0.05009865388274193,
0.030743520706892014,
0.024720309302210808,
-0.010417517274618149,
-0.08090154826641083,
0.03060348518192768,
0.0531550832092762,
0.05807465314865112,
0.024392565712332726,
-0.049807358533144,
0.0033032414503395557,
-0.003587393555790186,
0.045012492686510086,
-0.04045401141047478,
-0.02923264540731907,
0.03119438886642456,
0.057348448783159256,
-0.042457014322280884,
-0.012999210506677628,
0.015246833674609661,
0.049386441707611084,
-0.038744233548641205,
-0.08661767840385437,
0.042206477373838425,
0.03948017582297325,
0.011190026067197323,
0.050312403589487076,
-0.0013125387486070395,
0.027294255793094635,
0.020718315616250038,
0.022842729464173317,
0.017275629565119743,
-0.05037417262792587,
0.0014188068453222513,
0.017670387402176857,
0.034264449030160904,
-0.05604845657944679,
0.01996735855937004,
0.01677539013326168,
0.018071597442030907,
0.030447546392679214,
-0.015504203736782074,
0.04753126576542854,
0.06438557058572769,
-0.0006521059549413621,
-0.03742539510130882,
0.011302569881081581,
0.050293076783418655,
0.027377469465136528,
0.05960739776492119,
-0.010275492444634438,
0.05885815620422363,
0.00424158526584506,
0.05628911778330803,
0.06402698159217834,
0.029506908729672432,
-0.019486265257000923,
0.040583834052085876,
0.05244941636919975,
-0.029613783583045006,
-0.030596541240811348,
0.044503580778837204,
-0.04695330560207367,
0.03452658653259277,
-0.0280313678085804,
0.020239146426320076,
0.008518398739397526,
-0.025774186477065086,
0.04621071740984917,
0.004421370103955269,
-0.021493854001164436,
0.040871549397706985,
-0.02334441989660263,
-0.0237459484487772,
0.025981437414884567,
0.007547992747277021,
0.014655442908406258,
-0.0033443160355091095,
-0.029824096709489822,
0.006483704317361116,
-0.05796607583761215,
-0.06827840954065323,
-0.008914746344089508,
-0.05298878997564316,
0.022661229595541954,
-0.04365215450525284,
-0.04570668190717697,
-0.047438282519578934,
-0.018983082845807076,
0.02852534130215645,
0.0031854130793362856,
0.019091803580522537,
0.008493089117109776,
0.028809556737542152,
-0.004538137931376696,
-0.01707099936902523,
-0.05853351950645447,
-0.025871695950627327,
-0.022050943225622177,
-0.06065577268600464,
0.043745022267103195,
0.03494969382882118,
0.009622253477573395,
0.017630083486437798,
-0.026367614045739174,
-0.030883248895406723,
-0.028752129524946213,
0.05065988004207611,
0.02908066287636757,
-0.0406641885638237,
-0.032782506197690964,
0.018653403967618942,
-0.003924915101379156,
0.020988503471016884,
-0.028576452285051346,
-0.01691843383014202,
0.07315956801176071,
0.07221698760986328,
0.034074507653713226,
0.00286063551902771,
0.029601678252220154,
-0.030978189781308174,
-0.039116691797971725,
-0.05056837573647499,
-0.06604766845703125,
-0.009703871794044971,
-0.02540735900402069,
-0.03569132089614868,
-0.022714171558618546,
-0.04330366477370262,
-0.031838685274124146,
-0.0013298648409545422,
-0.016458317637443542,
0.043135639280080795,
0.0649423822760582,
0.02227693237364292,
0.03677698224782944,
-0.0254313126206398,
-0.027852389961481094,
0.07980728149414062,
0.0016032673884183168,
-0.01577930338680744,
-0.06315580010414124,
-0.04833097383379936,
0.0361587293446064,
0.022270934656262398,
-0.03203852102160454,
-0.0032689287327229977,
0.06076806038618088,
0.0024236608296632767,
0.008526547811925411,
0.01924225687980652,
-0.0499778687953949,
-0.02841891534626484,
0.03232169523835182,
-0.009243950247764587,
-0.04021334648132324,
-0.06690151989459991,
-0.04125156253576279,
0.02939002215862274,
0.06342673301696777,
-0.05243334919214249,
-0.024482769891619682,
-0.017783785238862038,
0.03691955655813217,
0.013157078064978123,
0.002081092447042465,
-0.045626088976860046,
0.006434750277549028,
-0.013924132101237774,
-0.03733136132359505,
-0.008043060079216957,
-0.015478065237402916,
0.038541629910469055,
0.07017197459936142,
0.019839392974972725,
-0.008390446193516254,
0.03858125954866409,
-0.023943210020661354,
0.054101213812828064,
0.05086338147521019,
-0.018140370026230812,
0.02426113374531269,
-0.024743162095546722,
0.013393224216997623,
-0.0071625420823693275,
-0.03268880769610405,
-0.07218119502067566,
-0.08247492462396622,
-0.029219703748822212,
0.02830778993666172,
-0.0038229224737733603,
-0.011999554000794888,
0.041367948055267334,
-0.007069267798215151,
-0.021503685042262077,
0.001984786707907915,
0.01247012335807085,
0.04389164224267006,
-0.058715034276247025,
0.041905228048563004,
-0.00879842508584261,
0.03703256696462631,
-0.05082196369767189,
-0.018579896539449692,
-0.042879898101091385,
-0.019275451079010963,
-0.03228754922747612,
0.07262355834245682,
-0.01014854945242405,
0.03642086312174797,
0.058694206178188324,
0.019579647108912468,
-0.0492720790207386,
0.058022115379571915,
0.008490500971674919,
-0.022957270964980125,
-0.051636990159749985,
-0.0010436787270009518,
0.008293718099594116,
-0.03362587094306946,
-0.01676955819129944,
-0.04644181206822395,
0.009490389376878738,
0.051670730113983154,
-0.008787223137915134,
-0.009112709201872349,
0.00513156782835722,
-0.0028186868876218796,
0.0025036584120243788,
-0.04649476706981659,
-0.004640556871891022,
-0.0067205182276666164,
-0.007301862817257643,
0.010978476144373417,
0.021700117737054825,
0.0017901099054142833,
0.05857904627919197,
0.026322444900870323,
-0.012180919758975506,
-0.08193870633840561,
0.03930814191699028,
0.009929446503520012,
-0.028705043718218803,
-0.04260990396142006,
-0.035190168768167496,
0.05277715250849724,
0.032559216022491455,
-0.012273850850760937,
-0.07588564604520798,
0.03661401942372322,
0.047155480831861496,
-0.01905716583132744,
0.05347760021686554,
0.0019327709451317787,
0.03064071200788021,
0.035730283707380295,
0.007312290370464325,
0.003098550485447049,
-0.004700131248682737,
0.012766283936798573,
-0.0019617201760411263,
0.02394869737327099,
-0.028351513668894768,
-0.0403035432100296,
-0.04935887083411217,
0.023838061839342117,
0.01722045987844467,
0.028279537335038185,
0.045919522643089294,
-0.04503506422042847,
-0.04427998885512352,
-0.023760225623846054,
0.008286835625767708,
-0.03535979613661766,
0.017653102055191994,
0.039050210267305374,
0.037501271814107895,
-0.0405501164495945,
-0.04224229231476784,
0.003463396802544594,
0.00754820229485631,
0.025220317766070366,
-0.025271611288189888,
-0.005701158661395311,
-0.07161711156368256,
0.02670925483107567,
-0.002269966062158346,
-0.024560051038861275,
-0.09963560849428177,
0.004654157441109419,
-0.03362313285470009,
-0.015392058528959751,
0.05100438371300697,
0.03642842546105385,
0.048119064420461655,
0.06214003264904022,
-0.007152101490646601,
0.04546250030398369,
-0.030785659328103065,
0.06977257877588272,
-0.007468948140740395,
-0.018361154943704605,
-0.0037321310956031084,
-0.06678017228841782,
-0.048126187175512314,
-0.048371728509664536,
-0.038641996681690216,
-0.04837261140346527,
-0.015614010393619537,
0.04298151284456253,
-0.03829469531774521,
0.026251427829265594,
-0.0008290823316201568,
0.008512075990438461,
-0.01947559416294098,
-0.04310079291462898,
-0.02755844034254551,
-0.024833062663674355,
-0.09751195460557938,
-0.007504284381866455,
0.03549511358141899,
-0.007699098903685808,
0.031124893575906754,
-0.014117121696472168,
0.008633818477392197,
-0.000012313501429161988,
0.011524568311870098,
-0.006507011596113443,
0.04926601052284241,
0.01398410927504301,
-0.02992047183215618,
-0.03849867358803749,
0.006725882645696402,
0.018264833837747574,
0.02000049687922001,
-0.03749430552124977,
0.023910071700811386,
0.021490437909960747,
-0.05731255188584328,
-0.02201223559677601,
-0.002628261223435402,
0.04702608287334442,
-0.05056209862232208,
-0.06311292946338654,
-0.03135642781853676,
-0.0509943850338459,
0.04123740643262863,
-0.027514802291989326,
-0.025963740423321724,
0.01738140732049942,
0.028399603441357613,
0.03195708990097046,
-0.00232541817240417,
-0.02038971707224846,
0.04425855726003647,
-0.012202383950352669,
-0.012378976680338383,
-0.041837871074676514,
0.01307443343102932,
-0.012831307016313076,
0.02464357204735279,
-0.007837584242224693,
-0.019314277917146683,
-0.04779205843806267,
0.0379827618598938,
-0.005823642015457153,
0.00255714263767004,
-0.02019575610756874,
0.01632981188595295,
-0.022927384823560715,
0.034134842455387115,
-0.04450250416994095,
0.021451998502016068,
-0.02390928566455841,
0.05530233308672905,
-0.0701921358704567,
-0.011780524626374245,
-0.03206881135702133,
-0.011185078881680965,
-0.021961962804198265,
-0.00861402228474617,
-0.009950201027095318,
-0.058315880596637726,
0.021594971418380737,
0.02167658507823944,
-0.006046934053301811,
0.008280113339424133,
-0.04995235800743103,
-0.012200380675494671,
0.028192715719342232,
-0.0507073774933815,
0.0008375918841920793,
-0.011068853549659252,
0.0029671802185475826,
0.018822582438588142,
0.0481976643204689,
0.045845869928598404,
-0.050341032445430756,
-0.03883633017539978,
0.057949166744947433,
0.029643770307302475,
0.001318472670391202,
0.017447015270590782,
0.011614205315709114,
0.041733164340257645,
0.05969913676381111,
-0.03826811537146568,
-0.017317060381174088,
-0.004108941648155451,
-0.027321832254529,
0.0012369138421490788,
-0.0020038599614053965,
0.001105339964851737,
0.006827276200056076,
-0.045449644327163696,
-0.02571757324039936,
0.05124781280755997,
0.021481527015566826,
0.013557428494095802,
-0.003646478056907654,
-0.0340399332344532,
0.016238832846283913,
0.006659936159849167,
-0.017475884407758713,
0.0017527585150673985,
-0.017007455229759216,
-0.04574836790561676,
0.03932506591081619,
-0.03855772688984871,
0.013207610696554184,
0.03520365059375763,
0.03433197736740112,
-0.02309844084084034,
0.023943312466144562,
-0.019145842641592026,
0.00832941010594368,
0.05031581223011017,
-0.048536378890275955,
-0.009157809428870678,
-0.026468271389603615,
0.05186104774475098,
-0.029583293944597244,
0.04840219393372536,
0.017873253673315048,
0.005789231974631548,
0.03359488397836685,
-0.04277593269944191,
-0.032807230949401855,
0.0008295742445625365,
-0.02410522662103176,
0.08301465958356857,
0.001937309862114489,
-0.048281606286764145,
0.09127860516309738,
0.017002848908305168,
-0.05673232674598694,
0.050826169550418854,
0.037632036954164505,
0.0045097386464476585,
0.024654822424054146,
0.03916933760046959,
-0.04028037562966347,
0.026479043066501617,
-0.02318572998046875,
0.0024064751341938972,
-0.05455116555094719,
-0.04705243557691574,
0.026014845818281174,
-0.038951244205236435,
-0.018481435254216194,
0.026405736804008484,
-0.03816640377044678,
0.01484642643481493,
0.00686217425391078,
-0.04550347477197647,
-0.03824743628501892,
-0.011826622299849987,
0.00559084489941597,
-0.025082839652895927,
-0.007789339870214462,
-0.04580390825867653,
0.010908728465437889,
0.019185973331332207,
-0.002372968941926956,
-0.012370738200843334,
0.0304973516613245,
0.023852886632084846,
-0.07709023356437683,
-0.04293502867221832,
0.01459850650280714,
0.01531682163476944,
-0.010914962738752365,
0.045493535697460175,
-0.020475678145885468,
0.00912819616496563,
0.05151774361729622,
0.013496658764779568,
0.022027842700481415,
-0.05142629146575928,
-0.0020378101617097855,
0.013511485420167446,
0.0009319107048213482,
0.005421442445367575,
0.002579429652541876,
-0.0007899973425082862,
0.04014244303107262,
0.029642639681696892,
0.013193420134484768,
-0.07134480774402618,
-0.02782898023724556,
0.017658045515418053,
-0.02995329536497593,
0.027420783415436745,
0.014413690194487572,
-0.04066536948084831,
-0.039368875324726105,
-0.009741093032062054,
0.012983454391360283,
0.0472305528819561,
-0.0401008278131485,
0.01914948970079422,
-0.002470932435244322,
-0.0045769657008349895,
-0.04819583147764206,
-0.06292220950126648,
-0.03955526277422905,
-0.03831049054861069,
0.04459350183606148,
0.02114010415971279,
-0.03599749878048897,
0.027057621628046036,
-0.02944541722536087,
-0.03351157158613205,
0.020343389362096786,
-0.0005477749509736896,
-0.03067146986722946,
0.07550641894340515,
0.05474453046917915,
-0.03275298327207565,
0.0056497505865991116,
0.04581044986844063,
-0.038829125463962555,
0.0642194077372551,
-0.00950237363576889,
0.03495093807578087,
0.012126794084906578,
0.047293368726968765,
-0.014005434699356556,
-0.01761305145919323,
-0.05159970372915268,
-0.024961626157164574,
-0.037763793021440506,
0.0077713788487017155,
0.028517089784145355
] |
alexandrainst/da-emotion-classification-base | [
"pytorch",
"tf",
"bert",
"text-classification",
"da",
"transformers",
"license:cc-by-sa-4.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
}
}
} | 837 | 2021-10-05T08:45:55Z | ---
language:
- en
pipeline_tag: sentence-similarity
tags:
- Pytorch
- Sentence Transformers
- Transformers
license: "apache-2.0"
---
# Twitter4SSE
This model maps texts to 768 dimensional dense embeddings that encode semantic similarity.
It was trained with Multiple Negatives Ranking Loss (MNRL) on a Twitter dataset.
It was initialized from [BERTweet](https://huggingface.co/vinai/bertweet-base) and trained with [Sentence-transformers](https://www.sbert.net/).
## Usage
The model is easier to use with sentence-trainsformers library
```
pip install -U sentence-transformers
```
```
from sentence_transformers import SentenceTransformer
sentences = ["This is the first tweet", "This is the second tweet"]
model = SentenceTransformer('digio/Twitter4SSE')
embeddings = model.encode(sentences)
print(embeddings)
```
Without sentence-transfomer library, please refer to [this repository](https://huggingface.co/sentence-transformers) for detailed instructions on how to use Sentence Transformers on Huggingface.
## Citing & Authors
The official paper [Exploiting Twitter as Source of Large Corpora of Weakly Similar Pairs for Semantic Sentence Embeddings](https://arxiv.org/abs/2110.02030) will be presented at EMNLP 2021. Further details will be available soon.
```
@inproceedings{di-giovanni-brambilla-2021-exploiting,
title = "Exploiting {T}witter as Source of Large Corpora of Weakly Similar Pairs for Semantic Sentence Embeddings",
author = "Di Giovanni, Marco and
Brambilla, Marco",
booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2021",
address = "Online and Punta Cana, Dominican Republic",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.emnlp-main.780",
pages = "9902--9910",
}
```
The official code is available on [GitHub](https://github.com/marco-digio/Twitter4SSE)
| [
-0.03547801449894905,
-0.0338440015912056,
-0.017633851617574692,
0.061286650598049164,
0.04732819274067879,
0.03377527743577957,
-0.023303771391510963,
-0.01578131876885891,
-0.04178766906261444,
0.04440535232424736,
0.03261055424809456,
0.003711592173203826,
-0.006799957249313593,
0.026398571208119392,
-0.009554872289299965,
-0.0327223464846611,
-0.03365025296807289,
-0.008415399119257927,
-0.011510500684380531,
-0.0005606295890174806,
0.00007084925164235756,
0.004933113697916269,
-0.00526324613019824,
0.009537500329315662,
-0.0045851762406528,
0.007476437371224165,
-0.013281645253300667,
0.02948940359055996,
0.02260357327759266,
-0.050238851457834244,
0.0023003818932920694,
-0.010551895014941692,
-0.026514744386076927,
0.01817166432738304,
-0.006565913092344999,
0.010668741539120674,
0.017777185887098312,
0.02230326272547245,
0.01732465624809265,
0.030882898718118668,
0.007032081484794617,
-0.003233197145164013,
-0.02653128281235695,
-0.032116860151290894,
0.047915056347846985,
-0.0035751271061599255,
-0.039450883865356445,
-0.007302362471818924,
0.03226068243384361,
-0.04832097515463829,
-0.07080675661563873,
-0.0854717344045639,
-0.025409609079360962,
0.0468461811542511,
-0.0007630010368302464,
-0.033139754086732864,
-0.0722057968378067,
-0.024220941588282585,
0.07278923690319061,
-0.059316832572221756,
-0.036484576761722565,
0.011449489742517471,
-0.05179975926876068,
0.02686191536486149,
0.030872467905282974,
-0.03349125012755394,
0.02772076614201069,
-0.04544813185930252,
0.0172811821103096,
-0.022761059924960136,
0.04724867269396782,
-0.02946157567203045,
0.04178846627473831,
-0.07803945243358612,
-0.031442783772945404,
-0.00862923264503479,
0.03553784638643265,
0.05007637292146683,
-0.02996707335114479,
0.07489005476236343,
0.005743144080042839,
-0.008745711296796799,
0.030367569997906685,
0.004442133940756321,
0.01827964559197426,
0.059348493814468384,
-0.04132461920380592,
0.02393355965614319,
-0.008513199165463448,
0.026899538934230804,
-0.03608476370573044,
-0.00772327883169055,
-0.010117050260305405,
-0.03728066012263298,
-0.0054240357130765915,
0.029686549678444862,
0.02597798965871334,
-0.0017546627204865217,
0.031331367790699005,
0.036988094449043274,
0.015407931059598923,
0.05752096325159073,
-0.022294558584690094,
0.03313926234841347,
-0.01704421639442444,
-0.007257823832333088,
0.0051998901180922985,
-0.0369245782494545,
-0.06361706554889679,
0.02606702409684658,
0.03458823636174202,
-0.044280044734478,
-0.06257053464651108,
0.04774404317140579,
0.027804048731923103,
-0.02109360881149769,
0.048919498920440674,
-0.03023109771311283,
-0.014176113530993462,
-0.016771413385868073,
0.04602885618805885,
-0.026862813159823418,
-0.016921572387218475,
-0.009169245138764381,
-0.07379164546728134,
0.007098183035850525,
-0.03086037002503872,
-0.04676339402794838,
0.009242289699614048,
0.01271110400557518,
-0.003688629949465394,
0.013179914094507694,
0.03051578253507614,
-0.04117950424551964,
-0.0026705090422183275,
0.0037794436793774366,
-0.07201060652732849,
0.04791624844074249,
0.05803848057985306,
0.10074842721223831,
-0.06386426836252213,
-0.03997349366545677,
0.003454806050285697,
0.03284722566604614,
-0.02497217059135437,
0.012739447876811028,
0.0410153791308403,
-0.029846277087926865,
-0.02928587794303894,
-0.004185706842690706,
0.05793057009577751,
-0.05214210972189903,
-0.006602396257221699,
0.030834076926112175,
-0.009376359172165394,
0.044439032673835754,
-0.053523968905210495,
-0.0022702920250594616,
0.009533535689115524,
0.005830169655382633,
-0.02620857022702694,
0.045593731105327606,
-0.0153860067948699,
0.0053991274908185005,
-0.03328152000904083,
-0.022614140063524246,
-0.003678776090964675,
0.057131025940179825,
-0.02757600136101246,
-0.034081026911735535,
-0.040781959891319275,
0.03351876512169838,
0.04206984490156174,
0.03005262278020382,
-0.009010648354887962,
0.02115669474005699,
0.06736920028924942,
0.047252554446458817,
-0.008834467269480228,
0.04794199764728546,
-0.0036406652070581913,
-0.040820375084877014,
-0.023175518959760666,
0.00916124414652586,
0.004276016727089882,
-0.013723432086408138,
0.04607122763991356,
0.05782482400536537,
-0.02704119309782982,
-0.023819614201784134,
-0.012542127631604671,
0.05899405479431152,
-0.024376077577471733,
0.01605071872472763,
-0.0039035428781062365,
-0.0026279762387275696,
-0.034968581050634384,
0.0612545907497406,
-0.025953128933906555,
0.0014361048815771937,
-0.017322659492492676,
-0.04352569952607155,
0.0076050651259720325,
0.03669983148574829,
0.03451348468661308,
0.0325724221765995,
0.016054758802056313,
0.10348356515169144,
-0.025173425674438477,
0.006777098402380943,
-0.06300283223390579,
-0.04778244346380234,
-0.013028191402554512,
0.020986683666706085,
0.04524977505207062,
0.05199835076928139,
-0.009306564927101135,
-0.017662707716226578,
0.012910090386867523,
0.05732610449194908,
0.03428235650062561,
0.041604433208703995,
-0.02983710914850235,
0.0034106892999261618,
0.0073913875967264175,
0.06433574855327606,
-0.032602205872535706,
-0.016405712813138962,
0.008778111077845097,
0.026021422818303108,
-0.02463970147073269,
-0.008579877205193043,
-0.004773519467562437,
0.018603278324007988,
-0.015072702430188656,
-0.06867300719022751,
0.04263433441519737,
0.018908554688096046,
0.009067856706678867,
0.015640655532479286,
-0.030976325273513794,
-0.012730688787996769,
0.04381361976265907,
-0.02143869362771511,
0.003358641639351845,
-0.05050452798604965,
-0.004616583231836557,
0.016755836084485054,
0.05619975924491882,
-0.02458026260137558,
0.0322008952498436,
0.021977126598358154,
0.0007428829558193684,
0.03506918624043465,
-0.002016584388911724,
0.031582485884428024,
0.07656016945838928,
0.0034850253723561764,
-0.010649017989635468,
0.020168183371424675,
0.017904555425047874,
0.024404171854257584,
0.05219803377985954,
-0.02308647893369198,
0.06698556989431381,
0.02974989265203476,
0.007202953100204468,
0.06995245814323425,
0.025712523609399796,
-0.005329841282218695,
0.05862296372652054,
0.07221777737140656,
0.011779120191931725,
-0.018497774377465248,
0.06377477198839188,
-0.041719742119312286,
0.04572342336177826,
-0.033120617270469666,
0.03501398116350174,
-0.024758420884609222,
-0.014235852286219597,
0.051762428134679794,
0.007497929036617279,
-0.0043792882934212685,
0.01661006361246109,
-0.03180718421936035,
-0.026143699884414673,
0.048137180507183075,
-0.031598977744579315,
0.02310159057378769,
-0.0015209331177175045,
-0.03858126327395439,
0.027054646983742714,
-0.08097006380558014,
-0.04559793323278427,
0.030266882851719856,
-0.0108130918815732,
0.007711202837526798,
-0.09874461591243744,
-0.05911210924386978,
-0.05935276299715042,
-0.026958277449011803,
0.04135388508439064,
-0.00014925467257853597,
0.025090385228395462,
-0.019288521260023117,
0.008795239962637424,
-0.013183617033064365,
-0.028196509927511215,
-0.04892507195472717,
-0.0507766529917717,
-0.038111310452222824,
-0.06189741566777229,
0.025257376953959465,
0.010386880487203598,
0.021197134628891945,
-0.0034601418301463127,
-0.018182000145316124,
-0.053105033934116364,
-0.003079246263951063,
0.07226412743330002,
0.0086798295378685,
0.01168491318821907,
-0.04347018897533417,
-0.002603887114673853,
0.004033485893160105,
0.003587388200685382,
-0.01809692569077015,
-0.015515698119997978,
0.0514097586274147,
0.040153518319129944,
0.031337954103946686,
0.023739667609333992,
-0.02414010465145111,
-0.027193991467356682,
-0.034808095544576645,
-0.04445457458496094,
-0.041854724287986755,
-0.03702026233077049,
-0.04348709061741829,
-0.053059570491313934,
-0.02043219655752182,
-0.03498973324894905,
-0.026867596432566643,
0.01534702256321907,
0.008274251595139503,
0.03540370240807533,
0.05045589059591293,
0.052841223776340485,
0.02333538606762886,
-0.03623644635081291,
-0.023250801488757133,
0.09216660261154175,
0.008287535049021244,
-0.012346183881163597,
-0.10209088027477264,
-0.0412752702832222,
0.029535800218582153,
0.026404865086078644,
0.0155388955026865,
-0.027891196310520172,
0.07683500647544861,
-0.002293822355568409,
0.01474265567958355,
0.012733620591461658,
0.027636783197522163,
-0.018612613901495934,
0.012678932398557663,
-0.013337122276425362,
-0.02778545580804348,
-0.032857004553079605,
-0.01626928336918354,
-0.0518590584397316,
0.05330803990364075,
-0.06619435548782349,
-0.03974614292383194,
-0.024814704433083534,
0.03683758154511452,
0.031286559998989105,
0.015421269461512566,
-0.023689238354563713,
-0.004254205618053675,
-0.04562590271234512,
-0.05248294025659561,
0.021455373615026474,
-0.012306390330195427,
0.026035284623503685,
0.0537712536752224,
0.022167867049574852,
-0.019368169829249382,
0.03939533233642578,
0.012918537482619286,
0.05721224099397659,
0.021185925230383873,
-0.037041809409856796,
0.0600435696542263,
-0.04764653742313385,
0.0250803641974926,
-0.0033607040531933308,
-0.019626056775450706,
-0.06884215027093887,
-0.08590000122785568,
-0.02331436611711979,
-0.008439993485808372,
-0.005437028594315052,
-0.005918043665587902,
0.03959241881966591,
-0.04648992791771889,
-0.02781258337199688,
0.01788957044482231,
0.0016428153030574322,
0.045282308012247086,
-0.04292251169681549,
0.05559973046183586,
-0.020302951335906982,
0.030535148456692696,
-0.04967450723052025,
0.00427212892100215,
-0.022644350305199623,
-0.03574986755847931,
0.0026606679894030094,
0.08777455985546112,
0.029381852596998215,
0.03194251284003258,
0.060911454260349274,
0.05395754799246788,
-0.045991186052560806,
0.05252328887581825,
0.030724747106432915,
-0.010177557356655598,
-0.04835955798625946,
-0.026762617751955986,
-0.0007578121148981154,
-0.03760480135679245,
-0.000439009367255494,
-0.019967354834079742,
0.026065323501825333,
0.02411087416112423,
0.024333594366908073,
-0.015019474551081657,
0.02500159665942192,
-0.009444959461688995,
-0.02877359464764595,
-0.09909915924072266,
-0.01177055761218071,
-0.006788837257772684,
-0.024064986035227776,
0.032205842435359955,
0.03604558855295181,
-0.009992662817239761,
0.04672400280833244,
0.038804177194833755,
-0.022224901244044304,
-0.0614541657269001,
0.04296085238456726,
0.06709194928407669,
-0.055588241666555405,
-0.06574136763811111,
-0.034301962703466415,
0.03645674139261246,
0.04975352808833122,
-0.0105305016040802,
-0.08837670832872391,
0.022761795669794083,
0.037077873945236206,
-0.05288034677505493,
0.05578121915459633,
-0.009421946480870247,
0.04441087320446968,
0.04607205465435982,
0.0020155981183052063,
0.02777950093150139,
-0.018676716834306717,
0.0011792934965342283,
-0.012476353906095028,
0.05770910903811455,
-0.04168537259101868,
-0.03472122550010681,
-0.03466802462935448,
0.04406959190964699,
0.04427189379930496,
0.048108603805303574,
0.071290522813797,
-0.01751714199781418,
-0.04086396470665932,
-0.007434102240949869,
0.0035185283049941063,
-0.04500846192240715,
0.0010999926598742604,
0.021122852340340614,
0.06498438864946365,
-0.05239330604672432,
-0.038861535489559174,
-0.032412413507699966,
-0.004676992539316416,
0.04567703977227211,
-0.0038900028448551893,
-0.014892070554196835,
-0.045959822833538055,
0.020129337906837463,
0.010291323065757751,
-0.017038539052009583,
-0.08837500214576721,
0.016954222694039345,
0.010109447874128819,
-0.020017342641949654,
0.04234832152724266,
0.03171636164188385,
0.05585215240716934,
0.023923654109239578,
-0.03176605701446533,
0.012538162991404533,
-0.04124459996819496,
0.04098936542868614,
0.011155237443745136,
-0.0408124104142189,
0.01183821726590395,
-0.05224421247839928,
-0.0013083760859444737,
-0.023639941588044167,
-0.03750111535191536,
-0.03896378353238106,
-0.04461272805929184,
-0.0008740582270547748,
-0.03413495793938637,
0.03451582416892052,
-0.02371889166533947,
0.012227089144289494,
-0.056378740817308426,
0.004465963691473007,
-0.015015088021755219,
-0.058893244713544846,
-0.059137001633644104,
-0.047722216695547104,
0.01620294153690338,
0.02119315415620804,
0.035146474838256836,
0.012767848558723927,
0.012315062806010246,
0.009677746333181858,
-0.0016802288591861725,
-0.023874005302786827,
0.03786962479352951,
-0.002249652286991477,
-0.020022232085466385,
-0.02057374268770218,
-0.0043805683963000774,
0.0016706048045307398,
0.03552637994289398,
-0.032739024609327316,
0.034970723092556,
0.02190164476633072,
-0.04248754680156708,
-0.05179847404360771,
0.012169002555310726,
-0.005858127493411303,
-0.08833738416433334,
-0.05054834485054016,
-0.024017415940761566,
-0.04222305119037628,
0.022020373493433,
0.0008289988618344069,
-0.00685079162940383,
-0.027399562299251556,
0.03951260820031166,
0.0010350673692300916,
-0.02579130418598652,
-0.033494606614112854,
0.009928567335009575,
-0.03211246430873871,
0.016613375395536423,
-0.09338432550430298,
0.004792600870132446,
-0.03592253476381302,
-0.010546601377427578,
-0.0238958727568388,
0.01571192592382431,
-0.055335283279418945,
0.05268937721848488,
0.008510846644639969,
-0.01000170037150383,
0.003513349685817957,
0.04070442169904709,
-0.021247675642371178,
0.01023702509701252,
-0.03405219316482544,
0.015968820080161095,
-0.04800264164805412,
0.04463740065693855,
-0.060141511261463165,
-0.02577349729835987,
-0.026390302926301956,
0.002657596953213215,
-0.031038470566272736,
-0.04001075401902199,
-0.04167942702770233,
-0.03563779592514038,
0.031954120844602585,
0.04542238637804985,
0.02237406186759472,
0.03228681534528732,
-0.000028443499104469083,
0.023142831400036812,
0.008754193782806396,
-0.08037346601486206,
-0.033797428011894226,
0.004604027606546879,
0.029075518250465393,
0.0009422092116437852,
0.05740297585725784,
0.044382043182849884,
-0.04060482233762741,
-0.051713794469833374,
0.020710285753011703,
0.015672584995627403,
-0.009858597069978714,
-0.007449517957866192,
0.01299974974244833,
0.03246775642037392,
0.03389321640133858,
-0.03101663663983345,
-0.01769532449543476,
-0.0016324373427778482,
-0.03520573675632477,
0.013120940886437893,
-0.0033471202477812767,
0.00663487333804369,
0.009272952564060688,
-0.043872371315956116,
-0.035573381930589676,
0.0650867223739624,
0.02539471723139286,
0.020600127056241035,
0.025951551273465157,
-0.03414446860551834,
0.027658935636281967,
0.018099302425980568,
-0.06078729405999184,
-0.011560513637959957,
-0.019052663818001747,
-0.03084958903491497,
0.05187502130866051,
-0.0335574671626091,
0.015600563958287239,
0.04644808545708656,
0.0035046886187046766,
-0.010710303671658039,
0.038153596222400665,
-0.03206593543291092,
0.005374791566282511,
0.05448218062520027,
-0.03467467427253723,
-0.014906874857842922,
-0.03578759729862213,
0.06606534123420715,
-0.041131727397441864,
0.061316438019275665,
0.0441451333463192,
0.011793679557740688,
0.02782837301492691,
-0.019128596410155296,
-0.03364098444581032,
0.014752846211194992,
-0.05044320970773697,
0.09209398180246353,
-0.006817298009991646,
-0.07401978224515915,
0.0617244578897953,
0.031772125512361526,
-0.060146696865558624,
0.03967409208416939,
0.03574664890766144,
-0.0032902653329074383,
0.010111846961081028,
0.02565297856926918,
-0.052167732268571854,
0.01304108276963234,
-0.05404353141784668,
0.054084159433841705,
-0.058680541813373566,
-0.014447345398366451,
0.002933846553787589,
-0.03613216429948807,
-0.012918632477521896,
0.04301408678293228,
-0.05137746036052704,
-0.005083698779344559,
0.02909950166940689,
-0.05941098555922508,
-0.02639058604836464,
-0.010171754285693169,
0.008359186351299286,
-0.0057529560290277,
0.007988101802766323,
-0.004400281235575676,
-0.005073808133602142,
0.025575490668416023,
-0.000657118100207299,
-0.0403364934027195,
-0.0012579141184687614,
-0.008252928033471107,
-0.05778471380472183,
-0.027874132618308067,
0.03860662505030632,
0.003130362369120121,
-0.04013551026582718,
0.01952281780540943,
-0.03970060497522354,
0.02439800649881363,
0.036585137248039246,
-0.007398885674774647,
0.03396226093173027,
-0.03206262364983559,
0.004607509821653366,
0.04113694652915001,
0.009568802081048489,
0.010599249042570591,
-0.007315624039620161,
0.007894748821854591,
0.029200980439782143,
0.036981917917728424,
-0.009186884388327599,
-0.04030531644821167,
-0.03928360715508461,
0.03502398729324341,
-0.03312956169247627,
0.009239783510565758,
0.021974394097924232,
-0.05140973627567291,
-0.03412773087620735,
-0.02013428509235382,
-0.007376443594694138,
0.04420729726552963,
-0.04097285494208336,
0.006473341025412083,
0.050340063869953156,
-0.03678347170352936,
-0.026205342262983322,
-0.052334874868392944,
-0.030009418725967407,
-0.00988919660449028,
0.02355475351214409,
0.025312867015600204,
-0.029726408421993256,
0.0037558339536190033,
-0.036226872354745865,
-0.03136630728840828,
0.04489315673708916,
0.03460739925503731,
-0.047346219420433044,
0.033926088362932205,
0.03351183235645294,
-0.04787855222821236,
0.009120605885982513,
0.04876883327960968,
-0.049132976680994034,
0.03793726861476898,
0.020065439864993095,
0.01982884481549263,
0.01413133554160595,
0.05034463852643967,
-0.02337404526770115,
0.00031925743678584695,
-0.07357726991176605,
-0.022400330752134323,
-0.05027352273464203,
0.009379350580275059,
0.08222319930791855
] |
alexandrainst/da-hatespeech-detection-small | [
"pytorch",
"electra",
"text-classification",
"da",
"transformers",
"license:cc-by-4.0"
] | text-classification | {
"architectures": [
"ElectraForSequenceClassification"
],
"model_type": "electra",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 1,506 | 2020-09-28T22:16:34Z | ---
language: en
thumbnail: https://raw.githubusercontent.com/digitalepidemiologylab/covid-twitter-bert/master/images/COVID-Twitter-BERT_small.png
tags:
- Twitter
- COVID-19
license: mit
---
# COVID-Twitter-BERT v2
## Model description
BERT-large-uncased model, pretrained on a corpus of messages from Twitter about COVID-19. This model is identical to [covid-twitter-bert](https://huggingface.co/digitalepidemiologylab/covid-twitter-bert) - but trained on more data, resulting in higher downstream performance.
Find more info on our [GitHub page](https://github.com/digitalepidemiologylab/covid-twitter-bert).
## Intended uses & limitations
The model can e.g. be used in the `fill-mask` task (see below). You can also use the model without the MLM/NSP heads and train a classifier with it.
#### How to use
```python
from transformers import pipeline
import json
pipe = pipeline(task='fill-mask', model='digitalepidemiologylab/covid-twitter-bert-v2')
out = pipe(f"In places with a lot of people, it's a good idea to wear a {pipe.tokenizer.mask_token}")
print(json.dumps(out, indent=4))
[
{
"sequence": "[CLS] in places with a lot of people, it's a good idea to wear a mask [SEP]",
"score": 0.9998226761817932,
"token": 7308,
"token_str": "mask"
},
...
]
```
## Training procedure
This model was trained on 97M unique tweets (1.2B training examples) collected between January 12 and July 5, 2020 containing at least one of the keywords "wuhan", "ncov", "coronavirus", "covid", or "sars-cov-2". These tweets were filtered and preprocessed to reach a final sample of 22.5M tweets (containing 40.7M sentences and 633M tokens) which were used for training.
## Eval results
The model was evaluated based on downstream Twitter text classification tasks from previous SemEval challenges.
### BibTeX entry and citation info
```bibtex
@article{muller2020covid,
title={COVID-Twitter-BERT: A Natural Language Processing Model to Analyse COVID-19 Content on Twitter},
author={M{\"u}ller, Martin and Salath{\'e}, Marcel and Kummervold, Per E},
journal={arXiv preprint arXiv:2005.07503},
year={2020}
}
```
or
```Martin MΓΌller, Marcel SalathΓ©, and Per E. Kummervold.
COVID-Twitter-BERT: A Natural Language Processing Model to Analyse COVID-19 Content on Twitter.
arXiv preprint arXiv:2005.07503 (2020).
```
| [
-0.00498145492747426,
-0.02970627322793007,
-0.019595323130488396,
0.043529633432626724,
0.0690326914191246,
0.020450392737984657,
-0.03868850693106651,
-0.021378647536039352,
-0.013417203910648823,
0.03339584916830063,
0.0167803056538105,
-0.002190875820815563,
-0.0018376631196588278,
0.0446968749165535,
-0.010659748688340187,
-0.04208528995513916,
-0.000560590997338295,
0.008278283290565014,
-0.051816847175359726,
-0.0019231712212786078,
-0.011423894204199314,
-0.010881414636969566,
0.003643750213086605,
0.0007538318750448525,
0.011524664238095284,
0.015897512435913086,
0.008723068982362747,
0.045814018696546555,
0.0374491848051548,
-0.0626174733042717,
-0.014085990376770496,
0.0036655538715422153,
-0.026212504133582115,
-0.009915017522871494,
-0.003946878015995026,
-0.012046157382428646,
0.008860654197633266,
0.022630084306001663,
0.0097070736810565,
0.03314568102359772,
0.00815511867403984,
-0.015376919880509377,
-0.009048443287611008,
-0.027121299877762794,
0.07470175623893738,
-0.008814890868961811,
-0.07190415263175964,
-0.010868405923247337,
0.03592223674058914,
-0.01822766661643982,
-0.08080790936946869,
-0.06689734756946564,
-0.04538031294941902,
0.03560818359255791,
-0.005052024498581886,
-0.03915882483124733,
-0.03448197990655899,
-0.0073940870352089405,
0.04198504984378815,
-0.05004088953137398,
-0.029865209013223648,
0.009909341111779213,
-0.06295526027679443,
0.019812852144241333,
0.038455866277217865,
-0.016469944268465042,
0.004629918839782476,
-0.04905514046549797,
0.03734156861901283,
0.00009462548041483387,
0.04684428498148918,
-0.03732137382030487,
0.03177705779671669,
-0.07781518250703812,
-0.011439315974712372,
-0.02194330096244812,
0.04675858095288277,
0.05910098925232887,
-0.040251269936561584,
0.04423597455024719,
0.008542641066014767,
0.011553988792002201,
0.04472014307975769,
-0.009760593064129353,
0.005580844823271036,
0.02079339139163494,
-0.03327752649784088,
0.010117089375853539,
-0.005655214190483093,
0.036395300179719925,
-0.010618962347507477,
-0.014567665755748749,
-0.028741927817463875,
-0.030879566445946693,
-0.032708778977394104,
0.03320997953414917,
0.037161584943532944,
-0.030668336898088455,
0.026194090023636818,
0.029529061168432236,
0.02779526449739933,
0.033874183893203735,
-0.011261834762990475,
0.06431157141923904,
-0.020998632535338402,
-0.010857734829187393,
-0.03242865577340126,
-0.02789950743317604,
-0.03905724734067917,
0.020276786759495735,
0.03473895043134689,
-0.05222013220191002,
-0.028039997443556786,
0.04998915269970894,
0.019537748768925667,
-0.0018176969606429338,
0.047809015959501266,
-0.050797734409570694,
-0.024243885651230812,
-0.00014165567699819803,
0.03465407341718674,
-0.014264550991356373,
-0.019563589245080948,
0.0009477948187850416,
-0.052485205233097076,
0.014605519361793995,
-0.03068079799413681,
-0.01719425991177559,
0.01645185984671116,
0.04224022850394249,
-0.006865337956696749,
0.023883644491434097,
0.022683564573526382,
-0.0384199321269989,
0.012307721190154552,
0.030443696305155754,
-0.07033097743988037,
0.0397748202085495,
0.00819694995880127,
0.109532929956913,
-0.07517565786838531,
-0.06072520837187767,
0.027351176366209984,
0.010544732213020325,
-0.028173591941595078,
0.004649790469557047,
0.03229227662086487,
-0.003432012628763914,
-0.018314575776457787,
0.016232535243034363,
0.04892536997795105,
-0.04972997307777405,
-0.023876365274190903,
0.05631661042571068,
-0.009581592865288258,
0.0329231359064579,
-0.038864731788635254,
-0.012406495399773121,
-0.013177757151424885,
-0.00003944214040529914,
-0.031331617385149,
0.042275696992874146,
-0.012035510502755642,
-0.01024792529642582,
-0.013074114918708801,
-0.055587757378816605,
-0.0298366229981184,
0.1057349145412445,
-0.00670288223773241,
-0.016593918204307556,
-0.02325647510588169,
0.01905111037194729,
0.054259683936834335,
0.0298025943338871,
-0.027118295431137085,
0.02920296974480152,
0.05587872117757797,
0.028971951454877853,
-0.01799619570374489,
0.04216793552041054,
0.0016663430724292994,
-0.06642414629459381,
-0.023054854944348335,
0.024027662351727486,
-0.004465342964977026,
-0.019068753346800804,
0.01039761770516634,
0.050754364579916,
-0.027586283162236214,
-0.047107767313718796,
-0.03437836095690727,
0.05219712853431702,
-0.01666487194597721,
0.010409540496766567,
-0.020654872059822083,
0.012530561536550522,
-0.0071785943582654,
0.0468810498714447,
-0.034949999302625656,
-0.013979892246425152,
-0.0287864338606596,
-0.02169809117913246,
-0.01367288175970316,
0.013652818277478218,
0.05074166879057884,
0.05323692783713341,
-0.01772979088127613,
0.08400294929742813,
-0.023593386635184288,
0.013742052949965,
-0.06327413767576218,
-0.07556424289941788,
-0.0037436869461089373,
0.0377548485994339,
0.057932667434215546,
0.04757576435804367,
-0.013157712295651436,
-0.022648535668849945,
0.02306009829044342,
0.08986523747444153,
0.060368191450834274,
0.0012456971453502774,
-0.03163374960422516,
0.0038136206567287445,
0.01778344437479973,
0.05455588549375534,
-0.04781455546617508,
-0.031516898423433304,
0.026948196813464165,
0.04899127408862114,
-0.026596954092383385,
0.00011426307901274413,
-0.03605262190103531,
0.033502236008644104,
-0.028671978041529655,
-0.07787129282951355,
0.03156089410185814,
0.045988503843545914,
0.0286847110837698,
0.019269397482275963,
-0.025283092632889748,
-0.025872692465782166,
0.03638474643230438,
0.015399812720716,
0.0035443727392703295,
-0.029395533725619316,
0.002794165164232254,
0.034653641283512115,
0.05824165791273117,
-0.054279617965221405,
0.04166810214519501,
0.003719271859154105,
-0.01673712208867073,
0.04922822117805481,
-0.01163667906075716,
0.04157213121652603,
0.07868260890245438,
0.009771286509931087,
0.014090415090322495,
0.03455585241317749,
0.017315078526735306,
0.010320764034986496,
0.030341852456331253,
0.007003613747656345,
0.05046712979674339,
0.018749943003058434,
0.03686363995075226,
0.0791965201497078,
0.03144943341612816,
0.0020809643901884556,
0.02082560397684574,
0.08538208156824112,
0.010864410549402237,
-0.015863729640841484,
0.03470449894666672,
-0.03680415078997612,
0.014103342778980732,
-0.041555069386959076,
-0.0030764201655983925,
-0.0034013555850833654,
-0.028688931837677956,
0.03336136415600777,
0.03562434762716293,
-0.02823220007121563,
0.010094495490193367,
-0.007557412143796682,
-0.002126133069396019,
0.05317718908190727,
-0.027447720989584923,
0.004118497017771006,
0.003443686058744788,
-0.0290263369679451,
0.030815202742815018,
-0.061650052666664124,
-0.019567737355828285,
0.008312704041600227,
-0.04415026307106018,
0.0038853702135384083,
-0.09505835920572281,
-0.04210382327437401,
-0.07412919402122498,
-0.022676149383187294,
0.016891084611415863,
0.02886773832142353,
-0.015398770570755005,
-0.03959915041923523,
0.010243454948067665,
-0.027648920193314552,
-0.04233411327004433,
-0.043163470923900604,
-0.06953968852758408,
-0.0292364414781332,
-0.06832467764616013,
0.02296973019838333,
0.025540033355355263,
0.0028300185222178698,
-0.006487497594207525,
-0.0003583997895475477,
-0.026385150849819183,
-0.024443527683615685,
0.04215329512953758,
0.032343409955501556,
-0.013657370582222939,
-0.06252828985452652,
0.006424634251743555,
-0.012993945740163326,
0.028063051402568817,
-0.01840558648109436,
-0.006931359879672527,
0.0600411593914032,
0.05400453880429268,
0.006767341401427984,
0.01589943841099739,
-0.014049938879907131,
-0.026297202333807945,
-0.04458688199520111,
-0.016617389395833015,
-0.03205658122897148,
-0.015158934518694878,
-0.04423362761735916,
-0.05308138579130173,
-0.043669793754816055,
-0.05251399800181389,
-0.013577391393482685,
-0.014448514208197594,
-0.004227481782436371,
0.023403692990541458,
0.04389924928545952,
0.047920387238264084,
0.03917916491627693,
-0.04770012944936752,
-0.041804466396570206,
0.056699734181165695,
0.003931434825062752,
-0.009750522673130035,
-0.07634852826595306,
-0.03066709078848362,
0.05326805263757706,
0.024817179888486862,
0.00968838855624199,
-0.021017255261540413,
0.079043909907341,
0.029123732820153236,
-0.008728180080652237,
-0.032488610595464706,
-0.010487115010619164,
0.005647559650242329,
-0.013118825852870941,
0.00897172186523676,
-0.013126503676176071,
-0.03940903767943382,
-0.02729135751724243,
0.0033764089457690716,
0.04989706352353096,
-0.06018125265836716,
-0.05755008012056351,
-0.008032730780541897,
0.026324208825826645,
0.0546879768371582,
0.018414203077554703,
-0.05570680648088455,
-0.03106718137860298,
-0.05996935814619064,
-0.03946473449468613,
0.011913163587450981,
-0.006046284455806017,
0.023715434595942497,
0.051568422466516495,
0.012722454033792019,
-0.007773587014526129,
0.05311056971549988,
0.031025182455778122,
0.0555330291390419,
0.015984999015927315,
-0.05727366358041763,
0.01378687471151352,
-0.020819462835788727,
0.020079975947737694,
-0.0037767505273222923,
-0.03208974376320839,
-0.05513494834303856,
-0.06626411527395248,
-0.020669378340244293,
-0.011228703893721104,
0.027360161766409874,
-0.023901207372546196,
0.054842229932546616,
0.003661577822640538,
-0.002319945255294442,
-0.025413556024432182,
0.011317651718854904,
0.03576428443193436,
-0.04439130052924156,
0.09377304464578629,
-0.019222620874643326,
0.041099440306425095,
-0.031103000044822693,
0.0026535210199654102,
-0.061180129647254944,
-0.012074010446667671,
0.00775242131203413,
0.06526575982570648,
-0.0004519348731264472,
0.061596836894750595,
0.06322556734085083,
0.018338199704885483,
-0.039325788617134094,
0.02356724441051483,
0.04432327300310135,
-0.02802586369216442,
-0.02120470441877842,
-0.006811810657382011,
-0.021267546340823174,
-0.05564120411872864,
0.017950328066945076,
-0.015324071049690247,
0.03243981674313545,
0.02663581632077694,
0.0048705944791436195,
0.006813779007643461,
0.013001466169953346,
-0.010629571042954922,
-0.041936248540878296,
-0.07940643280744553,
-0.04560218006372452,
0.010941147804260254,
-0.0033484934829175472,
0.009205217473208904,
0.02470978908240795,
0.025325849652290344,
0.0705476924777031,
0.02543139085173607,
-0.04106521233916283,
-0.0382990762591362,
0.024774931371212006,
0.044929686933755875,
-0.030143432319164276,
-0.05584219470620155,
-0.044528812170028687,
0.03590904176235199,
0.030918803066015244,
-0.02082391455769539,
-0.07969298958778381,
0.02839205227792263,
0.0414707325398922,
-0.053158070892095566,
0.08817427605390549,
0.02232373133301735,
0.04827193170785904,
0.048759814351797104,
-0.019704604521393776,
0.027381891384720802,
-0.022902298718690872,
0.0022872602567076683,
0.012317090295255184,
0.029885882511734962,
-0.04113616794347763,
-0.027133068069815636,
-0.018227364867925644,
0.04144172742962837,
0.028815532103180885,
0.0209262203425169,
0.01835469901561737,
-0.02128307893872261,
-0.046152908354997635,
0.02213897742331028,
0.054962046444416046,
-0.022310232743620872,
0.009733074344694614,
0.045779041945934296,
0.042199280112981796,
-0.05982295051217079,
-0.04056181386113167,
-0.021890124306082726,
-0.012536942958831787,
0.01940751075744629,
0.013473212718963623,
-0.06376510113477707,
-0.04479854553937912,
0.030093157663941383,
0.018947593867778778,
-0.01297326385974884,
-0.0763869509100914,
-0.0013553553726524115,
-0.02263748086988926,
-0.021880945190787315,
0.020124046131968498,
0.0256182923913002,
0.04197591170668602,
0.05677708238363266,
0.007563426159322262,
-0.004506164230406284,
-0.04656413570046425,
0.014056305401027203,
-0.02085324563086033,
-0.0336461067199707,
-0.026318736374378204,
-0.03360745683312416,
-0.04093107953667641,
-0.01907273381948471,
-0.040689121931791306,
-0.06522420793771744,
-0.037458635866642,
0.0025431495159864426,
0.004658041521906853,
0.006723418831825256,
0.012751532718539238,
0.04607759043574333,
-0.04931632801890373,
0.005866345949470997,
-0.047466177493333817,
-0.017892569303512573,
-0.06747318804264069,
-0.0551852285861969,
0.010637453757226467,
0.02412065491080284,
0.037916041910648346,
0.008804651908576488,
0.027072511613368988,
0.002126578940078616,
0.02072143740952015,
-0.023230290040373802,
0.01152451429516077,
0.016724804416298866,
-0.039748262614011765,
0.0008766365353949368,
0.03053753450512886,
0.021185731515288353,
0.04861767217516899,
-0.008727166801691055,
0.013271830044686794,
0.022801047191023827,
-0.018420623615384102,
-0.0181744284927845,
0.04770346358418465,
-0.014031621627509594,
-0.07929375767707825,
-0.026934539899230003,
-0.0048364996910095215,
-0.03451123461127281,
0.053513165563344955,
-0.04481184482574463,
-0.038746148347854614,
0.012614178471267223,
0.004216412082314491,
0.04281327873468399,
-0.031938809901475906,
-0.03173650801181793,
0.02234615385532379,
-0.013230695389211178,
0.017013804987072945,
-0.07983264327049255,
0.009885843843221664,
-0.05347130820155144,
-0.0022035022266209126,
-0.010824273340404034,
-0.001629955368116498,
-0.04120481386780739,
0.05933847650885582,
-0.00800999067723751,
-0.03254149481654167,
-0.013444296084344387,
0.014863865450024605,
0.0029505628626793623,
0.02394935116171837,
0.0024916846305131912,
0.03617021068930626,
-0.044746607542037964,
0.06539759039878845,
-0.06190081685781479,
-0.016234593465924263,
-0.042844031006097794,
0.012162555009126663,
-0.03115961328148842,
-0.040523603558540344,
-0.0324598103761673,
-0.05327225476503372,
0.040231816470623016,
0.03400348126888275,
0.03094366565346718,
0.04493865743279457,
-0.005797389429062605,
0.001944839023053646,
0.03866330906748772,
-0.09646683931350708,
-0.05786612629890442,
-0.021358441561460495,
0.020410588011145592,
0.02725929208099842,
0.046979889273643494,
0.05810506269335747,
-0.04248157516121864,
-0.06958891451358795,
0.04484182223677635,
0.05012188106775284,
0.0075135319493710995,
0.005425829440355301,
0.057549431920051575,
0.018354488536715508,
0.03806356340646744,
-0.018761644139885902,
-0.024523062631487846,
-0.017807776108384132,
-0.038583312183618546,
0.020782724022865295,
-0.007547162938863039,
0.01718185842037201,
0.02114562876522541,
-0.055133990943431854,
-0.04649064317345619,
0.052590277045965195,
0.04921707510948181,
0.03364354744553566,
0.003459143452346325,
-0.03611793741583824,
0.008540607988834381,
-0.02546396479010582,
-0.04692981019616127,
-0.0047162906266748905,
-0.014024829491972923,
-0.038923606276512146,
0.0613512322306633,
0.00446125864982605,
0.029734238982200623,
0.049965474754571915,
0.04262794926762581,
-0.03111221455037594,
0.04374481737613678,
-0.039425212889909744,
0.012753453105688095,
0.036213286221027374,
-0.007359247654676437,
0.012612528167665005,
-0.015432010404765606,
0.03309075906872749,
-0.07575873285531998,
0.06829328089952469,
0.04217512533068657,
-0.03605241701006889,
0.010164247825741768,
-0.02925790846347809,
-0.015147470869123936,
0.011327984742820263,
-0.03972546383738518,
0.08779224008321762,
-0.012743503786623478,
-0.06216256693005562,
0.07580692321062088,
0.013405624777078629,
-0.05524864047765732,
0.03851250931620598,
0.051926761865615845,
-0.014635983854532242,
0.005304946564137936,
0.04199704900383949,
-0.04183041676878929,
0.0358617939054966,
-0.05984075739979744,
0.030703186988830566,
-0.04557165130972862,
-0.023949138820171356,
0.03801038861274719,
-0.02490662783384323,
-0.022212320938706398,
0.05274512991309166,
-0.02528761327266693,
-0.011275687254965305,
0.023954195901751518,
-0.029092179611325264,
-0.03195081278681755,
0.007987523451447487,
0.020916590467095375,
-0.009162121452391148,
-0.01963585987687111,
-0.015613311901688576,
0.02244866080582142,
-0.009463594295084476,
0.010291396640241146,
-0.019393229857087135,
-0.011985750868916512,
0.021846862509846687,
-0.058101750910282135,
-0.03865116089582443,
0.05554746091365814,
-0.024737868458032608,
-0.01765492931008339,
0.040866777300834656,
-0.012672094628214836,
-0.017013514414429665,
0.01742098107933998,
0.006431895773857832,
0.007329617161303759,
-0.023718642070889473,
-0.010149580426514149,
0.034344591200351715,
0.03624964505434036,
0.024553576484322548,
-0.018880082294344902,
0.020518599078059196,
0.059456899762153625,
0.04030456766486168,
0.003366613294929266,
0.023227954283356667,
-0.015336996875703335,
0.016475170850753784,
-0.05556028336286545,
-0.01609998755156994,
0.013015183620154858,
-0.04902443662285805,
-0.026377862319350243,
0.003121401183307171,
-0.035643190145492554,
0.060388728976249695,
-0.046112798154354095,
0.014380626380443573,
0.046376921236515045,
-0.018937943503260612,
-0.03380265086889267,
-0.08907631784677505,
-0.03547662869095802,
-0.02689468488097191,
0.015754707157611847,
0.02660742774605751,
0.002743750112131238,
0.0018195930169895291,
-0.03348756581544876,
-0.05898423120379448,
0.029291225597262383,
0.032955337315797806,
-0.05721933767199516,
0.02714812383055687,
0.05221252515912056,
-0.0280548557639122,
-0.015973420813679695,
0.012055730447173119,
-0.027076356112957,
0.034675102680921555,
0.009432568214833736,
-0.011223994195461273,
0.005542938597500324,
0.027628589421510696,
-0.04201293736696243,
-0.01292386744171381,
-0.035782426595687866,
-0.032912563532590866,
-0.049542348831892014,
0.0002938656834885478,
0.05964438617229462
] |
alexandrainst/da-ned-base | [
"pytorch",
"tf",
"xlm-roberta",
"text-classification",
"da",
"transformers",
"license:cc-by-sa-4.0"
] | text-classification | {
"architectures": [
"XLMRobertaForSequenceClassification"
],
"model_type": "xlm-roberta",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 25 | null | ---
language: "en"
thumbnail: "https://raw.githubusercontent.com/digitalepidemiologylab/covid-twitter-bert/master/images/COVID-Twitter-BERT_small.png"
tags:
- Twitter
- COVID-19
license: mit
---
# COVID-Twitter-BERT (CT-BERT) v1
:warning: _You may want to use the [v2 model](https://huggingface.co/digitalepidemiologylab/covid-twitter-bert-v2) which was trained on more recent data and yields better performance_ :warning:
BERT-large-uncased model, pretrained on a corpus of messages from Twitter about COVID-19. Find more info on our [GitHub page](https://github.com/digitalepidemiologylab/covid-twitter-bert).
## Overview
This model was trained on 160M tweets collected between January 12 and April 16, 2020 containing at least one of the keywords "wuhan", "ncov", "coronavirus", "covid", or "sars-cov-2". These tweets were filtered and preprocessed to reach a final sample of 22.5M tweets (containing 40.7M sentences and 633M tokens) which were used for training.
This model was evaluated based on downstream classification tasks, but it could be used for any other NLP task which can leverage contextual embeddings.
In order to achieve best results, make sure to use the same text preprocessing as we did for pretraining. This involves replacing user mentions, urls and emojis. You can find a script on our projects [GitHub repo](https://github.com/digitalepidemiologylab/covid-twitter-bert).
## Example usage
```python
tokenizer = AutoTokenizer.from_pretrained("digitalepidemiologylab/covid-twitter-bert")
model = AutoModel.from_pretrained("digitalepidemiologylab/covid-twitter-bert")
```
You can also use the model with the `pipeline` interface:
```python
from transformers import pipeline
import json
pipe = pipeline(task='fill-mask', model='digitalepidemiologylab/covid-twitter-bert-v2')
out = pipe(f"In places with a lot of people, it's a good idea to wear a {pipe.tokenizer.mask_token}")
print(json.dumps(out, indent=4))
[
{
"sequence": "[CLS] in places with a lot of people, it's a good idea to wear a mask [SEP]",
"score": 0.9959408044815063,
"token": 7308,
"token_str": "mask"
},
...
]
```
## References
[1] Martin MΓΌller, Marcel SalatΓ©, Per E Kummervold. "COVID-Twitter-BERT: A Natural Language Processing Model to Analyse COVID-19 Content on Twitter" arXiv preprint arXiv:2005.07503 (2020).
| [
-0.002800864400342107,
-0.031968168914318085,
-0.02356238290667534,
0.04740309342741966,
0.06096496060490608,
0.025608081370592117,
-0.03744274005293846,
-0.03398800268769264,
-0.021455999463796616,
0.02427273988723755,
0.026756225153803825,
0.004309228155761957,
-0.01912214607000351,
0.052998170256614685,
-0.011619470082223415,
-0.05503573641180992,
-0.007700502406805754,
0.0049124713987112045,
-0.03990760073065758,
-0.0000666564519633539,
-0.002093024319037795,
-0.010018784552812576,
0.006720367353409529,
0.00848048273473978,
0.016905799508094788,
0.019606372341513634,
0.00770506402477622,
0.059180304408073425,
0.02769535593688488,
-0.05325676500797272,
-0.006954309530556202,
0.01031149085611105,
-0.03565707057714462,
0.0015288301510736346,
0.005730363540351391,
0.0009040414588525891,
0.002886854810640216,
0.026992402970790863,
-0.001580169890075922,
0.03406493365764618,
0.008224795572459698,
-0.007948351092636585,
0.0022370147053152323,
-0.03644949942827225,
0.0675780326128006,
-0.015443803742527962,
-0.058311957865953445,
-0.01779983751475811,
0.031013119965791702,
-0.05020131915807724,
-0.07233801484107971,
-0.07496806234121323,
-0.0364464707672596,
0.034052662551403046,
-0.0030019362457096577,
-0.031753506511449814,
-0.03502056747674942,
-0.015062998980283737,
0.042724769562482834,
-0.04556472599506378,
-0.021685823798179626,
0.011929303407669067,
-0.06249800696969032,
0.00889489334076643,
0.040911272168159485,
-0.03300367668271065,
-0.0032228652853518724,
-0.04968509078025818,
0.031459707766771317,
-0.009710940532386303,
0.03907592594623566,
-0.045675672590732574,
0.04676973447203636,
-0.06983013451099396,
-0.02964259497821331,
-0.025798160582780838,
0.047515012323856354,
0.06393705308437347,
-0.04188931733369827,
0.05696604400873184,
0.008827067911624908,
0.01735895685851574,
0.05480167269706726,
-0.021349839866161346,
-0.0003108142118435353,
0.029822006821632385,
-0.03757971525192261,
0.014972495846450329,
-0.001651874161325395,
0.03515976294875145,
-0.011495198123157024,
-0.004657259210944176,
-0.021598801016807556,
-0.01570582203567028,
-0.029515273869037628,
0.04129033535718918,
0.026470661163330078,
-0.021823497489094734,
0.021723853424191475,
0.04698431119322777,
0.0328507125377655,
0.038570839911699295,
-0.019187208265066147,
0.054074373096227646,
-0.02309744618833065,
-0.0008941323612816632,
-0.02379383146762848,
-0.030558856204152107,
-0.036194317042827606,
0.034966614097356796,
0.04112608730792999,
-0.055448051542043686,
-0.04307393729686737,
0.057219889014959335,
0.02772023156285286,
-0.004510676953941584,
0.04003758728504181,
-0.05138210579752922,
-0.02778606303036213,
0.001941279973834753,
0.04022737964987755,
-0.0027172451373189688,
-0.01126797217875719,
-0.0005693392595276237,
-0.05859347805380821,
0.0201486237347126,
-0.0494626946747303,
-0.041218146681785583,
0.01746542751789093,
0.044391658157110214,
0.00033605212229304016,
0.023938534781336784,
0.023956242948770523,
-0.033957671374082565,
0.014535768888890743,
0.033825214952230453,
-0.06632433831691742,
0.030424633994698524,
0.020945537835359573,
0.10016800463199615,
-0.0718337744474411,
-0.06206768378615379,
0.026730714365839958,
0.018936436623334885,
-0.02142743580043316,
0.005965190939605236,
0.02513621374964714,
0.002987865125760436,
-0.024153517559170723,
0.0051987445913255215,
0.0403355248272419,
-0.04385368153452873,
-0.02795037068426609,
0.04497235640883446,
-0.005631165578961372,
0.04363139718770981,
-0.03860393166542053,
0.0023659118451178074,
-0.02069392241537571,
0.0033098903950303793,
-0.03616747632622719,
0.03828241303563118,
-0.004396842792630196,
-0.0020624566823244095,
-0.02974257618188858,
-0.04477478563785553,
-0.02515401318669319,
0.09910157322883606,
-0.009295712225139141,
-0.022244282066822052,
-0.04188968986272812,
0.016412846744060516,
0.06614210456609726,
0.025193016976118088,
-0.02288707345724106,
0.026046495884656906,
0.05887328088283539,
0.04176817089319229,
0.010345841757953167,
0.04975859820842743,
0.00185637385584414,
-0.06169635057449341,
-0.035747501999139786,
0.030027728527784348,
-0.013985371217131615,
-0.01946326345205307,
0.00872061774134636,
0.05392053723335266,
-0.021878449246287346,
-0.0435761958360672,
-0.03785894438624382,
0.06329873949289322,
-0.023692769929766655,
0.007387317251414061,
-0.011411488056182861,
0.007892100140452385,
-0.010026325471699238,
0.05656730383634567,
-0.03573351353406906,
-0.021679479628801346,
-0.0269467830657959,
-0.025941507890820503,
-0.020236799493432045,
0.016368232667446136,
0.04063849896192551,
0.04274286702275276,
-0.01180117204785347,
0.08007803559303284,
-0.024239366874098778,
0.013474431820213795,
-0.047257523983716965,
-0.07676763832569122,
-0.013497378677129745,
0.03515438362956047,
0.06705720722675323,
0.05557125806808472,
-0.012977153062820435,
-0.02532212808728218,
0.02740423195064068,
0.08098539710044861,
0.047860316932201385,
0.018542030826210976,
-0.025993529707193375,
0.01002267375588417,
0.01862618327140808,
0.04622592777013779,
-0.04707079753279686,
-0.038947269320487976,
0.027188673615455627,
0.05052805319428444,
-0.028767632320523262,
-0.007306196261197329,
-0.04070112854242325,
0.02184036374092102,
-0.03342454880475998,
-0.08504623919725418,
0.03682135045528412,
0.044157974421978,
0.022363316267728806,
0.02024703472852707,
-0.024236468598246574,
-0.021485302597284317,
0.03376972675323486,
0.019360480830073357,
-0.002569715492427349,
-0.03568277880549431,
-0.0020186924375593662,
0.03082173690199852,
0.06097349151968956,
-0.0511719286441803,
0.03836170211434364,
-0.0012237466871738434,
-0.023549681529402733,
0.04290744662284851,
-0.017106084153056145,
0.045082226395606995,
0.05966351926326752,
0.010285737924277782,
0.010990290902554989,
0.023700186982750893,
0.008128035813570023,
0.006694001145660877,
0.02911164052784443,
0.008266514167189598,
0.051920972764492035,
0.018299367278814316,
0.02458239160478115,
0.06085233390331268,
0.026599273085594177,
-0.0013159761438146234,
0.03861149027943611,
0.07763665169477463,
0.003217398189008236,
-0.01042605098336935,
0.04574909061193466,
-0.0211744736880064,
0.014166130684316158,
-0.04016399011015892,
-0.0027637286111712456,
-0.009779446758329868,
-0.019506830722093582,
0.0277558583766222,
0.020513327792286873,
-0.028610456734895706,
0.014628451317548752,
-0.0027889180928468704,
-0.004680657293647528,
0.03665824607014656,
-0.017634034156799316,
0.017464060336351395,
0.005128644872456789,
-0.03494233638048172,
0.04553321748971939,
-0.06133456528186798,
-0.02433745376765728,
0.020485879853367805,
-0.039886362850666046,
0.007165140006691217,
-0.08978106826543808,
-0.055882103741168976,
-0.0727522149682045,
-0.01739787496626377,
0.02524590492248535,
0.026758378371596336,
-0.011109370738267899,
-0.03777686879038811,
0.009003130719065666,
-0.02024294063448906,
-0.04541557654738426,
-0.05445367470383644,
-0.06099957972764969,
-0.030962971970438957,
-0.06586622446775436,
0.03766963258385658,
0.029272451996803284,
0.004981736186891794,
0.001932694809511304,
0.0029573526699095964,
-0.035334911197423935,
-0.020164653658866882,
0.05018838122487068,
0.0365486666560173,
-0.01758970506489277,
-0.05378560721874237,
-0.0038961139507591724,
0.009337905794382095,
0.022342659533023834,
-0.023974072188138962,
-0.006310307886451483,
0.04493328556418419,
0.050548847764730453,
-0.003892076900228858,
0.016553213819861412,
-0.00468235881999135,
-0.023505620658397675,
-0.04045939818024635,
-0.024379068985581398,
-0.023662688210606575,
-0.0129776019603014,
-0.05379460006952286,
-0.0573105588555336,
-0.04266537353396416,
-0.04898897558450699,
0.001908131642267108,
-0.009235301055014133,
-0.020268598571419716,
0.014662460424005985,
0.04112016037106514,
0.04474376514554024,
0.027944277971982956,
-0.04589536413550377,
-0.04088393971323967,
0.06817696243524551,
-0.000891367788426578,
-0.017028041183948517,
-0.07911001145839691,
-0.04067264124751091,
0.05572228133678436,
0.035194218158721924,
0.01475525926798582,
-0.034085649996995926,
0.08453863114118576,
0.01547920797020197,
-0.0018712581368163228,
-0.029727919027209282,
-0.016375118866562843,
-0.013940679840743542,
-0.01354632806032896,
-0.004121650941669941,
-0.007736412342637777,
-0.020138680934906006,
-0.010765389539301395,
-0.006548602599650621,
0.05602572113275528,
-0.06274452805519104,
-0.04717002809047699,
-0.01565087027847767,
0.015442532487213612,
0.04006956145167351,
0.014301267452538013,
-0.060691092163324356,
-0.02520124427974224,
-0.06384489685297012,
-0.046393513679504395,
0.007626392878592014,
-0.011386069469153881,
0.015107803046703339,
0.05367668718099594,
0.02428237907588482,
-0.004338906146585941,
0.05969073623418808,
0.011161508038640022,
0.050626691430807114,
0.01955695077776909,
-0.04736641049385071,
0.032671671360731125,
-0.029925234615802765,
0.013492990285158157,
0.0025010998360812664,
-0.01945495791733265,
-0.05339271202683449,
-0.061826497316360474,
-0.020957177504897118,
0.0025943685322999954,
0.020995359867811203,
-0.02470231242477894,
0.061248958110809326,
0.0021643226500600576,
0.000016395315469708294,
-0.0336432084441185,
0.01278898399323225,
0.036399152129888535,
-0.043661925941705704,
0.09115219861268997,
-0.007506776135414839,
0.04715564846992493,
-0.047963570803403854,
0.0004963640822097659,
-0.05183445289731026,
-0.015788929536938667,
0.008666793815791607,
0.07615723460912704,
0.01213817112147808,
0.03147612884640694,
0.07368195801973343,
0.011548464186489582,
-0.038145456463098526,
0.02821643091738224,
0.034870848059654236,
-0.017262570559978485,
-0.0185846034437418,
-0.011778590269386768,
-0.01624251715838909,
-0.05671371892094612,
0.011917773634195328,
-0.034222885966300964,
0.03003678284585476,
0.040454961359500885,
0.013313350267708302,
-0.004256082233041525,
0.017079155892133713,
-0.01581227220594883,
-0.04018150269985199,
-0.08075415343046188,
-0.04962868615984917,
0.010958187282085419,
-0.0150494035333395,
0.01811928115785122,
0.02394089102745056,
0.0030097286216914654,
0.05595773085951805,
0.03323732316493988,
-0.035044196993112564,
-0.026354104280471802,
0.027875183150172234,
0.047848891466856,
-0.04596547409892082,
-0.056978173553943634,
-0.04278860241174698,
0.04124952480196953,
0.04106569662690163,
-0.019609475508332253,
-0.09835643321275711,
0.007436678279191256,
0.048201438039541245,
-0.05648375675082207,
0.08429216593503952,
0.012210537679493427,
0.04094978794455528,
0.04581151530146599,
-0.0076950956135988235,
0.02305029332637787,
-0.031707122921943665,
0.010406218469142914,
-0.0020553641952574253,
0.04537799581885338,
-0.040330998599529266,
-0.024145103991031647,
-0.019562045112252235,
0.04878300800919533,
0.01651931181550026,
0.01730591058731079,
0.027318855747580528,
-0.022450586780905724,
-0.043086834251880646,
0.023828817531466484,
0.0407831147313118,
-0.027835998684167862,
0.001950572826899588,
0.04680526629090309,
0.054114893078804016,
-0.0703277736902237,
-0.041419416666030884,
-0.017523881047964096,
0.0031037204898893833,
0.03106558509171009,
0.03013593517243862,
-0.06331347674131393,
-0.0436057411134243,
0.030157020315527916,
0.013580156490206718,
-0.006297233980149031,
-0.08620273321866989,
0.004488031845539808,
-0.02995375730097294,
-0.03350884094834328,
0.024455174803733826,
0.02634272538125515,
0.05350813269615173,
0.05205411836504936,
0.002546370029449463,
0.01049467921257019,
-0.031207405030727386,
0.012340151704847813,
-0.01399360690265894,
-0.03845875710248947,
-0.008201085962355137,
-0.026228947564959526,
-0.036479752510786057,
-0.0224344190210104,
-0.037961333990097046,
-0.06497105956077576,
-0.044522371143102646,
0.016731256619095802,
-0.013306737877428532,
0.01102912425994873,
0.004396209493279457,
0.04866473749279976,
-0.049814771860837936,
0.001446482609026134,
-0.022374197840690613,
-0.01937727816402912,
-0.06291066855192184,
-0.05941632017493248,
0.00841321051120758,
0.029544692486524582,
0.032790303230285645,
0.01048025581985712,
0.02186954952776432,
0.0008601758745498955,
0.009789299219846725,
-0.028276139870285988,
0.011684669181704521,
0.018617862835526466,
-0.02241482399404049,
-0.001237396732904017,
0.02280064858496189,
0.015136418864130974,
0.04980498552322388,
-0.01435516681522131,
0.012225134298205376,
0.02448234334588051,
-0.022923668846488,
-0.027966156601905823,
0.03124847263097763,
-0.009048032574355602,
-0.07617226243019104,
-0.04555225744843483,
-0.012256250716745853,
-0.03947555273771286,
0.04868587478995323,
-0.03325728327035904,
-0.0354536734521389,
-0.004262755624949932,
0.00667240796610713,
0.02722245641052723,
-0.021658005192875862,
-0.04212023690342903,
0.010107132606208324,
-0.025454247370362282,
0.03443557769060135,
-0.0746869295835495,
0.012752815149724483,
-0.05340110510587692,
-0.011894209310412407,
-0.01862659491598606,
-0.00861690379679203,
-0.05532550439238548,
0.05745726451277733,
-0.0038715500850230455,
-0.023007523268461227,
-0.00443087937310338,
0.024234462529420853,
0.0002737248141784221,
0.029851095750927925,
-0.01771187037229538,
0.013683201745152473,
-0.04009417071938515,
0.06152372062206268,
-0.08052637428045273,
-0.03345972299575806,
-0.03464319929480553,
0.0024202323984354734,
-0.044465452432632446,
-0.04345271736383438,
-0.041751835495233536,
-0.04566837102174759,
0.04435073211789131,
0.04785151779651642,
0.04285978898406029,
0.05289493501186371,
0.003182941349223256,
0.012981059961020947,
0.030158167704939842,
-0.08976751565933228,
-0.06001980975270271,
-0.02625644952058792,
0.01803003065288067,
0.01171699445694685,
0.04386509209871292,
0.04440556466579437,
-0.04390375316143036,
-0.0674186572432518,
0.03790849447250366,
0.04244605824351311,
0.001373759238049388,
-0.0005943448049947619,
0.04044590890407562,
0.021327005699276924,
0.029482539743185043,
-0.018017562106251717,
-0.03276177868247032,
-0.012059484608471394,
-0.04421926289796829,
0.010811024345457554,
-0.00935580488294363,
0.006503721233457327,
0.02442089281976223,
-0.051309023052453995,
-0.03973778337240219,
0.04466397315263748,
0.04010113701224327,
0.022334210574626923,
0.016729621216654778,
-0.03175508975982666,
0.025841087102890015,
-0.017125306650996208,
-0.05341596156358719,
-0.007433303631842136,
-0.00710294721648097,
-0.04671622812747955,
0.05923204496502876,
-0.01087516825646162,
0.03365229815244675,
0.05588748678565025,
0.036484379321336746,
-0.029453933238983154,
0.04469909146428108,
-0.037082865834236145,
-0.014977162703871727,
0.03310011699795723,
-0.014706682413816452,
0.013916246592998505,
-0.02059747837483883,
0.059185706079006195,
-0.06763368099927902,
0.0771307721734047,
0.05311264470219612,
-0.02514464408159256,
0.009672234766185284,
-0.032700315117836,
0.0023488476872444153,
0.006631229538470507,
-0.032344941049814224,
0.09175079315900803,
-0.004580062814056873,
-0.05283460021018982,
0.0730201005935669,
0.025041867047548294,
-0.0594758614897728,
0.028568897396326065,
0.04618336260318756,
-0.0226643867790699,
0.0069816214963793755,
0.04729420691728592,
-0.04551345854997635,
0.032734233886003494,
-0.06576965004205704,
0.017504530027508736,
-0.047084297984838486,
-0.031060487031936646,
0.01984057016670704,
-0.02832576259970665,
-0.00527452165260911,
0.05305157229304314,
-0.03257391229271889,
-0.009986082091927528,
0.015282298438251019,
-0.037217505276203156,
-0.04455304890871048,
0.017394104972481728,
0.019934749230742455,
-0.009509206749498844,
-0.023128321394324303,
0.002545460592955351,
0.01187229249626398,
0.005899581126868725,
0.0143357552587986,
-0.020754609256982803,
-0.018641076982021332,
0.013505411334335804,
-0.061912450939416885,
-0.02871285006403923,
0.05369186028838158,
-0.023943578824400902,
-0.029236793518066406,
0.02936776727437973,
-0.023776018992066383,
-0.0031709575559943914,
0.027471773326396942,
0.004555514082312584,
0.018133588135242462,
-0.03786003589630127,
0.00157132837921381,
0.034154847264289856,
0.03773725405335426,
0.004523563664406538,
-0.027305589988827705,
0.017194578424096107,
0.06193254515528679,
0.04447024315595627,
-0.00048019434325397015,
0.011841599829494953,
-0.018913602456450462,
0.019747015088796616,
-0.04247375577688217,
-0.015750767663121223,
0.013694671913981438,
-0.06166062876582146,
-0.028194211423397064,
0.002423639874905348,
-0.02344849891960621,
0.054553475230932236,
-0.05008062347769737,
0.004560241941362619,
0.028431348502635956,
-0.022374404594302177,
-0.034431714564561844,
-0.08932211995124817,
-0.03639751300215721,
-0.024551615118980408,
0.017805665731430054,
0.019893363118171692,
0.007076374255120754,
0.0012692848686128855,
-0.027761835604906082,
-0.05565929412841797,
0.031137855723500252,
0.0308508463203907,
-0.06201953440904617,
0.03975880518555641,
0.06390246003866196,
-0.02254810743033886,
-0.005772697739303112,
0.02461123652756214,
-0.03420067951083183,
0.03932719677686691,
0.004063774365931749,
-0.003598056733608246,
0.008432962000370026,
0.04302068427205086,
-0.030717015266418457,
-0.014291130006313324,
-0.03958110138773918,
-0.020332034677267075,
-0.03357197344303131,
-0.0016940691275522113,
0.04773087054491043
] |
DataikuNLP/paraphrase-multilingual-MiniLM-L12-v2 | [
"pytorch",
"bert",
"arxiv:1908.10084",
"sentence-transformers",
"feature-extraction",
"sentence-similarity",
"transformers",
"license:apache-2.0"
] | sentence-similarity | {
"architectures": [
"BertModel"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 1,517 | null | ---
license: mit
---
# maptask-deberta-pair
Deberta-based Daily MapTask style dialog-act annotations classification model
## Example
```python
from simpletransformers.classification import (
ClassificationModel, ClassificationArgs
)
model = ClassificationModel("deberta", "diwank/maptask-deberta-pair")
predictions, raw_outputs = model.predict([["Say what is the meaning of life?", "I dont know"]])
convert_to_label = lambda n: ["acknowledge (0), align (1), check (2), clarify (3), explain (4), instruct (5), query_w (6), query_yn (7), ready (8), reply_n (9), reply_w (10), reply_y (11)".split(', ')[i] for i in n]
convert_to_label(predictions) # reply_n (9)
``` | [
-0.015269332565367222,
-0.020408356562256813,
-0.0003194091550540179,
0.054131437093019485,
0.05051800236105919,
0.018570464104413986,
-0.03305413946509361,
-0.008167506195604801,
-0.040255673229694366,
0.06249000132083893,
0.05281147360801697,
-0.024038366973400116,
0.03196820989251137,
0.05982736125588417,
-0.028392240405082703,
-0.016292927786707878,
-0.031175857409834862,
-0.03546230122447014,
-0.014885052107274532,
-0.027224773541092873,
0.00020032052998431027,
-0.022979140281677246,
-0.010868492536246777,
-0.019244113937020302,
-0.00632128119468689,
0.00087492581224069,
-0.008740188553929329,
0.023658089339733124,
0.021712930873036385,
-0.06863107532262802,
-0.00239092530682683,
-0.043386541306972504,
-0.02817697450518608,
-0.00397220253944397,
-0.04391055554151535,
-0.020485350862145424,
0.009875926189124584,
0.01415335014462471,
-0.0010803197510540485,
0.03978615999221802,
-0.009804247878491879,
0.003365096403285861,
-0.0101541206240654,
-0.054486121982336044,
0.05724591389298439,
0.005205926951020956,
-0.06223446503281593,
-0.011042512953281403,
0.026481106877326965,
-0.00820707157254219,
-0.061948806047439575,
-0.07607389241456985,
-0.024653451517224312,
0.020357489585876465,
0.0014275913126766682,
-0.010175912640988827,
-0.053200554102659225,
-0.006197561044245958,
0.06174858659505844,
-0.055859215557575226,
-0.046909306198358536,
0.006589261814951897,
-0.08318813890218735,
-0.005498971324414015,
0.03795798867940903,
-0.041373901069164276,
0.028923558071255684,
-0.04040481522679329,
0.024416934698820114,
-0.02396903932094574,
0.0777817815542221,
-0.04807614907622337,
0.0241487268358469,
-0.08967359364032745,
0.011705690063536167,
-0.020329145714640617,
0.04608655720949173,
0.028187476098537445,
-0.009788029827177525,
0.040484193712472916,
0.025797076523303986,
0.010838024318218231,
0.012592572718858719,
-0.0190738495439291,
-0.018551794812083244,
0.010496631264686584,
-0.04362282529473305,
-0.01839827187359333,
-0.00569390133023262,
0.015089144930243492,
-0.040288928896188736,
-0.028772788122296333,
-0.032690200954675674,
-0.016708770766854286,
-0.005907854996621609,
0.021619973704218864,
0.02412775345146656,
-0.0701194778084755,
0.015186858363449574,
0.03857005015015602,
0.05163998156785965,
0.05678432062268257,
-0.023067384958267212,
0.06284916400909424,
0.0061697689816355705,
0.013069977052509785,
0.014985878020524979,
-0.03440573439002037,
-0.04550052061676979,
0.01959286630153656,
0.021181434392929077,
-0.023333348333835602,
-0.002952804323285818,
0.035561468452215195,
0.02053367905318737,
-0.04141544550657272,
0.06347323209047318,
-0.010138285346329212,
-0.05289582163095474,
-0.03444352746009827,
0.03421071916818619,
-0.0026150227058678865,
-0.006002485752105713,
0.024630434811115265,
-0.050047457218170166,
0.0020998110994696617,
-0.051452409476041794,
-0.056020498275756836,
0.0024043472949415445,
0.011308543384075165,
0.023019080981612206,
0.05556861311197281,
0.021195681765675545,
-0.07590745389461517,
0.02438371628522873,
0.027594896033406258,
-0.04851271212100983,
0.03295392543077469,
-0.002517182845622301,
0.1060035452246666,
-0.04207611083984375,
-0.04492538049817085,
0.017823457717895508,
0.01754971593618393,
-0.02410927042365074,
0.028162823989987373,
0.016693007200956345,
-0.009773528203368187,
-0.028120771050453186,
0.008121845312416553,
0.04468294978141785,
-0.056968118995428085,
0.01970081962645054,
0.012645967304706573,
-0.00620441185310483,
0.039164815098047256,
-0.04018227383494377,
-0.004178082570433617,
-0.027634654194116592,
-0.021724391728639603,
-0.06210409104824066,
0.056950319558382034,
0.005496751517057419,
-0.030910475179553032,
-0.038785576820373535,
-0.050403013825416565,
0.007732405327260494,
0.0909053236246109,
0.004208981525152922,
-0.019076989963650703,
-0.023139752447605133,
-0.013143184594810009,
0.06288588047027588,
0.03484731540083885,
-0.025616532191634178,
0.053723059594631195,
0.04374394565820694,
0.05210939794778824,
-0.03848680853843689,
0.0750732496380806,
-0.010914263315498829,
-0.05675509572029114,
-0.06153295189142227,
0.029720231890678406,
0.00422059278935194,
-0.05723898857831955,
0.0530225969851017,
0.04444299265742302,
0.02063906192779541,
0.0049790265038609505,
-0.03721040114760399,
0.04487577825784683,
-0.019930271431803703,
-0.03756456822156906,
-0.00643794983625412,
0.006776166148483753,
-0.017232991755008698,
0.01704348623752594,
-0.031322017312049866,
-0.007788393180817366,
-0.022561974823474884,
-0.016852455213665962,
0.04943030700087547,
-0.009003734216094017,
0.053015515208244324,
0.03924895077943802,
0.00027857808163389564,
0.08838469535112381,
-0.05018011853098869,
-0.00577078340575099,
-0.04046521708369255,
-0.04471828043460846,
-0.023517213761806488,
0.0627090185880661,
0.03487487882375717,
0.04654558002948761,
0.00430882815271616,
-0.017840461805462837,
0.04838738217949867,
0.05996914580464363,
0.057865533977746964,
0.005068365018814802,
-0.0021537276916205883,
-0.0035532673355191946,
0.024160588160157204,
0.05104456841945648,
-0.037043798714876175,
-0.01358439214527607,
0.023975113406777382,
0.04552081972360611,
-0.04387170448899269,
-0.014179741032421589,
-0.008602313697338104,
0.002993121277540922,
-0.037726711481809616,
-0.08500629663467407,
0.038024723529815674,
0.02838199958205223,
0.043305929750204086,
0.0399186834692955,
-0.0012026510667055845,
-0.006476609501987696,
0.03675128147006035,
0.01502959243953228,
0.00608223769813776,
-0.063514344394207,
0.0025127858389168978,
0.008935687132179737,
0.0809243693947792,
-0.050003595650196075,
0.030047625303268433,
-0.015374432317912579,
0.007904676720499992,
0.04524386301636696,
-0.037961456924676895,
0.05487895756959915,
0.02699125185608864,
0.030049657449126244,
-0.025194015353918076,
0.03372618928551674,
0.026037830859422684,
0.02764124423265457,
0.057975754141807556,
-0.004862746689468622,
0.045735035091638565,
-0.00406654691323638,
0.049032725393772125,
0.07787668704986572,
0.024544306099414825,
0.011228110641241074,
0.020538410171866417,
0.045708827674388885,
-0.003607721533626318,
-0.026972129940986633,
0.03742565959692001,
-0.0642310380935669,
0.04224846139550209,
-0.04199222847819328,
0.0018976065330207348,
-0.0021725865080952644,
-0.035938527435064316,
0.01815309002995491,
0.016111234202980995,
-0.04497673735022545,
0.013245249167084694,
-0.0008427384891547263,
-0.004914224613457918,
0.03227481245994568,
-0.012142490595579147,
0.009918545372784138,
-0.011651819571852684,
-0.049123842269182205,
0.020714567974209785,
-0.07739624381065369,
-0.02823394536972046,
-0.048143886029720306,
-0.04477681592106819,
-0.0074816299602389336,
-0.08998145163059235,
-0.011099765077233315,
-0.04955188184976578,
0.005402825307101011,
0.035450030118227005,
0.01535384077578783,
0.010086159221827984,
-0.0065030199475586414,
0.004566378425806761,
-0.030704261735081673,
-0.02588464505970478,
-0.034241240471601486,
-0.032999515533447266,
-0.005801855586469173,
-0.06987065821886063,
0.009947633370757103,
0.018009120598435402,
0.016102634370326996,
0.010289328172802925,
-0.024468597024679184,
-0.037423860281705856,
-0.03157895803451538,
0.03542667627334595,
0.03928187116980553,
-0.008031081408262253,
-0.05806582421064377,
0.013077773153781891,
-0.01722898706793785,
0.033204350620508194,
0.002194502390921116,
-0.01965508982539177,
0.09964010119438171,
0.07300926744937897,
0.006694873329252005,
-0.010427113622426987,
-0.010412292554974556,
-0.04794720932841301,
-0.034329839050769806,
-0.008257769048213959,
-0.0025218927767127752,
-0.03701982647180557,
-0.02896508201956749,
-0.03872876986861229,
-0.01979234255850315,
-0.054817408323287964,
-0.009593622758984566,
0.004494853317737579,
0.009550162591040134,
0.06329549103975296,
0.06254816055297852,
0.036502402275800705,
0.04535559192299843,
-0.028688834980130196,
-0.00906341802328825,
0.0687985047698021,
0.01702665165066719,
0.01466420292854309,
-0.06604339182376862,
-0.04168158397078514,
0.04210071638226509,
0.02196274884045124,
-0.01274015475064516,
-0.016892584040760994,
0.078956738114357,
-0.0008512570639140904,
-0.028737889602780342,
0.024452079087495804,
-0.012925110757350922,
0.020911920815706253,
-0.007318964693695307,
-0.016125844791531563,
-0.025486024096608162,
-0.050269171595573425,
-0.043217115104198456,
-0.004493217449635267,
0.027195142582058907,
-0.06275483220815659,
-0.05913366377353668,
-0.009489280171692371,
0.030762402340769768,
0.007470502518117428,
-0.0037124359514564276,
-0.03839638829231262,
0.010982278734445572,
-0.043583452701568604,
-0.0030510243959724903,
0.008515779860317707,
-0.015455295331776142,
-0.01670626737177372,
0.03342835232615471,
0.0038374338764697313,
-0.05323047190904617,
0.0241448562592268,
0.02775445766746998,
0.0587298609316349,
0.0057506198063492775,
-0.0732930526137352,
0.005433293525129557,
-0.00609477236866951,
0.016757575795054436,
-0.015371684916317463,
-0.03207032382488251,
-0.02179666981101036,
-0.08658237755298615,
-0.005998344160616398,
0.013711456209421158,
-0.019210334867239,
-0.013218315318226814,
0.0261518694460392,
-0.00021657835168298334,
0.003979858942329884,
0.03400353342294693,
0.03844253718852997,
0.05959658324718475,
-0.019627362489700317,
0.0566050261259079,
-0.007999418303370476,
0.030198702588677406,
-0.06384411454200745,
0.0033593440894037485,
-0.05666917562484741,
0.010013536550104618,
0.009737127460539341,
0.06268027424812317,
0.01504657231271267,
0.06593389809131622,
0.07425130903720856,
0.028812972828745842,
-0.04263532534241676,
0.047074027359485626,
0.07676735520362854,
-0.0443575493991375,
-0.026224812492728233,
-0.0002857553481590003,
0.00651841564103961,
-0.01549528818577528,
0.011277510784566402,
-0.024907130748033524,
0.025487974286079407,
0.021087391301989555,
-0.016313400119543076,
0.0011655413545668125,
-0.0006494474364444613,
-0.02402886003255844,
-0.02158581279218197,
-0.027901558205485344,
-0.016270624473690987,
-0.00016609032172709703,
-0.01766219176352024,
0.02025252766907215,
0.06472726911306381,
0.016333408653736115,
0.06023779883980751,
0.010619496926665306,
-0.017437292262911797,
-0.04173000156879425,
0.03614293411374092,
0.016223395243287086,
-0.03970016539096832,
-0.06715196371078491,
-0.04344230890274048,
0.034993596374988556,
0.046343669295310974,
-0.050744034349918365,
-0.08271797746419907,
0.01346477959305048,
0.052115846425294876,
-0.061510566622018814,
0.06939556449651718,
-0.004007774870842695,
0.03957699239253998,
0.04707784205675125,
-0.019312424585223198,
0.05450126528739929,
-0.036741722375154495,
0.017016001045703888,
0.010261875577270985,
0.04127431660890579,
-0.05115284025669098,
-0.03483067452907562,
-0.04627886414527893,
0.045126933604478836,
0.025641588494181633,
0.04654940590262413,
0.04472947493195534,
-0.035371068865060806,
-0.05695820972323418,
-0.008669336326420307,
0.03190606087446213,
-0.05896409600973129,
0.0020385547541081905,
0.06312111020088196,
0.033292509615421295,
-0.05973607301712036,
-0.0332452654838562,
-0.005785068031400442,
0.018420696258544922,
0.0228415559977293,
-0.012337042018771172,
-0.031903915107250214,
-0.03622543811798096,
0.028904540464282036,
-0.0044753411784768105,
-0.047171272337436676,
-0.07613745331764221,
0.04784298688173294,
-0.01591007597744465,
-0.007907836697995663,
0.04827254265546799,
0.03176660090684891,
0.03532302752137184,
0.06343776732683182,
-0.024979302659630775,
-0.010009399615228176,
-0.027045056223869324,
0.05115317925810814,
-0.02601706050336361,
-0.010183342732489109,
-0.009680766612291336,
-0.07360180467367172,
-0.029639832675457,
-0.010546136647462845,
-0.03607933223247528,
-0.030383998528122902,
-0.030685018748044968,
0.014161041006445885,
-0.016159197315573692,
-0.024577243253588676,
-0.006809737533330917,
0.04078884795308113,
-0.013371217995882034,
-0.01871013082563877,
-0.0471017099916935,
-0.02304605394601822,
-0.0484379418194294,
-0.029583770781755447,
0.02016650140285492,
0.0023108411114662886,
0.02109082229435444,
0.022551586851477623,
0.03602152317762375,
0.03507204353809357,
0.01789027824997902,
-0.04437684640288353,
0.004780961200594902,
-0.008564768359065056,
-0.043345868587493896,
-0.01359083317220211,
0.033057644963264465,
0.0023876773193478584,
0.031904205679893494,
-0.026370365172624588,
0.019249415025115013,
0.011262334883213043,
-0.02863726206123829,
-0.019854679703712463,
0.028030510991811752,
0.029966037720441818,
-0.048745498061180115,
-0.02936219424009323,
-0.001626079436391592,
-0.020145952701568604,
0.04670117422938347,
-0.023384077474474907,
-0.06377774477005005,
0.020578021183609962,
0.010895280167460442,
0.02164209447801113,
-0.02777099423110485,
-0.009552398696541786,
0.0622703954577446,
-0.020214540883898735,
0.014458552934229374,
-0.07208972424268723,
0.050284430384635925,
-0.020155485719442368,
-0.015429425053298473,
-0.023982597514986992,
-0.012603345327079296,
-0.02672521211206913,
0.05882585048675537,
-0.015475433319807053,
-0.007342375349253416,
-0.010907747782766819,
-0.0019870272371917963,
-0.016698716208338737,
0.034295499324798584,
0.013330372050404549,
0.026357578113675117,
-0.04888303205370903,
0.05692663416266441,
-0.05271666496992111,
-0.012884097173810005,
-0.025315579026937485,
-0.006822158582508564,
-0.04498447850346565,
-0.0059665204025805,
-0.014182955026626587,
-0.04410696402192116,
0.01676829904317856,
0.019093623384833336,
0.037728436291217804,
0.034028466790914536,
0.008330190554261208,
-0.0016033095307648182,
0.01467638649046421,
-0.10003402829170227,
-0.02224559709429741,
-0.023879025131464005,
-0.021717773750424385,
-0.0031785222236067057,
0.06364664435386658,
0.03861120343208313,
-0.05210176855325699,
-0.025221984833478928,
0.05090515315532684,
0.02741902321577072,
0.0326291024684906,
0.008784059435129166,
0.012016365304589272,
0.021700119599699974,
0.03322272002696991,
0.0018525701016187668,
-0.016451308503746986,
-0.007995695807039738,
-0.023885531350970268,
-0.010796453803777695,
-0.003640903392806649,
0.014261413365602493,
0.010285829193890095,
-0.03888087347149849,
-0.02277645841240883,
0.06672187894582748,
0.02787531539797783,
0.02186856046319008,
0.009673197753727436,
-0.019244039431214333,
0.03774992749094963,
0.038610104471445084,
-0.036851268261671066,
-0.012552476488053799,
0.021181883290410042,
-0.02967613935470581,
0.04732393100857735,
-0.02314019948244095,
0.014994509518146515,
0.040433257818222046,
0.038792695850133896,
-0.0318070687353611,
0.06848429143428802,
-0.04477427527308464,
0.014203366823494434,
0.04651082679629326,
-0.07138295471668243,
-0.01617574878036976,
-0.00859006866812706,
0.057583339512348175,
-0.07309836894273758,
0.04255355894565582,
0.004694966599345207,
0.0337357372045517,
0.013406823389232159,
-0.04060468077659607,
-0.01974472589790821,
0.007802570704370737,
-0.04806004837155342,
0.03817806765437126,
0.009445245377719402,
-0.03349584341049194,
0.06816480308771133,
0.02166750282049179,
-0.06416315585374832,
0.030021313577890396,
0.0443459153175354,
0.0361967533826828,
0.027975456789135933,
0.012075944803655148,
-0.05122159421443939,
0.024841416627168655,
-0.017834549769759178,
0.03598503768444061,
-0.05046677216887474,
-0.008871194906532764,
0.00717172771692276,
-0.03494272381067276,
-0.015275233425199986,
0.015660498291254044,
0.004567594267427921,
0.003936239518225193,
0.019287344068288803,
-0.06757734715938568,
-0.049965955317020416,
-0.006386549677699804,
0.0046143908984959126,
-0.04614904895424843,
-0.0010984644759446383,
-0.03665362671017647,
0.02037770301103592,
0.016296135261654854,
-0.010177063755691051,
-0.015147509053349495,
-0.013653540052473545,
0.006464487873017788,
-0.03397316485643387,
-0.052865415811538696,
0.061160001903772354,
0.015501847490668297,
-0.016027849167585373,
0.005625555757433176,
-0.02265153080224991,
0.00405615521594882,
0.021976063027977943,
-0.010735413990914822,
0.020570000633597374,
-0.032364413142204285,
0.009911634959280491,
0.011279669590294361,
0.014955245889723301,
0.01634979248046875,
-0.026250960305333138,
0.05313115194439888,
0.04401646554470062,
0.05785869061946869,
0.017211196944117546,
-0.031091399490833282,
0.005254951771348715,
0.020716194063425064,
-0.017538733780384064,
0.012474467046558857,
0.007141847163438797,
-0.036846037954092026,
-0.03591780737042427,
-0.022531241178512573,
-0.023852765560150146,
0.03865637630224228,
-0.060200609266757965,
0.006975533440709114,
0.02954343520104885,
-0.010730252601206303,
-0.02803965099155903,
-0.08767971396446228,
-0.021334663033485413,
-0.00799536146223545,
0.03841373324394226,
0.053307827562093735,
-0.036791663616895676,
-0.000738343340344727,
-0.04873625561594963,
-0.04227985441684723,
0.04211580753326416,
0.021824464201927185,
-0.02341209165751934,
0.08294088393449783,
0.04566013440489769,
-0.025083845481276512,
0.060312237590551376,
0.02185901254415512,
-0.050027865916490555,
0.0046939789317548275,
0.00329742394387722,
0.02081655152142048,
0.012706376612186432,
0.03641705960035324,
-0.05427634343504906,
0.004207071848213673,
-0.04869917407631874,
-0.028322547674179077,
-0.048817139118909836,
-0.022163866087794304,
0.07577457278966904
] |
Davlan/xlm-roberta-base-finetuned-english | [
"pytorch",
"xlm-roberta",
"fill-mask",
"transformers",
"license:apache-2.0",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"XLMRobertaForMaskedLM"
],
"model_type": "xlm-roberta",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 5 | 2022-01-18T03:56:03Z | ---
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: default
metrics:
- name: Accuracy
type: accuracy
value: 0.926
- name: F1
type: f1
value: 0.9261144741040841
---
<!-- 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.2161
- Accuracy: 0.926
- F1: 0.9261
## 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.8436 | 1.0 | 250 | 0.3175 | 0.9105 | 0.9081 |
| 0.2492 | 2.0 | 500 | 0.2161 | 0.926 | 0.9261 |
### Framework versions
- Transformers 4.15.0
- Pytorch 1.7.1
- Datasets 1.17.0
- Tokenizers 0.10.3
| [
-0.009414334781467915,
0.009967461228370667,
-0.02933124639093876,
0.038146618753671646,
0.060755737125873566,
0.03353985399007797,
-0.023810189217329025,
-0.03571517392992973,
-0.03412709757685661,
0.055715546011924744,
0.019043676555156708,
-0.047188326716423035,
0.03527886047959328,
0.04302622750401497,
-0.013193439692258835,
-0.03422153741121292,
-0.031867291778326035,
-0.012024974450469017,
-0.023013625293970108,
-0.0017097125528380275,
0.00241352547891438,
0.027530759572982788,
-0.004343351349234581,
-0.011398980394005775,
-0.008743304759263992,
0.01299781072884798,
-0.012642723508179188,
0.013918070122599602,
0.03032471425831318,
-0.05915810912847519,
0.013226335868239403,
-0.03897465020418167,
-0.05093526840209961,
-0.0047448729164898396,
-0.022994913160800934,
0.015843868255615234,
0.006567120552062988,
0.01984214410185814,
0.013131710700690746,
0.028994346037507057,
0.010737603530287743,
0.011209051124751568,
-0.0005414540646597743,
-0.013516957871615887,
0.04645836353302002,
0.013065856881439686,
-0.04116624593734741,
0.00045076696551404893,
0.027345187962055206,
-0.023427534848451614,
-0.07284899055957794,
-0.0550694540143013,
-0.0016778154531493783,
0.03622603788971901,
0.00022855155111756176,
-0.0035841488279402256,
-0.05052204430103302,
0.01125724520534277,
0.0631297305226326,
-0.043134208768606186,
-0.026640214025974274,
0.012250521220266819,
-0.05090360343456268,
0.005431635305285454,
0.024334918707609177,
-0.029163401573896408,
0.00449168449267745,
-0.03752608224749565,
0.03153696283698082,
-0.02880510315299034,
0.046009231358766556,
-0.026813630014657974,
0.029206378385424614,
-0.07736078649759293,
-0.016566423699259758,
-0.010472798720002174,
0.06905177235603333,
0.06214549392461777,
-0.019322779029607773,
0.06064726039767265,
0.031734783202409744,
0.010518958792090416,
0.03601360693573952,
-0.0117911072447896,
0.011246342211961746,
0.023500094190239906,
-0.046087056398391724,
0.017432380467653275,
0.015905415639281273,
0.028369612991809845,
-0.03185240179300308,
-0.04270997270941734,
-0.029742896556854248,
-0.024834712967276573,
-0.007187673356384039,
0.03471478074789047,
0.02826579287648201,
0.02517915889620781,
0.037271060049533844,
0.030703959986567497,
0.01850762404501438,
0.03983486071228981,
-0.0385112389922142,
0.06775454431772232,
-0.01712566427886486,
-0.010021336376667023,
-0.006440431345254183,
-0.02406543865799904,
-0.052567850798368454,
0.026969552040100098,
0.011743967421352863,
-0.024006664752960205,
-0.033008649945259094,
0.009742384776473045,
-0.015923021361231804,
-0.03060092031955719,
0.05965346097946167,
-0.0312965102493763,
-0.04953726753592491,
-0.042933546006679535,
0.026649318635463715,
0.020851582288742065,
-0.003154909471049905,
0.004039311315864325,
-0.061238281428813934,
-0.007579416502267122,
-0.03622430935502052,
-0.004970401991158724,
-0.03525890037417412,
0.011841692961752415,
0.019734365865588188,
0.06161278486251831,
0.022303683683276176,
-0.09511838108301163,
-0.0007160709938034415,
0.015816040337085724,
-0.05560693517327309,
0.03276856243610382,
0.032211773097515106,
0.1269219070672989,
-0.054493289440870285,
-0.054905831813812256,
0.006944885943084955,
0.0057844128459692,
-0.0503879114985466,
0.01767086051404476,
0.023562347516417503,
-0.037944141775369644,
-0.016860365867614746,
0.0053064534440636635,
0.049548156559467316,
-0.045443616807460785,
-0.0064881592988967896,
0.07146633416414261,
0.01946296915411949,
0.03811094909906387,
-0.04644344002008438,
-0.033253252506256104,
0.01004392933100462,
-0.031838271766901016,
-0.03291579335927963,
0.05424635112285614,
-0.02113214321434498,
-0.03127512335777283,
-0.016687069088220596,
-0.03760334104299545,
0.016510365530848503,
0.07125092297792435,
-0.011201735585927963,
-0.036829348653554916,
-0.024827519431710243,
0.02343185991048813,
0.03725975379347801,
0.03308679535984993,
-0.015879429876804352,
0.01661556400358677,
0.06739389151334763,
0.04375845566391945,
-0.02714732475578785,
0.027900347486138344,
-0.000632159470114857,
-0.03144911676645279,
-0.024895790964365005,
0.007558922749012709,
-0.004129904322326183,
-0.05146900936961174,
0.05356113612651825,
0.0058878459967672825,
-0.005476059392094612,
-0.048479314893484116,
-0.04079267382621765,
0.05233611911535263,
-0.013442844152450562,
-0.0006688707508146763,
0.00872668158262968,
-0.005981158930808306,
-0.018795549869537354,
0.05005311965942383,
-0.015898214653134346,
0.01997419074177742,
-0.040318917483091354,
-0.025030337274074554,
0.03113381192088127,
-0.034570034593343735,
0.03996681794524193,
0.03730356693267822,
-0.02152014896273613,
0.08428458869457245,
-0.05265315994620323,
0.02425016090273857,
-0.05898531153798103,
-0.045991070568561554,
0.028443319723010063,
0.05973280221223831,
0.038953136652708054,
0.06121152266860008,
0.006015695631504059,
-0.05549022927880287,
0.019276078790426254,
0.06776353716850281,
0.05274394527077675,
0.0019413101254031062,
-0.018869757652282715,
-0.00801643542945385,
0.05746497958898544,
0.0598762221634388,
-0.060939423739910126,
-0.013017925433814526,
0.0031714276410639286,
0.02152254432439804,
-0.0069658164866268635,
0.008810415863990784,
-0.029603248462080956,
0.03223305195569992,
-0.04271402209997177,
-0.07446783035993576,
0.06768205761909485,
0.02109241485595703,
-0.00814884901046753,
0.020965002477169037,
0.0227428637444973,
-0.0040034023113548756,
0.009708251804113388,
0.013536427170038223,
0.0078042373061180115,
-0.0428164042532444,
0.017438126727938652,
0.0005297313909977674,
0.07424645125865936,
-0.046302586793899536,
0.03647023066878319,
-0.005848221480846405,
0.03300951421260834,
0.04540041834115982,
-0.05278873071074486,
0.036700937896966934,
0.039615895599126816,
0.03142300993204117,
-0.04130908101797104,
0.009328906424343586,
0.022781699895858765,
0.04901377111673355,
0.02150416374206543,
-0.014806644059717655,
0.0750531479716301,
0.01755646802484989,
0.03228810802102089,
0.0712067186832428,
0.0200188085436821,
0.033159658312797546,
0.008629773743450642,
0.052337534725666046,
0.026226427406072617,
-0.02782592736184597,
0.05767384171485901,
-0.05589260533452034,
0.017159143462777138,
-0.0424288734793663,
0.014948621392250061,
-0.007416847627609968,
-0.00008126863394863904,
0.045980412513017654,
0.02454458549618721,
-0.04103928431868553,
-0.024056008085608482,
0.014720914885401726,
-0.005803679581731558,
0.030912887305021286,
0.005092148669064045,
0.002257515676319599,
-0.011180036701261997,
-0.04217289760708809,
-0.0074244593270123005,
-0.06925883144140244,
-0.051614873111248016,
-0.01019411999732256,
-0.03501018136739731,
-0.03403051942586899,
-0.08888036757707596,
-0.03858805447816849,
-0.06850498169660568,
-0.0047278208658099174,
0.03922518342733383,
0.0234918761998415,
-0.014352926053106785,
-0.04484386742115021,
0.017314696684479713,
-0.04936426132917404,
-0.053517866879701614,
-0.03873605281114578,
-0.03474300354719162,
-0.038346391171216965,
-0.07094589620828629,
0.0274532288312912,
0.02579476684331894,
0.02234944887459278,
0.003260495839640498,
0.011321427300572395,
-0.008963800966739655,
-0.02640264481306076,
0.05409856513142586,
0.06188490614295006,
-0.035636380314826965,
-0.06230812147259712,
0.012924824841320515,
0.0058449129574000835,
0.017672564834356308,
0.026955045759677887,
-0.020265506580471992,
0.09398514777421951,
0.07152318954467773,
0.01003908272832632,
0.03525286540389061,
-0.019526181742548943,
-0.06386026740074158,
-0.056433986872434616,
-0.018108105286955833,
-0.0471004918217659,
-0.025004608556628227,
-0.03998531773686409,
-0.04141484573483467,
-0.03891366720199585,
-0.024609562009572983,
0.0035186433233320713,
-0.0156345684081316,
0.02401832304894924,
0.001181804807856679,
0.030202411115169525,
0.024362977594137192,
0.03941228613257408,
-0.034962207078933716,
-0.03544439375400543,
0.047014523297548294,
0.009986395947635174,
0.004428773652762175,
-0.09249593317508698,
-0.00766205508261919,
0.017994029447436333,
0.022492026910185814,
-0.016766095533967018,
-0.004922076594084501,
0.08365996181964874,
0.005925415083765984,
-0.003781984094530344,
0.013349253684282303,
0.000022233634808799252,
-0.01142368745058775,
-0.0177308339625597,
-0.009116871282458305,
0.014102540910243988,
-0.02610219269990921,
-0.039005763828754425,
-0.004027680493891239,
0.04696055129170418,
-0.04798775911331177,
-0.04268636927008629,
-0.016911916434764862,
0.027479037642478943,
0.05537676811218262,
-0.003945270087569952,
-0.045555584132671356,
-0.017504572868347168,
-0.08437123894691467,
-0.011337794363498688,
0.03650670498609543,
0.00023997249081730843,
0.016941800713539124,
0.030927196145057678,
0.013527420349419117,
-0.016977762803435326,
0.027674995362758636,
0.03758494183421135,
0.06509639322757721,
-0.0006328005692921579,
-0.06500621885061264,
0.0008255892316810787,
-0.035209786146879196,
0.020834488794207573,
-0.010131009854376316,
-0.02733527310192585,
-0.032642677426338196,
-0.08472506701946259,
-0.03142300620675087,
0.0034962925128638744,
0.004165005870163441,
-0.0035802400670945644,
0.02674858830869198,
-0.009719365276396275,
-0.03308379650115967,
0.013656922616064548,
0.015905382111668587,
0.056097112596035004,
-0.03148679435253143,
0.058249495923519135,
-0.02575555443763733,
0.010668900795280933,
-0.05986519902944565,
0.013882219791412354,
-0.028214426711201668,
-0.030517077073454857,
0.005034090951085091,
0.044271133840084076,
-0.00413887482136488,
0.044144291430711746,
0.06697642058134079,
0.04524248093366623,
-0.06017938628792763,
0.03102751635015011,
0.06818056851625443,
-0.03711220249533653,
-0.046502772718667984,
-0.005248736124485731,
-0.0015754662454128265,
-0.005568313412368298,
-0.011030180379748344,
-0.014685211703181267,
0.0412723682820797,
0.014511071145534515,
-0.001461553038097918,
-0.0013541931984946132,
0.0047780959866940975,
-0.043874919414520264,
-0.028990862891077995,
-0.06148664280772209,
-0.039806243032217026,
-0.0032074954360723495,
-0.026334209367632866,
0.016012120991945267,
0.029559068381786346,
0.01886470429599285,
0.06568498909473419,
0.029531531035900116,
-0.028169656172394753,
-0.014849050901830196,
0.02216806635260582,
0.018498189747333527,
-0.0377667136490345,
-0.07416313141584396,
-0.051093436777591705,
0.03336627781391144,
0.06571097671985626,
-0.019312413409352303,
-0.058150943368673325,
0.017999030649662018,
0.04714790731668472,
-0.06468991935253143,
0.046966735273599625,
-0.020983343943953514,
0.05549025908112526,
0.051973454654216766,
0.017295975238084793,
0.05043097585439682,
-0.02669031359255314,
-0.017992766574025154,
0.01681438274681568,
0.03942710533738136,
-0.035298071801662445,
-0.028953060507774353,
-0.0569247230887413,
0.029397573322057724,
0.04016822949051857,
0.02850595861673355,
0.036255571991205215,
-0.026406390592455864,
-0.03104211762547493,
0.00791605468839407,
0.028054747730493546,
-0.04197859764099121,
-0.005182790569961071,
0.0390026718378067,
0.04729696363210678,
-0.03988736495375633,
-0.01599815860390663,
-0.0371270552277565,
-0.0017214431427419186,
0.04353630542755127,
-0.006862899288535118,
-0.02462233230471611,
-0.029608523473143578,
0.037943389266729355,
-0.012352977879345417,
-0.028794053941965103,
-0.0563085675239563,
0.04387641325592995,
-0.007431058678776026,
-0.009662121534347534,
0.045157212764024734,
0.029102236032485962,
0.03248041868209839,
0.07595121115446091,
0.023555314168334007,
0.007174805272370577,
-0.02439037151634693,
0.034908637404441833,
-0.03176477923989296,
-0.015410874970257282,
0.010391700081527233,
-0.038137856870889664,
-0.03534481301903725,
-0.012947967275977135,
-0.04831881448626518,
-0.04673287272453308,
-0.02753203548491001,
0.029686864465475082,
-0.0011645440245047212,
-0.011867454275488853,
0.005400568712502718,
0.036498554050922394,
-0.010433893650770187,
-0.018351290374994278,
-0.05387241393327713,
-0.033948589116334915,
-0.04815714806318283,
-0.061724450439214706,
-0.0156507920473814,
0.006961827166378498,
0.02391090989112854,
0.03759422153234482,
0.034131236374378204,
0.019371261820197105,
0.022505981847643852,
-0.05240992456674576,
0.00211342447437346,
0.02465391531586647,
-0.044327154755592346,
-0.03506137430667877,
0.01802244782447815,
0.020560599863529205,
0.02890782430768013,
-0.02752300724387169,
0.04920533671975136,
0.009094594046473503,
-0.0153177035972476,
-0.03763752058148384,
0.028497125953435898,
0.03711821138858795,
-0.06636278331279755,
-0.039308782666921616,
-0.014849822036921978,
-0.01421012170612812,
0.02766251191496849,
-0.0308461245149374,
-0.0075820921920239925,
0.033754486590623856,
0.007865450344979763,
0.03989697992801666,
-0.033916644752025604,
-0.009770465083420277,
0.028331564739346504,
-0.012241312302649021,
0.016096331179142,
-0.05457102879881859,
0.05611976236104965,
-0.057455260306596756,
0.008938933722674847,
-0.012541042640805244,
-0.0022122315131127834,
-0.031588584184646606,
0.039202701300382614,
-0.002790355123579502,
-0.010530821979045868,
0.00365637568756938,
0.045772917568683624,
-0.010471099056303501,
0.019197463989257812,
-0.03252910077571869,
0.031178824603557587,
-0.019846556708216667,
0.06798138469457626,
-0.02875206060707569,
0.012256189249455929,
-0.02972746640443802,
0.017786752432584763,
-0.047061335295438766,
0.0077353836968541145,
-0.007744219619780779,
-0.02540278062224388,
0.022930320352315903,
0.04322060942649841,
0.02698528580367565,
0.03855658322572708,
-0.007395486813038588,
-0.009467629715800285,
0.011798524297773838,
-0.05524419620633125,
-0.01962318643927574,
-0.010034848004579544,
0.008351839147508144,
-0.020978080108761787,
0.062297068536281586,
0.029018938541412354,
-0.056762829422950745,
-0.06912088394165039,
0.03943495824933052,
0.018587607890367508,
0.020923446863889694,
-0.0009769352618604898,
0.04287866875529289,
0.022904884070158005,
0.028722010552883148,
-0.014561892487108707,
-0.011799691244959831,
0.02179076336324215,
-0.04451572522521019,
0.009874222800135612,
-0.003749032039195299,
0.005559980403631926,
0.0295216403901577,
-0.049646101891994476,
-0.008868642151355743,
0.045237667858600616,
0.024949628859758377,
0.025815153494477272,
0.019629649817943573,
-0.05510073900222778,
0.025907330214977264,
0.010183645412325859,
-0.05036589130759239,
0.000052058108849450946,
0.022272076457738876,
-0.030560698360204697,
0.05610603466629982,
-0.007770025171339512,
0.0019913422875106335,
0.04364956542849541,
0.014056201092898846,
-0.023748023435473442,
0.04713316261768341,
-0.01983422227203846,
0.028430424630641937,
0.046066928654909134,
-0.07475946843624115,
-0.01322273537516594,
-0.06485549360513687,
0.07064180076122284,
-0.060306645929813385,
0.036640018224716187,
0.041204120963811874,
-0.014916995540261269,
0.016630716621875763,
-0.047044381499290466,
-0.05935319885611534,
0.030126158148050308,
-0.04053257778286934,
0.05918058753013611,
0.0195219237357378,
-0.07780484855175018,
0.04297573119401932,
0.008552908897399902,
-0.05411407724022865,
0.033748265355825424,
0.03418383374810219,
0.05925937741994858,
0.006882862187922001,
0.04740811884403229,
-0.022416099905967712,
-0.003775153076276183,
-0.04421168938279152,
0.03514542430639267,
-0.05453154444694519,
-0.028782449662685394,
0.02865714021027088,
-0.04087771102786064,
-0.01038240734487772,
0.04818639159202576,
-0.02588457614183426,
-0.018259352073073387,
0.04454432800412178,
-0.03757074847817421,
-0.026731090620160103,
0.008145331405103207,
-0.017606528475880623,
-0.04122430458664894,
-0.002566615119576454,
-0.03415324166417122,
0.019191799685359,
0.005306960083544254,
-0.00999227724969387,
-0.019681500270962715,
-0.013869320042431355,
0.03251869976520538,
-0.03828250989317894,
-0.03734772279858589,
0.02869519032537937,
-0.023073099553585052,
-0.018446478992700577,
0.038547880947589874,
0.044821299612522125,
-0.0008829192374832928,
0.035962462425231934,
-0.017935000360012054,
0.01591045781970024,
-0.05045710876584053,
-0.026190271601080894,
0.016073215752840042,
-0.0021580311004072428,
0.030031658709049225,
-0.016021087765693665,
0.03155682981014252,
0.05254804342985153,
0.017474951222538948,
-0.00128216075245291,
-0.03762982785701752,
-0.03546374663710594,
0.030921384692192078,
-0.03895330801606178,
0.015333901159465313,
-0.008636724203824997,
-0.043872665613889694,
-0.03504057973623276,
0.011221949942409992,
-0.026609640568494797,
0.03151039034128189,
-0.04713558033108711,
-0.003554822178557515,
0.07724917680025101,
-0.022945117205381393,
-0.05147305130958557,
-0.10103399306535721,
0.002993869362398982,
-0.027108946815133095,
0.0004879285115748644,
0.046460554003715515,
-0.04512178152799606,
0.041683439165353775,
-0.07413560152053833,
-0.020363641902804375,
0.0474645234644413,
0.035844020545482635,
-0.054512809962034225,
0.0700891837477684,
0.04906325414776802,
-0.05289424955844879,
0.015047206543385983,
0.008421364240348339,
-0.04079071059823036,
0.010182889178395271,
0.01849803328514099,
0.01934891939163208,
0.019205642864108086,
0.009446508251130581,
-0.05497513338923454,
-0.027608029544353485,
-0.06556077301502228,
-0.03875621780753136,
-0.04543909430503845,
0.009318370372056961,
0.06497418880462646
] |
Davlan/xlm-roberta-base-wikiann-ner | [
"pytorch",
"tf",
"xlm-roberta",
"token-classification",
"transformers",
"autotrain_compatible"
] | token-classification | {
"architectures": [
"XLMRobertaForTokenClassification"
],
"model_type": "xlm-roberta",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 235 | null | ---
language:
- ru
tags:
- summarization
- bert
- rubert
license: mit
---
# rubert_ria_headlines
## Description
*bert2bert* model, initialized with the `DeepPavlov/rubert-base-cased` pretrained weights and
fine-tuned on the first 99% of ["Rossiya Segodnya" news dataset](https://github.com/RossiyaSegodnya/ria_news_dataset) for 2 epochs.
## Usage example
```python
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
MODEL_NAME = "dmitry-vorobiev/rubert_ria_headlines"
tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
model = AutoModelForSeq2SeqLM.from_pretrained(MODEL_NAME)
text = "Π‘ΠΊΠΎΠΏΠΈΡΡΠΉΡΠ΅ ΡΠ΅ΠΊΡΡ ΡΡΠ°ΡΡΠΈ / Π½ΠΎΠ²ΠΎΡΡΠΈ"
encoded_batch = tokenizer.prepare_seq2seq_batch(
[text],
return_tensors="pt",
padding="max_length",
truncation=True,
max_length=512)
output_ids = model.generate(
input_ids=encoded_batch["input_ids"],
max_length=36,
no_repeat_ngram_size=3,
num_beams=5,
top_k=0
)
headline = tokenizer.decode(output_ids[0],
skip_special_tokens=True,
clean_up_tokenization_spaces=False)
print(headline)
```
## Datasets
- [ria_news](https://github.com/RossiyaSegodnya/ria_news_dataset)
## How it was trained?
I used free TPUv3 on kaggle. The model was trained for 3 epochs with effective batch size 192 and soft restarts (warmup steps 1500 / 500 / 500 with new optimizer state on each epoch start).
- [1 epoch notebook](https://www.kaggle.com/dvorobiev/try-train-seq2seq-ria-tpu?scriptVersionId=53254694)
- [2 epoch notebook](https://www.kaggle.com/dvorobiev/try-train-seq2seq-ria-tpu?scriptVersionId=53269040)
- [3 epoch notebook](https://www.kaggle.com/dvorobiev/try-train-seq2seq-ria-tpu?scriptVersionId=53280797)
Common train params:
```shell
export XLA_USE_BF16=1
export XLA_TENSOR_ALLOCATOR_MAXSIZE=100000000
python nlp_headline_rus/src/train_seq2seq.py \
--do_train \
--tie_encoder_decoder \
--max_source_length 512 \
--max_target_length 32 \
--val_max_target_length 48 \
--tpu_num_cores 8 \
--per_device_train_batch_size 24 \
--gradient_accumulation_steps 1 \
--learning_rate 5e-4 \
--adam_epsilon 1e-6 \
--weight_decay 1e-5 \
```
## Validation results
- Using [last 1% of ria](https://drive.google.com/drive/folders/1ztAeyb1BiLMgXwOgOJS7WMR4PGiI1q92) dataset
- Using [gazeta_ru test](https://drive.google.com/drive/folders/1CyowuRpecsLTcDbqEfmAvkCWOod58g_e) split
- Using [gazeta_ru val](https://drive.google.com/drive/folders/1XZFOXHSXLKdhzm61ceVLw3aautrdskIu) split | [
-0.008220676332712173,
-0.04369335621595383,
-0.010198951698839664,
0.060567982494831085,
0.0675620287656784,
0.026898743584752083,
-0.016340719535946846,
-0.02417987398803234,
-0.05731288716197014,
0.07686151564121246,
0.013866186141967773,
0.0026915438938885927,
-0.0070573738776147366,
0.04952545464038849,
0.004701155237853527,
-0.05637211725115776,
-0.007608584128320217,
0.0041752345860004425,
-0.03803594410419464,
-0.021896731108427048,
-0.00037305810838006437,
-0.013103191740810871,
0.015541154891252518,
0.0010371522512286901,
0.01691989041864872,
0.02645391970872879,
-0.028212854638695717,
0.001752676209434867,
0.017903948202729225,
-0.05871167778968811,
0.0019589175935834646,
-0.010216258466243744,
-0.024871831759810448,
-0.030349532142281532,
-0.007482184562832117,
-0.032017212361097336,
-0.002394778421148658,
0.01915237307548523,
0.012434075586497784,
0.05580652505159378,
-0.015702413395047188,
-0.01607607677578926,
0.008513825945556164,
-0.03827818110585213,
0.005638308823108673,
-0.008264310657978058,
-0.054056163877248764,
0.003271932015195489,
0.05503735691308975,
-0.007134857587516308,
-0.053496479988098145,
-0.0786842405796051,
-0.029476143419742584,
0.004310102667659521,
-0.03526684641838074,
-0.025677792727947235,
-0.0565214678645134,
-0.0007090840372256935,
0.034215688705444336,
-0.057809073477983475,
-0.046511564403772354,
0.02257063426077366,
-0.07915568351745605,
0.023686494678258896,
0.024321410804986954,
-0.024048637598752975,
0.007939089089632034,
-0.04711740091443062,
0.02331320382654667,
-0.012714650481939316,
0.05935800448060036,
-0.040056560188531876,
0.03504908084869385,
-0.07427559047937393,
0.00790441408753395,
-0.012034132145345211,
-0.002037836704403162,
0.050650689750909805,
-0.022527122870087624,
0.04351891949772835,
0.03596863895654678,
-0.010453972965478897,
0.025053808465600014,
-0.026633379980921745,
-0.02062009461224079,
0.0526961050927639,
-0.02675321139395237,
-0.016429631039500237,
0.014883773401379585,
0.06565532833337784,
-0.037158191204071045,
-0.012959969229996204,
-0.01357861515134573,
0.001990446588024497,
-0.017384905368089676,
0.034560877829790115,
0.04196993261575699,
-0.02167331799864769,
0.022559011355042458,
0.015755079686641693,
0.024131298065185547,
0.06472871452569962,
0.0059407553635537624,
0.0640433207154274,
0.0067194257862865925,
-0.02141290158033371,
-0.027575604617595673,
-0.031320683658123016,
-0.07409316301345825,
0.022696757689118385,
0.04660031571984291,
-0.0484105609357357,
-0.04531777650117874,
0.02614927478134632,
0.00554439565166831,
0.01724124141037464,
0.031067391857504845,
-0.004879491403698921,
-0.051891811192035675,
-0.06638544797897339,
0.03975594416260719,
-0.010809740051627159,
0.005006496328860521,
0.03164321184158325,
-0.02019779570400715,
0.02034369297325611,
-0.06700622290372849,
-0.03296602889895439,
0.006641265004873276,
0.02021222561597824,
-0.00857904925942421,
0.031313084065914154,
0.03747550770640373,
-0.06037507951259613,
-0.006714065093547106,
0.0034273467026650906,
-0.07790794968605042,
0.05993069335818291,
0.03460478410124779,
0.10919719189405441,
-0.05426718294620514,
-0.05495506897568703,
0.018564583733677864,
0.008520126342773438,
-0.04205575957894325,
0.012424318119883537,
0.025961026549339294,
-0.02069440856575966,
-0.010081599466502666,
-0.001817576470784843,
0.05649743974208832,
-0.04455225169658661,
-0.010988353751599789,
0.04765048995614052,
0.0023422744125127792,
0.01413214672356844,
-0.03071650117635727,
-0.030809100717306137,
-0.002045617438852787,
0.01140875369310379,
-0.04381871968507767,
0.05415690690279007,
0.007428393233567476,
-0.030181432142853737,
-0.023392584174871445,
-0.039126280695199966,
-0.010870716534554958,
0.07931534200906754,
0.01940205693244934,
-0.013545379973948002,
-0.03352218493819237,
0.006710414309054613,
0.04109128564596176,
0.008431453257799149,
0.00434498768299818,
0.01596258580684662,
0.05249229446053505,
0.04136168584227562,
-0.01354149729013443,
0.05998968705534935,
0.00919670145958662,
-0.03647449612617493,
-0.0017621562583371997,
0.009242760948836803,
-0.005272179376333952,
-0.023677945137023926,
0.038362741470336914,
0.04388459026813507,
-0.0036900716368108988,
-0.04980529099702835,
-0.012142597697675228,
0.06563455611467361,
0.0035560932010412216,
-0.005075952038168907,
-0.01338967029005289,
0.005983402952551842,
-0.02310815267264843,
0.075950987637043,
-0.006023822817951441,
-0.021283596754074097,
-0.006174096837639809,
-0.03351951017975807,
-0.0051535870879888535,
0.041583720594644547,
0.027892518788576126,
0.03467864170670509,
-0.022611068561673164,
0.08869604766368866,
-0.03318549320101738,
0.02259099669754505,
-0.03218534588813782,
-0.03713260963559151,
0.0010356868151575327,
0.036292318254709244,
0.03355510160326958,
0.07138010114431381,
0.015675725415349007,
-0.024047862738370895,
0.00708109512925148,
0.06626145541667938,
0.04328020289540291,
0.016169818118214607,
0.003240373684093356,
-0.008612285368144512,
0.014587724581360817,
0.0449298731982708,
-0.030446212738752365,
-0.032746970653533936,
0.02993667870759964,
0.042424678802490234,
-0.02936730347573757,
-0.007182719651609659,
-0.02326229028403759,
0.005101114045828581,
-0.02272435650229454,
-0.04358541965484619,
0.029902566224336624,
0.03880501538515091,
0.026935601606965065,
0.02089899778366089,
-0.026271743699908257,
0.010217561386525631,
0.03538370504975319,
0.04291696101427078,
0.004693469498306513,
-0.036250073462724686,
-0.006090586539357901,
0.009700601920485497,
0.05712020769715309,
-0.034504301846027374,
0.02860894985496998,
0.009160137735307217,
0.01336099486798048,
0.038397010415792465,
-0.05039268359541893,
0.018597465008497238,
0.01815963350236416,
0.03437614068388939,
-0.020831160247325897,
0.014800001867115498,
-0.007096600253134966,
0.015850111842155457,
0.05954785645008087,
-0.012135259807109833,
0.032037705183029175,
-0.017297087237238884,
0.033274080604314804,
0.1144273579120636,
0.020537104457616806,
0.015332198701798916,
0.011390738189220428,
0.072016641497612,
0.0009496820857748389,
-0.030434390529990196,
0.05582144483923912,
-0.04004795104265213,
0.027747076004743576,
-0.03451721742749214,
0.011384272947907448,
-0.010307935066521168,
-0.01289916131645441,
0.01973786950111389,
0.010707613080739975,
-0.018133502453565598,
0.011214443482458591,
0.0006276456406340003,
-0.008919636718928814,
0.04146842285990715,
0.002072492614388466,
0.004743022378534079,
-0.011583221144974232,
-0.020470738410949707,
0.005893399007618427,
-0.07121912389993668,
-0.06200239807367325,
0.0005617838469333947,
-0.009704501368105412,
0.0063465130515396595,
-0.07411273568868637,
-0.05467468872666359,
-0.0752592384815216,
-0.009206498041749,
0.0315287783741951,
0.032833609730005264,
0.016988815739750862,
-0.0204586423933506,
0.019351651892066002,
-0.025314584374427795,
-0.040621910244226456,
-0.03578782081604004,
-0.0435154028236866,
-0.028683897107839584,
-0.06501377373933792,
0.02352019213140011,
0.00025858296430669725,
0.04138060286641121,
-0.0059153977781534195,
0.007945291697978973,
-0.009206144139170647,
0.0027779736556112766,
0.05049506202340126,
0.032439928501844406,
-0.030876504257321358,
-0.05255652964115143,
0.04104805737733841,
-0.019386686384677887,
-0.005955114495009184,
0.005113429855555296,
-0.033946115523576736,
0.07692620158195496,
0.09109277278184891,
0.03735513612627983,
0.010888293385505676,
0.011712148785591125,
-0.04768925905227661,
-0.04994623735547066,
-0.02431279420852661,
-0.04015205800533295,
-0.02731472998857498,
-0.04522380232810974,
-0.0669839084148407,
0.006602410692721605,
0.0014472563052549958,
-0.018244804814457893,
-0.009923592209815979,
0.031981974840164185,
0.04875585064291954,
0.03622569143772125,
0.04718068987131119,
0.027577510103583336,
-0.025371897965669632,
-0.02199808694422245,
0.07473636418581009,
0.03102291189134121,
0.03596649318933487,
-0.06096509471535683,
-0.0037568944972008467,
0.053325772285461426,
0.014224730432033539,
0.016866348683834076,
-0.02053837478160858,
0.06976810842752457,
0.023473402485251427,
-0.0049163238145411015,
0.004107143264263868,
-0.00657637557014823,
-0.0366392582654953,
0.0003206580877304077,
-0.013582698069512844,
-0.0311569906771183,
-0.042643528431653976,
-0.05594506487250328,
-0.002999817254021764,
0.042709868401288986,
-0.05009893327951431,
-0.06831386685371399,
-0.021544160321354866,
0.033314064145088196,
0.012857461348176003,
0.02345677837729454,
-0.05111556872725487,
0.011180328205227852,
-0.05392242223024368,
-0.045094702392816544,
0.015037819743156433,
0.01165365893393755,
0.013747302815318108,
0.0452377088367939,
0.052193690091371536,
-0.03860819339752197,
0.023789534345269203,
0.037255097180604935,
0.05892913043498993,
-0.010835335589945316,
-0.06239977851510048,
0.012673183344304562,
-0.01113876048475504,
0.02502725087106228,
0.0038761922623962164,
-0.023745214566588402,
-0.03671108931303024,
-0.09162083268165588,
0.018491560593247414,
-0.0020851960871368647,
-0.003818501252681017,
-0.02993248961865902,
0.0262362752109766,
0.00973159447312355,
0.006644622888416052,
-0.004417816177010536,
0.027035601437091827,
0.049773603677749634,
-0.05472816526889801,
0.03472939506173134,
-0.005670742131769657,
0.03302013501524925,
-0.038879185914993286,
0.01152996439486742,
-0.01851273514330387,
-0.0011582106817513704,
-0.010439743287861347,
0.06654668599367142,
0.048460159450769424,
0.03724873438477516,
0.07253683358430862,
0.011519847437739372,
-0.024234339594841003,
0.06739028543233871,
0.04863813519477844,
-0.026045525446534157,
-0.04144392907619476,
-0.003008910920470953,
-0.0030752760358154774,
-0.050276994705200195,
-0.005826845299452543,
-0.01619698852300644,
0.025628991425037384,
0.03720121458172798,
0.014082159847021103,
-0.010536007583141327,
-0.00969509594142437,
-0.0444159172475338,
-0.04268870875239372,
-0.0277799591422081,
-0.014326939359307289,
0.012354900129139423,
-0.023105667904019356,
0.022632716223597527,
0.055251527577638626,
0.026241526007652283,
0.06186172738671303,
0.03169048950076103,
-0.010344387032091618,
-0.009936351329088211,
0.0345705971121788,
0.03178581967949867,
-0.033487603068351746,
-0.06605294346809387,
-0.04317218065261841,
0.027761094272136688,
0.040195025503635406,
-0.023513657972216606,
-0.07945244759321213,
-0.004279006272554398,
0.05052568390965462,
-0.03671368584036827,
0.07137549668550491,
0.0009378381655551493,
0.058338697999715805,
0.05871813744306564,
-0.028409648686647415,
0.00949137844145298,
-0.022564711049199104,
0.02684166096150875,
0.005458404775708914,
0.06628227978944778,
-0.02145363762974739,
-0.028151433914899826,
-0.058483414351940155,
0.030998671427369118,
0.011247936636209488,
0.04569360986351967,
0.046887509524822235,
-0.02303510718047619,
-0.04976227134466171,
0.014999477192759514,
0.05573925003409386,
-0.08174145221710205,
0.005565819796174765,
0.01179630495607853,
0.027292251586914062,
-0.025346331298351288,
-0.032628074288368225,
0.008812681771814823,
0.00311429426074028,
0.05067329853773117,
-0.007688510697335005,
-0.02995583973824978,
-0.05232258141040802,
0.012804873287677765,
-0.019308920949697495,
-0.05812877416610718,
-0.07405061274766922,
0.054317962378263474,
-0.018879421055316925,
0.003314614063128829,
0.03016311675310135,
0.05070023611187935,
0.032709404826164246,
0.040415309369564056,
-0.005404746625572443,
0.026354722678661346,
-0.052430372685194016,
0.0016961656510829926,
-0.03658107668161392,
-0.005524034146219492,
-0.017801813781261444,
-0.03497127443552017,
-0.026385948061943054,
0.0016530442517250776,
-0.050824083387851715,
-0.05878055840730667,
-0.025351805612444878,
0.018743811175227165,
0.0032444270327687263,
0.004419771954417229,
-0.020719042047858238,
0.04158320277929306,
-0.031137900426983833,
-0.024767449125647545,
-0.012880817987024784,
-0.021297911182045937,
-0.07503356039524078,
-0.07465174049139023,
0.015637574717402458,
0.026116028428077698,
0.049553561955690384,
0.025374580174684525,
-0.008506274782121181,
0.0280564296990633,
0.005415459629148245,
-0.03596135228872299,
0.030379140749573708,
-0.004912812262773514,
-0.04394067823886871,
-0.03739570081233978,
0.04001420736312866,
0.004123152233660221,
0.04292529076337814,
-0.03574288263916969,
0.03350619971752167,
0.018938589841127396,
-0.031079096719622612,
-0.021549280732870102,
0.019435616210103035,
0.00045061728451400995,
-0.08298229426145554,
-0.04127343371510506,
-0.008834612555801868,
-0.0313563235104084,
0.041301727294921875,
0.00963345542550087,
-0.02996554970741272,
-0.016081247478723526,
0.029069120064377785,
0.04864608496427536,
0.021062875166535378,
-0.04797288775444031,
0.007383344694972038,
-0.01831052452325821,
0.006443378049880266,
-0.07421927899122238,
0.05378423631191254,
-0.019637979567050934,
-0.011715725995600224,
-0.01803530566394329,
-0.038441479206085205,
-0.05692819505929947,
0.041719697415828705,
0.003912145737558603,
0.0013762506423518062,
-0.009840661659836769,
0.027356909587979317,
-0.02005072683095932,
0.05428416281938553,
0.009698612615466118,
0.04541798308491707,
-0.023519981652498245,
0.03589116036891937,
-0.051070813089609146,
0.01443373691290617,
-0.011408098042011261,
0.007952313870191574,
-0.032075975090265274,
-0.017121044918894768,
-0.037436045706272125,
-0.049770113080739975,
0.028123978525400162,
0.01647568680346012,
0.038883838802576065,
0.02303919568657875,
-0.008238321170210838,
0.01626918837428093,
0.00043519315659068525,
-0.061045385897159576,
-0.02824547328054905,
-0.011634541675448418,
-0.012119961902499199,
-0.011719089932739735,
0.054607659578323364,
0.034966565668582916,
-0.06119955703616142,
-0.03570080175995827,
0.02197720669209957,
0.0010904857190325856,
0.0012814061483368278,
-0.007516938261687756,
0.02216361276805401,
0.05872350558638573,
0.024420689791440964,
-0.045425768941640854,
-0.018639467656612396,
-0.0038307916838675737,
-0.03792613744735718,
0.029804306104779243,
-0.019049134105443954,
0.020114485174417496,
-0.018852736800909042,
-0.057582076638936996,
-0.017686279490590096,
0.07370278239250183,
0.032980695366859436,
0.02504241093993187,
-0.009572247043251991,
-0.025702763348817825,
0.03727198392152786,
0.012406270019710064,
-0.03786172345280647,
0.008942446671426296,
0.007858448661863804,
-0.0269863810390234,
0.09477564692497253,
-0.023660751059651375,
0.012113825418055058,
0.044053345918655396,
0.033434055745601654,
-0.030780190601944923,
0.05189434438943863,
-0.015885263681411743,
0.008723285980522633,
0.04941593483090401,
-0.043374352157115936,
-0.0006268576835282147,
-0.06643141806125641,
0.05886567011475563,
-0.09111396223306656,
0.02651779167354107,
0.04987410828471184,
0.031023358926177025,
0.044480565935373306,
-0.032184500247240067,
-0.05165503919124603,
0.027232671156525612,
-0.06958615779876709,
0.06843294948339462,
-0.00817149318754673,
-0.05949174240231514,
0.08874297887086868,
0.0005247208173386753,
-0.06951331347227097,
0.036095451563596725,
0.0684780701994896,
0.023304659873247147,
0.035947397351264954,
0.03966569900512695,
-0.04279644042253494,
0.02891581878066063,
-0.040487442165613174,
0.024652082473039627,
-0.06373970210552216,
-0.0006332370103336871,
0.00018142566841561347,
-0.019175786525011063,
-0.031075166538357735,
0.01614740863442421,
-0.04170098900794983,
-0.014358431100845337,
0.020022179931402206,
-0.05262737721204758,
-0.03942609205842018,
0.018089616671204567,
0.04942299798130989,
-0.021091347560286522,
0.020778154954314232,
-0.03730253502726555,
0.021578948944807053,
0.03262336552143097,
0.00385203561745584,
-0.0379563644528389,
-0.008895442821085453,
0.023296264931559563,
-0.06415543705224991,
-0.03518010303378105,
0.03805156797170639,
0.016117576509714127,
-0.019195599481463432,
0.046465981751680374,
0.0002617484424263239,
0.023584257811307907,
0.03277736157178879,
0.010573914274573326,
0.016812339425086975,
-0.06825283169746399,
0.001599068520590663,
0.0139033617451787,
0.0008780425996519625,
0.04526966065168381,
-0.007744221016764641,
0.03865557536482811,
0.05189826339483261,
0.03283076733350754,
-0.024325627833604813,
-0.025520402938127518,
-0.030401678755879402,
-0.018133727833628654,
-0.04369642585515976,
0.031089944764971733,
0.012397664599120617,
-0.05246884003281593,
-0.0323965810239315,
-0.0028886760119348764,
-0.014205547980964184,
0.031152011826634407,
-0.031508926302194595,
0.009201186709105968,
0.008524354547262192,
-0.03281313553452492,
-0.04176731035113335,
-0.06639165431261063,
-0.03922167420387268,
-0.029757851734757423,
0.02936455048620701,
0.027156440541148186,
-0.036796923726797104,
-0.016205785796046257,
-0.030577415600419044,
-0.07060125470161438,
0.013404658995568752,
0.03495978191494942,
-0.051938772201538086,
0.06513193994760513,
0.03841405734419823,
-0.023015540093183517,
-0.016826508566737175,
0.01366100087761879,
-0.04662654548883438,
0.02967454493045807,
0.011959180235862732,
0.013024942018091679,
0.03633209317922592,
0.054094597697257996,
-0.020461253821849823,
-0.021766044199466705,
-0.04058738052845001,
-0.022497452795505524,
-0.016797324642539024,
-0.03747985139489174,
0.05408391356468201
] |
Declan/HuffPost_model_v8 | [
"pytorch",
"bert",
"fill-mask",
"transformers",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 7 | null | ---
language: ro
---
# ALBert
The ALR-Bert , **cased** model for Romanian, trained on a 15GB corpus!
ALR-BERT is a multi-layer bidirectional Transformer encoder that shares ALBERT's factorized embedding parameterization and cross-layer sharing. ALR-BERT-base inherits ALBERT-base and features 12 parameter-sharing layers, a 128-dimension embedding size, 768 hidden units, 12 heads, and GELU non-linearities. Masked language modeling (MLM) and sentence order prediction (SOP) losses are the two objectives that ALBERT is pre-trained on. For ALR-BERT, we preserve both these objectives.
The model was trained using 40 batches per GPU (for 128 sequence length) and then 20 batches per GPU (for 512 sequence length). Layer-wise Adaptive Moments optimizer for Batch (LAMB) training was utilized, with a warm-up over the first 1\% of steps up to a learning rate of 1e4, then a decay. Eight NVIDIA Tesla V100 SXM3 with 32GB memory were used, and the pre-training process took around 2 weeks per model.
Training methodology follows closely work previous done in Romanian Bert (https://huggingface.co/dumitrescustefan/bert-base-romanian-cased-v1)
### How to use
```python
from transformers import AutoTokenizer, AutoModel
import torch
# load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("dragosnicolae555/ALR_BERT")
model = AutoModel.from_pretrained("dragosnicolae555/ALR_BERT")
#Here add your magic
```
Remember to always sanitize your text! Replace ``s`` and ``t`` cedilla-letters to comma-letters with :
```
text = text.replace("Ε£", "Θ").replace("Ε", "Θ").replace("Ε’", "Θ").replace("Ε", "Θ")
```
because the model was **NOT** trained on cedilla ``s`` and ``t``s. If you don't, you will have decreased performance due to <UNK>s and increased number of tokens per word.
### Evaluation
Here, we evaluate ALR-BERT on Simple Universal Dependencies task. One model for each task, evaluating labeling performance on the UPOS (Universal Part-of-Speech) and the XPOS (Extended Part-of-Speech) (eXtended Part-of-Speech). We compare our proposed ALR-BERT with Romanian BERT and multiligual BERT, using the cased version. To counteract the random seed effect, we repeat each experiment five times and simply provide the mean score.
| Model | UPOS | XPOS | MLAS | AllTags |
|--------------------------------|:-----:|:------:|:-----:|:-----:|
| M-BERT (cased) | 93.87 | 89.89 | 90.01 | 87.04|
| Romanian BERT (cased) | 95.56 | 95.35 | 92.78 | 93.22 |
| ALR-BERT (cased) | **87.38** | **84.05** | **79.82** | **78.82**|
### Corpus
The model is trained on the following corpora (stats in the table below are after cleaning):
| Corpus | Lines(M) | Words(M) | Chars(B) | Size(GB) |
|----------- |:--------: |:--------: |:--------: |:--------: |
| OPUS | 55.05 | 635.04 | 4.045 | 3.8 |
| OSCAR | 33.56 | 1725.82 | 11.411 | 11 |
| Wikipedia | 1.54 | 60.47 | 0.411 | 0.4 |
| **Total** | **90.15** | **2421.33** | **15.867** | **15.2** |
| [
-0.02197907492518425,
-0.013047963380813599,
-0.02929004281759262,
0.05552864819765091,
0.03979308903217316,
0.03076201304793358,
-0.010418322868645191,
-0.03207177296280861,
-0.06011350825428963,
0.06448031961917877,
0.019614718854427338,
-0.03598795831203461,
-0.017366915941238403,
0.03493069112300873,
-0.0226832777261734,
-0.02684084139764309,
-0.0026162967551499605,
0.016044607385993004,
-0.03867647051811218,
-0.003930157516151667,
-0.01383933424949646,
-0.004876432940363884,
0.006967983674257994,
0.013664945028722286,
0.024635329842567444,
0.010335614904761314,
-0.021434098482131958,
0.018553804606199265,
0.02127331681549549,
-0.07349898666143417,
0.018220042809844017,
-0.019272804260253906,
-0.04089006409049034,
-0.0059231058694422245,
-0.040679704397916794,
-0.017709605395793915,
0.010041345842182636,
-0.0017921790713444352,
0.030927255749702454,
0.05897314473986626,
-0.010694344528019428,
-0.00744068855419755,
-0.003747364040464163,
-0.04363609105348587,
0.013587811961770058,
0.008607732132077217,
-0.03404814377427101,
-0.0054395380429923534,
0.04513419046998024,
-0.011773297563195229,
-0.027997737750411034,
-0.04925976321101189,
-0.01301716547459364,
0.027499398216605186,
-0.0042442576959729195,
-0.012111524119973183,
-0.04485328868031502,
-0.011405592784285545,
0.06974480301141739,
-0.05706752836704254,
-0.011223790235817432,
0.02735077030956745,
-0.04742897301912308,
0.029557514935731888,
0.0580521896481514,
-0.007797663100063801,
0.010443955659866333,
-0.0397593155503273,
0.053500812500715256,
-0.016838202252984047,
0.05133948475122452,
-0.04170890897512436,
0.004801091272383928,
-0.09234322607517242,
-0.006793837063014507,
-0.03261949121952057,
0.03447888791561127,
0.057380009442567825,
-0.04326261579990387,
0.045177388936281204,
0.03358444571495056,
-0.008002161979675293,
0.02115054242312908,
-0.0373816043138504,
-0.0023552943021059036,
0.07330810278654099,
-0.03533351048827171,
0.017931684851646423,
0.004772556014358997,
0.061546120792627335,
-0.03258521109819412,
-0.013056735508143902,
-0.03597290813922882,
-0.05172141268849373,
-0.009736652486026287,
0.01989627256989479,
0.03689827397465706,
0.0035741454921662807,
0.049403075128793716,
0.02418784238398075,
0.041930314153432846,
0.0393456406891346,
-0.024686014279723167,
0.046151209622621536,
-0.0151840103790164,
-0.020967867225408554,
-0.007044315338134766,
-0.03584947809576988,
-0.033590495586395264,
0.021650683134794235,
0.05275819078087807,
-0.0191312488168478,
-0.031397655606269836,
0.05633794143795967,
0.002465172903612256,
-0.04230383411049843,
0.04009844362735748,
-0.018563074991106987,
-0.05914074555039406,
-0.08082299679517746,
0.0407881923019886,
-0.003291198518127203,
-0.000657882948871702,
0.029086222872138023,
-0.048054661601781845,
0.028606140986084938,
-0.054300058633089066,
-0.03634076938033104,
0.01380894798785448,
0.00633457163348794,
0.006881038658320904,
0.058919209986925125,
0.02537607029080391,
-0.049367211759090424,
0.028647512197494507,
0.008224050514400005,
-0.06236591190099716,
0.04898820444941521,
0.030432958155870438,
0.10058116912841797,
-0.054083116352558136,
-0.02603849023580551,
0.027122145518660545,
0.013838442973792553,
-0.040208157151937485,
0.011953704990446568,
0.03451501205563545,
-0.032459236681461334,
-0.01814093068242073,
-0.01037422101944685,
0.05837537720799446,
-0.03902728483080864,
-0.02727646939456463,
0.049447137862443924,
-0.0015488473000004888,
0.04813416302204132,
-0.034410715103149414,
-0.02163679152727127,
-0.004581484477967024,
-0.0009629654814489186,
-0.03130248188972473,
0.04559555649757385,
-0.021832143887877464,
-0.038129255175590515,
-0.03296966105699539,
-0.031189745292067528,
0.020714983344078064,
0.09343764930963516,
0.012996548786759377,
-0.020559266209602356,
-0.0096891475841403,
0.025889575481414795,
0.03202071785926819,
0.04241640865802765,
-0.034509580582380295,
0.02778797782957554,
0.037905503064394,
0.011480355635285378,
-0.008956032805144787,
0.06029175594449043,
0.011504750698804855,
-0.05289601907134056,
-0.0324309766292572,
0.023040171712636948,
-0.018474839627742767,
-0.029924843460321426,
0.017416562885046005,
0.0317985974252224,
-0.010786178521811962,
0.001894183224067092,
-0.025983331725001335,
0.04674350470304489,
-0.013398922979831696,
0.022377289831638336,
0.028580211102962494,
-0.0062889233231544495,
-0.017189253121614456,
0.0546548031270504,
-0.016734454780817032,
0.00016256122034974396,
-0.011835210956633091,
-0.032677117735147476,
0.002807779936119914,
0.026885226368904114,
0.03530968725681305,
0.04697147756814957,
-0.01392496470361948,
0.08614508807659149,
-0.02783370204269886,
0.011368895880877972,
-0.07343869656324387,
-0.05646209791302681,
0.012471557594835758,
0.04998756945133209,
0.041235003620386124,
0.058851245790719986,
-0.005626364145427942,
-0.058332089334726334,
0.010415489785373211,
0.052638642489910126,
0.051414962857961655,
0.010650490410625935,
-0.05161014944314957,
-0.030455617234110832,
0.0030543168541043997,
0.06417763233184814,
-0.0663830116391182,
-0.03847001865506172,
0.016787607222795486,
0.06257292628288269,
-0.01217618864029646,
0.02313503995537758,
-0.02511085756123066,
0.02900727279484272,
-0.030024852603673935,
-0.0530502051115036,
0.043806254863739014,
0.02877516858279705,
-0.007218487095087767,
0.04189690575003624,
0.020851561799645424,
-0.0028082490898668766,
-0.00028924483922310174,
0.017803212627768517,
-0.0225821565836668,
-0.039112575352191925,
-0.011593688279390335,
0.02138288877904415,
0.054659854620695114,
-0.048839081078767776,
0.03750646114349365,
0.0005842713289894164,
0.014223195612430573,
0.03269333019852638,
-0.020316587761044502,
0.033931128680706024,
0.03228979557752609,
0.012097216211259365,
-0.030293306335806847,
0.012362424284219742,
0.004659123253077269,
0.034468770027160645,
0.04400508105754852,
0.00034116432652808726,
0.05725923180580139,
0.024083614349365234,
0.047110479325056076,
0.08260110020637512,
0.013281984254717827,
0.02659820020198822,
0.04779160022735596,
0.06068183854222298,
0.018729660660028458,
-0.015634186565876007,
0.04858172684907913,
-0.03335529565811157,
0.011897304095327854,
-0.024301677942276,
0.0035392248537391424,
0.013486037962138653,
-0.008263126946985722,
0.0631665587425232,
-0.0032395997550338507,
0.01694859191775322,
-0.009207633323967457,
-0.00770817045122385,
0.005143823102116585,
0.04231027141213417,
0.0011121053248643875,
0.011341019533574581,
-0.010851711966097355,
-0.013919809833168983,
-0.013100908137857914,
-0.06833149492740631,
-0.07193011045455933,
0.007873320020735264,
-0.022444212809205055,
-0.008675184100866318,
-0.09017185121774673,
-0.0442231111228466,
-0.05413888767361641,
-0.012172603979706764,
0.034770701080560684,
0.019151275977492332,
0.013995216228067875,
-0.03630835562944412,
0.02540462277829647,
-0.02699214592576027,
-0.008813533931970596,
-0.05489682778716087,
-0.03459366783499718,
-0.036929406225681305,
-0.04669836536049843,
0.035571981221437454,
0.012644525617361069,
0.024891382083296776,
-0.02321648597717285,
0.018734095618128777,
-0.027422651648521423,
-0.030505860224366188,
0.04020713269710541,
0.06541094928979874,
-0.025163613259792328,
-0.05094612389802933,
0.010972493328154087,
-0.0012674008030444384,
0.039192963391542435,
0.005575544200837612,
-0.025989215821027756,
0.10392279922962189,
0.08685645461082458,
0.026514535769820213,
0.0025679944083094597,
-0.0048941681161522865,
-0.0711883157491684,
-0.07779619097709656,
-0.029020773246884346,
-0.036234647035598755,
0.0038422613870352507,
-0.028239350765943527,
-0.03320587798953056,
-0.01338038221001625,
-0.0020019151270389557,
0.009204287081956863,
-0.011933185160160065,
0.028094200417399406,
0.022080067545175552,
0.06095349043607712,
0.04951843246817589,
0.025115646421909332,
-0.0305752195417881,
-0.03205858916044235,
0.07804872840642929,
0.029644479975104332,
0.012249840423464775,
-0.06009204313158989,
-0.011147926561534405,
0.04027760773897171,
0.049013182520866394,
-0.01168479397892952,
-0.012450932525098324,
0.0838971808552742,
0.01625160127878189,
-0.0024891486391425133,
0.0003044152108486742,
-0.0030861329287290573,
-0.04268758371472359,
-0.01143719907850027,
-0.008428697474300861,
-0.006285449024289846,
-0.04735295847058296,
-0.04376021400094032,
-0.0013474300503730774,
0.03597879037261009,
-0.06518325954675674,
-0.05361484736204147,
-0.009928314946591854,
0.04213980585336685,
-0.0012177216121926904,
0.021870585158467293,
-0.04423968493938446,
0.033345215022563934,
-0.05019475519657135,
-0.04565289616584778,
0.00452206376940012,
0.0016964987153187394,
0.010994632728397846,
0.04647868126630783,
0.03185845911502838,
-0.032615531235933304,
0.030231136828660965,
0.02495206519961357,
0.062314365059137344,
0.0035337491426616907,
-0.06265280395746231,
0.020638054236769676,
-0.04622593894600868,
0.04020914062857628,
0.0023211599327623844,
-0.03754032403230667,
-0.04611222818493843,
-0.08753051608800888,
-0.005783699452877045,
0.0001693409722065553,
-0.02806028537452221,
-0.01659574918448925,
0.03493943065404892,
0.005531620234251022,
-0.009851920418441296,
-0.011947078630328178,
0.013396267779171467,
0.03099089302122593,
-0.06521224230527878,
0.06716308742761612,
-0.00014702930639032274,
0.04116456210613251,
-0.05760839954018593,
0.03135863319039345,
-0.03692612424492836,
-0.027837105095386505,
-0.02192908339202404,
0.05749848484992981,
0.029503364115953445,
0.042606476694345474,
0.06729592382907867,
0.02492600306868553,
-0.04479267820715904,
0.03949088603258133,
0.02303054928779602,
0.005182589869946241,
-0.032508108764886856,
-0.010753443464636803,
-0.02715878374874592,
-0.03165546432137489,
-0.01255266834050417,
-0.016363579779863358,
-0.00006211385334609076,
0.024055110290646553,
0.03024863265454769,
-0.027801353484392166,
-0.012126078829169273,
-0.012492231093347073,
-0.04402530938386917,
-0.06100088730454445,
-0.02694135159254074,
0.00556208984926343,
-0.02463993802666664,
0.034807492047548294,
0.031996797770261765,
0.008982711471617222,
0.06926010549068451,
0.05572017282247543,
-0.01007873099297285,
-0.005278442986309528,
0.01575600542128086,
0.0038248393684625626,
-0.037314873188734055,
-0.05576783046126366,
-0.054613146930933,
0.033647894859313965,
0.05737330764532089,
0.000246498646447435,
-0.07947371155023575,
-0.01575072482228279,
0.05408785119652748,
-0.044162627309560776,
0.029024222865700722,
-0.005209552589803934,
0.05846573784947395,
0.05593523755669594,
-0.018660174682736397,
0.013001227751374245,
-0.030573520809412003,
0.011452815495431423,
-0.024744084104895592,
0.05760132148861885,
-0.028829341754317284,
-0.04805610701441765,
-0.05910380184650421,
0.019242821261286736,
0.0310195405036211,
0.032333869487047195,
0.05995059385895729,
-0.02300667203962803,
-0.05443260818719864,
0.017250876873731613,
0.05729283392429352,
-0.04646821320056915,
0.01781473681330681,
0.022268163040280342,
0.030757233500480652,
-0.03983891382813454,
-0.028918590396642685,
-0.0363423116505146,
0.013832354918122292,
0.028994068503379822,
0.018722010776400566,
-0.04326266795396805,
-0.06393767893314362,
0.03534018248319626,
-0.023127920925617218,
-0.022614307701587677,
-0.09354754537343979,
0.012260440737009048,
-0.03199337422847748,
-0.022545915096998215,
0.029444780200719833,
0.013558926992118359,
0.050907645374536514,
0.05447312816977501,
0.00860691163688898,
-0.012235925532877445,
-0.044106289744377136,
0.018388781696558,
-0.03439689427614212,
-0.006973231211304665,
-0.02396603673696518,
-0.025985341519117355,
-0.01062691304832697,
-0.02050275355577469,
-0.053178492933511734,
-0.062164079397916794,
-0.006850569508969784,
0.008760330267250538,
-0.013253878802061081,
0.009665724821388721,
-0.021343549713492393,
0.051046114414930344,
-0.01202306803315878,
-0.02631852589547634,
-0.03984566777944565,
-0.021865716204047203,
-0.06363700330257416,
-0.050073396414518356,
-0.0017940693069249392,
0.02753637731075287,
0.024668339639902115,
-0.001676127896644175,
-0.00009008045890368521,
0.01651272363960743,
0.005455083679407835,
-0.022990558296442032,
0.02495494671165943,
-0.0008652029209770262,
-0.03145250678062439,
-0.029669390991330147,
0.02916952222585678,
0.012195196934044361,
0.03316131606698036,
-0.02316420152783394,
0.04115575924515724,
0.036448922008275986,
-0.026375848799943924,
-0.0111007085070014,
0.030461441725492477,
0.011398043483495712,
-0.07658370584249496,
-0.054174862802028656,
-0.031086450442671776,
-0.06439796835184097,
0.03915715962648392,
-0.011041062884032726,
-0.02561585046350956,
0.018242374062538147,
0.043265677988529205,
0.04017985239624977,
0.033686961978673935,
-0.019151395186781883,
0.012230518274009228,
-0.012831720523536205,
0.03691576048731804,
-0.05602316930890083,
0.029766695573925972,
-0.025405336171388626,
0.01430373266339302,
-0.008105671033263206,
-0.015757493674755096,
-0.04796786606311798,
0.03070135787129402,
-0.03793558105826378,
-0.004303034860640764,
-0.013414849527180195,
0.030065802857279778,
-0.019956428557634354,
0.06156913563609123,
-0.025773921981453896,
0.012518306262791157,
-0.03608724847435951,
0.058985959738492966,
-0.029846467077732086,
-0.0014000489609315991,
-0.024119213223457336,
0.018575886264443398,
-0.039536938071250916,
-0.022535614669322968,
-0.0019193112384527922,
-0.0509730763733387,
0.048141561448574066,
0.027619075030088425,
0.030190199613571167,
0.02632458694279194,
-0.007089785300195217,
-0.0032251011580228806,
-0.006274038925766945,
-0.050007112324237823,
-0.04504834860563278,
-0.011330879293382168,
0.004422327503561974,
0.01000168826431036,
0.05803530663251877,
0.048517677932977676,
-0.061576567590236664,
-0.05294698476791382,
0.03624889999628067,
-0.000703928351867944,
-0.000378029712010175,
-0.01066725142300129,
0.05645262449979782,
0.04733976349234581,
0.06472369283437729,
-0.039466869086027145,
-0.00945466011762619,
-0.026915190741419792,
-0.045206595212221146,
0.022650355473160744,
-0.014941186644136906,
0.0325847826898098,
0.014855808578431606,
-0.050850797444581985,
-0.04148496687412262,
0.08563581854104996,
0.015849974006414413,
0.029115693643689156,
0.006012002006173134,
-0.03202570974826813,
0.02802855521440506,
-0.0025259393732994795,
-0.041623156517744064,
0.010296287946403027,
0.003454639343544841,
-0.05553621053695679,
0.07974566519260406,
-0.01092431228607893,
0.02534082718193531,
0.04203081130981445,
0.02866305410861969,
-0.02284535951912403,
0.050392504781484604,
-0.021864214912056923,
-0.008237302303314209,
0.0469970703125,
-0.03481099382042885,
-0.019710099324584007,
-0.028442157432436943,
0.08188758045434952,
-0.05368532985448837,
0.04882454499602318,
0.04551843926310539,
0.015804514288902283,
0.028682608157396317,
-0.04235704243183136,
-0.02322380058467388,
0.016161678358912468,
-0.04965931177139282,
0.0720849484205246,
-0.009922930970788002,
-0.06804953515529633,
0.06403809040784836,
0.019702641293406487,
-0.06806786358356476,
0.03560541942715645,
0.03418996185064316,
0.012337499298155308,
0.03219094127416611,
0.04132138192653656,
-0.04223338142037392,
0.0256755743175745,
-0.044014766812324524,
0.015469789505004883,
-0.05913969874382019,
-0.0035598515532910824,
0.03420080617070198,
0.000051563940360210836,
-0.009544548578560352,
0.046827320009469986,
-0.0329778715968132,
-0.006147207226604223,
0.02243586629629135,
-0.06084038317203522,
-0.0572231151163578,
-0.012517504394054413,
0.005900143645703793,
-0.01204171497374773,
0.018236614763736725,
-0.026773910969495773,
0.021564336493611336,
-0.0016613132320344448,
-0.011222654022276402,
-0.04572049155831337,
-0.010236522182822227,
0.017921410501003265,
-0.07215236127376556,
-0.03615031763911247,
0.02619665488600731,
0.002238826360553503,
-0.01651887036859989,
0.03287641331553459,
-0.0045796409249305725,
-0.00614036014303565,
0.018807493150234222,
0.02464083768427372,
0.013142812997102737,
-0.017992166802287102,
-0.005546271335333586,
0.006323831155896187,
0.006900464650243521,
0.017182519659399986,
-0.005680832080543041,
0.029583577066659927,
0.03948909416794777,
0.022313930094242096,
-0.00613960437476635,
-0.040140338242053986,
-0.0291916374117136,
0.01387709379196167,
-0.03872258588671684,
-0.005247203167527914,
0.004321438726037741,
-0.051321107894182205,
-0.036179643124341965,
0.006368282716721296,
-0.013081907294690609,
0.029989222064614296,
-0.030161576345562935,
0.006253968458622694,
0.025143569335341454,
-0.04877983406186104,
-0.03536291420459747,
-0.07219229638576508,
-0.013299219310283661,
-0.0208844356238842,
0.024243133142590523,
0.04125984385609627,
-0.03244592621922493,
0.009235454723238945,
-0.03576729819178581,
-0.07096941024065018,
0.04855549335479736,
0.020466936752200127,
-0.0631481185555458,
0.07823733985424042,
0.023217521607875824,
-0.05675562471151352,
-0.007969451136887074,
0.03478946536779404,
-0.04936182126402855,
0.025012502446770668,
0.03199432045221329,
0.005175280384719372,
0.02882637269794941,
0.029191073030233383,
-0.012132106348872185,
-0.016483062878251076,
-0.06745637953281403,
0.002172912936657667,
-0.028854338452219963,
-0.00255243806168437,
0.06837517023086548
] |
Declan/Politico_model_v8 | [
"pytorch",
"bert",
"fill-mask",
"transformers",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 7 | null | ---
tags: autonlp
language: en
widget:
- text: "I love AutoNLP π€"
datasets:
- ds198799/autonlp-data-predict_ROI_1
co2_eq_emissions: 2.7516207978192737
---
# Model Trained Using AutoNLP
- Problem type: Multi-class Classification
- Model ID: 29797722
- CO2 Emissions (in grams): 2.7516207978192737
## Validation Metrics
- Loss: 0.6113826036453247
- Accuracy: 0.7559139784946236
- Macro F1: 0.4594734612976928
- Micro F1: 0.7559139784946236
- Weighted F1: 0.7195080232106192
- Macro Precision: 0.7175166413412577
- Micro Precision: 0.7559139784946236
- Weighted Precision: 0.7383048259333735
- Macro Recall: 0.4482203645846237
- Micro Recall: 0.7559139784946236
- Weighted Recall: 0.7559139784946236
## Usage
You can use cURL to access this model:
```
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/ds198799/autonlp-predict_ROI_1-29797722
```
Or Python API:
```
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("ds198799/autonlp-predict_ROI_1-29797722", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("ds198799/autonlp-predict_ROI_1-29797722", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)
``` | [
-0.021950235590338707,
-0.021718379110097885,
0.0031792190857231617,
0.03694871440529823,
0.03945029899477959,
0.011066875420510769,
-0.017675228416919708,
-0.026817917823791504,
-0.044191617518663406,
0.07782554626464844,
0.03535772114992142,
0.013407365418970585,
0.00345016410574317,
0.031293582171201706,
-0.027857260778546333,
-0.02144910953938961,
0.004420612473040819,
-0.013528209179639816,
-0.03609907627105713,
-0.015816152095794678,
-0.022865457460284233,
-0.004830794408917427,
-0.006532514933496714,
0.0019712219946086407,
-0.022782204672694206,
0.024657685309648514,
-0.030359119176864624,
0.03937632963061333,
0.019966544583439827,
-0.06835905462503433,
-0.009736718609929085,
-0.01868669129908085,
-0.042035121470689774,
-0.002661678474396467,
-0.0260570477694273,
0.00024671416031196713,
0.025725195184350014,
0.012265612371265888,
0.0005472537013702095,
0.03405698388814926,
0.01676180772483349,
0.010533701628446579,
0.010733253322541714,
-0.004875493701547384,
0.06791223585605621,
0.0024362076073884964,
-0.04761629179120064,
-0.012496275827288628,
0.040656182914972305,
-0.028112975880503654,
-0.05843827500939369,
-0.059383466839790344,
-0.03262937813997269,
0.024364661425352097,
-0.034459568560123444,
-0.023280756548047066,
-0.04922208562493324,
-0.0011710596736520529,
0.06568146497011185,
-0.07346154749393463,
-0.041674502193927765,
0.006419712677598,
-0.11072078347206116,
0.02915140986442566,
0.042982831597328186,
-0.03677458316087723,
0.0017662891186773777,
-0.04366985335946083,
0.01535920798778534,
-0.023186711594462395,
0.06717231869697571,
-0.04990207031369209,
0.016821635887026787,
-0.0853201299905777,
0.0014561230782419443,
-0.0047933561727404594,
0.03864224627614021,
0.02718283049762249,
-0.021760202944278717,
0.04508522152900696,
0.057344701141119,
0.005851164925843477,
0.01892027072608471,
-0.012035921216011047,
-0.010713702067732811,
0.034097254276275635,
-0.04510480910539627,
-0.005521796178072691,
0.017427241429686546,
0.03778906911611557,
-0.04326959326863289,
-0.04814061149954796,
-0.006113773677498102,
-0.04311218485236168,
-0.03514379262924194,
0.03248121961951256,
0.042404379695653915,
-0.030013982206583023,
0.045883532613515854,
0.01918656751513481,
0.0454181544482708,
0.04472190886735916,
-0.020879438146948814,
0.08748440444469452,
0.004599971696734428,
-0.03420165181159973,
0.004134596325457096,
-0.044676102697849274,
-0.045016445219516754,
0.05885758250951767,
0.03853224217891693,
-0.025526562705636024,
-0.04820512235164642,
0.027301393449306488,
0.023775318637490273,
-0.017087936401367188,
0.04026181250810623,
-0.039091549813747406,
-0.04013281688094139,
-0.06045619770884514,
0.023483632132411003,
0.015440157614648342,
-0.0027574212290346622,
-0.022701408714056015,
-0.04882650449872017,
0.008846771903336048,
-0.041498810052871704,
-0.0076921116560697556,
-0.009308949112892151,
0.022099696099758148,
-0.009077333845198154,
0.031149083748459816,
0.02125713601708412,
-0.04290929064154625,
-0.02100810967385769,
0.03305855765938759,
-0.06151275336742401,
0.03393099829554558,
0.00907850544899702,
0.10297863185405731,
-0.06085531413555145,
-0.056114111095666885,
0.04139387235045433,
-0.01080021820962429,
-0.024995053187012672,
0.006616547703742981,
-0.006643879693001509,
-0.03261749446392059,
-0.02885729819536209,
-0.01477770321071148,
0.06232196465134621,
-0.07592921704053879,
0.005254193674772978,
0.04889565706253052,
-0.0022746501490473747,
0.07376916706562042,
-0.03910352289676666,
0.0082774106413126,
0.003125778865069151,
-0.009694165550172329,
-0.030559416860342026,
0.02461458556354046,
-0.001262245699763298,
-0.008328142575919628,
-0.02622816525399685,
-0.05022119730710983,
0.00022014972637407482,
0.08809313178062439,
0.00765534583479166,
0.0048812441527843475,
-0.0393119715154171,
0.029525933787226677,
0.024609919637441635,
0.007711436599493027,
-0.024695074185729027,
0.0473022423684597,
0.05595100298523903,
0.0331631563603878,
-0.02623225562274456,
0.06547627598047256,
0.022703735157847404,
-0.018559997901320457,
-0.018759487196803093,
-0.00023945217253640294,
-0.017173217609524727,
-0.030786804854869843,
0.0026312978006899357,
0.04387867823243141,
-0.007800922263413668,
-0.02483171783387661,
0.012912070378661156,
0.044632598757743835,
0.010864168405532837,
0.006337394006550312,
-0.037010133266448975,
0.0018703632522374392,
-0.005812770687043667,
0.04689178243279457,
0.006174005568027496,
-0.01173157524317503,
-0.002016929443925619,
-0.05214245989918709,
0.012545626610517502,
0.016120679676532745,
0.032712746411561966,
0.0494082048535347,
-0.010145880281925201,
0.07965367287397385,
-0.053856395184993744,
0.01788908801972866,
-0.0484410859644413,
-0.04108082130551338,
0.011177382431924343,
0.05641479790210724,
0.034883078187704086,
0.04646504297852516,
-0.01931132562458515,
-0.029801134020090103,
0.037085581570863724,
0.07138974964618683,
0.05575285851955414,
0.006473118904978037,
-0.026323575526475906,
-0.026664411649107933,
0.010544356890022755,
0.06207150220870972,
-0.08692680299282074,
-0.042191144078969955,
0.01878572814166546,
0.04836811497807503,
-0.029504062607884407,
0.023488009348511696,
-0.0203712098300457,
0.01828734204173088,
-0.05837515741586685,
-0.05548315495252609,
0.027704861015081406,
0.047097329050302505,
0.03976212814450264,
0.0373905748128891,
-0.004178808070719242,
-0.014140849001705647,
0.03421948477625847,
-0.01478409394621849,
-0.005121667869389057,
-0.03526274487376213,
-0.00046989001566544175,
0.037704382091760635,
0.05062839388847351,
-0.03252534568309784,
0.029165150597691536,
0.0015322136459872127,
0.020259574055671692,
0.0394488088786602,
-0.05456677824258804,
0.029140204191207886,
0.04597346484661102,
0.013081969693303108,
-0.027399051934480667,
0.02682741917669773,
-0.009707335382699966,
0.030095579102635384,
0.04041063040494919,
-0.00177853275090456,
0.060432665050029755,
-0.002747366903349757,
0.03871622309088707,
0.10985507071018219,
0.04019531235098839,
0.0019396834541112185,
0.014038213528692722,
0.06979377567768097,
0.01311604492366314,
-0.03189527615904808,
0.056489069014787674,
-0.04648852348327637,
0.04082513973116875,
-0.025470692664384842,
0.007540683262050152,
-0.035415373742580414,
-0.011766422539949417,
0.06067367270588875,
0.038249146193265915,
-0.022178027778863907,
0.018838439136743546,
0.0053712776862084866,
-0.007258887402713299,
0.0352134071290493,
0.0038379300385713577,
-0.017694685608148575,
-0.0014335387386381626,
-0.0014380703214555979,
0.0239988062530756,
-0.05676307529211044,
-0.03885680437088013,
-0.008468372747302055,
-0.0248101893812418,
-0.005172886420041323,
-0.07421386986970901,
-0.025370964780449867,
-0.06156463176012039,
-0.015441189520061016,
0.04448414966464043,
0.028898242861032486,
0.009045545943081379,
-0.05387333780527115,
0.016588784754276276,
-0.0360371358692646,
-0.045069850981235504,
-0.04212619736790657,
-0.052129048854112625,
-0.027851682156324387,
-0.08260700106620789,
0.042078204452991486,
0.014653995633125305,
0.020578932017087936,
-0.015435218811035156,
-0.009687540121376514,
-0.026858888566493988,
-0.024599773809313774,
0.058727920055389404,
0.05690943822264671,
-0.01715860515832901,
-0.04020565375685692,
-0.0005007629515603185,
-0.02688574232161045,
0.006263467483222485,
-0.02720433846116066,
-0.03186190500855446,
0.05674265697598457,
0.07593085616827011,
0.029311323538422585,
0.014444968663156033,
-0.049968693405389786,
-0.04118441045284271,
-0.02769133262336254,
-0.03530846908688545,
-0.029306979849934578,
-0.01744873821735382,
-0.043250374495983124,
-0.04362521320581436,
0.028179990127682686,
-0.022906804457306862,
-0.025760164484381676,
-0.007320159114897251,
0.006965898908674717,
0.023837825283408165,
0.059030018746852875,
0.03637593984603882,
0.045198313891887665,
-0.021599717438220978,
-0.04130249097943306,
0.0695221945643425,
-0.0017972454661503434,
0.017729463055729866,
-0.057731568813323975,
-0.04033316299319267,
0.02872857265174389,
0.03724467381834984,
0.015786243602633476,
-0.0050296057015657425,
0.0830007791519165,
0.01895865425467491,
-0.018313009291887283,
-0.009798391722142696,
-0.009603057987987995,
-0.02690640464425087,
-0.03191809356212616,
-0.049032989889383316,
-0.009983770549297333,
-0.05163371190428734,
-0.029275549575686455,
-0.01822376810014248,
0.031167130917310715,
-0.07086978107690811,
-0.051256950944662094,
-0.015629351139068604,
0.03141588717699051,
0.012774946168065071,
0.01555416639894247,
-0.06164860352873802,
0.0013106126571074128,
-0.06428202241659164,
-0.005695356521755457,
0.019527671858668327,
0.02376122586429119,
0.019038403406739235,
0.052647627890110016,
0.04174887016415596,
-0.0331772081553936,
0.037284597754478455,
0.0004891905700787902,
0.05928293243050575,
0.016806427389383316,
-0.06535473465919495,
0.006458532065153122,
-0.0010318049462512136,
0.002516345586627722,
0.004360887687653303,
-0.021180763840675354,
-0.04628662019968033,
-0.08103127032518387,
-0.0025504971854388714,
-0.011229097843170166,
0.00015164849173743278,
-0.030879506841301918,
0.04677845537662506,
0.003918102942407131,
0.0021575044374912977,
0.004255540668964386,
0.027916062623262405,
0.013281266205012798,
-0.04831459000706673,
0.04469964653253555,
0.01542786043137312,
0.005650212522596121,
-0.041593678295612335,
0.005994364153593779,
-0.02185233309864998,
-0.022109422832727432,
0.022065093740820885,
0.031139535829424858,
0.02789350412786007,
0.06205018609762192,
0.04280015081167221,
0.005220315884798765,
-0.04059835895895958,
0.037111520767211914,
0.0535912811756134,
-0.013702278025448322,
-0.06646459549665451,
0.0069084251299500465,
-0.004716216586530209,
-0.012893878854811192,
-0.013915032148361206,
-0.014968210831284523,
0.03790896013379097,
0.04647522792220116,
-0.01949535310268402,
-0.016894452273845673,
0.001983508002012968,
-0.00250906846486032,
-0.014126447029411793,
-0.06380690634250641,
0.00006295373168541119,
0.015445808880031109,
-0.02030203305184841,
0.0021095850970596075,
0.04218962416052818,
0.025689806789159775,
0.047903332859277725,
0.043902911245822906,
-0.01820019632577896,
-0.05189278721809387,
0.02057112567126751,
0.04204531013965607,
-0.03528179973363876,
-0.053424954414367676,
-0.02793162129819393,
0.053246743977069855,
0.049900464713573456,
-0.03437887132167816,
-0.05843321606516838,
-0.02068396843969822,
0.04411352798342705,
-0.04922507330775261,
0.07805018126964569,
-0.023409737274050713,
0.008280888199806213,
0.06728585064411163,
-0.02706056647002697,
0.021848978474736214,
-0.026265963912010193,
-0.001418284373357892,
0.016692908480763435,
0.012842382304370403,
-0.042422134429216385,
-0.044837836176157,
-0.030005844309926033,
0.03455088660120964,
0.016113394871354103,
0.0674167200922966,
0.05123633146286011,
-0.02567945048213005,
-0.0690825954079628,
0.004584684036672115,
0.05062871053814888,
-0.006475804839283228,
0.019416987895965576,
0.03675193712115288,
0.024353625252842903,
-0.05062904581427574,
-0.0169379860162735,
-0.013195487670600414,
-0.0020667314529418945,
0.03648287430405617,
0.025033079087734222,
-0.04052066057920456,
-0.020174577832221985,
0.014209562912583351,
-0.027062449604272842,
0.0007847460801713169,
-0.06374139338731766,
0.035528820008039474,
-0.024231331422924995,
-0.01835986040532589,
0.018924297764897346,
0.04233701899647713,
0.0503419004380703,
0.03834649547934532,
0.0016394834965467453,
0.006366324611008167,
-0.012597555294632912,
0.040113404393196106,
-0.048563145101070404,
-0.015123809687793255,
-0.01579558663070202,
-0.06956449896097183,
-0.006562520284205675,
-0.03495487570762634,
-0.04542206600308418,
-0.0621434710919857,
-0.011490074917674065,
0.001850769971497357,
0.003237253287807107,
0.0010872381972149014,
-0.005104802083224058,
0.04212295636534691,
-0.031473107635974884,
-0.029669106006622314,
-0.05553644523024559,
-0.03741706535220146,
-0.08045455813407898,
-0.056471001356840134,
0.03481954708695412,
-0.016405737027525902,
0.05027708038687706,
-0.009754639118909836,
0.012097291648387909,
0.020874284207820892,
0.017416557297110558,
-0.04870741814374924,
0.016304126009345055,
-0.004026863258332014,
-0.0368611104786396,
-0.028467446565628052,
0.0356755293905735,
-0.0009318665834143758,
0.05432504788041115,
-0.008890725672245026,
0.008328904397785664,
0.0308847539126873,
-0.04508528485894203,
-0.0212252177298069,
0.021221324801445007,
0.026711011305451393,
-0.05264729633927345,
-0.012649440206587315,
-0.008895170874893665,
-0.06634371727705002,
0.01754908263683319,
-0.009882439859211445,
-0.005948211532086134,
-0.005795695353299379,
0.021900374442338943,
0.032414261251688004,
-0.015314118936657906,
-0.03576968237757683,
-0.0046871318481862545,
-0.05299109220504761,
0.02555093728005886,
-0.04160342738032341,
0.061112478375434875,
-0.032254841178655624,
0.02233271114528179,
-0.0021564802154898643,
-0.02271530218422413,
-0.051348116248846054,
0.04916466027498245,
-0.002564965980127454,
-0.01551054511219263,
-0.017375392839312553,
0.025027401745319366,
-0.0367031991481781,
0.04624556377530098,
-0.003730430733412504,
0.031290072947740555,
-0.023092320188879967,
0.0596119686961174,
-0.04850371927022934,
0.007091914769262075,
-0.031122084707021713,
0.015495804138481617,
-0.02259020507335663,
-0.006849986966699362,
-0.028927654027938843,
-0.03330930694937706,
0.033448029309511185,
0.06445544958114624,
0.029067406430840492,
0.015259373001754284,
-0.03922519460320473,
0.01924818381667137,
0.004421059507876635,
-0.04851256683468819,
-0.02091509848833084,
-0.010298976674675941,
0.021661948412656784,
0.0023031597957015038,
0.049510225653648376,
0.0404038168489933,
-0.05117860063910484,
-0.05031924322247505,
0.05485648661851883,
0.038377489894628525,
0.0056715793907642365,
-0.0071428134106099606,
0.023832930251955986,
0.016352785751223564,
0.023146722465753555,
-0.034849610179662704,
-0.0007093059248290956,
0.018378930166363716,
-0.036093488335609436,
0.015893803909420967,
0.00444237282499671,
0.03221005201339722,
-0.008498704060912132,
-0.02725629135966301,
-0.018080374225974083,
0.054041001945734024,
0.02305290661752224,
0.016152262687683105,
0.0016095261089503765,
-0.029831457883119583,
0.013308239169418812,
-0.01035351399332285,
-0.06508537381887436,
0.006600864697247744,
0.0061136470176279545,
-0.032833222299814224,
0.06723374873399734,
-0.011362542398273945,
0.010341371409595013,
0.045337334275245667,
0.03554094210267067,
-0.016684988513588905,
0.06818391382694244,
-0.035578928887844086,
0.013834594748914242,
0.04020414873957634,
-0.05706994980573654,
0.00045469601172953844,
-0.008917538449168205,
0.0762394443154335,
-0.052238237112760544,
0.05378418415784836,
0.031079614534974098,
0.01769407093524933,
0.028146086260676384,
-0.04170577600598335,
-0.04973350837826729,
0.01772843301296234,
-0.05536748468875885,
0.07646157592535019,
0.011019930243492126,
-0.037244539707899094,
0.061279647052288055,
0.029537148773670197,
-0.07846935093402863,
0.009998813271522522,
0.026956113055348396,
0.018307464197278023,
0.015507920645177364,
0.058563731610774994,
-0.020788496360182762,
0.02542192116379738,
-0.03456646203994751,
0.05267541855573654,
-0.04454975202679634,
-0.022382233291864395,
-0.00540512939915061,
-0.05817978084087372,
-0.04699116572737694,
0.06999953836202621,
0.0007609116728417575,
-0.018483445048332214,
0.016387222334742546,
-0.039049312472343445,
-0.03987203910946846,
-0.006328411400318146,
0.002600062871351838,
-0.013243447057902813,
0.02075650915503502,
-0.03196047991514206,
0.0018949356162920594,
-0.010419637896120548,
-0.002969074063003063,
-0.014900262467563152,
-0.017737293615937233,
0.03675825893878937,
-0.06847333163022995,
-0.04134810343384743,
0.05397246778011322,
-0.008283375762403011,
-0.015297437086701393,
-0.004003479145467281,
-0.008591807447373867,
0.006606504321098328,
0.03357928991317749,
-0.018283041194081306,
0.017226791009306908,
-0.0438937246799469,
-0.03427895903587341,
0.028298314660787582,
0.0011783528607338667,
0.01983770728111267,
-0.005140405148267746,
0.055229078978300095,
0.04178692772984505,
0.02848680131137371,
0.005063781514763832,
-0.030404366552829742,
-0.03497985377907753,
0.009981655515730381,
-0.0582064650952816,
0.02201293781399727,
0.006644042208790779,
-0.042258117347955704,
-0.047038670629262924,
-0.005706143099814653,
-0.04234504699707031,
0.04505017772316933,
-0.042171526700258255,
0.0005504387663677335,
0.014281277544796467,
0.0023401344660669565,
-0.03716243803501129,
-0.08923380821943283,
-0.03772854804992676,
-0.039673589169979095,
0.04142870754003525,
0.02361469529569149,
-0.03336787596344948,
-0.004037172999233007,
-0.04092123731970787,
-0.07798775285482407,
0.029021557420492172,
0.021658873185515404,
-0.027103448286652565,
0.04901709780097008,
0.05845516175031662,
-0.028627395629882812,
0.009966003708541393,
0.02872324548661709,
-0.05346563458442688,
0.005838221870362759,
0.014702063985168934,
0.004234248772263527,
0.05042329803109169,
0.02454853057861328,
-0.05577124282717705,
-0.03264714032411575,
-0.062386736273765564,
-0.03063647262752056,
-0.04883832857012749,
-0.016912762075662613,
0.06853388994932175
] |
Declan/Reuters_model_v1 | [
"pytorch",
"bert",
"fill-mask",
"transformers",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 3 | 2021-11-12T22:10:34Z | ---
tags: autonlp
language: en
widget:
- text: "I love AutoNLP π€"
datasets:
- ds198799/autonlp-data-predict_ROI_1
co2_eq_emissions: 2.2439127664461718
---
# Model Trained Using AutoNLP
- Problem type: Multi-class Classification
- Model ID: 29797730
- CO2 Emissions (in grams): 2.2439127664461718
## Validation Metrics
- Loss: 0.6314184069633484
- Accuracy: 0.7596774193548387
- Macro F1: 0.4740565300039588
- Micro F1: 0.7596774193548386
- Weighted F1: 0.7371623804622154
- Macro Precision: 0.6747804619412134
- Micro Precision: 0.7596774193548387
- Weighted Precision: 0.7496542175358931
- Macro Recall: 0.47743727441146655
- Micro Recall: 0.7596774193548387
- Weighted Recall: 0.7596774193548387
## Usage
You can use cURL to access this model:
```
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoNLP"}' https://api-inference.huggingface.co/models/ds198799/autonlp-predict_ROI_1-29797730
```
Or Python API:
```
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("ds198799/autonlp-predict_ROI_1-29797730", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("ds198799/autonlp-predict_ROI_1-29797730", use_auth_token=True)
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)
``` | [
-0.02255719155073166,
-0.0198727548122406,
0.003067427547648549,
0.0356081947684288,
0.03952176123857498,
0.010024739429354668,
-0.0181534793227911,
-0.02791540138423443,
-0.044516757130622864,
0.07869204133749008,
0.03577490150928497,
0.012410597875714302,
0.005073465406894684,
0.031369633972644806,
-0.02915026620030403,
-0.021450577303767204,
0.0038126101717352867,
-0.013402560725808144,
-0.03696670010685921,
-0.015609403140842915,
-0.022323021665215492,
-0.0034092729911208153,
-0.006654619239270687,
0.001777957659214735,
-0.021213214844465256,
0.024931564927101135,
-0.030393226072192192,
0.03967534005641937,
0.020271161571145058,
-0.0699087381362915,
-0.00723424693569541,
-0.01835617981851101,
-0.04165714234113693,
-0.003699986729770899,
-0.026070356369018555,
0.0020040818490087986,
0.027288606390357018,
0.012035319581627846,
0.00013511982979252934,
0.03377299755811691,
0.017611101269721985,
0.009578066878020763,
0.010388477705419064,
-0.005748176481574774,
0.06834480166435242,
0.0011651000240817666,
-0.04758768901228905,
-0.013015869073569775,
0.038393449038267136,
-0.027924560010433197,
-0.05745605751872063,
-0.05845724791288376,
-0.03196099027991295,
0.02272980287671089,
-0.034845996648073196,
-0.02267426997423172,
-0.049176175147295,
0.0005363737582229078,
0.06415760517120361,
-0.07274623215198517,
-0.040802355855703354,
0.006806822493672371,
-0.11054505407810211,
0.029631175100803375,
0.04270382970571518,
-0.03634124621748924,
0.001642064074985683,
-0.04365339130163193,
0.016063589602708817,
-0.024753937497735023,
0.06753973662853241,
-0.05043570324778557,
0.0163129810243845,
-0.08354547619819641,
0.0009907459607347846,
-0.001953868428245187,
0.037771306931972504,
0.027625977993011475,
-0.021724147722125053,
0.04500411078333855,
0.059547703713178635,
0.005559952929615974,
0.021170606836676598,
-0.012172888033092022,
-0.011956365779042244,
0.033176492899656296,
-0.04463103786110878,
-0.0058096288703382015,
0.016989771276712418,
0.03905818611383438,
-0.041664354503154755,
-0.04871157184243202,
-0.0038219920825213194,
-0.046174585819244385,
-0.034245479851961136,
0.030976081266999245,
0.043437253683805466,
-0.029317637905478477,
0.0461469367146492,
0.018769636750221252,
0.04729223996400833,
0.045239876955747604,
-0.023206282407045364,
0.08785199373960495,
0.0044557792134583,
-0.033526722341775894,
0.00669120904058218,
-0.04460563510656357,
-0.044553499668836594,
0.05990920588374138,
0.03657200559973717,
-0.023843280971050262,
-0.0489913634955883,
0.02431711181998253,
0.02336810529232025,
-0.018781371414661407,
0.03996254876255989,
-0.039795536547899246,
-0.04204774275422096,
-0.060471612960100174,
0.022730613127350807,
0.01635952666401863,
-0.000657923985272646,
-0.021233979612588882,
-0.047444265335798264,
0.007758342195302248,
-0.04109048843383789,
-0.005798751022666693,
-0.009122450836002827,
0.023282205685973167,
-0.008068528026342392,
0.031035756692290306,
0.019869891926646233,
-0.04435762017965317,
-0.019736390560865402,
0.031003689393401146,
-0.06338047236204147,
0.032528772950172424,
0.009747188538312912,
0.10216975957155228,
-0.061522070318460464,
-0.05700452998280525,
0.04245154559612274,
-0.01187818218022585,
-0.023544400930404663,
0.00659945048391819,
-0.004152129869908094,
-0.030618557706475258,
-0.029665909707546234,
-0.01620049960911274,
0.06051827222108841,
-0.07484333217144012,
0.0038188989274203777,
0.05025897175073624,
-0.0011188234202563763,
0.0740378275513649,
-0.03944694995880127,
0.007501088082790375,
0.005246414802968502,
-0.010200608521699905,
-0.03110377863049507,
0.02499637007713318,
-0.0003524000057950616,
-0.0073327673599123955,
-0.027031419798731804,
-0.048218607902526855,
-0.0016929646953940392,
0.08723444491624832,
0.007462266832590103,
0.003395690582692623,
-0.040036704391241074,
0.029435081407427788,
0.023367924615740776,
0.005072380416095257,
-0.025098826736211777,
0.0457833893597126,
0.05780045688152313,
0.03302920237183571,
-0.024507487192749977,
0.06517427414655685,
0.023142242804169655,
-0.01856035552918911,
-0.01880864053964615,
0.00023541787231806666,
-0.016069462522864342,
-0.030256027355790138,
0.002417379291728139,
0.044556908309459686,
-0.007147946860641241,
-0.025597427040338516,
0.012973813340067863,
0.044701457023620605,
0.010873042047023773,
0.0048164199106395245,
-0.03652191907167435,
-0.00008378603524761274,
-0.007582992315292358,
0.046351224184036255,
0.00691543985158205,
-0.012452195398509502,
-0.0027208856772631407,
-0.05286245048046112,
0.012450282461941242,
0.015712790191173553,
0.032101988792419434,
0.05014561489224434,
-0.0099658677354455,
0.0784788578748703,
-0.055768933147192,
0.017387643456459045,
-0.048728685826063156,
-0.04117412865161896,
0.012418911792337894,
0.05728866532444954,
0.03499089926481247,
0.0464552566409111,
-0.021522562950849533,
-0.03023281693458557,
0.03656035289168358,
0.07259024679660797,
0.054737385362386703,
0.007574222981929779,
-0.027204211801290512,
-0.02766493521630764,
0.011937601491808891,
0.06151514872908592,
-0.08834134787321091,
-0.04221083223819733,
0.01797468028962612,
0.04821581766009331,
-0.02775939181447029,
0.022886473685503006,
-0.021608244627714157,
0.01943063922226429,
-0.05901975929737091,
-0.053107257932424545,
0.028111644089221954,
0.04838483780622482,
0.039138659834861755,
0.03863266110420227,
-0.004824439063668251,
-0.014408096671104431,
0.035566091537475586,
-0.01365493331104517,
-0.006239794194698334,
-0.03529565408825874,
0.00018102301692124456,
0.037546105682849884,
0.052670400589704514,
-0.030267147347331047,
0.030072707682847977,
0.0029323333874344826,
0.019391091540455818,
0.03910132870078087,
-0.05391735956072807,
0.029464952647686005,
0.04510044306516647,
0.013410389423370361,
-0.028468012809753418,
0.026577116921544075,
-0.009687916375696659,
0.03003699705004692,
0.04130452498793602,
-0.003741720225661993,
0.06173163279891014,
-0.0031254750210791826,
0.03967994451522827,
0.11048273742198944,
0.03868214040994644,
-0.0004547089629340917,
0.015024207532405853,
0.07216809689998627,
0.01388500351458788,
-0.032542482018470764,
0.05687303468585014,
-0.04697185009717941,
0.0394802950322628,
-0.024039119482040405,
0.009406384080648422,
-0.03432423621416092,
-0.013643474318087101,
0.061753708869218826,
0.0390804260969162,
-0.022160876542329788,
0.017772000283002853,
0.004614328034222126,
-0.005618388764560223,
0.03612874448299408,
0.0018860282143577933,
-0.019478384405374527,
-0.001064626849256456,
-0.001224000472575426,
0.0238821841776371,
-0.05569067597389221,
-0.036504052579402924,
-0.0073685008101165295,
-0.024785766378045082,
-0.00506634684279561,
-0.07401977479457855,
-0.026856984943151474,
-0.06192198023200035,
-0.016028160229325294,
0.04591165855526924,
0.029860185459256172,
0.008765540085732937,
-0.05350082740187645,
0.017464950680732727,
-0.03706454858183861,
-0.04696577042341232,
-0.041581686586141586,
-0.05209692567586899,
-0.028124837204813957,
-0.08133380115032196,
0.041504230350255966,
0.016134412959218025,
0.019734706729650497,
-0.016434723511338234,
-0.009151936508715153,
-0.027179550379514694,
-0.024893062189221382,
0.05986331030726433,
0.05749701336026192,
-0.017191747203469276,
-0.036962587386369705,
-0.0010353081161156297,
-0.02689867466688156,
0.007322483230382204,
-0.02915816940367222,
-0.031113646924495697,
0.05710352957248688,
0.07759733498096466,
0.029683316126465797,
0.01550431177020073,
-0.0493125319480896,
-0.041785188019275665,
-0.027498094365000725,
-0.033317361027002335,
-0.02765592373907566,
-0.016992025077342987,
-0.04598039761185646,
-0.04497666284441948,
0.02829989790916443,
-0.022057317197322845,
-0.02458042837679386,
-0.006825783755630255,
0.0068900091573596,
0.02434675581753254,
0.05710573494434357,
0.03623750060796738,
0.04275187477469444,
-0.021228160709142685,
-0.039249975234270096,
0.06980305165052414,
-0.0006577352178283036,
0.016213683411478996,
-0.057613976299762726,
-0.03909704089164734,
0.028531083837151527,
0.03590238466858864,
0.017322706058621407,
-0.00653488002717495,
0.08228699862957001,
0.019138481467962265,
-0.01877874881029129,
-0.00909914169460535,
-0.009144647046923637,
-0.027480414137244225,
-0.032726630568504333,
-0.046805668622255325,
-0.007576418574899435,
-0.05175480246543884,
-0.0281938798725605,
-0.019386304542422295,
0.029891613870859146,
-0.07095152139663696,
-0.05109822005033493,
-0.01655462756752968,
0.03203289583325386,
0.012671378441154957,
0.014809703454375267,
-0.06051042675971985,
0.0002296672755619511,
-0.06489434093236923,
-0.003665200900286436,
0.0188437532633543,
0.023926660418510437,
0.018055155873298645,
0.05223430320620537,
0.0409858264029026,
-0.034535881131887436,
0.03615862876176834,
0.001061763265170157,
0.05925918370485306,
0.017048832029104233,
-0.06452208757400513,
0.007343969773501158,
-0.0033508087508380413,
0.0035698108840733767,
0.0044511109590530396,
-0.02327089011669159,
-0.04414492845535278,
-0.08302675187587738,
-0.0005687290686182678,
-0.012202505022287369,
-0.0019191663013771176,
-0.032014086842536926,
0.04690011590719223,
0.0029477057978510857,
0.0026511026080697775,
0.0044864993542432785,
0.028679419308900833,
0.011433380655944347,
-0.04806888848543167,
0.042956482619047165,
0.015519406646490097,
0.007389703765511513,
-0.04201892018318176,
0.005892579443752766,
-0.021717028692364693,
-0.022074993699789047,
0.0210580937564373,
0.031401634216308594,
0.027916982769966125,
0.062391430139541626,
0.04288272187113762,
0.007151399739086628,
-0.04057157784700394,
0.034122634679079056,
0.05500219762325287,
-0.01379031129181385,
-0.06604017317295074,
0.00844847597181797,
-0.0040784538723528385,
-0.013261649757623672,
-0.014946161769330502,
-0.017735827714204788,
0.03847496956586838,
0.04693302512168884,
-0.020714817568659782,
-0.017737919464707375,
0.0006753757479600608,
-0.0010648284805938601,
-0.014840655028820038,
-0.06264473497867584,
0.00035148311872035265,
0.013606482185423374,
-0.02165956422686577,
0.0012009695637971163,
0.04298005625605583,
0.025776831433176994,
0.04651537165045738,
0.04323918744921684,
-0.01922113262116909,
-0.05130986124277115,
0.019502995535731316,
0.04179362580180168,
-0.03554758056998253,
-0.05235692113637924,
-0.023883644491434097,
0.054376088082790375,
0.04860178381204605,
-0.03342052921652794,
-0.05863519757986069,
-0.021626506000757217,
0.044092074036598206,
-0.050079647451639175,
0.07851596176624298,
-0.023828841745853424,
0.009032303467392921,
0.06695009768009186,
-0.026608727872371674,
0.022149916738271713,
-0.027094662189483643,
-0.0019519722554832697,
0.015641745179891586,
0.012765588238835335,
-0.04370727017521858,
-0.045534491539001465,
-0.029496341943740845,
0.034996360540390015,
0.016225866973400116,
0.06840460002422333,
0.05091571435332298,
-0.026389045640826225,
-0.06878609210252762,
0.004271490499377251,
0.05043160170316696,
-0.006599538493901491,
0.018642356619238853,
0.03724278137087822,
0.0249626524746418,
-0.04876071587204933,
-0.015418962575495243,
-0.014817335642874241,
-0.0012477826094254851,
0.03824126347899437,
0.024723472073674202,
-0.041963208466768265,
-0.01753157749772072,
0.016191517934203148,
-0.026525868102908134,
0.0013795129489153624,
-0.06282028555870056,
0.03376345336437225,
-0.025972414761781693,
-0.019221510738134384,
0.017637968063354492,
0.04182291775941849,
0.05047319456934929,
0.038530752062797546,
0.0023029919248074293,
0.006893118377774954,
-0.013136944733560085,
0.0404634028673172,
-0.04846695438027382,
-0.014711356721818447,
-0.014345227740705013,
-0.06975961476564407,
-0.00824835803359747,
-0.03619300201535225,
-0.04461531341075897,
-0.0610257051885128,
-0.012160216458141804,
0.002704499987885356,
0.004083316307514906,
0.00019987365521956235,
-0.003115984844043851,
0.04170817509293556,
-0.028888091444969177,
-0.030257560312747955,
-0.055981092154979706,
-0.036283403635025024,
-0.07820340245962143,
-0.058370236307382584,
0.03492729365825653,
-0.017165793105959892,
0.04872055724263191,
-0.007767595816403627,
0.010770052671432495,
0.0200718455016613,
0.01621018350124359,
-0.04895726963877678,
0.014628767967224121,
-0.0027128150686621666,
-0.03677551448345184,
-0.02851271815598011,
0.03415632247924805,
-0.000805508578196168,
0.05310530588030815,
-0.008818569593131542,
0.0077072023414075375,
0.030092734843492508,
-0.04327253997325897,
-0.020605338737368584,
0.021863199770450592,
0.026535576209425926,
-0.053897179663181305,
-0.011854623444378376,
-0.008092595264315605,
-0.06670688092708588,
0.018640121445059776,
-0.010782976634800434,
-0.0037063893396407366,
-0.005305177066475153,
0.021806679666042328,
0.03345668315887451,
-0.01596446894109249,
-0.034409165382385254,
-0.004899017978459597,
-0.052265867590904236,
0.02626790478825569,
-0.04202554002404213,
0.06279399991035461,
-0.033779535442590714,
0.02427162416279316,
-0.00018692438607104123,
-0.024153433740139008,
-0.05274082347750664,
0.05002550780773163,
-0.0027794549241662025,
-0.015072220005095005,
-0.015093897469341755,
0.025789031758904457,
-0.03760530427098274,
0.04726323485374451,
-0.001594106201082468,
0.029060352593660355,
-0.022790389135479927,
0.061598557978868484,
-0.04809805750846863,
0.00565246120095253,
-0.029303409159183502,
0.014109372161328793,
-0.02192387916147709,
-0.007622836157679558,
-0.029237519949674606,
-0.03313541039824486,
0.033077213913202286,
0.06548239290714264,
0.02850375510752201,
0.015362083911895752,
-0.03846163675189018,
0.01712411269545555,
0.0036635054275393486,
-0.047340478748083115,
-0.022227415814995766,
-0.008768477477133274,
0.019259227439761162,
0.0001436147722415626,
0.050742488354444504,
0.0408196859061718,
-0.052561204880476,
-0.05072667449712753,
0.05355842411518097,
0.03793630003929138,
0.006475717760622501,
-0.006912386044859886,
0.025001725181937218,
0.01588154211640358,
0.022762902081012726,
-0.036085452884435654,
0.00027363712433725595,
0.017435695976018906,
-0.03662502020597458,
0.013852971605956554,
0.004457200411707163,
0.03127678856253624,
-0.008720227517187595,
-0.026048200204968452,
-0.018906226381659508,
0.05544020235538483,
0.02118615061044693,
0.015573836863040924,
0.0017473924672231078,
-0.030014261603355408,
0.013328052125871181,
-0.010367698967456818,
-0.06668286770582199,
0.006437966134399176,
0.006081582047045231,
-0.0342826321721077,
0.06723809242248535,
-0.01039041206240654,
0.011619438417255878,
0.04582999274134636,
0.03454551473259926,
-0.016650447621941566,
0.06774991005659103,
-0.03462562337517738,
0.012716356664896011,
0.03855349123477936,
-0.05752981826663017,
-0.001375576015561819,
-0.008835941553115845,
0.07498219609260559,
-0.04922401160001755,
0.054959140717983246,
0.030895911157131195,
0.019187839701771736,
0.029860172420740128,
-0.041635461151599884,
-0.051123298704624176,
0.016951510682702065,
-0.05506199225783348,
0.077623151242733,
0.011592328548431396,
-0.03566892817616463,
0.06085579842329025,
0.029661668464541435,
-0.07915956526994705,
0.009326227940618992,
0.02515474706888199,
0.020161716267466545,
0.013918254524469376,
0.061371900141239166,
-0.019463784992694855,
0.02391572669148445,
-0.03520934656262398,
0.052987370640039444,
-0.04271882399916649,
-0.021839601919054985,
-0.005219243932515383,
-0.057459913194179535,
-0.047557588666677475,
0.06967294216156006,
-0.0012396823149174452,
-0.01873658038675785,
0.016398128122091293,
-0.0381338931620121,
-0.03916270285844803,
-0.005003317259252071,
0.0029360284097492695,
-0.012828495353460312,
0.02093042992055416,
-0.02896486409008503,
-0.000022990985598880798,
-0.009556930512189865,
-0.0032538375817239285,
-0.014617211185395718,
-0.018231337890028954,
0.03977641090750694,
-0.06925652176141739,
-0.038307804614305496,
0.05321604385972023,
-0.007961993105709553,
-0.013734382577240467,
-0.006223547738045454,
-0.00733983563259244,
0.0073760938830673695,
0.034924209117889404,
-0.017765019088983536,
0.01506830658763647,
-0.045799434185028076,
-0.03391484543681145,
0.028561383485794067,
0.000989528838545084,
0.019413843750953674,
-0.004488461185246706,
0.05509009584784508,
0.04326080158352852,
0.02787470445036888,
0.004699513781815767,
-0.031524721533060074,
-0.03776897117495537,
0.0102560855448246,
-0.05852643400430679,
0.02245950512588024,
0.0069767809472978115,
-0.0433511845767498,
-0.04724134877324104,
-0.00641787750646472,
-0.040761057287454605,
0.04456678777933121,
-0.04218519106507301,
-0.0011205192422494292,
0.015127555467188358,
0.004483211785554886,
-0.03538981080055237,
-0.09080080687999725,
-0.03808564692735672,
-0.0386882983148098,
0.04127580299973488,
0.024247951805591583,
-0.03214602544903755,
-0.003418609034270048,
-0.04081207513809204,
-0.07654790580272675,
0.029724864289164543,
0.021546389907598495,
-0.026050904765725136,
0.05023879557847977,
0.05946104973554611,
-0.029033398255705833,
0.008314760401844978,
0.028354661539196968,
-0.054034773260354996,
0.0072720590978860855,
0.015363261103630066,
0.006291972007602453,
0.05137617513537407,
0.0233119148761034,
-0.05469917878508568,
-0.033894333988428116,
-0.0633600503206253,
-0.030899452045559883,
-0.05049717798829079,
-0.016023119911551476,
0.0677100345492363
] |
Declan/WallStreetJournal_model_v4 | [
"pytorch",
"bert",
"fill-mask",
"transformers",
"autotrain_compatible"
] | fill-mask | {
"architectures": [
"BertForMaskedLM"
],
"model_type": "bert",
"task_specific_params": {
"conversational": {
"max_length": null
},
"summarization": {
"early_stopping": null,
"length_penalty": null,
"max_length": null,
"min_length": null,
"no_repeat_ngram_size": null,
"num_beams": null,
"prefix": null
},
"text-generation": {
"do_sample": null,
"max_length": null
},
"translation_en_to_de": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_fr": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
},
"translation_en_to_ro": {
"early_stopping": null,
"max_length": null,
"num_beams": null,
"prefix": null
}
}
} | 7 | null | ---
language: en
widget:
- text: "They 're a young team . they have great players and amazing freshmen coming in , so think they 'll grow into themselves next year ,"
- text: "\" We 'll talk go by now ; \" says Shucksmith ;"
- text: "\" Warren Gatland is a professional person and it wasn 't a case of 's I 'll phone my mate Rob up to if he wants a coaching job ' , he would done a fair amount of homework about , \" Howley air said ."
---
This model can be used to more accurately detokenize the moses tokenizer (it does a better job with certain lossy quotes and things)
batched usage:
```python
sentences = [
"They 're a young team . they have great players and amazing freshmen coming in , so think they 'll grow into themselves next year ,",
"\" We 'll talk go by now ; \" says Shucksmith ;",
"He 'll enjoy it more now that this he be dead , if put 'll pardon the expression .",
"I think you 'll be amazed at this way it finds ,",
"Michigan voters ^ are so frightened of fallen in permanent economic collapse that they 'll grab onto anything .",
"You 'll finding outs episode 4 .",
"\" Warren Gatland is a professional person and it wasn 't a case of 's I 'll phone my mate Rob up to if he wants a coaching job ' , he would done a fair amount of homework about , \" Howley air said .",
"You can look at the things I 'm saying about my record and about the events of campaign and history and you 'll find if now and and then I miss a words or I get something slightly off , I 'll correct it , acknowledge where it are wrong .",
"Wonder if 'll alive to see .",
"We 'll have to combine and a numbered of people ."
]
def sentences_to_input_tokens(sentences):
all_tokens = []
max_length = 0
sents_tokens = []
iids = tokenizer(sentences)
for sent_tokens in iids['input_ids']:
sents_tokens.append(sent_tokens)
if len(sent_tokens) > max_length:
max_length = len(sent_tokens)
attention_mask = [1] * len(sent_tokens)
pos_ids = list(range(len(sent_tokens)))
encoding = {
"iids": sent_tokens,
"am": attention_mask,
"pos": pos_ids
}
all_tokens.append(encoding)
input_ids = []
attention_masks = []
position_ids = []
for i in range(len(all_tokens)):
encoding = all_tokens[i]
pad_len = max_length - len(encoding['iids'])
attention_masks.append(encoding['am'] + [0] * pad_len)
position_ids.append(encoding['pos'] + [0] * pad_len)
input_ids.append(encoding['iids'] + [tokenizer.pad_token_id] * pad_len)
encoding = {
"input_ids": torch.tensor(input_ids).to(device),
"attention_mask": torch.tensor(attention_masks).to(device),
"position_ids": torch.tensor(position_ids).to(device)
}
return encoding, sents_tokens
def run_token_predictor_sentences(sentences):
encoding, at = sentences_to_input_tokens(sentences)
predictions = model(**encoding)[0].cpu().tolist()
outstrs = []
for i in range(len(predictions)):
outstr = ""
for p in zip(tokenizer.convert_ids_to_tokens(at[i][1:-1]), predictions[i][1:-1]):
if not "β" in p[0]:
outstr+=p[0]
else:
if p[1][0] > p[1][1]:
outstr+=p[0].replace("β", " ")
else:
outstr+=p[0].replace("β", "")
outstrs.append(outstr.strip())
return outstrs
outs = run_token_predictor_sentences(sentences)
for p in zip(outs, sentences):
print(p[1])
print(p[0])
print('\n------\n')
``` | [
-0.005495536606758833,
-0.04392030090093613,
-0.028243152424693108,
0.08295416086912155,
0.06515374034643173,
0.051048483699560165,
0.0007083948003128171,
-0.005260583013296127,
-0.05382325127720833,
0.060859113931655884,
0.018100107088685036,
0.00514459703117609,
0.026505975052714348,
0.020314577966928482,
-0.038020092993974686,
-0.0294321421533823,
-0.033044952899217606,
-0.013213437981903553,
-0.015746336430311203,
-0.03828541561961174,
0.01014647912234068,
0.00614906707778573,
-0.005048302933573723,
0.019628135487437248,
0.001503142761066556,
0.007567845284938812,
0.0115737896412611,
0.001134572084993124,
0.01945212297141552,
-0.0574917271733284,
-0.028959816321730614,
0.0009644373203627765,
-0.052808359265327454,
-0.00580421881750226,
-0.056635793298482895,
0.01432779710739851,
-0.0017103500431403518,
0.007576148025691509,
-0.004866774193942547,
0.07615292817354202,
0.011963894590735435,
0.019184214994311333,
-0.016587048768997192,
-0.030939005315303802,
0.05458905175328255,
0.027482571080327034,
-0.04594884067773819,
-0.011908688582479954,
0.015399575233459473,
-0.021599043160676956,
-0.045746952295303345,
-0.08265264332294464,
-0.0003874552494380623,
0.02268091030418873,
-0.012941147200763226,
-0.018085330724716187,
-0.09446554630994797,
-0.013885430991649628,
0.07398387789726257,
-0.058395229279994965,
-0.008134414441883564,
0.019803164526820183,
-0.056373901665210724,
0.014266771264374256,
0.02375870570540428,
-0.04063194990158081,
0.0066820671781897545,
-0.020982513204216957,
0.02789498306810856,
-0.026698756963014603,
0.04177984595298767,
-0.04317403584718704,
0.02644200250506401,
-0.09635759145021439,
-0.012601043097674847,
-0.020326465368270874,
0.05410832539200783,
0.04327186569571495,
-0.04263151437044144,
0.0678863376379013,
0.0350227877497673,
-0.0008038659580051899,
0.018145620822906494,
-0.02637540176510811,
-0.03472420945763588,
0.03358134254813194,
-0.028000667691230774,
-0.018500234931707382,
-0.004877811763435602,
0.07025950402021408,
-0.06429804116487503,
-0.04997957870364189,
-0.02618294022977352,
-0.04202024266123772,
-0.025468910112977028,
0.0022616786882281303,
0.053634218871593475,
0.006294731050729752,
0.01706303097307682,
0.03867872804403305,
-0.0003911677631549537,
0.03911392763257027,
-0.0238836370408535,
0.05653264746069908,
-0.022681694477796555,
0.01378535944968462,
-0.004111398011445999,
-0.052254725247621536,
-0.027262719348073006,
0.025962013751268387,
0.022063786163926125,
-0.04145486280322075,
-0.06039708852767944,
0.03976297751069069,
0.04793381318449974,
-0.0259576216340065,
0.031063206493854523,
-0.02213102951645851,
-0.023547565564513206,
-0.02563922479748726,
0.036361053586006165,
-0.005724652670323849,
-0.0011806237744167447,
0.011593806557357311,
-0.03352782502770424,
0.03311386704444885,
-0.0643940195441246,
-0.03286859765648842,
-0.0167813953012228,
0.03260265663266182,
-0.013025573454797268,
0.05248699337244034,
0.03176098316907883,
-0.06140147149562836,
0.00922081433236599,
-0.008224344812333584,
-0.05077354237437248,
0.02094871923327446,
0.016055170446634293,
0.06822626292705536,
-0.047861095517873764,
-0.05875793471932411,
0.022847801446914673,
0.008557426743209362,
-0.03860984742641449,
-0.015525941736996174,
0.0007188920862972736,
-0.014557602815330029,
-0.028253784403204918,
0.014313764870166779,
0.06872432678937912,
-0.03757936507463455,
0.0074412222020328045,
0.044702205806970596,
0.00408830726519227,
0.033595357090234756,
-0.04483775049448013,
0.0014028317527845502,
0.0045266649685800076,
0.005076747387647629,
-0.01422357652336359,
0.04269447550177574,
-0.00307792448438704,
-0.01896991953253746,
-0.030066488310694695,
-0.03243611380457878,
0.016430890187621117,
0.06547810882329941,
-0.02408287674188614,
-0.018187057226896286,
-0.035307519137859344,
0.011003941297531128,
0.022741425782442093,
0.02209693007171154,
-0.030896266922354698,
0.024711932986974716,
0.03626866638660431,
0.04396328330039978,
-0.017758751288056374,
0.052559029310941696,
0.030404895544052124,
-0.043239776045084,
-0.03886299580335617,
0.014697887003421783,
0.005781589075922966,
-0.024256249889731407,
0.053166940808296204,
0.021682104095816612,
-0.0051639871671795845,
-0.024683305993676186,
-0.021372025832533836,
0.08356783539056778,
-0.015122450888156891,
-0.002361622406169772,
-0.010303138755261898,
-0.009517650119960308,
-0.01464112102985382,
0.04503719136118889,
-0.03176521137356758,
0.014255832880735397,
-0.001171480631455779,
-0.03780402988195419,
-0.0005896774819120765,
0.012068331241607666,
0.033621903508901596,
0.052828192710876465,
0.010340407490730286,
0.10075818747282028,
-0.03177310898900032,
0.0279278252273798,
-0.04514539986848831,
-0.0488986074924469,
0.015261833555996418,
0.04932839050889015,
0.024234505370259285,
0.03820599988102913,
-0.02154933102428913,
-0.04224778711795807,
0.019735541194677353,
0.04441729933023453,
0.03926103562116623,
0.044015150517225266,
-0.030446259304881096,
0.0031757906544953585,
0.028702273964881897,
0.0703773945569992,
-0.044192906469106674,
-0.04012364521622658,
0.03949997201561928,
0.03396916761994362,
-0.03761237487196922,
-0.0053400276228785515,
-0.0197227131575346,
0.000621167360804975,
-0.035894349217414856,
-0.08370528370141983,
0.04382318630814552,
0.029567021876573563,
0.007155305705964565,
0.015607919543981552,
-0.03532322868704796,
0.013805803842842579,
0.04410046711564064,
-0.0027261667419224977,
0.0108322873711586,
-0.0686880573630333,
-0.03248404711484909,
0.02232578955590725,
0.05267804116010666,
-0.051781296730041504,
0.011030093766748905,
-0.0018605474615469575,
0.005754218436777592,
0.05927196517586708,
-0.02646622434258461,
0.03415168449282646,
0.035251032561063766,
0.014361469075083733,
-0.03177812695503235,
0.03185190632939339,
0.02370346337556839,
0.03827127069234848,
0.05025250092148781,
-0.020297782495617867,
0.06741141527891159,
-0.0095021091401577,
0.04119214788079262,
0.09152765572071075,
0.03935824707150459,
0.0002855358470696956,
0.007570343557745218,
0.06090138107538223,
-0.01392087060958147,
-0.01857312209904194,
0.05855991691350937,
-0.07929528504610062,
0.015167559497058392,
-0.017721716314554214,
0.04035227745771408,
0.0018558925949037075,
-0.02250448614358902,
0.019092367962002754,
0.009259570389986038,
-0.029812131077051163,
0.01689775660634041,
-0.03155001252889633,
-0.008677246980369091,
0.022357888519763947,
-0.020803852006793022,
-0.005654220003634691,
-0.017741085961461067,
-0.039353933185338974,
0.02253824844956398,
-0.09261950850486755,
-0.04130491614341736,
-0.011903778649866581,
0.0018773560877889395,
0.0060763671062886715,
-0.08093420416116714,
-0.05564962327480316,
-0.024750037118792534,
-0.008650575764477253,
0.04196543246507645,
0.011025819927453995,
0.0288662351667881,
-0.00009604888327885419,
0.016668397933244705,
-0.051186077296733856,
-0.030146023258566856,
-0.06556186825037003,
-0.004062502179294825,
-0.031308624893426895,
-0.06579680740833282,
0.030886264517903328,
0.034123554825782776,
-0.008204268291592598,
0.006805398501455784,
-0.013584904372692108,
-0.04655127972364426,
0.016155902296304703,
0.0633019208908081,
0.013235483318567276,
-0.007770084310323,
-0.044374044984579086,
0.03439591825008392,
-0.005594934802502394,
0.010791592299938202,
0.0068821655586361885,
-0.03729788586497307,
0.056354623287916183,
0.07067806273698807,
0.02323761396110058,
-0.0036014162469655275,
-0.023822937160730362,
-0.05258849263191223,
-0.03327498584985733,
-0.013527833856642246,
-0.016500556841492653,
-0.035276148468256,
-0.034985706210136414,
-0.04631078988313675,
-0.030655164271593094,
-0.02661583200097084,
-0.005096785724163055,
0.0005706446245312691,
0.03766755759716034,
0.06033536046743393,
0.01854991540312767,
0.03450528159737587,
0.03459424898028374,
-0.04513367637991905,
-0.01406280416995287,
0.07372574508190155,
-0.0068794600665569305,
0.0469667874276638,
-0.08205308020114899,
-0.0642806813120842,
0.026953943073749542,
-0.004843924194574356,
0.014004811644554138,
-0.004483855329453945,
0.07435689866542816,
0.03674938157200813,
-0.015265736728906631,
-0.027067478746175766,
0.0035478456411510706,
-0.028380107134580612,
0.0030358240474015474,
0.006309071555733681,
-0.008322025649249554,
-0.03551378846168518,
-0.03454635664820671,
-0.02888409234583378,
0.05945911630988121,
-0.06686531752347946,
-0.05200207233428955,
-0.010386457666754723,
0.03013254888355732,
0.04086344689130783,
-0.024783330038189888,
-0.01902734860777855,
0.0019620044622570276,
-0.06327550113201141,
-0.02774372510612011,
0.019907241687178612,
0.013394770212471485,
0.026719603687524796,
0.03862125054001808,
0.03677823022007942,
-0.03837605565786362,
0.017521994188427925,
0.017072079703211784,
0.040086839348077774,
0.019296305254101753,
-0.025492195039987564,
0.041573088616132736,
-0.028256073594093323,
-0.0035744186025112867,
-0.013710308820009232,
-0.06452736258506775,
-0.05221058055758476,
-0.09227707237005234,
0.007417003158479929,
0.01725110039114952,
-0.021382104605436325,
-0.0013290586648508906,
0.023441269993782043,
-0.05039767920970917,
0.0067239608615636826,
-0.004241194576025009,
0.021628184244036674,
0.035070378333330154,
-0.058246344327926636,
0.04413413628935814,
-0.030159996822476387,
0.04633044824004173,
-0.07435865700244904,
0.007967140525579453,
0.000817652209661901,
0.012140288017690182,
0.0034022354520857334,
0.06278223544359207,
0.004806087352335453,
0.030039070174098015,
0.09524190425872803,
0.045199379324913025,
-0.037352390587329865,
0.0598783865571022,
0.03743988275527954,
0.006964212283492088,
-0.035952452570199966,
0.022904641926288605,
-0.0021140333265066147,
-0.03541648015379906,
-0.0037351020146161318,
-0.013708350248634815,
0.007123822346329689,
0.01367788203060627,
-0.008740304969251156,
-0.019523177295923233,
0.008305048570036888,
-0.02199101634323597,
-0.021466748788952827,
-0.07614864408969879,
-0.06383223086595535,
-0.011427138932049274,
-0.026492536067962646,
0.01842196099460125,
0.016499878838658333,
-0.012476930394768715,
0.055518001317977905,
0.03503675386309624,
-0.023148156702518463,
-0.024605339393019676,
0.01808476448059082,
0.033963873982429504,
-0.06767263263463974,
-0.04961329698562622,
-0.06135036423802376,
0.03653296083211899,
0.04754531383514404,
-0.02318829670548439,
-0.10013039410114288,
-0.015038065612316132,
0.055891990661621094,
-0.006909158546477556,
0.07302720844745636,
-0.0037976945750415325,
0.03871450573205948,
0.05105806514620781,
-0.004243695177137852,
0.03660669922828674,
-0.01678655482828617,
0.006391333416104317,
0.009259159676730633,
0.0386715866625309,
-0.03398977592587471,
-0.03988039121031761,
-0.025761324912309647,
0.04230222478508949,
0.007694237399846315,
0.049831636250019073,
0.05993478372693062,
-0.010091956704854965,
-0.04783741384744644,
0.02534021995961666,
0.027588512748479843,
-0.024074558168649673,
0.02665000595152378,
-0.0013660875847563148,
0.02398522198200226,
-0.04417150467634201,
-0.007935079745948315,
-0.02681685797870159,
0.020034950226545334,
0.030273986980319023,
-0.004681868478655815,
-0.020503075793385506,
-0.036041077226400375,
0.031112894415855408,
-0.0021264837123453617,
-0.010052837431430817,
-0.07059794664382935,
0.03106960654258728,
0.013734870590269566,
-0.003169325180351734,
0.02743517979979515,
0.027830051258206367,
0.06779255717992783,
0.009840969927608967,
-0.0034743009600788355,
0.03273553401231766,
-0.04350784420967102,
0.03253460302948952,
0.001153425546362996,
-0.004034209530800581,
-0.01700383797287941,
-0.043663185089826584,
0.019551372155547142,
-0.025921229273080826,
-0.05467202886939049,
-0.061861224472522736,
-0.00983591377735138,
0.05574483051896095,
-0.027072489261627197,
0.013839339837431908,
-0.01772519387304783,
0.038972336798906326,
-0.019322989508509636,
-0.04038965329527855,
-0.04076648876070976,
-0.02200370654463768,
-0.09077253937721252,
-0.03366542235016823,
0.028076328337192535,
0.012102189473807812,
0.041947413235902786,
0.0051733520813286304,
0.004099707119166851,
0.0321466438472271,
-0.01906656101346016,
-0.017883477732539177,
0.019517680630087852,
-0.015203258953988552,
-0.05916712433099747,
-0.018895091488957405,
-0.009567014873027802,
-0.0029199577402323484,
0.01929742470383644,
-0.025871818885207176,
0.02477886714041233,
0.039826393127441406,
-0.04739692062139511,
-0.0002252284757560119,
0.03524337708950043,
0.008365049958229065,
-0.08020184934139252,
-0.07204999029636383,
0.0035586622543632984,
-0.04191391170024872,
0.024380600079894066,
-0.002995935268700123,
-0.005855023395270109,
-0.005273493472486734,
0.06224554404616356,
0.015821034088730812,
-0.0007455156301148236,
-0.013675454072654247,
0.016591185703873634,
-0.0063332500867545605,
0.02213902398943901,
-0.054573021829128265,
0.05146699771285057,
-0.03433741629123688,
0.002334168180823326,
-0.026077905669808388,
0.009655527770519257,
-0.04577505588531494,
0.05534490942955017,
-0.022263996303081512,
-0.013493575155735016,
-0.003722880268469453,
0.011816976591944695,
-0.03091539815068245,
0.045938994735479355,
-0.020840086042881012,
0.044180918484926224,
-0.05165916681289673,
0.01966172084212303,
-0.05106892064213753,
-0.02618355117738247,
0.003275926224887371,
0.024260997772216797,
-0.018140457570552826,
-0.03661206364631653,
-0.009824610315263271,
-0.04843199998140335,
0.018194075673818588,
0.04370898753404617,
0.0039017996750772,
0.04014826938509941,
-0.018260132521390915,
0.022025763988494873,
0.023015392944216728,
-0.05751250684261322,
-0.029810111969709396,
-0.009091685526072979,
0.0004771652165800333,
-0.004589747171849012,
0.03847670182585716,
0.0457889586687088,
-0.05435865744948387,
-0.04572500288486481,
0.05372145026922226,
0.0345417819917202,
-0.004136038478463888,
0.016914712265133858,
0.03308305889368057,
0.03724215552210808,
0.036202218383550644,
-0.04175654053688049,
0.02142997644841671,
-0.018150655552744865,
-0.039207953959703445,
-0.005456442013382912,
0.0011767790419980884,
0.027629900723695755,
-0.0070150564424693584,
-0.04375244304537773,
-0.04589034989476204,
0.054697632789611816,
0.028241438791155815,
0.01596851274371147,
-0.011819944716989994,
-0.044110480695962906,
0.022352736443281174,
-0.003580031218007207,
-0.06474553048610687,
-0.013305030763149261,
-0.005785240791738033,
-0.016606472432613373,
0.07445543259382248,
-0.002529759891331196,
0.015070265159010887,
0.03885848820209503,
0.007111830171197653,
-0.013592678122222424,
0.012278090231120586,
-0.04451332613825798,
0.03037814237177372,
0.03257860243320465,
-0.0423753447830677,
0.007628695573657751,
-0.0377960205078125,
0.06005000323057175,
-0.051209282130002975,
0.0514267273247242,
0.04685657098889351,
0.01629653200507164,
0.028742369264364243,
-0.006796347908675671,
-0.049960460513830185,
0.038719542324543,
-0.04711079224944115,
0.07472815364599228,
0.012598460540175438,
-0.031171362847089767,
0.09747906029224396,
0.031063519418239594,
-0.07821419835090637,
0.03257199004292488,
0.05603612959384918,
0.01801121048629284,
0.020733963698148727,
0.03301310911774635,
-0.04877016320824623,
-0.004260396119207144,
-0.04236334189772606,
0.01746678724884987,
-0.056501150131225586,
-0.00784541666507721,
0.01692700944840908,
-0.0459841787815094,
-0.023882126435637474,
0.0408308245241642,
-0.008360084146261215,
-0.015306355431675911,
0.011044235900044441,
-0.06357983499765396,
-0.02518864907324314,
-0.005009285639971495,
0.0008614779217168689,
-0.059954024851322174,
-0.0026261089369654655,
-0.009660826064646244,
0.0313459187746048,
0.022085566073656082,
0.002246100688353181,
-0.013244596309959888,
0.011332577094435692,
0.04367899149656296,
-0.022379474714398384,
-0.03145567327737808,
0.06714767217636108,
0.026506971567869186,
-0.021132750436663628,
0.04401174560189247,
-0.006272522732615471,
0.0259067602455616,
0.01337816659361124,
-0.00033348912256769836,
0.016721326857805252,
-0.06432519853115082,
-0.009662783704698086,
0.027256134897470474,
0.04070992022752762,
0.029927251860499382,
-0.01845766231417656,
0.0327543281018734,
0.03452908620238304,
0.007718322798609734,
-0.015832366421818733,
-0.049007847905159,
-0.038983430713415146,
0.022527415305376053,
-0.046059925109148026,
0.04065987095236778,
0.009768162854015827,
-0.05104893445968628,
-0.029145559296011925,
-0.006401319056749344,
-0.0008640610612928867,
0.01781582087278366,
-0.058243561536073685,
-0.006111103110015392,
0.05482561141252518,
-0.009002537466585636,
-0.03291373699903488,
-0.06826689839363098,
-0.047991614788770676,
-0.026603013277053833,
0.054822418838739395,
0.030062895268201828,
-0.05596490576863289,
0.001887578866444528,
-0.06260687857866287,
-0.05130208283662796,
0.047277215868234634,
0.015438812784850597,
-0.007734785787761211,
0.05740895867347717,
0.03273918107151985,
-0.04886813089251518,
-0.00266873836517334,
0.02223406545817852,
-0.032103653997182846,
0.02685941569507122,
-0.007458719424903393,
-0.002668959554284811,
0.025261709466576576,
0.06838815659284592,
-0.02102789096534252,
-0.03264380618929863,
-0.02293170429766178,
-0.03294605389237404,
-0.025893909856677055,
-0.015485660172998905,
0.036864329129457474
] |
DeepChem/ChemBERTa-10M-MTR | [
"pytorch",
"roberta",
"arxiv:1910.09700",
"transformers"
] | null | {
"architectures": [
"RobertaForRegression"
],
"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
}
}
} | 708 | null | ---
language: en
datasets:
- conll2003
license: mit
model-index:
- name: dslim/bert-large-NER
results:
- task:
type: token-classification
name: Token Classification
dataset:
name: conll2003
type: conll2003
config: conll2003
split: test
metrics:
- name: Accuracy
type: accuracy
value: 0.9031688753722759
verified: true
- name: Precision
type: precision
value: 0.920025068328604
verified: true
- name: Recall
type: recall
value: 0.9193688678588825
verified: true
- name: F1
type: f1
value: 0.9196968510445761
verified: true
- name: loss
type: loss
value: 0.5085050463676453
verified: true
---
# bert-large-NER
## Model description
**bert-large-NER** is a fine-tuned BERT model that is ready to use for **Named Entity Recognition** and achieves **state-of-the-art performance** for the NER task. It has been trained to recognize four types of entities: location (LOC), organizations (ORG), person (PER) and Miscellaneous (MISC).
Specifically, this model is a *bert-large-cased* model that was fine-tuned on the English version of the standard [CoNLL-2003 Named Entity Recognition](https://www.aclweb.org/anthology/W03-0419.pdf) dataset.
If you'd like to use a smaller BERT model fine-tuned on the same dataset, a [**bert-base-NER**](https://huggingface.co/dslim/bert-base-NER/) version is also available.
## Intended uses & limitations
#### How to use
You can use this model with Transformers *pipeline* for NER.
```python
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("dslim/bert-base-NER")
model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "My name is Wolfgang and I live in Berlin"
ner_results = nlp(example)
print(ner_results)
```
#### Limitations and bias
This model is limited by its training dataset of entity-annotated news articles from a specific span of time. This may not generalize well for all use cases in different domains. Furthermore, the model occassionally tags subword tokens as entities and post-processing of results may be necessary to handle those cases.
## Training data
This model was fine-tuned on English version of the standard [CoNLL-2003 Named Entity Recognition](https://www.aclweb.org/anthology/W03-0419.pdf) dataset.
The training dataset distinguishes between the beginning and continuation of an entity so that if there are back-to-back entities of the same type, the model can output where the second entity begins. As in the dataset, each token will be classified as one of the following classes:
Abbreviation|Description
-|-
O|Outside of a named entity
B-MIS |Beginning of a miscellaneous entity right after another miscellaneous entity
I-MIS | Miscellaneous entity
B-PER |Beginning of a personβs name right after another personβs name
I-PER |Personβs name
B-ORG |Beginning of an organization right after another organization
I-ORG |organization
B-LOC |Beginning of a location right after another location
I-LOC |Location
### CoNLL-2003 English Dataset Statistics
This dataset was derived from the Reuters corpus which consists of Reuters news stories. You can read more about how this dataset was created in the CoNLL-2003 paper.
#### # of training examples per entity type
Dataset|LOC|MISC|ORG|PER
-|-|-|-|-
Train|7140|3438|6321|6600
Dev|1837|922|1341|1842
Test|1668|702|1661|1617
#### # of articles/sentences/tokens per dataset
Dataset |Articles |Sentences |Tokens
-|-|-|-
Train |946 |14,987 |203,621
Dev |216 |3,466 |51,362
Test |231 |3,684 |46,435
## Training procedure
This model was trained on a single NVIDIA V100 GPU with recommended hyperparameters from the [original BERT paper](https://arxiv.org/pdf/1810.04805) which trained & evaluated the model on CoNLL-2003 NER task.
## Eval results
metric|dev|test
-|-|-
f1 |95.7 |91.7
precision |95.3 |91.2
recall |96.1 |92.3
The test metrics are a little lower than the official Google BERT results which encoded document context & experimented with CRF. More on replicating the original results [here](https://github.com/google-research/bert/issues/223).
### BibTeX entry and citation info
```
@article{DBLP:journals/corr/abs-1810-04805,
author = {Jacob Devlin and
Ming{-}Wei Chang and
Kenton Lee and
Kristina Toutanova},
title = {{BERT:} Pre-training of Deep Bidirectional Transformers for Language
Understanding},
journal = {CoRR},
volume = {abs/1810.04805},
year = {2018},
url = {http://arxiv.org/abs/1810.04805},
archivePrefix = {arXiv},
eprint = {1810.04805},
timestamp = {Tue, 30 Oct 2018 20:39:56 +0100},
biburl = {https://dblp.org/rec/journals/corr/abs-1810-04805.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
```
```
@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition",
author = "Tjong Kim Sang, Erik F. and
De Meulder, Fien",
booktitle = "Proceedings of the Seventh Conference on Natural Language Learning at {HLT}-{NAACL} 2003",
year = "2003",
url = "https://www.aclweb.org/anthology/W03-0419",
pages = "142--147",
}
```
| [
-0.023903023451566696,
0.007922269403934479,
-0.01671394146978855,
0.02680540643632412,
0.04925548657774925,
0.024662906304001808,
-0.028351694345474243,
-0.0396958664059639,
-0.03231610730290413,
0.04735060781240463,
0.034802887588739395,
-0.006558446679264307,
0.01389383990317583,
0.046685632318258286,
-0.025402111932635307,
-0.005966641008853912,
0.012141919694840908,
-0.00694070803001523,
-0.06596394628286362,
-0.03705350682139397,
-0.018533894792199135,
0.0228984747081995,
0.005678870249539614,
0.016342462971806526,
0.00458925636485219,
0.005787441041320562,
0.017688866704702377,
0.0730290487408638,
0.030913880094885826,
-0.07412879914045334,
0.0023923555854707956,
-0.028031835332512856,
-0.036228734999895096,
-0.01299445889890194,
-0.023973647505044937,
-0.009105361998081207,
0.015024876222014427,
-0.017940077930688858,
0.030616266652941704,
0.0507497563958168,
-0.024118026718497276,
0.008483536541461945,
-0.002920303726568818,
-0.05558155104517937,
0.03494136035442352,
0.001163280219770968,
-0.049439266324043274,
-0.017886672168970108,
0.033880814909935,
-0.04460030794143677,
-0.04697084054350853,
-0.05136977508664131,
-0.025574441999197006,
0.047290198504924774,
-0.006901790387928486,
-0.009818831458687782,
-0.03717109188437462,
-0.03254178166389465,
0.07208188623189926,
-0.03831901773810387,
-0.03781212121248245,
0.004322734661400318,
-0.055555932223796844,
0.024778155609965324,
0.03566177934408188,
0.0019175802590325475,
0.014089580625295639,
-0.030361143872141838,
0.046904321759939194,
-0.017900126054883003,
0.06016795337200165,
-0.023929687216877937,
-0.014482200145721436,
-0.07789992541074753,
0.003034210531041026,
-0.012601830996572971,
0.052651647478342056,
0.031023509800434113,
-0.02484489604830742,
0.03209024667739868,
0.02912425622344017,
0.007916310802102089,
0.016371766105294228,
-0.028898732736706734,
0.015481555834412575,
0.019477933645248413,
-0.0367504358291626,
-0.003935007378458977,
0.026510342955589294,
0.045307792723178864,
-0.033225689083337784,
-0.028916865587234497,
-0.008337469771504402,
-0.03339362516999245,
-0.026447832584381104,
0.02832639403641224,
0.03315439075231552,
0.01678222045302391,
0.015765123069286346,
0.02225244604051113,
0.045477114617824554,
0.04368109628558159,
-0.016969915479421616,
0.05896586924791336,
0.0003148256801068783,
-0.023854732513427734,
-0.01353996992111206,
-0.02757249027490616,
-0.03923102095723152,
0.040340226143598557,
0.040015093982219696,
-0.03784363716840744,
-0.03935714811086655,
0.032154232263565063,
0.015592369250953197,
-0.022126685827970505,
0.06302985548973083,
-0.028903938829898834,
-0.06609390676021576,
-0.024010328575968742,
0.0433957614004612,
-0.015559174120426178,
0.006199460942298174,
0.003503604093566537,
-0.053425196558237076,
-0.011330570094287395,
-0.04045058786869049,
-0.02898256853222847,
-0.009641062468290329,
0.01240613590925932,
0.009739430621266365,
0.03921344131231308,
0.02909397892653942,
-0.07154754549264908,
0.02237997204065323,
0.022956881672143936,
-0.04753437638282776,
0.08103954046964645,
0.007410390768200159,
0.12189669162034988,
-0.033804383128881454,
-0.06802114099264145,
0.006296398118138313,
0.029915502294898033,
-0.02298644371330738,
-0.0003806697204709053,
0.015722325071692467,
-0.03753330558538437,
-0.036042291671037674,
-0.01231660507619381,
0.05291252210736275,
-0.06713394075632095,
-0.0032871852163225412,
0.06085311993956566,
-0.021708831191062927,
0.04620205610990524,
-0.05076685920357704,
-0.01620255596935749,
-0.006284880451858044,
0.0097960801795125,
-0.023280441761016846,
0.05591592565178871,
-0.005717907566577196,
-0.0026679940056055784,
-0.02007940597832203,
-0.03961251676082611,
-0.005453589837998152,
0.0953197255730629,
0.006498805712908506,
-0.01120514702051878,
-0.0447496734559536,
0.02980685606598854,
0.048815879970788956,
0.06697697937488556,
-0.05298010632395744,
0.030410323292016983,
0.06428782641887665,
0.02211594209074974,
-0.01959669217467308,
0.03540785238146782,
0.019724909216165543,
-0.04417957738041878,
-0.01303364522755146,
0.011935411021113396,
-0.017909174785017967,
-0.05338308587670326,
0.02473297156393528,
0.035159725695848465,
-0.00512477895244956,
-0.04163411259651184,
-0.02827434241771698,
0.05138197913765907,
0.027476228773593903,
0.014584453776478767,
0.018109722062945366,
-0.0042726206593215466,
-0.024193737655878067,
0.05111168324947357,
-0.025831257924437523,
0.02310817316174507,
-0.02185264229774475,
-0.035024501383304596,
-0.003567281411960721,
-0.0033601922914385796,
0.04185846075415611,
0.06526678055524826,
-0.023336350917816162,
0.0496162474155426,
-0.05007661506533623,
0.026425251737236977,
-0.05216270685195923,
-0.028934212401509285,
0.011097920127213001,
0.05292040854692459,
0.02296174317598343,
0.030161341652274132,
-0.01523981150239706,
-0.03903251886367798,
0.026913544163107872,
0.06097986921668053,
0.05419720336794853,
0.01603434793651104,
-0.03905157744884491,
-0.012222417630255222,
0.021909086033701897,
0.06515569239854813,
-0.0734853446483612,
-0.041177500039339066,
0.019479362294077873,
0.03198046609759331,
-0.00951424427330494,
0.023131953552365303,
-0.03573278337717056,
0.017966844141483307,
-0.04857011139392853,
-0.07068956643342972,
0.04156430438160896,
0.01109310332685709,
0.01036483608186245,
0.03420393913984299,
-0.030702896416187286,
-0.0025461437180638313,
0.011284318752586842,
0.02818552404642105,
0.0018255857285112143,
-0.0570046529173851,
0.016505921259522438,
0.0032190827187150717,
0.019755017012357712,
-0.05557280406355858,
0.06392451375722885,
-0.01082364097237587,
0.023160811513662338,
0.03402750939130783,
-0.025924691930413246,
0.03380318731069565,
0.04914049804210663,
0.00842195563018322,
-0.02806001529097557,
0.028125157579779625,
0.01212812215089798,
0.03152570128440857,
0.0670367106795311,
0.022965600714087486,
0.06455543637275696,
0.0014531690394505858,
0.037360779941082,
0.06400588154792786,
0.032026272267103195,
0.041071098297834396,
0.030516287311911583,
0.07119537889957428,
0.013162698596715927,
-0.022364797070622444,
0.06537683308124542,
-0.026240956038236618,
0.004928416572511196,
-0.04866689816117287,
-0.0012763960985466838,
-0.014725841581821442,
-0.020205000415444374,
0.05512498691678047,
0.02858828566968441,
0.006975862197577953,
-0.013083115220069885,
-0.004047223832458258,
0.006801338400691748,
0.03669075295329094,
0.0016516357427462935,
0.01650429517030716,
0.0010738205164670944,
-0.026704154908657074,
-0.0006453306414186954,
-0.06259526312351227,
-0.03747934103012085,
0.0021135620772838593,
-0.04184408485889435,
-0.005013092886656523,
-0.09092085808515549,
-0.017356842756271362,
-0.06686247140169144,
-0.017513621598482132,
0.0358491875231266,
0.03379048407077789,
-0.005710807628929615,
-0.02828916162252426,
0.007719635497778654,
-0.06265530735254288,
-0.03500985726714134,
-0.06595102697610855,
-0.033200547099113464,
-0.04528885334730148,
-0.08918610215187073,
0.03189527243375778,
0.03530915081501007,
0.02044227346777916,
-0.016904685646295547,
-0.005898918025195599,
-0.03740512952208519,
-0.019940119236707687,
0.05769293010234833,
0.034148503094911575,
-0.04259975627064705,
-0.033202216029167175,
0.01695072650909424,
-0.022843012586236,
0.027722826227545738,
-0.01387590728700161,
-0.03434191644191742,
0.07011792808771133,
0.08658921718597412,
0.019934410229325294,
0.01709514670073986,
-0.0036992544773966074,
-0.03622505068778992,
-0.043125804513692856,
-0.03330226242542267,
-0.035564202815294266,
-0.003579335054382682,
-0.05183442682027817,
-0.035172123461961746,
-0.0049086157232522964,
-0.03324276953935623,
-0.012806332670152187,
-0.00963833462446928,
0.0038925043772906065,
0.008702154271304607,
0.0417851060628891,
0.015626991167664528,
0.023696666583418846,
-0.03448253870010376,
-0.03502785786986351,
0.06115160882472992,
0.01891295239329338,
0.008071561343967915,
-0.08585948497056961,
-0.027105052024126053,
0.03208543360233307,
0.041689589619636536,
0.004584724549204111,
-0.011380758136510849,
0.05276232212781906,
0.01692010462284088,
-0.018113339319825172,
-0.009290162473917007,
-0.016852108761668205,
-0.03218645229935646,
-0.012652430683374405,
0.008596615865826607,
-0.010551835410296917,
-0.04068721830844879,
-0.023637423291802406,
0.007448985241353512,
0.024022914469242096,
-0.04278156906366348,
-0.06328659504652023,
-0.013548227027058601,
0.03577640280127525,
0.04841379076242447,
0.008123022504150867,
-0.03953339159488678,
-0.009590215049684048,
-0.027588365599513054,
-0.045238200575113297,
0.012801501899957657,
0.006158852484077215,
0.022364817559719086,
0.0508926622569561,
0.0257366131991148,
-0.021724173799157143,
0.0372309535741806,
0.04944338649511337,
0.06197642534971237,
0.004804680123925209,
-0.054465409368276596,
0.011653763242065907,
-0.02631087601184845,
-0.0026289341039955616,
0.008513610810041428,
-0.026688700541853905,
-0.0412772037088871,
-0.08589112758636475,
0.005144619848579168,
0.0008292682468891144,
-0.010406235232949257,
-0.03290294110774994,
0.004219738766551018,
0.013473152182996273,
0.010847306810319424,
-0.0035353186540305614,
0.006379013415426016,
0.022273683920502663,
-0.03972909599542618,
0.05822264403104782,
-0.009788424707949162,
0.017970170825719833,
-0.04316563159227371,
0.0009979372844099998,
-0.039052631705999374,
-0.013615761883556843,
0.0031378217972815037,
0.05870715528726578,
0.0382903553545475,
0.03927909955382347,
0.07229214161634445,
0.026105662807822227,
-0.03782659396529198,
0.03519771248102188,
0.045380283147096634,
-0.009020453318953514,
-0.037949029356241226,
-0.02948884665966034,
-0.03625937178730965,
-0.05532059073448181,
-0.00474077882245183,
-0.039936862885951996,
0.025403954088687897,
0.0552414134144783,
0.01548797357827425,
-0.008333920501172543,
-0.003716366831213236,
0.005293103400617838,
-0.022535957396030426,
-0.07961131632328033,
-0.03864646330475807,
0.007061569020152092,
-0.0265723317861557,
0.034477923065423965,
0.04518778994679451,
0.013073393143713474,
0.0872686579823494,
0.05169682577252388,
0.0009930338710546494,
-0.04410526901483536,
0.048886582255363464,
0.01929842121899128,
-0.05279211699962616,
-0.06792255491018295,
-0.030466126278042793,
0.054436806589365005,
0.05553630366921425,
-0.01585601456463337,
-0.07421106845140457,
-0.016665255650877953,
0.06749147921800613,
-0.04322417452931404,
0.07443935424089432,
-0.027796892449259758,
0.03712627664208412,
0.06423704326152802,
-0.035428356379270554,
0.03396712243556976,
-0.049194786697626114,
-0.001778503879904747,
0.012208614498376846,
0.030814960598945618,
-0.034974150359630585,
-0.04748775437474251,
-0.013625985011458397,
0.028542308136820793,
0.04182402789592743,
0.05128314346075058,
0.03700997307896614,
-0.0035792356356978416,
-0.039503853768110275,
0.0031340126879513264,
0.041883911937475204,
-0.038465049117803574,
0.0004738951101899147,
0.011877518147230148,
0.04665533825755119,
-0.051680758595466614,
-0.03609119728207588,
-0.021004050970077515,
-0.010658863000571728,
0.0264201108366251,
0.011916655115783215,
-0.024303195998072624,
-0.06783643364906311,
0.006378259975463152,
-0.02215598337352276,
-0.008962691761553288,
-0.04581574350595474,
0.043964993208646774,
-0.005966365337371826,
-0.008039052598178387,
0.029261697083711624,
0.017886925488710403,
0.030238104984164238,
0.045098841190338135,
0.0002381336671533063,
-0.0358702577650547,
-0.04750073328614235,
0.01262738648802042,
-0.03821627050638199,
-0.03345823287963867,
-0.040069956332445145,
-0.040666818618774414,
-0.013140765018761158,
-0.017034748569130898,
-0.04886218532919884,
-0.050047677010297775,
-0.0015559728490188718,
0.009865251369774342,
0.0064768120646476746,
0.0013576640048995614,
-0.010157907381653786,
0.042905211448669434,
-0.054171789437532425,
-0.050806086510419846,
-0.027213821187615395,
-0.032016824930906296,
-0.05895901098847389,
-0.03347675874829292,
0.007593248039484024,
0.01648038811981678,
0.017469728365540504,
0.023939810693264008,
0.0194668211042881,
-0.0032865661196410656,
0.004028813447803259,
-0.0588265098631382,
0.015116202645003796,
-0.014191657304763794,
-0.027508381754159927,
-0.017530588433146477,
0.025041788816452026,
0.02054574526846409,
0.05142350494861603,
-0.023869452998042107,
0.02739102393388748,
0.013192994520068169,
-0.01637949049472809,
-0.03400027006864548,
0.035531219094991684,
0.01852879859507084,
-0.0806417167186737,
-0.021512407809495926,
-0.008164100348949432,
-0.025175711140036583,
0.038307733833789825,
-0.041323695331811905,
-0.006624181754887104,
0.008333256468176842,
0.030157795175909996,
0.03933422267436981,
-0.022459659725427628,
-0.022581245750188828,
0.015671050176024437,
-0.026065699756145477,
0.038285717368125916,
-0.029835360124707222,
0.05907708778977394,
-0.03896065801382065,
0.04097931087017059,
-0.024195145815610886,
-0.01365355309098959,
-0.03031548485159874,
0.016937855631113052,
-0.011776868253946304,
-0.021061113104224205,
-0.0024627905804663897,
0.01967841573059559,
-0.03330453112721443,
0.012312790378928185,
-0.024373242631554604,
0.025515979155898094,
-0.0036820273380726576,
0.047809045761823654,
-0.04368573799729347,
-0.003816093085333705,
-0.021117879077792168,
0.029639506712555885,
-0.05231090262532234,
-0.03178529813885689,
0.03265037387609482,
-0.03278588503599167,
0.04214635118842125,
0.05424496904015541,
0.0029206103645265102,
0.022307822480797768,
-0.03148813173174858,
-0.004829497076570988,
0.014395621605217457,
-0.08069216459989548,
-0.010043805465102196,
-0.006078274920582771,
0.024455979466438293,
-0.015672296285629272,
0.056166842579841614,
0.06878087669610977,
-0.06862013041973114,
-0.0486840084195137,
0.04525534063577652,
0.01403653435409069,
-0.0057817911729216576,
-0.016643768176436424,
0.01855948194861412,
0.022899696603417397,
0.039096660912036896,
-0.024004904553294182,
-0.008241419680416584,
-0.013496537692844868,
-0.02732984349131584,
0.0003400472633074969,
0.004176151938736439,
0.03682876378297806,
0.014794754795730114,
-0.03461061790585518,
-0.051786065101623535,
0.0849117860198021,
0.017283497378230095,
-0.0020131892524659634,
-0.005090892314910889,
-0.03459680825471878,
0.012310457415878773,
-0.011025269515812397,
-0.05640272796154022,
0.00577453151345253,
0.0281076543033123,
-0.02932220883667469,
0.08073484897613525,
0.007776873651891947,
0.004382572136819363,
0.036103256046772,
0.025793887674808502,
-0.007613296154886484,
0.0679539367556572,
-0.029930800199508667,
0.016139287501573563,
0.022818073630332947,
-0.06852446496486664,
0.009298599325120449,
-0.0361720472574234,
0.06691503524780273,
-0.05906803160905838,
0.05651015415787697,
0.042787592858076096,
-0.0048944600857794285,
0.009372773580253124,
-0.045157548040151596,
-0.034433357417583466,
0.012812250293791294,
-0.03858429938554764,
0.06168549507856369,
-0.0072266156785190105,
-0.07466816157102585,
0.057655394077301025,
0.04929737001657486,
-0.06414209306240082,
0.04666208475828171,
0.03014032356441021,
0.04776333272457123,
0.03490445762872696,
0.07292501628398895,
-0.0752594918012619,
0.01646113581955433,
-0.05297689884901047,
0.025519801303744316,
-0.05506037920713425,
-0.014206521213054657,
0.02581743337213993,
-0.029914645478129387,
-0.013007784262299538,
0.055138103663921356,
-0.031717874109745026,
-0.009583800099790096,
0.02203153446316719,
-0.04564954712986946,
-0.03207109495997429,
0.005712068174034357,
0.03075486235320568,
-0.0058830417692661285,
0.01153255533427,
-0.049104101955890656,
0.023142479360103607,
-0.007712116464972496,
-0.010368897579610348,
-0.01540058571845293,
-0.011241734959185123,
0.03777126222848892,
-0.049363717436790466,
-0.010658199898898602,
0.040851082652807236,
-0.00018213341536466032,
-0.025726813822984695,
0.040053077042102814,
-0.013296378776431084,
0.009869887493550777,
0.02157539129257202,
0.03613809123635292,
0.006888234987854958,
-0.02264072187244892,
-0.01293732225894928,
0.016064193099737167,
0.03243473544716835,
0.03530978411436081,
0.0032552664633840322,
0.02915900945663452,
0.040600720793008804,
0.032795362174510956,
-0.007563665974885225,
-0.05967673286795616,
-0.028695123270154,
0.03650916740298271,
-0.028724974021315575,
0.0007144375122152269,
-0.010338328778743744,
-0.041257523000240326,
-0.033260174095630646,
-0.013861426152288914,
-0.040935248136520386,
0.041507624089717865,
-0.06443118304014206,
0.03137405589222908,
0.0412323884665966,
-0.007390118204057217,
-0.0554979182779789,
-0.07778109610080719,
-0.012420217506587505,
-0.013058162294328213,
0.011354328133165836,
0.005703709553927183,
-0.01279290858656168,
0.003918683622032404,
-0.046550530940294266,
-0.05458901822566986,
0.05646083876490593,
0.03329964727163315,
-0.037040457129478455,
0.07474864274263382,
0.03286014497280121,
-0.040264423936605453,
-0.00824863649904728,
0.025123048573732376,
-0.04764363914728165,
0.03515632823109627,
-0.0027974084950983524,
0.0021513623651117086,
0.039601895958185196,
0.021807678043842316,
-0.02756330370903015,
-0.031184092164039612,
-0.0794336348772049,
-0.025200730189681053,
-0.0278549212962389,
0.008983505889773369,
0.0644201785326004
] |
DeepPavlov/distilrubert-tiny-cased-conversational-v1 | [
"pytorch",
"distilbert",
"ru",
"arxiv:2205.02340",
"transformers"
] | null | {
"architectures": null,
"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
}
}
} | 9,141 | null | ---
tags:
- conversational
---
# RDBotv1 DialoGPT Model | [
-0.03767611086368561,
0.022397223860025406,
0.011609344743192196,
0.019196471199393272,
0.022132359445095062,
0.0134922806173563,
-0.008735439740121365,
0.019831407815217972,
-0.02231847308576107,
0.019156180322170258,
0.02794007398188114,
-0.029789511114358902,
0.013985360972583294,
0.04090707749128342,
-0.03356620669364929,
-0.017013736069202423,
-0.028611956164240837,
0.0009932360844686627,
-0.030993890017271042,
-0.019595101475715637,
0.034905463457107544,
0.0009396250825375319,
-0.024985330179333687,
0.015752922743558884,
0.000710800290107727,
0.02805119752883911,
-0.008360037580132484,
0.00606916006654501,
0.02412986196577549,
-0.024376453831791878,
0.016609247773885727,
-0.04932717978954315,
-0.017364991828799248,
-0.0219285786151886,
-0.018655601888895035,
-0.04025211185216904,
0.027632132172584534,
-0.017025426030158997,
-0.01799205131828785,
0.028208322823047638,
-0.02279864437878132,
-0.010321984998881817,
-0.0032422919757664204,
-0.03343983367085457,
0.07528044283390045,
-0.0005004301783628762,
-0.0475732758641243,
-0.010791380889713764,
0.019354412332177162,
-0.028625940904021263,
-0.045891474932432175,
-0.06290965527296066,
-0.04825795814394951,
-0.0234703216701746,
0.012308435514569283,
-0.06036169454455376,
-0.0660601258277893,
-0.013735245913267136,
0.1016463190317154,
-0.021771349012851715,
-0.004902302753180265,
0.004741652403026819,
-0.07329224050045013,
0.004212899599224329,
0.026430239900946617,
-0.07898418605327606,
0.017132220789790154,
-0.04848266392946243,
0.018251467496156693,
-0.033335812389850616,
0.06656859815120697,
-0.03909481689333916,
0.01582319848239422,
-0.07160260528326035,
-0.016835615038871765,
-0.0031173171009868383,
0.04626621678471565,
0.0641760602593422,
-0.03352544084191322,
0.05395398661494255,
0.047181762754917145,
0.011831470765173435,
0.058912117034196854,
0.0003424490278121084,
-0.026509055867791176,
0.045884840190410614,
-0.05158336088061333,
0.0064586433582007885,
-0.00367555464617908,
0.010578539222478867,
-0.023647615686058998,
-0.06105463579297066,
-0.03736616671085358,
-0.01749841310083866,
0.005054337438195944,
0.0523964948952198,
0.02297818847000599,
-0.04264233633875847,
0.020487133413553238,
0.045226290822029114,
0.02608480677008629,
0.048217639327049255,
-0.02559615671634674,
0.044177427887916565,
-0.01058437954634428,
0.028760597109794617,
0.01984989084303379,
-0.02730584144592285,
-0.05499131232500076,
0.03400188684463501,
0.003850728739053011,
-0.051068514585494995,
-0.029789315536618233,
0.031157828867435455,
0.00816308706998825,
-0.009937511757016182,
0.04726739227771759,
-0.030930347740650177,
-0.03170815855264664,
-0.07020997256040573,
0.049364395439624786,
-0.019679782912135124,
-0.015694286674261093,
0.0028657803777605295,
-0.044771045446395874,
-0.0004757119168061763,
-0.0529145710170269,
-0.016679858788847923,
0.0001730204385239631,
0.0015273010358214378,
0.016352154314517975,
0.03152771666646004,
-0.028049230575561523,
-0.07002811133861542,
-0.0050907861441373825,
0.05031058192253113,
-0.07303177565336227,
0.008659984916448593,
0.035523973405361176,
0.09089755266904831,
-0.08312907814979553,
-0.03938772901892662,
-0.008127305656671524,
0.02089262567460537,
-0.026731442660093307,
-0.01025138795375824,
0.0010806488571688533,
0.004743507131934166,
-0.03806694224476814,
-0.012952534481883049,
0.030600475147366524,
-0.056371357291936874,
-0.007767166942358017,
0.04498647153377533,
0.014932157471776009,
0.027403321117162704,
-0.022353539243340492,
0.0033138187136501074,
-0.007197466213256121,
-0.04004416614770889,
-0.06748856604099274,
0.04387529194355011,
-0.02074182592332363,
-0.0446697473526001,
-0.03687358647584915,
-0.03594692796468735,
0.017824722453951836,
0.07314009964466095,
0.010043630376458168,
-0.021829411387443542,
-0.01384672150015831,
0.03881596028804779,
0.057092003524303436,
0.047020599246025085,
-0.02135976403951645,
0.014501792378723621,
0.049022648483514786,
0.01236207690089941,
-0.04088035225868225,
0.07221796363592148,
0.013824420981109142,
-0.040580183267593384,
-0.039316575974226,
-0.0127217723056674,
0.03468623757362366,
-0.02416279725730419,
0.017444124445319176,
0.04533276706933975,
-0.03326578438282013,
-0.03272633254528046,
0.00791636947542429,
0.038994546979665756,
-0.0206360574811697,
-0.004266273230314255,
-0.02878866158425808,
-0.02908739075064659,
-0.029836682602763176,
0.021006448194384575,
-0.028858890756964684,
-0.013970834203064442,
-0.02893296256661415,
-0.0019227812299504876,
0.03421943634748459,
-0.006501395720988512,
0.012190383858978748,
0.04387788474559784,
-0.01590508595108986,
0.05848326534032822,
-0.03982900455594063,
0.016137314960360527,
-0.04612724855542183,
-0.02846118062734604,
-0.029966382309794426,
0.03618507459759712,
0.025127600878477097,
0.052536118775606155,
-0.046828385442495346,
-0.05963638052344322,
0.03582622483372688,
0.058010902255773544,
0.04626472666859627,
0.03156571835279465,
-0.02114562690258026,
-0.005419938359409571,
0.01700364239513874,
0.0332612469792366,
-0.03758030757308006,
0.015475507825613022,
0.00731271505355835,
0.02927219308912754,
-0.025262389332056046,
-0.02821395732462406,
-0.04666812717914581,
0.012254368513822556,
-0.05076330900192261,
-0.05965656042098999,
0.04603853449225426,
0.031764354556798935,
0.0014609473291784525,
0.04124681279063225,
-0.004912955686450005,
-0.0028273954521864653,
0.03593120723962784,
0.007657038047909737,
0.0018677299376577139,
-0.09120815992355347,
0.01275399886071682,
0.033403798937797546,
0.08591639995574951,
-0.04715389385819435,
0.01564974896609783,
0.024355486035346985,
0.020989103242754936,
0.027962839230895042,
-0.013562490232288837,
0.038194458931684494,
0.05332181230187416,
0.047606755048036575,
-0.027441835030913353,
0.03388013690710068,
-0.0003868620842695236,
0.02086426317691803,
0.05309106782078743,
-0.009618503041565418,
0.06568680703639984,
-0.012596885673701763,
0.02925681322813034,
0.062322020530700684,
0.027555115520954132,
-0.010459247045218945,
0.020589062944054604,
0.06628494709730148,
0.0052433195523917675,
0.025119973346590996,
0.04646589607000351,
0.006978122983127832,
-0.0015591654228046536,
-0.046664804220199585,
-0.009559552185237408,
0.00003912600368494168,
-0.023120617493987083,
0.07033292204141617,
0.00830675009638071,
-0.0215220358222723,
0.0062922341749072075,
-0.01603482849895954,
0.006930965930223465,
0.05413013696670532,
0.014636768959462643,
-0.019320020452141762,
0.004615375772118568,
-0.02457217127084732,
0.020475637167692184,
-0.05160626769065857,
-0.04074931517243385,
-0.01873978041112423,
-0.0532633513212204,
-0.0024659193586558104,
-0.0894792452454567,
-0.046799663454294205,
-0.0594312846660614,
-0.03028673678636551,
0.050947241485118866,
0.01977889984846115,
0.015575180761516094,
0.0024040525313466787,
0.00929951574653387,
-0.02039852924644947,
-0.05924154445528984,
-0.05070362612605095,
-0.02319304831326008,
-0.011731255799531937,
-0.03710057958960533,
0.03695864975452423,
0.03342141956090927,
0.04615269973874092,
0.003724456299096346,
-0.023228250443935394,
-0.040747690945863724,
-0.02416914701461792,
0.05365325137972832,
0.02567058615386486,
-0.04217097535729408,
-0.037978336215019226,
0.005283590406179428,
0.009425653144717216,
-0.0008911152835935354,
-0.022188080474734306,
-0.04794695973396301,
0.07505271583795547,
0.045789122581481934,
0.002586009679362178,
0.029528101906180382,
-0.0038884051609784365,
-0.04433203116059303,
-0.026980970054864883,
-0.05161482095718384,
-0.030091004446148872,
-0.011926831677556038,
-0.0207296721637249,
-0.0460478775203228,
-0.027718104422092438,
-0.041097141802310944,
-0.011721103452146053,
0.00262746075168252,
0.008148747496306896,
0.03561180830001831,
0.0198271032422781,
0.022168710827827454,
0.01429212186485529,
-0.017324702814221382,
-0.0095708929002285,
0.044119853526353836,
-0.014409675262868404,
-0.013772634789347649,
-0.07816591113805771,
-0.03939409181475639,
0.031837984919548035,
0.0035654150415211916,
-0.004356031771749258,
-0.013916447758674622,
0.03609441965818405,
0.038645900785923004,
0.006514145527034998,
0.03756486997008324,
-0.06747306138277054,
0.009374602697789669,
-0.035048823803663254,
-0.031096212565898895,
-0.043949194252491,
-0.03318598493933678,
-0.010031565092504025,
-0.008002372458577156,
0.036876268684864044,
-0.08305851370096207,
-0.034156784415245056,
-0.02498353272676468,
0.010403045453131199,
0.044611696153879166,
0.003732344601303339,
-0.05156511813402176,
-0.004471800290048122,
-0.032812006771564484,
-0.027927717193961143,
-0.0015529098454862833,
-0.014914913102984428,
-0.0038589397445321083,
0.03288987651467323,
0.02688649483025074,
-0.02059306763112545,
0.05392549932003021,
0.012408504262566566,
0.06719790399074554,
0.05216386541724205,
-0.04525867477059364,
0.024341536685824394,
-0.027953244745731354,
0.03196293115615845,
-0.0014599583810195327,
-0.03826822713017464,
-0.04015738144516945,
-0.10555185377597809,
-0.04484010487794876,
0.024701736867427826,
-0.023564055562019348,
-0.0024750065058469772,
0.037665266543626785,
-0.03711836785078049,
-0.007601877674460411,
-0.006832392420619726,
0.043206263333559036,
0.04544777423143387,
-0.023387860506772995,
0.060881271958351135,
0.01564776711165905,
0.029279226437211037,
-0.06281046569347382,
-0.0051446761935949326,
-0.05461728572845459,
-0.016113271936774254,
-0.005295388866215944,
0.051548998802900314,
0.007620109245181084,
0.053638942539691925,
0.07219842076301575,
0.04084577038884163,
-0.04770902171730995,
0.045636944472789764,
0.07632901519536972,
-0.016118621453642845,
-0.02908182330429554,
-0.001497988123446703,
-0.0065253740176558495,
-0.024752067402005196,
-0.0026513072662055492,
-0.03786635026335716,
0.037557028234004974,
0.03153236210346222,
-0.004591388162225485,
0.006507044192403555,
0.01585375890135765,
-0.0318230576813221,
-0.029600830748677254,
-0.06543869525194168,
-0.015848202630877495,
-0.0041265967302024364,
-0.01904142275452614,
0.05802266672253609,
0.05329785868525505,
0.019103463739156723,
0.0620867945253849,
0.011809203773736954,
-0.011724661104381084,
-0.04969857260584831,
0.02465369738638401,
0.020868847146630287,
-0.04248979687690735,
-0.04663623496890068,
-0.041964881122112274,
0.020754825323820114,
0.04147081449627876,
-0.03529662266373634,
-0.07915133237838745,
0.03038715198636055,
0.04757162928581238,
-0.040709931403398514,
0.05675791949033737,
-0.006899153348058462,
0.06162291020154953,
0.027801942080259323,
0.003152593970298767,
0.04411644861102104,
-0.066241055727005,
0.025847014039754868,
-0.021913539618253708,
0.01829034462571144,
-0.048168957233428955,
-0.05638075992465019,
-0.0635605901479721,
0.042058542370796204,
0.020400959998369217,
0.019898416474461555,
0.01586367003619671,
-0.0466659776866436,
-0.04838651046156883,
0.006619616877287626,
0.03158450871706009,
-0.02578682266175747,
0.03371260687708855,
0.034966278821229935,
0.048221081495285034,
-0.05820022523403168,
0.005781152751296759,
0.016329249367117882,
0.014791414141654968,
0.026529548689723015,
-0.01364676933735609,
-0.04521132633090019,
-0.016947472468018532,
0.03383229672908783,
-0.040447283536195755,
-0.031663499772548676,
-0.08694525808095932,
0.020847218111157417,
-0.029188020154833794,
-0.0418739914894104,
0.07147441804409027,
0.06068968400359154,
0.06580840796232224,
0.06891962140798569,
-0.006281693931668997,
0.05224686861038208,
-0.023330004885792732,
0.0016751834191381931,
-0.047013409435749054,
-0.032945096492767334,
0.007491926196962595,
-0.07616481184959412,
-0.03627133369445801,
-0.03636767715215683,
-0.044161356985569,
-0.03544367849826813,
0.0125216543674469,
0.006034225691109896,
-0.0027770036831498146,
-0.0129036670550704,
0.009948067367076874,
0.011901233345270157,
-0.020083313807845116,
-0.02468826062977314,
-0.009624230675399303,
-0.013981347903609276,
-0.06698334217071533,
-0.061553772538900375,
0.008510245010256767,
-0.020327851176261902,
0.008751729503273964,
0.0019659772515296936,
0.00486820749938488,
0.05283580347895622,
-0.0197418425232172,
-0.0170388612896204,
0.01882213167846203,
0.0335114561021328,
-0.024028562009334564,
-0.019884184002876282,
0.01792726293206215,
0.016873588785529137,
0.012645675800740719,
-0.020419366657733917,
0.03284364938735962,
0.006001729518175125,
-0.05844917893409729,
-0.017401903867721558,
0.03509007394313812,
0.020182758569717407,
-0.08050382137298584,
-0.01999642327427864,
-0.03289276361465454,
-0.028965145349502563,
0.01731298677623272,
-0.05034370720386505,
-0.028770606964826584,
0.0013560459483414888,
0.03739435225725174,
0.03251184523105621,
0.0005025967839173973,
-0.021078389137983322,
0.007959701120853424,
-0.009101170115172863,
0.010272569954395294,
-0.06531143188476562,
0.019472269341349602,
-0.027978703379631042,
0.010215041227638721,
-0.009430838748812675,
0.01582876779139042,
-0.03462698310613632,
0.05112861469388008,
-0.007369824219495058,
-0.0017334060976281762,
0.0028715040534734726,
-0.014271901920437813,
0.006842539180070162,
0.05489908531308174,
0.010807988233864307,
0.0025694335345178843,
-0.03874024376273155,
0.06996235996484756,
-0.05377942696213722,
0.009905685670673847,
-0.006557506509125233,
-0.01778244413435459,
-0.01718617044389248,
0.012689038179814816,
0.010290431790053844,
-0.05999072641134262,
0.0258284043520689,
0.02972644940018654,
0.026590153574943542,
0.03632654249668121,
-0.003248533932492137,
0.011923149228096008,
0.015407438389956951,
-0.059260740876197815,
-0.03433831408619881,
-0.0010404433123767376,
-0.009520631283521652,
0.01781616359949112,
0.04967846721410751,
0.019218184053897858,
-0.056996047496795654,
-0.018221184611320496,
0.022776400670409203,
0.017173659056425095,
0.01352810300886631,
0.0020650888327509165,
0.036044999957084656,
0.05626523867249489,
0.05817710980772972,
-0.005456758197396994,
-0.003581794211640954,
0.027056818827986717,
-0.006333299912512302,
-0.012517527677118778,
-0.005462699569761753,
0.0010604483541101217,
0.0019431672990322113,
-0.02904531918466091,
-0.04016931727528572,
0.06565733253955841,
-0.020969750359654427,
-0.002924541477113962,
-0.017534278333187103,
-0.049207013100385666,
0.06011984497308731,
-0.00707662757486105,
-0.037129782140254974,
-0.013760079629719257,
0.03764345869421959,
-0.02369777113199234,
0.04035785794258118,
-0.025384297594428062,
0.013951032422482967,
0.0621076263487339,
0.03433806449174881,
0.004077596124261618,
0.014152958989143372,
-0.015721987932920456,
0.0019264889415353537,
0.023420263081789017,
-0.05506513640284538,
-0.012968312948942184,
-0.03420155122876167,
0.06839293986558914,
-0.052842866629362106,
0.06247411668300629,
0.02987360954284668,
0.04918131232261658,
0.03268326073884964,
-0.05212901532649994,
-0.031671952456235886,
-0.02966962940990925,
-0.03122439794242382,
0.0643172487616539,
-0.010336487554013729,
-0.03357153385877609,
0.07262975722551346,
0.03637243062257767,
-0.07821516692638397,
0.03877226263284683,
0.03754613921046257,
0.04000549390912056,
0.020226886495947838,
0.043292541056871414,
-0.048204660415649414,
0.020212391391396523,
-0.019717276096343994,
0.0069353012368083,
-0.047892916947603226,
-0.0021060470025986433,
-0.022639479488134384,
-0.04596974328160286,
-0.01259287353605032,
0.02739943005144596,
-0.029159097000956535,
0.009532356634736061,
0.0059553636237978935,
-0.029897579923272133,
-0.06393052637577057,
-0.0005583596648648381,
0.014791381545364857,
-0.018434055149555206,
-0.015353997237980366,
-0.030599653720855713,
0.01933705061674118,
0.049534037709236145,
-0.007936167530715466,
-0.057898037135601044,
0.011295964941382408,
-0.009138648398220539,
-0.06696555018424988,
-0.05843711644411087,
0.06694164872169495,
0.019426001235842705,
-0.0043959179893136024,
-0.005054436158388853,
0.030664891004562378,
0.024145426228642464,
0.027355583384633064,
-0.008141144178807735,
-0.001378580927848816,
-0.07096721231937408,
0.007392479106783867,
0.029533270746469498,
0.007001119665801525,
0.005572738125920296,
-0.005513749085366726,
0.036750130355358124,
0.08831184357404709,
0.041847024112939835,
0.0036505255848169327,
-0.04551610350608826,
-0.02836446277797222,
-0.0028733534272760153,
-0.046904779970645905,
0.04963083565235138,
0.006408437620848417,
-0.06181536987423897,
-0.028095027431845665,
-0.02745928429067135,
0.004529796540737152,
0.03617354482412338,
-0.036295268684625626,
0.022376766428351402,
0.02542136237025261,
-0.00040874327532947063,
-0.04181187227368355,
-0.11053746193647385,
-0.04939529672265053,
-0.011881189420819283,
0.03230352699756622,
0.03488605469465256,
-0.056702423840761185,
0.024953855201601982,
-0.027894362807273865,
-0.005971783306449652,
0.05544709786772728,
-0.006073840893805027,
-0.020598964765667915,
0.07096760720014572,
0.06560617685317993,
-0.03164432570338249,
0.05569636821746826,
0.02081824280321598,
-0.027321981266140938,
0.0523776113986969,
0.008348191156983376,
0.030794819816946983,
0.018906213343143463,
0.026471322402358055,
-0.020602522417902946,
-0.015281585976481438,
-0.00609890790656209,
-0.030836356803774834,
-0.002470431849360466,
-0.0009927942883223295,
0.04498608782887459
] |
DeepPavlov/marianmt-tatoeba-enru | [
"pytorch",
"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
}
}
} | 1 | null | ---
language: ro
tags:
- bert
- fill-mask
license: mit
---
# bert-base-romanian-cased-v1
The BERT **base**, **cased** model for Romanian, trained on a 15GB corpus, version 
### How to use
```python
from transformers import AutoTokenizer, AutoModel
import torch
# load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("dumitrescustefan/bert-base-romanian-cased-v1")
model = AutoModel.from_pretrained("dumitrescustefan/bert-base-romanian-cased-v1")
# tokenize a sentence and run through the model
input_ids = torch.tensor(tokenizer.encode("Acesta este un test.", add_special_tokens=True)).unsqueeze(0) # Batch size 1
outputs = model(input_ids)
# get encoding
last_hidden_states = outputs[0] # The last hidden-state is the first element of the output tuple
```
Remember to always sanitize your text! Replace ``s`` and ``t`` cedilla-letters to comma-letters with :
```
text = text.replace("Ε£", "Θ").replace("Ε", "Θ").replace("Ε’", "Θ").replace("Ε", "Θ")
```
because the model was **NOT** trained on cedilla ``s`` and ``t``s. If you don't, you will have decreased performance due to ``<UNK>``s and increased number of tokens per word.
### Evaluation
Evaluation is performed on Universal Dependencies [Romanian RRT](https://universaldependencies.org/treebanks/ro_rrt/index.html) UPOS, XPOS and LAS, and on a NER task based on [RONEC](https://github.com/dumitrescustefan/ronec). Details, as well as more in-depth tests not shown here, are given in the dedicated [evaluation page](https://github.com/dumitrescustefan/Romanian-Transformers/tree/master/evaluation/README.md).
The baseline is the [Multilingual BERT](https://github.com/google-research/bert/blob/master/multilingual.md) model ``bert-base-multilingual-(un)cased``, as at the time of writing it was the only available BERT model that works on Romanian.
| Model | UPOS | XPOS | NER | LAS |
|--------------------------------|:-----:|:------:|:-----:|:-----:|
| bert-base-multilingual-cased | 97.87 | 96.16 | 84.13 | 88.04 |
| bert-base-romanian-cased-v1 | **98.00** | **96.46** | **85.88** | **89.69** |
### Corpus
The model is trained on the following corpora (stats in the table below are after cleaning):
| Corpus | Lines(M) | Words(M) | Chars(B) | Size(GB) |
|-----------|:--------:|:--------:|:--------:|:--------:|
| OPUS | 55.05 | 635.04 | 4.045 | 3.8 |
| OSCAR | 33.56 | 1725.82 | 11.411 | 11 |
| Wikipedia | 1.54 | 60.47 | 0.411 | 0.4 |
| **Total** | **90.15** | **2421.33** | **15.867** | **15.2** |
### Citation
If you use this model in a research paper, I'd kindly ask you to cite the following paper:
```
Stefan Dumitrescu, Andrei-Marius Avram, and Sampo Pyysalo. 2020. The birth of Romanian BERT. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 4324β4328, Online. Association for Computational Linguistics.
```
or, in bibtex:
```
@inproceedings{dumitrescu-etal-2020-birth,
title = "The birth of {R}omanian {BERT}",
author = "Dumitrescu, Stefan and
Avram, Andrei-Marius and
Pyysalo, Sampo",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2020",
month = nov,
year = "2020",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2020.findings-emnlp.387",
doi = "10.18653/v1/2020.findings-emnlp.387",
pages = "4324--4328",
}
```
#### Acknowledgements
- We'd like to thank [Sampo Pyysalo](https://github.com/spyysalo) from TurkuNLP for helping us out with the compute needed to pretrain the v1.0 BERT models. He's awesome!
| [
0.0020069461315870285,
-0.027034509927034378,
-0.016572780907154083,
0.044749606400728226,
0.04158119112253189,
0.03323046863079071,
-0.017252188175916672,
-0.01449204795062542,
-0.061966173350811005,
0.061731114983558655,
0.0006294908234849572,
-0.03273278474807739,
-0.0016051585553213954,
0.033930446952581406,
-0.007390876300632954,
-0.03747357800602913,
0.006809409242123365,
0.007445058319717646,
-0.06740988790988922,
-0.00872324500232935,
0.0020068043377250433,
0.00246431864798069,
-0.006246794480830431,
0.025156065821647644,
0.015179373323917389,
0.009625544771552086,
-0.00993384886533022,
0.009438472799956799,
0.03439474478363991,
-0.07257720082998276,
0.008995547890663147,
-0.023845985531806946,
-0.03888203948736191,
-0.018771957606077194,
-0.027505839243531227,
-0.019943078979849815,
0.01889382302761078,
-0.00526482192799449,
0.03525238111615181,
0.07333144545555115,
-0.002626508940011263,
0.02161279320716858,
0.004396096337586641,
-0.05100362002849579,
0.029997410252690315,
-0.002437055576592684,
-0.05179988965392113,
-0.008877599611878395,
0.032176170498132706,
-0.013118035160005093,
-0.03561055287718773,
-0.06501729041337967,
-0.00917681772261858,
0.013621524907648563,
-0.013571466319262981,
-0.020431313663721085,
-0.04260629415512085,
0.011687341146171093,
0.07181080430746078,
-0.03437374159693718,
-0.027455199509859085,
0.024625277146697044,
-0.05874636769294739,
0.02020336501300335,
0.050445497035980225,
-0.02445516549050808,
-0.007907316088676453,
-0.046554964035749435,
0.04056939855217934,
-0.014418483711779118,
0.041362859308719635,
-0.03761644288897514,
-0.0003040481242351234,
-0.09354354441165924,
-0.014397519640624523,
-0.030850259587168694,
0.03272756561636925,
0.041674815118312836,
-0.05226444453001022,
0.0435481071472168,
0.04958910867571831,
-0.00897185318171978,
0.031492386013269424,
-0.03657076880335808,
-0.009442797861993313,
0.05715729668736458,
-0.016461562365293503,
0.0031630536541342735,
0.013741535134613514,
0.04378066584467888,
-0.028997007757425308,
-0.012683846987783909,
-0.019828440621495247,
-0.042695704847574234,
-0.02057998813688755,
0.023786228150129318,
0.048511724919080734,
-0.0008106628665700555,
0.04166650027036667,
0.02515214867889881,
0.03003138117492199,
0.033218275755643845,
-0.0309163685888052,
0.046475548297166824,
-0.0055534797720611095,
-0.010538672097027302,
-0.00675230473279953,
-0.027947193011641502,
-0.04166559502482414,
0.033608827739953995,
0.039698246866464615,
-0.010690719820559025,
-0.03811079263687134,
0.04287249594926834,
0.012809799052774906,
-0.023823892697691917,
0.04647347331047058,
-0.02295384742319584,
-0.05370723083615303,
-0.06988348066806793,
0.04343589395284653,
-0.006656300276517868,
-0.00006621274224016815,
0.021980777382850647,
-0.04005679860711098,
0.008816106244921684,
-0.04834262654185295,
-0.023383313789963722,
0.0048932177014648914,
0.01459538470953703,
-0.0035628715995699167,
0.0707605704665184,
0.035391587764024734,
-0.06470631808042526,
0.007783409208059311,
-0.004082630388438702,
-0.06145776808261871,
0.03957235813140869,
0.024403978139162064,
0.10475704073905945,
-0.04589846357703209,
-0.027489058673381805,
0.02638874761760235,
0.012276118621230125,
-0.02256844937801361,
0.00512389512732625,
0.027663111686706543,
-0.022869786247611046,
-0.013279316946864128,
-0.017590049654245377,
0.03873119875788689,
-0.048935066908597946,
-0.019525062292814255,
0.05694776400923729,
0.006132100708782673,
0.03713538497686386,
-0.0359547957777977,
-0.016010167077183723,
0.011001143604516983,
-0.013436421751976013,
-0.013833263888955116,
0.052998095750808716,
-0.017093554139137268,
-0.0221626665443182,
-0.022556480020284653,
-0.03603946790099144,
0.016156675294041634,
0.07348616421222687,
0.012887794524431229,
-0.012911242432892323,
-0.028200717642903328,
0.022674983367323875,
0.04867609217762947,
0.034112293273210526,
-0.018964722752571106,
0.019007619470357895,
0.029094038531184196,
0.02895210310816765,
-0.0009322809637524188,
0.07727888226509094,
0.008364629000425339,
-0.05209365487098694,
-0.054792072623968124,
0.02719963900744915,
-0.006534361746162176,
-0.032635610550642014,
0.022736018523573875,
0.04987310245633125,
-0.00432096840813756,
-0.021596334874629974,
-0.017954371869564056,
0.04852311685681343,
-0.004836182110011578,
0.011961580254137516,
0.01316764671355486,
-0.009027796797454357,
-0.02621312253177166,
0.07215169072151184,
-0.006323082838207483,
-0.00010684665176086128,
-0.023915495723485947,
-0.02981056459248066,
-0.0013652447378262877,
0.025008512660861015,
0.04175794497132301,
0.037567541003227234,
-0.017763793468475342,
0.0818401649594307,
-0.0293745044618845,
0.016222968697547913,
-0.057623956352472305,
-0.05474440008401871,
-0.006545829586684704,
0.04518839716911316,
0.035437051206827164,
0.05521589517593384,
-0.004526624456048012,
-0.05569463223218918,
0.013259626924991608,
0.046097707003355026,
0.06517038494348526,
0.02803667262196541,
-0.05209425464272499,
-0.0004009838157799095,
0.01979946903884411,
0.05169064924120903,
-0.04780849069356918,
-0.04422373324632645,
0.014209563843905926,
0.06813956797122955,
-0.024479465559124947,
0.007501760497689247,
-0.02128583937883377,
0.02376767247915268,
-0.030341122299432755,
-0.050961993634700775,
0.04769260436296463,
0.0036473639775067568,
-0.006411830894649029,
0.0165723729878664,
-0.0005926020094193518,
0.001053364365361631,
0.011969495564699173,
0.022292356938123703,
-0.010987839661538601,
-0.03442807123064995,
-0.013661603443324566,
0.02563990280032158,
0.06877478212118149,
-0.060463305562734604,
0.038303740322589874,
-0.008617803454399109,
0.018660683184862137,
0.05149730294942856,
-0.03924388438463211,
0.01709728129208088,
0.02865701913833618,
0.02825929783284664,
-0.03867042064666748,
0.007128574885427952,
-0.002306978218257427,
0.024229448288679123,
0.03491262346506119,
0.007489319425076246,
0.05851013585925102,
0.009974711574614048,
0.034688353538513184,
0.08157713711261749,
0.007816281169652939,
0.013644171878695488,
0.024474753066897392,
0.0673629492521286,
0.012304721400141716,
-0.007355670910328627,
0.06597182899713516,
-0.039423756301403046,
0.011655235663056374,
-0.03489470109343529,
0.007618954870849848,
-0.002900721738114953,
-0.026801131665706635,
0.051171064376831055,
-0.012382819317281246,
-0.009441951289772987,
0.013253578916192055,
-0.011149154976010323,
-0.006898270454257727,
0.0389719121158123,
0.007476013619452715,
0.020191224291920662,
-0.009676109999418259,
-0.01974976807832718,
-0.0015036955010145903,
-0.05456659942865372,
-0.06851523369550705,
0.0011502717388793826,
-0.03137098625302315,
-0.007249268237501383,
-0.09253186732530594,
-0.049981940537691116,
-0.050478093326091766,
-0.013994184322655201,
0.027809487655758858,
0.02367565594613552,
0.008627966046333313,
-0.02568982169032097,
0.009386480785906315,
-0.029631899669766426,
-0.022549383342266083,
-0.055381033569574356,
-0.027811497449874878,
-0.055462513118982315,
-0.058881014585494995,
0.04788254201412201,
0.015085440129041672,
0.03459225222468376,
-0.010082921013236046,
0.010014164261519909,
-0.0315404012799263,
-0.02298993244767189,
0.023105673491954803,
0.04904109612107277,
-0.04194936528801918,
-0.03889227658510208,
0.014765776693820953,
-0.008842390961945057,
0.0356500968337059,
0.012213303707540035,
-0.032734453678131104,
0.10318084806203842,
0.08540903031826019,
0.028912845999002457,
0.005607886705547571,
-0.006473028566688299,
-0.06480152159929276,
-0.05891941487789154,
-0.02318967506289482,
-0.025033341720700264,
-0.014634563587605953,
-0.046831823885440826,
-0.05364404618740082,
-0.026095673441886902,
-0.006582329049706459,
-0.0024596392177045345,
-0.000957336334977299,
0.043743763118982315,
0.027091439813375473,
0.05816080421209335,
0.04325055703520775,
0.01914568990468979,
-0.03529692068696022,
-0.013875583186745644,
0.0715201273560524,
0.022081615403294563,
0.024060381576418877,
-0.0657028779387474,
-0.019247254356741905,
0.01820302940905094,
0.02999136410653591,
0.0035145378205925226,
-0.023807015269994736,
0.08452973514795303,
0.012766639702022076,
0.007459526415914297,
-0.004378417506814003,
-0.006971273105591536,
-0.0484786331653595,
-0.005710831843316555,
-0.01990499719977379,
-0.01919354312121868,
-0.05874687433242798,
-0.03417801484465599,
-0.005913412198424339,
0.02698025293648243,
-0.0702224001288414,
-0.06488633900880814,
-0.005926704034209251,
0.028923040255904198,
0.015398169867694378,
0.016571203246712685,
-0.037819527089595795,
0.013128831051290035,
-0.04891492426395416,
-0.043427154421806335,
0.005216548684984446,
0.007733668200671673,
0.017964957281947136,
0.05485977977514267,
0.025715351104736328,
-0.04917783662676811,
0.04201783239841461,
0.030943844467401505,
0.05928247049450874,
0.014227030798792839,
-0.05999639630317688,
0.023473450914025307,
-0.02866446040570736,
0.018367955461144447,
0.002816324820742011,
-0.01602431759238243,
-0.051963694393634796,
-0.08242230862379074,
-0.0033041739370673895,
0.0023494893684983253,
-0.010113690979778767,
-0.010893142782151699,
0.023939814418554306,
-0.003074790583923459,
0.00005982050424790941,
-0.015841694548726082,
0.01591655984520912,
0.03447684645652771,
-0.06079830974340439,
0.058748699724674225,
-0.00644539762288332,
0.04423998296260834,
-0.054633062332868576,
0.025344986468553543,
-0.030634263530373573,
-0.01418211404234171,
-0.0322587825357914,
0.0605122372508049,
0.024921782314777374,
0.04370945319533348,
0.08409485965967178,
0.03169437125325203,
-0.04246439412236214,
0.031033936887979507,
0.03798610344529152,
-0.004030867479741573,
-0.038035403937101364,
-0.005664248019456863,
-0.009115301072597504,
-0.032569874078035355,
0.0018937949789687991,
-0.04763051122426987,
0.022805480286478996,
0.031211812049150467,
0.014025015756487846,
-0.024665843695402145,
-0.021975716575980186,
-0.029637347906827927,
-0.050396811217069626,
-0.07131920009851456,
-0.03574899584054947,
0.0007523531676270068,
-0.007973113097250462,
0.02830084227025509,
0.05824386328458786,
0.007495767902582884,
0.06857363879680634,
0.063168004155159,
-0.024275701493024826,
0.001832761219702661,
0.017704684287309647,
0.010758166201412678,
-0.03501787409186363,
-0.07328412681818008,
-0.07015128433704376,
0.037203993648290634,
0.051187511533498764,
-0.012160263024270535,
-0.0790804922580719,
0.003438901389017701,
0.06252815574407578,
-0.04532841593027115,
0.06756559759378433,
-0.006189911626279354,
0.06747686117887497,
0.04362226277589798,
-0.017098408192396164,
0.01784062385559082,
-0.03605334833264351,
0.017537178471684456,
-0.018628818914294243,
0.04638327285647392,
-0.02003507874906063,
-0.050268739461898804,
-0.0460408516228199,
0.020654451102018356,
0.029391339048743248,
0.04392830654978752,
0.045405060052871704,
-0.048303697258234024,
-0.06480088829994202,
0.012969022616744041,
0.05703527852892876,
-0.07232756912708282,
0.008765834383666515,
0.02699616737663746,
0.03878452256321907,
-0.040620964020490646,
-0.038462668657302856,
-0.035483743995428085,
0.001034454209730029,
0.03174394741654396,
0.004221687093377113,
-0.036999087780714035,
-0.07453767210245132,
0.02681448496878147,
-0.022106539458036423,
-0.032049886882305145,
-0.10013080388307571,
0.025549208745360374,
-0.025918859988451004,
-0.011476239189505577,
0.03305301442742348,
0.026172412559390068,
0.049177344888448715,
0.03911532089114189,
0.00613793870434165,
-0.0010109918657690287,
-0.03470982611179352,
0.013350235298275948,
-0.032292965799570084,
-0.01738477684557438,
-0.02274208888411522,
-0.04262223839759827,
-0.004877373576164246,
-0.01728825643658638,
-0.05057312920689583,
-0.06473755836486816,
-0.0011528837494552135,
0.015506033785641193,
-0.00640899408608675,
0.023699527606368065,
-0.02230173349380493,
0.03353017196059227,
-0.004900933243334293,
-0.020278971642255783,
-0.03529307618737221,
-0.013429466634988785,
-0.07038626819849014,
-0.03916493058204651,
0.012388749048113823,
0.01223510317504406,
0.018145939335227013,
0.0019542057998478413,
0.00668107345700264,
0.013448135927319527,
-0.005620468407869339,
-0.010222437791526318,
0.03638400509953499,
0.004841949325054884,
-0.033554986119270325,
-0.028906458988785744,
0.014815776608884335,
0.00969295110553503,
0.04887659102678299,
-0.03275056555867195,
0.026478154584765434,
0.0400153286755085,
-0.025918805971741676,
-0.006670280825346708,
0.021200980991125107,
0.015413700602948666,
-0.07482169568538666,
-0.07125687599182129,
-0.013844672590494156,
-0.05577872693538666,
0.03705639764666557,
-0.028882771730422974,
-0.03314407542347908,
0.021539464592933655,
0.027621574699878693,
0.03841812536120415,
0.018933460116386414,
-0.013360853306949139,
0.0018645672826096416,
-0.024516059085726738,
0.018500886857509613,
-0.04462666064500809,
0.027684194967150688,
-0.030736446380615234,
0.027679890394210815,
-0.014807185158133507,
-0.0141297597438097,
-0.03708704933524132,
0.023749403655529022,
-0.009364779107272625,
-0.006746618542820215,
-0.013712086714804173,
0.029835917055606842,
-0.017415529116988182,
0.05135203152894974,
-0.01322481594979763,
0.0059721022844314575,
-0.01875041052699089,
0.063443623483181,
-0.058167196810245514,
0.009486619383096695,
-0.03496403992176056,
0.013361552730202675,
-0.02121608331799507,
-0.019107770174741745,
-0.002598654245957732,
-0.0567246712744236,
0.017959319055080414,
0.010255361907184124,
0.029279695823788643,
0.027880188077688217,
-0.03185563534498215,
0.00961958896368742,
0.008487003855407238,
-0.05864506587386131,
-0.03250785171985626,
-0.017101723700761795,
-0.023087898269295692,
-0.0021639298647642136,
0.0430595837533474,
0.0481199212372303,
-0.059476811438798904,
-0.057895731180906296,
0.04402495548129082,
-0.004699112381786108,
-0.010104968212544918,
-0.006000964902341366,
0.05335173010826111,
0.047499239444732666,
0.0662282183766365,
-0.018635893240571022,
0.010934037156403065,
-0.009203117340803146,
-0.03710327669978142,
0.012869538739323616,
-0.0010610721074044704,
0.03801652416586876,
-0.0003237154451198876,
-0.04618643596768379,
-0.04131050407886505,
0.07662790268659592,
0.012759155593812466,
0.02073618583381176,
0.001254240283742547,
-0.041969768702983856,
0.03397127985954285,
-0.0029536099173128605,
-0.05484650284051895,
0.0006689145229756832,
0.006618426647037268,
-0.04818246513605118,
0.07050935178995132,
-0.016380777582526207,
0.021173153072595596,
0.053487081080675125,
0.02242879383265972,
-0.03276129812002182,
0.02779986895620823,
0.00007323035970330238,
-0.003913694992661476,
0.056142304092645645,
-0.0341222919523716,
-0.026233695447444916,
-0.01867407001554966,
0.07480920106172562,
-0.05772184580564499,
0.023208966478705406,
0.02933618426322937,
0.01768088899552822,
0.03554065153002739,
-0.021276934072375298,
-0.021488381549715996,
0.03048563562333584,
-0.059685856103897095,
0.06857754290103912,
-0.007725473027676344,
-0.061064135283231735,
0.07538264244794846,
0.008779815398156643,
-0.0767672210931778,
0.040246181190013885,
0.04289776831865311,
0.010856864042580128,
0.022618405520915985,
0.03964153304696083,
-0.03697414696216583,
0.04374908655881882,
-0.04026322066783905,
0.026877740398049355,
-0.06759391725063324,
0.011713705025613308,
0.040706999599933624,
-0.004990878980606794,
-0.012358778156340122,
0.050186920911073685,
-0.032768577337265015,
-0.002977039897814393,
0.019183849915862083,
-0.057637762278318405,
-0.06304538995027542,
-0.014275225810706615,
0.03141381964087486,
-0.019629554823040962,
0.006883544847369194,
-0.024731256067752838,
0.027051886543631554,
0.014352316036820412,
-0.018891558051109314,
-0.04703535884618759,
-0.022704090923070908,
0.021333016455173492,
-0.06999389082193375,
-0.04688040167093277,
0.02275269851088524,
0.01828061044216156,
-0.015428041107952595,
0.04182415083050728,
0.016752146184444427,
0.004750024061650038,
0.017604723572731018,
-0.0008028781739994884,
0.011694989167153835,
-0.05110649764537811,
0.007017363328486681,
0.001976759871467948,
0.020349057391285896,
0.03203741833567619,
-0.01743326149880886,
0.03998081013560295,
0.045864541083574295,
0.038498252630233765,
-0.027263345196843147,
-0.024947501718997955,
-0.024170469492673874,
-0.002013804391026497,
-0.04796603322029114,
0.019780056551098824,
-0.005346688907593489,
-0.05180264264345169,
-0.03399002552032471,
0.016558120027184486,
-0.010619574226439,
0.028006764128804207,
-0.059322744607925415,
0.00751377921551466,
0.04180150851607323,
-0.05685599148273468,
-0.03239264711737633,
-0.08819887787103653,
-0.018490558490157127,
-0.02197987213730812,
0.019511066377162933,
0.023116683587431908,
-0.035919468849897385,
0.002680733799934387,
-0.0345948226749897,
-0.060343287885189056,
0.045453086495399475,
0.03685441613197327,
-0.05469222739338875,
0.08507449924945831,
0.027235200628638268,
-0.05333034321665764,
0.007466575596481562,
0.03749038279056549,
-0.043864473700523376,
0.0434739924967289,
0.02139214426279068,
0.002456466667354107,
0.022827617824077606,
0.029518568888306618,
-0.0197129063308239,
-0.025047872215509415,
-0.06950518488883972,
0.001702980836853385,
-0.023235267028212547,
-0.007045403588563204,
0.04930177703499794
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.